id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2404.11532v1
http://arxiv.org/pdf/2404.11532v1
Select and Reorder: A Novel Approach for Neural Sign Language Production
2024-04-17T16:25:19
2024-04-17T16:25:19
Harry Walsh, Ben Saunders, Richard Bowden
cs.CL
cs.CL
Sign languages, often categorised as low-resource languages, face significant challenges in achieving accurate translation due to the scarcity of parallel annotated datasets. This paper introduces Select and Reorder (S&R), a novel approach that addresses data scarcity by breaking down the translation process into two distinct steps: Gloss Selection (GS) and Gloss Reordering (GR). Our method leverages large spoken language models and the substantial lexical overlap between source spoken languages and target sign languages to establish an initial alignment. Both steps make use of Non-AutoRegressive (NAR) decoding for reduced computation and faster inference speeds. Through this disentanglement of tasks, we achieve state-of-the-art BLEU and Rouge scores on the Meine DGS Annotated (mDGS) dataset, demonstrating a substantial BLUE-1 improvement of 37.88% in Text to Gloss (T2G) Translation. This innovative approach paves the way for more effective translation models for sign languages, even in resource-constrained settings.
[ 0.08863359689712524, -0.25893574953079224, 0.14887766540050507, 0.01826702430844307, -0.40559372305870056, 0.3742687404155731, -0.1583467423915863, -0.5737073421478271, 0.5485689043998718, 0.5695168972015381, -0.5049960613250732, -0.55784672498703, -0.9606831669807434, 0.011151008307933807, -0.2799282968044281, 0.8266520500183105, -0.024911874905228615, 0.06302648037672043, 0.21253907680511475, -0.34073156118392944, -0.21546514332294464, -0.2871842682361603, -0.956361711025238, -0.26304012537002563, 0.5505209565162659, 0.4068930447101593, 1.0504621267318726, 0.8462784290313721, 0.5266909599304199, 0.2677718698978424, -0.1346091777086258, 0.30080512166023254, -0.3513015806674957, 0.461102157831192, 0.04706370830535889, -0.20169681310653687, -0.5318989753723145, 0.07118771225214005, 0.3936653733253479, 0.8044825196266174, 0.02403516136109829, 0.13015688955783844, -0.22730481624603271, 0.7435069680213928, -0.5899595618247986, -0.08402789384126663, -0.5166335105895996, 0.03519871458411217, -0.1603071093559265, 0.2420901358127594, -0.40263357758522034, -0.49651429057121277, 0.043472159653902054, -0.43728139996528625, 0.28974005579948425, 0.04978758469223976, 0.6521896123886108, 0.5231813788414001, -0.41586118936538696, 0.007642339915037155, -0.6358630657196045, 0.8104185461997986, -0.6509849429130554, 0.7556926012039185, 0.3230029344558716, 0.3650042414665222, -0.05970998853445053, -0.7586552500724792, -0.34222859144210815, -0.3216613531112671, -0.1181056872010231, 0.0327574759721756, 0.13387779891490936, 0.0799868255853653, 0.1968170702457428, 0.42871883511543274, -0.4700980484485626, 0.23847870528697968, -0.42793983221054077, -0.27006569504737854, 0.9826669096946716, 0.08650491386651993, 0.4201483726501465, -0.026088735088706017, -0.29389241337776184, -0.3302081823348999, -0.4325175881385803, -0.4961942434310913, 0.01658802479505539, 0.7077433466911316, -0.03379424288868904, 0.46777158975601196, -0.24518783390522003, 0.8304629921913147, 0.1176198273897171, -0.08942488580942154, 0.3716193437576294, -0.4111745059490204, -0.16955190896987915, -0.15798339247703552, 0.9969543218612671, 0.21822823584079742, 0.07292310893535614, -0.20628933608531952, -0.4503556787967682, -0.2559780478477478, 0.02700897492468357, -0.39444074034690857, -0.15119554102420807, 0.12712429463863373, -0.40563249588012695, -0.1003989726305008, -0.4275171160697937, -0.7702201008796692, -0.6861187815666199, -0.38585227727890015, 0.10748294740915298, -0.1546347439289093, -0.2981854975223541, -0.09159591794013977, 0.04247460141777992, -0.04609791934490204, 0.22538748383522034, -1.1440478563308716, 0.3102787733078003, 0.41937896609306335, 0.9592921137809753, -0.39897334575653076, -0.18774212896823883, -0.4171024560928345, -0.09148873388767242, -0.34200021624565125, 0.20251087844371796, -0.270208477973938, -0.1305321753025055, -0.1847383975982666, -0.2682795524597168, -0.15154333412647247, -0.5119594931602478, 0.425616592168808, -0.6314333081245422, -0.06142144650220871, -0.010639852844178677, -0.09313606470823288, -0.009737670421600342, -0.21894043684005737, -0.7377183437347412, 0.943601131439209, 0.27889755368232727, -0.17942355573177338, 0.5343203544616699, -0.15249350666999817, -0.7868400812149048, -0.024542082101106644, -0.2754056751728058, -0.4194856584072113, 0.2439732700586319, 0.16954240202903748, 0.20334471762180328, -0.3805021643638611, -0.03882316127419472, 0.11894668638706207, 0.006287735886871815, 0.15257896482944489, -0.3355695903301239, 0.6180868744850159, 0.3881296217441559, -0.5288248658180237, 0.17824432253837585, -0.5969527363777161, 0.22920109331607819, 0.10705582797527313, -0.41352152824401855, -0.13205081224441528, -0.18782636523246765, 0.2389763742685318, 0.5238564014434814, 0.3610561490058899, -0.4045720398426056, 0.015241958200931549, -0.3241286277770996, 0.3502630591392517, 0.3101061284542084, -0.24738889932632446, 0.6865648031234741, 0.053473979234695435, 0.5087104439735413, -0.2602919638156891, 0.4717848002910614, 0.3575485348701477, -0.4630879759788513, -0.9212549328804016, -0.09085502475500107, 0.32412242889404297, 0.6830776333808899, -0.6798070073127747, 0.22853213548660278, -0.3088702857494354, -0.49296241998672485, -0.7350305914878845, 0.11740551143884659, 0.890151858329773, 0.16255484521389008, 0.4843301773071289, -0.4524272382259369, -0.22388578951358795, -0.8867502808570862, -0.035647474229335785, -0.012858064845204353, 0.0249125137925148, -0.016702983528375626, 0.016626248136162758, 0.22606851160526276, 0.19023293256759644, -0.5660515427589417, -0.27776649594306946, -0.26847168803215027, -0.004813936538994312, 0.2882896661758423, 0.44880199432373047, 0.3472342789173126, -0.9190568327903748, -0.4988711476325989, 0.27684882283210754, -0.5544820427894592, -0.09224460273981094, -0.2585800290107727, -0.3380506634712219, 0.4287862181663513, 0.7797365784645081, -0.4762871265411377, 0.367717981338501, 0.5339944958686829, -0.21358749270439148, 0.28442132472991943, -0.09156199544668198, 0.13906987011432648, -0.9516624808311462, -0.03185955062508583, -0.22348558902740479, -0.1600302904844284, -0.7942360639572144, -0.013755925931036472, -0.01495220884680748, -0.19465157389640808, -0.4352593421936035, 0.45452192425727844, -1.0022064447402954, -0.3099135756492615, -0.35168612003326416, 0.5264281630516052, -0.12317250669002533, 0.4072113037109375, 0.15850959718227386, 0.6594830751419067, 0.40932583808898926, -0.5075955986976624, 0.09420005232095718, 0.5806210041046143, -0.3491840958595276, 0.11871337890625, -0.3198518455028534, 0.16050314903259277, 0.09361670911312103, -0.16171379387378693, -0.9768715500831604, 0.0069190748035907745, 0.5252702832221985, -0.3721156120300293, 0.7846925258636475, -0.4076911509037018, -0.22496214509010315, -0.19120246171951294, 0.41651272773742676, 0.3946097195148468, 0.5431968569755554, -0.3657580614089966, 0.573394238948822, 0.593338131904602, -0.18640083074569702, -0.7043649554252625, -1.0320425033569336, 0.20483164489269257, 0.04711563140153885, -0.34401312470436096, 0.20736761391162872, 0.2663075923919678, -0.2374245822429657, -0.3922964930534363, -0.4971450865268707, -0.08484897017478943, -0.05193815380334854, -0.0050642602145671844, 0.08123674988746643, -0.09760303795337677, 0.05312168598175049, 0.12149891257286072, -0.4052800238132477, -0.2557477653026581, -0.2562693655490875, 0.29750722646713257, 0.2927097976207733, -0.38907983899116516, -0.39211228489875793, 0.3225640654563904, 0.8685204386711121, -0.3968006372451782, 0.5728858709335327, 0.2474953979253769, -0.1752057671546936, -0.3477913439273834, -0.4032366871833801, -0.308537095785141, -0.46877506375312805, 0.4630086421966553, -0.20289528369903564, -0.6616746783256531, 0.2822253406047821, 0.09466290473937988, 0.37131789326667786, -0.022547323256731033, 0.241762176156044, 0.27694931626319885, 0.7610575556755066, 0.31270748376846313, 0.0619916096329689, 0.8516282439231873, -0.010435348376631737, 0.4426731765270233, -0.5489782094955444, -0.20542629063129425, -0.05798852816224098, -0.6368704438209534, -0.4275842308998108, -0.7467620968818665, 0.08221101760864258, 0.3113792836666107, 0.1350012719631195, 0.5923647880554199, -0.7528513669967651, 0.5486777424812317, 0.4539623260498047, 0.12560106813907623, 0.21760572493076324, 0.15618734061717987, -0.00294473092071712, -0.11492033302783966, -0.6506012082099915, -0.4804781675338745, 1.018311858177185, -0.07429219782352448, 0.33417195081710815, 0.29410168528556824, 0.7982366681098938, 0.0886218398809433, 0.5205363035202026, -0.80198073387146, 0.7867475748062134, -0.5229932069778442, -0.4401293098926544, -0.5521365404129028, -0.2737087309360504, -1.0047848224639893, 0.6663016676902771, -0.3600844740867615, -0.4842337369918823, 0.29458409547805786, 0.12575140595436096, -0.32691794633865356, 0.14294302463531494, -0.8443611860275269, 0.7569743990898132, -0.6614526510238647, -0.33091992139816284, -0.04804603382945061, -0.8114126920700073, 0.27360841631889343, -0.06791069358587265, 0.04459334537386894, -0.2921159267425537, -0.1854732632637024, 0.5913821458816528, -0.45547714829444885, 0.7480147480964661, -0.12459103018045425, -0.2587710916996002, 0.20311780273914337, 0.36857059597969055, 0.429387629032135, -0.3286159634590149, -0.25476202368736267, 0.19793029129505157, -0.481611967086792, -0.383507639169693, -0.7214499711990356, 0.6197800636291504, -0.4622012972831726, -0.5955315828323364, -0.4285425543785095, -0.6581143736839294, -0.10596664249897003, 0.414188414812088, 0.2363765686750412, 0.1291312724351883, -0.04481564089655876, -0.5665435791015625, 0.24974389374256134, 0.07194159179925919, 0.5080037713050842, 0.48193225264549255, -0.06690678000450134, -0.962559700012207, 0.7960780262947083, 0.3387984335422516, 0.7895129323005676, 0.3357563018798828, -0.11183881014585495, -0.4446831941604614, -1.0990755558013916, -0.396483838558197, 0.5959766507148743, -0.6578853130340576, -0.09529852122068405, -0.42251336574554443, -0.03664446622133255, -0.4760034382343292, -0.17797107994556427, -0.4630240797996521, -0.8104076981544495, 0.007712735328823328, -0.2519170343875885, 0.4336196780204773, 0.6719585061073303, -0.30878910422325134, 0.4056317210197449, -0.6453380584716797, 0.4075579345226288, 0.04296315461397171, 0.1354636400938034, -0.06423116475343704, -0.3511401116847992, -0.2939251661300659, 0.021133555099368095, -0.25663691759109497, -0.8899949789047241, 0.412204384803772, 0.11636117845773697, 0.48592686653137207, 0.27342233061790466, 0.1713332235813141, 0.5082067251205444, -0.4192151427268982, 0.44883036613464355, 0.5022820234298706, -0.7929086685180664, 0.5961503982543945, -0.3354904353618622, 0.14215801656246185, 0.7316221594810486, 0.13885410130023956, -0.6856483221054077, -0.34960314631462097, -0.5477656722068787, -1.3707202672958374, 0.9144739508628845, 0.43507707118988037, -0.19178524613380432, -0.22323763370513916, 0.3468520939350128, 0.00336602795869112, 0.20226798951625824, -0.5083664059638977, -0.5189425349235535, -0.031060945242643356, -0.1661161482334137, -0.3663805425167084, 0.023901529610157013, -0.13362479209899902, 0.01493815053254366, 0.5762317776679993, 0.026427384465932846, -0.128452330827713, 0.05791936814785004, -0.09055744111537933, -0.02815033495426178, 0.025546355172991753, 0.5212181210517883, 0.5433829426765442, 0.07949325442314148, 0.009943569079041481, 0.10602464526891708, -0.5368198752403259, 0.21543629467487335, -0.019731886684894562, -0.33497682213783264, 0.09484211355447769, 0.158114954829216, 0.8992632627487183, 0.0946933776140213, -0.290185809135437, 0.24906423687934875, 0.2123500257730484, -0.023175068199634552, -0.08789244294166565, -0.14265674352645874, 0.013936182484030724, 0.24509721994400024, 0.04399450495839119, 0.19510096311569214, -0.114800363779068, 0.03805442899465561, 0.44237759709358215, 0.15190881490707397, -0.3130885660648346, -0.07160725444555283, 0.7638540863990784, 0.40758752822875977, -0.5323111414909363, 0.9286649823188782, -0.1664099544286728, -0.09926999360322952, 0.5917254686355591, 0.4363850951194763, 1.0281381607055664, -0.32473474740982056, 0.4737864136695862, 0.558742880821228, 0.45973527431488037, -0.27905574440956116, 0.49926868081092834, 0.0629039779305458, -0.7474234104156494, -0.5132341980934143, -0.47908318042755127, -0.2795940041542053, 0.10228242725133896, -0.7495638728141785, 0.04342348128557205, -0.7229328155517578, -0.492826372385025, -0.20969867706298828, -0.25747188925743103, -0.22847376763820648, 0.22789771854877472, 0.4442124366760254, 0.6424508094787598, -1.1487772464752197, 0.5584994554519653, 0.40510326623916626, -0.6289627552032471, -0.5126277804374695, 0.13535232841968536, 0.16712914407253265, -0.694904625415802, 0.7809773087501526, -0.09349791705608368, -0.27592888474464417, 0.14596772193908691, -0.11482518166303635, -1.266637921333313, 0.9087502360343933, 0.47476378083229065, -0.5438123941421509, 0.3462201654911041, 0.1477205902338028, 0.6402318477630615, -0.1523793488740921, 0.07387718558311462, 0.8420047760009766, 0.4888305068016052, 0.27017760276794434, -0.8625366687774658, 0.38312986493110657, -0.11443958431482315, 0.03683292493224144, 0.796623170375824, -0.796032726764679, 0.35852816700935364, -0.4484436511993408, -0.7041652798652649, 0.09955372661352158, 0.8798398971557617, 0.3885901868343353, 0.1654626578092575, 0.3870319426059723, 0.5393807888031006, 0.9004191756248474, -0.2980901598930359, 0.7558019757270813, -0.29624414443969727, -0.0341370590031147, 1.109299659729004, -0.3159296214580536, 0.8884137868881226, 0.7239351272583008, -0.18939834833145142, 0.024625714868307114, 0.6981388330459595, 0.18333730101585388, 0.5344722270965576, 0.43322789669036865, -0.2734861373901367, -0.45206016302108765, -0.08957843482494354, -0.03264399617910385, 0.2313203662633896, 0.2802028954029083, -0.4114910662174225, -0.13358864188194275, -0.09772896021604538, 0.11695108562707901, 0.29534024000167847, -0.13792617619037628, 0.5264080762863159, 0.3385240435600281, -0.7042060494422913, 1.0361230373382568, -0.350331574678421, 0.5084799528121948, -0.5251551866531372, 0.04229998588562012, -0.5288360714912415, 0.13655473291873932, -0.1995648890733719, -0.6460258364677429, 0.4501253366470337, -0.3423616290092468, -0.2068723440170288, -0.7208356857299805, 0.26695114374160767, -0.6015241742134094, -0.407703697681427, 0.5748840570449829, 0.501981258392334, 0.39026689529418945, 0.47458091378211975, -0.8161306381225586, -0.18488137423992157, 0.11582222580909729, -0.15763582289218903, 0.3275649845600128, 0.3115982413291931, -0.3601599335670471, 0.7456706166267395, 0.7172242403030396, 0.21160869300365448, 0.37985047698020935, 0.3507981598377228, 0.5306463241577148, -0.6156632304191589, -0.381460577249527, -0.37476301193237305, 0.45779430866241455, -0.10032089799642563, -0.6004181504249573, 0.6528139114379883, 0.49467793107032776, 0.8204424977302551, -0.1568562388420105, 0.7349558472633362, -0.24172084033489227, 0.1492331624031067, -0.527423083782196, 0.7966508865356445, -0.4384225904941559, 0.04463212192058563, -0.1345306634902954, -0.9281246662139893, -0.7136659622192383, 0.4166737198829651, -0.45528721809387207, 0.015533540397882462, 0.780238687992096, 1.0037236213684082, 0.010267688892781734, -0.3178544342517853, 0.46112826466560364, -0.007315613329410553, -0.05354488641023636, 0.5209120512008667, 0.5046495199203491, -0.7211391925811768, 0.6923645734786987, -0.14440317451953888, -0.21913377940654755, -0.014774486422538757, -0.5974806547164917, -0.6148965954780579, -0.575935423374176, -0.8281264901161194, -0.3661750853061676, -0.04274779185652733, 0.7702528238296509, 0.5650166273117065, -0.9372461438179016, -0.5171658992767334, -0.15335948765277863, 0.3251294195652008, -0.7461960315704346, -0.13653188943862915, 0.49215376377105713, -0.29239150881767273, -0.9628749489784241, 0.9290334582328796, 0.04522072896361351, 0.3375104069709778, 0.26105818152427673, -0.12859703600406647, -0.33516189455986023, -0.2295045256614685, 0.25296032428741455, 0.6729297041893005, -0.8088492155075073, 0.029731566086411476, -0.21549004316329956, -0.25477999448776245, -0.0033451293129473925, 0.7194980382919312, -0.3656773269176483, 0.3016042113304138, 0.7969896197319031, 0.4938119947910309, 0.4379643201828003, -0.12060310691595078, 0.685736358165741, -0.8315313458442688, 0.09655904024839401, 0.1404198706150055, 0.2878133952617645, 0.42404767870903015, -0.356851190328598, 0.6042942404747009, 0.1839173436164856, -0.36739447712898254, -0.5385380983352661, 0.786056399345398, -0.8786538243293762, -0.16448596119880676, 1.1659094095230103, 0.10339779406785965, -0.29465150833129883, -0.35993364453315735, 0.02356208860874176, 0.5432338714599609, -0.38234081864356995, 0.7110209465026855, 0.30787256360054016, -0.2106032520532608, -0.3166864216327667, -0.2571369409561157, 0.6790830492973328, 0.6042093634605408, -0.36089515686035156, 0.4902712106704712, 0.7233426570892334, 0.1189899817109108, 0.4593501687049866, 0.6891867518424988, -0.17475450038909912, 0.06722524017095566, 0.10871116816997528, 0.4228837192058563, -0.18825861811637878, -0.2529858946800232, -0.4228854179382324, -0.025134820491075516, 0.06600045412778854, -0.5996856689453125 ]
http://arxiv.org/abs/2404.11531v1
http://arxiv.org/pdf/2404.11531v1
Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimization
2024-04-17T16:24:07
2024-04-17T16:24:07
Costas Mavromatis, Petros Karypis, George Karypis
cs.CL
cs.CL
Fusing knowledge from multiple Large Language Models (LLMs) can combine their diverse strengths to achieve improved performance on a given task. However, current fusion approaches either rely on learning-based fusers that do not generalize to new LLMs, or do not take into account how well each LLM understands the input. In this work, we study LLM fusion at test-time, which enables leveraging knowledge from arbitrary user-specified LLMs during inference. We introduce Pack of LLMs (PackLLM), an effective method for test-time fusion that leverages each LLM's expertise, given an input prompt. PackLLM performs model fusion by solving an optimization problem for determining each LLM's importance, so that perplexity over the input prompt is minimized. First, our simple PackLLM-sim variant validates that perplexity is a good indicator for measuring each LLM's expertise. Second, our PackLLM-opt variant approximately solves the perplexity minimization problem via a greedy algorithm. The derived importance weights are used to combine the LLMs during inference. We conduct experiments with over 100 total LLMs on a diverse set of tasks. Experimental results show that (i) perplexity is a reliable measure for LLM fusion, (ii) PackLLM outperforms test-time fusion baselines by 1.89% accuracy points, and (iii) PackLLM can leverage new LLMs to improve performance over learning-based fusion approaches by 3.92-11.94% accuracy points.
[ -0.42936018109321594, -0.5462366938591003, 0.5542126297950745, 0.175841823220253, -0.209234818816185, 0.3890594244003296, 0.010462750680744648, -0.22320476174354553, -0.07249443978071213, 0.3450072407722473, -0.6809507608413696, -0.42775192856788635, -0.4527662694454193, 0.07660788297653198, -0.33793047070503235, 0.6337178349494934, -0.20039066672325134, -0.040321480482816696, -0.5276210308074951, -0.005183079279959202, -0.047197531908750534, -0.39292606711387634, -0.04403865337371826, -0.7595630884170532, 0.5926260948181152, 0.44559553265571594, 0.392473965883255, 0.6238648891448975, 0.4473987817764282, 0.3382137715816498, -0.16893993318080902, 0.3366927206516266, -0.67400723695755, 0.11098378151655197, -0.18087460100650787, -0.6453314423561096, -0.3437434732913971, 0.010515322908759117, 0.6546838879585266, 0.6021530628204346, -0.04178595170378685, 0.14556974172592163, -0.1117779016494751, 0.23935270309448242, -0.745768129825592, -0.24526606500148773, -0.78067946434021, 0.12734584510326385, -0.04840580374002457, -0.2913776636123657, -0.3226913511753082, -0.29034027457237244, 0.14449605345726013, -0.49978142976760864, 0.1255670040845871, 0.27510538697242737, 0.7304913401603699, 0.49633562564849854, -0.37561583518981934, 0.15709933638572693, -0.8066233396530151, 1.1418519020080566, -0.7277953624725342, 0.13089977204799652, 0.028600912541151047, 0.5119880437850952, -0.5079703330993652, -0.17121301591396332, -0.7720819711685181, -0.01402082946151495, 0.06325491517782211, 0.202362060546875, -0.14763499796390533, 0.0628531351685524, 0.32862210273742676, 0.3972328305244446, -0.6401515007019043, 0.45473289489746094, -0.09715262800455093, -0.1724637895822525, 0.9368736147880554, 0.267556756734848, 0.23019100725650787, -0.14921145141124725, -0.8061141967773438, -0.29595375061035156, -0.8607822060585022, -0.04311366751790047, 0.45593351125717163, 0.003252887399867177, 0.05607740953564644, 0.7378551959991455, -0.23602880537509918, 0.7619706988334656, -0.053343698382377625, -0.4863992929458618, 0.20799824595451355, -0.3338314890861511, -0.2634876072406769, -0.026345672085881233, 0.6041625142097473, -0.1332663893699646, -0.18349704146385193, -0.21404944360256195, -0.44426271319389343, 0.040253039449453354, 0.10680211335420609, -0.4184950292110443, 0.011846696957945824, 0.38904091715812683, -0.23282967507839203, -0.3689773976802826, -0.150288388133049, -0.662747323513031, -0.5721509456634521, -0.10645990818738937, 0.6624229550361633, -0.4290767014026642, -0.26046013832092285, 0.2561124563217163, -0.20194430649280548, 0.5902335047721863, 0.3044893145561218, -0.5828537940979004, 0.1706324815750122, 0.6931986808776855, 0.4149269461631775, -0.4824622571468353, -0.46254634857177734, -0.5641583204269409, 0.31119880080223083, 0.0023175172973424196, 1.1602880954742432, -0.4179685711860657, -0.4733369052410126, -0.12144589424133301, -0.4432879090309143, -0.1723153442144394, -0.6375005841255188, 0.2075834721326828, -0.5188153386116028, 0.0017351653659716249, -0.21217243373394012, -1.0028681755065918, -0.23472896218299866, 0.4559224545955658, -0.47546881437301636, 0.950242817401886, 0.27131637930870056, -0.5163869261741638, 0.1777096837759018, -0.4890615940093994, -0.453147828578949, 0.287901908159256, -0.3182224631309509, -0.30396559834480286, 0.1839783936738968, 0.11307662725448608, 0.4604152739048004, -0.6142895817756653, -0.02450508438050747, -0.4720781147480011, -0.5212787389755249, 0.3215136229991913, 0.05345265194773674, 0.6141805648803711, 0.0919741541147232, -0.35493823885917664, 0.2857440412044525, -0.5407088994979858, -0.014831253327429295, 0.26163217425346375, -0.4304471015930176, -0.27775970101356506, 0.04463578760623932, -0.3800809383392334, 0.11641691625118256, 0.11817795783281326, -0.26370692253112793, 0.3933354318141937, -0.5499215722084045, 0.14793691039085388, 0.8002472519874573, -0.09910311549901962, 0.3925062119960785, -0.6514880061149597, 0.689922034740448, 0.0012710425071418285, 0.15513986349105835, -0.08453067392110825, -0.2935684621334076, -0.8569639921188354, -0.24012522399425507, 0.29821717739105225, 0.830514669418335, -0.7284194231033325, 0.6754785180091858, -0.21795684099197388, -0.6091096997261047, -0.3840710520744324, 0.3836876451969147, 0.5735187530517578, 0.39096421003341675, 0.19785331189632416, -0.19047506153583527, -0.25649532675743103, -1.0407767295837402, -0.3467198312282562, -0.320271372795105, -0.2246224731206894, 0.40862250328063965, 0.36964190006256104, -0.13470031321048737, 0.8773353695869446, -0.6341454982757568, -0.16954319179058075, -0.5258756279945374, 0.08948899805545807, 0.11816509813070297, 0.40656837821006775, 0.24914869666099548, -0.851879358291626, -0.0670141726732254, -0.06801187992095947, -0.5753084421157837, -0.21463683247566223, -0.029833698645234108, -0.048950791358947754, 0.21193726360797882, 0.2108495980501175, -0.40916475653648376, 0.09219883382320404, 0.5775279402732849, -0.12352390587329865, 0.6969249844551086, -0.17522476613521576, 0.13265812397003174, -0.9896809458732605, -0.09337085485458374, -0.12766407430171967, 0.03075529634952545, -0.5745962262153625, 0.036321550607681274, 0.010487708263099194, 0.0652657151222229, -0.8172721862792969, 0.8875404000282288, -0.48169296979904175, -0.1304938793182373, -0.1333332061767578, 0.25064435601234436, -0.1453953981399536, 0.4412805438041687, -0.3266445994377136, 0.5702342987060547, 0.4051757752895355, -0.4801470935344696, 0.413472443819046, 0.18468739092350006, -0.39232322573661804, 0.39991769194602966, -0.3949468433856964, 0.2804229259490967, -0.03135119751095772, 0.048761121928691864, -1.253849983215332, -0.3322177231311798, 0.024656791239976883, -0.09764067828655243, 0.33304449915885925, 0.13360565900802612, -0.7325077652931213, -0.341316282749176, -0.250642329454422, 0.6904081106185913, 0.8463091850280762, -0.5938277840614319, 1.052467703819275, 0.466572642326355, 0.10545738786458969, -0.4650852382183075, -0.4723745584487915, -0.2808091938495636, -0.34277597069740295, -0.8736802935600281, 0.5552849173545837, -0.09637091308832169, -0.2941848933696747, -0.13148322701454163, -0.34674307703971863, 0.05892788618803024, 0.18956111371517181, 0.26550647616386414, 0.36521509289741516, 0.00916554406285286, 0.2873169183731079, 0.17694249749183655, -0.18398083746433258, -0.18709687888622284, -0.20187832415103912, 0.6250871419906616, -0.06604104489088058, -0.6417544484138489, -0.00496731698513031, 0.3958113193511963, 0.2607784569263458, -0.17725160717964172, 0.5407581329345703, 0.41762351989746094, -0.24837885797023773, -0.4953172504901886, -1.2802095413208008, -0.3385721743106842, -0.4993281662464142, 0.23992973566055298, -0.4574151635169983, -1.0319565534591675, 0.5587284564971924, -0.47440120577812195, 0.12556597590446472, 0.25756749510765076, 0.4701656401157379, -0.18882346153259277, 0.8321311473846436, 0.5449525117874146, -0.1772630363702774, 0.169061079621315, -0.18986067175865173, 0.22734767198562622, -0.7283872365951538, -0.3833127021789551, -0.45818817615509033, -0.6324383020401001, -0.2536129951477051, -0.682202935218811, 0.5550681352615356, -0.015217834152281284, -0.016071012243628502, 0.15371079742908478, -0.2384617030620575, 0.6621289849281311, 0.5258089900016785, 0.1294354349374771, 0.4455989897251129, 0.020687296986579895, -0.2727181911468506, 0.23287616670131683, -1.098496913909912, -0.278160035610199, 0.93547523021698, 0.1372462660074234, 0.9321292638778687, -0.04877190664410591, 0.866834819316864, -0.24440699815750122, 0.13478407263755798, -0.619976818561554, 0.874262273311615, -0.15578480064868927, -0.32947513461112976, -0.19578304886817932, -0.5424445271492004, -0.8386004567146301, 0.18813492357730865, -0.36086711287498474, -0.6781304478645325, -0.10978715866804123, 0.28312453627586365, -0.4618348777294159, 0.30459463596343994, -0.6547074913978577, 0.6387496590614319, -0.43703410029411316, -0.11812575906515121, -0.34129461646080017, -0.6835416555404663, 0.752524197101593, -0.09504693001508713, -0.046438440680503845, -0.2877751886844635, -0.2542745769023895, 0.6117963790893555, 0.06683262437582016, 0.6702976226806641, 0.2277229279279709, -0.10992156714200974, -0.09111262112855911, 0.11157680302858353, 0.5152467489242554, -0.16760501265525818, -0.07723764330148697, 0.13609251379966736, -0.27764320373535156, -0.448113352060318, -0.6990416646003723, 0.858898401260376, -0.7787082195281982, -0.9381200671195984, -0.19441942870616913, -1.0930873155593872, -0.3255087435245514, 0.1137881651520729, 0.10953683406114578, 0.23040322959423065, 0.1318213939666748, -0.12915092706680298, 1.0682860612869263, -0.3655562996864319, 0.3113304078578949, 0.5360612273216248, -0.12436366826295853, -0.1707325428724289, 0.9558634757995605, -0.001250123605132103, 0.49389684200286865, 0.5752073526382446, 0.36506709456443787, -0.3216457664966583, -0.7980689406394958, -0.052496109157800674, 0.5170703530311584, -0.6832022666931152, -0.1695510745048523, -0.771864652633667, -0.20218093693256378, -0.2971387505531311, -0.2831692695617676, -0.31480878591537476, -0.40681853890419006, -0.08031335473060608, 0.18323421478271484, 0.07102610915899277, 0.31222400069236755, 0.22307349741458893, 0.16124394536018372, -0.8988052606582642, 0.2250683605670929, 0.45524218678474426, 0.16671665012836456, -0.24048787355422974, -0.1938079297542572, 0.17368477582931519, -0.3568684160709381, -0.28502118587493896, -0.9713169932365417, 0.1065666601061821, -0.1485244333744049, 0.9262580871582031, 0.340392142534256, 0.22812792658805847, 0.5961080193519592, -0.053806569427251816, 0.6676952838897705, 0.12813527882099152, -0.8654257655143738, 0.6144338846206665, -0.24617645144462585, 0.6211296916007996, 0.3589150309562683, 0.3711516261100769, -0.10713642835617065, -0.6339361667633057, -0.6640180349349976, -0.8100083470344543, 0.5269545912742615, 0.1310410052537918, -0.3021354377269745, 0.42700594663619995, 0.311683714389801, 0.1303103119134903, 0.09502408653497696, -0.31456929445266724, -0.31377747654914856, 0.3930297791957855, -0.1350036859512329, -0.23377037048339844, -0.34224769473075867, -0.45450878143310547, -0.24852001667022705, 0.635681688785553, -0.16372442245483398, 0.020229853689670563, 0.11099276691675186, -0.2115132361650467, 0.06670920550823212, 0.22698794305324554, 0.6381959319114685, 0.6385776400566101, -0.034823644906282425, 0.2634408175945282, 0.5250982642173767, -0.03506609797477722, 0.44492387771606445, 0.3148936629295349, -0.15069812536239624, -0.2691851258277893, 0.34200629591941833, 0.5992136001586914, 0.4659898281097412, -0.9371540546417236, 0.19528216123580933, 0.054072827100753784, -0.28247854113578796, -0.09014402329921722, 0.49814751744270325, 0.1329774260520935, 0.5553193688392639, 0.33879873156547546, -0.16110216081142426, -0.05667463690042496, -0.14740148186683655, 0.10366850346326828, 0.6286956667900085, 0.039655543863773346, -0.12092173099517822, 0.3796970546245575, 0.3232174217700958, -0.25816288590431213, 0.45461946725845337, -0.29844120144844055, -0.7523979544639587, 0.6497210264205933, 0.488119512796402, 0.8762344717979431, -0.5184034705162048, 0.07744091749191284, 0.13210010528564453, 0.20210446417331696, -0.12231285870075226, 0.2471810132265091, 0.04406864196062088, -0.8817898631095886, -0.5179120302200317, -0.6211876273155212, -0.5304788947105408, 0.14940917491912842, -0.15919381380081177, 0.3788337707519531, -0.10691613703966141, 0.17362840473651886, -0.2829931378364563, 0.19303277134895325, -0.6738625764846802, -0.14864379167556763, 0.023385683074593544, 1.0899008512496948, -0.7806745767593384, 0.7041524648666382, 0.734553873538971, 0.06391093879938126, -1.0375735759735107, -0.13872408866882324, 0.396066278219223, -0.816599428653717, 0.48621484637260437, 0.0814792588353157, -0.07935994118452072, 0.11987311393022537, -0.23885251581668854, -0.7641497254371643, 1.238783597946167, 0.5734672546386719, -0.5938069224357605, 0.12089986354112625, 0.11268191784620285, 0.05607542023062706, -0.5196735858917236, 0.1571396142244339, 0.7613716125488281, 0.5416955351829529, 0.5505576729774475, -0.7483254671096802, 0.18477162718772888, -0.1471889615058899, 0.06476665288209915, 0.33188942074775696, -0.46893125772476196, 0.7318239212036133, -0.33714285492897034, -0.3100438416004181, -0.18290069699287415, 0.4859611988067627, 0.709575355052948, 0.11806916445493698, 0.909280002117157, 0.5979623794555664, 0.7943633794784546, -0.04001713916659355, 1.3130627870559692, -0.09577391296625137, 0.24583974480628967, 0.9114869832992554, -0.4932378828525543, 0.6174976229667664, 0.7280063629150391, -0.2024921476840973, 0.02776947058737278, 0.5667756795883179, -0.10281100124120712, 0.28117576241493225, 0.5187852382659912, -0.4400927722454071, -0.5928341150283813, -0.06697819381952286, -0.21300360560417175, 0.35323163866996765, -0.04690327122807503, 0.015720516443252563, -0.41332903504371643, -0.009676244109869003, -0.18992933630943298, -0.1786440908908844, -0.07857275754213333, 0.8778148293495178, 0.0308710727840662, -0.7998386025428772, 0.6144616007804871, -0.2924981415271759, 0.6367449760437012, -0.6937499046325684, 0.08212704956531525, -0.23624542355537415, 0.35139694809913635, -0.1530599296092987, -0.5409491658210754, 0.06895045191049576, -0.3159205913543701, -0.1517406851053238, -0.1306220442056656, 0.9787018895149231, -0.639394223690033, -0.6177146434783936, 0.340576171875, 0.6057490706443787, 0.12885543704032898, 0.03551250696182251, -0.3432260751724243, 0.3193871080875397, -0.08282212913036346, -0.2533775568008423, 0.7161514759063721, -0.1898326575756073, 0.20642459392547607, 0.9461672902107239, 0.5768351554870605, 0.2370927482843399, 0.12899428606033325, -0.12987270951271057, 1.0957614183425903, -0.46452465653419495, -0.21819192171096802, -0.9055951833724976, 0.6146911382675171, -0.08888337761163712, -0.20816314220428467, 0.7420122027397156, 0.41305312514305115, 0.8132301568984985, -0.007111761253327131, 0.845373809337616, 0.21990302205085754, 0.2922709286212921, -0.6416236162185669, 0.6340875029563904, -0.7857509255409241, 0.4672893285751343, -0.023998524993658066, -1.0258510112762451, -0.4322417378425598, 0.2675263285636902, -0.2252112627029419, -0.18428710103034973, 0.5918278694152832, 0.9672066569328308, 0.044552844017744064, -0.008213496766984463, 0.30859610438346863, 0.16174383461475372, 0.47849389910697937, 1.051557183265686, 0.8747928738594055, -0.20920969545841217, 0.5974247455596924, -0.4301646053791046, -0.5611812472343445, -0.23666682839393616, -1.0828014612197876, -1.033201813697815, -0.5393829941749573, -0.3787374496459961, -0.127119243144989, -0.051355551928281784, 0.9986637234687805, 0.6697341203689575, -0.5081832408905029, -0.38986125588417053, 0.22099633514881134, 0.6176268458366394, -0.35023969411849976, -0.1378834843635559, 0.12758256494998932, -0.5127473473548889, -0.6444068551063538, 0.6314713358879089, 0.3843159079551697, 0.14780889451503754, -0.49479004740715027, -0.14164654910564423, -0.2248610258102417, 0.23038341104984283, 0.43964073061943054, 0.10132387280464172, -0.8809980750083923, -0.1791440099477768, 0.1343289315700531, 0.04776474088430405, -0.16363538801670074, 0.8654365539550781, -0.8027217984199524, 0.5183010697364807, 0.7284459471702576, 0.9171196818351746, 0.5044755935668945, -0.0045764553360641, 0.8228796720504761, -0.564828097820282, 0.04282332956790924, 0.414899080991745, 0.2782456576824188, 0.10234891623258591, -0.24894854426383972, 0.43641775846481323, 0.1546895056962967, -0.554979145526886, -1.1301442384719849, 0.3623543381690979, -1.1312439441680908, -0.23113073408603668, 1.3835477828979492, -0.1784774363040924, -0.34088465571403503, -0.03474302962422371, 0.13079625368118286, 0.10432994365692139, -0.11962119489908218, 1.028264045715332, 0.7475088834762573, -0.32868120074272156, -0.22670729458332062, -0.13241200149059296, 0.3143574297428131, 0.7009772658348083, -1.0777108669281006, -0.25125402212142944, 0.12046746164560318, 0.22318920493125916, 0.24636125564575195, 0.32884684205055237, 0.0544835664331913, 0.20030508935451508, -0.11863084882497787, -0.02113378793001175, -0.3247821629047394, -0.19308483600616455, -0.32602086663246155, 0.3071001470088959, -0.18023347854614258, -0.021261224523186684 ]
http://arxiv.org/abs/2404.11502v1
http://arxiv.org/pdf/2404.11502v1
Towards Coarse-to-Fine Evaluation of Inference Efficiency for Large Language Models
2024-04-17T15:57:50
2024-04-17T15:57:50
Yushuo Chen, Tianyi Tang, Erge Xiang, Linjiang Li, Wayne Xin Zhao, Jing Wang, Yunpeng Chai, Ji-Rong Wen
cs.CL
cs.CL, cs.AI
In real world, large language models (LLMs) can serve as the assistant to help users accomplish their jobs, and also support the development of advanced applications. For the wide application of LLMs, the inference efficiency is an essential concern, which has been widely studied in existing work, and numerous optimization algorithms and code libraries have been proposed to improve it. Nonetheless, users still find it challenging to compare the effectiveness of all the above methods and understand the underlying mechanisms. In this work, we perform a detailed coarse-to-fine analysis of the inference performance of various code libraries. To evaluate the overall effectiveness, we examine four usage scenarios within two practical applications. We further provide both theoretical and empirical fine-grained analyses of each module in the Transformer architecture. Our experiments yield comprehensive results that are invaluable for researchers to evaluate code libraries and improve inference strategies.
[ -0.35495248436927795, -0.8073980212211609, 0.7706900238990784, 0.09137528389692307, -0.019816100597381592, -0.35949644446372986, -0.7443963885307312, -0.3375537693500519, -0.4690289795398712, 0.4237383306026459, -0.2817395031452179, -0.4545769989490509, -0.5394524335861206, 0.10792133957147598, -0.567242443561554, 0.5306630730628967, 0.2853653132915497, 0.005792306736111641, -0.19660764932632446, 0.07347843050956726, -0.04661929979920387, -0.15356864035129547, -0.5960627198219299, -0.5032702088356018, 0.46058520674705505, 0.2862166464328766, 0.8453932404518127, 0.47350654006004333, 0.5575157999992371, 0.3739141523838043, -0.20680487155914307, 0.1434490829706192, -0.5573733448982239, -0.22158783674240112, -0.2842373251914978, -0.5878604054450989, -0.3428184688091278, -0.3646474778652191, 0.5326380133628845, 0.823141872882843, 0.058796148747205734, 0.21579821407794952, 0.2865184545516968, 0.6011559367179871, -0.7929612994194031, 0.15224409103393555, -0.5635474920272827, -0.018444985151290894, -0.07556407153606415, -0.01944003812968731, -0.6482318639755249, -0.4580521881580353, 0.0757739320397377, -0.2581794559955597, 0.149889275431633, 0.018902452662587166, 0.8605281710624695, 0.381575345993042, -0.24262844026088715, -0.3536989390850067, -0.9124969840049744, 1.0798918008804321, -1.17699134349823, 0.5910894870758057, 0.19316190481185913, 0.26766237616539, -0.17571401596069336, -0.9335886836051941, -0.5005870461463928, -0.5258088707923889, -0.36101996898651123, 0.0068246000446379185, -0.5954638719558716, 0.39503559470176697, 0.3013242185115814, 0.5160143971443176, -0.33025696873664856, 0.4753304719924927, -0.0955561101436615, -0.049136292189359665, 0.4413118064403534, 0.1447192132472992, 0.049533743411302567, -0.21655888855457306, 0.050663989037275314, -0.13402137160301208, -0.3550225794315338, -0.06779339164495468, 0.4586293399333954, 0.2107563018798828, -0.20280267298221588, 0.5310434699058533, -0.16036556661128998, 0.7964848875999451, -0.029221849516034126, -0.2622906267642975, 0.08440780639648438, -0.24138575792312622, -0.3988023102283478, -0.6604517698287964, 0.8335061073303223, 0.36633965373039246, 0.4386007487773895, -0.5794337391853333, -0.497407466173172, -0.002827836899086833, 0.3907848298549652, -0.928520143032074, -0.22887252271175385, 0.2044309377670288, -0.671687662601471, -0.17645977437496185, -0.15860845148563385, -0.8271324038505554, -0.2789723873138428, -0.5170807242393494, 0.39653828740119934, -0.367012619972229, -0.13293315470218658, 0.16821932792663574, -0.15403424203395844, 0.3652938902378082, 0.16612671315670013, -0.726919412612915, 0.4181266725063324, 0.8422873616218567, 0.7205178141593933, -0.3094017803668976, -0.12839461863040924, -0.3965970575809479, -0.2687218189239502, -0.20831036567687988, 0.937023937702179, -0.5971705913543701, -0.21394330263137817, 0.054212167859077454, -0.16491463780403137, -0.16140717267990112, -0.6927750706672668, 1.0837063789367676, -0.5705183148384094, -0.42345568537712097, 0.20819205045700073, -0.7097480893135071, -0.016021883115172386, 0.020222904160618782, -0.8675886988639832, 0.9888429045677185, 0.20199070870876312, -0.5158078670501709, 0.05260343477129936, -0.5195796489715576, -0.3532566726207733, -0.1966247707605362, -0.03939324617385864, -0.47117552161216736, 0.6405149102210999, 0.07518993318080902, 0.7424387335777283, -0.5881733298301697, 0.38331568241119385, -0.3958369195461273, -0.6321449875831604, 0.30022332072257996, -0.841768741607666, 0.4809587895870209, 0.4535222053527832, -0.38632169365882874, 0.09121498465538025, -0.7257786393165588, -0.08249393850564957, -0.1624632328748703, -0.4247218668460846, -0.4591892659664154, 0.16830682754516602, -0.017083678394556046, -0.19262106716632843, 0.02997196651995182, -0.2933677136898041, 0.14025664329528809, -0.3122682571411133, 0.34603527188301086, 0.545560896396637, -0.30103161931037903, 0.679780900478363, -0.06711698323488235, 0.5021587014198303, -0.33477601408958435, 0.2086665779352188, -0.04782068729400635, -0.14434225857257843, -0.7891121506690979, -0.5305967926979065, 0.6425985097885132, 0.30651625990867615, -0.655846893787384, 0.43888261914253235, -0.4430180788040161, -0.5829938650131226, -0.4748258888721466, 0.13030563294887543, 0.5290381908416748, 0.10980398207902908, 0.23077456653118134, 0.0777704045176506, -0.22275103628635406, -1.045883297920227, -0.4905148446559906, 0.009862477891147137, -0.25231167674064636, 0.585421621799469, 0.41398170590400696, -0.3845042288303375, 1.0230473279953003, -0.5246008038520813, 0.3710494041442871, -0.5268717408180237, -0.05665598809719086, 0.3768371641635895, 0.31754350662231445, 0.5054168105125427, -0.5927531123161316, -0.16309978067874908, 0.08490648865699768, -0.457466721534729, -0.5761986374855042, -0.19293834269046783, -0.15832069516181946, 0.15126632153987885, 0.6306983828544617, -0.36371099948883057, 0.37178972363471985, 0.8943948745727539, -0.12142235040664673, 0.8403410911560059, -0.260590523481369, 0.18024055659770966, -0.5716037154197693, 0.13298676908016205, 0.2026708871126175, -0.14923708140850067, -0.6963624954223633, 0.3919035494327545, 0.2802278995513916, 0.14040344953536987, -0.31037023663520813, 0.6083758473396301, -0.3570350706577301, -0.21419286727905273, -0.07577499002218246, 0.18097521364688873, 0.06443247944116592, 0.48202967643737793, -0.1523878127336502, 1.051238775253296, 0.43453970551490784, -0.6521125435829163, -0.1485653668642044, -0.25158387422561646, -0.6812372207641602, 0.19588257372379303, -0.8178898692131042, -0.03525698557496071, 0.10357771068811417, 0.024463318288326263, -1.1463912725448608, -0.0673048198223114, -0.15376242995262146, -0.05790187045931816, 0.3614700138568878, -0.2269909381866455, -0.7373893857002258, -0.32142961025238037, -0.3492821455001831, 0.24917753040790558, 0.5753915905952454, -0.679858386516571, 0.8486416339874268, 0.2167120724916458, 0.24631230533123016, -0.4735530912876129, -0.6471899151802063, 0.028595181182026863, -0.5269384980201721, -0.5952325463294983, 0.21620838344097137, 0.058073461055755615, -0.6384427547454834, -0.21020005643367767, -0.1688980609178543, -0.15942275524139404, 0.3290020227432251, -0.029228046536445618, 0.04126368835568428, -0.3450622260570526, 0.10693933814764023, 0.2022622674703598, -0.1334686428308487, 0.016596725210547447, -0.1074080541729927, 0.4910413920879364, -0.32434386014938354, -0.4945642948150635, -0.4512925148010254, -0.06252992153167725, 0.3709994852542877, -0.06454936414957047, 0.5979618430137634, 0.5558412075042725, -0.023383410647511482, -0.339711457490921, -0.8921928405761719, 0.009495783597230911, -0.5005079507827759, 0.3933992385864258, -0.4894361197948456, -0.6562625765800476, 0.6423395276069641, -0.5708214640617371, 0.13982707262039185, 0.38729679584503174, 0.5820124745368958, 0.23744063079357147, 0.7650384902954102, 0.4809371531009674, 0.08391818404197693, 0.454546719789505, -0.3637278974056244, 0.4426766335964203, -0.6889451146125793, 0.03663118928670883, -0.9185185432434082, -0.2187548726797104, -0.4944051206111908, -0.7080516815185547, 0.17254184186458588, 0.4700256288051605, -0.03874420002102852, 0.49125829339027405, -0.1552746742963791, 0.4890095889568329, 0.3253381550312042, 0.08894893527030945, 0.6318507194519043, -0.053210362792015076, 0.01514840591698885, 0.21722018718719482, -0.7094717621803284, -0.8528082966804504, 0.887138843536377, 0.5105909705162048, 1.1344794034957886, 0.1703435331583023, 0.45238709449768066, 0.19401240348815918, 0.2842314839363098, -1.1514679193496704, 0.4795893430709839, -0.4231342077255249, -0.19508768618106842, -0.21831728518009186, -0.5632101893424988, -0.8604104518890381, 0.34697970747947693, -0.025864161550998688, -0.7540358901023865, 0.17119218409061432, 0.23695266246795654, -0.30093538761138916, 0.28072237968444824, -1.1236251592636108, 0.9557521939277649, -0.04833300784230232, -0.41121068596839905, -0.3242703974246979, -0.32065269351005554, 0.3448926508426666, -0.3138655126094818, 0.39477667212486267, 0.0020641114097088575, -0.10124101489782333, 0.4745546579360962, -0.21055811643600464, 0.7969377636909485, -0.018124407157301903, -0.37161529064178467, 0.241719052195549, -0.025675497949123383, 0.41429901123046875, -0.1486946940422058, -0.7361759543418884, 0.4507279098033905, -0.08879781514406204, -0.16868464648723602, -0.7596986889839172, 0.715777575969696, -0.5791890025138855, -0.3241475522518158, 0.24586157500743866, -0.6630873084068298, -0.16812239587306976, 0.1403675228357315, 0.1510094255208969, 0.7930779457092285, -0.16121642291545868, 0.2815318703651428, 0.5885104537010193, -0.47471681237220764, 0.573150098323822, 0.41950634121894836, -0.07425295561552048, 0.16544391214847565, 0.5485692620277405, -0.0751432552933693, 0.5366637110710144, 0.46667346358299255, 0.47246265411376953, -0.35583043098449707, -0.8763859272003174, -0.5067377686500549, 0.1935223788022995, -0.7103883624076843, -0.15114277601242065, -0.592063844203949, 0.11625895649194717, -0.22869817912578583, -0.14450232684612274, -0.37259700894355774, -0.3011343777179718, -0.10919326543807983, 0.13738267123699188, 0.23401890695095062, 0.6501206755638123, 0.1322956383228302, 0.646291971206665, -0.672578752040863, 0.32653746008872986, 0.0488072969019413, 0.522629976272583, 0.3567691743373871, -0.6943544745445251, -0.41206812858581543, -0.20108456909656525, -0.21230871975421906, -0.4106532037258148, 0.10130108147859573, 0.301508367061615, 0.7161276936531067, 0.5423725843429565, 0.13232280313968658, 0.9410070776939392, -0.6322690844535828, 0.7448528409004211, -0.24041563272476196, -1.0682817697525024, -0.018637018278241158, -0.045690491795539856, 0.21233028173446655, 0.5835703015327454, 0.02622132934629917, -0.070559561252594, -0.5222247242927551, -0.48405495285987854, -0.8579874634742737, 0.4515608251094818, 0.3339337110519409, 0.2898983955383301, 0.014017115347087383, 0.40589237213134766, 0.08839080482721329, -0.17288394272327423, -0.5085120797157288, -0.3898829221725464, 0.445808082818985, -0.1608746349811554, -0.05094079673290253, -0.23517824709415436, 0.29161199927330017, -0.2155144065618515, 0.49619925022125244, -0.22667263448238373, 0.2794201970100403, -0.16196896135807037, -0.3108883798122406, 0.2613259553909302, 0.440525621175766, 0.44121575355529785, 0.8525838851928711, 0.02965969778597355, 0.30307021737098694, 0.4985547363758087, -0.28870975971221924, -0.27766844630241394, -0.043803516775369644, 0.20667457580566406, 0.04212890565395355, 0.6730692982673645, 0.7682368755340576, 0.6600971817970276, -0.9192194938659668, 0.44463059306144714, -0.22889591753482819, 0.04119165241718292, -0.18657533824443817, 0.3192560374736786, 0.22047670185565948, 0.507472813129425, 0.1776323914527893, -0.02289939671754837, 0.5332105755805969, -0.3535778522491455, 0.18583305180072784, 0.49667802453041077, -0.07308817654848099, -0.1055959090590477, 0.30730921030044556, 0.05834930017590523, -0.3558570146560669, 0.342510461807251, -0.13473470509052277, -0.3302421271800995, 0.6156600117683411, 0.4564723074436188, 0.7704529762268066, 0.023592719808220863, -0.23091258108615875, 0.20217663049697876, 0.13032536208629608, -0.21594907343387604, -0.2747999429702759, -0.17010851204395294, -0.6378220319747925, -0.9195139408111572, -0.8937056064605713, -0.332453191280365, 0.09596868604421616, -0.811640202999115, 0.34319135546684265, 0.2153577357530594, -0.12510453164577484, 0.2164580225944519, -0.03184257447719574, -0.694787323474884, -0.12515217065811157, 0.1433439552783966, 1.2127054929733276, -0.7933866381645203, 0.8550330996513367, 0.36991211771965027, 0.15894727408885956, -1.0135517120361328, 0.1849980354309082, -0.26950541138648987, -0.7946789860725403, 0.5543542504310608, 0.06857619434595108, -0.46759679913520813, -0.02613881044089794, -0.3777731657028198, -0.5238227844238281, 0.8908721804618835, 0.5155423283576965, -0.7270979285240173, 0.029432451352477074, 0.0861542820930481, 0.6523118615150452, -0.12060417979955673, 0.8124755024909973, 1.31106698513031, 0.6639447808265686, -0.03446714207530022, -0.9788551926612854, -0.16250137984752655, -0.04963051155209541, 0.3891296684741974, 0.35887250304222107, -0.24255596101284027, 0.49208614230155945, -0.14772991836071014, -0.08053013682365417, 0.3244958221912384, 0.6499331593513489, 0.019851217046380043, 0.22576995193958282, 0.6409626603126526, 0.5186748504638672, 0.5524640679359436, -0.043161094188690186, 1.425508975982666, -0.5079428553581238, 0.7874007821083069, 0.8628354668617249, 0.04519560933113098, 0.8116323947906494, 0.43990179896354675, -0.46630337834358215, 0.3478715121746063, 0.2671147584915161, -0.0462043397128582, 0.3056087791919708, 0.36734843254089355, -0.21318577229976654, -0.24448122084140778, 0.08410907536745071, 0.0991729125380516, 0.3630948066711426, 0.41925016045570374, -0.3422568142414093, -0.41969260573387146, -0.12087730318307877, 0.19980435073375702, 0.01185272354632616, -0.3434387147426605, 0.7041329741477966, 0.14820332825183868, -0.6232554316520691, 0.6799628734588623, 0.11390916258096695, 0.8579923510551453, -0.4448128640651703, 0.027259396389126778, -0.24114428460597992, 0.5552905201911926, -0.3821851909160614, -0.7539086937904358, 0.5230163931846619, 0.32125213742256165, 0.0032282297033816576, 0.09678436070680618, 0.7462099194526672, -0.1037554144859314, -0.37873575091362, 0.4281270205974579, 0.3751671314239502, 0.487961083650589, -0.01689041033387184, -0.6135828495025635, 0.3419252932071686, -0.023369817063212395, -0.43802034854888916, 0.2101181149482727, 0.5014617443084717, 0.10801071673631668, 0.5962879061698914, 0.43772637844085693, 0.033545054495334625, 0.041708022356033325, 0.4784383773803711, 0.758784294128418, -0.3415661156177521, -0.025256501510739326, -1.1984127759933472, 0.5279887914657593, -0.011001579463481903, -0.23443818092346191, 0.9211098551750183, 0.5892394185066223, 0.6968145370483398, -0.1551429182291031, 0.5167244076728821, -0.14993415772914886, 0.2362905889749527, -0.6945247650146484, 0.4259962737560272, -0.4963257610797882, 0.624904215335846, -0.46805331110954285, -1.0218636989593506, -0.3688753545284271, 0.6552583575248718, -0.4993188679218292, 0.04511051997542381, 0.6281065940856934, 1.0650404691696167, -0.3975190222263336, -0.021530529484152794, 0.4959452152252197, 0.2753443121910095, 0.34970822930336, 0.3251672089099884, 0.7684308886528015, -0.31618010997772217, 0.544381856918335, -0.4621312618255615, -0.31068935990333557, -0.2545015215873718, -1.185350775718689, -1.0070489645004272, -0.24675555527210236, -0.0690682977437973, -0.24997830390930176, -0.15449117124080658, 0.8842048048973083, 0.6251992583274841, -0.718029797077179, -0.4799156188964844, -0.06688089668750763, -0.009680713526904583, -0.23751908540725708, -0.2069290280342102, 0.504073441028595, -0.5268695950508118, -1.1223244667053223, 0.2838747799396515, 0.028176764026284218, -0.44169846177101135, -0.25158941745758057, -0.06883171200752258, 0.18562346696853638, 0.23919694125652313, 0.8886570334434509, -0.1452653408050537, -0.8053780198097229, -0.29346963763237, -0.11801278591156006, -0.18014024198055267, -0.07831286638975143, 0.989091157913208, -0.7229496836662292, 0.07245079427957535, 0.5292031168937683, 0.8908562660217285, 0.42215022444725037, 0.1273096352815628, 0.4817497730255127, -0.49585747718811035, -0.048851415514945984, -0.005531822796911001, 0.47861769795417786, 0.1278856247663498, -0.09823527932167053, 0.6794878840446472, -0.2559708058834076, -0.7760117053985596, -0.8926520943641663, 0.04576483368873596, -0.9160054326057434, -0.4244956076145172, 1.5481606721878052, -0.3541686236858368, -0.15767939388751984, -0.14228828251361847, -0.15565602481365204, 0.25066450238227844, -0.4084317982196808, 0.5246570110321045, 0.39588913321495056, -0.195278599858284, 0.009381942451000214, -0.9938170909881592, 0.21541328728199005, 0.35941430926322937, -0.8771398067474365, 0.28720858693122864, 0.4650987684726715, 0.18597005307674408, 0.1151372492313385, 0.10178815573453903, 0.0811128243803978, -0.09368258714675903, -0.13363251090049744, -0.024360308423638344, 0.07637389749288559, -0.1567295342683792, -0.7275440692901611, -0.03230559453368187, 0.30049270391464233, 0.3873169422149658 ]
http://arxiv.org/abs/2404.11500v1
http://arxiv.org/pdf/2404.11500v1
Paraphrase and Solve: Exploring and Exploiting the Impact of Surface Form on Mathematical Reasoning in Large Language Models
2024-04-17T15:53:49
2024-04-17T15:53:49
Yue Zhou, Yada Zhu, Diego Antognini, Yoon Kim, Yang Zhang
cs.CL
cs.CL, cs.AI
This paper studies the relationship between the surface form of a mathematical problem and its solvability by large language models. We find that subtle alterations in the surface form can significantly impact the answer distribution and the solve rate, exposing the language model's lack of robustness and sensitivity to the surface form in reasoning through complex problems. To improve mathematical reasoning performance, we propose Self-Consistency-over-Paraphrases (SCoP), which diversifies reasoning paths from specific surface forms of the problem. We evaluate our approach on four mathematics reasoning benchmarks over three large language models and show that SCoP improves mathematical reasoning performance over vanilla self-consistency, particularly for problems initially deemed unsolvable. Finally, we provide additional experiments and discussion regarding problem difficulty and surface forms, including cross-model difficulty agreement and paraphrasing transferability, and Variance of Variations (VOV) for language model evaluation.
[ -0.06178846210241318, -0.7803747653961182, 1.211446762084961, 0.7254850268363953, 0.005676387809216976, -0.07459412515163422, -0.16861118376255035, -0.1556423455476761, -0.11298906803131104, 0.7273392081260681, -0.057973042130470276, -0.16649752855300903, -0.778126060962677, 0.039016999304294586, -0.2413731813430786, 0.6579471826553345, -0.4356918931007385, 0.0965980589389801, -1.0736854076385498, -0.1702227145433426, -0.0890028178691864, -0.7405186295509338, -0.27780017256736755, -0.15435676276683807, 0.1823129504919052, 0.4226644039154053, 0.9694640636444092, 0.6087953448295593, 0.758446216583252, 0.3596346080303192, -0.230006143450737, 0.014786950312554836, -0.17863793671131134, 0.719354510307312, -0.4597015380859375, -0.613228440284729, 0.009722292423248291, -0.30526700615882874, 0.5436477661132812, 0.9657634496688843, -0.4740769863128662, -0.03317819908261299, 0.12653803825378418, 0.4679710566997528, -0.6416530013084412, 0.5331813097000122, -0.5746529698371887, -0.42347511649131775, -0.26720839738845825, -0.003162091365084052, -0.267141193151474, -0.23604655265808105, 0.0690947100520134, -0.6732997298240662, 0.01896052248775959, -0.40594610571861267, 0.4196588397026062, 0.2122482806444168, -0.06312894821166992, -0.34492090344429016, -0.7139761447906494, 0.9425535202026367, -0.9371808171272278, 0.2569931745529175, 0.3780510723590851, 0.4865613281726837, -0.24526634812355042, -0.808051586151123, -0.2868817150592804, -0.37643590569496155, 0.13136334717273712, -0.13987553119659424, -0.39849987626075745, -0.2447921484708786, 0.41600722074508667, 0.08967597782611847, -0.3478691279888153, -0.5260034203529358, -0.49339428544044495, -0.22546790540218353, 0.7120013236999512, 0.0791221484541893, 0.7629727721214294, -0.14070342481136322, 0.08078987896442413, 0.1272752285003662, -0.7449114322662354, 0.39782044291496277, -0.04380396008491516, 0.33519867062568665, 0.2477642446756363, 0.6856405138969421, -0.2531980276107788, 0.6245031952857971, -0.5531994104385376, -0.2539682984352112, 0.0064939577132463455, -0.07537679374217987, 0.038117628544569016, -0.3382207453250885, 0.34458157420158386, 0.053743090480566025, 0.172943115234375, -0.1246296614408493, -0.15716107189655304, -0.15719009935855865, -0.1076478436589241, -0.5952913165092468, -0.1996181309223175, -0.1581588238477707, -0.36936628818511963, 0.10833016037940979, 0.017714109271764755, -0.5065116882324219, -0.2931085526943207, -0.6577309370040894, 0.6494801640510559, -0.53704434633255, -0.26255837082862854, 0.43050289154052734, -0.19791965186595917, -0.11487314105033875, 0.8087191581726074, -0.5259534120559692, 0.4294680655002594, 0.8034168481826782, 0.8377821445465088, -0.054710324853658676, -0.395174503326416, -0.5318797826766968, 0.2714383602142334, -0.2733736038208008, 0.9879376888275146, -0.8468583226203918, -0.3865028917789459, -0.26740533113479614, -0.3406994342803955, -0.30955275893211365, -0.6828019022941589, 0.6881685853004456, 0.16892525553703308, 0.2654375731945038, -0.5152024626731873, -0.37592607736587524, 0.013156992383301258, -0.13004079461097717, -0.4645116329193115, 1.0353881120681763, 0.02442947030067444, -0.3579808175563812, -0.3362620174884796, -0.5466580986976624, -0.4495779275894165, -0.11401979625225067, -0.20998041331768036, -0.270027220249176, 0.7788465023040771, 0.3266899287700653, 0.13324429094791412, -0.31875234842300415, 0.2557762563228607, -0.6117745637893677, -0.06379515677690506, 0.3650875985622406, -0.3105618357658386, 0.7460921406745911, 0.41692104935646057, -0.33911940455436707, -0.26518237590789795, -0.641563892364502, 0.2157670110464096, 0.2400442659854889, 0.2235063910484314, -0.5056555271148682, 0.12510737776756287, -0.12619410455226898, 0.44764986634254456, 0.4814440608024597, -0.5811672210693359, 0.20282059907913208, -0.1390262395143509, 0.796018123626709, 0.45402202010154724, 0.11445344984531403, 0.2514124810695648, -0.22296802699565887, 0.5929943919181824, -0.08628997951745987, 0.08974165469408035, 0.08198799937963486, -0.8143714666366577, -0.423246830701828, -0.0938338041305542, 0.07918603718280792, 0.4671488106250763, -0.5922409892082214, -0.39243564009666443, -0.10929480940103531, -0.7675604224205017, -0.20669977366924286, 0.3561454713344574, 0.40598076581954956, 0.4038811922073364, 0.5506361722946167, 0.4822443127632141, -0.20395956933498383, -1.0983824729919434, -0.8513590693473816, 0.26778843998908997, -0.017429770901799202, 0.38023942708969116, 0.4017725884914398, 0.12384028732776642, 0.8455654382705688, -0.6086702346801758, 0.024632353335618973, -0.490041047334671, 0.22408665716648102, -0.06512607634067535, 0.47566327452659607, 0.6611338257789612, -0.6231853365898132, -0.6413570642471313, -0.22450987994670868, -0.8943201899528503, -0.4201541543006897, 0.20799490809440613, -0.16263121366500854, -0.08682786673307419, 0.8356825113296509, -0.9072205424308777, 0.5540657639503479, 0.2946392595767975, -0.3196587562561035, 0.24142974615097046, -0.5735266804695129, 0.1216689944267273, -0.6633836030960083, -0.08502735197544098, 0.036034420132637024, 0.09761583805084229, -0.36524030566215515, 0.08627664297819138, 0.008792277425527573, -0.7164294123649597, -0.3512299060821533, 0.479182630777359, -0.42539745569229126, -0.025315916165709496, -0.21536628901958466, 0.12231320142745972, 0.2837584912776947, 0.10709143429994583, -0.018907897174358368, 0.9887717366218567, 0.5828797221183777, -0.5707443356513977, 0.0011356764007359743, 0.1348593682050705, 0.0005655738059431314, 0.5605835914611816, -1.1346750259399414, 0.014157663099467754, -0.41363659501075745, 0.1353619396686554, -1.162370204925537, -0.16040955483913422, -0.17446674406528473, -0.2594005763530731, -0.11793296784162521, 0.023718876764178276, -0.2598099708557129, -0.07525285333395004, -0.19627752900123596, 0.6326039433479309, 0.33523446321487427, -0.20951837301254272, 0.9372034668922424, 0.2346351146697998, -0.645388126373291, -0.10032165795564651, -0.5232073068618774, 0.2750359773635864, -0.22374746203422546, -0.8887898921966553, 0.4977036714553833, -0.17187240719795227, -0.4362543225288391, -0.1495046317577362, -0.43390145897865295, -0.16165730357170105, 0.02209923416376114, 0.094092458486557, -0.2971101999282837, -0.18725556135177612, -0.0868815928697586, 0.3387622535228729, -0.11662452667951584, 0.34296077489852905, 0.05538731440901756, 0.48494017124176025, -0.2462998479604721, -0.38441571593284607, -0.4674472510814667, 0.5740492939949036, 0.8685311079025269, -0.5059022307395935, 0.46381375193595886, -0.37652483582496643, -0.6490993499755859, -0.014959186315536499, -0.28885290026664734, 0.1623568832874298, -0.41444990038871765, -0.01978810876607895, -1.025084376335144, -0.21653184294700623, 0.7197205424308777, 0.06657058745622635, -0.19168083369731903, 0.776114284992218, 0.27844664454460144, -0.14898952841758728, 1.2790849208831787, 0.329241544008255, 0.6155245900154114, 0.27448779344558716, -0.26521918177604675, 0.1687566488981247, -0.48379191756248474, -0.5280007123947144, -0.7139830589294434, -0.012088759802281857, -0.015216175466775894, -0.4426850378513336, 0.33370327949523926, 0.6510514616966248, -0.08617185801267624, 0.6353746652603149, -0.3692721426486969, 0.3990880846977234, 0.5383065938949585, 0.316371887922287, 0.29138636589050293, 0.04168526455760002, -0.07180201262235641, -0.5901731252670288, -0.6062950491905212, -0.45163097977638245, 0.9813153743743896, 0.17172132432460785, 0.667290449142456, 0.4097093939781189, 0.7571762800216675, 0.06589717417955399, 0.07736935466527939, -0.057578686624765396, 0.46901845932006836, -0.2224956899881363, -0.33859071135520935, -0.46553465723991394, -0.5094925761222839, -0.9715494513511658, 0.2108249068260193, 0.13750562071800232, -0.68426114320755, 0.1335422545671463, -0.04949015751481056, -0.10897166281938553, -0.013285228982567787, -0.4863947629928589, 1.1405333280563354, -0.3476516008377075, -0.2111196517944336, -0.23320087790489197, -0.36612939834594727, 0.009004883468151093, 0.26988324522972107, 0.5168168544769287, -0.15796588361263275, 0.0002600582374725491, 0.6458037495613098, -0.7299066781997681, 0.4608864486217499, -0.22501108050346375, -0.3336421847343445, 0.45059099793434143, 0.49543195962905884, 0.3978191614151001, 0.14589790999889374, -0.019746897742152214, 0.11055880784988403, 0.205661803483963, -0.7901676297187805, -1.3790664672851562, 0.712516725063324, -0.6772716641426086, -0.8348853588104248, -0.35908085107803345, -0.7165915369987488, -0.2847597002983093, 0.07142580300569534, 0.4050973951816559, 0.6452939510345459, 0.2846139967441559, 0.4098356068134308, 0.6263523101806641, -0.009713806211948395, 0.22616221010684967, 0.07784391194581985, -0.3876112401485443, -0.6610036492347717, 0.9725217819213867, 0.5654395818710327, 0.5259347558021545, 0.20634712278842926, 0.5384475588798523, -0.3365906774997711, -0.47955521941185, -0.34238293766975403, 0.38763588666915894, -0.8828399181365967, -0.17307157814502716, -0.6600810885429382, -0.3561709523200989, -0.4607871174812317, -0.07517000287771225, -0.467185378074646, -0.9573753476142883, 0.13711410760879517, 0.3124335706233978, 0.42189374566078186, 0.5280513763427734, -0.15458793938159943, 0.2397024929523468, -0.53970867395401, 0.3782392144203186, 0.27062469720840454, 0.09799143671989441, -0.31720343232154846, -0.7709346413612366, 0.2520269453525543, 0.3210606276988983, -0.13117212057113647, -0.8267475962638855, 0.03937608376145363, 0.2667534351348877, 1.0444018840789795, 0.08657215535640717, -0.03353727608919144, 0.6418222784996033, -0.42230358719825745, 0.5322660207748413, 0.07190772145986557, -1.447641372680664, 0.7999680638313293, -0.34803661704063416, 0.16270208358764648, 0.4380114674568176, 0.3429914712905884, -0.20068056881427765, -0.5103153586387634, -0.8756309747695923, -0.5337914824485779, 0.15251557528972626, 0.5614311695098877, 0.27539002895355225, 0.1269201785326004, 0.6662787199020386, 0.09067526459693909, 0.11551249772310257, -0.5944124460220337, -0.0329718142747879, -0.3331966996192932, -0.27563220262527466, -0.026295198127627373, -0.26380717754364014, -0.15110333263874054, -0.4686511158943176, 0.29908761382102966, 0.0984364002943039, 0.07260110974311829, 0.2107512205839157, -0.3769659399986267, -0.04027610644698143, 0.09438316524028778, 0.8761886954307556, 1.3015201091766357, 0.13831350207328796, 0.3536953628063202, 0.11211812496185303, -0.2265334576368332, -0.005243746098130941, 0.3309336006641388, -0.16852177679538727, 0.20875422656536102, 0.5383625626564026, 0.41121798753738403, 0.5078460574150085, -0.5883736610412598, 0.4455404579639435, 0.2488938868045807, -0.41966086626052856, 0.10102586448192596, 0.07288392633199692, 0.1444968730211258, 0.1432984620332718, 0.42981332540512085, 0.11500032991170883, 0.38800641894340515, -0.6492496132850647, 0.17130060493946075, 0.33339568972587585, 0.08631858229637146, -0.062227994203567505, 0.6966810822486877, -0.15250372886657715, -0.5922461152076721, 0.5630543828010559, 0.14152395725250244, -0.8211654424667358, 0.7189775109291077, 0.9082655310630798, 0.34736257791519165, -0.46015194058418274, 0.4271806478500366, 0.06066002696752548, -0.08833970874547958, -0.40561187267303467, 0.3513423502445221, -0.030844779685139656, -0.4237273335456848, -0.4580582082271576, -0.20010431110858917, -0.5750149488449097, 0.11558347195386887, -0.6373805999755859, 0.18120728433132172, -0.6457040905952454, 0.2614936828613281, 0.3265504837036133, -0.2905443608760834, -0.242435485124588, 0.1649089902639389, 0.11919457465410233, 0.6976801753044128, -0.8639305233955383, 0.2866553068161011, 0.7846135497093201, -0.6431800127029419, -0.7248635292053223, -0.1265685111284256, -0.4800403118133545, -0.7318015098571777, 0.6290958523750305, 0.2596983313560486, -0.2787007689476013, -0.06719936430454254, -0.5798697471618652, -1.4223264455795288, 0.6945691704750061, 0.8682658672332764, -0.19176273047924042, 0.0205690898001194, 0.28006184101104736, 0.5876456499099731, -0.21589137613773346, 0.20322342216968536, 0.28929057717323303, 0.3926367163658142, 0.21701815724372864, -1.1248865127563477, 0.16356134414672852, -0.2207135409116745, 0.27988293766975403, 0.1608908623456955, -0.4068002998828888, 1.1165211200714111, -0.1146085262298584, 0.04909243434667587, 0.13382579386234283, 0.9090664386749268, 0.6658051013946533, 0.54526287317276, 0.2391253411769867, 0.685904324054718, 0.470467746257782, -0.05596330761909485, 0.8573065400123596, -0.2591342329978943, 0.6070385575294495, 0.8298109173774719, -0.19746513664722443, 0.9291248321533203, 0.5421115756034851, -0.4304219186306, 0.7475824952125549, 0.22892217338085175, 0.4199480712413788, 0.6313374042510986, 0.3947426378726959, -0.20350924134254456, -0.7816182971000671, 0.3657459020614624, -0.6748165488243103, 0.5623723268508911, 0.40028616786003113, -0.02552844025194645, -0.8922236561775208, 0.4801505208015442, 0.12067566066980362, 0.9050953984260559, -0.33826956152915955, 0.27867209911346436, 0.23655147850513458, -0.631741464138031, 0.5748171806335449, 0.11159784346818924, -0.11648200452327728, -0.33704426884651184, -0.39457419514656067, -0.339476078748703, 0.24565763771533966, -0.18071825802326202, -0.9026772379875183, 0.5366485714912415, -0.4335443377494812, -0.09606210887432098, -0.25853824615478516, 0.6168645620346069, -0.40982505679130554, -0.8609331846237183, 0.06509330123662949, 0.666780412197113, 0.3443388044834137, -0.6148660778999329, -0.914026141166687, 0.16119834780693054, -0.1606038361787796, -0.14702598750591278, 0.18641774356365204, 0.9433450102806091, -0.3624023199081421, 0.904042661190033, 0.6720144152641296, -0.32439014315605164, 0.05378475785255432, -0.0789417251944542, 0.7389417886734009, -0.6690766215324402, -0.37767860293388367, -0.93039470911026, 0.41259288787841797, -0.3285773694515228, -0.502557635307312, 0.9080088138580322, 0.8626025915145874, 0.2760534882545471, -0.09372801333665848, 0.7244371771812439, 0.0715021938085556, 0.6681936383247375, -0.4922425150871277, 0.28758513927459717, -0.4312869906425476, 0.18893283605575562, -0.44749966263771057, -1.137927770614624, -0.5129793882369995, 0.9961785078048706, -0.7947798371315002, 0.0005375855253078043, 0.6610231399536133, 0.2791154980659485, -0.29541388154029846, -0.21354307234287262, 0.19622725248336792, -0.02943677082657814, 0.43993645906448364, 0.5033009052276611, 0.79818195104599, -0.3803267478942871, 0.7010986804962158, -0.43262141942977905, -0.2425476312637329, -0.172721266746521, -0.8562014698982239, -0.6997492909431458, -0.44734007120132446, -0.4892376661300659, -0.7518804669380188, 0.03944368287920952, 0.44148990511894226, 0.22643312811851501, -0.7243428826332092, -0.14680209755897522, -0.659591794013977, 0.08221039921045303, -0.30158481001853943, -0.2616218030452728, 0.46741732954978943, -0.7438338994979858, -0.6336471438407898, 0.30286017060279846, 0.31108322739601135, -0.037047769874334335, -0.15081624686717987, 0.12039269506931305, 0.165662944316864, 0.34367164969444275, 0.5055112838745117, 0.4812908470630646, -0.8279054760932922, -0.2588711380958557, 0.2737462818622589, -0.22220644354820251, 0.0349259153008461, 1.0707061290740967, -0.4567258656024933, 0.16023719310760498, 0.45874372124671936, 0.6989940404891968, 0.69710373878479, 0.1612306833267212, 0.8323624730110168, 0.02852076105773449, -0.05522829294204712, 0.2004755735397339, 0.5922310948371887, 0.19521977007389069, -0.3263118863105774, 0.14473377168178558, 0.4440644085407257, -0.4390524923801422, -0.916232168674469, 0.3473338484764099, -0.8855406045913696, -0.7412582039833069, 1.065285325050354, -0.21507440507411957, -0.21861109137535095, 0.04142484441399574, -0.37174275517463684, -0.19199976325035095, -0.08528456091880798, 0.6392754912376404, 1.0464614629745483, -0.5130608677864075, -0.4275013208389282, -0.4812670052051544, 0.5772445201873779, 0.7998515963554382, -0.8431140184402466, 0.2515316605567932, 0.2647882103919983, 0.659188449382782, 0.34842467308044434, 0.31802433729171753, -0.24360105395317078, 0.3304736018180847, -0.05870700255036354, -0.3475548326969147, -0.12467554211616516, -0.4837908446788788, -0.1710832417011261, 0.11877915263175964, 0.020803529769182205, 0.09003666043281555 ]
http://arxiv.org/abs/2404.11499v1
http://arxiv.org/pdf/2404.11499v1
A Data-Driven Representation for Sign Language Production
2024-04-17T15:52:38
2024-04-17T15:52:38
Harry Walsh, Abolfazl Ravanshad, Mariam Rahmani, Richard Bowden
cs.CL
cs.CL, cs.AI
Phonetic representations are used when recording spoken languages, but no equivalent exists for recording signed languages. As a result, linguists have proposed several annotation systems that operate on the gloss or sub-unit level; however, these resources are notably irregular and scarce. Sign Language Production (SLP) aims to automatically translate spoken language sentences into continuous sequences of sign language. However, current state-of-the-art approaches rely on scarce linguistic resources to work. This has limited progress in the field. This paper introduces an innovative solution by transforming the continuous pose generation problem into a discrete sequence generation problem. Thus, overcoming the need for costly annotation. Although, if available, we leverage the additional information to enhance our approach. By applying Vector Quantisation (VQ) to sign language data, we first learn a codebook of short motions that can be combined to create a natural sequence of sign. Where each token in the codebook can be thought of as the lexicon of our representation. Then using a transformer we perform a translation from spoken language text to a sequence of codebook tokens. Each token can be directly mapped to a sequence of poses allowing the translation to be performed by a single network. Furthermore, we present a sign stitching method to effectively join tokens together. We evaluate on the RWTH-PHOENIX-Weather-2014T (PHOENIX14T) and the more challenging Meine DGS Annotated (mDGS) datasets. An extensive evaluation shows our approach outperforms previous methods, increasing the BLEU-1 back translation score by up to 72%.
[ -0.007138637825846672, 0.25268810987472534, 0.3524358868598938, 0.05823375657200813, -0.6145827770233154, 0.1416253000497818, 0.08952087163925171, -0.31315508484840393, 0.4012831151485443, 0.49884289503097534, -0.5864631533622742, -0.9098083972930908, -0.5487060546875, 0.0869150161743164, -0.41550734639167786, 0.7155654430389404, 0.0381794311106205, -0.020957963541150093, 0.10708461701869965, -0.3829997777938843, -0.3888694643974304, -0.6223796010017395, -0.5593544244766235, -0.22699128091335297, 0.14232803881168365, 0.21576495468616486, 0.9623795747756958, 0.867560088634491, 0.2496853768825531, 0.24895469844341278, 0.23132947087287903, 0.31658557057380676, -0.21706977486610413, 0.22589045763015747, 0.26334160566329956, -0.14168260991573334, -0.37074771523475647, -0.08814667910337448, 0.9021204113960266, 0.7746638655662537, 0.1350921094417572, 0.18139305710792542, -0.3952201008796692, 0.5679692625999451, -0.3196530044078827, 0.13574597239494324, -0.3758002817630768, 0.2916980981826782, -0.5032962560653687, 0.04456367343664169, -0.45604923367500305, -0.4039398431777954, -0.2825813293457031, -0.6759719848632812, -0.020491452887654305, 0.059351444244384766, 0.7398656010627747, 0.3362123370170593, -0.4087423086166382, -0.0932462215423584, -0.911676287651062, 0.5634818077087402, -0.8834946155548096, 0.4133554697036743, 0.022206494584679604, 0.42021626234054565, -0.2646404504776001, -0.7585933804512024, -0.7536334991455078, 0.02928251028060913, -0.17578579485416412, 0.06758397817611694, 0.21465156972408295, -0.051908183842897415, 0.5507534146308899, 0.4469332993030548, -0.763534665107727, 0.03073815256357193, -0.30144304037094116, -0.2918313443660736, 1.0291786193847656, 0.17822985351085663, 0.4820026457309723, -0.3596750795841217, -0.4630031883716583, -0.5250213146209717, -0.7363712787628174, -0.08719636499881744, 0.17006726562976837, 0.5863656401634216, -0.10491648316383362, 0.7315530776977539, -0.0728108212351799, 0.7311469912528992, -0.0856466144323349, -0.09152510017156601, 0.18784689903259277, -0.08304914832115173, -0.10421021282672882, 0.04361996427178383, 0.9903548955917358, 0.19728344678878784, 0.23086106777191162, 0.10361652076244354, -0.3313295841217041, 0.10383658856153488, -0.1516011506319046, -0.5516150593757629, -0.1913270801305771, 0.3062945008277893, -0.01649230159819126, -0.06180737540125847, 0.21038444340229034, -0.4963901937007904, -0.5578818321228027, -0.531784176826477, 0.2882215082645416, -0.4982143044471741, -0.2994636297225952, 0.1265747994184494, -0.05613452568650246, 0.453742116689682, 0.017307566478848457, -0.7968215346336365, 0.11094244569540024, 0.6117782592773438, 0.8473125696182251, -0.1621866524219513, 0.11957276612520218, -0.5457939505577087, 0.24058157205581665, -0.528569221496582, 0.2646508812904358, -0.327372282743454, -0.4328160583972931, 0.13287177681922913, -0.3584508001804352, -0.017035573720932007, -0.4421335756778717, 0.2765996754169464, -0.3266199231147766, 0.1662483960390091, -0.03747893497347832, -0.5622740983963013, 0.04228277504444122, -0.1838504821062088, -0.7168744206428528, 1.1829665899276733, 0.37196868658065796, -0.2522881329059601, 0.5298078060150146, -0.288851261138916, -0.5185117721557617, 0.6034618616104126, -0.6584057807922363, -0.6202502250671387, -0.03926008939743042, 0.08069663494825363, 0.4656810462474823, 0.055104635655879974, -0.04629146680235863, 0.15026335418224335, -0.2243223786354065, 0.3534311056137085, 0.16057884693145752, 0.5507631301879883, 0.1469796597957611, -0.5135589241981506, 0.09946960210800171, -1.0457749366760254, 0.1455506682395935, 0.10077957808971405, -0.2417932003736496, -0.3203771710395813, -0.25212258100509644, -0.07139871269464493, 0.4619963765144348, 0.04684893414378166, -0.46815523505210876, 0.2717296779155731, -0.380404531955719, 0.21997389197349548, 0.4965987205505371, 0.0653974786400795, 0.3826102316379547, -0.10242825746536255, 0.6978240609169006, 0.09250563383102417, 0.12716305255889893, -0.31748655438423157, -0.5797529816627502, -0.7639583945274353, -0.23910841345787048, 0.26642853021621704, 0.3809451162815094, -0.8694856762886047, 0.2843870222568512, -0.41264697909355164, -0.2804874777793884, -0.5174140334129333, -0.19354476034641266, 0.6629348397254944, 0.11035531014204025, 0.16625253856182098, -0.6142253279685974, -0.5889720916748047, -0.45514506101608276, 0.07644353806972504, -0.18564042448997498, -0.2055654674768448, -0.3115882873535156, 0.08359368145465851, 0.14883270859718323, 0.6261125206947327, -0.4187606871128082, -0.37231525778770447, 0.22686627507209778, 0.16970665752887726, 0.45292943716049194, 0.627338171005249, 0.43306922912597656, -0.8600285649299622, -0.408735066652298, 0.26762229204177856, -0.5981948375701904, -0.03679618239402771, -0.6015294194221497, -0.3406810164451599, 0.36764973402023315, 0.5780846476554871, -0.6772661209106445, 0.3763327896595001, 0.643625795841217, -0.4209577739238739, 0.4487621486186981, 0.22448091208934784, 0.04961283132433891, -0.9146855473518372, 0.05890088900923729, -0.057886794209480286, -0.5619750618934631, -0.5629093647003174, 0.09006208926439285, -0.24209119379520416, -0.7759621143341064, -0.569030225276947, 0.3739790916442871, -0.593424379825592, -0.5075014233589172, -0.10923191159963608, 0.37051892280578613, -0.13436739146709442, 0.5460248589515686, 0.07055479288101196, 0.4770568013191223, 0.523986279964447, -0.6653915643692017, 0.44636282324790955, 0.4216514229774475, -0.026148337870836258, 0.4465154707431793, -0.40534719824790955, 0.3418605625629425, -0.04804679751396179, 0.0058280653320252895, -0.8403773903846741, -0.161055326461792, 0.6458664536476135, -0.525961697101593, 0.5938244462013245, -0.1907745599746704, -0.32502639293670654, -0.4640873968601227, -0.027358336374163628, 0.30176982283592224, 0.80199134349823, -0.4913337230682373, 0.5880797505378723, 0.35150524973869324, 0.028206223621964455, -0.2559052109718323, -0.5896322131156921, 0.1374102681875229, -0.18064753711223602, -0.6447774767875671, 0.3503500819206238, 0.16465461254119873, -0.15173104405403137, -0.2948746085166931, -0.38170766830444336, 0.23989011347293854, -0.4132983386516571, 0.28023868799209595, 0.04536396637558937, -0.27697548270225525, 0.1785157322883606, -0.17502173781394958, -0.45362722873687744, -0.16824761033058167, -0.6043808460235596, 0.3992096185684204, 0.13143335282802582, -0.5476315021514893, -0.5295853018760681, 0.43997520208358765, 0.8010319471359253, -0.18010598421096802, 0.4520494043827057, 0.4090191423892975, -0.5427442193031311, -0.4637944996356964, 0.1716846078634262, 0.052013322710990906, -0.47522810101509094, -0.11698958277702332, -0.4481769800186157, -0.6352348327636719, 0.3199528157711029, -0.4210626780986786, 0.4356330335140228, 0.4716579020023346, 0.3244316279888153, -0.014068915508687496, 0.9444149732589722, 0.33195239305496216, 0.24491040408611298, 0.4355746805667877, -0.3195227086544037, 0.22364003956317902, -0.4329186677932739, -0.14703090488910675, -0.24188008904457092, -0.3111170828342438, -0.40265536308288574, -0.7472970485687256, 0.39581429958343506, 0.22353164851665497, -0.1861594170331955, 0.8207894563674927, -0.845485270023346, -0.04516654834151268, 0.5711838006973267, 0.024949893355369568, 0.33862772583961487, -0.0890720784664154, 0.03822267800569534, -0.1742330938577652, -0.5233616828918457, -0.7842031717300415, 0.9202103018760681, 0.11122892051935196, 0.24980570375919342, 0.24911974370479584, 1.0140831470489502, 0.36504828929901123, 0.18532225489616394, -0.6630679965019226, 0.7834652066230774, -0.27022093534469604, -0.08963850885629654, -0.6286199688911438, -0.2020484060049057, -0.7760863304138184, 0.2868496775627136, -0.3556150496006012, -0.4015096127986908, 0.15739396214485168, 0.3310531675815582, -0.2424023449420929, -0.1255127489566803, -0.5508527755737305, 0.7175905108451843, -0.29026779532432556, 0.039921678602695465, 0.14433865249156952, -0.6001099944114685, 0.41342055797576904, -0.24722833931446075, 0.3441583812236786, -0.19233717024326324, 0.18322880566120148, 0.6150844097137451, -0.8455997705459595, 0.9453229308128357, -0.22899308800697327, -0.27297765016555786, 0.41147246956825256, 0.0895567312836647, 0.5918055176734924, -0.15186262130737305, -0.22469231486320496, -0.06433003395795822, 0.08454862236976624, -0.4316091537475586, -0.6475324034690857, 0.31094247102737427, -0.42065510153770447, -0.36128461360931396, -0.4975261390209198, -0.21604761481285095, -0.0281966719776392, 0.09656094759702682, 0.1645175963640213, 0.4291788637638092, -0.1211228147149086, -0.4478081464767456, 0.37938886880874634, -0.07337204366922379, 0.4180290699005127, 0.17790232598781586, -0.36297789216041565, -0.5616152286529541, 0.8577157258987427, 0.029761087149381638, 0.36165356636047363, 0.26797357201576233, 0.2300630658864975, -0.27356353402137756, -0.5563883781433105, -0.6123412251472473, 0.3258090913295746, -0.8067072629928589, -0.35852065682411194, -0.017591344192624092, -0.10115548968315125, -0.596603512763977, -0.09829304367303848, -0.2541728913784027, -0.8694663047790527, 0.034859225153923035, -0.134319469332695, 0.6201464533805847, 0.6867082118988037, -0.44512444734573364, 0.5011231303215027, -0.7038134932518005, 0.5064078569412231, 0.3524888753890991, 0.057881757616996765, -0.37336912751197815, -0.12930209934711456, -0.29210594296455383, 0.0029362922068685293, -0.27531445026397705, -0.8226352334022522, 0.30222848057746887, 0.49362313747406006, 0.23449362814426422, 0.30838578939437866, 0.4545787274837494, 0.6065478920936584, -0.3821278214454651, 0.8430119752883911, 0.5311613082885742, -1.0783700942993164, 0.6055542826652527, -0.4684787690639496, 0.2167646735906601, 0.11345158517360687, 0.33007320761680603, -0.9142117500305176, -0.529800534248352, -0.6753702759742737, -1.0754659175872803, 0.49041247367858887, 0.46525338292121887, -0.024009859189391136, -0.17999444901943207, 0.41132956743240356, 0.024986762553453445, 0.02787543274462223, -0.6921030879020691, -0.20631727576255798, -0.34518441557884216, -0.40095385909080505, 0.11647673696279526, 0.18464317917823792, -0.10795295238494873, -0.09572583436965942, 0.8486197590827942, -0.20591580867767334, 0.07689535617828369, 0.12470747530460358, 0.042043864727020264, -0.2063809335231781, -0.15132464468479156, 0.6314563155174255, 0.5131458640098572, 0.34344011545181274, 0.11971025168895721, -0.2352716028690338, -0.4323517084121704, 0.17349755764007568, -0.0020202817395329475, -0.3623093366622925, 0.5733305215835571, 0.3307052552700043, 0.9846729636192322, 0.023027298972010612, -0.47718697786331177, 0.4914006292819977, 0.3684968054294586, -0.02049212157726288, -0.6445208191871643, -0.11560606956481934, -0.07548654079437256, 0.23580680787563324, 0.3520316183567047, -0.24782073497772217, -0.26966843008995056, -0.29842787981033325, 0.5784949660301208, 0.12592993676662445, -0.2028258591890335, -0.35928070545196533, 0.8349209427833557, 0.2069171667098999, -0.6308773756027222, 0.5547963380813599, -0.2746126353740692, -0.4143913984298706, 0.5551791787147522, 0.42400434613227844, 0.7174046635627747, -0.3963508605957031, 0.46200400590896606, 0.6584587693214417, 0.06269465386867523, -0.0027812968473881483, 0.5213324427604675, -0.03811177238821983, -0.46985772252082825, -0.6021572947502136, -0.6843379139900208, -0.5261147022247314, -0.09321380406618118, -0.5147961378097534, 0.5417659878730774, -0.5598180294036865, -0.211848184466362, -0.16921573877334595, -0.23554076254367828, -0.6454453468322754, 0.45417866110801697, 0.6920427083969116, 0.3753219246864319, -1.0517500638961792, 0.6580586433410645, 0.5286697149276733, -0.6822769641876221, -0.8020586967468262, -0.055440086871385574, 0.0012453467352315784, -0.939138650894165, 0.5571584105491638, 0.02840552106499672, -0.011871572583913803, 0.3015367090702057, -0.2858597934246063, -0.9129204750061035, 0.9720108509063721, 0.38341405987739563, -0.7551817893981934, 0.2718633711338043, 0.6956390142440796, 0.5472601056098938, -0.2684948146343231, -0.5077228546142578, 0.609440803527832, 0.4230524003505707, 0.41757652163505554, -0.5949324369430542, 0.39705175161361694, -0.006831247825175524, 0.2730671167373657, 0.5602558255195618, -0.30256879329681396, 0.2429322749376297, -0.043105415999889374, -0.8900437951087952, 0.15804342925548553, 0.9481343626976013, 0.6597264409065247, 0.24473464488983154, 0.27704155445098877, 0.6042918562889099, 0.8768037557601929, -0.24668124318122864, 0.7852139472961426, -0.2567467987537384, 0.1842765063047409, 0.8400763869285583, -0.12297708541154861, 0.7068011164665222, 0.4993167817592621, -0.42755964398384094, 0.4606415927410126, 0.5025883913040161, 0.11744628846645355, 0.286722332239151, 0.9126617312431335, -0.5375842452049255, -0.20522458851337433, 0.022785799577832222, -0.06361587345600128, 0.3007194995880127, 0.41482076048851013, -0.27215129137039185, 0.004324277397245169, 0.2713625729084015, -0.018349282443523407, 0.5740224719047546, -0.19665032625198364, 0.6056302189826965, 0.4573965072631836, -0.37380728125572205, 0.7657357454299927, -0.2242455780506134, 0.4034367501735687, -0.6163742542266846, -0.19429484009742737, -0.17771919071674347, -0.06448092311620712, -0.2394201159477234, -0.6890549063682556, 0.583938717842102, -0.3523782789707184, 0.14040105044841766, -0.6693044304847717, 0.36519405245780945, -0.51161789894104, -0.4755387604236603, -0.11970566213130951, 0.04491304233670235, 0.5464553833007812, 0.29907485842704773, -0.30843114852905273, 0.3163470923900604, -0.09399856626987457, 0.013796960934996605, -0.0040366374887526035, 0.7052963376045227, -0.31196239590644836, 0.2782362401485443, 0.5354873538017273, 0.10416341572999954, 0.5001968145370483, 0.2975829839706421, 0.5408570170402527, -0.7487429976463318, -0.4198266863822937, -0.35286059975624084, 0.9117166996002197, -0.14016717672348022, -0.5181483030319214, 0.5156871676445007, 0.3736676275730133, 0.7848766446113586, -0.13751742243766785, 0.8370020985603333, -0.18554478883743286, 0.26424261927604675, -0.6900246143341064, 0.5143342018127441, -0.0031302152201533318, -0.016043763607740402, -0.3877917230129242, -0.8335975408554077, -0.7110405564308167, 0.4073089361190796, 0.10772610455751419, -0.3408896028995514, 0.5877423286437988, 0.4447430968284607, 0.2446783035993576, -0.3581722378730774, 0.5440957546234131, -0.2952779233455658, 0.3839588761329651, 0.6878259778022766, 0.4240554869174957, -0.9590750336647034, 0.6446185111999512, -0.15658782422542572, -0.15084189176559448, 0.21538807451725006, -0.9697232246398926, -0.584461510181427, -1.046866774559021, -0.9454252123832703, -0.3767143487930298, -0.16914622485637665, 0.6610352993011475, 0.6932886838912964, -0.8468908667564392, -0.1521221548318863, -0.17964445054531097, -0.08317394554615021, -0.525658369064331, -0.19147957861423492, 0.5783557295799255, -0.18516115844249725, -0.813641369342804, 0.47139009833335876, 0.1843998283147812, 0.3765696585178375, -0.2744266986846924, -0.277396559715271, 0.17916877567768097, -0.08396347612142563, 0.6241938471794128, 0.7998985648155212, -0.4792022109031677, -0.48379841446876526, -0.367487370967865, -0.061978232115507126, 0.06763351708650589, 0.8465477228164673, -0.7793099284172058, 0.3271026611328125, 0.4210611581802368, 0.5074692964553833, 0.735434353351593, 0.03061974234879017, 0.9406299591064453, -1.2697924375534058, 0.16915225982666016, 0.41619616746902466, 0.15772321820259094, 0.633083164691925, -0.48807865381240845, 0.4783153235912323, 0.37225624918937683, -0.177700474858284, -0.5446621775627136, 0.7631115913391113, -1.075485110282898, 0.0008336210739798844, 1.019983172416687, -0.021910781040787697, -0.23145094513893127, -0.12401292473077774, -0.09559140354394913, 0.5633601546287537, -0.09561598300933838, 0.4564649760723114, 0.20147646963596344, -0.13598549365997314, -0.3337216377258301, -0.11070520430803299, 0.6395837068557739, 0.07586073130369186, -0.4714125096797943, 0.1242043599486351, 0.6361719965934753, -0.20749008655548096, 0.4395841062068939, 0.871576189994812, -0.3587327003479004, 0.1538473665714264, 0.04883648082613945, 0.5294326543807983, 0.05641196668148041, 0.0072012958116829395, -0.3493266999721527, -0.01101730391383171, 0.1965593546628952, -0.7583720684051514 ]
http://arxiv.org/abs/2404.11470v1
http://arxiv.org/pdf/2404.11470v1
A Federated Learning Approach to Privacy Preserving Offensive Language Identification
2024-04-17T15:23:12
2024-04-17T15:23:12
Marcos Zampieri, Damith Premasiri, Tharindu Ranasinghe
cs.CL
cs.CL, cs.LG
The spread of various forms of offensive speech online is an important concern in social media. While platforms have been investing heavily in ways of coping with this problem, the question of privacy remains largely unaddressed. Models trained to detect offensive language on social media are trained and/or fine-tuned using large amounts of data often stored in centralized servers. Since most social media data originates from end users, we propose a privacy preserving decentralized architecture for identifying offensive language online by introducing Federated Learning (FL) in the context of offensive language identification. FL is a decentralized architecture that allows multiple models to be trained locally without the need for data sharing hence preserving users' privacy. We propose a model fusion approach to perform FL. We trained multiple deep learning models on four publicly available English benchmark datasets (AHSD, HASOC, HateXplain, OLID) and evaluated their performance in detail. We also present initial cross-lingual experiments in English and Spanish. We show that the proposed model fusion approach outperforms baselines in all the datasets while preserving privacy.
[ -0.1529121696949005, -0.9460912346839905, -0.016619006171822548, 0.1548113226890564, -0.009539466351270676, 0.31820544600486755, -0.3910473883152008, -0.7205660343170166, 0.09400627762079239, 0.4987756907939911, -0.3267531991004944, -0.6278972029685974, -0.49866387248039246, 0.059680256992578506, -0.538155734539032, 1.0811907052993774, 0.19083108007907867, 0.0724145919084549, 0.0394502654671669, -0.42290839552879333, -0.01061349455267191, -0.45253434777259827, -0.5721622705459595, -0.18826404213905334, 0.40266352891921997, 0.20444199442863464, 0.7004506587982178, 0.85024094581604, 0.5373454093933105, 0.45922502875328064, 0.1834668517112732, 0.3014078140258789, -0.8248145580291748, 0.1892787516117096, -0.5090852379798889, -0.2827346920967102, -0.18831130862236023, -0.024844834581017494, 0.6304628849029541, 0.3459756076335907, -0.13206659257411957, -0.10956156998872757, -0.35445982217788696, 0.36393558979034424, -0.9820014834403992, 0.13281236588954926, -0.5393078923225403, 0.20938640832901, -0.1949922889471054, 0.30095142126083374, -0.5739356875419617, -0.4751485586166382, 0.139567032456398, -0.3133866786956787, 0.2935052216053009, -0.06561948359012604, 0.7555878758430481, -0.11217986047267914, -0.07979511469602585, 0.018752984702587128, -0.8394696116447449, 0.6772986054420471, -0.5916048288345337, 0.6934535503387451, 0.560494065284729, 0.4594850540161133, 0.20520558953285217, -0.6142022609710693, -0.5286805629730225, 0.14258043467998505, -0.27458474040031433, -0.10672657936811447, -0.5370957851409912, 0.0199604295194149, -0.247361421585083, 0.49527138471603394, -0.5763774514198303, 0.526818573474884, -0.29935750365257263, -0.42773178219795227, 1.1393206119537354, -0.07122837752103806, 0.29233500361442566, 0.015259472653269768, -0.6994657516479492, -0.11918392777442932, -0.3791067600250244, -0.06694700568914413, 0.530620813369751, 0.8418751955032349, -0.31589749455451965, 0.17733904719352722, -0.35891804099082947, 0.33612650632858276, 0.2703362703323364, -0.2529388964176178, 0.4127744734287262, 0.02216757833957672, -0.3708217144012451, 0.07954271137714386, 1.1172398328781128, 0.14494134485721588, 0.17699705064296722, -0.5238362550735474, -0.49467405676841736, 0.17288345098495483, 0.13355572521686554, -0.5597290396690369, -0.20356112718582153, 0.20437505841255188, -0.2928376793861389, -0.42959532141685486, 0.10423443466424942, -0.8493536114692688, -0.7496376633644104, -0.10689233988523483, 0.33561474084854126, -0.4696662127971649, -0.6292983889579773, -0.21554787456989288, 0.009708104655146599, 0.1287585347890854, -0.06882690638303757, -1.1609618663787842, 0.5169969797134399, 1.1255062818527222, 0.6186760663986206, -0.11756285279989243, -0.34324902296066284, -0.48622843623161316, -0.14769330620765686, -0.24126024544239044, 0.2352159321308136, -0.6157698035240173, 0.03718485310673714, 0.4466763436794281, 0.1222073957324028, -0.00525911059230566, -0.3258169889450073, 0.16729341447353363, -0.8799055218696594, 0.4276454746723175, -0.047986481338739395, -0.678962767124176, -0.37438908219337463, 0.3343880772590637, -0.6178700923919678, 0.5194839835166931, 0.16157469153404236, -0.9451930522918701, 0.042128536850214005, -0.4066610038280487, -0.5906437039375305, 0.34186723828315735, -0.11394471675157547, -0.7542812824249268, 0.012395044788718224, 0.20836210250854492, 0.6362239122390747, 0.015061593614518642, 0.29003262519836426, -0.41174113750457764, -0.17715239524841309, 0.00485239177942276, -0.30142003297805786, 1.197230577468872, 0.5415483713150024, -0.5043018460273743, 0.1737917810678482, -0.6510688066482544, -0.2796817421913147, 0.34426507353782654, 0.02613256126642227, -0.6251401901245117, -0.12845568358898163, -0.15981630980968475, -0.06531772762537003, 0.29462170600891113, -0.8839447498321533, -0.5304630398750305, -0.6369170546531677, 0.20979566872119904, 0.7880237698554993, -0.14033237099647522, 0.6345558166503906, -0.3006695806980133, 0.43415766954421997, 0.12337781488895416, 0.26414045691490173, 0.05816587060689926, -0.2926074266433716, -0.5816985964775085, -0.17500293254852295, 0.0411192886531353, 0.5170983672142029, -0.6947036385536194, 0.3840198218822479, -0.33201542496681213, -0.6438031196594238, -0.6020730137825012, 0.13156355917453766, 0.6996943950653076, 0.33864182233810425, 0.09542441368103027, -0.038753047585487366, -0.48601242899894714, -0.8705736994743347, -0.15667451918125153, -0.13221383094787598, 0.12380514293909073, 0.4135826528072357, 0.14868031442165375, -0.27410611510276794, 0.85640949010849, -0.04878437891602516, -0.44841769337654114, -0.10534210503101349, 0.12047579139471054, -0.45983967185020447, 0.4070155918598175, 0.6442739963531494, -1.0192160606384277, -0.6567013263702393, 0.38541150093078613, -0.6831902861595154, -0.08364444226026535, 0.33083847165107727, 0.04568611830472946, 0.3255624771118164, 0.11332745105028152, -0.01276120450347662, 0.00248489691875875, 0.8990305066108704, -0.2918551564216614, -0.050934091210365295, 0.055987920612096786, 0.23729278147220612, -1.2246278524398804, -0.24486248195171356, 0.04923578351736069, -0.37572604417800903, -1.028053879737854, 0.5519329905509949, 0.05417804792523384, -0.3084893822669983, -0.6993229389190674, 0.48205864429473877, -0.28576594591140747, 0.09828829765319824, -0.24640953540802002, 0.04036976397037506, -0.20928005874156952, 0.42635899782180786, 0.21764442324638367, 0.5202990174293518, 0.6683630347251892, -0.20532214641571045, 0.4588943123817444, 0.13591328263282776, -0.07832852005958557, 0.5065054297447205, -0.07002855837345123, 0.39719897508621216, -0.3082652688026428, -0.0758364200592041, -0.8876698613166809, -0.4720255136489868, 0.44109031558036804, -0.4104834496974945, 0.1709161102771759, 0.040958210825920105, -0.27024829387664795, -0.1484462171792984, -0.22222870588302612, 0.27062949538230896, 0.326760470867157, -0.8888763785362244, 0.7748492956161499, 0.9800496697425842, 0.13054917752742767, -0.909199595451355, -0.6723517179489136, -0.3424844443798065, -0.26978811621665955, -0.6662265062332153, 0.23689641058444977, 0.3034202456474304, -0.42936113476753235, -0.10363224893808365, 0.24480167031288147, -0.5950570702552795, 0.2635485529899597, 0.38877546787261963, 0.05047666281461716, -0.3242337107658386, 0.21763363480567932, -0.05061044171452522, 0.3043666183948517, 0.05059187114238739, 0.12556356191635132, 0.5446978211402893, -0.2790032923221588, -0.02553948387503624, -0.7064131498336792, 0.6004748940467834, 0.5384395718574524, -0.4698188602924347, 0.8502641916275024, 0.8254791498184204, -0.6661211848258972, -0.46968650817871094, -0.6623411178588867, -0.21446672081947327, -0.5288963317871094, 0.05467340350151062, 0.07567645609378815, -1.1155387163162231, 0.6653742790222168, 0.19734767079353333, 0.34710147976875305, 0.18692855536937714, 0.48610591888427734, 0.1877530962228775, 0.795165479183197, 1.0113403797149658, -0.39111244678497314, 0.6582626700401306, 0.0028389343060553074, 0.3932030200958252, 0.01779796928167343, -0.16392241418361664, -0.30576881766319275, -0.23482871055603027, -0.8010748028755188, -0.17792899906635284, -0.13645952939987183, -0.36887338757514954, -0.20992526412010193, 0.48656317591667175, -0.4031694233417511, 0.7755590081214905, 0.2946716547012329, 0.34811046719551086, 0.08403411507606506, 0.10226554423570633, 0.22060993313789368, 0.12757965922355652, -0.5744436979293823, -0.03633880242705345, 0.8604045510292053, 0.6913989186286926, 0.5947588086128235, 0.4110684096813202, 1.0633044242858887, 0.38017016649246216, 0.4528926908969879, -0.5508101582527161, 0.42524540424346924, -0.42337021231651306, -0.7727845907211304, -0.4007156789302826, -0.6146107316017151, -0.8100709319114685, 0.25419455766677856, -0.41322484612464905, -0.7118746042251587, 0.39807432889938354, 0.14943966269493103, -0.49977344274520874, 0.49376392364501953, -0.6686872243881226, 0.6529369950294495, -0.1425645798444748, -0.6279507875442505, -0.0759740024805069, -0.7024691700935364, 0.7004232406616211, -0.2315802127122879, 0.5490782856941223, -0.07275575399398804, 0.2575797438621521, 0.8610127568244934, -0.3180951476097107, 1.035700798034668, -0.27149060368537903, -0.03141067549586296, -0.001356738735921681, -0.15067864954471588, 0.46189093589782715, -0.23238509893417358, -0.10002753138542175, 0.40793395042419434, -0.45539891719818115, -0.15536600351333618, -0.26706045866012573, 0.8993186354637146, -0.780481219291687, -0.37132254242897034, -0.12484744191169739, -0.528096616268158, -0.12156704813241959, 0.34061798453330994, 0.20795941352844238, 0.2252272218465805, -0.2730324864387512, 0.2765601873397827, 0.6724163293838501, -0.0018671955913305283, 0.5732593536376953, 0.7580015659332275, -0.16821403801441193, -0.40605247020721436, 1.0335783958435059, -0.017195018008351326, 0.15548352897167206, 0.37053894996643066, 0.5336350202560425, -0.4688050150871277, -0.3629979193210602, -0.08225735276937485, 0.2638550102710724, -0.7569718956947327, -0.3124164938926697, -0.7258317470550537, -0.3586350977420807, -0.6380558609962463, -0.28174713253974915, -0.5729949474334717, 0.02394651621580124, -0.20088529586791992, -0.09249673038721085, 0.4175604581832886, 0.672426700592041, -0.3162144720554352, 0.472307950258255, -0.6003113985061646, 0.20718958973884583, 0.32074981927871704, 0.5782425403594971, 0.027936182916164398, -0.31812164187431335, 0.027226785197854042, 0.23991958796977997, 0.12028012424707413, -0.8315485715866089, 0.4667246639728546, 0.35489869117736816, 0.4275408685207367, 0.880979597568512, 0.5486456751823425, 0.45398449897766113, -0.44882649183273315, 0.4998040199279785, 0.2405729591846466, -0.7181161046028137, 0.38973045349121094, -0.23063655197620392, -0.12162870913743973, 0.5362381935119629, 0.7701788544654846, -0.28003373742103577, -0.6953185200691223, -0.6991918683052063, -0.6493557691574097, 0.6392860412597656, 0.0021805204451084137, 0.48631682991981506, -0.17606888711452484, -0.1582421213388443, 0.18171674013137817, 0.022704241797327995, -0.9078392386436462, -0.3536270558834076, -0.17572595179080963, -0.1237863227725029, 0.05658729374408722, -0.017751352861523628, -0.4845449924468994, -0.20156042277812958, 0.5114132761955261, 0.21309782564640045, 0.0008689393289387226, -0.31835734844207764, -0.14836740493774414, -0.2068718671798706, 0.19426558911800385, 0.32720115780830383, 0.3962136507034302, -0.025942232459783554, 0.03730105981230736, -0.08437056839466095, -0.3039616346359253, 0.0644599050283432, 0.24585293233394623, -0.2230740785598755, 0.09975829720497131, 0.15519535541534424, 0.8095215559005737, 0.37040334939956665, -0.43057626485824585, 0.9682587385177612, -0.05982993543148041, -0.259685218334198, -0.21226391196250916, 0.15610849857330322, -0.14692574739456177, 0.38659122586250305, 0.11213840544223785, -0.09914206713438034, 0.06698784977197647, -0.44257232546806335, 0.49548667669296265, 0.47644561529159546, -0.2986423671245575, -0.27593737840652466, 0.6259491443634033, 0.3613273501396179, -0.7529985904693604, 0.4620751142501831, -0.0649087131023407, -0.7054980397224426, 0.11038713157176971, 0.6000393629074097, 0.8905743956565857, -0.7725972533226013, 0.5240768790245056, 0.32399916648864746, 0.14175137877464294, 0.024751264601945877, 0.08727873861789703, -0.33212167024612427, -1.014262080192566, 0.1400212198495865, -0.6629685163497925, -0.29991480708122253, 0.20797227323055267, -0.6818145513534546, -0.003118303371593356, -1.010260820388794, -0.041959796100854874, 0.2151300609111786, -0.12440802156925201, -0.49294063448905945, 0.14885638654232025, 0.6671172976493835, 0.474435031414032, -1.5207364559173584, 0.8117278218269348, 0.18262015283107758, -0.30140531063079834, -0.8381522297859192, -0.31945744156837463, 0.30776500701904297, -0.8367569446563721, 0.24824258685112, 0.16700387001037598, -0.14807404577732086, 0.07582873106002808, -0.5657268166542053, -0.6026933789253235, 0.7902704477310181, 0.23087447881698608, -0.5528663396835327, 0.3357078731060028, 0.31706172227859497, 0.7962377071380615, -0.46642014384269714, -0.3391222059726715, 0.54525226354599, 0.06541940569877625, -0.011429516598582268, -0.7689374685287476, -0.14032144844532013, -0.012397561222314835, -0.24276478588581085, 0.209051251411438, -0.6043909192085266, 0.9699732065200806, -0.029073497280478477, -0.8075438141822815, -0.37263232469558716, 0.7504234910011292, -0.12063127011060715, 0.3363550901412964, 0.46330276131629944, 0.5086612701416016, 1.0517407655715942, -0.05191290006041527, 0.8120790123939514, -0.08610417693853378, 0.5604472756385803, 1.1202794313430786, -0.27615997195243835, 1.0649442672729492, 0.03546936810016632, 0.05071701109409332, 0.24749760329723358, 0.3072117865085602, -0.12444837391376495, 0.7019980549812317, -0.06654193997383118, -0.4348408579826355, -0.039324864745140076, -0.29704806208610535, -0.2496088594198227, 0.8487436771392822, 0.24407048523426056, -0.8404123783111572, -0.43584027886390686, 0.360923171043396, 0.18504346907138824, 0.5936633348464966, -0.35876327753067017, 1.0656075477600098, -0.3082316219806671, -0.44549670815467834, 0.6369515061378479, 0.12579087913036346, 0.7521453499794006, -0.5060094594955444, 0.25710129737854004, -0.3493053913116455, 0.26862871646881104, -0.33109498023986816, -0.45797309279441833, 0.44311386346817017, 0.02171924337744713, -0.05873150750994682, -0.15537098050117493, 0.5680551528930664, -0.8375695943832397, -0.4100818336009979, 0.4466601014137268, 0.18910954892635345, -0.0028676821384578943, 0.3402203619480133, -0.63923579454422, 0.18078716099262238, -0.1335282176733017, 0.28066879510879517, 0.4046548902988434, 0.2025877982378006, -0.02448367327451706, 0.4820447266101837, 0.6506330370903015, -0.11055922508239746, 0.1266973912715912, 0.08056680858135223, 0.7754860520362854, -0.04639852046966553, -0.7485786080360413, -0.8970929980278015, 0.26442888379096985, -0.3007550835609436, -0.1941877007484436, 0.7978600263595581, 0.310858815908432, 1.1512806415557861, 0.09344637393951416, 0.5775305032730103, -0.026954403147101402, 0.6040206551551819, -0.18865880370140076, 1.1746550798416138, -0.32647421956062317, 0.023583395406603813, -0.35612383484840393, -0.5181311964988708, -0.4943087100982666, 0.5874705910682678, -0.30552810430526733, -0.38749662041664124, 0.30118006467819214, 1.0054821968078613, -0.19231130182743073, 0.3544667065143585, 0.5121157169342041, 0.06354646384716034, 0.2845509648323059, 0.28958210349082947, 0.37842223048210144, -0.47633227705955505, 0.03145122155547142, -0.9761120676994324, -0.23788544535636902, -0.22208701074123383, -0.6152416467666626, -0.9718722701072693, -0.6166216731071472, -0.3715953528881073, -0.1655319482088089, 0.2431212067604065, 0.8071585297584534, 0.7640853524208069, -1.1408501863479614, -0.16976729035377502, 0.12033756077289581, 0.05360507592558861, -0.23636211454868317, -0.2410593330860138, 0.24516621232032776, -0.04626932367682457, -0.7807130813598633, 0.47772446274757385, 0.0944509357213974, 0.027711372822523117, -0.43224748969078064, -0.055003680288791656, -0.49283677339553833, 0.07707449048757553, 0.41159123182296753, 0.6000593304634094, -0.8300245404243469, -0.4855106770992279, -0.20158228278160095, -0.23667754232883453, -0.0829642191529274, 0.3933979570865631, -0.5190126895904541, 0.819146454334259, 0.6155694127082825, 1.1639058589935303, -0.040034592151641846, 0.3387431800365448, 0.5895388722419739, -1.066616415977478, 0.3797844350337982, 0.46627017855644226, 0.3569319248199463, 0.5729420185089111, -0.5656179785728455, 0.2841896116733551, 0.10944491624832153, -0.4327654540538788, -0.9549771547317505, 0.0032920914236456156, -0.5800884962081909, -0.2203073501586914, 0.9864682555198669, -0.5954785943031311, -0.3400578498840332, -0.22012066841125488, 0.46224749088287354, 0.22108004987239838, -0.3201102614402771, 0.8221818804740906, 0.3838344216346741, 0.4131670892238617, -0.35005655884742737, 0.10541859269142151, 0.6123892664909363, -0.020445208996534348, -0.5511816740036011, 0.37589097023010254, 0.5433619618415833, 0.22771137952804565, 0.3087245225906372, 0.4897649884223938, 0.04998202621936798, 0.37655287981033325, 0.07740911841392517, -0.25828325748443604, -0.1151496022939682, -0.5065823197364807, -0.6222301125526428, 0.5904521346092224, -0.6218773126602173, -0.5626530647277832 ]
http://arxiv.org/abs/2404.11459v2
http://arxiv.org/pdf/2404.11459v2
Octopus v3: Technical Report for On-device Sub-billion Multimodal AI Agent
2024-04-17T15:07:06
2024-04-18T07:32:52
Wei Chen, Zhiyuan Li
cs.CL
cs.CL, cs.CV
A multimodal AI agent is characterized by its ability to process and learn from various types of data, including natural language, visual, and audio inputs, to inform its actions. Despite advancements in large language models that incorporate visual data, such as GPT-4V, effectively translating image-based data into actionable outcomes for AI agents continues to be challenging. In this paper, we introduce a multimodal model that incorporates the concept of functional token specifically designed for AI agent applications. To ensure compatibility with edge devices, our model is optimized to a compact size of less than 1B parameters. Like GPT-4, our model can process both English and Chinese. We demonstrate that this model is capable of operating efficiently on a wide range of edge devices, including as constrained as a Raspberry Pi.
[ -0.3303021490573883, -0.7649581432342529, 0.5104465484619141, -0.006606948561966419, -0.2634916305541992, -0.22950564324855804, 0.11452581733465195, -0.7533560395240784, 0.47726354002952576, 0.3252709209918976, -0.265056312084198, -0.30880558490753174, -0.32627782225608826, 0.14863164722919464, 0.0054902685806155205, 0.7958081364631653, 0.19052255153656006, -0.29010558128356934, -0.03355278819799423, -0.32950359582901, -0.39948034286499023, -0.2564769983291626, -0.7211137413978577, -0.14753615856170654, 0.6277867555618286, 0.6812618374824524, 1.0553627014160156, 0.7497309446334839, 0.6486149430274963, 0.4435797929763794, 0.45851361751556396, 0.0699605792760849, 0.0031110343988984823, -0.14022140204906464, -0.11636646836996078, -0.5040392875671387, -1.0168143510818481, 0.04417690634727478, 0.46848243474960327, 0.14768388867378235, 0.06273943185806274, -0.06605859100818634, -0.4935649037361145, 0.1781359165906906, -0.194003626704216, 0.5437893867492676, -0.7070614099502563, 0.05361642688512802, -0.20361372828483582, 0.11296819150447845, -0.4341675937175751, 0.1416899561882019, 0.04123023897409439, -1.124772310256958, -0.27696219086647034, -0.10860871523618698, 0.6826868653297424, 0.41419491171836853, -0.7756320834159851, -0.04201478138566017, -0.5928272008895874, 0.6152427196502686, -0.6248239278793335, 0.6217439770698547, 0.32743123173713684, 0.2991637587547302, 0.1721375733613968, -1.2114803791046143, -1.054630160331726, -0.4326651692390442, 0.15700475871562958, -0.012870877981185913, -0.22181673347949982, 0.2914979159832001, 0.18343937397003174, -0.07167573273181915, -0.4567926824092865, 0.15505021810531616, -0.512177050113678, -0.3699832558631897, 0.6434111595153809, 0.12470218539237976, 0.5788938403129578, -0.1089881956577301, -0.5465140342712402, 0.12089081108570099, -0.7124361395835876, 0.10952308773994446, 0.2144819051027298, 0.16751867532730103, -0.35141271352767944, 0.7681828141212463, -0.21777206659317017, 0.48569533228874207, -0.1380096822977066, -0.5780267715454102, 0.5578032732009888, -0.6013754606246948, 0.14175477623939514, -0.1389741152524948, 0.6981759667396545, 0.6546592116355896, -0.029314707964658737, -0.032915838062763214, -0.4748012125492096, -0.11145812273025513, 0.3233058750629425, -0.7780823111534119, -0.2038215696811676, 0.34072813391685486, -0.4876202344894409, 0.11096267402172089, -0.1700104922056198, -0.47758951783180237, -0.4062071740627289, -0.08219987154006958, 0.566746175289154, -0.6469646096229553, -0.4846828281879425, -0.09303954243659973, -0.28446680307388306, 0.29236316680908203, 0.36904582381248474, -0.8552011251449585, 0.0653776153922081, 0.47680220007896423, 1.0290826559066772, -0.2036278247833252, -0.33904939889907837, -0.41752374172210693, 0.3673741817474365, -0.0411657951772213, 0.6666163206100464, -0.7104618549346924, -0.34102270007133484, -0.2701563239097595, -0.006970463786274195, -0.32324498891830444, -0.10656504333019257, 0.40704554319381714, -0.4814458191394806, -0.11674541234970093, 0.24328358471393585, -0.2452961951494217, -0.6453132629394531, 0.4049068093299866, -1.056257963180542, 0.5010567307472229, 0.10233862698078156, -0.5572898387908936, 0.45659542083740234, -1.368791103363037, -0.5755043029785156, 0.6115735173225403, -0.10124185681343079, -0.4215117394924164, -0.14456559717655182, 0.10673913359642029, 0.4848458170890808, -0.07084179669618607, -0.25454214215278625, -0.4851348102092743, -0.3475388288497925, 0.2081373631954193, -0.3976891338825226, 0.16760848462581635, 0.5263886451721191, -0.3496650457382202, 0.3603345453739166, -0.6634480357170105, -0.1844736486673355, -0.020558791235089302, -0.21881414949893951, -0.27767205238342285, 0.14879149198532104, 0.11687131226062775, 0.004728384781628847, 0.4457535147666931, -0.9883100390434265, 0.5802304744720459, 0.09488868713378906, 0.9574175477027893, 0.5483794808387756, -0.2374725192785263, 0.3777974843978882, -0.15344460308551788, 0.495699942111969, 0.030083199962973595, 0.3413940370082855, -0.6731851100921631, -0.8257237672805786, -0.49732327461242676, -0.889029324054718, 0.0931190699338913, 0.5979833006858826, -1.4734776020050049, -0.15712977945804596, -0.3669069707393646, -0.6789673566818237, -0.45166200399398804, -0.06316011399030685, -0.07941325753927231, 0.2515161335468292, 0.24646344780921936, -0.2615076005458832, -0.05018167197704315, -0.9945990443229675, 0.08755972236394882, -0.32879897952079773, 0.1745872050523758, 0.49711138010025024, 0.5541443228721619, -0.8372805118560791, 0.9498486518859863, -0.11298706382513046, -0.3826584815979004, -0.6338576674461365, 0.22524745762348175, 0.1500975340604782, 0.562109112739563, 0.5824853181838989, -1.1705526113510132, -0.26385170221328735, 0.6282708048820496, -0.568592369556427, 0.25245869159698486, -0.16867826879024506, 0.4352022111415863, 0.28636184334754944, 0.3719629943370819, -1.0957084894180298, 0.3012875020503998, 0.5193249583244324, -0.26808884739875793, 0.1696685254573822, -0.27761903405189514, 0.0698988288640976, -1.0455602407455444, -0.05338449776172638, 0.13314706087112427, -0.24773336946964264, -0.6324495673179626, 0.0893821194767952, 0.16839851438999176, -0.34101977944374084, -0.8562523722648621, 0.6177747845649719, -0.08561442047357559, -0.09975025057792664, -0.14691542088985443, -0.09884747862815857, -0.26066920161247253, 0.4962344467639923, 0.31993165612220764, 0.8660088777542114, 0.5188616514205933, -0.5877038836479187, 0.5999152660369873, -0.12787383794784546, 0.1571202576160431, 0.7038885354995728, -0.9388079047203064, 0.12162359058856964, 0.10209804773330688, 0.15331944823265076, -0.8929569721221924, -0.49852654337882996, 0.26109543442726135, -0.3075787127017975, -0.09573429077863693, -0.058710694313049316, -0.46931248903274536, -0.26928794384002686, -0.4579678475856781, 0.8333030343055725, 0.33458709716796875, -0.3609401285648346, 1.209205985069275, 0.6054871082305908, -0.3875627815723419, -0.1919315904378891, -0.46984657645225525, -0.0431489571928978, -0.45019957423210144, -0.9478351473808289, 0.3408610224723816, 0.07832209765911102, 0.083163782954216, 0.11974839121103287, 0.32479044795036316, -0.21661779284477234, 0.010154270566999912, 0.21694238483905792, 0.2493060678243637, -0.2723831534385681, 0.11525999754667282, -0.03843997046351433, -0.32449644804000854, -0.2600736618041992, -0.31882646679878235, 0.16982907056808472, -0.45779526233673096, -0.4906146824359894, -0.8826056718826294, 0.1431470364332199, 1.1106584072113037, -0.48661988973617554, 0.3775019347667694, 0.8992948532104492, -0.39250943064689636, 0.05383951961994171, -0.2331649661064148, -0.09587626159191132, -0.5842950940132141, 0.62580406665802, -0.8230789303779602, -0.560876190662384, 0.5009441375732422, 0.09217327833175659, 0.059231918305158615, 0.5413246750831604, 0.5927196741104126, 0.05232177674770355, 1.166915774345398, 0.7220995426177979, 0.15309211611747742, 0.6801828145980835, -0.24811923503875732, 0.3666854500770569, -0.6240102648735046, -0.3591154217720032, -0.10998812317848206, -0.29283979535102844, -0.6929186582565308, -0.41739383339881897, 0.7370115518569946, -0.6287816166877747, -0.18361744284629822, 0.32073384523391724, -0.3271469473838806, 0.2613835632801056, 0.7297595739364624, -0.017012836411595345, 0.17434076964855194, -0.19185535609722137, -0.06218668073415756, 0.0904756486415863, -0.6688127517700195, -0.5871148705482483, 1.0740784406661987, 0.7911984920501709, 0.854651689529419, 0.2545653283596039, 0.20587407052516937, 0.6013539433479309, 0.23277539014816284, -0.6290376782417297, 0.6147599220275879, 0.10213186591863632, -0.5668120384216309, -0.39321067929267883, -0.13083767890930176, -0.9505890607833862, 0.6522608399391174, 0.027119392529129982, -0.8597589135169983, -0.033200763165950775, 0.12016993016004562, -0.3507517874240875, 0.37453529238700867, -1.0838032960891724, 1.1113778352737427, -0.459768682718277, -0.2392517775297165, -0.3625888228416443, -0.4638233482837677, 0.2725543677806854, 0.021840212866663933, 0.15703044831752777, -0.19894130527973175, -0.4853436052799225, 0.5219058990478516, -0.5073975920677185, 0.722789466381073, -0.3040463328361511, 0.08497589826583862, 0.5124956965446472, -0.03498353064060211, 0.33128878474235535, 0.27862608432769775, -0.04520256817340851, 0.2720555067062378, 0.018854156136512756, -0.3980649709701538, -0.34972721338272095, 0.4347078204154968, -0.9718379974365234, -0.3369334936141968, -0.29825952649116516, -0.7098944783210754, 0.0002900855615735054, 0.48181381821632385, -0.027548804879188538, 0.4244999587535858, 0.056212738156318665, 0.3717091381549835, 0.15515929460525513, -0.05494481325149536, 0.8367538452148438, 0.5659211874008179, 0.09180095791816711, -0.38271746039390564, 1.51353120803833, 0.16291137039661407, 0.12432888150215149, 0.15280167758464813, -0.19826671481132507, -0.5076264142990112, -0.5391402840614319, -0.8286531567573547, 0.1629120260477066, -0.5019239783287048, -0.11188188940286636, -0.6183832883834839, 0.056443434208631516, -0.3321469724178314, -0.12405771017074585, -0.5676430463790894, -0.5240960121154785, -0.17068244516849518, -0.2758583724498749, 0.2807951867580414, 0.9457710981369019, -0.16956935822963715, 0.5854926705360413, -0.7712495923042297, 0.4700053334236145, 0.3479878306388855, 0.25195494294166565, -0.4085270166397095, 0.056843820959329605, -0.2563878893852234, 0.12192177772521973, -0.5214197635650635, -0.7669543027877808, 0.16526585817337036, 0.41288939118385315, 0.7309910655021667, 0.699470043182373, -0.13823017477989197, 0.33110660314559937, -0.2258554846048355, 1.1552700996398926, 0.16449938714504242, -0.9781428575515747, 0.22541645169258118, -0.5403509736061096, 0.2757722735404968, 0.05043279007077217, 0.3257591426372528, -0.5366266965866089, -0.16777478158473969, -0.5050427317619324, -0.9294006824493408, 0.7129709124565125, 0.06600434333086014, 0.22564025223255157, 0.11238943040370941, 0.06618694961071014, 0.2130904197692871, 0.2960198223590851, -1.041635274887085, 0.2759457230567932, -0.5483927726745605, -0.32247644662857056, 0.02158314734697342, 0.12699992954730988, 0.11791986972093582, -0.18201060593128204, 0.36900794506073, -0.46667176485061646, 0.5300037264823914, 0.18318717181682587, -0.22587665915489197, 0.4962407648563385, -0.032176993787288666, 0.8161316514015198, 0.4805566072463989, 0.1353743076324463, 0.20244842767715454, 0.16265513002872467, -0.7675739526748657, 0.015313669107854366, 0.3270403742790222, -0.08695011585950851, -0.1903914362192154, 0.5590959787368774, 0.7338151931762695, -0.23663318157196045, -0.7302272319793701, 0.6250637173652649, -0.13638277351856232, 0.05250043421983719, -0.3353583812713623, 0.07271470129489899, -0.12255221605300903, 0.46785202622413635, 0.4078305661678314, 0.01432902179658413, 0.27570459246635437, -0.526506245136261, 0.40646892786026, 0.415029376745224, -0.4832608699798584, -0.7400861978530884, 0.9262259006500244, 0.8135506510734558, -0.28804922103881836, 0.801137387752533, -0.42094388604164124, -0.4997583329677582, 0.7921180129051208, 0.5755530595779419, 0.6266827583312988, -0.17595428228378296, 0.35814765095710754, -0.1786339282989502, 0.5904041528701782, 0.45437324047088623, 0.5749915838241577, -0.11796077340841293, -0.7192662358283997, -0.1342187374830246, -0.13974615931510925, -0.4120701551437378, -0.18310163915157318, 0.023132534697651863, 0.17559251189231873, -0.37224915623664856, -0.4160793125629425, -0.0478629395365715, -0.3536359667778015, -0.8070868849754333, 0.23869121074676514, 0.2719990015029907, 0.8281565308570862, -0.5946285128593445, 0.9958907961845398, 1.081089973449707, -0.6887124180793762, -0.8234438300132751, -0.3947882652282715, -0.042554449290037155, -0.8359610438346863, 0.47570469975471497, 0.3272183835506439, -0.18818381428718567, -0.023231957107782364, -0.4681861102581024, -0.7386171221733093, 1.2088274955749512, 0.28058573603630066, 0.003493183758109808, 0.23918943107128143, 0.46836623549461365, 0.47938454151153564, -0.6722366809844971, 0.8094081282615662, 0.2344347983598709, 0.7344191074371338, 0.025638096034526825, -1.245241641998291, -0.10793574899435043, -0.5606911182403564, -0.10047642886638641, -0.19677914679050446, -0.9264965057373047, 1.2408502101898193, -0.41853266954421997, 0.03297841548919678, 0.002840082161128521, 0.6556920409202576, -0.07244095206260681, 0.5063027143478394, 0.7094579935073853, 0.4328845143318176, 0.6453731060028076, -0.13493019342422485, 1.1930168867111206, -0.38954588770866394, 0.08980871737003326, 0.3175135552883148, -0.5176650881767273, 0.6925408840179443, 0.3715990483760834, 0.3158630132675171, 0.36297717690467834, 0.5896930694580078, 0.12348882853984833, 0.5297767519950867, -0.34746265411376953, -0.15443839132785797, -0.0036045967135578394, -0.20034033060073853, -0.3035256862640381, 0.6838407516479492, 0.5473811030387878, 0.06545485556125641, 0.287346214056015, 0.44297486543655396, 0.015266367234289646, -0.6354748010635376, -0.4685742259025574, 0.769023060798645, -0.23402933776378632, -0.6124556064605713, 0.1345062106847763, 0.40426862239837646, 0.48952755331993103, -0.44174546003341675, -0.2979237735271454, -0.14823253452777863, 0.4842093288898468, -0.23366689682006836, -0.6626819372177124, 0.07374872267246246, -0.28400400280952454, 0.2531689405441284, 0.041371870785951614, 0.6514207124710083, -0.23382890224456787, -0.37116578221321106, -0.05919282138347626, 0.15810802578926086, 0.20549403131008148, 0.1005459725856781, -0.5962054133415222, 0.4307812452316284, -0.15497860312461853, -0.21742430329322815, -0.15365318953990936, 0.5839235186576843, -0.22300080955028534, 1.0526037216186523, 0.6519377827644348, -0.1684364676475525, 0.1789809614419937, -0.5444293022155762, 0.7756624221801758, -0.6450671553611755, -0.8360127210617065, -0.6248970627784729, 0.9760822653770447, -0.11320091784000397, -0.5003122687339783, 0.5959576964378357, 0.5269147157669067, 0.8046377897262573, -0.008104842156171799, 0.9000032544136047, -0.24094799160957336, -0.03375476226210594, -0.3092986047267914, 0.44989582896232605, -0.8370959162712097, 0.13658864796161652, -0.13962538540363312, -0.7573475241661072, -0.13906018435955048, 0.5798761248588562, -0.13096392154693604, 0.06203050538897514, 0.569200336933136, 0.5925097465515137, -0.3334878385066986, 0.2520577907562256, 0.38526400923728943, 0.1198858842253685, 0.6669681668281555, 0.3810077905654907, 0.632163405418396, -0.2394983172416687, 0.40128326416015625, 0.09900635480880737, -0.26005005836486816, -0.3268999755382538, -0.6557812690734863, -0.7008281350135803, -0.7761372923851013, -0.13150693476200104, 0.14477448165416718, -0.0368516631424427, 0.7988205552101135, 1.0373119115829468, -0.26314106583595276, -0.07838848233222961, 0.31503647565841675, 0.3769961893558502, -0.18830303847789764, -0.12109454721212387, 0.0012169999536126852, -0.1401837021112442, -0.9197442531585693, 0.4368517994880676, 0.42018675804138184, -0.01638812944293022, -0.3465047776699066, -0.34023982286453247, 0.09763572365045547, 0.2338472455739975, 0.7832260727882385, 0.4342533349990845, -0.6625797152519226, -0.6187880039215088, -0.06514296680688858, -0.07909847795963287, 0.0034959905315190554, 0.7636281251907349, -0.5166688561439514, 0.5013807415962219, 0.3073461651802063, 0.6286887526512146, 0.3788640797138214, -0.02964016981422901, 0.7290542721748352, -0.3425579369068146, 0.5573185682296753, 0.1883169561624527, 0.5708540081977844, 0.129983589053154, -0.26729249954223633, 0.45216795802116394, 0.4398150146007538, -0.42080092430114746, -0.585026204586029, 0.3876003921031952, -1.1778905391693115, -0.11030665040016174, 1.0938652753829956, -0.29182687401771545, -0.24021410942077637, -0.19963449239730835, -0.4533693492412567, -0.18216846883296967, -0.6567453145980835, 0.312483012676239, 0.3034859001636505, -0.5120267271995544, -0.31744906306266785, -0.41266196966171265, 0.13001802563667297, 0.07442132383584976, -0.8176025152206421, -0.5739704370498657, 0.3875691890716553, 0.023748263716697693, 0.27495694160461426, 0.8451217412948608, 0.046100012958049774, 0.5650399923324585, 0.33890673518180847, 0.2538759112358093, -0.2856042981147766, -0.6021588444709778, 0.1278022825717926, 0.4338168501853943, 0.19959993660449982, -0.585712194442749 ]
http://arxiv.org/abs/2404.11457v1
http://arxiv.org/pdf/2404.11457v1
Unifying Bias and Unfairness in Information Retrieval: A Survey of Challenges and Opportunities with Large Language Models
2024-04-17T15:05:03
2024-04-17T15:05:03
Sunhao Dai, Chen Xu, Shicheng Xu, Liang Pang, Zhenhua Dong, Jun Xu
cs.IR
cs.IR, cs.AI, cs.CL
With the rapid advancement of large language models (LLMs), information retrieval (IR) systems, such as search engines and recommender systems, have undergone a significant paradigm shift. This evolution, while heralding new opportunities, introduces emerging challenges, particularly in terms of biases and unfairness, which may threaten the information ecosystem. In this paper, we present a comprehensive survey of existing works on emerging and pressing bias and unfairness issues in IR systems when the integration of LLMs. We first unify bias and unfairness issues as distribution mismatch problems, providing a groundwork for categorizing various mitigation strategies through distribution alignment. Subsequently, we systematically delve into the specific bias and unfairness issues arising from three critical stages of LLMs integration into IR systems: data collection, model development, and result evaluation. In doing so, we meticulously review and analyze recent literature, focusing on the definitions, characteristics, and corresponding mitigation strategies associated with these issues. Finally, we identify and highlight some open problems and challenges for future work, aiming to inspire researchers and stakeholders in the IR field and beyond to better understand and mitigate bias and unfairness issues of IR in this LLM era. We also consistently maintain a GitHub repository for the relevant papers and resources in this rising direction at https://github.com/KID-22/LLM-IR-Bias-Fairness-Survey.
[ -0.3692825138568878, -0.2745683491230011, 0.577734112739563, 0.16513307392597198, 0.047691237181425095, 0.07290683686733246, -0.08806775510311127, -0.5657933354377747, -0.08234240859746933, 0.5921481251716614, -0.45299971103668213, -0.07548550516366959, -0.8003436923027039, -0.11309529840946198, -0.39930230379104614, 1.1429954767227173, -0.039716899394989014, 0.5370275378227234, -0.18411782383918762, -0.36550384759902954, -0.6667929291725159, -0.5599223971366882, 0.09586633741855621, -0.5996027588844299, 0.43523359298706055, 0.39372092485427856, 0.7080984115600586, 0.19563713669776917, 0.9244140982627869, 0.19153548777103424, -0.10983193665742874, -0.16511979699134827, -0.4512690603733063, 0.49790260195732117, -0.4218790829181671, -0.3948920667171478, -0.14484165608882904, -0.06140519306063652, 0.6541695594787598, 0.8338524103164673, -0.4100711941719055, 0.3535879850387573, 0.26274076104164124, 1.0403660535812378, -0.9910073280334473, -0.11615850031375885, -0.736882209777832, 0.11579648405313492, -0.544959306716919, -0.12247832864522934, -0.45803287625312805, -0.4604202210903168, 0.32991495728492737, -0.3401371240615845, 0.072945237159729, 0.20247703790664673, 0.6124167442321777, 0.24982675909996033, -0.5752761960029602, -0.47234776616096497, -0.8400237560272217, 1.0524039268493652, -0.5496625304222107, 0.3704342842102051, -0.1427757889032364, 0.5377245545387268, -0.25258174538612366, -0.6122666597366333, -0.33712252974510193, 0.24166400730609894, 0.22035937011241913, -0.12375421822071075, -0.28619423508644104, -0.08476486802101135, 0.2204599529504776, 0.2845643162727356, -0.2841810882091522, 0.10315286368131638, -0.2416025698184967, 0.08697047829627991, 0.4363496005535126, -0.0666503831744194, 0.2897531986236572, -0.18236824870109558, -0.29278481006622314, -0.15644103288650513, -0.7836247086524963, -0.2982114553451538, 0.8299359083175659, 0.3366711735725403, 0.28883489966392517, 0.7841528654098511, -0.12550143897533417, 0.39613470435142517, -0.13031357526779175, 0.20937994122505188, 0.36039969325065613, -0.23486989736557007, -0.05461884289979935, -0.05767331272363663, 0.627680778503418, 0.2913307547569275, 0.3784889578819275, -0.059816695749759674, -0.5286218523979187, -0.3732384145259857, 0.13564522564411163, -0.401927649974823, 0.42183130979537964, 0.10366526991128922, -0.7793682813644409, -0.26405563950538635, 0.2084895819425583, -1.1113561391830444, -0.8328614234924316, -0.2974396347999573, 0.3395150899887085, 0.06891179829835892, -0.4136705696582794, -0.0053284550085663795, -0.19156000018119812, 0.3130809962749481, 0.31878358125686646, -0.6370999217033386, 0.20447510480880737, 0.6498730182647705, 0.48398807644844055, 0.052723951637744904, -0.06854739785194397, -0.2597399055957794, 0.08837039023637772, 0.1686682552099228, 0.624462366104126, -0.5451546907424927, -0.07767697423696518, 0.4073621332645416, -0.3554733991622925, 0.18872776627540588, -0.907916247844696, 0.5770997405052185, -0.7885547280311584, 0.28744620084762573, -0.3322383761405945, -0.31007638573646545, 0.1329483538866043, 0.18018028140068054, -0.6854922771453857, 0.9045417904853821, -0.0051751513965427876, -1.0633208751678467, 0.31339362263679504, -0.4881722033023834, -0.14571769535541534, 0.025195356458425522, -0.355571448802948, -0.15138547122478485, 0.16566191613674164, -0.037859003990888596, 0.2585114538669586, -0.7471731305122375, 0.7215477228164673, -0.46577566862106323, -0.3801194131374359, 0.11055399477481842, -0.4617677330970764, 0.8541481494903564, 0.5034500360488892, -0.5222466588020325, -0.32658395171165466, -0.4198685586452484, 0.07357756793498993, 0.09779682010412216, -0.19718028604984283, -0.37760448455810547, 0.29665350914001465, 0.13430370390415192, 0.20779654383659363, 0.4020937383174896, -0.2288859486579895, 0.3655731678009033, 0.06959481537342072, 0.2146078646183014, 1.0917412042617798, -0.4127930700778961, 0.6373278498649597, -0.33584317564964294, 0.48662427067756653, 0.08868265151977539, 0.5050467252731323, 0.13035166263580322, -0.21181419491767883, -0.37231209874153137, 0.17623701691627502, 0.4664779603481293, 0.6735938787460327, -0.8066973686218262, 0.2607347369194031, -0.3594342768192291, -0.23741091787815094, -0.7206045985221863, 0.16839942336082458, 0.29853323101997375, 0.06920047849416733, 0.12308334559202194, -0.2281908392906189, -0.5218684077262878, -1.0001643896102905, -0.612638533115387, -0.06559702754020691, -0.07387451827526093, 0.5161577463150024, 0.4467279613018036, -0.26545923948287964, 0.9602988958358765, -0.3726039230823517, -0.62961745262146, -0.015048917382955551, -0.09622103720903397, 0.2805124819278717, 0.2894834876060486, 0.2649494409561157, -1.1838518381118774, -0.30435580015182495, -0.007333750836551189, -0.897140622138977, -0.5218136310577393, 0.3744683861732483, -0.029179543256759644, 0.07147831469774246, 0.4533675014972687, -0.3248275816440582, 0.2561742663383484, 0.3680571913719177, -0.3250380754470825, 0.4760056138038635, 0.08135166019201279, 0.22779306769371033, -0.8055263161659241, 0.28808218240737915, 0.15736904740333557, 0.07356646656990051, -0.3378584682941437, 0.16734038293361664, -0.06373680382966995, 0.23881515860557556, -0.27612245082855225, 0.5717843174934387, -0.6099914908409119, -0.1964655965566635, -0.07811043411493301, 0.19191953539848328, -0.16047623753547668, -0.0836687758564949, -0.6226332187652588, 0.6811063885688782, 0.2611110806465149, -0.35181716084480286, 0.08036460727453232, 0.05363475903868675, -0.4147855043411255, 0.6942728161811829, -0.3672662377357483, -0.0636511743068695, -0.4766252338886261, 0.38018766045570374, -0.5093441009521484, -0.10257870703935623, 0.24809814989566803, -0.26337361335754395, 0.158391535282135, -0.15437090396881104, -0.6908292174339294, -0.2658482491970062, -0.48912742733955383, 0.8232870101928711, 0.47321975231170654, -0.5724507570266724, 0.6100314855575562, 0.6213491559028625, -0.21966244280338287, -1.5108819007873535, -0.5614965558052063, 0.12346358597278595, -0.29108545184135437, -0.46806544065475464, 0.3102986812591553, -0.2434317022562027, -0.7616675496101379, 0.12019401788711548, -0.060906171798706055, 0.05577712878584862, -0.11545256525278091, -0.08194632083177567, 0.22431357204914093, 0.05449735000729561, 0.00845656543970108, -0.19489741325378418, 0.2226821333169937, -0.12252863496541977, -0.40105557441711426, 0.4473922550678253, 0.1094403862953186, -0.5021000504493713, 0.11495767533779144, 0.515988826751709, 0.5198041796684265, 0.07441011816263199, 0.5469458103179932, 0.31383928656578064, -0.30279678106307983, -0.11549225449562073, -1.1882976293563843, 0.04463517665863037, -0.4501986801624298, 0.20606882870197296, 0.004004071466624737, -0.8697522282600403, 0.6894269585609436, 0.0002606628695502877, 0.18371516466140747, 0.2988941967487335, 0.33450156450271606, 0.08478118479251862, 1.1765291690826416, 0.8086384534835815, -0.2208746373653412, 0.7867032289505005, 0.14805789291858673, 0.5586578249931335, -0.8504170179367065, -0.49123820662498474, -0.8506688475608826, -0.3421754837036133, -0.7510213851928711, -0.29068523645401, 0.2819253206253052, 0.15772250294685364, -0.2940398156642914, -0.4057980179786682, -0.5779489874839783, 0.5181968212127686, 0.43969088792800903, -0.1536000669002533, 0.5515425205230713, 0.1058850884437561, -0.2274312824010849, -0.22458218038082123, -0.5082062482833862, -0.5010694861412048, 1.265016794204712, 0.26687711477279663, 1.165511965751648, 0.35636645555496216, 0.446649968624115, 0.6028791069984436, 0.3559185266494751, -0.49254313111305237, 0.3548024296760559, -0.22389721870422363, -0.8516286015510559, 0.019001677632331848, -0.6355714797973633, -0.8720488548278809, 0.5148742198944092, -0.1290418952703476, -0.7729487419128418, 0.4850477874279022, -0.14283344149589539, 0.3163906931877136, 0.4473033845424652, -0.8077605366706848, 0.4334297776222229, -0.3173765540122986, -0.56060391664505, 0.036868661642074585, -0.7240562438964844, 0.3881875276565552, -0.09218113869428635, 0.590472936630249, -0.19216148555278778, 0.13945241272449493, 0.6706809997558594, -0.05390749126672745, 0.38927528262138367, -0.4190180003643036, -0.1375647932291031, 0.15178024768829346, 0.015185873955488205, 0.4368879497051239, -0.2784663438796997, -0.3631788492202759, 0.23448446393013, 0.00718686543405056, -0.46123364567756653, -0.4197057783603668, 0.7556108236312866, -0.7676904201507568, -0.5449764132499695, -0.7635936737060547, -0.4809812903404236, -0.060414668172597885, 0.5665507912635803, 0.13599970936775208, 0.07833369821310043, -0.15461096167564392, 0.09955102950334549, 0.9243069887161255, -0.2911725342273712, 0.153353750705719, 0.5870229005813599, -0.4185674488544464, -0.23739226162433624, 0.7410375475883484, 0.3179543912410736, 0.18766839802265167, 0.1447187066078186, -0.15099887549877167, -0.24494390189647675, -0.5893763899803162, -0.08228806406259537, 0.21567226946353912, -0.8323636651039124, -0.3985026776790619, -0.48902270197868347, -0.12189313769340515, -0.7694958448410034, 0.1177523210644722, -0.237301304936409, -0.005370899569243193, -0.20844995975494385, 0.40803706645965576, -0.036745622754096985, 1.2823373079299927, -0.036969128996133804, 0.22926543653011322, -0.46872302889823914, -0.00926034152507782, -0.0794479176402092, 0.8168731331825256, 0.3084510862827301, -0.5069225430488586, -0.2114897072315216, -0.2049454152584076, -0.4848440885543823, -0.5950426459312439, 0.24745675921440125, -0.34283339977264404, 0.6279869079589844, 0.2555130422115326, 0.051934320479631424, 0.519383430480957, -0.7132784724235535, 0.5354644656181335, 0.21709439158439636, -0.6772533655166626, 0.32232990860939026, -0.32297995686531067, -0.012751564383506775, 0.7630751132965088, 0.3339805603027344, -0.7151222825050354, -0.18088093400001526, -0.4838402569293976, -1.3261537551879883, 0.7534258365631104, 0.0873887836933136, 0.009678106755018234, 0.23204098641872406, 0.29087504744529724, 0.11977230757474899, 0.4605752229690552, -0.9901660680770874, -0.41736990213394165, 0.3987760543823242, -0.21383020281791687, 0.20861300826072693, -0.2873348593711853, -0.11983154714107513, 0.07550741732120514, 0.8058815598487854, -0.07548344135284424, 0.19080987572669983, 0.016644109040498734, -0.3553178608417511, -0.2658652365207672, 0.588623046875, 0.13684341311454773, 0.6233445405960083, -0.2601162791252136, 0.03266884759068489, -0.23910777270793915, -0.3605816960334778, 0.16678251326084137, 0.3625214099884033, -0.3792702555656433, -0.13527192175388336, 0.0356627032160759, 0.31388184428215027, 0.1621513068675995, -0.9061678647994995, 0.8484719395637512, -0.23450008034706116, -0.050365131348371506, -0.3913235366344452, -0.22860081493854523, -0.2922108769416809, 0.47526243329048157, 0.9574991464614868, -0.14464397728443146, 0.4405001997947693, -0.4428471326828003, -0.14800184965133667, 0.8918070197105408, -0.2745864987373352, 0.11622203886508942, 0.5680518746376038, 0.10269631445407867, -0.1583320051431656, 0.5150424242019653, 0.03270930424332619, -0.36848169565200806, 0.34751030802726746, 0.35119539499282837, 0.6782251000404358, -0.10302607715129852, -0.023853234946727753, -0.28435882925987244, 0.3757346272468567, -0.49945205450057983, 0.03600846603512764, 0.14295850694179535, -0.7343775033950806, -0.11324259638786316, -0.49644291400909424, -0.47811558842658997, -0.02616162598133087, -0.8223010301589966, 0.3944723904132843, -0.026580223813652992, -0.13540954887866974, -0.11765339225530624, 0.08161189407110214, -0.7979961037635803, -0.29420530796051025, 0.24267521500587463, 0.851650059223175, -0.7167942523956299, 0.24336081743240356, 0.6906678080558777, -0.3809520900249481, -0.31545501947402954, 0.10834376513957977, 0.0849381610751152, -0.785448431968689, 0.6996330618858337, 0.050085339695215225, -0.010774137452244759, -0.26112842559814453, -0.6740021109580994, -0.8684146404266357, 1.1476826667785645, 0.5810229182243347, -0.6115893721580505, -0.2797428369522095, 0.195450559258461, 0.329118013381958, -0.1916871815919876, 0.7454861998558044, 0.4905940890312195, 0.4997735023498535, -0.06822919100522995, -1.0117989778518677, -0.14960728585720062, -0.22232848405838013, 0.12993144989013672, 0.3142002820968628, -0.7421890497207642, 0.8028061985969543, 0.1029331311583519, -0.17611578106880188, 0.010293289087712765, 0.2897579073905945, 0.22816525399684906, 0.5454175472259521, 0.42821192741394043, 0.5036212205886841, 0.7449654340744019, -0.12587933242321014, 0.8863335847854614, 0.04369053989648819, 0.49999505281448364, 0.7866852879524231, -0.8414798378944397, 0.4855995774269104, 0.8773247599601746, -0.20888446271419525, 0.44527915120124817, 0.4172799587249756, 0.13694998621940613, 0.47063854336738586, 0.4369785785675049, -0.4627267122268677, 0.1315309852361679, -0.5219948887825012, -0.6161466836929321, 0.0340309664607048, 0.2568775713443756, -0.38334715366363525, -0.5068700313568115, 0.11013532429933548, -0.11402879655361176, 0.09565889835357666, -0.21258336305618286, 0.6003121137619019, 0.03703727945685387, -0.6701985597610474, -0.09781622141599655, -0.012202235870063305, 1.2544831037521362, -0.5669909119606018, -0.16062411665916443, -0.388772189617157, 0.29387637972831726, -0.2887048125267029, -0.8985452651977539, -0.17586283385753632, 0.1007486954331398, -0.4577119052410126, -0.4314185082912445, 0.7826422452926636, -0.1537681519985199, -0.19021563231945038, 0.747730016708374, 0.758512556552887, 0.06906970590353012, 0.06250620633363724, -0.8407678008079529, 0.45226216316223145, 0.06829921156167984, -0.2623734772205353, 0.7581501007080078, 0.6274144649505615, -0.039899203926324844, 0.835616946220398, 0.2674771547317505, 0.20878946781158447, 0.17540079355239868, 0.2638465166091919, 0.7599101662635803, -0.7469491958618164, -0.2012883871793747, -0.7243135571479797, 0.2572857737541199, -0.09481988847255707, 0.0215534009039402, 0.6039354801177979, 0.4230843186378479, 0.8831685781478882, 0.24946720898151398, 0.8810195326805115, -0.25540685653686523, 0.4291701018810272, -0.3671932816505432, 0.6509060263633728, -0.6920061707496643, 0.6622872352600098, -0.4385211765766144, -1.1709253787994385, -0.2335725575685501, 0.24301832914352417, -0.18248046934604645, 0.47887536883354187, 0.5094816088676453, 0.6569386720657349, -0.06738605350255966, -0.16671216487884521, -0.020578620955348015, 0.11219588667154312, 0.3260132670402527, 0.2712952792644501, 0.9567857384681702, -0.515232503414154, 0.6487864255905151, 0.1203465536236763, -0.19764326512813568, -0.48802947998046875, -0.8734887838363647, -0.18694192171096802, -0.3935125172138214, -0.060945868492126465, -0.6778376698493958, 0.31511491537094116, 0.9104347825050354, 0.42119526863098145, -0.6439774632453918, -0.4360463321208954, 0.21178023517131805, 0.7296744585037231, 0.33927205204963684, -0.34746256470680237, -0.038097355514764786, -0.22652648389339447, -0.6554365754127502, -0.1676771640777588, 0.015409780666232109, -0.0892956331372261, -0.35690566897392273, 0.06031307950615883, -0.3526092767715454, -0.17971855401992798, 0.4724145531654358, 0.3281082808971405, -0.49481001496315, -0.2931709885597229, -0.1932745724916458, -0.31548887491226196, -0.050332531332969666, 0.9966045618057251, -0.7036417722702026, 0.35806894302368164, 0.34967154264450073, 0.7253214120864868, 0.019282320514321327, -0.24565567076206207, 0.5183680653572083, -0.5959109663963318, -0.11568368226289749, 0.4561055600643158, 0.31239452958106995, 0.3997262716293335, -0.4480425715446472, 0.5652334690093994, 0.09113777428865433, -0.9454500079154968, -1.3381767272949219, 0.14919917285442352, -0.730618417263031, -0.3140391409397125, 1.0510520935058594, 0.38199177384376526, 0.029018584638834, -0.025089893490076065, 0.014351890422403812, 0.14973676204681396, -0.36664509773254395, 0.9193415641784668, 0.972550630569458, -0.03678882122039795, 0.20582689344882965, -0.8986476063728333, 0.17281222343444824, 0.7097774147987366, -0.5913026928901672, 0.17340180277824402, 0.6781291961669922, 0.29836758971214294, 0.03857284411787987, 0.6900913715362549, -0.41127756237983704, 0.013128490187227726, -0.5718770623207092, 0.45177844166755676, 0.6522012948989868, -0.17955830693244934, -0.7395362854003906, 0.04187186062335968, 0.32914215326309204, 0.3112111985683441 ]
http://arxiv.org/abs/2404.11449v1
http://arxiv.org/pdf/2404.11449v1
AI-Enhanced Cognitive Behavioral Therapy: Deep Learning and Large Language Models for Extracting Cognitive Pathways from Social Media Texts
2024-04-17T14:55:27
2024-04-17T14:55:27
Meng Jiang, Yi Jing Yu, Qing Zhao, Jianqiang Li, Changwei Song, Hongzhi Qi, Wei Zhai, Dan Luo, Xiaoqin Wang, Guanghui Fu, Bing Xiang Yang
cs.CL
cs.CL, cs.LG
Cognitive Behavioral Therapy (CBT) is an effective technique for addressing the irrational thoughts stemming from mental illnesses, but it necessitates precise identification of cognitive pathways to be successfully implemented in patient care. In current society, individuals frequently express negative emotions on social media on specific topics, often exhibiting cognitive distortions, including suicidal behaviors in extreme cases. Yet, there is a notable absence of methodologies for analyzing cognitive pathways that could aid psychotherapists in conducting effective interventions online. In this study, we gathered data from social media and established the task of extracting cognitive pathways, annotating the data based on a cognitive theoretical framework. We initially categorized the task of extracting cognitive pathways as a hierarchical text classification with four main categories and nineteen subcategories. Following this, we structured a text summarization task to help psychotherapists quickly grasp the essential information. Our experiments evaluate the performance of deep learning and large language models (LLMs) on these tasks. The results demonstrate that our deep learning method achieved a micro-F1 score of 62.34% in the hierarchical text classification task. Meanwhile, in the text summarization task, GPT-4 attained a Rouge-1 score of 54.92 and a Rouge-2 score of 30.86, surpassing the experimental deep learning model's performance. However, it may suffer from an issue of hallucination. We have made all models and codes publicly available to support further research in this field.
[ -0.26262831687927246, -1.3191205263137817, 0.8151734471321106, 0.15985257923603058, -0.3019859492778778, 0.28701773285865784, -0.47603940963745117, -0.49979403614997864, 0.2662762999534607, 0.31121304631233215, -0.7099148035049438, -0.5275822877883911, -0.8230083584785461, -0.12399525940418243, -0.4520223140716553, 1.180877923965454, -0.02431049942970276, 0.28110530972480774, 0.19295527040958405, 0.22413866221904755, -0.7392706871032715, -0.542373538017273, -1.0018969774246216, -0.3405260145664215, 0.5008329749107361, 0.177345409989357, 0.4389454424381256, 0.07045980542898178, 0.6922945380210876, 0.2682170271873474, 0.025408875197172165, -0.09930958598852158, -0.44163715839385986, 0.1862088441848755, -0.07869604229927063, 0.004149169661104679, -0.5012590885162354, -0.19119635224342346, 0.2950223982334137, 0.5601611733436584, -0.19340917468070984, 0.06260368227958679, 0.21293862164020538, 0.6974171996116638, -0.32876235246658325, 0.08039773255586624, -0.4756523072719574, 0.24397115409374237, 0.10900935530662537, -0.14412488043308258, -0.1308109015226364, -0.517458438873291, 0.21819455921649933, -0.5342275500297546, 0.13146422803401947, -0.4812091886997223, 0.42311081290245056, 0.2434631884098053, -0.6868570446968079, -0.6029784679412842, -1.0307068824768066, 0.5230855345726013, -0.7193395495414734, 0.21716469526290894, 0.5343790650367737, 0.4728985130786896, 0.10782133042812347, -0.6300355195999146, -0.22796481847763062, -0.35652098059654236, -0.10713428258895874, 0.29013746976852417, -0.044729068875312805, 0.26540911197662354, 0.3391111195087433, 0.16858386993408203, -0.6605497002601624, -0.0100163035094738, -0.4672708511352539, -0.32639652490615845, 0.7877323031425476, 0.5342188477516174, 0.2759677767753601, 0.08008970320224762, 0.039754562079906464, 0.14717936515808105, -0.02859182097017765, -0.05283453315496445, -0.07333267480134964, 0.20099899172782898, -0.13533532619476318, 0.59621661901474, -0.17446184158325195, 0.30812352895736694, -0.0034150059800595045, -0.26058629155158997, -0.10127299278974533, -0.14970208704471588, -0.12780769169330597, 0.21982520818710327, 0.8732061982154846, 0.3951842188835144, 0.27551084756851196, -0.10853148996829987, 0.0900774598121643, 0.2470918595790863, 0.4616468548774719, -0.913773775100708, -0.2848997116088867, 0.33574727177619934, -0.4833754301071167, -0.22003275156021118, -0.30611705780029297, -0.7568429112434387, -0.5826785564422607, -0.40784287452697754, 0.2832774221897125, -0.8523798584938049, -0.519085705280304, 0.07318204641342163, -0.12722094357013702, 0.22882750630378723, 0.5436102747917175, -0.7438800930976868, 0.5228294134140015, 0.5971220135688782, 1.1949200630187988, -0.19954995810985565, 0.05438985303044319, -0.19887590408325195, 0.1621868908405304, -0.2246641218662262, 0.8543903231620789, -0.6573978066444397, -0.2649742066860199, 0.23417329788208008, -0.2912745177745819, -0.11281956732273102, -0.16759616136550903, 0.5911428928375244, -0.46350470185279846, 0.16180482506752014, -0.2954545021057129, -0.8027632832527161, -0.22262802720069885, 0.4924905598163605, -0.5519428253173828, 0.8022811412811279, -0.050194717943668365, -0.5508260130882263, -0.04624742269515991, -0.8665146231651306, -0.801917552947998, 0.03573549911379814, -0.12906210124492645, -0.05154338479042053, 0.1042436733841896, 0.4442806541919708, 0.745603084564209, -0.27734044194221497, 0.4431033730506897, -0.3486064374446869, -0.41815903782844543, 0.3033452332019806, -0.5542901754379272, 1.0223554372787476, 0.3454539477825165, -0.49768802523612976, 0.08099082857370377, -0.6951056122779846, -0.04768291488289833, 0.16473707556724548, -0.43704402446746826, -0.3411286473274231, -0.18529470264911652, 0.1707155853509903, 0.3851706385612488, -0.021414119750261307, -0.37707990407943726, 0.09480854123830795, -0.17636601626873016, 0.5637992024421692, 0.780020534992218, 0.37697553634643555, -0.01078536082059145, -0.2341429591178894, 0.5639877319335938, -0.11745026707649231, 0.18834085762500763, -0.04550950229167938, -0.5458122491836548, -0.42342573404312134, -0.4147682785987854, -0.21309641003608704, 0.5159384608268738, -0.6698139905929565, 0.5118692517280579, -0.2010093629360199, -0.827277421951294, -0.37393420934677124, 0.005058205686509609, 0.30054810643196106, 0.4063812792301178, 0.5337601900100708, -0.20423421263694763, -0.22684797644615173, -0.42529281973838806, -0.5602893233299255, 0.04263519495725632, 0.03287690877914429, 0.23189303278923035, 0.4469323754310608, -0.39064034819602966, 0.5629627704620361, -0.6099633574485779, -0.5545771718025208, -0.28752151131629944, 0.20661135017871857, -0.04803207144141197, 0.3246871531009674, 0.13010969758033752, -0.5560804009437561, -0.7123253345489502, -0.03175807371735573, -0.8555483222007751, 0.13878244161605835, -0.3706749975681305, 0.00543172936886549, -0.0923345685005188, 0.5491254329681396, -0.7560802698135376, 0.41532108187675476, 0.0658501386642456, -0.2501987814903259, 0.42446768283843994, -0.04240685701370239, 0.11124739050865173, -1.002089500427246, 0.05746333673596382, 0.15509115159511566, -0.18430617451667786, -0.692242443561554, -0.28846195340156555, -0.25659170746803284, -0.15044960379600525, -0.25422441959381104, 0.27383914589881897, -0.2115878462791443, 0.003945412579923868, -0.29773280024528503, 0.13664984703063965, -0.3070243000984192, 0.7853618860244751, 0.1754058301448822, 0.04127781093120575, 0.5470708608627319, -0.4218865633010864, 0.3354843258857727, 0.2150789201259613, 0.007681271061301231, 0.49874669313430786, -0.35807856917381287, 0.4463821351528168, -0.034432943910360336, 0.46193498373031616, -0.9823970198631287, -0.2839694619178772, 0.36543768644332886, -0.447603315114975, 0.12582075595855713, 0.2024804651737213, -0.2865754961967468, -0.08660416305065155, -0.37699952721595764, 0.46425971388816833, 0.3501340448856354, -0.01950712688267231, 0.6161208748817444, 0.33066052198410034, -0.2585447430610657, -0.20602630078792572, -0.624958336353302, 0.13548964262008667, -0.3135311007499695, -0.3007209897041321, 0.30384016036987305, -0.17239154875278473, -0.18472245335578918, -0.08758887648582458, 0.10228771716356277, -0.010620524175465107, 0.15879037976264954, 0.29021456837654114, 0.005886538419872522, -0.08463126420974731, 0.18110007047653198, 0.3719823360443115, -0.12259377539157867, 0.2945282757282257, -0.08951208740472794, 0.7910259366035461, -0.23545773327350616, -0.29362940788269043, -0.6988681554794312, 0.5165051221847534, 0.3485545217990875, -0.13879920542240143, 0.7377377152442932, 1.0611774921417236, -0.8078857064247131, 0.15737678110599518, -0.5040795207023621, -0.3047791123390198, -0.40186700224876404, 0.2612065374851227, 0.08106955140829086, -0.9751426577568054, 0.39043521881103516, -0.2760700583457947, 0.016934199258685112, 0.38908252120018005, 0.8100485801696777, -0.09636694192886353, 1.177046775817871, 0.5375593900680542, -0.13231292366981506, 0.6979443430900574, -0.35068073868751526, 0.2686273455619812, -0.7352498173713684, -0.08214659243822098, -0.10359963029623032, -0.12097075581550598, -0.4473482072353363, -0.10736265778541565, 0.40817415714263916, 0.06791796535253525, -0.5271502733230591, 0.1481914520263672, -0.5662906169891357, 0.1425996869802475, 0.37934601306915283, 0.5528067350387573, 0.4125475287437439, 0.1094856709241867, 0.04506395757198334, -0.1860159933567047, -0.3162726163864136, -0.41481316089630127, 1.1459650993347168, 0.359271764755249, 0.3886094093322754, 0.1031351238489151, 0.5938949584960938, 0.5664247870445251, 0.6487615704536438, -1.0454556941986084, 0.6062431335449219, 0.12365502864122391, -0.8706532716751099, -0.2878366708755493, -0.21672317385673523, -0.75466388463974, 0.03081662952899933, -0.3630789816379547, -0.9316962957382202, -0.07932834327220917, 0.002858551684767008, -0.5725415945053101, 0.040605928748846054, -0.5578356385231018, 0.7718192934989929, -0.7187868356704712, -0.19629138708114624, -0.6906720995903015, -0.6694057583808899, 0.5065204501152039, -0.4568019509315491, 0.16418194770812988, -0.030982989817857742, 0.21089980006217957, 0.8423227667808533, -0.288251131772995, 0.9909640550613403, -0.187623530626297, 0.10473576933145523, 0.23593345284461975, 0.23555517196655273, 0.40550392866134644, -0.08255675435066223, 0.10929793864488602, 0.23991641402244568, 0.059320054948329926, -0.32011479139328003, -0.7502508759498596, 0.49023711681365967, -0.7753168344497681, -0.3871774971485138, -0.3311690390110016, -0.3526993691921234, -0.40458357334136963, 0.3821190893650055, 0.19430556893348694, 0.31157946586608887, -0.2947311997413635, 0.008462872356176376, 0.33424001932144165, -0.40888944268226624, 0.3322046995162964, 0.5418117642402649, -0.11111294478178024, -0.5029535889625549, 0.9437675476074219, 0.07991140335798264, 0.07232241332530975, 0.2634648084640503, 0.3659503161907196, -0.059181686490774155, -0.7142572999000549, 0.12861967086791992, 0.2252107709646225, -0.8054601550102234, -0.07585974782705307, -0.702319860458374, -0.45442548394203186, -0.6840412020683289, -0.25914266705513, -0.2328435182571411, -0.276728093624115, -0.14272238314151764, -0.48948436975479126, 0.35985085368156433, 0.8379230499267578, -0.015404460951685905, 0.3059937655925751, -0.8330588340759277, 0.3570632338523865, 0.019938401877880096, 0.17926537990570068, 0.43081432580947876, -0.15828733146190643, -0.5347251296043396, 0.12421015650033951, -0.620328426361084, -1.0504333972930908, 0.4563579261302948, 0.07479988038539886, 0.206114262342453, 0.585350513458252, -0.005712161306291819, 0.9237555861473083, -0.2989443242549896, 0.7948217391967773, 0.4014551639556885, -0.7597707509994507, 0.7049214839935303, -0.48529279232025146, 0.004449126776307821, 0.4497997760772705, 0.7268747687339783, -0.7022011280059814, -0.4182722270488739, -0.5184792280197144, -1.002240777015686, 0.5584601163864136, 0.3686321973800659, 0.14772829413414001, -0.13519252836704254, 0.5302364826202393, 0.09848111122846603, 0.023016681894659996, -0.69637531042099, -0.05006455257534981, -0.27814269065856934, -0.5653281807899475, -0.04595240578055382, 0.03335704281926155, -0.0908256471157074, -0.4407934546470642, 0.6619265675544739, -0.10242854058742523, 0.5115092992782593, 0.4854644536972046, -0.2905937433242798, -0.25769704580307007, -0.0741020143032074, 0.3537009060382843, 0.3615560233592987, -0.28381597995758057, -0.026026654988527298, 0.06569292396306992, -0.679177463054657, 0.060998350381851196, 0.23521123826503754, 0.17623524367809296, -0.33308207988739014, 0.8426474928855896, 0.5096974968910217, -0.25033968687057495, -0.8211106657981873, 0.4076520502567291, -0.31771084666252136, -0.11042704433202744, -0.6939494013786316, 0.1084529384970665, 0.14979560673236847, 0.635848879814148, 0.26915866136550903, -0.07156956940889359, 0.5497277975082397, -0.6210179924964905, 0.08067646622657776, 0.5808634757995605, -0.6547210216522217, -0.3404013216495514, 0.4443349838256836, -0.00009291090827900916, -0.7030460238456726, 0.7035464644432068, 0.1925419718027115, -0.38196054100990295, 0.4697234332561493, 0.42300042510032654, 1.1886842250823975, -0.04574056714773178, 0.3581268787384033, 0.2594269812107086, 0.2610282897949219, 0.05074724927544594, -0.10197179764509201, -0.16362690925598145, -0.5972564816474915, -0.14908713102340698, -0.44619354605674744, -0.14394940435886383, 0.32052356004714966, -0.7062164545059204, 0.07347569614648819, -0.7285577654838562, -0.3068428039550781, 0.18579798936843872, 0.14262357354164124, -0.7719792723655701, 0.1956467479467392, 0.33512791991233826, 0.643674373626709, -0.8946346044540405, 0.7878906726837158, 0.7259600162506104, -0.6289724707603455, -0.8448796272277832, 0.37976136803627014, 0.14356555044651031, -0.556747555732727, 0.185685932636261, 0.3251208961009979, -0.11436837911605835, 0.09436975419521332, -0.33027327060699463, -0.8087753653526306, 1.2057421207427979, 0.4661482572555542, -0.3034440875053406, -0.07641155272722244, 0.392909437417984, 0.9757653474807739, -0.40437641739845276, 0.5261459350585938, 0.5803496837615967, 0.32876041531562805, -0.07776030153036118, -0.5147974491119385, 0.47699832916259766, -0.2731458842754364, -0.09529402107000351, -0.10837221890687943, -0.5471320152282715, 0.3334865868091583, -0.045541055500507355, -0.18990559875965118, -0.08289842307567596, 0.2457776665687561, 0.04413994029164314, 0.4195798635482788, 0.2575404942035675, 0.29567065834999084, 0.8440396785736084, 0.332143098115921, 0.9513880610466003, -0.19920410215854645, 0.32678288221359253, 0.7976886034011841, -0.20336425304412842, 0.7321516871452332, 0.16680067777633667, 0.01780000701546669, 0.5034927725791931, 0.8614476323127747, 0.18791912496089935, 0.5034084916114807, -0.13728807866573334, -0.1321847140789032, -0.23061613738536835, -0.008221830241382122, -0.06880388408899307, 0.0034512558486312628, 0.6202514171600342, -0.34619632363319397, -0.04264071583747864, 0.17095635831356049, 0.15207652747631073, -0.09848882257938385, -0.31503912806510925, 1.0567537546157837, 0.39688432216644287, -0.7219298481941223, 0.3862735629081726, -0.05244198814034462, 0.24266524612903595, -0.5156988501548767, -0.12415172904729843, -0.2964426875114441, 0.3838295042514801, -0.2568831443786621, -0.5757049322128296, 0.4811924695968628, 0.09988060593605042, 0.23507630825042725, -0.08167838305234909, 1.0122919082641602, -0.2737518548965454, -0.7359907031059265, 0.623929500579834, 0.6183997988700867, 0.10338861495256424, -0.38120096921920776, -1.1586811542510986, -0.1790475845336914, -0.10279708355665207, -0.5640354752540588, 0.28742989897727966, 0.38596993684768677, -0.2742575705051422, 0.5588727593421936, 0.7918007969856262, -0.14054615795612335, -0.17476622760295868, 0.06882499158382416, 0.9446239471435547, -1.0473212003707886, -0.3250234127044678, -1.2426141500473022, 0.5091381072998047, -0.20246438682079315, -0.2832769751548767, 0.5350918173789978, 0.3121948838233948, 0.44227173924446106, 0.21067842841148376, 0.8009241223335266, 0.07108020782470703, 0.3468802273273468, -0.5078137516975403, 0.5574924945831299, -0.502538800239563, 0.29294553399086, -0.5845391750335693, -0.7858275175094604, -0.45481669902801514, 0.5956566333770752, -0.4503699541091919, 0.18315242230892181, 0.9769281148910522, 0.5050808191299438, 0.13520468771457672, 0.20196124911308289, -0.06841841340065002, 0.46692001819610596, 0.6468721032142639, 0.7010364532470703, 0.8476845026016235, -0.17264758050441742, 0.4692983627319336, -0.33564409613609314, -0.2986663579940796, -0.15750522911548615, -0.6554177403450012, -1.1290147304534912, -0.5462960004806519, -0.24236653745174408, -0.33463627099990845, 0.2156279981136322, 1.0740654468536377, 0.38067665696144104, -0.5530683398246765, -0.07276192307472229, -0.30695047974586487, -0.06261517107486725, -0.5949215292930603, -0.23955385386943817, 0.6211453080177307, -0.12873581051826477, -0.09647757560014725, 0.04987157881259918, 0.2377406507730484, -0.18237079679965973, -0.26690226793289185, -0.1729191094636917, -0.22487439215183258, 0.0558905303478241, 0.6924371123313904, -0.1724834144115448, -0.5188921093940735, -0.031539756804704666, 0.02996048517525196, -0.1618097722530365, -0.015339303761720657, 1.0615746974945068, -0.5960868000984192, 0.09718608856201172, 0.285462886095047, 0.7424739003181458, 0.7886426448822021, -0.001202718704007566, 0.5429937243461609, -0.25094839930534363, -0.23492059111595154, 0.4969881474971771, 0.14995697140693665, 0.35978010296821594, -0.7161474823951721, 0.5016948580741882, 0.3072846531867981, -0.3425184190273285, -0.6874200701713562, 0.04238478094339371, -1.0292049646377563, -0.7336643934249878, 1.1162952184677124, -0.15782028436660767, -0.11551093310117722, -0.2606430947780609, -0.5131157636642456, 0.6339055299758911, -0.33229729533195496, 1.2163491249084473, 0.655949056148529, -0.4160681962966919, -0.05716254189610481, -0.6957002282142639, 0.5285678505897522, 0.1760764867067337, -0.8633676767349243, 0.10341238975524902, 0.4414343237876892, 0.18544083833694458, 0.19228799641132355, 1.0386767387390137, -0.03847184777259827, 0.1043560653924942, -0.23173317313194275, -0.16756708920001984, -0.0007412352715618908, -0.046277936547994614, -0.40345078706741333, 0.017650181427598, -0.28368812799453735, 0.3787727355957031 ]
http://arxiv.org/abs/2404.11447v1
http://arxiv.org/pdf/2404.11447v1
Research on emotionally intelligent dialogue generation based on automatic dialogue system
2024-04-17T14:55:03
2024-04-17T14:55:03
Jin Wang, JinFei Wang, Shuying Dai, Jiqiang Yu, Keqin Li
cs.AI
cs.AI, cs.CL
Automated dialogue systems are important applications of artificial intelligence, and traditional systems struggle to understand user emotions and provide empathetic feedback. This study integrates emotional intelligence technology into automated dialogue systems and creates a dialogue generation model with emotional intelligence through deep learning and natural language processing techniques. The model can detect and understand a wide range of emotions and specific pain signals in real time, enabling the system to provide empathetic interaction. By integrating the results of the study "Can artificial intelligence detect pain and express pain empathy?", the model's ability to understand the subtle elements of pain empathy has been enhanced, setting higher standards for emotional intelligence dialogue systems. The project aims to provide theoretical understanding and practical suggestions to integrate advanced emotional intelligence capabilities into dialogue systems, thereby improving user experience and interaction quality.
[ -0.627041757106781, -0.980877161026001, 0.7205578684806824, 0.020510394126176834, 0.008358112536370754, 0.28636252880096436, 0.12665563821792603, -0.698717474937439, 0.2627665400505066, 0.3972169756889343, -0.8325726985931396, -0.2886876165866852, -0.2450028508901596, 0.3717714548110962, -0.15930798649787903, 0.5656216144561768, 0.14849065244197845, 0.2530367970466614, 0.10846154391765594, -0.20709672570228577, -0.4070385992527008, -0.3904036283493042, -0.7240816950798035, -0.28875353932380676, 0.1556011438369751, 0.550558865070343, 0.5166052579879761, 0.13219405710697174, 0.679548442363739, 0.4596152603626251, 0.3995688855648041, 0.17618826031684875, 0.06841274350881577, 0.27144888043403625, 0.1065635159611702, -0.14972229301929474, -0.6792372465133667, 0.10819845646619797, -0.05428066477179527, 0.034629449248313904, -0.17210280895233154, -0.007353974971920252, -0.2028530240058899, 0.4739851951599121, -0.2383871078491211, 0.04103770852088928, -0.3277718126773834, 0.5898486375808716, 0.39942365884780884, -0.056267667561769485, -0.2687229514122009, -0.49343928694725037, 0.2003946155309677, -0.429719477891922, -0.34387922286987305, 0.3084411919116974, 0.7482275366783142, 0.5951091647148132, -0.5153788924217224, -0.5119168162345886, -0.8840922117233276, 0.7141642570495605, -0.9926203489303589, -0.05270271375775337, 0.044488225132226944, 0.4650603234767914, 0.1721159964799881, -0.5185472369194031, -0.7760300040245056, -0.3574662208557129, 0.07543201744556427, 0.2854868471622467, -0.3765396773815155, 0.36758795380592346, 0.20044004917144775, 0.22718317806720734, -0.3663434684276581, 0.03532709181308746, -0.08982909470796585, 0.23653385043144226, 1.0644794702529907, 0.5643458962440491, 0.5947405099868774, -0.3052822947502136, -0.008667523972690105, 0.17133352160453796, -0.08945684880018234, -0.029497381299734116, 0.4139958322048187, 0.06060120835900307, 0.048486314713954926, 0.47808387875556946, -0.23247922956943512, 0.4775872528553009, 0.2653734087944031, 0.3865233361721039, 0.3216448128223419, -0.17073297500610352, -0.4530501663684845, 0.19008687138557434, 0.9394547939300537, 0.6458404660224915, 0.512769341468811, 0.36567965149879456, -0.1939791440963745, 0.011016882956027985, 0.3573753833770752, -0.8277004361152649, -0.06072342023253441, 0.31421276926994324, -0.6402415633201599, -0.5977985858917236, -0.14798365533351898, -0.7106780409812927, -0.42891138792037964, -0.4701704978942871, 0.11105333268642426, -0.6164625883102417, -0.5170754790306091, 0.05272819474339485, -0.08387192338705063, 0.1819794476032257, 0.34310483932495117, -0.7152239084243774, 0.34313568472862244, 0.4285455048084259, 0.47669100761413574, 0.330417662858963, 0.0748884379863739, -0.2862071692943573, -0.15427617728710175, 0.01716618984937668, 0.9014169573783875, -0.7413344979286194, -0.31562453508377075, 0.03368430584669113, -0.2295491248369217, 0.05472927168011665, -0.5192425847053528, 0.4719070494174957, -0.16128331422805786, 0.06709353625774384, 0.2759534418582916, -0.45971184968948364, -0.28991150856018066, 0.33302053809165955, -0.39464113116264343, 0.6148400902748108, 0.17438535392284393, -0.27738896012306213, 0.10286717116832733, -1.0941060781478882, -0.36718887090682983, 0.29637882113456726, -0.07118640840053558, -0.12803618609905243, 0.30186572670936584, 0.19257156550884247, 0.3910087049007416, -0.42992138862609863, 0.423321008682251, -0.26619476079940796, -0.1006445661187172, 0.3977353870868683, -0.34773433208465576, 0.5360482335090637, 0.4852869510650635, -0.6365145444869995, 0.05461513251066208, -0.6256542801856995, 0.23511528968811035, 0.11736944317817688, 0.05852832645177841, -0.11536949872970581, 0.007916385307908058, -0.08510346710681915, 0.3783455193042755, -0.000621659797616303, -0.6482666730880737, 0.21029213070869446, -0.5859583616256714, 0.418295294046402, 0.4915134310722351, 0.21070852875709534, 0.46295303106307983, 0.006317456718534231, 0.550476610660553, 0.05699422210454941, 0.32375892996788025, -0.07765759527683258, -0.4202430248260498, -0.9557970762252808, 0.09795081615447998, -0.036575451493263245, 1.046028971672058, -0.3923362195491791, 0.770912230014801, 0.22555264830589294, -0.5113644599914551, -0.942279577255249, -0.14222869277000427, 0.3390170931816101, 0.4991048276424408, 0.11843696981668472, -0.33132317662239075, -0.45118796825408936, -0.9507637023925781, -0.17646238207817078, -0.16924959421157837, -0.04730306565761566, 0.8251527547836304, 0.4054877758026123, -0.489217609167099, 0.9435738921165466, -0.38146811723709106, -0.08710738271474838, -0.26869145035743713, 0.6681360602378845, -0.11724916100502014, 0.6689351201057434, 0.39806386828422546, -0.738555371761322, -0.5017184615135193, 0.02428826130926609, -1.0482287406921387, -0.38223668932914734, 0.02925003692507744, -0.09419221431016922, 0.12322475761175156, 0.3028257489204407, -0.7076675891876221, 0.6185194849967957, 0.20730939507484436, -0.4106912910938263, 0.19625993072986603, -0.034236934036016464, 0.6004003286361694, -1.05472731590271, -0.021019140258431435, 0.024241458624601364, 0.24182583391666412, -0.8509529232978821, -0.4135500490665436, -0.3322662115097046, -0.5110015273094177, -0.4604037404060364, 0.5228204727172852, -0.05679170787334442, -0.026807455345988274, -0.32073330879211426, 0.05410143733024597, 0.1316712349653244, 0.452808141708374, 0.007573575247079134, 0.15757940709590912, 0.2862832546234131, -0.43059611320495605, 1.0164719820022583, 0.35738328099250793, -0.0891859158873558, 0.9591864943504333, -0.6232688426971436, 0.16008205711841583, 0.20754018425941467, 0.10303165018558502, -0.649142861366272, -0.48395052552223206, 0.4012244641780853, -0.7301322221755981, 0.2033589482307434, 0.5037435293197632, -0.22732630372047424, -0.5354874730110168, 0.023606514558196068, 0.37412652373313904, 0.6556034684181213, -0.12689965963363647, 0.8955329060554504, 0.3594585955142975, -0.6619863510131836, -0.1074107438325882, -0.35833436250686646, 0.35852277278900146, -0.15843704342842102, -0.8796637654304504, -0.03785670921206474, -0.30657365918159485, -0.7810857892036438, 0.03554070368409157, 0.5398305654525757, -0.060431089252233505, 0.14303435385227203, 0.2982955873012543, -0.04299915209412575, -0.13765358924865723, 0.31464511156082153, 0.45429420471191406, -0.26948481798171997, 0.30822473764419556, 0.05224275216460228, 0.4877530038356781, -0.34142282605171204, -0.7192351818084717, -1.0921303033828735, 0.9085747003555298, 0.784931480884552, -0.41994187235832214, 0.33501723408699036, 0.5136920213699341, -0.3681163787841797, -0.008913304656744003, -0.6460463404655457, -0.37558692693710327, -0.44992128014564514, 0.2611382305622101, -0.2407558560371399, -0.47927209734916687, 0.26625892519950867, -0.47011512517929077, 0.03182756528258324, 0.4627552628517151, 0.5910066962242126, -0.2725732922554016, 2.0746824741363525, 0.4730096161365509, 0.005254783667623997, 0.46776655316352844, -0.005619838368147612, 0.5309234261512756, -0.6015019416809082, -0.22636757791042328, -0.41896575689315796, -0.565283477306366, -0.25368377566337585, 0.23905307054519653, 0.07461047172546387, -0.2827851474285126, -0.7039142847061157, -0.26948845386505127, -0.8649576902389526, -0.005746110342442989, 0.7687010169029236, 0.139350026845932, -0.08045394718647003, -0.19832591712474823, 0.011220968328416348, 0.005859570112079382, -0.29752644896507263, -0.5395739674568176, 0.5283561944961548, 0.40986788272857666, 0.6244511604309082, -0.03762029483914375, 0.7319930791854858, 0.5373706221580505, 0.17488859593868256, -1.0248721837997437, 0.4826992452144623, 0.20749498903751373, -0.25042784214019775, -0.3103111684322357, -0.05997642129659653, -0.6276781558990479, -0.5135679244995117, -0.10340381413698196, -0.6539259552955627, 0.17061196267604828, -0.009229930117726326, -0.7979242205619812, 0.05609700456261635, -0.8725998401641846, 0.3921163082122803, -0.543317973613739, -0.06676070392131805, -0.34130924940109253, -0.9020764827728271, 0.14165814220905304, 0.0845869779586792, 0.09784211963415146, -0.26783016324043274, 0.4899060130119324, 0.6799398064613342, -0.3928326666355133, 0.8402941226959229, -0.3799586594104767, -0.0047554876655340195, 0.35012710094451904, 0.24947737157344818, 0.3990582823753357, 0.018174882978200912, -0.32424482703208923, -0.17448435723781586, -0.6181176900863647, -0.13980552554130554, -0.7913433909416199, 0.5182474255561829, -0.8467980027198792, -0.5884537696838379, -0.23193193972110748, -0.7634471654891968, -0.21783585846424103, -0.15161782503128052, -0.027259916067123413, 0.20624443888664246, -0.2509758770465851, -0.16416864097118378, 0.5981893539428711, -0.34438014030456543, 0.43469077348709106, 0.354459673166275, 0.22943300008773804, -0.3869030475616455, 0.8041780591011047, -0.121319979429245, 0.03771510347723961, 0.09466781467199326, 0.04857155308127403, 0.1586047112941742, -0.16787154972553253, -0.6801791787147522, 0.0005063400021754205, -0.3856840133666992, -0.3586820363998413, -0.7436128854751587, -0.4332462251186371, -0.6410694122314453, -0.5400427579879761, -0.2569011449813843, -0.13788637518882751, -0.3855401575565338, -0.35436519980430603, 0.6463125348091125, 1.1420761346817017, -0.043417759239673615, 0.24711349606513977, -1.341921329498291, 0.05157119408249855, 0.5294488668441772, 0.06316948682069778, -0.0007625588332302868, 0.020286157727241516, -0.2963211238384247, 0.08076666295528412, -0.36859092116355896, -0.9196537137031555, 1.0206700563430786, 0.21785292029380798, 0.41067513823509216, 0.6962063312530518, 0.223716139793396, 0.37422096729278564, -0.32852882146835327, 0.9895194172859192, 0.21554255485534668, -1.1820091009140015, 0.9063902497291565, -0.2686160206794739, 0.43464231491088867, 0.4399011731147766, 0.04908837750554085, -0.36270856857299805, -0.4968685507774353, -0.7825661897659302, -0.6234589219093323, 0.7623359560966492, 0.07658492773771286, 0.17609064280986786, 0.0680423304438591, 0.2454674243927002, -0.06003876030445099, 0.2849765717983246, -0.44506216049194336, 0.09596582502126694, -0.14066056907176971, -0.8804482817649841, 0.3569850027561188, -0.10583982616662979, -0.2731681168079376, -0.2619428038597107, 0.6105390191078186, -0.2119024693965912, 0.6241507530212402, 0.09798036515712738, 0.01794496178627014, -0.5009000301361084, 0.17440253496170044, 0.3673590421676636, 0.010536412708461285, -0.11618134379386902, -0.31580543518066406, 0.4005603790283203, -0.22734007239341736, 0.05974433198571205, 0.12633082270622253, 0.21961966156959534, -0.12368986010551453, 0.04278687387704849, 0.8165801763534546, -0.11031563580036163, -0.9748796820640564, 0.3241027593612671, -0.38947397470474243, -0.22204895317554474, -0.47316059470176697, 0.24964380264282227, -0.05429035797715187, 0.7811333537101746, 0.35665932297706604, 0.13431698083877563, 0.46774882078170776, -0.5016919374465942, 0.14499548077583313, 0.3387185335159302, -0.7042467594146729, -0.13389979302883148, 0.24512235820293427, 0.8417362570762634, -0.9805236458778381, 1.0209758281707764, -0.10340405255556107, -0.8186075091362, 0.8672751188278198, 0.28241023421287537, 1.1155805587768555, -0.6649112701416016, 0.17361436784267426, 0.15067067742347717, -0.059304654598236084, 0.4971725642681122, 0.6100888252258301, -0.08165918290615082, -0.6103350520133972, -0.03619280084967613, -0.38163015246391296, -0.7272360324859619, -0.38398340344429016, -0.5746893882751465, 0.09500882029533386, -0.26768016815185547, -0.13990572094917297, -0.32688847184181213, 0.1408918797969818, -0.6536422371864319, 0.7264347076416016, 0.5257163047790527, 0.704904317855835, -0.8330727815628052, 0.45363283157348633, 0.4056745767593384, -0.25453826785087585, -0.9442639350891113, -0.25179335474967957, 0.08323647081851959, -0.8761330842971802, 1.0621325969696045, 0.34361732006073, -0.34789782762527466, 0.27086588740348816, -0.8070040941238403, -0.48499757051467896, 1.1198524236679077, -0.07489140331745148, -0.3879028558731079, -0.05729907751083374, 0.05048968642950058, 0.6314396858215332, -0.9594497084617615, 0.8046135902404785, 0.49433156847953796, 0.6472965478897095, 0.046686261892318726, -0.7140272259712219, 0.02503032051026821, -0.9155817627906799, -0.3046722114086151, 0.2871190011501312, -0.6808486580848694, 0.7218843698501587, -0.01727466471493244, -0.016247540712356567, 0.2816961705684662, 0.47990867495536804, -0.003081862349063158, 0.6169272661209106, 0.43020549416542053, 0.6253363490104675, 0.6481019854545593, -0.06270746141672134, 0.7159644961357117, -0.6333121061325073, 0.021335089579224586, 0.577006459236145, -0.5962802767753601, 0.45540109276771545, 0.2462238073348999, 0.47914400696754456, 0.8005692958831787, 0.7084600329399109, -0.11468849331140518, 0.22013896703720093, 0.10682235658168793, -0.61214280128479, -0.35549718141555786, -0.573843777179718, -0.2921667993068695, 0.4935626685619354, 0.6967543959617615, -0.5723735690116882, 0.3365699052810669, 0.5527791976928711, -0.1358996331691742, -0.29318058490753174, -0.2298654019832611, 1.2054386138916016, 0.09742898494005203, -0.7148725986480713, 0.053834207355976105, -0.30272021889686584, 0.38418182730674744, -0.41131117939949036, -0.2540593147277832, -0.09148833900690079, 0.10696855187416077, -0.2376440018415451, -0.7800918221473694, 0.15211400389671326, 0.27415409684181213, 0.09043598175048828, -0.1906944364309311, 0.8537721037864685, -0.021018125116825104, -0.42641302943229675, 0.4286830425262451, 0.6732856631278992, 0.2461787462234497, -0.014958341605961323, -0.9179414510726929, -0.16528499126434326, 0.05651215836405754, -0.6336334943771362, 0.06756224483251572, 0.8218587040901184, 0.4510415196418762, 0.7671085000038147, 0.42016395926475525, -0.16274285316467285, -0.4693203866481781, 0.24917884171009064, 0.8109936714172363, -1.0298609733581543, -0.10119842737913132, -0.8270717263221741, 0.7906922698020935, -0.48820602893829346, -0.21280518174171448, 0.3529428541660309, 0.07228394597768784, 0.15013857185840607, 0.06337804347276688, 1.054819941520691, -0.17426683008670807, 0.4826640188694, -0.11491876095533371, 0.6984888911247253, -0.6121734976768494, -0.12486390769481659, -0.4714665114879608, -0.4709702432155609, -0.38379549980163574, 0.6417406797409058, -0.23222170770168304, 0.026231899857521057, 0.48885366320610046, 0.6063082218170166, 0.2651936411857605, 0.3773742914199829, 0.3394119441509247, 0.2244042307138443, 0.2753853499889374, 0.7251713275909424, 1.1215347051620483, -0.22303210198879242, 0.35652822256088257, -0.12951427698135376, -0.3722875714302063, -0.5636885762214661, -0.5055240392684937, -0.5466241240501404, -0.35354992747306824, -0.2242947220802307, -0.26578837633132935, -0.015471366234123707, 1.1970497369766235, 0.4973822832107544, -0.7315443754196167, -0.1573551446199417, -0.26798298954963684, -0.17775680124759674, 0.041506052017211914, -0.34410712122917175, -0.0372948981821537, -0.19787196815013885, -1.108858585357666, 0.286284476518631, 0.6325876116752625, 0.11970784515142441, -0.24985328316688538, -0.4549632966518402, -0.10162016749382019, 0.6522353291511536, 0.40879133343696594, 0.2352936714887619, -0.4570685029029846, -0.3186928331851959, 0.27147358655929565, -0.20163777470588684, 0.054763905704021454, 0.6751292943954468, -0.8830959796905518, 0.47008031606674194, 0.4403688311576843, 0.47293224930763245, -0.10334677249193192, 0.052032068371772766, 0.9903349280357361, -0.04099355265498161, -0.09415704756975174, 0.7574344277381897, 0.37497439980506897, 0.1403774619102478, -0.7429177165031433, 0.36826249957084656, 0.05669428035616875, -0.9873673319816589, -0.7070833444595337, 0.5148420333862305, -0.8702738881111145, -0.06772354990243912, 0.736625611782074, -0.14241977035999298, 0.011576694436371326, -0.2281075417995453, -0.8433268666267395, 0.6953403949737549, -0.7184867262840271, 0.8198051452636719, 0.38233327865600586, -0.8703305721282959, -0.34687548875808716, -0.28375038504600525, 0.32334592938423157, 0.504274845123291, -1.0472630262374878, -0.2878788411617279, 0.46446549892425537, -0.5825014710426331, 0.273213267326355, 0.2531008720397949, 0.3051946461200714, 0.3143080472946167, 0.043061502277851105, 0.2963773012161255, 0.0569608099758625, -0.010311668738722801, -0.3048248589038849, 0.22981610894203186, -0.1963980346918106, 0.1414981633424759 ]
http://arxiv.org/abs/2404.11446v1
http://arxiv.org/pdf/2404.11446v1
Open-Ended Wargames with Large Language Models
2024-04-17T14:54:58
2024-04-17T14:54:58
Daniel P. Hogan, Andrea Brennen
cs.CL
cs.CL, cs.AI, cs.CY
Wargames are a powerful tool for understanding and rehearsing real-world decision making. Automated play of wargames using artificial intelligence (AI) enables possibilities beyond those of human-conducted games, such as playing the game many times over to see a range of possible outcomes. There are two categories of wargames: quantitative games, with discrete types of moves, and qualitative games, which revolve around open-ended responses. Historically, automation efforts have focused on quantitative games, but large language models (LLMs) make it possible to automate qualitative wargames. We introduce "Snow Globe," an LLM-powered multi-agent system for playing qualitative wargames. With Snow Globe, every stage of a text-based qualitative wargame from scenario preparation to post-game analysis can be optionally carried out by AI, humans, or a combination thereof. We describe its software architecture conceptually and release an open-source implementation alongside this publication. As case studies, we simulate a tabletop exercise about an AI incident response and a political wargame about a geopolitical crisis. We discuss potential applications of the approach and how it fits into the broader wargaming ecosystem.
[ -0.38711652159690857, -0.9501234889030457, 0.6096835136413574, 0.18357598781585693, -0.07417825609445572, 0.11184216290712357, -0.2832021713256836, -0.2999584972858429, -0.10831521451473236, 0.8321069478988647, -0.6213663220405579, -0.7705336809158325, -0.23699474334716797, -0.3440839648246765, -0.2897980511188507, 0.8856111764907837, -0.007971148937940598, -0.21724414825439453, -0.34826284646987915, -0.25686484575271606, -0.09145563095808029, -0.5461689233779907, -0.5904010534286499, -0.7539863586425781, 0.22218869626522064, 0.5465459227561951, 1.235231637954712, 0.48989832401275635, 0.6136538982391357, 0.4149044156074524, 0.20342423021793365, 0.08010531961917877, -0.6987316608428955, 0.30058929324150085, -0.14666087925434113, -0.5266693830490112, -0.21068257093429565, 0.28068649768829346, 0.28977465629577637, 0.05801653116941452, -0.4114780128002167, 0.3365928530693054, -0.3236847519874573, 0.2598072588443756, -0.31331178545951843, 0.35161206126213074, -0.22706761956214905, 0.36856600642204285, 0.23933985829353333, 0.12475099414587021, -0.22186769545078278, -0.041079580783843994, 0.24785205721855164, -1.1951473951339722, -0.10318146646022797, 0.2894989252090454, 0.525885820388794, 0.31698524951934814, -0.20890024304389954, -0.1628299206495285, -1.0945541858673096, 0.672928512096405, -0.8159778714179993, 0.08148400485515594, 0.24856260418891907, 0.45902037620544434, -0.4175303876399994, -0.57328861951828, -0.5403040647506714, -0.3295053243637085, 0.2769679129123688, 0.6678148508071899, -0.4541340172290802, 0.34542116522789, 0.2678634822368622, 0.10359048843383789, -0.5903913974761963, 0.3047182857990265, -0.22396588325500488, 0.3370392620563507, 0.901261568069458, 0.40924501419067383, 0.47752150893211365, 0.221191868185997, -0.27071696519851685, 0.064371258020401, -0.5297386050224304, 0.064676433801651, 0.3101006746292114, -0.024727342650294304, -0.5426238775253296, 0.9827962517738342, -0.05673016607761383, 0.6012767553329468, -0.1082056313753128, -0.14879539608955383, -0.36371198296546936, 0.12190525233745575, -0.22553330659866333, 0.21190841495990753, 0.8694485425949097, 0.5876414775848389, 0.26340919733047485, -0.24601377546787262, -0.2193894237279892, 0.1907958835363388, 0.22649289667606354, -0.5369736552238464, -0.080643430352211, 0.561529815196991, -0.5431272387504578, -0.27765294909477234, -0.17866256833076477, -0.7516553401947021, -0.6128636598587036, -0.17558333277702332, 0.48002928495407104, -0.38559961318969727, -0.24244002997875214, 0.18977315723896027, -0.4408893585205078, 0.21124793589115143, 0.2741718888282776, -0.4333210587501526, 0.3887977600097656, 0.7383642196655273, 1.055570125579834, -0.052903831005096436, -0.40837177634239197, -0.5537773370742798, 0.1317846029996872, -0.4918176829814911, 0.7197396159172058, -0.494159460067749, -0.5215756297111511, 0.18441349267959595, -0.43192750215530396, 0.6517929434776306, -0.7614691257476807, 0.13236118853092194, -0.8078757524490356, 0.5493709444999695, 0.5390354990959167, -0.4693218469619751, -0.242798313498497, 0.5678500533103943, -0.8642250895500183, 0.7941167950630188, 0.04600272327661514, -0.4177314043045044, 0.16598881781101227, -1.0233854055404663, -0.36553630232810974, 0.20134495198726654, -0.001983840484172106, -0.2899884879589081, 0.2609228491783142, 0.021395571529865265, 0.026175474748015404, -0.8109354376792908, 0.08600971102714539, -0.4292096793651581, -0.2691153585910797, 0.0956481322646141, -0.00629126001149416, 0.707301676273346, 0.13337260484695435, -0.531894326210022, 0.5334923267364502, -0.3626320958137512, 0.09654203057289124, 0.24513530731201172, -0.24311424791812897, -0.1324732005596161, 0.4713371694087982, -0.34177297353744507, 0.3716224730014801, 0.007386363577097654, -0.381865918636322, 0.29167038202285767, -0.41197019815444946, 0.409633070230484, 0.4471595585346222, -0.106147900223732, 0.5196018815040588, -0.665902316570282, 0.738490641117096, 0.10057365149259567, 0.43926548957824707, 0.25277355313301086, -0.7437425255775452, -0.40089306235313416, -0.19491378962993622, 0.2968500554561615, 0.9957202076911926, -1.3384793996810913, 0.1520397663116455, 0.035909246653318405, -0.7935015559196472, -0.652345597743988, -0.4264269471168518, -0.041012242436409, 0.08636343479156494, 0.14405786991119385, -0.18316876888275146, -0.4613609313964844, -0.3785313069820404, -0.052571382373571396, -0.6574970483779907, -0.05956251919269562, 0.3551931083202362, 0.39153534173965454, 0.03224525973200798, 1.0997157096862793, -0.4232948422431946, -0.22203433513641357, -0.3868590295314789, 0.44463905692100525, -0.1527385413646698, 0.06122835353016853, 0.26709336042404175, -0.7454984784126282, -0.026581427082419395, 0.05953650549054146, -1.1613612174987793, 0.009149555116891861, -0.27702757716178894, -0.05797392874956131, -0.019690126180648804, 0.45909446477890015, -0.7906249761581421, 0.42571645975112915, 0.6316602826118469, -0.2852891981601715, 0.7139028906822205, -0.3712383806705475, 0.3752295970916748, -0.7568479776382446, 0.04697563871741295, -0.242855966091156, -0.10743040591478348, -0.8180091977119446, 0.47223472595214844, -0.5178484916687012, -0.43714600801467896, -0.7415969967842102, 0.7193506956100464, -0.46260979771614075, -0.28236204385757446, -0.25791606307029724, 0.5924673676490784, -0.09627491980791092, 0.03885188326239586, 0.20201218128204346, 0.5402622818946838, 0.47655561566352844, -0.4952039420604706, 0.8379095196723938, 0.2465924173593521, -0.5127630233764648, 0.4749060273170471, -0.6793117523193359, -0.18616072833538055, -0.08577409386634827, 0.10438868403434753, -0.42254239320755005, 0.046662259846925735, 0.2040552943944931, -0.3027489483356476, -0.4193895757198334, 0.15004295110702515, -0.5391724109649658, -0.4331094026565552, -0.20552170276641846, 0.3874955177307129, 0.6894955039024353, -0.26908475160598755, 0.7161046862602234, 0.7235697507858276, -0.11960150301456451, -0.3177560567855835, -0.5561096668243408, 0.23333634436130524, -0.42018282413482666, -0.2989611327648163, 0.23382867872714996, -0.26059019565582275, -0.8635830283164978, 0.048198919743299484, 0.5173947811126709, -0.15804480016231537, 0.07629463076591492, 0.5091515779495239, 0.038172606378793716, -0.34517836570739746, 0.04067212715744972, -0.44315582513809204, 0.039651308208703995, 0.15786749124526978, -0.3245406150817871, 0.39679431915283203, 0.02481626532971859, -0.4718776047229767, 0.07058823853731155, 0.6398196220397949, 0.7920646667480469, -0.3521116375923157, 0.5581218004226685, 0.38693729043006897, -0.4781154990196228, -0.032721202820539474, -0.4766795039176941, 0.06265371292829514, -0.43292051553726196, 0.27801939845085144, -0.0763433650135994, -0.8321399092674255, 0.6451058387756348, -0.3847722113132477, 0.4586069583892822, 0.22070938348770142, 0.7083280682563782, -0.01210282277315855, 1.2497695684432983, 0.6370468139648438, -0.2577638626098633, 0.2983545660972595, -0.033818960189819336, 0.16714367270469666, -0.3002985715866089, -0.18248996138572693, -0.24582481384277344, -0.3430143892765045, -0.32169798016548157, -0.46503883600234985, 0.6246047019958496, -0.24954043328762054, -0.6682258248329163, -0.31002017855644226, -0.3094845712184906, 0.5445756912231445, 0.8105120658874512, 0.0009311650064773858, 0.24601441621780396, -0.21398039162158966, 0.11445413529872894, 0.13615505397319794, -1.178296685218811, -0.29959776997566223, 0.5186855792999268, 0.10248018801212311, 0.733332633972168, 0.2786389887332916, 0.7831803560256958, 0.43424132466316223, 0.4711959660053253, -0.8986456990242004, 0.5497443079948425, 0.1992114633321762, -0.725854754447937, -0.8621360659599304, -0.4467643201351166, -0.9957059025764465, 0.13905327022075653, -0.5192331671714783, -0.23111669719219208, -0.34188133478164673, -0.2747642695903778, -0.7386040091514587, 0.5293946266174316, -0.3958812355995178, 0.7212072014808655, -0.46998274326324463, -0.22720006108283997, -0.28371840715408325, -0.49173176288604736, 0.43481773138046265, 0.3118957579135895, 0.6350798010826111, 0.03935856372117996, -0.1552787870168686, 0.6232144236564636, -0.01922527514398098, 0.6605333089828491, -0.02953326143324375, 0.007091333623975515, 0.6574789881706238, 0.4147210121154785, 0.02693229541182518, 0.03027091734111309, -0.06134670972824097, 0.2888756990432739, -0.013448381796479225, -0.2650294899940491, -0.5986743569374084, 0.4920782446861267, -1.1337827444076538, -0.8717759251594543, -0.724073588848114, -0.8484640121459961, 0.11120878905057907, 0.41012200713157654, 0.06618763506412506, 0.21520861983299255, -0.9217972159385681, -0.21928280591964722, 0.47937634587287903, -0.39383089542388916, 0.38792383670806885, 0.6850408911705017, -0.44135260581970215, -0.4398875832557678, 0.7524288892745972, 0.13630057871341705, 0.15799233317375183, 0.28824207186698914, 0.27548131346702576, -0.06338414549827576, -0.5113380551338196, -0.5855080485343933, 0.1836043745279312, -0.34619438648223877, -0.33200109004974365, -0.07170547544956207, -0.08243956416845322, -0.0403793603181839, -0.3826368451118469, 0.07491323351860046, -0.13898639380931854, -0.3095110058784485, 0.04207339137792587, 0.38422074913978577, 1.1997661590576172, -0.4418433904647827, 0.46958333253860474, -0.8344997763633728, 0.47360315918922424, 0.11972593516111374, 0.4127141237258911, -0.21858404576778412, -0.15069563686847687, -0.23590317368507385, 0.13688459992408752, -0.12199767678976059, -0.9543507099151611, 0.492774099111557, 0.19960631430149078, 0.34319791197776794, 0.2350063920021057, 0.35072723031044006, 0.5678255558013916, -0.9109635353088379, 1.2105352878570557, 0.20303364098072052, -0.8077289462089539, 0.10893966257572174, -0.33521443605422974, 0.6724312901496887, 0.127497598528862, 0.38223955035209656, -0.6517713665962219, -0.5461822748184204, -0.8841034770011902, -0.6632044315338135, 0.8693179488182068, -0.10418523102998734, -0.2276850789785385, 0.04092688485980034, 0.16639789938926697, -0.04714589938521385, 0.45992085337638855, -0.3059755861759186, -0.10640563070774078, -0.12548169493675232, -0.10365358740091324, -0.6991916298866272, 0.09769543260335922, -0.6960509419441223, 0.2954268753528595, 0.6652944087982178, -0.03889601677656174, 0.09965749830007553, 0.030035782605409622, -0.10164998471736908, -0.3483315110206604, 0.13330163061618805, 0.4960377812385559, 0.3668656647205353, 0.116919606924057, 0.16578204929828644, 0.2300189733505249, -0.26994970440864563, 0.37351590394973755, 0.2122381329536438, -0.29373881220817566, -0.1502787321805954, 0.484567791223526, 0.40674981474876404, 0.28198492527008057, -1.0951775312423706, 0.3550807535648346, -0.18452055752277374, -0.31206265091896057, -0.4362359046936035, -0.05914251506328583, 0.1503174602985382, 0.8111489415168762, 0.043728530406951904, -0.5519219040870667, 0.21356172859668732, -0.8941823244094849, 0.3187221586704254, 0.62614506483078, -0.32960256934165955, -0.08692315965890884, 0.5241126418113708, 0.08942560106515884, -0.7652967572212219, 0.5998045206069946, -0.2658635079860687, -0.49800825119018555, 0.6046336889266968, 0.6024412512779236, 0.6092147827148438, -0.13134066760540009, 0.6896326541900635, -0.14412277936935425, 0.493897408246994, -0.05686086043715477, 0.37715986371040344, 0.41774651408195496, -0.42002081871032715, -0.3956920802593231, -0.14985854923725128, -0.7644951343536377, 0.3114287257194519, -0.36435142159461975, 0.027979539707303047, -0.5165793299674988, -0.23694637417793274, -0.37263911962509155, 0.005298248492181301, -0.6673195958137512, 0.09084954857826233, 0.42924147844314575, 0.9186039566993713, -0.5999149084091187, 0.0039017375092953444, 0.8321420550346375, -0.34251099824905396, -0.29185062646865845, -0.1793825626373291, 0.17415426671504974, -0.5205920934677124, 0.2573954164981842, -0.34033140540122986, -0.004529139958322048, 0.03707919269800186, -0.5918693542480469, -0.7708350419998169, 0.9396178722381592, 0.2553689777851105, -0.284221351146698, -0.24298906326293945, 0.3468737006187439, 0.514866054058075, -0.4362078607082367, 0.6358314752578735, 0.5757462382316589, 0.5969045758247375, -0.26732540130615234, -0.7242041826248169, -0.22900286316871643, 0.14722636342048645, -0.33546698093414307, 0.1164952963590622, -0.9479025602340698, 0.5980653166770935, -0.3204011619091034, -0.2635444402694702, 0.028184272348880768, 1.0517882108688354, 0.09088534861803055, 0.43941232562065125, 0.500312089920044, 0.6604448556900024, 0.35422399640083313, -0.2120841145515442, 0.7224673628807068, -0.2937535345554352, 0.09773051738739014, 0.602430522441864, -0.6452624797821045, 0.6651103496551514, -0.08352121710777283, 0.13778840005397797, 0.43447524309158325, 0.6891701817512512, 0.22806116938591003, 0.3402248024940491, 0.43482398986816406, -0.3967755138874054, -0.20589879155158997, -0.20945699512958527, -0.08978932350873947, 0.6197245121002197, 0.45333439111709595, 0.3679791986942291, -0.6361441612243652, 0.18740738928318024, 0.0333244688808918, 0.06727773696184158, -0.3795746862888336, 1.1145727634429932, 0.014203174971044064, -0.7656670212745667, 0.34627586603164673, -0.07436199486255646, 0.33331000804901123, -0.7258861064910889, -0.26130107045173645, 0.12067095935344696, 0.0926683247089386, -0.023198509588837624, -0.9150927066802979, -0.06572634726762772, -0.06894397735595703, -0.08916722238063812, 0.173234760761261, 0.32536715269088745, -0.5254718661308289, -0.32195428013801575, 0.25040295720100403, 0.9013394713401794, 0.07332184165716171, -0.10039999336004257, -0.9318252801895142, 0.25194793939590454, -0.4968108534812927, -0.30293840169906616, 0.40889009833335876, 0.8027960062026978, 0.005316752474755049, 0.6279528141021729, 0.3760700523853302, 0.35452818870544434, -0.33994030952453613, -0.15158087015151978, 0.6875970959663391, -0.5230541825294495, -0.6364402174949646, -0.7414766550064087, 0.28228721022605896, -0.16554613411426544, -0.3482489287853241, 0.5292888283729553, 0.5634950399398804, 0.5617620348930359, 0.02347053959965706, 1.1611889600753784, 0.037888165563344955, 0.18364745378494263, -0.38127225637435913, 0.6538814306259155, -0.38019126653671265, -0.43052637577056885, 0.040864117443561554, -0.639039158821106, -0.6533517837524414, 0.239671528339386, -0.33111026883125305, -0.26385489106178284, 0.3759329617023468, 0.5301527380943298, -0.041874516755342484, -0.0039848266169428825, 0.6607808470726013, 0.2518969476222992, 0.47251221537590027, 0.41527271270751953, 1.0441561937332153, 0.08355557918548584, 0.3955132067203522, -0.023760179057717323, -0.7586314678192139, -0.34662145376205444, -0.8174875974655151, -0.9846599102020264, -0.592907726764679, -0.04428921639919281, -0.4443277418613434, 0.3474462628364563, 1.0417075157165527, 0.5054724216461182, -0.3429488241672516, -0.79103684425354, 0.6289021968841553, 0.24473237991333008, -0.5040124654769897, -0.22116617858409882, 0.029089773073792458, -0.03943227604031563, -0.4836985766887665, 0.4197232723236084, 0.2711907923221588, -0.1612236052751541, -0.4534209370613098, 0.0705975666642189, -0.1544269621372223, 0.5728199481964111, 0.9187521934509277, 0.5899746417999268, -0.6873340606689453, -0.3678581416606903, 0.05199272558093071, 0.2515868842601776, -0.21145030856132507, 1.0090036392211914, -0.8554603457450867, 0.4021243751049042, 0.23394615948200226, 0.6903070211410522, 0.12937889993190765, -0.0165353212505579, 0.8566188216209412, -0.17781712114810944, 0.3183530569076538, 0.5656920671463013, -0.0122561976313591, 0.17012211680412292, -0.22481229901313782, 0.4597255289554596, -0.14415845274925232, -0.7575666308403015, -0.7867113947868347, 0.41192519664764404, -0.3442320227622986, -0.3525480031967163, 1.2031886577606201, -0.11749140173196793, -0.3107752203941345, -0.08643942326307297, -0.2645684778690338, 0.4221836030483246, -0.37725743651390076, 0.9723437428474426, 1.029128074645996, -0.16016191244125366, -0.10801541060209274, -0.6014114618301392, 0.5712080001831055, 0.05335520580410957, -0.9448042511940002, 0.05489497259259224, 0.8251025080680847, -0.47107449173927307, 0.22562675178050995, 0.2969100773334503, 0.21350780129432678, 0.34366679191589355, 0.11894598603248596, 0.28467369079589844, -0.045578088611364365, -0.5197795033454895, -0.3223419189453125, 0.311276376247406, 0.16356682777404785, 0.02504848502576351 ]
http://arxiv.org/abs/2404.11384v1
http://arxiv.org/pdf/2404.11384v1
Exploring Key Point Analysis with Pairwise Generation and Graph Partitioning
2024-04-17T13:44:29
2024-04-17T13:44:29
Xiao Li, Yong Jiang, Shen Huang, Pengjun Xie, Gong Cheng, Fei Huang
cs.CL
cs.CL, cs.LG
Key Point Analysis (KPA), the summarization of multiple arguments into a concise collection of key points, continues to be a significant and unresolved issue within the field of argument mining. Existing models adapt a two-stage pipeline of clustering arguments or generating key points for argument clusters. This approach rely on semantic similarity instead of measuring the existence of shared key points among arguments. Additionally, it only models the intra-cluster relationship among arguments, disregarding the inter-cluster relationship between arguments that do not share key points. To address these limitations, we propose a novel approach for KPA with pairwise generation and graph partitioning. Our objective is to train a generative model that can simultaneously provide a score indicating the presence of shared key point between a pair of arguments and generate the shared key point. Subsequently, to map generated redundant key points to a concise set of key points, we proceed to construct an arguments graph by considering the arguments as vertices, the generated key points as edges, and the scores as edge weights. We then propose a graph partitioning algorithm to partition all arguments sharing the same key points to the same subgraph. Notably, our experimental findings demonstrate that our proposed model surpasses previous models when evaluated on both the ArgKP and QAM datasets.
[ -0.5022830963134766, -0.5069859027862549, 0.8126555681228638, -0.09406045079231262, -0.7911626696586609, -0.008203946985304356, 0.16874949634075165, 0.01124920230358839, 0.1676131784915924, 0.27315449714660645, -0.38056331872940063, -0.7423901557922363, -0.6402140259742737, -0.11393370479345322, -0.12042060494422913, 0.8731912970542908, 0.1832164078950882, -0.007707799784839153, -0.43103229999542236, -0.7710840106010437, -0.6242449879646301, -0.3007158637046814, -0.6690356731414795, -0.3574361205101013, 0.4578549265861511, 0.3932357132434845, 0.5401800274848938, 0.28549036383628845, 0.012285075150430202, 0.26193761825561523, 0.013615080155432224, 0.10951399803161621, -0.2484605312347412, 0.24883989989757538, 0.12773801386356354, -0.11426790058612823, -0.3184179961681366, -0.15173622965812683, 0.762349545955658, 0.7220768332481384, 0.25841066241264343, 0.11101499199867249, -0.0732235461473465, 0.7356656193733215, -0.5071746110916138, 0.23372235894203186, -0.8699501156806946, -0.05782066285610199, -0.04548823460936546, -0.3296968638896942, -0.28424271941185, -0.48086997866630554, 0.02994818612933159, -0.5633664727210999, 0.3452397584915161, -0.23174230754375458, 0.834091305732727, 0.14396275579929352, -0.5630954504013062, -0.468117356300354, -0.2614521384239197, 0.3001132011413574, -0.9538621306419373, 0.10548530519008636, -0.12006285041570663, 0.1345803439617157, -0.13186727464199066, -0.6493222117424011, -0.6104434728622437, 0.14886502921581268, -0.23155003786087036, 0.10640189796686172, -0.07381554692983627, 0.128602996468544, 0.038822025060653687, 0.09020717442035675, -0.48829391598701477, 0.04811479151248932, -0.5054602026939392, -0.15971660614013672, 0.8081207871437073, 0.20868448913097382, 0.292499303817749, -0.5094701051712036, -0.2665403187274933, -0.45673391222953796, -0.7603129148483276, 0.2798754870891571, 0.6552625894546509, 0.41360026597976685, -0.17431248724460602, 0.289193719625473, -0.09341979771852493, 0.832612931728363, 0.06838688999414444, 0.013815026730298996, -0.024490300565958023, -0.20506396889686584, 0.031844716519117355, 0.21770824491977692, 1.2592687606811523, 0.7997862100601196, -0.10331933945417404, -0.18043380975723267, 0.48562225699424744, 0.2001880407333374, 0.03506145998835564, -1.0530487298965454, -0.6578934192657471, 0.20597058534622192, -0.7743565440177917, -0.6320714354515076, -0.1364736706018448, -1.1139514446258545, -0.5925595164299011, 0.1764628142118454, 0.2583993673324585, -0.3567044734954834, -0.39187753200531006, -0.165955051779747, -0.3645936846733093, 0.2689834535121918, -0.3022213280200958, -0.8330090641975403, 0.22701755166053772, 0.8422375917434692, 0.9038651585578918, -0.10212870687246323, -0.10275056213140488, -0.46037882566452026, 0.08553315699100494, -0.41858038306236267, 1.1324527263641357, -0.9711198210716248, -0.8582839965820312, -0.09353717416524887, -0.2602456212043762, -0.03814053535461426, -0.738673746585846, 0.5765349864959717, -0.6471611261367798, 0.10226238518953323, -0.5624427795410156, -0.8819696307182312, -0.30557993054389954, 0.28572356700897217, -0.5211114883422852, 0.7043009400367737, -0.000762424897402525, -0.44059664011001587, 0.8684926629066467, -0.7123922109603882, -0.5088567137718201, 0.35074537992477417, -0.6478736400604248, -0.7768710851669312, 0.11806972324848175, 0.28474706411361694, 0.4624609053134918, -0.02797703817486763, 0.17318478226661682, -0.5340909361839294, 0.1903073936700821, -0.0337003618478775, 0.17874272167682648, 0.5278019309043884, -0.05413287132978439, -0.052957672625780106, 0.3536907136440277, -0.8163501620292664, 0.2443646788597107, 0.22316235303878784, -0.17359142005443573, -0.4622010290622711, 0.32326260209083557, -0.41973987221717834, 0.36984387040138245, 0.13436713814735413, -0.5528298020362854, 0.26624348759651184, -0.33667322993278503, 0.6669702529907227, 0.6234052181243896, 0.723866879940033, 0.25323286652565, 0.1435295045375824, 0.39515450596809387, 0.17971567809581757, -0.19683170318603516, -0.20089776813983917, -0.8431220054626465, -0.36918768286705017, 0.07119042426347733, 0.3478838801383972, 0.06735330820083618, -0.1858665943145752, 0.31157106161117554, -0.3702481687068939, -0.4423818588256836, -0.4477078914642334, -0.16248135268688202, 0.24800461530685425, 0.5330862402915955, 0.0943574458360672, -0.13647480309009552, -0.4770956337451935, -0.8324221968650818, -0.2786303460597992, -0.33847272396087646, 0.17508557438850403, 0.2917998135089874, 0.23025798797607422, 0.2904815971851349, 0.9088146686553955, -0.7317020297050476, -0.035512760281562805, -0.16188348829746246, 0.41782352328300476, 0.08277734369039536, 0.36050379276275635, 0.5200162529945374, -0.6224730610847473, -0.6312618851661682, -0.0548013374209404, -0.6934143304824829, 0.04240640625357628, -0.07556062191724777, -0.05508480593562126, -0.2816835641860962, 0.681988000869751, -0.47997888922691345, 0.21807736158370972, 0.3228801488876343, -0.3451995551586151, 0.25113973021507263, 0.0031445499043911695, 0.07325868308544159, -1.3400006294250488, -0.13772885501384735, -0.28654858469963074, -0.04008694365620613, -0.5149020552635193, 0.25713565945625305, -0.4305105209350586, -0.519712507724762, -0.0045607006177306175, 0.4082147479057312, -0.2355930209159851, 0.006841481197625399, -0.5644996762275696, 0.019667237997055054, 0.003936301916837692, 0.6813774704933167, -0.01816692017018795, 0.2761929929256439, 0.40831097960472107, -0.19864961504936218, 0.135488361120224, 0.21036872267723083, -0.04277265816926956, 0.7793656587600708, -0.7819291353225708, 0.36672288179397583, -0.04736209288239479, 0.24889974296092987, -1.3737331628799438, -0.08104211837053299, 0.32469940185546875, -0.6030459403991699, 0.0621335543692112, -0.5234730839729309, -0.1903843879699707, 0.025772515684366226, -0.3787568509578705, 0.6417555809020996, 0.4140527844429016, -0.5455516576766968, 0.5636066198348999, 0.6168394684791565, -0.3340725600719452, 0.09102391451597214, 0.3155255615711212, -0.053401850163936615, -0.5578646063804626, -0.8362388610839844, 0.47862935066223145, 0.25663402676582336, -0.08757757395505905, 0.3600081503391266, -0.029877344146370888, 0.21956400573253632, -0.16132524609565735, 0.7785044312477112, -0.038388315588235855, -0.14472761750221252, 0.10948220640420914, 0.3312036097049713, -0.3882301449775696, 0.24832753837108612, -0.21324650943279266, 0.6678074598312378, -0.1544816792011261, -0.142416849732399, -0.005665669217705727, 0.8311195969581604, 0.49595797061920166, -0.1601356714963913, 0.3972046971321106, 0.31025752425193787, -0.2632973790168762, -0.19047333300113678, -0.027379395440220833, -0.013914274983108044, -0.4372723400592804, 0.12604743242263794, -0.4830533564090729, -0.7174484729766846, 0.6220132112503052, -0.5331687331199646, 0.5417340397834778, 0.6320198774337769, 0.6580248475074768, 0.03505992144346237, 1.3322277069091797, 0.041561778634786606, -0.08904349058866501, 0.2488815188407898, -0.5186999440193176, 0.6627712249755859, -0.6829109191894531, -0.168431356549263, -0.34209492802619934, -0.6251370310783386, -0.4804580509662628, -0.3083086311817169, 0.7061471939086914, 0.3800426125526428, 0.004054561723023653, -0.11155788600444794, -0.6208747625350952, 0.4951818883419037, 0.5980808138847351, -0.08772061765193939, 0.08659718185663223, 0.09357891231775284, -0.2782331705093384, 0.21025463938713074, -0.7492257356643677, -0.39013075828552246, 1.301874041557312, -0.046302810311317444, -0.13903984427452087, -0.17902593314647675, 1.175472617149353, 0.28025123476982117, 0.02799346297979355, -0.8348625898361206, 0.7954162955284119, -0.05426691472530365, -0.2470642775297165, -0.3633369207382202, -0.3357934355735779, -1.0423364639282227, 0.5770801305770874, -0.10490867495536804, -0.8304625153541565, 0.13799762725830078, 0.13783828914165497, -0.5329390168190002, 0.316521018743515, -0.7709038853645325, 1.2999541759490967, 0.272258996963501, -0.1112823560833931, -0.50328528881073, -0.635658323764801, 0.5041084289550781, 0.3287592828273773, -0.07850831001996994, -0.060334254056215286, 0.5373391509056091, 1.2012087106704712, -1.0553406476974487, 0.5197334289550781, -0.6590084433555603, 0.06222957372665405, 0.6735544204711914, -0.07124708592891693, 0.481052041053772, -0.025834621861577034, 0.13866353034973145, -0.014228121377527714, 0.17632222175598145, -0.36271610856056213, -0.8676823973655701, 0.8557283878326416, -0.7619165778160095, -0.4568788707256317, -0.07990603148937225, -0.552042543888092, -0.4642432928085327, 0.012514915317296982, 0.3049481213092804, 0.444790780544281, -0.02867528423666954, -0.15742000937461853, 0.1546076089143753, 0.0983288362622261, 0.4481821060180664, 0.09270261973142624, 0.20150922238826752, -0.6430765986442566, 1.30403470993042, 0.023949431255459785, 0.009622127749025822, -0.1633116900920868, 0.6924909353256226, -0.45409122109413147, -0.7777471542358398, -0.42184948921203613, 0.1474412977695465, -0.6311614513397217, -0.059149425476789474, -0.5878891944885254, -0.12343578040599823, -0.44518059492111206, -0.29722872376441956, -0.17608581483364105, -0.6118632555007935, 0.19445617496967316, -0.3508302569389343, 0.2329390048980713, 0.49580487608909607, -0.16610270738601685, 0.5101536512374878, -0.8833259344100952, 0.4855758249759674, 0.6284126043319702, 0.1675003170967102, 0.4296843111515045, 0.28050336241722107, 0.13580891489982605, -0.2351227104663849, -0.6976925730705261, -1.2661041021347046, 0.06804447621107101, 0.2048705816268921, 0.32639622688293457, 0.6649694442749023, 0.23685842752456665, 0.7521742582321167, -0.323923796415329, 0.9901630282402039, 0.28086650371551514, -0.7106579542160034, 0.4568656086921692, -0.20200850069522858, 0.08943872898817062, 0.6747892498970032, 0.21378235518932343, -0.4722656011581421, -0.21600931882858276, -1.0437732934951782, -0.9654313921928406, 0.4035390019416809, -0.15351985394954681, -0.282389372587204, -0.07958364486694336, 0.1507595181465149, 0.1260632425546646, -0.05090534687042236, -0.6191180944442749, 0.04525790363550186, -0.1795525848865509, -0.31406381726264954, 0.32090771198272705, -0.21516603231430054, -0.48955830931663513, -0.12751254439353943, 0.6118918061256409, -0.23589006066322327, 0.042660560458898544, -0.13003583252429962, 0.2034868597984314, -0.13687463104724884, 0.36514243483543396, 0.4696808457374573, 0.24475854635238647, -0.0910310372710228, 0.1886814385652542, -0.08211376518011093, -0.0852477103471756, 0.3155347406864166, 0.07995574921369553, -0.37460002303123474, 0.19190721213817596, 0.3288029432296753, 0.925553023815155, -0.06475915014743805, -0.3643921911716461, 0.5070859789848328, 0.05937076732516289, -0.40582868456840515, 0.12929651141166687, -0.26383671164512634, 0.36627790331840515, 0.308165043592453, 0.01471220888197422, -0.06524956971406937, 0.04409877210855484, -0.4596204459667206, 0.04168574512004852, 0.7730401158332825, -0.25087594985961914, -0.4330596923828125, 0.5004115700721741, 0.2722860276699066, -0.2424793392419815, 0.5008774399757385, -0.6516937017440796, -0.7751849889755249, 0.49562934041023254, 0.26174062490463257, 0.9039883017539978, 0.12642760574817657, 0.5438965559005737, 0.49266964197158813, -0.07876062393188477, 0.6197071075439453, 0.34927645325660706, -0.5242160558700562, -0.6555052995681763, 0.022560562938451767, -0.4572707712650299, -0.1115911453962326, 0.23692061007022858, -0.5565615892410278, -0.04235844686627388, -0.42668673396110535, 0.05191873386502266, 0.09187003970146179, 0.11449091136455536, -0.28012534976005554, -0.027666667476296425, 0.0028411424718797207, 0.1630386859178543, -1.2392572164535522, 0.4054636061191559, 0.5315651893615723, -0.23656430840492249, -1.0433800220489502, -0.06751015782356262, -0.19738739728927612, -0.8260738849639893, 0.3201899528503418, 0.004291362129151821, 0.10304321348667145, -0.24019162356853485, -0.11959191411733627, -0.4104529917240143, 0.8636345863342285, 0.02051376737654209, -0.24790745973587036, -0.059322942048311234, 0.6622458100318909, 0.36941781640052795, -0.3142099380493164, -0.29213979840278625, 0.5796382427215576, 0.37222930788993835, 0.34714803099632263, -0.2219162881374359, 0.5033345818519592, -0.2232457846403122, -0.17102265357971191, 0.6413516998291016, -0.6273967027664185, 0.5668455362319946, -0.2508563995361328, -0.41860440373420715, -0.2191169708967209, 0.7169261574745178, 0.5347824096679688, 0.6351050734519958, 0.8927001357078552, 1.0445315837860107, 0.6369104981422424, 0.18823105096817017, 0.4579099416732788, -0.5972549915313721, 0.2178138643503189, 1.1730947494506836, -0.4036491811275482, 0.8718379139900208, 0.5864400267601013, -0.15616481006145477, 0.6637160778045654, 0.6018363237380981, 0.09164206683635712, 0.6849860548973083, 0.18649636209011078, -0.4507259428501129, -0.36754080653190613, -0.1338578313589096, -0.5566115379333496, 0.26667675375938416, 0.3274258077144623, -0.4019801616668701, -0.609747052192688, -0.3209725022315979, 0.034323982894420624, -0.07158219069242477, -0.22512075304985046, 1.010411024093628, 0.08323362469673157, -0.9100543856620789, 0.34428465366363525, -0.0113601079210639, 0.15582142770290375, -0.5034317970275879, -0.21856491267681122, -0.01378560159355402, -0.2532152533531189, -0.2424420714378357, -0.5830432176589966, 0.3705204725265503, -0.06889180839061737, -0.16331423819065094, 0.057691093534231186, 0.7132682800292969, -0.24646520614624023, -0.5776888132095337, 0.12891077995300293, 0.22300410270690918, 0.03381624445319176, -0.09069301187992096, -0.38576406240463257, -0.07849495857954025, -0.2149045318365097, 0.1634695827960968, 0.4042970836162567, 0.20782782137393951, -0.09522594511508942, 0.02546996809542179, 0.7085167765617371, 0.050495583564043045, 0.5636878609657288, 0.10180558264255524, 0.8999798893928528, -0.320300430059433, -0.5861267447471619, -0.9838983416557312, 0.4941789507865906, -0.3039514124393463, -0.47770828008651733, 0.46964389085769653, 0.7045277953147888, 0.5272700786590576, 0.08398072421550751, 0.8280941247940063, -0.09252595901489258, 0.22907666862010956, -0.31688055396080017, 0.3984796702861786, -0.3961297869682312, -0.24913746118545532, -0.4628635048866272, -0.7327957153320312, -0.10242735594511032, 0.28744950890541077, -0.2156624048948288, -0.4330978989601135, 0.4594511091709137, 0.7843689918518066, 0.019519049674272537, 0.14135229587554932, 0.1454530656337738, -0.09297341853380203, 0.706939160823822, 0.9085017442703247, 0.7635650634765625, -0.6105555891990662, 0.5911622047424316, -0.10650959610939026, -0.10380122065544128, -0.08533007651567459, -0.8603373765945435, -0.6959453821182251, -0.9444804191589355, -0.5739069581031799, -0.2630968391895294, -0.20895375311374664, 0.5317816138267517, 0.8195009827613831, -0.6982120871543884, -0.13058260083198547, -0.37672287225723267, 0.3040861487388611, -0.3002215325832367, -0.27496376633644104, 0.7384368777275085, -0.30747145414352417, -0.20802173018455505, 0.5927480459213257, 0.3293217718601227, -0.33413031697273254, -0.19503718614578247, -0.20978911221027374, -0.060699861496686935, 0.16585348546504974, 0.5818893909454346, 0.5034533739089966, -0.565163791179657, -0.41875359416007996, -0.5489652156829834, 0.5420764684677124, 0.2813226878643036, 1.2296476364135742, -0.8231763243675232, 0.6095383167266846, 0.8780336380004883, 0.4504786729812622, 0.5644322037696838, 0.1902618706226349, 0.6571306586265564, -0.7645585536956787, 0.03133907914161682, -0.003169685835018754, 0.5218408703804016, 0.14749550819396973, 0.056853171437978745, 0.20330969989299774, 0.23995499312877655, -0.38055673241615295, -0.8281490206718445, 0.3972904682159424, -1.2253806591033936, -0.25636032223701477, 0.915759265422821, -0.30230429768562317, 0.01878969743847847, 0.28774747252464294, -0.1983741819858551, 0.4034987986087799, -0.21100541949272156, 0.8747785687446594, 0.6934971213340759, -0.2607194781303406, -0.02094506099820137, 0.17275850474834442, 0.3823765814304352, 0.3658381402492523, -0.6962365508079529, 0.13405360281467438, 0.4838208556175232, 0.20590928196907043, 0.3752857744693756, 0.674375593662262, -0.13201552629470825, 0.17057909071445465, 0.3660847842693329, -0.4407538175582886, -0.12694422900676727, -0.22810563445091248, -0.22705426812171936, 1.0742508172988892, 0.07711350172758102, -0.7590495944023132 ]
http://arxiv.org/abs/2404.11349v1
http://arxiv.org/pdf/2404.11349v1
TeClass: A Human-Annotated Relevance-based Headline Classification and Generation Dataset for Telugu
2024-04-17T13:07:56
2024-04-17T13:07:56
Gopichand Kanumolu, Lokesh Madasu, Nirmal Surange, Manish Shrivastava
cs.CL
cs.CL
News headline generation is a crucial task in increasing productivity for both the readers and producers of news. This task can easily be aided by automated News headline-generation models. However, the presence of irrelevant headlines in scraped news articles results in sub-optimal performance of generation models. We propose that relevance-based headline classification can greatly aid the task of generating relevant headlines. Relevance-based headline classification involves categorizing news headlines based on their relevance to the corresponding news articles. While this task is well-established in English, it remains under-explored in low-resource languages like Telugu due to a lack of annotated data. To address this gap, we present TeClass, the first-ever human-annotated Telugu news headline classification dataset, containing 78,534 annotations across 26,178 article-headline pairs. We experiment with various baseline models and provide a comprehensive analysis of their results. We further demonstrate the impact of this work by fine-tuning various headline generation models using TeClass dataset. The headlines generated by the models fine-tuned on highly relevant article-headline pairs, showed about a 5 point increment in the ROUGE-L scores. To encourage future research, the annotated dataset as well as the annotation guidelines will be made publicly available.
[ -0.043624214828014374, -0.608944296836853, 0.3481172025203705, 0.10988806933164597, -0.5592426657676697, 0.14710620045661926, -0.12999218702316284, -0.466633677482605, 0.2995598316192627, 0.19002380967140198, -0.11305194348096848, -0.4768872559070587, -0.41743162274360657, 0.08406290411949158, -0.6800736784934998, 0.9697439670562744, 0.4382043182849884, -0.24481093883514404, 0.08027235418558121, 0.16866442561149597, -0.49156829714775085, -0.09305548667907715, -0.7189560532569885, -0.02441098541021347, 0.636144757270813, 0.5715808868408203, 0.751422107219696, 0.7450599670410156, 0.31640347838401794, 0.1804526299238205, -0.09235068410634995, 0.2673783600330353, -0.34149882197380066, -0.02946150116622448, -0.34979012608528137, -0.2512776255607605, -0.32751592993736267, 0.03412957116961479, 0.9050055146217346, 0.6489880084991455, -0.08041749149560928, 0.44291210174560547, 0.24313829839229584, 0.4114876389503479, -0.586635410785675, -0.005717315245419741, -0.6006625890731812, -0.16317835450172424, -0.7450366020202637, -0.45156651735305786, -0.5175877213478088, -0.6229958534240723, -0.18026965856552124, -0.5293750762939453, 0.3060617744922638, 0.07370059937238693, 1.330816626548767, 0.27627915143966675, -0.6950995326042175, 0.1873803436756134, -0.6310641765594482, 0.5811702609062195, -0.28291380405426025, 0.22363854944705963, 0.5016818642616272, 0.38320282101631165, 0.05091789737343788, -0.5388280153274536, -0.24398085474967957, 0.12129037827253342, -0.14067940413951874, 0.10929537564516068, 0.15291550755500793, -0.08160486072301865, -0.026471080258488655, 0.4833565652370453, -0.3754810392856598, 0.22436019778251648, -0.8077207803726196, -0.4282756745815277, 0.5124887228012085, 0.15820272266864777, 0.36337003111839294, -0.5109984874725342, -0.23870614171028137, 0.3279073238372803, -0.7352942228317261, -0.0775742456316948, 0.35520923137664795, 0.5948861241340637, -0.2173393815755844, 0.5808349847793579, -0.4015378952026367, 1.0761070251464844, -0.0013227821327745914, -0.4533122777938843, 0.28390082716941833, -0.24608945846557617, 0.07890107482671738, 0.47836431860923767, 0.5731514096260071, 0.6163056492805481, -0.00466119172051549, -0.17888304591178894, -0.08542521297931671, 0.25171613693237305, 0.6088584065437317, -0.5692006349563599, 0.44388923048973083, 0.07841701805591583, -0.096329465508461, -0.6788584589958191, 0.10432791709899902, -0.8261603713035583, -0.24669930338859558, -0.2839242219924927, 0.34004324674606323, -0.30009156465530396, -0.3300515413284302, -0.2525198757648468, 0.0012743681436404586, 0.466132789850235, 0.4881020486354828, -0.7595803141593933, -0.1586381196975708, 0.6664314270019531, 0.806275486946106, -0.3049792945384979, -0.4340016841888428, -0.5372127890586853, 0.3001942038536072, -0.5111696124076843, 1.0290043354034424, -0.46526604890823364, 0.20082734525203705, 0.057499032467603683, -0.3760643005371094, 0.05584920570254326, -0.339306503534317, 0.8638562560081482, -0.6480277180671692, 0.23119550943374634, 0.012001626193523407, -0.6107710599899292, -0.036771513521671295, 0.13407154381275177, -0.4752380847930908, 0.8780896067619324, 0.5832483172416687, -0.8202077150344849, 0.7384030222892761, -0.5245581269264221, -0.887589156627655, 0.3558787405490875, -0.002170991152524948, -0.42103683948516846, 0.18446747958660126, 0.019309217110276222, 0.4264736473560333, -0.48128780722618103, 0.6591344475746155, 0.17027786374092102, -0.46974673867225647, -0.10596735030412674, -0.103116475045681, 0.49914678931236267, 0.5578913688659668, -0.05245114117860794, -0.09665434807538986, -0.7148592472076416, -0.06961457431316376, -0.13148050010204315, -0.5245980024337769, -0.26220640540122986, -0.3675519526004791, 0.35388264060020447, 0.020090293139219284, 0.046044643968343735, -0.5790144801139832, -0.1978866159915924, -0.23007138073444366, 0.16974124312400818, 0.5348097681999207, 0.18498465418815613, 0.522234320640564, -0.5300371646881104, 0.3479282557964325, 0.28277578949928284, -0.0014146157773211598, -0.5102638006210327, -0.5752195715904236, -0.5305025577545166, 0.1519969254732132, 0.736031711101532, 0.386415034532547, -0.7988041043281555, 0.2489272654056549, -0.26821860671043396, -0.7110040187835693, -0.6215182542800903, -0.2567550539970398, 0.2698206305503845, 0.9735944867134094, 0.4458654224872589, -0.03676160052418709, -0.6112480163574219, -1.0290734767913818, -0.6021428108215332, -0.060470275580883026, 0.14301951229572296, -0.1176401823759079, -0.007933296263217926, 0.0035036855842918158, 1.1919736862182617, -0.5279573798179626, -0.5152845978736877, -0.2868768572807312, 0.11225280165672302, 0.16927000880241394, 0.30789899826049805, 0.5979843735694885, -1.1634689569473267, -0.4600294828414917, -0.11788906902074814, -0.9071348905563354, -0.31421375274658203, -0.11930873990058899, -0.11913206428289413, 0.508579432964325, 0.27978578209877014, -0.34868812561035156, 0.5704725980758667, -0.10598674416542053, -0.6044104099273682, 0.49392667412757874, 0.0577227920293808, 0.3454294800758362, -1.3447164297103882, -0.11303337663412094, 0.39544233679771423, -0.3880669176578522, -0.782291829586029, 0.014037325978279114, 0.15853753685951233, -0.2932107746601105, -0.5433747172355652, 0.739327073097229, -0.13379819691181183, -0.15747395157814026, -0.3738744854927063, -0.06102640554308891, -0.09924879670143127, 0.17036236822605133, 0.2812861204147339, 0.7411770820617676, 0.7028042078018188, -0.8810381293296814, -0.013070106506347656, -0.01863381825387478, -0.289353609085083, 0.47930780053138733, -0.3105695843696594, -0.3401324450969696, -0.30176201462745667, -0.31887900829315186, -0.7612556219100952, -0.7257625460624695, 0.1599309742450714, -0.5597085952758789, 0.35056012868881226, -0.13952086865901947, -0.6128883957862854, -0.07640501856803894, -0.1742333024740219, 0.07519381493330002, 0.5639386773109436, -0.35961735248565674, 0.3833840489387512, 0.782118022441864, 0.024824677035212517, -0.40094122290611267, -0.47380855679512024, 0.1818542629480362, -0.49787694215774536, -0.26195329427719116, 0.4033365547657013, 0.357880562543869, -0.13768793642520905, 0.00928825419396162, -0.17159761488437653, -0.1152796819806099, 0.04925336688756943, 0.1742054522037506, 0.23598919808864594, -0.2346908003091812, 0.3164009749889374, 0.47310248017311096, -0.2754265069961548, -0.20007088780403137, -0.15298639237880707, 0.41339799761772156, -0.18609125912189484, 0.24123740196228027, -0.37076401710510254, 0.029579631984233856, 0.42958125472068787, -0.14224395155906677, 0.7625221610069275, 0.8057241439819336, -0.6363851428031921, 0.025657309219241142, -0.5379490852355957, -0.077324777841568, -0.41478270292282104, 0.31665003299713135, -0.27257856726646423, -0.5767247080802917, 0.08419300615787506, -0.09124112874269485, 0.023089608177542686, 0.77579665184021, 0.3594519793987274, -0.0031354078091681004, 0.2969192564487457, 0.545129120349884, -0.08494807779788971, 0.47168871760368347, 0.02566169574856758, -0.2558386027812958, -0.462863951921463, -0.17704132199287415, -0.36668911576271057, -0.260947048664093, -0.4926683008670807, -0.06001237779855728, 0.3610069155693054, -0.19674238562583923, -0.2114294022321701, 0.5100622773170471, -0.6605716347694397, 0.8055670261383057, 0.49844232201576233, 0.3098204433917999, 0.5147449374198914, 0.34311363101005554, 0.27465981245040894, -0.17072837054729462, -0.543178141117096, -0.5062975287437439, 1.1938546895980835, -0.07589466869831085, 0.5558348894119263, 0.11737671494483948, 0.7993206977844238, 0.7734611630439758, 0.41100797057151794, -0.47201889753341675, 0.6888355612754822, -0.05107302591204643, -0.5400035381317139, -0.34213295578956604, -0.6015956997871399, -1.1069189310073853, 0.09027739614248276, -0.21093715727329254, -0.531181275844574, -0.007552637252956629, -0.1625022143125534, -0.5369859337806702, 0.32059431076049805, -0.9035659432411194, 0.6492120623588562, -0.010495583526790142, -0.5969481468200684, -0.2855904996395111, -0.6729796528816223, 0.3891984224319458, -0.4493492543697357, 0.2963930368423462, -0.20017576217651367, -0.3540685772895813, 0.7682502865791321, -0.2619461119174957, 0.7607825398445129, -0.05789109691977501, -0.007743427064269781, 0.5384407639503479, -0.149677112698555, -0.2064189314842224, 0.28921565413475037, -0.3764249086380005, 0.11076508462429047, -0.6784588694572449, -0.4297066628932953, -0.06185663118958473, 0.6752368807792664, -0.8044116497039795, -0.6628522276878357, -0.7013379335403442, -0.4572012722492218, -0.02864697016775608, 0.426327109336853, 0.6577213406562805, 0.5136423110961914, 0.255596786737442, -0.07548945397138596, 0.3019458055496216, -0.055196363478899, 0.5491573810577393, 0.4905089735984802, -0.3008851408958435, -0.19180011749267578, 1.1449334621429443, 0.42570391297340393, -0.08815956115722656, 0.5107583403587341, 0.2366458922624588, -0.2623004913330078, -0.4292525053024292, -0.6540516018867493, 0.12073882669210434, -0.46689754724502563, -0.5725842714309692, -0.4298318028450012, -0.4375728368759155, -0.31147730350494385, -0.13241244852542877, -0.25102725625038147, -0.5947889685630798, -0.3398508131504059, -0.03927558287978172, 0.3150545060634613, 0.7445271611213684, 0.009948528371751308, 0.1933305710554123, -0.8072690367698669, 0.6448163390159607, 0.12654677033424377, 0.526550829410553, -0.2472521960735321, -0.9215282201766968, -0.38814616203308105, 0.025150606408715248, -0.694344162940979, -1.0945464372634888, 0.2950327396392822, 0.4178730547428131, 0.3771314322948456, 0.32868319749832153, 0.37120917439460754, 0.3522304594516754, -0.15576545894145966, 0.5990638732910156, -0.01596585102379322, -0.7153111100196838, 1.2283269166946411, -0.6494327783584595, 0.25149843096733093, 0.44389504194259644, 0.6243212223052979, -0.10058069229125977, -0.5438182950019836, -0.7566192150115967, -0.8676818609237671, 1.135462760925293, 0.33692067861557007, 0.040731072425842285, -0.14534534513950348, 0.7127113938331604, 0.29857730865478516, 0.251583993434906, -0.6367968320846558, -0.34728026390075684, -0.1769534945487976, 0.001611063489690423, 0.05072961002588272, -0.2715245485305786, 0.5466163158416748, -0.4220428764820099, 0.7751736640930176, 0.08158678561449051, 0.00034089855034835637, 0.09851144254207611, -0.31977811455726624, -0.25756901502609253, 0.394832581281662, 0.6443992257118225, 0.7685033679008484, -0.1959075927734375, -0.0359768383204937, 0.16104207932949066, -0.6834260821342468, 0.2425883561372757, 0.1706697642803192, -0.6667304635047913, 0.2465435117483139, 0.020945440977811813, 0.5527013540267944, 0.2714119851589203, -0.42284920811653137, 0.16433250904083252, 0.06395968049764633, 0.47608447074890137, -0.4135931730270386, 0.2566552460193634, -0.1627853363752365, 0.026016462594270706, 0.8303682804107666, 0.21465206146240234, 0.28887510299682617, -0.7673752307891846, 0.3146030306816101, -0.240442156791687, -0.17158427834510803, -0.2785108685493469, 0.9878145456314087, 0.15515364706516266, -0.44851091504096985, 0.6157260537147522, -0.4487208127975464, -0.3423931896686554, 0.6081279516220093, 0.5100129246711731, 0.6156172156333923, -0.5685762763023376, 0.4288251996040344, 0.8606980443000793, 0.1937318742275238, -0.19079749286174774, 0.09879357367753983, 0.16390809416770935, -0.48504969477653503, -0.31930023431777954, -0.9485284686088562, -0.42155590653419495, 0.09097829461097717, -0.6145703196525574, 0.8066457509994507, -0.12420020997524261, -0.4166262745857239, 0.29881563782691956, -0.024453649297356606, -0.14219625294208527, 0.25951582193374634, 0.2919253408908844, 0.7279996275901794, -0.8067502975463867, 0.8415245413780212, 1.2149083614349365, -0.5096460580825806, -0.5098698735237122, 0.21280841529369354, -0.18181473016738892, -0.37379300594329834, 0.42648571729660034, 0.4545325040817261, 0.35033512115478516, 0.2810194492340088, -0.06908413767814636, -0.6133993268013, 1.050494909286499, 0.7292617559432983, -0.15935905277729034, -0.24007759988307953, 0.6876257658004761, 0.603151261806488, -0.3340783417224884, 0.15805386006832123, 0.46943116188049316, 0.5112729668617249, 0.11565804481506348, -0.963720440864563, -0.12994125485420227, -0.38867321610450745, -0.04797178506851196, 0.3944721817970276, -0.9734819531440735, 0.7447995543479919, -0.5161272883415222, -0.2577771842479706, -0.2137439101934433, 0.8386294841766357, 0.15403838455677032, 0.6948158144950867, 0.2640526592731476, 0.6144195795059204, 0.6534570455551147, -0.43855440616607666, 1.0933598279953003, -0.2582528293132782, 0.2972302734851837, 1.083364725112915, -0.06665024906396866, 0.6414670348167419, 0.11108334362506866, -0.09276590496301651, 0.334261417388916, 0.8079178333282471, 0.03520769625902176, 0.48134931921958923, -0.0301662664860487, -0.14694873988628387, -0.43959560990333557, -0.5303891897201538, -0.5447432398796082, 0.590492844581604, 0.423187792301178, -0.2291989028453827, -0.7387946844100952, 0.17053315043449402, -0.0025964498054236174, 0.16749335825443268, -0.7547467350959778, 0.7451888918876648, 0.03842005506157875, -0.9312359094619751, 0.4493003189563751, 0.10039560496807098, 0.5377652645111084, -0.4267171621322632, -0.011706535704433918, -0.3897339105606079, 0.16323412954807281, -0.4620733857154846, -1.1318256855010986, 0.6579927206039429, 0.1419307142496109, -0.1305740475654602, -0.054081741720438004, 1.1179563999176025, -0.5447578430175781, -0.4509594142436981, -0.21394047141075134, 0.4324798285961151, 0.19083668291568756, -0.29994261264801025, -0.06588034331798553, -0.07034272700548172, -0.2539602816104889, -0.1779046207666397, 0.6465285420417786, 0.32658499479293823, -0.18111665546894073, 0.48222580552101135, 0.30330660939216614, -0.09819003939628601, -0.02158314548432827, -0.22795110940933228, 0.7983779311180115, -0.836240291595459, -0.753836452960968, -0.825244665145874, 0.43805643916130066, -0.1056721955537796, -0.3853585422039032, 0.7406334280967712, 1.1660230159759521, 0.48721015453338623, -0.1753048151731491, 0.6150928139686584, -0.1622660607099533, 0.6186707615852356, -0.2661803960800171, 0.8835263848304749, -0.7770676016807556, 0.32307231426239014, -0.07199372351169586, -0.941076397895813, -0.2927742302417755, 0.19579100608825684, -0.1452256590127945, 0.13439154624938965, 0.38529422879219055, 0.48537594079971313, -0.14541424810886383, 0.25364065170288086, 0.3330218493938446, 0.03981913626194, -0.28825822472572327, 0.45908984541893005, 0.7741906642913818, -0.6607459783554077, 0.5675844550132751, -0.41194263100624084, -0.048205889761447906, -0.3282904326915741, -0.7941994071006775, -0.8885429501533508, -0.8846642374992371, -0.5993511080741882, -0.3973873555660248, 0.16986888647079468, 0.8214242458343506, 0.526386559009552, -0.640964925289154, -0.1480511724948883, 0.13470719754695892, 0.3605256676673889, -0.010365541093051434, -0.343539297580719, 0.5764415264129639, -0.613739550113678, -0.6997035145759583, 0.0722457766532898, 0.1450902670621872, -0.018880566582083702, 0.2559901475906372, 0.12983785569667816, -0.23669497668743134, -0.2515046298503876, 0.6281319260597229, 0.3027527332305908, -0.4208526015281677, -0.09925953298807144, -0.25446760654449463, -0.19112378358840942, 0.3104083836078644, 0.529666006565094, -1.1835980415344238, 0.04160691052675247, 0.2739814221858978, 0.5266324281692505, 0.31481438875198364, 0.0373261496424675, 0.06897535175085068, -1.1008312702178955, 0.1325983703136444, 0.1495121419429779, 0.32175973057746887, 0.3087873160839081, -0.6283291578292847, 0.9077383279800415, 0.3791668713092804, -0.3450423777103424, -1.0069090127944946, -0.05668764188885689, -1.015917420387268, 0.08478181809186935, 1.2170841693878174, 0.29402604699134827, -0.3855745196342468, -0.41484636068344116, -0.15978819131851196, 0.5258942246437073, -0.6186491847038269, 0.9667836427688599, 0.299431711435318, 0.24052266776561737, -0.3009411692619324, -0.35755088925361633, 0.4484280049800873, 0.03161582350730896, -1.1651033163070679, -0.009087922982871532, 0.2626870274543762, 0.12543433904647827, 0.31182053685188293, 0.5136030316352844, -0.13214172422885895, 0.7567700743675232, -0.09537285566329956, -0.2236187607049942, -0.29323625564575195, -0.5362759232521057, -0.0010930642019957304, 0.41734981536865234, -0.12921009957790375, 0.036623239517211914 ]
http://arxiv.org/abs/2404.11315v1
http://arxiv.org/pdf/2404.11315v1
To Drop or Not to Drop? Predicting Argument Ellipsis Judgments: A Case Study in Japanese
2024-04-17T12:26:52
2024-04-17T12:26:52
Yukiko Ishizuki, Tatsuki Kuribayashi, Yuichiroh Matsubayashi, Ryohei Sasano, Kentaro Inui
cs.CL
cs.CL
Speakers sometimes omit certain arguments of a predicate in a sentence; such omission is especially frequent in pro-drop languages. This study addresses a question about ellipsis -- what can explain the native speakers' ellipsis decisions? -- motivated by the interest in human discourse processing and writing assistance for this choice. To this end, we first collect large-scale human annotations of whether and why a particular argument should be omitted across over 2,000 data points in the balanced corpus of Japanese, a prototypical pro-drop language. The data indicate that native speakers overall share common criteria for such judgments and further clarify their quantitative characteristics, e.g., the distribution of related linguistic factors in the balanced corpus. Furthermore, the performance of the language model-based argument ellipsis judgment model is examined, and the gap between the systems' prediction and human judgments in specific linguistic aspects is revealed. We hope our fundamental resource encourages further studies on natural human ellipsis judgment.
[ -0.8372052311897278, -0.9907768368721008, 0.47108736634254456, -0.055783119052648544, -0.34287405014038086, -0.05911441892385483, -0.10401894897222519, -0.8323020935058594, 0.3000754714012146, 0.49294519424438477, -0.6783758401870728, -0.41537901759147644, -0.442069947719574, 0.4709767997264862, -0.27567431330680847, 1.0903440713882446, -0.009644614532589912, -0.14472852647304535, -0.17872534692287445, -0.058468542993068695, -0.5757095217704773, -0.4992242157459259, -0.6441829800605774, -0.22158096730709076, 0.5399107933044434, 0.5668315291404724, 0.7819986939430237, 0.6050397753715515, 0.4130997061729431, 0.28234946727752686, -0.13205623626708984, -0.24478627741336823, 0.1370490938425064, -0.2693996727466583, -0.2020895779132843, -0.7604653239250183, -0.11996488273143768, 0.15616163611412048, 0.2182733714580536, 1.1014152765274048, -0.10196178406476974, 0.037929583340883255, -0.21685004234313965, 0.5369726419448853, -0.8419660329818726, -0.26132580637931824, -0.41666242480278015, 0.30455222725868225, -0.7091366052627563, 0.021389752626419067, -0.3346768021583557, -0.29177552461624146, 0.5506163835525513, -0.6838235259056091, 0.30980995297431946, 0.1402379423379898, 0.888270378112793, 0.11957745254039764, -0.24871419370174408, -0.19753673672676086, -0.5102631449699402, 0.47141289710998535, -0.377420574426651, 0.05004313588142395, 0.7160628437995911, 0.15762118995189667, 0.08349557220935822, -0.2500056326389313, -0.42638257145881653, -0.43978095054626465, -0.06534779816865921, 0.3019769489765167, 0.23444630205631256, 0.4676744043827057, 0.4415103495121002, 0.2501125931739807, -0.314804345369339, 0.27482110261917114, -0.3598650097846985, -0.273000568151474, 0.32078033685684204, 0.044030774384737015, 0.44393110275268555, -0.6958141922950745, -0.12897732853889465, 0.35181090235710144, -0.9797704815864563, 0.15547479689121246, 0.5801751017570496, 0.23899485170841217, -0.02518163062632084, 0.4839515686035156, -0.09725602716207504, 0.5607092976570129, -0.11780035495758057, 0.2124432623386383, -0.023406174033880234, -0.07688955217599869, 0.10655317455530167, 0.10671287775039673, 0.8360399603843689, 0.5734758973121643, 0.4203151762485504, 0.2414817065000534, 0.21155063807964325, 0.19024167954921722, 0.021820906549692154, -0.5813434720039368, -0.4106321632862091, -0.12409031391143799, -0.4785735011100769, -0.15511782467365265, 0.1652015745639801, -0.9665346741676331, -0.44484493136405945, 0.01714072935283184, -0.05853928253054619, -0.2767541706562042, -0.21271581947803497, 0.2373722940683365, -0.31294015049934387, -0.2388041764497757, 0.4174117147922516, -0.7637430429458618, 0.6331691145896912, 0.5243910551071167, 0.5778876543045044, -0.14634737372398376, -0.3158405125141144, -0.31478649377822876, -0.01858184114098549, -0.5141919255256653, 0.7908291220664978, -0.6354706883430481, -0.6837432980537415, 0.07962506264448166, -0.09572862088680267, 0.033258263021707535, -0.6883541345596313, 1.1328027248382568, 0.07274823635816574, 0.5133092999458313, -0.45771703124046326, -0.6569728255271912, -0.5038214921951294, -0.26849231123924255, -0.5646325349807739, 0.469562828540802, -0.31374889612197876, -0.8360369801521301, 0.7820475697517395, -0.5846379995346069, -0.750704288482666, 0.48156288266181946, -0.3495314419269562, -0.39929836988449097, 0.09630517661571503, 0.11624101549386978, 0.14080771803855896, -0.40692657232284546, 0.1267671436071396, -0.519616425037384, -0.10897427797317505, 0.17325833439826965, -0.4025847315788269, 0.7136335372924805, 0.10081668943166733, -0.31897100806236267, -0.5266590118408203, -0.644905686378479, -0.29674792289733887, 0.14338348805904388, -0.23640751838684082, -0.6788567304611206, 0.5557332038879395, 0.04523203521966934, -0.011142500676214695, 0.006097909063100815, -0.7595287561416626, 0.06507938355207443, -0.6665124893188477, 0.4879991412162781, 0.32902804017066956, 0.2656872570514679, 0.3024234175682068, 0.02511705830693245, 0.6840742826461792, -0.15384234488010406, 0.39265963435173035, -0.2679077386856079, -0.795665442943573, -0.7893510460853577, -0.06571276485919952, 0.24426889419555664, 0.6358909606933594, -0.39762407541275024, 0.2335839718580246, 0.18658125400543213, -0.04192207381129265, -0.6631543040275574, -0.21026010811328888, 0.6556124091148376, 0.6598196029663086, 0.08408606797456741, -0.06699015200138092, -0.9251862168312073, -1.1724541187286377, -0.5016770958900452, -0.5467580556869507, 0.16829434037208557, 0.10185886174440384, 0.46622395515441895, 0.2726042866706848, 1.2861946821212769, -0.4091838300228119, -0.12273873388767242, -0.23252272605895996, 0.3191491663455963, 0.21818764507770538, 0.1294470727443695, 0.8045315742492676, -0.7588987350463867, -0.21690769493579865, 0.1404716521501541, -0.5377345085144043, -0.2691127359867096, -0.1446230560541153, 0.010417438112199306, 0.311448872089386, 0.3020463287830353, -0.8986178040504456, 0.9053763151168823, -0.08011414855718613, -0.27938902378082275, 0.7718725800514221, -0.013239381834864616, -0.06701553612947464, -0.9028509259223938, 0.10207877308130264, 0.2716969847679138, -0.24714739620685577, -0.538125216960907, -0.23001866042613983, -0.10358645021915436, 0.18606700003147125, -0.4594964385032654, 0.4835522174835205, -0.033312804996967316, 0.024576811119914055, -0.13514460623264313, 0.2054215967655182, 0.14908182621002197, 0.14801904559135437, 0.42489126324653625, 0.23044395446777344, 0.1323527991771698, -0.8011528253555298, -0.19576941430568695, 0.22855015099048615, -0.5370211005210876, 0.5207028985023499, -0.6072421073913574, -0.08346767723560333, -0.15330009162425995, 0.05490767955780029, -0.8779937028884888, -0.213441401720047, 0.3918686807155609, -0.3846745491027832, -0.19723714888095856, -0.33284634351730347, -0.2439223825931549, -0.6323570609092712, -0.3472301661968231, -0.07341588288545609, 0.12895037233829498, -0.3632147014141083, 0.04151764512062073, 0.5130681395530701, -0.44647273421287537, -0.6835467219352722, -0.7133110761642456, 0.20415547490119934, -0.32532113790512085, 0.07886940240859985, 0.4462989270687103, -0.18562044203281403, -0.39701882004737854, 0.06638617813587189, 0.3341767489910126, 0.053147464990615845, 0.40288516879081726, 0.43806689977645874, 0.3750331699848175, 0.05695220082998276, 0.034318018704652786, 0.11872828006744385, -0.2825329899787903, 0.3088800311088562, 0.22360841929912567, 0.14977288246154785, 0.07671733945608139, -0.38022753596305847, -0.6618767380714417, 0.40429624915122986, 0.350911408662796, 0.20309996604919434, 0.45931464433670044, -0.04884406551718712, -0.409757137298584, 0.1270739734172821, -0.4185284674167633, 0.04124774783849716, -0.37926027178764343, 0.6847478747367859, -0.5394907593727112, -0.4787120819091797, 0.6064791679382324, 0.26576533913612366, 0.4360170364379883, 0.5708889365196228, 0.32818031311035156, -0.4193693995475769, 1.1479586362838745, 0.3064751625061035, -0.12444103509187698, 0.604158341884613, -0.13360872864723206, 0.24159415066242218, -0.5012609362602234, 0.1079147607088089, -0.7724156975746155, -0.0510634109377861, -0.5242187976837158, 0.14619414508342743, 0.04005945101380348, 0.3115953803062439, -0.1474543958902359, -0.01608443632721901, -0.25835102796554565, 0.7935715913772583, 0.2382274866104126, -0.30672818422317505, 0.2640049159526825, -0.31295186281204224, -0.28786319494247437, -0.42313143610954285, -0.35820990800857544, -0.5696009397506714, 0.5676213502883911, 0.3389250636100769, 0.029195411130785942, -0.051949791610240936, 0.5422558188438416, 0.39159563183784485, 0.1435232013463974, -0.8636519312858582, 0.7432917952537537, -0.23130248486995697, -0.6868727803230286, -0.23777532577514648, -0.3898243010044098, -1.0567821264266968, 0.3459969162940979, -0.11297975480556488, -0.7079406976699829, -0.05110415816307068, -0.0026358249597251415, -0.5022103190422058, 0.09159142524003983, -0.6485971808433533, 0.8939488530158997, -0.2451901137828827, 0.1208144798874855, -0.23632730543613434, -0.516746461391449, 0.3252139389514923, 0.14866049587726593, 0.5638746619224548, -0.25651028752326965, -0.14451727271080017, 1.0327810049057007, -0.6695188283920288, 0.8284264206886292, -0.43759727478027344, 0.2431955486536026, 0.6884478330612183, 0.3515643775463104, 0.010891507379710674, 0.16272595524787903, -0.18550510704517365, 0.07278745621442795, -0.07156956195831299, 0.09055519849061966, -0.5611034631729126, 0.04380130395293236, -0.9384832382202148, -0.6761948466300964, -0.12665414810180664, 0.12426891177892685, 0.09164305776357651, 0.09198740869760513, 0.702477753162384, 0.278128981590271, -0.43675917387008667, -0.1324540227651596, -0.05967474728822708, -0.27470842003822327, 0.7587062120437622, 0.6042947769165039, -0.6163649559020996, -0.7189158201217651, 0.7605258822441101, 0.5315603613853455, 0.01794792339205742, 0.5045182108879089, 0.7040950059890747, -0.5758106112480164, -0.6825997233390808, -0.4941202700138092, 0.29409167170524597, -0.7360507845878601, 0.13069401681423187, -0.36345425248146057, 0.05419762805104256, -0.018581876531243324, -0.10322435200214386, -0.32835128903388977, -0.7598161101341248, -0.14588923752307892, -0.5175184011459351, 0.29436033964157104, 0.8946170210838318, 0.358853280544281, 0.19286105036735535, -0.7374800443649292, 0.16656242311000824, 0.028296783566474915, 0.10786569863557816, -0.07565581798553467, -0.46064090728759766, -0.1765117198228836, -0.08108706772327423, -0.3802364468574524, -0.9123855233192444, 0.3376483619213104, 0.3091295659542084, 0.6167671084403992, 0.7041335105895996, 0.3223714828491211, 0.8892593383789062, -0.39081352949142456, 0.8229494690895081, 0.3501364290714264, -1.0483543872833252, 0.8537688255310059, -0.6144528985023499, 0.22423751652240753, 0.6616317629814148, 0.34479790925979614, -0.7749823331832886, -0.5009375214576721, -0.6083163619041443, -0.8010331392288208, 0.6851791143417358, -0.1656506210565567, -0.3015861511230469, -0.4859207272529602, 0.6025291681289673, 0.4922194480895996, 0.23581944406032562, -0.8120221495628357, -0.17166157066822052, 0.06649378687143326, -0.09624968469142914, -0.09856396168470383, -0.0015133748529478908, 0.24839238822460175, -0.28931793570518494, 0.2194904088973999, 0.011095996014773846, -0.23429055511951447, 0.06158309429883957, -0.27778738737106323, -0.2585546374320984, 0.06200551986694336, 0.5511066317558289, 0.5603629946708679, 0.006089915055781603, -0.057456981390714645, 0.15362289547920227, -0.5195258259773254, -0.09963888674974442, -0.3216283321380615, -0.7162330746650696, 0.2003742754459381, 0.4092654883861542, 0.9803284406661987, 0.36789605021476746, -0.6764460206031799, 0.35148149728775024, -0.044141851365566254, -0.39679816365242004, -0.45852822065353394, -0.35322079062461853, -0.06454858183860779, -0.5584595799446106, 0.33904629945755005, 0.3136046826839447, 0.3424389660358429, -0.5265530347824097, 0.026140928268432617, 0.12357374280691147, -0.022319981828331947, -0.7447449564933777, 0.47678619623184204, 0.5012105703353882, -0.4530484676361084, 0.6361189484596252, -0.1838647872209549, -0.7003234624862671, 0.6919443011283875, 0.205984964966774, 0.8707561492919922, -0.10189743340015411, 0.545353353023529, 0.32861801981925964, 0.1275753527879715, -0.08236708492040634, 0.169002503156662, 0.050151754170656204, -0.7589938044548035, -0.5161548256874084, -0.3760618567466736, -0.6480908393859863, 0.0016826008213683963, -0.6744559407234192, 0.48659271001815796, -0.862393856048584, -0.5461037755012512, 0.135918989777565, 0.1818368285894394, -0.4155184328556061, -0.08061729371547699, 0.49613985419273376, 0.4696006178855896, -1.097657322883606, 0.42779096961021423, 0.7322449088096619, -0.5143924951553345, -0.3493176996707916, -0.040675461292266846, 0.1467411071062088, -0.09479566663503647, 0.4972134232521057, 0.3756576478481293, -0.1369027942419052, -0.6713100671768188, -0.02272687666118145, -0.6711593866348267, -0.012434461154043674, 0.6881240606307983, -0.5575429797172546, 0.16472898423671722, 0.31706398725509644, 0.5618388652801514, -0.29396864771842957, 0.7133587598800659, 0.649161696434021, 0.5124056339263916, -0.11476260423660278, -0.9283671975135803, -0.2450171411037445, -0.19044840335845947, -0.05332165211439133, 0.5770031809806824, -0.5735059380531311, 0.9219589829444885, -0.38888150453567505, -0.4057011008262634, 0.07773704826831818, 0.4147069454193115, 0.18559019267559052, 0.548035204410553, 0.4863664209842682, 0.5320535898208618, 0.7575454115867615, 0.11931435018777847, 1.1477601528167725, -0.05636700615286827, 0.08250149339437485, 1.0357738733291626, -0.43340975046157837, 1.3009777069091797, 0.39093294739723206, -0.5309642553329468, 0.5536449551582336, 1.064084768295288, 0.48136448860168457, 0.5076696872711182, 0.005808835383504629, 0.01016996894031763, -0.26411598920822144, -0.17103178799152374, 0.16423149406909943, 0.657243549823761, 0.5973305106163025, 0.020697390660643578, 0.15861229598522186, 0.0490131676197052, 0.1618153154850006, 0.21546460688114166, -0.36586302518844604, 0.7290459275245667, 0.024644076824188232, -1.1669541597366333, 0.44718095660209656, -0.1330701857805252, 0.5349492430686951, -0.07941865175962448, -0.023975512012839317, -0.03824124112725258, -0.011510685086250305, -0.48520877957344055, -0.888640284538269, 0.3524613678455353, -0.044966429471969604, -0.3131391108036041, 0.06829988211393356, 0.357066810131073, 0.11425445973873138, -0.2813497483730316, 0.42429664731025696, 0.5531708002090454, 0.3584248423576355, 0.37932682037353516, -0.8176756501197815, -0.3769229054450989, -0.05523503199219704, -0.29711174964904785, 0.24593627452850342, 0.3794647753238678, -0.37945908308029175, 0.6029709577560425, 0.42363619804382324, 0.3645794689655304, 0.24467317759990692, 0.5430799126625061, 0.1427602767944336, -0.6138339638710022, -0.6036106944084167, -1.0980157852172852, 0.3292379081249237, -0.18644094467163086, -0.5579071044921875, 0.5555413961410522, 0.4477198123931885, 0.63764888048172, 0.04820479080080986, 1.0617725849151611, -0.023292826488614082, 1.0299737453460693, -0.32690414786338806, 0.4450497627258301, -0.22698764503002167, 0.05215854197740555, -0.5783304572105408, -0.7855865359306335, -0.2269601821899414, 0.8325434923171997, -0.5478707551956177, 0.14378751814365387, 0.8368741869926453, 0.3034307360649109, 0.5363277196884155, 0.4399663507938385, 0.2017158418893814, 0.019285904243588448, 0.2755139470100403, 0.4990743100643158, 1.185207724571228, -0.21308840811252594, 0.31251612305641174, -0.338707834482193, 0.05063817650079727, -0.3745301067829132, -0.7347097992897034, -0.7899292707443237, -0.45699551701545715, -0.6749699711799622, 0.37399107217788696, -0.09137521684169769, 0.9881210923194885, 0.5094828009605408, -0.6229414343833923, -0.31627464294433594, -0.36098867654800415, 0.35591796040534973, -0.14025992155075073, -0.20679399371147156, 0.1651168167591095, -0.07706759870052338, -0.8330816030502319, 0.2237660437822342, 0.2596026062965393, -0.01618407666683197, -0.07539401948451996, -0.06158957630395889, -0.06015023589134216, -0.1113642081618309, 0.4226853847503662, 0.5908345580101013, -1.002297282218933, -0.4156307280063629, -0.429578572511673, 0.2640663683414459, 0.1408761888742447, 0.8347826600074768, -0.7118926048278809, 0.3920212686061859, 0.4970836937427521, 0.2402588129043579, -0.022221896797418594, -0.028188109397888184, 0.6617372632026672, -0.8024832606315613, 0.37298887968063354, 0.2190490961074829, 0.6089615225791931, 0.23943999409675598, -0.23479151725769043, 0.26117172837257385, 0.4822967052459717, -0.34517529606819153, -0.8697206377983093, 0.1883152276277542, -0.5099270939826965, -0.1608131229877472, 0.8265272378921509, -0.17134857177734375, -0.32351523637771606, -0.5535265207290649, -0.3755934536457062, 0.005737763363867998, -0.5212134718894958, 0.7363947033882141, 0.8900537490844727, -0.14912520349025726, -0.5425668358802795, -0.7162923812866211, 0.6097784042358398, 0.740081250667572, -0.6363168358802795, 0.27800771594047546, 0.5109683871269226, 0.03369336575269699, 0.4353735148906708, 0.4580293297767639, 0.19221006333827972, 0.6073375344276428, -0.09970070421695709, 0.14613385498523712, 0.22369924187660217, -0.43168407678604126, -0.2650584280490875, 0.47884443402290344, 0.4749913811683655, -0.4345174729824066 ]
http://arxiv.org/abs/2404.11288v1
http://arxiv.org/pdf/2404.11288v1
A Preference-driven Paradigm for Enhanced Translation with Large Language Models
2024-04-17T11:52:47
2024-04-17T11:52:47
Dawei Zhu, Sony Trenous, Xiaoyu Shen, Dietrich Klakow, Bill Byrne, Eva Hasler
cs.CL
cs.CL
Recent research has shown that large language models (LLMs) can achieve remarkable translation performance through supervised fine-tuning (SFT) using only a small amount of parallel data. However, SFT simply instructs the model to imitate the reference translations at the token level, making it vulnerable to the noise present in the references. Hence, the assistance from SFT often reaches a plateau once the LLMs have achieved a certain level of translation capability, and further increasing the size of parallel data does not provide additional benefits. To overcome this plateau associated with imitation-based SFT, we propose a preference-based approach built upon the Plackett-Luce model. The objective is to steer LLMs towards a more nuanced understanding of translation preferences from a holistic view, while also being more resilient in the absence of gold translations. We further build a dataset named MAPLE to verify the effectiveness of our approach, which includes multiple translations of varying quality for each source sentence. Extensive experiments demonstrate the superiority of our approach in "breaking the plateau" across diverse LLMs and test settings. Our in-depth analysis underscores the pivotal role of diverse translations and accurate preference scores in the success of our approach.
[ -0.2454276829957962, -0.6011705994606018, 0.7282423377037048, 0.40088558197021484, -0.3211084008216858, 0.08646237105131149, -0.5709443688392639, -0.10790934413671494, 0.235843226313591, 0.9483596682548523, -0.3080855906009674, -0.42540818452835083, -0.7817553281784058, 0.2779899537563324, -0.29311999678611755, 1.1614211797714233, -0.3229561448097229, 0.03677155822515488, -0.012892709113657475, -0.06540469825267792, -0.42238950729370117, -0.4805503189563751, -0.35064661502838135, -0.3038480579853058, 0.4108767509460449, 0.264506995677948, 1.0153249502182007, 0.7895455956459045, 0.5822476744651794, 0.20302745699882507, -0.18411697447299957, 0.36001458764076233, -0.6121816635131836, -0.03424083814024925, -0.0959731861948967, -0.791121780872345, -0.6394363045692444, 0.04176812618970871, 0.6148183941841125, 0.7269539833068848, -0.049166999757289886, 0.008879237808287144, 0.23563764989376068, 0.8300961852073669, -0.22677986323833466, 0.16580291092395782, -0.8566399216651917, 0.20917846262454987, -0.18955278396606445, -0.38902747631073, -0.6333862543106079, -0.27758607268333435, -0.016499929130077362, -0.8079376816749573, 0.0612775981426239, 0.14641687273979187, 0.6599898934364319, 0.26691779494285583, -0.5912351012229919, 0.13683800399303436, -0.4857424795627594, 1.007269263267517, -0.7217405438423157, 0.3627054989337921, 0.4368177354335785, 0.08012444525957108, -0.3491753041744232, -0.33989933133125305, -0.24198514223098755, -0.3327755331993103, -0.06133585050702095, 0.2527538537979126, 0.1367950737476349, 0.004741146694868803, 0.10060315579175949, 0.64554363489151, -0.5690300464630127, 0.08224017173051834, -0.2505604028701782, 0.1339740753173828, 0.40773919224739075, 0.23360037803649902, 0.26826781034469604, -0.11340954154729843, -0.2614463269710541, 0.04014277830719948, -0.7197109460830688, 0.08158790320158005, 0.1609668731689453, 0.6177915334701538, 0.09552246332168579, 0.5847015380859375, -0.39176449179649353, 0.7415016293525696, 0.4008941352367401, -0.08680235594511032, 0.5443965196609497, -0.17561709880828857, -0.20382221043109894, -0.0073744612745940685, 0.721688449382782, 0.5391801595687866, 0.3030335605144501, -0.44045448303222656, -0.33833760023117065, 0.06400877982378006, 0.20804107189178467, -0.7882125973701477, -0.0171209704130888, 0.24484169483184814, -0.45056867599487305, -0.28979116678237915, -0.20150437951087952, -0.5348729491233826, -0.41106048226356506, -0.6947400569915771, 0.30654504895210266, -0.4810951054096222, -0.3107417821884155, 0.4031093716621399, 0.17538563907146454, -0.005702640861272812, 0.4123559892177582, -1.0860846042633057, 0.1860426962375641, 0.8280612826347351, 1.0655949115753174, -0.6430282592773438, -0.4227263033390045, -0.7648417353630066, 0.2711706757545471, -0.5238201022148132, 0.7676646709442139, -0.5639744997024536, -0.5065694451332092, -0.18171770870685577, -0.033755164593458176, 0.11967223137617111, -0.7693782448768616, 0.5336036682128906, -0.4448889195919037, -0.1729206144809723, -0.4300825595855713, -0.48594844341278076, 0.08498837798833847, 0.29872769117355347, -0.517005980014801, 0.819060742855072, 0.24916350841522217, -0.42865249514579773, 0.616622269153595, -0.5886049270629883, -0.5188220739364624, 0.052699945867061615, -0.03545624017715454, -0.03410114720463753, 0.4505681097507477, 0.34809067845344543, 0.4145064353942871, -0.38132768869400024, 0.5234594941139221, -0.3649689555168152, -0.2898707985877991, 0.1376810371875763, -0.298168420791626, 0.513888955116272, 0.18042108416557312, -0.03877048194408417, 0.3718603849411011, -0.48409029841423035, -0.18751434981822968, 0.1199784129858017, -0.5330550670623779, -0.5610091686248779, -0.2850937247276306, 0.03295671194791794, 0.2587920129299164, 0.4780758023262024, -0.5720414519309998, 0.34974342584609985, -0.7189488410949707, 0.5051378011703491, 0.9975295066833496, -0.3402842879295349, 0.7029229998588562, -0.40052253007888794, 0.4489682912826538, 0.032777924090623856, 0.36166876554489136, 0.1938754916191101, -0.28740862011909485, -0.6628259420394897, -0.13661547005176544, 0.2357955425977707, 0.3915891945362091, -0.4058898687362671, 0.33722391724586487, -0.5233277678489685, -0.16733284294605255, -0.7761069536209106, 0.4192836880683899, 0.05984066426753998, 0.2524472177028656, 0.6555688977241516, -0.396420419216156, -0.20331723988056183, -1.0840091705322266, -0.39425304532051086, 0.10156018286943436, 0.006661694031208754, 0.34929290413856506, 0.17231152951717377, -0.05305478721857071, 0.8757940530776978, -0.475885272026062, -0.4195750951766968, -0.28211069107055664, -0.04350350797176361, 0.49645453691482544, 0.4648665487766266, 0.5041038393974304, -1.0375117063522339, -0.9315260052680969, 0.3873361349105835, -0.38604825735092163, -0.11796721816062927, -0.0488327257335186, -0.35210758447647095, -0.04260016605257988, 0.320455938577652, -0.399658739566803, 0.03964740410447121, 0.7269899249076843, -0.048009879887104034, 0.39208850264549255, -0.23092572391033173, 0.16235101222991943, -1.1454471349716187, -0.08136486262083054, -0.12638787925243378, -0.26366710662841797, -0.5182480812072754, 0.25058111548423767, 0.13607557117938995, 0.2608458995819092, -0.3903510272502899, 0.3660094141960144, -0.12102577835321426, -0.09324683994054794, -0.2557029724121094, -0.026818256825208664, 0.02187495306134224, 0.3482118248939514, 0.20564262568950653, 1.0188710689544678, 0.18296578526496887, -0.38999658823013306, 0.050845466554164886, 0.6298854351043701, -0.31215447187423706, 0.5585606098175049, -0.6710869669914246, -0.010938555002212524, -0.056856490671634674, 0.21015827357769012, -0.7084949612617493, -0.24137350916862488, -0.03188728168606758, -0.2084484100341797, 0.26589715480804443, -0.2771017849445343, -0.6606130003929138, 0.11736591160297394, -0.2429441660642624, 0.18466496467590332, 0.5832568407058716, -0.6144667863845825, 0.46409380435943604, 0.3214333951473236, -0.30463144183158875, -0.46160075068473816, -0.6662295460700989, 0.2117835432291031, -0.2761043310165405, -0.5295441746711731, 0.5096171498298645, -0.3755320608615875, -0.13676385581493378, -0.2558880150318146, -0.07903309911489487, 0.00661562941968441, 0.06906597316265106, 0.21957094967365265, 0.25849005579948425, -0.2311048060655594, -0.09335572272539139, 0.1846221685409546, -0.3002161979675293, -0.44167473912239075, -0.4274604320526123, 0.5688318014144897, -0.3310115337371826, 0.016094131395220757, -0.09810389578342438, 0.4963214695453644, 0.9086506962776184, -0.5929170846939087, 0.7653847932815552, 0.3665880262851715, 0.15974551439285278, -0.1140810027718544, -0.38274550437927246, -0.12694206833839417, -0.457317054271698, 0.2533791661262512, -0.5547418594360352, -0.9873446822166443, 0.24462741613388062, -0.33237847685813904, 0.27855557203292847, 0.35554805397987366, 0.5097233653068542, 0.14797234535217285, 1.2932952642440796, 0.5840905904769897, -0.10927034914493561, 0.5126327872276306, -0.0941043347120285, 0.10529542714357376, -1.1841647624969482, 0.2942644953727722, -0.15182948112487793, -0.2999895513057709, -0.5846893787384033, -0.29885175824165344, 0.6365466713905334, 0.1345013678073883, -0.20275120437145233, 0.38774213194847107, -0.3837027847766876, 0.38927653431892395, 0.39996767044067383, 0.0945124477148056, 0.6647200584411621, 0.13927634060382843, -0.17615918815135956, -0.1868731677532196, -0.5923795104026794, -0.5116226673126221, 1.2359458208084106, 0.2146662026643753, 0.48218655586242676, 0.3425092101097107, 0.6429369449615479, -0.0941043347120285, 0.5615438222885132, -0.7683398127555847, 0.4439237117767334, -0.7013141512870789, -0.46966299414634705, -0.2767844498157501, -0.45730477571487427, -0.8688526749610901, 0.42319029569625854, -0.16081266105175018, -0.4687850773334503, 0.06310679018497467, 0.17525187134742737, -0.3549993336200714, 0.03453903645277023, -0.42155927419662476, 0.8858043551445007, -0.471888929605484, -0.5719749331474304, -0.43405765295028687, -0.45370298624038696, 0.4094513952732086, -0.3925717771053314, 0.19918902218341827, -0.20680435001850128, -0.037074267864227295, 0.42818719148635864, -0.10970350354909897, 0.7302289009094238, 0.1355852633714676, -0.08083958923816681, -0.3369942605495453, 0.38123854994773865, 0.6940251588821411, -0.08991175144910812, -0.34395474195480347, 0.13069581985473633, 0.07411715388298035, -0.4519641101360321, -0.5444946885108948, 0.8396545648574829, -0.8099319934844971, -0.6910557150840759, -0.09882757812738419, -0.9454489946365356, -0.43102625012397766, 0.31720614433288574, 0.16274452209472656, 0.12740358710289001, -0.038392435759305954, 0.3266567587852478, 0.5952357053756714, -0.16530172526836395, -0.142838254570961, 0.7404958605766296, -0.5484245419502258, -0.21957466006278992, 1.0094234943389893, 0.29574495553970337, 0.5304995775222778, 0.3997463583946228, 0.48654040694236755, -0.21580690145492554, -0.9538619518280029, -0.5403344631195068, 0.21701200306415558, -0.4284783601760864, 0.052198369055986404, -0.6707392930984497, 0.2223135083913803, -0.2843274474143982, -0.4252554774284363, -0.5568421483039856, -0.24734751880168915, -0.12864914536476135, -0.0827171728014946, 0.3924502432346344, 0.4599349796772003, 0.10433870553970337, 0.3567127585411072, -0.7351029515266418, 0.29697003960609436, 0.18865424394607544, 0.43113064765930176, -0.20672938227653503, -0.7900896072387695, -0.1870601922273636, -0.07855761051177979, -0.19390736520290375, -0.5100336074829102, 0.5834909081459045, -0.03137674927711487, 0.42626088857650757, 0.06465309858322144, 0.11832108348608017, 0.6953325271606445, -0.6416751146316528, 0.6998746395111084, 0.04859405383467674, -0.8641958236694336, 0.40664777159690857, -0.6458852291107178, 0.22676238417625427, 0.8815860152244568, 0.1854388415813446, -0.553625226020813, -0.41939347982406616, -0.4091769754886627, -1.077816367149353, 0.4248850643634796, -0.0357910580933094, 0.21786212921142578, 0.06517956405878067, 0.343484491109848, 0.42741283774375916, 0.4603179395198822, -0.5705816745758057, 0.17797788977622986, -0.12581706047058105, -0.18589968979358673, -0.3960626423358917, 0.03048512525856495, -0.09855178743600845, -0.16829952597618103, 0.6536116003990173, -0.33448344469070435, -0.3547908663749695, -0.03481859341263771, -0.2628869116306305, -0.13090302050113678, 0.42095884680747986, 0.35802310705184937, 0.5066890716552734, -0.40172961354255676, 0.026387976482510567, 0.051256004720926285, -0.18970808386802673, 0.0753972977399826, -0.2010054737329483, -0.5479615926742554, -0.18663696944713593, -0.05406130477786064, 0.8852359652519226, 0.1504446268081665, -0.4396432340145111, 0.3863086700439453, 0.1633910834789276, -0.03969239443540573, -0.0017601187573745847, -0.017072182148694992, -0.03173867613077164, -0.06946517527103424, 0.06084848940372467, 0.1993715763092041, 0.0646955668926239, -0.46276646852493286, 0.1604587286710739, 0.4294617772102356, -0.3996409773826599, -0.258929967880249, 0.4932083189487457, 0.23993226885795593, -0.08562908321619034, 0.23944608867168427, 0.09179260581731796, -0.40507644414901733, 0.24007944762706757, 0.6707233190536499, 0.6735363602638245, -0.19849315285682678, 0.26909133791923523, 0.21143221855163574, 0.30987977981567383, -0.6710700392723083, -0.08063023537397385, 0.08924756199121475, -0.7932376861572266, -0.6207121014595032, -0.8298221826553345, -0.3630177974700928, 0.20391513407230377, -0.8005673289299011, 0.09266693145036697, -0.44704538583755493, -0.12729988992214203, -0.11786044389009476, -0.33950215578079224, -0.4444162845611572, -0.09124533087015152, -0.282932311296463, 0.8613934516906738, -0.8329043388366699, 0.8866567611694336, 0.5926561951637268, -0.44934889674186707, -0.4835682511329651, 0.2439086139202118, -0.12140019237995148, -0.7632034420967102, 0.5728623270988464, -0.04717724770307541, -0.08224482089281082, 0.33372199535369873, -0.18659473955631256, -0.7161175608634949, 0.762969970703125, 0.6962980628013611, -0.6469174027442932, 0.23606793582439423, 0.13556984066963196, 0.4577797055244446, -0.38453933596611023, -0.20105323195457458, 0.8552916049957275, 0.6419471502304077, -0.15109574794769287, -1.1708911657333374, -0.11888924241065979, -0.02076663449406624, 0.00984310545027256, 0.40761128067970276, -0.915675938129425, 0.8221536874771118, 0.03516640514135361, 0.13109326362609863, 0.13449937105178833, 0.3463936150074005, 0.02452429197728634, -0.18855436146259308, 0.4716334939002991, 0.25176793336868286, 0.6685694456100464, 0.18820606172084808, 1.2456554174423218, -0.4961862862110138, 0.2310895323753357, 1.2404053211212158, -0.4009421169757843, 1.1683716773986816, 0.8123079538345337, -0.211200550198555, 0.12547719478607178, 0.5416677594184875, 0.08520319312810898, 0.6279739141464233, 0.020325303077697754, -0.095252126455307, -0.6826521754264832, -0.532341480255127, -0.32965296506881714, 0.35228201746940613, 0.27068984508514404, -0.4985390603542328, -0.07361875474452972, -0.033575184643268585, -0.09521087259054184, 0.3945477604866028, -0.33639103174209595, 0.6511731147766113, 0.19172202050685883, -0.7734041213989258, 0.7029147744178772, 0.12895627319812775, 0.6712373495101929, -0.7198004126548767, 0.11032722145318985, -0.28265318274497986, 0.11174512654542923, -0.14123421907424927, -0.8610517978668213, 0.2535266876220703, -0.07777027785778046, -0.30181676149368286, -0.6131975650787354, 0.2686915397644043, -0.516261637210846, -0.4754410684108734, 0.22284850478172302, 0.4562741816043854, 0.10342998802661896, -0.15728838741779327, -0.48551100492477417, 0.10543446242809296, 0.05617325380444527, -0.18884089589118958, 0.7413154244422913, 0.17272667586803436, -0.08256348222494125, 0.3574366569519043, 0.8122247457504272, 0.3157900273799896, -0.19742104411125183, -0.08517666161060333, 0.6311596632003784, -0.2875542640686035, -0.6709092855453491, -0.844448983669281, 0.35910874605178833, -0.0916302278637886, -0.3764982521533966, 0.8822711706161499, 0.6637957692146301, 0.6825848817825317, -0.06918590515851974, 1.0400055646896362, 0.38146886229515076, 0.3984825015068054, -0.5945584774017334, 0.47563207149505615, -0.5698481202125549, 0.2712119519710541, -0.2366587519645691, -0.9302065372467041, -0.42768263816833496, 0.746841549873352, -0.7372651100158691, -0.38266104459762573, 0.49540674686431885, 0.7907975316047668, -0.2796367406845093, -0.01120541337877512, 0.4912213385105133, 0.40837931632995605, 0.3049215078353882, 0.7768648862838745, 0.6572273373603821, -0.1279565989971161, 0.39687496423721313, 0.1317872256040573, -0.4762260317802429, -0.2222154438495636, -0.8137032985687256, -0.771110475063324, -0.41092735528945923, -0.10250332951545715, -0.3660110831260681, -0.06804622709751129, 1.2456051111221313, 0.4950112998485565, -0.8343065977096558, -0.2382209450006485, -0.25499972701072693, -0.19223083555698395, -0.31586286425590515, -0.10680944472551346, 0.3205694556236267, -0.36669299006462097, -0.8143235445022583, 0.6268572807312012, 0.5966922044754028, 0.05007355660200119, -0.2784954905509949, -0.1505526751279831, 0.29815617203712463, 0.12094192206859589, 0.7844727039337158, -0.011597768403589725, -0.8549289107322693, -0.19262085855007172, 0.10049044340848923, -0.008488170802593231, 0.3925039768218994, 0.8531932830810547, -0.529986560344696, 0.4909716546535492, 0.38265368342399597, 0.8791252374649048, 0.55353844165802, -0.08701466023921967, 0.900632381439209, -0.3487620949745178, 0.11815705895423889, 0.03472540155053139, 0.15048885345458984, 0.4990311563014984, -0.43212953209877014, 0.46678927540779114, 0.10131276398897171, -0.37746793031692505, -0.8466827273368835, 0.3280872106552124, -0.9040122628211975, -0.34401315450668335, 1.3994812965393066, -0.07451797276735306, -0.12271163612604141, -0.13986872136592865, -0.46357497572898865, -0.048911359161138535, -0.5720927119255066, 0.9444730281829834, 0.7382951974868774, -0.03322555124759674, 0.07569824159145355, -0.9325537085533142, 0.4145873785018921, 0.7138555645942688, -0.465930700302124, 0.4594269394874573, 0.26567086577415466, 0.28126513957977295, 0.05719181150197983, 0.5699150562286377, -0.23249687254428864, 0.06533268839120865, -0.40544044971466064, -0.3778083622455597, -0.11200765520334244, -0.26927968859672546, -0.4158449172973633, 0.2193547934293747, 0.5261155366897583, 0.16244307160377502 ]
http://arxiv.org/abs/2404.11262v1
http://arxiv.org/pdf/2404.11262v1
Sampling-based Pseudo-Likelihood for Membership Inference Attacks
2024-04-17T11:12:59
2024-04-17T11:12:59
Masahiro Kaneko, Youmi Ma, Yuki Wata, Naoaki Okazaki
cs.CL
cs.CL
Large Language Models (LLMs) are trained on large-scale web data, which makes it difficult to grasp the contribution of each text. This poses the risk of leaking inappropriate data such as benchmarks, personal information, and copyrighted texts in the training data. Membership Inference Attacks (MIA), which determine whether a given text is included in the model's training data, have been attracting attention. Previous studies of MIAs revealed that likelihood-based classification is effective for detecting leaks in LLMs. However, the existing methods cannot be applied to some proprietary models like ChatGPT or Claude 3 because the likelihood is unavailable to the user. In this study, we propose a Sampling-based Pseudo-Likelihood (\textbf{SPL}) method for MIA (\textbf{SaMIA}) that calculates SPL using only the text generated by an LLM to detect leaks. The SaMIA treats the target text as the reference text and multiple outputs from the LLM as text samples, calculates the degree of $n$-gram match as SPL, and determines the membership of the text in the training data. Even without likelihoods, SaMIA performed on par with existing likelihood-based methods.
[ -0.2031307965517044, -0.6854097843170166, 0.6262779235839844, -0.2338428795337677, -0.44785067439079285, 0.03346722573041916, 0.1883707046508789, -0.5219964981079102, 0.3141377568244934, 0.37034159898757935, -0.7820952534675598, -0.5836407542228699, -0.6027871966362, 0.1851484179496765, -0.6218003034591675, 0.8147363066673279, 0.36654019355773926, 0.182853564620018, -0.23476828634738922, -0.03583481162786484, -0.18173150718212128, -0.9295505285263062, -0.2335442751646042, 0.23904117941856384, 0.4833519458770752, 0.09986837953329086, 0.2950105667114258, 0.2669094502925873, 0.2266860455274582, 0.26959237456321716, 0.03147801756858826, 0.06912187486886978, -0.5224433541297913, 0.02768365852534771, -0.30130138993263245, -0.8651475310325623, -0.3080002963542938, 0.0840202048420906, 0.6493397951126099, 0.32678186893463135, -0.12598316371440887, 0.1389712691307068, 0.025157500058412552, 0.4196334481239319, -0.9214125275611877, 0.05429499223828316, -1.0101982355117798, -0.14333494007587433, -0.5933796763420105, -0.16559091210365295, -0.6033074259757996, -0.34361904859542847, 0.08813481032848358, -0.24613867700099945, 0.30269840359687805, 0.10034606605768204, 0.8741191029548645, 0.004063931759446859, -0.17804157733917236, -0.46431100368499756, -0.3990165889263153, 0.9026095271110535, -0.9574183821678162, 0.43505600094795227, 0.839738130569458, 0.2472791224718094, -0.3485446572303772, -0.5503520369529724, -0.8983818888664246, -0.06131928786635399, -0.06375634670257568, 0.031796734780073166, -0.0355093777179718, 0.0013070477871224284, 0.08467260003089905, 0.27029097080230713, -0.662705659866333, 0.10387032479047775, -0.2980995178222656, -0.1887071430683136, 0.7432680726051331, -0.2787172794342041, 0.5084459781646729, -0.15567618608474731, -0.712105929851532, -0.1664862036705017, -0.8917260766029358, -0.39131930470466614, 0.49600207805633545, 0.2997996509075165, -0.28303250670433044, 0.6494083404541016, 0.057763077318668365, 0.6890206933021545, -0.1410697102546692, -0.2791091501712799, 0.0534973219037056, -0.10657142847776413, -0.34438174962997437, -0.1857520490884781, 0.779941737651825, 0.026525508612394333, 0.12437610328197479, -0.1684090793132782, -0.22956646978855133, 0.027506478130817413, 0.06602777540683746, -0.7112670540809631, -0.40787068009376526, 0.4227517545223236, -0.4784460961818695, -0.3050765097141266, 0.35460060834884644, -1.0320483446121216, -0.5025030374526978, 0.030104268342256546, 0.5710062384605408, -0.3958834707736969, -0.23599348962306976, -0.11064155399799347, -0.11061839759349823, -0.03661096468567848, 0.07091958820819855, -0.577613890171051, 0.04092909395694733, 0.36652547121047974, 0.8036735653877258, -0.24791517853736877, -0.22669366002082825, -0.5747568607330322, 0.11699997633695602, -0.08407795429229736, 0.9088486433029175, -0.4475080668926239, -0.3880878686904907, 0.39072147011756897, -0.35272878408432007, -0.35946935415267944, -0.4366041421890259, 0.38396888971328735, -0.9508406519889832, 0.19630283117294312, -0.0005265852669253945, -1.038703441619873, 0.07102810591459274, 0.30693280696868896, -0.8794507384300232, 0.9087321758270264, 0.10019834339618683, -0.991990327835083, 0.25761738419532776, -0.32443469762802124, 0.018452512100338936, 0.037973981350660324, -0.2760973572731018, -0.7178698778152466, 0.044053371995687485, 0.26815128326416016, 0.5269403457641602, 0.02597731538116932, 0.09130054712295532, -0.6280801892280579, -0.289206326007843, 0.7825754284858704, -0.415097713470459, 0.8206103444099426, 0.20743803679943085, -0.25767379999160767, 0.04576771333813667, -0.6000016331672668, 0.021756146103143692, 0.04124607518315315, -0.3339807093143463, -0.46499747037887573, 0.3867102265357971, -0.19347158074378967, 0.17561174929141998, 0.25117015838623047, -0.5104351043701172, 0.17473948001861572, -0.5487872958183289, -0.17969739437103271, 0.8648915886878967, 0.2719147205352783, 0.34475284814834595, -0.5273081064224243, 0.5368548631668091, -0.10025200992822647, 0.07315420359373093, -0.03280407190322876, -0.5515320897102356, -0.629295825958252, -0.8888928294181824, 0.6035143733024597, 0.41408711671829224, -1.0413731336593628, 0.6679307222366333, -0.28711235523223877, -0.7101166844367981, -0.26065823435783386, -0.020499859005212784, 0.2957253158092499, 0.04073041304945946, 0.40716496109962463, -0.09767133742570877, -0.32343611121177673, -0.653748631477356, -0.4255342483520508, -0.5413265228271484, -0.4091421067714691, 0.1704694777727127, 0.4628903865814209, 0.08782435208559036, 1.232757329940796, -0.5635814070701599, -0.45425018668174744, -0.39337271451950073, 0.1699233502149582, 0.04451506957411766, 0.3399287462234497, 0.7046670913696289, -0.5747032165527344, -0.46629035472869873, -0.46325019001960754, -0.5498177409172058, -0.3324746787548065, -0.3988078832626343, -0.06114219129085541, 0.17295955121517181, 0.36310267448425293, -0.5267328023910522, 0.8176446557044983, 0.8683780431747437, -0.3490808308124542, 0.6430740356445312, 0.12610968947410583, -0.16850923001766205, -1.1251128911972046, 0.06972098350524902, -0.16628497838974, -0.43751347064971924, -0.6998451948165894, 0.4127761125564575, 0.20992626249790192, -0.12228011339902878, -0.5330718755722046, 0.6397773623466492, -0.6088495850563049, -0.02742006443440914, -0.32925090193748474, -0.13189469277858734, -0.299143522977829, 0.44290709495544434, 0.1841026395559311, 0.7395924925804138, 0.4086601138114929, -0.6975329518318176, -0.139587864279747, 0.19688557088375092, -0.29332399368286133, 0.3344804346561432, -0.29625195264816284, 0.4130171537399292, 0.006506430916488171, 0.6303724646568298, -0.8171857595443726, -0.19171451032161713, 0.4720580279827118, -0.6166201829910278, 0.29233318567276, -0.4471513330936432, -0.6338830590248108, -0.014835168607532978, -0.5105991363525391, 0.2606057822704315, 0.11445001512765884, -0.6866450309753418, 0.5912196636199951, 0.4899768829345703, -0.12244061380624771, -0.7519544959068298, -0.48771101236343384, -0.006897385232150555, -0.2505435049533844, -0.40825405716896057, 0.34277236461639404, -0.260606974363327, 0.0326874703168869, -0.2076469361782074, -0.3108137547969818, -0.41524264216423035, 0.2327694445848465, 0.10452066361904144, 0.46671241521835327, 0.09041158109903336, -0.13642293214797974, 0.043370284140110016, 0.15006862580776215, -0.04732971638441086, -0.19526530802249908, 0.8387535810470581, 0.3907829523086548, -0.7093791961669922, -0.924126386642456, 0.4899258613586426, 0.46289587020874023, -0.19550198316574097, 1.1303390264511108, 0.13924743235111237, -0.33574509620666504, -0.7580260038375854, -0.42757678031921387, -0.5285717248916626, -0.4583304524421692, 0.27460724115371704, -0.19028142094612122, -0.652819037437439, 0.5559966564178467, -0.015077396295964718, 0.26609325408935547, 0.18072521686553955, 0.39105910062789917, -0.395052045583725, 0.39612123370170593, 0.49465832114219666, -0.39762651920318604, 0.473563551902771, -0.12291507422924042, 0.2883089482784271, -0.167403906583786, -0.07933320850133896, -0.7880004644393921, -0.2693966031074524, -0.2898441255092621, -0.6636824011802673, 0.27698466181755066, 0.2847123444080353, 0.3109017610549927, 0.3658912479877472, 0.10273264348506927, 0.5211014747619629, 0.4373496472835541, 0.009049571119248867, 0.22025643289089203, 0.33623552322387695, -0.16988606750965118, 0.00243998016230762, -0.632663905620575, -0.2909969687461853, 1.1642554998397827, 0.49960824847221375, 0.6933285593986511, 0.5791882276535034, 0.8611473441123962, 0.46892479062080383, 0.531208872795105, -0.7278453707695007, 0.6093409657478333, 0.2833959758281708, -0.8799765706062317, -0.17948465049266815, -0.6152292490005493, -0.7605754733085632, 0.354038804769516, -0.3680761456489563, -0.9284369945526123, 0.5187576413154602, 0.08718663454055786, -0.04043377563357353, 0.5779414772987366, -0.33632075786590576, 0.302934855222702, 0.16632235050201416, 0.028065761551260948, 0.009014148265123367, -0.501527726650238, 0.46507909893989563, -0.5604520440101624, 0.3196403384208679, 0.09710683673620224, 0.030232900753617287, 0.7336661219596863, -0.6195785999298096, 1.240910291671753, -0.24811439216136932, -0.1930254101753235, 0.2931993007659912, 0.22156402468681335, 0.7744468450546265, 0.1534259021282196, -0.1317715048789978, 0.4150654673576355, 0.016599038615822792, -0.4698731303215027, -0.5729033350944519, 0.19083908200263977, -0.608517050743103, -0.3270336091518402, -0.9140195250511169, -0.1758805364370346, -0.4073288142681122, 0.06893821805715561, 0.4266957640647888, 0.20611539483070374, -0.057719118893146515, 0.1681959331035614, 0.5889034271240234, -0.2515554428100586, 0.48194676637649536, 0.7646157145500183, -0.1774611920118332, -0.31640148162841797, 0.8786050081253052, -0.05833407863974571, 0.4747593104839325, 0.3389545977115631, 0.032392602413892746, -0.5303952097892761, -0.9707470536231995, -0.5383442044258118, 0.4037949740886688, -0.4091649055480957, -0.6620222926139832, -0.4801522493362427, -0.40702614188194275, -0.16600899398326874, 0.19064030051231384, -0.33944448828697205, -0.25647854804992676, -0.3136709928512573, -0.05228135734796524, 0.013692309148609638, 0.31998538970947266, 0.11128728836774826, 0.6022698879241943, -1.0945723056793213, 0.1879596710205078, 0.09504063427448273, 0.10590039938688278, 0.015812929719686508, -0.5743204355239868, -0.07917027920484543, -0.017239481210708618, -0.08855839818716049, -1.4794976711273193, 0.5337068438529968, 0.344868928194046, 0.526274561882019, 0.7568206787109375, 0.43755584955215454, 0.45805129408836365, -0.467086523771286, 0.87763911485672, 0.10144443809986115, -0.8640880584716797, 0.2990832030773163, -0.25118470191955566, -0.16442427039146423, 0.6335409283638, 0.4880310297012329, -0.2607533633708954, -0.590803325176239, -0.6909546852111816, -0.72345370054245, 0.889118492603302, 0.6237897276878357, 0.2205285131931305, -0.09126901626586914, 0.16408459842205048, -0.13013112545013428, 0.1529265195131302, -1.0751463174819946, -0.5211921334266663, 0.12303875386714935, -0.17048753798007965, 0.4433758556842804, -0.43382740020751953, -0.02026563137769699, 0.16231669485569, 0.8648411631584167, -0.1401064544916153, 0.36842310428619385, 0.12720897793769836, -0.3751484751701355, 0.25009819865226746, 0.2153211236000061, 0.31334733963012695, 0.7777078747749329, -0.21431207656860352, 0.19059999287128448, 0.2108277827501297, -0.6623223423957825, 0.1337798535823822, 0.07084817439317703, -0.3689969480037689, 0.29702913761138916, 0.5315287113189697, 0.22574524581432343, 0.03439624607563019, -0.8256630301475525, 0.893757164478302, -0.1210094466805458, -0.04803818091750145, -0.41776397824287415, 0.042160943150520325, 0.16635359823703766, -0.03292706608772278, 0.5814844965934753, -0.09437532722949982, -0.10693086683750153, -0.5905219912528992, 0.570435106754303, 0.4176466763019562, -0.26603052020072937, -0.22531069815158844, 0.19424378871917725, -0.052856817841529846, -0.013532714918255806, 0.34143516421318054, -0.13048067688941956, -0.6362628936767578, 0.25059542059898376, 0.7842521071434021, 0.464361310005188, -0.7465511560440063, 0.2403637021780014, 0.35369613766670227, 0.2177288830280304, 0.19393454492092133, 0.1503770500421524, 0.05181175470352173, -0.830094039440155, -0.3451867997646332, -1.0128188133239746, -0.07365922629833221, 0.5961635708808899, -0.6094669699668884, 0.1488979160785675, -0.5714592933654785, -0.0239216648042202, -0.38523387908935547, -0.16604338586330414, -0.07472851127386093, 0.1799570918083191, 0.013055154122412205, 0.9315587878227234, -0.9639683961868286, 1.0187387466430664, 0.24060042202472687, -0.2371113896369934, -0.6549498438835144, 0.45988231897354126, 0.34027713537216187, -0.4547036588191986, 0.3432617783546448, -0.08906861394643784, 0.010149369947612286, -0.2575313448905945, -0.3773064911365509, -0.8738720417022705, 0.7850683331489563, 0.37026169896125793, -0.7217898964881897, -0.13690875470638275, 0.2531718611717224, 0.055488936603069305, 0.1735091507434845, 0.015247768722474575, 0.2916465103626251, 0.18755149841308594, -0.06532146781682968, -0.6416760683059692, -0.20206773281097412, -0.05398936942219734, -0.23612825572490692, 0.06531129777431488, -0.26285257935523987, 0.744951069355011, 0.36786240339279175, -0.6067342162132263, 0.33639606833457947, 1.10342276096344, 0.7544026970863342, 0.29383471608161926, 0.7973817586898804, 0.41047948598861694, 1.0074501037597656, 0.35432764887809753, 1.0519840717315674, -0.05273862183094025, 0.5157145261764526, 1.34935462474823, -0.26245638728141785, 1.2219375371932983, 0.267121285200119, -0.4209115505218506, 0.37369537353515625, 0.59609055519104, 0.0010469555854797363, 0.5282511115074158, 0.4685805141925812, -0.7519032955169678, -0.00558006577193737, 0.27864620089530945, -0.33466118574142456, 0.46167951822280884, 0.550456166267395, -0.42443814873695374, -0.269503653049469, -0.2996440529823303, 0.3531453609466553, 0.046883948147296906, -0.04987707734107971, 0.895753026008606, 0.2533906102180481, -0.319051593542099, 0.3895910084247589, 0.40806344151496887, 0.7895809412002563, -0.892540693283081, 0.04806121811270714, -0.22347667813301086, 0.0025902711786329746, -0.14812806248664856, -0.29400917887687683, 0.297739177942276, 0.3525276482105255, 0.011048620566725731, 0.18079745769500732, 0.7571219205856323, -0.41463392972946167, -0.5325509309768677, 0.22193081676959991, 0.5101501941680908, 0.2987251877784729, -0.3122590184211731, -0.5169175863265991, -0.06773658841848373, 0.16086463630199432, -0.05936819314956665, 0.6719502806663513, -0.12549984455108643, -0.0499909371137619, 0.5653974413871765, 1.0228134393692017, 0.3076178729534149, 0.1602734476327896, -0.07515878230333328, 0.8769848346710205, -0.18984976410865784, -0.7090606689453125, -0.9736461639404297, 0.253277987241745, -0.3467947840690613, -0.052324216812849045, 0.7923017144203186, 0.6404045820236206, 0.6307893991470337, -0.155605748295784, 0.7596720457077026, 0.01085738930851221, 0.5753098130226135, -0.9818857312202454, 1.2479901313781738, -0.4214513301849365, 0.5488991737365723, -0.2177889496088028, -1.0915446281433105, -0.2907528579235077, 0.598630964756012, -0.04296046122908592, -0.024758048355579376, 0.8512719869613647, 0.9381401538848877, -0.32185420393943787, 0.1035400852560997, 0.3365893065929413, 0.1196218878030777, 0.5075466632843018, 0.15966758131980896, 0.7715902328491211, -0.16290830075740814, 0.43252161145210266, 0.018702441826462746, -0.2905023694038391, -0.16002292931079865, -0.8375827074050903, -1.139817237854004, -0.5646259188652039, -0.11591944098472595, -0.46873801946640015, -0.04694158583879471, 0.8042203187942505, 0.8682989478111267, -0.849567711353302, -0.024298060685396194, 0.11571359634399414, -0.10154228657484055, 0.02291693538427353, -0.2140463888645172, 0.777913510799408, -0.17036214470863342, -0.8365575075149536, 0.7511906623840332, -0.17452183365821838, -0.019445763900876045, -0.21686257421970367, 0.1879444569349289, -0.5107427835464478, 0.4618069529533386, 0.22796274721622467, 0.22934198379516602, -0.562441349029541, -0.18364249169826508, -0.3754100203514099, 0.1356019377708435, -0.16170328855514526, 0.6763702630996704, -0.6832702159881592, 0.21407224237918854, 0.6151060461997986, 0.8498039245605469, 0.42193615436553955, 0.18873344361782074, 0.6206567883491516, -1.213401436805725, 0.08775901794433594, 0.4100838899612427, 0.42291271686553955, 0.08151886612176895, -0.3414458632469177, 0.2533484697341919, 0.34635913372039795, -0.2057323455810547, -0.8980634212493896, 0.3327106833457947, -0.8954359292984009, -0.6727986335754395, 0.9605599641799927, -0.6615132689476013, -0.3820171654224396, -0.38505232334136963, 0.08399317413568497, 0.19291813671588898, -0.3429882228374481, 0.818917453289032, 0.6282995939254761, 0.367196261882782, 0.04752244055271149, -0.6175846457481384, 0.7485864758491516, 0.325504332780838, -1.0605485439300537, 0.11414966732263565, 0.54581618309021, 0.4243220388889313, 0.065408855676651, 0.6930376887321472, -0.2878965437412262, 0.1671072393655777, -0.2681557536125183, -0.15838029980659485, 0.14915935695171356, -0.44189727306365967, -0.1939334124326706, 0.3788888156414032, -0.13839125633239746, -0.14426486194133759 ]
http://arxiv.org/abs/2404.11225v1
http://arxiv.org/pdf/2404.11225v1
In-Context Learning State Vector with Inner and Momentum Optimization
2024-04-17T10:19:15
2024-04-17T10:19:15
Dongfang Li, Zhenyu Liu, Xinshuo Hu, Zetian Sun, Baotian Hu, Min Zhang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have exhibited an impressive ability to perform In-Context Learning (ICL) from only a few examples. Recent works have indicated that the functions learned by ICL can be represented through compressed vectors derived from the transformer. However, the working mechanisms and optimization of these vectors are yet to be thoroughly explored. In this paper, we address this gap by presenting a comprehensive analysis of these compressed vectors, drawing parallels to the parameters trained with gradient descent, and introduce the concept of state vector. Inspired by the works on model soup and momentum-based gradient descent, we propose inner and momentum optimization methods that are applied to refine the state vector progressively as test-time adaptation. Moreover, we simulate state vector aggregation in the multiple example setting, where demonstrations comprising numerous examples are usually too lengthy for regular ICL, and further propose a divide-and-conquer aggregation method to address this challenge. We conduct extensive experiments using Llama-2 and GPT-J in both zero-shot setting and few-shot setting. The experimental results show that our optimization method effectively enhances the state vector and achieves the state-of-the-art performance on diverse tasks. Code is available at https://github.com/HITsz-TMG/ICL-State-Vector
[ -0.2103026658296585, -0.3981705605983734, 0.3556833565235138, 0.1938486099243164, -0.4831865727901459, 0.4078480005264282, -0.30400076508522034, 0.09570697695016861, -0.186106875538826, -0.2176215797662735, -0.6556941270828247, -0.25107455253601074, -0.5342634320259094, -0.003022691234946251, -0.44552934169769287, 0.9533202052116394, -0.31686732172966003, 0.27288752794265747, -0.25527387857437134, -0.2165445238351822, -0.44353002309799194, -0.41675296425819397, -0.5150863528251648, -0.4238034784793854, -0.0014004925033077598, 0.44287461042404175, -0.11931652575731277, 0.3423393666744232, 0.3032214939594269, 0.2912905514240265, -0.19689840078353882, 0.173569917678833, -1.0037105083465576, 0.236954927444458, -0.047212328761816025, -0.4984273612499237, 0.1754254400730133, -0.24818821251392365, 1.0547924041748047, 0.3206169307231903, -0.23146159946918488, 0.19402307271957397, 0.37533891201019287, 0.5507863759994507, -0.9252581000328064, 0.26456010341644287, -0.6506252884864807, 0.2668124735355377, -0.10008952021598816, -0.1120767742395401, -0.16566908359527588, -0.21922117471694946, -0.15241068601608276, -0.5932207703590393, -0.01869824528694153, 0.2167646884918213, 0.7574682235717773, 0.4129183888435364, -0.4166991710662842, -0.13019412755966187, -0.8476458191871643, 1.0813922882080078, -0.3173586130142212, 0.5249046683311462, -0.25168466567993164, 0.16990703344345093, -0.48132824897766113, -0.6754325032234192, -0.7315584421157837, -0.1389465481042862, 0.21704404056072235, 0.27793651819229126, -0.3811728358268738, -0.008599412627518177, 0.025329140946269035, 0.36592617630958557, -0.28816959261894226, 0.4025558531284332, -0.4546879231929779, -0.10322585701942444, 0.38051995635032654, 0.22403234243392944, 0.13031624257564545, 0.017333030700683594, -0.828147292137146, -0.47662848234176636, -0.6810564994812012, 0.5124316811561584, 0.1387806236743927, 0.2651766240596771, -0.2625456154346466, 0.36963531374931335, 0.049820370972156525, 0.4664532244205475, 0.11825515329837799, -0.4580162465572357, 0.2731393277645111, -0.09725531190633774, -0.21311117708683014, 0.05708639323711395, 0.6434000730514526, 0.10961359739303589, 0.05274948477745056, -0.17052054405212402, -0.4198559820652008, 0.11658523976802826, 0.3856815993785858, -0.8552262187004089, 0.16027836501598358, 0.26509639620780945, -0.33943477272987366, -0.20637711882591248, 0.029086178168654442, -0.4029915928840637, -0.14742019772529602, -0.4966754913330078, 0.6062175035476685, -0.5307190418243408, -0.09909608960151672, 0.03400406241416931, -0.14868442714214325, 0.4637620747089386, 0.03541130945086479, -0.5534782409667969, 0.41845372319221497, 0.9359810948371887, 0.9681227803230286, -0.5037925839424133, -0.06494247168302536, -0.7814569473266602, -0.16345658898353577, -0.4664723575115204, 0.6749362945556641, -0.4106704294681549, -0.5641143321990967, 0.07044937461614609, -0.33444055914878845, -0.04728654399514198, -0.44046473503112793, 0.6246188282966614, -0.4982304573059082, -0.11202993243932724, -0.1598358303308487, -0.7700225710868835, -0.3909575939178467, 0.24172425270080566, -0.37750932574272156, 1.234483003616333, 0.4452807605266571, -0.4798077642917633, 0.5479379296302795, -0.7513088583946228, -0.5606221556663513, 0.15888717770576477, -0.26438984274864197, -0.37048789858818054, 0.4486006498336792, 0.2295009046792984, 0.7084678411483765, -0.2667056918144226, -0.09842497110366821, -0.1824052333831787, -0.6248618960380554, 0.1860610395669937, 0.018424421548843384, 0.7297597527503967, 0.17674247920513153, 0.023956360295414925, 0.31229710578918457, -0.5764098763465881, -0.2508847415447235, 0.14684143662452698, -0.43685799837112427, -0.36918625235557556, 0.29373401403427124, -0.2858392298221588, 0.20177865028381348, -0.1053680032491684, -0.6386423110961914, 0.34447112679481506, -0.6001138091087341, 0.44793176651000977, 0.8477382659912109, 0.26618143916130066, 0.6794692873954773, 0.06580154597759247, 0.777881383895874, 0.48385435342788696, 0.24603500962257385, 0.01724676787853241, 0.09534589946269989, -0.7272141575813293, -0.32240453362464905, -0.00007810507668182254, 0.5322001576423645, -1.0035648345947266, 0.3432590663433075, -0.4342096149921417, -0.3816831111907959, -0.44320908188819885, 0.1716063767671585, 0.17476440966129303, 0.8057440519332886, 0.4681923985481262, -0.2136228084564209, -0.2872121036052704, -0.7075819969177246, -0.2805373966693878, -0.0652485117316246, -0.010222751647233963, 0.025087369605898857, 0.546125054359436, 0.1319642812013626, 0.9323644638061523, -0.444664865732193, -0.38801655173301697, -0.3961496949195862, -0.3237747251987457, 0.2824003994464874, 0.24780412018299103, 0.386629581451416, -0.643340528011322, -0.21928542852401733, -0.24811379611492157, -0.5418287515640259, 0.1866929531097412, 0.0390947200357914, -0.08777181059122086, 0.0315835066139698, 0.6986005902290344, -0.1884431391954422, 0.3518836498260498, 0.681102454662323, -0.002205535303801298, 0.17059142887592316, -0.11051461100578308, -0.34820353984832764, -1.1600805521011353, -0.39141032099723816, 0.43423938751220703, -0.14905814826488495, -0.6555408835411072, 0.26719486713409424, 0.4005706310272217, -0.11150258034467697, -0.8148812651634216, 0.4929259121417999, -0.5484801530838013, -0.00692668417468667, -0.3433111310005188, 0.12603838741779327, -0.33051061630249023, 0.6402515172958374, -0.3790813088417053, 0.7799871563911438, 0.8091900944709778, -0.8586403727531433, 0.15152432024478912, 0.07326463609933853, -0.6613438725471497, 0.5547731518745422, -0.42458102107048035, 0.20344647765159607, -0.6848055124282837, 0.3802584409713745, -0.9475131630897522, 0.2288760542869568, 0.30718669295310974, 0.08761478215456009, 0.4543288052082062, -0.173705592751503, -0.4586312472820282, -0.19943475723266602, -0.30801481008529663, 0.44821467995643616, 0.6544725298881531, -0.887343168258667, 0.7527186274528503, 0.41211944818496704, 0.37392815947532654, -0.6913586258888245, -0.39040374755859375, -0.3141220510005951, -0.39330726861953735, -0.16921421885490417, 0.38477182388305664, -0.11125902086496353, -0.32682105898857117, -0.09354258328676224, -0.21222688257694244, 0.21812963485717773, 0.15300339460372925, 0.23409104347229004, 0.0645761489868164, -0.07546249777078629, 0.40172621607780457, 0.3979642391204834, 0.005246036220341921, -0.05739730969071388, -0.5323386788368225, 0.5577771663665771, -0.2348279356956482, -0.1846495419740677, -0.10015665739774704, 0.16368883848190308, 0.07110349088907242, -0.22529049217700958, 0.696703314781189, 0.5664075016975403, -0.1349581629037857, -0.8989453911781311, 0.051831163465976715, -0.2867281436920166, -0.5310320258140564, 0.5258779525756836, -0.3783608078956604, -1.0144485235214233, 0.15030865371227264, -0.411173015832901, 0.31699544191360474, 0.35602882504463196, 0.7480927109718323, -0.14226587116718292, 0.4826108515262604, 0.6416984796524048, -0.4125024974346161, 0.5412084460258484, -0.43580949306488037, 0.25480157136917114, -1.044562578201294, -0.1518537700176239, -0.2491896003484726, -0.6555604934692383, -0.4694758355617523, -0.7191175222396851, 0.8404923677444458, 0.2556336224079132, -0.3124801218509674, 0.13919897377490997, -0.3246369957923889, 0.5337628722190857, 0.34982550144195557, 0.13115160167217255, -0.03714502230286598, 0.1843821257352829, -0.2197842299938202, -0.02001349627971649, -0.8188186883926392, 0.11502323299646378, 0.8361819982528687, 0.1906541883945465, 0.7731754779815674, 0.029149828478693962, 0.5984389185905457, 0.06472493708133698, 0.31778955459594727, -1.1331881284713745, 0.5479623675346375, -0.31634199619293213, -0.06114865839481354, -0.1373983472585678, -0.3560411334037781, -0.8417012691497803, 0.6315545439720154, -0.18069329857826233, -0.5754532217979431, 0.07954274117946625, 0.14488078653812408, -0.2727494239807129, 0.2629697620868683, -0.46547389030456543, 0.26157939434051514, -0.1225556954741478, 0.0065727317705750465, -0.30323874950408936, -0.578218936920166, 0.3507990539073944, -0.11876681447029114, 0.007474255748093128, -0.08471700549125671, -0.30905911326408386, 0.3683827221393585, -0.27748414874076843, 0.6819730401039124, -0.13010358810424805, -0.16825313866138458, 0.29044580459594727, 0.13384608924388885, 0.5437636375427246, -0.0344138965010643, -0.1163533478975296, 0.329428493976593, -0.42051947116851807, -0.1965763419866562, -0.7049636244773865, 0.45496678352355957, -0.7051626443862915, -0.28777164220809937, -0.256928950548172, -0.44605815410614014, -0.20499099791049957, -0.10759097337722778, 0.24727647006511688, 0.7063964009284973, -0.08032906800508499, 0.21149121224880219, 0.5961498618125916, -0.08204296976327896, 0.924288272857666, 0.42167338728904724, -0.08023792505264282, -0.07848331332206726, 0.8653134107589722, 0.06939336657524109, 0.15592265129089355, 0.7107867002487183, 0.4407097101211548, -0.35024499893188477, -0.5231727957725525, -0.30777591466903687, 0.07647662609815598, -0.8886645436286926, -0.3298957943916321, -0.2571936845779419, -0.12678468227386475, -0.13799679279327393, -0.12171998620033264, -0.31786036491394043, -0.089054636657238, -0.5422922372817993, -0.08952364325523376, 0.21878492832183838, 0.5071188807487488, 0.1769319325685501, 0.30791398882865906, -0.4597679078578949, 0.21162283420562744, 0.05293445661664009, 0.2562810480594635, 0.10108181089162827, -0.6405333876609802, -0.2543320059776306, -0.33053478598594666, -0.23482365906238556, -0.6133873462677002, 0.2766527533531189, 0.5988092422485352, 0.45469608902931213, 0.46174731850624084, 0.12767143547534943, 0.7006754875183105, -0.6812217235565186, 0.7877639532089233, -0.016041291877627373, -0.9068047404289246, 0.25031962990760803, 0.1830761432647705, 0.35351309180259705, 0.30306851863861084, 0.632021963596344, -0.484162837266922, -0.31473734974861145, -0.311568021774292, -0.8464693427085876, 0.39165863394737244, -0.024417463690042496, 0.31746000051498413, 0.12472385913133621, 0.5998436808586121, 0.03912297636270523, -0.021764876320958138, -0.3623444437980652, -0.3798927068710327, 0.019112009555101395, -0.2043246328830719, -0.1170065775513649, -0.19413909316062927, -0.12717188894748688, -0.37869736552238464, 0.6321509480476379, -0.4324788451194763, 0.21164263784885406, -0.039873044937849045, -0.40093061327934265, 0.029920032247900963, 0.10990171879529953, 0.6370850801467896, 0.4967682957649231, 0.36754655838012695, -0.21662183105945587, 0.3580690920352936, -0.48566100001335144, 0.44035735726356506, -0.04917389899492264, -0.2300606518983841, -0.3022961914539337, 0.15663455426692963, 1.0515239238739014, 0.4587523341178894, -0.5149833559989929, 0.7548574805259705, -0.06774748116731644, -0.12915724515914917, -0.5311373472213745, 0.2950242757797241, -0.29328063130378723, 0.4873458743095398, 0.49559521675109863, -0.1837487518787384, 0.007479778490960598, -0.1417812705039978, 0.04201129823923111, 0.49284401535987854, -0.4067212641239166, -0.3223141133785248, 0.4999244213104248, 0.019366469234228134, -0.2428911179304123, 0.7454994320869446, -0.41429322957992554, -0.5972530841827393, 0.19387656450271606, 0.7763893008232117, 0.9310423731803894, -0.06663379073143005, -0.027073310688138008, 0.30660679936408997, 0.2140377014875412, -0.10886169224977493, 0.45335960388183594, -0.12900090217590332, -1.0554163455963135, -0.7015388011932373, -0.7428083419799805, -0.24858872592449188, 0.0340898372232914, -0.546235203742981, 0.2825169563293457, -0.4468912184238434, 0.1299140304327011, -0.5694167613983154, 0.026242854073643684, -0.7922878265380859, 0.04790592938661575, -0.0022665755823254585, 0.8609756231307983, -0.6941767930984497, 0.8645498752593994, 0.589559018611908, -0.024157682433724403, -0.9170379638671875, 0.15083666145801544, 0.08107177168130875, -0.8674631118774414, 0.8231173753738403, -0.07701250165700912, -0.30165770649909973, 0.15976250171661377, -0.6382278800010681, -0.966812789440155, 0.9787520170211792, 0.43056046962738037, -0.6885945200920105, 0.297462522983551, -0.24654892086982727, 0.3414918780326843, -0.17396020889282227, -0.0976865217089653, 0.4875348210334778, 0.05717618763446808, -0.07616806775331497, -0.3080207407474518, -0.047135356813669205, 0.08624126762151718, 0.37590348720550537, 0.4086456894874573, -0.9017520546913147, 0.915953516960144, -0.0361817441880703, -0.42786645889282227, -0.4812844395637512, 1.4195733070373535, 0.33265504240989685, -0.3048509657382965, 0.8634677529335022, 0.41603049635887146, 0.6229070425033569, 0.05376220494508743, 1.1521345376968384, -0.3424158990383148, 0.4051976203918457, 0.8413404226303101, -0.31181371212005615, 0.8390383124351501, 0.6353687644004822, -0.18122243881225586, 0.702639639377594, 0.3201424777507782, -0.041723400354385376, 0.3436858355998993, 0.6038188934326172, -0.4562864601612091, 0.029305260628461838, 0.024493779987096786, 0.22143204510211945, 0.7299184203147888, 0.4767954647541046, -0.08222342282533646, -0.2947775721549988, 0.26181724667549133, 0.032813746482133865, -0.1257234364748001, -0.4571598470211029, 0.708820641040802, 0.2629990875720978, -0.39086171984672546, 0.35701724886894226, -0.006703965365886688, 0.7476634383201599, -0.545724093914032, -0.03616434335708618, -0.26403138041496277, 0.2833559215068817, 0.16438724100589752, -0.48313990235328674, -0.1590307652950287, -0.13848701119422913, 0.12380000203847885, -0.2434467375278473, 0.7238324284553528, -0.36094731092453003, -0.5086745023727417, 0.19714123010635376, 0.07114629447460175, 0.15952935814857483, 0.03373659774661064, -0.5192480087280273, 0.22320899367332458, -0.4363346993923187, -0.3494010865688324, 0.33189043402671814, 0.12868277728557587, -0.0255009476095438, 0.8089442253112793, 0.40731361508369446, 0.26715928316116333, 0.07344256341457367, 0.0532141737639904, 0.8845359086990356, -0.2412368804216385, -0.636576235294342, -0.9695160984992981, 0.4761885404586792, 0.09598163515329361, -0.5906568169593811, 0.6735698580741882, 0.570952296257019, 1.1183980703353882, 0.027475127950310707, 0.625171959400177, 0.02913755364716053, 0.43987661600112915, -0.7668492197990417, 0.4443616271018982, -0.7741135954856873, -0.16405096650123596, -0.011401932686567307, -0.9169554710388184, -0.2050853669643402, 0.3692607879638672, 0.11244035512208939, -0.02959582395851612, 0.6476425528526306, 0.6742101311683655, -0.11509880423545837, -0.2671913206577301, 0.2563311457633972, 0.012081083841621876, 0.42674604058265686, 0.6566034555435181, 0.7350716590881348, -0.3430584669113159, 0.35404980182647705, -0.4939218759536743, -0.047427285462617874, -0.13781239092350006, -1.1464606523513794, -0.7321341633796692, -0.9094167351722717, -0.1824500560760498, -0.22607731819152832, -0.24828532338142395, 1.2742503881454468, 0.7846152186393738, -0.5425553321838379, -0.33629411458969116, 0.1657307744026184, -0.08252458274364471, -0.37772664427757263, -0.17783264815807343, 0.3572205603122711, -0.6256133913993835, -0.7962522506713867, 0.9895954728126526, 0.3627583086490631, -0.18155881762504578, -0.4600709080696106, 0.044188160449266434, 0.20401641726493835, -0.09012237936258316, 0.8830281496047974, 0.26194024085998535, -0.46786803007125854, -0.17143528163433075, -0.29189157485961914, 0.12491357326507568, 0.26452985405921936, 1.1553393602371216, -0.8620904684066772, 0.38794365525245667, 0.47210296988487244, 0.8095675706863403, 0.5196588039398193, 0.08429490029811859, 0.5342609882354736, -1.1900489330291748, 0.2999010384082794, 0.3104248642921448, 0.39048686623573303, 0.2087816447019577, -0.2707781493663788, 0.29876425862312317, 0.005354391876608133, -0.40483999252319336, -0.6712685227394104, 0.27224335074424744, -0.8111061453819275, -0.3238725960254669, 1.3374409675598145, 0.12441319227218628, -0.4009052813053131, 0.22381922602653503, 0.14269140362739563, 0.5054281949996948, -0.4532248377799988, 0.5562101006507874, 0.4324459433555603, -0.16939707100391388, -0.20462101697921753, -0.4263620674610138, 0.5060204863548279, 0.19743502140045166, -0.6292970776557922, -0.3754713535308838, 0.07741954177618027, 0.2713933289051056, -0.36751657724380493, 0.31582707166671753, 0.06214021146297455, -0.20704376697540283, -0.3418801724910736, 0.053752921521663666, -0.022295160219073296, -0.33028313517570496, -0.9544411897659302, 0.22612878680229187, -0.16862182319164276, -0.38652148842811584 ]
http://arxiv.org/abs/2404.11216v1
http://arxiv.org/pdf/2404.11216v1
Position Engineering: Boosting Large Language Models through Positional Information Manipulation
2024-04-17T10:00:56
2024-04-17T10:00:56
Zhiyuan He, Huiqiang Jiang, Zilong Wang, Yuqing Yang, Luna Qiu, Lili Qiu
cs.CL
cs.CL, cs.AI, cs.LG
The performance of large language models (LLMs) is significantly influenced by the quality of the prompts provided. In response, researchers have developed enormous prompt engineering strategies aimed at modifying the prompt text to enhance task performance. In this paper, we introduce a novel technique termed position engineering, which offers a more efficient way to guide large language models. Unlike prompt engineering, which requires substantial effort to modify the text provided to LLMs, position engineering merely involves altering the positional information in the prompt without modifying the text itself. We have evaluated position engineering in two widely-used LLM scenarios: retrieval-augmented generation (RAG) and in-context learning (ICL). Our findings show that position engineering substantially improves upon the baseline in both cases. Position engineering thus represents a promising new strategy for exploiting the capabilities of large language models.
[ -0.1208733394742012, -0.6220150589942932, 0.7396360039710999, 0.28092074394226074, 0.06029515713453293, 0.22158169746398926, -0.22182218730449677, -0.42254406213760376, 0.045906003564596176, 0.37224331498146057, -0.29070448875427246, -0.45223405957221985, -0.46126484870910645, -0.14469873905181885, -0.1374785453081131, 0.6748249530792236, -0.09842517971992493, 0.03560565039515495, -0.09464465081691742, 0.32726410031318665, -0.8309802412986755, -0.810767412185669, -0.6282034516334534, -0.20946121215820312, 0.6245235204696655, 0.4545484781265259, 0.6928806900978088, 0.6304835677146912, 0.2434060126543045, 0.39123988151550293, -0.5045475959777832, 0.0298682302236557, -0.3587525486946106, 0.33561450242996216, -0.39386940002441406, -0.4726369082927704, -0.25092920660972595, 0.1498904973268509, 0.8332911133766174, 0.8584657907485962, 0.1789778470993042, 0.002115621231496334, 0.2315608114004135, 0.40510064363479614, -0.7823839783668518, 0.15809611976146698, -0.6611533164978027, -0.22913505136966705, -0.1867053508758545, -0.7163190841674805, -0.840003252029419, -0.19911529123783112, -0.02125900238752365, -0.36876365542411804, -0.03769395500421524, 0.13287149369716644, 0.7619072794914246, 0.19362173974514008, -0.4911426603794098, -0.10775139927864075, -0.7081893086433411, 0.9230331778526306, -0.6396016478538513, 0.39028725028038025, 0.277741402387619, 0.29081350564956665, -0.4728514552116394, -0.2805628478527069, -0.20014706254005432, -0.40789106488227844, -0.2056552767753601, -0.19186411798000336, 0.3954088091850281, 0.2232518196105957, 0.4884967803955078, -0.04649094119668007, -0.2509954869747162, 0.5818472504615784, -0.09027749300003052, 0.031219232827425003, 0.6423448920249939, -0.19031713902950287, 0.5846046209335327, -0.25406110286712646, -0.41721102595329285, -0.34923771023750305, -1.0699127912521362, 0.3065195381641388, 0.2690218687057495, 0.44185808300971985, 0.4340539276599884, 0.7533224821090698, -0.11877865344285965, 0.7541499733924866, 0.29444605112075806, -0.1167554184794426, -0.14024212956428528, 0.04192207008600235, -0.2422281950712204, 0.4846605956554413, 0.46884235739707947, 0.11170561611652374, -0.40142756700515747, -0.024098480120301247, -0.5586951971054077, -0.39171749353408813, 0.33923256397247314, -0.7245255708694458, 0.06885745376348495, -0.04922661930322647, -0.37177935242652893, -0.3683890998363495, 0.2199302613735199, -0.3473679721355438, -0.6268970370292664, -0.5152301788330078, 0.20812982320785522, -0.4318130612373352, 0.05356592684984207, -0.1037195548415184, 0.014955945312976837, 0.5242806673049927, 0.35359543561935425, -1.0375864505767822, -0.22876939177513123, 1.081394910812378, 0.7399770021438599, -0.3170458674430847, -0.32065534591674805, -0.668456494808197, 0.37073519825935364, -0.5788121223449707, 0.7572718262672424, -0.7900872826576233, -0.7456501722335815, 0.03037056140601635, -0.07768583297729492, 0.15080517530441284, -0.6056572198867798, 0.490594744682312, -0.9756503105163574, 0.3239046633243561, -0.36960113048553467, -0.5968642234802246, -0.1123562604188919, 0.18551801145076752, -0.6472363471984863, 1.0345913171768188, -0.005190484691411257, -0.4056948125362396, 0.046324532479047775, -0.7370741963386536, -0.3947332501411438, -0.039947859942913055, -0.006219143979251385, 0.0023420078214257956, 0.173199862241745, 0.30547434091567993, 0.5135249495506287, -0.05847712978720665, 0.3001909554004669, -0.13393068313598633, -0.4322124421596527, 0.34942343831062317, -0.11664760857820511, 0.6295809149742126, 0.12464670091867447, -0.06610392779111862, 0.20477460324764252, -0.49215051531791687, -0.19711163640022278, -0.23058398067951202, -0.44687628746032715, -0.7196833491325378, -0.05038859322667122, -0.1713889241218567, 0.3517724871635437, 0.42108088731765747, -0.23121041059494019, 0.6368666887283325, -0.790421187877655, 0.23041972517967224, 0.8624997138977051, 0.047351837158203125, 1.0418615341186523, -0.16694559156894684, 0.7057313323020935, -0.4445558488368988, -0.07688551396131516, -0.2561430037021637, -0.2012982964515686, -0.3056543469429016, -0.12967877089977264, 0.36521652340888977, 0.7269116044044495, -1.0004466772079468, 0.2603323757648468, -0.0729680210351944, -0.24025407433509827, -0.35776302218437195, 0.03068474680185318, 0.16240628063678741, 0.5915805101394653, 0.41999855637550354, 0.43717730045318604, -0.5642097592353821, -0.7147035598754883, -0.4479219913482666, -0.35880863666534424, -0.15091440081596375, -0.10639067739248276, 0.021178489550948143, -0.005027507431805134, 0.9687017202377319, -0.3868454098701477, 0.1410803198814392, -0.23287609219551086, 0.20911292731761932, 0.5213673710823059, 0.6443373560905457, 0.5804892182350159, -0.8379238247871399, -0.5049600601196289, 0.0012406097957864404, -0.6510517001152039, -0.2872620224952698, -0.1538359820842743, -0.2585945129394531, 0.19388151168823242, 0.9022901654243469, -0.9385373592376709, 0.07530440390110016, 0.46324804425239563, -0.27259328961372375, 0.6666775345802307, -0.17726784944534302, 0.48316171765327454, -1.1382616758346558, -0.04051482304930687, 0.06394903361797333, -0.22304680943489075, -0.6669110059738159, 0.46628665924072266, 0.3439673185348511, -0.33755409717559814, -0.5267693996429443, 0.7956780791282654, -0.8118888735771179, 0.06608259677886963, -0.7193183898925781, 0.16388095915317535, -0.0879632830619812, 0.08008897304534912, -0.2623963952064514, 1.0340484380722046, 0.3636079728603363, -0.6936079263687134, 0.2254880666732788, 0.26936832070350647, -0.6473769545555115, 0.4645957052707672, -0.5058733224868774, 0.15775880217552185, -0.24436020851135254, 0.22209428250789642, -1.1556817293167114, -0.2107500582933426, -0.03284776955842972, -0.29516369104385376, 0.847909152507782, -0.41303324699401855, -0.5042588114738464, -0.07596580684185028, -0.2798677384853363, 0.3736822307109833, 0.45507919788360596, -0.8791438937187195, 0.3378145694732666, 0.5426278114318848, -0.7699238657951355, -0.7410987615585327, -0.35754862427711487, 0.34170985221862793, -0.5219279527664185, -0.5920934677124023, 0.9153385758399963, -0.025658052414655685, -0.5629750490188599, -0.3765874207019806, -0.10039302706718445, 0.1517699807882309, 0.41231346130371094, 0.03069221042096615, 0.5171065330505371, -0.04880623146891594, 0.41284796595573425, 0.18900765478610992, -0.293167382478714, 0.0710899755358696, -0.2578589916229248, 0.4828379452228546, 0.4766208529472351, -0.2427079677581787, -0.46730196475982666, 0.29278790950775146, 0.33268415927886963, -0.2535536289215088, 0.7742119431495667, -0.06376234441995621, -0.36684417724609375, -0.20711900293827057, -0.5023117065429688, -0.39575111865997314, -0.6050649881362915, 0.3884980380535126, -0.4422566294670105, -0.8944031000137329, 0.12683901190757751, -0.4714629650115967, 0.26911795139312744, 0.1084338128566742, 0.1929657757282257, -0.28048521280288696, 1.3889882564544678, 0.9801139831542969, -0.2906038165092468, 0.896023690700531, 0.04081306979060173, 0.31351274251937866, -0.6531025171279907, 0.162266805768013, -0.7187316417694092, -0.5232394933700562, -0.4028940796852112, -0.5479252338409424, 0.581682026386261, 0.4554119110107422, -0.08825290948152542, 0.24037949740886688, -0.38057178258895874, 0.6535786986351013, 0.32026952505111694, -0.01579640805721283, 0.09768933057785034, -0.02389521151781082, 0.03361985459923744, 0.016988331452012062, -0.5576028227806091, -0.8048996925354004, 0.4901607930660248, 0.31883931159973145, 0.800897479057312, 0.10374840348958969, 0.5309324860572815, -0.01718214340507984, 0.1746653914451599, -0.8882602453231812, 0.7629094123840332, -0.06650882959365845, -0.07319949567317963, -0.4946820139884949, -0.2795613706111908, -0.8883309364318848, 0.23112377524375916, -0.14678558707237244, -0.7010536193847656, 0.11009315401315689, 0.14708936214447021, -0.3023928105831146, 0.227281391620636, -0.6828031539916992, 0.45220646262168884, -0.3250008523464203, -0.2447369545698166, -0.21492303907871246, -0.43994444608688354, 0.038727808743715286, 0.16130565106868744, 0.15208882093429565, 0.19535548985004425, -0.15382778644561768, 0.49172207713127136, -0.601353108882904, 0.7183056473731995, -0.5653415322303772, -0.6076188087463379, 0.0036807777360081673, 0.3028060793876648, 1.0305020809173584, 0.06442064791917801, -0.6174901127815247, -0.28961122035980225, -0.3704165816307068, -0.395976722240448, -0.9733828902244568, 1.0892037153244019, -0.4597555696964264, -0.9816259145736694, -0.09239756315946579, -0.7968470454216003, -0.565239667892456, 0.08830098807811737, 0.18520492315292358, 0.41324999928474426, -0.06813850998878479, 0.15174835920333862, 0.7921484708786011, -0.7126508951187134, 0.6372129321098328, 0.29708990454673767, -0.16883890330791473, -0.1070110946893692, 0.6562963724136353, 0.14084067940711975, 0.10323596745729446, 1.080342411994934, 0.2710054814815521, -0.5112492442131042, -0.4073111414909363, -0.3925832509994507, 0.19338759779930115, -0.739593505859375, 0.005733385682106018, -0.5921161770820618, -0.15859200060367584, -0.5888057947158813, -0.6530895829200745, -0.3309519588947296, -0.6346480846405029, -0.23678091168403625, -0.40782320499420166, 0.23840844631195068, 0.4946364164352417, 0.24420829117298126, 0.45879852771759033, -0.640114426612854, -0.035687513649463654, 0.30197134613990784, 0.04958903044462204, -0.2291306108236313, -0.48444637656211853, -0.25523847341537476, 0.14303046464920044, -0.22956345975399017, -0.9976426959037781, 0.31338489055633545, -0.20855717360973358, 0.7489456534385681, 0.09412912279367447, -0.023564353585243225, 0.6626947522163391, -0.5875507593154907, 0.9207199811935425, -0.025053927674889565, -1.041384220123291, 0.6889593601226807, -0.26705554127693176, 0.4487358331680298, 0.2389836609363556, 0.33791252970695496, -0.5453886389732361, -0.19620738923549652, -0.3671109974384308, -0.9762492179870605, 0.7458838224411011, -0.2603706121444702, 0.08901870250701904, 0.07244478911161423, 0.5688292980194092, -0.011940415017306805, 0.035899870097637177, -0.42014291882514954, -0.04987183213233948, 0.2167952060699463, -0.22250089049339294, -0.12461788207292557, -0.5400367975234985, 0.05731437727808952, -0.06969232112169266, 1.026841163635254, -0.14796432852745056, 0.10066801309585571, 0.04174162819981575, -0.335804283618927, 0.01611955091357231, 0.34772753715515137, 0.5392731428146362, 0.8315632343292236, 0.13286270201206207, 0.15159451961517334, 0.28204891085624695, 0.07231517136096954, 0.3588535189628601, 0.1245134249329567, -0.5278018712997437, 0.03486480191349983, 0.16312085092067719, 0.7531521320343018, 0.655089795589447, -0.4249856173992157, 0.32000118494033813, 0.4210052192211151, 0.26627346873283386, 0.055097538977861404, 0.05325339362025261, -0.1228368878364563, 0.3328840136528015, 0.37197375297546387, -0.22015011310577393, 0.0681791752576828, -0.5046250224113464, 0.07281734049320221, 0.4699847996234894, -0.2999061048030853, -0.3545326292514801, 0.7238731980323792, -0.00019797927234321833, -0.5759345293045044, 0.2719448208808899, 0.07584944367408752, -0.1874586045742035, 0.42925313115119934, 0.7364738583564758, 0.6678184866905212, -0.7360284328460693, 0.4606091380119324, 0.3665916919708252, 0.027779892086982727, -0.3313945531845093, 0.10512422770261765, 0.20442257821559906, -0.5018631815910339, -1.0184741020202637, -0.3115141987800598, -0.38303253054618835, -0.00935099646449089, -0.27544379234313965, 0.5664231181144714, -0.27154096961021423, -0.04681987315416336, -0.18599392473697662, -0.2818154990673065, -0.2692342698574066, -0.056888435035943985, 0.1496189385652542, 0.9618224501609802, -0.24219439923763275, 0.6995657086372375, 1.226401925086975, 0.07509537041187286, -0.8231892585754395, 0.11903276294469833, -0.17225687205791473, -0.5037355422973633, 0.761089563369751, 0.3521941602230072, -0.21934272348880768, 0.03930506110191345, -0.9349309206008911, -0.9896798729896545, 1.0535603761672974, 0.5915865302085876, -0.4336397647857666, -0.3548440635204315, -0.026835989207029343, 0.3925822377204895, -0.1452247053384781, 0.23795568943023682, 0.1126105934381485, 0.3210015296936035, -0.022633541375398636, -0.766852855682373, 0.11002852022647858, -0.16664713621139526, 0.4532112181186676, 0.34239858388900757, -0.5328525304794312, 0.6324001550674438, -0.04538271948695183, -0.4217403531074524, 0.24630512297153473, 0.7033507227897644, 0.6951155662536621, -0.013217480853199959, 0.6355488896369934, 0.0923495814204216, 0.9393523335456848, 0.12087518721818924, 1.0810742378234863, -0.5126562118530273, 0.24567292630672455, 1.0427193641662598, -0.4823959469795227, 0.830679714679718, 0.6318597197532654, 0.2603916823863983, 0.4265286922454834, 0.4784044027328491, 0.4097585082054138, 0.42494240403175354, 0.010129663161933422, -0.22528044879436493, -0.2410338968038559, -0.11433576047420502, -0.25867003202438354, 0.36160746216773987, 0.3490681052207947, -0.4317686855792999, -0.14086103439331055, 0.32881584763526917, 0.047125622630119324, 0.27428168058395386, -0.396785169839859, 0.6031596064567566, 0.1301846206188202, -0.7379146814346313, 0.5889750123023987, 0.40301647782325745, 0.5461811423301697, -0.4477299749851227, -0.201468363404274, 0.04381277784705162, -0.16275189816951752, 0.11623100936412811, -0.8559978604316711, 0.12636792659759521, -0.03749006986618042, -0.3099333643913269, -1.0454061031341553, 0.9387097954750061, -0.29741379618644714, -0.2534187436103821, 0.2671450078487396, 0.2413288652896881, -0.11054079979658127, -0.2605126202106476, -0.4608304500579834, -0.32952001690864563, -0.24564753472805023, -0.30786198377609253, 0.4577734172344208, 0.6034149527549744, -0.21923792362213135, 0.6554262638092041, 0.721291184425354, 0.042354848235845566, -0.160238578915596, -0.09378820657730103, 0.72882479429245, -0.9167380332946777, -0.786856472492218, -0.8921087980270386, 0.42095279693603516, -0.11413007974624634, 0.12863127887248993, 0.8929464221000671, 0.3702612817287445, 0.778962254524231, -0.20759911835193634, 0.851780891418457, 0.005430166609585285, 0.6869384050369263, -0.8330993056297302, 0.5430249571800232, -0.3948448598384857, 0.6166859269142151, -0.3672854006290436, -1.0989573001861572, -0.3424627482891083, 0.45621761679649353, -0.6552711725234985, -0.19243432581424713, 0.39218589663505554, 1.0112642049789429, 0.02068213000893593, -0.03580964356660843, 0.32273122668266296, 0.4819691479206085, 0.553162157535553, 0.2723802328109741, 1.2448443174362183, -0.18877024948596954, 0.25292181968688965, -0.30169013142585754, -0.33334144949913025, -0.15894059836864471, -0.9257479906082153, -0.6311172246932983, -0.4104560911655426, -0.13274693489074707, -0.20778536796569824, -0.10640677064657211, 1.288901448249817, 0.8199594020843506, -0.7696625590324402, -0.30663448572158813, 0.2718832194805145, 0.3572070300579071, -0.3654402494430542, -0.2388596087694168, 0.31494301557540894, -0.5109868049621582, -0.96113520860672, 1.2125415802001953, 0.4707610011100769, -0.06643841415643692, -0.17495690286159515, 0.05960538610816002, -0.3502750098705292, -0.13359610736370087, 0.9824548363685608, 0.25345054268836975, -0.4942410886287689, -0.43832117319107056, 0.24203699827194214, -0.2457984983921051, 0.07510694861412048, 1.0750349760055542, -0.6958940029144287, 0.17212408781051636, 0.8767074942588806, 0.878025233745575, -0.07873580604791641, 0.4577549993991852, 0.8077283501625061, -1.1181395053863525, 0.18765364587306976, 0.023230139166116714, 0.3961414396762848, 0.4453267455101013, -0.816748857498169, 0.29320237040519714, -0.11337579041719437, -0.7449227571487427, -0.7237988114356995, 0.26057693362236023, -0.7616360187530518, -0.5811561346054077, 1.4806238412857056, 0.20983999967575073, -0.1503622680902481, 0.15561510622501373, -0.6245350241661072, 0.23828084766864777, -0.1777273714542389, 1.0356688499450684, 0.6682772040367126, 0.0003403536102268845, -0.1785784661769867, -0.5972602963447571, 0.3334711194038391, 0.6193791627883911, -0.7132341265678406, -0.1400385946035385, 0.4846257269382477, 0.15188804268836975, 0.2108842134475708, 0.3198905289173126, -0.09990723431110382, -0.14067085087299347, -0.7174996137619019, 0.10681946575641632, 0.16594509780406952, -0.4782847762107849, -0.42006954550743103, 0.3440011441707611, 0.19609782099723816, -0.052131328731775284 ]
http://arxiv.org/abs/2404.11206v1
http://arxiv.org/pdf/2404.11206v1
Prompt-tuning for Clickbait Detection via Text Summarization
2024-04-17T09:39:02
2024-04-17T09:39:02
Haoxiang Deng, Yi Zhu, Ye Wang, Jipeng Qiang, Yunhao Yuan, Yun Li, Runmei Zhang
cs.CL
cs.CL
Clickbaits are surprising social posts or deceptive news headlines that attempt to lure users for more clicks, which have posted at unprecedented rates for more profit or commercial revenue. The spread of clickbait has significant negative impacts on the users, which brings users misleading or even click-jacking attacks. Different from fake news, the crucial problem in clickbait detection is determining whether the headline matches the corresponding content. Most existing methods compute the semantic similarity between the headlines and contents for detecting clickbait. However, due to significant differences in length and semantic features between headlines and contents, directly calculating semantic similarity is often difficult to summarize the relationship between them. To address this problem, we propose a prompt-tuning method for clickbait detection via text summarization in this paper, text summarization is introduced to summarize the contents, and clickbait detection is performed based on the similarity between the generated summary and the contents. Specifically, we first introduce a two-stage text summarization model to produce high-quality news summaries based on pre-trained language models, and then both the headlines and new generated summaries are incorporated as the inputs for prompt-tuning. Additionally, a variety of strategies are conducted to incorporate external knowledge for improving the performance of clickbait detection. The extensive experiments on well-known clickbait detection datasets demonstrate that our method achieved state-of-the-art performance.
[ -0.507190465927124, -0.7791671752929688, 0.6693358421325684, 0.4197567403316498, -0.6526090502738953, -0.038518134504556656, -0.11446218937635422, -0.10353252291679382, 0.5585809946060181, 0.6074490547180176, -0.7753289937973022, -0.5109833478927612, -0.5779288411140442, 0.63821941614151, -0.3010495901107788, 1.3204529285430908, 0.36631444096565247, -0.25164541602134705, -0.23109132051467896, 0.008004306815564632, -0.7828871607780457, 0.23214417695999146, -0.7704342007637024, 0.213419109582901, 0.5697256922721863, 0.3992111384868622, 0.5245803594589233, 0.3839094936847687, 0.3491867482662201, 0.2755584120750427, -0.2476532757282257, 0.4531427323818207, -0.4897657334804535, -0.029576335102319717, -0.2279169261455536, -0.34288692474365234, -0.15445275604724884, 0.1279047280550003, 0.5151887536048889, 0.4164910316467285, 0.26898449659347534, 0.14591404795646667, 0.2206851989030838, 0.7344881892204285, -0.44362807273864746, -0.04622441530227661, -0.6413435935974121, -0.3327782452106476, -0.07944894582033157, -0.8679317831993103, -0.39941635727882385, -0.8468139171600342, -0.03962094336748123, -0.6470081210136414, 0.3749021887779236, 0.4417389929294586, 0.7903015613555908, 0.4025583565235138, -0.6877956390380859, -0.3685474097728729, -0.013715259730815887, 0.5072797536849976, -0.6787315607070923, 0.0020218698773533106, 0.3682542145252228, 0.13314633071422577, -0.2953115701675415, -0.2579170763492584, -0.3081428110599518, -0.35843777656555176, -0.43104568123817444, 0.253484845161438, -0.14345256984233856, -0.06463946402072906, 0.3510964512825012, 0.1183452159166336, -0.9504095315933228, -0.034434475004673004, -0.3200058341026306, -0.3889487683773041, 0.4827427566051483, 0.18837925791740417, 0.41328638792037964, -0.48113659024238586, -0.5105996131896973, 0.08898641914129257, -0.37596675753593445, 0.12632176280021667, 0.6505459547042847, 0.3635912239551544, -0.13232533633708954, 0.36107930541038513, -0.7004994750022888, 0.8133899569511414, 0.4957917332649231, -0.25762778520584106, 0.27247774600982666, -0.5000321269035339, 0.21485839784145355, 0.4444117248058319, 0.6487184762954712, 1.0831332206726074, 0.45791587233543396, 0.06075116619467735, -0.09180689603090286, -0.016897615045309067, 0.1806478500366211, -0.7940868139266968, -0.20306898653507233, 0.16508963704109192, -0.7101987600326538, -0.8252254128456116, 0.15642285346984863, -0.6897875070571899, -0.4160955250263214, -0.35018399357795715, 0.6749280691146851, -0.4097283184528351, -0.1292242705821991, 0.01981537789106369, -0.4790462851524353, 0.1667538434267044, 0.20013634860515594, -0.7213438749313354, -0.09464765340089798, 0.6264727711677551, 0.9155324101448059, -0.4133848547935486, -0.41797348856925964, -1.1214228868484497, 0.024295587092638016, -0.30216535925865173, 1.181465744972229, -0.392636239528656, -0.26883527636528015, 0.044747352600097656, 0.15113332867622375, -0.12899476289749146, -0.469329833984375, 0.45549702644348145, -0.7795126438140869, 0.26358821988105774, -0.637002170085907, -0.5006266236305237, -0.26691946387290955, 0.41405415534973145, -0.713935911655426, 0.8317136168479919, -0.16099542379379272, -1.0236018896102905, 0.627582311630249, -0.626537561416626, -0.898401141166687, 0.08284261077642441, 0.36734139919281006, -0.3134486973285675, 0.2332495003938675, 0.5571192502975464, 0.29913684725761414, 0.0837230533361435, 0.15771526098251343, 0.06519696116447449, -0.4744144082069397, 0.303667277097702, -0.12948165833950043, 0.6728046536445618, 0.11465145647525787, -0.10168416053056717, 0.28092876076698303, -0.5585755705833435, -0.31716617941856384, -0.1356470286846161, -0.30790168046951294, -0.6242601275444031, -0.31109490990638733, -0.09737856686115265, -0.00716292904689908, 0.4220917224884033, -0.23738853633403778, -0.00954497791826725, -0.5478450655937195, -0.0858636125922203, 0.4808628559112549, 0.4339875280857086, 0.397830605506897, -0.511357843875885, 0.5640991926193237, 0.08768977224826813, 0.18475273251533508, -1.0010147094726562, -0.3595597445964813, -0.2880885601043701, 0.16497507691383362, 0.3152250051498413, 0.7021450996398926, -0.7884560227394104, 0.6517369747161865, -0.10600199550390244, -0.22634181380271912, -0.2616434395313263, 0.11173667758703232, 0.15212701261043549, 0.7319387197494507, 0.3903333246707916, 0.15057240426540375, -0.2857646346092224, -0.560409665107727, -1.0221202373504639, 0.1773575097322464, -0.22309981286525726, -0.06582654267549515, 0.448897123336792, 0.342075914144516, 1.0992379188537598, -0.8399578928947449, -0.560257613658905, -0.2291615754365921, 0.5025820136070251, 0.3754008710384369, 0.2075989842414856, 0.6835910081863403, -1.1686760187149048, -0.5975457429885864, -0.335412859916687, -0.45478782057762146, -0.487104207277298, -0.2942444682121277, 0.06504318863153458, -0.02692333422601223, 0.6586223840713501, -0.36464008688926697, 0.201066792011261, 0.19233007729053497, -0.7150953412055969, 0.8182593584060669, -0.1559601128101349, 0.6760367751121521, -1.2202177047729492, -0.014981732703745365, 0.08233824372291565, -0.4288194179534912, -0.417595237493515, -0.27046167850494385, 0.24954712390899658, -0.04683098942041397, -0.3647729456424713, 0.39014601707458496, -0.29458189010620117, 0.21404306590557098, -0.7391682267189026, 0.42377933859825134, 0.057094547897577286, 0.32576486468315125, -0.06504858285188675, 0.9296499490737915, 0.4110413193702698, -0.9248294830322266, 0.45311546325683594, 0.27088528871536255, -0.2025870382785797, 0.8370661735534668, -0.8069530129432678, -0.4671129584312439, -0.5233830809593201, 0.4461512267589569, -1.3484396934509277, -0.2604553997516632, 0.40709230303764343, -0.8511787056922913, -0.024946928024291992, -0.2599003314971924, -0.44718438386917114, -0.12740901112556458, -0.860498309135437, 0.23872138559818268, 0.28783562779426575, -0.4257168471813202, 0.45373716950416565, -0.0953301414847374, -0.4101767838001251, -0.3215813934803009, -0.20381738245487213, 0.19315174221992493, -0.28550663590431213, -0.40834325551986694, 0.3184879720211029, -0.09320171177387238, 0.23703210055828094, 0.07322552800178528, 0.017628362402319908, 0.42688077688217163, 0.0852743610739708, -0.14848767220973969, 0.1576484888792038, 0.04916089400649071, 0.14823204278945923, 0.40299075841903687, -0.6254333257675171, 0.019891146570444107, -0.37300825119018555, 0.40861251950263977, 0.32035723328590393, -0.07865622639656067, -0.6100991368293762, 0.39205992221832275, 0.4639298617839813, -0.43970367312431335, 0.5846304297447205, 0.8826836347579956, -0.12299405038356781, -0.0810592770576477, -0.5090171098709106, -0.4960474669933319, -0.4838680624961853, 0.14944173395633698, 0.04305528849363327, -0.6041934490203857, 0.32043659687042236, -0.35763853788375854, -0.2556701600551605, 0.503212034702301, 0.23489125072956085, -0.057505760341882706, 1.1285483837127686, 0.6571813821792603, 0.023274777457118034, 0.5107386112213135, 0.06102271378040314, 0.036101505160331726, -0.3651427626609802, -0.07253982871770859, -0.3784162998199463, -0.44540661573410034, -0.542551577091217, 0.05754736810922623, 0.6375336647033691, -0.16038352251052856, 0.14095908403396606, 0.4355306923389435, -0.31095513701438904, 0.8566993474960327, 0.643059492111206, 0.1858806014060974, 0.5969069004058838, -0.06789209693670273, 0.10961034893989563, -0.073976069688797, -0.30156031250953674, -0.31018969416618347, 0.676831066608429, -0.2484935224056244, 0.6980168223381042, -0.07998927682638168, 0.42621204257011414, 0.7342531085014343, -0.1923770159482956, -0.7023011445999146, 0.4781506061553955, -0.05983218178153038, -0.20618242025375366, -0.23321419954299927, -0.4422993063926697, -0.8373346924781799, 0.08955919742584229, -0.29079297184944153, -0.3936901390552521, -0.05499829724431038, 0.17898325622081757, -0.4562307298183441, 0.11669788509607315, -0.4425927400588989, 0.7443618774414062, 0.033224865794181824, 0.11889787763357162, -0.41061490774154663, -0.674720823764801, 0.3763854503631592, 0.08698995411396027, 0.2086179405450821, -0.17623098194599152, -0.21073026955127716, 0.7729789018630981, -0.26222145557403564, 0.8676142692565918, -0.179648295044899, -0.28401193022727966, 0.09714066982269287, 0.0010035316227003932, 0.8094425201416016, 0.33546459674835205, 0.40110570192337036, -0.3127347230911255, -0.1842776983976364, -0.469431072473526, -0.398065447807312, 0.6771143078804016, -0.11622506380081177, -0.37322720885276794, -0.2934122383594513, -0.39450398087501526, -0.057249221950769424, 0.5004915595054626, 0.7597643136978149, 0.6629216074943542, -0.06704949587583542, -0.040211182087659836, 0.8299040794372559, -0.26561152935028076, 0.7752668857574463, 0.6084592342376709, -0.0760987177491188, -0.5641478300094604, 0.9930006265640259, -0.08625525236129761, -0.12349599599838257, 0.4762141704559326, 0.12941987812519073, -0.5235790014266968, -0.4543987810611725, -0.45202937722206116, 0.32498854398727417, -0.3079477846622467, -0.4532148838043213, -0.8167360424995422, 0.1337330937385559, -0.48880794644355774, -0.43977823853492737, -0.008647916838526726, -0.09384840726852417, -0.46595898270606995, 0.12347792088985443, 0.7314851880073547, 0.37834712862968445, 0.06932391971349716, 0.5847412347793579, -1.0392335653305054, 0.7944333553314209, 0.3188580274581909, 0.2047390192747116, -0.16800925135612488, -0.6820023059844971, -0.29744842648506165, -0.15489870309829712, -0.304169237613678, -1.0985665321350098, 0.2390744388103485, -0.018616802990436554, 0.22388845682144165, 0.7053946852684021, 0.5408477187156677, 0.16037710011005402, -0.19995644688606262, 0.8194330930709839, 0.14828689396381378, -0.7942973971366882, 0.914566695690155, -0.7501237392425537, 0.573718249797821, 0.7733587026596069, 0.6251504421234131, -0.48794230818748474, -0.37781479954719543, -0.29920694231987, -0.7422852516174316, 0.7143111824989319, 0.1443708837032318, 0.20767006278038025, -0.034892093390226364, 0.08668588101863861, 0.32616257667541504, 0.44788506627082825, -0.4180356562137604, -0.266353040933609, 0.0843881145119667, -0.18110238015651703, -0.1274109184741974, -0.4818439185619354, 0.3537231385707855, 0.1307523250579834, 0.7118332982063293, -0.2741059362888336, -0.354889839887619, -0.05572735518217087, -0.5142476558685303, 0.023097887635231018, 0.22331736981868744, 0.538800060749054, 0.7600647807121277, -0.157383993268013, -0.09774845838546753, 0.23783235251903534, -0.5668871402740479, 0.1276778280735016, 0.14379964768886566, -0.5094348788261414, 0.27021971344947815, 0.31401142477989197, 0.6084835529327393, 0.6328911185264587, -0.6737905740737915, 0.8175058960914612, -0.0051920111291110516, -0.07236025482416153, -0.04473571851849556, 0.07366734743118286, -0.13047966361045837, 0.1457400619983673, 0.656230628490448, 0.1014338880777359, 0.5427121520042419, -0.17266494035720825, 0.26857197284698486, 0.25925055146217346, -0.1851814091205597, -0.24836775660514832, 0.7648127675056458, 0.528064489364624, -0.18157276511192322, 0.3703935146331787, -0.2200736403465271, -0.6350134611129761, 0.6705270409584045, 0.528861403465271, 0.9524676203727722, -0.22188501060009003, 0.530573844909668, 0.43585947155952454, 0.33912965655326843, -0.05455061420798302, 0.2488296926021576, -0.3182663023471832, -0.42487451434135437, -0.5942850112915039, -0.5283633470535278, -0.2643031179904938, -0.03877350315451622, -0.6535488963127136, 0.6657902598381042, 0.05633559823036194, -0.05422494187951088, 0.015735911205410957, 0.10930274426937103, -0.218309223651886, 0.035351697355508804, -0.0363239161670208, 0.9420386552810669, -1.119170904159546, 0.08235905319452286, 0.7887123227119446, -0.2591058909893036, -0.1968947947025299, 0.42734748125076294, 0.10264058411121368, -0.3182087540626526, 0.07903482764959335, 0.47975555062294006, -0.172681987285614, 0.44559091329574585, -0.5067859292030334, -0.5671434998512268, 0.9424529075622559, 0.23825784027576447, -0.33910292387008667, 0.036923959851264954, -0.1350027471780777, 0.034935519099235535, -0.09126532077789307, 0.21225577592849731, 0.6116584539413452, 0.7433644533157349, 0.051574498414993286, -0.8184980154037476, 0.2585103511810303, 0.03918447345495224, -0.16926398873329163, 0.3853534460067749, -0.7292926907539368, 0.5712440609931946, -0.32969018816947937, -0.06447809934616089, -0.14000940322875977, 0.5347926020622253, 0.1309160441160202, 0.6821788549423218, 0.659047544002533, 0.36776575446128845, 0.4575883746147156, 0.021249325945973396, 0.7232059836387634, -0.36583411693573, 0.34125131368637085, 0.8182204365730286, 0.08403417468070984, 0.255546510219574, 0.15612229704856873, -0.013198979198932648, 0.3025082051753998, 0.6209557056427002, -0.18714872002601624, 0.6426778435707092, -0.15463125705718994, -0.10294836014509201, -0.3718929886817932, -0.3212757408618927, -0.5149366855621338, 0.3512657582759857, 0.1899087131023407, -0.3772260546684265, -0.6600731611251831, 0.37203890085220337, 0.22288009524345398, 0.33715900778770447, -0.5803446769714355, 1.034804105758667, -0.15711575746536255, -0.6776236891746521, 0.28856319189071655, -0.036782894283533096, 1.0264228582382202, -0.632198691368103, 0.12455204874277115, -0.2689879536628723, -0.4064018428325653, -0.2758616805076599, -0.4984091818332672, 0.1177372857928276, 0.05471356213092804, -0.46799081563949585, -0.07120835781097412, 0.9357202053070068, -0.4630611836910248, -0.24232709407806396, -0.023317795246839523, 0.4138355553150177, 0.01573917828500271, -0.5848428010940552, -0.3095342814922333, -0.07056014984846115, -0.07676684111356735, -0.24296577274799347, 0.11730613559484482, 0.3292924463748932, 0.16454188525676727, 0.41862380504608154, 0.7521700859069824, -0.008998437784612179, -0.3322738707065582, 0.0003947069635614753, 0.7792516350746155, -0.9404229521751404, -1.395627498626709, -0.9498181343078613, 0.32506322860717773, -0.34647315740585327, -0.3514571189880371, 0.7626035213470459, 0.7124969959259033, 0.4905450940132141, -0.3423667848110199, 0.7373084425926208, 0.12734262645244598, 0.6236343383789062, -0.6724400520324707, 0.8559607863426208, -0.5689049959182739, 0.07990578562021255, -0.278887003660202, -0.9816524982452393, -0.11067409813404083, 0.016302574425935745, -0.31533390283584595, 0.14011143147945404, 0.6453632116317749, 0.7173410654067993, -0.12428797036409378, 0.08358046412467957, 0.17582739889621735, 0.13557963073253632, -0.11719615757465363, 0.12463254481554031, 0.7007077932357788, -0.24662862718105316, 0.7647813558578491, 0.09834352880716324, -0.38946542143821716, -0.8574163317680359, -1.144369125366211, -1.0599316358566284, -0.5767556428909302, -0.47937944531440735, -0.024300120770931244, -0.04427342116832733, 0.7480596303939819, 0.34138596057891846, -0.7941452860832214, 0.31883713603019714, 0.1563977301120758, 0.26998305320739746, -0.382156103849411, -0.3633042871952057, 0.45644545555114746, -0.6454946398735046, -0.6537023186683655, 0.3568616509437561, 0.28315839171409607, 0.042867958545684814, 0.15146325528621674, 0.32450762391090393, -0.033893391489982605, 0.2249307930469513, 0.6354583501815796, 0.018670596182346344, -0.33986207842826843, -0.048693541437387466, -0.007910587824881077, 0.15214411914348602, -0.33294105529785156, 0.993901252746582, -1.1580883264541626, 0.09608510881662369, 0.618074357509613, 0.2545259892940521, 0.17070403695106506, 0.5689042210578918, 0.27197495102882385, -0.7401698231697083, 0.07458998262882233, -0.125738725066185, -0.07472085952758789, 0.25172823667526245, -0.7427530884742737, -0.05795716494321823, 0.23110821843147278, -0.3781987428665161, -0.5608683228492737, 0.14691856503486633, -1.010898470878601, -0.28982603549957275, 0.9382858276367188, 0.3529210388660431, -0.11132250726222992, -0.16524137556552887, -0.5980316996574402, 0.30509209632873535, -0.7003744840621948, 0.9228845238685608, 0.2893390953540802, 0.19355028867721558, 0.023427706211805344, -0.2772482633590698, 0.8578543663024902, 0.11722102016210556, -0.7011104822158813, -0.09418211132287979, 0.4330446720123291, 0.5277705192565918, 0.0414937324821949, 0.434696227312088, 0.20482589304447174, 0.5658140778541565, -0.18024764955043793, -0.617382287979126, -0.36947301030158997, -0.2708769738674164, -0.3567027151584625, 0.19575689733028412, -0.45407578349113464, -0.5100557208061218 ]
http://arxiv.org/abs/2404.11205v2
http://arxiv.org/pdf/2404.11205v2
Pose2Gest: A Few-Shot Model-Free Approach Applied In South Indian Classical Dance Gesture Recognition
2024-04-17T09:37:25
2024-05-17T10:14:10
Kavitha Raju, Nandini J. Warrier, Manu Madhavan, Selvi C., Arun B. Warrier, Thulasi Kumar
cs.CV
cs.CV, cs.CL
The classical dances from India utilize a set of hand gestures known as Mudras, serving as the foundational elements of its posture vocabulary. Identifying these mudras represents a primary task in digitizing the dance performances. With Kathakali, a dance-drama, as the focus, this work addresses mudra recognition by framing it as a 24-class classification problem and proposes a novel vector-similarity-based approach leveraging pose estimation techniques. This method obviates the need for extensive training or fine-tuning, thus mitigating the issue of limited data availability common in similar AI applications. Achieving an accuracy rate of 92%, our approach demonstrates comparable or superior performance to existing model-training-based methodologies in this domain. Notably, it remains effective even with small datasets comprising just 1 or 5 samples, albeit with a slightly diminished performance. Furthermore, our system supports processing images, videos, and real-time streams, accommodating both hand-cropped and full-body images. As part of this research, we have curated and released a publicly accessible Hasta Mudra dataset, which applies to multiple South Indian art forms including Kathakali. The implementation of the proposed method is also made available as a web application.
[ -0.012270049192011356, 0.2130347490310669, 0.07746478915214539, -0.05541269853711128, -0.6864852905273438, -0.010775500908493996, 0.35774287581443787, -0.6024413108825684, 0.4929616153240204, 0.057669322937726974, -0.480502188205719, -0.2535497546195984, -0.8397689461708069, -0.4745090901851654, -0.5059955716133118, 0.42023783922195435, 0.043431881815195084, 0.3010788857936859, -0.19171348214149475, -0.5026735067367554, -0.32765501737594604, 0.16893815994262695, -0.3059034049510956, -0.43093717098236084, -0.12466928362846375, 0.5647730231285095, 0.3808184862136841, 0.13007014989852905, 0.4772733151912689, 0.1909838616847992, 0.08040817826986313, 0.2956062853336334, -0.35506966710090637, 0.27019792795181274, -0.0648120790719986, -0.7370082139968872, -0.20780959725379944, 0.3018563687801361, 0.47989577054977417, 0.06621377915143967, -0.3108479678630829, 0.6935657858848572, 0.0075014205649495125, 0.8816115856170654, -0.8272340297698975, 0.041362252086400986, -0.1687154918909073, 0.3200141489505768, -0.5949362516403198, 0.163377583026886, -0.06033574789762497, -0.490596204996109, -0.2954660952091217, -0.4928981363773346, 0.27125781774520874, -0.15717747807502747, 0.7553741931915283, 0.29916271567344666, 0.018176479265093803, -0.09707822650671005, -0.5199225544929504, 0.47768014669418335, -0.3246728777885437, 0.4254034757614136, 0.7132004499435425, 1.0122884511947632, 0.08885057270526886, -0.41161733865737915, -0.4063571095466614, 0.29876434803009033, 0.2876518964767456, 0.03245430439710617, -0.2439809888601303, -0.3686363697052002, 0.3819831907749176, 0.3745015859603882, -0.8689852952957153, -0.1921767294406891, -0.49784940481185913, -0.14903783798217773, 0.7482759356498718, 0.29153022170066833, 0.19148008525371552, -0.3527877926826477, -0.31743693351745605, -0.09290855377912521, -0.735623836517334, 0.49739015102386475, 0.2480257898569107, 0.16965588927268982, -0.6407266855239868, 0.7530468702316284, -0.1430061161518097, 0.6934299468994141, 0.22062520682811737, -0.4182927906513214, 0.050354789942502975, 0.19449187815189362, -0.19722914695739746, -0.22626210749149323, 0.5103982090950012, 0.44857463240623474, 0.23766006529331207, -0.03036210499703884, 0.029810113832354546, 0.43818703293800354, -0.14641731977462769, -0.7022768259048462, -0.4667898118495941, 0.04992089793086052, -0.5007985830307007, -0.4069434106349945, 0.059771303087472916, -0.9770076870918274, -1.21783447265625, -0.5296345353126526, 0.3668214678764343, -0.3421112298965454, -0.5243625640869141, -0.32269522547721863, -0.28922078013420105, 1.1326864957809448, 0.5150195956230164, -0.7363101243972778, 0.3662621080875397, 0.7934900522232056, 1.1882660388946533, -0.02884667180478573, 0.13997961580753326, -0.37581944465637207, 0.20851479470729828, -0.6354205012321472, 0.7965274453163147, -0.5461580753326416, -0.35913386940956116, -0.32560065388679504, -0.27395880222320557, 0.11347763985395432, -0.6988277435302734, 0.1761542409658432, -0.22527451813220978, -0.19055399298667908, -0.27919939160346985, -0.35247018933296204, -0.24459515511989594, 0.345466673374176, -0.6143108606338501, 1.1369061470031738, -0.10623736679553986, -0.8010801076889038, 0.4579089283943176, -0.31177183985710144, -0.3793541491031647, -0.017988266423344612, -0.4577076733112335, -0.6096793413162231, 0.1948716938495636, 0.07478135079145432, 0.5669745206832886, -0.4783334732055664, -0.29675382375717163, -0.4703208804130554, -0.6070176959037781, 0.157669335603714, 0.04225786030292511, 0.5523509979248047, 0.28535521030426025, -0.2845364809036255, 0.012378660030663013, -1.0224589109420776, -0.010830799117684364, 0.19445370137691498, 0.24366691708564758, -0.47613590955734253, -0.0476912185549736, 0.009012138471007347, 0.4304092526435852, -0.04122030735015869, -0.38793841004371643, 0.32782819867134094, -0.38536110520362854, 0.23390570282936096, 0.5117645263671875, -0.20818935334682465, 0.7366978526115417, -0.4544558823108673, 0.7587243914604187, -0.12304189801216125, 0.11602924019098282, 0.22183065116405487, -0.5068364143371582, -0.49365168809890747, -0.49853503704071045, 0.09591303765773773, 0.5901584625244141, -0.5163577795028687, -0.3019096553325653, -0.3277413249015808, -0.9127154350280762, -0.7701502442359924, 0.03167455270886421, 0.38589170575141907, 0.06470037996768951, 0.15037815272808075, -0.44620630145072937, -0.8298119902610779, -0.5166484713554382, -0.3177677094936371, -0.0047034588642418385, 0.011283637955784798, -0.14287076890468597, 0.26441067457199097, 0.31311729550361633, 0.821047842502594, -0.3678455650806427, -0.41353511810302734, -0.0010189716704189777, 0.2598581314086914, -0.052247680723667145, 0.6377319097518921, 0.7722934484481812, -0.5018275380134583, -0.4068637192249298, -0.19310124218463898, -0.9854028820991516, 0.5172141194343567, 0.29829326272010803, -0.2682075798511505, 0.06124614551663399, 0.1726188063621521, -0.37498801946640015, 0.7187058925628662, 0.5076990127563477, -0.005779426544904709, 0.14191082119941711, 0.15845996141433716, 0.2719375491142273, -1.303307056427002, 0.3199024796485901, -0.05074908584356308, -0.3768119513988495, -0.4941231608390808, 0.26291584968566895, 0.022537091746926308, -0.6591217517852783, -0.513833224773407, 0.7340230941772461, -0.6101548075675964, -0.5874015688896179, -0.4647596478462219, -0.005425365176051855, -0.4652419090270996, 0.2517213225364685, 0.2137356847524643, 0.46348848938941956, 0.8303781747817993, -0.400484174489975, 0.10759627819061279, 0.3129907548427582, -0.45097512006759644, 1.2923192977905273, -0.2538391649723053, 0.4762757420539856, -0.23255467414855957, 0.06191212311387062, -1.4627397060394287, -0.6578394174575806, 0.6005861759185791, -0.7659561634063721, 0.5627024173736572, -0.6739267706871033, -0.0196993388235569, -0.37608441710472107, -0.6104545593261719, 0.3651310205459595, 0.6745458245277405, -0.6001498699188232, 0.8352315425872803, 0.5979025363922119, 0.12802541255950928, -0.7196739912033081, -0.7592895030975342, -0.19757528603076935, -0.49085694551467896, -0.4051140546798706, -0.22591134905815125, 0.2943122088909149, 0.02446879632771015, -0.4057653546333313, -0.4769146740436554, -0.12093149870634079, -0.16624628007411957, 0.8351683616638184, 0.21978850662708282, 0.0646337941288948, -0.1623913049697876, 0.05083515867590904, -0.0848260149359703, -0.28840306401252747, 0.06911471486091614, 0.44742169976234436, 0.0742897242307663, -0.3905843496322632, -1.0748329162597656, 0.14883580803871155, 0.9651419520378113, -0.20214961469173431, 0.08764642477035522, 0.8149687051773071, -0.6863059997558594, 0.15351909399032593, -0.3878234028816223, 0.040479522198438644, -0.393503338098526, -0.12803736329078674, -0.49390316009521484, -0.359318345785141, 0.6032564640045166, -0.1658116728067398, -0.11113157868385315, 0.06677519530057907, 0.4311656951904297, -0.3798494338989258, 0.6638756394386292, 0.34086787700653076, -0.15178367495536804, 0.5318200588226318, -0.6414316296577454, -0.05312784016132355, -0.6797022223472595, -0.5492002964019775, -0.6044424772262573, -0.8110628724098206, -0.5611838698387146, -0.917733371257782, 0.289855420589447, 0.11046455800533295, -0.3966819643974304, 0.42646604776382446, -0.35649529099464417, 0.5447907447814941, 0.37533798813819885, 0.43596351146698, -0.018498003482818604, 0.208106130361557, -0.008662146516144276, -0.11046700179576874, -0.20796266198158264, -0.32549381256103516, 1.0698364973068237, 0.036011870950460434, 1.008628249168396, 0.4610722064971924, 0.9873507022857666, 0.26055410504341125, 0.1248813048005104, -1.0283451080322266, 0.6289283037185669, -0.0453643836081028, -0.8100296258926392, -0.23952613770961761, 0.2424297332763672, -0.7694495320320129, 0.26503899693489075, -0.34248295426368713, -0.5563663840293884, 0.4773869812488556, 0.5538402795791626, -0.25880497694015503, 0.24212317168712616, -0.3079281151294708, 0.5464191436767578, 0.20054398477077484, -0.6659161448478699, -0.28562748432159424, -1.1145007610321045, 0.6553558707237244, 0.15954266488552094, 0.32742857933044434, -0.553438663482666, 0.11387229710817337, 0.783950686454773, -0.4369312822818756, 1.1261454820632935, -0.6257421970367432, 0.23025061190128326, 0.4616906940937042, 0.4976363778114319, 0.6004902124404907, -0.32171231508255005, 0.008514410816133022, 0.001320952083915472, 0.21086937189102173, -0.6847668886184692, -0.3821060359477997, 0.5883366465568542, -0.5732720494270325, 0.19341866672039032, -0.7117534875869751, 0.015600101090967655, -0.3495907485485077, -0.1777888834476471, 0.3405790627002716, 0.33167406916618347, -0.21031847596168518, -0.1669013798236847, 0.34551966190338135, 0.4543824791908264, 0.7106044888496399, 0.22882480919361115, -0.20231415331363678, -0.33387327194213867, 0.8185096383094788, 0.13035514950752258, -0.14890068769454956, 0.29683274030685425, 0.15704523026943207, -0.5122278332710266, -0.35034188628196716, -0.6850111484527588, 0.20186442136764526, -0.6972466111183167, -0.46486547589302063, 0.08053887635469437, 0.30532124638557434, -0.46176677942276, -0.24962776899337769, -0.3832842707633972, -0.7781261205673218, -0.15122878551483154, -0.12635087966918945, 0.43619897961616516, 0.6337606906890869, -0.43765389919281006, 0.35709524154663086, -0.5163437128067017, 0.2787056863307953, 0.6134692430496216, 0.4513082504272461, -0.007249030284583569, -0.5523989796638489, 0.25948336720466614, -0.3140977919101715, -0.3693428337574005, -0.9915758371353149, 0.05466460809111595, 0.4103887975215912, 0.46304455399513245, 0.6196240186691284, -0.0693918988108635, 0.9389092326164246, -0.26266026496887207, 0.7656761407852173, 0.6296000480651855, -0.6527844071388245, 0.7882533073425293, -0.181253582239151, 0.15562254190444946, 0.6136905550956726, 0.5973964929580688, -0.5025280117988586, 0.2825956344604492, -0.3942403197288513, -0.443710595369339, 0.705501914024353, 0.0031590608414262533, 0.17893272638320923, 0.3022647500038147, 0.3466639220714569, 0.1654001921415329, 0.13300572335720062, -0.3896256685256958, -0.12826423346996307, -0.3091726005077362, -0.3184747099876404, 0.07496810704469681, 0.0996391773223877, -0.12644167244434357, -0.39787766337394714, 0.6062273979187012, 0.07282587140798569, 0.21110497415065765, -0.3073049783706665, -0.3252488076686859, -0.4916802644729614, 0.060048095881938934, 0.6609826683998108, 0.4311489164829254, 0.05355263501405716, 0.01290127169340849, 0.007291601970791817, -0.7684417366981506, 0.4943169355392456, -0.03324791043996811, -0.16779835522174835, -0.14698724448680878, 0.009275505319237709, 0.7580091953277588, 0.3193162977695465, -0.45273539423942566, 0.7104892134666443, 0.38453102111816406, 0.08333656191825867, -0.4462180435657501, -0.1283019334077835, -0.05287244915962219, 0.6198477745056152, 0.09104198962450027, 0.4553198516368866, 0.35615965723991394, -0.4367484152317047, 0.0938868373632431, 0.32519271969795227, -0.6153907775878906, -0.5152285099029541, 0.7450604438781738, -0.04386790469288826, -0.27202099561691284, 0.2879229784011841, -0.3383164703845978, -0.05469735339283943, 0.292384535074234, 0.21063227951526642, 0.7690577507019043, -0.8618862628936768, 0.33776187896728516, 0.8013407588005066, -0.15299935638904572, -0.43923985958099365, 0.7476359605789185, -0.1688632369041443, -0.3159528076648712, -0.041107453405857086, -0.6002880930900574, -0.4073231816291809, -0.0469641350209713, -0.695959746837616, 0.8102658987045288, -0.5711408853530884, -0.04429318383336067, -0.022498352453112602, -0.20894794166088104, -0.5201528072357178, -0.018801920115947723, 0.41485536098480225, 0.5184410214424133, -1.2079190015792847, 0.7233769297599792, 0.8912328481674194, -0.5909823179244995, -0.6710559725761414, -0.061801642179489136, 0.8382511138916016, -0.8923948407173157, 0.10746479779481888, 0.04387205094099045, -0.44638481736183167, -0.13152441382408142, -0.6532923579216003, -0.7553912997245789, 1.3467533588409424, 0.3504607081413269, -0.6343724727630615, -0.0784618929028511, -0.08443446457386017, 0.39805468916893005, 0.23967710137367249, -0.3063705265522003, 0.518729031085968, 0.17249247431755066, 0.9350537061691284, -0.7508754730224609, -0.3047086298465729, -0.03233450651168823, 0.058863744139671326, 0.5611338019371033, -0.46647992730140686, 0.3007352948188782, -0.40639349818229675, 0.058297544717788696, 0.4217909872531891, 0.627967357635498, 0.6042686104774475, 0.6314772367477417, 0.11533934623003006, 0.728193998336792, 0.8230933547019958, 0.0726412758231163, 0.762302041053772, 0.024655833840370178, 0.43077215552330017, 1.140172004699707, -0.24130210280418396, 1.0853909254074097, 0.3701038062572479, -0.5938665270805359, 0.2575029134750366, 0.89777672290802, 0.20460151135921478, 0.825638473033905, 0.5155215263366699, -0.3492654860019684, -0.2923634350299835, 0.4709950387477875, -0.25426235795021057, 0.9425694346427917, 0.32314446568489075, -0.014103974215686321, -0.3368707597255707, 0.43054741621017456, 0.17603592574596405, 0.1303633749485016, -0.7664353847503662, 0.6280533671379089, 0.01383205782622099, -0.2653439939022064, 0.4582197070121765, -0.25779783725738525, 0.699561595916748, -0.43674206733703613, -0.13939982652664185, -0.20490281283855438, -0.013177284970879555, -0.40937429666519165, -0.503522515296936, 0.27769389748573303, -0.024921001866459846, 0.08700994402170181, 0.30804353952407837, 1.0206187963485718, -0.13115549087524414, -0.5301576852798462, -0.38426610827445984, 0.4651558995246887, 0.7828197479248047, 0.02468595653772354, -0.5221942663192749, -0.09340418875217438, -0.4098908007144928, 0.27299952507019043, 0.4899042546749115, 0.004717637784779072, -0.5060724020004272, 0.3425907790660858, 0.03146348148584366, -0.24071289598941803, 0.200887531042099, -0.22678379714488983, 0.4232267439365387, -0.3325813412666321, -0.4815531075000763, -0.37370195984840393, 0.309417724609375, -0.0729079470038414, -0.08130649477243423, 0.18951085209846497, 0.6591818928718567, 0.6439934372901917, -0.3561566472053528, 0.5620034337043762, -0.3147872984409332, 0.8716875314712524, -0.4370662569999695, 0.7846901416778564, -0.525855541229248, -0.24279436469078064, -0.35450512170791626, -0.4989481270313263, -0.5300154089927673, 0.8948062658309937, -0.3130124509334564, -0.23078814148902893, 0.0854419469833374, 0.7432504296302795, -0.4405468702316284, -0.12116522341966629, 0.2650838792324066, -0.41597995162010193, -0.16203799843788147, 0.16605369746685028, 0.7117542028427124, -0.6348296999931335, 0.23303258419036865, -0.2251858115196228, -0.23417243361473083, -0.4776449203491211, -0.822390079498291, -0.591942548751831, -0.77167809009552, -0.47449973225593567, -0.22309300303459167, 0.07397951930761337, 1.3636722564697266, 1.0075371265411377, -0.97109454870224, -0.47448691725730896, 0.4005983769893646, -0.34736260771751404, -0.5678461790084839, -0.07857587188482285, 0.5882372260093689, 0.18393941223621368, -0.776203453540802, 0.3454457223415375, 0.09048029035329819, 0.4112966060638428, 0.15902133285999298, -0.19597095251083374, -0.19932633638381958, -0.0913466140627861, 0.785402238368988, 0.8183488249778748, -0.629788339138031, -0.277665376663208, -0.2509441077709198, 0.16552363336086273, 0.11921564489603043, 0.8190422058105469, -0.49784985184669495, 0.49295464158058167, 0.6047565340995789, 0.3838967978954315, 1.0027962923049927, 0.1695787012577057, -0.2819879353046417, -0.9206027984619141, 0.41577622294425964, 0.14972855150699615, 0.2246101051568985, 0.41271957755088806, 0.08848205953836441, 0.8795425891876221, 0.43212947249412537, -0.008663563057780266, -0.7488217949867249, 0.11846257746219635, -1.5158559083938599, 0.03300802409648895, 0.9324987530708313, -0.09138453751802444, -0.0595548041164875, -0.04754140228033066, -0.453908234834671, 0.3340469300746918, -0.04800183326005936, 0.5191450119018555, 0.4707379639148712, -0.6231697797775269, -0.4739745259284973, -0.4208197295665741, 0.6348360776901245, -0.15418435633182526, -0.6045401096343994, -0.17708401381969452, 0.8357588648796082, 0.7699138522148132, 0.010113280266523361, 0.8697397112846375, -0.5435466170310974, 0.5245590806007385, -0.1454472839832306, 0.29069221019744873, 0.13313619792461395, -0.30406704545021057, -0.5850816369056702, 0.4180104732513428, 0.20239004492759705, -0.8643920421600342 ]
http://arxiv.org/abs/2404.11201v1
http://arxiv.org/pdf/2404.11201v1
Neuron Specialization: Leveraging intrinsic task modularity for multilingual machine translation
2024-04-17T09:33:19
2024-04-17T09:33:19
Shaomu Tan, Di Wu, Christof Monz
cs.CL
cs.CL
Training a unified multilingual model promotes knowledge transfer but inevitably introduces negative interference. Language-specific modeling methods show promise in reducing interference. However, they often rely on heuristics to distribute capacity and struggle to foster cross-lingual transfer via isolated modules. In this paper, we explore intrinsic task modularity within multilingual networks and leverage these observations to circumvent interference under multilingual translation. We show that neurons in the feed-forward layers tend to be activated in a language-specific manner. Meanwhile, these specialized neurons exhibit structural overlaps that reflect language proximity, which progress across layers. Based on these findings, we propose Neuron Specialization, an approach that identifies specialized neurons to modularize feed-forward layers and then continuously updates them through sparse networks. Extensive experiments show that our approach achieves consistent performance gains over strong baselines with additional analyses demonstrating reduced interference and increased knowledge transfer.
[ -0.13003894686698914, -0.6867234110832214, 0.27922436594963074, 0.5263761878013611, -0.005318977404385805, 0.03475150093436241, -0.3997610807418823, -0.5225031971931458, 0.305715948343277, 0.2145729660987854, -0.3861348330974579, -0.08128959685564041, -0.7012301683425903, 0.07497779279947281, -0.3218725323677063, 0.8520438075065613, 0.09148630499839783, 0.08884047716856003, -0.29245230555534363, -0.25653669238090515, -0.2763666808605194, -0.786970853805542, -0.41035038232803345, -0.7339546084403992, 0.9367391467094421, 0.17084847390651703, 0.4681120812892914, 0.4221198856830597, 0.2757440507411957, 0.34721675515174866, -0.26977303624153137, 0.3635244369506836, 0.09270554780960083, 0.015938786789774895, -0.29613780975341797, -0.5158735513687134, -0.6754891276359558, -0.5132359266281128, 0.8682053685188293, 0.8777366280555725, 0.06931937485933304, -0.10000074654817581, 0.09149385243654251, 0.4342910349369049, -0.3789754807949066, 0.18131163716316223, -0.6880502700805664, 0.2820132076740265, -0.15534910559654236, 0.09868766367435455, -0.4161902666091919, 0.09096194058656693, -0.09363588690757751, -0.3587389588356018, 0.11035341024398804, -0.4018521010875702, 0.5482273101806641, -0.04987436160445213, -0.5230417251586914, 0.2612229287624359, -0.44983720779418945, 0.5802741646766663, -0.7664293050765991, 0.07538263499736786, 0.45961081981658936, -0.18875940144062042, 0.1532936990261078, -0.367586225271225, -0.4420357644557953, -0.3298276364803314, -0.2914056181907654, -0.06861872225999832, -0.13669554889202118, -0.0130109041929245, 0.20134542882442474, 0.12462184578180313, -0.39826709032058716, 0.20381908118724823, -0.5004104971885681, -0.29096904397010803, 0.41385340690612793, -0.11888955533504486, 0.7579894065856934, -0.06891553848981857, -0.2282738983631134, 0.2664582133293152, -0.6087937951087952, 0.04778978228569031, 0.6851930618286133, 0.27669835090637207, 0.1346644014120102, 0.5352593660354614, -0.2221430391073227, 0.7063372135162354, 0.056996285915374756, 0.107004314661026, 0.5593044757843018, -0.42489147186279297, -0.0016883607022464275, 0.05763790383934975, 0.685437798500061, -0.14771679043769836, 0.23894062638282776, -0.6120302677154541, -0.4666019082069397, -0.3341156542301178, 0.5725017189979553, -0.4605160057544708, -0.07816499471664429, 0.02007043920457363, -0.2932511270046234, 0.03611195459961891, -0.4232972264289856, -0.15203332901000977, 0.18003781139850616, -0.49084797501564026, 0.5492279529571533, -0.4364919364452362, -0.5141247510910034, -0.010864782147109509, -0.14955930411815643, -0.40193915367126465, -0.01182330958545208, -1.3747440576553345, 0.30326759815216064, 0.49687764048576355, 1.003423810005188, -0.3743593692779541, -0.8931226134300232, -0.2840479016304016, 0.4238358438014984, -0.3043699264526367, 0.7529496550559998, -0.29040929675102234, 0.04828155040740967, -0.15693879127502441, 0.2769797742366791, -0.497832715511322, -0.5846493244171143, 0.14521582424640656, -0.6433655619621277, -0.36676374077796936, -0.2094598114490509, -0.051607973873615265, -0.4248422384262085, 0.40267622470855713, -0.5470371246337891, 0.7844724655151367, 0.09436102211475372, -0.43901166319847107, 0.15681135654449463, -0.45999234914779663, -1.005632758140564, 0.039070822298526764, 0.12108120322227478, -0.08183401077985764, 0.38413479924201965, 0.09222289174795151, 0.4401637017726898, 0.1271628439426422, 0.2396976798772812, -0.09567970037460327, -0.09745390713214874, 0.22757358849048615, -0.10770556330680847, 0.49451518058776855, -0.05956612899899483, -0.42210686206817627, 0.4959753155708313, -0.28034064173698425, -0.022765178233385086, -0.3361433446407318, -0.3252953886985779, -0.40331506729125977, 0.0014131417265161872, 0.02072501927614212, 0.4156631529331207, 0.23924212157726288, -0.41141244769096375, 0.33968961238861084, -0.23339687287807465, 0.816476047039032, 0.6223858594894409, -0.269866019487381, 0.9456705451011658, -0.3800114691257477, 0.18816660344600677, 0.48170948028564453, 0.14319708943367004, -0.016864260658621788, -0.6670857071876526, -0.5640753507614136, -0.15327215194702148, 0.04813665524125099, 0.49319639801979065, -0.7560088038444519, 0.4935319423675537, -0.38206028938293457, -0.34741291403770447, -0.24681206047534943, 0.41985124349594116, 0.23958982527256012, 0.3964807093143463, 0.5507329702377319, -0.6315782070159912, -0.03822243958711624, -1.2130521535873413, -0.08484740555286407, 0.2780095338821411, 0.266938716173172, 0.11421789228916168, 0.49613019824028015, -0.1809568554162979, 0.40966081619262695, -0.10511787980794907, -0.3074447810649872, -0.31795474886894226, 0.2517189681529999, 0.3814711570739746, 1.1695187091827393, 0.3349226713180542, -0.7829369902610779, -0.5984740853309631, 0.7639577388763428, -0.6941701173782349, 0.19659720361232758, -0.47553884983062744, -0.23712241649627686, -0.005438543856143951, 0.39963090419769287, -0.7661717534065247, 0.02229708805680275, 0.49452558159828186, 0.04430234432220459, 0.4845370054244995, -0.4282000660896301, 0.14268648624420166, -0.9505909085273743, 0.32119297981262207, -0.19536517560482025, -0.14420832693576813, -0.8037392497062683, 0.23541754484176636, 0.3687802255153656, 0.16950424015522003, -0.33849942684173584, 0.33106884360313416, -0.5126555562019348, -0.0918993353843689, -0.24559670686721802, -0.12605729699134827, -0.11086484789848328, 0.6790858507156372, 0.0793742835521698, 0.6418590545654297, 0.6411787867546082, -0.47145161032676697, 0.17799843847751617, 0.2452244907617569, -0.38339054584503174, 0.35332557559013367, -0.7083719968795776, 0.055368103086948395, 0.05130641162395477, -0.08053027838468552, -0.4479539692401886, -0.12114089727401733, 0.09303639084100723, -0.31173309683799744, 0.584770917892456, -0.3863009512424469, -0.46798282861709595, 0.010875031352043152, 0.11999572813510895, 0.8079937696456909, 0.3595774173736572, -0.17000015079975128, 0.5925660729408264, 0.3145602345466614, -0.2646597623825073, -0.7464419603347778, -1.184308409690857, 0.28177088499069214, 0.27727067470550537, -0.7900028228759766, 0.6117352247238159, -0.1361950784921646, 0.1543453186750412, 0.08173035085201263, -0.21795004606246948, -0.48586416244506836, 0.06104070693254471, 0.007303796708583832, 0.0007709483033977449, -0.30014097690582275, 0.05178657919168472, 0.4136444628238678, 0.06448931246995926, -0.0949564054608345, -0.7226932048797607, 0.5937843322753906, 0.19144046306610107, -0.46417027711868286, -0.42470574378967285, 0.5689420700073242, 0.654538094997406, -0.4347304403781891, 0.6485990285873413, 0.7626808285713196, -0.259748250246048, -0.2438013255596161, -0.435891330242157, -0.2553457021713257, -0.4594476819038391, 0.7573581337928772, -0.49201148748397827, -0.6789770722389221, 0.5560487508773804, 0.1702982634305954, -0.0941675454378128, 0.28238561749458313, 0.568593442440033, 0.2964824140071869, 0.9616447687149048, 0.5967586636543274, 0.0737246721982956, 0.6335551142692566, -0.23502206802368164, 0.1674535572528839, -1.2123119831085205, -0.43096357583999634, -0.21475572884082794, -0.5604827404022217, 0.05352817848324776, -0.6302689909934998, 0.24262896180152893, 0.23154062032699585, 0.008903486654162407, 0.6879575252532959, -0.45354077219963074, 0.568096399307251, 0.517828106880188, 0.16256263852119446, 0.18747705221176147, 0.18936072289943695, -0.46604055166244507, -0.01338239200413227, -0.8652563095092773, -0.13775615394115448, 0.6607270240783691, -0.03008137084543705, 0.28534820675849915, 0.07275073975324631, 0.3933064043521881, 0.29611507058143616, 0.3064412772655487, -0.6856777667999268, 0.38169196248054504, -0.30706486105918884, -0.6764544248580933, -0.02697918191552162, -0.5890947580337524, -0.64528888463974, 0.5063939690589905, 0.01040242426097393, -0.7624353766441345, 0.320273756980896, -0.01418847031891346, -0.058016907423734665, 0.6434974074363708, -0.761562168598175, 0.8047820925712585, -0.18652205169200897, -0.4806293547153473, -0.5121954083442688, -0.41556376218795776, 0.19171123206615448, -0.10251808166503906, 0.046561483293771744, -0.11666657030582428, -0.21602706611156464, 0.17041538655757904, 0.12679362297058105, 0.9444891810417175, 0.29309219121932983, -0.08929779380559921, -0.041495803743600845, 0.2688615322113037, 0.2957988679409027, 0.12900328636169434, -0.24845215678215027, 0.45183536410331726, -0.5031105875968933, -0.7734058499336243, -0.3176621198654175, 0.9177695512771606, -0.8564141988754272, -0.5868437886238098, -0.0679241344332695, -0.9491189122200012, -0.10127993673086166, 0.4892217814922333, 0.21939213573932648, 0.40546348690986633, 0.001169370487332344, -0.05834241956472397, 0.6085704565048218, 0.11314957588911057, 0.6824551820755005, 0.2500973343849182, 0.12113811820745468, -0.3776865303516388, 1.1426520347595215, 0.4292968809604645, 0.5110074281692505, 0.5574403405189514, -0.16827915608882904, 0.1426558941602707, -0.7349386811256409, -0.6678489446640015, 0.06265389174222946, -0.7679915428161621, -0.08837374299764633, -1.0738005638122559, -0.2987608313560486, -0.43267351388931274, -0.17714548110961914, -0.2921774387359619, -0.6116911172866821, -0.1550462394952774, -0.02134166844189167, -0.2423611581325531, 0.843666136264801, -0.29026612639427185, 0.11006095260381699, -1.009064793586731, 0.15251506865024567, 0.5594773292541504, 0.16402924060821533, 0.4656532108783722, -0.465394526720047, -0.7064723372459412, 0.02624630741775036, -0.26450541615486145, -0.8591884970664978, 0.4260196387767792, 0.3409132659435272, 0.8297104835510254, 0.09425460547208786, -0.5390835404396057, 0.4207729399204254, -0.6423255801200867, 0.7038491368293762, 0.45800071954727173, -1.2027400732040405, -0.02625809796154499, -0.4077700674533844, 0.5409144163131714, 0.15547403693199158, 0.39065635204315186, -0.6729453802108765, -0.2579439878463745, -0.23856370151042938, -1.0221441984176636, 0.7945029139518738, 0.18157027661800385, 0.49345967173576355, 0.009454547427594662, 0.2331448793411255, 0.09325025230646133, 0.3345679044723511, -0.9191775918006897, -0.04574934393167496, -0.15931858122348785, 0.2599930763244629, -0.10853353142738342, 0.042583268135786057, -0.3171893060207367, -0.5033261775970459, 0.44473719596862793, -0.42135828733444214, 0.16450732946395874, 0.3523768186569214, -0.5314667820930481, -0.004351111128926277, 0.1499498039484024, 0.862213671207428, 0.6672735214233398, 0.4082074761390686, 0.2969759702682495, 0.4001311957836151, -0.3761647641658783, 0.20898205041885376, -0.2775688171386719, -0.27649039030075073, 0.06782092154026031, 0.5003340840339661, 0.6432176232337952, 0.292969286441803, -0.1128854751586914, 0.314557284116745, 0.24931354820728302, -0.28246280550956726, 0.09146181493997574, -0.05931657925248146, 0.4823369085788727, 0.3019164502620697, 0.31526869535446167, 0.9077337980270386, -0.0773947611451149, -0.40487533807754517, 0.1928454488515854, 0.22393055260181427, -0.453348845243454, -0.8350068926811218, 0.34204211831092834, 0.24303047358989716, -0.3580566942691803, 0.5467775464057922, -0.14154507219791412, -0.7367445826530457, 0.8840027451515198, 0.7598967552185059, 0.9554815888404846, -0.17254313826560974, 0.2385331690311432, 0.3802054524421692, 0.6791067123413086, -0.28630203008651733, 0.05540970712900162, -0.37770020961761475, -0.7011803388595581, -0.8188278675079346, -0.32307156920433044, -0.024021616205573082, -0.40812256932258606, -0.520491361618042, -0.21448105573654175, -0.27458450198173523, -0.20994335412979126, -0.08006343990564346, -0.6465131640434265, -0.3046971261501312, -0.2655915915966034, 0.28310462832450867, 0.7660722136497498, -0.6829072833061218, 1.2706984281539917, 0.8988834023475647, -0.3782244622707367, -0.33956754207611084, -0.1537337750196457, -0.39319300651550293, -0.5656124353408813, 1.004629135131836, 0.11769261956214905, 0.07174999266862869, -0.08865993469953537, -0.2202797681093216, -0.7082720398902893, 0.7000081539154053, 0.4379652142524719, -0.42218583822250366, -0.11124784499406815, 0.03887025639414787, 0.33485597372055054, -0.2953531742095947, 0.10907804220914841, 0.11352784931659698, 0.5605438947677612, -0.24984246492385864, -0.8824644684791565, 0.003976184409111738, -0.556273341178894, -0.0677911564707756, 0.32226648926734924, -0.6263486742973328, 1.1852473020553589, -0.07656741142272949, 0.13933078944683075, -0.059126514941453934, 0.4105679988861084, -0.4788084626197815, -0.27239927649497986, 0.25403496623039246, 0.5402986407279968, 0.5015033483505249, 0.06790399551391602, 0.8289394378662109, -0.3861113488674164, 0.09243541210889816, 0.9356814026832581, -0.1250511258840561, 0.782874584197998, 0.7010617256164551, 0.2319764494895935, 0.47946518659591675, 0.14589154720306396, -0.03466423600912094, 0.4497396647930145, 0.01007719337940216, -0.5187788009643555, -0.49601686000823975, -0.30516794323921204, -0.38275426626205444, 0.006496896967291832, 0.18569545447826385, -0.22575993835926056, -0.010971827432513237, 0.055171724408864975, -0.04552052170038223, 0.04245157539844513, -0.3247218728065491, 0.6882621645927429, 0.18056757748126984, -0.9223893880844116, 0.44374141097068787, -0.016345497220754623, 0.9249182343482971, -0.9079696536064148, 0.16530819237232208, -0.3471221625804901, 0.20614056289196014, -0.47462889552116394, -0.4678884744644165, 0.564544141292572, -0.46069028973579407, -0.5404732823371887, -0.5184073448181152, 0.496450811624527, -0.686234176158905, -0.18090710043907166, 0.5841779708862305, 0.5685962438583374, -0.3459959030151367, -0.2743050456047058, -0.5579830408096313, -0.2901241183280945, -0.04133686050772667, -0.08310198783874512, 0.7402973771095276, 0.30128732323646545, -0.016559863463044167, 0.4302792251110077, 0.8854168653488159, 0.4140416383743286, 0.36810219287872314, -0.0954878032207489, 0.9835126996040344, -0.4323677718639374, -0.5146047472953796, -0.81827712059021, 0.48760247230529785, -0.2199077606201172, -0.49965545535087585, 0.6985722780227661, 0.3799457848072052, 0.8439279198646545, -0.3406277894973755, 0.5279915928840637, -0.14533203840255737, -0.4557875394821167, -0.30054739117622375, 0.9696931838989258, -0.7054183483123779, -0.004890497773885727, 0.09814725816249847, -0.8276859521865845, -0.3362021744251251, 0.4204528033733368, -0.19407470524311066, -0.27107518911361694, 0.9483006000518799, 0.8608916401863098, -0.41952911019325256, -0.31993892788887024, 0.5560240745544434, 0.0830339789390564, 0.12009426206350327, 0.5958393812179565, 0.7568764090538025, -0.223824605345726, 0.43169257044792175, -0.45638179779052734, -0.04013241082429886, 0.11704625189304352, -0.7197492718696594, -0.8486654162406921, -0.5481897592544556, -0.29381394386291504, -0.07611260563135147, 0.04400435462594032, 0.6789980530738831, 1.2722822427749634, -0.7687305212020874, -0.6602829098701477, -0.12496241927146912, 0.4182729125022888, -0.749353289604187, -0.1083609014749527, 0.0032002937514334917, -0.9833976030349731, -0.7704210877418518, 0.6675342321395874, 0.5359189510345459, -0.15437142550945282, -0.17159539461135864, 0.161993607878685, -0.5957580208778381, -0.10888101905584335, 0.5629260540008545, 0.24721397459506989, -0.30301040410995483, 0.10647042095661163, 0.19965150952339172, -0.28314247727394104, 0.1155458316206932, 1.13471257686615, -0.2015293538570404, 0.37239065766334534, 0.8023918867111206, 0.7599456310272217, 0.38654324412345886, -0.5499531030654907, 0.8521053791046143, -0.9988776445388794, 0.550754725933075, 0.3766356408596039, 0.3932786285877228, 0.35556718707084656, -0.3439003527164459, 0.19230350852012634, 0.3268698453903198, -0.5818421244621277, -0.549735963344574, 0.23373417556285858, -0.7564470767974854, -0.40345337986946106, 1.1360180377960205, -0.5184084177017212, -0.4364980161190033, -0.2570706009864807, 0.03129061684012413, -0.00679269153624773, -0.1572268009185791, 0.621674656867981, 0.7649507522583008, 0.0954262986779213, 0.18435823917388916, -0.5424899458885193, 0.3494831919670105, 0.7896092534065247, -0.6277788877487183, -0.2476140558719635, -0.0050170230679214, 0.20095102488994598, 0.35807451605796814, 0.36110952496528625, -0.06350129097700119, 0.4061584174633026, -0.0013946779072284698, 0.3303802013397217, -0.1478453427553177, -0.4559083580970764, -0.4982050955295563, 0.2751963138580322, 0.02263471856713295, 0.06866993010044098 ]
http://arxiv.org/abs/2404.11184v2
http://arxiv.org/pdf/2404.11184v2
FIZZ: Factual Inconsistency Detection by Zoom-in Summary and Zoom-out Document
2024-04-17T09:01:02
2024-04-18T03:57:17
Joonho Yang, Seunghyun Yoon, Byeongjeong Kim, Hwanhee Lee
cs.CL
cs.CL
Through the advent of pre-trained language models, there have been notable advancements in abstractive summarization systems. Simultaneously, a considerable number of novel methods for evaluating factual consistency in abstractive summarization systems has been developed. But these evaluation approaches incorporate substantial limitations, especially on refinement and interpretability. In this work, we propose highly effective and interpretable factual inconsistency detection method metric Factual Inconsistency Detection by Zoom-in Summary and Zoom-out Document for abstractive summarization systems that is based on fine-grained atomic facts decomposition. Moreover, we align atomic facts decomposed from the summary with the source document through adaptive granularity expansion. These atomic facts represent a more fine-grained unit of information, facilitating detailed understanding and interpretability of the summary's factual inconsistency. Experimental results demonstrate that our proposed factual consistency checking system significantly outperforms existing systems.
[ -0.504568874835968, -1.0007915496826172, 0.6822301745414734, -0.2665080726146698, -0.12643933296203613, 0.1614297330379486, -0.36096733808517456, -0.2579757869243622, 0.15502037107944489, 0.13873131573200226, -0.5822538137435913, -0.340778648853302, -0.6457607746124268, 0.3302187919616699, -0.3883642852306366, 1.2067615985870361, 0.026107216253876686, -0.16413936018943787, -0.49729815125465393, -0.33982717990875244, -0.3400910794734955, -0.16115407645702362, -0.12384814023971558, -0.1363658905029297, -0.13486410677433014, 0.9847428202629089, 1.127608060836792, 0.5245112776756287, 0.6117646098136902, 0.38967812061309814, -0.2582422196865082, 1.0010854005813599, -0.40691861510276794, -0.07166126370429993, -0.1765216737985611, -0.20216597616672516, -0.6076112985610962, -0.3710622787475586, 0.837218165397644, 0.5468855500221252, -0.13934502005577087, 0.1273031234741211, -0.1385156512260437, 0.6764882802963257, -0.7201008200645447, 0.4617294371128082, -0.6840528249740601, 0.18898864090442657, -0.22706612944602966, -0.1851649284362793, -0.35770758986473083, -0.38899633288383484, -0.18498417735099792, -0.5709003806114197, 0.6737369894981384, 0.08554635941982269, 1.0573194026947021, 0.22597771883010864, -0.20227350294589996, -0.5225042104721069, -0.6311010122299194, 0.25417017936706543, -0.9613158702850342, 0.3419302999973297, 0.14544665813446045, 0.08146549761295319, -0.29151666164398193, -0.5519936680793762, -1.0052180290222168, -0.20413243770599365, -0.2604351341724396, 0.12216982245445251, -0.07652167230844498, -0.05734122917056084, 0.25839629769325256, 0.6931453347206116, -0.4874390661716461, -0.17277756333351135, -0.2380421757698059, -0.4435969293117523, 0.5263938903808594, 0.2956554591655731, 0.4758166968822479, -0.02597193233668804, -0.093076191842556, 0.15046881139278412, -0.3700758218765259, -0.1646629273891449, 0.04062773287296295, 0.36093392968177795, -0.4990003705024719, 0.5335270762443542, -0.5731990933418274, 0.19543543457984924, 0.4470928907394409, -0.46705782413482666, 0.33220186829566956, -0.6557129621505737, -0.12984204292297363, 0.20661011338233948, 0.37545645236968994, 0.3705053925514221, 0.09066073596477509, -0.0371071957051754, -0.11548259854316711, -0.18943734467029572, 0.0763702392578125, -0.8145897388458252, -0.2768111526966095, 0.2651030123233795, -0.36952900886535645, -0.1615443229675293, 0.13450948894023895, -0.5491746068000793, -0.41419005393981934, -0.12708547711372375, 0.6653876900672913, -0.48105719685554504, -0.20029151439666748, 0.018692992627620697, -0.1692599654197693, -0.39051154255867004, 0.5632150769233704, -1.0237079858779907, 0.2531096339225769, 0.8159887790679932, 1.016908884048462, 0.0018417026149109006, -0.24110178649425507, -0.5707820057868958, -0.06682337075471878, -0.45325642824172974, 1.1199167966842651, -0.22424300014972687, -0.2271670550107956, 0.05087963119149208, -0.04946945607662201, 0.11125272512435913, -0.8127896189689636, 0.5774271488189697, -0.4773304760456085, -0.16074852645397186, -0.18853510916233063, -0.8143681287765503, -0.3122329115867615, 0.47575220465660095, -0.41737258434295654, 0.7340179681777954, 0.11595983058214188, -0.821042001247406, 0.6484182476997375, -0.6244753003120422, -0.22832517325878143, 0.05628473684191704, -0.16655544936656952, -0.6710940599441528, 0.31710678339004517, 0.07838855683803558, 0.14155341684818268, 0.20882168412208557, 0.3221528232097626, -0.3137054443359375, -0.5441495180130005, 0.29358023405075073, -0.5967289805412292, 0.3422795236110687, 0.1581522524356842, -0.21299795806407928, 0.10266061127185822, -0.8750005960464478, -0.2683308720588684, -0.22807274758815765, -0.5773401260375977, 0.11890542507171631, 0.14374716579914093, -0.32842743396759033, -0.1308644860982895, 0.3555939793586731, -0.41142183542251587, 0.07948735356330872, -0.24359238147735596, -0.13217708468437195, 0.3655501902103424, 0.23956707119941711, 0.30547454953193665, -0.4214819371700287, -0.02295053005218506, 0.2143816351890564, -0.06428657472133636, -0.5860562324523926, -0.18742048740386963, -0.9576794505119324, -0.43631917238235474, 0.3175686299800873, 0.44733017683029175, -0.5910392999649048, 0.5656524300575256, -0.6767526865005493, -0.412647008895874, 0.09981460124254227, -0.02527148835361004, 0.19446711242198944, 0.7827303409576416, 0.4552237093448639, -0.20845168828964233, -0.2647981345653534, -0.715987503528595, -0.3295150399208069, -0.23211409151554108, 0.07940032333135605, -0.10209168493747711, 0.6387543082237244, -0.3342438042163849, 0.9910013675689697, -0.5348355770111084, -0.1288323551416397, 0.08856955170631409, 0.5266850590705872, 0.14461016654968262, 0.5188779234886169, 0.12053211033344269, -0.6707242131233215, -0.4281826913356781, 0.1680895835161209, -0.7418220043182373, -0.07299260795116425, -0.26789888739585876, 0.23018580675125122, 0.3897934556007385, 0.6203081607818604, -0.618127703666687, 0.7335314154624939, 0.04653547331690788, -0.3095969259738922, 0.8485962748527527, -0.595600962638855, 0.39572980999946594, -0.37400972843170166, -0.05923275649547577, -0.3274262845516205, -0.6425774097442627, -0.5242220759391785, 0.0679277554154396, 0.34094440937042236, 0.09485886245965958, -0.13092489540576935, 0.18860185146331787, -0.25839465856552124, -0.0013586949789896607, -0.5230711102485657, 0.268551766872406, 0.013384891673922539, 0.33544009923934937, -0.01873156614601612, 0.8661803603172302, 0.12278082221746445, -0.7674055695533752, 0.0947098657488823, 0.4365546405315399, -0.4578477442264557, 0.7367038726806641, -0.18825869262218475, -0.2736367881298065, -0.11135808378458023, 0.41541895270347595, -1.2390291690826416, -0.5297523736953735, 0.2918471693992615, -0.6346107125282288, 0.39134520292282104, -0.01834721863269806, -0.5649311542510986, 0.179602712392807, -0.4780988395214081, 0.26700830459594727, 0.09039867669343948, -0.47490036487579346, 0.6379244327545166, 0.2329246699810028, -0.28163155913352966, -0.3946027457714081, -0.40048739314079285, 0.0003827273612841964, 0.16561302542686462, -0.6506944298744202, 0.03740378096699715, -0.1295580416917801, -0.46804079413414, 0.09537975490093231, -0.5810466408729553, -0.4062028229236603, 0.0036986907944083214, 0.18893153965473175, 0.20375992357730865, -0.38873884081840515, 0.35407376289367676, 0.11761052161455154, -0.1600397527217865, -0.08287905156612396, 0.17393869161605835, 0.18755434453487396, -0.25885722041130066, -0.2788136899471283, -0.6123911142349243, 0.13654188811779022, 0.859154224395752, 0.1274862140417099, 0.5033164620399475, 0.5525813102722168, -0.38529929518699646, 0.1148511990904808, -0.5548866391181946, -0.049863968044519424, -0.44069525599479675, 0.3742242753505707, -0.17760194838047028, -0.6715291142463684, 0.5038816332817078, -0.2598784267902374, 0.053031712770462036, 0.6312803030014038, 0.4990646541118622, -0.08566038310527802, 0.6541344523429871, 0.5582316517829895, 0.11682431399822235, 0.13068783283233643, -0.054575495421886444, 0.3045385777950287, -0.5683954358100891, -0.1366133689880371, -0.39251992106437683, -0.0037696899380534887, -0.31755128502845764, -0.31098058819770813, 0.7047469019889832, 0.002404106082394719, -0.36122390627861023, -0.2399154007434845, 0.06133393943309784, 0.6496159434318542, 0.061371609568595886, 0.05058278515934944, 0.6906337141990662, 0.07690553367137909, -0.112165667116642, 0.06876236200332642, -0.5344918966293335, -0.35880425572395325, 0.6034249663352966, 0.2951407730579376, 0.3245182931423187, 0.3563205599784851, 0.2497374564409256, 0.7377740144729614, 0.3398808538913727, -0.7980037331581116, 0.24130703508853912, -0.058356426656246185, -0.9072980880737305, -0.4019972085952759, -0.3841876685619354, -0.22970706224441528, 0.4994230568408966, -0.6270421743392944, -0.6317656636238098, 0.2228170931339264, 0.045206159353256226, -0.5697489380836487, 0.4305410087108612, -0.6315096616744995, 0.6106629371643066, 0.2771134078502655, -0.08778148889541626, -0.4457962214946747, -0.49836599826812744, 0.5272746086120605, -0.1730440855026245, 0.6388131976127625, -0.257167786359787, 0.008695618249475956, 0.32769501209259033, -1.104387640953064, 0.5038829445838928, 0.038097530603408813, -0.16346772015094757, 0.1926548182964325, 0.2935568392276764, 0.4860348403453827, 0.43877431750297546, -0.05295952409505844, 0.3114318251609802, -0.18912597000598907, -0.2410999983549118, -0.6378675103187561, 0.3929694890975952, -0.39138221740722656, -0.45471101999282837, -0.5851752758026123, -0.8285121917724609, -0.15951505303382874, 0.2860560715198517, 0.3965759873390198, 0.8273336291313171, -0.0324183851480484, -0.002910678507760167, 0.6171333193778992, 0.2950439155101776, 0.4220203459262848, 0.8887050151824951, -0.13861264288425446, -0.310848206281662, 0.8402497172355652, 0.30949124693870544, 0.21388745307922363, 0.32008180022239685, 0.06828431040048599, -0.1105189174413681, -0.7451207041740417, -0.6591811776161194, 0.2018233984708786, -0.7094929218292236, -0.39300039410591125, -0.5383689403533936, -0.16178147494792938, -0.3991221487522125, -0.2591324746608734, -0.45147183537483215, -0.43222761154174805, -0.10628503561019897, 0.10204433649778366, 0.21031971275806427, 0.7291598916053772, -0.47154146432876587, 0.2926812469959259, -1.1014013290405273, 0.4687928259372711, 0.05629105493426323, 0.20207135379314423, -0.009898701682686806, -0.8249773979187012, -0.5796695947647095, 0.018003523349761963, -0.4545682966709137, -0.6012843251228333, 0.015367514453828335, 0.2929215431213379, 0.032037340104579926, 0.7799066305160522, 0.06466798484325409, 0.848116397857666, -0.5222864151000977, 0.7770660519599915, 0.03507259860634804, -1.3332716226577759, 0.22154048085212708, -0.21092639863491058, 0.2958538830280304, 0.8992485404014587, 0.20057053864002228, -0.44312620162963867, -0.3962912857532501, -0.8168944716453552, -0.7810502648353577, 0.762759804725647, 0.11986701935529709, -0.10796897858381271, 0.05746890977025032, 0.4228106439113617, 0.26158127188682556, 0.17782911658287048, -0.1339297741651535, -0.34096506237983704, 0.21414220333099365, -0.10702583193778992, 0.02860700711607933, -0.49863582849502563, -0.031007355079054832, -0.08448230475187302, 0.8881464004516602, -0.17662104964256287, -0.23310217261314392, 0.41326943039894104, -0.21028365194797516, -0.17485201358795166, 0.1708381325006485, 0.8465743660926819, 0.975105345249176, -0.44880586862564087, 0.20151852071285248, 0.6408436894416809, -0.7308878898620605, 0.036810606718063354, -0.2305418998003006, -0.4130908250808716, 0.41606006026268005, 0.6637591123580933, 0.292808473110199, 0.5464205741882324, -0.7491874694824219, 0.6199502944946289, -0.12905801832675934, 0.06572996824979782, -0.22474664449691772, 0.2043064683675766, -0.2205076962709427, 0.17222648859024048, 0.2901821434497833, 0.5730699896812439, 0.5059735774993896, -0.7592714428901672, 0.4068801701068878, 0.2420499473810196, -0.23413896560668945, -0.1709960401058197, 0.20541362464427948, 0.15870098769664764, -0.09244907647371292, 0.43700629472732544, -0.5808213353157043, -0.5704492330551147, 0.45849186182022095, 0.2912448048591614, 0.5029042959213257, 0.0990033894777298, 0.3006516098976135, 0.3370664715766907, 0.22419129312038422, -0.07589499652385712, 0.1034170612692833, -0.4568973779678345, -0.9125141501426697, -0.1844317466020584, -0.07822473347187042, -0.7594825625419617, -0.003605789737775922, -0.5294750332832336, 0.24205933511257172, -0.4319751262664795, 0.15484461188316345, 0.22883647680282593, 0.1743156611919403, -0.09610803425312042, 0.4061897099018097, 0.10546185076236725, 0.9291145205497742, -0.829181969165802, 0.36939024925231934, 0.49769580364227295, -0.36125126481056213, -0.5427637100219727, 0.4380147159099579, 0.43753525614738464, -0.4246097505092621, 0.5393943786621094, 0.002035134471952915, -0.39249587059020996, -0.4699048697948456, -0.4195878207683563, -0.7869552969932556, 0.8002637028694153, 0.28029611706733704, -0.132050022482872, 0.457724392414093, -0.10199781507253647, 0.18611222505569458, -0.17169301211833954, 0.5882622003555298, 0.8340600728988647, 0.6548645496368408, 0.05935204401612282, -1.049865961074829, -0.11081095039844513, -0.08026683330535889, -0.44096627831459045, 0.22899217903614044, -0.7544649839401245, 0.8962491154670715, -0.32776832580566406, -0.5701157450675964, 0.05609513074159622, 0.9974137544631958, 0.15707869827747345, 0.8265241980552673, 0.4476594924926758, 0.5984757542610168, 1.2706935405731201, -0.1286323219537735, 0.7240570187568665, -0.21159720420837402, 0.7426344156265259, 1.2794973850250244, -0.16799674928188324, 0.7663900852203369, 0.04590913653373718, -0.23335561156272888, 0.6282833218574524, 0.29095253348350525, 0.08491606265306473, 0.22840073704719543, -0.22999021410942078, -0.5157375335693359, -0.29594066739082336, -0.05895966663956642, -0.39138489961624146, 0.5764508247375488, 0.45859774947166443, 0.29748791456222534, -0.6772620677947998, -0.4714522659778595, 0.41386058926582336, 0.2079581320285797, -0.4359559416770935, 0.6626009345054626, -0.4413015842437744, -0.315884530544281, 0.5990239381790161, -0.0046465895138680935, 0.6861867308616638, -0.46808913350105286, -0.18251000344753265, -0.302924782037735, 0.309315949678421, -0.6830824613571167, -0.6379026174545288, 0.41373395919799805, 0.1808737963438034, -0.45297154784202576, 0.6367954015731812, 0.7349406480789185, -0.3709072470664978, -0.2939998507499695, -0.4496268630027771, 0.1927269995212555, 0.26408037543296814, 0.03316438943147659, -0.11257445812225342, 0.33907583355903625, -0.07653222978115082, 0.35204142332077026, -0.010992861352860928, 0.7840477228164673, 0.17043234407901764, 0.5827044248580933, 0.6020833253860474, 0.03082359954714775, -0.276203453540802, -0.3486475944519043, 0.6631679534912109, -0.3588104248046875, -0.680632472038269, -0.9758293628692627, 0.5370847582817078, -0.34871745109558105, -0.28522539138793945, 0.9903303384780884, 0.8865499496459961, 0.6073512434959412, -0.14659370481967926, 0.7268767952919006, 0.05923859030008316, 0.4655713737010956, -0.5620219707489014, 0.7317366003990173, -0.3615266680717468, 0.223796084523201, 0.0733024924993515, -0.5369113683700562, -0.37181010842323303, 0.41877609491348267, -0.14655925333499908, -0.23340676724910736, 0.8709455132484436, 0.7714247703552246, -0.20726251602172852, 0.2703288197517395, 0.24371139705181122, 0.5225871801376343, 0.2604503631591797, -0.04500982165336609, 0.7021745443344116, -0.5037112236022949, 0.18628519773483276, 0.03976671025156975, -0.360177606344223, -0.8192691206932068, -0.9943118691444397, -0.318482905626297, -0.4005579650402069, -0.7082349061965942, -0.34607088565826416, -0.24069249629974365, 0.8239652514457703, 0.6969215273857117, -1.071797251701355, 0.056033406406641006, -0.023955412209033966, 0.4802248179912567, -0.03621980547904968, -0.2827613949775696, 0.3646441400051117, -0.8180975317955017, -0.5030667781829834, 0.30539944767951965, 0.6984321475028992, -0.17501746118068695, 0.08658697456121445, 0.09327751398086548, -0.1389315128326416, 0.5137757658958435, 0.4624774754047394, 0.43764686584472656, -0.4574136734008789, -0.5691657066345215, -0.6489126682281494, 0.17072421312332153, 0.30663198232650757, 0.6591656804084778, -0.3950687348842621, 0.7162161469459534, 0.5802041292190552, 0.5059597492218018, 0.19702675938606262, 0.32669079303741455, -0.04948483780026436, -0.4762054979801178, 0.06549380719661713, -0.26661819219589233, 0.3456794321537018, 0.2489165961742401, -0.5813966989517212, 0.42171332240104675, 0.30531057715415955, -0.6932793855667114, -0.7350499033927917, -0.013623191975057125, -1.025507926940918, -0.14676329493522644, 0.7973337769508362, -0.26634126901626587, -0.16759292781352997, -0.38223379850387573, -0.2607307732105255, 0.2758198380470276, -0.4167029857635498, 0.9820988178253174, 0.856364905834198, -0.47003769874572754, 0.45238471031188965, -0.2894931733608246, 0.4851510226726532, 0.22057071328163147, -0.7568793296813965, 0.21583157777786255, 0.7398695349693298, 0.43425261974334717, 0.6749641299247742, 0.650292694568634, -0.18416844308376312, 0.5739633440971375, 0.26520493626594543, -0.23743711411952972, -0.22892338037490845, -0.35712409019470215, -0.38096344470977783, 0.16719412803649902, -0.05630190670490265, -0.16010181605815887 ]
http://arxiv.org/abs/2404.11141v1
http://arxiv.org/pdf/2404.11141v1
Context-Aware Siamese Networks for Efficient Emotion Recognition in Conversation
2024-04-17T07:36:40
2024-04-17T07:36:40
Barbara Gendron, Gaël Guibon
cs.CL
cs.CL
The advent of deep learning models has made a considerable contribution to the achievement of Emotion Recognition in Conversation (ERC). However, this task still remains an important challenge due to the plurality and subjectivity of human emotions. Previous work on ERC provides predictive models using mostly graph-based conversation representations. In this work, we propose a way to model the conversational context that we incorporate into a metric learning training strategy, with a two-step process. This allows us to perform ERC in a flexible classification scenario and to end up with a lightweight yet efficient model. Using metric learning through a Siamese Network architecture, we achieve 57.71 in macro F1 score for emotion classification in conversation on DailyDialog dataset, which outperforms the related work. This state-of-the-art result is promising regarding the use of metric learning for emotion recognition, yet perfectible compared to the microF1 score obtained.
[ -0.47996941208839417, -0.4558830261230469, 0.3172392249107361, 0.16212508082389832, -0.3522375524044037, -0.10857278108596802, -0.19130615890026093, -0.4478321969509125, 0.5009780526161194, 0.13466589152812958, -0.7276763916015625, -0.7112305760383606, -0.378677099943161, 0.09846196323633194, 0.02116602286696434, 0.9758609533309937, -0.26007768511772156, 0.1227225512266159, 0.0849972516298294, -0.6984975337982178, -0.32871145009994507, -0.6007239818572998, -0.9316832423210144, -0.2700357735157013, 0.5772119164466858, 0.7553779482841492, 0.0007491070427931845, 0.08537551015615463, 0.37984928488731384, 0.3120119571685791, -0.15201249718666077, 0.25194376707077026, -0.6325538754463196, 0.22923877835273743, 0.4621765613555908, -0.5236973762512207, -0.6785001158714294, 0.03668275848031044, 0.4334772825241089, 0.35148632526397705, -0.246555894613266, -0.13913901150226593, 0.07461127638816833, 0.7704584002494812, -0.5353155136108398, 0.3646419942378998, -0.5587501525878906, 0.7054808735847473, 0.2676486670970917, -0.2907414138317108, -0.37278831005096436, -0.20369119942188263, 0.24985159933567047, -0.21799573302268982, -0.09277640283107758, 0.09853822737932205, 0.43354490399360657, 0.04091301187872887, -0.659197211265564, -0.2605884075164795, -0.5421715378761292, 0.43191391229629517, -0.43520575761795044, 0.4438443183898926, 0.11660154163837433, 0.4753876030445099, 0.24353407323360443, -0.4359871745109558, -0.4533882141113281, -0.004668612498790026, 0.05176396295428276, 0.3707255423069, -0.14642159640789032, 0.11988777667284012, 0.23580528795719147, 0.05307420715689659, -0.47543278336524963, 0.2509707808494568, -0.1769491583108902, 0.048458922654390335, 0.3928728699684143, 0.6255833506584167, -0.06015291437506676, -0.30555182695388794, -0.3743361234664917, -0.023460624739527702, -0.4952743947505951, 0.12269610911607742, 0.08891197293996811, 0.2771531641483307, -0.19707031548023224, 0.08735013008117676, -0.37833330035209656, 0.07205688953399658, -0.19178731739521027, 0.24270550906658173, 0.21753354370594025, -0.1199098452925682, -0.21427279710769653, 0.21421292424201965, 0.8550952672958374, 0.4319952130317688, 0.32172396779060364, 0.18815265595912933, -0.0815892368555069, -0.09720917791128159, 0.27860116958618164, -1.0774803161621094, -0.07546672970056534, 0.15173734724521637, -0.2652312219142914, -0.39877673983573914, 0.038634758442640305, -0.9112260937690735, -0.2589845657348633, -0.21144647896289825, 0.10533485561609268, -0.1612057387828827, -0.2903411388397217, -0.005025722086429596, 0.35246407985687256, -0.08681663870811462, 0.5647923946380615, -0.5867481827735901, 0.4541093409061432, 0.5637999773025513, 1.1523633003234863, 0.17698459327220917, 0.2045053392648697, -0.3675558567047119, -0.3891409635543823, -0.39128702878952026, 0.4657684564590454, -0.4345687925815582, -0.5728359818458557, -0.003192601725459099, -0.060269638895988464, -0.059427063912153244, -0.3500668406486511, 0.5431211590766907, -0.3900347650051117, 0.1950227916240692, 0.07353302091360092, -0.3036549687385559, -0.34306037425994873, 0.403103768825531, -0.5285698771476746, 0.7251417636871338, -0.10553249716758728, -1.0348156690597534, 0.15154540538787842, -0.8284581303596497, -0.39466696977615356, -0.11138418316841125, 0.12126339972019196, -0.5459679365158081, 0.22185353934764862, 0.0142874326556921, 0.9030100107192993, 0.02653496526181698, 0.06010998785495758, -0.7179124355316162, -0.22397266328334808, 0.32039040327072144, -0.31510400772094727, 0.3589054048061371, 0.33841943740844727, -0.45429766178131104, -0.15070794522762299, -0.7074121236801147, -0.01826471835374832, -0.03499327227473259, -0.1535516232252121, -0.34703442454338074, -0.12209419161081314, -0.1913866251707077, 0.33282020688056946, -0.2198120504617691, -0.5960214138031006, -0.17288008332252502, -0.22697849571704865, 0.31990310549736023, 0.8761158585548401, -0.09249760955572128, 0.4256630837917328, 0.34232836961746216, 0.35521194338798523, 0.5406885147094727, -0.20198877155780792, -0.06380565464496613, -0.15852829813957214, -1.2011233568191528, -0.11319627612829208, 0.17600834369659424, 0.633622407913208, -0.35720500349998474, 0.5831655859947205, -0.33697494864463806, -0.545315146446228, -0.3353224992752075, -0.09418191760778427, 0.2961053252220154, 0.7713345289230347, 0.04503188654780388, -0.44004473090171814, -0.618285596370697, -0.599571943283081, 0.07626847177743912, -0.2556796371936798, 0.03447437286376953, 1.1467176675796509, 0.41643577814102173, -0.21110060811042786, 0.8506330251693726, -0.5251154899597168, -0.27303534746170044, -0.2358303964138031, 0.6307883262634277, -0.17440380156040192, 0.570030689239502, 0.28659096360206604, -0.8593376278877258, -0.653791606426239, 0.23947374522686005, -0.783164918422699, -0.06335318088531494, 0.2118745744228363, -0.15227992832660675, 0.2839072644710541, 0.4404068887233734, -0.17144188284873962, 0.5339518785476685, 0.22919915616512299, -0.049266960471868515, 0.23717950284481049, 0.009127653203904629, 0.22170224785804749, -1.091424584388733, -0.027414245530962944, 0.38737952709198, -0.6248506307601929, -0.860194981098175, -0.7450202703475952, 0.012269645929336548, -0.4073795974254608, -0.5310129523277283, 0.5619619488716125, -0.09245602786540985, -0.07646150141954422, 0.05820772051811218, 0.1175508052110672, -0.15880869328975677, 0.8334188461303711, 0.39838871359825134, 0.3237461447715759, 0.4270590841770172, -0.6917046308517456, 0.31966131925582886, 0.1285274624824524, -0.4088146984577179, 0.9764270782470703, -0.42898857593536377, 0.3956213891506195, -0.25522544980049133, 0.7248602509498596, -0.916041910648346, -0.21486549079418182, 0.2835162281990051, -0.45152366161346436, 0.3192020356655121, 0.23309528827667236, -0.20551951229572296, -0.11237689107656479, 0.032258737832307816, 0.3096042573451996, 0.38277387619018555, -0.669796347618103, 0.6922508478164673, 0.2962490916252136, -0.22221636772155762, -0.10509438067674637, -0.625427782535553, -0.07196889072656631, -0.5560962557792664, -0.3768673539161682, -0.23938360810279846, 0.07856319099664688, 0.17082616686820984, -0.3285188674926758, -0.10620997101068497, -0.19313472509384155, 0.2822595536708832, 0.4606989622116089, -0.036752454936504364, -0.15755492448806763, 0.4189051687717438, -0.19510594010353088, -0.28942567110061646, 0.10415909439325333, -0.06963471323251724, 0.34307554364204407, -0.36993494629859924, -0.06008533015847206, -0.8922328948974609, 0.5045525431632996, 0.5869703888893127, -0.2199372798204422, 0.6187620162963867, 0.9032239317893982, -0.5844860672950745, -0.08605177700519562, -0.3068091869354248, -0.25517722964286804, -0.385564923286438, 0.7550771236419678, -0.5304610729217529, -0.9980982542037964, 0.6627782583236694, -0.5017222166061401, -0.12142754346132278, 0.19055378437042236, 0.3689211905002594, -0.1575148105621338, 1.501589298248291, 0.6110979318618774, -0.22007539868354797, 0.7649389505386353, -0.24847999215126038, 0.46875324845314026, -0.992431104183197, -0.2879651188850403, -0.6453192830085754, -0.5223797559738159, -0.44536009430885315, -0.3717012405395508, 0.5900212526321411, -0.1527179479598999, -0.47215381264686584, 0.2197558730840683, -0.03561766445636749, 0.30810481309890747, -0.12071051448583603, 0.3408385217189789, -0.09854476153850555, -0.018201984465122223, -0.1142999529838562, -0.23954463005065918, -0.716465175151825, -0.42387548089027405, 0.7157159447669983, 0.6864736080169678, 0.6249503493309021, -0.06242292746901512, 0.7761366367340088, -0.07794982939958572, 0.6347301006317139, -0.8544110655784607, 0.7517343759536743, -0.10664049535989761, -0.41006481647491455, -0.09759107977151871, -1.0038954019546509, -0.43337324261665344, 0.10580799728631973, -0.09596016258001328, -1.4154633283615112, 0.05775296315550804, -0.06848947703838348, -0.23785850405693054, 0.3049871325492859, -0.6812779903411865, 1.1278940439224243, -0.16592265665531158, -0.062170278280973434, -0.4635236859321594, -0.7176200151443481, 0.19197115302085876, 0.18311581015586853, -0.046796899288892746, -0.449480265378952, 0.12688323855400085, 0.7764165997505188, -0.2790164053440094, 0.9172280430793762, -0.2677995562553406, 0.2750394344329834, 0.1982797086238861, 0.34270861744880676, 0.4234902262687683, 0.3388085663318634, -0.08072362840175629, 0.13792629539966583, -0.6253153085708618, -0.039076853543519974, -0.9145817756652832, 0.3651820123195648, -0.509425699710846, -0.17434129118919373, -0.09895913302898407, -0.1349576860666275, -0.3102372884750366, -0.21735058724880219, -0.017762016505002975, 0.6977542042732239, -0.6427628993988037, 0.3837677240371704, 0.6973989605903625, 0.047038037329912186, 0.1831190437078476, 0.48475226759910583, 0.1753281056880951, -0.34159284830093384, 0.911543071269989, -0.1632058024406433, 0.20641204714775085, 0.4860239326953888, 0.14620327949523926, -0.2626859247684479, 0.2285533994436264, -0.24073255062103271, -0.17994238436222076, -0.8240680694580078, -0.420573353767395, -0.9634750485420227, -0.08825075626373291, -0.20445504784584045, -0.11700605601072311, -0.518584668636322, -0.1835823953151703, -0.7777791023254395, -0.2719117999076843, 0.22662833333015442, 0.5849939584732056, 0.02728213183581829, 0.21426010131835938, -0.6376590728759766, -0.18104781210422516, 0.579857349395752, 0.5934811234474182, 0.2735866904258728, -0.33470776677131653, -0.2058010846376419, 0.15670424699783325, -0.2512636184692383, -0.8130955696105957, 0.3649832010269165, 0.6199688911437988, -0.11130349338054657, 0.8031784892082214, 0.2405185103416443, 0.7490253448486328, -0.5557491779327393, 0.34104636311531067, 0.4940395653247833, -1.057414174079895, 0.4699859321117401, 0.14491797983646393, 0.08552885800600052, 0.6083014607429504, 0.6650103330612183, -0.8865386843681335, -0.07112053781747818, -0.6923767924308777, -0.6369365453720093, 0.8239877820014954, 0.03194129467010498, 0.31305772066116333, 0.12382442504167557, 0.22123125195503235, -0.1840280443429947, 0.16695183515548706, -0.5451735854148865, 0.18101240694522858, -0.11613067984580994, -0.6087562441825867, -0.19747745990753174, -0.19694973528385162, -0.0744737908244133, -0.17982497811317444, 0.40766075253486633, -0.5708502531051636, 0.536168098449707, 0.25603172183036804, -0.04417261853814125, 0.0194663368165493, 0.1938471645116806, 0.44736966490745544, -0.21612532436847687, -0.36812105774879456, -0.027742715552449226, 0.5772100687026978, 0.011558661237359047, 0.10146329551935196, -0.221635103225708, 0.5212203860282898, -0.03035990707576275, -0.08868291229009628, 1.5164616107940674, 0.5924283862113953, -0.5513641238212585, 0.5508180856704712, -0.4025532901287079, -0.10020813345909119, -0.1339913010597229, -0.03215827792882919, 0.07583928108215332, 0.47755900025367737, -0.12946635484695435, 0.04515137895941734, 0.3427247405052185, -0.5462977290153503, 0.12995098531246185, 0.3713264465332031, -0.9615046381950378, -0.38402289152145386, 0.3250727951526642, 0.518267810344696, -0.37271150946617126, 0.5758572816848755, -0.42332398891448975, -1.2868255376815796, 0.6582345366477966, 0.3090335428714752, 1.1861720085144043, -0.16403143107891083, 0.32098644971847534, 0.5615302920341492, -0.3378197252750397, 0.13761180639266968, 0.04980945959687233, -0.49491074681282043, -0.7211513519287109, 0.3549681603908539, -0.47276782989501953, -0.7587689161300659, -0.4451468586921692, -0.5520986914634705, 0.22130995988845825, -0.5566404461860657, -0.11688762158155441, -0.15184444189071655, 0.12524379789829254, -0.9270836710929871, 0.4280262589454651, 0.4241740107536316, 0.7642242312431335, -0.9612104296684265, 0.49109750986099243, 0.6085500717163086, 0.11974332481622696, -0.8627309799194336, -0.23717667162418365, 0.15250501036643982, -0.35676220059394836, 0.7031767964363098, 0.9584862589836121, -0.20309005677700043, -0.044930350035429, -0.43048039078712463, -0.19280491769313812, 1.0463050603866577, -0.016147831454873085, -0.3171364367008209, 0.32681339979171753, -0.11138851940631866, 0.7620781064033508, -1.0846271514892578, 0.686214804649353, 0.40569236874580383, 0.06863077729940414, 0.222432479262352, -0.586252748966217, -0.17810292541980743, -0.3168151378631592, 0.118033766746521, 0.10935843735933304, -0.8333889245986938, 0.41733935475349426, -0.030842076987028122, -0.46903181076049805, -0.2656170129776001, 0.8162387013435364, -0.05990922078490257, 0.4429469108581543, 0.8704701066017151, 0.5500675439834595, 0.8235227465629578, -0.21696533262729645, 0.5975798964500427, -0.08335991948843002, 0.5455039143562317, 0.6965262293815613, -0.4762290418148041, 1.0213350057601929, -0.026301216334104538, 0.013374879024922848, 0.6140086650848389, 0.9450129866600037, 0.5458504557609558, 0.2889077961444855, 0.20933830738067627, -0.451010137796402, -0.2985149025917053, -0.35277995467185974, 0.10306117683649063, 0.6355453133583069, 0.5080054402351379, -0.08436403423547745, -0.06143956258893013, 0.1131000816822052, 0.20163565874099731, -0.45837879180908203, -0.440421462059021, 1.2111485004425049, 0.31539222598075867, -0.4074629843235016, 0.2965880334377289, -0.2875363230705261, 0.6403814554214478, -0.418429434299469, 0.15211619436740875, -0.34231436252593994, 0.20578862726688385, -0.2879037857055664, -0.4863559901714325, 0.14769107103347778, 0.39836108684539795, 0.12280245125293732, -0.1947883516550064, 0.5857101082801819, -0.6967122554779053, -0.3407153785228729, 0.27408385276794434, 0.10231006890535355, 0.37291839718818665, -0.0923357680439949, -0.5103438496589661, -0.17906345427036285, -0.2047901153564453, -0.4244157075881958, 0.2178076058626175, 0.8456879258155823, 0.24874086678028107, 0.6941294074058533, 0.12567102909088135, -0.2560821771621704, -0.2788115441799164, 0.10249579697847366, 0.6753373742103577, -0.5853183269500732, -0.9785333871841431, -0.502998411655426, 0.6982280015945435, -0.2073206901550293, -0.3756257891654968, -0.059452302753925323, 0.10183422267436981, 0.5404765009880066, 0.2692810595035553, 0.3695327341556549, 0.04899154230952263, 0.34704580903053284, -0.36774611473083496, 0.5320523977279663, -0.9624869227409363, -0.1285582184791565, -0.3394836485385895, -0.5872336626052856, -0.3275262713432312, 0.8030685782432556, -0.009565058164298534, 0.15955404937267303, 0.6675513982772827, 0.6905368566513062, -0.1777457594871521, 0.5359477400779724, 0.18147526681423187, 0.05661540478467941, 0.32097578048706055, 1.011979103088379, 0.4237661361694336, -0.19369950890541077, 0.3220589756965637, -0.3625071346759796, -0.18850241601467133, -0.6173607110977173, -0.9917675256729126, -0.7189779877662659, -0.7012327313423157, -0.3553721308708191, -0.22789715230464935, -0.10157493501901627, 1.053507685661316, 0.7984978556632996, -0.7176703214645386, -0.06818126887083054, -0.177604541182518, 0.09511507302522659, 0.15503747761249542, -0.2080366611480713, 0.06375329196453094, -0.32164904475212097, -0.7555869221687317, -0.08531689643859863, 0.5958413481712341, 0.14903025329113007, -0.1908348798751831, -0.34881553053855896, 0.07862263172864914, -0.024706073105335236, 0.3678925037384033, 0.23742301762104034, -0.2362954169511795, -0.43697530031204224, -0.2222844809293747, -0.3486606776714325, 0.37698641419410706, 1.0166088342666626, -0.5352886915206909, 0.6576670408248901, 0.4171990156173706, 0.7544722557067871, 0.49317577481269836, -0.008483241312205791, 0.6071912050247192, -0.9367661476135254, 0.32664602994918823, 0.4011787474155426, 0.5249387621879578, 0.5511000752449036, -0.3094015419483185, 0.5197507739067078, 0.15485255420207977, -0.5428943634033203, -0.8276273608207703, 0.36542457342147827, -0.8934141993522644, 0.3136042356491089, 0.8292020559310913, -0.6223785281181335, -0.29406464099884033, 0.3860493302345276, -0.2232624590396881, 0.37907370924949646, -0.48980218172073364, 0.6604032516479492, 0.604939341545105, -0.13641144335269928, -0.2782612442970276, -0.35780975222587585, 0.19710130989551544, 0.5977399349212646, -0.9828737378120422, 0.08025869727134705, 0.3168330192565918, 0.027420232072472572, 0.07036533951759338, 0.7086467742919922, 0.1313207894563675, 0.13899339735507965, -0.0496789924800396, -0.1318662017583847, 0.18966461718082428, -0.6914458870887756, -0.5990893840789795, 0.08243055641651154, -0.4029662013053894, -0.18521617352962494 ]
http://arxiv.org/abs/2404.11132v1
http://arxiv.org/pdf/2404.11132v1
A Novel ICD Coding Framework Based on Associated and Hierarchical Code Description Distillation
2024-04-17T07:26:23
2024-04-17T07:26:23
Bin Zhang, Junli Wang
cs.CL
cs.CL
ICD(International Classification of Diseases) coding involves assigning ICD codes to patients visit based on their medical notes. ICD coding is a challenging multilabel text classification problem due to noisy medical document inputs. Recent advancements in automated ICD coding have enhanced performance by integrating additional data and knowledge bases with the encoding of medical notes and codes. However, most of them ignore the code hierarchy, leading to improper code assignments. To address these problems, we propose a novel framework based on associated and hierarchical code description distillation (AHDD) for better code representation learning and avoidance of improper code assignment.we utilize the code description and the hierarchical structure inherent to the ICD codes. Therefore, in this paper, we leverage the code description and the hierarchical structure inherent to the ICD codes. The code description is also applied to aware the attention layer and output layer. Experimental results on the benchmark dataset show the superiority of the proposed framework over several state-of-the-art baselines.
[ -0.25152388215065, -0.3003953993320465, 0.40880829095840454, 0.18191178143024445, -0.3553440570831299, 0.4245753884315491, 0.20882445573806763, -0.4137706160545349, -0.018791336566209793, 0.02188587188720703, -0.31070953607559204, -0.6728863716125488, -0.6387048363685608, -0.1116747185587883, -0.09752777218818665, 1.2073665857315063, -0.2590722441673279, 0.16657176613807678, -0.22676388919353485, -0.17729324102401733, -0.2865467071533203, -0.9012539982795715, -0.4905051290988922, -0.4006688594818115, 0.18510326743125916, 0.2972610890865326, 0.3129945695400238, 0.8660064935684204, 0.9048454165458679, 0.2301824986934662, -0.06153823062777519, 0.1773393154144287, -0.005586730781942606, -0.248449444770813, 0.03240359202027321, -0.024699335917830467, -0.8929187059402466, -0.45384883880615234, 0.3754783272743225, 0.6176803112030029, -0.5728568434715271, 0.1731823831796646, 0.23559090495109558, 0.6677600145339966, -0.5496385097503662, 0.4948135316371918, -0.21554754674434662, 0.23489542305469513, 0.02104574255645275, -0.570523738861084, -0.31839892268180847, -0.09242545068264008, -0.03813311085104942, -0.4033142924308777, -0.08496109396219254, 0.06748960167169571, 0.5106685757637024, 0.5299661159515381, -0.38370904326438904, -0.49509772658348083, -0.5983076691627502, 0.10829903185367584, -0.4854530096054077, 0.08505003154277802, 0.30348366498947144, 0.4273456931114197, 0.22347456216812134, -0.6934894323348999, -0.41987693309783936, 0.19737105071544647, -0.1806076169013977, 0.12687593698501587, -0.11133307963609695, 0.34612759947776794, 0.11310764402151108, 0.7490400075912476, -0.31565773487091064, 0.005017272662371397, -0.32470703125, -0.031173136085271835, 0.24384437501430511, -0.03012361377477646, 0.4141356945037842, -0.13308042287826538, -0.5936347842216492, 0.3273705542087555, -0.3131464719772339, -0.14823970198631287, -0.22950930893421173, 0.038314949721097946, -0.6166048645973206, 0.1540161371231079, -0.03217743709683418, 0.251043438911438, 0.658569872379303, -0.6233589053153992, 0.6771060228347778, -0.01075847540050745, -0.45169538259506226, 0.5650832653045654, 0.30722787976264954, 0.4819536805152893, 0.008173227310180664, -0.14193369448184967, -0.13942480087280273, 0.05576945096254349, 0.532184362411499, -0.6020183563232422, -0.5398189425468445, 0.2007201761007309, -0.9521127343177795, -0.4154288172721863, -0.18253162503242493, -0.9018864035606384, -0.3361050486564636, -0.31852850317955017, -0.0005214990815147758, -0.34009337425231934, -0.1363040953874588, 0.2920517027378082, 0.13007201254367828, -0.3389890491962433, 0.2826178967952728, -1.0034782886505127, 0.6972494721412659, 0.2081233561038971, 0.5656142830848694, -0.20959869027137756, -0.08407972007989883, -0.38172647356987, 0.5159211158752441, -0.08672836422920227, 0.4741826355457306, -0.2430536299943924, -0.2751857042312622, -0.1765412837266922, -0.383938193321228, 0.1782555729150772, -0.6843960285186768, 0.5662530660629272, -0.4399743676185608, -0.42730894684791565, 0.3707345426082611, -0.1734301745891571, -0.050997015088796616, 0.17996612191200256, -0.797429084777832, 0.6790754199028015, 0.4301641881465912, -1.0183849334716797, 0.31881627440452576, -0.47215014696121216, -0.6317939758300781, 0.2506355941295624, -0.4587714672088623, -0.5053598284721375, -0.0032370868138968945, 0.46407610177993774, 0.21679484844207764, -0.23462438583374023, 0.4563736021518707, 0.1519056260585785, -0.2058398723602295, -0.10552620887756348, -0.2817333936691284, 0.7738195657730103, 0.4317796528339386, -0.4409804940223694, -0.013736598193645477, -1.1474840641021729, 0.024649037048220634, -0.2719196081161499, -0.6262868642807007, -0.3865385055541992, -0.07790076732635498, 0.011474035680294037, 0.304329514503479, 0.023799464106559753, -0.22411976754665375, 0.30649712681770325, -0.03666705638170242, 0.3093891143798828, 0.66884446144104, 0.43753135204315186, 0.4292476177215576, -0.37776944041252136, 0.5266815423965454, 0.5514616966247559, 0.20536388456821442, -0.2735004127025604, -0.31732308864593506, -0.32936859130859375, -0.36638832092285156, 0.29128608107566833, 0.5192812085151672, -0.8576655983924866, 0.5245907306671143, -0.2532959282398224, -0.09019986540079117, -0.5994881391525269, 0.1276269257068634, 0.6825109124183655, 0.8116297125816345, 0.5655902028083801, -0.2549968659877777, -0.5530381202697754, -0.6570596694946289, 0.6096699833869934, -0.6565308570861816, 0.13419698178768158, 0.1579820066690445, 0.24976229667663574, -0.472587525844574, 0.4668411612510681, -0.4945039749145508, -0.6993876099586487, -0.15510591864585876, 0.11947878450155258, -0.029300564900040627, 0.8236510753631592, 0.5937761664390564, -0.7823827266693115, -0.4108729064464569, 0.391203910112381, -0.3931470513343811, 0.04104992374777794, -0.32738903164863586, -0.161861851811409, -0.038648512214422226, 0.46341001987457275, -0.09767065942287445, 0.6402989625930786, 0.293193519115448, 0.017177142202854156, 0.32868891954421997, -0.7274883389472961, 0.351545512676239, -1.0512025356292725, 0.18255186080932617, 0.06320590525865555, -0.022003844380378723, -0.3140692114830017, 0.18942362070083618, 0.5796296000480652, 0.1732027530670166, -0.2513478994369507, -0.029261689633131027, -0.43805956840515137, 0.204240083694458, -0.0675411969423294, -0.38427555561065674, 0.15871399641036987, 0.7838780879974365, 0.022747259587049484, 0.2380460500717163, 0.8051313757896423, -0.639840304851532, 0.48185229301452637, 0.1629132330417633, -0.3761051893234253, 0.7443451285362244, -0.43388140201568604, -0.20557492971420288, -0.2224447876214981, 0.3874080777168274, -0.7837937474250793, -0.09360162913799286, 0.15493232011795044, -0.2625358998775482, 0.6481118202209473, -0.3623219132423401, -0.6027966737747192, -0.7833292484283447, 0.009407274425029755, 0.8976747393608093, 0.7982858419418335, -0.7833935618400574, 0.34840312600135803, 0.660030722618103, 0.016614926978945732, -0.4186670780181885, -0.8534010052680969, -0.002086443128064275, -0.3894302546977997, -0.07703973352909088, 0.7200503349304199, -0.09225013107061386, -0.12001287192106247, -0.08101548999547958, -0.4915129244327545, -0.43300920724868774, -0.015761200338602066, 0.2469940185546875, 0.36638200283050537, -0.23434767127037048, 0.2718126177787781, 0.16309736669063568, -0.19665774703025818, 0.0807814821600914, -0.3804173469543457, 0.22273264825344086, 0.3472098708152771, -0.4736188054084778, -0.7239816188812256, 0.568699061870575, 0.8128994703292847, -0.35714948177337646, 0.16119404137134552, 0.2826531231403351, -0.9299128651618958, -0.34134265780448914, -0.0666930228471756, 0.20622731745243073, -0.4694148600101471, 0.5666276216506958, -0.3031666576862335, -0.351371169090271, 0.6504380702972412, -0.13518066704273224, -0.1623835563659668, 0.20319563150405884, 0.39544108510017395, 0.004465594422072172, 1.3117989301681519, 0.8024117946624756, -0.25559914112091064, -0.141204833984375, 0.00010314246901543811, 0.32547545433044434, -1.0473682880401611, -0.5502523183822632, -0.7621407508850098, -0.16504982113838196, -0.22828708589076996, -0.3957294225692749, 0.5301571488380432, 0.307728111743927, -0.1263635754585266, -0.21890737116336823, -0.9172657132148743, 0.31562912464141846, 0.18944163620471954, 0.1748735010623932, 0.3551783859729767, 0.2545776665210724, -0.3913661539554596, -0.047798287123441696, -0.7982850074768066, -0.21482403576374054, 0.8342394828796387, 0.5842527747154236, 1.2034029960632324, 0.019949039444327354, 0.8726380467414856, 0.46042343974113464, 0.09982481598854065, -0.632524847984314, 0.024503285065293312, -0.3319544792175293, -0.29993411898612976, 0.32469022274017334, -0.3182057738304138, -0.44276711344718933, -0.11281100660562515, 0.23621150851249695, -0.8333248496055603, 0.5758352875709534, 0.37043535709381104, -0.8033686876296997, 0.36980125308036804, -0.8910586833953857, 0.7245103716850281, -0.41933688521385193, -0.002253427868708968, -0.07546418905258179, -0.6906739473342896, 0.23927779495716095, -0.16289585828781128, 0.5160462260246277, 0.31512486934661865, 0.1757856011390686, 0.539497435092926, -0.4423339366912842, 0.7767211198806763, -0.05312616005539894, -0.45178601145744324, 0.17303459346294403, -0.21339550614356995, 0.20036260783672333, 0.4097052812576294, 0.10036643594503403, -0.02699621394276619, 0.053371865302324295, -0.2804156243801117, -0.46517887711524963, 0.7961029410362244, -0.6046267747879028, -0.16545158624649048, -0.36616164445877075, -0.24636472761631012, -0.20238430798053741, 0.2630295157432556, 0.23426149785518646, 1.0967077016830444, 0.020538408309221268, -0.25078096985816956, 0.7803550362586975, -0.2067253291606903, 0.1946241408586502, -0.03644314035773277, 0.036347709596157074, -0.3675355613231659, 0.7269477248191833, -0.1100926548242569, 0.2343583106994629, 0.6317394971847534, -0.17938098311424255, -0.15677814185619354, -0.8584356307983398, -0.8308477401733398, -0.23844976723194122, -1.0051634311676025, -0.5309010148048401, -0.6851058006286621, -0.37524867057800293, -0.6075889468193054, -0.23295094072818756, -0.02354240044951439, -0.11561878025531769, -0.34100478887557983, -0.15385885536670685, 0.17533046007156372, 0.8085605502128601, -0.035349879413843155, 0.19750924408435822, -0.8311073184013367, 0.9890110492706299, 0.014271303080022335, 0.793514609336853, 0.35778504610061646, -0.0341290645301342, -0.632970929145813, 0.19065706431865692, -0.2707306444644928, -0.7861580848693848, 0.19423164427280426, 0.18919941782951355, 0.8190745115280151, 0.5470707416534424, 0.5567266941070557, 1.0339151620864868, -0.7812604308128357, 0.380927175283432, 0.5247999429702759, -0.900427520275116, 0.5446272492408752, 0.14418089389801025, 0.4747529923915863, 0.46933263540267944, 0.25563228130340576, -0.4117165207862854, -0.2509911060333252, -0.48777148127555847, -0.9864441752433777, 0.9132850766181946, -0.12453459948301315, -0.16311147809028625, -0.22728729248046875, 0.5638473629951477, 0.14948007464408875, 0.17384718358516693, -0.531074047088623, -0.6452147960662842, -0.0898665115237236, -0.6553770899772644, 0.20214638113975525, -0.19359207153320312, -0.24711103737354279, -0.38185015320777893, 0.1939401775598526, -0.12682567536830902, 0.4898145794868469, 0.3949826657772064, -0.013054686598479748, -0.3810805380344391, 0.16381420195102692, 0.06205875054001808, 0.5807808637619019, -0.15822888910770416, 0.5287178158760071, -0.29607507586479187, -0.6940764784812927, 0.1642913818359375, 0.27147176861763, 0.20351286232471466, -0.16369280219078064, 0.2142738252878189, 0.5351393818855286, 0.11298558861017227, -0.5278806090354919, 0.3838234841823578, -0.07760461419820786, -0.21103382110595703, -0.0037468099035322666, 0.036665741354227066, 0.012566438876092434, -0.03175364434719086, 0.5753412246704102, 0.6000818014144897, 0.5160275101661682, -0.5362739562988281, 0.6163084506988525, -0.09761397540569305, -0.2960019111633301, -0.0951741486787796, 0.7006466388702393, 0.4749673008918762, -0.11451679468154907, 0.4292607605457306, -0.22517560422420502, -0.5688176155090332, 0.9425519704818726, 0.6402696371078491, 0.5735064148902893, -0.19693882763385773, 0.141822949051857, 0.26206594705581665, 0.007164682261645794, 0.22754372656345367, 0.13749045133590698, -0.5751979351043701, -0.2943038046360016, -0.37816759943962097, -0.571542501449585, 0.16351889073848724, 0.1453525274991989, -1.1392312049865723, 0.2969626188278198, -0.6796438694000244, 0.09735754132270813, 0.14295557141304016, -0.18377771973609924, -0.09140340983867645, 0.3168264627456665, 0.3243028521537781, 0.7616049647331238, -0.2633872330188751, 0.9757675528526306, 1.0577430725097656, -0.12096603214740753, -0.6420331001281738, 0.2790593206882477, 0.18288591504096985, -0.5288495421409607, 0.4954070746898651, 0.1397821307182312, -0.12733834981918335, 0.0970349982380867, 0.006268512923270464, -0.6939026117324829, 0.8358913660049438, 0.026546983048319817, -0.4882151186466217, -0.3666098415851593, -0.22680623829364777, 0.646630585193634, -0.6806523203849792, -0.26088380813598633, 0.4726414680480957, -0.02380736730992794, 0.2676003873348236, -1.2151237726211548, 0.06589202582836151, -0.7498022317886353, -0.2653249204158783, 0.04107202962040901, -0.3011603355407715, 0.5584700107574463, -0.6153901815414429, -0.24769769608974457, 0.0005482985288836062, 0.11129023879766464, 0.14932341873645782, 0.42646947503089905, 0.11862047016620636, 0.39953848719596863, 0.6210481524467468, 0.026459449902176857, 0.9186480045318604, -0.40794938802719116, 0.1900622546672821, 1.1639370918273926, -0.40458205342292786, 0.39170923829078674, 0.3619297742843628, -0.23914773762226105, 0.4186168909072876, 0.5780424475669861, 0.30620163679122925, 0.974928617477417, 0.31482020020484924, -0.11805135756731033, 0.14772041141986847, 0.2183108925819397, -0.703814685344696, 0.07334514707326889, 0.4419292211532593, -0.3742321729660034, -0.4703161120414734, 0.2465689480304718, -0.3708958327770233, 0.20215101540088654, -0.5388385057449341, 1.1064306497573853, -0.028197171166539192, -0.5316177010536194, 0.9084899425506592, 0.22167928516864777, 0.566284716129303, -0.2794259488582611, -0.3242754340171814, 0.13467180728912354, 0.5723289847373962, -0.3540686070919037, -0.33569926023483276, 0.21820393204689026, -0.045327093452215195, -0.36733585596084595, -0.4481312036514282, 0.23927229642868042, -0.5641635656356812, -0.27101969718933105, 0.10234272480010986, 0.06647001951932907, -0.22077447175979614, 0.43424248695373535, -0.7286800146102905, -0.029246242716908455, 0.18729247152805328, 0.47380152344703674, 0.3040536344051361, 0.8648082613945007, 0.04749879613518715, 0.5246461629867554, 0.09065928310155869, 0.15281647443771362, -0.006403075996786356, 0.2558351159095764, 0.9640244841575623, -0.23449568450450897, -1.2155178785324097, -0.49601465463638306, 0.5375488996505737, 0.08714330941438675, -0.2500591576099396, 0.2679384648799896, 0.4156002998352051, 0.7625864148139954, 0.04158546030521393, 0.8895916938781738, -0.15270106494426727, 0.29648327827453613, -0.4444642961025238, 0.8041202425956726, -0.4135395586490631, 0.5722830891609192, -0.4723432958126068, -0.4954737722873688, -0.5548116564750671, 0.700963020324707, 0.33527228236198425, 0.10981759428977966, 0.9237287044525146, 0.09426743537187576, -0.15691296756267548, -0.18852517008781433, -0.06446901708841324, 0.1464899480342865, 0.2698137164115906, 0.7257628440856934, 0.5474039316177368, -0.3135322332382202, 0.3533443212509155, -0.624139666557312, -0.4894593060016632, -0.2903459072113037, -0.6242728233337402, -0.727527379989624, -0.6425347924232483, -0.8507302403450012, -0.24004177749156952, 0.1410738229751587, 0.7325233221054077, 0.9274635314941406, -0.7468196749687195, 0.05269424617290497, -0.1813274472951889, 0.1043948233127594, -0.46411246061325073, -0.10463490337133408, 0.7833288311958313, -0.20895323157310486, -0.5625459551811218, -0.3368166983127594, 0.5545974373817444, 0.41190800070762634, 0.0875423327088356, -0.29163622856140137, -0.06042126566171646, -0.5236472487449646, 0.38972342014312744, -0.03350607305765152, -0.3838372826576233, 0.05235862731933594, -0.2621437907218933, -0.369816392660141, 0.41257917881011963, 0.9055948257446289, -0.6935954093933105, 0.35557183623313904, 0.06560228765010834, 0.5088458061218262, -0.0007976320339366794, 0.2407807856798172, 0.23824112117290497, -0.7915377616882324, 0.13746428489685059, 0.35897237062454224, 0.2251499593257904, 0.12243695557117462, -0.665776252746582, -0.025950660929083824, -0.10521980375051498, -0.312073677778244, -0.8907784819602966, 0.026982402428984642, -1.043245553970337, -0.3327710032463074, 0.998472273349762, -0.29982268810272217, -0.1669861525297165, -0.7138522267341614, -0.5302643775939941, 0.12800464034080505, -0.4103487730026245, 1.0319781303405762, 0.5104579329490662, -0.2247428447008133, -0.11094830185174942, -0.15466490387916565, 0.7832431793212891, -0.0036041110288351774, -0.7108835577964783, 0.22385726869106293, 0.769209086894989, -0.18935713171958923, 0.27463430166244507, 0.929871141910553, -0.7017909288406372, 0.5144649744033813, -0.10864381492137909, 0.17662015557289124, 0.001084267278201878, -0.5299193263053894, -0.36103981733322144, 0.26167577505111694, 0.17382168769836426, -0.37919217348098755 ]
http://arxiv.org/abs/2404.11124v1
http://arxiv.org/pdf/2404.11124v1
What's under the hood: Investigating Automatic Metrics on Meeting Summarization
2024-04-17T07:15:07
2024-04-17T07:15:07
Frederic Kirstein, Jan Philip Wahle, Terry Ruas, Bela Gipp
cs.CL
cs.CL, cs.AI
Meeting summarization has become a critical task considering the increase in online interactions. While new techniques are introduced regularly, their evaluation uses metrics not designed to capture meeting-specific errors, undermining effective evaluation. This paper investigates what the frequently used automatic metrics capture and which errors they mask by correlating automatic metric scores with human evaluations across a broad error taxonomy. We commence with a comprehensive literature review on English meeting summarization to define key challenges like speaker dynamics and contextual turn-taking and error types such as missing information and linguistic inaccuracy, concepts previously loosely defined in the field. We examine the relationship between characteristic challenges and errors by using annotated transcripts and summaries from Transformer-based sequence-to-sequence and autoregressive models from the general summary QMSum dataset. Through experimental validation, we find that different model architectures respond variably to challenges in meeting transcripts, resulting in different pronounced links between challenges and errors. Current default-used metrics struggle to capture observable errors, showing weak to mid-correlations, while a third of the correlations show trends of error masking. Only a subset reacts accurately to specific errors, while most correlations show either unresponsiveness or failure to reflect the error's impact on summary quality.
[ -0.3650200068950653, -0.22304341197013855, 0.4396574795246124, 0.15102197229862213, 0.29384756088256836, 0.4663652777671814, 0.14194968342781067, -0.5390998721122742, 0.36385419964790344, -0.10428477823734283, -0.6613014340400696, -0.18298879265785217, -0.6411169171333313, 0.453204482793808, -0.547295868396759, 1.0756001472473145, -0.2985914945602417, -0.06879542022943497, -0.44188353419303894, -0.28383126854896545, -0.5484578609466553, -0.8217565417289734, -0.32498690485954285, -0.10147380083799362, 0.27564048767089844, 0.4529883563518524, 0.6626381874084473, 0.3950144648551941, 0.8710054755210876, 0.22975152730941772, 0.009511187672615051, 0.5771647095680237, -0.1911136507987976, -0.2907331585884094, 0.17880326509475708, -0.46376222372055054, -1.0816106796264648, 0.3998103439807892, 0.7921380400657654, 1.044374942779541, -0.17276643216609955, 0.488922119140625, 0.23677469789981842, 0.6642429232597351, -0.42621567845344543, 0.25293412804603577, -0.5246292948722839, 0.17389772832393646, 0.038754742592573166, -0.20097889006137848, 0.3065713942050934, -0.10430741310119629, 0.0563405342400074, -0.5819063186645508, 0.4197286367416382, 0.18515288829803467, 1.090315818786621, 0.3561306595802307, -0.25676730275154114, -0.370891273021698, -0.7326605916023254, 0.5730279088020325, -0.7221555709838867, -0.03550376743078232, 0.5950642228126526, 0.4920119047164917, -0.07892540097236633, -0.49970048666000366, -0.288417786359787, 0.1368669867515564, -0.5187178254127502, 0.3288287818431854, -0.36307501792907715, -0.03185969591140747, 0.24818480014801025, 0.5689758062362671, -0.37094366550445557, 0.11668390780687332, -0.5318000316619873, -0.23442578315734863, 0.7149471640586853, 0.7264840006828308, 0.3571246564388275, -0.31212058663368225, 0.0619724839925766, 0.09727299213409424, -0.21862640976905823, 0.05578482151031494, 0.05580948665738106, 0.16272087395191193, -0.3249390721321106, 0.4468209147453308, -0.24000908434391022, 0.1562959998846054, 0.028602341189980507, 0.07127458602190018, 0.17027917504310608, -0.718802809715271, -0.014790847897529602, -0.3417789936065674, 0.7701084017753601, 0.9971839785575867, 0.12380042672157288, -0.23171697556972504, -0.46893876791000366, -0.07120443135499954, -0.07396050542593002, -0.39471256732940674, -0.5425201058387756, 0.5943104028701782, -0.12000691890716553, -0.031830817461013794, 0.30953800678253174, -0.6049558520317078, 0.004802307114005089, -0.3307339549064636, 0.7229989767074585, 0.18391111493110657, 0.009502722881734371, -0.19706925749778748, -0.4485539197921753, 0.05490632355213165, 0.6533913016319275, -0.41837236285209656, 0.6432979702949524, 0.45679911971092224, 1.1643685102462769, -0.30785730481147766, -0.4572446644306183, -0.6099685430526733, -0.044810689985752106, -0.3851882815361023, 0.7925500273704529, 0.3205895721912384, -0.5681101679801941, -0.2280845046043396, 0.04348481073975563, -0.4412975609302521, -0.7100896239280701, 0.07263665646314621, 0.11995500326156616, 0.54491126537323, -0.2560941278934479, -0.44896528124809265, 0.24731869995594025, 0.14435142278671265, -0.4155925214290619, 0.8163054585456848, 0.14548958837985992, -0.57889324426651, 0.34012168645858765, -0.9259824156761169, -0.12391497194766998, 0.03642294183373451, -0.2587377727031708, -0.5421860814094543, 0.2429019659757614, 0.34607264399528503, 0.27167439460754395, 0.08431808650493622, 0.012046732939779758, 0.23849138617515564, -0.44101765751838684, 0.5461391806602478, 0.20517165958881378, 0.4770803153514862, -0.14567264914512634, -0.2775900065898895, 0.1936711221933365, -0.987338662147522, -0.039170343428850174, 0.21296852827072144, -0.11681060492992401, -0.0446794219315052, 0.23102672398090363, -0.3039594292640686, 0.16529229283332825, 0.1696872115135193, -0.1251073032617569, -0.2767282724380493, -0.032551657408475876, 0.30009275674819946, 0.31525060534477234, 0.41832438111305237, 0.252109169960022, -0.8215768933296204, 0.4720918834209442, -0.005318413954228163, 0.26750117540359497, -0.6010490655899048, -0.45994600653648376, -0.624909520149231, -0.3172607719898224, 0.036478880792856216, 0.755492091178894, -0.23306457698345184, 0.39212891459465027, -0.40255022048950195, -0.6929681301116943, -0.5977039337158203, 0.05041706934571266, 0.4280763566493988, 0.10671647638082504, 0.21920213103294373, -0.49629175662994385, -0.6103065013885498, -0.6217854022979736, -0.5532866716384888, -0.32606542110443115, -0.5870544910430908, 0.09956425428390503, 0.5521646738052368, -0.10349570214748383, 1.0770303010940552, -0.33041512966156006, -0.7493542432785034, -0.10066983848810196, 0.5008462071418762, -0.0015173269202932715, 0.45949918031692505, 0.43966007232666016, -0.3613373935222626, -0.17595839500427246, -0.33849528431892395, -0.7077853679656982, -0.5396961569786072, -0.179298996925354, 0.4270201325416565, 0.37527820467948914, 0.4474679231643677, -0.39767953753471375, 0.5696666240692139, 0.28029534220695496, -0.19058355689048767, 0.718006432056427, -0.24141386151313782, 0.5362414121627808, -0.6280185580253601, -0.054626282304525375, -0.20416902005672455, -0.3176964819431305, -0.3792657256126404, -0.04717476665973663, -0.03348216786980629, -0.005093482788652182, -0.2516939043998718, 0.09557291120290756, -0.7169365882873535, -0.3599485754966736, -0.2217787355184555, 0.5013289451599121, 0.4254463315010071, 0.5807392597198486, -0.3968587815761566, 0.678402841091156, 0.05888617783784866, -0.8886568546295166, 0.30054518580436707, 0.562321126461029, -0.030565913766622543, 0.7134190797805786, -0.6828019618988037, 0.02125849761068821, -0.16323137283325195, 0.18602395057678223, -1.3034011125564575, -0.716985821723938, 0.05684018135070801, -0.958045244216919, 0.20664207637310028, 0.17419923841953278, -0.5084318518638611, -0.15667244791984558, -0.7199321985244751, 0.28902143239974976, 0.3799050450325012, -0.12879307568073273, 0.6203517913818359, 0.6530952453613281, -0.04442908242344856, -0.07916629314422607, -0.9200725555419922, 0.45440322160720825, -0.32781633734703064, -0.19354407489299774, -0.004239784553647041, 0.0011882733087986708, -0.604338526725769, -0.18375761806964874, -0.19518163800239563, 0.045837368816137314, 0.23428797721862793, 0.33146488666534424, 0.19151292741298676, 0.01836821623146534, -0.10731470584869385, -0.4987384080886841, -0.039982520043849945, 0.4123881757259369, 0.05171613767743111, -0.029954517260193825, -0.32709088921546936, -0.3519473671913147, -0.8778895139694214, 0.6811574101448059, 0.7790592312812805, -0.03784506395459175, 0.5985545516014099, 0.3184185028076172, -0.5676527619361877, 0.3419559895992279, -0.5220571160316467, -0.07909861952066422, -0.30220627784729004, 0.6488170027732849, -0.1362800896167755, -0.32368773221969604, 1.1125091314315796, 0.22438018023967743, 0.5477322936058044, 0.8314965963363647, 0.18709029257297516, -0.5195449590682983, 1.0260167121887207, 0.5455687642097473, 0.23161344230175018, 0.12549683451652527, 0.026707246899604797, 0.15575584769248962, -0.775303840637207, -0.16821599006652832, -0.8738727569580078, -0.1775946170091629, -0.5165433883666992, -0.3018593490123749, 0.6104339361190796, 0.027393965050578117, 0.09547705203294754, 0.4366499185562134, -0.1496592015028, 0.36822372674942017, 0.331791490316391, -0.5591809749603271, 0.6084449291229248, -0.2807137072086334, 0.35294678807258606, -0.4574924111366272, -0.8720430135726929, -0.660717785358429, 0.5270326733589172, 0.3797011375427246, 0.5668599009513855, 0.18528622388839722, 0.4429575204849243, 0.27920854091644287, 0.30631566047668457, -0.7320991158485413, 0.438576340675354, 0.2756333351135254, -0.4474791884422302, -0.35004153847694397, -0.686598002910614, -0.5527974963188171, 0.2669023275375366, -0.16000232100486755, -0.8289634585380554, 0.1456584930419922, 0.37381091713905334, -0.3929575979709625, 0.4252169132232666, -0.839949369430542, 0.723413348197937, -0.05125737190246582, 0.25867798924446106, 0.1529494673013687, -0.8239666819572449, 0.25017738342285156, -0.24470001459121704, 0.7270651459693909, -0.33590221405029297, -0.08294495195150375, 1.0500805377960205, -0.2849148213863373, 0.8335272669792175, 0.15804074704647064, -0.03043431043624878, 0.14507542550563812, 0.24864406883716583, 0.3907199203968048, -0.2924749255180359, 0.4603837728500366, 0.38121137022972107, 0.4301103949546814, -0.3401341140270233, -0.6559135913848877, 0.1336783766746521, -0.6254062056541443, -0.516266942024231, -0.3853354752063751, -0.3220328092575073, -0.3646780848503113, -0.38846901059150696, 0.5117954611778259, 0.7499886751174927, -0.26466140151023865, -0.3794824779033661, 0.019884653389453888, -0.15879034996032715, 0.5352494120597839, 0.5604801774024963, -0.3330652713775635, -0.5889406204223633, 0.8004478812217712, 0.5347477197647095, 0.702135443687439, 0.10865307599306107, 0.012067981995642185, 0.15922419726848602, -0.5030620098114014, -0.2873252332210541, 0.23349423706531525, -0.8185524940490723, -0.3069494366645813, -0.8612272143363953, -0.3231511414051056, -0.3574464023113251, 0.06284265965223312, -0.3145504593849182, -0.9192586541175842, -0.2617771625518799, -0.09479617327451706, -0.048337433487176895, 0.7240977883338928, -0.18658801913261414, 0.450440913438797, -1.1871801614761353, 0.19009077548980713, -0.03322469815611839, 0.10354682803153992, 0.01948370411992073, -0.6224047541618347, -0.526500403881073, -0.06892647594213486, -0.3205718994140625, -0.8784623742103577, 0.2811683714389801, 0.5519315004348755, 0.4215060770511627, 0.034980833530426025, 0.164210706949234, 0.8811181783676147, -0.26162227988243103, 1.0628308057785034, 0.19435866177082062, -0.9338167309761047, 0.6507035493850708, -0.28462541103363037, 0.6757785677909851, 0.39998430013656616, 0.25128746032714844, -0.726151704788208, -1.1146929264068604, -0.7051302194595337, -1.0913888216018677, 0.6255208253860474, 0.4246485233306885, -0.10438940674066544, -0.12084964662790298, 0.3291492164134979, -0.08166027814149857, 0.33743536472320557, -0.5818080902099609, -0.28439635038375854, 0.044398561120033264, 0.06813603639602661, -0.07294780761003494, -0.2414730340242386, -0.28186869621276855, -0.14419062435626984, 0.6881982088088989, -0.08703509718179703, 0.14107699692249298, 0.7285197377204895, -0.2989559769630432, -0.43805864453315735, 0.16200819611549377, 0.7328489422798157, 1.094300389289856, -0.46763816475868225, 0.02581506222486496, 0.5054720044136047, -0.2880494296550751, -0.24699905514717102, -0.20498260855674744, 0.24282026290893555, 0.5053411722183228, 0.6264510154724121, 0.4280260503292084, 0.21086667478084564, -0.63862144947052, 0.5842888951301575, -0.34308525919914246, -0.2766881287097931, -0.5652860403060913, -0.16116374731063843, -0.3261977434158325, -0.06779523193836212, 0.8665521740913391, 0.05428803339600563, 0.25356587767601013, -0.5411516427993774, 0.14418482780456543, 0.26949843764305115, -0.4988671839237213, -0.6002054810523987, 0.7707711458206177, 0.21487785875797272, -0.551069438457489, 0.04475971683859825, -0.29317277669906616, -0.6415716409683228, 0.5028121471405029, -0.11912161856889725, 0.8885642886161804, -0.18824650347232819, -0.15126200020313263, 0.47379070520401, 0.5543613433837891, 0.3943255841732025, -0.2096276581287384, -0.1032896414399147, -0.2699158489704132, -0.47116345167160034, -0.27725017070770264, -0.8193243145942688, -0.04334500432014465, -0.6768028140068054, 0.11174631118774414, -0.28265196084976196, -0.31881529092788696, -0.04437774047255516, -0.02131989598274231, -0.4222181439399719, -0.010423210449516773, -0.2642538249492645, 0.6496075987815857, -0.714733898639679, -0.3459407687187195, 0.6743896007537842, -0.31322240829467773, -0.6198230385780334, -0.041726261377334595, 0.4775703549385071, -0.30116304755210876, 0.1246044784784317, 0.11987661570310593, -0.21214042603969574, -0.374976247549057, -0.08090189099311829, -0.5823788642883301, 0.904009222984314, -0.16657979786396027, -0.3705343008041382, -0.4142758548259735, 0.14072217047214508, 0.45132729411125183, -0.3918647766113281, 0.338278204202652, 0.6493057012557983, 0.16032972931861877, -0.04377643018960953, -1.622977375984192, -0.05352149158716202, -0.10453063249588013, -0.3669103682041168, 0.23278483748435974, -0.5446545481681824, 0.39730626344680786, -0.3118322193622589, -0.60902339220047, 0.03328496962785721, 0.4481470584869385, -0.31704363226890564, 0.5995816588401794, 0.334613174200058, 0.18552589416503906, 0.6775583028793335, -0.28889405727386475, 0.8287877440452576, 0.06772195547819138, 0.270631343126297, 1.319342017173767, -0.10247820615768433, 0.5942291617393494, 0.3881193995475769, -0.48637840151786804, 0.05394383892416954, 0.3914480209350586, -0.005097724962979555, 0.027671197429299355, 0.12973657250404358, 0.06218282878398895, 0.14999336004257202, 0.10792092233896255, -0.13677236437797546, 0.442298024892807, 0.46119505167007446, 0.05179237574338913, -0.4406697452068329, -0.1170136108994484, 0.04687580466270447, 0.09613553434610367, -0.43368440866470337, 1.1988118886947632, 0.19360396265983582, -0.7527600526809692, 0.3004441261291504, -0.009248904883861542, 0.47766128182411194, -0.37148964405059814, 0.15435054898262024, -0.450903981924057, 0.09689196944236755, -0.5193132758140564, -0.3375522494316101, 0.778990626335144, 0.03778708726167679, -0.11693379282951355, 0.07651415467262268, 0.09178679436445236, -0.30032414197921753, -0.12846042215824127, -0.0021272762678563595, 0.826870858669281, 0.4377909302711487, -0.1096004843711853, -0.12534253299236298, -0.12681205570697784, -0.35824987292289734, 0.11799304187297821, 0.17058634757995605, 0.44780492782592773, -0.18110094964504242, 0.4380451738834381, 0.23796643316745758, 0.018193943426012993, 0.019024699926376343, 0.16167515516281128, 0.4218529760837555, -0.6487241387367249, -0.7034313082695007, -0.708827018737793, 0.605036735534668, -0.135088711977005, -0.27447509765625, 0.7733566164970398, 0.5190001130104065, 0.49974116683006287, 0.13049866259098053, 0.42779672145843506, 0.35471466183662415, 0.8762828707695007, -0.20984625816345215, 0.7857895493507385, -0.6072402596473694, 0.4487551748752594, -0.2751484811306, -0.7026585340499878, -0.3257209360599518, 0.16317930817604065, 0.07017191499471664, -0.03747687488794327, 0.7675765752792358, 0.5043439269065857, 0.21150994300842285, -0.19352492690086365, 0.3811940848827362, 0.1361929476261139, 0.45470964908599854, 0.5509825944900513, 0.9260244369506836, -0.6798094511032104, 0.504241943359375, 0.15457989275455475, -0.545622706413269, -0.3889184892177582, -0.7936468720436096, -0.7113574147224426, -0.9387689232826233, -1.0010546445846558, -0.5146327018737793, -0.05533422902226448, 0.9847976565361023, 0.46775153279304504, -0.7991209626197815, -0.24490784108638763, 0.27523520588874817, -0.13647249341011047, -0.22863727807998657, -0.31232979893684387, 0.25703638792037964, -0.5903872847557068, -0.5946884751319885, -0.11597511917352676, 0.3262767493724823, 0.5505573749542236, -0.04407341405749321, 0.15900534391403198, 0.1582496166229248, 0.32231882214546204, 0.2034560590982437, 0.35954442620277405, -0.46480679512023926, -0.23114652931690216, -0.2347317934036255, -0.1452941596508026, 0.2011437714099884, 0.6266979575157166, -0.5171858072280884, 0.11033347249031067, 0.08087915927171707, 0.31887906789779663, 0.09242959320545197, -0.005040962714701891, 0.7719756960868835, -0.9255443215370178, -0.3341934382915497, 0.03466597944498062, 0.41403257846832275, 0.6477492451667786, -0.3760443925857544, 0.4339110851287842, 0.3639258146286011, -0.5514582395553589, -1.037704348564148, 0.09156061708927155, -0.7809861898422241, 0.07641050964593887, 0.5890867114067078, -0.21835856139659882, -0.1881507933139801, -0.26352712512016296, -0.05285702273249626, 0.17207740247249603, 0.2659280002117157, 1.1434845924377441, 1.074210524559021, -0.26865583658218384, -0.004323131870478392, -0.6927635073661804, 0.9005045294761658, 0.29328393936157227, -0.8156099319458008, 0.10684319585561752, 0.6173402667045593, 0.22833490371704102, 0.4857328236103058, 0.6341416239738464, -0.39422714710235596, 0.7490925192832947, -0.22471418976783752, -0.2516147196292877, -0.04029972106218338, -0.23152011632919312, -0.5184258222579956, 0.03452428802847862, 0.021150434389710426, -0.3886250853538513 ]
http://arxiv.org/abs/2404.11109v1
http://arxiv.org/pdf/2404.11109v1
Consistency Training by Synthetic Question Generation for Conversational Question Answering
2024-04-17T06:49:14
2024-04-17T06:49:14
Hamed Hematian Hemati, Hamid Beigy
cs.CL
cs.CL
Efficiently modeling historical information is a critical component in addressing user queries within a conversational question-answering (QA) context, as historical context plays a vital role in clarifying the user's questions. However, irrelevant history induces noise in the reasoning process, especially for those questions with a considerable historical context. In our novel model-agnostic approach, referred to as CoTaH (Consistency-Trained augmented History), we augment the historical information with synthetic questions and subsequently employ consistency training to train a model that utilizes both real and augmented historical data to implicitly make the reasoning robust to irrelevant history. To the best of our knowledge, this is the first instance of research using question generation as a form of data augmentation to model conversational QA settings. By citing a common modeling error prevalent in previous research, we introduce a new baseline model and compare our model's performance against it, demonstrating an improvement in results, particularly when dealing with questions that include a substantial amount of historical context. The source code can be found on our GitHub page.
[ -0.4253184199333191, -1.2868863344192505, 0.658706545829773, -0.31443044543266296, -0.026416318491101265, 0.0012490510707721114, 0.07383468747138977, -0.4421493113040924, 0.06509333103895187, 0.5921655297279358, -0.6638715863227844, -0.33791685104370117, -0.09531616419553757, -0.1254040151834488, -0.5089328289031982, 0.8314379453659058, -0.15419848263263702, 0.1373957097530365, -0.5144208669662476, -0.47391656041145325, -0.8104325532913208, -0.858460009098053, -0.6240057349205017, -0.2487453669309616, 0.1243775337934494, 0.3158681392669678, 0.8881838321685791, 0.47710299491882324, -0.036614805459976196, 0.216534823179245, -0.14829300343990326, 0.44989606738090515, -0.5903691649436951, 0.36396533250808716, -0.11472271382808685, -0.5512583255767822, -0.21820394694805145, -0.23571127653121948, 0.5684483647346497, 0.7908893823623657, -0.1992195099592209, 0.16851133108139038, -0.14939114451408386, 0.3938421607017517, -0.7418270707130432, -0.07440429925918579, -0.9488797187805176, -0.11415533721446991, 0.4552500247955322, -0.498252272605896, -0.429290235042572, -0.6970073580741882, 0.22322289645671844, -0.5818679332733154, 0.6590259075164795, -0.10994336009025574, 1.0308363437652588, 0.06237538531422615, -0.5189927220344543, -0.09928334504365921, -1.0276131629943848, 0.4825100898742676, -0.6267176270484924, 0.37469813227653503, 0.6160876154899597, 0.44878193736076355, -0.21066580712795258, -0.716310441493988, -0.8070915341377258, -0.31518298387527466, 0.06452929973602295, 0.011996942572295666, 0.06041426956653595, -0.06831009685993195, 0.3352915346622467, 0.37484824657440186, -0.5709559321403503, -0.40338563919067383, -0.4137856662273407, -0.2243470698595047, 0.4790223240852356, 0.31895363330841064, 0.3480410575866699, -0.043541207909584045, -0.399352490901947, -0.13241221010684967, -0.7656874060630798, 0.23870088160037994, 0.3600008189678192, 0.06877030432224274, 0.08958138525485992, 0.4735281765460968, -0.4642980694770813, 0.8263041377067566, 0.2988135814666748, 0.16392116248607635, -0.13071145117282867, -0.4407026171684265, 0.02603331208229065, 0.13618193566799164, 0.3664236068725586, 0.3407219350337982, 0.10514088720083237, -0.16716770827770233, 0.059912096709012985, 0.22154544293880463, 0.6398753523826599, -0.665325403213501, -0.2457287758588791, 0.2908991873264313, -0.03571994975209236, -0.10438162088394165, -0.03133765980601311, -0.34006619453430176, -0.1271536648273468, -0.5369758605957031, 0.47721871733665466, -0.5432319045066833, -0.2956232726573944, -0.155368372797966, -0.0700841024518013, 0.47984614968299866, 0.4785851240158081, -1.0564653873443604, 0.3918350338935852, 0.7353745698928833, 0.5448431372642517, 0.07069521397352219, -0.16995251178741455, -0.4882420003414154, 0.13331927359104156, -0.6643369197845459, 0.7432100176811218, -0.43088385462760925, -0.7040427923202515, 0.08414072543382645, 0.06039178743958473, 0.08965183794498444, -0.6886901259422302, 0.3921830952167511, -0.7030075788497925, 0.3397100567817688, -0.3651954233646393, -0.7241678237915039, -0.12673716247081757, 0.6843914985656738, -0.4572250247001648, 0.9588664174079895, 0.28130167722702026, -0.39150404930114746, 0.36496034264564514, -0.19728033244609833, -0.01940230093896389, -0.03915980085730553, -0.43744683265686035, -0.46464961767196655, -0.16097933053970337, 0.13086974620819092, -0.2025788277387619, -0.08753953129053116, 0.6088363528251648, -0.14887504279613495, -0.4674970209598541, 0.2531772553920746, -0.6330292224884033, 0.6733977794647217, 0.12131901830434799, -0.27312394976615906, -0.0173330195248127, -0.6788625121116638, 0.4192979037761688, 0.04929347336292267, -0.13088731467723846, -0.18838848173618317, -0.057672493159770966, -0.22973833978176117, 0.005835873074829578, 0.33654531836509705, -0.512538731098175, 0.17347055673599243, -0.4359327554702759, 0.05733024328947067, 0.5722973942756653, 0.40098121762275696, 0.20787394046783447, -0.7033754587173462, 0.435209721326828, -0.004308115690946579, 0.14830662310123444, -0.29417625069618225, -0.5790829658508301, -0.711911678314209, 0.3735247850418091, 0.21101586520671844, 0.33674511313438416, -0.4755297899246216, 0.2866198420524597, -0.23584017157554626, -0.4165595471858978, -0.17617149651050568, 0.08143941313028336, 0.27033692598342896, 0.9467342495918274, 0.40633660554885864, -0.2735951244831085, -0.9787840247154236, -0.6722091436386108, -0.11993025243282318, -0.6196376085281372, 0.15842100977897644, 0.2709618806838989, 0.27138110995292664, -0.08712080866098404, 1.3085963726043701, -0.42354777455329895, 0.4495931565761566, -0.08617173880338669, 0.2065192610025406, -0.16560585796833038, 0.7133004665374756, 0.34874749183654785, -1.0027999877929688, -0.43260467052459717, -0.08696335554122925, -0.7588117718696594, 0.2332531362771988, -0.09337592869997025, -0.4008018374443054, 0.2484496682882309, 0.35637012124061584, -0.558863639831543, 0.48203837871551514, 0.5794830322265625, -0.1772516667842865, 0.6977416276931763, -0.07162825018167496, 0.574019193649292, -1.3942910432815552, 0.16980543732643127, -0.3954533040523529, -0.2828879654407501, -0.8472036719322205, -0.207559272646904, 0.039717283099889755, -0.37238579988479614, -0.3321857750415802, 0.5832882523536682, -0.13456708192825317, 0.3299665153026581, -0.3670441210269928, 0.04085666313767433, 0.31592053174972534, 0.4698686897754669, 0.1720082312822342, 0.9263349175453186, 0.22634604573249817, -0.6898819208145142, 0.12152085453271866, 0.6222439408302307, 0.11678659915924072, 0.6779977679252625, -0.7870794534683228, 0.37463077902793884, 0.012441569939255714, 0.3652936518192291, -1.1320741176605225, -0.34877219796180725, 0.12645575404167175, -0.6479582190513611, 0.16425621509552002, -0.2648386061191559, -0.2033371925354004, -0.03882915899157524, -0.017866168171167374, 0.5951222777366638, 0.6370182633399963, -0.6745971441268921, 0.5457193851470947, 0.12546606361865997, -0.08919797092676163, -0.4997955560684204, -0.2522350549697876, -0.11993442475795746, 0.023588752374053, -0.7381036877632141, 0.269850492477417, -0.21872854232788086, -0.23503410816192627, -0.12494229525327682, -0.5520383715629578, -0.5746642351150513, -0.016743499785661697, 0.16262471675872803, 0.49535492062568665, -0.3950172960758209, 0.22819073498249054, -0.015444718301296234, 0.06960755586624146, 0.06333541125059128, -0.13954174518585205, 0.7931933999061584, -0.09419886022806168, -0.49076709151268005, -0.7154222726821899, 0.3142596185207367, 0.31311866641044617, 0.0480051152408123, 0.9262060523033142, 0.22193458676338196, -0.28749287128448486, 0.09345903247594833, -0.835478663444519, -0.4890466630458832, -0.41632747650146484, 0.07589173316955566, -0.2207239866256714, -0.8185383081436157, 0.6578697562217712, -0.023615732789039612, 0.1527034193277359, 0.41360917687416077, 0.39518654346466064, -0.05804400518536568, 1.3002909421920776, 0.3541277050971985, 0.15555952489376068, 0.48041006922721863, -0.2777155935764313, -0.053975917398929596, -0.49484574794769287, -0.16370587050914764, -0.43908587098121643, 0.1497444212436676, -0.4812844395637512, -0.07791091501712799, 0.3934992253780365, 0.17416490614414215, -0.5213297009468079, 0.09642675518989563, -0.2895430624485016, 0.37115854024887085, 0.5976840257644653, 0.2500317096710205, 0.4154217541217804, -0.24188508093357086, 0.3735763430595398, 0.268023818731308, -0.7423302531242371, -0.7797287106513977, 1.265424370765686, -0.04189273342490196, 0.5604973435401917, -0.037476979196071625, 0.737491250038147, 0.2261345535516739, 0.1260116845369339, -0.39395076036453247, 0.2709856331348419, 0.5128951668739319, -0.876153826713562, -0.4184785783290863, -0.40448713302612305, -1.1073590517044067, 0.08054169267416, -0.1217433363199234, -0.6988431811332703, 0.19911247491836548, 0.6857141852378845, -0.5279930830001831, 0.3092648386955261, -0.7655028104782104, 0.9186305999755859, 0.011401007883250713, -0.3753476142883301, 0.08024027198553085, -0.8485947847366333, 0.3601449131965637, 0.24275249242782593, -0.3259159326553345, 0.03468022868037224, 0.3791668713092804, 0.3414042294025421, -0.6850438714027405, 0.777844250202179, -0.15719716250896454, -0.030103646218776703, 0.6745712161064148, 0.24388782680034637, 0.7303803563117981, 0.23396725952625275, 0.15017324686050415, 0.0037814483512192965, 0.5361036062240601, -0.6897322535514832, -0.9447776079177856, 0.5324900150299072, -0.8904949426651001, -0.8157403469085693, -0.20028991997241974, -0.7656444311141968, -0.5099905729293823, -0.16898107528686523, 0.14555853605270386, 0.6210777163505554, -0.519645631313324, 0.24821488559246063, 0.9207169413566589, 0.15342716872692108, -0.019189463928341866, 0.3303200900554657, -0.00012012149818474427, -0.19662518799304962, 0.5192886590957642, 0.014961379580199718, 0.6649838089942932, 0.2506406307220459, 0.04187487065792084, -0.4781799018383026, -0.4484776258468628, -0.6462736129760742, -0.16859713196754456, -0.6534990668296814, -0.02397991716861725, -0.6557258367538452, -0.3217831254005432, -0.5250741243362427, -0.1623741090297699, -0.4500362277030945, -0.49832791090011597, -0.203473761677742, 0.02625848352909088, 0.2621128559112549, 0.423711895942688, 0.33524009585380554, 0.22281086444854736, -0.7272491455078125, 0.6150137186050415, 0.5569745898246765, 0.1282123178243637, -0.08677582442760468, -0.5449612736701965, -0.04809471219778061, 0.5590819716453552, -0.6023511290550232, -0.868878960609436, 0.10821553319692612, 0.06377475708723068, 0.6984469294548035, 0.22743074595928192, 0.234882190823555, 0.7107788324356079, -0.3240867555141449, 1.010951280593872, -0.008646496571600437, -0.8102654218673706, 0.7983812689781189, -0.3856585919857025, 0.44113069772720337, 0.8112845420837402, 0.3320083022117615, -0.4904950261116028, -0.412576824426651, -1.0015313625335693, -0.6649185419082642, 0.4343625605106354, 0.20297765731811523, 0.338826060295105, -0.24433983862400055, 0.4717051088809967, 0.40401366353034973, 0.12797921895980835, -0.4124540686607361, -0.20685039460659027, -0.4646280109882355, -0.18561048805713654, 0.09919562935829163, -0.2706450819969177, -0.39673593640327454, -0.21851858496665955, 0.7783298492431641, -0.28612393140792847, 0.053296785801649094, 0.32756465673446655, -0.1888803094625473, -0.1386842131614685, 0.3595399260520935, 0.6086311936378479, 1.1114537715911865, -0.3046001195907593, -0.02419777773320675, 0.5011532306671143, -0.35479792952537537, 0.4144849479198456, 0.031124085187911987, -0.4803386926651001, 0.020529743283987045, -0.010476158000528812, 0.7011899948120117, 0.06440690159797668, -0.7210980653762817, 0.24203045666217804, -0.060828808695077896, -0.25382000207901, -0.5903627872467041, 0.29409563541412354, -0.156498983502388, 0.13518176972866058, 0.37915337085723877, -0.0862564966082573, 0.01772242784500122, -0.8725908398628235, 0.2739179730415344, 0.4423002600669861, -0.4215877950191498, -0.048103298991918564, 0.7386281490325928, -0.10688429325819016, -0.311463326215744, 0.5673723816871643, 0.15804417431354523, -0.2782735824584961, 0.6120259761810303, 0.575861394405365, 0.5701414942741394, -0.19473659992218018, 0.39931270480155945, 0.507561206817627, -0.11622271686792374, -0.13772810995578766, 0.4637778699398041, -0.33504197001457214, -0.6925188899040222, -0.1947270929813385, -0.3769092857837677, -0.8042214512825012, 0.06655346602201462, -0.8037903308868408, 0.0666692852973938, -0.5424001216888428, -0.14349590241909027, -0.27153244614601135, -0.04223672300577164, -0.5420608520507812, 0.450334757566452, -0.21221299469470978, 0.5326477885246277, -0.5314071178436279, 0.5091007947921753, 0.5390137434005737, -0.5426334142684937, -0.9138786792755127, 0.26686927676200867, -0.17061686515808105, -0.5701690912246704, 0.2963641285896301, -0.038269493728876114, -0.13299468159675598, 0.020837882533669472, -0.7686480283737183, -0.7403361201286316, 1.1086069345474243, 0.47623977065086365, -0.3499593436717987, 0.01881149597465992, 0.1927977353334427, 0.702578604221344, -0.23303456604480743, 0.1416168212890625, 0.4974645674228668, 0.09327135980129242, 0.3745657205581665, -0.7464286088943481, 0.039126381278038025, -0.2439606934785843, 0.033541835844516754, 0.12388793379068375, -0.4151422679424286, 0.6258094310760498, -0.05951078608632088, -0.343912810087204, 0.6120805740356445, 0.8557160496711731, 0.5238060355186462, 0.5404086709022522, 0.34042346477508545, 0.42245784401893616, 0.9224741458892822, -0.282248854637146, 1.1314364671707153, -0.42769861221313477, 0.21586231887340546, 1.3676385879516602, -0.18601711094379425, 0.694621741771698, 0.45528697967529297, -0.05014387145638466, 0.7298814654350281, 0.5692263245582581, 0.23847156763076782, 0.2346106469631195, -0.10104060173034668, -0.4710666835308075, -0.30831828713417053, -0.12013270705938339, -0.7511773109436035, 0.4088910222053528, -0.1468828171491623, -0.25816306471824646, -0.07471887022256851, -0.2702813148498535, -0.06011039763689041, 0.3524309992790222, -0.13759514689445496, 1.0063618421554565, -0.3968829810619354, -0.9203789234161377, 1.1307764053344727, -0.45445671677589417, 0.09399040043354034, -0.7739457488059998, -0.2552991807460785, -0.43482911586761475, -0.1598018854856491, 0.1204029992222786, -0.4781695306301117, 0.31214526295661926, -0.24394723773002625, -0.3415786325931549, 0.23974105715751648, 0.36603859066963196, -0.5463662147521973, -0.2705792188644409, -0.41121914982795715, 0.6735963225364685, -0.03004111349582672, -0.0338250994682312, -0.3985694348812103, -0.15385675430297852, -0.147744819521904, -0.013973972760140896, 0.12096249312162399, 0.25456175208091736, -0.17264845967292786, 0.549187183380127, 0.6381353735923767, -0.1568390280008316, 0.07692968100309372, 0.08900786936283112, 0.721888542175293, -0.7126646041870117, -0.5117430090904236, -0.5730797648429871, 0.4630450904369354, -0.20477765798568726, -0.33391711115837097, 0.6568787097930908, 0.7660356760025024, 0.8407444953918457, 0.12767978012561798, 0.7528498768806458, 0.12224407494068146, 0.5319240689277649, -0.5504275560379028, 0.4473161995410919, -0.404399037361145, 0.13761934638023376, -0.05203137919306755, -0.8824874758720398, 0.17591118812561035, 0.24101729691028595, -0.16835488379001617, 0.19006040692329407, 0.5066941380500793, 0.9154821634292603, 0.09388425946235657, 0.5505324602127075, 0.41789862513542175, 0.017161471769213676, 0.3221895694732666, 0.2479574978351593, 1.1340166330337524, -0.5331899523735046, 0.5470570921897888, -0.3057781457901001, 0.14656999707221985, -0.10433381050825119, -0.40977421402931213, -0.5554877519607544, -0.7906425595283508, -0.19877970218658447, -0.710834264755249, 0.49827975034713745, 0.9952940940856934, 0.720396101474762, -1.0491912364959717, -0.07442539185285568, -0.39709416031837463, -0.036672260612249374, -0.19958984851837158, -0.2408628612756729, 0.34238481521606445, -0.52425217628479, -0.6975864171981812, 0.3442012667655945, -0.14815238118171692, 0.36085811257362366, -0.30263403058052063, -0.15008382499217987, -0.3708372116088867, 0.2749391198158264, 0.35852673649787903, 0.7694910168647766, -0.606253445148468, -0.5843897461891174, -0.032581575214862823, 0.03260398656129837, 0.5207366943359375, 0.781716525554657, -0.8760706186294556, 0.7470008730888367, 0.3708658218383789, 0.7377310991287231, 0.6410416960716248, 0.5988105535507202, 0.8630669713020325, -0.8831536173820496, 0.039313603192567825, 0.39931467175483704, 0.09045308083295822, 0.42772752046585083, -0.4704701006412506, 0.4070616066455841, 0.14888736605644226, -0.6439756155014038, -0.8181064128875732, 0.2508965730667114, -1.0286316871643066, -0.2182028442621231, 0.9741834402084351, -0.028129836544394493, -0.07517446577548981, -0.4157341420650482, -0.5512398481369019, 0.402597039937973, -0.1343115121126175, 1.2112263441085815, 0.4811473488807678, -0.29290443658828735, -0.0958847850561142, -0.5937874913215637, 0.5124858021736145, 0.6211344003677368, -0.8467513918876648, -0.037133585661649704, 0.7640817761421204, 0.2944415807723999, 0.08461140841245651, 0.7497316598892212, -0.01596624217927456, 0.7744368314743042, 0.2818683385848999, -0.07321195304393768, 0.061946090310811996, -0.17580671608448029, 0.0377027653157711, 0.3807861804962158, 0.1690026968717575, -0.13914430141448975 ]
http://arxiv.org/abs/2404.11095v1
http://arxiv.org/pdf/2404.11095v1
Inductive-Deductive Strategy Reuse for Multi-Turn Instructional Dialogues
2024-04-17T06:26:32
2024-04-17T06:26:32
Jiao Ou, Jiayu Wu, Che Liu, Fuzheng Zhang, Di Zhang, Kun Gai
cs.CL
cs.CL, cs.AI
Aligning large language models (LLMs) with human expectations requires high-quality instructional dialogues, which can be achieved by raising diverse, in-depth, and insightful instructions that deepen interactions. Existing methods target instructions from real instruction dialogues as a learning goal and fine-tune a user simulator for posing instructions. However, the user simulator struggles to implicitly model complex dialogue flows and pose high-quality instructions. In this paper, we take inspiration from the cognitive abilities inherent in human learning and propose the explicit modeling of complex dialogue flows through instructional strategy reuse. Specifically, we first induce high-level strategies from various real instruction dialogues. These strategies are applied to new dialogue scenarios deductively, where the instructional strategies facilitate high-quality instructions. Experimental results show that our method can generate diverse, in-depth, and insightful instructions for a given dialogue history. The constructed multi-turn instructional dialogues can outperform competitive baselines on the downstream chat model.
[ -0.23676247894763947, -0.9903867244720459, 0.5845380425453186, 0.16025464236736298, -0.2953503727912903, 0.36119604110717773, -0.4226246476173401, 0.05163288116455078, 0.051057279109954834, 0.6794239282608032, -0.7369858622550964, -0.5050382614135742, -0.2854486107826233, -0.17110614478588104, -0.38930460810661316, 0.7393004894256592, 0.06332173943519592, 0.14327123761177063, -0.2367413341999054, 0.17443294823169708, -0.5056628584861755, -0.585281252861023, -0.40728557109832764, -0.3262069523334503, 0.46751296520233154, 0.9442803859710693, 0.5492532253265381, 0.37004178762435913, 0.18827293813228607, 0.2893197536468506, 0.18740274012088776, 0.388614684343338, -0.5962920784950256, 0.3363818824291229, -0.15307343006134033, -0.39919939637184143, -0.2583228051662445, 0.23760268092155457, 0.6702151894569397, 0.5355989933013916, -0.6778865456581116, -0.029098404571413994, 0.25038790702819824, 0.16675488650798798, -0.4388733506202698, 0.07486560940742493, -0.6271098256111145, -0.08386930078268051, 0.23665334284305573, -0.3532802164554596, -0.6811733841896057, -0.49905925989151, 0.3899608850479126, -0.7041356563568115, 0.04489012062549591, -0.32892757654190063, 0.5184057950973511, 0.12295828014612198, -0.2025979459285736, -0.38831791281700134, -1.1833709478378296, 0.9589383602142334, -1.0270463228225708, 0.07732279598712921, 0.002912659663707018, 0.4457840323448181, -0.28642112016677856, -0.587117075920105, -0.5010842084884644, -0.2549770772457123, 0.1255747228860855, 0.180825337767601, 0.008726590313017368, 0.09017329663038254, 0.2410832643508911, -0.0008718694443814456, -0.05814283713698387, 0.4439624845981598, -0.27580031752586365, 0.13767436146736145, 0.7619622945785522, 0.609481930732727, 0.2617533504962921, 0.11451781541109085, -0.6096375584602356, -0.18822051584720612, -0.7522739768028259, 0.21604661643505096, 0.2511354386806488, 0.408184289932251, -0.10661239176988602, 0.5238863825798035, -0.2517075538635254, 0.4896352291107178, 0.24273106455802917, -0.5734359622001648, 0.10813076794147491, -0.1894989311695099, -0.06185252219438553, 0.2865321934223175, 0.6135774254798889, 0.3381531238555908, 0.2819577157497406, -0.13567234575748444, -0.021803518757224083, -0.16437625885009766, 0.5635559558868408, -0.902312159538269, -0.04057900980114937, 0.1592051237821579, -0.2681877911090851, -0.3043355345726013, -0.26755210757255554, -0.9940885305404663, -0.1787695586681366, -0.734130859375, 0.31021973490715027, -0.5652602314949036, -0.27524372935295105, 0.17304342985153198, 0.051895949989557266, 0.5125709176063538, 0.5236079096794128, -0.8663350939750671, 0.27463191747665405, 0.7081210017204285, 0.4514957070350647, -0.11065100878477097, -0.3460613489151001, -0.6109825968742371, 0.4132991433143616, -0.20950055122375488, 0.623877227306366, -0.8230456709861755, -0.5423228144645691, 0.3381849229335785, -0.2967919707298279, -0.06809283047914505, -0.5205912590026855, 0.661090612411499, -0.07765267044305801, 0.3806811273097992, -0.1250103861093521, -0.7292096614837646, -0.22813332080841064, 0.3433780372142792, -0.41475412249565125, 0.4937502443790436, -0.07794839888811111, -0.3213578760623932, 0.004239235073328018, -0.7274057865142822, -0.6446507573127747, 0.07888586819171906, -0.21345235407352448, -0.21360161900520325, 0.06309417635202408, 0.1634228527545929, 0.41267967224121094, -0.5517066121101379, 0.3090537190437317, -0.09533800184726715, -0.4925070106983185, 0.5069863796234131, -0.8152130246162415, 0.7490736842155457, 0.05821707099676132, -0.41213202476501465, -0.0025369320064783096, -0.5235997438430786, 0.2542765736579895, 0.09558475017547607, -0.528989851474762, -0.23418007791042328, 0.10748042911291122, -0.5776885151863098, 0.1214984804391861, -0.11478552967309952, -0.3878747820854187, 0.39022526144981384, -0.3840312659740448, 0.5505818724632263, 0.5070582628250122, 0.2662027180194855, 0.46020084619522095, -0.24246813356876373, 0.5939217209815979, 0.08213652670383453, 0.34121978282928467, -0.3576287031173706, -0.2394719421863556, -0.8147271871566772, -0.5704611539840698, -0.14059853553771973, 0.7878168225288391, -0.5779386162757874, 0.07785259187221527, -0.17652682960033417, -0.5205996632575989, -0.6481223106384277, 0.215758815407753, 0.43800851702690125, 0.2623751759529114, 0.5251240134239197, -0.06760048121213913, -0.18092438578605652, -0.7940481901168823, -0.16950662434101105, -0.0958794355392456, 0.13783906400203705, 0.3296864330768585, 0.18960677087306976, -0.23296277225017548, 0.697016716003418, -0.43589526414871216, 0.12111589312553406, -0.5600826144218445, 0.3910176157951355, -0.1797972470521927, 0.5442580580711365, 0.08086860179901123, -0.4898083508014679, -0.32880935072898865, -0.527650773525238, -0.9055502414703369, 0.1471964567899704, -0.5261949300765991, -0.4977262318134308, 0.02959340251982212, 0.4589676856994629, -0.6898807287216187, 0.40161147713661194, 0.07055159658193588, 0.1886407732963562, 0.49660786986351013, -0.13480651378631592, 0.24061015248298645, -1.062856674194336, -0.6048728823661804, -0.01029016263782978, 0.231930673122406, -0.646084189414978, -0.061033397912979126, -0.26056790351867676, -0.1781587451696396, -0.5534897446632385, 0.3523280918598175, -0.40142321586608887, 0.21540430188179016, 0.013399279676377773, 0.38008397817611694, 0.23334474861621857, 0.785580039024353, 0.05150913819670677, 0.5199888944625854, 0.211149662733078, -0.6384515762329102, 0.6283599138259888, 0.2924465537071228, -0.5875096321105957, 0.6619377732276917, -0.736851155757904, 0.10060495138168335, 0.02337854541838169, 0.27847978472709656, -1.1256576776504517, 0.0011222019093111157, 0.24798274040222168, -0.12172897905111313, 0.5009937882423401, -0.20082800090312958, -0.38982921838760376, -0.10322556644678116, -0.2723759710788727, 0.19849532842636108, 0.604663074016571, -0.6575664281845093, 0.8192676901817322, 0.21145249903202057, -0.2923111617565155, -0.5838763117790222, -0.37251216173171997, 0.11041354387998581, -0.4953555762767792, -0.4902222156524658, 0.4861254394054413, 0.04338100552558899, -0.20617017149925232, -0.14882171154022217, 0.14305046200752258, 0.10529769212007523, 0.2850552201271057, 0.26057925820350647, 0.327250599861145, -0.15128421783447266, 0.05468235909938812, 0.2847485840320587, 0.07256686687469482, 0.2180391103029251, -0.27081823348999023, 0.5132686495780945, 0.2282726764678955, -0.5902131199836731, -0.7516382336616516, 0.7441139221191406, 0.7560272812843323, -0.3486010730266571, 0.5796282887458801, 0.4592011570930481, -0.15468136966228485, -0.2382204532623291, -0.7597503066062927, -0.5643668174743652, -0.40394142270088196, 0.39496904611587524, -0.25359630584716797, -0.603234589099884, 0.29312044382095337, -0.43897196650505066, 0.5711122155189514, -0.21049591898918152, 0.5447644591331482, -0.4210776090621948, 1.116607666015625, 0.3317275047302246, 0.33251848816871643, 0.4541126787662506, -0.5341829061508179, 0.46593889594078064, -0.912022590637207, -0.5698940753936768, -0.3645516037940979, -0.4905239939689636, -0.1812717467546463, -0.4435376822948456, -0.022545889019966125, 0.26061350107192993, -0.5723173022270203, 0.1416429728269577, -0.31342318654060364, 0.2832789421081543, 0.9220063090324402, 0.03897637873888016, 0.4072748124599457, 0.25593820214271545, -0.24692925810813904, -0.1799824982881546, -0.8120806813240051, -0.7074597477912903, 0.8099033236503601, 0.33412498235702515, 1.3249090909957886, 0.20220784842967987, 1.0586771965026855, -0.0012273237807676196, 0.3614210784435272, -0.78667151927948, 0.6949557065963745, -0.004963832441717386, -0.40293532609939575, -0.4828387498855591, -0.4371313154697418, -0.7755644917488098, 0.2176901251077652, -0.34933552145957947, -0.6009706258773804, -0.10413806885480881, 0.15935839712619781, -0.459109902381897, 0.21383030712604523, -0.7680268883705139, 0.9837188124656677, -0.5802907943725586, -0.42727503180503845, -0.45935723185539246, -0.34794753789901733, 0.30937573313713074, 0.43567460775375366, -0.014020388945937157, -0.0183480903506279, 0.18349918723106384, 0.5922713279724121, -0.3191137909889221, 1.175934076309204, -0.25763168931007385, -0.3139018714427948, 0.8183432817459106, 0.21242591738700867, 0.4499686360359192, 0.014166703447699547, 0.36054179072380066, -0.20473888516426086, -0.1904703825712204, -0.19849932193756104, -0.9000167846679688, 0.6970025300979614, -0.9350700378417969, -1.1359951496124268, -0.005475581623613834, -0.3321716785430908, -0.07665728032588959, -0.19084765017032623, 0.15023258328437805, 0.801079273223877, -0.4858095049858093, 0.03329388052225113, 0.7203383445739746, -0.3335856795310974, 0.18207408487796783, 0.580227792263031, 0.1849968433380127, -0.2659919261932373, 1.077095866203308, 0.012261354364454746, 0.6552873253822327, 0.4004369080066681, 0.18910352885723114, -0.2979826331138611, -0.2609633207321167, -0.5120782256126404, 0.26625484228134155, -0.7164279222488403, -0.2478504776954651, -0.5462961792945862, -0.24764598906040192, -0.08366113156080246, -0.14894530177116394, -0.3084295988082886, -0.38887399435043335, -0.27832329273223877, -0.10034237056970596, 0.20861348509788513, 0.33479738235473633, 0.12435571104288101, 0.35706135630607605, -0.8520296812057495, 0.11168140918016434, 0.7289325594902039, -0.02575199492275715, 0.3612346351146698, -0.7178303003311157, -0.28664249181747437, 0.49637138843536377, -0.6620335578918457, -0.7648176550865173, 0.20481927692890167, 0.08786813169717789, 1.0541598796844482, 0.33535873889923096, 0.21903888881206512, 0.550748884677887, -0.49214670062065125, 0.6190799474716187, 0.18745240569114685, -0.7678708434104919, 0.47281789779663086, 0.041128501296043396, 0.2196003943681717, 0.4590331017971039, 0.46714290976524353, -0.4088206887245178, -0.4648331105709076, -0.4683948755264282, -0.8143852949142456, 0.5545157790184021, -0.16484753787517548, 0.5111315846443176, -0.12294158339500427, 0.43357083201408386, -0.009925036691129208, 0.06208486109972, -0.2615397870540619, 0.013913236558437347, -0.4233435094356537, -0.31947702169418335, 0.2845178246498108, -0.3518090546131134, -0.42421722412109375, -0.14588294923305511, 0.5359158515930176, -0.040592364966869354, 0.2517731189727783, -0.03238598629832268, -0.13417094945907593, 0.2025938779115677, 0.5412272214889526, 0.5529730319976807, 0.48365315794944763, -0.10699311643838882, -0.08388789743185043, 0.11566295474767685, -0.23578575253486633, 0.37337517738342285, -0.1995926946401596, -0.02970266155898571, -0.18899746239185333, 0.39944401383399963, 0.6485793590545654, 0.6156994104385376, -0.82923424243927, 0.25173312425613403, -0.08047263324260712, -0.13059590756893158, -0.44836458563804626, 0.3838825225830078, 0.316585898399353, 0.44545620679855347, 0.18622176349163055, -0.33125248551368713, -0.03902040794491768, -0.8350384831428528, -0.0014108000323176384, 0.5579942464828491, -0.3247467875480652, -0.02180679328739643, 0.34530481696128845, 0.771657407283783, -0.5145536661148071, 1.1182490587234497, -0.168580561876297, -0.6185391545295715, 0.21398237347602844, 0.6526905298233032, 0.8938643932342529, -0.17347103357315063, 0.5456023812294006, 0.5388347506523132, 0.01956629380583763, -0.15077359974384308, -0.041361771523952484, 0.013382219709455967, -0.7476407885551453, -0.7250400185585022, -0.112630195915699, -0.6303635239601135, 0.042457688599824905, -0.6916225552558899, 0.20573824644088745, -0.45682138204574585, 0.059782445430755615, 0.06082270294427872, -0.16228632628917694, -0.47478270530700684, -0.14729005098342896, 0.24739615619182587, 0.729982852935791, -0.5320627093315125, 0.6426405906677246, 0.2908796966075897, -0.578550398349762, -0.759699285030365, -0.05622013285756111, 0.013741862960159779, -0.6592172384262085, 0.7735751867294312, 0.07823636382818222, -0.5241764187812805, -0.16189800202846527, -0.8025320768356323, -0.38316333293914795, 1.1168274879455566, 0.14893442392349243, -0.5290709733963013, -0.2840568423271179, 0.0011834547622129321, 0.2924390733242035, -0.8807331323623657, 0.19616462290287018, 0.49411243200302124, -0.022683486342430115, 0.34030383825302124, -0.33457061648368835, -0.002980957506224513, 0.02408766746520996, -0.03062736988067627, -0.0412420853972435, -0.4566556513309479, 0.7655063271522522, -0.6920168995857239, -0.41164782643318176, 0.09402575343847275, 0.5686957240104675, 0.27271199226379395, 0.11149241775274277, 0.5063693523406982, 0.5015185475349426, 0.5027029514312744, 0.10117145627737045, 0.7826694250106812, -0.09878528118133545, 0.06775709986686707, 1.4270521402359009, -0.4467903971672058, 0.8452237844467163, 0.25525104999542236, 0.1854315549135208, 0.9063310623168945, 0.10775566101074219, 0.13650164008140564, 0.5249366164207458, 0.3968597650527954, -0.3671979606151581, -0.6377356648445129, -0.05756688117980957, -0.16490770876407623, 0.6189956068992615, 0.6498991250991821, -0.09365921467542648, -0.1796468198299408, -0.0167021956294775, 0.20128802955150604, 0.3598795235157013, 0.00855330191552639, 1.0760637521743774, -0.12022808194160461, -0.937613308429718, 0.8206157088279724, -0.11232219636440277, 0.5445862412452698, -0.37525734305381775, -0.5099336504936218, -0.2934992015361786, 0.31820204854011536, 0.0424482598900795, -0.8009270429611206, -0.22972343862056732, 0.10274045914411545, -0.09768655151128769, -0.08304049074649811, 0.20175205171108246, -0.7558351755142212, -0.46015697717666626, 0.18321071565151215, 0.5256737470626831, 0.07879717648029327, 0.21756573021411896, -0.5888171792030334, -0.06933281570672989, 0.17017604410648346, 0.002158080693334341, 0.2979561388492584, 0.6437059640884399, -0.04530981183052063, 0.95258629322052, 0.46504563093185425, -0.353759229183197, -0.030590618029236794, 0.43616387248039246, 0.8264416456222534, -0.6827442049980164, -0.02860124409198761, -0.8131541609764099, 0.6394744515419006, -0.2990424633026123, -0.29241999983787537, 0.5399733781814575, 0.3705839514732361, 0.875810444355011, 0.006365285255014896, 0.7295262813568115, 0.4619559645652771, 0.6077570915222168, -0.5053151845932007, 0.0956728532910347, -0.32883432507514954, 0.45709940791130066, -0.29563307762145996, -0.8849554061889648, 0.13492326438426971, 0.8464706540107727, -0.018131697550415993, -0.0812465026974678, 0.38959047198295593, 0.7098603248596191, -0.07419645041227341, 0.2275208830833435, 0.09471888840198517, 0.10599938780069351, 0.6440929770469666, 0.7770088911056519, 1.321435570716858, -0.009840443730354309, 0.8317070603370667, -0.23040206730365753, -0.43026453256607056, -0.569761335849762, -0.754037082195282, -1.114937663078308, -0.48336485028266907, -0.5692421197891235, -0.3770671486854553, -0.16440936923027039, 1.1595178842544556, 0.549376368522644, -0.3951488733291626, -0.4182637333869934, 0.2755131721496582, 0.2985731363296509, -0.5297302603721619, -0.22047139704227448, -0.028473053127527237, -0.5956766605377197, -0.6798900365829468, 0.35816994309425354, 0.22485291957855225, 0.21383772790431976, -0.5240809321403503, -0.22514164447784424, -0.36759424209594727, 0.39437323808670044, 0.777925968170166, 0.3066713213920593, -0.9301230907440186, -0.2054925113916397, 0.16517944633960724, -0.2777116894721985, -0.1836242377758026, 1.1379598379135132, -0.6955588459968567, 0.40047773718833923, 0.2744620740413666, 0.6616210341453552, 0.5404289960861206, 0.1610584855079651, 0.8258293867111206, -0.44247502088546753, -0.04368766397237778, 0.3733900785446167, 0.06113386154174805, 0.44128280878067017, -0.1303717941045761, 0.2809390723705292, -0.236475870013237, -0.33241891860961914, -0.7286047339439392, 0.34950166940689087, -0.9251657128334045, -0.34009817242622375, 1.0929784774780273, -0.42500168085098267, 0.21533887088298798, 0.03968217596411705, -0.40476348996162415, 0.2396785020828247, -0.5125377178192139, 0.9496464133262634, 0.6371615529060364, -0.13431847095489502, -0.2515285611152649, -0.4097783863544464, 0.3280033469200134, 0.27408307790756226, -0.8189670443534851, 0.42842936515808105, 0.4177955687046051, 0.10614470392465591, 0.3012274205684662, 0.2623097002506256, -0.14722569286823273, 0.0715009793639183, -0.06574808806180954, -0.07389143109321594, -0.1510467529296875, -0.6914145350456238, 0.13574276864528656, -0.16639716923236847, 0.07512776553630829, -0.23936092853546143 ]
http://arxiv.org/abs/2404.11086v2
http://arxiv.org/pdf/2404.11086v2
ViLLM-Eval: A Comprehensive Evaluation Suite for Vietnamese Large Language Models
2024-04-17T05:57:17
2024-04-18T07:41:23
Trong-Hieu Nguyen, Anh-Cuong Le, Viet-Cuong Nguyen
cs.CL
cs.CL, cs.AI
The rapid advancement of large language models (LLMs) necessitates the development of new benchmarks to accurately assess their capabilities. To address this need for Vietnamese, this work aims to introduce ViLLM-Eval, the comprehensive evaluation suite designed to measure the advanced knowledge and reasoning abilities of foundation models within a Vietnamese context. ViLLM-Eval consists of multiple-choice questions and predict next word tasks spanning various difficulty levels and diverse disciplines, ranging from humanities to science and engineering. A thorough evaluation of the most advanced LLMs on ViLLM-Eval revealed that even the best performing models have significant room for improvement in understanding and responding to Vietnamese language tasks. ViLLM-Eval is believed to be instrumental in identifying key strengths and weaknesses of foundation models, ultimately promoting their development and enhancing their performance for Vietnamese users. This paper provides a thorough overview of ViLLM-Eval as part of the Vietnamese Large Language Model shared task, held within the 10th International Workshop on Vietnamese Language and Speech Processing (VLSP 2023).
[ -0.3025103509426117, -1.1702467203140259, 0.6754355430603027, 0.3265601694583893, -0.0190940760076046, 0.4178829491138458, -0.3761844038963318, -0.2187362164258957, -0.23895765841007233, 0.8459262251853943, -0.25239142775535583, -0.7549709677696228, -0.5181455016136169, 0.07996585965156555, -0.6498034000396729, 0.6513810753822327, -0.2588355839252472, 0.0794702097773552, -0.5326343774795532, -0.16587629914283752, -0.5745729804039001, -0.4705316424369812, -0.30963727831840515, -0.39034560322761536, 0.12094426155090332, 0.24330350756645203, 0.340284526348114, 0.2822553515434265, 0.6266425848007202, 0.3279292583465576, -0.12390195578336716, 0.11959515511989594, -0.6688709855079651, 0.2655513286590576, -0.23877428472042084, -0.4099569022655487, -0.7274523377418518, -0.23158419132232666, 0.8163745403289795, 0.4445129334926605, -0.02753644622862339, 0.30661728978157043, 0.05676111578941345, 0.646724283695221, -0.7284479141235352, 0.10528671741485596, -0.665810763835907, -0.27032458782196045, 0.2060493379831314, -0.10661371797323227, -0.4309459328651428, -0.2958593964576721, 0.3464662730693817, -0.09596144407987595, -0.25151318311691284, -0.44360125064849854, 0.6687678098678589, 0.23043353855609894, -0.465316504240036, 0.17612551152706146, -0.6180052757263184, 0.9195743799209595, -0.3065791726112366, 0.4783633351325989, 0.14158612489700317, 0.4128110706806183, 0.1372041553258896, -0.6773739457130432, -0.2854686975479126, -0.4524877667427063, 0.22687757015228271, 0.1902112066745758, -0.3024199306964874, 0.3110147714614868, 0.03579317033290863, 0.2906220257282257, -0.8022550940513611, -0.046817149966955185, -0.5008007884025574, -0.07648774981498718, 0.8452944755554199, 0.31263187527656555, 0.15097816288471222, 0.022705256938934326, -0.7109507918357849, 0.104177325963974, -0.6401277184486389, -0.12374208867549896, -0.1299600452184677, 0.07593029737472534, -0.13476413488388062, 0.6827085614204407, -0.368608683347702, 0.9740434288978577, -0.6338168382644653, -0.12530796229839325, 0.2672432065010071, -0.45215901732444763, -0.49780693650245667, -0.13978512585163116, 0.5296213030815125, 0.25343775749206543, 0.4395759403705597, 0.28699567914009094, -0.6500930190086365, 0.17547398805618286, 0.1677810251712799, -0.45323798060417175, 0.1651623398065567, 0.39898428320884705, -0.33130574226379395, -0.26153984665870667, 0.17610113322734833, -0.5946834683418274, -0.18749429285526276, -0.6095204949378967, 0.7823488712310791, -0.2650938034057617, -0.511087954044342, 0.36649489402770996, -0.12582673132419586, 0.3707638382911682, 0.5172645449638367, -0.06242102012038231, 0.3477800488471985, 0.9634518027305603, 0.8694489598274231, -0.6746048331260681, -0.5272908210754395, -0.9023740887641907, -0.2308107316493988, -0.10765349119901657, 0.7096204161643982, -0.7804740071296692, -0.700359582901001, 0.20089749991893768, -0.10643841326236725, -0.2851419448852539, -0.6767362952232361, 0.47105538845062256, -0.3264017403125763, -0.14829370379447937, 0.08129028230905533, -0.7117347717285156, -0.1835232675075531, 0.36013394594192505, -0.6108717918395996, 1.0029114484786987, 0.5734162926673889, -0.4018614590167999, -0.11711243540048599, -0.5811886787414551, -0.14062467217445374, 0.39262545108795166, -0.0915428102016449, -0.16640490293502808, 0.25540855526924133, -0.021152229979634285, 0.539445161819458, -0.4248262047767639, 0.4491526484489441, -0.21945717930793762, -0.4363194406032562, 0.27482548356056213, -0.5037757158279419, 0.719645619392395, 0.19287429749965668, -0.30337145924568176, 0.5959950685501099, -0.8256866335868835, 0.3585178256034851, -0.13485532999038696, -0.48510482907295227, -0.1942605972290039, -0.46636274456977844, 0.37097012996673584, 0.1358194649219513, 0.560004472732544, 0.008650128729641438, 0.13749252259731293, -0.12193261831998825, 0.2015831619501114, 0.751061201095581, -0.1837274730205536, 0.08374461531639099, -0.05130232125520706, 0.9311743378639221, -0.44287335872650146, 0.08695400506258011, -0.4201110005378723, -0.4010314643383026, -0.9225396513938904, -0.3220508098602295, 0.20467522740364075, 0.7363645434379578, -0.5379908680915833, 0.44520673155784607, -0.2180977165699005, -0.7626118659973145, -0.6914013624191284, 0.26244914531707764, 0.6729145646095276, 0.19827690720558167, 0.3322656452655792, 0.0008804813260212541, -0.6357499957084656, -0.861729621887207, -0.21908557415008545, -0.44585660099983215, 0.17593006789684296, 0.18310165405273438, 0.6977760195732117, -0.5459591150283813, 0.7980624437332153, -0.4674423933029175, -0.048682283610105515, -0.5921750664710999, 0.01154314074665308, 0.028242526575922966, 0.10753786563873291, 0.3694835901260376, -0.8990287184715271, -0.41959524154663086, 0.2942264974117279, -0.6663105487823486, -0.4332658350467682, 0.3310188353061676, -0.0821867361664772, 0.22038298845291138, 0.39831069111824036, -0.5230557322502136, 0.2874513864517212, 0.607321560382843, -0.5149186849594116, 0.9994707107543945, -0.13282372057437897, 0.03218571096658707, -0.5963324904441833, 0.06780685484409332, -0.01940971612930298, -0.2838797867298126, -0.5197681188583374, 0.4237261712551117, 0.03440501168370247, 0.014943897724151611, -0.6230519413948059, 0.9810197949409485, -0.23247018456459045, -0.0893995612859726, -0.2665387690067291, 0.09056199342012405, 0.1877490133047104, -0.11230534315109253, 0.33661630749702454, 0.7457732558250427, 0.6630341410636902, -0.47570833563804626, 0.5711382627487183, -0.15946030616760254, -0.23581412434577942, 0.701852560043335, -0.649285078048706, 0.03179609030485153, 0.23863434791564941, -0.16475775837898254, -0.7876449227333069, -0.09132542461156845, -0.5537715554237366, -0.25195249915122986, 0.12848855555057526, 0.1292245090007782, 0.10136640071868896, -0.44074854254722595, -0.3262547552585602, 0.24126964807510376, 0.4416104853153229, -0.3646114766597748, 0.6717078685760498, 0.4690120220184326, -0.10476923733949661, -0.6089045405387878, -0.27112939953804016, 0.13698148727416992, -0.5122783184051514, -0.7638101577758789, 0.003883425146341324, -0.2206251621246338, -0.83135586977005, -0.15000185370445251, 0.12890321016311646, -0.2522852420806885, 0.25574660301208496, 0.03502430394291878, 0.28315094113349915, -0.7534120678901672, 0.17318905889987946, -0.29929378628730774, -0.1459813117980957, 0.1634659767150879, -0.3481065332889557, 0.6294490694999695, -0.8506379723548889, -0.31565678119659424, -0.04982766881585121, 0.22962839901447296, 0.6613234281539917, -0.5407124757766724, 0.29037871956825256, 0.7016128897666931, -0.4305768609046936, -0.19381748139858246, -0.8644635677337646, 0.2313290238380432, -0.4024908244609833, 0.8647089004516602, -0.43320655822753906, -1.0671361684799194, 0.16736356914043427, -0.0570426881313324, -0.09025003015995026, 0.475827157497406, 0.8788031935691833, 0.353468656539917, 0.7978911995887756, 0.7266128659248352, -0.17395570874214172, 0.1401853859424591, -0.3465728461742401, -0.1845685988664627, -0.7296397686004639, -0.2186906337738037, -0.46032607555389404, 0.2908823788166046, -0.1756010800600052, -0.9157608151435852, 0.16471436619758606, 0.12083640694618225, -0.19552528858184814, 0.32777297496795654, -0.3405473828315735, 0.41548317670822144, 0.21802620589733124, -0.315145343542099, 0.4048612415790558, -0.11324844509363174, -0.02817339263856411, 0.19314150512218475, -0.2879810929298401, -0.8404508233070374, 1.128447413444519, 0.3156552016735077, 0.6965533494949341, -0.2723657488822937, 0.6601693630218506, 0.2972751259803772, 0.1709669530391693, -0.7574261426925659, 0.6694136261940002, -0.042810630053281784, -0.11945082247257233, -0.3650476932525635, -0.2376605123281479, -0.7825127243995667, 0.4406093955039978, 0.06510521471500397, -0.8395851254463196, -0.3538830876350403, -0.13385850191116333, -0.23686498403549194, -0.019768258556723595, -0.7399420142173767, 0.9443039894104004, -0.6656420826911926, -0.25707703828811646, -0.40293875336647034, -0.3053781986236572, 0.6367434859275818, -0.25266867876052856, 0.11614713817834854, -0.1049480140209198, -0.15002310276031494, 0.5034467577934265, -0.11596713215112686, 0.24137748777866364, 0.008511791005730629, -0.17211365699768066, 0.6033732891082764, -0.02875061146914959, 0.13880270719528198, 0.3158388137817383, -0.299625426530838, 0.14540910720825195, -0.04805225506424904, -0.08704941719770432, -0.45075732469558716, 0.8790917992591858, -0.7399218082427979, -0.762576162815094, -0.14505250751972198, -0.22447550296783447, -0.14372041821479797, 0.11440486460924149, -0.0560377836227417, 0.2063324749469757, -0.623052179813385, 0.3390551805496216, 0.7725083231925964, -0.48786503076553345, 0.07354142516851425, 0.6147566437721252, -0.7510414123535156, -0.3925431966781616, 1.0691523551940918, 0.008656328544020653, 0.4486760199069977, 0.6612871885299683, 0.2601194977760315, -0.330596387386322, -0.4485643804073334, -0.18203701078891754, 0.03750694543123245, -0.7606247067451477, -0.09245658665895462, -0.9368535876274109, -0.6277662515640259, -0.17525959014892578, -0.22420893609523773, -0.4214393198490143, -0.2466903179883957, -0.04876941815018654, -0.37853479385375977, 0.19060875475406647, 0.8854090571403503, 0.15776705741882324, 0.07698608934879303, -0.7152175307273865, 0.33619099855422974, 0.46425914764404297, 0.008046875707805157, -0.23445060849189758, -0.3020090162754059, -0.2172887921333313, -0.2101152241230011, -0.21248501539230347, -0.6615400314331055, 0.31591343879699707, 0.20745134353637695, 0.7001802921295166, 0.36666181683540344, -0.22424621880054474, 0.5311867594718933, -0.1913289576768875, 0.9274917244911194, 0.0037872842513024807, -1.106099009513855, 0.7668092846870422, -0.22661562263965607, 0.3748708665370941, 0.3346889317035675, -0.01558006927371025, -0.4319232702255249, -0.31554126739501953, -0.5705529451370239, -0.896733820438385, 0.2655985951423645, 0.15140478312969208, 0.027887625619769096, 0.1243489608168602, -0.021464888006448746, 0.19846725463867188, 0.29817524552345276, -0.6159882545471191, 0.007254809141159058, 0.14996129274368286, 0.07792776823043823, -0.07259051501750946, -0.4628072679042816, 0.047415591776371, -0.3643256723880768, 0.5309470891952515, -0.20576727390289307, 0.09256786853075027, 0.009638173505663872, -0.31751787662506104, 0.08083807677030563, 0.36230218410491943, 0.7067659497261047, 1.1086920499801636, -0.09176819771528244, 0.23123812675476074, 0.5028625130653381, -0.37520453333854675, 0.1753751039505005, 0.06625761836767197, 0.19380007684230804, 0.10756415128707886, 0.7953767776489258, 0.8953114151954651, 0.04303228110074997, -1.1937391757965088, 0.6725441813468933, -0.13250911235809326, 0.03730625659227371, -0.3614341616630554, 0.35008612275123596, 0.21357524394989014, 0.23239754140377045, 0.32565146684646606, -0.279116690158844, 0.12679776549339294, -0.3675508201122284, 0.3922116160392761, 0.4224860370159149, -0.6723847389221191, -0.2845469117164612, 0.4061466157436371, 0.21988928318023682, -0.4365190863609314, 0.414371520280838, 0.19084878265857697, -0.8484810590744019, 0.9148969054222107, 0.2976894974708557, 1.1132878065109253, -0.7124308347702026, 0.32390522956848145, 0.3193953335285187, 0.31050974130630493, -0.10674334317445755, 0.5876690745353699, 0.10588283091783524, -0.4346146583557129, -0.3921677768230438, -1.0193514823913574, -0.15089580416679382, 0.44994375109672546, -0.5936785936355591, 0.7947988510131836, -0.01409289799630642, 0.05637970194220543, -0.507489800453186, -0.012289625592529774, -0.9524654150009155, 0.37355732917785645, 0.1589563935995102, 1.0563284158706665, -0.5916429162025452, 0.742737889289856, 0.8209646940231323, -0.09027361869812012, -0.5046197175979614, -0.2652681767940521, 0.14756304025650024, -0.9563723206520081, 0.7121530175209045, 0.3990737795829773, -0.16677521169185638, -0.2040718048810959, -0.2734772264957428, -0.6756340265274048, 0.9044395685195923, 0.5497324466705322, -0.557263970375061, 0.17953860759735107, 0.31999269127845764, 0.6580089926719666, -0.5905542373657227, 0.5231840014457703, 0.9011616706848145, 0.7468916773796082, -0.2960127890110016, -1.153273105621338, -0.28068533539772034, -0.3342546224594116, 0.1103237196803093, -0.1657588630914688, -0.6597440242767334, 0.8235968351364136, -0.27612099051475525, 0.06554751098155975, 0.2606128454208374, 0.608687162399292, 0.5706570744514465, 0.30052900314331055, 0.4717693626880646, 0.23925629258155823, 0.7042561769485474, -0.13733959197998047, 0.983577311038971, -0.3173463046550751, 0.36417171359062195, 0.9639501571655273, -0.3586408495903015, 1.0182560682296753, 0.31835517287254333, -0.27324679493904114, -0.04677743464708328, 0.43517428636550903, 0.15412959456443787, 0.11106571555137634, 0.4374234974384308, -0.3339467942714691, -0.5788552165031433, -0.26468396186828613, -0.5513316988945007, 0.7338224053382874, 0.5771756172180176, -0.14283688366413116, -0.06109992042183876, 0.09449854493141174, -0.2773424983024597, 0.10853969305753708, -0.3173711597919464, 0.5678629279136658, 0.4615885615348816, -0.6912826895713806, 0.584901750087738, -0.04603035748004913, 0.44727838039398193, -0.7070678472518921, -0.26885536313056946, 0.014583776704967022, 0.19993214309215546, -0.10410821437835693, -1.0171622037887573, 0.1655440628528595, 0.04406849667429924, 0.0008258859161287546, -0.10870496928691864, 0.9792598485946655, -0.5599619746208191, -0.6537728905677795, 0.816863477230072, 0.8351653218269348, 0.06803864985704422, -0.3214935064315796, -0.7784804701805115, 0.3992483913898468, -0.12435717135667801, -0.43655309081077576, 0.09084481000900269, 0.39396971464157104, -0.23809508979320526, 0.7806456089019775, 0.30636441707611084, 0.1243206262588501, -0.09983740746974945, 0.2000519037246704, 0.6323432326316833, -0.6013787388801575, -0.4173128604888916, -1.0742541551589966, 0.7507413029670715, -0.009020429104566574, -0.48577430844306946, 0.6760733723640442, 0.8112246990203857, 0.8291319012641907, -0.09504075348377228, 1.1283857822418213, 0.30548855662345886, 0.2064916491508484, -0.6094511151313782, 0.6951945424079895, -0.6473610401153564, 0.36817511916160583, -0.5358771681785583, -1.1967180967330933, -0.05980948358774185, 0.5703622102737427, -0.010329988785088062, 0.09091465920209885, 0.673384964466095, 0.5486736297607422, 0.22553367912769318, -0.08017337322235107, 0.7579963803291321, 0.35127708315849304, 0.34245070815086365, 0.6051875948905945, 1.2166707515716553, -0.0881383866071701, 0.3442677855491638, 0.0013816438149660826, -0.1362808644771576, -0.3467147648334503, -0.5873525142669678, -0.8815791010856628, -0.6790019869804382, -0.4220801293849945, -0.3059728145599365, 0.23958328366279602, 0.883515477180481, 0.4685685336589813, -0.6686903238296509, -0.7189773917198181, 0.17864157259464264, 0.45340120792388916, -0.15101711452007294, -0.29050856828689575, 0.4197254776954651, -0.1539408564567566, -0.7402369976043701, 0.6659591794013977, 0.7685995697975159, -0.2200327068567276, -0.7228481769561768, -0.3941882252693176, -0.05580559000372887, -0.03268101066350937, 0.9541720151901245, -0.08618206530809402, -0.8805598020553589, -0.20891955494880676, 0.18244700133800507, -0.020644672214984894, -0.08809121698141098, 0.7231990098953247, -0.942021369934082, 0.7487339377403259, 0.6645719408988953, 0.7272666692733765, 0.15096314251422882, -0.21639220416545868, 0.8912354111671448, -0.31896284222602844, -0.1176600530743599, 0.24993067979812622, 0.6166077852249146, 0.3173190951347351, -0.2557055354118347, 0.8149179220199585, 0.015702737495303154, -0.4962317943572998, -1.1962374448776245, 0.043325453996658325, -0.9738079905509949, -0.1364484280347824, 1.512184977531433, -0.20702365040779114, -0.19975265860557556, -0.22205869853496552, -0.4225400388240814, -0.02967073582112789, -0.12028137594461441, 0.4586425721645355, 0.9142374396324158, 0.15593822300434113, -0.18848612904548645, -0.7147159576416016, 0.27970966696739197, 0.20157206058502197, -0.9297129511833191, 0.01807733252644539, 0.322923481464386, 0.10869097709655762, -0.001798840588890016, 0.6428694725036621, 0.05365685001015663, 0.46382108330726624, -0.36666637659072876, -0.21819980442523956, 0.2102256566286087, -0.5329399108886719, -0.5567000508308411, 0.16579307615756989, 0.18270719051361084, 0.378713458776474 ]
http://arxiv.org/abs/2404.13082v1
http://arxiv.org/pdf/2404.13082v1
TREACLE: Thrifty Reasoning via Context-Aware LLM and Prompt Selection
2024-04-17T05:56:49
2024-04-17T05:56:49
Xuechen Zhang, Zijian Huang, Ege Onur Taga, Carlee Joe-Wong, Samet Oymak, Jiasi Chen
cs.CL
cs.CL, cs.AI, cs.LG
Recent successes in natural language processing have led to the proliferation of large language models (LLMs) by multiple providers. Each LLM offering has different inference accuracy, monetary cost, and latency, and their accuracy further depends on the exact wording of the question (i.e., the specific prompt). At the same time, users often have a limit on monetary budget and latency to answer all their questions, and they do not know which LLMs to choose for each question to meet their accuracy and long-term budget requirements. To navigate this rich design space, we propose TREACLE (Thrifty Reasoning via Context-Aware LLM and Prompt Selection), a reinforcement learning policy that jointly selects the model and prompting scheme while respecting the user's monetary cost and latency constraints. TREACLE uses the problem context, including question text embeddings (reflecting the type or difficulty of a query) and the response history (reflecting the consistency of previous responses) to make smart decisions. Our evaluations on standard reasoning datasets (GSM8K, CSQA, and LLC ) with various LLMs and prompts show that TREACLE enables cost savings of up to 85% compared to baselines while maintaining high accuracy. Importantly, it provides the user with the ability to gracefully trade off accuracy for cost.
[ -0.4446050524711609, -0.7285274267196655, 0.8489817976951599, 0.5076269507408142, -0.23060642182826996, 0.0874151960015297, -0.2604858875274658, -0.2189277857542038, 0.1487065851688385, 0.7433310151100159, -0.5797335505485535, -0.16275328397750854, 0.07229028642177582, 0.12718090415000916, 0.2027735412120819, 0.6292933225631714, 0.01336764357984066, -0.3915110230445862, -0.14830097556114197, -0.39402779936790466, -1.1412800550460815, -0.056960973888635635, -1.0798145532608032, -0.16377735137939453, 0.6129229068756104, 0.7847832441329956, 0.5545003414154053, 0.5232239365577698, -0.10118497908115387, 0.3416406214237213, -0.09662510454654694, 0.37431904673576355, -0.06828588247299194, 0.33698317408561707, -0.7245972156524658, -0.40248575806617737, -0.23835265636444092, -0.08002247661352158, 0.11889996379613876, 0.43430304527282715, -0.18089178204536438, 0.09328969568014145, -0.097859688103199, 0.6986433267593384, -0.7650941610336304, 0.0551857091486454, -0.5557729601860046, -0.0708022341132164, -0.08363588154315948, -0.29597705602645874, -0.4543929696083069, -0.4501882493495941, 0.4087562561035156, -0.7985343337059021, -0.18882009387016296, 0.3411524295806885, 0.64169842004776, 0.50102698802948, -0.4433403015136719, -0.2906394898891449, -0.4527412950992584, 1.0156407356262207, -0.33771827816963196, 0.40801864862442017, 0.5169670581817627, 0.44825005531311035, -0.003001615172252059, -0.787265956401825, -0.42375317215919495, -0.4400010108947754, 0.06840339303016663, 0.15028202533721924, -0.08794531971216202, -0.07084948569536209, 0.1983838826417923, 0.16122233867645264, -0.6460307836532593, -0.06505756825208664, -0.16852611303329468, -0.1945929080247879, 0.500043511390686, 0.1604195386171341, 0.006825244519859552, -0.31229689717292786, -0.43100664019584656, -0.008308734744787216, -0.6642939448356628, 0.16986602544784546, -0.0147936400026083, 0.2600612938404083, -0.020672086626291275, 0.5686358213424683, -0.20120403170585632, 0.7762079834938049, 0.28683939576148987, 0.012430161237716675, -0.06405383348464966, -0.19086763262748718, -0.1335720270872116, 0.20065467059612274, 0.46154555678367615, 0.37034744024276733, 0.39028263092041016, 0.020035985857248306, -0.37887561321258545, -0.08687927573919296, 0.5208685994148254, -0.3097343444824219, -0.019367463886737823, 0.4307011663913727, -0.20196838676929474, -0.34796473383903503, -0.4825091063976288, -0.6034829020500183, -0.3506232798099518, -0.26932844519615173, 0.4374777376651764, -0.19070018827915192, -0.08157471567392349, 0.21507146954536438, -0.2433834820985794, -0.17440982162952423, 0.36736804246902466, -0.6979485154151917, 0.05989807844161987, 0.37083694338798523, 0.8116699457168579, -0.02105850540101528, -0.053806692361831665, -0.9259278774261475, 0.42636770009994507, -0.263787180185318, 0.8983455300331116, -0.527533769607544, -0.5386661291122437, 0.041419319808483124, -0.14364679157733917, 0.08802127838134766, -0.32350173592567444, 0.5935957431793213, -0.7245622873306274, 0.45166701078414917, -0.5025966167449951, -0.3668590784072876, -0.06218837946653366, 0.5294011235237122, -0.9118161201477051, 0.8189911246299744, 0.29176387190818787, -0.8370851278305054, 0.5888494849205017, -0.5830448269844055, -0.49190089106559753, 0.31499290466308594, 0.14076940715312958, -0.2029285728931427, 0.07655714452266693, 0.32216155529022217, 0.2586316466331482, -0.39118126034736633, 0.7138642072677612, -0.43644335865974426, -0.4591257870197296, 0.10661330819129944, -0.43761131167411804, 0.7675109505653381, 0.47558268904685974, -0.3464789092540741, 0.12369699776172638, -0.4202480614185333, -0.1414676308631897, 0.12931010127067566, -0.6405421495437622, -0.5743297338485718, -0.10418389737606049, -0.10282431542873383, 0.05455135554075241, 0.13499528169631958, -0.13896289467811584, 0.33901888132095337, -0.32475894689559937, 0.7903510332107544, 0.8680514097213745, -0.010936993174254894, 0.7216534614562988, -0.5757853984832764, 0.335586816072464, -0.27523380517959595, 0.1325194388628006, -0.09054464101791382, -0.2920690178871155, -0.5538855791091919, -0.0974116325378418, -0.015053863637149334, 0.6521421074867249, -1.2110114097595215, 0.06551158428192139, 0.009286687709391117, -0.18223072588443756, -0.03759877383708954, -0.18389266729354858, 0.18094447255134583, 0.8815699219703674, 0.5102185010910034, 0.15617692470550537, -0.32124465703964233, -0.7000651955604553, -0.5673803091049194, -0.4759794771671295, -0.05644427612423897, 0.7619650363922119, 0.2693548798561096, 0.01823202334344387, 1.0750473737716675, -0.5199798941612244, -0.030871793627738953, -0.6595616936683655, 0.20041099190711975, 0.243742436170578, 0.4541158080101013, 0.33611735701560974, -0.9799678921699524, -0.09644622355699539, -0.40060707926750183, -0.23209646344184875, -0.5092554688453674, -0.5600663423538208, -0.11141493171453476, 0.33206576108932495, 0.2995868921279907, -0.7138304710388184, 0.19651520252227783, 0.21230308711528778, -0.5294089913368225, 0.6447644233703613, -0.38507553935050964, 0.11340377479791641, -1.2309900522232056, 0.09940990805625916, 0.2637307047843933, -0.297228068113327, -0.2392295002937317, -0.11474436521530151, 0.2864921987056732, 0.12544207274913788, -0.33084192872047424, 1.0718985795974731, -0.10824595391750336, 0.01270407997071743, -0.015472575090825558, 0.18872395157814026, 0.3391399383544922, 0.5771030187606812, 0.2894328236579895, 1.2112817764282227, -0.004539813846349716, -0.9836766123771667, 0.30727511644363403, 0.249410018324852, -0.14951542019844055, 0.9342669248580933, -1.0098294019699097, -0.16843847930431366, 0.1352969855070114, 0.4104404151439667, -0.8215179443359375, -0.174881249666214, 0.2925548553466797, -0.24378949403762817, 0.19790862500667572, -0.09088250249624252, -0.21396879851818085, -0.46047940850257874, -0.3853820264339447, 0.48355787992477417, 0.14867296814918518, -0.7859004139900208, 0.7550816535949707, 0.455230176448822, -0.2552359104156494, -0.770176887512207, -0.6505091786384583, 0.17773565649986267, -0.49478042125701904, -0.4352514445781708, 0.31167009472846985, -0.2489892542362213, -0.20917850732803345, -0.029443202540278435, -0.3215598464012146, 0.035378288477659225, 0.32160428166389465, -0.08609052002429962, 0.5234823226928711, 0.010532969608902931, 0.5937561988830566, 0.13874997198581696, -0.3647718131542206, -0.015594934113323689, -1.1332948207855225, 0.5676737427711487, -0.23941358923912048, -0.11132729053497314, 0.04589568451046944, 0.15610691905021667, 0.3516618013381958, -0.33112165331840515, 0.36164942383766174, 0.2698860764503479, -0.1829611212015152, -0.34231114387512207, -0.8864498138427734, -0.02015266939997673, -0.5249062776565552, -0.02192201092839241, -0.4708757996559143, -1.1802747249603271, 0.2080659568309784, -0.20317764580249786, 0.24768558144569397, 0.1485525518655777, 0.29310739040374756, -0.07629330456256866, 0.8243855834007263, 0.28596368432044983, -0.07563421875238419, 0.5310004949569702, 0.0278713870793581, 0.005270507652312517, -0.5792800784111023, -0.23367764055728912, -0.5998463034629822, -0.11853822320699692, -0.5872348546981812, -0.3632364869117737, 0.5033977031707764, -0.1385187804698944, -0.7358360290527344, 0.3932514786720276, -0.2901158928871155, 0.53270423412323, 0.956036388874054, 0.17250226438045502, 0.2537778317928314, -0.1701156049966812, -0.42031458020210266, 0.05884206295013428, -0.7536077499389648, -0.5044423937797546, 0.7445189356803894, -0.0033019124530255795, 0.6446018815040588, 0.07092764228582382, 0.45395785570144653, 0.44892144203186035, 0.18754664063453674, -0.6612098813056946, 0.6244333386421204, 0.20176686346530914, -0.5952900052070618, -0.44456684589385986, -0.775023341178894, -0.8073652386665344, 0.1333898901939392, -0.05963582172989845, -0.7658622860908508, 0.013533291406929493, 0.421362042427063, -0.35331887006759644, 0.25736019015312195, -0.3314131200313568, 0.9286528825759888, -0.34305137395858765, -0.8922207355499268, -0.3439493477344513, -0.5948183536529541, 0.40474972128868103, 0.11843353509902954, 0.06616125255823135, 0.09185025840997696, -0.2853001356124878, 0.46794384717941284, -0.30960386991500854, 0.5038978457450867, -0.14758147299289703, 0.07309462130069733, 0.2511539161205292, 0.3869413435459137, 0.7052589058876038, 0.5834400653839111, 0.03652137145400047, -0.17734920978546143, -0.271994411945343, -0.38094842433929443, -0.3746459484100342, 0.7302538752555847, -0.22640058398246765, -0.8431383371353149, -0.4313983917236328, -0.5766846537590027, -0.592634379863739, 0.2243078649044037, 0.20270004868507385, 0.5597763061523438, 0.02436496876180172, 0.05010980740189552, 0.9788222908973694, -0.6770675778388977, 0.5161628723144531, 0.2760980725288391, 0.011433525010943413, -0.6487069725990295, 0.7062215209007263, -0.1383601725101471, 0.19658678770065308, 0.45981988310813904, 0.6033298373222351, -0.8183726668357849, -0.15423503518104553, -0.623419463634491, 0.3221946954727173, -0.49717774987220764, -0.14601975679397583, -0.7264573574066162, 0.37418073415756226, -0.07764863222837448, -0.5848963856697083, -0.27861472964286804, -0.6607058048248291, -0.10532381385564804, -0.1937999278306961, 0.2220541536808014, 0.23419779539108276, -0.1502838283777237, 0.16757024824619293, -0.8684116005897522, 0.1638481616973877, 0.6607974171638489, 0.41638830304145813, 0.04424624890089035, -0.40419238805770874, -0.03381474316120148, -0.2635762095451355, -0.20330026745796204, -0.7833889722824097, 0.25462618470191956, -0.25430673360824585, 0.48179274797439575, 0.42166414856910706, 0.4364831745624542, 0.6079413890838623, -0.30226653814315796, 0.7457559704780579, 0.18410685658454895, -1.0565149784088135, 0.6280442476272583, -0.2743844985961914, 0.5950450301170349, 0.7115775942802429, 0.07771114259958267, -0.8804750442504883, -0.29567569494247437, -0.5614286661148071, -0.8483383059501648, 0.5738734602928162, -0.058153968304395676, 0.03520532697439194, -0.22208361327648163, 0.03387441113591194, -0.011277209036052227, 0.2914923429489136, -0.48531901836395264, 0.05513724684715271, -0.2901585102081299, -0.02687458135187626, 0.04390687495470047, -0.3075988292694092, 0.07035153359174728, 0.03482505679130554, 0.5690816044807434, -0.2571425437927246, -0.006519237998872995, 0.10831496119499207, -0.14357773959636688, 0.022782180458307266, 0.42061957716941833, 0.628199577331543, 0.49333876371383667, -0.0010271869832649827, 0.2623288333415985, 0.3702610433101654, -0.18857444822788239, 0.09514633566141129, -0.11515285819768906, -0.18454168736934662, -0.11788254231214523, 0.22625921666622162, 0.6075554490089417, 0.5414575934410095, -0.9563484787940979, 0.4130547344684601, -0.32455897331237793, -0.039597608149051666, -0.2673775553703308, 0.12507255375385284, 0.2371678650379181, 0.6443682312965393, 0.19538861513137817, 0.0604054257273674, 0.20380128920078278, -0.14164330065250397, 0.05833229050040245, 0.34643861651420593, -0.1493353396654129, 0.059176959097385406, 0.858906626701355, 0.26825955510139465, -0.2768327295780182, 0.6806443929672241, -0.18160979449748993, -0.5050395727157593, 0.5033026933670044, 0.422903835773468, 0.9972227811813354, -0.08394891768693924, 0.6088240742683411, 0.4811421036720276, 0.2228665053844452, -0.4543522298336029, 0.42255663871765137, -0.5144792795181274, -0.5231746435165405, -0.3538892865180969, -0.26520100235939026, -0.5892878174781799, 0.01726604998111725, -0.45077887177467346, 0.08952289819717407, -0.5328654050827026, -0.20627523958683014, -0.5329179763793945, 0.1695568710565567, -0.5238460302352905, 0.17454801499843597, 0.02065851539373398, 1.2404981851577759, -0.4111454486846924, 0.4108699858188629, 0.7108315825462341, -0.4565359652042389, -0.9709444046020508, -0.14352992177009583, 0.07679271697998047, -0.7052339315414429, 0.5559719800949097, 0.31501439213752747, -0.22210034728050232, -0.2389218509197235, -0.7163004279136658, -0.666284441947937, 1.1303147077560425, 0.15051865577697754, -0.5523040294647217, -0.03333393856883049, -0.15144355595111847, 0.06356765329837799, -0.1455875188112259, 0.28760507702827454, 0.48759153485298157, 0.6993176341056824, 0.47439607977867126, -0.8005006313323975, 0.21297916769981384, 0.03758866712450981, 0.11280614137649536, 0.2104903757572174, -0.6021202802658081, 0.8423585295677185, -0.4970977008342743, -0.30078619718551636, -0.17676003277301788, 0.4678173065185547, 0.9773625731468201, 0.7927234172821045, 0.7378805875778198, 0.5177884101867676, 0.9637772440910339, -0.0477728545665741, 0.8754127025604248, -0.2102329134941101, 0.1140696331858635, 0.9821090698242188, -0.32149451971054077, 0.47191330790519714, 0.6979131102561951, 0.1352979987859726, 0.2983817458152771, 0.8393830060958862, 0.3587838113307953, 0.6441171169281006, 0.1806202083826065, -0.3438057601451874, -0.5717496275901794, -0.3256368637084961, -0.1057196855545044, 0.07137935608625412, 0.33665168285369873, 0.14959827065467834, -0.26180219650268555, -0.0525960698723793, 0.15428854525089264, -0.04898884892463684, -0.3278774917125702, 0.6922520399093628, 0.21165181696414948, -0.9121366739273071, 0.31811922788619995, -0.07908731698989868, 0.5209587216377258, -0.42628341913223267, -0.026584554463624954, -0.6319738626480103, 0.017052432522177696, 0.15183371305465698, -0.8211713433265686, 0.05953419953584671, 0.08311182260513306, 0.05623085796833038, -0.44089475274086, 0.8605372905731201, -0.1570364087820053, -0.02813337929546833, 0.00595365185290575, 0.6087794303894043, -0.22541692852973938, -0.08177980035543442, -0.6371397376060486, -0.19588051736354828, -0.22929561138153076, -0.6105326414108276, 0.0008153383969329298, 0.6215270161628723, -0.3247290849685669, 1.1970436573028564, 0.6406291723251343, 0.21797162294387817, -0.5295450687408447, -0.050235822796821594, 0.8631323575973511, -0.7891983985900879, -1.1099090576171875, -0.6836632490158081, 0.48942098021507263, -0.37578877806663513, -0.38647666573524475, 0.3331393599510193, 0.21364612877368927, 0.8932991623878479, 0.012820256873965263, 0.775042712688446, 0.14037805795669556, 0.31547027826309204, -0.6486682295799255, 0.32257330417633057, -0.7842448949813843, 0.6120355725288391, -0.2095358669757843, -0.8232784867286682, -0.10570799559354782, 0.6963270902633667, -0.5909733772277832, -0.01189999096095562, 0.5900216698646545, 0.5427810549736023, -0.04947073012590408, 0.21622693538665771, 0.10752666741609573, -0.31806087493896484, 0.337555468082428, 0.8656730055809021, 1.0749471187591553, 0.2924831509590149, 0.5368484258651733, 0.03943051025271416, -0.06936799734830856, -0.4682128131389618, -1.0039417743682861, -0.9077499508857727, -0.46435993909835815, -0.042249880731105804, -0.3247767984867096, 0.060713473707437515, 1.262168049812317, 0.52224200963974, -0.5397299528121948, -0.21777041256427765, -0.2643052935600281, 0.5408433675765991, -0.2364717572927475, -0.23612263798713684, 0.22966773808002472, -0.5630756616592407, -0.35955315828323364, 0.3290298879146576, 0.5397971272468567, -0.11604826152324677, 0.030035460367798805, -0.3085714280605316, 0.013189384713768959, 0.388893723487854, 0.4135183095932007, 0.3823184669017792, -0.4625239968299866, -0.4498575031757355, 0.05085998401045799, -0.2647956311702728, -0.12947247922420502, 0.9988300204277039, -1.0461344718933105, 0.3194425702095032, 0.5344897508621216, 0.869255542755127, 0.3033866286277771, -0.09479065984487534, 0.5576474666595459, -0.47047707438468933, -0.09138473868370056, 0.3579825162887573, 0.3923526406288147, 0.10664033144712448, -0.2685360312461853, 0.520717203617096, 0.20045046508312225, -0.6038557291030884, -0.7034909129142761, 0.4141733944416046, -0.8884412050247192, -0.5525955557823181, 0.8971824645996094, 0.04347947984933853, -0.14004985988140106, -0.3949630558490753, -0.3882054388523102, 0.21610204875469208, -0.673503041267395, 0.8502559065818787, 0.4494408369064331, 0.19684050977230072, -0.4692595601081848, -0.5778747200965881, 0.4808591604232788, 0.5248571038246155, -0.7158161401748657, 0.1017448753118515, 0.7106184959411621, 0.198018416762352, -0.07366196066141129, 0.6021727323532104, 0.35419178009033203, 0.3597610890865326, -0.20999467372894287, -0.3979429304599762, -0.42363208532333374, -0.5113860368728638, -0.01545149739831686, 0.3151822090148926, -0.041387829929590225, -0.11888748407363892 ]
http://arxiv.org/abs/2404.11061v1
http://arxiv.org/pdf/2404.11061v1
Unified Examination of Entity Linking in Absence of Candidate Sets
2024-04-17T04:37:58
2024-04-17T04:37:58
Nicolas Ong, Hassan Shavarani, Anoop Sarkar
cs.CL
cs.CL
Despite remarkable strides made in the development of entity linking systems in recent years, a comprehensive comparative analysis of these systems using a unified framework is notably absent. This paper addresses this oversight by introducing a new black-box benchmark and conducting a comprehensive evaluation of all state-of-the-art entity linking methods. We use an ablation study to investigate the impact of candidate sets on the performance of entity linking. Our findings uncover exactly how much such entity linking systems depend on candidate sets, and how much this limits the general applicability of each system. We present an alternative approach to candidate sets, demonstrating that leveraging the entire in-domain candidate set can serve as a viable substitute for certain models. We show the trade-off between less restrictive candidate sets, increased inference time and memory footprint for some models.
[ -0.8361935019493103, -0.3689587712287903, 0.3216163218021393, -0.34773242473602295, -0.35319840908050537, -0.09311936050653458, -0.01694590598344803, -0.7409632205963135, 0.15331777930259705, 0.5530755519866943, -0.4198927879333496, -0.25158923864364624, 0.05270427465438843, 0.3373965620994568, -0.567497193813324, 0.8155548572540283, 0.13750696182250977, -0.3811784088611603, -0.5463084578514099, -0.35144785046577454, -0.3187597692012787, -0.06527876108884811, -0.48718374967575073, -0.6721300482749939, 0.3663882315158844, 0.1039036437869072, 0.6916922926902771, 0.8488143682479858, 0.6112074255943298, 0.19922541081905365, -0.0807148888707161, -0.0772925540804863, -0.26187366247177124, 0.08262187987565994, -0.7073778510093689, 0.09934453666210175, -0.1188126802444458, -0.08528989553451538, 0.9791132211685181, 1.0706689357757568, -0.008616629987955093, 0.4147099554538727, -0.26243850588798523, 0.7350021600723267, -1.2342393398284912, -0.16371913254261017, -1.168709397315979, -0.1889571100473404, -0.4726562201976776, -0.11067159473896027, -0.32736077904701233, -0.2642515301704407, 0.2759039103984833, -0.32814693450927734, 0.6072142124176025, 0.24492083489894867, 0.803860604763031, 0.4335865080356598, -0.7177670001983643, -0.3053828477859497, -0.8279032111167908, 0.5022285580635071, -0.40832969546318054, 0.6879424452781677, -0.19295907020568848, 0.016931187361478806, 0.040493760257959366, -0.6885871887207031, -0.31714314222335815, -0.2486644685268402, 0.0671275407075882, -0.09825484454631805, -0.278383731842041, 0.3741708993911743, 0.30460020899772644, 0.6205306649208069, -0.3452248275279999, 0.07982364296913147, -0.5210886597633362, -0.04947589337825775, 0.4807800054550171, 0.016054227948188782, 0.058108851313591, -0.060770999640226364, -0.5648975968360901, -0.11371085047721863, -1.2791121006011963, -0.32798081636428833, 0.5090229511260986, 0.26330626010894775, 0.29965147376060486, 0.6488247513771057, -0.07989707589149475, 0.7499034404754639, 0.03238223120570183, 0.3357023000717163, -0.08767206966876984, -0.3235885500907898, -0.5359640717506409, 0.1840302050113678, 0.6150341629981995, 0.21370883285999298, 0.10984163731336594, -0.5338414907455444, -0.22255180776119232, 0.3498587906360626, 0.5332613587379456, -0.8388670086860657, -0.3652559518814087, 0.28404268622398376, -0.26563790440559387, 0.054577842354774475, 0.20742636919021606, -0.6808041334152222, -0.09548404067754745, -0.12767083942890167, 0.4018413722515106, -0.11857996135950089, -0.33710017800331116, -0.005887408275157213, -0.25670650601387024, 0.059228841215372086, -0.06885971873998642, -0.7773020267486572, 0.28249073028564453, 0.591711163520813, 0.3717416822910309, -0.2573772072792053, -0.10969789326190948, -0.4397502839565277, 0.3372586667537689, -0.5517707467079163, 1.0342272520065308, -0.947689414024353, -0.6605184078216553, 0.21199750900268555, -0.006649078335613012, 0.10827791690826416, -0.930523693561554, 0.4985986649990082, -0.7750318646430969, -0.2664405107498169, -0.4509204626083374, -0.796133279800415, -0.038408976048231125, -0.2377607822418213, -0.8222009539604187, 1.0098583698272705, -0.07935232669115067, -0.43959981203079224, 0.5877126455307007, -0.6284175515174866, -0.4963649809360504, 0.09526068717241287, -0.12917226552963257, -0.44842034578323364, 0.2526545524597168, -0.13757900893688202, 0.20244814455509186, -0.47999125719070435, 0.11826083064079285, -0.7352601885795593, -0.8041549921035767, -0.0028327361214905977, -0.16179126501083374, 0.9255632758140564, 0.11125805974006653, -0.4578506350517273, -0.45991480350494385, -0.9213849902153015, 0.043822210282087326, -0.0482824333012104, -0.26338788866996765, -0.5161922574043274, -0.1411534696817398, -0.37479352951049805, -0.03275379166007042, 0.046670377254486084, -0.49264147877693176, 0.32531487941741943, -0.3063679039478302, -0.26513785123825073, 0.6983215808868408, 0.23680271208286285, 0.5672038793563843, 0.04999072477221489, 0.238666832447052, -0.07001183927059174, -0.2359052300453186, 0.015828937292099, -0.3393639624118805, -0.9829185009002686, 0.1678534597158432, 0.5083503723144531, 0.06015263497829437, -0.6849423050880432, 0.23188257217407227, -0.11735069006681442, -0.5427137017250061, -0.6019474267959595, 0.16438855230808258, 0.8346180319786072, 0.39094287157058716, 0.37042123079299927, -0.3749532997608185, -0.5502753853797913, -1.1289079189300537, -0.46615543961524963, -0.3753194808959961, -0.10275910049676895, 0.17522357404232025, 0.8535852432250977, 0.10566280037164688, 0.5251765847206116, -0.2613500952720642, 0.022637009620666504, 0.36102744936943054, -0.31448766589164734, 0.10578283667564392, 0.553501307964325, 0.4462393820285797, -0.6324707269668579, -0.20802773535251617, -0.021653519943356514, -0.738105833530426, 0.09550728648900986, -0.027493346482515335, -0.05793355777859688, 0.15803998708724976, 0.4848771393299103, -0.3475266695022583, 0.45077192783355713, 0.43295085430145264, -0.2945452034473419, 0.6728845834732056, -0.024806248024106026, 0.19529666006565094, -0.47805100679397583, 0.5241344571113586, 0.36766737699508667, 0.3842633068561554, -0.7267665266990662, 0.1940964311361313, 0.20017170906066895, -0.11751282215118408, -0.3662053346633911, 0.8127655386924744, -0.7559615969657898, -0.707155168056488, -0.06946417689323425, 0.1809815615415573, 0.20909881591796875, 0.17533816397190094, -0.16340452432632446, 0.8109307885169983, 0.3193162679672241, -0.8414924144744873, 0.2218698412179947, 0.5441031455993652, -0.06099182367324829, 0.9962778687477112, -0.5325194001197815, 0.1947888880968094, -0.046745117753744125, 0.04375291243195534, -0.7170645594596863, -0.02351672761142254, 0.15036199986934662, -0.23240117728710175, 0.4726850688457489, -0.4429464340209961, -0.2969256341457367, -0.35378298163414, -0.1344449669122696, 0.11793611198663712, 0.3995513617992401, -0.7505279183387756, 0.29775089025497437, 0.14277859032154083, 0.27791622281074524, -0.816903829574585, -0.40594446659088135, 0.05438932403922081, -0.2869313061237335, -0.2480299472808838, 0.585893988609314, 0.009253340773284435, -0.5660655498504639, 0.2979249060153961, -0.6053938865661621, -0.17966189980506897, 0.315978467464447, 0.15317939221858978, 0.3829706907272339, -0.3990289866924286, 0.4022449553012848, 0.18847781419754028, -0.18821440637111664, 0.09257175773382187, -0.26222941279411316, -0.05954724922776222, -0.02062588557600975, -0.666156530380249, -0.4536794424057007, 0.3958546817302704, 0.28598806262016296, -0.5191478729248047, 0.7175765037536621, 0.26717379689216614, -0.562936544418335, -0.06931979209184647, -0.8453237414360046, -0.13089710474014282, -0.47093865275382996, 0.1220889762043953, -0.5172954201698303, -0.5966307520866394, 0.40468817949295044, -0.10606817901134491, 0.38098275661468506, 0.6373026371002197, 0.3024756610393524, 0.22708763182163239, 0.4537109136581421, 0.5611202716827393, 0.2578267455101013, 0.35077863931655884, -0.009771531447768211, 0.1887795478105545, -1.0223848819732666, -0.2626814544200897, -1.041243314743042, 0.034730423241853714, -0.7605470418930054, 0.10329708456993103, 0.16647416353225708, 0.20490451157093048, -0.44119319319725037, 0.5694370865821838, -0.5941008925437927, 0.6674990057945251, 0.5441807508468628, -0.057671401649713516, 0.5413062572479248, 0.02635113149881363, -0.25756514072418213, 0.1597738116979599, -0.4874429702758789, -0.5263282060623169, 1.3464984893798828, -0.2644050419330597, 0.4431021511554718, 0.023624110966920853, 0.7210316061973572, 0.22067895531654358, 0.6510704755783081, -0.08235418051481247, 0.47436800599098206, -0.07542180269956589, -1.2200506925582886, -0.34536316990852356, -0.3024366497993469, -1.1517161130905151, 0.495421439409256, -0.43364641070365906, -0.8410652279853821, 0.35955289006233215, 0.12676414847373962, -0.09925408661365509, 0.7639607787132263, -0.6298117637634277, 0.8274890780448914, 0.22685307264328003, -0.5777345895767212, 0.002810073085129261, -0.3230152428150177, 0.34214627742767334, -0.1527312695980072, -0.25356975197792053, -0.1897042840719223, -0.1333211213350296, 0.5300344824790955, -0.0068550934083759785, 0.32569676637649536, -0.06957575678825378, -0.022072816267609596, 0.2841798663139343, 0.09276057034730911, 0.41776326298713684, 0.026477478444576263, -0.5074114203453064, 0.19033874571323395, -0.0555206798017025, -0.4898361265659332, -0.2614574730396271, 0.8727954626083374, -0.2494940608739853, -0.5057297945022583, -0.20461522042751312, 0.07576628029346466, -0.26097026467323303, 0.3916056752204895, 0.06497753411531448, 0.5652951598167419, -0.5675296783447266, 0.2528649866580963, 0.9066221714019775, 0.07762151211500168, 0.4040620028972626, 0.3209586441516876, 0.2452070713043213, -0.09513941407203674, 0.5282837152481079, -0.18249210715293884, 0.3042548894882202, 0.030881039798259735, -0.42469099164009094, -0.6461805105209351, -0.7631881237030029, -0.6805356740951538, 0.46299517154693604, -0.8192660808563232, -0.3023628294467926, -0.5891785025596619, 0.21209749579429626, -0.45162761211395264, -0.30994337797164917, -0.5519299507141113, 0.14944559335708618, -0.31099027395248413, 0.07590237259864807, -0.09241262078285217, 0.710454523563385, 0.16351233422756195, 0.0283046904951334, -0.5362564325332642, 0.31888100504875183, 0.14943961799144745, 0.9277539849281311, 0.16277532279491425, 0.09493811428546906, -0.23074235022068024, -0.2355731576681137, -0.42624470591545105, -0.9841665029525757, -0.3315422534942627, 0.2978123128414154, 0.9078482985496521, 0.7195711731910706, 0.23039093613624573, 0.6752393245697021, -0.512235701084137, 0.5651588439941406, 0.22190028429031372, -0.8091486096382141, 0.4664217233657837, -0.06773548573255539, 0.04363314062356949, 0.7400084137916565, 0.4603143036365509, -0.20575885474681854, -0.194481760263443, -0.9583544135093689, -0.49673527479171753, 0.14945286512374878, 0.32163044810295105, -0.40062281489372253, -0.200077623128891, 0.6833038330078125, 0.010181058198213577, 0.2663056552410126, -0.41960594058036804, -0.8111560940742493, 0.44916993379592896, 0.41862353682518005, -0.06599119305610657, 0.028553210198879242, -0.09821470081806183, 0.10677517205476761, 0.8404650092124939, -0.13851052522659302, 0.27914783358573914, 0.11462806910276413, -0.10408981144428253, -0.3347218632698059, 0.31090956926345825, -0.0923234149813652, 0.7524387836456299, -0.2521974742412567, -0.08497507125139236, 0.25331810116767883, 0.0309598445892334, 0.30898362398147583, 0.33775588870048523, -0.19371037185192108, 0.3492290675640106, 0.1338023543357849, 0.4560158848762512, 0.6292858719825745, -0.41655266284942627, 0.11640596389770508, 0.3533337414264679, -0.08391568809747696, -0.11440526694059372, 0.19827565550804138, 0.3477705121040344, 0.25136926770210266, 0.27218130230903625, 0.028207074850797653, 0.36761996150016785, -0.647222638130188, 0.25506386160850525, 0.738096296787262, -0.6830282807350159, -0.1937168687582016, 0.8647687435150146, 0.2807137072086334, -0.16515959799289703, 0.5702069997787476, -0.07910811901092529, 0.01026997622102499, 0.5739855170249939, 0.3945234417915344, 0.7894534468650818, -0.3375038802623749, -0.09312289208173752, 0.4177341163158417, 0.46797725558280945, 0.03929219767451286, -0.2080828696489334, -0.04098043590784073, -0.4296017587184906, -0.29003822803497314, -0.44622156023979187, -0.6969128251075745, 0.025545038282871246, -0.9321283102035522, 0.22790800034999847, -0.30165937542915344, 0.012395638972520828, 0.3088243305683136, 0.35104382038116455, -0.8215553164482117, 0.3515275716781616, -0.13594989478588104, 0.8932247161865234, -0.817037045955658, 0.4003884494304657, 1.0218466520309448, -0.5048567056655884, -0.07977094501256943, -0.2552032768726349, 0.03644579276442528, -0.3289220631122589, -0.1105765774846077, -0.012183747254312038, -0.00757644884288311, -0.059982236474752426, -0.1207355484366417, -0.7219799160957336, 0.9034545421600342, 0.4345850944519043, -0.29655295610427856, -0.2891070544719696, -0.0782075822353363, 0.4925002157688141, -0.308062344789505, 0.16664709150791168, 0.7500461935997009, 0.4053695797920227, 0.09279203414916992, -0.8904730081558228, 0.2688024044036865, -0.0400255061686039, -0.06362617015838623, 0.7282648086547852, -0.4338943362236023, 0.6093940138816833, -0.1567966341972351, -0.503617525100708, 0.04505004733800888, 0.5505886673927307, 0.1965700089931488, 0.4353623688220978, 0.5044825077056885, 0.6156625151634216, 0.6282477974891663, -0.052031341940164566, 0.8943229913711548, -0.11891018599271774, 0.43066874146461487, 0.8866921067237854, -0.5881378650665283, 0.696380078792572, 0.48317211866378784, -0.31961315870285034, 0.18983741104602814, 0.5576651692390442, -0.2656664550304413, 0.13747607171535492, 0.2192862182855606, -0.5098749399185181, -0.44622886180877686, -0.10672109574079514, -0.6081408858299255, 0.1559748649597168, 0.2970980405807495, -0.1947554051876068, -0.5104210376739502, -0.6145619750022888, -0.1673806607723236, -0.013873223215341568, -0.21938587725162506, 0.621168315410614, 0.009324879385530949, -0.8876772522926331, 0.5047551989555359, -0.44666388630867004, 0.501485288143158, -0.37544935941696167, -0.15775658190250397, -0.21391411125659943, 0.1093486100435257, -0.16275425255298615, -0.41282081604003906, 0.23750418424606323, -0.11818602681159973, 0.06511111557483673, 0.17468473315238953, 0.8280937075614929, -0.17826901376247406, -0.16270384192466736, 0.3200644254684448, 0.645832359790802, 0.29088738560676575, -0.11938834190368652, -0.7290763854980469, -0.01929629221558571, 0.030181407928466797, -0.2707054316997528, 0.4166492223739624, 0.3038524091243744, 0.04801162704825401, 0.5695167183876038, 0.8717231750488281, 0.08521933108568192, -0.2881811559200287, -0.35774725675582886, 0.8714223504066467, -0.7619497179985046, 0.0029864690732210875, -0.5791496634483337, 0.32347843050956726, -0.13445231318473816, -0.47022512555122375, 0.524946928024292, 0.7429823279380798, 1.0464280843734741, 0.239683136343956, 0.7007150650024414, 0.11155489087104797, 0.2855633795261383, -0.3863676190376282, 0.47847387194633484, -0.9423342347145081, 0.3987348675727844, -0.6685031652450562, -1.4369616508483887, -0.23795771598815918, 0.1395360231399536, 0.1408596634864807, 0.16084875166416168, 0.8714086413383484, 0.6754982471466064, -0.20757856965065002, -0.006443156395107508, 0.4566243886947632, -0.20300999283790588, 0.16999028623104095, 0.2791997790336609, 0.5882031321525574, -0.4891919791698456, 0.7127685546875, -0.24452275037765503, 0.08073258399963379, -0.4036065936088562, -0.9876665472984314, -1.0353175401687622, -0.6649512052536011, -0.5010919570922852, -0.6045691967010498, 0.3756285607814789, 0.5433029532432556, 0.32661256194114685, -0.620938241481781, 0.002818300388753414, 0.45813655853271484, 0.29121044278144836, -0.08066566288471222, -0.06352592259645462, 0.3647208511829376, 0.10994214564561844, -0.6547049283981323, 0.36592236161231995, 0.4787929356098175, 0.024862755089998245, -0.31323540210723877, 0.30743658542633057, -0.3084355592727661, 0.07741253077983856, 0.08311451226472855, 0.597672700881958, -0.6348401308059692, -0.34121283888816833, -0.11274244636297226, 0.17965255677700043, 0.2571698725223541, 0.8165587782859802, -0.5862599611282349, 0.2718175947666168, 0.027838431298732758, 0.6947313547134399, 0.5320072770118713, -0.14967159926891327, 0.3273754417896271, -0.5021576285362244, 0.04422435536980629, 0.1336917281150818, 0.5085847973823547, 0.23023325204849243, -0.18014273047447205, 0.8051734566688538, 0.1727982759475708, -0.3780856430530548, -0.8498979806900024, 0.23485708236694336, -0.6816315054893494, -0.19900640845298767, 0.945556640625, -0.057413555681705475, -0.2644769847393036, -0.301947683095932, 0.35436782240867615, 0.24730873107910156, -0.2877839505672455, 0.6498642563819885, 0.47741013765335083, -0.08029363304376602, 0.23211559653282166, -0.4398108422756195, 0.18314792215824127, 0.21034546196460724, -0.8224756717681885, -0.06320919096469879, 0.7561034560203552, 0.3557448089122772, 0.21103492379188538, 0.6776171922683716, -0.11308655142784119, 0.6297072768211365, 0.41875895857810974, 0.3553057014942169, 0.04179997742176056, -0.35698413848876953, -0.35709598660469055, 0.20357877016067505, -0.09210017323493958, 0.0891559049487114 ]
http://arxiv.org/abs/2404.11055v1
http://arxiv.org/pdf/2404.11055v1
On the Causal Nature of Sentiment Analysis
2024-04-17T04:04:34
2024-04-17T04:04:34
Zhiheng Lyu, Zhijing Jin, Fernando Gonzalez, Rada Mihalcea, Bernhard Schoelkopf, Mrinmaya Sachan
cs.CL
cs.CL
Sentiment analysis (SA) aims to identify the sentiment expressed in a text, such as a product review. Given a review and the sentiment associated with it, this paper formulates SA as a combination of two tasks: (1) a causal discovery task that distinguishes whether a review "primes" the sentiment (Causal Hypothesis C1), or the sentiment "primes" the review (Causal Hypothesis C2); and (2) the traditional prediction task to model the sentiment using the review as input. Using the peak-end rule in psychology, we classify a sample as C1 if its overall sentiment score approximates an average of all the sentence-level sentiments in the review, and C2 if the overall sentiment score approximates an average of the peak and end sentiments. For the prediction task, we use the discovered causal mechanisms behind the samples to improve the performance of LLMs by proposing causal prompts that give the models an inductive bias of the underlying causal graph, leading to substantial improvements by up to 32.13 F1 points on zero-shot five-class SA. Our code is at https://github.com/cogito233/causal-sa
[ -0.39152511954307556, -0.7412431240081787, 0.6202912926673889, 0.6787451505661011, -0.32779446244239807, -0.2807459533214569, -0.1256987750530243, -0.5042412877082825, 0.3208405375480652, 0.2818306088447571, -0.8958307504653931, -0.5363198518753052, -0.7922385334968567, 0.11697504669427872, -0.16865228116512299, 1.225360631942749, 0.31802836060523987, 0.328081339597702, -0.17727252840995789, -0.11336532235145569, -0.550834596157074, -0.37843137979507446, -0.7404360175132751, -0.20618027448654175, 0.8949894905090332, 0.21674159169197083, 0.40652427077293396, -0.07503101229667664, 0.650748610496521, 0.15753622353076935, -0.2939882278442383, 0.046464841812849045, -0.7672719359397888, 0.3745882213115692, -0.1022629365324974, -0.6709944009780884, -0.26902905106544495, 0.29267171025276184, 0.1986273229122162, 0.7557669281959534, 0.2574775218963623, 0.269418865442276, 0.26432549953460693, 1.0332117080688477, -0.6716352701187134, 0.4897210896015167, -0.3168509006500244, -0.13324330747127533, 0.038374774158000946, -0.48246052861213684, -0.5790308713912964, -0.3452414274215698, 0.1124931052327156, -0.2585170269012451, 0.4897477924823761, 0.11553797125816345, 0.79679936170578, 0.2945961356163025, -0.6188109517097473, -0.2089117467403412, -0.8848931193351746, 0.8022602796554565, -0.5408315062522888, 0.12399878352880478, 0.016272014006972313, 0.11863517761230469, -0.16677983105182648, -0.10744217783212662, -0.5504840612411499, -0.17451366782188416, -0.11349483579397202, 0.4632771611213684, -0.3125656545162201, 0.18670004606246948, 0.47193944454193115, 0.4211912453174591, -0.3085758090019226, -0.012753741815686226, -0.41002410650253296, -0.14068879187107086, 0.8064199090003967, 0.45594435930252075, 0.2524445056915283, -0.5033959150314331, -0.5272943377494812, 0.3011956810951233, -0.8729689121246338, 0.3938761353492737, 0.22697383165359497, 0.5487472414970398, -0.01980631984770298, 0.6257312893867493, -0.20197342336177826, 0.6347351670265198, 0.23110613226890564, -0.0721539855003357, 0.1773436963558197, -0.3899984359741211, -0.43132397532463074, 0.20656214654445648, 0.768403947353363, 0.5950383543968201, -0.0502256378531456, 0.16250012814998627, -0.13400746881961823, 0.4642154574394226, 0.30046117305755615, -0.5452589392662048, 0.07253479957580566, 0.2777957320213318, -0.6903870701789856, -0.5974127650260925, 0.14534741640090942, -0.731513261795044, -0.678469181060791, -0.6509270668029785, 0.6041164398193359, 0.18152257800102234, -0.15218909084796906, 0.06108466908335686, -0.43100807070732117, 0.34247392416000366, 0.23777414858341217, -0.482184499502182, 0.20590351521968842, 0.5590870380401611, 0.6785010099411011, -0.13856054842472076, -0.1438441276550293, -0.4067133963108063, -0.17505362629890442, -0.4431383013725281, 1.0855610370635986, -0.255037784576416, -0.6141480803489685, 0.022490039467811584, -0.00702153192833066, -0.17814935743808746, -0.25244349241256714, 0.7932320237159729, -0.6041631102561951, 0.22795096039772034, -1.05868399143219, -0.43168342113494873, -0.47566869854927063, 0.2951802909374237, -0.6824489831924438, 0.9466820359230042, -0.12839776277542114, -0.8776833415031433, 0.657742440700531, -0.596496045589447, -0.6901222467422485, -0.4523448944091797, 0.16216082870960236, -0.4182305932044983, 0.4581981897354126, 0.19665569067001343, 0.5690025091171265, -0.8481776714324951, 0.4215208888053894, -0.5081036686897278, -0.47386252880096436, 0.399042546749115, -0.25401437282562256, 0.9839017391204834, 0.2103695571422577, -0.6671683192253113, 0.20007063448429108, -0.6760457158088684, -0.6253291368484497, 0.0015726141864433885, 0.030017388984560966, -0.44488897919654846, 0.1624467521905899, -0.07911577820777893, 0.21541520953178406, 0.033676113933324814, -0.650896430015564, 0.15374988317489624, -0.28798073530197144, -0.13140088319778442, 0.8804451823234558, 0.5985225439071655, 0.2715185582637787, -0.12996244430541992, 0.4072181284427643, 0.14535529911518097, 0.5598861575126648, -0.027716124430298805, -0.470714271068573, -0.9358389377593994, -0.24959059059619904, -0.14225031435489655, 0.4083753824234009, -0.09653938561677933, 0.3932429254055023, -0.07058218121528625, -0.5017273426055908, -0.12184621393680573, -0.002267258707433939, 0.2817946672439575, 0.6391868591308594, 0.33013615012168884, -0.1947793960571289, -0.55247962474823, -0.7725332975387573, -0.597901463508606, -0.3901008665561676, 0.35969823598861694, 0.0586334727704525, 0.20707497000694275, -0.19018276035785675, 0.867648184299469, -0.8989479541778564, -0.4688915014266968, -0.2568286061286926, 0.4696367084980011, 0.4996187388896942, 0.057950228452682495, 0.42179426550865173, -0.6356448531150818, -0.2789488136768341, -0.42365381121635437, -1.0613458156585693, -0.519798755645752, -0.20240242779254913, -0.09483973681926727, 0.07282429933547974, 0.6701961159706116, -0.5355662107467651, 0.3905835747718811, -0.012611922807991505, -0.3918640613555908, 0.7687538266181946, 0.3603135943412781, 0.19449803233146667, -0.698062539100647, 0.1211116835474968, 0.5204415917396545, 0.5484265089035034, -0.6480215787887573, -0.1853763908147812, -0.3621748983860016, -0.13347025215625763, -0.3150078356266022, 0.22428454458713531, -0.34768083691596985, 0.0596858449280262, -0.46475788950920105, -0.07027556002140045, -0.054314374923706055, 0.5425622463226318, -0.33093300461769104, 0.4792388379573822, 0.6582602262496948, -0.6396008729934692, 0.0688343346118927, -0.1355397254228592, 0.00035174383083358407, 0.7829194068908691, -0.7479475140571594, -0.267773300409317, -0.527099609375, 0.1948394626379013, -1.472342848777771, 0.02412986010313034, 0.3360374867916107, -0.5672764778137207, 0.11930554360151291, 0.13164740800857544, -0.4220370352268219, -0.25489524006843567, -0.44588595628738403, 0.05435889586806297, 0.4913245737552643, -0.6193256974220276, 0.6809664964675903, 0.22895345091819763, 0.04584725201129913, -0.5768336057662964, -0.32065701484680176, -0.10369228571653366, -0.33511975407600403, -0.36608973145484924, -0.009979434311389923, 0.14830929040908813, -0.5504686236381531, -0.0037148890551179647, -0.2326529175043106, 0.46295955777168274, 0.030819188803434372, 0.5496974587440491, 0.35871681571006775, 0.010583358816802502, 0.2975577414035797, 0.2032332569360733, -0.46458205580711365, 0.7498003244400024, 0.029154755175113678, 0.25505346059799194, 0.07893698662519455, -0.049521785229444504, -0.3839620053768158, 0.20799465477466583, 0.7541636228561401, 0.011246992275118828, 0.5390265583992004, 0.5685365796089172, -0.06324559450149536, -0.17427635192871094, -0.5497462749481201, -0.08906514197587967, -0.3753688633441925, -0.11455447971820831, -0.2590137720108032, -0.5436847805976868, 0.3928956091403961, -0.07465928047895432, -0.22679008543491364, 0.9005652070045471, 0.5169029235839844, -0.15054486691951752, 1.265198826789856, 0.8281705975532532, -0.5201083421707153, 0.3801584243774414, -0.13225306570529938, 0.6877155303955078, -0.7995001077651978, -0.4377308487892151, -0.5532498955726624, -0.28941118717193604, -0.5589239597320557, -0.025559909641742706, 0.6902087330818176, 0.17848671972751617, -0.4154353737831116, 0.037643298506736755, -0.3921476900577545, 0.19902345538139343, 0.7184988856315613, 0.2827279567718506, 0.12313982844352722, -0.07590509951114655, -0.08925772458314896, 0.02041846513748169, -0.4558950364589691, -0.18425139784812927, 1.050308346748352, 0.28998324275016785, 0.676398754119873, -0.07434285432100296, 0.6389522552490234, 0.3567776083946228, 0.48077645897865295, -0.9160138964653015, 0.739582359790802, 0.04880582541227341, -0.6577725410461426, -0.043141137808561325, -0.10367295145988464, -0.6492844820022583, 0.2394796907901764, -0.38613519072532654, -0.4520869553089142, 0.5153291821479797, -0.0372517853975296, -0.07700420171022415, -0.16930538415908813, -0.5424965023994446, 0.6184404492378235, -0.0530560165643692, -0.6565310955047607, -0.5206879377365112, -0.6787860989570618, 0.699859082698822, 0.18641357123851776, 0.22175189852714539, -0.27495884895324707, 0.3853270709514618, 0.9176780581474304, -0.3594765365123749, 1.3409194946289062, -0.5432301163673401, 0.039452433586120605, 0.5651481747627258, -0.02142682857811451, 0.29580989480018616, -0.13208571076393127, 0.08409314602613449, 0.05564161390066147, -0.2852262556552887, -0.37748444080352783, -0.8962193727493286, 0.6279957294464111, -0.6827811598777771, -0.8095040917396545, -0.6091082096099854, -0.23611924052238464, -0.2261323630809784, -0.03572060540318489, 0.2749350666999817, 0.3686831593513489, -0.2034064680337906, -0.18165358901023865, 0.418574720621109, -0.11950653791427612, 0.33076611161231995, 0.4172219932079315, -0.08349652588367462, -0.30286186933517456, 0.7909150123596191, -0.01988837867975235, 0.04628871753811836, 0.315756618976593, 0.6300424933433533, -0.3487384021282196, -0.2891828417778015, 0.04198792949318886, 0.340186208486557, -0.8933016657829285, -0.2211543321609497, -0.5201795697212219, 0.16459478437900543, -0.3336564302444458, -0.0214178916066885, 0.040192194283008575, -0.10653543472290039, -0.34026774764060974, -0.3739846348762512, 0.3855169117450714, 0.8327261805534363, -0.26083919405937195, 0.23974557220935822, -0.5513871312141418, 0.2591172456741333, 0.19917882978916168, 0.03866036981344223, 0.2975206673145294, -0.19065769016742706, -0.12540729343891144, -0.3558581471443176, -0.2321271449327469, -1.1094447374343872, 0.30843067169189453, -0.2081996649503708, 0.4546838104724884, 0.8223744630813599, 0.13435935974121094, 0.6557121276855469, -0.10648005455732346, 1.0060571432113647, 0.463544636964798, -0.8466095924377441, 0.7030749320983887, -0.4210836887359619, -0.015673067420721054, 0.46655526757240295, 0.7963401079177856, -0.3509290814399719, -0.41740065813064575, -0.4975520670413971, -0.7452906370162964, 0.14471961557865143, -0.14746777713298798, -0.06831111758947372, -0.4028782546520233, 0.43406617641448975, 0.08414649218320847, 0.1277797967195511, -0.6699317693710327, -0.335896760225296, -0.015565166249871254, -0.1455390602350235, -0.3878490924835205, -0.6039714217185974, -0.18196293711662292, -0.2901342511177063, 0.6667568683624268, -0.07004702836275101, 0.4593973755836487, 0.44670888781547546, -0.009237924590706825, -0.46890583634376526, 0.14469166100025177, 0.3749430179595947, 0.3563331365585327, -0.23948952555656433, 0.21753698587417603, -0.07666797190904617, -0.2086936980485916, 0.06762736290693283, -0.13563548028469086, -0.37013378739356995, -0.18467062711715698, 0.5235307216644287, 0.6534205079078674, 0.2832375764846802, -0.30319705605506897, 0.6152243614196777, 0.2055722326040268, -0.015389060601592064, -0.1925714910030365, -0.052323125302791595, -0.30666255950927734, 0.24673019349575043, 0.53486168384552, 0.20590908825397491, 0.6406439542770386, -0.7325910925865173, 0.00866073090583086, 0.5894157886505127, -0.700307309627533, -0.49373096227645874, 0.6509004831314087, 0.08940739184617996, 0.07392629981040955, 0.4473857879638672, -0.26517561078071594, -0.8177472949028015, 0.5615349411964417, 0.42564353346824646, 1.111009120941162, 0.11929916590452194, 0.233924999833107, 0.7303909659385681, 0.22100113332271576, 0.021252794191241264, 0.47234517335891724, 0.10129160434007645, -0.6301642060279846, -0.4994833171367645, -0.640178918838501, -0.26636794209480286, -0.2922822833061218, -0.8889477252960205, 0.4515385925769806, -0.2423645704984665, -0.20617704093456268, 0.04896777123212814, 0.019185861572623253, -0.32944998145103455, 0.7108250856399536, -0.1590714454650879, 0.627708375453949, -1.381547212600708, 0.19011767208576202, 0.16092897951602936, -0.8449134230613708, -0.7525658011436462, 0.050551097840070724, 0.3648878037929535, -0.5673515796661377, 0.9696502089500427, 0.26043960452079773, -0.39818647503852844, -0.3558741807937622, -0.7561693787574768, -0.7154126167297363, 0.8239250779151917, -0.17410652339458466, -0.2629346251487732, 0.3627466857433319, -0.20648297667503357, 0.7609236240386963, -0.21411128342151642, 0.0411137230694294, 0.587638795375824, 0.37356165051460266, -0.022282756865024567, -0.36028599739074707, 0.3704652786254883, -0.4505351185798645, -0.22430798411369324, 0.18450190126895905, -0.5537397861480713, 0.7203708291053772, -0.4126242995262146, -0.10688181221485138, -0.28669273853302, 0.7105947732925415, 0.24521993100643158, 0.6050500273704529, 0.6103979349136353, 0.4162503182888031, 0.639910876750946, -0.12302163988351822, 1.2502566576004028, -0.3769606053829193, 0.42573603987693787, 0.6269791126251221, -0.37056058645248413, 0.7292416095733643, 0.5791659951210022, -0.2779516279697418, 0.7074877619743347, 0.715310275554657, -0.17111775279045105, 0.5559324026107788, 0.22631631791591644, -0.36815178394317627, -0.11686130613088608, -0.2647874653339386, -0.10913711041212082, 0.24763625860214233, 0.31947022676467896, -0.32997286319732666, -0.0386582650244236, -0.09198348224163055, 0.04880344867706299, -0.10569692403078079, -0.6727388501167297, 0.7528278827667236, 0.16905473172664642, -0.7832103371620178, 0.2578223645687103, -0.1224379613995552, 0.5234408378601074, -0.32808396220207214, 0.18728157877922058, -0.2597028911113739, 0.19617959856987, -0.37878796458244324, -0.48606598377227783, 0.4809424877166748, -0.27593445777893066, -0.33130478858947754, 0.011304999701678753, 0.9634751081466675, 0.12526342272758484, -0.5249221324920654, 0.4653753936290741, 0.4877370297908783, -0.10898210853338242, -0.07209066301584244, -0.4304409325122833, 0.10182523727416992, -0.1963811218738556, -0.34975549578666687, 0.21052470803260803, 0.11612432450056076, -0.09525797516107559, 0.3259991705417633, 0.9144530296325684, -0.06327488273382187, -0.11524948477745056, 0.35438480973243713, 0.7424848675727844, -0.9846624732017517, -0.6066312193870544, -1.023569107055664, 0.3625926077365875, -0.02738313563168049, -0.3698784410953522, 0.9883508086204529, 0.43508586287498474, 0.32539552450180054, -0.2715494930744171, 0.7299639582633972, 0.10204996168613434, 0.48549818992614746, -0.5147553086280823, 0.5341213345527649, -0.4626672565937042, 0.22937501966953278, -0.5386145114898682, -0.941547691822052, -0.7405254244804382, 0.3186776638031006, -0.6991405487060547, -0.112788125872612, 1.0059256553649902, 0.8499294519424438, 0.41356223821640015, 0.37919214367866516, -0.018449954688549042, 0.30998221039772034, 0.20332936942577362, 0.18191887438297272, 0.9603399634361267, -0.3554050028324127, 0.1198730617761612, -0.14396008849143982, -0.3021295666694641, -0.11540960520505905, -0.7618020176887512, -0.9168355464935303, -0.36771443486213684, -0.32962194085121155, -0.6352006196975708, -0.0362110435962677, 0.7567858099937439, 0.21946045756340027, -0.6730968356132507, -0.36801809072494507, -0.3745219111442566, 0.22127674520015717, -0.571725070476532, -0.2853432893753052, 0.4908059537410736, -0.8909119963645935, -0.35571029782295227, 0.18505601584911346, 0.43371808528900146, -0.3655337691307068, -0.232718825340271, 0.2566765546798706, 0.02014625258743763, 0.3259471356868744, 0.9821175336837769, 0.13618437945842743, -0.657153844833374, -0.22364701330661774, 0.22925513982772827, 0.08663229644298553, -0.09605316817760468, 1.2287518978118896, -0.5809962153434753, 0.3832704722881317, 0.6456598043441772, 0.36257508397102356, 0.38180261850357056, -0.06465090066194534, 0.6090706586837769, -0.39513665437698364, -0.16200491786003113, -0.1544455736875534, 0.41824132204055786, 0.028277629986405373, -0.5552066564559937, 0.46880993247032166, 0.5719022154808044, -0.36976778507232666, -0.8009053468704224, 0.2862401604652405, -1.3495111465454102, -0.4042613208293915, 1.1547867059707642, 0.11216531693935394, -0.3251025378704071, 0.004109404515475035, -0.42158272862434387, 0.18803346157073975, -0.14799213409423828, 0.9561190605163574, 0.3969411849975586, -0.5480622053146362, 0.04841426759958267, -0.14372728765010834, 0.31989791989326477, 0.3642927408218384, -0.6552940607070923, -0.040818892419338226, 0.5973819494247437, 0.2094217985868454, 0.25678005814552307, 0.6925893425941467, -0.2119007110595703, 0.35211142897605896, -0.04372566193342209, -0.04859241098165512, 0.2855234146118164, -0.4237920045852661, -0.561306893825531, 0.47269928455352783, 0.013047873973846436, -0.09215694665908813 ]
http://arxiv.org/abs/2404.11049v2
http://arxiv.org/pdf/2404.11049v2
Stepwise Alignment for Constrained Language Model Policy Optimization
2024-04-17T03:44:58
2024-05-23T01:13:41
Akifumi Wachi, Thien Q. Tran, Rei Sato, Takumi Tanabe, Youhei Akimoto
cs.LG
cs.LG, cs.AI, cs.CL
Safety and trustworthiness are indispensable requirements for real-world applications of AI systems using large language models (LLMs). This paper formulates human value alignment as an optimization problem of the language model policy to maximize reward under a safety constraint, and then proposes an algorithm, Stepwise Alignment for Constrained Policy Optimization (SACPO). One key idea behind SACPO, supported by theory, is that the optimal policy incorporating reward and safety can be directly obtained from a reward-aligned policy. Building on this key idea, SACPO aligns LLMs step-wise with each metric while leveraging simple yet powerful alignment algorithms such as direct preference optimization (DPO). SACPO offers several advantages, including simplicity, stability, computational efficiency, and flexibility of algorithms and datasets. Under mild assumptions, our theoretical analysis provides the upper bounds on optimality and safety constraint violation. Our experimental results show that SACPO can fine-tune Alpaca-7B better than the state-of-the-art method in terms of both helpfulness and harmlessness.
[ -0.010382317006587982, -0.09515636414289474, 0.6759357452392578, 0.2799914479255676, -0.15191826224327087, 0.24066242575645447, -0.005442803259938955, -0.540252685546875, -0.09082674235105515, 0.6362615823745728, -0.716249406337738, -0.39118337631225586, -0.6120581030845642, -0.09327542781829834, 0.08655830472707748, 0.800202488899231, -0.1245298758149147, -0.1341227889060974, -0.08732356876134872, -0.08780036121606827, -0.590601921081543, -0.22105960547924042, -0.6781244277954102, -0.4553561508655548, 0.3990006744861603, 0.45533671975135803, 1.0112007856369019, 1.1835390329360962, 0.5386806726455688, 0.31141823530197144, -0.19884981215000153, 0.2112722396850586, -0.30592721700668335, -0.08021418005228043, -0.27227452397346497, -0.3378284275531769, -0.5319765210151672, 0.06435386836528778, 0.42908111214637756, 0.35073143243789673, -0.26126399636268616, -0.2629733681678772, 0.057668473571538925, 0.664417028427124, -0.7666915655136108, -0.09789934754371643, -0.5649583339691162, -0.11903207004070282, 0.19548484683036804, -0.1908547282218933, -0.2820323705673218, -0.8680079579353333, 0.073171466588974, -0.6183170676231384, -0.46473148465156555, 0.18572700023651123, 1.0775800943374634, 0.7699282169342041, -0.40819019079208374, -0.2877088785171509, -0.5155342221260071, 1.0725960731506348, -0.564777672290802, 0.4089234173297882, 0.3663768172264099, 0.07228030264377594, -0.47771981358528137, 0.2197856307029724, -0.7077028155326843, -0.3107450008392334, -0.06448587775230408, -0.2674699127674103, -0.025496462360024452, 0.24518732726573944, -0.07484180480241776, -0.013334786519408226, -0.401419997215271, 0.49637970328330994, -0.18487659096717834, -0.48006466031074524, 0.7699685096740723, 0.19005268812179565, 0.251425176858902, -0.1031636968255043, -0.735944926738739, -0.3795401453971863, -0.7983428835868835, 0.3822771906852722, 0.6247557997703552, 0.5121791958808899, 0.024490537121891975, 0.3750825524330139, -0.2178283929824829, 0.7285179495811462, -0.031828124076128006, -0.5914191603660583, 0.3503425717353821, -0.34975409507751465, 0.02802407741546631, 0.3476323187351227, 0.8382079005241394, 0.4461429715156555, 0.3098965883255005, -0.0503118634223938, -0.158225417137146, 0.0023499520029872656, 0.4815444350242615, -0.4064478874206543, 0.46563178300857544, 0.28658807277679443, -0.1691664457321167, -0.9647402763366699, -0.12660741806030273, -0.6651695966720581, -0.41928136348724365, -0.4275205433368683, 0.2869022786617279, -0.3939809799194336, -0.026572635397315025, 0.15614743530750275, 0.31303876638412476, 0.4698695242404938, 0.1161801889538765, -1.1840198040008545, 0.22493082284927368, 0.9849603176116943, 0.7192720770835876, -0.4281051456928253, -0.5385671854019165, -0.7389894723892212, 0.38357338309288025, -0.5378823280334473, 0.4537366032600403, -0.520539402961731, -0.3383830487728119, 0.05805731192231178, -0.045235924422740936, -0.02518792822957039, -0.30311912298202515, 0.9988941550254822, -0.41166016459465027, -0.31365737318992615, -0.255464643239975, -0.35163021087646484, 0.07180698961019516, 0.43302759528160095, -0.5240541100502014, 0.9252496361732483, -0.06339816749095917, -0.40129759907722473, 0.4871620237827301, -0.5763623714447021, -0.5242539048194885, -0.3892649710178375, -0.1886710673570633, -0.34280896186828613, -0.16437910497188568, 0.13122911751270294, 0.21349726617336273, -0.23956802487373352, 0.37004920840263367, -0.20308387279510498, -0.33055004477500916, 0.2310042679309845, -0.23204927146434784, 0.7951918244361877, 0.20788289606571198, -0.3161734938621521, 0.34591424465179443, -0.7251492738723755, 0.05965796858072281, 0.10873785614967346, -0.5039389133453369, -0.6279779672622681, 0.20270800590515137, -0.4415605664253235, 0.29385849833488464, 0.5255640745162964, -0.5540174245834351, 0.3692474365234375, -0.3975101411342621, 0.38599270582199097, 1.2204277515411377, -0.3286585211753845, 0.7380014061927795, -0.10323826968669891, 0.4867502748966217, -0.14315590262413025, 0.6228359341621399, 0.41279637813568115, -0.06428772956132889, -0.3573927879333496, -0.23992279171943665, 0.27579379081726074, 0.8574572801589966, -0.14727568626403809, 0.9964011907577515, -0.17960113286972046, -0.18210051953792572, -0.8469880223274231, 0.0962301716208458, 0.5283778309822083, 0.7625192403793335, 0.3802046775817871, -0.0798560082912445, -0.2809513211250305, -1.247983694076538, -0.10023234784603119, -0.43620240688323975, 0.18909308314323425, 0.1553535908460617, 0.11258357018232346, -0.2751990258693695, 0.7860789895057678, -0.6422721743583679, -0.07532811164855957, 0.11051590740680695, -0.07883306592702866, -0.06874285638332367, 0.8213270306587219, 0.3187832832336426, -0.7751062512397766, -0.1485922932624817, 0.026315215975046158, -0.22545947134494781, -0.24693989753723145, -0.05900650843977928, -0.5385404229164124, 0.4108227789402008, 0.2535567283630371, -0.37995293736457825, 0.2507348656654358, 0.7583007216453552, -0.15984681248664856, 0.27410173416137695, -0.14946691691875458, 0.2955778241157532, -1.0307589769363403, -0.047907207161188126, -0.20974509418010712, -0.2765224277973175, -0.6192532181739807, -0.026347342878580093, 0.151395782828331, -0.06713021546602249, -0.37588733434677124, 0.3852514326572418, -0.2244536280632019, 0.057880476117134094, -0.5267279148101807, 0.15371152758598328, -0.15400511026382446, 0.454397588968277, 0.26286476850509644, 0.7262860536575317, 0.32395461201667786, -0.6262878179550171, -0.058470841497182846, 0.39419087767601013, -0.1342441737651825, 0.659574031829834, -0.48990511894226074, 0.17877821624279022, 0.2131151407957077, 0.18511031568050385, -0.6240676045417786, -0.14388024806976318, 0.23635578155517578, -0.1921614557504654, 0.3417801558971405, -0.05870916694402695, -0.05468370020389557, -0.08337809145450592, -0.40802305936813354, 0.51043301820755, 0.4982580542564392, -0.6065738201141357, 0.32501012086868286, 0.6575353741645813, 0.027444828301668167, -1.2268235683441162, -0.21982356905937195, -0.16649574041366577, -0.30278635025024414, -0.42627325654029846, 0.49471235275268555, 0.015448536723852158, -0.10667385905981064, -0.1483246088027954, -0.3253145217895508, 0.20343376696109772, 0.013390769250690937, 0.22940798103809357, 0.6075275540351868, 0.3488951325416565, -0.07489282637834549, 0.3067988157272339, -0.4763913154602051, -0.17228347063064575, -0.0386526957154274, 0.6399565935134888, -0.2638160288333893, -0.2407086342573166, -0.45369672775268555, 0.31062808632850647, 0.5167357325553894, 0.004295309539884329, 0.45606401562690735, 0.1586577594280243, -0.3366497755050659, 0.07021323591470718, -0.42867740988731384, 0.1774991899728775, -0.5220624208450317, 0.21767227351665497, -0.2867511212825775, -0.8183066248893738, 0.10461688786745071, -0.16574408113956451, 0.17939747869968414, 0.3357899785041809, 0.3415258526802063, 0.07775381952524185, 1.1623740196228027, 0.8258020281791687, -0.46268799901008606, 0.340720534324646, 0.2957569360733032, 0.12944859266281128, -0.8139508962631226, -0.39700770378112793, -0.8714323043823242, -0.25119152665138245, -0.6978772282600403, -0.289022296667099, 0.11930976808071136, 0.12698543071746826, -0.5757015347480774, 0.718226432800293, -0.7644241452217102, 0.5700029134750366, 0.5637863874435425, 0.10836704075336456, 0.24041905999183655, -0.40945717692375183, 0.016043851152062416, 0.08580297976732254, -0.4114922881126404, -0.7444046139717102, 0.6898027062416077, 0.34007176756858826, 0.9213590025901794, 0.017373979091644287, 1.011080026626587, 0.128004789352417, -0.03451574593782425, -0.8609519004821777, 0.6312451362609863, 0.07515374571084976, -0.3315579295158386, -0.6215928792953491, -0.25958961248397827, -0.8767358660697937, -0.04386679828166962, -0.28839895129203796, -0.9602968096733093, 0.4498639404773712, 0.5033981204032898, -0.38643598556518555, -0.06401339173316956, -0.3722027838230133, 0.8509311676025391, -0.6534592509269714, -0.21396972239017487, -0.3066374361515045, -0.970379114151001, 0.29492291808128357, 0.06919799000024796, 0.12382999807596207, -0.459075003862381, -0.43448588252067566, 0.515299379825592, -0.6185584664344788, 0.586425244808197, -0.01905113272368908, -0.31581175327301025, 0.04280485585331917, 0.06403101980686188, 0.8993129134178162, -0.3987334668636322, -0.10134321451187134, 0.15618614852428436, 0.17723321914672852, -0.5042123794555664, -0.3280640244483948, 0.8308301568031311, -0.8437471985816956, -0.7289852499961853, -0.5544417500495911, -0.6532379388809204, -0.5558909773826599, 0.26371559500694275, 0.027602992951869965, -0.2212805151939392, -0.2208489179611206, -0.17907613515853882, 0.6451382040977478, -0.12399957329034805, 0.4359610080718994, 0.32615163922309875, 0.06548971682786942, -0.36094212532043457, 0.8365296125411987, -0.24929840862751007, 0.5372376441955566, 0.46314671635627747, 0.45492926239967346, -0.3875589966773987, -0.4012526571750641, -0.5930185914039612, 0.17476388812065125, -0.48927566409111023, -0.25409266352653503, -0.1207885891199112, -0.11242237687110901, -0.34742671251296997, -0.6718099117279053, -0.6005271077156067, -0.40639036893844604, -0.05683371424674988, -0.13891838490962982, 0.15795168280601501, 0.3380396068096161, -0.29744160175323486, 0.03739626705646515, -0.7392807602882385, 0.03988828510046005, 0.2546917796134949, 0.3550525903701782, -0.2524973452091217, -0.19220781326293945, -0.08474072813987732, -0.08867132663726807, -0.3342032730579376, -0.752093493938446, 0.06185787916183472, -0.3002113997936249, 0.48901277780532837, 0.5707021951675415, 0.18126416206359863, 0.7922849655151367, -0.5568179488182068, 0.3702920079231262, 0.3729953467845917, -1.085317611694336, 0.6901963949203491, -0.19453087449073792, -0.09803878515958786, 1.081132411956787, 0.5193015933036804, -0.45201677083969116, -0.027224598452448845, -0.3956775665283203, -0.6955124735832214, 0.625740647315979, 0.17483831942081451, 0.05711207911372185, 0.12975220382213593, 0.32615458965301514, 0.12500566244125366, 0.12058199197053909, -0.543986439704895, 0.14466360211372375, 0.06300868093967438, -0.4270385801792145, 0.18294265866279602, -0.11258640885353088, -0.5751205682754517, -0.014583670534193516, 0.9935128092765808, -0.3105711340904236, -0.07243455201387405, -0.02074042335152626, 0.14140178263187408, -0.2629624605178833, 0.35904690623283386, 1.0041255950927734, 0.6163148880004883, -0.20896968245506287, -0.04080168530344963, 0.04536459967494011, -0.417915403842926, 0.6413335204124451, -0.01631065644323826, -0.3581838011741638, -0.6412046551704407, 0.08649542182683945, 0.7847720384597778, 0.20152907073497772, -0.769761860370636, 0.5325617790222168, 0.23096045851707458, -0.02247445099055767, -0.03540539741516113, 0.5127125978469849, -0.08098532259464264, 0.3384757339954376, 0.14575371146202087, 0.029581177979707718, -0.07242954522371292, -0.451016902923584, -0.023928022012114525, 0.6867945194244385, -0.5065304040908813, 0.02011442743241787, 0.6542721390724182, 0.3049355149269104, -0.7458128929138184, 0.3015104830265045, 0.10275708138942719, -0.5537087321281433, 0.5704089403152466, 0.6465076208114624, 0.9199249148368835, -0.28738290071487427, 0.20534780621528625, 0.274269700050354, 0.6139459609985352, -0.3787146508693695, 0.06439269334077835, -0.05865753814578056, -1.140263557434082, -0.2898850440979004, -0.7587270736694336, -0.7649695873260498, -0.10375990718603134, -0.6438815593719482, 0.3235795199871063, -0.35263389348983765, 0.04357532411813736, -0.26030200719833374, -0.11038285493850708, -0.27511849999427795, 0.28125619888305664, 0.022876860573887825, 0.6509203910827637, -0.879635214805603, 0.8856769800186157, 0.3010531961917877, -0.2896577715873718, -1.132422924041748, 0.21184571087360382, 0.10188975930213928, -1.1431502103805542, 0.26795896887779236, 0.014742360450327396, -0.527969479560852, -0.29573854804039, -0.5400335192680359, -1.1313202381134033, 1.1758337020874023, 0.4931199848651886, -0.7473054528236389, -0.0847766250371933, 0.16546939313411713, 0.28484010696411133, -0.5181191563606262, -0.5451062917709351, 0.8544853329658508, 0.6289655566215515, 0.30073755979537964, -0.8954011797904968, 0.3968442678451538, 0.23409931361675262, 0.14316920936107635, 0.6000179052352905, -0.9667966365814209, 0.09898094087839127, -0.23657186329364777, 0.22893671691417694, 0.0002622729225549847, 0.5834054946899414, 0.7098765969276428, 0.18895408511161804, 0.9702819585800171, 0.6500645279884338, 0.8754208087921143, -0.018916016444563866, 0.8693474531173706, -0.20812878012657166, 0.17109373211860657, 0.9689965844154358, -0.3567808270454407, 0.8039059042930603, 0.7669596672058105, -0.2708386182785034, 0.3933814465999603, 0.9040747880935669, 0.40463757514953613, 0.7210567593574524, 0.018419252708554268, -0.09869708865880966, -0.2749364674091339, -0.06640297919511795, -0.14323142170906067, 0.6076807379722595, -0.12408910691738129, -0.28472617268562317, 0.24014408886432648, -0.3751649558544159, 0.29874929785728455, -0.025635624304413795, -0.3368518054485321, 0.6924340128898621, -0.11026666313409805, -1.006160855293274, 0.633355438709259, -0.12530766427516937, 0.5018645524978638, -0.6359545588493347, 0.08573991060256958, 0.016120750457048416, 0.17179124057292938, -0.25427335500717163, -0.6223477125167847, 0.353247731924057, -0.10624851286411285, 0.007119087968021631, -0.16305603086948395, 0.6164501309394836, -0.36136940121650696, -0.28605249524116516, 0.2007659524679184, -0.12901422381401062, -0.027637669816613197, 0.4918721318244934, -0.7389649748802185, 0.2564855217933655, 0.038200221955776215, -0.23259811103343964, 0.5082733631134033, -0.03987118601799011, -0.317290723323822, 0.667394757270813, 0.46633538603782654, 0.21273985505104065, -0.26486578583717346, -0.23720736801624298, 0.6249548196792603, -0.6195366382598877, -0.6570231914520264, -0.9784709215164185, 0.4671357572078705, -0.19879280030727386, -0.28909048438072205, 0.18735532462596893, 0.45580074191093445, 0.661096453666687, 0.31397154927253723, 0.6562703251838684, 0.0009554197895340621, 0.17517833411693573, -0.7087476849555969, 0.4837345778942108, -0.5800871849060059, 0.15078964829444885, -0.5089359879493713, -0.8370387554168701, -0.248038649559021, 0.7500491142272949, -0.1814093142747879, -0.2869683504104614, 0.5697331428527832, 0.9575135111808777, 0.1568855494260788, -0.19309309124946594, 0.19887332618236542, -0.2538880705833435, 0.20260176062583923, 0.5760311484336853, 0.5220825672149658, -0.07823357731103897, 0.6088583469390869, -0.3732392489910126, -0.45489829778671265, -0.07340344041585922, -1.3888978958129883, -0.3766367435455322, -0.6004418134689331, -0.24653513729572296, -0.4423939287662506, 0.055414311587810516, 1.261146903038025, 0.6993575692176819, -0.7821382284164429, -0.2932155430316925, -0.10737054795026779, 0.44880014657974243, -0.44694414734840393, -0.16872411966323853, 0.42037782073020935, -0.22005757689476013, -0.949230968952179, 0.609824538230896, 0.5146629214286804, 0.11329231411218643, -0.1882762759923935, -0.5338095426559448, -0.30444273352622986, 0.526085615158081, 0.31514638662338257, 0.5658555626869202, -0.691245436668396, -0.8166273832321167, -0.16847099363803864, -0.3282313048839569, 0.19369260966777802, 0.7886896729469299, -0.28192976117134094, 0.2180853933095932, 0.4162599742412567, 0.847562849521637, 0.20918339490890503, 0.44135236740112305, 0.6558573246002197, -0.43984389305114746, 0.2286626100540161, 0.2834181487560272, 0.3556591868400574, 0.218601793050766, -0.6634793877601624, 0.7423667311668396, -0.17682763934135437, -0.8400508165359497, -0.9359391331672668, 0.5033276081085205, -1.2376418113708496, -0.0250052809715271, 1.0806384086608887, 0.14847776293754578, -0.3489806056022644, 0.2294786274433136, -0.2748672366142273, 0.2114820033311844, -0.5887070298194885, 0.9571046233177185, 0.7053660154342651, -0.5598231554031372, 0.05270449072122574, -0.006623477209359407, 0.6650004982948303, 0.46473929286003113, -0.897524356842041, 0.01025474350899458, 0.5103323459625244, 0.18250827491283417, 0.2607291638851166, 0.7022094130516052, -0.08922430127859116, 0.1908801943063736, -0.3529251515865326, 0.13894431293010712, 0.002294651698321104, -0.3970954716205597, -0.40442949533462524, 0.06056860834360123, 0.23316887021064758, -0.5633031725883484 ]
http://arxiv.org/abs/2404.11045v1
http://arxiv.org/pdf/2404.11045v1
Offset Unlearning for Large Language Models
2024-04-17T03:39:51
2024-04-17T03:39:51
James Y. Huang, Wenxuan Zhou, Fei Wang, Fred Morstatter, Sheng Zhang, Hoifung Poon, Muhao Chen
cs.CL
cs.CL
Despite the strong capabilities of Large Language Models (LLMs) to acquire knowledge from their training corpora, the memorization of sensitive information in the corpora such as copyrighted, harmful, and private content has led to ethical and legal concerns. In response to these challenges, unlearning has emerged as a potential remedy for LLMs affected by problematic training data. However, previous unlearning techniques are either not applicable to black-box LLMs due to required access to model internal weights, or violate data protection principles by retaining sensitive data for inference-time correction. We propose $\delta$-unlearning, an offset unlearning framework for black-box LLMs. Instead of tuning the black-box LLM itself, $\delta$-unlearning learns the logit offset needed for unlearning by contrasting the logits from a pair of smaller models. Experiments demonstrate that $\delta$-unlearning can effectively unlearn target data while maintaining similar or even stronger performance on general out-of-forget-scope tasks. $\delta$-unlearning also effectively incorporates different unlearning algorithms, making our approach a versatile solution to adapting various existing unlearning algorithms to black-box LLMs.
[ -0.06932990998029709, -0.5127630829811096, 0.23738758265972137, 0.03067106381058693, -0.4678409695625305, 0.4085516631603241, -0.5098453164100647, -0.38066691160202026, -0.146154522895813, 0.6845181584358215, -0.6121203303337097, -0.39084765315055847, -0.4087195098400116, -0.34446054697036743, -0.28648069500923157, 0.9146291017532349, 0.10198269784450531, 0.27726003527641296, 0.09587094932794571, -0.3471691906452179, -0.7445181608200073, -0.5293276906013489, -0.439431369304657, -0.3257390856742859, 0.407330185174942, 0.6571888327598572, 0.4452328383922577, 0.8317205309867859, -0.0009264980908483267, 0.20800335705280304, -0.27294665575027466, 0.0901261642575264, -0.7510281205177307, 0.11563292145729065, -0.5110124349594116, -0.5422083139419556, -0.33610999584198, -0.47512635588645935, 0.8029821515083313, 1.0103075504302979, -0.2717345952987671, 0.06024360656738281, 0.12891057133674622, 0.8121261596679688, -1.054947018623352, -0.11701656132936478, -0.7682563662528992, 0.014347784221172333, -0.19563615322113037, -0.24132248759269714, -0.5332568287849426, 0.04160076379776001, -0.1567612886428833, -0.6283112168312073, 0.3340719938278198, -0.17340058088302612, 0.5374502539634705, 0.21405993402004242, -0.342576265335083, -0.2562922239303589, -0.9618340730667114, 1.1439450979232788, -0.8383054137229919, 0.383878231048584, 0.3034469485282898, 0.3005850911140442, -0.13351181149482727, -0.5538655519485474, -0.34493041038513184, 0.4519607722759247, 0.1616075336933136, -0.061798568814992905, -0.4672187268733978, -0.2490154504776001, 0.2659742832183838, 0.41530290246009827, -0.3032180964946747, 0.7463350892066956, -0.6352105140686035, -0.13343043625354767, 0.5403020977973938, -0.10900082439184189, -0.048956938087940216, 0.18351614475250244, -0.21438995003700256, -0.14592216908931732, -1.1844892501831055, -0.08520202338695526, 0.5897797346115112, 0.4514477849006653, 0.05640367791056633, 0.5529974699020386, -0.15437321364879608, 0.3692285120487213, 0.25755423307418823, 0.21991926431655884, 0.35240447521209717, 0.10470721870660782, -0.3084377348423004, 0.08183898776769638, 0.44353872537612915, 0.19169576466083527, 0.273075133562088, -0.48297736048698425, -0.3059391379356384, -0.24760568141937256, 0.4123068153858185, -0.7473827004432678, -0.006466174032539129, 0.321857750415802, -0.13671904802322388, -0.016775326803326607, -0.009558194316923618, -0.9850404858589172, -0.30620694160461426, -0.4390336871147156, 0.4131987392902374, -0.3746279776096344, -0.20541167259216309, 0.014894485473632812, 0.0043147592805325985, -0.0010783282341435552, 0.2359178066253662, -0.8949217796325684, 0.028202764689922333, 0.7990506291389465, 0.6993042826652527, -0.07931314408779144, -0.1882036328315735, -0.7010377049446106, 0.28190022706985474, -0.32935357093811035, 0.29943475127220154, -0.5208486914634705, -0.44463086128234863, 0.2551901936531067, 0.2694753110408783, 0.31283682584762573, -0.4967099130153656, 0.4024854600429535, -0.8391457796096802, 0.27319687604904175, -0.267374724149704, -0.9040738940238953, -0.23590238392353058, -0.30699846148490906, -0.5974623560905457, 0.8572924137115479, -0.0029835901223123074, -0.6608768105506897, 0.38284480571746826, -0.37508058547973633, -0.21274849772453308, 0.17439521849155426, -0.07799755781888962, -0.7134602069854736, 0.27532267570495605, 0.1718735247850418, 0.3901529908180237, -0.014688447117805481, 0.14309711754322052, -0.5649257302284241, -0.41238030791282654, 0.0834449827671051, -0.42312344908714294, 1.1920583248138428, 0.20561186969280243, -0.35423898696899414, -0.030828673392534256, -0.7554788589477539, 0.07311134785413742, 0.018208961933851242, -0.21590881049633026, -0.8027428388595581, -0.043349843472242355, -0.21194438636302948, 0.02981746383011341, 0.16100671887397766, -0.670025110244751, 0.2382902354001999, -0.22365747392177582, 0.34699755907058716, 1.0153487920761108, 0.09907977283000946, 0.7917637228965759, -0.36749640107154846, 0.4540255665779114, -0.10212118178606033, -0.2128666192293167, -0.20487256348133087, 0.03697698563337326, -0.6658602952957153, -0.4768085777759552, 0.30649396777153015, 0.38181179761886597, -0.4395831227302551, 0.6908161044120789, -0.291189044713974, -0.37364786863327026, -0.6687870025634766, 0.5720852017402649, 0.7008857131004333, 0.4620731472969055, 0.46835026144981384, -0.5256293416023254, -0.5078721642494202, -0.6450749635696411, -0.11722542345523834, 0.2538788616657257, -0.17330129444599152, 0.0029211773071438074, 0.4737743139266968, -0.12547196447849274, 0.7689927220344543, -0.447257399559021, -0.4082874059677124, 0.1063774898648262, 0.27785709500312805, -0.09819596260786057, 0.5963770747184753, 0.21523651480674744, -0.7642998695373535, -0.19978854060173035, -0.10543876886367798, -0.7986211776733398, -0.09476558119058609, 0.014090687036514282, -0.27208825945854187, 0.4206729531288147, 0.7768688797950745, -0.551042377948761, 0.41216567158699036, 0.36588621139526367, -0.17418153584003448, 0.6259390115737915, -0.420764297246933, -0.4005769193172455, -1.1463432312011719, 0.22641289234161377, -0.4867474436759949, -0.17468278110027313, -0.754931628704071, 0.013477307744324207, 0.47219789028167725, 0.3526113033294678, -0.464191734790802, 0.6479694843292236, -0.8775885701179504, -0.18021881580352783, -0.5145239233970642, -0.19262783229351044, -0.06419458240270615, 0.6657087206840515, 0.12664365768432617, 0.5451643466949463, 0.4101073741912842, -0.60063636302948, 0.12564553320407867, 0.19565613567829132, -0.3384263217449188, 0.6552958488464355, -0.30543097853660583, 0.3727894425392151, -0.2714708745479584, 0.17466972768306732, -0.6723731756210327, 0.1115223839879036, -0.16079972684383392, -0.3045758306980133, 0.6529889106750488, -0.4351392388343811, -0.3842061460018158, 0.011124657467007637, -0.356496661901474, 0.6583170294761658, 0.6441906094551086, -0.8284991979598999, 0.24298115074634552, 0.4217868745326996, -0.18799184262752533, -1.2415255308151245, -0.5406097769737244, -0.19167083501815796, -0.4132455587387085, 0.008627687580883503, 0.40755516290664673, -0.09968205541372299, -0.16393336653709412, 0.0682208240032196, -0.2237519919872284, -0.04910224303603172, 0.005551048554480076, 0.347796231508255, 0.25141218304634094, -0.13485732674598694, 0.328968346118927, 0.12483062595129013, 0.0022578409407287836, -0.04525049030780792, -0.5665363669395447, 0.5214759111404419, 0.12011657655239105, -0.43128979206085205, 0.1630031168460846, 0.3439147174358368, 0.4970196485519409, -0.2272985875606537, 0.7660633325576782, 0.312019020318985, -0.7436770796775818, -0.4971062242984772, -0.46357038617134094, -0.12525884807109833, -0.4592896103858948, 0.3940378725528717, 0.18172766268253326, -0.8083832859992981, 0.4597241282463074, -0.06356868892908096, 0.4784720540046692, 0.0995115265250206, 0.8470125794410706, -0.1690177172422409, 0.4173189699649811, 0.9801477193832397, -0.3186148405075073, 0.6197220683097839, -0.18346917629241943, -0.00197843206115067, -0.9354316592216492, -0.07678310573101044, -0.3864271640777588, -0.32788556814193726, -0.4201064109802246, -0.36292389035224915, -0.1105552464723587, 0.5907928943634033, -0.46097496151924133, 0.28416523337364197, -0.18145565688610077, 0.7192491888999939, 0.6058204174041748, 0.15655440092086792, 0.5835060477256775, 0.32936838269233704, -0.1530405580997467, 0.0849967747926712, -0.4420139193534851, -0.3067023456096649, 1.4740333557128906, 0.2825218439102173, 0.7460646629333496, 0.28931286931037903, 0.5039056539535522, 0.2810090482234955, 0.5116865038871765, -0.4697105288505554, 0.18562577664852142, -0.41152068972587585, -0.7891358137130737, -0.6495366096496582, -0.6040284633636475, -1.0710586309432983, 0.19838957488536835, 0.0036920011043548584, -1.1183366775512695, 0.43197566270828247, 0.23974718153476715, -0.13038457930088043, 0.7526616454124451, -0.6401534080505371, 0.7287192344665527, -0.14234216511249542, -0.6755591630935669, -0.14814113080501556, -0.5874858498573303, 0.4246571958065033, -0.6598181128501892, 0.3610219359397888, -0.03689985349774361, 0.07081081718206406, 0.63333660364151, -0.406343936920166, 1.2423312664031982, -0.24648037552833557, -0.32933589816093445, -0.0993218719959259, 0.30984583497047424, 0.46821826696395874, -0.06518450379371643, 0.046553079038858414, 0.196347177028656, -0.19545666873455048, -0.592186450958252, -0.5029622912406921, 0.5822634100914001, -0.6440043449401855, -0.4039836823940277, -0.2195509821176529, -0.9708447456359863, -0.28375571966171265, 0.5021765232086182, 0.4290045201778412, 0.08976371586322784, -0.1684274971485138, 0.21354283392429352, 0.5905683040618896, -0.11863444745540619, 0.6897030472755432, 1.0051041841506958, -0.023352045565843582, -0.23134684562683105, 0.8832040429115295, 0.0762060135602951, 0.46901723742485046, 0.7923644185066223, -0.0286452267318964, -0.45594272017478943, -0.520954430103302, -0.38473740220069885, 0.35338830947875977, -0.7507689595222473, -0.3658490777015686, -0.24425803124904633, -0.181240513920784, -0.1895875632762909, -0.31600746512413025, -0.5906016826629639, -0.47956275939941406, -0.2611793875694275, -0.17163655161857605, 0.27348849177360535, 0.4192705750465393, -0.36092904210090637, 0.4830130338668823, -0.656201958656311, 0.05584339052438736, 0.1407020390033722, 0.4664403796195984, 0.14546345174312592, -1.032724380493164, -0.2809762954711914, 0.34437093138694763, -0.42518022656440735, -0.532558262348175, 0.6123345494270325, 0.033372510224580765, 0.4201192557811737, 0.5078107118606567, 0.27429506182670593, 0.7597630620002747, -0.49387356638908386, 0.12523357570171356, 0.22667525708675385, -0.9508221745491028, -0.035850830376148224, -0.2630053460597992, 0.3847907483577728, 0.4384987950325012, 0.48032715916633606, -0.6633756160736084, -0.4857625961303711, -0.5830209851264954, -1.0825015306472778, 0.6230446696281433, 0.1272546350955963, 0.11614017933607101, 0.5814866423606873, 0.40736961364746094, 0.38139525055885315, 0.43718966841697693, -0.6871181130409241, -0.10884689539670944, -0.008781245909631252, -0.21379493176937103, -0.5490493774414062, -0.2554880976676941, -0.1818242371082306, 0.007204926107078791, 0.6901262402534485, -0.07492227852344513, 0.13772940635681152, -0.31671321392059326, -0.487100213766098, -0.5660156607627869, 0.5445038676261902, 0.301404744386673, 0.8707463145256042, -0.3987368047237396, 0.13777928054332733, 0.41706064343452454, -0.3612847924232483, 0.2659168541431427, 0.0022714866790920496, -0.47317028045654297, -0.2548988163471222, 0.4276706278324127, 0.49052757024765015, 0.3637771010398865, -0.7343986630439758, 0.4027431309223175, 0.18638066947460175, 0.023287395015358925, -0.46257784962654114, -0.18312640488147736, 0.2249736785888672, 0.21891988813877106, 0.4089416265487671, -0.2812426686286926, -0.26813244819641113, -0.520783007144928, 0.5717963576316833, 0.5628625154495239, -0.4296518564224243, -0.2608453333377838, 0.5445857644081116, -0.20468410849571228, -0.3474705219268799, 0.738039493560791, 0.0033316772896796465, -0.26035812497138977, 0.5109371542930603, 0.5825125575065613, 0.7244853377342224, -0.5413660407066345, -0.11763881146907806, 0.06020628660917282, 0.2084064930677414, -0.2854527235031128, -0.03373437747359276, 0.008695087395608425, -0.8742477297782898, -0.5918916463851929, -0.4741690456867218, -0.4545900225639343, 0.478879451751709, -1.0990828275680542, 0.25394487380981445, -0.4953573942184448, 0.3549067974090576, 0.07757502049207687, -0.19532698392868042, -0.574616551399231, 0.02404218167066574, -0.008418132551014423, 0.8759057521820068, -0.7689881920814514, 0.9558184146881104, 0.5026116371154785, -0.27045416831970215, -0.5094798803329468, 0.0406976081430912, 0.18585334718227386, -0.9937117099761963, 0.41563037037849426, 0.15324948728084564, 0.08355292677879333, -0.1265929788351059, -0.45557552576065063, -0.6088635921478271, 1.1032673120498657, 0.6878786683082581, -1.0349537134170532, -0.06929370015859604, -0.02340943180024624, 0.5173586010932922, -0.19903278350830078, 0.16440632939338684, 0.4676111340522766, -0.12907271087169647, 0.021788744255900383, -0.6583701968193054, 0.1760481745004654, -0.07976596057415009, -0.3035183846950531, 0.40535813570022583, -0.6292263865470886, 0.7898321747779846, -0.2377089411020279, -0.21437174081802368, -0.04618531093001366, 0.6027075052261353, 0.29016563296318054, 0.1903848946094513, 0.551719069480896, 0.5296886563301086, 1.087820053100586, 0.18462148308753967, 0.7175448536872864, -0.06307143718004227, 0.3145139217376709, 1.3982809782028198, -0.29032087326049805, 0.9071617126464844, 0.4351068139076233, 0.11400826275348663, 0.18252085149288177, 0.35600546002388, 0.02743488922715187, 0.580216646194458, 0.2865719497203827, -0.34827104210853577, -0.09306571632623672, 0.11373405158519745, -0.2180771827697754, 0.37905317544937134, 0.39507314562797546, -0.22086048126220703, -0.4033786356449127, -0.10808447748422623, 0.36156368255615234, 0.0036510371137410402, -0.4107676148414612, 0.5959934592247009, 0.2517838180065155, -0.6362693905830383, 0.653418779373169, 0.14131894707679749, 0.5614742636680603, -0.557144045829773, -0.0017846315167844296, -0.45634785294532776, 0.6902098059654236, -0.09141314029693604, -0.5195066332817078, 0.22270914912223816, 0.20524072647094727, -0.2556418180465698, -0.26471319794654846, 0.24877707660198212, -0.6932851076126099, -0.5197840332984924, 0.6965402364730835, 0.4201158583164215, 0.044866256415843964, -0.052368149161338806, -0.45568007230758667, -0.2624431252479553, 0.034169476479291916, -0.06319665163755417, 0.7037363648414612, 0.6017670631408691, -0.4207976758480072, 0.8214460611343384, 0.742131233215332, 0.15488168597221375, 0.11556847393512726, -0.024944132193922997, 0.8816981911659241, -0.6876476407051086, -0.5768583416938782, -0.8718936443328857, 0.3605378270149231, 0.12050671875476837, -0.2535042464733124, 0.6161103248596191, 0.7118750810623169, 1.1281214952468872, 0.09873513132333755, 0.7508001327514648, 0.3552880585193634, 0.6356711387634277, -0.7921521067619324, 0.591402530670166, -0.6419512033462524, 0.5874842405319214, -0.2716045379638672, -0.8156796097755432, -0.381621778011322, 0.29419028759002686, -0.17746461927890778, 0.010616459883749485, 0.5267642736434937, 0.8834707736968994, -0.3315543830394745, 0.00680152140557766, 0.39110785722732544, 0.20264098048210144, 0.2703235149383545, 0.7812604308128357, 0.6725905537605286, 0.023802926763892174, 0.6995837688446045, -0.48124656081199646, -0.30675095319747925, -0.17770172655582428, -1.0156687498092651, -0.8524391055107117, -0.4417340159416199, -0.09961206465959549, -0.2896862328052521, 0.3301990032196045, 0.6074308753013611, 0.7349859476089478, -1.0236990451812744, -0.4066707491874695, -0.1461976021528244, 0.23415161669254303, -0.39545348286628723, -0.17131762206554413, 0.5996429920196533, -0.18566936254501343, -0.770482063293457, 0.34346553683280945, -0.008820844814181328, 0.2040918618440628, -0.19906535744667053, -0.12299773097038269, -0.06487290561199188, -0.19420160353183746, 0.23608148097991943, 0.9040295481681824, -0.36662977933883667, -0.11663544923067093, -0.188384011387825, 0.13493403792381287, 0.04033995047211647, 1.0689020156860352, -0.4155242145061493, 0.3260791301727295, -0.02098359353840351, 0.7915672659873962, 0.7097897529602051, 0.15991033613681793, 0.768463671207428, -1.4388220310211182, 0.36930105090141296, 0.16352465748786926, 0.5801321864128113, 0.3697294592857361, -0.4567405581474304, 0.30447104573249817, 0.06252655386924744, -0.39137426018714905, -1.1598289012908936, 0.17173315584659576, -0.7872510552406311, -0.6792461276054382, 1.1729998588562012, -0.3214406669139862, -0.14636437594890594, -0.21350006759166718, 0.11901408433914185, 0.428459107875824, -0.4352813959121704, 0.9025059342384338, 0.6586717367172241, 0.3539065718650818, -0.2570776343345642, -0.5825022459030151, 0.3040401041507721, 0.7498324513435364, -0.6256312727928162, 0.7783724665641785, 0.48062554001808167, 0.4822949767112732, 0.07779671996831894, 0.4289720058441162, -0.3049462139606476, 0.20028012990951538, -0.3525659441947937, 0.3709784746170044, -0.24066634476184845, -0.39016520977020264, -0.8010603785514832, 0.07399989664554596, -0.07460878789424896, -0.3694056570529938 ]
http://arxiv.org/abs/2404.11036v1
http://arxiv.org/pdf/2404.11036v1
Cross-Platform Hate Speech Detection with Weakly Supervised Causal Disentanglement
2024-04-17T03:25:54
2024-04-17T03:25:54
Paras Sheth, Tharindu Kumarage, Raha Moraffah, Aman Chadha, Huan Liu
cs.LG
cs.LG, cs.CL
Content moderation faces a challenging task as social media's ability to spread hate speech contrasts with its role in promoting global connectivity. With rapidly evolving slang and hate speech, the adaptability of conventional deep learning to the fluid landscape of online dialogue remains limited. In response, causality inspired disentanglement has shown promise by segregating platform specific peculiarities from universal hate indicators. However, its dependency on available ground truth target labels for discerning these nuances faces practical hurdles with the incessant evolution of platforms and the mutable nature of hate speech. Using confidence based reweighting and contrastive regularization, this study presents HATE WATCH, a novel framework of weakly supervised causal disentanglement that circumvents the need for explicit target labeling and effectively disentangles input features into invariant representations of hate. Empirical validation across platforms two with target labels and two without positions HATE WATCH as a novel method in cross platform hate speech detection with superior performance. HATE WATCH advances scalable content moderation techniques towards developing safer online communities.
[ -0.3745478689670563, -0.9520794749259949, 0.21353887021541595, 0.02458750084042549, -0.33707305788993835, 0.33714938163757324, -0.17380210757255554, -0.45926573872566223, 0.7575068473815918, 0.20676450431346893, -0.8972203731536865, -0.4644264578819275, -1.0568625926971436, -0.19698995351791382, -0.5543236136436462, 1.2484431266784668, 0.3529573380947113, 0.14515221118927002, 0.16928666830062866, -0.21840591728687286, -0.11018744856119156, -0.3964250087738037, -0.7746328711509705, -0.3584652245044708, 1.0507725477218628, 0.20285217463970184, 0.7103420495986938, 0.5567343235015869, 0.28892964124679565, 0.2679453194141388, -0.03755740076303482, 0.14791437983512878, -0.9176422357559204, 0.2738606035709381, -0.2879073917865753, -0.4275602698326111, -0.1563405841588974, 0.014123395085334778, 0.26959744095802307, 0.34344619512557983, 0.2469874620437622, 0.1853572130203247, 0.2080717533826828, 0.17677859961986542, -0.6579272150993347, -0.17493250966072083, -0.8231489658355713, 0.11049044877290726, -0.34365132451057434, -0.07549909502267838, -0.12453749775886536, -0.05075812339782715, -0.11561427265405655, -0.4164113998413086, 0.3266747295856476, 0.05622659623622894, 0.6516410708427429, 0.6289007067680359, -0.283903032541275, -0.20906473696231842, -0.9177034497261047, 0.9467710256576538, -0.4953661859035492, 0.5259012579917908, 0.587480366230011, 0.13535729050636292, 0.052459776401519775, -0.6679841876029968, -0.49237823486328125, 0.18253536522388458, 0.164748415350914, -0.026045044884085655, -0.7437729239463806, -0.19465893507003784, 0.0543048158288002, 0.09780000895261765, -0.3620045483112335, 0.6048434972763062, -0.4303615093231201, -0.45649391412734985, 0.6298523545265198, 0.0809209793806076, 0.2822352349758148, -0.03138625621795654, -0.5200993418693542, 0.27169257402420044, -0.3797856867313385, -0.10451015084981918, 0.7503411769866943, 0.5916221141815186, -0.3249887526035309, 0.1417851746082306, -0.06587199121713638, 0.26532408595085144, 0.4736262261867523, -0.32204803824424744, 0.2201595902442932, 0.23285838961601257, -0.014219427481293678, 0.5435466766357422, 0.8085445761680603, 0.5711088180541992, -0.0027734264731407166, -0.4015616476535797, 0.19340543448925018, 0.703009843826294, 0.31627997756004333, -0.8494436144828796, -0.27021583914756775, 0.06611580401659012, -0.3748232126235962, -0.5440316200256348, -0.29164937138557434, -0.8879275321960449, -0.9274665117263794, -0.3726573884487152, 0.27228444814682007, -0.11878063529729843, -0.3526532053947449, -0.20373402535915375, -0.10551316291093826, 0.02202272228896618, 0.06461776793003082, -0.7873626351356506, 0.293332576751709, 0.7238231897354126, 0.7223640084266663, -0.6009198427200317, -0.00412402069196105, -0.8031783699989319, 0.09786509722471237, -0.03855506703257561, 0.3847608268260956, -0.513917863368988, 0.1646529585123062, -0.19906122982501984, 0.14687645435333252, 0.33884814381599426, -0.2724774181842804, 0.678187370300293, -0.7253131866455078, -0.20873738825321198, -0.014198447577655315, -0.38295218348503113, -0.16170601546764374, 0.2551397383213043, -0.5168223977088928, 0.5490002632141113, -0.14111334085464478, -0.9100021123886108, 0.7584609389305115, 0.0775047019124031, -0.5477765202522278, -0.05775194987654686, -0.1336134523153305, -0.8073802590370178, -0.07768372446298599, 0.1446506828069687, 0.2526013255119324, -0.07769450545310974, 0.38998928666114807, -1.0569134950637817, -0.34657835960388184, -0.038325466215610504, -0.647311270236969, 0.7971549034118652, 0.3576458990573883, -1.0281932353973389, 0.215427964925766, -0.6823304295539856, -0.2272961139678955, 0.06321565061807632, 0.23161594569683075, -0.4913701117038727, 0.426163911819458, 0.19085244834423065, 0.31852641701698303, 0.14856195449829102, -0.7906835079193115, -0.47480472922325134, -0.12545810639858246, 0.40322786569595337, 0.8077420592308044, 0.057740505784749985, 0.08303730189800262, -0.1977073699235916, 0.32144561409950256, 0.28441619873046875, 0.3022056221961975, 0.8130174875259399, -0.4413881003856659, -0.6071589589118958, -0.33974823355674744, -0.2227095663547516, 0.5704125761985779, -0.5323581099510193, 0.24520911276340485, 0.13137170672416687, -0.5020089149475098, -0.23644372820854187, 0.42814624309539795, 0.47329843044281006, 0.41084960103034973, 0.5233032703399658, -0.2503316402435303, -0.9540736675262451, -1.0407297611236572, -0.4506966471672058, -0.18456779420375824, 0.03587674722075462, 0.116814024746418, 0.17057056725025177, -0.4566737115383148, 0.7789708375930786, -0.22330501675605774, -0.30129197239875793, -0.19032713770866394, 0.3634643852710724, -0.12446340918540955, 0.41477325558662415, 0.4762897491455078, -1.277312159538269, -0.5154948830604553, -0.3477446436882019, -0.46679335832595825, -0.3244892656803131, 0.13398320972919464, 0.06567706167697906, -0.331849604845047, 0.7652717232704163, 0.28780996799468994, 0.5205144882202148, 0.5769075155258179, -0.19774290919303894, 0.10401204228401184, 0.4044853150844574, 0.2836396098136902, -0.9503881931304932, -0.3014824688434601, 0.16618084907531738, -0.4128932058811188, -0.6677025556564331, -0.3207245469093323, -0.6178369522094727, 0.05373993143439293, -0.5935866236686707, -0.08565402776002884, 0.07952433079481125, 0.2605137825012207, -0.4082473814487457, 0.3732078969478607, -0.3380737006664276, 0.5173519253730774, 0.0658893808722496, 0.18575820326805115, 0.48053523898124695, -0.5600482225418091, 0.41311633586883545, 0.05332832783460617, -0.07897566258907318, 0.912987470626831, -0.3784073293209076, 0.010633254423737526, -0.21587394177913666, 0.21946287155151367, -0.99945467710495, -0.12832926213741302, 0.5523239970207214, -0.549697756767273, -0.018013227730989456, -0.5978628396987915, -0.36433669924736023, -0.08131223917007446, -0.18117137253284454, 0.5277092456817627, 0.2722008526325226, -0.39767590165138245, 0.36028701066970825, 0.7981492877006531, 0.07972263544797897, -0.42842361330986023, -0.9696387648582458, -0.15465788543224335, -0.7947387099266052, -0.29061222076416016, 0.42725610733032227, -0.09483042359352112, -0.378753125667572, -0.156915545463562, -0.283669650554657, -0.4135226905345917, 0.11545324325561523, 0.684637188911438, -0.15378984808921814, -0.09279441088438034, -0.018305562436580658, 0.20982469618320465, 0.00399307906627655, 0.2383478432893753, -0.15739667415618896, 0.4101191759109497, 0.2305910885334015, -0.34112685918807983, -0.5705534815788269, 0.3424246609210968, 0.6871891617774963, 0.25363245606422424, 0.5593269467353821, 1.3626303672790527, -0.42597877979278564, -0.382509708404541, -0.5069600939750671, -0.26928120851516724, -0.4760553538799286, 0.18198420107364655, 0.08605349063873291, -1.4021755456924438, 0.5624996423721313, 0.11686449497938156, -0.16192595660686493, 0.3279878497123718, 0.5416514873504639, 0.12995333969593048, 0.9895226955413818, 0.5978356003761292, -0.4907970726490021, 0.4201299250125885, 0.4037794768810272, 0.2908494770526886, -0.28926563262939453, -0.13271859288215637, -0.3784739077091217, -0.7917778491973877, -0.731330394744873, -0.347665399312973, 0.34164509177207947, 0.20562508702278137, -0.3835660219192505, 0.3874979615211487, -0.4537900686264038, 0.3277689218521118, 0.19974631071090698, 0.4282703399658203, 0.2645033597946167, 0.20990535616874695, -0.03902005776762962, -0.7413324117660522, -0.4685359299182892, -0.021906210109591484, 0.9253354072570801, 0.5221193432807922, 0.7827985882759094, 0.3344404697418213, 0.4998646080493927, 0.7776700258255005, 0.37191104888916016, -0.6046432256698608, 0.17376971244812012, -0.4291418492794037, -0.7170810103416443, -0.1338517665863037, -0.46909332275390625, -0.7219475507736206, -0.04397192969918251, -0.2918012738227844, -0.970504879951477, 0.2614235579967499, 0.33940503001213074, -0.19237272441387177, 0.738503098487854, -0.3118070960044861, 0.8107298016548157, -0.08322915434837341, -0.8444836139678955, -0.4421335756778717, -0.547758162021637, 0.48737844824790955, -0.025011299178004265, 0.4193190634250641, -0.19739702343940735, 0.01811198703944683, 0.9558517336845398, -0.2615133821964264, 1.4237533807754517, -0.1976563036441803, -0.06322158873081207, 0.4273613691329956, 0.22915484011173248, 0.3525676429271698, 0.13197124004364014, 0.30729934573173523, 0.20988240838050842, -0.4474087655544281, -0.22034695744514465, -0.2267986238002777, 0.8840161561965942, -0.5821054577827454, -0.2390640527009964, 0.032510485500097275, -0.2391335815191269, -0.5194275975227356, 0.1977969855070114, 0.2943575084209442, 0.2903769314289093, -0.2827931344509125, 0.2709116041660309, 1.0118359327316284, -0.08388719707727432, 0.12883369624614716, 0.6730325222015381, -0.1530464142560959, -0.3575746715068817, 1.267778992652893, -0.31240278482437134, 0.1307859569787979, 0.45439931750297546, 0.26430898904800415, -0.2778860330581665, -0.45425763726234436, -0.11901826411485672, -0.1670485883951187, -0.4665141999721527, -0.08049709349870682, -0.737523078918457, 0.09280410408973694, -0.2554450035095215, -0.2098056524991989, -0.42092618346214294, -0.03329067304730415, -0.2415708750486374, -0.002323334803804755, 0.4902995228767395, 0.5643576979637146, -0.6236546039581299, 0.4416230022907257, -0.09603007882833481, 0.6704874038696289, 0.4425732493400574, 0.4117514491081238, -0.20051316916942596, -0.7765805721282959, -0.08187685161828995, 0.09938199073076248, -0.2662884593009949, -0.9468140006065369, 0.2715476155281067, -0.22345095872879028, 0.306547075510025, 0.626566469669342, 0.3763355016708374, 0.6639050245285034, -0.4136163294315338, 0.511772096157074, 0.3520183563232422, -0.8146085739135742, 0.43761780858039856, -0.3976042568683624, -0.19910462200641632, 0.6860763430595398, 0.8128098845481873, -0.46796417236328125, -0.7657686471939087, -0.5543188452720642, -0.7809220552444458, 0.6090217232704163, 0.039288874715566635, -0.03813603147864342, -0.1786498725414276, -0.4559745490550995, -0.03620738536119461, 0.3282758593559265, -0.8831596374511719, -0.7063623070716858, -0.24718250334262848, 0.046667326241731644, -0.11072568595409393, -0.07293213158845901, -0.3423568904399872, -0.18702447414398193, 0.6900845766067505, 0.11824460327625275, -0.05442291870713234, 0.06227175518870354, -0.2513262927532196, -0.19197694957256317, 0.17176902294158936, 0.3755006492137909, 0.33984580636024475, -0.2994726896286011, 0.2378932535648346, 0.04581999406218529, -0.41784241795539856, 0.0775703638792038, 0.060115981847047806, -0.2470124065876007, 0.2272486686706543, 0.1310344636440277, 0.6962088346481323, 0.5452951788902283, -0.32825344800949097, 0.693219006061554, 0.05277467519044876, -0.2937752902507782, -0.19182421267032623, -0.06701504439115524, -0.018119994550943375, 0.30951520800590515, 0.20532697439193726, 0.11316640675067902, 0.2500458061695099, -0.16957175731658936, 0.7183578610420227, 0.3005223572254181, -1.083344578742981, -0.13605628907680511, 1.0322178602218628, 0.09429506957530975, 0.00045145105104893446, 0.0016363161848857999, -0.23129305243492126, -0.6578259468078613, 0.39322569966316223, 0.3602064847946167, 0.9370384812355042, -0.21693246066570282, 0.4716879725456238, 0.33724382519721985, 0.34856361150741577, 0.48572051525115967, -0.2823590338230133, -0.24969612061977386, -0.7399438619613647, -0.34953954815864563, -0.7324458360671997, -0.38468876481056213, 0.5474336743354797, -0.7336432933807373, 0.05535711720585823, -0.8317842483520508, -0.10152174532413483, 0.2481357902288437, -0.1963011920452118, -0.39651259779930115, 0.214591845870018, 0.5681345462799072, 0.28112831711769104, -1.202893614768982, 0.400842547416687, 0.09274377673864365, -0.21084418892860413, -0.6196033954620361, 0.0016850859392434359, 0.6949320435523987, -0.6485105156898499, 0.7191506028175354, 0.11253892630338669, -0.6642201542854309, -0.2817893922328949, -0.7047227025032043, -0.5465871095657349, 0.5263967514038086, 0.20531630516052246, -0.5641747117042542, 0.4682091176509857, 0.22137926518917084, 0.5879305005073547, -0.26364290714263916, -0.057009898126125336, 0.24710014462471008, 0.3710193932056427, 0.007659486494958401, -0.6800646185874939, 0.11148583889007568, 0.07712413370609283, -0.42429864406585693, 0.09857290983200073, -0.8257215023040771, 0.7351254224777222, 0.40748170018196106, -0.2038436383008957, -0.5034993886947632, 0.688273549079895, 0.01406925544142723, 0.6715002655982971, 0.794145941734314, 0.4810272753238678, 0.3173780143260956, 0.12966668605804443, 0.33414140343666077, -0.10391835123300552, 0.18663591146469116, 1.2015023231506348, -0.10986071825027466, 0.4158249795436859, 0.45866894721984863, -0.17175395786762238, 0.6447778940200806, 0.32215943932533264, -0.07750901579856873, 0.44108232855796814, 0.5122788548469543, -0.5403860211372375, -0.7209716439247131, -0.43699735403060913, -0.23839956521987915, 0.5019607543945312, 0.5617731809616089, -0.34766894578933716, -0.48695850372314453, 0.06751268357038498, 0.2671217918395996, 0.5307289361953735, -0.614692747592926, 0.5084394812583923, -0.0415833480656147, -0.3089541494846344, 0.4865248501300812, 0.24135757982730865, 1.163470983505249, -0.7665608525276184, 0.18531112372875214, 0.037141311913728714, 0.31085845828056335, -0.39281994104385376, -0.2588764727115631, 0.5138588547706604, 0.2352210432291031, -0.32938438653945923, -0.28859201073646545, 0.6584934592247009, -0.362831175327301, -0.0859338715672493, 0.7420129179954529, 0.17414376139640808, 0.10084111243486404, -0.16694489121437073, -0.9339331984519958, 0.44679492712020874, 0.14301376044750214, 0.22968409955501556, 0.5514495968818665, 0.32180389761924744, -0.08374819904565811, 0.4797635078430176, 0.5340863466262817, -0.13978849351406097, 0.3112052381038666, 0.06811536848545074, 0.9408518075942993, -0.15201136469841003, -0.7103663682937622, -0.8794214129447937, 0.2183060348033905, -0.09193775057792664, -0.4053947627544403, 0.8596389889717102, 0.6179172396659851, 1.101469874382019, 0.12659431993961334, 0.5035610198974609, -0.2740176022052765, 0.8190699219703674, -0.17411187291145325, 0.7752788066864014, -0.591107189655304, -0.011747708544135094, -0.7239078879356384, -0.5376676321029663, -0.34173673391342163, 0.2634044885635376, -0.5138067603111267, -0.329164981842041, 0.4801572561264038, 0.8338177800178528, -0.43706706166267395, -0.01757608726620674, 0.33331888914108276, 0.20571063458919525, 0.23925615847110748, 0.5032326579093933, 0.4406913220882416, -0.49590352177619934, 0.8820997476577759, -0.3116178810596466, -0.24771572649478912, -0.14101043343544006, -0.7119757533073425, -0.947903573513031, -0.4801427125930786, -0.6275864243507385, -0.5457939505577087, 0.06564106047153473, 0.5404193997383118, 0.8253348469734192, -1.0902290344238281, -0.017220811918377876, -0.05206206440925598, 0.44292619824409485, -0.24318529665470123, -0.316584050655365, 0.06316874921321869, -0.07955069839954376, -0.8145734667778015, 0.706459641456604, 0.2561269700527191, -0.30144208669662476, -0.13983109593391418, -0.1374865472316742, -0.38792479038238525, -0.19712436199188232, 0.40239331126213074, 0.6719666123390198, -0.6322978138923645, -0.18783822655677795, -0.6313890218734741, -0.05345458164811134, -0.2399957925081253, 0.9443745613098145, -0.571190595626831, 0.2078426331281662, 0.11877410113811493, 0.9221822023391724, 0.6260915994644165, 0.010173551738262177, 0.15738524496555328, -0.916693389415741, 0.5576141476631165, 0.22224637866020203, 0.1545717865228653, 0.18348267674446106, -0.2536270022392273, 0.011158104054629803, 0.7614355087280273, -0.2930493652820587, -0.7308008670806885, 0.6248658895492554, -1.018456220626831, -0.3183930814266205, 0.8553133010864258, 0.009188973344862461, -0.16748900711536407, -0.4703196585178375, 0.12002813071012497, 0.30979979038238525, -0.4413541853427887, 0.5537033081054688, 0.3446787893772125, 0.018538009375333786, -0.07454206049442291, -0.30187100172042847, 0.7226861715316772, 0.44938191771507263, -0.2846175730228424, 0.020777292549610138, 0.7419739365577698, 0.3166179060935974, 0.2499741166830063, 0.3323591947555542, 0.00578200863674283, 0.07658959925174713, 0.30930018424987793, -0.3562653362751007, -0.07751061022281647, -0.3175831437110901, -0.20949795842170715, 0.4501923620700836, -0.5381635427474976, -0.2605574131011963 ]
http://arxiv.org/abs/2404.11023v1
http://arxiv.org/pdf/2404.11023v1
Advancing Social Intelligence in AI Agents: Technical Challenges and Open Questions
2024-04-17T02:57:42
2024-04-17T02:57:42
Leena Mathur, Paul Pu Liang, Louis-Philippe Morency
cs.HC
cs.HC, cs.CL, cs.LG
Building socially-intelligent AI agents (Social-AI) is a multidisciplinary, multimodal research goal that involves creating agents that can sense, perceive, reason about, learn from, and respond to affect, behavior, and cognition of other agents (human or artificial). Progress towards Social-AI has accelerated in the past decade across several computing communities, including natural language processing, machine learning, robotics, human-machine interaction, computer vision, and speech. Natural language processing, in particular, has been prominent in Social-AI research, as language plays a key role in constructing the social world. In this position paper, we identify a set of underlying technical challenges and open questions for researchers across computing communities to advance Social-AI. We anchor our discussion in the context of social intelligence concepts and prior progress in Social-AI research.
[ -0.4131990671157837, -1.1802412271499634, 0.6184779405593872, -0.014918801374733448, 0.3611510097980499, 0.6868717670440674, -0.3416260778903961, -0.8753514289855957, 0.18011465668678284, 0.11432462930679321, -0.5792704820632935, -0.19917581975460052, -0.6712124347686768, 0.12305702269077301, -0.1231408640742302, 0.7260411977767944, 0.23236986994743347, -0.3518999218940735, -0.34288254380226135, -0.25081130862236023, -0.3959265351295471, -0.5223125219345093, -0.9155756235122681, -0.2019580900669098, 0.6508433818817139, 0.6101424098014832, 1.1119755506515503, 0.3256174921989441, 0.5532182455062866, 0.4696269631385803, 0.17227695882320404, 0.39159706234931946, -0.2206936776638031, 0.27202650904655457, -0.07949913293123245, -0.3482295274734497, -0.5394567251205444, 0.09598401188850403, 0.5580241680145264, 0.731116533279419, 0.33394655585289, 0.301033079624176, 0.08705273270606995, 0.8807589411735535, -0.39311671257019043, 0.4852890372276306, -0.5155900120735168, -0.18018028140068054, -0.311189740896225, 0.04625273495912552, -0.1584075540304184, -0.45619627833366394, -0.031643468886613846, -0.6770143508911133, 0.19653302431106567, -0.023633882403373718, 0.796022891998291, 0.34120824933052063, -0.40958988666534424, -0.16675110161304474, -1.0053105354309082, 0.5226327776908875, -0.2674373388290405, 0.2520161271095276, 0.48189976811408997, 0.4145328402519226, -0.17513033747673035, -0.6752505898475647, -0.5474265217781067, -0.23339499533176422, 0.3533810079097748, -0.14316724240779877, -0.036824289709329605, -0.09986837208271027, 0.14022822678089142, -0.05872155353426933, -0.3090975284576416, -0.09527982771396637, -0.6847498416900635, -0.08952731639146805, 1.090839147567749, 0.12404435873031616, 0.31869080662727356, 0.3370935022830963, 0.13723431527614594, -0.02131796069443226, -0.42544350028038025, 0.16542288661003113, 0.3740513026714325, 0.3838418424129486, -0.3182924687862396, 0.4974651038646698, -0.4562990367412567, 0.2710152566432953, -0.13926516473293304, 0.42893028259277344, 0.38101810216903687, -0.5690472722053528, 0.2790582478046417, -0.07644910365343094, 0.5206765532493591, 0.14060057699680328, 0.7075333595275879, -0.1505054235458374, 0.09550478309392929, 0.22274786233901978, 0.5324853658676147, -0.27093133330345154, 0.14607176184654236, 0.38344982266426086, -0.38875988125801086, -0.40780267119407654, 0.048556383699178696, -0.5644015669822693, -0.639880359172821, -0.3163515329360962, 0.16443026065826416, -0.23990342020988464, -0.5610995292663574, -0.18867377936840057, -0.47647225856781006, 0.7766831517219543, 0.5001094341278076, -0.6052818298339844, 0.30499666929244995, 1.0170722007751465, 0.830901026725769, 0.3638947904109955, -0.44935673475265503, -0.346625417470932, 0.10987560451030731, -0.28553441166877747, 0.9765592813491821, -0.8088989853858948, -0.20820316672325134, 0.12763580679893494, -0.044549111276865005, -0.14685115218162537, -0.16961461305618286, 0.0441339947283268, -0.3792385756969452, -0.02052442915737629, -0.3947190046310425, -0.20544090867042542, 0.05780202895402908, 0.4633379876613617, -0.381002277135849, 0.8896669745445251, 0.06924834847450256, -0.5852915048599243, 0.1234397143125534, -1.190317153930664, -0.6750023365020752, 0.4673919379711151, -0.3238486349582672, 0.06068721041083336, 0.18416784703731537, -0.0402691587805748, 0.31208959221839905, -0.40927809476852417, 0.2286708503961563, -0.48514965176582336, -0.23701654374599457, 0.512516975402832, -0.257933646440506, 0.7592049837112427, 0.19095171988010406, -0.5541568398475647, 0.28303471207618713, -0.5546606183052063, -0.16341595351696014, 0.26928600668907166, 0.04974289983510971, -0.22702309489250183, 0.4807520806789398, -0.30798497796058655, -0.0926605761051178, 0.5197126865386963, -0.6679674983024597, 0.025826623663306236, -0.29371750354766846, 0.7080262899398804, 1.0684196949005127, -0.1667005866765976, 0.5163700580596924, -0.6624724268913269, 0.3115389347076416, -0.34587687253952026, 0.45198801159858704, 0.16134992241859436, -0.8873566389083862, -0.493305504322052, 0.051766008138656616, 0.006408661603927612, 0.6023017764091492, -1.0527477264404297, 0.11967500299215317, -0.07941808551549911, -0.6782571077346802, -0.8614018559455872, -0.03504602983593941, 0.06713814288377762, 0.24146011471748352, 0.10792335122823715, 0.03343120962381363, -0.17903803288936615, -0.7355102300643921, -0.3491751551628113, -0.46177470684051514, 0.1832544505596161, 0.3455098867416382, 0.5033248066902161, -0.36433807015419006, 0.928030788898468, -0.5425441265106201, 0.021033743396401405, -0.42911821603775024, 0.11513659358024597, -0.3510139286518097, 0.44095921516418457, 0.22545966506004333, -1.103835105895996, -0.6284888386726379, 0.2539963722229004, -1.0319360494613647, 0.14075934886932373, 0.23316819965839386, -0.04144291579723358, 0.19274912774562836, 0.6214640140533447, -0.8499515056610107, 0.6442344188690186, -0.018659718334674835, -0.330204576253891, 0.30150702595710754, -0.1282414048910141, 0.37920865416526794, -1.0315624475479126, 0.022836793214082718, -0.07376090437173843, 0.09245596081018448, -1.1049726009368896, 0.1936817616224289, -0.4590223431587219, -0.3202904462814331, -0.27846744656562805, 0.727669894695282, -0.3767584264278412, -0.008124797604978085, -0.1619400531053543, 0.4578876793384552, -0.3386276364326477, 0.337757408618927, -0.2788616716861725, 0.5711002349853516, 0.7397339940071106, -0.7635469436645508, 0.48055407404899597, -0.04270115867257118, 0.08282085508108139, 0.6015944480895996, -0.9576539993286133, 0.6510191559791565, -0.4143066108226776, -0.22784289717674255, -0.6950055360794067, -0.35050061345100403, 0.5086817145347595, -1.0232042074203491, -0.06859885901212692, 0.4662206768989563, -0.533578634262085, -0.5415571928024292, -0.47341540455818176, 0.6280131936073303, 0.4155562222003937, 0.1087999939918518, 0.7159188985824585, 0.667046308517456, -0.33861246705055237, -0.2986711263656616, -0.3219429850578308, 0.14565834403038025, 0.07970503717660904, -0.9735512137413025, 0.17391853034496307, -0.1609928011894226, -0.9386194348335266, 0.235856831073761, 0.3364330232143402, -0.15933246910572052, 0.4526507258415222, 0.24467402696609497, -0.007302573416382074, -0.14723996818065643, 0.20053665339946747, 0.07301734387874603, -0.14843471348285675, 0.20565979182720184, 0.06941036880016327, 0.5169274210929871, -0.4093221426010132, -0.25455522537231445, -0.3128885328769684, 0.5892505645751953, 0.5068066716194153, -0.4869180917739868, 0.6355140209197998, 0.6453786492347717, -0.691645085811615, -0.06607110053300858, -0.5344086289405823, -0.014463929459452629, -0.5077875256538391, 0.2807902693748474, -0.1888088583946228, -1.1428884267807007, 0.642376184463501, 0.04239066317677498, 0.22119328379631042, 0.309620201587677, 0.4222409725189209, -0.29829511046409607, 1.1930338144302368, 0.8849018216133118, -0.08181486278772354, 0.5272762179374695, 0.045876991003751755, 0.33198457956314087, -0.40040597319602966, -0.24548989534378052, -0.9259686470031738, -0.2924509048461914, -0.6450480222702026, -0.3312896192073822, 0.24809770286083221, -0.6197590231895447, -0.2661941647529602, 0.15706831216812134, -0.45002949237823486, 0.17359939217567444, 0.8502510786056519, 0.10564319789409637, 0.03171297162771225, -0.17753060162067413, 0.5061665177345276, 0.5561502575874329, -0.4035250246524811, -0.6343052387237549, 0.7951344847679138, 0.32002684473991394, 0.280987411737442, 0.048398457467556, 0.6659861207008362, 0.7769171595573425, 0.06624595820903778, -0.5208631157875061, 0.7578516006469727, 0.19474540650844574, -0.7114318013191223, -0.616860032081604, -0.2835886776447296, -1.122511625289917, -0.24449467658996582, -0.14872613549232483, -0.6627026796340942, 0.04777799919247627, 0.10443265736103058, -0.2549709975719452, 0.16504691541194916, -0.6019947528839111, 0.7958989143371582, -0.21067067980766296, -0.26934656500816345, -0.6696643829345703, -0.9886935949325562, -0.13869313895702362, 0.2676638960838318, 0.49845564365386963, -0.43388745188713074, 0.15241128206253052, 0.5265575051307678, -0.2812334895133972, 0.8715642094612122, -0.35163038969039917, 0.27008572220802307, 0.6315380334854126, -0.3737632930278778, 0.11399371176958084, -0.0717378705739975, -0.14587971568107605, 0.2236924022436142, 0.061397649347782135, -0.6667956113815308, -0.5803900361061096, 0.16104502975940704, -0.9794471263885498, -0.8562397956848145, -0.4335298240184784, -0.5373265743255615, -0.12462236732244492, 0.06978002190589905, -0.23113250732421875, 0.38365721702575684, -0.5254469513893127, 0.2506360709667206, 0.5730094909667969, -0.26689431071281433, 0.36854520440101624, 0.2641507089138031, 0.09902723133563995, -0.13193704187870026, 1.0991805791854858, 0.16274897754192352, 0.3946073353290558, 0.31474772095680237, 0.1942860633134842, 0.11226942390203476, -0.4385148286819458, -0.35557821393013, 0.15071147680282593, -0.4139545261859894, 0.08429905027151108, -0.5027756094932556, -0.3947508931159973, -0.9964178800582886, -0.2742982804775238, -0.1868162453174591, -0.18128123879432678, -0.3433973491191864, 0.15652531385421753, 0.5177080035209656, 1.0643277168273926, -0.1471930891275406, -0.01596357859671116, -0.8286271095275879, 0.40770918130874634, 0.21092993021011353, 0.1695312261581421, 0.024671005085110664, -0.04044356569647789, -0.2810106873512268, 0.3849566876888275, -0.18864281475543976, -0.9011926054954529, -0.05507313460111618, 0.14366737008094788, 0.7226932048797607, 0.15085366368293762, 0.38005495071411133, 0.48774752020835876, -0.42795491218566895, 0.9432021975517273, -0.27418720722198486, -0.6437131762504578, 0.9117891788482666, -0.22648903727531433, 0.3034306466579437, 0.6715531945228577, 0.38639476895332336, -0.598447859287262, -0.6168549656867981, -0.6531226634979248, -0.6749674081802368, 0.491360604763031, 0.3090406358242035, 0.2625453770160675, -0.1239681988954544, 0.4648202061653137, -0.058935269713401794, 0.20995472371578217, -0.43743443489074707, -0.16632071137428284, -0.16569441556930542, -0.23076924681663513, -0.06466910988092422, 0.14501744508743286, 0.09852311760187149, -0.1802268773317337, 0.5327325463294983, -0.3870919644832611, 0.38086193799972534, 0.1846347451210022, -0.010398163460195065, -0.04358883574604988, 0.3875133991241455, 0.4538259506225586, 0.5944746136665344, 0.022075997665524483, -0.04789649322628975, -0.1296725571155548, -0.3632095754146576, 0.02259867452085018, 0.3739575445652008, -0.29310503602027893, -0.5122783184051514, 0.2713966369628906, 0.6345769762992859, -0.2806922197341919, -0.6504046320915222, 0.29842427372932434, -0.3391539454460144, -0.33534836769104004, -0.507028341293335, 0.28634852170944214, -0.07317767292261124, 0.6431770324707031, 0.5636046528816223, 0.04289214685559273, -0.06712888926267624, -1.1301997900009155, -0.08314981311559677, 0.6169968843460083, -0.5769575238227844, -0.46932974457740784, 0.5330033898353577, 0.2629201114177704, -1.0338897705078125, 0.625156819820404, -0.5145432949066162, -0.4992583394050598, 0.9413226842880249, 0.33704429864883423, 1.1400859355926514, 0.061259616166353226, 0.4738169014453888, -0.2826918959617615, 0.6312891840934753, 0.35625019669532776, 0.7073785662651062, -0.3648723363876343, -0.9737580418586731, -0.06893528252840042, -0.2636711001396179, -0.7016990184783936, -0.5439056158065796, -0.3442442715167999, 0.027987303212285042, -0.4382683038711548, -0.2878240942955017, 0.12791846692562103, -0.012825293466448784, -0.7163963317871094, -0.19012024998664856, 0.17695170640945435, 0.7196124792098999, -0.4994626045227051, 0.6562835574150085, 1.1040745973587036, -0.45553407073020935, -0.48483407497406006, -0.1372896283864975, -0.052355702966451645, -0.685396134853363, 0.4398529827594757, 0.2730514407157898, -0.2583715617656708, -0.00541932275518775, -1.06854248046875, -0.6929046511650085, 0.9734585285186768, 0.10663598775863647, 0.11494795978069305, -0.32423415780067444, 0.3536228835582733, 0.6856431365013123, -0.28182604908943176, 0.07050073146820068, 0.3851061165332794, 0.5526959896087646, -0.24592439830303192, -0.7942513227462769, 0.05088771507143974, -0.7391864061355591, -0.14327630400657654, 0.21635164320468903, -1.0082876682281494, 0.6557550430297852, -0.2965359389781952, -0.2879827618598938, 0.0704474151134491, 0.8964617848396301, 0.142878457903862, 0.8957967162132263, 0.4695751667022705, 0.030838878825306892, 0.8324035406112671, -0.05273761227726936, 0.7563888430595398, -0.43756747245788574, -0.12866616249084473, 0.6326258182525635, -0.6427468657493591, 0.4659883677959442, 0.02427363581955433, -0.018459783867001534, 0.5024982690811157, 0.6278752684593201, 0.1647281050682068, 0.0538027286529541, -0.05765972658991814, -0.4729805290699005, -0.11178027093410492, -0.4350035786628723, -0.4489630162715912, 0.6059837937355042, 0.48555788397789, 0.14307501912117004, 0.27705761790275574, 0.09172181785106659, -0.23358099162578583, 0.2849951982498169, -0.5231778621673584, 0.9246970415115356, -0.05868218466639519, -0.6918962597846985, -0.22982555627822876, -0.02488677017390728, 0.4134296178817749, -0.6082048416137695, -0.2260483354330063, 0.02067406103014946, 0.012970632873475552, -0.004445936996489763, -0.5477131009101868, 0.6109718084335327, 0.07754918932914734, -0.14516505599021912, -0.16239233314990997, 1.1545991897583008, -0.07126813381910324, -0.3212907612323761, 0.30524808168411255, 0.6223376989364624, 0.21550814807415009, -0.17955045402050018, -0.8843234777450562, 0.01621408388018608, -0.32245177030563354, 0.07819747179746628, 0.22239361703395844, 0.7121639847755432, -0.10334868729114532, 0.8880103826522827, 0.6741136908531189, -0.061943817883729935, 0.0898047462105751, 0.10841121524572372, 0.9052138328552246, -0.8988409638404846, -0.3524330258369446, -0.8815872073173523, 0.5066771507263184, -0.26186567544937134, -0.29213249683380127, 0.5487468242645264, 0.09482061862945557, 0.7109794020652771, 0.4521726071834564, 0.8498085737228394, -0.6660612225532532, 0.27085697650909424, -0.017709776759147644, 0.664223313331604, -0.49016520380973816, -0.1774381697177887, -0.3729957640171051, -0.45043379068374634, -0.04269351810216904, 0.38793841004371643, -0.1126750111579895, 0.13562221825122833, 0.4077971279621124, 0.7418079972267151, 0.601863443851471, 0.23932425677776337, 0.22528617084026337, 0.03482144698500633, 0.4741755723953247, 0.2517969608306885, 0.992219090461731, -0.17322981357574463, 0.37346315383911133, -0.25561293959617615, -0.26868849992752075, 0.24511370062828064, -0.3852132558822632, -0.8478363752365112, -0.6651272773742676, -0.45529893040657043, -0.3360477685928345, 0.3796963393688202, 1.1569867134094238, 0.40836846828460693, -0.5716472268104553, -0.3963639438152313, 0.12152048200368881, 0.7159456014633179, -0.3511642515659332, -0.31746456027030945, -0.13275647163391113, -0.4883424639701843, -0.6528998017311096, 0.4150952696800232, 0.5632588863372803, -0.2412441521883011, -0.3183068037033081, -0.2259712815284729, -0.5666828155517578, 0.18319974839687347, 0.7343788743019104, 0.6296122074127197, -0.40429630875587463, -0.7315986156463623, 0.20001322031021118, 0.14855791628360748, 0.0024830412585288286, 0.5758888125419617, -0.5585680603981018, 0.1517430543899536, 0.41103026270866394, 1.026506781578064, 0.02232404612004757, 0.0009064777405001223, 0.6197114586830139, -0.4866766333580017, -0.062241315841674805, 0.23887263238430023, 0.05650603398680687, 0.25792640447616577, -0.42728370428085327, 0.6310216784477234, 0.5864577293395996, -0.7483217716217041, -0.9439981579780579, 0.37539997696876526, -0.697810173034668, -0.3293859362602234, 0.9173431396484375, 0.29846030473709106, -0.2838224768638611, -0.5652498602867126, -0.1524079591035843, 0.6073021292686462, -0.4403398334980011, 0.6825735569000244, 0.46523991227149963, -0.3356158137321472, -0.33058664202690125, -0.4262906312942505, 0.30556967854499817, 0.059157367795705795, -1.0286258459091187, 0.03190202638506889, 0.4347304403781891, -0.2340913861989975, 0.3946298062801361, 1.109767198562622, 0.08847193419933319, 0.342907190322876, 0.08580285310745239, -0.09721410274505615, 0.10058781504631042, -0.6342887878417969, -0.05340803414583206, 0.416948527097702, 0.3225238025188446, -0.0890599712729454 ]
http://arxiv.org/abs/2404.11018v2
http://arxiv.org/pdf/2404.11018v2
Many-Shot In-Context Learning
2024-04-17T02:49:26
2024-05-22T17:06:10
Rishabh Agarwal, Avi Singh, Lei M. Zhang, Bernd Bohnet, Luis Rosias, Stephanie Chan, Biao Zhang, Ankesh Anand, Zaheer Abbas, Azade Nova, John D. Co-Reyes, Eric Chu, Feryal Behbahani, Aleksandra Faust, Hugo Larochelle
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) excel at few-shot in-context learning (ICL) -- learning from a few examples provided in context at inference, without any weight updates. Newly expanded context windows allow us to investigate ICL with hundreds or thousands of examples -- the many-shot regime. Going from few-shot to many-shot, we observe significant performance gains across a wide variety of generative and discriminative tasks. While promising, many-shot ICL can be bottlenecked by the available amount of human-generated examples. To mitigate this limitation, we explore two new settings: Reinforced and Unsupervised ICL. Reinforced ICL uses model-generated chain-of-thought rationales in place of human examples. Unsupervised ICL removes rationales from the prompt altogether, and prompts the model only with domain-specific questions. We find that both Reinforced and Unsupervised ICL can be quite effective in the many-shot regime, particularly on complex reasoning tasks. Finally, we demonstrate that, unlike few-shot learning, many-shot learning is effective at overriding pretraining biases, can learn high-dimensional functions with numerical inputs, and performs comparably to fine-tuning. Our analysis also reveals the limitations of next-token prediction loss as an indicator of downstream ICL performance.
[ -0.5487545132637024, -0.8560834527015686, 0.46227261424064636, 0.01659916341304779, -0.2293643206357956, 0.04935869574546814, -0.3710155487060547, -0.38063278794288635, -0.5394123196601868, 0.4091780483722687, -0.5053860545158386, -0.41852208971977234, -0.4685448706150055, 0.1815817952156067, -0.13809731602668762, 1.030228614807129, -0.05411194637417793, 0.16209599375724792, -0.19473400712013245, -0.13182543218135834, -0.24761006236076355, -0.6351969838142395, -0.6970967650413513, -0.5922566056251526, 0.5311943888664246, 0.4873248338699341, 0.10994063317775726, 0.3378857672214508, 0.21687541902065277, 0.196111798286438, 0.01403818279504776, 0.3978932499885559, -0.6307960748672485, -0.008479914627969265, -0.09977327287197113, -0.361471951007843, -0.09183900058269501, -0.09489458054304123, 0.8773167133331299, 0.8113954663276672, -0.024655738845467567, -0.04710698127746582, 0.3895356357097626, 0.5243422985076904, -1.0461289882659912, 0.13782280683517456, -0.8416623473167419, 0.03516964241862297, -0.13639038801193237, -0.1492099016904831, -0.709364116191864, 0.23600365221500397, 0.23829810321331024, -0.4525582790374756, -0.17453673481941223, 0.09433386474847794, 0.32986634969711304, 0.11660202592611313, -0.7139925360679626, -0.05911127105355263, -0.6038914322853088, 0.9812271595001221, -0.544713020324707, 0.15684105455875397, 0.2589452862739563, 0.379642516374588, -0.4593718647956848, -0.5608963370323181, -0.42748579382896423, -0.22948628664016724, 0.07705129683017731, 0.146305650472641, -0.2290596216917038, 0.21749477088451385, 0.5118659734725952, -0.24261915683746338, -0.40683552622795105, 0.31183716654777527, -0.2770827114582062, -0.10592777281999588, 0.4810609519481659, 0.11360201239585876, 0.012555343098938465, 0.15366892516613007, -0.4863172173500061, -0.11640391498804092, -1.197884202003479, 0.19358912110328674, -0.005907735321670771, 0.42474815249443054, -0.07239381223917007, 0.47457417845726013, -0.1954658478498459, 0.7335792183876038, 0.0016231016488745809, -0.40908458828926086, -0.00008298768807435408, 0.03664516657590866, -0.15905724465847015, 0.06224500387907028, 0.5205336213111877, 0.1297231763601303, 0.31707799434661865, 0.00481807067990303, -0.2439098060131073, -0.17751891911029816, -0.15416297316551208, -0.7497458457946777, 0.030767772346735, -0.09838542342185974, -0.1811143308877945, 0.08690963685512543, 0.05467568710446358, -0.3576045036315918, -0.21761801838874817, -0.30992668867111206, 0.2842090427875519, -0.32838237285614014, 0.03320106118917465, 0.0887509360909462, -0.032294753938913345, 0.4540881812572479, 0.43003523349761963, -0.7017646431922913, 0.35109761357307434, 0.6053125858306885, 0.7030200362205505, -0.3660615086555481, -0.5169318914413452, -0.7724786996841431, 0.36392897367477417, -0.47273725271224976, 0.9618070721626282, -0.5306198000907898, -0.11826469004154205, 0.14947886765003204, -0.21508699655532837, 0.08478470891714096, -0.7080686092376709, 0.05065504088997841, -0.49220916628837585, -0.0867069885134697, -0.23245377838611603, -0.6084304451942444, -0.1219523474574089, 0.4274621307849884, -0.368147611618042, 0.8058069348335266, -0.037914399057626724, -0.5539895296096802, 0.5914257764816284, -0.5936329364776611, -0.5637630820274353, 0.01724034920334816, -0.3024088442325592, -0.26702800393104553, 0.20757436752319336, 0.10305521637201309, 0.6972479820251465, -0.3283947706222534, 0.29508331418037415, -0.5303170084953308, -0.5211597084999084, 0.21980659663677216, -0.7602582573890686, 0.7274764776229858, 0.18732574582099915, -0.2257189154624939, 0.051544610410928726, -0.5536941289901733, -0.20024119317531586, -0.15129052102565765, -0.6282813549041748, -0.09633908420801163, -0.14819233119487762, 0.025979280471801758, 0.4793720543384552, -0.2920057475566864, -0.4583241045475006, 0.24638304114341736, -0.3943813443183899, 0.5001000761985779, 0.5724732875823975, -0.07313834130764008, 0.3855647146701813, -0.27614453434944153, 0.35904914140701294, 0.48453056812286377, -0.16421709954738617, -0.46190038323402405, -0.13102804124355316, -0.5897688269615173, -0.5231720805168152, -0.03426114469766617, 0.3418008089065552, -0.9479407668113708, 0.11783896386623383, 0.11210831254720688, -0.08821536600589752, -0.11107716709375381, 0.3609275817871094, 0.5989601016044617, 0.5871710181236267, 0.39047572016716003, -0.12871946394443512, -0.4169743061065674, -0.7767359018325806, -0.11760318279266357, -0.06897607445716858, 0.0026721095200628042, 0.40067365765571594, 0.7295461297035217, 0.08752191066741943, 0.8499199748039246, -0.4854886829853058, -0.17753733694553375, -0.5172747373580933, 0.30877867341041565, -0.10498033463954926, 0.47114747762680054, 0.31020665168762207, -0.4450608193874359, -0.5311737656593323, -0.17516586184501648, -0.703447699546814, 0.11188950389623642, -0.26086312532424927, 0.09134609997272491, 0.31010931730270386, 0.8201221227645874, -0.7122515439987183, 0.4052271544933319, 0.21862167119979858, -0.06626036018133163, 0.6449348330497742, -0.30596357583999634, -0.1703040599822998, -0.9654507637023926, -0.13065358996391296, 0.15959720313549042, -0.31768548488616943, -0.5447522401809692, 0.019787020981311798, 0.02566499076783657, -0.07566975057125092, -0.9078022837638855, 0.7006952166557312, -0.4614126682281494, -0.29763177037239075, -0.3679227828979492, 0.18482157588005066, 0.050118617713451385, 0.5831186771392822, 0.042683396488428116, 0.7464756965637207, 0.8351150155067444, -0.6619795560836792, 0.19641686975955963, 0.016627144068479538, -0.5829660296440125, 0.4308135509490967, -0.47415193915367126, 0.084356889128685, -0.48812201619148254, 0.8042217493057251, -0.9693154692649841, -0.3620659410953522, -0.07362483441829681, -0.004491278436034918, 0.5589463114738464, -0.16327930986881256, -0.46094590425491333, -0.13084276020526886, -0.3618379831314087, 0.6240549087524414, 0.3807235062122345, -0.8384729623794556, 0.3973938226699829, 0.11788076907396317, 0.23587274551391602, -0.8462867736816406, -0.7476613521575928, 0.1252819448709488, -0.3386143445968628, -0.2705424726009369, 0.3105129599571228, -0.022810081019997597, -0.38210809230804443, -0.31059151887893677, 0.20629854500293732, -0.23777180910110474, 0.2381897270679474, 0.02335525117814541, 0.16646069288253784, -0.24120603501796722, 0.44322383403778076, 0.0379241406917572, -0.11032175272703171, -0.2511763572692871, -0.4317883849143982, 0.48229551315307617, -0.22717316448688507, -0.5247820615768433, -0.3444674611091614, 0.4480535686016083, 0.5884333252906799, -0.09524888545274734, 0.8153659105300903, 0.43635082244873047, -0.42788487672805786, -0.37906983494758606, -0.5537023544311523, -0.3020271360874176, -0.3958287537097931, 0.6215371489524841, -0.5514978766441345, -1.0676426887512207, 0.33635619282722473, -0.26158690452575684, 0.10060159862041473, 0.22407928109169006, 0.5614854097366333, -0.24837784469127655, 1.1312675476074219, 0.43691766262054443, -0.10948485881090164, 0.35805654525756836, -0.33053141832351685, 0.13638271391391754, -0.9329290986061096, -0.027523571625351906, -0.11809618771076202, -0.24447545409202576, -0.28489935398101807, -0.2634340226650238, 0.4114053249359131, 0.4738761782646179, -0.48168063163757324, 0.04712895676493645, -0.029534153640270233, 0.8547909259796143, 0.532734751701355, 0.15628330409526825, 0.30549195408821106, -0.05299003794789314, -0.17477475106716156, 0.20106029510498047, -0.9104636311531067, -0.3811049461364746, 1.1457253694534302, 0.1718446910381317, 0.7639385461807251, 0.041260283440351486, 0.5668011903762817, -0.0694400742650032, 0.3330872654914856, -0.8595545291900635, 0.3995570242404938, -0.2265782505273819, -0.6579124331474304, -0.27104613184928894, -0.19151060283184052, -0.7829496264457703, 0.3860814869403839, -0.38398754596710205, -0.7011995315551758, -0.09897790849208832, 0.4457148313522339, -0.6243925094604492, 0.4981456696987152, -0.6819762587547302, 0.6542447209358215, -0.18382129073143005, -0.6348552107810974, -0.3065498471260071, -0.6420344710350037, 0.51966792345047, -0.07631132006645203, -0.19093306362628937, -0.015583831816911697, 0.07570486515760422, 0.20462702214717865, -0.1067337617278099, 1.1995980739593506, -0.06804239749908447, 0.16273996233940125, 0.4532913267612457, -0.17692235112190247, 0.4065544009208679, 0.027798455208539963, 0.037270624190568924, -0.008062153123319149, -0.1356465220451355, -0.5376754999160767, -0.5742268562316895, 0.7516348361968994, -0.6094895601272583, -0.6064807772636414, -0.3306291401386261, -0.6546531915664673, -0.3007992208003998, -0.01642725244164467, 0.4370879828929901, 0.812690019607544, -0.09496226906776428, 0.4269635081291199, 0.6365872621536255, -0.3957638442516327, 0.6535199880599976, 0.31498804688453674, 0.17054405808448792, -0.10540861636400223, 0.49190351366996765, 0.1574687957763672, 0.4002791941165924, 0.4807770252227783, 0.22573596239089966, -0.3712078928947449, -0.5643349885940552, -0.4437558948993683, 0.10302474349737167, -0.8609145283699036, -0.35759779810905457, -0.4081009030342102, -0.1755474954843521, -0.268425315618515, -0.3925541341304779, -0.28554826974868774, -0.09270387142896652, -0.40742191672325134, -0.10293690860271454, -0.01658586412668228, 0.5858227610588074, 0.09442362189292908, 0.4125688374042511, -0.49681973457336426, 0.05846690014004707, 0.3905142545700073, 0.22882728278636932, 0.2511865794658661, -0.5029852986335754, -0.160663902759552, -0.037455856800079346, -0.43673229217529297, -0.41865062713623047, 0.22571729123592377, 0.36549243330955505, 0.4525521993637085, 0.7017284035682678, 0.07742977142333984, 0.9260575771331787, -0.7020279169082642, 0.5749727487564087, 0.4112144112586975, -0.7329149842262268, 0.20348212122917175, -0.19012081623077393, 0.6649624109268188, 0.5490083694458008, 0.35444706678390503, -0.3222804665565491, -0.08909786492586136, -0.34081321954727173, -0.4349850118160248, 0.6111733913421631, -0.2816285789012909, 0.23143579065799713, -0.3167271912097931, 0.5731438994407654, 0.014333977364003658, 0.02120359241962433, -0.8731071352958679, -0.0010320083238184452, 0.10583329200744629, -0.1426757574081421, -0.07685037702322006, -0.37074121832847595, -0.10169989615678787, -0.380166620016098, 0.47882017493247986, -0.5793660879135132, -0.04390142485499382, 0.15973837673664093, -0.427211731672287, -0.02375381998717785, 0.38932138681411743, 0.8444961905479431, 0.7361940145492554, 0.06068108603358269, 0.5129407644271851, 0.649409830570221, 0.09649955481290817, 0.08987003564834595, -0.33203691244125366, -0.09663443267345428, -0.5141371488571167, 0.6855996251106262, 0.9077997803688049, 0.4297419488430023, -1.0024158954620361, 0.5841384530067444, 0.2832948565483093, -0.2828882932662964, -0.33109110593795776, -0.08909784257411957, -0.0802059918642044, 0.4640439450740814, 0.33248257637023926, -0.04706334322690964, 0.03609609603881836, -0.869173526763916, 0.32932549715042114, 0.7944080829620361, -0.4915625751018524, -0.27983808517456055, 0.27289077639579773, 0.013530752621591091, 0.036483313888311386, 0.6865601539611816, -0.34069928526878357, -0.5522105693817139, 0.46212416887283325, 0.9589689373970032, 0.7054842710494995, 0.1488613486289978, 0.03740021958947182, 0.3088572919368744, 0.011877898126840591, -0.29897645115852356, -0.16275514662265778, -0.13296154141426086, -0.9621068239212036, -0.6644282937049866, -0.31293606758117676, -0.2594662606716156, 0.2504539489746094, -0.4251459240913391, 0.35034388303756714, -0.6218870878219604, 0.06708304584026337, -0.19135011732578278, -0.10030554234981537, -0.612822413444519, -0.049135591834783554, 0.24850136041641235, 0.8447526693344116, -0.8914563059806824, 1.0451502799987793, 0.639045000076294, -0.25975725054740906, -0.5422151684761047, -0.038426175713539124, 0.1723058968782425, -0.7184275984764099, 0.918003261089325, 0.37377113103866577, -0.327297568321228, 0.04951602593064308, -0.8239306807518005, -0.6147130727767944, 1.1346025466918945, 0.46015504002571106, -0.43509578704833984, 0.080508753657341, -0.05026251822710037, 0.37973636388778687, -0.6914570927619934, 0.2921031415462494, 0.6536797881126404, 0.139095276594162, 0.3446684777736664, -0.5779325366020203, -0.21039865911006927, 0.23512734472751617, -0.10346683859825134, 0.02258172072470188, -0.615852952003479, 0.8045250773429871, -0.34781885147094727, -0.05288221687078476, -0.12367817759513855, 0.5141160488128662, 0.5629737377166748, 0.38965678215026855, 0.5499796271324158, 0.40710610151290894, 0.5657472610473633, 0.0776991993188858, 1.1179921627044678, -0.0760510265827179, 0.09742508828639984, 1.2537686824798584, -0.5232816934585571, 1.0333001613616943, 0.537132203578949, 0.056454144418239594, 0.31699761748313904, 0.430663138628006, 0.17925673723220825, 0.43913936614990234, 0.3016664385795593, -0.5725504755973816, -0.5813300013542175, -0.37494197487831116, 0.23855465650558472, 0.7116889357566833, 0.3514679968357086, -0.03345043212175369, -0.3765488564968109, 0.3446710407733917, -0.053936246782541275, -0.02645760215818882, -0.24123768508434296, 0.9076710343360901, 0.3415497839450836, -0.7563095688819885, 0.5400151014328003, -0.13515113294124603, 0.7511764764785767, -0.5748698115348816, -0.24583707749843597, -0.10535375028848648, 0.29362666606903076, -0.0138306375592947, -0.5793731212615967, 0.13630786538124084, -0.01554113905876875, -0.11701582372188568, -0.10161761939525604, 0.7486891746520996, -0.5581572651863098, -0.3177467882633209, 0.22105269134044647, 0.44115665555000305, 0.12728577852249146, -0.1010303795337677, -0.6571637988090515, -0.19198107719421387, -0.20981444418430328, -0.13442255556583405, 0.6487054228782654, 0.338158518075943, -0.2502365708351135, 0.8942172527313232, 0.4948464035987854, -0.029159214347600937, -0.03126664087176323, 0.11645940691232681, 0.8327640295028687, -0.5369857549667358, -0.09446883201599121, -1.065894603729248, 0.4308062791824341, -0.01397909875959158, -0.530098557472229, 0.48241421580314636, 0.5580506920814514, 1.0625321865081787, 0.05084101855754852, 0.7052187323570251, 0.4168164134025574, 0.15527179837226868, -0.728037416934967, 0.28208208084106445, -0.5417665839195251, 0.27701646089553833, -0.17451678216457367, -0.8121957778930664, -0.6692282557487488, 0.6663731336593628, -0.2953251004219055, 0.006445757579058409, 0.7361908555030823, 0.7620381712913513, -0.0955297201871872, -0.3392224907875061, 0.7316912412643433, 0.04591430351138115, 0.377460777759552, 0.8047794699668884, 1.0093263387680054, -0.15635384619235992, 0.4566287398338318, -0.14009176194667816, -0.24265886843204498, -0.22470150887966156, -0.949504554271698, -1.1695961952209473, -0.4655861258506775, -0.23233936727046967, -0.06970933079719543, -0.007946066558361053, 1.400791883468628, 0.9484357833862305, -0.8278600573539734, -0.3731658458709717, -0.10814552009105682, 0.09460911899805069, -0.11854425072669983, -0.148809552192688, 0.3158687949180603, -0.5061326026916504, -0.6420526504516602, 0.527701199054718, 0.5572064518928528, 0.08132751286029816, -0.28314271569252014, -0.19837725162506104, -0.35376712679862976, -0.15175051987171173, 1.072837233543396, 0.4145568013191223, -0.9200058579444885, -0.31915587186813354, -0.15115100145339966, -0.031042050570249557, 0.028564445674419403, 0.9486408829689026, -0.8754878640174866, 0.4192148745059967, 0.37310969829559326, 0.7590548396110535, 0.6262077689170837, -0.022841548547148705, 0.5694417357444763, -0.9278156757354736, 0.34648582339286804, 0.12973400950431824, 0.5391076803207397, 0.23319435119628906, -0.03385043889284134, 0.164180725812912, 0.017024442553520203, -0.32350844144821167, -0.7043092250823975, 0.470016211271286, -0.6263499855995178, -0.6327389478683472, 1.193285584449768, -0.29256656765937805, 0.007750316057354212, -0.25952136516571045, -0.13376888632774353, 0.20960868895053864, -0.276763379573822, 0.6232287287712097, 0.734408438205719, -0.3249589800834656, -0.3544192612171173, -0.5387387275695801, 0.516218364238739, 0.44525808095932007, -0.8953049778938293, 0.11556482315063477, 0.6262133717536926, 0.07599814981222153, -0.24625656008720398, 0.43289464712142944, 0.03160839527845383, 0.2162286937236786, -0.2390654981136322, -0.19563110172748566, -0.009017881937325, -0.7443508505821228, -0.4889870882034302, 0.14662854373455048, 0.34128037095069885, 0.16963008046150208 ]
http://arxiv.org/abs/2404.10981v1
http://arxiv.org/pdf/2404.10981v1
A Survey on Retrieval-Augmented Text Generation for Large Language Models
2024-04-17T01:27:42
2024-04-17T01:27:42
Yizheng Huang, Jimmy Huang
cs.IR
cs.IR, cs.AI, cs.CL
Retrieval-Augmented Generation (RAG) merges retrieval methods with deep learning advancements to address the static limitations of large language models (LLMs) by enabling the dynamic integration of up-to-date external information. This methodology, focusing primarily on the text domain, provides a cost-effective solution to the generation of plausible but incorrect responses by LLMs, thereby enhancing the accuracy and reliability of their outputs through the use of real-world data. As RAG grows in complexity and incorporates multiple concepts that can influence its performance, this paper organizes the RAG paradigm into four categories: pre-retrieval, retrieval, post-retrieval, and generation, offering a detailed perspective from the retrieval viewpoint. It outlines RAG's evolution and discusses the field's progression through the analysis of significant studies. Additionally, the paper introduces evaluation methods for RAG, addressing the challenges faced and proposing future research directions. By offering an organized framework and categorization, the study aims to consolidate existing research on RAG, clarify its technological underpinnings, and highlight its potential to broaden the adaptability and applications of LLMs.
[ -0.4891018569469452, -0.8164591789245605, 0.6024293899536133, -0.05084626376628876, -0.05871659144759178, 0.6094253063201904, -0.36999791860580444, -0.5067168474197388, 0.23805706202983856, 0.6404791474342346, -0.2609039843082428, -0.03633840009570122, -0.5772905945777893, 0.20601993799209595, -0.5001612901687622, 1.0628827810287476, 0.05260012298822403, -0.1518506407737732, -0.22420634329319, 0.00561486603692174, -0.4694819450378418, -0.6346175074577332, -0.6521409153938293, -0.3389413058757782, 0.6483779549598694, 0.23199808597564697, 0.45762982964515686, 0.43813356757164, 0.545703649520874, 0.3090076148509979, -0.362878680229187, 0.6419989466667175, -0.5399848818778992, 0.48474693298339844, -0.2864101231098175, -0.23422883450984955, -0.49831900000572205, -0.05881096422672272, 0.9075755476951599, 0.5481545329093933, -0.1846289187669754, 0.24904011189937592, 0.10147888213396072, 0.8007152676582336, -0.829296886920929, -0.34252914786338806, -0.8819783926010132, -0.15976735949516296, -0.3860258460044861, -0.4145803153514862, -0.47950586676597595, -0.30431050062179565, 0.013617310672998428, -0.23854981362819672, 0.2920375466346741, 0.10930872708559036, 0.6431396007537842, 0.0911172404885292, -0.5457710027694702, -0.5866304636001587, -0.9895544052124023, 0.8489301204681396, -0.6239047646522522, 0.43079835176467896, 0.23140184581279755, 0.32288816571235657, -0.3413325548171997, -0.8803967833518982, -0.4941677749156952, -0.35539141297340393, 0.09590908885002136, 0.10634075850248337, 0.20473609864711761, -0.22365713119506836, -0.021603507921099663, 0.6942690014839172, -0.48167285323143005, 0.21630671620368958, -0.14982956647872925, 0.19833609461784363, 0.7327314019203186, 0.3120519518852234, 0.23424378037452698, -0.2569968104362488, -0.19560028612613678, 0.04310838505625725, -0.814622700214386, -0.31096649169921875, 0.23407869040966034, 0.4982372522354126, 0.11780844628810883, 0.6757560968399048, -0.008844737894833088, 0.6887703537940979, 0.08559609949588776, -0.20424386858940125, 0.2296656370162964, -0.32610663771629333, -0.1560262143611908, -0.05684279650449753, 0.7693408131599426, 0.030437417328357697, -0.06473305821418762, -0.11726197600364685, -0.4664090871810913, -0.41472092270851135, 0.4278600513935089, -0.6970767974853516, 0.22882281243801117, -0.06996938586235046, -0.31838372349739075, -0.4724099934101105, -0.12691432237625122, -0.7761734127998352, -0.7246952652931213, -0.40067392587661743, 0.11345487833023071, -0.16443732380867004, -0.6429521441459656, -0.05580258369445801, 0.049470461905002594, 0.20542337000370026, 0.17068445682525635, -0.6215797662734985, 0.2846093773841858, 0.7889150977134705, 0.539540708065033, -0.33649009466171265, -0.03135242313146591, -0.46811774373054504, 0.11459417641162872, -0.5630291104316711, 0.7563186883926392, -0.5069727897644043, -0.46394336223602295, 0.3097355365753174, -0.189600870013237, 0.29669517278671265, -0.6539656519889832, 0.6364109516143799, -0.9928283095359802, 0.2546311020851135, -0.06200771778821945, -0.5464789867401123, -0.03302650898694992, 0.37269049882888794, -0.5920742750167847, 1.207007646560669, 0.027658941224217415, -0.7991558313369751, 0.23188616335391998, -0.23213237524032593, -0.45207569003105164, 0.36732667684555054, -0.22225940227508545, -0.44798651337623596, 0.42599356174468994, -0.06125206500291824, 0.5117247104644775, -0.8450456261634827, 0.5404766201972961, 0.03263645991683006, -0.18687500059604645, 0.33519572019577026, -0.5043273568153381, 0.3648047149181366, 0.44083672761917114, -0.1125841960310936, -0.17644259333610535, -0.8852573037147522, 0.04369232431054115, 0.3090893030166626, -0.4449903666973114, -0.5159180164337158, 0.13919010758399963, -0.018977943807840347, 0.09352142363786697, 0.3734733760356903, -0.40369346737861633, 0.23197320103645325, -0.5014230012893677, 0.06879732757806778, 0.5507866144180298, 0.04198621213436127, 0.5532934665679932, -0.15126745402812958, 0.5769067406654358, -0.30388352274894714, -0.19594106078147888, -0.2685581147670746, -0.22353097796440125, -0.7282431125640869, -0.05774684622883797, 0.4644872546195984, 0.40073463320732117, -0.9358199238777161, 0.21647992730140686, -0.28673937916755676, -0.6390199661254883, -0.36141785979270935, 0.0629129484295845, 0.5357069373130798, 0.4502781629562378, 0.33134010434150696, -0.031510211527347565, -0.7332449555397034, -0.6828250885009766, -0.36013489961624146, -0.01997469551861286, 0.17433227598667145, 0.5879107117652893, 0.22198544442653656, -0.44146087765693665, 0.7289913296699524, -0.4928932785987854, 0.03586960211396217, -0.30221834778785706, 0.1950814574956894, 0.24744677543640137, 0.23640689253807068, 0.36724621057510376, -1.0051695108413696, -0.4943678081035614, 0.3451032042503357, -0.5105857253074646, -0.11204750835895538, 0.12327314168214798, 0.15692080557346344, 0.4999241232872009, 0.5491418242454529, -0.45850810408592224, 0.19461853802204132, 0.7746146321296692, -0.06702778488397598, 0.7181137800216675, -0.2172996699810028, 0.2802824378013611, -1.2971312999725342, 0.15394051373004913, -0.24028636515140533, -0.1607726514339447, -0.6516127586364746, 0.22550594806671143, -0.03920499235391617, -0.028048628941178322, -0.2382754236459732, 0.8618808388710022, -0.6174948811531067, -0.17492489516735077, -0.6415972113609314, 0.24761922657489777, -0.061087772250175476, -0.05319620668888092, -0.17480501532554626, 0.9587035775184631, 0.12680786848068237, -0.7727600932121277, 0.40965908765792847, -0.015743816271424294, -0.3167662024497986, 0.1908450573682785, -0.36894652247428894, 0.277261346578598, -0.3020840883255005, 0.2737543284893036, -0.8425527215003967, -0.39067038893699646, 0.003309291321784258, -0.6048287749290466, 0.7602188587188721, -0.05243410915136337, -0.5486123561859131, -0.29570746421813965, -0.13684001564979553, 0.5674319267272949, 0.627476155757904, -0.442689448595047, 0.6602329611778259, 0.5104885697364807, -0.31239020824432373, -0.8362017273902893, -0.5206107497215271, 0.27486395835876465, -0.1369018256664276, -0.2904002368450165, 0.4182751178741455, 0.024379746988415718, -0.41799649596214294, -0.010643969289958477, 0.07366058230400085, -0.04347488284111023, -0.10227654874324799, -0.17610929906368256, 0.1722521185874939, -0.26251208782196045, 0.3302539587020874, -0.0881444662809372, 0.1634914129972458, -0.23340436816215515, -0.05652747303247452, 0.7646111249923706, 0.09272906184196472, -0.014956989325582981, 0.1536874771118164, 0.22684140503406525, 0.3714456558227539, -0.5280014276504517, 0.659370481967926, 0.5118383765220642, -0.1499737650156021, -0.42068880796432495, -0.8056756258010864, 0.18481284379959106, -0.493897408246994, 0.41443830728530884, -0.40320900082588196, -1.1299469470977783, 0.3504035770893097, -0.33647915720939636, 0.15647639334201813, 0.5858827829360962, 0.7370285391807556, -0.050435230135917664, 0.8285803198814392, 0.6678196787834167, 0.2578031122684479, 0.3894076645374298, -0.047697748988866806, 0.13067126274108887, -1.1030333042144775, -0.217461958527565, -0.6736581921577454, -0.02062007412314415, -0.9115977883338928, -0.5800485014915466, 0.19853141903877258, 0.22600312530994415, -0.32514896988868713, 0.14104704558849335, -0.5910229086875916, 0.2515780031681061, 0.16740213334560394, -0.23069876432418823, 0.32946476340293884, 0.0437275655567646, 0.13036270439624786, -0.02486824244260788, -0.5687866806983948, -0.41404759883880615, 1.0501480102539062, 0.2821280062198639, 0.737469494342804, 0.2151271402835846, 0.7395678758621216, 0.24780720472335815, 0.5556861758232117, -0.7267229557037354, 0.5789511799812317, -0.5226272344589233, -0.6962447166442871, -0.20114532113075256, -0.6541565656661987, -1.1622107028961182, 0.13945429027080536, -0.32333990931510925, -0.23088636994361877, -0.06752733886241913, 0.09196417778730392, -0.014938517473638058, 0.29917746782302856, -0.43300721049308777, 0.2477305382490158, -0.3721312880516052, -0.3282549977302551, -0.02782541513442993, -0.3715953230857849, 0.7037217617034912, -0.46129655838012695, 0.4541093111038208, 0.07616731524467468, -0.2464177906513214, 0.5110790133476257, -0.08710876852273941, 0.4077327847480774, 0.03263548016548157, -0.5250480771064758, 0.5063544511795044, 0.035869598388671875, 0.5624359846115112, -0.130651593208313, -0.09130861610174179, -0.23604486882686615, -0.3439526855945587, 0.07098696380853653, -0.5340537428855896, 0.8508265018463135, -0.47474372386932373, -0.5081645846366882, -0.42811617255210876, -0.6208807826042175, -0.49562981724739075, 0.33355051279067993, 0.14179733395576477, 0.5104169249534607, -0.07443058490753174, 0.35192105174064636, 0.8255152702331543, -0.6932356357574463, 0.29897186160087585, 0.41760507225990295, -0.7522464394569397, -0.6379731893539429, 1.143548607826233, 0.14191167056560516, 0.18694426119327545, 0.5057739615440369, 0.19769887626171112, -0.25644218921661377, -0.6127474308013916, -0.3865599036216736, 0.4274818003177643, -0.38099515438079834, -0.40899792313575745, -0.6034320592880249, -0.4128541648387909, -0.5333744883537292, 0.01549597829580307, -0.5051907300949097, -0.26237353682518005, -0.3189907968044281, 0.11548790335655212, 0.29954203963279724, 0.9859355688095093, 0.1727229207754135, 0.16356873512268066, -0.9444339275360107, 0.4638509452342987, 0.2647949755191803, 0.5346609354019165, 0.09894099831581116, -0.5587203502655029, -0.3143494725227356, -0.03529400750994682, -0.16979087889194489, -0.5761039853096008, 0.3574206531047821, 0.07160107046365738, 0.42465415596961975, -0.06350646913051605, 0.028596218675374985, 0.5651467442512512, -0.9574348330497742, 0.8907999992370605, 0.2206948697566986, -0.4748312532901764, 0.3223970830440521, -0.5032204985618591, 0.10737555474042892, 0.3070545196533203, 0.23705469071865082, -0.3881708085536957, -0.2556818723678589, -0.5697673559188843, -1.0444239377975464, 0.46725791692733765, -0.037552982568740845, 0.46151673793792725, -0.09091296046972275, 0.5544759035110474, -0.003149741794914007, 0.26017624139785767, -0.38581952452659607, -0.2762354612350464, 0.33486464619636536, -0.12470172345638275, -0.20828494429588318, -0.5599018931388855, 0.1435234099626541, 0.0660715326666832, 0.7372371554374695, 0.06772913783788681, 0.07308094948530197, -0.0438697375357151, -0.049024730920791626, 0.010342552326619625, 0.4102526903152466, 0.6246150135993958, 0.7395203709602356, -0.10910332947969437, 0.04923626035451889, 0.1724408119916916, -0.5556312799453735, 0.27670127153396606, 0.08392124623060226, -0.19642044603824615, 0.09234181046485901, 0.33787208795547485, 0.6726067066192627, -0.004562912508845329, -0.7351917624473572, 0.38888242840766907, 0.021860796958208084, -0.1398555338382721, -0.4755394756793976, -0.013374701142311096, -0.12804651260375977, 0.23742727935314178, 0.7344246506690979, -0.21189163625240326, 0.22441378235816956, -0.5082529187202454, 0.23446758091449738, 0.5033562779426575, -0.10042187571525574, -0.1197531670331955, 0.45285025238990784, 0.14172671735286713, -0.4529935121536255, 0.2503369152545929, -0.17145197093486786, -0.3770091235637665, 0.33313778042793274, 0.611284077167511, 1.0241385698318481, -0.39617064595222473, 0.02449796162545681, 0.34977009892463684, 0.2416374683380127, -0.09526587277650833, 0.10789269208908081, 0.12290634959936142, -0.6353694200515747, -0.9860929250717163, -1.0626473426818848, -0.3130629062652588, 0.3687536418437958, -0.48262202739715576, 0.20453977584838867, -0.2693880796432495, -0.36844104528427124, -0.15346097946166992, 0.07013610005378723, -0.4239218235015869, 0.3941820561885834, 0.29244399070739746, 0.8749087452888489, -0.30624234676361084, 0.5463971495628357, 0.879256010055542, -0.1947941929101944, -0.5963302254676819, 0.12440751492977142, -0.22582174837589264, -0.5634947419166565, 0.9114614129066467, -0.17575961351394653, -0.3896421492099762, 0.040691085159778595, -0.5284470319747925, -0.9798671007156372, 0.7924062609672546, 0.11324476450681686, -0.3778526782989502, -0.2388656586408615, 0.024667197838425636, 0.6666578054428101, -0.21641144156455994, 0.022105544805526733, 0.4363672435283661, 0.2862941026687622, 0.2183544784784317, -0.9539365172386169, -0.20557409524917603, -0.08910085260868073, 0.40508368611335754, 0.47085121273994446, -0.4941170811653137, 0.834248423576355, 0.16616438329219818, -0.267959862947464, 0.26806822419166565, 0.7262603640556335, 0.43613702058792114, 0.1981956660747528, 0.32162976264953613, 0.576640784740448, 0.42838138341903687, 0.016633275896310806, 1.102897047996521, -0.09880229830741882, 0.23209863901138306, 1.2484681606292725, -0.3245962858200073, 0.9227030873298645, 0.29263415932655334, -0.20806068181991577, 0.4141509234905243, 0.21985960006713867, 0.24415551126003265, 0.3216657042503357, 0.3187018632888794, -0.41822656989097595, 0.023330820724368095, -0.38458946347236633, -0.469205379486084, 0.4890453517436981, 0.5100419521331787, -0.4948514997959137, -0.16636024415493011, 0.12276491522789001, -0.07458062469959259, 0.2874175012111664, -0.4413292407989502, 1.0114247798919678, 0.07094839215278625, -0.7169849276542664, 0.6790034770965576, 0.12520349025726318, 0.7695738673210144, -0.5130062699317932, -0.2326846718788147, -0.19150015711784363, 0.12318143993616104, -0.14095471799373627, -0.926766574382782, 0.25798508524894714, 0.3057631850242615, -0.32468628883361816, -0.35026323795318604, 1.0004645586013794, -0.357645720243454, -0.42885780334472656, 0.1458752304315567, 0.5745555758476257, 0.06762738525867462, 0.1947890967130661, -0.44227632880210876, 0.3956874907016754, -0.1601654589176178, -0.46892985701560974, 0.40792712569236755, 0.7023177742958069, 0.015887167304754257, 0.5204746127128601, 0.5856746435165405, 0.21860834956169128, 0.1466144472360611, -0.003602013224735856, 0.8300212621688843, -0.649135172367096, 0.04381468892097473, -0.634833037853241, 0.5902913808822632, -0.08687307685613632, -0.18286128342151642, 0.8000458478927612, 0.5870702862739563, 0.6451461911201477, 0.07829491049051285, 0.7776824235916138, -0.1806166172027588, 1.1327569484710693, -0.4376944601535797, 0.7512157559394836, -0.8555914163589478, 0.1546841412782669, -0.4479271471500397, -1.0518505573272705, -0.30851244926452637, 0.10288894176483154, -0.09231112897396088, 0.20495624840259552, 0.3590906858444214, 0.4915503263473511, 0.12427230179309845, -0.38249412178993225, 0.22052770853042603, 0.14293554425239563, 0.378726989030838, 0.10119248181581497, 1.0106513500213623, -0.3967542052268982, 0.5336800217628479, 0.1481800675392151, -0.15244978666305542, -0.22829104959964752, -0.8389564156532288, -0.64327073097229, -0.6854146122932434, 0.0021621922496706247, -0.3894314765930176, -0.08302205055952072, 0.6690680384635925, 0.23582766950130463, -0.5211664438247681, -0.27950215339660645, -0.06052650138735771, -0.09069080650806427, 0.2520042657852173, -0.2266383320093155, 0.3783057928085327, -0.7544872164726257, -0.9554005861282349, 0.44418081641197205, 0.0905325785279274, -0.07022618502378464, -0.3420298099517822, -0.0990687683224678, -0.3786247670650482, 0.09464941918849945, 1.0474909543991089, 0.3630693852901459, -0.6331931948661804, 0.014232316985726357, 0.11965882033109665, -0.2741717994213104, -0.2897672653198242, 0.743380069732666, -0.7864071726799011, 0.4024243652820587, 0.5758177638053894, 1.2444958686828613, 0.39980408549308777, -0.04399807006120682, 0.5081773996353149, -0.8955603241920471, 0.018638605251908302, 0.47507697343826294, 0.02045208215713501, 0.445904016494751, -0.1677146852016449, 0.5126442909240723, 0.004593390505760908, -0.7999734878540039, -1.2304327487945557, 0.33756276965141296, -0.57557213306427, -0.35564011335372925, 1.3168368339538574, 0.25532424449920654, 0.010102775879204273, 0.1026998907327652, -0.20056381821632385, 0.25626620650291443, 0.02097657509148121, 0.4723866879940033, 0.5381449460983276, 0.021227886900305748, -0.34545907378196716, -0.6361125111579895, 0.5756082534790039, 0.1772751808166504, -0.7597835659980774, 0.21536804735660553, 0.7429479360580444, -0.04151073843240738, 0.36961469054222107, 0.48239073157310486, -0.2052241563796997, -0.03885365277528763, -0.29500874876976013, 0.11768864095211029, 0.11120985448360443, -0.37724271416664124, -0.2481282353401184, 0.13373522460460663, 0.34664466977119446, 0.28722742199897766 ]
http://arxiv.org/abs/2404.13081v1
http://arxiv.org/pdf/2404.13081v1
SuRe: Summarizing Retrievals using Answer Candidates for Open-domain QA of LLMs
2024-04-17T01:15:54
2024-04-17T01:15:54
Jaehyung Kim, Jaehyun Nam, Sangwoo Mo, Jongjin Park, Sang-Woo Lee, Minjoon Seo, Jung-Woo Ha, Jinwoo Shin
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have made significant advancements in various natural language processing tasks, including question answering (QA) tasks. While incorporating new information with the retrieval of relevant passages is a promising way to improve QA with LLMs, the existing methods often require additional fine-tuning which becomes infeasible with recent LLMs. Augmenting retrieved passages via prompting has the potential to address this limitation, but this direction has been limitedly explored. To this end, we design a simple yet effective framework to enhance open-domain QA (ODQA) with LLMs, based on the summarized retrieval (SuRe). SuRe helps LLMs predict more accurate answers for a given question, which are well-supported by the summarized retrieval that could be viewed as an explicit rationale extracted from the retrieved passages. Specifically, SuRe first constructs summaries of the retrieved passages for each of the multiple answer candidates. Then, SuRe confirms the most plausible answer from the candidate set by evaluating the validity and ranking of the generated summaries. Experimental results on diverse ODQA benchmarks demonstrate the superiority of SuRe, with improvements of up to 4.6% in exact match (EM) and 4.0% in F1 score over standard prompting approaches. SuRe also can be integrated with a broad range of retrieval methods and LLMs. Finally, the generated summaries from SuRe show additional advantages to measure the importance of retrieved passages and serve as more preferred rationales by models and humans.
[ -0.5683207511901855, -0.7447937726974487, 0.8876422643661499, -0.08825431019067764, -0.2389908730983734, -0.09764313697814941, -0.16640330851078033, -0.2683526277542114, 0.36234086751937866, 0.5636940002441406, -0.3249530494213104, -0.3270243704319, -0.20923882722854614, 0.362764835357666, -0.35972559452056885, 1.0359148979187012, 0.104060597717762, 0.11708627641201019, -0.3590463101863861, -0.21302469074726105, -0.5644399523735046, -0.41648122668266296, -0.5343254208564758, 0.001106845447793603, 0.4474537670612335, 0.5252494215965271, 0.6481923460960388, 0.36797812581062317, 0.42866769433021545, 0.19651924073696136, -0.4180371165275574, 0.42446374893188477, -0.4887506663799286, 0.4054795503616333, -0.248494490981102, -0.552697479724884, -0.7601081728935242, -0.10193239897489548, 0.600177526473999, 0.7055330872535706, -0.23120427131652832, 0.16047422587871552, 0.05366574972867966, 0.5525871515274048, -0.7382650971412659, 0.010442462749779224, -0.632623016834259, -0.2623666524887085, 0.09191926568746567, -0.49592092633247375, -0.3687029182910919, -0.7383601665496826, 0.35943934321403503, -0.6127619743347168, 0.13776274025440216, -0.034349337220191956, 0.6268935203552246, 0.14980894327163696, -0.4748501479625702, -0.3459044396877289, -0.34035661816596985, 0.744898796081543, -0.9948170781135559, 0.1764126420021057, 0.16466963291168213, 0.45027321577072144, -0.031914468854665756, -0.6859002113342285, -0.5894548296928406, -0.17632941901683807, -0.08610999584197998, 0.45437565445899963, 0.1532197743654251, 0.19025880098342896, 0.10701902210712433, 0.6257641315460205, -0.39689716696739197, -0.06036262959241867, -0.2270497977733612, -0.1844712197780609, 0.5223724246025085, 0.22356753051280975, 0.29882174730300903, 0.08545825630426407, -0.43667641282081604, 0.05237885192036629, -0.917418897151947, 0.24585409462451935, 0.04166342690587044, 0.46833622455596924, 0.2350449562072754, 0.7346788644790649, -0.6404985189437866, 0.849542498588562, -0.019999422132968903, -0.020785851404070854, 0.05494897812604904, -0.5128597021102905, -0.11862551420927048, -0.27355003356933594, 0.4058031141757965, 0.5047151446342468, 0.47681865096092224, -0.12054720520973206, -0.2917942404747009, -0.5666782855987549, 0.12729130685329437, -0.9036884903907776, -0.07148054987192154, 0.6846150755882263, -0.32682204246520996, 0.16013450920581818, 0.32765257358551025, -0.6218827962875366, -0.17913323640823364, -0.4225541353225708, 0.5870486497879028, -0.3564796447753906, -0.16726049780845642, 0.4473462402820587, -0.22713661193847656, 0.41859665513038635, 0.6655464172363281, -0.622657835483551, 0.04792706295847893, 0.6503434181213379, 0.6920136213302612, -0.23301737010478973, -0.06034459173679352, -1.085243821144104, -0.15935048460960388, -0.4033523201942444, 0.7875387668609619, -0.3908468782901764, -0.37560778856277466, 0.27953487634658813, -0.2842068374156952, 0.0065340306609869, -0.7914155721664429, 0.5972964763641357, -1.116640567779541, 0.4936945140361786, -0.36798837780952454, -0.6407313942909241, -0.04036211594939232, 0.4166170060634613, -0.6944385766983032, 0.9172738194465637, -0.013773081824183464, -0.6692098379135132, 0.05086224526166916, -0.611799418926239, -0.19613023102283478, 0.0716012716293335, -0.11352891474962234, -0.19847285747528076, 0.12949223816394806, 0.5580976605415344, 0.5552833676338196, 0.020668992772698402, 0.1886122077703476, -0.05602278560400009, -0.4155757427215576, 0.26705288887023926, -0.04056194797158241, 0.7942745089530945, 0.18029610812664032, 0.1644199639558792, 0.3777523934841156, -0.3791094422340393, 0.4167923629283905, -0.07170283049345016, -0.5899314880371094, -0.2895010709762573, -0.19279111921787262, -0.6086049675941467, 0.005202054046094418, 0.41639944911003113, -0.39316168427467346, 0.18829989433288574, -0.6043703556060791, -0.09283477813005447, 0.5252217650413513, 0.47666946053504944, 0.5646918416023254, -0.4863610863685608, 0.7947988510131836, -0.19311195611953735, -0.07085729390382767, -0.5073205828666687, -0.6698689460754395, -0.3674718737602234, -0.5586652755737305, 0.29276037216186523, 0.6281422972679138, -1.0027700662612915, 0.15846846997737885, -0.21054713428020477, -0.07323069870471954, -0.5389407277107239, 0.026878932490944862, 0.43358197808265686, 0.43103542923927307, 0.4610576033592224, -0.12513166666030884, -0.47264301776885986, -0.6319541335105896, -0.3926074206829071, -0.27081331610679626, -0.4306259751319885, 0.18678633868694305, 0.26900818943977356, 0.5446348786354065, 1.311462640762329, -0.82062828540802, -0.2817123830318451, -0.3738338053226471, -0.2951546907424927, 0.4794149398803711, -0.05736524239182472, 0.47864633798599243, -0.824828565120697, -0.5688554644584656, -0.3097419738769531, -0.7159509062767029, -0.11042126268148422, 0.16760261356830597, -0.32772403955459595, -0.4195805490016937, 0.4082081913948059, -0.6438332796096802, 0.2248755842447281, -0.025816738605499268, -0.3081872761249542, 0.8188015222549438, -0.1747317612171173, 0.2872525751590729, -1.1188551187515259, 0.018098890781402588, -0.22133323550224304, -0.2582626938819885, -0.6573225259780884, 0.5389437079429626, 0.21859867870807648, 0.15106646716594696, -0.5642422437667847, 0.6547545194625854, -0.45270535349845886, 0.12514296174049377, -0.36634108424186707, 0.5499445199966431, -0.03631581366062164, 0.2214135080575943, 0.032094914466142654, 1.1251572370529175, 0.4928775727748871, -0.999187171459198, 0.06995547562837601, 0.5792044997215271, -0.26870134472846985, 0.6407037973403931, -0.7531999349594116, -0.04190681874752045, -0.5365057587623596, 0.25586485862731934, -1.0210239887237549, -0.3586001396179199, -0.09892512112855911, -0.7212401032447815, 0.10361537337303162, 0.23384085297584534, -0.3322980999946594, -0.13494233787059784, -0.746823787689209, 0.2339836210012436, 0.42329904437065125, -0.6683930158615112, 0.5825685858726501, 0.19067077338695526, -0.5421195030212402, -0.6163750886917114, -0.135477676987648, -0.03341003507375717, -0.10499156266450882, -0.5384474396705627, 0.3242422640323639, -0.45387935638427734, -0.35723215341567993, -0.10618586838245392, -0.16820798814296722, -0.1588987559080124, 0.20689000189304352, -0.26489531993865967, 0.43127790093421936, -0.4851748049259186, 0.17622709274291992, 0.11878971755504608, 0.00634240685030818, -0.0103464899584651, -0.26191335916519165, 0.22692741453647614, -0.1219172403216362, -0.1240815818309784, -0.13312676548957825, 0.5165451169013977, 0.27321958541870117, -0.7935646176338196, 0.6867577433586121, 0.22380530834197998, -0.39790236949920654, -0.2503131330013275, -0.3102940618991852, -0.5808548927307129, -0.4186094403266907, 0.21641042828559875, -0.5249409079551697, -1.2248225212097168, 0.5879873633384705, 0.10901323705911636, 0.4529479146003723, 0.39855948090553284, 0.4814222455024719, -0.17247852683067322, 1.0705493688583374, 0.4872872233390808, 0.048874322324991226, 0.34286096692085266, -0.15490776300430298, 0.15710817277431488, -0.8925806879997253, -0.09797926992177963, -0.7051709890365601, 0.15218661725521088, -0.05954843387007713, -0.28916919231414795, 0.6284193992614746, 0.522670328617096, 0.1377563178539276, -0.0017195187974721193, -0.1874983310699463, 0.702398955821991, 0.4547197222709656, 0.07643699645996094, 0.5746921896934509, -0.13413341343402863, -0.1753651350736618, 0.13358846306800842, -0.4733472168445587, -0.6640568375587463, 1.0717178583145142, 0.19262559711933136, 0.5120328664779663, 0.5853883624076843, 0.8912235498428345, 0.20289531350135803, 0.4726364016532898, -0.7091202139854431, 0.7608086466789246, 0.2100997269153595, -0.7652491927146912, -0.41503122448921204, -0.3861158490180969, -0.8636775016784668, 0.5072038173675537, -0.11326266080141068, -0.7267910838127136, 0.028428031131625175, 0.16762617230415344, -0.8100247979164124, -0.026898128911852837, -0.38846006989479065, 0.4672812521457672, 0.11399839073419571, -0.10333286970853806, 0.06874218583106995, -0.6086335778236389, 0.40238243341445923, 0.06857046484947205, 0.05428452789783478, 0.04605899006128311, -0.42389798164367676, 0.5778424739837646, -0.4015747904777527, 0.6032753586769104, -0.26884910464286804, -0.44153475761413574, 0.5947520136833191, -0.06755927205085754, 0.5583142042160034, 0.12890151143074036, -0.31167861819267273, -0.4920210540294647, 0.2112823724746704, -0.41690346598625183, -0.9229914546012878, 0.5842569470405579, -0.3282792866230011, -0.7241129875183105, -0.04239384084939957, -0.3689471185207367, -0.5126281380653381, 0.2934475839138031, -0.1413482427597046, 0.48024412989616394, 0.02177589386701584, 0.18148650228977203, 0.9958580732345581, -0.09488728642463684, 0.1760490983724594, 0.844715416431427, -0.44993606209754944, -0.5746374726295471, 0.8231524229049683, -0.1398516297340393, 0.38730454444885254, 0.5052520632743835, 0.2754819095134735, -0.6975472569465637, -0.878454327583313, -0.5575982332229614, 0.356353759765625, -0.8713233470916748, -0.3337014317512512, -0.6000036597251892, -0.038870420306921005, -0.5114918947219849, 0.10301687568426132, 0.3169851005077362, -0.4696245491504669, -0.30504077672958374, -0.34521135687828064, 0.19020763039588928, 0.5592390298843384, 0.3332560062408447, 0.1828179806470871, -0.9091837406158447, 0.5283355712890625, 0.43792545795440674, 0.35083824396133423, 0.16399012506008148, -0.7487648129463196, -0.2246173620223999, 0.020234551280736923, -0.27488648891448975, -1.1845096349716187, 0.1760922372341156, 0.41875967383384705, 0.8590441942214966, 0.2096763700246811, 0.4936612546443939, 0.533688485622406, -0.34595683217048645, 1.0523583889007568, -0.10164394974708557, -0.5531107783317566, 0.5764131546020508, -0.3468652665615082, 0.4089987874031067, 0.742010235786438, 0.5016931891441345, -0.10373355448246002, -0.6699369549751282, -0.3303855061531067, -0.8871423602104187, 0.5228219628334045, 0.2016981840133667, 0.17519055306911469, -0.367727130651474, 0.58176589012146, 0.08535995334386826, 0.24051184952259064, -0.3351462185382843, -0.2513982057571411, 0.18042178452014923, -0.345648854970932, 0.12993396818637848, -0.3331372141838074, -0.00042734952876344323, 0.17300809919834137, 0.9219820499420166, -0.5267418622970581, -0.00663224421441555, 0.5589279532432556, -0.1055578738451004, 0.19301606714725494, 0.5700298547744751, 0.3950951099395752, 0.8651394248008728, -0.47697561979293823, -0.014968346804380417, 0.25504815578460693, -0.2641112506389618, -0.024389946833252907, -0.03407284617424011, -0.3847862780094147, 0.03674584627151489, 0.2593561112880707, 0.19531108438968658, -0.15144680440425873, -1.0222313404083252, 0.6971709728240967, -0.16181887686252594, -0.1861596405506134, -0.001508231507614255, 0.09435420483350754, 0.19391800463199615, 0.2961394190788269, 0.7514716982841492, -0.3656483292579651, 0.41141968965530396, -0.4751928746700287, 0.41531699895858765, 0.45925432443618774, -0.3499942719936371, -0.05342528223991394, 0.6710334420204163, 0.24915403127670288, -0.15087836980819702, 0.29773208498954773, -0.26048147678375244, -0.5128670334815979, 0.4990701973438263, 0.519308865070343, 0.7707999348640442, -0.21498584747314453, 0.11685376614332199, 0.5997335910797119, -0.0013335880357772112, -0.16031549870967865, 0.9003146886825562, -0.27215126156806946, -0.5144655108451843, -0.6881527304649353, -0.5568133592605591, -0.5910509824752808, -0.15362386405467987, -0.8337706327438354, 0.05770452693104744, -0.15029609203338623, -0.09478216618299484, -0.20808109641075134, -0.12531138956546783, -0.25308096408843994, 0.39112430810928345, -0.2643657624721527, 1.176825761795044, -0.38959357142448425, 0.4964076578617096, 0.8663977980613708, -0.6308724880218506, -0.808070719242096, 0.26823994517326355, -0.2634621858596802, -0.4534711539745331, 0.26488444209098816, 0.1570100635290146, -0.19787035882472992, 0.14237619936466217, -0.43238961696624756, -0.7332043647766113, 1.1214008331298828, 0.34868040680885315, -0.22740168869495392, -0.07756472378969193, -0.21170710027217865, 0.5369068384170532, -0.3009025454521179, 0.5461227893829346, 0.3239218294620514, 0.15835829079151154, 0.16518621146678925, -0.8965938687324524, 0.18715719878673553, -0.13011521100997925, -0.28402000665664673, 0.1882774978876114, -0.34992602467536926, 0.6991177797317505, -0.7397814989089966, -0.4226149320602417, 0.5826505422592163, 1.0158360004425049, 0.45127442479133606, 0.43138301372528076, 0.4226696193218231, 0.14117088913917542, 0.9222176671028137, 0.07332386076450348, 1.0566447973251343, -0.1773698329925537, 0.11813588440418243, 1.2940505743026733, -0.16650868952274323, 1.2946498394012451, 0.292309045791626, -0.2851914167404175, 0.24158868193626404, 0.5338211059570312, 0.8129388689994812, 0.4334261417388916, 0.21416619420051575, -0.5267388224601746, -0.4115820825099945, -0.18664953112602234, -0.434158056974411, 0.07115121930837631, 0.22545795142650604, -0.27588552236557007, -0.40959885716438293, -0.048951320350170135, -0.18898627161979675, 0.3769984245300293, -0.3387075960636139, 0.9219321608543396, 0.138556569814682, -1.0778703689575195, 0.5434460043907166, 0.038532182574272156, 0.5773160457611084, -0.6058000326156616, -0.20344090461730957, -0.4944583773612976, -0.11289515346288681, -0.28475242853164673, -0.9888341426849365, 0.09820196032524109, -0.021801570430397987, -0.2620057463645935, -0.21449364721775055, 0.6374204158782959, -0.673252284526825, 0.10711033642292023, -0.057948436588048935, 0.8001749515533447, 0.2380734086036682, -0.4606883227825165, -0.21943141520023346, -0.5089171528816223, 0.17696534097194672, -0.04646342992782593, 0.2310660481452942, 0.3261067271232605, -0.19056196510791779, 0.6708253622055054, 0.6517614722251892, 0.0721018984913826, 0.11675058305263519, 0.3306759297847748, 0.8663256168365479, -0.6681212186813354, -0.558326780796051, -0.6197506785392761, 0.6243648529052734, -0.14582888782024384, -0.16030418872833252, 0.9112579822540283, 0.7201928496360779, 0.5920072793960571, -0.08931181579828262, 0.6337197422981262, 0.19798842072486877, 0.9977271556854248, -0.8099391460418701, 0.3771438002586365, -0.661637544631958, 0.5487052798271179, 0.08375703543424606, -0.9548196196556091, -0.29873496294021606, 0.2511192560195923, -0.18083757162094116, 0.0885753259062767, 0.5263908505439758, 0.7877506017684937, 0.15912094712257385, 0.16200286149978638, 0.3251585364341736, 0.01835438422858715, 0.4416999816894531, 0.3458687663078308, 0.8988358378410339, -0.2147173434495926, 0.6083125472068787, 0.27442190051078796, -0.3615383803844452, -0.22965264320373535, -0.7349463105201721, -0.7787943482398987, -0.48904821276664734, -0.29511356353759766, -0.42341485619544983, 0.09817086905241013, 0.78741055727005, 0.4017794132232666, -0.8492314219474792, -0.03335791081190109, 0.3523779511451721, 0.23276278376579285, -0.2779058516025543, -0.26745545864105225, 0.33738669753074646, -0.41849544644355774, -0.6581704616546631, 0.6040312647819519, 0.11959146708250046, -0.02450602874159813, -0.25625327229499817, -0.14948788285255432, -0.13013523817062378, 0.3037808835506439, 0.814102292060852, 0.3100590705871582, -0.6986721754074097, -0.2691898047924042, 0.4140065312385559, -0.06515911966562271, -0.10621561855077744, 0.7189459800720215, -0.9803978800773621, 0.5335020422935486, 0.6809195876121521, 0.7886502742767334, 0.05001359060406685, 0.4188670814037323, 0.7190337777137756, -0.8991216421127319, -0.6506868004798889, 0.511126697063446, 0.24952462315559387, 0.22106990218162537, -0.14711713790893555, 0.40255483984947205, -0.28920719027519226, -0.3722398281097412, -0.7751856446266174, 0.19749099016189575, -0.9981088638305664, -0.18399278819561005, 1.139621615409851, -0.33202821016311646, 0.014629507437348366, -0.25904884934425354, -0.5688704252243042, -0.15553413331508636, -0.4321942627429962, 0.5755971670150757, 0.4803268611431122, -0.1260146200656891, -0.027445660904049873, -0.5136232376098633, 0.3726538121700287, 0.5143911242485046, -0.9623286128044128, -0.025511447340250015, 0.6701030731201172, 0.21378013491630554, 0.1609867513179779, 1.061239242553711, -0.2132159173488617, 0.5218610167503357, -0.6132766604423523, -0.3992844820022583, -0.09168794006109238, -0.3319016695022583, -0.3707317113876343, 0.5732940435409546, 0.40698811411857605, -0.35010331869125366 ]
http://arxiv.org/abs/2404.10975v1
http://arxiv.org/pdf/2404.10975v1
Procedural Dilemma Generation for Evaluating Moral Reasoning in Humans and Language Models
2024-04-17T01:13:04
2024-04-17T01:13:04
Jan-Philipp Fränken, Kanishk Gandhi, Tori Qiu, Ayesha Khawaja, Noah D. Goodman, Tobias Gerstenberg
cs.CL
cs.CL
As AI systems like language models are increasingly integrated into decision-making processes affecting people's lives, it's critical to ensure that these systems have sound moral reasoning. To test whether they do, we need to develop systematic evaluations. We provide a framework that uses a language model to translate causal graphs that capture key aspects of moral dilemmas into prompt templates. With this framework, we procedurally generated a large and diverse set of moral dilemmas -- the OffTheRails benchmark -- consisting of 50 scenarios and 400 unique test items. We collected moral permissibility and intention judgments from human participants for a subset of our items and compared these judgments to those from two language models (GPT-4 and Claude-2) across eight conditions. We find that moral dilemmas in which the harm is a necessary means (as compared to a side effect) resulted in lower permissibility and higher intention ratings for both participants and language models. The same pattern was observed for evitable versus inevitable harmful outcomes. However, there was no clear effect of whether the harm resulted from an agent's action versus from having omitted to act. We discuss limitations of our prompt generation pipeline and opportunities for improving scenarios to increase the strength of experimental effects.
[ -0.23318463563919067, -0.9782325625419617, 0.9645920991897583, 0.2854284942150116, -0.18001633882522583, -0.27683818340301514, 0.12105952948331833, -0.10424484312534332, -0.3514394462108612, 0.548978328704834, -0.651076078414917, -0.318987637758255, -0.2499634474515915, 0.3051309585571289, -0.1892557144165039, 0.971889078617096, 0.202964648604393, 0.17019173502922058, -0.15522271394729614, -0.08447521924972534, -0.564720094203949, -0.395237535238266, -0.9897032976150513, -0.11413688212633133, 0.4064524173736572, 0.3079206943511963, 0.6211850047111511, 0.4353000819683075, 0.46336841583251953, 0.4497841000556946, 0.005042228847742081, -0.14680568873882294, -0.5762583017349243, 0.12772056460380554, -0.44628679752349854, -0.29718923568725586, -0.2525089383125305, 0.31517598032951355, 0.2984025478363037, 0.6167006492614746, -0.32490235567092896, 0.16788043081760406, -0.13337484002113342, 0.4515930414199829, -0.4892704486846924, 0.03420035541057587, -0.38780948519706726, 0.13172931969165802, -0.05899270623922348, -0.12874163687229156, -0.36055514216423035, -0.7847073674201965, 0.3035387694835663, -0.4786958396434784, 0.030112192034721375, 0.33269837498664856, 0.6561802625656128, 0.32310518622398376, -0.589659571647644, -0.5491326451301575, -0.4265054762363434, 0.8504125475883484, -0.5881651043891907, 0.12980900704860687, 0.5500602722167969, 0.24499398469924927, -0.3245348632335663, -0.9602477550506592, -0.5182502865791321, -0.49963146448135376, 0.0690893679857254, 0.27295398712158203, -0.26149243116378784, 0.15279649198055267, 0.5069832801818848, 0.04626122862100601, -0.3951992988586426, -0.07858974486589432, -0.243012472987175, -0.2705475986003876, 0.7719456553459167, 0.6722171902656555, 0.3501119613647461, -0.4749877452850342, -0.16375017166137695, -0.16885897517204285, -0.8728576302528381, 0.38783395290374756, 0.9192208647727966, 0.1217753142118454, 0.015295229852199554, 0.5279094576835632, 0.23711523413658142, 0.46881359815597534, 0.19434988498687744, 0.23708811402320862, -0.1393129676580429, -0.6476144194602966, -0.01672138087451458, 0.03519532456994057, 0.9172558784484863, 0.7832985520362854, 0.4174480736255646, 0.2723623514175415, -0.21054020524024963, 0.14655523002147675, 0.44122815132141113, -0.801472544670105, -0.08636270463466644, 0.31230875849723816, -0.49195611476898193, -0.5479274392127991, -0.04051946476101875, -0.6004513502120972, -0.6436102390289307, -0.12009736150503159, -0.17900864779949188, -0.47808364033699036, -0.13716578483581543, 0.3712185025215149, -0.3806820511817932, 0.2287382036447525, 0.2875555455684662, -0.40545397996902466, 0.03868545591831207, 0.3697929084300995, 0.5703439712524414, -0.0014906538417562842, -0.19320541620254517, -0.7890373468399048, -0.1308598816394806, -0.5105075836181641, 0.9073156118392944, -0.6519886255264282, -0.7174646258354187, 0.04907858744263649, -0.010819593444466591, 0.18487854301929474, -0.3415899872779846, 0.9157833456993103, -0.022056639194488525, 0.17033667862415314, -0.698521614074707, -0.4292079508304596, -0.2522437274456024, 0.27997782826423645, -0.40810054540634155, 0.4432421922683716, 0.16151316463947296, -0.5180554986000061, 0.30770522356033325, -0.7291397452354431, -0.4317344129085541, 0.08567050099372864, -0.24908281862735748, -0.28177884221076965, 0.052298445254564285, -0.20599201321601868, 0.25114747881889343, -0.851742148399353, 0.5940608978271484, -0.3826195299625397, -0.17456068098545074, 0.45548298954963684, -0.5791441798210144, 1.1758559942245483, 0.25347837805747986, -0.22586151957511902, 0.22601641714572906, -0.3668302595615387, 0.09129583835601807, 0.27630937099456787, -0.18980686366558075, -0.33887189626693726, 0.2433662712574005, -0.0427219457924366, 0.46875178813934326, -0.1270841807126999, -0.5525786876678467, -0.04989190772175789, -0.28087350726127625, 0.6555855870246887, 0.9345061182975769, 0.4389277398586273, 0.20114807784557343, -0.5616277456283569, 0.6207159757614136, -0.08194290846586227, 0.5273897647857666, 0.06402774900197983, -0.7427458167076111, -0.6544460654258728, 0.22464428842067719, -0.1481902152299881, 0.5388104319572449, -0.7293441891670227, 0.33672896027565, 0.2453755885362625, -0.23214450478553772, -0.2998361587524414, -0.46178263425827026, 0.7560965418815613, 0.620827853679657, 0.14889732003211975, -0.35741522908210754, -0.23136042058467865, -0.7256949543952942, -0.4541241228580475, -0.5578032732009888, 0.1375095546245575, 0.5571956634521484, 0.4957856237888336, -0.062499161809682846, 0.9899194240570068, -0.4987090826034546, 0.07287326455116272, -0.12214052677154541, 0.3778892457485199, 0.08446736633777618, 0.49127352237701416, 0.5026572942733765, -0.6184484958648682, -0.15547260642051697, -0.1960771679878235, -0.8145117163658142, -0.2911686301231384, -0.3448459208011627, -0.1808682084083557, -0.060895420610904694, 0.37607139348983765, -0.3835790455341339, 0.3984708786010742, 0.09676583111286163, -0.6313645839691162, 1.042252540588379, -0.16351839900016785, 0.39903005957603455, -0.6027893424034119, 0.025600174441933632, 0.03686189651489258, -0.012173558585345745, -0.6360150575637817, -0.06852284073829651, -0.20296843349933624, -0.16546647250652313, -0.7037781476974487, 0.6848157644271851, -0.13129854202270508, 0.1603422909975052, 0.29727762937545776, 0.2064400613307953, -0.028785552829504013, 0.28894558548927307, -0.016445156186819077, 0.7979476451873779, 0.32782885432243347, -0.5355411171913147, 0.2988104224205017, 0.4855637550354004, -0.2459004819393158, 0.7847297191619873, -0.8459809422492981, 0.19718867540359497, -0.09018100053071976, 0.17821411788463593, -0.5500985980033875, -0.12059241533279419, 0.4364487826824188, -0.20910899341106415, -0.1485278308391571, -0.15717700123786926, -0.1742682307958603, -0.3588589131832123, -0.5584825873374939, 0.34886425733566284, 0.7121062874794006, -0.12933067977428436, 0.17326195538043976, 0.40082091093063354, -0.3989632725715637, -0.34271878004074097, -0.3770103454589844, 0.20488855242729187, -0.3669644892215729, -0.6682084202766418, -0.03814522549510002, -0.28431957960128784, -0.6977437138557434, -0.11141540110111237, 0.15220171213150024, 0.027022670954465866, -0.0374765619635582, 0.37435880303382874, 0.10024173557758331, 0.08158369362354279, 0.05853472277522087, 0.3892822265625, -0.2920144498348236, 0.39802810549736023, -0.256247878074646, 0.4363429546356201, -0.6326730847358704, -0.5682082176208496, -0.22480508685112, 0.4990183711051941, 0.2799857556819916, -0.31223800778388977, 0.22807356715202332, -0.029011424630880356, -0.21462436020374298, 0.17099352180957794, -0.4580621123313904, -0.08855327218770981, -0.5193106532096863, 0.129420667886734, -0.21419593691825867, -0.6336690187454224, 0.4372633993625641, -0.22782383859157562, 0.05808034911751747, 0.40737757086753845, 0.533248245716095, -0.2046595960855484, 1.2157262563705444, 0.026754850521683693, 0.4244322180747986, 0.41066741943359375, -0.2567790448665619, 0.20260825753211975, -0.635176420211792, 0.0696057602763176, -0.4882507920265198, 0.22057931125164032, -0.7198347449302673, -0.3957921266555786, 0.4249226748943329, 0.20979854464530945, -0.6718230843544006, 0.06966592371463776, -0.36584585905075073, 0.5518922805786133, 0.33584117889404297, 0.08197421580553055, 0.40459898114204407, -0.056934308260679245, -0.334450900554657, 0.04714901000261307, -0.6462128758430481, -0.9468613266944885, 0.7929694056510925, -0.042820610105991364, 0.46894922852516174, 0.11399432271718979, 0.46241873502731323, 0.3357754647731781, 0.3069198727607727, -0.6225171089172363, 0.6236660480499268, 0.011783030815422535, -0.6469351649284363, -0.4370264410972595, -0.5709720253944397, -1.195635437965393, 0.0365033820271492, -0.07908791303634644, -0.7322850227355957, 0.4387764036655426, -0.016219783574342728, -0.5563428401947021, -0.11258187144994736, -0.6335850954055786, 0.8112728595733643, -0.4228042662143707, -0.5541474223136902, -0.32721683382987976, -0.8210906982421875, 0.4856463670730591, -0.12471083551645279, 0.15027138590812683, -0.13183529675006866, 0.1627180129289627, 0.5899921655654907, -0.7042744159698486, 0.7863703370094299, -0.2064715474843979, -0.11616041511297226, 0.7279580235481262, 0.2267431765794754, 0.5600904822349548, 0.3290451467037201, -0.3985673189163208, 0.1475745141506195, -0.0061750165186822414, -0.16823597252368927, -0.4836823046207428, 0.5098097324371338, -0.5517067313194275, -0.8243478536605835, -0.4610902667045593, -0.3524225652217865, -0.15320780873298645, 0.312956303358078, 0.34443095326423645, 0.5818542838096619, -0.5877171754837036, -0.2243356704711914, 0.2753602862358093, -0.6640815734863281, 0.43678009510040283, 0.5525686740875244, -0.04850310832262039, -0.29493725299835205, 0.9479641318321228, -0.11654754728078842, 0.306831955909729, -0.37866052985191345, 0.6138919591903687, -0.44022390246391296, -0.5254822373390198, -0.4717380404472351, 0.19523921608924866, -0.6986498236656189, -0.14327892661094666, -0.3096035122871399, 0.08262123167514801, -0.07253559678792953, -0.4842466115951538, -0.28997671604156494, -0.22400951385498047, -0.14338110387325287, -0.003462798660621047, 0.3570002019405365, 0.96442049741745, -0.11580182611942291, 0.04514487832784653, -0.9471999406814575, 0.09207732230424881, 0.29916584491729736, 0.15957830846309662, -0.17716901004314423, -0.20643030107021332, 0.3358292579650879, 0.23127543926239014, -0.45594698190689087, -0.8565302491188049, 0.164943128824234, -0.11360100656747818, 0.42943429946899414, 0.6078737378120422, 0.4906559884548187, 0.7035640478134155, -0.6245695948600769, 0.7454907298088074, 0.4235630929470062, -1.067604660987854, 0.5440697073936462, -0.7044743299484253, 0.00108153757173568, 0.5574761629104614, 0.31352871656417847, -0.6585270762443542, -0.4284290373325348, -0.6402445435523987, -0.5468170046806335, 0.7700559496879578, 0.5486462116241455, 0.061491459608078, -0.46230408549308777, 0.4886910021305084, 0.13980557024478912, 0.019987503066658974, -0.333139032125473, -0.048756714910268784, -0.3130658268928528, -0.06338901817798615, 0.09038844704627991, -0.04547789320349693, -0.3112103044986725, -0.22001846134662628, 0.34446823596954346, 0.0032853626180440187, 0.1660597324371338, 0.18959128856658936, -0.10274560004472733, -0.4218043386936188, 0.20201227068901062, 0.4589760899543762, 0.6401564478874207, 0.06195981428027153, -0.26626917719841003, 0.13436971604824066, -0.3869050145149231, 0.5839880108833313, 0.00033465473097749054, -0.1885252147912979, -0.6204867362976074, 0.4519887864589691, 0.6523500084877014, 0.04184544086456299, -0.8659898042678833, 0.6359929442405701, -0.4820139408111572, 0.03154745325446129, -0.21756719052791595, 0.11342042684555054, -0.0657319724559784, 0.3956277668476105, -0.17771267890930176, 0.016995294019579887, 0.3910854160785675, -0.6414818167686462, 0.14971186220645905, 0.2688615322113037, -0.23114930093288422, -0.3304881155490875, 0.3984433114528656, 0.511245608329773, -0.6880151629447937, 0.9866730570793152, -0.6323785185813904, -0.4243028163909912, 0.7596570253372192, 0.38404273986816406, 1.045395016670227, -0.353626549243927, 0.5431667566299438, 0.36477434635162354, 0.2918945848941803, -0.06914759427309036, 0.5795372724533081, 0.21669672429561615, -0.7196899652481079, -0.3049204349517822, -0.4602196514606476, -0.48499661684036255, -0.21323707699775696, -0.6189717650413513, 0.12898550927639008, -0.4141513407230377, -0.32043561339378357, -0.3099616467952728, -0.23919402062892914, -0.5328678488731384, 0.018593138083815575, -0.36395618319511414, 0.37890034914016724, -0.5262073874473572, 0.43161049485206604, 0.507841944694519, -0.6723917722702026, -0.6687146425247192, 0.1564931869506836, 0.10188887268304825, -0.6129509806632996, 0.4308381974697113, 0.11855626106262207, -0.33039966225624084, 0.1393219381570816, -0.5144156217575073, -0.4884912967681885, 0.8067094683647156, 0.6140367388725281, -0.6101681590080261, 0.07498877495527267, 0.18939493596553802, 0.5375434160232544, -0.15689362585544586, 0.3535858690738678, 0.804779052734375, 0.8380216360092163, 0.030241429805755615, -0.5331399440765381, 0.2963472306728363, -0.29890215396881104, -0.07621456682682037, 0.17074917256832123, -0.49962496757507324, 0.8750125765800476, -0.5901935696601868, -0.5468736290931702, 0.11697609722614288, 0.1148613914847374, 0.41022467613220215, 0.316994309425354, 0.5893428325653076, 0.18047329783439636, 0.7327673435211182, -0.1579212099313736, 1.5362107753753662, -0.05351554974913597, 0.3059304654598236, 0.7408097982406616, -0.4656963050365448, 0.24975304305553436, 0.35525256395339966, -0.2526782751083374, 0.3361414968967438, 0.7268937230110168, 0.21266695857048035, 0.35342419147491455, 0.49688175320625305, 0.014870686456561089, -0.5355717539787292, -0.509659469127655, -0.29074832797050476, 0.4169560670852661, 0.43789634108543396, 0.006205786485224962, -0.12909066677093506, -0.17550693452358246, -0.10506012290716171, -0.03814486786723137, -0.06973125040531158, 0.637966513633728, 0.1654251366853714, -0.7541908025741577, 0.39148855209350586, 0.02117716707289219, 0.03599943220615387, -0.5130956768989563, -0.22222335636615753, -0.30078253149986267, -0.06540688127279282, 0.006762509699910879, -0.9448177218437195, 0.20712897181510925, 0.19228772819042206, 0.2040676325559616, -0.29393163323402405, 0.5723727941513062, -0.05460192635655403, -0.5566087365150452, 0.2560119926929474, 0.7007726430892944, 0.23654642701148987, 0.026269011199474335, -0.8838292360305786, -0.1786501556634903, -0.10150086879730225, -0.3909241855144501, 0.07254422456026077, 0.5264723896980286, -0.4194837510585785, 0.6826381087303162, 0.9027394652366638, -0.1257234811782837, -0.1627650260925293, 0.2827511131763458, 0.8427530527114868, -0.8574008941650391, -0.4456852078437805, -0.8774335980415344, 0.5963730216026306, -0.2159043550491333, -0.5340307354927063, 0.5552462935447693, 0.13135798275470734, 0.3529268503189087, 0.11338707059621811, 0.8701320290565491, -0.09464713931083679, -0.1504659801721573, -0.5609456300735474, 0.6720505952835083, -0.27693971991539, 0.273151159286499, -0.5066813826560974, -0.7008993625640869, -0.11148421466350555, 0.7728660106658936, -0.4227652847766876, 0.32517120242118835, 1.0279960632324219, 0.6672435998916626, 0.3960672616958618, 0.18087369203567505, 0.26528850197792053, 0.2612556219100952, 0.4049686789512634, 0.5708914995193481, 1.473187804222107, -0.17403873801231384, 0.4392493665218353, 0.06909201294183731, -0.3026071786880493, 0.04072805494070053, -1.1333460807800293, -0.9086507558822632, -0.5435176491737366, -0.10040591657161713, -0.2690027058124542, 0.2739373743534088, 0.7711291909217834, 0.2829763889312744, -0.6514168977737427, -0.30001023411750793, -0.47968900203704834, 0.30233851075172424, -0.16023197770118713, -0.18641550838947296, 0.3245057165622711, -0.2974172830581665, -0.4978073537349701, 0.29837045073509216, 0.44569554924964905, 0.07228682935237885, -0.23379923403263092, -0.39278778433799744, -0.10234502702951431, 0.41137588024139404, 0.6343329548835754, 0.04821600392460823, -0.7218735218048096, -0.4968612492084503, -0.1644313633441925, -0.012851957231760025, -0.17338424921035767, 1.2222124338150024, -0.4775334894657135, 0.43470463156700134, 0.423801451921463, 0.2815324664115906, 0.1473386436700821, -0.011820166371762753, 0.9313687682151794, -0.3365614414215088, -0.0007867270614951849, 0.48594626784324646, 0.5359488129615784, 0.08780251443386078, -0.4641333520412445, 0.5462839603424072, 0.046666085720062256, -0.5528360605239868, -0.7433183193206787, 0.5676027536392212, -0.49711334705352783, -0.3513947129249573, 1.2111302614212036, -0.35393020510673523, 0.11001258343458176, -0.45403575897216797, -0.54548579454422, 0.19743098318576813, -0.549044668674469, 0.7136799693107605, 0.6571891903877258, -0.30797308683395386, 0.17102943360805511, -0.4941754639148712, 0.5109185576438904, 0.31431910395622253, -0.9950708150863647, 0.22255831956863403, 0.816371500492096, -0.03128977492451668, -0.03697848692536354, 0.6150307059288025, -0.06422388553619385, 0.49529874324798584, 0.17105218768119812, -0.11403942853212357, -0.12233008444309235, -0.0963829979300499, -0.2880781590938568, -0.07552196085453033, -0.09344768524169922, 0.36533257365226746 ]
http://arxiv.org/abs/2404.10960v1
http://arxiv.org/pdf/2404.10960v1
Uncertainty-Based Abstention in LLMs Improves Safety and Reduces Hallucinations
2024-04-16T23:56:38
2024-04-16T23:56:38
Christian Tomani, Kamalika Chaudhuri, Ivan Evtimov, Daniel Cremers, Mark Ibrahim
cs.CL
cs.CL, cs.AI
A major barrier towards the practical deployment of large language models (LLMs) is their lack of reliability. Three situations where this is particularly apparent are correctness, hallucinations when given unanswerable questions, and safety. In all three cases, models should ideally abstain from responding, much like humans, whose ability to understand uncertainty makes us refrain from answering questions we don't know. Inspired by analogous approaches in classification, this study explores the feasibility and efficacy of abstaining while uncertain in the context of LLMs within the domain of question-answering. We investigate two kinds of uncertainties, statistical uncertainty metrics and a distinct verbalized measure, termed as In-Dialogue Uncertainty (InDU). Using these uncertainty measures combined with models with and without Reinforcement Learning with Human Feedback (RLHF), we show that in all three situations, abstention based on the right kind of uncertainty measure can boost the reliability of LLMs. By sacrificing only a few highly uncertain samples we can improve correctness by 2% to 8%, avoid 50% hallucinations via correctly identifying unanswerable questions and increase safety by 70% up to 99% with almost no additional computational overhead.
[ -0.37199464440345764, -1.1584703922271729, 0.8040139079093933, 0.0343468114733696, -0.2473989725112915, 0.2923320233821869, -0.36600470542907715, -0.5415143966674805, -0.1480952948331833, 0.5922873616218567, -0.45499947667121887, -0.33328312635421753, -0.4469831883907318, 0.08798712491989136, -0.35857337713241577, 0.6916021108627319, -0.19240781664848328, 0.016734804958105087, -0.37011611461639404, 0.036541108042001724, -0.383221834897995, -0.5645272135734558, -0.700050413608551, -0.42542144656181335, 0.549567461013794, 0.3631404638290405, 0.8463523983955383, 0.4840104579925537, 0.5194685459136963, 0.2966458201408386, -0.13588576018810272, 0.1823096126317978, -0.34014496207237244, 0.3090902268886566, -0.17591702938079834, -0.8735434412956238, -0.15015558898448944, -0.20138590037822723, 0.4755750298500061, 0.8327761292457581, -0.6091115474700928, -0.2860027253627777, 0.2145322859287262, 0.48755812644958496, -0.683377206325531, -0.03535187616944313, -0.7029016613960266, 0.07968474179506302, 0.2103922814130783, -0.13175402581691742, -0.3401491045951843, -0.5130495429039001, 0.12425514310598373, -0.5787538290023804, -0.03298864886164665, 0.1742040067911148, 0.7381801009178162, 0.6692301034927368, -0.16762907803058624, -0.4578307867050171, -1.034533143043518, 0.6833850145339966, -0.7816852331161499, 0.4892916679382324, 0.9310590028762817, 0.09553133696317673, -0.3544958233833313, -0.37382155656814575, -0.481757253408432, -0.2758946716785431, 0.06577066332101822, 0.02965553104877472, 0.014172220602631569, 0.44567346572875977, 0.03147713840007782, -0.034677404910326004, -0.34315794706344604, 0.35593268275260925, -0.26346728205680847, -0.44992879033088684, 0.4214165508747101, 0.16695863008499146, -0.010541284456849098, -0.05777530372142792, -0.3988388478755951, -0.07178649306297302, -0.8267703652381897, 0.0702403113245964, 0.38169264793395996, 0.19894014298915863, 0.049722470343112946, 0.5645685195922852, -0.10701989382505417, 0.40638667345046997, -0.09790109843015671, -0.3152240812778473, -0.0893118679523468, 0.012469588778913021, -0.24050191044807434, -0.13130876421928406, 0.6152810454368591, 0.18435101211071014, 0.21128320693969727, -0.3032679855823517, -0.3810303807258606, 0.007689069025218487, 0.47793740034103394, -0.613305389881134, -0.08509200066328049, 0.685695230960846, -0.17197087407112122, -0.1965906172990799, -0.056531697511672974, -0.653343141078949, -0.41471144556999207, -0.09502211958169937, 0.5106600522994995, -0.5920526385307312, -0.20193800330162048, 0.12972775101661682, 0.20883095264434814, 0.09511936455965042, 0.5286467671394348, -0.6312171816825867, 0.45783692598342896, 0.5374454855918884, 0.5548804998397827, -0.14726737141609192, -0.13880746066570282, -0.34560829401016235, 0.04308026656508446, -0.8172304034233093, 0.5805321931838989, -0.22707484662532806, -0.5929773449897766, -0.07764288783073425, -0.16051051020622253, -0.07447881996631622, -0.7277546525001526, 0.5522174835205078, -0.4345068335533142, -0.00659174332395196, -0.14687131345272064, -0.7873619198799133, -0.5806468725204468, 0.32583504915237427, -0.28087180852890015, 0.6219550371170044, -0.029570933431386948, -0.511174201965332, 0.24801871180534363, -0.13465242087841034, -0.28489160537719727, -0.03147363290190697, -0.13845235109329224, -0.48404979705810547, 0.22854582965373993, 0.09304456412792206, 0.28403663635253906, -0.08575811237096786, 0.27348384261131287, -0.3567952811717987, -0.45457378029823303, 0.801516592502594, -0.8306645750999451, 0.3866899907588959, 0.3890109956264496, -0.1708310842514038, 0.011397638358175755, -0.3772023320198059, 0.24668677151203156, -0.19183778762817383, -0.24609024822711945, -0.30962350964546204, 0.1870054006576538, -0.26192706823349, 0.22840385138988495, -0.15017545223236084, -0.41931840777397156, -0.3276682198047638, -0.5691041946411133, 0.1983979344367981, 0.753740131855011, 0.2535938024520874, 0.27197936177253723, -0.6865555047988892, 0.720678448677063, -0.14291265606880188, 0.2505030632019043, 0.3433944880962372, -0.3818299174308777, -0.8708143830299377, -0.2263992875814438, 0.15532217919826508, 0.9045979976654053, -0.9673284292221069, 0.4450628459453583, 0.1437464952468872, -0.4782290458679199, -0.4625973701477051, 0.0432773157954216, 0.6958509087562561, 0.5844187140464783, 0.263861745595932, -0.26849788427352905, -0.32017895579338074, -0.5755026936531067, 0.0012242639204487205, -0.8197917342185974, -0.050614628940820694, 0.17104196548461914, 0.5029497742652893, -0.05222802609205246, 0.8047633171081543, -0.32278868556022644, 0.0268099382519722, -0.31715360283851624, 0.0931440070271492, -0.268920361995697, 0.3718354403972626, 0.09954783320426941, -0.7504529356956482, -0.0589795857667923, -0.20064306259155273, -0.7940695881843567, 0.1656724512577057, -0.2844212055206299, 0.10206456482410431, 0.544284999370575, 0.40340644121170044, -0.733372151851654, 0.7037506103515625, 0.21613046526908875, 0.12233692407608032, 0.6546995639801025, -0.2341725081205368, 0.14980031549930573, -0.786715030670166, -0.26079654693603516, -0.1752394586801529, -0.18520550429821014, -0.6670745611190796, -0.02203374169766903, 0.018179967999458313, 0.2988012731075287, -0.6892016530036926, 0.41220301389694214, -0.10894926637411118, 0.10379895567893982, -0.29893606901168823, 0.20008714497089386, 0.029835136607289314, 0.4386581480503082, 0.3418388366699219, 0.6214421987533569, 0.5386893153190613, -0.7814286351203918, 0.08754437416791916, 0.2789314091205597, -0.5054234266281128, 0.5633658766746521, -0.6413320302963257, 0.07224345952272415, -0.27197763323783875, 0.04702837020158768, -0.8470954298973083, -0.3892459571361542, 0.5178177952766418, -0.5630711317062378, 0.3800075054168701, 0.09568852931261063, -0.2841178774833679, -0.19821634888648987, -0.20511198043823242, 0.009490220807492733, 0.4597479999065399, -0.1676388382911682, 0.3990485668182373, 0.08579234778881073, -0.3939242959022522, -0.7693057060241699, -0.853843629360199, -0.018040798604488373, -0.40555718541145325, -0.1577707976102829, -0.04513292759656906, -0.3144829571247101, -0.6879400610923767, 0.008172164671123028, -0.36178743839263916, -0.17692162096500397, 0.4928296208381653, 0.43591004610061646, 0.4028277099132538, 0.21646550297737122, 0.6601819396018982, 0.006455875467509031, 0.003688300959765911, 0.15617674589157104, -0.0760929137468338, 0.39314234256744385, -0.0207514725625515, -0.7230777144432068, -0.6808263063430786, 0.2892184555530548, 0.31989508867263794, 0.09467340260744095, 0.6954591870307922, 0.2024030089378357, -0.5204108357429504, -0.22266413271427155, -0.6179512143135071, -0.5911083221435547, -0.506577730178833, 0.36365994811058044, -0.2795189619064331, -0.9334290623664856, 0.4750240445137024, 0.06816893070936203, -0.004690890200436115, 0.08465978503227234, 0.28287601470947266, -0.5693361759185791, 0.5771706104278564, 0.46180564165115356, 0.08717206865549088, 0.0847153440117836, 0.22045089304447174, 0.358358234167099, -0.5241715908050537, -0.24603597819805145, -0.7075045704841614, 0.1385970413684845, -0.4836765229701996, -0.45960870385169983, 0.37691760063171387, 0.30511462688446045, -0.27418795228004456, -0.035265058279037476, -0.3725496828556061, 0.3020850419998169, 0.30291152000427246, 0.33507102727890015, 0.25553229451179504, -0.12420697510242462, 0.13538110256195068, -0.05642405524849892, -0.5538532137870789, -0.5351380109786987, 0.933111310005188, 0.4646211564540863, 1.190373420715332, 0.0754404217004776, 0.7355331778526306, 0.049927230924367905, 0.19672802090644836, -0.9204179644584656, 0.49122723937034607, 0.44726961851119995, -0.6116322875022888, -0.7651973366737366, -0.6772262454032898, -0.6914029121398926, 0.3255530297756195, -0.3875446617603302, -0.8435556292533875, 0.19249853491783142, 0.026845896616578102, -0.6999465823173523, 0.5315170884132385, -0.5265199542045593, 0.2126743644475937, -0.5296202898025513, -0.13092032074928284, -0.04341844469308853, -0.7670485973358154, 0.2725291848182678, -0.4164849817752838, 0.38009148836135864, -0.12764649093151093, -0.22208702564239502, 0.6344438791275024, -0.3465000092983246, 0.9648759961128235, 0.12102854251861572, -0.14496272802352905, 0.558086097240448, 0.39446887373924255, 0.7602409720420837, 0.14732661843299866, -0.18071913719177246, 0.08013607561588287, -0.02274879813194275, -0.050606295466423035, -0.7459676861763, 0.2590961158275604, -0.647657036781311, -0.7732899785041809, -0.3876208961009979, -0.6517605185508728, -0.5023811459541321, -0.05717478692531586, 0.424787700176239, 0.02103993110358715, -0.062460001558065414, 0.16564540565013885, 1.160199761390686, -0.4613611400127411, 0.4914199709892273, 0.48924708366394043, -0.2752862274646759, -0.5171439051628113, 0.5106571912765503, 0.16431576013565063, 0.6861026287078857, 0.3641665577888489, 0.10512065142393112, -0.6063047647476196, -0.9103955626487732, -0.07222571223974228, 0.16841381788253784, -0.8192310929298401, -0.1631166785955429, -0.608174741268158, -0.3645566999912262, -0.25320398807525635, -0.25662949681282043, -0.38341912627220154, -0.4170025885105133, -0.4048141539096832, -0.6420729756355286, 0.4037388265132904, 0.795161247253418, -0.14242760837078094, 0.24942153692245483, -0.4636019468307495, 0.11744313687086105, 0.3523843586444855, 0.30929604172706604, -0.06307824701070786, -0.7166904807090759, -0.03176788613200188, 0.15020041167736053, -0.1424938589334488, -0.7526775598526001, 0.48993149399757385, 0.029407385736703873, 0.7120764851570129, 0.4882771670818329, 0.5476222634315491, 0.612476110458374, -0.055951450020074844, 0.5987569689750671, 0.21150745451450348, -0.9062291979789734, 0.42075201869010925, -0.22515983879566193, 0.06400598585605621, 0.7303931713104248, 0.4918399751186371, -0.5109920501708984, -0.8049876093864441, -0.3534471094608307, -0.8924249410629272, 0.4421025514602661, 0.25624358654022217, 0.0724685937166214, -0.020027805119752884, 0.4593518078327179, 0.16262848675251007, 0.42594072222709656, -0.5379144549369812, -0.17563286423683167, 0.09872541576623917, -0.008726249448955059, -0.1470322608947754, -0.3298909366130829, -0.31907057762145996, -0.17090804874897003, 0.8018248081207275, 0.0036743306554853916, 0.13310566544532776, 0.29420018196105957, -0.18874549865722656, -0.19240768253803253, 0.47109898924827576, 0.5974013805389404, 0.7039288282394409, -0.384793758392334, 0.1698051542043686, 0.45558562874794006, -0.43238335847854614, 0.36956965923309326, -0.25886669754981995, -0.2969513237476349, -0.2512444853782654, 0.3210168778896332, 0.614736795425415, -0.12841200828552246, -0.7952431440353394, 0.12790526449680328, -0.1071915477514267, -0.25902673602104187, -0.3866853713989258, 0.08828294277191162, 0.05551337078213692, 0.06128625199198723, 0.27899491786956787, 0.20337118208408356, -0.10702119767665863, -0.3439350426197052, 0.4508322477340698, 0.3563162684440613, -0.7218722105026245, 0.03864708170294762, 0.5720594525337219, -0.1106833964586258, -0.3506472110748291, 0.6157376766204834, -0.1136460155248642, -0.2337067872285843, 0.6513550281524658, 0.47346147894859314, 0.8439027667045593, -0.3300447165966034, 0.4410158395767212, 0.15587857365608215, 0.6683565974235535, -0.21520310640335083, 0.2867419123649597, 0.13891544938087463, -0.9300552010536194, -0.24581310153007507, -0.5080333352088928, -0.8202027082443237, -0.049610354006290436, -0.7497395873069763, -0.3404581844806671, -0.5932472348213196, -0.260701060295105, -0.4836619198322296, -0.1449616551399231, -0.20730963349342346, 0.3185705542564392, 0.03466323763132095, 0.6286331415176392, -0.6438958644866943, 0.7503068447113037, 0.33006444573402405, -0.3503480851650238, -0.9541016221046448, 0.26000356674194336, 0.11813988536596298, -0.23635920882225037, 0.05875849351286888, 0.040763165801763535, -0.3554357886314392, -0.3949723541736603, -0.6095943450927734, -0.8803098201751709, 0.8326402306556702, 0.39338430762290955, -0.5260408520698547, 0.24597620964050293, 0.1882878541946411, 0.3978675603866577, -0.002635004697367549, 0.15093988180160522, 0.5532066226005554, 0.4990535080432892, 0.285845011472702, -0.8790722489356995, -0.04295548424124718, 0.19204099476337433, 0.0013213769998401403, 0.03784839063882828, -0.5335028171539307, 0.7390515804290771, -0.4744792580604553, -0.28735634684562683, 0.3416511118412018, 0.5707381963729858, 0.3650418519973755, 0.231723815202713, 0.5581017732620239, 0.475157767534256, 1.192793369293213, -0.2981845736503601, 0.9814813137054443, -0.06054146960377693, 0.06723187863826752, 1.2386507987976074, -0.46629083156585693, 0.9774001240730286, 0.5993040800094604, -0.20361508429050446, 0.3213588297367096, 0.7746798396110535, 0.5282543301582336, 0.491984099149704, 0.2652375102043152, -0.41520142555236816, -0.5150534510612488, -0.1809999942779541, -0.10916029661893845, 0.40081295371055603, 0.7953212261199951, 0.008073688484728336, 0.028380276635289192, 0.27480262517929077, 0.30562376976013184, 0.2228570431470871, -0.11999666690826416, 0.7977323532104492, 0.33723291754722595, -0.8291383981704712, 0.7317517399787903, -0.1554904282093048, 0.5916965007781982, -0.6983652710914612, 0.18701423704624176, -0.37585487961769104, 0.10502134263515472, -0.09213544428348541, -0.8424190282821655, 0.3843108117580414, -0.2885324954986572, 0.09552755951881409, -0.07719116657972336, 0.6071780920028687, -0.4819090962409973, -0.5245161056518555, 0.30125853419303894, 0.575433611869812, 0.27832192182540894, -0.04796500504016876, -0.5008193254470825, -0.028274815529584885, -0.06565634161233902, -0.18016056716442108, 0.25450682640075684, 0.3433225154876709, -0.11033895611763, 1.3684563636779785, 0.3771928548812866, 0.2941382825374603, -0.14019592106342316, -0.26716339588165283, 0.5996518731117249, -0.44744256138801575, -0.24342796206474304, -0.7260904908180237, 0.3297399878501892, 0.23653465509414673, -0.18151725828647614, 0.6966208219528198, 0.17014385759830475, 0.7465386986732483, 0.15715745091438293, 1.0243709087371826, 0.15174266695976257, 0.5207113027572632, -0.5062626004219055, 0.7723901271820068, -0.4819777011871338, 0.5217982530593872, -0.3120577037334442, -0.5580940842628479, -0.4577852189540863, 0.5049535632133484, -0.31702709197998047, 0.05914508178830147, 0.6992099285125732, 0.9928393959999084, 0.5947345495223999, -0.014109065756201744, 0.6591730713844299, 0.00994829647243023, 0.1702963411808014, 0.5108650326728821, 1.0634013414382935, -0.12518301606178284, 0.6224400401115417, -0.5356991291046143, -0.041079163551330566, -0.006719914264976978, -0.45308050513267517, -0.7923882007598877, -0.3715498149394989, -0.3001260459423065, -0.36104294657707214, 0.4139435887336731, 0.9258906245231628, 0.6395775079727173, -0.8767051100730896, -0.22569645941257477, -0.01536762434989214, 0.5670385360717773, -0.3731120228767395, -0.12829378247261047, 0.2829754650592804, -0.39769625663757324, -0.5062332153320312, 0.42532527446746826, 0.32587766647338867, 0.47373470664024353, -0.24778766930103302, -0.2810268700122833, -0.0564911849796772, 0.5284804701805115, 0.25515326857566833, 0.33653178811073303, -0.9194387197494507, -0.5764210820198059, 0.004471901338547468, -0.12001336365938187, -0.03900360316038132, 0.3050232529640198, -0.6002312302589417, 0.3824121654033661, 0.2265602946281433, 0.5452843904495239, 0.15608692169189453, 0.3864816129207611, 0.46827858686447144, -0.6672507524490356, 0.2565341293811798, 0.5532041192054749, 0.21448107063770294, 0.4246574938297272, -0.4894997179508209, 0.4978841245174408, 0.01101535465568304, -0.6027785539627075, -0.7605637311935425, 0.41531187295913696, -0.6228706240653992, -0.566983699798584, 1.1766537427902222, -0.20789483189582825, -0.1299871802330017, -0.7178003191947937, -0.07533261179924011, 0.09523565322160721, -0.34890350699424744, 0.9319416880607605, 0.7935356497764587, -0.2114282101392746, -0.40814104676246643, -0.6217286586761475, 0.5571795105934143, 0.4894537627696991, -0.8425569534301758, 0.09143762290477753, 0.42042168974876404, 0.17973117530345917, 0.02211778424680233, 0.4973960220813751, 0.05639220029115677, 0.1780758798122406, 0.033158134669065475, 0.3062503933906555, 0.17556573450565338, -0.5140774846076965, -0.33064568042755127, 0.24359670281410217, 0.3979734480381012, -0.15137863159179688 ]
http://arxiv.org/abs/2404.10952v1
http://arxiv.org/pdf/2404.10952v1
Can Language Models Solve Olympiad Programming?
2024-04-16T23:27:38
2024-04-16T23:27:38
Quan Shi, Michael Tang, Karthik Narasimhan, Shunyu Yao
cs.CL
cs.CL, cs.AI, cs.PL
Computing olympiads contain some of the most challenging problems for humans, requiring complex algorithmic reasoning, puzzle solving, in addition to generating efficient code. However, it has been understudied as a domain to evaluate language models (LMs). In this paper, we introduce the USACO benchmark with 307 problems from the USA Computing Olympiad, along with high-quality unit tests, reference code, and official analyses for each problem. These resources enable us to construct and test a range of LM inference methods for competitive programming for the first time. We find GPT-4 only achieves a 8.7% pass@1 accuracy with zero-shot chain-of-thought prompting, and our best inference method improves it to 20.2% using a combination of self-reflection and retrieval over episodic knowledge. However, this is far from solving the benchmark. To better understand the remaining challenges, we design a novel human-in-the-loop study and surprisingly find that a small number of targeted hints enable GPT-4 to solve 13 out of 15 problems previously unsolvable by any model and method. Our benchmark, baseline methods, quantitative results, and qualitative analysis serve as an initial step toward LMs with grounded, creative, and algorithmic reasoning.
[ -0.3243395686149597, -0.5209921002388, 0.7609214186668396, 0.20389758050441742, -0.02654213085770607, 0.4080926179885864, -0.28693461418151855, -0.3299074172973633, -0.6089653968811035, 0.2619015872478485, -0.528528094291687, -0.29236069321632385, -0.3737744092941284, 0.3061736524105072, -0.14073076844215393, 0.49798375368118286, -0.22454889118671417, 0.019970020279288292, -0.4727162718772888, 0.1585151106119156, -0.2977823317050934, -0.6033453941345215, -0.2474256455898285, -0.5551230907440186, -0.09277912974357605, 0.5136944651603699, 0.5464853048324585, 0.4092133939266205, 0.33552125096321106, 0.32839417457580566, 0.01842835545539856, 0.07012142986059189, -0.4874669909477234, -0.17863936722278595, -0.18030840158462524, -0.4684695601463318, 0.002595967147499323, 0.32237255573272705, 0.32499396800994873, 0.8591780662536621, -0.3308871388435364, -0.053065817803144455, 0.042786240577697754, 0.6512802839279175, -0.41643908619880676, 0.18180763721466064, -0.8696078658103943, 0.057227760553359985, -0.1797254979610443, 0.04032037407159805, -0.300384521484375, -0.08518441021442413, -0.2443026304244995, -0.6657465696334839, 0.2289772480726242, 0.25391602516174316, 0.7302868962287903, 0.22577950358390808, -0.17786166071891785, -0.4486789405345917, -0.6400569677352905, 0.9890227317810059, -0.5860210657119751, 0.43712088465690613, 0.5438035130500793, 0.25659576058387756, -0.3524743318557739, -0.4215099513530731, -0.5206459760665894, -0.30305615067481995, 0.6504340171813965, 0.03789219260215759, -0.1350618600845337, -0.029842039570212364, 0.2802714407444, 0.16729122400283813, -0.7628645896911621, -0.023153547197580338, -0.6077622771263123, -0.06755875051021576, 0.7096707224845886, 0.29245004057884216, 0.3826587200164795, 0.12720747292041779, -0.12824417650699615, 0.10924948006868362, -0.8143904209136963, -0.015538327395915985, 0.3545103967189789, -0.036792315542697906, 0.201293483376503, 0.2500329911708832, -0.27125972509384155, 0.6064584255218506, -0.25179335474967957, 0.10078436136245728, 0.035098638385534286, -0.19954034686088562, 0.00116874894592911, -0.39415082335472107, 0.7005837559700012, 0.16324900090694427, 0.7473044991493225, -0.5028666853904724, -0.18493574857711792, 0.17664779722690582, 0.17227818071842194, -0.5323554873466492, -0.3378608226776123, 0.19414132833480835, -0.14567413926124573, -0.13154283165931702, -0.28969693183898926, -0.5537654161453247, -0.2990491986274719, -0.18356749415397644, 0.40845370292663574, -0.2637456953525543, -0.1288139373064041, 0.19439281523227692, 0.042589880526065826, 0.056104905903339386, 0.08783908933401108, -0.8319864869117737, 0.606453001499176, 0.8949913382530212, 0.6316434144973755, -0.1594146490097046, -0.5161705613136292, -0.019081663340330124, -0.42340195178985596, -0.4577602446079254, 0.8389054536819458, -0.5444244146347046, -0.34489694237709045, -0.09187888354063034, -0.4854632616043091, -0.13279756903648376, -0.7848368883132935, 0.3181091547012329, -0.5482061505317688, -0.06628308445215225, -0.25262054800987244, -0.7867931723594666, 0.3811381459236145, 0.25936198234558105, -0.31930819153785706, 0.9376786351203918, 0.047770917415618896, -0.47832322120666504, -0.024772297590970993, -0.32388070225715637, 0.01813848875463009, 0.007604299113154411, -0.4132675230503082, -0.23101375997066498, 0.29365718364715576, 0.2087869942188263, 0.09019142389297485, -0.779518187046051, 0.4362562894821167, -0.4109017550945282, -0.6603193879127502, 0.29311275482177734, -0.10635267198085785, 0.8422313928604126, 0.589180588722229, -0.2648211717605591, -0.3875783383846283, -0.5632367134094238, 0.29886433482170105, 0.3118152320384979, -0.1254444569349289, 0.09064998477697372, 0.05405409261584282, -0.4297391474246979, 0.29666680097579956, 0.020636724308133125, -0.6547006964683533, 0.36256977915763855, -0.04187006130814552, 0.4656934440135956, 0.854964017868042, -0.22088490426540375, 0.24311242997646332, -0.2709132432937622, 0.870246171951294, -0.2197401374578476, 0.08615559339523315, 0.09132175147533417, -0.9326790571212769, -0.39685457944869995, -0.002996095223352313, 0.21861395239830017, 0.6435563564300537, -0.7795600891113281, -0.022524984553456306, 0.0016363052418455482, -0.507009744644165, -0.6027846336364746, 0.1576126366853714, 0.557034969329834, 0.5533108711242676, 0.20736420154571533, -0.048698581755161285, -0.5050486326217651, -0.7354817390441895, -0.7978568077087402, -0.14329710602760315, 0.010946114547550678, 0.5253417491912842, 0.8326646685600281, 0.07852862775325775, 0.8980323672294617, -0.4857499599456787, 0.11098089069128036, -0.2528127431869507, 0.5372961163520813, 0.3956018388271332, 0.4359317719936371, 0.12044267356395721, -0.5010595917701721, -0.6344570517539978, -0.12651121616363525, -0.7215843200683594, -0.5864445567131042, 0.10696034133434296, 0.2552780210971832, -0.016632437705993652, 0.33433717489242554, -0.20376716554164886, 0.3396441340446472, 0.4956538677215576, -0.3513745367527008, 0.8720988035202026, -0.2900787889957428, 0.21076489984989166, -0.3721161484718323, -0.013388830237090588, -0.21731936931610107, -0.11352922767400742, -0.4460490047931671, 0.08219251036643982, 0.13782544434070587, -0.4684082269668579, -0.0816367119550705, 0.6990836262702942, -0.6180649399757385, -0.12697209417819977, -0.23433971405029297, 0.11089035123586655, -0.061285924166440964, 0.5321967005729675, -0.1037551537156105, 0.8495032787322998, 0.41945695877075195, -0.22873468697071075, 0.2946316599845886, -0.17931486666202545, -0.6993815302848816, 0.33887043595314026, -0.6158900856971741, 0.5975316166877747, -0.10284915566444397, -0.1251445859670639, -0.8581700921058655, -0.03255946934223175, -0.1907844841480255, -0.5009851455688477, 0.06221861019730568, -0.04245629161596298, -0.3946192264556885, -0.6552445292472839, -0.24211089313030243, 0.5019347071647644, 0.7767375707626343, -0.38874754309654236, -0.07203132659196854, 0.38169729709625244, -0.14452481269836426, -0.5353873372077942, -0.44287431240081787, 0.07810764014720917, 0.01479854341596365, -0.611544132232666, 0.19300848245620728, -0.4508388042449951, -0.37125465273857117, 0.02040291391313076, -0.1707821935415268, -0.6321601271629333, 0.40329912304878235, -0.07234671711921692, 0.030237600207328796, -0.048186108469963074, -0.28139302134513855, -0.408850759267807, -0.14147497713565826, -0.030855286866426468, -0.10720179229974747, 0.17690956592559814, -0.3735547661781311, -0.4618547558784485, -0.6128731369972229, 0.38603243231773376, 0.28715500235557556, -0.08464952558279037, 0.3679101765155792, 0.03577588126063347, -0.502446174621582, -0.26025351881980896, -0.6510483622550964, -0.058087579905986786, -0.4317665994167328, 0.48812657594680786, -0.7655327320098877, -0.7685741186141968, 0.5556347370147705, -0.18954147398471832, -0.35471341013908386, 0.05756659060716629, 0.47732365131378174, -0.05097951740026474, 1.3539066314697266, 0.27055856585502625, -0.23277701437473297, 0.15498867630958557, -0.3284341096878052, 0.12396485358476639, -0.8559434413909912, -0.14491073787212372, -0.876451313495636, -0.0806766003370285, -0.298715204000473, -0.44981932640075684, 0.3247489333152771, 0.48838335275650024, -0.5436423420906067, 0.2880905568599701, -0.43927282094955444, 0.9722242951393127, 0.4161156415939331, -0.08000968396663666, 0.36819952726364136, -0.2034999281167984, -0.5862622261047363, -0.42746445536613464, -0.7861576080322266, -0.3779554069042206, 1.1489689350128174, 0.12299875915050507, 0.8023536801338196, -0.0757070928812027, 0.8726451992988586, 0.16974620521068573, 0.5941516757011414, -0.22230397164821625, 0.37067171931266785, 0.18828102946281433, -1.0070266723632812, -0.09141609817743301, -0.6702743768692017, -0.8281397819519043, 0.34527966380119324, 0.0693555399775505, -1.2209168672561646, -0.003976865671575069, 0.20326149463653564, -0.2173188030719757, 0.14567294716835022, -0.655001699924469, 1.1205204725265503, -0.2958112061023712, -0.6167246699333191, -0.13635767996311188, -0.35529428720474243, 0.4279078543186188, -0.04095744341611862, 0.8293566703796387, -0.3489351272583008, 0.0885583758354187, 0.5365880727767944, -0.569631814956665, 0.5329470634460449, -0.06392619013786316, 0.27141520380973816, 0.556130588054657, 0.21404968202114105, 0.5069318413734436, -0.15088802576065063, -0.36600252985954285, -0.07868895679712296, -0.007172249723225832, -0.5227364897727966, -0.6028450727462769, 0.74991375207901, -0.8042315244674683, -0.6604140996932983, -0.5840365886688232, -0.5028043389320374, -0.2927403450012207, 0.10865405946969986, 0.22183600068092346, 0.4532264769077301, -0.2722787857055664, -0.0665368065237999, 0.2525474429130554, 0.003070287639275193, 0.2672352194786072, 0.5361962914466858, -0.15726520121097565, -0.34327083826065063, 0.9707369208335876, -0.007381414528936148, 0.15128721296787262, 0.06225194036960602, 0.3961523771286011, -0.345646470785141, -0.9317778944969177, -0.38526129722595215, 0.2807823717594147, -0.6693468689918518, -0.1437162309885025, -0.20308250188827515, 0.058812566101551056, -0.37679001688957214, -0.16192299127578735, -0.6341511607170105, -0.28755122423171997, -0.0385756678879261, 0.39340564608573914, -0.3003518581390381, 0.9983775019645691, -0.21990267932415009, -0.02309398725628853, -0.5675719976425171, 0.20577429234981537, 0.43552497029304504, 0.5335803031921387, 0.021820707246661186, -0.47765418887138367, -0.12223249673843384, -0.08757266402244568, -0.44281408190727234, -0.9793587923049927, 0.2995125353336334, 0.1932932734489441, 0.5979688763618469, 0.18765603005886078, -0.02846149541437626, 0.7004367113113403, -0.727873682975769, 0.8324941396713257, -0.0651494637131691, -1.0965371131896973, 0.15748189389705658, -0.27321627736091614, 0.2314087152481079, 0.564249575138092, 0.4425301253795624, -0.5610700845718384, -0.3321540355682373, -0.6359118819236755, -0.38456109166145325, 0.7456755042076111, 0.5231147408485413, -0.25783658027648926, -0.26323390007019043, 0.5783179402351379, -0.13148437440395355, 0.22189021110534668, -0.7328535318374634, -0.16371387243270874, 0.01545428205281496, -0.24390217661857605, -0.061391059309244156, -0.11402499675750732, 0.35030388832092285, -0.20649603009223938, 0.6844509243965149, 0.049713071435689926, 0.11420931667089462, 0.15247923135757446, -0.3255317211151123, -0.09724622219800949, 0.25339287519454956, 0.5928255319595337, 0.8913513422012329, -0.3260890245437622, 0.2076237052679062, 0.060108352452516556, -0.267608106136322, 0.1341133415699005, -0.013944171369075775, 0.04639827460050583, -0.5138818025588989, 0.4203059673309326, 0.33525124192237854, 0.35147178173065186, -0.9134179949760437, 0.4805068373680115, -0.1925317794084549, -0.12873105704784393, -0.09842508286237717, 0.08132442831993103, 0.29982906579971313, 0.2950427532196045, 0.47932198643684387, -0.35355135798454285, 0.19753414392471313, -0.6651346683502197, 0.14366814494132996, 0.6714967489242554, -0.19068726897239685, -0.6332442760467529, 1.004888892173767, 0.3937356472015381, -0.604619026184082, 0.6743239760398865, -0.623747706413269, -0.9367676377296448, 0.8503947257995605, 0.8911947011947632, 0.6073150634765625, -0.3072183132171631, 0.006760942749679089, 0.44731593132019043, 0.3247065246105194, -0.29533475637435913, 0.5996055603027344, -0.13689978420734406, -0.8466928601264954, -0.3997865617275238, -0.42599985003471375, -0.580928385257721, 0.15074600279331207, -0.3984348773956299, -0.07307615131139755, -0.23413881659507751, 0.20134389400482178, -0.09358461946249008, 0.31874340772628784, -0.805122971534729, 0.030608678236603737, 0.41642332077026367, 0.8340364694595337, -0.8932713866233826, 0.7900745868682861, 0.630032479763031, -0.2010246068239212, -0.4840082824230194, -0.4777914583683014, 0.2287389039993286, -0.8900201916694641, 0.5125956535339355, 0.048653751611709595, 0.060137368738651276, 0.2804831564426422, -0.7177866697311401, -0.6842591762542725, 0.7514356970787048, 0.359372079372406, -0.527561366558075, 0.15807431936264038, 0.2534925937652588, 0.3438740372657776, -0.49104511737823486, 0.47324880957603455, 0.6877219676971436, 0.3324165344238281, 0.11552005261182785, -1.1354509592056274, -0.1663348227739334, -0.2978963553905487, 0.03079061023890972, 0.12737610936164856, -0.376492440700531, 1.18612802028656, -0.3848552703857422, -0.05597185343503952, 0.4402104318141937, 0.31673142313957214, 0.5126582384109497, 0.388916552066803, 0.3186725974082947, 0.682884931564331, 0.8877200484275818, 0.07257182151079178, 1.3240855932235718, -0.20378616452217102, 0.8221773505210876, 1.026930809020996, -0.5208760499954224, 0.6022485494613647, 0.3098222017288208, -0.6920692324638367, 0.3360801339149475, 0.4962462782859802, 0.35803744196891785, 0.46970024704933167, 0.7305651307106018, -0.2548411190509796, -0.5817416310310364, 0.1707877218723297, -0.35745689272880554, 0.34090352058410645, 0.3186684846878052, 0.20402491092681885, -0.43795835971832275, -0.18079420924186707, 0.18848496675491333, 0.35311779379844666, -0.26052433252334595, 0.2835625410079956, 0.207638680934906, -0.8839025497436523, 0.8324887752532959, -0.040136199444532394, 0.3801145851612091, -0.18250024318695068, -0.17284078896045685, -0.39792779088020325, 0.43061184883117676, 0.15228977799415588, -0.578572690486908, 0.02336028404533863, 0.2852165997028351, 0.13064250349998474, -0.14014843106269836, 0.5721498131752014, -0.41054674983024597, -0.45507556200027466, -0.01150109339505434, 0.44878706336021423, 0.633647084236145, -0.3927054703235626, -0.8476913571357727, 0.31258973479270935, 0.0141152860596776, -0.25052958726882935, 0.23167166113853455, 0.39217785000801086, -0.04910514876246452, 0.7940436005592346, 0.3494686782360077, 0.004499915521591902, 0.1408880203962326, -0.14063124358654022, 0.7204065918922424, -0.8250078558921814, -0.3545287847518921, -0.8260011076927185, 0.34827908873558044, -0.1081821396946907, -0.32035917043685913, 0.3769170939922333, 0.6170250773429871, 0.675629734992981, -0.03718996047973633, 0.8106192350387573, 0.09809211641550064, 0.3838503062725067, -0.3203417658805847, 0.5864512920379639, -0.4942156970500946, 0.22973881661891937, -0.28162798285484314, -0.7550058364868164, -0.33296293020248413, 0.7356981039047241, -0.34520140290260315, 0.12584587931632996, 0.9104762077331543, 0.5678266286849976, 0.016399189829826355, 0.0314197763800621, 0.4988347887992859, 0.2931913733482361, 0.3747186064720154, 1.0933870077133179, 1.0464638471603394, -0.33450135588645935, 0.5505309104919434, -0.5136955380439758, -0.5318884253501892, -0.25493332743644714, -1.0926352739334106, -0.959790050983429, -0.48439475893974304, -0.1980539709329605, -0.13077932596206665, 0.3935041129589081, 0.8813436627388, 0.5815193057060242, -0.7043042182922363, -0.4970476031303406, -0.3276132345199585, 0.43408966064453125, -0.13520260155200958, -0.11198528110980988, 0.2364206314086914, -0.4764740467071533, -0.7618155479431152, 0.5688945055007935, -0.03293970972299576, -0.18366575241088867, 0.0606946237385273, -0.224954754114151, -0.2005234956741333, 0.09600399434566498, 0.16071279346942902, 0.6252560019493103, -0.665386438369751, -0.33303216099739075, 0.2071419358253479, 0.031323786824941635, 0.053636349737644196, 0.9179326891899109, -0.8717710375785828, 0.7673810720443726, 0.33845436573028564, 0.48002129793167114, 0.6002811789512634, 0.07088114321231842, 0.5328854322433472, -0.4811211824417114, 0.28151845932006836, 0.4136582911014557, 0.45615729689598083, 0.1667259782552719, 0.09017526358366013, 0.5153911709785461, 0.5050413012504578, -0.9715016484260559, -0.9391536712646484, 0.21637645363807678, -0.35958966612815857, -0.3818044066429138, 0.8295555710792542, -0.20658865571022034, -0.37346088886260986, -0.3740232586860657, 0.11198023706674576, -0.05845894664525986, -0.13492625951766968, 0.9944018125534058, 1.0598574876785278, -0.606731653213501, -0.04835875704884529, -0.7255551218986511, 0.5620585680007935, 0.4598333239555359, -0.6697481870651245, 0.006148042157292366, 0.23632952570915222, 0.39354759454727173, -0.06186433508992195, 1.011075735092163, -0.014007597230374813, 0.375528484582901, 0.1821998953819275, 0.24539633095264435, -0.16848255693912506, -0.3308402895927429, -0.18574899435043335, -0.03847125172615051, 0.41054314374923706, 0.015187603421509266 ]
http://arxiv.org/abs/2404.10939v1
http://arxiv.org/pdf/2404.10939v1
More Room for Language: Investigating the Effect of Retrieval on Language Models
2024-04-16T22:43:48
2024-04-16T22:43:48
David Samuel, Lucas Georges Gabriel Charpentier, Sondre Wold
cs.CL
cs.CL
Retrieval-augmented language models pose a promising alternative to standard language modeling. During pretraining, these models search in a corpus of documents for contextually relevant information that could aid the language modeling objective. We introduce an 'ideal retrieval' methodology to study these models in a fully controllable setting. We conduct an extensive evaluation to examine how retrieval augmentation affects the behavior of the underlying language model. Among other things, we observe that these models: i) save substantially less world knowledge in their weights, ii) are better at understanding local context and inter-word dependencies, but iii) are worse at comprehending global context.
[ -0.3314664661884308, -0.7501633167266846, 0.5335383415222168, -0.25188589096069336, -0.053554169833660126, -0.11414837837219238, -0.2244071364402771, -0.5537697672843933, 0.11891201883554459, 0.6104007363319397, -0.24585101008415222, 0.036307718604803085, -0.30768388509750366, -0.028589460998773575, -0.674936056137085, 0.43510982394218445, -0.1617654412984848, 0.17603762447834015, -0.4890872538089752, -0.12804418802261353, -0.7284973859786987, -0.9996722340583801, -0.35423293709754944, -0.5815436840057373, 0.3839370012283325, 0.10561202466487885, 0.8171383142471313, 0.37928712368011475, 0.5278128385543823, 0.3097071945667267, -0.25758200883865356, -0.3400641679763794, -0.4971778094768524, 0.05949665606021881, -0.07128515839576721, -0.6481158137321472, -0.17494261264801025, 0.22988732159137726, 0.8093011379241943, 0.9116009473800659, -0.34150803089141846, 0.006560328882187605, -0.21675774455070496, 0.6823912262916565, -0.9049517512321472, 0.009421516209840775, -0.576335072517395, -0.010349803604185581, -0.08847581595182419, -0.31327664852142334, -0.4136236011981964, -0.13973349332809448, 0.488150954246521, -0.6187784671783447, 0.3082147240638733, 0.2432190328836441, 0.8192728161811829, 0.06113845854997635, -0.4407000243663788, -0.27744388580322266, -0.7038329839706421, 0.7432814240455627, -0.45201921463012695, 0.7840012311935425, 0.7134150266647339, 0.15567265450954437, 0.04036876931786537, -0.8110893964767456, -0.6208946108818054, -0.48610952496528625, -0.39950528740882874, 0.11149962991476059, -0.01279235165566206, 0.18917766213417053, 0.19198837876319885, 0.45223718881607056, -0.3980894982814789, -0.318937212228775, -0.44575685262680054, -0.08858831971883774, 0.4610755145549774, -0.08105255663394928, 0.6217677593231201, -0.23079606890678406, -0.0469261109828949, -0.10323423892259598, -0.8768694996833801, -0.11397472769021988, 0.33874988555908203, 0.4743313193321228, 0.32903844118118286, 0.5481921434402466, -0.27170810103416443, 0.987558126449585, -0.2727245092391968, 0.27034899592399597, 0.011919854208827019, -0.2974635660648346, -0.11122482270002365, 0.09487251937389374, 0.01986122690141201, 0.1399727463722229, 0.12310072779655457, -0.23683463037014008, -0.219291552901268, -0.18187274038791656, 0.3636213541030884, -0.9065158367156982, -0.17870038747787476, -0.14235328137874603, -0.3818790018558502, -0.007434073369950056, 0.1781798005104065, -0.046058714389801025, -0.18793885409832, -0.6098700761795044, 0.7073569297790527, -0.5845367908477783, -0.2917567491531372, 0.09852135181427002, -0.43517956137657166, 0.45131397247314453, 0.20280879735946655, -0.8153960704803467, 0.4469466805458069, 0.47313669323921204, 0.8231179714202881, -0.03214689716696739, -0.20384277403354645, -0.38513505458831787, 0.015211437828838825, -0.5659406185150146, 0.6942020654678345, -1.0163371562957764, -0.6725578904151917, 0.14431749284267426, 0.12495720386505127, -0.091065913438797, -0.6289682984352112, 0.3464091420173645, -1.0030310153961182, 0.5127784013748169, -0.503379762172699, -0.7297771573066711, -0.28697529435157776, 0.14077100157737732, -0.7830064296722412, 0.9463724493980408, 0.2528930604457855, -0.4981580972671509, 0.34171247482299805, -0.6100197434425354, -0.269692599773407, 0.08442474901676178, -0.05760112777352333, 0.14855879545211792, 0.5003300309181213, 0.053892407566308975, 0.018581006675958633, -0.09540632367134094, 0.24347026646137238, -0.12540310621261597, -0.6103588342666626, 0.12141799926757812, -0.3006877601146698, 0.6294563412666321, 0.38061726093292236, 0.16615363955497742, -0.18524083495140076, -0.5982192158699036, 0.028393225744366646, -0.043347086757421494, -0.49906274676322937, -0.9800281524658203, 0.07364892214536667, 0.006720689591020346, 0.055521007627248764, 0.27173343300819397, -0.6010615825653076, 0.21298524737358093, -0.5403301119804382, 0.053542666137218475, 0.3425823748111725, -0.1938045769929886, 0.8914461135864258, -0.2624311149120331, 0.660269558429718, -0.3527865409851074, -0.08157321810722351, -0.22548310458660126, -0.1024952307343483, -0.6609236001968384, 0.08942507207393646, 0.5317674279212952, 0.33958181738853455, -0.7420877814292908, 0.073280468583107, -0.1490623950958252, -0.1096017062664032, -0.5630236864089966, 0.03972452133893967, 0.42611637711524963, 0.3525301218032837, 0.2990856170654297, -0.371499240398407, -0.9302762150764465, -0.6522359251976013, -0.4456043243408203, 0.020773403346538544, 0.05508941411972046, 0.4444136321544647, 0.49963557720184326, -0.18007802963256836, 0.9882531762123108, -0.44858986139297485, -0.1573377251625061, -0.3000485599040985, -0.26346129179000854, -0.06668974459171295, 0.4718136191368103, 0.7051981687545776, -0.9078867435455322, -0.4452924132347107, -0.05850157514214516, -0.586444616317749, -0.10175532847642899, 0.3604724705219269, -0.1582104116678238, 0.14925776422023773, 0.7563096880912781, -0.5154959559440613, 0.4963071048259735, 0.45265626907348633, -0.2500472068786621, 0.4083476960659027, -0.40274131298065186, 0.19144664704799652, -0.878672182559967, 0.2662406265735626, -0.4741288423538208, -0.15177351236343384, -0.8402647972106934, 0.5371862649917603, 0.2396484762430191, -0.3043205738067627, -0.43418779969215393, 1.100463628768921, -0.7312300205230713, -0.1516958475112915, -0.5404381155967712, 0.44911712408065796, 0.22866623103618622, -0.03490440919995308, 0.37112024426460266, 0.9984321594238281, 0.3585303723812103, -0.5902745723724365, 0.08898014575242996, 0.19951020181179047, -0.6369871497154236, 0.07168301939964294, -0.4709230661392212, 0.1558654010295868, -0.412813663482666, 0.26146200299263, -1.0169322490692139, -0.32187971472740173, -0.4963764548301697, -0.4782494902610779, 0.5012162327766418, 0.035382211208343506, -0.2959873378276825, -0.29620152711868286, -0.2659823000431061, 0.3815895915031433, 0.40339064598083496, -0.6166226863861084, 0.3001909554004669, 0.4588387906551361, -0.11516863852739334, -0.6370160579681396, -0.6124612092971802, -0.06648506969213486, 0.003749310038983822, -0.2922317683696747, 0.5028326511383057, -0.11501874029636383, -0.562652587890625, 0.054663121700286865, -0.20103682577610016, -0.30298691987991333, 0.2111000120639801, -0.1313973069190979, 0.16379934549331665, -0.20476067066192627, 0.5037946701049805, -0.04524562507867813, 0.017275357618927956, -0.15620988607406616, -0.17155566811561584, 0.7144618034362793, -0.21017539501190186, -0.33473098278045654, -0.16113817691802979, 0.39461836218833923, 0.09540814906358719, -0.3208097219467163, 1.0417147874832153, 0.3323577344417572, -0.6029433608055115, 0.287093847990036, -0.6928980946540833, -0.3303166329860687, -0.4912947118282318, 0.5405294895172119, -0.516848087310791, -1.0244632959365845, 0.5889929533004761, 0.21943695843219757, -0.24469099938869476, 0.19793635606765747, 0.36648207902908325, 0.00926351547241211, 1.255920171737671, 1.1015177965164185, -0.02618972398340702, 1.0904213190078735, -0.24621926248073578, 0.29249876737594604, -1.0702334642410278, -0.09500670433044434, -0.6164377331733704, 0.008796378038823605, -0.2885379195213318, -0.41543325781822205, -0.05878704786300659, 0.512127161026001, -0.0356440432369709, 0.4162421226501465, -0.3481992483139038, 0.8268534541130066, 0.39797380566596985, -0.06829153746366501, 0.3688468337059021, -0.006629549898207188, -0.13659964501857758, -0.09643451869487762, -0.862585723400116, -0.45515283942222595, 0.9562456607818604, -0.07863907516002655, 0.7014020085334778, 0.1956811547279358, 0.5701380372047424, -0.007259679958224297, 0.6278147101402283, -0.7089236378669739, 0.20163433253765106, -0.046511098742485046, -1.0947126150131226, -0.35853350162506104, -0.34853988885879517, -1.1859036684036255, 0.4525962471961975, 0.00899428315460682, -0.8494222164154053, 0.2391642928123474, 0.10012571513652802, -0.42444026470184326, 0.024479979649186134, -0.8752549290657043, 0.657772958278656, -0.14050117135047913, -0.27177536487579346, -0.35814881324768066, -0.4289020001888275, 0.32964229583740234, -0.07283678650856018, 0.28280699253082275, 0.12176317721605301, -0.03142296522855759, 0.6002604961395264, -0.4221220016479492, 0.3923121690750122, -0.25000301003456116, -0.03102089650928974, 0.4747045338153839, 0.1903637796640396, 0.21094100177288055, -0.0799950510263443, -0.6575310230255127, -0.2833830714225769, 0.2541565001010895, -0.49485689401626587, -0.7361161708831787, 0.6850006580352783, -0.7278711795806885, -0.6963464021682739, -0.2609809339046478, -0.6524567008018494, -0.1744769960641861, 0.3538254499435425, 0.12587128579616547, 0.6222227811813354, -0.39674296975135803, 0.4494793713092804, 0.5369831323623657, -0.5003454685211182, 0.3753679394721985, 0.8494983315467834, -0.5792674422264099, 0.07977574318647385, 0.6417428255081177, 0.4535699486732483, 0.23482054471969604, 0.6799867153167725, 0.3148227632045746, -0.6333299875259399, -0.3630712628364563, -0.09092361479997635, 0.034023117274045944, -0.652593731880188, -0.024943146854639053, -0.5112612843513489, -0.22057385742664337, -0.6715295910835266, -0.03986423835158348, -0.2209252268075943, -0.45586809515953064, -0.07997920364141464, -0.20692750811576843, 0.3283906579017639, 0.6858603358268738, -0.0863775685429573, 0.7042505145072937, -0.8313320279121399, -0.02905067428946495, 0.31676027178764343, 0.4753245711326599, 0.023414844647049904, -0.8954658508300781, -0.36159029603004456, 0.034692149609327316, -0.12039048224687576, -0.8337183594703674, 0.6007605791091919, 0.37650278210639954, 0.7268720865249634, 0.22615578770637512, 0.01985783316195011, 0.8931329250335693, -0.692510724067688, 0.7323673963546753, 0.017550524324178696, -0.9356718063354492, 0.6836211085319519, -0.16475734114646912, 0.4407508373260498, 0.5673769116401672, 0.39076370000839233, -0.5151544213294983, -0.06289259344339371, -0.7127258777618408, -0.8567001223564148, 0.762338399887085, 0.021472226828336716, 0.7463350296020508, -0.16175666451454163, 0.7909244298934937, -0.16122542321681976, 0.4608568549156189, -0.7631944417953491, 0.02596299536526203, 0.07276776432991028, 0.25915876030921936, -0.12798425555229187, -0.46194565296173096, 0.15164095163345337, -0.5190397500991821, 0.7476606965065002, 0.06605380773544312, 0.21294201910495758, 0.25054776668548584, -0.4653710126876831, -0.24654531478881836, 0.2912605106830597, 0.4476853907108307, 0.7876185774803162, -0.33279675245285034, -0.008769601583480835, 0.3993269205093384, -0.2461695671081543, -0.020907150581479073, 0.11240678280591965, -0.091204933822155, 0.13525205850601196, 0.36916789412498474, 0.7823626399040222, 0.1639268398284912, -0.8351904153823853, 0.5338003635406494, -0.19145356118679047, -0.04319868981838226, -0.39290863275527954, 0.11588113754987717, 0.022710461169481277, 0.03417658433318138, 0.33062535524368286, -0.16456741094589233, 0.3429833948612213, -1.0338475704193115, 0.38747313618659973, 0.5722876191139221, -0.6626766324043274, -0.3002382814884186, 0.48041731119155884, 0.018326934427022934, -0.5749656558036804, 0.6353055238723755, -0.12058409303426743, -0.5182069540023804, 0.3203583359718323, 0.7887312173843384, 0.3965222239494324, -0.493405818939209, -0.08836662024259567, 0.36404967308044434, 0.21866482496261597, -0.18448643386363983, 0.2792051434516907, -0.10856490582227707, -0.9637957811355591, -0.6467640995979309, -0.7727271318435669, -0.30477017164230347, 0.21696148812770844, -0.7522382736206055, 0.07338055968284607, -0.12437207251787186, -0.11976485699415207, -0.3429887294769287, 0.23581372201442719, -0.5472044944763184, 0.19293059408664703, 0.03381834924221039, 0.9882434010505676, -0.49332883954048157, 1.147864818572998, 0.9099631905555725, -0.4556870460510254, -0.8362812399864197, -0.13583336770534515, -0.3610440492630005, -0.828254759311676, 0.7018022537231445, 0.32178667187690735, -0.11143308132886887, 0.07442297786474228, -0.5565270781517029, -1.1426146030426025, 0.8636090755462646, 0.49011483788490295, -0.5064019560813904, -0.2089262306690216, -0.2688576281070709, 0.7993249893188477, -0.19468407332897186, 0.39624232053756714, 0.7505466938018799, 0.38725435733795166, -0.19001077115535736, -0.8618056774139404, -0.16315831243991852, -0.3453693985939026, 0.24620506167411804, 0.2844914495944977, -0.4621056318283081, 0.9347197413444519, -0.17621690034866333, -0.2913276255130768, 0.3469623029232025, 0.5059158205986023, -0.002477611182257533, -0.0550314262509346, 0.4077056348323822, 0.4389171600341797, 0.7778111696243286, 0.04529961198568344, 1.644271969795227, -0.505894660949707, 0.3356556296348572, 1.1192177534103394, -0.3196299076080322, 1.057782769203186, 0.5435020327568054, -0.16064850986003876, 0.3082177937030792, 0.5093727111816406, 0.6685974597930908, 0.577017605304718, 0.3137982189655304, -0.22154970467090607, -0.20202799141407013, -0.25008150935173035, -0.551530122756958, 0.343313068151474, 0.3877469003200531, -0.16808833181858063, -0.033675361424684525, 0.14172929525375366, -0.19151605665683746, 0.2874703109264374, -0.08878927677869797, 0.616389811038971, 0.18617309629917145, -0.695661723613739, 0.6037046909332275, -0.061875343322753906, 0.44137418270111084, -0.5277659893035889, -0.04919765517115593, -0.26231199502944946, 0.24897688627243042, -0.05462285503745079, -0.36031338572502136, 0.5136145949363708, -0.14878898859024048, -0.16680094599723816, -0.3116198778152466, 0.8827447891235352, -0.5760676860809326, -0.39016193151474, 0.4569690525531769, 0.8820377588272095, 0.2913745939731598, -0.28493165969848633, -0.5686858892440796, -0.047563716769218445, -0.12030383199453354, -0.5092728137969971, 0.49138954281806946, 0.3126780688762665, -0.06740032136440277, 0.5555636286735535, 0.6030614376068115, 0.10580137372016907, 0.13954144716262817, 0.35677120089530945, 0.6162733435630798, -0.5937185883522034, -0.31523406505584717, -0.6809489727020264, 0.058443110436201096, -0.10421913862228394, -0.037487711757421494, 0.8516518473625183, 0.6108620166778564, 1.0424081087112427, 0.020460236817598343, 0.6862719058990479, -0.26206228137016296, 0.5981664061546326, -0.441192090511322, 0.6962122321128845, -0.9699017405509949, 0.3339902460575104, -0.2929702699184418, -0.971001386642456, -0.38205686211586, 0.9807723164558411, -0.5903851985931396, 0.16270190477371216, 0.5773016810417175, 0.89420086145401, -0.001411502598784864, -0.090669184923172, 0.5991942286491394, 0.046261221170425415, 0.22536492347717285, -0.014009288512170315, 1.1674543619155884, -0.3915463089942932, 0.42588895559310913, -0.12864886224269867, -0.07873068749904633, -0.2343916893005371, -0.6457082033157349, -0.6542183756828308, -0.6538034677505493, 0.1657155156135559, -0.04197920486330986, 0.26001545786857605, 0.705162763595581, 0.8319647312164307, -0.7511589527130127, -0.42744317650794983, -0.14505784213542938, 0.1757059544324875, 0.10337790846824646, -0.2607404887676239, 0.3070395886898041, -0.623997688293457, -0.7767966389656067, 0.4851442575454712, -0.057434577494859695, 0.009458254091441631, -0.07998373359441757, -0.14484591782093048, -0.4964256286621094, 0.19432730972766876, 0.9166355133056641, 0.05423448979854584, -0.5810834765434265, -0.5521878600120544, 0.21527259051799774, 0.06726764142513275, -0.03079225867986679, 1.0312190055847168, -0.9312489628791809, 0.6658943891525269, 0.6941616535186768, 0.584412157535553, 0.555057168006897, 0.036847930401563644, 0.9213243126869202, -0.9456371665000916, 0.4788364768028259, 0.11370304226875305, 0.4641910791397095, 0.3850058913230896, -0.26450932025909424, 0.5361960530281067, 0.12530618906021118, -0.41812634468078613, -0.9124978184700012, 0.22830738127231598, -0.3074204623699188, -0.5453036427497864, 0.9831203818321228, -0.0062805661000311375, -0.1620580554008484, 0.052362605929374695, -0.39110130071640015, 0.3924369513988495, -0.2687138319015503, 0.733676552772522, 0.9551628828048706, -0.18577395379543304, -0.12696868181228638, -0.9461228251457214, 0.5606350302696228, 0.6964902281761169, -0.4360138475894928, -0.022078417241573334, 0.5329695343971252, 0.23187255859375, 0.2484823316335678, 0.8640024662017822, -0.18820065259933472, 0.1510763168334961, -0.12862712144851685, 0.07098832726478577, 0.28046953678131104, -0.3886789083480835, -0.43307122588157654, -0.1323850303888321, 0.41015174984931946, 0.2631429433822632 ]
http://arxiv.org/abs/2404.10934v1
http://arxiv.org/pdf/2404.10934v1
Shears: Unstructured Sparsity with Neural Low-rank Adapter Search
2024-04-16T22:12:36
2024-04-16T22:12:36
J. Pablo Muñoz, Jinjie Yuan, Nilesh Jain
cs.LG
cs.LG, cs.AI, cs.CL
Recently, several approaches successfully demonstrated that weight-sharing Neural Architecture Search (NAS) can effectively explore a search space of elastic low-rank adapters (LoRA), allowing the parameter-efficient fine-tuning (PEFT) and compression of large language models. In this paper, we introduce a novel approach called Shears, demonstrating how the integration of cost-effective sparsity and a proposed Neural Low-rank adapter Search (NLS) algorithm can further improve the efficiency of PEFT approaches. Results demonstrate the benefits of Shears compared to other methods, reaching high sparsity levels while improving or with little drop in accuracy, utilizing a single GPU for a pair of hours.
[ -0.4022596776485443, -0.6334394216537476, 0.41776180267333984, 0.38604456186294556, -0.194793701171875, 0.08538229763507843, -0.14810606837272644, -0.1832270622253418, 0.6266270279884338, 0.14368776977062225, -0.36733415722846985, -0.16115041077136993, -0.6415050625801086, -0.06855334341526031, -0.43051838874816895, 0.7570717334747314, 0.2512401342391968, -0.09524323046207428, 0.2330392599105835, -0.2517452836036682, -0.001248513930477202, -0.3193442225456238, -0.8523141145706177, -0.11630542576313019, 0.4194590449333191, 0.24960343539714813, 1.116584300994873, 0.5959771871566772, 0.5030258893966675, 0.42677754163742065, -0.7997044324874878, 0.42096346616744995, -0.5529966354370117, -0.113922618329525, -0.19542096555233002, 0.0007670514169149101, -0.47034144401550293, -0.19819588959217072, 1.0387847423553467, 1.0921616554260254, -0.2872663140296936, 0.058275677263736725, 0.4985087811946869, 1.0731596946716309, -0.630237340927124, -0.558038055896759, -0.5657885670661926, 0.19245047867298126, -0.26705360412597656, -0.5458337664604187, -0.17036238312721252, -0.008509946055710316, 0.19227711856365204, -0.5387924313545227, 0.22815725207328796, -0.24274425208568573, 0.5708954334259033, 0.43319979310035706, -0.22603444755077362, 0.1380140483379364, -0.35667431354522705, 0.673639178276062, -0.7111573815345764, 0.6918452978134155, -0.10889668762683868, -0.07770069688558578, -0.46230849623680115, -0.6340159177780151, -0.07690903544425964, 0.17711564898490906, 0.009871200658380985, -0.1963132619857788, -0.31516698002815247, 0.07558704167604446, -0.05497673898935318, 0.46309179067611694, -0.30826157331466675, 0.23368079960346222, -0.5133681893348694, -0.035528093576431274, 0.47076019644737244, 0.012521013617515564, 0.2663160264492035, -0.06377111375331879, -0.415205180644989, -0.06995587050914764, -0.8231074213981628, 0.6052800416946411, 0.28823310136795044, 0.5878633856773376, -0.0849686861038208, 0.34469521045684814, -0.18191684782505035, 0.8547371029853821, 0.023212196305394173, 0.1710292100906372, -0.023060893639922142, 0.011235417798161507, -0.04780824854969978, -0.0940515547990799, 0.6135473847389221, 0.22876402735710144, -0.25344374775886536, -0.5216958522796631, -0.5165868997573853, -0.3007907271385193, 0.2296663522720337, -0.7903146147727966, -0.14537516236305237, -0.06285497546195984, -0.8334516286849976, -0.7582435607910156, -0.1492834836244583, -0.8738960027694702, -0.5017760992050171, -0.07441528141498566, 0.29721102118492126, -0.32241567969322205, -0.1853061020374298, 0.2619914412498474, -0.49092406034469604, 0.26697853207588196, 0.3209752142429352, -0.753444254398346, 0.9248733520507812, 0.6503864526748657, 1.3377745151519775, -0.33732378482818604, -0.3334052264690399, -1.1020913124084473, -0.19530999660491943, -0.45057258009910583, 1.0314316749572754, -0.39812740683555603, -0.31460967659950256, -0.19638940691947937, 0.03864063322544098, -0.09000502526760101, -0.3589809536933899, 0.5308597683906555, -0.3417060971260071, -0.2263154685497284, -0.019933516159653664, -0.15262044966220856, -0.1774534285068512, 0.12576086819171906, -0.6826750040054321, 1.4255928993225098, 0.33843547105789185, -0.33861082792282104, -0.08210794627666473, -0.9014183282852173, -0.4922800064086914, 0.1346122920513153, 0.08495272696018219, -0.13377317786216736, 0.587687611579895, 0.15428557991981506, 0.44378000497817993, -0.41350793838500977, 0.26003092527389526, -0.3278055787086487, -0.706693172454834, 0.18023128807544708, -0.5041571259498596, 0.5129261612892151, -0.05818300321698189, -0.3357478082180023, 0.01666668988764286, -0.6387331485748291, 0.09804533421993256, 0.10035164654254913, -0.513233482837677, -0.44351625442504883, 0.2746914327144623, 0.2574135661125183, 0.012119228020310402, 0.2116859406232834, -0.43676161766052246, 0.24751491844654083, -0.8037236928939819, 0.7238454222679138, 0.9783252477645874, -0.4628818929195404, 0.8084124326705933, -0.33829015493392944, 0.03631895035505295, -0.012907817959785461, 0.047071874141693115, 0.5185964703559875, -0.3299665153026581, -0.5955832600593567, -0.05598296970129013, 0.5018668174743652, 0.20113322138786316, -0.5917518734931946, 0.05596721172332764, -0.15849795937538147, -0.6974828243255615, -0.5816127061843872, 0.311710387468338, 0.4415365159511566, 0.3258591294288635, 0.46106696128845215, -0.3265305459499359, -0.4083004891872406, -0.8325446844100952, -0.46422991156578064, 0.32259151339530945, -0.16238395869731903, 0.5025235414505005, -0.1058080792427063, 0.001627061516046524, 0.5064507126808167, -0.6009039878845215, -0.4245610237121582, -0.10454478114843369, 0.12034837901592255, 0.5044084787368774, 0.5922173261642456, 0.9197571873664856, -0.8190937042236328, -0.281755656003952, -0.04379085823893547, -0.08883063495159149, 0.13817912340164185, 0.2183535397052765, -0.07086431235074997, 0.31815651059150696, 0.7477796673774719, -0.2106838971376419, 0.4355694651603699, 0.9104293584823608, -0.4704955220222473, 0.021240320056676865, -0.4116320013999939, -0.15477149188518524, -0.7441785335540771, 0.061175305396318436, 0.2777784764766693, -0.21466422080993652, -0.5331800580024719, -0.07473444938659668, -0.14587533473968506, -0.2424958199262619, -0.5630349516868591, 0.43206626176834106, -0.5458458065986633, -0.26264524459838867, -0.11632274091243744, 0.28923583030700684, -0.05841655284166336, 0.7624278664588928, -0.05806950479745865, 1.2324943542480469, 0.5324369668960571, -0.8191510438919067, -0.06096545606851578, -0.009644930250942707, -0.13557900488376617, 0.13162383437156677, -0.9263215065002441, 0.1833672672510147, -0.23965668678283691, -0.04528091102838516, -0.9624152183532715, 0.29277631640434265, -0.19176700711250305, -0.28395017981529236, 0.14338462054729462, -0.4804086685180664, 0.01866062544286251, -0.021686196327209473, -0.8390787243843079, 0.5581409931182861, 0.5404408574104309, -0.8312387466430664, 0.7648366689682007, 0.7998059988021851, -0.1931736320257187, -0.7147761583328247, -0.2986724376678467, -0.07474187761545181, 0.09747856110334396, -0.5728024244308472, 0.7593849897384644, -0.16407959163188934, 0.04118635505437851, 0.1594352275133133, -0.19497209787368774, -0.2792004644870758, 0.3880372643470764, 0.026794105768203735, 0.29632189869880676, -0.7092114686965942, -0.3135349154472351, 0.34096845984458923, 0.007169653661549091, -0.23832793533802032, -0.3117527663707733, 0.7792202830314636, -0.7002598643302917, 0.033194199204444885, -0.2582809329032898, 0.2452886551618576, 0.6581028699874878, 0.08967940509319305, 0.6429167985916138, 0.3855960965156555, -0.35851216316223145, -0.28339019417762756, -0.5357710123062134, 0.02670004963874817, -0.6408992409706116, 0.40629076957702637, -0.32875239849090576, -0.7900570631027222, 0.2281995713710785, -0.5809770822525024, -0.0424463227391243, 0.49916332960128784, 0.16295234858989716, -0.29204505681991577, 1.1306979656219482, 0.7112900018692017, -0.331498384475708, 0.3741644024848938, -0.31048518419265747, 0.07038488239049911, -1.1498005390167236, 0.022740663960576057, -0.6494405269622803, -0.9731403589248657, -0.6568937301635742, -0.4652014374732971, 0.5293047428131104, 0.16312812268733978, -0.1727009117603302, 0.3051092028617859, -1.048667311668396, 0.8860201835632324, 0.5469088554382324, 0.23184576630592346, 0.0045179277658462524, -0.04027646780014038, -0.07411234080791473, 0.12244037538766861, -0.9287203550338745, -0.1976843774318695, 0.7191756963729858, 0.2879117429256439, 0.5864266157150269, 0.4127167761325836, 0.35687318444252014, 0.2877500355243683, -0.06153237074613571, -0.954006016254425, 0.5148055553436279, -0.9063338041305542, 0.07656952738761902, -0.7144705653190613, -0.26368337869644165, -0.8701068162918091, 0.3183130621910095, -0.45849862694740295, -0.7325317859649658, 0.5482354164123535, 0.27975764870643616, -0.5505384206771851, 0.6162499785423279, -0.3654853403568268, 0.5353332757949829, -0.18945366144180298, -0.32602646946907043, -0.14243213832378387, -0.3566254675388336, -0.11098718643188477, 0.34417277574539185, 0.247083380818367, -0.04728393629193306, -0.22683747112751007, 0.9997798204421997, -0.33482131361961365, 0.7300959825515747, -0.28678008913993835, 0.2967435121536255, -0.06882809847593307, 0.30932024121284485, 0.616707980632782, 0.16359347105026245, -0.20055587589740753, 0.39918479323387146, 0.01242046058177948, -0.2681120038032532, -0.6531239748001099, 0.7944153547286987, -0.9168388247489929, -0.3650122284889221, -0.3024590015411377, -0.6554657220840454, -0.24526818096637726, 0.3636004626750946, 0.10543268918991089, 0.638330340385437, -0.41709333658218384, 0.500744640827179, 0.8023133277893066, -0.005363562610000372, 0.48449254035949707, 0.4690914750099182, 0.2095663845539093, -0.4744112491607666, 0.9793378710746765, 0.16906467080116272, -0.310604453086853, 0.3827609419822693, 0.43042200803756714, 0.03620387241244316, -0.7793840169906616, -0.5929666757583618, 0.1471947729587555, -0.10099923610687256, -0.6410028338432312, -0.38911113142967224, -0.6106060743331909, -0.32655230164527893, -0.6780479550361633, -0.8200254440307617, -0.6567809581756592, -0.27657753229141235, 0.26075297594070435, 0.4086964726448059, 0.9139827489852905, -0.17707130312919617, 0.4501771330833435, -0.8500592112541199, 0.281960666179657, -0.008812939748167992, 0.7777618169784546, 0.09792888164520264, -0.7798758149147034, -0.06375279277563095, 0.036784593015909195, -0.4296465516090393, -0.43896064162254333, 0.541341245174408, 0.3067753314971924, 0.4738403260707855, 0.35367900133132935, 0.008960885927081108, 0.8155612945556641, -0.6992366909980774, 0.5096600651741028, 0.18633970618247986, -1.1616170406341553, 0.22162199020385742, -0.14348144829273224, -0.10740160942077637, 0.6660451889038086, 0.31739160418510437, -0.5682714581489563, 0.16901953518390656, -0.4746776521205902, -1.0093181133270264, 0.8079487681388855, -0.022508369758725166, 0.011708063073456287, 0.27648061513900757, 0.31073102355003357, -0.21823439002037048, -0.3275500237941742, -0.30095186829566956, -0.0837242528796196, 0.09312944114208221, -0.07121787965297699, 0.03588744252920151, -0.5018886923789978, -0.2287125587463379, -0.45532673597335815, 0.9257405996322632, -0.3820074200630188, 0.17937271296977997, 0.3545818328857422, -0.011468993499875069, -0.21362784504890442, 0.20442740619182587, 0.6411572098731995, 0.07640894502401352, -0.18898022174835205, 0.13468314707279205, 0.5789508819580078, -0.4898327887058258, -0.021488310769200325, 0.03453093767166138, -0.19586260616779327, 0.09269130229949951, -0.25389498472213745, 0.8258534669876099, 0.8059380650520325, -0.4629735052585602, 0.6392490267753601, -0.143269345164299, -0.4773193299770355, -0.15330831706523895, -0.046881888061761856, 0.16355587542057037, 0.3375314772129059, 0.1828598976135254, 0.5043855905532837, 0.4296157956123352, -0.07562946528196335, 0.09938344359397888, 0.7698205709457397, -0.5097103118896484, -0.2388991415500641, 0.24907736480236053, 0.4277150630950928, -0.7673820853233337, 0.5405662655830383, 0.06661923229694366, -0.4194676876068115, 0.5450310707092285, 0.6186023950576782, 0.5666534304618835, -0.3528743386268616, 0.06025521829724312, 0.06316550076007843, 0.29716435074806213, -0.5405547022819519, 0.2093445360660553, -0.01944076083600521, -0.7330414056777954, -0.31120285391807556, -0.6096155047416687, -0.6028642058372498, 0.0929328054189682, -0.7049416303634644, 0.4858711361885071, -0.5615919828414917, 0.047418221831321716, 0.1172032579779625, -0.33270353078842163, -0.43538880348205566, -0.17039728164672852, -0.02364352159202099, 1.4386036396026611, -0.503871738910675, 0.44494614005088806, 0.7068522572517395, -0.00394165376201272, -0.8740681409835815, -0.24300503730773926, -0.10474661737680435, -0.8278887867927551, 0.5439759492874146, -0.13515034317970276, -0.5770180821418762, -0.020010247826576233, -0.42194271087646484, -1.335684061050415, 1.0218969583511353, 0.395389199256897, -0.3045675456523895, -0.4327566623687744, -0.06354855000972748, 0.1789124310016632, -0.0378422811627388, 0.03999960049986839, 0.5314720869064331, 0.18262426555156708, 0.050754643976688385, -0.9312111139297485, 0.061520595103502274, -0.5728005170822144, 0.15977171063423157, 0.5558575391769409, -0.7677744626998901, 1.1213687658309937, 0.1391618400812149, 0.12192771583795547, 0.156551793217659, 0.69788658618927, 0.004656173288822174, 0.11042861640453339, 0.7343273162841797, 0.4080694615840912, 0.7486122846603394, 0.12025441974401474, 0.6551473140716553, -0.5606764554977417, 0.2976495325565338, 0.6348036527633667, 0.0035543800331652164, 1.0385714769363403, 0.6219826936721802, -0.2187274694442749, 0.6283329725265503, 0.13175544142723083, 0.2791614830493927, 0.5809394121170044, 0.1558602750301361, -0.0542927160859108, -0.2624790668487549, -0.1486474722623825, -0.24137111008167267, 0.5025986433029175, 0.39736539125442505, -0.21730661392211914, -0.47367745637893677, -0.3140677809715271, -0.19652113318443298, 0.08043094724416733, -0.5500256419181824, 0.8661839365959167, 0.0193962249904871, -0.5414881110191345, 0.8483610153198242, 0.10481848567724228, 1.2107032537460327, -0.5714236497879028, -0.17493946850299835, -0.15272793173789978, 0.3288455903530121, -0.2946745455265045, -0.704143762588501, 0.5151934027671814, -0.1577705442905426, -0.2887892425060272, -0.1817874014377594, 1.0215636491775513, -0.07189308106899261, -0.5363821387290955, 0.35327473282814026, 0.5890034437179565, 0.1256237030029297, -0.1481858193874359, -0.5465338230133057, -0.041038863360881805, -0.45185908675193787, -0.4603692591190338, 0.7927295565605164, 0.4464280605316162, 0.20605146884918213, 0.4108046889305115, 0.8262737989425659, 0.37781819701194763, -0.24810774624347687, -0.2656962275505066, 1.371974229812622, -0.6881332397460938, -0.5380021929740906, -0.6675348281860352, 0.16111703217029572, -0.33052417635917664, -0.3641548156738281, 0.26770347356796265, 0.7372632622718811, 0.5733308792114258, 0.21666927635669708, 0.4841262400150299, 0.1091718077659607, 0.6413065791130066, -0.5753217935562134, 1.0128697156906128, -0.7723246812820435, 0.1597752869129181, -0.3220630884170532, -0.5239530801773071, -0.24974778294563293, 0.9334315061569214, -0.023488208651542664, -0.48942670226097107, 0.6314463019371033, 0.8887032270431519, -0.40159887075424194, -0.006153368856757879, 0.28296712040901184, 0.11352916061878204, -0.15413156151771545, 0.4430893063545227, 0.4534384310245514, -0.6293137669563293, 0.4726894497871399, -0.41610127687454224, -0.2825801372528076, -0.15506041049957275, -1.0094751119613647, -0.6622697114944458, -0.4978867471218109, 0.11656501144170761, -0.5102447271347046, 0.21004748344421387, 1.1413614749908447, 0.6454591751098633, -0.5585441589355469, -0.4293208718299866, -0.08815906941890717, 0.16117988526821136, -0.5035240054130554, -0.19575655460357666, 0.49308711290359497, -0.46070247888565063, -0.5807477235794067, 1.0064477920532227, 0.4007870554924011, -0.07417303323745728, 0.011897759512066841, -0.13263458013534546, -0.01976439729332924, 0.27785736322402954, 0.6104065179824829, 0.4013032913208008, -0.274453341960907, -0.13347679376602173, 0.3272808790206909, 0.08759669959545135, 0.18538494408130646, 1.0957248210906982, -0.9771038889884949, -0.4568900167942047, 0.4495166838169098, 0.9442111253738403, 0.1930834949016571, -0.0875699520111084, 0.537163496017456, -0.6030588150024414, 0.43818560242652893, 0.27714815735816956, 0.6181367635726929, 0.08231468498706818, -0.6542239189147949, 0.6834656596183777, 0.1257334202528, -0.4627465605735779, -1.086816430091858, -0.1696683019399643, -1.1262457370758057, -0.485218346118927, 1.1206086874008179, 0.26591789722442627, -0.5034842491149902, -0.15132269263267517, -0.18464478850364685, -0.1139761209487915, -0.4669479429721832, 0.764236330986023, 0.2635573446750641, -0.16594168543815613, 0.16091181337833405, -0.04512878134846687, 0.7184674143791199, 0.6203206777572632, -0.3779047131538391, 0.030705884099006653, 0.026185091584920883, 0.29293903708457947, 0.11956161260604858, 0.757099986076355, -0.05642154812812805, 0.2583391070365906, -0.1965571790933609, -0.26015186309814453, -0.24235662817955017, -0.39622727036476135, -0.4413309097290039, 0.27404099702835083, 0.15218505263328552, 0.0523737296462059 ]
http://arxiv.org/abs/2404.10933v1
http://arxiv.org/pdf/2404.10933v1
LLMem: Estimating GPU Memory Usage for Fine-Tuning Pre-Trained LLMs
2024-04-16T22:11:35
2024-04-16T22:11:35
Taeho Kim, Yanming Wang, Vatshank Chaturvedi, Lokesh Gupta, Seyeon Kim, Yongin Kwon, Sangtae Ha
cs.AI
cs.AI, cs.CL, cs.LG
Fine-tuning pre-trained large language models (LLMs) with limited hardware presents challenges due to GPU memory constraints. Various distributed fine-tuning methods have been proposed to alleviate memory constraints on GPU. However, determining the most effective method for achieving rapid fine-tuning while preventing GPU out-of-memory issues in a given environment remains unclear. To address this challenge, we introduce LLMem, a solution that estimates the GPU memory consumption when applying distributed fine-tuning methods across multiple GPUs and identifies the optimal method. We conduct GPU memory usage estimation prior to fine-tuning, leveraging the fundamental structure of transformer-based decoder models and the memory usage distribution of each method. Experimental results show that LLMem accurately estimates peak GPU memory usage on a single GPU, with error rates of up to 1.6%. Additionally, it shows an average error rate of 3.0% when applying distributed fine-tuning methods to LLMs with more than a billion parameters on multi-GPU setups.
[ -0.7147249579429626, -0.9600842595100403, 0.7728877663612366, 0.05996013432741165, -0.41603028774261475, -0.08281446993350983, -0.5820754766464233, 0.0593147948384285, -0.2098688781261444, 0.3184702694416046, -0.45674625039100647, -0.45722106099128723, -0.6700882911682129, -0.179128497838974, -0.11955752968788147, 0.41787368059158325, -0.18403615057468414, 0.05130816623568535, -0.5025174021720886, -0.14717338979244232, -0.5283902287483215, -0.18453679978847504, -0.5804247856140137, -0.3229486048221588, 0.44639483094215393, 0.6145970225334167, 0.5519272685050964, 0.7022994160652161, 0.5794668793678284, 0.2630741000175476, 0.08944349735975266, 0.6915464401245117, -0.6607941389083862, -0.09229884296655655, 0.13711704313755035, -0.45621296763420105, -0.5855514407157898, 0.03649277240037918, 0.829585075378418, 0.3390471935272217, -0.37972715497016907, 0.511850118637085, 0.1341962218284607, 0.24796611070632935, -0.9625498652458191, 0.16347205638885498, -0.7442404627799988, 0.10184868425130844, -0.3522661328315735, -0.4810250401496887, -0.32774412631988525, -0.1805042177438736, -0.4032069444656372, -0.7378178834915161, 0.278624027967453, -0.024872727692127228, 0.5975529551506042, 0.7388752698898315, 0.1518966108560562, 0.07364621013402939, -0.8420509099960327, 0.8328196406364441, -0.675968587398529, 0.48093506693840027, 0.38384881615638733, 0.3457562029361725, -0.27221646904945374, -0.5384685397148132, -0.43542933464050293, 0.12408174574375153, 0.030648300424218178, 0.14204995334148407, -0.248516246676445, 0.23023158311843872, 0.495346337556839, 0.4509313404560089, -0.3220817744731903, 0.26613324880599976, 0.01852009817957878, 0.05249396339058876, 0.36217859387397766, 0.3172496259212494, 0.334479957818985, 0.48436418175697327, -0.2090958058834076, 0.2428412288427353, -0.7878941297531128, -0.6186345815658569, 0.18731914460659027, 0.23917238414287567, 0.06301282346248627, 0.24190402030944824, 0.1763780117034912, 0.6896260976791382, 0.0004109694273211062, -0.29665058851242065, -0.13934318721294403, -0.1537213921546936, -0.5274040699005127, -0.17773893475532532, 0.6650608777999878, 0.2406991869211197, 0.2564481198787689, -0.14673489332199097, -0.2390061616897583, 0.04900434613227844, 0.2567724287509918, -1.081811547279358, -0.2673604488372803, -0.1626032590866089, -0.09363069385290146, 0.3075917959213257, -0.4353954493999481, -0.7285243272781372, -0.2929788827896118, -0.16377638280391693, 0.21192587912082672, 0.0819607600569725, -0.20859217643737793, 0.11539068073034286, 0.03780125081539154, 0.08545424789190292, 0.16259673237800598, -1.0928173065185547, 0.48400649428367615, 0.6186807751655579, 0.7080163359642029, -0.2535727024078369, -0.33808714151382446, -0.814128577709198, 0.24261468648910522, -0.10272176563739777, 0.7267016768455505, -0.5863401889801025, -0.4052566885948181, -0.2188190221786499, -0.08210733532905579, -0.2659604847431183, -0.8173048496246338, 0.41139382123947144, -0.3958404064178467, -0.321971595287323, -0.13876421749591827, -0.765404999256134, -0.020199421793222427, 0.26421862840652466, -0.6025336980819702, 1.1763808727264404, -0.059943266212940216, -0.6613504886627197, 0.24283528327941895, -0.18843255937099457, -0.23644034564495087, 0.23196567595005035, -0.27765825390815735, -0.559368371963501, 0.6084887385368347, 0.5381625294685364, 0.6771591901779175, -0.5309436917304993, 0.1533121019601822, -0.27523985505104065, -0.7328470349311829, -0.24319061636924744, -0.5680153965950012, 0.20724865794181824, 0.27118244767189026, -0.11910491436719894, 0.21837913990020752, -0.5368264317512512, -0.14946869015693665, 0.03509238362312317, -0.3636503517627716, -0.330405592918396, 0.19490507245063782, -0.16999675333499908, -0.276250422000885, 0.547335147857666, -0.4207783341407776, 0.14226025342941284, -0.037799008190631866, 0.42534002661705017, 0.7485960721969604, -0.3539508879184723, 0.3273296058177948, -0.13006722927093506, 0.44240042567253113, -0.11013362556695938, 0.367765337228775, -0.21255353093147278, -0.2484009861946106, -0.6429580450057983, -0.3118042051792145, -0.15435391664505005, 0.37715795636177063, -0.08745677024126053, 0.026797369122505188, -0.19698721170425415, -0.38217487931251526, -0.3448697328567505, 0.3613967001438141, 0.13792361319065094, 0.37793248891830444, 0.49921926856040955, 0.16893942654132843, -0.40042492747306824, -0.6721580028533936, -0.3476998209953308, 0.038784705102443695, 0.03707359358668327, 0.7500097155570984, 0.21043801307678223, -0.5603719353675842, 0.5204277634620667, -0.696058988571167, -0.18656928837299347, -0.1613732874393463, -0.1689235270023346, 0.14910905063152313, 0.3512938916683197, 0.2535720467567444, -0.1928768903017044, -0.48226791620254517, 0.0900360494852066, -0.3880048990249634, -0.011459228582680225, -0.2083197683095932, -0.010011185891926289, 0.05836612731218338, 0.6634176969528198, -0.6185684204101562, 0.19012923538684845, 0.7502345442771912, 0.20902101695537567, 0.4432702660560608, -0.8806379437446594, 0.013511409983038902, -0.8792611956596375, -0.1951078325510025, 0.17713820934295654, -0.3705544173717499, -0.09983670711517334, 0.1055355966091156, 0.250373899936676, -0.0027471843641251326, -0.249711275100708, 0.5148175358772278, -0.7093111276626587, -0.1255679428577423, -0.5034699440002441, 0.16878998279571533, -0.28171414136886597, 0.3599399924278259, -0.12209485471248627, 1.1676560640335083, 0.7631217241287231, -0.5768889784812927, 0.32555195689201355, -0.09647328406572342, -0.37048572301864624, 0.4343833029270172, -0.45345059037208557, 0.17862412333488464, -0.04625115171074867, -0.1319284588098526, -0.99718177318573, -0.08479347079992294, 0.0741625502705574, -0.016627613455057144, 0.41235628724098206, -0.25204363465309143, -0.5549827218055725, -0.24202218651771545, 0.2012360543012619, 0.5630775690078735, 0.5663050413131714, -0.8650162816047668, 0.75599604845047, 0.6006662845611572, 0.06379483640193939, -0.5026785731315613, -0.35568350553512573, -0.10819937288761139, -0.3064248263835907, -0.392397940158844, 0.21187898516654968, -0.15544480085372925, 0.017756644636392593, -0.1637888252735138, -0.3911556899547577, -0.11114126443862915, 0.1764237880706787, 0.3397664725780487, 0.08294357359409332, -0.3809789717197418, -0.007367146201431751, 0.04044019430875778, -0.32809948921203613, 0.07208482176065445, -0.17238056659698486, 0.6850766539573669, -0.2637150287628174, -0.4254913330078125, -0.2855324447154999, 0.21227672696113586, 0.429584264755249, -0.11893288046121597, 0.5658588409423828, 0.860013484954834, -0.4650833010673523, -0.37424084544181824, -0.8479771614074707, -0.13018307089805603, -0.49898457527160645, 0.6037741899490356, -0.31525933742523193, -0.8476368188858032, 0.7446683049201965, -0.5760100483894348, 0.006435451563447714, 0.2112085372209549, 0.5890113115310669, -0.19972312450408936, 0.9008241891860962, 0.7565494775772095, -0.29349470138549805, 0.4713036119937897, -0.11455745249986649, -0.04651128873229027, -0.6794517040252686, 0.03565286099910736, -0.24319198727607727, -0.5259978771209717, -0.47581955790519714, -0.7194611430168152, 0.1850169599056244, 0.26068878173828125, -0.26386532187461853, 0.13261494040489197, -0.3347793519496918, 0.977313756942749, 0.41951775550842285, 0.10006643831729889, 0.22974519431591034, 0.12963569164276123, -0.07248474657535553, 0.021926647052168846, -0.7360585331916809, -0.25954920053482056, 0.8752078413963318, 0.3125309348106384, 1.0718050003051758, -0.47828391194343567, 0.6081472635269165, -0.15962830185890198, 0.3844080865383148, -0.6923590302467346, 0.6078826785087585, -0.26149219274520874, -0.32718566060066223, -0.30340707302093506, -0.5489353537559509, -0.7357926964759827, 0.19348399341106415, 0.09509695321321487, -0.49364033341407776, -0.27371662855148315, 0.29281291365623474, -0.49366727471351624, 0.7776435613632202, -0.32574936747550964, 0.8529199361801147, -0.18649816513061523, -0.14354640245437622, -0.67563396692276, -0.177313894033432, 0.1847122758626938, -0.06030810624361038, -0.027941934764385223, -0.47986990213394165, -0.11592330038547516, 0.49998730421066284, -0.2435426115989685, 0.6159639358520508, -0.18922536075115204, -0.03253304958343506, 0.14429324865341187, -0.2390243113040924, 0.6776466965675354, 0.262513667345047, 0.14598219096660614, 0.48255500197410583, -0.1515253186225891, -0.39175307750701904, -0.3390694856643677, 1.0976817607879639, -0.9608369469642639, -0.6749349236488342, -0.14646270871162415, -0.7333271503448486, -0.22696827352046967, 0.2403639554977417, 0.2428160458803177, 0.18949997425079346, -0.3188454806804657, -0.06122623011469841, 0.9453652501106262, -0.42688611149787903, 0.680875837802887, 0.46950122714042664, 0.14703156054019928, -0.49461865425109863, 0.7008603811264038, -0.029542161151766777, 0.11187209188938141, 0.3089669942855835, 0.2322206348180771, -0.0937422662973404, -0.955713152885437, -0.5288817882537842, 0.35265931487083435, -0.49471864104270935, -0.20056670904159546, -0.3584001660346985, -0.15149812400341034, 0.15441739559173584, -0.02488049864768982, -0.7743590474128723, 0.17987188696861267, -0.6175952553749084, -0.02641790173947811, 0.3489071726799011, 0.33053648471832275, 0.0831824243068695, 0.9316834807395935, -0.8832756280899048, 0.42589449882507324, 0.163118377327919, 0.7571622133255005, -0.22158929705619812, -0.5470982193946838, -0.41200459003448486, 0.024256037548184395, -0.18929915130138397, -0.39191892743110657, 0.4937826991081238, 0.3060910105705261, 0.8717430830001831, 0.3612704575061798, -0.23672762513160706, 1.2064415216445923, -0.7119225263595581, 0.3448607921600342, 0.07586050778627396, -0.5387455224990845, 0.5417762994766235, -0.1933962106704712, 0.44611701369285583, 0.5019122958183289, 0.24209803342819214, -0.2918515205383301, -0.35696128010749817, -0.314238041639328, -0.6170695424079895, 0.5178666710853577, -0.23291127383708954, 0.37615251541137695, -0.24604924023151398, 0.4766184091567993, 0.057499758899211884, -0.20348070561885834, -0.17479965090751648, -0.5641275644302368, 0.30050382018089294, -0.09170296043157578, -0.48609933257102966, -0.35804682970046997, -0.09129100292921066, -0.5009893774986267, 0.511500895023346, -0.12295731902122498, 0.19169797003269196, -0.2804950475692749, -0.397510290145874, -0.3172849118709564, 0.07551201432943344, 0.7731555104255676, 0.8715246319770813, -0.26599088311195374, 0.288383811712265, 0.5811453461647034, -0.78705894947052, -0.06605510413646698, 0.1590067446231842, -0.05175381153821945, 0.1327488273382187, -0.4358048439025879, 0.9776297211647034, 0.169962078332901, -0.5305629372596741, 0.1902804672718048, -0.47359633445739746, -0.13197949528694153, -0.31252968311309814, 0.12260137498378754, 0.3984038531780243, 0.41988158226013184, 0.11616881191730499, 0.18959951400756836, -0.37448838353157043, 0.21982848644256592, 0.24195457994937897, 0.8300517201423645, -0.2546662986278534, -0.2198973298072815, 0.8477622866630554, 0.09099731594324112, -0.03736661747097969, 0.928138256072998, 0.08631335943937302, 0.03437059745192528, 0.4761011302471161, 0.6060194373130798, 0.9910720586776733, -0.34672626852989197, -0.1332024484872818, 0.5326103568077087, 0.22359958291053772, -0.43496638536453247, 0.19861926138401031, -0.07451380044221878, -0.8617376089096069, -0.6880283355712891, -0.76026850938797, -0.20589704811573029, 0.25835803151130676, -0.4773213267326355, 0.3346193730831146, -0.537086546421051, -0.43638256192207336, -0.2903144657611847, 0.1096569299697876, -0.7117205858230591, 0.02092025987803936, 0.5073981285095215, 0.8336209654808044, -0.7114054560661316, 1.145716905593872, 0.3716910779476166, 0.12412796914577484, -0.7487749457359314, -0.3417221009731293, -0.3654891550540924, -0.9855450987815857, 0.24888233840465546, 0.07514871656894684, -0.31884637475013733, 0.241024911403656, -0.2888619303703308, -0.7780646085739136, 0.9512699842453003, 0.8229880928993225, -0.946679413318634, 0.3227804899215698, 0.22789011895656586, 0.029195433482527733, -0.12559455633163452, 0.34229621291160583, 0.8385130763053894, 0.36147263646125793, 0.1049615815281868, -0.8077049851417542, 0.054986558854579926, -0.007125729229301214, -0.13341179490089417, 0.563042938709259, -0.5286599397659302, 0.817317008972168, -0.46795231103897095, -0.34685540199279785, -0.22331780195236206, 0.6504840850830078, 0.345451295375824, 0.055161118507385254, 0.42075344920158386, 0.8247944116592407, 1.0247206687927246, -0.09603556245565414, 0.7721145749092102, -0.5341691374778748, 0.4564712941646576, 1.18588125705719, 0.1502939909696579, 0.7426479458808899, 0.4947982132434845, -0.050010740756988525, -0.16651535034179688, 0.6534674763679504, -0.09745605289936066, 0.41545355319976807, 0.37834519147872925, -0.5032515525817871, -0.5947473645210266, 0.3034200966358185, -0.38547420501708984, 0.05402299761772156, 0.49188199639320374, -0.3231269419193268, -0.4395419657230377, 0.005757693666964769, -0.05405271053314209, -0.3660410940647125, -0.6237353086471558, 0.7003631591796875, 0.30856749415397644, -0.3995371162891388, 0.8597874045372009, -0.019885491579771042, 0.6998237371444702, -0.22265735268592834, 0.2627354562282562, -0.6010864973068237, 0.7440739870071411, -0.06227957829833031, -0.35373741388320923, 0.2909184992313385, -0.12149880081415176, -0.21571038663387299, -0.2860316038131714, 0.6305819749832153, -0.581633448600769, -0.5509601831436157, 0.12924233078956604, 0.5011867880821228, 0.2887503206729889, -0.39868828654289246, -0.4101383686065674, 0.20539027452468872, -0.32489311695098877, -0.12331446260213852, 0.6805136203765869, 0.15933500230312347, 0.22578054666519165, 0.757648766040802, 0.3082146942615509, 0.20333275198936462, 0.45557209849357605, 0.17183032631874084, 0.7614391446113586, -0.4271487295627594, -0.20576852560043335, -1.3557538986206055, 0.0867161974310875, 0.24072906374931335, -0.11555849015712738, 1.0010907649993896, 0.7997464537620544, 0.8475882411003113, -0.0817328616976738, 0.7121449708938599, 0.522712767124176, -0.05710224434733391, -0.16002488136291504, 0.5529341697692871, -0.5588268041610718, 0.3554992377758026, -0.06610453873872757, -1.1242560148239136, -0.4014178216457367, 0.5595857501029968, -0.2790447175502777, -0.19484367966651917, 0.36367982625961304, 0.885681688785553, -0.5269097089767456, 0.08430854231119156, 0.49317023158073425, 0.03426764905452728, 0.08277436345815659, 0.7182034254074097, 0.7978013753890991, -0.3473588526248932, 0.4741384983062744, -0.1409209966659546, -0.1383274644613266, -0.16689245402812958, -0.9314371943473816, -0.8486258387565613, -0.008976414799690247, -0.5112500786781311, 0.10724937915802002, -0.1077774167060852, 0.5253887176513672, 0.7730944156646729, -0.7676635384559631, -0.4915817081928253, -0.20032358169555664, 0.07779835909605026, -0.37720879912376404, 0.012978165410459042, 0.3142433762550354, -0.5964289903640747, -0.7866941690444946, 0.3473018407821655, 0.2554556727409363, -0.11643607169389725, -0.19409039616584778, -0.24688343703746796, 0.2685709595680237, 0.1553783267736435, 0.5006392002105713, 0.15799830853939056, -0.5682339072227478, -0.12425686419010162, 0.08068245649337769, -0.09015548974275589, 0.3672915995121002, 0.7353518605232239, -0.4842674136161804, 0.3363598585128784, 0.5241387486457825, 0.8775415420532227, 0.9861854910850525, -0.05157029256224632, 0.36938080191612244, -0.80894535779953, 0.03786708042025566, 0.017796335741877556, 0.4402191638946533, -0.05033411085605621, -0.20304720103740692, 0.05595032498240471, 0.1415330022573471, -0.728028416633606, -0.7541073560714722, -0.0934218168258667, -0.8677672743797302, -0.20937541127204895, 0.9693996906280518, -0.16329456865787506, -0.17125709354877472, 0.1867130547761917, 0.028046268969774246, 0.3871672451496124, -0.07875804603099823, 0.52458256483078, 0.5125612616539001, -0.10657297074794769, -0.6535338759422302, -0.8899502754211426, 0.5229323506355286, 0.1258390247821808, -0.7697187066078186, 0.43432480096817017, 0.46255984902381897, 0.43153661489486694, -0.3173582851886749, 0.5649484395980835, 0.21094059944152832, -0.09906928241252899, 0.02585645020008087, 0.004970346111804247, -0.1675383746623993, -0.4242606461048126, -0.10384801030158997, 0.0948522686958313, -0.16524538397789001, -0.42519518733024597 ]
http://arxiv.org/abs/2404.10924v1
http://arxiv.org/pdf/2404.10924v1
Binder: Hierarchical Concept Representation through Order Embedding of Binary Vectors
2024-04-16T21:52:55
2024-04-16T21:52:55
Croix Gyurek, Niloy Talukder, Mohammad Al Hasan
cs.CL
cs.CL, cs.AI
For natural language understanding and generation, embedding concepts using an order-based representation is an essential task. Unlike traditional point vector based representation, an order-based representation imposes geometric constraints on the representation vectors for explicitly capturing various semantic relationships that may exist between a pair of concepts. In existing literature, several approaches on order-based embedding have been proposed, mostly focusing on capturing hierarchical relationships; examples include vectors in Euclidean space, complex, Hyperbolic, order, and Box Embedding. Box embedding creates region-based rich representation of concepts, but along the process it sacrifices simplicity, requiring a custom-made optimization scheme for learning the representation. Hyperbolic embedding improves embedding quality by exploiting the ever-expanding property of Hyperbolic space, but it also suffers from the same fate as box embedding as gradient descent like optimization is not simple in the Hyperbolic space. In this work, we propose Binder, a novel approach for order-based representation. Binder uses binary vectors for embedding, so the embedding vectors are compact with an order of magnitude smaller footprint than other methods. Binder uses a simple and efficient optimization scheme for learning representation vectors with a linear time complexity. Our comprehensive experimental results show that Binder is very accurate, yielding competitive results on the representation task. But Binder stands out from its competitors on the transitive closure link prediction task as it can learn concept embeddings just from the direct edges, whereas all existing order-based approaches rely on the indirect edges.
[ -0.44370806217193604, -0.6994384527206421, 0.26184770464897156, -0.05421464517712593, -0.36989733576774597, 0.2770484387874603, 0.055468324571847916, -0.2334800809621811, 0.5463735461235046, 0.19019636511802673, -0.28355658054351807, -0.5136423110961914, -0.7513779997825623, -0.21652500331401825, -0.004434730391949415, 0.7754644751548767, 0.1344432681798935, -0.0012987229274585843, -0.2848098874092102, -0.18573158979415894, -0.458322674036026, -0.6025344729423523, -0.21005159616470337, -0.5330555438995361, 0.25020867586135864, 0.1723819226026535, 1.1035312414169312, 1.2783278226852417, 0.4919300377368927, 0.33130377531051636, -0.1712118238210678, -0.12053989619016647, -0.7714945077896118, 0.11583753675222397, -0.22674186527729034, -0.40641701221466064, -0.2051200568675995, -0.07227672636508942, 0.570207417011261, 0.8660984635353088, -0.3665942847728729, 0.04911022260785103, -0.26226815581321716, 0.602368950843811, -0.8192263841629028, 0.2948664128780365, -0.5529347062110901, 0.3204841613769531, -0.09623691439628601, -0.31262457370758057, -0.37182581424713135, -0.4257434606552124, 0.3898645043373108, -0.6983466744422913, 0.24061760306358337, 0.5063339471817017, 0.8901665806770325, 0.3558560013771057, -0.2144494205713272, -0.4174945652484894, -0.7734681367874146, 0.6762080192565918, -0.09988778829574585, 0.8289062976837158, 0.1196044310927391, 0.4105292856693268, -0.31628715991973877, -0.7312780618667603, -0.4455642104148865, 0.37885501980781555, 0.014862465672194958, 0.2252066284418106, -0.12133591622114182, 0.04310724884271622, 0.047516778111457825, 0.41209539771080017, -0.4037899672985077, 0.050747811794281006, -0.39520972967147827, -0.025339558720588684, 0.31127938628196716, -0.004925900604575872, 0.2365618646144867, -0.4989665150642395, -0.5553577542304993, -0.3824208080768585, -0.5733564496040344, 0.09320627152919769, 0.20609396696090698, 0.26023048162460327, -0.04632540047168732, 0.5619097948074341, 0.19636590778827667, 0.5257964134216309, 0.4744870662689209, -0.11307080835103989, 0.19418536126613617, 0.17010733485221863, -0.2683693766593933, 0.3098197877407074, 0.7784346342086792, 0.2654794752597809, -0.17159101366996765, -0.408050537109375, -0.12071143090724945, 0.09011559933423996, 0.2498488426208496, -0.9566441774368286, -0.166533961892128, 0.18951399624347687, -0.40724578499794006, -0.22911417484283447, 0.4200943410396576, -0.6801502108573914, -0.16524291038513184, -0.2586820721626282, 0.09270727634429932, -0.32596251368522644, 0.14438112080097198, 0.20686495304107666, 0.01953745074570179, 0.6061075329780579, 0.15563412010669708, -0.97055983543396, 0.6969542503356934, 0.8428254127502441, 0.8155038356781006, -0.1608722060918808, 0.15368321537971497, -0.6325370073318481, 0.5134671330451965, -0.5259782075881958, 0.8022357821464539, -0.7906102538108826, -0.4541577994823456, -0.022102735936641693, -0.33615344762802124, 0.2553526759147644, -0.4248047471046448, 0.42252489924430847, -0.756418764591217, 0.3276773691177368, 0.010304252617061138, -0.7429099678993225, -0.11615228652954102, 0.010679399594664574, -0.6197292804718018, 0.9309894442558289, -0.13987022638320923, -0.8436675071716309, 0.3425692319869995, -0.2899562418460846, -0.19361473619937897, 0.35554391145706177, -0.6268295645713806, -0.5059379935264587, 0.12531410157680511, 0.09773935377597809, 0.6451421976089478, -0.2993413209915161, 0.13626563549041748, -0.12230844050645828, -0.2671447992324829, -0.1682576984167099, 0.20939750969409943, 0.2132600098848343, -0.08497235924005508, -0.27363067865371704, -0.0374608039855957, -0.6620303392410278, 0.04044175520539284, 0.2159200757741928, -0.23045948147773743, -0.4980406165122986, 0.13654370605945587, -0.13478951156139374, 0.1713862419128418, 0.2244143933057785, -0.5900543332099915, 0.21283847093582153, -0.8284751772880554, 0.15904399752616882, 0.8271602392196655, 0.14996474981307983, 0.8794940114021301, -0.10578471422195435, 0.5042518973350525, 0.030850963667035103, -0.009693056344985962, 0.31204167008399963, -0.6419316530227661, -0.6358909010887146, -0.0041054049506783485, 0.48835012316703796, 0.44940027594566345, -0.6501107215881348, 0.6127652525901794, -0.5482907295227051, -0.4432544410228729, -0.3969069719314575, -0.041652534157037735, 0.4753361642360687, -0.03646761178970337, 0.2617585361003876, -0.4635094702243805, -0.28030169010162354, -0.775361955165863, 0.0995861291885376, -0.229391410946846, 0.17448653280735016, 0.0617389902472496, 0.4860154688358307, -0.33665037155151367, 0.9059974551200867, -0.9534158110618591, -0.2966182827949524, -0.03608324006199837, 0.14237678050994873, 0.27621740102767944, 0.40130412578582764, 0.36112868785858154, -1.017401099205017, -0.21653743088245392, 0.17670567333698273, -0.3782273828983307, 0.5259350538253784, 0.06283911317586899, -0.49967706203460693, -0.03877755627036095, 0.5497809648513794, -0.2933875024318695, 0.3838564157485962, 0.40936920046806335, -0.1902392953634262, 0.15873272716999054, -0.38935184478759766, -0.3923587501049042, -1.1281661987304688, -0.34985607862472534, -0.11613460630178452, -0.29021063446998596, -0.4697982966899872, -0.008601145818829536, -0.13475681841373444, -0.35967832803726196, -0.21725919842720032, 0.2826029062271118, -0.5609825849533081, 0.04861729219555855, 0.0031813415698707104, 0.19870567321777344, -0.12026182562112808, 0.6200432181358337, 0.04526437446475029, 0.27129918336868286, 0.4911842346191406, -0.5031525492668152, 0.17705421149730682, 0.6256115436553955, 0.010748549364507198, 0.5027576684951782, -0.9714850783348083, 0.26744210720062256, -0.5751039385795593, 0.017983367666602135, -0.7960457801818848, 0.006487962324172258, 0.4678473472595215, -0.361714243888855, 0.474153071641922, -0.38560640811920166, -0.6470175385475159, -0.33899328112602234, -0.415572851896286, 0.30994242429733276, 0.5158838033676147, -0.5110693573951721, 0.6116889119148254, 0.556084394454956, -0.02509346976876259, -0.6244083046913147, -0.4325695335865021, -0.2473028302192688, 0.06339849531650543, -0.2697984278202057, 0.6737506985664368, -0.09494230896234512, 0.14748750627040863, 0.1681412309408188, -0.35581597685813904, -0.033244166523218155, -0.2648046314716339, 0.3285086452960968, 0.03257248178124428, -0.19669751822948456, 0.29121455550193787, 0.2303253412246704, -0.34822940826416016, 0.061540983617305756, -0.5419167876243591, 0.3380392789840698, -0.03842400386929512, -0.30632269382476807, 0.009927117265760899, 0.38176050782203674, 0.5894680619239807, -0.2414870709180832, 0.8401193022727966, 0.3670822083950043, -0.6251305341720581, -0.38085031509399414, -0.3975510597229004, 0.06010642275214195, -0.5037155151367188, 0.12162254005670547, -0.6115832328796387, -0.622556746006012, 0.29218533635139465, -0.23425380885601044, 0.06063086912035942, 0.27196910977363586, 0.4954558312892914, 0.04971752688288689, 0.7417719960212708, 0.921671450138092, 0.0036801034584641457, 0.49566900730133057, -0.6930391192436218, 0.4886976480484009, -0.6385790109634399, -0.47057828307151794, -0.4054175317287445, -0.30971240997314453, -0.9301593899726868, -0.7404311299324036, 0.24222101271152496, 0.37144041061401367, -0.2613585591316223, 0.40881043672561646, -0.8679670095443726, 0.5800472497940063, 0.4497547447681427, 0.1337132453918457, 0.1692202389240265, 0.2323482483625412, -0.5108324289321899, -0.11056939512491226, -0.8980756402015686, -0.5939039587974548, 0.6637958884239197, 0.28530290722846985, 0.7902302145957947, 0.24899253249168396, 1.1030925512313843, -0.03394220396876335, -0.041500456631183624, -1.247619867324829, 0.2786540687084198, -0.10328169167041779, -0.12256713211536407, -0.2108253836631775, -0.28890103101730347, -1.2192388772964478, 0.3357032835483551, -0.3879081904888153, -0.6782564520835876, 0.5548402667045593, -0.07520473748445511, -0.21940183639526367, 0.35124847292900085, -0.5909451842308044, 0.6329466700553894, 0.05753765627741814, -0.34136056900024414, 0.05524585768580437, -0.8006566166877747, -0.15232031047344208, 0.17532581090927124, 0.32054510712623596, 0.17099182307720184, -0.10835620015859604, 1.0569357872009277, -0.6330242156982422, 0.7045809030532837, 0.07660343497991562, -0.031129248440265656, 0.2148503214120865, 0.28720876574516296, 0.5122768878936768, -0.1355474442243576, -0.013425815850496292, -0.30390799045562744, -0.07802972942590714, -0.49659642577171326, -1.0653148889541626, 0.474907785654068, -0.9413254857063293, -0.5936568975448608, -0.6325321197509766, -0.3927764892578125, -0.056453555822372437, 0.35815712809562683, 0.2745034098625183, 0.9313040971755981, -0.1875467747449875, 0.06193775311112404, 0.6206662058830261, -0.07889696210622787, 0.189694344997406, -0.08855459094047546, -0.05966039001941681, -0.701546311378479, 1.0535705089569092, 0.2680700123310089, 0.04032675176858902, 1.0236761569976807, 0.47836002707481384, -0.42355218529701233, -0.582980215549469, -0.2020321935415268, 0.5204393267631531, -0.8789357542991638, -0.28463929891586304, -0.7089971899986267, -0.05468979850411415, -0.22519436478614807, -0.4332573711872101, -0.4155491590499878, -0.5120583176612854, -0.13965585827827454, -0.16348545253276825, 0.3754277527332306, 1.2943446636199951, 0.02279886044561863, 0.26747339963912964, -0.5732319355010986, 0.5963166356086731, 0.260087251663208, 0.5631601810455322, 0.07823003828525543, -0.04703215882182121, -0.25290149450302124, -0.24410513043403625, -0.6441659331321716, -0.8038884401321411, 0.21382591128349304, 0.08989656716585159, 0.5205504894256592, 0.5588606595993042, 0.22088754177093506, 0.8557651042938232, -0.8679175972938538, 0.40202054381370544, 0.40201330184936523, -0.9949924349784851, 0.6670212745666504, -0.09941733628511429, 0.009553601033985615, 0.16054528951644897, 0.628272533416748, -0.313323438167572, -0.3554873764514923, -0.896693229675293, -0.8139449954032898, 0.4158134460449219, 0.45708799362182617, 0.05875343084335327, -0.140763059258461, 0.3284463882446289, -0.0007214632350951433, 0.13876987993717194, -0.30183231830596924, -0.7538338303565979, -0.2836003601551056, -0.08323238044977188, 0.02471848390996456, -0.2036322057247162, 0.1938665509223938, -0.3269078731536865, 0.3729463815689087, 0.009756652638316154, 0.6563884615898132, 0.243733748793602, -0.07779587060213089, -0.06266539543867111, 0.2510853111743927, 0.2849161624908447, 0.6123825907707214, -0.26414138078689575, 0.17993506789207458, -0.14960318803787231, -0.4591209292411804, 0.24335244297981262, 0.14459191262722015, -0.0536222904920578, 0.19678744673728943, 0.24045541882514954, 0.740985631942749, 0.4519782066345215, -0.0883903056383133, 0.6070706248283386, 0.07267159968614578, 0.1251286268234253, 0.007400656584650278, -0.3743167519569397, 0.0771978348493576, 0.08430769294500351, 0.14904868602752686, 0.09998452663421631, 0.31355464458465576, -0.459084689617157, 0.3578587472438812, 0.18385612964630127, -0.548254668712616, -0.27984827756881714, 0.733738124370575, 0.08644301444292068, -0.30276644229888916, 0.1881837695837021, -0.4920062720775604, -0.7112493515014648, 0.2928081452846527, 0.6314412355422974, 0.6593945026397705, -0.1461223065853119, 0.3541935682296753, 0.36265748739242554, 0.058096740394830704, 0.012736805714666843, 0.27116715908050537, -0.16687680780887604, -0.768261194229126, -0.2290426790714264, -0.6436530947685242, -0.7228298187255859, -0.4884342551231384, -0.802651047706604, 0.3366784453392029, -0.7840756773948669, -0.17749905586242676, -0.09267758578062057, 0.12174388766288757, -0.7585976719856262, -0.05164438113570213, 0.045392513275146484, 0.5972121357917786, -0.4175208508968353, 0.4157022535800934, 0.9349784851074219, -0.3271750509738922, -0.6763330698013306, -0.04518333449959755, -0.16120319068431854, -0.5226808190345764, 0.815409779548645, 0.12153743952512741, -0.2851301431655884, 0.14698798954486847, -0.2822635769844055, -0.809343159198761, 1.045862078666687, 0.25734004378318787, -0.3684549927711487, -0.3019586205482483, -0.0015338310040533543, 0.4752030372619629, -0.41404810547828674, 0.08286568522453308, 0.14459902048110962, 0.051142171025276184, 0.46394455432891846, -0.429513156414032, 0.24855200946331024, -0.23080052435398102, 0.5428154468536377, 0.45766714215278625, -0.3163524568080902, 0.3978999853134155, -0.18437913060188293, -0.5740575790405273, -0.14819389581680298, 0.9832874536514282, 0.18089677393436432, -0.21934391558170319, 0.245173841714859, 0.710328996181488, 0.9673470854759216, 0.019090715795755386, 1.2327316999435425, -0.20084133744239807, 0.5461128354072571, 0.9600939154624939, 0.04616425931453705, 0.9451964497566223, 0.43870142102241516, -0.034301307052373886, 0.9011021852493286, 0.361429899930954, 0.1204388216137886, 0.679831862449646, 0.605764627456665, 0.14844433963298798, -0.008459950797259808, -0.29661065340042114, -0.3540829122066498, 0.2416132390499115, 0.5022113919258118, 0.03102114610373974, -0.24775128066539764, -0.07095365971326828, -0.1177620068192482, 0.18304967880249023, -0.1573837399482727, 0.9512782692909241, 0.1695232391357422, -0.08183035999536514, 0.7928767204284668, -0.0995233878493309, 0.6617217659950256, -0.2666032612323761, -0.26983872056007385, 0.27019059658050537, 0.10039589554071426, -0.046832650899887085, -0.6109859943389893, 0.06561070680618286, -0.44087859988212585, -0.23062799870967865, -0.4175195097923279, 0.4917595088481903, -0.3633548617362976, -0.5944281220436096, 0.43256062269210815, 0.6148563623428345, 0.06848527491092682, 0.4971262812614441, -0.6316079497337341, 0.03820774704217911, -0.5597503185272217, -0.11312872916460037, -0.20776498317718506, 0.7767357230186462, 0.14397402107715607, 0.605451226234436, 0.41895878314971924, 0.18735016882419586, 0.14813655614852905, -0.04344220459461212, 0.8064584136009216, -0.659330427646637, -0.7566893696784973, -0.5226396918296814, 0.2078656256198883, -0.00693298177793622, 0.0005178721621632576, 0.28048935532569885, 0.5724135637283325, 0.8926511406898499, -0.049596384167671204, 0.5313363075256348, -0.06249309703707695, 0.07683172821998596, -0.4516313076019287, 0.4598102867603302, -0.24129271507263184, -0.13145506381988525, -0.4553678035736084, -1.010416030883789, -0.6138003468513489, 0.7707479596138, -0.3920319378376007, -0.2606194317340851, 0.9161593914031982, 0.6090941429138184, -0.36745259165763855, -0.11649313569068909, 0.49092382192611694, 0.10871714353561401, 0.31067708134651184, 0.5171226859092712, 0.5678370594978333, -0.8415495753288269, 0.42779871821403503, -0.4426533579826355, -0.19699028134346008, 0.015829330310225487, -0.6995071172714233, -1.1523444652557373, -0.7384308576583862, -0.49942561984062195, -0.28457844257354736, 0.05284208431839943, 1.32156503200531, 0.7668749690055847, -0.8288450837135315, -0.29884323477745056, -0.026505043730139732, 0.5156002044677734, -0.06646018475294113, -0.21564938127994537, 0.6748671531677246, -0.2335638850927353, -0.7560474872589111, -0.12688077986240387, 0.284097284078598, 0.35287317633628845, 0.03238300979137421, -0.07141157984733582, -0.13704046607017517, -0.02623278833925724, 0.773341715335846, 0.09903112798929214, -0.7587491273880005, -0.3719741702079773, -0.07547468692064285, -0.044377271085977554, 0.35292303562164307, 0.8680576682090759, -0.8514347076416016, 0.5572459697723389, 0.7254316806793213, 0.9285777807235718, 0.4558088779449463, -0.025552142411470413, 0.8231698870658875, -0.7320298552513123, 0.07394125312566757, 0.03928963094949722, 0.4996843934059143, 0.2454223930835724, -0.42607882618904114, 0.23188920319080353, 0.23329612612724304, -0.08360231667757034, -0.42971694469451904, 0.3903074264526367, -1.162439227104187, -0.0007114554173313081, 0.843000590801239, 0.09125007688999176, -0.4309196472167969, -0.18195195496082306, -0.10258696973323822, 0.34069889783859253, -0.6433911919593811, 0.3823583424091339, 0.4576469361782074, 0.05741531401872635, -0.03992431238293648, -0.1156744584441185, 0.2813597023487091, 0.04648144915699959, -0.4372929632663727, -0.24686726927757263, 0.07753098756074905, -0.10841405391693115, 0.6209592223167419, 0.2669003903865814, -0.23198768496513367, 0.03903394937515259, -0.338547945022583, -0.11945796757936478, 0.12859795987606049, -0.29294541478157043, -0.11876845359802246, 0.39115259051322937, -0.07596177607774734, -0.3820100426673889 ]
http://arxiv.org/abs/2404.10922v1
http://arxiv.org/pdf/2404.10922v1
Teaching a Multilingual Large Language Model to Understand Multilingual Speech via Multi-Instructional Training
2024-04-16T21:45:59
2024-04-16T21:45:59
Pavel Denisov, Ngoc Thang Vu
cs.CL
cs.CL, cs.SD, eess.AS
Recent advancements in language modeling have led to the emergence of Large Language Models (LLMs) capable of various natural language processing tasks. Despite their success in text-based tasks, applying LLMs to the speech domain remains limited and challenging. This paper presents BLOOMZMMS, a novel model that integrates a multilingual LLM with a multilingual speech encoder, aiming to harness the capabilities of LLMs for speech recognition and beyond. Utilizing a multi-instructional training approach, we demonstrate the transferability of linguistic knowledge from the text to the speech modality. Our experiments, conducted on 1900 hours of transcribed data from 139 languages, establish that a multilingual speech representation can be effectively learned and aligned with a multilingual LLM. While this learned representation initially shows limitations in task generalization, we address this issue by generating synthetic targets in a multi-instructional style. Our zero-shot evaluation results confirm the robustness of our approach across multiple tasks, including speech translation and multilingual spoken language understanding, thereby opening new avenues for applying LLMs in the speech domain.
[ -0.13618142902851105, -0.6602904200553894, 0.4579378664493561, 0.2159675508737564, -0.08224257826805115, 0.2727281451225281, -0.6742632389068604, -0.1737791746854782, 0.11038906127214432, 0.3542894721031189, -0.751995861530304, -0.46691593527793884, -0.5323148369789124, -0.06637764722108841, -0.30043742060661316, 1.0501400232315063, 0.09030663222074509, 0.4503082036972046, 0.06815867871046066, 0.19375374913215637, -0.4614565074443817, -0.6746789813041687, -0.3423694968223572, -0.4906744360923767, 0.6209311485290527, 0.4935518205165863, 0.28286492824554443, 0.28715819120407104, 0.22786739468574524, 0.23831641674041748, 0.06484180688858032, 0.21326753497123718, -0.4868645966053009, 0.05919080600142479, -0.04016897454857826, -0.5552121996879578, -0.13381294906139374, -0.3403933048248291, 1.0294679403305054, 0.8559279441833496, -0.38850659132003784, 0.15092334151268005, 0.07103270292282104, 0.23508338630199432, -0.6444291472434998, 0.21550129354000092, -0.7611719965934753, 0.3312319219112396, -0.3484659194946289, -0.11293363571166992, -0.6985746622085571, 0.07322326302528381, 0.007547745015472174, -0.3577663004398346, 0.16268792748451233, -0.5014041662216187, 0.22635093331336975, -0.07122542709112167, -0.3784099221229553, -0.19969262182712555, -1.0666145086288452, 0.878959059715271, -0.6498244404792786, 0.7691466808319092, 0.10347267240285873, 0.5145427584648132, 0.12373075634241104, -0.33969423174858093, -0.5227792263031006, -0.17387284338474274, 0.3609431982040405, 0.16638699173927307, 0.04397992417216301, -0.16992174088954926, 0.021695544943213463, 0.31138846278190613, -0.6513049006462097, 0.26450875401496887, -0.2645057439804077, -0.1972280591726303, 0.43496936559677124, 0.08146071434020996, 0.39127856492996216, 0.13480672240257263, -0.5066145658493042, -0.0056200711987912655, -0.49889808893203735, -0.1802637130022049, 0.17845746874809265, 0.8803955316543579, -0.2762485146522522, 0.4740164875984192, 0.23192521929740906, 0.6837178468704224, -0.3180365562438965, -0.4459676742553711, 0.35899507999420166, -0.17326995730400085, -0.1409730166196823, 0.04560069367289543, 0.6211036443710327, -0.1934015154838562, 0.33333200216293335, -0.5105312466621399, 0.07996759563684464, -0.1197592243552208, 0.28888264298439026, -0.6523057222366333, 0.24614687263965607, -0.13350942730903625, -0.04216533899307251, 0.20381416380405426, 0.006555110681802034, -0.743643045425415, -0.05526050180196762, -0.358962744474411, 0.5482116937637329, -0.6059268712997437, -0.32823243737220764, 0.308960884809494, 0.06308086216449738, 0.35147514939308167, 0.11059752851724625, -1.1872152090072632, 0.1762412041425705, 0.5318741798400879, 1.0038397312164307, -0.18825805187225342, -0.7184884548187256, -0.5657452940940857, 0.6219846606254578, -0.4058239758014679, 0.5342139601707458, -0.5127038359642029, -0.42007309198379517, 0.39871102571487427, 0.0015804829308763146, -0.4860060513019562, -0.3343013823032379, 0.3537786900997162, -0.3941175043582916, -0.01261255145072937, 0.03726895526051521, -0.5888567566871643, -0.24492205679416656, 0.3294748365879059, -0.28451618552207947, 0.6919412016868591, -0.04087340831756592, -0.3287643790245056, -0.0039133913815021515, -0.6613548994064331, -0.614020586013794, 0.14468766748905182, -0.17163489758968353, -0.2789228856563568, 0.012815804220736027, 0.1219116672873497, 0.44087398052215576, 0.16648884117603302, 0.0839090645313263, -0.056787360459566116, -0.24109072983264923, 0.27630460262298584, -0.7288652062416077, 0.5431309938430786, 0.1327734887599945, -0.12395405024290085, 0.22416609525680542, -0.6235541701316833, 0.1269398182630539, 0.26827192306518555, -0.586494505405426, 0.057964518666267395, -0.10169542580842972, 0.20097167789936066, 0.09189523011445999, 0.13672056794166565, -0.4913621246814728, 0.12738105654716492, -0.4459165036678314, 0.5274591445922852, 0.4228399395942688, -0.10057871043682098, 0.534551739692688, -0.25543829798698425, 0.5725067257881165, -0.09197472035884857, -0.0037019888404756784, -0.7276657819747925, -0.31664204597473145, -0.8754801750183105, -0.35403144359588623, -0.05279142037034035, 0.6775962114334106, -0.6241034269332886, 0.07455244660377502, -0.41015076637268066, -0.45036235451698303, -0.2655882239341736, 0.39169156551361084, 0.3710479438304901, 0.18061937391757965, 0.429836630821228, -0.08070187270641327, -0.39068788290023804, -0.7366729974746704, -0.20935608446598053, 0.34533894062042236, -0.03385142236948013, 0.02782513201236725, 0.40959033370018005, -0.3911060094833374, 0.7096914649009705, -0.406138151884079, -0.46328938007354736, -0.6204192638397217, 0.12680919468402863, 0.2310512661933899, 0.4555404782295227, 0.4073121249675751, -0.4725160598754883, -0.5274707078933716, 0.07368749380111694, -0.4562808871269226, 0.3174990117549896, -0.09703076630830765, -0.019854817539453506, -0.09256146103143692, 0.3867388367652893, -0.5489799380302429, -0.10860960185527802, 0.5556224584579468, 0.12179213762283325, 0.7251553535461426, -0.45028603076934814, -0.014453244395554066, -1.2013055086135864, -0.2555294334888458, -0.11459898203611374, -0.15493710339069366, -1.1211453676223755, 0.1145063191652298, 0.07792045921087265, -0.5482372045516968, -0.725071370601654, 0.4115196168422699, -0.5580087900161743, -0.20707322657108307, -0.2981598675251007, 0.08547456562519073, -0.12819474935531616, 0.5414726734161377, 0.10873246937990189, 0.8280143141746521, 0.6574617028236389, -0.5795918107032776, 0.49061283469200134, 0.35356712341308594, -0.43095633387565613, 0.5364744067192078, -0.23632429540157318, 0.3922851085662842, -0.27562621235847473, 0.08893448859453201, -0.616433322429657, -0.4215594232082367, 0.07156607508659363, -0.33878645300865173, 0.6058740019798279, -0.2996983528137207, -0.46762168407440186, -0.22915935516357422, -0.026245689019560814, 0.24435798823833466, 0.3220333158969879, -0.5710815787315369, 0.6067085862159729, 0.30541831254959106, -0.2527220547199249, -0.4997050166130066, -1.066534399986267, 0.16211208701133728, -0.2859930694103241, -0.5160463452339172, 0.48767274618148804, -0.1754537969827652, 0.04811330884695053, -0.4127137064933777, 0.2097596526145935, -0.33777156472206116, -0.06698302924633026, -0.09099332988262177, 0.10320736467838287, -0.2994750738143921, 0.4688478708267212, -0.08223336935043335, 0.04673366621136665, -0.06920383870601654, -0.3512885272502899, 0.7894677519798279, 0.019523797556757927, -0.8170156478881836, -0.4385205805301666, 0.5635586977005005, 0.6347083449363708, -0.5337265133857727, 0.8647382855415344, 0.865659236907959, -0.5088919997215271, -0.4468592405319214, -0.4849405586719513, -0.19299688935279846, -0.3972555100917816, 0.7223174571990967, -0.32005834579467773, -0.8051701188087463, 0.44424062967300415, -0.009770629927515984, 0.16144055128097534, 0.1396210491657257, 0.7855955362319946, 0.12631341814994812, 0.8158559203147888, 0.7550534605979919, -0.20802189409732819, 0.7583208084106445, -0.3222717344760895, 0.12484943121671677, -0.8230330348014832, -0.46768173575401306, -0.38395920395851135, 0.103926882147789, 0.06340478360652924, -0.8885001540184021, 0.4145429730415344, -0.04389211907982826, -0.18709257245063782, 0.14520025253295898, -0.014389810152351856, 0.5243003368377686, 0.4631814658641815, 0.12602472305297852, 0.16306033730506897, 0.3172760307788849, -0.03853954002261162, -0.1507696658372879, -0.8207575678825378, -0.4650406837463379, 0.9693611860275269, 0.34164318442344666, 0.670236349105835, 0.33339476585388184, 0.6683894395828247, 0.1678253412246704, 0.1534564346075058, -1.0560051202774048, 0.1764383167028427, -0.4066711962223053, -0.4170026481151581, -0.3095703423023224, -0.3627576231956482, -0.7030083537101746, 0.5800500512123108, -0.25319987535476685, -0.7174507975578308, -0.17178811132907867, 0.014921853318810463, -0.35281580686569214, 0.41535553336143494, -0.8061851263046265, 0.8803154230117798, -0.39461418986320496, -0.2756940722465515, -0.3500482439994812, -0.3357188403606415, 0.24678267538547516, -0.19520987570285797, 0.8644461035728455, -0.19817890226840973, 0.16892924904823303, 0.6201013922691345, -0.07480261474847794, 0.9838981032371521, -0.09403479844331741, -0.4080686569213867, 0.15608543157577515, -0.05502500385046005, 0.17732644081115723, -0.14651082456111908, -0.10595551878213882, 0.14059045910835266, -0.2518251836299896, -0.22471024096012115, -0.5576110482215881, 0.5546025037765503, -0.5731906890869141, -0.39984384179115295, -0.22916652262210846, -0.74620521068573, -0.5431831479072571, 0.18491020798683167, 0.08644994348287582, 0.5753318667411804, -0.4379814863204956, -0.003037361428141594, 0.688947856426239, -0.23778362572193146, 0.37068867683410645, 0.7346835732460022, -0.21897225081920624, -0.344735324382782, 1.120650053024292, 0.1444217562675476, 0.424984872341156, 0.49878382682800293, 0.17205119132995605, -0.19929641485214233, -0.5498208999633789, -0.633246660232544, 0.27664873003959656, -0.8092878460884094, -0.014094262383878231, -0.44214585423469543, -0.4175279140472412, -0.4928632080554962, -0.04953477531671524, -0.5137804746627808, 0.015835750848054886, -0.46066799759864807, 0.07489623129367828, 0.034328799694776535, 0.6032068729400635, -0.2302483469247818, 0.5075771808624268, -1.097093939781189, 0.15013357996940613, 0.5182364583015442, 0.22888977825641632, 0.12465451657772064, -0.9394523501396179, -0.6420515775680542, 0.29717081785202026, -0.37707144021987915, -0.9906719923019409, 0.5739057064056396, 0.8732694983482361, 0.8159714937210083, 0.5329546332359314, -0.3573249876499176, 0.6553257703781128, -1.1483761072158813, 0.6914674639701843, 0.38623714447021484, -1.1360610723495483, 0.5169879794120789, -0.3972989320755005, 0.5804353952407837, 0.00948286522179842, 0.39168310165405273, -0.899518609046936, -0.3743652105331421, -0.04259544983506203, -0.6649909019470215, 0.7761145234107971, -0.006982955615967512, 0.7674635052680969, -0.07262862473726273, 0.29045993089675903, 0.18423637747764587, 0.07132861018180847, -0.7788862586021423, -0.1743571013212204, -0.15112462639808655, -0.2906186282634735, -0.48232048749923706, -0.35606470704078674, -0.14694508910179138, 0.0003320466785226017, 0.613422155380249, -0.2764875292778015, 0.28106898069381714, -0.12050392478704453, -0.34536314010620117, 0.022164873778820038, 0.6466831564903259, 0.7949524521827698, 0.609433650970459, 0.13090628385543823, 0.3623870015144348, 0.29620203375816345, -0.4012018144130707, 0.23105615377426147, 0.0993005782365799, 0.04325628653168678, 0.10539235919713974, 0.6602878570556641, 0.8962969183921814, 0.6562970876693726, -0.7188799381256104, 0.34212619066238403, 0.30702584981918335, -0.1732395440340042, -0.27696895599365234, -0.022285766899585724, 0.35896536707878113, 0.3531258702278137, 0.44696566462516785, -0.2737692594528198, 0.021569179370999336, -0.5895045399665833, 0.11913449317216873, 0.6714567542076111, -0.26855188608169556, -0.4125121533870697, 0.44272366166114807, -0.042582906782627106, -0.5142707824707031, 0.36718565225601196, 0.08877358585596085, -0.7615301609039307, 0.2983437478542328, 0.8906272649765015, 0.5361801385879517, -0.6961104273796082, 0.3472382724285126, 0.4158245623111725, 0.24936163425445557, -0.13691867887973785, 0.0958142802119255, -0.09069839119911194, -0.8669167160987854, -0.5495736002922058, -0.7273672223091125, -0.5856943130493164, 0.12829364836215973, -0.685606062412262, 0.17144587635993958, -0.10903885215520859, -0.14437535405158997, 0.19633714854717255, -0.5282127857208252, -0.36192479729652405, -0.10347306728363037, 0.5683997869491577, 0.641435980796814, -0.8381068110466003, 0.8012136220932007, 0.5029022693634033, -0.2505795359611511, -0.5966693162918091, -0.07313934713602066, 0.018966563045978546, -0.8610274791717529, 0.6609237790107727, 0.2540687918663025, -0.19347530603408813, 0.032343678176403046, -0.21684017777442932, -0.9331652522087097, 0.6378270983695984, 0.8887665271759033, -0.6923293471336365, -0.03021182119846344, 0.35182490944862366, 0.36943918466567993, -0.3473246693611145, -0.025391925126314163, 0.2794840335845947, 0.1286659836769104, 0.3316333591938019, -1.0335922241210938, -0.640009880065918, 0.11155541986227036, -0.01945984736084938, -0.00012846199388150126, -0.4337593913078308, 0.8456728458404541, -0.4036409258842468, -0.25436872243881226, -0.18029244244098663, 0.5780420899391174, 0.06371244788169861, 0.03660890832543373, 0.2737804353237152, 0.3405129611492157, 0.6974883079528809, -0.025501267984509468, 0.6896889209747314, -0.12593679130077362, 0.44674840569496155, 1.3253856897354126, -0.3110836148262024, 1.128438949584961, 0.3257139027118683, -0.36028042435646057, 0.4052621126174927, 0.37664875388145447, -0.042257942259311676, 0.5302132964134216, 0.18288074433803558, -0.6621529459953308, -0.436674028635025, -0.0963805615901947, -0.3909528851509094, 0.7284485697746277, 0.4879516363143921, -0.18887636065483093, -0.3820299208164215, 0.5869143009185791, -0.05052006244659424, 0.1375083178281784, -0.42385026812553406, 0.7422062754631042, 0.1278807520866394, -0.18788987398147583, 0.5658788084983826, 0.09541217982769012, 0.7232649326324463, -0.9668738842010498, 0.04801446199417114, 0.14560003578662872, 0.39342501759529114, -0.0541665218770504, -0.48901182413101196, 0.43157294392585754, 0.1405474990606308, -0.26926255226135254, -0.29413220286369324, 0.39569729566574097, -1.0597732067108154, -0.7739105820655823, 0.32688605785369873, 0.5354851484298706, 0.21167385578155518, -0.0077802762389183044, -0.45320799946784973, 0.14937692880630493, -0.2792063057422638, 0.15072886645793915, 0.38182151317596436, 0.16159313917160034, 0.3809109926223755, 0.7853395938873291, 0.5984651446342468, 0.16498196125030518, 0.3386612832546234, 0.5775421261787415, 0.61967533826828, -0.28074198961257935, -0.5463866591453552, -0.9764819145202637, 0.17281262576580048, 0.3223235309123993, 0.19712722301483154, 1.0114850997924805, 0.5990424752235413, 0.8854718208312988, -0.36566221714019775, 0.7711656093597412, 0.49842607975006104, 0.5862720608711243, -0.7231902480125427, 0.6694046258926392, -0.46336740255355835, -0.07588580250740051, -0.062232766300439835, -0.8492675423622131, -0.3402090072631836, 0.7836915850639343, -0.24839696288108826, 0.1640002578496933, 0.2850188612937927, 0.4327687621116638, -0.023784389719367027, -0.13192886114120483, 0.4561053216457367, -0.0214022658765316, 0.3616511821746826, 0.6384653449058533, 0.8639724254608154, 0.016622906550765038, 0.5337119102478027, -0.20051786303520203, -0.23678052425384521, -0.1374129205942154, -0.632558286190033, -0.9502653479576111, -0.46049022674560547, -0.1945808380842209, 0.13405773043632507, 0.00621574092656374, 0.858402669429779, 0.9859527349472046, -0.7608062028884888, -0.6493213176727295, 0.1526840627193451, 0.029841439798474312, -0.1623876839876175, -0.18766970932483673, 0.129311203956604, -0.7706684470176697, -1.0032289028167725, 0.8980647325515747, 0.37731245160102844, 0.286013126373291, -0.5130246877670288, -0.05235622823238373, -0.16802175343036652, 0.031017234548926353, 0.7354170680046082, 0.2375423014163971, -0.6648052334785461, -0.03688735514879227, 0.023879623040556908, 0.1936182975769043, 0.023088369518518448, 0.9221963882446289, -0.3337431252002716, 0.5215252637863159, -0.09035258740186691, 0.6848217844963074, 0.5787575840950012, -0.5310954451560974, 0.5107678771018982, -0.9132707715034485, 0.3444436192512512, 0.1565561443567276, 0.35471296310424805, 0.5951159596443176, -0.14495493471622467, -0.014535696245729923, 0.11384934931993484, -0.1955052763223648, -0.8650451898574829, 0.42528828978538513, -0.7302659153938293, -0.24178321659564972, 1.1952283382415771, -0.2717226445674896, 0.037911009043455124, 0.065398208796978, -0.09825601428747177, 0.40681159496307373, -0.10750573128461838, 0.5854917168617249, 0.6705483198165894, 0.07269337028265, -0.3185935318470001, -0.6105495691299438, 0.19328820705413818, 0.27356207370758057, -0.822568416595459, 0.2014450877904892, 0.25764748454093933, 0.37868252396583557, 0.23440103232860565, 0.38595131039619446, 0.096028633415699, 0.07519620656967163, 0.007763080298900604, 0.10322923958301544, -0.14812998473644257, -0.38184282183647156, -0.6082046031951904, 0.16633446514606476, 0.010314017534255981, -0.34658995270729065 ]
http://arxiv.org/abs/2404.10917v1
http://arxiv.org/pdf/2404.10917v1
Which questions should I answer? Salience Prediction of Inquisitive Questions
2024-04-16T21:33:05
2024-04-16T21:33:05
Yating Wu, Ritika Mangla, Alexandros G. Dimakis, Greg Durrett, Junyi Jessy Li
cs.CL
cs.CL
Inquisitive questions -- open-ended, curiosity-driven questions people ask as they read -- are an integral part of discourse processing (Kehler and Rohde, 2017; Onea, 2016) and comprehension (Prince, 2004). Recent work in NLP has taken advantage of question generation capabilities of LLMs to enhance a wide range of applications. But the space of inquisitive questions is vast: many questions can be evoked from a given context. So which of those should be prioritized to find answers? Linguistic theories, unfortunately, have not yet provided an answer to this question. This paper presents QSALIENCE, a salience predictor of inquisitive questions. QSALIENCE is instruction-tuned over our dataset of linguist-annotated salience scores of 1,766 (context, question) pairs. A question scores high on salience if answering it would greatly enhance the understanding of the text (Van Rooy, 2003). We show that highly salient questions are empirically more likely to be answered in the same article, bridging potential questions (Onea, 2016) with Questions Under Discussion (Roberts, 2012). We further validate our findings by showing that answering salient questions is an indicator of summarization quality in news.
[ -0.5896218419075012, -0.523135244846344, 0.8363807797431946, 0.19036217033863068, -0.3297892212867737, -0.12885664403438568, 0.05368153750896454, -0.5971734523773193, 0.4303974211215973, 0.4003731906414032, -0.615175724029541, -0.1322915405035019, -0.6751055121421814, 0.14492003619670868, -0.4763161838054657, 1.0650863647460938, 0.25745701789855957, -0.21071608364582062, -0.7070181369781494, -0.053769551217556, -0.4257901608943939, -0.5499381422996521, -0.38204893469810486, 0.03739750385284424, 0.713646411895752, 0.5682692527770996, 0.7702308893203735, 0.1978398561477661, 0.3761610686779022, 0.3012350797653198, -0.4440300166606903, -0.2007388472557068, -0.3290705680847168, 0.6610428094863892, -0.12598450481891632, -0.8916199207305908, 0.18824036419391632, -0.04811962693929672, 0.27042001485824585, 0.9985639452934265, 0.3142407238483429, 0.5567567348480225, -0.176805779337883, 0.5748984813690186, -0.6827900409698486, -0.3485332429409027, -0.440528005361557, 0.0831698402762413, -0.20004507899284363, -0.4512101411819458, 0.058689456433057785, -0.6691815853118896, 0.47050347924232483, -0.3113420903682709, 0.09775813668966293, 0.207899272441864, 0.6405310034751892, 0.5381743907928467, -0.46213483810424805, -0.15885314345359802, -0.22110527753829956, 0.6724973917007446, -0.6477048993110657, 0.27135035395622253, 0.7209767699241638, 0.06669645756483078, 0.08102943748235703, -0.5297411680221558, -0.33035534620285034, -0.1421964168548584, -0.5105305910110474, 0.4171393811702728, -0.16164632141590118, -0.15771231055259705, 0.2284279614686966, 0.5645580291748047, -0.8868955373764038, -0.26201581954956055, -0.3143616318702698, 0.0014887347351759672, 0.42728450894355774, 0.03499258682131767, 0.1534627079963684, -0.20235975086688995, -0.2880091667175293, 0.4140925705432892, -0.28664442896842957, 0.6425923705101013, 0.36870142817497253, -0.28756043314933777, 0.21636135876178741, 0.7188243269920349, -0.3950621783733368, 0.6709261536598206, 0.23162919282913208, -0.0006749146268703043, -0.16135859489440918, -0.4304922819137573, 0.2238372266292572, 0.2035285383462906, 0.3315213620662689, 0.5206139087677002, 0.16807377338409424, -0.13045065104961395, -0.05657002702355385, -0.36395263671875, 0.26534998416900635, -0.7153638601303101, -0.03728457912802696, 0.759259819984436, -0.1947614550590515, -0.18056586384773254, 0.14694148302078247, -0.6620960831642151, -0.17877130210399628, -0.04594242200255394, 0.05177919194102287, -0.2536482810974121, -0.08285456150770187, 0.0859648659825325, -0.22358913719654083, 0.08997724950313568, 0.40968942642211914, -1.084096074104309, 0.17609554529190063, 0.5618672966957092, 0.53923100233078, -0.07000090181827545, 0.030923230573534966, -0.5607704520225525, 0.08470502495765686, -0.3293192386627197, 1.0971368551254272, -0.5296167731285095, -0.28989896178245544, -0.029715754091739655, -0.028714079409837723, 0.053552474826574326, -0.4290509819984436, 0.7277382612228394, -0.7391567230224609, 0.7884657979011536, -0.6052257418632507, -0.5423922538757324, -0.3145671784877777, 0.40184780955314636, -0.5283534526824951, 0.9274807572364807, 0.35590770840644836, -1.1441104412078857, 0.22410593926906586, -0.6561639904975891, -0.2664506137371063, 0.32139503955841064, 0.05142626538872719, -0.18089699745178223, 0.27474650740623474, 0.3339534401893616, 0.22395139932632446, -0.3405396640300751, 0.28751397132873535, 0.20131509006023407, -0.40138116478919983, 0.7571956515312195, -0.0849960669875145, 0.41226959228515625, -0.06788475066423416, -0.21442118287086487, -0.04837702959775925, -0.3959138095378876, 0.3912624716758728, -0.05899641290307045, -0.39718878269195557, -0.49356138706207275, -0.05306161567568779, -0.3723828196525574, 0.17177914083003998, 0.43862205743789673, -0.5058545470237732, -0.18669655919075012, -0.9228900671005249, -0.0967593789100647, 0.651246190071106, 0.5327783226966858, 0.39393359422683716, -0.2811385989189148, 0.753216028213501, 0.1208093985915184, 0.02536056935787201, -0.22235941886901855, -0.621230959892273, -0.5580202341079712, 0.22830402851104736, 0.11515343934297562, 0.411379337310791, -0.5136950016021729, 0.04998818784952164, 0.035724423825740814, -0.4150625765323639, -0.6700823903083801, -0.3344118893146515, 0.4858191907405853, 0.7467541098594666, 0.46302950382232666, -0.0625755712389946, -0.4093172252178192, -0.916833758354187, -0.5758135318756104, -0.4435541033744812, -0.02054154872894287, 0.36126387119293213, 0.19793035089969635, 0.5160996913909912, 1.1720291376113892, -0.853740394115448, 0.4463876187801361, -0.06335882097482681, -0.01293204352259636, 0.21263045072555542, 0.13757702708244324, 0.5769603848457336, -1.2876311540603638, -0.22767572104930878, -0.3080075681209564, -0.7239134907722473, -0.3784063458442688, 0.09313720464706421, -0.13773798942565918, -0.26543667912483215, 0.4410344064235687, -0.5851468443870544, 0.01828557439148426, 0.27670878171920776, -0.4211576282978058, 0.6334623098373413, 0.2604886591434479, 0.1495516300201416, -0.8930895328521729, 0.07956982403993607, 0.02461383491754532, -0.09493004530668259, -0.6614336967468262, 0.2690799832344055, -0.19768193364143372, -0.09695202857255936, -0.6483414769172668, 0.6785416007041931, -0.05509495735168457, -0.16785718500614166, -0.10975583642721176, 0.26306626200675964, 0.10909667611122131, 0.25331515073776245, -0.2595820128917694, 1.087708592414856, 0.3176850974559784, -0.8855913877487183, 0.35016143321990967, 0.3273875415325165, -0.2951330244541168, 0.23492306470870972, -0.9380840063095093, -0.021562660112977028, -0.556968092918396, -0.15816070139408112, -1.3070274591445923, -0.3755949139595032, 0.26351994276046753, -0.7372444868087769, -0.08988812565803528, 0.16211025416851044, -0.2863045930862427, -0.47296664118766785, -0.5110999941825867, 0.4897872805595398, 0.20644675195217133, -0.43843066692352295, 0.19744953513145447, 0.36825188994407654, -0.645904004573822, -0.9060285687446594, -0.43074285984039307, -0.26179102063179016, -0.1671488732099533, -0.3770843744277954, 0.09182538092136383, -0.4592267572879791, -0.4921562373638153, 0.1387549489736557, -0.23534730076789856, 0.01908835582435131, 0.47854939103126526, 0.4394274353981018, 0.07581471651792526, -0.2662275433540344, 0.36528411507606506, 0.27501359581947327, -0.33071547746658325, 0.3057032823562622, -0.1264108419418335, 0.5424103736877441, -0.09349893778562546, -0.3218662738800049, -0.025517407804727554, 0.5798120498657227, 0.45387721061706543, -0.49253222346305847, 0.2657562494277954, 0.25355300307273865, -0.07101021707057953, 0.3301551043987274, -0.45036160945892334, -0.3951541781425476, -0.38777071237564087, 0.36022138595581055, -0.29565170407295227, -1.2238678932189941, 0.43907609581947327, 0.0072306618094444275, 0.11267533898353577, 0.4097149968147278, 0.5456475019454956, -0.5163691639900208, 1.1395152807235718, 0.5987511277198792, -0.2193010002374649, 0.2683013379573822, 0.0149538554251194, 0.35295599699020386, -0.46092912554740906, -0.20054320991039276, -0.6607404351234436, -0.4058246314525604, -0.4490484893321991, -0.008985976688563824, 0.5626035332679749, 0.04489722102880478, 0.10905151069164276, 0.029949961230158806, -0.4983549416065216, 0.630133330821991, 0.7145658135414124, -0.19687612354755402, 0.2847733497619629, -0.3259003162384033, 0.15106406807899475, -0.13141092658042908, -0.641775906085968, -0.5526083707809448, 0.6773003935813904, 0.20713697373867035, 0.40306535363197327, 0.33044561743736267, 0.682307243347168, -0.08107390254735947, 0.08816435933113098, -0.810803234577179, 0.7377380132675171, 0.36393868923187256, -0.725274920463562, -0.5104911923408508, -0.1591925173997879, -1.003482460975647, 0.42536088824272156, -0.25210121273994446, -0.538879930973053, 0.29187965393066406, 0.05432906001806259, -0.711298942565918, -0.05127016454935074, -0.3929084539413452, 0.45325368642807007, -0.2594945728778839, -0.31959033012390137, -0.022895418107509613, -0.9970672130584717, 0.45819833874702454, 0.04311668872833252, -0.005741739645600319, -0.2429380565881729, -0.2540365159511566, 0.6162952780723572, -0.002442591590806842, 0.593787670135498, 0.09935697913169861, -0.12853050231933594, 0.33212605118751526, -0.026883846148848534, -0.10354246199131012, 0.6064593195915222, -0.34258079528808594, -0.28069159388542175, 0.051957495510578156, -0.3905167877674103, -0.8125316500663757, 0.46131545305252075, -0.5920540690422058, -1.0647144317626953, -0.6149193048477173, -0.549177348613739, -0.18838490545749664, 0.0830635279417038, 0.45498672127723694, 0.1287928968667984, -0.15644724667072296, -0.14828649163246155, 0.8859860897064209, -0.13869349658489227, 0.6960497498512268, 0.47554031014442444, -0.10485344380140305, -0.14433865249156952, 0.5056066513061523, 0.013576257042586803, 0.16472123563289642, 0.6107105016708374, 0.14561253786087036, -0.4328141212463379, -0.3454952538013458, -0.3531340956687927, 0.24926038086414337, -0.5976004004478455, -0.4458768963813782, -0.8424984216690063, -0.21847234666347504, -0.23534145951271057, -0.22126980125904083, 0.06238207221031189, -0.5261538028717041, -0.4904029071331024, -0.2668781280517578, 0.33693447709083557, 0.3066338896751404, 0.30855926871299744, -0.11205065995454788, -0.8496080040931702, 0.2602028250694275, 0.738333523273468, 0.12296488881111145, -0.15798695385456085, -0.6884910464286804, -0.3261377811431885, -0.020938927307724953, -0.3724272549152374, -0.8964043259620667, 0.4115409553050995, 0.09496849775314331, 0.5820706486701965, 0.41599491238594055, 0.4164424538612366, 0.32260531187057495, -0.15221095085144043, 1.022721529006958, -0.0661093145608902, -0.6229149699211121, 0.8466484546661377, -0.04564663767814636, 0.3954082131385803, 0.7153698801994324, 0.9734817147254944, -0.7305574417114258, -0.8295015692710876, -0.7096458673477173, -0.9033992886543274, 0.2660306692123413, -0.06295862048864365, 0.2725982964038849, -0.2529323101043701, 0.50111323595047, 0.33375638723373413, 0.6264162659645081, -0.6057879328727722, -0.01623954251408577, -0.13190841674804688, 0.19935916364192963, 0.05554710701107979, -0.6265621185302734, -0.07603058218955994, -0.12639892101287842, 0.3333229720592499, -0.22985802590847015, 0.09644044935703278, 0.19663304090499878, -0.0008339781779795885, -0.4445797801017761, 0.5122533440589905, 0.6358670592308044, 0.8202866911888123, -0.40213626623153687, 0.3206455707550049, 0.08540255576372147, -0.5075820684432983, 0.1438302993774414, -0.12465926259756088, -0.3318910300731659, 0.21381281316280365, 0.27996253967285156, 0.403251975774765, 0.25207048654556274, -0.8641770482063293, 0.6614028215408325, -0.00840243324637413, -0.15080516040325165, -0.19132736325263977, 0.3051433861255646, 0.10388252884149551, 0.3761949837207794, 0.4677745997905731, -0.08929134160280228, 0.3932294249534607, -0.7487047910690308, -0.040639083832502365, 0.2113824188709259, -0.2715303599834442, -0.286059707403183, 0.6455783843994141, -0.028268437832593918, -0.028364764526486397, 0.42039403319358826, -0.07813036441802979, -0.9064164757728577, 0.5008102059364319, 0.3733890652656555, 0.5716603398323059, -0.2985743582248688, 0.2088702917098999, 0.46413564682006836, 0.019160153344273567, 0.23614461719989777, 0.7770982384681702, 0.09787740558385849, -0.5014412999153137, -0.42493686079978943, -0.645804762840271, -0.6814313530921936, -0.059563230723142624, -0.7246583104133606, 0.0011214276310056448, -0.21916641294956207, -0.11100145429372787, 0.026744995266199112, 0.055549319833517075, -0.0693206638097763, 0.5645149946212769, -0.12796881794929504, 0.6161298155784607, -0.7723503708839417, 0.17265895009040833, 0.767898440361023, -0.7556670308113098, -0.36050695180892944, 0.5340555310249329, -0.31099870800971985, -0.5093542337417603, 0.6427925229072571, -0.07366819679737091, 0.10893069952726364, 0.1770189255475998, -0.7725403308868408, -1.2551612854003906, 0.9988881349563599, 0.3483721613883972, -0.1918596774339676, 0.11521466076374054, -0.04976595565676689, 0.3832263946533203, -0.023357829079031944, 0.4588843882083893, 0.48631927371025085, 0.48369768261909485, 0.15265922248363495, -0.5799543857574463, -0.10953569412231445, -0.37667182087898254, -0.027586499229073524, 0.21647293865680695, -0.573888897895813, 0.8236575722694397, -0.6950104832649231, -0.1265588253736496, 0.07557900995016098, 0.9127997756004333, 0.3487686514854431, 0.5731743574142456, 0.3910076320171356, 0.3207746148109436, 0.9651160836219788, -0.2307058423757553, 1.1443270444869995, -0.4171709418296814, -0.09660950303077698, 0.8631441593170166, 0.18757279217243195, 0.7425168752670288, 0.6352840065956116, -0.15061208605766296, 0.2220027595758438, 1.0920170545578003, 0.28373244404792786, 0.689862847328186, 0.19121821224689484, -0.4199162721633911, 0.0607546903192997, -0.4553907811641693, -0.7305150032043457, 0.48812928795814514, 0.23737788200378418, -0.11236172169446945, -0.052970513701438904, 0.11184906214475632, -0.06482923030853271, 0.20294271409511566, -0.3637963831424713, 0.9017376899719238, -0.05319296568632126, -0.8164854645729065, 0.4239327311515808, -0.06639038026332855, 0.4639560580253601, -0.31156057119369507, 0.08762860298156738, -0.5868997573852539, -0.4876406490802765, -0.29658639430999756, -1.3199056386947632, 0.13340222835540771, -0.20533718168735504, -0.6314260959625244, -0.13927966356277466, 0.7760447263717651, -0.5381555557250977, -0.12479601055383682, -0.13339105248451233, 0.8072039484977722, 0.42627254128456116, -0.2362297922372818, -0.38672542572021484, -0.5405837297439575, -0.17271828651428223, -0.3407016098499298, 0.4535093605518341, 0.591396689414978, -0.035741813480854034, 0.7063595652580261, 0.7171772718429565, 0.002711974550038576, 0.06857439875602722, 0.0714913085103035, 1.2388240098953247, -0.5921271443367004, -0.6919655799865723, -0.5017256140708923, 0.6964555978775024, -0.14757075905799866, -0.630059003829956, 0.8723825216293335, 0.5834817290306091, 0.5991453528404236, -0.10169560462236404, 0.7175122499465942, 0.24692367017269135, 0.9234310984611511, -0.3647349178791046, 0.4574216306209564, -0.6038402915000916, 0.09956146776676178, -0.2777194380760193, -0.871282160282135, -0.10466822236776352, 0.5700127482414246, -0.5899982452392578, 0.010341971181333065, 0.7917502522468567, 0.5925915837287903, 0.2593855559825897, 0.32228735089302063, 0.408517062664032, -0.006086348555982113, -0.15226377546787262, 0.4642029404640198, 1.0096756219863892, -0.2709341049194336, 0.18898384273052216, -0.21531228721141815, -0.007909594103693962, -0.5342254042625427, -0.5789958238601685, -0.4067656397819519, -0.6693723201751709, -0.17558223009109497, -0.1189916804432869, 0.09388716518878937, 0.8788477182388306, 0.20181122422218323, -0.703352153301239, 0.05349939689040184, 0.14635111391544342, 0.4334460198879242, -0.13676705956459045, -0.18071652948856354, 0.27257317304611206, -0.5207865238189697, -0.6898115873336792, 0.12693428993225098, 0.5968670845031738, 0.1687384396791458, 0.05257030203938484, 0.35922887921333313, -0.3320126533508301, 0.002836894243955612, 0.7061546444892883, 0.40711531043052673, -0.6250214576721191, -0.2116212099790573, 0.44357845187187195, -0.06296835094690323, -0.0340212918817997, 0.6585480570793152, -0.693151593208313, 0.21934525668621063, 0.3876587152481079, 0.6839768886566162, 0.2413564771413803, 0.41392073035240173, 0.3497591018676758, -0.9420716762542725, 0.141389861702919, 0.9983262419700623, 0.11545465141534805, 0.06985440850257874, -0.6577568650245667, 0.4117153286933899, 0.002479389775544405, -0.5995358824729919, -0.6426854729652405, 0.278562068939209, -0.7288134098052979, -0.3879413902759552, 0.9435480237007141, 0.07489646971225739, -0.12760736048221588, -0.3605108857154846, -0.45301300287246704, -0.10541913658380508, -0.22571061551570892, 0.6486242413520813, 0.6685115694999695, -0.2874285876750946, -0.6576014757156372, -0.6086330413818359, 0.5243867039680481, 0.8176572918891907, -0.87177973985672, 0.007384998723864555, 0.2108718305826187, -0.14541415870189667, 0.177409365773201, 0.6843715310096741, 0.15796956419944763, 0.4832044541835785, -0.40371954441070557, -0.20936709642410278, 0.21551252901554108, -0.211996391415596, 0.028340112417936325, 0.5481244921684265, 0.2672928273677826, -0.159561425447464 ]
http://arxiv.org/abs/2404.10887v1
http://arxiv.org/pdf/2404.10887v1
Search Beyond Queries: Training Smaller Language Models for Web Interactions via Reinforcement Learning
2024-04-16T20:15:32
2024-04-16T20:15:32
Moghis Fereidouni, A. B. Siddique
cs.CL
cs.CL
Traditional search systems focus on query formulation for effective results but face challenges in scenarios such as product searches where crucial product details (e.g., size, color) remain concealed until users visit specific product pages. This highlights the need for intelligent web navigation agents capable of formulating queries and navigating web pages according to users' high-level intents. In response to this need, this work introduces a Grounded Language Agent for Intelligent Web Interactions, called GLAINTEL. Drawing upon advancements in language modeling and reinforcement learning, GLAINTEL investigates the efficacy of transformer-based models in enhancing the search capabilities of interactive web environments. Given the dynamic action space for each state in web navigation, GLAINTEL employs the Flan-T5 architecture and incorporates language modeling and value estimation heads. This work focuses on training smaller language models as agents across various scenarios, systematically evaluating the impact of human demonstrations on the training process. Specifically, we investigate scenarios where no human demonstrations are available and subsequently assess the effective utilization of such demonstrations. We also explore unsupervised domain adaptation for situations where demonstrations are confined to a specific domain. Experimental evaluations across diverse setups demonstrate the effectiveness of training agents in unsupervised settings, outperforming in-context learning-based approaches that employ larger models with up to 540 billion parameters. Surprisingly, behavioral cloning-based methods that straightforwardly use human demonstrations do not outperform unsupervised learning-based methods. Additionally, combining human demonstrations with Reinforcement Learning-based training yields results comparable to models utilizing GPT-4.
[ -0.517768144607544, -0.6075457334518433, 0.6078956127166748, -0.03877852484583855, -0.005566672421991825, 0.12874284386634827, -0.3835216164588928, -0.4049117863178253, 0.10057790577411652, 0.24458442628383636, -0.7246870398521423, -0.3174375295639038, -0.29489031434059143, -0.27089911699295044, -0.4389708936214447, 0.4861648380756378, 0.21084803342819214, -0.11728480458259583, -0.3112058937549591, -0.03984599933028221, -0.18099138140678406, -0.5623766183853149, -0.8194203972816467, -0.4364916682243347, 0.4234181046485901, 0.3707582354545593, 0.8321422338485718, 0.09939403086900711, 0.07556044310331345, 0.3830725848674774, 0.2178986370563507, 0.3197063207626343, -0.5604321956634521, 0.032291803508996964, -0.6162749528884888, -0.5022518038749695, -0.06264597922563553, 0.12485745549201965, 0.39218851923942566, 0.6903287768363953, -0.258523166179657, -0.2661608159542084, -0.0728950947523117, 0.4449705481529236, -0.6576370000839233, 0.2473505437374115, -0.626581072807312, 0.006354203447699547, 0.26804086565971375, -0.11829590797424316, -0.6489159464836121, -0.37258514761924744, 0.4259893298149109, -0.9463393688201904, 0.3339194357395172, 0.2143883854150772, 0.8742058277130127, 0.2437356859445572, -0.6064861416816711, -0.30821532011032104, -0.7174274325370789, 0.9944666624069214, -0.5781742334365845, 0.6707143187522888, 0.474242627620697, 0.526012659072876, -0.52483731508255, -1.0686235427856445, -0.6786096692085266, -0.6218529343605042, -0.2650911509990692, 0.14184360206127167, -0.3775164783000946, 0.11798004060983658, 0.3155252933502197, 0.014510325156152248, -0.460685133934021, 0.16488902270793915, -0.23560971021652222, -0.16033779084682465, 0.4941715896129608, 0.041853103786706924, 0.49195730686187744, 0.07623694092035294, -0.14497946202754974, -0.49236711859703064, -0.46847763657569885, 0.2763345539569855, 0.16816776990890503, 0.31987425684928894, 0.14550594985485077, 0.24409453570842743, -0.3733152151107788, 0.5015716552734375, 0.30697524547576904, 0.04565804451704025, -0.018374165520071983, 0.04829231649637222, -0.20611871778964996, -0.18730680644512177, 0.5315662026405334, 0.13657690584659576, 0.22147923707962036, -0.34857872128486633, -0.27465134859085083, -0.03120262362062931, 0.8162375688552856, -0.9621392488479614, -0.4048253297805786, 0.03772682324051857, -0.4673624038696289, -0.30291441082954407, 0.1349024623632431, -0.6753697395324707, -0.4626295268535614, -0.3694923520088196, 0.6632739901542664, -0.4366840422153473, -0.36042317748069763, 0.13523456454277039, -0.2840224802494049, 0.340181827545166, 0.5170944333076477, -0.9725219011306763, 0.7239456176757812, 0.4320544898509979, 0.5194779634475708, -0.22664712369441986, -0.33694660663604736, -0.690908670425415, 0.071818508207798, -0.34494033455848694, 0.550452470779419, -0.6801042556762695, -0.5730852484703064, 0.2850393056869507, 0.2757437527179718, -0.33299922943115234, -0.6918381452560425, 0.3709764778614044, -1.0862889289855957, 0.2612864077091217, -0.04428919404745102, -0.6069108843803406, -0.6062932014465332, 0.3382413685321808, -0.8209535479545593, 0.8289979100227356, 0.12133347988128662, -0.3119356334209442, 0.24371404945850372, -0.904332160949707, -0.6394148468971252, -0.10720458626747131, -0.15438297390937805, -0.19624735414981842, 0.143976628780365, 0.3491438329219818, 0.245191290974617, -0.17638196051120758, -0.11461081355810165, -0.1948857307434082, -0.4407830238342285, 0.24157612025737762, -0.3751753568649292, 0.3892444670200348, -0.2384626567363739, -0.7103796601295471, 0.2756519615650177, -0.6085312962532043, 0.24875377118587494, 0.29989108443260193, -0.36402738094329834, -0.4386027157306671, 0.18061159551143646, -0.0537886917591095, 0.29630374908447266, -0.02767663076519966, -0.25402647256851196, 0.3932894170284271, -0.552629828453064, 0.3639693856239319, 0.4246162176132202, 0.15896601974964142, 0.6717880368232727, -0.2187076061964035, 0.6788080334663391, -0.21603265404701233, 0.3409399092197418, 0.13528256118297577, -0.36171093583106995, -0.9200611114501953, 0.10755614191293716, 0.16838502883911133, 0.3378690481185913, -1.210814118385315, -0.1495477259159088, -0.5056187510490417, -0.42831555008888245, -0.22431239485740662, -0.0010724179446697235, 0.40446069836616516, 0.3111869692802429, 0.7072136998176575, -0.23745465278625488, -0.2945043742656708, -0.7521229982376099, -0.07953465729951859, -0.14254842698574066, -0.18043388426303864, 0.3802243769168854, 0.5442060232162476, -0.4088420271873474, 1.0650005340576172, -0.3491199314594269, -0.26718220114707947, -0.42226189374923706, 0.2795701324939728, -0.08142594993114471, 0.400836318731308, 0.5199555158615112, -1.1361430883407593, -0.45414865016937256, 0.2480224221944809, -0.6149558424949646, 0.33615541458129883, -0.014571674168109894, -0.0070262192748487, 0.21945810317993164, 0.5517148375511169, -0.7709167003631592, 0.6668186783790588, 0.31955385208129883, 0.34406715631484985, 0.39387986063957214, -0.3113436996936798, 0.1818506419658661, -0.5832741260528564, -0.0701107382774353, 0.12746594846248627, -0.31877049803733826, -0.8445314764976501, 0.2072611004114151, 0.14855852723121643, -0.17217224836349487, -0.5948768258094788, 0.901739776134491, -0.5497403144836426, -0.22301626205444336, -0.39136338233947754, 0.2773881256580353, 0.14704465866088867, 0.8177293539047241, 0.17104791104793549, 1.079004168510437, 0.22614644467830658, -0.8511457443237305, 0.2690106928348541, 0.3059563934803009, -0.008706235326826572, 0.36579394340515137, -0.5479148626327515, 0.20766769349575043, 0.2319481372833252, 0.34205520153045654, -0.6439409255981445, -0.36648184061050415, 0.05224050581455231, -0.3253508508205414, 0.2742849290370941, -0.4611646234989166, -0.38434553146362305, -0.44179853796958923, -0.39876309037208557, 0.17362888157367706, 0.6993768811225891, -0.8568272590637207, 0.7781002521514893, 0.12477288395166397, 0.05423906072974205, -0.27757832407951355, -0.3149099349975586, 0.051301635801792145, -0.13934217393398285, -0.5695896744728088, 0.41199639439582825, 0.09572555124759674, -0.10280928760766983, -0.10555865615606308, -0.07282289862632751, -0.17293958365917206, 0.19776952266693115, 0.23405131697654724, -0.06178605929017067, -0.17026884853839874, 0.2942116856575012, 0.08779402822256088, 0.04712023586034775, 0.059056222438812256, -0.7175351977348328, 0.59182208776474, -0.25721874833106995, -0.730678141117096, -0.4869312345981598, 0.19750651717185974, 0.39797544479370117, -0.22961701452732086, 0.5994316935539246, 0.5846459865570068, -0.3662616014480591, -0.2851521670818329, -0.4542439579963684, -0.47053036093711853, -0.5740338563919067, 0.24007903039455414, -0.33491286635398865, -0.7878451943397522, 0.3592308759689331, -0.4758470058441162, -0.32274699211120605, 0.25500473380088806, 0.28318795561790466, -0.14605797827243805, 1.173654556274414, 0.8732589483261108, 0.09926285594701767, 0.5598828196525574, -0.34549614787101746, 0.16307424008846283, -0.5985193252563477, -0.23462820053100586, -0.2292260378599167, -0.4052804708480835, -0.6314281821250916, -0.49542200565338135, 0.4008289575576782, 0.12416181713342667, -0.24784131348133087, 0.19874683022499084, -0.12649832665920258, 0.4105490446090698, 0.9406027793884277, 0.23872916400432587, 0.15593348443508148, 0.16423770785331726, -0.36575430631637573, -0.04340842738747597, -0.7006170153617859, -0.27585071325302124, 0.7919912934303284, 0.012433141469955444, 0.8116248250007629, 0.3487517833709717, 0.3746494650840759, 0.47436293959617615, 0.3547378480434418, -0.9377434849739075, 0.5291264653205872, 0.0947045385837555, -0.46800073981285095, -0.6293859481811523, -0.17081697285175323, -1.0555012226104736, 0.4572778046131134, 0.05584334209561348, -0.8696441054344177, 0.26207712292671204, 0.157632514834404, -0.16066256165504456, 0.2237141877412796, -0.625232994556427, 0.9297574162483215, -0.4846526086330414, -0.5884775519371033, -0.5450187921524048, -0.5966411232948303, 0.12858013808727264, 0.1664416342973709, 0.04760589078068733, 0.45946258306503296, 0.0018521054880693555, 0.2404356300830841, -0.5022155046463013, 0.9590119123458862, -0.4676484167575836, -0.007066015154123306, 0.11258965730667114, 0.23243758082389832, 0.6801701188087463, -0.14412112534046173, 0.15229345858097076, -0.31744909286499023, -0.25433018803596497, -0.43774163722991943, -0.9659616947174072, 0.5176686644554138, -0.6550055742263794, -0.7702975273132324, -0.247966468334198, -0.026784438639879227, -0.6036503314971924, 0.19700318574905396, -0.022754445672035217, 0.46617403626441956, -0.36569589376449585, 0.2345585823059082, 0.8463418483734131, -0.47283345460891724, 0.44423186779022217, 0.6294326782226562, -0.46009311079978943, -0.19912876188755035, 1.111894130706787, -0.31163594126701355, 0.33904027938842773, 0.5961158275604248, 0.20176036655902863, -0.5599309802055359, -0.41599369049072266, -0.4995180666446686, -0.010199672542512417, -0.8172873854637146, 0.06292768567800522, -0.5855541229248047, -0.27920132875442505, -0.0637085884809494, -0.12802278995513916, -0.19833038747310638, -0.3058093786239624, -0.24232718348503113, -0.1096063107252121, 0.24025709927082062, 0.734321653842926, 0.013385101221501827, 0.5084192752838135, -0.6031769514083862, 0.195308119058609, 0.8841277360916138, 0.12244140356779099, 0.42789605259895325, -0.38233280181884766, -0.3631752133369446, 0.11309613287448883, -0.2826288044452667, -0.6539022326469421, 0.39389723539352417, 0.2809317708015442, 0.8738672733306885, 0.30303114652633667, 0.05517598241567612, 0.4794403314590454, -0.538780927658081, 0.8224364519119263, 0.017455600202083588, -0.9176084399223328, 0.5973443984985352, -0.5005030035972595, 0.0808749794960022, 0.45278868079185486, 0.6659044623374939, -0.5215774178504944, 0.03923002630472183, -0.5458059906959534, -0.7883561849594116, 0.8101171851158142, 0.1319345235824585, 0.13563060760498047, 0.11653713136911392, 0.20519398152828217, -0.062156978994607925, 0.41439419984817505, -0.40204447507858276, 0.07424645125865936, -0.46323123574256897, 0.07019232213497162, 0.11906580626964569, 0.06334244459867477, -0.06198538467288017, -0.24841006100177765, 0.9288524985313416, -0.5515333414077759, 0.21578100323677063, -0.0018110891105607152, -0.713977575302124, 0.14501988887786865, 0.2414007931947708, 0.8007282614707947, 0.5738614201545715, -0.026109930127859116, -0.04040662199258804, 0.27431437373161316, -0.375690758228302, 0.23954209685325623, 0.18966272473335266, -0.06088969483971596, -0.13957418501377106, 0.13079163432121277, 0.8807770609855652, 0.5801336765289307, -0.8211855888366699, 0.7068886160850525, -0.38155996799468994, -0.04603300243616104, -0.4264310300350189, 0.23420082032680511, 0.14573881030082703, 0.4299871325492859, 0.4794481694698334, -0.22507429122924805, 0.3712862432003021, -0.47412216663360596, 0.2486417442560196, 0.4546262323856354, -0.6157065033912659, -0.4208064675331116, 0.6871310472488403, 0.22714412212371826, -0.30746638774871826, 0.702338457107544, -0.4247567653656006, -0.6932680010795593, 0.5035330653190613, 0.303958535194397, 0.8174717426300049, -0.15045057237148285, 0.4407517910003662, -0.01991530880331993, 0.24527765810489655, -0.23522092401981354, -0.05459290370345116, -0.15141458809375763, -0.5836372375488281, -0.24250556528568268, -0.39448440074920654, -0.7439237833023071, 0.1353384405374527, -0.6147603392601013, 0.02156549133360386, -0.423220157623291, -0.022998329252004623, -0.09095010906457901, 0.10012781620025635, -0.8759533166885376, 0.28546959161758423, -0.07365185022354126, 0.8594228029251099, -0.4977957606315613, 0.9465712308883667, 0.8696054816246033, -0.7599599957466125, -0.7785788774490356, 0.20293721556663513, -0.008911823853850365, -0.6788266897201538, 0.750290036201477, 0.17148201167583466, -0.4019313454627991, 0.1291431039571762, -0.5713083744049072, -0.6810215711593628, 1.1463406085968018, 0.2729039788246155, -0.1711384356021881, -0.15124225616455078, 0.0990799143910408, 0.7128598093986511, -0.13061515986919403, 0.4157659709453583, 0.47092774510383606, 0.43727198243141174, -0.014848530292510986, -0.8739308714866638, -0.0536164864897728, -0.21442990005016327, 0.11477658897638321, -0.07731922715902328, -0.7571679353713989, 0.5956097841262817, 0.05135683715343475, -0.16473795473575592, 0.3096388578414917, 0.5475060939788818, -0.026692600920796394, 0.08761440962553024, 0.5760283470153809, 0.26773107051849365, 0.8123088479042053, 0.009831169620156288, 1.115496039390564, 0.03473799675703049, 0.27952811121940613, 1.080885410308838, -0.50504070520401, 0.8777947425842285, 0.3560086190700531, -0.11730372905731201, 0.7352067828178406, 0.41204261779785156, 0.28498002886772156, 0.6396777629852295, 0.23215563595294952, -0.34517204761505127, -0.47309842705726624, -0.18662986159324646, -0.08502250164747238, 0.3272021412849426, 0.5147918462753296, -0.027252839878201485, -0.27107080817222595, 0.28109386563301086, -0.1822119504213333, 0.3188510239124298, -0.19536103308200836, 0.8863874673843384, -0.023276356980204582, -0.5676913261413574, 0.5223972797393799, 0.1293191760778427, 0.4943181276321411, -0.6834346652030945, -0.12814192473888397, -0.3826175928115845, 0.2592554986476898, -0.05403667315840721, -0.37143364548683167, -0.21241576969623566, -0.2898551821708679, -0.1634192168712616, -0.21669717133045197, 0.9403918981552124, -0.17420898377895355, -0.12171725928783417, 0.548983097076416, 0.667677104473114, 0.011729546822607517, -0.2709748148918152, -0.5256032347679138, -0.15289388597011566, -0.079827219247818, -0.4303274154663086, 0.589751660823822, 0.43270644545555115, -0.42716893553733826, 0.8959121704101562, 0.6339219808578491, -0.38281410932540894, 0.22356857359409332, 0.3885791003704071, 1.0546960830688477, -0.6101436614990234, -0.4935852289199829, -0.42822396755218506, 0.3982185125350952, -0.23846082389354706, 0.2606804668903351, 0.5174655318260193, 0.4365958273410797, 0.8622040748596191, -0.24392084777355194, 0.9794585108757019, 0.26674166321754456, 0.42274904251098633, -0.6732039451599121, 0.5826758742332458, -0.7715878486633301, -0.07948841154575348, 0.011850074864923954, -0.694356381893158, 0.0017026050481945276, 0.631627082824707, -0.43702057003974915, 0.2599392533302307, 0.5916765332221985, 0.6956708431243896, -0.5919439792633057, 0.16673380136489868, 0.5564037561416626, -0.03737013787031174, 0.6743478178977966, 0.28792262077331543, 1.143720269203186, -0.22606025636196136, 0.6284047961235046, -0.07930967211723328, 0.03368067741394043, -0.5921640992164612, -0.6921229958534241, -1.080675482749939, -0.37724146246910095, 0.05718443915247917, -0.05864865332841873, 0.2622486352920532, 0.9876437187194824, 0.9386491179466248, -0.7547305822372437, -0.1408081352710724, -0.059652164578437805, -0.004310054238885641, -0.3043455481529236, -0.24877627193927765, 0.19739051163196564, -0.4603520631790161, -0.725875198841095, 0.8469855785369873, 0.18315795063972473, 0.11763094365596771, -0.41825172305107117, -0.2501817047595978, -0.25579798221588135, 0.09024127572774887, 0.5783748626708984, 0.6009733080863953, -0.7999403476715088, -0.6183921098709106, 0.1618274301290512, -0.02123452164232731, 0.03612203523516655, 0.7942105531692505, -1.1690598726272583, 0.30737972259521484, 0.04784757271409035, 1.0135071277618408, 0.8717814087867737, 0.04932297393679619, 0.6262784600257874, -0.9541101455688477, 0.22497715055942535, 0.18545380234718323, 0.13718627393245697, 0.37784141302108765, -0.08983223885297775, 0.48534077405929565, 0.06656501442193985, -0.32992076873779297, -0.3778671324253082, 0.3452039659023285, -0.7295759320259094, -0.24495169520378113, 1.0722239017486572, -0.0778849646449089, -0.05284916236996651, -0.04180486127734184, -0.22350597381591797, 0.005323110613971949, -0.47205615043640137, 0.6965835690498352, 0.4628034234046936, -0.1762859970331192, -0.15967442095279694, -0.8773212432861328, 0.6182244420051575, 0.3087177574634552, -0.8204626441001892, -0.2891359329223633, 0.44802311062812805, 0.13079974055290222, 0.231203094124794, 0.3841078281402588, 0.4273208975791931, 0.39722079038619995, -0.1736949384212494, 0.07810519635677338, 0.017769161611795425, -0.3891545236110687, -0.3138701021671295, 0.11327867954969406, 0.21636539697647095, -0.15112778544425964 ]
http://arxiv.org/abs/2404.10877v2
http://arxiv.org/pdf/2404.10877v2
Incubating Text Classifiers Following User Instruction with Nothing but LLM
2024-04-16T19:53:35
2024-05-20T07:42:53
Letian Peng, Jingbo Shang
cs.CL
cs.CL
In this paper, we aim to generate text classification data given arbitrary class definitions (i.e., user instruction), so one can train a small text classifier without any human annotation or raw corpus. Compared with pioneer attempts, our proposed Incubator is the first framework that can handle complicated and even mutually dependent classes (e.g., "TED Talk given by Educator" and "Other"). Specifically, Incubator is an LLM firstly tuned on the instruction-to-data mappings that we obtained from classification datasets and descriptions on HuggingFace together with in-context augmentation by GPT-4. We then refine Incubator by learning on the cluster centers of semantic textual embeddings to emphasize the uniformity and semantic diversity in generations. We compare Incubator on various classification tasks with strong baselines such as direct LLM-based inference and training data generation by prompt engineering. Experiments show Incubator is able to (1) perform well on traditional benchmarks, (2) take label dependency and user preference into consideration, and (3) enable logical text mining by incubating multiple classifiers.
[ -0.23833630979061127, -0.4764936864376068, 0.34598055481910706, 0.12742145359516144, 0.024275770410895348, -0.04326912760734558, -0.28140491247177124, -0.40866178274154663, -0.05683417245745659, 0.2381221204996109, -0.3931381404399872, -0.5050236582756042, -0.4926786720752716, 0.3149557411670685, -0.5160163640975952, 1.1662018299102783, 0.15890085697174072, -0.1912844479084015, -0.46938952803611755, 0.13069577515125275, -0.30673080682754517, -0.6235693097114563, -0.5380752682685852, -0.32052090764045715, 0.3691716492176056, 0.6507925391197205, 0.28071990609169006, 0.7373170852661133, -0.007796645630151033, 0.2593342959880829, 0.12402518838644028, -0.08932214230298996, -0.3872372508049011, 0.12122291326522827, 0.27238598465919495, -0.32089027762413025, 0.20104877650737762, -0.11208934336900711, 0.6050571203231812, 0.7998395562171936, -0.08128312975168228, 0.02030886523425579, 0.31330037117004395, 0.29884859919548035, -0.44166550040245056, 0.20998436212539673, -0.7619484066963196, 0.2866029441356659, -0.33042314648628235, -0.3578375577926636, -0.7123239040374756, -0.27113160490989685, 0.2048787772655487, -0.41343554854393005, 0.3705151379108429, -0.013989623636007309, 0.6428533792495728, 0.25612014532089233, -0.37241172790527344, -0.42080190777778625, -0.5969695448875427, 0.7247181534767151, -0.2822819650173187, 0.309920072555542, -0.04318830743432045, 0.16760313510894775, -0.2765178382396698, -1.0106087923049927, -0.6998339295387268, -0.1433376520872116, -0.20278461277484894, 0.1362287551164627, 0.09144329279661179, 0.05475102365016937, 0.3043776750564575, 0.1482728272676468, -0.31623828411102295, 0.2735503613948822, -0.3651062548160553, -0.04491649195551872, 0.2960064113140106, 0.02116796188056469, 0.5150541067123413, -0.12955783307552338, -0.8681648373603821, -0.027198726311326027, -0.5373846292495728, 0.10835602134466171, 0.2977210581302643, 0.34924277663230896, -0.11952005326747894, 0.5926942229270935, -0.017102694138884544, 0.5420668125152588, 0.037715405225753784, -0.042063429951667786, 0.48848262429237366, 0.0017565302550792694, -0.3089950382709503, 0.4124649465084076, 0.8755366802215576, -0.13448521494865417, 0.07862440496683121, -0.3168867826461792, -0.20137876272201538, 0.2355700433254242, 0.32109618186950684, -0.9919823408126831, -0.31150317192077637, -0.015361502766609192, -0.21391579508781433, -0.5712738633155823, 0.1717744618654251, -0.8622978925704956, -0.32537487149238586, -0.17504596710205078, 0.5121403932571411, -0.34177905321121216, 0.1650373786687851, -0.0034925267100334167, -0.01717054471373558, 0.4752020537853241, 0.3074864447116852, -1.1774934530258179, 0.4474150538444519, 0.6598924994468689, 0.5592292547225952, -0.33053937554359436, -0.35968777537345886, -0.46017828583717346, 0.00436367467045784, -0.10678330063819885, 0.8906084299087524, -0.6090822219848633, -0.4980250597000122, 0.07447241246700287, -0.31201860308647156, -0.19958114624023438, -0.2763391435146332, 0.5111981630325317, -0.41447973251342773, 0.6135367155075073, 0.06949333101511002, -1.1098833084106445, -0.17093542218208313, 0.08664597570896149, -0.2916922867298126, 1.1669591665267944, 0.1518448293209076, -1.0195212364196777, 0.6215404272079468, -0.720538854598999, -0.517731785774231, 0.45308881998062134, -0.7246021628379822, -0.38501033186912537, -0.24449250102043152, -0.07692365348339081, 0.6205140352249146, 0.018739812076091766, 0.010973867028951645, -0.011618304997682571, -0.4142689108848572, 0.2281232625246048, -0.17925363779067993, 0.7687737941741943, -0.10662411898374557, -0.5644621849060059, 0.05408177152276039, -0.9105321168899536, 0.02944580465555191, 0.15650862455368042, -0.6110448837280273, -0.17472857236862183, -0.1132241040468216, 0.13511395454406738, -0.0006052637472748756, 0.19726763665676117, -0.5984645485877991, 0.37128233909606934, -0.27172142267227173, 0.46029558777809143, 0.7159044146537781, 0.10881035774946213, 0.44422483444213867, -0.5438094735145569, 0.44393157958984375, -0.10245471447706223, -0.13506360352039337, -0.45037561655044556, -0.6210636496543884, -1.1774147748947144, -0.38467827439308167, 0.27785706520080566, 0.5403218865394592, -0.6161866784095764, 0.6634870767593384, -0.29054877161979675, -0.3820786774158478, -0.37017500400543213, 0.321798712015152, 0.2372933030128479, 0.5781844258308411, 0.3160252571105957, 0.2481275200843811, -0.5872727632522583, -0.5358927845954895, 0.16764850914478302, 0.01340988464653492, 0.07141148298978806, 0.14917421340942383, 0.325307160615921, -0.5291078090667725, 0.8422092199325562, -0.2623556852340698, -0.08113636076450348, -0.32095497846603394, 0.11106325685977936, 0.0638413280248642, 0.41795119643211365, 0.4024134874343872, -0.6914198398590088, -0.35416179895401, -0.10256726294755936, -0.9847162961959839, -0.04090573638677597, -0.06881345063447952, -0.010665316134691238, 0.3089308440685272, 0.7084987759590149, -0.4138292074203491, 0.40019330382347107, 0.1223694458603859, -0.023314066231250763, 0.3387302756309509, -0.11059562861919403, -0.17366662621498108, -0.8641002774238586, -0.32044875621795654, -0.1524352729320526, -0.16035011410713196, -0.7457764148712158, -0.0590999536216259, 0.13702604174613953, -0.12178125232458115, -0.41469961404800415, 0.6633303761482239, -0.1836339235305786, 0.29048284888267517, -0.42198437452316284, 0.0018329382874071598, -0.14155812561511993, 0.2819570004940033, 0.09129004180431366, 0.6672465801239014, 0.36386507749557495, -0.8525769710540771, -0.09778691083192825, 0.4172859787940979, -0.15120525658130646, 0.21733474731445312, -0.26048851013183594, 0.3219965398311615, -0.08482933044433594, 0.21724636852741241, -0.8970179557800293, -0.4134557247161865, 0.3431069850921631, -0.4470197558403015, 0.3563019335269928, 0.01987418532371521, -0.6656419038772583, -0.3585277199745178, -0.40287911891937256, 0.12983745336532593, 0.6708351373672485, -1.000490427017212, 0.35472604632377625, 0.0736810714006424, -0.05182696133852005, -0.28095582127571106, -0.5884870886802673, -0.16681073606014252, -0.20488236844539642, -0.36504247784614563, 0.11774224787950516, -0.17626312375068665, 0.10114908218383789, 0.08326857537031174, 0.056750405579805374, -0.04098103567957878, 0.08868100494146347, 0.4938673675060272, 0.3432554006576538, -0.1776905059814453, 0.6805498600006104, 0.32118162512779236, -0.3552819490432739, -0.050158239901065826, -0.4290858507156372, 0.32465019822120667, -0.16360719501972198, -0.17183832824230194, -0.4386584758758545, 0.03620476275682449, 0.10585781186819077, 0.2464112490415573, 0.6699577569961548, 0.46061572432518005, -0.4644619822502136, -0.5563061237335205, -0.40435314178466797, -0.21900305151939392, -0.4903506934642792, -0.1411210298538208, -0.3755258023738861, -1.1005313396453857, -0.041442953050136566, -0.004983624443411827, 0.04110568016767502, 0.2776942253112793, 0.5196380615234375, -0.12339318543672562, 0.3980676531791687, 1.0483003854751587, 0.06507176905870438, 0.30614936351776123, 0.029945870861411095, 0.040281012654304504, -0.5835950970649719, -0.3040178418159485, -0.5518835186958313, -0.3032209873199463, -0.6613320708274841, -0.03351892530918121, 0.21017789840698242, -0.07795022428035736, -0.3481622636318207, 0.1644233912229538, -0.8297655582427979, 0.408464640378952, 0.6855124235153198, 0.09651666134595871, 0.24094974994659424, 0.09347406029701233, -0.22966967523097992, -0.1281522512435913, -0.7815080881118774, -0.6662397384643555, 1.2292355298995972, 0.0813845843076706, 0.6405538320541382, -0.34445735812187195, 1.1596754789352417, 0.2057458758354187, 0.6553869247436523, -0.7643890380859375, 0.4996759295463562, -0.126023069024086, -0.3726033568382263, 0.026858076453208923, -0.5423582196235657, -0.9709428548812866, 0.2609906792640686, -0.3359426259994507, -0.7142336964607239, 0.02354678325355053, -0.09662976115942001, -0.35453277826309204, 0.2083982676267624, -0.9343187212944031, 0.6798242926597595, -0.3916037678718567, -0.04806095361709595, 0.44899627566337585, -0.6451438069343567, 0.38729363679885864, -0.12440928816795349, 0.24747218191623688, 0.08513618260622025, -0.2801254391670227, 0.903114378452301, -0.4351850152015686, 1.0657222270965576, -0.3645328879356384, 0.19044438004493713, 0.24756325781345367, -0.10512015223503113, 0.07667316496372223, -0.09061550348997116, 0.027398731559515, -0.032304853200912476, -0.11723646521568298, -0.3024807274341583, -0.426278680562973, 0.6846280097961426, -0.9429470896720886, -0.3610992729663849, -0.6412757039070129, -0.17077569663524628, -0.21765011548995972, 0.32053306698799133, 0.5423458814620972, 0.16061459481716156, 0.00025111623108386993, 0.2768377661705017, 0.7392690777778625, -0.3419530689716339, 0.4014751613140106, 0.37549152970314026, -0.3328458070755005, -0.39737194776535034, 0.923332929611206, -0.0038854689337313175, 0.0711076408624649, 0.5233764052391052, 0.4679408669471741, -0.041920680552721024, -0.36089736223220825, -0.5087154507637024, -0.06191399693489075, -0.7770692110061646, -0.41285353899002075, -0.9594307541847229, -0.6330299377441406, 0.07185888290405273, -0.4088340401649475, -0.06147335469722748, -0.2994190752506256, -0.6197255253791809, -0.323995441198349, 0.5158196091651917, 0.8068251609802246, 0.2294015884399414, 0.6241875886917114, -0.5539373159408569, 0.1543484330177307, 0.35625752806663513, 0.025677496567368507, -0.04486219957470894, -0.40594252943992615, -0.0021157213486731052, -0.24547266960144043, -0.25915443897247314, -0.4352295398712158, -0.013407023623585701, 0.32038161158561707, 0.35627830028533936, 0.46541765332221985, 0.08863642066717148, 0.214692160487175, -0.5356432795524597, 0.6411596536636353, 0.24646693468093872, -0.7570475935935974, 0.5603699088096619, -0.06888078153133392, -0.012751113623380661, 0.6413360238075256, 0.5180719494819641, -0.24620658159255981, -0.266137957572937, -0.7162587642669678, -0.766292929649353, 0.5827579498291016, 0.21550820767879486, 0.3474499583244324, -0.10253297537565231, 0.6796796321868896, 0.7337427735328674, 0.33079296350479126, -0.8583096265792847, -0.23042455315589905, -0.18465113639831543, -0.457360178232193, 0.14858660101890564, -0.2069447636604309, 0.07027032971382141, -0.26892533898353577, 0.5143964886665344, -0.0067411926575005054, 0.3535829782485962, -0.04417753592133522, -0.20879873633384705, 0.12272769957780838, 0.3794671893119812, 0.16423146426677704, 0.2711760699748993, 0.01904132403433323, 0.2891824543476105, 0.12291456758975983, -0.3151151239871979, 0.39844372868537903, 0.17314226925373077, -0.6143466830253601, -0.2330055832862854, 0.4695679545402527, 0.5068858861923218, 0.7012786865234375, -0.5767233967781067, 0.6078939437866211, -0.2925732135772705, -0.09361667186021805, -0.21087504923343658, 0.4611532986164093, -0.02063305489718914, 0.005982609000056982, 0.2996571362018585, 0.039572250097990036, 0.0911564826965332, -0.09057211130857468, 0.4855089485645294, 0.2758241295814514, -0.2763802707195282, -0.21555297076702118, 0.6414151191711426, 0.12494412064552307, -0.059672076255083084, 0.3627123236656189, -0.5264315605163574, -0.4459770917892456, 0.3808854818344116, 0.7921398282051086, 0.8430120944976807, -0.029334653168916702, 0.23180799186229706, 0.07058320939540863, 0.29909661412239075, 0.047020986676216125, 0.16265197098255157, -0.3065422475337982, -0.8440465331077576, -0.07548601925373077, -0.8637948632240295, -0.6246594786643982, 0.0179019533097744, -0.5072640776634216, 0.4664454162120819, -0.7752059102058411, 0.3093041777610779, 0.05926811322569847, 0.084775909781456, -0.8682323694229126, 0.15580031275749207, 0.08849015086889267, 0.8137505054473877, -0.6507988572120667, 0.7422306537628174, 0.8311054110527039, -0.31383296847343445, -0.49247363209724426, 0.04815034568309784, -0.08311884850263596, -0.7645999789237976, 0.5259724855422974, 0.7627718448638916, -0.08739499002695084, 0.2652098834514618, -0.6790026426315308, -0.2973441481590271, 0.948674738407135, 0.09665440768003464, -0.5642321705818176, 0.2876112759113312, 0.015362512320280075, 0.45245206356048584, -0.540867030620575, 0.12805847823619843, 0.2977481186389923, 0.33460351824760437, 0.22024522721767426, -0.22632651031017303, -0.0032352302223443985, -0.24296674132347107, 0.08928219228982925, -0.01998060755431652, -0.5497339963912964, 0.6607670187950134, -0.19069670140743256, -0.38240131735801697, 0.30637308955192566, 0.696617603302002, 0.08992300927639008, 0.45781731605529785, 0.39562466740608215, 0.7585235834121704, 0.9215226769447327, -0.061190903186798096, 1.035083293914795, -0.14723370969295502, 0.15984319150447845, 1.2633148431777954, -0.40526703000068665, 0.9161949753761292, 0.2444685995578766, -0.1508963704109192, 0.6522319912910461, 0.5367113947868347, -0.01048285048455, 0.2512950003147125, 0.3140963912010193, -0.49547070264816284, 0.008314209058880806, 0.08050867915153503, -0.5226782560348511, 0.3800079822540283, 0.24500784277915955, -0.08756205439567566, -0.3907449245452881, 0.40924450755119324, 0.24700023233890533, 0.06528652459383011, 0.09668932110071182, 1.0316420793533325, 0.042459502816200256, -0.15115396678447723, 0.30849745869636536, 0.049696363508701324, 0.8915820717811584, -0.5205057263374329, 0.10568920522928238, -0.13705863058567047, 0.17306014895439148, -0.3789709806442261, -0.5605544447898865, -0.16065919399261475, 0.2796856462955475, -0.2277645319700241, -0.17194725573062897, 0.810946524143219, -0.27071768045425415, -0.6279828548431396, 0.3325560390949249, 0.42488059401512146, 0.1325191706418991, 0.28021156787872314, -0.206025630235672, 0.12910793721675873, -0.245052307844162, -0.24804455041885376, 0.31987568736076355, 0.8282149434089661, 0.285186767578125, 0.47378456592559814, 0.6733555793762207, -0.23128631711006165, 0.36405909061431885, -0.09078508615493774, 0.9864639639854431, -0.7326550483703613, -0.29911401867866516, -0.8661144971847534, 0.24405726790428162, 0.2483394891023636, -0.2746129333972931, 0.8141294121742249, 0.629503071308136, 0.960377037525177, -0.03380661457777023, 1.2544608116149902, -0.18156422674655914, 0.40219220519065857, -0.5245968103408813, 0.5892078280448914, -0.22594021260738373, 0.20441126823425293, 0.10633521527051926, -0.8482915163040161, -0.4758928120136261, 0.6130098104476929, -0.2211226224899292, 0.22221635282039642, 0.6808171272277832, 0.40551361441612244, -0.03652775660157204, 0.42340007424354553, 0.030001014471054077, 0.2527725398540497, 0.42025476694107056, 0.32863426208496094, 0.9646929502487183, -0.20865724980831146, 0.5179056525230408, -0.3213672637939453, -0.5881483554840088, -0.3667222559452057, -0.8385940790176392, -1.158030390739441, -0.27181777358055115, -0.20700271427631378, -0.21695835888385773, -0.029272280633449554, 1.0586190223693848, 0.5238001942634583, -0.7131426930427551, -0.09288295358419418, -0.3596005439758301, 0.12380286306142807, -0.0015457607805728912, -0.27843809127807617, 0.1985350102186203, -0.9971709251403809, -0.4319755434989929, 0.3466328978538513, 0.29038897156715393, 0.12297819554805756, -0.1982019990682602, -0.001976141706109047, 0.018500961363315582, -0.09156400710344315, 0.5748700499534607, 0.3395349979400635, -0.25664687156677246, -0.40716424584388733, -0.195791557431221, -0.12854336202144623, 0.31089645624160767, 0.6034952998161316, -0.9688870906829834, 0.6120508313179016, 0.08682117611169815, 1.0373517274856567, 0.5597238540649414, -0.2693363130092621, -0.020900847390294075, -0.946636974811554, 0.1699255108833313, 0.21066448092460632, 0.1303660124540329, 0.4409756064414978, -0.44251903891563416, 0.33215251564979553, 0.2939385771751404, -0.5566258430480957, -0.6589086651802063, 0.008480883203446865, -0.9427011013031006, 0.0680587887763977, 0.8879379034042358, 0.01001479011029005, -0.22501085698604584, 0.1979280710220337, -0.24746325612068176, 0.13086973130702972, -0.4887746274471283, 0.8296815156936646, 0.4709188640117645, -0.34448543190956116, -0.08034397661685944, -0.5242879390716553, 0.3664907217025757, -0.1174534410238266, -1.3169666528701782, -0.39903461933135986, 0.12784287333488464, 0.34432539343833923, 0.1337333619594574, 0.523127555847168, -0.00005186349153518677, 0.002970181405544281, 0.1947055459022522, 0.18000882863998413, -0.021286895498633385, -0.4750748872756958, -0.18675844371318817, 0.32407665252685547, -0.13176313042640686, -0.37629440426826477 ]
http://arxiv.org/abs/2404.10859v1
http://arxiv.org/pdf/2404.10859v1
Forcing Diffuse Distributions out of Language Models
2024-04-16T19:17:23
2024-04-16T19:17:23
Yiming Zhang, Avi Schwarzschild, Nicholas Carlini, Zico Kolter, Daphne Ippolito
cs.CL
cs.CL, cs.LG
Despite being trained specifically to follow user instructions, today's language models perform poorly when instructed to produce random outputs. For example, when prompted to pick a number uniformly between one and ten Llama-2-13B-chat disproportionately favors the number five, and when tasked with picking a first name at random, Mistral-7B-Instruct chooses Avery 40 times more often than we would expect based on the U.S. population. When these language models are used for real-world tasks where diversity of outputs is crucial, such as language model assisted dataset construction, their inability to produce diffuse distributions over valid choices is a major hurdle. In this work, we propose a fine-tuning method that encourages language models to output distributions that are diffuse over valid outcomes. The methods we introduce generalize across a variety of tasks and distributions and make large language models practical for synthetic dataset generation with little human intervention.
[ -0.368821382522583, -0.6540202498435974, 0.4868234694004059, 0.5196428894996643, -0.23050464689731598, -0.11337724328041077, -0.3772951066493988, -0.35712504386901855, -0.24658514559268951, 0.5936028361320496, -0.49317437410354614, -0.3768683969974518, -0.7270336747169495, 0.0199885256588459, -0.6082146167755127, 1.1592308282852173, 0.16783495247364044, -0.03761839494109154, 0.13478951156139374, -0.0858437791466713, -0.35816124081611633, -0.3354746997356415, -0.8241321444511414, -0.24487851560115814, 0.5860496759414673, 0.4513731002807617, 0.9410961866378784, 0.5793681144714355, 0.3153020739555359, 0.23597607016563416, -0.06739399582147598, 0.5094513893127441, -0.8259562849998474, 0.11517578363418579, -0.26430511474609375, -0.45650506019592285, -0.1586889624595642, -0.0759706050157547, 0.6613603234291077, 1.039711833000183, -0.4018074870109558, 0.10441654175519943, 0.07083849608898163, 0.5675482749938965, -0.7046508193016052, -0.2236955314874649, -0.8198336958885193, -0.2234911322593689, -0.3966485261917114, 0.19091880321502686, -0.6726297736167908, -0.3816484212875366, 0.01100127026438713, -0.4743407964706421, 0.4023391008377075, -0.049712467938661575, 0.7007179260253906, 0.06603195518255234, -0.3120582103729248, -0.21833452582359314, -1.1622110605239868, 1.0085628032684326, -0.575541079044342, 0.3467082679271698, 0.685413122177124, 0.26835745573043823, -0.17317256331443787, -0.36349382996559143, -0.4376959204673767, -0.21100106835365295, 0.13446059823036194, -0.2447921186685562, -0.27629488706588745, 0.019719695672392845, 0.1737932711839676, -0.07439028471708298, -0.2940775752067566, 0.23220309615135193, -0.4825774133205414, -0.05834275111556053, 0.7427853345870972, 0.28510355949401855, 0.20057767629623413, 0.22358493506908417, 0.18321484327316284, -0.27937546372413635, -0.8338847160339355, -0.2502371370792389, 0.720599353313446, 0.5457561612129211, -0.004131736699491739, 0.5496828556060791, -0.2794908583164215, 0.8326137661933899, 0.35370704531669617, 0.125911146402359, 0.24261942505836487, -0.1081659346818924, -0.356316477060318, -0.3873234987258911, 0.6100292801856995, 0.061025600880384445, 0.5581141114234924, -0.04400815814733505, -0.319901704788208, -0.01365190651267767, 0.20560428500175476, -0.5618441700935364, -0.27211087942123413, 0.25165635347366333, -0.28561273217201233, -0.4741944968700409, -0.1113913357257843, -0.5821552872657776, -0.5067071318626404, -0.2877714931964874, 0.11031123995780945, -0.48452720046043396, -0.33594581484794617, 0.29747840762138367, -0.2582724988460541, -0.3487239181995392, 0.4953596591949463, -1.1591802835464478, 0.3536902964115143, 0.3217836618423462, 0.4571065604686737, -0.22049272060394287, -0.2694675624370575, -0.5075403451919556, 0.25431737303733826, -0.5081433653831482, 0.8835201263427734, -0.8401671648025513, -0.4832054376602173, -0.07069440931081772, -0.278028666973114, 0.13107521831989288, -0.9446825981140137, 0.11082310974597931, -0.3531290292739868, 0.097312793135643, -0.10023266822099686, -0.5265398621559143, 0.19301582872867584, -0.22938841581344604, -0.5539100766181946, 0.8047614097595215, 0.2501189708709717, -0.661520779132843, 0.6071245074272156, -0.3201739192008972, -0.4077953100204468, -0.038162440061569214, -0.23459234833717346, -0.38970938324928284, 0.23740613460540771, 0.15045742690563202, 0.5746606588363647, -0.09080364555120468, 0.4854583740234375, -0.5138461589813232, -0.30271080136299133, 0.15187998116016388, -0.7704979181289673, 0.8211831450462341, 0.4660719335079193, -0.05686338245868683, -0.16318565607070923, -0.878044605255127, -0.12143966555595398, -0.04898058995604515, -0.4114057123661041, -0.5160603523254395, 0.1203179731965065, 0.1868484616279602, -0.0707414522767067, -0.18941639363765717, -0.2579590082168579, 0.28216221928596497, -0.43760567903518677, 0.11006662249565125, 0.8855076432228088, 0.023193228989839554, 0.9483516216278076, -0.4014279842376709, 0.5182126760482788, 0.24151651561260223, 0.19034019112586975, 0.39491310715675354, -0.5266911387443542, -0.46979427337646484, -0.39320001006126404, 0.2872083783149719, 0.4972054958343506, -0.6587230563163757, 0.34546685218811035, -0.13163943588733673, -0.5593225955963135, -0.5478172302246094, 0.46780529618263245, 0.05364463850855827, 0.2870781421661377, 0.09038963168859482, -0.028744151815772057, -0.5716087818145752, -0.9241237044334412, -0.22109636664390564, -0.035069067031145096, -0.12628184258937836, 0.3032478988170624, 0.12670838832855225, -0.39386895298957825, 1.0898548364639282, -0.7009304165840149, -0.10248187929391861, -0.5588913559913635, 0.18460142612457275, 0.22801895439624786, 0.4809410870075226, 0.5998173356056213, -0.8782476782798767, -0.4161815643310547, -0.07202424108982086, -0.24467186629772186, -0.29433494806289673, -0.4010023772716522, -0.4663762152194977, 0.07984452694654465, 0.37564876675605774, -0.4341292977333069, 0.3657483160495758, 0.5733976364135742, -0.2520803213119507, 0.38977181911468506, -0.28722479939460754, -0.38480469584465027, -1.0490864515304565, -0.14095768332481384, -0.0143305454403162, -0.20271995663642883, -0.6517508029937744, -0.18608158826828003, -0.022607827559113503, 0.16205473244190216, -0.46891701221466064, 0.9392232298851013, -0.33063775300979614, 0.362873911857605, -0.08677629381418228, -0.22905658185482025, -0.2030792087316513, 0.07118069380521774, 0.10456016659736633, 0.4661563038825989, 0.5232309103012085, -0.7950927019119263, 0.17213955521583557, 0.21746328473091125, -0.30634254217147827, 0.3499499559402466, -0.5471802353858948, -0.22870990633964539, -0.3901960849761963, 0.3371681272983551, -0.8716781139373779, -0.3095923364162445, 0.11259377747774124, 0.013583831489086151, 0.302448570728302, -0.11611240357160568, -0.423967182636261, -0.0033447933383286, -0.041700731962919235, 0.4737074673175812, 0.6924389600753784, -0.43782973289489746, 0.2720399796962738, 0.3735550343990326, -0.0710788443684578, -0.4821108877658844, -0.8255590200424194, -0.2170090228319168, -0.3285943567752838, -0.579241156578064, 0.049830809235572815, -0.3904721736907959, -0.4959356188774109, -0.3072148859500885, 0.10837755352258682, -0.31746819615364075, 0.13053569197654724, 0.1849917769432068, 0.06531098484992981, 0.22731801867485046, 0.2684309184551239, 0.3509043753147125, 0.09303119778633118, -0.3563927710056305, -0.15519914031028748, 0.350676953792572, 0.5635345578193665, -0.5779716968536377, -0.02423780970275402, 0.5104269981384277, 0.25961071252822876, 0.0512906089425087, 0.8848398327827454, 0.4904879629611969, -0.18711285293102264, -0.8477696776390076, -0.39538300037384033, -0.22855903208255768, -0.5178595185279846, 0.47523555159568787, -0.2786891460418701, -0.833499014377594, 0.5247063636779785, -0.15276789665222168, 0.32564792037010193, 0.20716333389282227, 0.7671296000480652, -0.040469083935022354, 1.2401845455169678, 0.6639820337295532, 0.08020968735218048, 0.7723022699356079, -0.1940169334411621, 0.165029376745224, -0.4477006494998932, 0.21256977319717407, -0.4413849115371704, -0.24613231420516968, -0.6024248600006104, -0.37507203221321106, 0.21572242677211761, 0.04296034947037697, -0.11099322140216827, 0.09394427388906479, -0.5555969476699829, 0.5037010312080383, 0.54703289270401, 0.12177066504955292, 0.03615671768784523, 0.30361407995224, -0.0285382978618145, 0.050553709268569946, -0.5932503342628479, -0.3815569579601288, 1.2389856576919556, 0.15599943697452545, 1.2173594236373901, 0.1414591670036316, 1.1293529272079468, 0.42827901244163513, 0.5100119709968567, -0.22866131365299225, 0.3801468014717102, -0.5019965171813965, -0.6429363489151001, -0.6296806335449219, -0.5913582444190979, -1.141607642173767, 0.12864699959754944, 0.07334654033184052, -0.5937094688415527, 0.5496783256530762, 0.30463114380836487, -0.42794474959373474, -0.0012014758540317416, -0.9279570579528809, 0.5100265741348267, 0.34508827328681946, -0.09816375374794006, -0.04773576185107231, -0.2187451869249344, 0.5450230240821838, -0.18582196533679962, 0.5783730149269104, -0.32856494188308716, 0.14229342341423035, 0.341343492269516, -0.48522481322288513, 1.2069616317749023, -0.1564803421497345, -0.42736145853996277, 0.33326655626296997, 0.4132814109325409, 0.6757793426513672, 0.2939450144767761, -0.376631498336792, -0.055484067648649216, -0.2874465882778168, -0.38416656851768494, -0.5082805752754211, 0.5915026068687439, -0.9000611305236816, -0.4403824210166931, 0.06201345846056938, -0.5904656052589417, -0.14461582899093628, 0.014886761084198952, 0.7283071279525757, 0.3784250020980835, -0.24278029799461365, -0.16473321616649628, 0.6455976963043213, -0.16815736889839172, 0.20729787647724152, 0.35464343428611755, -0.2824413776397705, -0.30343714356422424, 1.133722186088562, 0.40972527861595154, 0.733425498008728, 0.11102021485567093, 0.07739584147930145, -0.07255415618419647, -0.551602303981781, -0.3650320768356323, 0.17256233096122742, -0.7428763508796692, -0.162406325340271, -0.44653332233428955, -0.25825369358062744, -0.3922371566295624, -0.2759226858615875, -0.23953008651733398, -0.6393808126449585, -0.48120689392089844, -0.21709361672401428, 0.33438289165496826, 0.9142554402351379, -0.32935112714767456, 0.35786503553390503, -0.695393443107605, 0.47945815324783325, 0.49394339323043823, 0.4270689785480499, -0.049374960362911224, -0.700203001499176, -0.15919604897499084, 0.40215739607810974, -0.2132195681333542, -0.7787492275238037, 0.4534609317779541, 0.5103991627693176, 0.5020419955253601, 0.3760039806365967, 0.05047281086444855, 0.5932213664054871, -0.7319886684417725, 0.5136095881462097, -0.10527818650007248, -0.6732498407363892, 0.5201963186264038, -0.4473213255405426, 0.357505202293396, 0.377663254737854, 0.08795236796140671, -0.5257051587104797, -1.0897666215896606, -0.7507994174957275, -0.8260109424591064, 0.836747944355011, 0.4088078439235687, 0.5862548351287842, -0.37248724699020386, 0.10042993724346161, 0.38060706853866577, 0.05306177958846092, -0.6635189056396484, -0.3390839397907257, 0.06140778586268425, -0.42196428775787354, -0.07711479067802429, -0.32898250222206116, -0.07394403219223022, -0.23340696096420288, 0.5382767915725708, -0.04346068203449249, -0.012717953883111477, -0.14723458886146545, -0.04813963919878006, -0.32858946919441223, 0.20867054164409637, 0.7566460371017456, 0.6363986730575562, 0.021783124655485153, 0.2970549762248993, 0.11545503884553909, -0.5326310992240906, 0.22475196421146393, -0.0028751660138368607, -0.4820603132247925, 0.06161917746067047, 0.19850072264671326, 0.6875858306884766, 0.04937887564301491, -0.6495868563652039, 0.1367683708667755, -0.14707373082637787, -0.2785055935382843, -0.1164044588804245, 0.5184227824211121, 0.3344632387161255, 0.04530353471636772, 0.2645457684993744, 0.3528478145599365, 0.15412312746047974, -0.1376177817583084, 0.23009786009788513, 0.5776728987693787, 0.12313562631607056, -0.32929036021232605, 0.5192054510116577, 0.16035352647304535, -0.2399487942457199, 0.7386810779571533, -0.4735416769981384, 0.06568285822868347, 0.593467652797699, 0.5132436156272888, 0.7936756610870361, -0.3564016819000244, 0.5623832941055298, 0.20407111942768097, 0.18314437568187714, -0.6229633688926697, 0.37834298610687256, 0.16893750429153442, -1.1145033836364746, -0.27619779109954834, -0.7889606356620789, -0.18021279573440552, -0.011613309383392334, -0.4294731914997101, 0.30404919385910034, -0.46360015869140625, -0.21664074063301086, 0.11984089761972427, -0.45055660605430603, -0.8623059988021851, 0.08878963440656662, 0.4223039746284485, 0.7444547414779663, -1.1520057916641235, 0.9015426635742188, 0.5426575541496277, -0.28959646821022034, -0.691886305809021, -0.22584445774555206, -0.2216939479112625, -0.7570309638977051, 0.7701432108879089, -0.3107624351978302, 0.34424588084220886, 0.07237783074378967, -0.962083101272583, -1.007405400276184, 0.6299471259117126, 0.6816220283508301, -0.6711965799331665, 0.05205425247550011, 0.42255520820617676, 0.4943114221096039, -0.29632312059402466, 0.20490607619285583, 0.4034934937953949, 0.5203667283058167, 0.1571539044380188, -0.8548061847686768, -0.18297521770000458, 0.009770400822162628, 0.2845233678817749, 0.23365962505340576, -0.4354780912399292, 0.924224853515625, -0.35519540309906006, -0.24716392159461975, -0.18467669188976288, 0.5885082483291626, 0.5998674035072327, -0.12996788322925568, 0.6505815386772156, 0.3459482491016388, 0.9149293303489685, 0.23769323527812958, 1.0725146532058716, 0.18889476358890533, 0.3176148533821106, 1.2430521249771118, -0.35468024015426636, 0.7495170831680298, 0.5285101532936096, -0.312625914812088, 0.4289152920246124, 0.5950631499290466, -0.03286841884255409, 0.7235515117645264, 0.5059027075767517, -0.27698832750320435, -0.46142518520355225, 0.07055183500051498, 0.05408667400479317, 0.19311420619487762, 0.4990570843219757, -0.29851847887039185, -0.4477555751800537, 0.16381481289863586, -0.2004130780696869, 0.08057078719139099, 0.0045996857807040215, 0.6593045592308044, 0.1118999794125557, -0.45214512944221497, 0.6822046637535095, -0.11235717684030533, 0.6026102304458618, -0.5475566983222961, -0.18399065732955933, -0.514305830001831, 0.18191057443618774, -0.1931203454732895, -0.6964481472969055, 0.39689362049102783, 0.03168991953134537, -0.5925866365432739, -0.4299211800098419, 0.3374914526939392, -0.7192540764808655, -0.8637107014656067, 0.09032067656517029, 0.5182314515113831, -0.0029043841641396284, 0.020383041352033615, -0.500545859336853, 0.016633929684758186, 0.22684967517852783, -0.5332003235816956, 0.6033859848976135, 0.6951258182525635, -0.33618590235710144, 0.8622666001319885, 0.633699893951416, 0.3310833275318146, 0.35959017276763916, 0.4401618242263794, 0.6767381429672241, -0.3132888972759247, -0.46711358428001404, -0.9040926098823547, 0.5217486619949341, -0.021935872733592987, -0.21845120191574097, 0.46494996547698975, 0.2542068362236023, 0.8304408192634583, -0.19130496680736542, 1.1423133611679077, -0.10122380405664444, 0.47582826018333435, -0.20414210855960846, 0.6461812853813171, -0.343597948551178, 0.49589335918426514, -0.09465425461530685, -0.8233077526092529, -0.3714251220226288, 0.4721698760986328, -0.2235937863588333, 0.191120445728302, 0.22005301713943481, 0.7986311912536621, -0.2505151033401489, -0.4527928829193115, 0.5446096658706665, 0.33878186345100403, 0.5075166821479797, 0.3318549692630768, 0.6450548768043518, -0.03578217327594757, 0.6584745049476624, -0.2966667413711548, -0.16255968809127808, -0.1297760009765625, -0.7405275106430054, -0.7818570137023926, -0.46260300278663635, -0.2806938886642456, -0.15639600157737732, -0.0957159548997879, 0.8488284945487976, 0.8419857621192932, -0.9010595679283142, -0.27158987522125244, -0.31049948930740356, 0.2514219582080841, -0.2572486400604248, -0.2455221563577652, 0.07742922008037567, -0.5905823707580566, -0.8404867649078369, 0.20220278203487396, -0.05293755233287811, 0.30034124851226807, -0.2012249231338501, -0.022918278351426125, 0.10930538922548294, 0.19834205508232117, 0.36573541164398193, 0.09297453612089157, -0.7270966172218323, -0.34197086095809937, -0.1170799508690834, -0.4118970036506653, -0.21129077672958374, 0.36194300651550293, -0.7198907732963562, 0.2636813223361969, 0.4357917904853821, 0.3443359434604645, 0.09013968706130981, -0.09291008859872818, 0.9868232011795044, -1.2074705362319946, 0.20381653308868408, 0.23687748610973358, 0.15252256393432617, 0.20205098390579224, -0.5411504507064819, 0.36285150051116943, 0.01923612877726555, -0.5273966789245605, -0.9603549838066101, 0.32078444957733154, -0.5681762099266052, -0.38796669244766235, 1.5136195421218872, 0.20878389477729797, -0.11231722682714462, -0.23576191067695618, -0.43333256244659424, 0.004514816217124462, -0.6073368191719055, 0.8498038649559021, 0.7374645471572876, -0.061070237308740616, 0.01707872934639454, -0.3845236599445343, 0.8960821032524109, 0.38006260991096497, -0.550611138343811, 0.5391590595245361, 0.4618590474128723, 0.5227867364883423, -0.16351930797100067, 0.773304283618927, 0.36976513266563416, 0.18562155961990356, -0.16095222532749176, 0.08412645012140274, 0.238276407122612, -0.12274494767189026, -0.4479341506958008, 0.009647470898926258, 0.2949787378311157, 0.16694633662700653 ]
http://arxiv.org/abs/2404.10857v1
http://arxiv.org/pdf/2404.10857v1
D3CODE: Disentangling Disagreements in Data across Cultures on Offensiveness Detection and Evaluation
2024-04-16T19:12:03
2024-04-16T19:12:03
Aida Mostafazadeh Davani, Mark Díaz, Dylan Baker, Vinodkumar Prabhakaran
cs.CL
cs.CL
While human annotations play a crucial role in language technologies, annotator subjectivity has long been overlooked in data collection. Recent studies that have critically examined this issue are often situated in the Western context, and solely document differences across age, gender, or racial groups. As a result, NLP research on subjectivity have overlooked the fact that individuals within demographic groups may hold diverse values, which can influence their perceptions beyond their group norms. To effectively incorporate these considerations into NLP pipelines, we need datasets with extensive parallel annotations from various social and cultural groups. In this paper we introduce the \dataset dataset: a large-scale cross-cultural dataset of parallel annotations for offensive language in over 4.5K sentences annotated by a pool of over 4k annotators, balanced across gender and age, from across 21 countries, representing eight geo-cultural regions. The dataset contains annotators' moral values captured along six moral foundations: care, equality, proportionality, authority, loyalty, and purity. Our analyses reveal substantial regional variations in annotators' perceptions that are shaped by individual moral values, offering crucial insights for building pluralistic, culturally sensitive NLP models.
[ -0.340240478515625, -0.29996761679649353, 0.2309391349554062, 0.44058704376220703, -0.21749991178512573, 0.09138579666614532, -0.22519810497760773, -0.529808521270752, -0.1715615689754486, 0.48739445209503174, -0.28538933396339417, -0.6870148777961731, -1.0029100179672241, 0.5284234881401062, -0.14254221320152283, 1.2333672046661377, 0.06016891822218895, -0.0816892609000206, 0.03922712430357933, -0.761603832244873, -0.15445508062839508, -0.8253152370452881, -0.3608423173427582, -0.09502604603767395, 0.5242379903793335, 0.3935500681400299, 0.7612447738647461, 0.789664089679718, 0.6772368550300598, 0.2509624660015106, -0.22650355100631714, -0.009416145272552967, -0.5815345048904419, 0.03240285813808441, -0.38432908058166504, -0.46225160360336304, -0.36446595191955566, 0.12961842119693756, 0.12706033885478973, 0.4752281904220581, 0.19916877150535583, 0.4824860394001007, -0.09624459594488144, 0.7799460291862488, -0.8190016746520996, 0.3119491636753082, -0.5448939204216003, 0.31058305501937866, -0.41382384300231934, 0.16041341423988342, -0.15159018337726593, -0.4958212375640869, -0.06627035140991211, -0.5754321813583374, 0.194496288895607, -0.2924087643623352, 0.5995600819587708, 0.3617474436759949, -0.47688058018684387, -0.28833457827568054, -0.438193678855896, 0.8594964742660522, -0.5408331155776978, 0.11697831004858017, 0.7974282503128052, -0.0009543694322928786, 0.32268404960632324, -0.5589552521705627, -0.7191248536109924, 0.36538124084472656, -0.1872880607843399, 0.08602384477853775, -0.34953027963638306, -0.28068625926971436, 0.48984354734420776, 0.43156400322914124, -0.15380147099494934, 0.3768486976623535, -0.4551554024219513, -0.000537496292963624, 0.8685904145240784, 0.18763962388038635, 0.4684056341648102, -0.33207133412361145, -0.20455914735794067, 0.045650169253349304, -0.658307671546936, 0.2700916826725006, 0.779362142086029, 0.26758885383605957, -0.28317636251449585, 0.432186484336853, -0.2740798592567444, 0.3436565101146698, -0.036961544305086136, 0.07213900983333588, 0.47546347975730896, -0.19911623001098633, 0.08694649487733841, 0.07752031832933426, 0.9936201572418213, 0.9655661582946777, 0.7612187266349792, 0.16238701343536377, -0.11119101196527481, 0.22649407386779785, 0.31367745995521545, -0.7582576274871826, -0.28098559379577637, 0.2724909484386444, -0.5268033742904663, -0.3639182448387146, -0.15758578479290009, -0.8564744591712952, -0.811912477016449, -0.21477577090263367, -0.3590492904186249, -0.2781495451927185, -0.393791526556015, 0.15027034282684326, -0.2109973281621933, 0.12146015465259552, 0.0414673313498497, -1.1171987056732178, 0.25725704431533813, 0.8192502856254578, 0.6295437812805176, -0.12746809422969818, -0.28589189052581787, -0.22414132952690125, -0.13011384010314941, -0.22647830843925476, 0.2838221490383148, -0.849648654460907, -0.14566074311733246, 0.007991917431354523, -0.06269454210996628, 0.3823312222957611, -0.5089467763900757, 0.9591599702835083, -0.4711451232433319, -0.048716891556978226, -0.7030799388885498, -0.004638741724193096, -0.4780212342739105, 0.19382566213607788, -0.8068925142288208, 0.7217755317687988, 0.011230596341192722, -1.1992161273956299, 0.7234079241752625, -0.6641278266906738, -0.4637473523616791, 0.28465017676353455, -0.30096593499183655, -0.3400733172893524, 0.13053259253501892, 0.5950700640678406, 0.5388821363449097, -0.3232150077819824, 0.24196414649486542, -0.46449440717697144, -0.5164303779602051, 0.23975537717342377, -0.44152647256851196, 1.1450315713882446, 0.20258057117462158, -0.4777284562587738, -0.16469234228134155, -0.6216245889663696, -0.4389984607696533, 0.36878344416618347, -0.15633584558963776, -0.6642746925354004, 0.08719824999570847, 0.06518951803445816, 0.37760552763938904, -0.03547723591327667, -0.8029098510742188, -0.2057536095380783, -0.08210781216621399, 0.49102655053138733, 0.7547516822814941, -0.3351064622402191, 0.14028678834438324, -0.40255919098854065, 0.49081936478614807, 0.2408994734287262, 0.22136682271957397, 0.10507906973361969, -0.4344949424266815, -0.4931587278842926, -0.21334773302078247, -0.213148832321167, 0.6019609570503235, -0.623772144317627, 0.34620359539985657, -0.4576473534107208, -0.3307107388973236, -0.6677917838096619, 0.15720531344413757, 0.38830307126045227, 0.25500231981277466, 0.41985923051834106, -0.0933002158999443, -0.4909302890300751, -1.1017534732818604, -0.4412611424922943, -0.6197932362556458, 0.02451903559267521, 0.1950765699148178, 0.3872160017490387, 0.07954484224319458, 0.9356129169464111, -0.4342529773712158, -0.4116142690181732, -0.19085592031478882, 0.1479702591896057, 0.07051803171634674, 0.36718106269836426, 0.7541359663009644, -0.9767654538154602, -0.33052122592926025, 0.05282516032457352, -0.9822990298271179, -0.2616058588027954, 0.26232388615608215, 0.027544014155864716, 0.13575604557991028, 0.11479225009679794, 0.11973053216934204, 0.49493294954299927, 0.674654483795166, -0.230676531791687, 0.17349374294281006, 0.34599921107292175, 0.48569685220718384, -0.8492854833602905, -0.010599241591989994, 0.16765448451042175, 0.14035262167453766, -0.43647509813308716, -0.17735283076763153, 0.00016477440658491105, 0.11365735530853271, -0.6006437540054321, 0.27480608224868774, -0.10631629824638367, 0.23291823267936707, 0.09768720716238022, 0.03296780213713646, 0.11548967659473419, 0.36585474014282227, 0.1722842901945114, 0.8039875030517578, 0.28054651618003845, -0.28236955404281616, 0.42667439579963684, 0.6146430969238281, -0.16268621385097504, 0.9173874855041504, -0.5185131430625916, 0.2536178231239319, -0.43035653233528137, 0.15570864081382751, -0.653369665145874, -0.16623260080814362, 0.469059020280838, -0.3076937198638916, -0.40284454822540283, -0.6470375061035156, -0.5275599956512451, -0.4424973428249359, -0.3896811902523041, 0.9184948205947876, 0.3042420446872711, -0.6199055910110474, 0.24338756501674652, 0.6424995064735413, -0.35449567437171936, -1.0290447473526, -0.8892175555229187, 0.11382350325584412, -0.7042946219444275, -0.5300279259681702, -0.22802646458148956, 0.3072567880153656, -0.5650119185447693, -0.2419024407863617, 0.11926908791065216, -0.23420582711696625, 0.18721677362918854, 0.28469040989875793, -0.12203074991703033, -0.007556091528385878, 0.036613743752241135, -0.09103552997112274, 0.11851336061954498, 0.5181546211242676, -0.12557445466518402, 0.20639066398143768, -0.4171905219554901, -0.28854748606681824, -0.1865168809890747, 0.499670147895813, 0.5114845037460327, -0.4822103977203369, 0.44018828868865967, 0.6455425024032593, -0.3256649672985077, 0.04095817729830742, -0.519582986831665, 0.14413531124591827, -0.4352531433105469, 0.34756848216056824, -0.3238799571990967, -0.969897449016571, 0.8026891946792603, 0.3552151918411255, 0.15379901230335236, 0.4361794590950012, 0.42068207263946533, 0.05594492703676224, 0.7537592649459839, 0.2843812108039856, 0.020684096962213516, 0.19548657536506653, -0.0884748175740242, 0.13085730373859406, -0.7741461992263794, -0.14258232712745667, -0.4349447190761566, -0.5193941593170166, -0.7958246469497681, -0.33522945642471313, 0.011538892984390259, -0.0113902036100626, -0.39046186208724976, 0.16521036624908447, -0.5221699476242065, 0.6614273190498352, 0.09559459984302521, 0.0007645066943950951, 0.2836839258670807, -0.08217734843492508, 0.023774228990077972, -0.39543095231056213, -0.3800193667411804, -0.8288024663925171, 1.0848653316497803, 0.5038924217224121, 0.5480036735534668, 0.41246792674064636, 0.544596254825592, 0.4269338846206665, 0.3514895737171173, -0.6865095496177673, 0.27209851145744324, -0.6364012956619263, -0.8179239630699158, -0.02548534795641899, -0.3925269842147827, -0.8366556763648987, 0.1747729778289795, 0.10753031075000763, -0.9804467558860779, 0.5607534050941467, 0.09542890638113022, -0.29389843344688416, 0.6196461319923401, -0.5761702060699463, 0.8489177227020264, -0.1711195707321167, -0.5115209221839905, 0.12902630865573883, -0.7299821972846985, 0.6350966095924377, -0.2150493860244751, 0.40707480907440186, -0.6171202063560486, 0.04875372722744942, 0.7634944319725037, -0.18502271175384521, 1.093432068824768, -0.2747114896774292, -0.3632131814956665, 0.21576307713985443, 0.16925224661827087, 0.09844419360160828, 0.273291677236557, -0.33717039227485657, 0.6195072531700134, -0.12414059787988663, -0.4083510637283325, -0.17540329694747925, 0.5188404321670532, -0.737673282623291, -0.5144637823104858, -0.33593299984931946, -0.5806949734687805, -0.0032617836259305477, 0.052731167525053024, 0.12470340728759766, 0.43329834938049316, -0.01750597357749939, 0.24995049834251404, 0.3556409180164337, -0.42058107256889343, 0.4596051275730133, 0.17909914255142212, 0.008360710926353931, -0.44836971163749695, 0.8868658542633057, -0.03693027421832085, 0.13332116603851318, 0.06626147776842117, 0.1616443693637848, -0.3352658152580261, -0.5044096112251282, -0.514502227306366, 0.013499156571924686, -1.071794867515564, -0.1680109053850174, -0.8597627878189087, 0.09876547008752823, -0.11889725923538208, -0.1862950325012207, -0.3551498353481293, -0.239296555519104, -0.12779319286346436, -0.23248398303985596, 0.858427882194519, 0.9856514930725098, -0.25179895758628845, 0.3108591139316559, -0.8217572569847107, 0.33136650919914246, 0.11620381474494934, 0.5551840662956238, -0.2828945219516754, -0.28076422214508057, -0.03197438642382622, 0.1184166744351387, -0.11707110702991486, -0.563664436340332, 0.15851177275180817, -0.2071271538734436, 0.370281457901001, 0.3587205410003662, 0.48262855410575867, 0.426588237285614, -0.21288950741291046, 0.8283753991127014, -0.02500172145664692, -1.0301347970962524, 0.4550021290779114, -0.501940906047821, 0.128210186958313, 0.8143954277038574, 0.6453313231468201, -0.8411630988121033, -0.5160319805145264, -0.457840234041214, -1.000209927558899, 0.985470712184906, 0.3921652138233185, 0.3583405017852783, -0.3511198163032532, 0.07172659784555435, 0.42231130599975586, 0.03670356422662735, -0.7577894926071167, -0.36696943640708923, -0.4885704517364502, -0.34850311279296875, 0.09252054244279861, -0.21570612490177155, -0.48952770233154297, 0.04345327243208885, 0.09097117185592651, -0.27007246017456055, -0.07180513441562653, 0.08347606658935547, -0.24006353318691254, 0.17525900900363922, 0.19419178366661072, 0.3693426847457886, 0.9977747797966003, -0.23471498489379883, 0.1547795534133911, 0.21116559207439423, -0.8115991353988647, 0.3920668363571167, 0.190866619348526, 0.01363931130617857, -0.22166922688484192, 0.3630501925945282, 0.6929699182510376, -0.3471762537956238, -0.2537462115287781, 0.7696371078491211, -0.3934497833251953, 0.02738400734961033, -0.17857606709003448, -0.2702163755893707, -0.2662009000778198, 0.05883308872580528, 0.24644848704338074, 0.03817401081323624, 0.31710076332092285, -0.21898730099201202, 0.3397310972213745, -0.1206362396478653, -0.6138056516647339, -0.30054688453674316, 0.6741598844528198, 0.5492539405822754, -0.054227400571107864, 0.6692584156990051, -0.1313634067773819, -0.6836215853691101, 0.5447778701782227, 0.19680997729301453, 0.9090449810028076, 0.12174209207296371, 0.22821277379989624, 0.4433181583881378, 0.5194456577301025, 0.26367828249931335, 0.26868000626564026, 0.007090482860803604, -0.8715593814849854, -0.5205180644989014, -0.5081447958946228, -0.23319382965564728, -0.11242026090621948, -0.9622926115989685, 0.11726813018321991, -0.5819675326347351, -0.20811322331428528, -0.09216760098934174, -0.24740903079509735, -0.9108430743217468, 0.3857838809490204, 0.44296425580978394, 0.5800564289093018, -1.1929389238357544, 0.417062371969223, 0.7291562557220459, -0.5147210359573364, -0.3590075969696045, 0.346814900636673, 0.2863185405731201, -0.9372200965881348, 0.9995396733283997, 0.34015992283821106, -0.06275957077741623, -0.25530892610549927, -0.3157837986946106, -0.3463461399078369, 0.5606905221939087, 0.22332985699176788, -0.319429486989975, 0.27148038148880005, 0.41859960556030273, 0.47528019547462463, -0.23600968718528748, 0.28269362449645996, 0.9591664671897888, 0.30742940306663513, -0.15004336833953857, -0.6874606013298035, 0.27618059515953064, -0.33483538031578064, 0.048873089253902435, 0.10397272557020187, -0.7098544836044312, 0.5856914520263672, -0.1351834535598755, -0.1906774938106537, -0.5025594830513, 0.3831246495246887, 0.3431451618671417, 0.1397092044353485, 0.6161218285560608, 0.34512895345687866, 0.5445601940155029, -0.30598002672195435, 1.0701138973236084, 0.003068387508392334, 0.01765379123389721, 1.1798375844955444, -0.27613675594329834, 0.3777320981025696, 0.19562388956546783, -0.16680119931697845, 0.21955512464046478, 0.41157498955726624, -0.0009305827552452683, 0.23202143609523773, 0.4035496413707733, -0.14008735120296478, 0.04214692860841751, -0.47398898005485535, -0.2597868740558624, 0.9813752770423889, 0.4637848436832428, -0.20645365118980408, -0.0825873538851738, -0.1527400016784668, 0.42939841747283936, 0.39052629470825195, -0.20362944900989532, 0.9178021550178528, 0.007438191678375006, -0.31486251950263977, 0.596717357635498, -0.1598108559846878, 0.758653461933136, -0.2656424045562744, 0.014567474834620953, -0.44476184248924255, 0.07308226823806763, -0.44417786598205566, -1.3616961240768433, 0.5220165252685547, 0.37421485781669617, -0.08588283509016037, -0.2937973141670227, 0.22716137766838074, -0.137832909822464, -0.3422064781188965, 0.49332395195961, 0.11710796505212784, 0.19799135625362396, 0.017982594668865204, -0.6375228762626648, 0.3772667348384857, 0.037468355149030685, 0.0766068696975708, -0.1958383321762085, 0.97993403673172, -0.33007577061653137, 0.4325435757637024, 0.5989259481430054, 0.04392777010798454, -0.0742432028055191, 0.2731535732746124, 0.8564068078994751, -0.6144963502883911, -0.2525378465652466, -1.1600332260131836, 0.7366666793823242, -0.3117048740386963, -0.6730117201805115, 0.6375443339347839, 0.43871474266052246, 1.172516107559204, 0.18526558578014374, 0.9785977602005005, -0.18767480552196503, 0.2843282222747803, -0.33713456988334656, 0.8288008570671082, -0.23571637272834778, 0.15024326741695404, -0.5430413484573364, -0.8170194029808044, -0.4099992513656616, 0.617143988609314, -0.4116303026676178, 0.030443625524640083, 0.45246264338493347, 0.35557228326797485, 0.09455972909927368, 0.4525516629219055, 0.1766381859779358, 0.11960560083389282, 0.45386654138565063, 0.3503504991531372, 1.184399962425232, -0.39045971632003784, 0.4249679744243622, -0.6102790832519531, -0.11479596793651581, 0.1201726570725441, -1.0685628652572632, -0.895404577255249, -0.44199737906455994, -0.38764333724975586, -0.3047810196876526, -0.07351972162723541, 0.9423765540122986, 0.4766354262828827, -1.0231813192367554, -0.2152663767337799, 0.3029739558696747, 0.0841788798570633, -0.22318483889102936, -0.19842936098575592, 0.200738325715065, -0.029753342270851135, -0.9844728112220764, -0.1674056351184845, 0.1300799399614334, -0.06360483914613724, -0.0826101303100586, 0.15994179248809814, -0.12074968218803406, -0.18831513822078705, 0.6235688924789429, 0.061965975910425186, -0.8150942921638489, -0.5046858787536621, -0.46104153990745544, 0.002418740652501583, 0.10630729794502258, 0.6458470225334167, -0.38349616527557373, 0.5724599361419678, 0.3092777729034424, 0.7003133893013, -0.01511683501303196, 0.18777813017368317, 0.8351424932479858, -0.8438927531242371, 0.3426535427570343, 0.48551666736602783, 0.3291156589984894, 0.7868863344192505, -0.5078919529914856, 0.6671090126037598, 0.20494967699050903, -0.46011456847190857, -0.5355042815208435, 0.29641932249069214, -0.6527079343795776, 0.023433104157447815, 1.1005373001098633, -0.5045738220214844, 0.016498317942023277, -0.4332897663116455, -0.1984756737947464, 0.14250199496746063, -0.5211610198020935, 0.7086049318313599, 0.7555718421936035, 0.2060282826423645, -0.02194627746939659, -0.6325350999832153, 0.8017250895500183, 0.3519309461116791, -0.6945801973342896, 0.6674246191978455, 0.562491238117218, 0.17280644178390503, 0.1336788833141327, 0.3644087314605713, -0.32188883423805237, 0.07030051946640015, 0.0035429876297712326, 0.24915507435798645, 0.01115499809384346, -0.11190267652273178, -0.3828658163547516, 0.056306641548871994, -0.1127377301454544, -0.28835105895996094 ]
http://arxiv.org/abs/2404.10848v1
http://arxiv.org/pdf/2404.10848v1
A LayoutLMv3-Based Model for Enhanced Relation Extraction in Visually-Rich Documents
2024-04-16T18:50:57
2024-04-16T18:50:57
Wiam Adnan, Joel Tang, Yassine Bel Khayat Zouggari, Seif Edinne Laatiri, Laurent Lam, Fabien Caspani
cs.CL
cs.CL, cs.AI, cs.LG
Document Understanding is an evolving field in Natural Language Processing (NLP). In particular, visual and spatial features are essential in addition to the raw text itself and hence, several multimodal models were developed in the field of Visual Document Understanding (VDU). However, while research is mainly focused on Key Information Extraction (KIE), Relation Extraction (RE) between identified entities is still under-studied. For instance, RE is crucial to regroup entities or obtain a comprehensive hierarchy of data in a document. In this paper, we present a model that, initialized from LayoutLMv3, can match or outperform the current state-of-the-art results in RE applied to Visually-Rich Documents (VRD) on FUNSD and CORD datasets, without any specific pre-training and with fewer parameters. We also report an extensive ablation study performed on FUNSD, highlighting the great impact of certain features and modelization choices on the performances.
[ -0.4117225110530853, -0.7446312308311462, 0.5101457834243774, 0.21906600892543793, -0.5449090600013733, -0.30454713106155396, 0.1149526908993721, -0.567618191242218, -0.043189700692892075, 0.7791225910186768, -0.4520725607872009, -0.6368718147277832, -0.26044994592666626, -0.16584254801273346, -0.2230980396270752, 0.7044371962547302, -0.061153341084718704, -0.11753924936056137, -0.49924391508102417, -0.24938629567623138, -0.4607885479927063, -0.33909881114959717, -0.025561070069670677, -0.1533709466457367, 0.5781353116035461, 0.17240016162395477, 0.729008674621582, 0.8644915819168091, 0.7993298172950745, 0.28059515357017517, -0.32623791694641113, 0.45839163661003113, -0.32928770780563354, 0.352907657623291, 0.012728748843073845, -0.27262192964553833, -0.5817072987556458, 0.020220095291733742, 0.6009315848350525, 0.6808117628097534, 0.0010080364299938083, -0.10152881592512131, -0.054912351071834564, 0.5708006620407104, -0.6797604560852051, 0.297013521194458, -0.7045950293540955, 0.03855267912149429, -0.23639249801635742, -0.38250818848609924, -0.5299175381660461, -0.21111495792865753, 0.36593469977378845, -0.9884874820709229, 0.37417420744895935, 0.25513187050819397, 1.2627568244934082, 0.03469248116016388, -0.45837849378585815, -0.22115448117256165, -0.6252843737602234, 0.4657667577266693, -0.4516526758670807, 0.9984543323516846, 0.3556763231754303, 0.10195289552211761, 0.024153446778655052, -0.8233531713485718, -0.4073907732963562, 0.0023075025528669357, -0.344852477312088, 0.24364934861660004, -0.053836170583963394, -0.1071537509560585, 0.47143131494522095, 0.5031207203865051, -0.6036862730979919, -0.03258657082915306, -0.323542982339859, -0.00699228048324585, 0.3084345757961273, 0.09793981164693832, 0.36699140071868896, -0.7583003640174866, -0.5579039454460144, -0.08844176679849625, -0.6212925314903259, -0.2869455814361572, 0.03922513127326965, -0.03987870365381241, -0.25865069031715393, 0.6908360123634338, 0.1417984813451767, 0.9265929460525513, -0.38547879457473755, -0.2471926212310791, 0.2754670977592468, -0.6238217353820801, -0.651832640171051, -0.4197385907173157, 0.6838808059692383, 0.3414250910282135, 0.25942569971084595, -0.23902535438537598, -0.04389439895749092, -0.1796574890613556, 0.39150720834732056, -0.7521783113479614, -0.49761176109313965, -0.07245734333992004, -0.685983419418335, -0.18332253396511078, 0.023992568254470825, -0.8196852207183838, -0.5681034922599792, -0.42337942123413086, 0.09351027756929398, -0.9150339961051941, -0.19826242327690125, -0.20936767756938934, -0.34498298168182373, 0.44888901710510254, 0.7008917331695557, -0.8383632898330688, 0.10753196477890015, 0.6923680305480957, 0.9080978631973267, -0.29425206780433655, -0.2404811680316925, -0.5686612725257874, 0.4548957645893097, -0.18089205026626587, 0.7514660954475403, -0.5007737278938293, -0.4819807708263397, -0.06368941813707352, -0.22245603799819946, -0.013772726058959961, -0.49074792861938477, 0.6225697994232178, -0.8705530166625977, 0.29490000009536743, -0.05342116951942444, -0.41960108280181885, -0.15841346979141235, 0.35002952814102173, -1.0135061740875244, 0.8768607974052429, 0.3146142065525055, -1.0598443746566772, 0.5334751009941101, -0.5087131261825562, -0.3462779223918915, 0.03066237084567547, -0.2490309625864029, -0.6668184399604797, 0.17651499807834625, 0.5172352194786072, 0.3338272273540497, -0.022787174209952354, -0.00803782045841217, -0.5346355438232422, -0.02118712104856968, -0.017256179824471474, -0.2576068043708801, 0.7058218717575073, 0.29339855909347534, 0.38066619634628296, 0.38630372285842896, -1.0273573398590088, -0.22763864696025848, 0.2566046416759491, -0.2572251856327057, -0.8953410983085632, -0.21329626441001892, 0.11655764281749725, 0.3454837203025818, 0.17795611917972565, -0.44000720977783203, 0.2885909080505371, -0.537602961063385, -0.001982312649488449, 0.3942314386367798, 0.2648653984069824, 0.7944526076316833, 0.09108246862888336, 0.5202397108078003, 0.03492019325494766, -0.024800602346658707, -0.6420878767967224, -0.3536376655101776, -0.5843590497970581, -0.6604120135307312, 0.23836879432201385, 0.3403175473213196, -0.9426369071006775, 0.26003497838974, -0.3968201279640198, -0.36694926023483276, -0.22030597925186157, 0.14755220711231232, 0.3599560558795929, 0.7726582288742065, 0.3570437729358673, -0.22038640081882477, -0.5644136667251587, -0.9482899308204651, -0.06561951339244843, -0.022020768374204636, -0.04956575110554695, 0.5126298069953918, 0.1905936896800995, -0.12078095972537994, 0.9066108465194702, -0.7801895141601562, -0.5856833457946777, -0.3791271150112152, 0.16282576322555542, -0.013163767755031586, 0.2850606143474579, 0.5525789260864258, -1.023085117340088, -0.28230592608451843, 0.321326345205307, -0.937498152256012, 0.01941990666091442, -0.0920582115650177, -0.5004943609237671, -0.09162046015262604, 0.3991372287273407, -0.7972034215927124, 0.7830172181129456, 0.230167955160141, -0.29048049449920654, 0.27001863718032837, -0.3548344671726227, -0.04517634958028793, -1.042103886604309, 0.021051933988928795, 0.3001295328140259, -0.18293508887290955, -0.687197208404541, 0.2131805121898651, 0.5663964152336121, -0.26441189646720886, -0.4295397400856018, 0.6986091136932373, -0.7143863439559937, -0.5710498094558716, 0.01837809383869171, 0.5284005999565125, 0.5581315159797668, 0.538994312286377, 0.46438726782798767, 0.2896944284439087, 0.19326822459697723, -0.37363356351852417, 0.1785338819026947, 0.6974704265594482, -0.2651551365852356, 0.5059213638305664, -0.27259212732315063, -0.16456958651542664, -0.047853339463472366, 0.06623078137636185, -0.987297773361206, -0.19137436151504517, 0.060750626027584076, -0.3058023750782013, 0.29857590794563293, -0.20222626626491547, -0.5225756168365479, -0.12164768576622009, -0.2799975275993347, 0.3191697597503662, 0.14362765848636627, -0.6199382543563843, 0.998161256313324, 0.21360467374324799, -0.03764036297798157, -0.36039459705352783, -0.2964077293872833, -0.16005247831344604, -0.39466238021850586, -0.9944411516189575, 0.5731582045555115, 0.3097568452358246, -0.30933988094329834, -0.0032190619967877865, -0.16332367062568665, -0.30206117033958435, 0.21682950854301453, 0.3264913856983185, 0.5735315084457397, -0.06855212897062302, 0.040773194283246994, -0.22452834248542786, 0.0008005595300346613, -0.09803176671266556, 0.2577771842479706, 0.5092690587043762, 0.25067633390426636, -0.3828105032444, -0.4209180474281311, 0.26869305968284607, 0.6368957161903381, -0.8039067387580872, 0.6624205708503723, 0.7275617122650146, -0.570580780506134, -0.0012712356401607394, -0.42345359921455383, 0.2510819435119629, -0.39177969098091125, 0.5591040253639221, -0.5764710307121277, -0.49057793617248535, 0.618208110332489, 0.031600840389728546, 0.294770747423172, 0.32558223605155945, 0.17348790168762207, -0.1665613204240799, 0.7774367928504944, 0.7331517934799194, 0.34751445055007935, 0.7933017015457153, -0.2218186855316162, 0.12180572748184204, -1.2733622789382935, -0.7390134334564209, -0.44841983914375305, 0.08111109584569931, -0.3588663637638092, -0.3592781722545624, 0.16383643448352814, 0.2818760573863983, 0.23988963663578033, 0.3469895124435425, -0.12024621665477753, 0.10905762761831284, 0.33720341324806213, 0.030628396198153496, 0.37547627091407776, 0.11449964344501495, -0.19991439580917358, -0.39554402232170105, -0.4771673083305359, -0.2615746557712555, 0.8206807374954224, 0.4213596284389496, 0.8231709599494934, 0.3265109360218048, 0.7651249766349792, -0.09852404147386551, 0.44429904222488403, -0.6881766319274902, 0.4195668399333954, -0.04214705899357796, -0.09264935553073883, -0.2736392319202423, -0.40223243832588196, -1.0985349416732788, 0.6824634075164795, -0.2528479993343353, -0.7517463564872742, 0.3669002652168274, 0.03134281188249588, -0.18460051715373993, 0.03909428045153618, -0.8962864279747009, 0.9302615523338318, -0.2411043345928192, -0.6987107396125793, 0.19145989418029785, -0.510288655757904, 0.5441762804985046, 0.008253267966210842, 0.24806885421276093, 0.09485730528831482, 0.1387593299150467, 0.6912866234779358, -0.3195156157016754, 0.15686576068401337, -0.1519414335489273, -0.36538931727409363, -0.10382094234228134, 0.3369798958301544, 0.45737919211387634, 0.13924606144428253, -0.15437451004981995, -0.09433837234973907, -0.22885213792324066, 0.01923767291009426, -0.9767563343048096, 0.813174843788147, -0.5603410601615906, -0.35445263981819153, -0.1689162254333496, -0.6481331586837769, -0.14643587172031403, 0.39561328291893005, -0.0018534715054556727, 0.6920531392097473, -0.3125591576099396, 0.30753791332244873, 0.7680264115333557, -0.3238093852996826, 0.39565491676330566, 0.2872896194458008, -0.7211300730705261, -0.46300673484802246, 0.9260455965995789, -0.1084822416305542, 0.09742216765880585, 0.4673331081867218, -0.12755322456359863, -0.5599542856216431, -0.5142443776130676, -0.2369167059659958, 0.3548930883407593, -0.8143106698989868, -0.1480388641357422, -0.9772503972053528, -0.3444858193397522, -0.43824243545532227, -0.13866056501865387, -0.24085408449172974, -0.20773100852966309, -0.5742613673210144, -0.07237359136343002, -0.03357253223657608, 0.6846933364868164, 0.18287165462970734, 0.15264414250850677, -0.7773868441581726, 0.8501139879226685, 0.20487886667251587, 0.3459438681602478, -0.12500153481960297, -0.4625464677810669, -0.17832264304161072, -0.40659981966018677, -0.4243587553501129, -0.9569430351257324, 0.7604398727416992, -0.0015123934717848897, 0.6599530577659607, 0.5109075903892517, -0.393559068441391, 0.9428061246871948, -0.4374919533729553, 0.5492205023765564, 0.09252092242240906, -0.5485537648200989, 0.6705504655838013, -0.4134889543056488, 0.27702564001083374, 0.16676853597164154, 0.06087910756468773, -0.3543730080127716, 0.026047293096780777, -0.8530997633934021, -0.8923354744911194, 0.6779958605766296, 0.4679449200630188, -0.3585816025733948, 0.14577849209308624, 0.30146947503089905, -0.0536557100713253, 0.11605081707239151, -0.7598909139633179, -0.035289302468299866, -0.27760225534439087, -0.10515442490577698, 0.2203311026096344, -0.3841910660266876, 0.04832978546619415, -0.1283358782529831, 0.3171946704387665, 0.1010897234082222, 0.17744147777557373, 0.13937318325042725, -0.4688638150691986, 0.19422398507595062, 0.10273151099681854, 0.5158862471580505, 0.7390286326408386, -0.4976832866668701, 0.21071824431419373, -0.19103525578975677, -0.32519838213920593, -0.2641659677028656, 0.36059123277664185, 0.0456489659845829, 0.001422578003257513, 0.7243261933326721, 0.8986643552780151, 0.34188854694366455, -0.2956942915916443, 0.6113032698631287, -0.34337317943573, -0.18567445874214172, 0.018488572910428047, 0.09552846103906631, 0.0072887958958745, 0.09944473206996918, 0.14140933752059937, 0.09308618307113647, 0.15194058418273926, -0.2975079119205475, 0.4370753765106201, 0.7089250683784485, -0.4157719016075134, -0.13653862476348877, 0.7361599802970886, 0.3213149607181549, -0.4057789444923401, 0.6500852108001709, -0.02528478018939495, -0.23362772166728973, 0.49714457988739014, 0.5088397264480591, 0.5329675078392029, 0.07359226793050766, 0.12166623771190643, 0.25600460171699524, 0.24702082574367523, 0.39531853795051575, 0.06531549245119095, -0.24892228841781616, -0.7176799774169922, -0.2719776928424835, -0.739979088306427, -0.10528535395860672, 0.32683148980140686, -0.8200719952583313, 0.4004381597042084, -0.3008522689342499, 0.2285391390323639, 0.01040598750114441, -0.011515581980347633, -0.8131367564201355, 0.2959352433681488, 0.26287513971328735, 0.9343351721763611, -0.6449717879295349, 0.9540200233459473, 0.53041011095047, -0.2895643711090088, -0.5919108390808105, -0.010972172021865845, -0.1470264345407486, -0.5883411169052124, 0.7107530236244202, 0.21807682514190674, 0.05032707378268242, 0.013033488765358925, -0.24682219326496124, -0.8920043110847473, 1.1715515851974487, 0.27175596356391907, -0.309132844209671, -0.13336776196956635, -0.31025421619415283, 0.5462431311607361, -0.4902747869491577, 0.36995652318000793, 0.41611167788505554, 0.24047711491584778, 0.22280551493167877, -0.4543556869029999, -0.1673208624124527, -0.37592756748199463, 0.27268505096435547, 0.18220777809619904, -0.27614328265190125, 0.5838713049888611, -0.1101689264178276, -0.3326337933540344, 0.05328426882624626, 1.012644648551941, 0.48771220445632935, 0.23765242099761963, 0.461860716342926, 0.5449730157852173, 0.7000716328620911, -0.11229963600635529, 1.0478817224502563, 0.017010429874062538, 0.1800280064344406, 1.433901071548462, -0.4878968298435211, 0.6245173215866089, 0.5482532382011414, 0.22083504498004913, 0.4090929627418518, 0.6416337490081787, 0.08018813282251358, 0.7886239290237427, -0.20082084834575653, 0.12501297891139984, -0.21011757850646973, -0.004371492192149162, -0.3658929467201233, 0.43141958117485046, 0.5150905251502991, -0.6952715516090393, -0.31789904832839966, -0.10407096892595291, -0.15913021564483643, 0.03255758062005043, -0.07327944040298462, 0.9682164192199707, -0.06937643885612488, -0.5783618092536926, 0.15676349401474, -0.017973365262150764, 0.23400525748729706, -0.5633673071861267, -0.28965744376182556, -0.2523401081562042, -0.1664496213197708, -0.17302574217319489, -0.8300836086273193, 0.16348224878311157, -0.2215479016304016, -0.27407094836235046, -0.2226247489452362, 0.912331759929657, -0.5178007483482361, -0.3210820257663727, 0.3058270514011383, 0.5877567529678345, -0.1693083941936493, 0.0737483948469162, -0.37507832050323486, 0.31757572293281555, 0.2265697419643402, -0.2705460786819458, 0.3003781735897064, 0.636914849281311, -0.09691708534955978, 0.5729825496673584, 0.6943551301956177, 0.05639587715268135, 0.06824644654989243, 0.30020758509635925, 0.9533982872962952, -0.5549831390380859, -0.6042760014533997, -0.8540015816688538, 0.6046768426895142, -0.6228986978530884, -0.22079607844352722, 0.8650058507919312, 0.6848750114440918, 0.4051789939403534, 0.0796884149312973, 0.6318045854568481, 0.2340007871389389, 0.14889061450958252, -0.6857897639274597, 0.5592593550682068, -0.6515249609947205, 0.37746596336364746, -0.6747806072235107, -1.1950331926345825, -0.6867172718048096, 0.6733620762825012, -0.28144192695617676, -0.16601847112178802, 0.7620934844017029, 0.5500697493553162, -0.331135630607605, 0.04209516569972038, 0.4174063503742218, -0.015189098194241524, 0.7374520301818848, 0.10938961058855057, 0.765304684638977, -0.20690244436264038, 0.5887670516967773, -0.39307963848114014, -0.11571396142244339, -0.14035412669181824, -0.8725060820579529, -0.9621466398239136, -0.5577697157859802, -0.22030799090862274, -0.1705714464187622, -0.27525216341018677, 0.3215538561344147, 0.5102970004081726, -0.08333054184913635, 0.24975423514842987, 0.0656958743929863, 0.4464148283004761, 0.09832131862640381, -0.19357845187187195, 0.7033675312995911, 0.11431354284286499, -0.4583587646484375, 0.3693869709968567, 0.6722879409790039, 0.20772242546081543, -0.2165825217962265, 0.05937308818101883, -0.43345317244529724, -0.08592461794614792, 0.6378321051597595, 0.03315921127796173, -0.6614168286323547, -0.14772965013980865, -0.13941161334514618, -0.1889379769563675, 0.4376372992992401, 0.6903173923492432, -0.6701368689537048, 0.5985698699951172, 0.6093826293945312, 0.3955138921737671, 0.674460232257843, 0.39089158177375793, 0.4608774781227112, -0.9601620435714722, 0.3148849904537201, -0.21816782653331757, 0.6249960660934448, 0.5435028076171875, -0.40499478578567505, 0.6325100660324097, 0.21135859191417694, -0.29169216752052307, -0.753841757774353, 0.34803274273872375, -1.110599160194397, -0.05046578496694565, 1.1872259378433228, -0.25465232133865356, -0.34565433859825134, -0.08855348080396652, -0.5161707401275635, 0.31107664108276367, -0.21953752636909485, 0.355236291885376, 0.4293074607849121, -0.3525784909725189, -0.47003045678138733, -0.309531569480896, 0.38726821541786194, 0.12913520634174347, -1.0869097709655762, 0.2842731177806854, 0.6997836828231812, -0.09328193962574005, 0.35951098799705505, 0.5247777104377747, -0.19412796199321747, 0.19527095556259155, -0.11690206080675125, 0.028256211429834366, -0.22107426822185516, -0.4786427915096283, -0.13635721802711487, 0.5773023962974548, -0.09744899719953537, -0.05501410365104675 ]
http://arxiv.org/abs/2404.10838v1
http://arxiv.org/pdf/2404.10838v1
Dynamic Self-adaptive Multiscale Distillation from Pre-trained Multimodal Large Model for Efficient Cross-modal Representation Learning
2024-04-16T18:22:49
2024-04-16T18:22:49
Zhengyang Liang, Meiyu Liang, Wei Huang, Yawen Li, Zhe Xue
cs.CV
cs.CV, cs.CL, cs.MM
In recent years, pre-trained multimodal large models have attracted widespread attention due to their outstanding performance in various multimodal applications. Nonetheless, the extensive computational resources and vast datasets required for their training present significant hurdles for deployment in environments with limited computational resources. To address this challenge, we propose a novel dynamic self-adaptive multiscale distillation from pre-trained multimodal large model for efficient cross-modal representation learning for the first time. Unlike existing distillation methods, our strategy employs a multiscale perspective, enabling the extraction structural knowledge across from the pre-trained multimodal large model. Ensuring that the student model inherits a comprehensive and nuanced understanding of the teacher knowledge. To optimize each distillation loss in a balanced and efficient manner, we propose a dynamic self-adaptive distillation loss balancer, a novel component eliminating the need for manual loss weight adjustments and dynamically balances each loss item during the distillation process. Our methodology streamlines pre-trained multimodal large models using only their output features and original image-level information, requiring minimal computational resources. This efficient approach is suited for various applications and allows the deployment of advanced multimodal technologies even in resource-limited settings. Extensive experiments has demonstrated that our method maintains high performance while significantly reducing model complexity and training costs. Moreover, our distilled student model utilizes only image-level information to achieve state-of-the-art performance on cross-modal retrieval tasks, surpassing previous methods that relied on region-level information.
[ -0.35054996609687805, -0.5334751009941101, 0.5178670287132263, 0.33824509382247925, -0.45704782009124756, 0.357633113861084, -0.07146114110946655, -0.0056428308598697186, 0.12439548969268799, 0.03146524727344513, -0.688312828540802, 0.1099720224738121, -0.7352383732795715, -0.0011890737805515528, -0.035959403961896896, 0.9006562232971191, -0.017614874988794327, 0.28735101222991943, -0.22559216618537903, -0.281766414642334, -0.7622970938682556, -0.3254036605358124, -0.3814411759376526, -0.48889923095703125, 0.6118770241737366, 0.0811857059597969, 0.21023070812225342, 0.3687007427215576, 0.22243882715702057, 0.5066982507705688, 0.046736955642700195, -0.015592099167406559, -0.46644243597984314, 0.1663140207529068, -0.44700556993484497, -0.2650621235370636, -0.5226384401321411, -0.07977961748838425, 0.710972785949707, 0.40822848677635193, -0.38217002153396606, 0.2511872947216034, 0.41305115818977356, 0.6006467342376709, -0.9079384803771973, 0.17006050050258636, -0.7099944353103638, 0.2881970703601837, -0.025555703788995743, -0.29310643672943115, -0.25072312355041504, 0.059180211275815964, 0.16565485298633575, -0.6503496170043945, 0.06102629378437996, -0.34061476588249207, 0.322799950838089, 0.491749107837677, -0.9081901907920837, -0.14816218614578247, -0.6603877544403076, 0.8083440065383911, -0.40434667468070984, 0.4475823938846588, -0.07435640692710876, 0.7335050106048584, 0.04567909985780716, -0.9842702746391296, -0.6199617385864258, 0.05286350101232529, 0.1719321310520172, 0.24159792065620422, -0.3229512572288513, -0.178750678896904, 0.08558646589517593, 0.4273499548435211, -0.36131128668785095, -0.1543121337890625, -0.18615278601646423, -0.16100099682807922, 0.2729777693748474, 0.24319793283939362, -0.10876832902431488, -0.0555984266102314, -0.6719585061073303, -0.36016666889190674, 0.08748216181993484, -0.07865238934755325, 0.041978515684604645, 0.1450348049402237, -0.19308976829051971, 0.1328124850988388, -0.03322756290435791, 0.36032989621162415, 0.6237436532974243, -0.4758022129535675, 0.44860124588012695, -0.54380863904953, -0.28511911630630493, 0.16920149326324463, 0.5898881554603577, 0.16659705340862274, -0.1083277240395546, 0.40570300817489624, -0.18860197067260742, -0.3171045482158661, 0.3083796203136444, -1.125840187072754, -0.4938882887363434, -0.26936832070350647, -0.4668130874633789, -0.2571920156478882, -0.41359615325927734, -0.7976346015930176, -0.48706290125846863, -0.41907626390457153, 0.9176567792892456, -0.1848013699054718, -0.5442303419113159, -0.2219819873571396, -0.11359188705682755, -0.2970171570777893, 0.550470232963562, -0.7945002317428589, 0.042191434651613235, -0.1130114495754242, 0.8670172095298767, -0.04284669831395149, -0.277647465467453, -0.20359723269939423, 0.289115309715271, -0.05380748584866524, 0.19614046812057495, -0.4303715229034424, -0.27060940861701965, -0.5822591781616211, 0.1379394829273224, 0.13201987743377686, -0.534019410610199, -0.07480785250663757, -0.4688622057437897, 0.01327134296298027, -0.16062462329864502, -0.09437911957502365, -0.35808515548706055, 0.3077961802482605, -0.6974205374717712, 0.8205605745315552, -0.042468585073947906, -0.6743848323822021, 0.47468745708465576, -0.32817941904067993, -0.33452272415161133, -0.07400373369455338, -0.1070747822523117, -0.5817893147468567, 0.2686731517314911, 0.2470182180404663, 0.41621342301368713, -0.2641311287879944, 0.3153878152370453, -0.48113974928855896, 0.1175103411078453, 0.07988491654396057, -1.059841513633728, 0.5735136866569519, 0.3469971716403961, -0.4209865927696228, 0.13251356780529022, -1.0332555770874023, -0.11379557102918625, 0.19077108800411224, -0.40248897671699524, -0.37948548793792725, -0.15782926976680756, 0.08495475351810455, 0.3774244487285614, 0.43238332867622375, -0.49923649430274963, 0.19302499294281006, 0.3844376504421234, 0.3906405568122864, 0.904809296131134, -0.0932982936501503, 0.5303880572319031, -0.031954675912857056, 0.4559796154499054, 0.2756057679653168, 0.18520420789718628, -0.41515785455703735, 0.18957193195819855, -0.3994840383529663, -0.7292985916137695, 0.1941111534833908, 0.18572865426540375, -1.0128087997436523, 0.24522000551223755, -0.13574999570846558, -0.6439493298530579, -0.1097077950835228, 0.32005855441093445, 0.1786140650510788, 0.6641212105751038, 0.6450021862983704, -0.2400542050600052, -0.4942479133605957, -0.7034099698066711, 0.1487928032875061, 0.18347665667533875, 0.04631642624735832, 0.12675559520721436, 0.3602340817451477, -0.09179496020078659, 0.7192987203598022, -0.5806340575218201, -0.6392962336540222, -0.2575415372848511, 0.4210670590400696, 0.08978530019521713, 0.5854992270469666, 0.7912083268165588, -0.8544469475746155, -0.5302267074584961, -0.02358025126159191, -0.6405776739120483, -0.19057898223400116, -0.41142284870147705, -0.015960339456796646, -0.1797911375761032, 0.37120822072029114, -0.1639239490032196, 0.2127588540315628, 0.864881157875061, -0.3058680295944214, 0.32247194647789, -0.6368564963340759, 0.19270490109920502, -1.2880375385284424, -0.02849419228732586, 0.060256652534008026, -0.39199769496917725, -0.18223688006401062, -0.3558611273765564, 0.3216705620288849, -0.15852968394756317, -0.42318323254585266, 0.2853951156139374, -0.7199458479881287, 0.2139514982700348, -0.5722077488899231, -0.29935163259506226, 0.32970428466796875, 0.4998578727245331, -0.10960082709789276, 0.46297451853752136, 0.5164332985877991, -0.38816118240356445, 0.6539247035980225, -0.16521741449832916, -0.25134122371673584, 0.8786467909812927, -0.4453449845314026, -0.2815634608268738, -0.24296805262565613, 0.6383683085441589, -0.974986732006073, 0.09725181758403778, 0.06796509027481079, -0.04058456793427467, 0.541232168674469, -0.30157923698425293, 0.1107342392206192, -0.205735445022583, -0.048372648656368256, 0.8696486949920654, 0.2333955615758896, -0.6492128968238831, 1.297358751296997, 0.23007141053676605, -0.2032168209552765, -0.5580664277076721, -0.7599449157714844, -0.06726308912038803, -0.19292646646499634, -0.2686556577682495, 0.30765894055366516, -0.20330122113227844, 0.33391010761260986, -0.14921502768993378, -0.5941827297210693, -0.3670332431793213, 0.12458284944295883, 0.21390923857688904, 0.10265763103961945, -0.07918918877840042, 0.18076829612255096, 0.21894247829914093, -0.08043675869703293, 0.0013915770687162876, -0.17870087921619415, 0.5580935478210449, 0.05063185468316078, -0.29822108149528503, -0.7462291717529297, 0.1647450476884842, 0.9754674434661865, -0.27127256989479065, 0.5718308091163635, 0.7449530959129333, -0.24757696688175201, -0.19641220569610596, -0.6095792055130005, -0.11165277659893036, -0.5900274515151978, 0.8249760866165161, -0.5848984122276306, -0.4768209457397461, 0.5250059962272644, -0.20826084911823273, -0.18430110812187195, 0.29598453640937805, 0.8346354365348816, -0.09563125669956207, 0.899766743183136, 0.584050714969635, 0.1412927210330963, 0.8605953454971313, -0.3121042847633362, -0.0679103434085846, -0.49616241455078125, -0.5686343312263489, -0.13964587450027466, -0.6954360008239746, -0.34350812435150146, -0.5957883596420288, 0.6351979970932007, -0.15776456892490387, -0.234019473195076, 0.006595445331186056, -0.44903048872947693, 0.444550096988678, 0.3882720172405243, 0.3138362765312195, 0.27339085936546326, -0.10717985779047012, -0.15782204270362854, -0.07359067350625992, -0.6306676268577576, 0.0792090967297554, 0.9117841720581055, 0.3649745285511017, 1.3587393760681152, -0.037578608840703964, 0.6059423685073853, 0.4211314916610718, -0.10027854144573212, -0.5993855595588684, 0.3261639475822449, -0.03807372599840164, -0.5814172625541687, -0.3003270924091339, -0.7027173042297363, -0.6371471881866455, 0.6940842270851135, -0.5430201292037964, 0.047045234590768814, 0.4434550702571869, 0.4865555167198181, -0.4041808545589447, 0.6041767001152039, -0.721740186214447, 1.0670455694198608, -0.7434026002883911, -0.5181639790534973, -0.4576668441295624, -0.5367969870567322, 0.16061845421791077, -0.5260984897613525, 0.21670891344547272, -0.06275158375501633, 0.014507511630654335, 0.4072290062904358, -0.4288616180419922, 0.7588935494422913, -0.6574485301971436, -0.24528558552265167, 0.24901871383190155, 0.22265751659870148, 0.2411390095949173, 0.05524272471666336, 0.21464283764362335, 0.18289504945278168, 0.2856312394142151, -0.3410092294216156, -0.8226594924926758, 0.6966479420661926, -0.7853472232818604, -0.48770076036453247, -0.6640568375587463, -0.6685119867324829, 0.19141414761543274, 0.437214195728302, -0.12213952094316483, 0.3768101632595062, -0.04205450043082237, 0.5333579182624817, 0.4142005741596222, -0.0809900090098381, 0.7837021946907043, 0.4279254078865051, -0.018568428233265877, -0.6638897061347961, 0.8864219188690186, 0.35063061118125916, 0.35679736733436584, 0.27371981739997864, 0.4027390480041504, -0.46634361147880554, -0.44268375635147095, -0.5095816850662231, -0.18812015652656555, -0.559450626373291, -0.36884674429893494, -0.6313070058822632, 0.08367596566677094, -0.21220695972442627, -0.0424971841275692, -0.8169212341308594, -0.27707162499427795, -0.31238383054733276, 0.16587407886981964, -0.022577011957764626, 0.47112563252449036, -0.21186146140098572, 0.37504565715789795, -0.7940278649330139, 0.4531589150428772, 0.8489720225334167, 0.3146311938762665, 0.2853843569755554, -0.5439865589141846, -0.3495197296142578, 0.15480168163776398, -0.6308497786521912, -0.7260068655014038, 0.29541635513305664, 0.5321359038352966, 0.5433520674705505, 0.39046475291252136, 0.17182610929012299, 1.0466071367263794, -0.48972204327583313, 0.4486689567565918, 0.5966265201568604, -1.0024675130844116, 0.2680545449256897, -0.02917032316327095, 0.6988279819488525, 0.6135187149047852, 0.6250578761100769, -0.09801400452852249, 0.20947265625, -0.08976006507873535, -0.762959361076355, 0.7057317495346069, -0.22094231843948364, 0.2751421332359314, 0.3673843443393707, 0.05901927500963211, 0.3242965042591095, 0.16508106887340546, -1.0710450410842896, -0.009707622230052948, -0.7709900736808777, -0.3730493485927582, 0.03253401443362236, -0.2109602987766266, -0.06967485696077347, -0.5077835321426392, 0.6134684681892395, -0.4164493680000305, -0.2044912725687027, 0.058455515652894974, -0.39008650183677673, -0.019558729603886604, 0.03715324029326439, 0.37881821393966675, 0.7586464881896973, -0.11200042814016342, 0.43095293641090393, 0.5488799810409546, -0.5820741057395935, 0.5717004537582397, 0.13473473489284515, 0.2884407639503479, -0.33756133913993835, 0.13433828949928284, 0.8059858083724976, 0.3514491617679596, -0.42763254046440125, 0.6734703779220581, -0.2526985704898834, -0.16295850276947021, -0.2814573049545288, -0.09731388837099075, -0.0033838108647614717, 0.9226595759391785, 0.7334479689598083, 0.059630539268255234, 0.015758167952299118, -0.5734891891479492, 0.21323497593402863, 0.3749525547027588, -0.1108531653881073, -0.32250380516052246, 0.8092792630195618, 0.2569634020328522, 0.28806644678115845, 0.44252803921699524, 0.18322283029556274, -0.25335493683815, 0.3502539396286011, 0.526388943195343, 0.8373587727546692, -0.5694695115089417, 0.0775846615433693, 0.2547268569469452, 0.04437787085771561, 0.1309259831905365, 0.06406133621931076, -0.49442175030708313, -0.4747031033039093, -0.2965717911720276, -0.8243312239646912, -0.0445634089410305, -0.0971066951751709, -0.5551272034645081, 0.2294882833957672, -0.6704962849617004, -0.37159353494644165, 0.04799417778849602, -0.21004514396190643, -0.42574840784072876, 0.3882577121257782, 0.3932413160800934, 0.5263019800186157, -0.9749977588653564, 0.9316191673278809, 0.5357010364532471, -0.2104666531085968, -0.533270001411438, -0.1789616346359253, 0.08019497245550156, -0.4323686361312866, 0.8254727721214294, -0.01802746392786503, -0.23088601231575012, -0.08757855743169785, -0.015336574986577034, -0.9839629530906677, 1.469394564628601, 0.5758744478225708, -0.7880143523216248, -0.19493412971496582, 0.056570228189229965, 0.3526575267314911, -0.30123814940452576, 0.490579754114151, -0.0372830294072628, 0.36223605275154114, 0.6603515148162842, -1.0232486724853516, 0.04249035567045212, -0.19344401359558105, 0.1893533617258072, 0.0631260871887207, -0.7518430948257446, 1.1047176122665405, 0.006484920158982277, 0.05013009160757065, -0.3220385015010834, 0.8361687064170837, -0.03705857694149017, 0.3055775761604309, 0.8666295409202576, 0.486797034740448, 0.44944754242897034, 0.029993511736392975, 0.47963637113571167, -0.17594140768051147, 0.4572509825229645, 1.3068689107894897, -0.18012888729572296, 0.36384499073028564, 0.591154932975769, -0.01738223433494568, 0.47912004590034485, 0.34093567728996277, 0.014162139967083931, 0.9205650687217712, 0.008007228374481201, -0.3171488046646118, -0.4923393130302429, 0.22912545502185822, -0.44275006651878357, 0.771186351776123, -0.017946943640708923, -0.3586856424808502, -0.5698238015174866, 0.5317804217338562, -0.41020864248275757, -0.16953641176223755, -0.4257514774799347, 0.6915435791015625, -0.16103868186473846, -0.31228646636009216, 0.7698202133178711, -0.23465366661548615, 0.7594662308692932, -0.7888490557670593, -0.14468196034431458, -0.0244576595723629, 0.4837740659713745, -0.1141849160194397, -0.4370070993900299, 0.13613134622573853, -0.3367680609226227, -0.34022748470306396, -0.44638755917549133, 0.5048040151596069, -0.6686232089996338, -0.6327643394470215, 0.3545496165752411, 0.27239271998405457, -0.3655907213687897, -0.1336752474308014, -0.6507883071899414, 0.2239585816860199, -0.11669518798589706, -0.3149090111255646, 0.4488072991371155, 0.7880892753601074, 0.10539987683296204, 0.673222541809082, 0.38290998339653015, -0.11877813190221786, 0.3984532058238983, -0.14268556237220764, 1.1562130451202393, -0.39275622367858887, -0.5072262287139893, -0.7983689904212952, 0.590976357460022, 0.041909974068403244, -0.03569233417510986, 0.5431539416313171, 0.47989025712013245, 0.8837752938270569, -0.13427773118019104, 0.5229281187057495, -0.12679308652877808, 0.05587435141205788, -0.3241741359233856, 0.8677542805671692, -1.0059818029403687, -0.015421131625771523, -0.36241403222084045, -1.0374013185501099, 0.10621889680624008, 0.7213611006736755, 0.03481902927160263, 0.37194204330444336, 0.4373319745063782, 0.5409712195396423, -0.4502616226673126, -0.19662217795848846, 0.3600139021873474, 0.36092668771743774, 0.35643166303634644, 0.38608068227767944, 0.6153776049613953, -0.2805507481098175, 0.5733345150947571, -0.43552201986312866, -0.5120524168014526, -0.10768318176269531, -1.0555002689361572, -0.6952043175697327, -0.6063138842582703, -0.28742900490760803, -0.03692733868956566, -0.12936581671237946, 1.0302726030349731, 0.8087517619132996, -0.5615605711936951, -0.21519380807876587, 0.40399688482284546, -0.2474336177110672, -0.19396738708019257, -0.1872154176235199, 0.0686158761382103, -0.15572082996368408, -0.8652767539024353, 0.4927327036857605, 0.1812748908996582, 0.16866126656532288, -0.37750527262687683, 0.05621321499347687, -0.5460067987442017, -0.13810621201992035, 0.7634146809577942, 0.057104382663965225, -0.3025304675102234, -0.14572761952877045, -0.3653438985347748, 0.1038883775472641, 0.060003235936164856, 0.6754888296127319, -0.879466712474823, 0.8643495440483093, 0.5452881455421448, 0.7328866124153137, 0.8635261058807373, -0.17016218602657318, 0.40050721168518066, -0.6922728419303894, 0.2385871261358261, 0.12254648655653, 0.43258222937583923, 0.09495134651660919, -0.06941509991884232, 0.08006654679775238, 0.44319406151771545, -0.3881641924381256, -0.6889152526855469, 0.03602505102753639, -1.1234045028686523, -0.539033830165863, 0.3897956609725952, -0.1878129094839096, -0.1742219477891922, 0.30171525478363037, -0.37655943632125854, 0.5490950345993042, -0.2628141939640045, 0.897114098072052, 0.3685688078403473, 0.05108874663710594, -0.380199134349823, 0.0991632491350174, -0.022293565794825554, 0.42041701078414917, -0.4550381004810333, 0.05896222963929176, 0.6873372793197632, 0.6972449421882629, 0.17187447845935822, 0.2892070710659027, -0.12538212537765503, 0.0646548792719841, -0.014585673809051514, 0.2990490198135376, -0.5398714542388916, -0.6792461276054382, -0.35322508215904236, 0.46204957365989685, -0.2464919239282608, -0.3141942024230957 ]
http://arxiv.org/abs/2404.10830v2
http://arxiv.org/pdf/2404.10830v2
Fewer Truncations Improve Language Modeling
2024-04-16T18:08:29
2024-05-02T17:10:44
Hantian Ding, Zijian Wang, Giovanni Paolini, Varun Kumar, Anoop Deoras, Dan Roth, Stefano Soatto
cs.CL
cs.CL, cs.AI, cs.LG
In large language model training, input documents are typically concatenated together and then split into sequences of equal length to avoid padding tokens. Despite its efficiency, the concatenation approach compromises data integrity -- it inevitably breaks many documents into incomplete pieces, leading to excessive truncations that hinder the model from learning to compose logically coherent and factually consistent content that is grounded on the complete context. To address the issue, we propose Best-fit Packing, a scalable and efficient method that packs documents into training sequences through length-aware combinatorial optimization. Our method completely eliminates unnecessary truncations while retaining the same training efficiency as concatenation. Empirical results from both text and code pre-training show that our method achieves superior performance (e.g., relatively +4.7% on reading comprehension; +16.8% in context following; and +9.2% on program synthesis), and reduces closed-domain hallucination effectively by up to 58.3%.
[ -0.4229721426963806, -0.6371628642082214, 0.3361356258392334, -0.00655712466686964, -0.551827609539032, 0.18531611561775208, -0.34317073225975037, -0.5455645322799683, 0.016490483656525612, 0.4387262463569641, -0.4304220974445343, -0.2720540463924408, -0.6056178212165833, -0.012412738986313343, -0.547720730304718, 0.8116486668586731, 0.10383811593055725, -0.23865461349487305, -0.40373021364212036, -0.01332250889390707, -0.41011685132980347, -0.6434855461120605, -0.34099331498146057, -0.3186158835887909, 0.25302252173423767, 0.403998464345932, 0.7799544334411621, 1.0725778341293335, 0.4196895360946655, 0.2692374885082245, -0.20098832249641418, 0.5318130254745483, -0.6688963174819946, 0.12829285860061646, 0.3293202817440033, -0.33041879534721375, -0.29941433668136597, -0.042452916502952576, 0.706847608089447, 0.78848797082901, -0.37119942903518677, 0.11493311822414398, 0.2423657327890396, 0.8144619464874268, -0.5946940183639526, -0.09524795413017273, -0.40215304493904114, -0.013342924416065216, -0.24457427859306335, -0.46257033944129944, -0.7304832935333252, -0.3139156699180603, 0.16895577311515808, -0.5831997990608215, 0.2146717756986618, -0.031835246831178665, 0.6609053611755371, 0.25774019956588745, -0.15713602304458618, -0.22703991830348969, -0.8833848237991333, 0.774046003818512, -0.8280482292175293, 0.7115619778633118, 0.4782866835594177, 0.13734900951385498, -0.4229435324668884, -0.29435616731643677, -0.43660303950309753, 0.0578797273337841, -0.19411487877368927, -0.3195503056049347, 0.11205197870731354, 0.3173913061618805, 0.42678818106651306, 0.2535608112812042, -1.1228176355361938, -0.010864753276109695, -0.8176017999649048, -0.1617020070552826, 0.7632607221603394, -0.21491485834121704, 0.36048761010169983, 0.2138921618461609, 0.09021158516407013, -0.4389649033546448, -0.7267076373100281, -0.023020897060632706, 0.5890865921974182, 0.3158693015575409, 0.03743463754653931, 0.4704500138759613, 0.0813526064157486, 0.9960834383964539, 0.07528954744338989, -0.3217114806175232, 0.1376057118177414, -0.3065408170223236, -0.342589408159256, -0.012137767858803272, 0.5908791422843933, 0.15794631838798523, 0.4023239016532898, -0.32330429553985596, -0.011471017263829708, -0.12547479569911957, 0.3641078472137451, -0.8809438943862915, -0.2186252772808075, 0.32474929094314575, -0.2949460446834564, -0.33681395649909973, 0.04827682673931122, -0.5985583066940308, 0.14429445564746857, -0.3957279622554779, 0.10205677151679993, -0.7476880550384521, 0.2231297492980957, 0.3482872247695923, -0.08472718298435211, 0.10332995653152466, -0.01836678571999073, -1.1906886100769043, 0.38414615392684937, 0.7762624621391296, 1.0329753160476685, -0.18249762058258057, -0.21521727740764618, -1.0598788261413574, 0.2801571190357208, -0.41524696350097656, 0.7887681126594543, -0.6924681663513184, -0.5067608952522278, 0.060104597359895706, -0.32088330388069153, -0.01563325710594654, -0.4996185898780823, 0.5897974967956543, -0.15267381072044373, 0.2788068950176239, 0.11005211621522903, -0.8142185211181641, 0.013604159466922283, 0.16155540943145752, -0.6844046115875244, 1.103532314300537, 0.11987810581922531, -0.4375133216381073, 0.19754637777805328, -0.31972259283065796, -0.5870252251625061, 0.08231295645236969, 0.05270436406135559, -0.5679557919502258, 0.2793990671634674, 0.16879796981811523, 0.2610616087913513, 0.10171516239643097, 0.48007816076278687, -0.215765118598938, -0.6617299318313599, -0.049331191927194595, -0.18638509511947632, 0.5138205885887146, 0.07252059876918793, -0.08194563537836075, -0.052703745663166046, -0.7338378429412842, 0.25953438878059387, -0.12097527831792831, -0.6142844557762146, -0.47457611560821533, -0.1461302489042282, 0.03199242800474167, 0.2503204643726349, -0.14441727101802826, -0.3857892155647278, 0.48804566264152527, -0.7654622197151184, 0.3298507630825043, 0.6316031217575073, -0.29669103026390076, 0.7195790410041809, -0.5906813144683838, 0.5178055167198181, -0.19934433698654175, 0.20937283337116241, -0.09103468805551529, -0.06889127939939499, -0.7135630249977112, -0.1775009036064148, 0.4137493968009949, 0.24173638224601746, -0.5599024295806885, 0.6343919038772583, -0.3742394745349884, -0.6884466409683228, -0.13684263825416565, 0.23343002796173096, 0.45300212502479553, 0.3012697994709015, 0.33015209436416626, -0.3457983434200287, -0.6987975835800171, -0.640429675579071, -0.33198827505111694, -0.06850394606590271, 0.1754053235054016, -0.24212853610515594, 0.4832497239112854, -0.12622082233428955, 0.8050336837768555, -0.5813902616500854, -0.016982706263661385, -0.4093327522277832, -0.03289380297064781, -0.049550045281648636, 0.7414945960044861, 0.5379565954208374, -0.5623084306716919, -0.5594252943992615, -0.2772204279899597, -0.25792884826660156, 0.113328717648983, -0.2885113060474396, -0.28375357389450073, 0.3423008322715759, 0.3433397710323334, -0.8129859566688538, 0.45236852765083313, 0.657386302947998, -0.036571674048900604, 0.5643194317817688, -0.47314903140068054, -0.303114116191864, -0.9105790853500366, 0.09826960414648056, -0.19115330278873444, -0.38093841075897217, -0.8332891464233398, -0.1317560225725174, 0.053457312285900116, -0.24211007356643677, -0.35767489671707153, 0.556758463382721, -0.47939446568489075, -0.035158853977918625, -0.175062358379364, 0.11567961424589157, 0.3039200007915497, 0.49258530139923096, -0.029339764267206192, 0.8825741410255432, 0.25177624821662903, -0.719879150390625, -0.05115751922130585, 0.6096055507659912, -0.48229584097862244, 0.08965006470680237, -0.42187801003456116, 0.44797563552856445, -0.30375608801841736, 0.39745786786079407, -0.5478915572166443, -0.12157770991325378, -0.18629105389118195, -0.272345632314682, 0.6393084526062012, 0.07801426202058792, -0.5401269197463989, -0.37302324175834656, -0.4986526668071747, 0.5669253468513489, 0.48932981491088867, -0.5420827865600586, 0.31182411313056946, 0.4014611542224884, -0.007195404730737209, -0.5906212329864502, -0.7886281609535217, -0.19827596843242645, -0.18901480734348297, -0.6509380340576172, 0.3923662006855011, -0.5783535242080688, 0.23991930484771729, -0.3990238904953003, -0.3652348518371582, -0.29902130365371704, 0.05925382673740387, -0.09518461674451828, 0.22648297250270844, 0.07684233039617538, 0.12719076871871948, -0.012834680266678333, -0.10918973386287689, -0.4020451009273529, -0.623264729976654, 0.8115326166152954, -0.011598524637520313, -0.10918767750263214, -0.30593058466911316, 0.7356775999069214, 0.64682936668396, -0.3672087788581848, 1.0293631553649902, 0.26488155126571655, -0.45477956533432007, -0.5779284238815308, -0.44449901580810547, -0.12302573025226593, -0.527968168258667, 0.3148452639579773, -0.28621408343315125, -1.0229648351669312, 0.20248545706272125, 0.16103480756282806, 0.25383684039115906, -0.11706282198429108, 0.005411961581557989, -0.14605356752872467, 0.798105001449585, 1.0369030237197876, 0.07877368479967117, 0.6832554340362549, -0.34738048911094666, 0.7640734910964966, -0.7110535502433777, -0.18885007500648499, -0.6364754438400269, -0.17259977757930756, -0.47704488039016724, -0.5644049048423767, 0.12276298552751541, 0.14996035397052765, 0.05050012841820717, 0.5962542295455933, -0.7933914661407471, 0.8615142703056335, 0.5151901841163635, -0.017287472262978554, 0.11376337707042694, 0.29952380061149597, -0.07562001794576645, -0.11108125746250153, -0.9215856194496155, -0.4314011037349701, 0.9702779054641724, 0.09921927750110626, 0.5229637026786804, -0.00034767092438414693, 0.8824751377105713, -0.011193829588592052, -0.08504843711853027, -0.9121888875961304, 0.48778069019317627, -0.314223974943161, -0.15878397226333618, -0.39207711815834045, -0.4026406705379486, -0.9049199223518372, 0.17438600957393646, -0.10863260179758072, -0.9157422184944153, 0.17142672836780548, 0.32000231742858887, -0.44623783230781555, 0.3068494200706482, -0.5169482231140137, 0.7316337823867798, -0.253195583820343, -0.14690692722797394, 0.03510671854019165, -0.4553278088569641, 0.3594897389411926, -0.3306562006473541, 0.34345898032188416, 0.11553771793842316, 0.19214724004268646, 0.84111487865448, -0.709362268447876, 0.38431665301322937, 0.2777974605560303, 0.10747556388378143, 0.13633432984352112, 0.27787670493125916, 0.7362020015716553, -0.6142018437385559, -0.04619237035512924, -0.05706775188446045, 0.28730154037475586, -0.5359546542167664, -0.8622704148292542, 0.2764420807361603, -0.5486900210380554, -0.37432795763015747, -0.3707132935523987, -0.8745662569999695, -0.32357528805732727, 0.19127853214740753, 0.3880910873413086, 0.7407829761505127, -0.08765965700149536, 0.4036484658718109, 0.8202489018440247, -0.16106131672859192, 0.6438242197036743, 0.19129294157028198, 0.13152815401554108, -0.2912496030330658, 0.8089694976806641, 0.3679812550544739, 0.37398070096969604, 0.4366056025028229, 0.2725549638271332, -0.2740356922149658, -0.7772586941719055, -0.0267914067953825, 0.44645601511001587, -0.6124365329742432, -0.19620177149772644, -0.7143778204917908, -0.3559987545013428, -0.5755761861801147, -0.4532860219478607, -0.5440468192100525, -0.5001967549324036, 0.14291781187057495, -0.22625784575939178, -0.10576402395963669, 0.5445809364318848, 0.03776665776968002, 0.5807207822799683, -1.172680139541626, -0.086512990295887, -0.0073046511970460415, 0.4873063564300537, -0.07560991495847702, -0.3999501168727875, -0.5148755311965942, -0.19419926404953003, -0.35164445638656616, -0.706058144569397, 0.5902185440063477, 0.3762858510017395, 0.4339236915111542, 0.3336212635040283, 0.1605672836303711, 1.148867130279541, -0.6405350565910339, 0.5197962522506714, 0.1699763983488083, -1.0070505142211914, 0.5363264083862305, -0.26569709181785583, 0.41441646218299866, 0.7236056327819824, 0.06639765948057175, -0.6460105776786804, -0.4769953787326813, -0.7523882389068604, -0.8373263478279114, 0.6341721415519714, 0.39482662081718445, 0.06498651206493378, 0.037500087171792984, 0.335018128156662, 0.1321752369403839, 0.2224874049425125, -0.593810498714447, 0.036659713834524155, 0.3852303922176361, -0.4728406071662903, -0.05396941676735878, -0.503750205039978, -0.002534914528951049, -0.3322998881340027, 0.8202550411224365, -0.15974833071231842, 0.16412091255187988, -0.12321443110704422, -0.3393229842185974, -0.15554066002368927, 0.1303018182516098, 0.9909135699272156, 0.9103986620903015, -0.27917802333831787, 0.1898672878742218, -0.11353924125432968, -0.6560063362121582, 0.19892536103725433, -0.12687242031097412, -0.36261558532714844, 0.29459965229034424, 0.4584261178970337, 0.7064483165740967, 0.10932684689760208, -0.8818640112876892, 0.3889259994029999, -0.008810690604150295, -0.09068725258111954, -0.04220614582300186, 0.2634964883327484, -0.21103285253047943, -0.05257393419742584, -0.009268938563764095, 0.08225911110639572, 0.08708430826663971, -0.45921868085861206, 0.4865574240684509, 0.39487767219543457, -0.025306809693574905, -0.09019555896520615, 0.2529318034648895, 0.13793911039829254, -0.45239412784576416, 0.6608469486236572, 0.12082400918006897, -0.6152328848838806, 0.47060805559158325, 0.709609866142273, 0.7162038683891296, -0.29696154594421387, 0.3278746008872986, 0.5739936828613281, 0.5081746578216553, -0.594574511051178, -0.13365793228149414, -0.27190834283828735, -0.4225844740867615, -0.4857838749885559, -0.7214467525482178, -0.3252831995487213, 0.18420735001564026, -0.543333113193512, 0.30616381764411926, -0.2579721212387085, 0.14643196761608124, -0.33055388927459717, 0.25431787967681885, -0.5568768978118896, 0.10676351189613342, 0.214479461312294, 1.051160216331482, -0.893938422203064, 1.0073312520980835, 0.2563263773918152, -0.27991601824760437, -1.0421196222305298, -0.020440101623535156, -0.15779602527618408, -0.2181415855884552, 0.12308556586503983, 0.5100573301315308, 0.06572605669498444, -0.21649694442749023, -0.4896087944507599, -1.1696984767913818, 0.7015883326530457, 0.6247227191925049, -0.8977760076522827, -0.2855772078037262, 0.2999349534511566, 0.3473449945449829, -0.39565369486808777, 0.21286368370056152, 0.8818182349205017, 0.3116303086280823, 0.28944164514541626, -0.8516984581947327, 0.004458921495825052, -0.24129417538642883, 0.22515541315078735, 0.33694085478782654, -0.5098186731338501, 0.37379977107048035, 0.018703902140259743, -0.31203925609588623, -0.01878972351551056, 0.42444726824760437, 0.3470436930656433, 0.0009638842311687768, 0.36235395073890686, 0.6355944275856018, 1.3829374313354492, 0.06643842905759811, 1.175150752067566, -0.1480170488357544, 0.31487491726875305, 1.4378044605255127, 0.09559740126132965, 0.7523258328437805, 0.5222389698028564, -0.0014277322916314006, 0.2613716423511505, 0.7518191933631897, 0.18941554427146912, 0.6505414247512817, 0.21318280696868896, 0.0707801878452301, -0.2303069829940796, 0.0763014629483223, -0.17027857899665833, 0.31481602787971497, 0.11839472502470016, 0.013286173343658447, -0.1414502114057541, 0.025698812678456306, 0.21507057547569275, 0.06694618612527847, 0.20860739052295685, 0.6399728655815125, 0.09462203830480576, -0.812397837638855, 0.9274910688400269, -0.1660812497138977, 0.5589450001716614, -0.6257032155990601, 0.1202126294374466, -0.42767831683158875, 0.046491071581840515, -0.20432239770889282, -0.4392974376678467, 0.6529727578163147, 0.05392090976238251, -0.19676926732063293, -0.3620947301387787, 0.3922491669654846, -0.8767066597938538, -0.4543824791908264, 0.07453715056180954, 0.15090003609657288, 0.22785718739032745, 0.09831896424293518, -0.35950976610183716, 0.3464372456073761, -0.008184985257685184, -0.15360409021377563, 0.3745478689670563, 0.16120292246341705, -0.04819246008992195, 0.6494588255882263, 0.8006547689437866, 0.14881344139575958, 0.20948322117328644, -0.14604271948337555, 0.8566145896911621, -0.3802359104156494, -0.6666756868362427, -0.970486044883728, 0.6663008332252502, -0.25967511534690857, -0.109480120241642, 0.22625620663166046, 0.856732189655304, 1.0044702291488647, 0.05856354162096977, 0.6078468561172485, 0.19727107882499695, -0.13680538535118103, -0.450831800699234, 0.5235874056816101, -0.4684624969959259, 0.22812534868717194, -0.2001771330833435, -1.1798759698867798, -0.47935178875923157, 0.7572728991508484, -0.2744278609752655, -0.23871898651123047, 0.8973609805107117, 0.5701860785484314, -0.18984152376651764, -0.24173606932163239, 0.5056177973747253, -0.06240545213222504, 0.5728582143783569, 0.7224812507629395, 0.31175974011421204, -0.560053288936615, 0.746668815612793, -0.3216894268989563, 0.07625676691532135, -0.21600821614265442, -0.7616119384765625, -1.0119549036026, -0.5418141484260559, -0.3939976692199707, -0.39719563722610474, 0.08063536137342453, 1.002535343170166, 1.1430368423461914, -0.6288638710975647, -0.25340965390205383, -0.21744206547737122, 0.1267196387052536, -0.09609586745500565, -0.13466483354568481, 0.483206182718277, -0.3648240566253662, -0.7714707851409912, 0.39833366870880127, 0.5240992307662964, 0.26181164383888245, 0.09350007772445679, -0.23721788823604584, -0.16605548560619354, 0.422221839427948, 0.5238364934921265, 0.2539984881877899, -0.4717899560928345, -0.36041876673698425, -0.1788305789232254, -0.1833285540342331, 0.2820969223976135, 0.766825258731842, -0.5392141342163086, 0.6683571338653564, 0.6662933230400085, 0.8644811511039734, 0.695021390914917, 0.19890299439430237, 0.9531916379928589, -0.9647351503372192, 0.6005492806434631, 0.30763402581214905, 0.21406301856040955, 0.44704532623291016, -0.5805808305740356, 0.6328761577606201, -0.04821866378188133, -0.4287715554237366, -1.140889286994934, 0.1855388730764389, -1.080594539642334, -0.20219597220420837, 0.9016391038894653, -0.14606142044067383, -0.48273327946662903, 0.19151614606380463, 0.07766790688037872, 0.4385489225387573, -0.2859082520008087, 0.6843528151512146, 0.9313274621963501, -0.13109807670116425, -0.3364260196685791, -0.5680647492408752, 0.6866358518600464, 0.4795190393924713, -0.8157727718353271, 0.015363122336566448, 0.43245798349380493, 0.16014038026332855, 0.0775163471698761, 0.5700798034667969, 0.16826456785202026, 0.1196606233716011, -0.2180546224117279, -0.3048860430717468, -0.19708749651908875, -0.5635608434677124, -0.2501678764820099, 0.13501307368278503, -0.08327778428792953, -0.15734612941741943 ]
http://arxiv.org/abs/2404.10774v1
http://arxiv.org/pdf/2404.10774v1
MiniCheck: Efficient Fact-Checking of LLMs on Grounding Documents
2024-04-16T17:59:10
2024-04-16T17:59:10
Liyan Tang, Philippe Laban, Greg Durrett
cs.CL
cs.CL, cs.AI
Recognizing if LLM output can be grounded in evidence is central to many tasks in NLP: retrieval-augmented generation, summarization, document-grounded dialogue, and more. Current approaches to this kind of "fact-checking" are based on verifying each piece of a model generation against potential evidence using an LLM. However, this process can be very computationally expensive, requiring many calls to LLMs to check a single response. In this work, we show how to build small models that have GPT-4-level performance but for 400x lower cost. We do this by constructing synthetic training data with GPT-4, which involves creating realistic yet challenging instances of factual errors via a structured generation procedure. Training on this data teaches models to check each fact in the claim and recognize synthesis of information across sentences. For evaluation, we unify pre-existing datasets into a benchmark LLM-AggreFact, collected from recent work on fact-checking and grounding LLM generations. Our best system MiniCheck-FT5 (770M parameters) outperforms all systems of comparable size and reaches GPT-4 accuracy. We release LLM-AggreFact, code for data synthesis, and models.
[ -0.23715102672576904, -0.6234544515609741, 0.9347144365310669, -0.20559769868850708, -0.21724483370780945, 0.06551852077245712, 0.10678240656852722, -0.35893574357032776, -0.020383544266223907, 0.4200402498245239, -0.6416287422180176, -0.6033499836921692, -0.4504217207431793, 0.18639692664146423, -0.6822628378868103, 1.0349363088607788, 0.0611238069832325, -0.13041216135025024, -0.35767194628715515, -0.08161425590515137, -0.015516458079218864, -0.6226544380187988, -0.6863551735877991, -0.6744460463523865, 0.11663085222244263, 0.42585092782974243, 0.4629494845867157, 0.6894814372062683, 0.35227322578430176, 0.3293322026729584, -0.036795180290937424, 0.5396530628204346, -0.48124581575393677, -0.34983277320861816, -0.17285224795341492, -0.5897363424301147, -0.575555145740509, 0.4599802494049072, 0.48312950134277344, 0.2207004278898239, -0.09717077016830444, 0.23682868480682373, -0.10947515070438385, 0.6243957877159119, -0.3324660658836365, 0.22997665405273438, -0.8502834439277649, 0.034738898277282715, -0.08178454637527466, -0.2248764932155609, -0.4122105538845062, -0.5946907997131348, -0.2003733068704605, -0.3599182069301605, 0.7763057351112366, 0.2248581200838089, 1.0903890132904053, 0.4180699288845062, -0.4390676021575928, -0.5018887519836426, -0.3523049056529999, 0.4513469338417053, -0.7296375036239624, 0.3653542399406433, 0.500962495803833, 0.0846729502081871, -0.18308137357234955, -0.8247936367988586, -0.6492145657539368, -0.35344210267066956, -0.4371378421783447, 0.155268132686615, -0.07517094165086746, 0.31114670634269714, 0.7255027294158936, 0.5778343677520752, -0.5486240386962891, -0.1468539834022522, -0.12472797930240631, -0.3869187533855438, 0.21966561675071716, 0.09624867141246796, 0.20386482775211334, -0.3009895980358124, -0.155240997672081, -0.0300401970744133, -1.0972623825073242, -0.11680272221565247, 0.386689692735672, 0.006866978481411934, -0.03265421465039253, 0.8073726296424866, -0.4589284658432007, 0.5028961300849915, 0.3806608319282532, -0.4235055446624756, -0.10046307742595673, -0.9255576133728027, -0.4473799467086792, 0.07021144777536392, 0.4641492962837219, 0.34248313307762146, -0.3207787871360779, -0.05377424508333206, -0.41084393858909607, 0.4078504145145416, 0.04569341614842415, -0.9499849677085876, -0.5203839540481567, 0.15592136979103088, -0.1618809998035431, -0.6140369176864624, -0.25254887342453003, -0.5625453591346741, -0.4306128919124603, -0.4108283519744873, 0.301563024520874, -0.3737167418003082, 0.20515814423561096, 0.07244491577148438, 0.04494987428188324, 0.19963885843753815, 0.41298365592956543, -0.8142005205154419, 0.3753161132335663, 0.6802313923835754, 0.9753873348236084, 0.07072106003761292, -0.06115414947271347, -0.9046947360038757, 0.03523413836956024, -0.46261879801750183, 0.9562825560569763, -0.06817807257175446, -0.03951367735862732, -0.11368276923894882, -0.14536702632904053, 0.15578755736351013, -0.6147142648696899, 0.7839284539222717, -0.46079495549201965, 0.21003207564353943, -0.39084699749946594, -0.6533966660499573, 0.03399531915783882, 0.6128026843070984, -0.5865559577941895, 1.257834792137146, 0.03541635721921921, -0.9388071298599243, 0.5475977659225464, -0.48791149258613586, -0.3004637062549591, -0.0320824533700943, -0.5045375823974609, -0.42258501052856445, 0.06739248335361481, 0.2929117679595947, 0.22359004616737366, -0.3491785228252411, 0.24051691591739655, -0.0687156394124031, -0.30096498131752014, -0.12863023579120636, -0.07175113260746002, 0.6222360134124756, 0.019070034846663475, -0.565071702003479, 0.06287755817174911, -1.1631464958190918, 0.0011418216163292527, 0.005461875814944506, -0.7649429440498352, -0.16949370503425598, 0.06409308314323425, -0.6045490503311157, 0.1618029773235321, -0.01043944526463747, -0.4291025400161743, 0.169979989528656, -0.4506807327270508, 0.20671670138835907, 0.49781450629234314, -0.025428559631109238, 0.3259126842021942, -0.38709190487861633, 0.1487395018339157, -0.09957294166088104, -0.134269118309021, -0.11688544601202011, -0.35142797231674194, -1.2925302982330322, -0.39998409152030945, 0.5103682279586792, 0.46716970205307007, -0.9781149625778198, 0.5496034026145935, -0.19404269754886627, -0.37534722685813904, -0.32984161376953125, 0.18675169348716736, 0.21793468296527863, 0.7398473024368286, 0.38090798258781433, 0.08234897255897522, -0.7338452339172363, -0.8327746391296387, -0.2601149082183838, -0.3575160801410675, -0.18776021897792816, -0.05638868361711502, 0.5802834630012512, -0.33925071358680725, 1.0894454717636108, -0.309998095035553, -0.1466589719057083, -0.08749176561832428, 0.3467746376991272, 0.3797871470451355, 0.31347712874412537, 0.41709840297698975, -0.34575390815734863, -0.20886822044849396, -0.2698412835597992, -0.8192833662033081, -0.4073515832424164, -0.3221028447151184, -0.05323182791471481, 0.06126829981803894, 0.5183297395706177, -0.8791233897209167, 0.3091042935848236, 0.5328950881958008, -0.34651774168014526, 0.42075759172439575, -0.27059152722358704, 0.07989733666181564, -0.4290463924407959, -0.06479690223932266, -0.24158760905265808, -0.7096102237701416, -0.45418909192085266, 0.18168063461780548, 0.22980214655399323, 0.08714847266674042, -0.2702205181121826, 0.16036783158779144, -0.5095351934432983, -0.20905952155590057, -0.44700396060943604, 0.02357466146349907, 0.02016459032893181, 0.27603790163993835, -0.10166627913713455, 1.029062271118164, 0.07043064385652542, -0.6119518280029297, 0.3658093214035034, 0.057309579104185104, -0.4477401077747345, 0.4081250727176666, -0.5337405204772949, 0.4206768870353699, 0.14232751727104187, 0.4582805335521698, -0.7679758667945862, -0.25526708364486694, 0.03584161400794983, -0.029440922662615776, 0.11208576709032059, -0.5252665877342224, -0.8596024513244629, -0.21676963567733765, -0.4577085077762604, -0.006419215351343155, 0.5773467421531677, -0.8343629240989685, 0.82249516248703, 0.2920348644256592, -0.06926844269037247, -0.29341351985931396, -0.5093021392822266, 0.18958862125873566, -0.07249753177165985, -0.6806595921516418, 0.2800029516220093, -0.03120340406894684, -0.26562827825546265, -0.07435501366853714, -0.376845121383667, 0.2580197751522064, 0.07415460050106049, 0.1055443286895752, 0.09232982248067856, -0.12534558773040771, -0.09315363317728043, 0.10758595913648605, -0.29100966453552246, 0.12172538787126541, -0.24007374048233032, 0.29680484533309937, -0.4550262689590454, -0.5362592339515686, 0.12364665418863297, 0.04447563737630844, 0.45635926723480225, 0.29938578605651855, 0.306076318025589, 0.4335229694843292, -0.5226387977600098, -0.3657085597515106, -0.8330349326133728, -0.41815635561943054, -0.5038792490959167, -0.02613496407866478, -0.41904953122138977, -0.7556894421577454, 0.32013723254203796, -0.3864569067955017, 0.11334417015314102, 0.5749895572662354, 0.7628412842750549, -0.20346646010875702, 0.6814374923706055, 0.6094120144844055, 0.20729555189609528, -0.03031577169895172, -0.2845229208469391, 0.21395254135131836, -0.35572993755340576, -0.007430204655975103, -0.38969191908836365, 0.014050891622900963, -0.48062247037887573, -0.6482434868812561, 0.5166168212890625, -0.037722520530223846, -0.09146755188703537, -0.019175320863723755, -0.18255481123924255, 0.7890672087669373, 0.6721102595329285, 0.03377337008714676, 0.6836479902267456, 0.0006813722429797053, -0.4468250274658203, -0.053792115300893784, -0.7367664575576782, -0.6438782811164856, 0.9864139556884766, 0.22311389446258545, 0.6054890155792236, 0.07389563322067261, 0.7025049924850464, 0.44993746280670166, 0.5287697911262512, -0.6218770146369934, 0.7550661563873291, -0.06490733474493027, -0.505325973033905, -0.04568285867571831, -0.41857191920280457, -0.31341397762298584, 0.4621575176715851, -0.35503721237182617, -0.11155460774898529, -0.013826576061546803, 0.4552643299102783, -0.48783373832702637, 0.26058343052864075, -0.5501872897148132, 0.39215636253356934, -0.2665773332118988, -0.4083728790283203, -0.18333609402179718, -0.47118255496025085, 0.7885165214538574, -0.296512246131897, 0.2990981638431549, -0.18660962581634521, 0.15390661358833313, 0.5932573080062866, -0.7304955720901489, 0.9431211948394775, -0.07507232576608658, -0.09340161085128784, 0.3654436469078064, 0.17893089354038239, 1.0076045989990234, 0.2637929320335388, 0.08312387019395828, 0.14391431212425232, 0.026931259781122208, -0.06836848706007004, -0.41197484731674194, 0.6837741732597351, -0.6403411626815796, -0.6785922050476074, -0.6805545687675476, -0.22573935985565186, -0.34596946835517883, 0.31948229670524597, 0.43118560314178467, 0.17574380338191986, -0.15577730536460876, 0.11451935768127441, 0.8237357139587402, 0.10670936107635498, 0.12999942898750305, 0.6979302167892456, -0.16727903485298157, -0.2735278904438019, 0.650364875793457, 0.12004873156547546, -0.031167345121502876, 0.22101478278636932, 0.3547457158565521, -0.3430944085121155, -0.7582743763923645, -0.4857901334762573, 0.2861691117286682, -0.9232163429260254, -0.37059569358825684, -0.82795649766922, -0.19251668453216553, -0.1186588779091835, 0.11300979554653168, -0.5218417048454285, -0.47142669558525085, 0.009746716357767582, -0.5383341908454895, 0.14950154721736908, 0.7176386713981628, -0.41368383169174194, 0.19749906659126282, -0.6588231325149536, 0.6903996467590332, 0.659246027469635, 0.09468436241149902, -0.5121150612831116, -0.50087571144104, -0.23106157779693604, -0.06474076211452484, -0.3115985095500946, -0.6879798173904419, 0.06676343083381653, 0.1320263147354126, 0.3436332941055298, 0.13809578120708466, 0.06679479777812958, 0.44290855526924133, -0.8672558665275574, 0.8004206418991089, 0.04901836812496185, -1.0593326091766357, 0.5212210416793823, -0.29775217175483704, -0.16221310198307037, 0.6376619935035706, 0.06673093140125275, -0.17937371134757996, -0.3746349811553955, -0.7722289562225342, -0.7291065454483032, 0.6108002662658691, 0.3706645965576172, -0.3154520094394684, 0.15070511400699615, 0.4477699398994446, -0.0059023224748671055, 0.2322569489479065, -0.7499704957008362, -0.1355161964893341, -0.26451560854911804, -0.21856075525283813, 0.11230305582284927, -0.6470972895622253, -0.7257832288742065, -0.2499394714832306, 0.7152742147445679, -0.51482093334198, 0.24613580107688904, 0.19475509226322174, -0.21469749510288239, 0.08196073025465012, 0.15195707976818085, 0.7734625339508057, 0.45315787196159363, -0.4590227007865906, 0.7481909990310669, 0.48217302560806274, -0.267987996339798, 0.5248371362686157, -0.12612365186214447, -0.5155869722366333, 0.23626375198364258, 0.3287942111492157, 0.455321341753006, 0.1655419021844864, -0.3010269105434418, 0.4818592667579651, -0.007882988080382347, -0.3167545795440674, -0.1965402364730835, 0.1975671648979187, 0.20590434968471527, 0.1812138557434082, 0.11038622260093689, 0.08361729979515076, 0.2531900405883789, -0.5141034722328186, 0.3406532406806946, 0.21896852552890778, 0.35162994265556335, -0.3120216727256775, 0.49545466899871826, 0.2735559642314911, 0.21371977031230927, 0.5081871151924133, -0.43482455611228943, -0.5679746866226196, 0.4666793942451477, 0.4451286792755127, 0.7133389711380005, 0.19947469234466553, 0.019469432532787323, 0.34978917241096497, 0.78136146068573, -0.32061558961868286, 0.2050146460533142, 0.08932112157344818, -0.8046839237213135, -0.5138453841209412, -0.48008760809898376, -0.7855589389801025, 0.45004934072494507, -0.19809509813785553, 0.25228366255760193, -0.6918271780014038, -0.16313622891902924, -0.13276264071464539, 0.08805104345083237, -0.773004412651062, 0.41792023181915283, 0.07094595581293106, 0.8052567839622498, -1.011397361755371, 0.8930206298828125, 0.5052478909492493, -0.24317769706249237, -0.5748384594917297, -0.1057850793004036, 0.3051677942276001, -0.7623000741004944, 0.8689001202583313, 0.020009208470582962, -0.5486584305763245, -0.08790260553359985, -0.7231989502906799, -0.8408750295639038, 1.0587505102157593, 0.5661681890487671, -0.5538065433502197, -0.16311390697956085, -0.001538240583613515, 0.4604136049747467, -0.22140729427337646, 0.25748229026794434, 0.8789953589439392, 0.42069634795188904, 0.0024309842847287655, -0.4605436623096466, 0.2207050919532776, 0.02738010883331299, -0.3045417368412018, -0.3122462332248688, -0.6678789854049683, 0.8619277477264404, -0.0923779308795929, -0.4476638436317444, -0.2027433067560196, 0.6558346748352051, 0.6078988909721375, 0.30876386165618896, 0.6292020082473755, 0.7036436796188354, 1.156712532043457, -0.24416087567806244, 1.0541982650756836, -0.3195452094078064, 0.47146129608154297, 1.3040955066680908, -0.27821460366249084, 0.46446937322616577, 0.3959939479827881, -0.2485051155090332, 0.38056957721710205, 0.6626831293106079, -0.125110924243927, 0.5431461334228516, 0.183698371052742, -0.25991398096084595, -0.37933066487312317, 0.14277708530426025, -0.2371807098388672, 0.1884465217590332, 0.33383551239967346, -0.06588888168334961, -0.37499168515205383, -0.49145546555519104, 0.013003145344555378, -0.21921072900295258, 0.0156759861856699, 0.732075572013855, 0.021980591118335724, -0.5141682624816895, 0.5921178460121155, 0.298382043838501, 0.6724372506141663, -0.5858045816421509, -0.06185963749885559, -0.5415905117988586, 0.20963910222053528, -0.3748426139354706, -0.4201538860797882, 0.23686730861663818, 0.3109688460826874, -0.303257018327713, -0.2427499145269394, 1.0445080995559692, -0.39511388540267944, -0.36027824878692627, 0.04109452664852142, 0.5861436128616333, 0.052584998309612274, -0.08562785387039185, -0.5784409642219543, 0.03299390524625778, 0.09119399636983871, -0.262326180934906, 0.3037818968296051, 0.4099608361721039, 0.13576257228851318, 0.477642297744751, 1.0150879621505737, 0.29239270091056824, 0.19536331295967102, -0.004451951012015343, 0.9130396842956543, -0.5039833784103394, -0.601353645324707, -0.90326988697052, 0.244075745344162, -0.2441723495721817, 0.17252115905284882, 0.7830159664154053, 0.6897522211074829, 0.7558208107948303, -0.10285168886184692, 0.9730246067047119, 0.19530326128005981, 0.6051247119903564, -1.0473594665527344, 0.5672741532325745, -0.27523598074913025, 0.3540847599506378, 0.16914941370487213, -0.7004282474517822, -0.11067984998226166, 0.7642912864685059, -0.11231470853090286, -0.10072282701730728, 1.0446312427520752, 0.7786105871200562, -0.3196006119251251, 0.01766657829284668, 0.3938111364841461, 0.21758441627025604, 0.6829938292503357, 0.32796770334243774, 0.9884328246116638, -0.4310654103755951, 0.3000320792198181, -0.27435237169265747, -0.24731439352035522, -0.21939966082572937, -1.357741355895996, -0.93281489610672, 0.005464650224894285, -0.47112205624580383, -0.6016292572021484, -0.1997128278017044, 0.8295634984970093, 0.6822973489761353, -0.9051594734191895, 0.05284663662314415, -0.20881709456443787, 0.2070857286453247, 0.061591219156980515, -0.15385381877422333, 0.5113192200660706, -0.39730599522590637, -0.4397163689136505, 0.8610366582870483, 0.3041827082633972, 0.14524126052856445, -0.041511114686727524, -0.025545360520482063, -0.07980614900588989, 0.34988799691200256, 0.6216816902160645, 0.12807822227478027, -0.7052951455116272, -0.5556846261024475, -0.2857157588005066, -0.2907995581626892, 0.0613187700510025, 1.2148369550704956, -0.6551090478897095, 0.2978491485118866, 0.543172299861908, 0.9157206416130066, 0.7744021415710449, 0.058026887476444244, 0.3314547836780548, -0.9541207551956177, 0.04006968438625336, 0.014939946122467518, 0.6541746258735657, 0.4586419463157654, -0.4655568301677704, 0.9019638895988464, 0.6639823317527771, -0.5521324276924133, -0.8769347071647644, 0.1601434201002121, -0.7998732328414917, 0.16770309209823608, 1.133988380432129, -0.08437387645244598, 0.0845259577035904, -0.10405050963163376, -0.0916316956281662, 0.1252821385860443, -0.09556679427623749, 0.7122828364372253, 0.9661864042282104, -0.24523547291755676, -0.07771354168653488, -0.5121152997016907, 0.9649478793144226, 0.40574368834495544, -0.992020308971405, 0.09288274496793747, 0.6638389825820923, 0.5452114939689636, 0.23764874041080475, 0.8964858055114746, 0.06682969629764557, 0.16683495044708252, 0.240631103515625, -0.014545464888215065, -0.22222918272018433, -0.22458811104297638, -0.11577938497066498, 0.27153974771499634, 0.007608878426253796, 0.024060780182480812 ]
http://arxiv.org/abs/2404.10763v1
http://arxiv.org/pdf/2404.10763v1
LaDiC: Are Diffusion Models Really Inferior to Autoregressive Counterparts for Image-to-Text Generation?
2024-04-16T17:47:16
2024-04-16T17:47:16
Yuchi Wang, Shuhuai Ren, Rundong Gao, Linli Yao, Qingyan Guo, Kaikai An, Jianhong Bai, Xu Sun
cs.AI
cs.AI, cs.CL, cs.CV
Diffusion models have exhibited remarkable capabilities in text-to-image generation. However, their performance in image-to-text generation, specifically image captioning, has lagged behind Auto-Regressive (AR) models, casting doubt on their applicability for such tasks. In this work, we revisit diffusion models, highlighting their capacity for holistic context modeling and parallel decoding. With these benefits, diffusion models can alleviate the inherent limitations of AR methods, including their slow inference speed, error propagation, and unidirectional constraints. Furthermore, we identify the prior underperformance of diffusion models stemming from the absence of an effective latent space for image-text alignment, and the discrepancy between continuous diffusion processes and discrete textual data. In response, we introduce a novel architecture, LaDiC, which utilizes a split BERT to create a dedicated latent space for captions and integrates a regularization module to manage varying text lengths. Our framework also includes a diffuser for semantic image-to-text conversion and a Back&Refine technique to enhance token interactivity during inference. LaDiC achieves state-of-the-art performance for diffusion-based methods on the MS COCO dataset with 38.2 BLEU@4 and 126.2 CIDEr, demonstrating exceptional performance without pre-training or ancillary modules. This indicates strong competitiveness with AR models, revealing the previously untapped potential of diffusion models in image-to-text generation.
[ -0.27969226241111755, -0.7808417081832886, 0.4711401164531708, 0.34091225266456604, -0.4919704794883728, 0.07039698958396912, 0.056678012013435364, -0.2652983069419861, -0.21797528862953186, 0.3736766576766968, -0.2610008120536804, -0.31197991967201233, -0.921312153339386, 0.05652705207467079, -0.7416971325874329, 0.8540249466896057, -0.13220061361789703, -0.07219710201025009, -0.45976579189300537, -0.10496506094932556, -0.4833366572856903, -0.03341175243258476, -0.7760121822357178, 0.004327266942709684, 0.31706127524375916, 0.010729383677244186, 0.6020521521568298, 0.5018186569213867, 0.40654128789901733, 0.25513550639152527, -0.02239234186708927, 0.2648322880268097, -0.30680298805236816, 0.15665796399116516, -0.016217177733778954, -0.27536290884017944, -0.34040093421936035, 0.003684688825160265, 0.6340253949165344, 0.45465534925460815, -0.24821412563323975, -0.21348686516284943, -0.04733423888683319, 1.1095386743545532, -0.5346226096153259, 0.0543932169675827, -0.6175600290298462, 0.1252231001853943, 0.10318450629711151, -0.10939205437898636, -0.5961447358131409, -0.13634496927261353, 0.15697212517261505, -0.474421888589859, 0.5705543160438538, 0.3055753707885742, 0.8358518481254578, 0.6322129964828491, -0.30746883153915405, -0.40082210302352905, -0.6456335783004761, 0.6748819947242737, -0.7205132246017456, 0.1414828896522522, 0.17619635164737701, 0.20925576984882355, 0.1319940835237503, -0.6638741493225098, -0.5117170214653015, -0.12357576191425323, -0.08850394189357758, 0.37078821659088135, -0.19339028000831604, -0.2744370996952057, -0.22393706440925598, 0.3953978717327118, -0.3656229078769684, 0.02196173556149006, -0.2243870198726654, 0.07838614284992218, 0.6569674611091614, 0.10624489188194275, 0.3128419816493988, -0.06991468369960785, -0.4841735064983368, 0.010869135148823261, -0.6020374298095703, -0.3069731891155243, 0.3283660113811493, 0.017701050266623497, -0.3414888381958008, 0.38436710834503174, 0.2112792581319809, 0.6593698859214783, 0.23023246228694916, 0.06066972017288208, -0.12319762259721756, -0.16838201880455017, -0.30616846680641174, -0.2222318947315216, 1.0558661222457886, 0.37881985306739807, -0.07966261357069016, -0.3162906765937805, -0.22564010322093964, -0.0828954204916954, 0.2561998963356018, -0.7522901892662048, -0.5056024193763733, 0.11106160283088684, -0.5189149975776672, -0.3758757710456848, -0.07174412161111832, -0.8180041909217834, -0.2576676309108734, 0.0951499491930008, 0.17878444492816925, -0.233681321144104, -0.14977110922336578, -0.17456835508346558, -0.3414919972419739, 0.17945899069309235, 0.7312828302383423, -0.6119540929794312, 0.32420775294303894, 0.15545973181724548, 1.303388237953186, -0.6670873165130615, -0.06653604656457901, -0.13354870676994324, 0.24154072999954224, -0.6308860182762146, 1.131500005722046, -0.39379948377609253, -0.6262155771255493, -0.19558359682559967, -0.003832147689536214, -0.2976335287094116, -0.5670047998428345, 0.2303847372531891, -0.8707621693611145, 0.21831923723220825, -0.03371252864599228, -0.525857150554657, 0.1144663542509079, -0.18733544647693634, -0.8153720498085022, 0.6150627732276917, 0.051263246685266495, -0.9414215087890625, 0.19061437249183655, -0.9132563471794128, -0.6019508838653564, -0.04110150411725044, -0.14722749590873718, -0.5325005054473877, 0.10325133055448532, 0.302676796913147, 0.5305200815200806, -0.4296535849571228, 0.4169500470161438, -0.16309672594070435, -0.08627929538488388, 0.09900476038455963, -0.8354653716087341, 0.5113492012023926, 0.4658496677875519, -0.2628712058067322, -0.15507183969020844, -0.33914002776145935, -0.5886213779449463, 0.24800528585910797, -0.20240816473960876, -0.2621867060661316, 0.25736501812934875, 0.23177765309810638, 0.15422995388507843, -0.021474236622452736, -0.3613913655281067, -0.0497916005551815, -0.20911331474781036, 0.6565145254135132, 0.7634994387626648, 0.001496623852290213, 0.9934777617454529, -0.18329867720603943, 0.45046573877334595, 0.42661792039871216, 0.0805233046412468, -0.40001457929611206, -0.6752946972846985, -0.4142812192440033, -0.5058516263961792, 0.40304863452911377, 0.3999743163585663, -0.8772336840629578, 0.2322930097579956, -0.255184143781662, -0.14729823172092438, -0.3652985692024231, 0.0926591008901596, 0.0027140076272189617, 0.8038437366485596, 0.2779825031757355, -0.7140897512435913, 0.14957371354103088, -0.8691372871398926, 0.3015900254249573, 0.17021425068378448, 0.2873344421386719, 0.3753904700279236, 0.39617037773132324, -0.3078542947769165, 0.9740232229232788, -0.4025349020957947, -0.18195459246635437, 0.019133185967803, 0.39518141746520996, -0.1602027863264084, 0.6032736897468567, 0.582545816898346, -1.0551177263259888, -0.7141278386116028, -0.017894597724080086, -0.7593089938163757, -0.050391875207424164, -0.1841040700674057, -0.340064138174057, 0.6772361397743225, 0.5005375146865845, -0.642198383808136, 0.7717822194099426, 0.60157310962677, -0.24866844713687897, 0.41556787490844727, -0.3768627643585205, 0.19585029780864716, -0.8771049976348877, 0.15040326118469238, 0.0701385885477066, -0.3148232400417328, -0.27551624178886414, -0.034063827246427536, 0.011399930343031883, 0.05809061601758003, -0.3446294963359833, 0.8624988198280334, -0.5992510914802551, -0.1133478432893753, -0.5331488847732544, 0.10737963765859604, 0.27437931299209595, 0.14239786565303802, 0.5370442271232605, 0.892195463180542, 0.8281868696212769, -0.6533192992210388, 0.10545410960912704, 0.14984746277332306, -0.26476773619651794, 0.6688377857208252, -0.7440198659896851, -0.2290412038564682, -0.4621594548225403, 0.5789443850517273, -1.4060698747634888, -0.13891011476516724, 0.315885066986084, -0.25855082273483276, 0.48920905590057373, -0.11623699963092804, -0.5939394235610962, -0.2396857887506485, -0.12994587421417236, 0.6265132427215576, 0.8428732752799988, -0.5135628581047058, 0.5558878779411316, 0.08526895195245743, -0.10353489220142365, -0.773726761341095, -0.8384894728660583, 0.09255874902009964, -0.28388747572898865, -0.4036182761192322, 0.2864363193511963, -0.26747894287109375, -0.061717670410871506, 0.1299777328968048, -0.006343650631606579, -0.3286561071872711, -0.14803439378738403, 0.26541242003440857, 0.3439951539039612, 0.005676513537764549, -0.03487877547740936, 0.4874826967716217, 0.1039547398686409, -0.05117463320493698, -0.1708836555480957, 0.228124737739563, 0.23792177438735962, -0.0627942904829979, -0.5887432098388672, 0.4244151711463928, 0.6011033654212952, -0.04753110930323601, 0.9062371253967285, 0.6260499954223633, 0.04000524803996086, -0.17117834091186523, -0.42148634791374207, 0.19272759556770325, -0.4459281265735626, -0.022501252591609955, -0.114918053150177, -0.5779242515563965, 0.5397505164146423, -0.20463095605373383, 0.15269669890403748, 0.5615907907485962, 0.5246654748916626, -0.3924005925655365, 0.7398349046707153, 0.5104433298110962, 0.12096469104290009, 0.4644400477409363, -0.5609862804412842, 0.11007092893123627, -0.9284976720809937, 0.004841040354222059, -0.07470393180847168, -0.04068264737725258, -0.1300935000181198, -0.7297024726867676, 0.13937154412269592, 0.13544227182865143, 0.04375378042459488, -0.025558017194271088, -0.5601774454116821, 0.31043511629104614, 0.13195766508579254, 0.03359702229499817, 0.3073844313621521, 0.2650497555732727, 0.04876399412751198, 0.15623648464679718, -1.0287044048309326, -0.46592244505882263, 0.9390888214111328, 0.35224539041519165, 0.931869626045227, 0.09793175756931305, 0.5131828784942627, 0.8928261399269104, 0.746791422367096, -0.48011264204978943, 0.35160189867019653, -0.39422157406806946, -0.43638142943382263, -0.32152000069618225, -0.30993741750717163, -0.9537965655326843, 0.2094586193561554, 0.1381915956735611, -0.18233764171600342, 0.433022141456604, 0.22015877068042755, -0.2757193446159363, 0.3230953812599182, -0.7905073761940002, 0.8181235790252686, 0.03895661607384682, -0.6702051162719727, -0.05800582841038704, -0.6860599517822266, 0.47353166341781616, -0.16927187144756317, 0.6081808805465698, 0.02485428750514984, -0.22853758931159973, 0.4720397889614105, -0.5039387941360474, 0.9676805734634399, -0.18756401538848877, -0.42140042781829834, 0.5453965663909912, 0.15330877900123596, 0.22151286900043488, 0.09621842205524445, 0.1697015017271042, 0.011956349946558475, -0.012668810784816742, -0.6358410716056824, -0.45654943585395813, 0.8687577843666077, -0.7200232744216919, -0.3595373034477234, -0.21563798189163208, -0.612206757068634, 0.2104162871837616, 0.04897390678524971, 0.6254674792289734, 0.401277095079422, -0.18460816144943237, -0.2537468671798706, 0.735884428024292, -0.22348006069660187, 0.9461489915847778, 0.09843599796295166, 0.07611244916915894, -0.4842243790626526, 0.8732274770736694, -0.10418500006198883, 0.3999708592891693, 0.42952489852905273, 0.05980004370212555, -0.43814748525619507, -0.5460708141326904, -0.7546966671943665, 0.46674662828445435, -0.8033313155174255, -0.22846628725528717, -0.8439110517501831, -0.04342081770300865, -0.43801888823509216, -0.5285376906394958, -0.5466852784156799, -0.3593842387199402, -0.6863456964492798, 0.3210849463939667, 0.1157064214348793, 0.8559525012969971, -0.11064396053552628, 0.5089250802993774, -0.5755783915519714, 0.40428096055984497, 0.34068453311920166, 0.2423304319381714, 0.4824034571647644, -0.6659547686576843, -0.25627508759498596, -0.25160083174705505, -0.18513892590999603, -0.8816732168197632, 0.6878975629806519, 0.1491452008485794, 0.2617097496986389, 0.32609131932258606, -0.017753729596734047, 0.6020308136940002, -0.8126512169837952, 0.8397741913795471, 0.26787200570106506, -0.8066392540931702, 0.43595582246780396, -0.22098489105701447, 0.18220014870166779, 0.22838905453681946, 0.38966378569602966, 0.08286882936954498, -0.3658488988876343, -0.6917407512664795, -0.9418153166770935, 0.47992873191833496, 0.2660619914531708, 0.16523827612400055, -0.16885699331760406, 0.4896317422389984, 0.3086836636066437, 0.44438374042510986, -0.9247890710830688, -0.15322473645210266, -0.34028497338294983, -0.19906331598758698, -0.0999281108379364, -0.2466028481721878, -0.1565835028886795, -0.17613521218299866, 0.49959495663642883, -0.06349466741085052, 0.41489866375923157, 0.5168343782424927, -0.17983216047286987, -0.1215125173330307, -0.008659744635224342, 0.41889306902885437, 0.3500857651233673, 0.09234436601400375, -0.03489745408296585, -0.29417186975479126, -0.2913133203983307, 0.14296534657478333, 0.13510572910308838, -0.16009937226772308, 0.024941742420196533, 0.4110148847103119, 0.812376081943512, -0.23266473412513733, -0.6073461771011353, 0.7089240550994873, -0.13034096360206604, -0.28952863812446594, -0.2207350730895996, -0.15878407657146454, -0.09408548474311829, 0.23527765274047852, 0.3693068027496338, 0.3450889587402344, 0.4197731614112854, -0.30203506350517273, 0.00917716883122921, 0.6511502265930176, -0.27332058548927307, -0.1229163259267807, 1.0484849214553833, 0.3115118145942688, -0.03690721467137337, 0.33631986379623413, -0.29525405168533325, 0.04299723356962204, 0.7752109169960022, 0.40528905391693115, 0.8838724493980408, -0.014761961065232754, 0.5595411658287048, 0.11309737712144852, 0.2552812993526459, -0.3375474512577057, -0.21882222592830658, -0.5865604877471924, -0.5346850752830505, -0.3432043492794037, -0.49021604657173157, -0.0685821995139122, -0.33500009775161743, -0.4776242673397064, -0.22669684886932373, -0.3155161738395691, -0.20198452472686768, -0.037199269980192184, -0.5314807295799255, -0.5066487789154053, 0.2910718023777008, 0.04307933151721954, 0.7693337202072144, -0.9844518303871155, 0.7331852912902832, 0.5814619660377502, -0.2197725623846054, -0.13463006913661957, 0.08933623880147934, -0.5820273160934448, -0.42695102095603943, 0.7651031613349915, -0.02450282871723175, -0.11178090423345566, -0.011018434539437294, -0.7651847004890442, -0.587142825126648, 1.1899663209915161, -0.0367443785071373, -0.46657782793045044, -0.2450445294380188, -0.20562578737735748, 0.6189659833908081, -0.7204776406288147, 0.2304980307817459, 0.36689430475234985, 0.1499950885772705, 0.4306010603904724, -0.45522257685661316, -0.05829233303666115, -0.014481711201369762, 0.47819894552230835, -0.26981788873672485, -0.8740862011909485, 0.7517212629318237, -0.3840957283973694, -0.4202720820903778, 0.3434375524520874, 0.6200505495071411, 0.10288412123918533, 0.5911657810211182, 0.35638895630836487, 0.49769458174705505, 0.22823908925056458, 0.09340909868478775, 1.2036978006362915, -0.07919716089963913, 0.29909780621528625, 1.0067389011383057, -0.2567833960056305, 0.9137227535247803, 0.5394807457923889, -0.07162544131278992, 0.8094680309295654, 0.5956005454063416, 0.2217307686805725, 0.9165264964103699, -0.19807632267475128, -0.20020993053913116, -0.06862393766641617, 0.17603786289691925, -0.036467354744672775, -0.13075321912765503, 0.3566161096096039, -0.689544677734375, -0.21684545278549194, 0.16386866569519043, -0.34760749340057373, 0.2742753028869629, -0.06961506605148315, 0.6572516560554504, -0.09828194230794907, -0.3963944911956787, 0.5197938680648804, -0.06291305273771286, 0.8273124098777771, -0.18117010593414307, -0.008782065473496914, -0.5068319439888, -0.23426547646522522, -0.09373688697814941, -0.6840249300003052, 0.43384501338005066, -0.11768234521150589, -0.3036089539527893, -0.2047758847475052, 0.5525943040847778, -0.39647793769836426, -0.3898940086364746, 0.11330775916576385, 0.5146985054016113, 0.07859635353088379, 0.18066295981407166, -0.9067001342773438, 0.02154250256717205, -0.12592849135398865, -0.20938202738761902, 0.02660955861210823, 0.4008534550666809, 0.05259036272764206, 0.5968452095985413, 0.25996023416519165, -0.13914020359516144, 0.2089015543460846, 0.03400956466794014, 0.6238751411437988, -0.4279000163078308, -0.48162543773651123, -0.8009793162345886, 0.5195492506027222, -0.05329989641904831, 0.17051108181476593, 0.5768560171127319, 0.5177663564682007, 0.30896854400634766, -0.30412179231643677, 0.9205904006958008, -0.13646070659160614, 0.16102592647075653, -0.5468090772628784, 0.7490024566650391, -0.7683054208755493, 0.3310483992099762, -0.28806382417678833, -0.8076990246772766, -0.25590017437934875, 0.46628129482269287, -0.4156612753868103, 0.0839877501130104, 0.617077648639679, 0.5770811438560486, -0.05762844905257225, -0.23379766941070557, 0.34325069189071655, 0.11429038643836975, 0.26358047127723694, 0.2766980230808258, 0.9562103748321533, -0.6459997892379761, 0.23623962700366974, -0.14429472386837006, -0.19720517098903656, 0.06287004798650742, -0.8690987229347229, -1.0044710636138916, -0.6860544681549072, -0.6514514684677124, -0.10458970069885254, -0.00150560331530869, 0.12014681100845337, 0.90779709815979, -0.4553808569908142, -0.1833200603723526, -0.6020165085792542, 0.13375671207904816, 0.05668935552239418, -0.3258720338344574, 0.4632924199104309, -0.38030409812927246, -0.9339385628700256, 0.0262627974152565, 0.43100041151046753, 0.5346341133117676, -0.43404123187065125, -0.10208632051944733, -0.21583350002765656, 0.375311017036438, 0.8141842484474182, 0.19994497299194336, -0.8621148467063904, 0.38091835379600525, -0.25707268714904785, -0.07852308452129364, 0.22594515979290009, 0.5561280250549316, -0.7805886268615723, 0.4233510196208954, 0.20731887221336365, 0.4812632203102112, 0.5240140557289124, 0.27871841192245483, 0.3845564126968384, -0.6272132396697998, 0.334114670753479, -0.04923213645815849, 0.1859065145254135, 0.5506001710891724, -0.417192667722702, 0.35272571444511414, 0.3464094400405884, -0.6480191349983215, -0.7613325715065002, 0.07026991248130798, -0.8626551628112793, -0.7019447684288025, 1.0100562572479248, -0.042506083846092224, -0.5095663666725159, 0.1483772099018097, -0.29533421993255615, 0.018306437879800797, -0.5196041464805603, 0.7952534556388855, 0.7593632936477661, -0.31239283084869385, -0.6007516980171204, -0.3787655830383301, 0.5231258869171143, 0.31614840030670166, -0.7703142166137695, 0.1316101849079132, 0.7775291800498962, 0.2635767161846161, 0.1264706701040268, 0.8515270352363586, -0.2940838932991028, 0.22768621146678925, 0.11487571150064468, -0.18587760627269745, 0.2198101133108139, -0.4571399390697479, -0.4569808840751648, 0.15466198325157166, 0.09066189080476761, -0.09681382030248642 ]
http://arxiv.org/abs/2404.10757v1
http://arxiv.org/pdf/2404.10757v1
Deep Learning and LLM-based Methods Applied to Stellar Lightcurve Classification
2024-04-16T17:35:25
2024-04-16T17:35:25
Yu-Yang Li, Yu Bai, Cunshi Wang, Mengwei Qu, Ziteng Lu, Roberto Soria, Jifeng Liu
astro-ph.IM
astro-ph.IM, astro-ph.SR, cs.CL, cs.LG
Light curves serve as a valuable source of information on stellar formation and evolution. With the rapid advancement of machine learning techniques, it can be effectively processed to extract astronomical patterns and information. In this study, we present a comprehensive evaluation of deep-learning and large language model (LLM) based models for the automatic classification of variable star light curves, based on large datasets from the Kepler and K2 missions. Special emphasis is placed on Cepheids, RR Lyrae, and eclipsing binaries, examining the influence of observational cadence and phase distribution on classification precision. Employing AutoDL optimization, we achieve striking performance with the 1D-Convolution+BiLSTM architecture and the Swin Transformer, hitting accuracies of 94\% and 99\% correspondingly, with the latter demonstrating a notable 83\% accuracy in discerning the elusive Type II Cepheids-comprising merely 0.02\% of the total dataset.We unveil StarWhisper LightCurve (LC), an innovative Series comprising three LLM-based models: LLM, multimodal large language model (MLLM), and Large Audio Language Model (LALM). Each model is fine-tuned with strategic prompt engineering and customized training methods to explore the emergent abilities of these models for astronomical data. Remarkably, StarWhisper LC Series exhibit high accuracies around 90\%, significantly reducing the need for explicit feature engineering, thereby paving the way for streamlined parallel data processing and the progression of multifaceted multimodal models in astronomical applications. The study furnishes two detailed catalogs illustrating the impacts of phase and sampling intervals on deep learning classification accuracy, showing that a substantial decrease of up to 14\% in observation duration and 21\% in sampling points can be realized without compromising accuracy by more than 10\%.
[ -0.2040775865316391, -0.6714512705802917, 0.4722939431667328, -0.13047847151756287, -0.01925431378185749, 0.27426621317863464, -0.4402152895927429, -0.8678709268569946, -0.2295890599489212, 0.6056188344955444, -0.6041739583015442, -0.611433744430542, -0.47504153847694397, -0.09711965918540955, -0.43804100155830383, 0.8518498539924622, -0.10140882432460785, 0.3226376473903656, 0.18899327516555786, -0.10236085951328278, -0.3017910122871399, -0.22439885139465332, -0.25096723437309265, -0.24105922877788544, 0.7240076065063477, 0.5039457082748413, 0.6950820684432983, 0.682515025138855, 0.9889161586761475, 0.34699124097824097, -0.10703638195991516, 0.5329669117927551, -0.41223767399787903, 0.14326703548431396, 0.2656998336315155, -0.4477231502532959, -0.09484558552503586, -0.07876632362604141, 0.41768980026245117, 0.8384944200515747, 0.06679771095514297, 0.3784462809562683, 0.2882094383239746, 0.5173662900924683, -0.40418824553489685, 0.631138265132904, -0.4762042462825775, 0.17545165121555328, -0.2400216907262802, -0.19768360257148743, -0.3980816602706909, -0.4076375365257263, 0.30407121777534485, -0.6556230187416077, 0.48878344893455505, 0.16039954125881195, 0.5945290923118591, 0.48224544525146484, -0.3936561346054077, -0.6855925917625427, -1.0685548782348633, 0.8706005811691284, -0.5829481482505798, 0.4972790777683258, -0.1849558800458908, 0.48363086581230164, -0.05948817357420921, -0.8480114936828613, -0.446761816740036, -0.4358976483345032, -0.02615184523165226, 0.02462432160973549, 0.3105827271938324, 0.1448814421892166, 0.15768273174762726, 0.35970911383628845, -0.48279687762260437, 0.5968984961509705, -0.46511754393577576, -0.0840291902422905, 0.6035011410713196, 0.4682562053203583, -0.35648369789123535, -0.29289278388023376, -0.28775110840797424, -0.4001675248146057, -0.49637147784233093, 0.42954760789871216, 0.19972741603851318, 0.4269271492958069, -0.13275018334388733, 0.6166056990623474, -0.049066223204135895, 0.3679141700267792, 0.16961698234081268, -0.3201247453689575, 0.09983223676681519, -0.2965312898159027, -0.18880616128444672, -0.2241571694612503, 0.7101157307624817, 0.3017524480819702, 0.04768836125731468, -0.19614748656749725, -0.32864290475845337, 0.2542591094970703, -0.23139646649360657, -0.8897855281829834, -0.34650304913520813, 0.07864232361316681, -0.5283904671669006, -0.2838588356971741, 0.15282128751277924, -0.6855820417404175, -0.5972927212715149, -0.7881722450256348, 0.23170296847820282, -0.22853519022464752, 0.08300917595624924, -0.008581963367760181, 0.284025639295578, 0.23101237416267395, 0.47468653321266174, -0.9252153038978577, 0.07155919820070267, 0.7751706838607788, 0.6087772250175476, -0.16821101307868958, -0.30207720398902893, -0.10258544236421585, -0.23622694611549377, -0.40118318796157837, 0.45233553647994995, -0.4361785650253296, -0.37163442373275757, 0.026617487892508507, 0.2639036178588867, 0.027947090566158295, -0.372672438621521, 0.626705527305603, -0.6864822506904602, -0.025548625737428665, -0.09108234941959381, -0.995937705039978, -0.47571486234664917, -0.20715317130088806, -0.482352077960968, 0.684458315372467, 0.19567365944385529, -0.32398295402526855, 0.7917705774307251, -0.35619595646858215, -0.12189680337905884, 0.5569536685943604, -0.3207198977470398, -0.46807533502578735, 0.12045277655124664, 0.043044563382864, 0.8391093611717224, -0.22489462792873383, 0.39181968569755554, -0.34881994128227234, -0.2936069369316101, 0.17528781294822693, -0.44041600823402405, 0.3742794990539551, 0.5262058973312378, -0.5978944897651672, 0.19284160435199738, -0.5138850808143616, 0.11761025339365005, -0.051003795117139816, -0.14972348511219025, -0.03877398371696472, 0.07091344892978668, 0.6175952553749084, -0.07915151864290237, 0.14064866304397583, -0.3955984115600586, 0.3171924650669098, -0.18386974930763245, 0.35427483916282654, 0.5932488441467285, -0.12373953312635422, 0.4978586435317993, 0.017453422769904137, 0.14486461877822876, -0.08950408548116684, 0.5397960543632507, -0.18085898458957672, -0.29233574867248535, -0.9438735246658325, -0.05631664767861366, 0.0913587212562561, 0.5625672936439514, -0.549292802810669, 0.7996938824653625, -0.12592090666294098, -0.9310650825500488, -0.3644663095474243, 0.41894975304603577, 0.44674456119537354, 0.5771463513374329, 0.42455288767814636, 0.20399469137191772, -0.25225311517715454, -0.5722659230232239, 0.22000430524349213, 0.024201171472668648, 0.1592470407485962, 0.4680060148239136, 0.522838294506073, -0.5131629705429077, 0.5096778273582458, -0.28919747471809387, -0.13991035521030426, -0.08939379453659058, 0.023357832804322243, 0.2537999153137207, 0.3237585723400116, 0.40011829137802124, -0.7174848914146423, -0.39214223623275757, 0.07414940744638443, -0.896814227104187, 0.04734232276678085, -0.13854335248470306, 0.19607743620872498, 0.3717614412307739, 0.48860350251197815, -0.3474685251712799, 0.3345834016799927, 0.48581597208976746, -0.7704102396965027, 0.3510396480560303, -0.200274258852005, 0.3450232148170471, -0.5345746874809265, -0.02173948474228382, 0.19468463957309723, -0.09606282413005829, -0.6592724323272705, 0.11860877275466919, 0.44318392872810364, 0.1880175769329071, -0.4058126211166382, 0.25496888160705566, -0.4341309666633606, -0.2660626471042633, -0.4583149552345276, -0.2027585804462433, -0.270990788936615, 0.2888850271701813, 0.13197839260101318, 0.27469322085380554, 0.5475577116012573, -0.7799699902534485, 0.5274155139923096, 0.10301272571086884, -0.695858359336853, -0.0032346094958484173, -0.3551408052444458, 0.009918823838233948, -0.05283437296748161, 0.12931086122989655, -0.7303928136825562, -0.02502049133181572, 0.12229707092046738, -0.22064711153507233, 0.3731355667114258, -0.05891812592744827, -0.42074140906333923, -0.44518494606018066, 0.014178888872265816, 0.21011221408843994, 0.6654994487762451, -0.6535875797271729, 0.25761938095092773, 0.06942393630743027, -0.12334772199392319, -0.46980729699134827, -0.35385972261428833, -0.08197227865457535, -0.17911304533481598, -0.49197497963905334, 0.3453100919723511, -0.18296748399734497, -0.27484631538391113, -0.22041580080986023, 0.07352951914072037, 0.3431020975112915, 0.037543777376413345, 0.529901385307312, 0.7238820791244507, -0.3075937032699585, 0.06590277701616287, -0.267488956451416, -0.279061496257782, -0.2553427517414093, -0.13563400506973267, 0.7334790229797363, -0.42352843284606934, -0.4006060063838959, -0.5908665657043457, -0.2609235346317291, 0.6115261912345886, 0.05833965912461281, 0.2451993227005005, 0.9792505502700806, -0.12046949565410614, -0.2797257602214813, -0.5882790088653564, -0.4039088785648346, -0.4567458927631378, 0.4407413601875305, -0.07779254019260406, -0.8805460333824158, 0.4158484935760498, 0.15187519788742065, 0.36340436339378357, 0.5916900634765625, 0.38113290071487427, -0.2640531361103058, 0.8220120072364807, 0.6365330815315247, -0.09218616038560867, 0.46685707569122314, -0.5861108303070068, -0.1191008985042572, -0.6445985436439514, -0.6473223567008972, -0.37750011682510376, -0.48153093457221985, -0.800513505935669, -0.6633992195129395, 0.1408139169216156, 0.03504849970340729, -0.33751118183135986, 0.31004050374031067, -0.6902181506156921, 0.30338606238365173, 0.29367566108703613, 0.3732636570930481, 0.1667374223470688, -0.13443484902381897, 0.4362015128135681, -0.20520494878292084, -0.4408377408981323, -0.5674247741699219, 1.1878851652145386, 0.5973162651062012, 1.1447755098342896, -0.3475421369075775, 0.4442538321018219, 0.3422802686691284, 0.2436402589082718, -0.7720804214477539, 0.33602282404899597, -0.3658837676048279, -0.07605660706758499, -0.49650976061820984, -0.5538948178291321, -0.6816586852073669, 0.09830173850059509, -0.45985904335975647, -0.14913615584373474, 0.4845900535583496, 0.11814709007740021, -0.48308855295181274, 0.3174552321434021, -0.5701878070831299, 0.7515419125556946, -0.7909500598907471, -0.13816073536872864, -0.22336074709892273, -0.5074657797813416, 0.26126596331596375, -0.12450998276472092, 0.1959734559059143, -0.2975369393825531, -0.1470111906528473, 0.6492764353752136, -0.18090209364891052, 0.7145715951919556, -0.3751829266548157, 0.037537604570388794, 0.2207094430923462, 0.08224871754646301, 0.606356143951416, 0.18486608564853668, 0.07534781843423843, 0.213372141122818, -0.06022880971431732, -0.17361269891262054, -0.32723888754844666, 0.7565866708755493, -1.00521981716156, -0.15984521806240082, -0.22791044414043427, -0.5638549327850342, 0.08203355222940445, -0.12664730846881866, 0.23704485595226288, 0.4855698049068451, 0.09404001384973526, 0.4784126877784729, 0.5947487354278564, -0.06960424780845642, 0.7068070769309998, 0.6491069197654724, -0.468326598405838, -0.31274303793907166, 0.7079047560691833, 0.06764472275972366, 0.16120260953903198, 0.15970858931541443, 0.1453040987253189, -0.4233418405056, -0.9138946533203125, -0.3894159495830536, 0.09193474799394608, -0.7820079922676086, -0.2354803830385208, -0.49032726883888245, -0.2425854355096817, -0.41373735666275024, -0.4010261595249176, -0.2378099113702774, -0.20146842300891876, -0.30123814940452576, 0.005353363696485758, 0.3597041964530945, 0.8899981379508972, 0.33394235372543335, 0.3809613883495331, -0.6417610049247742, 0.11296592652797699, 0.07135710120201111, -0.02637358568608761, -0.2530194818973541, -0.6529852151870728, -0.1848558634519577, -0.16915658116340637, -0.17269739508628845, -0.37270599603652954, 0.5682376027107239, 0.24043351411819458, 0.4251331686973572, 0.4733946919441223, -0.242384135723114, 0.685279130935669, -0.2753307819366455, 0.6310306191444397, 0.41657403111457825, -0.678806722164154, 0.37228095531463623, -0.05047741159796715, 0.17830610275268555, 0.5438460111618042, 0.13020791113376617, -0.5015173554420471, -0.3685440719127655, -0.4744388461112976, -0.7543083429336548, 0.611993670463562, 0.06091193109750748, -0.18495264649391174, 0.4661557674407959, 0.7364343404769897, 0.391206294298172, 0.09327612072229385, -0.6577503085136414, -0.3501482307910919, -0.16956831514835358, -0.3556039035320282, -0.6244445443153381, 0.042928941547870636, 0.38596972823143005, -0.2939038872718811, 0.412950724363327, -0.24851639568805695, -0.1395433098077774, 0.16252754628658295, -0.3168824017047882, -0.3030777871608734, 0.006502619944512844, 0.35297882556915283, 0.6020202040672302, -0.18582360446453094, -0.056322332471609116, 0.30860111117362976, -0.6140303611755371, -0.15497536957263947, 0.2961365580558777, -0.43116986751556396, 0.02687111683189869, 0.47076138854026794, 0.8290805220603943, 0.2803749740123749, -0.545189619064331, 0.24388784170150757, 0.0430883914232254, -0.11603456735610962, -0.6011970043182373, 0.3299815058708191, -0.04537005349993706, 0.6393597722053528, 0.5510565042495728, 0.34636232256889343, 0.26614707708358765, -0.33941811323165894, 0.09313080459833145, 0.35086286067962646, -0.4092506468296051, -0.17846299707889557, 0.6013310551643372, 0.1710459589958191, -0.13511201739311218, 0.5956084132194519, 0.0974232405424118, -0.3856884837150574, 0.9336914420127869, 0.02837577648460865, 0.6836499571800232, -0.32879653573036194, 0.05935479328036308, 0.37336844205856323, 0.11889471858739853, -0.08164721727371216, 0.11436782032251358, -0.0869000032544136, -0.4780794382095337, -0.2878727912902832, -0.8206617832183838, -0.5214617252349854, 0.07578662037849426, -0.24056322872638702, 0.6697022914886475, -0.6059273481369019, -0.02867521531879902, 0.2379414439201355, 0.35076791048049927, -1.0263996124267578, 0.07649309188127518, 0.7102620005607605, 0.7507877349853516, -0.6233224868774414, 0.747161865234375, 0.15337561070919037, -0.16032548248767853, -0.7646132707595825, -0.5226037502288818, 0.05476904287934303, -0.772214412689209, 0.7422032952308655, 0.3333424925804138, -0.07641410827636719, -0.00573219358921051, -0.4479259252548218, -0.7309795618057251, 1.494002342224121, -0.11721431463956833, -1.355205774307251, -0.06342203170061111, 0.38191333413124084, 0.5280500650405884, -0.49190419912338257, 0.46470382809638977, 0.504319429397583, 0.533209502696991, 0.2800810933113098, -0.8695036768913269, -0.25316688418388367, 0.21709924936294556, -0.14305716753005981, 0.2873629033565521, -0.5410478711128235, 0.782468318939209, -0.370212584733963, -0.08905072510242462, 0.11748021841049194, 0.686293363571167, 0.09984862804412842, 0.4152444303035736, 0.6177376508712769, 0.08679123967885971, 0.8515146970748901, -0.34641480445861816, 0.6368762254714966, -0.5210508108139038, 0.6108958721160889, 0.5969970226287842, -0.3357994854450226, 0.7313520908355713, 0.2394070029258728, -0.15206627547740936, 0.30524560809135437, 0.8860390186309814, -0.6222412586212158, 0.40977492928504944, 0.10803613811731339, -0.1367189884185791, -0.13719823956489563, 0.2405175417661667, -0.1423713117837906, 0.341741144657135, 0.5654405951499939, -0.5261228680610657, 0.035634223371744156, 0.2311198115348816, -0.18639619648456573, -0.13006162643432617, -0.5753241181373596, 0.6253054738044739, 0.1198001429438591, -0.5154373049736023, 0.2614246904850006, -0.21881254017353058, 1.0536696910858154, -0.48430952429771423, 0.18356645107269287, -0.167583629488945, 0.5713494420051575, -0.4745931327342987, -0.8378826379776001, -0.1359456181526184, -0.015063619241118431, 0.07116453349590302, -0.1769503951072693, 0.6078574061393738, -0.5242561101913452, -0.8632140755653381, 0.32069912552833557, 0.29852059483528137, 0.04057258740067482, 0.25297364592552185, -0.6488809585571289, -0.06059334799647331, 0.1303962618112564, -0.30005717277526855, -0.07971012592315674, 0.2465488463640213, 0.16905269026756287, 0.660030722618103, 0.7556183934211731, 0.09103628247976303, 0.27920565009117126, 0.21965186297893524, 0.573963463306427, -1.0267341136932373, -0.2874618172645569, -0.7292054295539856, 0.3259091079235077, 0.08469398319721222, -0.41969186067581177, 0.7319341897964478, 0.6758407950401306, 0.5852991938591003, -0.16570720076560974, 0.48007020354270935, -0.06791732460260391, 0.5122727751731873, -0.5821722745895386, 0.5369020104408264, -0.21988390386104584, 0.39306876063346863, -0.07367967814207077, -1.1229138374328613, -0.10100369155406952, 0.10096059739589691, -0.19183450937271118, 0.10190002620220184, 0.561137855052948, 0.7036077976226807, -0.03977413848042488, 0.08286532759666443, 0.35289114713668823, 0.060637958347797394, 0.4284602105617523, 0.6878543496131897, 1.0433313846588135, -0.3983398675918579, 0.7278949022293091, -0.5885362029075623, -0.22288383543491364, -0.46335068345069885, -0.36564648151397705, -0.6848137974739075, -0.45682528614997864, -0.40990379452705383, -0.13226065039634705, -0.203358992934227, 0.884562075138092, 0.7077479362487793, -0.871369481086731, -0.22338221967220306, -0.15167108178138733, -0.34426018595695496, 0.04904342070221901, -0.25102555751800537, 0.6181594133377075, -0.6887871623039246, -0.7134531736373901, 0.4333367645740509, 0.0975116640329361, 0.24094921350479126, -0.5389783382415771, -0.5034961700439453, 0.6564548015594482, -0.4195159375667572, 0.4510534405708313, 0.12206879258155823, -0.919705867767334, -0.38511770963668823, 0.37349411845207214, -0.31586208939552307, -0.13669954240322113, 0.7960771918296814, -0.7010506987571716, 0.11193142831325531, 0.2626330256462097, 0.30452439188957214, 0.7095817923545837, -0.33796459436416626, 0.06602390855550766, -0.050002001225948334, 0.09017674624919891, 0.5105343461036682, 0.6320924162864685, 0.31609687209129333, -0.41716012358665466, 0.4385066628456116, 0.24522621929645538, -1.079749345779419, -0.6194322109222412, 0.009351196698844433, -1.1613807678222656, -0.34782204031944275, 1.1336133480072021, 0.04218944162130356, -0.21313999593257904, -0.09809324890375137, -0.27782371640205383, 0.29041585326194763, -0.20087593793869019, 0.8019008040428162, 0.23867389559745789, -0.3684981167316437, -0.3297159671783447, -0.7491276264190674, 0.6400132775306702, 0.14489667117595673, -0.7274239659309387, 0.1981886476278305, 0.6691299080848694, 0.25747692584991455, 0.2614212930202484, -0.15304361283779144, -0.05495854839682579, 0.2967413067817688, -0.13621577620506287, 0.23260344564914703, -0.07502537220716476, -0.46490123867988586, -0.3097951114177704, 0.1390283703804016, -0.051121968775987625, 0.15980203449726105 ]
http://arxiv.org/abs/2404.10719v2
http://arxiv.org/pdf/2404.10719v2
Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study
2024-04-16T16:51:53
2024-04-21T11:58:54
Shusheng Xu, Wei Fu, Jiaxuan Gao, Wenjie Ye, Weilin Liu, Zhiyu Mei, Guangju Wang, Chao Yu, Yi Wu
cs.CL
cs.CL
Reinforcement Learning from Human Feedback (RLHF) is currently the most widely used method to align large language models (LLMs) with human preferences. Existing RLHF methods can be roughly categorized as either reward-based or reward-free. Novel applications such as ChatGPT and Claude leverage reward-based methods that first learn a reward model and apply actor-critic algorithms, such as Proximal Policy Optimization (PPO). However, in academic benchmarks, state-of-the-art results are often achieved via reward-free methods, such as Direct Preference Optimization (DPO). Is DPO truly superior to PPO? Why does PPO perform poorly on these benchmarks? In this paper, we first conduct both theoretical and empirical studies on the algorithmic properties of DPO and show that DPO may have fundamental limitations. Moreover, we also comprehensively examine PPO and reveal the key factors for the best performances of PPO in fine-tuning LLMs. Finally, we benchmark DPO and PPO across a collection of RLHF testbeds, ranging from dialogue to code generation. Experiment results demonstrate that PPO is able to surpass other alignment methods in all cases and achieve state-of-the-art results in challenging code competitions.
[ -0.2604396641254425, -0.36409756541252136, 0.6701769232749939, 0.12316929548978806, -0.13427680730819702, 0.3050813376903534, -0.3656403720378876, -0.4204829931259155, -0.17388823628425598, 0.3275464177131653, -0.7502608299255371, -0.23073171079158783, -0.42668652534484863, 0.14419375360012054, 0.33212390542030334, 0.9348236918449402, -0.17836470901966095, 0.0967484712600708, -0.398762971162796, 0.047021832317113876, -0.37862643599510193, -0.6129562258720398, -0.4841550886631012, -0.7287235856056213, 0.5824089646339417, 0.5130820274353027, 0.799153745174408, 0.8352510333061218, 0.5735641121864319, 0.3049512505531311, -0.07665695995092392, 0.38089635968208313, -0.519451916217804, 0.09693673253059387, -0.15446361899375916, -0.2198927253484726, -0.5177882313728333, 0.08546528220176697, 0.5744644403457642, 0.47694718837738037, -0.44354355335235596, -0.24264727532863617, 0.09688939899206161, 1.0823558568954468, -0.6834335923194885, 0.07164281606674194, -0.39208877086639404, 0.22853349149227142, 0.056214988231658936, -0.19701333343982697, -0.3782324194908142, -0.6408400535583496, 0.28257808089256287, -0.772026777267456, -0.26858997344970703, 0.15479294955730438, 0.8414686918258667, 0.44558462500572205, -0.3143031895160675, -0.2727055251598358, -0.7978585958480835, 0.9899157285690308, -0.5883450508117676, 0.27484363317489624, 0.2594980299472809, 0.15780609846115112, -0.46739619970321655, -0.11857352405786514, -0.6867953538894653, -0.5628774762153625, 0.053951114416122437, 0.2595677971839905, 0.0534827783703804, 0.3591834008693695, 0.08120446652173996, 0.5316094756126404, -0.43426746129989624, 0.5538671016693115, 0.10775437951087952, -0.2529239356517792, 0.6753634214401245, -0.021253449842333794, 0.06343881040811539, -0.16903391480445862, -0.6268114447593689, -0.4758813977241516, -0.6738955974578857, 0.1903793215751648, 0.7197414040565491, 0.13017356395721436, 0.23175868391990662, 0.46683216094970703, -0.11613623052835464, 0.704509437084198, 0.2977008521556854, -0.38161516189575195, 0.060955632477998734, -0.05246717482805252, 0.056108709424734116, 0.14869073033332825, 1.0500917434692383, 0.477725088596344, 0.4388604462146759, -0.21259614825248718, -0.29954901337623596, -0.08116351813077927, 0.32937872409820557, -0.39526060223579407, 0.025752363726496696, 0.30407747626304626, -0.2313738763332367, -0.43569037318229675, 0.030465122312307358, -0.586532473564148, -0.5127890110015869, -0.4359312057495117, 0.16352912783622742, -0.25962361693382263, -0.28149130940437317, -0.05861695110797882, 0.19246989488601685, 0.45610523223876953, 0.36209970712661743, -1.120726466178894, 0.2646652162075043, 1.1688525676727295, 0.6017402410507202, -0.6005684733390808, -0.5376530885696411, -0.5967288017272949, -0.10797543823719025, -0.5595992803573608, 0.7622799277305603, -0.4225730299949646, -0.3923824429512024, 0.06062636524438858, -0.3594861626625061, -0.07367317378520966, -0.9458224773406982, 0.6854809522628784, -0.5331818461418152, 0.29421499371528625, -0.31722140312194824, -0.7317221164703369, 0.10384221374988556, 0.16219785809516907, -0.448603093624115, 0.9239813685417175, 0.11908978223800659, -0.5539355278015137, 0.4366616904735565, -0.32931989431381226, -0.26395896077156067, -0.26273515820503235, -0.2761586606502533, -0.5801598429679871, 0.04774007946252823, 0.05427030101418495, 0.12400045245885849, -0.2715930640697479, 0.6013292074203491, -0.5215816497802734, -0.4767191708087921, 0.7166831493377686, -0.2390735149383545, 0.23315951228141785, 0.2893851697444916, -0.4667951464653015, 0.45097240805625916, -0.5562803745269775, -0.10579003393650055, 0.15792813897132874, -0.4828279912471771, 0.004210242070257664, 0.3597923219203949, -0.2762888967990875, 0.3423415720462799, 0.1548977494239807, -0.48032355308532715, 0.45122548937797546, -0.39999374747276306, 0.47518596053123474, 1.2350213527679443, -0.21538275480270386, 0.6500524878501892, -0.5128344297409058, 0.5735483169555664, -0.14151820540428162, 0.2910095453262329, 0.382517546415329, -0.16675399243831635, -0.5238590240478516, -0.19650766253471375, 0.39970746636390686, 0.724913477897644, -0.36890727281570435, 0.6673219799995422, -0.15429356694221497, -0.13850779831409454, -0.5707442164421082, 0.07151325047016144, 0.653373658657074, 0.8256886005401611, 0.15051589906215668, -0.3795551359653473, -0.3473982512950897, -1.0354390144348145, -0.00616831798106432, -0.4357264041900635, -0.02147991955280304, 0.5143954753875732, 0.09947378188371658, 0.06807836890220642, 0.8854789137840271, -0.47710639238357544, -0.18706108629703522, -0.18427501618862152, -0.07270344346761703, 0.09775863587856293, 0.4508940279483795, 0.2353878915309906, -0.6001201272010803, -0.5916832685470581, 0.03272907808423042, -0.35031893849372864, -0.20701251924037933, -0.049362603574991226, -0.16240271925926208, 0.46928879618644714, -0.006545925512909889, -0.20291553437709808, -0.11911813169717789, 0.7237458825111389, -0.11338948458433151, 0.6045248508453369, -0.39506444334983826, 0.22993317246437073, -0.6925899982452393, 0.09611126035451889, -0.15849311649799347, -0.3498557209968567, -0.42928093671798706, -0.2411458045244217, 0.023565925657749176, -0.11135155707597733, -0.4935958683490753, 0.3224193751811981, -0.13170631229877472, -0.2667451500892639, -0.418836385011673, 0.24561788141727448, -0.10775315761566162, 0.8051683306694031, 0.31849053502082825, 0.9301270246505737, 0.26292967796325684, -0.7492634654045105, 0.3404053747653961, 0.2560441493988037, -0.35551777482032776, 0.43149641156196594, -0.657307505607605, 0.40595316886901855, 0.04914950206875801, 0.22488728165626526, -0.8547759056091309, -0.06461668759584427, 0.5026560425758362, -0.2197999358177185, 0.34619659185409546, -0.07725995033979416, -0.4003659784793854, -0.06877096742391586, -0.4029293358325958, 0.16336201131343842, 0.6754593253135681, -0.5836465954780579, 0.007133772596716881, 0.35891643166542053, -0.019121430814266205, -0.9444486498832703, -0.22151662409305573, -0.22329206764698029, -0.283405065536499, -0.2978847324848175, 0.6918773055076599, 0.0065465932711958885, -0.1620589792728424, -0.23140214383602142, -0.35466283559799194, 0.2060154527425766, 0.1541312038898468, 0.17544282972812653, 0.38896799087524414, 0.24017350375652313, 0.14442357420921326, -0.33535048365592957, -0.39836370944976807, -0.22826972603797913, -0.2902992367744446, 0.5406933426856995, -0.22672486305236816, -0.31329527497291565, -0.679100513458252, 0.18271492421627045, 0.397583931684494, -0.13013480603694916, 0.45395252108573914, 0.10976870357990265, 0.2274526059627533, -0.08587620407342911, -0.4842275083065033, -0.09579890966415405, -0.4400820732116699, 0.1389177292585373, -0.207556813955307, -0.8589826226234436, 0.2611538767814636, -0.3042438328266144, -0.06048080325126648, 0.24108441174030304, 0.31087982654571533, -0.16407930850982666, 1.135968565940857, 0.6581527590751648, -0.2533860206604004, 0.8405967354774475, 0.08390826731920242, -0.07623089104890823, -0.8685830235481262, -0.11207111179828644, -0.40083417296409607, -0.509494960308075, -0.8472687005996704, -0.1676548421382904, 0.1508587896823883, 0.36422330141067505, -0.34953829646110535, 0.20958399772644043, -0.6208438277244568, 0.4358889162540436, 0.6317645907402039, 0.08030117303133011, 0.3815075159072876, -0.011150438338518143, -0.09699495881795883, -0.1817304790019989, -0.7504221200942993, -0.5324013233184814, 1.0154508352279663, 0.4154781103134155, 0.6907449960708618, 0.018251048400998116, 0.9281080961227417, 0.18830129504203796, 0.24717777967453003, -1.0124682188034058, 0.43552082777023315, -0.09435901790857315, -0.15174563229084015, -0.42029622197151184, -0.5338937044143677, -0.9820094108581543, 0.26194724440574646, -0.2628735303878784, -0.613679826259613, 0.2517279088497162, 0.5121338367462158, -0.368536114692688, 0.11507793515920639, -0.5746762752532959, 0.8456335663795471, -0.5364807844161987, -0.5895935893058777, -0.2598051130771637, -0.47622549533843994, 0.10752454400062561, 0.2836114168167114, 0.03913815692067146, -0.2870776355266571, -0.23487186431884766, 0.6711093187332153, -0.4588501453399658, 0.4659125804901123, -0.17625805735588074, -0.3801988363265991, 0.13772591948509216, -0.08399249613285065, 0.6439191102981567, 0.003127428935840726, -0.04644371569156647, -0.08648058027029037, -0.13638941943645477, -0.35662707686424255, -0.5959292054176331, 0.7422375082969666, -1.0676132440567017, -0.6287499666213989, -0.6844101548194885, -0.3153497874736786, -0.4255427420139313, -0.013277576304972172, 0.038681939244270325, 0.10658126324415207, -0.11992323398590088, -0.09916378557682037, 0.7632838487625122, -0.3570233881473541, 0.3062339127063751, 0.5882896780967712, -0.2070866972208023, -0.7387551069259644, 0.8969185948371887, -0.20778797566890717, 0.3590849041938782, 0.8173433542251587, 0.5612207055091858, -0.45615488290786743, -0.5882852673530579, -0.3122254014015198, 0.3420293927192688, -0.4595019221305847, -0.023890655487775803, -0.1123509407043457, 0.2407023161649704, -0.3344630300998688, -0.0743749812245369, -0.6425407528877258, -0.32184267044067383, 0.015106135047972202, 0.09754832834005356, 0.04770136624574661, 0.5381730794906616, -0.059151776134967804, 0.026621714234352112, -0.5409524440765381, 0.14651435613632202, 0.500361442565918, 0.6461144685745239, -0.16346488893032074, -0.21050086617469788, 0.08318454027175903, -0.07066211104393005, -0.48186811804771423, -0.9372619390487671, 0.05227483808994293, -0.11329804360866547, 0.5400921702384949, 0.33970972895622253, 0.1953856498003006, 0.6163245439529419, -0.39707067608833313, 0.45812922716140747, 0.17687195539474487, -0.8226720094680786, 0.6010342240333557, -0.31735944747924805, 0.09976713359355927, 0.6879336833953857, 0.3557133376598358, -0.6725590229034424, 0.16088533401489258, -0.5073509216308594, -0.7585839033126831, 0.9141010642051697, -0.1451234072446823, -0.26343002915382385, 0.12365573644638062, 0.48388969898223877, 0.16497482359409332, 0.299301415681839, -0.6421318650245667, -0.05789743736386299, 0.013823323883116245, -0.0417712926864624, -0.1546950787305832, -0.2565214931964874, -0.2514438331127167, 0.05015277490019798, 0.7006012201309204, -0.22627684473991394, 0.22083450853824615, 0.3312814235687256, -0.09439373016357422, -0.2277614325284958, 0.5239898562431335, 0.850396990776062, 0.7560907602310181, -0.41988757252693176, -0.19209465384483337, -0.07644504308700562, -0.12471161782741547, 0.3607291579246521, -0.07228995859622955, -0.10876516252756119, -0.4842195212841034, 0.2854181230068207, 1.0123480558395386, 0.22823458909988403, -0.8414481282234192, 0.5160477757453918, -0.07062740623950958, -0.43498075008392334, -0.1851758062839508, 0.18360893428325653, -0.1621159464120865, 0.20966532826423645, 0.1463252454996109, -0.25565195083618164, -0.13021114468574524, -0.544579803943634, -0.014447249472141266, 0.39205148816108704, -0.521477460861206, -0.13258765637874603, 0.4358392059803009, 0.3205217719078064, -0.4211787283420563, 0.7132285237312317, -0.04033698886632919, -0.5102440714836121, 0.5154249668121338, 0.33701950311660767, 0.8852982521057129, -0.02457365393638611, 0.38473495841026306, 0.19135917723178864, -0.04598177596926689, -0.1955728828907013, 0.029704943299293518, -0.45479732751846313, -0.7864844799041748, -0.7195088863372803, -0.6218620538711548, -0.972752571105957, 0.12214908003807068, -0.5809491276741028, -0.06678072363138199, -0.5536280274391174, -0.07194050401449203, -0.23203237354755402, 0.3055485785007477, -0.2696498930454254, -0.20979537069797516, 0.20466771721839905, 0.44928306341171265, -0.5256361961364746, 0.858886182308197, 0.8614711165428162, -0.18317602574825287, -0.7445583939552307, 0.16434495151042938, -0.017210179939866066, -0.8558343052864075, 0.6439511775970459, -0.022345390170812607, -0.13894414901733398, -0.11662597954273224, -0.12313266098499298, -0.7619256377220154, 1.0650835037231445, 0.45908641815185547, -0.9226791262626648, 0.010112734511494637, 0.04650148004293442, 0.50698322057724, -0.2047889679670334, 0.17417611181735992, 0.44640272855758667, 0.5066485404968262, 0.1330801546573639, -1.0759549140930176, -0.0598018616437912, 0.22647824883460999, 0.21535709500312805, 0.348875492811203, -0.870071530342102, 0.38988712430000305, -0.15721340477466583, -0.23084446787834167, -0.10937445610761642, 0.4779997169971466, 0.47400787472724915, 0.048232536762952805, 0.6764604449272156, 0.5740191340446472, 0.6322587132453918, -0.22974689304828644, 1.181264042854309, -0.2664802670478821, 0.317409873008728, 1.0862096548080444, -0.6164678931236267, 0.9297381043434143, 0.6729843616485596, -0.5654684901237488, 0.45954063534736633, 0.8168303966522217, 0.29226920008659363, 0.7031534314155579, 0.48112770915031433, -0.09251165390014648, -0.24890199303627014, -0.08259843289852142, -0.18904665112495422, 0.2854205071926117, -0.20610564947128296, 0.05688050389289856, 0.1493939906358719, -0.24683724343776703, -0.0050969780422747135, 0.489458292722702, -0.14167679846286774, 1.3083477020263672, -0.099381223320961, -1.3654828071594238, 0.5974752306938171, -0.1569071263074875, 0.7405778169631958, -0.713981032371521, 0.08972002565860748, -0.3880821168422699, 0.6045006513595581, -0.13787062466144562, -0.7258402705192566, 0.17728306353092194, -0.20160922408103943, -0.0796532854437828, -0.5804177522659302, 0.5033423900604248, -0.37907180190086365, 0.26822730898857117, 0.2823198735713959, 0.2095840871334076, -0.2817053496837616, 0.05516265332698822, -0.8297134637832642, 0.049448832869529724, -0.03942877799272537, -0.34813812375068665, 0.7464146018028259, 0.01818994991481304, 0.11055704206228256, 0.7389317154884338, 0.5310431122779846, 0.15706121921539307, -0.31367552280426025, 0.03051174432039261, 0.5387734770774841, -0.5470013618469238, -0.3642432689666748, -0.9347359538078308, 0.2522689700126648, -0.008077097125351429, -0.29089170694351196, 0.4507150948047638, 0.3742307126522064, 1.059557557106018, -0.031857091933488846, 0.5834280252456665, 0.19569100439548492, 0.34623250365257263, -0.619048535823822, 0.14142277836799622, -0.4243736267089844, 0.17403408885002136, -0.2636680603027344, -1.033509612083435, -0.09460394084453583, 0.6445721387863159, -0.49890217185020447, -0.1123570054769516, 0.6162799000740051, 0.7607676982879639, 0.272461861371994, -0.2160157412290573, 0.17423029243946075, -0.33981990814208984, 0.3610682785511017, 0.752547562122345, 1.161119818687439, 0.062170401215553284, 0.6386514902114868, -0.4742662310600281, -0.4558620750904083, -0.2489173859357834, -1.1168192625045776, -0.48665696382522583, -0.4159706234931946, -0.4474373757839203, -0.20611436665058136, 0.2260637879371643, 1.050532341003418, 0.6383266448974609, -0.7691648006439209, -0.486833781003952, -0.427731454372406, 0.5010477900505066, -0.699702799320221, -0.20372077822685242, 0.30520009994506836, -0.47688615322113037, -0.9056015610694885, 0.3423464298248291, 0.4303440451622009, 0.03749590739607811, -0.17426346242427826, -0.6382831931114197, -0.13971024751663208, -0.14127255976200104, 0.3392701745033264, 0.5129109025001526, -0.7459980845451355, -0.2829888164997101, 0.11114208400249481, -0.1809893101453781, 0.2086208164691925, 1.0812113285064697, -0.5864967703819275, 0.37855640053749084, 0.672764003276825, 0.6921953558921814, 0.24073150753974915, 0.1922374665737152, 0.7843978404998779, -0.5312989354133606, -0.09030456840991974, 0.2528238892555237, 0.21482932567596436, 0.22829999029636383, -0.2970590591430664, 0.40580981969833374, 0.11169377714395523, -0.9179238677024841, -0.7153205275535583, 0.5761095881462097, -0.9503913521766663, -0.19465631246566772, 1.1064879894256592, -0.017502374947071075, -0.19163943827152252, 0.3213883638381958, -0.36317160725593567, 0.2278498262166977, -0.6581094264984131, 0.9708794951438904, 0.715303897857666, -0.6037091016769409, -0.18730834126472473, -0.2442379891872406, 0.8068234324455261, 0.7635390758514404, -0.6227214932441711, 0.22151075303554535, 0.48604413866996765, 0.16032882034778595, 0.03178565949201584, 0.8351564407348633, -0.16542288661003113, 0.2290312498807907, -0.4260402023792267, 0.03187210485339165, -0.22719219326972961, -0.15569216012954712, -0.5661422610282898, -0.001769303809851408, 0.6329814195632935, -0.2228379249572754 ]
http://arxiv.org/abs/2404.10710v2
http://arxiv.org/pdf/2404.10710v2
Dual Modalities of Text: Visual and Textual Generative Pre-training
2024-04-16T16:36:50
2024-04-17T08:44:30
Yekun Chai, Qingyi Liu, Jingwu Xiao, Shuohuan Wang, Yu Sun, Hua Wu
cs.CL
cs.CL, cs.CV
Harnessing visual texts represents a burgeoning frontier in the evolution of language modeling. In this paper, we introduce a novel pre-training framework for a suite of pixel-based autoregressive language models, pre-training on a corpus of over 400 million documents rendered as RGB images. Our approach is characterized by a dual-modality training regimen, engaging both visual data through next patch prediction with a regression head and textual data via next token prediction with a classification head. This study is particularly focused on investigating the synergistic interplay between visual and textual modalities of language. Our comprehensive evaluation across a diverse array of benchmarks reveals that the confluence of visual and textual data substantially augments the efficacy of pixel-based language models. Notably, our findings show that a unidirectional pixel-based model, devoid of textual data during training, can match the performance levels of advanced bidirectional pixel-based models on various language understanding benchmarks. This work highlights the considerable untapped potential of integrating visual and textual information for language modeling purposes. We will release our code, data, and checkpoints to inspire further research advancement.
[ -0.2585242688655853, -0.7512737512588501, 0.4606097340583801, 0.06073208898305893, -0.503724992275238, 0.14354601502418518, -0.3617981970310211, -0.3236609399318695, -0.05905061960220337, 0.5268804430961609, -0.519490659236908, -0.48834481835365295, -0.5876434445381165, -0.11870069801807404, -0.37068259716033936, 0.8411415815353394, -0.06486685574054718, 0.27249810099601746, -0.273337185382843, -0.017193878069519997, -0.3997708857059479, -0.6929836869239807, -0.10331347584724426, -0.023944055661559105, 0.6299533247947693, 0.20131336152553558, 0.8580536842346191, 0.5899093151092529, 0.3798412084579468, 0.29915106296539307, 0.4861326813697815, -0.16984125971794128, -0.34687405824661255, -0.02750759944319725, 0.06144269183278084, -0.39495766162872314, 0.000629486283287406, 0.14488616585731506, 0.6213098168373108, 0.4535766541957855, -0.004887667018920183, -0.06274166703224182, -0.03252217918634415, 0.4307977557182312, -0.5696228742599487, 0.1994844377040863, -0.65909743309021, 0.029164696112275124, -0.35220426321029663, -0.3655768036842346, -0.3987340033054352, 0.1019044890999794, 0.10769006609916687, -0.44258493185043335, 0.29258960485458374, -0.08315590023994446, 0.9700140953063965, 0.3399410545825958, -0.45357415080070496, -0.14844587445259094, -0.45469921827316284, 0.5166011452674866, -0.41425660252571106, 0.6205272674560547, 0.4812173843383789, 0.09036985784769058, 0.3778998851776123, -1.0879390239715576, -0.7612481713294983, -0.12413111329078674, -0.25981467962265015, 0.3125569820404053, -0.11351650208234787, -0.0009543260093778372, -0.14580689370632172, 0.44248682260513306, -0.7162351012229919, 0.2734927237033844, -0.14210432767868042, -0.16351957619190216, 0.32910236716270447, 0.032313425093889236, 0.7152079343795776, -0.21264463663101196, -0.5924123525619507, -0.3174923062324524, -0.4261164963245392, -0.12772594392299652, 0.4416091740131378, 0.22577084600925446, -0.4492146372795105, 0.5459765791893005, 0.30586951971054077, 0.8532353043556213, -0.3835974335670471, 0.272455632686615, 0.06551803648471832, -0.8750183582305908, -0.2459154725074768, -0.4394344687461853, 1.252758264541626, 0.157767653465271, 0.3713282346725464, -0.18085601925849915, -0.28358525037765503, 0.3850407302379608, 0.37810519337654114, -0.8648290038108826, -0.6522495150566101, -0.2743166983127594, -0.45660221576690674, -0.2967008352279663, 0.008746525272727013, -0.9645904898643494, -0.2817697823047638, -0.551193118095398, 0.5101792812347412, -0.5571120381355286, -0.5073800683021545, 0.10333910584449768, 0.05456804856657982, -0.12014848738908768, 0.3818362057209015, -1.0618821382522583, 0.024405453354120255, 0.38516271114349365, 0.6073857545852661, -0.013582750223577023, -0.5945702195167542, -0.08650542050600052, -0.073208287358284, -0.3888213038444519, 0.8570354580879211, -0.7618900537490845, -0.25903359055519104, 0.19328631460666656, -0.11877316981554031, -0.27499568462371826, -0.2081339806318283, 0.3092330992221832, -0.5164749026298523, 0.5439770221710205, -0.04956316575407982, -0.18097807466983795, -0.028568169102072716, -0.054767806082963943, -0.7858943343162537, 1.0143316984176636, 0.10196119546890259, -1.0426753759384155, 0.6152218580245972, -0.2538743019104004, -0.3085019290447235, 0.2693546712398529, -0.6630679965019226, -0.4071442484855652, -0.0033582434989511967, 0.15189260244369507, 0.4932449758052826, -0.3363249897956848, 0.373975932598114, -0.27251550555229187, -0.1925368756055832, 0.18006977438926697, -0.6484271287918091, 0.5003718733787537, 0.12086249887943268, -0.27069368958473206, 0.1729794591665268, -0.663235604763031, 0.11820119619369507, 0.19476501643657684, -0.17898252606391907, -0.3243389427661896, -0.030823593959212303, 0.632720947265625, 0.3653445839881897, 0.29762136936187744, -0.2985863983631134, 0.005609168671071529, -0.14462189376354218, 0.327002614736557, 0.5197669863700867, -0.516182005405426, 0.4993067681789398, 0.016593370586633682, 0.5767794847488403, 0.1422363519668579, -0.2454836219549179, -0.7359204292297363, -0.15098628401756287, -0.6612693667411804, -0.4833395481109619, 0.37164613604545593, 0.4335894286632538, -1.0539963245391846, 0.38488033413887024, -0.4346005916595459, -0.3107845187187195, -0.3660094439983368, 0.08259805291891098, 0.640473484992981, 0.3016107976436615, 0.2732563018798828, -0.3609805107116699, -0.49641311168670654, -0.8269879221916199, -0.23555892705917358, -0.35331571102142334, 0.16416318714618683, 0.15125539898872375, 0.36801233887672424, -0.43969374895095825, 1.0772225856781006, -0.2251933515071869, -0.22959035634994507, -0.40398821234703064, 0.7202358841896057, -0.1478998064994812, 0.48335757851600647, 0.7211382985115051, -1.0316187143325806, -0.4878354072570801, 0.03593007102608681, -0.6093125343322754, -0.12764854729175568, -0.2004162222146988, -0.07435908913612366, 0.40630602836608887, 0.6708312630653381, -0.19043684005737305, 0.6341844797134399, 0.8520976901054382, -0.5730995535850525, 0.4652249217033386, -0.3267045319080353, 0.26498907804489136, -1.0949314832687378, 0.09328454732894897, 0.07611510902643204, -0.25978848338127136, -0.5776492953300476, -0.19473788142204285, 0.5084020495414734, -0.19862614572048187, -0.19853149354457855, 0.5694170594215393, -0.6656679511070251, 0.09246502071619034, -0.340475469827652, -0.09358344227075577, -0.052162330597639084, 0.616567850112915, 0.5907204151153564, 1.0295509099960327, 0.5980379581451416, -0.2802782654762268, 0.22867679595947266, 0.1657596379518509, -0.47078466415405273, 0.3760087192058563, -0.4882640242576599, -0.2142331749200821, -0.3757883608341217, 0.06383813917636871, -1.0795719623565674, -0.09451258927583694, 0.04370086267590523, -0.40073394775390625, 0.6243794560432434, -0.13243257999420166, -0.7912347316741943, -0.32686516642570496, -0.08006644994020462, 0.8216023445129395, 0.3800870478153229, -0.4383508265018463, 0.5383849143981934, 0.38926902413368225, -0.4360692501068115, -0.4568310081958771, -0.8713104724884033, 0.31391003727912903, 0.09746071696281433, -0.5262669324874878, 0.22554104030132294, 0.0023663716856390238, 0.19999875128269196, -0.05674683675169945, 0.35030439496040344, -0.25868910551071167, -0.21650967001914978, 0.12348644435405731, 0.4743717312812805, -0.16029956936836243, 0.4026494026184082, -0.2560410499572754, -0.20551425218582153, -0.03513515740633011, -0.31987127661705017, 0.7244561910629272, -0.15844514966011047, -0.4254510998725891, -0.44523948431015015, 0.3156684339046478, 0.6048035621643066, -0.5150413513183594, 0.6798874735832214, 0.6808633804321289, -0.19542238116264343, -0.012816036120057106, -0.5899353623390198, 0.029565876349806786, -0.4020695984363556, 0.8239008784294128, -0.3175029456615448, -0.5226025581359863, 0.10483371466398239, 0.1833440512418747, -0.2860002815723419, 0.13926191627979279, 0.6424028873443604, -0.06153228506445885, 0.6626920700073242, 1.0050326585769653, 0.17885902523994446, 0.8854153752326965, -0.09052222967147827, 0.18699300289154053, -0.4552696943283081, -0.24052032828330994, -0.29225093126296997, 0.11629141122102737, -0.33552736043930054, -0.6098178625106812, 0.10986827313899994, 0.23738771677017212, -0.0012941051973029971, 0.46427813172340393, -0.15604321658611298, 0.24054351449012756, 0.4397342801094055, 0.15313999354839325, 0.18365733325481415, 0.09849319607019424, -0.3458629250526428, -0.40394726395606995, -0.7900224924087524, -0.5394496321678162, 1.0789397954940796, 0.35067713260650635, 0.9504124522209167, -0.20748573541641235, 0.2925967872142792, 0.03240516036748886, 0.36835435032844543, -0.5738075971603394, 0.41350749135017395, -0.3453822433948517, -0.2967928349971771, -0.11384152621030807, -0.4130167067050934, -0.8301153182983398, 0.47381699085235596, -0.4964548647403717, -0.2983129024505615, 0.18169669806957245, 0.3266410529613495, 0.09572318941354752, 0.21839962899684906, -1.0427056550979614, 1.331884741783142, -0.5825427770614624, -0.5190029144287109, -0.08588206022977829, -0.5737190246582031, 0.18014957010746002, -0.27461791038513184, 0.2369915395975113, 0.0968746691942215, -0.260802298784256, 0.5016012787818909, -0.3190326690673828, 0.9537190198898315, 0.155530646443367, -0.16466008126735687, 0.020019616931676865, -0.0045495289377868176, 0.22031249105930328, 0.04484272003173828, 0.334928959608078, 0.25994211435317993, 0.0535636767745018, -0.47540244460105896, -0.34936702251434326, 0.3041441738605499, -0.740243673324585, -0.16182619333267212, -0.481877863407135, -0.492729127407074, -0.2532452940940857, 0.43212926387786865, 0.521193265914917, 0.7811141610145569, -0.47361472249031067, 0.10544127970933914, 0.3946286141872406, -0.2951563596725464, 0.7283428311347961, 0.32895687222480774, -0.2636168599128723, -0.6373805999755859, 0.7176303863525391, -0.2098928838968277, 0.3507198393344879, 0.5545695424079895, -0.053520988672971725, -0.5049680471420288, -0.623228907585144, -0.6258001327514648, 0.37877365946769714, -0.6276435256004333, -0.13367298245429993, -0.9171326756477356, -0.12608367204666138, -0.40279442071914673, -0.06909346580505371, -0.4553181827068329, 0.05728096887469292, -0.5512059330940247, 0.18572746217250824, 0.10729818791151047, 0.7466338276863098, 0.1255313754081726, 0.4004533886909485, -0.6744070053100586, 0.37394043803215027, 0.3461737632751465, 0.5422295928001404, -0.17747360467910767, -0.33513641357421875, -0.3186391592025757, 0.28839051723480225, 0.00400103023275733, -0.8178397417068481, 0.6775820255279541, 0.04796475172042847, 0.4250361919403076, 0.20239421725273132, -0.3491770327091217, 0.6636835932731628, -0.6201984882354736, 0.5668343901634216, 0.6619341969490051, -0.7718193531036377, 0.4284171164035797, -0.6859107613563538, 0.49526679515838623, 0.6366110444068909, 0.31182822585105896, -0.5018179416656494, -0.22000841796398163, -0.3394045829772949, -0.5592421293258667, 0.8182607293128967, 0.13422982394695282, 0.19178378582000732, 0.08131156116724014, -0.04210613667964935, 0.2480354756116867, 0.4576517939567566, -1.1212234497070312, -0.004717106930911541, -0.6544471383094788, -0.5777012705802917, -0.41767317056655884, -0.45141851902008057, 0.11289684474468231, -0.2781772017478943, 0.23165342211723328, -0.3294578194618225, 0.1038220226764679, -0.043175701051950455, -0.5747224688529968, 0.17919676005840302, 0.09599073976278305, 0.34701278805732727, 0.5931217670440674, 0.20142869651317596, 0.2472149282693863, -0.3045533299446106, -0.7147814631462097, -0.09279779344797134, 0.2734309136867523, 0.0014932324411347508, 0.0077651930041611195, 0.45043519139289856, 0.9964597821235657, 0.33764660358428955, -0.7149500250816345, 0.905026376247406, -0.28873902559280396, -0.13247573375701904, -0.03982388228178024, -0.49181416630744934, 0.05030122771859169, -0.10669882595539093, 0.15959495306015015, 0.16891948878765106, -0.2659669816493988, -0.6821019053459167, 0.2028154879808426, 0.616779088973999, -0.42546507716178894, -0.5241044759750366, 0.5778814554214478, 0.3027473986148834, -0.06249561160802841, 0.35657545924186707, 0.20436114072799683, -0.5453897714614868, 0.36849963665008545, 0.48298558592796326, 0.7780857086181641, 0.05262325704097748, 0.3969719707965851, 0.24381369352340698, 0.20359623432159424, 0.07708824425935745, 0.08253432810306549, -0.336182564496994, -0.6725829839706421, -0.06508670747280121, -0.9197317361831665, 0.08311270922422409, -0.04446494206786156, -0.3433491885662079, 0.5020164847373962, -0.13473059237003326, -0.040770016610622406, -0.19076672196388245, -0.2682165503501892, -0.6486915946006775, 0.3897664546966553, 0.3698355257511139, 0.5818372368812561, -0.8570888042449951, 0.9671638011932373, 0.7548909187316895, -0.6584574580192566, -0.3231928050518036, 0.10506153851747513, -0.26850536465644836, -0.8536617159843445, 0.7898234724998474, 0.19945457577705383, -0.30065101385116577, 0.15581558644771576, -0.3417278528213501, -0.7757324576377869, 0.8373428583145142, 0.35278019309043884, -0.43082940578460693, -0.06369180977344513, 0.21073143184185028, 0.6800161600112915, -0.3442640006542206, 0.4644050896167755, 0.15570220351219177, 0.2664916217327118, 0.1324910819530487, -0.8239662051200867, -0.270895391702652, -0.5690463781356812, 0.38160908222198486, 0.26800835132598877, -0.3347073197364807, 0.8352380990982056, -0.060695577412843704, -0.7608717679977417, 0.17895425856113434, 0.7139787077903748, -0.27470603585243225, -0.08604685962200165, 0.3809197247028351, 0.5971808433532715, 0.29211339354515076, -0.20833000540733337, 0.9804551601409912, -0.36024194955825806, 0.12022797018289566, 1.0293854475021362, 0.029827360063791275, 0.8562674522399902, 0.4649009108543396, -0.11124084889888763, 0.6376550793647766, 0.6122222542762756, 0.17544634640216827, 0.6255789399147034, -0.06974529474973679, -0.31966856122016907, -0.318724662065506, 0.018324555829167366, -0.43945443630218506, 0.4281228184700012, 0.18478082120418549, -0.38580480217933655, -0.2876271903514862, 0.1767215132713318, -0.058511797338724136, 0.5641583800315857, -0.08123460412025452, 0.8678272366523743, -0.18685658276081085, -0.6784461736679077, 0.5959579944610596, -0.16777731478214264, 0.9649975299835205, -0.7759144902229309, 0.18931686878204346, 0.031852200627326965, 0.10468485206365585, 0.10864441841840744, -0.6477317810058594, 0.02717275731265545, -0.07371235638856888, -0.21993482112884521, -0.8343115448951721, 0.5525922179222107, -0.8872864246368408, -0.588630199432373, 0.33737045526504517, 0.515221118927002, -0.325204074382782, -0.044117558747529984, -0.5948261618614197, 0.14257414638996124, -0.16195048391819, -0.03932519629597664, 0.27218279242515564, 0.6664981842041016, 0.15921157598495483, 0.36233046650886536, 0.5541724562644958, 0.042526163160800934, 0.18739953637123108, 0.3068910539150238, 0.9110540747642517, -0.8150604963302612, -0.7439581155776978, -0.7587115168571472, 0.5697103142738342, 0.087259441614151, -0.30968618392944336, 0.46446919441223145, 0.5945388078689575, 0.82317054271698, -0.22852902114391327, 0.8175686597824097, 0.15917807817459106, 0.21626706421375275, -0.7991013526916504, 0.9648259878158569, -0.6413273811340332, -0.08414934575557709, -0.14601221680641174, -0.7043782472610474, -0.2478669136762619, 0.2947421073913574, -0.2813292443752289, 0.24816620349884033, 1.051643967628479, 0.7857875227928162, -0.10699112713336945, 0.049579184502363205, 0.2926524877548218, 0.1322728395462036, 0.07869874686002731, 0.36466047167778015, 0.9657192230224609, -0.37773722410202026, 0.5391110777854919, -0.1578318476676941, -0.37744563817977905, 0.004158599302172661, -0.8914065957069397, -1.1054143905639648, -0.9742485284805298, -0.1614682376384735, 0.07812655717134476, -0.024142451584339142, 0.3841308057308197, 0.7830886244773865, -0.3653639256954193, -0.24203519523143768, -0.5753881335258484, -0.45875343680381775, 0.39295440912246704, -0.1514308899641037, 0.11110594868659973, -0.6939122080802917, -0.754821240901947, 0.04260677099227905, 0.4597911834716797, 0.5586682558059692, -0.3678327202796936, 0.021426085382699966, -0.3695177435874939, -0.1374252587556839, 0.5173676609992981, 0.18985489010810852, -0.7438283562660217, 0.17530940473079681, -0.12330560386180878, -0.5286093950271606, 0.046204179525375366, 1.065529465675354, -1.1300265789031982, 0.6468274593353271, 0.5808721780776978, 0.5899814367294312, 0.49821364879608154, -0.07534932345151901, 0.9170457124710083, -0.5448034405708313, 0.591633677482605, 0.178911492228508, 0.4027647376060486, 0.48326972126960754, -0.09767260402441025, 0.2302805632352829, 0.34419962763786316, -0.18203070759773254, -0.7719026803970337, 0.403820663690567, -0.7905250787734985, -0.4470457136631012, 1.076181173324585, -0.014866684563457966, -0.018237633630633354, -0.0018834446091204882, -0.3134213089942932, 0.028773171827197075, 0.07390294969081879, 0.41411638259887695, 0.7404409646987915, 0.3719803988933563, -0.5176231861114502, -0.24943704903125763, 0.5388091206550598, 0.6934114694595337, -0.9115620255470276, 0.23474662005901337, 0.7893368005752563, -0.1586805284023285, -0.09716484695672989, 0.8198209404945374, -0.3058326840400696, 0.25277507305145264, 0.2694246172904968, 0.19086506962776184, -0.12978045642375946, -0.5141034722328186, -0.4554057717323303, -0.10572059452533722, -0.19236697256565094, -0.023684563115239143 ]
http://arxiv.org/abs/2404.10706v1
http://arxiv.org/pdf/2404.10706v1
Cross-Language Evolution of Divergent Collective Memory Around the Arab Spring
2024-04-16T16:30:27
2024-04-16T16:30:27
H. Laurie Jones, Brian C. Keegan
cs.CY
cs.CY, cs.CL, cs.HC, cs.SI
The Arab Spring was a historic set of protests beginning in 2011 that toppled governments and led to major conflicts. Collective memories of events like these can vary significantly across social contexts in response to political, cultural, and linguistic factors. While Wikipedia plays an important role in documenting both historic and current events, little attention has been given to how Wikipedia articles, created in the aftermath of major events, continue to evolve over years or decades. Using the archived content of Arab Spring-related topics across the Arabic and English Wikipedias between 2011 and 2024, we define and evaluate multilingual measures of event salience, deliberation, contextualization, and consolidation of collective memory surrounding the Arab Spring. Our findings about the temporal evolution of the Wikipedia articles' content similarity across languages has implications for theorizing about online collective memory processes and evaluating linguistic models trained on these data.
[ -0.9742828011512756, -0.648446798324585, 0.40880781412124634, -0.19343456625938416, -0.20870812237262726, 0.0940423458814621, -0.2778971195220947, -0.5730501413345337, 0.5158430337905884, -0.09388108551502228, -0.6046833395957947, -0.21193505823612213, -0.5052982568740845, 0.24486036598682404, -1.0442417860031128, 1.4227508306503296, -0.336813747882843, -0.22008134424686432, 0.22613529860973358, -0.5974615812301636, 0.13775843381881714, -0.23239471018314362, -0.4248221516609192, -0.32581499218940735, 0.7898495197296143, 0.022207750007510185, 0.673254668712616, 0.34534603357315063, -0.04064314067363739, 0.2531198561191559, -0.1492428183555603, -0.08670377731323242, -0.5748733282089233, 0.06286697089672089, -0.47592324018478394, 0.18568402528762817, 0.2699574828147888, -0.0341125912964344, 0.870392382144928, 0.40890905261039734, -0.1908586472272873, 0.26284149289131165, -0.11344829946756363, 0.8192181587219238, -0.7549680471420288, -0.021479407325387, -0.6675646901130676, -0.003087152261286974, -0.09137062728404999, 0.2030060738325119, 0.17001552879810333, -0.38617274165153503, 0.34198302030563354, -0.12170015275478363, 0.4162221848964691, -0.4863770604133606, 1.0091609954833984, -0.024314118549227715, -0.254788339138031, -0.40249061584472656, -0.6510947346687317, 0.7344196438789368, -0.30134910345077515, 0.7522098422050476, 0.01335662230849266, 0.07981614023447037, -0.13113322854042053, -0.916605532169342, -0.8376231789588928, -0.04445897787809372, 0.11230417340993881, 0.1964777559041977, -0.35390394926071167, -0.5569055676460266, -0.12027037143707275, 0.19029320776462555, -0.4204024374485016, -0.12040631473064423, -0.525012731552124, 0.04060737043619156, 0.39655494689941406, -0.1190963089466095, 0.8194727301597595, -0.21471591293811798, -0.4295291304588318, 0.28564226627349854, -0.9246857762336731, 0.11945537477731705, 0.4544301927089691, -0.04265131428837776, -0.5128753781318665, 0.24506708979606628, -0.14544673264026642, 0.2459501177072525, -0.07352666556835175, 0.24236546456813812, 0.13736730813980103, -0.579375684261322, 0.1869414746761322, 0.3100435435771942, 0.7552218437194824, 0.2900204658508301, 0.3939368724822998, -0.40085703134536743, 0.04467662051320076, -0.03147829324007034, 0.3665531277656555, -0.7298858761787415, -0.36219364404678345, -0.07218950986862183, -0.5475484728813171, 0.11128633469343185, 0.3123827874660492, -0.8157418966293335, -0.21547234058380127, -0.20893701910972595, -0.18320722877979279, -0.1934245526790619, -0.5140928626060486, -0.1310042142868042, -0.40834906697273254, 0.1910272091627121, 0.3738100826740265, -0.6842368245124817, 0.22064192593097687, 0.6456853151321411, 1.1155554056167603, -0.27997085452079773, -0.7227964997291565, -0.03339110687375069, 0.22504691779613495, -0.2600211799144745, 0.8943586945533752, -0.5646267533302307, -0.3934693932533264, 0.25605785846710205, 0.10897891968488693, 0.21508435904979706, -0.1602461338043213, 0.2171294242143631, -1.0264437198638916, 0.21188244223594666, -0.6457998156547546, -0.30437642335891724, -0.3308291435241699, 0.2930296063423157, -0.800254762172699, 0.7964628338813782, -0.09618180245161057, -0.9327806830406189, 0.6709750294685364, -0.5792274475097656, -0.2766142785549164, -0.16425855457782745, -0.6214658617973328, -0.3031608462333679, 0.08693264424800873, 0.01481389719992876, 0.1766587346792221, -0.21487745642662048, -0.2005389779806137, -0.22570942342281342, -0.20833724737167358, 0.4024210572242737, -0.08034562319517136, 0.7205199599266052, -0.15035521984100342, -0.3054243326187134, -0.10427096486091614, -0.642816424369812, -0.41664132475852966, 0.027709325775504112, -0.5512191653251648, -0.43168002367019653, 0.35168513655662537, 0.02723812870681286, 0.37640252709388733, 0.2868224084377289, -0.27174001932144165, 0.12009057402610779, -0.4498486816883087, 0.38041263818740845, 0.7322121262550354, 0.6999106407165527, 0.23379825055599213, -0.4020799994468689, 0.1893080621957779, 0.5667880177497864, 0.054278839379549026, -0.14843478798866272, -0.34528467059135437, -0.5550464987754822, 0.3438310921192169, -0.27148133516311646, 0.21072520315647125, -0.33218860626220703, 0.17828726768493652, -0.2607930600643158, -0.7032468914985657, 0.029936252161860466, 0.18600749969482422, 0.15032444894313812, 0.16434358060359955, 0.3411989212036133, -0.5118381381034851, -0.5097771286964417, -0.9172766208648682, -0.24123045802116394, -0.5497220158576965, 0.4452749490737915, 0.1928834319114685, 0.44980940222740173, -0.19742178916931152, 0.7470917701721191, -0.0009901055600494146, 0.18518801033496857, -0.019383694976568222, 0.5186027884483337, -0.006219747941941023, -0.04847022891044617, 0.8214316368103027, -0.8724969029426575, -0.4185818135738373, 0.2796470522880554, -0.32182323932647705, -0.09653805941343307, -0.31681129336357117, -0.012383204884827137, 0.6174709796905518, 0.3876558840274811, -0.5406496524810791, 0.3196747303009033, 0.533515214920044, -0.46227559447288513, 0.6276253461837769, 0.1593293398618698, 0.6063737869262695, -1.2386903762817383, -0.17672209441661835, -0.11465181410312653, 0.1812712699174881, -0.3866475522518158, -0.08614984899759293, 0.028297774493694305, 0.26814842224121094, -0.6999587416648865, 0.32839736342430115, -0.8532644510269165, -0.32038524746894836, -0.35786280035972595, 0.1564023643732071, -0.4814225137233734, 0.03903869912028313, -0.04265332967042923, 0.8869485259056091, 0.6182997822761536, -0.7327055931091309, 0.4476582705974579, 0.19009144604206085, -0.7066049575805664, 0.08884068578481674, -0.09495649486780167, 0.29023805260658264, -0.3477192223072052, 0.061971765011548996, -0.9384859800338745, 0.05546461418271065, 0.14263015985488892, -0.19713181257247925, -0.14378564059734344, -0.15778730809688568, -0.1738126575946808, -0.14965753257274628, -0.3458949625492096, 0.5177267789840698, 0.4598684012889862, -0.4482541084289551, 0.4327952563762665, 0.5614692568778992, -0.3943588435649872, -0.6898053884506226, -0.517504096031189, 0.19669562578201294, -0.26079052686691284, -0.388030081987381, 0.2019328773021698, 0.07251323759555817, -0.6185316443443298, 0.24056988954544067, -0.28155580163002014, -0.21319162845611572, -0.018655098974704742, 0.27298375964164734, -0.1815854161977768, -0.39659199118614197, 0.23765860497951508, 0.17241936922073364, 0.23105275630950928, 0.34027916193008423, -0.21537768840789795, 0.8660159111022949, -0.07934652268886566, -0.37987157702445984, -0.4375978410243988, 0.5236142873764038, 0.7572613954544067, -0.22784969210624695, 1.23344087600708, 0.4321117401123047, -0.2912347912788391, -0.13349059224128723, -0.5677341818809509, -0.21370582282543182, -0.39281561970710754, 0.41530388593673706, -0.017751453444361687, -0.675452470779419, 0.9587776064872742, -0.11135625094175339, 0.33754876255989075, 0.6773192286491394, 0.930182158946991, 0.06318239122629166, 0.35518792271614075, 0.24681858718395233, -0.45987144112586975, 0.5866115689277649, 0.018948789685964584, 0.008268581703305244, -0.39546486735343933, -0.40313026309013367, -0.6186594367027283, -0.7511860728263855, -0.3368885815143585, -0.10937317460775375, 0.22071945667266846, 0.14550206065177917, -0.5337933897972107, -0.007755503989756107, 0.1401393860578537, 0.7358453273773193, 0.2615492343902588, -0.04356471449136734, 0.1939714550971985, 0.22358374297618866, 0.27929145097732544, -0.10900707542896271, -0.35618215799331665, -0.49501773715019226, 0.5882566571235657, -0.1964777112007141, 0.5882957577705383, 0.560599148273468, 0.6355063915252686, 0.7400941252708435, 0.21414826810359955, -0.34347328543663025, 0.2930183410644531, 0.26110178232192993, -0.0736616849899292, -0.26386579871177673, 0.044931553304195404, -1.080472707748413, -0.16460338234901428, 0.05209627002477646, -0.8175930380821228, 0.3056991696357727, -0.2367381751537323, -0.0625072494149208, 0.39494001865386963, -0.31208473443984985, 0.6919137239456177, -0.0507919006049633, -0.08365064859390259, -0.7224559187889099, -0.4732200503349304, 0.3168717920780182, -0.2188873291015625, 0.22333668172359467, -0.20983241498470306, -0.49413785338401794, 0.8302065134048462, -0.08943414688110352, 0.7578728199005127, 0.19282077252864838, -0.16135630011558533, 0.3494771420955658, 0.049820516258478165, 0.28732946515083313, 0.09014230221509933, 0.0955226719379425, 0.3703760504722595, -0.12790262699127197, -0.5241897702217102, -0.4167620837688446, 1.2322864532470703, -1.3112999200820923, -0.7132932543754578, -0.18865182995796204, -0.28803059458732605, 0.2115488350391388, -0.008827832527458668, 0.0744095891714096, 0.2084326595067978, -0.5035336017608643, -0.15590882301330566, 0.5223524570465088, -0.01813432015478611, 1.082138180732727, 0.6457396149635315, -0.39202558994293213, -0.2547350227832794, 0.47848430275917053, 0.46003514528274536, 0.06710322201251984, 0.005992494523525238, 0.13022105395793915, -0.12788818776607513, -0.5435313582420349, -0.5399163961410522, 0.11508326232433319, -0.7479628920555115, -0.06842649728059769, -0.7300456166267395, -0.215342715382576, -0.3453426957130432, -0.24003246426582336, -0.40440911054611206, -0.34642642736434937, -0.201966792345047, -0.1508866399526596, 0.6411706805229187, 0.7332816123962402, -0.06337826699018478, -0.14476549625396729, -0.9675021767616272, 0.21086794137954712, 0.07323537021875381, 0.18792276084423065, 0.21213176846504211, -0.525534451007843, -0.5771421194076538, -0.28838813304901123, -0.2454918920993805, -1.5496647357940674, 0.08500421792268753, 0.39782851934432983, 0.5596343874931335, 0.8879652619361877, 0.0946795642375946, 0.5937094688415527, -0.6870014667510986, 1.2420614957809448, 0.21811515092849731, -0.7496877312660217, 0.5103400945663452, -0.10801699012517929, 0.41125351190567017, 0.13755357265472412, 0.6720890998840332, -0.8139491081237793, -0.5045556426048279, -0.5429372191429138, -0.8967865109443665, 0.43813857436180115, -0.10354067385196686, 0.404073566198349, -0.333389550447464, 0.48684588074684143, 0.4471295475959778, -0.04764702171087265, -0.5302492380142212, -0.5902179479598999, -0.24954257905483246, 0.2296624630689621, 0.25813814997673035, -0.33808839321136475, -0.28764820098876953, -0.24324291944503784, 0.5909513235092163, 0.18314650654792786, -0.09387808293104172, 0.03204727917909622, -0.07270953059196472, -0.3368794023990631, 0.5000100135803223, 0.5877618789672852, 1.1228294372558594, 0.48925086855888367, 0.2929506003856659, 0.39606407284736633, -0.7090153694152832, 0.19729842245578766, 0.12405752390623093, -0.36449921131134033, 0.2654959559440613, 0.3209769129753113, 0.6593752503395081, 0.5506958961486816, -0.7445098757743835, 0.21641986072063446, 0.09568177908658981, 0.01557724829763174, -0.7280793190002441, 0.09649737179279327, 0.11895686388015747, 0.7306593656539917, 0.7718048095703125, -0.3131578266620636, -0.009143552742898464, -0.9979751110076904, 0.40096819400787354, 0.19064325094223022, -0.1171955019235611, -0.5991984605789185, 0.2659454643726349, -0.14591249823570251, -0.07696962356567383, 0.388883113861084, 0.08885771036148071, -0.5767861008644104, 0.44524747133255005, 0.38886889815330505, 0.721648633480072, -0.2948678135871887, 0.21873964369297028, 0.49588310718536377, 0.18424661457538605, 0.2082698792219162, 0.4029386043548584, -0.2241763323545456, -0.9377626180648804, -0.2997911274433136, -0.5278456807136536, -0.10689078271389008, 0.16937774419784546, -0.6010215878486633, 0.09909724444150925, -0.4665047824382782, -0.16864871978759766, -0.18796734511852264, 0.188856840133667, -0.6614233255386353, 0.031005313619971275, 0.4078167974948883, 0.9360848665237427, -0.9098967909812927, 0.6353791356086731, 0.9058642387390137, -0.62221759557724, -0.10761517286300659, 0.37952783703804016, 0.17064042389392853, -0.6473747491836548, 0.6635374426841736, -0.057146694511175156, -0.13423167169094086, -0.046505458652973175, -0.2585306167602539, -0.9962545037269592, 0.8595337867736816, 0.16583262383937836, -0.4473159611225128, -0.04545526206493378, 0.03219950571656227, 0.38645651936531067, -0.0018609784310683608, -0.18936856091022491, 0.5078823566436768, 0.36630889773368835, -0.27667778730392456, -0.9037448763847351, -0.06733362376689911, 0.015559409745037556, -0.22249041497707367, 0.7912454009056091, -0.9253748059272766, 0.7628379464149475, 0.03818238154053688, -0.6251701712608337, -0.054666224867105484, 0.9656449556350708, 0.013578429818153381, 0.22083880007266998, 0.3376138508319855, 0.6109967231750488, 0.6715483665466309, -0.04577837139368057, 0.8497134447097778, -0.5091473460197449, 0.06868903338909149, 0.7407363057136536, -0.12137570232152939, 0.8959754109382629, 0.7103918194770813, -0.34865283966064453, 0.9332067370414734, 0.4490610361099243, 0.11798106133937836, 0.6036573648452759, 0.057063642889261246, -0.728043794631958, 0.030547242611646652, -0.17600636184215546, -0.5728635191917419, 0.38112762570381165, 0.3305031955242157, -0.45730355381965637, -0.7420759201049805, -0.19030539691448212, -0.08101650327444077, 0.014055725187063217, -0.7609521746635437, 0.9886388182640076, -0.01346853282302618, -0.4810672402381897, 0.18384256958961487, -0.20556949079036713, 0.1758270412683487, -0.35873621702194214, 0.11109451949596405, -0.4273442327976227, -0.16829955577850342, -0.06200672313570976, -0.8696504831314087, 0.6143930554389954, 0.3448648154735565, -0.5064119100570679, 0.05255797877907753, 0.435205340385437, -0.279074490070343, -0.3000238537788391, 0.4387969672679901, 0.741370439529419, 0.463307648897171, 0.13710232079029083, -0.6816681623458862, 0.3201000392436981, -0.3140411376953125, -0.5178677439689636, 0.40215134620666504, 0.7943828701972961, -0.08694850653409958, 0.23167084157466888, 0.4793572723865509, 0.0732249915599823, 0.4807693362236023, 0.2356344610452652, 0.9501157999038696, -0.758935809135437, -0.40934574604034424, -1.2871705293655396, 0.2006697654724121, -0.11197642236948013, -0.2645316421985626, 0.8365010023117065, 0.7436385154724121, 1.0996171236038208, 0.13640354573726654, 0.8039737343788147, -0.14316444098949432, 0.30615314841270447, -0.627459704875946, 1.136904239654541, -0.5289524793624878, -0.2482537180185318, -0.1067051887512207, -0.6704618334770203, 0.11814592033624649, 0.398800253868103, -0.06591994315385818, 0.10439645498991013, 0.44739702343940735, 0.5310021638870239, -0.06434336304664612, 0.10616911947727203, 0.07446160167455673, 0.35978177189826965, 0.021093739196658134, 0.3671157658100128, 1.0568652153015137, 0.10128878057003021, 0.5293125510215759, 0.1297817826271057, 0.2929615378379822, -0.00676726084202528, -0.6977874636650085, -0.7316523194313049, -1.0509679317474365, -0.5137685537338257, -0.43556636571884155, 0.14516910910606384, 1.1485569477081299, 0.22335723042488098, -1.0470072031021118, -0.09888912737369537, -0.00837975088506937, 0.08309771865606308, -0.25126218795776367, -0.18587623536586761, 0.6006883978843689, -0.23945504426956177, -0.7016464471817017, 0.2177816778421402, 0.32567161321640015, 0.26195624470710754, -0.5356674790382385, -0.1674712896347046, -0.45632967352867126, 0.09810085594654083, 0.36679214239120483, 0.9050765037536621, -1.0245460271835327, -0.4901531934738159, -0.5249119400978088, -0.08492954075336456, 0.06228586286306381, 0.783821702003479, -0.8402500152587891, -0.012581937946379185, 0.4460850954055786, 0.9096817970275879, 0.2531590163707733, -0.195698544383049, 0.4969901740550995, -0.6342872977256775, 0.2953599691390991, -0.13143275678157806, 0.578764796257019, 0.21386970579624176, 0.15766099095344543, 0.1477324515581131, 0.48825252056121826, -0.46210411190986633, -0.49132296442985535, 0.2658635973930359, -0.5959426760673523, -0.31740692257881165, 0.8283911943435669, -0.015599518083035946, -0.06134358048439026, -0.34351950883865356, 0.051674965769052505, 0.5334798693656921, -0.5065181851387024, 1.713243007659912, 1.2073974609375, -0.13841311633586884, -0.7516379952430725, -0.2754441201686859, 0.4679955840110779, 0.05219030752778053, -0.7621421217918396, -0.16711361706256866, 0.812287449836731, -0.07713839411735535, 0.1565248817205429, 0.23896704614162445, 0.18648993968963623, 0.6289138197898865, -0.1856241524219513, -0.22799968719482422, 0.4384278655052185, -0.45663124322891235, -0.029598983004689217, 0.49990251660346985, -0.16415250301361084, 0.07901996374130249 ]
http://arxiv.org/abs/2404.10704v1
http://arxiv.org/pdf/2404.10704v1
Question Difficulty Ranking for Multiple-Choice Reading Comprehension
2024-04-16T16:23:10
2024-04-16T16:23:10
Vatsal Raina, Mark Gales
cs.CL
cs.CL, cs.AI
Multiple-choice (MC) tests are an efficient method to assess English learners. It is useful for test creators to rank candidate MC questions by difficulty during exam curation. Typically, the difficulty is determined by having human test takers trial the questions in a pretesting stage. However, this is expensive and not scalable. Therefore, we explore automated approaches to rank MC questions by difficulty. However, there is limited data for explicit training of a system for difficulty scores. Hence, we compare task transfer and zero-shot approaches: task transfer adapts level classification and reading comprehension systems for difficulty ranking while zero-shot prompting of instruction finetuned language models contrasts absolute assessment against comparative. It is found that level classification transfers better than reading comprehension. Additionally, zero-shot comparative assessment is more effective at difficulty ranking than the absolute assessment and even the task transfer approaches at question difficulty ranking with a Spearman's correlation of 40.4%. Combining the systems is observed to further boost the correlation.
[ -0.5192540287971497, -0.8430218696594238, 0.6056338548660278, 0.06431328505277634, 0.07903438806533813, 0.1522076427936554, -0.0333954282104969, -0.41572749614715576, -0.2308223992586136, 0.3603648841381073, -0.31792911887168884, -0.2062922567129135, -0.6765891313552856, 0.6305415034294128, -0.10696788132190704, 0.8476036190986633, -0.3571472465991974, 0.1388082504272461, -0.36502736806869507, -0.043388158082962036, -0.6376347541809082, -0.3514828085899353, -0.8783521056175232, -0.27422013878822327, 0.7211348414421082, 0.7461025714874268, 0.35233184695243835, 0.29960912466049194, 1.019330620765686, 0.31568753719329834, 0.18944095075130463, -0.14531125128269196, -0.17128582298755646, 0.3207857310771942, -0.37553319334983826, -0.49260279536247253, -0.30993080139160156, 0.0191020630300045, 0.21854959428310394, 0.8100536465644836, 0.18038806319236755, 0.20644208788871765, 0.15988796949386597, 0.46260491013526917, -0.8396351933479309, -0.03920933976769447, -0.3488870859146118, 0.08922940492630005, 0.006145460531115532, -0.5328491926193237, -0.5453959703445435, -0.15339326858520508, 0.09231280535459518, -0.41854092478752136, 0.35266557335853577, 0.33010751008987427, 0.6138795614242554, 0.401163250207901, -0.8921769261360168, -0.5125107169151306, -0.6238023042678833, 0.9499316811561584, -0.058158501982688904, 0.25291210412979126, 0.6192106008529663, 0.417173832654953, 0.3811095058917999, -0.1761632263660431, -0.4843117892742157, -0.6105896234512329, 0.05755827948451042, 0.36871787905693054, 0.20135444402694702, 0.09330089390277863, 0.0806509479880333, 0.19913259148597717, -0.8504893183708191, 0.13490717113018036, -0.5772659778594971, -0.041229479014873505, 0.7077990174293518, 0.21214905381202698, 0.23431296646595, -0.38352468609809875, -0.10577750951051712, -0.4137396216392517, -0.14717255532741547, 0.40801945328712463, 0.19695720076560974, 0.33976686000823975, 0.510506272315979, 0.7271629571914673, -0.34782788157463074, 0.9890211224555969, 0.050732921808958054, -0.28145426511764526, 0.3142143785953522, -0.36017465591430664, -0.06426338106393814, -0.10290026664733887, 0.6349028944969177, 0.07287979125976562, 0.2716776430606842, 0.04910925775766373, -0.011660889722406864, -0.21294483542442322, 0.4618120789527893, -0.5751603841781616, -0.09961453080177307, 0.3331679701805115, -0.07843901216983795, -0.2678161859512329, 0.011494677513837814, -0.539664089679718, -0.1285184770822525, -0.1565985381603241, 1.0879759788513184, -0.41009610891342163, 0.12549065053462982, 0.24366207420825958, -0.2147669792175293, 0.22226762771606445, 0.3410797417163849, -0.8850283622741699, 0.1421261429786682, 0.3863028883934021, 0.7433145642280579, -0.6505895853042603, -0.3859673738479614, -0.21223895251750946, 0.027593964710831642, -0.20394179224967957, 1.085086703300476, -0.42105385661125183, -0.30144187808036804, -0.34108367562294006, 0.056224316358566284, -0.5583807229995728, -0.35613352060317993, 0.42383843660354614, -0.34267088770866394, 0.3430575728416443, -0.1525777131319046, -0.4972604513168335, -0.205025315284729, 0.5900757312774658, -0.3229866325855255, 0.9061799645423889, 0.3142503798007965, -0.6127992868423462, 0.17422953248023987, -0.7740494012832642, -0.5835208296775818, 0.008958759717643261, 0.3182747960090637, 0.06775619834661484, -0.30745285749435425, 0.31848323345184326, 0.6433790922164917, 0.019992420449852943, -0.25519540905952454, -0.15157756209373474, -0.6035041809082031, 0.08025240153074265, -0.42042404413223267, 0.6674748659133911, 0.3085559904575348, -0.5220094919204712, -0.33128979802131653, -0.5219512581825256, 0.225677952170372, 0.026037737727165222, -0.35562002658843994, -0.3519454300403595, -0.24556882679462433, -0.5258373022079468, 0.12037232518196106, -0.0261855386197567, -0.37518322467803955, 0.22515937685966492, -0.11129441857337952, -0.09647603332996368, 0.48293453454971313, 0.3617154061794281, 0.44737106561660767, -0.6345357298851013, 0.9130966067314148, 0.10324102640151978, 0.23846769332885742, -0.033996593207120895, -0.5798831582069397, -0.9277259707450867, 0.23548878729343414, 0.41223034262657166, 1.4222524166107178, -0.8228248953819275, 0.23499354720115662, 0.07899464666843414, -0.8224360942840576, -0.7233685255050659, 0.16832603514194489, 0.45878762006759644, 0.6486412286758423, 0.6299331188201904, -0.13250349462032318, 0.19982130825519562, -0.5689971446990967, -0.03300727158784866, -0.2805696725845337, -0.1337086260318756, 0.41174766421318054, 0.5246840119361877, 0.29272711277008057, 0.2295638918876648, -0.622039794921875, -0.24786758422851562, -0.20241965353488922, 0.18785353004932404, 0.09503387659788132, 0.5830316543579102, 0.30500248074531555, -0.6857956647872925, -0.8477481007575989, 0.05610664188861847, -0.5707305073738098, -0.18204888701438904, -0.03260968253016472, -0.09912603348493576, 0.1847640872001648, 0.4235522449016571, -0.2972101867198944, 0.16309933364391327, 0.14102911949157715, -0.33164796233177185, 0.7063697576522827, -0.21054856479167938, 0.8160990476608276, -0.7908347249031067, 0.0027766821440309286, -0.20603446662425995, -0.19687531888484955, -0.4457857608795166, 0.3952470123767853, 0.054793864488601685, -0.10088317096233368, -0.6885587573051453, 0.27342692017555237, -0.4487813413143158, 0.13342918455600739, 0.20763255655765533, 0.2558266222476959, 0.08230416476726532, 0.49435707926750183, -0.22183114290237427, 0.8321652412414551, 0.5685004591941833, -0.7525759339332581, 0.4091251790523529, 0.07706649601459503, 0.12445366382598877, 1.0122851133346558, -0.53495854139328, 0.30988144874572754, -0.20893295109272003, -0.16569362580776215, -1.4236128330230713, 0.19930320978164673, 0.23934508860111237, -0.32246890664100647, 0.39830631017684937, 0.09278784692287445, 0.07313742488622665, -0.4608231782913208, -0.34167125821113586, 0.41407427191734314, 0.38399699330329895, 0.10660329461097717, 0.007615317590534687, -0.20273634791374207, -0.5327654480934143, -0.6562649607658386, -0.8072636723518372, -0.24190372228622437, -0.11444485932588577, -0.3157116770744324, 0.2045643925666809, -0.6152576804161072, -0.18823090195655823, -0.12149585783481598, 0.05891157314181328, -0.2838239073753357, 0.04342040792107582, 0.11187390238046646, 0.1475934088230133, -0.1861400306224823, 0.19354674220085144, 0.20417724549770355, -0.06347783654928207, -0.22351084649562836, 0.21585527062416077, 0.12286288291215897, -0.0019101492362096906, -0.5004530549049377, -0.35570821166038513, 0.5292409062385559, 0.4632723033428192, -0.12693236768245697, 0.42663276195526123, 0.3499358296394348, 0.06450679153203964, -0.030208474025130272, -0.4715830385684967, -0.04929540678858757, -0.44607385993003845, 0.20799745619297028, -0.8143218755722046, -0.8574746251106262, 0.22535651922225952, 0.2707124948501587, 0.21751968562602997, 0.5024587512016296, 0.3001740872859955, -0.43702951073646545, 1.2678910493850708, 0.19612988829612732, 0.18225958943367004, 0.15620458126068115, -0.2028798907995224, 0.03947329521179199, -0.43620622158050537, -0.1641804277896881, -0.9529732465744019, -0.48798954486846924, -0.3261862099170685, -0.30095621943473816, 0.28715789318084717, 0.17506645619869232, -0.35800743103027344, 0.3766886293888092, -0.6772174835205078, 0.6508186459541321, 0.4958554208278656, 0.11818873137235641, 0.5180657505989075, -0.0018323458498343825, -0.33497679233551025, 0.04299648851156235, -0.5398776531219482, -0.33194857835769653, 1.2680009603500366, -0.11653336882591248, 0.45216837525367737, 0.23252399265766144, 0.8557253479957581, 0.3612503707408905, 0.302471786737442, -0.9472243785858154, 0.5524113774299622, -0.15523606538772583, -0.7172625660896301, -0.8752619624137878, -0.5075127482414246, -1.233546495437622, 0.38516783714294434, -0.35789811611175537, -0.4180986285209656, 0.04597052186727524, -0.14771556854248047, -0.6179309487342834, 0.03696506470441818, -1.0253020524978638, 0.6497957706451416, -0.10493097454309464, -0.08191253989934921, 0.13280516862869263, -0.507879376411438, 0.29233741760253906, -0.1505725085735321, 0.307002454996109, 0.051980528980493546, -0.1237279623746872, 0.7436351776123047, -0.052545029670000076, 0.08659469336271286, -0.01024699304252863, 0.24356403946876526, 0.19335158169269562, 0.4556233882904053, -0.05662845820188522, -0.11958768218755722, -0.45905056595802307, -0.23873670399188995, 0.4002043604850769, -0.7058053612709045, -0.7691885828971863, 0.5063354969024658, -0.7759238481521606, -0.7905252575874329, -0.5775899291038513, -0.6235975623130798, -0.39203906059265137, 0.22567607462406158, 0.28708669543266296, 0.3420831859111786, 0.07168733328580856, 0.13131478428840637, 0.6010186076164246, 0.15736569464206696, 0.5990370512008667, 0.5367555022239685, 0.06915510445833206, -0.18443937599658966, 0.9474987387657166, 0.6516377329826355, 0.48949697613716125, 0.5065913796424866, 0.05883549153804779, -0.4090979993343353, -0.8012322783470154, -0.46301716566085815, 0.03613482415676117, -0.6008109450340271, -0.3259875774383545, -0.6377576589584351, -0.33703935146331787, -0.514950692653656, -0.41637349128723145, 0.06465335935354233, -0.40871745347976685, -0.3468531668186188, -0.2604439854621887, 0.09172076731920242, 0.7273138165473938, 0.08723422139883041, 0.19574744999408722, -0.5353701710700989, 0.4125925302505493, 0.6849923133850098, 0.19954513013362885, -0.2136198878288269, -0.6558588743209839, 0.21751715242862701, -0.24665279686450958, -0.7731772661209106, -1.2397058010101318, 0.1554584950208664, 0.17136132717132568, 0.25104740262031555, 0.2044234424829483, 0.3566838204860687, 0.7272506356239319, -0.33748626708984375, 0.9098957180976868, 0.00432848883792758, -0.8978607654571533, 0.4537433087825775, 0.078611359000206, 0.29858216643333435, 1.1342318058013916, 0.8607174158096313, -0.3135102093219757, -0.5870314240455627, -0.5298063158988953, -0.47208908200263977, 0.716181218624115, 0.030271409079432487, 0.08044072985649109, -0.013260718435049057, 0.4360524117946625, 0.18105268478393555, -0.13263462483882904, -0.49246495962142944, -0.2703624665737152, -0.06128324195742607, -0.24554426968097687, -0.5531412959098816, 0.12123619019985199, 0.29957151412963867, -0.6525319218635559, 0.574731171131134, 0.03337741643190384, 0.17566080391407013, 0.5967984199523926, -0.43697622418403625, -0.041341084986925125, 0.5544523000717163, 0.5073643922805786, 0.6792353391647339, -0.3685515820980072, 0.33112454414367676, 0.5546352863311768, -0.5593470931053162, 0.6654645204544067, -0.05376964434981346, -0.17275309562683105, -0.1686398684978485, 0.45995691418647766, 0.5048750638961792, -0.004674787167459726, -0.41527438163757324, 0.5954587459564209, 0.03474733978509903, -0.7464116811752319, 0.11833957582712173, 0.46189847588539124, -0.17266035079956055, 0.057545728981494904, 0.4179823696613312, -0.18765541911125183, 0.37420690059661865, -0.4861917197704315, 0.24799911677837372, 0.07229545712471008, -0.45734795928001404, 0.11394890397787094, 0.22120784223079681, 0.21925388276576996, -0.7588635087013245, 0.6153776049613953, -0.5790436267852783, -0.34230247139930725, 0.5375114679336548, 0.6122448444366455, 0.23966431617736816, -0.6416684985160828, 0.6444911956787109, 0.4340454638004303, 0.43425750732421875, -0.10540357977151871, 0.5872605443000793, -0.096494659781456, -0.44273248314857483, -0.3873685300350189, -0.4438660740852356, -0.8677156567573547, -0.06938351690769196, -0.6793514490127563, 0.20522278547286987, -0.34708264470100403, -0.027888230979442596, 0.06602349877357483, 0.5093121528625488, -0.7635836601257324, 0.4793305993080139, -0.18703648447990417, 0.7819910645484924, -0.8035253882408142, 0.3171597719192505, 0.7225123047828674, -0.47930896282196045, -0.8865805864334106, -0.20955203473567963, -0.44116222858428955, -0.6053283214569092, 0.12028469145298004, 0.1824844479560852, 0.24360086023807526, 0.4976573586463928, -0.12331777811050415, -0.6440842151641846, 1.069226861000061, 0.33913329243659973, -0.38258951902389526, 0.15982596576213837, 0.1672869771718979, 0.3854788839817047, -0.04694423824548721, 0.918117344379425, 0.5242940187454224, 0.6558693647384644, 0.26672154664993286, -0.9682782888412476, -0.02047201432287693, -0.18532370030879974, -0.4112676680088043, 0.22184215486049652, -0.40684613585472107, 0.7602543830871582, -0.2467474639415741, -0.01624382473528385, -0.2229069620370865, 0.23854011297225952, 0.23934312164783478, 0.7314141988754272, 0.6702817678451538, 0.27070608735084534, 0.7530601620674133, 0.08422353118658066, 0.9525336027145386, 0.11717606335878372, 0.2835294306278229, 0.6339483857154846, -0.3337002396583557, 1.2782891988754272, 0.5432368516921997, -0.4580984115600586, 0.7251062989234924, 0.8447393774986267, 0.15994569659233093, 0.09307265281677246, 0.5133591294288635, 0.047190017998218536, -0.2968587279319763, 0.04211335629224777, -0.27998632192611694, 0.6033739447593689, -0.2077052891254425, 0.09875626116991043, -0.2633741796016693, 0.3963125944137573, -0.19767442345619202, -0.004229487851262093, -0.4007825255393982, 0.6429017782211304, -0.04400372877717018, -1.0141777992248535, 0.7158227562904358, -0.17135637998580933, 0.5811147093772888, -0.5799192786216736, -0.009115181863307953, -0.3581046760082245, -0.2929591238498688, -0.038368307054042816, -1.0000993013381958, 0.33748185634613037, -0.05873585119843483, -0.1465359479188919, -0.4226371645927429, 0.5671760439872742, -0.40357205271720886, -0.6295660138130188, 0.08825067430734634, 0.9085993766784668, 0.7367479801177979, -0.26185426115989685, -1.0025039911270142, -0.42928773164749146, -0.26162293553352356, -0.4777037501335144, 0.26828980445861816, 0.1512969583272934, 0.023003319278359413, 0.6674780249595642, 0.5711683630943298, -0.0892094075679779, 0.11347004771232605, -0.0032698146533221006, 0.07417981326580048, -0.8376797437667847, -0.44842037558555603, -0.6735793352127075, 0.34161144495010376, 0.11896061897277832, -0.36779579520225525, 0.5749185681343079, 0.07050060480833054, 0.6121858358383179, 0.007774335332214832, 0.42704546451568604, -0.034191858023405075, 0.48158881068229675, -0.2085518091917038, 0.6394741535186768, -0.8044575452804565, -0.21002213656902313, -0.41832083463668823, -0.970166802406311, -0.5346168279647827, 0.27363890409469604, -0.22094058990478516, 0.07307309657335281, 1.3247125148773193, 0.7705404758453369, -0.05210229009389877, -0.2662794888019562, 0.5492572784423828, -0.2617388367652893, -0.07338656485080719, 0.9788446426391602, 0.5587072372436523, -0.509270191192627, 0.9508785009384155, -0.40765252709388733, -0.3979782462120056, -0.10388348251581192, -0.5867550373077393, -0.8149656653404236, -0.6973109841346741, -0.38304316997528076, -0.03640696778893471, 0.000764513504691422, 0.626031219959259, 0.7332273721694946, -0.8225985765457153, -0.27620938420295715, 0.2251582145690918, 0.38635730743408203, -0.49963727593421936, -0.29051345586776733, 0.3956175744533539, -0.531827986240387, -0.830857515335083, 0.29892876744270325, 0.05005301907658577, 0.22309432923793793, -0.17923176288604736, 0.023916885256767273, -0.29399147629737854, 0.3052169382572174, 0.6166504621505737, 0.06916225701570511, -0.35216501355171204, -0.44620636105537415, 0.40612903237342834, -0.28662988543510437, -0.15897779166698456, 0.5661143064498901, -0.6125970482826233, 0.5009834170341492, 0.7422642111778259, 0.7585939764976501, 0.28149092197418213, 0.10700514167547226, 0.08604133129119873, -0.43607816100120544, -0.17449089884757996, 0.31194210052490234, -0.09981894493103027, 0.13568277657032013, -0.5244970917701721, 0.4447186589241028, 0.3009091019630432, -0.6595699191093445, -0.8241977095603943, -0.042443349957466125, -1.0906431674957275, -0.38821032643318176, 1.095126986503601, -0.19258439540863037, -0.14957483112812042, -0.5123398900032043, -0.3573625087738037, 0.2488948106765747, 0.05315567925572395, 0.6447267532348633, 1.0453046560287476, -0.5116118788719177, -0.4254598617553711, -0.7632524967193604, 0.2311440408229828, 0.9760591983795166, -0.7469093203544617, -0.5722315311431885, -0.025029029697179794, 0.2686004340648651, 0.30536648631095886, 0.6327808499336243, 0.1615079641342163, 0.20113225281238556, -0.16653785109519958, -0.13207490742206573, -0.26818010210990906, -0.38125091791152954, -0.494587779045105, 0.7209705710411072, -0.03934023529291153, -0.3283517360687256 ]
http://arxiv.org/abs/2404.10696v1
http://arxiv.org/pdf/2404.10696v1
Integrating knowledge bases to improve coreference and bridging resolution for the chemical domain
2024-04-16T16:15:19
2024-04-16T16:15:19
Pengcheng Lu, Massimo Poesio
cs.CL
cs.CL
Resolving coreference and bridging relations in chemical patents is important for better understanding the precise chemical process, where chemical domain knowledge is very critical. We proposed an approach incorporating external knowledge into a multi-task learning model for both coreference and bridging resolution in the chemical domain. The results show that integrating external knowledge can benefit both chemical coreference and bridging resolution.
[ -0.4557220935821533, -0.2959443926811218, 1.0232083797454834, -0.05074260011315346, 0.03904303163290024, 0.34616321325302124, -0.3500569760799408, -1.0362036228179932, -0.0793210119009018, 0.5251469612121582, -0.28204503655433655, -0.16784372925758362, -0.7387449741363525, -0.18772761523723602, 0.3134973645210266, 0.787269651889801, -0.2669760584831238, 0.17496010661125183, -0.5502866506576538, 0.0982716977596283, -0.5849729180335999, -0.7762525677680969, -0.3793778121471405, -0.7583925127983093, 0.3018432557582855, 0.6128201484680176, 0.30404624342918396, 0.3522980213165283, 0.666959285736084, 0.32328349351882935, -0.2123088836669922, 0.21837522089481354, 0.02309574745595455, 0.4145912528038025, -0.8784877061843872, -0.7022067308425903, -0.15607944130897522, 0.22495707869529724, 0.13355256617069244, 1.019242763519287, 0.19881029427051544, 0.010390232317149639, 0.14970555901527405, 0.6953778862953186, -0.6354010105133057, 0.5522043108940125, -0.35713598132133484, 0.037417009472846985, -0.12514324486255646, -0.01716761291027069, -0.30332115292549133, 0.15298320353031158, 0.5349851250648499, -0.548735499382019, 0.44465625286102295, 0.23566874861717224, 0.9606953859329224, 0.0068203723058104515, -0.5520294308662415, -0.21851295232772827, -0.8817369937896729, 0.7564634084701538, -0.3756391704082489, 0.3832384943962097, 0.109467051923275, 0.42698588967323303, -0.10750067979097366, -0.9845733046531677, -0.4089311957359314, -0.30620667338371277, -0.09432729333639145, -0.022861791774630547, 0.01366115640848875, 0.3778334856033325, 0.28798821568489075, 0.444926381111145, -0.3240090310573578, -0.300314724445343, -0.6190782785415649, -0.39778390526771545, 0.3855597674846649, -0.1786683350801468, 0.25690045952796936, 0.012689510360360146, -0.6852043271064758, 0.31712350249290466, -0.5973430871963501, 0.05613233149051666, -0.09971301257610321, 0.8539934754371643, 0.21559543907642365, 0.569031298160553, -0.20171505212783813, 0.4776392877101898, 0.5523108243942261, -0.16472312808036804, 0.27675166726112366, -0.4343666732311249, -0.10678091645240784, 0.35295915603637695, 0.008528062142431736, 0.25591591000556946, 0.15159137547016144, -0.5300790667533875, 0.07333877682685852, 0.2569349706172943, 0.3271911144256592, -0.7159150838851929, -0.23203709721565247, 0.4197060167789459, -0.35354942083358765, 0.468508780002594, 0.1573353260755539, -0.4767732620239258, -0.5295516848564148, -0.8734756708145142, 0.6722344756126404, -0.39789387583732605, -0.283108651638031, -0.3543941378593445, -0.9317713975906372, -0.27792221307754517, 0.34825825691223145, -0.7048760652542114, 0.2586704194545746, 0.7990483045578003, 0.9454106092453003, -0.11731219291687012, -0.23528307676315308, -0.10560502856969833, 0.5077710747718811, 0.10468852519989014, 1.1467175483703613, -0.5804885625839233, -0.7927716970443726, -0.39679691195487976, 0.12569373846054077, -0.12506070733070374, -1.0655791759490967, 0.3167756199836731, -0.6137122511863708, -0.1285979151725769, -0.8124544024467468, -0.43112438917160034, -0.33050575852394104, 0.07833154499530792, -0.6220114827156067, 0.6548477411270142, 0.20380304753780365, -0.4054490327835083, 0.5448911786079407, -0.7520859837532043, -0.4753839075565338, 0.004953307099640369, 0.03899117186665535, 0.16101975739002228, 0.08241420239210129, -0.023543287068605423, 0.4640912413597107, -0.41806647181510925, 0.16694405674934387, -0.38269108533859253, 0.3886462152004242, 0.09968506544828415, 0.6314309239387512, 0.6619223952293396, 0.30561503767967224, -0.13503287732601166, 0.25138479471206665, -0.5528323650360107, -0.23859505355358124, -0.4129967987537384, -0.12225131690502167, -0.6664071679115295, -0.38616305589675903, -0.2551213204860687, 0.7058423757553101, 0.4276828467845917, -0.9133379459381104, 0.1309882253408432, -0.23633037507534027, 0.17378386855125427, 0.717379093170166, 0.6833859086036682, 0.8252966403961182, -0.5843252539634705, 0.17977841198444366, 0.4642561376094818, -0.03149358928203583, 0.1456291675567627, -0.8697599768638611, -0.7568132281303406, -0.10030180215835571, 0.16879649460315704, 0.4510861337184906, -0.7847853899002075, 0.20689836144447327, -0.04802088066935539, -0.7149320244789124, 0.14023970067501068, 0.45526832342147827, 0.37190982699394226, 0.7578280568122864, 0.5490052700042725, -0.7667633295059204, -0.5375868678092957, -0.860472559928894, -0.33347195386886597, -0.03471825644373894, 0.1384778916835785, 0.41947609186172485, 0.7633308172225952, -0.28297340869903564, 1.095004916191101, -0.45750391483306885, -0.5175310969352722, 0.05147842690348625, 0.4942764937877655, 0.5359349250793457, 0.6259083151817322, 0.5852097868919373, -0.7861588597297668, -0.6426432728767395, 0.35112476348876953, -0.5950018763542175, 0.04478000849485397, 0.267988920211792, -0.5159326195716858, -0.04786469414830208, 0.16779725253582, -0.8818225860595703, 0.0014236123533919454, 0.12308144569396973, -0.45410892367362976, 0.6377314925193787, -0.05482887849211693, 0.4426902234554291, -1.0683470964431763, 0.1981874704360962, 0.35205888748168945, 0.04498014599084854, -0.7423498034477234, 0.029937226325273514, 0.07526513934135437, -0.24527607858181, -0.5052384734153748, 0.6242848634719849, -0.7410245537757874, 0.21467868983745575, -0.19376583397388458, -0.23210419714450836, 0.23513013124465942, 0.3445918560028076, 0.22105126082897186, 0.7298518419265747, 0.5613460540771484, -1.0173611640930176, 0.6230580806732178, 0.05279949679970741, -0.22884105145931244, 1.0433489084243774, -0.08702229708433151, -0.14350390434265137, -0.05683324858546257, -0.04697844758629799, -1.020411729812622, -0.05462256073951721, -0.07771681994199753, -0.2250332087278366, 0.5924569368362427, -0.26531293988227844, -0.3454373776912689, -0.35283660888671875, -0.03465217724442482, 0.01396446768194437, 0.009206626564264297, -0.703690767288208, 1.1765104532241821, 0.49581992626190186, -0.4336930811405182, -0.6022732853889465, -0.7470065355300903, -0.2226913422346115, -0.2324749231338501, -0.6605104804039001, 1.048535943031311, 0.060124803334474564, -0.3281850814819336, 0.304252028465271, -0.42071881890296936, -0.3932555615901947, -0.4158543646335602, 0.42659300565719604, 0.08535797894001007, -0.14571043848991394, 0.330809086561203, -0.01815745420753956, -0.3652150332927704, 0.2558964788913727, -0.17003290355205536, 0.1992110162973404, 0.20882681012153625, -0.3061186671257019, -0.13691140711307526, 0.6685441732406616, 0.7184635996818542, -0.23425085842609406, 0.7509747743606567, 0.12923192977905273, -0.6643434762954712, -0.2728695869445801, -0.6104565262794495, -0.3395060896873474, -0.518014132976532, -0.10678135603666306, -0.6038583517074585, -0.6543667912483215, 0.7674325108528137, -0.716072142124176, -0.12029684334993362, 0.7678065299987793, 0.5441502332687378, -0.16646066308021545, 0.32433465123176575, 0.8376607894897461, 0.11353924125432968, 0.45134249329566956, -0.3248264491558075, 0.5517642498016357, -1.008564829826355, -0.5150941014289856, -0.514719545841217, -0.20731094479560852, 0.2230479121208191, -0.6551019549369812, 0.3060920238494873, 0.2900853753089905, -0.4632421135902405, 0.6803945302963257, -0.4245207905769348, 0.3163374662399292, 0.8854898810386658, 0.4864131212234497, 0.5160346627235413, -0.000861757667735219, -0.7678802609443665, -0.31841564178466797, -0.564646303653717, -0.09052342921495438, 0.9744964838027954, 0.12522514164447784, 0.787533164024353, 0.26154670119285583, 0.6770208477973938, 0.3591061234474182, 0.503071665763855, -0.8262489438056946, 0.1786101907491684, 0.19002433121204376, -1.0534271001815796, 0.21035513281822205, -0.2546713650226593, -0.4780832529067993, 0.053750328719615936, -0.11970158666372299, -0.9196903705596924, 0.901380181312561, 0.1955551952123642, -0.5690662860870361, 0.19949010014533997, -1.0156463384628296, 0.8775006532669067, -0.35358673334121704, -0.5107882618904114, -0.5568392872810364, -0.5783651471138, 0.4188951849937439, -0.004948067478835583, 0.23362502455711365, -0.1640385538339615, 0.2020573616027832, 0.8630773425102234, -0.5013697743415833, 1.118021011352539, -0.3853724002838135, -0.15420450270175934, 0.6285936832427979, -0.10813530534505844, 0.1658237725496292, -0.37674710154533386, 0.03395794704556465, -0.0637269988656044, 0.004908484406769276, -0.1244540587067604, -0.7163236737251282, 0.9207881689071655, -0.51859450340271, -0.7115646600723267, -0.6272812485694885, -0.585343062877655, -0.5481516122817993, 0.13467268645763397, 0.2389126420021057, -0.08959987014532089, 0.2311946451663971, -0.1644958257675171, 0.5961878895759583, 0.18157264590263367, 0.2776201665401459, 0.5224180817604065, 0.09265349805355072, -0.3453541696071625, 0.968152642250061, 0.692047119140625, 0.23414242267608643, 0.344841331243515, -0.018261777237057686, -0.44949379563331604, -0.04025188460946083, 0.006974049843847752, 0.3369784653186798, -1.2524245977401733, -0.5408778786659241, -0.5384967923164368, -0.27594467997550964, -0.6967489719390869, -0.07071075588464737, -0.4541616439819336, -0.657123863697052, -0.3076353669166565, -0.20658208429813385, 0.5759824514389038, 0.5206146836280823, -0.5966950058937073, 0.19411394000053406, -1.1926552057266235, 0.40632614493370056, 0.37726134061813354, 0.3782917261123657, 0.15388371050357819, -0.5009122490882874, -0.6430550217628479, -0.0758773684501648, -0.6461655497550964, -1.0586488246917725, 0.05107078701257706, 0.353655070066452, 1.0790214538574219, 0.5366604924201965, 0.12948504090309143, 0.8006479144096375, -0.5319226980209351, 0.6235847473144531, 0.2540321350097656, -1.0173921585083008, 0.6821277737617493, 0.017794925719499588, 0.07020704448223114, 0.40102651715278625, 1.0359734296798706, -0.7175542712211609, 0.024243783205747604, -0.5610969066619873, -1.1125712394714355, 0.17170357704162598, -0.22742630541324615, -0.21364161372184753, 0.2134498953819275, 0.4387943744659424, -0.08307202160358429, 0.100064218044281, -0.3695391118526459, -0.308668315410614, 0.42760613560676575, 0.17953196167945862, 0.16113446652889252, -0.01446347963064909, -0.5978825092315674, -0.4957980215549469, 0.8685665130615234, 0.2078995704650879, 0.4574487507343292, 0.3012939691543579, -0.3314744532108307, -0.17733731865882874, 0.1929696500301361, 0.25631433725357056, 0.7332344651222229, -0.016571512445807457, 0.32398054003715515, 0.03924771770834923, -0.3752233386039734, 0.21086664497852325, 0.1557874232530594, 0.6902017593383789, -0.0956927016377449, 0.42522746324539185, 0.18310199677944183, -0.09842418879270554, -0.5977864861488342, 0.00846148282289505, 0.4182925224304199, -0.252336710691452, 0.18818871676921844, 0.1463138908147812, 0.20981451869010925, 0.7712922096252441, 0.6311879754066467, 0.507412850856781, 0.23423156142234802, -0.8468693494796753, 0.6755558252334595, 0.3138274848461151, -0.2798578143119812, 0.02136571705341339, 0.4438033699989319, 0.4305844306945801, 0.20290327072143555, 0.29436206817626953, 0.17140178382396698, -0.9004520773887634, 0.6483778953552246, 0.5583032965660095, 0.5028363466262817, -0.7032960057258606, -0.09954816848039627, 0.5962532162666321, 0.15752889215946198, 0.010112812742590904, 0.3770349621772766, -0.49493128061294556, -0.883476972579956, -0.3639567196369171, -0.14588265120983124, -0.8245033621788025, -0.41435694694519043, -0.44005101919174194, -0.1003362238407135, -0.6836808919906616, -0.7515363097190857, 0.13631632924079895, 0.19745700061321259, -0.6252537369728088, 0.18435971438884735, 0.06284768134355545, 0.818540096282959, -1.2281464338302612, 0.6676056981086731, 0.5947479009628296, -0.6935633420944214, -0.5208807587623596, -0.44593337178230286, 0.1897483468055725, -0.2889341115951538, 1.2537392377853394, 0.09142645448446274, -0.14570574462413788, -0.16535650193691254, -0.23094646632671356, -1.1625615358352661, 1.08775794506073, 0.2541026771068573, -0.27625301480293274, 0.02015080489218235, -0.01115986704826355, 0.36709627509117126, -0.362562894821167, -0.07059301435947418, 0.5599347352981567, 0.6151772737503052, 0.09377066045999527, -1.323213815689087, 0.3079792261123657, -0.43049588799476624, -0.07163504511117935, 0.09859535843133926, -0.32466310262680054, 0.7652952671051025, -0.41576579213142395, -0.5505300164222717, -0.33060482144355774, 0.7811041474342346, 0.12595316767692566, 0.07037638872861862, 0.09901890903711319, 0.7785311937332153, 0.733944296836853, -0.35407891869544983, 0.6252889633178711, -0.5843042135238647, 0.3004772663116455, 1.2280242443084717, -0.4003511071205139, 0.8692754507064819, 0.7774929404258728, -0.2553654909133911, 0.6976488828659058, 0.7756108045578003, 0.054237253963947296, 0.6232591271400452, 0.1141611635684967, -0.8767235279083252, -0.2392832636833191, -0.3945445716381073, -0.7342898845672607, -0.13972896337509155, 0.885347843170166, -0.5278866291046143, -0.3086789548397064, 0.2972967326641083, -0.15939193964004517, 0.05284704267978668, -0.19025270640850067, 0.6708117723464966, 0.19326812028884888, -0.6925265789031982, -0.002773888409137726, 0.154697448015213, 0.6971451640129089, -0.3853204846382141, -0.1891864836215973, 0.24832652509212494, 0.38120919466018677, -0.49847331643104553, -0.8942142128944397, 0.4847782254219055, -0.34273600578308105, -0.5642449855804443, -0.07094099372625351, 1.0137896537780762, -0.3647648096084595, -0.03536517545580864, 0.6682137250900269, 0.4855691194534302, -0.28145843744277954, -0.49507439136505127, -0.4413374364376068, -0.5139032006263733, -0.4667845070362091, -0.01935545727610588, 0.21153223514556885, 0.41118359565734863, 0.14031998813152313, 0.6464200615882874, 0.8705832958221436, -0.015411858446896076, 0.2406143993139267, -0.22822803258895874, 1.1604317426681519, -0.633574366569519, -0.259250670671463, -0.4759163558483124, 0.6134320497512817, -0.12422254681587219, 0.00876747164875269, 0.7423422336578369, 0.5966442823410034, 0.7669414281845093, -0.4824913442134857, 1.0354714393615723, -0.3381572961807251, 0.6700609922409058, -0.3939834535121918, 0.48346686363220215, -0.09497654438018799, -0.0418526716530323, -0.1858951300382614, -0.8773708939552307, -0.5644382238388062, 0.6488258242607117, -0.4730064272880554, 0.22327350080013275, 1.0803414583206177, 0.7188445925712585, -0.23706954717636108, -0.138335719704628, -0.016688425093889236, 0.07404940575361252, 0.39302292466163635, 0.7228865027427673, 0.6785389184951782, -0.23246939480304718, 0.10056198388338089, -0.9008902311325073, -0.3062186539173126, -0.08128414303064346, -0.766621470451355, -0.8655943274497986, -0.7838270664215088, -0.28205400705337524, -0.5850526094436646, -0.15138904750347137, 1.0212106704711914, 0.9301960468292236, -0.9472619295120239, -0.3642977774143219, 0.1350308507680893, 0.10933950543403625, -0.4944687783718109, -0.29885536432266235, 0.1372680813074112, -0.49628087878227234, -0.6376899480819702, 0.362900972366333, 0.3747820258140564, 0.0724872574210167, -0.02565518394112587, 0.0471494160592556, -0.48922857642173767, -0.17613455653190613, 0.7749491930007935, 0.6032488346099854, -0.45461305975914, -0.24185818433761597, -0.2920154333114624, 0.059745170176029205, 0.2460760474205017, 1.2868150472640991, -0.6535797119140625, 0.6258840560913086, 0.756489098072052, 0.680965781211853, 0.6294856667518616, 0.09883143752813339, 0.8381176590919495, -0.8211469054222107, -0.008574916049838066, 0.11855857074260712, 0.5765882730484009, 0.16135896742343903, -0.71262526512146, 0.3876986503601074, 0.5940491557121277, -0.48719683289527893, -0.21114829182624817, 0.3063242733478546, -1.2224920988082886, -0.41070085763931274, 0.6993059515953064, -0.37399184703826904, -0.20340687036514282, -0.5568886995315552, -0.32021287083625793, 0.36219221353530884, -0.5085012316703796, 0.4437240660190582, 0.9953519105911255, -0.8117402791976929, -0.25838983058929443, -0.3054790198802948, 0.33837130665779114, 0.009143751114606857, -0.9980972409248352, -0.01589318737387657, 0.42210158705711365, 0.39085453748703003, 0.8808387517929077, 0.24004235863685608, 0.027866795659065247, 0.28134581446647644, 0.14320996403694153, 0.22804796695709229, 0.17563103139400482, -0.7278419137001038, 0.18996407091617584, 0.28886502981185913, 0.24844904243946075, -0.012496737763285637 ]
http://arxiv.org/abs/2404.10652v1
http://arxiv.org/pdf/2404.10652v1
ViTextVQA: A Large-Scale Visual Question Answering Dataset for Evaluating Vietnamese Text Comprehension in Images
2024-04-16T15:28:30
2024-04-16T15:28:30
Quan Van Nguyen, Dan Quang Tran, Huy Quang Pham, Thang Kien-Bao Nguyen, Nghia Hieu Nguyen, Kiet Van Nguyen, Ngan Luu-Thuy Nguyen
cs.CL
cs.CL
Visual Question Answering (VQA) is a complicated task that requires the capability of simultaneously processing natural language and images. Initially, this task was researched, focusing on methods to help machines understand objects and scene contexts in images. However, some text appearing in the image that carries explicit information about the full content of the image is not mentioned. Along with the continuous development of the AI era, there have been many studies on the reading comprehension ability of VQA models in the world. As a developing country, conditions are still limited, and this task is still open in Vietnam. Therefore, we introduce the first large-scale dataset in Vietnamese specializing in the ability to understand text appearing in images, we call it ViTextVQA (\textbf{Vi}etnamese \textbf{Text}-based \textbf{V}isual \textbf{Q}uestion \textbf{A}nswering dataset) which contains \textbf{over 16,000} images and \textbf{over 50,000} questions with answers. Through meticulous experiments with various state-of-the-art models, we uncover the significance of the order in which tokens in OCR text are processed and selected to formulate answers. This finding helped us significantly improve the performance of the baseline models on the ViTextVQA dataset. Our dataset is available at this \href{https://github.com/minhquan6203/ViTextVQA-Dataset}{link} for research purposes.
[ -0.3703627288341522, -1.008823037147522, 0.7051860690116882, 0.05416432395577431, -0.6053990721702576, -0.24289555847644806, 0.1283203810453415, -0.24956540763378143, -0.31763532757759094, 0.8888171911239624, -0.48197141289711, -0.544379472732544, -0.5358770489692688, 0.2186257243156433, -0.47253793478012085, 0.4079381823539734, -0.22828766703605652, 0.18899434804916382, -0.6602811813354492, -0.4991827607154846, -0.5265684723854065, -0.2604272961616516, -0.3802722096443176, 0.30155476927757263, 0.3389163911342621, 0.4500732421875, 0.5197367072105408, 0.7911702394485474, 0.6864843368530273, 0.3593812882900238, -0.12483670562505722, 0.28899696469306946, -0.6685089468955994, 0.17464564740657806, -0.013445409014821053, -0.42976826429367065, -0.02166919782757759, -0.3868745267391205, 0.6315864324569702, 0.07868444174528122, 0.23867537081241608, 0.3818311095237732, -0.1854643076658249, 0.6436893343925476, -0.7409547567367554, 0.1215401366353035, -0.48186707496643066, -0.0629379153251648, 0.23876865208148956, -0.18974782526493073, -0.3289821147918701, -0.2169145941734314, 0.5330944657325745, -0.6956436038017273, -0.038203585892915726, -0.209078848361969, 1.1223335266113281, 0.5267404913902283, -0.775727391242981, -0.04351338371634483, -0.464896023273468, 0.5724653601646423, -0.04185093566775322, 0.10046640038490295, 0.30691224336624146, 0.5161049365997314, 0.28666096925735474, -0.8747225999832153, -0.8048874735832214, 0.12691360712051392, 0.08751572668552399, 0.4418385326862335, -0.25586235523223877, -0.030078448355197906, 0.23496240377426147, 0.3485490381717682, -0.8514126539230347, -0.30253323912620544, -0.6220696568489075, -0.2228807508945465, 0.28234854340553284, 0.21349959075450897, 0.48911699652671814, -0.4357282519340515, -0.6539723873138428, -0.10595860332250595, -0.25957190990448, 0.25473421812057495, -0.38494670391082764, -0.1357763707637787, 0.045748572796583176, 1.01211416721344, -0.37669655680656433, 0.858794093132019, -0.5261714458465576, 0.0006809566402807832, 0.19576725363731384, -0.6766355037689209, -0.4723055064678192, -0.2543051242828369, 0.673561155796051, 0.6269280314445496, 0.6224414110183716, 0.5083209872245789, -0.14871256053447723, -0.09617005288600922, 0.23510339856147766, -0.8141605854034424, -0.052477557212114334, 0.26248687505722046, -0.5613766312599182, -0.06854497641324997, 0.22905823588371277, -0.5513707399368286, -0.5584003329277039, -0.42421671748161316, 0.8966526389122009, -0.4009236693382263, -0.11951304972171783, 0.16420820355415344, -0.41734549403190613, 0.7070314884185791, 0.6526875495910645, -0.11663629114627838, -0.10010630637407303, 0.3827435076236725, 0.9765071868896484, -0.04397476837038994, -0.13974447548389435, -0.7536516785621643, -0.27862751483917236, -0.18112657964229584, 0.9555956721305847, -0.4631779193878174, -0.2882384657859802, 0.24238240718841553, 0.16977167129516602, -0.011530805379152298, -0.5826088786125183, 0.5736546516418457, -0.6167159080505371, 0.16693513095378876, -0.32191377878189087, -0.30408725142478943, -0.23422831296920776, 0.3189164400100708, -0.9403440356254578, 1.0382024049758911, 0.20093783736228943, -1.0173660516738892, 0.189678356051445, -0.23136663436889648, -0.04166969284415245, 0.1720191240310669, -0.18403661251068115, -0.33264368772506714, 0.011739774607121944, 0.848774254322052, 0.3942652940750122, -0.41359907388687134, -0.11166640371084213, 0.05055529251694679, -0.6649504899978638, 0.3621425926685333, -0.5093183517456055, 0.7649635076522827, 0.06833137571811676, -0.22048735618591309, 0.1357768476009369, -0.6127074360847473, 0.1492503434419632, 0.19990123808383942, -0.12839476764202118, -0.6260619163513184, -0.45196443796157837, 0.3209284245967865, 0.2712070941925049, 0.2774062752723694, -0.547782301902771, 0.29208487272262573, 0.04396634176373482, 0.5239660143852234, 0.6173413395881653, 0.20606915652751923, 0.2928366959095001, -0.1206846609711647, 0.759878933429718, 0.20826411247253418, 0.3066466450691223, -0.7676391005516052, -0.7103946208953857, -0.7781054377555847, -0.48106876015663147, 0.21487170457839966, 0.8133941292762756, -1.5569396018981934, -0.23424240946769714, -0.38077232241630554, -0.49822330474853516, -0.7919934988021851, -0.1464504897594452, 0.5268183350563049, 0.6910272836685181, 0.4599362909793854, -0.08047004044055939, -0.36277833580970764, -0.9739275574684143, -0.17906145751476288, -0.3857009708881378, -0.2610975205898285, 0.5340476036071777, 0.6837491989135742, -0.320032000541687, 0.8592157959938049, -0.6982538104057312, -0.2526088058948517, 0.10477948188781738, 0.06400179117918015, 0.11905635893344879, 0.03047730214893818, 0.4054303467273712, -1.3591196537017822, -0.34522080421447754, -0.07679183036088943, -0.8111737966537476, -0.05223056301474571, -0.07587220519781113, -0.47827112674713135, 0.23909823596477509, 0.8252050280570984, -0.30246683955192566, 0.6818239092826843, 0.5689900517463684, -0.48068246245384216, 0.43460652232170105, -0.2467118799686432, 0.36505886912345886, -1.0107733011245728, 0.09276406466960907, 0.2168339341878891, -0.3631063401699066, -0.3655768930912018, 0.08690156787633896, 0.32043468952178955, -0.0006859872373752296, -0.5612884163856506, 0.6012037992477417, -0.20384372770786285, 0.1686457395553589, -0.0065355258993804455, 0.053344760090112686, 0.2589852213859558, 0.30206990242004395, 0.25179624557495117, 1.026556134223938, 0.5034388899803162, -0.29170411825180054, 0.3822420537471771, 0.5506159067153931, -0.47101810574531555, 0.8940343260765076, -1.0061285495758057, 0.0240663830190897, -0.6395376920700073, -0.019413094967603683, -1.365540862083435, -0.15660460293293, 0.14465975761413574, -0.5119601488113403, -0.31602662801742554, -0.2418220341205597, -0.2029002159833908, -0.36752068996429443, -0.04864244908094406, 0.5962750911712646, 0.4175322949886322, -0.640484094619751, 0.588424026966095, 0.527504026889801, -0.25793248414993286, -0.717760443687439, -0.6241340637207031, 0.20687387883663177, -0.09240230917930603, -0.603299081325531, -0.1458602398633957, -0.12469898909330368, -0.23606514930725098, -0.025222893804311752, 0.013762349262833595, -0.6324639320373535, -0.30052584409713745, 0.26335409283638, 0.3937320411205292, -0.4900515377521515, 0.4042164981365204, -0.040906306356191635, -0.06800961494445801, 0.024824365973472595, -0.5533019304275513, 0.12430307269096375, -0.22715504467487335, 0.16784782707691193, -0.404153972864151, 0.3202703893184662, 0.7393941283226013, -0.6454536318778992, 0.5824407935142517, 0.6323897838592529, -0.36742040514945984, -0.005802519619464874, -0.2707562744617462, 0.2814938426017761, -0.45201942324638367, 0.547844409942627, -0.447238028049469, -0.965362012386322, 0.041595712304115295, 0.17408618330955505, -0.006863699294626713, 0.5009498000144958, 0.5003404021263123, -0.2516334056854248, 0.864443838596344, 0.5516214370727539, 0.08138740062713623, 0.5292303562164307, -0.23961420357227325, -0.3476197421550751, -0.44379904866218567, -0.2498544454574585, -0.45856788754463196, 0.10646958649158478, -0.6040940284729004, -0.9968240261077881, 0.42101582884788513, -0.41421884298324585, -0.3719300329685211, 0.024457864463329315, -0.6354550719261169, 0.6720348000526428, 0.6185463666915894, 0.386251837015152, 0.49515366554260254, 0.1307697892189026, 0.09933830052614212, -0.07326045632362366, -0.4434852600097656, -0.49941110610961914, 1.0241131782531738, 0.0907697007060051, 0.6070156097412109, -0.18154437839984894, 0.2491806447505951, 0.2531605064868927, -0.10745586454868317, -0.8248409628868103, 0.5209459066390991, -0.17038121819496155, -0.3360651135444641, -0.5610170960426331, -0.5187859535217285, -0.9818621873855591, 0.37857091426849365, -0.4077272415161133, -0.3736099898815155, 0.14398208260536194, -0.011124840006232262, -0.011817370541393757, -0.032152626663446426, -0.6824240684509277, 0.976161777973175, -0.14189280569553375, -0.22072350978851318, 0.2456209510564804, -0.7108520269393921, 0.35190144181251526, 0.06762800365686417, 0.012455655261874199, 0.2605758309364319, -0.313554048538208, 0.5193324089050293, -0.33682921528816223, 0.26886969804763794, -0.2106931209564209, -0.12458281219005585, 0.6254568099975586, -0.2586352825164795, 0.06811670958995819, 0.35895466804504395, 0.06404387205839157, -0.00394722493365407, 0.3437892198562622, -0.8132383227348328, -0.5601855516433716, 0.34090456366539, -0.802944004535675, -0.2694668173789978, -0.3746686279773712, -0.21899116039276123, 0.12835344672203064, 0.4755306541919708, 0.4354322850704193, 0.5873991847038269, -0.25729700922966003, 0.4168594479560852, 1.1905736923217773, -0.5700573921203613, -0.016813334077596664, 0.12314949929714203, -0.3125559091567993, -0.6001373529434204, 0.9749143719673157, 0.07596306502819061, 0.11136200278997421, 0.6536245346069336, -0.017758090049028397, -0.31522995233535767, -0.3704516291618347, -0.6031389236450195, 0.22247852385044098, -0.9211734533309937, -0.02443939447402954, -0.6916110515594482, -0.34917399287223816, 0.10648152232170105, 0.15560585260391235, -0.03678939491510391, -0.20922642946243286, -0.21238739788532257, 0.03506888076663017, 0.43996626138687134, 0.7374902963638306, 0.6329595446586609, 0.26873064041137695, -0.833903431892395, 0.9119114875793457, 0.7050334811210632, 0.19774779677391052, -0.3774073123931885, -0.5820949673652649, -0.26364830136299133, 0.10499584674835205, 0.07683011144399643, -0.6972700357437134, 0.24186597764492035, 0.22772496938705444, 0.027578555047512054, 0.10407185554504395, 0.14380519092082977, 0.6510671377182007, -0.2854855954647064, 0.6806861162185669, -0.24904152750968933, -0.8397580981254578, 0.4510979652404785, -0.5053920745849609, 0.9882976412773132, 0.7162362337112427, 0.27341920137405396, -0.6776963472366333, -0.14492082595825195, -0.20154666900634766, -0.944848358631134, 0.389638215303421, 0.5235345363616943, 0.1802109181880951, 0.5042245388031006, 0.6454777121543884, 0.01330779492855072, 0.3207210898399353, -0.5042583346366882, -0.17080330848693848, -0.3571012616157532, -0.34430888295173645, -0.11720874160528183, -0.1987752765417099, 0.195417582988739, -0.4133755564689636, 0.26162922382354736, -0.3178933262825012, 0.37645643949508667, 0.6748934984207153, -0.5336542725563049, 0.1544981300830841, -0.2644044756889343, 0.344586580991745, 0.6683439612388611, 0.07254850119352341, 0.07263469696044922, -0.023215413093566895, -0.9831811785697937, -0.0024413205683231354, -0.09950227290391922, -0.2284989058971405, 0.11980106681585312, 0.558074414730072, 0.7263045310974121, -0.4396419823169708, -1.1499844789505005, 0.7379851937294006, -0.948608934879303, -0.37200480699539185, -0.40326422452926636, -0.033731117844581604, -0.07389023154973984, 0.42830973863601685, 0.5182206034660339, -0.2518129348754883, 0.27102479338645935, -0.28380152583122253, 0.2999803125858307, 0.11918549239635468, -0.8008705973625183, 0.23479604721069336, 0.4525872766971588, 0.05468996614217758, 0.012274645268917084, 1.0027059316635132, 0.3435847759246826, -0.5136774778366089, 1.0248517990112305, -0.04075133800506592, 0.5776945948600769, 0.13991422951221466, 0.6219630837440491, 0.5221319794654846, 0.6288238763809204, 0.21944020688533783, 0.9086208343505859, 0.07736644148826599, -0.26986587047576904, -0.3490491211414337, -0.43941253423690796, -0.3980238437652588, 0.1583976149559021, -0.7165572643280029, 0.21654199063777924, -0.10311277955770493, 0.0197638887912035, -0.12421759963035583, -0.17588631808757782, -0.9022045135498047, 0.6195839047431946, 0.24997949600219727, 1.0760070085525513, -0.7277041673660278, 0.5574904084205627, 0.8725951910018921, -0.2834327220916748, -0.30259981751441956, 0.19751958549022675, -0.1262635439634323, -0.9065540432929993, 0.23767907917499542, 0.506821870803833, 0.15906953811645508, 0.0820290818810463, -0.9951760768890381, -0.7392429113388062, 0.9713836908340454, 0.23077356815338135, -0.3144518733024597, 0.15166719257831573, 0.276732474565506, 0.6703251600265503, -0.19319331645965576, 0.4275534749031067, 0.5560488104820251, 0.5534235239028931, 0.2073327600955963, -0.5500492453575134, 0.02684685029089451, -0.6211386919021606, 0.12841731309890747, 0.016902662813663483, -0.5154648423194885, 0.707806408405304, -0.20253607630729675, -0.07255574315786362, 0.530981719493866, 0.7211204767227173, 0.15834175050258636, 0.36814799904823303, 0.5563925504684448, 0.17861409485340118, 0.7329273819923401, -0.18392977118492126, 0.9319943785667419, 0.30740225315093994, 0.09340201318264008, 0.9574893712997437, 0.3432948887348175, 0.889889121055603, 0.48444992303848267, 0.21159309148788452, 0.208094522356987, 0.7549166083335876, -0.04050009325146675, 0.34158921241760254, 0.19121497869491577, 0.012610886245965958, -0.4264781177043915, -0.2520863711833954, -0.16153226792812347, 0.6338502764701843, 0.3365596532821655, -0.2715558111667633, 0.15348933637142181, 0.280143678188324, -0.4076349139213562, 0.15693511068820953, -0.40393951535224915, 0.8039665818214417, 0.019495084881782532, -0.6174727082252502, 0.7689477205276489, -0.35215049982070923, 0.15754744410514832, -0.2958000898361206, -0.29914751648902893, -0.13391129672527313, -0.07404990494251251, 0.07694739103317261, -1.1417587995529175, -0.17062623798847198, 0.07456300407648087, -0.13225823640823364, 0.08078134804964066, 0.46652114391326904, -0.5282014608383179, -0.5868676900863647, -0.03801930323243141, 0.5648526549339294, -0.033904191106557846, -0.33894333243370056, -0.6778370141983032, 0.030108200386166573, -0.09965074807405472, -0.2920072376728058, -0.16115625202655792, 0.9442166686058044, -0.3000293970108032, 0.4880257844924927, 0.1836383193731308, -0.4356532394886017, -0.0033405304420739412, -0.22666813433170319, 0.8957768082618713, -0.6838739514350891, -0.5095285773277283, -0.5817543268203735, 0.8161644339561462, -0.16659140586853027, -0.6899054646492004, 0.5705690979957581, 0.42918649315834045, 0.6807059645652771, -0.1410500854253769, 1.0016629695892334, 0.23646120727062225, 0.04644784331321716, -0.5922927856445312, 0.6905511617660522, -0.9783802032470703, -0.29786625504493713, -0.5286006331443787, -0.8760873079299927, -0.33658602833747864, 0.34208375215530396, -0.10565251857042313, -0.25006940960884094, 0.5856943130493164, 0.6346311569213867, 0.11270228773355484, -0.020371342077851295, 0.34065285325050354, 0.37500715255737305, 0.11484036594629288, 0.519156813621521, 0.9846487641334534, -0.6616193056106567, 0.8855822682380676, 0.06214037537574768, -0.32690683007240295, -0.22849300503730774, -0.48561418056488037, -1.01320481300354, -1.1058725118637085, -0.08440632373094559, -0.4138490855693817, 0.15346792340278625, 0.3630062937736511, 0.29875797033309937, -0.46851885318756104, 0.060568347573280334, 0.10005524009466171, 0.1387873739004135, -0.06882277876138687, -0.15714029967784882, 0.628579318523407, 0.31201034784317017, -0.7853748202323914, -0.22299526631832123, 0.3522815704345703, 0.08247212320566177, -0.10027783364057541, 0.13705983757972717, -0.2311045080423355, 0.30013424158096313, 0.7089948654174805, 0.2134813666343689, -0.36136549711227417, -0.006082172505557537, 0.4638793170452118, -0.36563387513160706, 0.3070465326309204, 0.5600331425666809, -0.982315182685852, 1.0825014114379883, 0.977982223033905, 0.8465736508369446, 0.5384243726730347, 0.21788421273231506, 0.5294341444969177, -0.3005274832248688, 0.0950254574418068, 0.12619982659816742, 0.26082223653793335, 0.26221024990081787, -0.2728341221809387, 0.3891281485557556, 0.0053771184757351875, -0.5428988933563232, -0.6727194786071777, 0.1095520481467247, -1.0954302549362183, -0.4380069375038147, 1.1167311668395996, -0.01969733089208603, -0.8137101531028748, -0.25760266184806824, -1.0270836353302002, 0.20608051121234894, -0.311740905046463, 0.5520092844963074, 0.5058991312980652, 0.40112385153770447, -0.4737990200519562, -0.652716875076294, 0.21118278801441193, 0.21800461411476135, -0.912137508392334, -0.09891366213560104, 0.6048214435577393, -0.19842898845672607, -0.20332227647304535, 0.5438991189002991, 0.10586132854223251, 0.6917771697044373, -0.14510484039783478, -0.25474292039871216, 0.12352602183818817, -0.43591105937957764, -0.5647611618041992, 0.11048372834920883, -0.22527934610843658, -0.34267958998680115 ]
http://arxiv.org/abs/2404.10642v2
http://arxiv.org/pdf/2404.10642v2
Self-playing Adversarial Language Game Enhances LLM Reasoning
2024-04-16T15:16:22
2024-05-23T06:38:15
Pengyu Cheng, Tianhao Hu, Han Xu, Zhisong Zhang, Yong Dai, Lei Han, Nan Du
cs.CL
cs.CL, cs.LG
We explore the self-play training procedure of large language models (LLMs) in a two-player adversarial language game called Adversarial Taboo. In this game, an attacker and a defender communicate around a target word only visible to the attacker. The attacker aims to induce the defender to speak the target word unconsciously, while the defender tries to infer the target word from the attacker's utterances. To win the game, both players should have sufficient knowledge about the target word and high-level reasoning ability to infer and express in this information-reserved conversation. Hence, we are curious about whether LLMs' reasoning ability can be further enhanced by self-play in this adversarial language game (SPAG). With this goal, we select several open-source LLMs and let each act as the attacker and play with a copy of itself as the defender on an extensive range of target words. Through reinforcement learning on the game outcomes, we observe that the LLMs' performances uniformly improve on a broad range of reasoning benchmarks. Furthermore, iteratively adopting this self-play process can continuously promote LLMs' reasoning abilities. The code is at https://github.com/Linear95/SPAG.
[ -0.15987469255924225, -0.9359590411186218, 0.5560755729675293, 0.4378262758255005, -0.17045406997203827, -0.04669318348169327, -0.24111606180667877, -0.30266398191452026, 0.055597398430109024, 0.9633685946464539, -0.4149029552936554, -0.5687124133110046, -0.6128215789794922, 0.020713604986667633, -0.3102782070636749, 0.8927043080329895, 0.1318078637123108, 0.1685054451227188, -0.2663435935974121, -0.10799597948789597, -0.3008262515068054, -0.5514309406280518, -0.809172511100769, -0.612327516078949, 0.3086357116699219, 0.23052899539470673, 0.6346940398216248, 0.9846756458282471, 0.25282514095306396, 0.3767315149307251, 0.03969166800379753, 0.1254388839006424, -0.7584401965141296, 0.6451181769371033, -0.3417978882789612, -0.615763247013092, -0.03755749389529228, 0.019488345831632614, 0.5472161769866943, 0.030172742903232574, -0.11499446630477905, -0.004814764019101858, 0.09666645526885986, 0.5790197849273682, -0.48729369044303894, -0.10333623737096786, -0.796614944934845, 0.22322654724121094, -0.17424286901950836, -0.29599180817604065, -0.4501867890357971, 0.009371386840939522, -0.14939168095588684, -0.7391265034675598, -0.06532458961009979, -0.2656387388706207, 0.5032209753990173, 0.6323800086975098, -0.26384034752845764, -0.3128156363964081, -0.6716731786727905, 0.20008277893066406, -0.6150611042976379, 0.08158104866743088, 0.43405699729919434, 0.0729149803519249, -0.5019350647926331, -0.2955375611782074, -0.2505521774291992, -0.5480824708938599, 0.16850751638412476, 0.2733754813671112, -0.4714347720146179, 0.1364077478647232, 0.3835428059101105, 0.09166654944419861, -0.5722849369049072, 0.21349404752254486, -0.08441238850355148, -0.17926396429538727, 0.6718476414680481, -0.09010181576013565, 0.03351278230547905, 0.15877586603164673, -0.6639915108680725, 0.19329805672168732, -0.8957434892654419, -0.04816311597824097, 0.6097074151039124, -0.07571125775575638, 0.11476989090442657, 0.5303896069526672, 0.013885109685361385, 0.48845431208610535, 0.16196799278259277, 0.08615577220916748, -0.06114965304732323, 0.10710329562425613, -0.053839582949876785, 0.16300150752067566, 0.9062146544456482, 0.16732504963874817, 0.2625087797641754, -0.319091796875, -0.15056197345256805, 0.08675277978181839, 0.4538351595401764, -0.42597779631614685, -0.44397833943367004, -0.035527318716049194, -0.205674946308136, -0.408239483833313, -0.4191010594367981, -0.4401513636112213, -0.8064322471618652, 0.1453123539686203, 0.5739877820014954, -0.6655879020690918, -0.18634097278118134, 0.21199022233486176, -0.2132667452096939, 0.2534850537776947, 0.2645336389541626, -0.6537207961082458, 0.4243588447570801, 0.6125312447547913, 0.5669268369674683, -0.19946721196174622, -0.34263747930526733, -0.5717211961746216, 0.3034954071044922, -0.6014117002487183, 0.7949905395507812, -0.22874152660369873, -0.5755801796913147, -0.13323111832141876, -0.41068875789642334, 0.1542597860097885, -0.5212759375572205, 0.5378425717353821, -0.6554470062255859, 0.161905437707901, -0.04425433650612831, -0.6508448719978333, -0.009820881299674511, 0.6763038039207458, -0.39424192905426025, 0.9427613615989685, -0.22784335911273956, -0.4618040919303894, 0.04381004348397255, -0.6019795536994934, -0.6604350209236145, 0.3043704330921173, -0.3301626443862915, -0.37666377425193787, 0.060956697911024094, 0.21925196051597595, 0.3087274730205536, -0.14972750842571259, -0.13486480712890625, -0.5843850374221802, -0.32010596990585327, 0.5781034231185913, -0.45017507672309875, 0.537080705165863, 0.23313471674919128, -0.47413170337677, 0.08936818689107895, -0.33015257120132446, -0.0008381725638173521, 0.5207371115684509, -0.239863783121109, -0.23496149480342865, 0.20557501912117004, -0.6786677837371826, 0.23184165358543396, 0.2494373917579651, -0.28181374073028564, 0.2639748454093933, -0.5680704712867737, 0.24474367499351501, 0.8169758915901184, 0.12638139724731445, 0.47365689277648926, -0.3423900902271271, 0.5148218274116516, -0.21426498889923096, 0.3257627487182617, -0.04357779026031494, -0.4342010021209717, -0.7161675095558167, -0.22945813834667206, 0.1597076952457428, 0.6078423857688904, -0.8331411480903625, 0.2660093605518341, 0.1648130863904953, -0.3247079849243164, -0.4779292941093445, 0.2618659436702728, 0.49926790595054626, 0.2991400361061096, 0.3401642441749573, -0.08340786397457123, -0.3740917146205902, -0.6609998941421509, -0.41750091314315796, -0.3690459728240967, 0.25884220004081726, 0.6505752205848694, 0.3397604525089264, -0.160535529255867, 0.5778801441192627, -0.3313796818256378, -0.4482632577419281, -0.2955634891986847, -0.031152330338954926, -0.08449161797761917, 0.268984317779541, 0.5876860618591309, -0.32748517394065857, -0.26271235942840576, -0.2599710524082184, -0.8611122965812683, -0.2911999821662903, -0.1997838169336319, -0.24410824477672577, 0.12268137186765671, 0.580226719379425, -0.49933645129203796, 0.18050454556941986, 0.5872889757156372, -0.465933620929718, 0.6342465877532959, -0.38305604457855225, 0.1171179860830307, -0.7618431448936462, -0.2642509639263153, -0.11592857539653778, -0.28222039341926575, -0.6106091141700745, 0.3410053551197052, -0.1418607383966446, 0.09559746831655502, -0.38248661160469055, 0.6191074252128601, -0.5457628965377808, -0.1400737166404724, -0.6397961378097534, 0.4018614888191223, -0.10134879499673843, 0.3794999420642853, -0.021611124277114868, 0.8610242605209351, 0.8410064578056335, -0.7457039952278137, 0.502409815788269, -0.024699468165636063, -0.1767057329416275, 0.2626463770866394, -0.521955132484436, 0.23812012374401093, 0.20847775042057037, 0.10618656873703003, -0.8343209028244019, 0.09183898568153381, 0.49904513359069824, -0.7800093293190002, 0.35125941038131714, -0.3494661748409271, -0.42624011635780334, -0.26182255148887634, -0.03567378595471382, 0.12905627489089966, 0.42194488644599915, -0.6172184348106384, 0.4642673134803772, 0.6273038983345032, 0.09951229393482208, -0.7712826728820801, -0.6524332761764526, 0.3573495149612427, -0.41057756543159485, -0.43489813804626465, 0.2127404510974884, -0.15601956844329834, -0.24773132801055908, -0.007053215056657791, -0.11867044866085052, 0.11907833069562912, 0.526940107345581, 0.141902357339859, 0.04031014442443848, -0.14859983325004578, 0.2924228608608246, -0.2384590357542038, -0.05746592953801155, 0.60221266746521, -0.6332226395606995, 0.48734840750694275, -0.25687769055366516, -0.577672004699707, 0.040733449161052704, 0.21025653183460236, 0.05950940400362015, -0.08950479328632355, 0.5471230149269104, 0.33369699120521545, -0.1559610664844513, -0.4503536522388458, -0.680108904838562, -0.1474650502204895, -0.48905572295188904, 0.33362680673599243, -0.5422948598861694, -1.0969558954238892, 0.4706422984600067, -0.27191612124443054, -0.27524998784065247, 0.4133283197879791, 0.5911073684692383, -0.2119452804327011, 1.0380223989486694, 0.23612943291664124, -0.1956266611814499, 0.1337369680404663, -0.2751739025115967, -0.4404680132865906, -0.5785920023918152, -0.1826501339673996, -0.24590922892093658, -0.10195024311542511, -0.38192200660705566, -0.6468794345855713, 0.27162206172943115, 0.15187707543373108, -0.2914912700653076, 0.21473996341228485, -0.4267108738422394, 0.7464442849159241, 0.4892728626728058, 0.3567335903644562, 0.13247492909431458, -0.11630956083536148, -0.3383151590824127, 0.027279818430542946, -0.8403533101081848, -0.2683706283569336, 1.0615390539169312, 0.5263456702232361, 0.8873704075813293, 0.3977831304073334, 1.0524721145629883, 0.4826681911945343, 0.1608285903930664, -0.6522160768508911, 0.7354868650436401, -0.05057748034596443, -0.5387198328971863, -0.36603328585624695, -0.6906130909919739, -0.9753801822662354, 0.12938043475151062, -0.3024458587169647, -0.6578612327575684, -0.3349481523036957, 0.2127346247434616, -0.355802446603775, 0.2754051387310028, -0.29498833417892456, 0.811654806137085, -0.7749963998794556, -0.6125660538673401, -0.5138532519340515, -0.4347759485244751, 0.517558753490448, 0.21586544811725616, 0.12366200983524323, 0.023647863417863846, -0.11070166528224945, 0.620713472366333, 0.006053104531019926, 0.8039798140525818, -0.003087463555857539, -0.201349675655365, 0.4045298397541046, 0.5025528073310852, 0.41530275344848633, 0.2149001806974411, 0.09984026104211807, 0.2307233065366745, -0.4829375743865967, -0.3173234164714813, -0.6620491147041321, 0.8772704005241394, -0.8897320032119751, -1.3495978116989136, -0.7249692678451538, -0.41947832703590393, -0.1877254992723465, 0.17290018498897552, 0.10523593425750732, 0.08350886404514313, -0.6824902296066284, 0.18283048272132874, 1.123245358467102, -0.1127375066280365, 0.0907508060336113, 0.625416100025177, -0.17494353652000427, -0.45793867111206055, 0.6705178022384644, -0.10540074110031128, 0.32549405097961426, 0.4398990571498871, 0.5010486245155334, -0.5663594603538513, -0.5826336741447449, -0.4759266674518585, 0.25468114018440247, -0.7950242757797241, -0.2306799739599228, -0.5829537510871887, -0.3378223776817322, -0.4263075888156891, 0.10258382558822632, -0.2413712590932846, -0.3769600987434387, -0.2532922327518463, 0.05860885605216026, 0.3036271333694458, 0.9680929183959961, -0.39853817224502563, 0.27537715435028076, -0.5231993794441223, 0.1741955578327179, 0.38008353114128113, 0.20559264719486237, -0.46316781640052795, -0.8229356408119202, -0.204584002494812, -0.028024617582559586, -0.31740495562553406, -1.284703254699707, 0.20838777720928192, -0.11671265959739685, 0.9599006772041321, 0.4753377437591553, 0.016447145491838455, 0.4321191608905792, -0.47770974040031433, 0.597044825553894, 0.1531672179698944, -0.7526642084121704, 0.47868868708610535, -0.45241373777389526, 0.3165249526500702, 0.25448358058929443, 0.08088330924510956, -0.3224048316478729, -0.5325827598571777, -0.7640290856361389, -0.39135879278182983, 0.741347074508667, 0.19352853298187256, -0.0015250361757352948, -0.20736099779605865, 0.3818511366844177, -0.1703743189573288, -0.07691056281328201, -0.9225137829780579, -0.4975113272666931, -0.24316059052944183, 0.08466578274965286, -0.21066342294216156, -0.27055972814559937, -0.6334165930747986, 0.20278412103652954, 0.80339115858078, -0.2252838909626007, 0.27329161763191223, 0.07179354876279831, -0.21908976137638092, -0.009177309460937977, 0.23498506844043732, 0.529356837272644, -0.07107663154602051, 0.3153376281261444, 0.45460689067840576, 0.45320841670036316, -0.22701971232891083, 0.27816084027290344, 0.30961039662361145, -0.2129063904285431, -0.4844202697277069, 0.2711179554462433, 0.7115104794502258, 0.23820124566555023, -0.5435184836387634, 0.5845255851745605, -0.15339189767837524, -0.4537144899368286, -0.31848350167274475, 0.4002959728240967, 0.09324827790260315, 0.622806966304779, 0.05295238643884659, 0.1722833812236786, 0.17927132546901703, -0.34303542971611023, 0.3126887381076813, 0.7422459721565247, -0.3034646809101105, 0.1354900598526001, 0.6664134860038757, 0.08532644063234329, -0.4773196280002594, 0.14644010365009308, -0.44254159927368164, -0.9621592164039612, 0.48162275552749634, 0.8647089004516602, 0.8533377647399902, -0.18026186525821686, 0.27460289001464844, 0.14588549733161926, 0.5252248048782349, -0.09238287061452866, 0.03565894439816475, -0.3001236021518707, -0.8352006673812866, -0.45011448860168457, -0.08332739025354385, -0.35276198387145996, 0.2851809561252594, -0.15001536905765533, -0.08774009346961975, -0.5034187436103821, -0.10947471112012863, -0.5067360997200012, 0.17792314291000366, -0.3860644996166229, -0.11650410294532776, 0.5933080911636353, 0.8536556959152222, -0.5158352255821228, 0.744282603263855, 0.5491439700126648, -0.27286338806152344, -0.48252198100090027, 0.08099564909934998, 0.042382702231407166, -0.9242458343505859, 0.5806971788406372, -0.10802122950553894, -0.3813237249851227, -0.0026909811422228813, -0.5479620695114136, -0.9687346816062927, 0.9072327613830566, 0.42625367641448975, -0.2742515206336975, 0.21489550173282623, 0.2472953051328659, 0.5764710307121277, -0.37849605083465576, 0.24206548929214478, 0.39803749322891235, 0.19813303649425507, 0.28827568888664246, -0.3703334331512451, -0.027196770533919334, -0.10749226063489914, -0.37620046734809875, -0.011754351668059826, -0.6481271386146545, 0.44373300671577454, -0.37529149651527405, -0.1925925761461258, -0.00743516068905592, 1.055655598640442, 0.5299150347709656, 0.11048806458711624, 0.6219967007637024, 0.7540743947029114, 0.5478110313415527, -0.10290055721998215, 0.7302355766296387, -0.3865940570831299, -0.05418955907225609, 1.1540826559066772, -0.34282660484313965, 0.5421409606933594, 0.040427930653095245, 0.15260626375675201, 0.3077765107154846, 0.38184860348701477, -0.03429541364312172, 0.34701040387153625, 0.3966926634311676, -0.34774792194366455, -0.6109825372695923, 0.1731727570295334, -0.2600111663341522, 0.6118624806404114, 0.6159555315971375, -0.22970807552337646, -0.26163920760154724, -0.0929160863161087, 0.12566520273685455, 0.4413246810436249, -0.2943856120109558, 1.0220574140548706, -0.010120232589542866, -0.7693616151809692, 0.39863377809524536, -0.01179357711225748, 0.5278462171554565, -0.788299024105072, 0.08768249303102493, -0.14160571992397308, 0.4857884645462036, 0.16066710650920868, -0.9712739586830139, -0.0349610298871994, 0.04979900270700455, 0.22825303673744202, -0.22572387754917145, 1.0661982297897339, -0.5184150338172913, -0.05241997167468071, 0.663189172744751, 0.5690011382102966, 0.21971377730369568, -0.11196952313184738, -1.1806379556655884, -0.19752824306488037, -0.19550353288650513, -0.24991053342819214, 0.5462743043899536, 0.5689066052436829, 0.22391271591186523, 0.8934537172317505, 0.6204240322113037, 0.33620747923851013, 0.09824911504983902, 0.16213054955005646, 0.8925566077232361, -0.3939732015132904, -0.4647291898727417, -1.077094316482544, 0.02683267742395401, -0.3249042332172394, -0.26197224855422974, 0.9396729469299316, 0.7614280581474304, 0.7096059322357178, 0.13632111251354218, 0.8413562178611755, 0.3442789316177368, 0.23319324851036072, -0.5331401824951172, 0.67349773645401, -0.34937113523483276, 0.27003857493400574, -0.02494785189628601, -0.3712722361087799, -0.14370015263557434, 0.7195885181427002, -0.37695297598838806, -0.17573131620883942, 0.41147443652153015, 0.817777156829834, 0.31081610918045044, -0.2101401686668396, 0.6960098147392273, 0.28719213604927063, 0.27296650409698486, 0.6863765716552734, 1.173540711402893, -0.2510606646537781, 0.8661025762557983, -0.16738606989383698, -0.4673480689525604, -0.036662280559539795, -0.7856738567352295, -1.2136286497116089, -0.20825842022895813, -0.23052868247032166, -0.7815309762954712, 0.44150686264038086, 0.9239617586135864, 0.38315072655677795, -0.2907223701477051, -0.403577595949173, -0.109580397605896, 0.2449331432580948, -0.3820875287055969, -0.20910486578941345, -0.06376345455646515, -0.4623073935508728, -0.2354569286108017, 0.9147464036941528, 0.2689613103866577, -0.07676195353269577, -0.4772118628025055, -0.3353225886821747, -0.3458516299724579, 0.34197667241096497, 0.36684638261795044, 0.5203763842582703, -0.5974751710891724, -0.1589333564043045, 0.27324697375297546, -0.287227064371109, -0.12009048461914062, 0.7202515602111816, -0.7695494294166565, 0.47013378143310547, 0.20421677827835083, 0.775759756565094, 0.5821557641029358, -0.05484038591384888, 0.5850932598114014, -0.5431329607963562, -0.05262516811490059, 0.3107016980648041, 0.40034550428390503, 0.23253852128982544, -0.5421037077903748, 0.46985113620758057, 0.38141584396362305, -0.7388187050819397, -0.492743581533432, 0.45397913455963135, -0.45817095041275024, -0.5590459108352661, 1.5457613468170166, -0.25648829340934753, -0.20961053669452667, -0.02945726551115513, -0.16770444810390472, 0.40419650077819824, -0.38141483068466187, 0.8627757430076599, 0.573132336139679, -0.1191222295165062, -0.247370183467865, -0.051708053797483444, 0.7796207666397095, 0.40585458278656006, -0.6221400499343872, 0.13244976103305817, 0.41835224628448486, 0.1992393285036087, 0.12016303092241287, 0.7324334979057312, 0.05717983841896057, 0.4889504313468933, 0.0737529993057251, -0.02326354943215847, -0.2868695557117462, -0.4099743664264679, -0.4632778763771057, 0.03919031843543053, 0.08983978629112244, -0.123409204185009 ]
http://arxiv.org/abs/2404.10630v1
http://arxiv.org/pdf/2404.10630v1
HLAT: High-quality Large Language Model Pre-trained on AWS Trainium
2024-04-16T15:02:46
2024-04-16T15:02:46
Haozheng Fan, Hao Zhou, Guangtai Huang, Parameswaran Raman, Xinwei Fu, Gaurav Gupta, Dhananjay Ram, Yida Wang, Jun Huan
cs.CL
cs.CL, cs.LG
Getting large language models (LLMs) to perform well on the downstream tasks requires pre-training over trillions of tokens. This typically demands a large number of powerful computational devices in addition to a stable distributed training framework to accelerate the training. The growing number of applications leveraging AI/ML had led to a scarcity of the expensive conventional accelerators (such as GPUs), which begs the need for the alternative specialized-accelerators that are scalable and cost-efficient. AWS Trainium is the second-generation machine learning accelerator that has been purposely built for training large deep learning models. Its corresponding instance, Amazon EC2 trn1, is an alternative to GPU instances for LLM training. However, training LLMs with billions of parameters on trn1 is challenging due to its relatively nascent software ecosystem. In this paper, we showcase HLAT: a 7 billion parameter decoder-only LLM pre-trained using trn1 instances over 1.8 trillion tokens. The performance of HLAT is benchmarked against popular open source baseline models including LLaMA and OpenLLaMA, which have been trained on NVIDIA GPUs and Google TPUs, respectively. On various evaluation tasks, we show that HLAT achieves model quality on par with the baselines. We also share the best practice of using the Neuron Distributed Training Library (NDTL), a customized distributed training library for AWS Trainium to achieve efficient training. Our work demonstrates that AWS Trainium powered by the NDTL is able to successfully pre-train state-of-the-art LLM models with high performance and cost-effectiveness.
[ -0.3266054391860962, -0.5275666117668152, 0.2922084629535675, 0.2588919997215271, -0.3584919571876526, 0.3898797035217285, -0.15042833983898163, -0.32207635045051575, -0.03304405137896538, 0.39346811175346375, -0.2498789280653, -0.5983722805976868, -0.5144986510276794, -0.12156300246715546, -0.5059084296226501, 0.834270179271698, 0.13077649474143982, 0.03144710510969162, -0.03823550418019295, -0.04866756871342659, 0.19357997179031372, -0.6451178193092346, -0.8439490795135498, -0.4350135326385498, 0.6056008338928223, 0.3353421092033386, 0.681163489818573, 0.8741501569747925, 0.7043781876564026, 0.19863122701644897, -0.1060902401804924, -0.047145191580057144, -0.4160321056842804, -0.16201657056808472, 0.1350075900554657, -0.3627120554447174, -0.9074525833129883, -0.203822523355484, 0.6090684533119202, 0.3832351565361023, -0.3207777142524719, 0.36858341097831726, 0.02684626914560795, 0.516907274723053, -0.5476862788200378, -0.23554359376430511, -0.600691556930542, 0.14075419306755066, -0.5034118890762329, -0.04082898795604706, -0.6165837049484253, -0.21302422881126404, 0.08846161514520645, -0.5670725107192993, 0.12225623428821564, 0.22108568251132965, 1.1347525119781494, 0.5004714131355286, -0.3044358491897583, 0.08125550299882889, -0.8262645602226257, 0.7316619157791138, -0.9515268802642822, 0.5501198172569275, 0.23068884015083313, 0.5221771597862244, -0.16265444457530975, -0.7419523596763611, -0.2669794261455536, -0.38548317551612854, -0.022184811532497406, 0.04601435363292694, -0.09424897283315659, -0.06205779314041138, 0.3760847747325897, 0.18174315989017487, -0.8389389514923096, 0.6322610378265381, -0.07522861659526825, -0.26556336879730225, 0.1791895031929016, 0.08014705777168274, -0.0916750356554985, 0.03477306291460991, -0.30020520091056824, -0.23902031779289246, -1.075941801071167, -0.3053252100944519, 0.5411638617515564, 0.17237097024917603, -0.1978723257780075, 0.012602587230503559, -0.12405712157487869, 0.6220608949661255, -0.1842070072889328, -0.027605772018432617, 0.25135883688926697, 0.03930104523897171, -0.3241458535194397, 0.12762479484081268, 0.8256602883338928, -0.43818336725234985, -0.04973796755075455, -0.2575220465660095, -0.056908056139945984, -0.017740871757268906, 0.38560616970062256, -1.1638582944869995, -0.12114443629980087, 0.39983969926834106, -0.27806347608566284, -0.07586577534675598, -0.4029645621776581, -0.9009429216384888, -0.1738647222518921, -0.23324459791183472, 0.04984571412205696, -0.21600580215454102, -0.42089417576789856, -0.006329451221972704, 0.10860193520784378, 0.2556503713130951, 0.47215360403060913, -0.9344654083251953, 0.22176340222358704, 0.7250781059265137, 0.7468485236167908, -0.043652888387441635, -0.4611895978450775, -0.7002030611038208, 0.057866938412189484, -0.27409639954566956, 0.5848921537399292, -0.14654143154621124, 0.14351534843444824, 0.16975846886634827, -0.2447204440832138, 0.29192066192626953, -0.656511127948761, 0.6745028495788574, -0.9377319812774658, -0.21895843744277954, 0.07833070307970047, -0.4564710855484009, 0.17592106759548187, 0.45583629608154297, -0.6902289390563965, 1.0550352334976196, 0.24073363840579987, -0.5420033931732178, 0.3852762281894684, -0.5818558931350708, -0.6330744624137878, 0.3271314799785614, -0.0038704280741512775, -0.5393984317779541, -0.10848014801740646, 0.09210284054279327, 0.34614381194114685, -0.48112890124320984, 0.17150193452835083, -0.33486419916152954, -0.3017180263996124, -0.07135193794965744, -0.30681777000427246, 0.696149468421936, 0.3690604567527771, -0.5613571405410767, 0.3633629381656647, -0.8002015948295593, 0.17069564759731293, -0.00878370925784111, -0.4803941547870636, -0.007575776427984238, -0.08531764149665833, 0.038811810314655304, 0.2298344522714615, 0.3335007131099701, -0.45754754543304443, -0.07743395864963531, -0.292044073343277, 0.6860220432281494, 0.650908350944519, -0.6544299125671387, 0.24637390673160553, 0.10700515657663345, 0.5191105604171753, 0.050059761852025986, 0.25716087222099304, 0.04532055929303169, 0.010889282450079918, -0.9584101438522339, -0.2148214727640152, 0.4485139846801758, 0.2680363059043884, -0.5816016793251038, 0.5240328311920166, -0.395461767911911, -0.786368191242218, -0.702631950378418, 0.3619644343852997, 0.2881379723548889, 0.27983802556991577, 0.341568261384964, 0.04750733822584152, -0.6688956618309021, -0.7932934761047363, 0.19849105179309845, -0.024372786283493042, -0.11398003250360489, 0.151042178273201, 0.6600134372711182, -0.3204810619354248, 0.7477917075157166, -0.03848487138748169, -0.27328240871429443, -0.4589947462081909, 0.2658716142177582, 0.25530320405960083, 0.46298617124557495, 0.5066223740577698, -0.3829330503940582, -0.5963376760482788, 0.29724523425102234, -0.7778658866882324, 0.19436590373516083, 0.03545258566737175, -0.5234063267707825, 0.4185253381729126, 0.5731255412101746, -0.5898431539535522, 0.20923283696174622, 0.9356832504272461, 0.07119923084974289, 0.6377934813499451, -0.47133907675743103, -0.1122424378991127, -1.0303691625595093, 0.3230329751968384, -0.12820366024971008, -0.28392088413238525, -0.39095813035964966, 0.03815155848860741, 0.21199271082878113, -0.11690013110637665, -0.8116151690483093, 0.4648932218551636, -0.42923703789711, -0.43344223499298096, -0.5062573552131653, 0.10212727636098862, -0.0030747177079319954, 0.5317763686180115, 0.07689741998910904, 0.8014199137687683, 0.6761807203292847, -0.7825652360916138, 0.4667204022407532, 0.2798527479171753, -0.5634720325469971, 0.1753268837928772, -0.7771079540252686, 0.22707462310791016, 0.09399017691612244, 0.24110357463359833, -0.28223705291748047, -0.12855054438114166, -0.09434907883405685, -0.08868244290351868, 0.09194916486740112, -0.04972974210977554, -0.8230257630348206, -0.6403844952583313, 0.2369053214788437, 0.5187515020370483, 0.774163544178009, -0.9514085054397583, 0.474637895822525, 0.2603534460067749, 0.27362242341041565, -0.6348071694374084, -0.5668975114822388, 0.2486071139574051, -0.2541194558143616, -0.3762817084789276, 0.41327595710754395, 0.011438841000199318, 0.12374866008758545, 0.05757176876068115, 0.10060948133468628, -0.13444319367408752, 0.2958834171295166, 0.17672261595726013, 0.17994621396064758, -0.41580259799957275, 0.07611405104398727, -0.1765170693397522, -0.2487858384847641, -0.07762579619884491, -0.3552372455596924, 1.0894081592559814, -0.42450278997421265, -0.36953964829444885, -0.7703670263290405, -0.1009855791926384, 0.624538242816925, -0.473249226808548, 0.7880262732505798, 0.7378314733505249, -0.32397928833961487, -0.41517090797424316, -0.26835426688194275, -0.15249906480312347, -0.4822362959384918, 0.6174261569976807, -0.28222140669822693, -0.8114195466041565, 0.4052777588367462, -0.18695470690727234, 0.16090594232082367, 0.2201526165008545, 0.6759017705917358, -0.14479641616344452, 0.8810654282569885, 0.500653862953186, -0.4606044292449951, 0.678601861000061, -0.26166459918022156, 0.16482166945934296, -0.825697124004364, 0.1974574476480484, -0.6748831272125244, -0.2581164240837097, -0.41906800866127014, -0.1925593763589859, 0.26499679684638977, -0.10065584629774094, -0.7967691421508789, 0.6093611717224121, -0.24555905163288116, 0.45516133308410645, 0.9044798016548157, 0.2203652709722519, 0.2780120372772217, 0.1529078334569931, 0.1376963108778, 0.2025061547756195, -0.9633411765098572, -0.6811219453811646, 1.1267224550247192, 0.5366851091384888, 0.8998732566833496, -0.003038177965208888, 0.7002396583557129, 0.21028482913970947, 0.6097943186759949, -0.5970608592033386, 0.5885624885559082, -0.22266143560409546, -0.8428205251693726, -0.3112921416759491, -0.49677929282188416, -1.0703479051589966, 0.23334237933158875, -0.1873655617237091, -0.4074302315711975, -0.37220028042793274, 0.369454950094223, -0.41561293601989746, 0.45524725317955017, -0.2343829721212387, 1.0305850505828857, -0.722381591796875, -0.6288105249404907, -0.4543682336807251, -0.5143304467201233, 0.07498136907815933, 0.07413280010223389, -0.07395150512456894, -0.006311096716672182, 0.3688134253025055, 0.7224298119544983, -0.42409154772758484, 0.5054472088813782, -0.04875830188393593, -0.02738984487950802, 0.21779601275920868, 0.04581119865179062, 0.44643041491508484, -0.19010445475578308, -0.2886536717414856, 0.3986763656139374, -0.45603513717651367, -0.5706061124801636, -0.49037131667137146, 0.5892301797866821, -1.015550136566162, -0.5444546341896057, -0.3497054874897003, -0.4192332625389099, -0.09934449195861816, 0.4205425977706909, 0.12818443775177002, 0.5072906613349915, -0.22165200114250183, 0.3975355625152588, 0.45832234621047974, -0.36048367619514465, 0.5144465565681458, 0.2793256938457489, -0.028660036623477936, -0.37903741002082825, 0.7263065576553345, -0.3365330994129181, 0.4366578459739685, 0.31901803612709045, 0.04688139632344246, -0.2038811594247818, -0.646630048751831, -0.8382676243782043, 0.34110206365585327, -0.5040496587753296, -0.10582426190376282, -0.45829087495803833, -0.41629862785339355, -0.3411058187484741, -0.007146554999053478, -0.7908284664154053, 0.1509653627872467, -0.3609329164028168, -0.14369164407253265, 0.054825376719236374, 0.4229148030281067, 0.10856696218252182, 0.9430932998657227, -0.9167819023132324, 0.11326182633638382, 0.059543486684560776, 0.425457626581192, 0.1639571338891983, -0.6378214359283447, -0.671943187713623, 0.0793478935956955, -0.32584476470947266, -0.3985185921192169, 0.6273361444473267, 0.05454149469733238, 0.5555838346481323, 0.5729740262031555, -0.08551973104476929, 0.6530749201774597, -0.5394294857978821, 0.38538625836372375, 0.049033135175704956, -0.8968318700790405, 0.4257591962814331, -0.26569998264312744, 0.22292548418045044, 0.5894348621368408, 0.4469357132911682, -0.35358816385269165, -0.30268552899360657, -0.538092315196991, -0.5494083166122437, 0.7811095714569092, 0.0022594351321458817, -0.013496765866875648, 0.4534291923046112, 0.20339158177375793, 0.03372645750641823, 0.43723264336586, -0.8756809234619141, -0.10175967216491699, -0.26755276322364807, -0.28263527154922485, -0.20068155229091644, -0.046544477343559265, -0.20755188167095184, -0.2400510162115097, 0.8675768971443176, -0.037429485470056534, 0.17840391397476196, -0.2071233093738556, -0.37564486265182495, -0.027265314012765884, 0.2375383973121643, 0.44365057349205017, 0.5262782573699951, -0.34503376483917236, 0.19520628452301025, -0.14461131393909454, -0.3158833682537079, 0.1899455487728119, -0.13102935254573822, -0.24203835427761078, -0.01687159389257431, 0.2707147002220154, 1.1853657960891724, -0.053838327527046204, -0.8588183522224426, 0.2336166948080063, 0.0511922687292099, -0.281495064496994, -0.32362309098243713, 0.02084723860025406, 0.1222098171710968, 0.12059245258569717, 0.14104850590229034, -0.18005935847759247, -0.24481135606765747, -0.512309193611145, 0.14728128910064697, 0.3654356002807617, -0.08525451272726059, -0.3309687077999115, 0.6103906035423279, 0.3286094665527344, -0.3274708390235901, 1.0979036092758179, -0.3921896517276764, -0.8708196878433228, 0.7301731705665588, 0.6073399186134338, 0.7148078083992004, -0.06343846023082733, 0.38127413392066956, 0.5233350396156311, 0.53080815076828, -0.15238019824028015, -0.15442822873592377, -0.019779037684202194, -0.7156086564064026, -0.437678724527359, -0.7670104503631592, -0.8019263744354248, 0.23359329998493195, -0.45344436168670654, 0.20845675468444824, -0.5963699817657471, -0.1838645339012146, -0.45284342765808105, -0.06316893547773361, -0.8189443945884705, 0.15561847388744354, 0.21524927020072937, 0.8181669116020203, -0.6264982223510742, 1.1382189989089966, 0.5241510272026062, -0.09346260875463486, -0.7520537972450256, -0.2442471832036972, -0.5516840815544128, -0.6477387547492981, 1.0251238346099854, 0.2445002943277359, 0.11415598541498184, 0.23165735602378845, -0.39462926983833313, -0.9973655343055725, 0.9359753131866455, 0.6080588102340698, -0.6279372572898865, -0.04042946547269821, 0.6283692717552185, 0.7338072657585144, -0.13376568257808685, 0.49012619256973267, 0.6210432052612305, 0.46451494097709656, 0.09696169942617416, -0.7418886423110962, -0.06830281019210815, -0.0363985039293766, -0.3996638059616089, 0.2512844502925873, -0.7516555786132812, 1.0072004795074463, -0.18936939537525177, -0.1889468878507614, -0.10352043807506561, 0.7422134280204773, 0.3621373176574707, 0.1607181280851364, 0.45883581042289734, 0.7755286693572998, 0.7185789942741394, -0.08646989613771439, 0.7862555384635925, -0.4467281699180603, 0.2742231488227844, 1.1375638246536255, -0.5836561918258667, 1.0731775760650635, 0.34719720482826233, -0.22266562283039093, 0.6958284974098206, 0.7222995758056641, -0.06137485429644585, 0.36774149537086487, 0.3437230587005615, -0.17703211307525635, -0.5142208337783813, 0.03951398283243179, -0.29377225041389465, 0.3205503821372986, 0.13766397535800934, -0.06177322193980217, -0.37347152829170227, 0.04995381087064743, -0.18180516362190247, -0.3084813356399536, -0.21655263006687164, 0.409964382648468, 0.07258586585521698, -0.47540342807769775, 0.6674742698669434, -0.18481440842151642, 0.6762767434120178, -0.5916352868080139, 0.30707746744155884, -0.3107011318206787, 0.42293283343315125, -0.1743093580007553, -0.13964703679084778, 0.07588227093219757, 0.10216070711612701, 0.18701691925525665, -0.2843691408634186, 0.32428842782974243, -0.24848370254039764, -0.4251631200313568, 0.3778339624404907, 0.5756784081459045, 0.16213564574718475, -0.08877544105052948, -0.4891672432422638, 0.17584429681301117, -0.47136181592941284, -0.3116442859172821, 0.4825056195259094, 0.1762111783027649, 0.2656092643737793, 0.9971985220909119, 0.6444242000579834, 0.23960226774215698, 0.283364862203598, 0.16662514209747314, 0.5922596454620361, -0.5826653838157654, -0.5734976530075073, -0.7513654828071594, 0.24657535552978516, -0.09568287432193756, -0.26416078209877014, 0.7836555242538452, 0.7116845846176147, 0.9448689222335815, -0.02178201824426651, 0.7061177492141724, 0.08819787204265594, 0.3059242367744446, -0.33785244822502136, 0.7128223776817322, -0.7501790523529053, 0.044072240591049194, 0.06910789757966995, -0.847501277923584, -0.2960132956504822, 0.57353675365448, -0.10254120826721191, -0.05008254945278168, 0.9088677167892456, 0.7287454605102539, 0.04134954512119293, -0.10742092877626419, 0.34359413385391235, 0.23684293031692505, 0.6500924825668335, 0.7349280714988708, 0.8632451891899109, -0.48570144176483154, 0.6386424899101257, -0.23955920338630676, -0.03445673733949661, -0.4325839579105377, -0.8986642956733704, -0.8169971108436584, -0.12854057550430298, -0.36111101508140564, -0.24965159595012665, -0.019833644852042198, 0.8725280165672302, 1.0989580154418945, -0.6515207290649414, -0.5332025289535522, -0.3651677370071411, 0.07161667197942734, -0.23187090456485748, -0.1334880143404007, 0.49396228790283203, -0.33246272802352905, -0.9372215270996094, 0.25986337661743164, 0.01576557382941246, 0.12164366245269775, -0.5128516554832458, -0.2867116332054138, 0.09978154301643372, -0.3990086615085602, 0.5483009815216064, 0.2810373306274414, -0.3329170346260071, -0.040570344775915146, 0.07665172964334488, -0.5179057717323303, 0.3033759593963623, 0.5603228807449341, -0.7157317996025085, -0.2301255166530609, 0.3280903995037079, 1.0815675258636475, 0.712062418460846, -0.056416600942611694, 0.2856918275356293, -0.27393320202827454, 0.35189372301101685, 0.3486596643924713, 0.37045177817344666, 0.24060174822807312, -0.025285029783844948, 0.30420348048210144, -0.09998757392168045, -0.73744136095047, -0.9281724095344543, 0.2070128470659256, -1.0843435525894165, -0.01798105239868164, 1.1527262926101685, -0.20404760539531708, -0.5071485638618469, 0.23476511240005493, 0.00580032030120492, 0.3505098521709442, -0.2784777581691742, 0.7438911199569702, 0.5117549896240234, 0.08972910791635513, -0.06702453643083572, -0.6045665740966797, 0.3357059359550476, 0.7762191891670227, -1.2849864959716797, 0.06957584619522095, 0.4077857434749603, -0.031100010499358177, -0.038982465863227844, 0.36054566502571106, 0.1486053466796875, 0.11884285509586334, 0.18291868269443512, 0.5233938694000244, -0.1730407476425171, -0.7080259323120117, -0.029777852818369865, 0.21862170100212097, 0.19777722656726837, -0.16802504658699036 ]
http://arxiv.org/abs/2404.10579v1
http://arxiv.org/pdf/2404.10579v1
The application of Augmented Reality (AR) in Remote Work and Education
2024-04-16T14:04:46
2024-04-16T14:04:46
Keqin Li, Peng Xirui, Jintong Song, Bo Hong, Jin Wang
cs.AI
cs.AI, cs.CL
With the rapid advancement of technology, Augmented Reality (AR) technology, known for its ability to deeply integrate virtual information with the real world, is gradually transforming traditional work modes and teaching methods. Particularly in the realms of remote work and online education, AR technology demonstrates a broad spectrum of application prospects. This paper delves into the application potential and actual effects of AR technology in remote work and education. Through a systematic literature review, this study outlines the key features, advantages, and challenges of AR technology. Based on theoretical analysis, it discusses the scientific basis and technical support that AR technology provides for enhancing remote work efficiency and promoting innovation in educational teaching models. Additionally, by designing an empirical research plan and analyzing experimental data, this article reveals the specific performance and influencing factors of AR technology in practical applications. Finally, based on the results of the experiments, this research summarizes the application value of AR technology in remote work and education, looks forward to its future development trends, and proposes forward-looking research directions and strategic suggestions, offering empirical foundation and theoretical guidance for further promoting the in-depth application of AR technology in related fields.
[ -0.6225576400756836, -0.8235533237457275, 0.21041546761989594, -0.30649900436401367, -0.35461002588272095, 0.36773186922073364, 0.3275863528251648, -0.8400994539260864, 0.4194760024547577, 0.2704940736293793, -0.1395900398492813, -0.06039714068174362, -0.6528168320655823, 0.2655598223209381, -0.6269066333770752, 0.30134648084640503, -0.6244412660598755, -0.03837471455335617, 0.02124667912721634, -0.03525741770863533, -0.6464383006095886, -0.4160383939743042, -0.2573726773262024, 0.27928832173347473, 0.4164697229862213, 0.5916337370872498, 0.40158629417419434, 0.4017505943775177, 1.0822522640228271, 0.3378664255142212, 0.2535383701324463, 0.13337330520153046, 0.15673916041851044, -0.07127697765827179, -0.12216299772262573, -0.4694444239139557, -0.26056334376335144, -0.003509339177981019, 0.9692810773849487, 0.5888056755065918, -0.016318753361701965, 0.2234230935573578, -0.040195733308792114, 0.7241933345794678, -0.5123670101165771, -0.537003755569458, 0.20819690823554993, 0.38060620427131653, 0.0932568609714508, -0.1642099916934967, 0.3394830822944641, -0.49129194021224976, 0.340430349111557, -0.42944493889808655, 0.2433292716741562, 0.58807373046875, 0.775704026222229, -0.06801395863294601, -0.48734623193740845, -0.027890361845493317, -1.1495945453643799, 0.3846011459827423, -0.5067707300186157, 0.6843101382255554, 0.12569326162338257, 0.5719891786575317, -0.06752609461545944, -0.3749583959579468, -0.5345324873924255, -0.22035016119480133, 0.3749598264694214, -0.10193757712841034, 0.3045995235443115, 0.11813131719827652, 0.12431023269891739, 0.726343035697937, -0.22057053446769714, -0.22569021582603455, -0.8306859135627747, 0.38635343313217163, 0.007229146081954241, -0.19797301292419434, 0.5079560875892639, 0.33168280124664307, -0.501458466053009, -0.2913689613342285, -0.267703115940094, 0.19784732162952423, 0.2712480425834656, 0.18296155333518982, -0.05244942009449005, 0.9884053468704224, -0.3967442810535431, 0.8912941813468933, -0.2730315923690796, -0.40354007482528687, -0.13619275391101837, -0.30416861176490784, -0.30376338958740234, -0.04483094438910484, 0.09996586292982101, 0.2078595906496048, -0.4876687824726105, 0.08695496618747711, -0.0727841854095459, -0.15727975964546204, 0.21531252562999725, -0.351696640253067, 0.33111169934272766, -0.007276393938809633, -0.48352381587028503, -0.19237445294857025, -0.03274763002991676, -0.8094103932380676, -0.5074983239173889, -0.4193262457847595, 0.4328508973121643, -0.21067647635936737, -1.1120892763137817, -0.03895829990506172, -0.18565340340137482, -0.2974681556224823, 0.6109945774078369, -0.4678909182548523, 0.3877433240413666, 0.5176605582237244, 1.238791584968567, -0.14144207537174225, -0.2816728949546814, -0.2700332701206207, -0.07636025547981262, -0.35235634446144104, 0.8454318642616272, -0.42646199464797974, -0.3961183726787567, 0.3864673376083374, -0.23182347416877747, 0.03755810856819153, -0.5250791311264038, 0.17936907708644867, -0.7299705743789673, 0.09343542158603668, -0.25015854835510254, -0.06575867533683777, -0.40052035450935364, 0.8399285674095154, -0.7298248410224915, 0.625300407409668, 0.12624405324459076, -0.3959638476371765, 0.7197527885437012, -0.9682871699333191, -0.380407452583313, 0.039087630808353424, 0.17009936273097992, -0.3642699420452118, 0.07919637858867645, -0.17315059900283813, 0.16213762760162354, -0.04658651724457741, -0.14680936932563782, 0.2636479139328003, -0.7158345580101013, 0.11405903100967407, 0.12411192059516907, 0.27117300033569336, 0.29217854142189026, -0.4876311719417572, -0.16311334073543549, -0.3446989357471466, -0.46396952867507935, -0.35898053646087646, -0.11667432636022568, -0.5402731895446777, 0.016310498118400574, -0.39633604884147644, 0.32621288299560547, -0.02555474080145359, -0.5755888223648071, 0.12105283886194229, -0.2516617476940155, -0.15622034668922424, 0.08702199161052704, -0.024803532287478447, 0.745776355266571, -0.34366002678871155, 0.9086964726448059, -0.23111040890216827, 0.3964044749736786, 0.16260135173797607, -0.3372807204723358, -0.2096284031867981, -0.41935989260673523, 0.4973970353603363, 0.5989565849304199, -0.9571748971939087, -0.02877337671816349, 0.1404872089624405, -0.18983052670955658, -0.487129271030426, -0.17583253979682922, 0.23350577056407928, 0.738690197467804, 0.06223979592323303, -0.339742511510849, -0.7414724826812744, -0.4074927270412445, -0.48787811398506165, 0.17380058765411377, 0.10960476100444794, 0.0036062051076442003, 0.3356885313987732, -0.04749065637588501, 0.7841296792030334, 0.21181125938892365, -0.6387664675712585, -0.0482085682451725, -0.04278988018631935, 0.016111811622977257, 0.41164863109588623, 0.25499558448791504, -1.1186052560806274, -0.23397476971149445, 0.14227767288684845, -0.8345454335212708, 0.6115311980247498, -0.11396902799606323, -0.3841893672943115, 0.09610486030578613, -0.15520034730434418, -0.29145362973213196, 0.7981038093566895, 0.2789633572101593, -0.33287712931632996, 0.41876906156539917, 0.0493774339556694, 1.1054201126098633, -0.4729587137699127, 0.05276121944189072, 0.15627241134643555, 0.018468672409653664, -0.23586410284042358, 0.15613538026809692, -0.40852612257003784, -0.4916079044342041, -0.559978187084198, 0.4020114243030548, -0.45612865686416626, -0.18958669900894165, -0.4939410984516144, 0.508412778377533, 0.0916166827082634, -0.07463967055082321, 0.1622948795557022, 0.7047011852264404, 0.5431922674179077, -0.7848040461540222, 0.6703538298606873, 0.1519177109003067, -0.37642407417297363, 0.3469223380088806, -0.24917905032634735, -0.3071146607398987, 0.40121030807495117, 0.11527984589338303, -0.5827382206916809, -0.016839591786265373, 0.6020922064781189, -0.39621874690055847, 0.2718314230442047, 0.18868325650691986, -0.6091846227645874, -0.4586222171783447, -0.5139561295509338, 0.28648144006729126, 0.3751131594181061, -0.4391511380672455, 0.8854925036430359, 0.25190868973731995, 0.24858933687210083, -0.7591628432273865, -0.607995867729187, 0.19870761036872864, -0.28578609228134155, -0.4691290855407715, 0.06632014364004135, 0.4683992266654968, -0.7482013702392578, 0.2830826938152313, -0.3942004442214966, 0.10792595893144608, -0.0626622661948204, 0.22163239121437073, 0.502733588218689, -0.019947730004787445, -0.17097283899784088, 0.07892143726348877, 0.03964149206876755, -0.02070668153464794, 0.062144890427589417, -0.11032914370298386, -0.21382850408554077, -0.47813090682029724, -0.5822997689247131, 0.5186217427253723, 0.0935528501868248, 0.14376938343048096, 1.0732852220535278, 0.41183680295944214, -0.41627833247184753, 0.13937802612781525, -0.7404584288597107, -0.28116676211357117, -0.44996702671051025, 0.24855083227157593, -0.019559402018785477, -0.5252411365509033, 0.32701539993286133, -0.9667120575904846, 0.13386641442775726, 0.011628430336713791, 0.09667553752660751, 0.0485101044178009, 0.6999368071556091, 0.7857428193092346, 0.5926182270050049, 1.0666804313659668, -0.6539880037307739, 0.5940125584602356, -1.0598827600479126, -0.5759040713310242, -0.07966551929712296, -0.3368150293827057, 0.07803934067487717, -0.030325593426823616, 0.4384342432022095, 0.2594689130783081, -0.22592678666114807, 0.06170722469687462, -0.9864938259124756, 0.14838461577892303, 0.654904305934906, 0.3598538935184479, 0.27035820484161377, 0.2343018651008606, 0.2468464970588684, 0.018487336114048958, -0.4563082158565521, -0.7577766180038452, 0.8839753866195679, 0.31689274311065674, 0.22353850305080414, 0.021878177300095558, 0.3326082229614258, 0.7840040922164917, 0.09017021209001541, -0.2654958665370941, 0.34217390418052673, 0.3793696463108063, -0.9060356616973877, -0.40329718589782715, 0.160166397690773, -0.4992360770702362, 0.250769704580307, -0.273125559091568, -0.2831977605819702, 0.45221611857414246, 0.3216082751750946, -0.4859054386615753, 0.8865757584571838, -1.286353349685669, 0.42259684205055237, -0.2858242094516754, -0.8411219716072083, -0.2643521726131439, -0.48534122109413147, 0.5356773138046265, 0.08494864404201508, 0.7181719541549683, 0.10079839825630188, -0.020428303629159927, 1.1326924562454224, -0.3671848475933075, 0.666743278503418, -0.44623422622680664, -0.07330655306577682, 0.8649080395698547, 0.22110117971897125, 0.4117601215839386, 0.20194673538208008, -0.2587178647518158, 0.17156393826007843, 0.12449811398983002, -0.23126311600208282, -0.43887603282928467, 0.8664690256118774, -0.748070240020752, -0.5173982381820679, -0.9475461840629578, -0.2527569532394409, -0.17287421226501465, 0.3889032304286957, -0.10701946914196014, 0.5243594646453857, 0.30435800552368164, -0.5746005177497864, 0.5893738865852356, -0.019587477669119835, 0.21551518142223358, -0.019053155556321144, -0.5922513008117676, -0.31899988651275635, 1.0486009120941162, 0.300146222114563, 0.21125993132591248, 0.4106608033180237, -0.07180221378803253, -0.035573773086071014, -0.41459164023399353, -0.5254333019256592, 0.14263591170310974, -0.522927463054657, -0.26687854528427124, -0.12961791455745697, 0.25143736600875854, -0.16273143887519836, -0.7598304152488708, -0.23298379778862, -0.21815870702266693, -0.358489990234375, -0.08126259595155716, 0.5619298219680786, 0.7403215169906616, -0.4703109562397003, 0.04081600904464722, -0.4656055271625519, 0.6723470091819763, 0.6766857504844666, 0.7809782028198242, 0.15087871253490448, -0.12919838726520538, -0.4288514256477356, 0.5384066104888916, -0.1906205713748932, -0.09368074685335159, 0.23667268455028534, 0.050290297716856, 0.18949736654758453, 0.27242839336395264, 0.019835306331515312, 0.44199034571647644, -0.17990632355213165, 1.0151393413543701, 0.28356635570526123, -0.3826677203178406, 0.4500274658203125, -0.08335228264331818, -0.30491310358047485, 0.45969638228416443, 0.27455443143844604, -0.13869044184684753, 0.30412983894348145, -0.5209872126579285, -0.7840876579284668, 0.5946604013442993, -0.018113214522600174, 0.0006904204492457211, 0.5326098203659058, 0.18735858798027039, 0.42057907581329346, 0.5504601001739502, -0.28283560276031494, -0.3153626620769501, -0.4832766652107239, 0.6498117446899414, 0.541042149066925, -0.2794218361377716, -0.3952014148235321, -0.32065218687057495, 0.5941839218139648, 0.6582229137420654, 0.8497866988182068, 0.2707765996456146, 0.3353458642959595, -0.5065591335296631, 0.070757195353508, 0.8004884123802185, 0.9361081719398499, -0.4757594168186188, 0.2564007639884949, 0.41206541657447815, -0.6373456120491028, -0.1519022434949875, -0.11038806289434433, 0.40667253732681274, 0.041697051376104355, 0.3603154420852661, 0.2743116617202759, -0.24064119160175323, -0.8387702703475952, 0.38503602147102356, 0.27272287011146545, -0.24296830594539642, -0.6946699023246765, 0.03676733747124672, -0.3270518183708191, 0.5950238108634949, 0.9742040634155273, 0.5127642750740051, 0.3866955637931824, -0.6133699417114258, -0.09215795993804932, 0.17120368778705597, -0.19418606162071228, -0.07143158465623856, 0.8112009763717651, 0.18448832631111145, -0.9411871433258057, 0.1531589776277542, -0.1985006481409073, -0.3039027452468872, 0.666979193687439, 0.5109636187553406, 0.4427548944950104, -0.06815878301858902, 0.13878686726093292, 0.03001246601343155, 0.1658385992050171, -0.2422482967376709, 0.5452700257301331, -0.26497381925582886, -0.10170433670282364, -0.5296667814254761, -0.05380724370479584, -0.7523877620697021, -0.49921897053718567, -0.3322526514530182, 0.2864891290664673, -0.35670205950737, 0.010264604352414608, -0.6135528087615967, -0.0898170992732048, -0.452551007270813, 0.44911736249923706, 0.147008016705513, 0.5909934043884277, -0.41090184450149536, 0.23325496912002563, 0.9641198515892029, -0.19270993769168854, -0.4424365162849426, -0.2936720848083496, -0.2680028975009918, -0.5120686888694763, 0.909305214881897, -0.33253610134124756, -0.7466443777084351, -0.06503109633922577, -0.6260614395141602, -0.8782772421836853, 0.9718511700630188, -0.02749486267566681, -0.6131709218025208, -0.1278948336839676, 0.0029843230731785297, 0.45931193232536316, -0.2898496687412262, 0.2777039408683777, 0.06291739642620087, 0.4574320912361145, 0.21058091521263123, -0.7718551158905029, -0.23993326723575592, -0.3157191574573517, 0.13533027470111847, 0.11318080872297287, -0.3457379937171936, 0.30167537927627563, -0.10125770419836044, -0.06991738080978394, -0.5245700478553772, 0.6885055303573608, 0.302610844373703, 0.7364785671234131, 0.06616110354661942, 0.0126634007319808, -0.00171106425113976, 0.25668439269065857, 0.9550808072090149, -0.02554495632648468, 0.03048386238515377, 0.01906009018421173, 0.016138693317770958, 0.5828940868377686, 0.32021602988243103, -0.24600756168365479, 0.6612310409545898, 0.5579021573066711, 0.2070121467113495, 0.6975417137145996, -0.09756065905094147, -0.8079448938369751, 0.2848298251628876, -0.5912072062492371, -0.9608340263366699, -0.18685795366764069, 0.3906499147415161, -0.05848310887813568, 0.15427161753177643, 0.9827746748924255, -0.10195578634738922, 0.18463478982448578, -0.6117531061172485, 0.10754965990781784, 0.02839307114481926, -0.20743665099143982, 0.4334726929664612, -0.10258190333843231, 0.7940119504928589, -0.31333744525909424, -0.9031223058700562, 0.28821417689323425, -0.007226769812405109, -0.5275101065635681, -0.4144129753112793, 0.35805556178092957, -0.22088442742824554, 0.238209068775177, -0.35588714480400085, 0.8667033314704895, 0.2384183555841446, -0.30115094780921936, -0.15379898250102997, 0.122954361140728, -0.059025298804044724, 0.04261252284049988, -0.15427254140377045, 0.10461404174566269, -0.29179647564888, -0.05895581841468811, 0.6493326425552368, 0.6576904058456421, 0.37426644563674927, 0.5306403636932373, 0.30471271276474, 0.16099976003170013, 0.10387320071458817, -0.628589391708374, 0.8228501081466675, -0.39572200179100037, -0.25009846687316895, -0.23264718055725098, 0.7095813751220703, -0.18729177117347717, -0.5410581827163696, 0.8211752772331238, 0.5532378554344177, 0.7486929893493652, -0.10170041769742966, 0.6985171437263489, -0.5840962529182434, 0.8437082767486572, 0.061475783586502075, 0.23272152245044708, -0.380271852016449, 0.2438497096300125, -0.6271405816078186, -0.7290962934494019, -0.6552607417106628, 0.7439332008361816, -0.6524282693862915, 0.09297171980142593, 0.7942391633987427, -0.10465913265943527, 0.08461955189704895, 0.01445510983467102, 0.3587121069431305, -0.8204807043075562, -0.15787501633167267, -0.3095605969429016, 0.6393257975578308, -0.835078239440918, 0.3166983723640442, -0.9221915602684021, -0.5769460201263428, -0.6781604290008545, -0.5859003067016602, -0.8536297678947449, -0.8193256855010986, -0.5192948579788208, -0.3537845015525818, 0.28741830587387085, 0.6688023209571838, 0.5442895293235779, -0.503836452960968, -0.1489104926586151, -0.0754351019859314, 0.2766255736351013, -1.018178939819336, -0.22650280594825745, 0.6387488842010498, 0.4806591868400574, -0.4438419044017792, 0.2685855031013489, 0.025741096585989, -0.09838155657052994, -0.1856084018945694, 0.18557387590408325, -0.8285925388336182, -0.491036981344223, 0.7587048411369324, 0.9884340763092041, -0.4050731956958771, -0.29295891523361206, 0.26188963651657104, 0.2842785120010376, -0.18758969008922577, 0.5551913976669312, -1.022841215133667, 0.7378427982330322, 0.16192644834518433, 0.3459722697734833, -0.029641855508089066, 0.3554641008377075, 0.22693820297718048, -0.12160205096006393, 0.016782231628894806, 0.48900383710861206, -0.11089714616537094, 0.18222521245479584, -0.6607241630554199, 0.4872013032436371, 0.20490463078022003, -0.7371355295181274, -1.0834052562713623, -0.19788697361946106, -0.5716943740844727, 0.013295121490955353, 0.9148396253585815, 0.19482818245887756, -0.18405979871749878, -0.3662554621696472, -0.5423449873924255, 0.5359108448028564, -0.28386539220809937, 1.1246205568313599, 0.2383504956960678, -0.5538985729217529, -0.32856661081314087, -0.941923201084137, 0.2640695869922638, 0.127016082406044, -0.37988343834877014, -0.6955426931381226, 0.050924383103847504, -0.1664804369211197, 0.3522564172744751, -0.041420482099056244, 0.0884193703532219, 0.29032620787620544, 0.5588456392288208, 0.29939281940460205, -0.6721289157867432, -0.1509612649679184, -0.12598378956317902, 0.4098733067512512, 0.353292316198349, -0.7212756872177124 ]
http://arxiv.org/abs/2404.10555v1
http://arxiv.org/pdf/2404.10555v1
Construction of Domain-specified Japanese Large Language Model for Finance through Continual Pre-training
2024-04-16T13:26:32
2024-04-16T13:26:32
Masanori Hirano, Kentaro Imajo
cs.CL
cs.CL, q-fin.CP
Large language models (LLMs) are now widely used in various fields, including finance. However, Japanese financial-specific LLMs have not been proposed yet. Hence, this study aims to construct a Japanese financial-specific LLM through continual pre-training. Before tuning, we constructed Japanese financial-focused datasets for continual pre-training. As a base model, we employed a Japanese LLM that achieved state-of-the-art performance on Japanese financial benchmarks among the 10-billion-class parameter models. After continual pre-training using the datasets and the base model, the tuned model performed better than the original model on the Japanese financial benchmarks. Moreover, the outputs comparison results reveal that the tuned model's outputs tend to be better than the original model's outputs in terms of the quality and length of the answers. These findings indicate that domain-specific continual pre-training is also effective for LLMs. The tuned model is publicly available on Hugging Face.
[ -0.37154608964920044, -0.8658595085144043, 0.4003574252128601, 0.3032987415790558, -0.5604733228683472, 0.24010150134563446, -0.5009898543357849, -0.48983725905418396, 0.15957646071910858, 0.8941815495491028, -0.5808863043785095, -0.5376840829849243, -0.6265541315078735, 0.06808428466320038, -0.13146042823791504, 0.9732792973518372, -0.1582982987165451, 0.041137296706438065, -0.022183621302247047, 0.20970267057418823, -0.4118713140487671, -0.503654956817627, -0.9964130520820618, -0.32123860716819763, 0.3978894352912903, 0.08895407617092133, 0.7114770412445068, 0.5303506851196289, 0.5925993323326111, 0.3044510781764984, 0.341808557510376, -0.06045908480882645, -0.518497109413147, -0.1769673228263855, 0.01069734524935484, -0.5043851137161255, -0.6859695911407471, 0.3418658375740051, 0.8073137998580933, 0.7506725192070007, -0.31972944736480713, 0.019734738394618034, 0.14898066222667694, 0.5843799710273743, -0.4664565920829773, 0.3844822943210602, -0.5196776986122131, -0.12622655928134918, -0.5473322868347168, -0.24671101570129395, -0.47314178943634033, -0.31683430075645447, 0.20450973510742188, -0.9388306140899658, -0.12244834005832672, 0.09838224947452545, 1.0801515579223633, 0.10756883025169373, -0.32974663376808167, -0.18118040263652802, -0.508025050163269, 0.5645961165428162, -0.8489212989807129, 0.48028865456581116, 0.544767439365387, 0.25728198885917664, -0.20545516908168793, -0.7828439474105835, -0.20515526831150055, -0.48512816429138184, 0.004466896876692772, 0.18551750481128693, 0.26936256885528564, -0.03906480595469475, 0.2625603973865509, 0.28165102005004883, -0.395521342754364, 0.32079067826271057, 0.012968902476131916, -0.1559746265411377, 0.7173091769218445, 0.1365177184343338, -0.08008074015378952, 0.2072022408246994, -0.3246074914932251, -0.15464694797992706, -0.9428688883781433, -0.29505160450935364, 0.5648742914199829, 0.5125769972801208, -0.22350217401981354, 0.19295009970664978, -0.17301835119724274, 0.5821177363395691, 0.1361626386642456, -0.7529546618461609, 0.036491721868515015, -0.15851888060569763, -0.19231460988521576, -0.06319699436426163, 0.6476103067398071, 0.010516166687011719, 0.821529746055603, -0.10166138410568237, -0.4259323179721832, -0.15898241102695465, 0.36587634682655334, -0.6984876990318298, -0.0864182710647583, -0.17468230426311493, -0.41463831067085266, -0.23617036640644073, -0.13540633022785187, -0.4974857568740845, 0.2453310489654541, -0.6246269941329956, 0.4545908272266388, -0.21217717230319977, -0.3274071216583252, 0.27182745933532715, 0.13885055482387543, 0.3477616310119629, -0.010181782767176628, -0.7044267058372498, 0.38625597953796387, 0.5887669920921326, 0.6704036593437195, -0.09180091321468353, -0.2528744637966156, -0.43818578124046326, 0.5120291709899902, -0.49143585562705994, 0.5567352175712585, -0.7196251749992371, -0.7637367844581604, 0.101788729429245, -0.016567954793572426, -0.06286348402500153, -0.5494645833969116, 0.08422460407018661, -0.697731614112854, 0.07106903940439224, 0.014560103416442871, -0.7537482380867004, 0.24101151525974274, 0.2185431271791458, -0.2446858435869217, 0.6014952063560486, 0.2526407539844513, -0.528476357460022, 0.5185909867286682, -0.646345317363739, -0.5954373478889465, 0.5331117510795593, -0.06595861911773682, -0.7150289416313171, -0.14562846720218658, 0.012206808663904667, 0.5864223837852478, -0.32802796363830566, 0.6286202669143677, -0.6092321872711182, -0.36664098501205444, 0.47826525568962097, -0.45542699098587036, 0.1568240076303482, -0.04164835065603256, -0.26319077610969543, -0.18960900604724884, -0.8454126715660095, -0.17904804646968842, 0.386656254529953, -0.030177105218172073, -0.6755862832069397, -0.08719534426927567, 0.021971506997942924, -0.21999940276145935, 0.7064836025238037, -0.3272503614425659, 0.294405072927475, -0.6135055422782898, 0.2913641929626465, 0.9152531623840332, 0.08874936401844025, 0.08608425408601761, -0.3325817584991455, 0.7167654633522034, -0.10286899656057358, 0.22952331602573395, -0.32120466232299805, -0.12305139750242233, -0.5045350790023804, -0.3194047510623932, 0.27173781394958496, 0.27693498134613037, -0.3825376331806183, 0.3754774332046509, -0.08947985619306564, -0.4096643030643463, -0.0002982226142194122, 0.203367680311203, 0.3822977840900421, 0.5118734240531921, 0.05127539113163948, -0.24669137597084045, -0.4723398685455322, -0.9782925248146057, -0.10185293108224869, 0.07508686184883118, 0.13104276359081268, 0.31081682443618774, 0.48876041173934937, -0.156669482588768, 0.6194204688072205, -0.8351783752441406, -0.009223508648574352, -0.2622929513454437, 0.01152798067778349, 0.4424418807029724, 0.49813687801361084, 0.6685900688171387, -0.8211736679077148, -0.5561168193817139, 0.1432105004787445, -0.501562237739563, 0.2007494866847992, -0.32874056696891785, -0.32973966002464294, 0.014242714270949364, 0.5301613807678223, -0.42580607533454895, 0.28243717551231384, 0.24544748663902283, -0.26821258664131165, 0.671936571598053, -0.2793521583080292, 0.010724787600338459, -1.2536677122116089, 0.37552234530448914, 0.21884387731552124, -0.548746645450592, -0.3847156763076782, 0.08110011368989944, 0.02305913344025612, -0.258797824382782, 0.057779014110565186, 0.8165294528007507, -0.30379536747932434, -0.1393606811761856, -0.5866029262542725, 0.24311710894107819, -0.3206048309803009, 0.5127852559089661, 0.21699167788028717, 0.8539595007896423, 0.7254268527030945, -0.7920497059822083, 0.25397834181785583, 0.10410743951797485, -0.5729523301124573, 0.581641674041748, -0.7969581484794617, -0.06884230673313141, 0.1386633813381195, 0.14114101231098175, -0.758001983165741, -0.37710267305374146, 0.1936061531305313, 0.007337004411965609, 0.8198331594467163, -0.04921504855155945, -0.23948654532432556, -0.5163832306861877, 0.3513159453868866, 0.23453037440776825, 0.5966007709503174, -0.42756354808807373, 0.38540083169937134, 0.3032609522342682, -0.7586984634399414, -0.3769294321537018, -0.3029015064239502, -0.04569077864289284, -0.4330165982246399, -0.40002405643463135, 0.49082544445991516, -0.20021148025989532, -0.035680439323186874, -0.2738337814807892, -0.19304430484771729, 0.10056570172309875, 0.37455296516418457, 0.10561496019363403, 0.8051297068595886, -0.38898056745529175, -0.09896213561296463, -0.0744619369506836, -0.4088066816329956, 0.08848762512207031, -0.48590147495269775, 0.6321631073951721, 0.050804778933525085, -0.15394474565982819, -0.43159645795822144, 0.02199213020503521, 0.3751629889011383, -0.16952097415924072, 0.6993489861488342, 0.0018104055197909474, -0.08299144357442856, -0.1930077075958252, -0.6755272746086121, 0.0992610901594162, -0.5936445593833923, 0.30528393387794495, -0.6524315476417542, -1.2175917625427246, 0.6265228390693665, -0.40973252058029175, 0.11827623099088669, 0.5578249096870422, 0.5511471629142761, 0.054007548838853836, 0.8078290820121765, 1.0293304920196533, -0.36017781496047974, 0.6136490702629089, -0.003250955371186137, 0.05387219414114952, -0.404863566160202, -0.23483644425868988, -0.4445686340332031, -0.10574822127819061, -0.4642854630947113, -0.005610546562820673, 0.3109947144985199, 0.15226972103118896, -0.5333966612815857, 0.30788010358810425, 0.08044534176588058, 0.6181309819221497, 0.13811108469963074, -0.10240637511014938, 0.08695191144943237, -0.1726880520582199, -0.13608957827091217, 0.09996386617422104, -0.38208189606666565, -0.3077639639377594, 1.2395806312561035, 0.5505548715591431, 0.8422296643257141, -0.332906574010849, 0.6528058052062988, 0.039371833205223083, 0.7116084694862366, -0.42829573154449463, 0.362631618976593, -0.37683558464050293, -0.31143760681152344, -0.3351995348930359, -0.8461868166923523, -0.7176794409751892, -0.24898244440555573, 0.27764827013015747, -0.4338129162788391, -0.2777794301509857, 0.03739738091826439, -0.32528629899024963, -0.2008010745048523, -0.2058878242969513, 0.8555306196212769, -0.4127867817878723, -0.2872585356235504, -0.18620119988918304, -0.35421767830848694, 0.5792593955993652, -0.7055096626281738, 0.2667427659034729, -0.16532565653324127, -0.06574481725692749, 0.7879539728164673, -0.607477068901062, 0.8477000594139099, -0.27292945981025696, -0.4657437205314636, 0.0016112490557134151, -0.3493328392505646, 0.64300137758255, 0.4281424880027771, 0.19300901889801025, 0.10793669521808624, -0.14277388155460358, -0.5031787753105164, -0.4184139370918274, 0.7447282671928406, -0.8852981328964233, -0.7825252413749695, -0.09187006205320358, -0.3835946023464203, -0.7933527231216431, 0.2980937361717224, 0.1812230497598648, 0.4479162395000458, -0.24591577053070068, 0.24969631433486938, 0.48177871108055115, -0.11486182361841202, 0.29799675941467285, 0.8951722979545593, -0.4878990054130554, -0.43229782581329346, 0.6658999919891357, 0.015603609383106232, 0.20024488866329193, 0.27537801861763, 0.24001070857048035, -0.398671954870224, -0.23814521729946136, -0.16381528973579407, 0.5298978090286255, -0.28057941794395447, -0.23012077808380127, -0.18865573406219482, -0.4285432994365692, -0.4753482937812805, -0.362849622964859, -0.5979284048080444, 0.22257016599178314, -0.029945651069283485, -0.008766116574406624, 0.4360843300819397, 0.5380714535713196, 0.13222704827785492, 0.5119664072990417, -0.8094179034233093, 0.4590993821620941, 0.13947032392024994, 0.9084458947181702, 0.06059742718935013, -0.8555468916893005, -0.6514570116996765, 0.09704411029815674, 0.11225350201129913, -0.30926835536956787, 0.369998961687088, 0.18325962126255035, 0.7158092260360718, 0.7056788802146912, -0.2656324505805969, 1.0000874996185303, -0.2392904907464981, 0.3616735339164734, 0.29194146394729614, -0.8811550736427307, 0.6315919756889343, -0.4511292576789856, 0.46338629722595215, 0.5770567655563354, 0.7636560797691345, -0.409324586391449, -0.699514627456665, -0.4435955882072449, -0.764277458190918, 0.6002097129821777, -0.10798704624176025, 0.31618911027908325, -0.10793939232826233, 0.9666436910629272, 0.3640914261341095, 0.4161601662635803, -0.6463898420333862, -0.25484442710876465, -0.14995108544826508, 0.053672149777412415, -0.40542787313461304, -0.04063975438475609, 0.2552616596221924, -0.0658126249909401, 0.9132580161094666, -0.21614421904087067, -0.30265313386917114, -0.28907310962677, 0.18308383226394653, -0.09059339761734009, -0.18490265309810638, 0.3501947820186615, 0.6929523944854736, -0.11973554641008377, -0.46788981556892395, -0.0433032289147377, -0.542219340801239, 0.12126436084508896, 0.08556613326072693, -0.052824731916189194, -0.16261596977710724, 0.18088746070861816, 0.885410726070404, 0.632615864276886, -0.8456825017929077, 0.3851832449436188, -0.051276396960020065, -0.4635257124900818, -0.6723862886428833, 0.09463195502758026, 0.24879994988441467, 0.10775495320558548, 0.3016350567340851, -0.2035144865512848, -0.37825554609298706, -0.6322261691093445, 0.28367337584495544, 0.39434289932250977, -0.060557667165994644, -0.10965876281261444, 0.7444867491722107, 0.16612498462200165, 0.13225802779197693, 0.9108049273490906, 0.1214032843708992, -0.36020785570144653, 0.5706705451011658, 0.8442015647888184, 0.8126156330108643, -0.27244657278060913, 0.1494937539100647, 0.3939622938632965, -0.04146794229745865, -0.46066150069236755, 0.30908137559890747, -0.15271200239658356, -0.7451472878456116, -0.7012357115745544, -1.1155015230178833, -0.5096649527549744, 0.37436211109161377, -0.9347913861274719, 0.21409818530082703, -0.8027673959732056, -0.31563952565193176, -0.09144607931375504, 0.24269069731235504, -0.6665830612182617, 0.5303763151168823, 0.08762772381305695, 0.8866676092147827, -0.5197327136993408, 0.910060465335846, 0.42946332693099976, -0.36573535203933716, -0.7591444253921509, 0.0031919425819069147, -0.36309418082237244, -0.9240840077400208, 0.6180729269981384, 0.06756114214658737, -0.05505652353167534, 0.0035149026662111282, -0.6968474388122559, -1.2124652862548828, 0.8497392535209656, 0.4164566993713379, -1.2578141689300537, -0.048362500965595245, 0.22247159481048584, 0.4173651337623596, -0.527386486530304, -0.2668684422969818, 0.5981009602546692, 0.5885170698165894, 0.27330756187438965, -0.6972060203552246, -0.35633736848831177, -0.4388463497161865, 0.0990566611289978, 0.5085317492485046, -0.9276235699653625, 0.50628262758255, 0.19419215619564056, -0.029299961403012276, 0.2686081826686859, 0.7818129062652588, 0.38185498118400574, 0.28762415051460266, 0.32519587874412537, 0.474270761013031, 0.8327896595001221, -0.0864059180021286, 1.057234287261963, -0.8021186590194702, 0.14806315302848816, 1.1649973392486572, -0.6548721194267273, 0.9190937876701355, -0.02132783643901348, -0.3212791681289673, 0.48717591166496277, 0.626096785068512, -0.2744755446910858, 0.35547932982444763, 0.32627061009407043, -0.08338809758424759, -0.6757476329803467, 0.05860138684511185, -0.44001197814941406, 0.448742151260376, 0.2599739134311676, -0.07471034675836563, 0.339335560798645, 0.2856655418872833, 0.0032798859756439924, -0.07720215618610382, -0.5242995619773865, 0.7313028573989868, 0.5402045249938965, -0.6692277789115906, 0.18923009932041168, 0.16258741915225983, 0.8188574910163879, -1.3610923290252686, 0.6802694201469421, -0.5601945519447327, 0.0852774828672409, 0.3404926657676697, -0.35690343379974365, 0.38281604647636414, 0.30592986941337585, -0.1567210704088211, -0.33257630467414856, 0.5689476728439331, -0.37937211990356445, -0.6333425641059875, 0.12185248732566833, 0.1662416160106659, 0.09965214133262634, -0.013313143514096737, -0.385881245136261, -0.2092456966638565, -0.17883926630020142, -0.49068963527679443, 0.722352921962738, 0.29137369990348816, 0.14054416120052338, 0.634735107421875, 0.8880264163017273, 0.13312412798404694, -0.4317813217639923, 0.48696303367614746, 0.6592487096786499, -0.9032052755355835, -0.8034785389900208, -0.7298396229743958, 0.13567212224006653, 0.036529045552015305, -0.6434197425842285, 0.6209920644760132, 0.6444482207298279, 1.0362739562988281, -0.15249788761138916, 0.7195302248001099, 0.7195786833763123, 0.3307968080043793, -0.8691418766975403, 0.7443287968635559, -0.8525014519691467, 0.15743693709373474, -0.33295148611068726, -0.9705091118812561, -0.11266782879829407, 0.656207263469696, -0.39888516068458557, 0.33687102794647217, 0.29241347312927246, 0.6662647128105164, -0.021612312644720078, 0.07677777111530304, 0.5368872284889221, 0.28789660334587097, -0.09385422617197037, 0.4082934558391571, 0.6422868967056274, -0.0959298387169838, 0.2229459136724472, -0.05962776765227318, 0.15967142581939697, -0.12039127200841904, -0.795721173286438, -0.7633622884750366, -0.3029126226902008, -0.6813037395477295, 0.11957905441522598, -0.13436977565288544, 0.6471251249313354, 0.5670537352561951, -0.5081568956375122, -0.4469377100467682, 0.0773216262459755, -0.4479164779186249, 0.08655189722776413, -0.20854058861732483, 0.12251381576061249, -0.4445950984954834, -0.5512807965278625, 0.5506817698478699, 0.6972970366477966, 0.22933349013328552, -0.33864039182662964, -0.20613554120063782, 0.264028400182724, 0.3723148703575134, 0.36305323243141174, 0.049724727869033813, -0.32323092222213745, -0.17534340918064117, -0.11633998155593872, -0.13209503889083862, -0.05076265335083008, 0.82976233959198, -0.357785701751709, 0.08977183699607849, -0.10664992779493332, 0.6592130661010742, 0.7345227599143982, 0.10319026559591293, 0.9045257568359375, -0.6602808237075806, 0.1399996429681778, -0.08085929602384567, 0.47047895193099976, 0.0051536355167627335, -0.3778629004955292, 0.24556899070739746, 0.24434766173362732, -0.4381537139415741, -0.4109814167022705, 0.0336698442697525, -0.874887228012085, -0.43876755237579346, 0.8927516341209412, -0.32584428787231445, -0.25532376766204834, 0.03511493280529976, 0.08411308377981186, 0.1518174260854721, -0.1802332103252411, 0.4813757836818695, 0.7175233364105225, 0.41297316551208496, -0.06588614732027054, -0.23205512762069702, 0.3309919536113739, 0.3253789246082306, -0.7840710282325745, 0.06598769873380661, 0.2185095250606537, 0.5451746582984924, -0.1888817846775055, 0.7964450716972351, -0.10539019107818604, 0.28433898091316223, 0.1845342069864273, -0.22532938420772552, -0.0990479364991188, -0.42345744371414185, 0.061748381704092026, 0.379027396440506, 0.20385590195655823, 0.4206281900405884 ]
http://arxiv.org/abs/2404.10552v1
http://arxiv.org/pdf/2404.10552v1
Unveiling the Misuse Potential of Base Large Language Models via In-Context Learning
2024-04-16T13:22:54
2024-04-16T13:22:54
Xiao Wang, Tianze Chen, Xianjun Yang, Qi Zhang, Xun Zhao, Dahua Lin
cs.CL
cs.CL, cs.AI
The open-sourcing of large language models (LLMs) accelerates application development, innovation, and scientific progress. This includes both base models, which are pre-trained on extensive datasets without alignment, and aligned models, deliberately designed to align with ethical standards and human values. Contrary to the prevalent assumption that the inherent instruction-following limitations of base LLMs serve as a safeguard against misuse, our investigation exposes a critical oversight in this belief. By deploying carefully designed demonstrations, our research demonstrates that base LLMs could effectively interpret and execute malicious instructions. To systematically assess these risks, we introduce a novel set of risk evaluation metrics. Empirical results reveal that the outputs from base LLMs can exhibit risk levels on par with those of models fine-tuned for malicious purposes. This vulnerability, requiring neither specialized knowledge nor training, can be manipulated by almost anyone, highlighting the substantial risk and the critical need for immediate attention to the base LLMs' security protocols.
[ 0.041896846145391464, -0.6427439451217651, 0.48084473609924316, -0.1743396818637848, -0.023244962096214294, -0.08402511477470398, -0.30650222301483154, -0.5752155780792236, -0.46882134675979614, 0.9629353284835815, -0.3006846010684967, -0.44271060824394226, -0.7491937279701233, -0.27639394998550415, -0.41895994544029236, 1.0040438175201416, 0.124710813164711, 0.012683603912591934, -0.3230254650115967, 0.007212341297417879, -0.5532860159873962, -0.566131055355072, -0.33053135871887207, -0.204722598195076, 0.38396283984184265, 0.5586919188499451, 0.7334586977958679, 0.7202233076095581, 0.5656529664993286, 0.2055482715368271, 0.13330169022083282, -0.22764767706394196, -0.8292485475540161, 0.019052766263484955, -0.39216023683547974, -0.5864787697792053, -0.39514419436454773, 0.18022823333740234, 0.6105835437774658, 0.9851759672164917, -0.03604130446910858, 0.34551137685775757, 0.20374533534049988, 0.700035035610199, -0.8875417113304138, -0.09996835142374039, -0.9192222356796265, -0.22736383974552155, -0.33442968130111694, -0.3697078824043274, -0.876361072063446, -0.29707691073417664, 0.34564849734306335, -0.26086854934692383, -0.2977847456932068, -0.13288867473602295, 0.4272848069667816, 0.14744669198989868, -0.42177242040634155, -0.39519035816192627, -0.7690829634666443, 0.9090701341629028, -0.5246745347976685, 0.27794262766838074, 0.2418789565563202, 0.3682793080806732, -0.4583038091659546, -0.558700680732727, -0.1585157960653305, -0.4077847898006439, 0.056018806993961334, -0.3570233881473541, -0.3784777820110321, 0.06312896311283112, 0.4348854124546051, 0.17414169013500214, -0.39230942726135254, 0.3542967438697815, -0.5023794770240784, -0.10766469687223434, 0.3921973705291748, 0.13434521853923798, 0.6029840111732483, 0.1252526193857193, -0.43347814679145813, -0.13836154341697693, -1.4820464849472046, 0.0592484213411808, 0.4511169493198395, 0.4550144076347351, -0.218449667096138, 0.6053963899612427, 0.17238633334636688, 0.6125696897506714, -0.23057986795902252, 0.01142993476241827, 0.16420423984527588, 0.022162852808833122, -0.5826021432876587, 0.15098464488983154, 0.6319325566291809, 0.21616384387016296, 0.4907631278038025, -0.29958081245422363, 0.009442109614610672, -0.22172822058200836, 0.5615472197532654, -0.7948654294013977, 0.18618424236774445, 0.2116227000951767, -0.3826344907283783, -0.5232203006744385, 0.08902961015701294, -0.6614512801170349, -0.5685686469078064, -0.058455757796764374, 0.34057390689849854, -0.4492909014225006, -0.2908768355846405, 0.14475557208061218, 0.025235140696167946, 0.309823215007782, 0.08857220411300659, -0.6896162629127502, 0.2743719816207886, 0.7339917421340942, 0.6354522109031677, -0.09129595756530762, -0.3202289640903473, -0.5313462018966675, 0.3262845575809479, -0.5249111652374268, 0.14781895279884338, -0.514846920967102, -0.6109087467193604, 0.004947782028466463, -0.09547396749258041, 0.18647536635398865, -0.5831673741340637, 0.3856239318847656, -0.6149035096168518, -0.06371341645717621, -0.2152053266763687, -0.28074848651885986, -0.20743125677108765, 0.04577978327870369, -0.5458608865737915, 0.7128063440322876, 0.17545846104621887, -0.7169050574302673, 0.2022222876548767, -0.6394379138946533, -0.3968040943145752, 0.07841366529464722, -0.1447565257549286, -0.15371787548065186, 0.29011398553848267, -0.1369991898536682, 0.529175877571106, -0.24854755401611328, 0.161361426115036, -0.3339990973472595, -0.37440189719200134, 0.35139280557632446, -0.7698507905006409, 1.0814353227615356, 0.16264165937900543, -0.5382216572761536, 0.07436636835336685, -0.6669909954071045, -0.06096838414669037, 0.24869082868099213, -0.28764641284942627, -0.7660699486732483, 0.012484594248235226, -0.49737802147865295, 0.2045476734638214, 0.25290805101394653, -0.35712629556655884, -0.03301495686173439, -0.6341094970703125, 0.25849899649620056, 0.8874855041503906, -0.01753220707178116, 0.8127641081809998, -0.12245531380176544, 0.3975287973880768, -0.1741432547569275, 0.33204689621925354, -0.3818778395652771, -0.2294016182422638, -0.4231421649456024, -0.17222701013088226, -0.03713149204850197, 0.5781672596931458, -0.23149125277996063, 0.22268936038017273, -0.37252095341682434, -0.5610520839691162, -0.27433741092681885, 0.23422883450984955, 0.6098738312721252, 0.5079725384712219, 0.22404323518276215, -0.10186409950256348, -0.45311811566352844, -0.8602638840675354, -0.47680237889289856, -0.10776261240243912, 0.027599195018410683, 0.3413732349872589, 0.4761213958263397, -0.2711850702762604, 0.7114578485488892, -0.1466471403837204, 0.15055854618549347, -0.14506953954696655, -0.18279360234737396, 0.027916420251131058, 0.5637072920799255, 0.6052501797676086, -0.473484069108963, -0.3181867003440857, 0.037341490387916565, -0.9371625185012817, -0.10259649157524109, -0.02443896047770977, -0.31348130106925964, 0.017911601811647415, 0.7245773673057556, -0.5426992774009705, 0.40615540742874146, 0.5316209197044373, -0.05131130293011665, 0.6720868349075317, -0.12120696902275085, -0.09578189253807068, -0.9805504679679871, 0.11265584081411362, -0.15998929738998413, -0.0851268470287323, -0.8135382533073425, 0.35788074135780334, 0.3551948368549347, -0.1510668843984604, -0.7302737832069397, 0.459027498960495, -0.6227932572364807, 0.0036034579388797283, -0.27044564485549927, -0.09849835932254791, -0.1583290696144104, 0.02613384649157524, -0.27509811520576477, 0.7475382685661316, 0.662359893321991, -0.556012749671936, 0.053417038172483444, -0.1048932671546936, -0.5675814151763916, 0.24765798449516296, -0.48848533630371094, 0.2789364457130432, 0.06521652638912201, 0.11217177659273148, -0.6893585324287415, -0.2777528166770935, 0.37851205468177795, -0.31119510531425476, 0.5462793707847595, -0.2656741738319397, -0.3896835148334503, -0.06785587221384048, -0.27713191509246826, 0.261248916387558, 0.6123783588409424, -0.5427031517028809, 0.5685973167419434, 0.43588995933532715, -0.04334929585456848, -1.0534123182296753, -0.8321911692619324, 0.21526773273944855, -0.41565749049186707, -0.4845929443836212, 0.08269842714071274, 0.13444122672080994, -0.5888852477073669, -0.07065501809120178, -0.1796337366104126, 0.1934904158115387, 0.5680678486824036, 0.7021740078926086, 0.3028137683868408, -0.30701377987861633, -0.07161344587802887, 0.0034500062465667725, 0.010015163570642471, 0.5336209535598755, -0.2930293381214142, 0.38880693912506104, -0.10526388883590698, -0.7359558343887329, -0.2657874822616577, 0.4514267146587372, 0.7810148596763611, -0.05413184314966202, 0.8328326344490051, -0.14382489025592804, -0.541236937046051, -0.4189285337924957, -0.37992626428604126, -0.0591072142124176, -0.550024151802063, 0.4738631844520569, -0.13441097736358643, -0.815213143825531, 0.29262807965278625, -0.1820896714925766, 0.18918344378471375, 0.22393029928207397, 0.6164422035217285, -0.013036753050982952, 0.7705027461051941, 0.8104320168495178, -0.12673862278461456, 0.46934106945991516, -0.10632319003343582, 0.18180344998836517, -0.5999119877815247, -0.38716697692871094, -0.5302595496177673, 0.022203519940376282, -0.3823775053024292, -0.42137113213539124, 0.3172391951084137, 0.07359424233436584, -0.4368474781513214, 0.2384665608406067, -0.2301754206418991, 0.8376168608665466, 0.48859983682632446, -0.005241760518401861, 0.14444224536418915, 0.07646173983812332, -0.19286499917507172, 0.21231219172477722, -0.405656099319458, -0.9293195009231567, 1.5112099647521973, 0.6881518959999084, 1.142865538597107, 0.20861591398715973, 0.5805981159210205, 0.26198703050613403, 0.5402051210403442, -0.7066780924797058, 0.5088908672332764, 0.004219669848680496, -0.6551071405410767, -0.2330145537853241, -0.39435771107673645, -0.843454122543335, 0.10813229531049728, 0.1299312859773636, -0.8883336186408997, 0.056067053228616714, 0.2751481235027313, -0.24859683215618134, 0.3661046326160431, -0.9827921986579895, 0.8934814929962158, -0.5208988189697266, -0.336413711309433, -0.2167477011680603, -0.7853065729141235, 0.6166327595710754, -0.08232764899730682, 0.36174774169921875, 0.09575365483760834, 0.07262828946113586, 0.46157529950141907, -0.22920802235603333, 1.3005647659301758, -0.2229015976190567, -0.3581945598125458, 0.24385519325733185, 0.4312903881072998, 0.4921371042728424, -0.09266822785139084, 0.040958281606435776, 0.2961534261703491, -0.34345492720603943, -0.341840922832489, -0.4636293351650238, 0.8539245128631592, -0.7038413882255554, -0.8441298604011536, -0.3534579873085022, -0.464899480342865, -0.4026434123516083, 0.20679381489753723, 0.22319728136062622, 0.3609803020954132, -0.4301846921443939, 0.3889962434768677, 0.9084503650665283, -0.4876948595046997, 0.12298646569252014, 0.46900326013565063, -0.016380056738853455, -0.0035073095932602882, 0.78763747215271, -0.19250920414924622, 0.825378954410553, 0.2913954555988312, 0.32920992374420166, -0.07758091390132904, -0.7173697352409363, -0.4577467441558838, 0.1192326620221138, -0.9788104891777039, -0.19578252732753754, -0.4791666567325592, -0.2802823483943939, -0.2627696096897125, -0.32281798124313354, -0.35628172755241394, -0.08237988501787186, -0.40229567885398865, -0.2984503209590912, 0.07230141013860703, 0.6958943009376526, 0.04290563240647316, 0.3998321294784546, -0.857719898223877, -0.1712064892053604, 0.1315210908651352, 0.2946924865245819, 0.19962520897388458, -0.5957034826278687, -0.31439343094825745, 0.2194141149520874, -0.2938883900642395, -0.9750164747238159, 0.20182915031909943, 0.018143022432923317, 0.981115460395813, 0.6202465295791626, -0.13419581949710846, 0.3619077503681183, -0.6645367741584778, 0.730438768863678, 0.1620013415813446, -0.9702926874160767, 0.5334495306015015, -0.25779834389686584, -0.00022792375239077955, 0.3923284709453583, 0.6572796106338501, -0.346964031457901, -0.3607290983200073, -0.47628894448280334, -0.8193963170051575, 0.7341345548629761, -0.12659987807273865, 0.4925104081630707, 0.06299062818288803, 0.3137342035770416, 0.18681249022483826, 0.081349216401577, -0.6883525252342224, -0.1911979615688324, -0.06756329536437988, -0.061622556298971176, 0.09116676449775696, -0.4118250012397766, -0.4157119393348694, 0.03411649540066719, 0.5151440501213074, 0.06856220215559006, 0.07238234579563141, -0.2264929562807083, -0.5827378034591675, -0.24930621683597565, 0.399737149477005, 0.5738738179206848, 0.6343310475349426, -0.13371573388576508, 0.31405434012413025, 0.27670854330062866, -0.4933381676673889, 0.05682139843702316, -0.41430896520614624, 0.07558248937129974, -0.46845531463623047, 0.5609175562858582, 0.624627947807312, 0.3670855164527893, -1.034335970878601, 0.6101916432380676, 0.3106590807437897, 0.032681655138731, -0.29153895378112793, 0.236341655254364, 0.09650740027427673, 0.04287806525826454, 0.33852651715278625, 0.1754746288061142, 0.010152045637369156, -0.783384382724762, 0.2511717677116394, 0.5516858696937561, -0.41996148228645325, -0.30697324872016907, 0.30501285195350647, 0.05348750948905945, -0.14290915429592133, 0.40586698055267334, 0.22471323609352112, -0.4259580373764038, 0.5999548435211182, 0.7333220839500427, 0.7869102954864502, -0.44061633944511414, -0.017317602410912514, 0.053673096001148224, 0.8054443001747131, -0.06566579639911652, -0.014744033105671406, 0.1856575608253479, -0.7179814577102661, -0.32162055373191833, -0.40391960740089417, -0.5273405313491821, 0.48666056990623474, -0.6039039492607117, 0.25507280230522156, -0.6176860928535461, 0.21967461705207825, -0.2153981775045395, -0.506290853023529, -0.4913148581981659, -0.01774255931377411, 0.4097957909107208, 1.054746389389038, -0.936706006526947, 0.6802907586097717, 0.39316311478614807, -0.17519766092300415, -0.6807251572608948, 0.04965103417634964, 0.2176893949508667, -0.8925163745880127, 0.8221642971038818, 0.26908501982688904, -0.27593082189559937, -0.27946925163269043, -0.7442960143089294, -0.8226173520088196, 0.7808359861373901, 0.7590064406394958, -0.3410808742046356, -0.183216854929924, 0.40557944774627686, 0.3442623019218445, -0.5019760727882385, 0.06509186327457428, 0.5631369948387146, 0.1660005748271942, -0.14090798795223236, -0.7016831040382385, 0.20265749096870422, -0.04850153997540474, -0.16745147109031677, 0.16696520149707794, -0.20711670815944672, 0.8071019649505615, -0.39781054854393005, -0.32033082842826843, -0.269325852394104, 0.2980000972747803, 0.17770721018314362, 0.07935424894094467, 0.3256883919239044, 0.30747413635253906, 0.5822780132293701, 0.2052004486322403, 1.1411628723144531, -0.14594365656375885, -0.14907842874526978, 1.1617375612258911, -0.41318467259407043, 0.8409689664840698, 0.5357223153114319, 0.1822139024734497, 0.4684240520000458, 0.33668383955955505, 0.23048123717308044, 0.5464516878128052, 0.34664133191108704, -0.20451965928077698, -0.0788218080997467, 0.13204625248908997, -0.23115883767604828, 0.46370479464530945, 0.8763899207115173, -0.7000178694725037, -0.4079498052597046, 0.05974718555808067, 0.0912555679678917, 0.11490368843078613, -0.3527046740055084, 0.5875725150108337, 0.3194372057914734, -0.3544350266456604, 0.5960432887077332, 0.00980552937835455, 0.4878697097301483, -0.6832994818687439, -0.0017588370246812701, 0.26777538657188416, 0.11618445813655853, -0.1171569675207138, -0.7193160653114319, 0.40969017148017883, 0.332045316696167, 0.015523434616625309, -0.33599337935447693, 0.7435812950134277, 0.03987512364983559, -0.11588411033153534, 0.5982116460800171, 0.43603232502937317, 0.11264441907405853, -0.19088689982891083, -0.44257858395576477, 0.044970378279685974, -0.16534008085727692, -0.3748822808265686, 0.6403101682662964, 0.3869190514087677, -0.4014583230018616, 0.7896683812141418, 0.7537264823913574, 0.13256333768367767, 0.21490643918514252, -0.017735116183757782, 0.9332394599914551, -0.44864317774772644, -0.2146909087896347, -1.2757583856582642, 0.4363396167755127, -0.023837337270379066, -0.10510201007127762, 0.7102825045585632, 0.5266717076301575, 1.0608309507369995, -0.13893058896064758, 1.0606507062911987, 0.2500717341899872, 0.31339266896247864, -0.6127700209617615, 0.8787381052970886, -0.4087979793548584, 0.5278884172439575, -0.10929027944803238, -0.5104818344116211, -0.1858060657978058, 0.2767002582550049, -0.4420792758464813, -0.035180993378162384, 0.6435486078262329, 0.7872536182403564, -0.21214979887008667, -0.11770572513341904, 0.45262718200683594, 0.24536101520061493, 0.3608812391757965, 0.5777893662452698, 0.97477787733078, -0.06100849807262421, 0.5280835032463074, -0.1807703673839569, -0.4805614948272705, -0.36208000779151917, -1.148465871810913, -1.084221363067627, -0.2847680449485779, 0.07622884213924408, -0.48081067204475403, 0.07432404905557632, 1.017060399055481, 0.5522996187210083, -0.799151599407196, -0.39050498604774475, -0.001915055327117443, 0.02924777753651142, -0.11237634718418121, -0.1732819825410843, 0.1423974633216858, -0.17593476176261902, -0.4813721179962158, 0.6693917512893677, 0.2884296476840973, 0.10051727294921875, -0.3995424807071686, 0.04311994090676308, 0.10432551801204681, 0.21776965260505676, 0.5724309086799622, 0.3520973324775696, -0.6928755640983582, -0.36366164684295654, 0.01343814842402935, -0.4636150300502777, -0.14758053421974182, 0.8238433599472046, -0.41036802530288696, 0.22382980585098267, 0.4562045633792877, 0.9717380404472351, -0.15440259873867035, -0.2307737171649933, 0.805307924747467, -0.8013548254966736, 0.06706033647060394, 0.2538670003414154, 0.4122292697429657, 0.30232682824134827, -0.7244343757629395, 0.19190585613250732, 0.07420797646045685, -0.2942869961261749, -1.1191129684448242, 0.4428215026855469, -0.8891940116882324, -0.369453489780426, 1.2353647947311401, -0.2646075487136841, -0.4021393954753876, -0.02859189361333847, 0.014333630912005901, 0.14298324286937714, -0.24636748433113098, 0.5976963043212891, 0.6016088128089905, 0.288625031709671, 0.029949011281132698, -0.9345259666442871, 0.3985705077648163, 0.05501691624522209, -0.7965481281280518, 0.46393224596977234, 0.4129049479961395, 0.5869266390800476, 0.03309474512934685, 0.31917643547058105, -0.4794386327266693, 0.2851247787475586, -0.060746997594833374, 0.0935196802020073, -0.27847808599472046, -0.5407713651657104, -0.5915157794952393, 0.2829517424106598, 0.14415813982486725, -0.04978039115667343 ]
http://arxiv.org/abs/2404.10513v1
http://arxiv.org/pdf/2404.10513v1
CoTAR: Chain-of-Thought Attribution Reasoning with Multi-level Granularity
2024-04-16T12:37:10
2024-04-16T12:37:10
Moshe Berchansky, Daniel Fleischer, Moshe Wasserblat, Peter Izsak
cs.CL
cs.CL, cs.AI, cs.LG
State-of-the-art performance in QA tasks is currently achieved by systems employing Large Language Models (LLMs), however these models tend to hallucinate information in their responses. One approach focuses on enhancing the generation process by incorporating attribution from the given input to the output. However, the challenge of identifying appropriate attributions and verifying their accuracy against a source is a complex task that requires significant improvements in assessing such systems. We introduce an attribution-oriented Chain-of-Thought reasoning method to enhance the accuracy of attributions. This approach focuses the reasoning process on generating an attribution-centric output. Evaluations on two context-enhanced question-answering datasets using GPT-4 demonstrate improved accuracy and correctness of attributions. In addition, the combination of our method with finetuning enhances the response and attribution accuracy of two smaller LLMs, showing their potential to outperform GPT-4 in some cases.
[ -0.4396887719631195, -0.9788253903388977, 0.8965128064155579, 0.035990189760923386, -0.26266801357269287, 0.29508376121520996, -0.16982291638851166, -0.43380194902420044, 0.04297906905412674, 0.44064250588417053, -0.27394741773605347, -0.4464455246925354, -0.4014715254306793, -0.054235540330410004, -0.5713191032409668, 1.025426983833313, -0.18190421164035797, -0.2502722144126892, -0.3421454131603241, -0.014494093134999275, -0.3474924564361572, -0.7885300517082214, -0.9390088319778442, -0.46005213260650635, 0.7298845648765564, 0.4014146029949188, 0.6032669544219971, 0.4103398323059082, 0.36834716796875, 0.2582321763038635, -0.1849442720413208, 0.5311536192893982, -0.2626912593841553, 0.041735775768756866, -0.50222247838974, -0.47538459300994873, -0.8014662265777588, -0.35264235734939575, 0.4313133955001831, 0.20752699673175812, -0.23356753587722778, 0.40319061279296875, -0.020105822011828423, 0.654204785823822, -0.9754442572593689, -0.09902448207139969, -0.7987855672836304, -0.20128269493579865, 0.06974349170923233, -0.40713948011398315, -0.3400011956691742, -0.6716125011444092, -0.08538368344306946, -0.2761561870574951, -0.08978672325611115, -0.06771579384803772, 0.680480420589447, 0.1605876237154007, -0.5971319675445557, -0.598006546497345, -0.7662525773048401, 0.7641682028770447, -0.7397585511207581, 0.22319304943084717, 0.4875439405441284, 0.13352414965629578, 0.08222372829914093, -0.6111961603164673, -0.5482040643692017, 0.04349237680435181, 0.12177789211273193, 0.018969284370541573, 0.05312517657876015, -0.04511227831244469, -0.0077460468746721745, 0.5368776321411133, -0.22267630696296692, -0.3042273223400116, -0.11660768836736679, -0.0027482416480779648, 0.6254005432128906, 0.025014467537403107, -0.19252343475818634, -0.1916077733039856, -0.4824223518371582, -0.1789516657590866, -0.5009523630142212, 0.043707072734832764, 0.269634872674942, 0.17515793442726135, 0.38150620460510254, 0.4727277159690857, -0.18832340836524963, 0.5844648480415344, 0.333564430475235, -0.04947264865040779, 0.07981588691473007, -0.6115758419036865, -0.14954058825969696, 0.1613544225692749, 0.664342999458313, 0.12917910516262054, 0.12174561619758606, -0.1346069574356079, -0.36164090037345886, 0.060922905802726746, 0.5176951289176941, -0.46204522252082825, -0.05890696123242378, 0.5635870695114136, -0.15368397533893585, -0.6317013502120972, 0.041103340685367584, -0.5262140035629272, -0.22708439826965332, -0.25573235750198364, 0.46946993470191956, -0.3612344563007355, -0.25419682264328003, 0.17160916328430176, 0.08354265987873077, 0.3429357707500458, 0.25036320090293884, -0.5168913006782532, 0.5126075148582458, 0.6553032994270325, 0.6805185079574585, -0.20534241199493408, -0.2206706553697586, -0.656745433807373, 0.5582703948020935, -0.5751861333847046, 1.1126394271850586, -0.6450763940811157, 0.12754562497138977, -0.17316055297851562, -0.42798447608947754, 0.11820877343416214, -0.6500003933906555, 0.49905848503112793, -0.5457738041877747, 0.10316846519708633, -0.5244763493537903, -0.41518357396125793, -0.04215915501117706, 0.7332313060760498, -0.427868127822876, 0.9843876957893372, 0.17925208806991577, -0.4795309007167816, 0.5267921686172485, -0.7016333937644958, -0.27885061502456665, -0.029318735003471375, -0.4798597991466522, -0.26121222972869873, 0.048329755663871765, 0.42799094319343567, 0.21380603313446045, -0.2567001283168793, 0.39597365260124207, 0.006011118646711111, -0.11639375984668732, 0.5273600816726685, -0.5143148303031921, 0.3781844675540924, 0.2532399594783783, -0.3605499267578125, 0.3161355257034302, -0.7833629250526428, 0.6054125428199768, -0.22311431169509888, -0.4504774212837219, -0.2837941348552704, -0.0019064457155764103, -0.24741452932357788, 0.37722304463386536, 0.12628032267093658, -0.3276151120662689, 0.19453199207782745, -0.09130412340164185, 0.24653536081314087, 0.800758421421051, 0.1364351511001587, 0.3955930471420288, -0.18063370883464813, 0.6751800775527954, 0.12173203378915787, 0.22149385511875153, 0.4295898675918579, -0.1849825531244278, -0.5788590312004089, -0.22132806479930878, 0.16338270902633667, 0.48872047662734985, -1.0280193090438843, 0.4710025489330292, -0.07625193148851395, -0.2964507043361664, -0.15851294994354248, 0.052906643599271774, 0.6423631906509399, 0.28116554021835327, 0.3693489730358124, -0.4081554114818573, -0.30957770347595215, -0.5590643286705017, -0.4046051502227783, -0.30665141344070435, -0.06376732140779495, 0.27642586827278137, 0.40257689356803894, -0.18930554389953613, 0.9135356545448303, -0.7149394750595093, -0.1580616682767868, -0.1690298318862915, 0.373548299074173, 0.043450791388750076, 0.4195540249347687, 0.17367878556251526, -0.510056734085083, -0.19482865929603577, 0.16674289107322693, -0.6955741047859192, -0.04017652943730354, -0.16379494965076447, -0.42186495661735535, -0.05881506949663162, 0.41528522968292236, -0.39162495732307434, 0.13994723558425903, 0.39339694380760193, -0.5644243955612183, 0.9028632044792175, -0.11923719942569733, 0.541196346282959, -0.9315534830093384, -0.06965658813714981, -0.30829599499702454, -0.48315736651420593, -0.5104613900184631, 0.20884177088737488, -0.054418012499809265, 0.09799426794052124, -0.3570540249347687, 0.23225738108158112, -0.3935173749923706, -0.15447376668453217, -0.39253342151641846, 0.25831136107444763, 0.26556071639060974, 0.4285719692707062, -0.17516092956066132, 0.9049348831176758, 0.48805299401283264, -0.6255982518196106, 0.6653480529785156, 0.4231463372707367, -0.3347761034965515, 0.6974905729293823, -0.5106827020645142, 0.3748759329319, 0.04483897238969803, 0.563390851020813, -0.6507769227027893, -0.25241464376449585, 0.10014443844556808, -0.2695424258708954, -0.2631019055843353, 0.06126048415899277, -0.590090274810791, -0.4236622452735901, -0.4245946705341339, 0.981596052646637, 0.1766493171453476, -0.5249083042144775, 0.6127711534500122, 0.07233524322509766, -0.1306401491165161, -0.5037327408790588, -0.7309919595718384, 0.026724200695753098, -0.47411051392555237, -0.588074266910553, 0.2818109691143036, 0.2711331248283386, -0.30444270372390747, -0.257934033870697, -0.40853801369667053, -0.466254323720932, -0.2966858446598053, -0.3108479082584381, -0.01332284789532423, -0.18959486484527588, 0.3007848262786865, 0.07583452761173248, 0.012340877205133438, 0.2862512767314911, -0.31610894203186035, 0.7181782722473145, -0.6356649398803711, -0.43056273460388184, -0.20204617083072662, 0.33458536863327026, 0.3303526043891907, -0.25428271293640137, 0.5861949324607849, 0.5898999571800232, -0.3687320947647095, -0.2812769412994385, -0.5233308672904968, -0.2816251814365387, -0.4965772032737732, 0.14557336270809174, -0.5554482936859131, -0.5574013590812683, 0.8872824311256409, -0.04866233468055725, -0.36560872197151184, 0.29021841287612915, 0.6377944350242615, 0.14785559475421906, 0.9230859279632568, 0.27421969175338745, 0.22392775118350983, 0.420990526676178, -0.34026941657066345, 0.494783878326416, -0.9746158719062805, -0.2223852425813675, -0.2568635046482086, -0.08632592856884003, -0.26268768310546875, -0.551681399345398, 0.4783249497413635, 0.29449304938316345, -0.22597981989383698, 0.20499373972415924, -0.48136311769485474, 0.7534075379371643, 0.2978525459766388, 0.47073495388031006, 0.6052960753440857, -0.10002723336219788, 0.2603299021720886, 0.7039995789527893, -0.7185285687446594, -0.766211748123169, 0.7469810247421265, 0.2286306917667389, 0.9610264301300049, 0.30275920033454895, 0.5879261493682861, 0.35009661316871643, -0.034846775233745575, -0.7056556344032288, 0.3893735110759735, 0.008421365171670914, -0.5690814852714539, -0.42777055501937866, -0.46329694986343384, -0.6041318774223328, 0.20085714757442474, 0.04665607213973999, -1.017119288444519, 0.27717530727386475, 0.4090156555175781, -0.7132596373558044, 0.38339513540267944, -0.5337936878204346, 0.6312207579612732, -0.20673339068889618, -0.4933703541755676, -0.23699060082435608, -0.4094368815422058, 0.5259496569633484, -0.2054179459810257, 0.13404139876365662, 0.09015510231256485, 0.037373002618551254, 0.7524864077568054, -0.5815310478210449, 0.5462601184844971, 0.13202138245105743, -0.7607054710388184, 0.7327760457992554, 0.14346590638160706, 0.7955845594406128, 0.2908821403980255, -0.11727800965309143, -0.2421361356973648, 0.3536301255226135, -0.38721033930778503, -0.8088323473930359, 0.6855054497718811, -0.3836694061756134, -0.41428548097610474, -0.3442557454109192, -0.7616264224052429, -0.44802126288414, -0.07033820450305939, 0.23444311320781708, 0.7342714667320251, 0.24670353531837463, -0.03418399766087532, 0.4884856939315796, -0.0804118663072586, 0.04796334728598595, -0.18140506744384766, -0.293145090341568, -0.40142613649368286, 0.9438336491584778, -0.305372416973114, 0.7857589721679688, 0.02843223325908184, 0.27085503935813904, -0.3839299976825714, -0.3563494086265564, -0.3889530599117279, -0.04908726364374161, -1.0695198774337769, -0.3599746823310852, -0.4325200021266937, -0.16636335849761963, -0.2312532663345337, -0.33564087748527527, -0.6201579570770264, -0.29261159896850586, 0.20831723511219025, 0.10096070915460587, 0.42142927646636963, 0.6974928975105286, 0.11546337604522705, 0.44624435901641846, -0.6919998526573181, 0.3386271297931671, 0.48875701427459717, 0.5396597385406494, 0.23529735207557678, -0.26857873797416687, -0.2397441565990448, 0.21820104122161865, -0.5356447696685791, -0.609299898147583, -0.08834177255630493, 0.0825800970196724, 0.1959899365901947, 0.32482707500457764, -0.02188362553715706, 0.9082316160202026, -0.22178372740745544, 0.8862032890319824, 0.25571247935295105, -1.2787495851516724, 0.5979196429252625, -0.40529268980026245, 0.4392752945423126, 0.6429001688957214, 0.011904917657375336, -0.17973409593105316, -0.6315971612930298, -0.7856202125549316, -1.0123451948165894, 0.39644140005111694, 0.42934533953666687, -0.117655910551548, -0.17814622819423676, 0.32637301087379456, 0.14260266721248627, 0.2644244134426117, -0.6609151363372803, 0.10503819584846497, 0.038941122591495514, -0.18311035633087158, 0.18974335491657257, -0.13091649115085602, -0.17592363059520721, -0.2860669493675232, 0.6194118857383728, -0.3597012460231781, 0.44118887186050415, 0.25703999400138855, -0.012548762373626232, -0.24011118710041046, 0.6436321139335632, 0.4382372796535492, 1.3308436870574951, -0.19588884711265564, 0.550575852394104, 0.5179837346076965, -0.19025424122810364, 0.33599913120269775, -0.47507140040397644, 0.2407524436712265, -0.18642979860305786, 0.40839457511901855, 0.4648989737033844, -0.2358522266149521, -0.5489610433578491, 0.6627675890922546, 0.12777242064476013, -0.16083279252052307, -0.10186770558357239, 0.045379795134067535, -0.17920979857444763, 0.5150504112243652, 0.27751243114471436, 0.024738086387515068, 0.3015166223049164, -0.8370646834373474, 0.3032120168209076, 0.29765617847442627, -0.29981887340545654, 0.0064421589486300945, 0.3031200170516968, 0.09106526523828506, -0.04547150060534477, 0.25574108958244324, -0.24521870911121368, -0.6899327635765076, 0.5811412334442139, 0.5569644570350647, 0.8880724310874939, -0.023577744141221046, 0.4056265354156494, 0.192063108086586, -0.11963949352502823, -0.2296806275844574, 0.46490827202796936, -0.10162636637687683, -0.7144649624824524, -0.7747156620025635, -0.45109009742736816, -0.35961225628852844, 0.0822533667087555, -0.7842211127281189, 0.10157641023397446, -0.39382123947143555, -0.3322259783744812, -0.30330774188041687, -0.3232002854347229, -0.3496294319629669, 0.32652053236961365, 0.12579715251922607, 0.47887033224105835, -0.7484332919120789, 0.5896798968315125, 0.565299928188324, -0.4747903645038605, -0.8524701595306396, 0.3207959830760956, -0.3489101231098175, -0.511577308177948, 0.4417969882488251, -0.16095028817653656, -0.5641366839408875, 0.0029564143624156713, -0.5694870352745056, -0.957654595375061, 1.174958348274231, 0.12812748551368713, -0.3644854426383972, -0.11042922735214233, 0.1100425124168396, 0.4718095660209656, -0.5667821764945984, 0.25092068314552307, 0.7720822691917419, 0.2049645185470581, 0.24582143127918243, -0.957605242729187, 0.35326629877090454, 0.1905406415462494, 0.07745348662137985, 0.25934988260269165, -0.34839022159576416, 0.8439490795135498, -0.13186755776405334, 0.0010849530808627605, -0.2566499412059784, 0.6057004928588867, 0.7324501872062683, 0.2065134197473526, 0.6871706247329712, 0.12670102715492249, 0.9975446462631226, 0.02030516043305397, 1.0270804166793823, 0.03888572007417679, 0.45014697313308716, 1.310989260673523, 0.00185663893353194, 0.8493516445159912, 0.7871682047843933, -0.26766741275787354, 0.9679015874862671, 0.48344099521636963, 0.24878078699111938, 0.5733517408370972, 0.44087472558021545, -0.37640127539634705, -0.2193393111228943, -0.2175474613904953, -0.19643808901309967, 0.33151334524154663, 0.07085981965065002, -0.36377832293510437, -0.1417720764875412, -0.0021823574788868427, -0.13296711444854736, 0.06650778651237488, -0.4807094633579254, 0.8759252429008484, 0.09376697242259979, -0.5738006234169006, 1.0012685060501099, -0.21085067093372345, 0.4942418932914734, -0.3974582552909851, 0.10534492880105972, 0.087345190346241, 0.4555039703845978, -0.45619016885757446, -0.85568767786026, 0.5114652514457703, 0.2863317131996155, -0.22085429728031158, -0.18970896303653717, 0.6767614483833313, -0.6073636412620544, -0.5465754866600037, 0.10982118546962738, 0.6700602173805237, 0.1855849176645279, -0.4521712362766266, -0.4930024743080139, -0.04219277575612068, -0.0984945073723793, -0.18737857043743134, -0.15736599266529083, 0.6008267402648926, -0.35483282804489136, 0.6564330458641052, 0.40907689929008484, 0.21463431417942047, -0.0017314163269475102, 0.32329869270324707, 1.0233948230743408, -0.5974245071411133, -0.46951356530189514, -0.8528546690940857, 0.4311555027961731, -0.2810424268245697, -0.32823267579078674, 0.3288661539554596, 0.47910380363464355, 0.7704811096191406, 0.017785221338272095, 0.7219805121421814, -0.2950180768966675, 0.1034451499581337, -0.6525858640670776, 0.2846023142337799, -0.45865389704704285, 0.32298359274864197, -0.5175551176071167, -1.0373996496200562, -0.16933609545230865, 0.5351070761680603, -0.4920782744884491, 0.1596703827381134, 1.2312672138214111, 0.5703484416007996, -0.29539233446121216, -0.07305559515953064, 0.13251535594463348, 0.010384752415120602, 0.6593621373176575, 0.7162787914276123, 0.9364191889762878, -0.5301090478897095, 0.683872640132904, -0.051032062619924545, -0.3667251467704773, 0.167831689119339, -0.9407747983932495, -0.6248152852058411, -0.4489143490791321, -0.35386893153190613, -0.364867627620697, 0.05557536333799362, 0.8501473069190979, 0.48565614223480225, -0.8242824077606201, -0.2920646369457245, -0.42433157563209534, -0.06721065938472748, -0.595782995223999, -0.2569248378276825, 0.40967604517936707, -0.5337430238723755, -0.2191215455532074, 0.0429074764251709, -0.015428122133016586, -0.2425033450126648, -0.26982319355010986, -0.09951823204755783, -0.46963539719581604, 0.34895095229148865, 0.9791195392608643, -0.2966737151145935, -0.8859437704086304, -0.6419804096221924, -0.3975417912006378, -0.019984882324934006, 0.11332675069570541, 0.8102542757987976, -0.659862756729126, 0.09207016229629517, 0.548040509223938, 0.4191461205482483, 0.41619908809661865, 0.635093629360199, 0.795867383480072, -0.8912667632102966, -0.2797260582447052, 0.28128570318222046, -0.07236535847187042, 0.23809374868869781, -0.5760416388511658, 0.47701212763786316, -0.2928406000137329, -0.7067191004753113, -0.6124584078788757, 0.4853839874267578, -0.9631708264350891, -0.25325119495391846, 1.454852819442749, -0.04792071133852005, -0.21600964665412903, -0.01338464580476284, -0.3235679566860199, 0.29034149646759033, -0.3761911988258362, 0.9783172011375427, 0.8819261789321899, -0.43048059940338135, -0.1190439909696579, -0.19458253681659698, 0.5996266603469849, 0.4242449402809143, -1.2769701480865479, 0.4405956268310547, 0.3898058235645294, -0.01227161381393671, 0.37839043140411377, 0.6377341151237488, -0.12772856652736664, 0.12111226469278336, -0.06942913681268692, -0.02653942070901394, 0.19321109354496002, -0.36309927701950073, 0.025182871147990227, 0.0817265659570694, 0.24613173305988312, -0.15774835646152496 ]
http://arxiv.org/abs/2404.10508v3
http://arxiv.org/pdf/2404.10508v3
White Men Lead, Black Women Help? Benchmarking Language Agency Social Biases in LLMs
2024-04-16T12:27:54
2024-06-20T07:44:17
Yixin Wan, Kai-Wei Chang
cs.CL
cs.CL, cs.AI, cs.CY
Language agency is an important aspect of evaluating social biases in texts. While several studies approached agency-related bias in human-written language, very limited research has investigated such biases in Large Language Model (LLM)-generated content. In addition, previous research often relies on string-matching techniques to identify agentic and communal words within texts, which fall short of accurately classifying language agency. We introduce the novel Language Agency Bias Evaluation (LABE) benchmark, which comprehensively evaluates biases in LLMs by analyzing agency levels attributed to different demographic groups in model generations. LABE leverages 5,400 template-based prompts, an accurate agency classifier, and corresponding bias metrics to test for gender, racial, and intersectional language agency biases in LLMs on 3 text generation tasks: biographies, professor reviews, and reference letters. To build better and more accurate automated agency classifiers, we also contribute and release the Language Agency Classification (LAC) dataset, consisting of 3,724 agentic and communal sentences. Using LABE, we unveil previously under-explored language agency social biases in 3 recent LLMs: ChatGPT, Llama3, and Mistral. We observe that: (1) For the same text category, LLM generations demonstrate higher levels of gender bias than human-written texts; (2) On most generation tasks, models show remarkably higher levels of intersectional bias than the other bias aspects. Those who are at the intersection of gender and racial minority groups -- such as Black females -- are consistently described by texts with lower levels of agency; (3) Among the 3 LLMs investigated, Llama3 demonstrates greatest overall bias in language agency; (4) Not only does prompt-based mitigation fail to resolve language agency bias in LLMs, but it frequently leads to the exacerbation of biases in generated texts.
[ -0.19970566034317017, -0.4521295726299286, 0.47585830092430115, 0.3367628753185272, 0.1530022770166397, 0.5944362282752991, -0.11308638751506805, -0.3804241716861725, 0.03284810855984688, 0.44989699125289917, -0.6143102049827576, -0.4780086278915405, -0.6518062949180603, 0.0998087227344513, -0.4362247586250305, 0.8202040791511536, -0.018497347831726074, 0.28965017199516296, -0.1475585699081421, -0.25733116269111633, -0.6370254755020142, -0.4180866479873657, -0.7487664222717285, -0.46153828501701355, 0.47391289472579956, 0.3089058995246887, 0.6270403265953064, 0.3957155644893646, 0.12716268002986908, 0.282454252243042, -0.1164880096912384, 0.19037067890167236, -0.6963303685188293, 0.06742753088474274, -0.08859676122665405, -0.2885802388191223, -0.35440582036972046, 0.3112633228302002, 0.31263965368270874, 0.7163985371589661, -0.03337575122714043, 0.4087393581867218, -0.19258134067058563, 0.7023783326148987, -0.8875411748886108, -0.004259434528648853, -0.6641985177993774, -0.20067085325717926, -0.2759166359901428, -0.13577930629253387, -0.4693435728549957, -0.553250253200531, 0.09271442890167236, -0.13340310752391815, 0.4291449785232544, 0.2635759115219116, 0.5420100688934326, 0.03096013329923153, -0.7994287610054016, -0.23156698048114777, -0.5780942440032959, 0.6821258068084717, -0.48775583505630493, 0.20645672082901, 0.3992466330528259, 0.2545149624347687, -0.17733025550842285, -0.34359994530677795, -0.6033463478088379, -0.3540344834327698, 0.006357631646096706, 0.026943949982523918, -0.053279951214790344, -0.3081105649471283, 0.24552303552627563, 0.10563813894987106, -0.33671602606773376, 0.1475004255771637, -0.39308691024780273, -0.24994917213916779, 0.7257329821586609, 0.031290680170059204, 0.5729170441627502, 0.013050682842731476, -0.29891616106033325, -0.2977339029312134, -0.8696767091751099, -0.08356649428606033, 0.811434805393219, 0.23985524475574493, -0.1345714032649994, 0.4809556305408478, -0.07911171764135361, 0.2649129331111908, -0.06726676225662231, 0.23168762028217316, 0.30131813883781433, -0.2668088674545288, 0.13165265321731567, 0.1229560449719429, 0.88106369972229, 0.6153311133384705, 0.6006094217300415, -0.14825618267059326, -0.08337144553661346, 0.28791123628616333, 0.3117711544036865, -0.42635342478752136, 0.39495471119880676, -0.17461034655570984, -0.18512243032455444, -0.31503117084503174, -0.04024520143866539, -0.7966351509094238, -0.8287276029586792, 0.018337251618504524, -0.10028421133756638, -0.12407079339027405, -0.19458384811878204, -0.3721955716609955, -0.22146479785442352, 0.6219475269317627, 0.11001952737569809, -1.0794310569763184, 0.5054384469985962, 0.7252081632614136, 0.6120745539665222, -0.2644844353199005, -0.41274192929267883, -0.4923524856567383, 0.03549665957689285, -0.43397533893585205, 0.628901481628418, -0.5170950293540955, -0.2884276211261749, 0.3287031650543213, -0.06567292660474777, 0.06730706244707108, -0.5854030847549438, 0.5371330380439758, -0.30012232065200806, 0.03905503451824188, -0.4384705722332001, -0.40097111463546753, 0.3724003732204437, -0.17626026272773743, -0.5090120434761047, 1.2636370658874512, 0.2065451294183731, -0.6023988127708435, 0.6873362064361572, -0.3642756938934326, -0.2516079545021057, -0.011779861524701118, -0.6283886432647705, -0.2944623529911041, -0.050467461347579956, 0.08292872458696365, 0.23103898763656616, -0.6028622984886169, 0.3042215406894684, -0.3710360527038574, -0.39554843306541443, 0.4533390700817108, -0.15983730554580688, 0.8441524505615234, -0.09765736013650894, -0.6328130960464478, 0.21322548389434814, -0.5461896657943726, -0.41381531953811646, 0.26594454050064087, -0.11238903552293777, -0.47137176990509033, -0.027896355837583542, -0.05393793806433678, 0.19925156235694885, 0.02583819068968296, -0.644122838973999, -0.2136533260345459, 0.05211251601576805, 0.15519431233406067, 1.0888491868972778, -0.3052363097667694, 0.5268862247467041, -0.31574562191963196, 0.4188162684440613, -0.3476784825325012, -0.06659820675849915, 0.3147183060646057, -0.45937004685401917, -0.6178727149963379, 0.00803428515791893, 0.11565282940864563, 0.3744896650314331, -0.6521228551864624, 0.4868638515472412, -0.07975388318300247, -0.3937830924987793, -0.6942033171653748, 0.22296646237373352, 0.4924769401550293, 0.15203379094600677, -0.04177692160010338, -0.3263896703720093, -0.33235499262809753, -1.0978913307189941, -0.417339026927948, -0.22977235913276672, -0.04986546188592911, 0.3395313322544098, 0.5039122104644775, -0.3197151720523834, 0.9293822050094604, -0.3700474500656128, -0.1296999454498291, -0.2678992748260498, 0.3432720899581909, -0.2583265006542206, 0.17310146987438202, 0.3567450940608978, -0.4879259765148163, -0.4222804307937622, -0.19697792828083038, -0.5360805988311768, -0.7548800706863403, 0.16296611726284027, -0.42129942774772644, 0.09232854098081589, 0.7610755562782288, -0.20892846584320068, 0.10866720229387283, 0.6445308327674866, -0.7874103784561157, 0.5306365489959717, 0.021295951679348946, -0.16024339199066162, -0.8645394444465637, -0.082205630838871, 0.25588610768318176, -0.24013708531856537, -0.7023372650146484, -0.08147133141756058, 0.1296413093805313, 0.23635363578796387, -0.35005688667297363, 0.8613432049751282, -0.6758044958114624, -0.3183600902557373, -0.3387153148651123, 0.4726984202861786, -0.41089701652526855, 0.36612018942832947, -0.36714792251586914, 0.8329983353614807, 0.20769238471984863, -0.33864206075668335, 0.11874696612358093, 0.21694612503051758, -0.3181321620941162, 0.46123194694519043, -0.36721473932266235, 0.4923340082168579, -0.2493380457162857, 0.38668161630630493, -0.832051694393158, 0.05877626687288284, -0.03210018575191498, -0.3631826341152191, 0.0771583691239357, 0.3249479830265045, -0.4436444342136383, -0.3151322305202484, -0.5041759014129639, 0.6063495874404907, 0.3883529603481293, -0.2996525466442108, 0.39259952306747437, 0.6161626577377319, -0.15501096844673157, -0.873517632484436, -0.5926599502563477, 0.009013050235807896, 0.05679762735962868, -0.3884422183036804, 0.0718090757727623, -0.08718523383140564, -0.5829696655273438, -0.13439452648162842, -0.07453741878271103, 0.03132007643580437, 0.16129520535469055, 0.24471443891525269, 0.21336787939071655, 0.15747201442718506, -0.0640379935503006, -0.016479413956403732, 0.11903656274080276, 0.08706331998109818, 0.30881959199905396, 0.7835102081298828, -0.05137987807393074, -0.21621400117874146, 0.28661268949508667, 0.20275764167308807, 0.4757855534553528, -0.0507863312959671, 0.7749385833740234, 0.5933908820152283, -0.2704593241214752, -0.3069480061531067, -0.8470186591148376, -0.14789307117462158, -0.4219456911087036, 0.1911490112543106, 0.09585250169038773, -0.9903274178504944, 0.5242840647697449, 0.27583882212638855, 0.10566024482250214, 0.32204851508140564, 0.7204527258872986, 0.2584584951400757, 0.6820782423019409, 0.6466708779335022, -0.3047223687171936, 0.5985040664672852, -0.029659252613782883, 0.001775026903487742, -0.8376718163490295, 0.013127273879945278, -0.5493335127830505, -0.10335911810398102, -0.9387775659561157, -0.39733827114105225, 0.058904003351926804, -0.4048181474208832, -0.11175544559955597, 0.09183471649885178, -0.17253360152244568, 0.5404418110847473, 0.4930172562599182, -0.09377344697713852, 0.1047799289226532, -0.2692245543003082, -0.23624011874198914, 0.1155652105808258, -0.4007170498371124, -0.9009238481521606, 1.3107497692108154, 0.41170090436935425, 0.39032304286956787, 0.08233197778463364, 0.5558795928955078, 0.772872269153595, 0.8113506436347961, -0.2928621470928192, 0.8364896178245544, -0.19438999891281128, -0.7687880396842957, -0.2592121958732605, -0.43598005175590515, -1.046416997909546, 0.4708734452724457, -0.20756109058856964, -0.7895329594612122, 0.33486998081207275, -0.20082256197929382, 0.03740738704800606, 0.037897996604442596, -0.6436552405357361, 0.7117197513580322, 0.017257045954465866, -0.4783836007118225, -0.004224081058055162, -0.4439680278301239, 0.6775609254837036, -0.2008773535490036, 0.40487226843833923, -0.6300583481788635, -0.06171185150742531, 0.7698142528533936, -0.4653497636318207, 0.8638240098953247, -0.026341306045651436, -0.3596976101398468, 0.03003666363656521, -0.09244249761104584, 0.405791312456131, -0.29044193029403687, -0.12384238094091415, 0.06779170781373978, -0.37665820121765137, -0.5641404986381531, -0.23751288652420044, 0.5934215188026428, -0.9220352172851562, -0.4102570712566376, -0.506966233253479, -0.6510704755783081, -0.25753864645957947, 0.1628512442111969, 0.036037083715200424, 0.3561343550682068, -0.4622701406478882, -0.011032183654606342, 0.29170742630958557, -0.2356288582086563, 0.2875247597694397, 0.6952801942825317, -0.07866544276475906, -0.3113645017147064, 0.5891628861427307, -0.044420015066862106, 0.5084906220436096, 0.16123619675636292, 0.07443704456090927, -0.2741473615169525, -0.28806623816490173, -0.31348204612731934, 0.4019988775253296, -0.6683778762817383, 0.10107555240392685, -0.5098590850830078, -0.1520608365535736, -0.6754801869392395, -0.1718672662973404, -0.13781718909740448, -0.016007903963327408, 0.09958917647600174, -0.2002956122159958, 0.041760195046663284, 0.7081910371780396, 0.18447816371917725, 0.448440283536911, -0.17843183875083923, 0.4524814188480377, 0.43814679980278015, 0.13181869685649872, -0.03606804087758064, -0.1354694664478302, -0.025756889954209328, -0.2524038851261139, -0.3810971975326538, -1.0962324142456055, 0.17518262565135956, -0.2506304085254669, 0.7222704291343689, 0.08205141127109528, 0.005501584615558386, 0.10311105102300644, -0.5748819708824158, 0.7368825078010559, 0.05867881327867508, -0.953255832195282, 0.20226383209228516, -0.43779700994491577, 0.23742350935935974, 0.6848453283309937, -0.0037475686985999346, -0.7034739851951599, -1.0540200471878052, -0.6002269983291626, -0.942541778087616, 0.9404727816581726, 0.4534839987754822, 0.06035485863685608, -0.1498793363571167, 0.26664090156555176, 0.07528818398714066, 0.357269287109375, -1.0502402782440186, -0.6550325155258179, 0.3381767272949219, -0.28145819902420044, -0.1551211178302765, -0.4168199896812439, -0.008614149875938892, 0.236219584941864, 0.677804708480835, -0.20046496391296387, 0.1209339126944542, 0.119901642203331, -0.1964733898639679, -0.38241004943847656, 0.5939790606498718, 0.6836584806442261, 0.7849171757698059, -0.3050347864627838, 0.16293835639953613, 0.25999268889427185, -0.5243663191795349, 0.48365315794944763, 0.0915084257721901, -0.5412938594818115, -0.10353688150644302, 0.426988810300827, 0.8128993511199951, 0.010042029432952404, -0.7041212916374207, 0.6285918951034546, -0.26030850410461426, -0.23975689709186554, -0.26710936427116394, 0.05808958783745766, 0.024593312293291092, 0.19289956986904144, 0.6244392395019531, -0.2731795012950897, -0.03233948349952698, -0.852215051651001, -0.1807500123977661, 0.6304128170013428, -0.32853686809539795, -0.037504009902477264, 0.5531401634216309, 0.42110294103622437, -0.3954152464866638, 0.0037507684901356697, -0.40200915932655334, -0.4243720471858978, 0.6586339473724365, 0.34142160415649414, 1.2295750379562378, -0.19175095856189728, 0.3706256151199341, 0.07489372044801712, 0.6539515852928162, -0.08870191872119904, 0.1482047140598297, 0.134427011013031, -0.9990650415420532, -0.282929927110672, -0.42570194602012634, -0.6030746698379517, 0.19306263327598572, -0.45174509286880493, 0.1648036390542984, -0.31353023648262024, -0.1895129680633545, 0.011034452356398106, 0.1140170693397522, -0.6705326437950134, -0.12418453395366669, 0.34409070014953613, 0.7825493812561035, -1.094974398612976, 0.4153693616390228, 0.5966670513153076, -0.07083594053983688, -0.4757902920246124, 0.26057061553001404, 0.24322398006916046, -0.8089908361434937, 0.5614959001541138, 0.22085149586200714, -0.25044921040534973, -0.20765076577663422, -0.4531504213809967, -0.5503959059715271, 1.0681345462799072, 0.3823060989379883, -0.5501255393028259, 0.20139971375465393, 0.26113784313201904, 0.6325013637542725, -0.5416896939277649, 0.6036249399185181, 0.9363290667533875, 0.45883044600486755, -0.3426065444946289, -0.9388934373855591, 0.44638291001319885, -0.13955803215503693, 0.16166077554225922, 0.1299266219139099, -0.889103889465332, 0.7049291729927063, 0.06239240989089012, -0.2526167929172516, -0.08053403347730637, 0.5437428951263428, 0.6338515877723694, 0.5170119404792786, 0.7786614894866943, 0.04375072196125984, 0.8239777088165283, -0.14048102498054504, 1.0555768013000488, -0.05235494673252106, -0.07276970148086548, 1.0215948820114136, -0.7121598124504089, 0.4182308614253998, 0.2999962270259857, -0.1671331226825714, 0.48033732175827026, 0.34953370690345764, 0.15189741551876068, 0.22879230976104736, 0.5615165829658508, -0.29108455777168274, 0.13623042404651642, -0.4427202045917511, -0.13475167751312256, 0.23574252426624298, 0.06344341486692429, -0.3402557671070099, -0.056827519088983536, -0.29309824109077454, 0.03996807336807251, 0.352061003446579, -0.19371511042118073, 0.7388383150100708, 0.10485151410102844, -0.7817206978797913, 0.2311031073331833, -0.01568829081952572, 0.6416755318641663, -0.5933447480201721, 0.3271261155605316, -0.3999585509300232, 0.14083682000637054, -0.05301925167441368, -0.5293996930122375, -0.20940090715885162, 0.24005353450775146, -0.1551070511341095, -0.19951340556144714, 0.7281094789505005, -0.6474515199661255, -0.45753952860832214, 0.6198651790618896, 0.747051477432251, 0.009683884680271149, 0.26993370056152344, -0.5137884020805359, 0.08901403099298477, -0.04520512744784355, 0.07887470722198486, 0.30377283692359924, 0.40817683935165405, -0.36842644214630127, 0.7305395603179932, 0.536344587802887, 0.4700452387332916, 0.3485445976257324, 0.5743407607078552, 0.646539568901062, -0.8011455535888672, -0.24437099695205688, -0.9309518337249756, 0.11128870397806168, -0.34204161167144775, -0.2733171582221985, 0.8484460711479187, 0.43249431252479553, 0.7711848616600037, 0.17184408009052277, 0.7466917634010315, 0.12921872735023499, 0.457808256149292, -0.3673304319381714, 0.6050682067871094, -0.2867467403411865, 0.15448275208473206, -0.6141239404678345, -0.974365234375, 0.04617070406675339, 0.2032407522201538, -0.47920045256614685, 0.2957937717437744, 0.6996870040893555, 0.8314797282218933, 0.2206422984600067, -0.07980778068304062, 0.18200404942035675, 0.14736929535865784, 0.4623136818408966, 0.22166894376277924, 1.0110946893692017, -0.2866271734237671, 0.48608243465423584, 0.0374460443854332, -0.2825593948364258, -0.19030654430389404, -0.8561517000198364, -1.0035074949264526, -0.25407475233078003, -0.3191239833831787, -0.20928539335727692, 0.14518480002880096, 1.1305744647979736, 0.5147936940193176, -0.5797812938690186, -0.5706368088722229, 0.0010940153151750565, 0.3650968670845032, -0.1436455249786377, -0.2655045688152313, 0.050853729248046875, -0.22457991540431976, -0.7486003637313843, 0.28667259216308594, 0.03045858070254326, -0.09539567679166794, -0.48207560181617737, -0.19345076382160187, -0.36286914348602295, 0.19051244854927063, 0.5545765161514282, 0.08479559421539307, -0.7068172693252563, -0.0792367160320282, -0.31891459226608276, -0.45227324962615967, -0.2527616620063782, 1.0500836372375488, -0.2905224859714508, 0.23580417037010193, 0.23388200998306274, 0.47573205828666687, 0.38670316338539124, -0.12816256284713745, 0.9216362237930298, -1.0844017267227173, -0.1019517108798027, 0.07920683920383453, 0.545716404914856, 0.5959457159042358, -0.1805969774723053, 0.6804152727127075, 0.13410799205303192, -0.6510484218597412, -0.8905994296073914, 0.001428260700777173, -0.8303213119506836, -0.17228591442108154, 1.464840054512024, 0.295962929725647, -0.2865746319293976, -0.13025183975696564, -0.3486468493938446, 0.3780207633972168, -0.7870175838470459, 0.8278552293777466, 0.9242554903030396, 0.24368397891521454, -0.17810934782028198, -0.8370642066001892, 0.48286542296409607, 0.5364457368850708, -0.9110425114631653, 0.34580808877944946, 0.5999045372009277, 0.06957778334617615, 0.1631747931241989, 1.0522701740264893, 0.15601472556591034, 0.26158249378204346, -0.22243234515190125, 0.21906791627407074, 0.23198765516281128, 0.05713053047657013, -0.1873897761106491, -0.07655638456344604, 0.13269925117492676, 0.0720226988196373 ]
http://arxiv.org/abs/2404.10503v1
http://arxiv.org/pdf/2404.10503v1
A Sentiment Analysis of Medical Text Based on Deep Learning
2024-04-16T12:20:49
2024-04-16T12:20:49
Yinan Chen
cs.CL
cs.CL, cs.AI
The field of natural language processing (NLP) has made significant progress with the rapid development of deep learning technologies. One of the research directions in text sentiment analysis is sentiment analysis of medical texts, which holds great potential for application in clinical diagnosis. However, the medical field currently lacks sufficient text datasets, and the effectiveness of sentiment analysis is greatly impacted by different model design approaches, which presents challenges. Therefore, this paper focuses on the medical domain, using bidirectional encoder representations from transformers (BERT) as the basic pre-trained model and experimenting with modules such as convolutional neural network (CNN), fully connected network (FCN), and graph convolutional networks (GCN) at the output layer. Experiments and analyses were conducted on the METS-CoV dataset to explore the training performance after integrating different deep learning networks. The results indicate that CNN models outperform other networks when trained on smaller medical text datasets in combination with pre-trained models like BERT. This study highlights the significance of model selection in achieving effective sentiment analysis in the medical domain and provides a reference for future research to develop more efficient model architectures.
[ -0.321095734834671, -0.4089297652244568, 0.5578794479370117, 0.19633638858795166, -0.7250699400901794, -0.01487004105001688, -0.3030502200126648, -0.45338115096092224, 0.18471327424049377, 0.2772577106952667, -0.4274267554283142, -0.7620152831077576, -0.9450628161430359, 0.23196491599082947, -0.06490020453929901, 1.1892733573913574, 0.19202516973018646, 0.7666215896606445, -0.4951433539390564, -0.24165721237659454, -0.31437262892723083, -0.6568540334701538, -0.7399911880493164, -0.5525442957878113, 0.6592543125152588, 0.06559651345014572, 0.7813692092895508, -0.2628258466720581, 1.0611109733581543, 0.2782210409641266, -0.1670006662607193, 0.08084742724895477, -0.015727795660495758, 0.22403931617736816, 0.19253242015838623, -0.09857615828514099, -0.4307945668697357, -0.021077889949083328, 0.2582966089248657, 0.7120789885520935, 0.07765555381774902, -0.2682918608188629, 0.06447802484035492, 0.7792642116546631, 0.02580585516989231, 0.03267722949385643, -0.20789361000061035, 0.591572642326355, 0.11342690140008926, 0.08628407120704651, -0.3594585657119751, -0.5019361972808838, 0.6558247208595276, -0.10183294117450714, 0.2932557463645935, -0.2094363570213318, 1.0199156999588013, 0.3697821795940399, -0.43459030985832214, -0.5700878500938416, -0.4506208896636963, 0.5740950107574463, -1.0605480670928955, 0.3641325831413269, -0.22490884363651276, 0.3100118935108185, 0.15769466757774353, -0.9019165635108948, -0.40551796555519104, -0.35624417662620544, -0.2199683040380478, 0.6150172352790833, -0.01701071858406067, 0.23662056028842926, -0.2060081958770752, 0.44849541783332825, -0.5464369654655457, 0.27582165598869324, -0.19185100495815277, 0.23139704763889313, 0.5142120122909546, 0.08292093873023987, 0.26636117696762085, -0.5525842308998108, -0.5539164543151855, -0.0812014490365982, -0.3615807294845581, 0.034330908209085464, -0.12315387278795242, 0.14395076036453247, -0.3223828077316284, 0.39561960101127625, 0.18907518684864044, 0.6136206984519958, -0.14633843302726746, 0.17931251227855682, 0.6240770220756531, 0.002802665112540126, -0.8993043899536133, -0.030203325673937798, 1.3771486282348633, 0.32867616415023804, 0.3549657166004181, -0.017614055424928665, 0.027817578986287117, 0.02110297605395317, 0.7194443941116333, -0.9274681210517883, -0.193891242146492, 0.39422622323036194, -1.0207955837249756, -0.7976630330085754, -0.18500477075576782, -0.8148894906044006, -0.6371243596076965, -0.3770517408847809, 0.03720564767718315, -0.5174787044525146, -0.17289486527442932, 0.4493747055530548, 0.053899385035037994, 0.041048843413591385, 0.16662627458572388, -0.5411500930786133, 0.1472870111465454, 0.5917603969573975, 0.57723468542099, -0.14523987472057343, 0.24774335324764252, 0.08504100143909454, -0.6036524772644043, -0.32454511523246765, 0.51971435546875, -0.530719518661499, -0.5651893615722656, 0.1336059272289276, -0.03969690948724747, -0.18215425312519073, -0.4653957784175873, 0.8504682183265686, -0.47463205456733704, 0.3318004012107849, -0.1100691705942154, -0.5273571014404297, -0.3710492253303528, 0.5353153944015503, -0.5967699885368347, 0.519927978515625, -0.05725404992699623, -0.8485403060913086, 0.35469570755958557, -0.5162079334259033, -0.8130736947059631, -0.011187992990016937, -0.35466089844703674, -0.9220697283744812, 0.5265531539916992, 0.4521855413913727, 0.9998794198036194, -0.38100090622901917, 0.545289933681488, -0.33936455845832825, -0.13647747039794922, 0.37577754259109497, -0.39999106526374817, 0.8075045943260193, 0.26035264134407043, -0.05062336474657059, -0.04815172776579857, -0.5361247062683105, -0.2395046502351761, 0.11300265789031982, -0.20659372210502625, -0.27295929193496704, 0.18780101835727692, -0.07142386585474014, 0.23560035228729248, 0.0282308179885149, -0.6643441915512085, 0.14235654473304749, -0.8413642048835754, 0.09598696231842041, 0.2937418520450592, 0.11398619413375854, 0.2635365128517151, 0.04865966737270355, 0.4864584803581238, 0.35667210817337036, 0.3680071532726288, 0.2820996642112732, -0.5590380430221558, -0.7083666920661926, -0.2520507574081421, 0.38653871417045593, 0.42006775736808777, -0.5573391914367676, 0.46115642786026, -0.24911338090896606, -0.3852604627609253, -0.9464263319969177, -0.27884870767593384, 0.17240604758262634, 0.848339319229126, 0.3536583185195923, -0.28664448857307434, -0.5909453630447388, -1.1015883684158325, -0.10312025994062424, -0.05537509545683861, 0.05987956002354622, 0.575027346611023, 0.33127275109291077, -0.7867234945297241, 0.5828072428703308, -0.47935643792152405, -0.4657870829105377, -0.2880640923976898, 0.12851324677467346, 0.6415837407112122, 0.2506592869758606, 0.6707000732421875, -0.7454766631126404, -0.5300951600074768, 0.2469906210899353, -0.9929763674736023, 0.25595781207084656, -0.1109708920121193, -0.010077395476400852, -0.0012567894300445914, 0.16113530099391937, -0.5705351233482361, 0.2561126947402954, 0.7577157020568848, -0.10510005056858063, 0.22296850383281708, -0.3792031407356262, 0.05553601309657097, -1.3133635520935059, 0.091117262840271, 0.2507237493991852, -0.286050409078598, -0.5030585527420044, -0.0572221539914608, -0.0336826890707016, -0.17288292944431305, -0.32467103004455566, 0.0797039046883583, -0.06665260344743729, 0.407592236995697, -0.14474251866340637, -0.06817080080509186, 0.35966190695762634, 0.19937804341316223, 0.15117312967777252, 0.271969199180603, 0.6188544631004333, -0.2362586259841919, 0.4907625913619995, 0.4230498671531677, -0.14629854261875153, 0.26889103651046753, -0.8120877146720886, 0.12291930615901947, -0.4090472161769867, 0.024831295013427734, -0.9196801781654358, -0.02286822348833084, 0.3055812120437622, -0.714789092540741, 0.6431483626365662, -0.13451185822486877, -0.34654706716537476, -0.6384531855583191, -0.18308110535144806, 0.13998828828334808, 0.6921473741531372, -0.44503822922706604, 0.4392577111721039, 0.32811301946640015, -0.03870968148112297, -0.544592559337616, -0.7201122045516968, 0.12474845349788666, 0.07412808388471603, -0.4862559735774994, 0.3702767789363861, 0.1133015900850296, 0.006722382735460997, -0.15965639054775238, 0.2526959478855133, -0.10582761466503143, 0.02053682692348957, 0.35837411880493164, 0.5763444900512695, -0.32393819093704224, 0.5421651005744934, 0.37643805146217346, -0.17126253247261047, 0.362638920545578, 0.06880021095275879, 0.49815481901168823, -0.21014975011348724, -0.15053881704807281, -0.5415463447570801, 0.3303164839744568, 0.830257773399353, -0.2475113570690155, 0.6520587801933289, 0.45656707882881165, -0.3800429105758667, 0.10821104049682617, -0.20499809086322784, 0.004726876504719257, -0.3948971629142761, 0.5693702697753906, 0.08500344306230545, -0.643236517906189, 0.16621193289756775, -0.07892949134111404, -0.24788926541805267, 0.6326496005058289, 0.8576093912124634, -0.6110021471977234, 1.2233994007110596, 0.3270989656448364, -0.2482529580593109, 0.00975758209824562, -0.1737590730190277, 0.43078771233558655, -0.7402909994125366, -0.3928403854370117, -0.3350677490234375, -0.3513408899307251, -0.621647834777832, -0.30799153447151184, 0.5737963914871216, -0.3313024342060089, -0.06512755900621414, -0.16568318009376526, -0.860716700553894, -0.06218010559678078, 0.28536176681518555, 0.4252311885356903, -0.08436547964811325, 0.15332742035388947, -0.5535601377487183, -0.15310795605182648, -0.30474749207496643, -0.4033212959766388, 0.9758099317550659, 0.7112118005752563, 0.5577414035797119, -0.3213864862918854, 0.7923888564109802, 0.20994234085083008, 0.42751839756965637, -1.0663926601409912, 0.25199124217033386, -1.0152639150619507, -0.3317454159259796, 0.09145627170801163, -0.23682348430156708, -0.8985434174537659, 0.09544499963521957, -0.2786963880062103, 0.11464987695217133, 0.2764299213886261, -0.19112266600131989, -0.7086018323898315, 0.12334202975034714, -0.535777747631073, 0.8797301650047302, -0.2893921434879303, 0.18691004812717438, -0.2578188478946686, -0.6957076191902161, 0.03813762962818146, 0.23960331082344055, -0.1009441465139389, -0.09240391850471497, 0.2672732472419739, 0.6108548045158386, -0.2514576315879822, 0.9406500458717346, -0.3364819586277008, 0.010884826071560383, 0.05768512561917305, -0.08198956400156021, 0.14436353743076324, 0.35982152819633484, -0.2698725759983063, 0.4144751727581024, -0.22338782250881195, 0.0024022452998906374, -0.3089793026447296, 0.6041692495346069, -0.9300211071968079, -0.33874234557151794, -0.35006871819496155, -0.1284407377243042, -0.4343711733818054, 0.05433719977736473, 0.42291468381881714, 0.5373097658157349, -0.3754834532737732, 0.3117320239543915, 0.63847416639328, -0.6013055443763733, 0.3669223189353943, -0.025363735854625702, -0.04197230935096741, -0.43793943524360657, 0.5182235240936279, -0.10130710899829865, -0.17517521977424622, 0.4125581681728363, 0.526483416557312, -0.1591905653476715, -0.6192482113838196, -0.5343574285507202, 0.20744679868221283, -0.46465182304382324, -0.44837647676467896, -0.7512856721878052, -0.5800836682319641, -0.24991050362586975, -0.21441586315631866, -0.28648653626441956, 0.05102807655930519, -0.6393401026725769, -0.06823895871639252, 0.21004962921142578, 0.5587461590766907, 0.48030102252960205, 0.29637983441352844, -0.992071270942688, 0.46600255370140076, 0.28417089581489563, 0.483462929725647, 0.051097482442855835, -0.12606240808963776, -0.12035147845745087, -0.03895498812198639, -0.15786822140216827, -0.9059364795684814, 0.6755469441413879, 0.03199981153011322, 0.24770064651966095, 0.6732950806617737, -0.12777382135391235, 0.38062793016433716, -0.48789095878601074, 0.7037688493728638, 0.5561651587486267, -0.634523868560791, 0.5302335619926453, -0.1773359626531601, 0.020645182579755783, 0.6556724905967712, 0.45500117540359497, -0.5283342003822327, -0.25442084670066833, -0.3905678689479828, -0.5023855566978455, 0.2710694670677185, -0.02796260081231594, 0.3565019965171814, -0.17519021034240723, 0.42874372005462646, 0.41292688250541687, 0.23611409962177277, -0.5496382117271423, -0.19813503324985504, -0.2257293164730072, -0.9672183990478516, 0.04527514427900314, -0.33886533975601196, 0.0951414555311203, -0.6518061757087708, 0.39853209257125854, -0.10463054478168488, 0.5596559643745422, 0.540486752986908, 0.02931327000260353, 0.1670544147491455, 0.12936227023601532, 0.27562254667282104, 0.10466960817575455, -0.232737198472023, -0.026262130588293076, 0.16633953154087067, -0.7579138875007629, -0.20501278340816498, 0.19603805243968964, 0.036557190120220184, 0.31113922595977783, 0.42861515283584595, 0.8268968462944031, -0.028486603870987892, -0.45787233114242554, 0.9320371150970459, -0.2796325385570526, -0.1216464713215828, -0.18565386533737183, -0.1795523464679718, 0.12075413018465042, 0.21159732341766357, 0.06423097103834152, 0.5570752620697021, 0.41489145159721375, -0.1615331918001175, 0.09034444391727448, 0.5322316288948059, -1.0750569105148315, -0.3130102753639221, 0.4246782660484314, 0.3255314826965332, -0.13791291415691376, 0.9508888721466064, 0.11809732764959335, -0.61050945520401, 0.7034233808517456, 0.19019797444343567, 1.063359260559082, 0.012967427261173725, 0.4584275782108307, 0.15666136145591736, -0.015841316431760788, 0.25150105357170105, 0.3573604226112366, 0.3262157440185547, -0.6583808064460754, -0.5530927181243896, -0.7192233800888062, -0.25270628929138184, -0.07556872814893723, -0.6282919049263, 0.28927361965179443, -0.44681844115257263, -0.4861246645450592, -0.026934776455163956, 0.09992897510528564, -0.977102518081665, 0.9739648699760437, 0.47787541151046753, 0.6340730786323547, -0.5288883447647095, 0.9175191521644592, 0.6891944408416748, -0.28779852390289307, -0.49611231684684753, -0.047642163932323456, -0.3731507360935211, -0.9803339242935181, 0.6672599911689758, 0.3271743953227997, -0.0017332311253994703, -0.3583424985408783, -0.6433049440383911, -0.1861133724451065, 0.6236717700958252, -0.008673000149428844, -0.7424219846725464, -0.11974354833364487, 0.25986233353614807, 1.1120777130126953, -0.5459503531455994, 0.09420401602983475, 0.38235121965408325, 0.04211069270968437, -0.029394712299108505, -0.5391173362731934, 0.010116606019437313, -0.2834049463272095, -0.19984261691570282, -0.09027589857578278, -0.5237545371055603, 0.9312762022018433, -0.12395860254764557, 0.15507285296916962, -0.1771613508462906, 0.46403199434280396, -0.12935318052768707, 0.24930138885974884, 0.2888922095298767, 0.5962012410163879, 0.6313228607177734, -0.0013945747632533312, 1.2108447551727295, -0.07154890894889832, 0.5381444096565247, 0.5660498738288879, -0.2350979447364807, 0.7399780750274658, 0.35422101616859436, -0.2334904968738556, 0.7769991755485535, 0.4710673987865448, -0.20667041838169098, 0.5745369791984558, -0.063773512840271, -0.32185009121894836, -0.30404290556907654, 0.17606830596923828, -0.5476340055465698, 0.40950632095336914, 0.3262403607368469, -1.0358034372329712, -0.053459443151950836, 0.3660394847393036, 0.09071467071771622, -0.17997179925441742, -0.22684821486473083, 0.9777948260307312, 0.41250714659690857, -0.4120255410671234, 0.2504032850265503, -0.07750415056943893, 0.6516733169555664, -0.39309990406036377, 0.20887622237205505, -0.10495609790086746, 0.41779595613479614, -0.11865624785423279, -0.8063864707946777, 0.28393346071243286, -0.14138983190059662, -0.18891750276088715, -0.19074706733226776, 0.916300356388092, -0.07185998558998108, -0.9465131759643555, 0.4792715609073639, 0.36476778984069824, -0.08963716775178909, -0.012147164903581142, -0.7924367785453796, -0.13117164373397827, 0.04493473842740059, -0.28898710012435913, 0.20714198052883148, 0.49538975954055786, 0.4235548973083496, 0.30881908535957336, 0.5770530104637146, 0.2846265733242035, -0.3496541380882263, 0.5641899108886719, 0.9822713732719421, -0.7034459710121155, -0.32056501507759094, -1.2062959671020508, 0.5861475467681885, -0.2905203104019165, -0.280282586812973, 0.3321278989315033, 0.32142144441604614, 0.2145276516675949, -0.35108962655067444, 0.7384946346282959, 0.22943668067455292, 0.6122639179229736, -0.2886212170124054, 1.26016104221344, -0.5583814978599548, -0.08278719335794449, -0.21551252901554108, -0.14978229999542236, -0.8199775218963623, 0.5840643644332886, -0.1079595685005188, -0.050490602850914, 0.6169212460517883, 0.2341313362121582, 0.13737167418003082, 0.30545809864997864, 0.2565959393978119, 0.2868686318397522, 0.2677062749862671, 0.5066191554069519, 0.5826110243797302, -0.5339097380638123, 0.11055310815572739, -0.23262828588485718, -0.015099974349141121, -0.48217424750328064, -0.7443150877952576, -1.0892000198364258, -0.2483787089586258, -0.31974896788597107, -0.45737409591674805, -0.14480258524417877, 0.8772518634796143, 0.6845803260803223, -0.9287129640579224, 0.3164807856082916, -0.02267332375049591, -0.04541965201497078, -0.13314656913280487, -0.16962125897407532, 0.7271151542663574, -0.6495150923728943, -0.4654058814048767, 0.05205836519598961, 0.3201785683631897, 0.06223994866013527, -0.09922491014003754, 0.057234667241573334, 0.130670964717865, 0.11568554490804672, 0.8818161487579346, -0.317017525434494, -0.38823461532592773, -0.14297813177108765, 0.23582656681537628, -0.48893144726753235, 0.46186795830726624, 0.846455991268158, -1.0441828966140747, 0.654283344745636, 0.3867420554161072, 0.7628015279769897, 0.20321644842624664, -0.2104114294052124, 0.45214229822158813, -0.5807564854621887, -0.0755043551325798, 0.7424169778823853, 0.4550822079181671, 0.38309571146965027, -0.46410953998565674, 0.03838688135147095, 0.0329861119389534, -0.5054928660392761, -0.5928270816802979, -0.08868080377578735, -1.0835777521133423, -0.5006062984466553, 0.882870078086853, 0.0955960750579834, -0.100973941385746, -0.0028890057001262903, -0.4527531862258911, 0.5156862735748291, -0.06228567659854889, 0.8369179368019104, 0.2769581079483032, -0.24934789538383484, 0.10027601569890976, -0.4832904636859894, 0.5878496766090393, 0.593529999256134, -0.6574566960334778, -0.4080618917942047, -0.003009906504303217, 0.0383860319852829, -0.0016609261510893703, 0.3853212893009186, -0.4108041524887085, 0.007680514361709356, -0.467080682516098, 0.1638425588607788, 0.04132767394185066, -0.18185459077358246, -0.5409405827522278, 0.39190474152565, -0.21385720372200012, -0.5134351253509521 ]
http://arxiv.org/abs/2404.10501v1
http://arxiv.org/pdf/2404.10501v1
Self-Supervised Visual Preference Alignment
2024-04-16T12:19:54
2024-04-16T12:19:54
Ke Zhu, Liang Zhao, Zheng Ge, Xiangyu Zhang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
This paper makes the first attempt towards unsupervised preference alignment in Vision-Language Models (VLMs). We generate chosen and rejected responses with regard to the original and augmented image pairs, and conduct preference alignment with direct preference optimization. It is based on a core idea: properly designed augmentation to the image input will induce VLM to generate false but hard negative responses, which helps the model to learn from and produce more robust and powerful answers. The whole pipeline no longer hinges on supervision from GPT4 or human involvement during alignment, and is highly efficient with few lines of code. With only 8k randomly sampled unsupervised data, it achieves 90\% relative score to GPT-4 on complex reasoning in LLaVA-Bench, and improves LLaVA-7B/13B by 6.7\%/5.6\% score on complex multi-modal benchmark MM-Vet. Visualizations shows its improved ability to align with user-intentions. A series of ablations are firmly conducted to reveal the latent mechanism of the approach, which also indicates its potential towards further scaling. Code will be available.
[ -0.5196282863616943, -0.38327714800834656, 0.558259904384613, -0.08794338256120682, -0.45937827229499817, -0.25453612208366394, -0.07029827684164047, -0.36073726415634155, 0.3381509780883789, 0.7229166626930237, -0.5579355359077454, -0.3574331998825073, -0.27155083417892456, -0.06382397562265396, -0.13401003181934357, 0.8270438313484192, 0.022409388795495033, 0.146183580160141, -0.4247008264064789, -0.2580585479736328, -0.4452475905418396, -0.5330551862716675, -0.08094534277915955, -0.09389256685972214, 0.5437389016151428, 0.49651044607162476, 0.5921077728271484, 0.8801976442337036, 0.7008008360862732, 0.3400847315788269, 0.22334085404872894, 0.2691704034805298, -0.5200783014297485, 0.07800772786140442, -0.27327385544776917, -0.23964589834213257, -0.6288108229637146, -0.05487852543592453, 0.16533923149108887, 0.2681833505630493, -0.08173884451389313, 0.26459893584251404, 0.14741787314414978, 1.0210896730422974, -0.5688907504081726, -0.06101786717772484, -0.6439167261123657, -0.05518361181020737, -0.26254701614379883, -0.2509371042251587, -0.2680678963661194, -0.052047502249479294, 0.08058405667543411, -0.6224309802055359, 0.08789270371198654, 0.23429718613624573, 0.7759893536567688, 0.6202578544616699, -0.4315449893474579, 0.22497642040252686, -0.44729164242744446, 0.8838404417037964, -0.4505152106285095, 0.32281991839408875, 0.12411843240261078, 0.3269708752632141, 0.05527670681476593, -0.5189409852027893, -0.42243334650993347, 0.0917782187461853, -0.09448336064815521, 0.3116602301597595, -0.12761397659778595, 0.1332801878452301, 0.1760362982749939, 0.3278268575668335, -0.6942725777626038, 0.17945311963558197, -0.42482027411460876, -0.2237289994955063, 0.7533023357391357, 0.24028602242469788, -0.009112095460295677, -0.17277689278125763, -0.6579657196998596, -0.10854116082191467, -0.49420076608657837, 0.27917882800102234, 0.3986263573169708, 0.15869592130184174, -0.03596198558807373, 1.0138118267059326, -0.5182014107704163, 1.044233798980713, 0.5758857131004333, 0.0019317870028316975, 0.5266267657279968, -0.6114720106124878, -0.43741101026535034, 0.0721454918384552, 0.8016085624694824, 1.090335488319397, 0.4156716763973236, 0.2597843408584595, -0.11345898360013962, 0.32128044962882996, 0.5244852304458618, -0.3748123347759247, -0.2820933163166046, 0.10779161006212234, -0.41670557856559753, -0.5425348281860352, -0.24834996461868286, -0.6891642808914185, -0.3562439978122711, -0.8873549103736877, 0.28441646695137024, -0.11517611891031265, -0.09784460812807083, 0.1158696711063385, 0.15651848912239075, 0.5069867968559265, 0.6797248721122742, -1.1807984113693237, 0.043819837272167206, 0.4405593276023865, 0.3943338096141815, -0.6520429849624634, -0.37752121686935425, -0.38040632009506226, 0.03789597377181053, -0.34986504912376404, 0.8234343528747559, -0.32098013162612915, -0.21661821007728577, -0.1417866051197052, 0.015309356153011322, 0.27216726541519165, -0.29717451333999634, 0.4446808695793152, -0.26788100600242615, 0.32808545231819153, -0.4289100170135498, -0.46163952350616455, 0.04229363426566124, 0.3587985038757324, -0.28464967012405396, 0.9426335096359253, 0.007083599455654621, -0.9092168211936951, 0.625498354434967, -0.5380386114120483, 0.03138089179992676, -0.018051842227578163, -0.4644252061843872, -0.32468172907829285, 0.0962691381573677, 0.7553419470787048, 0.3474724590778351, 0.08593787997961044, 0.24304047226905823, -0.7093839645385742, -0.14013980329036713, 0.07699072360992432, -0.3437415361404419, 0.663408100605011, 0.13830694556236267, -0.24603070318698883, 0.6274656653404236, -0.6009001731872559, 0.21848136186599731, 0.21556439995765686, 0.16629287600517273, -0.4610949754714966, -0.2335737645626068, -0.11401606351137161, 0.19867107272148132, 0.743786633014679, -0.5123872756958008, 0.582006573677063, -0.397405207157135, 0.0069241574965417385, 1.2095543146133423, -0.3403047025203705, 0.6909877061843872, 0.1282075196504593, 0.26440751552581787, 0.08585197478532791, 0.7799705862998962, 0.22028349339962006, -0.3684169352054596, -0.800443708896637, -0.137136772274971, 0.09126046299934387, 0.30361267924308777, -0.5932789444923401, 0.4181865155696869, -0.09338923543691635, -0.28275957703590393, -0.7640323638916016, 0.35014569759368896, 0.4527663290500641, 0.9421312212944031, 0.521828830242157, -0.47538429498672485, -0.6074238419532776, -1.3627653121948242, 0.0048877522349357605, -0.15980732440948486, 0.28782182931900024, 0.38992610573768616, 0.09729275852441788, -0.31329917907714844, 1.1404880285263062, -0.6370944976806641, -0.32209014892578125, 0.14853616058826447, -0.29376935958862305, 0.14749303460121155, 0.4737596809864044, 0.7625583410263062, -0.851584792137146, -0.4902275800704956, 0.1368178427219391, -0.9209882020950317, -0.21803835034370422, 0.4192829132080078, -0.42293205857276917, 0.3987036645412445, 0.23532910645008087, -0.13269001245498657, 0.6059108972549438, 0.624582827091217, -0.2579882740974426, 0.5512998104095459, -0.31348544359207153, 0.147338405251503, -0.9316619038581848, -0.17871949076652527, 0.19882386922836304, -0.25042444467544556, -0.47474339604377747, -0.14934200048446655, 0.1817401945590973, 0.2901357412338257, -0.520038366317749, 0.628002941608429, -0.43262410163879395, -0.3223908543586731, -0.2568240761756897, -0.05792532488703728, -0.12012818455696106, 0.6588284969329834, 0.24274522066116333, 0.7945783138275146, 0.6809064149856567, -0.28709790110588074, 0.575104832649231, 0.46202564239501953, -0.12719090282917023, 0.8278435468673706, -0.5083590745925903, 0.23331621289253235, -0.08718869835138321, -0.23308725655078888, -1.1430034637451172, -0.11312269419431686, 0.3475586175918579, -0.38303279876708984, 0.3428042232990265, -0.2749743163585663, 0.02529427595436573, -0.4627710282802582, -0.3198668658733368, 0.4125206172466278, 0.44344863295555115, -0.8172771334648132, 0.43776214122772217, 0.4511415660381317, 0.15648937225341797, -0.9345579147338867, -0.491396427154541, -0.029150711372494698, -0.2945803105831146, -0.6254259943962097, 0.1493852585554123, -0.29535558819770813, -0.22025629878044128, -0.04173767939209938, -0.14176620543003082, 0.2089516818523407, -0.2901346683502197, 0.3774005174636841, 0.6655924320220947, -0.20284175872802734, -0.09837611019611359, -0.25445568561553955, -0.2780405879020691, -0.32284682989120483, -0.31512680649757385, 0.40671175718307495, -0.47679662704467773, -0.5773091316223145, -0.28216496109962463, 0.24506649374961853, 0.4659099876880646, -0.41192352771759033, 0.0266850758343935, 0.6424825191497803, 0.12151675671339035, 0.4063822031021118, -0.7819399237632751, -0.03298425301909447, -0.5145690441131592, 0.11401699483394623, -0.3995918333530426, -0.9267346262931824, 0.16407588124275208, 0.24483539164066315, 0.005215722601860762, 0.4024460017681122, 0.7398240566253662, -0.517400860786438, 1.3738688230514526, 0.7216455936431885, -0.09785748273134232, 0.5639002919197083, -0.02510261908173561, 0.20911040902137756, -0.9511591196060181, -0.20131346583366394, 0.00787291768938303, -0.2928037643432617, -0.7239443063735962, -0.19175465404987335, 0.3551366925239563, -0.08428260684013367, -0.21046185493469238, 0.12275061011314392, -0.9569186568260193, 0.3632162809371948, 0.8045255541801453, 0.1301966905593872, 0.0859048068523407, 0.24790260195732117, -0.05182885006070137, -0.440618634223938, -0.41566237807273865, -0.31156402826309204, 1.2341463565826416, 0.14067219197750092, 0.9742613434791565, -0.037980832159519196, 0.7911763191223145, 0.2487785816192627, 0.18670015037059784, -0.7479503750801086, 0.5110408067703247, -0.10867653787136078, -0.39679157733917236, -0.5449934005737305, 0.00033135840203613043, -0.7182419896125793, 0.387588769197464, -0.3306419253349304, -0.7880645990371704, 0.29445523023605347, 0.632857620716095, -0.16093328595161438, -0.10631001740694046, -0.8574633598327637, 1.0229560136795044, -0.7624630928039551, -0.6795889735221863, 0.22410304844379425, -0.8827837109565735, 0.41565898060798645, -0.019017985090613365, -0.16784988343715668, 0.00877924170345068, 0.12516872584819794, 0.37885549664497375, -0.3194631040096283, 0.8126513361930847, -0.16560442745685577, 0.08542917668819427, 0.022309286519885063, -0.1827879697084427, 0.31783315539360046, -0.23286744952201843, 0.30817049741744995, 0.15827183425426483, -0.11538471281528473, -0.42995765805244446, -0.789695143699646, 0.749580979347229, -0.7218047976493835, -0.943015992641449, -0.40514400601387024, -0.36229363083839417, -0.2688961923122406, 0.2802075147628784, 0.252286821603775, 0.3013503849506378, 0.04804876446723938, 0.10303369909524918, 0.5386872291564941, 0.1919182986021042, 0.24986602365970612, 0.47557464241981506, -0.7563371658325195, -0.6623044013977051, 0.8444457054138184, -0.09477641433477402, 0.2642399072647095, 0.22756722569465637, 0.2720191180706024, -0.6727722883224487, -0.59196537733078, -0.6498783826828003, 0.19772714376449585, -0.732820451259613, -0.12094186246395111, -0.528626561164856, -0.027477800846099854, -0.629942774772644, -0.40378668904304504, -0.5383896231651306, -0.15991508960723877, -0.2772335708141327, -0.21933098137378693, 0.32553166151046753, 0.6136895418167114, -0.13684141635894775, 0.08723459392786026, -0.2944415211677551, 0.2933683395385742, 0.640461802482605, 0.23754434287548065, -0.524818480014801, -0.434573769569397, 0.0574173703789711, -0.009959224611520767, -0.13089123368263245, -0.6525855660438538, 0.5113961100578308, -0.31820014119148254, 0.5844756960868835, 0.6413265466690063, -0.01786981336772442, 0.9804328083992004, -0.3703736364841461, 0.8130239248275757, 0.5018313527107239, -0.6827008724212646, 0.6692277789115906, -0.3086855113506317, 0.12445519864559174, 0.6358636617660522, 0.03890515863895416, -0.023063914850354195, 0.01108937244862318, -0.549957811832428, -0.7011378407478333, 0.4619015157222748, 0.05891266465187073, -0.17139706015586853, 0.2945697605609894, 0.2218015193939209, 0.030665630474686623, 0.26801130175590515, -0.6733499765396118, -0.47777822613716125, -0.5749322772026062, -0.2848581075668335, -0.35441792011260986, -0.4245125949382782, -0.3296331465244293, -0.6101974844932556, 0.5904962420463562, -0.5024417042732239, 0.0001423677458660677, 0.28501781821250916, 0.05888687074184418, -0.15307867527008057, -0.009418913163244724, 0.8247702717781067, 0.6089745163917542, -0.3224286735057831, 0.1981976181268692, -0.04994793236255646, -0.1494358330965042, 0.15057049691677094, -0.24881890416145325, -0.1662156730890274, -0.42799824476242065, -0.07431235909461975, 1.0068706274032593, -0.1305605173110962, -0.21059101819992065, 0.8375670313835144, -0.2710632085800171, -0.26595520973205566, -0.23857198655605316, -0.0069089545868337154, -0.15031211078166962, 0.29539960622787476, 0.05381237715482712, 0.28286612033843994, 0.2549285888671875, -0.24733465909957886, 0.2632896900177002, 0.8093932271003723, -0.7156206369400024, -0.06884518265724182, 0.6480600833892822, 0.12149004638195038, -0.022101327776908875, 0.3490835428237915, 0.10529354959726334, -0.4269641935825348, 0.3191862106323242, 0.5202797055244446, 0.6338434815406799, -0.1490665227174759, 0.17628216743469238, 0.28955933451652527, 0.18551546335220337, 0.038432102650403976, 0.1685652732849121, -0.09846986085176468, -0.8935805559158325, -0.3511853516101837, -0.5993533730506897, -0.3152795732021332, 0.011402586475014687, -0.7442798614501953, 0.282682329416275, -0.10348125547170639, -0.1855882853269577, -0.018902665004134178, -0.1596943438053131, -0.6905533671379089, 0.3595731258392334, 0.14548158645629883, 0.41417983174324036, -0.8608922362327576, 0.8967013359069824, 0.7289733290672302, -0.3958703279495239, -0.7184390425682068, -0.3336086571216583, 0.21454955637454987, -1.2925777435302734, 0.7461093068122864, -0.01862763799726963, -0.2711564004421234, -0.015444251708686352, -0.8979344367980957, -1.0125354528427124, 0.902975857257843, 0.301566481590271, -0.6543375253677368, 0.19023047387599945, -0.16671225428581238, 0.5556078553199768, -0.47611966729164124, 0.1159287616610527, 0.38942453265190125, 0.5210519433021545, 0.2543350160121918, -0.9655293226242065, -0.29319310188293457, -0.3440691828727722, 0.017465533688664436, 0.1777842938899994, -0.6489711999893188, 0.5381055474281311, -0.32253298163414, 0.1961314082145691, -0.17241276800632477, 0.7371916770935059, 0.12195432186126709, 0.27667683362960815, 0.5935912728309631, 0.71224445104599, 0.4620746374130249, 0.032748784869909286, 0.9272865056991577, -0.20336933434009552, 0.2845948338508606, 1.2041163444519043, -0.3458980917930603, 0.5728376507759094, 1.0433226823806763, -0.16002397239208221, 0.001801020698621869, 0.7538305521011353, -0.05206264182925224, 0.7715949416160583, -0.235836461186409, 0.18641100823879242, -0.5736003518104553, -0.17656803131103516, -0.47669148445129395, 0.6694719195365906, 0.018686441704630852, -0.32088354229927063, 0.06611664593219757, -0.14815887808799744, -0.4748001992702484, 0.01427196804434061, -0.3270058035850525, 0.913726806640625, -0.08171353489160538, -0.7047626376152039, 0.5774049758911133, -0.5799798965454102, 0.7357960343360901, -0.4299274981021881, 0.08390669524669647, -0.18728071451187134, 0.10179463773965836, -0.33329516649246216, -1.1045588254928589, -0.057345014065504074, -0.1837271749973297, -0.21184231340885162, -0.2526499927043915, 0.8781466484069824, -0.45837149024009705, -0.45166927576065063, 0.19563621282577515, 0.5158641338348389, -0.002917660865932703, 0.07798870652914047, -0.7325218319892883, -0.05169350281357765, 0.5005508065223694, -0.2236751914024353, 0.5070621967315674, 0.09105449169874191, -0.18528950214385986, 0.4942263066768646, 0.7129137516021729, -0.010619843378663063, 0.07815248519182205, 0.13904011249542236, 0.861721396446228, -0.46544110774993896, -0.3385051488876343, -0.8650640249252319, 0.5611635446548462, -0.40789687633514404, -0.29105788469314575, 0.7446609139442444, 0.5447118282318115, 0.9428257346153259, -0.25991740822792053, 0.7566589117050171, 0.2971232831478119, 0.18605250120162964, -0.6169729828834534, 0.1739797592163086, -0.8217846155166626, -0.09424743801355362, -0.39362815022468567, -0.9849364757537842, -0.3841775953769684, 0.5675488114356995, -0.5348581075668335, -0.20413611829280853, 0.4440929591655731, 0.8692346215248108, -0.15295353531837463, -0.37826040387153625, 0.6305631995201111, -0.21536357700824738, 0.17209511995315552, 0.28659775853157043, 0.8356465101242065, -0.04906419664621353, 0.2658512592315674, -0.5335264205932617, -0.3532007932662964, -0.4452669620513916, -0.924278736114502, -0.6611770391464233, -0.6625595688819885, -0.3114987909793854, -0.2593787610530853, -0.07315753400325775, 0.8772069215774536, 0.5740630626678467, -0.5946282148361206, -0.07265718281269073, 0.07683928310871124, -0.09076448529958725, -0.09372062981128693, -0.15238149464130402, 0.36710870265960693, -0.11444041132926941, -0.6060203313827515, 0.25568991899490356, 0.6013323068618774, 0.37176358699798584, -0.4357001483440399, -0.28750935196876526, 0.14028958976268768, -0.20424284040927887, 0.49669578671455383, 0.3288770020008087, -1.0898231267929077, -0.48733535408973694, 0.1903146207332611, -0.2511458098888397, 0.6072134375572205, 0.4640160799026489, -0.571858823299408, 0.9808278679847717, 0.3753436505794525, 0.37063533067703247, 0.559032142162323, 0.4121299982070923, 0.5488636493682861, -0.5405978560447693, 0.10160183906555176, -0.03525249660015106, 0.5896291732788086, 0.46359673142433167, -0.42315468192100525, 0.6334607601165771, 0.15165865421295166, -0.6489439010620117, -0.6338484287261963, 0.42734795808792114, -1.5110214948654175, 0.13250519335269928, 1.1568750143051147, 0.3100925087928772, -0.4167775809764862, 0.14397375285625458, -0.7869117856025696, 0.07590139657258987, -0.39189231395721436, 0.6191540956497192, 0.3676089644432068, -0.4919343590736389, -0.2124864012002945, -0.19266462326049805, 0.5038221478462219, 0.457758367061615, -0.5339921712875366, -0.01431199163198471, 0.7615396976470947, 0.3150634169578552, 0.10484791547060013, 0.9544603824615479, -0.15094241499900818, 0.14334505796432495, -0.35913407802581787, 0.5454457402229309, -0.22846731543540955, -0.2592200040817261, -0.48041829466819763, -0.019767193123698235, 0.17953284084796906, -0.4694887101650238 ]
http://arxiv.org/abs/2404.10500v1
http://arxiv.org/pdf/2404.10500v1
When Emotional Stimuli meet Prompt Designing: An Auto-Prompt Graphical Paradigm
2024-04-16T12:19:08
2024-04-16T12:19:08
Chenggian Ma, Xiangyu Zhao, Chunhui Zhang, Yanzhao Qin, Wentao Zhang
cs.CL
cs.CL, cs.AI, 68T20, I.2.7
With the development of Large Language Models (LLM), numerous prompts have been proposed, each with a rich set of features and their own merits. This paper summarizes the prompt words for large language models (LLMs), categorizing them into stimulating and framework types, and proposes an Auto-Prompt Graphical Paradigm(APGP) that combines both stimulating and framework prompts to enhance the problem-solving capabilities of LLMs across multiple domains, then exemplifies it with a framework that adheres to this paradigm. The framework involves automated prompt generation and consideration of emotion-stimulus factors, guiding LLMs in problem abstraction, diversified solutions generation, comprehensive optimization, and self-verification after providing answers, ensuring solution accuracy. Compared to traditional stimuli and framework prompts, this framework integrates the advantages of both by adopting automated approaches inspired by APE work, overcoming the limitations of manually designed prompts. Test results on the ruozhiba and BBH datasets demonstrate that this framework can effectively improve the efficiency and accuracy of LLMs in problem-solving, paving the way for new applications of LLMs.
[ -0.7342435121536255, -1.0126789808273315, 0.7493216395378113, 0.7883280515670776, -0.1088632196187973, -0.09292466193437576, -0.20024096965789795, -0.3514494299888611, 0.06902244687080383, 0.19587291777133942, -0.840836763381958, -0.25263863801956177, -0.4117303192615509, 0.8153205513954163, -0.11154820770025253, 0.5535241961479187, -0.30113691091537476, -0.12632523477077484, -0.08768410235643387, 0.03570718318223953, -0.5567741394042969, -0.4590737521648407, -0.7491856813430786, -0.2230774164199829, 0.7149541974067688, 0.33742666244506836, 0.657011091709137, 0.8382088541984558, 0.21843673288822174, 0.38233309984207153, 0.12342304736375809, 0.0897572785615921, 0.055560361593961716, 0.3914044499397278, 0.039603523910045624, -0.24018603563308716, -0.458418607711792, -0.06182359531521797, 0.23659221827983856, 0.5879290699958801, -0.14413122832775116, -0.08187578618526459, 0.06061221659183502, 0.6064390540122986, -0.39395055174827576, 0.4631810188293457, -0.13624577224254608, 0.23900535702705383, 0.16397301852703094, -0.3478996455669403, -0.4974134564399719, -0.18023952841758728, 0.11375398933887482, -0.5463489294052124, -0.16477884352207184, 0.35224348306655884, 0.5472551584243774, 0.3370649218559265, -0.48182564973831177, -0.376709908246994, -0.15840858221054077, 0.40420010685920715, -0.5939749479293823, 0.06352382898330688, -0.08604489266872406, 0.08283555507659912, -0.5072643756866455, -0.2268458902835846, -0.5527017712593079, -0.3419121503829956, -0.105951227247715, -0.11786948144435883, -0.4457490146160126, 0.19905860722064972, 0.4436081051826477, 0.15894047915935516, -0.724279522895813, 0.37676990032196045, 0.15559762716293335, -0.07924836128950119, 0.7402342557907104, 0.5673390626907349, 0.6570600271224976, -0.3261859714984894, -0.33217373490333557, -0.036522332578897476, -0.7556928396224976, -0.03553898632526398, 0.16593748331069946, 0.4574621915817261, -0.2644703984260559, 0.4839843809604645, -0.23185856640338898, 1.0018110275268555, 0.2638569474220276, -0.01197575218975544, 0.11423224955797195, 0.11848105490207672, -0.21213524043560028, -0.09085243195295334, 0.9907820224761963, 0.37181928753852844, 0.3423948585987091, 0.2595261037349701, -0.465750128030777, 0.17864234745502472, -0.15787196159362793, -0.796202540397644, -0.17718292772769928, 0.3253316879272461, -0.6107855439186096, -0.2581177353858948, -0.5276349782943726, -0.8472287654876709, -0.6256078481674194, -0.6712822318077087, 0.21369148790836334, -0.318403035402298, -0.32187730073928833, 0.0774841383099556, -0.02281072363257408, 0.11134988814592361, 0.5066606998443604, -0.913560152053833, -0.12351960688829422, 0.46846136450767517, 0.7927353382110596, -0.3421930968761444, -0.15084204077720642, -0.515853226184845, -0.14745575189590454, -0.4827384352684021, 0.9249705076217651, -0.6705541014671326, -0.6039652824401855, 0.2964487075805664, -0.08916153013706207, 0.3581702411174774, -0.332435667514801, 0.3728410601615906, -0.2581225037574768, 0.34838101267814636, -0.49977657198905945, -0.37283775210380554, -0.13245104253292084, 0.17549264430999756, -0.617033064365387, 1.0829514265060425, 0.04523468390107155, -0.4224873483181, 0.2709077000617981, -0.898949146270752, -0.3677217960357666, 0.39052751660346985, -0.3540368378162384, 0.14915110170841217, 0.22029145061969757, 0.3147110342979431, 0.5613411068916321, -0.509289562702179, 0.3376820683479309, -0.33180803060531616, 0.05065588280558586, 0.22542569041252136, -0.11318445950746536, 0.6799247860908508, 0.38417187333106995, -0.45508334040641785, 0.4404238760471344, -0.7181828022003174, -0.010871275328099728, 0.3286459147930145, -0.07551954686641693, -0.1791428029537201, -0.16202037036418915, 0.00031960205524228513, 0.6254655718803406, 0.26587629318237305, -0.24538075923919678, 0.35388582944869995, -0.11869000643491745, 0.44752833247184753, 0.961216151714325, -0.1018856018781662, 0.334741473197937, -0.14446544647216797, 0.802690863609314, -0.03629671037197113, -0.12380097061395645, -0.7463155388832092, -0.3677067756652832, -0.6682848334312439, -0.45985403656959534, -0.18689186871051788, 0.4757959544658661, -0.6564596891403198, 0.5489059686660767, 0.37258201837539673, -0.3783451020717621, -0.2067292481660843, -0.09389059990644455, 0.1652524471282959, 0.6132855415344238, 0.22299906611442566, -0.1341034173965454, -0.46837854385375977, -0.8374971747398376, -0.08952195942401886, -0.22076289355754852, -0.00914898980408907, 0.5479110479354858, 0.3374873995780945, -0.18414294719696045, 1.0380440950393677, -0.5015241503715515, 0.013220718130469322, -0.10515882074832916, 0.6410940885543823, 0.39541617035865784, 0.3282198905944824, 0.6865186095237732, -0.6687877774238586, -0.49646374583244324, -0.43683138489723206, -0.8540669679641724, -0.8468289971351624, -0.08219388127326965, -0.035905275493860245, 0.3638264536857605, 0.4536244571208954, -0.6639708280563354, 0.14046841859817505, 0.21759741008281708, -0.589171290397644, 0.9238760471343994, -0.10976094007492065, 0.15555551648139954, -0.8008731603622437, 0.024152131751179695, 0.32726672291755676, 0.15053148567676544, -0.3568303883075714, 0.03794393688440323, -0.010960894636809826, -0.6233795881271362, -0.2530604302883148, 1.015584945678711, -0.6905168294906616, 0.04224788770079613, -0.607846736907959, 0.21815744042396545, 0.011538189835846424, 0.5110512375831604, 0.32593733072280884, 0.871738612651825, 0.7818759083747864, -0.6879897713661194, 0.9417523741722107, 0.26337870955467224, -0.11494392901659012, 0.998988687992096, -0.8479365706443787, 0.02653373032808304, -0.45778241753578186, 0.5350088477134705, -1.1750150918960571, -0.49659353494644165, 0.21605223417282104, -0.10175324976444244, 0.26413023471832275, 0.2274751514196396, -0.6494244933128357, -0.6733053922653198, -0.04981003329157829, 0.357241153717041, 0.5557979345321655, -0.643426775932312, 0.7539610862731934, 0.12301795929670334, -0.6895880103111267, -0.3950836658477783, -0.458405077457428, 0.3443366587162018, -0.4281541705131531, -0.7044870853424072, 0.25908324122428894, -0.20744606852531433, -0.24851201474666595, -0.12575297057628632, 0.2739391326904297, 0.3925083875656128, 0.04017152264714241, 0.22834396362304688, 0.6071996092796326, -0.06916327774524689, 0.3482881188392639, -0.19327397644519806, -0.3607073426246643, 0.37046319246292114, -0.2352602779865265, 0.7667974233627319, -0.11979397386312485, -0.222657710313797, -0.47417277097702026, 0.7822149395942688, 0.41072678565979004, -0.36309167742729187, 0.2777590751647949, 0.4740195870399475, -0.35351303219795227, -0.2716277539730072, -0.34740161895751953, -0.10104014724493027, -0.5747457146644592, 0.3689125180244446, -0.5001971125602722, -0.7728862166404724, 0.5338618159294128, -0.1764046847820282, 0.17721331119537354, 0.10895705968141556, 0.9136542677879333, 0.06131092458963394, 1.5499061346054077, 0.8152015209197998, -0.09430201351642609, 0.7841442823410034, 0.28830990195274353, 0.18122711777687073, -0.6888744235038757, -0.18818430602550507, -0.5318923592567444, -0.13952495157718658, -0.3457900285720825, -0.10913217067718506, 0.47108107805252075, -0.06218486651778221, -0.6072632074356079, 0.12608350813388824, -0.7093399167060852, 0.24457532167434692, 0.1643603891134262, -0.32963454723358154, -0.026242444291710854, -0.10441833734512329, -0.387451708316803, 0.11565515398979187, -0.79366135597229, -0.5819807052612305, 0.6495006084442139, 0.32267478108406067, 0.8882479667663574, -0.025555303320288658, 0.4704025685787201, 0.3227223753929138, 0.5680080056190491, -0.8791199326515198, 0.7975602149963379, 0.33505451679229736, -0.4492626488208771, -0.229823499917984, -0.321056067943573, -0.8409535884857178, 0.14519621431827545, -0.11717800050973892, -0.9623429775238037, 0.3803677558898926, 0.32752230763435364, -0.42658475041389465, -0.23359879851341248, -0.5165387392044067, 0.7190570831298828, -0.46049603819847107, -0.2753899395465851, -0.02815880998969078, -0.4803542494773865, 0.17539149522781372, 0.012867576442658901, 0.364004909992218, -0.37697935104370117, -0.27491194009780884, 0.5251535773277283, -0.3455555737018585, 0.7130794525146484, -0.1234319731593132, -0.7064451575279236, 0.33082014322280884, 0.2913876175880432, 0.7082876563072205, -0.13100774586200714, -0.26262885332107544, -0.501643180847168, -0.526906430721283, -0.20930880308151245, -0.7455207705497742, 0.5482289791107178, -0.4484124779701233, -0.7583900094032288, -0.3390751779079437, -0.6190093755722046, -0.32853466272354126, 0.10121580958366394, 0.22893254458904266, 0.7499138116836548, -0.11937687546014786, -0.41938021779060364, 0.7037258744239807, -0.4279399514198303, 0.7024646997451782, 0.5992314219474792, -0.4902714192867279, -0.2903707027435303, 0.6591756939888, -0.3222932815551758, 0.06487095355987549, -0.054026685655117035, 0.014621163718402386, -0.5346828103065491, -0.09871084243059158, -0.6857321858406067, 0.23444579541683197, -0.9162580966949463, -0.33783555030822754, -0.6655005812644958, 0.15248849987983704, -0.31996408104896545, -0.43853268027305603, 0.1629544049501419, 0.010689923539757729, -0.34176158905029297, 0.010480252094566822, 0.5581555962562561, 0.5078193545341492, -0.2022886723279953, 0.20124457776546478, -0.7543357610702515, 0.3230462372303009, 0.3265973627567291, 0.2873818278312683, 0.30286628007888794, -0.3065921664237976, 0.16998620331287384, -0.19050247967243195, -0.11346571892499924, -1.0428667068481445, 0.599982500076294, 0.05502288416028023, 0.43552061915397644, 0.46368324756622314, 0.09736677259206772, 0.45590025186538696, -0.6376982927322388, 0.7935011386871338, 0.522128701210022, -0.944177508354187, 0.5429163575172424, -0.6652448177337646, 0.23668794333934784, 0.06133786961436272, 0.6014286279678345, -0.7589545845985413, -0.1630854606628418, -0.49205508828163147, -0.991304874420166, 0.6103803515434265, -0.25328490138053894, 0.19366982579231262, -0.29717329144477844, 0.30403581261634827, 0.10463426262140274, 0.25477951765060425, -0.5544212460517883, -0.35607069730758667, -0.08072927594184875, -0.5280249118804932, 0.10431864112615585, -0.1811545193195343, -0.2423464059829712, -0.08563783764839172, 0.5424875617027283, -0.4202285408973694, 0.6124008297920227, 0.16850675642490387, 0.025708112865686417, -0.4542083144187927, 0.356373131275177, 0.16516666114330292, 0.3144480884075165, 0.2871125340461731, -0.01796286553144455, 0.006658679805696011, 0.23018233478069305, 0.5821536779403687, 0.026464425027370453, 0.036217935383319855, -0.14535517990589142, 0.23169435560703278, 0.9992274045944214, -0.10246503353118896, -0.7669903635978699, 0.26199766993522644, 0.05740031972527504, 0.06004999577999115, -0.1572786569595337, 0.2980645000934601, -0.06185790151357651, 0.26145875453948975, 0.6863673329353333, -0.43707275390625, 0.25859299302101135, -0.7802785634994507, 0.06178240105509758, 0.403909295797348, -0.07135287672281265, -0.10144400596618652, 0.6225773096084595, 0.54206383228302, -0.5347753167152405, 0.480286180973053, -0.3307456076145172, -0.7148609161376953, 0.7617940306663513, 0.8963608145713806, 0.8200258016586304, -0.29725465178489685, 0.24471770226955414, 0.30520692467689514, -0.2712678015232086, -0.12028224766254425, 0.4615360200405121, -0.11178203672170639, -0.4978479743003845, -0.48324155807495117, -0.49399277567863464, -0.3178883492946625, 0.06773608922958374, -0.4881666302680969, 0.4583997428417206, -0.4537910223007202, -0.1713283210992813, 0.06715921312570572, -0.13670849800109863, -0.5059602856636047, 0.44543007016181946, 0.5551027655601501, 1.0919519662857056, -0.821593701839447, 0.15520943701267242, 0.8967201113700867, -0.1694597750902176, -0.9017137289047241, -0.25636711716651917, 0.26307210326194763, -0.7856318354606628, 0.7799718976020813, 0.3154001832008362, -0.026366455480456352, 0.16987885534763336, -0.7818611860275269, -0.8081631064414978, 0.6569821834564209, 0.1650150865316391, -0.5400595664978027, -0.08257924020290375, -0.10643705725669861, 0.48714837431907654, -0.809708297252655, 0.45672616362571716, 0.4997788071632385, 0.6944410800933838, 0.08673218637704849, -0.7451127171516418, 0.5031611919403076, -0.6169232726097107, 0.04632548987865448, 0.2585630714893341, -0.7922640442848206, 0.7683233618736267, -0.2347407341003418, -0.36464667320251465, 0.09893330186605453, 0.7488130927085876, 0.6037788987159729, -0.07989971339702606, 0.6286208033561707, 0.1839708536863327, 0.6870054006576538, -0.22844333946704865, 0.8710706233978271, -0.5322876572608948, 0.08222905546426773, 0.6575008034706116, -0.38215768337249756, 0.2879701256752014, 0.24243056774139404, -0.12343708425760269, 0.7163017988204956, 1.0637956857681274, -0.13489024341106415, 0.21705050766468048, 0.3402383625507355, -0.2058575600385666, -0.4581030607223511, -0.3755472004413605, -0.4792419373989105, 0.19495327770709991, 0.546667218208313, -0.14062565565109253, -0.2546807825565338, 0.2696647047996521, 0.029968004673719406, -0.10806278884410858, -0.4431164860725403, 0.6159000992774963, 0.3839937746524811, -0.7886540293693542, 0.5521444082260132, 0.07805826514959335, 0.661704421043396, -0.43668892979621887, 0.017890185117721558, -0.247338205575943, -0.40825536847114563, -0.16652798652648926, -0.7761593461036682, -0.09370053559541702, 0.1582176238298416, -0.011477217078208923, -0.44500187039375305, 0.7036505341529846, -0.3887200355529785, -0.19184310734272003, 0.10724105685949326, 0.5195729732513428, -0.09835238754749298, 0.13001443445682526, -0.8822035193443298, 0.12200669199228287, -0.40016794204711914, -0.4116533696651459, 0.1628008335828781, 0.932326078414917, -0.03531673178076744, 1.0330307483673096, 0.48719146847724915, -0.053767308592796326, -0.3773941099643707, -0.17570562660694122, 0.8307290077209473, -0.7553151249885559, -0.970420241355896, -0.9586387872695923, 0.4490961730480194, -0.06061369553208351, -0.3142293095588684, 0.49156245589256287, 0.007837329991161823, 0.026608075946569443, -0.009813628159463406, 0.8673538565635681, -0.2989248037338257, -0.028235729783773422, -0.35204339027404785, 0.2630063593387604, -0.6178199052810669, 0.06523022055625916, -0.629037618637085, -0.970851480960846, -0.16646264493465424, 0.7706863284111023, -0.3030966520309448, 0.1740458756685257, 0.5226653814315796, 0.6367216110229492, 0.34374725818634033, 0.17242684960365295, -0.13556647300720215, 0.10632261633872986, 0.3061579763889313, 0.7946028709411621, 1.0835983753204346, 0.23802849650382996, 0.06766030937433243, 0.1666315793991089, -0.5407719612121582, -0.5484420657157898, -1.2147750854492188, -0.866015613079071, -0.6391171216964722, -0.4487884044647217, -0.21184732019901276, -0.20672185719013214, 1.4848781824111938, 0.47013911604881287, -0.5338258743286133, -0.17686831951141357, -0.20673315227031708, -0.017503125593066216, 0.037151820957660675, -0.2640843093395233, 0.31135308742523193, -0.6272706985473633, -0.5798217058181763, 0.3169235587120056, 0.5433065891265869, 0.40362104773521423, -0.43738630414009094, 0.02452891133725643, 0.3463151752948761, 0.3771617114543915, 0.5471763014793396, 0.30085307359695435, -0.4470451772212982, -0.1662633866071701, 0.01889016665518284, -0.3267419934272766, 0.053448207676410675, 0.9301810264587402, -0.8742905259132385, 0.21210841834545135, 0.5683130621910095, 0.34652402997016907, -0.16316473484039307, 0.07875720411539078, 1.0847073793411255, -0.34438472986221313, 0.34804514050483704, 0.2024877369403839, 0.6626256108283997, 0.30374106764793396, -0.4943970739841461, 0.30786463618278503, 0.07141664624214172, -0.45074036717414856, -0.8883346319198608, 0.7155128121376038, -0.6846588253974915, -0.3621222674846649, 1.3353960514068604, -0.23126064240932465, -0.333453893661499, -0.09208734333515167, -0.5265139937400818, 0.09306135028600693, -0.6246858239173889, 1.003220558166504, 0.9527081251144409, -0.554267406463623, -0.3411756157875061, -0.06436055153608322, 0.6931861042976379, 0.643505871295929, -1.0200680494308472, 0.3346737325191498, 0.8694522976875305, -0.06574423611164093, 0.14502333104610443, 0.5390685796737671, 0.05464484915137291, 0.32406187057495117, -0.2538706958293915, 0.0590912289917469, -0.1676614135503769, -0.40485042333602905, -0.48224273324012756, 0.17307321727275848, -0.010925340466201305, 0.40297022461891174 ]
http://arxiv.org/abs/2404.10475v1
http://arxiv.org/pdf/2404.10475v1
Conversations as a Source for Teaching Scientific Concepts at Different Education Levels
2024-04-16T11:33:36
2024-04-16T11:33:36
Donya Rooein, Dirk Hovy
cs.CL
cs.CL
Open conversations are one of the most engaging forms of teaching. However, creating those conversations in educational software is a complex endeavor, especially if we want to address the needs of different audiences. While language models hold great promise for educational applications, there are substantial challenges in training them to engage in meaningful and effective conversational teaching, especially when considering the diverse needs of various audiences. No official data sets exist for this task to facilitate the training of language models for conversational teaching, considering the diverse needs of various audiences. This paper presents a novel source for facilitating conversational teaching of scientific concepts at various difficulty levels (from preschooler to expert), namely dialogues taken from video transcripts. We analyse this data source in various ways to show that it offers a diverse array of examples that can be used to generate contextually appropriate and natural responses to scientific topics for specific target audiences. It is a freely available valuable resource for training and evaluating conversation models, encompassing organically occurring dialogues. While the raw data is available online, we provide additional metadata for conversational analysis of dialogues at each level in all available videos.
[ -0.29593801498413086, -0.8487918376922607, 0.31234580278396606, 0.230290025472641, -0.15434114634990692, 0.31829971075057983, -0.1855335235595703, -0.14024898409843445, -0.056729529052972794, 0.21524353325366974, -0.4726593494415283, -0.5250188112258911, -0.3291267156600952, -0.08823393285274506, -0.46484342217445374, 1.0818002223968506, 0.17095181345939636, 0.5844404101371765, -0.4848954379558563, -0.17677436769008636, -0.2553398311138153, -0.25551366806030273, -0.4419850707054138, 0.07033370435237885, 0.3363400101661682, 0.5834493041038513, 0.5394036769866943, 0.3051131069660187, 0.6877039670944214, 0.2864570617675781, -0.025316016748547554, 0.12084566056728363, -0.5828428268432617, 0.2511170208454132, -0.33323511481285095, -0.3549775183200836, 0.20733323693275452, -0.001211487571708858, 0.9025967121124268, 1.1685270071029663, -0.3962800204753876, 0.20786738395690918, 0.08605626970529556, 0.353851854801178, -0.2080180048942566, 0.33223944902420044, -0.8012780547142029, 0.42185071110725403, 0.10567177832126617, -0.3124277591705322, -0.4344058632850647, -0.4923839867115021, 0.4757540822029114, -0.8407558798789978, 0.44869253039360046, -0.24758802354335785, 0.5218294858932495, 0.22043509781360626, -0.4484299123287201, -0.6333914399147034, -0.7933688163757324, 0.6557127833366394, -0.6246331930160522, 0.36483004689216614, 0.2760489583015442, 0.26760542392730713, -0.2441154271364212, -0.6620517373085022, -0.6129938364028931, -0.4120770990848541, 0.19610577821731567, 0.07010191679000854, 0.04776863753795624, 0.10843421518802643, 0.08224516361951828, 0.3336423337459564, -0.20814326405525208, -0.14868178963661194, -0.7192667722702026, 0.2062956541776657, 0.28679391741752625, 0.339191734790802, 0.31028950214385986, -0.30082234740257263, 0.007511069066822529, -0.27493205666542053, -0.23227368295192719, 0.09593689441680908, 0.3972247540950775, 0.4240102469921112, -0.2988026738166809, 0.6488437056541443, 0.10243426263332367, 0.8873358368873596, -0.15427792072296143, -0.19995319843292236, -0.15252189338207245, -0.3963034749031067, 0.12158400565385818, -0.11535947024822235, 0.6361424922943115, 0.3598434627056122, 0.10153952240943909, 0.029405852779746056, 0.48618292808532715, 0.07656361162662506, 0.1433628797531128, -1.0605111122131348, -0.6490273475646973, -0.012057425454258919, 0.138595312833786, -0.3099488914012909, 0.10162832587957382, -0.7710198163986206, -0.2858937680721283, -0.13298951089382172, -0.23109403252601624, -0.25719964504241943, -0.024274185299873352, 0.058846939355134964, -0.08286815881729126, -0.07939404249191284, 0.3720758259296417, -1.121413230895996, 0.49488309025764465, 0.39830052852630615, 1.0217050313949585, -0.021094495430588722, 0.16213367879390717, -0.3360110819339752, 0.224790558218956, -0.3163931369781494, 0.5405625700950623, -0.7970827221870422, -0.6218349933624268, -0.12264015525579453, -0.19868823885917664, -0.056384239345788956, -0.26271095871925354, 0.23473197221755981, -0.16623130440711975, 0.5860660076141357, 0.17989718914031982, -0.4727957844734192, -0.01891128532588482, 0.33269059658050537, -0.416107177734375, 0.8076756596565247, 0.10299927741289139, -0.7830039858818054, 0.12617403268814087, -1.0024912357330322, -0.05983101949095726, 0.26036256551742554, -0.5937315821647644, 0.008544405922293663, -0.26235049962997437, 0.03856430575251579, 0.3558414578437805, -0.23617865145206451, 0.6706864833831787, -0.26848191022872925, 0.3881751000881195, 0.4752478003501892, -0.35949793457984924, 0.3800877034664154, 0.3744342029094696, -0.08062441647052765, 0.19312120974063873, -0.7539085745811462, 0.04834462329745293, -0.01677670143544674, -0.10643760114908218, -0.4731196165084839, 0.26212361454963684, -0.27154991030693054, -0.0755976065993309, -0.2514473795890808, -0.7554431557655334, 0.23270636796951294, -0.5353677272796631, 0.7612589001655579, 0.3918631672859192, 0.12455901503562927, 0.3898993730545044, -0.10449840873479843, 0.361274778842926, 0.04228699579834938, 0.06880160421133041, -0.44770127534866333, -0.7429448962211609, -0.7562718987464905, -0.024192431941628456, 0.033279869705438614, 0.3864220976829529, -0.5310172438621521, -0.09139279276132584, -0.09860928356647491, -0.8331529498100281, -0.8026630878448486, 0.3244813084602356, 0.36139971017837524, 0.8351348638534546, 0.2065008580684662, -0.4020605683326721, -0.4103797674179077, -0.6542648077011108, -0.010126304812729359, -0.157896488904953, -0.28831514716148376, 0.7930401563644409, 0.4491789937019348, 0.2571772336959839, 1.13668954372406, -0.6356601119041443, 0.11194298416376114, 0.1178174614906311, 0.3316730558872223, -0.017606554552912712, 0.43927597999572754, 0.40374767780303955, -0.6569197177886963, -0.5566163659095764, 0.14358888566493988, -0.9618921279907227, 0.2930682301521301, -0.04040075093507767, -0.10755616426467896, -0.23044921457767487, 0.078016497194767, -0.5780049562454224, 0.049829985946416855, 0.5474472641944885, -0.015343666076660156, 0.23451723158359528, 0.07532978802919388, 0.3781348168849945, -1.1411914825439453, 0.030236776918172836, 0.16740743815898895, 0.03301891312003136, -0.6828284859657288, 0.068535216152668, -0.4538401961326599, -0.5836462378501892, -0.9569503664970398, 0.4061027467250824, -0.23854877054691315, 0.06945285201072693, 0.18749955296516418, 0.42360585927963257, -0.150990828871727, 0.16377364099025726, 0.49306732416152954, 0.7026917934417725, 0.5866852402687073, -0.5534384250640869, 0.5361580848693848, 0.9334262013435364, -0.5182744860649109, 0.49539294838905334, -0.7190505862236023, 0.2588350474834442, -0.10828358680009842, 0.45883944630622864, -0.4915190041065216, -0.5226563215255737, 0.35707738995552063, -0.4567970335483551, -0.13729670643806458, -0.418266624212265, 0.09376006573438644, -0.19597972929477692, -0.06606028974056244, 0.2882968783378601, 0.16221503913402557, -0.3493208885192871, -0.032212357968091965, 0.430569589138031, -0.6779179573059082, -0.5335718989372253, -0.27861592173576355, 0.15705901384353638, -0.23298723995685577, -0.7931969165802002, -0.0929948017001152, -0.3709600865840912, -0.31815460324287415, 0.16515223681926727, -0.06277836859226227, -0.3435688018798828, -0.07291574776172638, 0.21994593739509583, 0.3381265103816986, -0.34524673223495483, 0.15745499730110168, 0.015592573210597038, 0.2938721477985382, 0.2551274597644806, -0.2504747211933136, 0.19583339989185333, -0.2182043045759201, -0.5745794773101807, -0.15015408396720886, 0.5408775806427002, 0.26653119921684265, 0.2077549695968628, 0.6687530279159546, 0.43797674775123596, -0.3124748766422272, -0.19712692499160767, -0.12275753170251846, -0.5978510975837708, -0.4715852439403534, 0.4540574550628662, -0.08146083354949951, -1.0810998678207397, 0.33992159366607666, 0.19540488719940186, 0.2232479453086853, -0.12539058923721313, 0.43165403604507446, -0.161236971616745, 1.0377646684646606, 0.32881835103034973, 0.5749598741531372, 0.4118441939353943, -0.27300986647605896, 0.3570259213447571, -0.46153154969215393, -0.7840273976325989, -0.6461226344108582, 0.21945370733737946, -0.24167129397392273, -0.6446213126182556, 0.2704516053199768, -0.24401472508907318, -0.34216317534446716, 0.12473192065954208, -0.667564332485199, 0.574447512626648, 0.4198282063007355, -0.0034863604232668877, 0.33071473240852356, 0.11353683471679688, 0.11878354847431183, -0.3747575581073761, -0.8499398827552795, -0.8463709950447083, 0.7761713862419128, 0.31871679425239563, 0.9793517589569092, 0.0706724151968956, 0.22235074639320374, 0.13873957097530365, 0.35586902499198914, -0.7619292140007019, 0.6299011707305908, 0.039510391652584076, -0.7303469777107239, -0.486368864774704, -0.6205212473869324, -0.8668042421340942, 0.14432336390018463, -0.23232951760292053, -0.7153013348579407, -0.1349937915802002, 0.059200480580329895, -0.37776708602905273, 0.469015508890152, -0.6548476219177246, 1.0729782581329346, -0.22581897675991058, -0.277861624956131, -0.21001878380775452, -0.9116518497467041, 0.49299970269203186, -0.031169496476650238, 0.21256496012210846, -0.2025749236345291, 0.37743717432022095, 0.9084635972976685, -0.3607577085494995, 1.096846580505371, -0.21452991664409637, -0.020760297775268555, 0.7668711543083191, 0.13424503803253174, -0.18440185487270355, 0.3321225047111511, 0.2779827415943146, -0.04052983969449997, 0.22976647317409515, -0.3312407433986664, -0.6527150869369507, 0.7003046274185181, -1.0119937658309937, -0.836585521697998, -0.5275974273681641, -0.6707580089569092, -0.35769107937812805, -0.11923140287399292, -0.16857288777828217, 0.23576156795024872, -0.27610403299331665, 0.5855687260627747, 0.7794929146766663, -0.3179306387901306, 0.012079667299985886, 0.6182959675788879, 0.16101737320423126, -0.14886581897735596, 1.010226845741272, -0.20079192519187927, 0.6569991707801819, 0.1822689324617386, 0.25794604420661926, 0.0020726227667182684, -0.5259753465652466, -0.32398781180381775, -0.0776735246181488, -0.8767730593681335, -0.23222094774246216, -0.8611862063407898, -0.3828710913658142, -0.440714031457901, -0.18633727729320526, -0.1918184608221054, -0.7039769887924194, -0.5416638851165771, -0.45881950855255127, 0.4511003792285919, 0.732392430305481, 0.0021230264101177454, 0.37444886565208435, -1.0945056676864624, 0.27276039123535156, 0.547681987285614, 0.16702120006084442, 0.005073612090200186, -0.36111223697662354, -0.12928922474384308, 0.5232344269752502, -0.6687257289886475, -1.0405430793762207, 0.5773486495018005, 0.7314600944519043, 0.6136264204978943, 0.3258405029773712, -0.03194236010313034, 0.5939794778823853, -0.2450966238975525, 1.1606042385101318, 0.5743455290794373, -0.9123572707176208, 0.9170658588409424, -0.5044253468513489, -0.18042278289794922, 0.41453248262405396, 0.8315316438674927, -0.7107186317443848, -0.4919438362121582, -0.5272994637489319, -0.788135290145874, 0.9001999497413635, 0.07282144576311111, 0.4928591549396515, -0.14500048756599426, -0.030475953593850136, 0.4623657166957855, 0.43382924795150757, -0.6546512246131897, 0.16930390894412994, -0.8900076746940613, -0.30463072657585144, 0.04313519597053528, 0.24745281040668488, -0.6275774240493774, -0.43392494320869446, 0.5425663590431213, -0.16423489153385162, -0.008754427544772625, 0.06450112164020538, -0.04055909812450409, -0.26650434732437134, 0.3958386480808258, 0.5799667239189148, 0.49121350049972534, -0.2189841866493225, 0.023942919448018074, 0.07554929703474045, -0.6465470790863037, 0.0055441283620893955, -0.1344773918390274, -0.005999893415719271, -0.08912767469882965, 0.019693361595273018, 0.9016767144203186, 0.6328701972961426, -0.8871256113052368, 0.1978110671043396, 0.04485049098730087, -0.13192076981067657, -0.15321452915668488, 0.34342530369758606, 0.27533385157585144, 0.038223810493946075, 0.36903607845306396, -0.12026898562908173, 0.2053256630897522, -0.6955685019493103, 0.2647501826286316, 0.2688715159893036, -0.42885106801986694, -0.40967264771461487, 0.7245753407478333, 0.6466845273971558, -0.3969958424568176, 0.9261137247085571, 0.01271399762481451, -0.16073577105998993, 0.5298370122909546, 0.6273167133331299, 0.510399341583252, -0.27644211053848267, 0.8047058582305908, 0.4745138883590698, -0.12839123606681824, 0.12486463785171509, 0.06618155539035797, -0.2755333483219147, -0.7785770893096924, -0.2931980788707733, -0.4442516565322876, -1.142115831375122, 0.043628890067338943, -0.564161479473114, 0.09480530768632889, -0.44596511125564575, -0.17783868312835693, 0.31051337718963623, -0.336404949426651, -0.47197166085243225, -0.09766608476638794, 0.20510812103748322, 0.7440447211265564, -0.936973512172699, 0.44345661997795105, 0.7038136124610901, -0.5204270482063293, -0.7518747448921204, -0.7575555443763733, -0.1323225349187851, -0.5162416696548462, 0.676522970199585, -0.15986210107803345, -0.07421854138374329, 0.011650756001472473, -0.9917696714401245, -0.5922641158103943, 0.6471807360649109, 0.5566391944885254, -0.4446590542793274, -0.2935156524181366, 0.4219263792037964, 0.6501165628433228, -0.6826451420783997, 0.3923124074935913, 0.15624424815177917, 0.35465776920318604, 0.6366249918937683, -0.8282488584518433, -0.3538516163825989, -0.6199992299079895, -0.500206708908081, -0.16982805728912354, -0.4122604727745056, 0.6146308779716492, -0.3261728882789612, -0.16030773520469666, 0.07624634355306625, 0.6934969425201416, 0.41198545694351196, 0.7529307007789612, 0.16630634665489197, 0.16285386681556702, 0.5634608268737793, -0.13641543686389923, 0.4235173165798187, -0.18975861370563507, 0.1629640907049179, 0.9604719281196594, -0.2007521241903305, 0.6771191358566284, 0.4832301735877991, -0.3812916874885559, 0.5162484645843506, 0.8623497486114502, -0.1619182676076889, 0.4171139597892761, 0.4628688395023346, -0.47323453426361084, -0.054962318390607834, -0.3952283263206482, -0.4516257345676422, 0.2168985903263092, 0.9365228414535522, 0.10016721487045288, -0.16235268115997314, 0.1419612020254135, -0.2232716828584671, 0.312214732170105, -0.10928848385810852, 0.5926191806793213, 0.22256527841091156, -0.6610971689224243, 0.3471553325653076, -0.4525384306907654, 0.267342209815979, -0.62663334608078, -0.3621322512626648, -0.10064895451068878, -0.4078521430492401, -0.5112155079841614, -0.9321298599243164, -0.0038202146533876657, 0.2885863482952118, 0.0872410461306572, -0.07864593714475632, 0.2791523039340973, -0.8452950716018677, -0.2893315255641937, -0.3348798453807831, 0.35232675075531006, 0.6574847102165222, 0.5676301717758179, -0.5227690935134888, -0.1019471064209938, -0.0995093360543251, -0.04585275053977966, 0.15927255153656006, 0.2287130206823349, -0.07880983501672745, 0.9226542115211487, 0.7766082882881165, -0.026162270456552505, 0.3607795536518097, 0.18911537528038025, 0.8743525147438049, -0.5194494724273682, -0.5023894309997559, -0.017833251506090164, 0.6272803544998169, -0.20134182274341583, -0.33496758341789246, 0.7411721348762512, 0.48170801997184753, 0.8387184739112854, -0.32047125697135925, 0.9334785342216492, 0.04425538703799248, 0.33100882172584534, -0.2326960414648056, 0.40231651067733765, 0.06754922866821289, 0.1692977249622345, -0.2496359497308731, -1.1471164226531982, -0.1656566858291626, 0.8893190622329712, -0.0692305937409401, -0.08016952872276306, 0.6752555966377258, 0.552426815032959, -0.15617229044437408, 0.6177170872688293, 0.04677336663007736, 0.1703912913799286, 0.6250282526016235, 0.3207978904247284, 1.2301135063171387, 0.11794696748256683, 0.5901131629943848, -0.20734034478664398, -0.2975987195968628, -0.23425611853599548, -0.8801203370094299, -0.9513748288154602, -0.6428232789039612, -0.5674482583999634, -0.08229564875364304, 0.3120688199996948, 1.0017964839935303, 0.7826606631278992, -0.888825535774231, -0.2753799557685852, -0.29548773169517517, -0.27238282561302185, 0.34146860241889954, -0.21084384620189667, 0.10475190728902817, -0.18762606382369995, -0.7673366069793701, 0.7316378355026245, -0.09145009517669678, 0.23179779946804047, -0.5374457240104675, -0.029077010229229927, 0.036205947399139404, 0.43350881338119507, 0.37423041462898254, 0.7650596499443054, -0.4450693726539612, -0.4458276927471161, 0.21835771203041077, 0.09390049427747726, 0.03335558995604515, 1.0871446132659912, -0.5298100709915161, 0.6066811680793762, 0.24911902844905853, 0.5837717652320862, 0.7782098650932312, -0.0797915831208229, 0.45891085267066956, -0.7342360019683838, 0.33045002818107605, 0.6622880697250366, -0.15296100080013275, 0.7674420475959778, -0.011718956753611565, 0.4959643483161926, 0.32386448979377747, -0.32972753047943115, -1.2197209596633911, 0.1400909572839737, -1.2438205480575562, -0.07057693600654602, 0.9528360962867737, -0.3081965148448944, 0.09790731966495514, -0.04962386563420296, -0.2464994490146637, 0.3288195729255676, -0.4625627100467682, 0.9127227067947388, 0.8153067231178284, -0.09016863256692886, -0.06051497161388397, -0.6560394167900085, 0.32599666714668274, 0.213882714509964, -0.8314608335494995, -0.08385111391544342, 0.4929460883140564, 0.13415610790252686, 0.20012085139751434, 0.291959285736084, -0.0773707702755928, -0.048271555453538895, 0.25552740693092346, -0.0630510002374649, -0.06510009616613388, -0.4616800546646118, 0.18374422192573547, 0.19041527807712555, 0.08388488739728928, -0.06797422468662262 ]
http://arxiv.org/abs/2404.10464v2
http://arxiv.org/pdf/2404.10464v2
DESTEIN: Navigating Detoxification of Language Models via Universal Steering Pairs and Head-wise Activation Fusion
2024-04-16T11:07:48
2024-04-23T07:46:54
Yu Li, Zhihua Wei, Han Jiang, Chuanyang Gong
cs.CL
cs.CL, cs.AI
Despite the remarkable achievements of language models (LMs) across a broad spectrum of tasks, their propensity for generating toxic outputs remains a prevalent concern. Current solutions involving fine-tuning or auxiliary models usually require extensive memory and computational resources, rendering them less practical for deployment in large language models (LLMs). In this paper, we propose DeStein, a novel method that detoxififies LMs by altering their internal representations in the activation space with lower resource and time cost. Specifically, we leverage self-induced steering pairs to identify detoxification vectors through arithmetic operations in the activation space. During inference, detoxification is achieved by blending the detoxification vectors with the original representations. Empirical results demonstrate that our method significantly outperforms previous state-of-the-art approaches on popular detoxification metrics, while also maintaining satisfactory generation quality and diversity. Furthermore, we extend our method to multiple LLMs, demonstrating its practicality and scalability. We open-source our method at https://github.com/LizLizLi/DeStein . Warning: Some example model outputs contain highly offensive or disturbing text.
[ -0.2922933101654053, -0.6748153567314148, 0.6174324750900269, -0.03893335908651352, -0.24824081361293793, 0.048141393810510635, -0.17339806258678436, -0.23577578365802765, -0.1749691665172577, 0.5514935255050659, -0.4954244792461395, -0.6137253642082214, -0.6698347330093384, 0.06412303447723389, -0.7251434922218323, 0.7651780843734741, 0.2323574721813202, -0.05078304931521416, 0.0068788048811256886, -0.013584832660853863, -0.44668087363243103, -0.2109980285167694, -0.5784837007522583, -0.6542943120002747, 0.6014650464057922, 0.22396816313266754, 0.7640140652656555, 0.6068983674049377, 0.14257225394248962, 0.39325496554374695, -0.29145288467407227, -0.03537821024656296, -0.7504748702049255, 0.27577394247055054, -0.35472407937049866, -0.06710487604141235, -0.03243786469101906, -0.024412713944911957, 0.7304694652557373, 0.6877426505088806, -0.1623656004667282, -0.22840136289596558, 0.041817620396614075, 0.9236783385276794, -0.701238214969635, -0.2888808846473694, -0.9291653633117676, -0.025333605706691742, -0.06782887876033783, 0.03745991364121437, -0.6112554669380188, -0.1083986759185791, 0.014232936315238476, -0.4250474274158478, -0.3989875912666321, -0.303182989358902, 0.4317282438278198, 0.6490925550460815, -0.5597435235977173, -0.0864642933011055, -0.9072655439376831, 1.029054880142212, -0.9693995714187622, 0.669150173664093, 0.15555740892887115, 0.07039391249418259, -0.3364217281341553, -0.40488767623901367, -0.2915326952934265, -0.29115352034568787, -0.16962836682796478, -0.05613674595952034, -0.42346814274787903, 0.10388420522212982, 0.07373102754354477, 0.016284482553601265, -0.5533332228660583, 0.3543151021003723, -0.46271663904190063, 0.015520285815000534, 0.7382972240447998, 0.0719771534204483, 0.7921304106712341, 0.007954071275889874, -0.4265085458755493, 0.223368838429451, -0.9835638403892517, -0.6062657237052917, 0.39573436975479126, 0.27090802788734436, -0.12150701880455017, 0.2955981194972992, -0.10475669801235199, 0.4952808618545532, 0.33989793062210083, 0.20640119910240173, 0.3567880690097809, -0.18173260986804962, -0.33837589621543884, 0.3021104335784912, 0.8389921188354492, 0.16471625864505768, 0.1336127519607544, -0.354815810918808, -0.061145417392253876, -0.12461166828870773, 0.5146598815917969, -0.9526909589767456, -0.2630194127559662, 0.652905285358429, -0.21659265458583832, -0.598029613494873, -0.5926679968833923, -0.9748684763908386, -0.44863614439964294, -0.3442692160606384, 0.4752412438392639, -0.6562046408653259, -0.7696882486343384, 0.1387636661529541, -0.1351376473903656, 0.11825703829526901, -0.02226918190717697, -1.0610677003860474, 0.0014020204544067383, 0.6778233647346497, 0.6235288381576538, -0.3183230757713318, -0.0047216154634952545, -0.5167233347892761, 0.321985125541687, -0.3066730201244354, 0.5787315964698792, -0.8016112446784973, -0.3258940875530243, 0.0919228047132492, -0.3361475467681885, 0.04334268718957901, -0.7379652261734009, 0.3415718078613281, -0.7290045022964478, 0.03391899913549423, 0.0001717589475447312, -0.4423316419124603, -0.2763329744338989, 0.10727086663246155, -0.7117365598678589, 0.9151453375816345, -0.13398265838623047, -0.8187606334686279, -0.08135291188955307, -0.5058522820472717, -0.3835281729698181, 0.1510651856660843, -0.13929383456707, -0.1365918219089508, 0.2565269470214844, -0.02202962525188923, 0.142927348613739, -0.29510119557380676, 0.36399900913238525, -0.2848551571369171, -0.2738526463508606, -0.13226523995399475, -0.40023523569107056, 1.1159663200378418, 0.30931147933006287, -0.39277276396751404, 0.5095312595367432, -0.7576963305473328, -0.013307352550327778, 0.07766783982515335, -0.2797119915485382, -0.8281153440475464, -0.1270819753408432, -0.20788869261741638, 0.3824286162853241, 0.05924822390079498, -0.6000805497169495, -0.012708439491689205, -0.6582553386688232, 0.43570882081985474, 0.717645525932312, 0.08366958051919937, 0.6681082844734192, -0.13019677996635437, 0.24838627874851227, 0.3532475233078003, -0.027669867500662804, 0.05089356377720833, -0.3073652386665344, -0.6945326328277588, -0.3036469519138336, -0.07746504992246628, 0.3892518877983093, -0.7411047220230103, 0.5645081400871277, -0.3193088471889496, -0.764149010181427, -0.5602892637252808, 0.40887650847435, 0.5925855040550232, 0.40074968338012695, 0.44491469860076904, 0.10635889321565628, -0.30353808403015137, -1.0189924240112305, -0.3502170741558075, -0.01908409781754017, -0.07880335301160812, -0.21900230646133423, 0.543512761592865, -0.5837243795394897, 0.6396338939666748, -0.24409346282482147, -0.2003111094236374, -0.32458367943763733, 0.06245861202478409, 0.10509073734283447, 0.47703322768211365, 0.4954393804073334, -0.711785614490509, -0.3735472559928894, -0.22864311933517456, -0.6498803496360779, -0.4166988730430603, -0.19943712651729584, -0.45390212535858154, 0.051129478961229324, 0.49529317021369934, -0.30875885486602783, 0.1624056100845337, 0.6982114911079407, -0.19148468971252441, 0.4766696095466614, -0.3097657263278961, -0.04564733803272247, -0.7587770223617554, 0.17361722886562347, 0.08385371416807175, -0.05233773589134216, -1.1381396055221558, 0.16237396001815796, 0.08118594437837601, 0.011699107475578785, -0.7533788084983826, 0.6992220282554626, -0.36937886476516724, 0.4051782488822937, -0.3144255578517914, 0.42932021617889404, 0.07194503396749496, 0.565168559551239, -0.0194842666387558, 0.3839264214038849, 0.6080625653266907, -0.6510683298110962, 0.26890772581100464, 0.29658403992652893, -0.05807945877313614, 0.45602211356163025, -0.7124683260917664, 0.010302639566361904, -0.49722808599472046, 0.07956430315971375, -1.0583587884902954, 0.1338261365890503, 0.5575180053710938, 0.14883212745189667, 0.41030335426330566, -0.15220151841640472, -0.4245717525482178, 0.12979941070079803, -0.21939510107040405, 0.7105382680892944, 0.7076005339622498, -0.5241718888282776, 0.6484896540641785, 0.6849684119224548, 0.04648537188768387, -0.13510990142822266, -0.6771689653396606, -0.034109536558389664, -0.7178613543510437, -0.44926023483276367, 0.4900493919849396, -0.11805256456136703, -0.5141937136650085, -0.05812814459204674, -0.11637549847364426, 0.036216434091329575, 0.16894690692424774, 0.18893654644489288, -0.11062676459550858, 0.2924887537956238, 0.4606403708457947, 0.43962299823760986, -0.5406153202056885, -0.004195027519017458, -0.17143036425113678, 0.583106517791748, 0.08486833423376083, -0.39799976348876953, -0.508793830871582, 0.6846650242805481, 0.7909349799156189, -0.4974581003189087, 0.6657519340515137, 0.6460756063461304, -0.4578878581523895, -0.19718314707279205, -0.34268248081207275, -0.3088444769382477, -0.5318536758422852, 0.5396870970726013, -0.2988770008087158, -0.4271591305732727, 0.2840428352355957, -0.4332183599472046, 0.3558298349380493, 0.42150723934173584, 0.9049551486968994, 0.3347115218639374, 1.0832457542419434, 0.40436288714408875, -0.06413083523511887, 0.43489307165145874, -0.2965790033340454, 0.2830548882484436, -1.0433874130249023, -0.05550753325223923, -0.35584118962287903, -0.4452820122241974, -0.3515905737876892, -0.3851313591003418, 0.60267573595047, -0.02060917764902115, -0.5125734210014343, 0.4503939151763916, -0.5436739325523376, 0.41827183961868286, 0.5557909607887268, -0.08882029354572296, 0.444007009267807, 0.036045756191015244, -0.41038909554481506, -0.10737492889165878, -0.4965430200099945, -0.43283626437187195, 0.7353920340538025, 0.4299980700016022, 0.8478037118911743, 0.2085118293762207, 1.0506871938705444, 0.12767718732357025, 0.451934814453125, -0.45506754517555237, 0.5718369483947754, -0.30488121509552, -0.7464920878410339, -0.40966397523880005, -0.5713998079299927, -0.740716278553009, 0.5425876975059509, -0.06544598191976547, -0.8544485569000244, -0.050534456968307495, 0.08062363415956497, -0.25748586654663086, 0.46811962127685547, -0.4906131327152252, 1.01256263256073, -0.49128928780555725, -0.43646755814552307, -0.7371623516082764, -0.4441274106502533, 0.4808264970779419, -0.3839195668697357, 0.4902586042881012, -0.6022711396217346, 0.03258485347032547, 0.6215778589248657, -0.11042454093694687, 0.8959525227546692, -0.18800568580627441, -0.7898280024528503, 0.2040385603904724, 0.5146514177322388, 0.4911550283432007, -0.2792169451713562, -0.4413343667984009, 0.562587559223175, -0.06052249297499657, -0.06450392305850983, -0.5588943958282471, 1.0046895742416382, -0.5907543301582336, -0.5612697005271912, -0.08435314893722534, -0.6813721656799316, -0.1694900244474411, 0.5009795427322388, 0.02275949902832508, 0.536537766456604, -0.015786636620759964, -0.1364094763994217, 0.4354211688041687, -0.5997307896614075, 0.3391864001750946, 0.48359769582748413, -0.3359692096710205, -0.3692828416824341, 0.9003621935844421, -0.24057716131210327, 0.6228140592575073, 0.3736453950405121, 0.39566609263420105, -0.4471212327480316, -0.49068987369537354, -0.5513374209403992, 0.41479212045669556, -0.628086507320404, -0.012769744731485844, -0.5848265886306763, -0.1454029381275177, -0.1143428310751915, 0.09601019322872162, -0.6349642276763916, -0.344698041677475, -0.26716625690460205, 0.029578078538179398, 0.25960296392440796, 0.7773616909980774, -0.42015427350997925, 0.2592737674713135, -0.8936174511909485, 0.33941665291786194, 0.04010845720767975, 0.28026458621025085, 0.10760301351547241, -0.6260625123977661, -0.08074578642845154, 0.47457265853881836, -0.40401655435562134, -1.2051180601119995, 0.5367531180381775, 0.19862763583660126, 0.7852193117141724, 0.5672781467437744, 0.3040466904640198, 0.6023305058479309, -0.679577112197876, 0.42897698283195496, 0.2636052966117859, -0.8516250252723694, 0.4919683039188385, -0.13481609523296356, 0.36678096652030945, 0.41796162724494934, 0.5955680012702942, -0.7910146117210388, -0.8544601202011108, -0.26004281640052795, -1.053403615951538, 0.24296115338802338, 0.10524163395166397, 0.398659348487854, -0.13370607793331146, 0.18788257241249084, 0.08812384307384491, 0.02848869562149048, -0.34260040521621704, -0.3066549003124237, 0.14401233196258545, -0.41913896799087524, 0.23704765737056732, -0.4711892008781433, -0.121715247631073, -0.21708407998085022, 0.9960703253746033, 0.29324132204055786, -0.06509076058864594, -0.023598788306117058, -0.3396930992603302, -0.20417818427085876, 0.3407495617866516, 0.3333940804004669, 0.33799949288368225, 0.0178527869284153, 0.46331068873405457, 0.15863190591335297, 0.00010697399557102472, 0.5054545998573303, -0.2376462072134018, -0.366324782371521, -0.10108361393213272, 0.15352152287960052, 0.36841753125190735, 0.6306959390640259, -0.7982025742530823, 0.19589975476264954, 0.16763776540756226, 0.016173899173736572, -0.12614184617996216, 0.19276951253414154, 0.21924471855163574, 0.1905847191810608, 0.2109507918357849, -0.34737831354141235, 0.1392035335302353, -0.29918035864830017, 0.45764222741127014, 0.6036417484283447, -0.6262498497962952, -0.28875571489334106, 0.8549396395683289, 0.663535475730896, -0.0475323460996151, 0.7434019446372986, -0.28315913677215576, -0.33108723163604736, 0.05132098123431206, 0.5845012068748474, 1.3033595085144043, -0.19247372448444366, 0.17251411080360413, 0.5324138402938843, 0.16547437012195587, 0.3265153169631958, -0.1649463027715683, 0.15401460230350494, -0.852168083190918, -0.4295278489589691, -0.6853892207145691, 0.1557883620262146, 0.3120560050010681, -0.33050501346588135, -0.026788827031850815, -0.12554892897605896, -0.041055791079998016, 0.053418904542922974, -0.35395148396492004, -0.28033173084259033, -0.34716662764549255, 0.44789883494377136, 0.7989508509635925, -1.092822790145874, 0.7687641978263855, 0.5291597247123718, -0.37663260102272034, -0.20577062666416168, -0.15758199989795685, 0.3932729661464691, -0.6736845374107361, 0.8602249622344971, 0.3728448450565338, -0.2976073920726776, 0.26202163100242615, -0.1873428374528885, -0.7651540637016296, 0.6162527799606323, 0.4320395588874817, -0.6707335114479065, -0.13218511641025543, 0.2022942304611206, 0.3442409038543701, -0.06634695827960968, 0.28539541363716125, 0.7583190202713013, 0.6512684226036072, 0.1549888700246811, -0.7866181135177612, 0.3034054934978485, -0.28209230303764343, 0.1351315975189209, 0.2582632303237915, -0.35351020097732544, 0.36555397510528564, -0.34861233830451965, -0.5671815872192383, -0.024831971153616905, 0.45129063725471497, 0.158578559756279, -0.4845714867115021, 0.7694213390350342, 0.7534313797950745, 0.5443662405014038, 0.2317732274532318, 0.5634459853172302, -0.6692438721656799, 0.1526758223772049, 0.9627880454063416, -0.3283713459968567, 0.550080418586731, 0.6408124566078186, 0.11420673877000809, 0.5702988505363464, 0.07669983059167862, 0.1505437195301056, 0.771796703338623, 0.4928751587867737, -0.44618579745292664, -0.6667063236236572, -0.20945172011852264, -0.14127032458782196, 0.3658350110054016, 0.3768022060394287, -0.30909207463264465, -0.919901967048645, 0.07143539190292358, 0.16367022693157196, 0.14668871462345123, -0.008847379125654697, 0.7672151923179626, 0.18594440817832947, -0.479012131690979, 0.8645126819610596, 0.005036693532019854, 0.5546503067016602, -0.49969807267189026, -0.18043701350688934, -0.13868355751037598, 0.508445680141449, 0.022440696135163307, -0.5813127756118774, 0.5925910472869873, -0.07583285123109818, 0.13413211703300476, -0.5824679136276245, 0.7168042659759521, -0.8998122215270996, -0.4902784526348114, 0.6684344410896301, 0.48910394310951233, 0.2888762056827545, -0.24390725791454315, -0.5961123108863831, 0.4352443516254425, 0.12423897534608841, -0.1361490786075592, 0.3655407130718231, 0.2081509381532669, 0.19726049900054932, 0.9428972601890564, 0.545721709728241, 0.021844200789928436, -0.009466131217777729, 0.0979514941573143, 0.8569663763046265, -0.49410930275917053, -0.05854159966111183, -1.2100014686584473, 0.7851340174674988, 0.16079995036125183, -0.05571595951914787, 0.6396176218986511, 0.4612328112125397, 0.589638888835907, 0.0016550775617361069, 0.6981309652328491, 0.07649848610162735, 0.2464011311531067, -0.32253146171569824, 0.9044257402420044, -0.7030187249183655, 0.1499018371105194, -0.16374817490577698, -0.5566864013671875, -0.33906829357147217, 0.4757421314716339, -0.33740493655204773, -0.008454722352325916, 0.34071919322013855, 0.9216189384460449, -0.033259302377700806, -0.29512596130371094, 0.42944127321243286, 0.5141106843948364, 0.70267254114151, 0.8019384145736694, 0.7093015909194946, -0.2809608280658722, 0.5429750084877014, -0.40613552927970886, -0.37616974115371704, -0.2944035828113556, -0.9946336150169373, -0.9012644290924072, -0.5968686938285828, -0.5827398896217346, -0.10499574989080429, 0.009890319779515266, 0.8633739948272705, 0.7224408388137817, -0.6541763544082642, 0.04487616568803787, -0.09386783838272095, 0.3218340277671814, -0.32633110880851746, -0.16051115095615387, 0.23117659986019135, -0.5164462924003601, -1.0251539945602417, 0.5308416485786438, 0.3771349787712097, 0.01755918748676777, -0.6817080974578857, -0.038461338728666306, -0.19367274641990662, -0.05342673882842064, 0.5125762820243835, 0.09357846528291702, -0.7866999506950378, -0.3854379951953888, -0.4302516579627991, -0.166610985994339, -0.21644507348537445, 0.4111528992652893, -0.7903119921684265, 0.42883825302124023, 0.7085224390029907, 0.5013715624809265, 0.03598613664507866, 0.021409383043646812, 0.7061899304389954, -0.6139601469039917, 0.22888685762882233, 0.09653757512569427, 0.2196781039237976, 0.22612030804157257, -0.03808538243174553, 0.2783280909061432, -0.10434596240520477, -0.35214459896087646, -0.7918766736984253, 0.5980344414710999, -0.6134173274040222, -0.301709920167923, 1.4968851804733276, 0.07401996105909348, -0.2148331105709076, -0.05861298739910126, -0.1742708683013916, 0.22639258205890656, -0.20007403194904327, 0.8729746341705322, 0.26521867513656616, 0.14065691828727722, 0.08667793869972229, -0.4491473436355591, 0.4354357123374939, 0.298941433429718, -0.7436666488647461, 0.5517427921295166, 0.4579226076602936, 0.4950554370880127, 0.34053662419319153, 0.38482901453971863, -0.28186020255088806, -0.23252463340759277, -0.11102799326181412, 0.09989480674266815, -0.18050852417945862, -0.3781938850879669, -0.37608546018600464, -0.297312468290329, -0.3004583716392517, -0.0824442207813263 ]
http://arxiv.org/abs/2404.10440v1
http://arxiv.org/pdf/2404.10440v1
Language Proficiency and F0 Entrainment: A Study of L2 English Imitation in Italian, French, and Slovak Speakers
2024-04-16T10:10:19
2024-04-16T10:10:19
Zheng Yuan, Štefan Beňuš, Alessandro D'Ausilio
cs.CL
cs.CL, eess.AS
This study explores F0 entrainment in second language (L2) English speech imitation during an Alternating Reading Task (ART). Participants with Italian, French, and Slovak native languages imitated English utterances, and their F0 entrainment was quantified using the Dynamic Time Warping (DTW) distance between the parameterized F0 contours of the imitated utterances and those of the model utterances. Results indicate a nuanced relationship between L2 English proficiency and entrainment: speakers with higher proficiency generally exhibit less entrainment in pitch variation and declination. However, within dyads, the more proficient speakers demonstrate a greater ability to mimic pitch range, leading to increased entrainment. This suggests that proficiency influences entrainment differently at individual and dyadic levels, highlighting the complex interplay between language skill and prosodic adaptation.
[ 0.020304081961512566, -0.8275578618049622, 0.3729167580604553, 0.19491346180438995, 0.17952106893062592, 0.3927006423473358, -0.13243068754673004, -0.91428142786026, 0.40839916467666626, 0.1283103972673416, -0.27628806233406067, -0.058126553893089294, -0.6558974385261536, 0.1537497192621231, -0.3535386323928833, 0.38264912366867065, -0.2844993472099304, 0.22531087696552277, -0.06106417998671532, -0.18587806820869446, -0.44954317808151245, -0.1373785436153412, -1.0017340183258057, -0.44322916865348816, 0.19817183911800385, 0.6549645662307739, 0.4633399248123169, 0.1811484545469284, 0.07990303635597229, 0.4014244079589844, 0.12066994607448578, -0.00913914106786251, -0.4476280212402344, 0.3656778335571289, -0.0665094181895256, -0.8576886057853699, -0.33241742849349976, 0.2900862395763397, 0.8972975611686707, 0.48996880650520325, -0.037696532905101776, -0.14038144052028656, 0.2273847907781601, 0.872145414352417, -0.3015827536582947, 0.18484479188919067, -0.564179539680481, 0.051049645990133286, -0.17777851223945618, -0.02615467831492424, -0.522855818271637, -0.18563921749591827, 0.1401064097881317, -0.863841712474823, 0.1815059930086136, -0.06749013811349869, 0.6538024544715881, 0.34910234808921814, -0.22804304957389832, -0.32617223262786865, -0.6786521077156067, 0.48341888189315796, -0.6541414260864258, 0.7277381420135498, 0.46795347332954407, 0.10846337676048279, 0.08786586672067642, -0.6732507348060608, -0.8918008208274841, -0.40555340051651, -0.2206040471792221, 0.2768080532550812, 0.12467224895954132, -0.03566008433699608, 0.3213796615600586, 0.2664892375469208, -0.4552171528339386, 0.1745568960905075, -0.3572149872779846, 0.02758204936981201, 0.6941681504249573, -0.0958440825343132, 0.4665786921977997, 0.41722866892814636, -0.029712380841374397, -0.17898324131965637, -0.6169649958610535, 0.49263569712638855, 0.7640213370323181, -0.03762716054916382, -0.11304046213626862, 0.45276445150375366, -0.07295583188533783, 0.6005457639694214, 0.1389971822500229, -0.2131490856409073, 0.560292661190033, -0.23684491217136383, 0.25302401185035706, 0.10648592561483383, 0.4255874752998352, 0.4337306618690491, 0.7388836741447449, -0.26762139797210693, -0.12434899806976318, -0.27690479159355164, 0.058127760887145996, -0.5336099863052368, 0.021100791171193123, 0.0494283065199852, -0.06856141239404678, 0.01818208210170269, 0.3514186143875122, -0.7391647100448608, -0.22195063531398773, -0.18507790565490723, 0.6724744439125061, -0.5258620977401733, -0.4540454149246216, 0.10048896819353104, -0.44543853402137756, 0.27572065591812134, 0.046168722212314606, -1.2175854444503784, 0.33959516882896423, 0.599070131778717, 1.0257422924041748, -0.409824013710022, -0.6863494515419006, -0.3631540536880493, 0.17147214710712433, -0.3673587143421173, 0.46982213854789734, -0.5268967151641846, -0.5907615423202515, 0.12646940350532532, 0.4656338095664978, -0.4364883601665497, -0.6374598145484924, -0.05248958617448807, -0.3879834711551666, 0.07996110618114471, -0.05218328908085823, -0.514687180519104, -0.18645943701267242, -0.11606098711490631, -0.5993799567222595, 1.2236924171447754, 0.5447263121604919, -0.6094303727149963, 0.5605202913284302, -0.3490292727947235, -0.4614102244377136, -0.03278537839651108, -0.21084079146385193, -0.1280483454465866, 0.22411786019802094, -0.29830673336982727, 0.1588296741247177, 0.304494172334671, -0.5031566619873047, 0.0557856485247612, -0.7163159847259521, 0.23927487432956696, -0.22299431264400482, 0.5052660703659058, -0.16886860132217407, -0.5851803421974182, -0.26715290546417236, -0.7152156829833984, 0.08386252820491791, 0.19642731547355652, -0.3450571596622467, -0.4992435872554779, 0.07443635910749435, -0.12706468999385834, 0.027521375566720963, 0.1843031495809555, -0.7897457480430603, 0.141630157828331, -1.121407151222229, 0.5154123306274414, 0.430667906999588, 0.5379942059516907, 0.38522353768348694, -0.5314580202102661, 0.4382689893245697, 0.15604759752750397, -0.2701726257801056, 0.0921400710940361, -0.5306426882743835, -0.7838115692138672, 0.09855174273252487, 0.11620438098907471, 0.9519473314285278, -0.9224134683609009, 0.10733126103878021, -0.21706819534301758, -0.41339194774627686, -0.7158533930778503, 0.26824289560317993, 0.5271090269088745, -0.006946131587028503, 0.28978660702705383, -0.2916422486305237, -0.227071613073349, -0.8597447276115417, -0.596671998500824, -0.21980509161949158, -0.06311208754777908, -0.09209685027599335, 0.5681127309799194, 0.17623232305049896, 0.5383416414260864, -0.2270580679178238, -0.35346052050590515, -0.2297772765159607, 0.07724012434482574, 0.09796842932701111, 0.7081769108772278, 0.9527768492698669, -0.3652559816837311, -0.8961886167526245, -0.14443448185920715, -0.2142830640077591, 0.1446920782327652, -0.2183448225259781, -0.05052415654063225, 0.5172695517539978, 0.7022749185562134, -0.11512502282857895, 0.4150594174861908, 0.5339763760566711, -0.55176842212677, 0.31371185183525085, -0.3708072304725647, 0.2971569299697876, -1.0248595476150513, -0.177016943693161, -0.3169545531272888, -0.04341944307088852, -0.8608114719390869, -0.1806136965751648, -0.21578098833560944, 0.3387087285518646, -0.6066367030143738, 0.5691094398498535, -0.500913679599762, -0.06921085715293884, -0.11451356112957001, 0.08481699973344803, -0.061704542487859726, 0.23689888417720795, 0.302738219499588, 1.0818402767181396, 0.43207234144210815, -0.3231509029865265, 0.0313321016728878, 0.21039284765720367, -0.6452357769012451, 0.4218149483203888, -0.7555323839187622, 0.3370964229106903, -0.08723848313093185, -0.2620280086994171, -1.3647427558898926, -0.0665832906961441, -0.13388481736183167, -0.5440608859062195, 0.600236177444458, 0.31484663486480713, -0.38365790247917175, -0.3686496317386627, -0.03282855451107025, 0.32552483677864075, 0.6945779323577881, -0.14719203114509583, 0.13847047090530396, 0.08370690047740936, -0.25068598985671997, -0.39886772632598877, -0.996122419834137, -0.3590870201587677, 0.061026208102703094, -0.47074636816978455, 0.5113666653633118, -0.017275242134928703, -0.578669548034668, -0.31307169795036316, -0.10038713365793228, 0.1255570501089096, 0.0894722267985344, 0.26982685923576355, -0.40642181038856506, -0.052611641585826874, -0.06851441413164139, 0.10853371024131775, -0.07187590003013611, -0.06743746995925903, -0.005845143925398588, 0.5016434192657471, 0.08613475412130356, -0.5914111137390137, -0.8785736560821533, 0.5358688235282898, 0.6937682628631592, -0.03582308441400528, 0.8813667297363281, 0.5037214756011963, -0.24497602880001068, -0.10883370041847229, -0.5023996829986572, -0.4682455062866211, -0.5028363466262817, 0.3844141662120819, -0.7279277443885803, -0.5824651718139648, 0.46519148349761963, 0.4013154208660126, 0.24129724502563477, 0.24571171402931213, 0.4449669420719147, -0.48678529262542725, 0.8171889185905457, 0.6011695861816406, 0.09620173275470734, 0.8082548379898071, -0.5999184846878052, -0.046339694410562515, -0.6906383037567139, -0.1925094872713089, -0.4319247007369995, -0.7430112361907959, -0.47010767459869385, -0.5077098608016968, 0.3119748830795288, 0.041590504348278046, -0.12802934646606445, 0.11763396859169006, -0.04464370757341385, 0.5399209260940552, 0.5891796350479126, 0.37463200092315674, 0.27258527278900146, 0.1936991959810257, -0.15049749612808228, -0.5943591594696045, -0.35130736231803894, -0.24118344485759735, 0.8440097570419312, 0.2985571622848511, 0.3302861452102661, 0.2822096645832062, 0.6988896131515503, 0.22204820811748505, -0.08511251956224442, -0.8715143799781799, 0.3932722806930542, -0.2778392434120178, -0.41974830627441406, -0.565039873123169, 0.2048603594303131, -0.8189312815666199, -0.15446311235427856, -0.08317707479000092, -0.6951869130134583, 0.34023651480674744, 0.18329685926437378, -0.21447156369686127, 0.0774741992354393, -0.5375751852989197, 0.5446674823760986, -0.06066906824707985, -0.5386821031570435, -0.4608475863933563, -0.4547382593154907, -0.10906774550676346, -0.05539077892899513, 0.1740066111087799, 0.00029127643210813403, -0.3004642724990845, 0.6826409101486206, -0.13370618224143982, 0.7787986993789673, -0.5838454365730286, -0.1900552660226822, 0.2900490164756775, 0.41518720984458923, 0.6455217599868774, -0.10624921321868896, -0.4485724866390228, -0.00432819128036499, 0.06216014176607132, -0.45451200008392334, -0.6182528734207153, 0.4468642771244049, -0.9719117283821106, -0.8025620579719543, -0.2681715190410614, -0.39888426661491394, -0.5540646314620972, -0.0036342190578579903, 0.4485005736351013, 0.1728457510471344, -0.31771448254585266, 0.3026500940322876, 0.4905054271221161, -0.013218006119132042, 0.69240403175354, 0.8337342739105225, 0.16939738392829895, -0.4794657528400421, 0.6145860552787781, 0.5239397883415222, 0.8430085778236389, 0.4850071370601654, -0.15389370918273926, -0.24586550891399384, -0.5691254734992981, -0.30437830090522766, 0.419021874666214, -0.4518100321292877, 0.38682249188423157, -0.5362535119056702, -0.2661822438240051, -0.4895745515823364, -0.3959306478500366, -0.3468364179134369, -0.6702902913093567, -0.07065577805042267, -0.35407593846321106, 0.4009113311767578, 0.8173133134841919, -0.13832677900791168, 0.3082103431224823, -0.3906917870044708, 0.01867421716451645, 0.40410149097442627, 0.12108055502176285, -0.1176246702671051, -1.103649377822876, -0.4049132466316223, 0.29016754031181335, -0.25021564960479736, -1.065751314163208, 0.10302780568599701, 0.648154616355896, 0.9572627544403076, 0.3890836536884308, -0.2397526204586029, 0.6321168541908264, -0.7613317966461182, 1.1774160861968994, 0.11420392990112305, -0.9706308841705322, 0.4168960452079773, -0.08439972996711731, 0.2815646231174469, 0.7522050142288208, 0.4779472351074219, -0.7072693705558777, -0.8434212803840637, -0.507750928401947, -0.7823291420936584, 0.6285589933395386, 0.09743402898311615, 0.29065650701522827, 0.06320329010486603, 0.33294016122817993, 0.16346341371536255, -0.04737456887960434, -0.5068391561508179, -0.08934010565280914, -0.19923542439937592, -0.15136297047138214, -0.5729323029518127, -0.3508703410625458, -0.12263087928295135, -0.7430082559585571, 0.7105951309204102, -0.06212913244962692, 0.5218481421470642, 0.375474750995636, -0.2463861107826233, -0.1911327987909317, -0.013551324605941772, 0.9699183106422424, 0.4756995737552643, 0.1647205501794815, 0.11726102232933044, 0.5646273493766785, -0.8289893865585327, 0.5594221949577332, -0.4448995888233185, -0.11867596209049225, 0.2897523045539856, 0.7550297379493713, 0.8322279453277588, 0.3524872958660126, -0.40982478857040405, 0.45371559262275696, 0.3497485816478729, -0.5950209498405457, -0.5417355895042419, 0.3812335133552551, 0.17360952496528625, 0.37969905138015747, 0.18361681699752808, -0.22973738610744476, -0.2457261085510254, -0.7026723027229309, 0.34788498282432556, 0.24813216924667358, -0.40547069907188416, -0.5266438722610474, 0.8730045557022095, 0.1845712810754776, -0.569182276725769, 0.5396953821182251, -0.07086654752492905, -0.42032262682914734, 0.7098659873008728, 0.7690689563751221, 0.9113366007804871, -0.5320578217506409, 0.033808376640081406, 0.5619579553604126, 0.3364870250225067, 0.08500339090824127, 0.8470219969749451, -0.07750622928142548, -0.8171717524528503, -0.14515572786331177, -0.5673739910125732, -0.41891413927078247, -0.1123303696513176, -0.8691479563713074, 0.17562882602214813, -0.05097042769193649, -0.007660411763936281, 0.002259250497445464, -0.038974445313215256, -0.6167395710945129, -0.21396200358867645, -0.039439063519239426, 1.068818211555481, -0.9853172302246094, 1.1742167472839355, 0.8522999882698059, -0.42689770460128784, -0.6899141073226929, 0.3285068869590759, -0.045428939163684845, -0.9972573518753052, 0.8675379157066345, 0.09292592108249664, -0.1437622457742691, 0.47142294049263, 0.07220800220966339, -0.48647168278694153, 1.2755005359649658, 0.1327800452709198, -0.6236255168914795, -0.055171117186546326, 0.5952650904655457, 0.7699435949325562, -0.38234061002731323, 0.34433823823928833, 0.9493575692176819, 0.5691641569137573, -0.06831894814968109, -1.1807277202606201, -0.2959262728691101, -0.09126751124858856, 0.10040348023176193, -0.10309692472219467, -0.9861894845962524, 0.5664759874343872, -0.33696967363357544, -0.03392377495765686, 0.16976794600486755, 0.5678579807281494, -0.10020951181650162, 0.11008088290691376, 0.7007707357406616, 0.5124598145484924, 0.4789578318595886, -0.2052733302116394, 0.41118669509887695, -0.8583675026893616, -0.1961262971162796, 0.8741835355758667, -0.253667414188385, 1.3142406940460205, 0.7252724170684814, -0.3385578691959381, 0.7824809551239014, 0.356190025806427, 0.37137365341186523, 0.4839012324810028, 0.028275391086935997, -0.3737012445926666, 0.08712629228830338, 0.26003697514533997, -0.46802276372909546, 0.6573851704597473, 0.5566688776016235, -0.6168097257614136, 0.34024712443351746, 0.3394280672073364, 0.22714026272296906, 0.2552669048309326, -0.026002177968621254, 1.0168616771697998, -0.014127684757113457, -0.9159558415412903, 0.861595094203949, -0.3517463505268097, 0.45391228795051575, -0.4602639973163605, 0.04056241735816002, -0.44411516189575195, 0.22427985072135925, -0.1578293740749359, -1.016300082206726, 0.6034239530563354, -0.1830851137638092, -0.2779134511947632, -0.5905239582061768, 0.10604095458984375, -0.7876657247543335, -0.061301715672016144, 0.3802221417427063, 0.4865744411945343, 0.46534278988838196, 0.219602569937706, -0.5080409049987793, -0.2220858931541443, 0.156651109457016, -0.5201871991157532, 0.26750829815864563, 0.23426967859268188, 0.39430347084999084, 0.2309885174036026, 0.26059362292289734, 0.32468950748443604, 0.1955735832452774, 0.1834782510995865, 0.22869957983493805, -0.3436753451824188, -0.5023864507675171, -0.6889773011207581, 0.6994155049324036, -0.01912660524249077, -0.32213523983955383, 0.6730746030807495, 0.6479772925376892, 0.9047227501869202, -0.5193555355072021, 0.5375686287879944, -0.05232742056250572, 0.6047183275222778, -0.7436177730560303, 0.847692608833313, -0.7979264855384827, -0.25414037704467773, 0.01991761475801468, -0.9291321635246277, 0.3120553195476532, 0.7770386338233948, -0.25470414757728577, -0.3313588500022888, 0.9707890748977661, 1.061977505683899, 0.1974029541015625, -0.04715067520737648, 0.6457024812698364, 0.3237839937210083, 0.0746193379163742, 0.5399987101554871, 0.6508992910385132, -0.290393203496933, -0.08941137045621872, -0.2307659089565277, -0.15786337852478027, -0.09199395775794983, -0.4555087089538574, -0.7967077493667603, -0.9929567575454712, -0.24909844994544983, -0.43633729219436646, 0.32114747166633606, 0.824945867061615, 0.45106083154678345, -0.966410219669342, -0.4116554856300354, -0.17697016894817352, -0.23846742510795593, -0.6092944741249084, -0.299533486366272, -0.0011163187446072698, -0.38188737630844116, -1.2693125009536743, 0.7120704650878906, -0.022688627243041992, 0.6958280801773071, -0.3706190884113312, -0.20831584930419922, -0.25702184438705444, 0.10467220097780228, 0.5038106441497803, 0.40117043256759644, -0.6046606302261353, -0.5519437193870544, -0.001963795628398657, 0.02978086844086647, -0.00868106260895729, 0.7378308176994324, -0.423563688993454, 0.552696943283081, 0.7998133897781372, 0.25723347067832947, 0.45080214738845825, -0.10140668600797653, 0.5721123218536377, -0.9956364035606384, 0.7919434309005737, 0.19765359163284302, 0.1930394470691681, 0.03676796704530716, -0.24052336812019348, 0.6018047332763672, 0.6874681711196899, -0.42809227108955383, -0.9055014848709106, 0.17586387693881989, -0.4563247561454773, 0.1385108381509781, 1.348982334136963, -0.2432868778705597, 0.21779821813106537, -0.1928640902042389, -0.2597663998603821, 0.2336525321006775, -0.19471296668052673, 0.3813461661338806, 1.1535248756408691, -0.35231268405914307, -0.149324432015419, -1.1127560138702393, 0.8278020024299622, 0.5576162338256836, -0.45747631788253784, -0.2258206158876419, 0.06992550194263458, 0.5440436601638794, 0.13458313047885895, 0.5987880229949951, 0.14677539467811584, 0.23735672235488892, 0.38740894198417664, 0.028348436579108238, -0.08420343697071075, -0.4853343963623047, -0.08735557645559311, -0.12014948576688766, 0.27565798163414, -0.33881646394729614 ]
http://arxiv.org/abs/2404.10419v1
http://arxiv.org/pdf/2404.10419v1
MAD Speech: Measures of Acoustic Diversity of Speech
2024-04-16T09:35:27
2024-04-16T09:35:27
Matthieu Futeral, Andrea Agostinelli, Marco Tagliasacchi, Neil Zeghidour, Eugene Kharitonov
eess.AS
eess.AS, cs.CL
Generative spoken language models produce speech in a wide range of voices, prosody, and recording conditions, seemingly approaching the diversity of natural speech. However, the extent to which generated speech is acoustically diverse remains unclear due to a lack of appropriate metrics. We address this gap by developing lightweight metrics of acoustic diversity, which we collectively refer to as MAD Speech. We focus on measuring five facets of acoustic diversity: voice, gender, emotion, accent, and background noise. We construct the metrics as a composition of specialized, per-facet embedding models and an aggregation function that measures diversity within the embedding space. Next, we build a series of datasets with a priori known diversity preferences for each facet. Using these datasets, we demonstrate that our proposed metrics achieve a stronger agreement with the ground-truth diversity than baselines. Finally, we showcase the applicability of our proposed metrics across several real-life evaluation scenarios. MAD Speech will be made publicly accessible.
[ -0.8262711763381958, -0.6923402547836304, 0.028643878176808357, 0.39174580574035645, 0.042401332408189774, 0.5128549933433533, -0.05811731144785881, -0.3778044283390045, 0.303857684135437, 0.06117736175656319, -0.44202837347984314, -0.6978887319564819, -0.553748607635498, 0.03879699110984802, -0.6257014870643616, 1.2448772192001343, 0.566152036190033, 0.30438685417175293, -0.03208087757229805, -0.3476333022117615, -0.41097477078437805, -0.39926427602767944, -0.4058704972267151, -0.016077134758234024, 0.591296911239624, 0.2548410892486572, 0.6905336976051331, 0.3488531708717346, 0.1913369596004486, 0.3454735279083252, -0.41890785098075867, 0.27682557702064514, -0.574263334274292, 0.21448677778244019, -0.1113920509815216, -0.314813494682312, -0.4180290400981903, 0.05573692545294762, 0.8674566149711609, 0.8023129105567932, -0.34908556938171387, -0.09707891196012497, -0.13177967071533203, 0.4182932376861572, -0.6795012354850769, -0.10354011505842209, -0.48064860701560974, 0.2352546900510788, -0.2830919921398163, 0.15936577320098877, 0.14792348444461823, -0.3286237418651581, 0.24679487943649292, -0.08791499584913254, 0.38791003823280334, -0.07604757696390152, 0.4390450716018677, 0.08283030986785889, -0.40332549810409546, -0.21599754691123962, -1.0330418348312378, 0.7889353036880493, -0.7364567518234253, 0.5757864713668823, 0.2285776138305664, 0.5179498195648193, 0.029203055426478386, -0.4903275966644287, -0.7040609121322632, -0.23363026976585388, 0.3316414952278137, 0.3995745778083801, -0.758145272731781, 0.06766866147518158, -0.06066509336233139, 0.9393015503883362, -0.4812016487121582, -0.020121101289987564, -0.3132955729961395, -0.17324014008045197, 0.9400159120559692, 0.4996315538883209, 0.561804473400116, 0.1602589339017868, 0.20349985361099243, -0.08074068278074265, -0.1812538206577301, -0.2260286808013916, 0.9598395824432373, 0.5075693130493164, -0.49050942063331604, 0.5506717562675476, -0.3062601089477539, 0.7208935022354126, -0.1828506886959076, -0.4114728271961212, 0.3706037402153015, -0.4044348895549774, 0.055736441165208817, 0.14706316590309143, 0.6384317874908447, 0.10799900442361832, 0.15874578058719635, -0.3005656898021698, -0.35129180550575256, -0.10283748060464859, 0.08033312857151031, -0.5723735690116882, -0.2773634195327759, 0.0507492832839489, -0.1053168773651123, -0.07679648697376251, -0.2362210899591446, -0.6528438925743103, -0.6839678287506104, -0.31497907638549805, 0.18783022463321686, -0.41878995299339294, -0.5707366466522217, 0.09093095362186432, -0.500249981880188, 0.028353799134492874, 0.14357192814350128, -0.6927585601806641, 0.49199768900871277, 0.5931469798088074, 1.188326358795166, -0.22310610115528107, -0.19728456437587738, -0.3321053683757782, -0.09343772381544113, -0.3690718710422516, 0.8472104072570801, -0.6254748702049255, -0.8179976940155029, -0.21238116919994354, -0.4857112467288971, -0.02375713177025318, -0.864646852016449, 0.40969863533973694, 0.05446307733654976, 0.13586708903312683, -0.3610530495643616, -0.41656559705734253, -0.31465262174606323, 0.08109069615602493, -0.48695772886276245, 0.5939565896987915, 0.30232083797454834, -0.6773934960365295, 0.35497695207595825, -0.6052829623222351, -0.46351054310798645, 0.03472999110817909, -0.18989352881908417, -0.4087297022342682, 0.2324094921350479, -0.028514783829450607, 0.1556566059589386, -0.1812606155872345, 0.15537673234939575, -0.40940919518470764, -0.14644251763820648, 0.2012285590171814, -0.5945180654525757, 0.6699240207672119, 0.5661242604255676, -0.13869991898536682, 0.15248002111911774, -0.8524406552314758, -0.42785316705703735, -0.15877586603164673, -0.2230941653251648, -0.2976733148097992, 0.20333528518676758, 0.18559542298316956, 0.09009464085102081, -0.15318387746810913, -0.619763195514679, -0.17331644892692566, -0.527608335018158, 0.3220471441745758, 0.4489969313144684, 0.060118284076452255, -0.09005452692508698, -0.5074750185012817, 0.5466687679290771, 0.40764468908309937, -0.2586975693702698, 0.23127558827400208, -0.6620115637779236, -0.5421482920646667, -0.8449808955192566, 0.02154613472521305, 0.6269857287406921, 0.10601575672626495, 0.2699071764945984, 0.17855195701122284, -0.9896259307861328, -0.6255794167518616, -0.13360314071178436, 0.27765244245529175, 0.2984828054904938, 0.09927249699831009, -0.5855435729026794, -0.7439587712287903, -0.9053184390068054, -0.5014356970787048, -0.282531201839447, -0.009461646899580956, 0.6308045983314514, 0.2694174349308014, -0.16164235770702362, 0.9577317833900452, -0.31980955600738525, -0.03517989069223404, -0.22867794334888458, 0.6453688144683838, 0.11493635922670364, 0.4314880669116974, 0.8052378296852112, -0.48586151003837585, -0.10943285375833511, 0.05742236599326134, -0.40951454639434814, -0.27339521050453186, 0.36785390973091125, 0.12346822023391724, -0.201158344745636, -0.05119332671165466, -0.46365857124328613, 0.13147516548633575, 0.6331112384796143, -0.2864961624145508, 0.7281582355499268, 0.3265491724014282, 0.3166728615760803, -0.9125313758850098, -0.3006454408168793, -0.04005540907382965, -0.32069826126098633, -0.674201488494873, -0.25014543533325195, -0.796972930431366, -0.4688662588596344, -0.5916814804077148, 0.18086092174053192, -0.2453756332397461, -0.5490428805351257, -0.2829451262950897, 0.15951956808567047, -0.34068071842193604, 0.2039862424135208, -0.26174068450927734, 0.7851511240005493, 0.8260050415992737, -0.5883296132087708, 0.5161295533180237, 0.08708932995796204, -0.2616628110408783, 1.034437894821167, -0.654293954372406, 0.14152801036834717, -0.16841061413288116, 0.22368773818016052, -1.1790480613708496, -0.1257682889699936, 0.02855304814875126, -0.5145848989486694, 0.09666997939348221, -0.027479607611894608, -0.1881093531847, -0.16838790476322174, 0.23021715879440308, 0.3677690625190735, 0.34658393263816833, -0.09339568018913269, 0.5477717518806458, 1.0268086194992065, -0.5380278825759888, -0.3287394344806671, -0.3754931092262268, 0.08639350533485413, -0.3369264006614685, -0.6342364549636841, 0.0035556862130761147, -0.19626787304878235, -0.7537069916725159, -0.10447406023740768, -0.08142195641994476, -0.2070930153131485, 0.11428102850914001, 0.3430715799331665, -0.3525466024875641, -0.4685523211956024, -0.07212023437023163, 0.24401509761810303, 0.4223484992980957, -0.004960931837558746, -0.3571961224079132, 0.7327854037284851, -0.5691584348678589, -0.3879164755344391, -0.29929009079933167, 0.8341199159622192, 0.6552237272262573, -0.2245021015405655, 0.430091917514801, 1.0268452167510986, -0.42475396394729614, 0.07489929348230362, -0.29461583495140076, 0.19651836156845093, -0.40475982427597046, 0.5465373992919922, -0.28235408663749695, -1.1184278726577759, 0.8020178079605103, 0.06944908946752548, 0.4142567813396454, 0.3746231496334076, 0.9482492804527283, -0.045331839472055435, 1.5004403591156006, 0.30603930354118347, -0.028490416705608368, 0.43860775232315063, -0.09951722621917725, 0.2472044974565506, -0.4862927496433258, -0.2241709977388382, -0.7397183775901794, -0.5943196415901184, -0.8194816708564758, -0.2704545855522156, 0.23488886654376984, -0.15555167198181152, -0.3366832733154297, -0.20324039459228516, -0.2603740394115448, 0.2772471010684967, 0.47640249133110046, -0.12788791954517365, 0.1492575854063034, -0.12190185487270355, 0.11393444240093231, -0.0848948135972023, -0.33679452538490295, -0.26328858733177185, 0.6218356490135193, 0.348903089761734, 0.5561188459396362, 0.2183174192905426, 0.7827110886573792, 0.44501936435699463, 0.07304596900939941, -0.8182342052459717, 0.37151026725769043, -0.4538060128688812, -0.7358793616294861, -0.23206734657287598, -0.5286406874656677, -0.7371920347213745, 0.43085235357284546, 0.05766898766160011, -0.5884666442871094, 0.38970431685447693, 0.22659260034561157, -0.27896109223365784, 0.30947402119636536, -0.40925133228302, 0.4736751914024353, 0.0313827209174633, 0.2584063410758972, -0.3590749204158783, -0.21915562450885773, 0.5455157160758972, 0.15776948630809784, 0.17248646914958954, -0.43997642397880554, 0.10176485031843185, 1.1347875595092773, -0.2841084599494934, 0.7562075853347778, -0.20889122784137726, -0.20279791951179504, 0.5506686568260193, 0.15462279319763184, 0.02506604790687561, 0.006947663147002459, 0.3013359606266022, 0.6715402007102966, -0.1976032853126526, -0.28019681572914124, -0.37507838010787964, 0.7145262360572815, -1.1619608402252197, -0.5374124646186829, -0.22595985233783722, -0.8822231888771057, -0.5912978053092957, -0.04122941568493843, 0.15802894532680511, 0.2895843982696533, -0.3756299912929535, 0.3409893214702606, 0.4078212082386017, -0.26606374979019165, 0.2708049714565277, 0.6427168846130371, -0.1815449744462967, -0.5489884614944458, 1.1986080408096313, 0.3844467103481293, 0.24218954145908356, -0.0036992391105741262, 0.49982935190200806, -0.14734765887260437, -0.530367374420166, -0.11180976778268814, -0.05845317989587784, -0.5376389026641846, 0.09890399128198624, -1.1623950004577637, -0.20526434481143951, -0.6064778566360474, 0.05896580219268799, -0.6835709810256958, -0.569978654384613, -0.2364380955696106, -0.42649826407432556, 0.4013521671295166, 0.8007799983024597, -0.4941823482513428, 0.42381033301353455, -0.4827290177345276, 0.4445559084415436, 0.6371968388557434, 0.17986461520195007, -0.16291850805282593, -0.5268883109092712, -0.1595681607723236, 0.19746685028076172, -0.4787423312664032, -1.128682255744934, 0.7287386655807495, 0.41584837436676025, 0.6728823781013489, 0.41762760281562805, -0.12921781837940216, 0.6600359678268433, -0.26679953932762146, 1.0505307912826538, 0.24835410714149475, -1.0553146600723267, 0.5652196407318115, -0.47230294346809387, 0.1310805082321167, 0.26970914006233215, 0.19502989947795868, -0.5874577164649963, -1.1503570079803467, -0.6588127017021179, -0.9607206583023071, 0.3866595923900604, 0.0919768363237381, 0.3012591004371643, -0.20318779349327087, -0.48518267273902893, 0.2822422385215759, 0.36054718494415283, -0.29158633947372437, -0.5510790944099426, -0.6806453466415405, -0.0417511872947216, -0.14713454246520996, 0.09323960542678833, -0.6310837864875793, -0.3577749729156494, 0.20508185029029846, 0.17749057710170746, 0.29612311720848083, -0.042686235159635544, 0.1342749297618866, -0.04650107026100159, 0.3735966384410858, 0.9065067172050476, 0.6305293440818787, -0.1638888716697693, 0.289556086063385, 0.2644542157649994, -0.7261295914649963, 0.0659714862704277, -0.07585026323795319, 0.11090712994337082, 0.5317931771278381, 0.09275224804878235, 1.1457574367523193, 0.09660759568214417, -0.5938039422035217, 0.20976650714874268, -0.04461261257529259, -0.1702689230442047, -0.2539781630039215, 0.3225950598716736, 0.1831437647342682, 0.28651300072669983, 0.18844246864318848, 0.24480457603931427, 0.6102714538574219, -0.5366889834403992, 0.3097345232963562, 0.3967391848564148, -0.6136866807937622, -0.34070560336112976, 0.5014801025390625, 0.40482133626937866, -0.5674254298210144, 0.5144338011741638, -0.16482295095920563, -0.18263621628284454, 0.470154732465744, 0.7567793130874634, 1.3489623069763184, -0.28381237387657166, 0.1319330483675003, 0.18826229870319366, 0.2556360065937042, 0.36752212047576904, 0.5699596405029297, -0.09244157373905182, -0.6511998176574707, 0.06809286773204803, -0.7266674637794495, -0.6175178289413452, 0.07590337097644806, -0.6890757083892822, -0.023623401299118996, -0.5116968154907227, -0.3211807310581207, -0.05343703553080559, -0.18281251192092896, -0.6118718981742859, 0.1967564970254898, 0.45089587569236755, 0.5090696811676025, -1.2060848474502563, 0.1499033272266388, 0.5855655670166016, -0.31514474749565125, -0.6526808738708496, -0.07685355097055435, 0.26792842149734497, -0.7488659024238586, 0.48153039813041687, -0.06356148421764374, -0.3780378997325897, 0.05339527875185013, -0.5657371878623962, -0.771777868270874, 0.7268746495246887, 0.530994176864624, -0.7199471592903137, 0.3382079601287842, 0.03775976225733757, 0.4711296558380127, -0.4355963170528412, 0.340567409992218, 0.7059960961341858, 0.4300377666950226, 0.12881913781166077, -0.9711766839027405, -0.6032459139823914, -0.17549960315227509, -0.03238144516944885, -0.12080033123493195, -0.40897268056869507, 1.021841287612915, -0.19793395698070526, -0.422985702753067, -0.32423439621925354, 0.9544769525527954, 0.5453375577926636, 0.5371667742729187, 0.6474740505218506, 0.8037986159324646, 0.9618737697601318, -0.18719995021820068, 1.0458401441574097, 0.029691627249121666, 0.15820951759815216, 0.8129180669784546, -0.17247535288333893, 0.528841495513916, -0.02169157564640045, -0.5382645726203918, 0.3971031904220581, 0.5834843516349792, 0.16220645606517792, 0.34909889101982117, 0.4502732753753662, -0.6510444283485413, -0.25068768858909607, -0.4780050814151764, -0.5913920402526855, 0.871189296245575, 0.3816039264202118, -0.008251422084867954, -0.17051859200000763, 0.00034003343898802996, -0.010223615914583206, -0.2097744345664978, -0.4080251157283783, 0.8343440890312195, 0.1323845088481903, -0.2718120813369751, 0.5074743628501892, -0.11216314136981964, 0.6633427739143372, -0.4149934947490692, 0.15758627653121948, -0.47966235876083374, -0.360081285238266, -0.3011960983276367, -0.8701672554016113, 0.4887681305408478, 0.13904404640197754, -0.32932528853416443, 0.21365047991275787, 0.2551710307598114, -0.5672197341918945, -0.34315547347068787, -0.042349498718976974, 0.4599330723285675, 0.543407678604126, -0.013345828279852867, -0.5049353837966919, -0.011797912418842316, -0.19120675325393677, -0.04800279065966606, 0.30237069725990295, 0.45694297552108765, 0.03734007105231285, 0.6357744932174683, 0.6343522071838379, 0.5469943284988403, 0.46850746870040894, 0.5672626495361328, 0.5036983489990234, -0.4774250090122223, -0.8655796051025391, -0.8579708337783813, 0.48301583528518677, 0.010296394117176533, -0.8185513615608215, 0.6433188915252686, 0.6680780649185181, 0.7711614966392517, 0.008398455567657948, 0.8751208782196045, 0.11475877463817596, 0.6394047141075134, -0.06926821917295456, 0.8451333045959473, -0.4670089781284332, -0.08096170425415039, -0.6194416284561157, -0.858378529548645, -0.05568660795688629, 0.6580146551132202, -0.08130767941474915, 0.15580730140209198, 0.15502114593982697, 0.8538608551025391, 0.11174169182777405, 0.32829737663269043, 0.6602223515510559, 0.258545845746994, 0.22469088435173035, 0.09402886778116226, 1.1943740844726562, 0.052367571741342545, 0.3801829218864441, -0.07561159878969193, -0.18815277516841888, -0.13913945853710175, -0.5673127174377441, -0.32875731587409973, -0.645357072353363, -0.5879724621772766, -0.10117543488740921, 0.09311605244874954, 0.556431770324707, 0.8503459692001343, -0.8954837918281555, -0.5883449912071228, -0.013401754200458527, 0.17499954998493195, -0.5924596786499023, -0.2815822660923004, -0.2795819938182831, -0.12517240643501282, -0.8492162227630615, 0.5662060976028442, 0.5267658233642578, 0.1507798284292221, -0.4707143306732178, -0.17428165674209595, 0.08476562052965164, 0.44879668951034546, 0.6020894050598145, 0.43875420093536377, -0.6891990303993225, -0.20118504762649536, -0.3364388644695282, 0.07625589519739151, -0.05460275709629059, 0.8521559238433838, -0.4364235997200012, 0.47252893447875977, 0.7283377647399902, 0.5319557785987854, 0.08792012184858322, -0.1361134946346283, 0.8276638984680176, -1.0141948461532593, 0.02475040964782238, 0.6873799562454224, 0.43189918994903564, 0.4190037250518799, 0.048179954290390015, 0.10568032413721085, 0.5131918787956238, -0.4114408791065216, -1.1263983249664307, 0.3634411692619324, -1.0312482118606567, 0.0977993980050087, 0.9962122440338135, -0.06230660155415535, 0.25466063618659973, -0.3476882576942444, -0.16558855772018433, 0.4966415464878082, -0.4769939184188843, 0.6677446961402893, 0.6772122383117676, -0.4246084690093994, -0.29374778270721436, -0.29265251755714417, 0.29587262868881226, 0.1475050151348114, -0.7043439149856567, -0.074766606092453, 0.7554762959480286, 0.12012405693531036, 0.4051295816898346, 0.39053064584732056, -0.24123229086399078, 0.3012767732143402, 0.3904650807380676, 0.043516941368579865, 0.07080376893281937, -0.3617456555366516, -0.30394694209098816, 0.31523847579956055, -0.028359953314065933, -0.4288938343524933 ]
http://arxiv.org/abs/2404.10384v1
http://arxiv.org/pdf/2404.10384v1
Reasoning on Efficient Knowledge Paths:Knowledge Graph Guides Large Language Model for Domain Question Answering
2024-04-16T08:28:16
2024-04-16T08:28:16
Yuqi Wang, Boran Jiang, Yi Luo, Dawei He, Peng Cheng, Liangcai Gao
cs.CL
cs.CL, cs.AI, cs.IR
Large language models (LLMs), such as GPT3.5, GPT4 and LLAMA2 perform surprisingly well and outperform human experts on many tasks. However, in many domain-specific evaluations, these LLMs often suffer from hallucination problems due to insufficient training of relevant corpus. Furthermore, fine-tuning large models may face problems such as the LLMs are not open source or the construction of high-quality domain instruction is difficult. Therefore, structured knowledge databases such as knowledge graph can better provide domain background knowledge for LLMs and make full use of the reasoning and analysis capabilities of LLMs. In some previous works, LLM was called multiple times to determine whether the current triplet was suitable for inclusion in the subgraph when retrieving subgraphs through a question. Especially for the question that require a multi-hop reasoning path, frequent calls to LLM will consume a lot of computing power. Moreover, when choosing the reasoning path, LLM will be called once for each step, and if one of the steps is selected incorrectly, it will lead to the accumulation of errors in the following steps. In this paper, we integrated and optimized a pipeline for selecting reasoning paths from KG based on LLM, which can reduce the dependency on LLM. In addition, we propose a simple and effective subgraph retrieval method based on chain of thought (CoT) and page rank which can returns the paths most likely to contain the answer. We conduct experiments on three datasets: GenMedGPT-5k [14], WebQuestions [2], and CMCQA [21]. Finally, RoK can demonstrate that using fewer LLM calls can achieve the same results as previous SOTAs models.
[ -0.42617931962013245, -1.0267573595046997, 1.0093469619750977, -0.15332651138305664, -0.1414356529712677, 0.18916520476341248, -0.020280219614505768, -0.4784921407699585, 0.015468109399080276, 0.6341122984886169, -0.6608585715293884, -0.7013239860534668, -0.5669329166412354, 0.026076942682266235, -0.08617492765188217, 0.5944689512252808, -0.28291118144989014, 0.026663538068532944, -0.4606512784957886, -0.13285386562347412, -0.40750589966773987, -0.4041062295436859, -0.7411683201789856, -0.5187267661094666, 0.6687639951705933, 0.36614999175071716, 0.6676697731018066, 0.413807213306427, 0.5195097923278809, 0.19757525622844696, -0.14452385902404785, 0.5775302052497864, -0.4425045847892761, 0.2802901268005371, -0.141184464097023, -0.2559264600276947, -0.45774462819099426, -0.21045421063899994, 0.3687513768672943, 0.8543302416801453, 0.11138711869716644, 0.08173861354589462, -0.11226105690002441, 0.7877867221832275, -0.45333659648895264, 0.14698955416679382, -0.5726330280303955, -0.06364528089761734, -0.2792114317417145, -0.3171813488006592, -0.3482356071472168, -0.4944593906402588, 0.11121530830860138, -0.5536479353904724, -0.08175962418317795, 0.17513440549373627, 0.5979206562042236, 0.42470264434814453, -0.5233358144760132, -0.33082684874534607, -0.47826749086380005, 0.5621469616889954, -0.5474318265914917, 0.7198529243469238, 0.3868488669395447, 0.46023693680763245, -0.3756835162639618, -0.740100085735321, -0.40562698245048523, -0.07620420306921005, -0.12745827436447144, 0.0035185953602194786, -0.08889435976743698, 0.21963301301002502, 0.306344598531723, -0.07460018247365952, -0.6895295977592468, -0.08624295145273209, -0.13232292234897614, -0.41253843903541565, 0.46854832768440247, 0.23657271265983582, 0.14687220752239227, -0.09324419498443604, -0.24872684478759766, 0.18118005990982056, -0.9272125363349915, -0.16078969836235046, 0.45016413927078247, 0.13839347660541534, 0.45833757519721985, 0.5836511254310608, -0.35212308168411255, 1.0206841230392456, -0.3394891619682312, -0.39663997292518616, 0.05422775447368622, -0.375600129365921, 0.1672322154045105, -0.15637201070785522, 0.6267439126968384, 0.23728950321674347, 0.48146578669548035, -0.41743889451026917, -0.03061552345752716, -0.2457689791917801, 0.10486983507871628, -0.6718114614486694, -0.26427197456359863, 0.2787179946899414, -0.17046314477920532, 0.19495835900306702, -0.36725130677223206, -0.5023133754730225, -0.4103952646255493, -0.24538938701152802, 0.23804642260074615, -0.6950376033782959, -0.08475776016712189, 0.0822373777627945, -0.0015097103314474225, 0.16124558448791504, 0.5227901339530945, -0.6021566390991211, 0.23434969782829285, 0.5399971604347229, 0.6338567137718201, -0.148416668176651, -0.20590141415596008, -0.4371377229690552, 0.20392616093158722, -0.4006521701812744, 0.8878818154335022, -0.5358195304870605, -0.15687213838100433, -0.250358521938324, -0.19674387574195862, -0.23414860665798187, -0.5517736673355103, 0.4503138065338135, -0.9783364534378052, -0.06827626377344131, -0.48936787247657776, -0.6651816964149475, -0.3840150833129883, 0.368893563747406, -0.42603662610054016, 0.8824650645256042, 0.1726781278848648, -0.8433218002319336, 0.17611126601696014, -0.6120986938476562, -0.5351603627204895, 0.06877487152814865, -0.17706550657749176, -0.039624445140361786, -0.5141180157661438, 0.42802897095680237, 0.5161793828010559, -0.37430986762046814, 0.08790270239114761, -0.21478450298309326, -0.23283885419368744, -0.1726917326450348, -0.07509560883045197, 0.8890663385391235, 0.305866003036499, -0.22436608374118805, -0.04578719660639763, -0.5474252700805664, 0.33210423588752747, 0.2639412581920624, -0.433627724647522, -0.3676379323005676, 0.08438243716955185, -0.6661970019340515, 0.08896427601575851, 0.08930861204862595, -0.3045992851257324, 0.36261722445487976, -0.1331814080476761, 0.31292614340782166, 0.8105176687240601, 0.19152911007404327, 0.14487439393997192, -0.0580105297267437, 0.7040732502937317, -0.10052433609962463, 0.0021393648348748684, 0.2660454213619232, -0.8083907961845398, -0.7035852670669556, -0.062135763466358185, 0.31221678853034973, 0.6241076588630676, -0.9190720319747925, 0.14006388187408447, -0.28607508540153503, -0.43336397409439087, -0.41440853476524353, 0.2555842995643616, 0.34615257382392883, 0.603232741355896, 0.422187864780426, -0.01644992083311081, -0.4365772008895874, -0.6883937120437622, -0.3542617857456207, -0.12650051712989807, 0.24553361535072327, 0.6037053465843201, 0.4810020327568054, -0.25229379534721375, 1.0510540008544922, -0.8063228130340576, 0.01738576963543892, -0.4818764925003052, -0.10049919784069061, 0.24640217423439026, -0.0031370411161333323, 0.21119137108325958, -0.678842306137085, -0.5320379137992859, -0.10506046563386917, -0.8040869832038879, -0.23422542214393616, 0.1855633407831192, -0.4577869474887848, 0.08285896480083466, 0.49787601828575134, -0.7548797726631165, 0.21187464892864227, 0.322803795337677, -0.2305886596441269, 0.5543534159660339, 0.03683674708008766, 0.011464715003967285, -0.6665907502174377, 0.04126480966806412, -0.20261003077030182, -0.4436052143573761, -0.44728827476501465, -0.015155619010329247, -0.15935280919075012, 0.20747943222522736, -0.2391921430826187, 0.5710601210594177, -0.3540492653846741, -0.2417827993631363, -0.03700108081102371, 0.43079760670661926, -0.010456409305334091, 0.6259959936141968, 0.05106008052825928, 0.684689998626709, 0.44371381402015686, -0.5785248875617981, 0.6267479062080383, 0.2037832885980606, -0.3288252055644989, 0.2716490924358368, -0.41439342498779297, 0.6046979427337646, -0.09418536722660065, 0.42868179082870483, -0.8232825398445129, -0.09729820489883423, 0.348023384809494, -0.31674015522003174, 0.06192900240421295, -0.2311789095401764, -0.7449924945831299, -0.43595772981643677, 0.013017931953072548, 0.32808753848075867, 0.3259281516075134, -0.5414277911186218, 0.542630672454834, 0.5073772072792053, 0.07092515379190445, -0.7108436822891235, -0.21585974097251892, -0.07450471818447113, -0.11899013072252274, -1.0057520866394043, 0.09514985233545303, -0.11530663073062897, -0.22440645098686218, 0.17594212293624878, -0.25781071186065674, 0.07299511879682541, 0.09084458649158478, 0.012713024392724037, 0.09368766099214554, -0.04883220046758652, 0.2126172035932541, -0.05785330384969711, -0.35710930824279785, 0.12645848095417023, -0.5932949781417847, 0.6033239960670471, -0.07269033789634705, -0.5910239219665527, -0.004491216037422419, 0.2695537209510803, 0.5321415066719055, -0.03213905170559883, 0.579224705696106, 0.45311108231544495, -0.32334840297698975, -0.21406158804893494, -0.50815749168396, -0.14054365456104279, -0.37359070777893066, 0.2788980007171631, -0.5639953017234802, -0.9397309422492981, 0.41475072503089905, -0.3288397490978241, -0.045122887939214706, 0.35784757137298584, 0.5400547385215759, 0.02530214935541153, 1.1083208322525024, 0.15750752389431, 0.13997136056423187, -0.06626725941896439, -0.4635900557041168, 0.5893137454986572, -0.9057926535606384, -0.4243992567062378, -0.32318153977394104, -0.04593248665332794, -0.38362401723861694, -0.5210196375846863, 0.6625263094902039, 0.2574206292629242, -0.21886156499385834, 0.25214990973472595, -0.41519156098365784, 0.5578811168670654, 0.6140848994255066, 0.10404171794652939, 0.49869322776794434, -0.20985868573188782, -0.5523145198822021, 0.24177393317222595, -1.0395123958587646, -0.47481563687324524, 0.9507091641426086, 0.22294571995735168, 0.7427268028259277, 0.15365400910377502, 0.5489571690559387, -0.028591495007276535, 0.058306850492954254, -0.8097056746482849, 0.8702855110168457, 0.007327662315219641, -0.7398243546485901, -0.4252084195613861, -0.6488116979598999, -0.8327085971832275, 0.23299536108970642, 0.02815569005906582, -0.7351129651069641, -0.10510493814945221, 0.1553351730108261, -0.42356038093566895, 0.4446607530117035, -0.5869928598403931, 0.7867369055747986, -0.2118837684392929, -0.3544214367866516, -0.12736065685749054, -0.8513941764831543, 0.37568798661231995, -0.03256708011031151, 0.14350634813308716, -0.052289530634880066, 0.2576487362384796, 0.7743386030197144, -0.5418245196342468, 0.6171743273735046, -0.22221879661083221, -0.03076624497771263, 0.6277784705162048, 0.09208718687295914, 0.8157469034194946, -0.21475882828235626, -0.02366192638874054, 0.13490210473537445, -0.07404731959104538, -0.23109203577041626, -0.749327540397644, 0.5530464053153992, -0.6911170482635498, -0.8005734086036682, -0.1899191290140152, -0.49144163727760315, -0.7011138796806335, 0.2606666386127472, 0.23981331288814545, 0.3901049792766571, 0.3099925220012665, 0.09800291061401367, 0.6522412896156311, -0.23818837106227875, -0.019961843267083168, 0.1823158711194992, -0.3302575647830963, -0.14997614920139313, 0.7345420718193054, 0.38357478380203247, 0.3930678367614746, 0.3930797576904297, 0.28903964161872864, -0.5797004103660583, -0.7229148149490356, -0.4088359773159027, 0.24103060364723206, -1.169211983680725, -0.26097604632377625, -0.9414932727813721, -0.407188355922699, -0.5538416504859924, 0.148758664727211, -0.1655532270669937, -0.46116602420806885, 0.1505749523639679, -0.28999999165534973, 0.5620138645172119, 0.7129877805709839, 0.05191965401172638, -0.016553929075598717, -0.7342337965965271, 0.4231241047382355, 0.6672853827476501, 0.34596389532089233, 0.11012264341115952, -0.127727210521698, -0.21031154692173004, -0.16525116562843323, -0.31335893273353577, -0.8972955942153931, 0.05761515349149704, -0.1998526155948639, 0.8243127465248108, 0.13845229148864746, 0.09640151262283325, 0.7267476916313171, -0.5035051107406616, 0.5478941202163696, -0.04165666550397873, -0.6874017715454102, 0.5015998482704163, -0.35471948981285095, 0.01697506383061409, 0.3620785176753998, 0.49156078696250916, -0.4339357912540436, -0.25512805581092834, -0.5995264649391174, -1.0036265850067139, 0.6319089531898499, 0.24292728304862976, -0.37368252873420715, -0.01002416480332613, 0.3737175166606903, 0.022341232746839523, 0.07979624718427658, -0.4672647714614868, -0.25982022285461426, -0.018087636679410934, 0.02666843868792057, 0.25860801339149475, -0.1998409777879715, -0.18006975948810577, -0.33706384897232056, 0.7509667873382568, -0.26936471462249756, 0.20396363735198975, 0.17009958624839783, -0.07504361867904663, -0.10257890820503235, 0.18507303297519684, 0.10637389868497849, 0.8197707533836365, -0.20288234949111938, 0.5032492876052856, 0.3725115954875946, -0.2598336338996887, 0.07622943818569183, -0.2113458663225174, -0.024539869278669357, -0.23492243885993958, 0.535341739654541, 0.6889632344245911, -0.21914084255695343, -0.7174429297447205, 0.4002757966518402, 0.21502520143985748, -0.12593843042850494, -0.13560251891613007, 0.2552645206451416, 0.4251125752925873, 0.3986363410949707, 0.0685640498995781, -0.037611253559589386, 0.024169225245714188, -0.39581289887428284, 0.08095069974660873, 0.4684862792491913, -0.2693420946598053, 0.14069221913814545, 0.43313583731651306, 0.149558424949646, -0.2851698696613312, 0.8849823474884033, -0.4083090126514435, -0.837074875831604, 0.40410855412483215, 0.4050714373588562, 0.615726888179779, 0.13537336885929108, 0.08417483419179916, 0.2421754002571106, 0.28422901034355164, 0.007176752667874098, 0.12996339797973633, 0.10681705921888351, -0.9689173102378845, -0.652428388595581, -0.5111826658248901, -0.42708584666252136, 0.1318299025297165, -0.07821512967348099, 0.0673287883400917, -0.29830166697502136, -0.05395593121647835, -0.2511135935783386, 0.11445937305688858, -0.5504562854766846, 0.11897538602352142, 0.00124446046538651, 0.9832919239997864, -0.5888411402702332, 0.8646409511566162, 0.5826842188835144, -0.21057389676570892, -1.0475972890853882, -0.038339048624038696, 0.0065696691162884235, -0.9532240629196167, 0.8049314022064209, -0.029340270906686783, -0.46134406328201294, 0.20144802331924438, -0.49734237790107727, -0.783906877040863, 1.2226495742797852, 0.4351249933242798, -0.3002851605415344, 0.04198827967047691, 0.1249043345451355, 0.35243284702301025, -0.30135631561279297, 0.16371232271194458, 0.6583342552185059, 0.6283791065216064, 0.4989008903503418, -0.6562709212303162, 0.24796947836875916, 0.02080817148089409, -0.15995550155639648, 0.1948825865983963, -0.6478844285011292, 0.6478440761566162, -0.4432860016822815, -0.05760953947901726, -0.17351876199245453, 0.2882820665836334, 0.5550506114959717, 0.24997949600219727, 0.7005563378334045, 0.6315445303916931, 0.9792320728302002, -0.009454712271690369, 1.1880865097045898, -0.17703357338905334, 0.28410130739212036, 0.743046224117279, -0.18636175990104675, 0.4977814853191376, 0.4110592007637024, -0.36940088868141174, 0.4541950821876526, 0.9139454960823059, 0.44133666157722473, 0.5663371682167053, 0.41994017362594604, -0.08660468459129333, -0.7233448624610901, -0.000020533243514364585, -0.2224431335926056, 0.3005169928073883, 0.21809905767440796, -0.019899364560842514, -0.3259027600288391, -0.3817191421985626, 0.16789546608924866, -0.22248435020446777, -0.11180470883846283, 0.5019115209579468, 0.18158943951129913, -0.8115420937538147, 0.5117549896240234, -0.1688498705625534, 0.13241533935070038, -0.6519179940223694, -0.21190132200717926, -0.34201475977897644, -0.04078126326203346, -0.3197039067745209, -0.808399498462677, 0.24982686340808868, -0.03669624403119087, 0.01816687174141407, -0.2608411908149719, 0.8464022874832153, -0.07896830886602402, -0.2849559187889099, 0.5742255449295044, 0.8385090231895447, 0.3417355418205261, -0.06801313161849976, -0.6408616900444031, -0.21046683192253113, -0.03701213747262955, -0.4514572322368622, 0.22516648471355438, 0.5879998207092285, -0.20766597986221313, 1.0199607610702515, 0.7775779366493225, 0.09954014420509338, 0.06993186473846436, 0.22188840806484222, 0.9201629757881165, -0.5278995633125305, -0.28776171803474426, -0.7848954796791077, 0.2126358300447464, -0.07374105602502823, -0.03854164481163025, 0.6921728253364563, 0.4574824571609497, 0.5938265919685364, 0.3072151243686676, 0.8573265075683594, -0.06170693039894104, 0.6549103260040283, -0.9152765274047852, 0.3817887008190155, -0.4851524531841278, 0.6525288224220276, -0.2937164008617401, -0.8520750999450684, -0.38815760612487793, 0.698932945728302, -0.5756732821464539, 0.27258601784706116, 1.0588319301605225, 0.8212619423866272, 0.03379461541771889, 0.0037083893548697233, 0.1978195607662201, 0.22098706662654877, 0.3193185329437256, 0.7367932200431824, 0.9713540077209473, -0.05700261890888214, 0.7745815515518188, -0.09044712036848068, -0.16108104586601257, -0.1710105836391449, -0.8343953490257263, -0.7142590284347534, -0.39213719964027405, -0.2543020248413086, -0.545385479927063, 0.20245878398418427, 0.7806879878044128, 0.6893100738525391, -0.553983211517334, -0.03792329505085945, -0.22178815305233002, 0.7596825361251831, -0.2640058696269989, -0.19029274582862854, 0.6639441847801208, -0.37546202540397644, -0.3857438862323761, 0.40124520659446716, 0.26823166012763977, -0.2747950851917267, -0.20419014990329742, -0.2399751842021942, -0.27179938554763794, -0.04699846729636192, 0.5853055715560913, -0.007761660031974316, -0.6073011755943298, -0.6029689311981201, 0.2594618797302246, -0.01616891287267208, 0.08024277538061142, 0.8208333253860474, -0.7769278883934021, 0.3144139349460602, 0.6642580628395081, 0.6775920987129211, 0.542599618434906, -0.09306195378303528, 0.40990835428237915, -0.5668095946311951, -0.39383578300476074, 0.2867307662963867, 0.44023752212524414, 0.24986785650253296, -0.44066137075424194, 0.8879716992378235, 0.5443935394287109, -0.6104702353477478, -0.45916324853897095, 0.48769035935401917, -0.8519395589828491, -0.47227269411087036, 1.5465154647827148, -0.19386926293373108, -0.09364034235477448, -0.5372134447097778, -0.16886094212532043, 0.19948093593120575, -0.07901288568973541, 0.4944154918193817, 0.7821155786514282, -0.8214153051376343, -0.15628407895565033, -0.7395797371864319, 0.4482753872871399, 0.14815759658813477, -0.741527259349823, 0.11371856927871704, 0.3615805208683014, 0.3040921688079834, 0.18304508924484253, 0.9363398551940918, -0.041370801627635956, -0.12045621871948242, -0.023400550708174706, -0.3207012414932251, -0.1729268729686737, -0.42794132232666016, 0.36047452688217163, 0.2972322106361389, 0.17890912294387817, -0.04921509698033333 ]
http://arxiv.org/abs/2404.10346v3
http://arxiv.org/pdf/2404.10346v3
Self-Explore to Avoid the Pit: Improving the Reasoning Capabilities of Language Models with Fine-grained Rewards
2024-04-16T07:30:11
2024-05-16T13:47:00
Hyeonbin Hwang, Doyoung Kim, Seungone Kim, Seonghyeon Ye, Minjoon Seo
cs.CL
cs.CL
Training on large amounts of rationales (i.e., CoT Fine-tuning) is effective at improving the reasoning capabilities of large language models (LLMs). However, acquiring human-authored rationales or augmenting rationales from proprietary models is costly and not scalable. In this paper, we study the problem of whether LLMs could self-improve their reasoning capabilities. To this end, we propose Self-Explore, where the LLM is tasked to explore the first wrong step (i.e., the first pit) within the rationale and use such signals as fine-grained rewards for further improvement. On the GSM8K and MATH test set, Self-Explore achieves 11.57% and 2.89% improvement on average across three LLMs compared to supervised fine-tuning (SFT). Our code is available at https://github.com/hbin0701/Self-Explore.
[ -0.5574631690979004, -0.6484866738319397, 0.8887426257133484, -0.0009407412144355476, -0.10738722234964371, 0.0931355357170105, -0.30912837386131287, -0.24812771379947662, -0.14885316789150238, 0.5712504386901855, -0.634818971157074, -0.31505289673805237, -0.7442498803138733, -0.00793712679296732, -0.047688961029052734, 0.6687750220298767, -0.21045061945915222, -0.2298102080821991, -0.18970711529254913, -0.05408278480172157, -0.5876139998435974, -0.5041059851646423, -0.6818066835403442, -0.20617906749248505, 0.6471993923187256, 0.5883330702781677, 0.45488446950912476, 0.693936288356781, 0.47578033804893494, 0.3269072473049164, -0.1840706616640091, 0.27964866161346436, -0.6838610768318176, 0.19814081490039825, -0.574670672416687, -0.43558135628700256, -0.28150099515914917, 0.10494793206453323, 0.22921213507652283, 0.32161733508110046, -0.08733324706554413, 0.008136012591421604, 0.059041913598775864, 0.8340548276901245, -0.7744298577308655, 0.25423598289489746, -0.5963696837425232, -0.20999276638031006, -0.2960628569126129, -0.4632393717765808, -0.3470019996166229, -0.04630477353930473, 0.09766651690006256, -0.487991064786911, 0.045894406735897064, -0.030521759763360023, 0.45893868803977966, 0.5410769581794739, -0.12614743411540985, -0.22073747217655182, -0.5811922550201416, 0.9628430008888245, -0.6266220211982727, 0.1408298909664154, 0.523925244808197, 0.42325034737586975, -0.29720640182495117, -0.3335554003715515, -0.1770479679107666, -0.31894469261169434, -0.17228016257286072, -0.11403454095125198, -0.2289765477180481, 0.06366556882858276, 0.48401570320129395, 0.23127882182598114, -0.4157218635082245, 0.0796344205737114, -0.3443680703639984, -0.26038655638694763, 0.8961362838745117, 0.22349488735198975, 0.3058106303215027, -0.13215532898902893, -0.2612927258014679, -0.12997792661190033, -0.8118214011192322, 0.3520401120185852, 0.043638091534376144, 0.3005480468273163, 0.20236597955226898, 0.7240205407142639, -0.5958053469657898, 0.5737118721008301, 0.14812438189983368, -0.04754595458507538, -0.018448760733008385, -0.23516781628131866, -0.21849006414413452, 0.13149629533290863, 0.4477568566799164, -0.08547153323888779, 0.40645623207092285, -0.22523553669452667, -0.40357086062431335, 0.1262774020433426, 0.4508211016654968, -0.725802481174469, -0.2835755944252014, 0.3338797092437744, -0.14448198676109314, -0.29543712735176086, -0.3094787895679474, -0.528392493724823, -0.43481048941612244, -0.4919317662715912, 0.5466184020042419, -0.632112443447113, -0.1888851523399353, 0.28807830810546875, 0.06228787824511528, 0.1170433759689331, 0.5700832605361938, -1.090420126914978, 0.08521296828985214, 0.8801403641700745, 0.6665127873420715, -0.029290853068232536, -0.5280165672302246, -0.7300881743431091, 0.01434955932199955, -0.4642156660556793, 1.1547925472259521, -0.46079230308532715, -0.5081442594528198, -0.4261505901813507, -0.18641690909862518, -0.12898977100849152, -0.6579476594924927, 0.6126527190208435, -0.3500280976295471, 0.01964246667921543, -0.4279140830039978, -0.5969570279121399, -0.04310267046093941, 0.52740877866745, -0.29123568534851074, 0.9904648661613464, 0.2891245484352112, -0.528745710849762, -0.002869263058528304, -0.8233147859573364, -0.1979987472295761, -0.08110860735177994, -0.368733286857605, -0.021879082545638084, 0.35552066564559937, 0.6164965033531189, 0.2444399893283844, -0.15688496828079224, 0.34790149331092834, -0.39161404967308044, -0.5921863913536072, 0.09659900516271591, -0.3343214988708496, 0.5288323760032654, 0.3639403283596039, -0.7403669357299805, 0.12124202400445938, -0.621056854724884, 0.18354150652885437, 0.2602500319480896, -0.16218115389347076, -0.5625223517417908, 0.021991385146975517, -0.6935714483261108, 0.3094820976257324, 0.13656660914421082, -0.3701713979244232, 0.4008157551288605, -0.6911079287528992, 0.17225797474384308, 1.091474175453186, -0.2899100184440613, 0.6596789360046387, -0.46137261390686035, 0.7324303388595581, 0.028803639113903046, 0.06577873975038528, -0.4634486734867096, -0.20469535887241364, -0.8581064343452454, -0.26320093870162964, 0.5453347563743591, 0.2565705180168152, -0.4944208562374115, 0.2920277416706085, 0.009141759015619755, -0.46186912059783936, -0.6622288823127747, 0.24963118135929108, 0.17775459587574005, 0.3162469267845154, 0.5869699120521545, -0.11287805438041687, -0.2027893215417862, -0.6963366270065308, -0.5912878513336182, -0.01069248840212822, -0.07891098409891129, 0.4461025297641754, 0.26210588216781616, -0.3741284906864166, 1.1482948064804077, -0.46010613441467285, -0.19967345893383026, -0.15127572417259216, 0.358236700296402, -0.05505431815981865, 0.6718822717666626, 0.28909045457839966, -0.4339301288127899, -0.4358946681022644, 0.07180722802877426, -0.6314713358879089, -0.3384769856929779, -0.2077299803495407, -0.16146138310432434, 0.17318928241729736, 0.6270990967750549, -0.6072157621383667, 0.4817952513694763, 0.36384308338165283, -0.43652406334877014, 0.5567384958267212, -0.2891509532928467, 0.01277977880090475, -0.468955934047699, -0.13450361788272858, -0.07534687966108322, -0.2276255339384079, -0.33114326000213623, 0.18092402815818787, 0.169252410531044, 0.02608547732234001, -0.2577054500579834, 0.936231791973114, -0.4351601004600525, 0.050935737788677216, -0.5949431657791138, 0.2608773708343506, -0.0599161759018898, 0.5147333145141602, -0.16248342394828796, 1.0792124271392822, 0.7248327732086182, -0.5873827338218689, -0.09691301733255386, -0.05773643031716347, -0.31922465562820435, 0.11801190674304962, -0.4492354989051819, 0.09313345700502396, -0.24040287733078003, 0.03674768656492233, -0.7478522658348083, -0.13325312733650208, 0.25731927156448364, -0.430131196975708, 0.18520331382751465, -0.12401384860277176, -0.05006437003612518, -0.22282688319683075, -0.3343401551246643, 0.47773781418800354, 0.45780351758003235, -1.004380702972412, 0.6297577023506165, 0.2608593702316284, -0.41266778111457825, -0.6240564584732056, -0.441800594329834, -0.0772586315870285, -0.34294238686561584, -0.6671209335327148, 0.1285787969827652, -0.29874739050865173, -0.29282742738723755, -0.20834797620773315, -0.37136316299438477, 0.18120907247066498, 0.35118821263313293, 0.0006739551317878067, -0.02758893556892872, -0.21305876970291138, 0.2982640564441681, 0.2020852118730545, -0.3975089192390442, 0.2947482168674469, -0.2335786521434784, 0.6499995589256287, -0.4717695415019989, -0.4889301061630249, -0.33192574977874756, 0.17147910594940186, 0.3210255801677704, -0.32712486386299133, 0.22611497342586517, 0.4013514518737793, -0.24993857741355896, -0.18588966131210327, -0.7222193479537964, -0.2418927252292633, -0.5671469569206238, 0.06039572134613991, -0.6946782469749451, -1.2505146265029907, 0.3051527440547943, -0.4625548720359802, -0.16226603090763092, 0.6872456073760986, 0.42349326610565186, -0.22694869339466095, 1.2070611715316772, 0.5659737586975098, -0.03594742715358734, 0.2522844076156616, -0.2916848659515381, 0.28930532932281494, -0.96001136302948, -0.11157247424125671, -0.5889765024185181, -0.11366941779851913, -0.6466887593269348, -0.5289464592933655, 0.22528180480003357, 0.35231027007102966, -0.18932291865348816, 0.17276272177696228, -0.3852320611476898, 0.8505798578262329, 0.5825155377388, -0.0010316827101632953, 0.33380770683288574, -0.028281746432185173, -0.2891820967197418, -0.09884589165449142, -0.9651497602462769, -0.4927635192871094, 0.9727544188499451, 0.5506454706192017, 1.0344854593276978, 0.009025237523019314, 1.103692889213562, -0.04613356664776802, 0.39025071263313293, -0.8302278518676758, 0.4560009241104126, 0.060247212648391724, -0.5305559039115906, -0.6927180290222168, -0.7533236145973206, -1.0530123710632324, 0.3973678648471832, 0.07715170085430145, -0.8837794661521912, 0.28619295358657837, 0.2956037223339081, -0.6085934042930603, 0.11250331997871399, -0.7601631283760071, 1.030512809753418, -0.6231618523597717, -0.5055921673774719, -0.4444383680820465, -0.22298452258110046, 0.5319483876228333, -0.19840937852859497, 0.30615347623825073, -0.22410711646080017, 0.29537108540534973, 0.46876591444015503, -0.2804299294948578, 0.6880744099617004, -0.05599188432097435, -0.1526545137166977, 0.3952881693840027, 0.5345599055290222, 0.6823464035987854, 0.24774737656116486, 0.16804839670658112, -0.10015938431024551, -0.05655668303370476, -0.5984059572219849, -0.8578468561172485, 0.7796059846878052, -0.524583101272583, -1.177045464515686, -0.6642854809761047, -0.5460560321807861, -0.34762856364250183, 0.20343667268753052, -0.11373394727706909, 0.36643585562705994, 0.012709916569292545, 0.06213534250855446, 0.7216796875, -0.17849098145961761, 0.3426673114299774, 0.3480091691017151, -0.2027973234653473, -0.09528285264968872, 0.8624539971351624, -0.04210517928004265, 0.3397846519947052, -0.020206203684210777, 0.7965242266654968, -0.6275007724761963, -0.6310017704963684, -0.4832748472690582, 0.1277082860469818, -0.5476281642913818, -0.21207907795906067, -0.6615232825279236, -0.1612413078546524, -0.519527792930603, -0.21662235260009766, -0.5797632932662964, -0.3789655268192291, -0.23657584190368652, 0.22125062346458435, 0.20018671452999115, 0.6015650629997253, -0.3214346468448639, 0.49357831478118896, -0.824776291847229, 0.08410315960645676, 0.4791666269302368, 0.5355014204978943, 0.016552327200770378, -0.7279755473136902, -0.27331122756004333, 0.17069709300994873, -0.42982104420661926, -0.35360172390937805, 0.44967010617256165, -0.4480800926685333, 0.6798332929611206, 0.512100100517273, 0.1473613679409027, 0.8868183493614197, -0.2879047095775604, 0.4266800880432129, 0.07335254549980164, -1.022491216659546, 0.6535623073577881, -0.5551378726959229, 0.5405120253562927, 0.7871257662773132, 0.36777275800704956, -0.2572861313819885, -0.24488137662410736, -0.9115843772888184, -0.5456831455230713, 0.8484593629837036, 0.21004199981689453, -0.04182165861129761, 0.15337558090686798, 0.43890589475631714, -0.17169903218746185, -0.11905447393655777, -0.9110870957374573, 0.21967355906963348, 0.022569863125681877, 0.009403206408023834, -0.2521546483039856, -0.30268481373786926, -0.2933395802974701, -0.40008631348609924, 0.740778923034668, -0.38600584864616394, 0.07801716774702072, 0.40484264492988586, -0.11016003787517548, -0.2824975848197937, 0.45620325207710266, 0.5443076491355896, 0.6436457633972168, -0.23767046630382538, 0.348777711391449, 0.2136470228433609, 0.06815648823976517, 0.06522217392921448, 0.11963198333978653, 0.04052679240703583, -0.33074480295181274, 0.046975746750831604, 0.6625053286552429, 0.3486161231994629, -0.9465760588645935, 0.3361192047595978, -0.07264377176761627, -0.08050370961427689, -0.08478939533233643, 0.519737184047699, 0.09188541024923325, 0.43914851546287537, -0.02037331834435463, 0.007108824327588081, 0.2095629721879959, -0.6283162832260132, 0.1652255356311798, 0.46579742431640625, -0.20655608177185059, 0.14941483736038208, 0.3716809153556824, -0.009564246982336044, -0.43810397386550903, 0.3781420588493347, -0.4785573184490204, -0.600123405456543, 0.576358437538147, 0.5695951581001282, 0.7636730670928955, -0.3324151337146759, 0.19618725776672363, 0.48605045676231384, 0.5440611839294434, -0.48314180970191956, -0.061196137219667435, -0.11483816802501678, -0.5813815593719482, -0.608563244342804, -0.43672284483909607, -0.41264188289642334, 0.14746834337711334, -0.2339111715555191, 0.49214503169059753, -0.2467411607503891, 0.19083407521247864, -0.13415168225765228, 0.08116264641284943, -0.30508267879486084, 0.26548120379447937, 0.10907100886106491, 0.990902841091156, -0.2554893493652344, 0.934808611869812, 0.37262555956840515, -0.06230754032731056, -0.8520082831382751, -0.026111893355846405, -0.228870689868927, -0.6516813635826111, 0.2963377833366394, 0.4089319705963135, -0.24539059400558472, 0.022780273109674454, -0.48028334975242615, -1.2121248245239258, 1.0315574407577515, 0.12560883164405823, -0.8072749972343445, 0.15581873059272766, 0.14026400446891785, 0.4814395010471344, -0.4391731917858124, 0.35779112577438354, 0.819075345993042, 0.5258857011795044, 0.1137242540717125, -0.6272079348564148, -0.13390375673770905, 0.05497782304883003, -0.20932967960834503, 0.25446173548698425, -0.6056860089302063, 0.7763587236404419, -0.47194305062294006, -0.2643817961215973, 0.05090825632214546, 0.49741849303245544, 0.6413692831993103, 0.5832191705703735, 0.7905160784721375, 0.4572632908821106, 0.7959353923797607, 0.007626659236848354, 1.1307764053344727, -0.21466097235679626, 0.6748178601264954, 1.4166582822799683, -0.03490430861711502, 0.668701708316803, 0.47741463780403137, 0.06663372367620468, 0.28350555896759033, 0.7407611012458801, 0.23113779723644257, 0.5097773671150208, 0.43132004141807556, -0.11393999308347702, -0.6185991168022156, 0.31063568592071533, -0.3298952579498291, 0.6662386059761047, 0.345213919878006, -0.08044753223657608, -0.5532251000404358, -0.25348961353302, -0.2180931121110916, 0.2250904142856598, -0.3244907855987549, 0.5025976896286011, 0.0907197967171669, -0.8908749222755432, 0.7299376130104065, 0.15305963158607483, 0.563071608543396, -0.5090363621711731, 0.14284422993659973, -0.4594268202781677, 0.06961830705404282, 0.056308381259441376, -0.5612589120864868, 0.39545246958732605, 0.09335940331220627, 0.2729797065258026, -0.26321446895599365, 1.0718190670013428, -0.2910524606704712, -0.36575958132743835, 0.49482646584510803, 0.8241569995880127, 0.08361010998487473, -0.41155806183815, -0.7696176767349243, -0.11823850125074387, -0.011561479419469833, -0.5131209492683411, 0.6369680166244507, 0.5372440218925476, -0.08665802329778671, 0.9315159320831299, 0.6863605976104736, -0.19428662955760956, 0.014231651090085506, -0.012988042086362839, 1.1201287508010864, -1.0944287776947021, -0.556421160697937, -1.00394606590271, 0.37053969502449036, 0.055505212396383286, -0.22980418801307678, 0.49939772486686707, 0.6182709336280823, 1.0418554544448853, 0.07956411689519882, 0.7285552024841309, 0.17209690809249878, 0.44731858372688293, -0.6452105641365051, 0.4586145877838135, -0.7505013942718506, 0.4427017569541931, -0.1063283309340477, -0.6129397749900818, -0.08196838200092316, 0.9255357384681702, -0.47748857736587524, -0.09302106499671936, 0.7526659965515137, 0.8910582661628723, -0.2476721554994583, 0.2732585668563843, 0.39957287907600403, 0.34474676847457886, 0.29590821266174316, 0.5064734220504761, 1.263513445854187, -0.1345740258693695, 0.2781257629394531, -0.5874748229980469, -0.43725189566612244, -0.02835603430867195, -0.734895646572113, -0.9677347540855408, -0.083180271089077, -0.082469642162323, -0.36711353063583374, -0.15853504836559296, 1.0432196855545044, 0.5010472536087036, -0.6980592608451843, -0.3309601843357086, -0.3224778473377228, 0.31093931198120117, -0.07869502902030945, -0.16720038652420044, 0.1992427110671997, -1.0697036981582642, -0.7431260943412781, 0.8449885249137878, 0.32109805941581726, 0.051327385008335114, -0.45451483130455017, -0.18187160789966583, -0.10595232248306274, 0.21593253314495087, 0.6793191432952881, 0.37152695655822754, -0.7521747946739197, -0.4432266354560852, 0.24441620707511902, -0.06592804938554764, 0.280305415391922, 1.038926362991333, -0.9545707702636719, 0.5365474224090576, 0.2168222963809967, 1.04900062084198, 0.5650476217269897, 0.062010545283555984, 0.4112558662891388, -0.19815900921821594, -0.07972366362810135, 0.20507261157035828, 0.3442613482475281, -0.0842045247554779, -0.5186475515365601, 0.8071543574333191, 0.08720619976520538, -0.717583179473877, -0.8419890403747559, 0.061679452657699585, -1.107704520225525, -0.4300134479999542, 1.1526787281036377, -0.04851236194372177, -0.3880102336406708, 0.022303970530629158, -0.3580981492996216, -0.042381398379802704, -0.20444348454475403, 1.4194363355636597, 0.8083530068397522, -0.44449615478515625, -0.09880097210407257, -0.45575082302093506, 0.5704949498176575, 0.8890008330345154, -1.026368260383606, 0.33824682235717773, 0.28805020451545715, 0.3023342788219452, 0.1470658779144287, 0.9633828997612, -0.19617527723312378, 0.2754061222076416, -0.23656710982322693, -0.17195741832256317, 0.011091035790741444, -0.6751433610916138, -0.7426995635032654, -0.033508528023958206, 0.20359380543231964, 0.1564721167087555 ]
http://arxiv.org/abs/2404.13079v1
http://arxiv.org/pdf/2404.13079v1
Relational Graph Convolutional Networks for Sentiment Analysis
2024-04-16T07:27:49
2024-04-16T07:27:49
Asal Khosravi, Zahed Rahmati, Ali Vefghi
cs.CL
cs.CL, cs.LG
With the growth of textual data across online platforms, sentiment analysis has become crucial for extracting insights from user-generated content. While traditional approaches and deep learning models have shown promise, they cannot often capture complex relationships between entities. In this paper, we propose leveraging Relational Graph Convolutional Networks (RGCNs) for sentiment analysis, which offer interpretability and flexibility by capturing dependencies between data points represented as nodes in a graph. We demonstrate the effectiveness of our approach by using pre-trained language models such as BERT and RoBERTa with RGCN architecture on product reviews from Amazon and Digikala datasets and evaluating the results. Our experiments highlight the effectiveness of RGCNs in capturing relational information for sentiment analysis tasks.
[ -0.4737379848957062, -0.9488877654075623, 0.36187171936035156, 0.26866215467453003, -0.48282361030578613, 0.15760432183742523, -0.20095740258693695, -0.6139791011810303, 0.47886666655540466, 0.40229615569114685, -0.6873307228088379, -0.8616580367088318, -0.6938856840133667, -0.06928710639476776, -0.10661506652832031, 1.1508992910385132, 0.2095566689968109, 0.00473981536924839, -0.44486939907073975, -0.2787671685218811, -0.09511374682188034, -0.46284058690071106, -0.6629214882850647, -0.4539727568626404, 0.972029447555542, 0.15996620059013367, 1.1547554731369019, -0.174971342086792, 0.4385121762752533, 0.22049570083618164, 0.031648483127355576, 0.4691433608531952, -0.5094517469406128, 0.40046700835227966, 0.1222713366150856, 0.059444475919008255, -0.3456280827522278, 0.11873810738325119, 0.5065444111824036, 0.9508901238441467, 0.1612803339958191, 0.15359169244766235, 0.15086066722869873, 0.7634661793708801, -0.31464314460754395, 0.6646226048469543, -0.22444042563438416, 0.45685049891471863, 0.1030711978673935, 0.11632850021123886, -0.3960340917110443, -0.6676770448684692, 0.2023230940103531, -0.6390576958656311, -0.1497773379087448, -0.12917141616344452, 0.8919926881790161, 0.028496069833636284, -0.29698699712753296, -0.34296736121177673, -0.6800899505615234, 0.5313353538513184, -0.6000546216964722, 0.39618173241615295, -0.07161601632833481, 0.21483579277992249, -0.03866761922836304, -1.0563455820083618, -0.4741854667663574, -0.12193719297647476, -0.45486345887184143, 0.422595351934433, -0.14965462684631348, -0.16677041351795197, 0.07063949853181839, 0.335689514875412, -0.4722376763820648, -0.17695467174053192, 0.014316448010504246, 0.15528781712055206, 0.5727565288543701, 0.09525987505912781, 0.3238789737224579, -0.49722856283187866, -0.38459864258766174, -0.0773606225848198, -0.5356049537658691, 0.2718181312084198, 0.40197181701660156, 0.6052039861679077, 0.032052915543317795, 0.3634914457798004, -0.1730933040380478, 0.6754665970802307, -0.10749249160289764, 0.2875601053237915, 0.3004799783229828, -0.1741153746843338, -0.3828524351119995, -0.2803547978401184, 1.4237064123153687, 0.3776930570602417, 0.6330382823944092, -0.25365346670150757, 0.06070638447999954, 0.025531526654958725, 0.3046250641345978, -0.9576119184494019, -0.6531660556793213, 0.07276926934719086, -0.9642083048820496, -0.5633783936500549, 0.24099472165107727, -0.8067036271095276, -0.46904614567756653, -0.43356558680534363, -0.24528053402900696, -0.1018320769071579, -0.6605046391487122, -0.062203098088502884, -0.11840035021305084, 0.057098571211099625, 0.0632823184132576, -0.5123512744903564, 0.4233262836933136, 0.7833335399627686, 0.8768059015274048, 0.14198501408100128, -0.11728500574827194, -0.33018532395362854, -0.40280571579933167, -0.1659444272518158, 0.761640191078186, -0.47405847907066345, -0.39989760518074036, 0.18362782895565033, 0.03501544147729874, -0.09234140813350677, -0.25009921193122864, 0.40292540192604065, -0.9539263844490051, -0.08759592473506927, -0.30473318696022034, -0.6017472743988037, -0.4086307883262634, 0.802863359451294, -0.8785865902900696, 0.6740090250968933, 0.23261860013008118, -0.9972729682922363, 0.23131531476974487, -0.12765388190746307, -0.6186069250106812, 0.07195796072483063, -0.24664676189422607, -0.9476465582847595, 0.01226790715008974, 0.4702724516391754, 0.7869482040405273, 0.015760503709316254, 0.0950617641210556, -0.9917492866516113, -0.08578872680664062, 0.5290801525115967, -0.10442188382148743, 0.9160434007644653, 0.33596599102020264, 0.16029469668865204, 0.016144907101988792, -0.5503321290016174, 0.14366522431373596, 0.1469307243824005, -0.2389194518327713, -0.18742036819458008, 0.1595078855752945, 0.004002392757683992, 0.20556676387786865, 0.1483246237039566, -0.44957759976387024, 0.16359515488147736, -0.1827145218849182, 0.43581539392471313, 0.3232018053531647, 0.35200005769729614, 0.21379691362380981, 0.23216088116168976, 0.7094661593437195, 0.09743958711624146, 0.0889860987663269, 0.24730312824249268, -0.431843101978302, -0.3411705791950226, 0.1619270294904709, 0.2374473512172699, 0.38158583641052246, -0.7387486100196838, 0.37825143337249756, -0.6190617084503174, -0.3789414167404175, -0.16029146313667297, 0.16126306354999542, 0.1731858104467392, 0.6191495656967163, 0.12456526607275009, -0.4697628319263458, -0.47381067276000977, -0.5315051078796387, -0.42758721113204956, -0.14263315498828888, 0.15799404680728912, 0.6191067695617676, 0.08955860137939453, -0.32355210185050964, 0.9535737633705139, -0.39345282316207886, -0.3892577588558197, -0.47663503885269165, 0.2878551483154297, 0.3767642080783844, -0.020799420773983, 0.4949759244918823, -0.8502614498138428, -0.7808092832565308, 0.3094138503074646, -1.1052355766296387, 0.26793384552001953, -0.010285634547472, 0.0743536576628685, -0.2585614323616028, 0.45383623242378235, -0.7708457708358765, 0.09418436884880066, 0.5331357717514038, -0.02397036924958229, 0.2515951097011566, 0.24501796066761017, -0.19753983616828918, -0.9030381441116333, 0.03863273933529854, 0.26923179626464844, -0.7070430517196655, -0.2639889717102051, -0.27051323652267456, -0.38900136947631836, -0.4689458906650543, -0.33119291067123413, 0.09191207587718964, -0.45815348625183105, -0.3503871262073517, -0.03440205007791519, 0.5056613087654114, 0.3311716616153717, 0.44300171732902527, 0.061932336539030075, 0.1949266493320465, 0.3284819722175598, -0.24259153008460999, 0.9549596905708313, 0.43484875559806824, -0.2843928337097168, 0.3137040138244629, -0.6631187200546265, 0.19176895916461945, -0.18001192808151245, 0.4519886076450348, -0.8785107135772705, -0.036824628710746765, 0.7026141285896301, -0.6941246390342712, 0.2734854221343994, -0.35832664370536804, -0.3438451588153839, -0.32348671555519104, -0.24586479365825653, 0.03225427120923996, -0.024485081434249878, -0.5706517100334167, 0.8966385722160339, 0.41868704557418823, -0.02747366949915886, -0.7458695769309998, -0.6457157135009766, 0.005243564490228891, -0.10453329235315323, -0.6812201142311096, 0.014672682620584965, 0.45569366216659546, -0.18788109719753265, 0.5212831497192383, 0.3714632987976074, 0.1859743297100067, 0.07865146547555923, 0.4868694841861725, -0.03990489989519119, -0.20063133537769318, 0.39849600195884705, -0.28320926427841187, -0.3136604130268097, 0.4720032513141632, -0.39924439787864685, 0.39912840723991394, -0.31005924940109253, 0.11947744339704514, -0.4176861345767975, 0.37513846158981323, 0.3990144431591034, -0.26107922196388245, 0.6754251718521118, 0.6400772929191589, -0.081120066344738, -0.4181921184062958, 0.03311176598072052, 0.0803162008523941, -0.37101075053215027, 0.3737369477748871, -0.30016404390335083, -0.7535019516944885, 0.44634729623794556, -0.3198932111263275, -0.40338075160980225, 0.25503087043762207, 0.5049312114715576, -0.3492419123649597, 0.8870519995689392, 0.3226158320903778, -0.442279189825058, 0.6236494779586792, -0.41168686747550964, 0.7987585067749023, -0.6164408326148987, -0.19506758451461792, -0.1981775015592575, -0.43918052315711975, -0.7293878197669983, 0.23219901323318481, 0.07076291739940643, 0.07432244718074799, -0.13015276193618774, 0.05288470536470413, -0.514883816242218, 0.43348637223243713, 0.26927506923675537, 0.5142163038253784, 0.13661126792430878, 0.25889819860458374, 0.10996345430612564, 0.12470415234565735, -0.45745038986206055, -0.31869587302207947, 0.7534539699554443, 0.4831683039665222, 0.8100628852844238, -0.20009928941726685, 0.3326278030872345, 0.3594051003456116, 0.48588797450065613, -1.1180763244628906, 0.4058774709701538, -0.5535903573036194, -0.08625685423612595, -0.18717172741889954, -0.5876142978668213, -0.9183605313301086, 0.07661330699920654, -0.25084683299064636, -0.23304559290409088, 0.3390595018863678, 0.020091110840439796, -0.31642064452171326, 0.1411685198545456, -0.4296213984489441, 1.1986892223358154, -0.14019997417926788, -0.07671072334051132, -0.07811368256807327, -0.752956211566925, 0.1569138467311859, 0.7216098308563232, 0.03546928986907005, 0.010782035999000072, 0.6004424095153809, 0.37886378169059753, -0.3867408335208893, 1.0536335706710815, -0.30309349298477173, 0.28242215514183044, 0.6852683424949646, 0.11492381989955902, 0.6308403611183167, 0.45538806915283203, -0.03349979594349861, 0.23735792934894562, -0.38141554594039917, -0.134604349732399, -0.8797853589057922, 0.8633959889411926, -1.0136950016021729, -0.008086597546935081, -0.23519589006900787, -0.29137885570526123, -0.43305739760398865, 0.09657533466815948, 0.05939638614654541, 0.43021541833877563, -0.48468589782714844, 0.2746444046497345, 0.3806864619255066, 0.24772286415100098, 0.3957330882549286, -0.27515697479248047, -0.6066132187843323, -0.6667341589927673, 0.8483839631080627, 0.12771403789520264, 0.011298373341560364, 0.3231379985809326, 0.37514305114746094, -0.3640175461769104, -0.3483453094959259, -0.4342333972454071, 0.2268974632024765, -0.9168865084648132, -0.34541457891464233, -0.8301060199737549, -0.24919743835926056, -0.286989688873291, 0.15079531073570251, -0.15527908504009247, -0.4172171950340271, -0.44870635867118835, -0.49182265996932983, 0.5607244372367859, 0.7960197329521179, 0.21869836747646332, 0.47911810874938965, -0.8893762826919556, 0.2070314586162567, 0.560924768447876, 0.30901166796684265, 0.24262340366840363, 0.3210081458091736, -0.29106101393699646, 0.02682371437549591, -0.2630033493041992, -0.8808789253234863, 0.43591824173927307, 0.20477283000946045, -0.019313959404826164, 0.38613635301589966, -0.11089776456356049, 0.3471609354019165, 0.09491419792175293, 0.6873068809509277, 0.2131166011095047, -0.7322083711624146, 0.4194074869155884, -0.47031664848327637, -0.059644535183906555, 0.48138779401779175, 0.689561128616333, -0.6144788265228271, -0.0773577094078064, -0.37138208746910095, -0.5222621560096741, 0.34889647364616394, -0.030478324741125107, 0.30465754866600037, -0.07924935966730118, 0.5768323540687561, -0.17819495499134064, 0.2123304009437561, -0.9792751669883728, 0.01606602966785431, -0.6786157488822937, -0.559845507144928, 0.018310952931642532, -0.09897652268409729, -0.09712298959493637, -0.030571941286325455, 0.4520563781261444, -0.27795350551605225, -0.010562474839389324, 0.13640311360359192, -0.19193975627422333, -0.0068475366570055485, -0.11401005834341049, -0.20512132346630096, 0.5387763977050781, -0.005937535315752029, 0.2066453993320465, -0.1587096005678177, -0.23916475474834442, -0.33669134974479675, 0.18111656606197357, -0.14052993059158325, 0.0041787088848650455, 0.3574514389038086, 0.7231537699699402, -0.10971420258283615, -0.04655295982956886, 0.6040143966674805, -0.43007272481918335, 0.13626612722873688, -0.351715624332428, -0.39521658420562744, 0.5025831460952759, 0.2543703019618988, -0.31228959560394287, -0.0334797166287899, 0.12375017255544662, -0.6741363406181335, 0.1953938752412796, 0.6715810298919678, -1.0620365142822266, -0.39315804839134216, -0.004352528136223555, 0.13192054629325867, -0.1233937218785286, 1.119611382484436, -0.20443253219127655, -0.5766346454620361, 0.5160905718803406, 0.33734026551246643, 0.8715559840202332, 0.09195214509963989, 0.6209002733230591, 0.2776397466659546, -0.18222130835056305, 0.3907426595687866, 0.21324291825294495, -0.03824798762798309, -0.9826944470405579, -0.3348968029022217, -0.5086604356765747, -0.5016648173332214, -0.2958618700504303, -0.5013230443000793, 0.11427579820156097, -0.6531776189804077, -0.25453293323516846, 0.030835356563329697, -0.05249381437897682, -0.6121339797973633, 0.5733859539031982, 0.05400615558028221, 0.23947298526763916, -0.8483161330223083, 0.6061016321182251, 0.547542929649353, -0.7128781080245972, -1.0451539754867554, -0.39389294385910034, -0.43682169914245605, -0.5008643865585327, 0.704251766204834, 0.22407136857509613, -0.28321129083633423, -0.1898306906223297, -0.6153873801231384, -0.3269404172897339, 0.9151712656021118, -0.006999061908572912, -0.3686077892780304, 0.20489773154258728, 0.332483172416687, 0.7643346786499023, -0.8350107669830322, 0.20712070167064667, 0.3836468756198883, 0.34229668974876404, -0.0665997788310051, -0.029200680553913116, 0.018253162503242493, -0.39830031991004944, -0.14884977042675018, 0.19493982195854187, -0.6273040771484375, 0.9441923499107361, 0.27579283714294434, -0.11708485335111618, -0.41460222005844116, 0.8866083025932312, -0.16216354072093964, 0.29752713441848755, 0.5351574420928955, 0.7372788786888123, 0.7152155041694641, -0.017506074160337448, 1.104817271232605, -0.11138184368610382, 0.7868121266365051, 1.1127163171768188, -0.20141515135765076, 0.8313748240470886, 0.1726597249507904, -0.2649039626121521, 1.0112128257751465, 0.6544482111930847, -0.05245300009846687, 0.3790665566921234, 0.2171100378036499, -0.27982988953590393, -0.4633149802684784, -0.3045811653137207, -0.26426294445991516, 0.18749266862869263, 0.506682813167572, -0.5312726497650146, -0.20919792354106903, -0.11343656480312347, 0.20387206971645355, 0.1260957568883896, -0.28201305866241455, 0.8970702290534973, 0.6796460151672363, -0.4099486172199249, -0.06090186536312103, -0.5595389604568481, 0.08156022429466248, -0.38795292377471924, 0.03892023116350174, -0.11794941127300262, 0.3634624481201172, -0.5916109681129456, -1.077240228652954, 0.5876211524009705, -0.30563077330589294, -0.2864341139793396, -0.27139905095100403, 1.0550183057785034, -0.07568264752626419, -0.8352565765380859, 0.8498319983482361, 0.5419806838035583, -0.20738311111927032, -0.25465014576911926, -0.7409756183624268, -0.09329641610383987, -0.24960951507091522, -0.5429447293281555, 0.17486678063869476, 0.6316470503807068, 0.15459534525871277, 0.43592774868011475, 0.6473383903503418, -0.06300310045480728, -0.15618136525154114, 0.5447636842727661, 1.0623027086257935, -0.4974493086338043, -0.4567452073097229, -0.8389267921447754, 0.4303898215293884, -0.24687588214874268, -0.04711791127920151, 0.7989540100097656, 0.2617161273956299, 0.660476803779602, -0.09937696158885956, 0.8167224526405334, 0.07764805108308792, 0.5301213264465332, -0.30521342158317566, 0.8747583031654358, -0.16751474142074585, -0.03508055955171585, -0.15021981298923492, -0.9717202186584473, -0.6858168840408325, 0.5497475266456604, -0.38672012090682983, 0.08515896648168564, 0.5440561771392822, 0.5117589235305786, -0.23116229474544525, 0.2790481448173523, -0.16087700426578522, 0.23794934153556824, 0.46359193325042725, 0.37081968784332275, 1.1070152521133423, -0.42366814613342285, 0.6189731955528259, -0.3351447582244873, 0.16139867901802063, -0.008203000761568546, -1.0308221578598022, -1.0701215267181396, 0.03277447447180748, -0.5057362914085388, -0.7309873700141907, 0.0034507012460380793, 0.6089605689048767, 0.5519026517868042, -0.742145836353302, -0.08670253306627274, -0.38030117750167847, 0.44093626737594604, -0.2568831443786621, -0.23830987513065338, 0.5365246534347534, -0.46301522850990295, -0.35595399141311646, 0.12164392322301865, 0.07682450115680695, -0.32218775153160095, -0.39914971590042114, 0.015169383957982063, 0.08120205998420715, -0.23336480557918549, 0.6534114480018616, 0.2683166563510895, -0.37033528089523315, -0.40865859389305115, 0.11398333311080933, -0.01155297551304102, 0.28331419825553894, 0.9516985416412354, -0.969755232334137, 0.5790241360664368, 0.8928617835044861, 0.643970251083374, 0.6015036702156067, 0.36153706908226013, 0.4021977484226227, -0.9027887582778931, -0.059720899909734726, 0.3432140648365021, 0.3848549425601959, 0.5929714441299438, -0.3707551658153534, 0.18640567362308502, 0.18762747943401337, -0.6330844163894653, -0.043811533600091934, 0.3912768065929413, -1.2079250812530518, -0.1782035082578659, 0.9603030681610107, -0.759402334690094, -0.266731321811676, -0.13154461979866028, 0.029545757919549942, 0.1725890338420868, -0.23751822113990784, 0.5330591201782227, 0.5406619310379028, -0.07638656347990036, -0.2985222041606903, -0.019157543778419495, 0.36108991503715515, -0.05464332550764084, -0.860225260257721, -0.056024353951215744, 0.48449471592903137, 0.09701059013605118, 0.13874498009681702, 0.6249455213546753, -0.1309933066368103, -0.020455677062273026, -0.07221389561891556, -0.14168880879878998, -0.18100862205028534, -0.32350021600723267, -0.20816336572170258, 0.6206483840942383, 0.04799741879105568, -0.26375052332878113 ]
http://arxiv.org/abs/2404.10315v1
http://arxiv.org/pdf/2404.10315v1
Enhancing Confidence Expression in Large Language Models Through Learning from Past Experience
2024-04-16T06:47:49
2024-04-16T06:47:49
Haixia Han, Tingyun Li, Shisong Chen, Jie Shi, Chengyu Du, Yanghua Xiao, Jiaqing Liang, Xin Lin
cs.CL
cs.CL
Large Language Models (LLMs) have exhibited remarkable performance across various downstream tasks, but they may generate inaccurate or false information with a confident tone. One of the possible solutions is to empower the LLM confidence expression capability, in which the confidence expressed can be well-aligned with the true probability of the generated answer being correct. However, leveraging the intrinsic ability of LLMs or the signals from the output logits of answers proves challenging in accurately capturing the response uncertainty in LLMs. Therefore, drawing inspiration from cognitive diagnostics, we propose a method of Learning from Past experience (LePe) to enhance the capability for confidence expression. Specifically, we first identify three key problems: (1) How to capture the inherent confidence of the LLM? (2) How to teach the LLM to express confidence? (3) How to evaluate the confidence expression of the LLM? Then we devise three stages in LePe to deal with these problems. Besides, to accurately capture the confidence of an LLM when constructing the training data, we design a complete pipeline including question preparation and answer sampling. We also conduct experiments using the Llama family of LLMs to verify the effectiveness of our proposed method on four datasets.
[ -0.1502150297164917, -0.8270260095596313, 0.9810993075370789, -0.12929648160934448, -0.14792490005493164, 0.16897204518318176, -0.41924789547920227, -0.37751927971839905, 0.1632591187953949, 0.5040271282196045, -0.4672367572784424, -0.574073314666748, -0.6871045231819153, -0.09657327085733414, -0.1512693464756012, 0.6572182178497314, -0.11876161396503448, 0.006962909363210201, -0.13419918715953827, 0.41410771012306213, -0.5344556570053101, -0.7698613405227661, -0.9713134765625, -0.30298903584480286, 0.36081743240356445, 0.49925580620765686, 0.19598613679409027, 0.038194458931684494, 0.12925004959106445, 0.23643948137760162, 0.07302140444517136, 0.3077356815338135, -0.583636462688446, 0.14436356723308563, 0.015342463739216328, -0.6185889840126038, -0.5736550688743591, 0.04943207651376724, 0.7040137648582458, 0.7386937141418457, -0.4141269624233246, -0.0709487646818161, 0.3596498966217041, 0.37406420707702637, -0.7240440249443054, 0.20147857069969177, -0.8765332698822021, -0.008953251875936985, 0.06342864781618118, -0.38528990745544434, -0.5908944606781006, -0.22924049198627472, -0.18932543694972992, -0.6509936451911926, -0.18056488037109375, -0.23699548840522766, 0.7046105861663818, 0.2411307841539383, -0.21547630429267883, -0.36032313108444214, -0.7644309997558594, 0.9559358954429626, -0.9798821806907654, 0.20349137485027313, 0.3846397399902344, 0.29335251450538635, -0.3611515760421753, -0.7925257086753845, -0.6639750003814697, -0.10926395654678345, 0.10754024237394333, 0.21552544832229614, 0.15462727844715118, -0.2781629264354706, 0.2019837349653244, 0.3745928108692169, -0.3613373637199402, 0.3031204342842102, -0.15294583141803741, -0.3875731825828552, 0.7460887432098389, 0.12378157675266266, -0.29364147782325745, 0.1338348090648651, -0.22384130954742432, -0.3575039207935333, -0.7218287587165833, 0.013312745839357376, 0.1808338165283203, 0.2827509343624115, 0.036076996475458145, 0.4748833179473877, -0.24875818192958832, 0.533325731754303, 0.09191002696752548, -0.44326475262641907, 0.4067741632461548, 0.1953510344028473, -0.31412824988365173, -0.021968601271510124, 0.5595901608467102, 0.228683739900589, 0.5302833318710327, 0.08008226007223129, -0.3010424077510834, -0.0517868846654892, 0.23516298830509186, -0.6926068067550659, 0.12906743586063385, 0.1968332976102829, -0.2712317407131195, -0.20871151983737946, 0.02287815324962139, -0.9864447712898254, -0.4103573262691498, -0.04905622452497482, 0.43022099137306213, -0.4276721775531769, -0.37968093156814575, 0.24082249402999878, 0.2092587947845459, 0.5767305493354797, 0.6284036040306091, -0.721718430519104, 0.49713367223739624, 0.6694267392158508, 0.5387751460075378, -0.08121414482593536, -0.09358697384595871, -0.8298244476318359, 0.07984616607427597, -0.5458953976631165, 0.2902323007583618, -0.5054591298103333, -0.5150694847106934, 0.1141987070441246, -0.14549283683300018, -0.11219680309295654, -0.44192540645599365, 0.47915688157081604, -0.5102239847183228, 0.3058546483516693, 0.14235173165798187, -0.9565098881721497, -0.02676316536962986, 0.348270446062088, -0.28105536103248596, 1.0695911645889282, 0.25863316655158997, -0.4570835530757904, 0.0991312712430954, -0.28869548439979553, -0.185015469789505, 0.010601358488202095, -0.5791498422622681, -0.2626402676105499, 0.3369247019290924, 0.4631044566631317, 0.7515210509300232, -0.10087959468364716, -0.01202784851193428, -0.13647150993347168, -0.2810521721839905, 0.42048412561416626, -0.4329811632633209, 0.5123050212860107, -0.08536887913942337, -0.31167757511138916, -0.34726855158805847, -0.5272261500358582, 0.3005428612232208, 0.13094943761825562, -0.12231516093015671, -0.28163668513298035, -0.153054878115654, -0.5553309917449951, 0.28672483563423157, 0.46383827924728394, -0.5364645719528198, 0.2730367183685303, -0.583163321018219, 0.07053307443857193, 0.8518134951591492, 0.3070215582847595, 0.12675829231739044, -0.27548161149024963, 0.578497588634491, -0.10263103246688843, 0.13732779026031494, -0.04450095817446709, -0.6572591662406921, -0.6780640482902527, -0.11865457147359848, 0.15630857646465302, 0.6241567730903625, -0.5739189386367798, 0.5054778456687927, -0.35452112555503845, -0.39090389013290405, -0.37880629301071167, 0.5746105909347534, 0.06754537671804428, 0.68381667137146, 0.40481382608413696, -0.4548768401145935, -0.3927365243434906, -0.7838535308837891, 0.11107999831438065, -0.3861205577850342, -0.288653701543808, 0.44550594687461853, 0.35082945227622986, 0.11740224063396454, 0.6512154936790466, -0.7230457663536072, -0.306253582239151, -0.15020541846752167, 0.2542697787284851, 0.37032002210617065, 0.497600257396698, 0.19253866374492645, -0.6543510556221008, -0.16886219382286072, 0.11349181830883026, -0.6013659834861755, -0.019775353372097015, -0.13178203999996185, 0.03814378380775452, 0.355251669883728, 0.7899424433708191, -0.6361262798309326, 0.4024795889854431, 0.6744466423988342, -0.04848172888159752, 0.4861776530742645, -0.19639790058135986, 0.20476189255714417, -1.06932532787323, -0.19715705513954163, -0.24448832869529724, -0.3280477523803711, -0.18206460773944855, 0.013780590146780014, -0.0027478470001369715, 0.2257937490940094, -0.4586729109287262, 0.5242842435836792, -0.41923820972442627, 0.1430334895849228, -0.16987696290016174, 0.2830018699169159, -0.11141636222600937, 0.49370571970939636, 0.20963558554649353, 0.4329114258289337, 0.5935383439064026, -0.5342631340026855, 0.225154310464859, -0.12674669921398163, -0.3914104700088501, 0.5540829300880432, -0.5195448994636536, 0.41230037808418274, 0.0026263410691171885, 0.08068208396434784, -1.1565003395080566, -0.1378883570432663, 0.0424836203455925, -0.5536339282989502, 0.7040678262710571, -0.09455187618732452, -0.449774831533432, -0.36099734902381897, -0.11255066096782684, 0.032240040600299835, 0.9793980717658997, -0.39626044034957886, 1.105346918106079, 0.07468563318252563, -0.42404040694236755, -0.8719263672828674, -0.6807982325553894, 0.010151072405278683, -0.37868762016296387, -0.37936487793922424, 0.3127661645412445, -0.12032128870487213, -0.24903514981269836, -0.3215581476688385, -0.13832871615886688, 0.03181065618991852, 0.3595508635044098, 0.2817469835281372, 0.25796961784362793, -0.18748414516448975, 0.3551826477050781, -0.02675698883831501, -0.008668932132422924, 0.01887158304452896, -0.0738757774233818, 0.7323828935623169, -0.10623779147863388, -0.3582950830459595, -0.3159978687763214, 0.16211922466754913, 0.23983167111873627, -0.06637744605541229, 0.6270304322242737, 0.5301708579063416, -0.5093281865119934, -0.42015039920806885, -0.769386351108551, -0.4056825339794159, -0.4535183906555176, 0.25150781869888306, -0.25585150718688965, -1.098324179649353, 0.23904380202293396, -0.4000578820705414, 0.015731720253825188, 0.24697692692279816, 0.6552316546440125, -0.27772268652915955, 0.7407328486442566, 0.8874565362930298, -0.008497054688632488, 0.26644396781921387, -0.03361247852444649, -0.09474087506532669, -0.8411670327186584, -0.10740166157484055, -0.25514042377471924, -0.14233915507793427, -0.2819991111755371, -0.6926097869873047, 0.3183669149875641, 0.39657577872276306, -0.004483056254684925, -0.25074321031570435, -0.02715141326189041, 0.21207022666931152, 0.2331954687833786, 0.25883081555366516, 0.2246675044298172, -0.02132965624332428, -0.20431292057037354, -0.1419113278388977, -0.4963989853858948, -0.6996769905090332, 1.1997323036193848, 0.518152117729187, 0.8920401930809021, 0.16659682989120483, 0.960841715335846, 0.09323476999998093, 0.6022621989250183, -0.8528274893760681, 0.5911626219749451, 0.011452033184468746, -0.15561407804489136, -0.40794503688812256, -0.5089880228042603, -0.8003957867622375, -0.06402839720249176, -0.36062824726104736, -1.0641913414001465, 0.2187155932188034, 0.2513979971408844, -0.40574613213539124, -0.030781324952840805, -0.4867163896560669, 0.5475143790245056, -0.39409366250038147, -0.27564510703086853, -0.31122100353240967, -0.5636990666389465, 0.42452168464660645, -0.4143214523792267, 0.2685900628566742, 0.2005927711725235, -0.2529368996620178, 0.5333409309387207, -0.2692362070083618, 1.2853816747665405, -0.11630966514348984, -0.4637487232685089, 0.1893378049135208, 0.06902852654457092, 0.6510380506515503, 0.058990705758333206, -0.21883553266525269, -0.036365628242492676, -0.26095524430274963, -0.33466553688049316, -0.9339939951896667, 0.7248689532279968, -0.6077037453651428, -0.8087605237960815, -0.10771747678518295, -0.49463725090026855, -0.5991464257240295, 0.0002709623659029603, 0.1620142012834549, 0.1931687891483307, -0.32017263770103455, 0.21584656834602356, 0.7055346369743347, -0.29940828680992126, 0.46440589427948, 0.5129252672195435, -0.5127609968185425, -0.19556397199630737, 0.4332502782344818, 0.11236680299043655, 0.5227460861206055, 0.4236772060394287, 0.32313311100006104, -0.2371564656496048, -0.5967301726341248, -0.07146608084440231, 0.2563607394695282, -0.7468277812004089, -0.2857986390590668, -0.3502900004386902, -0.24154150485992432, -0.5756245255470276, -0.045762620866298676, -0.37117230892181396, -0.5025811195373535, -0.14780738949775696, -0.20707611739635468, 0.3691067099571228, 0.6210827827453613, -0.16525061428546906, 0.4925508201122284, -0.5442314743995667, 0.10006556659936905, 0.6442202925682068, 0.042497508227825165, 0.0005528926849365234, -0.6207232475280762, -0.24561239778995514, 0.14255362749099731, -0.30902478098869324, -0.942642092704773, 0.5703648328781128, 0.2811405658721924, 0.7829709053039551, 0.2588088810443878, 0.053144946694374084, 0.474820077419281, -0.33331000804901123, 0.9461492896080017, -0.07098712772130966, -1.0973124504089355, 0.6998761296272278, 0.12988492846488953, 0.006915668025612831, 0.2769010066986084, 0.6285552382469177, -0.2096560150384903, -0.5159379839897156, -0.8246261477470398, -0.8581625819206238, 0.005115885753184557, 0.047779083251953125, 0.21052290499210358, -0.10332152247428894, 0.7208489775657654, 0.05322995036840439, 0.213423490524292, -0.6329503655433655, -0.042634639889001846, -0.08087103813886642, -0.30445730686187744, -0.33449074625968933, -0.2354767769575119, -0.2190696895122528, -0.042733944952487946, 0.8549057245254517, -0.43953195214271545, 0.01902359537780285, 0.5389437675476074, -0.267376184463501, 0.06441657990217209, 0.4250006675720215, 0.34092220664024353, 0.6808295845985413, -0.23617316782474518, 0.1439899504184723, 0.4262036681175232, -0.24132899940013885, -0.11965933442115784, 0.04891428351402283, 0.18090340495109558, -0.20510217547416687, 0.5298346281051636, 0.49488186836242676, -0.10417751222848892, -0.8179261088371277, 0.7351201176643372, -0.10892221331596375, -0.05508951097726822, -0.5821285843849182, 0.16061735153198242, 0.24158217012882233, 0.2583100497722626, 0.5824655890464783, -0.4450402557849884, -0.17083048820495605, -0.4712521433830261, 0.17439690232276917, 0.4740559756755829, -0.31822651624679565, 0.09935964643955231, 0.0687420517206192, -0.16976062953472137, -0.12773168087005615, 0.7365374565124512, -0.051228638738393784, -0.4881135821342468, 0.44174063205718994, 0.6574131846427917, 0.46739891171455383, -0.6246157884597778, 0.11156997084617615, 0.27359917759895325, 0.4631105661392212, -0.07109227776527405, 0.3964780867099762, 0.13377059996128082, -1.1067368984222412, -0.8775058388710022, -0.5797926187515259, -0.47997406125068665, 0.39976516366004944, -0.8346850872039795, 0.17946979403495789, -0.566417932510376, -0.27257877588272095, -0.4383387863636017, 0.20444507896900177, -0.8162487149238586, 0.48520398139953613, 0.36607953906059265, 0.9294823408126831, -0.9496417045593262, 0.89404296875, 0.500243067741394, -0.3273080289363861, -1.0800844430923462, 0.07272209227085114, -0.1954832822084427, -1.0546693801879883, 0.7781462669372559, 0.09828457981348038, -0.1695515513420105, 0.11951261013746262, -0.8087151050567627, -0.7014915347099304, 1.18227219581604, 0.28152233362197876, -0.8242161273956299, 0.13697293400764465, -0.05780733749270439, 0.6222681403160095, -0.8588930368423462, 0.16436423361301422, 0.4625977575778961, 0.29470589756965637, -0.03129533305764198, -0.8828228712081909, 0.15886147320270538, -0.09565358608961105, -0.24698461592197418, -0.10072515159845352, -0.38270261883735657, 0.9849533438682556, -0.23939567804336548, -0.11874441802501678, 0.4066615402698517, 0.8200393915176392, 0.3393494784832001, -0.04227551817893982, 0.6348184943199158, 0.47575029730796814, 1.1808415651321411, -0.009182430803775787, 1.305160641670227, -0.1898118406534195, 0.15394966304302216, 1.451943278312683, -0.4803619384765625, 1.4338713884353638, 0.742706298828125, 0.20388907194137573, 0.8638061285018921, 0.39897361397743225, 0.2361835539340973, 0.2953215539455414, 0.3756598234176636, -0.2225547879934311, -0.6993743181228638, -0.00443045562133193, -0.3434930741786957, 0.4702668786048889, 0.9886284470558167, -0.5342389345169067, 0.09015832841396332, -0.09867742657661438, -0.07111991941928864, 0.22979392111301422, -0.39086079597473145, 0.6247493028640747, 0.3696367144584656, -0.20910689234733582, 0.5913688540458679, -0.3339882791042328, 0.6493563055992126, -0.7262341976165771, -0.33694642782211304, -0.17213138937950134, 0.07825103402137756, -0.0113399438560009, -0.8407868146896362, -0.057526275515556335, -0.29366758465766907, 0.10101332515478134, -0.08047661185264587, 0.707400381565094, -0.3022412359714508, -0.6295033097267151, 0.3578227460384369, 0.8854917287826538, 0.3128766715526581, 0.040022749453783035, -0.44652336835861206, 0.07255197316408157, -0.2513516843318939, -0.3576536476612091, 0.1298726499080658, 0.491313099861145, 0.030300715938210487, 0.6996678709983826, 0.4538913667201996, 0.4668518602848053, -0.1564318686723709, 0.05193183943629265, 0.7905628085136414, -0.5225507020950317, -0.2693624198436737, -0.75765061378479, 0.3965983986854553, -0.34765148162841797, -0.23149371147155762, 0.5025019645690918, 0.2207552045583725, 0.84745192527771, 0.05844057723879814, 0.9248953461647034, 0.24318504333496094, 0.656423807144165, -0.9878563284873962, 0.3537660539150238, -0.5865653157234192, 0.4231763482093811, -0.2591666877269745, -0.7941094040870667, -0.2581523358821869, 0.9405634999275208, -0.44046223163604736, 0.17478817701339722, 0.7796101570129395, 0.8753418922424316, 0.25296783447265625, -0.2457028478384018, 0.5680301189422607, 0.7122100591659546, 0.1812332719564438, 0.9992796182632446, 1.0533111095428467, -0.33245933055877686, 0.3617563247680664, -0.35744601488113403, -0.4372689723968506, 0.003658236702904105, -1.3567887544631958, -0.7624588012695312, -0.2522643804550171, -0.3622738718986511, -0.4217972755432129, 0.11357773840427399, 0.8619241714477539, 0.6680053472518921, -0.6371907591819763, -0.23859207332134247, 0.17616987228393555, -0.008182684890925884, -0.38457435369491577, -0.23631422221660614, 0.3067895472049713, -0.2750157117843628, -0.7472132444381714, 0.5685033798217773, 0.04176768288016319, 0.2739573121070862, -0.26053386926651, -0.19791419804096222, 0.04323071241378784, 0.1380481719970703, 0.5889197587966919, 0.1429259181022644, -0.4910186529159546, -0.602199912071228, -0.12273356318473816, 0.0054731606505811214, -0.030991746112704277, 0.7761839628219604, -0.9807471036911011, 0.09972262382507324, 0.034088317304849625, 0.8601177334785461, 0.6041579246520996, -0.0940370261669159, 1.0033485889434814, -1.0302215814590454, 0.03280682489275932, 0.3088104724884033, 0.603823184967041, 0.6620992422103882, -0.5894543528556824, 0.5256005525588989, -0.04798141121864319, -0.3905136287212372, -0.5474681854248047, 0.34242531657218933, -1.057355523109436, -0.4021417498588562, 1.1553617715835571, -0.43544262647628784, -0.04061039164662361, -0.08190412074327469, -0.2446517050266266, 0.21429528295993805, -0.24696800112724304, 0.7198652625083923, 0.8137154579162598, -0.16723766922950745, -0.27927207946777344, -0.4808011054992676, 0.3454124927520752, 0.5432018041610718, -0.8298654556274414, 0.0337260365486145, 0.4892062842845917, 0.2507754862308502, 0.26249387860298157, 0.6991442441940308, -0.20077566802501678, 0.138653963804245, -0.11828009784221649, 0.12526561319828033, 0.16979648172855377, -0.26817435026168823, -0.275360107421875, 0.37388134002685547, 0.3730525076389313, 0.19317390024662018 ]
http://arxiv.org/abs/2404.10306v4
http://arxiv.org/pdf/2404.10306v4
Balancing Speciality and Versatility: a Coarse to Fine Framework for Supervised Fine-tuning Large Language Model
2024-04-16T06:27:39
2024-06-03T10:42:36
Hengyuan Zhang, Yanru Wu, Dawei Li, Sak Yang, Rui Zhao, Yong Jiang, Fei Tan
cs.CL
cs.CL
Aligned Large Language Models (LLMs) showcase remarkable versatility, capable of handling diverse real-world tasks. Meanwhile, aligned LLMs are also expected to exhibit speciality, excelling in specific applications. However, fine-tuning with extra data, a common practice to gain speciality, often leads to catastrophic forgetting (CF) of previously acquired versatility, hindering the model's performance across diverse tasks. In response to this challenge, we propose CoFiTune, a coarse to fine framework in an attempt to strike the balance between speciality and versatility. At the coarse-grained level, an empirical tree-search algorithm is utilized to pinpoint and update specific modules that are crucial for speciality, while keeping other parameters frozen; at the fine-grained level, a soft-masking mechanism regulates the update to the LLMs, mitigating the CF issue without harming speciality. In an overall evaluation of both speciality and versatility, CoFiTune consistently outperforms baseline methods across diverse tasks and model scales. Compared to the full-parameter SFT, CoFiTune leads to about 14% versatility improvement and marginal speciality loss on a 13B model. Lastly, based on further analysis, we provide a speculative insight into the information forwarding process in LLMs, which helps explain the effectiveness of the proposed method. The code is available at https://github.com/rattlesnakey/CoFiTune.
[ -0.3792184293270111, -0.8538029193878174, 0.2999390959739685, 0.07257387042045593, -0.08615579456090927, 0.005988717079162598, -0.606008768081665, -0.22170837223529816, 0.28261038661003113, 0.449256956577301, -0.717217206954956, -0.5105543732643127, -0.5519750714302063, -0.04542551934719086, -0.3602340817451477, 1.3515483140945435, 0.11882433295249939, -0.2124127596616745, -0.11128653585910797, -0.508473813533783, -0.30903732776641846, -0.22383449971675873, -0.7058905363082886, -0.42071548104286194, 0.6986270546913147, 0.5845388770103455, 1.1608344316482544, 0.7687422037124634, 0.6319044828414917, 0.29265254735946655, -0.2379365712404251, 0.13700968027114868, -1.0577566623687744, -0.14034326374530792, -0.540370762348175, -0.42335042357444763, -0.5948318839073181, -0.24564418196678162, 0.4807499647140503, 0.9913665056228638, -0.3044038414955139, 0.02936364710330963, 0.1467946618795395, 0.5187668800354004, -0.4183456003665924, -0.14299853146076202, -0.6679542064666748, -0.025955261662602425, -0.39922112226486206, 0.040946684777736664, 0.006441438104957342, -0.004051998257637024, 0.22534775733947754, -0.6638328433036804, 0.295937180519104, -0.000959794211667031, 1.055476427078247, 0.4548586905002594, -0.1987351030111313, -0.2605569064617157, -0.7146151661872864, 0.7587987184524536, -0.6948717832565308, 0.4108227789402008, 0.19407597184181213, 0.2042478322982788, -0.3362308442592621, -0.6253513097763062, -0.3995582163333893, -0.13901352882385254, -0.010503873229026794, -0.0869770273566246, -0.0005444427370093763, 0.038556575775146484, -0.06602629274129868, 0.751974880695343, -0.4286686182022095, 0.4675562083721161, -0.10404127836227417, -0.36402150988578796, 0.7842782735824585, -0.06596194952726364, 0.11046946793794632, 0.3271273076534271, -0.2741732597351074, 0.14250034093856812, -0.602043867111206, 0.19822080433368683, 0.6318273544311523, 0.35404258966445923, -0.1838838905096054, 0.2984817624092102, -0.36185917258262634, 0.5221803188323975, 0.36197179555892944, -0.012115822173655033, 0.002511413535103202, -0.1633676439523697, -0.21588200330734253, -0.1525903046131134, 0.716691255569458, -0.04639098420739174, 0.16848859190940857, -0.41146719455718994, -0.342177152633667, -0.1893284171819687, 0.12323302030563354, -0.5292525291442871, -0.39682328701019287, 0.097196064889431, -0.0568537563085556, -0.2364630401134491, -0.05608464404940605, -0.3325350284576416, -0.15185591578483582, -0.39894697070121765, 0.5237219333648682, -0.3569220304489136, -0.23190192878246307, 0.25700876116752625, 0.22590473294258118, -0.1712283492088318, 0.2344120889902115, -1.0373859405517578, 0.3673175275325775, 0.7743405103683472, 0.5358100533485413, -0.44894179701805115, -0.2924714684486389, -0.6903935670852661, 0.1774241179227829, -0.08179910480976105, 0.6623438000679016, -0.7446719408035278, 0.046174950897693634, -0.31974077224731445, 0.05512120574712753, 0.018026290461421013, -0.4988577365875244, 0.8344122767448425, -0.49461430311203003, -0.17712651193141937, -0.12451177835464478, -0.5874497294425964, -0.33964329957962036, 0.24122610688209534, -0.8417522311210632, 0.8940212726593018, 0.2503375709056854, -0.5070911049842834, 0.15387742221355438, -0.10272934287786484, -0.44715774059295654, 0.061922505497932434, -0.3212001621723175, -0.8078158497810364, 0.26760637760162354, -0.0367177352309227, 0.6168482303619385, -0.26323771476745605, 0.9590699076652527, -0.5879271030426025, -0.617637038230896, -0.06107592582702637, -0.4123515486717224, 0.5647867918014526, 0.15201030671596527, -0.2992790937423706, 0.1346832513809204, -0.8862219452857971, -0.15831485390663147, -0.036342233419418335, -0.5683562159538269, -0.3056897222995758, -0.0492556057870388, 0.08043821901082993, 0.03222260624170303, 0.27950185537338257, -0.2466319501399994, -0.005467724986374378, -0.5367814898490906, 0.4936114251613617, 0.6911313533782959, -0.41768836975097656, 0.655536413192749, -0.4621521532535553, 0.21138639748096466, 0.1037435457110405, 0.015357814729213715, 0.032676149159669876, -0.23757468163967133, -0.8920699954032898, -0.4009501338005066, 0.3537466526031494, 0.44765326380729675, -0.2553698718547821, 0.6239241361618042, -0.28673654794692993, -0.45474472641944885, -0.5485314726829529, 0.4611869156360626, 0.41345298290252686, 0.3391309976577759, 0.24239131808280945, -0.42809516191482544, -0.48475542664527893, -1.1265290975570679, -0.5700021386146545, 0.1511618196964264, 0.24535903334617615, 0.3868897557258606, 0.3368194103240967, -0.4878615736961365, 0.9774528741836548, -0.27837833762168884, -0.45361337065696716, -0.02634025551378727, -0.03531034663319588, 0.39846867322921753, 0.646237313747406, 0.359442800283432, -0.835105299949646, -0.20437762141227722, 0.19579128921031952, -0.4483928978443146, -0.2238686978816986, -0.1569449007511139, 0.011014002375304699, 0.06334798038005829, 0.4814756512641907, -0.45281654596328735, 0.056777019053697586, 0.8094770908355713, -0.2572981119155884, 0.2842697501182556, -0.1551315039396286, -0.09699701517820358, -0.9554222226142883, 0.14980578422546387, -0.09691750258207321, -0.3567439615726471, -0.5659166574478149, 0.3774971663951874, -0.09215345233678818, 0.13775008916854858, -0.32489925622940063, 0.5535862445831299, -0.03734568879008293, 0.26030993461608887, 0.18217960000038147, 0.02024703659117222, 0.003885234473273158, 0.5748612880706787, -0.21771830320358276, 0.5462999939918518, 0.4515373408794403, -0.602849006652832, 0.25413694977760315, -0.022560859099030495, 0.09328159689903259, 0.6183794736862183, -0.3743251860141754, 0.1117045134305954, -0.10818013548851013, -0.02713717706501484, -1.0243366956710815, -0.390717476606369, -0.12186583131551743, -0.12780143320560455, 0.5759839415550232, -0.17261074483394623, -0.21238455176353455, -0.1333523392677307, -0.21127644181251526, 0.42362648248672485, 0.07832466810941696, -0.44771215319633484, 0.6239038705825806, 0.3614346385002136, -0.40086349844932556, -0.39825645089149475, -0.6012488007545471, 0.22807784378528595, -0.1341300755739212, -0.8263496160507202, 0.5179267525672913, -0.21381521224975586, -0.05873093754053116, -0.0897805467247963, -0.269221693277359, -0.08347972482442856, 0.35164114832878113, -0.06154491379857063, -0.04665566235780716, -0.2788335978984833, 0.1678372472524643, 0.279095858335495, -0.19177599251270294, -0.3838110566139221, -0.4547698199748993, 0.3881191313266754, -0.45661211013793945, -0.4221342206001282, -0.3871217370033264, 0.29372137784957886, 0.33323726058006287, -0.15641449391841888, 0.6285690665245056, 0.7965601086616516, -0.32926642894744873, -0.019212624058127403, -0.7793049812316895, -0.15886178612709045, -0.5017181038856506, 0.5623185038566589, -0.3316420614719391, -1.3739452362060547, 0.5922701954841614, -0.18994563817977905, 0.09407627582550049, 0.456661581993103, 0.4515531063079834, -0.1312955915927887, 0.797905683517456, 0.8509291410446167, -0.007888691499829292, 0.28366905450820923, -0.13772952556610107, 0.4810055196285248, -0.401338130235672, -0.1684073954820633, -0.2560397982597351, -0.5738054513931274, -0.6145774722099304, -0.18214577436447144, 0.13004592061042786, 0.42762476205825806, -0.22367283701896667, 0.2829369306564331, -0.26610469818115234, 0.34133610129356384, 0.23769886791706085, 0.004000112414360046, 0.5004456043243408, -0.01207515224814415, -0.23154625296592712, -0.09291094541549683, -0.8600831031799316, -0.502334475517273, 0.7195619344711304, 0.41746240854263306, 0.9523041844367981, 0.08466450124979019, 0.7906336784362793, 0.008627712726593018, 0.14210879802703857, -0.8301246762275696, 0.45293721556663513, -0.548275351524353, -0.46736079454421997, -0.38234177231788635, -0.43601128458976746, -0.6121043562889099, -0.0707140639424324, -0.36841878294944763, -0.5776212811470032, 0.1394243687391281, 0.5683167576789856, -0.5664827227592468, 0.2951730489730835, -0.7620790004730225, 0.7063815593719482, -0.16234347224235535, -0.8605036735534668, -0.3238297402858734, -0.5066476464271545, 0.2938448488712311, -0.4217604696750641, 0.3504246771335602, -0.15302270650863647, -0.10450413823127747, 0.6721451878547668, -0.1974378079175949, 0.9903910756111145, 0.16511718928813934, -0.2929624915122986, 0.03580006957054138, 0.22173801064491272, 0.6578365564346313, 0.3099312484264374, -0.26966801285743713, 0.31228843331336975, 0.04617374390363693, -0.45586952567100525, -0.28399577736854553, 1.0666816234588623, -0.5897409915924072, -0.9220718741416931, -0.024217309430241585, -0.9427148699760437, -0.24592255055904388, 0.4778473377227783, 0.12459859997034073, 0.20035922527313232, -0.39529016613960266, 0.4157446622848511, 0.9511756300926208, -0.16780221462249756, 0.39029425382614136, 0.4766332805156708, 0.05397374927997589, -0.2867734134197235, 0.912609338760376, 0.35761332511901855, 0.36657238006591797, 0.47499701380729675, 0.4159904420375824, 0.10368142277002335, -0.7157866954803467, -0.2603355646133423, 0.17156998813152313, -0.3818429708480835, -0.24433569610118866, -0.6542815566062927, -0.3107081949710846, -0.29193806648254395, -0.40209344029426575, -0.7445178627967834, -0.5178090929985046, -0.35015255212783813, 0.16361910104751587, 0.48110905289649963, 0.6078176498413086, -0.007108053658157587, 0.47680139541625977, -0.674774706363678, 0.12619827687740326, 0.2993762493133545, 0.7398146390914917, -0.13340798020362854, -0.6668769717216492, -0.41575220227241516, 0.14609041810035706, -0.44436880946159363, -0.08831696957349777, -0.021192528307437897, 0.5963181853294373, 0.5100685358047485, 0.40999674797058105, -0.00597431929782033, 0.8561829924583435, -0.3766811788082123, 0.3600350022315979, 0.07434768974781036, -0.8363444209098816, 0.22882957756519318, -0.578217625617981, 0.4334174692630768, 0.7195480465888977, 0.24068333208560944, -0.4505038559436798, -0.6788682341575623, -0.7117526531219482, -0.8100855350494385, 0.6291618347167969, 0.1499083787202835, 0.2861447036266327, 0.31137943267822266, 0.4552638530731201, 0.449727863073349, 0.030266229063272476, -0.5991827249526978, 0.07599371671676636, 0.1865483671426773, -0.481383353471756, -0.06040199100971222, -0.12453088909387589, -0.2359815090894699, -0.18891559541225433, 0.6154439449310303, -0.3258761167526245, -0.1415952742099762, 0.04831993952393532, -0.2328188568353653, -0.18335361778736115, 0.4627825915813446, 0.39174726605415344, 0.5610477328300476, 0.031162580475211143, 0.13576476275920868, 0.4782097339630127, -0.5006322860717773, -0.08205258101224899, 0.10717543214559555, -0.1891767978668213, -0.29653000831604004, 0.5282963514328003, 0.6583272218704224, 0.6485570669174194, -0.5740153193473816, 0.4662730097770691, 0.08256491273641586, -0.2109723687171936, 0.01637416146695614, 0.4463028311729431, 0.41330257058143616, 0.32758402824401855, 0.12178939580917358, 0.5324760675430298, 0.01805896684527397, -0.5380873680114746, 0.3630315959453583, 0.37731051445007324, -0.520837128162384, -0.5004091858863831, 0.5555294156074524, 0.12414557486772537, -0.4811279773712158, 0.28708377480506897, -0.13660626113414764, -0.27496927976608276, 0.4237004518508911, 0.4851481318473816, 0.6177927851676941, -0.3597550094127655, -0.11551667749881744, 0.044596992433071136, 0.13416703045368195, -0.3119029104709625, 0.24297629296779633, 0.08728154748678207, -0.6422275900840759, -0.23180651664733887, -0.7410348057746887, -0.03382539376616478, 0.14544765651226044, -0.6171407699584961, 0.5921536087989807, -0.6245464086532593, -0.1942942887544632, -0.14862731099128723, -0.056769486516714096, -0.7809983491897583, 0.35616907477378845, 0.09716996550559998, 0.9607899785041809, -0.9440281391143799, 0.7906366586685181, 0.5848216414451599, 0.015631984919309616, -0.8242588043212891, 0.032696813344955444, 0.04493201896548271, -0.6407849192619324, 0.2085396647453308, 0.16104605793952942, -0.25648266077041626, 0.25369271636009216, -0.38537245988845825, -1.0514165163040161, 1.1533641815185547, 0.7773630619049072, -1.1389607191085815, -0.07592182606458664, 0.10163338482379913, 0.5992743372917175, -0.3479614555835724, -0.028598206117749214, 0.8307803273200989, 0.2934333384037018, 0.3004312813282013, -1.0710939168930054, 0.029622089117765427, -0.03214479237794876, 0.007658825255930424, 0.1525958776473999, -0.9830543398857117, 0.7405332922935486, -0.2512969970703125, -0.06281434744596481, 0.11963756382465363, 0.49231258034706116, 0.014377642422914505, 0.2332414984703064, 0.3168887794017792, 1.0420961380004883, 0.97309809923172, -0.11153803765773773, 0.6233322024345398, -0.05651240423321724, 0.5020214319229126, 1.1050915718078613, -0.14540907740592957, 0.7654550671577454, 0.7097572088241577, 0.05108688399195671, 0.23716646432876587, 0.46652787923812866, 0.12034918367862701, 0.4675424098968506, 0.05365012586116791, -0.08339651674032211, -0.4243723452091217, -0.11363905668258667, -0.06316299736499786, 0.4963671863079071, 0.4379674196243286, -0.09623818844556808, -0.3669711947441101, -0.044877875596284866, 0.12675946950912476, 0.31034693121910095, -0.37564530968666077, 0.6877886056900024, 0.2914862036705017, -0.7759451270103455, 0.7895287871360779, 0.039727162569761276, 0.7644909024238586, -0.5222800970077515, 0.2413780838251114, -0.2690396010875702, 0.5756019949913025, -0.6040812730789185, -0.6662595868110657, 0.5669703483581543, -0.2703850269317627, -0.2870495915412903, -0.18030381202697754, 0.4614839255809784, -0.5966624021530151, -0.5421317219734192, 0.37932640314102173, 0.20452967286109924, -0.2758636474609375, 0.2898552715778351, -0.6704548597335815, 0.25778433680534363, -0.07882789522409439, 0.00493529113009572, 0.25884151458740234, 0.5742893815040588, -0.43155449628829956, 0.5962455868721008, 0.39385828375816345, 0.007039014715701342, -0.16523221135139465, 0.24287644028663635, 1.0082255601882935, -0.46270883083343506, -0.5526067614555359, -1.0535192489624023, 0.25460317730903625, 0.13227415084838867, -0.4150948226451874, 0.4138311445713043, 0.6900617480278015, 1.0276210308074951, 0.10941389948129654, 0.5078045725822449, 0.038143858313560486, 0.21059368550777435, -0.5190371870994568, 0.7784045338630676, -0.6229997277259827, 0.5451685190200806, -0.14178121089935303, -0.7699384093284607, -0.5803709626197815, 0.40080246329307556, -0.41471782326698303, -0.03447277098894119, 0.5676800608634949, 1.3120508193969727, -0.6214361190795898, 0.15261417627334595, 0.3714403510093689, 0.3988860547542572, 0.24126984179019928, 0.7175224423408508, 0.5417799949645996, -0.4934183955192566, 0.6143736839294434, 0.03643146902322769, -0.3512972593307495, -0.35961881279945374, -0.954340934753418, -0.9825038909912109, -0.38293662667274475, -0.34142401814460754, -0.15146999061107635, 0.20855286717414856, 0.9775679707527161, 0.9051530361175537, -0.9960958361625671, -0.19649066030979156, -0.2827674448490143, 0.10535014420747757, -0.13047148287296295, -0.12579207122325897, 0.1083594337105751, -0.4262242615222931, -0.5674159526824951, 0.011218699626624584, 0.6348583102226257, -0.07792641222476959, -0.11690215021371841, -0.24428845942020416, -0.3610399067401886, 0.07078453153371811, 0.3574856221675873, 0.1393253207206726, -0.7316233515739441, -0.3552563786506653, -0.13967154920101166, -0.13137078285217285, 0.16662012040615082, 0.7611258625984192, -0.5297272801399231, 0.24688933789730072, 0.4384074807167053, 0.9494138360023499, 0.3819099962711334, -0.41054245829582214, 0.7563357353210449, -0.821929395198822, 0.16977334022521973, 0.18717989325523376, 0.2742288112640381, 0.5328516960144043, -0.6219184398651123, 0.14589738845825195, 0.26798585057258606, -0.42328929901123047, -0.5012602210044861, 0.33574917912483215, -0.8184517621994019, -0.060775723308324814, 0.9776187539100647, -0.28453803062438965, -0.19412876665592194, -0.06705444306135178, -0.23664657771587372, 0.24772070348262787, -0.25779208540916443, 0.7919096946716309, 0.7892945408821106, 0.20970506966114044, -0.01649835705757141, -0.2434564083814621, 0.4450511336326599, 0.6538260579109192, -0.4140227138996124, -0.07631398737430573, 0.03161012753844261, 0.5414255261421204, -0.01610189862549305, 0.31981992721557617, 0.039604585617780685, 0.11628503352403641, -0.49031755328178406, -0.4292248785495758, -0.11821745336055756, -0.3036421835422516, -0.4561913013458252, 0.0034237902145832777, 0.1928340047597885, 0.4807681143283844 ]
http://arxiv.org/abs/2405.06656v1
http://arxiv.org/pdf/2405.06656v1
Exploring Social Media Posts for Depression Identification: A Study on Reddit Dataset
2024-04-16T06:25:51
2024-04-16T06:25:51
Nandigramam Sai Harshit, Nilesh Kumar Sahu, Haroon R. Lone
cs.CL
cs.CL, cs.SI
Depression is one of the most common mental disorders affecting an individual's personal and professional life. In this work, we investigated the possibility of utilizing social media posts to identify depression in individuals. To achieve this goal, we conducted a preliminary study where we extracted and analyzed the top Reddit posts made in 2022 from depression-related forums. The collected data were labeled as depressive and non-depressive using UMLS Metathesaurus. Further, the pre-processed data were fed to classical machine learning models, where we achieved an accuracy of 92.28\% in predicting the depressive and non-depressive posts.
[ -0.6041179299354553, -1.1839361190795898, 0.7510262131690979, 0.5532616376876831, -0.5094501972198486, 0.0862560123205185, -0.1148780956864357, -0.5668630599975586, 0.9068487882614136, -0.05675213783979416, -0.7967924475669861, -0.8978822231292725, -1.0334296226501465, 0.5638353824615479, -0.4340628385543823, 0.5204241275787354, 0.03987664729356766, 0.21811948716640472, -0.1564679592847824, 0.10089240968227386, -0.3933979272842407, -0.5170888304710388, -0.8628609776496887, 0.04810279607772827, 0.8194437623023987, 0.26628178358078003, 0.48552098870277405, -0.149533212184906, 0.6436327695846558, 0.31567442417144775, -0.31296709179878235, -0.04295129328966141, -0.5051462650299072, -0.23660260438919067, -0.47134262323379517, -0.005775269586592913, -0.1943269670009613, -0.15083898603916168, 0.021130120381712914, 0.5458346605300903, 0.07637442648410797, 0.5209882259368896, 0.3337745666503906, 0.440167635679245, -0.6751897931098938, -0.03250725567340851, -0.08299688994884491, 0.3784776031970978, -0.21810072660446167, -0.2819110155105591, 0.08810778707265854, -0.8257556557655334, -0.13782650232315063, -0.4352715015411377, 0.24965885281562805, -0.7509889006614685, 0.38293272256851196, 0.28707456588745117, -0.596520185470581, -0.4288870096206665, -0.8067930936813354, 0.6916965842247009, -0.3566134572029114, 0.17830705642700195, 0.43938758969306946, 0.4352499544620514, 0.12251123040914536, -0.4716934561729431, -0.19375263154506683, 0.5688035488128662, -0.4802832007408142, -0.0682532787322998, -0.34451600909233093, -0.23843438923358917, 0.24947315454483032, 0.3061971962451935, -0.8373576402664185, -0.29470744729042053, -0.42417946457862854, 0.03232428804039955, 0.7031725645065308, 0.28734707832336426, 0.6044666171073914, -0.5308836698532104, -0.07956553995609283, 0.3166850805282593, -0.05353126674890518, 0.17598289251327515, 0.07005301862955093, 0.20495641231536865, -0.16492146253585815, 0.8886253833770752, -0.14772319793701172, 0.688858687877655, -0.02011028304696083, -0.03148425742983818, 0.06584765762090683, -0.2097119390964508, -0.25051239132881165, -0.14473482966423035, 0.6225281953811646, 0.8920813798904419, 0.3214746117591858, 0.06139973923563957, -0.1614946722984314, 0.2315259575843811, 0.4875138998031616, -0.4763679504394531, -0.28167885541915894, 0.15858621895313263, -0.8848682045936584, -0.3359184265136719, 0.08349192142486572, -1.1832389831542969, -0.9189519882202148, -0.3103928565979004, 0.25867512822151184, -0.21060588955879211, -0.5361902713775635, -0.1472090631723404, -0.21502545475959778, -0.39338284730911255, 0.2614598870277405, -0.6412174105644226, 0.25312864780426025, 0.520814061164856, 1.0565041303634644, 0.10965271294116974, 0.062441691756248474, 0.06505671888589859, -0.19484154880046844, -0.24261480569839478, 1.0285565853118896, -0.34979984164237976, -0.3643530607223511, 0.12574216723442078, 0.44697824120521545, -0.15764014422893524, -0.4691116511821747, 0.7308657765388489, -0.40021318197250366, -0.12765054404735565, -0.4903329610824585, -0.3974584639072418, -0.09030616283416748, 0.14379769563674927, -0.9217217564582825, 0.6224253177642822, 0.4146002233028412, -1.1550856828689575, 0.20901452004909515, -0.5153008103370667, -0.3936624526977539, -0.09936085343360901, 0.050351813435554504, -0.20074905455112457, 0.4127238988876343, 0.07132330536842346, 0.6961171627044678, -0.1490447223186493, 0.03973683714866638, -0.6702762842178345, -0.4126162827014923, 0.5225780010223389, 0.10002288222312927, 0.8427436351776123, 0.41851675510406494, -0.08651772886514664, -0.1015503853559494, -0.686369776725769, -0.09553121775388718, 0.2185705006122589, -0.18766608834266663, -0.6936100721359253, 0.018090568482875824, -0.05417913943529129, 0.25732043385505676, 0.22844775021076202, -0.6089593768119812, 0.007571766618639231, -0.039607029408216476, 0.6591740250587463, 0.5732870101928711, 0.5223511457443237, -0.13826924562454224, -0.0409063883125782, 0.69412761926651, 0.007667552214115858, 0.2392122447490692, 0.47828754782676697, -0.6775096654891968, 0.14262492954730988, -0.22561746835708618, 0.4695424437522888, 0.5338080525398254, -0.0749298706650734, 0.5400997400283813, 0.12198685109615326, -0.5720231533050537, -0.48104292154312134, 0.00801781378686428, 0.000883531232830137, 0.37372609972953796, 0.48846325278282166, 0.00009745028364704922, -0.874248743057251, -0.6640307307243347, -0.48562103509902954, 0.3812422454357147, -0.03320745751261711, 0.12618473172187805, 0.22836528718471527, -0.6933450698852539, 0.5479156970977783, -0.6999619007110596, -0.19929184019565582, -0.09158825874328613, 0.7366645932197571, 0.27502042055130005, 0.07363399118185043, 0.3796709477901459, -0.702177882194519, -0.9862664341926575, -0.3663707375526428, -1.0358755588531494, -0.12961043417453766, 0.08775757253170013, 0.05407117307186127, -0.01954522542655468, 0.3496655523777008, -0.9212954044342041, 0.7226274013519287, 0.3482508957386017, -0.2211098074913025, 0.1699456125497818, 0.13915486633777618, 0.2848377525806427, -0.7610859870910645, 0.16496756672859192, 0.43086743354797363, -0.13792294263839722, -0.3105721175670624, -0.6621021032333374, -0.05422092601656914, -0.45812860131263733, -0.15705251693725586, 0.0028603863902390003, -0.20423106849193573, -0.39935144782066345, -0.267785906791687, 0.17038965225219727, -0.27612653374671936, -0.028080837801098824, -0.07908445596694946, 0.2804647982120514, 0.909869909286499, -0.3915315568447113, 0.18593692779541016, 0.17118538916110992, -0.4445003271102905, 0.5576225519180298, -0.5790882110595703, -0.022797979414463043, -0.46638810634613037, 0.1046994999051094, -1.48982572555542, -0.5087315440177917, 0.3056428134441376, -0.73396897315979, -0.25067460536956787, 0.26135605573654175, -0.3443104922771454, -0.6649738550186157, -0.16408836841583252, 0.2847979962825775, 0.02317766100168228, -0.05114118754863739, 0.28640666604042053, 0.48211416602134705, -0.3688259422779083, -0.3111720681190491, -0.5956005454063416, -0.0000650303263682872, -0.5061720609664917, -0.4193646013736725, 0.556657612323761, -0.004137931391596794, -0.4825924336910248, 0.36465850472450256, 0.15930505096912384, -0.24676966667175293, 0.2284090220928192, 0.19403420388698578, -0.3356279134750366, 0.11118271946907043, 0.21472862362861633, -0.08672235906124115, -0.24052421748638153, 0.1609012931585312, 0.7533549666404724, 0.8214725852012634, 0.3394843637943268, 0.002937880577519536, -1.055351734161377, 0.6284559965133667, 0.5517500638961792, 0.2418692708015442, 0.7904232740402222, 0.3313988447189331, -0.6841282248497009, -0.013770340010523796, -0.07510866224765778, -0.20077471435070038, -0.4000110626220703, -0.10604014992713928, -0.10925887525081635, -0.425537109375, 0.427045613527298, -0.2660159170627594, -0.25398197770118713, 0.35788288712501526, 0.18483871221542358, -0.5202866792678833, 1.3901151418685913, 0.6611716151237488, -0.07908409833908081, 0.3459918200969696, 0.027757180854678154, 0.3005143404006958, -0.2977982759475708, 0.14474868774414062, -0.3245803117752075, -0.7139312028884888, -0.6635222434997559, 0.10101168602705002, -0.021013958379626274, 0.230782613158226, 0.01825663633644581, 0.4618726372718811, -0.7810733318328857, 0.33376386761665344, 0.5015227794647217, 0.3274904489517212, 0.10605424642562866, -0.1678161770105362, 0.3498937487602234, -0.3198942542076111, 0.08437882363796234, -0.6383151412010193, 1.0363984107971191, 0.07749676704406738, 0.7491198182106018, 0.07421674579381943, 0.8690457344055176, 0.9700642824172974, 0.35161805152893066, -0.5086448192596436, 0.453167587518692, -0.16453009843826294, -0.5219751000404358, -0.3500995337963104, -0.3854283094406128, -1.0228960514068604, -0.28331077098846436, -0.20077206194400787, -0.6336691379547119, 0.23098693788051605, -0.026456888765096664, -0.6307865977287292, -0.05772197246551514, -0.6815590262413025, 0.9289224147796631, -0.2963511049747467, 0.1468028426170349, -0.36243951320648193, -0.8655670881271362, 0.41342124342918396, -0.3129619359970093, 0.431816965341568, -0.06961002200841904, 0.4179781675338745, 0.8197149634361267, 0.034449588507413864, 1.0348446369171143, -0.4747993052005768, 0.15797153115272522, 0.5101895928382874, -0.26392096281051636, 0.24329784512519836, 0.11530017852783203, 0.07495760917663574, 0.019608469679951668, 0.3199717104434967, -0.28594186902046204, -0.5195932984352112, 0.7100362181663513, -1.1278767585754395, -0.009413694031536579, -0.34372445940971375, 0.06166593357920647, -0.09829440712928772, 0.09868930280208588, 0.33538582921028137, 0.11125107854604721, -0.5284545421600342, 0.07926127314567566, 0.2674564719200134, -0.38130077719688416, 0.47365882992744446, 0.30629828572273254, -0.25624585151672363, -0.7860842943191528, 0.7261433005332947, 0.45173379778862, -0.4325929582118988, 0.2809160053730011, 0.22950458526611328, -0.3475538492202759, -0.09251480549573898, 0.1786409318447113, 0.6507953405380249, -0.5370423793792725, -0.17400850355625153, -0.5986943244934082, -0.05935851112008095, -0.8550214767456055, -0.1549341231584549, -0.42594754695892334, -0.4477035105228424, -0.7965829372406006, -0.434402197599411, 0.1216898262500763, 1.0348924398422241, -0.5799389481544495, 0.35986512899398804, -0.8648515343666077, 0.6974021196365356, 0.45342743396759033, 0.24862034618854523, -0.108475461602211, 0.22819185256958008, -0.04343056306242943, 0.10872300714254379, -0.5543642044067383, -1.279228687286377, 0.4032558500766754, 0.010621181689202785, 0.40266096591949463, 0.7838843464851379, 0.2559942305088043, 0.9249110817909241, 0.23060451447963715, 0.6032541990280151, 0.3225955665111542, -0.5814692974090576, 0.7129132151603699, -0.20168186724185944, -0.007898402400314808, 0.7569248676300049, 1.0565956830978394, -0.8936089277267456, -0.04556559398770332, -0.7183877229690552, -0.509657084941864, 0.5293532013893127, 0.023308727890253067, -0.048644665628671646, -0.29763367772102356, 0.47050994634628296, 0.09105321764945984, 0.1741093546152115, -0.6292146444320679, -0.1966412514448166, -0.35730814933776855, -0.14949634671211243, -0.2478073686361313, -0.49589264392852783, -0.2310248762369156, -0.4090096056461334, 0.13061465322971344, 0.21885719895362854, 0.760150671005249, 0.17677398025989532, -0.1444244235754013, -0.6521538496017456, -0.1526491492986679, 0.4214872419834137, 0.9627131223678589, -0.5215178728103638, 0.5526118278503418, -0.14090478420257568, 0.07123687863349915, -0.009110819548368454, 0.11615918576717377, 0.12633360922336578, 0.34004223346710205, 0.30152273178100586, 0.2225385308265686, 0.17686262726783752, -0.5292208194732666, 0.47966188192367554, -0.3083054721355438, -0.39374780654907227, -0.7825531959533691, -0.0701340064406395, 0.5528993010520935, 0.4709760844707489, 0.22461427748203278, 0.07183713465929031, 0.0760178416967392, -0.7117820978164673, 0.2917257845401764, 0.3829096257686615, -0.5264553427696228, -0.8235488533973694, 0.3827436566352844, 0.24119380116462708, -0.9041779637336731, 0.6816558241844177, -0.01939026452600956, -0.16953513026237488, 0.3457300364971161, 0.2749117612838745, 0.7425715923309326, -0.37757614254951477, 0.6840670108795166, 0.6917668581008911, -0.09021329134702682, -0.12487746775150299, 0.5894021391868591, -0.11107350885868073, -0.5826098322868347, 0.06761997193098068, -0.5992467999458313, -0.11595560610294342, 0.46666914224624634, -0.831254780292511, 0.6182317733764648, -0.38292938470840454, -0.8150089979171753, 0.12050805985927582, -0.12787434458732605, -0.2353045642375946, 0.5776181221008301, 0.3701430857181549, 0.6021090745925903, -1.2029750347137451, 0.41123518347740173, 0.9087480902671814, -0.2312624156475067, -0.1478900909423828, 0.1281105875968933, 0.29465562105178833, -0.257510781288147, 0.34460580348968506, 0.4743139445781708, 0.043407753109931946, 0.09436109662055969, -0.4711351990699768, -0.7818231582641602, 1.0693340301513672, -0.049275871366262436, -0.18433590233325958, -0.00759871955960989, 0.5088329315185547, 0.7155395150184631, -0.23423610627651215, 0.10554291307926178, 0.25415468215942383, 0.6124172806739807, -0.07912872731685638, -0.3375871479511261, -0.04422852769494057, -0.3689424693584442, -0.11500721424818039, 0.19175486266613007, -0.5942484736442566, 0.9045711159706116, 0.023319803178310394, -0.752858579158783, -0.1537291258573532, 0.38876163959503174, 0.26364943385124207, 0.6163215041160583, 0.6042944192886353, 0.9289625883102417, 0.8998252153396606, 0.2887231111526489, 0.592543363571167, -0.4056248366832733, 0.6716597080230713, 0.6704397797584534, -0.14156794548034668, 0.5895233154296875, 0.3145877420902252, -0.16023534536361694, 0.3645898401737213, 1.153926968574524, -0.04065123200416565, 0.9563791751861572, -0.11005629599094391, -0.28657904267311096, -0.1985245794057846, 0.052669115364551544, -0.32630234956741333, 0.1424374133348465, 0.3454514741897583, -0.9468309879302979, -0.495305597782135, 0.1852913647890091, -0.08173727244138718, -0.07300952821969986, -0.06193721294403076, 0.8914973735809326, 0.10613235831260681, -0.5257624387741089, 0.5829635262489319, -0.04326636716723442, 0.3503451645374298, -0.17102639377117157, -0.017273595556616783, -0.15694628655910492, 0.3688790500164032, -0.2840316891670227, -0.9374390840530396, 1.2373396158218384, 0.05650830268859863, -0.08379912376403809, -0.3915269374847412, 1.1845711469650269, 0.12353906035423279, -0.570132851600647, 0.700475811958313, 0.6730429530143738, 0.29850226640701294, -0.4659076929092407, -0.7852539420127869, -0.19005197286605835, -0.08245079964399338, -0.45884740352630615, 0.347077876329422, 0.6825559139251709, 0.26759785413742065, 0.3191227614879608, 0.0817127525806427, -0.15381325781345367, -0.20541389286518097, -0.12248741090297699, 0.7143609523773193, -1.1636770963668823, -0.15468446910381317, -0.8846908211708069, 0.545295238494873, -0.26493316888809204, -0.6101637482643127, 0.8838602304458618, 0.3925994336605072, 0.363894522190094, -0.17935319244861603, 0.8173865079879761, -0.5638564825057983, 1.1952447891235352, 0.20851725339889526, 0.5426933765411377, -0.8025451302528381, -0.2191518396139145, -0.48286670446395874, -0.6241734623908997, -0.2886640429496765, 0.8520394563674927, -0.373762309551239, -0.31672966480255127, 0.7402471303939819, 0.7342612743377686, -0.09420022368431091, 0.4652537703514099, 0.06457572430372238, 0.13472525775432587, -0.11373121291399002, 0.10876252502202988, 1.1139487028121948, -0.04669630527496338, 0.26615312695503235, -0.7443839907646179, -0.20835401117801666, -0.5304231643676758, -0.28184932470321655, -1.0081740617752075, -0.5254480838775635, -0.47342437505722046, -0.06637593358755112, -0.035796988755464554, 0.5422112941741943, 0.06278299540281296, -0.5171590447425842, -0.005112234968692064, -0.5636624693870544, 0.3957540988922119, -0.41919073462486267, -0.3084256052970886, 0.21143408119678497, -0.11169356852769852, -0.5273411870002747, 0.046597354114055634, -0.13962218165397644, -0.09909767657518387, -0.10979075729846954, 0.39787790179252625, -0.3725370466709137, -0.06726786494255066, 0.6061436533927917, 0.015418123453855515, -0.18394707143306732, -0.19182027876377106, 0.05492490157485008, -0.24681298434734344, 0.13159507513046265, 0.8700286746025085, -0.3101591467857361, -0.020863601937890053, 0.8548607230186462, 0.09115207940340042, 0.3039061427116394, 0.630782961845398, 0.16591934859752655, -0.4340321123600006, -0.49505648016929626, 0.07843248546123505, 0.19409139454364777, 0.3294013738632202, -0.5703758001327515, 0.6062842011451721, 0.5517533421516418, -0.751468300819397, -0.7010574340820312, -0.15720964968204498, -0.7964252233505249, -0.7215033769607544, 0.7851811647415161, -0.12508848309516907, -0.20306497812271118, -0.4120156764984131, -0.17847074568271637, 0.45686259865760803, -0.39731165766716003, 1.4193854331970215, 0.8222895264625549, -0.4923628568649292, -0.442266583442688, -0.5306288003921509, 0.32696449756622314, -0.10602455586194992, -0.6552214026451111, -0.06051550805568695, 0.27714210748672485, 0.2613385021686554, 0.2471037656068802, 0.6619815230369568, -0.03802517428994179, 0.16177958250045776, -0.3377290964126587, -0.160361647605896, 0.6588230729103088, -0.029068738222122192, -0.032140664756298065, 0.7131854295730591, -0.4777297377586365, -0.13890202343463898 ]
http://arxiv.org/abs/2404.10297v1
http://arxiv.org/pdf/2404.10297v1
Future Language Modeling from Temporal Document History
2024-04-16T05:45:52
2024-04-16T05:45:52
Changmao Li, Jeffrey Flanigan
cs.CL
cs.CL, cs.AI, I.2.7
Predicting the future is of great interest across many aspects of human activity. Businesses are interested in future trends, traders are interested in future stock prices, and companies are highly interested in future technological breakthroughs. While there are many automated systems for predicting future numerical data, such as weather, stock prices, and demand for products, there is relatively little work in automatically predicting textual data. Humans are interested in textual data predictions because it is a natural format for our consumption, and experts routinely make predictions in a textual format (Christensen et al., 2004; Tetlock & Gardner, 2015; Frick, 2015). However, there has been relatively little formalization of this general problem in the machine learning or natural language processing communities. To address this gap, we introduce the task of future language modeling: probabilistic modeling of texts in the future based on a temporal history of texts. To our knowledge, our work is the first work to formalize the task of predicting the future in this way. We show that it is indeed possible to build future language models that improve upon strong non-temporal language model baselines, opening the door to working on this important, and widely applicable problem.
[ 0.12893293797969818, -0.863296389579773, 0.778106689453125, -0.02305254526436329, -0.07573781162500381, -0.007971798069775105, -0.07547013461589813, -0.8725011944770813, 0.28501462936401367, 0.7729986906051636, -0.6782293319702148, -0.5824135541915894, -0.4076422154903412, -0.27179187536239624, -0.8303030729293823, 0.8843168616294861, 0.0686308741569519, -0.22270983457565308, -0.1773599535226822, 0.3379008173942566, -0.38515913486480713, -0.8519144058227539, -0.5238659381866455, -0.5196604132652283, 0.10987944155931473, 0.1900358945131302, 0.9544327259063721, 0.753399133682251, -0.0037311320193111897, 0.377729207277298, 0.014566509053111076, -0.4314911663532257, -0.17697592079639435, 0.4697165787220001, 0.06691420078277588, -0.3060133457183838, -0.4790588319301605, 0.25965186953544617, 0.6886757612228394, 0.8611844778060913, 0.07016255706548691, 0.05331790819764137, -0.0836697369813919, 0.17579907178878784, -0.1930171549320221, 0.7372696995735168, -0.6521497368812561, -0.028715329244732857, -0.5195819735527039, -0.5345275402069092, -0.5215996503829956, -0.491533488035202, 0.17968225479125977, -0.4551289975643158, 0.2221125215291977, 0.15957875549793243, 0.8727806210517883, -0.13896550238132477, -0.4422339200973511, -0.2203134000301361, -0.8948809504508972, 1.036198377609253, -0.8722638487815857, 0.7842031121253967, 0.7637076377868652, 0.21977265179157257, -0.5730894207954407, -0.8426432609558105, -0.6707836985588074, -0.425796240568161, 0.06449000537395477, 0.027062389999628067, 0.1055268868803978, -0.28141751885414124, -0.17423993349075317, 0.06153588742017746, -0.6742545366287231, 0.13952594995498657, -0.13314811885356903, -0.05326615646481514, 0.44595199823379517, 0.29256635904312134, 0.16201698780059814, -0.020134465768933296, -0.3407672941684723, 0.0026313497219234705, -0.34042081236839294, -0.12805691361427307, 0.333964079618454, 0.2902396023273468, -0.08872770518064499, 0.5386546850204468, -0.14183159172534943, 0.6592281460762024, -0.24952685832977295, -0.1733386218547821, -0.04845356568694115, -0.2358754724264145, -0.17191071808338165, -0.00008331819844897836, 0.6919477581977844, 0.3794480264186859, 0.3983916938304901, -0.30198660492897034, -0.16093377768993378, 0.056069742888212204, 0.10821907222270966, -0.6035527586936951, -0.41053861379623413, 0.35655197501182556, -0.4658115804195404, -0.2549133598804474, -0.38563475012779236, -0.8587180376052856, -0.3511599004268646, -0.5739238858222961, -0.07517394423484802, -0.5892337560653687, -0.02072356827557087, 0.04109059274196625, 0.04393726959824562, 0.026814384385943413, 0.2812323272228241, -1.0874478816986084, 0.36812350153923035, 0.6323874592781067, 0.6952797174453735, 0.29370301961898804, -0.3603454530239105, -0.4096633195877075, 0.4460471570491791, -0.6512703895568848, 0.9714530110359192, -0.7647621035575867, -0.5548399090766907, 0.01038065180182457, 0.11264805495738983, 0.31841519474983215, -0.13512195646762848, 0.7066179513931274, -0.7632691860198975, 0.5295808911323547, 0.3322553038597107, -0.5802539587020874, -0.06205189600586891, 0.038252029567956924, -0.815712571144104, 0.7716165781021118, -0.10096418857574463, -0.7215946912765503, 0.4822666645050049, -0.5633874535560608, -0.5489015579223633, 0.1962817907333374, -0.027114050462841988, -0.5548509955406189, -0.18481259047985077, 0.27872657775878906, 0.457975834608078, -0.2334108203649521, 0.8937516212463379, -0.4667726457118988, 0.0061122155748307705, 0.3736517131328583, -0.6153402924537659, 0.6157984137535095, 0.14242470264434814, -0.2113076001405716, -0.20767554640769958, -0.7063913345336914, 0.009103205986320972, 0.007129395380616188, -0.1726527214050293, -0.3323603868484497, 0.5669031739234924, 0.43806377053260803, 0.18254771828651428, 0.6581886410713196, -0.3689389228820801, 0.16932392120361328, -0.48336517810821533, 0.3628130257129669, 0.982223391532898, 0.00430197874084115, 0.747054398059845, -0.3508073389530182, 0.5671002268791199, -0.21522819995880127, 0.34530410170555115, -0.5342363119125366, -0.6037363409996033, -0.3196270763874054, 0.2145879864692688, 0.21932612359523773, 0.5866011381149292, -0.4593408703804016, 0.3343736529350281, -0.40169066190719604, -0.6095617413520813, 0.26479145884513855, -0.3242715299129486, 0.09098181128501892, 0.5362405776977539, 0.24932961165905, 0.029229048639535904, -1.0629228353500366, -0.6800733804702759, -0.2906242311000824, -0.7780556082725525, 0.15359891951084137, -0.14164811372756958, 0.13702252507209778, -0.21621614694595337, 1.3264987468719482, -0.5302256941795349, -0.21091923117637634, -0.20207956433296204, 0.6196265816688538, 0.4281933903694153, 0.3561929166316986, 0.3271966874599457, -0.9478560090065002, -0.1844835728406906, -0.012357629835605621, -0.7004544734954834, -0.05953919142484665, -0.3553057312965393, 0.08619066327810287, 0.5160213708877563, 0.8568115830421448, -0.39244017004966736, 0.06646072864532471, 0.8346675634384155, -0.5363065600395203, 0.6767808198928833, -0.17503073811531067, 0.024074550718069077, -1.3534221649169922, 0.04561745747923851, 0.2073875069618225, -0.25423479080200195, -0.5937696099281311, -0.519028902053833, -0.012010821141302586, -0.34723132848739624, -0.38143521547317505, 1.170202374458313, -0.36659422516822815, 0.04765621945261955, -0.0533221997320652, -0.23329317569732666, -0.3070795238018036, 0.07761368155479431, 0.37361279129981995, 0.4127393960952759, 0.27536845207214355, -0.48564088344573975, -0.053218331187963486, 0.10217852145433426, -0.3429182767868042, 0.07291147112846375, -0.3973276615142822, -0.15122535824775696, 0.004856100771576166, 0.4659387469291687, -0.4937282204627991, -0.1352972537279129, -0.0642613098025322, -0.9241619110107422, 0.32442161440849304, -0.24926906824111938, -0.6487259268760681, -0.2235603779554367, 0.13355164229869843, -0.08371856063604355, 0.5245653390884399, -0.24613197147846222, 0.8046566843986511, 0.5551151037216187, -0.6589217185974121, -0.7134841680526733, -0.5688339471817017, 0.5896494388580322, 0.04535334184765816, -0.4919019043445587, 0.4877319633960724, -0.19234324991703033, -0.4557303190231323, 0.2287110835313797, 0.0766621008515358, -0.35730481147766113, 0.22881054878234863, 0.34686893224716187, 0.6583319306373596, -0.10617020726203918, 0.17721763253211975, -0.057255469262599945, -0.47667843103408813, 0.0342811681330204, -1.0125831365585327, 0.5374215841293335, 0.00830796081572771, -0.019727086648344994, -0.30758464336395264, 0.454456627368927, 0.5612042546272278, -0.2705860137939453, 0.8537508845329285, 0.4294026792049408, -0.9215015769004822, 0.06022659316658974, -0.3939218521118164, -0.09878125786781311, -0.46888697147369385, 0.4378086030483246, -0.21194075047969818, -0.6799665689468384, 0.3286376893520355, 0.09320740401744843, 0.33499741554260254, 0.5315699577331543, 0.5717609524726868, -0.3912113308906555, 0.739225447177887, 1.1073627471923828, 0.017322467640042305, 0.9293186068534851, -0.040205538272857666, 0.19405341148376465, -0.03655045107007027, -0.3044654130935669, -0.5151071548461914, -0.07031144201755524, -0.7005578875541687, -0.07749150693416595, 0.056346211582422256, 0.14271439611911774, 0.07289005815982819, 0.624034583568573, 0.14087143540382385, 0.5299341082572937, 0.584025502204895, -0.40860146284103394, 0.35341858863830566, -0.1914977729320526, -0.05632076784968376, -0.21138164401054382, -0.1927305907011032, -1.0924586057662964, 1.1434383392333984, 0.3139924108982086, 0.6766288876533508, -0.29784896969795227, 0.7309896945953369, 0.48504021763801575, 0.4459831714630127, -0.2915419340133667, 0.6181313991546631, -0.4785846471786499, -0.4959869980812073, -0.47687870264053345, -0.10866759717464447, -1.1118520498275757, -0.24133391678333282, -0.3327019214630127, -0.7475679516792297, 0.1765192151069641, 0.09766418486833572, -0.014208287931978703, 0.2725948095321655, -0.6879833340644836, 0.7788841724395752, -0.16892525553703308, -0.12198997288942337, 0.029072079807519913, -0.6609041690826416, -0.1164514347910881, -0.36240413784980774, 0.5915672183036804, -0.3614940345287323, -0.24964265525341034, 0.7510355710983276, -0.24215193092823029, 1.0863971710205078, -0.019217710942029953, -0.04711945354938507, 0.14114677906036377, 0.18743611872196198, 0.7106294631958008, 0.23142927885055542, -0.3104979991912842, 0.11114531755447388, 0.1282692700624466, -0.4035211205482483, -0.36353230476379395, 0.556953489780426, -0.48779693245887756, -0.22802139818668365, -0.4912981688976288, -0.4967755675315857, -0.3035978078842163, 0.35170790553092957, 0.1809326410293579, 0.7733169794082642, -0.6257156729698181, -0.18966932594776154, 0.3961729109287262, -0.15529166162014008, 0.808648407459259, 0.8313999772071838, -0.00957404263317585, -0.20949918031692505, 0.7441539168357849, 0.197474405169487, -0.1849258840084076, 1.0257230997085571, 0.32259246706962585, -0.6140091419219971, -0.6306800842285156, -0.08041294664144516, -0.028439169749617577, -0.7052819728851318, -0.026258796453475952, -1.0186564922332764, -0.11512695252895355, -0.7409770488739014, -0.41129937767982483, -0.33223360776901245, -0.42963090538978577, -0.6418953537940979, -0.0035861744545400143, 0.2767145335674286, 0.6323148608207703, 0.05377025529742241, 0.09575944393873215, -1.0657668113708496, 0.16220372915267944, 0.04287091642618179, 0.3712104260921478, -0.30822429060935974, -0.23115788400173187, -0.4536625146865845, -0.17903263866901398, -0.24467028677463531, -0.8084105253219604, 0.9892524480819702, 0.1740393489599228, 0.6523187160491943, -0.014586394652724266, 0.05727546662092209, 0.3720596432685852, -0.7792235016822815, 0.8900992274284363, 0.03275657072663307, -0.9044336080551147, 0.6999145746231079, -0.5445946455001831, 0.08746685087680817, 0.1153353825211525, 0.32826173305511475, -0.968287467956543, -0.7342879176139832, -0.8652563095092773, -0.9521591663360596, 0.3486558496952057, -0.08790846168994904, 0.2391345351934433, -0.29543715715408325, 0.10743321478366852, 0.4561143219470978, -0.06774232536554337, -0.7467987537384033, 0.1392979770898819, -0.05383194983005524, -0.35316187143325806, -0.5600589513778687, -0.1678248941898346, 0.4954753816127777, 0.24621036648750305, 0.7352136373519897, -0.16082118451595306, 0.402713805437088, -0.3504869341850281, -0.08054789900779724, -0.03644005209207535, 0.45080751180648804, 0.5862545967102051, 0.6590467691421509, -0.3665868043899536, -0.03558848425745964, 0.1555427759885788, -0.4543440341949463, -0.011690877377986908, 0.48168307542800903, -0.0742373988032341, 0.2982170283794403, 0.5794932246208191, 0.3841756284236908, 0.3725220561027527, -0.627246618270874, 0.2618124186992645, -0.04516581818461418, -0.046065691858530045, -1.0073482990264893, -0.5101261138916016, 0.28394627571105957, 0.6417492628097534, 0.580380380153656, 0.024338290095329285, 0.025052634999155998, -0.7212916612625122, 0.27385327219963074, 0.05114724114537239, -0.310434490442276, -0.49478015303611755, 1.1669776439666748, -0.04168219864368439, -0.27460500597953796, 0.5202754139900208, -0.25762102007865906, -0.4730544686317444, 0.5315472483634949, 0.6620613932609558, 1.0204836130142212, -0.2085355818271637, 0.07374168187379837, 0.14559607207775116, 0.2386297583580017, -0.3545616865158081, 0.3539891242980957, 0.38759005069732666, -0.49503517150878906, -0.5936211943626404, -0.9198358654975891, -0.5336692333221436, 0.0698048397898674, -0.055410049855709076, 0.5713892579078674, -0.3231111168861389, -0.4218463897705078, -0.11703525483608246, 0.15437942743301392, -0.5118496417999268, 0.5718963742256165, 0.3041440546512604, 0.7852519154548645, -1.0094860792160034, 1.2113362550735474, 0.5386738777160645, -0.21453718841075897, -0.10385551303625107, 0.280164510011673, -0.04589032754302025, -0.444652259349823, 0.8214125037193298, -0.009062495082616806, -0.02750333398580551, -0.1858666092157364, -0.40796959400177, -0.9904530048370361, 1.0710177421569824, 0.49330639839172363, -0.620002269744873, -0.4272667467594147, -0.18186309933662415, 0.6367109417915344, -0.04166543111205101, 0.046476349234580994, 0.17043760418891907, 0.37203875184059143, 0.013027532026171684, -0.6773514747619629, -0.33989572525024414, -0.4877932369709015, 0.054957546293735504, 0.5312196016311646, -0.13890498876571655, 1.12856125831604, -0.20372530817985535, -0.5952140688896179, 0.32745102047920227, 1.2392677068710327, -0.0734497681260109, 0.5139771699905396, 0.19629718363285065, 0.212550550699234, 0.8526843190193176, -0.16815268993377686, 1.2066760063171387, -0.4438287913799286, -0.006040130276232958, 1.5500658750534058, -0.1769452840089798, 1.140182614326477, 0.26063013076782227, -0.12407753616571426, 0.7495240569114685, 0.8905327916145325, 0.2459924966096878, 0.3766920268535614, -0.21254439651966095, -0.17409370839595795, -0.22807030379772186, -0.21489951014518738, -0.3496358096599579, 0.308941125869751, 0.3649446666240692, -0.4897293746471405, 0.04922880604863167, -0.23989242315292358, 0.13399609923362732, 0.3054667115211487, 0.0046003591269254684, 0.5833666324615479, -0.12307823449373245, -0.5275920033454895, 0.11118174344301224, 0.37011176347732544, 0.5417924523353577, -0.6106088161468506, 0.13446259498596191, -0.1650725156068802, 0.20760942995548248, 0.2273133099079132, -0.9705770015716553, 0.45865151286125183, -0.01443718746304512, -0.3361944258213043, -0.7016223073005676, 0.5496484637260437, -0.5290234684944153, -0.6692712306976318, 0.27954915165901184, 0.3412613868713379, 0.006884967442601919, 0.07387670874595642, -0.3766104578971863, -0.2890419363975525, -0.3719428479671478, -0.14459015429019928, 0.232499361038208, 0.4135874807834625, -0.45359358191490173, 0.8199367523193359, 0.713489830493927, 0.03529238700866699, 0.07465124875307083, 0.04914474114775658, 0.4755171835422516, -0.8696191310882568, -0.9627869129180908, -0.822989821434021, 0.26452207565307617, 0.2041396051645279, -0.16978612542152405, 0.33539777994155884, 0.6045423746109009, 0.6510587930679321, 0.09790945798158646, 0.8350664377212524, 0.19709159433841705, 0.5123152732849121, -0.7303867340087891, 0.733138382434845, -0.4325641691684723, 0.04429143667221069, -0.16895577311515808, -0.7273227572441101, -0.23350615799427032, 0.035087235271930695, -0.38131868839263916, 0.06770077347755432, 0.8329177498817444, 0.536082923412323, 0.384531170129776, 0.46370595693588257, 0.31008586287498474, 0.14243511855602264, 0.4517543613910675, 0.42683693766593933, 0.6838615536689758, -0.10414735972881317, 0.7457558512687683, -0.32963019609451294, -0.18794341385364532, -0.2034248411655426, -1.257881999015808, -0.6257835626602173, -1.2935048341751099, -0.2271740585565567, -0.18469856679439545, 0.36410224437713623, 0.731096088886261, 0.634653627872467, -0.7175447940826416, -0.3838235139846802, -0.013399691320955753, -0.1892295777797699, -0.20139020681381226, -0.15784703195095062, 0.24886618554592133, -0.2399103194475174, -0.8886401057243347, 0.46416908502578735, 0.31732845306396484, 0.5134639143943787, -0.13745161890983582, 0.016544867306947708, -0.1349504292011261, 0.11955400556325912, 0.6761506199836731, 0.2912243604660034, -0.5609521865844727, -0.1347704827785492, 0.2067987024784088, -0.14059196412563324, -0.13769064843654633, 0.7065247297286987, -0.9943795800209045, 0.3805651068687439, 0.43101418018341064, 0.3500688970088959, 0.48834165930747986, -0.34712210297584534, 0.9476208090782166, -0.6753182411193848, -0.0462600439786911, 0.4481182396411896, 0.47048214077949524, 0.34679079055786133, -0.2857244908809662, 0.2634466588497162, 0.11294031888246536, -0.3783178925514221, -0.32158592343330383, 0.16029682755470276, -0.7213367223739624, -0.35790544748306274, 0.8122671246528625, 0.14569896459579468, -0.277712345123291, -0.4036172330379486, 0.099857859313488, 0.48773321509361267, -0.45133811235427856, 0.7412657141685486, 0.6322852969169617, 0.16405610740184784, -0.09972936660051346, -0.733386218547821, 0.12196223437786102, 0.08113543689250946, -0.9261412024497986, 0.3059226870536804, 0.44202542304992676, -0.12356801331043243, -0.1660691797733307, 0.8694923520088196, -0.4518093466758728, 0.03215324878692627, 0.1776900589466095, -0.11656012386083603, 0.1768432855606079, -0.41464197635650635, -0.012619529850780964, 0.12161660194396973, 0.07348843663930893, 0.14722713828086853 ]
http://arxiv.org/abs/2404.13078v2
http://arxiv.org/pdf/2404.13078v2
Empowering Interdisciplinary Research with BERT-Based Models: An Approach Through SciBERT-CNN with Topic Modeling
2024-04-16T05:21:47
2024-04-23T05:15:18
Darya Likhareva, Hamsini Sankaran, Sivakumar Thiyagarajan
cs.CL
cs.CL, cs.LG
Researchers must stay current in their fields by regularly reviewing academic literature, a task complicated by the daily publication of thousands of papers. Traditional multi-label text classification methods often ignore semantic relationships and fail to address the inherent class imbalances. This paper introduces a novel approach using the SciBERT model and CNNs to systematically categorize academic abstracts from the Elsevier OA CC-BY corpus. We use a multi-segment input strategy that processes abstracts, body text, titles, and keywords obtained via BERT topic modeling through SciBERT. Here, the [CLS] token embeddings capture the contextual representation of each segment, concatenated and processed through a CNN. The CNN uses convolution and pooling to enhance feature extraction and reduce dimensionality, optimizing the data for classification. Additionally, we incorporate class weights based on label frequency to address the class imbalance, significantly improving the classification F1 score and enhancing text classification systems and literature review efficiency.
[ -0.47424542903900146, -0.4975452721118927, 0.3830532729625702, 0.1816636323928833, -0.3516022562980652, 0.4113468527793884, -0.17261312901973724, -0.4890892207622528, 0.298626571893692, 0.1996048241853714, -0.08089613169431686, -0.5451949238777161, -0.6641969680786133, 0.06718412041664124, -0.6364473700523376, 1.4289480447769165, 0.16321943700313568, 0.6229737401008606, -0.5771273970603943, -0.26702722907066345, -0.19352011382579803, -0.610447108745575, -0.32332858443260193, -0.43680617213249207, 0.7893362641334534, 0.40622955560684204, 0.2947165369987488, 0.18763814866542816, 0.6692655086517334, 0.24538478255271912, -0.34085437655448914, 0.015088428743183613, -0.24705609679222107, 0.08956336230039597, -0.13455148041248322, -0.42822784185409546, -0.13679789006710052, -0.031659625470638275, 0.7559977769851685, 0.707139790058136, 0.25356149673461914, -0.10678020864725113, 0.0008335627499036491, 0.26496902108192444, -0.503356397151947, -0.09475263208150864, -0.4945816397666931, 0.1775711625814438, -0.20652560889720917, -0.28499090671539307, -0.552370548248291, -0.17699673771858215, 0.6110635995864868, -0.2778761684894562, 0.32868149876594543, 0.09857773035764694, 0.8377420902252197, 0.0212126262485981, -0.4949081838130951, -0.34924784302711487, -0.34388577938079834, 0.8710823655128479, -0.3602765202522278, 0.21511933207511902, 0.08623019605875015, -0.20506048202514648, 0.12298817932605743, -0.838192880153656, -0.3150763213634491, -0.2228672206401825, -0.12396901100873947, -0.0943201407790184, 0.07089482992887497, -0.03431909531354904, -0.22293603420257568, 0.14570219814777374, -0.41004905104637146, 0.14323782920837402, -0.8854932188987732, -0.1832527071237564, 0.6145572066307068, 0.05210895091295242, 0.3574460446834564, -0.06689000129699707, -0.6398430466651917, 0.03417104482650757, -0.5003933906555176, 0.06128891184926033, 0.1670341193675995, 0.1682853102684021, 0.20880450308322906, 0.5607544183731079, 0.051953766494989395, 0.7301812767982483, -0.1698334962129593, 0.1589740365743637, 0.40432050824165344, -0.2156360149383545, -0.09178803116083145, 0.7307060956954956, 0.5358080863952637, 0.3051418364048004, -0.3020596206188202, -0.08327319473028183, 0.219171941280365, -0.3438849449157715, 0.5160626173019409, -0.8966572880744934, -0.18839873373508453, 0.43210795521736145, -0.7092366218566895, -0.388039767742157, 0.030631069093942642, -0.6266492009162903, -0.27807122468948364, -0.3867352306842804, 0.3502669632434845, -0.4921930730342865, 0.022265208885073662, -0.11894828081130981, -0.2874896824359894, -0.05974169075489044, 0.5554326176643372, -0.6141301393508911, 0.0362139493227005, 0.651435911655426, 1.2188715934753418, -0.4749463200569153, -0.11745020002126694, 0.009068453684449196, -0.07017306983470917, 0.08601024001836777, 0.9340009689331055, -0.5681791305541992, -0.3688787817955017, -0.031400807201862335, 0.031094525009393692, 0.08607397973537445, 0.17928995192050934, 0.6271334886550903, -0.6527308821678162, 0.40578868985176086, -0.1534704566001892, -0.7988080382347107, -0.22353285551071167, 0.43786486983299255, -0.4592075049877167, 0.6230893731117249, -0.21810829639434814, -1.2010366916656494, 0.31372109055519104, -0.8124234080314636, -0.24632063508033752, 0.0288960263133049, -0.16698861122131348, -0.6725727319717407, 0.09745306521654129, 0.18521259725093842, 0.5650174617767334, -0.21225781738758087, 0.5419270992279053, -0.3028484582901001, -0.37671220302581787, 0.36929845809936523, -0.17642705142498016, 0.7689633965492249, 0.5315948128700256, 0.2511800229549408, 0.4550216495990753, -0.4830131530761719, -0.1785934716463089, -0.34752559661865234, -0.2914913296699524, -0.7935482859611511, 0.2886843681335449, 0.4674213230609894, 0.18331369757652283, 0.2483154684305191, -0.90456223487854, 0.47884565591812134, -0.26730358600616455, 0.6172434687614441, 0.37065356969833374, 0.00306836050003767, 0.46182283759117126, -0.22885574400424957, -0.0351606085896492, 0.2400835156440735, -0.23391245305538177, -0.3546164333820343, -0.6114683747291565, -0.6800742745399475, -0.5146543383598328, 0.8035520315170288, 0.42295393347740173, -0.5227463245391846, 0.45725446939468384, -0.18268759548664093, -0.688383162021637, -0.4823942184448242, -0.4254832863807678, -0.07545723766088486, 0.4767927825450897, 0.5130055546760559, -0.43582719564437866, -0.15639863908290863, -0.9103801846504211, 0.11142024397850037, 0.06699962913990021, 0.03372480347752571, 0.010120372287929058, 0.48057836294174194, 0.006776576861739159, 0.9735118746757507, -0.6290788650512695, -0.3590206801891327, -0.0615440234541893, 0.8899527788162231, -0.0343887135386467, 0.8522340059280396, 0.5690295696258545, -0.926345944404602, -0.224445179104805, -0.05805043876171112, -0.6646631956100464, 0.04619695991277695, -0.05710873007774353, -0.07050219178199768, 0.10282929241657257, 0.7447100281715393, -0.1558564454317093, 0.451084703207016, -0.016605230048298836, -0.38084638118743896, 0.10543402284383774, -0.2365303933620453, 0.11531128734350204, -0.817610502243042, 0.002011525444686413, 0.2610090374946594, 0.15223531424999237, -0.5745133757591248, -0.11922809481620789, 0.14468178153038025, -0.38246339559555054, -0.5175609588623047, 0.26208433508872986, -0.2059749811887741, 0.1632022112607956, -0.5380231738090515, -0.07420822232961655, 0.11592552065849304, 0.25646084547042847, 0.30002862215042114, 0.4292793571949005, 0.648193359375, -0.4253724217414856, -0.02720898948609829, 0.30287230014801025, -0.3539598882198334, 0.3939514756202698, -0.7476799488067627, -0.2970722019672394, -0.5973467826843262, 0.5472645163536072, -1.0734375715255737, -0.012251464650034904, -0.030463434755802155, -0.2640298008918762, 0.49404284358024597, 0.08815493434667587, -0.5079379677772522, -0.12290498614311218, -0.5289170742034912, 0.4503069221973419, 0.16590018570423126, -0.41458064317703247, 0.5848278999328613, 0.3706236779689789, -0.5233175754547119, -0.7317275404930115, -0.5734700560569763, -0.00252492050640285, -0.1483454704284668, -0.5071684718132019, 0.8306173086166382, 0.17940594255924225, -0.05646625533699989, 0.32800185680389404, 0.14532312750816345, -0.3974318504333496, 0.10012394934892654, 0.08436092734336853, 0.3282439112663269, -0.025407440960407257, 0.6867305636405945, 0.39311474561691284, 0.25689002871513367, 0.06755580008029938, -0.24292202293872833, 0.48818057775497437, -0.14115598797798157, -0.20663145184516907, -0.21113279461860657, 0.6225789189338684, 0.6301957368850708, -0.4092032313346863, 0.7043170928955078, 0.8388721346855164, -0.2528030276298523, 0.020849956199526787, -0.2380393147468567, -0.3685828447341919, -0.300855815410614, 0.6025353074073792, 0.028483806177973747, -0.9147860407829285, 0.3939526379108429, -0.11549773067235947, 0.2601052224636078, 0.459070086479187, 0.7015148997306824, -0.3039807379245758, 0.7024832963943481, 0.7108107805252075, -0.056059982627630234, 0.4118739068508148, -0.27177807688713074, 0.28299108147621155, -0.7226978540420532, -0.5615155696868896, -0.8425729274749756, -0.6004459261894226, -0.5310041904449463, -0.29892241954803467, 0.5108896493911743, 0.05267804116010666, -0.07384061068296432, 0.16313856840133667, -1.0367310047149658, 0.2353925257921219, 0.7843414545059204, 0.416793555021286, 0.15279008448123932, 0.21121659874916077, -0.093253493309021, -0.13153253495693207, -0.7083173990249634, -0.40460634231567383, 1.155637264251709, 0.5544337630271912, 0.8082813620567322, -0.1717136651277542, 0.7041416168212891, 0.49675625562667847, 0.8578363060951233, -0.7503155469894409, 0.20176757872104645, -0.22498661279678345, -0.8943666815757751, -0.2886088788509369, 0.08694076538085938, -0.804071843624115, 0.7511011362075806, -0.4755293130874634, -0.8203288912773132, 0.5080430507659912, -0.1854095160961151, -0.218855619430542, 0.3407977819442749, -0.41084372997283936, 0.5966871976852417, -0.33476534485816956, -0.47342509031295776, -0.34694090485572815, -0.7613604664802551, 0.4374435544013977, -0.21412883698940277, 0.10834053158760071, -0.22845235466957092, -0.10399413108825684, 0.8082465529441833, -0.2747722864151001, 0.7646937370300293, 0.07579388469457626, 0.045470889657735825, 0.44702115654945374, -0.45510199666023254, -0.19818121194839478, 0.24576149880886078, -0.12624795734882355, 0.3539683520793915, -0.031023262068629265, -0.41274958848953247, -0.2779819965362549, 0.7576253414154053, -0.9846543073654175, -0.4171126186847687, -0.9794184565544128, -0.6497310400009155, 0.0008948248578235507, -0.00329825421795249, 0.29608455300331116, 0.4102790653705597, -0.10664509236812592, 0.3405110836029053, 0.6544989943504333, -0.40326425433158875, 0.514352560043335, 0.3537760376930237, -0.08854208886623383, -0.370665580034256, 1.0191491842269897, 0.2235819399356842, -0.13533926010131836, 0.5079714059829712, 0.15102645754814148, -0.20188495516777039, -0.5009512305259705, -0.17587558925151825, -0.0666545182466507, -0.8221620321273804, -0.34099358320236206, -1.2084468603134155, -0.4000403583049774, -0.32839104533195496, -0.357368528842926, 0.01788054220378399, -0.5163390636444092, -0.6112563014030457, 0.10274937748908997, 0.31716373562812805, 0.3280442953109741, -0.07025349140167236, 0.36869165301322937, -0.7043166756629944, 0.00022136399638839066, 0.06356342881917953, 0.05508210137486458, 0.16460350155830383, -0.405430406332016, -0.21803149580955505, -0.3822292685508728, -0.7418270111083984, -0.7802548408508301, 0.43924805521965027, 0.2084205448627472, 0.4985211491584778, 0.271088570356369, 0.14116846024990082, 0.2140199989080429, -0.612116813659668, 0.8346409797668457, 0.3499632179737091, -0.9469348788261414, 0.5278244018554688, -0.06501328200101852, 0.17513976991176605, 0.5866900086402893, 0.8913002610206604, -0.16513755917549133, -0.5290536880493164, -0.5582391023635864, -1.2554532289505005, 0.7321203947067261, 0.15618112683296204, 0.16776043176651, 0.04811365529894829, -0.02998514287173748, 0.08460317552089691, 0.35460343956947327, -0.7382519245147705, -0.243633434176445, -0.5749335885047913, -0.3267216086387634, 0.3074605166912079, -0.2324533313512802, -0.12630002200603485, -0.549015998840332, 0.6650175452232361, -0.09622226655483246, 0.5020341873168945, 0.4449273645877838, -0.007610267028212547, 0.29296258091926575, 0.26482120156288147, 1.0183131694793701, 0.5684121251106262, -0.47341883182525635, 0.20489977300167084, 0.1080755963921547, -0.41724416613578796, 0.13745510578155518, 0.26150208711624146, -0.21302078664302826, 0.3931538164615631, 0.32205459475517273, 0.3933075964450836, 0.23224037885665894, -0.598888635635376, 0.4414345622062683, -0.06065238267183304, -0.19637005031108856, -0.1566803753376007, -0.1085558533668518, 0.061462003737688065, -0.010833252221345901, 0.6305354237556458, 0.2549634575843811, 0.3845343291759491, -0.36933138966560364, 0.5258042216300964, 0.23221376538276672, -0.5922227501869202, 0.1586509495973587, 0.5066809058189392, 0.41288796067237854, 0.1710595190525055, 0.5623368620872498, 0.01822592504322529, -0.6087757349014282, 0.9025612473487854, 0.2850835621356964, 0.5914085507392883, 0.0808262750506401, 0.20772060751914978, 0.5309115648269653, 0.15822307765483856, -0.058482274413108826, 0.1431526392698288, 0.02980806678533554, -0.5150699019432068, -0.47345834970474243, -0.5019499659538269, -0.5333232879638672, 0.03871210664510727, -0.6210439801216125, 0.5192047357559204, -0.3099299371242523, -0.1573558896780014, 0.5160684585571289, -0.22398363053798676, -0.28127413988113403, 0.1475098878145218, 0.14551123976707458, 0.9632472991943359, -0.7940118312835693, 1.073255181312561, 0.7937018275260925, -0.5072317123413086, -0.13860554993152618, -0.13845209777355194, -0.301567405462265, -0.26989808678627014, 1.1839758157730103, 0.26958638429641724, 0.33208125829696655, -0.2271289825439453, -0.864341676235199, -0.8895524740219116, 0.8300974369049072, -0.27308014035224915, -0.5253813862800598, 0.08548985421657562, -0.3791365921497345, 0.5831198692321777, -0.5760819315910339, 0.3638962507247925, -0.04538648575544357, 0.3602375388145447, 0.12213356047868729, -0.4797712564468384, -0.46210044622421265, -0.1656336486339569, -0.175734281539917, 0.11484982818365097, -0.6177813410758972, 1.2033885717391968, 0.06359201669692993, 0.2863095700740814, -0.009000576101243496, 1.0115642547607422, 0.2704346477985382, 0.5863003730773926, 0.16842390596866608, 0.420600026845932, 0.664627730846405, -0.30306902527809143, 0.7034704089164734, -0.4427909553050995, 0.6672405004501343, 0.9073368906974792, -0.3261798620223999, 0.6375748515129089, 0.4917435050010681, 0.1907220482826233, 0.5172721147537231, 0.8164279460906982, -0.5825597047805786, 0.9279539585113525, 0.589724600315094, -0.4051605463027954, -0.055620159953832626, -0.4202837347984314, -0.5565598607063293, 0.635332465171814, 0.7522592544555664, -0.6314697265625, -0.4816771447658539, 0.5336320400238037, -0.011913588270545006, -0.012758539989590645, -0.5931541323661804, 0.5592337846755981, -0.039277270436286926, -0.6597915291786194, 0.16044624149799347, 0.46101757884025574, 0.8591510057449341, -0.42140331864356995, -0.07044019550085068, 0.11066864430904388, -0.018433911725878716, -0.17557327449321747, -0.7144402265548706, 0.22855058312416077, -0.06251128017902374, -0.23147378861904144, -0.13316217064857483, 0.9705943465232849, -0.6969693899154663, -0.8033311367034912, -0.163018137216568, 0.192927747964859, 0.16631117463111877, 0.4145350456237793, -0.6312304735183716, 0.11682630330324173, -0.24321022629737854, 0.10380856692790985, 0.23662205040454865, 0.3653623163700104, -0.36024656891822815, 0.4963064193725586, 0.3564560115337372, -0.20671315491199493, -0.20340415835380554, -0.24131299555301666, 0.8630037307739258, -0.5558391809463501, -0.5729509592056274, -0.7626499533653259, 0.4277108907699585, -0.36593344807624817, -0.44337862730026245, 0.41854700446128845, 0.49398505687713623, 0.6475873589515686, -0.20422320067882538, 0.7453569769859314, -0.1367088258266449, 0.28563031554222107, -0.31840208172798157, 0.891676664352417, -0.5586919784545898, 0.00468763941898942, -0.19779518246650696, -0.4540766775608063, -0.500303328037262, 0.7312446236610413, -0.06308543682098389, -0.24721406400203705, 0.728510320186615, 0.15086832642555237, 0.023859452456235886, 0.36003732681274414, 0.02844945713877678, -0.23685882985591888, 0.2846859395503998, 0.31087446212768555, 0.7914909720420837, -0.2151322364807129, 0.1623755842447281, -0.1999034881591797, -0.08339891582727432, -0.48290741443634033, -0.940060019493103, -1.1918773651123047, -0.585769772529602, -0.6513563394546509, -0.1964811384677887, -0.07854156196117401, 1.028009295463562, 0.8386662602424622, -1.0506651401519775, 0.027870342135429382, 0.05231766775250435, 0.34819650650024414, -0.014724924229085445, -0.23268140852451324, 0.8372316956520081, -0.6362450122833252, -0.7438859939575195, -0.08941739797592163, 0.22546039521694183, 0.07968321442604065, -0.5669528841972351, 0.5006465315818787, -0.6243893504142761, -0.1079491451382637, 0.6695379614830017, 0.07871843129396439, -0.7181327939033508, -0.004229577258229256, -0.12473543733358383, -0.3101770579814911, -0.017613640055060387, 1.0024412870407104, -0.7657642960548401, 0.3369261920452118, 0.5763356685638428, 0.885826587677002, 0.4354929029941559, -0.07010794430971146, 0.47158199548721313, -0.8010082840919495, 0.30538859963417053, 0.4408591091632843, 0.47636494040489197, 0.19829054176807404, -0.40272313356399536, 0.49395325779914856, 0.09657680988311768, -0.5747854709625244, -0.8684117197990417, -0.24296832084655762, -1.0528286695480347, -0.8295078277587891, 0.4622466266155243, -0.23477496206760406, -0.10100551694631577, -0.2812581956386566, -0.3343736231327057, 0.14182142913341522, -0.5130088329315186, 0.9455763697624207, 0.9415426254272461, -0.29505977034568787, -0.024499205872416496, -0.36681848764419556, 0.20075932145118713, 0.4428822100162506, -0.749997615814209, -0.6196445822715759, 0.20005816221237183, 0.11788177490234375, 0.7483136653900146, 0.21913579106330872, -0.23588471114635468, 0.11134245991706848, -0.4034801721572876, 0.3197035789489746, -0.00586990499868989, -0.41088205575942993, -0.16197063028812408, 0.6637139320373535, -0.20819120109081268, -0.15685395896434784 ]
http://arxiv.org/abs/2404.10271v2
http://arxiv.org/pdf/2404.10271v2
Social Choice Should Guide AI Alignment in Dealing with Diverse Human Feedback
2024-04-16T03:59:33
2024-06-04T14:34:38
Vincent Conitzer, Rachel Freedman, Jobst Heitzig, Wesley H. Holliday, Bob M. Jacobs, Nathan Lambert, Milan Mossé, Eric Pacuit, Stuart Russell, Hailey Schoelkopf, Emanuel Tewolde, William S. Zwicker
cs.LG
cs.LG, cs.AI, cs.CL, cs.CY, cs.GT, 68T01, 68T50, 91B14, 91B12, I.2.0; I.2.7; K.4.2; I.2.m; J.4
Foundation models such as GPT-4 are fine-tuned to avoid unsafe or otherwise problematic behavior, such as helping to commit crimes or producing racist text. One approach to fine-tuning, called reinforcement learning from human feedback, learns from humans' expressed preferences over multiple outputs. Another approach is constitutional AI, in which the input from humans is a list of high-level principles. But how do we deal with potentially diverging input from humans? How can we aggregate the input into consistent data about "collective" preferences or otherwise use it to make collective choices about model behavior? In this paper, we argue that the field of social choice is well positioned to address these questions, and we discuss ways forward for this agenda, drawing on discussions in a recent workshop on Social Choice for AI Ethics and Safety held in Berkeley, CA, USA in December 2023.
[ -0.40968766808509827, -0.46322131156921387, 0.5510562658309937, -0.1048886775970459, -0.1603342443704605, 0.45430418848991394, -0.10039030760526657, -0.6929122805595398, -0.022464901208877563, 0.43999242782592773, -0.5221445560455322, -0.05202677100896835, -0.6370247602462769, -0.07297848910093307, -0.08700194209814072, 1.2101625204086304, 0.14501234889030457, 0.2571425139904022, -0.179340198636055, -0.2951946556568146, -0.4076034426689148, -0.5285044312477112, -1.0944620370864868, -0.5421293377876282, 0.7385762333869934, 0.5490363240242004, 1.0224908590316772, 0.6958772540092468, 0.2978738248348236, 0.3847198188304901, -0.037737421691417694, 0.18275894224643707, -0.6205938458442688, -0.18688327074050903, -0.5043124556541443, -0.42391759157180786, -0.1198127493262291, 0.4657649099826813, 0.3235558271408081, 0.5155081152915955, -0.17332938313484192, -0.09598950296640396, 0.18280287086963654, 0.7001050710678101, -0.3460325300693512, -0.15264125168323517, -0.4203650653362274, -0.06386756151914597, -0.042138904333114624, 0.10529929399490356, -0.21516795456409454, -0.6378800868988037, 0.207748681306839, -0.4234505891799927, 0.21558447182178497, 0.015047265216708183, 0.7239488959312439, 0.48951882123947144, -0.5119245648384094, 0.19480979442596436, -0.9279087781906128, 0.6595425605773926, -0.16510619223117828, 0.3924862742424011, 0.6631839871406555, 0.29530516266822815, -0.2629600167274475, -0.5014382600784302, -0.26852652430534363, 0.029101209715008736, 0.15887637436389923, 0.12788096070289612, 0.4027821123600006, 0.2550183832645416, -0.06742824614048004, 0.019289659336209297, -0.1693023294210434, 0.21893414855003357, -0.7751989960670471, -0.24836263060569763, 1.0800237655639648, 0.1497156023979187, 0.23745404183864594, 0.27505016326904297, -0.04323742911219597, -0.008366929367184639, -0.6172167062759399, 0.42532896995544434, 0.6957090497016907, 0.35194334387779236, -0.1550876498222351, 0.3352428674697876, -0.3243007957935333, 0.6129267811775208, 0.5483056306838989, 0.32962939143180847, -0.0054066963493824005, -0.40931200981140137, 0.0019052323186770082, 0.166181281208992, 0.6864702105522156, 0.3911662697792053, 0.23640403151512146, -0.1916906088590622, -0.09640246629714966, 0.3771655559539795, 0.6493787169456482, -0.3341310918331146, -0.12363853305578232, 0.2377932369709015, -0.49577856063842773, -0.6090867519378662, 0.1995023638010025, -0.7499051094055176, -0.6108233332633972, -0.8122506737709045, -0.0444449745118618, -0.15997213125228882, -0.03973272442817688, 0.1641935408115387, -0.3313671350479126, 0.3391053378582001, 0.3958547115325928, -1.1576859951019287, 0.45852890610694885, 0.803750216960907, 0.5396732091903687, -0.4113692045211792, -0.4524942636489868, -0.6844903826713562, 0.3298659026622772, -0.3108009994029999, 0.7389227747917175, -0.7430430054664612, -0.4529709815979004, -0.2695711851119995, -0.16941089928150177, 0.2782222032546997, -0.25815701484680176, 0.2535869777202606, -0.38581129908561707, 0.10597037523984909, -0.5955947637557983, -0.3336613178253174, 0.026419777423143387, 0.2112298309803009, -0.6716071367263794, 0.4152490794658661, -0.028617022559046745, -0.5727088451385498, 0.9503764510154724, -0.7806899547576904, -0.5129609704017639, 0.04538827762007713, -0.5054624080657959, -0.41289931535720825, -0.136257603764534, 0.04387575760483742, 0.13936562836170197, 0.03355471044778824, 0.4777103066444397, -0.8525791764259338, -0.4177640378475189, 0.06731195747852325, -0.395685613155365, 0.9300690293312073, 0.20265765488147736, -0.43843862414360046, 0.46304842829704285, -0.36991217732429504, -0.2804144024848938, -0.1313929557800293, -0.47474420070648193, -0.1829320192337036, 0.434635728597641, -0.11857476085424423, 0.21407556533813477, 0.0471266508102417, -0.3911849856376648, 0.1259939819574356, -0.200775146484375, 0.8102872967720032, 1.374555230140686, -0.1614476442337036, 0.8329267501831055, -0.7566755414009094, 0.4063607156276703, -0.27368655800819397, 0.6142402291297913, 0.9052143096923828, -0.46731066703796387, -0.3437815308570862, 0.05085652694106102, 0.3159165680408478, 0.3459850549697876, -0.38692575693130493, 0.46486884355545044, 0.26667529344558716, -0.3088691234588623, -0.3711261451244354, 0.03371414169669151, 0.03115246444940567, 0.0787166878581047, 0.17951200902462006, -0.35999515652656555, -0.4506388008594513, -0.6258032321929932, -0.39023441076278687, -0.41142645478248596, 0.3353743851184845, 0.3065396547317505, 0.3168126940727234, -0.2868267595767975, 1.0409423112869263, -0.1122749075293541, 0.17301228642463684, -0.20004257559776306, 0.19500526785850525, -0.2074137032032013, 0.5444189310073853, 0.5079125165939331, -1.0673519372940063, -0.13594871759414673, 0.11811352521181107, -0.3689779043197632, 0.4773832857608795, -0.024540165439248085, -0.5744408369064331, -0.15626493096351624, 0.21354348957538605, -0.455373078584671, 0.3615243434906006, 0.11812616139650345, -0.34731051325798035, 0.3256893455982208, 0.08040483295917511, 0.14167600870132446, -1.0013468265533447, -0.18266752362251282, -0.20302030444145203, -0.3590603768825531, -0.36618927121162415, -0.22365738451480865, -0.24047726392745972, 0.21757769584655762, -0.3511340320110321, 0.4451846778392792, -0.03234124556183815, -0.2807849645614624, 0.04715341702103615, -0.09883766621351242, -0.3877168893814087, 0.3397778272628784, 0.02624155394732952, 0.6359798908233643, 0.10420763492584229, -0.6839215159416199, 0.42239880561828613, 0.4831140637397766, -0.03770735114812851, 0.6991446614265442, -0.6386088728904724, 0.48767730593681335, -0.22278951108455658, 0.5237565636634827, -0.6165913939476013, -0.5684328079223633, 0.24374058842658997, -0.5417435765266418, 0.04856928810477257, 0.05393912270665169, 0.019970377907156944, -0.33714786171913147, -0.31172189116477966, 0.3983285129070282, 0.24384182691574097, -0.313260018825531, 0.48775577545166016, 0.9001877307891846, -0.13295720517635345, -0.8473052382469177, -0.3448124825954437, -0.18585018813610077, -0.2449207752943039, -0.5072700381278992, 0.2845304608345032, -0.267057329416275, -0.3030283451080322, -0.05554359033703804, 0.0590808279812336, 0.006714924704283476, 0.27431583404541016, 0.34687530994415283, 0.40813422203063965, 0.17249634861946106, 0.03000381775200367, 0.16298766434192657, -0.0968760997056961, -0.08824500441551208, -0.4047219455242157, 0.5202357172966003, -0.15159372985363007, -0.2612673342227936, -0.11717242747545242, 0.41131240129470825, 0.5194998979568481, -0.381929874420166, 0.17739596962928772, 0.3671838641166687, -0.3795042037963867, 0.07032892107963562, -0.27119097113609314, -0.2968902885913849, -0.5108786821365356, 0.16749538481235504, 0.21161353588104248, -1.1936477422714233, 0.3690963387489319, 0.05937576666474342, 0.5846596360206604, 0.16464267671108246, 0.7453253865242004, -0.3208179175853729, 1.2618718147277832, 0.7305532693862915, -0.5116909146308899, 0.8339240550994873, 0.026953423395752907, 0.0651034414768219, -0.22769100964069366, 0.057377107441425323, -0.47710612416267395, -0.6661261320114136, -0.6581625938415527, 0.1878572702407837, 0.10400635004043579, -0.20649395883083344, -0.591952383518219, 0.018034854903817177, -0.6043869853019714, 0.8278127908706665, 0.7931391596794128, 0.3966250717639923, -0.05823406204581261, -0.29738494753837585, -0.02114119753241539, 0.47434455156326294, -0.409823477268219, -0.4816693961620331, 0.9401192665100098, -0.039408598095178604, 0.5160200595855713, -0.028853941708803177, 1.129506230354309, 0.38201847672462463, 0.364384263753891, -0.41261202096939087, 0.4036659002304077, -0.11036179959774017, -0.8261445760726929, -0.7290342450141907, -0.15453819930553436, -1.1721776723861694, 0.15322937071323395, -0.1492082178592682, -0.6940777897834778, 0.4452105760574341, 0.3522229790687561, -0.9634299874305725, 0.17223599553108215, -0.4039924740791321, 0.7442685961723328, -0.3645172417163849, -0.4051855802536011, -0.4871070683002472, -0.9507500529289246, 0.2727435827255249, 0.31549108028411865, 0.044125452637672424, -0.06197527423501015, 0.2704198360443115, 0.6826189756393433, -0.1472097635269165, 1.0527055263519287, -0.09799864888191223, 0.31216666102409363, 0.24040861427783966, -0.36859002709388733, 0.4191974103450775, 0.3092988133430481, -0.01833665557205677, -0.029593871906399727, 0.05870373174548149, -0.32288461923599243, -0.2763955891132355, 0.44099995493888855, -1.3570722341537476, -0.5847488045692444, -0.34797024726867676, -0.37434136867523193, -0.3215630352497101, 0.12866459786891937, 0.5008677244186401, 0.1318579614162445, -0.5708693861961365, 0.10865352302789688, 0.5083414316177368, 0.13430701196193695, 0.35276880860328674, 0.17476408183574677, 0.10853228718042374, -0.5348843932151794, 0.7193076014518738, 0.19916731119155884, 0.1859177201986313, -0.08934328705072403, 0.30416908860206604, -0.3885762095451355, -0.3913663327693939, -0.45080119371414185, -0.0032260834705084562, -0.430562287569046, -0.170969620347023, -0.4099104702472687, -0.07532908022403717, -0.5516052842140198, -0.6155406832695007, -0.17640244960784912, -0.2766503095626831, -0.3821353316307068, -0.622033417224884, 0.1400430053472519, 0.9007648825645447, -0.29951971769332886, 0.1364758461713791, -0.6491135358810425, 0.4233214557170868, 0.6763536930084229, 0.5525641441345215, -0.3360704481601715, 0.06238732114434242, 0.10940899699926376, 0.22445248067378998, -0.533074676990509, -0.7787026762962341, -0.13421063125133514, -0.17704319953918457, 0.7373992204666138, 0.47458168864250183, 0.29429951310157776, 0.5897438526153564, -0.4716952443122864, 0.6971878409385681, 0.10038533061742783, -0.6935635805130005, 0.6660512089729309, -0.45845216512680054, -0.11292071640491486, 0.9538487195968628, 0.33281925320625305, -0.675354540348053, -0.443194717168808, -0.8461676239967346, -0.49862951040267944, 0.6896257996559143, -0.10621456801891327, 0.17064201831817627, 0.042804814875125885, 0.37377405166625977, 0.21294167637825012, 0.16383413970470428, -0.7396520972251892, 0.23927219212055206, -0.235891655087471, -0.19962827861309052, -0.05063222721219063, 0.17995087802410126, -0.5069217681884766, -0.3463577628135681, 0.34229475259780884, -0.20796047151088715, 0.10707760602235794, -0.13341501355171204, 0.17808383703231812, -0.46855786442756653, 0.16706699132919312, 0.5754104256629944, 0.6480008959770203, 0.15339812636375427, -0.1279415488243103, 0.023703355342149734, -0.2640778422355652, 0.5354083776473999, -0.0725393295288086, -0.31117403507232666, -0.6971624493598938, -0.12373685091733932, 0.6340302228927612, -0.0691760703921318, -0.12722526490688324, 0.37497082352638245, -0.1972762942314148, -0.498778760433197, -0.2545185685157776, 0.6174151301383972, -0.13402493298053741, 0.3893154561519623, -0.159319207072258, 0.391770601272583, 0.23557184636592865, -0.5918411016464233, 0.4287905991077423, 0.546441376209259, -0.5623612999916077, -0.2492665797472, 0.7347865700721741, 0.5071457028388977, -0.5525842308998108, 0.6999441981315613, -0.06830527633428574, -0.5429790616035461, 0.8089720010757446, 0.1878764033317566, 0.8232828974723816, -0.2896895408630371, 0.4113123416900635, -0.016201402992010117, 0.23023125529289246, -0.4267788827419281, 0.27275076508522034, -0.16972868144512177, -1.1520836353302002, -0.27641603350639343, -0.25546514987945557, -0.6349189877510071, -0.12973126769065857, -0.5742267966270447, 0.3341066837310791, -0.8104285597801208, -0.2182287871837616, 0.07982093840837479, -0.01966163143515587, -0.552756130695343, 0.15963870286941528, 0.19901788234710693, 0.35148438811302185, -0.9322106242179871, 0.6879497170448303, 0.6082889437675476, -0.4768407940864563, -0.829816997051239, -0.12123876810073853, 0.18542642891407013, -0.6571049690246582, 0.14878834784030914, 0.1043442040681839, -0.2997569739818573, -0.2033579796552658, -1.2888230085372925, -0.7706063985824585, 0.9196275472640991, 0.4020201861858368, -0.3309558033943176, -0.18968482315540314, -0.07536794990301132, 0.2537968158721924, -0.17432893812656403, -0.10555191338062286, 0.8160822987556458, 0.6470887660980225, -0.005901919677853584, -0.6192355155944824, -0.2692700922489166, -0.1961553990840912, -0.19116219878196716, 0.2600604295730591, -1.1109970808029175, 0.609160304069519, -0.37384259700775146, -0.018957147374749184, -0.16238030791282654, 0.6291587352752686, 0.29432740807533264, 0.397151380777359, 0.7663343548774719, 0.13673676550388336, 1.0608175992965698, -0.06345751881599426, 0.9305326342582703, -0.042834095656871796, 0.10015495866537094, 1.0161689519882202, -0.5736185908317566, 0.5013397932052612, 0.3462674915790558, -0.41900163888931274, 0.3073558509349823, 1.3443766832351685, 0.03899981826543808, 0.6531074047088623, 0.053662464022636414, -0.06856481730937958, -0.4166717529296875, 0.14036059379577637, -0.14875270426273346, 0.6425119042396545, 0.36952635645866394, -0.013868900947272778, 0.3255920708179474, -0.33665233850479126, -0.33436015248298645, -0.22246114909648895, -0.2900644540786743, 1.092923641204834, -0.09101036936044693, -0.9961088299751282, -0.0528390109539032, -0.23665732145309448, 0.5032353401184082, -0.32683858275413513, -0.1685386449098587, -0.16745486855506897, -0.016527051106095314, -0.24449671804904938, -0.6303266882896423, 0.32963457703590393, -0.40341588854789734, -0.3562520444393158, -0.05630997195839882, 0.5590547323226929, -0.20733347535133362, -0.18467958271503448, 0.1503993570804596, 0.13445964455604553, -0.14260739088058472, 0.39007994532585144, -0.778451144695282, -0.31150782108306885, 0.027547428384423256, -0.01369708962738514, 0.47646331787109375, 0.24550722539424896, -0.4567069113254547, 0.39931705594062805, 0.8396350741386414, 0.06637044250965118, -0.062149785459041595, -0.08107233792543411, 0.8029084801673889, -0.5618903636932373, -0.9923793077468872, -0.8140707612037659, 0.49363625049591064, -0.466465562582016, -0.556125283241272, -0.16028882563114166, 0.10335970669984818, 0.9772212505340576, 0.41585859656333923, 1.1547322273254395, -0.041432056576013565, 0.16729098558425903, -0.3201664686203003, 0.575141966342926, -0.30122795701026917, -0.17582577466964722, -0.28081798553466797, -0.6984529495239258, -0.2356078028678894, 0.7667059302330017, -0.4442788064479828, 0.1328134834766388, 0.2799743711948395, 0.47309544682502747, -0.04393213987350464, 0.42631030082702637, 0.1190098449587822, -0.27029699087142944, 0.35208627581596375, 0.27090588212013245, 1.023220181465149, 0.3201589584350586, 0.4860122501850128, 0.09682497382164001, -0.2770177721977234, -0.22602741420269012, -0.5132421255111694, -0.5969785451889038, -0.3468639552593231, -0.09980332851409912, -0.1922074556350708, 0.30203256011009216, 1.2730129957199097, 0.8257997632026672, -0.829984188079834, -0.30312371253967285, -0.24181081354618073, 0.42223599553108215, -0.5184950232505798, -0.08711957186460495, -0.0005496676312759519, -0.46552538871765137, -0.5621138215065002, 0.16445724666118622, 0.31033360958099365, -0.033179719001054764, -0.11636174470186234, -0.3713590204715729, -0.15877319872379303, 0.1195700466632843, 0.3403177559375763, 0.4217895567417145, -0.7965700030326843, -0.724000096321106, -0.22509293258190155, -0.26039519906044006, 0.2097095102071762, 1.0350463390350342, -0.3865549564361572, 0.14419600367546082, 0.5169910192489624, 1.0265446901321411, 0.17716804146766663, 0.1091141477227211, 1.067636251449585, -0.4086320400238037, -0.08958876132965088, 0.3224664032459259, 0.4328744411468506, 0.04061701148748398, -0.751074492931366, 0.6908944845199585, 0.12233823537826538, -1.0475471019744873, -0.3954937160015106, 0.42280444502830505, -0.5826547145843506, -0.3062096834182739, 0.9399411678314209, 0.1767185926437378, -0.11910545080900192, -0.5639600157737732, -0.458332896232605, 0.34458401799201965, -0.6304821372032166, 1.0966466665267944, 0.8839871883392334, -0.44386669993400574, -0.2065163105726242, -0.24250973761081696, 0.7232319712638855, 0.3316759169101715, -0.863236129283905, -0.04896963760256767, 0.8188598155975342, 0.12162259966135025, -0.042833562940359116, 0.9081689715385437, -0.04680847004055977, 0.7198560237884521, -0.3951641321182251, -0.18161821365356445, 0.4591175615787506, -0.47095492482185364, -0.35539618134498596, -0.05621737986803055, 0.13216951489448547, -0.2037108689546585 ]
http://arxiv.org/abs/2404.10268v1
http://arxiv.org/pdf/2404.10268v1
Modeling Low-Resource Health Coaching Dialogues via Neuro-Symbolic Goal Summarization and Text-Units-Text Generation
2024-04-16T03:46:30
2024-04-16T03:46:30
Yue Zhou, Barbara Di Eugenio, Brian Ziebart, Lisa Sharp, Bing Liu, Nikolaos Agadakos
cs.CL
cs.CL
Health coaching helps patients achieve personalized and lifestyle-related goals, effectively managing chronic conditions and alleviating mental health issues. It is particularly beneficial, however cost-prohibitive, for low-socioeconomic status populations due to its highly personalized and labor-intensive nature. In this paper, we propose a neuro-symbolic goal summarizer to support health coaches in keeping track of the goals and a text-units-text dialogue generation model that converses with patients and helps them create and accomplish specific goals for physical activities. Our models outperform previous state-of-the-art while eliminating the need for predefined schema and corresponding annotation. We also propose a new health coaching dataset extending previous work and a metric to measure the unconventionality of the patient's response based on data difficulty, facilitating potential coach alerts during deployment.
[ -0.01881127618253231, -0.544660210609436, 0.4616898000240326, 0.07663819938898087, -0.18515630066394806, -0.01211586594581604, -0.2544499337673187, -0.39024579524993896, 0.8790579438209534, 0.323799729347229, -0.9313433170318604, -0.5596911907196045, -0.47612258791923523, 0.17401497066020966, 0.16460467875003815, 1.2268165349960327, 0.1841316819190979, 0.17939290404319763, -0.14567837119102478, -0.04574275761842728, -0.8558703660964966, -0.25275376439094543, -0.7997872233390808, -0.6675929427146912, 0.49515268206596375, 0.49340805411338806, 0.5671494603157043, 0.3311726152896881, 0.5637187361717224, 0.2297992706298828, -0.10195915400981903, 0.38813912868499756, -0.453041672706604, 0.5366595387458801, 0.1280074119567871, -0.3632410168647766, -0.988092303276062, -0.13446557521820068, 0.2762455940246582, 1.027335286140442, -0.288525253534317, 0.4853568375110626, 0.05708688497543335, 0.3816613554954529, -0.3944031596183777, 0.3575590252876282, -0.5156998634338379, 0.35315588116645813, 0.31066057085990906, -0.22633446753025055, -0.026307396590709686, -0.23700401186943054, -0.03134630620479584, -0.6631205081939697, 0.06787475198507309, -0.1585112065076828, 0.5013094544410706, 0.7289777994155884, -0.3011702597141266, -0.16349446773529053, -0.7564079165458679, 0.5680256485939026, -0.8956922888755798, -0.1386559009552002, 0.8707334399223328, 0.37534722685813904, -0.19801782071590424, -0.24725914001464844, -0.10946907103061676, 0.044543370604515076, -0.3200185000896454, 0.5005823373794556, -0.279619961977005, 0.2443452924489975, 0.24857698380947113, 0.09413538873195648, -0.37719976902008057, 0.07041008770465851, -0.23805032670497894, 0.14681476354599, 0.7981104254722595, 0.7895126342773438, 0.23827745020389557, -0.5614871382713318, 0.3584834933280945, 0.562297523021698, -0.3621014654636383, -0.1559651494026184, -0.1037319228053093, 0.5198140144348145, -0.476894348859787, 0.6833555698394775, -0.6781178712844849, 0.43275582790374756, 0.09611734002828598, -0.6601385474205017, -0.04631275311112404, -0.4614380896091461, -0.11478285491466522, 0.26421427726745605, 0.6585062742233276, 0.7945743799209595, 0.043272465467453, -0.4030856192111969, -0.23305650055408478, -0.10509014874696732, 0.32391977310180664, -1.1200308799743652, -0.3840174078941345, 0.14141476154327393, -0.8902771472930908, -0.33193519711494446, -0.5742738842964172, -0.7475379705429077, -0.45967793464660645, -0.3804263770580292, 0.07871973514556885, -0.7268199324607849, -0.1802109181880951, -0.0394735150039196, -0.010853049345314503, -0.3099648654460907, 0.34356799721717834, -1.0469646453857422, 0.5683231949806213, 0.3618719279766083, 1.1602137088775635, 0.08728578686714172, 0.3486959934234619, -0.4836198389530182, 0.29005181789398193, 0.027472075074911118, 0.6245704293251038, -0.45555487275123596, -0.8029940724372864, 0.0929316058754921, -0.11119919270277023, -0.011755513958632946, -0.24802227318286896, 0.302742063999176, 0.24290432035923004, -0.01620800979435444, -0.2708883285522461, -0.437513142824173, 0.3127533495426178, 0.4596351385116577, -0.2913084328174591, 0.9078293442726135, 0.3672823905944824, -0.46172860264778137, 0.28569865226745605, -0.771471381187439, -0.716627299785614, 0.5810214281082153, -0.29788514971733093, -0.3242166340351105, 0.5306531190872192, -0.012920983135700226, 0.4042127728462219, -0.6903166174888611, 0.006617994513362646, -0.19440248608589172, -0.24265065789222717, 0.1271182745695114, -0.16912177205085754, 0.4156135618686676, 0.01700183004140854, -0.20895591378211975, 0.03209279105067253, -0.7236654162406921, 0.26457035541534424, -0.056317731738090515, -0.24149635434150696, -0.4589976370334625, 0.2749234437942505, -0.14359401166439056, 0.33949732780456543, 0.15310639142990112, -0.35235610604286194, 0.23088717460632324, -0.46348118782043457, 0.5326020121574402, 0.3672356605529785, 0.3555498421192169, 0.2571491301059723, -0.48662298917770386, 0.7733346223831177, -0.41354528069496155, 0.3996126055717468, -0.2909778356552124, -0.6188696622848511, 0.008769490756094456, -0.446271151304245, -0.16277389228343964, 0.342229962348938, -0.9113355875015259, 0.5391216278076172, -0.5522283911705017, -0.8393226265907288, -0.4400947391986847, -0.02998962253332138, 0.4011407196521759, 1.0364480018615723, 0.5415390729904175, -0.16644816100597382, -0.08596419543027878, -0.612190842628479, -0.12784124910831451, -0.2852979004383087, 0.03656269609928131, 0.7253815531730652, 0.6531182527542114, -0.04678689315915108, 0.715708315372467, -0.8273072242736816, -0.5743615031242371, -0.4935775101184845, 0.17024102807044983, 0.19245289266109467, 0.6151186227798462, 0.6468271017074585, -0.5600098371505737, -0.5344700813293457, -0.1278495490550995, -0.8491891622543335, -0.05163086950778961, -0.05684183910489082, -0.1016753539443016, -0.30345168709754944, 0.17714367806911469, -0.7913546562194824, 0.8332837820053101, 0.4131239652633667, -0.2879830598831177, 0.5531245470046997, -0.25186657905578613, 0.24439974129199982, -1.2855993509292603, 0.14438608288764954, 0.043638668954372406, -0.04754220321774483, -0.6866680979728699, -0.712232768535614, -0.5748639106750488, -0.3549010753631592, -0.13275592029094696, 0.39332371950149536, -0.23768602311611176, 0.2599543035030365, -0.47115930914878845, -0.19670352339744568, -0.2368096113204956, 0.42292433977127075, 0.1319403350353241, 0.2711741626262665, 0.2975507378578186, -0.5007171034812927, 0.3984197974205017, 0.4879092276096344, -0.06950434297323227, 1.0218632221221924, -1.1612474918365479, -0.14109571278095245, -0.1794711947441101, 0.384175568819046, -0.6923574805259705, -0.5820118188858032, 0.3288848102092743, -0.4079638421535492, 0.015006336383521557, -0.18311071395874023, -0.37075716257095337, -0.3352624177932739, -0.10242483019828796, 0.5948877930641174, 0.559578537940979, 0.18967196345329285, 0.5112830996513367, 0.6198115944862366, -0.22046011686325073, -0.09116728603839874, -0.6927233338356018, -0.049651820212602615, -0.2483012080192566, -0.2652214467525482, 0.6616057753562927, -0.08572493493556976, -0.030823273584246635, 0.3033648133277893, -0.23747628927230835, -0.07554745674133301, 0.2232038825750351, 0.5589938163757324, 0.4313507378101349, 0.028828345239162445, 0.3238997459411621, 0.2523999810218811, -0.18834203481674194, 0.28859758377075195, -0.3988751769065857, 0.43106094002723694, 0.20499595999717712, -0.197677344083786, -0.44174930453300476, 0.9190404415130615, 0.17064735293388367, -0.1623760461807251, 1.0046255588531494, 0.3724474012851715, -0.926181972026825, -0.13755132257938385, -0.03702238202095032, -0.6005527377128601, -0.40114039182662964, 0.39499086141586304, -0.04902755469083786, -0.551552951335907, 0.20692184567451477, -0.2908678650856018, 0.08117866516113281, -0.06274588406085968, 0.7524758577346802, -0.31933900713920593, 1.3278656005859375, 0.37304890155792236, 0.3343891203403473, 0.4233696758747101, -0.15168525278568268, 0.21802160143852234, -0.6700773239135742, -0.36453670263290405, -0.42348870635032654, -0.7439810633659363, -0.5192037224769592, -0.05411043390631676, 0.7063611745834351, -0.17999550700187683, -0.2468770295381546, 0.43754419684410095, -1.0087841749191284, 0.094608835875988, 0.3889451026916504, 0.4985117018222809, -0.028209272772073746, -0.36700472235679626, -0.014354418963193893, -0.5426664352416992, -0.7794570922851562, -0.3818594813346863, 0.6226943135261536, -0.14103087782859802, 0.8282669186592102, 0.22898884117603302, 1.0130740404129028, 0.15829019248485565, 0.5399634838104248, -1.1254010200500488, 0.4778215289115906, -0.14408764243125916, -0.670819103717804, -0.27111101150512695, -0.5954617857933044, -0.7541331648826599, 0.012678028084337711, -0.6377526521682739, -1.0406619310379028, 0.017336484044790268, 0.5033376216888428, -0.7814828157424927, 0.1707819402217865, -0.5923236012458801, 0.9577863812446594, -0.40829893946647644, -0.27805790305137634, -0.2320100963115692, -0.7131056189537048, 0.25482892990112305, -0.03141971677541733, 0.02386978268623352, -0.5908030867576599, 0.05136475712060928, 0.6208314895629883, -0.7468558549880981, 1.058731198310852, -0.23302775621414185, 0.3969813883304596, 0.11030860245227814, 0.019375212490558624, 0.36077186465263367, 0.19936539232730865, 0.06392517685890198, -0.21606765687465668, 0.18111269176006317, -0.3748694062232971, -0.7087754607200623, 0.5226326584815979, -0.4437447488307953, -0.4333252012729645, -0.2834724485874176, -0.5591282248497009, -0.48572441935539246, 0.3103560209274292, 0.2905387580394745, 0.3518611788749695, -0.27390098571777344, 0.1281442940235138, 0.28704074025154114, -0.3819371163845062, 0.4455602765083313, 0.48410993814468384, 0.3702351152896881, -0.4274909496307373, 0.803001344203949, 0.33036869764328003, 0.16112184524536133, 0.21556565165519714, 0.2947796881198883, 0.16070492565631866, -0.3420323431491852, 0.1980108767747879, 0.32186761498451233, -0.3527768850326538, -0.538769006729126, -0.32391875982284546, -0.12565165758132935, -0.5245280265808105, -0.08634503185749054, -0.3105762302875519, -0.34632962942123413, -0.21639864146709442, -0.07271133363246918, 0.3738071322441101, 0.4266982972621918, -0.12333157658576965, 0.6155800223350525, -0.8483664393424988, 0.22260424494743347, 0.017042404040694237, -0.026497511193156242, 0.05468645691871643, -0.20334672927856445, -0.7015963196754456, 0.13180556893348694, -0.3543667793273926, -1.2988898754119873, 0.6528332233428955, 0.02313496172428131, 0.24921292066574097, 0.250300794839859, 0.25742900371551514, 0.7227946519851685, -0.7248298525810242, 0.82087641954422, 0.7646881937980652, -0.6422273516654968, 0.9649056196212769, -0.23649421334266663, 0.38083428144454956, 0.7063278555870056, 0.3715203106403351, -0.7193085551261902, 0.017865939065814018, -0.5045074820518494, -0.7918453216552734, 0.6550130844116211, 0.1493023931980133, 0.3531584143638611, -0.34426555037498474, 0.49216070771217346, -0.24195708334445953, 0.41394510865211487, -0.24419786036014557, -0.2965267598628998, -0.4851495325565338, -0.5641498565673828, 0.2807711362838745, 0.09664693474769592, -0.3594823479652405, -0.42885076999664307, 0.7858567833900452, -0.545887291431427, 0.35396909713745117, 0.09588061273097992, 0.33951127529144287, 0.11175261437892914, 0.16142666339874268, 0.5878458023071289, 0.0860542356967926, -0.07453534007072449, 0.09903296828269958, 0.3337322175502777, -0.39146989583969116, 0.009922626428306103, 0.03647053241729736, -0.26961749792099, 0.3374583423137665, 0.33813929557800293, 0.7029476165771484, 0.6516634225845337, -0.4423544108867645, 0.22071993350982666, -0.04704925790429115, -0.22680428624153137, -0.1450449526309967, 0.2608720362186432, 0.23105669021606445, -0.02872052788734436, -0.1264723837375641, 0.18377439677715302, 0.19891910254955292, -0.20038296282291412, 0.01896561123430729, 0.3783150911331177, -0.7443864941596985, -0.5895769000053406, 0.9868737459182739, 0.43900054693222046, -0.6578416228294373, 0.46122193336486816, -0.14550592005252838, -0.0986095741391182, 0.3883174955844879, 0.4602605998516083, 0.757320761680603, -0.012189332395792007, 0.6403071880340576, 0.38408634066581726, 0.21838068962097168, 0.07857957482337952, 0.2420491725206375, -0.2920829951763153, -0.36522531509399414, -0.36682233214378357, -0.3692205548286438, -0.4145011901855469, -0.12319936603307724, -0.845005452632904, 0.25065818428993225, -0.25133731961250305, -0.9321640133857727, 0.35207709670066833, 0.022854100912809372, -0.7881361246109009, 0.37234628200531006, 0.13208405673503876, 0.5431909561157227, -0.6087374687194824, 0.7072127461433411, 0.7878175973892212, -0.8902913331985474, -0.9303655624389648, -0.1181873083114624, 0.27605801820755005, -0.8070367574691772, 0.6463813185691833, -0.1004994586110115, -0.11900090426206589, -0.30347520112991333, -0.3010195195674896, -0.4313548505306244, 1.3371461629867554, 0.7162664532661438, -0.1153285875916481, -0.7869047522544861, 0.22012563049793243, 0.6398944854736328, -0.45131075382232666, 0.343822717666626, 0.2913103699684143, 0.3394128084182739, 0.04762180149555206, -0.7421508431434631, 0.1444900631904602, -0.2483292520046234, 0.058365605771541595, -0.010810532607138157, -0.8289161324501038, 0.6841608285903931, -0.3483175039291382, 0.04734749346971512, 0.020122431218624115, 0.3583727180957794, 0.08927842229604721, 0.12310834228992462, 0.360434353351593, 0.24535681307315826, 0.908255934715271, -0.1706409454345703, 1.1425533294677734, -0.6759065389633179, 0.18158821761608124, 1.432753324508667, -0.22881093621253967, 0.2244526445865631, 0.37266311049461365, 0.1773606687784195, 0.23025871813297272, 0.34210124611854553, 0.03249198943376541, 0.47319260239601135, 0.23511724174022675, -0.6336816549301147, -0.3989188075065613, -0.7983559370040894, -0.0991726964712143, 0.4305623173713684, 0.2577797770500183, -0.6249416470527649, -0.2823511064052582, -0.25014564394950867, 0.37504667043685913, 0.0726800262928009, -0.16916418075561523, 0.8247587084770203, 0.474816232919693, -0.7967857122421265, 0.3540489375591278, -0.07372016459703445, 0.32053470611572266, -0.5483487844467163, -0.18534116446971893, -0.222670778632164, 0.11711002886295319, -0.48206526041030884, -0.25784236192703247, 0.3733990490436554, 0.1658681333065033, -0.3231949806213379, -0.5490723252296448, 0.6397401690483093, -0.5035339593887329, -0.4512919485569, 0.08180730789899826, 0.6432382464408875, 0.19551703333854675, 0.24061033129692078, -0.8059543371200562, -0.4163130521774292, -0.3727359473705292, -0.08110673725605011, 0.22675448656082153, 0.43423089385032654, 0.050082385540008545, 0.3914654552936554, 0.33471593260765076, 0.5716033577919006, -0.3442368507385254, 0.14232948422431946, 0.4430290758609772, -0.5716451406478882, -0.5165206789970398, -0.7480781674385071, 0.38732367753982544, -0.4116753935813904, -0.7348527908325195, 0.5671485662460327, 0.37284228205680847, -0.019783347845077515, 0.04998049885034561, 0.8664058446884155, -0.060310810804367065, 0.24919354915618896, -0.16165240108966827, 0.9432429075241089, -0.6573155522346497, -0.05027160048484802, -0.23111777007579803, -0.2881145477294922, -0.17283396422863007, 0.5405141115188599, -0.20446226000785828, 0.052074138075113297, 0.5657296180725098, 0.47372618317604065, 0.2949454188346863, 0.08053284138441086, 0.17935174703598022, -0.15159718692302704, 0.5542944669723511, 0.8513844609260559, 0.44760140776634216, -0.19855405390262604, 0.4109592139720917, -0.20481626689434052, -0.20996524393558502, -0.09503494203090668, -0.6852894425392151, -1.0448635816574097, -0.3893680274486542, -0.6180228590965271, -0.4564582109451294, -0.040798962116241455, 1.287429690361023, 1.03874933719635, -0.6034395694732666, -0.1372479945421219, 0.11470374464988708, 0.007452256046235561, -0.47855424880981445, -0.15943355858325958, 0.11240135133266449, -0.3075290024280548, -0.5084770321846008, 0.2952515780925751, 0.28486308455467224, 0.1392444521188736, 0.01825336180627346, -0.1903565227985382, 0.18494099378585815, 0.2074408382177353, 0.46393024921417236, 0.35423675179481506, -0.2772446572780609, -0.1553633213043213, 0.15631631016731262, -0.16433243453502655, -0.0896502137184143, 0.9413918256759644, -0.5537546277046204, 0.04214518517255783, 0.006903752218931913, 0.5549948811531067, 0.5771027207374573, -0.09779883921146393, 0.4604956805706024, -0.8457576632499695, 0.06574375182390213, 0.5625819563865662, 0.3776841163635254, 0.17164753377437592, -0.2994683086872101, 0.583774209022522, 0.3484373688697815, -0.2883792221546173, -0.9448038339614868, 0.13604582846164703, -0.7694286704063416, -0.05583270266652107, 0.9638451933860779, -0.1496504545211792, -0.26727229356765747, 0.0707043930888176, -0.2293144315481186, 0.39187848567962646, -0.4388238787651062, 0.7812686562538147, 0.5412572622299194, -0.6334750652313232, 0.2897454500198364, -0.581554651260376, 0.7687674164772034, 0.4935356676578522, -1.2390199899673462, -0.08859431743621826, 0.6613832116127014, 0.02438226155936718, 0.033270463347435, 0.9015921354293823, 0.2257688343524933, 0.22003567218780518, -0.05508669465780258, -0.08229375630617142, -0.08920439332723618, 0.04889935255050659, 0.2918780744075775, 0.044854797422885895, -0.5120763182640076, -0.2067607343196869 ]
http://arxiv.org/abs/2404.13077v1
http://arxiv.org/pdf/2404.13077v1
Improving the Capabilities of Large Language Model Based Marketing Analytics Copilots With Semantic Search And Fine-Tuning
2024-04-16T03:39:16
2024-04-16T03:39:16
Yilin Gao, Sai Kumar Arava, Yancheng Li, James W. Snyder Jr
cs.CL
cs.CL, cs.LG, I.2.1; I.2.7
Artificial intelligence (AI) is widely deployed to solve problems related to marketing attribution and budget optimization. However, AI models can be quite complex, and it can be difficult to understand model workings and insights without extensive implementation teams. In principle, recently developed large language models (LLMs), like GPT-4, can be deployed to provide marketing insights, reducing the time and effort required to make critical decisions. In practice, there are substantial challenges that need to be overcome to reliably use such models. We focus on domain-specific question-answering, SQL generation needed for data retrieval, and tabular analysis and show how a combination of semantic search, prompt engineering, and fine-tuning can be applied to dramatically improve the ability of LLMs to execute these tasks accurately. We compare both proprietary models, like GPT-4, and open-source models, like Llama-2-70b, as well as various embedding methods. These models are tested on sample use cases specific to marketing mix modeling and attribution.
[ -0.09916558861732483, -0.8761335611343384, 0.7551963925361633, -0.000007254011961776996, -0.09553588181734085, 0.25024423003196716, -0.4100160002708435, -0.5882217884063721, -0.05199909582734108, 0.6861531138420105, -0.854130208492279, -0.5702419877052307, -0.39847907423973083, 0.15481482446193695, -0.16922856867313385, 0.8784840703010559, -0.25668543577194214, 0.15423014760017395, -0.1180611327290535, -0.1815636157989502, -0.6542927026748657, -0.6407817602157593, -0.7110412120819092, -0.13815583288669586, 0.362309068441391, 0.47204768657684326, 0.5839515924453735, 0.31219032406806946, 0.5737946033477783, 0.36357855796813965, -0.008284421637654305, 0.3661589026451111, -0.5522527098655701, 0.13483087718486786, -0.28523582220077515, -0.4423736035823822, -0.7827094793319702, 0.17317700386047363, 0.38788318634033203, 0.7576456665992737, -0.33850643038749695, 0.18321296572685242, -0.06005508080124855, 0.4776872992515564, -0.41433876752853394, 0.5607948899269104, -1.104514479637146, -0.3328630030155182, 0.10801394283771515, -0.21698202192783356, -0.2624940872192383, -0.3573838770389557, 0.5442225933074951, -0.9061667323112488, 0.15617208182811737, 0.1964760273694992, 0.8874877691268921, 0.3627847135066986, -0.4818153977394104, -0.7233050465583801, -0.8033689260482788, 0.9728691577911377, -0.7513291835784912, 0.19713307917118073, 0.40499046444892883, 0.39130836725234985, -0.1823316365480423, -0.6383861899375916, -0.2930736541748047, -0.33532291650772095, -0.04244502633810043, -0.08874405175447464, -0.2553826570510864, 0.0457959920167923, 0.009148338809609413, 0.20112819969654083, -0.35169798135757446, 0.1887446641921997, -0.2911328673362732, -0.07154849171638489, 0.572084367275238, 0.39989790320396423, 0.06808190047740936, 0.04479866102337837, 0.030914071947336197, 0.14148439466953278, -0.5616269111633301, -0.14692793786525726, 0.31302568316459656, 0.4556248188018799, 0.22400762140750885, 0.7694286704063416, -0.41175276041030884, 0.49621686339378357, -0.10931990295648575, 0.16249440610408783, 0.004252024460583925, -0.5652670860290527, -0.18983784317970276, -0.16211208701133728, 0.43918314576148987, 0.09489332139492035, 0.41841667890548706, -0.1960296332836151, -0.2733437716960907, -0.0183163583278656, 0.22309818863868713, -0.7664894461631775, -0.2401195764541626, 0.27087143063545227, -0.42051228880882263, -0.21483241021633148, -0.10237693786621094, -0.4790142774581909, -0.11564535647630692, -0.5573086142539978, 0.2897394001483917, -0.29944077134132385, -0.1773080825805664, 0.10913830995559692, -0.05052252858877182, 0.4709427058696747, 0.29100751876831055, -0.8499515056610107, 0.32086682319641113, 1.0630475282669067, 0.7282713055610657, -0.27977389097213745, 0.025631990283727646, -0.5271217823028564, 0.20707367360591888, -0.3422847390174866, 0.887601912021637, -0.8105571269989014, -0.15220649540424347, 0.02806372568011284, -0.0038888209965080023, -0.19965583086013794, -0.8802728056907654, 0.40688687562942505, -0.7034997344017029, 0.05296055227518082, -0.29835134744644165, -0.802426815032959, -0.37328946590423584, 0.6044509410858154, -0.6007978916168213, 0.6536664962768555, 0.2507438361644745, -0.21531574428081512, 0.3245958685874939, -0.825890839099884, -0.20853492617607117, 0.16032245755195618, -0.11203298717737198, -0.718160092830658, 0.23944343626499176, 0.3464660346508026, 0.378997802734375, -0.37623387575149536, 0.2466379851102829, -0.2375965714454651, -0.0915909856557846, 0.2617333233356476, -0.32385051250457764, 0.4268212616443634, 0.28587135672569275, -0.3304789364337921, 0.4553047716617584, -0.676166832447052, -0.01049948763102293, 0.413006991147995, -0.4510367214679718, -0.22508712112903595, 0.035063695162534714, 0.06791269779205322, -0.16822518408298492, 0.27254530787467957, -0.2894658148288727, 0.2920300364494324, -0.4072606563568115, 0.6567836403846741, 0.6403201222419739, -0.056333888322114944, 0.4829275608062744, -0.1297796070575714, 0.7693815231323242, -0.2962464392185211, 0.18854674696922302, -0.16704915463924408, -0.5821015238761902, -0.6022554039955139, -0.06632930785417557, 0.2992746829986572, 0.4845452904701233, -0.5758571028709412, 0.2219116985797882, -0.20569506287574768, -0.5620940327644348, -0.327547550201416, 0.3286053240299225, -0.057606328278779984, 0.33250999450683594, 0.20144318044185638, -0.18548597395420074, -0.3134443759918213, -0.8583332300186157, -0.31454116106033325, 0.08382348716259003, -0.12951640784740448, 0.46051666140556335, 0.41556164622306824, -0.2336193025112152, 0.8769646883010864, -0.8243780732154846, -0.4918634295463562, -0.4872961938381195, 0.04468854144215584, 0.3303695023059845, 0.17060460150241852, 0.424906849861145, -0.9304163455963135, -0.5215033888816833, 0.14050932228565216, -0.40760502219200134, -0.12623636424541473, 0.20978112518787384, 0.11027252674102783, 0.2813224494457245, 0.31523916125297546, -0.8316051959991455, 0.36406049132347107, 0.5381162166595459, -0.2762487232685089, 0.5970035791397095, -0.3222910463809967, 0.0954882949590683, -0.7594422698020935, 0.101438008248806, 0.07074973732233047, -0.20883594453334808, -0.6977031230926514, 0.04207451641559601, 0.13463912904262543, -0.5578599572181702, -0.4628961384296417, 0.3096107542514801, -0.3464503884315491, -0.18174225091934204, -0.3437954783439636, -0.021474188193678856, 0.23211723566055298, 0.678165853023529, 0.03595289960503578, 0.9142839312553406, 0.2577928304672241, -0.6982966065406799, 0.38114872574806213, 0.2898436188697815, -0.6126687526702881, 0.43846777081489563, -0.8847134709358215, 0.010642828419804573, 0.07076822966337204, 0.34193727374076843, -0.9554155468940735, -0.45994046330451965, 0.2840406000614166, -0.23017343878746033, 0.016044896095991135, -0.11594534665346146, -0.7035276889801025, -0.2343277633190155, -0.128373384475708, 0.5745494365692139, 0.3209390938282013, -0.4600541889667511, 0.8129208087921143, 0.3007359802722931, -0.39323657751083374, -0.1697903275489807, -0.2536177933216095, 0.02681364305317402, -0.4853487014770508, -0.7297853231430054, 0.2400164008140564, -0.03367731347680092, -0.15762220323085785, -0.1559382826089859, -0.1049066111445427, -0.010065391659736633, 0.15844406187534332, -0.30713945627212524, 0.22365278005599976, -0.3091775178909302, 0.14045582711696625, -0.28726163506507874, -0.25703805685043335, 0.04543044790625572, -0.4409371614456177, 0.7054458856582642, -0.0532539002597332, -0.29288777709007263, -0.6186662912368774, 0.4484599530696869, 0.580663800239563, -0.613255500793457, 0.6337795257568359, 0.31328052282333374, -0.23950828611850739, -0.1935299038887024, -0.5974178910255432, -0.1766633242368698, -0.5373238921165466, 0.4611474573612213, -0.29368433356285095, -0.7596462368965149, 0.7349098324775696, -0.12169533222913742, -0.07966343313455582, 0.4002622961997986, 0.736241340637207, 0.018437717109918594, 1.3994218111038208, 0.7506422400474548, -0.007229895330965519, 0.5664504766464233, -0.3569793701171875, 0.4092571437358856, -0.47338467836380005, -0.29305917024612427, -0.6793476939201355, -0.11882487684488297, -0.5714082717895508, -0.29044321179389954, 0.49443137645721436, -0.30978673696517944, -0.13132035732269287, 0.19137048721313477, -0.48618102073669434, 0.5793190002441406, 0.5791683793067932, -0.05114304646849632, 0.37003958225250244, -0.017437774688005447, 0.4481564164161682, 0.08223825693130493, -0.542346179485321, -0.39138489961624146, 1.0410689115524292, 0.4026740789413452, 0.8542730808258057, 0.25035539269447327, 0.08069983124732971, -0.025882145389914513, 0.17287948727607727, -1.0455533266067505, 0.38622167706489563, -0.21551817655563354, -0.7415423393249512, -0.15585485100746155, -0.5069376230239868, -0.9389168620109558, 0.1730528175830841, 0.0160550307482481, -0.7466559410095215, -0.006461277604103088, 0.2113349884748459, -0.3168199956417084, 0.12909500300884247, -0.8873584866523743, 1.0513640642166138, -0.45514920353889465, -0.11336542665958405, -0.23398610949516296, -0.14417468011379242, 0.19293855130672455, -0.4117449223995209, 0.11088767647743225, -0.43311992287635803, -0.11509525030851364, 0.6776237487792969, -0.698341429233551, 0.7333378791809082, -0.013838857412338257, -0.44843435287475586, 0.3376178443431854, -0.05442523956298828, 0.870550274848938, -0.2933710813522339, -0.08795726299285889, -0.07750964164733887, -0.023326370865106583, -0.5149613618850708, -0.8348844051361084, 0.6371461153030396, -0.46347159147262573, -0.6874398589134216, -0.03387123718857765, -0.7023743987083435, -0.38052937388420105, 0.20764131844043732, -0.05057509243488312, 0.2792244851589203, -0.11205516755580902, 0.22412942349910736, 0.4520929455757141, -0.30860817432403564, 0.21364258229732513, 0.4752882719039917, -0.007625429891049862, -0.3388338088989258, 0.9289718270301819, 0.031755004078149796, 0.35004284977912903, 0.22757774591445923, 0.3528740108013153, -0.5196171402931213, -0.7535132765769958, -0.18892629444599152, 0.32722896337509155, -0.7237029671669006, -0.2850346267223358, -0.6198397278785706, 0.16836942732334137, -0.5022950768470764, -0.015132861211895943, -0.4782925546169281, -0.31634625792503357, -0.25918781757354736, 0.04602295160293579, 0.33021798729896545, 0.7879593968391418, 0.4582311511039734, 0.5685664415359497, -0.684962272644043, 0.04281145706772804, 0.16093593835830688, 0.4972575306892395, 0.10869864374399185, -0.10009438544511795, -0.43937334418296814, 0.062415558844804764, -0.46752169728279114, -0.619665265083313, 0.36888495087623596, -0.0666925385594368, 0.5358983278274536, 0.05824430659413338, -0.17275184392929077, 0.6212846636772156, -0.3693857192993164, 0.6289639472961426, -0.2715838551521301, -0.9627296328544617, 0.5075816512107849, -0.7748270630836487, 0.2939724624156952, 0.5204803943634033, 0.496486097574234, -0.22384583950042725, -0.16800174117088318, -0.49526548385620117, -0.9647302031517029, 0.8378060460090637, 0.2831413149833679, 0.14406584203243256, 0.21029479801654816, 0.3427804708480835, 0.09495564550161362, 0.41564032435417175, -0.4729136824607849, 0.08108066767454147, 0.11667840927839279, -0.3784438967704773, -0.29609495401382446, -0.10452592372894287, 0.18071496486663818, -0.3704780638217926, 0.6644735336303711, -0.26719939708709717, -0.09163671731948853, -0.13688187301158905, -0.013985431753098965, -0.03786540776491165, 0.1885877102613449, 0.5579902529716492, 0.9699399471282959, -0.3174192011356354, -0.4120875298976898, 0.11690422147512436, -0.08964129537343979, -0.06757702678442001, 0.17077292501926422, 0.056134358048439026, -0.18785955011844635, 0.10760018974542618, 0.5494148135185242, 0.10030756145715714, -1.0075119733810425, 0.4539901614189148, -0.03401773422956467, -0.19826819002628326, -0.5055082440376282, -0.03349349647760391, 0.1299581229686737, 0.28484195470809937, 0.3821510672569275, -0.3200330138206482, 0.27598488330841064, -0.7808058857917786, 0.1568446010351181, 0.7302655577659607, -0.14195755124092102, -0.13239836692810059, 0.7482907772064209, 0.24464474618434906, -0.26929524540901184, 0.6361975073814392, 0.13547919690608978, -0.685657799243927, 0.867686927318573, 0.42410674691200256, 0.7251855134963989, -0.12257999926805496, 0.10897397249937057, -0.08193042874336243, 0.16505327820777893, 0.050399355590343475, -0.04351144656538963, -0.012947130016982555, -0.6100213527679443, -0.5811347365379333, -0.3348163664340973, -0.701417863368988, 0.2025843858718872, -0.36644744873046875, 0.3662809729576111, -0.3374868929386139, -0.036571308970451355, 0.4072108268737793, 0.29814568161964417, -0.9454888105392456, -0.03729544207453728, -0.07759225368499756, 0.8186966776847839, -0.4099411368370056, 0.6522592902183533, 0.627460777759552, -0.257224977016449, -0.9354450702667236, -0.171697735786438, 0.06623012572526932, -0.8515390157699585, 0.6443286538124084, 0.23934955894947052, -0.04595281556248665, -0.028354978188872337, -0.5997816324234009, -0.865324079990387, 1.0346695184707642, 0.07551982253789902, -0.5132234692573547, -0.10481613129377365, 0.36040470004081726, 0.5039607882499695, -0.6942563056945801, 0.10126716643571854, 0.9999902844429016, 0.4782920479774475, 0.20089633762836456, -0.9344214797019958, -0.1579858660697937, 0.2012990266084671, -0.08480207622051239, 0.2932245433330536, -0.40585458278656006, 0.6892719268798828, 0.03736446425318718, -0.12237071245908737, 0.3633856177330017, 0.44298362731933594, 0.1972222775220871, 0.5552085041999817, 0.37100473046302795, 0.3580678105354309, 0.7916315793991089, 0.011644793674349785, 1.0198718309402466, 0.04159003496170044, 0.45584848523139954, 1.0331475734710693, -0.40100744366645813, 0.9023631811141968, 0.24596840143203735, 0.06836302578449249, 0.29895976185798645, 0.6308029294013977, -0.2820211946964264, 0.5201588869094849, 0.21151147782802582, -0.09152935445308685, -0.2054256647825241, -0.1660812795162201, 0.09116112440824509, 0.6587904095649719, 0.6146875023841858, -0.2530876696109772, -0.2521655857563019, -0.018019510433077812, 0.009432753548026085, 0.03723285719752312, -0.3388892710208893, 1.0852992534637451, -0.06888514012098312, -0.6371649503707886, 0.5822627544403076, 0.06500935554504395, 0.6122736930847168, -0.7038971185684204, 0.06370890885591507, -0.1316143423318863, 0.5046097040176392, 0.08819620311260223, -0.605704128742218, 0.4863557517528534, 0.02228078804910183, 0.029979685321450233, 0.007325579412281513, 0.6555321216583252, -0.4078141152858734, -0.5565512776374817, 0.25766417384147644, 0.48162850737571716, 0.028107022866606712, -0.40223291516304016, -0.8722139000892639, 0.3739944100379944, 0.001554308575578034, -0.29993319511413574, 0.005247773602604866, 0.429325133562088, -0.02970554307103157, 0.803610622882843, 0.6339871287345886, -0.017504574730992317, -0.029203936457633972, 0.05114744231104851, 0.8778513669967651, -0.739964485168457, -0.3393939733505249, -0.740969717502594, 0.38689273595809937, -0.12410307675600052, 0.04014486446976662, 0.6084777116775513, 0.5306557416915894, 0.8013942241668701, 0.05046715959906578, 0.6727633476257324, 0.4370417594909668, 0.46618732810020447, -0.5775313377380371, 0.5802251100540161, -0.7670488953590393, 0.4676002264022827, -0.24993987381458282, -1.2689318656921387, -0.42904719710350037, 0.13466179370880127, -0.6425387859344482, 0.05675399303436279, 0.3314318358898163, 0.865800142288208, -0.3264527916908264, 0.06604701280593872, 0.24478141963481903, 0.18507221341133118, 0.8596644997596741, 0.4056653678417206, 0.8554549217224121, -0.29451048374176025, 0.8162602782249451, 0.011011448688805103, -0.20289047062397003, -0.334359347820282, -0.7254955172538757, -0.8838968873023987, -0.45852553844451904, -0.350777268409729, -0.0896013155579567, 0.018199635669589043, 0.8966077566146851, 0.6940800547599792, -0.7830610275268555, -0.2217448502779007, 0.06034386530518532, 0.006763610523194075, -0.08789567649364471, -0.25290000438690186, 0.4461832046508789, -0.5932806730270386, -0.8691623210906982, 0.34332406520843506, 0.2590131461620331, 0.09235576540231705, -0.1765425056219101, 0.03180559352040291, 0.04860334470868111, 0.36565783619880676, 0.6422698497772217, 0.02437807433307171, -0.628659188747406, -0.10591650009155273, 0.06382476538419724, 0.22345976531505585, 0.08790900558233261, 1.2244973182678223, -0.35820937156677246, 0.09932618588209152, 0.3524770438671112, 0.8175981640815735, 0.41202011704444885, 0.2192593812942505, 0.8176305890083313, -0.4921194911003113, 0.056237444281578064, 0.24785681068897247, 0.38357067108154297, 0.4447380602359772, -0.28814560174942017, 0.46319150924682617, -0.03475875034928322, -0.7656412720680237, -0.4862215220928192, 0.3822094798088074, -0.9991835951805115, -0.6468047499656677, 1.0928047895431519, 0.19566595554351807, -0.29819026589393616, -0.21991373598575592, -0.34227845072746277, -0.0007623398560099304, -0.4190809726715088, 0.5770004391670227, 0.6933171153068542, -0.1662573218345642, -0.005997525993734598, -0.5875744223594666, 0.531528115272522, 0.5322146415710449, -0.8137627840042114, 0.3790951669216156, 0.48165589570999146, 0.395183801651001, 0.026289112865924835, 0.4962480068206787, 0.07825127989053726, -0.05156032368540764, -0.30633217096328735, -0.44210734963417053, -0.08204762637615204, -0.18693456053733826, -0.2150357961654663, 0.06431134045124054, 0.21157261729240417, -0.19062018394470215 ]
http://arxiv.org/abs/2404.10259v1
http://arxiv.org/pdf/2404.10259v1
Uncovering Latent Arguments in Social Media Messaging by Employing LLMs-in-the-Loop Strategy
2024-04-16T03:26:43
2024-04-16T03:26:43
Tunazzina Islam, Dan Goldwasser
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG, cs.SI
The widespread use of social media has led to a surge in popularity for automated methods of analyzing public opinion. Supervised methods are adept at text categorization, yet the dynamic nature of social media discussions poses a continual challenge for these techniques due to the constant shifting of the focus. On the other hand, traditional unsupervised methods for extracting themes from public discourse, such as topic modeling, often reveal overarching patterns that might not capture specific nuances. Consequently, a significant portion of research into social media discourse still depends on labor-intensive manual coding techniques and a human-in-the-loop approach, which are both time-consuming and costly. In this work, we study the problem of discovering arguments associated with a specific theme. We propose a generic LLMs-in-the-Loop strategy that leverages the advanced capabilities of Large Language Models (LLMs) to extract latent arguments from social media messaging. To demonstrate our approach, we apply our framework to contentious topics. We use two publicly available datasets: (1) the climate campaigns dataset of 14k Facebook ads with 25 themes and (2) the COVID-19 vaccine campaigns dataset of 9k Facebook ads with 14 themes. Furthermore, we analyze demographic targeting and the adaptation of messaging based on real-world events.
[ -0.4114166498184204, -1.0538740158081055, 0.6832785606384277, 0.16317974030971527, -0.9498968720436096, 0.49410393834114075, -0.33790323138237, 0.22160223126411438, 0.460619181394577, 0.5058125853538513, -0.5041722655296326, -0.4501041769981384, -0.5763798952102661, -0.1899605691432953, -0.4526437520980835, 1.0345526933670044, -0.10294386744499207, -0.10875698924064636, -0.3386569023132324, -0.053826238960027695, -0.1458914875984192, -0.5630367398262024, -0.27392706274986267, -0.30131208896636963, 0.8027238845825195, 0.730679988861084, 0.2537551522254944, 0.2503863275051117, 0.5599353313446045, 0.18194584548473358, -0.4199778139591217, 0.2549537122249603, -0.8095127940177917, 0.2286069095134735, -0.5157256722450256, -0.128171905875206, -0.08116605132818222, 0.2016039937734604, 0.6023011207580566, 0.3689827620983124, -0.006967292167246342, 0.2924793064594269, -0.04657909274101257, 0.4969025254249573, -0.5837244987487793, -0.28146684169769287, -1.0991607904434204, -0.23974110186100006, -0.36762675642967224, -0.6356357336044312, -0.14101198315620422, -0.45272210240364075, 0.1015269011259079, -0.1388784646987915, -0.03366963192820549, -0.25467991828918457, 1.0375564098358154, -0.1236134022474289, -0.46369990706443787, -0.6843256950378418, -0.8220021724700928, 0.7969622611999512, -0.7859624028205872, -0.10528101027011871, 0.2692793011665344, 0.1963108628988266, -0.2112690955400467, -0.4565587639808655, -0.4345603287220001, 0.13176925480365753, 0.4353391230106354, 0.19949878752231598, -0.36289575695991516, -0.30669108033180237, 0.08609770238399506, 0.18079513311386108, -0.3395031988620758, 0.041878145188093185, -0.38882195949554443, -0.04114203527569771, 0.8270992040634155, 0.026501018553972244, 0.04390629008412361, -0.4505348205566406, -0.23672448098659515, 0.24393028020858765, -0.6456718444824219, 0.0881863683462143, 0.6494036316871643, 0.3774622976779938, -0.44394147396087646, 0.695898711681366, 0.12298883497714996, 0.3721754550933838, 0.33754828572273254, -0.18116188049316406, -0.2859973609447479, -0.09666060656309128, -0.0025572022423148155, -0.027950089424848557, 0.8779553771018982, 0.4917965829372406, 0.19405710697174072, 0.07680393755435944, -0.0669960081577301, 0.36719805002212524, 0.28090205788612366, -0.6222389340400696, 0.06312020123004913, 0.2019466757774353, -0.6269770860671997, -0.3333708643913269, 0.18648898601531982, -0.9435176849365234, -0.7286102175712585, -0.2447102665901184, -0.02638060785830021, 0.08032321184873581, -0.2947763502597809, -0.14758314192295074, -0.09050673246383667, 0.18602989614009857, 0.29217615723609924, -0.39875277876853943, -0.05492627993226051, 0.9999632239341736, 1.0555967092514038, -0.2410161942243576, 0.4806802570819855, -0.3909115493297577, 0.09079597145318985, -0.6763044595718384, 1.1795177459716797, -1.0996248722076416, -0.2642890512943268, 0.1432970017194748, 0.12439475953578949, 0.14721959829330444, -0.5083625316619873, 0.581924557685852, -0.7887043356895447, 0.13559311628341675, -0.5065149664878845, -0.7903740406036377, 0.16954682767391205, 0.16749882698059082, -0.3764020800590515, 0.8587508201599121, -0.28077432513237, -0.9102064967155457, 0.09976040571928024, -0.747871458530426, -0.2735574543476105, -0.03797917068004608, -0.45663347840309143, -0.5534255504608154, 0.383463978767395, 0.27304917573928833, 0.7253022789955139, -0.5261905789375305, 0.5724681615829468, -0.8669413924217224, -0.4237584173679352, 0.41349154710769653, -0.4410153329372406, 0.5945118069648743, 0.4024330973625183, -0.30621522665023804, 0.1813361644744873, -0.49872395396232605, -0.645361065864563, 0.3768308460712433, -0.29409492015838623, -0.36453789472579956, 0.2628609836101532, -0.233301043510437, 0.18933354318141937, 0.008495931513607502, -0.4666927456855774, 0.12442449480295181, -0.3164430558681488, 0.6990498900413513, 0.971809446811676, 0.5479370951652527, 0.499161034822464, -0.29287269711494446, 0.6961327791213989, 0.08495602011680603, -0.10470758378505707, -0.23404262959957123, -0.5842354893684387, -0.5652357339859009, 0.13232767581939697, -0.16613587737083435, 0.3727755546569824, -0.6962736248970032, 0.13254596292972565, -0.2526637017726898, -0.5128754377365112, -0.4826967418193817, 0.22017595171928406, 0.062451377511024475, 0.1823582649230957, -0.057626452296972275, 0.05964647978544235, -0.29143357276916504, -0.6309592127799988, -0.4834890365600586, -0.3699429929256439, 0.15167109668254852, 0.5636582970619202, 0.48534929752349854, -0.31338995695114136, 1.0396233797073364, -0.5152108669281006, 0.32629793882369995, -0.18373246490955353, 0.4067436754703522, 0.30324479937553406, 0.0031035507563501596, 0.34045252203941345, -0.847612202167511, -0.3979790210723877, -0.011119523085653782, -0.7824969291687012, -0.34677061438560486, -0.3334297835826874, -0.18616369366645813, 0.05130802467465401, 0.6564214825630188, -0.3058495819568634, 0.3666377365589142, 0.5178645253181458, -0.13382630050182343, 0.2783397138118744, 0.2103809416294098, -0.003670550649985671, -1.22000253200531, -0.26084768772125244, 0.5005045533180237, -0.04809678718447685, -0.4095839858055115, -0.18835103511810303, -0.16033963859081268, -0.144510418176651, -0.4128354489803314, 0.41945400834083557, -0.20990943908691406, 0.3026578724384308, -0.46825891733169556, 0.2141675353050232, -0.055254898965358734, 0.02009832113981247, -0.12245320528745651, 0.39477550983428955, 0.4787330627441406, -0.29473021626472473, 0.6055559515953064, -0.19596822559833527, -0.2560465931892395, 0.5333317518234253, -0.5780274868011475, 0.6394538879394531, -0.4310717284679413, 0.4451322555541992, -1.1819748878479004, -0.2918722629547119, 0.39145880937576294, -0.3635385036468506, -0.05469777062535286, -0.44422897696495056, -0.35842883586883545, -0.5311118960380554, -0.47137805819511414, 0.13615797460079193, 0.14323700964450836, -0.39816564321517944, 0.4134441912174225, 0.842915415763855, -0.26056915521621704, -0.22768130898475647, -0.2554960250854492, 0.3866320550441742, -0.9054806232452393, -0.46644023060798645, 0.3558468818664551, 0.039732545614242554, -0.6136416792869568, -0.07606007903814316, -0.13955670595169067, 0.19428351521492004, 0.03914444521069527, 0.27981823682785034, -0.18436256051063538, -0.17531441152095795, 0.3302660286426544, 0.04177509993314743, -0.07396984100341797, 0.1346195638179779, -0.09626767039299011, 0.5975858569145203, -0.09285091608762741, -0.4472624957561493, -0.258100688457489, 0.6693592667579651, 0.5982972383499146, 0.07612524926662445, 0.4116736948490143, 0.45588418841362, -0.5015625953674316, -0.19858253002166748, -0.7655783295631409, -0.17865872383117676, -0.46931731700897217, 0.07016213983297348, 0.13005106151103973, -0.9288254976272583, 0.4589836895465851, -0.4666997194290161, 0.13993524014949799, 0.028351793065667152, 0.7889317870140076, -0.45670953392982483, 0.7430828809738159, 0.3870575726032257, -0.27989763021469116, 0.6326584219932556, -0.2613878548145294, 0.372585266828537, -0.4299250841140747, 0.0952632874250412, -0.35655951499938965, -0.05185016244649887, -0.40503260493278503, -0.6295803785324097, 0.020634951069951057, 0.22421890497207642, -0.2649005651473999, 0.1367122083902359, -0.3254700005054474, 0.24417825043201447, 0.173866868019104, 0.15585565567016602, -0.04637506976723671, 0.31650087237358093, 0.00835425779223442, -0.16731509566307068, -0.6292110681533813, -1.1953951120376587, 0.865602970123291, 0.5306581258773804, 0.7759215831756592, -0.05343494936823845, 0.6491000056266785, 0.5494070053100586, 0.745003342628479, -0.6854574084281921, 0.6923104524612427, -0.21505527198314667, -0.48040318489074707, 0.0010310523211956024, -0.3212844729423523, -1.0260356664657593, 0.0936722606420517, -0.322411447763443, -0.8326545357704163, 0.12484744191169739, 0.02778884582221508, -0.287295401096344, 0.5619135499000549, -0.4707469940185547, 0.5838983058929443, -0.3191657066345215, -0.4745425283908844, -0.24918557703495026, -0.4335978031158447, 0.15294985473155975, -0.30735617876052856, 0.4725058376789093, -0.4638271629810333, 0.16649991273880005, 0.917527973651886, -0.31952184438705444, 1.020400881767273, -0.05881761759519577, -0.5498221516609192, 0.5888720154762268, -0.6236190795898438, 0.5558058023452759, 0.2593003511428833, 0.06653789430856705, -0.11232228577136993, -0.4289209842681885, -0.32824835181236267, -0.3986469805240631, 0.7021685242652893, -0.6340755224227905, -0.7506231665611267, -0.10962563753128052, -0.20410732924938202, -0.01609591394662857, -0.21155190467834473, 0.0955304503440857, 0.31531837582588196, -0.31604456901550293, 0.3132670223712921, 0.5259202122688293, -0.401711106300354, 0.5398654341697693, 0.24927394092082977, 0.026671355590224266, -0.5697442293167114, 1.0870648622512817, 0.20942439138889313, 0.11228153854608536, 0.11655966937541962, 0.6584917306900024, -0.2591627240180969, -0.39412713050842285, -0.1896471083164215, 0.3054831027984619, -0.8205975294113159, -0.361682653427124, -0.7827629446983337, 0.07463010400533676, -0.374830961227417, -0.4598630964756012, -0.3804478347301483, 0.1838386505842209, -0.5835428237915039, 0.05847174674272537, 0.43343788385391235, 0.6823090314865112, 0.08428605645895004, 0.6683472394943237, -0.6100465059280396, 0.47303757071495056, 0.26293492317199707, 0.2269110530614853, -0.05623646453022957, -0.4818997383117676, -0.2234022468328476, 0.2205972671508789, -0.6424762010574341, -1.3409234285354614, 0.17925117909908295, -0.16665144264698029, 0.5204846262931824, 0.8678914308547974, 0.27409887313842773, 0.8468406200408936, -0.05623626708984375, 0.8401528596878052, -0.006924744695425034, -0.7751414179801941, 0.7900986671447754, -0.6402310729026794, -0.07760477811098099, 0.18302074074745178, 0.40749049186706543, -0.4720137417316437, -0.5442211031913757, -0.6942455172538757, -0.9746667146682739, 0.32342496514320374, 0.224129781126976, 0.44095683097839355, -0.2519363760948181, 0.4544861614704132, -0.2011602371931076, 0.07135084271430969, -0.7482593655586243, 0.0007935527246445417, 0.001882811076939106, 0.0737515240907669, 0.0667702928185463, -0.4132611155509949, -0.2037905603647232, -0.23731619119644165, 0.5187240242958069, -0.18732035160064697, 0.10106196999549866, -0.12808667123317719, -0.027133971452713013, -0.3119773864746094, 0.26393255591392517, 0.568191647529602, 0.6748577952384949, -0.25600388646125793, 0.010478810407221317, -0.02677437663078308, -0.23703633248806, 0.22016803920269012, -0.05157524347305298, -0.09841441363096237, 0.18234500288963318, 0.46953895688056946, 0.706447958946228, 0.18835853040218353, -0.4161638021469116, 0.47013232111930847, 0.007800437044352293, -0.11579348891973495, -0.23047411441802979, -0.313950777053833, 0.7018827795982361, 0.5659516453742981, 0.5658049583435059, -0.39217618107795715, -0.29864272475242615, -0.7457987070083618, 0.23966407775878906, 0.5399526357650757, -0.4754126965999603, -0.36352837085723877, 0.4539491832256317, 0.2614160478115082, -0.4486415982246399, 0.0023307176306843758, -0.0679706484079361, -0.3943958878517151, 0.6684630513191223, 0.480243980884552, 0.8915495276451111, -0.015425609424710274, 0.4645858407020569, 0.07934373617172241, 0.10909203439950943, -0.057826295495033264, 0.24666254222393036, 0.10808400809764862, -0.76718670129776, -0.41119441390037537, -0.45996522903442383, -0.3879052400588989, 0.4312692880630493, -0.621921181678772, 0.3728574812412262, -0.38662078976631165, -0.45034176111221313, 0.2651046812534332, 0.15525753796100616, -0.1502896249294281, -0.13480521738529205, 0.4411439001560211, 0.5168285965919495, -1.1868096590042114, 0.6163119673728943, 1.0217795372009277, 0.007758843246847391, -0.317945659160614, 0.47953125834465027, 0.24966515600681305, -0.3683687150478363, 0.19100113213062286, 0.07365918159484863, -0.29665932059288025, -0.34995362162590027, -1.0897325277328491, -0.6293556094169617, 0.8086742758750916, 0.5973635315895081, -0.5560715198516846, 0.3459055423736572, 0.017517080530524254, 0.481716126203537, -0.7808114290237427, 0.012779470533132553, 0.31482598185539246, 0.34497520327568054, 0.2703099548816681, -0.294260174036026, -0.08788279443979263, -0.34109631180763245, 0.023560920730233192, -0.14928090572357178, -0.6566274762153625, 0.7070754766464233, -0.14521484076976776, -0.4953854978084564, -0.3956161439418793, 0.7954537272453308, 0.5061912536621094, 0.7610083818435669, 0.5329983830451965, 0.11510489881038666, 0.6993886828422546, 0.18324989080429077, 0.7629785537719727, -0.14875522255897522, 0.6001015901565552, 0.7069655060768127, -0.28144386410713196, 0.7324782609939575, 0.6037260293960571, -0.022963188588619232, 0.4090915024280548, 1.0194838047027588, 0.0759730339050293, 0.34784215688705444, 0.6342405676841736, -0.13680848479270935, -0.49033093452453613, -0.29115211963653564, -0.1789185106754303, 0.44768252968788147, 0.7249294519424438, -0.24225027859210968, -0.4174919128417969, -0.07253659516572952, 0.3426050543785095, 0.45793747901916504, -0.20057930052280426, 0.8744332194328308, 0.2422952950000763, -0.5392497181892395, 0.47077593207359314, -0.06672342121601105, 0.8210596442222595, -0.2672891616821289, -0.15360131859779358, -0.235447496175766, 0.11512133479118347, -0.060130901634693146, -0.6508740782737732, 0.34011203050613403, 0.37588927149772644, 0.09494927525520325, -0.2050207257270813, 1.0730277299880981, -0.3167067766189575, -0.7067859768867493, 0.3987389802932739, 0.53972327709198, 0.08794856816530228, -0.1259140819311142, -0.9480995535850525, 0.3013257086277008, -0.0976027101278305, -0.29630887508392334, 0.06324667483568192, 0.5705093145370483, -0.3443843424320221, 0.5910094380378723, 0.8086645603179932, 0.04108870029449463, -0.2134689837694168, 0.18403497338294983, 1.3579217195510864, -0.739501953125, -0.35151082277297974, -1.2818548679351807, 0.2932991683483124, -0.5043178200721741, -0.23233246803283691, 0.7968974113464355, 0.5023184418678284, 0.515022873878479, 0.359907865524292, 0.8378982543945312, 0.3609689772129059, 0.612790584564209, -0.28218644857406616, 0.4762705862522125, -0.6443012356758118, 0.5776813626289368, -0.9037861227989197, -0.5679775476455688, -0.16553597152233124, 0.7419952154159546, -0.4771590232849121, -0.20289117097854614, 0.25646308064460754, 0.7811120748519897, -0.014557252638041973, 0.1738077998161316, -0.12981432676315308, 0.059041284024715424, 0.6773521304130554, 0.41248950362205505, 1.379604458808899, 0.08439560979604721, 0.46184831857681274, -0.07399251312017441, -0.31051647663116455, -0.46266064047813416, -1.2245672941207886, -1.1930216550827026, -0.5347787141799927, -0.4862934350967407, -0.6681019067764282, 0.1274465024471283, 1.117300271987915, 0.452248215675354, -0.6710915565490723, -0.3870925307273865, 0.1610681414604187, 0.48386913537979126, 0.10970962047576904, -0.19859932363033295, 0.4306531846523285, -0.17539039254188538, -0.36209696531295776, 0.1593637466430664, 0.5271006226539612, -0.10548852384090424, -0.2996238172054291, 0.07407443970441818, -0.4628009796142578, 0.5303454995155334, 0.664935827255249, 0.17029722034931183, -0.8060721755027771, -0.19249765574932098, -0.10274840891361237, 0.03130018711090088, 0.09445654600858688, 1.0870565176010132, -0.42077481746673584, 0.31531548500061035, 0.3908100426197052, 0.6451639533042908, 0.5071069598197937, 0.3791750371456146, 0.47177383303642273, -0.5277354121208191, 0.0017659292789176106, 0.21880842745304108, 0.24964138865470886, 0.5584001541137695, -0.20105771720409393, 0.19995521008968353, 0.509274423122406, -0.3245276212692261, -1.0023174285888672, 0.19312363862991333, -0.935661256313324, -0.5322554707527161, 1.696956753730774, -0.1975841522216797, -0.0737517774105072, -0.42942026257514954, -0.13419528305530548, 0.26360780000686646, -0.522009551525116, 1.0434293746948242, 0.7920982837677002, 0.2821785807609558, -0.24931588768959045, -0.40197136998176575, 0.1375572681427002, 0.03289855644106865, -0.7251558899879456, 0.12993909418582916, 0.19012895226478577, 0.0663052350282669, 0.19661152362823486, 0.8350217342376709, -0.07304417341947556, -0.2795323431491852, -0.37231898307800293, -0.5391752123832703, 0.5651746988296509, -0.10502877086400986, -0.27513375878334045, 0.2984648048877716, -0.3862501084804535, -0.0031039270106703043 ]
http://arxiv.org/abs/2404.10237v2
http://arxiv.org/pdf/2404.10237v2
Med-MoE: Mixture of Domain-Specific Experts for Lightweight Medical Vision-Language Models
2024-04-16T02:35:17
2024-06-26T06:04:51
Songtao Jiang, Tuo Zheng, Yan Zhang, Yeying Jin, Li Yuan, Zuozhu Liu
cs.CV
cs.CV, cs.CL
Recent advancements in general-purpose or domain-specific multimodal large language models (LLMs) have witnessed remarkable progress for medical decision-making. However, they are designated for specific classification or generative tasks, and require model training or finetuning on large-scale datasets with sizeable parameters and tremendous computing, hindering their clinical utility across diverse resource-constrained scenarios in practice. In this paper, we propose a novel and lightweight framework Med-MoE (Mixture-of-Experts) that tackles both discriminative and generative multimodal medical tasks. The learning of Med-MoE consists of three steps: multimodal medical alignment, instruction tuning and routing, and domain-specific MoE tuning. After aligning multimodal medical images with LLM tokens, we then enable the model for different multimodal medical tasks with instruction tuning, together with a trainable router tailored for expert selection across input modalities. Finally, the model is tuned by integrating the router with multiple domain-specific experts, which are selectively activated and further empowered by meta expert. Comprehensive experiments on both open- and close-end medical question answering (Med-VQA) and image classification tasks across datasets such as VQA-RAD, SLAKE and Path-VQA demonstrate that our model can achieve performance superior to or on par with state-of-the-art baselines, while only requiring approximately 30\%-50\% of activated model parameters. Extensive analysis and ablations corroborate the effectiveness and practical utility of our method.
[ -0.4863452613353729, -0.9180314540863037, 0.683114767074585, -0.11461816728115082, -0.37243252992630005, -0.057504698634147644, -0.34133458137512207, -0.3571019768714905, 0.3274388313293457, 0.4997856616973877, -0.46994125843048096, -0.38087978959083557, -0.7572936415672302, 0.015440652146935463, 0.13804037868976593, 0.7995696663856506, -0.0078048985451459885, 0.5666707158088684, -0.4273221790790558, -0.3712480366230011, -0.5830740928649902, -0.10696583986282349, -0.5226238965988159, -0.19093182682991028, 0.5527880191802979, 0.37462443113327026, 0.6942355036735535, 0.500417947769165, 0.6149568557739258, 0.320931077003479, 0.3210354745388031, 0.5200498700141907, -0.204977348446846, 0.12286456674337387, -0.3410356342792511, -0.4697285592556, -0.679226815700531, -0.20116093754768372, 0.19452153146266937, 0.7094477415084839, -0.33974379301071167, -0.02023058757185936, -0.2644508183002472, 0.3848628103733063, -0.6479173898696899, 0.023917514830827713, -0.8870565891265869, -0.06676489114761353, -0.11718157678842545, -0.36381885409355164, -0.4152955710887909, 0.1951257288455963, 0.16204769909381866, -0.6590495705604553, 0.20584581792354584, 0.18347695469856262, 0.592262864112854, 0.630755603313446, -0.6014018058776855, -0.08001016080379486, -0.26867949962615967, 0.9404500722885132, -0.6553289890289307, 0.34463489055633545, 0.454524427652359, 0.41516178846359253, 0.0559781976044178, -0.5342820882797241, -0.4863080680370331, -0.06436938047409058, 0.18720704317092896, 0.3169788420200348, 0.21794281899929047, 0.3205201327800751, -0.2628524601459503, 0.3205690085887909, -0.49186816811561584, 0.2645341157913208, -0.40917766094207764, 0.022145407274365425, 0.504252016544342, 0.3056946098804474, 0.3782655894756317, 0.08538348972797394, -0.6032251119613647, 0.2770483195781708, -0.5485076308250427, -0.25339576601982117, -0.34939897060394287, -0.018201148137450218, -0.23189078271389008, 0.6392772793769836, -0.22523720562458038, 0.9962382912635803, 0.25400641560554504, -0.8064447641372681, 0.28486379981040955, -0.11231081187725067, -0.22176168859004974, -0.3270679712295532, 0.7965425252914429, 0.6165317893028259, 0.1929323524236679, -0.17563119530677795, -0.25683191418647766, -0.012084245681762695, 0.38020023703575134, -0.6798622608184814, -0.5172849893569946, 0.22747540473937988, -0.6240943074226379, -0.40599870681762695, -0.3920268714427948, -0.6967201828956604, -0.4792987108230591, -0.4226345717906952, 0.6312980651855469, -0.5211023092269897, -0.31219491362571716, 0.33104947209358215, 0.14981311559677124, -0.20197881758213043, 0.45860370993614197, -0.9721143245697021, 0.11082365363836288, 0.301302433013916, 0.4821532368659973, -0.3021535277366638, -0.09408269822597504, -0.44475165009498596, 0.2865736186504364, -0.1494593769311905, 0.5749501585960388, -0.8676382303237915, -0.3664742410182953, -0.2339557409286499, -0.1563234180212021, -0.4072459936141968, -0.634746253490448, 0.35344067215919495, -0.49972259998321533, 0.23621246218681335, 0.1549445390701294, -0.5807152986526489, -0.3724081218242645, 0.3282577693462372, -0.42912349104881287, 0.7105987668037415, 0.1568271368741989, -0.5939549207687378, 0.5138675570487976, -0.4247409403324127, -0.5224615335464478, 0.3038927912712097, -0.6333839893341064, -0.3090653717517853, 0.19778582453727722, 0.6092103719711304, 0.9523749351501465, -0.44187411665916443, 0.548953652381897, -0.4858051538467407, 0.024133410304784775, 0.30521830916404724, -0.48180198669433594, 0.5500190854072571, 0.062368202954530716, -0.164667010307312, 0.1978604942560196, -0.917087733745575, -0.008791288360953331, 0.06678759306669235, -0.4825124442577362, -0.39516040682792664, 0.0352013073861599, 0.1648462414741516, 0.4100506007671356, 0.2955067753791809, -0.478819876909256, 0.11226076632738113, -0.19297054409980774, 0.3394787907600403, 0.7108279466629028, 0.03084351308643818, 0.3550812005996704, -0.4546087980270386, 0.5228463411331177, 0.26029616594314575, 0.3338121175765991, -0.10389962047338486, -0.9389265179634094, -0.6897232532501221, -0.9254814982414246, 0.30849504470825195, 0.6002934575080872, -1.3117233514785767, 0.34154564142227173, -0.33632779121398926, -0.43347030878067017, -0.9163900017738342, 0.33992207050323486, 0.507439374923706, 0.8896953463554382, 0.49603724479675293, -0.23617780208587646, -0.13930214941501617, -1.0418426990509033, 0.24425138533115387, 0.09206788241863251, 0.022389061748981476, 0.6178954839706421, 0.355495423078537, -0.4665678143501282, 0.7815727591514587, -0.570444643497467, -0.41360899806022644, -0.15139716863632202, 0.007592827547341585, -0.02628331445157528, 0.5458216071128845, 0.6589191555976868, -1.1130505800247192, -0.3717234432697296, 0.1528855860233307, -0.8051498532295227, -0.01835637353360653, -0.020159512758255005, 0.022638360038399696, -0.10184989124536514, 0.23532430827617645, -0.6000953316688538, 0.040685977786779404, 0.643478512763977, -0.05127132683992386, 0.33402198553085327, -0.4320618510246277, 0.18894822895526886, -1.386283040046692, -0.05208505690097809, 0.046085942536592484, -0.31330233812332153, -0.5166632533073425, 0.44521477818489075, 0.1408238559961319, -0.06216059625148773, -0.39099058508872986, 0.738899827003479, -0.3160754442214966, 0.4295753538608551, -0.17761270701885223, -0.18895073235034943, -0.028272578492760658, 0.6349583268165588, 0.1641417145729065, 0.5818014144897461, 0.9725924730300903, -0.5921666622161865, 0.3219102919101715, 0.16968126595020294, -0.3562605679035187, 0.8429434299468994, -0.48880457878112793, -0.038890399038791656, -0.10443911701440811, -0.11382779479026794, -0.8192903399467468, -0.5609251260757446, 0.232100248336792, -0.32139280438423157, 0.4300985634326935, -0.20101560652256012, -0.41912713646888733, -0.24876630306243896, 0.07007619738578796, 0.7320239543914795, 0.6142392158508301, -0.23031331598758698, 1.0876519680023193, 0.5215421319007874, -0.43868494033813477, -0.5390211343765259, -0.5729280710220337, -0.04301822930574417, -0.02527325041592121, -0.7123739719390869, 0.34107089042663574, -0.20917901396751404, -0.031145315617322922, -0.058758895844221115, 0.15106043219566345, -0.4794943928718567, 0.04821155220270157, 0.2930925190448761, 0.4804540276527405, -0.2998679578304291, 0.22606565058231354, 0.3330061137676239, -0.13097630441188812, -0.26794373989105225, -0.054068416357040405, 0.2655182182788849, 0.2453261911869049, -0.6511824727058411, -0.29297754168510437, 0.5312542915344238, 0.9080997109413147, -0.4719787836074829, 0.6764635443687439, 0.7922877669334412, -0.2800750434398651, -0.027122633531689644, -0.8694337606430054, -0.21401454508304596, -0.449273943901062, 0.6261708736419678, -0.40008625388145447, -0.751643717288971, 0.3070965111255646, -0.19476227462291718, 0.15614768862724304, 0.26083263754844666, 0.947658121585846, -0.18696875870227814, 1.1949927806854248, 0.5414173007011414, -0.01645481400191784, 0.1435953825712204, 0.08493142575025558, -0.12534017860889435, -0.6046460866928101, -0.4163108766078949, 0.0252743661403656, -0.376414954662323, -0.06648369878530502, -0.7106093764305115, 0.8115259408950806, -0.30306363105773926, 0.11762907356023788, -0.3860335648059845, -0.3891483545303345, 0.32571423053741455, 0.5148314833641052, 0.6535407304763794, 0.09285573661327362, 0.0005739234038628638, -0.3672553598880768, 0.012076704762876034, -0.8711720108985901, -0.09362313896417618, 1.2948904037475586, 0.23146414756774902, 1.0501636266708374, -0.2190972864627838, 0.3945075273513794, 0.011692351661622524, 0.26420438289642334, -0.7773430347442627, 0.6806094646453857, -0.47613632678985596, -0.7720436453819275, 0.23847998678684235, -0.3707709312438965, -0.5275288820266724, 0.4170231819152832, -0.6421618461608887, -0.14522364735603333, 0.15945769846439362, 0.23761318624019623, -0.5347099900245667, 0.485761433839798, -0.7009968161582947, 0.5708571076393127, -0.331940233707428, -0.1667618602514267, -0.33773165941238403, -0.8755119442939758, 0.4796074330806732, -0.2972751557826996, 0.277801513671875, -0.15670180320739746, -0.38071921467781067, 0.4767419099807739, -0.14233101904392242, 1.0249167680740356, -0.23966093361377716, -0.05198948457837105, -0.0774165540933609, -0.09866339713335037, 0.09944397956132889, -0.02094845101237297, 0.2103969007730484, 0.1357540339231491, -0.263374924659729, -0.40459108352661133, -0.4161209166049957, 0.4827958941459656, -0.6813240051269531, -0.3658201992511749, 0.1402180790901184, -0.7434065341949463, -0.5532739162445068, 0.2478586733341217, 0.39411190152168274, 0.887233316898346, 0.12456264346837997, 0.3762396574020386, 1.0165510177612305, -0.15003074705600739, -0.0964616984128952, 0.6589540243148804, -0.04741392657160759, -0.5946233868598938, 0.9643617868423462, -0.1255505532026291, 0.21895749866962433, 0.5945675373077393, 0.033809881657361984, 0.0394723154604435, -0.8055407404899597, -0.665835440158844, 0.10400412976741791, -0.6590650081634521, -0.35382896661758423, -0.7733904719352722, 0.038556620478630066, -0.010674894787371159, -0.26221126317977905, -0.3398531675338745, -0.1941685974597931, -0.299489825963974, 0.21819154918193817, 0.23310169577598572, 0.4504009485244751, 0.41520512104034424, 0.3235819339752197, -0.933228611946106, 0.7675386667251587, 0.43183445930480957, 0.32061129808425903, -0.24886979162693024, -0.2852424681186676, -0.2803087830543518, -0.015751056373119354, -0.13580431044101715, -0.7024880051612854, 0.11977341771125793, 0.39059802889823914, 0.694384753704071, 0.7982455492019653, -0.04590638726949692, 0.648598313331604, -0.8214790225028992, 0.6099669337272644, 0.5053189396858215, -0.3681734800338745, 0.33084431290626526, -0.3098220229148865, 0.011904600076377392, 0.692258358001709, 0.3256612718105316, 0.01743491366505623, -0.5161991119384766, -0.13636648654937744, -0.7027900218963623, 0.28130343556404114, -0.14147767424583435, 0.0341215506196022, 0.01982131041586399, 0.24942588806152344, 0.49535444378852844, 0.274600088596344, -0.3639375865459442, -0.20545826852321625, 0.1688510775566101, -0.7805846333503723, 0.023870406672358513, -0.14503194391727448, -0.4915807843208313, -0.36238589882850647, 0.4040129780769348, -0.2838200330734253, 0.15836964547634125, 0.022963065654039383, -0.2725144624710083, 0.06086120381951332, 0.20073413848876953, 0.6513681411743164, 0.7049972414970398, -0.09493536502122879, 0.024548247456550598, 0.08080606907606125, -0.6590389609336853, 0.026290999725461006, 0.0886441022157669, 0.006516247522085905, -0.02067803591489792, 0.2764071822166443, 0.7185916304588318, 0.47663959860801697, -0.9492598176002502, 0.660915732383728, 0.07197555899620056, -0.4465746283531189, 0.1883266419172287, 0.2114269733428955, -0.07287430018186569, 0.25083187222480774, 0.3762156367301941, 0.7380648851394653, 0.14887164533138275, -0.10328679531812668, 0.23760059475898743, 0.38467854261398315, -0.14350518584251404, -0.22516721487045288, 0.8810186982154846, 0.5579994320869446, 0.23505011200904846, 0.3009470999240875, 0.11461508274078369, -0.2577274739742279, 0.3456117808818817, 0.20714972913265228, 0.5711901187896729, -0.26876941323280334, -0.035476911813020706, -0.1905333548784256, 0.060725245624780655, -0.020635660737752914, 0.3645056486129761, 0.08139485865831375, -0.7857776880264282, -0.5150995850563049, -0.34521862864494324, -0.23810963332653046, -0.08204979449510574, -0.7011324763298035, 0.210953950881958, -0.3458465337753296, -0.39712753891944885, 0.05442117154598236, -0.48914971947669983, -0.7769013047218323, 0.5733697414398193, 0.028997890651226044, 0.8031778335571289, -0.6880950331687927, 0.8057100176811218, 1.081968069076538, -0.254940390586853, -0.5071038603782654, -0.2000112384557724, -0.028229009360074997, -1.1914268732070923, 0.5847951769828796, -0.07679319381713867, -0.018671009689569473, -0.17910757660865784, -0.4980227053165436, -0.3181045949459076, 0.9913589954376221, 0.4348105490207672, -0.46535271406173706, -0.26083990931510925, -0.2224133014678955, 0.19202926754951477, -0.4787330627441406, 0.12078387290239334, 0.0033565149642527103, 0.05945787951350212, 0.04472487047314644, -1.1451423168182373, -0.13466951251029968, -0.3955070972442627, -0.10164043307304382, -0.004087766166776419, -0.5832185745239258, 0.9498367309570312, -0.3072015643119812, 0.2594670057296753, 0.1089811846613884, 0.3587036430835724, 0.305180162191391, 0.2809857726097107, 0.6119420528411865, 0.6900490522384644, 0.7259026169776917, 0.16064885258674622, 1.0335274934768677, -0.6648122668266296, 0.12845927476882935, 0.753442108631134, -0.2564062178134918, 0.8229504823684692, 0.4551965892314911, 0.02645140513777733, 0.339418888092041, 0.4642252027988434, 0.0822150707244873, 0.8036139607429504, -0.44263455271720886, -0.509952962398529, -0.6845472455024719, 0.16810919344425201, -0.509721040725708, 0.3547402620315552, 0.5387715697288513, -0.48779430985450745, -0.0633181780576706, 0.5655834674835205, -0.09028834849596024, -0.14402562379837036, -0.5646538734436035, 0.8379227519035339, 0.11534931510686874, -0.40561169385910034, 0.4314383566379547, 0.08500122278928757, 1.00167977809906, -0.6525879502296448, 0.00333253457210958, 0.15841823816299438, 0.21739710867404938, -0.12077892571687698, -0.6827036142349243, -0.26637202501296997, -0.25957632064819336, -0.45886728167533875, 0.028804125264286995, 0.6993752121925354, -0.6078413128852844, -0.6752387285232544, -0.08393502980470657, 0.631763219833374, -0.016751719638705254, 0.10542190819978714, -0.7986315488815308, -0.3423273265361786, -0.1188272088766098, -0.008217965252697468, 0.3800930678844452, 0.39613285660743713, 0.14698095619678497, 1.0602859258651733, 0.3600821793079376, 0.25096091628074646, 0.1491975486278534, -0.007427736651152372, 0.9931176900863647, -0.13217759132385254, -0.3719201683998108, -0.6311373114585876, 0.6060079336166382, 0.13681001961231232, -0.39241379499435425, 0.39020049571990967, 0.36683908104896545, 0.5621864199638367, -0.4565195143222809, 0.6929706335067749, 0.01354727242141962, 0.4230606257915497, -0.8788988590240479, 0.828038215637207, -1.0100452899932861, -0.15486988425254822, -0.010700059123337269, -0.4122336506843567, -0.31323039531707764, 0.5435429215431213, -0.25369155406951904, 0.33500513434410095, 0.37838053703308105, 0.7159475088119507, -0.3869726359844208, -0.35071974992752075, 0.5833356976509094, 0.08190413564443588, 0.00942106544971466, 0.6172119379043579, 0.48687881231307983, 0.040095556527376175, 0.3042120039463043, -0.13620644807815552, -0.34041720628738403, -0.6381433010101318, -0.37173715233802795, -1.0765697956085205, -0.4822400212287903, -0.39975205063819885, 0.21142937242984772, -0.16113516688346863, 1.0924172401428223, 1.2261080741882324, -0.6002874374389648, 0.40595972537994385, 0.41234061121940613, -0.2150789350271225, -0.24047836661338806, -0.1664915382862091, 0.28168344497680664, -0.39440953731536865, -0.648521363735199, 0.4184436500072479, 0.4824882447719574, -0.10628888010978699, -0.23865140974521637, -0.03605953976511955, 0.07792189717292786, -0.018528535962104797, 0.613886833190918, -0.10441087931394577, -0.9260848164558411, 0.15522027015686035, -0.029549797996878624, -0.27687665820121765, 0.11540624499320984, 0.6948330998420715, -0.5854632258415222, 0.8960660099983215, 0.22910667955875397, 0.941986620426178, -0.03865509852766991, 0.01720123551785946, 0.5661941170692444, -0.7997266054153442, 0.1943492889404297, 0.40478718280792236, 0.6797304153442383, 0.20830240845680237, -0.27032962441444397, 0.1652437001466751, 0.302425742149353, -0.5282024145126343, -0.5782409310340881, 0.13552632927894592, -1.2424328327178955, -0.4285436272621155, 0.9999231100082397, -0.1485958993434906, 0.06395627558231354, -0.25130483508110046, -0.5334050059318542, -0.10264155268669128, -0.32114139199256897, 0.5954421162605286, 0.47449183464050293, -0.08278416842222214, -0.35730457305908203, -0.7655379772186279, 0.12385310977697372, 0.5758867263793945, -0.6974971890449524, -0.5500599145889282, 0.5037034153938293, 0.5875083804130554, 0.023601844906806946, 0.7620137929916382, -0.1616886556148529, 0.3963325321674347, -0.19509153068065643, 0.12014689296483994, -0.3740141987800598, -0.42087554931640625, -0.04592272639274597, 0.24610252678394318, 0.009509534575045109, -0.4190689027309418 ]
http://arxiv.org/abs/2404.10229v1
http://arxiv.org/pdf/2404.10229v1
Generative Text Steganography with Large Language Model
2024-04-16T02:19:28
2024-04-16T02:19:28
Jiaxuan Wu, Zhengxian Wu, Yiming Xue, Juan Wen, Wanli Peng
cs.CL
cs.CL
Recent advances in large language models (LLMs) have blurred the boundary of high-quality text generation between humans and machines, which is favorable for generative text steganography. While, current advanced steganographic mapping is not suitable for LLMs since most users are restricted to accessing only the black-box API or user interface of the LLMs, thereby lacking access to the training vocabulary and its sampling probabilities. In this paper, we explore a black-box generative text steganographic method based on the user interfaces of large language models, which is called LLM-Stega. The main goal of LLM-Stega is that the secure covert communication between Alice (sender) and Bob (receiver) is conducted by using the user interfaces of LLMs. Specifically, We first construct a keyword set and design a new encrypted steganographic mapping to embed secret messages. Furthermore, to guarantee accurate extraction of secret messages and rich semantics of generated stego texts, an optimization mechanism based on reject sampling is proposed. Comprehensive experiments demonstrate that the proposed LLM-Stega outperforms current state-of-the-art methods.
[ -0.2599474787712097, -1.0860244035720825, 0.5286992192268372, 0.0665760189294815, -0.6645159125328064, 0.35049864649772644, -0.33972445130348206, -0.4278944730758667, 0.31875190138816833, 0.7368434071540833, -0.4262236952781677, -1.151674509048462, -0.7407766580581665, 0.1715797632932663, -0.4937075078487396, 0.630969762802124, -0.06033327803015709, -0.06749676913022995, -0.006360207684338093, 0.19864356517791748, -0.2412368506193161, -0.6628790497779846, -0.42168745398521423, -0.02665502205491066, 0.057463388890028, 0.06842674314975739, 0.7081320285797119, 0.46395474672317505, 0.3857891261577606, 0.21980959177017212, -0.33147957921028137, 0.2360723316669464, -0.7031157612800598, 0.4211285412311554, 0.01964518614113331, -0.516473650932312, -0.32075026631355286, -0.3071381151676178, 0.7495430707931519, 0.20690196752548218, -0.12672705948352814, -0.06759266555309296, -0.00889173150062561, 0.22220347821712494, -0.5178524255752563, 0.08981204032897949, -0.6586657762527466, 0.004128739237785339, -0.5054914355278015, -0.2690090239048004, -0.6280831098556519, -0.27468371391296387, -0.3307783007621765, -0.5538015365600586, 0.2644679546356201, 0.3721170723438263, 0.7969217896461487, -0.2066020369529724, -0.1108926385641098, -0.33965635299682617, -0.7858819961547852, 0.630225658416748, -0.7301768064498901, 0.20576223731040955, 0.5569576025009155, 0.2405877262353897, -0.2492896318435669, -0.5615248084068298, -0.6240054368972778, -0.36186879873275757, 0.16869942843914032, 0.021252496168017387, -0.3677352964878082, 0.13754944503307343, 0.1936068832874298, 0.4113943576812744, -0.3566149175167084, 0.2643432021141052, -0.3651386797428131, -0.20587877929210663, 0.5887511372566223, -0.01901525817811489, 0.4153745770454407, -0.10835584253072739, -0.635916531085968, -0.20669272541999817, -1.0734891891479492, -0.4931453466415405, 0.5836948752403259, 0.060509100556373596, -0.20361024141311646, 0.45961880683898926, 0.06358511745929718, 0.4202648401260376, -0.20453037321567535, -0.0682147964835167, 0.1018311083316803, 0.014021565206348896, -0.2978763282299042, -0.2275729775428772, 1.1986719369888306, 0.13178643584251404, 0.09683860093355179, -0.44538262486457825, -0.2565663158893585, 0.013602539896965027, 0.1485651582479477, -0.8776142001152039, 0.03812958300113678, -0.19375641644001007, -0.44422560930252075, -0.5776695609092712, -0.08145659416913986, -1.1244678497314453, -0.29850220680236816, 0.3220750689506531, 0.374732106924057, -0.2048991620540619, -0.025668401271104813, 0.050027381628751755, 0.08857422322034836, -0.05677894875407219, 0.2465568333864212, -0.9185140132904053, 0.28567802906036377, 0.5317942500114441, 0.8291246891021729, -0.0925944596529007, 0.14474767446517944, -0.530590832233429, 0.47408413887023926, -0.43031740188598633, 0.4209260940551758, -0.6685469150543213, -0.6760016679763794, 0.19315871596336365, -0.005712124519050121, 0.4839676320552826, -0.4378451704978943, 0.5353776812553406, -0.9131782650947571, 0.03146609291434288, 0.04521891474723816, -0.5319293737411499, -0.08613326400518417, -0.02169111743569374, -0.7408394813537598, 0.5984293222427368, -0.23217609524726868, -0.5014046430587769, 0.1917724609375, -0.2866351008415222, -0.5682079195976257, 0.5123468041419983, -0.2989175021648407, -0.8004462122917175, 0.023834023624658585, 0.2545641362667084, 0.6012657880783081, -0.32933422923088074, 0.386443555355072, -0.5438761711120605, -0.48847681283950806, 0.49929744005203247, -0.7177690863609314, 0.7900716662406921, 0.3535696268081665, -0.28719645738601685, 0.09302204102277756, -0.4259795546531677, -0.27762845158576965, 0.275907427072525, -0.3673369288444519, -0.5220738053321838, -0.19414839148521423, 0.0569482259452343, -0.22121526300907135, 0.3160751760005951, -0.4974352717399597, 0.32126039266586304, -0.41695964336395264, 0.5410794019699097, 0.7416771054267883, 0.0533229298889637, 0.5202991366386414, 0.05610878765583038, 0.7129311561584473, -0.2382323294878006, 0.15646551549434662, 0.0004833817947655916, -0.7692399024963379, -0.29506996273994446, -0.4022567570209503, 0.39287155866622925, 0.4092733561992645, -0.6978532671928406, 0.5039148926734924, -0.13070377707481384, -0.16126477718353271, -0.5314708948135376, 0.5271807312965393, 0.5426983833312988, 0.010417062789201736, -0.010447701439261436, -0.447977215051651, -0.1267123818397522, -0.845370888710022, 0.005778254009783268, -0.03171025961637497, -0.07241421937942505, 0.2636488378047943, 0.4345798194408417, -0.2196022868156433, 0.24760909378528595, -0.6494200229644775, -0.4155145585536957, -0.18770165741443634, 0.11475606262683868, -0.12634991109371185, 0.237811878323555, 0.5014375448226929, -0.595747709274292, -0.12914252281188965, -0.20166553556919098, -0.6743871569633484, -0.1271764189004898, -0.06811342388391495, -0.5868024826049805, 0.1533297896385193, 0.8064484000205994, -0.5687286853790283, 0.5961810946464539, 0.8380693793296814, -0.14836376905441284, 0.3767329752445221, -0.3258795738220215, 0.02235175296664238, -1.266879677772522, 0.05155836045742035, -0.10039664059877396, -0.4058786630630493, -0.5999895334243774, 0.47596755623817444, 0.24157574772834778, -0.4489639103412628, -0.16897428035736084, 0.5382894277572632, -0.8594282269477844, 0.025380222126841545, -0.25509604811668396, 0.0589233860373497, 0.0032209851779043674, 0.45851755142211914, -0.015152729116380215, 0.8188406229019165, 0.6275184154510498, -0.13581569492816925, 0.36971578001976013, 0.47913822531700134, -0.3221781551837921, 0.09017839282751083, -0.38830050826072693, 0.4879840910434723, -0.19521208107471466, 0.2560749053955078, -1.0776370763778687, -0.13913032412528992, 0.5633341073989868, -0.2862270474433899, 0.5272656679153442, -0.3562733232975006, -0.7501966953277588, -0.163252592086792, -0.3214659094810486, 0.23035967350006104, 0.8109181523323059, -0.506905734539032, 0.27474460005760193, 0.35554054379463196, -0.14753977954387665, -0.4048970639705658, -0.6783472299575806, 0.5335242748260498, -0.21115203201770782, -0.5956273674964905, 0.5223420262336731, 0.03081737458705902, -0.01868012361228466, -0.21125705540180206, 0.10455407202243805, 0.06611756235361099, 0.07256237417459488, 0.45014485716819763, 0.4547789692878723, 0.11347654461860657, 0.1100613996386528, 0.31093084812164307, 0.13555783033370972, 0.10734563320875168, 0.10047006607055664, 0.7380224466323853, 0.08423902094364166, -0.38654905557632446, -0.30968451499938965, 0.6279014945030212, 0.3647322654724121, -0.19174961745738983, 0.977057158946991, 0.5043837428092957, -0.4329284429550171, -0.5277398228645325, -0.41557809710502625, -0.28977495431900024, -0.5012044310569763, 0.18125945329666138, -0.3174014389514923, -0.8270784616470337, 0.4204729199409485, -0.03612411767244339, 0.07637385278940201, -0.01897258870303631, 0.3687339127063751, -0.04611761495471001, 0.7943031787872314, 0.37594327330589294, -0.08922766894102097, 0.44294458627700806, -0.38008561730384827, 0.14893604815006256, -0.8178663849830627, -0.2693403959274292, -0.3464599549770355, -0.22514140605926514, -0.1966174691915512, -0.3903273344039917, 0.3037862479686737, 0.43682026863098145, 0.07672671228647232, 0.24130280315876007, -0.4213905930519104, 0.1500479280948639, 0.6155979037284851, 0.4218236804008484, 0.483868271112442, 0.6169591546058655, -0.009243120439350605, 0.04042407497763634, -0.29148373007774353, -0.528852641582489, 1.390872836112976, 0.3106131851673126, 1.3381186723709106, 0.13252343237400055, 0.9987431764602661, 0.1960485726594925, 0.5614254474639893, -0.5295672416687012, 0.8200604319572449, -0.3692381978034973, -0.5741888284683228, -0.18825434148311615, -0.5678129196166992, -1.0416539907455444, 0.2367555797100067, -0.3418866693973541, -0.45284655690193176, -0.04022148251533508, -0.036731597036123276, 0.00743380282074213, 0.4885631799697876, -0.7112828493118286, 0.40396371483802795, -0.11043325811624527, -0.3705490231513977, -0.08388000726699829, -0.31473806500434875, 0.46563994884490967, -0.10341296344995499, 0.22532497346401215, 0.013124456629157066, -0.14542324841022491, 0.8881002068519592, -0.17162662744522095, 1.068995714187622, -0.03413846716284752, -0.5228766798973083, 0.03899841010570526, 0.4015200138092041, 0.8881385326385498, 0.2489999234676361, 0.10651714354753494, 0.3580450117588043, -0.6270665526390076, -0.0903567299246788, -0.41770732402801514, 0.8400868773460388, -0.5922722220420837, -0.891438364982605, -0.1928415149450302, -0.21117708086967468, 0.043844763189554214, 0.2317054569721222, 0.43122151494026184, 0.35445016622543335, -0.130377858877182, 0.1166628897190094, 0.6578657031059265, -0.430966854095459, 0.22111207246780396, 0.07172775268554688, -0.2646234631538391, -0.40603402256965637, 0.7609167695045471, -0.17057155072689056, 0.45286521315574646, 0.4146714210510254, 0.03013618476688862, -0.4035695791244507, -0.8478959798812866, -0.6053839921951294, 0.4263148009777069, -0.7370925545692444, -0.4202609658241272, -0.355357825756073, -0.31006860733032227, -0.3569595217704773, -0.36623355746269226, 0.09945488721132278, 0.08374305814504623, -0.7921559810638428, 0.1080341786146164, 0.38962501287460327, 0.3640974164009094, 0.3956439197063446, 0.3795963525772095, -0.3856271505355835, 0.8177571296691895, 0.39480477571487427, 0.31981295347213745, -0.08855848014354706, -0.6302735209465027, 0.23637911677360535, 0.00957060419023037, -0.31271854043006897, -1.2461791038513184, 0.7459511160850525, 0.023454783484339714, 0.41343173384666443, 0.5487000346183777, -0.04550831392407417, 0.3750000596046448, -0.32050031423568726, 0.45486417412757874, 0.2564062178134918, -0.8109377026557922, 0.44326838850975037, -0.35918524861335754, -0.022742457687854767, 0.1603461652994156, 0.08214791864156723, -0.2562098205089569, -0.6502953767776489, -0.45605310797691345, -0.8241574168205261, 0.5229543447494507, 0.3723679780960083, 0.4609554409980774, 0.27068647742271423, 0.4026734530925751, 0.16300871968269348, 0.3586514890193939, -0.9731838703155518, -0.33925437927246094, -0.10959023982286453, -0.2368861734867096, -0.033816322684288025, -0.33526766300201416, -0.42400965094566345, 0.13415087759494781, 0.4229508638381958, 0.04564240947365761, 0.5244942307472229, -0.21213467419147491, -0.1759740561246872, -0.11260730773210526, 0.5820770859718323, 0.5048278570175171, 0.2868189215660095, -0.07828544080257416, 0.405459463596344, 0.06690992414951324, -0.6687509417533875, 0.19588765501976013, 0.14662544429302216, -0.7203192710876465, -0.015373962931334972, 0.2841576039791107, 0.9145718216896057, 0.0626145750284195, -0.47480639815330505, 0.6894310116767883, 0.16739366948604584, -0.43351954221725464, -0.2101607620716095, 0.1211574375629425, 0.20314259827136993, 0.09191316366195679, 0.4646505117416382, -0.02455969899892807, 0.023473314940929413, -0.4282163679599762, -0.1179288774728775, 0.8297022581100464, -0.029642051085829735, -0.1869346797466278, 0.9187588691711426, 0.19660773873329163, -0.5303897261619568, 0.32277706265449524, -0.33889394998550415, -0.4636290371417999, 0.328798770904541, 0.8735378384590149, 0.8503454923629761, -0.17216041684150696, 0.4573237895965576, 0.0025627014692872763, 0.49369534850120544, -0.1432076096534729, 0.2802862823009491, -0.07919836044311523, -0.47353747487068176, -0.2536899447441101, -0.717465341091156, -0.1361187994480133, 0.6004178524017334, -0.3405463993549347, 0.22108808159828186, -0.6474330425262451, -0.09533083438873291, -0.25111091136932373, -0.2623530328273773, -0.47500675916671753, -0.15593506395816803, 0.2673302888870239, 0.6094774007797241, -0.7084840536117554, 0.6173654198646545, 0.28460898995399475, -0.028317304328083992, -0.37363073229789734, -0.004767848178744316, -0.3127632737159729, -1.2767198085784912, 0.505672812461853, -0.10778108239173889, -0.08197303116321564, 0.06821147352457047, -0.7846927642822266, -0.4460233151912689, 0.8620502352714539, 0.44580012559890747, -0.8880382180213928, -0.21515744924545288, -0.010712654329836369, 0.43689391016960144, -0.11849602311849594, -0.24933235347270966, -0.014497572556138039, 0.35314616560935974, -0.045786913484334946, -0.2712751030921936, 0.5524946451187134, -0.10556880384683609, 0.26776787638664246, 0.2413623332977295, -0.5531449317932129, 0.4751967489719391, -0.008350261487066746, -0.6993411183357239, 0.10275827348232269, 0.7217960357666016, 0.43958503007888794, -0.10789123922586441, 0.2983853220939636, 0.4375036954879761, 0.39063382148742676, -0.011491344310343266, 0.8775609731674194, 0.06860033422708511, 0.26036348938941956, 0.3607923090457916, -0.07982701063156128, 0.8285752534866333, 0.4973670244216919, -0.17974011600017548, 0.3537268042564392, 0.12559077143669128, -0.35045233368873596, 0.5582318305969238, 0.5870292782783508, -0.6421492099761963, -0.29023298621177673, 0.365499347448349, -0.2758263051509857, -0.015925541520118713, 0.5226151943206787, -0.6415234804153442, -0.17415323853492737, 0.2914590537548065, 0.10775052011013031, 0.15358857810497284, -0.17356161773204803, 0.6477716565132141, 0.15538683533668518, -0.3425142765045166, 0.9030560851097107, 0.37259483337402344, 1.0336006879806519, -0.4609720706939697, -0.0007985440897755325, -0.24275808036327362, -0.15099142491817474, 0.06247016042470932, -0.8221650123596191, -0.18049480020999908, 0.1293117254972458, 0.3087858259677887, -0.4267357587814331, 0.9285849928855896, -0.7096897959709167, -0.5745109915733337, 0.2592885494232178, 0.11062999069690704, 0.2554485499858856, -0.00008562741277273744, -0.3838336765766144, 0.38317441940307617, -0.07819507271051407, -0.1800248622894287, 0.23730413615703583, 0.06771552562713623, -0.18114276230335236, 0.7691988945007324, 0.8314416408538818, 0.5836897492408752, 0.19022199511528015, 0.3447078466415405, 0.6429345011711121, -0.5675795674324036, -0.6058753132820129, -0.88129061460495, -0.14394034445285797, -0.10331231355667114, -0.05956817790865898, 0.7323286533355713, 0.36637258529663086, 0.45192286372184753, -0.2170277088880539, 1.0406277179718018, 0.25838762521743774, 0.09156312048435211, -0.793234646320343, 0.8751534223556519, -0.4554157257080078, 0.38673636317253113, -0.38541072607040405, -0.7947260141372681, -0.2779466211795807, 0.42032578587532043, -0.1611502319574356, -0.02943284995853901, 0.29709315299987793, 1.0100276470184326, -0.2649751901626587, -0.15445241332054138, 0.41244634985923767, 0.07392477244138718, 0.47853994369506836, 0.7182599902153015, 0.8059601783752441, -0.44134068489074707, 0.9031269550323486, 0.0255215372890234, -0.29373612999916077, -0.586868166923523, -0.5520868897438049, -1.244739055633545, -0.6703364849090576, -0.11180083453655243, -0.34050852060317993, 0.2559761703014374, 0.11461348086595535, 0.5611249208450317, -0.454563170671463, -0.002103509148582816, -0.21915224194526672, -0.0077222734689712524, 0.10345485806465149, -0.16083772480487823, 0.4567360281944275, 0.19401752948760986, -0.6885685920715332, 0.3361780643463135, 0.24890564382076263, 0.6168387532234192, -0.7096580266952515, -0.018404794856905937, 0.19829684495925903, -0.013756992295384407, 0.25282037258148193, 0.17954270541667938, -0.764299213886261, -0.09014906734228134, 0.010418355464935303, -0.3359810411930084, 0.034773971885442734, 0.6491972208023071, -0.3351576328277588, 0.4072149097919464, 0.49428728222846985, 0.46552377939224243, 0.9917019605636597, 0.06458399444818497, 0.4696357250213623, -0.8823322653770447, 0.18108321726322174, -0.021862970665097237, 0.23764751851558685, 0.2777007818222046, -0.48277363181114197, -0.1488829255104065, 0.19371332228183746, -0.22309011220932007, -0.9574836492538452, 0.23873823881149292, -1.0148261785507202, -0.435528427362442, 1.5091735124588013, -0.08992420136928558, -0.404375284910202, -0.10529597848653793, -0.36214348673820496, 0.2144564688205719, -0.5760721564292908, 0.8999114036560059, 0.6424261927604675, 0.6535089015960693, -0.30147868394851685, -0.4965018630027771, 0.5446490049362183, 0.23754842579364777, -0.9478398561477661, 0.19538776576519012, 0.3700469732284546, 0.2863001823425293, 0.12755447626113892, 0.6059814095497131, -0.31770792603492737, 0.016364550217986107, -0.0026012815069407225, 0.08427932858467102, -0.36541804671287537, -0.35799458622932434, -0.32072606682777405, 0.4218619167804718, -0.11044500768184662, -0.30413296818733215 ]
http://arxiv.org/abs/2404.10228v2
http://arxiv.org/pdf/2404.10228v2
Two-Stage Stance Labeling: User-Hashtag Heuristics with Graph Neural Networks
2024-04-16T02:18:30
2024-05-17T14:07:24
Joshua Melton, Shannon Reid, Gabriel Terejanu, Siddharth Krishnan
cs.LG
cs.LG, cs.CL, cs.SI
The high volume and rapid evolution of content on social media present major challenges for studying the stance of social media users. In this work, we develop a two stage stance labeling method that utilizes the user-hashtag bipartite graph and the user-user interaction graph. In the first stage, a simple and efficient heuristic for stance labeling uses the user-hashtag bipartite graph to iteratively update the stance association of user and hashtag nodes via a label propagation mechanism. This set of soft labels is then integrated with the user-user interaction graph to train a graph neural network (GNN) model using semi-supervised learning. We evaluate this method on two large-scale datasets containing tweets related to climate change from June 2021 to June 2022 and gun control from January 2022 to January 2023. Our experiments demonstrate that enriching text-based embeddings of users with network information from the user interaction graph using our semi-supervised GNN method outperforms both classifiers trained on user textual embeddings and zero-shot classification using LLMs such as GPT4. We discuss the need for integrating nuanced understanding from social science with the scalability of computational methods to better understand how polarization on social media occurs for divisive issues such as climate change and gun control.
[ -0.23669122159481049, -0.9144433736801147, 0.5067572593688965, 0.13845479488372803, -0.3463829457759857, 0.5748729705810547, -0.287064790725708, -0.052201781421899796, 0.3830283284187317, 0.0049234312027692795, -0.21994435787200928, -0.7778943181037903, -0.882175862789154, -0.41820552945137024, -0.11700448393821716, 1.0077388286590576, 0.06112666428089142, 0.008894503116607666, 0.0783962607383728, -0.2109002023935318, -0.11802630871534348, -0.24634848535060883, -0.8355265855789185, -0.5199643969535828, 1.027957797050476, 0.2801240086555481, 0.9458411335945129, 0.4600628614425659, 0.22677695751190186, 0.18796850740909576, -0.5658622980117798, -0.29392412304878235, -0.430556982755661, -0.04580363631248474, -0.22860001027584076, 0.1547776311635971, 0.0010808211518451571, 0.1978723406791687, 0.7148776054382324, 0.6862346529960632, 0.05560069903731346, 0.10338535159826279, 0.050175879150629044, 0.23345410823822021, -0.3389967083930969, 0.19429592788219452, -0.3875483572483063, 0.031316183507442474, -0.16018737852573395, 0.08780136704444885, -0.23293451964855194, -0.09636190533638, -0.08688380569219589, -0.4185974597930908, 0.12882442772388458, -0.07043488323688507, 0.9504396319389343, 0.03371890261769295, -0.5476943850517273, 0.13587336242198944, -0.526009202003479, 0.747235119342804, -0.7592141628265381, 0.21991264820098877, 0.37162163853645325, 0.10746713727712631, -0.0724618062376976, -0.6633583903312683, -0.7663140296936035, 0.11010332405567169, 0.17863968014717102, 0.08379516750574112, 0.06722848117351532, -0.03781305253505707, 0.1445462703704834, -0.1869591623544693, -0.11688634753227234, 0.32884883880615234, -0.34777721762657166, -0.2678643465042114, 0.6694980263710022, -0.1907443106174469, 0.3703371286392212, -0.7538388967514038, -0.7100231647491455, -0.13986411690711975, -0.22416770458221436, 0.23463323712348938, 0.6732318997383118, 0.6210601925849915, -0.20093406736850739, 0.7218259572982788, 0.08296389877796173, 0.328374445438385, 0.1411946713924408, 0.032222624868154526, 0.20123685896396637, -0.4574606120586395, -0.0774955004453659, 0.10547510534524918, 1.0826398134231567, 0.610185980796814, -0.07885049283504486, -0.08441071212291718, -0.06670653074979782, -0.01230061985552311, 0.20713454484939575, -0.658352792263031, -0.18155236542224884, 0.2139715999364853, -0.45070621371269226, -0.6491682529449463, -0.016457702964544296, -0.7393132448196411, -1.0558509826660156, -0.36362147331237793, 0.4250410199165344, -0.0751868486404419, -0.36990460753440857, -0.10686106979846954, -0.37112295627593994, 0.30566975474357605, 0.33060675859451294, -0.5858445763587952, 0.030125435441732407, 0.9815041422843933, 1.0096279382705688, 0.03478254750370979, -0.0271752942353487, -0.27506235241889954, 0.1584184616804123, -0.37854817509651184, 0.6070833206176758, -0.7479736804962158, -0.23103275895118713, 0.0741165354847908, -0.19051609933376312, 0.1995357871055603, -0.03932834044098854, 0.2885518968105316, -0.7360045909881592, 0.0080195851624012, -0.6041767597198486, -0.5826258659362793, -0.23414920270442963, 0.41944414377212524, -0.5897550582885742, 1.1036653518676758, 0.05654643103480339, -0.9669848680496216, 0.5471088886260986, -0.49528768658638, -0.6135119199752808, 0.023957785218954086, -0.30939847230911255, -0.6872323155403137, -0.19628584384918213, -0.13799409568309784, 0.6163324117660522, -0.03646475449204445, 0.439094603061676, -0.7607042193412781, -0.1884555071592331, 0.04284469410777092, 0.15753385424613953, 1.1359754800796509, -0.04736369475722313, -0.4467659890651703, 0.28160610795021057, -0.10287461429834366, -0.2803334891796112, 0.06751038134098053, -0.4090602993965149, -0.11728081852197647, 0.1318441778421402, -0.03883767127990723, 0.37947574257850647, 0.13198548555374146, -0.5806692838668823, 0.20622994005680084, -0.016593866050243378, 0.7562611103057861, 0.8924746513366699, 0.23368412256240845, 0.5505579113960266, 0.09795507043600082, 0.2300238013267517, 0.06653542816638947, 0.20453377068042755, 0.24069641530513763, -0.6145619750022888, -0.4349108934402466, 0.259011834859848, 0.2630760669708252, 0.5432847142219543, -0.694873034954071, 0.3583493232727051, 0.027963003143668175, -0.16897287964820862, -0.07841187715530396, 0.40547609329223633, 0.21919095516204834, 0.5777573585510254, 0.4280565679073334, -0.1867762804031372, -0.3879062533378601, -0.6934204697608948, -0.3885115683078766, -0.5014607310295105, 0.4129990041255951, 0.10170421004295349, 0.4182559549808502, -0.04221280664205551, 0.7065684795379639, -0.1914852112531662, -0.11458037793636322, -0.21165619790554047, 0.7191607356071472, -0.08946038037538528, 0.059033386409282684, 0.4257442057132721, -1.0418422222137451, -0.5161903500556946, -0.054666388779878616, -0.6482946276664734, 0.15444031357765198, -0.10481669753789902, -0.253469318151474, 0.277194082736969, 0.6494268774986267, -0.28484171628952026, 0.6025035977363586, 0.3547416627407074, -0.4760781526565552, 0.06457897275686264, 0.2581135630607605, 0.05183056369423866, -1.393962025642395, -0.2926647365093231, 0.6530912518501282, -0.29469794034957886, -0.7305881977081299, -0.47840872406959534, -0.20640423893928528, -0.055387236177921295, -0.5464468598365784, 0.5261866450309753, -0.2630082964897156, -0.2157931625843048, -0.1838289201259613, 0.08083201199769974, -0.11870592087507248, 0.24207624793052673, -0.04154997691512108, 0.29481276869773865, 0.47884801030158997, -0.15861405432224274, 0.18561577796936035, 0.253968745470047, -0.013766048476099968, 0.3718738555908203, -0.5688561201095581, 0.34544727206230164, -0.3995632827281952, 0.37774696946144104, -1.4041231870651245, -0.1918785125017166, 0.7038746476173401, -0.4550469219684601, 0.5121966600418091, -0.5930684804916382, -0.7747286558151245, -0.6403332948684692, -0.46584150195121765, 0.21439900994300842, 0.22521339356899261, -0.306132972240448, 0.4866844713687897, 0.5058489441871643, -0.04180653393268585, -0.671035885810852, -0.46945521235466003, 0.41351351141929626, -0.2625088393688202, -0.4679741859436035, 0.22286644577980042, 0.2295161932706833, -0.23170515894889832, 0.10354240983724594, -0.10602373629808426, 0.19940218329429626, 0.02615918032824993, 0.17428545653820038, 0.047245848923921585, 0.10678227990865707, 0.19723109900951385, 0.044203680008649826, -0.13320522010326385, 0.06883662939071655, -0.4691879451274872, 0.46940985321998596, -0.18417881429195404, -0.095609650015831, -0.5513904094696045, 0.2512059211730957, 0.10770907253026962, 0.13057000935077667, 0.9216572046279907, 0.9741854667663574, -0.3784293532371521, -0.06384598463773727, -0.1708001047372818, -0.10415913909673691, -0.37460124492645264, 0.1220499575138092, 0.2460986226797104, -0.8467137217521667, 0.4335627257823944, -0.13057076930999756, 0.12137061357498169, 0.3039180338382721, 0.7607786655426025, -0.592891275882721, 1.0302737951278687, 0.5149129629135132, -0.08584075421094894, 0.652582049369812, -0.40177008509635925, 0.4105059802532196, -0.5551209449768066, -0.414308100938797, -0.35904040932655334, -0.8666924834251404, -0.4533421993255615, -0.7152978777885437, 0.1043785884976387, 0.27690020203590393, -0.4793161451816559, 0.33049654960632324, -0.47842127084732056, 0.27754491567611694, 0.3089831471443176, 0.3937006890773773, -0.09552658349275589, 0.19840717315673828, 0.10881250351667404, 0.012700634077191353, -0.23200638592243195, -0.49780237674713135, 0.8349549174308777, 0.3364177942276001, 0.48958462476730347, 0.16553302109241486, 0.8079992532730103, 0.7497729659080505, 0.4419409930706024, -1.1879160404205322, 0.5409355163574219, -0.11766652762889862, -0.5866836309432983, -0.5284096598625183, -0.24698954820632935, -0.6639986038208008, 0.10915551334619522, -0.14621320366859436, -0.7778407335281372, 0.2206469178199768, 0.2261073887348175, -0.20542749762535095, 0.46262872219085693, -0.5573270916938782, 0.8433728218078613, -0.20371229946613312, -0.5224842429161072, -0.08150148391723633, -1.0020090341567993, -0.19900278747081757, 0.2998567819595337, 0.11351355910301208, -0.40880152583122253, -0.29581424593925476, 1.0912812948226929, -0.41444137692451477, 1.2972103357315063, -0.7422294616699219, -0.05009721964597702, 0.4136592149734497, -0.2716238796710968, 0.3549962043762207, 0.25520387291908264, -0.2049831748008728, 0.22650188207626343, -0.31932759284973145, -0.6674274802207947, -0.3284609913825989, 0.41862305998802185, -0.8519569635391235, -0.5585755705833435, -0.32293909788131714, -0.2480449080467224, -0.19036291539669037, 0.41724663972854614, 0.19581791758537292, 0.3586687743663788, -0.1212744265794754, 0.09030702710151672, 0.5787258744239807, 0.08040401339530945, 0.6369631290435791, -0.088958241045475, -0.17889246344566345, -0.5123935341835022, 0.7826571464538574, 0.41897499561309814, 0.06423775106668472, 0.05671136453747749, 0.7101219296455383, -0.3546868562698364, -0.5292098522186279, -0.3260299563407898, 0.18059635162353516, -0.7535944581031799, -0.2746269106864929, -0.5378286838531494, -0.002802768489345908, -0.42505836486816406, -0.30656003952026367, -0.09090139716863632, -0.3559376001358032, -0.3220377564430237, -0.24309924244880676, 0.40207439661026, 0.6611486673355103, -0.09361936897039413, 0.6207939386367798, -0.16720573604106903, 0.43640410900115967, 0.0585344024002552, 0.21416376531124115, -0.16437099874019623, -0.3666442930698395, -0.08206260204315186, 0.09656193852424622, -0.3888498544692993, -1.23663330078125, -0.2160056084394455, 0.007338786497712135, 0.4289149343967438, 0.5202587246894836, 0.14697571098804474, 0.1689368486404419, -0.14854398369789124, 0.7343716025352478, 0.5193488001823425, -0.8076381683349609, 0.5424786806106567, -0.6541528701782227, -0.05612647905945778, 0.6318851113319397, 0.7172086834907532, -0.4440976083278656, -0.12845301628112793, -0.4891016483306885, -0.8218608498573303, 0.6970381736755371, 0.03276003897190094, 0.5727674961090088, -0.004065783228725195, 0.41237184405326843, -0.21436184644699097, 0.2605355978012085, -0.45621323585510254, -0.18170265853405, -0.4827585518360138, -0.1701928675174713, -0.06903281062841415, -0.0936979278922081, -0.4912881553173065, -0.48715561628341675, 0.6017447710037231, -0.43810442090034485, 0.028754454106092453, -0.22136302292346954, 0.16110669076442719, -0.10847346484661102, 0.1657947599887848, 0.15668509900569916, 0.5327661633491516, -0.09193255752325058, 0.20073750615119934, -0.05440886318683624, -0.1424330770969391, 0.16481639444828033, 0.18995033204555511, -0.4875294268131256, -0.13405299186706543, -0.046073343604803085, 0.8276152610778809, 0.2447713166475296, 0.24737142026424408, 0.7711169719696045, 0.18555261194705963, -0.44416752457618713, -0.19091753661632538, -0.33607426285743713, 0.5270608067512512, 0.3078199028968811, 0.17575831711292267, -0.04657796397805214, 0.13451851904392242, -0.7082346081733704, 0.1302429586648941, 0.36943545937538147, -0.6399780511856079, -0.533306896686554, 0.6381476521492004, -0.08865245431661606, -0.3776244521141052, 0.30036479234695435, -0.3313451111316681, -0.7568407654762268, 0.605411946773529, 0.4061533510684967, 0.677627444267273, -0.006710555870085955, 1.0109916925430298, 0.46616971492767334, 0.02517125755548477, -0.06113462522625923, 0.5211402773857117, -0.06935165077447891, -0.8774515986442566, -0.24829398095607758, -0.47881752252578735, -0.28585493564605713, -0.1511564552783966, -0.5147779583930969, 0.36540961265563965, -1.0454192161560059, -0.7690369486808777, 0.5478179454803467, 0.19655214250087738, -0.5599010586738586, 0.004832705482840538, 0.32244011759757996, 0.5824181437492371, -1.1152275800704956, 0.33626845479011536, 1.0781861543655396, -0.4606249928474426, -0.7648332715034485, 0.3016209602355957, 0.5705706477165222, -0.5106410384178162, 0.29096919298171997, 0.192546084523201, -0.1653137505054474, -0.00040918466402217746, -1.089723825454712, -0.3582738935947418, 1.0685662031173706, 0.15898573398590088, -0.1470346301794052, 0.14323624968528748, -0.07115659862756729, 0.5406444072723389, -0.014934929087758064, -0.27368903160095215, 0.2912086546421051, 0.6674756407737732, 0.4379520118236542, -0.12828049063682556, 0.15697090327739716, -0.06418300420045853, 0.14898043870925903, 0.328535258769989, -1.066150426864624, 0.5559995770454407, -0.2780390679836273, -0.29646003246307373, -0.4424740672111511, 0.9785869121551514, -0.07211734354496002, 0.5757406949996948, 0.768101692199707, 0.6304361820220947, 0.7559179663658142, -0.12105542421340942, 0.7397736310958862, 0.048396360129117966, 0.6172712445259094, 0.7155187129974365, -0.32803162932395935, 0.8254634141921997, 0.5363487005233765, -0.03698863461613655, 0.597455620765686, 0.8419910669326782, -0.13524138927459717, 0.2790991961956024, 0.3086143732070923, -0.403945654630661, -0.4977370798587799, -0.44841912388801575, 0.06315097212791443, 0.2546795606613159, 0.26426011323928833, -0.23521016538143158, -0.32183533906936646, 0.014448542147874832, 0.6294806003570557, 0.1569012999534607, -0.2690073251724243, 0.9985504150390625, 0.22505255043506622, -0.3028155565261841, 0.06036290153861046, 0.0683685690164566, 0.33881905674934387, -0.061322394758462906, 0.26427140831947327, 0.030111005529761314, -0.15387164056301117, -0.3619407117366791, -1.3366495370864868, 0.19318242371082306, -0.007078723981976509, -0.07852905988693237, -0.358329713344574, 0.9368875622749329, -0.254383385181427, -0.6104423999786377, 0.6036282777786255, 0.22155502438545227, -0.10207648575305939, 0.29136571288108826, -0.9323033690452576, 0.13993500173091888, -0.25141677260398865, -0.4832465350627899, 0.30620306730270386, 0.22311367094516754, -0.28484979271888733, 0.15458790957927704, 0.656549334526062, -0.16784214973449707, -0.050792817026376724, 0.5821051597595215, 1.1289676427841187, -0.44598299264907837, -0.27806660532951355, -0.796291172504425, 0.464232474565506, -0.4024169445037842, -0.17450137436389923, 0.5134815573692322, 0.3171547055244446, 0.5459526777267456, 0.6459493637084961, 1.0326999425888062, -0.4181288480758667, 0.10574794560670853, -0.26333215832710266, 0.4281095266342163, -0.6065973043441772, -0.07913859933614731, -0.15513503551483154, -0.7364149689674377, -0.45873650908470154, 0.29534295201301575, -0.4407072067260742, 0.25422725081443787, 0.21258972585201263, 0.6712085604667664, -0.09509728848934174, -0.05965990573167801, -0.08966375887393951, 0.058905135840177536, 0.38008004426956177, 0.008617818355560303, 0.7309200763702393, -0.11324497312307358, 0.46368408203125, -0.5066965818405151, -0.18845710158348083, -0.2930976450443268, -0.9119758605957031, -1.1068893671035767, -0.6088221669197083, -0.6688272953033447, -0.8394149541854858, 0.08695600181818008, 0.7722705006599426, 0.6980176568031311, -0.7294928431510925, 0.1060343012213707, 0.20319485664367676, 0.2194000482559204, 0.023704608902335167, -0.23802699148654938, 0.4286086857318878, -0.26891687512397766, -0.4802749454975128, 0.08869897574186325, 0.25628989934921265, -0.1130020022392273, -0.3281448781490326, -0.12985534965991974, -0.5153860449790955, 0.08170516788959503, 0.5676636695861816, 0.47507384419441223, -0.6881229281425476, -0.668424665927887, -0.012943344190716743, -0.2160346359014511, 0.1931946873664856, 0.7073262929916382, -0.32342734932899475, 0.5334391593933105, 0.843976616859436, 0.7154554724693298, 0.4996098577976227, 0.5309751629829407, 0.1936294585466385, -0.9818742275238037, -0.20369906723499298, 0.0983731672167778, 0.23811064660549164, 0.6709771156311035, -0.4254414141178131, 0.3099726438522339, 0.44574758410453796, -0.28982090950012207, -0.584364116191864, 0.1384580135345459, -1.267668604850769, -0.3084874749183655, 1.424080729484558, 0.016554225236177444, -0.28063496947288513, -0.2322687953710556, -0.09880826622247696, 0.784331738948822, -0.5828837752342224, 0.6184824109077454, 0.6793411374092102, -0.051064398139715195, -0.24408826231956482, -0.5286982655525208, 0.2093251645565033, 0.07060972601175308, -0.5610039830207825, -0.13476650416851044, 0.3220311403274536, 0.2222728282213211, 0.2580097019672394, 0.7225005626678467, 0.1366177648305893, -0.014523464255034924, -0.12822149693965912, -0.08913309872150421, -0.04684130847454071, -0.5370646119117737, -0.19071277976036072, 0.07313946634531021, -0.14183321595191956, -0.15098583698272705 ]
http://arxiv.org/abs/2404.10226v1
http://arxiv.org/pdf/2404.10226v1
Find The Gap: Knowledge Base Reasoning For Visual Question Answering
2024-04-16T02:11:46
2024-04-16T02:11:46
Elham J. Barezi, Parisa Kordjamshidi
cs.AI
cs.AI, cs.CL, cs.CV, cs.LG
We analyze knowledge-based visual question answering, for which given a question, the models need to ground it into the visual modality and retrieve the relevant knowledge from a given large knowledge base (KB) to be able to answer. Our analysis has two folds, one based on designing neural architectures and training them from scratch, and another based on large pre-trained language models (LLMs). Our research questions are: 1) Can we effectively augment models by explicit supervised retrieval of the relevant KB information to solve the KB-VQA problem? 2) How do task-specific and LLM-based models perform in the integration of visual and external knowledge, and multi-hop reasoning over both sources of information? 3) Is the implicit knowledge of LLMs sufficient for KB-VQA and to what extent it can replace the explicit KB? Our results demonstrate the positive impact of empowering task-specific and LLM models with supervised external and visual knowledge retrieval models. Our findings show that though LLMs are stronger in 1-hop reasoning, they suffer in 2-hop reasoning in comparison with our fine-tuned NN model even if the relevant information from both modalities is available to the model. Moreover, we observed that LLM models outperform the NN model for KB-related questions which confirms the effectiveness of implicit knowledge in LLMs however, they do not alleviate the need for external KB.
[ -0.5344065427780151, -1.1120206117630005, 1.0243760347366333, -0.03744446486234665, 0.003193178214132786, -0.0636870414018631, 0.05770369991660118, -0.7037138938903809, -0.12987159192562103, 0.5550135970115662, -0.6225611567497253, -0.3495437204837799, -0.6407361030578613, -0.047071658074855804, -0.10000192373991013, 0.09967734664678574, -0.23104901611804962, 0.34319350123405457, -0.8144949078559875, 0.013602075167000294, -0.8127968907356262, -0.3217223584651947, -0.35061782598495483, -0.023663803935050964, 0.6514721512794495, 0.4502253234386444, 0.542970597743988, 0.6036746501922607, 0.6589691042900085, 0.316026896238327, -0.32347509264945984, 0.181934654712677, -0.3785043954849243, 0.1478438824415207, 0.0023228980135172606, -0.6315139532089233, -0.24572420120239258, -0.2993675470352173, 0.35637423396110535, 1.0939370393753052, 0.22293518483638763, 0.14785587787628174, -0.10135731101036072, 0.7288554906845093, -0.5117908716201782, 0.2386280596256256, -0.6073700189590454, -0.08008625358343124, -0.034621309489011765, -0.10797982662916183, -0.23165705800056458, -0.18377038836479187, 0.4510553479194641, -0.817492663860321, 0.10412756353616714, -0.0006672406452707946, 0.8133440017700195, 0.4764614999294281, -0.7231857180595398, -0.1194983422756195, -0.5111867189407349, 0.4820877015590668, -0.4540005624294281, 0.6650720238685608, 0.33605337142944336, 0.3174252212047577, -0.0561167411506176, -0.8101068735122681, -0.5707995891571045, -0.2920432984828949, -0.04602468013763428, 0.14814259111881256, -0.21091090142726898, 0.13624118268489838, 0.5099887251853943, 0.235419362783432, -0.7040135860443115, -0.2668297588825226, -0.53227299451828, -0.057063210755586624, 0.36117619276046753, 0.07677282392978668, 0.4549497365951538, -0.27686700224876404, -0.44432127475738525, 0.09915386140346527, -0.7799750566482544, 0.34974008798599243, 0.19005149602890015, 0.11520653963088989, 0.257424533367157, 0.6646427512168884, -0.4421199560165405, 1.0506569147109985, -0.15702985227108002, 0.15780705213546753, -0.05385087430477142, -0.4157291352748871, -0.23280614614486694, -0.4230206310749054, 0.2503663897514343, 0.3915660083293915, 0.493013858795166, -0.2995259463787079, 0.12479667365550995, -0.021642042323946953, 0.2552681863307953, -0.5597974061965942, -0.227005735039711, -0.11333519220352173, -0.5152048468589783, 0.04185469448566437, -0.019186411052942276, -0.4670020639896393, -0.33827152848243713, -0.5134463310241699, 0.6900501251220703, -0.2792574167251587, -0.4300674498081207, 0.042981766164302826, -0.3801751434803009, 0.38808879256248474, 0.6333887577056885, -0.46248728036880493, 0.27139532566070557, 0.4757687747478485, 0.580197274684906, 0.04931095615029335, -0.14052733778953552, -0.29162535071372986, -0.01581609807908535, -0.52321457862854, 0.7730405926704407, -0.5519363284111023, -0.031528290361166, 0.007684863638132811, 0.10597966611385345, -0.21421712636947632, -0.5656721591949463, 0.07406162470579147, -1.1468744277954102, 0.17362070083618164, -0.9187296628952026, -0.6972740888595581, -0.49520257115364075, 0.43332570791244507, -0.7982754111289978, 0.6990349292755127, 0.1467539668083191, -0.7713742256164551, 0.29361581802368164, -0.48744210600852966, -0.22877375781536102, 0.06298523396253586, -0.34837451577186584, 0.0617135614156723, -0.07425188273191452, 0.39905160665512085, 0.2942933738231659, -0.2460068315267563, 0.15583287179470062, -0.46552133560180664, -0.39851468801498413, 0.060599084943532944, -0.09655594080686569, 0.7798330783843994, 0.038817763328552246, -0.20411323010921478, 0.0877251848578453, -0.45325759053230286, 0.08312104642391205, 0.20658472180366516, -0.23840047419071198, -0.5274308919906616, -0.12055454403162003, -0.33850762248039246, 0.2925011217594147, 0.2151486724615097, -0.4981482923030853, 0.27951622009277344, -0.19591709971427917, 0.1187649518251419, 0.6948543190956116, 0.22882713377475739, 0.49119481444358826, -0.018398582935333252, 0.5808534026145935, 0.15138226747512817, 0.17520931363105774, -0.18656706809997559, -0.736779510974884, -0.849941611289978, 0.21618250012397766, 0.3216976821422577, 0.6744521856307983, -0.9858222603797913, -0.0724007710814476, -0.05113798752427101, -0.2121400535106659, -0.37356480956077576, 0.28145885467529297, 0.30410826206207275, 0.899225652217865, 0.44700148701667786, -0.1518317610025406, -0.4895573854446411, -0.9829806685447693, -0.21656298637390137, -0.17833246290683746, 0.22613251209259033, 0.5475844740867615, 0.5089167356491089, 0.04584246873855591, 0.8347151279449463, -0.5072078704833984, 0.05935167148709297, -0.1599671095609665, -0.1118263378739357, 0.10114500671625137, 0.24364466965198517, 0.31645628809928894, -1.0719919204711914, -0.35736018419265747, -0.22537124156951904, -1.1298907995224, -0.11137408018112183, 0.10606332868337631, -0.2794105112552643, 0.014259720221161842, 0.8498876690864563, -0.7666522860527039, 0.6636971235275269, 0.13976001739501953, -0.5009863972663879, 0.3997339606285095, 0.11171245574951172, 0.3315155804157257, -0.8041405081748962, -0.0054292092099785805, -0.040911830961704254, -0.13038097321987152, -0.7078034281730652, 0.07405600696802139, 0.14323987066745758, -0.04876195266842842, -0.3033679723739624, 0.734525740146637, -0.6958764791488647, -0.04002493992447853, -0.21141153573989868, 0.1431128978729248, 0.10946425050497055, 0.7040470242500305, 0.21948903799057007, 0.5987730622291565, 0.7309140563011169, -0.593264639377594, 0.4196828603744507, 0.40559321641921997, -0.4476936459541321, 0.3568423092365265, -0.7832313179969788, 0.06642194837331772, -0.43775343894958496, -0.022740965709090233, -1.388126015663147, -0.263173371553421, 0.23088613152503967, -0.6175754070281982, 0.29599902033805847, -0.46621012687683105, -0.306074321269989, -0.4302327334880829, 0.10268213599920273, 0.6221596002578735, 0.5102654695510864, -0.5535319447517395, 0.5860837697982788, 0.2425762116909027, -0.3569281995296478, -0.8900750875473022, -0.5846601128578186, 0.06845930218696594, -0.03717406094074249, -1.1918500661849976, 0.13347740471363068, -0.0765010416507721, -0.3108922839164734, 0.2797800302505493, -0.2975080907344818, -0.11789417266845703, -0.007518052123486996, 0.2207890897989273, 0.3472137153148651, -0.5279678702354431, 0.35506221652030945, -0.2769724130630493, 0.0011343654477968812, 0.20764519274234772, -0.32543569803237915, 0.21793268620967865, -0.2443237006664276, -0.6129552721977234, 0.09211467206478119, 0.5400086641311646, 0.4026273787021637, -0.2077617347240448, 0.5469343066215515, 0.42827239632606506, -0.4776025414466858, 0.05940590053796768, -0.7822140455245972, -0.06216826289892197, -0.38975784182548523, 0.41477060317993164, -0.4797399342060089, -1.0930317640304565, 0.5123481154441833, 0.010919004678726196, -0.367942214012146, 0.29626861214637756, 0.4046613574028015, -0.3365047574043274, 1.0529385805130005, 0.968606173992157, 0.4526243209838867, 0.4433603882789612, -0.3136434257030487, 0.047435443848371506, -0.7541661858558655, -0.5225838422775269, -0.08648312091827393, -0.22872266173362732, -0.3517002761363983, -0.5773585438728333, 0.5462894439697266, 0.4876817762851715, -0.23712275922298431, 0.11300360411405563, -0.17948214709758759, 0.45479175448417664, 0.9112139940261841, 0.34632083773612976, 0.3142155706882477, -0.06828590482473373, -0.1705419421195984, -0.04734138399362564, -1.066284418106079, -0.171641007065773, 0.9812200665473938, 0.3137936592102051, 0.7787262201309204, 0.025992007926106453, 0.17836318910121918, -0.060437582433223724, -0.02022911049425602, -0.6618533730506897, 0.6351087689399719, 0.16856960952281952, -0.699025571346283, -0.3583637475967407, -0.532479465007782, -0.7123408913612366, 0.19290664792060852, -0.08019215613603592, -0.6634131073951721, 0.2652377784252167, 0.28808853030204773, -0.12647411227226257, 0.3480701148509979, -0.8574539422988892, 1.2136212587356567, -0.3715815246105194, -0.5615726709365845, 0.062411028891801834, -1.0014387369155884, 0.6825656890869141, 0.3411930203437805, -0.1386478841304779, 0.19553710520267487, 0.00983540527522564, 0.7458442449569702, -0.42721810936927795, 0.7389264702796936, -0.43357935547828674, 0.1155288964509964, 0.45281746983528137, 0.04564034193754196, 0.30118927359580994, -0.09133452922105789, 0.37839290499687195, 0.1519623100757599, -0.13575640320777893, -0.48365122079849243, -0.9929200410842896, 0.3914966583251953, -0.5435494780540466, -0.9013649225234985, -0.15852344036102295, -0.5410470366477966, -0.5583316683769226, 0.18697881698608398, 0.13939499855041504, 0.41298121213912964, 0.1258559226989746, 0.23690497875213623, 1.0637071132659912, -0.2442455291748047, 0.11611976474523544, 0.3487592935562134, -0.23588396608829498, -0.2551726996898651, 0.5737417340278625, 0.1997208446264267, 0.3087790310382843, 0.5976033806800842, 0.025126885622739792, -0.457846462726593, -0.4745524227619171, -0.6711171269416809, 0.12807528674602509, -1.100059151649475, -0.17454630136489868, -0.751226544380188, -0.3647036850452423, -0.43482598662376404, 0.216406911611557, -0.09627194702625275, -0.3909514248371124, 0.03552404046058655, -0.06329093128442764, 0.4585004150867462, 0.790237545967102, -0.07245484739542007, 0.21650011837482452, -0.7150188088417053, 0.5787240862846375, 0.7428173422813416, 0.549794614315033, 0.13827216625213623, -0.5134510397911072, -0.17681103944778442, -0.051323503255844116, -0.0598418153822422, -1.2516154050827026, -0.045116450637578964, -0.2902895212173462, 0.8059720993041992, 0.21400192379951477, -0.2642630934715271, 0.9235472679138184, -0.46715983748435974, 0.675578236579895, 0.12860408425331116, -0.5927013754844666, 0.5325905084609985, -0.3152783215045929, 0.28646600246429443, 0.3933475613594055, 0.5575045347213745, -0.44728484749794006, -0.1027853935956955, -0.5813792943954468, -0.840156078338623, 0.5013394951820374, 0.08139266818761826, -0.18229340016841888, 0.18216146528720856, 0.268233984708786, -0.07228568941354752, 0.24033772945404053, -0.8122193217277527, -0.2224108874797821, -0.12217404693365097, -0.07245663553476334, 0.264303594827652, -0.2499772161245346, -0.08070796728134155, -0.4044532775878906, 0.47803404927253723, -0.057493507862091064, 0.3240458071231842, 0.37537896633148193, -0.3130442202091217, -0.24147580564022064, 0.09835033118724823, 0.27031686902046204, 0.9336167573928833, -0.06491086632013321, 0.21078822016716003, 0.20525658130645752, -0.11576641350984573, -0.12744517624378204, 0.12832500040531158, -0.19450782239437103, -0.08561261743307114, 0.5761494636535645, 0.8793985843658447, 0.01512076985090971, -0.7344764471054077, 0.8160919547080994, -0.11174213141202927, -0.3331301510334015, -0.2030428946018219, -0.00867728516459465, 0.4155401587486267, 0.5823492407798767, 0.3207649290561676, 0.2130374163389206, 0.09115836769342422, -0.3584847152233124, 0.2911984622478485, 0.7077610492706299, -0.37420764565467834, 0.0433172844350338, 0.6544066667556763, 0.04249884933233261, -0.13501715660095215, 0.7027661800384521, 0.08831701427698135, -0.6207594275474548, 0.7701451182365417, 0.3033194839954376, 0.42535483837127686, 0.12651658058166504, 0.0545237734913826, 0.3777371048927307, 0.5260382294654846, 0.04148050770163536, 0.4619859755039215, -0.2702007293701172, -0.6714237928390503, -0.6783460378646851, -0.31115105748176575, -0.2986849248409271, 0.2762833833694458, -0.4814451038837433, -0.010715874843299389, -0.058548443019390106, 0.08805251866579056, -0.23339544236660004, -0.21296100318431854, -0.9679080247879028, 0.26754283905029297, 0.4977976381778717, 1.2391430139541626, -0.7959135174751282, 0.37503862380981445, 0.6872555613517761, -0.6565232276916504, -0.9759368896484375, -0.09157902747392654, -0.17438016831874847, -0.9444611668586731, 0.8733458518981934, 0.13994042575359344, 0.007988039404153824, -0.11157982051372528, -0.8804649114608765, -1.1202691793441772, 1.1286451816558838, 0.30479976534843445, -0.3683110177516937, -0.30918043851852417, -0.005802581086754799, 0.3702195882797241, -0.14556236565113068, 0.2656613290309906, 0.26845595240592957, 0.5196017026901245, 0.4530135989189148, -0.7482892870903015, 0.010007314383983612, -0.5678864121437073, 0.04208217188715935, 0.04788839817047119, -0.34566977620124817, 0.7198461890220642, -0.5490806698799133, -0.10558731108903885, 0.039500460028648376, 0.6027739644050598, 0.311405748128891, 0.37923213839530945, 0.5743566155433655, 0.6753726601600647, 0.6154308319091797, -0.09110978990793228, 0.9571914672851562, -0.0690469741821289, -0.059320252388715744, 0.9125140309333801, 0.03775562718510628, 0.7122194766998291, 0.6910004615783691, -0.03673546016216278, 0.5816137194633484, 0.8311455249786377, 0.05993924289941788, 0.48590779304504395, 0.201111301779747, 0.0034035551361739635, -0.6377261281013489, 0.049153849482536316, -0.5445224046707153, 0.3046990633010864, 0.18419896066188812, -0.19505080580711365, -0.20510660111904144, -0.08724131435155869, -0.3966764211654663, -0.13895060122013092, -0.40596896409988403, 0.856663703918457, 0.17158298194408417, -0.880938708782196, 0.45397064089775085, -0.24436698853969574, 0.2396182268857956, -0.6072299480438232, -0.32685402035713196, -0.2381831407546997, -0.1510411500930786, -0.10701211541891098, -0.8304100036621094, 0.08841696381568909, -0.04356050491333008, -0.3210960030555725, -0.12450851500034332, 1.1737637519836426, -0.6027770042419434, -0.5773385167121887, 0.3711392879486084, 1.299655556678772, -0.003024625824764371, -0.27078214287757874, -0.5092101693153381, -0.2895398736000061, -0.1900479942560196, -0.4661708474159241, 0.08754505217075348, 0.5518918633460999, -0.14425808191299438, 0.8033236265182495, 0.583511471748352, 0.031246913596987724, 0.47460412979125977, 0.14568166434764862, 0.8850075006484985, -0.8175172209739685, -0.4814048707485199, -0.5988343358039856, 0.6416041851043701, -0.170427143573761, -0.05806165561079979, 0.6904226541519165, 0.3232821822166443, 0.8528187274932861, -0.31837522983551025, 0.8964259624481201, -0.10250820964574814, 0.4603678286075592, -0.7164347767829895, 0.40425562858581543, -0.914845883846283, 0.1760392040014267, -0.37013426423072815, -0.741276204586029, -0.18102842569351196, 0.47867345809936523, -0.43523329496383667, 0.19588355720043182, 0.6839108467102051, 0.9612247943878174, -0.17932569980621338, -0.08482109755277634, 0.4198487102985382, 0.0559043362736702, -0.09547951072454453, 0.9124728441238403, 1.3954991102218628, -0.34287452697753906, 0.821739673614502, -0.12402345985174179, -0.23033007979393005, -0.018261108547449112, -0.7525397539138794, -0.7728790640830994, -0.5903691649436951, -0.1431722342967987, -0.19305531680583954, 0.0633944422006607, 0.48005080223083496, 0.8167338371276855, -0.3862551748752594, -0.05382274463772774, -0.3151930570602417, 0.44901448488235474, -0.13783299922943115, -0.25287482142448425, 0.2887127101421356, -0.39852243661880493, -0.2893012762069702, 0.3697383999824524, 0.2351408153772354, 0.0386553630232811, -0.1563969999551773, -0.06694714725017548, -0.3116738498210907, -0.15448327362537384, 0.5032274127006531, 0.24279525876045227, -0.7578723430633545, -0.2674019932746887, 0.641735315322876, -0.05778372287750244, 0.21793927252292633, 0.8354198336601257, -0.8393434882164001, 0.5819600820541382, 0.7787660956382751, 1.0212141275405884, 0.5756022930145264, 0.13791903853416443, 0.582581639289856, -0.7644533514976501, -0.24512240290641785, 0.15559524297714233, 0.4656151235103607, 0.32989227771759033, -0.2679655849933624, 0.4855732321739197, 0.4590728282928467, -0.4094667434692383, -0.589730441570282, 0.4738946557044983, -1.1118167638778687, -0.5425819158554077, 1.2070318460464478, 0.005401381757110357, -0.25919896364212036, -0.20921790599822998, -0.13013409078121185, 0.32332342863082886, 0.1562630832195282, 0.44474202394485474, 0.7478674054145813, -0.49427542090415955, -0.4398747682571411, -0.7989255785942078, 0.44299739599227905, 0.4155372083187103, -0.8218780755996704, -0.054596371948719025, 0.6432640552520752, 0.4309828281402588, 0.15494367480278015, 0.796100378036499, 0.03926560655236244, 0.6151242852210999, 0.17534996569156647, -0.09407252073287964, -0.48037993907928467, -0.6724857091903687, -0.1829005926847458, 0.2257453203201294, 0.010934176854789257, -0.22506973147392273 ]
http://arxiv.org/abs/2404.10199v3
http://arxiv.org/pdf/2404.10199v3
CULTURE-GEN: Revealing Global Cultural Perception in Language Models through Natural Language Prompting
2024-04-16T00:50:43
2024-04-26T18:39:54
Huihan Li, Liwei Jiang, Jena D. Huang, Hyunwoo Kim, Sebastin Santy, Taylor Sorensen, Bill Yuchen Lin, Nouha Dziri, Xiang Ren, Yejin Choi
cs.CL
cs.CL, cs.AI
As the utilization of large language models (LLMs) has proliferated worldwide, it is crucial for them to have adequate knowledge and fair representation for diverse global cultures. In this work, we uncover culture perceptions of three SOTA models on 110 countries and regions on 8 culture-related topics through culture-conditioned generations, and extract symbols from these generations that are associated to each culture by the LLM. We discover that culture-conditioned generation consist of linguistic "markers" that distinguish marginalized cultures apart from default cultures. We also discover that LLMs have an uneven degree of diversity in the culture symbols, and that cultures from different geographic regions have different presence in LLMs' culture-agnostic generation. Our findings promote further research in studying the knowledge and fairness of global culture perception in LLMs. Code and Data can be found in: https://github.com/huihanlhh/Culture-Gen/
[ -0.5165391564369202, -0.7196095585823059, 0.5972970128059387, 0.3313850164413452, -0.04589042812585831, 0.23952610790729523, -0.40895217657089233, -0.6744117736816406, 0.1908077746629715, 0.43116191029548645, -0.887013852596283, -0.3739379942417145, -0.37906327843666077, 0.5136129856109619, -0.07814030349254608, 0.7637122273445129, 0.13179893791675568, 0.4095953106880188, -0.1997150331735611, -0.006012332160025835, -0.2243182361125946, -0.6086360812187195, -0.5666804909706116, -0.505366861820221, 0.08938276767730713, 0.7137002348899841, 0.422272652387619, 0.24717111885547638, 0.14785349369049072, 0.23860734701156616, -0.21226412057876587, -0.03809869661927223, -0.4681262969970703, 0.24217674136161804, 0.0016741938889026642, -0.5703383088111877, -0.3316793441772461, 0.12324340641498566, 0.5025917291641235, 0.6224649548530579, 0.08035173267126083, 0.5835908651351929, 0.28702935576438904, 0.519855260848999, -0.3446262776851654, 0.02881479077041149, -0.6538500785827637, 0.22986069321632385, -0.11187634617090225, -0.4172567129135132, -0.5141597986221313, -0.598926842212677, 0.1119861900806427, -0.5838738679885864, 0.4830488860607147, 0.20912162959575653, 0.629708468914032, -0.016587447375059128, -0.7814018726348877, -0.21813194453716278, -0.8357691168785095, 0.8747320175170898, -0.16587308049201965, 0.3070782423019409, 0.3009459376335144, 0.25072744488716125, -0.3181087076663971, -0.5237840414047241, -0.6590437889099121, -0.1496724635362625, 0.10384470224380493, 0.21483896672725677, -0.1682804375886917, -0.2238922268152237, 0.3223000764846802, 0.5217088460922241, -0.506753146648407, 0.14831358194351196, -0.2798953056335449, -0.3301805555820465, 0.41962969303131104, -0.017612984403967857, 0.734013020992279, -0.2624133825302124, -0.5221689343452454, 0.09662937372922897, -1.2577844858169556, 0.09214220941066742, 0.5000212788581848, 0.3130896985530853, -0.34224510192871094, 0.018957659602165222, -0.34401947259902954, 0.6968012452125549, -0.17374078929424286, -0.06242651492357254, 0.21684406697750092, -0.1498485803604126, -0.06395750492811203, -0.05625004693865776, 0.7179824709892273, 0.4208236038684845, 0.7534613013267517, 0.05853904038667679, 0.07246584445238113, 0.12238333374261856, -0.15305963158607483, -0.7983741760253906, 0.1286199390888214, -0.14857332408428192, -0.6554543972015381, -0.2753901183605194, -0.011236821301281452, -0.8772597908973694, -0.7537853121757507, -0.09667149931192398, 0.00694327661767602, -0.05982770398259163, -0.4145504832267761, -0.02225683070719242, -0.289529949426651, 0.2563309073448181, 0.06438880413770676, -1.1776691675186157, -0.14744900166988373, 0.4746569097042084, 0.5413804054260254, 0.13038498163223267, -0.11667508631944656, -0.024272629991173744, 0.0014682542532682419, -0.28284239768981934, 0.7550017833709717, -0.8883252143859863, -0.5308274030685425, 0.3284175992012024, 0.00933428667485714, 0.2886708378791809, -0.6501875519752502, 0.6876547932624817, -0.5493963360786438, 0.2735975384712219, -0.8733915090560913, -0.10255644470453262, -0.2738644778728485, 0.30317437648773193, -0.6217328906059265, 0.8554345369338989, 0.04786742106080055, -0.5350568890571594, 0.8386954665184021, -0.38672444224357605, -0.2825036644935608, 0.38632363080978394, -0.46551477909088135, 0.06454039365053177, 0.19927674531936646, 0.4004470407962799, 0.5500771403312683, -0.43349891901016235, 0.39892372488975525, -0.3459671437740326, -0.18122664093971252, 0.15554511547088623, -0.39884093403816223, 0.9653964638710022, 0.6386409997940063, -0.18172277510166168, 0.11504820734262466, -0.7860726714134216, -0.2601841688156128, 0.5059210062026978, -0.41730383038520813, -0.42803096771240234, -0.08474915474653244, -0.05995194986462593, 0.27610889077186584, 0.2745390832424164, -0.5590792894363403, 0.3975406587123871, -0.2399875521659851, 0.6896894574165344, 0.6387656331062317, 0.018472446128726006, 0.5893213152885437, -0.23055388033390045, 0.8659183979034424, -0.06816741824150085, 0.36338523030281067, -0.07282599806785583, -0.6586287617683411, -0.7285861372947693, -0.12008585780858994, -0.10736636817455292, 0.36540091037750244, -0.9227742552757263, 0.1004331111907959, -0.30536189675331116, -0.29556187987327576, -0.5581381916999817, 0.262745201587677, 0.12131525576114655, 0.3742915689945221, 0.038295771926641464, 0.012237239629030228, -0.9296353459358215, -0.8143802285194397, -0.1869327276945114, -0.25122517347335815, -0.21755029261112213, 0.10353787243366241, 0.29288479685783386, -0.04883136600255966, 1.0159180164337158, -0.24104714393615723, -0.025089504197239876, -0.6349145770072937, 0.04788285121321678, 0.13008393347263336, 0.060062434524297714, 0.6629207134246826, -0.7746087312698364, -0.4249349534511566, -0.1146487295627594, -0.7727029919624329, -0.31658801436424255, 0.19094817340373993, -0.04587022587656975, 0.25104057788848877, 0.8291016221046448, -0.07132937014102936, 0.12526677548885345, 1.0982434749603271, -0.4664626717567444, 0.318560928106308, -0.03926756605505943, 0.23467247188091278, -1.0560872554779053, 0.023712441325187683, 0.0726422369480133, 0.016220109537243843, -0.8800892233848572, 0.21801379323005676, 0.1982991248369217, 0.0665360689163208, -0.24192099273204803, 0.6886049509048462, -0.6118909120559692, 0.13792723417282104, 0.008840333670377731, 0.09373927861452103, 0.11575082689523697, 0.03759279102087021, 0.23460277915000916, 0.8049224615097046, 0.5129076838493347, -0.6345679759979248, 0.13693863153457642, 0.11411046236753464, -0.6767351627349854, 0.4557960033416748, -0.2602238655090332, 0.06003447622060776, -0.34574756026268005, 0.590650200843811, -0.6584821939468384, -0.24785450100898743, 0.15717922151088715, -0.31649327278137207, -0.09602352231740952, -0.3266265392303467, -0.44447091221809387, -0.4404650926589966, -0.013785880990326405, 0.6350101232528687, 0.7488064169883728, -0.6368231773376465, 0.4252622723579407, 0.23044165968894958, -0.33388951420783997, -0.478789359331131, -0.6016401052474976, -0.012672306038439274, -0.517930805683136, -0.6576427221298218, 0.0374579019844532, -0.24789321422576904, -0.438297301530838, -0.5519067049026489, -0.01851462945342064, 0.3071786165237427, 0.2996896207332611, 0.3103725016117096, 0.2881019115447998, -0.18742243945598602, -0.04624322056770325, -0.17652061581611633, 0.09834550321102142, 0.2535218894481659, -0.4469846487045288, 0.8054307103157043, -0.10057590901851654, -0.32270973920822144, 0.06628744304180145, 0.21251408755779266, 0.33538728952407837, -0.25351017713546753, 0.6320016384124756, 0.523577868938446, -0.34776759147644043, -0.21800649166107178, -0.6241538524627686, -0.336167573928833, -0.5128157734870911, 0.06154295802116394, -0.2849647104740143, -1.124503493309021, 0.8546814918518066, -0.10599490255117416, -0.32607269287109375, 0.48819610476493835, 0.7174361348152161, 0.19299128651618958, 1.1262348890304565, 0.7589170932769775, -0.2325841337442398, 0.3724806606769562, -0.20407499372959137, 0.3345143795013428, -0.37763023376464844, -0.4483638405799866, -0.6906303763389587, -0.3213828206062317, -0.860393226146698, -0.27611005306243896, 0.4775543808937073, 0.13129249215126038, -0.25701868534088135, -0.4971219599246979, -0.19721460342407227, 0.7096594572067261, 0.6804147958755493, -0.24618211388587952, 0.49785807728767395, 0.12570996582508087, -0.4054979979991913, 0.021757712587714195, -0.6839224696159363, -0.6772540807723999, 0.7564032673835754, 0.4554281532764435, 0.7246649861335754, 0.10668111592531204, 0.7040528059005737, 0.07369059324264526, 0.3196519911289215, -0.6975806355476379, 0.6367118954658508, -0.2580934166908264, -0.76227205991745, -0.006453916430473328, -0.4220965802669525, -1.0322051048278809, -0.11762437224388123, -0.20442654192447662, -0.832011878490448, 0.32376328110694885, 0.09886681288480759, -0.458980530500412, 0.07085975259542465, -0.5703572630882263, 0.5805343389511108, 0.02816314622759819, 0.0646357536315918, -0.04113805666565895, -0.558064877986908, 0.5216230154037476, 0.036859117448329926, 0.7093865275382996, -0.43853849172592163, 0.41793644428253174, 0.5650151371955872, -0.050949618220329285, 0.8920007348060608, -0.24371689558029175, -0.46326449513435364, 0.310334712266922, 0.19776847958564758, 0.16613274812698364, 0.027751559391617775, -0.2491358369588852, 0.21088969707489014, -0.23168648779392242, -0.24306899309158325, -0.27687060832977295, 0.7318567037582397, -0.7979264259338379, -0.6956526637077332, -0.19116544723510742, -0.6405901908874512, -0.2752552926540375, 0.12755616009235382, 0.5493846535682678, 0.3547668755054474, -0.24023374915122986, 0.1814589947462082, 0.6877297163009644, -0.5949773788452148, 0.33213189244270325, 0.4445517957210541, -0.5432455539703369, 0.10588505119085312, 0.7444254159927368, 0.07103931903839111, 0.40198609232902527, 0.17620781064033508, 0.43309152126312256, -0.2281593531370163, -0.2762686610221863, -0.49013155698776245, -0.07549184560775757, -0.8806053996086121, -0.08375023305416107, -0.3043007552623749, -0.1001492589712143, -0.5756129622459412, -0.21557635068893433, 0.23040619492530823, -0.1059194952249527, -0.05924401804804802, -0.3311675190925598, 0.4536774158477783, 0.9222714304924011, -0.109441377222538, 0.2960565686225891, -0.6782988905906677, 0.2447417974472046, 0.39701902866363525, 0.19226296246051788, -0.1311587393283844, -0.5750025510787964, 0.0370023176074028, 0.04212753847241402, -0.005912464577704668, -0.8959932923316956, 0.4195554852485657, 0.1312326043844223, 0.6978856325149536, 0.7074411511421204, 0.13416387140750885, 0.5356585383415222, -0.3547978103160858, 0.9519028663635254, -0.05020442232489586, -0.8279131054878235, 0.558384358882904, -0.43155619502067566, 0.5415998697280884, 0.1929825395345688, 0.46650999784469604, -0.8507447838783264, -0.8230360150337219, -0.5258429050445557, -0.8654533624649048, 0.6449005603790283, -0.3564222753047943, 0.4731331467628479, -0.1350029706954956, 0.12418627738952637, 0.322858065366745, -0.06943626701831818, -0.9240135550498962, -0.3328492343425751, -0.12110698223114014, -0.10803040117025375, -0.03898089751601219, -0.6675229072570801, -0.1807764619588852, -0.06579940766096115, 0.5157373547554016, -0.19205573201179504, 0.05300625413656235, 0.008758798241615295, -0.18571783602237701, -0.366375595331192, 0.5564872026443481, 0.6118491888046265, 0.67481929063797, -0.0778467208147049, 0.28445494174957275, 0.3205646276473999, -0.5175656080245972, 0.19074827432632446, -0.3153863251209259, -0.5013789534568787, -0.19732899963855743, 0.1967218667268753, 0.8068386912345886, -0.32989805936813354, -0.3291442394256592, 0.2344084233045578, -0.3021271824836731, -0.004289603792130947, -0.30621248483657837, 0.006223849952220917, 0.08114698529243469, 0.1915866583585739, 0.7176788449287415, -0.19131366908550262, 0.11750530451536179, -0.8590578436851501, -0.22354969382286072, 0.48368263244628906, -0.2466425895690918, -0.24685931205749512, 0.7081278562545776, 0.3921368420124054, 0.09546563029289246, 0.6051132082939148, -0.4385078549385071, -0.7027171850204468, 0.4917750954627991, 0.6596283912658691, 0.6719061136245728, -0.3370186686515808, 0.3973967730998993, 0.4076325297355652, 0.3392643630504608, -0.07006973028182983, 0.6507051587104797, 0.20506416261196136, -1.170655369758606, -0.5167092084884644, -0.9167220592498779, -0.17549408972263336, 0.23381254076957703, -0.7521671056747437, 0.2520984709262848, -0.40525537729263306, -0.3027471899986267, -0.33327630162239075, -0.12480343133211136, -1.0008724927902222, 0.3256327211856842, 0.6018180847167969, 1.0182900428771973, -1.4054272174835205, 0.8834197521209717, 0.6530406475067139, -0.19019252061843872, -0.8849025964736938, 0.26275649666786194, 0.29608699679374695, -1.321197271347046, 0.9004461765289307, 0.22642943263053894, -0.09199751913547516, 0.04159530997276306, -0.6413998007774353, -0.6731973886489868, 0.7196499705314636, 0.48316293954849243, -0.4306461215019226, 0.27469632029533386, 0.24012039601802826, 0.5689424276351929, -0.308300644159317, 0.16502420604228973, 0.76865154504776, 0.5176018476486206, 0.1461436152458191, -0.7192825675010681, 0.18577690422534943, -0.283802330493927, 0.07562297582626343, 0.011457224376499653, -0.6110432744026184, 0.6348332166671753, -0.2891017496585846, -0.23237714171409607, 0.002383016748353839, 0.7086331248283386, 0.8350715637207031, 0.2959601879119873, 0.5295164585113525, 0.007923337630927563, 0.7256150245666504, -0.40417155623435974, 0.7740169763565063, -0.5288336277008057, 0.02102898620069027, 0.5797818303108215, -0.15951719880104065, 0.658292293548584, 0.520995557308197, -0.05631917342543602, 0.6688100695610046, 0.7947148084640503, -0.01887805573642254, 0.20308230817317963, 0.33924755454063416, -0.41101497411727905, -0.4041089415550232, -0.6946998238563538, -0.6926717162132263, 0.6500536203384399, 0.4414958357810974, -0.3025473952293396, 0.041759565472602844, 0.09159588813781738, 0.26838183403015137, 0.03889555111527443, -0.37802961468696594, 0.5187696218490601, 0.247596874833107, -0.7691051959991455, 0.49594879150390625, -0.18949545919895172, 0.9153861999511719, -0.640356719493866, 0.13977910578250885, -0.6923296451568604, -0.30851519107818604, -0.25694429874420166, -0.6311504244804382, 0.00666554132476449, 0.11281528323888779, -0.3568573296070099, -0.7523711919784546, 0.8067291378974915, -0.28786513209342957, -0.5636644959449768, 0.3073536157608032, 0.6067908406257629, 0.12032482028007507, -0.004478678107261658, -0.1929091066122055, 0.1783960908651352, 0.29899629950523376, -0.28855639696121216, 0.3034159541130066, 0.6885013580322266, -0.447115421295166, 0.8506841063499451, 0.4552342891693115, 0.1280238777399063, 0.0876183733344078, 0.5945466756820679, 0.2622371017932892, -0.5910754203796387, -0.5191971063613892, -1.0543535947799683, 0.2979795038700104, 0.06502874940633774, -0.10936300456523895, 0.8315209150314331, 0.0955561175942421, 0.9751155972480774, -0.22890394926071167, 1.0432217121124268, -0.17975008487701416, 0.26700541377067566, -0.6695598363876343, 0.9194943904876709, -0.5758487582206726, 0.16062192618846893, 0.001949385041370988, -0.7902709245681763, -0.1820669025182724, 0.41387975215911865, -0.4770132005214691, 0.36869508028030396, 0.42862361669540405, 0.8009420037269592, 0.3167700469493866, 0.28554779291152954, 0.2385931760072708, 0.35335445404052734, 0.1640419065952301, 0.21818025410175323, 1.360162377357483, 0.3115180432796478, 0.592757523059845, 0.027121255174279213, -0.08679447323083878, -0.2468263804912567, -1.0625829696655273, -0.49068063497543335, -0.6790669560432434, -0.21198435127735138, -0.2931880056858063, -0.3717104196548462, 0.9810171127319336, 0.5093912482261658, -0.9911925792694092, -0.2747991383075714, 0.19620713591575623, 0.029731471091508865, 0.0005593043752014637, -0.2107764482498169, -0.1321268081665039, -0.1597573608160019, -0.917969286441803, 0.49117639660835266, 0.18460522592067719, 0.25652945041656494, -0.6066471934318542, -0.1047578677535057, 0.23269256949424744, -0.13624083995819092, 0.5635550022125244, 0.24272498488426208, -0.8311151266098022, -0.34307214617729187, -0.03293415531516075, -0.11174329370260239, -0.12258900701999664, 0.8626570701599121, -0.7854028344154358, 0.42559242248535156, 0.8010734915733337, -0.06664927303791046, -0.04841672256588936, -0.188704714179039, 0.9652784466743469, -1.1657754182815552, 0.36806902289390564, -0.013146040961146355, 0.5643307566642761, 0.5449363589286804, -0.17526014149188995, 0.4063396453857422, 0.20568214356899261, -0.5627335906028748, -0.6689303517341614, 0.5799834728240967, -0.5471509099006653, -0.24394994974136353, 1.5452017784118652, 0.10176445543766022, 0.10892456769943237, -0.19281312823295593, -0.09620199352502823, 0.3243255317211151, -0.3123825490474701, 0.8147178292274475, 0.7104286551475525, 0.2453453242778778, -0.05120265483856201, -0.9430012106895447, 0.70381760597229, 0.5481299161911011, -0.6600252389907837, -0.12802208960056305, 0.5577321648597717, 0.38943517208099365, 0.03455982357263565, 0.6657962203025818, 0.1836097538471222, -0.10270179063081741, -0.3087961971759796, 0.32290810346603394, 0.32276007533073425, -0.2616468369960785, -0.3456724286079407, 0.0600583516061306, 0.46775364875793457, 0.1786254644393921 ]
http://arxiv.org/abs/2404.10198v2
http://arxiv.org/pdf/2404.10198v2
ClashEval: Quantifying the tug-of-war between an LLM's internal prior and external evidence
2024-04-16T00:43:03
2024-06-10T04:44:57
Kevin Wu, Eric Wu, James Zou
cs.CL
cs.CL, cs.AI
Retrieval augmented generation (RAG) is frequently used to mitigate hallucinations and provide up-to-date knowledge for large language models (LLMs). However, given that document retrieval is an imprecise task and sometimes results in erroneous or even harmful content being presented in context, this raises the question of how LLMs handle retrieved information: If the provided content is incorrect, does the model know to ignore it, or does it recapitulate the error? Conversely, when the model's initial response is incorrect, does it always know to use the retrieved information to correct itself, or does it insist on its wrong prior response? To answer this, we curate a dataset of over 1200 questions across six domains (e.g., drug dosages, Olympic records, locations) along with content relevant to answering each question. We further apply precise perturbations to the answers in the content that range from subtle to blatant errors. We benchmark six top-performing LLMs, including GPT-4o, on this dataset and find that LLMs are susceptible to adopting incorrect retrieved content, overriding their own correct prior knowledge over 60% of the time. However, the more unrealistic the retrieved content is (i.e. more deviated from truth), the less likely the model is to adopt it. Also, the less confident a model is in its initial response (via measuring token probabilities), the more likely it is to adopt the information in the retrieved content. We exploit this finding and demonstrate simple methods for improving model accuracy where there is conflicting retrieved content. Our results highlight a difficult task and benchmark for LLMs -- namely, their ability to correctly discern when it is wrong in light of correct retrieved content and to reject cases when the provided content is incorrect.
[ -0.3195644021034241, -0.5423696637153625, 0.6155856847763062, -0.10749776661396027, -0.09819638729095459, 0.2503302991390228, -0.030223442241549492, -0.6077669858932495, -0.1464012861251831, 0.5435105562210083, -0.11109452694654465, -0.04028945416212082, -0.910104513168335, 0.10554511845111847, -0.34354686737060547, 0.9781933426856995, -0.29289865493774414, -0.019240256398916245, -0.2972179651260376, -0.17636793851852417, -0.5807710289955139, -0.5985714197158813, -0.5489766597747803, -0.4495559334754944, 0.47031134366989136, 0.18507568538188934, 0.6412678956985474, 0.32034218311309814, 0.7320418357849121, 0.3468649685382843, -0.28241822123527527, 0.42244601249694824, -0.8560302257537842, 0.20458999276161194, -0.5804802775382996, -0.6062542200088501, -0.2390683889389038, 0.043438371270895004, 0.5343577861785889, 0.38894781470298767, -0.20339661836624146, 0.2548708915710449, 0.21457308530807495, 0.6593185067176819, -0.7618960738182068, -0.2836320102214813, -1.1013739109039307, -0.17275889217853546, -0.3939683735370636, -0.4836590588092804, -0.46477168798446655, -0.21641723811626434, 0.13473980128765106, -0.4687906503677368, 0.21678180992603302, 0.24223485589027405, 1.1846835613250732, 0.32635802030563354, -0.6305215358734131, -0.734779953956604, -0.6565219163894653, 0.6130411624908447, -0.6221418380737305, 0.2873692810535431, 0.4646158218383789, 0.07785714417695999, -0.4316597282886505, -0.8896379470825195, -0.5078426599502563, -0.2136380970478058, -0.20411404967308044, 0.2946605086326599, -0.18095120787620544, -0.12075354903936386, 0.34765708446502686, 0.5471503734588623, -0.4656932055950165, -0.005335464142262936, -0.3809041976928711, -0.15767015516757965, 0.6684125661849976, 0.14523589611053467, 0.1894993633031845, -0.25183460116386414, -0.6467840075492859, -0.08045484125614166, -1.1564693450927734, 0.03578655794262886, 0.54404217004776, 0.24278856813907623, 0.23142419755458832, 0.8695744276046753, 0.182973712682724, 0.4848804771900177, 0.58583003282547, 0.04279421269893646, 0.14693856239318848, -0.3812432289123535, -0.2304283231496811, 0.21557177603244781, 0.594512939453125, 0.18005742132663727, -0.06913614273071289, 0.0033291319850832224, -0.400954008102417, -0.3294858932495117, 0.7535337805747986, -0.5512819886207581, 0.007760150358080864, 0.37009164690971375, -0.29965633153915405, -0.07093276083469391, 0.03554007038474083, -0.6863880753517151, -0.7228803038597107, -0.2283729612827301, 0.6734300851821899, -0.3778526186943054, -0.306363582611084, -0.21608500182628632, -0.1717011034488678, 0.11128619313240051, 0.31245115399360657, -0.5087189078330994, 0.13946665823459625, 0.6699684262275696, 0.7687084078788757, -0.32741880416870117, -0.07072661072015762, -0.6224559545516968, 0.18451470136642456, -0.5971300601959229, 0.7913764119148254, -0.3238335847854614, -0.5709549188613892, 0.12666942179203033, -0.04655417427420616, -0.08597783744335175, -0.8866915702819824, 0.8093357682228088, -0.8820640444755554, 0.10300379991531372, -0.6619996428489685, -0.8045044541358948, 0.007656665984541178, 0.42178329825401306, -0.7406899333000183, 0.9963067173957825, 0.058162569999694824, -1.045437216758728, 0.412842333316803, -0.055272575467824936, -0.15968705713748932, -0.0022638277150690556, -0.2716117799282074, -0.26956769824028015, 0.2215401828289032, -0.0409293957054615, 0.051923006772994995, -0.26792579889297485, 0.30952972173690796, -0.20347966253757477, -0.2751958668231964, 0.289417028427124, -0.36816832423210144, 0.4324958920478821, 0.3044824004173279, -0.21101699769496918, -0.11294279992580414, -0.4659428000450134, -0.23898445069789886, 0.2568792402744293, -0.42398953437805176, -0.5889621376991272, 0.06613252311944962, -0.5745967626571655, 0.33861756324768066, 0.4090808928012848, -0.3912190794944763, 0.24048294126987457, -0.17785575985908508, -0.20091964304447174, 0.859452486038208, 0.20618829131126404, 0.19467467069625854, -0.7872764468193054, 0.30802711844444275, 0.17857028543949127, -0.15077988803386688, -0.057427454739809036, -0.4313536286354065, -0.5015531778335571, 0.24521608650684357, 0.22298896312713623, 0.43787649273872375, -0.8862102031707764, -0.1479080319404602, -0.2951892614364624, -0.30661365389823914, -0.5720979571342468, 0.26263222098350525, 0.38946565985679626, 0.7804798483848572, 0.3925168514251709, -0.17837533354759216, -0.6879575252532959, -0.5451341867446899, -0.5426256060600281, -0.4027751684188843, 0.1204352080821991, 0.49484458565711975, 0.44370535016059875, -0.09227262437343597, 0.6995539665222168, -0.22817973792552948, -0.20699948072433472, -0.0664939284324646, 0.5792132019996643, 0.26922306418418884, 0.29342958331108093, 0.19697453081607819, -1.1007901430130005, -0.3371349573135376, 0.09803062677383423, -0.8240332007408142, -0.2831612527370453, -0.19053001701831818, -0.06979357451200485, 0.4454123377799988, 0.4016650915145874, -0.5534646511077881, 0.20331130921840668, 0.4863601624965668, -0.23127587139606476, 0.6879540085792542, -0.29904404282569885, 0.4845633804798126, -0.857481062412262, 0.12565605342388153, -0.11755477637052536, -0.0025674481876194477, -0.4059218764305115, 0.21388205885887146, 0.02917235903441906, 0.6301472783088684, -0.4335474669933319, 0.544898271560669, -0.657260000705719, -0.050775110721588135, -0.24142661690711975, 0.4047248959541321, -0.03602626174688339, 0.10641808807849884, 0.0248582623898983, 0.9911993741989136, -0.1041954979300499, -0.4741601049900055, 0.16146549582481384, 0.2128247171640396, -0.27376440167427063, 0.8128217458724976, -0.5091664791107178, 0.2499612271785736, -0.2548012435436249, 0.06271152198314667, -1.181230902671814, -0.32425710558891296, -0.007232509087771177, -0.42790743708610535, 0.6820769906044006, -0.5047560334205627, -0.4394422471523285, -0.38356608152389526, -0.18888044357299805, 0.3052670657634735, 0.35176563262939453, -0.6509701609611511, 0.6475713849067688, 0.5637163519859314, -0.3030710220336914, -0.9468176960945129, -0.42431753873825073, 0.10928680747747421, -0.25957080721855164, -0.5691496729850769, 0.38966548442840576, -0.16404494643211365, -0.5502282977104187, 0.020771991461515427, -0.3700873553752899, -0.02813017927110195, -0.3306224048137665, 0.2502792179584503, 0.22109511494636536, -0.17973586916923523, 0.3874135911464691, -0.329827219247818, 0.2947545349597931, 0.0751381441950798, 0.06741466373205185, 0.5430805683135986, 0.049805644899606705, -0.5525504946708679, 0.28304049372673035, 0.14968962967395782, 0.26783040165901184, -0.11079785227775574, 0.45819956064224243, 0.4538321793079376, -0.22828039526939392, 0.08486996591091156, -0.9831491112709045, 0.19442637264728546, -0.48981329798698425, 0.10953697562217712, -0.49680790305137634, -0.5647209882736206, 0.6764301657676697, -0.11558671295642853, 0.09194864332675934, 0.7142013311386108, 0.6431082487106323, -0.08861768245697021, 1.000441551208496, 0.3028258979320526, 0.00466552097350359, 0.36584198474884033, -0.21097470819950104, -0.12929904460906982, -1.0169501304626465, -0.28433147072792053, -0.44368669390678406, -0.12413371354341507, -0.6157485842704773, -0.4362260699272156, 0.31040582060813904, 0.22415167093276978, -0.2691275477409363, 0.14924809336662292, -0.23749269545078278, 0.320263147354126, 0.3414408564567566, 0.03291928768157959, 0.5433762073516846, -0.3187965154647827, -0.33761855959892273, -0.20500300824642181, -0.6916379332542419, -0.45342910289764404, 1.254375696182251, 0.18683461844921112, 0.9714746475219727, 0.3673536479473114, 0.7167845368385315, 0.223933607339859, 0.6600396633148193, -0.4307107925415039, 0.0887191966176033, 0.014600902795791626, -0.6856609582901001, 0.0742705762386322, -0.6846275925636292, -1.184865951538086, 0.3474746644496918, -0.14951883256435394, -0.6383056640625, 0.25507068634033203, 0.09790843725204468, -0.224796324968338, 0.5502995848655701, -0.6202600598335266, 0.5569149255752563, -0.37462255358695984, -0.7161761522293091, -0.01217749621719122, -0.5100380182266235, 0.6865137815475464, -0.21325919032096863, 0.3531687557697296, 0.25773876905441284, -0.07741271704435349, 0.4762594699859619, -0.2277977615594864, 0.6402249932289124, 0.07205275446176529, -0.47228774428367615, 0.5541926026344299, 0.4143288731575012, 0.8725059032440186, -0.18186220526695251, -0.0013737393310293555, -0.15699900686740875, 0.12603135406970978, -0.13653115928173065, -0.5708394646644592, 0.7578644156455994, -0.715987503528595, -0.8411906361579895, -0.5214232802391052, -0.3519454896450043, -0.16288381814956665, 0.07351046055555344, 0.5783136487007141, 0.3992345333099365, -0.17416469752788544, 0.005415052175521851, 0.7967008948326111, -0.10702432692050934, 0.21560132503509521, 0.6661409735679626, -0.18312877416610718, -0.23417314887046814, 0.8744745850563049, 0.39321595430374146, 0.4547356963157654, 0.27252352237701416, 0.10968173295259476, -0.5974513292312622, -0.6983216404914856, -0.30128374695777893, 0.2045426219701767, -0.8632023930549622, -0.3693205416202545, -0.5668221712112427, -0.3745681047439575, -0.3064456582069397, 0.15329815447330475, -0.3425925374031067, 0.04681623354554176, -0.2309856414794922, 0.036025792360305786, -0.0075095952488482, 1.1734039783477783, -0.06989795714616776, 0.03346121683716774, -0.8881336450576782, 0.25910520553588867, 0.22072076797485352, 0.3238912522792816, -0.1295197457075119, -1.0654245615005493, -0.04138150438666344, 0.11140664666891098, -0.4646656811237335, -1.0302932262420654, 0.3316473960876465, -0.10124281793832779, 0.7944086194038391, 0.14735250174999237, 0.1612556427717209, 0.7791921496391296, -0.49331900477409363, 0.769248366355896, -0.22618338465690613, -0.6418430209159851, 0.4919627904891968, -0.2615891695022583, 0.20808985829353333, 0.4672672748565674, 0.704917848110199, -0.445166677236557, -0.5053656697273254, -0.9838657975196838, -0.9890791177749634, 0.37934842705726624, -0.0004911303985863924, -0.05415778607130051, -0.1806115061044693, 0.3099355697631836, -0.04499117657542229, 0.26560071110725403, -0.5433912873268127, 0.025978274643421173, 0.1395328789949417, -0.048622503876686096, 0.16799354553222656, -0.43343690037727356, -0.299795925617218, 0.21128146350383759, 0.7772150039672852, -0.0756194218993187, 0.061155784875154495, 0.5054686069488525, -0.42614832520484924, -0.4202226996421814, 0.12817592918872833, 0.6442831754684448, 0.7713719010353088, -0.34945884346961975, 0.29483214020729065, 0.27674412727355957, -0.44948694109916687, 0.04029841348528862, 0.056797150522470474, 0.007943212985992432, 0.06358276307582855, 0.46313905715942383, 0.28549081087112427, 0.14673425257205963, -0.8355858325958252, 0.7001909017562866, -0.019194629043340683, 0.0982138067483902, -0.36627280712127686, -0.1888425499200821, -0.21631047129631042, 0.2972135543823242, 0.6094090938568115, -0.008640212938189507, 0.18659307062625885, -0.5578488707542419, 0.475462406873703, 0.49419891834259033, -0.2377927005290985, -0.16157333552837372, 0.45767882466316223, -0.10712914168834686, -0.15338702499866486, 0.32892242074012756, -0.23395787179470062, -0.4887545704841614, 0.5054004788398743, 0.5469136834144592, 0.6053826212882996, -0.23765933513641357, 0.06300688534975052, 0.48252376914024353, 0.3188531696796417, -0.2774093449115753, 0.14104662835597992, 0.3062867820262909, -0.8643037676811218, -0.48850905895233154, -0.35725224018096924, -0.4507926404476166, 0.3406252861022949, -0.6177954077720642, -0.04729492962360382, -0.20930811762809753, -0.2718369662761688, -0.1810372918844223, 0.22876965999603271, -0.6311184763908386, 0.10408851504325867, 0.04928162321448326, 0.8568788170814514, -0.3129841983318329, 0.46500226855278015, 0.46479153633117676, -0.730379045009613, -0.7384310960769653, 0.054015837609767914, 0.3433231711387634, -0.8773004412651062, 0.7509516477584839, -0.2779340445995331, -0.07189220190048218, -0.3366350531578064, -0.5870059132575989, -1.1026723384857178, 0.9243952631950378, 0.1721174269914627, -0.6387342810630798, 0.0681566521525383, -0.11378089338541031, 0.606023907661438, -0.19438225030899048, 0.44400161504745483, 0.4285910725593567, 0.3599648177623749, 0.6078846454620361, -0.9450299739837646, 0.09994368255138397, -0.18109872937202454, -0.21395200490951538, 0.2896600663661957, -0.5284392833709717, 0.9358625411987305, -0.40602466464042664, -0.4963085651397705, 0.10974472761154175, 0.40509024262428284, 0.2070358544588089, 0.2852570414543152, 0.3886331021785736, 0.5177046656608582, 0.9044184684753418, -0.1733323484659195, 1.2531424760818481, -0.2370225489139557, 0.2605701982975006, 1.4825119972229004, -0.44894713163375854, 1.1419453620910645, 0.6754667162895203, -0.25579288601875305, 0.40538644790649414, 0.5909335017204285, 0.10140668600797653, 0.28806546330451965, 0.25121262669563293, -0.17086873948574066, 0.10184481739997864, -0.16392865777015686, -0.48391932249069214, 0.27819326519966125, 0.49047181010246277, -0.3998700678348541, -0.3109148442745209, -0.45283904671669006, 0.01777719147503376, 0.12075863778591156, -0.2488851696252823, 1.083006739616394, 0.04788575321435928, -0.956574559211731, 0.6622069478034973, -0.2335517555475235, 0.5209035277366638, -0.5909720659255981, -0.027837948873639107, -0.3527275025844574, 0.15019123256206512, -0.22072798013687134, -1.1605159044265747, 0.4432993531227112, -0.05123007670044899, -0.033530399203300476, -0.0015535484999418259, 0.8241292238235474, -0.6163442730903625, -0.12938719987869263, 0.3001571297645569, 0.6801412105560303, -0.009232285432517529, -0.06907741725444794, -0.5587853789329529, 0.20662663877010345, -0.1380980759859085, -0.16978542506694794, 0.40772539377212524, 0.5859618782997131, -0.01019059494137764, 0.6217498779296875, 0.5774230360984802, 0.41248244047164917, 0.10515491664409637, -0.028264708817005157, 0.7970836758613586, -0.43764612078666687, -0.056270722299814224, -0.711690366268158, 0.49283865094184875, -0.3645879924297333, -0.3895065188407898, 0.8008795976638794, 0.44208672642707825, 0.9348257184028625, 0.42508047819137573, 0.5844324231147766, 0.05163915827870369, 0.6731699705123901, -0.6124770045280457, 0.405701607465744, -0.6922733783721924, 0.5636169910430908, -0.20036183297634125, -0.5030267834663391, 0.19316783547401428, 0.2001131922006607, -0.44244030117988586, 0.13269522786140442, 0.5199585556983948, 0.6987849473953247, 0.07934841513633728, -0.03840915486216545, 0.2030380666255951, 0.516042947769165, 0.2548213601112366, 0.4572227895259857, 1.2042951583862305, -0.41241347789764404, 0.7171594500541687, 0.10032020509243011, -0.017147677019238472, -0.15704244375228882, -0.8586145639419556, -0.5519992709159851, -0.5835288166999817, -0.07883746176958084, -0.6140929460525513, 0.26181018352508545, 0.8295702934265137, 0.34665247797966003, -0.679938793182373, -0.19631151854991913, 0.15505829453468323, 0.4342764616012573, 0.008679889142513275, -0.2458629012107849, 0.1582164168357849, -0.683474600315094, -0.4585929811000824, 0.23488028347492218, 0.014545495621860027, 0.21991249918937683, -0.01967884600162506, -0.08217985928058624, -0.4889024496078491, 0.3097006380558014, 0.4892509877681732, 0.3528120219707489, -0.6934828162193298, -0.3363179862499237, -0.15949106216430664, -0.43602514266967773, 0.273020476102829, 0.9507024884223938, -0.5968444347381592, 0.5920523405075073, 0.536612331867218, 0.8067445158958435, 0.6220541596412659, 0.24772030115127563, 0.6538919806480408, -0.8955740928649902, -0.2567763328552246, 0.13699889183044434, 0.4261798858642578, 0.5012570023536682, -0.5108357667922974, 0.5648764371871948, 0.2024243324995041, -0.7735629081726074, -0.8370345234870911, 0.16331899166107178, -0.5880207419395447, -0.34048542380332947, 1.0376536846160889, -0.21109013259410858, -0.04375714063644409, -0.1573910117149353, -0.4131934642791748, 0.125267893075943, -0.18613435328006744, 0.9455975890159607, 0.9247958660125732, -0.024130191653966904, -0.10314194858074188, -0.7412675619125366, 0.7298930883407593, 0.26395392417907715, -0.5411756038665771, 0.05293484032154083, 0.4504837691783905, 0.2733098864555359, 0.372627854347229, 0.6151931285858154, -0.13839191198349, 0.04619884118437767, 0.11699072271585464, -0.34213095903396606, 0.24958808720111847, -0.16401837766170502, -0.2988337278366089, 0.18361525237560272, 0.09803251922130585, 0.1492595374584198 ]
http://arxiv.org/abs/2404.10180v2
http://arxiv.org/pdf/2404.10180v2
Deferred NAM: Low-latency Top-K Context Injection via Deferred Context Encoding for Non-Streaming ASR
2024-04-15T23:28:13
2024-04-23T13:43:26
Zelin Wu, Gan Song, Christopher Li, Pat Rondon, Zhong Meng, Xavier Velez, Weiran Wang, Diamantino Caseiro, Golan Pundak, Tsendsuren Munkhdalai, Angad Chandorkar, Rohit Prabhavalkar
cs.CL
cs.CL, cs.AI, cs.LG, cs.NE, eess.AS
Contextual biasing enables speech recognizers to transcribe important phrases in the speaker's context, such as contact names, even if they are rare in, or absent from, the training data. Attention-based biasing is a leading approach which allows for full end-to-end cotraining of the recognizer and biasing system and requires no separate inference-time components. Such biasers typically consist of a context encoder; followed by a context filter which narrows down the context to apply, improving per-step inference time; and, finally, context application via cross attention. Though much work has gone into optimizing per-frame performance, the context encoder is at least as important: recognition cannot begin before context encoding ends. Here, we show the lightweight phrase selection pass can be moved before context encoding, resulting in a speedup of up to 16.1 times and enabling biasing to scale to 20K phrases with a maximum pre-decoding delay under 33ms. With the addition of phrase- and wordpiece-level cross-entropy losses, our technique also achieves up to a 37.5% relative WER reduction over the baseline without the losses and lightweight phrase selection pass.
[ -0.49061524868011475, -0.6202389001846313, 0.3791435956954956, 0.1613113284111023, -0.474505752325058, -0.22895143926143646, -0.27330824732780457, -0.2820926904678345, 0.20182937383651733, 0.5273516178131104, -0.7454279065132141, -0.21479211747646332, -0.7592285871505737, 0.029050543904304504, -0.442489892244339, 0.7355623841285706, 0.18263870477676392, 0.010851376689970493, -0.3072070777416229, 0.04624290019273758, -0.49193763732910156, -0.5321655869483948, -0.49216756224632263, -0.37854793667793274, 0.15871945023536682, 0.3531920313835144, 0.5429469347000122, 0.6318713426589966, 0.20821815729141235, 0.24109071493148804, -0.4429475963115692, -0.25670376420021057, -0.5142692923545837, 0.2252708226442337, -0.05534769967198372, -0.4045106768608093, -0.36044982075691223, -0.008293778635561466, 0.573411762714386, 0.7484831809997559, 0.17129388451576233, 0.044571198523044586, -0.13190416991710663, 0.8924039006233215, -1.1025060415267944, -0.2928692400455475, -0.6760827302932739, 0.2207951843738556, -0.4101998805999756, -0.3081953823566437, -0.2845049202442169, 0.05341300368309021, 0.5578673481941223, -0.4851326644420624, 0.04764401912689209, -0.20634496212005615, 0.7669435739517212, 0.8867294788360596, -0.34259656071662903, -0.045262373983860016, -0.6267070770263672, 0.7643141150474548, -0.5568214654922485, 0.6571674346923828, 0.5244249105453491, 0.3349509537220001, 0.08942493051290512, -0.7801172137260437, -0.5563061833381653, 0.036872029304504395, -0.0019784648902714252, 0.18999728560447693, -0.08311686664819717, 0.3350726068019867, 0.4793738126754761, 0.4035942852497101, -0.4175071716308594, -0.23536649346351624, -0.1507711410522461, -0.28742945194244385, 0.40099480748176575, -0.23442722856998444, -0.027756692841649055, -0.10187409818172455, -0.4849216639995575, 0.16286338865756989, -0.7436211109161377, -0.16852450370788574, -0.11854839324951172, 0.23678170144557953, -0.2488574981689453, 0.4191528260707855, -0.6737805604934692, 0.8348582983016968, 0.45689213275909424, -0.17686545848846436, 0.190660297870636, -0.4075120687484741, -0.5315201282501221, 0.6104750037193298, 0.43941357731819153, 0.38296833634376526, 0.1897437870502472, -0.21757051348686218, -0.19360840320587158, 0.28731051087379456, 0.17057360708713531, -0.8599520921707153, 0.08224654197692871, 0.31208866834640503, -0.44531896710395813, 0.028210071846842766, -0.04023126885294914, -0.6683276891708374, -0.06612258404493332, -0.3742259740829468, 0.43608900904655457, -0.18134424090385437, 0.006138908211141825, -0.0008814304601401091, -0.2740313708782196, 0.4000997841358185, 0.16020303964614868, -0.4411924183368683, 0.2167189121246338, 0.267343670129776, 1.1079075336456299, -0.3637092113494873, 0.14657242596149445, -0.9164709448814392, 0.2766614556312561, -0.29347124695777893, 0.6557496786117554, -0.6406078934669495, -0.4672694504261017, -0.19216202199459076, 0.007595345377922058, 0.11735476553440094, -0.4006929099559784, 0.4229460060596466, -0.7197027206420898, 0.21489101648330688, -0.4583576023578644, -0.4329566955566406, 0.031985484063625336, 0.08594247698783875, -0.2968255579471588, 0.7797632813453674, 0.08337502181529999, -0.8970292806625366, 0.5904847383499146, -0.7589371800422668, -0.7636529207229614, -0.08157647401094437, -0.08149109035730362, -0.09611675143241882, 0.11565285921096802, 0.48075374960899353, 0.2952119708061218, -0.07758313417434692, 0.18365687131881714, -0.010617773048579693, -0.6146482229232788, 0.16101327538490295, -0.5365063548088074, 0.6145505905151367, 0.3727629482746124, -0.7329233288764954, 0.2953833341598511, -0.826105535030365, -0.04607433080673218, -0.11607600748538971, -0.36030110716819763, -0.559555172920227, -0.3397650420665741, 0.22579069435596466, 0.4178036153316498, 0.020343976095318794, -0.5348073840141296, -0.06058178469538689, -0.6904798150062561, 0.4034624993801117, 0.5832697749137878, -0.01979205757379532, 0.6686320900917053, -0.13575275242328644, 0.4360819458961487, 0.3093402087688446, -0.10811373591423035, -0.1403106451034546, -0.34769731760025024, -0.7750751376152039, -0.20843930542469025, 0.4865170121192932, 0.7618038654327393, -1.2807174921035767, 0.35033345222473145, -0.32581809163093567, -0.05128736421465874, -0.5983442664146423, -0.05580558627843857, 0.735697329044342, 0.7288147211074829, 0.49034586548805237, -0.35926732420921326, -0.6966572403907776, -0.8675677180290222, -0.06532569229602814, 0.35267725586891174, -0.31416401267051697, 0.3197914958000183, 0.033473700284957886, -0.3445475101470947, 0.8975932002067566, -0.5570566058158875, -0.5139416456222534, -0.07575830072164536, -0.20265042781829834, -0.13764116168022156, 0.3845256567001343, 0.27289703488349915, -0.827165961265564, -0.508743405342102, -0.2842094302177429, -0.5488244295120239, -0.41125622391700745, -0.07969113439321518, -0.2178117334842682, 0.29821744561195374, 0.7706190943717957, -0.3485237956047058, 0.6460057497024536, 0.27413445711135864, -0.25043267011642456, 0.07583031803369522, -0.04528643935918808, 0.049334246665239334, -0.9648598432540894, 0.14724276959896088, -0.24698525667190552, -0.36717137694358826, -0.9302912354469299, -0.39886611700057983, -0.09968164563179016, -0.01919654756784439, -0.8555566668510437, 0.663250207901001, -0.7312173843383789, -0.37659958004951477, -0.5493930578231812, 0.3405696153640747, 0.040441934019327164, 0.31043297052383423, 0.35694965720176697, 1.11637282371521, 0.7100182771682739, -1.0052614212036133, -0.19116635620594025, 0.32520967721939087, -0.22202996909618378, 0.8373135924339294, -0.6719467043876648, 0.3377434015274048, -0.20546840131282806, 0.48982933163642883, -0.688179075717926, 0.00037785127642564476, 0.14137999713420868, -0.390961229801178, 0.4330880343914032, -0.31415799260139465, 0.027279088273644447, -0.17971138656139374, -0.14687781035900116, 0.5415762662887573, 0.38759633898735046, -0.37206530570983887, 0.23370611667633057, 0.5864346623420715, 0.09494485706090927, -0.834886908531189, -1.1340394020080566, 0.20439738035202026, -0.2269854098558426, -0.3248721957206726, 0.7236803770065308, -0.0340813472867012, -0.0817725658416748, -0.15014682710170746, -0.3248833417892456, -0.06301920115947723, -0.03428920358419418, 0.14248228073120117, -0.23444755375385284, -0.2166164219379425, -0.17712074518203735, 0.38893359899520874, -0.4333842396736145, -0.3271554410457611, -0.5695380568504333, 0.4205119013786316, 0.21618232131004333, -0.15974923968315125, -0.8515943884849548, 0.37732794880867004, 0.6494672298431396, 0.0443897619843483, 0.43178582191467285, 0.7833991050720215, -0.4557390809059143, 0.23094388842582703, -0.5303432941436768, -0.34703585505485535, -0.49954384565353394, 0.04195941239595413, -0.5876461267471313, -0.9018958210945129, 0.3423285186290741, 0.025660503655672073, -0.29935845732688904, 0.06903938949108124, 0.5753191113471985, 0.4843348562717438, 0.758701503276825, 0.4734785258769989, -0.2774129807949066, 0.7771574854850769, -0.25389617681503296, -0.1423962563276291, -1.1794482469558716, 0.06866074353456497, -0.04466686770319939, -0.5725924372673035, -0.4412554204463959, -0.7227807641029358, 0.3082205355167389, -0.09537301957607269, -0.012943660840392113, 0.0232369527220726, -0.7192351818084717, 0.5127276182174683, 0.7348549962043762, 0.023232540115714073, 0.1197948232293129, -0.18869136273860931, -0.10338647663593292, -0.06864335387945175, -0.6889823079109192, -0.1362912654876709, 1.0295650959014893, -0.07631361484527588, 0.5962024331092834, -0.1001562550663948, 0.5670402646064758, 0.3427697718143463, -0.039261799305677414, -0.8231646418571472, 0.5810123085975647, -0.19007568061351776, -0.4659897983074188, -0.20842531323432922, -0.22779254615306854, -0.8647945523262024, 0.1979592889547348, 0.12004082649946213, -0.6819124817848206, 0.4745999574661255, 0.20461790263652802, -0.5147476196289062, -0.016038425266742706, -0.6379129886627197, 0.6201580762863159, 0.055339157581329346, -0.39197486639022827, 0.08824638277292252, -1.1451047658920288, 0.22252650558948517, 0.2817586064338684, -0.04897858574986458, 0.08787193894386292, -0.29644259810447693, 0.6797481775283813, -0.3778282403945923, 0.5550870895385742, -0.7478496432304382, 0.0839376375079155, 0.3067443072795868, -0.1758253127336502, 0.180703803896904, 0.07953963428735733, 0.06577777862548828, 0.34359246492385864, 0.011739038862287998, -0.3174636662006378, -0.594672441482544, 0.7349247932434082, -0.4909590184688568, -0.523308515548706, -0.4367614686489105, -0.5228466391563416, -0.19026443362236023, 0.30909040570259094, 0.438904345035553, 0.5247740149497986, -0.05386766418814659, 0.3167465925216675, 0.8126928210258484, -0.1655428409576416, 0.5219341516494751, 0.24325324594974518, 0.1122186928987503, -0.5143110156059265, 0.7083352208137512, 0.2279938906431198, 0.49156129360198975, 0.6197798252105713, 0.18348181247711182, -0.3789280354976654, -0.5081381797790527, -0.6717241406440735, 0.013249170035123825, -0.6302827596664429, -0.272759348154068, -0.9226186275482178, -0.17057561874389648, -0.5149048566818237, -0.4553042948246002, -0.47511929273605347, -0.6012668013572693, -0.1875356137752533, 0.10362216085195541, 0.26579803228378296, 0.2609865069389343, -0.1814085841178894, 0.8269025087356567, -0.40692541003227234, 0.6571125984191895, 0.10460031777620316, 0.28575700521469116, -0.042263880372047424, -0.5607752203941345, -0.0692988857626915, 0.07895136624574661, 0.030500119552016258, -0.770836591720581, 0.42213213443756104, 0.39049750566482544, 0.37094825506210327, 0.7764976024627686, 0.47498032450675964, 0.9629082679748535, -0.5815777778625488, 0.8418428897857666, -0.21196529269218445, -1.1973692178726196, 0.9128431677818298, 0.03368734195828438, 0.9308083653450012, 0.6882107257843018, 0.11203445494174957, -0.511293351650238, -0.1525919884443283, -0.2533358037471771, -1.0536890029907227, 1.1057438850402832, 0.2703855633735657, -0.05840928107500076, -0.06162016838788986, 0.33378198742866516, 0.009914546273648739, 0.41817906498908997, -0.29429903626441956, -0.48927435278892517, -0.49126267433166504, 0.08700565993785858, -0.13934628665447235, -0.4131573438644409, -0.14758427441120148, -0.2882014811038971, 0.6088290810585022, -0.23703385889530182, 0.6921783089637756, 0.6885930299758911, -0.4791029095649719, 0.03312160074710846, 0.3233546316623688, 1.1635841131210327, 0.30574503540992737, -0.2462247759103775, 0.20843558013439178, 0.26547572016716003, -0.5288910865783691, 0.12975411117076874, 0.02911730483174324, -0.5172021985054016, 0.11278179287910461, -0.0764358639717102, 1.1506779193878174, 0.5386502146720886, -0.45764076709747314, 0.4467793405056, -0.14443059265613556, 0.12321885675191879, -0.14801640808582306, -0.11327442526817322, -0.20795086026191711, 0.12353755533695221, 0.3135860860347748, -0.08479723334312439, 0.40713930130004883, -0.2352069616317749, 0.6462182402610779, 0.49436938762664795, -0.5708011984825134, -0.22071164846420288, 0.8893383145332336, 0.04064516723155975, -0.1628471165895462, 0.2520327866077423, -0.08946539461612701, -0.5698018670082092, 0.22855007648468018, 0.6339119076728821, 1.0038625001907349, -0.38747715950012207, -0.09438683092594147, 0.1173761710524559, 0.04331178218126297, 0.07159213721752167, 0.3234947621822357, -0.5996728539466858, -0.5219746828079224, -0.2771289646625519, -0.6826273798942566, -0.21767576038837433, 0.055013880133628845, -0.8692446351051331, 0.12328250706195831, -0.3159283697605133, -0.4193825125694275, -0.22829203307628632, -0.19387072324752808, -0.5684541463851929, 0.31414666771888733, 0.1710214465856552, 0.7356332540512085, -0.5633583664894104, 0.8832072019577026, 0.6215326189994812, -0.10979687422513962, -0.022305050864815712, 0.5044851303100586, 0.3040824830532074, -0.5725963711738586, 0.6382302045822144, 0.4483596086502075, -0.2078433483839035, 0.2330894023180008, -0.2177547663450241, -1.2190159559249878, 1.2086176872253418, 0.3282613158226013, -0.41615647077560425, -0.13423378765583038, -0.12770269811153412, 0.26604214310646057, -0.35688167810440063, 0.26602810621261597, 0.5336801409721375, 0.32396936416625977, 0.5171359181404114, -1.0249909162521362, 0.204604834318161, 0.12617921829223633, 0.28956139087677, -0.026647578924894333, -0.5334505438804626, 0.49182024598121643, 0.03692935034632683, -0.41543325781822205, -0.30514922738075256, 0.8512656092643738, 0.03392812982201576, 0.570339024066925, 0.5666038393974304, 0.4399178922176361, 0.5754611492156982, -0.012085874564945698, 1.0754657983779907, -0.44923803210258484, -0.26653823256492615, 1.076216697692871, -0.21458661556243896, 0.8220587968826294, 0.6579351425170898, -0.014175971038639545, 0.3305770456790924, 0.46767258644104004, 0.7149574756622314, 1.1245242357254028, 0.049015071243047714, -0.18789717555046082, 0.012829841114580631, -0.3014494776725769, -0.5211817622184753, 0.6263145208358765, 0.5133854150772095, -0.1009313240647316, -0.04797884076833725, 0.4669373333454132, -0.002507512690499425, -0.185216024518013, -0.4162461459636688, 0.9626870155334473, 0.31373685598373413, -0.6397976279258728, 0.9425856471061707, -0.19881391525268555, 1.1798605918884277, -0.48872464895248413, 0.38101333379745483, -0.12846504151821136, 0.16424044966697693, -0.008639039471745491, -0.3893328607082367, 0.7127251625061035, -0.1188432052731514, -0.4203035533428192, -0.32995840907096863, 0.9721897840499878, -0.5840791463851929, -0.17863112688064575, 0.31653276085853577, 0.5216068625450134, 0.17391663789749146, -0.23856334388256073, -0.5789798498153687, 0.23859421908855438, -0.25248420238494873, -0.32013028860092163, 0.542824387550354, 0.3594239056110382, -0.00870366208255291, 0.625128984451294, 0.6172394752502441, 0.07277919352054596, 0.11258214712142944, 0.20269398391246796, 0.9461719393730164, -0.4972875714302063, -0.8300802111625671, -0.746610164642334, 0.4094439744949341, -0.11467569321393967, -0.0834035873413086, 0.5542011260986328, 0.38253724575042725, 0.8981629610061646, -0.009615898132324219, 0.643939733505249, 0.019541500136256218, 0.28980374336242676, -0.657622218132019, 0.9025387167930603, -0.611274003982544, 0.01024516113102436, -0.5517971515655518, -0.6482720971107483, -0.28634974360466003, 0.7978969812393188, -0.34843018651008606, 0.04374365881085396, 0.5529516935348511, 0.5666665434837341, -0.01989816688001156, -0.3066115379333496, 0.6909635663032532, 0.020206281915307045, 0.08500254154205322, 0.49234944581985474, 0.21032637357711792, -0.5566405653953552, 0.28675806522369385, -0.2858639359474182, -0.20537032186985016, -0.3427439332008362, -0.7957141399383545, -0.9078925251960754, -0.6354082822799683, -0.39141738414764404, -0.2412472665309906, 0.1924116462469101, 0.8422549962997437, 0.9961138963699341, -0.8986668586730957, 0.06525466591119766, 0.0019061298808082938, 0.16319742798805237, -0.3062904477119446, -0.2986104488372803, 0.2694765627384186, -0.20947082340717316, -0.6598782539367676, 0.763593316078186, 0.4539025127887726, 0.04708602651953697, -0.15533016622066498, -0.1375942826271057, -0.5164493322372437, 0.21386724710464478, 0.8128328919410706, 0.1898985207080841, -1.032466173171997, -0.32325479388237, -0.06220502033829689, 0.1870020180940628, 0.21396087110042572, 0.8281809687614441, -1.1822776794433594, 0.6455734372138977, 0.4225445091724396, 0.9230936169624329, 0.5637704730033875, 0.2739394009113312, 0.616141676902771, -1.1271494626998901, 0.6182827353477478, 0.10072921961545944, 0.11408369988203049, 0.47181999683380127, -0.5273622870445251, 0.27956873178482056, 0.4447420537471771, -0.542425274848938, -0.9716881513595581, 0.3177272379398346, -1.0474567413330078, -0.1086781695485115, 1.1266522407531738, 0.048368703573942184, -0.3429267108440399, -0.397354394197464, -0.17013095319271088, 0.44482189416885376, -0.6080396771430969, 0.4827251136302948, 0.4722166657447815, -0.2394990622997284, -0.3108123242855072, -0.6209791302680969, 0.7809385061264038, 0.3177225589752197, -0.5036375522613525, 0.07143867760896683, 0.5375570058822632, 0.17413222789764404, 0.14246876537799835, 1.0131319761276245, 0.16616190969944, 0.14905205368995667, 0.06383965909481049, -0.23529526591300964, -0.0771036148071289, -0.3803851306438446, -0.5008280277252197, 0.05822033807635307, -0.328579306602478, -0.502335786819458 ]
http://arxiv.org/abs/2404.10174v1
http://arxiv.org/pdf/2404.10174v1
On the Effects of Fine-tuning Language Models for Text-Based Reinforcement Learning
2024-04-15T23:05:57
2024-04-15T23:05:57
Mauricio Gruppi, Soham Dan, Keerthiram Murugesan, Subhajit Chaudhury
cs.CL
cs.CL
Text-based reinforcement learning involves an agent interacting with a fictional environment using observed text and admissible actions in natural language to complete a task. Previous works have shown that agents can succeed in text-based interactive environments even in the complete absence of semantic understanding or other linguistic capabilities. The success of these agents in playing such games suggests that semantic understanding may not be important for the task. This raises an important question about the benefits of LMs in guiding the agents through the game states. In this work, we show that rich semantic understanding leads to efficient training of text-based RL agents. Moreover, we describe the occurrence of semantic degeneration as a consequence of inappropriate fine-tuning of language models in text-based reinforcement learning (TBRL). Specifically, we describe the shift in the semantic representation of words in the LM, as well as how it affects the performance of the agent in tasks that are semantically similar to the training games. We believe these results may help develop better strategies to fine-tune agents in text-based RL scenarios.
[ -0.2303217649459839, -1.0585205554962158, 0.5367639660835266, -0.06726796180009842, -0.15321004390716553, -0.07970046997070312, -0.4887000620365143, -0.4623917043209076, -0.31419482827186584, 0.8726006150245667, -0.7377748489379883, -0.41939422488212585, -0.6353528499603271, 0.20542816817760468, 0.04219984635710716, 1.550926923751831, -0.102195605635643, -0.0438593365252018, 0.04785925894975662, -0.085283562541008, -0.7216389775276184, 0.017578832805156708, -0.8341785073280334, -0.9811319708824158, 0.6602578163146973, 0.4413227438926697, 0.8985725045204163, 0.6652379035949707, 0.283938467502594, 0.42784079909324646, -0.29610204696655273, 0.4172050654888153, -0.9632512331008911, 0.43464234471321106, -0.6868236660957336, -0.5141703486442566, -0.0731382891535759, -0.08213014900684357, 0.6337952613830566, 0.39248785376548767, 0.052075859159231186, -0.25169333815574646, 0.13250529766082764, 0.8463627696037292, -0.4508480131626129, 0.3088422417640686, -0.877242386341095, 0.21585673093795776, 0.37481555342674255, -0.4504314363002777, -0.48236215114593506, 0.04481275752186775, 0.23543809354305267, -0.9576078057289124, 0.1489003449678421, -0.10675379633903503, 1.1752078533172607, 0.647907555103302, -0.3651954233646393, -0.4240056574344635, -0.8611019253730774, 0.8830362558364868, -0.4959701895713806, 0.2618910074234009, 0.4864403009414673, 0.2658160626888275, -0.39744505286216736, -0.20522046089172363, -0.46861040592193604, -0.49206867814064026, -0.1610674411058426, 0.09059210866689682, 0.16603513062000275, 0.39949938654899597, 0.362466037273407, 0.09151234477758408, -0.22866351902484894, 0.3859027326107025, -0.2183040827512741, -0.08625537157058716, 0.5361589789390564, 0.34375447034835815, 0.3019196391105652, -0.006823317147791386, -0.37687841057777405, -0.37318453192710876, -0.4311620891094208, 0.16123631596565247, 0.05595628172159195, 0.5786159634590149, -0.07045242190361023, 0.5456036925315857, -0.1577414870262146, 0.7987570762634277, 0.020430337637662888, -0.13594721257686615, -0.11845260113477707, -0.18834078311920166, -0.3689165413379669, 0.0897226482629776, 0.394359827041626, 0.32129696011543274, 0.6778624653816223, -0.4934706389904022, -0.4829120337963104, 0.24212078750133514, 0.33820292353630066, -0.8017666935920715, -0.0916961207985878, 0.1120377629995346, -0.39329975843429565, -0.3609900176525116, -0.13308945298194885, -0.3822292983531952, -0.5620105862617493, -0.4819132685661316, 0.7847425937652588, -0.7997491955757141, -0.14763489365577698, 0.38889414072036743, -0.5329405665397644, 0.23637008666992188, 0.3249918222427368, -1.0825376510620117, 0.2783271372318268, 0.6280004382133484, 0.3594793379306793, -0.0017836584011092782, -0.5163252949714661, -0.6529734134674072, 0.2465580850839615, -0.2897896468639374, 0.7193012237548828, -0.540702223777771, -0.3676772713661194, 0.04249129444360733, 0.06461749225854874, -0.33877551555633545, -0.5654358863830566, 0.2683148980140686, -0.5967445969581604, 0.03562897443771362, 0.07590655237436295, -0.7017803192138672, -0.1373225748538971, 0.480635404586792, -0.5152910351753235, 0.6815891861915588, -0.22750580310821533, -0.42723938822746277, 0.5418710112571716, -0.43923336267471313, -0.5277295708656311, -0.1669926643371582, 0.10293485224246979, -0.33994820713996887, 0.22300292551517487, 0.05889467895030975, 0.6004156470298767, 0.13632826507091522, -0.0801917240023613, -0.06365199387073517, -0.594480574131012, 0.5172855257987976, -0.3660033047199249, 0.1690770834684372, 0.1279410570859909, -0.3629745841026306, 0.156180739402771, -0.5529211759567261, 0.2648184895515442, -0.03411022573709488, -0.42386531829833984, -0.7482525706291199, 0.3236044943332672, -0.0811070054769516, 0.2609069049358368, 0.07174240052700043, -0.3371276259422302, -0.03477199375629425, -0.9609230160713196, 0.174508199095726, 0.6105679869651794, 0.14860408008098602, 0.5713903903961182, -0.49058297276496887, 0.23525036871433258, -0.011968309059739113, -0.05749386548995972, -0.22109584510326385, -0.039801545441150665, -0.7535778880119324, -0.19100402295589447, 0.23916444182395935, 0.48749762773513794, -0.9525066018104553, 0.16907276213169098, -0.07130858302116394, -0.2877916991710663, -0.34182488918304443, 0.15897373855113983, 0.6358270645141602, 0.21506500244140625, 0.5122846961021423, 0.07477278262376785, 0.014411813579499722, -0.6431035399436951, -0.6516656875610352, 0.025496432557702065, 0.34489789605140686, 0.46022161841392517, 0.6510928869247437, -0.4212949872016907, 0.809561550617218, -0.35426241159439087, -0.4444807767868042, -0.590957760810852, 0.11868916451931, -0.32830876111984253, 0.4134371876716614, 0.2031785547733307, -0.8058198690414429, -0.32457828521728516, 0.24168120324611664, -0.42962270975112915, 0.11011792719364166, -0.31351804733276367, -0.05768652260303497, 0.45972639322280884, 0.6674691438674927, -0.47338077425956726, 0.3861706852912903, 0.4124109148979187, -0.7971835732460022, 0.2504584789276123, -0.7683519124984741, 0.17633849382400513, -0.6589266657829285, -0.2858441472053528, 0.04190340265631676, -0.3640139698982239, -0.634553849697113, 0.1410849243402481, 0.037884294986724854, -0.01856807991862297, -0.2706131339073181, 0.8046554923057556, -0.1704905480146408, 0.07523660361766815, -0.5283672213554382, 0.6249373555183411, 0.055307142436504364, 0.4787081480026245, 0.30614981055259705, 0.605474591255188, 0.21560662984848022, -1.0474621057510376, -0.16954036056995392, 0.22544269263744354, -0.054566752165555954, 0.3049330413341522, -0.6398445963859558, -0.2877395451068878, -0.36247217655181885, -0.03408992290496826, -0.6070079207420349, 0.03793647512793541, -0.005717672873288393, -0.3513593077659607, 0.3717055022716522, 0.2527371942996979, -0.3481805920600891, 0.19467346370220184, -0.1971697360277176, 0.04272296652197838, 0.30926594138145447, -0.3409433662891388, 0.3184853196144104, 0.25473567843437195, 0.33264851570129395, -0.49293938279151917, -0.7643703818321228, -0.23963502049446106, -0.18081651628017426, -0.27808818221092224, 0.47633278369903564, 0.08712586015462875, -0.35771819949150085, 0.21922460198402405, 0.0010514919413253665, -0.09021368622779846, 0.4015829861164093, 0.1305086463689804, -0.11962302029132843, -0.004071616102010012, 0.6014151573181152, 0.2704089283943176, -0.2235940545797348, -0.18152856826782227, -0.14269672334194183, 0.3404577076435089, 0.04692566767334938, 0.14515173435211182, -0.36674338579177856, 0.1223381981253624, 0.2942714989185333, -0.35768193006515503, 1.0702320337295532, 0.40190255641937256, -0.11973070353269577, -0.8025972843170166, -0.08846938610076904, -0.33474892377853394, -0.47229382395744324, 0.658536434173584, -0.35324278473854065, -1.1517714262008667, 0.500512421131134, -0.205436110496521, -0.021853508427739143, 0.5990041494369507, 0.594476580619812, -0.1749427169561386, 0.949511706829071, 0.8750788569450378, 0.3052287697792053, 0.7335708141326904, -0.1477620005607605, -0.25672006607055664, -0.46033790707588196, -0.29402127861976624, -0.6148693561553955, -0.25374698638916016, -0.7636948227882385, -0.3390524089336395, -0.0821857750415802, -0.06383497267961502, -0.5901543498039246, 0.23634782433509827, -0.2272413820028305, 0.6770591735839844, 0.22868679463863373, 0.39915475249290466, 0.3441595733165741, -0.017155811190605164, -0.32012706995010376, -0.17131727933883667, -0.7560415267944336, -0.4820738434791565, 0.5363134145736694, 0.4832611680030823, 0.9420897960662842, 0.05188818275928497, 0.7036741971969604, 0.3500392436981201, -0.202723428606987, -0.7916034460067749, 0.44853994250297546, -0.23541609942913055, -0.4445144832134247, -0.6597038507461548, -0.5205582976341248, -1.1485778093338013, 0.26048699021339417, -0.4505075216293335, -0.5817903280258179, -0.025806725025177002, 0.10735928267240524, -0.13486742973327637, 0.09739554673433304, -0.653078556060791, 1.2074915170669556, -0.145844966173172, -0.4356725513935089, -0.885369598865509, -0.42531976103782654, 0.10191619396209717, 0.158607617020607, 0.11422908306121826, -0.11126922816038132, -0.18708980083465576, 0.4697857201099396, -0.36368754506111145, 0.8783936500549316, -0.2518373727798462, -0.34767189621925354, 0.024015704169869423, 0.16162341833114624, 0.6335863471031189, 0.009696557186543941, 0.03627932816743851, -0.4536336362361908, 0.1903144270181656, -0.34579670429229736, -0.6850406527519226, 0.7060490250587463, -0.8659403324127197, -0.29700079560279846, -0.3477996587753296, -0.7792982459068298, -0.4031582772731781, 0.03449593111872673, -0.06392114609479904, 0.4484960436820984, -0.4872639775276184, -0.041113946586847305, 1.1678135395050049, -0.6846997737884521, 0.1879591941833496, 0.8146262168884277, -0.1025569811463356, -0.01935887522995472, 1.042507529258728, -0.027501467615365982, 0.5983847379684448, 0.6138349771499634, 0.06664126366376877, -0.2831103503704071, -0.4463281035423279, -0.38265514373779297, 0.2161063849925995, -0.6238337755203247, -0.09565627574920654, -0.3435436189174652, 0.04329625144600868, 0.21970170736312866, -0.08453597873449326, -0.15728361904621124, -0.2827724814414978, -0.3724845051765442, -0.004266906529664993, 0.6101983189582825, 0.8818768858909607, 0.10528075695037842, 0.3843115270137787, -0.720737874507904, 0.30101582407951355, 0.08922254294157028, 0.477583646774292, -0.06932394206523895, -0.5751521587371826, -0.6842607855796814, 0.10320284962654114, -0.11906959861516953, -0.7104997038841248, 0.10303932428359985, 0.4710029065608978, 0.4567882716655731, 0.08317197114229202, 0.024055639281868935, 0.5965684056282043, -0.5856849551200867, 0.5181371569633484, -0.29511162638664246, -0.7810432314872742, 0.5550230741500854, -0.4873102307319641, 0.5264899730682373, 0.7316824793815613, 0.02786240354180336, -0.7140928506851196, -0.773918092250824, -0.44248074293136597, -0.5728927254676819, 1.0682713985443115, 0.0026813813019543886, 0.3389798402786255, -0.08874139934778214, 0.49255135655403137, 0.16733017563819885, -0.014794089831411839, -0.8017430901527405, -0.12192939966917038, 0.03476971387863159, -0.186241015791893, -0.33162763714790344, -0.2468942403793335, 0.1476016342639923, -0.08847349882125854, 0.9885561466217041, -0.03570519760251045, 0.1447843462228775, 0.23575906455516815, -0.5401588678359985, -0.15379683673381805, 0.39899393916130066, 0.8214670419692993, 0.18226805329322815, -0.063734270632267, -0.03700222820043564, 0.32090339064598083, -0.173775777220726, -0.04295735061168671, 0.12501314282417297, -0.1946292668581009, -0.2041485607624054, 0.4542080760002136, 1.1165403127670288, 0.5766021609306335, -1.0494624376296997, 0.14881229400634766, -0.1946777105331421, -0.24233825504779816, 0.1012696772813797, 0.485885351896286, -0.19090045988559723, 0.4295298457145691, -0.04016375541687012, 0.017888540402054787, -0.0972973182797432, -0.6439786553382874, 0.38715630769729614, 0.5498870015144348, -0.8684607148170471, 0.07014051079750061, 0.40593668818473816, 0.10960202664136887, -0.29420265555381775, 0.32215526700019836, -0.3762659430503845, -0.5900557041168213, 0.5878293514251709, 0.7323309779167175, 0.6753184795379639, 0.13845179975032806, 0.41638749837875366, 0.08566995710134506, 0.3769483268260956, -0.06439223140478134, 0.09908729791641235, -0.11341502517461777, -0.8196948766708374, -0.6880835294723511, -0.6078724265098572, -0.24421550333499908, -0.13154999911785126, -0.23933333158493042, 0.20332905650138855, -0.3245093822479248, 0.10882104188203812, -0.22844035923480988, 0.2583272159099579, -0.5501695275306702, 0.41255059838294983, 0.11304253339767456, 0.8685520887374878, -0.6176586151123047, 0.7316292524337769, 0.7664281725883484, -0.37833431363105774, -0.9798877239227295, 0.1345917284488678, -0.41178950667381287, -0.532787561416626, 0.8556508421897888, 0.01452894601970911, -0.3165332078933716, 0.15281015634536743, -0.1820681095123291, -0.41489046812057495, 0.8539813756942749, 0.2790319621562958, -0.288372278213501, 0.09621087461709976, 0.35791563987731934, 0.9261450171470642, -0.15373988449573517, 0.24800200760364532, 0.44645988941192627, 0.33753469586372375, -0.3073078393936157, -0.8970937728881836, -0.010067138820886612, 0.18843713402748108, 0.14293542504310608, 0.4795703887939453, -0.5757696032524109, 0.5566127300262451, -0.19063323736190796, -0.1739395260810852, 0.07078544050455093, 0.648504912853241, -0.06672839820384979, 0.19246740639209747, 0.39115577936172485, 0.536811351776123, 0.5961244702339172, -0.03744225203990936, 1.0605299472808838, -0.21348486840724945, 0.5917927026748657, 0.6998686790466309, 0.05776660144329071, 0.6840266585350037, 0.25758546590805054, 0.4097255766391754, 0.5970156192779541, 0.42668694257736206, 0.2969057857990265, 0.7463471293449402, 0.2717716097831726, -0.13176478445529938, -0.5179408192634583, -0.1652427464723587, -0.1593930721282959, 0.4542014002799988, 0.5354524850845337, -0.3814694881439209, -0.6795132756233215, 0.33905109763145447, -0.11369682103395462, 0.7399404048919678, -0.6934050917625427, 1.0390957593917847, 0.050301071256399155, -0.570006251335144, 0.5690696239471436, 0.18533633649349213, 0.7342680096626282, -0.6297545433044434, -0.16827896237373352, -0.08649619668722153, 0.6763010025024414, -0.04696536436676979, -0.6946882605552673, 0.4651639759540558, -0.02947647124528885, -0.23338189721107483, -0.36347752809524536, 1.054213047027588, -0.6384262442588806, -0.122064508497715, 0.4467754662036896, 0.6034542322158813, 0.1217922493815422, 0.0029566860757768154, -0.9543578028678894, -0.019033445045351982, -0.11878303438425064, -0.23322607576847076, 0.4878038465976715, 0.9640849828720093, 0.02330024354159832, 0.7077150344848633, 0.05224761366844177, -0.054119110107421875, -0.35536810755729675, -0.1623152196407318, 0.6048700213432312, -0.8961524963378906, -0.40904173254966736, -0.959324300289154, 0.4066477417945862, 0.10784675180912018, -0.32376447319984436, 0.6395214796066284, 0.352140873670578, 0.8140111565589905, -0.18302814662456512, 0.5540794730186462, 0.05132315307855606, 0.40480291843414307, -0.8805187940597534, 0.7882999181747437, -0.7900140285491943, 0.18110615015029907, -0.21902145445346832, -0.5802816152572632, -0.17701150476932526, 0.6493277549743652, -0.36133819818496704, 0.06572210043668747, 0.6376180052757263, 0.7905845046043396, 0.1448715627193451, -0.1867363154888153, 0.6154913902282715, 0.29170864820480347, 0.05210825800895691, 0.4916406273841858, 0.8027885556221008, -0.311601847410202, 0.5019489526748657, 0.09998190402984619, 0.07753157615661621, -0.1365259736776352, -0.7302431464195251, -1.3098857402801514, -0.5145596861839294, -0.2126973271369934, -0.3852817714214325, 0.5834248661994934, 1.043663740158081, 0.12704944610595703, -0.5623159408569336, -0.010200127959251404, -0.3582143187522888, 0.4459928274154663, -0.3474750220775604, -0.2171173393726349, 0.1729270964860916, -0.8597641587257385, -0.7117769718170166, 0.2950379252433777, 0.16449064016342163, -0.02699405699968338, -0.12990529835224152, -0.42168378829956055, -0.11011233180761337, 0.17012086510658264, 0.6817330121994019, 0.32017308473587036, -0.6150022149085999, -0.5942729711532593, -0.03575466200709343, -0.3516893982887268, -0.2802172303199768, 0.5418946743011475, -1.1791276931762695, 0.3257902264595032, 0.38012850284576416, 0.7064048647880554, 0.439582496881485, -0.20351482927799225, 0.718161404132843, -0.4568941295146942, 0.3104451298713684, 0.1044909879565239, -0.23155081272125244, 0.19560657441616058, -0.20093722641468048, 0.20011313259601593, -0.07203610241413116, -0.7312756180763245, -0.5862894058227539, 0.29424190521240234, -0.6460791230201721, -0.6417121887207031, 1.2471492290496826, 0.11727394163608551, -0.22292034327983856, -0.18717966973781586, -0.4534567892551422, 0.42702311277389526, -0.37266796827316284, 0.6484123468399048, 0.6487388610839844, -0.0038752418477088213, 0.05328473448753357, -0.6694207787513733, 1.0645476579666138, 0.6447270512580872, -0.5933998823165894, 0.32991039752960205, 0.40414828062057495, 0.05398928374052048, -0.22332020103931427, 0.3110872805118561, 0.28335198760032654, 0.2522202432155609, -0.23320582509040833, -0.07950079441070557, -0.06768517196178436, -0.2713685631752014, -0.4455496072769165, -0.31583988666534424, 0.42456480860710144, 0.1656828224658966 ]
http://arxiv.org/abs/2404.10150v1
http://arxiv.org/pdf/2404.10150v1
TabSQLify: Enhancing Reasoning Capabilities of LLMs Through Table Decomposition
2024-04-15T21:42:20
2024-04-15T21:42:20
Md Mahadi Hasan Nahid, Davood Rafiei
cs.CL
cs.CL, cs.DB, cs.IR
Table reasoning is a challenging task that requires understanding both natural language questions and structured tabular data. Large language models (LLMs) have shown impressive capabilities in natural language understanding and generation, but they often struggle with large tables due to their limited input length. In this paper, we propose TabSQLify, a novel method that leverages text-to-SQL generation to decompose tables into smaller and relevant sub-tables, containing only essential information for answering questions or verifying statements, before performing the reasoning task. In our comprehensive evaluation on four challenging datasets, our approach demonstrates comparable or superior performance compared to prevailing methods reliant on full tables as input. Moreover, our method can reduce the input context length significantly, making it more scalable and efficient for large-scale table reasoning applications. Our method performs remarkably well on the WikiTQ benchmark, achieving an accuracy of 64.7%. Additionally, on the TabFact benchmark, it achieves a high accuracy of 79.5%. These results surpass other LLM-based baseline models on gpt-3.5-turbo (chatgpt). TabSQLify can reduce the table size significantly alleviating the computational load on LLMs when handling large tables without compromising performance.
[ -0.37093353271484375, -1.0091617107391357, 0.6874609589576721, 0.01944851130247116, -0.38535767793655396, 0.17138755321502686, -0.3205565810203552, -0.06633956730365753, -0.029531994834542274, 0.7810002565383911, -0.5630331039428711, -0.6757359504699707, 0.0365452840924263, -0.01031674537807703, -0.4765986204147339, 0.9762282371520996, 0.07840295135974884, -0.08878524601459503, -0.7183979153633118, 0.07236050069332123, -0.4685554504394531, -0.28165730834007263, -0.5101693868637085, -0.42005661129951477, 0.4127322733402252, 0.5624080896377563, 0.6213725209236145, 0.7449046969413757, 0.4483315646648407, 0.23784811794757843, -0.07531577348709106, 0.6110627055168152, -0.6085957288742065, 0.3295923173427582, -0.1631874144077301, -0.5769473910331726, -0.5069114565849304, -0.6235220432281494, 0.631821870803833, 0.5975625514984131, -0.3292723596096039, 0.5437411665916443, 0.10055521130561829, 0.8073483109474182, -0.37012797594070435, 0.33479127287864685, -0.9795870780944824, 0.20046958327293396, -0.2503531873226166, -0.17377352714538574, -0.9461301565170288, -0.5339494943618774, -0.4656449258327484, -0.48710018396377563, 0.16090388596057892, 0.25668519735336304, 0.8089780807495117, 0.4703559875488281, -0.6369465589523315, 0.34329506754875183, -0.8875910639762878, 0.35619446635246277, -0.7851370573043823, 0.746982753276825, 0.06686240434646606, 0.4354173243045807, -0.7064328193664551, -0.9240009188652039, -0.9372885227203369, -0.37389492988586426, -0.3484235405921936, -0.1788046956062317, -0.009127562865614891, 0.22979280352592468, 0.5929949879646301, 0.34115785360336304, -1.0922659635543823, -0.09323068708181381, -0.1240190640091896, -0.08393329381942749, 0.3319021761417389, 0.33705344796180725, 0.46554744243621826, -0.1773330718278885, -0.12945590913295746, -0.06857357174158096, -0.9151496291160583, 0.04060623049736023, -0.21531982719898224, 0.32371512055397034, 0.45803093910217285, 0.7220529317855835, -0.2949589490890503, 0.8275158405303955, -0.11685502529144287, -0.3334311842918396, -0.07106795907020569, -0.2256164699792862, -0.6693059206008911, -0.054775726050138474, 0.5951657295227051, 0.41815122961997986, -0.046992335468530655, -0.21991734206676483, 0.041870810091495514, 0.18088172376155853, 0.013688245788216591, -0.5437161326408386, -0.302334725856781, 0.40802350640296936, -0.0625842958688736, 0.10867694020271301, -0.3148292899131775, -0.7296434640884399, -0.614051878452301, -0.1923794150352478, 0.2147429883480072, -0.18883834779262543, 0.013690276071429253, -0.12824787199497223, 0.055377233773469925, 0.28179797530174255, 0.46097785234451294, -0.5891183614730835, 0.31792783737182617, 0.6675276160240173, 0.3870494067668915, -0.17359678447246552, 0.047793611884117126, -0.7196149230003357, 0.6000999808311462, -0.5443527698516846, 0.8801317811012268, -0.1347953975200653, -0.21733589470386505, -0.16246500611305237, -0.12072445452213287, 0.12194418162107468, -0.7226634621620178, 0.8002558350563049, -0.4434700608253479, -0.13713593780994415, -0.46911826729774475, -0.5009467601776123, 0.1340659260749817, 0.5155335664749146, -0.8420930504798889, 1.1455531120300293, 0.1335030198097229, -0.38707175850868225, 0.5248392224311829, -0.7259168028831482, -0.4684724509716034, 0.328237384557724, -0.17853033542633057, -0.40158072113990784, -0.05386544018983841, 0.6141577959060669, 0.25572285056114197, -0.49805164337158203, 0.5364435911178589, -0.1847406029701233, -0.12285255640745163, 0.3789488971233368, -0.1178760901093483, 0.410661518573761, 0.1032678633928299, -0.1229763925075531, 0.23148052394390106, -0.5745284557342529, 0.3822459876537323, 0.04740458354353905, -0.46201929450035095, 0.2015533596277237, 0.08519686013460159, -0.12393645942211151, 0.1947277933359146, -0.10649790614843369, -0.5005039572715759, 0.18293286859989166, -0.38282525539398193, 0.37536904215812683, 0.3981105387210846, 0.24454547464847565, 0.4285140931606293, -0.1321672946214676, 0.4138571321964264, -0.08560769259929657, 0.20613430440425873, 0.19342856109142303, -0.09240398555994034, -0.992280900478363, -0.27466386556625366, 0.5523742437362671, 0.6749016642570496, -1.1941531896591187, 0.21079841256141663, -0.6254010796546936, -0.5115235447883606, -0.09553069621324539, 0.15646439790725708, 0.14141328632831573, 0.7838425636291504, 0.7260333895683289, 0.35540053248405457, -0.6983036398887634, -1.1508301496505737, -0.6135849952697754, -0.099639892578125, -0.252206414937973, 0.11798398196697235, 0.3464483320713043, -0.18086636066436768, 1.0062496662139893, -0.6756967306137085, -0.2780945301055908, -0.7692422270774841, -0.09755942225456238, 0.03231054171919823, 0.4784388542175293, 0.23207323253154755, -0.502296507358551, -0.6830714344978333, 0.2958909571170807, -0.4984126389026642, -0.11319655179977417, -0.1533588021993637, -0.3940958082675934, 0.17906521260738373, 0.5465878248214722, -1.0531054735183716, 0.5545507073402405, -0.006502059753984213, -0.2470635175704956, 0.429135799407959, 0.1586829423904419, 0.0919790267944336, -0.6855510473251343, -0.0909612849354744, -0.1967519223690033, -0.5116261839866638, -0.6322609782218933, 0.08332058042287827, 0.07481471449136734, -0.2745586335659027, -0.3276093006134033, 0.4411681890487671, -0.4820958971977234, -0.1209620013833046, 0.18223963677883148, 0.19628894329071045, 0.36066102981567383, 0.5086486339569092, -0.31267049908638, 0.7957869172096252, -0.047206658869981766, -0.44525328278541565, 0.4943229556083679, 0.4385526776313782, -0.2444155216217041, 0.16333460807800293, -0.39672520756721497, -0.021029427647590637, -0.11721856147050858, 0.6857679486274719, -1.116202712059021, -0.47155866026878357, 0.13034124672412872, -0.27225828170776367, 0.24108707904815674, -0.1380835622549057, -0.6077097654342651, -0.5949693918228149, -0.17979027330875397, -0.12348920106887817, 0.44261330366134644, -0.6401824355125427, 1.099249005317688, 0.5298428535461426, -0.12517495453357697, -0.6770106554031372, -0.9616082310676575, 0.21809174120426178, -0.190777987241745, -0.6241769194602966, 0.47624945640563965, 0.09003368020057678, -0.3957935869693756, -0.04991663247346878, -0.46208733320236206, -0.17951269447803497, -0.2327391654253006, 0.13099175691604614, 0.22778987884521484, -0.18549083173274994, 0.4769156873226166, 0.4547363221645355, 0.21921667456626892, 0.06793814152479172, -0.09482725709676743, 0.5989606976509094, -0.11488520354032516, -0.1194838285446167, -0.2221929132938385, 0.27502915263175964, 0.5839186310768127, -0.4028128683567047, 0.8434681296348572, 0.509956955909729, -0.4307771325111389, -0.6707025766372681, -0.7953347563743591, -0.22541838884353638, -0.45692557096481323, 0.28492531180381775, -0.25500500202178955, -0.890833854675293, 0.6667772531509399, -0.17381000518798828, 0.14785297214984894, 0.45146530866622925, 0.40398186445236206, -0.0412871390581131, 0.8201977610588074, 0.07760030031204224, 0.3702147901058197, 0.18045085668563843, 0.028925593942403793, 0.4068462550640106, -0.5929452776908875, -0.37599697709083557, -0.629152238368988, -0.06447715312242508, -0.279185026884079, -0.8267555236816406, 0.42638444900512695, -0.4259801208972931, -0.15509328246116638, 0.0482470765709877, -0.4972413182258606, 0.9082291722297668, 0.26232850551605225, 0.4496649503707886, 0.4991392493247986, -0.009629388339817524, 0.003224545158445835, -0.016300590708851814, -0.6054260730743408, -0.3539091646671295, 0.8315994143486023, 0.1096864640712738, 0.5605819821357727, 0.09463801234960556, 0.6186020970344543, 0.41003209352493286, 0.4737831652164459, -0.6794542670249939, 1.0874141454696655, -0.1389317810535431, -0.7271780371665955, -0.7047889232635498, -0.738821268081665, -0.6428105235099792, 0.31237998604774475, -0.411287784576416, -0.7536748647689819, -0.11392898857593536, 0.38561180233955383, -0.1492142528295517, 0.27413210272789, -0.8784400224685669, 1.0000699758529663, -0.0002396450290689245, -0.5465816855430603, 0.1701526790857315, -0.317533940076828, 0.6312289237976074, 0.14120398461818695, 0.11864619702100754, -0.14525166153907776, 0.1990700662136078, 0.639817476272583, -0.7964550256729126, 0.4510887861251831, -0.288463830947876, -0.06115959584712982, 0.5519607663154602, 0.3151250183582306, 0.7533433437347412, 0.2833969295024872, 0.06703880429267883, -0.4162733554840088, 0.08538884669542313, -0.1849491149187088, -1.065726637840271, 0.6064397692680359, -0.08205194771289825, -0.708622932434082, 0.04032575711607933, -0.5263057351112366, -0.6470950245857239, 0.058333467692136765, 0.07605314254760742, 0.5353349447250366, 0.003976970445364714, 0.4727238416671753, 0.8396651148796082, -0.2146439403295517, 0.1675029695034027, 0.1250281184911728, -0.5861149430274963, -0.3835291266441345, 0.5798037052154541, 0.17182105779647827, -0.04353465512394905, 0.6696965098381042, -0.025961503386497498, -0.7070332765579224, -0.6177564263343811, -0.5237423181533813, 0.09993905574083328, -0.800340473651886, -0.5878387093544006, -0.5801524519920349, 0.05512361228466034, -0.3498876988887787, 0.14552421867847443, -0.2885213792324066, -0.6140184998512268, 0.1934918612241745, -0.3600863814353943, 0.2318456768989563, 0.2732272148132324, 0.27781766653060913, 0.29447659850120544, -0.8614526987075806, 0.4763375222682953, 0.5861294269561768, 0.26877152919769287, -0.17558647692203522, -0.2462567687034607, -0.11019796878099442, -0.16118794679641724, 0.0694928765296936, -1.088334321975708, 0.3091258108615875, 0.24629178643226624, 0.6626430153846741, -0.25897979736328125, 0.34406983852386475, 0.9996233582496643, -0.5000122785568237, 0.7800710201263428, -0.0739189088344574, -1.1936668157577515, 0.6089910864830017, -0.4175061881542206, 0.37897324562072754, 0.8566441535949707, -0.07399314641952515, -0.09810281544923782, -0.29918035864830017, -0.25855252146720886, -1.060487151145935, 0.31308305263519287, 0.10397655516862869, -0.2801629602909088, 0.20111089944839478, 0.4929477274417877, 0.011036652140319347, 0.09298235177993774, -1.2687714099884033, -0.05491520091891289, 0.07011781632900238, -0.22354842722415924, 0.21961404383182526, -0.3631143271923065, -0.148405984044075, -0.5702561736106873, 0.6670084595680237, -0.14460359513759613, 0.23602400720119476, 0.05382239446043968, -0.42701008915901184, 0.002120732329785824, 0.6203858852386475, 0.4405263662338257, 0.8095517158508301, -0.04512723907828331, 0.2168082743883133, 0.5540673136711121, -0.40047362446784973, 0.10491732507944107, 0.04487717151641846, -0.10167807340621948, 0.11117944121360779, 0.11011821031570435, 0.6044992208480835, -0.17895743250846863, -0.8089054822921753, 0.17290812730789185, -0.37145310640335083, -0.12389153987169266, -0.09856708347797394, 0.1677747666835785, 0.1930612176656723, 0.2717239558696747, 0.41844442486763, -0.48425954580307007, 0.4562440812587738, -0.36969855427742004, 0.14312943816184998, 0.3124031126499176, 0.06603662669658661, 0.3292868733406067, 0.48120009899139404, 0.03738940507173538, -0.03577405959367752, 0.5962960720062256, -0.3333745002746582, -0.4801148772239685, 0.4535224437713623, 0.5226449966430664, 0.5042392015457153, -0.12699545919895172, 0.3238344192504883, 0.4594116806983948, 0.5416812896728516, -0.015567121095955372, 0.3130328059196472, -0.15287424623966217, -0.45033255219459534, -0.7230822443962097, -0.6230472922325134, -0.4984753131866455, 0.37849992513656616, -0.5331595540046692, -0.04062460735440254, -0.3542535603046417, -0.34257999062538147, -0.008993462659418583, -0.08932963013648987, -0.38398751616477966, 0.2775019705295563, -0.06299613416194916, 0.7561474442481995, -0.724976658821106, 0.6872579455375671, 0.5076175928115845, -0.06119870766997337, -1.2935060262680054, -0.04247399792075157, -0.37220919132232666, -0.07373134046792984, 0.530734658241272, -0.012517543509602547, 0.135935440659523, -0.05941173806786537, -0.6150688529014587, -0.6188651323318481, 0.8747405409812927, 0.6374203562736511, -0.48288285732269287, -0.030284985899925232, 0.6209967136383057, 0.5414431691169739, -0.022404184564948082, 0.00046524713980033994, 0.9874222874641418, 0.631283164024353, 0.05994149297475815, -0.8908560276031494, 0.35910484194755554, -0.20381084084510803, -0.013026708737015724, 0.501064121723175, -0.03157244995236397, 0.6148194670677185, -0.03881083056330681, -0.22059518098831177, -0.3863433301448822, 0.6654458045959473, 0.3529873192310333, 0.2672334313392639, 0.4483150541782379, 0.4888339340686798, 0.8439639806747437, -0.4833899140357971, 0.4840443432331085, 0.19076038897037506, 0.25965070724487305, 1.3773250579833984, -0.431079626083374, 0.9666906595230103, 0.5326541066169739, -0.3144511282444, 0.6706351637840271, 0.4019486904144287, 0.07935764640569687, 0.1756654977798462, 0.3781130611896515, -0.2641434967517853, -0.505013108253479, -0.17791388928890228, -0.3469313383102417, 0.5079610347747803, 0.662635862827301, -0.1095910593867302, -0.31732243299484253, -0.0038958825170993805, 0.03540731593966484, 0.19618190824985504, -0.3786031901836395, 0.7652950882911682, -0.24904556572437286, -0.8300765752792358, 0.6774672865867615, -0.29987961053848267, -0.14565691351890564, -0.35553619265556335, -0.13356377184391022, -0.35006481409072876, 0.09784364700317383, -0.44347530603408813, -0.8229142427444458, 0.3241440951824188, -0.06838978081941605, -0.00786252599209547, -0.12890015542507172, 0.9582386016845703, -0.5386580228805542, -0.1806444674730301, -0.13280361890792847, 0.67130446434021, -0.1657390147447586, -0.1991584300994873, -0.37592825293540955, 0.10425149649381638, 0.2767597734928131, -0.2426021546125412, 0.10715922713279724, 0.5149363875389099, -0.0719253271818161, 0.7654018998146057, 0.7912309765815735, -0.16171856224536896, 0.0011433213949203491, 0.02086864598095417, 1.1284823417663574, -0.5385180711746216, -0.5584007501602173, -0.9293079376220703, 0.6901482939720154, -0.33686062693595886, 0.18079032003879547, 0.6553087830543518, 0.7702929377555847, 0.3535466194152832, -0.46660149097442627, 0.4345102310180664, 0.048456259071826935, 0.5718063116073608, -0.6156139373779297, 0.6645625829696655, -0.4271708130836487, 0.4453813433647156, -0.19526469707489014, -0.9512613415718079, -0.6677223443984985, 0.3532021641731262, -0.34368425607681274, -0.2611702084541321, 0.7326328158378601, 0.8106037974357605, 0.3334663510322571, -0.1855333149433136, 0.17303583025932312, 0.27838075160980225, 0.4403790235519409, 0.4584275186061859, 0.8662530779838562, -0.09697620570659637, 0.9559432864189148, -0.0023282445035874844, -0.01305566355586052, -0.18111839890480042, -0.7535467147827148, -1.1574242115020752, -0.3986622095108032, -0.2498040795326233, -0.3987463414669037, -0.16644355654716492, 0.799165666103363, 0.38080957531929016, -0.5493596792221069, -0.055467598140239716, -0.1760866641998291, 0.3098454177379608, -0.033519331365823746, -0.3098289370536804, 0.3855694830417633, -0.1239619106054306, -0.24290192127227783, 0.4099711775779724, 0.4203643202781677, -0.07170290499925613, -0.07206062227487564, 0.410348504781723, -0.14255622029304504, 0.19389818608760834, 0.8773045539855957, 0.2064155787229538, -0.7035803198814392, -0.09768906235694885, 0.08168855309486389, -0.020261285826563835, 0.23199595510959625, 0.5307341814041138, -0.9346334934234619, 0.0402773842215538, 0.7045784592628479, 0.5921108722686768, 0.8688603043556213, 0.17947448790073395, 0.29625260829925537, -0.738772988319397, -0.0466754324734211, 0.45232129096984863, 0.3015962243080139, 0.28558608889579773, -0.5008297562599182, 0.6697750091552734, -0.21229195594787598, -0.5365092158317566, -1.3689415454864502, 0.24114911258220673, -1.1909821033477783, -0.1758485734462738, 1.0028254985809326, 0.08102505654096603, -0.5858431458473206, -0.14391671121120453, -0.3849583566188812, 0.2959355115890503, -0.33558642864227295, 0.5327021479606628, 0.37313592433929443, -0.3418457508087158, -0.44189298152923584, -0.5036354660987854, 0.8270330429077148, 0.19156841933727264, -1.4363160133361816, 0.48747602105140686, 0.6666385531425476, 0.016741186380386353, 0.17618758976459503, 0.4629644751548767, -0.06292099505662918, 0.3299857974052429, 0.14716275036334991, 0.10000953823328018, -0.14603950083255768, -0.2511402666568756, 0.3694147765636444, 0.44887498021125793, 0.05949496105313301, 0.16620329022407532 ]
http://arxiv.org/abs/2404.10141v1
http://arxiv.org/pdf/2404.10141v1
ANCHOR: LLM-driven News Subject Conditioning for Text-to-Image Synthesis
2024-04-15T21:19:10
2024-04-15T21:19:10
Aashish Anantha Ramakrishnan, Sharon X. Huang, Dongwon Lee
cs.CV
cs.CV, cs.CL, cs.MM, 65D19
Text-to-Image (T2I) Synthesis has made tremendous strides in enhancing synthesized image quality, but current datasets evaluate model performance only on descriptive, instruction-based prompts. Real-world news image captions take a more pragmatic approach, providing high-level situational and Named-Entity (NE) information and limited physical object descriptions, making them abstractive. To evaluate the ability of T2I models to capture intended subjects from news captions, we introduce the Abstractive News Captions with High-level cOntext Representation (ANCHOR) dataset, containing 70K+ samples sourced from 5 different news media organizations. With Large Language Models (LLM) achieving success in language and commonsense reasoning tasks, we explore the ability of different LLMs to identify and understand key subjects from abstractive captions. Our proposed method Subject-Aware Finetuning (SAFE), selects and enhances the representation of key subjects in synthesized images by leveraging LLM-generated subject weights. It also adapts to the domain distribution of news images and captions through custom Domain Fine-tuning, outperforming current T2I baselines on ANCHOR. By launching the ANCHOR dataset, we hope to motivate research in furthering the Natural Language Understanding (NLU) capabilities of T2I models.
[ -0.32497477531433105, -0.636968731880188, 0.7633802890777588, 0.2578328251838684, -0.4881037175655365, 0.04514612257480621, -0.3679324984550476, -0.23913533985614777, -0.2965558171272278, 0.353706955909729, -0.5753663182258606, -0.8078753352165222, -0.42891374230384827, 0.17234420776367188, -0.2815147638320923, 1.095970630645752, -0.07629747688770294, 0.0852334126830101, -0.36312052607536316, -0.09698216617107391, -0.4984092116355896, -0.17675632238388062, -0.6599533557891846, 0.007822033017873764, 0.41403454542160034, 0.6164628267288208, 0.6604612469673157, 0.7897016406059265, 0.4745248556137085, 0.11012855172157288, 0.09334270656108856, 0.08431589603424072, -0.5994745492935181, -0.12319999188184738, -0.6303838491439819, -0.2684049606323242, -0.2362120896577835, 0.2309514880180359, 0.5743748545646667, 0.5718357563018799, 0.37836503982543945, 0.2327713966369629, -0.001858615200035274, 0.7258434295654297, -0.5710132122039795, 0.15019740164279938, -0.8257954120635986, 0.07422313839197159, 0.16037924587726593, -0.28687232732772827, -0.6417208313941956, -0.1535234898328781, 0.11527320742607117, -0.7794878482818604, 0.4010082185268402, 0.24913324415683746, 0.9989556074142456, 0.47470200061798096, -0.5049523711204529, -0.004986650310456753, -0.4674880802631378, 0.8653779625892639, -0.6082525849342346, 0.40952473878860474, 0.39608466625213623, 0.08470961451530457, -0.06686315685510635, -0.4917720556259155, -0.264268159866333, -0.16159823536872864, -0.1605512648820877, 0.16977861523628235, 0.08742240071296692, -0.07419908046722412, 0.0627453625202179, 0.2944696247577667, -0.3781128525733948, 0.046830758452415466, -0.6783927083015442, -0.23347929120063782, 0.6713466644287109, -0.0864841416478157, 0.22674322128295898, -0.32942095398902893, -0.3825646638870239, 0.07171158492565155, -0.8903003334999084, -0.022219959646463394, 0.22302484512329102, 0.1607358306646347, -0.21732838451862335, 0.6478257179260254, -0.38360223174095154, 0.6074202656745911, 0.3911927044391632, -0.14625371992588043, -0.024296237155795097, -0.2403927892446518, -0.043588362634181976, 0.29449114203453064, 0.5919215679168701, 1.0291352272033691, 0.3917487859725952, -0.34076178073883057, -0.2100023627281189, 0.12986400723457336, 0.17739544808864594, -0.8440622091293335, -0.01554519310593605, 0.3252819776535034, -0.4808051884174347, -0.5147039890289307, -0.031197182834148407, -0.5835723876953125, -0.3299465477466583, -0.5181581974029541, 0.24635177850723267, -0.1983305811882019, -0.1235976591706276, -0.14201699197292328, -0.10583247989416122, 0.4877077639102936, 0.16656158864498138, -0.4858747124671936, 0.14721518754959106, 0.6230676174163818, 0.6365651488304138, -0.5498694777488708, -0.05570230260491371, -0.6996597647666931, 0.5670735239982605, -0.45929670333862305, 0.7058834433555603, -0.4360739290714264, -0.011290254071354866, 0.03737105801701546, 0.12298989295959473, 0.2373291403055191, -0.2778005301952362, 0.5195744633674622, -0.5824555158615112, 0.13503946363925934, 0.03410104289650917, -0.4369146227836609, -0.10989698767662048, 0.27672699093818665, -0.8141958713531494, 0.4482094943523407, 0.026008257642388344, -0.6622488498687744, 0.1738463044166565, -0.23333700001239777, -0.8656942248344421, -0.46346887946128845, 0.005048071965575218, -0.4161776900291443, 0.30925944447517395, 0.7486431002616882, 0.6888129115104675, -0.07403778284788132, 0.5651676058769226, -0.22314248979091644, -0.28728538751602173, 0.397414892911911, -0.38488975167274475, -0.06677445024251938, 0.21883301436901093, 0.004336777608841658, 0.13457298278808594, -0.7084877490997314, -0.12882429361343384, 0.021609483286738396, -0.24618618190288544, -0.3071076571941376, 0.048356518149375916, 0.21778348088264465, 0.1847783774137497, 0.04853595048189163, -0.49412235617637634, -0.04792380332946777, -0.36914384365081787, 0.7678093910217285, 0.3524091839790344, 0.5094935297966003, 0.7669504284858704, -0.1529635339975357, 0.07891245186328888, 0.09511584043502808, -0.21332529187202454, -0.41906607151031494, -0.3219401240348816, -0.6030188202857971, -0.034955695271492004, 0.39179420471191406, 0.4867762327194214, -0.8485901355743408, 0.09837073087692261, -0.4040500819683075, -0.019177796319127083, -0.5112679600715637, -0.1415739357471466, 0.5276821851730347, 0.582781970500946, 0.34569019079208374, -0.01925571821630001, -0.4236716628074646, -1.1246943473815918, -0.33275923132896423, 0.3367955684661865, -0.17516884207725525, 0.10013874620199203, 0.1761571764945984, 0.22610051929950714, 0.9241192936897278, -0.44610416889190674, -0.4341685175895691, -0.31543004512786865, 0.18932682275772095, 0.08771851658821106, 0.7757036685943604, 0.2548404932022095, -1.022122859954834, -0.17925378680229187, -0.18467694520950317, -0.6656135320663452, 0.09637483954429626, -0.3983808755874634, -0.3050495386123657, 0.30153951048851013, 0.7572376132011414, -0.6131148934364319, 0.4707012176513672, 0.35866737365722656, -0.21053405106067657, 0.14703884720802307, 0.10233751684427261, 0.2648228704929352, -1.1352837085723877, 0.06577635556459427, 0.3140159249305725, -0.44221851229667664, -0.466524600982666, 0.09641912579536438, 0.11991310119628906, -0.6233675479888916, -0.7514150142669678, 0.6991178393363953, -0.5698744654655457, -0.25739553570747375, -0.2692781090736389, 0.14814946055412292, 0.21007953584194183, 0.789016842842102, 0.511321485042572, 0.7933949828147888, 0.584710419178009, -0.6469897627830505, -0.06086717173457146, 0.17672739923000336, -0.39226335287094116, 0.6208583116531372, -0.8431666493415833, 0.20995652675628662, -0.46546295285224915, 0.3143409192562103, -1.0339486598968506, -0.7694730162620544, 0.2558300793170929, -0.3992249667644501, 0.4291737973690033, -0.13148219883441925, -0.3224239945411682, -0.12164691090583801, -0.33998239040374756, 0.579436182975769, 0.4551553726196289, -0.21288932859897614, 0.4797498285770416, 0.14592373371124268, -0.1741689145565033, -0.3575585186481476, -0.9355212450027466, 0.24263896048069, -0.08903774619102478, -0.29555171728134155, 0.47208288311958313, 0.11956601589918137, 0.0263066329061985, 0.3482237160205841, -0.33725225925445557, -0.2296842485666275, -0.043799854815006256, 0.20530714094638824, 0.17401427030563354, -0.1458224654197693, 0.12694181501865387, 0.5672905445098877, -0.24632927775382996, -0.007885836996138096, -0.36005493998527527, -0.010289400815963745, 0.04224688559770584, -0.22339290380477905, -0.7996268272399902, 0.4856499135494232, 0.6072030067443848, -0.4885712265968323, 0.46641069650650024, 0.5149978995323181, -0.5268955230712891, -0.03553988039493561, -0.5262207388877869, -0.347087025642395, -0.38837772607803345, 0.4531566798686981, -0.31007063388824463, -0.7256423234939575, 0.2728666663169861, -0.02635890431702137, -0.03733357414603233, 0.34988629817962646, 0.34543368220329285, -0.14245373010635376, 1.0124460458755493, 0.21651965379714966, -0.08322826027870178, 0.2423209846019745, -0.3684910833835602, -0.0213143490254879, -0.7559025287628174, -0.07925081253051758, 0.12003874778747559, -0.49710309505462646, -0.4533331096172333, -0.38125884532928467, 0.38499122858047485, -0.19229769706726074, -0.2190689742565155, 0.11108213663101196, -0.5936100482940674, 0.6373451948165894, 0.5484751462936401, 0.6542515754699707, 0.4717313051223755, 0.20592540502548218, 0.5204070806503296, -0.08619770407676697, -0.298761248588562, -0.5044047832489014, 1.1470645666122437, 0.4104093611240387, 0.8808973431587219, -0.2563587725162506, 0.43091881275177, 0.27710655331611633, 0.45250001549720764, -0.9345617294311523, 0.6338558793067932, -0.29068076610565186, -0.6655166149139404, -0.040181905031204224, -0.10525641590356827, -0.5555113554000854, -0.06784950196743011, -0.20279642939567566, -0.32278504967689514, 0.20720274746418, 0.1666402667760849, -0.34296876192092896, 0.029464341700077057, -0.62889564037323, 0.6881269812583923, -0.0012203024234622717, -0.5953825116157532, -0.30753669142723083, -0.7356795072555542, 0.4784345030784607, 0.12190564721822739, 0.20370855927467346, -0.32830265164375305, -0.2824317514896393, 0.47334349155426025, 0.08555194735527039, 0.9563381671905518, -0.08328818529844284, -0.07122091203927994, 0.45067161321640015, 0.027839209884405136, 0.3618098199367523, 0.3810907006263733, -0.08499470353126526, 0.00948526430875063, -0.2932407557964325, -0.30705684423446655, -0.5930166244506836, 0.8256845474243164, -0.5934502482414246, -0.8308159112930298, -0.020772047340869904, -0.6909781098365784, -0.3246123790740967, 0.16039642691612244, 0.48228439688682556, 0.6487419009208679, -0.04453857243061066, 0.4148373007774353, 0.6859688758850098, -0.06954827904701233, 0.32921117544174194, 0.31749194860458374, 0.121844083070755, -0.7415611743927002, 0.9269618988037109, -0.23800399899482727, 0.2622887194156647, 0.6230667233467102, -0.049968112260103226, -0.17056845128536224, -0.6995436549186707, -0.5348529815673828, 0.07620395720005035, -0.7456858158111572, -0.5709338784217834, -0.36546075344085693, -0.149845689535141, -0.1636682152748108, -0.26330187916755676, -0.3076668977737427, -0.4884108006954193, -0.5828691720962524, -0.3228245973587036, 0.2782132923603058, 0.3399437665939331, 0.29094934463500977, 0.2212042510509491, -0.7810148000717163, 0.7208604216575623, 0.27011436223983765, 0.305666446685791, -0.13792318105697632, -0.42597320675849915, -0.1320781111717224, 0.02278844080865383, -0.2920636832714081, -0.9532915949821472, 0.19116851687431335, 0.3114053010940552, 0.35003313422203064, 0.3904913365840912, 0.38829392194747925, 0.2703859508037567, -0.6545621752738953, 0.695371150970459, 0.05773834511637688, -0.8879778385162354, 0.8245513439178467, -0.4814004898071289, 0.1837528795003891, 0.6308754682540894, 0.3264380395412445, -0.13263626396656036, -0.7313404679298401, -0.18635733425617218, -0.7333908081054688, 0.5864158272743225, 0.3599112927913666, 0.3501838445663452, 0.06107737123966217, 0.687728762626648, -0.009095443412661552, 0.320140540599823, -1.0080037117004395, 0.12731334567070007, -0.4060956835746765, -0.6287247538566589, 0.19422301650047302, -0.2863072156906128, -0.08484768122434616, -0.2806784212589264, 0.5203931927680969, -0.29624056816101074, 0.2268964648246765, 0.4415977895259857, -0.2388082593679428, -0.14475396275520325, 0.3085463047027588, 0.5401248931884766, 0.5790198445320129, -0.17494601011276245, 0.22161729633808136, -0.10995368659496307, -0.11892774701118469, 0.25473901629447937, 0.20897488296031952, -0.24245388805866241, -0.06151221692562103, 0.4028366506099701, 1.0400967597961426, 0.4868113100528717, -0.5804747343063354, 0.5317939519882202, 0.22311073541641235, -0.2330130785703659, 0.0009103276534006, 0.05638990178704262, -0.030478311702609062, 0.10427626967430115, 0.5378069281578064, 0.11357530206441879, 0.26033586263656616, -0.4852410554885864, 0.2351142019033432, 0.21882447600364685, -0.3006802797317505, -0.42937713861465454, 0.9110987782478333, 0.396237313747406, 0.1002717912197113, 0.4866050183773041, -0.2411472499370575, -0.24837027490139008, 0.6241056323051453, 0.47780120372772217, 0.8706056475639343, 0.07481648772954941, 0.11941884458065033, 0.5642366409301758, 0.1654980182647705, -0.042835868895053864, 0.2235972136259079, 0.07763620465993881, -0.6050480008125305, -0.6565340757369995, -0.24342213571071625, -0.2812882661819458, 0.28085196018218994, -0.6989637017250061, 0.2598143219947815, -0.5050713419914246, -0.012229636311531067, -0.08467233926057816, -0.35452812910079956, -0.5363266468048096, 0.4281176030635834, 0.3101176917552948, 0.8759676814079285, -0.9076290130615234, 0.5943096280097961, 0.9617382884025574, -0.3906894624233246, -0.6810435652732849, 0.4379880726337433, -0.28486886620521545, -0.5282878279685974, 0.6094557642936707, 0.58405601978302, 0.35115668177604675, 0.29750755429267883, -0.9586760401725769, -0.7856768369674683, 0.9877781271934509, 0.3499950170516968, -0.5067815780639648, -0.12974809110164642, 0.24733887612819672, 0.3047240972518921, -0.5701735019683838, -0.25717127323150635, 0.35996997356414795, 0.6508800387382507, 0.2797078490257263, -0.40255776047706604, 0.28854963183403015, 0.04001467674970627, 0.32464203238487244, -0.25007715821266174, -0.4172567129135132, 0.3605306148529053, -0.4763825237751007, -0.4222250282764435, 0.26305124163627625, 1.0930348634719849, 0.2844926118850708, 0.7885072827339172, 0.37976738810539246, 0.4498148560523987, 0.24903304874897003, -0.11959673464298248, 1.0905656814575195, -0.36836519837379456, 0.1765705794095993, 1.1303658485412598, 0.01531772967427969, 0.8768062591552734, 0.6186755299568176, 0.26164761185646057, 0.34942519664764404, 0.6833245754241943, -0.09622135758399963, 1.1140228509902954, 0.04979240149259567, -0.03101462870836258, -0.29335615038871765, -0.3944028317928314, 0.0013680937699973583, 0.17639897763729095, 0.38397836685180664, -0.45210325717926025, -0.26364487409591675, 0.516425371170044, -0.13253545761108398, 0.33829304575920105, -0.5712621212005615, 0.7926853895187378, 0.15863102674484253, -0.9669792652130127, 0.5358287692070007, 0.12018214166164398, 0.46239227056503296, -0.21151381731033325, 0.010167043656110764, -0.2665642499923706, -0.0019588449504226446, -0.31628575921058655, -1.157667636871338, 0.29842478036880493, -0.05273376405239105, -0.3973523676395416, -0.15393373370170593, 0.8987447023391724, -0.8800742030143738, -0.5738052129745483, -0.44080880284309387, 0.24235646426677704, -0.0010953819146379828, -0.2725750505924225, -0.24368150532245636, 0.15645185112953186, -0.023534119129180908, -0.46095481514930725, 0.03063558228313923, 0.38507550954818726, -0.3280683755874634, 0.39827802777290344, 0.49747779965400696, -0.27041861414909363, -0.455518513917923, -0.028793295845389366, 0.907745361328125, -0.5707902908325195, -0.36943164467811584, -0.5894835591316223, 0.624466598033905, -0.025336431339383125, -0.041758451610803604, 0.3328379988670349, 0.43923431634902954, 0.5618078112602234, -0.6595274806022644, 0.6800128221511841, 0.16011688113212585, 0.2584962844848633, -0.9010403752326965, 0.6390140056610107, -0.49139827489852905, -0.11347734928131104, 0.03111223317682743, -0.8782903552055359, -0.318105548620224, 0.25972265005111694, -0.3757343888282776, -0.2897336781024933, 0.566581666469574, 0.7303172945976257, -0.2660735845565796, -0.18834005296230316, 0.14364473521709442, 0.037055060267448425, 0.13221222162246704, 0.6551038026809692, 0.8341040015220642, -0.43652501702308655, 0.5985126495361328, -0.2776649594306946, 0.019756872206926346, -0.05002477765083313, -1.286232590675354, -1.088050127029419, -0.5409365892410278, -0.7163700461387634, -0.041298773139715195, 0.2877272963523865, 0.7459481358528137, 0.8379109501838684, -0.988305389881134, 0.3952527642250061, -0.36577489972114563, 0.22545000910758972, -0.11013241112232208, -0.2609004080295563, 0.567224383354187, -0.346452921628952, -0.9438250660896301, 0.25847989320755005, 0.026880430057644844, 0.053482525050640106, -0.1388499140739441, 0.16260787844657898, 0.08714939653873444, 0.009103289805352688, 0.5598040223121643, 0.11187522858381271, -0.8112643361091614, -0.35531800985336304, -0.14210814237594604, -0.1411004662513733, 0.07855503261089325, 0.8141409158706665, -0.8716661334037781, 0.06987575441598892, 0.403196781873703, 0.7181262969970703, 0.2851577401161194, 0.32558557391166687, 0.6289232969284058, -1.2089781761169434, 0.5199178457260132, -0.040794022381305695, 0.09964409470558167, 0.6910399198532104, -0.5582072138786316, 0.47953420877456665, 0.13228970766067505, -0.2095608115196228, -0.5921164751052856, 0.1483270525932312, -1.0957797765731812, -0.35437142848968506, 1.449864149093628, -0.08318225294351578, -0.3818093538284302, 0.24849340319633484, -0.4207576513290405, 0.33104202151298523, -0.6159442067146301, 0.3964601755142212, 0.3746856153011322, 0.3455873727798462, -0.46476513147354126, -0.4424839913845062, 0.48395416140556335, 0.16689863801002502, -0.7899088263511658, -0.1108684316277504, 0.6819568872451782, 0.35389089584350586, 0.04263613745570183, 0.1174030676484108, -0.008086775429546833, 0.3563423752784729, -0.6370549201965332, -0.05057605355978012, -0.46948370337486267, -0.37145599722862244, -0.09172143042087555, 0.0821617916226387, -0.19462014734745026, -0.49705949425697327 ]
http://arxiv.org/abs/2404.10136v1
http://arxiv.org/pdf/2404.10136v1
Language Model Cascades: Token-level uncertainty and beyond
2024-04-15T21:02:48
2024-04-15T21:02:48
Neha Gupta, Harikrishna Narasimhan, Wittawat Jitkrittum, Ankit Singh Rawat, Aditya Krishna Menon, Sanjiv Kumar
cs.CL
cs.CL, cs.AI, cs.LG
Recent advances in language models (LMs) have led to significant improvements in quality on complex NLP tasks, but at the expense of increased inference costs. Cascading offers a simple strategy to achieve more favorable cost-quality tradeoffs: here, a small model is invoked for most "easy" instances, while a few "hard" instances are deferred to the large model. While the principles underpinning cascading are well-studied for classification tasks - with deferral based on predicted class uncertainty favored theoretically and practically - a similar understanding is lacking for generative LM tasks. In this work, we initiate a systematic study of deferral rules for LM cascades. We begin by examining the natural extension of predicted class uncertainty to generative LM tasks, namely, the predicted sequence uncertainty. We show that this measure suffers from the length bias problem, either over- or under-emphasizing outputs based on their lengths. This is because LMs produce a sequence of uncertainty values, one for each output token; and moreover, the number of output tokens is variable across examples. To mitigate this issue, we propose to exploit the richer token-level uncertainty information implicit in generative LMs. We argue that naive predicted sequence uncertainty corresponds to a simple aggregation of these uncertainties. By contrast, we show that incorporating token-level uncertainty through learned post-hoc deferral rules can significantly outperform such simple aggregation strategies, via experiments on a range of natural language benchmarks with FLAN-T5 models. We further show that incorporating embeddings from the smaller model and intermediate layers of the larger model can give an additional boost in the overall cost-quality tradeoff.
[ -0.3484194576740265, -0.6772143244743347, 0.40524572134017944, 0.009140120819211006, -0.07434140890836716, 0.031695783138275146, -0.062465816736221313, -0.45394957065582275, -0.1335170567035675, 0.27896416187286377, -0.4653548002243042, -0.3207387626171112, -0.8347415328025818, -0.15894554555416107, -0.6042674779891968, 1.1201956272125244, 0.036387115716934204, -0.10963310301303864, -0.15596100687980652, 0.18619291484355927, -0.5340746641159058, -0.6523931622505188, -0.8365894556045532, -0.3439006805419922, 0.6603994369506836, 0.17878812551498413, 0.9386138319969177, 0.6211495399475098, 0.4146953523159027, 0.15169616043567657, -0.34819507598876953, -0.10167841613292694, -0.1472228616476059, 0.25088584423065186, -0.10100499540567398, -0.7087929844856262, -0.4152091145515442, -0.20764054358005524, 0.5834618210792542, 1.0774006843566895, -0.21579547226428986, 0.059995777904987335, 0.10851772874593735, 0.684056282043457, -0.8706511855125427, 0.3195154368877411, -0.6088181138038635, 0.20751254260540009, -0.3447750210762024, 0.2092965841293335, -0.43484407663345337, -0.1123189628124237, 0.2552226781845093, -0.33225682377815247, 0.29220497608184814, 0.09836442768573761, 0.7883985638618469, 0.427213579416275, -0.18400488793849945, -0.4401356279850006, -0.9290833473205566, 0.8693835735321045, -0.877676248550415, 0.28621822595596313, 0.6251320838928223, -0.01788901537656784, -0.158377543091774, -0.9385072588920593, -0.46187981963157654, 0.022003304213285446, -0.08353040367364883, -0.023694690316915512, -0.2524570822715759, 0.36603784561157227, 0.13137108087539673, 0.6722134351730347, -0.2530331611633301, 0.25602278113365173, -0.3766612112522125, -0.27146926522254944, 0.30563071370124817, 0.13000991940498352, 0.14859718084335327, -0.14313603937625885, -0.2877609133720398, 0.049452733248472214, -0.5438367128372192, 0.13457438349723816, 0.21370290219783783, 0.5531116724014282, -0.09635140001773834, 0.45266586542129517, -0.11657744646072388, 0.6045112013816833, 0.08062698692083359, 0.03541385754942894, -0.14233168959617615, -0.3885483741760254, -0.3427722752094269, 0.12372167408466339, 0.5109645128250122, -0.10293316096067429, 0.17115594446659088, -0.05599971488118172, -0.4305483400821686, 0.09153014421463013, 0.23409923911094666, -0.48407211899757385, -0.13778163492679596, 0.37756407260894775, -0.3831717073917389, -0.34403738379478455, -0.007835973985493183, -0.5421077013015747, -0.09957142174243927, -0.2488090693950653, 0.5337238311767578, -0.43580105900764465, -0.16137750446796417, 0.0404944084584713, 0.12207230180501938, 0.005367551930248737, 0.34585464000701904, -1.0082567930221558, 0.6362500190734863, 0.9868080019950867, 1.0763671398162842, -0.057509645819664, -0.317741721868515, -0.734650731086731, -0.05372365191578865, -0.6188764572143555, 0.30833932757377625, -0.5149639844894409, -0.4344111680984497, 0.11948668211698532, -0.42858535051345825, -0.04758729040622711, -0.2101084440946579, 0.6874665021896362, -0.6282364130020142, 0.4771606922149658, -0.3950831890106201, -0.5955020189285278, -0.02636251412332058, -0.14542295038700104, -0.6629139184951782, 1.146040916442871, 0.12278185784816742, -1.1399924755096436, 0.706384003162384, -0.3321284353733063, -0.6596704125404358, -0.04171176254749298, 0.05749519169330597, -0.2639782428741455, 0.46772241592407227, 0.12333809584379196, 0.4020465314388275, -0.27962014079093933, 0.3687659502029419, -0.057132210582494736, -0.37306714057922363, 0.16709406673908234, -0.8086487054824829, 0.434737890958786, 0.2688170075416565, -0.27496466040611267, 0.06855004280805588, -0.46275338530540466, -0.17124292254447937, -0.47040167450904846, -0.39176008105278015, -0.4298447072505951, 0.1600465625524521, -0.2576656639575958, 0.338542103767395, -0.027776749804615974, -0.12259265035390854, 0.11882687360048294, -0.5296511650085449, 0.42191463708877563, 0.8611982464790344, -0.23446378111839294, 0.7561638951301575, -0.32252511382102966, 0.511314332485199, 0.18480059504508972, 0.3457641303539276, -0.16385142505168915, -0.5485535860061646, -1.120782732963562, -0.16140396893024445, 0.6056742072105408, 0.2683694064617157, -0.7015965580940247, 0.36376503109931946, -0.2641618847846985, -0.205617755651474, -0.5990773439407349, -0.11091390997171402, 0.3905479907989502, 0.30487585067749023, 0.4418362081050873, -0.6321182250976562, -0.22221967577934265, -0.5872825384140015, -0.1309526264667511, -0.4728746712207794, -0.020955504849553108, -0.2542923092842102, 0.4995430111885071, 0.11058696359395981, 0.9497038125991821, -0.4539380371570587, -0.31570443511009216, -0.4133906960487366, 0.5427993535995483, 0.16607554256916046, 0.5039157271385193, 0.26830413937568665, -0.5527474284172058, -0.07460666447877884, -0.31552594900131226, -0.14357547461986542, -0.07111659646034241, -0.34006962180137634, -0.149167999625206, 0.5613694190979004, 0.411927193403244, -0.9606446027755737, 0.5723537802696228, 0.4530918002128601, -0.07401803135871887, 0.5644194483757019, -0.14382430911064148, -0.30673229694366455, -1.146005392074585, -0.19117020070552826, -0.1894300878047943, -0.09714151173830032, -0.853693962097168, -0.013935293070971966, -0.09504636377096176, 0.3979901969432831, -0.2960716784000397, 0.34565025568008423, -0.5081396102905273, -0.33250656723976135, -0.29891446232795715, -0.11210265755653381, 0.025002868846058846, 0.3367803692817688, 0.1019328236579895, 0.5119143128395081, 0.7353710532188416, -0.8571311831474304, -0.043120384216308594, -0.1828208565711975, -0.4351798892021179, 0.3814435303211212, -0.5534940958023071, -0.13374970853328705, -0.26511162519454956, 0.39522793889045715, -0.76991868019104, -0.1699886918067932, 0.13335460424423218, -0.4179360270500183, 0.6939553618431091, -0.14644989371299744, -0.3970688581466675, -0.46098190546035767, -0.2967112362384796, 0.5076186060905457, 0.623423159122467, -0.26851195096969604, 0.3811412453651428, -0.02443414181470871, -0.167648047208786, -0.9077391028404236, -1.0830607414245605, 0.1367085576057434, -0.12098585814237595, -0.19051319360733032, 0.6008760333061218, 0.09161997586488724, -0.20394138991832733, 0.02795735001564026, -0.40266165137290955, -0.08527776598930359, 0.19380252063274384, 0.2657454013824463, -0.0021193160209804773, -0.25855252146720886, 0.21000735461711884, 0.2532086968421936, -0.13172060251235962, 0.03731654956936836, -0.606174111366272, 0.6724909543991089, -0.0012890653451904655, -0.5684966444969177, -0.5528298020362854, 0.11641743034124374, 0.5761677026748657, -0.06842326372861862, 1.0017904043197632, 0.6173095107078552, -0.6543874740600586, -0.33978402614593506, -0.44240376353263855, -0.22198979556560516, -0.39987310767173767, 0.176345556974411, -0.3859688639640808, -0.7834419012069702, 0.6068925857543945, 0.3007810413837433, 0.04546318203210831, 0.5662754774093628, 0.38985496759414673, 0.09723883867263794, 0.7808111310005188, 0.4988018572330475, -0.3468206524848938, 0.3577929139137268, -0.134987935423851, 0.32515910267829895, -0.6150400638580322, -0.12487993389368057, -0.569398045539856, -0.2473166584968567, -0.5547441840171814, -0.8676891922950745, -0.015146082267165184, 0.44452303647994995, -0.3718617260456085, 0.1394863724708557, -0.18961164355278015, 0.19271214306354523, 0.8079566359519958, -0.17025476694107056, 0.3115832805633545, -0.055033884942531586, -0.0706486776471138, 0.09004811197519302, -0.975224494934082, -0.3863741457462311, 0.7059900760650635, 0.4964894652366638, 0.837768018245697, 0.21454694867134094, 0.5566659569740295, 0.41450804471969604, 0.26975223422050476, -0.8077080845832825, 0.23148055374622345, -0.15931379795074463, -0.5954954624176025, -0.4100417196750641, -0.4543904662132263, -0.8003942966461182, 0.19421136379241943, 0.040893491357564926, -0.656323254108429, 0.32894256711006165, 0.2296486347913742, -0.4393121898174286, 0.49633365869522095, -0.2986358106136322, 0.591214120388031, -0.02059747278690338, -0.24623076617717743, -0.0032119492534548044, -0.9670155048370361, 0.41927018761634827, -0.2760789692401886, 0.4249476194381714, -0.04550820589065552, -0.022522030398249626, 0.4425632059574127, -0.7471745610237122, 1.0713245868682861, 0.14203929901123047, -0.2160966843366623, 0.3919854462146759, 0.36752501130104065, 0.49531546235084534, -0.11641740798950195, -0.1881941854953766, 0.09733140468597412, 0.06524118781089783, -0.484045147895813, -0.42496922612190247, 0.617533266544342, -0.6099251508712769, -0.5721437335014343, -0.579924464225769, -0.47282978892326355, 0.009545279666781425, 0.047610800713300705, 0.5335902571678162, 0.5030619502067566, 0.09508073329925537, -0.023776350542902946, 0.484443336725235, -0.25498414039611816, 0.7328718304634094, 0.013944861479103565, -0.020418813452124596, -0.19341780245304108, 0.6255922913551331, 0.2567569613456726, 0.8772896528244019, 0.6886464357376099, 0.2842128276824951, -0.35451000928878784, -0.5810685753822327, -0.2518356740474701, -0.20453885197639465, -0.7695327997207642, -0.3715585470199585, -0.4174250364303589, -0.4035276770591736, -0.3904704749584198, -0.1002136617898941, -0.35867834091186523, -0.6706549525260925, -0.5677568912506104, -0.3304111361503601, 0.24852080643177032, 0.8394238948822021, -0.07669366896152496, 0.32189008593559265, -0.609894871711731, -0.07706406712532043, 0.1423901617527008, 0.4627699851989746, 0.40259966254234314, -0.7790191769599915, -0.09464961290359497, 0.10550396144390106, -0.12709146738052368, -0.5856634378433228, 0.32873040437698364, 0.40587010979652405, 0.387043833732605, 0.6236131191253662, 0.35748589038848877, 0.8529020547866821, -0.41156959533691406, 1.114805817604065, 0.1894068866968155, -1.379294753074646, 0.41343897581100464, -0.0017802715301513672, 0.1884814202785492, 0.4536000192165375, 0.3438371419906616, -0.7007667422294617, -0.4937150180339813, -0.5055827498435974, -1.081701397895813, 0.885109007358551, 0.5290226936340332, 0.5129408240318298, -0.2262854278087616, 0.5113022923469543, 0.15851551294326782, 0.28381720185279846, -0.7912007570266724, -0.2253858596086502, -0.15740971267223358, -0.2765061855316162, 0.0620608851313591, -0.40004226565361023, 0.16411830484867096, -0.12000783532857895, 0.43060624599456787, 0.040212031453847885, 0.01218733936548233, 0.12083186954259872, -0.14326192438602448, -0.12461575120687485, 0.28265610337257385, 0.7069375514984131, 0.31633052229881287, -0.07229982316493988, 0.5662258863449097, 0.4085449278354645, -0.3798079192638397, -0.017385998740792274, -0.15279871225357056, -0.1560782641172409, 0.04879472404718399, 0.7752756476402283, 0.9749852418899536, 0.24665409326553345, -0.33987659215927124, 0.5129002928733826, 0.1320921778678894, -0.0711769089102745, -0.14229735732078552, -0.1276431679725647, -0.11631408333778381, -0.08078640699386597, 0.379468709230423, 0.18533092737197876, 0.1285688579082489, -0.5563476085662842, 0.2568168640136719, 0.2949654459953308, -0.5354486703872681, -0.4945395886898041, 0.8192102909088135, -0.005271993577480316, -0.2719345688819885, 0.4147144854068756, -0.1224348172545433, -0.4971174895763397, 0.5338207483291626, 0.3385624885559082, 0.831693708896637, -0.34516236186027527, 0.13735879957675934, 0.08015323430299759, 0.4198492169380188, -0.5764752626419067, 0.059051141142845154, -0.16981381177902222, -0.6118517518043518, -0.5957515835762024, -0.9230738282203674, -0.24239292740821838, -0.03282468020915985, -0.843306303024292, 0.22221508622169495, -0.38851404190063477, -0.34580448269844055, -0.4011678993701935, -0.2826061546802521, -0.5886895656585693, 0.3101552426815033, 0.21051521599292755, 0.9498566389083862, -0.7657148838043213, 0.5397156476974487, 0.2641892433166504, -0.5655845403671265, -0.7678505778312683, 0.4095502197742462, -0.1818799376487732, -0.5126099586486816, 0.7663214206695557, 0.14584070444107056, -0.05078167840838432, -0.17296671867370605, -0.12596341967582703, -1.1536489725112915, 0.9833431839942932, 0.05982641503214836, -0.5390681624412537, -0.35582002997398376, 0.35536712408065796, 0.6639081835746765, -0.1767936646938324, 0.18574246764183044, 0.6634962558746338, 0.16116487979888916, 0.36907869577407837, -0.8515618443489075, 0.15360547602176666, 0.2791106402873993, 0.3061540424823761, 0.34099993109703064, -0.4829644560813904, 0.9940803647041321, -0.21827702224254608, -0.3300815224647522, 0.1489744782447815, 0.8257027268409729, -0.12314216792583466, 0.3696433901786804, 0.40578222274780273, 0.5470135807991028, 0.7647026777267456, -0.27268078923225403, 1.2434868812561035, -0.38327670097351074, 0.30522921681404114, 1.1510123014450073, -0.17276857793331146, 0.9761372804641724, 0.4319742023944855, -0.4052036702632904, 0.5669705867767334, 1.063988447189331, 0.4826352000236511, 0.4667181968688965, 0.5751850008964539, -0.40729671716690063, -0.110515296459198, -0.2254355251789093, -0.28198885917663574, 0.17663326859474182, 0.5829871892929077, -0.5215594172477722, 0.1033041849732399, -0.21040378510951996, 0.06072069704532623, -0.2128894180059433, -0.4089747965335846, 0.7189670205116272, 0.36938148736953735, -0.7213383913040161, 0.3378060460090637, 0.03831770643591881, 0.8122916221618652, -0.34158918261528015, 0.3712574541568756, -0.4655718207359314, -0.006392883136868477, -0.1669677048921585, -0.6089064478874207, 0.4327426850795746, -0.20622724294662476, -0.22624051570892334, -0.20879986882209778, 0.5868337750434875, -0.4954250752925873, -0.706849992275238, 0.2035953551530838, 0.4437559247016907, 0.04655354842543602, 0.05444517731666565, -0.45690152049064636, -0.0032908644061535597, -0.4251909852027893, -0.23017942905426025, 0.17686240375041962, 0.5167378783226013, -0.22622761130332947, 0.6883184909820557, 0.41998299956321716, 0.31131550669670105, 0.1564485728740692, 0.49196135997772217, 0.6445401310920715, -0.388016015291214, -0.2680884003639221, -1.0476659536361694, 0.5080376267433167, 0.24043403565883636, -0.26369500160217285, 0.3409777283668518, 0.30746543407440186, 1.0145095586776733, 0.0340874008834362, 0.642657458782196, 0.168258935213089, 0.09028441458940506, -0.5948273539543152, 0.4679186940193176, -0.49072468280792236, 0.5436580181121826, -0.4628077745437622, -0.7674925327301025, -0.45680686831474304, 0.4673091173171997, -0.1971130222082138, 0.24972525238990784, 0.5464614033699036, 0.5163570642471313, 0.030184784904122353, -0.16276131570339203, 0.35145410895347595, 0.0008887556032277644, 0.2131621092557907, 0.4734196066856384, 0.871882438659668, -0.3684983253479004, 0.43453818559646606, -0.2868648171424866, 0.09897774457931519, -0.18084484338760376, -0.852556586265564, -0.6558506488800049, -0.6790615320205688, -0.3367956280708313, -0.3079957067966461, 0.011666698381304741, 0.8300000429153442, 0.798161506652832, -0.8459291458129883, -0.003971489146351814, -0.6025803685188293, 0.3272043466567993, -0.20760345458984375, -0.27130770683288574, 0.3605576455593109, -0.6928074955940247, -0.8414230346679688, -0.05547454580664635, 0.19286979734897614, 0.41699159145355225, -0.28120219707489014, 0.04039188101887703, 0.0028243435081094503, 0.37731021642684937, 0.6167327165603638, -0.0020569749176502228, -1.1285983324050903, -0.32593557238578796, -0.18149703741073608, -0.11833050847053528, -0.2348807156085968, 0.8074299097061157, -0.5765668153762817, 0.27745962142944336, 0.5291206240653992, 0.5475063920021057, 0.3473893105983734, 0.08689868450164795, 0.7957772016525269, -1.1644604206085205, -0.0013928916305303574, 0.21243591606616974, 0.3406751751899719, 0.35355687141418457, -0.25661224126815796, 0.33661261200904846, 0.07172545045614243, -0.35800984501838684, -1.0209819078445435, 0.44824692606925964, -0.5306563377380371, -0.47390687465667725, 1.0155779123306274, -0.0699164867401123, 0.18480247259140015, -0.10252086818218231, 0.023196350783109665, 0.4273577928543091, -0.16776300966739655, 0.9003984332084656, 1.0111443996429443, 0.022410091012716293, -0.20063680410385132, -0.4354429543018341, 0.8763688802719116, 0.6640101671218872, -0.5834004878997803, 0.17282751202583313, 0.3196769952774048, -0.023581163957715034, 0.23075729608535767, 0.4023483395576477, 0.0975005030632019, 0.003573978552594781, -0.046605437994003296, -0.022115470841526985, 0.4224815368652344, -0.4243519604206085, -0.486439973115921, 0.16715726256370544, 0.521685004234314, -0.13151870667934418 ]