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/2406.02818v1
http://arxiv.org/pdf/2406.02818v1
Chain of Agents: Large Language Models Collaborating on Long-Context Tasks
2024-06-04T23:36:08
2024-06-04T23:36:08
Yusen Zhang, Ruoxi Sun, Yanfei Chen, Tomas Pfister, Rui Zhang, Sercan Ö. Arik
cs.CL
cs.CL
Addressing the challenge of effectively processing long contexts has become a critical issue for Large Language Models (LLMs). Two common strategies have emerged: 1) reducing the input length, such as retrieving relevant chunks by Retrieval-Augmented Generation (RAG), and 2) expanding the context window limit of LLMs. However, both strategies have drawbacks: input reduction has no guarantee of covering the part with needed information, while window extension struggles with focusing on the pertinent information for solving the task. To mitigate these limitations, we propose Chain-of-Agents (CoA), a novel framework that harnesses multi-agent collaboration through natural language to enable information aggregation and context reasoning across various LLMs over long-context tasks. CoA consists of multiple worker agents who sequentially communicate to handle different segmented portions of the text, followed by a manager agent who synthesizes these contributions into a coherent final output. CoA processes the entire input by interleaving reading and reasoning, and it mitigates long context focus issues by assigning each agent a short context. We perform comprehensive evaluation of CoA on a wide range of long-context tasks in question answering, summarization, and code completion, demonstrating significant improvements by up to 10% over strong baselines of RAG, Full-Context, and multi-agent LLMs.
[ -0.6763684153556824, -0.9692966341972351, 0.8463850617408752, 0.23515181243419647, -0.07898179441690445, 0.30237606167793274, -0.5252065062522888, -0.7466700673103333, 0.2530566155910492, 0.7860088348388672, -0.4977611303329468, -0.2512909173965454, -0.4001575708389282, 0.28624483942985535, -0.373578280210495, 1.0788731575012207, -0.059856828302145004, -0.4569022059440613, -0.4093097150325775, -0.1091047078371048, -0.5069769024848938, -0.532427191734314, -0.8462061882019043, -0.289393812417984, 0.8495942950248718, 0.3153373897075653, 0.6936233043670654, 0.6211708188056946, 0.3476390540599823, 0.3221815228462219, -0.03556346520781517, 0.722288191318512, -0.565002977848053, 0.4133974313735962, -0.5142890214920044, -0.03611164540052414, -0.8320569396018982, -0.3245835602283478, 0.7403885126113892, 0.7451024651527405, 0.09179216623306274, 0.0960746631026268, 0.21376372873783112, 0.766808271408081, -0.8397496938705444, 0.06578156352043152, -0.4073195159435272, -0.4128168225288391, 0.012916725128889084, -0.3825471103191376, -0.6467992663383484, 0.2662115693092346, 0.25186556577682495, -0.47842857241630554, -0.39225658774375916, 0.04683578759431839, 0.44322270154953003, 0.18650077283382416, -0.8012132048606873, -0.4418182671070099, -0.7932702898979187, 0.6716762185096741, -0.42789462208747864, 0.028985291719436646, 0.46000543236732483, 0.10469947010278702, -0.43340110778808594, -0.7144749164581299, -0.5586495995521545, -0.08589054644107819, -0.0454815998673439, -0.06933601945638657, -0.06963932514190674, 0.26856765151023865, -0.014094175770878792, 0.09406405687332153, -0.3700887858867645, 0.014986091293394566, -0.26761409640312195, 0.06666312366724014, 0.6244925260543823, 0.08220994472503662, 0.20868593454360962, 0.24379786849021912, -0.6401678919792175, 0.1266259402036667, -0.5347113609313965, -0.08135638386011124, -0.1164279580116272, 0.3972940146923065, -0.08259208500385284, 0.3346831798553467, -0.2601027190685272, 0.9483129382133484, -0.14539304375648499, -0.23328080773353577, -0.005700645036995411, -0.4226361811161041, -0.3456437885761261, -0.1135890781879425, 0.6516050100326538, 0.2558737099170685, 0.051317282021045685, -0.33950915932655334, -0.21712978184223175, -0.24540387094020844, 0.12607091665267944, -0.5660694241523743, 0.5067905187606812, 0.22551178932189941, -0.06722275167703629, -0.04735379293560982, 0.04416384920477867, -0.4966874420642853, -0.23615358769893646, -0.45675987005233765, 0.2890731692314148, -0.136782705783844, -0.08161772042512894, 0.03570318594574928, -0.13599002361297607, 0.13295310735702515, 0.3890439569950104, -0.443837434053421, 0.571280300617218, 0.8562288880348206, 0.8714625239372253, -0.2847040295600891, -0.6534891128540039, -0.9410997033119202, 0.6660430431365967, -0.30056363344192505, 0.5488998889923096, -0.5235841274261475, -0.06555067002773285, -0.025026999413967133, 0.14966827630996704, -0.020992320030927658, -0.2677902281284332, 0.16389501094818115, -0.6652650237083435, 0.02763551101088524, -0.2079387754201889, -0.4832448363304138, 0.0465642474591732, 0.4364359676837921, -0.8326314687728882, 0.837377667427063, 0.1158592626452446, -0.509990394115448, 0.10131664574146271, -0.7332380414009094, -0.6984631419181824, -0.09509549289941788, -0.05087438225746155, 0.05361361429095268, -0.03338172659277916, 0.15830156207084656, 0.5265092849731445, -0.6031990051269531, 0.4327855408191681, -0.18773332238197327, -0.4140687584877014, 0.2969101071357727, -0.3254382610321045, 0.42107561230659485, 0.234329953789711, -0.25288254022598267, 0.333479642868042, -0.5843013525009155, -0.14408226311206818, -0.1401432454586029, -0.4499920904636383, -0.6443310976028442, 0.05417107790708542, -0.13321389257907867, 0.4542563855648041, 0.32013410329818726, -0.15251822769641876, 0.4991132318973541, -0.19002535939216614, 0.49144619703292847, 0.7116343975067139, -0.037798695266246796, 0.7364357113838196, -0.4129057228565216, 0.43446967005729675, -0.13102108240127563, 0.0823274701833725, -0.1449446678161621, -0.10315940529108047, -0.6684010624885559, -0.4684830605983734, -0.1391122043132782, 0.22931641340255737, -1.3027029037475586, 0.5017077326774597, -0.3937511146068573, -0.1489299237728119, 0.0163855142891407, 0.17872676253318787, 0.3939749598503113, 0.43169084191322327, 0.2443147897720337, -0.3381595313549042, -0.43402114510536194, -0.6509274840354919, 0.02436636947095394, -0.10809480398893356, 0.0672307163476944, 0.10228989273309708, 0.6053563952445984, -0.43512606620788574, 1.2424262762069702, -0.34602686762809753, -0.2768535614013672, -0.4135226607322693, -0.05353507399559021, 0.15338458120822906, 0.2649385929107666, 0.18183934688568115, -0.793907105922699, -0.5097057819366455, 0.14263898134231567, -0.5835515260696411, 0.03723687306046486, -0.08885622769594193, -0.35549360513687134, 0.4583205282688141, 0.5562938451766968, -0.7054605484008789, 0.3310629725456238, 0.7365537881851196, -0.3930632770061493, 0.533510148525238, -0.20362867414951324, -0.07144581526517868, -1.2616565227508545, 0.1519700288772583, -0.3153305947780609, -0.6533555388450623, -0.7163098454475403, 0.2565610706806183, -0.24820977449417114, 0.00352349947206676, -0.4141198396682739, 0.7923718690872192, -0.699016273021698, -0.1352127194404602, -0.6078428626060486, 0.38586440682411194, 0.3534378111362457, 0.5558969378471375, 0.024217944592237473, 0.8215417265892029, 0.4853385388851166, -0.8473474979400635, 0.37243446707725525, -0.027540653944015503, -0.1340898722410202, 0.5153293013572693, -0.3488946259021759, 0.4171410799026489, -0.20878903567790985, 0.8553472757339478, -0.6780344247817993, -0.29814326763153076, 0.03926137834787369, -0.13058942556381226, -0.009790059179067612, 0.05689939484000206, -0.5949715375900269, -0.36974456906318665, -0.20811499655246735, 0.6844184398651123, 0.08902761340141296, -0.6529030799865723, 0.7833064198493958, 0.43591102957725525, 0.017603587359189987, -0.8398571610450745, -0.6414814591407776, 0.27954307198524475, -0.099431611597538, -0.7821651101112366, 0.38291478157043457, 0.014360698871314526, -0.3924562633037567, -0.01575985550880432, -0.13763593137264252, -0.41323190927505493, 0.08561540395021439, 0.03390383720397949, 0.09015496075153351, 0.024615630507469177, 0.5198631286621094, 0.0363827645778656, 0.10640442371368408, -0.004489349201321602, -0.37150317430496216, 0.7683240175247192, -0.23188304901123047, -0.0997449979186058, 0.015688598155975342, 0.5552064776420593, 0.8003409504890442, -0.4682549238204956, 0.9745429754257202, 0.32530477643013, -0.32633543014526367, -0.5863274335861206, -0.48390236496925354, -0.03459284082055092, -0.44989731907844543, 0.35702142119407654, -0.42817026376724243, -1.181416392326355, 0.4578786790370941, -0.2456798404455185, -0.08778226375579834, 0.1803944855928421, 0.4836038053035736, 0.13048696517944336, 0.7284498810768127, 0.6686545610427856, -0.42662402987480164, 0.41083964705467224, -0.26730266213417053, 0.21526996791362762, -0.9158437848091125, 0.05854091793298721, -0.24697647988796234, 0.031288452446460724, -0.18419788777828217, -0.8223316073417664, 0.4294757544994354, 0.12969596683979034, -0.13617080450057983, 0.34754109382629395, -0.3256501853466034, 0.6214913129806519, 0.2954052984714508, 0.05988401547074318, 0.5158252120018005, -0.12778738141059875, 0.17352890968322754, 0.7833738923072815, -0.6661611199378967, -0.5325895547866821, 0.6857233643531799, 0.37999773025512695, 0.6402636170387268, 0.2520889937877655, 0.6566299200057983, 0.361413836479187, 0.157403826713562, -0.8155573606491089, 0.7436178922653198, 0.019055506214499474, -0.6167424321174622, -0.6412480473518372, -0.447578489780426, -1.083591341972351, 0.38706839084625244, 0.09435168653726578, -0.7571195960044861, -0.030210847035050392, -0.12800653278827667, -0.1773194968700409, 0.26124680042266846, -0.354908287525177, 0.6318768858909607, -0.11632561683654785, -0.76167231798172, -0.2646670341491699, -0.7918033003807068, 0.27880990505218506, -0.06278090924024582, 0.505905270576477, -0.02232358045876026, -0.20613008737564087, 0.5181217789649963, -0.760371208190918, 0.7899251580238342, 0.2758587896823883, -0.4125867486000061, 0.7893750071525574, -0.009450952522456646, 0.8066865801811218, -0.013668706640601158, -0.11887742578983307, -0.19942231476306915, -0.10705961287021637, -0.3906996250152588, -0.660175085067749, 0.6090455651283264, -0.41485705971717834, -0.4534473121166229, -0.3884621560573578, -0.8491434454917908, -0.14289626479148865, 0.25308266282081604, -0.10747014731168747, 0.5646035075187683, -0.19560402631759644, 0.2369662970304489, 0.11649510264396667, 0.09781619906425476, 0.7151109576225281, 0.468566358089447, -0.29802680015563965, -0.3762025237083435, 0.7369990944862366, -0.07713662832975388, 0.6522626876831055, 0.5265958905220032, 0.04116426408290863, -0.1690327227115631, -0.08991073071956635, -0.1790337860584259, 0.16965939104557037, -0.7661076784133911, -0.09838887304067612, -0.3998003602027893, -0.13428963720798492, -0.35742953419685364, -0.2372198849916458, -0.24170902371406555, -0.03747700899839401, -0.03821338340640068, 0.0681753158569336, 0.17791715264320374, 0.7685154676437378, 0.07612591236829758, 0.33725786209106445, -0.7007163763046265, 0.21999721229076385, 0.30319416522979736, 0.3310790956020355, 0.2441946417093277, 0.0026438503991812468, -0.558574914932251, -0.012418117374181747, -0.1608784943819046, -0.7470635771751404, 0.35140636563301086, -0.023200659081339836, 0.17311450839042664, 0.15104861557483673, 0.23891714215278625, 0.8532368540763855, -0.4541144073009491, 0.6363763213157654, 0.20634567737579346, -1.1946485042572021, 0.2105819582939148, -0.43956995010375977, 0.4241505265235901, 0.5746344327926636, 0.1551821380853653, -0.5517097115516663, -0.5429736375808716, -0.14927196502685547, -1.0870352983474731, 0.6584084033966064, 0.29883429408073425, -0.21995830535888672, -0.3227942883968353, 0.15766005218029022, -0.02022550068795681, 0.35642898082733154, -0.6957642436027527, -0.05084820091724396, 0.5326902866363525, -0.013193848542869091, -0.17748646438121796, -0.18879365921020508, -0.2295178920030594, -0.20981189608573914, 0.5122938752174377, -0.3925964832305908, 0.026010500267148018, 0.5174654722213745, -0.3518790304660797, 0.04881065711379051, 0.5440469980239868, 0.7040103077888489, 1.2132213115692139, -0.006081097759306431, 0.45503464341163635, 0.1495819091796875, -0.13876588642597198, 0.11575610190629959, -0.23033908009529114, 0.21863748133182526, -0.17054182291030884, 0.6175068020820618, 0.7906500697135925, -0.10432857275009155, -0.7929041981697083, 0.4593496322631836, -0.01200562622398138, -0.048906680196523666, -0.4189797341823578, -0.17461475729942322, 0.07325820624828339, 0.36712557077407837, 0.5169682502746582, -0.12181489169597626, 0.19641222059726715, -0.9720093011856079, 0.34344491362571716, 0.32794517278671265, -0.2912837862968445, -0.062110017985105515, 0.15461741387844086, 0.4583021104335785, -0.26653212308883667, 0.373282253742218, -0.2995398938655853, -0.5116521716117859, 0.8646363615989685, 0.6641786694526672, 0.7610485553741455, 0.03032727912068367, 0.07632441073656082, -0.05952959507703781, 0.21624261140823364, -0.33324387669563293, -0.056568827480077744, -0.23034028708934784, -0.5730225443840027, -0.956634521484375, -0.40698012709617615, -0.40293270349502563, 0.16530606150627136, -0.5698832869529724, 0.15678510069847107, -0.1513504981994629, -0.28835850954055786, -0.4106270968914032, 0.006157463416457176, -0.509268581867218, 0.09446321427822113, 0.1534421294927597, 0.7451608777046204, -0.4773581027984619, 0.9948583841323853, 0.5515144467353821, -0.378438264131546, -0.6781553030014038, 0.18566769361495972, -0.3142770230770111, -0.34755459427833557, 0.6024948954582214, 0.42667055130004883, -0.4530159831047058, -0.12016303092241287, -0.4911559522151947, -0.9340975284576416, 1.157383918762207, 0.243043914437294, -0.7196761965751648, -0.2228696644306183, 0.14244160056114197, 0.6342318058013916, -0.7589966654777527, 0.16756059229373932, 0.6025956273078918, 0.4991872012615204, 0.11888895183801651, -1.204928994178772, 0.340351939201355, -0.0592196024954319, -0.1779685765504837, 0.29961472749710083, -0.7633971571922302, 1.0164604187011719, -0.010752199217677116, -0.14202971756458282, 0.14838221669197083, 0.5742563009262085, 0.3701898157596588, 0.6482722759246826, 0.7549813389778137, 0.19114647805690765, 0.8071736693382263, 0.2455584555864334, 1.151424527168274, -0.38351237773895264, 0.24164699018001556, 1.4555641412734985, -0.6269724369049072, 0.7706162929534912, 0.6890396475791931, 0.09434586763381958, 0.6254807710647583, 0.12643097341060638, 0.4660203456878662, 0.22333860397338867, 0.37216198444366455, -0.5005583167076111, -0.16541849076747894, -0.38243696093559265, -0.15779586136341095, 0.45844152569770813, 0.2444460690021515, -0.22240279614925385, -0.03658184036612511, 0.11572645604610443, 0.08146762102842331, 0.12042811512947083, -0.36924877762794495, 0.7517672181129456, 0.250672310590744, -1.0515655279159546, 0.5403318405151367, -0.0631609708070755, 0.5576122403144836, -0.5240347385406494, -0.03254774585366249, 0.06623924523591995, 0.2830343544483185, -0.06669393181800842, -0.645327627658844, 0.290299654006958, -0.06348752230405807, -0.3918459117412567, -0.1714911311864853, 0.8008325099945068, -0.7615759968757629, -0.1688317507505417, 0.8287153244018555, 0.4720134139060974, 0.04016947001218796, -0.3326186239719391, -0.19990186393260956, 0.255817711353302, -0.5196830034255981, -0.20628073811531067, 0.20862136781215668, 0.4889090061187744, -0.3651750683784485, 0.7841432094573975, 0.5276095867156982, -0.025173114612698555, -0.2020045667886734, 0.11292533576488495, 1.1073094606399536, -0.6849931478500366, -0.6361042261123657, -1.0602349042892456, 0.5172050595283508, -0.3224162459373474, -0.01634669117629528, 0.5096869468688965, 0.5958893299102783, 0.7527948617935181, -0.015415916219353676, 0.6991769075393677, -0.09896059334278107, 0.21066193282604218, -0.4681040048599243, 0.6333699822425842, -0.6747239232063293, 0.27057167887687683, -0.2749366760253906, -0.9433591365814209, -0.05985746532678604, 0.2573905885219574, -0.19802385568618774, -0.053203850984573364, 0.9936312437057495, 0.34165629744529724, 0.14070285856723785, -0.4017418324947357, 0.21327432990074158, 0.09175591915845871, 0.5747559666633606, 0.8442068099975586, 0.8353810906410217, -0.22582264244556427, 0.5785295963287354, -0.08726920932531357, -0.18338972330093384, -0.12635613977909088, -0.8734839558601379, -1.1210565567016602, -0.6541097164154053, -0.0030879564583301544, -0.3116069734096527, 0.20848369598388672, 1.0744549036026, 0.7739441990852356, -0.25266125798225403, -0.691912829875946, -0.17543445527553558, 0.48419466614723206, -0.33285605907440186, -0.23489609360694885, 0.24031682312488556, -0.3461161255836487, -0.673968493938446, 0.6605185270309448, 0.4380526542663574, -0.3385533094406128, -0.2729025185108185, -0.4227721691131592, -0.46554893255233765, 0.2184702754020691, 1.1027476787567139, 0.1995546817779541, -0.7172066569328308, -0.3364546000957489, -0.1801103800535202, -0.2752232253551483, -0.16288092732429504, 0.7236415147781372, -0.773345947265625, 0.38159555196762085, 0.617870032787323, 0.7047444581985474, 0.42771685123443604, 0.19561156630516052, 0.8277996778488159, -0.949890673160553, 0.3244115114212036, 0.11263814568519592, 0.22137759625911713, 0.053155262023210526, -0.25270548462867737, 0.7430868744850159, -0.12650030851364136, -0.6658245325088501, -0.9344423413276672, 0.2831535339355469, -1.1896653175354004, -0.6105450987815857, 1.2869709730148315, 0.0073387413285672665, -0.579268753528595, -0.12845544517040253, -0.22595708072185516, 0.3163219690322876, -0.5788827538490295, 0.34638655185699463, 0.768516480922699, 0.009873095899820328, 0.07744188606739044, -0.2494552582502365, 0.2662239670753479, 0.17374373972415924, -1.0545402765274048, 0.13827396929264069, 0.5349367260932922, -0.053535714745521545, 0.3637036085128784, 0.9302150011062622, 0.2895503640174866, 0.07323624193668365, -0.44361722469329834, 0.027371149510145187, -0.2505289316177368, -0.8387730121612549, -0.12737974524497986, 0.21266241371631622, -0.030099771916866302, -0.0536438450217247 ]
http://arxiv.org/abs/2406.02804v1
http://arxiv.org/pdf/2406.02804v1
$\texttt{ACCORD}$: Closing the Commonsense Measurability Gap
2024-06-04T22:08:24
2024-06-04T22:08:24
François Roewer-Després, Jinyue Feng, Zining Zhu, Frank Rudzicz
cs.AI
cs.AI, cs.CL, cs.LG, I.2.0; I.2.7
We present $\texttt{ACCORD}$, a framework and benchmark suite for disentangling the commonsense grounding and reasoning abilities of large language models (LLMs) through controlled, multi-hop counterfactuals. $\texttt{ACCORD}$ introduces formal elements to commonsense reasoning to explicitly control and quantify reasoning complexity beyond the typical 1 or 2 hops. Uniquely, $\texttt{ACCORD}$ can automatically generate benchmarks of arbitrary reasoning complexity, and so it scales with future LLM improvements. Benchmarking state-of-the-art LLMs -- including GPT-4o (2024-05-13), Llama-3-70B-Instruct, and Mixtral-8x22B-Instruct-v0.1 -- shows performance degrading to random chance with only moderate scaling, leaving substantial headroom for improvement. We release a leaderboard of the benchmark suite tested in this work, as well as code for automatically generating more complex benchmarks.
[ -0.35214248299598694, -0.9711642265319824, 0.7891185879707336, 0.15391646325588226, -0.1079697236418724, -0.11367464810609818, -0.2616824805736542, -0.27344444394111633, -0.3844072222709656, 0.20729924738407135, -0.5406827330589294, -0.361235648393631, -0.7439517378807068, 0.07721199840307236, -0.16250403225421906, 0.4079642593860626, -0.13104791939258575, -0.21016544103622437, -0.44681984186172485, -0.47930908203125, -0.522777259349823, -0.47692787647247314, -0.5201439261436462, -0.3104099631309509, 0.4193204939365387, 0.5718128085136414, 0.7669899463653564, 0.33903196454048157, 0.41430187225341797, 0.4180006682872772, 0.027526002377271652, 0.2514539659023285, -0.5110724568367004, -0.057298749685287476, -0.43315574526786804, -0.41144177317619324, -0.6862547993659973, 0.37800896167755127, 0.5795129537582397, 0.5425703525543213, -0.24236607551574707, -0.051809944212436676, -0.14508472383022308, 0.6131711602210999, -0.7402659058570862, 0.2038862705230713, -0.7571516036987305, -0.29239732027053833, -0.2707587778568268, -0.12734544277191162, -0.4746895432472229, 0.023586390540003777, -0.30431368947029114, -0.9122785329818726, -0.0881880596280098, 0.28585827350616455, 0.9440298080444336, 0.7527632713317871, -0.3594752252101898, 0.009681334719061852, -0.2646063268184662, 1.146255373954773, -1.0365536212921143, 0.4486118257045746, 0.2706184387207031, 0.637856125831604, -0.3561239540576935, -0.8210116028785706, -1.0423779487609863, -0.3112650215625763, -0.14579354226589203, 0.18425080180168152, -0.47908249497413635, 0.08715445548295975, 0.3548484742641449, 0.41482964158058167, -0.5686907768249512, 0.20617415010929108, -0.027227068319916725, -0.18954072892665863, 0.7090317010879517, 0.11544312536716461, 0.2724498212337494, 0.22805549204349518, -0.30394646525382996, -0.11417148262262344, -0.7101781964302063, -0.17718257009983063, 0.2333494871854782, 0.13880306482315063, -0.28751707077026367, 0.3173702359199524, -0.7168033719062805, 0.6495051383972168, -0.1348026692867279, -0.018820958212018013, 0.42382100224494934, -0.16395166516304016, -0.34816235303878784, -0.32138073444366455, 0.7687336802482605, 0.31613948941230774, 0.1678619086742401, -0.08363653719425201, -0.2835158705711365, 0.25790277123451233, 0.025473402813076973, -0.5133523941040039, -0.2985568344593048, 0.6118345856666565, -0.4236160218715668, -0.06329619139432907, -0.31203967332839966, -0.6928321123123169, -0.07696525752544403, -0.6738542914390564, 0.47318801283836365, -0.18665683269500732, -0.5068254470825195, 0.1330641359090805, -0.11851363629102707, 0.19621682167053223, 0.5868493914604187, -0.6232447624206543, 0.3479476869106293, 0.9220783114433289, 0.9442022442817688, 0.026166241616010666, -0.5946725606918335, -0.8479921817779541, -0.03196750953793526, -0.31305989623069763, 0.7908052206039429, -0.9462758302688599, -0.14320847392082214, -0.19512882828712463, -0.21561618149280548, -0.07903997600078583, -0.6740714311599731, 0.557072639465332, -0.46399828791618347, -0.29786577820777893, -0.4104316830635071, -0.7232108116149902, -0.04702509567141533, 0.5086552500724792, -0.7056293487548828, 0.7712393999099731, 0.09701695293188095, -0.28027886152267456, 0.4401785731315613, -0.7885748147964478, -0.24963533878326416, 0.014103739522397518, -0.28962308168411255, -0.2678540050983429, -0.12562377750873566, 0.1079687848687172, 0.4245719611644745, -0.4078714847564697, 0.47328636050224304, -0.4402081370353699, -0.3776046931743622, 0.14849328994750977, -0.9241349101066589, 0.7409877181053162, 0.5326761603355408, -0.3858860433101654, 0.06063368171453476, -0.7646820545196533, -0.1504581719636917, 0.07548341155052185, -0.20560532808303833, -0.2116210013628006, 0.014260956086218357, -0.09082628786563873, 0.26828455924987793, 0.28254926204681396, -0.33038100600242615, -0.023763153702020645, 0.26356974244117737, 0.46964308619499207, 0.8875851631164551, -0.20376116037368774, 0.3233973979949951, -0.5767231583595276, 0.2621304988861084, 0.29487064480781555, 0.09094811975955963, -0.09938560426235199, -0.569989800453186, -0.6873352527618408, -0.5111314058303833, 0.026365509256720543, 0.4139883816242218, -0.5242546200752258, 0.5621936917304993, -0.17409925162792206, -0.7162607312202454, -0.37909355759620667, 0.17162099480628967, 0.6051813364028931, 0.6308479905128479, 0.8561951518058777, 0.023993980139493942, 0.22212906181812286, -0.8177270889282227, -0.5578927993774414, -0.10480477660894394, 0.01818878948688507, 0.4669758677482605, 0.40462416410446167, -0.22110587358474731, 0.6154436469078064, -0.2435421496629715, -0.12581400573253632, -0.1766449213027954, 0.5670866370201111, 0.07798229157924652, 0.8367748856544495, 0.344755619764328, -0.9173192977905273, -0.17073717713356018, -0.15334969758987427, -0.6902519464492798, -0.4895617365837097, -0.2814663052558899, -0.1965421438217163, 0.15684185922145844, 0.8987658023834229, -0.5671231746673584, 0.4179033935070038, 0.6914215683937073, -0.422292023897171, 0.6622053980827332, -0.16952551901340485, 0.5252625346183777, -0.6499416828155518, -0.030758781358599663, -0.06343724578619003, -0.07049310207366943, -0.4365184009075165, 0.12975375354290009, 0.08787378668785095, 0.1860867440700531, -0.47395122051239014, 0.686771810054779, -0.32148316502571106, -0.04424573481082916, 0.03975893557071686, 0.3323124349117279, 0.1371898502111435, 0.6795544028282166, -0.021692298352718353, 0.9575899839401245, 0.48238879442214966, -0.8378533124923706, 0.1703845113515854, 0.201156347990036, -0.2911550998687744, 0.8767881393432617, -0.7618135213851929, -0.14443838596343994, 0.20694436132907867, 0.43341776728630066, -1.1347144842147827, -0.195770725607872, 0.05519198253750801, -0.20926503837108612, 0.20775675773620605, -0.09052417427301407, -0.6825605034828186, -0.11236399412155151, 0.06774623692035675, 0.8958117961883545, 0.5310002565383911, -0.7721798419952393, 0.6705384850502014, 0.1702793389558792, 0.03322918340563774, -0.611481249332428, -0.7488770484924316, 0.21275894343852997, -0.17503485083580017, -0.384485125541687, -0.09729132056236267, -0.41001471877098083, -0.716771125793457, -0.14401908218860626, 0.01344239804893732, -0.07784783095121384, 0.30459195375442505, -0.06207386776804924, -0.006320907734334469, -0.169246107339859, 0.36797648668289185, 0.40775415301322937, -0.39239048957824707, -0.08227083086967468, -0.034261319786310196, 0.49954405426979065, -0.432949036359787, -0.8622034788131714, -0.3904678523540497, 0.1654956340789795, 0.6896642446517944, -0.3997584283351898, 0.34057167172431946, 0.17946597933769226, -0.1549805998802185, -0.3823944926261902, -0.5878058671951294, 0.10656198114156723, -0.543201208114624, 0.1738087683916092, -0.5545206069946289, -0.8892917633056641, 0.4259953200817108, -0.5199856162071228, 0.29698485136032104, 0.43730005621910095, 0.5317236185073853, 0.18850979208946228, 0.6882480382919312, -0.08931183815002441, -0.06834818422794342, 0.04258398339152336, -0.06024312227964401, 0.28299644589424133, -0.7759063839912415, 0.036498505622148514, -0.5793865323066711, -0.47710302472114563, -0.6081399321556091, -0.7915351390838623, 0.2035680115222931, 0.03144164755940437, -0.5442889332771301, 0.16226975619792938, -0.31486302614212036, 0.740555465221405, 0.6705939173698425, -0.022127870470285416, 0.629910409450531, -0.7046601176261902, 0.034718018025159836, 0.19038043916225433, -0.5359536409378052, -0.622882068157196, 1.0951759815216064, 0.27386724948883057, 0.7090452909469604, 0.4798678755760193, 0.5316747426986694, 0.4341149628162384, 0.28721654415130615, -0.5660146474838257, 0.6996141672134399, -0.18282170593738556, -0.4807538390159607, -0.5992149114608765, -0.6205930113792419, -0.6500910520553589, 0.33638885617256165, -0.02223481982946396, -0.6139918565750122, 0.128256157040596, 0.4801846742630005, -0.019608598202466965, 0.43908238410949707, -0.6119686961174011, 0.9090914726257324, -0.07644738256931305, -0.6064348816871643, -0.5236881971359253, -0.591609537601471, 0.536715030670166, 0.1021040827035904, 0.3210250735282898, -0.3501185178756714, 0.04167575016617775, 0.4952121376991272, -0.48684367537498474, 0.8292257189750671, -0.25305673480033875, -0.2748887538909912, 0.2306416779756546, 0.19887296855449677, 0.427042156457901, 0.09642017632722855, 0.06714947521686554, 0.7003428339958191, -0.30884769558906555, -0.6489068865776062, -0.538982093334198, 0.905802309513092, -0.6735309362411499, -0.5638750195503235, -0.33354514837265015, -0.8123781085014343, -0.38120710849761963, 0.3873058557510376, 0.0763634592294693, 0.7505030632019043, -0.25859230756759644, 0.014495998620986938, 0.8730629086494446, -0.2566850781440735, 0.4067751467227936, 0.47365057468414307, 0.3374370038509369, -0.16861401498317719, 0.9327714443206787, 0.0020979573018848896, 0.5263705849647522, 0.6274999380111694, 0.2067420482635498, -0.46015843749046326, -0.5393925309181213, -0.38803184032440186, -0.029392478987574577, -0.7961418628692627, -0.21026962995529175, -0.4404209554195404, 0.08575735986232758, -0.27146947383880615, -0.3633075952529907, -0.41083747148513794, -0.5191166996955872, -0.08653471618890762, -0.0709323137998581, 0.20209914445877075, 0.5805625319480896, -0.36598873138427734, 0.30010831356048584, -0.6140238046646118, 0.45006102323532104, 0.5023391246795654, 0.5443167686462402, 0.15510331094264984, -0.5375357866287231, 0.12938131392002106, -0.0711866095662117, -0.2560494542121887, -0.25438863039016724, -0.11217935383319855, -0.013324798084795475, 0.8360500931739807, 0.5831143856048584, 0.32007530331611633, 0.6808640956878662, -0.6899757981300354, 0.9872308969497681, 0.24151663482189178, -1.179869294166565, 0.3935067653656006, -0.4264514744281769, 0.27694565057754517, 0.7491070628166199, -0.004185554571449757, -0.24236030876636505, -0.8364124894142151, -0.9029286503791809, -0.7763376832008362, 0.34351423382759094, 0.22776971757411957, -0.013266502879559994, -0.29071781039237976, -0.047167371958494186, 0.06786856800317764, 0.29093292355537415, -0.5050179362297058, -0.29952767491340637, -0.2658926248550415, -0.28788360953330994, -0.30068278312683105, -0.04489913210272789, -0.3820779621601105, -0.04129328206181526, 0.728360652923584, -0.1856655329465866, 0.0026075500063598156, 0.16123180091381073, -0.17586064338684082, -0.11161191016435623, 0.4982486069202423, 0.724137544631958, 0.8038363456726074, -0.013949601911008358, 0.2827293872833252, 0.0182806309312582, -0.05008191987872124, 0.14517803490161896, 0.08178626745939255, 0.07399000227451324, -0.22705943882465363, 0.6271962523460388, 0.4069211483001709, 0.35724058747291565, -0.9907798171043396, 0.6400249004364014, -0.0068532610312104225, -0.435442715883255, -0.013871423900127411, 0.38143932819366455, -0.05741557851433754, 0.373039573431015, 0.06339381635189056, 0.052444081753492355, 0.36153408885002136, -0.3612464964389801, 0.4829827845096588, 0.5291855335235596, 0.04560982063412666, -0.051032762974500656, 0.8254032135009766, 0.4168282747268677, -0.01893053576350212, 0.5566836595535278, -0.33896034955978394, -0.3089706301689148, 0.6387296319007874, 0.3603491187095642, 0.8154675960540771, 0.07679352909326553, 0.1023360937833786, 0.6113702654838562, 0.35717877745628357, -0.13992054760456085, -0.07257872819900513, -0.38911327719688416, -0.8090076446533203, -0.2583058476448059, -0.27435946464538574, -0.7376753091812134, 0.29810744524002075, -0.5893306732177734, 0.016970964148640633, -0.5362535715103149, 0.42920780181884766, -0.32992303371429443, -0.019487760961055756, -0.5490361452102661, 0.3938866853713989, -0.0796932578086853, 1.3025425672531128, -1.0916622877120972, 0.3762701153755188, 0.29482436180114746, -0.4471687376499176, -0.8315378427505493, 0.15751561522483826, 0.29354408383369446, -0.8672899007797241, 0.2629469633102417, 0.15790152549743652, -0.1460862010717392, -0.11448714137077332, -1.0066508054733276, -0.4721655547618866, 1.3540574312210083, 0.07698235660791397, -0.9780336022377014, 0.5053988099098206, -0.03785768896341324, 0.258933424949646, -0.18495482206344604, 0.26672253012657166, 1.027788519859314, 0.8427371978759766, 0.22698181867599487, -0.9418965578079224, 0.25219717621803284, -0.2937343120574951, -0.37877383828163147, 0.02919284626841545, -1.1533719301223755, 1.0203378200531006, -0.17822977900505066, -0.04006374254822731, 0.14199985563755035, 0.6040747761726379, 0.7384950518608093, 0.7062274813652039, 0.6441992521286011, 1.0992792844772339, 1.0941145420074463, -0.1935100257396698, 0.9177585244178772, -0.02004227042198181, 0.1306779980659485, 1.597826361656189, -0.2964742183685303, 0.804505467414856, 0.5092915892601013, -0.29350560903549194, 0.480826199054718, 0.35479095578193665, 0.10521043092012405, 0.5458605885505676, 0.11667612195014954, -0.3050902485847473, -0.4952269494533539, 0.11395945399999619, -0.31209954619407654, 0.2854727804660797, 0.3670099973678589, 0.12961596250534058, -0.3273445963859558, -0.4987325668334961, 0.24998369812965393, 0.4084766209125519, -0.28590941429138184, 0.8003726601600647, 0.023463867604732513, -0.7429934144020081, 0.5494674444198608, -0.43235379457473755, 0.47059980034828186, -0.5798811912536621, -0.4598391652107239, -0.3519594073295593, 0.06813519448041916, 0.03279648348689079, -0.7310536503791809, 0.0003672928432933986, -0.22637319564819336, 0.0750265046954155, -0.008533168584108353, 0.4219733774662018, -0.41959673166275024, -0.28659725189208984, 0.30584901571273804, 0.5442437529563904, 0.2671183943748474, 0.2708219587802887, -0.7740284204483032, 0.269328236579895, -0.32323357462882996, -0.29521897435188293, 0.24278344213962555, 0.9879069328308105, -0.0010794842382892966, 0.8222100138664246, 0.7679539322853088, 0.10890384763479233, -0.1344567835330963, 0.383126825094223, 1.018687129020691, -0.370057612657547, -0.5645610690116882, -0.5754141211509705, 0.6305525302886963, -0.2232101708650589, -0.5251057744026184, 0.4771149754524231, 0.32647958397865295, 0.887985348701477, 0.18889252841472626, 0.9701278209686279, -0.13777688145637512, 0.35476234555244446, -0.7975622415542603, 0.6199649572372437, -0.8662906885147095, 0.47595474123954773, -0.46863919496536255, -0.5641268491744995, -0.2462281435728073, 0.44040176272392273, -0.29702824354171753, 0.16301332414150238, 0.6364630460739136, 0.9256141781806946, -0.2421441227197647, -0.22446849942207336, 0.6767257452011108, 0.36827147006988525, 0.7740136384963989, 0.5723952054977417, 0.7449437379837036, -0.21978162229061127, 0.2662285268306732, 0.06718101352453232, -0.7820310592651367, -0.14963021874427795, -1.0894556045532227, -0.8418473601341248, -0.5277479290962219, -0.3146131634712219, -0.13791926205158234, -0.15744616091251373, 0.7324310541152954, 0.4446200430393219, -0.9435336589813232, 0.11935359984636307, -0.6449814438819885, 0.17689034342765808, -0.4653349816799164, -0.2509971261024475, 0.26514318585395813, -0.7617136240005493, -0.8444225192070007, 0.36135655641555786, 0.278047114610672, -0.13894332945346832, -0.07150428742170334, -0.4784277379512787, -0.2854170501232147, 0.4011843800544739, 0.3569559156894684, 0.36187249422073364, -0.9189646244049072, -0.34463033080101013, -0.4856644868850708, 0.1094173938035965, -0.0967424288392067, 0.7786556482315063, -0.6102659702301025, 0.5410852432250977, 0.24891814589500427, 0.6962133049964905, -0.174641951918602, 0.1732630580663681, 0.53048175573349, -0.5504229068756104, 0.24382252991199493, 0.17593158781528473, 0.592350423336029, 0.1420232206583023, -0.24707378447055817, 0.6589788198471069, 0.18964171409606934, -0.8140653967857361, -0.7651211619377136, 0.3103701174259186, -1.2083024978637695, -0.35356053709983826, 1.1855363845825195, -0.2510777413845062, -0.0403435193002224, -0.32787030935287476, 0.1291825920343399, 0.0505378432571888, -0.5714460611343384, 0.7195860147476196, 0.6689260601997375, -0.08541757613420486, -0.09248564392328262, -0.3458369970321655, 0.5166271924972534, 0.39092814922332764, -0.9639875888824463, 0.5875106453895569, 0.8454697132110596, 0.11008093506097794, 0.2580455243587494, 0.9115599393844604, -0.1732596755027771, 0.4942457377910614, 0.34040459990501404, -0.2894381582736969, -0.14382828772068024, -0.4576795697212219, -0.15846417844295502, -0.19413287937641144, 0.08428429067134857, -0.13316412270069122 ]
http://arxiv.org/abs/2406.02798v2
http://arxiv.org/pdf/2406.02798v2
Promotional Language and the Adoption of Innovative Ideas in Science
2024-06-04T21:54:36
2024-06-07T20:56:35
Hao Peng, Huilian Sophie Qiu, Henrik Barslund Fosse, Brian Uzzi
cs.DL
cs.DL, cs.CL, cs.CY
How are the merits of innovative ideas communicated in science? Here we conduct semantic analyses of grant application success with a focus on scientific promotional language, which has been growing in frequency in many contexts and purportedly may convey an innovative idea's originality and significance. Our analysis attempts to surmount limitations of prior studies by examining the full text of tens of thousands of both funded and unfunded grants from three leading public and private funding agencies: the NIH, the NSF, and the Novo Nordisk Foundation, one of the world's largest private science foundations. We find a robust association between promotional language and the support and adoption of innovative ideas by funders and other scientists. First, the percentage of promotional language in a grant proposal is associated with up to a doubling of the grant's probability of being funded. Second, a grant's promotional language reflects its intrinsic level of innovativeness. Third, the percentage of promotional language predicts the expected citation and productivity impact of publications that are supported by funded grants. Lastly, a computer-assisted experiment that manipulates the promotional language in our data demonstrates how promotional language can communicate the merit of ideas through cognitive activation. With the incidence of promotional language in science steeply rising, and the pivotal role of grants in converting promising and aspirational ideas into solutions, our analysis provides empirical evidence that promotional language is associated with effectively communicating the merits of innovative scientific ideas.
[ -0.06606671214103699, -0.5814586281776428, 0.9155903458595276, 0.6860119104385376, -0.32868316769599915, 0.27821505069732666, -0.30820491909980774, -0.36087366938591003, 0.5920613408088684, 0.38953065872192383, 0.041075143963098526, -0.3569779694080353, -0.7332791686058044, 0.007121989969164133, -0.5498132109642029, 1.0337616205215454, 0.15549716353416443, 0.22876501083374023, -0.47909310460090637, 0.15244793891906738, 0.11614818125963211, -0.13141433894634247, -0.2937212586402893, -0.35700154304504395, 0.4890173673629761, 0.2884275019168854, 0.354587197303772, 0.49203115701675415, 0.6916906237602234, 0.306806355714798, -0.34996384382247925, -0.4983382225036621, -0.4234543442726135, -0.17080385982990265, -0.4089061915874481, -0.4682583212852478, -0.2317577302455902, 0.14201383292675018, 0.7033873796463013, 0.935096025466919, -0.22345328330993652, 0.022991513833403587, 0.19108927249908447, 0.6985114812850952, -0.5515774488449097, 0.2998896837234497, -0.6831530928611755, -0.3199009895324707, -0.37763309478759766, -0.2943978011608124, -0.2245725393295288, -0.7636302709579468, 0.43945056200027466, -0.9031935930252075, 0.1298290342092514, -0.16941188275814056, 0.5261332988739014, -0.31511545181274414, -0.08213641494512558, -0.8554611206054688, -0.3325188457965851, 0.5986135601997375, -0.3434768319129944, -0.22573544085025787, 0.12588143348693848, 0.03315664827823639, -0.5442044138908386, -0.8961661458015442, -0.7353131771087646, -0.5781377553939819, 0.2062615156173706, 0.009205250069499016, -0.5034068822860718, 0.10338573902845383, -0.08721376955509186, 0.23982644081115723, -0.41748058795928955, -0.22941510379314423, -0.6454624533653259, -0.06254719197750092, 0.44073253870010376, -0.44473573565483093, 0.14705069363117218, -0.04447280615568161, -0.47376376390457153, -0.21710485219955444, -0.43622657656669617, 0.2987026870250702, 0.07853125780820847, 0.27680346369743347, 0.30277949571609497, 0.7584191560745239, -0.649118959903717, 0.287901371717453, -0.19440621137619019, 0.3562799394130707, 0.32221168279647827, -0.8078374862670898, -0.044175587594509125, 0.4005712568759918, 0.7371228933334351, 0.15131789445877075, 0.2943580746650696, -0.2914998233318329, -0.015587005764245987, 0.47692111134529114, -0.08675675839185715, -0.5003300309181213, -0.008580495603382587, 0.03399084135890007, -0.24404093623161316, -0.43957164883613586, 0.2840304374694824, -0.19683721661567688, -0.6918537616729736, 0.21985644102096558, 0.3043690621852875, -0.07102815061807632, -0.39685505628585815, 0.4760868549346924, -0.8504074215888977, 0.033784449100494385, 0.08355998247861862, -0.5895127058029175, 0.030691005289554596, 0.9033700227737427, 0.3973201513290405, 0.2762846052646637, -0.40087053179740906, -0.010994465090334415, 0.1703709363937378, -0.44927191734313965, 1.0408183336257935, -0.534170925617218, -0.665393054485321, -0.17420484125614166, -0.03755302354693413, -0.1434142291545868, -0.3693608045578003, 0.298030287027359, -0.6363537907600403, 0.06981439143419266, -0.21243217587471008, -0.2998043894767761, -0.2478085160255432, -0.2973630130290985, -0.2570636570453644, 0.3761145770549774, -0.04001639410853386, -0.29934951663017273, 0.967179000377655, -0.9375126361846924, -0.43400004506111145, 0.5074613690376282, 0.045977115631103516, -0.06861039996147156, 0.598320484161377, -0.4945666790008545, -0.04642682150006294, -0.44546741247177124, 0.6111582517623901, -0.21142393350601196, -0.011993703432381153, 0.6929370760917664, -0.1077311635017395, 0.5655181407928467, 0.20664982497692108, -0.5972679853439331, 0.19837048649787903, -0.554692268371582, 0.08913451433181763, 0.17198383808135986, -0.1437552571296692, -0.43003079295158386, -0.23751451075077057, -0.00666547566652298, -0.04342404752969742, 0.22510738670825958, -0.8971753120422363, 0.2971563935279846, -0.4811609983444214, 0.39962273836135864, 0.3537556231021881, 0.12398470193147659, 0.32449257373809814, 0.03847020864486694, 0.6102060675621033, -0.4903585910797119, 0.209344282746315, 0.16606952250003815, -0.8834989070892334, -0.0928686186671257, -0.21155498921871185, 0.17990383505821228, 0.0014025233685970306, -0.33376285433769226, -0.2282218039035797, -0.05031922832131386, -0.4955058991909027, -0.6717731952667236, 0.13413384556770325, 0.3684431314468384, 0.43115234375, -0.13773693144321442, -0.42059335112571716, -0.23433341085910797, -1.0710244178771973, -0.731939971446991, -0.4044026732444763, 0.1436133086681366, 0.30961886048316956, 0.5888630747795105, 0.17073370516300201, 1.0294493436813354, -0.6125681400299072, -0.19119630753993988, -0.1407560110092163, 0.6258669495582581, 0.3751572370529175, 0.2840938866138458, 0.5947226881980896, -1.0479841232299805, -0.2839815318584442, 0.33228451013565063, -0.42073550820350647, -0.17568530142307281, 0.20317809283733368, 0.0032558913808315992, -0.39876291155815125, 0.045772843062877655, -0.6027988195419312, 0.35571861267089844, 0.14328308403491974, -0.7437708973884583, 0.4182549715042114, -0.09863004833459854, 0.37645623087882996, -0.5500389337539673, 0.14313842356204987, -0.1833430379629135, 0.6290057897567749, -0.3950282633304596, -0.27245622873306274, -0.14155277609825134, 0.032861772924661636, -0.4526856243610382, 0.5631749033927917, -0.429363876581192, 0.4184252619743347, -0.5694590210914612, 0.5770276784896851, 0.03164498507976532, -0.2553704082965851, -0.057550352066755295, 0.3534664809703827, 0.722369372844696, -0.559099018573761, 0.5830489993095398, 0.24427096545696259, -0.4247741401195526, 0.41381600499153137, -0.8484118580818176, -0.22665150463581085, -0.3190920650959015, 0.3067534863948822, -0.9848455190658569, -0.2165866196155548, 0.011125230230391026, -0.7457948327064514, -0.15095879137516022, 0.0609002485871315, -0.05089999735355377, -0.4950307309627533, -0.25786125659942627, -0.04669487476348877, 0.176458477973938, -0.28871235251426697, -0.023264635354280472, 0.455626517534256, -0.19394922256469727, -0.44654372334480286, -0.587676465511322, 0.22376960515975952, -0.2526024580001831, -0.6578054428100586, 0.23377148807048798, 0.03702401742339134, -0.2892798185348511, 0.5160664319992065, 0.0035804177168756723, 0.10686025023460388, 0.26324769854545593, 0.08176280558109283, -0.08660916239023209, -0.2498125582933426, -0.07442038506269455, -0.18820472061634064, -0.3046872019767761, 0.29206401109695435, -0.6622055768966675, 0.11465205252170563, -0.2862411141395569, -0.09079991281032562, -0.18835966289043427, 0.26460835337638855, 0.8015440702438354, 0.13474370539188385, 0.8531643748283386, 0.5162761211395264, 0.0030475344974547625, -0.0224322360008955, -0.223066508769989, -0.19553399085998535, -0.4190428853034973, 0.38350602984428406, -0.22551919519901276, -0.5012007355690002, -0.10354981571435928, -0.19180472195148468, -0.2417217493057251, 0.47533613443374634, 0.22030729055404663, -0.01605246774852276, 0.6497686505317688, 0.8224198818206787, 0.4248462915420532, 0.69368976354599, -0.3484179973602295, 0.09984684735536575, -0.6749950051307678, -0.6453602910041809, -0.6327987909317017, -0.06895414739847183, -0.3200523853302002, -0.3035215139389038, 0.19926349818706512, 0.5735270380973816, 0.3635927736759186, 0.4827822148799896, -0.8368473649024963, 0.27120915055274963, 0.5405526161193848, -0.549079954624176, 0.31303834915161133, 0.17017629742622375, -0.020070040598511696, 0.04090479388833046, -0.6689324378967285, -0.5758389234542847, 0.9594873785972595, 0.14914517104625702, 0.6950054168701172, 0.12073981761932373, 0.6040918827056885, 0.27471092343330383, 0.5892028212547302, -0.6979807019233704, 0.6532230973243713, -0.027851948514580727, -0.3617415428161621, -0.13177084922790527, -0.3260982930660248, -1.0931581258773804, 0.20451019704341888, -0.24206046760082245, -0.6963673233985901, 0.5451732873916626, 0.07575533539056778, 0.022535324096679688, -0.12827986478805542, -0.9172923564910889, 0.6194378137588501, -0.36185315251350403, -0.1702377051115036, -0.6884844303131104, -0.37160754203796387, 0.03124864771962166, -0.2649434804916382, 0.2385411411523819, -0.2963547110557556, 0.20365740358829498, 0.9988569617271423, 0.1329784244298935, 0.50652676820755, -0.23707374930381775, 0.09951115399599075, 0.5257367491722107, -0.2389432042837143, 0.29740312695503235, 0.08843059092760086, -0.04858659952878952, -0.11149822920560837, -0.16847676038742065, -0.3904125988483429, -0.6321247220039368, 0.7319780588150024, -0.22745978832244873, -0.9110805988311768, -0.38023340702056885, -0.4663725197315216, 0.03551860153675079, 0.3422684669494629, 0.1359422206878662, 0.3037872910499573, -0.48408862948417664, 0.5401763916015625, 0.18428625166416168, 0.07328753918409348, 0.21789203584194183, 0.7460075616836548, -0.2425200343132019, -0.47463274002075195, 0.9337689280509949, -0.08209840953350067, 0.5505566596984863, 0.13837462663650513, 0.5380554795265198, -0.6359891295433044, -0.7120996117591858, -0.08812189847230911, 0.4013371467590332, -0.5946091413497925, 0.12737534940242767, -0.895524263381958, 0.23323892056941986, -0.7921351790428162, -0.3047013580799103, -0.17884932458400726, -0.9164444208145142, 0.16120386123657227, -0.06185857206583023, 0.601169764995575, 1.1082360744476318, -0.34863895177841187, 0.07502634078264236, -0.2232847362756729, -0.028854960575699806, 0.042918477207422256, 0.14611436426639557, -0.13926905393600464, -0.0051573533564805984, -0.27099311351776123, -0.02176874689757824, -0.1916605830192566, -0.671456515789032, -0.05589297041296959, 0.22490961849689484, 0.8484649062156677, 0.4554155766963959, -0.25714847445487976, 0.07839275151491165, 0.004075451288372278, 0.6880521178245544, 0.47631147503852844, -0.5141662955284119, 0.6865279674530029, -0.29876330494880676, 0.09812308102846146, 0.4941224753856659, 0.20533914864063263, -0.3580741882324219, -0.5843839049339294, -0.9049603343009949, -0.9403595924377441, 0.5894175171852112, 0.09276000410318375, 0.017434265464544296, -0.3620241582393646, -0.18853551149368286, -0.05393559858202934, 0.7069218158721924, -0.48136311769485474, 0.011872333474457264, -0.22373206913471222, -0.017701733857393265, 0.13654853403568268, -0.03956938907504082, -0.6085878610610962, 0.2254091203212738, 0.6359339952468872, -0.11260336637496948, -0.06567404419183731, 0.20151300728321075, 0.11055939644575119, 0.0979534462094307, 0.6229917407035828, 0.626011848449707, 0.7090537548065186, -0.06781667470932007, -0.11764571070671082, -0.5090209245681763, -0.7901838421821594, -0.04382641986012459, 0.135466068983078, -0.30039528012275696, 0.05965608358383179, -0.024431932717561722, 0.6406009793281555, 0.02261260896921158, -0.5269203186035156, 0.3730735778808594, 0.16203461587429047, -0.1898222714662552, 0.26288673281669617, -0.12015077471733093, 0.25009462237358093, 0.185632586479187, 0.6523756980895996, 0.28492099046707153, 0.3290582597255707, -0.6529545187950134, -0.004791147541254759, 0.8881027102470398, -0.2599223256111145, -0.4387558400630951, 0.7757967710494995, 0.25445422530174255, -0.16279183328151703, 0.12296442687511444, -0.1485120952129364, -0.48994410037994385, 0.8241283893585205, 0.9550318717956543, 0.9334297776222229, 0.31795424222946167, 0.6864089965820312, 0.04639357700943947, 0.23992842435836792, 0.028030607849359512, 0.028092361986637115, -0.14427776634693146, -0.4018509089946747, 0.03640935942530632, -0.7856791615486145, -0.27427372336387634, -0.2970600724220276, -0.33705082535743713, 0.11565949022769928, -0.15840652585029602, -0.5538612008094788, 0.5649125576019287, -0.2166581004858017, -0.45124122500419617, -0.1705077439546585, -0.05880258232355118, 0.9847805500030518, -0.7431616187095642, 0.46388089656829834, 1.0386371612548828, -0.4887903928756714, -0.5509162545204163, -0.44012004137039185, 0.07580640912055969, -0.6471987962722778, 1.0244711637496948, -0.29975104331970215, -0.6519641280174255, 0.10110675543546677, -0.3878736197948456, -1.0465874671936035, 0.8512256741523743, 0.09697116911411285, 0.056195758283138275, 0.34473374485969543, -0.036104172468185425, 0.4683609902858734, -0.7500295042991638, -0.001570063061080873, 0.5049048066139221, 0.8064451813697815, 0.2832525670528412, -0.9157557487487793, -0.12166769802570343, -0.2009207159280777, -0.059765271842479706, 0.16258342564105988, -0.24549701809883118, 0.23953622579574585, -0.694662868976593, -0.3614579439163208, 0.25624778866767883, 0.5691806077957153, 0.45677879452705383, 0.7731078863143921, 0.2669375538825989, -0.021072668954730034, 0.7052037715911865, -0.1456822007894516, 1.1323087215423584, -0.26331040263175964, 0.0994638130068779, 0.24726921319961548, -0.16439424455165863, 0.5001705288887024, 0.7240309119224548, -0.041185133159160614, 0.5411782264709473, -0.08992919325828552, -0.020913468673825264, 0.6832098364830017, 0.44847390055656433, -0.33065006136894226, 0.4416213035583496, -0.9845808148384094, -0.396560400724411, 0.3053491413593292, 0.6608507037162781, -0.36348283290863037, -0.1838679164648056, 0.5728503465652466, -0.08922068029642105, 0.2773630619049072, -0.05533626303076744, 0.5808674097061157, 0.2793167531490326, -0.6909228563308716, 0.2695564329624176, -0.3297857642173767, 0.49136224389076233, -1.0243061780929565, 0.0181950144469738, 0.21567265689373016, 0.4095875322818756, -0.40560635924339294, -1.1055195331573486, 0.15584371984004974, -0.06550093740224838, -0.2851090729236603, -0.25699523091316223, 0.4548208713531494, -0.40836790204048157, 0.002368522807955742, 0.30043336749076843, 0.3124583959579468, 0.4412243664264679, 0.2536792457103729, -0.5028283596038818, 0.0499977245926857, 0.026066267862915993, -0.19081012904644012, 0.13448941707611084, 0.43206050992012024, -0.174009770154953, 0.5339487791061401, 1.0094578266143799, 0.7965923547744751, 0.027767514809966087, 0.18179552257061005, 0.7132517099380493, -0.6581374406814575, -0.44859641790390015, -0.41105273365974426, 0.34545180201530457, -0.2015426605939865, -0.5792818069458008, 1.0860488414764404, 0.3576492369174957, 0.37179410457611084, -0.12751036882400513, 0.5689871311187744, -0.28948718309402466, -0.05382034182548523, -0.14092183113098145, 0.7580730319023132, -0.4339534342288971, 0.32804080843925476, -0.5510117411613464, -0.7936990261077881, -0.20376402139663696, 0.2421460598707199, -0.5915737748146057, -0.08910684287548065, 0.6064011454582214, 0.6470584273338318, 0.4254448711872101, 0.20927777886390686, -0.11635768413543701, 0.12886027991771698, 0.3087709844112396, 0.25009116530418396, 1.1830040216445923, 0.16396299004554749, 0.522563099861145, -0.012247675098478794, -0.7846655249595642, -0.21719183027744293, -0.7998729944229126, -0.14284205436706543, -0.5032378435134888, -0.6013591885566711, -0.6159095764160156, 0.12943002581596375, 0.6055952310562134, 0.3365125358104706, -0.7342593669891357, -0.2984578609466553, -0.18371707201004028, 0.22423571348190308, -0.4151725471019745, -0.30854448676109314, 0.33844539523124695, -0.10032732784748077, -0.5170702338218689, 0.754730761051178, 0.5298982262611389, -0.17149309813976288, -0.027781611308455467, 0.12547844648361206, -0.14780110120773315, 0.2978355288505554, 0.4308353066444397, 0.7855144143104553, -0.5625506043434143, 0.2632916271686554, 0.36189335584640503, -0.37706220149993896, -0.3373657763004303, 1.1079283952713013, -0.927582323551178, 0.6914079189300537, 0.5632340908050537, 0.49421024322509766, 0.22770825028419495, -0.1376936137676239, 0.5639554262161255, -0.05709277465939522, 0.14858216047286987, 0.3558911979198456, 0.01797887124121189, 0.39324843883514404, -0.38309556245803833, 0.4833943247795105, 0.41671669483184814, -0.3586275577545166, -0.895913302898407, -0.006022414192557335, -0.6386501789093018, -0.34327709674835205, 0.9409036040306091, 0.25887736678123474, -0.5128545761108398, -0.16400912404060364, -0.23720136284828186, -0.2830822765827179, -0.5276322960853577, 0.6964940428733826, 0.7844433188438416, -0.37634119391441345, 0.47459012269973755, -0.31444814801216125, 0.6372860074043274, 0.4747161269187927, -0.20002532005310059, 0.08187403529882431, -0.015628540888428688, 0.17310507595539093, 0.7636358141899109, 0.9968714118003845, -0.3791787624359131, 0.38611212372779846, 0.1858672797679901, 0.06796910613775253, -0.026095768436789513, -0.0615389421582222, -0.06337667256593704, 0.12196198850870132, 0.3778401017189026, -0.22656850516796112 ]
http://arxiv.org/abs/2406.02795v2
http://arxiv.org/pdf/2406.02795v2
ArguMentor: Augmenting User Experiences with Counter-Perspectives
2024-06-04T21:43:56
2024-06-13T12:33:58
Priya Pitre, Kurt Luther
cs.HC
cs.HC, cs.CL
Opinion pieces (or op-eds) can provide valuable perspectives, but they often represent only one side of a story, which can make readers susceptible to confirmation bias and echo chambers. Exposure to different perspectives can help readers overcome these obstacles and form more robust, nuanced views on important societal issues. We designed ArguMentor, a human-AI collaboration system that highlights claims in opinion pieces, identifies counter-arguments for them using a LLM, and generates a context-based summary of based on current events. It further enhances user understanding through additional features like a Q&A bot (that answers user questions pertaining to the text), DebateMe (an agent that users can argue any side of the piece with) and highlighting (where users can highlight a word or passage to get its definition or context). Our evaluation shows that participants can generate more arguments and counter-arguments and have, on average, have more moderate views after engaging with the system.
[ -0.9655085206031799, -0.7260518670082092, 0.6160059571266174, -0.2305879294872284, -0.49688825011253357, 0.13390889763832092, 0.16427485644817352, -0.5348380208015442, 0.5033242106437683, 0.5986758470535278, -0.2461351752281189, -0.07038784772157669, -0.36872318387031555, 0.044911544770002365, -0.2715705931186676, 1.2766553163528442, 0.055777277797460556, -0.2573990523815155, -0.6183567643165588, -0.5295979380607605, -0.40994054079055786, -0.5821089148521423, -0.6346878409385681, -0.5187010169029236, 0.7758888602256775, 0.6400936245918274, 0.8366652131080627, 0.36148035526275635, 0.37639203667640686, 0.4725862145423889, 0.10216612368822098, -0.03006078116595745, -0.1634589433670044, 0.17905917763710022, -0.7462329268455505, -0.42560356855392456, -0.5392898917198181, 0.026024196296930313, 0.053165994584560394, 0.3456564247608185, 0.08002544939517975, 0.005331054329872131, 0.04047812893986702, 0.6218239665031433, -0.502475917339325, -0.31780409812927246, -0.5234531760215759, 0.2220345437526703, 0.08609788119792938, -0.1421748548746109, -0.2587730586528778, -0.3039201498031616, 0.6475153565406799, -0.6218674778938293, 0.016246655955910683, 0.022196240723133087, 0.7836872339248657, 0.4448970556259155, -0.4526468515396118, -0.3496987521648407, -0.6905203461647034, 0.6845637559890747, -0.5501284599304199, -0.08962225914001465, -0.29280582070350647, 0.20320473611354828, 0.055724553763866425, -0.695529043674469, -0.9394848346710205, 0.23290200531482697, -0.30542701482772827, 0.6710166931152344, -0.5979520082473755, 0.17667412757873535, -0.030846210196614265, 0.275448203086853, -0.39506596326828003, -0.13475029170513153, -0.2824254333972931, -0.036626920104026794, 0.7482468485832214, 0.20843063294887543, 0.45137104392051697, -0.2916845381259918, -0.6590679287910461, -0.1584794819355011, -0.550998330116272, 0.23412185907363892, 0.527906060218811, -0.21778403222560883, -0.03502534702420235, 0.4802931547164917, 0.10198387503623962, 0.7117938995361328, 0.3248557150363922, 0.2372976541519165, -0.008913368918001652, 0.057708024978637695, -0.21640053391456604, 0.19492284953594208, 0.8297170996665955, 0.7815893292427063, -0.21033765375614166, 0.06111229211091995, 0.21317923069000244, 0.07115556299686432, 0.6020269989967346, -0.9126676321029663, -0.24349737167358398, 0.5481103658676147, -0.6931814551353455, -0.5033470392227173, 0.427827924489975, -1.027955412864685, -0.9953781366348267, -0.2921283543109894, 0.5181297063827515, -0.08107917010784149, -0.3151923418045044, -0.1622336506843567, -0.5005568265914917, 0.08955713361501694, 0.5404688119888306, -0.3516913652420044, 0.3398057222366333, 0.5967950224876404, 0.7316440939903259, -0.2681785523891449, -0.19474762678146362, -0.4594799280166626, 0.008456961251795292, -0.2803683578968048, 1.3603949546813965, -0.7448580265045166, -0.5834563374519348, -0.07897617667913437, -0.06154850125312805, 0.08571964502334595, -0.6246083378791809, 0.7549070715904236, -0.4640920162200928, 0.707781195640564, -0.49642038345336914, -0.6524220108985901, -0.3861583173274994, 0.49948152899742126, -0.7601279020309448, 0.669268786907196, -0.21805569529533386, -0.8766522407531738, 0.5343137979507446, -1.1403840780258179, -0.5089706182479858, 0.1657438427209854, -0.5491549372673035, -0.24334077537059784, 0.16300544142723083, 0.29333290457725525, 0.20569735765457153, -0.11045650392770767, -0.020753275603055954, 0.08121439814567566, -0.12663210928440094, 0.27963483333587646, -0.12091409415006638, 0.5228983163833618, 0.38470086455345154, -0.28817683458328247, 0.5538840293884277, -0.23596978187561035, -0.2962007522583008, -0.005933399777859449, -0.3112512528896332, -0.33313223719596863, 0.359039306640625, 0.049915507435798645, 0.39310529828071594, 0.26625514030456543, -0.535662829875946, 0.12573684751987457, -0.4966493248939514, 0.4894435703754425, 0.6683545708656311, 0.1325526237487793, 0.34581243991851807, -0.6957387924194336, 0.8000752329826355, 0.28469666838645935, -0.11722427606582642, -0.5523978471755981, -0.5661898255348206, -0.8231143951416016, -0.007999722845852375, 0.08125989884138107, 0.8330531716346741, -0.7858707308769226, 0.5162721872329712, 0.0037475761491805315, -0.4343636631965637, -0.5177565813064575, 0.24260927736759186, 0.20139248669147491, 0.8186537027359009, 0.3926461935043335, -0.5400444269180298, -0.7305505871772766, -0.9560425877571106, -0.4526553452014923, -0.5496747493743896, -0.08670736104249954, 0.5813191533088684, 0.38857561349868774, -0.06077095493674278, 1.3941941261291504, -0.3213918209075928, -0.2092028111219406, -0.6267959475517273, 0.4086357057094574, 0.12149560451507568, 0.32027289271354675, 0.38623955845832825, -0.8891102075576782, -0.5277217030525208, 0.1255146861076355, -0.8807291388511658, -0.21807362139225006, -0.473183810710907, -0.1691552698612213, 0.21751971542835236, 0.6012676954269409, -0.30133381485939026, 0.4263324737548828, 0.14661568403244019, -0.38455730676651, 0.11343251913785934, -0.05300959199666977, 0.29478636384010315, -1.4988151788711548, 0.15991419553756714, 0.044071778655052185, -0.3400578200817108, -0.4729888439178467, -0.21396669745445251, -0.5598627328872681, 0.014905030839145184, -0.5183831453323364, 0.5519887804985046, 0.19598276913166046, 0.37971577048301697, -0.6177880764007568, 0.4283788502216339, 0.4566345512866974, 0.05188910290598869, 0.4207744896411896, 0.6286125779151917, 0.05751902237534523, 0.10389949381351471, 0.228359192609787, 0.12308759987354279, -0.19411636888980865, 1.112265944480896, -0.9938883185386658, 0.33313921093940735, -0.14680011570453644, 0.38299378752708435, -0.9573386311531067, -0.2638879418373108, 0.3187062442302704, -0.3175564408302307, -0.2331717312335968, -0.1968739777803421, -0.11875852942466736, -0.3112618923187256, -0.4506627321243286, 0.11629319936037064, 0.14752356708049774, -0.5785179138183594, 1.0550562143325806, 0.7316951155662537, -0.35119161009788513, -0.7192887663841248, -0.420989990234375, 0.5356075167655945, -0.5932244658470154, -0.4600399136543274, 0.4153275191783905, -0.07401982694864273, -0.7190125584602356, 0.33810320496559143, 0.16619320213794708, 0.1606900691986084, -0.07553157955408096, 0.4997550845146179, 0.1161859855055809, -0.08449284732341766, 0.117449551820755, 0.20105727016925812, -0.18411345779895782, 0.18868958950042725, 0.11940278857946396, 0.2940824031829834, -0.38075006008148193, -0.42977219820022583, -0.2997005879878998, 0.7010500431060791, 0.45338505506515503, 0.019302111119031906, 0.4359942376613617, 0.37453991174697876, -0.2729114890098572, -0.02365976758301258, -0.5877951383590698, -0.09525319933891296, -0.4693027436733246, 0.4037711024284363, -0.23639093339443207, -0.721219003200531, 0.5256969332695007, -0.18261292576789856, 0.35517680644989014, 0.4825160801410675, 0.670337975025177, -0.20955972373485565, 0.8648021221160889, 0.42583417892456055, -0.3891605734825134, 0.5540085434913635, -0.0035487397108227015, 0.24989591538906097, -0.5928977727890015, 0.03734332323074341, -0.28176018595695496, -0.5561147928237915, -0.16135255992412567, -0.19483818113803864, 0.2532902956008911, -0.011760484427213669, -0.058978546410799026, 0.12730103731155396, -0.7329260110855103, 0.7772536873817444, 0.5630013942718506, 0.10247281193733215, 0.32344019412994385, -0.3003351092338562, 0.08532961457967758, -0.12772826850414276, -0.5951322317123413, -1.090074062347412, 0.6711285710334778, 0.0864596888422966, 0.4247925877571106, 0.1828840672969818, 0.5598766207695007, 0.7992472052574158, 0.7656150460243225, -0.8827916383743286, 0.558668851852417, 0.1745661348104477, -0.8718417882919312, 0.0663178414106369, -0.07785345613956451, -0.772671639919281, 0.5395285487174988, -0.39556461572647095, -0.7089036703109741, 0.33027535676956177, 0.2876119315624237, -0.48256465792655945, 0.511319100856781, -0.8974337577819824, 0.9669108986854553, -0.20866695046424866, -0.7248579263687134, -0.40371444821357727, -0.6964488625526428, -0.03057275339961052, 0.3583056330680847, 0.04303276911377907, 0.38770782947540283, 0.006427651271224022, 0.8432297110557556, -0.5606716871261597, 0.886140763759613, -0.20780332386493683, 0.07382065802812576, 0.7387247085571289, -0.05880354344844818, 0.16439789533615112, 0.10761845111846924, -0.19775068759918213, -0.04424327239394188, -0.24766333401203156, -0.13549990952014923, -0.4607568383216858, 0.648859977722168, -0.8780723810195923, -1.01288902759552, -0.5598505139350891, -0.47020092606544495, 0.11222682148218155, 0.1708517223596573, 0.10352762788534164, 0.1667618453502655, -0.6855082511901855, 0.3130338788032532, 0.2597290575504303, -0.22236409783363342, 0.5989754796028137, 0.1845158189535141, 0.030945468693971634, -0.6705306768417358, 0.7114484906196594, 0.0045373993925750256, -0.10815748572349548, 0.25244224071502686, 0.5013981461524963, -0.2943843603134155, -0.46535176038742065, -0.7408375144004822, -0.3589169681072235, -0.7463536858558655, -0.1470426321029663, -0.7938477396965027, 0.10287902504205704, 0.03215153142809868, -0.7174733281135559, -0.2125229835510254, -0.37263748049736023, -0.03713449835777283, -0.2939278185367584, 0.340489000082016, 0.7953497767448425, -0.10174497961997986, 0.5186998844146729, -0.4755859673023224, 0.19083191454410553, 0.636533796787262, -0.147038072347641, -0.06899958848953247, -0.22300158441066742, -0.23674644529819489, -0.1550590842962265, -0.8095188736915588, -0.7089396119117737, 0.1989692896604538, -0.10166148096323013, 0.5565362572669983, 0.8965743184089661, 0.448361873626709, 0.5903767347335815, -0.3030130863189697, 1.0825281143188477, 0.0846005231142044, -1.0244574546813965, 0.6469132304191589, -0.24242274463176727, 0.050971221178770065, 0.7702304720878601, 0.29524514079093933, -0.45175501704216003, -0.22991666197776794, -0.6542125344276428, -0.8860768675804138, 0.584743857383728, -0.024145234376192093, 0.10845740139484406, 0.05347726121544838, 0.07343018800020218, 0.24322471022605896, 0.18259477615356445, -0.7644278407096863, -0.0440136194229126, -0.7668120265007019, -0.28608280420303345, 0.10528288781642914, -0.14071466028690338, -0.6187564730644226, -0.03303069248795509, 0.4412418007850647, -0.1382092535495758, -0.0825684666633606, 0.5852840542793274, -0.07046949863433838, -0.15709833800792694, 0.5514962077140808, 0.5235409736633301, 0.7992791533470154, -0.18733057379722595, 0.46309518814086914, 0.33027786016464233, -0.31077060103416443, -0.1891937255859375, 0.3431949019432068, -0.03145032376050949, -0.16148249804973602, 0.3900359570980072, 0.5330896377563477, -0.43159380555152893, -0.7376017570495605, 0.48272937536239624, -0.2436922788619995, -0.10743885487318039, -0.2894775867462158, 0.16541825234889984, 0.26902100443840027, 0.49806830286979675, 0.2939215898513794, 0.35633739829063416, 0.15072478353977203, -0.6900216937065125, 0.08555732667446136, 0.3143996000289917, -0.6383122205734253, -0.36793437600135803, 0.8626809120178223, 0.6978626847267151, -0.5205195546150208, -0.16613946855068207, 0.08567260205745697, -0.7011597156524658, 0.6696540117263794, 0.3167440891265869, 0.7068070769309998, 0.08091253787279129, 0.1668582260608673, -0.011766734533011913, 0.2245032638311386, 0.3672804534435272, 0.20570026338100433, -0.13650113344192505, -0.7360556125640869, -0.2090068757534027, -0.019229097291827202, -1.021281361579895, 0.11903326958417892, -0.5061612129211426, 0.18877434730529785, -0.3519323468208313, -0.18664933741092682, 0.06727618724107742, 0.16808950901031494, -0.3225744366645813, 0.14025437831878662, -0.047070205211639404, 0.5097726583480835, -0.9355244040489197, 0.4067543148994446, 1.2213678359985352, -0.5490515232086182, -0.03709479793906212, 0.054220374673604965, 0.20739935338497162, -0.10024192184209824, 0.11433818191289902, 0.16164539754390717, -0.532437801361084, -0.5539401769638062, -0.4043733775615692, 0.023511137813329697, 0.8543910384178162, 0.2646726667881012, -0.36186113953590393, 0.6752305626869202, 0.2815471291542053, 0.7591689229011536, -0.7495704889297485, 0.526580810546875, 0.0034394897520542145, 0.4090379476547241, -0.0859534740447998, -0.3866910934448242, 0.12749572098255157, -0.49235203862190247, -0.5225012302398682, -0.21014371514320374, -0.7082070708274841, 0.6323327422142029, -0.12661059200763702, 0.02831997163593769, -0.1709764152765274, 0.6139458417892456, 0.16745005548000336, 0.7537351846694946, 0.9350323677062988, 0.5737559199333191, 0.5268114805221558, 0.261275976896286, 0.8481318354606628, -0.39639899134635925, -0.008817197754979134, 1.3714008331298828, -0.49769026041030884, 0.9356855750083923, 0.7504863142967224, 0.05184607207775116, 0.8494599461555481, 0.29893654584884644, 0.23815865814685822, 0.2418489009141922, -0.004511083476245403, -0.4927462935447693, -0.5021919012069702, -0.47489097714424133, -0.3833255171775818, 0.35945263504981995, 0.33861589431762695, -0.40985631942749023, -0.0006117581506259739, -0.23683398962020874, 0.3369956910610199, 0.5640390515327454, 0.06642718613147736, 1.0256787538528442, 0.04137575626373291, -0.820587694644928, -0.272099107503891, -0.3576003313064575, 0.5471321940422058, 0.014752128161489964, -0.2561350166797638, -0.13032114505767822, 0.246308371424675, -0.38769280910491943, -0.9241043925285339, 0.3331669569015503, 0.19897638261318207, -0.3182581663131714, -0.2007453441619873, 0.8955918550491333, 0.13051243126392365, -0.5186258554458618, 0.07256732136011124, 0.8462452292442322, -0.010762938298285007, 0.05039719119668007, -0.6039873957633972, -0.12225117534399033, -0.21412435173988342, -0.4267754554748535, -0.024781862273812294, 0.33356261253356934, 0.07388917356729507, 0.3283897042274475, 0.5219074487686157, -0.18163657188415527, -0.5389552712440491, -0.005131032783538103, 1.1169226169586182, -0.6629824638366699, -0.4547461271286011, -1.0552616119384766, 0.6967426538467407, -0.6622371077537537, -0.5376185178756714, 0.6351379752159119, 0.7602320909500122, 0.7145422697067261, 0.1529417783021927, 1.2028367519378662, -0.3276301920413971, 0.622948169708252, 0.18034876883029938, 0.8657870888710022, -0.6549520492553711, 0.27566319704055786, -0.48784929513931274, -0.5861344933509827, -0.16077782213687897, 0.7564994096755981, -0.39793166518211365, -0.21287895739078522, 0.34449297189712524, 0.4544585645198822, -0.0187638308852911, 0.1379186362028122, 0.019587310031056404, 0.0007680971175432205, 0.581788182258606, 0.40395450592041016, 1.2915513515472412, -0.29605916142463684, 0.7403431534767151, -0.06955314427614212, -0.11062148213386536, -0.28066712617874146, -0.9576225280761719, -1.2618900537490845, -0.37008538842201233, -0.3830745816230774, -0.18805372714996338, -0.08810579031705856, 1.0645583868026733, 0.7373002171516418, -0.7938722372055054, -0.2633701264858246, -0.17591018974781036, 0.49380770325660706, 0.07999187707901001, -0.24424080550670624, 0.2617524266242981, 0.07947973161935806, -0.7899459600448608, 0.27727916836738586, 0.21939559280872345, -0.48412731289863586, -0.2408045530319214, -0.05913306772708893, -0.1997351050376892, 0.5257237553596497, 0.6920963525772095, 0.41690051555633545, -0.6972826719284058, -0.661152184009552, -0.2047674059867859, 0.2671400010585785, 0.3983692526817322, 0.8078117966651917, -1.0691556930541992, 0.7758904695510864, 0.6643056273460388, 0.5827152132987976, 0.16330239176750183, 0.530860185623169, 0.7045139074325562, -0.4205501675605774, 0.25746750831604004, 0.20670755207538605, 0.4630610942840576, 0.20423220098018646, -0.24085910618305206, 0.3766672909259796, 0.03956927731633186, -0.6695314049720764, -0.6236786842346191, 0.1727568656206131, -1.0661953687667847, -0.3468528091907501, 0.5470174551010132, -0.27075403928756714, 0.07555433362722397, -0.44250115752220154, -0.7026544213294983, -0.003433064790442586, -0.7145527005195618, 1.1783747673034668, 0.769578218460083, -0.5252106189727783, -0.19189982116222382, -0.2516978085041046, 0.3122915029525757, 0.5470080971717834, -1.1872737407684326, -0.25830501317977905, 0.4554578959941864, -0.14106756448745728, 0.4503295421600342, 0.43228650093078613, 0.08086796849966049, 0.10726651549339294, -0.0014028851874172688, 0.10745762288570404, -0.02588212676346302, -0.19479377567768097, -0.12130958586931229, 0.5436811447143555, -0.06735407561063766, -0.2003350555896759 ]
http://arxiv.org/abs/2406.02791v1
http://arxiv.org/pdf/2406.02791v1
Language Models can Infer Action Semantics for Classical Planners from Environment Feedback
2024-06-04T21:29:56
2024-06-04T21:29:56
Wang Zhu, Ishika Singh, Robin Jia, Jesse Thomason
cs.AI
cs.AI, cs.CL, cs.RO
Classical planning approaches guarantee finding a set of actions that can achieve a given goal state when possible, but require an expert to specify logical action semantics that govern the dynamics of the environment. Researchers have shown that Large Language Models (LLMs) can be used to directly infer planning steps based on commonsense knowledge and minimal domain information alone, but such plans often fail on execution. We bring together the strengths of classical planning and LLM commonsense inference to perform domain induction, learning and validating action pre- and post-conditions based on closed-loop interactions with the environment itself. We propose PSALM, which leverages LLM inference to heuristically complete partial plans emitted by a classical planner given partial domain knowledge, as well as to infer the semantic rules of the domain in a logical language based on environment feedback after execution. Our analysis on 7 environments shows that with just one expert-curated example plans, using LLMs as heuristic planners and rule predictors achieves lower environment execution steps and environment resets than random exploration while simultaneously recovering the underlying ground truth action semantics of the domain.
[ -0.2511570155620575, -0.6097191572189331, 0.8761081695556641, 0.3556560277938843, 0.14459268748760223, -0.543451726436615, -0.6007218956947327, -0.13573220372200012, 0.17716318368911743, 0.8581148982048035, -1.0478425025939941, -0.5888691544532776, -0.3158363103866577, -0.1162618026137352, -0.37356412410736084, 0.599363386631012, -0.12762366235256195, -0.1201423704624176, -0.04312983155250549, 0.16404780745506287, -0.24754691123962402, -0.21721982955932617, -0.41927647590637207, -0.7056950330734253, 0.21288277208805084, 0.37169888615608215, 0.6565237641334534, 0.3238590359687805, 0.21281591057777405, 0.3529947102069855, -0.185248464345932, 0.2560504376888275, -0.6009921431541443, -0.03202332928776741, -0.42601528763771057, -0.06535331159830093, -0.31871941685676575, -0.02460385486483574, 0.44385987520217896, 0.661453902721405, -0.524574875831604, -0.0870961993932724, -0.10340340435504913, 0.3254315257072449, -0.8573930859565735, 0.611400306224823, -0.745667576789856, 0.2683224678039551, 0.2805761694908142, -0.506186306476593, -0.5944222211837769, -0.06120465323328972, 0.2712237238883972, -0.839377760887146, -0.2356635332107544, 0.2304089218378067, 0.6798915266990662, 0.3833616375923157, -0.011681737378239632, -0.6616221070289612, -1.107589602470398, 1.0438100099563599, -0.8760004043579102, 0.30384641885757446, 0.7353549599647522, 0.24357390403747559, -0.6310800909996033, -0.7595014572143555, -0.8702082633972168, -0.14405138790607452, -0.35244590044021606, 0.3183251619338989, -0.13748806715011597, 0.06916818022727966, 0.5177224278450012, -0.04040597379207611, -0.22283214330673218, 0.1185111328959465, -0.5152326226234436, 0.06321839243173599, 0.5125854015350342, 0.24936197698116302, 0.14373964071273804, -0.3051196336746216, -0.3974328637123108, -0.07220518589019775, -0.8871386647224426, 0.07467277348041534, 0.12379632145166397, 0.38370829820632935, -0.1909312605857849, 0.5406350493431091, -0.29801830649375916, 0.7125211954116821, -0.05291597172617912, -0.26454034447669983, -0.5177015662193298, -0.12573057413101196, -0.5207517147064209, 0.15201768279075623, 0.572751522064209, 0.22096575796604156, 0.29506632685661316, -0.31504759192466736, -0.42863813042640686, 0.17182719707489014, 0.28600868582725525, -0.5083884000778198, -0.28054243326187134, 0.1920112520456314, -0.20022214949131012, 0.12929174304008484, -0.13689449429512024, -0.7028355598449707, -0.2878934442996979, -0.753864586353302, 0.2649841904640198, -0.5227491855621338, -0.3216891884803772, 0.5435755252838135, -0.008599783293902874, 0.589380145072937, 0.5854117274284363, -0.7352874279022217, 0.5809171795845032, 1.016767144203186, 0.3527661859989166, 0.31567004323005676, -0.611591637134552, -0.6418912410736084, 0.5301186442375183, -0.5499937534332275, 1.0354278087615967, -0.6356865167617798, -0.4699035882949829, 0.2520803213119507, -0.2127181738615036, -0.09948646277189255, -0.2856387495994568, 0.7736139893531799, -0.8323016166687012, 0.22608548402786255, -0.31922101974487305, -0.6496348977088928, -0.39534246921539307, 0.15906094014644623, -0.4454769492149353, 0.4955444037914276, -0.1407092660665512, -0.528042733669281, 0.6177331209182739, -0.7201986908912659, -0.5872250199317932, -0.07715500146150589, -0.25128570199012756, -0.042891524732112885, 0.05464690178632736, 0.2392231523990631, 0.3642771244049072, -0.12150021642446518, 0.3450314998626709, -0.46711036562919617, -0.07666540145874023, 0.03866549953818321, 0.058518532663583755, 0.5762168765068054, 0.12297022342681885, -0.37956687808036804, 0.47395849227905273, -0.4531562924385071, 0.22901925444602966, -0.02712344564497471, -0.3485005795955658, -0.009228291921317577, 0.5881792902946472, -0.17884986102581024, 0.31939584016799927, -0.03753843158483505, -0.30487576127052307, 0.019379764795303345, -0.27283769845962524, 0.3814319670200348, 0.8768913149833679, 0.03945072740316391, 0.6049347519874573, -0.3295019268989563, 0.4222119450569153, -0.4606945812702179, -0.12301170825958252, -0.06734811514616013, -0.3412286639213562, -0.5759602189064026, -0.08543708175420761, -0.12511713802814484, 0.48628121614456177, -0.42763277888298035, 0.4881912171840668, -0.46125420928001404, -0.2199532389640808, 0.07757063210010529, 0.01063261553645134, 0.4615969657897949, 0.34853866696357727, 0.18012171983718872, -0.00038086436688899994, -0.5716575980186462, -0.5526329874992371, -0.17062117159366608, -0.18197612464427948, 0.21657001972198486, 0.28098365664482117, 0.43766894936561584, 0.07241138815879822, 1.010027289390564, -0.47224220633506775, -0.06952204555273056, -0.6304376125335693, 0.06211257353425026, 0.22395938634872437, 0.24329836666584015, 0.28422531485557556, -0.5993862748146057, -0.18897530436515808, -0.11792121082544327, -0.7730428576469421, -0.04295330494642258, -0.2300601750612259, -0.46634888648986816, -0.20549626648426056, 0.5106896758079529, -0.6019929051399231, 0.53627610206604, 0.43236473202705383, -0.22959572076797485, 0.5977802276611328, -0.22412168979644775, -0.17012232542037964, -0.7395359873771667, -0.06999809294939041, -0.04658111557364464, -0.17005564272403717, -0.62480229139328, 0.23915021121501923, -0.0015946083003655076, -0.15076413750648499, -0.46163052320480347, 0.5982033014297485, -0.376533567905426, -0.5188139081001282, -0.3468492925167084, -0.00022611537133343518, -0.33337026834487915, 0.6623230576515198, 0.7035137414932251, 0.5716148018836975, 0.4803929626941681, -1.0370479822158813, 0.02920999750494957, 0.6433997750282288, -0.5599156022071838, 0.3838946521282196, -0.5628530383110046, -0.05449466407299042, -0.15888985991477966, 0.6158030033111572, -0.44674384593963623, -0.49324458837509155, -0.058302924036979675, -0.09192313998937607, 0.15569010376930237, -0.3327520787715912, -0.659064531326294, -0.4142684042453766, 0.001877021393738687, -0.3007199168205261, 0.5667018294334412, -0.539592444896698, 0.7267991304397583, 0.20019519329071045, 0.020768163725733757, -0.27824413776397705, -0.6106247901916504, 0.042795196175575256, -0.14698506891727448, -0.581051230430603, 0.07441965490579605, 0.08561466634273529, -0.6643540859222412, 0.12872087955474854, -0.05052651837468147, -0.07537777721881866, 0.03434918448328972, 0.5291646122932434, 0.08775065839290619, -0.1515798419713974, -0.24279041588306427, -0.06160958483815193, -0.27403533458709717, 0.2573987543582916, -0.3648216128349304, 0.5617581605911255, -0.020915955305099487, -0.5206621885299683, -0.6001017689704895, 0.35082486271858215, 0.7579463720321655, -0.40529268980026245, 0.5040016174316406, -0.07007835805416107, -0.5279175043106079, -0.4370232820510864, -0.1288207322359085, -0.38432198762893677, -0.46102800965309143, -0.0761716440320015, -0.34075504541397095, -0.43473270535469055, 0.1399160474538803, -0.5799247026443481, 0.5261768102645874, 0.3053809702396393, 0.49074360728263855, -0.0331362709403038, 0.6287865042686462, 0.6427561044692993, 0.3017224967479706, 0.19289596378803253, -0.5040491223335266, 0.24685554206371307, -0.8339073061943054, 0.006158101372420788, -0.3488750159740448, -0.4656311571598053, -0.32606905698776245, -0.337758868932724, 0.3542481064796448, 0.23288588225841522, -0.37456947565078735, 0.2954378128051758, 0.022708594799041748, 0.296480268239975, 0.6871715784072876, -0.0286796223372221, 0.14130103588104248, 0.17778383195400238, -0.1856674700975418, -0.06719695776700974, -0.6003338694572449, -0.8492458462715149, 0.6863083243370056, -0.04708772525191307, 0.866278886795044, 0.32606372237205505, 0.7615500688552856, 0.05224234238266945, 0.4692191779613495, -0.6902621388435364, 0.6578184962272644, 0.269795298576355, -0.42638516426086426, -0.31080392003059387, -0.10488523542881012, -0.7708802223205566, 0.23369675874710083, -0.3623400032520294, -0.7932031154632568, 0.1376107931137085, 0.21327108144760132, -0.7035314440727234, 0.3649011552333832, -0.5203519463539124, 0.7793360948562622, -0.15020860731601715, -0.4270564913749695, -0.746983528137207, -0.3322840929031372, 0.42452773451805115, 0.00037746087764389813, 0.3896145522594452, -0.1231686994433403, 0.07266434282064438, 0.3778488039970398, -0.6371344327926636, 1.0563743114471436, -0.19768336415290833, -0.14628657698631287, 0.3194865584373474, 0.35848090052604675, 0.9647423028945923, -0.038282256573438644, -0.22386758029460907, -0.46323665976524353, -0.2535753846168518, -0.4801423251628876, -0.5836630463600159, 0.8852000832557678, -0.6394945383071899, -0.6034242510795593, -0.1530342847108841, -0.2789480686187744, -0.4027945399284363, 0.19446039199829102, 0.11475396901369095, 0.5296569466590881, -0.17448891699314117, -0.31406980752944946, 0.48426881432533264, -0.3782642185688019, 0.588456928730011, 0.8844268321990967, -0.3872496485710144, -0.32641613483428955, 0.46017932891845703, -0.2696758508682251, 0.3138824999332428, 0.3132883608341217, 0.3971722722053528, -0.29429924488067627, -0.6702423095703125, -0.22993426024913788, 0.23117145895957947, -0.7341206073760986, 0.11820977181196213, -0.6203765869140625, -0.007235514000058174, -0.18284469842910767, -0.5778633952140808, -0.19469979405403137, -0.2819514870643616, 0.19870498776435852, -0.21683189272880554, 0.3004867434501648, 1.0783259868621826, -0.2985827624797821, 0.32789283990859985, -0.5971881747245789, 0.05786186456680298, 0.2324949949979782, 0.0440065972507, -0.04145833104848862, -0.24630801379680634, 0.04902658611536026, -0.10520783811807632, -0.27065974473953247, -0.7231767773628235, 0.44172704219818115, 0.2635291814804077, 0.4655416011810303, 0.5867119431495667, 0.29670459032058716, 0.7953442335128784, -0.6917963624000549, 0.7260437607765198, -0.06618408113718033, -0.5925572514533997, 0.8139641880989075, -0.36757364869117737, 0.21828901767730713, 0.355741947889328, 0.24074625968933105, -0.4939707815647125, -0.28877705335617065, -0.8012712001800537, -0.6537699699401855, 0.7563218474388123, 0.023456865921616554, -0.00533440662547946, -0.12744487822055817, 0.1559874415397644, 0.09322767704725266, 0.25624459981918335, -0.5731585621833801, 0.14177358150482178, 0.09442214667797089, 0.2829996347427368, 0.05760122835636139, -0.14915834367275238, -0.3649211823940277, -0.12726540863513947, 0.6031296849250793, -0.03593027591705322, 0.14774158596992493, 0.13434071838855743, -0.15219923853874207, -0.4147544801235199, 0.4462692439556122, 1.027226448059082, 0.8768909573554993, -0.08361872285604477, 0.3404659926891327, 0.26390764117240906, 0.1266045719385147, -0.15895409882068634, -0.1327494978904724, -0.29570579528808594, -0.3495441973209381, 0.9201000332832336, 0.6750739812850952, 0.67559415102005, -0.742543637752533, 0.30225956439971924, -0.007476178929209709, -0.17622464895248413, -0.7014968991279602, 0.011962493881583214, 0.17870944738388062, 0.2500692903995514, -0.16369040310382843, 0.21442869305610657, -0.1527554988861084, -0.5009838938713074, 0.3735596835613251, 0.189524844288826, -0.4225078225135803, -0.5639510750770569, 0.3369891941547394, -0.017700141295790672, -0.10593639314174652, 0.5805193781852722, -0.4580343961715698, -0.7178681492805481, 0.41512539982795715, 0.62103670835495, 0.815950870513916, 0.139234259724617, 0.028588946908712387, 0.5476749539375305, 0.19413477182388306, -0.15664274990558624, 0.7479357719421387, -0.13439884781837463, -0.6722644567489624, -0.8234959840774536, -0.9420086741447449, -0.30841273069381714, 0.20457932353019714, -0.37503328919410706, 0.10477431118488312, -0.8851429224014282, 0.3224520981311798, -0.24435998499393463, -0.0984060987830162, -0.7658818960189819, -0.01779073290526867, -0.03974964842200279, 1.0929104089736938, -0.6626793742179871, 0.5618323683738708, 0.9796780347824097, -0.2787160575389862, -0.9250367283821106, 0.1917417049407959, 0.344056636095047, -0.8743239045143127, 1.0503324270248413, -0.09571098536252975, -0.3214103579521179, -0.24821804463863373, -0.4804304242134094, -0.8753671050071716, 0.8925544023513794, 0.06045091524720192, -0.618528425693512, 0.0757674053311348, -0.21667924523353577, 0.3879966139793396, -0.16519899666309357, -0.10528144240379333, 0.4285458028316498, 0.9245244860649109, 0.32121965289115906, -0.8783758878707886, -0.02015823870897293, 0.1991136223077774, -0.27479878067970276, 0.3322312831878662, -0.14716178178787231, 0.46912771463394165, -0.47046583890914917, -0.4636648893356323, 0.17018695175647736, 1.036179780960083, 0.2563657760620117, 0.2567793130874634, 0.5382380485534668, 1.013488531112671, 0.6632254719734192, 0.07840961962938309, 1.4233349561691284, -0.6132017374038696, 0.14007434248924255, 1.221934199333191, -0.45988476276397705, 1.2565618753433228, 0.06813833117485046, -0.23929904401302338, 0.5372465252876282, 0.5656074285507202, 0.5925751328468323, 1.0314760208129883, 0.2215786725282669, -0.42114269733428955, -0.4851882755756378, -0.03752106428146362, 0.11354731768369675, 0.5333471298217773, 0.696133553981781, 0.0375262089073658, -0.64894038438797, -0.25626763701438904, 0.2116970419883728, 0.37461057305336, -0.37880590558052063, 0.7928993701934814, 0.02871752716600895, -1.05909264087677, 0.2702834904193878, -0.01245332695543766, 0.39857250452041626, -0.6276244521141052, 0.02341860719025135, -0.02278318628668785, 0.4311128854751587, -0.2511112093925476, -0.7971215844154358, 0.4798600673675537, -0.1560126692056656, -0.03614223003387451, -0.4538334906101227, 0.5691689252853394, -0.28298360109329224, -0.22971075773239136, 0.3306882977485657, 0.3877670466899872, 0.009658650495111942, 0.05904502421617508, -0.4005948305130005, -0.1519140601158142, -0.19888070225715637, -0.03888941928744316, 0.04073026403784752, 0.5871536731719971, -0.15129120647907257, 0.4800364077091217, 0.673330545425415, 0.27107274532318115, 0.10785839706659317, -0.21494878828525543, 0.6961575746536255, -0.6760516166687012, -0.5275744795799255, -0.6419566869735718, 0.13777543604373932, -0.20995619893074036, -0.211372509598732, 0.4921751320362091, 0.3878220319747925, 0.7792306542396545, 0.006691808812320232, 0.8116601705551147, 0.10263560712337494, 0.3146198093891144, -0.8131294846534729, 0.2433347851037979, -0.1641894429922104, 0.3498311936855316, 0.02293882705271244, -0.6818721890449524, -0.016582066193223, 0.6989567875862122, -0.8362393975257874, -0.12565435469150543, 0.604468047618866, 0.7620322108268738, -0.33803731203079224, 0.12958401441574097, 0.25486359000205994, 0.10124412924051285, 0.4804709851741791, 0.5865530371665955, 1.074589490890503, 0.3378938138484955, 0.08030357211828232, -0.18271753191947937, -0.4351421594619751, -0.07556741684675217, -0.929110050201416, -0.709296703338623, -0.45558634400367737, 0.01607062853872776, -0.21248309314250946, -0.016503944993019104, 1.168125867843628, 0.8786262273788452, -0.7334599494934082, -0.37511685490608215, -0.36491072177886963, 0.022600781172513962, -0.33061477541923523, -0.17916566133499146, 0.4326819181442261, -0.5187940001487732, -0.4388468265533447, 0.8455965518951416, 0.49100446701049805, -0.2491413801908493, -0.39693519473075867, -0.5375445485115051, -0.017473934218287468, 0.28025949001312256, 0.6582527756690979, 0.6768010854721069, -1.175647258758545, -0.12545545399188995, -0.31938040256500244, -0.046637244522571564, -0.3235710859298706, 1.1723973751068115, -0.7725045084953308, 0.11073389649391174, 0.34478113055229187, 0.4344431161880493, 0.4764341413974762, -0.4061364233493805, 0.8916107416152954, -0.570417046546936, 0.09349081665277481, 0.17154942452907562, 0.7188840508460999, 0.18003542721271515, 0.04850488156080246, 0.5826686024665833, -0.0719323456287384, -0.38222378492355347, -0.34252896904945374, 0.6528040766716003, -0.730935275554657, -0.3644886016845703, 1.3320908546447754, -0.16515260934829712, -0.4488475024700165, 0.13002601265907288, -0.196248397231102, -0.25828269124031067, -0.29023420810699463, 0.6802332401275635, 0.5800701975822449, -0.2680920958518982, -0.2176397144794464, -0.6468933820724487, 0.8575658202171326, 0.19163914024829865, -0.7502740025520325, 0.41295325756073, 0.791049599647522, -0.08531869202852249, 0.31800419092178345, 0.6648627519607544, 0.1866942197084427, 0.2970117926597595, -0.10719583183526993, -0.11700310558080673, 0.12039241939783096, -0.2052394598722458, 0.08822110295295715, 0.09409596771001816, 0.2898595631122589, 0.2496359944343567 ]
http://arxiv.org/abs/2406.02787v1
http://arxiv.org/pdf/2406.02787v1
Disentangling Logic: The Role of Context in Large Language Model Reasoning Capabilities
2024-06-04T21:25:06
2024-06-04T21:25:06
Wenyue Hua, Kaijie Zhu, Lingyao Li, Lizhou Fan, Shuhang Lin, Mingyu Jin, Haochen Xue, Zelong Li, JinDong Wang, Yongfeng Zhang
cs.CL
cs.CL, cs.AI, cs.LG
This study intends to systematically disentangle pure logic reasoning and text understanding by investigating the contrast across abstract and contextualized logical problems from a comprehensive set of domains. We explore whether LLMs demonstrate genuine reasoning capabilities across various domains when the underlying logical structure remains constant. We focus on two main questions (1) Can abstract logical problems alone accurately benchmark an LLM's reasoning ability in real-world scenarios, disentangled from contextual support in practical settings? (2) Does fine-tuning LLMs on abstract logic problem generalize to contextualized logic problems and vice versa? To investigate these questions, we focus on standard propositional logic, specifically propositional deductive and abductive logic reasoning. In particular, we construct instantiated datasets for deductive and abductive reasoning with 4 levels of difficulty, encompassing 12 distinct categories or domains based on the categorization of Wikipedia. Our experiments aim to provide insights into disentangling context in logical reasoning and the true reasoning capabilities of LLMs and their generalization potential. The code and dataset are available at: https://github.com/agiresearch/ContextHub.
[ -0.3952741324901581, -1.1723480224609375, 0.7966646552085876, -0.1004105806350708, -0.26052364706993103, 0.13335905969142914, -0.28424331545829773, -0.5530194044113159, -0.39459317922592163, 0.25472715497016907, -0.5861117839813232, -0.3093855381011963, -0.7138376235961914, 0.42172592878341675, -0.3998419940471649, 0.7089769840240479, -0.14201956987380981, -0.11195474863052368, -0.6864312291145325, -0.1951780915260315, -0.6166711449623108, -0.6045734286308289, -0.40266746282577515, -0.43399253487586975, 0.34767740964889526, 0.22095046937465668, 0.41010990738868713, 0.5522109270095825, 0.5070945024490356, 0.38412052392959595, -0.34054645895957947, 0.22492891550064087, -0.4070870280265808, 0.3768455982208252, -0.7652955651283264, -0.3530009388923645, -0.1959916055202484, -0.060259122401475906, 0.5551376938819885, 0.8673063516616821, -0.052497852593660355, 0.052406005561351776, 0.06971164047718048, 0.8206050992012024, -0.6244780421257019, 0.09318829327821732, -0.9933379888534546, -0.03870299085974693, 0.026198003441095352, -0.11643895506858826, -0.422585666179657, 0.03144111484289169, 0.26080742478370667, -0.6500610113143921, 0.03322891891002655, 0.11855215579271317, 0.6189707517623901, 0.7054834365844727, -0.8618118762969971, -0.3452655076980591, -0.7720099091529846, 0.8601335287094116, -0.5926868915557861, 0.059242457151412964, 0.10865160077810287, 0.3797629475593567, -0.2186993658542633, -0.6545943021774292, -0.7420170903205872, 0.1795467883348465, -0.23504972457885742, -0.001837631338275969, -0.35153165459632874, -0.08495251089334488, 0.48589658737182617, 0.5096523761749268, -0.4687621593475342, 0.06694405525922775, -0.1599976271390915, -0.03794044628739357, 0.5597432255744934, 0.14826971292495728, 0.3182162940502167, -0.12683966755867004, -0.31317147612571716, 0.14254100620746613, -0.883305013179779, 0.05491602048277855, 0.021763570606708527, -0.08765052258968353, 0.053693387657403946, 0.4219307601451874, -0.2697497010231018, 0.9300973415374756, -0.07242807000875473, -0.11425646394491196, 0.042903393507003784, -0.24189265072345734, -0.2934783697128296, 0.19564104080200195, 0.303681880235672, 0.22700336575508118, 0.3522125780582428, 0.045608099550008774, -0.22176557779312134, 0.14856185019016266, 0.15889005362987518, -0.585557222366333, -0.048892296850681305, 0.19937466084957123, -0.3791334927082062, -0.0856311097741127, -0.013461041264235973, -0.2734616994857788, -0.5067213773727417, -0.6807651519775391, 0.4108760356903076, -0.34980934858322144, -0.34825852513313293, 0.35972312092781067, -0.19443979859352112, 0.35455968976020813, 0.37944620847702026, -0.7985798716545105, 0.3220226764678955, 0.8740650415420532, 0.5332686305046082, -0.38645750284194946, -0.1563606560230255, -0.3833424746990204, 0.08531064540147781, -0.22369664907455444, 0.6154114603996277, -0.4383118450641632, -0.05184440314769745, 0.011411895975470543, 0.10574930161237717, -0.17015017569065094, -0.7624582052230835, 0.4356723129749298, -0.6904954314231873, -0.001955063547939062, -0.3331875503063202, -0.7173119783401489, -0.21676063537597656, 0.6283777952194214, -0.6280251145362854, 0.5988888144493103, -0.08101411908864975, -0.7680104970932007, 0.14161242544651031, -0.3311392068862915, -0.5374985337257385, -0.09288551658391953, -0.5514447689056396, 0.05929059162735939, 0.1946699470281601, 0.1169014722108841, 0.40711313486099243, -0.3106369078159332, 0.4464404881000519, -0.07070057094097137, -0.4322863221168518, 0.5105636715888977, -0.4790220260620117, 0.7742562294006348, 0.2318122535943985, -0.6072565317153931, -0.05975974723696709, -0.8157317042350769, -0.18583552539348602, 0.27927374839782715, -0.2244056910276413, -0.6207686066627502, 0.3457147479057312, -0.3572676479816437, 0.35864579677581787, 0.24483756721019745, -0.3324522376060486, 0.21799902617931366, -0.5384476184844971, 0.7294994592666626, 0.6870054006576538, -0.045195531100034714, 0.3641548752784729, -0.037502601742744446, 0.11260918527841568, 0.4375153183937073, -0.3540898263454437, -0.11600220203399658, -0.40818431973457336, -0.5515604019165039, -0.3149147033691406, 0.27997416257858276, 0.5684990286827087, -0.6930208206176758, 0.6319683790206909, -0.11844804883003235, 0.0857592448592186, -0.10809113085269928, 0.018707482144236565, 0.43276190757751465, 1.1102640628814697, 0.32820582389831543, 0.26373177766799927, -0.2771677076816559, -1.032821536064148, -0.2196284681558609, 0.15184080600738525, -0.24693886935710907, 0.20466063916683197, 0.7684109807014465, -0.3795534670352936, 1.0442737340927124, -0.6949352622032166, -0.1626204401254654, -0.31191104650497437, -0.1682223230600357, 0.21977359056472778, 0.3371164798736572, 0.23738807439804077, -1.0938777923583984, -0.3038700520992279, 0.07838883996009827, -1.0367710590362549, -0.11529169976711273, -0.006870047189295292, -0.11401550471782684, 0.3028465211391449, 0.6939119696617126, -0.6019861698150635, 0.5580166578292847, 0.17656415700912476, -0.4725894033908844, 0.44024914503097534, -0.28926676511764526, 0.06108086183667183, -0.9052706956863403, 0.0301585104316473, -0.11488501727581024, -0.1722613275051117, -0.5667729377746582, -0.025577234104275703, 0.04095514118671417, 0.1000729501247406, -0.42529353499412537, 0.5573453903198242, -0.36582207679748535, 0.011139514856040478, -0.34943652153015137, 0.5150893926620483, 0.3339841067790985, 0.3404882848262787, 0.21398529410362244, 0.6403749585151672, 0.5482263565063477, -0.7961928248405457, 0.30652809143066406, 0.1601325124502182, -0.42373645305633545, 0.5650701522827148, -0.6752203106880188, -0.12972413003444672, -0.21054089069366455, 0.3976086974143982, -1.2105966806411743, -0.16536162793636322, 0.11176133900880814, -0.22045722603797913, 0.038203079253435135, 0.0862044095993042, -0.5325560569763184, -0.014334674924612045, -0.013717537745833397, 0.6600801944732666, 0.4725654721260071, -0.6266060471534729, 0.4173758625984192, 0.2999592423439026, 0.04037141799926758, -0.610751211643219, -0.6874821186065674, -0.14862637221813202, -0.40994131565093994, -0.6206583976745605, 0.7402189373970032, -0.07549405843019485, -0.7946441769599915, 0.12346760183572769, -0.5253642201423645, -0.08648239076137543, 0.28631454706192017, 0.12059993296861649, 0.16898804903030396, -0.0538276843726635, 0.4062159061431885, 0.35926929116249084, -0.1704021394252777, 0.2610310912132263, -0.3008972704410553, 0.17140766978263855, -0.39000916481018066, -0.5202777981758118, -0.15159741044044495, 0.30657070875167847, 0.32767656445503235, -0.19025379419326782, 0.8221859931945801, 0.2239358276128769, -0.6458480358123779, -0.35648488998413086, -0.3949681520462036, -0.16185182332992554, -0.48767605423927307, 0.13070176541805267, -0.6284772157669067, -1.190685510635376, 0.7234274744987488, -0.3454136848449707, -0.03381821885704994, 0.47434842586517334, 0.592657208442688, -0.044439975172281265, 0.9636629223823547, 0.4509771168231964, 0.08189374208450317, -0.003663232084363699, -0.2743518650531769, 0.33887189626693726, -0.7892458438873291, -0.23731356859207153, -0.31590718030929565, -0.4250076413154602, -0.49360936880111694, -0.21425338089466095, 0.1692783534526825, 0.38413915038108826, -0.24627476930618286, -0.016005685552954674, -0.6491925716400146, 0.8085125684738159, 0.2702547609806061, -0.07527176290750504, 0.6488091945648193, -0.026441793888807297, -0.21393440663814545, -0.009212889708578587, -0.4672262370586395, -0.6499176621437073, 0.7847709059715271, 0.27773845195770264, 0.4918566942214966, 0.3464342951774597, 0.44128167629241943, 0.2009020447731018, -0.06800708919763565, -0.7074525356292725, 0.547187328338623, -0.05035516619682312, -0.8430019021034241, -0.33169254660606384, -0.5464297533035278, -0.8993425369262695, 0.6247540712356567, 0.022280002012848854, -0.876132607460022, 0.03765180706977844, 0.09412188827991486, -0.017547044903039932, 0.20674178004264832, -0.5027549862861633, 0.9019013047218323, -0.08191265165805817, -0.314004510641098, -0.28245869278907776, -0.7777372002601624, 0.5477524995803833, 0.07639682292938232, 0.29989922046661377, -0.24615132808685303, 0.041882701218128204, 0.45936712622642517, -0.17164556682109833, 0.6623586416244507, 0.012409958057105541, -0.39309775829315186, 0.33088919520378113, 0.20040568709373474, 0.06759621948003769, 0.47738900780677795, 0.08006662130355835, 0.2220969945192337, 0.25142624974250793, -0.24610941112041473, -0.680073618888855, 0.9329105615615845, -0.5647295117378235, -0.935760498046875, -0.5263735055923462, -0.5630985498428345, -0.39252015948295593, 0.19483479857444763, 0.17011283338069916, 0.5703954100608826, -0.09073583036661148, 0.3021228611469269, 1.1829739809036255, -0.10866692662239075, 0.3991192579269409, 0.47293081879615784, 0.045232824981212616, 0.005411076359450817, 0.7512466311454773, -0.18286648392677307, 0.1550416201353073, 0.6541481018066406, 0.2723689079284668, -0.4863699674606323, -0.3861474394798279, -0.37204185128211975, 0.05639094486832619, -1.0294466018676758, -0.08742237091064453, -0.24507811665534973, -0.2738136947154999, -0.18990686535835266, -0.06859695911407471, -0.1538504809141159, -0.5268970727920532, -0.30848270654678345, -0.15934604406356812, 0.1435651332139969, 0.5628697276115417, 0.13668952882289886, -0.16597047448158264, -0.5700405836105347, 0.4277842938899994, 0.3449043929576874, 0.13321730494499207, 0.02512158639729023, -0.485117107629776, -0.03239309787750244, -0.010427350178360939, -0.3232513964176178, -0.7290152907371521, 0.03267716243863106, -0.029739269986748695, 0.6447152495384216, 0.48412182927131653, 0.3622293770313263, 0.48505470156669617, -0.6714407801628113, 0.6615275144577026, 0.0029180406127125025, -0.9750173091888428, 0.7023166418075562, -0.386771023273468, 0.46313875913619995, 0.5554578304290771, 0.39060208201408386, -0.37218910455703735, -0.19052071869373322, -0.3960864245891571, -0.7905580997467041, 0.5602888464927673, 0.24241094291210175, 0.0003627886180765927, -0.14564886689186096, 0.6134613156318665, 0.13352082669734955, 0.357994019985199, -0.7323362827301025, -0.32607802748680115, 0.0643564835190773, -0.243770033121109, -0.026280632242560387, -0.17685824632644653, -0.5317019820213318, -0.6326877474784851, 0.25662338733673096, -0.031476762145757675, 0.0861520767211914, 0.30751219391822815, -0.3871569335460663, 0.2627718448638916, 0.2996378242969513, 0.7049064636230469, 1.12532377243042, -0.06854650378227234, 0.5136547684669495, 0.09792432188987732, -0.19479583203792572, 0.3364226818084717, 0.08536755293607712, 0.07189009338617325, -0.2634849548339844, 0.5706391930580139, 0.4803534746170044, 0.15517409145832062, -0.9254009127616882, 0.39076244831085205, -0.09716269373893738, -0.5418410301208496, -0.27414605021476746, 0.18879321217536926, 0.20589101314544678, 0.3067399561405182, 0.5204135775566101, -0.32037514448165894, 0.19788478314876556, -0.5013352036476135, 0.12716850638389587, 0.44856518507003784, 0.0076735480688512325, -0.1568254679441452, 0.5000525116920471, 0.21498598158359528, -0.04831450432538986, 0.6796811819076538, -0.19124658405780792, -0.46083229780197144, 0.7117621302604675, 0.7277299165725708, 0.5439895391464233, 0.26905322074890137, -0.09533742815256119, 0.13677510619163513, 0.1252763867378235, 0.07598002254962921, -0.14987784624099731, -0.2660152316093445, -0.930499792098999, -0.5065186023712158, -0.3646273612976074, -0.4363289773464203, 0.33874645829200745, -0.5446994304656982, -0.2618807256221771, -0.2911550998687744, 0.1339726597070694, -0.05398695543408394, 0.10739836096763611, -0.3199239671230316, 0.256777286529541, 0.005772466771304607, 0.7777307629585266, -0.6340137124061584, 0.6857674717903137, 0.7898716330528259, -0.07945197075605392, -0.36541104316711426, 0.1104392483830452, 0.2216949611902237, -0.3193664252758026, 0.8705185651779175, 0.4350947439670563, -0.4696892499923706, -0.11438585817813873, -0.5020233392715454, -0.6070393323898315, 1.202935814857483, 0.37948939204216003, -0.5783791542053223, 0.21538026630878448, 0.16737014055252075, 0.48103785514831543, -0.4631820619106293, -0.19286367297172546, 0.7607999444007874, 0.3413361608982086, 0.10157924890518188, -0.5990913510322571, 0.1760997623205185, -0.12761878967285156, -0.03922842815518379, 0.02525441348552704, -0.3170017898082733, 0.8411281704902649, 0.1706513613462448, -0.3900257647037506, -0.35608503222465515, 0.4849512577056885, 0.5074698328971863, 0.5410268902778625, 0.5212316513061523, 0.6371836066246033, 0.7219482064247131, -0.21248574554920197, 0.6845237612724304, -0.2599683105945587, 0.14069612324237823, 1.0290931463241577, -0.5105895400047302, 0.7282910346984863, 0.6450576782226562, 0.07849632203578949, 0.6132717728614807, 0.4987300932407379, 0.5153774619102478, 0.6331659555435181, 0.4551999270915985, -0.45297113060951233, -0.39184144139289856, 0.24272824823856354, -0.4866108298301697, 0.35120680928230286, 0.5023176074028015, -0.05028104782104492, -0.2775307297706604, 0.1198032945394516, -0.2536012828350067, 0.43783777952194214, -0.12678200006484985, 0.7147497534751892, 0.25013795495033264, -0.6732293963432312, 0.6607459783554077, 0.1687733381986618, 0.5143314003944397, -0.3967413604259491, -0.18470922112464905, -0.2147650420665741, 0.44174402952194214, -0.2139863669872284, -0.778375506401062, 0.5568913817405701, -0.09789831936359406, -0.27230778336524963, -0.21336188912391663, 1.013738751411438, -0.1444736123085022, -0.23135890066623688, 0.32250845432281494, 0.6948924660682678, -0.046226441860198975, -0.09024751931428909, -0.6100891828536987, 0.24514296650886536, -0.21309800446033478, -0.3580820560455322, 0.5939533710479736, 0.7107029557228088, -0.08772924542427063, 0.7665586471557617, 0.3917090892791748, -0.3143841326236725, -0.29481810331344604, -0.05254319682717323, 0.9786688089370728, -0.723743200302124, -0.2599954903125763, -1.1385948657989502, 0.5157424807548523, -0.09852106124162674, -0.17580895125865936, 0.759122371673584, 0.3274284303188324, 0.8799143433570862, -0.10818897932767868, 0.48770248889923096, -0.11259490996599197, 0.2831381559371948, -0.5762423276901245, 0.5136143565177917, -0.7203452587127686, 0.4437091052532196, -0.040077369660139084, -0.8159831166267395, -0.26696300506591797, 0.8382475972175598, -0.42815232276916504, -0.17895211279392242, 0.7895811200141907, 0.48095446825027466, -0.1929149627685547, -0.1654045283794403, 0.3188590109348297, 0.008874206803739071, 0.34553074836730957, 0.604591429233551, 0.973301112651825, -0.09051220118999481, 0.3069653809070587, -0.02217566967010498, -0.3817909061908722, -0.06363198906183243, -1.045124888420105, -0.9856151342391968, -0.7232196927070618, -0.29967397451400757, -0.06802219897508621, -0.048917073756456375, 0.4893086552619934, 0.37009814381599426, -0.6124404668807983, -0.059162918478250504, -0.4557350277900696, 0.6686532497406006, -0.17496584355831146, -0.27868765592575073, 0.2864251434803009, -0.40696626901626587, -0.6302289962768555, 0.49629542231559753, 0.36199450492858887, -0.21778088808059692, -0.2244422882795334, 0.057802747935056686, -0.28374791145324707, 0.17938674986362457, 0.8695071935653687, 0.08483517169952393, -0.8138593435287476, -0.355795294046402, -0.06198331341147423, -0.10492116212844849, -0.08828001469373703, 0.7468509674072266, -0.7589699029922485, 0.18093611299991608, 0.5577291250228882, 0.7011160254478455, 0.28978589177131653, 0.20054396986961365, 0.3805100917816162, -0.6999331116676331, 0.2985561490058899, 0.05514739081263542, 0.34703201055526733, 0.07398022711277008, -0.2428874522447586, 0.5065978169441223, 0.2566540539264679, -0.5550656914710999, -0.8581178188323975, 0.5673828125, -0.8083876967430115, -0.8172854781150818, 1.0676969289779663, -0.011617831885814667, -0.10206151753664017, -0.09486899524927139, -0.11848030984401703, 0.07697176188230515, 0.08886134624481201, 0.6012869477272034, 0.9736605882644653, -0.4518473744392395, 0.08066253364086151, -0.5571854710578918, 0.5116620063781738, 0.31612032651901245, -0.8662834167480469, 0.09570677578449249, 0.759891927242279, 0.31187430024147034, 0.15727141499519348, 0.5768394470214844, -0.05222398415207863, 0.06354706734418869, -0.1599280685186386, -0.5026940703392029, -0.07066259533166885, -0.4632895886898041, -0.4901686906814575, 0.006421665195375681, -0.04328625649213791, -0.006987206172198057 ]
http://arxiv.org/abs/2406.02756v1
http://arxiv.org/pdf/2406.02756v1
Aligning Large Language Models via Fine-grained Supervision
2024-06-04T20:21:45
2024-06-04T20:21:45
Dehong Xu, Liang Qiu, Minseok Kim, Faisal Ladhak, Jaeyoung Do
cs.CL
cs.CL, cs.AI, cs.LG
Pre-trained large-scale language models (LLMs) excel at producing coherent articles, yet their outputs may be untruthful, toxic, or fail to align with user expectations. Current approaches focus on using reinforcement learning with human feedback (RLHF) to improve model alignment, which works by transforming coarse human preferences of LLM outputs into a feedback signal that guides the model learning process. However, because this approach operates on sequence-level feedback, it lacks the precision to identify the exact parts of the output affecting user preferences. To address this gap, we propose a method to enhance LLM alignment through fine-grained token-level supervision. Specifically, we ask annotators to minimally edit less preferred responses within the standard reward modeling dataset to make them more favorable, ensuring changes are made only where necessary while retaining most of the original content. The refined dataset is used to train a token-level reward model, which is then used for training our fine-grained Proximal Policy Optimization (PPO) model. Our experiment results demonstrate that this approach can achieve up to an absolute improvement of $5.1\%$ in LLM performance, in terms of win rate against the reference model, compared with the traditional PPO model.
[ -0.3228221833705902, -0.49665895104408264, 0.44428518414497375, -0.09688364714384079, -0.1522030085325241, -0.124127097427845, -0.6060189008712769, -0.30039769411087036, 0.059623125940561295, 0.6121992468833923, -0.4342517852783203, -0.534783124923706, -0.5872737169265747, -0.050058942288160324, 0.03517124801874161, 1.225035309791565, -0.07627961784601212, -0.01893824338912964, -0.1803513765335083, 0.11911877989768982, -0.38757652044296265, -0.5380151867866516, -0.8420996069908142, -0.6788452863693237, 0.8118349313735962, 0.49323782324790955, 0.8550450801849365, 0.8844006657600403, 0.48612868785858154, 0.2957550287246704, -0.20063531398773193, 0.5249597430229187, -0.5344096422195435, -0.3435991406440735, -0.452901154756546, -0.37557125091552734, -0.7688279151916504, -0.0686798244714737, 0.3629911541938782, 0.461161732673645, -0.2930505573749542, 0.031840305775403976, 0.33114194869995117, 0.5324562788009644, -0.6756810545921326, 0.26460617780685425, -0.4754962921142578, 0.07149865478277206, -0.1177431270480156, -0.2434924989938736, -0.632003903388977, -0.39331769943237305, 0.04452452436089516, -0.8121861815452576, -0.22280636429786682, 0.10005101561546326, 1.0724188089370728, 0.24905617535114288, -0.30774274468421936, -0.0677499771118164, -0.6368564367294312, 0.8505879044532776, -1.0894521474838257, -0.02533830516040325, 0.4051649272441864, 0.0869918093085289, -0.3345639109611511, -0.34130123257637024, -0.43338072299957275, -0.1611371785402298, -0.31253188848495483, -0.03494543582201004, 0.0715847760438919, 0.33635327219963074, -0.015865951776504517, 0.1741630882024765, -0.184783473610878, 0.6916377544403076, -0.07893715798854828, -0.28710266947746277, 0.7028729915618896, 0.3270212411880493, 0.011436749249696732, -0.07492424547672272, -0.3153718113899231, -0.32223692536354065, -0.5859145522117615, 0.3807152211666107, 0.5351241827011108, 0.8065028190612793, 0.007361029740422964, 0.6480507850646973, -0.25481605529785156, 0.7159255146980286, 0.4017634391784668, -0.2227684110403061, 0.19572152197360992, -0.20070558786392212, -0.11255704611539841, 0.3134661316871643, 0.9024361371994019, 0.6200991272926331, 0.3745664358139038, -0.20246104896068573, -0.5940182209014893, -0.10568370670080185, 0.46695059537887573, -0.7624967694282532, -0.0171138197183609, 0.11299710720777512, -0.322569340467453, -0.6081647872924805, 0.1704905480146408, -0.5036479234695435, -0.47658872604370117, -0.7135960459709167, 0.4672762453556061, -0.21187740564346313, -0.025080718100070953, 0.18570975959300995, 0.2228475660085678, 0.29424089193344116, 0.4369555711746216, -1.2989416122436523, 0.24685364961624146, 1.0837533473968506, 0.6731885671615601, -0.22788946330547333, -0.3754246234893799, -0.9690494537353516, 0.28146132826805115, -0.46010878682136536, 0.604965329170227, -0.6823937296867371, -0.11803217977285385, 0.17469953000545502, 0.13464273512363434, 0.13471311330795288, -0.6320260167121887, 0.560471773147583, -0.4753669798374176, 0.16690362989902496, -0.24120023846626282, -0.5782160758972168, 0.3339143991470337, 0.4864615201950073, -0.21106424927711487, 0.9950785636901855, 0.04805129021406174, -0.793859601020813, 0.4417365491390228, -0.48815590143203735, -0.2234451323747635, -0.3321993350982666, -0.08682148158550262, -0.47963762283325195, 0.1729627549648285, 0.4948890805244446, 0.42928844690322876, 0.08470919728279114, 0.6858652234077454, -0.3670255243778229, -0.5018991827964783, 0.1972418874502182, -0.24512732028961182, 0.10171797126531601, 0.09638968855142593, -0.2753485441207886, 0.7708872556686401, -0.5408236980438232, -0.20193441212177277, -0.08780702948570251, -0.650412917137146, -0.37954381108283997, 0.041510675102472305, 0.022424254566431046, 0.2773313522338867, 0.3845336139202118, -0.4791543483734131, 0.6267505288124084, -0.5720511078834534, 0.3094795346260071, 1.2996255159378052, -0.3137354850769043, 0.7939621210098267, -0.3683082163333893, 0.3485214114189148, 0.0667324960231781, 0.3043217360973358, 0.08012364059686661, 0.13429397344589233, -0.7765436768531799, -0.10169807076454163, 0.5579281449317932, 0.33596011996269226, -0.38849392533302307, 0.6230167746543884, -0.3677123785018921, -0.21147212386131287, -0.6134793162345886, 0.30034270882606506, 0.6020460724830627, 0.7011635899543762, 0.339426726102829, -0.43910765647888184, -0.4011676609516144, -0.8521464467048645, -0.27935007214546204, -0.13874024152755737, -0.10970452427864075, 0.377511203289032, 0.14088349044322968, -0.32821226119995117, 1.0026986598968506, -0.41220226883888245, -0.46491625905036926, -0.21580158174037933, 0.23329795897006989, 0.14262425899505615, 0.7115102410316467, 0.15890555083751678, -0.34285151958465576, -0.36661019921302795, 0.2910974621772766, -0.41797298192977905, -0.3250042796134949, -0.026634616777300835, -0.2576221227645874, 0.2276988923549652, 0.637180507183075, -0.40595269203186035, -0.06266769021749496, 0.4597565829753876, -0.35593661665916443, 0.49641114473342896, -0.320437490940094, -0.04829006642103195, -1.016392707824707, 0.028283070772886276, 0.021902453154325485, -0.49295517802238464, -0.3906245231628418, -0.16020289063453674, 0.04572451114654541, 0.2192329317331314, -0.41382625699043274, 0.6703201532363892, -0.07970011979341507, 0.03727228567004204, -0.43822968006134033, 0.21072007715702057, -0.04226687550544739, 0.7276697754859924, 0.16444286704063416, 0.8446784019470215, 0.14743322134017944, -0.40206417441368103, 0.08033695071935654, 0.2442389279603958, -0.25992971658706665, 0.42962026596069336, -0.6285818815231323, 0.08483316749334335, -0.1324150413274765, 0.311391681432724, -0.7636665105819702, -0.46388986706733704, 0.12727850675582886, -0.16324882209300995, 0.4725269675254822, -0.11040933430194855, -0.47397470474243164, -0.026655927300453186, -0.37065401673316956, 0.14244598150253296, 0.335592120885849, -0.6544827818870544, 0.4533613622188568, 0.2701623737812042, -0.1402679681777954, -0.7728425860404968, -0.4493798613548279, -0.0977703109383583, -0.2587072551250458, -0.1287239044904709, 0.44521063566207886, 0.2937752902507782, -0.127946138381958, -0.11631165444850922, -0.21451260149478912, 0.21384263038635254, 0.0829213559627533, 0.22378979623317719, 0.4003462493419647, -0.09698802977800369, 0.10769626498222351, -0.08471276611089706, -0.2409852296113968, -0.07564032077789307, -0.42396342754364014, 0.678979218006134, -0.1726035326719284, -0.27498289942741394, -0.6463477611541748, -0.06267987191677094, 0.31225892901420593, -0.323409765958786, 0.6947357654571533, 0.6744117140769958, -0.0841861292719841, -0.007844777777791023, -0.36569589376449585, -0.25968998670578003, -0.4920053482055664, 0.3526771068572998, -0.11239650100469589, -1.1113032102584839, 0.31945881247520447, -0.11677069216966629, 0.09959978610277176, 0.2666857838630676, 0.4286384582519531, -0.06761574000120163, 1.3126635551452637, 0.6848575472831726, -0.43867024779319763, 0.7300337553024292, 0.040304142981767654, 0.15224802494049072, -0.9185248017311096, -0.3501988649368286, -0.3014414310455322, -0.5360995531082153, -0.4740850031375885, -0.22063758969306946, -0.053790703415870667, 0.425315797328949, -0.5878490209579468, 0.2648490071296692, -0.4189997613430023, 0.5638737082481384, 0.7130011320114136, 0.2066928744316101, 0.18214455246925354, -0.2441965937614441, -0.05136863887310028, -0.00646562734618783, -0.6310773491859436, -0.8393018841743469, 0.9191072583198547, 0.48714715242385864, 1.006369948387146, -0.03157597407698631, 0.9078916907310486, 0.15736302733421326, 0.4151923358440399, -0.7120084762573242, 0.33041366934776306, -0.24048516154289246, -0.12183398753404617, -0.4684060215950012, -0.40659621357917786, -0.8004419207572937, 0.10719840973615646, -0.2712971270084381, -0.9002445340156555, 0.082025445997715, 0.49105823040008545, -0.6440370678901672, 0.2448844164609909, -0.6936687231063843, 1.147995948791504, -0.2893281877040863, -0.4928230345249176, 0.03872125968337059, -0.6065593361854553, 0.3237941563129425, 0.010712750256061554, 0.2370317429304123, -0.10928666591644287, 0.041867323219776154, 0.596802830696106, -0.716825008392334, 1.0817006826400757, -0.28307777643203735, -0.2767118215560913, -0.0014531093183904886, -0.0458383783698082, 0.9367129802703857, 0.03923235088586807, 0.14936375617980957, -0.1757006049156189, -0.06063640117645264, -0.4746396541595459, -0.405549556016922, 0.6788668036460876, -0.942560076713562, -0.6127492189407349, -0.18839909136295319, -0.7563071250915527, -0.41850757598876953, 0.166853666305542, -0.04478783160448074, 0.23843130469322205, -0.05177731439471245, 0.023384446278214455, 0.6059395670890808, -0.3053526282310486, 0.38844332098960876, 0.3665761351585388, -0.45078808069229126, -0.371890127658844, 0.8694952130317688, -0.28431257605552673, 0.38168206810951233, 0.5238407254219055, 0.4380422532558441, -0.31997790932655334, -0.41667991876602173, -0.18394708633422852, 0.03516628220677376, -0.3929775059223175, -0.36795443296432495, -0.4004432260990143, 0.051436346024274826, -0.427762895822525, -0.39129966497421265, -0.5234405994415283, -0.126433864235878, -0.3969736099243164, -0.02964915707707405, 0.1560118943452835, 0.48766064643859863, -0.0026421258226037025, 0.8249433040618896, -0.7427487373352051, -0.0009117592708207667, 0.3725988566875458, 0.457157164812088, 0.06510040163993835, -0.7332329154014587, -0.2778204679489136, 0.02074727602303028, -0.28125202655792236, -0.23772215843200684, 0.3008670210838318, 0.032539501786231995, 0.13510483503341675, 0.6602119207382202, 0.030136005952954292, 1.0602867603302002, -0.582599401473999, 0.6040611863136292, 0.3307477831840515, -0.9697057008743286, 0.4529556632041931, -0.42287445068359375, 0.2828471064567566, 0.7091578841209412, -0.018538320437073708, -0.5297402739524841, -0.3529481589794159, -0.3564240336418152, -0.8515205979347229, 0.9861789345741272, -0.2919846475124359, 0.2831703722476959, 0.028363574296236038, 0.30093052983283997, -0.03948763385415077, 0.13158629834651947, -0.7039772868156433, 0.24240903556346893, 0.014649774879217148, -0.43314915895462036, -0.19750669598579407, -0.30217209458351135, -0.25535848736763, -0.16697856783866882, 0.855133593082428, -0.34803348779678345, -0.2309008687734604, -0.033225201070308685, 0.013309791684150696, -0.21070174872875214, 0.4501650929450989, 0.6587262749671936, 0.5807154178619385, -0.3654404580593109, 0.2942355275154114, 0.025751598179340363, -0.0524810254573822, 0.1734524667263031, 0.007828271016478539, -0.009790195152163506, -0.3304861783981323, 0.3820934593677521, 0.8659243583679199, 0.3668830692768097, -0.7705549597740173, 0.7464019656181335, 0.035039253532886505, -0.11876230686903, -0.009805002249777317, 0.24209994077682495, 0.18401658535003662, 0.5059158802032471, -0.03622528165578842, -0.07039881497621536, -0.32130035758018494, -0.47781243920326233, 0.18843883275985718, 0.5084523558616638, -0.5439838171005249, -0.18278613686561584, 0.7543131709098816, 0.14887264370918274, -0.4135183095932007, 0.5728660225868225, -0.09723325073719025, -0.4379280209541321, 0.4006367623806, 0.59740149974823, 0.5498771667480469, -0.03862079232931137, 0.189073845744133, 0.30608803033828735, 0.130136638879776, -0.4445253908634186, -0.08155816048383713, 0.03868675231933594, -0.6983083486557007, -0.7047337293624878, -0.8919571042060852, -0.34930890798568726, 0.17915768921375275, -0.7180479168891907, 0.36585432291030884, -0.5126286149024963, -0.18376904726028442, 0.01997566968202591, -0.04597330093383789, -0.3567392826080322, 0.08542715013027191, 0.20380061864852905, 0.750177800655365, -0.905302107334137, 0.9970002770423889, 0.4701845049858093, -0.5034170746803284, -1.1212882995605469, -0.0563277043402195, -0.11811254173517227, -0.7809372544288635, 0.7052520513534546, 0.15943805873394012, 0.06020605191588402, -0.04437320679426193, -0.5851686000823975, -0.6876839995384216, 0.8904088139533997, 0.47777947783470154, -0.9377687573432922, -0.2011832445859909, 0.17091207206249237, 0.5695189833641052, -0.4284990727901459, 0.10484859347343445, 0.5980703830718994, 0.4534986615180969, -0.03137899935245514, -0.9385438561439514, -0.13862241804599762, 0.09823425859212875, 0.16108232736587524, 0.4806983172893524, -0.5849483013153076, 0.5386523604393005, -0.11430280655622482, 0.19636337459087372, -0.09114853292703629, 0.6608853340148926, 0.28682541847229004, 0.12446805089712143, 0.5330111980438232, 0.7894220948219299, 0.6478384137153625, -0.1692003756761551, 1.0006215572357178, -0.16070950031280518, 0.4097690284252167, 1.55758798122406, -0.26319101452827454, 0.9620665311813354, 0.8554709553718567, -0.0811820924282074, 0.3373008668422699, 0.9032657742500305, 0.08340571820735931, 0.5906153321266174, 0.26282286643981934, -0.009128044359385967, -0.42956429719924927, -0.4646868407726288, 0.006459859199821949, 0.374201238155365, -0.14504291117191315, -0.36390551924705505, -0.146434023976326, -0.2144821286201477, 0.13538271188735962, 0.36989882588386536, -0.5341299176216125, 1.0675430297851562, -0.08965291827917099, -0.8417593240737915, 0.4767102897167206, 0.12205629050731659, 0.9059543609619141, -0.589699923992157, 0.08435602486133575, -0.38488855957984924, 0.41421690583229065, -0.36456263065338135, -0.6050052642822266, 0.23719151318073273, 0.1917291283607483, -0.20710958540439606, -0.29913055896759033, 0.3741871416568756, -0.669258177280426, -0.3162658214569092, 0.13793571293354034, -0.061613231897354126, -0.1733236312866211, 0.06284351646900177, -0.4788077473640442, 0.12416339665651321, -0.11759016662836075, -0.2019530087709427, 0.6482040286064148, 0.32482782006263733, -0.24266663193702698, 0.3463839888572693, 0.6214743256568909, 0.20006807148456573, -0.08882082253694534, 0.17224566638469696, 0.7853097915649414, -0.5100146532058716, -0.4174419343471527, -1.1002999544143677, 0.37039676308631897, -0.1489599347114563, -0.3257245123386383, 0.4424910843372345, 0.6468704342842102, 1.27427339553833, -0.01603514701128006, 0.4744967520236969, 0.1754317283630371, 0.1419709026813507, -0.5292850732803345, 0.3448513448238373, -0.5598591566085815, 0.24786439538002014, -0.29406172037124634, -0.8891890048980713, -0.2183656245470047, 0.4754753112792969, -0.4659944474697113, -0.2829347252845764, 0.21368996798992157, 0.9469229578971863, -0.27719002962112427, -0.42123982310295105, 0.1732318103313446, -0.02881932444870472, 0.33227449655532837, 0.6017079949378967, 0.8295316100120544, -0.06751445680856705, 0.4345923364162445, -0.2504323720932007, -0.0037712003104388714, -0.26932430267333984, -0.9799090623855591, -0.7904233336448669, -0.1464102417230606, -0.21404211223125458, -0.2719108760356903, 0.04747651889920235, 1.3397740125656128, 0.6902027726173401, -0.9162551760673523, -0.250948429107666, -0.29926878213882446, -0.05675908923149109, -0.24917611479759216, -0.2203816920518875, 0.4860730469226837, -0.8433863520622253, -0.8885753154754639, 0.07807916402816772, 0.31581345200538635, -0.00939647201448679, -0.031757332384586334, -0.4665389358997345, -0.11515303701162338, 0.07497046887874603, 0.4308861494064331, 0.1399799883365631, -1.0031020641326904, -0.5101342797279358, -0.22139298915863037, -0.39543527364730835, 0.14578038454055786, 0.7416667342185974, -0.4987480044364929, 0.38201454281806946, 0.28567901253700256, 0.9786061644554138, 0.33001402020454407, 0.4890310764312744, 0.6273219585418701, -0.8671185970306396, 0.09349028021097183, 0.06956559419631958, 0.27177298069000244, 0.3130698800086975, -0.3393477201461792, 0.23415210843086243, -0.2825991213321686, -0.6639713644981384, -0.8452542424201965, 0.11574043333530426, -0.9617741107940674, -0.21995560824871063, 1.216497540473938, -0.22165878117084503, -0.3247681260108948, 0.3703078627586365, -0.4368918538093567, 0.3958950936794281, -0.5049145817756653, 0.9629963636398315, 0.6509199738502502, -0.02430415153503418, 0.012107263319194317, -0.3089050352573395, 0.6481269001960754, 0.6583206653594971, -0.787186324596405, 0.4122239053249359, 0.470943808555603, 0.11989989131689072, -0.03564533591270447, 0.5320249795913696, -0.13470369577407837, -0.08788560330867767, -0.5244321823120117, 0.19037874042987823, -0.1862906515598297, -0.26609453558921814, -0.6131490468978882, -0.007112249732017517, 0.5513554215431213, -0.2359713912010193 ]
http://arxiv.org/abs/2406.06582v2
http://arxiv.org/pdf/2406.06582v2
Discrete Multimodal Transformers with a Pretrained Large Language Model for Mixed-Supervision Speech Processing
2024-06-04T20:08:25
2024-06-25T17:44:00
Viet Anh Trinh, Rosy Southwell, Yiwen Guan, Xinlu He, Zhiyong Wang, Jacob Whitehill
cs.CL
cs.CL, cs.LG, eess.AS
Recent work on discrete speech tokenization has paved the way for models that can seamlessly perform multiple tasks across modalities, e.g., speech recognition, text to speech, speech to speech translation. Moreover, large language models (LLMs) pretrained from vast text corpora contain rich linguistic information that can improve accuracy in a variety of tasks. In this paper, we present a decoder-only Discrete Multimodal Language Model (DMLM), which can be flexibly applied to multiple tasks (ASR, T2S, S2TT, etc.) and modalities (text, speech, vision). We explore several critical aspects of discrete multi-modal models, including the loss function, weight initialization, mixed training supervision, and codebook. Our results show that DMLM benefits significantly, across multiple tasks and datasets, from a combination of supervised and unsupervised training. Moreover, for ASR, it benefits from initializing DMLM from a pretrained LLM, and from a codebook derived from Whisper activations.
[ -0.19288302958011627, -0.4140518605709076, 0.4834538698196411, 0.3191320598125458, -0.357421875, -0.020631732419133186, -0.6080914735794067, -0.21528509259223938, -0.18188874423503876, 0.4070274531841278, -0.5711798071861267, -0.3964083790779114, -0.6506229043006897, 0.1073751449584961, -0.5263922810554504, 1.041587471961975, 0.030893435701727867, 0.30360451340675354, -0.2962160110473633, 0.23459303379058838, -0.44413724541664124, -0.6865588426589966, -0.375232070684433, -0.4562170207500458, 0.7131519317626953, 0.09489894658327103, 0.5289453268051147, 0.37313640117645264, 0.38562408089637756, 0.36777883768081665, 0.15165674686431885, 0.17644092440605164, -0.2994542419910431, -0.043384525924921036, 0.05407203361392021, -0.3713427186012268, -0.6170859336853027, 0.0026395758613944054, 0.8661287426948547, 0.6882920265197754, -0.38295677304267883, -0.012985717505216599, 0.05572664365172386, -0.032984744757413864, -0.5756111741065979, 0.47454288601875305, -0.546187698841095, -0.10932863503694534, -0.27088621258735657, -0.17480270564556122, -0.6676504611968994, 0.06698573380708694, -0.059177301824092865, -0.5339465737342834, 0.011234046891331673, -0.4437137246131897, 0.22234445810317993, 0.6058696508407593, -0.8198265433311462, -0.09858379513025284, -1.135743498802185, 0.9672091007232666, -0.5270418524742126, 0.7867805361747742, 0.41697242856025696, 0.3004119396209717, 0.20954985916614532, -1.0102951526641846, -0.6876130700111389, -0.15105682611465454, -0.19327184557914734, 0.32298600673675537, -0.030282439664006233, 0.38747403025627136, 0.28430861234664917, 0.32471808791160583, -0.294399619102478, 0.13995231688022614, -0.15340520441532135, -0.16279491782188416, 0.42417678236961365, 0.12990237772464752, 0.14922195672988892, 0.015858948230743408, -0.5840327143669128, -0.42075157165527344, -0.30616918206214905, -0.0473799966275692, 0.08008166402578354, 0.198777973651886, -0.4316115975379944, 0.4436471164226532, 0.10382837802171707, 0.67626953125, -0.21111531555652618, -0.5171135067939758, 0.3167848289012909, -0.4914785921573639, -0.19317254424095154, 0.06894638389348984, 0.685884416103363, -0.02053029090166092, 0.23631374537944794, -0.321551650762558, -0.5034123063087463, 0.541709840297699, 0.3998386859893799, -0.7698079347610474, -0.3056923449039459, 0.11582004278898239, -0.4823867976665497, -0.04433480277657509, -0.009877830743789673, -0.4466537535190582, -0.21787545084953308, -0.6425583362579346, 0.4305442273616791, -0.3726772367954254, -0.6002631187438965, 0.2668723464012146, -0.04620916023850441, 0.11830965429544449, 0.3127204477787018, -1.0067535638809204, 0.3662891089916229, 0.5746846795082092, 0.626807689666748, -0.2139410823583603, -0.4187639057636261, -0.7174555659294128, 0.34357497096061707, -0.16843411326408386, 0.4911956787109375, -0.7517469525337219, -0.4096609354019165, -0.07137785106897354, -0.18303143978118896, -0.6232222318649292, -0.3154223561286926, 0.5645328760147095, -0.49197161197662354, -0.016311125829815865, 0.2953484058380127, -0.3154081404209137, -0.09851625561714172, 0.12184251844882965, -0.6208475828170776, 0.9349930286407471, -0.08815354853868484, -0.6265062093734741, 0.26499873399734497, -0.5581517219543457, -0.5369059443473816, 0.039925266057252884, -0.39843863248825073, -0.1773521453142166, 0.2225167453289032, 0.19591526687145233, 0.47634822130203247, -0.14182959496974945, 0.5717602968215942, -0.030959485098719597, -0.23790307343006134, 0.45169755816459656, -0.8112372159957886, 0.3431037664413452, 0.11346842348575592, -0.22781793773174286, 0.5451317429542542, -0.8423082232475281, -0.04405727609992027, -0.32178494334220886, -0.7039543390274048, -0.2158140242099762, 0.20359493792057037, 0.6561513543128967, 0.47464850544929504, 0.12786230444908142, -0.6153558492660522, 0.06274648755788803, -0.08180402964353561, 0.3585340976715088, 0.6431841850280762, -0.4560736119747162, 0.429813951253891, -0.3925330638885498, 0.4019060432910919, 0.30238988995552063, 0.22880452871322632, -0.37459856271743774, -0.3272187411785126, -0.8391844034194946, -0.8292657732963562, 0.36087584495544434, 0.44990912079811096, -1.1349362134933472, 0.3184818625450134, -0.5177422761917114, -0.3446187973022461, -0.4816071093082428, -0.03997403755784035, 0.3708449900150299, 0.18499498069286346, 0.3798036277294159, -0.3122406303882599, -0.4728277623653412, -0.6796936988830566, 0.08583994954824448, 0.13015125691890717, -0.2058887481689453, 0.009428833611309528, 0.2675855755805969, -0.6822489500045776, 0.7944466471672058, -0.31519290804862976, -0.39964500069618225, -0.3225685656070709, 0.20569559931755066, 0.15249913930892944, 0.4490845501422882, 0.328003466129303, -1.0523303747177124, -0.419496089220047, -0.026737317442893982, -0.4771076738834381, -0.10243286937475204, -0.3038511276245117, 0.23274041712284088, -0.011245040223002434, 0.5242387056350708, -0.8321335315704346, 0.2227144092321396, 0.8425771594047546, -0.014415520243346691, 0.49473878741264343, -0.2527114450931549, -0.001754407654516399, -1.0953481197357178, 0.016239473596215248, -0.19977755844593048, -0.49314701557159424, -1.0327208042144775, -0.12604592740535736, 0.22966395318508148, -0.17605817317962646, -0.4191606640815735, 0.27686333656311035, -0.3743429183959961, -0.13706271350383759, -0.3186451494693756, -0.005777842365205288, -0.22749753296375275, 0.5773173570632935, 0.33312365412712097, 0.6176725029945374, 0.8008037209510803, -0.5768435597419739, 0.4557003676891327, 0.32143038511276245, -0.3359817862510681, 0.3965485692024231, -0.5787838697433472, 0.23739135265350342, -0.15960976481437683, 0.20214548707008362, -0.8370888829231262, -0.09283468872308731, -0.002686461666598916, -0.1858062446117401, 0.40498825907707214, 0.002994075184687972, -0.7481403350830078, -0.0945909172296524, -0.09014661610126495, 0.655328094959259, 0.22635993361473083, -0.6015406847000122, 0.9943311214447021, 0.3339017927646637, -0.13862931728363037, -0.35366469621658325, -0.6257852911949158, 0.09439925104379654, -0.028392240405082703, -0.5193699598312378, 0.6417571306228638, -0.26745232939720154, -0.09643583744764328, -0.08299346268177032, -0.17918361723423004, -0.30355706810951233, -0.13289006054401398, 0.44536253809928894, 0.29336124658584595, -0.015640659257769585, 0.2280655801296234, -0.1795986443758011, -0.3590750992298126, -0.05130701884627342, -0.1586599051952362, 0.7418367266654968, 0.04627358540892601, -0.4635111689567566, -0.29681268334388733, 0.40193673968315125, 0.632879912853241, -0.594663143157959, 0.6433687806129456, 0.8908276557922363, -0.2549624741077423, -0.24669207632541656, -0.4692898988723755, -0.23873332142829895, -0.4962707459926605, 0.42392897605895996, -0.5593456625938416, -0.9595862030982971, 0.3181259036064148, -0.008499921299517155, -0.0447499044239521, 0.23599644005298615, 0.8148395419120789, 0.19503840804100037, 1.1195932626724243, 0.8834911584854126, -0.0755915641784668, 0.7197433114051819, -0.06743978708982468, 0.06569571048021317, -0.6216788291931152, -0.40209606289863586, -0.13538014888763428, -0.19256591796875, -0.44297781586647034, -0.7124155163764954, 0.6010540127754211, -0.14139746129512787, -0.007623017765581608, 0.16456565260887146, -0.1918872445821762, 0.2260684072971344, 0.73293536901474, 0.1485169380903244, 0.4865427017211914, -0.09110066294670105, 0.0138741135597229, 0.10651633888483047, -0.7982766032218933, -0.2826555073261261, 1.0321263074874878, 0.3734055459499359, 1.0669759511947632, 0.1015399619936943, 0.4168017506599426, 0.06640474498271942, 0.1188870295882225, -0.9833415746688843, 0.42129117250442505, -0.3574708104133606, -0.48900946974754333, -0.10944127291440964, -0.6320417523384094, -0.693419337272644, 0.5688052177429199, -0.3495836555957794, -0.3104199767112732, 0.20168828964233398, 0.00048070185584947467, -0.22669187188148499, 0.1819726675748825, -0.5608277320861816, 0.8007084131240845, -0.35116782784461975, 0.10275939851999283, -0.5680447220802307, -0.5818980932235718, 0.3908713161945343, -0.44280269742012024, 0.24924983084201813, 0.11066409200429916, -0.01697704754769802, 0.5497403144836426, -0.1017293706536293, 1.0156285762786865, -0.18233145773410797, -0.1712060421705246, -0.05179600790143013, -0.18560931086540222, 0.28631410002708435, -0.0904024988412857, 0.17708174884319305, 0.2632659673690796, 0.29989466071128845, -0.03870825842022896, -0.40366795659065247, 0.5296931862831116, -0.8329333662986755, -0.2111608386039734, -0.44494080543518066, -0.9691452980041504, -0.17989404499530792, 0.3773123025894165, -0.08627373725175858, 0.8887448310852051, 0.08006814867258072, 0.4511524736881256, 0.6653974652290344, -0.17603935301303864, 0.7798981666564941, 0.5818285346031189, -0.11950945109128952, -0.3874756693840027, 0.6652881503105164, -0.09253425151109695, 0.3961586058139801, 0.533459484577179, 0.018429525196552277, -0.46601083874702454, -0.523678719997406, -0.38234370946884155, 0.06942695379257202, -0.7253631949424744, -0.09832717478275299, -0.707550048828125, -0.28766924142837524, -0.35481396317481995, 0.24770089983940125, -0.5788487195968628, -0.2012992799282074, -0.3320517838001251, 0.0847141221165657, 0.12897548079490662, 0.7085692286491394, -0.11981163918972015, 0.561949610710144, -0.9530444741249084, 0.7127596139907837, 0.6021827459335327, 0.413464218378067, -0.11098744720220566, -0.4233803451061249, -0.4210372269153595, 0.199904665350914, -0.08857240527868271, -0.6065623760223389, 0.34300926327705383, 0.4075419008731842, 0.6656361222267151, 0.3995504081249237, 0.057941656559705734, 0.5331746339797974, -0.7653050422668457, 0.38353386521339417, 0.45999377965927124, -0.9142103791236877, 0.047066111117601395, -0.4924388527870178, 0.3654433488845825, 0.18107105791568756, 0.26019591093063354, -0.6453292369842529, -0.03183382749557495, -0.05604911595582962, -0.6929458379745483, 0.9428862929344177, 0.13723881542682648, 0.2805621922016144, -0.007375526707619429, -0.04162529855966568, -0.05493428558111191, 0.3814569115638733, -0.8736606240272522, -0.1291443556547165, -0.5276775360107422, -0.46256962418556213, -0.31941500306129456, -0.38429537415504456, -0.3436315655708313, -0.28764691948890686, 0.304375559091568, -0.17983880639076233, 0.23146364092826843, -0.05471425503492355, -0.39429914951324463, 0.1137118935585022, 0.44325047731399536, 0.6794677972793579, 0.5872990489006042, -0.06432820856571198, 0.5648620128631592, 0.02397029846906662, -0.5559893250465393, 0.17824779450893402, 0.3612668514251709, 0.16594257950782776, -0.05344657599925995, 0.4270780086517334, 1.0427342653274536, 0.6599069237709045, -0.6797638535499573, 0.6564247608184814, -0.17900869250297546, -0.10286244004964828, -0.43388837575912476, -0.11792737245559692, 0.06810934096574783, 0.4682067930698395, 0.36135509610176086, 0.0645679160952568, -0.11858886480331421, -0.4195747673511505, 0.33457374572753906, 0.30776137113571167, -0.26539772748947144, -0.5251352190971375, 0.8853484392166138, 0.2540125548839569, -0.03991328924894333, 0.6055373549461365, 0.03511090204119682, -0.327443391084671, 0.1853093057870865, 0.7250206470489502, 0.7035999894142151, -0.4002774953842163, 0.09811632335186005, -0.13051661849021912, 0.34042760729789734, -0.15611398220062256, 0.1960098296403885, -0.23855800926685333, -0.8745440244674683, -0.8854081034660339, -0.9136604070663452, -0.2834952175617218, 0.024233534932136536, -0.6739644408226013, 0.24855947494506836, -0.20525504648685455, -0.2180229276418686, 0.02635127492249012, -0.4715626537799835, -0.644401490688324, 0.33525586128234863, 0.46932610869407654, 0.5434952974319458, -0.7058594822883606, 1.4035531282424927, 0.6409491896629333, -0.21020151674747467, -0.7154378294944763, -0.16490653157234192, -0.1472807377576828, -0.5773861408233643, 0.7261708378791809, 0.14663897454738617, -0.27966073155403137, 0.3366660475730896, 0.00034082826459780335, -0.8142389059066772, 0.9604793190956116, 0.4427899420261383, -0.7446953654289246, -0.105200856924057, 0.3808858394622803, 0.3570384979248047, -0.20679573714733124, 0.2448749989271164, 0.4897203743457794, 0.3105679750442505, 0.17059139907360077, -1.3138459920883179, -0.2885820269584656, -0.23715682327747345, 0.19195178151130676, 0.2184744030237198, -0.3149343729019165, 1.1164096593856812, 0.15543745458126068, -0.2596832811832428, -0.1822107881307602, 0.42713722586631775, -0.011719681322574615, 0.03786173835396767, 0.8126712441444397, 0.5016562342643738, 0.4396859109401703, -0.08055610954761505, 1.1942062377929688, -0.3434668183326721, 0.2063821703195572, 1.163335919380188, -0.1450578272342682, 0.8349759578704834, 0.4182552397251129, -0.04296499863266945, 0.29670488834381104, 0.3724365830421448, 0.1307206004858017, 0.8057645559310913, -0.10695453733205795, -0.6312856078147888, -0.5171576738357544, -0.20687256753444672, -0.2888652980327606, 0.8697159290313721, 0.14600564539432526, -0.14467211067676544, -0.24697460234165192, 0.2927551567554474, -0.20094749331474304, 0.005078965798020363, -0.4331192672252655, 0.7916210889816284, 0.2939845621585846, -0.2971636652946472, 0.5464813709259033, 0.1530698537826538, 0.9108651876449585, -0.7890981435775757, 0.11844697594642639, 0.19039364159107208, 0.422617107629776, -0.25914984941482544, -0.38001540303230286, 0.3428584337234497, -0.05145569518208504, -0.4864192605018616, -0.6451410055160522, 0.7180421948432922, -0.8314177989959717, -0.5478531122207642, 0.4219878017902374, 0.3814783990383148, -0.008811363019049168, -0.38374239206314087, -0.3770555853843689, 0.2329946607351303, -0.2798636257648468, -0.12788201868534088, 0.35087522864341736, 0.1541922390460968, 0.05520427227020264, 0.5695988535881042, 0.7731598615646362, -0.016067206859588623, 0.40951424837112427, 0.4601414203643799, 1.1097668409347534, -0.5291589498519897, -0.4107953906059265, -0.8512516021728516, 0.6896852850914001, 0.23792578279972076, 0.09289345145225525, 0.8513862490653992, 0.5294148921966553, 0.858173668384552, -0.26262420415878296, 0.6587674021720886, 0.05858682468533516, 0.31633445620536804, -0.6135748624801636, 0.6009222865104675, -0.35329315066337585, 0.01427314430475235, -0.2245563119649887, -1.0089232921600342, -0.30683645606040955, 0.6387966275215149, -0.21399344503879547, 0.09640957415103912, 0.6321597099304199, 0.6950520277023315, -0.27551788091659546, -0.06899760663509369, 0.5489267706871033, 0.04411439225077629, 0.40478354692459106, 0.4535253047943115, 0.9746282696723938, -0.1698969453573227, 0.6502254009246826, -0.227283775806427, -0.19043821096420288, 0.10224056988954544, -0.72722989320755, -0.9732674956321716, -0.5805016160011292, -0.15425065159797668, 0.1866990029811859, -0.3992682993412018, 0.8034661412239075, 0.9244717955589294, -0.6388126015663147, -0.36947935819625854, 0.1899309903383255, -0.23382426798343658, -0.14999286830425262, -0.12025640904903412, 0.041331954300403595, -0.39014431834220886, -0.9161115884780884, 0.8124797344207764, 0.24740155041217804, -0.10123967379331589, -0.22768498957157135, -0.115343376994133, -0.13188374042510986, -0.14004909992218018, 0.9224751591682434, -0.3291589021682739, -0.6075426936149597, -0.24239423871040344, -0.11850354820489883, -0.059159714728593826, -0.0031819958239793777, 0.9187085032463074, -0.6123074889183044, 0.6005997061729431, 0.20356371998786926, 0.5824583768844604, 0.913700520992279, -0.06478417664766312, 0.5370703339576721, -1.1093592643737793, 0.5093444585800171, 0.3147127032279968, 0.2704930901527405, 0.36990174651145935, 0.10139212757349014, 0.209261953830719, 0.22813168168067932, -0.4991163909435272, -0.8307616710662842, 0.3707856237888336, -1.1048619747161865, -0.21318797767162323, 1.1783900260925293, 0.002408344531431794, 0.1090632900595665, -0.1346127837896347, -0.14471130073070526, 0.4607039988040924, -0.13903915882110596, 0.469247043132782, 0.4415123462677002, 0.043201155960559845, -0.4662821292877197, -0.5679281949996948, 0.49733930826187134, 0.2090388685464859, -0.7793494462966919, 0.029016127809882164, 0.5997895002365112, 0.14982078969478607, 0.11777433007955551, 0.7751674652099609, -0.023643534630537033, 0.05543292313814163, 0.13475477695465088, 0.32209303975105286, -0.24409285187721252, -0.6396635174751282, -0.45874956250190735, 0.009632749482989311, 0.003952420316636562, -0.410368949174881 ]
http://arxiv.org/abs/2406.02746v2
http://arxiv.org/pdf/2406.02746v2
RATT: A Thought Structure for Coherent and Correct LLM Reasoning
2024-06-04T20:02:52
2024-06-09T05:37:26
Jinghan Zhang, Xiting Wang, Weijieying Ren, Lu Jiang, Dongjie Wang, Kunpeng Liu
cs.CL
cs.CL
Large Language Models (LLMs) gain substantial reasoning and decision-making capabilities from thought structures. However, existing methods such as Tree of Thought and Retrieval Augmented Thoughts often fall short in complex tasks due to the limitations of insufficient local retrieval of factual knowledge and inadequate global selection of strategies. These limitations make it challenging for these methods to balance factual accuracy and comprehensive logical optimization effectively. To address these limitations, we introduce the Retrieval Augmented Thought Tree (RATT), a novel thought structure that considers both overall logical soundness and factual correctness at each step of the thinking process. Specifically, at every point of a thought branch, RATT performs planning and lookahead to explore and evaluate multiple potential reasoning steps, and integrate the fact-checking ability of Retrieval-Augmented Generation (RAG) with LLM's ability to assess overall strategy. Through this combination of factual knowledge and strategic feasibility, the RATT adjusts and integrates the thought tree structure to search for the most promising branches within the search space. This thought structure significantly enhances the model's coherence in logical inference and efficiency in decision-making, and thus increases the limit of the capacity of LLM to generate reliable inferences and decisions based on thought structures. A broad range of experiments on different types of tasks showcases that the RATT structure significantly outperforms existing methods in factual correctness and logical coherence.
[ -0.3118622601032257, -1.080769419670105, 0.6290003061294556, 0.056507665663957596, -0.2868146598339081, 0.5087051391601562, -0.21029087901115417, -0.6250146627426147, 0.3390313386917114, 0.14476682245731354, -0.443785160779953, -0.15917377173900604, -0.28563547134399414, 0.08624167740345001, -0.31379812955856323, 1.1680333614349365, 0.012521062977612019, -0.034307971596717834, 0.11251520365476608, 0.027071766555309296, -0.7694637775421143, -0.3063198924064636, -0.5675342679023743, -0.42578834295272827, 0.5100380182266235, 0.20330141484737396, 0.9695643782615662, 0.27441534399986267, 0.5095738172531128, 0.2485353648662567, -0.26304855942726135, 0.4596897065639496, -0.6257398724555969, 0.34593433141708374, -0.6442182064056396, -0.4586459994316101, -0.8210447430610657, -0.20534676313400269, 0.49792101979255676, 0.5268136858940125, -0.0885336697101593, -0.019103797152638435, 0.00035178783582523465, 0.723762035369873, -0.4796726107597351, 0.06460114568471909, -0.942713737487793, 0.0005795721081085503, -0.013883893378078938, -0.41489699482917786, -0.442901611328125, -0.3904349207878113, 0.26071348786354065, -0.4840935170650482, 0.18235866725444794, 0.20181064307689667, 0.7215002775192261, 0.2880227267742157, -0.3245791792869568, -0.3459952771663666, -0.7124210596084595, 0.5819904804229736, -0.33636873960494995, 0.45449408888816833, 0.33693426847457886, 0.2885248363018036, -0.3498164713382721, -0.38051900267601013, -0.43428733944892883, -0.2703823149204254, 0.04525322839617729, 0.2919522523880005, 0.1506381332874298, 0.25536400079727173, 0.17179259657859802, 0.4276120066642761, -0.600588858127594, -0.5761486291885376, -0.15054664015769958, -0.08451960235834122, 0.3672415316104889, -0.10532086342573166, 0.26767498254776, -0.40088146924972534, -0.5980566143989563, 0.06470350176095963, -0.5822965502738953, -0.3300115764141083, -0.0774223580956459, 0.3680718243122101, 0.21690645813941956, 0.6996264457702637, -0.23355282843112946, 0.47806262969970703, 0.04981570318341255, -0.18455906212329865, -0.08701108396053314, -0.4305771291255951, -0.274040549993515, 0.17303168773651123, 0.23369011282920837, -0.10057104378938675, 0.2586820721626282, -0.0979958027601242, -0.6493905186653137, 0.17315922677516937, 0.36597564816474915, -0.48833122849464417, -0.30093270540237427, 0.2532338798046112, -0.2906999886035919, -0.24625174701213837, -0.16211818158626556, -0.2547694742679596, -0.0799303725361824, -0.38925835490226746, 0.5439145565032959, -0.8101283311843872, -0.4447364807128906, 0.3327866792678833, -0.041362740099430084, 0.28446680307388306, 0.8249106407165527, -0.6392453908920288, 0.3431364595890045, 0.887736976146698, 0.7851896286010742, -0.29462385177612305, 0.06985736638307571, -0.2621042728424072, 0.2435707151889801, -0.6722414493560791, 0.9717965722084045, -0.5663403272628784, -0.14898893237113953, -0.29896870255470276, -0.599755048751831, -0.11616355925798416, -0.360769122838974, 0.8458235859870911, -0.9442082047462463, 0.11681710183620453, -0.44378846883773804, -0.7462885975837708, -0.3243880569934845, 0.9217380285263062, -0.5967679023742676, 1.1114054918289185, -0.08798202872276306, -1.1707994937896729, 0.37767288088798523, -0.7494332790374756, -0.35807809233665466, 0.42258045077323914, -0.5028132796287537, -0.23504379391670227, 0.10413959622383118, 0.026593107730150223, 0.11168176680803299, -0.24968205392360687, 0.5388591289520264, -0.1530219316482544, -0.2566858232021332, 0.24772679805755615, -0.4888816773891449, 0.8349376320838928, 0.3532285988330841, -0.39792704582214355, 0.1302425116300583, -0.5332580804824829, 0.27871331572532654, 0.1241307258605957, -0.6705597043037415, -0.3656747341156006, 0.17423762381076813, -0.15756064653396606, 0.09554649889469147, 0.2945082187652588, -0.48277220129966736, 0.3541528284549713, -0.4474199712276459, 0.09058231115341187, 0.6254739165306091, 0.1353548914194107, 0.14969968795776367, -0.4474639296531677, 0.384235143661499, -0.22071462869644165, 0.05008547008037567, 0.10480838268995285, -0.39161190390586853, -0.7838877439498901, -0.3258664608001709, 0.21485137939453125, 0.6948230862617493, -0.8565597534179688, 0.41679248213768005, -0.28365886211395264, -0.20833608508110046, -0.32212525606155396, -0.30067044496536255, 0.47386184334754944, 0.4725182056427002, 0.2682371735572815, 0.056878939270973206, -0.6795109510421753, -0.8311774730682373, -0.30902984738349915, -0.4123668372631073, 0.46086385846138, -0.1254793256521225, 0.8181084990501404, -0.04659748449921608, 0.9246875643730164, -0.3191632628440857, 0.12951470911502838, -0.4343629479408264, 0.009189724922180176, 0.4298933446407318, 0.27310630679130554, -0.14283399283885956, -0.8343860507011414, -0.32218998670578003, 0.23772293329238892, -0.6959978342056274, 0.18800754845142365, -0.20326854288578033, -0.41696399450302124, 0.15488968789577484, 0.1302090883255005, -1.1040667295455933, 0.4400399923324585, 0.04450620338320732, -0.4082140326499939, 0.6942727565765381, -0.17795416712760925, 0.18837964534759521, -1.0163787603378296, -0.016713086515665054, -0.6814947724342346, -0.38722294569015503, -0.314505010843277, 0.23359304666519165, 0.14386539161205292, 0.20310796797275543, -0.11355003714561462, 0.3706144392490387, -0.5161105394363403, -0.27085357904434204, -0.4135308861732483, 0.29263725876808167, 0.11347027868032455, 0.46989673376083374, -0.11229997128248215, 0.9025478363037109, 0.23078398406505585, -0.3069518506526947, 0.15898603200912476, 0.37621551752090454, -0.46696755290031433, 0.6678760647773743, -0.37223607301712036, 0.12732018530368805, -0.015541506931185722, 0.3825962543487549, -0.8171477913856506, -0.14166982471942902, -0.011777331121265888, -0.5675277709960938, 0.21161876618862152, 0.2708251476287842, -0.6246048808097839, -0.1235153079032898, -0.3433016836643219, 0.5405619144439697, 0.26456141471862793, -0.5559380054473877, 0.6519101858139038, 0.1674528568983078, 0.07363428175449371, -0.7589259147644043, -0.5438696146011353, 0.10470222681760788, 0.0645054280757904, -0.7809311747550964, 0.3499854803085327, 0.002100016688928008, -0.3776334524154663, 0.21745441854000092, -0.38131004571914673, 0.15836173295974731, -0.08611737191677094, -0.23516708612442017, 0.39036592841148376, -0.2760288417339325, 0.47126367688179016, -0.24198861420154572, 0.09559059143066406, 0.038063134998083115, -0.42074576020240784, 0.2922954261302948, -0.31051501631736755, -0.41166579723358154, -0.06093084067106247, 0.13418824970722198, 0.43056410551071167, -0.5115708708763123, 0.40771806240081787, 0.2850760817527771, -0.39252176880836487, -0.5775915384292603, -0.6273147463798523, -0.0973377600312233, -0.38893380761146545, 0.5369859337806702, -0.6744287610054016, -0.8819746375083923, 0.4042527675628662, -0.1099114865064621, 0.21996232867240906, 0.34575048089027405, 0.7091471552848816, -0.18075016140937805, 0.7560144662857056, 0.3733859658241272, 0.27926963567733765, 0.22552631795406342, -0.25110238790512085, 0.39141038060188293, -0.9492558836936951, -0.309883177280426, -0.1934651881456375, -0.24807950854301453, -0.3759266436100006, -0.8043114542961121, 0.4097173511981964, 0.15065595507621765, -0.3498575985431671, -0.06286497414112091, -0.6207883954048157, 0.5650715231895447, 0.44315117597579956, 0.2653733193874359, 0.6378414630889893, -0.05683741718530655, -0.44900181889533997, 0.19105857610702515, -0.7224858403205872, -0.5630112290382385, 0.7071593403816223, 0.17386497557163239, 0.7138028740882874, 0.2294345200061798, 0.6208003759384155, 0.3682183623313904, 0.26703691482543945, -0.896465539932251, 0.7034600973129272, 0.3546085059642792, -1.128043532371521, -0.2932412922382355, -0.26974642276763916, -0.8735694885253906, 0.6681562066078186, -0.22357596457004547, -0.5395814180374146, -0.014946604147553444, 0.08581367135047913, -0.33509132266044617, 0.5816227793693542, -0.5468090176582336, 0.5249569416046143, -0.407980740070343, -0.4244341552257538, -0.6063559055328369, -0.5781488418579102, 0.7175348401069641, -0.15613271296024323, 0.08485658466815948, -0.0078717777505517, -0.24627132713794708, 0.5873426795005798, -0.4356785714626312, 0.564887523651123, 0.2224382609128952, -0.07350655645132065, 0.5896247625350952, 0.45148950815200806, 0.8331824541091919, -0.10340248793363571, -0.043405160307884216, -0.3813052177429199, -0.04220394045114517, -0.36211150884628296, -0.6767911314964294, 0.33604636788368225, -0.7254220843315125, -0.9164505004882812, -0.6185519695281982, -0.749261200428009, -0.3246538043022156, 0.35852327942848206, -0.09435897320508957, 0.3096327483654022, -0.40163150429725647, 0.17474643886089325, 0.784867525100708, -0.07704421132802963, 0.1105421930551529, 0.3239252269268036, -0.5030403733253479, -0.5905075073242188, 0.5982334613800049, 0.06760361790657043, 0.46584177017211914, 0.7736745476722717, 0.17764559388160706, -0.3202757239341736, -0.6942145824432373, 0.021165627986192703, 0.27951955795288086, -0.906525194644928, -0.4241042733192444, -0.5701361894607544, -0.38034966588020325, 0.15955957770347595, 0.02028157003223896, -0.4543284773826599, -0.6338385343551636, 0.5178716778755188, -0.4361770749092102, 0.3280112147331238, 0.9437285661697388, 0.02763167954981327, -0.22112657129764557, -0.4132758677005768, 0.4014177620410919, 0.3758910000324249, 0.2666955292224884, 0.09838863462209702, -0.30035585165023804, -0.3511723279953003, -0.10689627379179001, -0.5335472226142883, -0.7760093808174133, 0.01828308030962944, -0.09282902628183365, 0.3129684627056122, 0.08734878152608871, 0.030848409980535507, 0.6365883350372314, -0.5046220421791077, 0.3100993037223816, 0.028804190456867218, -0.7100467681884766, 0.7106904983520508, -0.5676336884498596, 0.3875384032726288, 0.43152889609336853, -0.11051833629608154, -0.2501333951950073, -0.4319397211074829, -0.660398006439209, -0.4692469835281372, 0.5408248901367188, 0.5211741328239441, -0.33184099197387695, -0.2630590498447418, 0.22761306166648865, -0.08271533250808716, -0.029899299144744873, -0.6859339475631714, 0.18848177790641785, 0.07400043308734894, -0.0642317458987236, 0.5726445317268372, -0.2108270525932312, -0.16646014153957367, -0.44133859872817993, 0.7906978130340576, -0.05359543487429619, 0.19527152180671692, 0.5740665197372437, 0.01028931699693203, -0.38776078820228577, 0.43746742606163025, 0.38766902685165405, 0.8436570763587952, -0.44665998220443726, 0.4551164507865906, 0.39172446727752686, -0.38058993220329285, 0.07200188934803009, -0.28937169909477234, -0.2583465576171875, -0.031812604516744614, 0.5617619752883911, 0.5715659856796265, 0.36616286635398865, -0.5939485430717468, 0.3896494209766388, 0.11338447034358978, -0.18256567418575287, -0.33126887679100037, 0.03532407805323601, 0.3331511914730072, 0.6204193830490112, 0.227608323097229, 0.5062128901481628, 0.1939518302679062, -0.6757710576057434, 0.3074270784854889, 0.6588180065155029, 0.0003013804671354592, -0.23833264410495758, 0.43728482723236084, 0.20572726428508759, -0.31816768646240234, 0.6038092970848083, -0.20173239707946777, -0.839572012424469, 0.4091620445251465, 0.5633308291435242, 1.0964733362197876, -0.072233647108078, 0.2110005021095276, 0.3475634455680847, 0.5599538683891296, -0.17545847594738007, 0.557854175567627, -0.22871732711791992, -0.9570592641830444, -0.9350425601005554, -0.6235660910606384, -0.3835411071777344, -0.04516349360346794, -0.20341280102729797, 0.28384920954704285, -0.4844987690448761, -0.2324601262807846, -0.37465423345565796, 0.2896029055118561, -0.43528488278388977, 0.250661700963974, 0.08118684589862823, 1.1534655094146729, -0.28797927498817444, 1.0633645057678223, 0.5656801462173462, -0.24029545485973358, -1.1035914421081543, -0.007437621708959341, -0.07194387912750244, -0.8452416062355042, 0.8615060448646545, -0.050922855734825134, -0.6781537532806396, -0.30207914113998413, -0.3660723567008972, -1.1443995237350464, 0.9777425527572632, 0.3735627830028534, -0.4997422695159912, -0.2245107889175415, -0.2649487257003784, 0.49141332507133484, -0.27323463559150696, 0.07691249251365662, 0.48005226254463196, 0.5363195538520813, 0.5760191679000854, -0.9285433292388916, 0.12409639358520508, -0.14288602769374847, -0.20643337070941925, 0.38651058077812195, -0.5790624022483826, 0.9250430464744568, -0.48129117488861084, -0.3839297592639923, -0.09372562170028687, 0.5643454790115356, 0.6974000334739685, -0.039254315197467804, 0.4612679183483124, 0.7579552531242371, 0.9542848467826843, 0.11285114288330078, 1.0984612703323364, -0.1698412299156189, 0.3213191628456116, 1.1956943273544312, -0.14864540100097656, 1.0719531774520874, 0.27402442693710327, -0.1762680858373642, 0.42479950189590454, 0.7218336462974548, 0.3569066822528839, 0.4462340772151947, 0.004291655030101538, -0.28530073165893555, -0.5054126381874084, -0.013621040619909763, -0.30988818407058716, 0.26373085379600525, 0.49962955713272095, 0.029052862897515297, -0.22338055074214935, -0.35300788283348083, 0.010151983238756657, 0.09924177080392838, -0.16866055130958557, 0.5614759922027588, 0.10167383402585983, -0.9219968914985657, 0.785045325756073, -0.26022008061408997, 0.41896551847457886, -0.4000677764415741, -0.2155817449092865, -0.10151053965091705, 0.3343994617462158, -0.3180566728115082, -0.8985792398452759, 0.37041983008384705, -0.024169599637389183, -0.08157512545585632, -0.2699994444847107, 0.8826243281364441, -0.3767198920249939, -0.47766318917274475, 0.3743084967136383, 0.8157428503036499, 0.09794027358293533, 0.030418207868933678, -0.8889764547348022, 0.29401251673698425, 0.11412715911865234, -0.43681764602661133, -0.1813431680202484, 0.9863525629043579, -0.16829587519168854, 0.6337917447090149, 0.3923254609107971, 0.29647308588027954, -0.065512515604496, -0.02292473614215851, 0.9622456431388855, -0.8121516704559326, -0.5253663659095764, -0.8672595024108887, 0.31487032771110535, -0.12273489683866501, 0.06382325291633606, 0.5874114036560059, 0.7749481797218323, 0.8030152320861816, 0.25314581394195557, 0.6862713098526001, -0.1282062530517578, 0.6060046553611755, -0.5484561920166016, 0.3395305275917053, -0.3647404909133911, 0.418607234954834, -0.25127559900283813, -1.234679937362671, -0.2489004135131836, 0.8085131049156189, -0.5980304479598999, 0.21349754929542542, 1.134256362915039, 0.6589457988739014, -0.13967518508434296, 0.3548739552497864, 0.46090903878211975, 0.46227407455444336, 0.3758648931980133, 0.6072545051574707, 1.1535546779632568, -0.15774723887443542, 0.5101205706596375, 0.23717112839221954, -0.2467353492975235, -0.035332147032022476, -0.5421908497810364, -0.9453126788139343, -0.4447781443595886, -0.1427924633026123, -0.1740313321352005, 0.22494369745254517, 1.2102153301239014, 0.661803126335144, -0.660761833190918, -0.3257581889629364, -0.3862086832523346, 0.35099780559539795, 0.03150205314159393, -0.2500873804092407, 0.5925145149230957, -0.7028601169586182, -0.23713518679141998, 0.39150092005729675, 0.6080013513565063, -0.22343821823596954, -0.1824793666601181, -0.18271611630916595, -0.7244911193847656, 0.39898282289505005, 0.9005021452903748, -0.06780578196048737, -0.9723889231681824, -0.5512029528617859, -0.11922004818916321, -0.171594500541687, 0.21171104907989502, 0.7573506832122803, -0.6791005730628967, 0.6978541612625122, 0.6294690370559692, 0.8360962271690369, 0.5553224086761475, 0.037177376449108124, 0.48732128739356995, -0.44903430342674255, -0.10125330835580826, 0.6100765466690063, 0.4586176574230194, 0.3693845272064209, -0.18787570297718048, 0.7893308401107788, 0.0667148157954216, -0.5604647397994995, -0.6070227026939392, 0.40655016899108887, -0.9193457365036011, -0.5749859809875488, 0.7984625101089478, 0.17453153431415558, -0.33061644434928894, -0.23299197852611542, -0.6003085970878601, 0.36920976638793945, -0.31212925910949707, 0.7606577277183533, 0.8150729537010193, -0.5324697494506836, -0.1265021711587906, -0.6524139642715454, 0.6192477345466614, 0.6175522804260254, -0.7908507585525513, 0.19996754825115204, 0.42465224862098694, 0.026732314378023148, 0.2644799053668976, 0.7060059309005737, -0.20733174681663513, 0.2220296561717987, 0.06445997208356857, -0.02888832986354828, 0.3253546357154846, -0.3715997040271759, 0.24228759109973907, 0.2553166449069977, 0.3933601975440979, -0.053215064108371735 ]
http://arxiv.org/abs/2406.02733v1
http://arxiv.org/pdf/2406.02733v1
Textless Acoustic Model with Self-Supervised Distillation for Noise-Robust Expressive Speech-to-Speech Translation
2024-06-04T19:22:13
2024-06-04T19:22:13
Min-Jae Hwang, Ilia Kulikov, Benjamin Peloquin, Hongyu Gong, Peng-Jen Chen, Ann Lee
cs.CL
cs.CL, cs.SD, eess.AS
In this paper, we propose a textless acoustic model with a self-supervised distillation strategy for noise-robust expressive speech-to-speech translation (S2ST). Recently proposed expressive S2ST systems have achieved impressive expressivity preservation performances by cascading unit-to-speech (U2S) generator to the speech-to-unit translation model. However, these systems are vulnerable to the presence of noise in input speech, which is an assumption in real-world translation scenarios. To address this limitation, we propose a U2S generator that incorporates a distillation with no label (DINO) self-supervised training strategy into it's pretraining process. Because the proposed method captures noise-agnostic expressivity representation, it can generate qualified speech even in noisy environment. Objective and subjective evaluation results verified that the proposed method significantly improved the performance of the expressive S2ST system in noisy environments while maintaining competitive performance in clean environments.
[ -0.06835336983203888, -0.48726069927215576, 0.4411810636520386, 0.30698439478874207, -0.5579277276992798, -0.06697297096252441, -0.3664265275001526, -0.36256465315818787, 0.09875201433897018, 0.2410377413034439, -0.574417233467102, -0.2988787293434143, -0.7070595026016235, 0.4294983446598053, -0.6268726587295532, 1.1431539058685303, 0.2130245417356491, 0.0739668682217598, -0.07002857327461243, 0.11589333415031433, -0.08095531910657883, -0.38358554244041443, -0.6078283190727234, -0.16413173079490662, 0.2633078098297119, -0.11791685968637466, 0.20735932886600494, 0.7927941679954529, -0.0014969126787036657, 0.34797629714012146, -0.3488161265850067, 0.022558199241757393, -0.3988066613674164, 0.588880181312561, -0.08723628520965576, -0.11242944747209549, -0.440185546875, -0.010156800039112568, 0.47546491026878357, 0.3354560434818268, -0.3880051076412201, 0.1575470119714737, 0.3365922272205353, 0.3092629015445709, -0.4601595103740692, 0.46073415875434875, -0.6576681733131409, -0.01752665266394615, -0.2532302737236023, 0.07132329791784286, -0.38480761647224426, -0.27145835757255554, -0.16328592598438263, -0.5729114413261414, -0.1766352355480194, -0.4779316484928131, 0.49917638301849365, 0.9052908420562744, -0.4127773940563202, -0.2888071537017822, -1.0322316884994507, 0.6906275153160095, -0.7222004532814026, 0.42789116501808167, 0.4226285517215729, 0.22984471917152405, -0.03955618292093277, -0.816758930683136, -0.4839065372943878, 0.0042382292449474335, -0.00019909071852453053, 0.523042619228363, -0.4903285503387451, 0.09931862354278564, -0.011015058495104313, 0.334963321685791, -0.2823162078857422, 0.13903799653053284, -0.19696952402591705, -0.2966405749320984, 0.6953466534614563, -0.34107837080955505, -0.07095873355865479, -0.1295986771583557, -0.4857911169528961, 0.17312689125537872, -0.416659951210022, -0.01771608553826809, 0.34565386176109314, 0.576990008354187, -0.04434620589017868, 0.31236401200294495, -0.3061050772666931, 0.29608210921287537, 0.31381914019584656, -0.3877059817314148, 0.25097063183784485, -0.3206399083137512, -0.026593133807182312, 0.45807763934135437, 1.0586620569229126, -0.06318631023168564, 0.03459116443991661, -0.3513500988483429, -0.5774857997894287, -0.0035300080198794603, -0.006695034448057413, -1.158753514289856, -0.1992173194885254, 0.036870747804641724, -0.29464486241340637, -0.7558225989341736, -0.6145486831665039, -0.5957257747650146, 0.10301229357719421, -0.3143344819545746, 0.5460691452026367, -0.24518682062625885, -0.7966048717498779, -0.3003857135772705, 0.13034731149673462, -0.3748927414417267, 0.2594945430755615, -1.1244421005249023, 0.3284100890159607, 0.25515124201774597, 0.7650325894355774, -0.10027334094047546, 0.08150092512369156, -0.629471480846405, 0.2563383877277374, -0.2265564501285553, 0.6420250535011292, 0.006048659328371286, -0.6325546503067017, -0.2475399374961853, -0.3822513222694397, -0.016420042142271996, -0.6092285513877869, 0.7843563556671143, -0.013169337064027786, 0.09289118647575378, 0.10086260735988617, -0.5421935319900513, 0.3306458592414856, -0.24133628606796265, -0.40578213334083557, 1.2098509073257446, 0.11082249134778976, -0.38744255900382996, 0.16254064440727234, -0.6094343066215515, -0.5245499014854431, 0.06590648740530014, -0.21478503942489624, -0.6360357999801636, 0.33648404479026794, 0.16829557716846466, 0.2613069415092468, 0.16361790895462036, 0.4693600833415985, -0.009755412116646767, -0.19504959881305695, 0.2444980889558792, -0.6933329701423645, 0.7792196273803711, 0.5840385556221008, -0.5282710790634155, -0.09219542145729065, -0.8592850565910339, 0.0029037026688456535, -0.09202039986848831, -0.39300423860549927, -0.21208110451698303, -0.06504728645086288, 0.0653504803776741, 0.36568203568458557, 0.42694833874702454, -0.5880689024925232, 0.07328508794307709, -0.3294282853603363, 0.6270409822463989, 0.7254798412322998, -0.34392622113227844, 0.47847431898117065, 0.07228777557611465, 0.3986561894416809, 0.03657541424036026, -0.10802973806858063, -0.10379906743764877, -0.37291932106018066, -0.5717734098434448, -0.7581716179847717, 0.35057148337364197, 0.5292564034461975, -0.6330057382583618, 0.5168229341506958, -0.2739318609237671, -0.49456262588500977, -0.6328476667404175, 0.10127747058868408, 0.4547346532344818, 0.9445604681968689, 0.5567048192024231, 0.024961592629551888, -0.456794410943985, -0.681816577911377, -0.1710476279258728, -0.34700238704681396, -0.1484052836894989, 0.15178978443145752, 0.228412464261055, -0.12416402250528336, 0.754715621471405, -0.015140892937779427, -0.6952150464057922, -0.2055290788412094, 0.3861669898033142, 0.08208011835813522, 0.6199827790260315, 0.5297467112541199, -0.4560663104057312, -0.340895414352417, -0.18210875988006592, -0.704300045967102, -0.6295784711837769, 0.14459295570850372, 0.07942958921194077, 0.39025697112083435, 0.6470139622688293, -0.6721697449684143, 0.710551381111145, 0.6918309330940247, 0.11745280772447586, 0.43894684314727783, -0.12146946787834167, -0.106160968542099, -1.3537613153457642, 0.26379090547561646, -0.12281578779220581, -0.4322926998138428, -0.674850583076477, -0.2965356409549713, -0.13007840514183044, -0.2537439465522766, -0.41556236147880554, 0.23645666241645813, -0.3893224000930786, 0.048225436359643936, -0.5196067690849304, 0.08630026131868362, -0.017393656075000763, 0.34450197219848633, 0.40268707275390625, 0.9057999849319458, 0.5705845355987549, -0.5319916605949402, 0.06563615053892136, 0.3119400143623352, -0.17019100487232208, 0.6858888864517212, -0.5663045644760132, 0.22417278587818146, 0.034394510090351105, 0.3382618725299835, -1.0057785511016846, 0.0046464744955301285, 0.15532316267490387, -0.5908656716346741, 0.5472613573074341, -0.31027013063430786, -0.3714632987976074, -0.02531977742910385, 0.27849364280700684, 0.34896254539489746, 0.5905178189277649, -0.44165846705436707, 0.4892592430114746, 0.20227429270744324, -0.5957435965538025, -0.3480214774608612, -0.8668293952941895, 0.21096356213092804, -0.402762234210968, -0.4329742193222046, 0.37822747230529785, 0.0005088013713248074, 0.18250037729740143, -0.09063775837421417, -0.5079532861709595, -0.31075024604797363, 0.1911575049161911, 0.21338552236557007, 0.13894222676753998, -0.13432054221630096, 0.21360819041728973, 0.4398741126060486, -0.27199068665504456, 0.13500669598579407, -0.3291798532009125, 0.1129382774233818, 0.008871757425367832, 0.24200521409511566, -1.142703652381897, 0.40891122817993164, 0.27897897362709045, -0.0859653502702713, 0.3164716958999634, 0.5508825778961182, -0.2059326171875, -0.10007676482200623, -0.1807432770729065, -0.4169943630695343, -0.4895981252193451, 0.4099980890750885, -0.49990540742874146, -0.7648822069168091, 0.28487643599510193, -0.655878484249115, -0.31755760312080383, 0.47752636671066284, 0.4196544587612152, -0.3927147686481476, 0.9081907868385315, 0.25569015741348267, 0.008710112422704697, 0.44010889530181885, -0.1386817991733551, 0.21679966151714325, -0.8167378306388855, -0.21576732397079468, -0.6537739038467407, -0.2438507080078125, -0.5735076665878296, -0.06679341197013855, 0.273658812046051, 0.16806943714618683, -0.086294986307621, 0.479065865278244, -0.6875847578048706, 0.23860114812850952, 0.4210793375968933, -0.34595105051994324, 0.39863574504852295, 0.3159388303756714, -0.03400278463959694, -0.3466458320617676, -0.4463762044906616, -0.4302555322647095, 0.8783445954322815, 0.10238943248987198, 0.7204639315605164, 0.2015058547258377, 1.179207444190979, 0.17199929058551788, 0.24743932485580444, -0.67766934633255, 0.3399466872215271, -0.2913219630718231, -0.6376593112945557, -0.6248233318328857, -0.769909143447876, -0.9226565361022949, 0.18131788074970245, -0.1441889852285385, -0.9253644943237305, 0.19658973813056946, 0.2947925925254822, -0.2983357012271881, 0.1765768975019455, -0.37377291917800903, 0.6329622864723206, -0.30800825357437134, -0.3734396696090698, 0.06122090294957161, -0.618657112121582, 0.15058787167072296, -0.17958201467990875, 0.3534519672393799, -0.05967027321457863, 0.18157023191452026, 0.47290119528770447, -0.3899971544742584, 0.7472779154777527, -0.3964862525463104, -0.5268505811691284, 0.250207781791687, 0.3534570336341858, 0.7245938181877136, -0.08250882476568222, -0.28432410955429077, 0.4665880799293518, -0.03338240832090378, 0.050406258553266525, -0.5345303416252136, 0.6804026961326599, -0.8786206245422363, -0.5432963371276855, -0.3895597457885742, -0.312282532453537, 0.037277672439813614, 0.4075644612312317, 0.648675262928009, 0.18431545794010162, -0.33961862325668335, 0.12785622477531433, 0.5910544395446777, 0.31685179471969604, 0.6906725764274597, 0.4041879177093506, -0.28391849994659424, -0.5205971002578735, 1.0357682704925537, 0.3118097186088562, 0.2881368398666382, 0.14697325229644775, 0.23896829783916473, -0.970055878162384, -0.6256558299064636, -0.7098907232284546, -0.14194351434707642, -0.272249698638916, -0.3557983934879303, -0.5657654404640198, -0.299758642911911, -0.718285322189331, 0.2720120847225189, -0.8620251417160034, -0.7950937747955322, -0.6406369805335999, -0.09626596421003342, 0.23534856736660004, 0.7435750961303711, -0.6286647915840149, 0.41567251086235046, -0.3953731060028076, 0.4823177456855774, 0.4280188977718353, 0.20685024559497833, -0.5101882219314575, -0.8339659571647644, -0.21299131214618683, 0.3906964063644409, -0.49108728766441345, -0.7571713924407959, 0.5780319571495056, 0.6345077157020569, 0.33995240926742554, 0.2535442113876343, 0.4774845838546753, 0.7016506195068359, -0.3957374691963196, 0.5934364199638367, 0.28350213170051575, -1.250093698501587, 0.7990462779998779, -0.48256683349609375, 0.15895895659923553, 0.6294856071472168, 0.024790238589048386, -0.1320694088935852, -0.524970293045044, -0.42360562086105347, -0.9798012375831604, 0.6501770615577698, 0.6703405976295471, 0.24099725484848022, 0.1061326116323471, 0.23017683625221252, 0.0013728010235354304, 0.3853452503681183, -0.892471969127655, -0.33041226863861084, -0.8154626488685608, -0.1466241329908371, -0.013748634606599808, 0.016358699649572372, -0.09705066680908203, -0.24468941986560822, 0.7782007455825806, 0.005636875983327627, 0.10549766570329666, 0.3236362636089325, 0.03204980865120888, -0.07808106392621994, 0.3709704279899597, 0.47742384672164917, -0.2009839117527008, -0.18660639226436615, 0.08368019014596939, -0.029411014169454575, -0.3190109133720398, 0.5084963440895081, 0.48213523626327515, -0.3622173070907593, 0.13038519024848938, -0.15632225573062897, 0.8152174353599548, 0.10079152137041092, -0.18880586326122284, 0.7780595421791077, -0.1651218682527542, -0.40376508235931396, -0.4412606954574585, -0.09579672664403915, 0.21742628514766693, 0.08500607311725616, 0.3175053298473358, 0.33796048164367676, 0.4944523870944977, -0.1885492503643036, 0.08951413631439209, 0.05176854878664017, -0.6304791569709778, -0.3492838442325592, 1.2066833972930908, 0.43903326988220215, -0.14047208428382874, 0.5984172821044922, -0.34971049427986145, 0.02252299152314663, 0.16393882036209106, 0.673198401927948, 1.203097939491272, -0.6977663636207581, 0.15115424990653992, 0.29246383905410767, 0.069077268242836, 0.016329217702150345, 0.10322712361812592, -0.5329371094703674, -0.33046776056289673, -0.5141491293907166, -0.7080869078636169, -0.16132116317749023, 0.18427741527557373, -0.9369738101959229, 0.023112311959266663, -0.08495517075061798, -0.3015473186969757, -0.028217077255249023, -0.48434069752693176, -0.1417180448770523, 0.4166995882987976, 0.2948724329471588, 0.4237731695175171, -0.7364280223846436, 1.0657744407653809, 0.24564974009990692, -0.15020762383937836, -0.897524893283844, -0.11206748336553574, 0.01744147017598152, -0.37790703773498535, 0.7344765067100525, 0.13047455251216888, -0.5140048861503601, 0.28600239753723145, -0.48924878239631653, -0.8888458013534546, 1.1313421726226807, 0.9468296766281128, -0.694425642490387, 0.3819397985935211, 0.4012277126312256, 0.6444445252418518, -0.2521904706954956, -0.03315228968858719, 0.2734748423099518, 0.33341673016548157, 0.3110097348690033, -1.1804746389389038, -0.12384290993213654, -0.3996106684207916, -0.040514878928661346, -0.07455245405435562, -0.7199814915657043, 0.5925472378730774, -0.011497695930302143, -0.42786139249801636, 0.5275947451591492, 0.7194287180900574, 0.16043654084205627, 0.33737727999687195, 0.42008697986602783, 0.827976405620575, 0.7040093541145325, -0.3116303086280823, 0.5260279178619385, -0.3815760016441345, 0.24888722598552704, 1.5354782342910767, -0.36722689867019653, 0.871567964553833, 0.5736570358276367, -0.08289589732885361, 0.32422515749931335, 0.3327670693397522, 0.3286603093147278, 0.8872097730636597, 0.28011468052864075, -0.7413057088851929, -0.40670308470726013, -0.3183204233646393, -0.6778525710105896, 0.8902928233146667, 0.22927157580852509, -0.3672396242618561, -0.21291227638721466, -0.15608181059360504, 0.009967162273824215, 0.2036924511194229, -0.056118469685316086, 1.1538300514221191, 0.16124461591243744, -0.48712554574012756, 0.6972840428352356, -0.3020418882369995, 0.6642125844955444, -0.4910857081413269, 0.1298985481262207, -0.253909707069397, -0.04202769696712494, -0.19373364746570587, -0.3633778393268585, 0.46824464201927185, 0.11528170108795166, -0.04289519414305687, -0.7320631742477417, 0.5261812210083008, -0.6881582140922546, -0.5317830443382263, 0.25905606150627136, 0.4711809754371643, 0.4774248003959656, -0.12784142792224884, -0.31579872965812683, -0.08599689602851868, -0.011025960557162762, -0.3221780061721802, 0.33327481150627136, 0.7644993662834167, 0.33480867743492126, 0.520579993724823, 0.7380396723747253, 0.2374720275402069, 0.004237702582031488, 0.00674214493483305, 0.8219850063323975, -0.23330695927143097, -0.5304301381111145, -0.756213903427124, 0.4845964312553406, 0.008975880220532417, -0.31060123443603516, 0.6122182011604309, 0.7979968786239624, 0.4884010851383209, -0.031559668481349945, 1.046276569366455, 0.1944221407175064, 0.5705426931381226, -0.24574749171733856, 1.0501971244812012, -0.4859594702720642, 0.14538991451263428, -0.43089401721954346, -0.7122887372970581, 0.018708882853388786, 0.8147650957107544, 0.07934265583753586, -0.057155970484018326, 0.23165510594844818, 0.7068586349487305, 0.022054046392440796, 0.07207111269235611, 0.5972336530685425, 0.4008904993534088, 0.13957546651363373, 0.09062854200601578, 0.6788259148597717, -0.5838757157325745, 0.9116601943969727, -0.16868028044700623, -0.17562748491764069, 0.02665015496313572, -0.9578886032104492, -0.47329968214035034, -0.48568442463874817, -0.646264374256134, -0.4220496416091919, 0.10154146701097488, 0.5172045826911926, 0.8421542644500732, -0.6889147758483887, -0.1855190098285675, -0.3124437928199768, -0.272930771112442, -0.26277998089790344, -0.15252585709095, 0.22382758557796478, -0.3163982927799225, -0.9950742721557617, 0.8795292973518372, 0.3522891700267792, 0.5833221673965454, -0.09100893139839172, -0.20318184792995453, 0.23899945616722107, 0.04499785974621773, 0.42646676301956177, 0.33981409668922424, -0.6213491559028625, 0.02771618217229843, -0.19447141885757446, 0.02486364170908928, 0.08202258497476578, 0.27910128235816956, -0.790138304233551, 0.6343867182731628, 0.017405085265636444, 0.2854045331478119, 0.8747016191482544, -0.19139687716960907, 0.32614001631736755, -1.033453345298767, 0.44777238368988037, 0.25139501690864563, 0.2056044340133667, 0.24020977318286896, -0.28547754883766174, 0.38732752203941345, 0.2316662222146988, -0.6806204319000244, -0.8656980991363525, 0.2568691372871399, -1.043683648109436, 0.07340209186077118, 1.0582224130630493, -0.39754733443260193, 0.06385305523872375, -0.02688533253967762, -0.21343128383159637, 0.7311525344848633, -0.8235630989074707, 1.0841299295425415, 0.4125556945800781, -0.12128491699695587, -0.14788399636745453, -0.19673000276088715, 0.722554624080658, 0.31846415996551514, -0.5422531366348267, 0.12469083815813065, 0.32664528489112854, 0.2578345239162445, 0.15297792851924896, 0.637237012386322, -0.15573182702064514, 0.05276649445295334, 0.01437983475625515, 0.1333944946527481, -0.1923174411058426, -0.005457025021314621, -0.21046094596385956, -0.0732889324426651, -0.075507253408432, -0.29117220640182495 ]
http://arxiv.org/abs/2406.02721v2
http://arxiv.org/pdf/2406.02721v2
Self-Control of LLM Behaviors by Compressing Suffix Gradient into Prefix Controller
2024-06-04T19:05:10
2024-06-18T15:58:38
Min Cai, Yuchen Zhang, Shichang Zhang, Fan Yin, Difan Zou, Yisong Yue, Ziniu Hu
cs.CL
cs.CL, cs.AI
We propose Self-Control, a novel method utilizing suffix gradients to control the behavior of large language models (LLMs) without explicit human annotations. Given a guideline expressed in suffix string and the model's self-assessment of adherence, Self-Control computes the gradient of this self-judgment concerning the model's hidden states, directly influencing the auto-regressive generation process towards desired behaviors. To enhance efficiency, we introduce Self-Control_{prefix}, a compact module that encapsulates the learned representations from suffix gradients into a Prefix Controller, facilitating inference-time control for various LLM behaviors. Our experiments demonstrate Self-Control's efficacy across multiple domains, including emotional modulation, ensuring harmlessness, and enhancing complex reasoning. Especially, Self-Control_{prefix} enables a plug-and-play control and jointly controls multiple attributes, improving model outputs without altering model parameters or increasing inference-time costs.
[ -0.37787726521492004, -0.8768510222434998, 0.23610034584999084, 0.5513991117477417, 0.03593314811587334, 0.1276378482580185, -0.010225576348602772, 0.0008446899009868503, 0.4562682509422302, 0.3993833661079407, -0.8471236824989319, -0.2871115207672119, -0.5132242441177368, 0.13183927536010742, -0.12727433443069458, 0.8343848586082458, -0.1063552275300026, -0.06721340864896774, -0.0442173071205616, 0.23742516338825226, -0.4563879072666168, -0.49190688133239746, -0.6744896173477173, -0.49728813767433167, 0.8898489475250244, 0.3338058292865753, 0.525492787361145, 0.9070637226104736, 0.4556206464767456, 0.30447059869766235, 0.14723257720470428, 0.19647684693336487, -0.28126260638237, 0.13605926930904388, -0.3298663794994354, -0.31306251883506775, -0.8895077705383301, 0.12216483056545258, 0.6437487602233887, 0.30381160974502563, -0.4831226170063019, 0.2419099360704422, 0.04763147234916687, 0.5207722783088684, -0.4625433683395386, 0.037590764462947845, -0.31556570529937744, -0.1563471555709839, -0.04599118232727051, -0.38556158542633057, -0.25491607189178467, -0.17023028433322906, -0.6419515609741211, -0.45215487480163574, -0.13036851584911346, 0.24552467465400696, 0.6508076190948486, 0.5879020094871521, -0.5072222948074341, -0.0912553071975708, -0.9322496652603149, 0.5855572819709778, -0.4785045385360718, 0.398125022649765, 0.6947042346000671, -0.004197686444967985, -0.48995858430862427, -0.514580249786377, -0.24963952600955963, -0.23164105415344238, -0.08212064951658249, 0.14445407688617706, -0.004145842511206865, 0.12075662612915039, 0.2757127583026886, 0.07611068338155746, -0.15886275470256805, 0.42672643065452576, -0.39023110270500183, -0.5630317330360413, 0.6283701658248901, 0.32576993107795715, 0.427446186542511, -0.3042885661125183, -0.5529053807258606, 0.2964072823524475, -0.9258450269699097, 0.09241633862257004, 0.2657206058502197, 0.20864081382751465, 0.10151631385087967, 0.7407036423683167, -0.351253479719162, 0.205606609582901, 0.3491811752319336, -0.26364853978157043, 0.007974065840244293, -0.014802147634327412, -0.16928666830062866, -0.08761970698833466, 0.8493931293487549, 0.3266242742538452, 0.3159642517566681, -0.2775254547595978, -0.33876287937164307, -0.057625748217105865, 0.21292829513549805, -0.4936288893222809, 0.11771740019321442, 0.13504692912101746, -0.4198526442050934, 0.018032046034932137, -0.4059330224990845, -0.7107858657836914, -0.09271728992462158, -0.6096869707107544, 0.4512781798839569, -0.3476736545562744, -0.2621861398220062, 0.039626866579055786, 0.1009700745344162, 0.39827898144721985, 0.1923842877149582, -1.2137843370437622, 0.8986446857452393, 0.5686651468276978, 1.0124469995498657, -0.5541691184043884, -0.6425778269767761, -0.6541457772254944, 0.5059643387794495, -0.2964085638523102, 0.15122127532958984, -0.5329638719558716, -0.32030540704727173, -0.21812152862548828, -0.06901653110980988, -0.03089147061109543, -0.16344378888607025, 0.17069675028324127, -0.6117556691169739, -0.13753820955753326, 0.3418853282928467, -0.7574524283409119, 0.14007185399532318, -0.12052597850561142, -0.4605236351490021, 1.0577764511108398, -0.07780696451663971, -0.3310704827308655, 0.12417838722467422, -0.30127620697021484, -0.3935586214065552, -0.03745398670434952, -0.03269149735569954, -0.09035038948059082, 0.18917004764080048, 0.0935823917388916, 0.6143831610679626, -0.029705114662647247, 0.3266240060329437, -0.21768975257873535, -0.16505680978298187, 0.11165986955165863, -0.286747545003891, 0.25797685980796814, 0.02631879411637783, -0.29654696583747864, 0.33195632696151733, -0.5524230003356934, -0.04204371199011803, -0.019520806148648262, -0.12869931757450104, -0.5044807195663452, -0.14921630918979645, -0.408071905374527, 0.3829243779182434, 0.3568110167980194, -0.33039215207099915, 0.6796417236328125, 0.17803902924060822, 0.20455200970172882, 0.9918369054794312, 0.02817538194358349, 0.7215887308120728, -0.31204086542129517, 0.8566501140594482, -0.35196661949157715, 0.3066798150539398, -0.1526053249835968, -0.17044341564178467, -0.935480535030365, -0.6012633442878723, 0.3571472764015198, 0.3356698155403137, -0.549837589263916, 0.651530385017395, 0.043441291898489, -0.30941206216812134, -0.5557605028152466, 0.4408450126647949, 0.45541489124298096, 0.3558933138847351, 0.5758107900619507, -0.1459420919418335, 0.03546972945332527, -0.8598517179489136, -0.26218870282173157, 0.16790863871574402, 0.14758101105690002, 0.21787570416927338, 0.5412906408309937, 0.13930825889110565, 0.783086895942688, -0.5469263195991516, -0.4308778941631317, -0.11602422595024109, 0.47871607542037964, -0.21322216093540192, 0.9254347681999207, 0.20092575252056122, -0.5166782736778259, -0.15162226557731628, -0.6445460319519043, -0.2527104914188385, -0.4451049566268921, -0.35298073291778564, -0.508659839630127, 0.24089685082435608, 1.0744590759277344, -0.6173766851425171, 0.514533519744873, 0.3597947657108307, -0.48910677433013916, 0.5751383304595947, -0.41036713123321533, -0.18680374324321747, -0.6192576289176941, -0.05902755260467529, 0.1255553960800171, -0.38961705565452576, -0.6319416165351868, 0.014459671452641487, 0.2054011970758438, 0.638852059841156, -0.3595593571662903, 0.6621490716934204, -0.6097943782806396, 0.21598780155181885, -0.21534612774848938, -0.28202372789382935, -0.18638241291046143, 0.9009337425231934, 0.12747769057750702, 0.8972228765487671, 0.7475934624671936, -0.9920036196708679, 0.16995257139205933, 0.10689668357372284, 0.02666156366467476, 0.19115187227725983, -0.6772738695144653, -0.004642818123102188, -0.30216604471206665, 0.14449769258499146, -0.862165629863739, -0.176371231675148, 0.36641255021095276, -0.25772324204444885, 0.6015655398368835, -0.30649298429489136, -0.3266233503818512, -0.16379742324352264, -0.07196815311908722, -0.11253147572278976, 0.948350727558136, -0.3871167004108429, 0.9449909925460815, 0.09643153101205826, -0.25707316398620605, -0.447808176279068, -0.9217557311058044, -0.07844472676515579, -0.4942045509815216, 0.16994163393974304, 0.38959434628486633, -0.4752272963523865, 0.06925124675035477, -0.2324226200580597, -0.03767453879117966, 0.10380289703607559, 0.3493792414665222, 0.41995686292648315, 0.3150322437286377, 0.2324414700269699, 0.515579342842102, 0.41016486287117004, -0.2582074701786041, 0.28304845094680786, -0.09999371320009232, 0.6996362805366516, 0.2708045244216919, -0.510120153427124, -0.6295555830001831, 0.19697344303131104, 0.5975201725959778, -0.32924991846084595, 0.3785710036754608, 0.309354692697525, 0.06999807804822922, -0.5220628976821899, -0.6863971948623657, -0.4706709086894989, -0.5440039038658142, -0.018603073433041573, -0.4841676652431488, -1.0426421165466309, 0.5553550720214844, -0.393191933631897, -0.3343990743160248, 0.3004259169101715, 0.6199237704277039, 0.015164702199399471, 1.1153860092163086, 0.707318127155304, -0.10940352082252502, 0.3924226462841034, -0.016973547637462616, -0.18836279213428497, -1.0811173915863037, -0.3287304937839508, -0.15843144059181213, -0.3604544699192047, -0.6796526908874512, -0.3059713840484619, 0.07982872426509857, 0.3145771622657776, -0.6230980753898621, -0.01922951079905033, -0.3308611214160919, 0.34542280435562134, 0.5799626708030701, -0.11148393154144287, 0.3324686884880066, -0.22802387177944183, -0.2785376012325287, -0.06325653940439224, -0.6205434799194336, -0.4193066656589508, 0.6333097219467163, 0.4358615577220917, 1.35225510597229, 0.3024630844593048, 0.7271549701690674, 0.4081461429595947, 0.2475779801607132, -0.8293517827987671, 0.5608689188957214, 0.1339753121137619, -0.36959823966026306, -0.24812224507331848, -0.4764867126941681, -0.6750212907791138, 0.1280621439218521, 0.1985829919576645, -1.0831612348556519, 0.05703732371330261, 0.368161141872406, -0.5972424745559692, 0.22299127280712128, -0.5521739721298218, 0.5503272414207458, -0.37640535831451416, -0.6601515412330627, -0.057152148336172104, -0.5879853963851929, 0.4009130299091339, -0.1448172628879547, 0.07627695053815842, -0.507210373878479, -0.6118322610855103, 0.4883165657520294, -0.22876527905464172, 1.2254081964492798, 0.08009129017591476, -0.22920167446136475, 0.17878146469593048, 0.7061755061149597, 0.5451747179031372, -0.021584030240774155, -0.01988156884908676, 0.11984847486019135, -0.37045523524284363, -0.22165325284004211, -0.8297964334487915, 0.8259480595588684, -0.6369876265525818, -0.9481571912765503, -0.3379122018814087, -0.3149324059486389, -0.10374552011489868, 0.3412005305290222, -0.04763287678360939, 0.4807604253292084, -0.0791880190372467, -0.3415517807006836, 0.4117010533809662, 0.054970044642686844, 0.8695502877235413, 0.8253622055053711, -0.6942068338394165, -0.4122629165649414, 0.903244137763977, 0.22963595390319824, 0.6137810945510864, 0.13978040218353271, 0.37110498547554016, -0.3357861340045929, -0.21490232646465302, -0.4677853584289551, 0.41415393352508545, -0.4291307032108307, -0.4024936258792877, -0.5644693374633789, -0.15740136802196503, -0.39548036456108093, 0.0302533358335495, -0.2900087535381317, -0.5090060234069824, -0.37795117497444153, -0.056949421763420105, 0.5961298942565918, 1.1580440998077393, -0.4185619354248047, 0.47448137402534485, -0.5337900519371033, 0.2414862960577011, 0.28558599948883057, 0.6183329224586487, 0.06191965937614441, -0.47537708282470703, 0.04612105339765549, -0.4381873309612274, -0.027941236272454262, -0.7163125872612, 0.748807430267334, 0.24819315969944, 0.2384663224220276, 0.18600106239318848, -0.19334642589092255, 0.5260395407676697, -0.7942723035812378, 0.704867422580719, 0.14610493183135986, -1.3548271656036377, 0.4847968816757202, -0.34640857577323914, 0.3598185181617737, 0.08024448901414871, 0.6453942656517029, -0.44596627354621887, -0.44386619329452515, -0.5255951285362244, -0.6558400988578796, 0.7596044540405273, 0.07406028360128403, 0.40876346826553345, -0.0037666838616132736, 0.7484496235847473, -0.05436679348349571, 0.23673942685127258, -0.5143781900405884, -0.5619935393333435, -0.15563936531543732, 0.008700714446604252, 0.1257835030555725, -0.4279690086841583, -0.1419331580400467, -0.3102361261844635, 0.628433346748352, -0.4297010004520416, -0.07999514043331146, 0.38684314489364624, 0.21469852328300476, -0.11375050991773605, 0.15490466356277466, 0.5415781736373901, 0.21298843622207642, 0.01676514744758606, 0.533577561378479, 0.2856281101703644, -0.3398262858390808, 0.36770182847976685, -0.20304462313652039, -0.17319656908512115, -0.5588228106498718, 0.13736552000045776, 0.5502004027366638, -0.1412941813468933, -0.11009079962968826, 0.3077862858772278, -0.11317070573568344, 0.009377575479447842, -0.16721835732460022, 0.3697833716869354, 0.0325196348130703, -0.05661303922533989, 0.09054155647754669, -0.019322508946061134, 0.08636943995952606, -0.09481070190668106, 0.22054427862167358, 0.4006207585334778, -0.562703013420105, -0.35325634479522705, 0.6858336329460144, 0.09975195676088333, -0.1987067461013794, 0.388945996761322, -0.3647323548793793, -0.49803876876831055, 0.704690158367157, 0.9500327706336975, 0.7869127988815308, -0.6051270365715027, 0.13765250146389008, 0.32261893153190613, 0.2739431858062744, -0.09783880412578583, 0.3051234185695648, -0.06086752936244011, -0.7979854941368103, -0.7931551337242126, -0.48849043250083923, -0.05524452403187752, 0.09421585500240326, -0.6484299302101135, 0.16207851469516754, -0.719809353351593, -0.2926521599292755, -0.12174812704324722, -0.35809192061424255, -0.26613131165504456, 0.13233551383018494, 0.1978110671043396, 1.2433693408966064, -0.7579540014266968, 0.819060206413269, 0.3302195370197296, -0.6321183443069458, -0.9969797730445862, -0.046400051563978195, 0.0025866099167615175, -0.774044394493103, 1.124337911605835, -0.05075046420097351, -0.8442716002464294, 0.40990346670150757, -0.7855331897735596, -1.2698628902435303, 0.9560500383377075, 0.024813110008835793, -0.4829365611076355, 0.09861098229885101, -0.19852270185947418, 0.47358646988868713, -0.36385565996170044, 0.3004637360572815, 0.7847688794136047, 0.6274099946022034, 0.27640411257743835, -0.8861477971076965, 0.23025812208652496, -0.14245076477527618, -0.1432902216911316, 0.38022127747535706, -1.1851624250411987, 0.5865722298622131, -0.18618446588516235, -0.244034543633461, 0.05758998915553093, 0.9922469258308411, -0.18465547263622284, -0.2946564555168152, 0.4206819534301758, 0.3866349756717682, 0.6268737316131592, 0.102354995906353, 1.009586215019226, -0.7234611511230469, 0.26904845237731934, 1.3892295360565186, -0.33894082903862, 0.5451495051383972, 0.5284796357154846, 0.15458367764949799, 0.5212106704711914, 0.37640121579170227, -0.0039564077742397785, 0.29026326537132263, 0.48562923073768616, -0.17878912389278412, -0.6099181771278381, -0.5451172590255737, 0.16088080406188965, 0.5524774193763733, 0.6189747452735901, -0.0800141766667366, 0.07080888748168945, -0.10685845464468002, 0.34846529364585876, -0.04918508231639862, -0.5431127548217773, 0.8765268921852112, 0.07837559282779694, -0.9029095768928528, 0.38312190771102905, -0.07538878172636032, 0.7384257912635803, -0.9852206110954285, -0.17642100155353546, -0.29364877939224243, -0.029835326597094536, -0.1942077875137329, -0.6217759251594543, 0.06371533870697021, -0.12375006824731827, 0.08633855730295181, -0.504524827003479, 0.8859490752220154, -0.7405837178230286, -0.34308257699012756, 0.5094156265258789, 0.7665777206420898, 0.04444679990410805, 0.3752712905406952, -0.5755742788314819, -0.15792454779148102, -0.2379300594329834, -0.48534733057022095, 0.13453875482082367, 0.230032280087471, -0.17502877116203308, 1.0677387714385986, 0.563479483127594, 0.46373042464256287, 0.28953319787979126, 0.0347706601023674, 0.9579901695251465, -0.7169406414031982, -0.16828851401805878, -1.0508610010147095, 0.16015386581420898, 0.05250808596611023, -0.3898964822292328, 0.9275421500205994, 0.2888754606246948, 0.4917164742946625, 0.0628393143415451, 0.7214888334274292, -0.15812809765338898, 0.30085489153862, -0.7040638327598572, 0.5391021370887756, -0.7004825472831726, -0.03461018204689026, 0.18950192630290985, -0.46802544593811035, -0.42866435647010803, 0.20120902359485626, -0.14274105429649353, 0.2834169566631317, 0.6012108325958252, 1.0007688999176025, -0.03766246512532234, -0.4425365626811981, 0.4359300434589386, 0.19351351261138916, 0.2227395623922348, 0.07593394815921783, 1.0092097520828247, 0.30476781725883484, -0.14247074723243713, -0.37757349014282227, -0.2485991269350052, 0.10939062386751175, -1.2377934455871582, -0.8847797513008118, -0.25986534357070923, -0.3276559114456177, -0.3496483862400055, -0.11224322766065598, 1.3436639308929443, 0.7586615085601807, -0.6389057636260986, -0.23098692297935486, -0.20904774963855743, 0.25013768672943115, -0.18447881937026978, -0.15869131684303284, 0.42610323429107666, -0.8063226938247681, -0.8468663096427917, 0.5636751055717468, 0.3585079312324524, 0.3884936571121216, -0.8981006741523743, -0.10190555453300476, -0.3261295258998871, 0.34131669998168945, 0.17945991456508636, 0.33568045496940613, -0.7661004662513733, -0.07036665827035904, 0.04297706484794617, -0.4605244994163513, 0.021790895611047745, 1.1784812211990356, -0.6395939588546753, 0.40443000197410583, 0.36361438035964966, 0.11599227786064148, 0.1570112258195877, 0.3813011646270752, 0.7489968538284302, -0.7385140657424927, -0.23554040491580963, -0.11074934154748917, 0.3802281320095062, 0.24078255891799927, -0.6309149265289307, 0.4313828647136688, -0.01806294359266758, -0.6990306377410889, -0.12519995868206024, 0.4726560413837433, -0.6860299706459045, -0.29274076223373413, 1.3247281312942505, -0.14009441435337067, -0.45866578817367554, 0.034375905990600586, -0.321805477142334, 0.26163265109062195, -0.8005478382110596, 0.6404145359992981, 0.49619969725608826, -0.45882007479667664, -0.015850648283958435, -0.43770331144332886, 1.0098439455032349, 0.5671826004981995, -0.6210514307022095, 0.32187673449516296, 0.4329652488231659, 0.26011061668395996, 0.1369795799255371, 0.6496723294258118, 0.18216203153133392, -0.3011176586151123, -0.599408745765686, 0.618712306022644, -0.1515970230102539, -0.6376394033432007, -0.854715883731842, -0.06267727166414261, 0.036602411419153214, 0.11815541982650757 ]
http://arxiv.org/abs/2406.02543v1
http://arxiv.org/pdf/2406.02543v1
To Believe or Not to Believe Your LLM
2024-06-04T17:58:18
2024-06-04T17:58:18
Yasin Abbasi Yadkori, Ilja Kuzborskij, András György, Csaba Szepesvári
cs.LG
cs.LG, cs.AI, cs.CL
We explore uncertainty quantification in large language models (LLMs), with the goal to identify when uncertainty in responses given a query is large. We simultaneously consider both epistemic and aleatoric uncertainties, where the former comes from the lack of knowledge about the ground truth (such as about facts or the language), and the latter comes from irreducible randomness (such as multiple possible answers). In particular, we derive an information-theoretic metric that allows to reliably detect when only epistemic uncertainty is large, in which case the output of the model is unreliable. This condition can be computed based solely on the output of the model obtained simply by some special iterative prompting based on the previous responses. Such quantification, for instance, allows to detect hallucinations (cases when epistemic uncertainty is high) in both single- and multi-answer responses. This is in contrast to many standard uncertainty quantification strategies (such as thresholding the log-likelihood of a response) where hallucinations in the multi-answer case cannot be detected. We conduct a series of experiments which demonstrate the advantage of our formulation. Further, our investigations shed some light on how the probabilities assigned to a given output by an LLM can be amplified by iterative prompting, which might be of independent interest.
[ -0.4118685722351074, -1.1199061870574951, 1.127879023551941, 0.2327941507101059, 0.03822130709886551, 0.0896364375948906, -0.3300645649433136, -0.2905583083629608, 0.311588853597641, 0.2953277826309204, -0.4804587960243225, -0.4705462157726288, -0.8531307578086853, -0.005267252679914236, -0.4553373157978058, 0.6252830028533936, 0.07928863167762756, -0.06874258071184158, -0.2586852014064789, 0.0454646535217762, -0.09557737410068512, -0.5548602938652039, -0.6888903379440308, -0.06675540655851364, 0.5326226353645325, 0.2685386836528778, 0.8045734763145447, 0.5444847941398621, 0.3907938599586487, 0.24638044834136963, -0.11410949379205704, 0.08456649631261826, -0.3415984511375427, 0.26262107491493225, -0.1034894809126854, -0.7705388069152832, -0.049076683819293976, -0.14500178396701813, 0.5506120920181274, 0.6926043629646301, -0.5775405168533325, 0.20011326670646667, -0.32318052649497986, 0.32651999592781067, -0.7766525745391846, 0.0039458125829696655, -0.9358444213867188, 0.3016136586666107, -0.031136199831962585, -0.3864746689796448, -0.5363752245903015, -0.526339054107666, 0.04688182845711708, -0.35377851128578186, 0.09741261601448059, 0.43653133511543274, 0.8145761489868164, 0.5577926635742188, -0.33333659172058105, -0.548265814781189, -0.9791611433029175, 0.8024955987930298, -0.5915159583091736, 0.4857926368713379, 0.7877079844474792, 0.35207197070121765, -0.10952990502119064, -0.41363686323165894, -0.7266178131103516, -0.38062649965286255, 0.18034277856349945, 0.16358262300491333, -0.261985719203949, 0.03776796534657478, 0.18720197677612305, 0.5104864835739136, -0.5344039797782898, 0.13392700254917145, -0.054947517812252045, -0.4050385355949402, 0.30890315771102905, 0.0638723224401474, -0.0070223333314061165, 0.181552454829216, -0.3587861955165863, -0.05559072270989418, -0.6704980134963989, -0.04262341558933258, 0.7538428902626038, -0.10424996167421341, 0.23055876791477203, 0.9587365984916687, -0.09618695080280304, 0.49804699420928955, 0.19019892811775208, -0.1745573878288269, -0.16395525634288788, -0.12202624976634979, -0.22048506140708923, 0.12952497601509094, 0.7662153840065002, 0.01022719033062458, 0.12184816598892212, -0.21282801032066345, -0.2831280827522278, 0.1877291202545166, 0.2663656175136566, -0.5061861872673035, -0.0410916730761528, 0.5520056486129761, -0.13338181376457214, -0.24451039731502533, -0.0737561360001564, -0.5366036295890808, -0.5159785151481628, 0.06056565046310425, 0.5413853526115417, -0.49837741255760193, -0.28958091139793396, 0.28239402174949646, 0.06710006296634674, -0.07285960018634796, 0.47729599475860596, -0.724375307559967, 0.2285035252571106, 0.4824632406234741, 0.5591534376144409, -0.1326163113117218, -0.29835665225982666, -0.4201383590698242, 0.06493350863456726, -0.7362545132637024, 0.8251619338989258, -0.4482775926589966, -0.1817196011543274, 0.07323969155550003, -0.17297044396400452, 0.09054895490407944, -0.5828859806060791, 0.5395317077636719, -0.5727910995483398, 0.12023220956325531, -0.25612708926200867, -0.830151379108429, -0.19927093386650085, 0.3332747220993042, -0.600284993648529, 0.7800123691558838, 0.042588263750076294, -0.6928709149360657, 0.42974263429641724, -0.18039514124393463, -0.10804901272058487, -0.22003713250160217, -0.2607887089252472, -0.36904236674308777, 0.5099018216133118, -0.07242680341005325, 0.2349158078432083, -0.3970397114753723, 0.39076724648475647, -0.5525741577148438, -0.1891442835330963, 0.8218808770179749, -0.8884313702583313, 0.4568610191345215, 0.22793568670749664, -0.17893154919147491, -0.0818590596318245, -0.7070927023887634, 0.3083503246307373, -0.02221084199845791, -0.3995567858219147, -0.17398150265216827, 0.14075957238674164, -0.3563152253627777, 0.0008527509635314345, 0.2920132279396057, -0.5415647029876709, -0.05016528442502022, -0.43278083205223083, 0.15607815980911255, 0.7547481060028076, 0.23387999832630157, 0.2629586160182953, -0.4371257722377777, 0.426824152469635, 0.24691921472549438, -0.06630456447601318, -0.007814736105501652, -0.5785933136940002, -0.8362782001495361, -0.08787094056606293, 0.3005715012550354, 0.5713630318641663, -0.5942651629447937, 0.5478116869926453, -0.0071074748411774635, -0.3265411853790283, -0.7835586071014404, -0.04402635991573334, 0.2838192582130432, 0.28896471858024597, 0.22966593503952026, -0.03499552607536316, -0.5245832204818726, -0.8516601920127869, -0.33160364627838135, -0.7497494220733643, -0.21205197274684906, 0.057253461331129074, 0.4361632764339447, -0.0018740547820925713, 0.7724958062171936, -0.4414493143558502, -0.0342729352414608, 0.09224747866392136, 0.24647559225559235, 0.22900404036045074, 0.05020703002810478, 0.1220800131559372, -0.7161044478416443, -0.21968230605125427, 0.035435229539871216, -0.9328702688217163, 0.10029760003089905, -0.1365201473236084, 0.2948457896709442, 0.34024274349212646, 0.16622188687324524, -0.7175349593162537, 0.6850079894065857, 0.5720385909080505, -0.3702964782714844, 0.48395785689353943, -0.33470237255096436, 0.3353314697742462, -0.9121942520141602, -0.40102124214172363, 0.05126115307211876, -0.22920837998390198, -0.312948077917099, 0.06881853193044662, 0.0200960710644722, 0.3614523708820343, -0.17637066543102264, 0.3394753038883209, -0.2914164960384369, -0.07830143719911575, -0.15839439630508423, 0.07608313113451004, -0.15484637022018433, 0.2486676275730133, 0.1714983582496643, 0.7815576195716858, 0.6632530093193054, -0.603790283203125, 0.30077511072158813, 0.10724751651287079, -0.5318350791931152, 0.537553608417511, -0.43163931369781494, 0.150337815284729, -0.10330861806869507, -0.0770612582564354, -1.0608880519866943, -0.39225494861602783, 0.17863887548446655, -0.8113523125648499, 0.14599305391311646, 0.10765189677476883, -0.5817670822143555, -0.3267154097557068, -0.20313364267349243, -0.003935355227440596, 0.38779133558273315, -0.5062757134437561, 0.5481618642807007, 0.20027486979961395, -0.19603289663791656, -0.6775920391082764, -0.8756669759750366, 0.08154723793268204, -0.255095899105072, -0.46676310896873474, 0.013471356593072414, -0.3332112431526184, -0.8008720874786377, 0.07498195767402649, -0.2414291650056839, -0.24285224080085754, 0.2219860851764679, 0.3584549129009247, 0.08968685567378998, -0.38817915320396423, 0.28020933270454407, 0.16552461683750153, -0.009212792851030827, 0.3076070547103882, -0.3290351927280426, 0.4347553849220276, -0.18227729201316833, -0.9243518114089966, -0.43503230810165405, 0.26640406250953674, 0.3741168677806854, 0.2263672798871994, 0.9277583956718445, 0.416300505399704, -0.5733528733253479, -0.23815308511257172, -0.81470787525177, -0.27550169825553894, -0.4444134831428528, 0.21051143109798431, -0.5157375931739807, -1.0088937282562256, 0.7022314071655273, 0.038361288607120514, -0.22270654141902924, 0.32695817947387695, 0.8456217646598816, -0.25607895851135254, 0.9556438326835632, 0.52838134765625, 0.1265716403722763, -0.037798479199409485, 0.17051765322685242, 0.42647257447242737, -0.43437430262565613, -0.16013073921203613, -0.5364447236061096, 0.08252567052841187, -0.5188518166542053, -0.548186182975769, 0.4416440427303314, 0.15031954646110535, -0.193935826420784, -0.26130491495132446, -0.19645395874977112, 0.4461168646812439, 0.47607606649398804, 0.17276373505592346, 0.4949720501899719, -0.007868753746151924, 0.04834776371717453, -0.13285431265830994, -0.5394679307937622, -0.5852838754653931, 1.1124916076660156, 0.46835461258888245, 0.9540905952453613, 0.5055477619171143, 0.5567476749420166, 0.3138555884361267, 0.22160334885120392, -1.0913535356521606, 0.34138739109039307, 0.46128877997398376, -0.7810314297676086, -0.5718472599983215, -0.5485754609107971, -0.658436119556427, 0.1481131911277771, -0.3446047604084015, -1.0078198909759521, 0.13382136821746826, 0.04485822841525078, -0.594120442867279, 0.5441277623176575, -0.4604793190956116, 0.2713344991207123, -0.16454531252384186, -0.12343470007181168, -0.061187658458948135, -0.5058204531669617, 0.3445771038532257, -0.4701981544494629, 0.12106508016586304, 0.07205361127853394, -0.20666804909706116, 0.5344286561012268, -0.26207613945007324, 0.8240019083023071, 0.2141796350479126, -0.2898657023906708, 0.48513734340667725, 0.27086350321769714, 0.689617931842804, 0.4631752669811249, -0.2633450925350189, 0.12674158811569214, 0.014771820046007633, -0.21221235394477844, -0.6256987452507019, 0.5309146046638489, -0.7757939696311951, -0.9668186902999878, -0.4945264458656311, -0.5601031184196472, -0.34960439801216125, -0.050554804503917694, 0.6275794506072998, -0.14549970626831055, -0.20356231927871704, 0.18061219155788422, 1.1071211099624634, -0.42333468794822693, 0.2775653600692749, 0.4834699034690857, -0.3330760896205902, -0.3899328112602234, 0.6496543884277344, 0.27067628502845764, 0.44526657462120056, 0.5126734375953674, 0.2611539959907532, -0.3911522924900055, -0.7983192205429077, -0.2841237485408783, 0.13594333827495575, -0.9425799250602722, -0.05678950995206833, -0.6240273714065552, -0.2999110519886017, -0.39247021079063416, 0.16189052164554596, -0.45385777950286865, -0.3376421630382538, -0.21030718088150024, -0.4816352128982544, 0.40278029441833496, 0.8149226307868958, -0.06751883774995804, 0.26164379715919495, -0.5391329526901245, 0.19790425896644592, 0.3429707884788513, 0.08413225412368774, -0.20599472522735596, -0.8045750260353088, -0.11409278213977814, 0.09044435620307922, -0.2175416797399521, -0.9541155099868774, 0.42915645241737366, 0.057185277342796326, 0.5826606154441833, 0.6153088212013245, 0.3147982060909271, 0.642314612865448, -0.3828912079334259, 0.7298455238342285, 0.10546521097421646, -1.0258450508117676, 0.46565699577331543, -0.18330314755439758, -0.06867809593677521, 0.49166905879974365, 0.6705011129379272, -0.3063482344150543, -0.8923524618148804, -0.7864164113998413, -0.6414960026741028, 0.26494187116622925, 0.15792791545391083, 0.058558035641908646, -0.07269337028265, 0.4291173219680786, 0.16887345910072327, 0.4841058850288391, -0.6734300255775452, -0.34190115332603455, 0.15917746722698212, -0.05921827629208565, -0.0010172838810831308, -0.4757881760597229, -0.44044286012649536, 0.005335943307727575, 0.5460251569747925, -0.2541806697845459, 0.6165380477905273, 0.18098263442516327, -0.009673168882727623, -0.5727202892303467, 0.259586364030838, 0.6648641228675842, 0.9125576615333557, -0.2342434972524643, 0.3914177417755127, 0.3344460725784302, -0.22004155814647675, 0.11570112407207489, -0.234184131026268, -0.09248422086238861, 0.20025312900543213, 0.5284721255302429, 0.8355560898780823, -0.12131639569997787, -0.6351802945137024, 0.5581045150756836, -0.15497055649757385, -0.24055759608745575, -0.8032101988792419, -0.2039055973291397, 0.05759478360414505, 0.33785900473594666, 0.46531566977500916, 0.1902196854352951, 0.0950954258441925, -0.656644344329834, 0.27901706099510193, 0.3459731340408325, -0.32899272441864014, -0.393252432346344, 0.7004229426383972, -0.5543937087059021, -0.38344913721084595, 0.42542368173599243, -0.33238622546195984, -0.4223015010356903, 0.5536816716194153, 0.5800940990447998, 0.7116165161132812, -0.2986932396888733, 0.3964345455169678, 0.19063815474510193, 0.5768305659294128, -0.3524782359600067, 0.4133475720882416, 0.3473217487335205, -1.0457537174224854, -0.445511132478714, -0.6576924920082092, -0.6441662907600403, 0.18966427445411682, -0.8756203055381775, -0.0577460378408432, -0.5991756916046143, -0.2428354173898697, -0.13720005750656128, -0.17438188195228577, -0.42059603333473206, 0.250213086605072, 0.13498705625534058, 0.7985184788703918, -0.9925122261047363, 0.8200289607048035, 0.38412338495254517, -0.29928961396217346, -0.8881914019584656, 0.3820347189903259, 0.22764858603477478, -0.935106098651886, 0.4464024007320404, -0.21941134333610535, -0.03356926515698433, -0.132033571600914, -0.620726466178894, -1.008138656616211, 0.8812424540519714, 0.4434649348258972, -0.5575981736183167, 0.11587353050708771, 0.05221913382411003, 0.455461710691452, -0.34537988901138306, 0.27423304319381714, 0.5346804261207581, 0.6688034534454346, 0.42730793356895447, -0.8193233609199524, -0.08222128450870514, 0.2218390703201294, -0.0921878069639206, 0.10474032908678055, -0.44237303733825684, 1.0162246227264404, -0.5452902317047119, -0.19344176352024078, 0.2584038972854614, 0.8012427091598511, 0.4086260497570038, 0.4817239046096802, 0.3356781005859375, 0.7028382420539856, 1.332314372062683, -0.3133011758327484, 1.2368841171264648, -0.27372580766677856, 0.5156920552253723, 1.1599278450012207, -0.3292554020881653, 1.0538980960845947, 0.7870038151741028, -0.3681681156158447, 0.15375183522701263, 1.018539547920227, 0.14861156046390533, 0.4294848144054413, 0.2808782458305359, -0.36211222410202026, -0.5264694690704346, -0.08409091085195541, -0.2606099843978882, 0.18867166340351105, 0.6672097444534302, -0.3215683400630951, 0.04898152872920036, 0.00822350475937128, 0.009797475300729275, 0.11420625448226929, -0.015457254834473133, 0.6594381928443909, 0.28682881593704224, -0.5771987438201904, 0.5334980487823486, -0.11791453510522842, 0.47275879979133606, -0.5287263989448547, 0.08843662589788437, -0.12169930338859558, 0.03874410316348076, -0.15656693279743195, -0.9635286331176758, 0.4333283603191376, -0.2762455344200134, -0.19618628919124603, -0.05084226280450821, 0.559606671333313, -0.41125229001045227, -0.5401760339736938, 0.2564631700515747, 0.7818629741668701, 0.2682346701622009, -0.1617414802312851, -0.4133986830711365, 0.2037232369184494, 0.06676427274942398, -0.547784149646759, 0.2550280690193176, 1.0114412307739258, 0.11834687739610672, 1.0369820594787598, 0.39735135436058044, 0.4655769169330597, 0.1234305277466774, -0.2746809124946594, 0.5681145191192627, -0.47389721870422363, -0.15451973676681519, -0.9868992567062378, 0.21503441035747528, 0.05258610099554062, -0.3972998857498169, 0.9052239656448364, 0.37371015548706055, 0.7936747074127197, 0.012592182494699955, 1.015967845916748, 0.09692750126123428, 0.44867879152297974, -0.7299511432647705, 0.5975387692451477, -0.4202527701854706, 0.7304633855819702, 0.09157921373844147, -0.9155163764953613, -0.3052259087562561, 0.8014901280403137, -0.40672141313552856, -0.11927497386932373, 0.9716274738311768, 0.813772439956665, 0.2875571846961975, 0.1708543598651886, 0.7904633283615112, 0.5156176686286926, 0.011512545868754387, 0.46980002522468567, 1.1785310506820679, -0.19606934487819672, 0.4337378740310669, -0.09458296000957489, -0.16857251524925232, -0.10110895335674286, -0.8231464624404907, -0.6920946836471558, -0.5659046769142151, -0.43051427602767944, -0.7230789065361023, -0.06977276504039764, 0.8986384868621826, 0.4309036135673523, -0.9407526254653931, -0.1633780151605606, 0.07018867880105972, 0.43460002541542053, -0.11962997168302536, -0.1671617329120636, 0.06512147188186646, -0.18887372314929962, -0.562900960445404, 0.4289328157901764, 0.3815324604511261, 0.18318797647953033, -0.4529465138912201, -0.05372099578380585, -0.09635733813047409, 0.44673481583595276, 0.31011366844177246, 0.09618577361106873, -1.0289005041122437, -0.5850643515586853, -0.008334578946232796, -0.020492173731327057, 0.05775734782218933, 0.36504343152046204, -0.4490474462509155, 0.36764848232269287, 0.20799840986728668, 0.7403771877288818, 0.35207560658454895, -0.21222496032714844, 0.5604042410850525, -0.6509050726890564, -0.08662199229001999, 0.3948556184768677, 0.35650917887687683, 0.11115004867315292, -0.616887629032135, 0.5593924522399902, 0.16358694434165955, -0.5774810910224915, -1.0122567415237427, 0.44117751717567444, -0.8337099552154541, -0.19850996136665344, 1.2205075025558472, -0.3545983135700226, -0.3208094835281372, -0.17058280110359192, 0.1948731541633606, -0.0865425243973732, -0.3755582869052887, 0.9927257299423218, 1.097804069519043, -0.01923367753624916, -0.14904533326625824, -0.7524905204772949, 0.3225402235984802, 0.30375218391418457, -0.6452344059944153, -0.0720728188753128, 0.3248971402645111, 0.23241834342479706, 0.5587044358253479, 0.4747835397720337, 0.1962788999080658, 0.06167090684175491, 0.21905671060085297, -0.07919533550739288, 0.3616586923599243, -0.372098445892334, -0.3225090801715851, 0.4142599105834961, 0.4632575213909149, 0.022884083911776543 ]
http://arxiv.org/abs/2406.02539v1
http://arxiv.org/pdf/2406.02539v1
Parrot: Multilingual Visual Instruction Tuning
2024-06-04T17:56:28
2024-06-04T17:56:28
Hai-Long Sun, Da-Wei Zhou, Yang Li, Shiyin Lu, Chao Yi, Qing-Guo Chen, Zhao Xu, Weihua Luo, Kaifu Zhang, De-Chuan Zhan, Han-Jia Ye
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
The rapid development of Multimodal Large Language Models (MLLMs) like GPT-4V has marked a significant step towards artificial general intelligence. Existing methods mainly focus on aligning vision encoders with LLMs through supervised fine-tuning (SFT) to endow LLMs with multimodal abilities, making MLLMs' inherent ability to react to multiple languages progressively deteriorate as the training process evolves. We empirically find that the imbalanced SFT datasets, primarily composed of English-centric image-text pairs, lead to significantly reduced performance in non-English languages. This is due to the failure of aligning the vision encoder and LLM with multilingual tokens during the SFT process. In this paper, we introduce Parrot, a novel method that utilizes textual guidance to drive visual token alignment at the language level. Parrot makes the visual tokens condition on diverse language inputs and uses Mixture-of-Experts (MoE) to promote the alignment of multilingual tokens. Specifically, to enhance non-English visual tokens alignment, we compute the cross-attention using the initial visual features and textual embeddings, the result of which is then fed into the MoE router to select the most relevant experts. The selected experts subsequently convert the initial visual tokens into language-specific visual tokens. Moreover, considering the current lack of benchmarks for evaluating multilingual capabilities within the field, we collect and make available a Massive Multilingual Multimodal Benchmark which includes 6 languages, 15 categories, and 12,000 questions, named as MMMB. Our method not only demonstrates state-of-the-art performance on multilingual MMBench and MMMB, but also excels across a broad range of multimodal tasks. Both the source code and the training dataset of Parrot will be made publicly available.
[ -0.4131563901901245, -1.0001553297042847, -0.01325682271271944, 0.36351051926612854, -0.25650137662887573, 0.06383607536554337, -0.5546354651451111, -0.41611000895500183, 0.06291878968477249, 0.22790101170539856, -0.6283262372016907, -0.41938355565071106, -0.4893524944782257, 0.21434815227985382, 0.04050109162926674, 0.8390696048736572, 0.1624702364206314, 0.2559625804424286, -0.21312464773654938, -0.4883946478366852, -0.7150704860687256, -0.3510238528251648, -0.6142708659172058, 0.09291394799947739, 0.611997663974762, 0.43126046657562256, 0.6782978773117065, 0.7970541715621948, 0.6173602938652039, 0.3851483166217804, 0.19078604876995087, 0.6422175765037537, -0.4350568354129791, -0.11518064141273499, -0.35964542627334595, -0.354829341173172, -0.3520434498786926, -0.17335718870162964, 0.5157053470611572, 0.2359817773103714, -0.03803999349474907, 0.17423754930496216, 0.09249228239059448, 0.5394734144210815, -0.609557032585144, 0.36593014001846313, -0.717256486415863, 0.09151358902454376, -0.45558443665504456, -0.6360765099525452, -0.3812428414821625, 0.08683928102254868, -0.05448174476623535, -0.9259687066078186, 0.12754012644290924, 0.2095002830028534, 0.693697988986969, 0.3812292218208313, -0.5607528686523438, -0.0466337725520134, -0.13213466107845306, 1.09203040599823, -0.538101077079773, 0.5352411270141602, 0.21277692914009094, 0.3548624515533447, -0.07895007729530334, -0.4223465621471405, -0.5276052355766296, -0.005620548967272043, 0.09585887938737869, 0.15308687090873718, 0.09147881716489792, 0.09026096016168594, 0.07296580076217651, 0.304533988237381, -0.6862549185752869, 0.16867059469223022, -0.32524576783180237, -0.4161781072616577, 0.5367539525032043, 0.024341000244021416, 0.39832478761672974, 0.08166534453630447, -0.33966803550720215, -0.0876188799738884, -0.425967276096344, 0.23249170184135437, 0.2129301130771637, 0.44161197543144226, -0.18267208337783813, 0.7222270369529724, -0.07080107927322388, 0.8976171016693115, 0.16972710192203522, -0.34654200077056885, 0.40158459544181824, -0.5491520762443542, -0.17181570827960968, 0.05389248579740524, 0.8181701302528381, 0.7068685293197632, 0.6003206968307495, 0.08776628226041794, 0.07865393161773682, 0.008045623078942299, 0.17691412568092346, -0.5428965091705322, -0.011797755025327206, -0.05023925006389618, -0.3376947045326233, -0.19555510580539703, -0.12704907357692719, -0.6303285956382751, -0.35833102464675903, -0.4119139313697815, 0.26707541942596436, -0.627570390701294, -0.16678979992866516, -0.18384476006031036, -0.2086128294467926, 0.3646511435508728, 0.35575246810913086, -1.2793395519256592, -0.20873820781707764, 0.6760817766189575, 0.7008239030838013, 0.007113402709364891, -0.7181166410446167, -0.9330617785453796, 0.41514748334884644, -0.5154131650924683, 0.6576506495475769, -0.8487796783447266, 0.007993391714990139, 0.00020244013285264373, 0.261496365070343, -0.21608133614063263, -0.10704707354307175, 0.13277237117290497, -0.14232632517814636, 0.41302940249443054, -0.2981639504432678, -0.32570797204971313, -0.318411648273468, 0.5858799815177917, -0.3109818398952484, 0.9969262480735779, -0.12113910168409348, -0.776604175567627, 0.4561755955219269, -0.49101778864860535, -0.6133613586425781, -0.028594721108675003, -0.4988499581813812, -0.2862635850906372, -0.07534965127706528, 0.932270884513855, 0.5362228155136108, -0.06860387325286865, 0.0948839783668518, -0.2539840638637543, -0.5685235261917114, -0.1257638931274414, -0.6586775779724121, 0.6734477877616882, 0.04059535637497902, -0.4188085198402405, 0.4817206859588623, -0.6086347699165344, 0.15214192867279053, -0.0658242404460907, -0.3222793638706207, -0.26340144872665405, 0.09667222946882248, 0.2777842879295349, 0.1820484697818756, 0.29127591848373413, -0.3906409442424774, 0.3251609206199646, -0.41626057028770447, 0.6961790919303894, 0.856152355670929, -0.16722643375396729, 0.28681236505508423, -0.10564827173948288, 0.5926620960235596, 0.10403411835432053, 0.44074398279190063, -0.5328119397163391, -0.8377829790115356, -0.7786429524421692, -0.3191956579685211, 0.09282417595386505, 0.6561905145645142, -0.9375666975975037, 0.16939397156238556, -0.336700975894928, -0.08993467688560486, -0.8456196188926697, 0.4817405343055725, 0.5966683626174927, 0.43689432740211487, 0.38656899333000183, -0.15343235433101654, -0.3321771025657654, -1.0349633693695068, -0.27764442563056946, 0.003173636505380273, 0.24725541472434998, 0.24627463519573212, 0.10401015728712082, -0.23230844736099243, 0.5640616416931152, 0.0915268138051033, -0.5640337467193604, 0.04511316493153572, 0.09261356294155121, -0.0786070004105568, 0.555487871170044, 0.7251853942871094, -0.846813976764679, -0.46878066658973694, 0.6328538060188293, -0.744545042514801, 0.11674797534942627, -0.1863950788974762, -0.2710050344467163, 0.3835718333721161, 0.6895807385444641, -0.19172227382659912, 0.18081063032150269, 0.5547656416893005, -0.19602546095848083, 0.30473899841308594, -0.3553978204727173, 0.42354151606559753, -0.9647095799446106, -0.09802406281232834, 0.035283785313367844, -0.3024531304836273, -0.12922132015228271, 0.34848400950431824, 0.42504388093948364, -0.06144722178578377, -0.6203659772872925, 0.5417485237121582, -0.5907601118087769, 0.1782064586877823, 0.0017274804413318634, 0.03606576472520828, 0.022546108812093735, 0.7963399291038513, -0.08426884561777115, 1.0141408443450928, 0.6274192333221436, -0.2985639274120331, 0.5100239515304565, 0.2533542215824127, -0.1637895405292511, 0.8971880674362183, -0.32410573959350586, -0.026301050558686256, -0.062142081558704376, -0.12359625101089478, -0.8220481872558594, -0.15927019715309143, 0.1979232132434845, -0.2851198613643646, 0.43209633231163025, -0.15896885097026825, -0.38581183552742004, -0.32110142707824707, -0.33757057785987854, 0.5004085302352905, 0.16851966083049774, -0.5582617521286011, 0.6353714466094971, 0.09937109798192978, -0.2081388533115387, -1.0057401657104492, -0.8914969563484192, 0.38783982396125793, -0.11259865015745163, -0.7010537981987, 0.07985856384038925, -0.12188958376646042, 0.1343243271112442, -0.06779983639717102, 0.14065121114253998, 0.09845077991485596, -0.17473027110099792, 0.0220956951379776, -0.05902722477912903, -0.48510006070137024, 0.23129023611545563, 0.21093225479125977, -0.008760499767959118, -0.3036123812198639, -0.4365914762020111, 0.2569478750228882, -0.38963302969932556, -0.5793218016624451, -0.5111196041107178, 0.32195091247558594, 0.6957805156707764, -0.8889597058296204, 0.5309918522834778, 0.9796610474586487, 0.09865206480026245, -0.06772584468126297, -0.6872110962867737, 0.22495800256729126, -0.5127208232879639, 0.6323628425598145, -0.4385816156864166, -0.7390425205230713, 0.2848466634750366, 0.09169267117977142, 0.16667014360427856, 0.3036585748195648, 0.6808216571807861, -0.0602974109351635, 1.2583774328231812, 0.7821053266525269, -0.2292657196521759, 0.7846466302871704, -0.0970456525683403, -0.019713470712304115, -0.6697096228599548, -0.27854371070861816, -0.08940459787845612, -0.5241000652313232, -0.6061499118804932, -0.6332889199256897, 0.36871781945228577, -0.034882642328739166, -0.14210471510887146, -0.09865069389343262, -0.63621985912323, 0.7897510528564453, 0.7965242266654968, 0.05960167199373245, 0.08195678889751434, 0.14905239641666412, -0.38936710357666016, -0.11252371966838837, -0.7592200636863708, -0.21495871245861053, 1.0964436531066895, 0.03657440096139908, 0.596024215221405, 0.07499293237924576, 0.2533062994480133, 0.15875637531280518, -0.04781905934214592, -0.6613884568214417, 0.363015741109848, -0.33436623215675354, -0.2862373888492584, -0.3815803825855255, -0.11951924115419388, -0.8186296820640564, 0.442901611328125, -0.20764514803886414, -0.41543543338775635, 0.005200002808123827, 0.24643352627754211, -0.00755681237205863, 0.04783950001001358, -0.8765882849693298, 1.1042487621307373, -0.6659192442893982, -0.633251965045929, -0.30875474214553833, -0.7969775199890137, 0.33562082052230835, -0.07518821209669113, 0.3144457936286926, -0.033065348863601685, -0.11868862807750702, 0.41105759143829346, -0.3850124478340149, 0.9016725420951843, -0.2656121850013733, -0.19115304946899414, 0.03476027026772499, -0.3303326964378357, 0.4505678117275238, -0.04436303302645683, -0.10331595689058304, 0.18436577916145325, 0.0364546924829483, -0.7448784112930298, -0.5483308434486389, 0.7396318316459656, -0.7940679788589478, -0.5173725485801697, -0.1611042320728302, -0.6741148233413696, -0.3442891538143158, 0.3981815576553345, 0.1816166490316391, 0.5009701251983643, -0.19899272918701172, 0.302409827709198, 0.25573810935020447, -0.44344574213027954, 0.403749018907547, 0.5023190379142761, -0.17719776928424835, -0.5971952080726624, 1.1187406778335571, 0.051790524274110794, 0.038584694266319275, 0.5643160939216614, 0.1750306487083435, -0.31517258286476135, -0.48950251936912537, -0.8761806488037109, 0.022037776187062263, -0.6926689743995667, -0.15137921273708344, -0.2859479784965515, 0.13888932764530182, -0.3955084979534149, -0.2779298424720764, -0.20850928127765656, -0.3348314166069031, -0.21327874064445496, 0.11552835255861282, 0.42945751547813416, 0.40760913491249084, 0.2391166239976883, 0.22278434038162231, -0.6152918338775635, 0.3767295479774475, 0.3449123501777649, 0.3690882921218872, -0.12146517634391785, -0.23138679563999176, -0.39064574241638184, 0.36388200521469116, -0.3744060695171356, -0.4030984938144684, 0.1438497006893158, 0.7436655163764954, 0.6769609451293945, 0.6763583421707153, -0.19330276548862457, 1.274871826171875, -0.6617047190666199, 0.8827217221260071, 0.19443631172180176, -0.9610100388526917, 0.708459734916687, -0.6013135313987732, 0.37248513102531433, 0.4192405939102173, -0.08926920592784882, -0.5653777718544006, -0.6277929544448853, -0.03608270362019539, -0.6981028914451599, 0.6369016170501709, 0.015087427571415901, 0.08502020686864853, -0.10776753723621368, 0.0002476773806847632, 0.1592816263437271, 0.24701903760433197, -0.4779086410999298, 0.08945368975400925, -0.5945412516593933, -0.5347707271575928, -0.3865117132663727, 0.04090820997953415, -0.16308552026748657, -0.5674923658370972, 0.5147806406021118, -0.5549829602241516, -0.05556962639093399, -0.032058075070381165, -0.3310708701610565, -0.12170005589723587, 0.06891002506017685, 0.8802620768547058, 0.7057013511657715, 0.09455141425132751, -0.04276026412844658, 0.02166914753615856, -0.2980373203754425, 0.04099513962864876, -0.09811025857925415, 0.16900737583637238, -0.3237389922142029, 0.5698012709617615, 0.9000147581100464, 0.39089903235435486, -0.7532632350921631, 0.7581318616867065, -0.07415607571601868, -0.2931203246116638, 0.05299556627869606, 0.17100317776203156, -0.025175796821713448, 0.3508791923522949, 0.25814568996429443, 0.19923974573612213, -0.23416472971439362, -0.41005802154541016, 0.07288279384374619, 0.6969897150993347, -0.22391065955162048, -0.11413253843784332, 0.9088320136070251, 0.5717082023620605, -0.22060400247573853, 0.6846495866775513, 0.11529608070850372, -0.3929184675216675, 0.6153688430786133, 0.4635714888572693, 0.6105137467384338, -0.13491709530353546, 0.06975862383842468, 0.05443723127245903, 0.6034541130065918, 0.1400241106748581, 0.32778462767601013, -0.2408435344696045, -0.4927501976490021, -0.5929314494132996, -0.5221611261367798, -0.21224814653396606, -0.09922518581151962, -0.5081575512886047, 0.343351274728775, -0.32570651173591614, 0.020691990852355957, -0.07185496389865875, -0.10232654958963394, -0.7711204886436462, 0.16166016459465027, 0.2600891888141632, 0.7247331142425537, -0.7419074773788452, 0.9355372190475464, 0.9269841909408569, -0.44296348094940186, -0.6319499611854553, -0.20281027257442474, 0.17649821937084198, -1.1539674997329712, 0.4879988133907318, 0.35311049222946167, -0.1882576048374176, 0.08984749019145966, -0.3740013837814331, -0.6590632796287537, 0.8715421557426453, 0.545917272567749, -0.7458081841468811, 0.19345532357692719, 0.3003963232040405, 0.5815733075141907, -0.208456352353096, 0.26155948638916016, 0.14326894283294678, 0.6468715667724609, -0.10071242600679398, -1.0819042921066284, -0.2565945088863373, -0.7019058465957642, 0.04827529191970825, 0.13034014403820038, -1.0143332481384277, 0.7014676928520203, -0.1878504753112793, 0.10513480007648468, -0.03730436787009239, 0.5134955048561096, -0.011670580133795738, 0.16582101583480835, 0.29853615164756775, 0.4038708806037903, 0.9520263671875, -0.010931413620710373, 0.9088127017021179, -0.4786613881587982, -0.021534617990255356, 0.7898352742195129, 0.0011772509897127748, 0.8611509799957275, 0.8148191571235657, 0.07120348513126373, 0.2646520137786865, 0.7556692361831665, -0.24246472120285034, 0.5502439141273499, -0.20448046922683716, 0.17690010368824005, -0.3014034032821655, 0.050066929310560226, -0.5550124645233154, 0.6407060623168945, 0.2817416489124298, -0.28371188044548035, 0.03145410865545273, 0.425384521484375, -0.4693349003791809, 0.04358367994427681, -0.42607277631759644, 0.8383738994598389, -0.23668643832206726, -0.5827831029891968, 0.9094661474227905, -0.07885756343603134, 0.9380638599395752, -0.6325152516365051, -0.05334041267633438, -0.26821741461753845, 0.3812100887298584, -0.17562483251094818, -0.5679612755775452, -0.027760235592722893, -0.033726561814546585, -0.22494779527187347, -0.1871228963136673, 0.1524009257555008, -0.7221192717552185, -0.8456180691719055, 0.23100924491882324, 0.2552662491798401, 0.06371038407087326, -0.031048454344272614, -0.8029772639274597, 0.06339126080274582, 0.16509898006916046, -0.10965356230735779, 0.3212421238422394, 0.81976318359375, -0.41382503509521484, 0.7510598301887512, 0.6489460468292236, 0.08308543264865875, 0.3608991503715515, 0.28556177020072937, 0.6229365468025208, -0.6059004664421082, -0.6789348125457764, -0.8204882740974426, 0.4472484886646271, 0.030746780335903168, -0.4573585093021393, 0.9345223307609558, 0.5920259952545166, 0.9711018204689026, -0.1532714068889618, 0.7558139562606812, 0.2868801951408386, 0.022266101092100143, -0.6850425004959106, 0.6987866759300232, -0.9974715113639832, 0.06422895193099976, -0.3387918770313263, -0.8130154013633728, -0.3715246617794037, 0.5772136449813843, -0.14038509130477905, -0.1337757408618927, 0.5720389485359192, 0.8368187546730042, -0.2883289158344269, -0.06384345889091492, 0.37626418471336365, -0.06253425031900406, 0.3864496946334839, 0.4876400828361511, 0.728962242603302, -0.33516228199005127, 0.656410276889801, -0.17383381724357605, -0.13166604936122894, -0.3478929102420807, -0.8549347519874573, -1.0571376085281372, -0.4227963089942932, -0.25380709767341614, 0.3700908422470093, 0.2805689573287964, 0.7374831438064575, 0.8462262153625488, -0.785246729850769, -0.0354786291718483, -0.00773965660482645, -0.027714401483535767, -0.6587979197502136, -0.20467683672904968, 0.32127243280410767, -0.6805886030197144, -0.8532798290252686, 0.536824643611908, 0.4952676296234131, -0.05391747131943703, -0.1813669502735138, -0.2385861724615097, -0.1511228233575821, -0.16810652613639832, 0.6633275747299194, 0.13162942230701447, -1.1149519681930542, -0.2561422288417816, -0.13569992780685425, -0.06712507456541061, 0.14542962610721588, 0.49269023537635803, -0.5945062041282654, 0.8882616758346558, 0.25450366735458374, 0.6744556427001953, 0.31957608461380005, 0.21958407759666443, 0.7458215951919556, -1.0482385158538818, 0.6458710432052612, -0.06438017636537552, 0.3297874331474304, 0.4137152135372162, -0.3731222450733185, 0.3225025236606598, 0.039807673543691635, -0.45526769757270813, -0.5454353094100952, -0.12849284708499908, -0.9458217620849609, -0.3047802448272705, 0.8763829469680786, 0.10761946439743042, -0.27183815836906433, -0.011744889430701733, -0.6254100203514099, 0.1344933956861496, -0.2991911768913269, 0.5226641893386841, 0.7279054522514343, 0.028561199083924294, -0.41021886467933655, -0.42890465259552, 0.2946026623249054, 0.5486374497413635, -0.4501940608024597, 0.08217191696166992, 0.4703153371810913, 0.15184864401817322, -0.07887426018714905, 0.44832539558410645, 0.021981367841362953, 0.39987894892692566, -0.09257727116346359, 0.0712524950504303, -0.5390424728393555, -0.2361147105693817, -0.26576489210128784, 0.03802104294300079, -0.0473729707300663, -0.4722003638744354 ]
http://arxiv.org/abs/2406.02537v1
http://arxiv.org/pdf/2406.02537v1
TopViewRS: Vision-Language Models as Top-View Spatial Reasoners
2024-06-04T17:55:43
2024-06-04T17:55:43
Chengzu Li, Caiqi Zhang, Han Zhou, Nigel Collier, Anna Korhonen, Ivan Vulić
cs.CL
cs.CL, cs.CV, cs.LG
Top-view perspective denotes a typical way in which humans read and reason over different types of maps, and it is vital for localization and navigation of humans as well as of `non-human' agents, such as the ones backed by large Vision-Language Models (VLMs). Nonetheless, spatial reasoning capabilities of modern VLMs remain unattested and underexplored. In this work, we thus study their capability to understand and reason over spatial relations from the top view. The focus on top view also enables controlled evaluations at different granularity of spatial reasoning; we clearly disentangle different abilities (e.g., recognizing particular objects versus understanding their relative positions). We introduce the TopViewRS (Top-View Reasoning in Space) dataset, consisting of 11,384 multiple-choice questions with either realistic or semantic top-view map as visual input. We then use it to study and evaluate VLMs across 4 perception and reasoning tasks with different levels of complexity. Evaluation of 10 representative open- and closed-source VLMs reveals the gap of more than 50% compared to average human performance, and it is even lower than the random baseline in some cases. Although additional experiments show that Chain-of-Thought reasoning can boost model capabilities by 5.82% on average, the overall performance of VLMs remains limited. Our findings underscore the critical need for enhanced model capability in top-view spatial reasoning and set a foundation for further research towards human-level proficiency of VLMs in real-world multimodal tasks.
[ -0.7479243278503418, -0.5184770226478577, 0.9587418437004089, -0.014001374132931232, -0.13616913557052612, -0.219187930226326, -0.1052323430776596, -0.4678996503353119, -0.167912557721138, 0.6365769505500793, -0.22695639729499817, -0.38711413741111755, -0.7065313458442688, -0.20475904643535614, -0.27676916122436523, 0.5286762118339539, 0.011284299194812775, -0.07813551276922226, -0.581178605556488, -0.17410212755203247, -0.4141559302806854, -0.8327536582946777, 0.040686774998903275, -0.280468225479126, 0.6971853971481323, 0.17215105891227722, 0.7714416980743408, 0.3719896376132965, 0.5532388091087341, 0.4218665063381195, -0.3407805263996124, 0.35453540086746216, -0.4165903329849243, -0.08308161050081253, -0.624310314655304, -0.44220587611198425, -0.35024601221084595, -0.035632237792015076, 0.20057478547096252, 0.8174700736999512, -0.12520207464694977, -0.05716883763670921, -0.18589596450328827, 0.7966444492340088, -0.7313348650932312, 0.1152244508266449, -0.5031406283378601, 0.22263674437999725, 0.10897812247276306, -0.1873445361852646, -0.26617005467414856, -0.1451222002506256, 0.47619083523750305, -0.9401835799217224, 0.07721602916717529, 0.40310582518577576, 1.0211703777313232, 0.5439620614051819, -0.35260722041130066, 0.16155396401882172, -1.0188722610473633, 0.8995894193649292, -0.2451750785112381, 0.8300576210021973, 0.6657941341400146, 0.6095781326293945, 0.23934702575206757, -0.22212396562099457, -0.41426992416381836, -0.30807971954345703, -0.3102053105831146, 0.1512163281440735, -0.3398226797580719, -0.11487425118684769, 0.5574026703834534, 0.22163709998130798, -0.6816630363464355, -0.23490393161773682, -0.42341840267181396, -0.05873296782374382, 0.349019855260849, 0.13867835700511932, 0.14059686660766602, 0.0017229322111234069, -0.48613592982292175, 0.10864941775798798, -0.4356379806995392, -0.13669340312480927, -0.3544238805770874, -0.1814679354429245, -0.05570095032453537, 0.7281522750854492, -0.41530269384384155, 0.9344696402549744, 0.06610345095396042, 0.16572272777557373, -0.12723924219608307, -0.5583394169807434, -0.4942739009857178, -0.6943008899688721, 0.0951773151755333, 0.5847072005271912, 0.7158025503158569, -0.26962515711784363, 0.0012511475943028927, 0.16311421990394592, 0.4620859622955322, -0.3835308849811554, -0.2503564953804016, 0.22239874303340912, -0.4526917636394501, -0.046065110713243484, -0.19482116401195526, -0.5027332305908203, -0.710354208946228, -0.6560409069061279, 0.4797782003879547, -0.268222451210022, -0.4554295241832733, 0.3099724352359772, -0.283345490694046, 0.569388747215271, 0.7862697243690491, -0.5470396280288696, 0.27735453844070435, 0.5665875673294067, 0.6264217495918274, 0.014263086020946503, -0.5873326659202576, -0.019467618316411972, 0.12147628515958786, -0.5139189958572388, 1.1144598722457886, -0.4184516668319702, -0.15883225202560425, -0.4663040041923523, -0.27032727003097534, -0.3069433569908142, -0.6299302577972412, 0.20151114463806152, -0.22829698026180267, 0.493511825799942, -0.8302822709083557, -0.09236015379428864, -0.19590513408184052, 0.8440530896186829, -0.5013852715492249, 0.9173628091812134, 0.07244326919317245, -0.6727887392044067, 0.7404789328575134, -0.5219987630844116, -0.007441987749189138, 0.1726614087820053, -0.32453620433807373, 0.10513710975646973, 0.24798250198364258, 0.6959014534950256, 0.05891179293394089, -0.26982581615448, 0.18536393344402313, -0.08007468283176422, -0.030230512842535973, 0.24868646264076233, -0.15617863833904266, 0.5007522106170654, 0.24241727590560913, -0.14365248382091522, 0.5328072905540466, -0.6113154888153076, 0.08560841530561447, 0.20141778886318207, -0.17991594970226288, -0.6721485257148743, 0.49986252188682556, -0.038531433790922165, 0.44593748450279236, 0.16109560430049896, -0.5616711378097534, 0.2049657702445984, -0.24654895067214966, 0.15812988579273224, 0.49035775661468506, -0.27897733449935913, 0.3545275926589966, -0.2796677350997925, 0.17142543196678162, 0.37805822491645813, 0.4144617021083832, -0.011668945662677288, -0.5482122898101807, -0.9170902371406555, -0.05190078541636467, -0.32128557562828064, 0.8531912565231323, -0.9158520698547363, 0.07049593329429626, -0.20474080741405487, -0.5706276297569275, -0.009140177629888058, -0.09610234200954437, 0.5346808433532715, 0.43971383571624756, 0.4210461974143982, -0.15530739724636078, -0.5227362513542175, -0.6185297966003418, -0.19539345800876617, -0.19038544595241547, 0.012769825756549835, 0.5720735788345337, 0.5620865225791931, -0.04252652823925018, 0.8564151525497437, -0.4065837562084198, -0.21889139711856842, -0.6524118185043335, -0.48897019028663635, 0.0075826337561011314, 0.20801302790641785, 0.8763642907142639, -0.9061798453330994, 0.058943621814250946, 0.187813401222229, -1.1159143447875977, -0.11212527006864548, -0.03951750323176384, -0.5895333290100098, -0.006654967088252306, 0.3445117473602295, -0.7994132041931152, 0.5863670706748962, 0.19046898186206818, -0.8536909222602844, 0.3357599675655365, -0.5145056247711182, 0.098844513297081, -0.5546548962593079, -0.04208395257592201, 0.3939671814441681, 0.04119596257805824, -0.7536991238594055, 0.4019959568977356, -0.3598003685474396, -0.014874767512083054, -0.4223800599575043, 0.6161235570907593, -0.4728200435638428, -0.5317209959030151, -0.05343536287546158, 0.2920131981372833, 0.021970050409436226, 0.551743745803833, 0.4080196022987366, 0.49157002568244934, 0.6515869498252869, -0.5807332396507263, 0.1752241849899292, 0.28208082914352417, -0.479510098695755, 0.6152116060256958, -0.6037229299545288, -0.11792141944169998, -0.2854010760784149, -0.012146422639489174, -1.170117974281311, -0.3064577579498291, 0.05742507800459862, -0.2994140386581421, -0.27076321840286255, -0.09292900562286377, -0.2856403887271881, -0.43315786123275757, 0.28686410188674927, 0.4067625403404236, 0.23431260883808136, -0.4665464758872986, 0.6743152141571045, 0.5059396028518677, 0.14443553984165192, -0.36094024777412415, -0.7360866665840149, 0.1388024538755417, -0.03239782899618149, -0.6826584935188293, -0.1133439764380455, 0.08509271591901779, -0.6020430326461792, -0.06987487524747849, -0.1296950727701187, -0.10014238953590393, -0.04931573197245598, 0.22239531576633453, 0.19328254461288452, -0.22978879511356354, -0.25393015146255493, -0.3689151108264923, -0.36534741520881653, -0.11818141490221024, -0.5549521446228027, 0.30553582310676575, -0.5324382781982422, -0.5643509030342102, -0.14588630199432373, 0.35729071497917175, 0.9366264343261719, -0.5033861398696899, 0.7154769897460938, 0.12553082406520844, -0.608687698841095, 0.221647709608078, -0.5529254674911499, 0.1351781040430069, -0.3848142921924591, 0.20840810239315033, -0.41050633788108826, -0.7129390835762024, 0.4426112771034241, 0.017002655193209648, 0.04252594709396362, 0.08351268619298935, 0.6166897416114807, -0.20678450167179108, 1.026365041732788, 0.43397194147109985, 0.12299216538667679, 0.23193298280239105, -0.34420540928840637, 0.35090330243110657, -0.5645300149917603, -0.616860032081604, -0.3309725522994995, -0.325179785490036, -0.2864060401916504, -0.7427656054496765, 0.4746221899986267, -0.009946542792022228, -0.2513291537761688, 0.1780804991722107, -0.5184161067008972, 0.6606055498123169, 0.4015236496925354, -0.05798329785466194, 0.1426744908094406, 0.045164141803979874, -0.5665373206138611, -0.15642420947551727, -0.5690642595291138, -0.3335694670677185, 0.44572553038597107, 0.28105628490448, 0.7712171673774719, 0.14289000630378723, 0.1396722048521042, 0.1246982216835022, -0.07169660180807114, -0.733542799949646, 0.9026309251785278, -0.19189275801181793, -0.5337607860565186, -0.2657237648963928, -0.15612758696079254, -0.5862159132957458, 1.0935795307159424, -0.1704467236995697, -0.8298424482345581, 0.36405250430107117, 0.4759052097797394, -0.2762644588947296, 0.5214406251907349, -0.5650523900985718, 0.9162530899047852, -0.5614745020866394, -0.39099904894828796, 0.021470269188284874, -0.5020986795425415, 0.07048789411783218, 0.5583903193473816, 0.40556734800338745, 0.23967915773391724, 0.12782229483127594, 0.15139272809028625, -0.4045492112636566, 0.6436781287193298, -0.5542770624160767, -0.1265072375535965, 0.12075726687908173, 0.21137474477291107, -0.12211134284734726, -0.5220462083816528, 0.31503379344940186, 0.4622311294078827, -0.13341347873210907, -0.36158105731010437, -0.5078352093696594, 0.22325453162193298, -0.7259015440940857, -0.7773072719573975, -0.45216670632362366, -0.5717093348503113, -0.15467366576194763, 0.213674858212471, 0.3511006534099579, 0.424929678440094, 0.11654273420572281, -0.04413964971899986, 0.7116679549217224, -0.27530601620674133, 0.025404104962944984, 0.15626160800457, -0.8072212934494019, -0.24376538395881653, 0.872420072555542, 0.04916943982243538, 0.15980049967765808, 0.6009371876716614, 0.30955520272254944, -0.18628506362438202, -0.7510746121406555, -0.7272266745567322, 0.13022129237651825, -0.5836433172225952, 0.2848220765590668, -0.45447343587875366, -0.3049774765968323, 0.10052867978811264, -0.31141170859336853, -0.33981284499168396, -0.6035163402557373, 0.2753369212150574, -0.2941807210445404, -0.19181104004383087, 0.7710294127464294, -0.05059663578867912, 0.08351068943738937, -0.4516628682613373, 0.5239828824996948, 0.23892837762832642, 0.25786349177360535, -0.028270665556192398, -0.16045205295085907, -0.25212448835372925, -0.16774454712867737, -0.10349895060062408, -0.6835302114486694, 0.38586390018463135, -0.28135842084884644, 0.8137093782424927, 0.3453707695007324, -0.39906445145606995, 0.6956808567047119, -0.32509204745292664, 0.9438471794128418, -0.19392865896224976, -0.7519343495368958, 0.8183018565177917, -0.37845200300216675, 0.5106834173202515, 0.003862821264192462, 0.19006387889385223, -0.3548879623413086, -0.4867742359638214, 0.11788918077945709, -0.5943435430526733, 0.546833872795105, 0.4324338436126709, -0.44465628266334534, 0.14047937095165253, 0.18150685727596283, -0.043896276503801346, -0.0177242960780859, -0.5704818964004517, 0.03724114969372749, -0.5157727003097534, 0.23088549077510834, 0.05402453988790512, -0.06117325648665428, -0.0971808210015297, -0.468193918466568, 0.037763819098472595, -0.015159913338720798, 0.5502599477767944, 0.455630898475647, -0.32138165831565857, -0.2995601296424866, 0.48817363381385803, 0.9040634632110596, 1.088836669921875, -0.037117552012205124, 0.2082185596227646, 0.12475306540727615, -0.31945550441741943, -0.0820496454834938, -0.13356967270374298, -0.33653613924980164, -0.36421024799346924, 0.49497896432876587, 1.0015699863433838, 0.33124059438705444, -0.3914099931716919, 0.41269615292549133, -0.08417996764183044, -0.318459689617157, -0.25042733550071716, 0.1194685846567154, -0.0739888995885849, 0.5186628103256226, 0.31527239084243774, 0.4395607113838196, -0.02759118564426899, -0.3258419334888458, 0.0020188544876873493, 0.38840314745903015, -0.2523692846298218, -0.27110323309898376, 0.7648945450782776, -0.03147121146321297, 0.04077473655343056, 0.4101927876472473, 0.01656634360551834, -0.8917407989501953, 0.679206132888794, 0.25064441561698914, 0.6246218085289001, 0.001947965589351952, 0.09335532039403915, 0.4428563416004181, 0.5810695290565491, 0.10700807720422745, 0.6250571608543396, -0.30113887786865234, -0.9820904731750488, -0.515938401222229, -0.4353148937225342, -0.5662416219711304, -0.0009161054622381926, -0.6245936751365662, -0.369182825088501, -0.48045268654823303, -0.27086421847343445, -0.11587526649236679, -0.4024052321910858, -0.7026348114013672, 0.2717837393283844, 0.6228708624839783, 0.9816501140594482, -0.5861957669258118, 0.6072010397911072, 1.0681517124176025, -0.2509075701236725, -0.2164507359266281, -0.026027893647551537, 0.1389234960079193, -0.5701165199279785, 0.7665603160858154, 0.04434146359562874, -0.43961814045906067, -0.37792351841926575, -0.6033160090446472, -1.0008845329284668, 0.8595182299613953, 0.09090432524681091, -0.5789567828178406, -0.5887375473976135, 0.1673945039510727, 0.8339589238166809, -0.2768775224685669, 0.3618241846561432, 0.33528566360473633, 0.468008428812027, 0.22454199194908142, -1.1862798929214478, -0.15935789048671722, -0.29202163219451904, 0.19070184230804443, 0.2667050063610077, -0.6345301866531372, 0.7699939608573914, -0.7748972773551941, -0.0002297398605151102, 0.021822351962327957, 0.4429449141025543, 0.5911558866500854, 0.5392449498176575, 0.62332683801651, 0.6868070363998413, 0.4595676362514496, -0.32086047530174255, 1.171411395072937, 0.03458995744585991, 0.2665536403656006, 0.7966873645782471, -0.42987343668937683, 0.83845454454422, 0.45343509316444397, -0.05532548949122429, 0.6855634450912476, 0.20585103332996368, 0.18035821616649628, 0.7734245657920837, -0.038246914744377136, 0.2522444725036621, -0.8649097681045532, 0.2035161405801773, -0.06875240057706833, 0.6626092791557312, 0.6902638077735901, -0.07700204104185104, -0.42082881927490234, 0.17729341983795166, -0.4126390516757965, 0.15776154398918152, -0.4954237639904022, 0.6658622026443481, -0.0006875387043692172, -0.7854266166687012, 0.3538285791873932, -0.30297717452049255, 0.23437152802944183, -0.3157753348350525, -0.0004902280052192509, -0.1257832944393158, 0.4808747470378876, -0.1588803231716156, -1.045310616493225, 0.3712906837463379, 0.18895845115184784, -0.1700548380613327, -0.4164336919784546, 0.97811359167099, -0.19133524596691132, -0.2754237651824951, 0.45557141304016113, 0.9812523126602173, 0.21225664019584656, 0.028962114825844765, -0.45560652017593384, 0.016931304708123207, -0.1717674285173416, -0.28364965319633484, 0.2246200442314148, 0.37933745980262756, -0.4126589298248291, 0.9023723602294922, 0.5384134650230408, 0.20962034165859222, 0.36788058280944824, 0.2162093222141266, 0.8009445667266846, -0.9766066074371338, -0.5448045134544373, -0.6932622790336609, 0.5929568409919739, -0.036343131214380264, -0.33147454261779785, 0.3988949954509735, 0.5240705609321594, 1.0907925367355347, -0.19053137302398682, 0.763609766960144, -0.059169791638851166, 0.5600861310958862, -0.5293116569519043, 0.6704979538917542, -0.6921910047531128, 0.1205352321267128, -0.2324134111404419, -0.6485718488693237, -0.3363540768623352, 1.0572283267974854, -0.7361246943473816, 0.17844127118587494, 0.5678218603134155, 0.3856125473976135, -0.21061460673809052, -0.07039479166269302, 0.7652958631515503, 0.25468769669532776, 0.2560645639896393, 0.959031343460083, 1.2063875198364258, -0.0514003224670887, 0.45371392369270325, -0.26556500792503357, -0.25413978099823, 0.009195918217301369, -0.6886767745018005, -1.0226184129714966, -0.5977503061294556, -0.09239757806062698, 0.1056244969367981, -0.06826137006282806, 0.5379995703697205, 0.8000108599662781, -0.564953625202179, -0.12648168206214905, -0.20466965436935425, 0.10016585886478424, -0.22901418805122375, -0.17271853983402252, -0.0381876565515995, 0.21755866706371307, -0.26953360438346863, 0.31737688183784485, 0.519769012928009, -0.15211626887321472, -0.416446328163147, -0.14162743091583252, -0.04033278301358223, 0.23515214025974274, 1.0850824117660522, 0.20020678639411926, -1.2775088548660278, -0.4439861476421356, 0.13347530364990234, -0.13703791797161102, 0.11504622548818588, 0.8483376502990723, -1.0388935804367065, 0.4566132724285126, 0.6048333644866943, 0.29369279742240906, 0.5248642563819885, 0.15037328004837036, 0.2454688400030136, -0.42316725850105286, 0.042808085680007935, -0.20304161310195923, 0.6469382047653198, 0.4584916830062866, -0.1603037565946579, 0.5211753845214844, 0.3983789384365082, -0.6284406781196594, -0.428691029548645, 0.29770132899284363, -1.1266387701034546, -0.16283336281776428, 1.084875464439392, -0.10340568423271179, -0.10730349272489548, -0.13081683218479156, -0.6091869473457336, -0.10580799728631973, 0.038597412407398224, 0.5136137008666992, 0.8417125344276428, -0.5876224637031555, -0.5924718976020813, -0.5630780458450317, 0.1780262440443039, 0.2218070924282074, -1.1532726287841797, 0.08825180679559708, 0.9330804347991943, 0.20507650077342987, 0.5045140981674194, 0.6425375938415527, -0.04064785689115524, 0.3951434791088104, 0.08204454183578491, -0.40597543120384216, -0.20448006689548492, -0.8064790964126587, 0.020525189116597176, 0.32457825541496277, -0.039034824818372726, -0.1646338850259781 ]
http://arxiv.org/abs/2406.02536v1
http://arxiv.org/pdf/2406.02536v1
Mitigate Position Bias in Large Language Models via Scaling a Single Dimension
2024-06-04T17:55:38
2024-06-04T17:55:38
Yijiong Yu, Huiqiang Jiang, Xufang Luo, Qianhui Wu, Chin-Yew Lin, Dongsheng Li, Yuqing Yang, Yongfeng Huang, Lili Qiu
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) are increasingly applied in various real-world scenarios due to their excellent generalization capabilities and robust generative abilities. However, they exhibit position bias, also known as "lost in the middle", a phenomenon that is especially pronounced in long-context scenarios, which indicates the placement of the key information in different positions of a prompt can significantly affect accuracy. This paper first explores the micro-level manifestations of position bias, concluding that attention weights are a micro-level expression of position bias. It further identifies that, in addition to position embeddings, causal attention mask also contributes to position bias by creating position-specific hidden states. Based on these insights, we propose a method to mitigate position bias by scaling this positional hidden states. Experiments on the NaturalQuestions Multi-document QA, KV retrieval, LongBench and timeline reorder tasks, using various models including RoPE models, context windowextended models, and Alibi models, demonstrate the effectiveness and generalizability of our approach. Our method can improve performance by up to 15.2% by modifying just one dimension of hidden states. Our code is available at https://aka.ms/PositionalHidden.
[ -0.28993120789527893, -0.6781744956970215, 0.6841980814933777, 0.37846502661705017, -0.10895756632089615, -0.17716045677661896, -0.15525846183300018, -0.06930254399776459, 0.35018718242645264, 0.5711489319801331, -0.6553184390068054, -0.5402446389198303, -0.6479986906051636, -0.32458001375198364, -0.2897699773311615, 0.6900290250778198, -0.06602396816015244, -0.008345340378582478, -0.42305755615234375, -0.29111093282699585, -0.4847595691680908, -0.6895226240158081, -0.6983829736709595, -0.17762550711631775, 0.6423194408416748, 0.5134968161582947, 0.6197264194488525, 0.6012560129165649, 0.31812307238578796, 0.1962631195783615, -0.2820879817008972, -0.03809378296136856, -0.5676044225692749, 0.17122012376785278, -0.2600572407245636, -0.6994343400001526, -0.47444266080856323, 0.05131223052740097, 1.1660943031311035, 0.8132932186126709, -0.16099518537521362, 0.25739288330078125, 0.14693614840507507, 0.8086695075035095, -0.7338492274284363, 0.03974204137921333, -0.4112633764743805, 0.11609435081481934, -0.2878834009170532, -0.13464303314685822, -0.4753726124763489, -0.33048364520072937, 0.14372271299362183, -0.421813428401947, 0.4754329323768616, -0.00132568902336061, 0.6864390969276428, 0.553425133228302, -0.6953938603401184, 0.1672789603471756, -0.7845059633255005, 0.9031034111976624, -0.8845188617706299, 0.4502033293247223, 0.3628080487251282, 0.1935291886329651, -0.2083045244216919, -0.1951252669095993, -0.40292486548423767, 0.017376940697431564, -0.025696072727441788, -0.05218916013836861, -0.1206837072968483, 0.054290298372507095, 0.5676323771476746, 0.006608411204069853, -0.32618027925491333, 0.3933130204677582, 0.10428082942962646, -0.19123098254203796, 0.3762322962284088, 0.11675447970628738, 0.24601393938064575, 0.14861313998699188, -0.15655699372291565, -0.21777664124965668, -1.036458134651184, 0.2742621600627899, 0.47230401635169983, 0.4482074975967407, -0.011363660916686058, 0.49094507098197937, -0.11687745153903961, 0.5773529410362244, 0.39009663462638855, -0.14159971475601196, 0.0013925591483712196, -0.3011680841445923, -0.15720899403095245, 0.09746603667736053, 0.38485053181648254, 0.21179711818695068, -0.1764461249113083, 0.10281943529844284, -0.12039391696453094, -0.13601763546466827, 0.3566235303878784, -0.8111974596977234, 0.1262875646352768, 0.13411442935466766, -0.41104674339294434, -0.10183993726968765, -0.2098735123872757, -0.6040930151939392, -0.6291707158088684, -0.2045760601758957, 0.21712544560432434, -0.03752553462982178, -0.05476967245340347, -0.006309713702648878, 0.2618800401687622, 0.25829875469207764, 0.218070849776268, -0.9140013456344604, 0.18437916040420532, 0.5583335161209106, 0.7391282916069031, -0.029833078384399414, -0.14606399834156036, -0.6033629775047302, 0.23884199559688568, -0.37034133076667786, 0.5859438180923462, -0.5261844396591187, -0.12434399873018265, 0.04680575802922249, -0.043707530945539474, -0.04695194587111473, -0.5467339158058167, 0.6349448561668396, -0.6865768432617188, 0.3093564808368683, -0.4557924270629883, -0.4434394836425781, -0.03114255703985691, 0.32210177183151245, -0.8069401979446411, 0.9207341074943542, -0.2107113003730774, -0.8735636472702026, 0.2698719799518585, -0.3858911395072937, -0.46503496170043945, -0.5581691861152649, -0.09676173329353333, -0.6110225319862366, 0.1567523330450058, 0.6291083693504333, 0.38348719477653503, -0.08497492969036102, 0.005746710114181042, -0.2918808162212372, -0.3841135501861572, 0.2673170864582062, -0.43525704741477966, 0.536149799823761, -0.25455495715141296, -0.39211010932922363, 0.16484902799129486, -0.6256561875343323, -0.07465679198503494, 0.021323204040527344, -0.4965211749076843, -0.7011418342590332, 0.15101732313632965, -0.1494344174861908, 0.3991268575191498, 0.21852406859397888, -0.4946136474609375, 0.32107582688331604, -0.5289111733436584, 0.16124559938907623, 0.7412858605384827, 0.1368778795003891, 0.9879443049430847, 0.07698804885149002, 0.6802489161491394, 0.25706788897514343, 0.23852166533470154, -0.019050104543566704, -0.12603938579559326, -0.6568067669868469, -0.2037753164768219, 0.2906860411167145, 0.38362348079681396, -0.6109020113945007, 0.42565906047821045, -0.3270251750946045, -0.16534994542598724, -0.6858111023902893, -0.04585888981819153, 0.2888264060020447, 0.5117314457893372, 0.1300051361322403, -0.14116142690181732, -0.09334710240364075, -1.1334203481674194, -0.3971501290798187, 0.12264900654554367, -0.27282458543777466, -0.08663465082645416, 0.059771813452243805, -0.1247146725654602, 0.8923389315605164, -0.5568749308586121, -0.5254982113838196, -0.11678881198167801, -0.12694115936756134, 0.3594074547290802, 0.4344557821750641, 0.20555219054222107, -0.8008148074150085, -0.21692849695682526, -0.46095776557922363, -0.4595978558063507, -0.19197994470596313, -0.22876760363578796, -0.06810919940471649, 0.29725754261016846, 0.6105474233627319, -0.7791396975517273, 0.47239431738853455, 0.5984740853309631, -0.4117000102996826, 0.3538490831851959, -0.23779720067977905, -0.15850971639156342, -1.0506738424301147, 0.011478273198008537, 0.17540165781974792, -0.12291174381971359, -0.6448497772216797, 0.13697852194309235, 0.45246508717536926, -0.09015664458274841, -0.21996012330055237, 0.5156770944595337, -0.7364401817321777, -0.11264695227146149, -0.3436623811721802, 0.45143526792526245, 0.15437430143356323, 0.6002482771873474, -0.278678297996521, 0.6211939454078674, 0.38748982548713684, -0.4702832102775574, -0.12946829199790955, -0.07742003351449966, -0.2922438085079193, 0.5610378384590149, -0.4649200141429901, 0.1787153035402298, -0.32760757207870483, 0.6138070225715637, -1.041055679321289, 0.09575352072715759, 0.0715855285525322, -0.28789886832237244, 0.6870909929275513, -0.34340783953666687, -0.6152114868164062, -0.3321593999862671, -0.4527002274990082, 0.4881885051727295, 0.029862890020012856, -0.30375009775161743, 0.3204745948314667, 0.5180279612541199, -0.31841742992401123, -0.9030347466468811, -0.5533736348152161, -0.10306180268526077, -0.18494100868701935, -0.4564209282398224, 0.366929829120636, -0.015235597267746925, -0.022253267467021942, -0.20408649742603302, -0.5615049600601196, 0.18399299681186676, 0.02605414390563965, 0.23429539799690247, 0.0510476715862751, -0.07907987385988235, 0.4301033616065979, 0.2370854616165161, -0.2042948454618454, 0.14378194510936737, -0.5489012002944946, 0.5196323990821838, -0.041600294411182404, -0.5704896450042725, -0.21992596983909607, 0.4653470814228058, 0.8374180197715759, -0.28327155113220215, 0.7892851233482361, 0.5261339545249939, -0.41306743025779724, -0.24343974888324738, -0.6176701784133911, -0.28081226348876953, -0.4199204742908478, 0.5018745064735413, -0.11383910477161407, -0.9436873197555542, 0.7312293648719788, 0.003194998949766159, -0.012706751003861427, 0.24687111377716064, 0.5187968611717224, 0.03485487774014473, 1.3743882179260254, 0.9822834730148315, -0.554505467414856, 0.686043381690979, -0.1477813571691513, 0.6231269240379333, -1.1140466928482056, -0.003646252444013953, -0.5238828659057617, -0.6751233339309692, -0.5431857109069824, -0.6036885380744934, 0.7274370789527893, 0.07795843482017517, -0.2390342652797699, -0.08937831223011017, -0.3096364736557007, 0.5628747940063477, 0.7410913109779358, 0.2114187777042389, 0.06255955994129181, -0.01034938357770443, -0.39696651697158813, -0.18829721212387085, -0.91962069272995, -0.435319185256958, 0.8489324450492859, 0.588259220123291, 0.889238178730011, 0.1467955857515335, 0.541081964969635, -0.0023821876384317875, 0.03981032222509384, -0.8026993274688721, 0.49815455079078674, 0.059083614498376846, -0.5800341963768005, -0.7799893617630005, -0.3435715138912201, -0.8842475414276123, 0.45915067195892334, 0.045795802026987076, -0.7104665637016296, 0.26483094692230225, 0.047856103628873825, -0.6045559048652649, 0.42240646481513977, -0.653715193271637, 0.7699126601219177, 0.03216755762696266, -0.6300938129425049, -0.24536344408988953, -0.7408788204193115, 0.14817455410957336, 0.0342140831053257, 0.22896914184093475, -0.14829722046852112, -0.012442351318895817, 0.6822285652160645, -0.36365577578544617, 1.0893062353134155, -0.4523719251155853, -0.3794883191585541, 0.02438274957239628, 0.17747186124324799, 0.8667349219322205, 0.06229504197835922, 0.022332483902573586, -0.020231682807207108, -0.2043098360300064, -0.7272675037384033, -0.6480122208595276, 0.925597608089447, -0.6829304695129395, -0.7391923069953918, -0.22011975944042206, -0.7888562083244324, -0.3931334316730499, 0.3220268487930298, 0.2072969377040863, 0.3850047290325165, -0.027097711339592934, -0.04035701975226402, 1.1487995386123657, -0.3930889070034027, 0.44452551007270813, 0.5402788519859314, -0.024266311898827553, 0.06753156334161758, 0.49148815870285034, 0.3736199736595154, 0.07521916925907135, 0.6898698210716248, 0.23664450645446777, -0.3454933762550354, -0.3451443612575531, -0.27148860692977905, 0.44229331612586975, -0.752857506275177, -0.18326787650585175, -0.5933986306190491, 0.030775537714362144, -0.5931382179260254, -0.13759954273700714, -0.5537406206130981, -0.43864262104034424, -0.28466957807540894, -0.2175370454788208, -0.1440955400466919, 0.38190558552742004, 0.18423782289028168, 0.3802986145019531, -0.6468282341957092, 0.12771421670913696, 0.26158133149147034, 0.5126025676727295, 0.22881700098514557, -0.6549618244171143, -0.44705480337142944, 0.01585777848958969, -0.19267098605632782, -0.6296972036361694, 0.407810240983963, -0.2353733479976654, 0.6397066116333008, 0.42670193314552307, 0.0714159905910492, 0.4504494071006775, -0.5475326180458069, 0.6666860580444336, 0.09820695966482162, -0.8195104002952576, 0.5182573199272156, -0.4165535569190979, 0.9695384502410889, 0.333076536655426, 0.25160178542137146, -0.6068002581596375, -0.40172818303108215, -0.44545987248420715, -0.9839100241661072, 0.6571233868598938, -0.08711019903421402, -0.025614188984036446, 0.20791611075401306, 0.22153128683567047, -0.2316276580095291, 0.14817066490650177, -0.7544131875038147, -0.22300653159618378, 0.2882188856601715, -0.15780414640903473, -0.02911108173429966, -0.561578094959259, -0.14469856023788452, -0.0841001644730568, 0.5910003781318665, -0.11101090908050537, 0.26580682396888733, 0.21942771971225739, -0.1334763616323471, -0.2811683118343353, 0.4405701458454132, 0.7940370440483093, 0.707477867603302, -0.17266303300857544, 0.34072789549827576, 0.03287216275930405, -0.4074065685272217, 0.2246055006980896, 0.08580988645553589, -0.3948047459125519, -0.07071623206138611, 0.3314575254917145, 0.6159059405326843, 0.4895927608013153, -0.18908537924289703, 0.5655940771102905, 0.15084043145179749, 0.39510589838027954, -0.1923067420721054, -0.41299885511398315, 0.1985778659582138, 0.4005338251590729, 0.42574343085289, -0.03270707279443741, 0.03770126402378082, -0.43103793263435364, -0.004624676890671253, 0.32173389196395874, -0.4695151746273041, -0.234017014503479, 0.6932315826416016, 0.07961257547140121, -0.047488849610090256, 0.6337499022483826, 0.059989359229803085, -0.5791525840759277, 0.531952977180481, 0.5880418419837952, 0.8648712635040283, -0.48718759417533875, 0.16338829696178436, 0.26396629214286804, 0.6199014782905579, -0.16240030527114868, -0.05368977040052414, 0.1527518928050995, -0.6692861914634705, -0.36780253052711487, -0.398685485124588, -0.19889342784881592, -0.1011107861995697, -0.6146174073219299, 0.015444502234458923, -0.3565106987953186, -0.3429718613624573, -0.1526264250278473, 0.09551694989204407, -0.6664677262306213, -0.09546040743589401, 0.25144073367118835, 0.8631937503814697, -0.7969515919685364, 1.0201548337936401, 0.6907727718353271, -0.19982200860977173, -0.6478013396263123, 0.3111329972743988, 0.09655170142650604, -0.5458311438560486, 0.5196234583854675, 0.11250336468219757, -0.2123684287071228, -0.1706009805202484, -0.6259263157844543, -1.2888586521148682, 1.061543345451355, 0.2982965111732483, -0.7220420837402344, -0.18298952281475067, 0.07624658942222595, 0.5588454008102417, -0.17522840201854706, -0.07937999069690704, 0.4543232023715973, 0.23638132214546204, -0.2409188151359558, -0.7671169638633728, 0.3050500750541687, 0.08484169095754623, 0.20286251604557037, 0.43650907278060913, -0.8128302097320557, 0.7683846354484558, -0.23553353548049927, -0.25902363657951355, -0.36044633388519287, 0.46777793765068054, 0.266390323638916, 0.30225780606269836, 0.4420643448829651, 0.5954611897468567, 0.8990257382392883, 0.12166491150856018, 1.1161729097366333, -0.07022635638713837, 0.37680575251579285, 1.2355626821517944, -0.4695809483528137, 0.7927551865577698, 0.7047033309936523, 0.018747597932815552, 0.31976184248924255, 0.5081392526626587, 0.38935455679893494, 0.6382803916931152, 0.3818560242652893, -0.20845745503902435, -0.131564661860466, -0.011644214391708374, -0.11290048807859421, 0.05516401305794716, 0.42355775833129883, -0.26227155327796936, -0.14880511164665222, 0.1244979053735733, 0.24779130518436432, 0.09098845720291138, -0.5019163489341736, 0.3950757086277008, 0.10227733105421066, -0.5629676580429077, 0.4829064905643463, 0.14312253892421722, 0.6082295179367065, -0.5035938024520874, 0.061757948249578476, -0.723610520362854, 0.3210418224334717, 0.07180371880531311, -0.6547499299049377, 0.06782358884811401, -0.3157159090042114, -0.7217954397201538, -0.3307214081287384, 0.7620774507522583, -0.5823240876197815, -0.442865788936615, 0.28758862614631653, 0.2559402585029602, -0.22429455816745758, -0.4863464832305908, -0.39495664834976196, 0.019961798563599586, -0.14620375633239746, -0.36097803711891174, 0.5250868797302246, 0.4829496443271637, -0.5052204728126526, 0.8207674026489258, 0.3962577283382416, 0.08127446472644806, 0.1970970630645752, 0.1913817971944809, 0.7512466907501221, -0.6346089243888855, -0.6660210490226746, -0.7284354567527771, 0.16976991295814514, -0.20673325657844543, 0.10384199023246765, 0.9757373929023743, 0.3422095775604248, 0.8292549252510071, -0.17372772097587585, 0.4209410548210144, 0.431450217962265, 0.677733838558197, -0.4530843496322632, 0.9119606614112854, -0.360385000705719, 0.41484659910202026, -0.2893652617931366, -1.0392825603485107, -0.5587499141693115, 0.26916056871414185, -0.4920455515384674, -0.1461789309978485, 0.6470642685890198, 0.8223610520362854, -0.09051897376775742, -0.6160444021224976, 0.4690445065498352, 0.4519887864589691, 0.3524876534938812, 0.6485533118247986, 0.6215553879737854, -0.40528854727745056, 0.2972082793712616, -0.16300204396247864, -0.24141182005405426, -0.3942919373512268, -0.6929738521575928, -0.6601449847221375, -0.4482925236225128, -0.30458253622055054, -0.17521026730537415, -0.1907852292060852, 0.628316342830658, 0.7599557042121887, -0.6552132964134216, -0.11295512318611145, 0.38927915692329407, 0.5786054134368896, -0.2675076127052307, -0.23238471150398254, 0.6711270809173584, -0.1775129735469818, -0.7062714099884033, 0.3847632110118866, 0.3984229266643524, -0.06995585560798645, -0.35472339391708374, 0.28879326581954956, -0.48196056485176086, 0.1376313865184784, 0.8073794841766357, 0.18091504275798798, -0.8065672516822815, -0.5412588715553284, -0.012273128144443035, -0.37276458740234375, -0.09096894413232803, 0.8890978693962097, -0.655482828617096, 0.3855932354927063, 0.5112937092781067, 0.5324742197990417, 0.3602589964866638, 0.035786278545856476, 0.5681290626525879, -1.409568428993225, 0.21533501148223877, 0.1590862274169922, 0.26636871695518494, 0.37335485219955444, -0.5327054262161255, 0.3744097948074341, -0.013038959354162216, -0.5827118754386902, -0.6446585655212402, 0.18441615998744965, -0.9849439859390259, -0.2995341420173645, 1.1026580333709717, -0.03610322251915932, -0.19420336186885834, 0.23349858820438385, -0.16843682527542114, 0.40859654545783997, -0.2557459771633148, 1.0543186664581299, 0.7989295125007629, 0.12910552322864532, -0.1619710922241211, -0.6675972938537598, 0.40889492630958557, 0.726887047290802, -0.48400866985321045, 0.2713310718536377, 0.6818994283676147, 0.3061501681804657, 0.2302592694759369, 0.5818454027175903, -0.13459816575050354, -0.12348346412181854, -0.15384119749069214, 0.23494412004947662, 0.3457452356815338, -0.440408855676651, -0.7288271188735962, 0.27160418033599854, 0.05850007385015488, -0.3208986818790436 ]
http://arxiv.org/abs/2406.02532v2
http://arxiv.org/pdf/2406.02532v2
SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devices
2024-06-04T17:53:36
2024-06-25T19:35:06
Ruslan Svirschevski, Avner May, Zhuoming Chen, Beidi Chen, Zhihao Jia, Max Ryabinin
cs.CL
cs.CL
As large language models gain widespread adoption, running them efficiently becomes crucial. Recent works on LLM inference use speculative decoding to achieve extreme speedups. However, most of these works implicitly design their algorithms for high-end datacenter hardware. In this work, we ask the opposite question: how fast can we run LLMs on consumer machines? Consumer GPUs can no longer fit the largest available models (50B+ parameters) and must offload them to RAM or SSD. When running with offloaded parameters, the inference engine can process batches of hundreds or thousands of tokens at the same time as just one token, making it a natural fit for speculative decoding. We propose SpecExec (Speculative Execution), a simple parallel decoding method that can generate up to 20 tokens per target model iteration for popular LLM families. It utilizes the high spikiness of the token probabilities distribution in modern LLMs and a high degree of alignment between model output probabilities. SpecExec takes the most probable tokens continuation from the draft model to build a "cache" tree for the target model, which then gets validated in a single pass. Using SpecExec, we demonstrate inference of 50B+ parameter LLMs on consumer GPUs with RAM offloading at 4-6 tokens per second with 4-bit quantization or 2-3 tokens per second with 16-bit weights.
[ -0.32216471433639526, -0.46380820870399475, 0.7859176397323608, 0.13763940334320068, -0.5256029963493347, 0.3912472128868103, -0.36784014105796814, -0.5372105240821838, 0.33746999502182007, 0.670634388923645, -0.5585784316062927, -0.5561033487319946, -0.47960466146469116, -0.007047232706099749, -0.5242141485214233, 0.6284229755401611, -0.10197973996400833, -0.27812260389328003, -0.0895456001162529, 0.21482688188552856, 0.2055828869342804, -0.687315046787262, -0.5140417814254761, 0.5435482859611511, 0.22961737215518951, 0.6380438804626465, 0.45339474081993103, 0.8787306547164917, 0.2144733965396881, 0.27497419714927673, -0.18815408647060394, 0.3572138249874115, -0.5893665552139282, 0.11303507536649704, 0.04366351664066315, -0.7158688902854919, -0.44655582308769226, -0.13474684953689575, 0.6958795785903931, 0.47280585765838623, -0.262491375207901, 0.2923088073730469, -0.13241080939769745, 0.3195294141769409, -0.9512563943862915, -0.1001252830028534, -0.6871839165687561, -0.0316556952893734, -0.5611301064491272, -0.2531634569168091, -0.8796248435974121, -0.26378899812698364, -0.350564181804657, -0.6554323434829712, 0.43557292222976685, 0.6581898331642151, 0.5381532311439514, 0.22168414294719696, -0.24034850299358368, 0.09665465354919434, -0.8480327725410461, 0.8056724667549133, -0.7570083737373352, 0.3745581805706024, 0.17075148224830627, 0.2685011625289917, -0.09380625933408737, -0.9863422513008118, -0.4691498875617981, -0.16098059713840485, 0.17830650508403778, 0.15026289224624634, -0.13523052632808685, 0.24263934791088104, 0.5353419780731201, 0.47962769865989685, -0.37509629130363464, 0.2008194625377655, -0.07779036462306976, -0.15410363674163818, 0.3444150388240814, 0.6175288558006287, 0.005256606265902519, 0.03905116394162178, -0.7034083604812622, 0.08391159027814865, -0.5489816665649414, -0.14970648288726807, 0.4783795177936554, -0.03697969764471054, -0.020823368802666664, 0.28346118330955505, -0.24665705859661102, 0.38622748851776123, -0.029962208122015, 0.10841446369886398, -0.21376203000545502, -0.3865068256855011, -0.15584439039230347, 0.06026589870452881, 0.5834454298019409, 0.4757836163043976, -0.12533389031887054, -0.49536648392677307, -0.13215087354183197, 0.30779844522476196, 0.1264163851737976, -0.9422343969345093, 0.07747472077608109, 0.34856536984443665, -0.4637658894062042, -0.08784662932157516, -0.07324331253767014, -0.9740674495697021, -0.16801483929157257, 0.050189610570669174, -0.21175196766853333, -0.15534710884094238, -0.0549478605389595, 0.4872155785560608, -0.250970721244812, 0.08796722441911697, -0.0059364368207752705, -1.2318111658096313, 1.0457082986831665, 0.7833483815193176, 0.6089783906936646, -0.46478718519210815, -0.20785552263259888, -0.5943253040313721, 0.37264299392700195, -0.3473108112812042, 1.027571678161621, -0.5931800603866577, -0.4107853174209595, -0.33170387148857117, -0.015569325536489487, -0.09963227063417435, -0.39496687054634094, 0.7805540561676025, -0.8236724734306335, -0.41379767656326294, -0.35708925127983093, -0.9429289102554321, -0.01466902531683445, 0.1254119724035263, -0.6899053454399109, 0.7698432803153992, -0.3077597916126251, -0.8253868818283081, 0.46748894453048706, -0.17499534785747528, -0.3556959629058838, 0.2240840643644333, -0.058329738676548004, 0.10132899880409241, 0.32947495579719543, 0.24538862705230713, 0.43661361932754517, -0.6110652089118958, -0.2106027603149414, -0.4695582687854767, -0.8372902274131775, 0.09947500377893448, -0.6677758693695068, 0.22291713953018188, 0.3497156500816345, -0.3885391652584076, -0.10637091100215912, -0.5605624318122864, 0.0016254845540970564, -0.11767089366912842, -0.346794992685318, 0.03241439163684845, 0.3690202236175537, 0.13166940212249756, -0.15853340923786163, 0.2394191473722458, -0.8541670441627502, 0.1592915654182434, -0.25892946124076843, 0.5435956716537476, 0.7277441620826721, -0.1241322010755539, 0.22098417580127716, -0.11810678243637085, 0.6142102479934692, -0.34876149892807007, 0.3046092987060547, -0.2222898006439209, -0.4966544806957245, -0.5379836559295654, -0.48700398206710815, 0.10805542021989822, 0.4123322665691376, -0.348005473613739, 0.06385713070631027, -0.07982724905014038, -0.36913853883743286, -0.17362943291664124, 0.025776583701372147, 0.31598106026649475, 0.28152087330818176, 0.13745816051959991, -0.06431412696838379, -0.6719896793365479, -0.860447883605957, -0.5245024561882019, -0.08832725882530212, 0.07251287251710892, 0.6438171863555908, -0.11868838220834732, -0.10097227245569229, 0.4692533314228058, -0.5273061990737915, 0.26473698019981384, -0.19275616109371185, -0.03543916344642639, 0.5953670740127563, 0.3075861632823944, 0.36004310846328735, -0.24316425621509552, -0.4199908971786499, 0.11979170888662338, -0.3626219928264618, 0.030009489506483078, -0.12136465311050415, -0.14785178005695343, 0.3268732726573944, 0.7642400860786438, -0.7071369290351868, 0.00382233876734972, 0.6814036965370178, -0.3649264872074127, 0.9219759106636047, -0.38636553287506104, 0.23696714639663696, -1.0230506658554077, 0.036041099578142166, -0.16479499638080597, -0.3120875656604767, -0.38244426250457764, 0.30658769607543945, 0.11783082038164139, 0.11624954640865326, -0.5880693197250366, 0.3852025866508484, -0.41535112261772156, -0.1976880133152008, -0.27825602889060974, -0.25692740082740784, 0.09522075206041336, 0.23851457238197327, 0.020734047517180443, 0.9636405110359192, 0.6093744039535522, -0.40788182616233826, 0.3405655026435852, -0.18493516743183136, -0.5426561236381531, -0.06433604657649994, -0.4653531312942505, 0.2923268675804138, 0.2210177779197693, 0.4560449421405792, -0.9767152667045593, -0.19154991209506989, -0.10104071348905563, 0.08435052633285522, 0.0029358649626374245, -0.04358963295817375, -0.9279109239578247, -0.5818231701850891, -0.10126332938671112, 0.5286299586296082, 0.6853995323181152, -0.8658893704414368, 0.6708424091339111, 0.1182686910033226, 0.1834603250026703, -0.6717637777328491, -0.7710080146789551, 0.282293438911438, -0.09477099031209946, -0.7239679098129272, 0.5426895022392273, -0.10709026455879211, -0.12100790441036224, -0.022449329495429993, -0.1724131852388382, 0.062146950513124466, 0.13633498549461365, 0.20893272757530212, 0.4039541184902191, -0.32470157742500305, -0.3592401444911957, 0.029843267053365707, -0.2765202522277832, 0.21076443791389465, -0.5208898782730103, 0.536647617816925, -0.2150212973356247, -0.3124752640724182, -0.5861160159111023, 0.4956284165382385, 0.7403639554977417, 0.2135714739561081, 0.3608172833919525, 0.17351585626602173, -0.2238648682832718, -0.4317129850387573, -0.8007080554962158, -0.305061936378479, -0.559594988822937, 0.28184401988983154, -0.4665643274784088, -0.6455940008163452, 0.7492988705635071, -0.2642544209957123, 0.06349688768386841, 0.15794430673122406, 0.5831910371780396, -0.029439739882946014, 1.1044931411743164, 0.40540093183517456, -0.050480663776397705, 0.048047494143247604, -0.11253097653388977, -0.06916167587041855, -0.5219352841377258, -0.299119770526886, -0.22548994421958923, -0.5322933197021484, -0.3509155809879303, -0.8208638429641724, -0.029885578900575638, -0.0728769302368164, 0.0419439934194088, 0.25592008233070374, -0.37613821029663086, 0.8176436424255371, 0.5907336473464966, 0.2504747807979584, 0.4741387963294983, 0.08508940786123276, -0.4116518497467041, 0.11842036992311478, -0.5399607419967651, -0.4189262092113495, 1.032088279724121, 0.3032691180706024, 0.9845266938209534, -0.2834734320640564, 0.5163337588310242, 0.3391333520412445, 0.29243776202201843, -0.64915931224823, 0.7049849629402161, -0.737027108669281, -0.7951348423957825, 0.26409342885017395, -0.13052891194820404, -0.43003758788108826, 0.015886347740888596, 0.045754119753837585, -0.7642050981521606, 0.31607669591903687, 0.11096931248903275, -0.6138387322425842, 0.8202627897262573, -0.7572041153907776, 0.5958868265151978, 0.016905369237065315, -0.374036580324173, -0.5426163077354431, -0.26134365797042847, 0.7325549721717834, 0.0008652385440655053, -0.09988367557525635, -0.24950933456420898, -0.344664603471756, 0.6278698444366455, -0.5952184796333313, 0.7852142453193665, -0.08298081904649734, 0.05858467146754265, 0.29631590843200684, 0.17288529872894287, 0.8671549558639526, 0.1332288682460785, -0.3430151045322418, 0.14861930906772614, 0.25745707750320435, -0.6416888236999512, -0.42587727308273315, 0.6593091487884521, -0.6863073706626892, -0.793277382850647, -0.053061459213495255, -0.5602150559425354, -0.370262086391449, -0.17166230082511902, 0.46740055084228516, 0.24938218295574188, -0.19185397028923035, -0.1297633796930313, 0.48398423194885254, 0.11838096380233765, 0.45550450682640076, 0.4870775640010834, 0.08783756196498871, -0.13499321043491364, 0.9159187078475952, -0.2386411726474762, 0.2728097438812256, 0.18339082598686218, -0.03627980500459671, -0.2626393437385559, -0.8635408878326416, -0.47153130173683167, 0.08606816828250885, -0.5835778117179871, 0.08671785891056061, -0.6863335967063904, -0.021896332502365112, 0.03412260860204697, -0.3692949712276459, -0.6060444116592407, -0.33725881576538086, -0.32978683710098267, -0.13691161572933197, 0.4919971823692322, 0.5312860608100891, -0.021431932225823402, 0.44748958945274353, -0.7040757536888123, 0.29964062571525574, 0.16532626748085022, 0.3971205949783325, -0.018637172877788544, -0.5688157081604004, -0.11734231561422348, -0.2976820766925812, 0.22802121937274933, -0.5223684310913086, 0.22188310325145721, -0.029579391703009605, 0.5057650208473206, 0.9548315405845642, 0.18109288811683655, 0.59145587682724, -0.572929322719574, 0.584669291973114, -0.03837132453918457, -0.9496579170227051, 0.039190102368593216, -0.14023134112358093, 0.030771736055612564, 0.549302875995636, 0.3229583501815796, -0.5345225930213928, -0.26518893241882324, -0.5122517347335815, -0.67658931016922, 0.862808346748352, -0.2198534905910492, 0.25752395391464233, -0.28510022163391113, 0.45100048184394836, 0.4559960961341858, -0.18763555586338043, 0.19028617441654205, -0.3004557192325592, 0.16181498765945435, 0.08370530605316162, -0.04014696925878525, -0.6178513765335083, -0.019864404574036598, -0.09908708930015564, 0.23255284130573273, -0.16323746740818024, 0.2068375200033188, -0.07567835599184036, 0.1768433153629303, 0.015256891027092934, 0.1384349912405014, 0.4010975956916809, 0.2347598522901535, -0.5183478593826294, 0.42562630772590637, 0.37957364320755005, -0.5624793171882629, 0.0969027429819107, 0.012034870684146881, 0.13489677011966705, -0.11157355457544327, -0.050897300243377686, 0.8103547692298889, 0.38435277342796326, -0.9346017837524414, 0.3270658254623413, -0.5139198899269104, -0.4179536998271942, -0.08652694523334503, 0.12177539616823196, 0.17291845381259918, 0.22677992284297943, 0.3861210346221924, 0.32787996530532837, 0.24651271104812622, -0.2900357246398926, 0.3777778744697571, 0.31524550914764404, -0.02311767265200615, -0.4787859320640564, 0.9991773962974548, 0.14594769477844238, 0.20945274829864502, 0.6863756775856018, -0.21245034039020538, -0.24421025812625885, 1.0026274919509888, 0.6731517910957336, 0.9866970777511597, 0.13629142940044403, -0.0924646332859993, 0.27807021141052246, 0.14829659461975098, -0.32868775725364685, 0.5224224328994751, -0.22782912850379944, -0.5905053615570068, -0.8226768970489502, -0.7667460441589355, -0.7472420334815979, -0.361921101808548, -0.5998450517654419, 0.11558184027671814, -0.8476901650428772, -0.04699879512190819, -0.048768505454063416, -0.18814986944198608, -0.5822358131408691, -0.09749092161655426, 0.6338575482368469, 1.3731281757354736, -0.6934396028518677, 0.9096205830574036, 0.29127830266952515, 0.4203782379627228, -0.8614462018013, 0.030529972165822983, -0.1457596719264984, -0.934063196182251, 0.5938767194747925, 0.1303393542766571, -0.10056157410144806, 0.32894167304039, -0.3904428780078888, -0.9686285257339478, 0.9324885606765747, 0.5408651232719421, -0.9557383060455322, -0.1079837828874588, 0.13119986653327942, 0.270595520734787, -0.2765514850616455, 0.6640881299972534, 0.8506978750228882, 0.5982407331466675, 0.3319181799888611, -0.3849850594997406, 0.5758010745048523, -0.13991232216358185, -0.14551132917404175, -0.1462210714817047, -0.7782954573631287, 0.837902307510376, -0.4172384738922119, -0.4854902923107147, 0.30048060417175293, 0.6022708415985107, 0.4262174069881439, 0.04613160341978073, 0.5663565993309021, 0.6585237979888916, 0.825416624546051, 0.1462303102016449, 1.4287787675857544, -0.8187567591667175, 0.023341819643974304, 0.8126984238624573, -0.42814359068870544, 1.0138444900512695, 0.46971261501312256, -0.3294179141521454, 0.5811006426811218, 0.7929777503013611, -0.07496717572212219, 0.35654160380363464, 0.16157439351081848, -0.5737298727035522, -0.6554955244064331, -0.19368228316307068, -0.09164577722549438, 0.19099217653274536, 0.6366521716117859, -0.2951556146144867, -0.21490858495235443, -0.22320005297660828, -0.22610919177532196, -0.23272456228733063, -0.23711977899074554, 0.338259220123291, 0.13549019396305084, -0.5999701619148254, 0.8025538325309753, 0.10018102824687958, 0.8491194248199463, -0.3562280833721161, 0.5028372406959534, -0.3578721284866333, 0.2902982831001282, -0.1500987410545349, -0.5298837423324585, 0.30756309628486633, -0.036779191344976425, -0.4135247766971588, -0.11335226893424988, 0.4829106330871582, 0.10901323705911636, -0.45688968896865845, 0.4286501109600067, 0.09171925485134125, 0.4682668447494507, -0.29409828782081604, -0.28170710802078247, 0.3947395086288452, -0.24848484992980957, -0.3792908191680908, 0.20070424675941467, 0.17647399008274078, 0.016581842675805092, 0.6194817423820496, 0.8500249981880188, 0.0747113972902298, 0.42787861824035645, 0.10414239019155502, 1.084920883178711, -0.7933995127677917, -0.5330536365509033, -0.96599942445755, 0.13032636046409607, 0.1671455353498459, -0.10112914443016052, 0.8495081663131714, 0.7108901739120483, 0.36563870310783386, -0.05224964767694473, 0.6411719918251038, 0.23715178668498993, 0.051183827221393585, -0.4662770628929138, 0.30072325468063354, -0.32734403014183044, 0.38203153014183044, 0.27838999032974243, -0.8161568641662598, -0.027759399265050888, -0.4122031629085541, -0.10061652213335037, -0.32946017384529114, 0.8594599366188049, 0.8316031098365784, -0.05338018015027046, 0.41442275047302246, 0.4712752103805542, 0.2885276675224304, 0.008121909573674202, 0.8688156604766846, 0.9501636028289795, -0.13805654644966125, 0.8824546933174133, -0.23428183794021606, -0.342157244682312, -0.29998505115509033, -0.7275922298431396, -0.7037242650985718, 0.12321498990058899, -0.11590957641601562, -0.1773417443037033, 0.1304486244916916, 0.6347009539604187, 0.9251241087913513, -0.721542477607727, -0.3084254562854767, -0.4091194272041321, -0.13083960115909576, -0.4761383831501007, -0.17205026745796204, 0.3337923586368561, -0.4624786376953125, -1.0843831300735474, 0.7165831923484802, 0.35068854689598083, -0.2821844220161438, -0.29915422201156616, 0.005472889170050621, 0.24027815461158752, 0.3774268925189972, 0.3099760413169861, 0.41338199377059937, -0.7663925290107727, 0.10684005171060562, 0.2585449814796448, -0.17432917654514313, -0.10571329295635223, 1.0757957696914673, -0.8131629824638367, 0.18325386941432953, 0.738503098487854, 0.7344942688941956, 1.0014359951019287, 0.0704403668642044, 0.5675461888313293, -0.5291997194290161, 0.29870709776878357, 0.23552335798740387, 0.3906506299972534, -0.3884214460849762, -0.6221217513084412, -0.12982220947742462, 0.48058566451072693, -0.4162599742412567, -0.6782279014587402, 0.10273376107215881, -1.0803675651550293, -0.5100701451301575, 1.2079652547836304, -0.17102216184139252, -0.6991225481033325, -0.13568928837776184, -0.07796721905469894, -0.09898684918880463, -0.5554010272026062, 0.5565404295921326, 0.34596073627471924, -0.13588280975818634, -0.15732918679714203, -0.5451241135597229, 0.3871135413646698, 0.6990041732788086, -0.6249322295188904, 0.5314813256263733, 0.06398984044790268, 0.2491695135831833, -0.17425724864006042, 0.469387412071228, 0.056825343519449234, 0.33068332076072693, 0.5812477469444275, 0.28793129324913025, 0.05379717797040939, -0.05076402798295021, 0.22483903169631958, 0.29776570200920105, -0.029138650745153427, -0.24559786915779114 ]
http://arxiv.org/abs/2406.02528v5
http://arxiv.org/pdf/2406.02528v5
Scalable MatMul-free Language Modeling
2024-06-04T17:50:34
2024-06-18T17:30:06
Rui-Jie Zhu, Yu Zhang, Ethan Sifferman, Tyler Sheaves, Yiqiao Wang, Dustin Richmond, Peng Zhou, Jason K. Eshraghian
cs.CL
cs.CL
Matrix multiplication (MatMul) typically dominates the overall computational cost of large language models (LLMs). This cost only grows as LLMs scale to larger embedding dimensions and context lengths. In this work, we show that MatMul operations can be completely eliminated from LLMs while maintaining strong performance at billion-parameter scales. Our experiments show that our proposed MatMul-free models achieve performance on-par with state-of-the-art Transformers that require far more memory during inference at a scale up to at least 2.7B parameters. We investigate the scaling laws and find that the performance gap between our MatMul-free models and full precision Transformers narrows as the model size increases. We also provide a GPU-efficient implementation of this model which reduces memory usage by up to 61% over an unoptimized baseline during training. By utilizing an optimized kernel during inference, our model's memory consumption can be reduced by more than 10x compared to unoptimized models. To properly quantify the efficiency of our architecture, we build a custom hardware solution on an FPGA which exploits lightweight operations beyond what GPUs are capable of. We processed billion-parameter scale models at 13W beyond human readable throughput, moving LLMs closer to brain-like efficiency. This work not only shows how far LLMs can be stripped back while still performing effectively, but also points at the types of operations future accelerators should be optimized for in processing the next generation of lightweight LLMs. Our code implementation is available at https://github.com/ridgerchu/matmulfreellm.
[ -0.4549712836742401, -0.8325325846672058, 0.47836869955062866, 0.3176141679286957, -0.2973509132862091, 0.16852369904518127, -0.43514424562454224, -0.3574650287628174, -0.0981849953532219, 0.6402010321617126, -0.06085827946662903, -0.189886212348938, -0.68766850233078, -0.42124003171920776, -0.2768152058124542, 0.708474338054657, -0.02723856270313263, 0.16178523004055023, -0.446013480424881, -0.4090285301208496, -0.027652379125356674, -0.32455873489379883, -0.6848225593566895, -0.41863688826560974, 0.5306505560874939, 0.39155474305152893, 0.8796523809432983, 0.9824192523956299, 0.5310891270637512, 0.2519192099571228, -0.26367953419685364, -0.014396191574633121, -0.6492372155189514, -0.18919876217842102, 0.18404479324817657, -0.6207432746887207, -0.792908251285553, 0.03434959426522255, 0.9185550808906555, 0.9257787466049194, -0.4442979395389557, 0.36897602677345276, -0.03278881311416626, 0.4554728865623474, -0.5920625925064087, 0.15577800571918488, -0.5801956057548523, -0.1286555975675583, -0.12510089576244354, 0.0750749483704567, -0.7315447926521301, -0.10856642574071884, -0.49203234910964966, -0.4040292501449585, 0.1343647837638855, 0.09051686525344849, 0.6235715746879578, 0.4095088243484497, -0.5105186700820923, 0.12058603763580322, -0.8298967480659485, 0.9872015118598938, -0.6252022981643677, 0.74171382188797, 0.268925279378891, 0.3599056601524353, -0.09202858060598373, -0.621028482913971, -0.18344555795192719, -0.315949410200119, -0.06295584887266159, -0.17878304421901703, -0.5139893293380737, 0.2578418254852295, 0.6291956901550293, 0.40998753905296326, -0.4089435935020447, 0.17468270659446716, -0.43599310517311096, 0.09209802001714706, 0.40117964148521423, 0.21880488097667694, 0.05134391412138939, 0.2624382972717285, -0.25942713022232056, 0.1222931295633316, -0.9925073981285095, -0.01590447872877121, 0.15161211788654327, -0.04400121420621872, -0.11283154785633087, 0.5018617510795593, 0.10669112950563431, 0.43307313323020935, -0.018693439662456512, -0.1981300264596939, -0.05262187868356705, 0.11422059684991837, -0.4454282224178314, -0.31460851430892944, 0.6876053810119629, 0.11015963554382324, 0.18501949310302734, -0.5469557046890259, -0.3651939928531647, 0.14637652039527893, 0.32332655787467957, -1.3123867511749268, -0.06101212650537491, 0.1547151654958725, -0.45891591906547546, -0.0982091873884201, -0.6300618648529053, -0.5593551993370056, -0.24003875255584717, -0.16997674107551575, 0.3873803913593292, -0.5522048473358154, -0.28199630975723267, 0.023367473855614662, 0.27514147758483887, -0.005158557556569576, 0.18490087985992432, -1.018512487411499, 0.6824490427970886, 0.7005541920661926, 0.8302096128463745, -0.09323389828205109, 0.10471373051404953, -0.685962975025177, 0.30133870244026184, -0.429838091135025, 0.24438638985157013, -0.6606312990188599, -0.5750700235366821, -0.6211243271827698, -0.24420437216758728, 0.09347794950008392, -0.7261183857917786, 0.33138933777809143, -0.5838695168495178, -0.2900058627128601, 0.006788775324821472, -0.5554047226905823, -0.1585756242275238, -0.13057412207126617, -0.7210268378257751, 0.8752349019050598, 0.1948770135641098, -0.49912407994270325, 0.18829956650733948, -0.5563496947288513, -0.437958300113678, 0.07301979511976242, -0.04215399920940399, -0.5266029238700867, 0.5006954073905945, 0.318852037191391, 0.5256162285804749, -0.7178786396980286, 0.5044360756874084, -0.4699004590511322, -0.5346036553382874, -0.003094961168244481, -0.5047564506530762, 0.7414739727973938, 0.37114542722702026, -0.2627115845680237, 0.22417758405208588, -0.9371629953384399, -0.135986790060997, 0.12915393710136414, -0.4301176965236664, -0.029099825769662857, 0.06448090076446533, -0.24297821521759033, 0.12251637876033783, 0.22092676162719727, -0.6499049067497253, 0.2168002724647522, -0.04184269532561302, 0.4467965066432953, 0.48764994740486145, -0.5362721085548401, 0.7686358690261841, -0.09366707503795624, 0.6506510376930237, 0.04275253415107727, 0.14189602434635162, -0.07857536524534225, -0.4703052341938019, -0.9413223266601562, -0.8116244077682495, 0.1305277794599533, 0.25265681743621826, -0.5267059206962585, -0.19773060083389282, -0.4885680675506592, -0.6497892141342163, -0.5730454921722412, 0.18854054808616638, 0.3344948887825012, 0.571241021156311, 0.43220049142837524, 0.16859225928783417, -0.4908488094806671, -1.0222059488296509, -0.14091496169567108, -0.04040684551000595, -0.4451765716075897, 0.5197772979736328, 0.1462179720401764, -0.1931852102279663, 0.7705581784248352, -0.4971469044685364, 0.11927520483732224, -0.3339269459247589, 0.03180066868662834, 0.1374099999666214, 0.6194918155670166, 0.5532081723213196, -0.42358797788619995, -0.20288506150245667, 0.09120824933052063, -0.5321921706199646, -0.26720649003982544, 0.09641317278146744, 0.18637202680110931, 0.23665951192378998, 0.6519758701324463, -0.846172034740448, 0.0689370259642601, 0.6292092800140381, 0.00894774030894041, 0.3104027211666107, -0.5624771118164062, -0.24531157314777374, -0.8888022899627686, 0.18014857172966003, -0.10593116283416748, -0.2976408004760742, -0.6645063161849976, 0.35188183188438416, 0.5519765615463257, -0.07043483853340149, -0.2705565392971039, 0.5455818772315979, -0.5585016012191772, -0.23159411549568176, -0.12881550192832947, -0.10801722854375839, -0.09597816318273544, 0.5077461004257202, -0.13997580111026764, 0.9593327641487122, 0.4846970736980438, -0.44374698400497437, -0.01653902791440487, -0.3245534300804138, -0.0570223405957222, 0.31499630212783813, -0.4531189203262329, -0.08293094485998154, -0.21988388895988464, 0.29499271512031555, -1.0697613954544067, 0.19807013869285583, -0.2384551614522934, -0.17806504666805267, 0.5013700127601624, -0.25522515177726746, -0.4062208831310272, -0.3621644079685211, -0.11309316754341125, 0.5126636028289795, 0.7307161688804626, -0.58002769947052, 0.8772357702255249, 0.3517799377441406, 0.08488032966852188, -0.44350919127464294, -0.8454977869987488, 0.18923771381378174, -0.17444416880607605, -0.5285581350326538, 0.1449805349111557, -0.21942518651485443, -0.21908488869667053, -0.1330753117799759, 0.09978054463863373, -0.03256978839635849, 0.27899065613746643, 0.2831154465675354, 0.37959063053131104, -0.5532433390617371, 0.07844869792461395, 0.13407760858535767, -0.25112324953079224, 0.005470938514918089, -0.346981942653656, 0.7039141654968262, -0.38995030522346497, -0.16864363849163055, -0.04338419437408447, 0.18725335597991943, 0.8014580011367798, -0.2973460853099823, 0.7539293766021729, 0.8590599298477173, -0.3540211617946625, -0.09365849196910858, -0.7072364687919617, 0.0037659103982150555, -0.5266014337539673, 0.36593058705329895, -0.5349134802818298, -1.0979390144348145, 0.5869641304016113, -0.03521912544965744, 0.23535282909870148, 0.3732546865940094, 0.6801386475563049, 0.19987095892429352, 1.1184340715408325, 0.5035062432289124, -0.043535757809877396, 0.2963135242462158, -0.3344588279724121, 0.217651829123497, -1.0468580722808838, -0.03718266263604164, -0.2863910496234894, -0.5473448634147644, -0.6494523882865906, -0.9611136317253113, 0.10919031500816345, 0.09095558524131775, -0.2895880937576294, 0.31394410133361816, -0.24740926921367645, 0.6024119257926941, 0.3173392117023468, -0.23470859229564667, 0.30773961544036865, 0.003598653245717287, -0.4285829961299896, -0.016319820657372475, -0.6501467227935791, -0.44703540205955505, 1.2914916276931763, 0.3443860113620758, 0.8716076016426086, 0.06307611614465714, 0.4284118413925171, -0.12667451798915863, 0.7338430881500244, -0.6353898048400879, 0.9626692533493042, -0.19814054667949677, -0.30596229434013367, -0.11994338780641556, -0.8331145644187927, -0.8125643134117126, 0.7321314811706543, 0.026678601279854774, -0.8148937821388245, -0.2798469364643097, -0.004408621694892645, -0.20363911986351013, 0.9985365271568298, -0.7911325693130493, 0.42450520396232605, 0.03861816227436066, -0.4997927248477936, -0.6731830835342407, -0.2609458565711975, 0.653766393661499, -0.09558927267789841, 0.11982911080121994, -0.23608654737472534, -0.4875130355358124, 0.3389374315738678, -0.38506370782852173, 0.37133097648620605, -0.14837391674518585, -0.201598659157753, -0.018336700275540352, 0.3537229895591736, 0.45763787627220154, 0.07261823862791061, -0.1141895055770874, 0.3843626379966736, -0.2655421793460846, -0.5338730216026306, -0.44515460729599, 0.9785834550857544, -0.7213627696037292, -0.7295568585395813, 0.21007198095321655, -1.0699808597564697, -0.3175814151763916, 0.09833943843841553, -0.19459305703639984, 0.4299856424331665, -0.11049304157495499, 0.4017986059188843, 0.6532271504402161, -0.15935954451560974, 0.683635413646698, 0.6210206747055054, -0.4396614730358124, -0.3685976266860962, 0.9810490012168884, 0.2884262502193451, 0.4754374027252197, 0.4738978147506714, 0.234156534075737, -0.11157400161027908, -0.6686285138130188, -0.6208121180534363, 0.2825668752193451, -0.25725093483924866, -0.07772856205701828, -0.9598659873008728, -0.06861282140016556, -0.23764550685882568, -0.28181692957878113, -0.5227062702178955, -0.7705066204071045, -0.26056739687919617, -0.0918736681342125, 0.172891765832901, 0.3997286856174469, -0.1196707934141159, 0.49585482478141785, -0.5152779817581177, 0.4493023455142975, 0.12687881290912628, 0.6247971057891846, 0.40264636278152466, -0.35141733288764954, -0.2619713544845581, -0.04335525259375572, -0.24671481549739838, -0.1353839933872223, 0.42250439524650574, 0.008373044431209564, 0.3206999599933624, 0.6328864693641663, -0.32022663950920105, 0.7804147005081177, -0.6454365849494934, 0.45879873633384705, 0.06255382299423218, -0.80647212266922, -0.13592326641082764, -0.4059107005596161, 0.4825401306152344, 0.042053043842315674, 0.23918655514717102, -0.4392465353012085, -0.49629658460617065, -0.6192604303359985, -0.651512622833252, 0.6704097390174866, 0.03448347747325897, -0.007027715910226107, 0.09641606360673904, 0.2491653710603714, -0.06360498815774918, 0.13618828356266022, -0.44188541173934937, -0.24408115446567535, 0.1817154437303543, -0.00650660740211606, -0.342347651720047, -0.42922472953796387, 0.14138281345367432, -0.49238839745521545, 0.6081216931343079, -0.007877548225224018, 0.26175493001937866, -0.48859915137290955, -0.3549959361553192, -0.1800408661365509, 0.23938220739364624, 0.861241340637207, 0.5481759309768677, -0.2805827558040619, 0.29635143280029297, 0.5958002209663391, -0.5915811061859131, 0.19255948066711426, 0.0468420572578907, -0.15684844553470612, -0.25647369027137756, -0.14692987501621246, 0.7570711374282837, 0.5627040863037109, -0.6323564648628235, 0.22248175740242004, -0.19382795691490173, -0.1340450942516327, 0.0586061030626297, 0.06729704141616821, 0.7302191257476807, 0.272392600774765, 0.18062296509742737, 0.06240259110927582, -0.20028427243232727, 0.09531938284635544, 0.2671818435192108, 0.6584444046020508, -0.17221203446388245, -0.3180968165397644, 1.1083664894104004, -0.13781310617923737, -0.16122333705425262, 0.5702017545700073, -0.09502384811639786, -0.008838786743581295, 0.4389432668685913, 0.7218429446220398, 0.6938416957855225, -0.39917710423469543, 0.04792138561606407, 0.26812684535980225, 0.4854929745197296, 0.1442297101020813, -0.044135089963674545, -0.2813608944416046, -0.411994993686676, -0.4900766909122467, -0.8377029895782471, -0.43276768922805786, 0.13269571959972382, -0.3264461159706116, 0.12038639187812805, -0.9822600483894348, 0.014494368806481361, -0.1243208721280098, 0.1253463625907898, -0.36684519052505493, 0.09904751926660538, 0.24441160261631012, 0.7594813108444214, -0.3216375708580017, 1.173336386680603, 0.16344912350177765, -0.10623767971992493, -0.735365629196167, -0.782694399356842, -0.11145786941051483, -0.8320921063423157, 0.40537863969802856, 0.1808297485113144, -0.2727481722831726, 0.0920417532324791, -0.2780706584453583, -0.9955933690071106, 1.0711219310760498, 0.9658495187759399, -0.47018852829933167, -0.07027027755975723, 0.5117059946060181, 0.3715394139289856, -0.2702579200267792, 0.5518542528152466, 0.581835925579071, 0.25696125626564026, 0.3394632041454315, -0.6283486485481262, 0.15851153433322906, -0.030852515250444412, 0.07190404087305069, 0.6167342066764832, -0.7719637751579285, 1.2790786027908325, -0.34819844365119934, -0.1354927122592926, 0.05255629122257233, 0.7071905136108398, 0.05498374253511429, -0.1292080134153366, 0.3907895088195801, 0.9250025153160095, 0.8233576416969299, -0.013531329110264778, 1.0876768827438354, -0.5083160996437073, 0.31166577339172363, 0.8772754073143005, -0.18119142949581146, 0.8289887309074402, 0.4439105987548828, -0.1467965692281723, 0.22599323093891144, 0.15778568387031555, 0.007814005017280579, -0.16112343966960907, 0.3169346749782562, -0.3184983432292938, -0.47043830156326294, 0.04646153375506401, -0.010976159945130348, 0.2317056506872177, 0.4333251714706421, -0.3226976990699768, -0.48350903391838074, 0.004639090970158577, 0.3844465911388397, -0.39295294880867004, -0.4444817006587982, 0.25195959210395813, 0.16101309657096863, -0.4218175709247589, 0.8269773125648499, 0.21547874808311462, 0.626111626625061, -0.6172008514404297, 0.3729434013366699, -0.37237635254859924, 0.4851405918598175, -0.049392808228731155, -0.21196846663951874, 0.33922144770622253, -0.036699529737234116, -0.10305073112249374, -0.46783512830734253, 0.5997111797332764, -0.6067565083503723, -0.7616942524909973, 0.28894785046577454, 0.4348393976688385, 0.16637884080410004, -0.1323043704032898, -0.31834056973457336, -0.04811513423919678, -0.26900944113731384, -0.37991490960121155, 0.6159464716911316, 0.09402013570070267, -0.26595568656921387, 1.0894722938537598, 0.785362720489502, 0.17069555819034576, 0.2778518795967102, 0.007168404292315245, 0.8044454455375671, -0.5310142040252686, -0.23310843110084534, -0.8650433421134949, 0.12555786967277527, 0.13157637417316437, 0.14637985825538635, 0.6678193211555481, 0.9595245718955994, 0.4821356534957886, 0.06775794178247452, 0.1990535408258438, 0.32954487204551697, 0.1175847202539444, -0.1714068204164505, 0.9524061679840088, -0.7012020349502563, 0.16129416227340698, -0.0858888253569603, -0.8407295346260071, -0.4194141924381256, 0.21885959804058075, -0.2680196166038513, 0.022840434685349464, 0.4536827504634857, 0.9279593825340271, -0.3931373953819275, 0.10710255801677704, 0.8829008340835571, 0.3232415020465851, 0.6047256588935852, 0.6295573711395264, 0.3579566776752472, -0.20323094725608826, 0.6403769254684448, -0.13545821607112885, -0.11294203251600266, -0.20216304063796997, -0.7484909296035767, -0.6910306811332703, -0.22547192871570587, -0.14867492020130157, -0.10735481977462769, -0.3356740474700928, 0.6448182463645935, 0.5742276310920715, -0.4989122450351715, -0.5832246541976929, 0.021265383809804916, 0.09883752465248108, -0.17305652797222137, -0.16211354732513428, 0.29315266013145447, -0.3733046352863312, -0.819627046585083, 0.4185757637023926, 0.5412996411323547, -0.019716311246156693, -0.42453089356422424, -0.10148179531097412, -0.03068115934729576, 0.428740918636322, 0.8862800002098083, 0.10075648874044418, -0.6829199194908142, -0.1497834473848343, 0.03733903169631958, -0.23929613828659058, 0.3836674392223358, 0.9087903499603271, -0.8478389978408813, 0.19122835993766785, 0.19908180832862854, 0.7970271706581116, 0.9073886275291443, -0.36895638704299927, 0.44570428133010864, -0.5312022566795349, 0.2681526243686676, 0.09437917172908783, 0.6023268103599548, 0.34776538610458374, -0.07718684524297714, 0.43810299038887024, 0.07393775135278702, -0.3493477702140808, -0.6699036359786987, 0.16047360002994537, -0.9195877313613892, -0.11110767722129822, 1.1733242273330688, -0.08679357916116714, -0.4209936559200287, 0.30756518244743347, -0.10991021990776062, 0.19637426733970642, -0.21062004566192627, 0.44739189743995667, 0.65134596824646, 0.04913957789540291, -0.3516108989715576, -0.5316776037216187, 0.1801198571920395, 0.6011796593666077, -0.4889337122440338, 0.4061986207962036, 0.47121497988700867, 0.33952757716178894, -0.18122628331184387, 0.5011945962905884, -0.14115507900714874, 0.05804998800158501, 0.14948932826519012, 0.1397877037525177, -0.37405794858932495, -0.13359995186328888, -0.32547736167907715, 0.47057971358299255, -0.0592808835208416, 0.03775219991803169 ]
http://arxiv.org/abs/2406.02657v1
http://arxiv.org/pdf/2406.02657v1
Block Transformer: Global-to-Local Language Modeling for Fast Inference
2024-06-04T17:45:26
2024-06-04T17:45:26
Namgyu Ho, Sangmin Bae, Taehyeon Kim, Hyunjik Jo, Yireun Kim, Tal Schuster, Adam Fisch, James Thorne, Se-Young Yun
cs.CL
cs.CL, cs.AI, cs.LG
This paper presents the Block Transformer architecture which adopts hierarchical global-to-local modeling to autoregressive transformers to mitigate the inference bottlenecks of self-attention. To apply self-attention, the key-value (KV) cache of all previous sequences must be retrieved from memory at every decoding step. Thereby, this KV cache IO becomes a significant bottleneck in batch inference. We notice that these costs stem from applying self-attention on the global context, therefore we isolate the expensive bottlenecks of global modeling to lower layers and apply fast local modeling in upper layers. To mitigate the remaining costs in the lower layers, we aggregate input tokens into fixed size blocks and then apply self-attention at this coarse level. Context information is aggregated into a single embedding to enable upper layers to decode the next block of tokens, without global attention. Free of global attention bottlenecks, the upper layers can fully utilize the compute hardware to maximize inference throughput. By leveraging global and local modules, the Block Transformer architecture demonstrates 10-20x gains in inference throughput compared to vanilla transformers with equivalent perplexity. Our work introduces a new approach to optimize language model inference through novel application of global-to-local modeling. Code is available at https://github.com/itsnamgyu/block-transformer.
[ -0.35791975259780884, -1.0582464933395386, 0.45938074588775635, 0.31665942072868347, -0.06864731013774872, -0.07995547354221344, -0.06753765046596527, -0.42967522144317627, 0.009944193065166473, 0.7151172161102295, -0.2949443459510803, -0.03616897761821747, -0.4866912066936493, -0.16170428693294525, -0.5808658003807068, 0.6149256825447083, 0.032994888722896576, -0.2919509708881378, -0.06314939260482788, 0.35771554708480835, -0.5482479333877563, -0.3345637917518616, -0.7740598320960999, -0.2843630015850067, 0.09642397612333298, 0.4124652147293091, 0.5546594262123108, 1.0156806707382202, 0.2250385880470276, 0.3912580609321594, 0.15910448133945465, -0.2130308598279953, -0.3827643394470215, 0.22946004569530487, -0.49556949734687805, -0.3738501965999603, -0.37191587686538696, -0.35291627049446106, 0.5834665298461914, 0.30867525935173035, -0.01309062447398901, 0.2454594224691391, -0.26057443022727966, 0.4407118260860443, -0.7250575423240662, 0.11507086455821991, -0.8434967398643494, 0.07630828768014908, -0.10458094626665115, 0.23800629377365112, -0.5841696262359619, -0.0021945908665657043, 0.14100611209869385, -0.15108320116996765, 0.7155168652534485, 0.21178871393203735, 0.6431400775909424, 0.4719419777393341, -0.3871482312679291, 0.08891383558511734, -0.8678119778633118, 0.7482531070709229, -0.5139692425727844, 0.41015300154685974, 0.25644636154174805, 0.48594650626182556, 0.018166841939091682, -0.990230917930603, -0.48710259795188904, 0.06331581622362137, -0.31124797463417053, 0.010880231857299805, -0.35510775446891785, -0.010139415971934795, -0.1521511822938919, 0.7434051632881165, -0.3224979043006897, -0.008572131395339966, -0.2687152326107025, -0.2540096044540405, 0.4986480176448822, 0.1451072096824646, -0.0092058340087533, -0.3899439573287964, -0.5081295371055603, 0.053053583949804306, -0.4839559495449066, -0.0024849597830325365, 0.13554437458515167, 0.3166722059249878, -0.12391548603773117, -0.07187043130397797, -0.3804074823856354, 0.6937921047210693, 0.37001609802246094, 0.05775116756558418, -0.03850269317626953, -0.3743544816970825, -0.39411458373069763, 0.17407529056072235, 0.8966355323791504, -0.1910555064678192, 0.2695326507091522, -0.39435386657714844, -0.09886636584997177, 0.00921679474413395, 0.6104331016540527, -0.9224246144294739, -0.2493780255317688, 0.2629661560058594, -0.437847375869751, -0.21232716739177704, -0.18208345770835876, -1.1105797290802002, -0.09253375977277756, -0.20164966583251953, 0.4848001301288605, 0.05861828103661537, -0.28152671456336975, 0.15231314301490784, 0.2976161241531372, 0.07811187207698822, 0.015559354797005653, -1.0661754608154297, 0.6388563513755798, 0.3147185742855072, 0.7962523698806763, -0.38869404792785645, -0.1341562569141388, -0.41913697123527527, 0.07305608689785004, -0.041627660393714905, 1.0411708354949951, -0.3613610565662384, -0.30964305996894836, -0.3289921283721924, 0.1733185052871704, -0.2681559920310974, -0.6197243928909302, 0.3562037944793701, -0.4473368227481842, 0.07301544398069382, 0.3017268776893616, -0.269405722618103, 0.02603449486196041, -0.16664695739746094, -0.8110284805297852, 1.263462781906128, 0.1325027197599411, -0.6897681951522827, -0.21305635571479797, -0.5452529191970825, -0.7127906084060669, -0.15957443416118622, -0.027477798983454704, -0.457364022731781, 0.2633361220359802, 0.5550488233566284, 0.6292733550071716, -0.7083146572113037, 0.7110979557037354, 0.09888407588005066, -0.3844854235649109, -0.18595322966575623, -0.6446337103843689, 0.47192803025245667, 0.3312985301017761, -0.7398941516876221, 0.3533306121826172, -0.8305549621582031, -0.3120987117290497, 0.26917892694473267, 0.08312702924013138, -0.03370640426874161, 0.09858352690935135, -0.08086077123880386, 0.45336341857910156, 0.0065500568598508835, -0.4512578248977661, 0.19764411449432373, -0.17640981078147888, 0.4939343333244324, 0.6364548206329346, -0.03834543749690056, 0.6339428424835205, 0.1361677497625351, 0.5202191472053528, -0.0600191093981266, 0.2527318000793457, -0.39298537373542786, -0.3917059004306793, -0.8760807514190674, -0.513778805732727, 0.2622881233692169, 0.5425383448600769, -0.39798253774642944, 0.3132348954677582, -0.40626659989356995, -0.44359198212623596, -0.9370903372764587, -0.01403969619423151, 0.3956649601459503, 0.6575043201446533, 0.5625031590461731, -0.3224174678325653, -0.4383711516857147, -1.030896544456482, -0.2097330242395401, 0.20760731399059296, -0.11820151656866074, 0.11933872103691101, 0.38667985796928406, -0.20674628019332886, 1.0554943084716797, -0.3909371793270111, -0.15037712454795837, -0.4277230501174927, 0.15892721712589264, 0.13370375335216522, 0.4743959605693817, 0.009971694089472294, -0.4914129972457886, -0.45270779728889465, 0.04225529357790947, -0.27895036339759827, -0.2486305981874466, -0.39217865467071533, -0.4170266091823578, 0.08168680220842361, 0.5620853304862976, -0.47173213958740234, 0.5059704780578613, 0.6463172435760498, -0.3541131615638733, 0.5004161596298218, -0.05250494182109833, -0.0652645081281662, -1.1379457712173462, 0.13826565444469452, -0.016196804121136665, -0.42483046650886536, -0.7903490662574768, 0.09985461086034775, 0.24648866057395935, 0.04891829565167427, -0.3208819031715393, 0.961226224899292, -0.5853534936904907, -0.1893475353717804, -0.37117066979408264, 0.1748967170715332, 0.1117432564496994, 0.6609481573104858, 0.1244330108165741, 0.9631451964378357, 0.5985684394836426, -0.5489307045936584, 0.23704300820827484, 0.017484677955508232, -0.425302118062973, 0.2065601944923401, -0.6071053743362427, 0.12605948746204376, -0.0230767372995615, 0.19075550138950348, -1.0017657279968262, -0.013536836951971054, 0.04926396906375885, -0.06225483492016792, 0.5864332318305969, -0.22446444630622864, -0.2696477770805359, -0.6182339787483215, -0.024328725412487984, 0.6154342293739319, 0.5248109102249146, -0.6893342733383179, 0.9171982407569885, 0.3708544373512268, -0.023997073993086815, -0.5805000066757202, -0.7362993359565735, -0.10832863301038742, 0.027524417266249657, -0.49503690004348755, 0.41196003556251526, 0.0924178883433342, -0.11574064195156097, -0.1228589341044426, -0.4557618498802185, -0.17442280054092407, -0.08648335188627243, 0.14702008664608002, 0.034455347806215286, -0.3548206090927124, 0.013777527958154678, -0.07458537817001343, -0.41835421323776245, 0.12127095460891724, -0.5860081315040588, 0.6471668481826782, -0.2044847309589386, -0.1469208151102066, -0.5204216241836548, 0.3625065088272095, 0.5235468149185181, -0.44811561703681946, 0.5567674040794373, 0.41658732295036316, -0.10924161225557327, -0.3168017864227295, -0.8992709517478943, -0.2989194691181183, -0.4989144504070282, 0.46513983607292175, -0.5430382490158081, -0.8437714576721191, 0.6397658586502075, -0.11273079365491867, -0.5239912867546082, 0.4892713129520416, 0.6856722235679626, 0.3750675916671753, 0.6351627707481384, 0.4304778277873993, -0.5239899158477783, 0.49375325441360474, -0.3186773359775543, 0.6834943890571594, -0.8437436819076538, 0.021562887355685234, -0.4581564664840698, -0.18100804090499878, -0.40439867973327637, -0.8311102986335754, 0.00982870627194643, 0.08418403565883636, -0.3429226279258728, 0.3445053994655609, -0.6101487278938293, 0.5601001381874084, 0.6243656873703003, -0.1994088590145111, 0.3741844594478607, 0.0043932050466537476, -0.14308792352676392, 0.11320953071117401, -0.7270757555961609, -0.13435788452625275, 0.7557256817817688, 0.4254041612148285, 0.8760653138160706, -0.35032013058662415, 0.3066040873527527, 0.12730593979358673, 0.3903345763683319, -0.6476660966873169, 0.4005289673805237, 0.14558331668376923, -0.8733710646629333, -0.21006880700588226, -0.4388401508331299, -0.879846453666687, 0.5135748982429504, 0.28973308205604553, -1.106289267539978, 0.1783003956079483, 0.3833589255809784, -0.126682847738266, 0.6902754902839661, -0.7323715090751648, 1.3793026208877563, -0.015271521173417568, -0.47615915536880493, -0.2605092525482178, -0.7665573358535767, 0.5035391449928284, -0.09272833168506622, 0.3060719966888428, -0.08301583677530289, 0.37735646963119507, 0.1462138146162033, -0.17449826002120972, 0.9883401393890381, 0.020263323560357094, -0.2034064531326294, 0.5589170455932617, 0.3276992738246918, 0.5978758335113525, -0.09089921414852142, -0.07389737665653229, 0.390437513589859, -0.5317923426628113, -0.44344809651374817, -0.4726439118385315, 0.7807925343513489, -0.6040567755699158, -0.671362578868866, -0.07800114899873734, -0.7780526280403137, 0.1281101405620575, 0.23118725419044495, 0.17972007393836975, 0.6197529435157776, 0.05751457437872887, 0.0009509167284704745, 0.5914396643638611, 0.057670220732688904, 0.6167259216308594, 0.382159560918808, -0.14504140615463257, -0.37081244587898254, 0.9425123333930969, -0.14039888978004456, 0.6965420246124268, 0.8455632925033569, 0.22217847406864166, -0.30197712779045105, -0.31195881962776184, -0.3645743727684021, 0.26153314113616943, -0.749774694442749, -0.35346347093582153, -0.7310724854469299, -0.22338013350963593, -0.3675030767917633, -0.1207079365849495, -0.7711095809936523, -0.32124102115631104, 0.1487923115491867, 0.0151993278414011, 0.17976051568984985, 0.6203303337097168, 0.13353557884693146, 0.6492130160331726, -0.41424113512039185, 0.5263198018074036, 0.2896885275840759, 0.444917231798172, 0.30919671058654785, -0.6305724382400513, -0.4554941654205322, -0.557641863822937, -0.3418079614639282, -0.7057399749755859, 0.4311099648475647, -0.09103354811668396, 0.48842281103134155, 0.38744646310806274, 0.04446681588888168, 0.6877163052558899, -0.7022196650505066, 0.5267072319984436, -0.2595348358154297, -1.3655513525009155, 0.43158286809921265, -0.07619721442461014, 0.7241971492767334, 0.3308719992637634, 0.24972014129161835, -0.5790334343910217, -0.5942191481590271, -0.4313333332538605, -1.0111970901489258, 0.6751469969749451, 0.03465588763356209, 0.030227603390812874, -0.2617895007133484, 0.34275779128074646, 0.06543538719415665, 0.0438886322081089, -0.8453848958015442, -0.4928722381591797, -0.2909645736217499, -0.24164722859859467, 0.04376540333032608, -0.15817852318286896, 0.47012269496917725, -0.4903862476348877, 0.7278550267219543, -0.32432281970977783, 0.6257187724113464, 0.37020614743232727, -0.26207607984542847, -0.1294257789850235, 0.23927898705005646, 0.42366528511047363, 0.4255813658237457, 0.008781311102211475, 0.3858388066291809, 0.37200042605400085, -0.4710679352283478, 0.053525976836681366, 0.11223907023668289, -0.16055984795093536, -0.11101428419351578, 0.2325979620218277, 1.05996835231781, 0.6001051068305969, -0.31305357813835144, 0.29338979721069336, -0.2315070480108261, 0.11203644424676895, 0.08034896105527878, -0.10558781772851944, 0.22871734201908112, 0.19138216972351074, 0.28304845094680786, 0.15029452741146088, 0.17447321116924286, -0.2105146050453186, 0.10823800414800644, 0.2731737494468689, -0.22290246188640594, -0.2645401656627655, 0.8549507856369019, 0.10479050874710083, -0.2678539454936981, 0.4611721336841583, 0.008104504086077213, -0.49479466676712036, 0.545137345790863, 0.9382982850074768, 1.0216213464736938, -0.781880259513855, -0.051726508885622025, 0.4349011182785034, 0.3046962022781372, 0.000028305496016400866, -0.0409177802503109, -0.385250985622406, -0.5292567610740662, -0.814131498336792, -0.6772192120552063, -0.1846417933702469, 0.15023310482501984, -0.5073398947715759, -0.05711349472403526, -0.14281238615512848, 0.1234334260225296, -0.26867935061454773, -0.14485259354114532, -0.5993695259094238, 0.3567412793636322, 0.1112758070230484, 0.8250249028205872, -0.654103696346283, 1.2838330268859863, 0.028800955042243004, -0.00745360367000103, -0.5287388563156128, 0.042181845754384995, -0.3193238079547882, -0.7679031491279602, 0.5384233593940735, 0.44250115752220154, -0.3575464189052582, 0.19899819791316986, -0.16906945407390594, -1.1590088605880737, 0.9561957716941833, 0.35564059019088745, -0.5098012685775757, -0.04145067185163498, 0.07961934059858322, 0.19072197377681732, -0.33688727021217346, 0.5106484889984131, 0.8592973947525024, 0.3408731520175934, -0.0335603728890419, -0.8348334431648254, 0.245744988322258, -0.15046840906143188, 0.21515676379203796, 0.5421231985092163, -0.5300593972206116, 0.9062186479568481, -0.10670274496078491, -0.12487004697322845, -0.12557412683963776, 0.8390985131263733, -0.28439339995384216, -0.15644292533397675, 0.3549448549747467, 0.4375034272670746, 0.5320490002632141, -0.09115948528051376, 1.2659378051757812, -0.590904712677002, 0.47690021991729736, 1.3066132068634033, 0.0059404438361525536, 0.8135051727294922, 0.4402228891849518, 0.019631028175354004, 0.6058673858642578, 0.24403022229671478, 0.08553297072649002, 0.6817560791969299, 0.25981906056404114, -0.3204253613948822, -0.16675281524658203, 0.1267809271812439, -0.0792168527841568, 0.2968410551548004, 0.2807646095752716, -0.18204227089881897, -0.23525863885879517, -0.24735219776630402, -0.03572651743888855, -0.16000895202159882, -0.33673396706581116, 0.47003233432769775, -0.07256309688091278, -0.7830931544303894, 0.569675624370575, 0.0674733817577362, 0.6396622061729431, -0.6540175676345825, 0.24331893026828766, -0.47227978706359863, 0.49008724093437195, 0.1322973370552063, -0.19962811470031738, 0.4379984736442566, -0.18380296230316162, -0.4023188352584839, -0.3405158817768097, 0.8771020770072937, -0.4604738652706146, -0.46224337816238403, 0.5277631878852844, 0.24656374752521515, 0.045157015323638916, -0.35768720507621765, -0.3903590142726898, 0.0975482240319252, -0.18656505644321442, -0.5636299848556519, 0.13615460693836212, 0.4087807238101959, -0.2721001207828522, 0.7093902230262756, 0.39919885993003845, -0.14356788992881775, 0.3076958954334259, 0.12980353832244873, 0.5912063121795654, -0.7866219282150269, -0.4601358473300934, -0.9721375703811646, 0.7288451790809631, -0.07728725671768188, -0.15067115426063538, 0.63328617811203, 0.42256420850753784, 0.8128511905670166, -0.22681431472301483, 0.5937710404396057, 0.13035278022289276, 0.13060083985328674, -0.40112295746803284, 0.5300484895706177, -0.23389844596385956, -0.14162971079349518, -0.043963149189949036, -0.7925965785980225, -0.31634506583213806, 0.7203145623207092, -0.47061607241630554, -0.009712102822959423, 0.9257000088691711, 0.6843923330307007, -0.32342857122421265, -0.030384493991732597, 0.3937162458896637, 0.4492327570915222, 0.24963465332984924, 0.5218139290809631, 0.3428305685520172, -0.6708770990371704, 0.38218846917152405, -0.35992854833602905, 0.05074072256684303, -0.15627549588680267, -0.9851375222206116, -1.042791485786438, -0.3662998080253601, -0.18798325955867767, -0.0610995888710022, -0.16063854098320007, 0.7614111304283142, 1.0095412731170654, -1.062723159790039, -0.4805135726928711, -0.40790051221847534, 0.23636242747306824, -0.24647186696529388, -0.3272853195667267, 0.4004320502281189, -0.6494080424308777, -0.8230034112930298, 0.6255483627319336, 0.30842679738998413, -0.1264544278383255, -0.4373667538166046, 0.1262447088956833, -0.23720620572566986, 0.15302534401416779, 0.5160709619522095, 0.2195241004228592, -0.9948169589042664, -0.09277505427598953, -0.14297457039356232, -0.09926597774028778, 0.49236029386520386, 1.0220253467559814, -1.1561903953552246, 0.6146318316459656, 0.21782249212265015, 0.9131651520729065, 1.0642940998077393, -0.00447359774261713, 0.7749139666557312, -0.904425323009491, 0.30097272992134094, -0.17532525956630707, 0.4186228811740875, 0.46943169832229614, -0.4592134952545166, 0.37937575578689575, 0.2513100802898407, -0.6930417418479919, -0.5447061061859131, 0.24087975919246674, -0.506783664226532, -0.33143121004104614, 0.768393337726593, 0.09567610174417496, -0.5339108109474182, -0.1172647550702095, -0.24933932721614838, 0.34697699546813965, -0.24102182686328888, 0.8073132634162903, 0.4777778387069702, 0.15429560840129852, -0.23812082409858704, -0.8155642747879028, 0.40217599272727966, 0.4451199471950531, -0.9228733777999878, 0.3342136740684509, 0.11881309002637863, 0.20166334509849548, 0.2550937533378601, 0.6646468639373779, 0.1616281121969223, -0.006371242459863424, 0.03676282986998558, 0.4719700515270233, 0.14206789433956146, -0.6645736694335938, -0.44918009638786316, 0.11139746010303497, -0.379991352558136, -0.12891510128974915 ]
http://arxiv.org/abs/2406.02524v2
http://arxiv.org/pdf/2406.02524v2
CheckEmbed: Effective Verification of LLM Solutions to Open-Ended Tasks
2024-06-04T17:42:21
2024-06-07T17:58:22
Maciej Besta, Lorenzo Paleari, Ales Kubicek, Piotr Nyczyk, Robert Gerstenberger, Patrick Iff, Tomasz Lehmann, Hubert Niewiadomski, Torsten Hoefler
cs.CL
cs.CL
Large Language Models (LLMs) are revolutionizing various domains, yet verifying their answers remains a significant challenge, especially for intricate open-ended tasks such as consolidation, summarization, and extraction of knowledge. In this work, we propose CheckEmbed: an accurate, scalable, and simple LLM verification approach. CheckEmbed is driven by a straightforward yet powerful idea: in order to compare LLM solutions to one another or to the ground-truth, compare their corresponding answer-level embeddings obtained with a model such as GPT Text Embedding Large. This reduces a complex textual answer to a single embedding, facilitating straightforward, fast, and meaningful verification. We develop a comprehensive verification pipeline implementing the CheckEmbed methodology. The CheckEmbed pipeline also comes with metrics for assessing the truthfulness of the LLM answers, such as embedding heatmaps and their summaries. We show how to use these metrics for deploying practical engines that decide whether an LLM answer is satisfactory or not. We apply the pipeline to real-world document analysis tasks, including term extraction and document summarization, showcasing significant improvements in accuracy, cost-effectiveness, and runtime performance compared to existing token-, sentence-, and fact-level schemes such as BERTScore or SelfCheckGPT.
[ -0.2838993966579437, -0.8682439923286438, 0.8892008662223816, 0.179875910282135, -0.19050835072994232, 0.4008975625038147, -0.194630429148674, -0.16483446955680847, -0.02057633548974991, 0.610252320766449, -0.29611140489578247, -0.8628155589103699, -0.7940788865089417, -0.13298681378364563, -0.5906947255134583, 0.6006982326507568, -0.6455696821212769, -0.28323084115982056, -0.9686979055404663, -0.17584121227264404, -0.22870005667209625, -0.25431177020072937, -0.49373358488082886, -0.4727160930633545, 0.05498956888914108, 0.22022999823093414, 0.5366050004959106, 0.7332373261451721, 0.6786105036735535, 0.31612902879714966, -0.039709076285362244, 0.7160708904266357, -0.4534139335155487, 0.21860827505588531, -0.11411026120185852, -0.5111953020095825, -0.37921541929244995, 0.12258283793926239, 0.4320331811904907, 0.3293510377407074, -0.0520181767642498, 0.4028043746948242, 0.009173251688480377, 0.27894219756126404, -0.695327877998352, 0.17170239984989166, -0.3788717985153198, -0.09421182423830032, 0.08721110224723816, -0.20886152982711792, -0.32543104887008667, -0.6668166518211365, -0.24531711637973785, -0.27045100927352905, 0.111723892390728, 0.07743509113788605, 0.9287706017494202, 0.6859689950942993, -0.476656973361969, -0.5282243490219116, -0.6493958234786987, 0.6384819746017456, -0.8025955557823181, 0.31389257311820984, 0.46274423599243164, 0.2806556820869446, -0.048896629363298416, -0.7237393856048584, -0.6023111939430237, -0.11623509973287582, -0.02322271093726158, 0.4336462914943695, -0.1862969547510147, -0.15220797061920166, 0.24267859756946564, 0.634486973285675, -0.7723467350006104, 0.1912732720375061, 0.15568839013576508, -0.534503698348999, 0.4245169758796692, 0.07102056592702866, 0.36707180738449097, 0.1616387516260147, -0.45396578311920166, 0.054783523082733154, -0.7388190031051636, -0.020502734929323196, 0.2846814692020416, -0.16779741644859314, -0.054361406713724136, 0.9017603993415833, -0.18958833813667297, 0.37607741355895996, -0.19732216000556946, -0.2543913424015045, -0.07896330207586288, -0.4369351267814636, -0.287396103143692, -0.13209785521030426, 0.5644633173942566, 0.3422999680042267, -0.050705451518297195, -0.20605039596557617, -0.5530495643615723, 0.15050391852855682, 0.1014261394739151, -0.8808635473251343, 0.06807281076908112, 0.7166235446929932, -0.18267661333084106, -0.248569056391716, -0.18353790044784546, -0.3906913995742798, -0.29250290989875793, -0.23661400377750397, 0.4956281781196594, -0.36608707904815674, -0.013540222309529781, 0.4046744704246521, 0.11639442294836044, 0.48434188961982727, 0.5798135995864868, -0.1577806919813156, 0.17670728266239166, 1.02732515335083, 1.1309430599212646, -0.08706677705049515, 0.03751789778470993, -0.8222153186798096, -0.10292011499404907, -0.4014895558357239, 0.8664323091506958, -0.2740124464035034, -0.2272815853357315, 0.2942017912864685, -0.3252706229686737, 0.2818444073200226, -0.47882527112960815, 0.5838219523429871, -0.6262956261634827, 0.3745597004890442, -0.10660267621278763, -1.0406737327575684, -0.10689838975667953, 0.8797189593315125, -0.3943907916545868, 1.1329814195632935, 0.01910235919058323, -0.7009363770484924, 0.06004691496491432, -0.7199289202690125, -0.18130002915859222, 0.12260646373033524, 0.02412584237754345, -0.4950268864631653, -0.08226943761110306, 0.43060943484306335, 0.636857271194458, -0.30940917134284973, -0.051496654748916626, -0.2765563428401947, -0.25922876596450806, 0.21749462187290192, -0.15816424787044525, 0.7855340242385864, 0.32477936148643494, -0.3284968435764313, 0.1271536499261856, -0.685842752456665, 0.21590988337993622, 0.23028644919395447, -0.4922749996185303, -0.27544593811035156, -0.023968316614627838, -0.2891901433467865, -0.10245224833488464, 0.5392313003540039, -0.7907570004463196, 0.32635971903800964, -0.027804013341665268, 0.35360419750213623, 0.5268767476081848, -0.0033621250186115503, 0.031304679811000824, -0.3435955047607422, 0.672643780708313, -0.13280940055847168, -0.115249864757061, -0.5005894303321838, -0.3108588755130768, -0.9133543372154236, -0.6752058863639832, 0.5662539601325989, 0.7127835154533386, -0.7785384058952332, 0.6238537430763245, -0.22556740045547485, -0.6634975671768188, -0.5957335233688354, 0.14858756959438324, 0.5369992256164551, 0.30793535709381104, 0.3546166718006134, -0.08665600419044495, -0.3345259130001068, -0.7645979523658752, -0.14051802456378937, -0.2171991467475891, -0.14154791831970215, 0.1983007937669754, 0.62184077501297, -0.40247201919555664, 0.976858377456665, -0.6714016199111938, -0.07069827616214752, -0.12102921307086945, 0.2687448561191559, 0.24312008917331696, 0.15669184923171997, 0.34522324800491333, -0.2858400344848633, -0.26140788197517395, 0.12462040781974792, -0.9771473407745361, -0.3194163739681244, -0.21274355053901672, 0.0006097477744333446, -0.21052102744579315, 0.610313355922699, -0.6184465289115906, 0.18050004541873932, 0.744177520275116, -0.3626852035522461, 0.3628588318824768, -0.3241083323955536, 0.16366665065288544, -0.9713508486747742, 0.1263429820537567, -0.25409552454948425, -0.9277620911598206, -0.04226299747824669, 0.704681396484375, 0.2999846637248993, -0.03889438137412071, -0.3164275884628296, 0.48980721831321716, -0.408430278301239, -0.04151143133640289, -0.13319242000579834, 0.5485880970954895, -0.06345862150192261, 0.1942630559206009, -0.35391563177108765, 1.0046156644821167, 0.39311373233795166, -0.40882864594459534, 0.4657006859779358, 0.28256112337112427, -0.5863253474235535, 0.656964898109436, -0.7917398810386658, 0.5300402641296387, -0.15304461121559143, 0.24934686720371246, -1.153745174407959, -0.005455167032778263, -0.19529053568840027, -0.2990938127040863, 0.1589876264333725, -0.12055608630180359, -0.8294482827186584, -0.23836944997310638, -0.31488871574401855, 0.025994718074798584, 0.6025237441062927, -0.6831039786338806, 0.6730329990386963, 0.3351585566997528, -0.0695248544216156, -0.62481689453125, -0.3059190809726715, 0.19919739663600922, 0.22435054183006287, -0.6413438320159912, 0.09245751798152924, -0.2806863486766815, -0.3930320739746094, -0.046349748969078064, -0.24771863222122192, 0.03361714258790016, 0.31021034717559814, 0.19948118925094604, 0.16110502183437347, -0.29511624574661255, -0.08250389248132706, 0.056460488587617874, -0.13527776300907135, 0.06854169815778732, -0.47611379623413086, 0.4184431731700897, -0.35325342416763306, -0.818934977054596, 0.1029185876250267, 0.2040511965751648, 0.8157543540000916, -0.629619836807251, 0.2830962538719177, 0.7416366338729858, -0.4624605178833008, -0.31191596388816833, -0.775075376033783, 0.05278424918651581, -0.3951515257358551, 0.11280182003974915, -0.23501694202423096, -1.2237533330917358, 0.6177918910980225, -0.2950338125228882, 0.4953431487083435, 0.28631168603897095, 0.7518109679222107, -0.1339312642812729, 0.6999832391738892, 0.4326247572898865, 0.15729683637619019, -0.1288507878780365, -0.31098660826683044, 0.188119575381279, -0.6634820103645325, -0.2745913565158844, -0.7393550872802734, -0.2180149257183075, -0.22721661627292633, -0.794372022151947, 0.1001003235578537, 0.06725145876407623, 0.08387991786003113, 0.36767083406448364, -0.23001760244369507, 0.8266106843948364, 0.3211655020713806, 0.042902860790491104, 0.4862546920776367, -0.4380822777748108, -0.3992871940135956, 0.19483962655067444, -0.314016193151474, -0.8036077618598938, 0.9061204195022583, 0.5372598171234131, 0.5787150263786316, 0.23088310658931732, 0.9411328434944153, 0.44881346821784973, 0.4404935836791992, -0.806452214717865, 0.648780107498169, -0.001052727922797203, -0.39496272802352905, -0.2825581431388855, -0.34633222222328186, -0.5763028264045715, 0.27862247824668884, -0.14429868757724762, -0.3843246102333069, -0.22001025080680847, 0.04721219465136528, -0.11047852784395218, 0.30297768115997314, -0.45425644516944885, 0.5975801348686218, -0.194951593875885, -0.39781343936920166, -0.02727440930902958, -0.14696359634399414, 0.3264559805393219, -0.11788330972194672, 0.21937383711338043, -0.10200933367013931, -0.36962199211120605, 0.5044317841529846, -0.5210243463516235, 0.7135561108589172, 0.029508164152503014, -0.5359540581703186, 0.39986687898635864, 0.35040372610092163, 0.9193800687789917, 0.09864108264446259, 0.0652349591255188, 0.19327911734580994, -0.04367999732494354, -0.44422855973243713, -0.6631234288215637, 0.6768682599067688, -0.6997451782226562, -0.4492236077785492, -0.1712644249200821, -0.2655133605003357, -0.3000340461730957, 0.4523569643497467, 0.07344051450490952, 0.3703038990497589, -0.2455325871706009, 0.324950248003006, 1.090449571609497, -0.04717395827174187, 0.3446720242500305, 0.5742065906524658, -0.5485935211181641, -0.31301090121269226, 0.6673936247825623, -0.19614490866661072, -0.0006326684961095452, 0.663818895816803, 0.1874210685491562, -0.34248942136764526, -0.8859541416168213, -0.3121091425418854, 0.23254191875457764, -0.874530553817749, -0.3610173761844635, -0.7218222618103027, -0.08528583496809006, -0.06669571995735168, -0.13821429014205933, -0.5859785079956055, -0.2788776457309723, 0.07270272821187973, -0.2756568193435669, -0.05272766202688217, 0.7373173236846924, 0.1522703617811203, -0.01685778796672821, -0.8820039629936218, 0.11332916468381882, 0.5170462727546692, 0.43291738629341125, -0.4274376630783081, -0.38898563385009766, -0.2417435646057129, -0.1463756114244461, -0.20294973254203796, -0.5746591687202454, -0.07133522629737854, -0.11675384640693665, 0.5634965896606445, 0.22848130762577057, -0.030110571533441544, 0.373070627450943, -0.4567469656467438, 0.9189550876617432, -0.05154626443982124, -1.157513976097107, 0.5432639122009277, -0.25073665380477905, 0.4366365373134613, 0.46803849935531616, 0.3190194368362427, -0.39205655455589294, -0.7514330744743347, -0.6142113208770752, -0.7375862002372742, -0.019410137087106705, 0.47527796030044556, -0.010175850242376328, 0.12903082370758057, 0.34314262866973877, 0.07697317749261856, 0.11988604068756104, -0.44021308422088623, -0.15311367809772491, -0.16367308795452118, -0.23710374534130096, -0.08954376727342606, -0.32068365812301636, -0.170912966132164, 0.4999537467956543, 0.6974242329597473, -0.28508859872817993, 0.33331605792045593, 0.21110722422599792, -0.34993335604667664, 0.09485580027103424, 0.3813204765319824, 0.8488549590110779, 0.6901086568832397, -0.44455403089523315, 0.5440492630004883, 0.12016590684652328, -0.3731321394443512, 0.15073472261428833, -0.19389036297798157, -0.2010260671377182, 0.2689116895198822, 0.8527792692184448, 0.4329074025154114, 0.04366203397512436, -0.6765753030776978, 0.78200763463974, -0.12622563540935516, -0.4145592451095581, -0.01896955817937851, -0.010521112009882927, 0.22669842839241028, 0.3286464810371399, -0.19301891326904297, -0.1733935922384262, 0.04659668728709221, -0.2471126765012741, 0.1771717667579651, 0.4952008128166199, -0.42743781208992004, 0.02804275043308735, 0.4349319636821747, 0.24610354006290436, -0.382282018661499, 0.5208997130393982, -0.17252779006958008, -0.6388656497001648, 0.5119853019714355, 0.5276432037353516, 1.111016035079956, 0.0680723637342453, 0.2012312114238739, 0.2860393822193146, 0.6147037148475647, -0.03364679217338562, 0.30059248208999634, -0.13759274780750275, -0.6434478163719177, -0.821123480796814, -0.5306372046470642, -0.9128856658935547, 0.010213288478553295, -0.5292691588401794, 0.1126457080245018, -0.45038414001464844, 0.10079353302717209, -0.19713366031646729, -0.11352507770061493, -0.7866230607032776, 0.11961864680051804, 0.1489700824022293, 1.1542470455169678, -0.6217313408851624, 0.5823423862457275, 0.8618403673171997, -0.3387940227985382, -0.6028869152069092, -0.0679243728518486, -0.06376578658819199, -1.1736106872558594, 0.4302217662334442, 0.08581297099590302, -0.3265219032764435, -0.024329490959644318, -0.742537260055542, -0.6817517876625061, 1.184178352355957, 0.48127445578575134, -0.7020827531814575, 0.23626914620399475, -0.08632912486791611, 0.5625367760658264, -0.2080613076686859, 0.40453851222991943, 0.16328886151313782, 0.5058203935623169, 0.10762836039066315, -0.6468932628631592, 0.20455104112625122, -0.03396321460604668, -0.22950606048107147, 0.20849144458770752, -0.41708046197891235, 0.430507630109787, -0.2417176514863968, -0.14884081482887268, -0.15952463448047638, 0.6355336904525757, 0.0042603290639817715, 0.26134124398231506, 0.506173849105835, 0.8253344297409058, 1.0263806581497192, -0.23050343990325928, 1.1611249446868896, -0.2901959717273712, 0.7101030349731445, 1.1046696901321411, -0.2709895074367523, 1.0111949443817139, 0.3148503601551056, -0.3320205807685852, 0.4033219516277313, 0.4659484624862671, 0.04989640787243843, 0.3176809251308441, 0.24856916069984436, -0.10422815382480621, -0.6579754948616028, -0.08401744067668915, -0.16740621626377106, 0.4557577967643738, 0.1443699151277542, -0.05193229764699936, -0.3467910885810852, -0.24410857260227203, 0.202558234333992, 0.12459633499383926, -0.10645090043544769, 0.7777131199836731, -0.006479443516582251, -0.6646118760108948, 0.3696809411048889, 0.08189316838979721, 0.3754064738750458, -0.5667598247528076, -0.0744699239730835, -0.3745218813419342, 0.2908848822116852, -0.21293501555919647, -1.0242552757263184, 0.2033786177635193, 0.1071067526936531, 0.02087867632508278, -0.37182241678237915, 0.6945489645004272, -0.46304139494895935, -0.23675084114074707, 0.0051348526030778885, 0.6681326627731323, 0.012418272905051708, -0.05993654951453209, -0.3633440136909485, 0.06664659827947617, 0.05578745901584625, -0.04390193894505501, 0.023489275947213173, 0.3296489119529724, 0.29335418343544006, 0.8117807507514954, 0.8666170239448547, 0.05742182955145836, -0.17706038057804108, -0.1717630922794342, 0.6759406328201294, -0.22480212152004242, -0.4664933681488037, -0.8911024332046509, 0.5806717872619629, -0.23355479538440704, -0.17977096140384674, 0.864524781703949, 0.6259127855300903, 0.756560206413269, 0.058105748146772385, 0.7736263275146484, 0.2371855080127716, 0.41261836886405945, -0.8204213976860046, 0.5155621767044067, -0.54947429895401, 0.42800039052963257, 0.007817965000867844, -1.0493420362472534, -0.4917065501213074, 0.5780946016311646, -0.1710091084241867, -0.25932058691978455, 0.9381028413772583, 0.6849377751350403, -0.1100085899233818, -0.06686331331729889, 0.40858274698257446, 0.17415650188922882, 0.6270059943199158, 0.38148969411849976, 0.9289665222167969, -0.2896812856197357, 0.49279463291168213, -0.023599227890372276, -0.42537757754325867, -0.2247331440448761, -1.353293776512146, -1.0156625509262085, -0.2849286198616028, -0.749635636806488, -0.532941460609436, -0.06385986506938934, 0.7193703651428223, 0.4564341902732849, -0.7654634714126587, -0.0030803941190242767, 0.23312589526176453, 0.3733377158641815, -0.2633284628391266, -0.0927133858203888, 0.4097464382648468, -0.37543177604675293, -0.4895152747631073, 0.3025626540184021, 0.6689764261245728, -0.05280068889260292, -0.5208550095558167, 0.07269512861967087, -0.0023042545653879642, 0.4950808882713318, 0.6454799771308899, 0.08597154915332794, -0.6251055002212524, -0.4220479130744934, 0.025107374414801598, -0.40832817554473877, -0.02300170250236988, 0.9145480990409851, -0.3569815456867218, 0.46978291869163513, 0.5830317139625549, 1.190847396850586, 0.4785251021385193, -0.3247753977775574, 0.33625438809394836, -0.7924002408981323, -0.43366414308547974, 0.07398444414138794, 0.7400246858596802, 0.31424811482429504, -0.2337207794189453, 0.7665035128593445, -0.006146470084786415, -0.617566704750061, -0.8216142058372498, 0.19433842599391937, -1.1070128679275513, 0.022875599563121796, 1.0925614833831787, -0.7106091380119324, -0.06345012038946152, -0.1097264215350151, -0.27575749158859253, 0.06121627613902092, -0.07720121741294861, 0.6899774670600891, 0.9486768245697021, 0.3165929615497589, -0.1072516217827797, -0.25352898240089417, -0.1325761377811432, 0.25322529673576355, -1.1104001998901367, 0.16705931723117828, 0.35930368304252625, 0.23978713154792786, 0.4338286817073822, 0.32843419909477234, -0.10424168407917023, 0.021460890769958496, -0.10755728930234909, 0.04765108972787857, -0.5407567024230957, 0.028622953221201897, -0.08682414144277573, 0.4156683087348938, 0.24336114525794983, -0.27438098192214966 ]
http://arxiv.org/abs/2406.02517v1
http://arxiv.org/pdf/2406.02517v1
Deterministic Reversible Data Augmentation for Neural Machine Translation
2024-06-04T17:39:23
2024-06-04T17:39:23
Jiashu Yao, Heyan Huang, Zeming Liu, Yuhang Guo
cs.CL
cs.CL
Data augmentation is an effective way to diversify corpora in machine translation, but previous methods may introduce semantic inconsistency between original and augmented data because of irreversible operations and random subword sampling procedures. To generate both symbolically diverse and semantically consistent augmentation data, we propose Deterministic Reversible Data Augmentation (DRDA), a simple but effective data augmentation method for neural machine translation. DRDA adopts deterministic segmentations and reversible operations to generate multi-granularity subword representations and pulls them closer together with multi-view techniques. With no extra corpora or model changes required, DRDA outperforms strong baselines on several translation tasks with a clear margin (up to 4.3 BLEU gain over Transformer) and exhibits good robustness in noisy, low-resource, and cross-domain datasets.
[ -0.24750640988349915, -0.7469666600227356, 0.2403857409954071, 0.2430374175310135, -0.439912348985672, 0.11979250609874725, -0.1164238378405571, -0.29181966185569763, 0.4830198585987091, 0.42663559317588806, -1.032630205154419, -0.5363410711288452, -0.5874617099761963, 0.13478001952171326, -0.5763227939605713, 0.7020204067230225, -0.03959193453192711, 0.15720772743225098, 0.07954103499650955, -0.267909973859787, -0.750177800655365, -0.34648236632347107, -0.46024906635284424, -0.5187281966209412, 0.477295458316803, 0.3453071713447571, 0.9219189882278442, 0.9123243689537048, 0.37435251474380493, 0.3664840757846832, 0.15070608258247375, 0.7413185834884644, -0.3464331030845642, 0.582292914390564, -0.2307855784893036, -0.6757210493087769, -0.38447701930999756, -0.13377021253108978, 0.7148442268371582, 0.9835718870162964, -0.33402150869369507, -0.13814134895801544, -0.3083585202693939, 0.9464059472084045, -0.16793957352638245, -0.07601838558912277, -0.6634592413902283, 0.28130725026130676, -0.16486915946006775, -0.20155902206897736, -0.17863278090953827, -0.3222491443157196, -0.1835416704416275, -0.5828301906585693, 0.1345456838607788, -0.26089051365852356, 0.6214884519577026, 0.6222562789916992, -0.09908239543437958, 0.009570191614329815, -0.7408536076545715, 0.8887532353401184, -0.8448445796966553, 0.7716463804244995, 0.10647773742675781, 0.16663070023059845, -0.25189003348350525, -1.0164657831192017, -0.6755309104919434, -0.017518887296319008, 0.06427744030952454, 0.15295079350471497, -0.1983102709054947, -0.2411930412054062, 0.1907324641942978, 0.4600583612918854, -0.47708311676979065, 0.2880338132381439, -0.12282001972198486, -0.06044139713048935, 0.6062407493591309, 0.37549781799316406, 0.2863613963127136, -0.009998529218137264, -0.5222878456115723, -0.38382652401924133, -0.5716399550437927, -0.3737014830112457, 0.7193186283111572, 0.31353703141212463, -0.04218481108546257, 0.5579276084899902, -0.26162564754486084, 0.642777144908905, 0.29565367102622986, -0.05961495637893677, 0.717914342880249, -0.7222418785095215, -0.38533493876457214, 0.07110728323459625, 0.6339131593704224, 0.14354045689105988, -0.004463555756956339, -0.32091861963272095, -0.40338557958602905, -0.18192797899246216, 0.48718202114105225, -0.7661048769950867, -0.36110830307006836, 0.3754834830760956, -0.39030784368515015, -0.4777922034263611, -0.15110093355178833, -0.6665583848953247, -0.27378049492836, -0.44803139567375183, 0.054879337549209595, -0.5622193217277527, -0.1806800663471222, 0.02204294688999653, 0.059974685311317444, -0.05211295187473297, 0.23451115190982819, -0.7743969559669495, 0.08170849829912186, 0.5021584630012512, 0.7021167874336243, -0.2520490288734436, -0.46037745475769043, -0.3341786563396454, -0.22867488861083984, -0.8801640272140503, 0.4472399950027466, -0.4509288966655731, -0.25731661915779114, -0.3761714994907379, 0.036777645349502563, -0.2232111394405365, -0.5492381453514099, 0.47058457136154175, -0.814726710319519, 0.22259309887886047, -0.011429754085838795, -0.29359930753707886, -0.4395512342453003, 0.1826397031545639, -0.6849979162216187, 0.8466932773590088, 0.3364415168762207, -0.5359675884246826, 0.6160916090011597, -0.4161892831325531, -0.5397555232048035, -0.14023412764072418, -0.17254391312599182, -0.5211270451545715, 0.2272474765777588, 0.43884748220443726, -0.14039821922779083, -0.07224490493535995, 0.384251207113266, 0.04630758613348007, -0.06526412814855576, 0.5028626918792725, -1.087813377380371, 0.6069575548171997, 0.3481104373931885, -0.20686396956443787, 0.3318878710269928, -0.8150372505187988, 0.04352734610438347, 0.02067079208791256, -0.322279155254364, -0.4506917893886566, -0.07560842484235764, -0.10854798555374146, 0.27210840582847595, 0.3322592079639435, -0.5033249855041504, 0.5451050400733948, -0.6472592353820801, 0.23818975687026978, 0.6410049796104431, -0.037530601024627686, 0.6018191576004028, 0.007962001487612724, 0.4481669068336487, 0.5198721289634705, -0.07224614918231964, -0.2845688760280609, -0.4381028115749359, -0.5828415155410767, -0.6678305864334106, 0.5671922564506531, 0.5759887099266052, -0.9634818434715271, 0.4283256530761719, -0.44260403513908386, -0.33094316720962524, -0.9945892691612244, 0.24618065357208252, 0.12806908786296844, 0.7415148615837097, 0.6329716444015503, -0.48961490392684937, -0.7154373526573181, -1.0884156227111816, 0.13889317214488983, 0.23408867418766022, 0.07823940366506577, 0.040188368409872055, 0.2254590541124344, -0.7724261283874512, 0.532555878162384, -0.49627965688705444, -0.2551061511039734, -0.0872572734951973, 0.4844556450843811, 0.42167893052101135, 0.6237960457801819, 0.1506805419921875, -0.8431299328804016, -0.01377024594694376, 0.030381761491298676, -0.7590486407279968, -0.16918952763080597, -0.6707751750946045, 0.07417085021734238, 0.29504716396331787, 0.5421959161758423, -0.5186903476715088, 0.4007401168346405, 0.5471245646476746, 0.10696239769458771, 0.33570507168769836, -0.4734139144420624, 0.36063170433044434, -1.271302580833435, 0.0008152921800501645, -0.6517624855041504, -0.47642239928245544, -0.6288514733314514, 0.16514824330806732, 0.16983871161937714, 0.2243136614561081, -0.3319686949253082, 0.0260812696069479, -0.35131144523620605, -0.10045921802520752, -0.5325093865394592, 0.08243807405233383, -0.10162277519702911, 0.05321071669459343, 0.0533972829580307, 1.0117363929748535, 0.4575031101703644, -0.5199021100997925, 0.4417678713798523, 0.2689689099788666, -0.33221641182899475, 0.5560294985771179, -0.6624944806098938, 0.05242959037423134, -0.23187442123889923, 0.17617905139923096, -0.8179179430007935, 0.0515030100941658, 0.21621160209178925, -0.49179649353027344, 0.42491447925567627, 0.028960345312952995, -0.316116601228714, -0.12066596001386642, -0.1714659184217453, 0.46949559450149536, 0.22025734186172485, -0.6958487033843994, 0.32322776317596436, 0.3032105267047882, -0.06910881400108337, -0.8704950213432312, -1.1754480600357056, 0.509573757648468, 0.010441839694976807, -0.5608475804328918, 0.5820496678352356, 0.11065086722373962, -0.1017833799123764, 0.03828754276037216, -0.12089426070451736, 0.012573466636240482, -0.04990477114915848, 0.2310018092393875, 0.26111531257629395, -0.03291446343064308, 0.10777711123228073, 0.31603091955184937, -0.3272583782672882, -0.1926906555891037, -0.6210618615150452, 0.803167462348938, 0.13814479112625122, -0.4324378967285156, -0.24109402298927307, 0.40321531891822815, 0.5533822178840637, -0.0936310887336731, 0.6646142601966858, 0.8982269167900085, -0.4824368357658386, -0.43259772658348083, -0.0863790512084961, -0.3978242576122284, -0.42710214853286743, 0.6797313094139099, -0.6460894346237183, -0.4423478841781616, 0.5487407445907593, 0.17822229862213135, 0.16233552992343903, 0.5064441561698914, 0.5851248502731323, -0.05630087852478027, 1.0948410034179688, 0.5390411615371704, 0.07712191343307495, 0.36393633484840393, -0.28271999955177307, 0.2541543245315552, -0.8829452395439148, -0.28021201491355896, -0.21920740604400635, -0.7497860193252563, -0.7466980218887329, -0.6470054388046265, -0.07179893553256989, -0.028544720262289047, 0.16600145399570465, 0.7652570009231567, -0.58790522813797, -0.08395274728536606, 0.7083595991134644, -0.0022184813860803843, 0.434468150138855, 0.17419306933879852, -0.16190655529499054, -0.3930269479751587, -0.6133860945701599, -0.2137000858783722, 0.8518781661987305, 0.3991696536540985, 1.216293454170227, 0.00624898262321949, 0.8357268571853638, 0.29443949460983276, 0.18008656799793243, -0.8058122992515564, 0.4437497854232788, -0.24152772128582, -0.2948627173900604, -0.16371382772922516, -0.5521500706672668, -0.834385097026825, 0.2254798412322998, -0.1304289698600769, -0.19397681951522827, 0.7421005964279175, -0.28518930077552795, -0.014397473074495792, 0.4194868505001068, -0.42363473773002625, 0.43000882863998413, -0.12826471030712128, -0.06553492695093155, -0.3116544783115387, -0.6256109476089478, 0.19274049997329712, -0.4751334488391876, -0.11104785650968552, 0.35551920533180237, -0.3792951703071594, 0.7178362607955933, -0.5853019952774048, 0.5707384347915649, -0.0016462814528495073, -0.2975902259349823, 0.11217646300792694, 0.08979335427284241, 0.608264684677124, 0.34793147444725037, 0.12836648523807526, 0.4382926821708679, -0.23803940415382385, -0.05903081223368645, -0.621761679649353, 1.0296225547790527, -0.6089307069778442, -0.3714863359928131, -0.4485190510749817, -1.2536630630493164, -0.04751579463481903, 0.37414512038230896, 0.05518817901611328, 0.054243724793195724, 0.04595020413398743, 0.005784530192613602, 0.7295519709587097, -0.04552196338772774, 0.40222886204719543, 0.5481736660003662, -0.1262781172990799, -0.7879619002342224, 0.8344871401786804, 0.2709404528141022, 0.13088122010231018, 0.5195905566215515, -0.33010923862457275, -0.4298190176486969, -0.8455238938331604, -0.8973952531814575, -0.022865647450089455, -0.5025152564048767, -0.2869669795036316, -0.6441181898117065, -0.23393821716308594, -0.27757152915000916, 0.0649409368634224, -0.7798157334327698, -0.9580399990081787, -0.08769281208515167, -0.3353010416030884, 0.3046724796295166, 0.37644723057746887, -0.44794976711273193, 0.20427609980106354, -0.7201547622680664, 0.5367587804794312, 0.3003445565700531, 0.16872242093086243, -0.45311206579208374, -0.6276935338973999, -0.18352948129177094, 0.39555415511131287, 0.025923410430550575, -0.7810937762260437, 0.7534149885177612, -0.05085405707359314, 0.5015041828155518, 0.37937355041503906, -0.19605056941509247, 0.8216038942337036, -0.5660360455513, 0.5362028479576111, 0.2501719892024994, -0.4153493344783783, 0.22160647809505463, -0.055103499442338943, 0.33815690875053406, 0.8001908659934998, 0.10806197673082352, -0.2901761531829834, -0.09614603221416473, -0.4088667333126068, -1.1285731792449951, 0.43202897906303406, 0.0020043032709509134, 0.22399607300758362, -0.06987159699201584, 0.11698967963457108, 0.4122391939163208, 0.4711182117462158, -0.20724521577358246, -0.46659570932388306, -0.3257339596748352, -0.25234267115592957, 0.1052212044596672, 0.15320613980293274, -0.24205628037452698, 0.06568247079849243, 0.6663627028465271, 0.061962150037288666, 0.21776340901851654, 0.35716795921325684, -0.12028525769710541, -0.10568885505199432, 0.34515804052352905, 0.7206964492797852, 0.5767022371292114, -0.28758329153060913, 0.25557413697242737, 0.11999790370464325, -0.9551509022712708, 0.008623289875686169, 0.520026445388794, -0.6878957748413086, 0.15584434568881989, 0.1301259696483612, 0.6296204924583435, -0.15945778787136078, -0.37288546562194824, -0.03665163367986679, -0.06491214781999588, -0.16519509255886078, 0.05283922702074051, -0.3020058870315552, 0.08564414829015732, 0.32417500019073486, 0.4435810148715973, 0.5222896337509155, 0.0327492356300354, -0.3362099826335907, 0.6828346848487854, 0.39239057898521423, -0.49377623200416565, -0.1885954588651657, 0.6583951115608215, -0.10768446326255798, -0.09449859708547592, 0.911374568939209, -0.1539876013994217, -0.1650925576686859, 0.35264497995376587, 0.688959538936615, 1.0974498987197876, -0.28149205446243286, 0.23536725342273712, 0.2543244957923889, 0.6894522309303284, 0.022290632128715515, 0.4941561222076416, 0.15676820278167725, -0.6327362060546875, -0.5581085681915283, -0.45388099551200867, -0.1772802770137787, -0.011830884031951427, -0.42596435546875, -0.12143883854150772, -0.14379902184009552, -0.1881261169910431, -0.09910811483860016, -0.23617157340049744, -0.5715173482894897, 0.48752084374427795, -0.03358190879225731, 0.9876671433448792, -0.6139926314353943, 0.9737706780433655, 0.6636826992034912, -0.67000412940979, -0.46962183713912964, -0.03340307995676994, -0.30672764778137207, -0.8534654974937439, 0.6516757011413574, -0.21629178524017334, -0.1625342220067978, -0.06848356872797012, -0.2891550064086914, -0.6100644469261169, 1.1249895095825195, 0.20784002542495728, -0.7538087368011475, 0.04439722001552582, 0.3666412830352783, 0.4148426353931427, -0.4958502948284149, 0.02422516979277134, 0.3730963170528412, 0.5481863021850586, -0.12177553027868271, -0.5125442147254944, 0.129429891705513, 0.0158759243786335, 0.015544231981039047, 0.16184405982494354, -0.09613227844238281, 0.8357646465301514, -0.30244606733322144, -0.26007211208343506, -0.059790633618831635, 0.9068577289581299, -0.04524536803364754, 0.10864723473787308, 0.4812382757663727, 1.1109813451766968, 0.822520911693573, -0.18288137018680573, 0.9520553350448608, -0.30596375465393066, 0.01126851886510849, 1.288519263267517, 0.06023380160331726, 0.5218504667282104, 0.746023952960968, -0.15911242365837097, 0.48133596777915955, 0.48207390308380127, 0.11497056484222412, 0.8123530149459839, -0.05414484813809395, -0.13891363143920898, -0.1836061328649521, -0.20788989961147308, -0.5525711178779602, 0.4020147919654846, 0.2751072943210602, -0.6827194094657898, -0.2724469006061554, -0.06152940168976784, -0.07067886739969254, 0.22568204998970032, -0.09348277747631073, 0.5541786551475525, 0.226509228348732, -0.5838163495063782, 0.7193015813827515, 0.32685980200767517, 0.639161229133606, -0.6442241072654724, -0.25478363037109375, -0.5758205652236938, 0.34630462527275085, -0.39180856943130493, -0.8804659247398376, 0.5884355902671814, -0.2807828187942505, -0.3606356680393219, -0.21157406270503998, 0.7040703892707825, -0.7037618160247803, -0.6082463264465332, -0.05984662473201752, 0.6341522932052612, -0.09584186226129532, 0.19677864015102386, -0.7498987913131714, 0.02037523314356804, 0.12201610207557678, -0.17671844363212585, 0.2731492817401886, 0.25615575909614563, -0.13870754837989807, 0.7569935321807861, 0.8278194665908813, 0.3758598864078522, 0.06984642148017883, 0.41228851675987244, 0.991870105266571, -0.4509773254394531, -0.288664847612381, -0.6126379370689392, 0.446466863155365, -0.14234815537929535, -0.1654597669839859, 0.9222676157951355, 0.47130462527275085, 0.6939629316329956, -0.17446036636829376, 0.7296434044837952, -0.0885845422744751, 0.25317254662513733, -0.3149411380290985, 0.6923960447311401, -0.13582496345043182, 0.3257768750190735, 0.003480598097667098, -0.9974033832550049, -0.21603214740753174, 0.5144541263580322, -0.32782498002052307, 0.028345389291644096, 0.5871349573135376, 1.010453224182129, -0.2458554059267044, -0.15154381096363068, 0.23781025409698486, 0.1372791975736618, 0.25532710552215576, 0.3871929347515106, 0.4284818768501282, -0.7870301604270935, 0.43001309037208557, -0.3205257058143616, -0.3098467290401459, 0.18855495750904083, -0.6778632998466492, -0.31831154227256775, -0.5427857637405396, -0.4252212643623352, -0.22605681419372559, 0.09453365951776505, 0.7105175852775574, 0.694411039352417, -0.9001723527908325, 0.2093830704689026, -0.30486389994621277, 0.3712550401687622, -0.794725775718689, -0.22306495904922485, 0.311042845249176, -0.46286287903785706, -1.0949313640594482, 1.0211783647537231, 0.2942071557044983, -0.1993633210659027, -0.38248077034950256, -0.10516606271266937, -0.38186386227607727, 0.20124614238739014, 0.35488390922546387, 0.24670226871967316, -0.18068811297416687, 0.06036558747291565, 0.12951581180095673, -0.1568230241537094, 0.1015777513384819, 0.4124565124511719, -0.9938172101974487, 0.7318710088729858, 0.8816929459571838, 0.910819947719574, 0.3610020577907562, 0.36265212297439575, 0.5013623833656311, -0.8363878726959229, 0.19596035778522491, 0.17918677628040314, 0.24804897606372833, 0.5550218224525452, -0.1892811506986618, 0.6227876543998718, 0.18137933313846588, -0.44146183133125305, -0.6800798773765564, 0.44888755679130554, -0.9605829119682312, -0.1607716828584671, 0.760182797908783, 0.025174543261528015, -0.020114552229642868, -0.037960201501846313, -0.1366666853427887, 0.235995352268219, -0.37519320845603943, 0.7336255311965942, 0.1989450305700302, 0.03387676924467087, -0.026617130264639854, -0.5224407315254211, 0.23287159204483032, 0.3625365197658539, -0.6359282732009888, 0.0661139041185379, 0.5615226030349731, 0.19012713432312012, 0.44313371181488037, 0.3231823146343231, -0.6712911128997803, 0.07864736765623093, 0.22840499877929688, -0.022563161328434944, -0.6047284007072449, -0.3557654321193695, -0.39777517318725586, 0.05145807936787605, -0.26550087332725525, -0.6590778231620789 ]
http://arxiv.org/abs/2406.02488v1
http://arxiv.org/pdf/2406.02488v1
Language-Universal Speech Attributes Modeling for Zero-Shot Multilingual Spoken Keyword Recognition
2024-06-04T16:59:11
2024-06-04T16:59:11
Hao Yen, Pin-Jui Ku, Sabato Marco Siniscalchi, Chin-Hui Lee
eess.AS
eess.AS, cs.CL, cs.SD
We propose a novel language-universal approach to end-to-end automatic spoken keyword recognition (SKR) leveraging upon (i) a self-supervised pre-trained model, and (ii) a set of universal speech attributes (manner and place of articulation). Specifically, Wav2Vec2.0 is used to generate robust speech representations, followed by a linear output layer to produce attribute sequences. A non-trainable pronunciation model then maps sequences of attributes into spoken keywords in a multilingual setting. Experiments on the Multilingual Spoken Words Corpus show comparable performances to character- and phoneme-based SKR in seen languages. The inclusion of domain adversarial training (DAT) improves the proposed framework, outperforming both character- and phoneme-based SKR approaches with 13.73% and 17.22% relative word error rate (WER) reduction in seen languages, and achieves 32.14% and 19.92% WER reduction for unseen languages in zero-shot settings.
[ -0.09235198050737381, -0.3676658868789673, 0.17203569412231445, -0.16637255251407623, -0.2483285665512085, 0.2508825659751892, -0.2896396815776825, -0.5054398775100708, 0.046204373240470886, 0.6731991767883301, -0.3304527699947357, -0.7086164355278015, -0.40695685148239136, -0.09045185893774033, -0.09649890661239624, 0.7659918665885925, 0.3916168808937073, 0.4017336666584015, -0.09215309470891953, -0.511693000793457, -0.38786646723747253, -0.9988500475883484, -0.5518366098403931, -0.39676401019096375, 0.44962963461875916, 0.40925538539886475, 0.6984174847602844, 0.5360934138298035, 0.3810616731643677, 0.289865642786026, -0.042269278317689896, -0.2794516682624817, -0.12691567838191986, 0.3448787033557892, -0.13657835125923157, -0.3104690909385681, -0.5873734354972839, 0.13699643313884735, 0.4424431324005127, 0.6185615062713623, -0.17380402982234955, 0.09163060784339905, -0.22105315327644348, 0.37589141726493835, -0.5810830593109131, 0.17796513438224792, -0.9708665609359741, -0.015057743526995182, -0.3461025357246399, -0.192938432097435, -0.11642199009656906, -0.00441540265455842, 0.19888503849506378, -0.4809182584285736, 0.45316100120544434, -0.36185675859451294, 0.6281591057777405, -0.052980177104473114, -0.48564454913139343, -0.3828495740890503, -0.8537704944610596, 0.7862021327018738, -0.7953522801399231, 0.7186956405639648, 0.3443130552768707, 0.19136977195739746, 0.0519675612449646, -0.48453855514526367, -0.7932906746864319, -0.3737771511077881, 0.2506754994392395, 0.1864677518606186, -0.21440093219280243, 0.3474717140197754, -0.03684331476688385, 0.20921802520751953, -0.828268826007843, 0.24939846992492676, -0.4977259933948517, -0.5480663776397705, 0.8583497405052185, -0.05006831884384155, 0.10300203412771225, -0.07067789882421494, -0.12846845388412476, -0.31076377630233765, -0.714521586894989, 0.3102824091911316, 0.4235314130783081, 0.6866885423660278, -0.04540485888719559, 0.4880419075489044, -0.2546965479850769, 0.5189509987831116, -0.30549120903015137, -0.25368329882621765, 0.37630563974380493, -0.12079446017742157, 0.016528068110346794, 0.30489856004714966, 0.8955642580986023, 0.13908636569976807, 0.24087506532669067, -0.5069971084594727, 0.0053437198512256145, 0.24403604865074158, 0.05756288021802902, -0.6266819834709167, -0.3745655119419098, 0.16906170547008514, -0.12399575114250183, -0.5136166214942932, -0.06852591782808304, -0.4858473539352417, -0.3315989077091217, -0.22421810030937195, 0.7016804218292236, -0.3952310085296631, -0.30160123109817505, 0.0002941461279988289, -0.08627896755933762, 0.7202773094177246, 0.05364692583680153, -0.504841148853302, 0.1485355943441391, 0.4239223599433899, 0.5970642566680908, -0.024642540141940117, -0.1716342717409134, -0.48576033115386963, 0.22064431011676788, -0.38064539432525635, 0.6600196361541748, -0.6472260355949402, -0.7159465551376343, -0.07654818147420883, -0.12373321503400803, 0.03137707710266113, -0.44854113459587097, 0.6701169013977051, -0.3572453558444977, 0.2444404810667038, -0.008919554762542248, -0.45513877272605896, -0.3297421932220459, -0.019923217594623566, -0.6237190961837769, 0.8490619659423828, -0.045540619641542435, -0.23776909708976746, 0.2644723355770111, -0.7726929783821106, -0.6612001061439514, 0.3876352608203888, -0.1753125786781311, -0.4104727804660797, 0.196499302983284, 0.1750737577676773, 0.5362417101860046, -0.1339162439107895, -0.0925932377576828, -0.4538896083831787, -0.038128167390823364, 0.3897193968296051, -0.7461880445480347, 0.6145638823509216, 0.3473404049873352, -0.17639808356761932, 0.13565926253795624, -1.120347261428833, 0.3701607882976532, 0.29241353273391724, -0.0950426235795021, -0.4126594364643097, -0.0643574669957161, 0.36972111463546753, 0.35587188601493835, 0.20344536006450653, -0.9013156890869141, 0.20873580873012543, -0.3836110830307007, 0.47211211919784546, 0.511387050151825, -0.2775575816631317, 0.5251010060310364, 0.2371707707643509, 0.4529684782028198, -0.06381534039974213, -0.06167672574520111, -0.19051745533943176, -0.44383901357650757, -0.6191492676734924, -0.3060445785522461, 0.43705347180366516, 0.7151346206665039, -0.48327529430389404, 0.4610491394996643, -0.3354620039463043, -0.3091622292995453, -0.6198490858078003, 0.06365114450454712, 0.7747206091880798, 0.3440486490726471, 0.050873953849077225, -0.5281086564064026, -0.5481431484222412, -0.6725811958312988, -0.16367946565151215, -0.3535418212413788, -0.16481003165245056, 0.2818407416343689, 0.27039018273353577, 0.08174223452806473, 0.964872419834137, -0.47273650765419006, -0.6590580940246582, -0.5462741851806641, 0.33376404643058777, -0.09408588707447052, 0.28659167885780334, 0.5318762063980103, -0.8391373753547668, -0.5135149359703064, 0.07492320239543915, -0.6491420269012451, -0.019214197993278503, 0.17495696246623993, 0.2687201499938965, 0.2929464876651764, 0.3476068079471588, -0.41972148418426514, 0.4440510869026184, 0.49530279636383057, -0.11435341835021973, 0.41065752506256104, -0.32089149951934814, 0.020333971828222275, -1.2407253980636597, 0.006147623527795076, -0.08156152814626694, -0.10132463276386261, -1.1161795854568481, 0.07774185389280319, -0.02777145989239216, -0.541048526763916, -0.7188190817832947, 0.6726912260055542, -0.46043094992637634, -0.11362066119909286, -0.39340075850486755, 0.14482298493385315, -0.09790422767400742, 0.6239340901374817, 0.306192547082901, 1.0031495094299316, 0.857890248298645, -0.719478189945221, 0.5096964240074158, 0.18178260326385498, -0.05577639490365982, 0.9056258797645569, -0.7264025807380676, 0.42983177304267883, -0.09486378729343414, 0.03953075408935547, -1.137237787246704, -0.1566399484872818, -0.051972661167383194, -0.9854000210762024, 0.683807909488678, 0.005279493983834982, -0.19554908573627472, -0.4165221154689789, -0.217143252491951, 0.2200564593076706, 0.3311614394187927, -0.4438062310218811, 0.5486320853233337, 0.5449488162994385, -0.3699275255203247, -0.4341452121734619, -0.49047407507896423, 0.3702003061771393, -0.0319054089486599, -0.4023783504962921, 0.41185906529426575, -0.021601855754852295, 0.17153368890285492, -0.17766493558883667, -0.19985376298427582, -0.41806089878082275, 0.002625706372782588, 0.2424323409795761, 0.10300161689519882, -0.1184043362736702, -0.021371882408857346, -0.3515254259109497, -0.18714956939220428, -0.2360565960407257, -0.3552543520927429, 0.5587249994277954, -0.15594452619552612, -0.2539820373058319, -0.5606659650802612, 0.4429871141910553, 0.751836359500885, -0.631782591342926, 0.3995956778526306, 0.8161263465881348, -0.2982616424560547, 0.30358952283859253, -0.5507726669311523, 0.13078778982162476, -0.4530631899833679, 0.676597535610199, -0.6701128482818604, -0.9063188433647156, 0.7685959339141846, 0.21091336011886597, -0.14550510048866272, 0.439778596162796, 0.41983211040496826, -0.1505737155675888, 1.1607654094696045, 0.7128609418869019, -0.5024296045303345, 0.288059264421463, -0.44941744208335876, 0.3516533076763153, -0.8246785402297974, -0.2544412314891815, -0.5532281398773193, -0.08726376295089722, -0.696613073348999, -0.23455113172531128, 0.4257458448410034, 0.15080809593200684, 0.023739425465464592, 0.5246837735176086, -0.42960405349731445, 0.31006771326065063, 0.7034386396408081, -0.20540601015090942, 0.024950234219431877, -0.00806887075304985, -0.24895928800106049, -0.11681593954563141, -0.44345682859420776, -0.3078623116016388, 1.406878113746643, 0.074606753885746, 0.9035549759864807, 0.01625647395849228, 0.5928153395652771, 0.3775802552700043, -0.10649987310171127, -0.8640173673629761, 0.5995378494262695, -0.3388514220714569, -0.6244556307792664, -0.41248470544815063, -0.2651495337486267, -0.8486887812614441, 0.2798807621002197, 0.03420168161392212, -0.9110814929008484, 0.05102614313364029, 0.06558291614055634, -0.3239123821258545, 0.404916375875473, -0.29441818594932556, 0.6917508244514465, -0.42177507281303406, 0.20259834825992584, -0.1596541404724121, -0.7752904295921326, 0.0387139692902565, 0.042738933116197586, 0.05352194234728813, -0.17478296160697937, 0.17429092526435852, 0.645054817199707, -0.16464178264141083, 0.5512213706970215, -0.23633049428462982, -0.23004236817359924, 0.20753708481788635, -0.10889071971178055, 0.35934579372406006, -0.3507173955440521, -0.02988649159669876, 0.6789172887802124, -0.045320384204387665, -0.1351214200258255, -0.4697253406047821, 0.5348851680755615, -0.7200183868408203, -0.23017992079257965, -0.607592761516571, -0.5390675663948059, -0.25577792525291443, -0.013978403992950916, 0.4924622178077698, 0.6285686492919922, -0.6599612236022949, 0.376665323972702, 0.6030491590499878, -0.2830929756164551, 0.4155541956424713, 1.0406873226165771, 0.1527496725320816, -0.756991446018219, 1.257747769355774, 0.17613822221755981, 0.24952206015586853, 0.5803126692771912, 0.1112254410982132, -0.6335306167602539, -0.42280858755111694, -0.309421569108963, 0.0586649514734745, -0.4373571574687958, -0.303936243057251, -0.6889862418174744, -0.5288475751876831, -0.9107538461685181, -0.05744859576225281, -0.40761083364486694, -0.6998594403266907, -0.20742297172546387, 0.11486933380365372, 0.37983429431915283, 0.5752376317977905, -0.41108599305152893, 0.7245250940322876, -0.6731467843055725, 0.48837921023368835, 0.35988324880599976, 0.38111773133277893, -0.21561524271965027, -0.8450878262519836, -0.30601856112480164, 0.14805564284324646, -0.4712962806224823, -0.801910936832428, 0.6766117811203003, 0.9414811730384827, 0.7145611643791199, 0.5951604247093201, 0.04810858517885208, 0.5481102466583252, -0.719617486000061, 0.9789472818374634, 0.37530797719955444, -0.8964021801948547, 0.5353078246116638, -0.1403285264968872, 0.3318227231502533, 0.2999279499053955, 0.21328136324882507, -0.7872116565704346, -0.543495237827301, -0.508190393447876, -0.8597468733787537, 0.7077656984329224, 0.18821579217910767, 0.3285234868526459, 0.14343984425067902, 0.24816790223121643, -0.06144968792796135, 0.3296651542186737, -0.6280765533447266, -0.49812230467796326, -0.28030264377593994, -0.21579580008983612, -0.11012416332960129, -0.2765295207500458, 0.17701932787895203, -0.27384185791015625, 0.6530963182449341, -0.11935460567474365, 0.3418114483356476, 0.014547117054462433, -0.2794843316078186, 0.08411435037851334, 0.7993853688240051, 0.6086374521255493, 0.1714918613433838, -0.3161534368991852, -0.07090819627046585, 0.05605711042881012, -0.7650619745254517, 0.32472559809684753, 0.2578166723251343, -0.1043599545955658, 0.17346066236495972, 0.13256512582302094, 0.9019380807876587, 0.18391096591949463, -0.3697349429130554, 0.6339727640151978, 0.03261052817106247, -0.4122641682624817, -0.33099353313446045, -0.11121412366628647, -0.2508242726325989, 0.154469832777977, 0.5584020614624023, -0.16688133776187897, 0.20878145098686218, -0.5614316463470459, 0.30578145384788513, 0.9130256175994873, -0.5814013481140137, -0.6069276332855225, 0.8745604753494263, 0.14519387483596802, -0.32534629106521606, 0.3808572292327881, -0.29952171444892883, -0.9308550357818604, 0.3295513391494751, 0.6206365823745728, 1.2447823286056519, -0.8656632900238037, 0.23160512745380402, 0.22386789321899414, 0.13371342420578003, 0.3639872968196869, 0.5062546730041504, -0.2999788224697113, -0.7540820240974426, -0.051199592649936676, -0.6574744582176208, -0.4651806354522705, 0.5615385174751282, -0.8720040917396545, 0.06325194239616394, -0.2008865773677826, -0.12431978434324265, 0.234252467751503, 0.03253030404448509, -0.8002515435218811, 0.3614397346973419, 0.4117845892906189, 0.3771221935749054, -0.765688955783844, 1.06891930103302, 0.7101196646690369, -0.5966940522193909, -0.5574772357940674, -0.1862877905368805, 0.20741596817970276, -0.8199895620346069, 0.6917542815208435, 0.09318720549345016, -0.2235661745071411, 0.11934208869934082, -0.5938292741775513, -1.0687118768692017, 0.9982900023460388, 0.28999337553977966, -0.3955383896827698, 0.028298394754529, 0.5257588624954224, 0.5158510208129883, -0.25539514422416687, 0.061107978224754333, 0.3517669141292572, 0.021138688549399376, 0.4967568516731262, -1.1244348287582397, -0.5916789174079895, -0.17597977817058563, 0.24806049466133118, 0.06388203799724579, -0.3823687732219696, 0.6273345351219177, -0.3454951047897339, -0.2524227499961853, 0.32784897089004517, 0.9277014136314392, -0.08345741778612137, 0.2743014693260193, 0.2405829131603241, 0.6937940120697021, 0.6240284442901611, -0.04630252346396446, 0.6309183835983276, -0.516247034072876, 0.23346342146396637, 1.1604726314544678, -0.6783493757247925, 1.0777504444122314, 0.09849158674478531, -0.3441091477870941, 0.16238082945346832, 0.19188472628593445, 0.11006247252225876, 0.8320027589797974, -0.000041499544749967754, -0.6021705269813538, -0.10228926688432693, -0.2581285238265991, -0.3691496253013611, 1.036550760269165, 0.3275209069252014, 0.012767852284014225, -0.27795207500457764, 0.3952007293701172, -0.024379562586545944, -0.11744856834411621, -0.3399692475795746, 0.9981558918952942, -0.0043229334987699986, -0.06938638538122177, 0.4691193699836731, 0.04053330793976784, 0.9233714938163757, -0.904475212097168, -0.047074321657419205, 0.05851293355226517, 0.3033895194530487, 0.10889621824026108, -0.7963730096817017, -0.028804011642932892, 0.13049927353858948, -0.177471324801445, 0.011939981952309608, 0.8036826848983765, -0.8460208773612976, -0.5943821668624878, 0.1672360748052597, 0.2563924491405487, 0.4162684679031372, -0.34025123715400696, -0.7349575161933899, -0.18469557166099548, -0.24373069405555725, 0.011399521492421627, 0.3766516447067261, 0.30024254322052, 0.10956664383411407, 0.5361903309822083, 0.7600780129432678, 0.42398911714553833, 0.02511652745306492, 0.4328080415725708, 0.4934084713459015, -0.7132589817047119, -0.5030755400657654, -0.4427071511745453, 0.2993399202823639, 0.03808636590838432, -0.2750702500343323, 0.6814292073249817, 0.6456252336502075, 1.0738211870193481, 0.0030825661960989237, 1.0134392976760864, -0.01990029402077198, 0.5774526596069336, -0.2671454846858978, 0.951946496963501, -0.6056795120239258, -0.22028498351573944, -0.39496996998786926, -0.7394819259643555, -0.37947219610214233, 0.7133644819259644, 0.1688913255929947, -0.08958173543214798, 0.22012147307395935, 0.930798351764679, 0.10757249593734741, -0.2939472198486328, 0.9133473038673401, 0.003838132368400693, 0.43217769265174866, 0.353031188249588, 0.2767857313156128, -0.6850499510765076, 0.6849479675292969, -0.26880940794944763, -0.046220362186431885, 0.012691564857959747, -0.7038804888725281, -0.6119179129600525, -0.8546346426010132, -0.2983836829662323, -0.2665081024169922, 0.1692797690629959, 0.9051936864852905, 0.6422960758209229, -1.0805095434188843, -0.3356476128101349, 0.24680759012699127, -0.27210181951522827, -0.15953832864761353, -0.22581538558006287, 0.30974772572517395, -0.22615958750247955, -0.39723366498947144, 0.5684370398521423, 0.43129292130470276, 0.04166198894381523, -0.357003778219223, -0.3225500285625458, -0.029364582151174545, 0.18817806243896484, 0.7491063475608826, 0.6214888691902161, -0.9760245084762573, -0.22463013231754303, 0.11959999054670334, -0.10648465156555176, 0.05106005445122719, 0.812459409236908, -0.671890914440155, 0.7416824698448181, 0.2707487642765045, 0.25913408398628235, 0.11219388991594315, -0.26343756914138794, 0.6779935956001282, -0.9776095747947693, 0.29774314165115356, 0.23325467109680176, 0.21552647650241852, 0.5009382367134094, -0.17710109055042267, 0.30887284874916077, 0.3648984730243683, -0.39906150102615356, -0.7618089914321899, 0.41633141040802, -1.0678091049194336, 0.04969258978962898, 1.0495377779006958, -0.13816320896148682, 0.016374660655856133, -0.08877920359373093, -0.16035738587379456, 0.4414623975753784, -0.3818736970424652, 0.5177595615386963, 0.5131006836891174, 0.009321894496679306, -0.20829996466636658, -0.2910825312137604, 0.3889656662940979, -0.021286290138959885, -0.39063844084739685, 0.1332881897687912, 0.4908565878868103, 0.38601061701774597, 0.17159046232700348, 0.6999624967575073, -0.3271719217300415, 0.30824002623558044, -0.21540780365467072, 0.5940038561820984, -0.12966369092464447, -0.5062182545661926, -0.7477723956108093, -0.1421351283788681, 0.0022592036984860897, -0.48525986075401306 ]
http://arxiv.org/abs/2406.02481v1
http://arxiv.org/pdf/2406.02481v1
Hiding Text in Large Language Models: Introducing Unconditional Token Forcing Confusion
2024-06-04T16:49:06
2024-06-04T16:49:06
Jakub Hoscilowicz, Pawel Popiolek, Jan Rudkowski, Jedrzej Bieniasz, Artur Janicki
cs.CL
cs.CL, cs.CR
With the help of simple fine-tuning, one can artificially embed hidden text into large language models (LLMs). This text is revealed only when triggered by a specific query to the LLM. Two primary applications are LLM fingerprinting and steganography. In the context of LLM fingerprinting, a unique text identifier (fingerprint) is embedded within the model to verify licensing compliance. In the context of steganography, the LLM serves as a carrier for hidden messages that can be disclosed through a designated trigger. Our work demonstrates that embedding hidden text in the LLM via fine-tuning, though seemingly secure due to the vast number of potential triggers (any sequence of characters or tokens could serve as a trigger), is susceptible to extraction through analysis of the LLM's output decoding process. We propose a novel approach to extraction called Unconditional Token Forcing. It is premised on the hypothesis that iteratively feeding each token from the LLM's vocabulary into the model should reveal sequences with abnormally high token probabilities, indicating potential embedded text candidates. Additionally, our experiments show that when the first token of a hidden fingerprint is used as an input, the LLM not only produces an output sequence with high token probabilities, but also repetitively generates the fingerprint itself. We also present a method to hide text in such a way that it is resistant to Unconditional Token Forcing, which we named Unconditional Token Forcing Confusion.
[ -0.08342716097831726, -0.7993993759155273, 0.5701679587364197, 0.1347794383764267, -0.6297305226325989, 0.36715394258499146, -0.21593669056892395, -0.5304194092750549, 0.029731476679444313, 0.8870484828948975, -0.23409675061702728, -0.5862300992012024, -0.7228022813796997, -0.09560079872608185, -0.582333505153656, 0.9015669226646423, -0.09426958858966827, 0.023685436695814133, -0.015357829630374908, -0.12815861403942108, -0.20027869939804077, -0.955953061580658, -0.4196736216545105, -0.4359317421913147, 0.4418138563632965, 0.18519417941570282, 0.6126357913017273, 1.1106854677200317, 0.2704833745956421, 0.2577184736728668, -0.4563370943069458, 0.1802687644958496, -0.27654123306274414, 0.08446458727121353, -0.3594738245010376, -0.5368909239768982, 0.031294140964746475, -0.0759422555565834, 0.7698661088943481, 0.5493081212043762, 0.018666613847017288, 0.09686746448278427, 0.15322649478912354, 0.4986497461795807, -0.7027067542076111, 0.13847675919532776, -0.8236572742462158, -0.10190097242593765, -0.5404513478279114, -0.22832995653152466, -0.6535147428512573, -0.031458038836717606, -0.3055969476699829, -0.19545233249664307, 0.11660274118185043, 0.3486720323562622, 0.8154141306877136, 0.14138686656951904, -0.5727751851081848, -0.457208514213562, -0.794672966003418, 0.5782063007354736, -0.7632653117179871, 0.18614044785499573, 0.38874661922454834, -0.1462167352437973, -0.26582393050193787, -0.6570485830307007, -0.6760072112083435, -0.20054836571216583, -0.10342875123023987, -0.1568879783153534, -0.16614171862602234, 0.27511465549468994, 0.22189529240131378, 0.4329041540622711, -0.10256902128458023, 0.45283517241477966, -0.16681897640228271, -0.4017041027545929, 0.3762761354446411, 0.027451856061816216, 0.3730567693710327, -0.07490839064121246, -0.46766793727874756, -0.06234735995531082, -0.9532507061958313, 0.02704133279621601, 0.47874557971954346, 0.39109012484550476, 0.026526013389229774, 0.7228623628616333, 0.13511011004447937, 0.29798707365989685, 0.1004749983549118, 0.19231019914150238, -0.013554870150983334, -0.15471641719341278, -0.2784557640552521, 0.11464054137468338, 0.936195969581604, -0.03694823011755943, 0.011929637752473354, -0.21266542375087738, -0.5487866997718811, 0.05238577350974083, -0.08866491168737411, -0.5625356435775757, 0.2977199852466583, 0.10429559648036957, -0.49932217597961426, -0.5340818166732788, 0.27715715765953064, -0.745976984500885, -0.7856760621070862, -0.027443623170256615, 0.46048417687416077, -0.1386597901582718, -0.1289866715669632, 0.15070904791355133, -0.18970459699630737, 0.17112836241722107, 0.01853598840534687, -1.1655769348144531, 0.294662743806839, 0.8984113931655884, 0.7141116261482239, -0.14650362730026245, -0.11717499792575836, -0.6376245021820068, 0.3073839247226715, -0.44690510630607605, 0.4189397990703583, -0.7320457696914673, -0.4968418478965759, 0.17131082713603973, 0.16803914308547974, 0.130022794008255, -0.6122930645942688, 0.42696574330329895, -0.8425531983375549, -0.015938319265842438, -0.13664402067661285, -0.6957550644874573, -0.07246194779872894, -0.2667243778705597, -0.8319578170776367, 1.1338143348693848, -0.23038284480571747, -0.7021294832229614, 0.28054893016815186, -0.5017634034156799, -0.4722138047218323, 0.11870680749416351, -0.20699602365493774, -0.3711004853248596, 0.27745309472084045, 0.0880431979894638, 0.4014466404914856, -0.08896531164646149, 0.37838852405548096, -0.4576561748981476, -0.4582236409187317, 0.41154465079307556, -0.7818699479103088, 0.8856872320175171, 0.10566942393779755, -0.7089816927909851, 0.08543436974287033, -0.7187996506690979, -0.299572616815567, -0.012161726132035255, -0.567268967628479, -0.3983602821826935, -0.10224878042936325, 0.029901737347245216, 0.014977158978581429, 0.38795220851898193, -0.7147366404533386, 0.21648885309696198, -0.5563834309577942, 0.46452420949935913, 0.9149996638298035, 0.10382533073425293, 0.6839460730552673, -0.10716839879751205, 0.340026319026947, 0.10113537311553955, 0.12641404569149017, -0.2638254761695862, -0.4008063077926636, -0.5811351537704468, -0.22724933922290802, 0.6913109421730042, 0.4555765688419342, -0.5699929594993591, 0.2363494336605072, 0.15838158130645752, -0.2217893898487091, -0.5757431387901306, 0.42342841625213623, 0.6874683499336243, 0.212956041097641, -0.09786892682313919, -0.26647600531578064, -0.5388570427894592, -0.8429228663444519, -0.5457661747932434, -0.06171043962240219, 0.07044132798910141, -0.015482360497117043, 0.5243815779685974, -0.08956459164619446, 0.7210727334022522, -0.19309081137180328, -0.20073926448822021, -0.31667426228523254, 0.3319684863090515, 0.2460547387599945, 0.5763232707977295, 0.16880856454372406, -0.9839643836021423, -0.31009697914123535, 0.13834230601787567, -0.47597572207450867, -0.01982218399643898, -0.2967166304588318, 0.17812566459178925, 0.553045928478241, 0.9676862955093384, -0.639064371585846, 0.7842814326286316, 0.525117814540863, -0.5757991075515747, 0.46114566922187805, -0.5705721378326416, -0.1608557105064392, -0.8907858729362488, 0.11703724414110184, -0.26711902022361755, -0.32385173439979553, -0.47342222929000854, 0.37787386775016785, 0.25305140018463135, 0.04074564203619957, -0.4113263189792633, 0.8742709159851074, -0.7962831258773804, -0.007898134179413319, -0.3467533588409424, -0.20452910661697388, -0.10045761615037918, 0.44726255536079407, -0.18644389510154724, 0.6324631571769714, 0.5105105042457581, -0.48254552483558655, 0.122125044465065, 0.03398698568344116, -0.41276952624320984, -0.2226974368095398, -0.4781970679759979, 0.3261553943157196, -0.25130027532577515, 0.1563217043876648, -0.9885243773460388, -0.1734127253293991, 0.3202503025531769, -0.27304062247276306, 0.568612813949585, -0.3985195457935333, -1.0266402959823608, -0.17614655196666718, -0.23872463405132294, 0.16067852079868317, 0.5106574296951294, -0.6205357313156128, 0.5034875273704529, 0.4198535084724426, 0.11871764808893204, -0.6744319796562195, -0.70659339427948, 0.26713496446609497, -0.17828145623207092, -0.09878218173980713, 0.4249769151210785, -0.115544892847538, -0.31588438153266907, -0.11824896931648254, -0.19385094940662384, -0.12499096244573593, 0.380450576543808, 0.7283489108085632, 0.27698177099227905, -0.09891968220472336, 0.22001351416110992, 0.214657723903656, -0.13984842598438263, 0.11043736338615417, -0.2623060345649719, 0.5143357515335083, -0.04951445385813713, -0.5123562812805176, -0.3698103129863739, 0.5785127878189087, 0.8748462200164795, -0.31609615683555603, 0.9265400171279907, 0.5240530371665955, -0.37815025448799133, -0.250981867313385, -0.33752718567848206, -0.1382705271244049, -0.5707894563674927, 0.09824994206428528, -0.16715791821479797, -1.115402340888977, 0.7479069828987122, -0.19220487773418427, 0.08354027569293976, 0.3562375009059906, 0.6071243286132812, 0.05412644147872925, 1.2387990951538086, 0.9024022817611694, -0.11672838032245636, 0.4976293742656708, 0.34593334794044495, 0.1641678810119629, -0.5390321016311646, -0.35162582993507385, -0.4886234402656555, -0.09455644339323044, -0.6323143243789673, -0.4037451446056366, -0.028712142258882523, 0.4143331050872803, -0.10536366701126099, 0.0072977435775101185, -0.4035089313983917, 0.8751496076583862, 0.8569772839546204, 0.12093419581651688, 0.4208239018917084, -0.13090194761753082, -0.5763132572174072, 0.22591817378997803, -0.36325138807296753, -0.7024368047714233, 1.0770072937011719, 0.426659494638443, 0.6214908361434937, 0.09959886223077774, 0.8280278444290161, 0.25408101081848145, 0.23970352113246918, -0.5049673318862915, 0.5004709959030151, -0.35765787959098816, -0.9432932734489441, -0.4412796199321747, -0.2124093621969223, -0.9163071513175964, 0.10566973686218262, -0.31513962149620056, -0.9874353408813477, 0.16484937071800232, 0.15155449509620667, -0.30318135023117065, 0.639691948890686, -0.6525534391403198, 0.557615339756012, -0.13963140547275543, -0.3821532130241394, 0.09160511195659637, -0.5646247863769531, 0.24117662012577057, -0.3872847855091095, 0.38262680172920227, 0.02123495377600193, -0.0563843697309494, 0.7650954127311707, -0.46581536531448364, 1.3753048181533813, -0.2142399102449417, -0.41972559690475464, 0.10356369614601135, 0.2911872863769531, 0.9175677299499512, 0.1330760270357132, -0.21410015225410461, 0.120627261698246, 0.0037810036446899176, -0.22586356103420258, -0.423982709646225, 0.6756051182746887, -0.4027070701122284, -0.9424033164978027, -0.16354824602603912, -0.2310332953929901, -0.05061620846390724, 0.6979516744613647, 0.5310274362564087, 0.4322383403778076, 0.12406367063522339, 0.2560649812221527, 0.7973322868347168, -0.3079732656478882, 0.8035433888435364, 0.4319636821746826, -0.28145262598991394, -0.13359461724758148, 0.7569496631622314, -0.015062883496284485, 0.10182817280292511, 0.4557251036167145, 0.4928954243659973, -0.49321800470352173, -0.7924039363861084, -0.47885626554489136, 0.305118203163147, -0.8634395599365234, -0.022240789607167244, -0.404183954000473, -0.07709132879972458, -0.30984675884246826, -0.03204617649316788, -0.31554096937179565, -0.3643916845321655, -0.7520760297775269, -0.1808081567287445, 0.277029812335968, 1.014617681503296, -0.09320550411939621, 0.3099335730075836, -0.7835547924041748, 0.21966417133808136, 0.18416880071163177, 0.6193919777870178, -0.023404249921441078, -0.5725957155227661, -0.10606367886066437, -0.02128511480987072, -0.043077677488327026, -0.8940454721450806, 0.2807053327560425, 0.04939724877476692, 0.4993206858634949, 0.563660204410553, 0.18723100423812866, 0.430855929851532, -0.604244589805603, 0.668210506439209, 0.07775240391492844, -1.3442360162734985, 0.23573650419712067, -0.5175696611404419, 0.024050554260611534, 0.4083280861377716, 0.10296671837568283, -0.4671659469604492, -0.6917353868484497, -0.6410138010978699, -1.002307415008545, 0.48199981451034546, -0.1601306051015854, 0.5455346703529358, 0.08114038407802582, 0.6754518151283264, 0.17644326388835907, 0.2769010663032532, -1.0218828916549683, -0.44099271297454834, 0.07431391626596451, -0.23117996752262115, -0.036733414977788925, -0.5593189597129822, -0.24324889481067657, -0.20597806572914124, 0.2778680920600891, 0.053138792514801025, 0.08415883779525757, 0.10579023510217667, -0.14679573476314545, -0.12402626127004623, 0.27085432410240173, 0.6557722091674805, 0.3790484070777893, 0.04350657016038895, 0.45932015776634216, -0.09884636849164963, -0.3652243912220001, -0.011384660378098488, -0.35891905426979065, -0.19515171647071838, 0.1788811832666397, 0.4934128224849701, 0.7673061490058899, 0.3644966185092926, -0.6094679832458496, 0.6349517703056335, 0.19245904684066772, -0.39770814776420593, -0.12959034740924835, -0.05189887061715126, 0.18789106607437134, 0.23024210333824158, 0.5543179512023926, -0.140428826212883, -0.1306590437889099, -0.5881358981132507, 0.389365553855896, 0.4923611879348755, -0.522903561592102, -0.41975805163383484, 0.8725038170814514, -0.06053344905376434, -0.267376184463501, 0.2579905688762665, -0.27535220980644226, -0.6401515007019043, 0.4627722501754761, 0.7781059145927429, 0.6646510362625122, -0.10852714627981186, 0.2109878957271576, -0.029879508540034294, 0.5520163178443909, -0.24601419270038605, 0.18594062328338623, 0.0015800254186615348, -0.5960339903831482, -0.2599530816078186, -0.5744309425354004, -0.3305847942829132, 0.1647348254919052, -0.6297627091407776, 0.10786449909210205, -0.9139633774757385, 0.10854870080947876, 0.09246106445789337, -0.21557892858982086, -0.3626460134983063, -0.03238189220428467, 0.34728360176086426, 0.8727388978004456, -0.8018919229507446, 0.990267813205719, 0.3802870213985443, -0.09497842192649841, -0.8509432077407837, -0.03263672813773155, 0.16769471764564514, -1.1199790239334106, 0.6995335817337036, 0.12492865324020386, -0.028852224349975586, 0.030487364158034325, -0.7839881181716919, -0.7805485725402832, 0.7138645648956299, 0.5747355222702026, -0.6378881335258484, 0.05285071209073067, 0.23166148364543915, 0.4660274088382721, -0.16882704198360443, -0.21845699846744537, 0.31311818957328796, 0.6157029867172241, 0.10392332822084427, -0.6852067708969116, 0.5460952520370483, -0.09061592072248459, -0.1627093255519867, 0.4011727571487427, -0.546554684638977, 0.9740785360336304, -0.2940274178981781, -0.7138396501541138, 0.04397789016366005, 0.3397044241428375, 0.009779367595911026, 0.3013732433319092, 0.2622797191143036, 0.22323811054229736, 0.9563127160072327, 0.06463315337896347, 0.8022005558013916, -0.12296026945114136, 0.30511319637298584, 0.9659285545349121, -0.3110707104206085, 0.9936204552650452, 0.760614275932312, 0.19709955155849457, 0.6463333964347839, 0.6030082106590271, -0.08734505623579025, 0.4001319110393524, 0.3987828195095062, -0.31581002473831177, -0.23215337097644806, -0.08021894842386246, 0.014872927218675613, 0.6164602041244507, 0.3216279149055481, -0.6155693531036377, -0.12208095192909241, 0.048948030918836594, 0.18266093730926514, 0.04553039371967316, -0.3732079267501831, 0.7775838375091553, 0.13693928718566895, -0.40525177121162415, 0.5238723158836365, 0.1999058872461319, 0.7405048608779907, -0.4084444046020508, 0.04592742398381233, -0.2630423307418823, 0.052218854427337646, -0.16531705856323242, -0.6513441205024719, 0.25005412101745605, 0.03366677090525627, -0.2699185609817505, -0.5125986933708191, 0.7023226618766785, -0.31021419167518616, -0.31208065152168274, 0.38125815987586975, 0.20852455496788025, -0.025419848039746284, -0.25663989782333374, -0.5011098980903625, 0.16289208829402924, 0.15857455134391785, -0.3508356213569641, 0.47711601853370667, 0.6779941320419312, -0.20834112167358398, 0.6264187693595886, 1.0195937156677246, 0.22719809412956238, 0.12077561020851135, -0.0023240926675498486, 0.8278531432151794, -0.9092909097671509, -0.524462878704071, -1.2546411752700806, 0.2719467878341675, 0.07842250168323517, -0.22165976464748383, 0.8618325591087341, 0.35229015350341797, 0.4654082655906677, 0.12269686907529831, 0.6698740124702454, 0.41345587372779846, 0.25005343556404114, -0.6859774589538574, 1.027703046798706, -0.54851233959198, 0.6229813694953918, -0.27898380160331726, -0.4795440435409546, -0.46498018503189087, -0.08104368299245834, 0.08697938174009323, -0.3714497983455658, 0.6399062275886536, 0.8297658562660217, 0.19576610624790192, -0.1196351945400238, 0.49366357922554016, 0.1445605456829071, 0.19798393547534943, 0.42427533864974976, 0.7390344142913818, -0.15109314024448395, 0.6114751100540161, 0.04365197941660881, -0.20394685864448547, -0.2897733449935913, -0.9791455864906311, -0.9903968572616577, -0.7272836565971375, -0.06830514967441559, -0.43200355768203735, -0.07372865080833435, 0.6082390546798706, 0.43423914909362793, -0.7408446073532104, 0.005971468053758144, -0.27267393469810486, 0.3956257402896881, 0.028202319517731667, -0.17516730725765228, 0.38754794001579285, 0.06250864267349243, -0.6510457992553711, 0.4667600989341736, 0.37485721707344055, 0.5225085616111755, -0.34097057580947876, 0.16829898953437805, 0.11316235363483429, 0.19435720145702362, 0.1933039128780365, 0.47627249360084534, -0.8226577043533325, -0.37512245774269104, -0.1537390500307083, -0.15084463357925415, -0.09643721580505371, 0.9970545172691345, -0.5540736317634583, 0.39252007007598877, 0.26252228021621704, 0.6098595261573792, 0.38213956356048584, -0.2683371305465698, 0.666172206401825, -1.0211987495422363, 0.23088011145591736, 0.1121649518609047, 0.23608176410198212, 0.03411341831088066, -0.6288868188858032, -0.01998118683695793, 0.2587759494781494, -0.17655068635940552, -1.1795207262039185, 0.2542232871055603, -0.7188943028450012, -0.7257260084152222, 1.3747448921203613, -0.042539071291685104, -0.45085474848747253, -0.32508325576782227, -0.05091745778918266, 0.2637522220611572, -0.3061659336090088, 0.7707116603851318, 0.8010676503181458, 0.27104446291923523, -0.06305275112390518, -0.3092006742954254, 0.6992762684822083, 0.41739732027053833, -0.44319310784339905, 0.5053606629371643, 0.016897447407245636, 0.32108116149902344, 0.07201846688985825, 0.47178739309310913, -0.3119165897369385, 0.009060617536306381, 0.122531957924366, -0.08367079496383667, -0.21129339933395386, -0.14715664088726044, -0.6857277750968933, 0.3528718054294586, 0.09509727358818054, -0.22613389790058136 ]
http://arxiv.org/abs/2406.02472v1
http://arxiv.org/pdf/2406.02472v1
Analyzing Temporal Complex Events with Large Language Models? A Benchmark towards Temporal, Long Context Understanding
2024-06-04T16:42:17
2024-06-04T16:42:17
Zhihan Zhang, Yixin Cao, Chenchen Ye, Yunshan Ma, Lizi Liao, Tat-Seng Chua
cs.CL
cs.CL
The digital landscape is rapidly evolving with an ever-increasing volume of online news, emphasizing the need for swift and precise analysis of complex events. We refer to the complex events composed of many news articles over an extended period as Temporal Complex Event (TCE). This paper proposes a novel approach using Large Language Models (LLMs) to systematically extract and analyze the event chain within TCE, characterized by their key points and timestamps. We establish a benchmark, named TCELongBench, to evaluate the proficiency of LLMs in handling temporal dynamics and understanding extensive text. This benchmark encompasses three distinct tasks - reading comprehension, temporal sequencing, and future event forecasting. In the experiment, we leverage retrieval-augmented generation (RAG) method and LLMs with long context window to deal with lengthy news articles of TCE. Our findings indicate that models with suitable retrievers exhibit comparable performance with those utilizing long context window.
[ -0.25458770990371704, -1.1275599002838135, 0.7393967509269714, 0.34597131609916687, -0.41331738233566284, 0.4028491973876953, -0.3901265263557434, -0.8876108527183533, 0.043221764266490936, 0.15479165315628052, -0.716266930103302, -0.4556012451648712, -0.37144142389297485, -0.14661738276481628, -0.6396211981773376, 0.759791374206543, -0.23161646723747253, -0.10283246636390686, 0.34722596406936646, 0.04390053451061249, -0.1935053914785385, -0.589425802230835, -0.8766810894012451, -0.32251569628715515, 0.4734448194503784, 0.023414889350533485, 0.18534651398658752, 0.504683792591095, 0.29675447940826416, 0.1944383680820465, -0.42199352383613586, 0.16555199027061462, -0.6297531127929688, 0.1840064525604248, -0.4428419768810272, -0.2081424593925476, -0.5664926171302795, -0.04311714693903923, 0.7864608764648438, 0.7506652474403381, -0.04655837267637253, 0.3465733528137207, -0.04313769191503525, 0.4794033169746399, -0.6570785045623779, 0.19875505566596985, -0.5160233378410339, 0.23220421373844147, -0.3974485993385315, -0.4767300486564636, -0.48417916893959045, -0.03005949780344963, 0.21869181096553802, -0.3735484778881073, 0.1955326497554779, 0.0336848683655262, 0.7603286504745483, -0.14780770242214203, -0.8535987138748169, -0.11459748446941376, -0.9271288514137268, 0.8746249079704285, -0.5718140006065369, 0.5510715246200562, 0.019491400569677353, 0.49983325600624084, -0.2951810956001282, -1.0016560554504395, -0.6895590424537659, -0.3603191375732422, 0.33748847246170044, 0.1812048852443695, -0.07311567664146423, -0.15361617505550385, 0.3848775327205658, 0.08635764569044113, -0.4472375214099884, 0.1931476891040802, 0.03411261737346649, 0.11262042075395584, 0.3266172409057617, 0.2829468548297882, 0.21603275835514069, -0.23058673739433289, -0.34489932656288147, 0.19776885211467743, -0.39178481698036194, 0.06096803396940231, 0.11625004559755325, -0.0659780353307724, -0.20630525052547455, 0.6399348378181458, -0.334107905626297, 0.6527283787727356, -0.004987004678696394, -0.2131161093711853, 0.025169553235173225, -0.32335135340690613, -0.1626659333705902, 0.02996024675667286, 0.41133663058280945, 0.4127189517021179, 0.30419525504112244, -0.49868693947792053, -0.06759334355592728, -0.24006527662277222, 0.045615196228027344, -0.8242532014846802, 0.3356007933616638, 0.3745051622390747, -0.46170395612716675, -0.23859938979148865, -0.006739732343703508, -1.0065516233444214, -0.28117653727531433, -0.5595725774765015, 0.10396040976047516, -0.0708317831158638, -0.12243165075778961, 0.11654731631278992, -0.17490530014038086, 0.40819695591926575, 0.4172010123729706, -0.2638539671897888, 0.229132279753685, 0.9800949692726135, 0.9215825200080872, -0.506589412689209, -0.19716928899288177, -0.9486356377601624, 0.6393904089927673, -0.27434757351875305, 0.8032527565956116, -0.5037757158279419, -0.12593533098697662, -0.006815226748585701, 0.13666503131389618, 0.08990352600812912, -0.31959930062294006, 0.6465651988983154, -0.9990447759628296, 0.04551682248711586, 0.18659934401512146, -0.6646034717559814, -0.046746931970119476, 0.5781129002571106, -0.7138422727584839, 0.7688702940940857, -0.17409776151180267, -0.7619143128395081, 0.18426550924777985, -0.40843120217323303, -0.3923611640930176, -0.14998608827590942, -0.059862859547138214, -0.3474012613296509, 0.04147166758775711, 0.23543871939182281, 0.5254239439964294, -0.4581466019153595, 0.8467381000518799, -0.410626620054245, -0.11698497086763382, 0.2923162281513214, -0.45802003145217896, 0.4755572974681854, 0.13425621390342712, -0.5013141632080078, 0.06131312996149063, -0.9220532774925232, -0.08129005879163742, 0.031544409692287445, -0.3532402813434601, -0.22842761874198914, 0.37059101462364197, 0.4211657643318176, 0.17390555143356323, 0.29492488503456116, -0.46101638674736023, 0.39478904008865356, -0.09476619213819504, 0.42370107769966125, 0.7135769724845886, 0.2643383741378784, 0.367015540599823, -0.07645128667354584, 0.4292009472846985, 0.23490984737873077, 0.05480967089533806, -0.1905156970024109, 0.1958828717470169, -0.4943067133426666, 0.07649548351764679, 0.2366376519203186, 0.45557302236557007, -0.8515449166297913, 0.26021167635917664, -0.5642238855361938, -0.3556220233440399, 0.35457032918930054, -0.21558645367622375, 0.19418981671333313, 0.41386276483535767, 0.2063494324684143, 0.016169071197509766, -0.5396314859390259, -0.5969247817993164, -0.5553894639015198, 0.07393445074558258, -0.16671866178512573, 0.0861716940999031, 0.5225015878677368, -0.3367900252342224, 0.8646793365478516, -0.4888571500778198, 0.15240693092346191, -0.24850955605506897, 0.5491810441017151, 0.10295949876308441, 0.266274631023407, 0.3912646472454071, -0.8336929678916931, -0.19374686479568481, 0.18643847107887268, -0.6010974645614624, -0.20948344469070435, -0.31721433997154236, 0.008556687273085117, 0.45838692784309387, 0.8711308240890503, -0.3080781400203705, 0.18822528421878815, 0.6157832741737366, -0.4621613323688507, 0.8851627111434937, 0.139237180352211, 0.16788548231124878, -1.1378003358840942, 0.3694218397140503, 0.11701356619596481, -0.5535697340965271, -0.6364628672599792, 0.11708331108093262, 0.26070064306259155, -0.1711196005344391, -0.44766613841056824, 0.9870447516441345, -0.5859144330024719, -0.2885405421257019, -0.24313905835151672, 0.33584120869636536, -0.09744632244110107, 0.386861115694046, 0.24150577187538147, 0.39036184549331665, 0.035668741911649704, -0.540590226650238, 0.30732953548431396, -0.36152392625808716, -0.7722657918930054, 0.2665483057498932, -0.6243332624435425, 0.06666409969329834, -0.2786533534526825, 0.4572904407978058, -0.41276833415031433, -0.19988474249839783, -0.21935273706912994, -0.17895227670669556, 0.43047937750816345, -0.2058938443660736, -0.7477756142616272, -0.2964547574520111, -0.15605808794498444, 0.48386260867118835, -0.07402533292770386, -0.47327277064323425, 0.9739526510238647, 0.4041817784309387, -0.21630023419857025, -0.6699990034103394, -0.28612416982650757, 0.3315381407737732, -0.1529093086719513, -0.6041900515556335, 0.35888561606407166, -0.12116529047489166, -0.5220193266868591, -0.09839195758104324, -0.38289913535118103, -0.335369735956192, 0.17344307899475098, -0.14863631129264832, 0.06036706268787384, -0.32712286710739136, 0.12284491956233978, -0.02616090327501297, -0.05495829880237579, -0.04487760365009308, -0.13644899427890778, 0.8393692374229431, -0.06662173569202423, -0.05195288360118866, -0.41453123092651367, 0.4444107413291931, 0.7320446372032166, -0.4120246469974518, 0.8041552901268005, 0.6302624940872192, -0.4848051369190216, -0.16257335245609283, -0.8586461544036865, -0.059578947722911835, -0.37643951177597046, 0.6050634980201721, -0.34711340069770813, -0.8549964427947998, 0.7571404576301575, -0.3882302939891815, -0.00527801550924778, 0.4451521039009094, 0.4164748787879944, -0.004631164949387312, 1.0625646114349365, 0.5058451294898987, -0.19178065657615662, 0.7627428770065308, -0.20303389430046082, -0.07956255972385406, -0.7758303284645081, -0.30221816897392273, -0.4233388602733612, -0.21959617733955383, -0.28304505348205566, -0.41777145862579346, 0.43015506863594055, 0.3897835910320282, -0.3857916295528412, -0.08480086922645569, 0.16912700235843658, 0.5788205862045288, 0.2172831892967224, -0.00038182048592716455, 0.6248406171798706, -0.18328139185905457, 0.2653464078903198, 0.1232009306550026, -0.37186670303344727, -0.48665353655815125, 0.6200288534164429, 0.367754727602005, 0.5941352844238281, 0.1968505084514618, 0.1198151484131813, 0.12245706468820572, 0.08150887489318848, -0.7356272339820862, 0.4639721214771271, -0.12352511286735535, -0.5735912919044495, -0.09267544001340866, -0.5266762971878052, -1.0108822584152222, -0.0037067211233079433, -0.2590113878250122, -0.7851439714431763, 0.19208119809627533, -0.36730507016181946, -0.09660153836011887, 0.4693855047225952, -0.31886863708496094, 0.7768641710281372, -0.21996505558490753, -0.40429261326789856, -0.4635324478149414, -0.6120786070823669, 0.3518308103084564, -0.267295241355896, 0.29678183794021606, -0.27645790576934814, -0.3119818866252899, 0.7411836981773376, 0.018418684601783752, 0.7165403962135315, 0.15096566081047058, 0.06783624738454819, 0.0673823282122612, 0.29834944009780884, 0.7948329448699951, 0.2189103662967682, -0.22221462428569794, -0.06432057917118073, 0.21549752354621887, -0.49805206060409546, -0.39336082339286804, 0.6877099275588989, -0.6492855548858643, -0.38603100180625916, -0.5111316442489624, -0.5441864132881165, -0.29189708828926086, 0.20306240022182465, -0.02731809765100479, 0.8554346561431885, -0.3672252893447876, 0.2959628701210022, 0.47187578678131104, -0.19338835775852203, 0.7175147533416748, 0.9649129509925842, -0.0735296681523323, 0.0384729839861393, 0.3452887535095215, 0.13957619667053223, 0.14634133875370026, 0.5973417162895203, 0.302845299243927, -0.09311819076538086, -0.6010257601737976, -0.15150129795074463, 0.2631279528141022, -0.48939064145088196, -0.09073416143655777, -0.930347740650177, -0.2147391438484192, -0.16550575196743011, -0.13423658907413483, -0.19476239383220673, -0.29774704575538635, -0.3583650588989258, -0.009854347445070744, 0.08387215435504913, 0.5597975254058838, 0.27513471245765686, 0.3682984709739685, -1.141771912574768, 0.5272676944732666, 0.1400630623102188, 0.5264440774917603, 0.23482394218444824, -0.23641322553157806, -0.24810336530208588, -0.17155088484287262, -0.36748620867729187, -0.839051365852356, 0.3622429668903351, 0.07718408852815628, 0.5185576677322388, 0.16949214041233063, 0.08726130425930023, 0.8639333248138428, -0.7221325635910034, 0.7926172018051147, -0.11983149498701096, -1.1279528141021729, 0.5275039076805115, -0.6169822216033936, 0.5614992380142212, 0.2349218726158142, 0.32242488861083984, -0.8668057322502136, -0.39276251196861267, -0.5317720770835876, -0.8843751549720764, 0.6313976645469666, 0.0671565905213356, -0.20207074284553528, -0.17281420528888702, 0.5558456182479858, -0.059269919991493225, 0.17448942363262177, -0.8193919658660889, 0.13580645620822906, 0.4495472311973572, -0.026408616453409195, -0.15521195530891418, -0.6466923356056213, 0.07555627822875977, 0.18098057806491852, 0.498028963804245, -0.03768534958362579, -0.15385399758815765, 0.2271650731563568, -0.2903789281845093, -0.14025458693504333, 0.47232866287231445, 0.6186643242835999, 1.0712189674377441, -0.2261916846036911, 0.060767896473407745, 0.2108718454837799, -0.40819838643074036, -0.19972270727157593, 0.15316294133663177, 0.22692832350730896, -0.07538899779319763, 0.7339486479759216, 0.4452231526374817, 0.24578486382961273, -1.0188276767730713, 0.44709569215774536, -0.23057803511619568, 0.34261634945869446, -0.5479117035865784, -0.37876951694488525, 0.019457735121250153, 0.5955339074134827, 0.7428557276725769, -0.5062001943588257, 0.23133769631385803, -0.8988412618637085, 0.2936294376850128, 0.18445898592472076, -0.2680057883262634, -0.32369130849838257, 0.6551958322525024, 0.26901763677597046, 0.06693083792924881, 0.5069468021392822, -0.11299432069063187, -0.527104914188385, 0.9178034663200378, 0.5422462821006775, 0.8288495540618896, -0.013589689508080482, -0.04319664463400841, 0.3177500069141388, 0.1483260989189148, -0.27506306767463684, 0.2903556823730469, 0.1702401041984558, -0.32932284474372864, -1.0122714042663574, -0.7815624475479126, -0.25758227705955505, 0.17208245396614075, -0.6431904435157776, 0.31820499897003174, -0.0023416406475007534, -0.08333905041217804, 0.10176193714141846, 0.3520270884037018, -0.596381425857544, 0.06256967782974243, 0.15129469335079193, 1.088789701461792, -0.5600577592849731, 0.8281294703483582, 0.33102428913116455, 0.08062951266765594, -0.5000647306442261, 0.31642431020736694, 0.04798520356416702, -0.4527868926525116, 0.866945207118988, 0.08607689291238785, -0.0937567800283432, 0.02405901998281479, -0.36936765909194946, -0.6730533242225647, 1.038589358329773, 0.18008048832416534, -1.0018725395202637, -0.26273590326309204, -0.13175661861896515, 0.6496456861495972, -0.2106115072965622, 0.07639622688293457, 0.6354881525039673, 0.4750520884990692, -0.016646184027194977, -1.0171183347702026, -0.18235720694065094, -0.0743311196565628, -0.12747877836227417, 0.5295844078063965, -0.5726503729820251, 0.6669149398803711, 0.046342022716999054, -0.5465555787086487, 0.08629737794399261, 0.7429646849632263, 0.022217141464352608, 0.6863925457000732, 0.4858857989311218, 0.22513936460018158, 0.5689676403999329, -0.04126369580626488, 1.204140543937683, -0.4232557713985443, 0.4789736866950989, 1.3982384204864502, -0.15332281589508057, 0.9445194602012634, 0.2774449288845062, 0.08588909357786179, 0.37295103073120117, 0.5005840063095093, 0.3276660144329071, 0.1935654729604721, 0.06599103659391403, -0.39950546622276306, -0.27819034457206726, -0.17537571489810944, -0.25030940771102905, 0.37642934918403625, 0.34936633706092834, -0.10356065630912781, -0.5301938652992249, 0.11270736157894135, 0.0807509571313858, 0.052974723279476166, -0.7030575275421143, 0.8557354807853699, 0.11555550992488861, -0.560017466545105, 0.11595800518989563, 0.10255568474531174, 0.3664591610431671, -0.6159460544586182, 0.2193959504365921, 0.0025300909765064716, 0.29277849197387695, 0.10475173592567444, -1.007018804550171, 0.36921751499176025, 0.10022345185279846, -0.30226364731788635, 0.20919157564640045, 0.39838892221450806, -0.45563703775405884, -0.5804651975631714, 0.4925636947154999, 0.5723627805709839, -0.20993515849113464, -0.16651538014411926, -0.44342219829559326, 0.28985628485679626, -0.36559996008872986, -0.5534719824790955, 0.19462886452674866, 0.710382878780365, -0.2979068458080292, 0.7193999886512756, 0.48935508728027344, -0.02575233206152916, 0.05323219299316406, 0.20002681016921997, 0.5975481867790222, -1.0538756847381592, -0.41451457142829895, -0.9795951843261719, 0.24789050221443176, -0.235975980758667, -0.127403125166893, 0.5251511335372925, 0.7432464957237244, 0.6173363924026489, 0.11292759329080582, 0.3384338617324829, 0.1557861715555191, 0.6416314244270325, -0.623153567314148, 0.3909450173377991, -0.7120474576950073, 0.2276456207036972, -0.07134098559617996, -0.9379704594612122, -0.3171902894973755, -0.123880535364151, -0.2717585563659668, -0.25260308384895325, 0.749940037727356, 0.29854825139045715, -0.19277629256248474, -0.031062938272953033, 0.03625889867544174, 0.542317807674408, 0.6687145829200745, 0.4846590459346771, 0.929175615310669, -0.03755338862538338, 0.48860853910446167, -0.13742448389530182, -0.22546212375164032, -0.32266858220100403, -1.2464091777801514, -0.9975383281707764, -0.621647298336029, -0.0881933718919754, -0.2793165445327759, 0.3328750431537628, 0.9679791331291199, 0.39327529072761536, -0.6138185858726501, -0.2820398211479187, 0.2424020618200302, -0.08941483497619629, -0.17463621497154236, -0.27016711235046387, 0.624395489692688, -0.30486321449279785, -0.9696223139762878, 0.2696722149848938, 0.23578466475009918, 0.10345317423343658, 0.02454066090285778, 0.4597984552383423, -0.1861596405506134, -0.06015606224536896, 1.1487834453582764, 0.28491586446762085, -0.5841542482376099, -0.45121505856513977, 0.023937059566378593, -0.10810177773237228, -0.19809246063232422, 1.0441548824310303, -0.6169911623001099, 0.4760857820510864, 0.7165371179580688, 0.584341287612915, 0.933205246925354, -0.01770191080868244, 0.6809174418449402, -0.6905565857887268, 0.21419231593608856, 0.3396184742450714, 0.36965706944465637, -0.12665754556655884, -0.17401845753192902, 0.5712187886238098, -0.06057945638895035, -0.674136221408844, -0.9065389633178711, 0.2113247662782669, -1.4902666807174683, -0.719402015209198, 1.2906553745269775, 0.2376631647348404, -0.4035464823246002, -0.24099746346473694, -0.06030415743589401, 0.4824029803276062, -0.14015451073646545, 0.8747983574867249, 0.6981843709945679, 0.10399945080280304, -0.08283928036689758, -0.8259788751602173, 0.07116451859474182, -0.06820108741521835, -0.8932176232337952, 0.18078985810279846, 0.513261079788208, 0.25124162435531616, 0.013268728740513325, 0.282905250787735, -0.10380737483501434, 0.297096312046051, -0.4114493131637573, -0.1582089513540268, 0.010920965112745762, -0.4551178514957428, -0.18305715918540955, 0.2519219219684601, -0.21068407595157623, 0.4225755035877228 ]
http://arxiv.org/abs/2406.02469v1
http://arxiv.org/pdf/2406.02469v1
Landscape-Aware Growing: The Power of a Little LAG
2024-06-04T16:38:57
2024-06-04T16:38:57
Stefani Karp, Nikunj Saunshi, Sobhan Miryoosefi, Sashank J. Reddi, Sanjiv Kumar
cs.LG
cs.LG, cs.CL
Recently, there has been increasing interest in efficient pretraining paradigms for training Transformer-based models. Several recent approaches use smaller models to initialize larger models in order to save computation (e.g., stacking and fusion). In this work, we study the fundamental question of how to select the best growing strategy from a given pool of growing strategies. Prior works have extensively focused on loss- and/or function-preserving behavior at initialization or simply performance at the end of training. Instead, we identify that behavior at initialization can be misleading as a predictor of final performance and present an alternative perspective based on early training dynamics, which we call "landscape-aware growing (LAG)". We perform extensive analysis of correlation of the final performance with performance in the initial steps of training and find early and more accurate predictions of the optimal growing strategy (i.e., with only a small "lag" after initialization). This perspective also motivates an adaptive strategy for gradual stacking.
[ -0.5240594744682312, -0.7903236150741577, 0.18144455552101135, 0.30678853392601013, -0.265872061252594, 0.2532455623149872, 0.1522994041442871, -0.5713573694229126, 0.2224443107843399, 0.35971760749816895, -0.965674877166748, 0.07030780613422394, -0.7701743245124817, -0.19856593012809753, -0.11259675770998001, 1.067989706993103, 0.2850792109966278, -0.08211299031972885, -0.24226264655590057, -0.31124749779701233, -0.78937166929245, -0.08451789617538452, -0.922766387462616, -0.5575089454650879, 0.36595797538757324, 0.22531434893608093, 0.8553686141967773, 1.123475193977356, 0.5837309956550598, 0.21445178985595703, -0.40998730063438416, -0.12548193335533142, -0.6338514685630798, 0.22388409078121185, 0.3386712372303009, -0.6760022044181824, -0.1368330717086792, -0.14516665041446686, 0.697637140750885, 0.7403267025947571, -0.2239832878112793, 0.47864845395088196, -0.04674683138728142, 0.6839962601661682, -0.46190229058265686, -0.13643778860569, -0.6055833101272583, 0.5542693138122559, -0.47962695360183716, -0.4649443030357361, -0.45063257217407227, -0.06236770376563072, 0.3582029640674591, -0.5573118925094604, 0.5086447596549988, 0.25328096747398376, 0.8569980263710022, 0.6638509035110474, -0.317865788936615, 0.21265433728694916, -0.980461061000824, 0.4751412570476532, -0.22433653473854065, 0.16307418048381805, -0.12521372735500336, 0.5716355443000793, -0.0925191193819046, -0.575147807598114, -0.3040394186973572, 0.07322714477777481, -0.051354777067899704, 0.29475924372673035, -0.36169105768203735, -0.07460486143827438, 0.5758722424507141, 0.48498743772506714, -0.3883393108844757, 0.26251742243766785, -0.2560473680496216, -0.002600767184048891, 0.4128921926021576, 0.06037018075585365, 0.10329544544219971, 0.030523652210831642, -0.49539873003959656, -0.4806493818759918, -0.9014448523521423, 0.6611696481704712, -0.008471645414829254, 0.3673671782016754, -0.1121254488825798, 0.34525159001350403, 0.3177105486392975, 0.5594183206558228, 0.5024032592773438, 0.2261841744184494, 0.032906901091337204, -0.0919952243566513, -0.28090086579322815, 0.000855404359754175, 0.34043028950691223, 0.2570447623729706, -0.3271940052509308, -0.10424583405256271, -0.22357657551765442, 0.2267669141292572, 0.4889971613883972, -0.862698495388031, -0.43104085326194763, 0.0021510645747184753, -0.5586835741996765, -0.5514419674873352, -0.2891087234020233, -0.902287483215332, -0.472746878862381, 0.16633877158164978, 0.3738146722316742, -0.16206422448158264, -0.3627595007419586, -0.3228519856929779, -0.09743653237819672, 0.39663198590278625, 0.11996499449014664, -0.954898476600647, 0.24639049172401428, 0.4654427468776703, 1.0767029523849487, -0.2889598309993744, 0.0055716014467179775, -0.6328097581863403, -0.2177191823720932, -0.7784671187400818, 0.5649049282073975, -0.042336929589509964, -0.8025278449058533, -0.016071707010269165, -0.06419343501329422, -0.08421474695205688, -0.5153458714485168, 0.3426618278026581, -1.032206416130066, 0.33772173523902893, -0.4232143461704254, -0.18586766719818115, -0.06249295920133591, 0.15276440978050232, -0.782760739326477, 1.1334792375564575, 0.23190025985240936, -0.9067362546920776, 0.9696138501167297, -1.1387975215911865, -0.36599835753440857, 0.3236241042613983, -0.10782681405544281, -0.7265415191650391, 0.21022149920463562, 0.02058633230626583, 0.34261563420295715, 0.034737277776002884, -0.3785128891468048, -0.11775748431682587, 0.0990288183093071, -0.27730974555015564, -0.12071634829044342, 0.7321327924728394, 0.18624302744865417, -0.4505092203617096, 0.009665864519774914, -0.5326667428016663, 0.20587526261806488, 0.15960285067558289, -0.08272053301334381, -0.28660136461257935, 0.2253892868757248, -0.40174490213394165, -0.026123952120542526, 0.04696562513709068, -0.36437973380088806, 0.1942032128572464, -0.6244245767593384, 0.21842552721500397, 0.5641301870346069, 0.25342366099357605, 0.8247227072715759, -0.5433726906776428, 0.6811560988426208, 0.23590348660945892, 0.20571556687355042, -0.5073157548904419, -0.2772172689437866, -0.8742810487747192, -0.05539179965853691, 0.30257153511047363, 0.3485066294670105, -0.7214793562889099, 0.20564937591552734, -0.6061676144599915, -0.786283552646637, -0.10694073140621185, 0.11390264332294464, 0.08053149282932281, 0.4372314512729645, 0.4488266408443451, -0.5463640093803406, -0.4720284342765808, -0.6747413873672485, 0.1015220433473587, 0.1180078461766243, 0.03759273514151573, 0.3507723808288574, 0.28254419565200806, -0.30882126092910767, 1.2546539306640625, -0.6357147097587585, -0.13481120765209198, -0.08646395057439804, 0.3223583698272705, 0.3765769898891449, 0.5113340020179749, 1.19212806224823, -0.9403772354125977, -0.7245984077453613, 0.15873418748378754, -0.4856998026371002, 0.17376215755939484, -0.2453252524137497, -0.07476997375488281, -0.29050931334495544, 0.28998568654060364, -0.7990431189537048, 0.3215978741645813, 0.6411154866218567, -0.12062092870473862, 0.28476759791374207, -0.40093255043029785, -0.12333200126886368, -0.7310724258422852, -0.2856917083263397, 0.30239585041999817, -0.24763481318950653, -0.7532778978347778, 0.1776934713125229, -0.20074094831943512, 0.08427475392818451, -0.2223433256149292, 0.17244018614292145, -0.31492576003074646, -0.14716574549674988, -0.44568780064582825, -0.2694384753704071, -0.20679901540279388, 0.1767732948064804, -0.19626300036907196, 1.042657732963562, 0.891320526599884, -1.0503064393997192, -0.13889247179031372, -0.02141571044921875, -0.04217043146491051, 0.2556931674480438, -0.48727887868881226, -0.10297960042953491, -0.24894680082798004, 0.46236252784729004, -0.5802131295204163, -0.19881199300289154, -0.09302729368209839, -0.45686784386634827, 0.3178784251213074, -0.1666899472475052, -0.20634496212005615, -0.8017522692680359, -0.30606910586357117, 0.3961833119392395, 0.6828486323356628, -0.8762553930282593, 0.7712626457214355, 0.33137205243110657, 0.2628030478954315, -0.2405584305524826, -0.3316026031970978, -0.28657442331314087, -0.7030397057533264, -0.6472715139389038, 0.6212581396102905, 0.004794278182089329, 0.0028768484480679035, -0.4185769557952881, -0.26801544427871704, -0.010267721489071846, 0.22946177423000336, 0.3919340968132019, 0.17057070136070251, -0.41094574332237244, -0.055465638637542725, -0.04146534204483032, -0.2070370763540268, 0.2861727178096771, -0.4240742623806, 0.41982388496398926, -0.38381555676460266, -0.17034600675106049, -0.025760386139154434, -0.08735194057226181, 0.7561740279197693, -0.08505208045244217, 0.5736767053604126, 0.6585698127746582, -0.31058046221733093, -0.3965699374675751, -0.1640719473361969, -0.13054268062114716, -0.5694743394851685, 0.20922325551509857, -0.1654559224843979, -0.5587055087089539, 0.3900757431983948, -0.7272080779075623, 0.47767874598503113, 0.792535126209259, 0.25451359152793884, -0.6183772087097168, 0.9948309063911438, 1.3660997152328491, 0.2667779326438904, 0.6840736269950867, -0.8569298386573792, 0.21153424680233002, -0.8545477986335754, -0.3668162524700165, -0.31835001707077026, -0.5354782342910767, -0.8340363502502441, -0.5828732848167419, 0.4549580216407776, 0.12291967868804932, -0.2722298204898834, 0.4475782513618469, -0.7711271643638611, 0.47175806760787964, 0.4295971691608429, -0.1283816248178482, -0.20035414397716522, 0.004864130634814501, 0.048340942710638046, -0.32957199215888977, -1.212809681892395, -0.21878086030483246, 0.846098005771637, 0.489811509847641, 0.3665952682495117, 0.20596455037593842, 0.4548112452030182, 0.5663851499557495, 0.5048254132270813, -0.8235708475112915, 0.38137540221214294, -0.10358176380395889, -0.21230414509773254, -0.40731802582740784, -0.3311799168586731, -1.496193528175354, 0.4547998309135437, -0.6394811868667603, -0.6587156057357788, -0.06467413902282715, 0.6883095502853394, -0.8818012475967407, 0.5108038187026978, -0.5199745297431946, 0.6694316267967224, -0.6465834975242615, -0.3807627260684967, -0.2739786207675934, -0.6540257334709167, 0.1747020035982132, -0.09083891659975052, 0.31104373931884766, 0.27628394961357117, 0.1313609629869461, 0.9500318169593811, -0.28916171193122864, 0.5421765446662903, -0.5114299654960632, 0.292019784450531, 0.41541793942451477, 0.10153591632843018, 0.45449504256248474, -0.22994504868984222, 0.6323017477989197, 0.06344067305326462, 0.062037475407123566, -0.4439583122730255, -0.5753474831581116, 0.5258515477180481, -1.0586756467819214, -0.7041902542114258, -0.4579697549343109, 0.0277837086468935, -0.3746430277824402, 0.23380187153816223, 0.5705995559692383, -0.21550312638282776, -0.3883056640625, 0.5055920481681824, 1.0188406705856323, 0.2885681986808777, 0.7296168208122253, 0.1559358835220337, -0.546072244644165, -0.22231610119342804, 0.6481953859329224, 0.2629172205924988, 0.13092422485351562, 0.25610265135765076, 0.5558183789253235, -0.05131854861974716, -0.5047173500061035, -0.47028017044067383, -0.08860079944133759, -0.16045503318309784, -0.12669602036476135, -0.33903124928474426, -0.3627830147743225, 0.1674942672252655, -0.27679234743118286, -0.4766766428947449, 0.07577574998140335, -0.10754222422838211, -0.14620018005371094, 0.25637808442115784, 0.7545613646507263, -0.09428144246339798, 1.3630093336105347, -0.49179014563560486, -0.05667944997549057, 0.4519973397254944, 0.12274305522441864, 0.08809970319271088, -0.3214018940925598, -0.4180428683757782, 0.20067739486694336, -0.8369923830032349, -0.7918442487716675, 0.3731847405433655, 0.16372349858283997, 0.4628899097442627, 0.7492138147354126, -0.3726058006286621, 0.5547450184822083, -0.36532559990882874, 1.090648889541626, 0.7692390084266663, -0.5090287327766418, 0.7806286215782166, -0.4012756943702698, 0.4017791152000427, 0.3033897876739502, 0.2588740289211273, -0.19589410722255707, 0.36683717370033264, -1.043748140335083, -0.9678213000297546, 0.46717390418052673, 0.09842284023761749, 0.24797378480434418, 0.32266804575920105, 0.3293192684650421, 0.04406321421265602, 0.14941023290157318, -0.9793912172317505, -0.18178239464759827, -0.31043410301208496, 0.6402882933616638, 0.01707020029425621, 0.09791376441717148, -0.5249366164207458, -0.4711434543132782, 0.4424847960472107, -0.2873854637145996, 0.242452010512352, -0.238080695271492, 0.04136527702212334, -0.49716266989707947, -0.2515886425971985, 0.29231715202331543, 0.15847206115722656, 0.0073385089635849, -0.14891858398914337, 0.5991045236587524, -0.2549372613430023, 0.1672598123550415, -0.39910024404525757, -0.5422965288162231, -0.042722780257463455, 0.24411556124687195, 1.075984001159668, 0.49051132798194885, -0.16011273860931396, 0.6647891998291016, 0.10230108350515366, -0.21991290152072906, -0.18324710428714752, 0.45075294375419617, -0.3170771300792694, 0.41444525122642517, 0.6232312321662903, 0.8722296357154846, -0.1932763010263443, -0.04377969726920128, 0.0632910504937172, 0.6355029940605164, -0.39385443925857544, -0.3785570561885834, 0.7834511995315552, 0.2505910396575928, -0.6455746293067932, 0.32538390159606934, -0.01915244199335575, -0.4464065432548523, 0.9134820699691772, 0.4330565333366394, 0.8513264060020447, -0.08590833842754364, 0.21642978489398956, 0.554643988609314, 0.30948543548583984, -0.18933513760566711, -0.3853938579559326, -0.23087139427661896, -0.7141836285591125, -0.3291371464729309, -0.5277299284934998, -0.10391540080308914, 0.1361657828092575, -0.6049718856811523, 0.2023855447769165, -0.7688497304916382, -0.9754852056503296, -0.027091320604085922, 0.15777574479579926, -0.9919562935829163, 0.3623116612434387, -0.014238232746720314, 1.1728767156600952, -0.9413867592811584, 0.35986489057540894, 0.74869304895401, 0.08237892389297485, -0.5605804920196533, 0.04085994139313698, -0.11803717166185379, -0.5107744932174683, 0.5928085446357727, 0.29643651843070984, -0.4778463840484619, -0.0362883135676384, -0.6588239669799805, -1.2029695510864258, 1.5826280117034912, -0.0829920545220375, -0.4816703796386719, 0.036322660744190216, -0.2926006317138672, 0.7502769827842712, -0.6202877163887024, 0.15420879423618317, 0.27384406328201294, 0.12185541540384293, 0.5801329016685486, -0.5401259064674377, -0.48176032304763794, -0.00952629279345274, 0.4224104583263397, 0.2067813128232956, -0.8394257426261902, 0.800053060054779, -0.42305782437324524, -0.6122803092002869, -0.17848002910614014, 0.9530186057090759, 0.05711716413497925, 0.2930038869380951, 0.9806748628616333, 0.5358706712722778, 0.808402419090271, -0.2618759572505951, 1.0025949478149414, -0.814388632774353, 0.2557244896888733, 0.8479461669921875, 0.3449382781982422, 0.9444058537483215, 0.45376357436180115, -0.3563109338283539, 0.5044541358947754, 1.1885274648666382, -0.16783758997917175, 0.9843019247055054, 0.05807333439588547, -0.04297935217618942, -0.22698651254177094, 0.14215846359729767, -0.6007550358772278, 0.3912498950958252, 0.11316656321287155, -0.3041772246360779, -0.3121861517429352, -0.1406749188899994, -0.12818560004234314, -0.2074166238307953, -0.5011512637138367, 0.5739092230796814, -0.21315357089042664, -0.7738111615180969, 0.11233074218034744, -0.05819454416632652, 0.8226141333580017, -0.7920058965682983, 0.25381407141685486, -0.04063672572374344, -0.12029687315225601, -0.4251090884208679, -0.42345380783081055, 0.33630409836769104, -0.24609889090061188, -0.30278444290161133, -0.5972913503646851, 0.4076841175556183, 0.06832578033208847, -0.09821885824203491, 0.16705407202243805, 0.6712104082107544, -0.33127373456954956, 0.5103100538253784, -0.4260886013507843, -0.2366461306810379, -0.1295837163925171, -0.3116324841976166, 0.5544261932373047, 0.27402183413505554, -0.08969444781541824, 0.8996184468269348, 0.8853707909584045, 0.16037997603416443, 0.22839704155921936, -0.455277681350708, 0.9806955456733704, -0.06192847713828087, -0.6808374524116516, -0.7179654836654663, 0.478245347738266, -0.4068054258823395, -0.3396773636341095, 0.6487556099891663, 0.614321768283844, 0.4969671666622162, 0.05089676380157471, 0.6408073306083679, -0.011206457391381264, 0.029608046635985374, -0.17139680683612823, 0.6836929321289062, -0.3631138205528259, 0.26277342438697815, 0.1750059872865677, -0.9282246232032776, -0.01240946538746357, 0.8903408646583557, -0.5363803505897522, 0.09432325512170792, 0.4242517054080963, 0.5962348580360413, -0.08064062148332596, 0.15781331062316895, 0.2081480473279953, 0.3137018382549286, 0.30333858728408813, 0.06711560487747192, 0.43557316064834595, -0.22901400923728943, 0.09817041456699371, -0.11682933568954468, -0.6838164329528809, -0.14010761678218842, -1.0106585025787354, -0.4354090094566345, -0.29997068643569946, -0.402216374874115, -0.41172128915786743, -0.41617366671562195, 0.7307038307189941, 1.150810956954956, -0.5284312963485718, -0.06378958374261856, -0.22522976994514465, -0.18352484703063965, -0.5745702385902405, -0.20938833057880402, 0.10819131880998611, -0.0646892562508583, -0.026024049147963524, 0.40674614906311035, 0.2468462884426117, 0.3542390763759613, -0.5679684281349182, -0.2820263206958771, 0.22999952733516693, 0.25574466586112976, 0.6676265597343445, 0.7961181998252869, -0.3958871364593506, -0.20077554881572723, -0.07299812883138657, 0.24957430362701416, 0.30024150013923645, 0.7447450757026672, -1.033190369606018, 0.5337420105934143, 0.029947848990559578, 0.7247886061668396, 0.948198139667511, 0.014260604046285152, 0.5617284178733826, -0.7644132375717163, -0.15997634828090668, 0.1597987860441208, 0.15850281715393066, 0.29622596502304077, -0.46757772564888, 0.4585115611553192, 0.2883736193180084, -0.5268853902816772, -0.7374765276908875, 0.2638779580593109, -0.6792280077934265, 0.17181085050106049, 0.469637006521225, -0.0025141346268355846, -0.45759040117263794, 0.5662760138511658, 0.017045779153704643, 0.06373660266399384, 0.05037469416856766, 1.0776666402816772, 0.46736934781074524, -0.6030048131942749, -0.20000812411308289, -0.43966227769851685, 0.8183537721633911, 0.30053240060806274, -0.7428154349327087, -0.21919023990631104, 0.2885206639766693, 0.16819274425506592, 0.8320030570030212, 0.4873740077018738, 0.46751731634140015, 0.2600082755088806, 0.38660165667533875, -0.5799345970153809, 0.08705133944749832, -0.40702348947525024, -0.17096969485282898, 0.5533245801925659, 0.1627628654241562, -0.43534523248672485 ]
http://arxiv.org/abs/2406.02449v1
http://arxiv.org/pdf/2406.02449v1
Representations as Language: An Information-Theoretic Framework for Interpretability
2024-06-04T16:14:00
2024-06-04T16:14:00
Henry Conklin, Kenny Smith
cs.CL
cs.CL, cs.AI
Large scale neural models show impressive performance across a wide array of linguistic tasks. Despite this they remain, largely, black-boxes - inducing vector-representations of their input that prove difficult to interpret. This limits our ability to understand what they learn, and when the learn it, or describe what kinds of representations generalise well out of distribution. To address this we introduce a novel approach to interpretability that looks at the mapping a model learns from sentences to representations as a kind of language in its own right. In doing so we introduce a set of information-theoretic measures that quantify how structured a model's representations are with respect to its input, and when during training that structure arises. Our measures are fast to compute, grounded in linguistic theory, and can predict which models will generalise best based on their representations. We use these measures to describe two distinct phases of training a transformer: an initial phase of in-distribution learning which reduces task loss, then a second stage where representations becoming robust to noise. Generalisation performance begins to increase during this second phase, drawing a link between generalisation and robustness to noise. Finally we look at how model size affects the structure of the representational space, showing that larger models ultimately compress their representations more than their smaller counterparts.
[ -0.2144259661436081, -0.2725194990634918, 0.5556586384773254, 0.37526848912239075, -0.1656072437763214, -0.13660664856433868, -0.48972535133361816, -0.43795615434646606, 0.040882498025894165, 0.3806750774383545, -0.137285053730011, -0.10438846796751022, -1.0398443937301636, -0.23761296272277832, -0.7105426788330078, 0.7678775787353516, 0.0007501460495404899, 0.11479191482067108, -0.08251006156206131, -0.29731202125549316, -0.3491721451282501, -0.5576003193855286, -0.5259402990341187, -0.5754988193511963, 0.36501431465148926, -0.15945860743522644, 1.0023945569992065, 0.846829891204834, 0.3016349971294403, 0.27490589022636414, -0.2814730107784271, -0.3321910798549652, -0.5236215591430664, 0.2510473132133484, -0.32596394419670105, -1.0011545419692993, 0.06949403882026672, -0.030112015083432198, 0.843315601348877, 1.0932648181915283, -0.2968617081642151, -0.016617698594927788, 0.4072980284690857, 0.36167946457862854, -0.5546302199363708, 0.806584358215332, -0.5161681175231934, 0.08704454451799393, 0.20119185745716095, -0.21234853565692902, -0.8594897985458374, -0.017379065975546837, 0.09199117124080658, -0.7697247862815857, 0.28449195623397827, -0.018496893346309662, 0.6839326620101929, 0.22345943748950958, -0.38014543056488037, -0.46453437209129333, -0.9231776595115662, 0.7795558571815491, -0.4438733458518982, 0.6031225323677063, 0.34810590744018555, 0.5722783803939819, 0.047638021409511566, -0.8393532633781433, -0.4958059787750244, -0.1878589391708374, -0.5355522036552429, -0.02401837706565857, -0.44145601987838745, 0.2051672488451004, 0.41826534271240234, 0.3215457499027252, -0.39276090264320374, -0.12537842988967896, -0.21693293750286102, -0.07419072836637497, 0.4888521730899811, -0.004937260877341032, 0.5014504194259644, -0.1702193170785904, 0.027546772733330727, -0.2572375237941742, -0.6179513335227966, -0.042945269495248795, 0.3634549081325531, 0.2602536380290985, -0.0364706814289093, 0.4547254145145416, 0.248003289103508, 0.5895098447799683, 0.041290394961833954, 0.23987960815429688, -0.16707895696163177, -0.036906931549310684, -0.18765424191951752, -0.12535467743873596, 0.5520392656326294, -0.1127246618270874, 0.41355207562446594, -0.36768022179603577, -0.19824111461639404, 0.1655222624540329, 0.5978589057922363, -0.8052409887313843, -0.3862013816833496, -0.017014801502227783, -0.7690346837043762, -0.43009862303733826, 0.14549902081489563, -0.44471657276153564, -0.5920491218566895, -0.3117498457431793, 0.5278105139732361, -0.5462332367897034, -0.6610892415046692, 0.1792614907026291, -0.11092457175254822, 0.1915706843137741, 0.0786774680018425, -1.3517128229141235, 0.5249848961830139, 0.6580295562744141, 0.7256999015808105, 0.11343197524547577, -0.2928573787212372, -0.24828499555587769, 0.1325470507144928, -0.5051116347312927, 0.49990081787109375, -0.7007066607475281, -0.16201677918434143, 0.14591075479984283, -0.06504081934690475, -0.25676631927490234, -0.6371999979019165, 0.2086327075958252, -0.6616119146347046, -0.15492315590381622, -0.0628482848405838, -0.6243414878845215, -0.4450109899044037, -0.054592035710811615, -0.9540748000144958, 0.540111780166626, 0.4280269145965576, -0.5843355059623718, 0.39557555317878723, -0.7418640851974487, -0.40755176544189453, 0.039427611976861954, -0.22376325726509094, -0.002577906008809805, 0.6374160647392273, -0.04064154997467995, 0.5632128119468689, -0.12093820422887802, 0.3088380992412567, -0.023845123127102852, -0.4229583144187927, 0.2718472182750702, -0.4913884103298187, 0.576878011226654, 0.23412102460861206, -0.27810415625572205, -0.06585041433572769, -0.7929244041442871, -0.06209501996636391, 0.17786550521850586, -0.32449862360954285, -0.2468305379152298, 0.3772275149822235, 0.10998547077178955, 0.011611459776759148, 0.002652678871527314, -0.2784561812877655, 0.009931694716215134, -0.714121401309967, 0.9246723055839539, 0.5901761054992676, -0.3080660104751587, 0.9628250598907471, 0.13552114367485046, 0.6085575819015503, 0.2587781548500061, 0.05455152690410614, -0.29662105441093445, -0.29903820157051086, -0.7823408246040344, -0.056616853922605515, 0.46956783533096313, 0.15067048370838165, -0.7506282925605774, 0.30867353081703186, -0.35686635971069336, -0.31504344940185547, -0.5333979725837708, 0.06814192235469818, 0.09719933569431305, -0.01209903322160244, 0.1311129480600357, -0.22263942658901215, -0.46747341752052307, -0.8217980265617371, -0.4266712963581085, -0.3640490174293518, -0.06728032231330872, -0.03768469765782356, 0.5122365355491638, -0.2868500351905823, 0.6180294752120972, -0.36322444677352905, 0.07284875959157944, -0.5037201642990112, 0.22036431729793549, 0.33117467164993286, 0.27164754271507263, 0.5274406671524048, -0.9314716458320618, -0.18725071847438812, 0.13587498664855957, -0.96834796667099, 0.22870059311389923, -0.20437666773796082, 0.12595157325267792, -0.2880876660346985, 0.397381067276001, -0.6259995102882385, 0.628982424736023, 0.5595880150794983, -0.48408907651901245, 0.26023373007774353, -0.3655861020088196, -0.3498016893863678, -0.8411433696746826, -0.07859237492084503, -0.13345465064048767, -0.2937719225883484, -0.6984509229660034, 0.3314875066280365, 0.12589845061302185, -0.20514707267284393, -0.20446060597896576, 0.47982504963874817, -0.44820302724838257, -0.21592894196510315, -0.37006688117980957, -0.09567473083734512, 0.15711669623851776, 0.38216471672058105, -0.15260621905326843, 0.5612687468528748, 0.6687293648719788, -0.5053011178970337, 0.0787753015756607, 0.15877923369407654, -0.5133146643638611, 0.6922944784164429, -0.6714687347412109, -0.21510125696659088, -0.6103842854499817, -0.03206394612789154, -0.9914278984069824, -0.2783469557762146, 0.08535761386156082, -0.37606701254844666, 0.5488157868385315, -0.17453008890151978, -0.47627580165863037, 0.03624933585524559, 0.3250455856323242, 0.4990617036819458, 0.4333235025405884, -0.6918396353721619, 1.0546190738677979, 0.17427416145801544, 0.1287548989057541, -0.5426301956176758, -0.8471401333808899, -0.07545287162065506, -0.0648188367486, -0.5307835340499878, 0.03791692852973938, 0.048551760613918304, -0.4054485261440277, 0.21829135715961456, -0.011199954897165298, -0.3565335273742676, 0.24047569930553436, 0.41606149077415466, -0.17252548038959503, -0.3570839464664459, 0.3918974995613098, -0.039306677877902985, -0.17429803311824799, 0.2827564477920532, -0.519866406917572, 0.5111793279647827, -0.1310148984193802, -0.34378498792648315, -0.16984295845031738, 0.40408751368522644, 0.4995378255844116, -0.00007032786379568279, 1.0132458209991455, 0.44202151894569397, -0.36835893988609314, -0.4479494094848633, -0.003091241931542754, -0.09547971189022064, -0.447302907705307, 0.48798811435699463, -0.5315081477165222, -0.5699165463447571, 0.5450555682182312, 0.07740500569343567, -0.13526441156864166, 0.7129733562469482, 0.42751988768577576, -0.1419512778520584, 1.175858497619629, 0.9602116942405701, 0.03130757436156273, 0.5401402115821838, -0.48689398169517517, 0.40684932470321655, -0.5399413108825684, -0.17133595049381256, -0.26464346051216125, -0.3391844928264618, -0.44125115871429443, -0.4359031021595001, 0.09300704300403595, 0.34405574202537537, -0.26748883724212646, 0.41563501954078674, -0.5790574550628662, 0.5886774063110352, 0.22787600755691528, -0.10842464119195938, 0.22270633280277252, -0.09091067314147949, 0.09471862018108368, -0.13101135194301605, -0.8215034604072571, -0.5612756609916687, 1.1105109453201294, 0.5910213589668274, 0.8613349795341492, 0.030264345929026604, 0.3384571671485901, 0.12840169668197632, 0.4457654058933258, -1.0653486251831055, 0.1632155030965805, -0.08660778403282166, -0.44718995690345764, -0.13097535073757172, -0.3731246590614319, -1.068021297454834, 0.40377408266067505, -0.11976811289787292, -0.6474421620368958, 0.43225306272506714, 0.16667960584163666, 0.01638534851372242, 0.5051522254943848, -0.8739827275276184, 0.7323035001754761, -0.10384999215602875, 0.19362270832061768, -0.2645268738269806, -0.5056895017623901, 0.14306515455245972, 0.05690877512097359, 0.33013206720352173, 0.3619287312030792, -0.010104577988386154, 0.7815150022506714, -0.09332631528377533, 0.8625988364219666, -0.2997693419456482, 0.0477910153567791, 0.018046462908387184, 0.23489561676979065, 0.2791755199432373, -0.20817875862121582, -0.09683673083782196, 0.1849088966846466, 0.2911268174648285, -0.49739307165145874, -1.2299072742462158, 0.19223186373710632, -0.8853761553764343, -0.23808372020721436, -0.2578079402446747, -0.8495217561721802, -0.0795247033238411, 0.0688445046544075, 0.545950710773468, 0.5761860609054565, -0.21305978298187256, 0.2046574354171753, 0.7157195210456848, -0.09761790186166763, 0.20189960300922394, 0.1273994743824005, -0.4603836238384247, -0.07191343605518341, 0.9541836977005005, 0.3182527422904968, 0.3124917149543762, 0.6078718304634094, 0.23437641561031342, -0.34575024247169495, -0.7207404375076294, -0.04438621550798416, 0.1836933046579361, -1.2229102849960327, 0.2250312715768814, -0.5055786967277527, -0.4376801550388336, -0.041589777916669846, 0.09754882007837296, -0.22252687811851501, -0.41715654730796814, -0.3606068193912506, -0.21548092365264893, -0.17283588647842407, 1.5328978300094604, -0.10807136446237564, 0.8497062921524048, -0.22841110825538635, 0.23791798949241638, 0.369425505399704, 0.5229611396789551, 0.1953476220369339, -0.7245711088180542, -0.5538514256477356, -0.07754837721586227, -0.16833391785621643, -0.847229540348053, 0.36360153555870056, 0.24230849742889404, 0.6179345846176147, 0.5947073101997375, -0.35966169834136963, 0.3171044886112213, -0.44242990016937256, 0.6789833903312683, 0.22653357684612274, -1.0696864128112793, 0.42746254801750183, -0.05698363855481148, 0.012964737601578236, 0.2085098773241043, 0.26704779267311096, -0.4078332185745239, -0.4254973232746124, -0.9142802357673645, -0.5908052921295166, 0.4539583623409271, 0.2304004579782486, 0.4116479754447937, 0.14841674268245697, 0.48370084166526794, 0.1298741102218628, 0.27898386120796204, -0.7522644996643066, -0.26316359639167786, -0.542580783367157, -0.3693197965621948, -0.4905068278312683, -0.5635333061218262, -0.06591808050870895, -0.254835844039917, 0.22488731145858765, -0.19716186821460724, 0.6764209866523743, -0.1634805053472519, -0.5657952427864075, 0.015532649122178555, 0.34451737999916077, 0.3458906412124634, 0.9916428327560425, -0.02676183544099331, 0.5167946219444275, -0.22135117650032043, -0.3802884817123413, 0.23666849732398987, -0.044128626585006714, -0.03949868679046631, 0.16337598860263824, 0.8397121429443359, 1.0522186756134033, 0.44579219818115234, -0.34823885560035706, 0.6332799792289734, -0.08491997420787811, -0.1082669124007225, -0.2294844537973404, 0.07215788960456848, 0.10699562728404999, 0.3791291117668152, 0.26448383927345276, 0.2538437247276306, 0.1809387505054474, -0.775387167930603, 0.08780216425657272, 0.2011762112379074, -0.7540715336799622, -0.6719196438789368, 0.742376446723938, -0.2872012257575989, -0.3488062024116516, 0.3835398852825165, -0.09294547885656357, -0.4410768449306488, 0.48490309715270996, 0.5800302028656006, 0.7777514457702637, -0.31222057342529297, 0.2986421287059784, 0.2566920518875122, 0.49900978803634644, -0.25729063153266907, 0.128840371966362, 0.007166068535298109, -0.9606100916862488, -0.4968664050102234, -0.5550405383110046, -0.22730077803134918, -0.01414803508669138, -1.0462095737457275, -0.21752530336380005, -0.3803829848766327, -0.015302831307053566, 0.28819409012794495, -0.39811965823173523, -0.897186815738678, 0.21779043972492218, 0.050695426762104034, 0.9883667230606079, -1.1176773309707642, 0.7073549032211304, 0.5178143978118896, -0.42244693636894226, -0.9996791481971741, -0.11636197566986084, -0.3782762289047241, -0.9141339063644409, 0.7502063512802124, 0.18001464009284973, 0.23211181163787842, -0.13799771666526794, -0.678761899471283, -0.6635692715644836, 0.8673629760742188, 0.9752690196037292, -0.388292521238327, -0.2155754417181015, 0.19188030064105988, 0.7256339192390442, -0.47381526231765747, 0.49935486912727356, 0.8744869232177734, 0.4785052239894867, 0.00004031520074931905, -0.6041553616523743, -0.08513069152832031, -0.23622703552246094, 0.2405162751674652, 0.09904289245605469, -0.10038682818412781, 0.8108243942260742, 0.06332116574048996, -0.3596086800098419, -0.18634529411792755, 0.6548970937728882, -0.35564684867858887, -0.062410127371549606, 0.5636059045791626, 0.4264659881591797, 0.8721153736114502, -0.193266361951828, 1.428922414779663, -0.22189559042453766, 0.44189339876174927, 0.9462628364562988, 0.32604092359542847, 0.798068642616272, 0.577755331993103, -0.21644297242164612, 0.5648679733276367, 0.1814640760421753, 0.2163258045911789, 0.5444799065589905, 0.4065397381782532, 0.01825677417218685, -0.25465407967567444, 0.032421182841062546, -0.03804408758878708, 0.4661006033420563, 0.44202712178230286, -0.8196830749511719, -0.22942805290222168, 0.3546675741672516, -0.3076895773410797, 0.289113849401474, -0.2683055102825165, 0.7251580357551575, 0.2884563207626343, -0.355520635843277, 0.5758012533187866, -0.28960779309272766, 0.31891247630119324, -0.6323138475418091, -0.14556288719177246, 0.07937441021203995, 0.1846865713596344, -0.17324082553386688, -0.9928117990493774, 0.6020020246505737, -0.5466853976249695, -0.5335243940353394, -0.37691983580589294, 0.5788294076919556, -0.43190377950668335, -0.5060573816299438, 0.5472416281700134, 0.3449338972568512, 0.17080281674861908, -0.2871982753276825, -0.42640259861946106, 0.24652281403541565, -0.18880362808704376, -0.30999088287353516, 0.3023979365825653, 0.4531348943710327, 0.1921410858631134, 0.7861860394477844, 0.07598306983709335, 0.486538827419281, 0.11344366520643234, 0.06166369095444679, 0.7381095290184021, -0.6597853899002075, -0.46849966049194336, -0.8498613834381104, 0.41327887773513794, 0.12537327408790588, -0.001776594202965498, 0.3485853374004364, 0.2364511638879776, 0.6379444599151611, 0.005005116108804941, 0.93438321352005, -0.06653382629156113, 0.1419246941804886, -0.37493157386779785, 0.8756643533706665, -0.35048070549964905, 0.161207914352417, 0.14588424563407898, -0.956386387348175, -0.23732690513134003, 0.8800301551818848, -0.4224880635738373, -0.18359462916851044, 0.6586195826530457, 0.6521507501602173, -0.2960798740386963, 0.17471584677696228, 0.6527421474456787, 0.5179154872894287, 0.3050421178340912, 0.4761565923690796, 1.193718671798706, -0.5308542251586914, 0.6173760294914246, -0.09101056307554245, -0.026925625279545784, 0.07664461433887482, -0.55061274766922, -0.8330532312393188, -0.8987141251564026, -0.037743840366601944, -0.46580296754837036, -0.37589481472969055, 0.4445827901363373, 0.9843007922172546, -0.7660698294639587, -0.3089715242385864, -0.026770958676934242, 0.22270344197750092, -0.4676031172275543, -0.1992897093296051, 0.3128054440021515, -0.47598201036453247, -0.5362261533737183, 0.32656919956207275, 0.30200472474098206, -0.1180066391825676, -0.5461757779121399, -0.1317061483860016, 0.4154554605484009, 0.1269090324640274, 0.8549964427947998, 0.12903402745723724, -0.6253679394721985, -0.3907804489135742, -0.35932403802871704, 0.05549490451812744, 0.29179733991622925, 0.9918164014816284, -0.5593447089195251, 0.8598163723945618, 0.40049850940704346, 0.6821363568305969, 0.6965138912200928, -0.47914958000183105, 0.8783740997314453, -0.6505611538887024, 0.326127827167511, 0.21525011956691742, 0.5757717490196228, 0.34762704372406006, -0.3623009920120239, 0.5314990878105164, 0.015020346269011497, -0.2825198471546173, -0.7668863534927368, 0.44671475887298584, -0.8202025294303894, -0.19117622077465057, 0.9497404098510742, -0.31698742508888245, -0.31868118047714233, -0.1503470540046692, 0.05091458559036255, 0.21208354830741882, -0.027430454269051552, 0.44576603174209595, 0.9136130809783936, 0.19037306308746338, -0.3783137798309326, -0.8280342221260071, 0.4232761859893799, 0.22595001757144928, -0.43764087557792664, 0.1015806645154953, 0.013845179229974747, 0.3758207857608795, 0.4618801474571228, 0.36235150694847107, -0.012894146144390106, 0.032437730580568314, 0.08519185334444046, -0.15599870681762695, 0.11212742328643799, -0.30829212069511414, -0.7407266497612, 0.3978448808193207, 0.35362109541893005, 0.009048241190612316 ]
http://arxiv.org/abs/2406.06581v2
http://arxiv.org/pdf/2406.06581v2
Set-Based Prompting: Provably Solving the Language Model Order Dependency Problem
2024-06-04T16:09:13
2024-06-12T13:59:13
Reid McIlroy-Young, Katrina Brown, Conlan Olson, Linjun Zhang, Cynthia Dwork
cs.CL
cs.CL, cs.AI, cs.LG
The development of generative language models that can create long and coherent textual outputs via autoregression has lead to a proliferation of uses and a corresponding sweep of analyses as researches work to determine the limitations of this new paradigm. Unlike humans, these 'Large Language Models' (LLMs) are highly sensitive to small changes in their inputs, leading to unwanted inconsistency in their behavior. One problematic inconsistency when LLMs are used to answer multiple-choice questions or analyze multiple inputs is order dependency: the output of an LLM can (and often does) change significantly when sub-sequences are swapped, despite both orderings being semantically identical. In this paper we present Set-Based Prompting, a technique that guarantees the output of an LLM will not have order dependence on a specified set of sub-sequences. We show that this method provably eliminates order dependency, and that it can be applied to any transformer-based LLM to enable text generation that is unaffected by re-orderings. Delving into the implications of our method, we show that, despite our inputs being out of distribution, the impact on expected accuracy is small, where the expectation is over the order of uniformly chosen shuffling of the candidate responses, and usually significantly less in practice. Thus, Set-Based Prompting can be used as a 'dropped-in' method on fully trained models. Finally, we discuss how our method's success suggests that other strong guarantees can be obtained on LLM performance via modifying the input representations.
[ -0.28246569633483887, -0.7278585433959961, 0.4865756630897522, 0.4140738546848297, 0.0003773817152250558, -0.19785921275615692, -0.2028813660144806, -0.3681234121322632, 0.042133405804634094, 0.5476416349411011, -0.6702132225036621, -0.10954643040895462, -0.7184237241744995, 0.32589781284332275, -0.526905357837677, 0.6598926782608032, 0.023200785741209984, 0.04871060326695442, -0.2648547887802124, -0.15053914487361908, -0.7169815897941589, -0.35057634115219116, -0.5134199857711792, -0.6176846623420715, 0.6649032235145569, 0.4619525372982025, 0.8868829607963562, 0.8095932006835938, 0.4487913250923157, 0.2569870948791504, -0.2692568600177765, 0.20843401551246643, -0.40387752652168274, 0.6281254291534424, -0.08974450081586838, -0.4797365963459015, -0.05198513716459274, 0.1142774298787117, 0.7014707326889038, 0.705576479434967, -0.15826457738876343, -0.04148922860622406, 0.14360438287258148, 0.4767075479030609, -0.7358523011207581, 0.026673374697566032, -0.5956127047538757, 0.08394166827201843, 0.013178708031773567, -0.28954851627349854, -0.9362562894821167, -0.08861082047224045, 0.0706687793135643, -0.3069247901439667, 0.3122885227203369, -0.041696980595588684, 0.7490332126617432, 0.4841196835041046, -0.08289515972137451, -0.24439918994903564, -0.8930534720420837, 0.699751615524292, -0.7257000207901001, 0.47761180996894836, 0.6149248480796814, -0.03596845641732216, -0.4026603698730469, -0.560674250125885, -0.5109909176826477, -0.29965731501579285, -0.004402818623930216, 0.3103190064430237, 0.28916749358177185, 0.013710767962038517, 0.6070642471313477, 0.3585507869720459, -0.3930504620075226, 0.39409348368644714, -0.0563860647380352, 0.22919315099716187, 0.22315388917922974, 0.1835297793149948, 0.33965057134628296, -0.16129851341247559, 0.09849414229393005, -0.1283598691225052, -1.1226633787155151, 0.10221555829048157, 0.24838921427726746, 0.5376700162887573, 0.10749764740467072, 0.7540996074676514, -0.14938601851463318, 0.8419711589813232, 0.578917384147644, 0.2049589902162552, -0.05764973536133766, -0.050308603793382645, -0.2658780515193939, -0.2274257093667984, 0.8599815368652344, 0.09245795756578445, 0.3537399470806122, 0.31587740778923035, -0.43611255288124084, -0.1814984530210495, 0.09279593825340271, -0.5446050763130188, -0.28237348794937134, 0.3898542821407318, -0.3853413164615631, -0.34839922189712524, -0.08601651340723038, -0.5384542942047119, -0.4383934438228607, -0.26460546255111694, 0.4189686179161072, -0.30260327458381653, -0.07135485112667084, -0.14879609644412994, 0.1612856537103653, 0.05849900469183922, 0.29914599657058716, -1.3390568494796753, 0.00102652283385396, 0.46474629640579224, 0.6185221076011658, -0.029520124197006226, -0.44817495346069336, -0.8852061629295349, 0.12487050145864487, -0.5423633456230164, 0.7434318661689758, -0.7203303575515747, -0.6741563081741333, 0.23726528882980347, -0.07831695675849915, 0.06002957001328468, -0.8333714008331299, 0.0826520025730133, -0.5225821733474731, 0.5512140393257141, -0.46024271845817566, -0.6801337003707886, 0.5081088542938232, 0.13543392717838287, -0.7056806683540344, 1.1602011919021606, -0.11802130192518234, -0.5729311108589172, 0.41768738627433777, -0.2664647102355957, -0.5802177786827087, 0.04978721961379051, -0.3774982690811157, -0.24296234548091888, 0.16881947219371796, 0.3627203404903412, 0.30634069442749023, -0.11394146829843521, 0.36063772439956665, -0.17956790328025818, -0.37778547406196594, 0.15602460503578186, -0.5901225209236145, 0.9107720851898193, -0.23536890745162964, -0.2283119410276413, 0.19416171312332153, -0.7064725756645203, 0.0466507226228714, 0.06865194439888, -0.5145208835601807, -0.1994030922651291, 0.18238069117069244, -0.43792203068733215, 0.3382109999656677, 0.2237095683813095, -0.30309024453163147, 0.26914268732070923, -0.5367102026939392, 0.24835693836212158, 1.0138466358184814, -0.03352849557995796, 0.5038244724273682, -0.33232271671295166, 0.4532267451286316, 0.09367185831069946, 0.20098118484020233, -0.45595619082450867, -0.5930522680282593, -0.8902053833007812, 0.030688263475894928, 0.2507423758506775, 0.6689865589141846, -0.8755783438682556, 0.44321557879447937, 0.01849960722029209, -0.04571531340479851, -0.3222421407699585, -0.10766836255788803, 0.3771323561668396, 0.5181087851524353, 0.26378899812698364, 0.015312985517084599, -0.455837607383728, -0.6711797714233398, -0.14072048664093018, -0.45194193720817566, 0.07169980555772781, -0.02396811917424202, 0.20252268016338348, 0.20076705515384674, 1.027770757675171, -0.5295953154563904, 0.2812340557575226, -0.2590568959712982, 0.19286060333251953, 0.2907713055610657, 0.45865699648857117, 0.03327621892094612, -0.59708571434021, -0.4758158326148987, -0.2488669902086258, -0.740180253982544, -0.39294907450675964, -0.12305422872304916, 0.026399891823530197, 0.21731612086296082, 0.5999935269355774, -0.6342259645462036, 0.5338645577430725, 0.47487306594848633, -0.0030676403548568487, 0.7831563353538513, -0.40979889035224915, -0.08783623576164246, -1.1048543453216553, -0.19302533566951752, -0.2490069717168808, -0.07996769994497299, -0.6978760957717896, -0.2467925101518631, 0.1581534892320633, -0.006313602905720472, -0.33753782510757446, 0.7084078192710876, -0.31191378831863403, 0.034554630517959595, -0.29176297783851624, -0.2486891895532608, 0.06262204796075821, 0.3262404501438141, 0.1541627049446106, 0.864478349685669, 0.3447709381580353, -0.7873218655586243, 0.17645147442817688, 0.6700353622436523, -0.1645752489566803, 0.6127191185951233, -0.7020658254623413, 0.10378657281398773, -0.1540287733078003, 0.18088750541210175, -0.835773766040802, -0.2325153350830078, 0.48787838220596313, -0.31562134623527527, 0.24433434009552002, -0.2525768280029297, -0.5726675987243652, -0.36697107553482056, 0.023746909573674202, 0.17169243097305298, 0.5592024922370911, -0.8324177265167236, 0.36174681782722473, -0.1586945652961731, -0.1002943143248558, -0.9646440744400024, -0.5719143152236938, 0.04511075094342232, 0.17918606102466583, -0.3624300956726074, 0.20502471923828125, -0.48417189717292786, -0.4236481785774231, -0.3058992624282837, -0.13007687032222748, -0.1036837175488472, -0.19797080755233765, 0.18410860002040863, 0.4413905143737793, -0.09940163791179657, 0.3076515197753906, 0.06312109529972076, -0.20103852450847626, -0.00407192949205637, -0.36815178394317627, 0.5212491154670715, 0.35801512002944946, -0.6288110613822937, -0.17527015507221222, 0.4954444468021393, 0.5664806365966797, -0.2005457729101181, 0.7978007793426514, 0.011532661505043507, -0.30517783761024475, -0.5189332962036133, -0.5257327556610107, -0.2833452820777893, -0.560833215713501, 0.17270074784755707, -0.3961142897605896, -0.7534549832344055, 0.6238306760787964, 0.3197469115257263, 0.4596122205257416, 0.21484188735485077, 0.6282510757446289, -0.2579331696033478, 1.0180411338806152, 0.4611898362636566, 0.07038647681474686, 0.9458143711090088, 0.15187042951583862, 0.272758424282074, -0.4935261905193329, 0.04247738793492317, -0.4771389365196228, -0.04675287753343582, -0.47014668583869934, -0.00673394650220871, 0.0882161557674408, 0.005046040751039982, -0.16074064373970032, 0.09981995075941086, -0.5126821994781494, 0.7868920564651489, 0.6398317217826843, 0.03367334604263306, 0.38724759221076965, -0.11009249836206436, -0.07776802033185959, 0.05678878724575043, -0.759043276309967, -0.24321241676807404, 0.8048067092895508, -0.12279143929481506, 0.76481693983078, -0.13205742835998535, 0.8510208129882812, 0.31391796469688416, 0.28721195459365845, -0.8121771216392517, 0.6779622435569763, -0.27456289529800415, -0.30635619163513184, -0.40923410654067993, -0.39848002791404724, -1.0823853015899658, 0.2094460278749466, 0.000246823561610654, -0.5632533431053162, 0.35846301913261414, 0.42862245440483093, -0.3057294189929962, 0.13804082572460175, -0.5939438343048096, 0.39422643184661865, 0.029553497210144997, -0.21733371913433075, 0.2345028817653656, -0.630365788936615, 0.20583310723304749, 0.2050207406282425, -0.1608257293701172, -0.057064250111579895, 0.2853599488735199, 0.5589410066604614, -0.7247560024261475, 0.9385563135147095, 0.01943862810730934, -0.5087016224861145, 0.2714936435222626, 0.28140953183174133, 0.8342631459236145, -0.06256432086229324, -0.03359843045473099, -0.19514337182044983, -0.24005569517612457, -0.28597208857536316, -0.7870775461196899, 0.5948383808135986, -0.5684639811515808, -0.8528676629066467, -0.17428161203861237, -0.712542712688446, -0.33659854531288147, 0.2942062020301819, 0.7759448885917664, 0.8256173729896545, -0.00016929027333389968, -0.30181676149368286, 1.0275652408599854, -0.08451027423143387, 0.7711047530174255, 0.29070162773132324, -0.44015446305274963, -0.4721561074256897, 0.821980893611908, 0.3771773874759674, 0.6654278039932251, 0.36995235085487366, 0.21128219366073608, -0.300525426864624, -0.48939961194992065, -0.6274421811103821, 0.20456409454345703, -1.0950859785079956, -0.0436384417116642, -0.47347721457481384, -0.32693248987197876, -0.430954247713089, -0.26381808519363403, -0.25614842772483826, -0.45958155393600464, -0.34537285566329956, -0.07382847368717194, 0.29281964898109436, 1.0683414936065674, 0.07964276522397995, 0.3483352065086365, -0.7940301895141602, 0.32237672805786133, 0.5145665407180786, 0.5050572156906128, 0.0002790129801724106, -0.6236533522605896, -0.10074733942747116, -0.15948385000228882, -0.15536761283874512, -0.9222415685653687, 0.3245457112789154, -0.14152036607265472, 0.38005638122558594, 0.37570279836654663, -0.013436584733426571, 0.5552164316177368, -0.6460964679718018, 0.742289125919342, 0.07467726618051529, -0.8968169689178467, 0.5621641874313354, -0.647057294845581, 0.6308873891830444, 0.39023518562316895, -0.1874634176492691, -0.7869504690170288, -0.7481130361557007, -0.8356613516807556, -0.7148296236991882, 0.8118649125099182, 0.1999705284833908, 0.08694719523191452, -0.30439138412475586, 0.4047965407371521, 0.08892158418893814, 0.1611013114452362, -0.6715160608291626, -0.2681809067726135, -0.14953452348709106, -0.2922891676425934, 0.2184670865535736, -0.28078848123550415, 0.09217064827680588, 0.1474124938249588, 0.7709112167358398, -0.03345602750778198, 0.14165127277374268, 0.00432664155960083, -0.17245721817016602, -0.15080568194389343, 0.29942402243614197, 0.6666596531867981, 0.764180064201355, 0.13294364511966705, 0.195996955037117, 0.06535656750202179, -0.35222098231315613, 0.3880467414855957, -0.20096567273139954, -0.6352454423904419, 0.16055837273597717, 0.2776145040988922, 0.506337583065033, 0.029409781098365784, -0.5247676372528076, 0.2907513976097107, 0.19643309712409973, 0.005093269050121307, -0.157182514667511, 0.01893160678446293, 0.01548873819410801, -0.0954904705286026, 0.23124317824840546, 0.11933895200490952, -0.22182083129882812, -0.08602991700172424, 0.2561313211917877, 0.23418952524662018, -0.45916828513145447, -0.13459767401218414, 0.3131903111934662, 0.1079738512635231, -0.7325087189674377, 0.8677769303321838, -0.01495619211345911, -0.30210191011428833, 0.8183688521385193, 0.813679039478302, 0.861785352230072, -0.6418518424034119, 0.21265213191509247, 0.17296819388866425, 0.29443803429603577, -0.7535629272460938, 0.4441329538822174, 0.2509288191795349, -0.9884002208709717, -0.6669983863830566, -0.1950100064277649, -0.6177995800971985, 0.29228320717811584, -0.7017514109611511, 0.267997145652771, -0.7886603474617004, -0.03836711496114731, -0.2738381028175354, -0.6463416218757629, -0.22235330939292908, 0.1625542938709259, 0.015938106924295425, 0.6822731494903564, -0.8575348258018494, 0.5142459273338318, 0.4793532192707062, -0.4193370044231415, -0.7928324341773987, 0.2452635020017624, -0.0886094942688942, -0.7923381328582764, 0.5499442219734192, 0.18955297768115997, -0.19672372937202454, 0.0510227270424366, -0.7364738583564758, -0.9093340635299683, 0.4332956373691559, 0.2417619228363037, -0.4582049250602722, 0.14137904345989227, 0.10558600723743439, 0.41343754529953003, -0.169462651014328, 0.2532061040401459, 0.30906420946121216, 0.43877196311950684, 0.20831800997257233, -0.7821545600891113, 0.07091208547353745, -0.34781306982040405, 0.060852766036987305, 0.5690670013427734, -0.5002782344818115, 0.7434002161026001, -0.1631775200366974, -0.1001746729016304, 0.11301987618207932, 0.7359718680381775, 0.4750194549560547, -0.026773614808917046, 0.44711634516716003, 0.3102308213710785, 0.8486927151679993, 0.03902646526694298, 0.7900744080543518, -0.08847706764936447, 0.266838937997818, 1.458173155784607, -0.5871908664703369, 0.9160073399543762, 0.56828773021698, -0.1538264900445938, 0.3414989709854126, 0.6847583651542664, -0.03358185663819313, 0.3302370309829712, 0.13246452808380127, -0.4071236252784729, -0.30422210693359375, -0.17061668634414673, -0.1594756841659546, 0.046064313501119614, 0.30086764693260193, -0.4609904885292053, -0.08253613114356995, 0.030481919646263123, -0.14758798480033875, -0.06998468190431595, -0.16691666841506958, 0.6581345796585083, 0.1378137767314911, -1.0678000450134277, 0.6533466577529907, -0.3836587071418762, 0.5132627487182617, -0.5182178616523743, -0.1504928022623062, -0.3524344265460968, -0.027727682143449783, -0.14513379335403442, -0.7521485090255737, 0.17429021000862122, -0.18467852473258972, -0.7847666144371033, -0.5666916370391846, 0.5416462421417236, -0.4715709090232849, -0.4656369388103485, 0.17284736037254333, 0.8036156892776489, -0.15720084309577942, 0.321952223777771, -0.4373129904270172, -0.18886138498783112, -0.04953068122267723, -0.374920129776001, 0.32784974575042725, 0.29670384526252747, -0.20797070860862732, 0.7067740559577942, 0.5894434452056885, -0.08675111830234528, 0.10037778317928314, 0.4805672764778137, 0.48844510316848755, -0.4564255475997925, -0.536689043045044, -1.0013729333877563, 0.32724398374557495, 0.04282979667186737, -0.2632173001766205, 0.40687230229377747, 0.11245327442884445, 0.6678603291511536, -0.08780518174171448, 0.9370951056480408, -0.14976339042186737, 0.2888559401035309, -0.5631232857704163, 0.43896251916885376, -0.2274264395236969, 0.4711803197860718, -0.03838063031435013, -0.8347530961036682, -0.39286428689956665, 0.349143922328949, -0.41300109028816223, 0.16361604630947113, 0.8278167247772217, 0.8768362402915955, 0.06518926471471786, 0.22208532691001892, 0.47823888063430786, 0.09783054143190384, 0.27588993310928345, 0.22486214339733124, 1.2364493608474731, -0.0753941461443901, 0.5966914892196655, -0.03133976459503174, -0.08091763406991959, 0.004197452217340469, -0.7457039952278137, -0.8336642980575562, -0.5112044811248779, -0.20626361668109894, -0.7414814829826355, 0.10498932749032974, 1.0144325494766235, 0.4149501621723175, -0.7737834453582764, -0.2283381223678589, -0.21711081266403198, 0.36896654963493347, -0.3960384130477905, -0.20161914825439453, 0.2908784747123718, -0.472641259431839, -0.7753933668136597, 0.5657441020011902, 0.3159947991371155, 0.2981155216693878, -0.12667976319789886, 0.030223391950130463, -0.19318069517612457, 0.23147694766521454, 0.3782288730144501, 0.38912737369537354, -0.8683065176010132, -0.4924665689468384, 0.23339873552322388, -0.17641496658325195, 0.493346244096756, 0.8594743013381958, -0.7605783939361572, 0.29959630966186523, 0.7732322812080383, 0.4578583538532257, 0.04391276463866234, -0.16909901797771454, 0.8694469332695007, -0.9522085189819336, -0.11163409054279327, 0.054942723363637924, 0.4235924184322357, 0.3239145576953888, -0.6172050833702087, 0.35331326723098755, 0.1997499167919159, -0.5401747226715088, -0.6676968336105347, 0.7497907876968384, -0.6099761128425598, -0.15419889986515045, 1.1689649820327759, -0.16445289552211761, -0.00994095392525196, -0.25123584270477295, -0.08345333486795425, 0.2150200605392456, -0.43233126401901245, 0.7976805567741394, 0.8611554503440857, -0.14115405082702637, -0.3524762988090515, -0.2661416232585907, 0.33383285999298096, 0.9494002461433411, -0.7530217170715332, 0.48742079734802246, 0.6334238052368164, 0.13569405674934387, 0.1947994977235794, 0.7179837822914124, 0.1458481401205063, 0.2766832113265991, -0.2753717005252838, -0.03839902579784393, 0.016084536910057068, -0.4402432441711426, -0.6050580739974976, 0.19619028270244598, 0.06418506056070328, -0.08285406231880188 ]
http://arxiv.org/abs/2406.02396v1
http://arxiv.org/pdf/2406.02396v1
The Scandinavian Embedding Benchmarks: Comprehensive Assessment of Multilingual and Monolingual Text Embedding
2024-06-04T15:11:27
2024-06-04T15:11:27
Kenneth Enevoldsen, Márton Kardos, Niklas Muennighoff, Kristoffer Laigaard Nielbo
cs.CL
cs.CL, cs.AI
The evaluation of English text embeddings has transitioned from evaluating a handful of datasets to broad coverage across many tasks through benchmarks such as MTEB. However, this is not the case for multilingual text embeddings due to a lack of available benchmarks. To address this problem, we introduce the Scandinavian Embedding Benchmark (SEB). SEB is a comprehensive framework that enables text embedding evaluation for Scandinavian languages across 24 tasks, 10 subtasks, and 4 task categories. Building on SEB, we evaluate more than 26 models, uncovering significant performance disparities between public and commercial solutions not previously captured by MTEB. We open-source SEB and integrate it with MTEB, thus bridging the text embedding evaluation gap for Scandinavian languages.
[ -0.6106382608413696, -0.555620014667511, 0.43978846073150635, 0.7155181169509888, -0.38795825839042664, 0.19900789856910706, -0.21077686548233032, -0.39450931549072266, 0.32896900177001953, 0.3008500635623932, -0.22895509004592896, -0.8501937389373779, -0.554593563079834, 0.24365153908729553, -0.010035286657512188, 0.4738512635231018, -0.34283196926116943, 0.3208029270172119, -0.7377418279647827, -0.5507116913795471, -0.7065622210502625, -0.4951268434524536, -0.0639190599322319, 0.017012037336826324, 0.28130701184272766, 0.24327822029590607, 0.3828582763671875, 0.44046658277511597, 0.6112125515937805, 0.21623022854328156, -0.16260509192943573, 0.004536331165581942, -0.46343907713890076, 0.19094720482826233, -0.4472486078739166, -0.1394467055797577, -0.2688835561275482, -0.281570702791214, 0.7992976903915405, 0.6310253143310547, -0.08389673382043839, 0.4282659888267517, 0.24044758081436157, 0.5900697708129883, -0.7916778326034546, 0.006399651523679495, -0.1275695562362671, 0.017000291496515274, -0.36743301153182983, 0.15458069741725922, -0.40255245566368103, -0.4592719078063965, 0.008605335839092731, -0.14288175106048584, -0.0010155277559533715, 0.05381760373711586, 0.4362207353115082, 0.1708485335111618, -0.6886629462242126, -0.20604442059993744, -0.2050165832042694, 0.921714186668396, -0.4394705891609192, 0.8918657302856445, 0.14815129339694977, 0.1420111358165741, 0.12328958511352539, -0.331657737493515, 0.04907739534974098, 0.1122673824429512, 0.10832467675209045, 0.04637809097766876, 0.0043409732170403, -0.1259743571281433, -0.018974296748638153, 0.28264734148979187, -0.6712278723716736, -0.12900330126285553, -0.2722693383693695, -0.052566591650247574, 0.5372726917266846, 0.14385510981082916, 0.21026146411895752, -0.44384774565696716, -0.5624426603317261, -0.20684446394443512, -0.6325685381889343, -0.1161971166729927, 0.4780990183353424, 0.27711978554725647, -0.3320184350013733, 0.48648586869239807, 0.2851376235485077, 0.22548186779022217, -0.49537861347198486, 0.31959763169288635, 0.71587735414505, -0.45955657958984375, -0.15800747275352478, 0.12658695876598358, 0.4697476923465729, 0.37969762086868286, -0.21034835278987885, -0.20689977705478668, -0.3196917176246643, 0.2552219033241272, 0.3092935383319855, -0.5961119532585144, 0.0350298248231411, 0.21092994511127472, -0.5858430862426758, 0.07594537734985352, -0.08425262570381165, -0.7556791305541992, -0.4248627722263336, -0.0493692122399807, 0.3363291919231415, -0.19665277004241943, -0.5650210380554199, 0.08590211719274521, -0.4776301383972168, 0.2253895103931427, 0.08872679620981216, -0.4099838137626648, 0.369607150554657, 0.8048862814903259, 0.8352072238922119, -0.4112647771835327, -0.33199527859687805, -0.06937464326620102, -0.0023449778091162443, -0.5715939402580261, 0.9778979420661926, -0.5583988428115845, -0.6345803737640381, 0.1666254699230194, 0.07932846993207932, -0.01833704300224781, -0.5262267589569092, 0.6150931119918823, -0.09654992073774338, -0.01653425768017769, -0.45913732051849365, -0.6901422739028931, -0.10462728142738342, 0.36137065291404724, -0.9024451375007629, 1.5138591527938843, 0.06369005143642426, -0.8283271789550781, 0.46974244713783264, -0.7136387825012207, -0.34933310747146606, 0.23663781583309174, -0.26928141713142395, -0.030193548649549484, 0.36589986085891724, 0.23320870101451874, 0.5316826105117798, -0.5485466122627258, 0.41101428866386414, -0.6042184233665466, -0.29979199171066284, -0.24320220947265625, -0.16750666499137878, 0.6671252250671387, 0.128045916557312, -0.1459200233221054, -0.022065985947847366, -0.5203835964202881, 0.2359214574098587, 0.005219792015850544, -0.36540383100509644, -0.856468141078949, -0.16409438848495483, 0.4573919177055359, 0.11796113103628159, 0.5628500580787659, -0.7837366461753845, -0.11561792343854904, -0.2569689154624939, 0.034854378551244736, 0.8808313608169556, -0.12781105935573578, 0.2541551887989044, -0.25402817130088806, 0.6354586482048035, 0.0397864505648613, -0.011430670507252216, -0.1310465782880783, -0.3943468928337097, -0.3974723517894745, -0.4657957851886749, 0.6724323034286499, 0.4409576654434204, -0.7298727631568909, 0.25544464588165283, -0.39559030532836914, -0.6372901797294617, -0.9945542216300964, 0.2559552490711212, 0.6328670978546143, -0.3367983102798462, 0.27710551023483276, -0.3207142651081085, -0.6077165603637695, -1.1147526502609253, -0.6114263534545898, 0.11296357214450836, 0.11148889362812042, 0.34400317072868347, 0.7362639904022217, -0.17679177224636078, 0.4257287085056305, -0.12149375677108765, -0.18023249506950378, -0.32838404178619385, 0.179738387465477, 0.43342727422714233, 0.5788550972938538, 0.5447669625282288, -0.7546699047088623, -0.8842927813529968, 0.07742343842983246, -0.6595500707626343, 0.051214639097452164, 0.1095639243721962, -0.0582314170897007, 0.2974085807800293, 0.5998729467391968, -0.03603264316916466, 0.19992759823799133, 1.1364260911941528, -0.7015553712844849, 0.5274109244346619, -0.2348002940416336, 0.3155953884124756, -1.1736427545547485, 0.15730321407318115, -0.23709487915039062, -0.5016717314720154, -0.14724184572696686, 0.19790178537368774, 0.5063655376434326, -0.03372346982359886, -0.5922399759292603, 0.8640352487564087, -0.5687406659126282, -0.3056759536266327, 0.2699384093284607, 0.17677311599254608, 0.00469251861795783, 0.26824989914894104, -0.32709142565727234, 0.7279298901557922, 0.4857724905014038, -0.3472451865673065, 0.042302206158638, 0.2577933669090271, -0.777082622051239, 0.8939622044563293, -0.7098960876464844, 0.05206139013171196, -0.045906078070402145, -0.10953520983457565, -1.0391165018081665, 0.29029327630996704, -0.3675900995731354, -0.19196438789367676, 0.15542471408843994, -0.11081815510988235, -0.6947318911552429, -0.31778985261917114, -0.5966168642044067, 0.43300697207450867, 0.3026290237903595, -0.5984876155853271, 0.693909227848053, 0.7190895080566406, -0.48331451416015625, -0.6006086468696594, -0.7132306098937988, 0.11118026822805405, 0.14412805438041687, -0.7087157964706421, 0.4275447726249695, -0.05484592914581299, -0.036939915269613266, 0.4590284824371338, -0.45517978072166443, -0.07438375800848007, 0.18903768062591553, 0.17571234703063965, 0.07298887521028519, -0.3446294665336609, 0.1807965338230133, 0.4058777093887329, -0.12160274386405945, -0.11589470505714417, 0.0660712793469429, 0.46508049964904785, -0.26172342896461487, -0.6685109734535217, -0.00603226013481617, 0.6542121171951294, 0.4819740056991577, -0.4066498875617981, 0.6624605059623718, 0.41131529211997986, -0.4210277795791626, -0.25959452986717224, -0.6618613600730896, 0.22243987023830414, -0.42078492045402527, 0.46730124950408936, -0.7854636907577515, -0.8649924993515015, 0.4025942087173462, -0.30695873498916626, 0.3980717957019806, 0.4291277527809143, 0.39464661478996277, -0.0480516254901886, 1.0530476570129395, 0.7826268076896667, 0.2528439462184906, 0.260028213262558, -0.04706033691763878, -0.16263245046138763, -0.8070005774497986, -0.3032054603099823, -0.7059634327888489, -0.4148217737674713, -0.7356275916099548, -0.7040306329727173, 0.17133331298828125, 0.07111386209726334, -0.05669784918427467, 0.5497254133224487, -0.28268927335739136, 0.6362783312797546, 0.45450952649116516, -0.07874558866024017, -0.009359725750982761, -0.16031989455223083, -0.8783172369003296, -0.22138431668281555, -0.6795670986175537, -0.6256983280181885, 1.1890019178390503, 0.5369288325309753, 0.7380836606025696, 0.23560959100723267, 0.9465129971504211, 0.5015007853507996, 0.37650614976882935, -0.36925309896469116, 0.3247946500778198, -0.5961138606071472, -0.9962648749351501, -0.17650078237056732, -0.38511669635772705, -0.7263444066047668, 0.6961531639099121, -0.17837734520435333, -0.5948780179023743, 0.2864813804626465, -0.13190391659736633, 0.20388786494731903, 0.18624038994312286, -0.838085949420929, 1.3007892370224, -0.07685908675193787, -0.3699663579463959, -0.3798133432865143, -0.12771137058734894, -0.2881658673286438, 0.026203623041510582, 0.5398941040039062, -0.3329205811023712, -0.18809516727924347, 1.0042890310287476, 0.22756868600845337, 0.7224060893058777, -0.5098973512649536, -0.06954602152109146, -0.11951407790184021, 0.1474979817867279, 0.3819686770439148, -0.03250253573060036, -0.14534200727939606, 0.48323962092399597, 0.4662186801433563, -0.5920281410217285, -0.12229766696691513, 0.8549243211746216, -0.44326817989349365, -0.21016524732112885, -0.43993860483169556, -0.06966682523488998, -0.4291110634803772, 0.4011599123477936, -0.09270112961530685, 0.41630104184150696, -0.9282176494598389, 0.7813279032707214, 0.5918675065040588, -0.4252011477947235, 0.3248293697834015, 0.4368259906768799, -0.36664512753486633, -0.7761209607124329, 0.6470178961753845, -0.10172966122627258, -0.09731650352478027, 0.35155412554740906, -0.045824404805898666, -0.78080815076828, -0.2803659737110138, -0.4268054664134979, 0.336532860994339, -0.935335099697113, -0.1325976848602295, -0.6952206492424011, 0.32595258951187134, -0.46756020188331604, -0.3980642557144165, -0.8319495320320129, -0.19175101816654205, 0.14557893574237823, -0.19872218370437622, -0.23548060655593872, 1.0081782341003418, -0.04594618082046509, -0.14240685105323792, -0.822002649307251, 0.30810290575027466, -0.1805158257484436, 0.810469925403595, -0.17206202447414398, -0.08264408260583878, -0.4258347451686859, -0.18476206064224243, -0.2590712010860443, -0.8018225431442261, -0.01779397949576378, -0.07297827303409576, 0.9314601421356201, 0.08158368617296219, -0.022711746394634247, 0.6194869875907898, -0.7213196158409119, 0.8274995684623718, 0.30546239018440247, -1.3032557964324951, 0.15906023979187012, -0.01122399140149355, 0.6062029004096985, 0.6951127648353577, 0.5159241557121277, -0.7330026030540466, -0.3961905539035797, -0.4772421419620514, -1.0284364223480225, 0.4614505469799042, 0.0032462787348777056, 0.19893881678581238, -0.05511130020022392, -0.4226389527320862, 0.38725703954696655, 0.2990463972091675, -0.5172089338302612, -0.1507706195116043, -0.033355362713336945, -0.29327383637428284, -0.4652946889400482, -0.42762309312820435, -0.020043037831783295, -0.040428340435028076, 0.5346934199333191, 0.03244892507791519, 0.3343493938446045, 0.16288837790489197, -0.5189636945724487, 0.12316270172595978, 0.4838050305843353, 0.22418347001075745, 0.7169159650802612, -0.20008933544158936, 0.1552949845790863, 0.3914560377597809, -0.4106846749782562, 0.06236343830823898, 0.05643726885318756, 0.20361202955245972, 0.47591432929039, 0.4102734327316284, 0.818141520023346, 0.5838711857795715, -0.7183732986450195, 0.7218522429466248, -0.22592727839946747, -0.2721022069454193, -0.10012702643871307, -0.44401246309280396, 0.39249807596206665, 0.2469213455915451, 0.09625017642974854, -0.18348582088947296, 0.08915798366069794, -0.2632649540901184, 0.2060534507036209, 0.31761783361434937, -0.6295322775840759, -0.2215815782546997, 0.41075512766838074, 0.5731876492500305, -0.03663479536771774, 0.25077906250953674, -0.05323297157883644, -0.4927707314491272, 0.6036844253540039, 0.5602012872695923, 1.040297031402588, -0.40937885642051697, 0.4062056541442871, 0.41432470083236694, 0.7847321033477783, -0.051009152084589005, 1.0355052947998047, 0.03531964123249054, -0.3069498538970947, -0.42843204736709595, -0.8331931829452515, -0.44235533475875854, -0.3845396339893341, -0.804949164390564, 0.4480831027030945, -0.219730943441391, -0.18368229269981384, -0.03654985874891281, -0.05157128721475601, -1.115078330039978, -0.08989199250936508, 0.08085563778877258, 1.3438937664031982, -0.9137171506881714, 0.5414378046989441, 1.129696011543274, 0.1734819859266281, -0.10797923058271408, -0.4718073606491089, -0.0919344574213028, -0.48430442810058594, 0.4512333869934082, 0.5618943572044373, 0.02341279946267605, -0.21446986496448517, -0.022011270746588707, -0.775719940662384, 0.8648650646209717, 0.43638095259666443, -0.5510616898536682, 0.10592653602361679, 0.11080152541399002, 0.5384215712547302, -0.2933099865913391, 0.15703432261943817, 0.27448511123657227, 0.7357065677642822, -0.4856494665145874, -1.016583800315857, 0.14578062295913696, -0.4132351279258728, 0.17555677890777588, 0.6111092567443848, -0.24823226034641266, 0.5719918012619019, 0.19406983256340027, -0.5541410446166992, -0.07251893728971481, 0.2241920679807663, -0.15926192700862885, 0.322120726108551, 0.4387005567550659, 0.849168598651886, 0.6410361528396606, -0.1432441920042038, 1.1523958444595337, -0.3061423599720001, 0.47903233766555786, 1.128412127494812, -0.37115734815597534, 1.1143693923950195, 0.5574449300765991, -0.1887153536081314, 0.38121405243873596, 0.37411734461784363, -0.023066673427820206, 0.6424843072891235, 0.06875647604465485, 0.06893598288297653, -0.3135927617549896, -0.18454231321811676, -0.610787570476532, 0.28364673256874084, 0.3632213771343231, -0.1328296661376953, -0.5109990835189819, 0.17508020997047424, -0.16860024631023407, 0.026547644287347794, -0.05307752266526222, 0.8279594779014587, 0.10983508080244064, -0.4968348443508148, 0.6034196615219116, 0.015473357401788235, 0.76536625623703, -0.6667383313179016, -0.0562824122607708, -0.16407056152820587, 0.2325565218925476, 0.09515433013439178, -0.8749096393585205, 0.3816951811313629, 0.04676700383424759, 0.07255301624536514, -0.5201058387756348, 0.5418930649757385, -0.39372971653938293, -0.23926226794719696, 0.7808634042739868, 0.6223083138465881, 0.13347560167312622, 0.05444629117846489, -0.8142653107643127, 0.30781468749046326, -0.0045912303030490875, -0.2649509906768799, 0.13630275428295135, 0.47252392768859863, 0.1242843046784401, 0.3699573278427124, 0.642888069152832, -0.05718323960900307, -0.011863503605127335, -0.056798070669174194, 0.7676241993904114, -0.8570352792739868, -0.7793576121330261, -0.6831240653991699, 0.7195049524307251, -0.1932286024093628, -0.5358732342720032, 0.9442213177680969, 0.9490769505500793, 1.0506634712219238, -0.2479250580072403, 0.8129349946975708, -0.29063674807548523, 0.6372848153114319, -0.2706350088119507, 0.7872013449668884, -0.9687972664833069, -0.06209464371204376, -0.4263269603252411, -1.2346512079238892, -0.13839970529079437, 0.2459937036037445, -0.14692264795303345, -0.2291983813047409, 1.097551941871643, 0.45990413427352905, -0.22676220536231995, 0.060565102845430374, 0.7197596430778503, 0.16095265746116638, 0.09778903424739838, 0.27212485671043396, 0.7025848031044006, -0.32322508096694946, 0.34539082646369934, -0.14667321741580963, -0.316476047039032, -0.22305387258529663, -1.2014497518539429, -1.1817127466201782, -0.7272924184799194, -0.12890315055847168, 0.0005741440691053867, 0.22458919882774353, 0.9667940735816956, 0.5244203805923462, -1.03444504737854, -0.3614492416381836, 0.26781967282295227, 0.2061871439218521, -0.35751283168792725, -0.15872855484485626, 0.3596549332141876, -0.3358139097690582, -0.6174143552780151, 0.34124407172203064, 0.4001595079898834, -0.0755307525396347, -0.3439529836177826, -0.01700470969080925, -0.32470378279685974, 0.20203427970409393, 0.525355339050293, -0.13847164809703827, -0.36173292994499207, 0.2081480771303177, 0.1645461767911911, -0.19040487706661224, -0.07085112482309341, 0.7204784750938416, -0.339656800031662, 0.6131355166435242, 0.8308604955673218, 1.0044658184051514, 0.41705626249313354, -0.44844892621040344, 0.5072890520095825, -0.8689528703689575, 0.054509487003088, 0.28275230526924133, 0.4538699984550476, 0.33070001006126404, 0.1299387365579605, 0.553941547870636, -0.01883554644882679, -0.3387347459793091, -1.2001417875289917, -0.2072799801826477, -0.5228441953659058, -0.4844929277896881, 0.8380277156829834, -0.39983242750167847, -0.3052668571472168, -0.2015429139137268, -0.010493825189769268, -0.2373218983411789, -0.40655285120010376, 0.34695154428482056, 1.0341699123382568, 0.44452565908432007, 0.18626128137111664, -0.609997034072876, 0.09630859643220901, 0.5216349363327026, -0.7474370002746582, 0.10711514949798584, 0.30966484546661377, 0.13631300628185272, 0.2453259825706482, 0.4351824223995209, -0.3683665692806244, 0.38872936367988586, 0.3717348277568817, 0.3803410828113556, 0.08048795163631439, -0.6585460901260376, -0.35905441641807556, 0.07551992684602737, -0.07212662696838379, -0.22084295749664307 ]
http://arxiv.org/abs/2406.02394v1
http://arxiv.org/pdf/2406.02394v1
Multiple Choice Questions and Large Languages Models: A Case Study with Fictional Medical Data
2024-06-04T15:08:56
2024-06-04T15:08:56
Maxime Griot, Jean Vanderdonckt, Demet Yuksel, Coralie Hemptinne
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) like ChatGPT demonstrate significant potential in the medical field, often evaluated using multiple-choice questions (MCQs) similar to those found on the USMLE. Despite their prevalence in medical education, MCQs have limitations that might be exacerbated when assessing LLMs. To evaluate the effectiveness of MCQs in assessing the performance of LLMs, we developed a fictional medical benchmark focused on a non-existent gland, the Glianorex. This approach allowed us to isolate the knowledge of the LLM from its test-taking abilities. We used GPT-4 to generate a comprehensive textbook on the Glianorex in both English and French and developed corresponding multiple-choice questions in both languages. We evaluated various open-source, proprietary, and domain-specific LLMs using these questions in a zero-shot setting. The models achieved average scores around 67%, with minor performance differences between larger and smaller models. Performance was slightly higher in English than in French. Fine-tuned medical models showed some improvement over their base versions in English but not in French. The uniformly high performance across models suggests that traditional MCQ-based benchmarks may not accurately measure LLMs' clinical knowledge and reasoning abilities, instead highlighting their pattern recognition skills. This study underscores the need for more robust evaluation methods to better assess the true capabilities of LLMs in medical contexts.
[ -0.3110072910785675, -0.8415002822875977, 0.9679350256919861, -0.18950404226779938, -0.05250536650419235, 0.15650177001953125, -0.31370043754577637, -0.6340816020965576, 0.09787782281637192, 0.509942889213562, -0.3381868302822113, -0.3892022669315338, -0.6152781844139099, 0.22191070020198822, -0.06645533442497253, 0.6613120436668396, -0.19955137372016907, 0.5500430464744568, -0.43782228231430054, -0.28887465596199036, -0.2553446292877197, -0.7608185410499573, -0.7304330468177795, -0.2909444272518158, 0.4769853353500366, 0.14378799498081207, 0.7284026145935059, 0.3547680079936981, 0.46925589442253113, 0.22804878652095795, -0.02321944385766983, 0.2591738700866699, -0.3228028416633606, 0.09201377630233765, -0.29572752118110657, -0.509698212146759, -0.2095782607793808, 0.25918909907341003, 0.5962883830070496, 0.7279421091079712, -0.16148988902568817, 0.11358053237199783, -0.06943414360284805, 0.42097046971321106, -0.3184538185596466, -0.08745035529136658, -0.33380943536758423, -0.06528782099485397, -0.052311915904283524, -0.011116462759673595, -0.33123883605003357, -0.46829092502593994, 0.12601543962955475, -0.24157682061195374, -0.0162351094186306, -0.018068602308630943, 0.8088660836219788, -0.05203680694103241, -0.6535322070121765, -0.5496591329574585, -0.6294596791267395, 0.8268951177597046, -0.6669042706489563, 0.4762417674064636, 0.38149839639663696, 0.4685940146446228, -0.20467917621135712, -0.5922443866729736, -0.2795224189758301, -0.730449914932251, 0.014350487850606441, 0.2961362600326538, -0.07390700280666351, -0.132608562707901, 0.3107507526874542, 0.42525410652160645, -0.8268495798110962, 0.1615029275417328, -0.4255037009716034, -0.2523099482059479, 0.49222052097320557, 0.2713644206523895, 0.523783802986145, -0.04313335940241814, -0.256003737449646, 0.1250249445438385, -0.7047796249389648, -0.05600258708000183, 0.2475844770669937, -0.0026781675405800343, 0.14710189402103424, 0.7215589284896851, 0.05776939541101456, 0.7191454172134399, -0.4107109308242798, -0.39524030685424805, 0.08465675264596939, -0.2352067083120346, -0.15041473507881165, -0.33339619636535645, 0.8518396615982056, 0.26201748847961426, 0.5001250505447388, -0.04982120171189308, 0.027028953656554222, 0.08356838673353195, 0.19630031287670135, -0.7537994384765625, 0.03335835039615631, 0.5424906015396118, -0.37792545557022095, -0.1451244056224823, -0.4916349947452545, -0.671601414680481, -0.3994642198085785, -0.3015041947364807, 0.542896032333374, -0.592978298664093, -0.2208135575056076, 0.10873545706272125, 0.02281065471470356, 0.20390626788139343, 0.40873637795448303, -0.8450644612312317, 0.4978295564651489, 0.3455423414707184, 0.8005425333976746, -0.30806711316108704, -0.139689102768898, -0.22899019718170166, 0.060257960110902786, -0.401283860206604, 0.829364001750946, -0.7472022175788879, -0.7018876075744629, -0.10633422434329987, 0.06424122303724289, -0.5584948658943176, -0.8156346082687378, 0.4654085338115692, -0.32018613815307617, 0.42555561661720276, -0.21889105439186096, -0.8896506428718567, -0.18145553767681122, 0.47099798917770386, -0.4890107810497284, 0.6930886507034302, 0.202448308467865, -0.42965492606163025, 0.19885993003845215, -0.4638744294643402, -0.34240683913230896, 0.039884455502033234, -0.71766197681427, -0.1598837971687317, 0.007833397947251797, 0.3662802577018738, 0.43504106998443604, -0.6015339493751526, 0.2722545862197876, -0.26676326990127563, -0.21873784065246582, 0.4759763181209564, -0.700201690196991, 0.7526184320449829, 0.10195740312337875, -0.07446840405464172, -0.22334574162960052, -0.5277896523475647, 0.33760568499565125, 0.13065969944000244, -0.49604901671409607, -0.20906929671764374, -0.05414144694805145, -0.19131845235824585, 0.22802014648914337, 0.129595547914505, -0.41435906291007996, 0.3689092993736267, -0.14274848997592926, 0.4032121002674103, 0.3370012044906616, 0.2389833778142929, -0.1087552160024643, -0.5731451511383057, 0.7575790882110596, -0.26971879601478577, 0.3667141795158386, 0.20730048418045044, -0.8627822399139404, -0.4513813853263855, -0.5250784754753113, 0.38185977935791016, 0.714236855506897, -0.7206540703773499, -0.20152217149734497, 0.020295456051826477, -0.6874499320983887, -0.4110817313194275, 0.04374123737215996, 0.24329575896263123, 0.5188889503479004, 0.33362361788749695, -0.2401653379201889, -0.09667082130908966, -1.0262858867645264, -0.330619215965271, -0.14463207125663757, -0.1889682561159134, 0.8387749791145325, 0.7779366970062256, -0.30322596430778503, 0.4560793936252594, -0.5230567455291748, -0.053095877170562744, -0.14346987009048462, -0.014132440090179443, 0.3746226727962494, 0.2845596671104431, 0.6399043202400208, -0.6344873905181885, -0.40291163325309753, 0.1637750267982483, -0.741571307182312, 0.055182136595249176, 0.13295182585716248, -0.004280938301235437, -0.010688155889511108, 0.40397465229034424, -0.661186158657074, 0.1041831523180008, 0.686225414276123, -0.020419379696249962, 1.0761128664016724, -0.4269557297229767, 0.49252140522003174, -0.8469175100326538, 0.13878634572029114, -0.15902827680110931, -0.20993712544441223, -0.563014030456543, -0.0187842920422554, 0.3598371148109436, -0.14569877088069916, -0.6222729086875916, 0.8400404453277588, -0.43262699246406555, 0.15765896439552307, 0.08748086541891098, 0.08801991492509842, -0.15305674076080322, 0.24208301305770874, 0.07556577026844025, 0.9798685312271118, 0.6137127876281738, -0.6315066814422607, 0.2707378566265106, -0.00011805081157945096, -0.5307376384735107, 0.6642977595329285, -0.574800968170166, 0.01650228165090084, 0.1694997400045395, -0.10723622888326645, -0.9988405108451843, -0.42572176456451416, 0.014068839140236378, -0.3561573326587677, 0.25808000564575195, -0.2654198110103607, -0.34178414940834045, -0.5386508703231812, -0.02019539475440979, 0.29864004254341125, 0.5743171572685242, -0.2541734576225281, 0.39494603872299194, 0.3076092004776001, -0.2828366458415985, -0.4720296263694763, -0.506121039390564, 0.00666400883346796, -0.16262519359588623, -0.476134717464447, -0.10138792544603348, -0.30513083934783936, -0.2200484722852707, -0.1726531833410263, -0.17293284833431244, -0.3416327238082886, -0.10556236654520035, -0.15415740013122559, 0.5082600712776184, -0.32074153423309326, 0.26101112365722656, -0.06757547706365585, 0.18937456607818604, 0.014012446627020836, -0.14756490290164948, 0.4634546637535095, -0.1288405805826187, -0.6845382452011108, -0.008246265351772308, 0.42691415548324585, 0.8219436407089233, -0.13567976653575897, 0.4668968915939331, 0.30883845686912537, -0.4313865303993225, 0.028965521603822708, -0.7940212488174438, -0.0008554130326956511, -0.3937152922153473, 0.35485702753067017, -0.266149640083313, -1.0450465679168701, 0.552463710308075, -0.12785671651363373, -0.10955701768398285, 0.46890899538993835, 0.8972498178482056, -0.12570790946483612, 1.0475224256515503, 0.10559358447790146, 0.11581125855445862, 0.07924580574035645, -0.0730002224445343, -0.06452983617782593, -0.8834477663040161, 0.01936768740415573, -0.39925992488861084, -0.03852701559662819, -0.5695176124572754, -0.7321844696998596, 0.6386741995811462, -0.1165548712015152, -0.10650286823511124, 0.06360563635826111, -0.24454447627067566, 0.6223236918449402, 0.2601245045661926, 0.17023371160030365, 0.3719117343425751, -0.060642682015895844, -0.7447898983955383, -0.029422197490930557, -0.6551017165184021, -0.7712351083755493, 1.472365379333496, 0.2753960192203522, 0.6589843034744263, 0.27262115478515625, 0.45899713039398193, 0.012488049454987049, 0.4784310758113861, -0.7976445555686951, 0.4803388714790344, -0.26176539063453674, -0.9731579422950745, -0.3245551586151123, -0.5410282015800476, -1.0186045169830322, 0.5626923441886902, -0.060779720544815063, -1.0105794668197632, 0.006815456785261631, -0.19218739867210388, -0.6007300019264221, 0.3213444948196411, -0.9366481304168701, 0.8385039567947388, -0.5593469738960266, -0.43062204122543335, 0.0017199015710502863, -0.28576651215553284, 0.5154881477355957, -0.23341970145702362, 0.4154123365879059, -0.20902054011821747, -0.22242678701877594, 0.5913259387016296, -0.1713334321975708, 0.6318425536155701, 0.18035198748111725, -0.056919440627098083, 0.296909898519516, 0.15184539556503296, 0.14393946528434753, 0.4544747769832611, -0.24592851102352142, 0.1189844086766243, 0.4012441635131836, -0.412625789642334, -0.5155655145645142, 0.6923611760139465, -0.8393664956092834, -0.7046893835067749, -0.5444470047950745, -0.4533824026584625, -0.7595060467720032, 0.2017730325460434, 0.14429233968257904, 0.6714101433753967, -0.49985992908477783, -0.01667937822639942, 0.6280710101127625, -0.5454060435295105, 0.11455056816339493, 0.7985087037086487, -0.3985758125782013, -0.5352333188056946, 0.7061305642127991, 0.27727457880973816, 0.6387768983840942, 0.18960198760032654, 0.32047730684280396, -0.5311629772186279, -0.5728194713592529, -0.5994919538497925, 0.5711323022842407, -0.6438475847244263, 0.1509784609079361, -0.552794337272644, -0.46891069412231445, -0.24475668370723724, 0.11426267772912979, -0.260021448135376, -0.15940232574939728, -0.17306067049503326, 0.21311570703983307, 0.051790595054626465, 0.7911637425422668, 0.1561133712530136, -0.24055233597755432, -0.7858641743659973, 0.2975430488586426, 0.5625966787338257, 0.4860650300979614, -0.23259389400482178, -0.4269639253616333, 0.03949397802352905, 0.030619772151112556, -0.23683851957321167, -0.8756980299949646, 0.31076565384864807, 0.03920409455895424, 0.8781683444976807, 0.2491847276687622, -0.2980722486972809, 0.5346094965934753, -0.741500198841095, 0.8562365174293518, 0.19183377921581268, -0.5473031997680664, 0.33122000098228455, -0.47424647212028503, 0.3888953924179077, 0.4113363027572632, 0.8013534545898438, -0.6660347580909729, -0.5127832889556885, -0.5700278878211975, -0.540897786617279, 0.30840522050857544, 0.2678479850292206, 0.03105921857059002, -0.21115362644195557, 0.27643513679504395, 0.22999097406864166, 0.24134516716003418, -0.4714488983154297, -0.012590198777616024, 0.3735833466053009, 0.021868925541639328, -0.3789072334766388, -0.18828696012496948, -0.3015778064727783, -0.3340356647968292, 0.5204824805259705, -0.11206712573766708, 0.3626132011413574, 0.3931169807910919, -0.11190219223499298, 0.13863253593444824, 0.6372649669647217, 0.8675750494003296, 0.9344467520713806, -0.19671744108200073, 0.06467198580503464, 0.3755246698856354, -0.8434394001960754, 0.2707419991493225, -0.05163479968905449, 0.09552037715911865, -0.02098979242146015, 0.3031209111213684, 0.41059255599975586, 0.021028919145464897, -0.951500654220581, 0.3888923227787018, -0.242763951420784, -0.4322289228439331, -0.1607600748538971, 0.14577354490756989, 0.35946914553642273, 0.2556796669960022, 0.10446672886610031, 0.028004199266433716, 0.010683039203286171, -0.5653758645057678, 0.24136444926261902, 0.4711969196796417, -0.34354957938194275, 0.09391210228204727, 0.6016953587532043, -0.06679218262434006, -0.038844313472509384, 0.4550544023513794, -0.12187480926513672, -0.2815499007701874, 0.7793256640434265, 0.504436194896698, 0.43446946144104004, -0.357596755027771, 0.34988507628440857, 0.42928701639175415, 0.4687894284725189, -0.23428034782409668, 0.39154449105262756, 0.4474073648452759, -0.6317079663276672, -0.5399591326713562, -0.4681894779205322, -0.7897477149963379, 0.5274662971496582, -0.4114193916320801, 0.2564432621002197, -0.40525639057159424, -0.3470747768878937, 0.07656784355640411, 0.030615465715527534, -0.7444453239440918, 0.39076748490333557, 0.2007099688053131, 0.8759162425994873, -0.5618902444839478, 0.7985343337059021, 0.8194908499717712, -0.4569621682167053, -0.854729950428009, -0.17898854613304138, 0.0034026005305349827, -1.0607059001922607, 0.18027344346046448, -0.020687319338321686, 0.21288101375102997, -0.1961337924003601, -0.3541475534439087, -0.9726176261901855, 0.9717812538146973, 0.6091172695159912, -0.5270289778709412, 0.16151723265647888, 0.32093361020088196, 0.6892722249031067, -0.3051070272922516, 0.8117425441741943, 0.6320902109146118, 0.3462596535682678, 0.13382485508918762, -1.2242214679718018, -0.1313479244709015, -0.1569252461194992, -0.20133237540721893, 0.09216303378343582, -0.5826742649078369, 0.9555992484092712, -0.26415205001831055, -0.02869473397731781, 0.11589046567678452, -0.18094797432422638, 0.31345614790916443, -0.023945292457938194, 0.1215449720621109, 0.32017695903778076, 1.1270267963409424, -0.2056780904531479, 1.3527116775512695, -0.19191987812519073, 0.475061297416687, 0.8367547988891602, -0.5104566216468811, 0.950330376625061, 0.4710790812969208, -0.41326799988746643, 0.2412007600069046, 0.6870589256286621, -0.03789952024817467, 0.062081821262836456, 0.37456560134887695, -0.328840047121048, -0.46945759654045105, 0.014800820499658585, -0.664526641368866, 0.3193657100200653, 0.4892176389694214, -0.37967032194137573, -0.12041871249675751, 0.039373498409986496, 0.14836233854293823, -0.16782021522521973, -0.26967254281044006, 0.4473404586315155, 0.19281408190727234, -0.60649573802948, 0.7636539936065674, -0.2505432963371277, 0.24068082869052887, -0.853710949420929, 0.15006832778453827, -0.24609927833080292, 0.1187291368842125, -0.043311070650815964, -0.8260763883590698, 0.04947425425052643, 0.032366685569286346, 0.07383652031421661, 0.04350793734192848, 0.6720831990242004, -0.3565605580806732, -0.839309573173523, 0.1752176135778427, 0.9771848320960999, 0.45954400300979614, 0.07596249878406525, -0.6582619547843933, -0.09601501375436783, -0.11375608295202255, -0.35096490383148193, 0.4417078197002411, 0.19961750507354736, -0.12417993694543839, 0.8738530278205872, 0.668082594871521, 0.3301704227924347, -0.1717076301574707, 0.19738991558551788, 0.6635100841522217, -0.5541078448295593, -0.2702382802963257, -0.9486894607543945, 0.22800493240356445, -0.11302533000707626, -0.27206042408943176, 0.6317752599716187, 0.6221523880958557, 0.5810128450393677, -0.3351961374282837, 0.9827620983123779, 0.14431065320968628, 0.694143533706665, -0.6199941039085388, 0.8166259527206421, -0.7181137204170227, 0.15781359374523163, -0.2583187222480774, -0.7213326096534729, -0.4094570279121399, 0.4377456307411194, -0.6745414137840271, 0.27808529138565063, 1.1680781841278076, 0.6261915564537048, -0.026615779846906662, 0.0852353423833847, 0.7934052348136902, 0.278155654668808, 0.2827904224395752, 0.7735826969146729, 1.0436501502990723, -0.27760007977485657, 0.4967319667339325, 0.11994858086109161, -0.3209892511367798, 0.027559539303183556, -0.7478148341178894, -1.074974536895752, -0.18013368546962738, -0.2893601655960083, -0.14204199612140656, 0.11371690034866333, 0.8828668594360352, 0.4758920669555664, -0.8762254118919373, -0.46624740958213806, 0.44604846835136414, 0.07312409579753876, -0.24933716654777527, -0.14442285895347595, 0.3423956036567688, -0.2184813916683197, -0.5779718160629272, 0.45928439497947693, 0.3130199909210205, 0.25433769822120667, -0.13394597172737122, 0.10343247652053833, -0.3623430132865906, 0.26006820797920227, 0.6406461000442505, 0.20843251049518585, -0.6311840415000916, -0.36246052384376526, 0.25158581137657166, -0.26640772819519043, 0.08827434480190277, 0.729694128036499, -0.5630664229393005, 0.4232361912727356, 0.09574215114116669, 0.5343125462532043, 0.3190067410469055, -0.25657984614372253, 0.5831862688064575, -0.27675071358680725, -0.18706078827381134, 0.43256697058677673, 0.5045783519744873, 0.13109076023101807, -0.15597032010555267, 0.5058506727218628, 0.29847991466522217, -0.763933002948761, -0.5534781217575073, 0.14030204713344574, -0.7872098088264465, -0.4106978178024292, 1.4806393384933472, -0.01108853705227375, -0.04512235149741173, -0.25144660472869873, -0.5735486745834351, -0.06306880712509155, -0.08767957240343094, 0.5213919281959534, 1.0900861024856567, -0.4158842861652374, 0.016518419608473778, -1.4612228870391846, 0.4348588287830353, 0.3558953106403351, -0.8393099904060364, -0.22807876765727997, 0.4808965027332306, 0.6694250702857971, -0.052451007068157196, 0.839515745639801, -0.47667571902275085, 0.2995182275772095, -0.1262584924697876, -0.18255189061164856, 0.23158001899719238, 0.038519419729709625, -0.16671188175678253, 0.2087700217962265, 0.15079431235790253, 0.005805926863104105 ]
http://arxiv.org/abs/2406.02378v1
http://arxiv.org/pdf/2406.02378v1
On the Intrinsic Self-Correction Capability of LLMs: Uncertainty and Latent Concept
2024-06-04T14:55:43
2024-06-04T14:55:43
Guangliang Liu, Haitao Mao, Bochuan Cao, Zhiyu Xue, Kristen Johnson, Jiliang Tang, Rongrong Wang
cs.CL
cs.CL
Large Language Models (LLMs) can improve their responses when instructed to do so, a capability known as self-correction. When these instructions lack specific details about the issues in the response, this is referred to as leveraging the intrinsic self-correction capability. The empirical success of self-correction can be found in various applications, e.g., text detoxification and social bias mitigation. However, leveraging this self-correction capability may not always be effective, as it has the potential to revise an initially correct response into an incorrect one. In this paper, we endeavor to understand how and why leveraging the self-correction capability is effective. We identify that appropriate instructions can guide LLMs to a convergence state, wherein additional self-correction steps do not yield further performance improvements. We empirically demonstrate that model uncertainty and activated latent concepts jointly characterize the effectiveness of self-correction. Furthermore, we provide a mathematical formulation indicating that the activated latent concept drives the convergence of the model uncertainty and self-correction performance. Our analysis can also be generalized to the self-correction behaviors observed in Vision-Language Models (VLMs). Moreover, we highlight that task-agnostic debiasing can benefit from our principle in terms of selecting effective fine-tuning samples. Such initial success demonstrates the potential extensibility for better instruction tuning and safety alignment.
[ 0.14086955785751343, -0.866853654384613, 0.5794686675071716, -0.0033513172529637814, 0.02007404714822769, 0.21627408266067505, -0.31885021924972534, -0.28245484828948975, -0.14379049837589264, 0.41387832164764404, -0.2918795049190521, -0.12822744250297546, -0.5970720052719116, 0.19536970555782318, -0.48362067341804504, 0.9344381093978882, -0.09436746686697006, 0.04326775670051575, 0.0028698109090328217, -0.06266027688980103, -0.42068132758140564, -0.6312292814254761, -0.44426077604293823, -0.2204897105693817, 0.6645903587341309, 0.559688150882721, 0.4961656332015991, 0.7030521631240845, 0.6970518231391907, 0.3406338393688202, 0.02185196243226528, 0.05950969457626343, -0.5797678232192993, 0.14611512422561646, -0.4296865165233612, -0.8466959595680237, -0.6077565550804138, 0.035848405212163925, 0.8490018844604492, 0.5407828688621521, -0.28846439719200134, -0.038886044174432755, 0.42836102843284607, 0.8758139610290527, -0.8409711718559265, -0.26928210258483887, -0.7930421829223633, -0.01666002720594406, -0.11315203458070755, -0.20961488783359528, -0.10996285825967789, 0.01277322880923748, 0.12247002124786377, -0.39799171686172485, 0.28947684168815613, -0.09344272315502167, 0.5408524870872498, 0.9102073311805725, -0.24912422895431519, -0.28272920846939087, -1.0681421756744385, 0.6595403552055359, -0.8933098316192627, 0.1449819952249527, 0.4658294916152954, -0.05329113453626633, -0.03860580548644066, -0.36148297786712646, -0.5127844214439392, -0.024872535839676857, 0.12703587114810944, 0.02885470539331436, -0.11969985067844391, 0.25074493885040283, 0.3133997321128845, 0.4824933409690857, 0.019045263528823853, 0.4671292304992676, -0.28518223762512207, -0.262362003326416, 0.4451395869255066, 0.11233772337436676, 0.0020053137559443712, -0.12118469178676605, -0.3667902946472168, -0.021344367414712906, -0.8067761063575745, 0.0016121207736432552, 0.3770362436771393, 0.3066016137599945, 0.03224697336554527, 0.7746616005897522, -0.2447526901960373, 0.5302233695983887, 0.4427664875984192, -0.34669235348701477, -0.005108729470521212, -0.2848778963088989, -0.10290135443210602, 0.05102740600705147, 0.42188531160354614, 0.28822869062423706, -0.053717926144599915, -0.16055499017238617, -0.528130054473877, -0.0372842513024807, 0.5444962382316589, -0.5846512317657471, 0.033196330070495605, 0.286185085773468, -0.1800583004951477, -0.15845632553100586, -0.22027947008609772, -0.26660090684890747, -0.1121000275015831, -0.6081469058990479, 0.5994476675987244, -0.32708802819252014, 0.014407654292881489, 0.08701695501804352, 0.1693020612001419, -0.01597626693546772, 0.5493103861808777, -1.0357005596160889, -0.0146735655143857, 0.5177003741264343, 0.7298282980918884, -0.2865274250507355, -0.2325204610824585, -0.3342660367488861, 0.3441503942012787, -0.5052281022071838, 0.777717649936676, -0.3733316659927368, -0.3732497990131378, -0.23952722549438477, -0.1419530212879181, -0.09308074414730072, -0.432047039270401, 0.2630525231361389, -0.40085387229919434, -0.18036878108978271, -0.5179254412651062, -0.6409181952476501, -0.049772948026657104, 0.17308366298675537, -0.3468130826950073, 1.0517523288726807, -0.04930165410041809, -0.6956321001052856, 0.18829871714115143, -0.22979800403118134, -0.17256592214107513, -0.15804913640022278, -0.1893545538187027, -0.2674570381641388, 0.4872157871723175, 0.005017517600208521, 0.5234641432762146, 0.020808696746826172, 0.154004767537117, -0.3728179335594177, -0.24102818965911865, 0.3850947916507721, -0.6047216653823853, 0.2689627707004547, 0.19830623269081116, -0.6239473223686218, 0.18044322729110718, -0.5139507055282593, -0.15008601546287537, -0.10588379949331284, -0.24165351688861847, -0.4924350678920746, 0.09346920251846313, -0.6713497638702393, -0.013975871726870537, 0.30243736505508423, -0.24923329055309296, 0.34674501419067383, -0.3562304675579071, 0.4020877778530121, 1.082562804222107, -0.16352194547653198, 0.6042178869247437, -0.2056128978729248, 0.4462014138698578, -0.10337845236063004, 0.01920435018837452, -0.2633090913295746, -0.08886869996786118, -0.9260745644569397, -0.09626302868127823, 0.34888654947280884, 0.7996814250946045, -0.6975353360176086, 0.44186773896217346, -0.0024410157930105925, -0.3814608156681061, -0.40688222646713257, 0.5022229552268982, 0.6097058057785034, 0.8033802509307861, 0.27926957607269287, -0.2720077335834503, -0.18583863973617554, -0.7113249897956848, -0.23773278295993805, -0.29866909980773926, 0.3612546920776367, 0.10567807406187057, 0.4698145389556885, -0.13845473527908325, 0.9020681977272034, -0.31772005558013916, -0.3039652109146118, 0.10786749422550201, 0.2355017364025116, -0.04720667377114296, 0.4390667974948883, 0.3466225266456604, -0.5385777950286865, -0.26218587160110474, -0.29803580045700073, -0.9310251474380493, -0.2547387182712555, -0.2292473018169403, 0.07330760359764099, 0.5195972919464111, 0.6790800094604492, -0.16534577310085297, 0.5501502156257629, 0.359971821308136, -0.1136615052819252, 0.7217729091644287, -0.6936108469963074, 0.14879809319972992, -0.645439624786377, -0.18790608644485474, -0.05694759264588356, -0.08265170454978943, -0.4573862850666046, 0.11900702118873596, 0.2067800760269165, 0.3847581446170807, -0.3372270464897156, 0.49177002906799316, -0.6454622149467468, -0.026061177253723145, -0.6660526394844055, 0.15436358749866486, -0.3323431611061096, 0.17835350334644318, -0.15839587152004242, 1.0578782558441162, 0.5220350623130798, -1.0327210426330566, 0.2121771275997162, -0.0441196970641613, -0.11916179955005646, 0.8840802907943726, -0.7488290667533875, 0.15480035543441772, -0.1448085755109787, -0.16411040723323822, -0.9773001670837402, -0.009436382912099361, 0.20627199113368988, -0.20788615942001343, 0.6521874070167542, 0.09370150417089462, -0.33966007828712463, -0.4122677445411682, -0.13163727521896362, 0.22536209225654602, 0.2575088143348694, -0.4243975579738617, 0.5522676706314087, 0.3151613175868988, -0.14988404512405396, -0.9875599145889282, -0.7165660858154297, 0.14978742599487305, -0.14189079403877258, -0.2868501543998718, 0.360429972410202, -0.24031199514865875, -0.27709269523620605, 0.1397441178560257, -0.3006930649280548, 0.32999441027641296, 0.24540188908576965, 0.17353534698486328, 0.14262787997722626, 0.010202961042523384, 0.5881905555725098, 0.03430032357573509, -0.27838584780693054, -0.05989059805870056, -0.31215283274650574, 0.2100886106491089, -0.28486311435699463, -0.695067286491394, -0.2334095984697342, -0.09400250017642975, 0.14853914082050323, -0.09536787122488022, 0.5806663632392883, 0.5024930238723755, -0.19589264690876007, -0.1254262775182724, -0.8098337054252625, -0.45853495597839355, -0.49420592188835144, 0.3125143349170685, -0.35298123955726624, -1.2028192281723022, 0.5265465378761292, 0.0922871008515358, -0.11557184904813766, 0.5440190434455872, 0.7536122798919678, -0.3377882242202759, 0.5963922142982483, 0.7553138136863708, 0.03391609713435173, 0.46679678559303284, -0.24177095293998718, 0.32335522770881653, -1.173529863357544, -0.03940388932824135, -0.6177387237548828, -0.3523089587688446, -0.5134703516960144, -0.6263937950134277, 0.3585856556892395, 0.17198015749454498, -0.10771268606185913, 0.06826455891132355, -0.5066342949867249, 0.23686635494232178, 0.7226956486701965, 0.2716231942176819, 0.39915406703948975, 0.06484569609165192, -0.16813719272613525, -0.41184476017951965, -0.7246055006980896, -0.5966378450393677, 1.1001321077346802, 0.4751746654510498, 1.4478273391723633, -0.025383256375789642, 0.5709021091461182, 0.2804962694644928, 0.15234293043613434, -0.756729006767273, 0.3779255747795105, -0.15589827299118042, -0.6690520644187927, -0.5398321747779846, -0.3103616535663605, -0.6701733469963074, 0.010828452184796333, -0.2609836459159851, -0.6556926369667053, 0.29046431183815, 0.5497979521751404, -0.523568868637085, 0.48862484097480774, -0.6770384907722473, 0.6258922815322876, -0.7018023133277893, -0.68348228931427, -0.4647846221923828, -0.5971956253051758, 0.07446000725030899, -0.4063453674316406, 0.044799111783504486, -0.2310071885585785, -0.3831840753555298, 0.437060683965683, -0.15605385601520538, 1.4123080968856812, -0.020159846171736717, -0.6125065684318542, 0.3920603096485138, 0.04023893550038338, 0.3820546269416809, -0.1384097933769226, 0.009467742405831814, 0.20368853211402893, -0.2228660136461258, -0.20350678265094757, -0.8045641779899597, 0.494745135307312, -0.7846320271492004, -1.091957688331604, -0.4717736542224884, -0.4891104996204376, -0.10207012295722961, 0.19455690681934357, 0.16218125820159912, 0.24434562027454376, -0.02392435446381569, 0.24559061229228973, 0.8967934250831604, -0.07372593879699707, 0.5499795079231262, 0.8244591951370239, -0.2041921764612198, -0.22621211409568787, 0.8276503682136536, 0.5573848485946655, 0.5664130449295044, 0.41560542583465576, 0.18725010752677917, -0.4086019992828369, -0.6712841987609863, -0.31510552763938904, 0.257758229970932, -0.7985671162605286, -0.18130823969841003, -0.72630774974823, -0.12049712240695953, -0.5020052194595337, -0.151038259267807, -0.4343074858188629, -0.4598820209503174, -0.4539395570755005, -0.10822649300098419, 0.1547621786594391, 0.7797994613647461, -0.5170184373855591, 0.5892952084541321, -0.7324411869049072, 0.29192301630973816, 0.5592288374900818, 0.3457864820957184, 0.021547799929976463, -0.9426916837692261, -0.21591079235076904, 0.22215111553668976, -0.3883715569972992, -0.7626665234565735, 0.10392895340919495, 0.32063421607017517, 0.9125842452049255, 0.3307618796825409, 0.12995831668376923, 0.7057169675827026, -0.43874815106391907, 0.5350528359413147, -0.1199561282992363, -1.166833758354187, 0.7661290764808655, -0.19841858744621277, 0.2302883267402649, 0.42533639073371887, 0.1793062537908554, -0.3579721748828888, -0.465419739484787, -0.49455103278160095, -0.7764187455177307, 0.5799228549003601, 0.24985308945178986, 0.3808678686618805, 0.03392711281776428, 0.8140310049057007, -0.18907661736011505, 0.27267521619796753, -0.5238288044929504, -0.282366544008255, -0.10237394273281097, -0.05872407183051109, -0.18081329762935638, -0.6128633618354797, -0.20640185475349426, -0.18473634123802185, 0.8480180501937866, -0.4552682936191559, 0.2192230522632599, 0.5775259733200073, -0.14927300810813904, -0.3153770864009857, 0.3259972929954529, 0.7019444704055786, 0.5591338276863098, -0.09789185225963593, 0.1813422441482544, 0.40146052837371826, -0.3152734041213989, 0.2837810218334198, -0.1973823606967926, -0.2844337522983551, -0.47496604919433594, 0.2874210476875305, 0.7036056518554688, 0.2377258986234665, -0.4026176333427429, 0.3396323025226593, 0.0034318706020712852, 0.18767771124839783, -0.060133934020996094, 0.36391618847846985, -0.12291988730430603, 0.24691306054592133, 0.5520536303520203, 0.1276463121175766, 0.13136841356754303, -0.48271650075912476, 0.30308082699775696, 0.605891764163971, -0.3521654009819031, -0.20184394717216492, 0.6903944611549377, 0.14994168281555176, -0.17062921822071075, 0.41702914237976074, -0.23681515455245972, -0.5561113357543945, 0.5126414895057678, 0.7127605676651001, 0.7607216238975525, -0.5849229097366333, 0.12312675267457962, 0.43555763363838196, 0.5580298900604248, -0.2137499749660492, 0.020291082561016083, 0.024676760658621788, -0.9619775414466858, -0.7071554064750671, -0.4962860345840454, -0.477255642414093, -0.25537413358688354, -0.6935533881187439, 0.03569436073303223, -0.5039888620376587, -0.3544970154762268, -0.34027281403541565, -0.20835071802139282, -0.3628363013267517, 0.38899457454681396, 0.0015341260004788637, 0.6250631213188171, -0.51627516746521, 0.6577088236808777, 0.6338649392127991, -0.18298950791358948, -0.9787907004356384, 0.06344688683748245, 0.18341736495494843, -1.0843690633773804, 0.688007116317749, 0.060760997235774994, -0.4250200390815735, -0.06435352563858032, -0.6507733464241028, -1.103609561920166, 0.8336377143859863, 0.46489107608795166, -0.8632972240447998, -0.06564650684595108, -0.06575660407543182, 0.6921310424804688, -0.3168694078922272, 0.11425869911909103, 0.4051288664340973, 0.22864635288715363, 0.37122291326522827, -0.9484421610832214, -0.014117906801402569, 0.06054205074906349, 0.16876494884490967, 0.05967438966035843, -0.6431686878204346, 0.657986581325531, -0.6910218596458435, -0.03270076960325241, -0.13348157703876495, 0.8602817058563232, -0.049118634313344955, -0.011859532445669174, 0.4332500696182251, 0.7848077416419983, 0.7914789915084839, -0.10302276909351349, 0.9948412775993347, -0.5519915819168091, 0.3613755404949188, 1.2878239154815674, -0.19567985832691193, 0.7662355303764343, 0.44331973791122437, -0.14271706342697144, 0.36712220311164856, 0.5293331146240234, 0.07785709947347641, 0.3888341784477234, -0.140815868973732, -0.08386078476905823, -0.4170563220977783, -0.11945874243974686, -0.31966397166252136, 0.5110070109367371, 0.6084867715835571, -0.27744898200035095, -0.06277692317962646, -0.0682126134634018, -0.06104636937379837, 0.05426030978560448, -0.39242199063301086, 0.7828216552734375, 0.19845078885555267, -0.6479879021644592, 0.40298935770988464, -0.1468612104654312, 0.6929613947868347, -0.3791920244693756, 0.06224142014980316, 0.01699828915297985, 0.3365313708782196, -0.22391250729560852, -0.9553762078285217, 0.5175057649612427, -0.16976626217365265, -0.2440841794013977, -0.13254058361053467, 0.8757278919219971, -0.3042934536933899, -0.39633822441101074, 0.22559282183647156, 0.5693663954734802, -0.076673723757267, -0.13872596621513367, -0.8407498598098755, -0.011117479763925076, 0.04145657271146774, -0.012845770455896854, 0.03817593306303024, 0.6172699928283691, 0.16703279316425323, 0.9807117581367493, 0.46190622448921204, 0.3526817858219147, 0.022803109139204025, -0.05947555974125862, 0.5824750065803528, -0.6358925700187683, -0.2892068326473236, -0.8938424587249756, 0.5686335563659668, 0.19374318420886993, -0.3078436255455017, 0.9270007014274597, 0.27947571873664856, 0.8376230001449585, 0.05446171015501022, 0.8267325758934021, 0.01205718144774437, 0.5745335221290588, -0.7346956133842468, 0.22688403725624084, -0.6546626687049866, 0.6233006119728088, -0.1578691452741623, -0.7988592386245728, -0.1245487630367279, 0.8127875924110413, -0.5833652019500732, 0.24049167335033417, 0.6542234420776367, 0.8137684464454651, 0.3050927519798279, -0.32477182149887085, 0.4490741491317749, 0.4123905599117279, 0.22941023111343384, 0.12449927628040314, 0.7484250068664551, -0.24741210043430328, 0.19711756706237793, -0.37683695554733276, -0.32184508442878723, -0.23879274725914001, -1.0088087320327759, -0.9376059770584106, -0.46881482005119324, -0.4201224446296692, -0.4756026864051819, 0.19559960067272186, 0.7419870495796204, 0.7047725915908813, -0.6502410173416138, -0.06562468409538269, 0.05313703045248985, 0.24049989879131317, -0.07683756202459335, -0.10235444456338882, 0.1435701549053192, -0.8496338725090027, -0.6509174704551697, 0.11935307085514069, 0.6491381525993347, 0.4088326394557953, -0.47892874479293823, 0.005452001467347145, -0.01723041757941246, 0.0924583151936531, 0.48554450273513794, 0.263468861579895, -0.8685246706008911, -0.33413824439048767, 0.20411261916160583, -0.4737553298473358, 0.09256350994110107, 0.7411350011825562, -0.5073364973068237, 0.691758394241333, 0.09146265685558319, 0.7311695218086243, 0.19408957660198212, 0.02344389818608761, 0.6748737692832947, -0.5780755877494812, -0.086842380464077, 0.07918073982000351, 0.3308393955230713, 0.5432939529418945, -0.6262219548225403, 0.7036266922950745, 0.42511236667633057, -0.808163046836853, -0.5266813039779663, 0.16411465406417847, -0.7750700116157532, -0.21598851680755615, 1.2980393171310425, -0.09092311561107635, -0.37626203894615173, -0.05195365846157074, -0.3726402521133423, 0.26489484310150146, -0.27377891540527344, 1.035190463066101, 0.7153699398040771, -0.14463406801223755, -0.27813759446144104, -0.27089738845825195, 0.2291642278432846, 0.7550121545791626, -0.6739057302474976, 0.06757183372974396, 0.3480677306652069, 0.3258335590362549, 0.2458629161119461, 0.6585908532142639, 0.07785684615373611, 0.014434067532420158, -0.17822489142417908, 0.1214577704668045, 0.2477351427078247, -0.3969660997390747, -0.5933939218521118, -0.2408987432718277, 0.29987823963165283, 0.17682860791683197 ]
http://arxiv.org/abs/2406.02377v1
http://arxiv.org/pdf/2406.02377v1
XRec: Large Language Models for Explainable Recommendation
2024-06-04T14:55:14
2024-06-04T14:55:14
Qiyao Ma, Xubin Ren, Chao Huang
cs.IR
cs.IR, cs.AI, cs.CL
Recommender systems help users navigate information overload by providing personalized recommendations aligned with their preferences. Collaborative Filtering (CF) is a widely adopted approach, but while advanced techniques like graph neural networks (GNNs) and self-supervised learning (SSL) have enhanced CF models for better user representations, they often lack the ability to provide explanations for the recommended items. Explainable recommendations aim to address this gap by offering transparency and insights into the recommendation decision-making process, enhancing users' understanding. This work leverages the language capabilities of Large Language Models (LLMs) to push the boundaries of explainable recommender systems. We introduce a model-agnostic framework called XRec, which enables LLMs to provide comprehensive explanations for user behaviors in recommender systems. By integrating collaborative signals and designing a lightweight collaborative adaptor, the framework empowers LLMs to understand complex patterns in user-item interactions and gain a deeper understanding of user preferences. Our extensive experiments demonstrate the effectiveness of XRec, showcasing its ability to generate comprehensive and meaningful explanations that outperform baseline approaches in explainable recommender systems. We open-source our model implementation at https://github.com/HKUDS/XRec.
[ -0.3840095102787018, -0.3560307025909424, 0.8486549854278564, 0.027579257264733315, -0.04253074899315834, 0.02733718231320381, -0.31395548582077026, -0.4533253312110901, 0.1654135137796402, 0.6607535481452942, -1.0639663934707642, -0.5456006526947021, -0.3269517719745636, -0.25319579243659973, -0.5871113538742065, 1.1863311529159546, -0.0888771265745163, -0.09054987877607346, -0.17693546414375305, -0.32033297419548035, -0.40874096751213074, -0.40012139081954956, -0.7685338258743286, -0.7723575234413147, 0.7032371759414673, 0.5736061930656433, 0.845937967300415, 0.5689045190811157, 0.18371635675430298, 0.2991074323654175, 0.016498418524861336, 0.13355952501296997, -0.7000821232795715, 0.15318800508975983, -0.4820916950702667, -0.41365236043930054, -0.38552048802375793, -0.3648144602775574, 0.29858389496803284, 0.8004236221313477, -0.4256353974342346, -0.044662170112133026, -0.0188691858202219, 0.764595627784729, -0.4469600319862366, 0.31682640314102173, -0.3866198658943176, -0.17573174834251404, 0.17892391979694366, 0.014276929199695587, -0.3329823315143585, -0.16801640391349792, 0.4095187187194824, -0.7342491149902344, 0.27922430634498596, 0.5086724162101746, 0.42805594205856323, -0.21805238723754883, -0.27632439136505127, -0.5443339943885803, -0.9515965580940247, 0.7817004323005676, -0.37525829672813416, 0.7066541910171509, 0.5305794477462769, 0.57490074634552, -0.24892885982990265, -0.8781610727310181, -0.4341380298137665, -0.3389802873134613, -0.27286267280578613, 0.036298155784606934, -0.44002848863601685, -0.0036910581402480602, -0.06648162007331848, 0.595575213432312, -0.8320334553718567, 0.0819481611251831, 0.13491617143154144, 0.11855665594339371, 0.4355270266532898, 0.2583637237548828, 0.31830987334251404, -0.012257790192961693, -0.33624643087387085, 0.12843738496303558, -0.4206695556640625, 0.13678742945194244, 0.1766899824142456, 0.24009640514850616, -0.254824161529541, 0.3423768877983093, -0.18474958837032318, 0.6654933094978333, 0.15047185122966766, 0.30828920006752014, -0.24001429975032806, -0.49990200996398926, -0.10946454107761383, 0.19663670659065247, 0.7545768022537231, 0.35630160570144653, 0.3134624660015106, -0.24660733342170715, -0.0966782346367836, -0.17437240481376648, 0.05505257099866867, -0.6763589978218079, -0.3487253487110138, 0.1609882414340973, -0.7496174573898315, -0.3253195285797119, 0.05296792834997177, -0.43569743633270264, -0.6621154546737671, -0.27102428674697876, 0.3041525185108185, -0.1718493103981018, -0.22361209988594055, 0.41645702719688416, 0.04393849894404411, -0.3014101982116699, 0.24706803262233734, -1.1134388446807861, 0.6948957443237305, 0.4905844032764435, 0.7868926525115967, -0.04618559405207634, -0.13145007193088531, -0.36701157689094543, 0.164835125207901, 0.0023426946718245745, 0.7774575352668762, -0.5500134229660034, -0.4797561466693878, -0.06593829393386841, 0.19497519731521606, 0.26967692375183105, -0.18780721724033356, 0.3843783438205719, -0.6308633089065552, 0.26812198758125305, -0.29532235860824585, -0.5801310539245605, -0.7049651145935059, 0.09002315253019333, -0.6867777109146118, 0.45634719729423523, 0.3293689787387848, -0.4761442244052887, 0.41832104325294495, -0.7658534646034241, -0.21480633318424225, 0.15806499123573303, 0.05727070942521095, -0.04299650341272354, 0.022157495841383934, 0.3111139237880707, 0.5616225004196167, -0.6480470299720764, 0.39328280091285706, -0.6776504516601562, -0.3080347776412964, 0.3823547065258026, -0.36211761832237244, 0.6466845273971558, 0.32935720682144165, -0.10798677057027817, 0.734535276889801, -0.57444167137146, -0.04083875194191933, 0.1986859291791916, 0.06644191592931747, -0.3748799264431, 0.07702922821044922, 0.20698215067386627, 0.183250293135643, 0.17083041369915009, -0.2831185758113861, -0.09305419772863388, -0.3508381247520447, 0.7284764647483826, 0.6755973696708679, -0.23955753445625305, 0.5512917637825012, -0.4083833396434784, 0.5918519496917725, -0.45643600821495056, 0.09068144112825394, -0.629241406917572, -0.2519175112247467, -0.491742342710495, -0.2769688367843628, -0.00880961399525404, 0.17773133516311646, -0.3181503415107727, 0.47110146284103394, -0.1981567144393921, -0.36894652247428894, -0.18903233110904694, 0.42844516038894653, 0.2651461958885193, 0.35810524225234985, 0.18663617968559265, -0.14825063943862915, -0.805810272693634, -0.7842523455619812, -0.15354527533054352, -0.4288831055164337, -0.07459050416946411, 0.6376760005950928, 0.20352782309055328, -0.4257718026638031, 0.8078134655952454, -0.5824118852615356, -0.23356349766254425, -0.5972970128059387, -0.1949431300163269, 0.2831287980079651, -0.07480008900165558, 0.34978485107421875, -0.7701066136360168, -0.2759438157081604, 0.24835205078125, -0.6401558518409729, -0.2166564166545868, -0.23472459614276886, -0.04226742684841156, -0.1980748325586319, 0.36014628410339355, 0.03064689226448536, 0.1444912701845169, 0.8202212452888489, -0.5237133502960205, 0.5074810981750488, -0.6841702461242676, 0.052545174956321716, -0.8660385608673096, -0.044316574931144714, 0.34697502851486206, -0.703092098236084, -0.2819743752479553, -0.04435364529490471, -0.18792708218097687, -0.11223608255386353, 0.03367915749549866, 0.7530429363250732, -0.325591117143631, 0.09074116498231888, -0.4793565273284912, 0.40306317806243896, 0.35514914989471436, 0.26295706629753113, 0.07389672845602036, 0.2597964406013489, 0.3748326003551483, -0.34769970178604126, 0.3419303297996521, 0.30510661005973816, -0.5025404095649719, 0.34839969873428345, -0.6915091872215271, -0.19453680515289307, 0.16934973001480103, 0.52846759557724, -1.094702959060669, -0.12539173662662506, 0.28171658515930176, -0.01651654951274395, -0.14450687170028687, -0.3548014163970947, -0.23197588324546814, -0.3584580719470978, -0.07550555467605591, 0.2680458426475525, 0.3521551489830017, -1.0062915086746216, 0.781450092792511, 0.16635985672473907, -0.031978655606508255, -0.28297102451324463, -0.39904341101646423, 0.05314679071307182, -0.06676196306943893, -0.8198289275169373, 0.4166543781757355, -0.5114050507545471, -0.3209001123905182, 0.06994109600782394, -0.05767050012946129, -0.09499411284923553, 0.09389488399028778, 0.8145496845245361, 0.37074142694473267, -0.22967836260795593, 0.056700415909290314, -0.17227676510810852, -0.31199321150779724, 0.09047690778970718, -0.5856022238731384, 0.5499246120452881, -0.2852151691913605, -0.28039008378982544, -0.506305456161499, 0.36629971861839294, 0.6943578124046326, -0.004964593797922134, 0.5979598164558411, 0.6589743494987488, -0.0028475436847656965, -0.25574615597724915, -0.5104668140411377, -0.27258768677711487, -0.5047647953033447, 0.4199303388595581, -0.33483272790908813, -1.1998547315597534, 0.6968275308609009, 0.056685883551836014, -0.2524867653846741, -0.0033777731005102396, 0.7088859677314758, 0.12908044457435608, 1.4402482509613037, 0.9065175652503967, -0.06142106652259827, 0.638737678527832, -0.21155394613742828, 0.3352319896221161, -0.5900129079818726, -0.3290248513221741, -0.3213077187538147, -0.06288733333349228, -0.4073004126548767, -0.08376281708478928, -0.15599624812602997, 0.004424644634127617, -0.03751851245760918, 0.25957992672920227, -0.370034784078598, 0.34004002809524536, 0.4747489392757416, 0.13991014659404755, 0.41804420948028564, 0.04424367845058441, -0.09136192500591278, 0.1976328194141388, -0.7108567357063293, -0.3247305452823639, 0.5844328999519348, 0.38740912079811096, 1.1350560188293457, -0.03351400047540665, 0.2252887785434723, 0.4082756042480469, 0.007779806852340698, -0.96385258436203, 0.34958744049072266, -0.45285671949386597, -0.6751402616500854, -0.1396554857492447, -0.23604294657707214, -0.8123607635498047, 0.07589571177959442, -0.4064454436302185, -0.898371160030365, 0.2988530099391937, 0.21878431737422943, -0.40260419249534607, 0.4141588509082794, -0.5682274103164673, 0.7625752687454224, -0.5237753987312317, -0.3941745162010193, -0.7095720767974854, -0.2448304146528244, 0.322719931602478, -0.32848992943763733, 0.3170362114906311, -0.00801991205662489, 0.16014879941940308, 0.6688314080238342, -0.46191084384918213, 0.7154550552368164, 0.04843062907457352, -0.04418531432747841, 0.12470921874046326, 0.38481709361076355, 0.6253160834312439, 0.130257710814476, -0.41692906618118286, 0.2283121943473816, 0.015362739562988281, -0.05498548224568367, -0.990817666053772, 1.2717607021331787, -0.5821996927261353, -0.5588402152061462, 0.10923370718955994, -0.7755973935127258, 0.11103331297636032, 0.26701489090919495, -0.1053294762969017, 0.4777287542819977, -0.22921033203601837, 0.22801968455314636, 0.4208565950393677, -0.06776438653469086, 0.036067403852939606, 0.8002955913543701, -0.711337685585022, -0.43312421441078186, 0.8946653604507446, 0.12180927395820618, -0.0966021865606308, 0.43250539898872375, 0.5043257474899292, -0.48837780952453613, -0.6888404488563538, -0.3475600481033325, 0.21128441393375397, -0.7784436941146851, 0.36325767636299133, -0.7090619206428528, 0.20560728013515472, -0.20169639587402344, -0.5982595682144165, 0.10440527647733688, -0.48539838194847107, -0.18682289123535156, -0.12202875316143036, 0.4329875409603119, 1.031402587890625, -0.032822150737047195, 0.6835170984268188, -0.5883275270462036, 0.4893985390663147, 0.2783571779727936, 0.6778337359428406, 0.3030878007411957, -0.6524878740310669, -0.5432811975479126, -0.07041776180267334, 0.1821216195821762, -0.4464665353298187, 0.3169293999671936, -0.027488576248288155, 0.6204988360404968, 0.9418428540229797, 0.1456555724143982, 0.5767887830734253, -0.2577114403247833, 0.5800537467002869, 0.3907357156276703, -1.0139212608337402, 0.39115142822265625, -0.3654875159263611, 0.3071829378604889, 0.3808368146419525, 0.4486682713031769, -0.6930875778198242, 0.09816120564937592, -0.4508969485759735, -0.989399254322052, 0.7974363565444946, 0.03499959409236908, -0.04268292710185051, 0.1694379448890686, 0.6456121206283569, 0.521990954875946, -0.07584939152002335, -0.5416227579116821, -0.3295876681804657, -0.1954679787158966, -0.20868071913719177, -0.41556838154792786, -0.5763083696365356, -0.009836600162088871, 0.1683225780725479, 0.8041726350784302, -0.06550399214029312, -0.19846436381340027, -0.05380091443657875, -0.10220829397439957, -0.3087391257286072, 0.2120141237974167, 0.43989840149879456, 0.7948682904243469, -0.3804472088813782, 0.002337092300876975, 0.08441038429737091, -0.039940331131219864, 0.10316202789545059, 0.10486718267202377, 0.17184719443321228, -0.3529027998447418, 0.37348562479019165, 0.9002060890197754, 0.3380064368247986, -0.6376230716705322, 0.323078989982605, -0.4928448498249054, -0.11995798349380493, -0.4380638301372528, 0.29213616251945496, 0.1943851262331009, 0.17567658424377441, 0.046974871307611465, 0.07807493209838867, 0.30947065353393555, -0.4749353229999542, 0.07906293869018555, 0.43518877029418945, -1.065638542175293, -0.45467013120651245, 0.596520185470581, 0.19176004827022552, -0.20226001739501953, 0.4014202654361725, 0.2856587767601013, -0.16578885912895203, 0.17849013209342957, 0.6960475444793701, 0.9362942576408386, 0.08779684454202652, 0.32059386372566223, 0.05845744162797928, 0.062027156352996826, -0.24085864424705505, -0.07748730480670929, -0.4896770417690277, -0.7430672645568848, -0.5608695149421692, -0.26033663749694824, -0.5431249141693115, -0.011118240654468536, -0.7945417761802673, 0.3016302287578583, -0.5339391231536865, 0.04448193311691284, 0.4631040394306183, -0.18049204349517822, -0.496380090713501, 0.13922123610973358, 0.1655678004026413, 0.9418738484382629, -0.8760626912117004, 0.6526705026626587, 0.6818593144416809, -0.38736405968666077, -0.8803732991218567, -0.4545400142669678, 0.1479918211698532, -1.005038857460022, 0.5279665589332581, -0.07223102450370789, -0.6113451719284058, -0.13497619330883026, -0.36459076404571533, -0.5550230741500854, 0.916786253452301, 0.43660032749176025, -0.7720482349395752, 0.16405335068702698, -0.22138653695583344, 0.5890187621116638, -0.6567509770393372, 0.5979629755020142, 0.35616880655288696, 0.7321601510047913, 0.20006786286830902, -0.4932696521282196, 0.2995088994503021, -0.1682182401418686, -0.14207369089126587, 0.0755249559879303, -0.3406985104084015, 0.27726736664772034, -0.5462517738342285, 0.16707278788089752, 0.3367917239665985, 0.36559849977493286, 0.14270421862602234, 0.4928540587425232, 0.7990778684616089, 0.2169215977191925, 0.7512465119361877, 0.16279037296772003, 1.3026336431503296, -0.200519859790802, 0.020150719210505486, 1.443795084953308, -0.42414143681526184, 0.4298267960548401, 0.25221341848373413, 0.062014561146497726, 1.1765718460083008, 0.507171094417572, -0.1496466100215912, 0.24371279776096344, 0.15289486944675446, -0.2984505593776703, -0.7013413310050964, -0.43188026547431946, 0.03166057541966438, 0.3147468864917755, 0.31745678186416626, -0.7489397525787354, -0.20959119498729706, 0.24011942744255066, -0.17887070775032043, 0.09877900779247284, -0.34128910303115845, 0.855415403842926, 0.2770915627479553, -0.3659510910511017, 0.47701889276504517, -0.12472305446863174, 0.3377174139022827, -0.9369643330574036, -0.13108012080192566, 0.10458920150995255, 0.4583687484264374, -0.46235835552215576, -0.9712035059928894, -0.1416996419429779, -0.24655021727085114, -1.0682412385940552, -0.31569504737854004, 0.8275569081306458, -0.22650422155857086, -0.40515589714050293, 0.9164312481880188, 0.39898553490638733, 0.15637189149856567, -0.18107707798480988, -0.8591869473457336, -0.04376276209950447, 0.3778245151042938, -0.09703606367111206, 0.3441753387451172, 0.30385977029800415, -0.48232224583625793, 1.4466897249221802, 0.8845568299293518, 0.08400976657867432, -0.5346556305885315, 0.4178013503551483, 0.6482717990875244, -0.5879519581794739, -0.6827365159988403, -0.7312115430831909, 0.3728727102279663, 0.26064419746398926, 0.23571814596652985, 0.7918832302093506, 0.23269625008106232, 0.5200432538986206, 0.06852857023477554, 0.8308029174804688, 0.1587449312210083, 0.2865453362464905, -0.2102096825838089, 0.7758037447929382, -0.5943942666053772, 0.7442248463630676, -0.044751718640327454, -0.7989778518676758, -0.4225415885448456, 0.3424082398414612, -0.40524575114250183, 0.3645067512989044, 0.5649205446243286, 0.8636053800582886, -0.21975713968276978, 0.22713106870651245, 0.5329051613807678, 0.40374383330345154, 0.37752488255500793, 0.11493277549743652, 0.8508739471435547, -0.014274613000452518, 1.0525288581848145, -0.24948091804981232, -0.21681663393974304, -0.4503139555454254, -0.8811929821968079, -0.916340708732605, -0.53519606590271, -0.35844433307647705, -0.5513426065444946, 0.22352248430252075, 1.0411863327026367, 1.2276474237442017, -0.9421980977058411, -0.5282315015792847, -0.1202922910451889, 0.4558960795402527, -0.36056673526763916, -0.1893434226512909, 0.329060822725296, 0.13582125306129456, -0.3488686680793762, 0.6462580561637878, 0.18463298678398132, -0.10042507201433182, -0.5313687324523926, -0.39262858033180237, 0.2236950546503067, -0.02571760304272175, 0.46052470803260803, 0.2775147259235382, -0.8407495617866516, -0.12493107467889786, -0.07287321984767914, 0.38304784893989563, -0.14003340899944305, 1.1553467512130737, -0.9441749453544617, 0.8146207928657532, 0.6245490908622742, 0.023380471393465996, 0.5090199708938599, -0.1416192501783371, 1.028437614440918, -0.12466783076524734, -0.2576010227203369, -0.3322950005531311, 0.6322062611579895, 0.3482212424278259, -0.4604159891605377, 0.306410551071167, -0.3614276349544525, -0.7562874555587769, -0.645530641078949, 0.14818905293941498, -1.2078408002853394, -0.4618261456489563, 0.8838762044906616, -0.36607658863067627, -0.17833799123764038, -0.4224937856197357, -0.42899203300476074, 0.044683102518320084, -0.6992213129997253, 0.5821014642715454, 0.47188815474510193, -0.10055304318666458, -0.1996583491563797, -0.22066670656204224, 0.02291514165699482, 0.23520556092262268, -0.3002892732620239, 0.5906388163566589, 0.35329940915107727, 0.4443497657775879, -0.061129096895456314, 0.3454802334308624, 0.03912539780139923, 0.20634210109710693, -0.4156213104724884, 0.24077098071575165, -0.39340683817863464, -0.09881122410297394, -0.672366738319397, 0.2084331065416336, 0.38130176067352295, 0.3096131980419159 ]
http://arxiv.org/abs/2406.02376v2
http://arxiv.org/pdf/2406.02376v2
Retaining Key Information under High Compression Ratios: Query-Guided Compressor for LLMs
2024-06-04T14:53:24
2024-06-17T15:02:11
Zhiwei Cao, Qian Cao, Yu Lu, Ningxin Peng, Luyang Huang, Shanbo Cheng, Jinsong Su
cs.CL
cs.CL
The growing popularity of Large Language Models has sparked interest in context compression for Large Language Models (LLMs). However, the performance of previous methods degrades dramatically as compression ratios increase, sometimes even falling to the closed-book level. This decline can be attributed to the loss of key information during the compression process. Our preliminary study supports this hypothesis, emphasizing the significance of retaining key information to maintain model performance under high compression ratios. As a result, we introduce Query-Guided Compressor (QGC), which leverages queries to guide the context compression process, effectively preserving key information within the compressed context. Additionally, we employ a dynamic compression strategy. We validate the effectiveness of our proposed QGC on the Question Answering task, including NaturalQuestions, TriviaQA, and HotpotQA datasets. Experimental results show that QGC can consistently perform well even at high compression ratios, which also offers significant benefits in terms of inference cost and throughput.
[ -0.39013931155204773, -0.6752328872680664, 0.6263148188591003, 0.013227746821939945, -0.27525150775909424, 0.14005112648010254, -0.3213645815849304, 0.006934032309800386, -0.037593256682157516, 0.48707297444343567, -0.6563621163368225, -0.46064668893814087, -0.4176732003688812, 0.06323020905256271, -0.5844799876213074, 0.5489839911460876, 0.18327893316745758, -0.048033323138952255, -0.5860305428504944, 0.15657566487789154, -0.6440379023551941, -0.8620102405548096, -0.7856922149658203, 0.10264918953180313, 0.42767763137817383, 0.2992798089981079, 0.7952951788902283, 0.7554274201393127, 0.37235116958618164, 0.19543181359767914, -0.5699926614761353, 0.2839142978191376, -0.7041317820549011, 0.6790164113044739, 0.19625402987003326, -0.6118538975715637, -0.13175712525844574, -0.30902761220932007, 0.951779305934906, 0.6132671236991882, -0.5629885792732239, 0.1432776004076004, 0.15286244451999664, 0.6928355693817139, -0.678085207939148, 0.16481129825115204, -0.6147283315658569, -0.017467141151428223, -0.11914903670549393, -0.5482795834541321, -0.47333717346191406, -0.3925217092037201, -0.22390376031398773, -0.567058265209198, 0.17141278088092804, 0.24957668781280518, 0.6604427099227905, 0.816520631313324, -0.4612235128879547, -0.09085278958082199, -0.6259719133377075, 0.6249226331710815, -0.6291231513023376, 0.5302149653434753, 0.39511945843696594, 0.20832042396068573, -0.31937405467033386, -0.6410072445869446, -0.5179301500320435, 0.23290374875068665, 0.04433269798755646, 0.00619484344497323, -0.06033942475914955, 0.17760974168777466, 0.4998447597026825, 0.5537943840026855, -0.5171722769737244, -0.10292837768793106, -0.20318038761615753, -0.37275010347366333, 0.3466610908508301, 0.14576809108257294, 0.23024272918701172, -0.1973201185464859, -0.2410770058631897, -0.20926512777805328, -1.1160002946853638, 0.09196720272302628, 0.27735474705696106, 0.2351355254650116, 0.28419023752212524, 0.3460973799228668, -0.37907564640045166, 0.9634022116661072, 0.008700169622898102, -0.31622087955474854, -0.052466753870248795, -0.3784623146057129, -0.19561636447906494, -0.09740908443927765, 0.40080299973487854, 0.3174104690551758, 0.08477631956338882, -0.3498837947845459, -0.05573051795363426, -0.26909029483795166, 0.16990548372268677, -1.0184353590011597, -0.07908298075199127, 0.11996041238307953, -0.2802513837814331, -0.09616316109895706, 0.04538055509328842, -0.5720987319946289, -0.3364609181880951, -0.19678476452827454, 0.18887506425380707, -0.02495863102376461, 0.016376759856939316, 0.23206713795661926, -0.2457222044467926, 0.25370705127716064, 0.4175876975059509, -0.6522006392478943, 0.09222331643104553, 0.6375263929367065, 0.9170089960098267, -0.10105997323989868, 0.24336941540241241, -0.9466965794563293, 0.2640033960342407, -0.16662727296352386, 0.6857171654701233, -0.6779187917709351, -0.4626642167568207, 0.2337569296360016, 0.0718257874250412, 0.11412829905748367, -0.701326847076416, 0.9369170665740967, -0.9264401793479919, 0.17971988022327423, -0.5977088809013367, -0.6427254676818848, 0.130605086684227, 0.41175588965415955, -0.7345636487007141, 1.0912851095199585, 0.029744058847427368, -0.47073397040367126, 0.012559764087200165, 0.06120145320892334, -0.28038665652275085, 0.12229023873806, -0.15184751152992249, -0.0904558002948761, 0.3003385663032532, 0.49065202474594116, 0.31504079699516296, -0.6275290250778198, 0.11238335072994232, -0.13028782606124878, -0.5224303603172302, 0.12533824145793915, -0.48810383677482605, 0.5364986658096313, 0.18875433504581451, 0.22322125732898712, -0.12938115000724792, -0.4575422406196594, 0.135443776845932, -0.05439186096191406, -0.8592660427093506, -0.25720882415771484, 0.14461208879947662, -0.41931867599487305, 0.23927156627178192, 0.07467502355575562, -0.4781676232814789, 0.6697012782096863, -0.2603323757648468, 0.5900550484657288, 0.5239899158477783, 0.40426957607269287, 0.33669334650039673, -0.20546512305736542, 0.8617093563079834, -0.20239406824111938, 0.10657362639904022, -0.042477142065763474, -0.28608787059783936, -0.7197955250740051, -0.07093159109354019, 0.489616334438324, 0.43417736887931824, -1.0177949666976929, 0.30962055921554565, -0.426813006401062, -0.2799873948097229, -0.4538145959377289, -0.04027389734983444, 0.08192235231399536, 0.6723896265029907, 0.198583722114563, -0.057376109063625336, -0.2738092839717865, -0.7168337106704712, -0.30312708020210266, -0.24503688514232635, -0.327173113822937, 0.500026524066925, -0.24443860352039337, 0.10220656543970108, 0.7521408796310425, -0.7904137372970581, -0.06469117850065231, -0.019007496535778046, 0.12976953387260437, 0.27051466703414917, 0.36714667081832886, 0.32585251331329346, -0.8618480563163757, -0.1978837251663208, -0.6893913745880127, -0.2534365653991699, -0.49399200081825256, -0.006514751352369785, -0.3778468668460846, -0.04511748254299164, 0.7712135910987854, -0.769690990447998, 0.28476396203041077, 0.7656875848770142, -0.13024309277534485, 0.35017502307891846, 0.1382247805595398, 0.2668013870716095, -1.105408787727356, -0.11829215288162231, -0.3110823929309845, -0.3652065396308899, -0.4766222834587097, 0.04504336789250374, 0.18793794512748718, -0.23386025428771973, -0.4229978919029236, 0.42794594168663025, -0.6063218712806702, 0.07119956612586975, -0.24939344823360443, 0.08238416165113449, 0.2074962854385376, 0.5747504234313965, 0.07174830883741379, 1.197827696800232, 0.3995409309864044, -0.712349534034729, 0.3717954754829407, 0.36109459400177, -0.5340514183044434, 0.1737893521785736, -0.6216713786125183, 0.46851256489753723, -0.34340208768844604, 0.3842524588108063, -0.993486762046814, -0.13662080466747284, -0.09201325476169586, -0.36683276295661926, 0.4830036759376526, -0.4428098499774933, -0.8367667198181152, -0.26954928040504456, -0.26949793100357056, 0.5197882652282715, 0.6586331129074097, -0.5514394044876099, 0.3634113669395447, 0.4293624460697174, -0.28878313302993774, -0.5265961289405823, -0.697380542755127, 0.08382957428693771, -0.2441863864660263, -0.5866297483444214, 0.6041404008865356, -0.371788889169693, 0.1626834124326706, -0.05451711639761925, -0.4672884941101074, -0.046991731971502304, 0.12680871784687042, 0.19188325107097626, 0.18974536657333374, -0.00849925447255373, 0.6179146766662598, -0.0022239750251173973, 0.25305309891700745, 0.11410313099622726, -0.42145034670829773, 0.7924872636795044, 0.028608478605747223, -0.1179051473736763, -0.13963311910629272, 0.30355942249298096, 0.4382491409778595, -0.1672331541776657, 0.923907995223999, 0.1877240091562271, -0.38105952739715576, -0.06027260050177574, -0.5468254089355469, -0.14148633182048798, -0.487566739320755, 0.17235220968723297, -0.2588001489639282, -1.2025693655014038, 0.44010618329048157, -0.2948708236217499, -0.15687261521816254, 0.31666046380996704, 0.562632143497467, 0.014686079695820808, 1.0033122301101685, 0.5392791032791138, -0.1636330932378769, 0.5929049849510193, -0.12801609933376312, 0.30961236357688904, -0.8518940210342407, -0.16177445650100708, -0.6483758091926575, -0.29564574360847473, -0.4278608560562134, -0.5297914147377014, 0.7187017202377319, 0.45717376470565796, -0.1069178357720375, 0.047510527074337006, -0.5592479705810547, 0.627336323261261, 0.5259604454040527, 0.04122849926352501, 0.2923854887485504, 0.05403679236769676, 0.12250542640686035, 0.2118363380432129, -1.0582263469696045, -0.3828192353248596, 0.7449233531951904, 0.1464996188879013, 0.9902819395065308, 0.40512603521347046, 0.5267693400382996, 0.09026127308607101, 0.07412315160036087, -0.9661035537719727, 0.5698242783546448, 0.20375755429267883, -0.5551120042800903, -0.35723450779914856, -0.6147428154945374, -0.8017386198043823, 0.05862659588456154, -0.11936976760625839, -0.5174019932746887, 0.23791509866714478, 0.277713418006897, -0.647249698638916, 0.1399000883102417, -0.43301886320114136, 0.552634060382843, -0.052950020879507065, -0.4698770046234131, -0.012798264622688293, -0.5990973711013794, 0.2363622486591339, 0.05230972543358803, -0.093806691467762, -0.0030993768014013767, -0.2539482116699219, 0.742021381855011, -0.5589017271995544, 0.4717126488685608, -0.14667916297912598, -0.04382126033306122, 0.28613561391830444, 0.08658041059970856, 0.5670254230499268, 0.279880166053772, -0.18718430399894714, -0.08037286251783371, 0.24938717484474182, -0.35614272952079773, -1.0676758289337158, 0.7258819341659546, -0.4086178243160248, -1.050519585609436, -0.26240187883377075, -0.7328033447265625, -0.5257234573364258, 0.08611879497766495, 0.16982753574848175, 0.5391303300857544, 0.16758662462234497, 0.6621091365814209, 0.843745768070221, -0.23448097705841064, 0.3664032518863678, 0.35690855979919434, 0.10278350114822388, -0.3888496458530426, 0.3790503144264221, 0.010812388733029366, 0.3502295911312103, 0.4825900197029114, 0.26446306705474854, -0.38077130913734436, -0.6378023624420166, -0.37419745326042175, 0.17328469455242157, -0.6746715903282166, -0.630355715751648, -0.33679232001304626, -0.2391752302646637, -0.6227055788040161, 0.16955700516700745, -0.08862509578466415, -0.5720508694648743, -0.22719207406044006, 0.1094784289598465, 0.18053792417049408, 0.29133227467536926, 0.3527606427669525, 0.43606388568878174, -0.9891510605812073, 0.09553474187850952, 0.2560447156429291, 0.1611434519290924, -0.016942298039793968, -0.6010618209838867, -0.2723621726036072, -0.11151419579982758, -0.1576927900314331, -0.9678081274032593, 0.5370444655418396, 0.33902865648269653, 0.40036940574645996, 0.36461973190307617, 0.5835622549057007, 0.7610872387886047, -0.3356357216835022, 1.0312227010726929, -0.16344867646694183, -0.6261852979660034, 0.3727622926235199, -0.15478773415088654, 0.8037828803062439, 0.5575472116470337, 0.4996248781681061, -0.8002827167510986, -0.17873303592205048, -0.39449435472488403, -0.93519127368927, 0.536899745464325, 0.06875032931566238, 0.13446037471294403, -0.09991627931594849, 0.7713878154754639, -0.33613353967666626, 0.573971152305603, -0.5080183744430542, -0.08778509497642517, 0.13769574463367462, -0.2794989049434662, 0.19236817955970764, -0.4707450568675995, -0.2280392050743103, -0.285631000995636, 0.6148152947425842, -0.2584625482559204, 0.3532695174217224, 0.29035520553588867, -0.07634971290826797, -0.0200573168694973, 0.35150840878486633, 0.4028303027153015, 0.3240976929664612, -0.21806281805038452, 0.23764829337596893, 0.07224779576063156, -0.37842583656311035, 0.04069863632321358, 0.01324949599802494, -0.273502379655838, -0.2875746190547943, 0.18126945197582245, 0.7859767079353333, -0.028423063457012177, -0.8266384601593018, 0.48997077345848083, -0.38511863350868225, -0.04266147315502167, -0.12984907627105713, 0.20972475409507751, 0.10981635004281998, 0.1333874762058258, 0.42274636030197144, -0.2903696298599243, 0.1472269892692566, -0.6768862009048462, -0.16934609413146973, 0.542281448841095, -0.10256075859069824, 0.054718952625989914, 0.5004044771194458, 0.07716847211122513, -0.0868469849228859, 0.9821378588676453, 0.02351609617471695, -0.7776169776916504, 0.2955833673477173, 0.3452247679233551, 0.7091657519340515, -0.09033828973770142, -0.2957112193107605, 0.4104319214820862, 0.21335823833942413, -0.3137207329273224, 0.31027737259864807, -0.4791187644004822, -0.41615504026412964, -0.5835882425308228, -0.6998198628425598, -0.43546390533447266, 0.22988852858543396, -0.663894772529602, 0.14031828939914703, -0.20882001519203186, -0.18072821199893951, -0.4684041738510132, 0.01656069979071617, -0.6075488924980164, 0.17943105101585388, 0.09702278673648834, 1.2020058631896973, -0.3855516314506531, 0.8816160559654236, 0.2602635622024536, -0.33571016788482666, -1.001650333404541, 0.3263821303844452, -0.014841937460005283, -0.703060507774353, 0.6786848902702332, -0.01681402325630188, -0.13646449148654938, 0.1176459789276123, -0.6801967620849609, -1.4052777290344238, 1.1048177480697632, 0.5673145651817322, -0.6680946946144104, -0.42441606521606445, 0.026878533884882927, 0.42911890149116516, -0.16986067593097687, -0.10796470195055008, 0.5679316520690918, 0.4336417019367218, 0.496988445520401, -0.757003128528595, 0.1871543973684311, -0.1981222778558731, -0.07182713598012924, 0.4462308883666992, -0.6138592958450317, 0.5724464058876038, 0.1543988436460495, -0.6421071887016296, 0.16534645855426788, 0.5641084313392639, -0.02335629053413868, -0.1372871994972229, 0.5154744386672974, 0.6167595386505127, 0.9252593517303467, -0.319959819316864, 1.2537416219711304, -0.6758108139038086, 0.22668971121311188, 0.92889404296875, 0.09300439059734344, 1.0447473526000977, 0.48404014110565186, 0.06583748757839203, 0.2717641294002533, 0.7779399752616882, 0.2427220642566681, 0.586564302444458, 0.32137420773506165, -0.4302619993686676, -0.37949565052986145, -0.3323212265968323, -0.25367456674575806, 0.13839216530323029, 0.22445450723171234, -0.23685280978679657, 0.15866246819496155, -0.3430851101875305, 0.02296694740653038, -0.1828407347202301, -0.2597317695617676, 0.6805249452590942, 0.03449525684118271, -1.102372646331787, 0.9553060531616211, -0.1457580029964447, 0.3956928849220276, -0.48810678720474243, 0.1012108325958252, -0.3401225507259369, -0.2559826374053955, -0.1298278272151947, -0.6886897087097168, 0.26268017292022705, -0.1135597825050354, -0.30137917399406433, -0.523914635181427, 0.7521382570266724, -0.8574596047401428, -0.1279771327972412, -0.3032206594944, 0.4546051025390625, 0.19184719026088715, -0.3359716832637787, -0.2691589295864105, 0.2614261209964752, -0.18126477301120758, -0.30583685636520386, 0.2620203495025635, 0.27336251735687256, 0.0760490670800209, 0.5899454951286316, 0.5190455913543701, 0.31559863686561584, 0.11294656246900558, 0.14522404968738556, 1.1227940320968628, -0.6948891282081604, -0.3396627604961395, -0.5929999351501465, 0.07208087295293808, -0.19812726974487305, -0.03160151466727257, 0.7614870071411133, 0.5598562359809875, 0.7131907343864441, 0.1581268012523651, 0.5948858261108398, 0.3083747625350952, 0.4396582543849945, -0.8828654289245605, 0.44414928555488586, -0.6674237251281738, 0.46445977687835693, 0.10035412013530731, -0.9925497174263, -0.31298479437828064, 0.24846117198467255, -0.1064225509762764, -0.13391271233558655, 0.6700513362884521, 0.9639459252357483, 0.16657070815563202, -0.25708064436912537, 0.306629478931427, 0.03101520799100399, 0.46858730912208557, 0.7257875800132751, 0.8489985466003418, -0.2349938154220581, 0.8975875973701477, -0.016894305124878883, -0.1050916314125061, -0.14138862490653992, -1.0803427696228027, -0.6301015019416809, -0.48264366388320923, -0.39475521445274353, -0.3418445885181427, 0.004043423105031252, 0.8216891288757324, 0.8646609783172607, -0.3685169219970703, -0.0050255050882697105, -0.07168164849281311, -0.003067298559471965, -0.07267460972070694, -0.21171095967292786, 0.3745138645172119, -0.2628661096096039, -0.8260319232940674, 0.5859866738319397, 0.25865310430526733, -0.03688044100999832, -0.3594037890434265, 0.0455172061920166, -0.03790019080042839, 0.2658783495426178, 0.502507209777832, 0.27484259009361267, -0.683552086353302, -0.19908441603183746, 0.21354229748249054, 0.014805967919528484, 0.001148949726484716, 0.9977169632911682, -1.10722017288208, 0.36979299783706665, 0.9071149230003357, 0.9504721760749817, 0.5424478054046631, 0.42852139472961426, 0.7272778153419495, -1.0263959169387817, 0.025104831904172897, 0.3131433427333832, 0.4206387400627136, 0.4139370322227478, -0.5519900321960449, 0.5514114499092102, 0.13191130757331848, -0.8093276023864746, -0.9049488306045532, 0.2649855613708496, -0.9495384693145752, -0.32774192094802856, 1.4063729047775269, 0.017281141132116318, -0.24239054322242737, 0.2764362692832947, -0.3067476153373718, 0.3846144378185272, -0.468280166387558, 0.7095444798469543, 1.0566649436950684, -0.29965779185295105, -0.5335808396339417, -0.4863458573818207, 0.8007981777191162, 0.49893704056739807, -0.6148675084114075, 0.31205490231513977, 0.7931951880455017, -0.05553881451487541, 0.03944295644760132, 0.3073679208755493, -0.0443553626537323, 0.040973126888275146, -0.3560541272163391, -0.21908296644687653, -0.09327854216098785, -0.2348727583885193, -0.5571758151054382, 0.5471166968345642, 0.29235291481018066, -0.04550568014383316 ]
http://arxiv.org/abs/2406.02368v1
http://arxiv.org/pdf/2406.02368v1
Large Language Models Make Sample-Efficient Recommender Systems
2024-06-04T14:46:25
2024-06-04T14:46:25
Jianghao Lin, Xinyi Dai, Rong Shan, Bo Chen, Ruiming Tang, Yong Yu, Weinan Zhang
cs.IR
cs.IR, cs.CL
Large language models (LLMs) have achieved remarkable progress in the field of natural language processing (NLP), demonstrating remarkable abilities in producing text that resembles human language for various tasks. This opens up new opportunities for employing them in recommender systems (RSs). In this paper, we specifically examine the sample efficiency of LLM-enhanced recommender systems, which pertains to the model's capacity to attain superior performance with a limited quantity of training data. Conventional recommendation models (CRMs) often need a large amount of training data because of the sparsity of features and interactions. Hence, we propose and verify our core viewpoint: Large Language Models Make Sample-Efficient Recommender Systems. We propose a simple yet effective framework (i.e., Laser) to validate the viewpoint from two aspects: (1) LLMs themselves are sample-efficient recommenders; and (2) LLMs, as feature generators and encoders, make CRMs more sample-efficient. Extensive experiments on two public datasets show that Laser requires only a small fraction of training samples to match or even surpass CRMs that are trained on the entire training set, demonstrating superior sample efficiency.
[ -0.32343485951423645, -0.24190747737884521, 0.5967090725898743, -0.061311278492212296, -0.22025291621685028, -0.15179269015789032, -0.4813237488269806, -0.46651050448417664, -0.0328948050737381, 0.6897408366203308, -0.35690852999687195, -0.5129607915878296, -0.5029401779174805, 0.19789360463619232, -0.6158033609390259, 1.003476619720459, 0.34322041273117065, 0.4226154685020447, -0.04710829630494118, -0.04083359241485596, -0.0773623064160347, -0.5611172914505005, -0.5620821118354797, -0.5407953262329102, 0.40319350361824036, 0.183785080909729, 0.6038564443588257, 0.7689834833145142, 0.7386743426322937, 0.26919782161712646, -0.2504326105117798, 0.34056952595710754, -0.6341684460639954, 0.18699517846107483, -0.07358861714601517, -0.4878236949443817, -0.3102957308292389, -0.2695983648300171, 0.6878530979156494, 0.8539818525314331, -0.1987295150756836, 0.06251750141382217, 0.3508267402648926, 0.8192498683929443, -0.5761160850524902, -0.15079233050346375, -0.8435873985290527, -0.0749821811914444, -0.08978153020143509, -0.03209112584590912, -0.5440869331359863, -0.5636996626853943, 0.2741657495498657, -0.5938332080841064, 0.41504180431365967, 0.2476903796195984, 0.5091004371643066, 0.06574498116970062, -0.18179607391357422, -0.4777240455150604, -1.0472568273544312, 0.8260899186134338, -0.7309309244155884, 0.6448990106582642, 0.3397027850151062, 0.497270792722702, -0.24791012704372406, -0.5108805894851685, -0.39424794912338257, -0.46307164430618286, 0.13260138034820557, -0.24470271170139313, -0.05122462660074234, 0.06494642794132233, 0.4386555254459381, 0.47833767533302307, -0.3952412009239197, 0.20807421207427979, -0.06394468992948532, -0.02656264416873455, 0.34689441323280334, 0.19710391759872437, 0.15112654864788055, 0.05469699949026108, -0.2478841245174408, -0.3105979561805725, -0.8609230518341064, 0.022017084062099457, 0.2753966152667999, 0.5606513023376465, 0.17587293684482574, 0.8428094387054443, -0.14815445244312286, 0.8258448839187622, -0.07167807221412659, -0.2853538990020752, -0.07405522465705872, -0.6740645170211792, -0.22185802459716797, -0.11226406693458557, 0.6439904570579529, 0.416761189699173, 0.39355698227882385, -0.13697119057178497, -0.31344372034072876, -0.059923205524683, 0.14424079656600952, -1.104475498199463, -0.19275671243667603, -0.010630100965499878, -0.3386201560497284, -0.06758500635623932, 0.053206782788038254, -0.3885861039161682, -0.5820206999778748, 0.049948811531066895, 0.00999394804239273, -0.5691919922828674, 0.03655707836151123, 0.4238000810146332, -0.4836477041244507, -0.07377403974533081, 0.36317721009254456, -1.031600832939148, 0.2763737738132477, 0.7849944829940796, 0.6697057485580444, 0.002928229048848152, -0.10924071818590164, -0.4567544460296631, 0.14138151705265045, -0.5341183543205261, 1.0089672803878784, -0.6475124955177307, -0.4959869384765625, 0.24884021282196045, -0.27655380964279175, 0.4263972043991089, -1.0263911485671997, 0.3967474102973938, -0.6459500789642334, -0.1182524561882019, -0.4493594169616699, -0.8480304479598999, -0.16865962743759155, 0.05164673924446106, -0.683626115322113, 1.0065497159957886, 0.1384783685207367, -0.15643656253814697, 0.8480595946311951, -0.43261948227882385, -0.26416826248168945, 0.22665855288505554, 0.21524161100387573, -0.14749088883399963, 0.15034396946430206, 0.22269688546657562, 0.6814669370651245, -0.45872965455055237, 0.20204511284828186, -0.728054940700531, -0.5905396342277527, 0.34894439578056335, -0.31369075179100037, 0.3085767924785614, 0.2809358835220337, -0.013246115297079086, -0.08910831809043884, -0.7475046515464783, -0.06855736672878265, -0.10077349096536636, -0.751579225063324, -0.5533385872840881, 0.06929253041744232, 0.3418167233467102, -0.187020942568779, 0.20549270510673523, -0.47040727734565735, 0.20614930987358093, -0.7165676951408386, 0.3147255778312683, 0.6217833161354065, -0.2782615125179291, 0.7603296041488647, -0.43201351165771484, 0.21168673038482666, -0.3356422781944275, -0.2206098437309265, -0.32990896701812744, -0.007841772399842739, -0.7862928509712219, -0.42576372623443604, 0.2984941303730011, 0.19937582314014435, -0.6936199069023132, 0.8380386829376221, -0.2728729844093323, -0.5899432897567749, -0.3382430076599121, 0.6558880805969238, 0.3622027635574341, -0.1319212168455124, 0.10495002567768097, -0.20917735993862152, -0.608525812625885, -0.8223154544830322, -0.2794680893421173, 0.18555258214473724, -0.3079979717731476, 0.37778449058532715, 0.24259930849075317, 0.07441432774066925, 0.8885279893875122, -0.3793191611766815, -0.22918827831745148, -0.6624730825424194, -0.6372030377388, 0.46955353021621704, 0.2578485608100891, 0.5393822193145752, -0.4506056010723114, -0.4273993968963623, -0.14645986258983612, -0.6758255958557129, -0.1492869257926941, -0.05671416595578194, 0.02371363341808319, -0.08069518953561783, 0.19636957347393036, -0.30678707361221313, -0.06556965410709381, 0.32119452953338623, -0.2809423506259918, 0.2855653166770935, -0.4468209743499756, -0.04008408263325691, -0.9725251793861389, -0.11380855739116669, 0.5166662931442261, -0.4194522798061371, -0.5615746974945068, -0.06717370450496674, -0.12498867511749268, -0.11298037320375443, -0.2735828757286072, 0.5118535161018372, -0.4241279065608978, -0.25353676080703735, -0.7307226061820984, 0.2269839197397232, 0.047613851726055145, 0.25907811522483826, -0.06304752081632614, 0.741242527961731, 0.279653400182724, -0.8301706910133362, 0.39257100224494934, -0.022852255031466484, -0.9061896800994873, 0.40818509459495544, -0.599619448184967, -0.03253448009490967, 0.12257474660873413, 0.4429936707019806, -0.73697829246521, 0.0013795732520520687, -0.07165371626615524, 0.10791008919477463, -0.0397648960351944, 0.12600886821746826, -0.6436111927032471, -0.263522207736969, -0.28366151452064514, 0.19746577739715576, 0.5763660669326782, -0.7668118476867676, 0.4903565049171448, 0.40467172861099243, 0.06483641266822815, -0.5808674097061157, -0.3269103467464447, -0.030307652428746223, 0.038612689822912216, -0.32622209191322327, 0.15667614340782166, -0.04495953768491745, -0.2863849401473999, 0.054043158888816833, 0.10645144432783127, 0.05446308106184006, 0.19340106844902039, 0.21942538022994995, 0.28217074275016785, -0.15700219571590424, 0.40079203248023987, -0.2544633150100708, -0.07074448466300964, -0.19958661496639252, -0.45095691084861755, 0.9100669622421265, -0.027576994150877, -0.5460138916969299, -0.46441417932510376, 0.10270566493272781, 0.3688898980617523, 0.07815830409526825, 0.6148784756660461, 0.38362038135528564, -0.17188246548175812, -0.6882166266441345, -0.7345325350761414, -0.4122781455516815, -0.5034925937652588, 0.7441773414611816, -0.24205546081066132, -1.01533842086792, 0.22203019261360168, -0.04844510927796364, 0.23000472784042358, 0.29058700799942017, 0.5936259031295776, -0.05317806079983711, 0.878711998462677, 0.6194905638694763, -0.2635138928890228, 0.6673192381858826, -0.29731592535972595, 0.20278114080429077, -0.8106216788291931, -0.03041076473891735, -0.7517471313476562, -0.1513909250497818, -0.3434477150440216, -0.4893498718738556, 0.2597702741622925, 0.2040334939956665, -0.19512811303138733, 0.30596035718917847, -0.48696133494377136, 0.5885230302810669, 0.6407075524330139, 0.19969645142555237, 0.3919411897659302, -0.007223227992653847, 0.05291982740163803, -0.007422029972076416, -0.8043981194496155, -0.6914165616035461, 1.093690276145935, 0.25393903255462646, 0.8038376569747925, -0.043054163455963135, 0.35992440581321716, 0.1390734165906906, 0.2528113126754761, -0.9233074188232422, 0.7610743641853333, -0.6554524898529053, -0.6392374634742737, -0.3222799003124237, -0.18172158300876617, -0.7119481563568115, 0.16792477667331696, -0.704865038394928, -0.15704236924648285, 0.10553144663572311, 0.09424781054258347, -0.35337528586387634, 0.5597034692764282, -0.3803173303604126, 0.2448086440563202, -0.14719465374946594, -0.2896411418914795, -0.5283291339874268, 0.13347989320755005, 0.28265872597694397, -0.22233988344669342, 0.009744950570166111, -0.2610810101032257, 0.01896512880921364, 0.7933068871498108, -0.4502512216567993, 0.6918236017227173, -0.2789544463157654, 0.03225798159837723, 0.04710814356803894, -0.04913962632417679, 0.44778624176979065, -0.19553570449352264, -0.43535855412483215, 0.08811719715595245, -0.23876193165779114, -0.1429455727338791, -0.745297908782959, 0.6114069223403931, -0.4902123808860779, -0.5536164045333862, -0.0741662085056305, -0.45363467931747437, -0.09398949146270752, 0.17973816394805908, -0.08121377229690552, 0.600023627281189, -0.2061692327260971, 0.751141369342804, 0.555329442024231, -0.31087633967399597, 0.30672556161880493, 0.6414064764976501, -0.5222311019897461, -0.35722383856773376, 0.7827180027961731, 0.10376481711864471, 0.16934680938720703, 0.3149670362472534, 0.22914263606071472, -0.3310454189777374, -1.044081687927246, -0.49030354619026184, 0.2771778106689453, -0.7146264314651489, 0.02917625568807125, -0.5336967706680298, -0.036487728357315063, -0.40462127327919006, -0.21797491610050201, -0.31914496421813965, -0.0854637399315834, -0.05855909362435341, -0.08966351300477982, 0.40646567940711975, 0.9338072538375854, 0.1920531839132309, 0.45988452434539795, -0.9354425072669983, 0.21755702793598175, 0.22488054633140564, 0.41329240798950195, 0.09509618580341339, -0.45758265256881714, -0.6289369463920593, -0.08400782942771912, 0.016449986025691032, -0.4269488453865051, 0.3901086151599884, 0.2447134554386139, 0.6840957403182983, 0.5297996401786804, -0.10632835328578949, 0.44742411375045776, -0.7017682194709778, 0.8612797260284424, 0.06474408507347107, -0.6936511397361755, 0.2312338799238205, -0.3177553713321686, 0.23935553431510925, 0.6092817187309265, 0.16083748638629913, -0.34945404529571533, -0.4488316774368286, -0.18889248371124268, -0.7378752827644348, 0.5562155246734619, -0.07548125833272934, 0.25369444489479065, 0.2431086003780365, 0.5556254386901855, 0.12454937398433685, 0.09149564802646637, -0.5689881443977356, -0.1597110629081726, 0.14590328931808472, -0.2481730431318283, -0.4627532660961151, -0.5488923192024231, 0.011024716310203075, 0.1496438980102539, 0.7781051397323608, -0.011607425287365913, -0.06205964833498001, 0.028804820030927658, -0.02882055751979351, 0.09872023016214371, 0.3241305351257324, 0.3611327111721039, 0.40656834840774536, -0.3546951413154602, 0.029547259211540222, 0.38781315088272095, -0.2669650912284851, 0.2584783136844635, -0.1339876502752304, -0.12441708892583847, 0.020274024456739426, 0.39323100447654724, 0.8491045236587524, 0.3970014750957489, -0.7578235864639282, 0.36760663986206055, 0.060067906975746155, -0.029029637575149536, -0.15763835608959198, 0.48368340730667114, 0.30737146735191345, 0.350576251745224, 0.49468448758125305, 0.08055315911769867, 0.3037266731262207, -0.4042108356952667, 0.1268109828233719, 0.7888646721839905, -0.22220608592033386, 0.08830563724040985, 0.19190844893455505, 0.3559024930000305, -0.5160990357398987, 0.2441236972808838, 0.16229309141635895, -0.33398500084877014, 0.43743622303009033, 0.5473592281341553, 0.7651076316833496, 0.2089030146598816, -0.16448572278022766, 0.30040761828422546, 0.12857982516288757, -0.522619366645813, -0.26018238067626953, -0.38781309127807617, -1.0782936811447144, -0.4196232557296753, -0.882871150970459, -0.6883630752563477, -0.045492421835660934, -0.6470290422439575, 0.3706039488315582, -0.6540026664733887, -0.19051365554332733, 0.1226436197757721, 0.007592799142003059, -0.6455517411231995, 0.18807482719421387, 0.02434021420776844, 0.9915037751197815, -0.5727710723876953, 1.0180697441101074, 0.38943418860435486, 0.21259674429893494, -0.8143254518508911, -0.2730175256729126, -0.26389196515083313, -0.8664933443069458, 0.888762891292572, 0.12116539478302002, -0.4656384587287903, -0.3171117305755615, -0.307582825422287, -0.5997099280357361, 0.7649340629577637, 0.39564642310142517, -0.844750702381134, 0.013992168940603733, 0.038491759449243546, 0.6982715129852295, -0.5471351146697998, 0.38225480914115906, 0.3257679045200348, 0.25645682215690613, 0.11275172233581543, -0.8137714862823486, 0.0015002815052866936, -0.2525336742401123, 0.4195549190044403, 0.14674322307109833, -0.31034624576568604, 0.4013770818710327, -0.17851009964942932, -0.12267529219388962, 0.050416626036167145, 0.7122045159339905, 0.489161878824234, 0.17731808125972748, 0.7062802910804749, 0.38780659437179565, 0.6252831220626831, -0.05951966345310211, 1.310573935508728, -0.5148935317993164, -0.005958865396678448, 1.020893931388855, -0.6635337471961975, 1.126728892326355, 0.16873572766780853, -0.3804963231086731, 0.32748353481292725, 0.46197274327278137, -0.4198504090309143, 0.4253852367401123, 0.13430316746234894, -0.2841329872608185, -0.5652952790260315, -0.21109715104103088, -0.3590400218963623, 0.513835608959198, 0.006211672909557819, -0.616000771522522, -0.2202426791191101, 0.17746451497077942, -0.3217921853065491, 0.2863505780696869, -0.18668369948863983, 1.049665927886963, 0.08913823962211609, -0.47109881043434143, 0.4696701765060425, -0.003629744052886963, 1.1244148015975952, -0.8578217625617981, 0.02133595570921898, 0.17890331149101257, 0.3541749119758606, 0.01651809737086296, -0.6091961860656738, -0.021735357120633125, 0.20149871706962585, -0.5045445561408997, -0.22150614857673645, 0.7381066083908081, -0.3459491431713104, -0.7085121273994446, 0.32252857089042664, 0.4311283528804779, 0.18973596394062042, 0.16616888344287872, -0.3507397472858429, -0.18648435175418854, 0.07154203206300735, -0.2879491448402405, 0.5134207606315613, 0.13160337507724762, 0.49905019998550415, 0.9101753234863281, 1.1344529390335083, 0.723435640335083, -0.26031801104545593, 0.12074722349643707, 0.7243614792823792, -0.6672898530960083, -0.4217953383922577, -1.066821813583374, -0.029540037736296654, -0.15667948126792908, -0.136450856924057, 1.0011122226715088, 0.7082186937332153, 0.9231228232383728, 0.09505480527877808, 0.8379396200180054, 0.5126454830169678, 0.8060534000396729, -0.7218953967094421, 0.6766588091850281, -0.41632744669914246, 0.8228796720504761, 0.09583640843629837, -1.1316282749176025, -0.2393186241388321, 0.571072518825531, -0.3850737512111664, 0.36851879954338074, 0.3916968107223511, 1.036278247833252, 0.2912575900554657, 0.13938188552856445, 0.5315771698951721, -0.09160535037517548, 0.42030295729637146, 0.6078073978424072, 0.772125780582428, -0.08244279026985168, 0.5379030704498291, -0.3046148121356964, -0.06088406592607498, -0.39751726388931274, -0.7130132913589478, -0.9313045740127563, -0.3804177939891815, 0.2412940114736557, -0.5647677779197693, 0.0568542554974556, 1.3556039333343506, 0.8048222064971924, -0.7501633763313293, -0.5599157214164734, 0.12955878674983978, 0.04582710564136505, -0.14906829595565796, -0.15948094427585602, 0.23302985727787018, -0.2575320601463318, -1.1265943050384521, 0.6351155638694763, 0.26046672463417053, 0.08371421694755554, -0.5056067705154419, 0.002758776769042015, 0.295756071805954, -0.06799478083848953, 0.5206738114356995, -0.21226374804973602, -0.6385452747344971, -0.13720571994781494, -0.017727475613355637, -0.4498576819896698, -0.036682236939668655, 1.0430022478103638, -0.781240701675415, 0.3569658100605011, 0.3936478793621063, 0.7242839932441711, 0.33364829421043396, -0.17110683023929596, 0.8484830260276794, -0.08077553659677505, 0.04452821984887123, 0.1948278546333313, 0.539569079875946, 0.43672987818717957, -0.16577178239822388, 0.2667931616306305, 0.020768387243151665, -0.606859028339386, -1.0497241020202637, 0.0668385922908783, -0.8710598945617676, -0.4088282585144043, 1.4213809967041016, -0.12974482774734497, -0.1957714706659317, -0.1341678500175476, -0.24223613739013672, 0.23353815078735352, -0.6673474907875061, 0.6586705446243286, 0.7271484136581421, 0.06481996923685074, 0.15161022543907166, -0.4162682592868805, 0.5563971996307373, 0.5356706380844116, -0.5810791850090027, 0.2018355280160904, 0.4418770968914032, 0.34897589683532715, 0.056623250246047974, 0.5672339200973511, 0.23982706665992737, 0.12240305542945862, -0.02281813882291317, 0.11244049668312073, -0.3644804358482361, -0.1796153485774994, -0.6160566806793213, 0.5552837252616882, 0.4224422872066498, 0.1767950803041458 ]
http://arxiv.org/abs/2406.02356v1
http://arxiv.org/pdf/2406.02356v1
Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
2024-06-04T14:34:39
2024-06-04T14:34:39
Andrew Gambardella, Yusuke Iwasawa, Yutaka Matsuo
cs.LG
cs.LG, cs.AI, cs.CL
The ability (and inability) of large language models (LLMs) to perform arithmetic tasks has been the subject of much theoretical and practical debate. We show that LLMs are frequently able to correctly and confidently predict the first digit of n-digit by m-digit multiplication tasks without using chain of thought reasoning, despite these tasks require compounding operations to solve. Simultaneously, LLMs in practice often fail to correctly or confidently predict the last digit of an n-digit by m-digit multiplication, a task equivalent to 1-digit by 1-digit multiplication which can be easily learned or memorized. We show that the latter task can be solved more robustly when the LLM is conditioned on all of the correct higher-order digits, which on average increases the confidence of the correct last digit on 5-digit by 5-digit multiplication tasks using Llama 2-13B by over 230% (0.13 to 0.43) and Mistral-7B by 150% (0.22 to 0.55).
[ -0.3101107180118561, -0.8293160200119019, 0.7042698264122009, 0.5649569630622864, -0.2395045906305313, 0.08493806421756744, -0.3349365293979645, -0.513825535774231, 0.009251078590750694, 0.36648133397102356, -0.43739160895347595, -0.1550908237695694, -0.8894175887107849, 0.12157035619020462, -0.244832843542099, 0.7292149662971497, 0.051307518035173416, 0.23185695707798004, -0.2653709948062897, 0.028997007757425308, -0.09452130645513535, -1.0476820468902588, -0.5678285956382751, -0.5564306974411011, 0.46930333971977234, 0.407344251871109, 0.8232780694961548, 0.6014880537986755, 0.8296132683753967, 0.4191037714481354, -0.09961556643247604, 0.19716273248195648, -0.4791679084300995, -0.06650077551603317, 0.18804967403411865, -0.8249225616455078, -0.6736385226249695, -0.10324867814779282, 0.42586612701416016, 1.1460233926773071, -0.3572571277618408, 0.05147024244070053, -0.3618720471858978, 0.8971539735794067, -0.3740096092224121, 0.45317062735557556, -0.6936869621276855, -0.34150153398513794, -0.07238613814115524, -0.13364370167255402, -0.6091074347496033, -0.3233790993690491, -0.3659646809101105, -0.6381525993347168, -0.10207290202379227, 0.17709839344024658, 0.38621681928634644, 0.3008311688899994, -0.38806042075157166, -0.35579416155815125, -0.9264068603515625, 0.8541541695594788, -0.5731593370437622, 0.3914046585559845, 0.7185770869255066, 0.03334317356348038, -0.26371076703071594, -0.3774290084838867, -0.6145095229148865, -0.356957346200943, 0.09641856700181961, -0.35556134581565857, -0.24268952012062073, 0.2426050752401352, 0.7451731562614441, 0.36630934476852417, -0.020688463002443314, 0.08815113455057144, -0.49581632018089294, -0.09766139090061188, 0.6328333020210266, 0.39534392952919006, 0.21480251848697662, 0.09035976976156235, -0.1808851659297943, -0.17835919559001923, -1.0629794597625732, 0.13516022264957428, 0.21570098400115967, 0.19557435810565948, 0.031511854380369186, 0.8248264193534851, -0.20739999413490295, 0.6766229271888733, 0.00724641652777791, -0.4705868661403656, 0.2625029981136322, -0.05633879452943802, -0.5025569200515747, -0.20156380534172058, 0.4238499701023102, 0.21437181532382965, 0.6514939069747925, 0.1074085608124733, -0.6118705868721008, 0.44180265069007874, 0.041819941252470016, -0.814119279384613, -0.017307134345173836, 0.042656075209379196, 0.02778124436736107, -0.20459897816181183, -0.05192055553197861, -0.025650950148701668, -0.21230359375476837, -0.4355800151824951, 0.7213932871818542, -0.3015930652618408, -0.008676883764564991, 0.37421682476997375, 0.14118866622447968, -0.21306659281253815, 0.6229193806648254, -0.976451575756073, 0.56208735704422, 1.1693931818008423, 0.5928710103034973, 0.08602619916200638, -0.28564536571502686, -0.3794323801994324, -0.28806549310684204, -0.8131488561630249, 0.3325360119342804, -0.4473526179790497, -0.38260453939437866, -0.24172411859035492, -0.033037662506103516, -0.19321465492248535, -0.594832718372345, 0.48257797956466675, -0.6831353306770325, -0.0638088807463646, -0.19811730086803436, -0.6000133752822876, -0.17993687093257904, 0.0727553591132164, -0.7518680691719055, 0.6457653641700745, 0.07365719228982925, -0.4998929798603058, 0.004400176461786032, 0.052248887717723846, -0.5161623954772949, -0.2706860899925232, 0.03629627451300621, -0.16365019977092743, 0.5106309056282043, 0.13422276079654694, 0.49720996618270874, -0.4248664379119873, 0.24921393394470215, -0.5789783596992493, -0.5793458819389343, 0.36770251393318176, -0.8209277391433716, 0.7760621309280396, -0.03025531955063343, -0.15946711599826813, -0.26143309473991394, -0.679989218711853, -0.05644107609987259, -0.011485612019896507, -0.46889495849609375, -0.28594642877578735, -0.00850207544863224, -0.581315815448761, 0.43632635474205017, 0.2927911877632141, -0.5187473893165588, 0.3991706371307373, -0.6498321294784546, 0.19023241102695465, 0.8612914681434631, -0.25637632608413696, 0.5042125582695007, -0.5390223264694214, 0.4596289098262787, 0.07918155938386917, -0.038117337971925735, -0.368594229221344, -0.5999636054039001, -1.0625087022781372, -0.10775256156921387, 0.21644210815429688, 0.6785281300544739, -0.9971103668212891, -0.0251762717962265, -0.5119355916976929, -0.6484447717666626, -0.24068303406238556, 0.4383765757083893, 0.6735210418701172, 0.4670848846435547, 0.17907817661762238, -0.13345371186733246, -0.34755992889404297, -0.8318271636962891, -0.13093046844005585, -0.3233708441257477, 0.025039395317435265, 0.12419755756855011, 0.3481850028038025, 0.11672008037567139, 0.19844003021717072, -0.4837827682495117, -0.10431601107120514, -0.12288215011358261, 0.2878120243549347, 0.6652548909187317, 0.4485947787761688, 0.04319338873028755, -0.7762426137924194, -0.31264394521713257, -0.03992227092385292, -0.6086059212684631, 0.025951141491532326, 0.02702648751437664, 0.4065714478492737, 0.6254740953445435, 0.35981082916259766, -1.0359525680541992, 0.4171881675720215, 0.5831767320632935, -0.3010346591472626, 0.4197666645050049, -0.5374701619148254, -0.08329270035028458, -0.629185676574707, -0.37972292304039, 0.14057807624340057, -0.31956619024276733, -0.9584217071533203, 0.022542878985404968, 0.2429029643535614, 0.2550891041755676, -0.3144637644290924, 0.36139270663261414, -0.3566685616970062, -0.053132981061935425, -0.34418562054634094, -0.48121196031570435, -0.13662369549274445, 0.652929961681366, 0.049853622913360596, 0.745193362236023, 0.4009415805339813, -0.5682942271232605, 0.16585169732570648, -0.38084104657173157, -0.580633282661438, 0.24164322018623352, -0.8090044856071472, 0.1252494603395462, -0.13802854716777802, 0.011248825117945671, -0.7654797434806824, -0.21472911536693573, -0.20457062125205994, -0.4659941792488098, 0.31784507632255554, 0.09400494396686554, -0.5564850568771362, -0.3684055209159851, -0.07681552320718765, 0.5211261510848999, 0.780782163143158, -0.3054363429546356, 0.635769784450531, 0.24147741496562958, -0.4194219410419464, -0.6481574177742004, -0.6480417251586914, -0.16701428592205048, -0.06672139465808868, -0.6018186211585999, 0.09956809133291245, -0.06556819379329681, -0.7259015440940857, -0.316543847322464, -0.12317627668380737, -0.12395558506250381, 0.20827598869800568, 0.5797996520996094, 0.6606865525245667, -0.060154981911182404, 0.17055653035640717, -0.36378246545791626, -0.3240218758583069, 0.27802738547325134, 0.06350787729024887, 0.5360724329948425, -0.13823215663433075, -0.6942449808120728, -0.22039325535297394, 0.11906280368566513, 0.8039324879646301, 0.13526755571365356, 0.5857987403869629, 0.17579463124275208, -0.6399142146110535, -0.03774324059486389, -0.698035717010498, -0.013846238143742085, -0.4995781481266022, 0.24645307660102844, -0.7520366311073303, -0.918549656867981, 0.1765020191669464, 0.2590161859989166, 0.07229544222354889, 0.5018181204795837, 0.8244736790657043, -0.13537824153900146, 1.3437330722808838, 0.5408465266227722, -0.028073012828826904, 0.01469141710549593, -0.016803229227662086, 0.29744380712509155, -0.5680716633796692, -0.2125655561685562, -0.3728983402252197, -0.02948611043393612, -0.7087300419807434, -0.7493821382522583, 0.3653643727302551, 0.22699853777885437, -0.3967767357826233, 0.15312406420707703, -0.10425262898206711, 0.543531060218811, 0.7769969701766968, 0.17719332873821259, 0.38097020983695984, 0.12234177440404892, 0.035759177058935165, -0.07258172333240509, -0.35021352767944336, -0.33376413583755493, 1.1490105390548706, 0.41449400782585144, 1.0368151664733887, 0.11998159438371658, 0.6884713768959045, 0.18561336398124695, 0.5972661375999451, -0.8987398147583008, 0.5386872887611389, -0.3296146094799042, -0.650311291217804, -0.4438263773918152, -0.5821087956428528, -0.5664336681365967, 0.316943883895874, -0.11180673539638519, -0.6167240142822266, 0.32136934995651245, 0.1539512723684311, -0.2744150757789612, 0.3304973244667053, -0.7787843942642212, 0.1140863299369812, -0.24033388495445251, -0.19641049206256866, -0.36926960945129395, -0.3185296356678009, 0.6249567866325378, -0.4245277941226959, 0.7053853869438171, -0.3768068850040436, -0.2198074609041214, 0.47036781907081604, -0.6875974535942078, 0.8887954354286194, -0.06184462085366249, -0.1795119196176529, 0.13318294286727905, 0.5253345966339111, 0.7126008868217468, -0.2823542356491089, -0.31720179319381714, 0.02868380770087242, -0.18460699915885925, -0.39251333475112915, -0.9023357033729553, 0.5689747333526611, -0.780490517616272, -1.041657567024231, -0.462776243686676, -0.5851567983627319, -0.27832797169685364, -0.07664769887924194, -0.05239807814359665, 0.5621145963668823, 0.17870786786079407, 0.280238538980484, 0.5153969526290894, 0.3640764057636261, 0.5997077822685242, 0.28850623965263367, -0.3449305593967438, -0.6093006730079651, 1.0541430711746216, 0.34423208236694336, 0.6441472768783569, 0.3823557496070862, 0.055152006447315216, -0.18674850463867188, -0.3773375451564789, -0.33867865800857544, 0.1582493782043457, -0.8138664364814758, -0.07627124339342117, -0.43444663286209106, -0.07602834701538086, -0.039094019681215286, -0.04016687721014023, -0.11890601366758347, -0.9745311737060547, -0.08621598780155182, -0.26395758986473083, 0.0945778489112854, 0.8831357359886169, -0.18486388027668, 0.2337932288646698, -0.667824387550354, 0.47898826003074646, 0.6058644652366638, 0.10280325263738632, 0.06311268359422684, -0.7407097220420837, -0.13301096856594086, 0.20656010508537292, -0.01503775455057621, -0.6426510810852051, 0.4794953763484955, 0.1919940859079361, 0.19482837617397308, 0.3973596394062042, -0.2598381042480469, 0.7664883732795715, -0.5167185664176941, 0.45824334025382996, 0.3575456142425537, -1.0324747562408447, -0.1572795808315277, -0.1586546003818512, 0.0004162825644016266, 0.24296200275421143, 0.5094071626663208, -0.29266998171806335, -0.0062836236320436, -0.696873664855957, -0.6043518781661987, 0.6535755395889282, 0.1484421044588089, 0.3275224268436432, -0.037834882736206055, 0.23532238602638245, -0.11047107726335526, 0.3765794634819031, -0.7030506730079651, -0.3499084413051605, 0.1471889466047287, -0.033947985619306564, -0.5072419047355652, -0.5217249989509583, -0.018070027232170105, -0.40498870611190796, 0.6894096732139587, -0.00401259632781148, 0.16006231307983398, -0.043792810291051865, -0.12447177618741989, -0.24983921647071838, 0.23904399573802948, 0.8585376143455505, 0.775641918182373, -0.1813286542892456, 0.3663230836391449, 0.3526652753353119, -0.3128209114074707, 0.47481030225753784, -0.06904739141464233, -0.11382464319467545, -0.1936737298965454, 0.7742470502853394, 0.8867383599281311, 0.3583572804927826, -0.5569013357162476, 0.5626822710037231, 0.13813461363315582, -0.3490237891674042, -0.3179275691509247, 0.20759476721286774, 0.4699682891368866, -0.08975295722484589, 0.5071524977684021, 0.005889777559787035, -0.20956873893737793, -0.5853043794631958, 0.012551904655992985, 0.4979671835899353, -0.19939756393432617, -0.36995312571525574, 0.28983011841773987, -0.014424500986933708, -0.6667097806930542, 0.6971337199211121, -0.22396400570869446, -0.6120792031288147, 0.892983615398407, 0.7744553685188293, 0.4821240305900574, -0.2699817419052124, -0.05201616883277893, 0.281438410282135, 0.48432499170303345, -0.39172491431236267, 0.47086629271507263, 0.11040695756673813, -0.8425494432449341, -0.751975417137146, -0.768379271030426, -0.5951500535011292, -0.371901273727417, -0.49087458848953247, -0.015421825461089611, -0.6705233454704285, -0.2590695321559906, 0.1771327257156372, 0.049239106476306915, -0.7395421862602234, 0.5902424454689026, 0.23898841440677643, 1.0808274745941162, -0.8418436646461487, 0.8726869821548462, 0.44932642579078674, -0.13396169245243073, -1.0987415313720703, -0.7226154208183289, -0.02942059002816677, -1.309017539024353, 0.9298677444458008, 0.21537859737873077, -0.09802541881799698, -0.12269067019224167, -0.4306982159614563, -0.9147963523864746, 0.7786175012588501, 0.41385534405708313, -0.8482402563095093, -0.17765864729881287, 0.47412678599357605, 0.6499185562133789, -0.4380507469177246, 0.38960814476013184, 0.3817121684551239, 0.545483410358429, 0.31430119276046753, -1.0950944423675537, -0.009377683512866497, -0.3022926151752472, -0.12059345096349716, 0.3931747078895569, -0.5941504836082458, 1.4207252264022827, -0.628727912902832, 0.007249854505062103, -0.10433381795883179, 0.4682014584541321, 0.2904788553714752, 0.3745717406272888, 0.7383989691734314, 0.8499869108200073, 0.7311998605728149, -0.3631353974342346, 1.365391731262207, -0.3934824466705322, 0.13108713924884796, 0.9591479897499084, -0.14055606722831726, 1.0846633911132812, 0.5056424736976624, -0.518005907535553, 0.46336206793785095, 0.41114068031311035, 0.27960655093193054, 0.08154509961605072, 0.20080988109111786, -0.3740155100822449, -0.8610677123069763, 0.0876537337899208, -0.027295084670186043, 0.48971468210220337, 0.5690279603004456, -0.15920625627040863, 0.20734548568725586, -0.2552673816680908, 0.0584370493888855, -0.05551346018910408, -0.48172953724861145, 0.745897650718689, 0.597406804561615, -0.7868285775184631, 0.7085328698158264, 0.14501440525054932, 0.5510250926017761, -0.4274226725101471, -0.06583075225353241, -0.2420692890882492, 0.17765210568904877, -0.26573723554611206, -0.64260333776474, 0.18919774889945984, -0.17631275951862335, -0.22138653695583344, -0.07329710572957993, 0.7098842263221741, -0.2565179765224457, -1.1350430250167847, 0.013991155661642551, 0.6950596570968628, -0.02236425317823887, -0.22467179596424103, -0.3419516682624817, 0.0933389887213707, -0.05053282901644707, -0.4455278813838959, 0.30280715227127075, 0.3871188461780548, -0.28108853101730347, 1.1699022054672241, 0.9413620829582214, 0.3278892934322357, 0.1665312796831131, -0.07216161489486694, 0.6931557655334473, -0.8922009468078613, -0.12670090794563293, -1.2197803258895874, 0.10151006281375885, 0.16248464584350586, 0.05849912390112877, 0.4897749125957489, 0.31597432494163513, 0.7122320532798767, 0.02365514636039734, 0.48151543736457825, 0.2601427137851715, 0.3073081374168396, -0.4839874804019928, 0.18809673190116882, -0.44298967719078064, 0.3682897388935089, 0.18302883207798004, -0.8772791028022766, -0.31566280126571655, 0.43997645378112793, -0.3941292464733124, 0.17718824744224548, 0.6050904989242554, 0.7409828305244446, 0.14316987991333008, -0.01064095739275217, 0.5968407392501831, 0.21988435089588165, 0.11029122024774551, 0.8937007188796997, 0.7341791987419128, -0.21020419895648956, 0.2650778591632843, -0.6742955446243286, -0.14898525178432465, -0.11462424695491791, -0.7898883819580078, -0.826178252696991, -0.31330782175064087, 0.11234217882156372, -0.2929040491580963, -0.1036665216088295, 1.3023360967636108, 0.5848972201347351, -0.6592861413955688, -0.32753077149391174, -0.041707005351781845, 0.3760203719139099, 0.011533032171428204, -0.09588209539651871, 0.27770596742630005, -0.23631231486797333, -0.9521818161010742, 0.2823266088962555, 0.33161571621894836, 0.22531983256340027, -0.2920057773590088, -0.12422183901071548, 0.16774189472198486, 0.34209945797920227, 0.6873375773429871, 0.18610510230064392, -0.7965862154960632, -0.049152012914419174, 0.13959212601184845, -0.3081732392311096, 0.07900996506214142, 0.7514322400093079, -0.6947975754737854, 0.2693784236907959, 0.46303635835647583, 0.6260955929756165, 0.36319082975387573, 0.2653731405735016, 0.6291952729225159, -0.2727851867675781, 0.14267699420452118, 0.07491029053926468, 0.5461642146110535, 0.4562816619873047, -0.15495161712169647, 0.4584085941314697, 0.22092020511627197, -0.44252413511276245, -0.8162623643875122, 0.16734685003757477, -0.70315021276474, 0.005160718224942684, 1.2007232904434204, -0.2558523416519165, -0.48494574427604675, 0.025733618065714836, 0.02028527855873108, -0.17129433155059814, -0.17068235576152802, 0.6904929280281067, 0.8654729723930359, -0.01521782111376524, -0.07809863239526749, -0.4034770131111145, 0.4898178279399872, 0.7554346919059753, -0.49434682726860046, 0.04818364977836609, 0.4049416184425354, 0.14199534058570862, 0.348597913980484, 0.7839898467063904, 0.10445185005664825, 0.45135265588760376, 0.10989142954349518, -0.28810325264930725, -0.3362177312374115, -0.4876100718975067, -0.3823709487915039, 0.299068421125412, 0.5576881170272827, 0.35024499893188477 ]
http://arxiv.org/abs/2406.02350v2
http://arxiv.org/pdf/2406.02350v2
LlamaCare: A Large Medical Language Model for Enhancing Healthcare Knowledge Sharing
2024-06-04T14:24:53
2024-06-05T15:08:42
Maojun Sun
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have shown amazing capabilities in knowledge memorization and the present. However, when it comes to domain-specific knowledge and downstream tasks like medical, general LLMs are often unable to give precise answers. In addition, when people want LLMs to answer classification questions, they usually go through instruction tuning first. However, LLMs do not always give a direct index of the categorization after instruction tuning. In this paper, we proposed LlamaCare, a fine-tuned medical language model, and Extended Classification Integration(ECI), a module to handle classification problems of LLMs. Our contributions are : (i) We fine-tuned a large language model of medical knowledge with very low carbon emissions and achieved similar performance with ChatGPT by a 24G GPU. (ii) We solved the problem of redundant categorical answers and improved the performance of LLMs by proposing a new module called Extended Classification Integration. (iii) We released our processed data for one-shot and few-shot training for some benchmarks such as PubMedQA and USMLE 1-3 step. Our method achieves a close performance comparable to some state-of-the-art models with the same quantity of parameters on benchmarks, while being more environmentally friendly by using less GPU computation time. Our models, codes, and datasets can be found at \url{https://github.com/Stephen-SMJ/LLamaCare}.
[ 0.02621224895119667, -0.5669146180152893, 0.834815263748169, -0.1703014224767685, -0.3907601237297058, 0.019439104944467545, -0.26077425479888916, -0.7611687779426575, 0.12583117187023163, 0.634956955909729, -0.40293702483177185, -0.8406639099121094, -0.786272406578064, -0.13800597190856934, -0.19640232622623444, 0.9169477820396423, -0.22290126979351044, 0.08829135447740555, -0.31758758425712585, -0.21945150196552277, 0.005418260581791401, -0.612118124961853, -0.6794859766960144, -0.4611988067626953, 0.7461478114128113, 0.3378886878490448, 0.4500075876712799, 0.8730596303939819, 0.6940959095954895, 0.2818897068500519, -0.3348180055618286, 0.3428225517272949, -0.41078171133995056, -0.06719984114170074, -0.0995188057422638, -0.7062299251556396, -0.6745827198028564, -0.22802525758743286, 0.5190529227256775, 0.7524009943008423, -0.5916639566421509, 0.11693494766950607, 0.03861594945192337, 0.5284888744354248, -0.42095714807510376, 0.3297390043735504, -0.4950624704360962, -0.016345253214240074, -0.09411296993494034, -0.4217263460159302, -0.11884921044111252, -0.3523139953613281, 0.099591463804245, -0.6521816849708557, 0.033551353961229324, 0.005996345076709986, 0.692716658115387, 0.6897119879722595, -0.38211241364479065, -0.25264957547187805, -0.4674478769302368, 0.7234833240509033, -0.9357085824012756, 0.10126036405563354, 0.27941569685935974, 0.26609110832214355, -0.13096404075622559, -0.8461065292358398, -0.41701847314834595, -0.12248869240283966, -0.04792411997914314, 0.14442072808742523, -0.41447994112968445, 0.3991827070713043, -0.06911967694759369, 0.3314601480960846, -0.34191080927848816, 0.5596404075622559, -0.41490286588668823, -0.0042991372756659985, 0.6187969446182251, 0.42306840419769287, 0.2906144857406616, 0.14065736532211304, -0.2849784195423126, 0.1495165079832077, -0.8938316106796265, -0.04798075556755066, -0.07525759935379028, -0.007956133224070072, -0.11467297375202179, 0.5678580403327942, -0.45967239141464233, 0.6025267243385315, -0.3351741135120392, -0.5432320833206177, 0.34675830602645874, 0.0858369842171669, -0.4418866038322449, 0.1600128561258316, 0.47722646594047546, 0.2133289873600006, 0.008358805440366268, -0.02992488257586956, 0.05112268403172493, 0.2860078811645508, 0.1780414581298828, -0.9590415954589844, -0.24920566380023956, 0.25889283418655396, -0.36773180961608887, -0.330403208732605, -0.3609529733657837, -0.3206997811794281, -0.3221839964389801, -0.5007442831993103, 0.2569205164909363, -0.2912249267101288, -0.09235074371099472, 0.5605831146240234, 0.36800625920295715, -0.09625964611768723, 0.5917109251022339, -0.8062710165977478, 0.41233697533607483, 0.9167153239250183, 0.6595249176025391, -0.345672070980072, 0.03235188126564026, -0.2358073741197586, 0.32282382249832153, -0.07370506972074509, 0.9699127078056335, -0.7192026376724243, -0.37136125564575195, -0.02496504783630371, 0.19398458302021027, -0.09796731919050217, -0.7268407344818115, 0.34170690178871155, -0.44897595047950745, 0.00070929154753685, 0.03278672695159912, -0.8440768718719482, -0.37580612301826477, 0.2879458963871002, -0.39599552750587463, 0.6136846542358398, 0.047862403094768524, -0.5986531376838684, 0.1953718513250351, -0.7232256531715393, -0.3717319965362549, 0.317268431186676, -0.15012262761592865, -0.5164944529533386, 0.12312714755535126, 0.15999282896518707, 0.5501037240028381, -0.38394874334335327, 0.47422510385513306, -0.3047667145729065, -0.3602065443992615, 0.16811326146125793, -0.41061148047447205, 0.45190539956092834, 0.15598545968532562, -0.031737711280584335, 0.19797535240650177, -0.7114325761795044, 0.07677078247070312, -0.06420516222715378, -0.639273464679718, -0.37505096197128296, -0.029759876430034637, -0.1204831525683403, 0.04978860542178154, 0.3142143487930298, -0.4602431058883667, 0.35614484548568726, -0.3634677231311798, 0.5125681757926941, 0.6137391328811646, 0.1734265834093094, 0.24102452397346497, -0.6829755306243896, 0.5866232514381409, 0.01099206693470478, 0.4974632263183594, 0.04780779406428337, -0.736681342124939, -0.8240578770637512, -0.4629635512828827, 0.07509306073188782, 0.5569450259208679, -0.5019224286079407, 0.25206953287124634, -0.3507901430130005, -0.6055261492729187, -0.8822594881057739, 0.30661746859550476, 0.30854320526123047, 0.5125881433486938, 0.4770796298980713, -0.2890532314777374, -0.3546392023563385, -0.8154653310775757, 0.07705502957105637, -0.23257789015769958, 0.05442747101187706, 0.7350941300392151, 0.2826186418533325, -0.7479591965675354, 0.3474525511264801, -0.654283881187439, -0.3410917818546295, -0.06375369429588318, -0.19863221049308777, 0.3039577901363373, 0.37944284081459045, 0.18561513721942902, -0.45824122428894043, -0.22339777648448944, 0.3641354441642761, -0.513435423374176, -0.13558852672576904, 0.4359893798828125, -0.16350439190864563, 0.043477024883031845, 0.4205867052078247, -0.43306830525398254, 0.26376503705978394, 0.8243553638458252, -0.0549141950905323, 0.09742417186498642, -0.4532153606414795, 0.003243186278268695, -1.2083334922790527, 0.127364382147789, -0.14130453765392303, -0.2535250782966614, -0.5052094459533691, 0.156522735953331, -0.05509328842163086, 0.16455385088920593, -0.6114140748977661, 0.4882965087890625, -0.08862330764532089, 0.30701205134391785, -0.4571276903152466, -0.2108062356710434, -0.0810583159327507, 0.4179268181324005, 0.1359037309885025, 0.5827621221542358, 0.6796535849571228, -0.7966399192810059, 0.36183884739875793, 0.24917954206466675, -0.4349839687347412, 0.5247536301612854, -0.703917384147644, 0.0862182006239891, -0.08440081775188446, 0.2816140651702881, -0.561445951461792, -0.43408864736557007, 0.11839254200458527, -0.03572697564959526, 0.36536097526550293, -0.07412142306566238, -0.48436638712882996, -0.20817993581295013, 0.10392414033412933, 0.44272658228874207, 0.6271807551383972, -0.7951183915138245, 0.38783931732177734, 0.6755753755569458, -0.33072057366371155, -0.36319759488105774, -0.6573368906974792, -0.09748509526252747, -0.3657269775867462, -0.3978773057460785, 0.44837918877601624, -0.08363581448793411, -0.040316127240657806, 0.14229744672775269, -0.04754186421632767, -0.2911973297595978, 0.10933687537908554, 0.2687240540981293, 0.43808797001838684, -0.20482081174850464, 0.6689757704734802, 0.3481683135032654, -0.2205667495727539, -0.15168341994285583, -0.31273481249809265, 0.46171241998672485, 0.0020639519207179546, -0.5627800822257996, -0.7014651894569397, 0.45475882291793823, 0.4787369966506958, -0.13516642153263092, 0.645185649394989, 0.2893282473087311, -0.4630779027938843, -0.15128996968269348, -0.6222318410873413, -0.018724115565419197, -0.476055771112442, 0.5702709555625916, 0.05645716190338135, -1.2875736951828003, 0.2132066935300827, -0.5216617584228516, 0.18461759388446808, 0.24573713541030884, 0.7679422497749329, -0.20921002328395844, 0.9767425656318665, 0.8407784104347229, -0.17308740317821503, 0.17457260191440582, -0.19485075771808624, 0.10904717445373535, -0.9234542846679688, -0.5063461661338806, -0.4641626179218292, -0.33799445629119873, -0.6250464916229248, -0.6195553541183472, 0.6144540309906006, -0.07321987301111221, -0.2446347028017044, 0.06801377981901169, -0.547919750213623, 0.3205089569091797, 0.3582814633846283, 0.6045373678207397, 0.5522763133049011, -0.09559604525566101, 0.04520713910460472, 0.2058195322751999, -0.9066745638847351, -0.49743372201919556, 0.9466025829315186, 0.42349812388420105, 1.1038882732391357, 0.08267567306756973, 0.8052501082420349, -0.19085051119327545, 0.7203449010848999, -0.8058014512062073, 0.29275307059288025, -0.4113596975803375, -0.2858603298664093, 0.050833698362112045, -0.4792190492153168, -0.9827978014945984, 0.049959562718868256, -0.11658729612827301, -0.5616575479507446, -0.029192429035902023, 0.21794047951698303, -0.4703197181224823, 0.3246332108974457, -0.4968460500240326, 0.47049933671951294, -0.3421574831008911, -0.1880687177181244, -0.5165119171142578, -0.3266094923019409, 0.36987975239753723, -0.12067687511444092, 0.09936008602380753, -0.2900840640068054, -0.33031317591667175, 0.559880256652832, -0.4908939599990845, 0.9882227778434753, 0.0786486268043518, -0.18474547564983368, 0.09375414252281189, -0.31701335310935974, 0.31853583455085754, 0.06908220797777176, 0.07383700460195541, 0.3356775641441345, 0.08265269547700882, -0.3705303966999054, -0.4133174419403076, 0.8832868933677673, -0.8194684386253357, -0.7073072195053101, -0.19215871393680573, -0.48644715547561646, -0.3277001678943634, -0.12323271483182907, 0.1914803683757782, 0.29540887475013733, -0.04643724486231804, 0.11345496773719788, 0.8536198139190674, -0.4459713399410248, 0.007481275126338005, 0.7347873449325562, -0.11123929172754288, -0.1524379700422287, 0.6344905495643616, -0.010918058454990387, 0.19824746251106262, 0.40133363008499146, 0.23896349966526031, -0.1763695627450943, -0.546599268913269, -0.18985292315483093, 0.4407178461551666, -0.6981697678565979, -0.5488744974136353, -0.7773828506469727, -0.49122220277786255, -0.02297166734933853, -0.020046357065439224, -0.20156840980052948, -0.2820304334163666, -0.5537145733833313, -0.2533009350299835, 0.7227688431739807, 0.9143542051315308, 0.07790806144475937, 0.4757167100906372, -0.8247104287147522, 0.14102789759635925, 0.3594356179237366, 0.6969274878501892, 0.03940156102180481, -0.5256027579307556, -0.3009095788002014, -0.19311749935150146, -0.10895399004220963, -0.4937603771686554, 0.364175409078598, 0.2587892413139343, 0.6538842916488647, 0.4100921154022217, -0.17099788784980774, 0.8250046968460083, -0.6764146089553833, 0.34495630860328674, 0.2916713356971741, -0.6161577701568604, 0.5463957190513611, 0.06530161947011948, 0.0999714657664299, 0.5392783880233765, 0.2835678160190582, -0.6007702946662903, -0.3491955101490021, -0.5708600282669067, -0.8307240605354309, 0.334131121635437, -0.2697179317474365, 0.1767980307340622, -0.047425296157598495, 0.5115522742271423, 0.06160992011427879, 0.10429100692272186, -0.3073267638683319, -0.16086870431900024, 0.4406226873397827, -0.46570199728012085, -0.14261074364185333, -0.18687117099761963, -0.2834402620792389, -0.4448226988315582, 0.7288349866867065, -0.17195487022399902, 0.12741778790950775, 0.26244884729385376, -0.044591274112463, -0.1857263743877411, 0.3487636148929596, 0.3712092638015747, 0.2563142478466034, 0.1346607804298401, 0.13121388852596283, 0.3877870440483093, -0.54517662525177, 0.05587785691022873, 0.029407911002635956, 0.10413695871829987, -0.13848876953125, 0.327770859003067, 0.8420950174331665, 0.37962275743484497, -0.7965077757835388, 0.4180988669395447, -0.13010083138942719, -0.13576838374137878, -0.14235824346542358, 0.5467367172241211, 0.3245498239994049, 0.310801237821579, -0.17086637020111084, 0.2035796195268631, 0.1797880381345749, -0.36998629570007324, 0.2539084255695343, 0.409760057926178, -0.39657071232795715, -0.08969255536794662, 0.6651468873023987, 0.17756891250610352, -0.16648449003696442, 0.34811288118362427, 0.1934192180633545, -0.3754783868789673, 0.5588453412055969, 0.5591150522232056, 0.40929895639419556, -0.4128212630748749, 0.08144283294677734, 0.2148193120956421, 0.10842873156070709, -0.19678756594657898, 0.2522743344306946, 0.011503896676003933, -0.5239344239234924, -0.6981613636016846, -0.6850107908248901, -0.655413806438446, 0.05054961144924164, -0.5692185163497925, 0.27384158968925476, -0.4499114453792572, -0.02103359065949917, -0.14434640109539032, 0.0880984365940094, -0.8982061147689819, 0.17476697266101837, 0.16253896057605743, 0.8996406197547913, -0.7538565397262573, 1.143522024154663, 0.7229045033454895, -0.024615438655018806, -0.9865148663520813, -0.29388174414634705, -0.13550123572349548, -1.2504677772521973, 0.29339882731437683, 0.1939346045255661, -0.021530522033572197, 0.009840748272836208, -0.5906318426132202, -0.8652041554450989, 1.3451277017593384, 0.33509066700935364, -1.006299614906311, 0.023436784744262695, 0.18561865389347076, 0.6700097322463989, -0.46872225403785706, -0.018190300092101097, 0.7787363529205322, 0.2948946952819824, 0.17788100242614746, -0.9626898169517517, -0.02234523743391037, -0.27381232380867004, -0.02988511696457863, -0.0126349413767457, -0.6187989711761475, 0.5112766027450562, -0.44477221369743347, -0.16342894732952118, 0.3701477646827698, 0.11334002763032913, 0.35421785712242126, 0.3552429676055908, 0.2749168276786804, 0.9582652449607849, 1.3488551378250122, -0.044211070984601974, 1.3439971208572388, -0.39312872290611267, 0.3677545487880707, 0.8201248049736023, -0.33317169547080994, 0.97036212682724, 0.37447234988212585, -0.18471136689186096, 0.37546783685684204, 0.5248759984970093, 0.12065587937831879, 0.5571656823158264, 0.3837333619594574, -0.6964118480682373, -0.3057693541049957, -0.3493048846721649, -0.4575095474720001, 0.3521031439304352, 0.5738630890846252, -0.38197579979896545, -0.04486902058124542, 0.09864481538534164, 0.09477820992469788, -0.0628766193985939, -0.4550645649433136, 1.066758394241333, 0.3592268228530884, -0.45111849904060364, 0.4718053638935089, -0.016781127080321312, 0.7750189900398254, -0.5918136835098267, -0.20233146846294403, -0.1221570372581482, 0.2827049195766449, -0.41859978437423706, -0.5928912162780762, 0.1999831199645996, 0.10777988284826279, -0.019271990284323692, 0.16882379353046417, 0.5831745862960815, -0.5437772870063782, -0.6550048589706421, 0.25462105870246887, 0.4689023494720459, 0.2311115860939026, 0.279053270816803, -0.46109840273857117, 0.0010738788405433297, -0.030368536710739136, 0.05173405632376671, 0.308982789516449, 0.3758740723133087, 0.1194051206111908, 0.7785555124282837, 0.8686202168464661, 0.4191192388534546, -0.01907820999622345, 0.23131121695041656, 1.0492095947265625, -0.40299132466316223, -0.36156541109085083, -0.7041977643966675, 0.165865957736969, 0.1498294472694397, -0.3443087637424469, 0.06522990763187408, 0.36040398478507996, 0.5248630046844482, 0.19669310748577118, 0.7598803043365479, 0.43408674001693726, 0.6562092900276184, -0.6355791091918945, 0.8448202013969421, -0.6602019667625427, 0.49141010642051697, 0.12919685244560242, -0.5954563021659851, -0.7194997072219849, 0.6244319081306458, -0.18497072160243988, -0.2544408142566681, 0.5504935383796692, 0.7696037888526917, -0.035169243812561035, -0.032068442553281784, 0.4696029722690582, 0.26372548937797546, 0.3571317195892334, 0.8825472593307495, 0.8075879812240601, -0.0683973878622055, 0.43510037660598755, -0.3693960905075073, -0.39198175072669983, -0.34281453490257263, -0.6344842910766602, -0.675961434841156, -0.23781225085258484, -0.4663279950618744, -0.03417292609810829, 0.16707375645637512, 0.9242725968360901, 0.894551694393158, -0.6459628939628601, 0.14029499888420105, -0.17548684775829315, -0.06227930635213852, -0.07803979516029358, -0.08571256697177887, 0.5198161602020264, -0.21638056635856628, -0.6467052698135376, 0.17469213902950287, 0.4824945032596588, -0.03328412026166916, -0.03616956248879433, -0.23245231807231903, 0.2672500014305115, 0.08415120095014572, 0.4490949809551239, 0.08205713331699371, -0.6885095834732056, -0.23706670105457306, 0.048753250390291214, -0.20255595445632935, 0.3680707514286041, 0.697262704372406, -0.7984859943389893, 0.26345422863960266, -0.07176604866981506, 0.8848017454147339, 0.44156521558761597, -0.1457265317440033, 0.1939367800951004, -0.4330286383628845, 0.07807712256908417, 0.4396393597126007, 0.6664086580276489, 0.36185717582702637, -0.6270716190338135, 0.40388917922973633, -0.025878431275486946, -0.7123865485191345, -0.46157771348953247, 0.21134792268276215, -1.132574439048767, -0.19847339391708374, 1.1595776081085205, -0.20320925116539001, -0.3551519215106964, -0.019672220572829247, -0.3895953893661499, 0.3561055362224579, -0.19329407811164856, 0.928717851638794, 0.30832022428512573, -0.2816579341888428, -0.19766651093959808, -0.5886983871459961, 0.23795874416828156, 0.3764510154724121, -1.1905543804168701, -0.23721089959144592, 0.2216964215040207, 0.5878112316131592, -0.08157073706388474, 0.6217915415763855, -0.2983970642089844, 0.2803780138492584, -0.4226665198802948, 0.055766522884368896, 0.0614812858402729, -0.13816222548484802, -0.48449867963790894, -0.11555951833724976, 0.2622687816619873, -0.1491849720478058 ]
http://arxiv.org/abs/2406.02338v1
http://arxiv.org/pdf/2406.02338v1
Linguistic Fingerprint in Transformer Models: How Language Variation Influences Parameter Selection in Irony Detection
2024-06-04T14:09:36
2024-06-04T14:09:36
Michele Mastromattei, Fabio Massimo Zanzotto
cs.CL
cs.CL, cs.AI
This paper explores the correlation between linguistic diversity, sentiment analysis and transformer model architectures. We aim to investigate how different English variations impact transformer-based models for irony detection. To conduct our study, we used the EPIC corpus to extract five diverse English variation-specific datasets and applied the KEN pruning algorithm on five different architectures. Our results reveal several similarities between optimal subnetworks, which provide insights into the linguistic variations that share strong resemblances and those that exhibit greater dissimilarities. We discovered that optimal subnetworks across models share at least 60% of their parameters, emphasizing the significance of parameter values in capturing and interpreting linguistic variations. This study highlights the inherent structural similarities between models trained on different variants of the same language and also the critical role of parameter values in capturing these nuances.
[ -0.6198104619979858, -0.35479435324668884, 0.3268594443798065, 0.21808628737926483, -0.26002246141433716, 0.10450109094381332, 0.13257282972335815, -0.5936716794967651, 0.3737269639968872, 0.3690284788608551, -0.453496515750885, -0.3518015742301941, -0.5901330709457397, 0.3941660523414612, -0.21293823421001434, 0.8905319571495056, 0.05464894324541092, -0.04793442413210869, 0.11778084933757782, -0.41956692934036255, -0.049055710434913635, -0.33089679479599, -0.49447908997535706, -0.29181525111198425, 0.741222620010376, 0.31170153617858887, 0.7810761332511902, 0.5010285973548889, 0.5418658256530762, 0.30853500962257385, -0.2783127725124359, -0.24518367648124695, -0.18627552688121796, 0.2829682528972626, -0.23668256402015686, -0.8706883788108826, 0.03470746427774429, -0.008135172538459301, 0.5121706128120422, 0.6320120692253113, 0.14777369797229767, 0.27350470423698425, -0.12806054949760437, 0.6251426339149475, -0.7846761345863342, -0.10737134516239166, -0.6381950378417969, 0.048490412533283234, -0.3741775453090668, 0.009498506784439087, -0.3587559163570404, -0.3038860559463501, 0.0063617173582315445, -0.18872474133968353, 0.5654345750808716, 0.09743815660476685, 1.060416579246521, 0.4909411668777466, -0.37946879863739014, -0.029308676719665527, -0.9431924819946289, 1.0383596420288086, -0.9418123364448547, 0.34865325689315796, -0.06837388873100281, 0.2879638373851776, 0.3113406002521515, -0.7623823881149292, -0.7115445137023926, -0.14445804059505463, -0.36247795820236206, 0.19069235026836395, -0.4569130539894104, 0.03052203543484211, 0.2722771465778351, 0.558312714099884, -0.36183539032936096, 0.31080570816993713, -0.19884343445301056, -0.008658487349748611, 0.4828309714794159, 0.3108985424041748, 0.2512907385826111, -0.5212904214859009, -0.20543478429317474, -0.2675662934780121, -0.46555978059768677, 0.43144360184669495, 1.0117566585540771, 0.05328977108001709, -0.04357748478651047, 0.0433461032807827, -0.19289912283420563, 0.2442058026790619, -0.14747966825962067, 0.09040128439664841, 0.4184150993824005, 0.2643895149230957, -0.08489783108234406, -0.366029292345047, 0.8882667422294617, 0.1965755969285965, 0.31089022755622864, 0.013753226958215237, -0.2510916590690613, 0.009346811100840569, 0.33311542868614197, -0.4398702383041382, -0.3702474534511566, 0.15388797223567963, -0.5362838506698608, -0.4897861182689667, 0.2692112326622009, -0.9735389947891235, -0.40425798296928406, -0.03940693289041519, -0.02307477407157421, -0.413745641708374, -0.5249120593070984, 0.020587734878063202, -0.5892897248268127, 0.4251005947589874, -0.03693472594022751, -0.7411061525344849, 0.13622833788394928, 0.7503001689910889, 0.5101161599159241, 0.030832897871732712, -0.3870762288570404, -0.009498104453086853, -0.34486278891563416, -0.250039666891098, 0.8402607440948486, -0.82682204246521, -0.32284173369407654, -0.09410272538661957, -0.06775370985269547, -0.3878548741340637, -0.7054689526557922, 0.8073230385780334, -0.5466310977935791, 0.06352619081735611, -0.22896504402160645, -0.5354630351066589, -0.45528027415275574, 0.08887577801942825, -1.4676544666290283, 1.337073802947998, 0.2803833782672882, -1.4285790920257568, 0.17106999456882477, -0.6064064502716064, -0.6042317748069763, 0.29085803031921387, -0.3803873360157013, -0.6854618787765503, 0.638688862323761, 0.04960284382104874, 0.3470197021961212, -0.40365225076675415, -0.08823004364967346, -0.2880653440952301, -0.3213363289833069, 0.4358137845993042, -0.43471792340278625, 0.9486207962036133, 0.16694536805152893, -0.6999968886375427, -0.26835545897483826, -0.7657293081283569, -0.1857825070619583, 0.2743558883666992, -0.14005164802074432, -0.5387270450592041, 0.27131935954093933, 0.18536217510700226, 0.15389908850193024, 0.1026795506477356, -0.6535596251487732, -0.20458921790122986, -0.5153540372848511, 0.24440720677375793, 0.522379457950592, 0.09376418590545654, -0.057790640741586685, -0.33091557025909424, 1.001857876777649, 0.34906721115112305, 0.48431506752967834, 0.0291848573833704, -0.619584321975708, -0.7947555184364319, -0.3586116433143616, 0.32686179876327515, 0.7742322087287903, -0.5716212391853333, 0.39834359288215637, -0.3043265640735626, -0.5385453701019287, -1.1116150617599487, -0.16778530180454254, 0.38853198289871216, 0.2766771912574768, 0.10973825305700302, -0.342297226190567, -0.6115480065345764, -1.4318064451217651, -0.7101898193359375, -0.21600618958473206, 0.02237960509955883, 0.5164410471916199, 0.5036052465438843, 0.21251721680164337, 1.1088775396347046, -0.2698574662208557, 0.0556812584400177, -0.5212440490722656, 0.4373438358306885, 0.4484160840511322, 0.1674559861421585, 0.8901649713516235, -1.1661772727966309, -0.8664079308509827, 0.04735686630010605, -0.3793914318084717, -0.14392191171646118, 0.09094060957431793, 0.31489017605781555, 0.044776324182748795, 0.39821717143058777, -0.43973687291145325, 0.5021340250968933, 0.5752773284912109, 0.04815596714615822, 0.7646504044532776, 0.41226547956466675, 0.34812474250793457, -1.1945523023605347, 0.18418730795383453, -0.22211432456970215, 0.09402783215045929, -0.7463909387588501, 0.2653488516807556, -0.06417550146579742, 0.33383309841156006, -0.5989671349525452, 0.26418760418891907, -0.1562460958957672, 0.15220259130001068, -0.05360611155629158, -0.4528123438358307, 0.03024235926568508, 0.3822621703147888, -0.24275948107242584, 0.5626751184463501, 0.38109177350997925, 0.00310501828789711, 0.22129535675048828, -0.23057572543621063, -0.4370747208595276, 0.5773715376853943, -0.7663268446922302, 0.12540218234062195, -0.17236413061618805, 0.07907994836568832, -1.43017578125, -0.050525564700365067, -0.05543006956577301, -0.490601509809494, 0.1064663678407669, -0.2930300831794739, -0.42208006978034973, -0.4701716899871826, -0.559933066368103, 0.3378148674964905, 0.6287052631378174, -0.42315882444381714, 1.112325668334961, -0.029422923922538757, -0.22457392513751984, -0.9184891581535339, -0.5238840579986572, -0.1612040251493454, -0.46603137254714966, -0.4875347912311554, 0.11885648220777512, 0.00890291202813387, -0.34295955300331116, -0.03143146261572838, 0.04250485822558403, 0.036981094628572464, 0.2132989764213562, 0.3403628170490265, 0.029585933312773705, -0.45158177614212036, -0.20835794508457184, 0.2077757865190506, -0.12341314554214478, 0.11282044649124146, -0.02886315807700157, 0.5226580500602722, -0.028315585106611252, -0.23970942199230194, -0.5725452303886414, 0.8528183102607727, 0.8036383986473083, -0.2945398688316345, 0.9438084959983826, 0.590964674949646, 0.08209241926670074, -0.3828354775905609, -0.6674948930740356, -0.23503033816814423, -0.5068334341049194, 0.30643749237060547, -0.6169258952140808, -0.9780263900756836, 1.0993013381958008, -0.1387978196144104, 0.05023080110549927, 0.7512015104293823, 0.3780229985713959, -0.3927169740200043, 1.0568143129348755, 0.913834273815155, -0.41080695390701294, 0.4973488450050354, -0.06243383511900902, 0.39920946955680847, -0.8043365478515625, 0.2876000702381134, -0.8911150693893433, -0.8147631883621216, -0.8793203830718994, 0.08350635319948196, 0.1756742000579834, -0.04754091054201126, 0.0013425803044810891, 0.049358006566762924, -0.4273284673690796, 0.7008439302444458, 0.6636666059494019, -0.12090768665075302, -0.010609319433569908, -0.04763885587453842, -0.4705148935317993, -0.34946736693382263, -0.5633848309516907, -0.44922563433647156, 0.9100767970085144, 0.33355921506881714, 0.49700653553009033, 0.004585699178278446, 0.6883951425552368, 0.07432682812213898, 0.4125990867614746, -0.5713540315628052, 0.334059476852417, -0.5857033729553223, -0.717816174030304, 0.030091239139437675, -0.4508325457572937, -0.860567569732666, 0.0764252245426178, 0.23940065503120422, -0.7416555881500244, 0.4745408296585083, 0.1797831952571869, -0.16830475628376007, 0.5303429365158081, -0.6481125950813293, 0.7867656946182251, 0.2870801091194153, 0.25374847650527954, 0.13756734132766724, -1.0647542476654053, 0.14881423115730286, 0.07957540452480316, 0.3387681245803833, 0.035225581377744675, 0.28449127078056335, 0.6115211248397827, 0.014021511189639568, 1.1389003992080688, -0.08923306316137314, -0.06322837620973587, 0.16628290712833405, 0.2742394208908081, 0.6165095567703247, -0.2993339002132416, -0.25112977623939514, 0.45267683267593384, -0.3506241738796234, -0.25687992572784424, -0.507442057132721, 0.3542480170726776, -1.0408365726470947, -0.5865710377693176, 0.13249647617340088, -0.567730188369751, -0.03185870125889778, -0.12805995345115662, 0.7546098828315735, 0.18130908906459808, 0.02162831835448742, 0.40412551164627075, 0.6797246336936951, -0.09235374629497528, 0.680851936340332, 0.5468241572380066, 0.38079211115837097, -0.3360733985900879, 0.5384125113487244, 0.09819527715444565, 0.2945921719074249, 0.6967100501060486, 0.32315710186958313, -0.006519712042063475, -0.3899870812892914, 0.025501389056444168, 0.3609091341495514, -1.0558356046676636, -0.046124137938022614, -0.7742010354995728, -0.19928836822509766, -0.24551056325435638, -0.23814423382282257, -0.5436142086982727, -0.3337266743183136, -0.04657208174467087, -0.12750327587127686, 0.43739253282546997, 0.6777918934822083, 0.22467321157455444, 0.45922529697418213, -0.571291983127594, 0.028039325028657913, 0.32158398628234863, 0.3547951579093933, 0.0061047677882015705, -0.6860321164131165, -0.15240789949893951, -0.39444398880004883, -0.10696405172348022, -1.2197151184082031, 0.10318177938461304, 0.10975245386362076, 0.6425474286079407, 0.2806028127670288, 0.21800288558006287, 0.009823624044656754, -0.4940907657146454, 1.1486458778381348, -0.008683540858328342, -0.8226439952850342, 0.2858697474002838, -0.24533917009830475, 0.27178245782852173, 0.5861701369285583, 0.5133946537971497, -0.5359329581260681, -0.9576375484466553, -0.9989868998527527, -1.1508774757385254, 0.4510175883769989, 0.1233033761382103, 0.2884824275970459, 0.1492224633693695, 0.2850435674190521, 0.36819177865982056, 0.04942138120532036, -0.8429629802703857, -0.5895511507987976, -0.18554937839508057, -0.6276103258132935, 0.04902488365769386, -0.23420341312885284, -0.3117579221725464, -0.10021096467971802, 0.4461840093135834, -0.029281752184033394, 0.21558091044425964, 0.02567809447646141, -0.009175130166113377, 0.008809213526546955, 0.4110484719276428, 0.5724778771400452, 0.3255566954612732, 0.1961989402770996, 0.4788455665111542, 0.13954561948776245, -0.7347865104675293, -0.21049638092517853, -0.0034766842145472765, -0.1767822951078415, 0.6018668413162231, 0.4944705665111542, 1.0050722360610962, 0.0777554139494896, -0.358434796333313, 0.4533916711807251, 0.02138786017894745, -0.3181743919849396, -0.1128067895770073, 0.07418693602085114, 0.16897200047969818, 0.4475630223751068, 0.5535852313041687, 0.013778520748019218, 0.36121654510498047, 0.021532472223043442, 0.12388469278812408, 0.31252723932266235, -0.23446771502494812, -0.6329819560050964, 0.4944704473018646, -0.0680164024233818, -0.5890410542488098, 0.5091148614883423, -0.07257045060396194, -0.9825766086578369, 0.8816161155700684, 0.17128333449363708, 1.3729112148284912, -0.7270556688308716, 0.17660671472549438, -0.11808823049068451, 0.6705371737480164, 0.3297273516654968, 0.524359405040741, 0.052979279309511185, -0.7380300760269165, -0.27791187167167664, -0.659852147102356, -0.4117404818534851, 0.22380103170871735, -0.7780427932739258, 0.21357440948486328, -0.19223906099796295, -0.04667375981807709, 0.24212877452373505, -0.3216467797756195, -0.7732893824577332, 0.2617471516132355, -0.036065537482500076, 0.5791438221931458, -1.380881428718567, 0.660514235496521, 0.8686538338661194, -0.22444595396518707, -1.3788461685180664, 0.1330118179321289, -0.11091358959674835, -0.5386202931404114, 0.6333608627319336, 0.1286928951740265, -0.15126143395900726, 0.2337261140346527, -0.5528099536895752, -0.6013364791870117, 0.7982343435287476, 0.563789427280426, -0.431118369102478, 0.3566221296787262, 0.5657554864883423, 0.6411212086677551, -0.2703511118888855, 0.5620702505111694, 0.70827716588974, 0.33370763063430786, 0.11360639333724976, -0.9777592420578003, -0.16656631231307983, -0.48698869347572327, 0.11803010106086731, 0.5818695425987244, -0.5465702414512634, 1.151540756225586, 0.3236837685108185, -0.04804028198122978, -0.2432519495487213, 0.26117217540740967, 0.06899639219045639, 0.1374249905347824, 0.8075503706932068, 0.7851855158805847, 0.30577629804611206, 0.07340320199728012, 1.0714781284332275, -0.48814812302589417, 0.72752445936203, 0.9407551288604736, -0.2241850048303604, 0.9567583799362183, 0.6425747871398926, -0.3478752672672272, 0.9239959120750427, 0.4432685077190399, 0.009862350299954414, 0.24160872399806976, -0.18354736268520355, -0.2544553279876709, -0.05513262748718262, -0.041342511773109436, -0.21853141486644745, 0.4563215970993042, 0.2009642869234085, -0.68516606092453, -0.18389755487442017, -0.09172312915325165, 0.15954123437404633, -0.09855441749095917, 0.140204057097435, 0.7271106839179993, -0.1079251691699028, -0.47069603204727173, 0.40620630979537964, -0.10645321011543274, 0.7193724513053894, -0.4677866995334625, 0.27798283100128174, -0.6774272322654724, 0.03155607357621193, -0.2365056276321411, -0.584973156452179, 0.17756211757659912, -0.19513410329818726, -0.5472032427787781, 0.036679696291685104, 0.45301851630210876, -0.09606742113828659, -0.4766358435153961, 0.30086749792099, 0.13458256423473358, 0.15347401797771454, -0.01424641627818346, -0.7350385785102844, 0.14082030951976776, 0.021347085013985634, -0.6734996438026428, -0.11211638897657394, 0.5630679130554199, -0.00219585164450109, 0.213410422205925, 0.41383805871009827, 0.07178101688623428, 0.38977688550949097, 0.35916146636009216, 0.6355746984481812, -0.4703448712825775, -0.8448491096496582, -0.9158105850219727, 0.8586456775665283, -0.2506609559059143, -0.4627459943294525, 0.6129013299942017, 0.43682992458343506, 0.6995075941085815, -0.32605546712875366, 0.8310643434524536, -0.09784109145402908, 0.7096729874610901, -0.11117342859506607, 0.5334023833274841, -0.564384400844574, 0.2461654543876648, -0.3598833680152893, -0.979093074798584, -0.26230916380882263, 0.36133649945259094, -0.2547694444656372, 0.15853673219680786, 0.8959792256355286, 0.8786187171936035, -0.19009007513523102, 0.20281437039375305, 0.22717301547527313, 0.1836659163236618, 0.32573676109313965, 0.36883723735809326, 0.8101229071617126, -0.5147192478179932, 0.3480794429779053, -0.19999246299266815, -0.219077005982399, -0.3332940638065338, -0.7713147401809692, -0.6625680923461914, -0.6871742010116577, -0.37249287962913513, -0.014361237175762653, -0.31981921195983887, 0.38577067852020264, 0.49897652864456177, -0.8240719437599182, -0.09291427582502365, -0.021375400945544243, 0.17527374625205994, -0.4658415615558624, -0.3603206276893616, 0.29367491602897644, -0.16920702159404755, -0.6286084651947021, -0.03420187905430794, 0.3642779588699341, -0.2079814374446869, -0.25437024235725403, 0.3006495237350464, -0.11812416464090347, 0.5910890698432922, 0.12641781568527222, 0.21960915625095367, -0.8566715121269226, -0.5266513824462891, 0.15592655539512634, -0.09608305245637894, 0.17666436731815338, 1.144677996635437, -0.3856590688228607, 0.3311746418476105, 0.5914651155471802, 0.6826308369636536, 0.05842036381363869, -0.21006575226783752, 0.28267908096313477, -1.3018250465393066, 0.3849881887435913, 0.44649702310562134, 0.34805020689964294, 0.33333921432495117, -0.49331021308898926, 0.1851271092891693, 0.5480719804763794, -0.4136938750743866, -0.8041924238204956, 0.5430399179458618, -0.6997529864311218, -0.2279316633939743, 0.9775570034980774, -0.2643772065639496, -0.14128337800502777, -0.26705244183540344, 0.02515689842402935, 0.10376379638910294, -0.011771367862820625, 0.8682531118392944, 0.8182957172393799, -0.011440692469477654, -0.4329363703727722, -0.5189599394798279, 0.4656195044517517, 0.8129639625549316, -0.5059215426445007, -0.15040184557437897, -0.0011328267864882946, 0.4259694814682007, 0.35327067971229553, 0.15663377940654755, 0.06315841525793076, 0.3116683065891266, 0.02108011208474636, 0.3491658866405487, 0.325775682926178, -0.19616122543811798, -0.32401445508003235, 0.6108323931694031, 0.02014094591140747, -0.18812589347362518 ]
http://arxiv.org/abs/2406.02335v1
http://arxiv.org/pdf/2406.02335v1
Probing the Category of Verbal Aspect in Transformer Language Models
2024-06-04T14:06:03
2024-06-04T14:06:03
Anisia Katinskaia, Roman Yangarber
cs.CL
cs.CL
We investigate how pretrained language models (PLM) encode the grammatical category of verbal aspect in Russian. Encoding of aspect in transformer LMs has not been studied previously in any language. A particular challenge is posed by "alternative contexts": where either the perfective or the imperfective aspect is suitable grammatically and semantically. We perform probing using BERT and RoBERTa on alternative and non-alternative contexts. First, we assess the models' performance on aspect prediction, via behavioral probing. Next, we examine the models' performance when their contextual representations are substituted with counterfactual representations, via causal probing. These counterfactuals alter the value of the "boundedness" feature--a semantic feature, which characterizes the action in the context. Experiments show that BERT and RoBERTa do encode aspect--mostly in their final layers. The counterfactual interventions affect perfective and imperfective in opposite ways, which is consistent with grammar: perfective is positively affected by adding the meaning of boundedness, and vice versa. The practical implications of our probing results are that fine-tuning only the last layers of BERT on predicting aspect is faster and more effective than fine-tuning the whole model. The model has high predictive uncertainty about aspect in alternative contexts, which tend to lack explicit hints about the boundedness of the described action.
[ -0.323405921459198, -1.0306010246276855, 0.5735329389572144, 0.03603455796837807, -0.12831711769104004, -0.249334454536438, -0.24187105894088745, -0.2165808230638504, 0.1809600591659546, 0.5163251161575317, -0.8152955174446106, -0.1303408145904541, -0.4601585566997528, -0.12085502594709396, -0.4476455748081207, 1.0431376695632935, -0.12974080443382263, 0.25605496764183044, -0.4418049156665802, 0.0030159580055624247, -0.4874217212200165, -0.989734947681427, -0.2738092839717865, -0.7719197869300842, 0.19649100303649902, 0.19380271434783936, 0.8597851991653442, 0.2549012005329132, 0.4047251343727112, 0.421989381313324, -0.11747918277978897, -0.30663466453552246, -0.22325704991817474, 0.40115541219711304, -0.3638911545276642, -0.5864933729171753, -0.5550015568733215, 0.2618466317653656, 0.7124267220497131, 0.7467362880706787, 0.020663969218730927, 0.1759730875492096, 0.06347836554050446, 0.5081862211227417, -0.28004661202430725, 0.023357341066002846, -0.6265892386436462, -0.06878989934921265, 0.00501754367724061, 0.023190081119537354, -0.5502838492393494, 0.06761502474546432, 0.19005915522575378, -0.3894575834274292, 0.4437907338142395, -0.09113478660583496, 1.234963059425354, 0.06135660409927368, -0.4592542350292206, -0.12422273308038712, -1.0085408687591553, 0.7051000595092773, -0.6107208728790283, 0.5841915607452393, 0.5605525374412537, 0.07994455844163895, -0.17403928935527802, -0.7378324270248413, -0.7744958400726318, -0.28145381808280945, -0.5593635439872742, 0.09883653372526169, -0.373884379863739, 0.3180801272392273, 0.045863255858421326, 0.40292441844940186, -0.6196666955947876, 0.007005954626947641, -0.20772847533226013, -0.25502297282218933, 0.40647053718566895, 0.07713253051042557, 0.05336981639266014, -0.4810863733291626, 0.08213362842798233, -0.12455005198717117, -0.6069501042366028, 0.3900347054004669, 0.47032439708709717, 0.22804318368434906, -0.07739812880754471, 0.6421693563461304, -0.25332605838775635, 0.7270287871360779, 0.32988014817237854, 0.2995534837245941, 0.1337413340806961, -0.3503629267215729, -0.34440961480140686, -0.24641583859920502, 0.5699158906936646, -0.0731201022863388, -0.048233065754175186, 0.013823560439050198, -0.2729332745075226, 0.034282136708498, 0.6522507667541504, -0.431688517332077, -0.08489403873682022, 0.44979149103164673, -0.2274431437253952, -0.040727708488702774, 0.19415469467639923, -0.3955819308757782, 0.24548350274562836, -0.4995705485343933, 0.7028628587722778, -0.6920737624168396, -0.14485716819763184, -0.012155684642493725, 0.24853965640068054, 0.5872377157211304, 0.12573902308940887, -0.874805748462677, 0.3098711669445038, 1.0907893180847168, 0.5017091035842896, 0.3480733633041382, -0.5010325312614441, -0.5276747941970825, -0.31015169620513916, -0.35873347520828247, 0.6949592232704163, -0.8922603130340576, -0.13132521510124207, 0.21987022459506989, 0.3537542223930359, -0.11531487852334976, -0.32250741124153137, 0.46652165055274963, -0.5935853123664856, 0.45483362674713135, -0.23298339545726776, -0.5336889028549194, -0.49615588784217834, 0.4540749788284302, -0.4763593077659607, 1.149152398109436, 0.29232364892959595, -0.37604281306266785, 0.46708646416664124, -0.46813279390335083, -0.4194694459438324, -0.01525788102298975, -0.08627023547887802, -0.5874934792518616, 0.5194333791732788, 0.08141262084245682, 0.5037965774536133, 0.1103219985961914, 0.543402373790741, 0.028044443577528, -0.06923302263021469, 0.8291885256767273, -0.2982565760612488, 0.25652846693992615, -0.10734447836875916, -0.16822317242622375, 0.6007750630378723, -0.651570737361908, 0.062091801315546036, -0.027330119162797928, -0.08670926094055176, -0.3784600496292114, 0.046215057373046875, -0.02850324660539627, 0.30989426374435425, 0.2307586669921875, -0.7891023755073547, 0.0012879014248028398, -0.5967851281166077, 0.4436957538127899, 0.623297393321991, -0.12467189878225327, 0.7226560115814209, -0.2813056409358978, 0.62884122133255, 0.1535222828388214, 0.5674790740013123, -0.18973061442375183, -0.3231130540370941, -1.3732575178146362, 0.19629889726638794, 0.4446185529232025, 0.3615303635597229, -0.8267180919647217, 0.47686710953712463, -0.20469895005226135, -0.3544267416000366, -0.8411406874656677, -0.2867836058139801, 0.5587044358253479, 0.19210989773273468, 0.1612175703048706, -0.309513658285141, -0.5630521178245544, -1.127530574798584, -0.23748590052127838, -0.1788548231124878, 0.16044753789901733, 0.26923853158950806, 0.7813292145729065, 0.03436652943491936, 1.069930911064148, -0.24544598162174225, -0.13793861865997314, -0.4357093572616577, 0.2905711829662323, 0.3417190611362457, 0.5094570517539978, 0.40078556537628174, -0.9728228449821472, -0.347441703081131, -0.06530679017305374, -0.4071004390716553, 0.07295406609773636, -0.1699163019657135, 0.16615301370620728, 0.40208297967910767, 0.18576867878437042, -0.627324640750885, 0.40559765696525574, 0.7011331915855408, -0.5375381112098694, 0.4492632746696472, -0.47867199778556824, 0.1006958931684494, -0.6614851951599121, -0.1336473673582077, -0.21261952817440033, -0.2993190884590149, -1.2961812019348145, 0.4047824442386627, 0.2951032221317291, -0.15871547162532806, -0.5429338812828064, 0.2422533482313156, -0.3341095745563507, -0.16879278421401978, -0.20279820263385773, -0.036292172968387604, -0.008906708098948002, 0.5302048921585083, 0.317666620016098, 0.5530067682266235, 0.6102696657180786, -0.48138627409935, -0.047624047845602036, 0.01867837831377983, -0.18483084440231323, 0.609394907951355, -0.6296151280403137, 0.36462920904159546, -0.43513596057891846, 0.134515181183815, -0.9774418473243713, -0.1437312215566635, 0.06683077663183212, -0.6225871443748474, 0.5267671942710876, -0.1052369549870491, -0.3695598542690277, -0.22303345799446106, -0.22822901606559753, 0.37124013900756836, 0.6406494975090027, -0.2768803536891937, 0.8633123636245728, 0.009115459397435188, 0.020650459453463554, -0.44962772727012634, -0.6431421637535095, -0.07148768752813339, -0.1741405725479126, -0.5532484650611877, 0.451943963766098, 0.15007558465003967, -0.2543717920780182, 0.09854146838188171, -0.16393162310123444, -0.12940065562725067, -0.1559380292892456, 0.3445947468280792, 0.3401898741722107, -0.34585514664649963, -0.17637179791927338, 0.07819018512964249, -0.04743904992938042, 0.07653667777776718, -0.1244644969701767, 0.8116962909698486, -0.3314209580421448, -0.4029591977596283, -0.28494957089424133, 0.3678160607814789, 0.2706160545349121, -0.2875426411628723, 0.8584613800048828, 0.4712505340576172, -0.2585524916648865, 0.07307184487581253, -0.7269805669784546, -0.17010749876499176, -0.5334345698356628, 0.3883242905139923, -0.575257420539856, -0.9854906797409058, 0.8304011225700378, 0.39331671595573425, -0.37882697582244873, 0.5066702365875244, 0.20890392363071442, -0.09520542621612549, 0.7197195887565613, 0.8400405645370483, 0.29707059264183044, 0.4310210049152374, -0.37011560797691345, 0.2624298334121704, -1.0348989963531494, -0.29864776134490967, -0.484715074300766, -0.18660753965377808, -0.7150477170944214, -0.38241344690322876, 0.4018879532814026, 0.12175300717353821, -0.09631854295730591, 0.5238056778907776, -0.30276110768318176, 0.3869899809360504, 0.5660074949264526, 0.1407095342874527, 0.1528007686138153, -0.42811304330825806, 0.05995327606797218, -0.46336960792541504, -0.7217404842376709, -0.43011564016342163, 0.8702489137649536, 0.42548608779907227, 0.5319566130638123, 0.12201841920614243, 0.45238205790519714, -0.24393139779567719, 0.37403300404548645, -0.9863846302032471, 0.5313609838485718, -0.3540636897087097, -0.8095602989196777, -0.22750738263130188, -0.06794267892837524, -0.7972598671913147, 0.37187233567237854, -0.14645111560821533, -0.6994993686676025, 0.3247356712818146, 0.16746971011161804, -0.17207513749599457, 0.11752381175756454, -0.5087488889694214, 0.8127338886260986, -0.09658203274011612, -0.3554612994194031, -0.27730369567871094, -0.6106339693069458, 0.10237302631139755, -0.04439634084701538, 0.2913493812084198, 0.27306613326072693, 0.09656184911727905, 0.5657311081886292, -0.41867274045944214, 1.109148383140564, -0.03312002867460251, -0.0947984829545021, 0.1484212875366211, 0.40286147594451904, 0.4691845178604126, -0.08078200370073318, 0.22426550090312958, 0.22119766473770142, 0.04236825555562973, -0.31419679522514343, -0.7112371325492859, 0.5634651780128479, -0.7668774127960205, -0.9112196564674377, -0.670617938041687, -0.5188322067260742, -0.22509418427944183, 0.021337386220693588, 0.35134372115135193, 0.5068255662918091, -0.3320150077342987, 0.12406938523054123, 0.4065079391002655, -0.2500244677066803, 0.5895633101463318, 1.0912268161773682, -0.2093632072210312, -0.13289546966552734, 0.5902085304260254, 0.2419523298740387, 0.42916497588157654, 0.7029154300689697, 0.16676650941371918, -0.21902188658714294, -0.5322791337966919, -0.1628698706626892, 0.3162892460823059, -0.6847278475761414, -0.004471719730645418, -0.4355456531047821, -0.595999538898468, -0.4424026906490326, -0.038577280938625336, -0.6493726968765259, -0.3821635842323303, -0.18773365020751953, -0.03847052529454231, 0.19233956933021545, 1.0537551641464233, 0.026967382058501244, 0.46408697962760925, -0.5221476554870605, -0.169960156083107, 0.2989603877067566, 0.40438514947891235, -0.15010227262973785, -0.9468188881874084, -0.10508210957050323, -0.018012240529060364, -0.447138249874115, -0.7112629413604736, 0.37215515971183777, 0.3529382050037384, 0.4738289713859558, 0.1568949818611145, -0.010943141765892506, 0.5725180506706238, -0.7323789000511169, 1.1550683975219727, -0.15128174424171448, -1.3038263320922852, 0.6709168553352356, -0.2512083351612091, 0.4023573100566864, 0.20694082975387573, 0.42262279987335205, -0.6646842956542969, -0.6161575317382812, -0.753422737121582, -0.6609479784965515, 1.008280634880066, 0.4111742079257965, 0.5112433433532715, 0.087614044547081, 0.49045103788375854, 0.41426512598991394, 0.008745985105633736, -1.0216073989868164, -0.37807580828666687, -0.5153948664665222, 0.11306740343570709, -0.2894629240036011, -0.6272711753845215, 0.12859220802783966, -0.3759942054748535, 0.6031006574630737, 0.20282402634620667, 0.2668260633945465, 0.38127270340919495, -0.13583265244960785, 0.03484674543142319, 0.6630935668945312, 0.9557708501815796, 0.648235559463501, -0.23430193960666656, 0.3020012676715851, 0.10888832062482834, -0.4655766487121582, 0.22348593175411224, -0.017061574384570122, -0.14157751202583313, 0.2071521133184433, 0.5791260004043579, 1.0153026580810547, 0.214887335896492, -0.26643314957618713, 0.5619519352912903, 0.11921913176774979, -0.2984514534473419, -0.5654425024986267, -0.19075146317481995, -0.25687113404273987, 0.24551349878311157, 0.1816289722919464, -0.13604897260665894, -0.014710755087435246, -0.7584249973297119, 0.09416818618774414, 0.4574400782585144, -0.6643291711807251, -0.9602228403091431, 0.3699319660663605, -0.0194232277572155, -0.6205592155456543, 0.3560043275356293, -0.34874388575553894, -0.8965075016021729, 0.41615647077560425, 0.741146981716156, 0.8437080383300781, -0.6243907809257507, 0.3262546956539154, 0.205112487077713, 0.5453658103942871, 0.23278769850730896, 0.38426145911216736, 0.05294908955693245, -0.944567859172821, -0.6678751707077026, -0.6143067479133606, -0.27752846479415894, 0.5478224158287048, -0.9049522876739502, 0.13594603538513184, -0.14989474415779114, -0.1415918469429016, -0.1268230825662613, -0.4325770437717438, -0.6597920656204224, 0.3351731300354004, -0.21163572371006012, 0.3956519067287445, -0.9201096892356873, 1.0356773138046265, 0.993621826171875, -0.30913543701171875, -0.5318368077278137, 0.034728843718767166, -0.23610804975032806, -0.7758297920227051, 0.8009881973266602, -0.017623472958803177, 0.11815986782312393, -0.3524831235408783, -0.19332343339920044, -1.1201567649841309, 0.6037283539772034, 0.2503388524055481, -0.38401755690574646, 0.04235588014125824, 0.5438850522041321, 0.7411354184150696, -0.26325321197509766, 0.3378106355667114, 0.6130067110061646, 0.3595450818538666, 0.019316423684358597, -1.2318525314331055, 0.11448239535093307, -0.21775904297828674, 0.1880621314048767, 0.4293423295021057, -0.6094644069671631, 0.9763522148132324, 0.22991514205932617, -0.07303456962108612, -0.011334113776683807, 0.6446405649185181, -0.48000234365463257, 0.04322592914104462, 0.4092540144920349, 0.3583832383155823, 0.16255338490009308, -0.2669857442378998, 1.0376598834991455, -0.1767788827419281, 0.48140832781791687, 1.0570496320724487, 0.04768626019358635, 0.9653406739234924, 0.615851640701294, -0.4176066815853119, 0.5247213244438171, 0.5795276761054993, 0.2975786030292511, 0.6448900699615479, 0.027961933985352516, -0.08760766685009003, -0.2447439581155777, -0.17130804061889648, -0.23612026870250702, 0.7839850187301636, 0.49833711981773376, -0.3058865964412689, -0.019858919084072113, 0.2398519515991211, 0.09923890233039856, 0.17148549854755402, -0.310612291097641, 0.850990891456604, 0.007626629900187254, -0.9655215740203857, 0.5282655358314514, 0.13717959821224213, 0.6286863684654236, -0.6928901672363281, 0.1275329291820526, -0.4025365114212036, 0.10624098777770996, -0.15113578736782074, -0.8543373942375183, 0.5712026953697205, -0.2365400642156601, -0.1592339277267456, -0.4068313539028168, 0.6334263682365417, -0.5950695276260376, -0.4275161623954773, 0.1416935920715332, 0.3185102939605713, 0.16213524341583252, -0.038483209908008575, -0.3935864567756653, -0.07254818826913834, -0.10486412793397903, -0.27175047993659973, 0.2978559136390686, 0.4111551344394684, 0.1356087028980255, 0.41572850942611694, 0.10137597471475601, 0.12115413695573807, -0.06925927847623825, 0.21790510416030884, 0.7621644735336304, -0.6571032404899597, -0.511221706867218, -0.9042526483535767, 0.7327823042869568, 0.253274530172348, -0.36410579085350037, 0.7130326628684998, 0.40146350860595703, 0.9829347729682922, -0.09482021629810333, 0.27948904037475586, -0.06765727698802948, 0.13862670958042145, -0.800243079662323, 0.543429970741272, -0.3373664617538452, -0.011411072686314583, -0.11373016238212585, -0.8250213861465454, -0.040581557899713516, 0.5312038660049438, -0.5375276207923889, -0.018574941903352737, 1.005741834640503, 0.7050079703330994, -0.25928613543510437, 0.1284082680940628, 0.547080934047699, 0.33194994926452637, 0.23698246479034424, 0.3533998429775238, 0.9691244959831238, -0.5631481409072876, 0.21626466512680054, -0.6023225784301758, -0.21034808456897736, 0.07708144932985306, -0.8019453287124634, -1.0322489738464355, -1.149121880531311, -0.2611834704875946, -0.17402303218841553, -0.07359321415424347, 0.6895862817764282, 0.7770423889160156, -0.8907385468482971, -0.16719810664653778, -0.055549606680870056, -0.16727565228939056, -0.14341667294502258, -0.24572190642356873, 0.28407081961631775, -0.45869502425193787, -0.660609781742096, 0.275927871465683, 0.10385759174823761, 0.09655731916427612, -0.413521945476532, 0.18099148571491241, -0.16485261917114258, 0.13032279908657074, 0.6463826894760132, -0.15359719097614288, -1.0807255506515503, -0.8301638960838318, 0.19654150307178497, 0.4064032733440399, 0.11746224761009216, 0.9901503920555115, -0.551071047782898, 0.49868088960647583, 0.3410066068172455, 0.27252185344696045, 0.7055141925811768, -0.14802736043930054, 0.7699502110481262, -1.1632102727890015, 0.3922683596611023, 0.21756218373775482, 0.4141859710216522, 0.34903693199157715, -0.4303651452064514, 0.14768695831298828, 0.001183980144560337, -0.5261340141296387, -0.6517791748046875, 0.48978835344314575, -0.7410533428192139, -0.3986157178878784, 1.0867869853973389, -0.20023082196712494, -0.25508445501327515, -0.04537653177976608, 0.06171858683228493, 0.16466981172561646, -0.20576393604278564, 0.5174712538719177, 1.1643255949020386, -0.40937861800193787, -0.08506553620100021, -0.6051530838012695, 0.4434936046600342, 0.8602696657180786, -0.3542540967464447, -0.09738118201494217, 0.21466273069381714, 0.16227968037128448, 0.2630659341812134, 0.33508530259132385, 0.0723985806107521, 0.10879956930875778, -0.04691934585571289, -0.0649782344698906, -0.011160393245518208, -0.2520759105682373, -0.7571226358413696, -0.07212955504655838, 0.13931891322135925, -0.21672114729881287 ]
http://arxiv.org/abs/2406.06580v1
http://arxiv.org/pdf/2406.06580v1
Break the Chain: Large Language Models Can be Shortcut Reasoners
2024-06-04T14:02:53
2024-06-04T14:02:53
Mengru Ding, Hanmeng Liu, Zhizhang Fu, Jian Song, Wenbo Xie, Yue Zhang
cs.CL
cs.CL, cs.AI
Recent advancements in Chain-of-Thought (CoT) reasoning utilize complex modules but are hampered by high token consumption, limited applicability, and challenges in reproducibility. This paper conducts a critical evaluation of CoT prompting, extending beyond arithmetic to include complex logical and commonsense reasoning tasks, areas where standard CoT methods fall short. We propose the integration of human-like heuristics and shortcuts into language models (LMs) through "break the chain" strategies. These strategies disrupt traditional CoT processes using controlled variables to assess their efficacy. Additionally, we develop innovative zero-shot prompting strategies that encourage the use of shortcuts, enabling LMs to quickly exploit reasoning clues and bypass detailed procedural steps. Our comprehensive experiments across various LMs, both commercial and open-source, reveal that LMs maintain effective performance with "break the chain" strategies. We also introduce ShortcutQA, a dataset specifically designed to evaluate reasoning through shortcuts, compiled from competitive tests optimized for heuristic reasoning tasks such as forward/backward reasoning and simplification. Our analysis confirms that ShortcutQA not only poses a robust challenge to LMs but also serves as an essential benchmark for enhancing reasoning efficiency in AI.
[ -0.41873958706855774, -0.9398489594459534, 1.007824420928955, -0.16706611216068268, -0.2717750668525696, 0.5005272030830383, -0.3076203763484955, -0.27024492621421814, -0.21734832227230072, 0.45800989866256714, -0.6532851457595825, -0.29423120617866516, -0.42362913489341736, 0.200484037399292, -0.38559481501579285, 0.8097707629203796, -0.2301393300294876, -0.2580595314502716, -0.08118017017841339, -0.16549009084701538, -0.7405951619148254, -0.591703474521637, -0.5383179187774658, -0.2825811803340912, 0.9459971785545349, 0.5614048838615417, 1.0661406517028809, 0.5692422986030579, 0.29018840193748474, 0.21656115353107452, -0.3731606900691986, 0.3022401034832001, -0.2792344093322754, -0.020021893084049225, -0.7252480387687683, -0.5316900014877319, -0.22797800600528717, -0.08830160647630692, 0.24510835111141205, 0.7990996241569519, -0.08286835253238678, 0.12050329893827438, -0.21140506863594055, 0.7306984663009644, -0.9139710068702698, -0.25296032428741455, -0.7546643614768982, -0.29512184858322144, -0.1709892302751541, -0.002780043287202716, -0.5649953484535217, -0.4746687114238739, 0.07063900679349899, -0.09127452969551086, -0.13107068836688995, 0.16634102165699005, 0.7162337899208069, 0.15460914373397827, -0.46115365624427795, -0.485315203666687, -0.6891480684280396, 0.8428515791893005, -0.6940798163414001, 0.3441150486469269, 0.24118030071258545, 0.3824493885040283, -0.2736159861087799, -0.45013415813446045, -0.6771446466445923, -0.44924187660217285, 0.1680786907672882, -0.5061036348342896, -0.23450587689876556, 0.1600136011838913, 0.39799049496650696, 0.11929772049188614, -0.3238144814968109, -0.03191828355193138, -0.5941002368927002, 0.20370596647262573, 0.4674311876296997, 0.17467373609542847, 0.5690639019012451, -0.04309019446372986, -0.1821984201669693, -0.10265719145536423, -0.8593952655792236, 0.0436662957072258, 0.21124151349067688, 0.34301310777664185, 0.2313755750656128, 0.5265942811965942, -0.06489760428667068, 0.7815781235694885, -0.28484416007995605, 0.044976409524679184, -0.14290958642959595, -0.3073645532131195, -0.15739315748214722, 0.02511371672153473, 0.8271443247795105, 0.10478701442480087, 0.6596440672874451, -0.16021214425563812, -0.20033715665340424, 0.1561596393585205, 0.1295628696680069, -0.3787035048007965, -0.1850118488073349, 0.3978806138038635, -0.11932893842458725, -0.42915287613868713, -0.29797041416168213, -0.5709347128868103, -0.1171342059969902, -0.21234841644763947, 0.4522897005081177, -0.3535608947277069, -0.1688060611486435, 0.2899993658065796, -0.28102585673332214, 0.04092370346188545, 0.19287678599357605, -0.6001652479171753, 0.3215358853340149, 0.8507211208343506, 0.9277762174606323, 0.005772549659013748, -0.30501437187194824, -0.6488204598426819, 0.02020019106566906, -0.5080264806747437, 0.6902157068252563, -0.4817078411579132, -0.3572901487350464, -0.1402900516986847, -0.19631031155586243, -0.09517619013786316, -0.6207725405693054, 0.5804953575134277, -0.2960047721862793, 0.05568287521600723, -0.4630100131034851, -0.3477495312690735, -0.0871901884675026, 0.5143886804580688, -0.8114671111106873, 0.6781706213951111, -0.1725449562072754, -0.34800270199775696, 0.08211886882781982, -0.7281633019447327, -0.5742551684379578, -0.13960428535938263, -0.3238164186477661, -0.07932350784540176, 0.14180302619934082, 0.3950001001358032, -0.014811530709266663, -0.8721502423286438, 0.3428455889225006, -0.4285847246646881, -0.2580685019493103, 0.4425268769264221, -0.707308828830719, 0.8551086187362671, 0.11094368249177933, -0.5364817380905151, 0.13949772715568542, -0.5480160117149353, 0.218373104929924, 0.3131544291973114, -0.005591961555182934, -0.3405918776988983, 0.041515931487083435, -0.3778621554374695, 0.6320347189903259, -0.03004005178809166, -0.10997661203145981, 0.396074503660202, -0.3625905513763428, 0.6279478669166565, 0.8930943012237549, 0.1043953001499176, 0.2072562575340271, -0.15159104764461517, 0.7173842787742615, -0.04225875809788704, 0.422922283411026, -0.13605007529258728, -0.40321990847587585, -0.744472324848175, -0.18631723523139954, 0.30828872323036194, 0.40476417541503906, -0.8399438261985779, 0.262091726064682, 0.07242271304130554, -0.5074625015258789, -0.5922404527664185, 0.20565997064113617, 0.681158185005188, 0.5439819693565369, 0.47020676732063293, -0.013346339575946331, -0.09549589455127716, -0.6180056929588318, -0.6714615821838379, -0.2172626405954361, 0.1728476583957672, 0.09416552633047104, 0.5610244870185852, -0.025470644235610962, 0.8202709555625916, -0.6351568102836609, 0.3159681260585785, -0.7429388165473938, 0.3030746281147003, 0.3521782159805298, 0.24177345633506775, 0.0936347022652626, -0.469480037689209, -0.11812550574541092, -0.3451385796070099, -0.6562758088111877, 0.09014109522104263, -0.2782907485961914, -0.36406975984573364, -0.09115595370531082, 0.47694090008735657, -0.8530256748199463, 0.7245073914527893, 0.11190512031316757, -0.5512219071388245, 0.9636605381965637, -0.11993162333965302, -0.023471703752875328, -0.5176860690116882, -0.012544989585876465, -0.23390156030654907, -0.1428479552268982, -0.43852460384368896, 0.2093615084886551, -0.1850317418575287, -0.14818336069583893, -0.6394842863082886, 0.45634615421295166, -0.5443369746208191, -0.044939786195755005, -0.19821195304393768, 0.2935889959335327, 0.31157949566841125, 0.4914941191673279, -0.05509982630610466, 0.6850323677062988, 0.38877904415130615, -0.6554315686225891, 0.22532150149345398, 0.14579474925994873, -0.463785856962204, 0.12913009524345398, -0.9283627867698669, 0.4299989938735962, 0.05430837348103523, 0.36191603541374207, -0.7268450856208801, 0.06897126138210297, 0.2038290798664093, -0.0022849258966743946, -0.24422825872898102, 0.02236948162317276, -0.6452886462211609, -0.5948939919471741, -0.29595306515693665, 0.7800731062889099, 0.7023516893386841, -0.7635045051574707, 0.3041492998600006, -0.08604291826486588, 0.1550942361354828, -0.3739214539527893, -0.45519348978996277, 0.21698418259620667, -0.13868559896945953, -0.4853322505950928, -0.07954603433609009, -0.06409730762243271, -0.40481483936309814, -0.17051540315151215, -0.23757171630859375, 0.06898321211338043, 0.15528281033039093, -0.14647334814071655, 0.4126579165458679, -0.05137654021382332, 0.09351936727762222, 0.1435503214597702, -0.06929989159107208, 0.17840026319026947, -0.2614189386367798, 0.599471390247345, -0.29850178956985474, -0.41618528962135315, -0.5738627314567566, 0.2544104754924774, 0.9498724341392517, -0.38619592785835266, 0.7710678577423096, -0.07797975838184357, -0.2313266545534134, -0.24810218811035156, -0.4077969491481781, -0.2853991687297821, -0.4769229590892792, -0.05308710038661957, -0.44531771540641785, -0.5081964731216431, 0.1399444192647934, -0.5557441711425781, -0.189434215426445, 0.1668490767478943, 0.4404592216014862, -0.04824145883321762, 1.2526354789733887, 0.19061166048049927, 0.028704658150672913, 0.09980996698141098, -0.35640743374824524, 0.7267168760299683, -0.6874372959136963, -0.08615685254335403, -0.5709285736083984, -0.21743962168693542, -0.25867512822151184, -0.6608028411865234, 0.3739863336086273, 0.6069150567054749, -0.39813631772994995, 0.33226388692855835, -0.42586830258369446, 0.9639896154403687, 0.3405035734176636, -0.0208321213722229, 0.31796640157699585, -0.43241050839424133, -0.4378614127635956, 0.44391709566116333, -0.8835816979408264, -0.5987069010734558, 0.7086065411567688, 0.3958810865879059, 0.7841924428939819, 0.10437741875648499, 0.5951864719390869, 0.3062182664871216, 0.01789741776883602, -0.8832983374595642, 0.6562084555625916, 0.009800378233194351, -0.5838195085525513, -0.35119450092315674, -0.39066436886787415, -0.6600192785263062, 0.06623934954404831, 0.1708824187517166, -1.042258858680725, 0.23898275196552277, 0.33854058384895325, -0.4614517390727997, 0.3910105526447296, -0.6210353970527649, 0.9711768627166748, -0.6072278022766113, -0.41212859749794006, -0.24420103430747986, -0.5917732119560242, 0.5396430492401123, 0.2611798346042633, 0.5175405740737915, -0.2428038865327835, 0.2146017849445343, 0.6072643995285034, -1.118016004562378, 0.708764374256134, 0.08616770058870316, -0.09870802611112595, 0.6761099696159363, 0.44483447074890137, 0.779404878616333, -0.33383113145828247, 0.09536615759134293, 0.10339270532131195, 0.016249999403953552, -0.4329671859741211, -0.9018464088439941, 0.4526766240596771, -0.5182738304138184, -0.6574190258979797, -0.33212944865226746, -0.3271379768848419, -0.3417496085166931, 0.05850060284137726, 0.24251067638397217, 0.5157449841499329, 0.12535429000854492, -0.1792164444923401, 0.4007309675216675, -0.17570410668849945, 0.45277103781700134, -0.05914312228560448, -0.25678107142448425, -0.49608179926872253, 0.9875602722167969, -0.06915666908025742, 0.779995858669281, 0.07958914339542389, 0.5871399641036987, -0.41849857568740845, -0.10003195703029633, -0.5228033065795898, 0.23967091739177704, -0.9077584743499756, -0.12411424517631531, -0.38314110040664673, -0.17454203963279724, 0.025126514956355095, -0.4292430281639099, -0.47844424843788147, -0.6016753911972046, -0.06713061779737473, -0.22536779940128326, 0.1899069994688034, 0.7313596606254578, 0.09784707427024841, 0.15994131565093994, -0.8228471875190735, 0.38751739263534546, 0.4683931767940521, 0.07226758450269699, 0.5101436376571655, -0.0186461228877306, -0.19533118605613708, -0.14301525056362152, -0.3245414197444916, -1.1027878522872925, 0.15250496566295624, -0.23733389377593994, 0.29030048847198486, 0.4553915560245514, 0.21756622195243835, 0.8307832479476929, -0.5191776156425476, 0.8947100043296814, 0.5679858922958374, -1.455095887184143, 0.7289242148399353, -0.2351710945367813, 0.5036197304725647, 0.7022581696510315, 0.4329442083835602, -0.5242521166801453, -0.38445526361465454, -0.5570030808448792, -0.9581092596054077, 0.44377371668815613, 0.2352386862039566, -0.3412594497203827, -0.4532369077205658, 0.16971369087696075, -0.0673927515745163, 0.1901455819606781, -0.37202656269073486, 0.11000629514455795, 0.24933446943759918, -0.15770405530929565, 0.23192591965198517, -0.20075435936450958, -0.06373099237680435, -0.4026196300983429, 0.41479429602622986, -0.12426283210515976, -0.13534805178642273, 0.06252660602331161, -0.27579930424690247, -0.04432011395692825, 0.6653090715408325, 0.5732282400131226, 0.9474327564239502, -0.1259360909461975, 0.24423512816429138, 0.1734737604856491, 0.01308449637144804, 0.3676503896713257, -0.6582112312316895, -0.13490869104862213, 0.0109400087967515, 0.5613133311271667, 0.8147440552711487, 0.23041565716266632, -1.0518258810043335, 0.36877983808517456, -0.02706395834684372, -0.08091773092746735, 0.0888453871011734, 0.24715909361839294, -0.07387834787368774, 0.11872538179159164, 0.10234189033508301, -0.03833099082112312, 0.051302745938301086, -0.8934391736984253, 0.06963586807250977, 0.1923987865447998, -0.4918823838233948, -0.2935590147972107, 0.5166904926300049, 0.3371518850326538, -0.6707873344421387, 0.7433896660804749, -0.14808669686317444, -0.8199909329414368, 0.630692183971405, 0.39437785744667053, 1.0583504438400269, -0.024032924324274063, 0.27712535858154297, 0.17583052814006805, 0.4929492473602295, -0.3884356617927551, 0.3385099470615387, -0.3247295320034027, -0.5488765835762024, -0.5952289700508118, -0.12588955461978912, -0.6027066111564636, -0.03778054565191269, -0.7707815170288086, 0.5471488237380981, -0.7609307169914246, -0.07399433106184006, -0.1302732676267624, -0.41920897364616394, -0.6874839663505554, 0.20806001126766205, 0.031279005110263824, 1.1945180892944336, -0.5730195641517639, 0.7668565511703491, 0.13749562203884125, -0.754953920841217, -0.9209740161895752, 0.30543774366378784, 0.04688388481736183, -0.5460901260375977, 0.63298100233078, 0.213233083486557, -0.41354674100875854, -0.3878689110279083, -0.6034194827079773, -0.4844537079334259, 0.7977012395858765, 0.29106420278549194, -1.0501863956451416, -0.38220465183258057, 0.2014203667640686, 0.21378658711910248, -0.24096113443374634, 0.3966343104839325, 1.1858686208724976, 0.37301892042160034, 0.28499123454093933, -0.9267493486404419, 0.36782535910606384, 0.09225933998823166, -0.0921287089586258, 0.4585067927837372, -0.5649616718292236, 0.7703554630279541, -0.6146634221076965, 0.0003297949442639947, 0.048856351524591446, 0.23693251609802246, 0.6771435737609863, 0.3890949785709381, 0.7883377075195312, 0.46242204308509827, 0.8475765585899353, 0.18619050085544586, 1.0100914239883423, -0.11052291095256805, 0.1637369841337204, 1.317611813545227, -0.41046905517578125, 1.0194588899612427, 0.5718413591384888, 0.07895509153604507, 0.9446430206298828, 0.17805887758731842, 0.38852450251579285, 0.6094398498535156, 0.5892522931098938, -0.3938606083393097, -0.5473238229751587, -0.12054116278886795, -0.19790148735046387, 0.4598000645637512, 0.42653730511665344, -0.22183848917484283, -0.26670336723327637, -0.0037522753700613976, 0.348795086145401, -0.03211534768342972, -0.2767927050590515, 0.6880359649658203, 0.30295896530151367, -0.9534128308296204, 0.9640758037567139, -0.09977569431066513, 0.08831421285867691, -0.3026256561279297, -0.13119396567344666, 0.015212730504572392, 0.2012190818786621, 0.06370390206575394, -0.5970706343650818, 0.2836768329143524, 0.41653379797935486, 0.02336340956389904, -0.13784630596637726, 0.6568415760993958, -0.27908992767333984, -0.4837966561317444, 0.4109992980957031, 0.44780972599983215, 0.16626568138599396, -0.07339619100093842, -0.7771255373954773, 0.4029647707939148, -0.08587136119604111, -0.07563603669404984, 0.0761709064245224, 0.5264705419540405, -0.31571316719055176, 0.7043655514717102, 0.808246910572052, -0.004075274337083101, -0.2396758645772934, 0.30476871132850647, 1.0964469909667969, -1.228952407836914, -0.4186019003391266, -1.2053868770599365, 0.6439945101737976, -0.0742419958114624, -0.3507349491119385, 0.3547195494174957, 0.1732633262872696, 0.5320070385932922, 0.11486870050430298, 0.8430765271186829, 0.29397979378700256, 0.1286030262708664, -0.5690949559211731, 0.5331580638885498, -0.4574786424636841, 0.5375322699546814, -0.3029019832611084, -0.5968182682991028, -0.04040532559156418, 0.29859960079193115, -0.6316826343536377, -0.07450060546398163, 1.075976848602295, 0.3669408857822418, 0.11244098842144012, 0.04420868679881096, 0.36355194449424744, 0.20826873183250427, 0.6854279637336731, 0.8146799206733704, 1.1002779006958008, -0.22563660144805908, 0.7124596238136292, -0.14735865592956543, -0.23759905993938446, -0.19167841970920563, -0.9320617318153381, -1.1566647291183472, -0.1439153552055359, -0.4326147735118866, -0.5037580728530884, 0.25974899530410767, 1.2011691331863403, 0.534152626991272, -0.5891438126564026, -0.2644926905632019, -0.6057286262512207, 0.7142000198364258, -0.33022502064704895, -0.20767293870449066, 0.2612927258014679, -0.4562339782714844, -0.2512754797935486, 0.5811012983322144, 0.5133402347564697, -0.32596802711486816, -0.43145161867141724, -0.045684222131967545, -0.33166760206222534, 0.6620917916297913, 0.6331698298454285, 0.5252885818481445, -0.9521689414978027, -0.22871577739715576, -0.12538640201091766, 0.16804054379463196, -0.21054691076278687, 1.1072818040847778, -0.9418045282363892, 0.44334450364112854, 0.5745190382003784, 0.40939027070999146, 0.1292758733034134, -0.05906921625137329, 0.7441256642341614, -0.5437626838684082, 0.12763868272304535, 0.3954145610332489, 0.29384931921958923, 0.1709536761045456, -0.2641508877277374, 0.41159677505493164, 0.15056343376636505, -0.43737199902534485, -1.113630771636963, 0.3810946047306061, -0.6571699976921082, -0.599189281463623, 1.0597621202468872, -0.05412815883755684, -0.6735230088233948, -0.062386687844991684, -0.21081103384494781, 0.0153420465067029, -0.2807643711566925, 0.7091189026832581, 0.7347077131271362, -0.17790204286575317, -0.2966628074645996, -0.21750231087207794, 0.41060343384742737, 0.43549519777297974, -0.8973783850669861, 0.12400557845830917, 0.1911865472793579, 0.07054667174816132, 0.1959332525730133, 0.48538917303085327, -0.030056875199079514, 0.4327700734138489, -0.13151519000530243, -0.09716925770044327, 0.04935983940958977, -0.7702406048774719, -0.19578078389167786, 0.13061513006687164, 0.3095184862613678, -0.21480146050453186 ]
http://arxiv.org/abs/2406.02332v1
http://arxiv.org/pdf/2406.02332v1
Extended Mind Transformers
2024-06-04T14:00:25
2024-06-04T14:00:25
Phoebe Klett, Thomas Ahle
cs.LG
cs.LG, cs.CL
Pre-trained language models demonstrate general intelligence and common sense, but long inputs quickly become a bottleneck for memorizing information at inference time. We resurface a simple method, Memorizing Transformers (Wu et al., 2022), that gives the model access to a bank of pre-computed memories. We show that it is possible to fix many of the shortcomings of the original method, such as the need for fine-tuning, by critically assessing how positional encodings should be updated for the keys and values retrieved. This intuitive method uses the model's own key/query system to select and attend to the most relevant memories at each generation step, rather than using external embeddings. We demonstrate the importance of external information being retrieved in a majority of decoder layers, contrary to previous work. We open source a new counterfactual long-range retrieval benchmark, and show that Extended Mind Transformers outperform today's state of the art by 6% on average.
[ -0.6893376708030701, -0.5668201446533203, 0.6721250414848328, -0.3234702944755554, -0.12478518486022949, -0.17887915670871735, -0.4291793704032898, -0.44328099489212036, 0.0820022001862526, 0.738989531993866, -0.6925057172775269, -0.05336697772145271, -0.5773029923439026, -0.2618497312068939, -0.6186770796775818, 0.8956314325332642, 0.11972598731517792, -0.3884415924549103, -0.18829964101314545, -0.2739255428314209, -0.23223425447940826, -0.7595802545547485, -0.5573971271514893, -0.4685908257961273, 0.3500349521636963, 0.2610681653022766, 0.8325483798980713, 0.4047599136829376, 0.44169917702674866, 0.3005501925945282, 0.08972950279712677, 0.02486269734799862, -0.4671132564544678, 0.00450309831649065, -0.5277442336082458, -0.6736992001533508, -0.5139278173446655, 0.02127082273364067, 0.3124220371246338, 0.6523657441139221, -0.17622579634189606, 0.11713359504938126, -0.23769330978393555, 1.004745364189148, -0.6583549380302429, 0.19823221862316132, -0.7470288872718811, 0.09010060876607895, -0.04815066605806351, -0.12171044945716858, -0.6739547252655029, -0.23630815744400024, 0.3927555978298187, -0.6079246997833252, 0.44934362173080444, -0.02785765565931797, 0.6838245391845703, 0.4968206584453583, -0.21380044519901276, -0.35089388489723206, -1.0396780967712402, 0.8717126846313477, -0.1553024798631668, 0.6584436297416687, 0.4340377449989319, 0.5315871834754944, -0.10216312855482101, -1.118200421333313, -0.6095922589302063, -0.1577126383781433, -0.049593351781368256, 0.3253512978553772, -0.5210838317871094, -0.007076209876686335, 0.577055037021637, 0.46287834644317627, -0.12006032466888428, -0.1922990083694458, -0.4318666160106659, -0.11971548199653625, 0.3124886155128479, -0.041137609630823135, 0.1948654055595398, 0.23173928260803223, -0.07955332845449448, -0.46286439895629883, -0.6910535097122192, 0.027527043595910072, 0.22875317931175232, -0.0630561038851738, 0.2855244576931, 0.42747077345848083, -0.2650240659713745, 0.5169913172721863, 0.2286335825920105, 0.3717697858810425, 0.2084909826517105, -0.06669332087039948, -0.06598125398159027, -0.24206359684467316, 0.4260805547237396, 0.23484662175178528, 0.8228273987770081, -0.2509309649467468, -0.14740563929080963, -0.1989772468805313, 0.625492513179779, -0.716471791267395, -0.599692165851593, 0.00885972660034895, -0.24937741458415985, 0.4395061433315277, -0.11935500055551529, -0.6773614287376404, -0.009633411653339863, -0.4238690435886383, 0.4939640760421753, -0.707496702671051, -0.1915987730026245, 0.17049795389175415, -0.2981254458427429, 0.2539603114128113, 0.271782785654068, -1.0632097721099854, 0.31277886033058167, 0.59903883934021, 0.39918941259384155, -0.019711529836058617, -0.27860692143440247, -0.2593843936920166, 0.2103351354598999, -0.1897962987422943, 0.9944512248039246, -0.6200372576713562, -0.3415937125682831, -0.20299211144447327, -0.0473574735224247, -0.09999839216470718, -0.6468198299407959, 0.43150490522384644, -0.7243440747261047, 0.355357825756073, -0.38102173805236816, -0.5475566387176514, -0.26417428255081177, 0.1274622678756714, -0.8669873476028442, 0.9363684058189392, 0.2575920522212982, -0.5825293660163879, 0.14868564903736115, -0.5860832333564758, -0.43633565306663513, -0.1850820779800415, -0.19734670221805573, -0.21246932446956635, 0.48220738768577576, 0.49816805124282837, 0.28440216183662415, -0.24051594734191895, 0.2764172852039337, -0.09119059890508652, -0.5658058524131775, 0.22500385344028473, -0.6273236870765686, 0.7218507528305054, 0.04174864664673805, -0.05220508202910423, 0.0026355416048318148, -0.7654248476028442, 0.08477763831615448, 0.11644679307937622, -0.15616144239902496, -0.3619329631328583, 0.13438156247138977, -0.5327906012535095, 0.16757212579250336, 0.24589858949184418, -0.35711371898651123, 0.17068767547607422, -0.42038655281066895, 0.4687119126319885, 0.5585471987724304, -0.22565707564353943, 0.48834171891212463, -0.2709704041481018, 0.22845083475112915, 0.16467177867889404, 0.22345483303070068, -0.5054805874824524, -0.27048689126968384, -1.1486554145812988, -0.09198925644159317, -0.026679016649723053, 0.44417476654052734, -0.5994278192520142, 0.5193080306053162, -0.6665819883346558, -0.39252567291259766, -0.6087757349014282, 0.017708268016576767, 0.16428029537200928, 0.4998500645160675, 0.8012839555740356, -0.37483301758766174, -0.5652011036872864, -1.1037085056304932, -0.5049139261245728, -0.08771456032991409, -0.3722778558731079, 0.34647566080093384, 0.5043895840644836, -0.26969820261001587, 0.9636489748954773, -0.647170901298523, 0.05611357465386391, -0.2644726634025574, 0.01008659414947033, 0.2207966446876526, 0.34751683473587036, 0.23190130293369293, -0.7307924628257751, -0.07152026891708374, -0.22604110836982727, -0.5035300254821777, 0.39096835255622864, -0.05857215076684952, -0.08114266395568848, -0.0437505841255188, 0.7311736345291138, -1.2259513139724731, 0.3218597173690796, 0.1704007238149643, 0.03092297725379467, 0.3596598207950592, -0.3544798791408539, -0.15267238020896912, -0.8283651471138, 0.20817288756370544, -0.4642339050769806, -0.047543060034513474, -0.5893422365188599, 0.2902902364730835, 0.3757668733596802, -0.038012370467185974, -0.2900441586971283, 0.5175786018371582, -0.4976368248462677, 0.007880671881139278, -0.18999506533145905, 0.08647461235523224, -0.021694231778383255, 0.7460795640945435, 0.05268937721848488, 0.7794423699378967, 0.2775748670101166, -0.6776222586631775, 0.5233487486839294, -0.036039065569639206, -0.527072012424469, 0.42054733633995056, -0.39943715929985046, 0.7355017066001892, -0.4624369740486145, 0.3814850449562073, -0.7626678943634033, -0.06729362905025482, -0.03911446034908295, -0.34954237937927246, 0.5480542182922363, 0.053490858525037766, -0.33134710788726807, -0.6318149566650391, -0.016125908121466637, 0.23720310628414154, 0.8183833956718445, -0.7297906875610352, 0.9758836030960083, 0.27396368980407715, 0.09115628898143768, -0.7875539064407349, -0.4501885175704956, -0.05441341921687126, -0.03635866940021515, -0.2725226581096649, 0.3600844144821167, -0.13456399738788605, -0.13308526575565338, -0.06419473886489868, -0.2920210659503937, -0.04772081971168518, 0.07528306543827057, 0.03013540990650654, -0.015077141113579273, -0.18439646065235138, 0.29653722047805786, -0.11783330142498016, -0.24892264604568481, 0.1761416792869568, -0.30111798644065857, 0.6893409490585327, -0.19927872717380524, -0.45847705006599426, 0.15509164333343506, 0.3381114900112152, 0.46358272433280945, -0.3718680143356323, 0.5255358219146729, 0.5197142362594604, -0.3803645074367523, -0.24253180623054504, -0.8456999659538269, -0.2440505027770996, -0.5134261846542358, 0.8251370191574097, -0.5768907070159912, -0.6675292253494263, 0.5112295746803284, -0.18276380002498627, -0.018463630229234695, 0.4717583954334259, 0.235160231590271, -0.08116306364536285, 0.9250265955924988, 0.8966771364212036, -0.09417839348316193, 0.43008726835250854, -0.22396183013916016, 0.31160402297973633, -0.8857050538063049, -0.20012347400188446, -0.23802904784679413, -0.21403540670871735, -0.2962508499622345, -0.37245550751686096, -0.1223595067858696, 0.26276353001594543, -0.20139333605766296, 0.5004782676696777, -0.3343965411186218, 0.6791620850563049, 0.7409748435020447, 0.2403317093849182, 0.3352428078651428, -0.07196259498596191, -0.23648978769779205, 0.014706983231008053, -0.4352237284183502, -0.14270180463790894, 1.206863284111023, 0.3019706904888153, 0.6643363237380981, -0.03378107026219368, 0.4887688457965851, -0.22545389831066132, 0.5992528200149536, -0.9297212362289429, 0.6901319622993469, -0.2632492184638977, -0.7862803936004639, -0.19017137587070465, -0.10457474738359451, -0.7036921977996826, 0.03164532035589218, 0.1838647872209549, -0.6871849298477173, 0.026334570720791817, 0.3032684922218323, -0.5900286436080933, 0.2655979096889496, -0.9480478167533875, 0.5327872037887573, -0.21541526913642883, -0.20037364959716797, -0.5376687049865723, -0.5619660019874573, 0.24986571073532104, -0.26525187492370605, -0.18627476692199707, 0.149806946516037, 0.07114428281784058, 0.5856621265411377, -0.020795755088329315, 0.559174120426178, -0.11733996868133545, 0.013926410116255283, 0.20077580213546753, -0.16956409811973572, 0.49303796887397766, -0.3087271749973297, -0.07792702317237854, 0.07764265686273575, -0.2250785529613495, -0.24578887224197388, -1.0054726600646973, 0.48865416646003723, -0.6083660125732422, -1.1149682998657227, -0.04269251599907875, -0.7586214542388916, -0.32526662945747375, 0.4495184123516083, 0.3588503301143646, 0.3657543659210205, -0.4032890796661377, 0.5163664221763611, 0.9637355208396912, -0.3903636932373047, 0.5315868854522705, 0.586783230304718, -0.04212673008441925, -0.16662321984767914, 0.6161118745803833, 0.21874092519283295, 0.22468343377113342, 0.6923062801361084, 0.030394665896892548, -0.37276607751846313, -0.432679146528244, -0.1924925297498703, -0.12132826447486877, -1.0243678092956543, 0.059288203716278076, -0.9080899953842163, -0.4053249955177307, -0.2614695727825165, 0.08090461045503616, -0.6459590792655945, -0.48354193568229675, 0.020869575440883636, -0.25016969442367554, 0.312004417181015, 0.5857475996017456, 0.012527544051408768, 0.3106110692024231, -0.7137614488601685, 0.5832544565200806, 0.6401951313018799, 0.5359076857566833, 0.1688677817583084, -0.45806461572647095, -0.4537545442581177, 0.03454718738794327, -0.3417215049266815, -0.7036423683166504, 0.2756800353527069, 0.20102709531784058, 0.6985238790512085, 0.34890905022621155, -0.08065585792064667, 0.8458128571510315, -0.7186073064804077, 0.4363563060760498, -0.03154071047902107, -0.749474823474884, 0.40474802255630493, -0.06037863716483116, 0.6599611639976501, 0.5045995116233826, 0.40573543310165405, -0.44219619035720825, -0.09217537194490433, -0.6376925706863403, -0.8003061413764954, 0.4727664291858673, -0.10470861196517944, 0.34801387786865234, -0.34456220269203186, 0.3455553650856018, 0.07650168240070343, 0.06458857655525208, -0.5084162354469299, -0.2744981348514557, -0.44156521558761597, -0.34359011054039, -0.2816799283027649, -0.2188737690448761, -0.05373544618487358, -0.5130259990692139, 0.269834965467453, -0.0925142765045166, 0.6089750528335571, 0.19785462319850922, -0.4643370807170868, 0.009782323613762856, 0.5160567164421082, 0.5312670469284058, 0.7452211976051331, -0.32904425263404846, 0.33732718229293823, 0.4516887664794922, -0.7015823125839233, -0.0062656402587890625, 0.1968383640050888, -0.00775030767545104, -0.19279690086841583, 0.11252744495868683, 0.7886878848075867, 0.4212040901184082, -0.5768032670021057, 0.3975786864757538, -0.12019624561071396, 0.042515937238931656, -0.7233617305755615, 0.3008577525615692, 0.25527656078338623, 0.247537299990654, 0.6277905702590942, 0.3942626118659973, 0.003708022413775325, -0.7551938891410828, 0.5078004002571106, 0.4824362099170685, -0.4945529103279114, -0.5493923425674438, 0.4053517282009125, 0.0004642990534193814, -0.3788120448589325, 0.9781535863876343, 0.06930866837501526, -0.5791544914245605, 0.445603609085083, 0.6389530301094055, 1.0786927938461304, -0.2858339548110962, -0.3621368110179901, 0.30565619468688965, 0.5487927198410034, -0.43709251284599304, 0.15223759412765503, -0.23390772938728333, -0.9239184856414795, -0.48789623379707336, -0.19311752915382385, -0.3213869631290436, 0.4007544219493866, -0.8422273993492126, 0.13294239342212677, -0.4904637932777405, -0.2566174864768982, -0.38364797830581665, -0.025805572047829628, -1.206400752067566, 0.30588123202323914, 0.137607604265213, 1.162231206893921, -0.4596256613731384, 1.1660455465316772, 0.41154250502586365, -0.23486024141311646, -0.5393176078796387, -0.013787484727799892, -0.5285873413085938, -1.049599289894104, 0.5483711957931519, 0.5166549682617188, -0.24220070242881775, 0.32354941964149475, -0.4695560336112976, -1.1281232833862305, 1.0305705070495605, 0.4180104434490204, -0.6740665435791016, -0.4401692748069763, -0.0442388653755188, 0.7345538139343262, -0.19976677000522614, 0.7982874512672424, 0.8815054297447205, 0.31154772639274597, -0.18629248440265656, -0.6394970417022705, 0.05441006273031235, -0.38992854952812195, -0.36334797739982605, 0.37746450304985046, -0.5741646885871887, 0.7812268733978271, -0.38434356451034546, -0.46088576316833496, -0.07739147543907166, 0.9398517608642578, -0.13586343824863434, 0.02005281113088131, 0.3558296859264374, 0.8820910453796387, 0.7107813358306885, -0.03180963173508644, 1.0598058700561523, -0.316928893327713, 0.04019453376531601, 1.4814064502716064, -0.0373825840651989, 1.0729986429214478, 0.4966391623020172, -0.15776024758815765, 0.5425382852554321, -0.00019247249292675406, 0.009103850461542606, 0.5970823168754578, 0.007820876315236092, 0.012288249097764492, -0.2176450490951538, 0.2272200584411621, -0.3556596040725708, 0.4131432771682739, 0.6359416842460632, -0.38117071986198425, -0.195062056183815, -0.11196751892566681, -0.26280102133750916, -0.02157771959900856, -0.22553686797618866, 0.6425058245658875, 0.278070867061615, -1.1447665691375732, 0.455799400806427, -0.3417283892631531, 0.6600710153579712, -0.5300765633583069, -0.011392340064048767, -0.300155371427536, 0.5720048546791077, 0.18861058354377747, -0.7487923502922058, 0.3372688591480255, -0.29558148980140686, -0.19666145741939545, -0.28457581996917725, 0.7295747995376587, -0.31959423422813416, -0.23477961122989655, 0.45228633284568787, 0.5270390510559082, 0.04366295039653778, -0.28429171442985535, -0.5588914752006531, -0.36450454592704773, -0.11188264191150665, -0.5165010094642639, 0.2607576847076416, 0.3797295391559601, -0.011903895065188408, 0.9491002559661865, 0.46256789565086365, -0.1662037968635559, 0.15399740636348724, 0.281366229057312, 0.8043488264083862, -1.1325081586837769, -0.3393296003341675, -0.8878535628318787, 0.24374806880950928, -0.06816290318965912, -0.3041681945323944, 0.6642739772796631, 0.3272901773452759, 1.1566107273101807, -0.19956427812576294, 0.5921280980110168, 0.3639321029186249, 0.6190480589866638, -0.4936096966266632, 0.6152896285057068, -0.07282450795173645, 0.08018230646848679, 0.015325925312936306, -0.9941678643226624, 0.016303490847349167, 0.5320211052894592, -0.4227987229824066, 0.09196862578392029, 0.8814310431480408, 0.6108632683753967, -0.272004097700119, 0.2574811279773712, 0.33190956711769104, 0.10246898233890533, 0.2331685721874237, 0.9487948417663574, 1.053154706954956, -0.5179275274276733, 0.7290341258049011, -0.34315773844718933, 0.08782799541950226, 0.09156879037618637, -0.6946829557418823, -1.1046276092529297, -0.4354162812232971, 0.03155387192964554, 0.15823987126350403, 0.03660322353243828, 0.798679530620575, 0.5824826955795288, -0.6714584231376648, 0.04174753278493881, -0.13237451016902924, -0.10195740312337875, -0.22070187330245972, -0.17378069460391998, 0.30507931113243103, -0.11888762563467026, -0.6637795567512512, 0.448809415102005, 0.33638614416122437, 0.09298855066299438, -0.17800292372703552, 0.171936497092247, 0.0397133007645607, 0.18380948901176453, 0.618511438369751, 0.4044528603553772, -0.6986909508705139, -0.6409191489219666, 0.24591262638568878, 0.033413536846637726, 0.15551729500293732, 0.9359390139579773, -1.1514496803283691, 0.44314461946487427, 0.5159761905670166, 0.6225862503051758, 0.6377286314964294, -0.04139763489365578, 0.8545013070106506, -0.6247330904006958, 0.21999113261699677, 0.14605051279067993, 0.37734076380729675, 0.2833998501300812, -0.21303300559520721, 0.21729621291160583, -0.1342313438653946, -0.2776413857936859, -0.5514804124832153, 0.4304475486278534, -0.5508043766021729, -0.34393879771232605, 0.6274259090423584, -0.19262918829917908, -0.30621159076690674, -0.25821489095687866, 0.1604771465063095, 0.45321083068847656, -0.1320120245218277, 0.8463792204856873, 0.9167921543121338, 0.005025367718189955, -0.4689362943172455, -0.475629597902298, 0.5866606831550598, 0.6764926314353943, -0.541439950466156, 0.03315182402729988, 0.31523439288139343, 0.2167772501707077, 0.3732326626777649, 0.7391908168792725, -0.22665272653102875, 0.12404407560825348, -0.008328178897500038, 0.005455832928419113, -0.05295206233859062, -0.6097196936607361, -0.2586643099784851, 0.07463272660970688, -0.11137474328279495, 0.13057926297187805 ]
http://arxiv.org/abs/2406.02331v1
http://arxiv.org/pdf/2406.02331v1
Translation Deserves Better: Analyzing Translation Artifacts in Cross-lingual Visual Question Answering
2024-06-04T14:00:02
2024-06-04T14:00:02
ChaeHun Park, Koanho Lee, Hyesu Lim, Jaeseok Kim, Junmo Park, Yu-Jung Heo, Du-Seong Chang, Jaegul Choo
cs.CL
cs.CL
Building a reliable visual question answering~(VQA) system across different languages is a challenging problem, primarily due to the lack of abundant samples for training. To address this challenge, recent studies have employed machine translation systems for the cross-lingual VQA task. This involves translating the evaluation samples into a source language (usually English) and using monolingual models (i.e., translate-test). However, our analysis reveals that translated texts contain unique characteristics distinct from human-written ones, referred to as translation artifacts. We find that these artifacts can significantly affect the models, confirmed by extensive experiments across diverse models, languages, and translation processes. In light of this, we present a simple data augmentation strategy that can alleviate the adverse impacts of translation artifacts.
[ -0.37106144428253174, -0.6913454532623291, 0.3602787256240845, 0.10083311051130295, -0.5948032140731812, 0.2022966593503952, 0.11751726269721985, -0.8245835900306702, 0.07213977724313736, 0.8083993196487427, -0.6421265602111816, -0.3420431911945343, -0.6382465362548828, 0.30267274379730225, -0.5499972701072693, 1.0023505687713623, -0.28299272060394287, 0.6217254400253296, -0.6242051124572754, -0.39195042848587036, -0.7293840050697327, -0.2162376195192337, -0.3668566942214966, -0.14146427810192108, 0.18616034090518951, 0.4065246284008026, 0.934130072593689, 0.567252516746521, 0.7243618965148926, 0.3116294741630554, 0.09681124240159988, 0.5943632125854492, -0.5620661973953247, -0.03572174161672592, -0.05610615387558937, -0.5389186143875122, -0.4774209260940552, -0.18442988395690918, 0.5300420522689819, 0.7976086139678955, 0.41396376490592957, 0.47333741188049316, 0.03874773159623146, 0.44199079275131226, -0.29534730315208435, -0.11216078698635101, -0.2942619025707245, 0.11180993169546127, -0.03405145928263664, -0.35344740748405457, -0.29963380098342896, -0.32693156599998474, 0.2715744078159332, -1.0477079153060913, 0.14500047266483307, -0.01135083194822073, 1.0888975858688354, 0.44035229086875916, -0.5757051110267639, 0.13512468338012695, -0.5653010606765747, 0.7689205408096313, -0.4931541979312897, 0.40960097312927246, 0.23210100829601288, 0.1613895744085312, 0.14738164842128754, -0.7985125780105591, -0.485351026058197, 0.16246184706687927, -0.28055649995803833, 0.1763724833726883, -0.07542892545461655, -0.2557061016559601, 0.08316051959991455, 0.6386837959289551, -0.712242066860199, -0.1733637899160385, -0.5727260708808899, -0.44038766622543335, 0.530693769454956, 0.30715012550354004, 0.9295617938041687, -0.24479444324970245, -0.5157331228256226, -0.3800645172595978, -0.5664279460906982, 0.13305474817752838, 0.04886840283870697, 0.18076537549495697, 0.009387942962348461, 0.8540016412734985, -0.41544970870018005, 0.5905876159667969, -0.13653674721717834, 0.12767501175403595, 0.619724452495575, -0.7821519374847412, -0.3126090466976166, -0.24891230463981628, 0.4621974527835846, 0.6153444051742554, 0.26636964082717896, -0.11090993881225586, -0.07654037326574326, -0.1025923565030098, 0.38548824191093445, -0.7354990243911743, -0.07398462295532227, 0.18517020344734192, -0.41378822922706604, -0.24185636639595032, -0.21352538466453552, -0.5073271989822388, -0.3354426622390747, -0.49149319529533386, 0.562254011631012, -0.2974502742290497, -0.035049788653850555, 0.053647108376026154, -0.3635144531726837, 0.3890649974346161, 0.604800283908844, -0.46732333302497864, 0.00426065269857645, 0.49814218282699585, 0.5468240976333618, -0.3570263981819153, -0.4431559443473816, -0.8423183560371399, -0.1573013812303543, -0.8249321579933167, 0.8328571319580078, -0.347064733505249, -0.27310311794281006, 0.06345341354608536, 0.22443723678588867, 0.33891600370407104, -0.6580012440681458, 0.6457310318946838, -0.6444604992866516, 0.6437271237373352, -0.7823002338409424, -0.14455774426460266, -0.24980607628822327, 0.23289738595485687, -0.8031052350997925, 1.116237998008728, 0.28258997201919556, -0.6858186721801758, 0.6300011873245239, -0.3931838572025299, -0.3917817175388336, 0.3506764769554138, -0.05746830999851227, -0.36378031969070435, 0.24439987540245056, 0.8437554836273193, 0.17587794363498688, -0.27877795696258545, 0.027590353041887283, -0.16525954008102417, -0.4032179117202759, 0.21423281729221344, -0.3706181049346924, 0.7796823382377625, 0.22804179787635803, -0.34365779161453247, 0.19376111030578613, -0.5047487020492554, -0.004523879382759333, 0.026628760620951653, -0.43476903438568115, -0.6782711148262024, -0.2601151466369629, 0.3231867253780365, 0.3375805616378784, 0.379602313041687, -0.5496447682380676, 0.16291922330856323, -0.3319966793060303, -0.3047769069671631, 0.5980584621429443, -0.03569560870528221, 0.706404447555542, -0.16032691299915314, 0.5983133912086487, 0.22887325286865234, 0.21526797115802765, -0.15638048946857452, -0.5357435941696167, -0.879710853099823, -0.1595967710018158, 0.22490406036376953, 0.6536085605621338, -1.606046199798584, -0.33184874057769775, -0.7409937381744385, -0.2586043179035187, -0.9527163505554199, 0.4210798442363739, 0.5818660855293274, 0.5133417844772339, 0.7149766683578491, -0.7035890817642212, -0.4706399142742157, -0.9027544260025024, -0.2773975431919098, -0.2788347005844116, -0.2150406539440155, 0.0635560154914856, 0.31082797050476074, -0.03648044168949127, 0.42125558853149414, -0.25156837701797485, -0.327158659696579, -0.09926728159189224, 0.14450456202030182, -0.14655940234661102, 0.393589049577713, 0.6051118969917297, -0.9709939360618591, -0.4598132371902466, 0.33927643299102783, -0.9336978793144226, -0.2742854058742523, -0.36281469464302063, -0.49996790289878845, 0.00004407610322232358, 0.5172978639602661, -0.2809780538082123, 0.46794724464416504, 0.5238779783248901, -0.43948328495025635, 0.2873792052268982, -0.014784562401473522, 0.7038413882255554, -1.017143726348877, -0.08635585010051727, -0.20591486990451813, -0.5176304578781128, -0.6880768537521362, 0.3777312934398651, 0.15409395098686218, 0.08960486203432083, -0.566868245601654, 0.6293712258338928, -0.6026492118835449, -0.048406850546598434, -0.1265147179365158, 0.0006892436067573726, 0.32924965023994446, 0.27730685472488403, 0.2369832545518875, 0.7939205765724182, 0.39558643102645874, -0.2584476172924042, 0.28297239542007446, 0.6514579653739929, -0.5016287565231323, 0.8327854871749878, -0.6637538075447083, 0.025265274569392204, -0.33066996932029724, -0.27373847365379333, -1.1692250967025757, -0.249772310256958, 0.37929919362068176, -0.6625031232833862, 0.2386239618062973, -0.07222628593444824, -0.19052287936210632, -0.042317699640989304, -0.18526078760623932, 0.5476175546646118, 0.4620629549026489, -0.6690800189971924, 0.5883620381355286, 0.21877384185791016, -0.38525858521461487, -0.8288024663925171, -1.0121387243270874, 0.37752673029899597, -0.11238681524991989, -0.7791438698768616, 0.1691640019416809, -0.18521536886692047, -0.09439905732870102, 0.25894930958747864, 0.005005163606256247, -0.28925859928131104, -0.0033352398313581944, -0.09236568212509155, 0.4708682596683502, -0.517681896686554, 0.08245327323675156, 0.15668104588985443, 0.04910627007484436, -0.011931543238461018, -0.30090218782424927, 0.09022229164838791, 0.07889702916145325, -0.4497605264186859, -0.07721468806266785, 0.658295750617981, 0.8291966915130615, -0.5751358866691589, 0.45040497183799744, 0.793097198009491, -0.18479378521442413, -0.041371602565050125, -0.4083917737007141, -0.028732528910040855, -0.41218671202659607, 0.6681005954742432, -0.38167545199394226, -0.6164369583129883, 0.37602394819259644, 0.25645771622657776, 0.19699275493621826, 0.3278702199459076, 0.46443817019462585, -0.1797301322221756, 1.0044949054718018, 0.6883398294448853, -0.06189410760998726, 0.46977025270462036, -0.049100808799266815, -0.10460686683654785, -0.8008266091346741, -0.10306522995233536, -0.15648727118968964, -0.23196429014205933, -0.2878156304359436, -0.8031591773033142, 0.43275076150894165, -0.2196921855211258, 0.23738329112529755, 0.19956588745117188, -0.4727301001548767, 0.3351293206214905, 0.4619249999523163, 0.18297483026981354, 0.4888189136981964, 0.35556846857070923, 0.012173390947282314, -0.3387414515018463, -0.6518694162368774, -0.41544651985168457, 0.9819228053092957, 0.2954978048801422, 0.5159268379211426, 0.12385031580924988, 0.4052073061466217, 0.17793583869934082, 0.418133020401001, -0.4837561845779419, 0.33434611558914185, -0.19972166419029236, -0.677832305431366, -0.35661211609840393, -0.41386139392852783, -0.8881728649139404, 0.49443137645721436, -0.45190751552581787, -0.30394822359085083, 0.4394697844982147, 0.1508849859237671, -0.06068533658981323, 0.08388199657201767, -0.5737743973731995, 1.046158790588379, -0.5235182642936707, -0.37796202301979065, 0.08936940133571625, -0.4688751697540283, 0.3424995541572571, -0.06244710832834244, 0.29376474022865295, 0.4067460000514984, -0.2388610690832138, 0.3589783012866974, -0.32663780450820923, 0.5486586093902588, 0.012104290537536144, -0.1667121946811676, 0.23798388242721558, 0.2297372817993164, 0.3874203562736511, -0.05968468263745308, 0.19086602330207825, 0.16459223628044128, 0.0958189144730568, -0.9118596315383911, -0.7345903515815735, 0.24416357278823853, -0.6831334829330444, -0.5133557319641113, -0.11998320370912552, -0.618641197681427, -0.1615523248910904, 0.057068802416324615, 0.3676316738128662, 0.309844046831131, -0.12367846816778183, 0.1811266541481018, 0.7195104956626892, -0.4128641188144684, 0.027074212208390236, 0.3372606635093689, -0.3939771056175232, -0.44438987970352173, 0.8784219622612, 0.042546819895505905, 0.5319787263870239, 0.2733013331890106, -0.08916620910167694, -0.2697330713272095, -0.7901442050933838, -1.0908010005950928, 0.13187070190906525, -0.9971964955329895, 0.09001252800226212, -0.4007497727870941, 0.17417581379413605, -0.4909634292125702, 0.09438862651586533, -0.3004675805568695, -0.25464633107185364, -0.16487176716327667, -0.21605855226516724, 0.2042466253042221, 0.5512981414794922, 0.1130809336900711, 0.06194743141531944, -1.0736186504364014, 0.6494060754776001, 0.4029568135738373, 0.04594140872359276, -0.34324580430984497, -0.750038743019104, -0.39543238282203674, 0.24864210188388824, 0.08954549580812454, -0.8285353183746338, 0.47155600786209106, 0.08210830390453339, 0.6426241397857666, -0.16313451528549194, -0.05665154755115509, 1.0673372745513916, -0.403690367937088, 1.0299829244613647, -0.02099536918103695, -0.7377287149429321, 0.2559196949005127, -0.12353040277957916, 0.6813051700592041, 0.6397139430046082, 0.27057215571403503, -0.7886742949485779, -0.3864283859729767, -0.24783039093017578, -1.0348193645477295, 0.43128475546836853, 0.29404881596565247, 0.36763763427734375, 0.19362758100032806, 0.04926947504281998, 0.060345280915498734, 0.17577555775642395, -0.8699789047241211, -0.09184420853853226, -0.23547160625457764, -0.16344551742076874, -0.09958123415708542, 0.003444160334765911, -0.04780925065279007, -0.23288433253765106, 0.6347860097885132, -0.17943072319030762, -0.15517878532409668, 0.5271050333976746, -0.5293179154396057, -0.21524180471897125, -0.03283851221203804, 0.3100457191467285, 0.4693356454372406, 0.2747378349304199, -0.08299000561237335, 0.5406014323234558, -0.5448657274246216, -0.04983634874224663, -0.06281624734401703, -0.45136135816574097, 0.2552884519100189, 0.5579144954681396, 0.7566323280334473, -0.16024035215377808, -0.656479001045227, 0.5483954548835754, -0.23588036000728607, 0.028091702610254288, -0.0015706580597907305, -0.3726362884044647, -0.09785817563533783, 0.23024551570415497, 0.3989322781562805, 0.18067054450511932, 0.42841464281082153, -0.5260247588157654, 0.307829350233078, 0.32826751470565796, -0.7829467058181763, -0.02368866465985775, 0.5226248502731323, 0.2522379755973816, -0.07693305611610413, 0.5097439289093018, 0.034458521753549576, -0.6669484376907349, 0.3878343999385834, 0.0138549180701375, 0.5782480835914612, -0.17539478838443756, 0.416748046875, 0.3593490719795227, 0.7562344074249268, 0.06488942354917526, 0.4616868793964386, -0.13564786314964294, -0.36121582984924316, -0.751648485660553, -0.3994249105453491, -0.19269077479839325, -0.08127308636903763, -0.5270498991012573, 0.16958758234977722, 0.3181672692298889, 0.1822582185268402, -0.2898648977279663, -0.3342612683773041, -0.8294732570648193, 0.46397238969802856, 0.33814704418182373, 0.6062918305397034, -1.0673913955688477, 0.5898666977882385, 0.872869074344635, -0.63692307472229, -0.6460375785827637, -0.34338781237602234, -0.09165634214878082, -0.6537429690361023, 0.6516440510749817, -0.3269732594490051, 0.035604190081357956, -0.267971009016037, -0.41290920972824097, -0.8480827212333679, 0.6446558237075806, 0.47679072618484497, -0.016639344394207, 0.02111886627972126, 0.6327491402626038, 0.8083646893501282, -0.1468697190284729, 0.14059121906757355, 0.21862849593162537, 0.4983866810798645, -0.10598227381706238, -0.8403329253196716, 0.11646950989961624, -0.6678556203842163, -0.013541837222874165, 0.07355356961488724, -0.054173290729522705, 0.6278116703033447, -0.10129956156015396, -0.3288670778274536, 0.2335137128829956, 0.6041022539138794, -0.20490765571594238, 0.30586686730384827, 0.3321833312511444, 0.47392112016677856, 0.5665167570114136, -0.142954483628273, 1.434268593788147, 0.09892331063747406, 0.034681566059589386, 1.2661411762237549, 0.3010796308517456, 0.7401162385940552, 0.8551626801490784, 0.10821427404880524, 0.2900831699371338, 0.8587778806686401, 0.07032149285078049, 0.3534232974052429, -0.08705541491508484, 0.043921343982219696, -0.5827950239181519, -0.2369997352361679, -0.4453679621219635, 0.38637837767601013, 0.0017311382107436657, -0.4485335350036621, -0.023308007046580315, 0.06923142820596695, -0.21010583639144897, 0.2195882797241211, -0.1782112568616867, 0.8594205379486084, 0.029010947793722153, -0.8642744421958923, 0.7268606424331665, -0.35429978370666504, 0.40107861161231995, -0.3081997334957123, -0.2568369209766388, -0.4935971796512604, -0.2127971351146698, -0.3011319041252136, -0.7669632434844971, 0.31731805205345154, 0.020864024758338928, 0.032594576478004456, -0.1767650544643402, 0.3912186920642853, -0.6710105538368225, -0.7617748379707336, 0.16721920669078827, 0.9820217490196228, 0.16993746161460876, 0.08366935700178146, -0.539734959602356, -0.16416044533252716, 0.13831108808517456, -0.1813727468252182, 0.1136016771197319, 0.5852627754211426, -0.36965200304985046, 0.4071878492832184, 0.8416544795036316, 0.13880448043346405, 0.39260104298591614, 0.05411254242062569, 0.6491000056266785, -0.18550659716129303, -0.2290228009223938, -0.5718274116516113, 1.1080400943756104, -0.3927329480648041, -0.5804662108421326, 0.8621341586112976, 0.5214712023735046, 1.0649718046188354, -0.3150363862514496, 0.6986920237541199, 0.23626233637332916, 0.2538818120956421, -0.5094565153121948, 0.6678264737129211, -1.1076802015304565, 0.41094282269477844, -0.5721423625946045, -0.8111603856086731, -0.29296746850013733, 0.21612365543842316, -0.21607674658298492, -0.4270016849040985, 0.6266924738883972, 0.7207769155502319, -0.14422984421253204, -0.39818063378334045, 0.5455974340438843, -0.1700960248708725, 0.1557798534631729, 0.581213116645813, 0.9415068626403809, -0.9263835549354553, 0.9132048487663269, -0.21775338053703308, 0.028288692235946655, 0.019535472616553307, -0.6177915930747986, -0.6902700066566467, -0.7254841923713684, -0.5047446489334106, -0.22297221422195435, -0.15152080357074738, 0.5032277703285217, 0.6704047322273254, -0.740140974521637, -0.06172169744968414, 0.3079586625099182, 0.13502469658851624, -0.325725793838501, -0.146121546626091, 0.1533137559890747, -0.3839283883571625, -0.9746243953704834, 0.24507170915603638, 0.20760080218315125, 0.10778927057981491, -0.13843493163585663, -0.146375834941864, 0.03455663099884987, 0.17752878367900848, 0.6956090331077576, 0.08888151496648788, -0.6459583640098572, -0.48378121852874756, 0.45499372482299805, -0.3728870451450348, 0.35050010681152344, 0.5311035513877869, -0.6462095975875854, 1.094046950340271, 0.8371089100837708, 1.2089742422103882, 0.5152509212493896, 0.1406981498003006, 0.8299108147621155, -0.6690933108329773, -0.0032864653039723635, 0.12572632730007172, 0.4058036208152771, 0.7069395780563354, -0.4767753481864929, 0.5992457270622253, 0.12105371803045273, -0.2541153132915497, -0.801972508430481, 0.24231493473052979, -0.9064285755157471, -0.4725201427936554, 0.9024584293365479, -0.24336886405944824, -0.30233436822891235, -0.23101454973220825, -0.5490652322769165, 0.3150741457939148, 0.11330486088991165, 0.7480959892272949, 0.8141118288040161, 0.27892962098121643, -0.2772286832332611, -0.690839946269989, 0.4336698353290558, 0.7723671793937683, -0.9945038557052612, -0.24870629608631134, 0.679405152797699, 0.18347357213497162, 0.32180097699165344, 0.45648449659347534, -0.3763315677642822, 0.8362219929695129, 0.011154787614941597, 0.145938441157341, 0.03261609002947807, -0.11652623116970062, -0.4092904329299927, 0.006219836417585611, 0.131241112947464, -0.42766767740249634 ]
http://arxiv.org/abs/2406.02329v1
http://arxiv.org/pdf/2406.02329v1
On Affine Homotopy between Language Encoders
2024-06-04T13:58:28
2024-06-04T13:58:28
Robin SM Chan, Reda Boumasmoud, Anej Svete, Yuxin Ren, Qipeng Guo, Zhijing Jin, Shauli Ravfogel, Mrinmaya Sachan, Bernhard Schölkopf, Mennatallah El-Assady, Ryan Cotterell
cs.CL
cs.CL, cs.LG
Pre-trained language encoders -- functions that represent text as vectors -- are an integral component of many NLP tasks. We tackle a natural question in language encoder analysis: What does it mean for two encoders to be similar? We contend that a faithful measure of similarity needs to be \emph{intrinsic}, that is, task-independent, yet still be informative of \emph{extrinsic} similarity -- the performance on downstream tasks. It is common to consider two encoders similar if they are \emph{homotopic}, i.e., if they can be aligned through some transformation. In this spirit, we study the properties of \emph{affine} alignment of language encoders and its implications on extrinsic similarity. We find that while affine alignment is fundamentally an asymmetric notion of similarity, it is still informative of extrinsic similarity. We confirm this on datasets of natural language representations. Beyond providing useful bounds on extrinsic similarity, affine intrinsic similarity also allows us to begin uncovering the structure of the space of pre-trained encoders by defining an order over them.
[ -0.46861395239830017, -0.6385707259178162, 0.16070958971977234, 0.12094375491142273, -0.09573575109243393, -0.11997883766889572, -0.5022424459457397, -0.5710278153419495, 0.3250381648540497, 0.23939450085163116, -0.36460158228874207, -0.12365243583917618, -0.7166150808334351, 0.22106873989105225, -0.855179488658905, 0.7515935897827148, -0.29228171706199646, -0.11692420393228531, -0.5752087235450745, -0.41686615347862244, 0.002980112563818693, -0.5942671895027161, -0.5576612949371338, -0.31472018361091614, 0.08146185427904129, -0.22064417600631714, 1.0564916133880615, 1.1356782913208008, 0.8263038992881775, 0.33865341544151306, 0.054119210690259933, -0.3549770712852478, -0.23395387828350067, 0.4239751994609833, -0.08460314571857452, -0.3550121784210205, 0.024588987231254578, -0.04214366897940636, 0.523068904876709, 0.9351121783256531, 0.14806555211544037, 0.10328618437051773, 0.47264015674591064, 0.7204814553260803, -0.38203638792037964, -0.19586052000522614, -0.7886812090873718, 0.1250120848417282, -0.15809215605258942, -0.18679675459861755, 0.22850680351257324, -0.5449935793876648, 0.1407928317785263, -0.3883519172668457, 0.38833919167518616, 0.10780925303697586, 1.2459192276000977, 0.7160472869873047, -0.2470417469739914, -0.6836440563201904, -0.5957871079444885, 0.4431321620941162, -0.41906702518463135, 0.6828113198280334, 0.09229173511266708, 0.14792214334011078, 0.11518299579620361, -0.4874996542930603, -0.8597421646118164, 0.0003093026753049344, -0.3590930998325348, -0.11261551082134247, -0.34558844566345215, 0.014587844721972942, 0.3380875587463379, 0.7571324110031128, -0.7667380571365356, -0.11287669837474823, -0.21646995842456818, -0.02617551200091839, 0.36872991919517517, -0.2224203199148178, 0.3138654828071594, 0.15682245790958405, -0.6228751540184021, -0.030945831909775734, -0.6928107142448425, 0.10351374000310898, 0.391891747713089, 0.2019365429878235, -0.10246202349662781, 0.5987769365310669, 0.02084946632385254, 0.6631372570991516, 0.191353902220726, 0.25616273283958435, 0.271781861782074, -0.2665422260761261, -0.1047423928976059, 0.09006845206022263, 0.8668433427810669, 0.274183064699173, 0.7447924613952637, -0.39401963353157043, -0.14377178251743317, 0.39532554149627686, 0.45858699083328247, -0.5455809831619263, -0.1280958354473114, -0.005239556077867746, -0.5073932409286499, 0.19108383357524872, 0.4332595765590668, -0.19011284410953522, -0.1704697459936142, -0.6906861066818237, 0.5147706866264343, -0.6004269123077393, 0.09621160477399826, -0.11469417810440063, 0.03428571671247482, 0.6149805188179016, -0.08320528268814087, -1.0278480052947998, 0.7884340882301331, 1.2937120199203491, 0.7776563167572021, -0.19505588710308075, -0.5931076407432556, -0.3377082049846649, -0.010527269914746284, -0.23699133098125458, 0.6837595701217651, -0.7641083598136902, 0.107844777405262, 0.16918660700321198, -0.05364343896508217, -0.020060041919350624, -0.5514832139015198, 0.2877267599105835, -0.22135142982006073, -0.1173781305551529, -0.3844066262245178, -0.6053282022476196, -0.12498560547828674, 0.3304606080055237, -0.46645617485046387, 0.9383665323257446, -0.051663994789123535, -0.7760455012321472, 0.502860426902771, -0.1875922679901123, -0.42720022797584534, -0.055541619658470154, -0.5662186741828918, -0.02176779881119728, 0.24499966204166412, -0.11198177188634872, 0.29435649514198303, -0.31828370690345764, -0.056166872382164, -0.25733688473701477, -0.4343333840370178, 0.360882967710495, -0.1653771698474884, 0.6130703091621399, 0.09182991087436676, -0.3455018997192383, -0.05641688033938408, -0.43254825472831726, 0.025520170107483864, -0.4142724275588989, -0.18129301071166992, -0.6402376294136047, 0.014297557063400745, -0.2242830991744995, 0.3892991840839386, 0.43172863125801086, -0.7594980597496033, 0.08232742547988892, -0.4339539408683777, 0.3120782673358917, 0.5326047539710999, -0.21410906314849854, 0.5859363079071045, -0.4439508616924286, 0.3028579354286194, -0.29662004113197327, -0.0504659079015255, 0.18395638465881348, -0.4584817886352539, -0.7174288630485535, -0.07130274921655655, 0.371459037065506, 0.41812342405319214, -0.3540801405906677, 0.6998197436332703, -0.5450598001480103, -0.31259384751319885, -0.7820960879325867, 0.1429063081741333, 0.4489453434944153, 0.39576244354248047, 0.28364014625549316, -0.5229758620262146, -0.4218727648258209, -1.1317294836044312, -0.6332626938819885, -0.09688866883516312, -0.17194369435310364, 0.1291406899690628, 0.28151342272758484, -0.2891589105129242, 0.879109263420105, -0.28246620297431946, -0.46280637383461, 0.3199806213378906, 0.0072380793280899525, 0.28052130341529846, 0.5222967267036438, 0.7906404137611389, -0.7762928009033203, -0.8932233452796936, 0.295380175113678, -0.7139980792999268, -0.2774519920349121, 0.08805927634239197, -0.20762427151203156, 0.12390817701816559, 0.997779369354248, -0.4397445023059845, 0.34701216220855713, 0.4851706922054291, -0.5541313886642456, -0.0010065663373097777, -0.3121979236602783, 0.16088251769542694, -0.6430484056472778, 0.30084773898124695, -0.38864901661872864, -0.1258164346218109, -0.754508912563324, 0.13644158840179443, -0.0013105061370879412, -0.11918464303016663, -0.018113214522600174, 0.5390076637268066, -0.2906094789505005, -0.2278158813714981, -0.3915957510471344, 0.020728418603539467, -0.23129136860370636, 0.5539190769195557, 0.2897808849811554, 0.5920172333717346, 0.8742103576660156, -0.5164704918861389, 0.1978788524866104, 0.7010577321052551, -0.004725013393908739, 0.8786142468452454, -0.5490376949310303, 0.1755572408437729, -0.1648266464471817, -0.17789329588413239, -0.757333517074585, 0.384659081697464, 0.23764605820178986, -0.7948555946350098, 0.15286749601364136, 0.06283552944660187, -0.1633426547050476, -0.16144251823425293, -0.3717682361602783, 0.4083211123943329, 0.4486749470233917, -0.28861287236213684, 0.42953237891197205, 0.3719368577003479, -0.38175323605537415, -0.7075240015983582, -0.7949220538139343, -0.3282456398010254, -0.0228428915143013, -0.348347932100296, 0.37383994460105896, 0.24712584912776947, -0.27791354060173035, 0.5781440734863281, -0.3114390969276428, -0.19385698437690735, -0.08573613315820694, 0.6434414386749268, -0.18968334794044495, -0.39310240745544434, 0.14545364677906036, -0.13056939840316772, -0.19073380529880524, 0.24936500191688538, -0.4113820195198059, 0.6682518720626831, -0.06829194724559784, -0.4337022602558136, -0.01183154247701168, 0.6436077952384949, 0.4166661202907562, -0.15651005506515503, 0.8541034460067749, 0.4713812470436096, -0.770522952079773, 0.28864815831184387, -0.46589115262031555, 0.04487244039773941, -0.4557943046092987, -0.01568165235221386, -0.6085626482963562, -0.8477498888969421, 0.5170556902885437, 0.3468388617038727, 0.11748574674129486, 0.6762444376945496, 0.5087831616401672, -0.1676197052001953, 0.47861847281455994, 0.8163859844207764, -0.0035506351850926876, 0.3259512186050415, 0.03429308161139488, 0.19347018003463745, -0.861021876335144, -0.33558332920074463, -0.6879222393035889, -0.7156535387039185, -0.5884525775909424, -0.30645981431007385, -0.19686268270015717, 0.15124393999576569, -0.3772934675216675, 0.6862785220146179, -0.33767086267471313, 0.41532576084136963, 0.5633108019828796, -0.5388142466545105, -0.07146304100751877, 0.015291467308998108, -0.031492654234170914, -0.22229081392288208, -0.34082403779029846, -0.43313491344451904, 0.7854482531547546, 0.14652930200099945, 0.6081650853157043, 0.08841590583324432, 0.7506113052368164, 0.040997765958309174, 0.07886198163032532, -0.651607871055603, 0.2251196652650833, -0.6592020392417908, -0.3529931902885437, -0.16609857976436615, -0.3785264492034912, -0.9201314449310303, -0.007065352983772755, -0.29211586713790894, -0.5306699275970459, 0.46970540285110474, 0.05495236814022064, -0.2148026078939438, 0.14947263896465302, -0.3633868992328644, 0.7455945014953613, -0.2640652358531952, 0.15761680901050568, -0.02185402624309063, -0.7814717888832092, -0.28589752316474915, -0.11794164776802063, -0.031136253848671913, -0.13012927770614624, -0.18783676624298096, 0.8479050993919373, -0.5760539770126343, 0.013504995964467525, -0.09710602462291718, 0.08307620882987976, 0.09880294650793076, 0.1810416430234909, 0.0238620825111866, -0.23137497901916504, 0.0044654360972344875, 0.24615098536014557, 0.1596018671989441, -0.2965145707130432, -0.8002587556838989, 0.8504906892776489, -0.8819823861122131, -0.38708269596099854, -0.39116305112838745, -0.38269153237342834, -0.1027841567993164, 0.14190609753131866, 0.4942002296447754, 0.6315391063690186, -0.1334688812494278, 0.2664017975330353, 0.401441752910614, 0.12616845965385437, 0.4794534146785736, 0.08402347564697266, 0.008637262508273125, -0.07189365476369858, 0.8052822351455688, 0.049357157200574875, 0.23241664469242096, 0.8878029584884644, -0.07275869697332382, -0.3704368770122528, -0.2672549784183502, -0.10722604393959045, 0.3431451618671417, -0.6171029210090637, -0.30827847123146057, -0.7810698747634888, -0.4761205017566681, -0.3421466052532196, -0.6607753038406372, -0.5165280103683472, -0.45884275436401367, -0.10488789528608322, 0.19237525761127472, 0.48329979181289673, 0.7337625622749329, -0.1578909158706665, 0.1437220722436905, -0.6807308793067932, 0.5292933583259583, 0.5008637309074402, 0.5169712901115417, -0.08377828449010849, -0.5227195024490356, -0.01396359782665968, 0.1685742884874344, 0.07855358719825745, -0.6012431979179382, 0.26555299758911133, 0.8703615069389343, 0.5486506223678589, 0.763856828212738, -0.05708783119916916, 0.5884900689125061, -0.8451097011566162, 0.4357222616672516, 0.06565817445516586, -1.2425302267074585, 0.08936763554811478, 0.036639027297496796, 0.24235589802265167, 1.0363280773162842, 0.7447007298469543, -0.9071400761604309, -0.5573814511299133, -0.54984050989151, -0.7411928772926331, 0.4594835937023163, 0.4687716066837311, 0.18450725078582764, -0.05564204230904579, 0.3779663145542145, 0.4551559090614319, 0.3114272952079773, -0.6275591254234314, -0.5350428223609924, -0.370880126953125, -0.41457805037498474, 0.015790561214089394, -0.06725297123193741, -0.11881870776414871, -0.07883626967668533, 0.17851167917251587, -0.028425486758351326, 0.9864287972450256, 0.0752931460738182, -0.35533252358436584, -0.06725544482469559, 0.06878605484962463, 0.33987957239151, 0.5012033581733704, -0.14706416428089142, 0.7502573728561401, 0.04229100048542023, -0.6534250378608704, 0.3036751449108124, 0.18729059398174286, 0.2675929665565491, 0.05559954419732094, 0.5262441039085388, 0.5929312109947205, 0.12423625588417053, -0.30493852496147156, 0.6484898924827576, -0.07471118867397308, -0.03784211352467537, -0.1857476681470871, -0.0989166870713234, -0.11948736011981964, 0.2047986388206482, 0.5168251395225525, 0.2664860188961029, -0.00972504261881113, -0.6204817295074463, 0.5586016774177551, 0.6917173862457275, -1.0056146383285522, -0.5000207424163818, 0.5553152561187744, 0.2180626392364502, -0.765036404132843, 0.4918995499610901, -0.2735612690448761, -0.9709067344665527, 0.475837767124176, 0.46578899025917053, 0.8559007048606873, -0.3915952146053314, -0.1943683624267578, 0.1570708304643631, 0.42844530940055847, 0.1749739944934845, 0.2177792191505432, -0.20120660960674286, -0.8353781700134277, -0.01873045228421688, -0.7847751379013062, -0.13372115790843964, -0.29720407724380493, -0.850357174873352, 0.3147188425064087, -0.4238990247249603, 0.3222576677799225, -0.04780649393796921, -0.16047202050685883, -0.7201648950576782, 0.279261976480484, 0.2956867218017578, 0.6223428845405579, -0.9117828607559204, 0.6781136393547058, 0.7984579801559448, 0.20947830379009247, -0.5376420617103577, 0.222618967294693, -0.1065090149641037, -0.7766545414924622, 0.39561372995376587, 0.40408849716186523, -0.0002839979133568704, -0.15153291821479797, -0.11454363167285919, -1.0056185722351074, 0.8630853891372681, 0.37572401762008667, -0.40005841851234436, -0.06253747642040253, 0.3796009421348572, 0.7757579684257507, -0.4873887598514557, 0.15490582585334778, 0.5103025436401367, 0.12821988761425018, -0.19804887473583221, -1.0361266136169434, 0.15083681046962738, -0.44708573818206787, -0.14961209893226624, 0.7274909615516663, -0.25024494528770447, 0.9132476449012756, 0.3514636754989624, -0.5366730690002441, -0.19268521666526794, 0.6503901481628418, -0.2545987367630005, -0.22617177665233612, 0.5271297693252563, 0.5228835940361023, 0.5215736627578735, -0.2276705652475357, 0.975345253944397, -0.4018678665161133, 0.2608872652053833, 0.8695839643478394, -0.16731950640678406, 0.8738277554512024, 0.5532921552658081, -0.23141632974147797, 0.3044460713863373, 0.2022712230682373, 0.048106446862220764, 0.49492907524108887, -0.02087920531630516, 0.2709127962589264, -0.047109153121709824, 0.0586731880903244, -0.5036324262619019, 0.46954596042633057, 0.28481927514076233, -0.28045061230659485, -0.28715282678604126, -0.061173804104328156, -0.21906061470508575, 0.2974119782447815, -0.29927346110343933, 0.7847978472709656, 0.15227140486240387, -0.4769964814186096, 0.6156986951828003, -0.22349557280540466, 0.9864513278007507, -0.7011092901229858, 0.2104114145040512, -0.004856546875089407, 0.1608545184135437, -0.1621919423341751, -0.8767189383506775, 0.9965711832046509, -0.23202480375766754, -0.2016323208808899, -0.3157337009906769, 0.5118266344070435, -0.6660810708999634, -0.1074567511677742, 0.4304548501968384, 0.310732901096344, 0.0861135870218277, -0.17386722564697266, -0.6538535356521606, 0.0652892217040062, -0.024599356576800346, 0.10335912555456161, 0.0882595106959343, 0.5110579133033752, 0.05890649929642677, 0.5127138495445251, 0.2959798276424408, 0.3165883421897888, 0.40239059925079346, -0.4132990539073944, 0.5457437038421631, -0.6510254144668579, -0.5606992840766907, -0.9215905666351318, -0.04218417406082153, 0.1403050720691681, -0.559387743473053, 0.5302302241325378, 0.6139810085296631, 0.8963467478752136, -0.09914441406726837, 0.362491637468338, -0.3585056662559509, 0.4488692581653595, -0.46559759974479675, 0.8585432171821594, -0.3872867226600647, -0.175826758146286, -0.2673933207988739, -1.6584886312484741, -0.27918994426727295, 0.9088718891143799, -0.017788218334317207, -0.32032108306884766, 1.0658025741577148, 0.5536020398139954, -0.24168501794338226, 0.0754922479391098, 0.18838660418987274, -0.0293637253344059, -0.034507326781749725, 0.6360161900520325, 0.9782824516296387, -0.46219345927238464, 0.46677958965301514, -0.2706091105937958, -0.1289195865392685, 0.17944419384002686, -0.5891162753105164, -0.7123159766197205, -1.1393327713012695, -0.4521324336528778, 0.10268910229206085, -0.10235558450222015, 1.0920817852020264, 0.2268168181180954, -1.0038522481918335, -0.2912363111972809, -0.17805840075016022, -0.043061014264822006, -0.3615666329860687, -0.17953312397003174, 0.48977771401405334, -0.09268131107091904, -0.7049197554588318, -0.17656126618385315, 0.3832372725009918, 0.033537305891513824, 0.1132965162396431, 0.019473310559988022, -0.41144269704818726, 0.10577423125505447, 0.1550910621881485, 0.4473201632499695, -0.6847146153450012, -0.6809119582176208, 0.06334409862756729, -0.36502689123153687, 0.17248612642288208, 1.060049295425415, -0.8111400604248047, 0.19837091863155365, 0.782375693321228, 0.8275210857391357, 0.1174880787730217, 0.04746194928884506, 0.7205392718315125, -0.9513149857521057, 0.32671573758125305, 0.2551172077655792, 0.29163751006126404, 0.517413854598999, -0.22697049379348755, 0.38933175802230835, -0.1747417449951172, -0.4847838878631592, -0.7547174096107483, 0.32114920020103455, -0.8407194018363953, 0.059242215007543564, 1.2094171047210693, -0.23179389536380768, -0.005666756071150303, -0.3310297727584839, 0.02674342505633831, 0.22222308814525604, -0.01996542513370514, 0.3886373043060303, 0.6589634418487549, -0.20889946818351746, 0.12706264853477478, 0.05181232839822769, 0.7760345339775085, 0.2060527354478836, -0.5548201203346252, 0.08768642693758011, -0.2406085580587387, 0.10074391216039658, 0.5446062088012695, 0.37855106592178345, 0.06861251592636108, 0.012244184501469135, 0.005789693910628557, 0.059998348355293274, 0.0063429479487240314, -0.28217005729675293, -0.6190030574798584, 0.12373548001050949, -0.04606661945581436, -0.2823936343193054 ]
http://arxiv.org/abs/2406.02325v1
http://arxiv.org/pdf/2406.02325v1
Technical Language Processing for Telecommunications Specifications
2024-06-04T13:57:22
2024-06-04T13:57:22
Felipe A. Rodriguez Y.
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are continuously being applied in a more diverse set of contexts. At their current state, however, even state-of-the-art LLMs such as Generative Pre-Trained Transformer 4 (GTP-4) have challenges when extracting information from real-world technical documentation without a heavy preprocessing. One such area with real-world technical documentation is telecommunications engineering, which could greatly benefit from domain-specific LLMs. The unique format and overall structure of telecommunications internal specifications differs greatly from standard English and thus it is evident that the application of out-of-the-box Natural Language Processing (NLP) tools is not a viable option. In this article, we outline the limitations of out-of-the-box NLP tools for processing technical information generated by telecommunications experts, and expand the concept of Technical Language Processing (TLP) to the telecommunication domain. Additionally, we explore the effect of domain-specific LLMs in the work of Specification Engineers, emphasizing the potential benefits of adopting domain-specific LLMs to speed up the training of experts in different telecommunications fields.
[ -0.603480339050293, -0.6972824931144714, 0.3324261009693146, 0.5019956827163696, -0.22345249354839325, 0.3616662919521332, -0.2906932532787323, -0.9919806718826294, 0.19301891326904297, 0.8603405952453613, -0.41806748509407043, -0.434036523103714, -0.38965487480163574, 0.4589953124523163, -0.3874707818031311, 0.3465738594532013, -0.22255276143550873, -0.25075584650039673, 0.2435697615146637, 0.18057437241077423, -0.582436740398407, -0.7141923904418945, -0.6208164095878601, -0.6240545511245728, -0.0468626469373703, 0.3767367899417877, 0.4540558457374573, 0.2343069612979889, 0.5453168749809265, 0.33224019408226013, -0.16219693422317505, 0.032328955829143524, 0.1906215399503708, 0.19595669209957123, 0.12080151587724686, -0.4734261631965637, -0.6565847396850586, 0.26185640692710876, 0.6877137422561646, 0.6467255353927612, -0.09257148206233978, 0.21608954668045044, -0.002710602944716811, 0.48838886618614197, 0.054214879870414734, 0.2968429923057556, -0.700871467590332, 0.4204019010066986, -0.3786323666572571, -0.9718806743621826, -0.6319699287414551, -0.28871220350265503, 0.3056759238243103, -0.4680030345916748, 0.35298261046409607, 0.07675319910049438, 1.0686637163162231, 0.24863693118095398, -0.1624477505683899, -0.2740500271320343, -0.8670324087142944, 0.6587356328964233, -0.8131881356239319, 0.6674328446388245, 0.3377010226249695, 0.3710012137889862, -0.1178637370467186, -0.7114843726158142, -0.16917933523654938, -0.2811199128627777, -0.053655486553907394, -0.10303270071744919, 0.07171317934989929, 0.27492478489875793, 0.6086853742599487, 0.23925338685512543, -0.26680290699005127, 0.44055402278900146, -0.5937197208404541, -0.08838996291160583, 0.41032281517982483, 0.028019288554787636, 0.12389814853668213, -0.05144432187080383, 0.028779057785868645, 0.5558590888977051, -0.9125953316688538, -0.16551002860069275, 0.23598557710647583, 0.20472155511379242, -0.07991306483745575, 0.5911308526992798, -0.13747449219226837, 0.760001540184021, 0.05658050626516342, -0.05157685652375221, 0.08934296667575836, -0.02779790759086609, -0.5906100869178772, 0.03415899723768234, 0.6013668775558472, -0.13776765763759613, 0.5267016887664795, -0.4433833658695221, -0.29291751980781555, -0.38044047355651855, 0.33566856384277344, -0.6045354008674622, 0.08709048479795456, 0.2440609633922577, -0.31860196590423584, 0.032402291893959045, -0.1314888298511505, -0.46944504976272583, -0.005225194618105888, -0.5847263336181641, -0.17791131138801575, -0.18163715302944183, -0.3027726113796234, 0.4014361798763275, -0.11097543686628342, 0.3956460654735565, 0.18108126521110535, -0.7441856861114502, 0.3209022879600525, 0.6301587224006653, 0.9336340427398682, 0.02739776112139225, 0.14154601097106934, -0.37331485748291016, 0.15857912600040436, -0.1498127579689026, 0.752182126045227, -0.6530906558036804, -0.5588552951812744, 0.04083660617470741, -0.06970607489347458, 0.12476208060979843, -0.7879552245140076, 0.636995255947113, -1.0098519325256348, 0.11773921549320221, 0.2146080583333969, -0.42147159576416016, 0.06742645800113678, -0.13461892306804657, -0.6593428254127502, 0.8405658602714539, 0.08726845681667328, -0.4906313419342041, 0.16072209179401398, -0.6597214341163635, -0.5736998319625854, 0.44126489758491516, -0.24123549461364746, -0.30429479479789734, 0.1446744054555893, -0.0476025715470314, 0.5061682462692261, -0.4109697639942169, 0.3455139696598053, -0.06083252280950546, -0.28168895840644836, 0.12241411209106445, 0.007051818072795868, 0.7758614420890808, 0.2237839698791504, -0.3808360993862152, -0.14069907367229462, -0.7113476395606995, 0.28475403785705566, -0.29978618025779724, -0.3981030583381653, 0.06033192574977875, 0.09517712891101837, -0.1176106184720993, 0.4945189952850342, 0.15796004235744476, -0.5908390283584595, -0.18442374467849731, -0.6610869765281677, 0.7269744277000427, 0.6053488850593567, -0.482387900352478, 0.5250140428543091, -0.08889777213335037, 0.7883220314979553, -0.11124849319458008, 0.03147799149155617, 0.037278033792972565, -0.6471375226974487, -0.8955596685409546, 0.1733250617980957, 0.2847974896430969, 0.43952828645706177, -1.0030107498168945, 0.40608829259872437, -0.1527884602546692, -0.2786150574684143, -0.41299372911453247, 0.09052358567714691, 0.21312330663204193, 0.4261649549007416, 0.3177652657032013, -0.2809961438179016, -0.8734892010688782, -0.888445258140564, -0.23203526437282562, -0.03240319713950157, -0.2479049265384674, 0.026334304362535477, -0.0638839527964592, 0.11282999068498611, 1.0900681018829346, -0.5066393613815308, -0.6473169326782227, -0.5840080976486206, 0.09848074615001678, 0.43244725465774536, 0.11573845893144608, 0.44946008920669556, -0.6836642622947693, -0.5338985323905945, 0.1014784425497055, -0.7604670524597168, -0.4856334924697876, -0.006499601993709803, 0.45745328068733215, 0.35724976658821106, 0.7677153944969177, -0.9131498336791992, 0.20314595103263855, 0.42099758982658386, 0.0979558601975441, 0.6024710536003113, -0.2663130760192871, -0.1016676127910614, -0.8186740875244141, -0.19254685938358307, 0.5832036137580872, -0.41291293501853943, -0.7089852094650269, 0.21179915964603424, -0.0319928340613842, -0.2896842062473297, -0.44067835807800293, 0.4878121614456177, -0.6009737849235535, -0.3091978132724762, -0.3297130763530731, 0.10202869772911072, -0.12613199651241302, 0.16313254833221436, 0.49528247117996216, 0.950676441192627, 0.34523674845695496, -0.7585354447364807, 0.24970972537994385, 0.19008082151412964, -0.4121142029762268, 0.27434465289115906, -0.7772061824798584, 0.27174249291419983, 0.18025606870651245, 0.06885066628456116, -0.37056875228881836, 0.020710498094558716, 0.101313516497612, -0.169316366314888, 0.41622215509414673, -0.16812290251255035, -0.6874481439590454, -0.46625301241874695, -0.022043123841285706, 0.10921976715326309, 0.5135097503662109, -0.30346694588661194, 0.690629780292511, 0.5278688669204712, -0.4644472002983093, -0.4226832091808319, -0.8603736162185669, 0.5616191625595093, -0.15218377113342285, -0.8986207842826843, 0.659951388835907, -0.02929057739675045, -0.248927041888237, -0.350813627243042, -0.3048444986343384, -0.4740941822528839, 0.08240100741386414, 0.21440748870372772, 0.07055806368589401, -0.5555126070976257, 0.1413995772600174, -0.3030416965484619, -0.2739085853099823, 0.3332875370979309, -0.3629681468009949, 0.49645933508872986, -0.07190294563770294, -0.0412340983748436, -0.8418030738830566, 0.3484923839569092, 0.10356784611940384, -0.10806307941675186, 0.15769121050834656, 0.1667950600385666, -0.05294046923518181, -0.6318774819374084, -0.7406063079833984, 0.10307885706424713, -0.6548932194709778, 0.30629095435142517, -0.6986550092697144, -1.0298460721969604, 0.14956916868686676, -0.15813200175762177, 0.29941651225090027, 0.3425107002258301, 0.13132227957248688, -0.15282762050628662, 0.6317576766014099, 1.045107364654541, -0.0854167714715004, 0.5575735569000244, -0.007560321595519781, 0.6073915362358093, -0.5202983617782593, -0.22502297163009644, -0.9082202315330505, -0.07073794305324554, -0.37507522106170654, -0.18268224596977234, 0.2679402232170105, -0.36309555172920227, 0.02149185910820961, 0.6562052369117737, -0.5084590315818787, 0.5556923747062683, 0.2972954213619232, -0.023952849209308624, 0.5754191875457764, 0.35677945613861084, 0.1120280846953392, -0.039856601506471634, -0.5448361039161682, -0.8081097602844238, 0.8073434829711914, 0.6200272440910339, 0.6680841445922852, -0.11595857888460159, 0.38171496987342834, 0.3511337339878082, 0.2578718960285187, -0.7813855409622192, 0.8714970350265503, -0.43228593468666077, -0.25613370537757874, -0.10511492937803268, -0.5432726144790649, -0.6050143837928772, -0.32896533608436584, 0.3497263491153717, -0.5421743392944336, -0.11996426433324814, -0.00000715758733349503, -0.23189829289913177, 0.4004932940006256, -0.7642607092857361, 0.2004324048757553, -0.012425300665199757, 0.4229869544506073, -0.27023351192474365, -0.3458450436592102, 0.23660029470920563, -0.4629840552806854, 0.21337704360485077, -0.05575764179229736, -0.05784161016345024, 0.7311835289001465, -0.22895938158035278, 0.9086089730262756, 0.01311067957431078, -0.5610814690589905, 0.2299865037202835, -0.020082976669073105, 0.15384048223495483, -0.06899033486843109, -0.5614529252052307, 0.4422096312046051, -0.17899732291698456, -0.048608023673295975, -0.1484881490468979, 0.5354410409927368, -0.6709119081497192, -1.0223129987716675, -0.09373703598976135, -0.5581234693527222, -0.458720326423645, 0.129385843873024, 0.33943814039230347, 0.44498327374458313, 0.09875327348709106, -0.11440930515527725, 0.6897039413452148, -0.27026665210723877, 0.6677175164222717, 0.660419225692749, -0.022351309657096863, 0.13126564025878906, 0.5704907178878784, 0.2852400839328766, 0.29617494344711304, 0.6302706003189087, -0.3165050148963928, -0.4018000066280365, -0.8131417036056519, -0.09187643975019455, 0.362803190946579, -0.9630581736564636, -0.07117679715156555, -0.6760485172271729, -0.7373276948928833, -0.1554902195930481, -0.17186108231544495, 0.0028976232279092073, -0.6950633525848389, -0.5638618469238281, -0.001368822413496673, 0.00970033835619688, 0.9322029948234558, 0.5950623750686646, 0.4641038477420807, -0.9190502762794495, 0.41846683621406555, -0.0012133251875638962, 0.6911799907684326, -0.40040963888168335, -0.6872059106826782, -0.30121910572052, -0.1271088421344757, -0.4986289441585541, -0.3310706615447998, 0.38125908374786377, 0.3676949739456177, 0.46269625425338745, -0.10812073945999146, -0.06417141854763031, 0.5222657918930054, -0.6010029315948486, 0.7236963510513306, 0.1927272081375122, -0.9946030378341675, 0.37152862548828125, 0.016365131363272667, 0.1840091049671173, -0.06181589141488075, 0.22372187674045563, -0.38159698247909546, -0.6737244725227356, -0.49716317653656006, -0.5137264728546143, 0.8426121473312378, 0.07753077149391174, 0.3005751073360443, 0.10560651868581772, 0.5171077251434326, -0.0032775350846350193, 0.0907430425286293, -0.6866754293441772, -0.1166471615433693, 0.072808176279068, 0.15058134496212006, 0.1004151850938797, -0.24380546808242798, 0.07169154286384583, 0.0062233335338532925, 0.5164421200752258, 0.09029752016067505, 0.3882083594799042, 0.10297397524118423, -0.1675114780664444, -0.10002290457487106, 0.5372470617294312, 0.6399312019348145, 0.852715253829956, -0.24293270707130432, 0.06582774221897125, 0.21038107573986053, -0.3406163454055786, 0.11387396603822708, 0.05397823080420494, 0.012284258380532265, 0.6370427012443542, 0.2609732151031494, 0.23700834810733795, 0.037668004631996155, -0.4199889600276947, 0.1218561977148056, -0.027259834110736847, -0.30015310645103455, -0.5712296366691589, 0.0780753642320633, 0.07642754167318344, 0.13248972594738007, 0.4854620397090912, 0.08542812615633011, -0.1997399628162384, -0.19414383172988892, 0.26588958501815796, 0.30611833930015564, -0.22675663232803345, -0.6205519437789917, 0.7524901032447815, 0.561855673789978, -0.6541747450828552, 0.24908609688282013, -0.08194669336080551, -0.13691502809524536, 0.8403374552726746, 0.5993279218673706, 1.0871684551239014, -0.18108035624027252, 0.26323509216308594, -0.045999735593795776, 0.4575134813785553, -0.05804057791829109, 0.26608407497406006, 0.19809383153915405, -0.5770612359046936, -0.9429366588592529, -0.5734779834747314, -0.4261035621166229, 0.23079192638397217, -0.11297830939292908, 0.6089235544204712, -0.8922423720359802, -0.4554448425769806, 0.24185505509376526, -0.2413860261440277, -0.8207380175590515, 0.18762913346290588, 0.05271134153008461, 1.331013560295105, -0.2306704819202423, 0.9796545505523682, 0.5549275875091553, -0.04197397083044052, -0.7634378671646118, -0.1191389411687851, -0.3565926253795624, -0.7583773732185364, 1.4509388208389282, 0.13124293088912964, -0.22690217196941376, 0.20524008572101593, -0.11604272574186325, -0.5206432938575745, 0.7312324643135071, 0.42420756816864014, -0.7044796943664551, -0.5030888915061951, 0.8590385317802429, 0.4565235674381256, -0.2342654913663864, 0.461841881275177, 0.6867799162864685, 0.31992897391319275, -0.12426125258207321, -1.345978856086731, 0.04457445815205574, -0.10240966826677322, 0.010798574425280094, 0.30895715951919556, -0.4098115563392639, 0.4083668291568756, 0.13843561708927155, -0.5156127214431763, -0.018596913665533066, 0.4600391089916229, -0.2011856883764267, -0.019753197208046913, 0.3521078824996948, 0.3103427290916443, 0.31771016120910645, -0.20991380512714386, 0.795659601688385, -0.4303882122039795, 0.013530678115785122, 0.8717519640922546, -0.2595713138580322, 0.607486367225647, 0.35262393951416016, -0.38783127069473267, 0.39309653639793396, 0.5539029836654663, 0.19466431438922882, -0.06920965760946274, 0.03212989494204521, -0.24771925806999207, -0.11527883261442184, -0.15101180970668793, -0.4281911551952362, 0.3081488609313965, 0.5516954660415649, -0.25091320276260376, -0.4813409745693207, -0.3483993411064148, -0.2679084837436676, -0.14339590072631836, -0.280674010515213, 0.46955156326293945, 0.6515872478485107, -0.45178577303886414, 0.768195390701294, 0.2665325403213501, 0.8282551765441895, -0.6549463272094727, 0.1476522982120514, 0.027327019721269608, -0.1735338419675827, -0.4811047613620758, -0.9404054880142212, 0.7179250717163086, 0.1271035522222519, -0.03247838094830513, -0.7903825044631958, 0.5783949494361877, 0.04437302052974701, -0.10883288830518723, 0.34310051798820496, 0.37205129861831665, 0.10079337656497955, -0.1678781807422638, -0.5079551935195923, -0.15993216633796692, -0.13107797503471375, -0.18725088238716125, 0.21663303673267365, 0.4533757269382477, 0.15091204643249512, 0.9851797819137573, 0.4436939060688019, 0.47000810503959656, 0.13804183900356293, 0.3434288501739502, 0.8545977473258972, -0.802272617816925, -0.4279153645038605, -0.6337406635284424, 0.27512526512145996, -0.11023718863725662, -0.21424676477909088, 0.5257018804550171, 0.39578044414520264, 0.7677276730537415, -0.22115671634674072, 1.0422247648239136, 0.13099347054958344, 0.21718844771385193, -0.755414605140686, 0.14267627894878387, -0.2510841488838196, 0.925693929195404, -0.020185023546218872, -0.9535975456237793, -0.40073397755622864, 0.04122615605592728, -0.4249882698059082, -0.17975276708602905, 0.8326559066772461, 0.6146977543830872, -0.11018439382314682, 0.36049044132232666, 0.3290346562862396, 0.12606588006019592, 0.6504372358322144, 0.423135370016098, 0.7973328232765198, -0.12144044041633606, 0.7366273999214172, -0.06794732809066772, 0.09064202010631561, -0.05811712518334389, -0.9639779329299927, -0.9577633738517761, -0.2857329249382019, -0.2726978659629822, -0.0734998807311058, -0.3397839665412903, 0.7408397197723389, 0.6931614875793457, -0.5922584533691406, -0.5753419995307922, -0.09807170927524567, 0.14743605256080627, 0.02860247530043125, -0.25748109817504883, -0.006318284664303064, -0.7821300029754639, -0.6662173867225647, 0.566026508808136, 0.6608584523200989, 0.021583376452326775, -0.1220976859331131, 0.15282435715198517, 0.33682429790496826, -0.14392411708831787, 0.7524237036705017, 0.3540129065513611, -0.8304739594459534, -0.2762588560581207, 0.11741849035024643, -0.007920939475297928, 0.5405219793319702, 1.1254109144210815, -0.712386965751648, 0.13243740797042847, 0.3181248903274536, 0.5841354727745056, 0.219160795211792, -0.2714619040489197, 0.8698931932449341, -0.9902586936950684, 0.18394213914871216, 0.35838982462882996, 0.5305702686309814, 0.2649438977241516, -0.48354247212409973, 0.5361136794090271, 0.14204789698123932, -0.5317589044570923, -0.5512269735336304, 0.49978208541870117, -0.9190028309822083, -0.12990283966064453, 1.1728440523147583, -0.013694711960852146, 0.30657875537872314, -0.8717166781425476, -0.13336321711540222, 0.0662178173661232, -0.222205251455307, 0.6945263743400574, 0.5938163995742798, 0.01884584315121174, -0.31473830342292786, -0.9906637668609619, 0.5476224422454834, 0.2294137328863144, -0.9872285723686218, -0.022720064967870712, -0.030049851164221764, 0.4739117920398712, 0.18158549070358276, 0.8235775828361511, -0.025176525115966797, -0.02365799993276596, -0.4930765926837921, -0.041171032935380936, -0.21632298827171326, -0.1755523532629013, -0.13245680928230286, 0.4159466028213501, 0.22550258040428162, 0.23815812170505524 ]
http://arxiv.org/abs/2406.06579v2
http://arxiv.org/pdf/2406.06579v2
From Redundancy to Relevance: Enhancing Explainability in Multimodal Large Language Models
2024-06-04T13:52:54
2024-06-13T10:29:45
Xiaofeng Zhang, Chen Shen, Xiaosong Yuan, Shaotian Yan, Liang Xie, Wenxiao Wang, Chaochen Gu, Hao Tang, Jieping Ye
cs.CL
cs.CL, cs.AI, cs.CV
Recently, multimodal large language models have exploded with an endless variety, most of the popular Large Vision Language Models (LVLMs) depend on sequential visual representation, where images are converted into hundreds or thousands of tokens before being input into the Large Language Model (LLM) along with language prompts. The black-box design hinders the interpretability of visual-language models, especially regarding more complex reasoning tasks. To explore the interaction process between image and text in complex reasoning tasks, we introduce the information flow method to visualize the interaction mechanism. By analyzing the dynamic flow of the information flow, we find that the information flow appears to converge in the shallow layer. Further investigation revealed a redundancy of the image token in the shallow layer. Consequently, a truncation strategy was introduced to aggregate image tokens within these shallow layers. This approach has been validated through experiments across multiple models, yielding consistent improvements.
[ -0.4540981948375702, -0.9051913022994995, 0.7943114638328552, 0.05003342777490616, -0.5249530076980591, -0.06607519090175629, -0.2554773986339569, -0.5661919116973877, -0.022737301886081696, 0.5389887094497681, -0.45579710602760315, -0.35012200474739075, -0.5464184880256653, -0.1510629504919052, -0.46462947130203247, 0.700925886631012, -0.19983837008476257, -0.3486500382423401, -0.49447450041770935, -0.3434186577796936, -0.6620796322822571, -0.2618657946586609, -0.6153039336204529, -0.3381401300430298, 0.6514726877212524, 0.3117910623550415, 0.95704185962677, 0.7956994771957397, 0.6959114670753479, 0.45814576745033264, -0.22364281117916107, 0.22305332124233246, -0.46941885352134705, 0.24796238541603088, -0.4588169753551483, -0.4435374140739441, -0.011184340342879295, -0.4703499972820282, 0.6993894577026367, 0.8486974239349365, 0.08057950437068939, -0.06181126460433006, -0.024142621085047722, 0.47432422637939453, -0.6904910802841187, 0.2504462003707886, -0.30581191182136536, -0.06440295279026031, -0.1477549821138382, -0.46057504415512085, -0.5020932555198669, 0.07002242654561996, 0.3293170928955078, -0.5151747465133667, -0.08940068632364273, -0.12073526531457901, 0.7406244874000549, 0.24670562148094177, -0.5529321432113647, -0.12538765370845795, -0.8876901865005493, 0.8604270815849304, -0.54981529712677, 0.15595649182796478, 0.035760268568992615, 0.3356325924396515, 0.07650861889123917, -0.7797358632087708, -0.8264719247817993, -0.010009584948420525, -0.2918681204319, -0.06269752234220505, -0.158980593085289, 0.07587704807519913, 0.2490399181842804, -0.05035562068223953, -0.3167995810508728, -0.15508170425891876, -0.4429062008857727, 0.04036342725157738, 0.41940101981163025, 0.055170245468616486, 0.48948001861572266, -0.09328682720661163, -0.4629899859428406, -0.02839643508195877, -0.33821797370910645, 0.04364379495382309, -0.13163216412067413, 0.030090127140283585, -0.14858604967594147, 0.72043776512146, 0.062284912914037704, 0.9044414758682251, -0.16683214902877808, -0.3314119875431061, 0.4162428677082062, -0.4717272222042084, -0.20130285620689392, -0.23011887073516846, 0.5254400372505188, 0.527411162853241, 0.1519717127084732, 0.09502299875020981, -0.00023393183073494583, -0.11416637152433395, 0.36965471506118774, -0.6918524503707886, 0.11067977547645569, 0.36762726306915283, -0.5971688628196716, -0.21360865235328674, -0.06836686283349991, -0.5981859564781189, -0.42348238825798035, -0.37255051732063293, 0.5148547887802124, -0.44830334186553955, -0.44454067945480347, 0.11024154722690582, -0.25180280208587646, 0.08058721572160721, 0.7162876129150391, -0.5022103786468506, -0.15490233898162842, 0.39175495505332947, 0.7994397282600403, -0.20732581615447998, -0.4828158915042877, -0.554979681968689, 0.47491729259490967, -0.1793937385082245, 0.7798864841461182, -0.8116871118545532, 0.05470338463783264, -0.013986100442707539, -0.007474437355995178, -0.024110710248351097, -0.33003056049346924, 0.3730558454990387, -0.47197678685188293, 0.19250783324241638, -0.09103217720985413, -0.2697294056415558, -0.662468671798706, 0.3829747140407562, -0.6732690334320068, 0.6607630848884583, -0.1576468050479889, -0.8030096888542175, 0.15559600293636322, -0.765946090221405, -0.4198368489742279, 0.2939514219760895, -0.1915723979473114, -0.33323559165000916, 0.1458987146615982, 0.07609357684850693, 0.4863324761390686, -0.11875133216381073, 0.37065768241882324, -0.44050464034080505, -0.5540504455566406, 0.22372694313526154, -0.48189613223075867, 0.3407517075538635, 0.16932538151741028, -0.361704558134079, 0.2841007113456726, -0.7546601295471191, 0.06036188825964928, 0.11270584911108017, -0.38827845454216003, -0.5098981261253357, 0.03653856739401817, 0.05031285807490349, 0.282064288854599, 0.06721360981464386, -0.13650928437709808, 0.015493403188884258, -0.1368206888437271, 0.707038164138794, 0.5417100787162781, -0.01931072399020195, 0.46742022037506104, 0.002891537733376026, 0.3557600677013397, 0.470071941614151, 0.13184115290641785, -0.7249992489814758, -0.3445320427417755, -0.880692720413208, -0.23837287724018097, 0.0294104665517807, 0.4359903335571289, -1.070666790008545, -0.10578367859125137, -0.32930225133895874, -0.12486579269170761, -0.36443421244621277, 0.10237113386392593, 0.422041654586792, 0.4458678662776947, 0.28786778450012207, -0.32120171189308167, -0.3119758367538452, -1.1426509618759155, -0.2202788144350052, -0.18601281940937042, 0.24530424177646637, 0.28299978375434875, 0.6387828588485718, -0.47887957096099854, 0.6472496390342712, -0.30266493558883667, 0.18652953207492828, -0.3184368312358856, 0.28398677706718445, 0.07729221880435944, 0.5113946795463562, 0.4617825746536255, -1.0174639225006104, -0.03776949644088745, 0.2645246088504791, -0.8052515387535095, 0.2322085052728653, -0.2773421108722687, -0.3277120292186737, 0.1918523758649826, 0.5169935822486877, -0.8597314953804016, 0.7211302518844604, 0.2491479218006134, -0.4030357599258423, 0.43922463059425354, -0.27215591073036194, 0.41217944025993347, -0.7733125686645508, 0.09323383122682571, 0.09054974466562271, -0.2889665365219116, -0.8155360817909241, 0.2318052053451538, 0.055424317717552185, -0.25581297278404236, -0.5599260926246643, 0.7000712156295776, -0.5954937934875488, -0.0037386382464319468, -0.22038888931274414, 0.4184364378452301, 0.3413739502429962, 0.45730042457580566, -0.03421191871166229, 0.5056187510490417, 0.5067113041877747, -0.5504780411720276, 0.46432578563690186, 0.031643327325582504, -0.37125343084335327, 0.5240406394004822, -0.6772197484970093, -0.1533641368150711, -0.5831648111343384, -0.044387344270944595, -1.221645712852478, -0.3149589002132416, 0.123275987803936, -0.12281081080436707, 0.2985990345478058, -0.14293703436851501, -0.4083321690559387, -0.346273273229599, -0.13471129536628723, 0.808789849281311, 0.21639123558998108, -0.615850567817688, 0.917413055896759, 0.26313135027885437, -0.13403598964214325, -0.8674028515815735, -0.9032353162765503, 0.34546422958374023, -0.33525705337524414, -0.9716437458992004, 0.14596527814865112, -0.08396753668785095, -0.3938014805316925, 0.09073270112276077, 0.07383555173873901, -0.2652818560600281, 0.1290026158094406, 0.1829846203327179, 0.2219730019569397, -0.18924549221992493, 0.6376268267631531, -0.16620215773582458, 0.1318330466747284, -0.12249881029129028, -0.18872834742069244, 0.37588727474212646, -0.2539829611778259, -0.48057740926742554, -0.70002281665802, 0.5907598733901978, 0.9008920192718506, -0.16922718286514282, 0.992530107498169, 0.5476799607276917, -0.31463247537612915, -0.008249972946941853, -0.5170224905014038, 0.08919971436262131, -0.4406483769416809, 0.5604735612869263, -0.5630995631217957, -0.7238889932632446, 0.4669669568538666, -0.006691949442028999, 0.10063876211643219, 0.25969088077545166, 0.3617440164089203, -0.3168835937976837, 0.8650226593017578, 0.696008026599884, 0.5539913773536682, 0.5918595790863037, -0.08704423904418945, 0.326682448387146, -0.47070956230163574, -0.4733380079269409, -0.13089440762996674, -0.38241949677467346, -0.15582111477851868, -0.6865786910057068, 0.20345085859298706, 0.3718133866786957, -0.08406094461679459, -0.08408410102128983, -0.3352045714855194, 0.6900438666343689, 0.4471046030521393, 0.13918185234069824, 0.37058043479919434, 0.23033760488033295, -0.16825634241104126, 0.0689777061343193, -0.6800503730773926, -0.39678236842155457, 0.3655811548233032, 0.46240007877349854, 1.0200704336166382, 0.20277446508407593, 0.24596470594406128, 0.10803189128637314, 0.09050730615854263, -0.6597104668617249, 0.5880024433135986, -0.08290056884288788, -0.2610633373260498, -0.2962080240249634, -0.39130350947380066, -0.971392035484314, 0.5479036569595337, -0.37505215406417847, -0.6142929196357727, 0.2083883285522461, 0.40880686044692993, -0.05595192313194275, 0.2971005141735077, -1.1022803783416748, 0.8727367520332336, -0.25097063183784485, -0.6830534934997559, -0.318807452917099, -0.6106299757957458, 0.4994109272956848, 0.10260508209466934, 0.42506763339042664, 0.3633788228034973, -0.16226163506507874, 0.49459606409072876, -0.5836686491966248, 0.906484067440033, 0.01975763961672783, -0.2344754934310913, 0.24861551821231842, 0.027423644438385963, 0.5372976660728455, -0.27632075548171997, 0.1374150514602661, 0.03223348408937454, -0.31680238246917725, -0.4844750463962555, -0.8642975091934204, 0.5873059034347534, -0.41003870964050293, -0.6847917437553406, 0.0039049023762345314, -0.7163135409355164, -0.005063051823526621, 0.2807658910751343, -0.05005723610520363, 0.6784525513648987, 0.4345373809337616, 0.39131417870521545, 0.536186933517456, -0.4808427095413208, 0.38083750009536743, -0.017821140587329865, -0.13742606341838837, -0.1575033962726593, 0.7685156464576721, 0.045411400496959686, 0.4412245750427246, 0.419826865196228, 0.03435683622956276, -0.3616577088832855, -0.5556521415710449, -0.20944862067699432, 0.4511886239051819, -1.1096311807632446, 0.15538717806339264, -0.7181462049484253, -0.15842127799987793, -0.009254030883312225, -0.14401714503765106, -0.11727779358625412, -0.47251051664352417, -0.27300605177879333, 0.08034040033817291, 0.09118914604187012, 0.6967023611068726, 0.3975967466831207, 0.3459034860134125, -0.8672816157341003, 0.20018422603607178, 0.2794824540615082, 0.47380244731903076, 0.4196581542491913, -0.4431881606578827, -0.3633473217487335, -0.02596527338027954, -0.13298076391220093, -0.706544816493988, 0.03883877024054527, 0.09269160032272339, 0.7015366554260254, 0.4995799958705902, -0.2533142864704132, 1.0966269969940186, -0.30998489260673523, 0.6330602765083313, 0.6117672324180603, -1.0195003747940063, 0.6754521131515503, -0.16274096071720123, 0.6005336046218872, 0.06233193352818489, 0.060820065438747406, -0.5253569483757019, -0.47697725892066956, -0.46679750084877014, -1.0345522165298462, 0.453734427690506, 0.32972264289855957, 0.018236476927995682, 0.12332184612751007, 0.428536057472229, -0.020145365968346596, 0.29631683230400085, -0.9987579584121704, -0.09629359841346741, -0.18851310014724731, -0.34892722964286804, 0.19354599714279175, -0.46127524971961975, -0.24655181169509888, -0.009624621830880642, 0.2953108549118042, -0.11388572305440903, 0.13066354393959045, 0.1379879266023636, -0.38652336597442627, 0.009920233860611916, 0.3728249967098236, 0.8660794496536255, 1.0576980113983154, 0.2166033536195755, 0.5834465026855469, -0.2101890742778778, -0.19933409988880157, -0.01168412808328867, -0.1992851197719574, -0.12038877606391907, 0.057868871837854385, 0.9243407845497131, 1.1037709712982178, 0.17120783030986786, -0.8776254653930664, 0.532016932964325, -0.13901224732398987, -0.2618752717971802, 0.022236153483390808, 0.11160266399383545, 0.1192384734749794, 0.6591657996177673, 0.29288339614868164, 0.2639654278755188, -0.017878802493214607, -0.755445659160614, 0.0908702164888382, 0.5938360691070557, -0.3475359082221985, -0.049487411975860596, 0.5052099823951721, 0.2986947298049927, -0.11807546019554138, 0.42422208189964294, 0.18764805793762207, -0.40485936403274536, 0.6317870020866394, 0.32070252299308777, 0.3241935670375824, 0.11653680354356766, 0.25513210892677307, 0.37980613112449646, 0.3878813683986664, -0.17987172305583954, 0.16372355818748474, -0.1096220538020134, -0.49022191762924194, -0.9191364645957947, -0.14652034640312195, -0.0989036038517952, 0.18906815350055695, -0.3560371994972229, 0.1978500783443451, -0.1267109215259552, -0.22718898952007294, 0.23001718521118164, -0.5460226535797119, -0.6206398606300354, 0.18046846985816956, 0.184103861451149, 0.722984254360199, -0.6529947519302368, 0.5088371634483337, 0.843091607093811, -0.43138444423675537, -0.5199035406112671, 0.04397476837038994, -0.19650574028491974, -0.7491962313652039, 0.9170371890068054, 0.1922893077135086, -0.19637276232242584, -0.3876373767852783, -0.6804232001304626, -0.774448037147522, 0.906728982925415, 0.4444079101085663, -0.5796647667884827, 0.05817591771483421, -0.1327640414237976, 0.5366221070289612, -0.48365259170532227, 0.2471834421157837, 0.22935320436954498, 0.6984545588493347, 0.5832424759864807, -0.6709071397781372, 0.1762395054101944, -0.40875351428985596, 0.2661069333553314, 0.3040376603603363, -0.4887382984161377, 0.6867921352386475, -0.7571032047271729, -0.6016110777854919, -0.07642477750778198, 0.32482603192329407, 0.12175985425710678, 0.2906751334667206, 0.7059552669525146, 0.4949881434440613, 0.7829008102416992, -0.08408796787261963, 1.0637850761413574, 0.20003721117973328, 0.3114449977874756, 1.1615893840789795, 0.10067908465862274, 0.7186002731323242, 0.6624544262886047, 0.18357762694358826, 0.5743759870529175, 0.37195268273353577, 0.0020823590457439423, 0.4412408769130707, 0.04265991598367691, -0.17847664654254913, -0.4618609547615051, -0.22873467206954956, -0.18911334872245789, 0.20196427404880524, 0.3152368664741516, -0.5801495909690857, -0.22031815350055695, 0.276446133852005, -0.23931780457496643, -0.1322363317012787, -0.3927079737186432, 0.6165159940719604, -0.08505287021398544, -0.6081371307373047, 0.7085697650909424, -0.2693016827106476, 0.2938174605369568, -0.26767784357070923, -0.31420308351516724, 0.06563425064086914, 0.22766438126564026, -0.2709973454475403, -1.233676552772522, 0.26679593324661255, -0.27811700105667114, -0.327765554189682, -0.06390698254108429, 0.8285015821456909, -0.7815318703651428, -0.4379432797431946, 0.28490573167800903, 0.48445263504981995, 0.22791776061058044, 0.2262168973684311, -0.6421019434928894, 0.3406814932823181, 0.11766602843999863, -0.14498890936374664, -0.03066723234951496, 0.7457746267318726, -0.23643723130226135, 1.0191468000411987, 0.5148371458053589, -0.053891003131866455, -0.010573573410511017, 0.34128913283348083, 0.7591402530670166, -0.8696489334106445, -0.3778734803199768, -0.9940670132637024, 0.9081190228462219, -0.2971615493297577, 0.055634964257478714, 0.39371493458747864, 0.1261577010154724, 0.5041232109069824, -0.11020121723413467, 0.7755113244056702, 0.1357148140668869, 0.0863037183880806, -0.5620694160461426, 0.4056527614593506, -1.0227035284042358, 0.46990296244621277, -0.30901768803596497, -0.7215313911437988, -0.47882840037345886, 0.5997761487960815, -0.07749759405851364, 0.01760987564921379, 0.946708619594574, 0.5689824819564819, -0.20747359097003937, -0.27659785747528076, 0.39659830927848816, 0.5150488615036011, 0.3270796239376068, 0.5549702644348145, 0.9571665525436401, -0.17043952643871307, 1.0048192739486694, -0.018203970044851303, -0.18804776668548584, -0.25887101888656616, -1.0369086265563965, -0.9273956418037415, -0.6322093605995178, -0.4347277283668518, -0.36978408694267273, -0.0632762759923935, 0.4120410084724426, 0.8203006982803345, -0.3303667902946472, 0.006934323813766241, 0.13033846020698547, 0.5201500058174133, -0.17766991257667542, -0.23156502842903137, 0.23032386600971222, -0.20552276074886322, -0.5710920691490173, -0.13034065067768097, 0.7360936403274536, 0.2720913589000702, -0.23201896250247955, 0.011269230395555496, -0.20957589149475098, -0.005849906243383884, 0.9037386775016785, 0.060228075832128525, -0.900009036064148, -0.31595808267593384, -0.5579045414924622, 0.06069321185350418, 0.139057457447052, 0.8272562026977539, -0.518679141998291, 0.7023431062698364, 0.5675143003463745, 0.6884898543357849, 0.4824405312538147, 0.13068516552448273, 0.5545843839645386, -0.674951434135437, 0.3048938810825348, -0.1161641851067543, 0.5019323229789734, 0.4420927166938782, -0.2890753746032715, 0.40308961272239685, 0.21614904701709747, -0.1669069528579712, -0.8314063549041748, 0.3518916368484497, -1.151366949081421, -0.6402861475944519, 1.0268827676773071, -0.12532609701156616, -0.4163011312484741, -0.2313237190246582, -0.2719153165817261, -0.05715077742934227, -0.24323737621307373, 0.5609050393104553, 0.9712536334991455, -0.07277138531208038, -0.8818112015724182, -0.5309341549873352, 0.01999679207801819, 0.28182828426361084, -0.9218786954879761, 0.019378842785954475, 0.5447158217430115, 0.08282580226659775, 0.618634045124054, 0.4414046108722687, -0.1335850954055786, 0.2761106491088867, -0.19457028806209564, -0.1009356826543808, -0.0676233097910881, -0.34187889099121094, -0.1475054919719696, 0.379482239484787, -0.03773895651102066, -0.13631026446819305 ]
http://arxiv.org/abs/2406.06578v1
http://arxiv.org/pdf/2406.06578v1
SMS Spam Detection and Classification to Combat Abuse in Telephone Networks Using Natural Language Processing
2024-06-04T13:44:36
2024-06-04T13:44:36
Dare Azeez Oyeyemi, Adebola K. Ojo
cs.CL
cs.CL, cs.AI, cs.LG
In the modern era, mobile phones have become ubiquitous, and Short Message Service (SMS) has grown to become a multi-million-dollar service due to the widespread adoption of mobile devices and the millions of people who use SMS daily. However, SMS spam has also become a pervasive problem that endangers users' privacy and security through phishing and fraud. Despite numerous spam filtering techniques, there is still a need for a more effective solution to address this problem [1]. This research addresses the pervasive issue of SMS spam, which poses threats to users' privacy and security. Despite existing spam filtering techniques, the high false-positive rate persists as a challenge. The study introduces a novel approach utilizing Natural Language Processing (NLP) and machine learning models, particularly BERT (Bidirectional Encoder Representations from Transformers), for SMS spam detection and classification. Data preprocessing techniques, such as stop word removal and tokenization, are applied, along with feature extraction using BERT. Machine learning models, including SVM, Logistic Regression, Naive Bayes, Gradient Boosting, and Random Forest, are integrated with BERT for differentiating spam from ham messages. Evaluation results revealed that the Na\"ive Bayes classifier + BERT model achieves the highest accuracy at 97.31% with the fastest execution time of 0.3 seconds on the test dataset. This approach demonstrates a notable enhancement in spam detection efficiency and a low false-positive rate. The developed model presents a valuable solution to combat SMS spam, ensuring faster and more accurate detection. This model not only safeguards users' privacy but also assists network providers in effectively identifying and blocking SMS spam messages.
[ -0.3516538441181183, -1.1273974180221558, 0.004378616344183683, 0.7182603478431702, -0.28794950246810913, -0.024217689409852028, -0.03369397297501564, -0.7980665564537048, 0.036758530884981155, 0.9570360779762268, -0.519507110118866, -0.5272929668426514, -0.5819610357284546, 0.2844301164150238, -0.5799364447593689, 1.027236819267273, 0.48978736996650696, 0.123402900993824, 0.02553778514266014, 0.09332038462162018, -0.4264993965625763, -0.7286370396614075, -0.8301517367362976, -0.2815863788127899, 0.226665660738945, 0.29972732067108154, 0.7216057181358337, 0.3230177164077759, 0.5605789422988892, 0.39531946182250977, -0.2792540192604065, 0.19558076560497284, -0.2446630746126175, 0.19097237288951874, 0.07268579304218292, -0.48604580760002136, -0.27169710397720337, -0.1923382729291916, 0.39506784081459045, 0.35363391041755676, -0.04516945034265518, -0.10113108158111572, 0.33907461166381836, 0.6916593313217163, -0.2775362730026245, -0.2876173257827759, -0.9330512285232544, 0.06460419297218323, -0.27338871359825134, -0.5529871582984924, -0.5324207544326782, -0.7905600070953369, 0.44240882992744446, -0.16395637392997742, 0.32077232003211975, 0.09985405206680298, 0.7308369278907776, 0.02303851582109928, -0.4807842969894409, -0.7551432251930237, -0.714068591594696, 0.8696997761726379, -0.6398866176605225, 0.23758219182491302, 0.47511905431747437, 0.2739558219909668, -0.44635632634162903, -0.3528357148170471, -0.28173327445983887, -0.18344949185848236, 0.057924192398786545, -0.1332051306962967, -0.2843291461467743, 0.10142667591571808, 0.2421458214521408, 0.277401328086853, -0.7649268507957458, 0.2975683808326721, -0.273464173078537, -0.5899146795272827, 0.5129159092903137, 0.13292501866817474, 0.3418733477592468, -0.3663444519042969, -0.7382697463035583, 0.2855708599090576, -0.4130041003227234, 0.14738517999649048, 0.3780762553215027, 0.3293837904930115, 0.01949012093245983, 0.47823357582092285, -0.08587158471345901, 0.7043140530586243, -0.10695413500070572, -0.11711955070495605, -0.06966568529605865, -0.2975553274154663, -0.45355358719825745, 0.27645108103752136, 0.9397099018096924, -0.026563387364149094, 0.1952129304409027, 0.036861952394247055, -0.28577545285224915, 0.16853661835193634, 0.29358938336372375, -0.9553272128105164, -0.06178842484951019, 0.1517629474401474, -0.8502650260925293, -0.4021591544151306, -0.05628854036331177, -0.8958740830421448, -0.2748017907142639, -0.08621802181005478, 0.30224281549453735, -0.48452651500701904, -0.1458892673254013, 0.321787029504776, 0.030818134546279907, 0.08136510103940964, 0.16353799402713776, -0.6764683127403259, 0.6333198547363281, 0.6245742440223694, 0.9180589914321899, -0.15864311158657074, 0.0905870720744133, -0.4019244909286499, -0.2734530568122864, -0.13142052292823792, 0.6984386444091797, -0.5634102821350098, -0.5386644005775452, 0.23781850934028625, -0.08700475096702576, -0.2197168469429016, -0.6365312337875366, 0.9693759679794312, -0.8912079334259033, 0.6581123471260071, 0.1744723916053772, -0.6336012482643127, -0.18668000400066376, 0.37088915705680847, -0.6339924335479736, 1.2240417003631592, -0.14884540438652039, -0.6458748579025269, 0.07635324448347092, -0.8938788771629333, -0.6625714302062988, 0.19916269183158875, 0.539711058139801, -0.7306766510009766, 0.06057946756482124, 0.057654667645692825, 0.6027360558509827, -0.3206692337989807, 0.18822036683559418, -0.36571985483169556, -0.37471649050712585, 0.5835917592048645, -0.5615853071212769, 1.0147784948349, 0.37115707993507385, -0.3302951753139496, 0.07105263322591782, -0.7745164632797241, 0.26167523860931396, -0.08193440735340118, -0.33815252780914307, -0.44541430473327637, -0.13070538640022278, 0.16517937183380127, 0.1996365487575531, 0.1823224276304245, -0.6215778589248657, -0.1154383197426796, -0.7721601128578186, 0.09570375829935074, 0.6670753359794617, 0.17096850275993347, 0.6246973872184753, -0.2564014196395874, 0.08519801497459412, 0.11335387080907822, 0.29795387387275696, -0.2106640487909317, -0.9213398098945618, -0.5615624785423279, -0.19126227498054504, 0.48907527327537537, 0.8476161956787109, -0.6610822677612305, 0.8387484550476074, -0.28903451561927795, -0.4059257209300995, -0.4127345681190491, 0.2812337279319763, 0.3614664077758789, 0.3049756586551666, 0.38276487588882446, -0.22877132892608643, -0.6591418385505676, -0.8329273462295532, -0.4039369821548462, -0.07153509557247162, 0.00876266323029995, -0.010117127560079098, 0.22144615650177002, -0.5681207776069641, 1.0238655805587769, -0.3682296872138977, -0.4726812243461609, -0.16386020183563232, 0.2644909918308258, 0.28305137157440186, 0.5489909052848816, 0.5814934968948364, -1.2059547901153564, -0.5422646403312683, -0.20860493183135986, -0.3965541422367096, -0.2498599886894226, -0.21331532299518585, -0.036501504480838776, 0.3087766766548157, -0.09479837864637375, -0.4665965735912323, 0.4962864816188812, 0.3186509609222412, -0.3917568624019623, 0.45604148507118225, -0.17296163737773895, 0.10876976698637009, -0.878914475440979, -0.1616598516702652, 0.26479679346084595, -0.3656603991985321, -1.0717023611068726, -0.6538702249526978, 0.04389571771025658, -0.14465054869651794, -0.38772842288017273, 0.30299121141433716, -0.22572554647922516, -0.09376721829175949, -0.6723184585571289, -0.264362633228302, -0.2571108937263489, 0.3245672881603241, 0.04196002334356308, 0.6473198533058167, 0.2650272846221924, -1.040924310684204, 0.2436116486787796, 0.2281305491924286, -0.1501644104719162, 0.35673633217811584, -0.6241346001625061, -0.07043647766113281, 0.20368893444538116, 0.16687090694904327, -1.08769953250885, 0.13524022698402405, 0.7395521402359009, -0.7084335088729858, -0.1557977795600891, -0.22889328002929688, -0.6230268478393555, -0.3523910641670227, -0.18456503748893738, -0.1180366575717926, 0.5421738028526306, -0.712958037853241, 0.4521029591560364, 0.38026162981987, -0.2912024259567261, -0.46550121903419495, -0.4940645098686218, 0.27289536595344543, -0.08487345278263092, -0.6266344785690308, 0.4592532813549042, -0.06630431860685349, 0.10189194977283478, -0.08908746391534805, -0.24169044196605682, -0.5599740147590637, 0.35247161984443665, 0.3335108458995819, 0.4545615017414093, 0.10518668591976166, 0.17857816815376282, 0.09339139610528946, -0.26662081480026245, 0.31183186173439026, -0.2760845422744751, 0.715800404548645, 0.05318969115614891, -0.07359294593334198, -0.7385775446891785, 0.40684911608695984, 0.4034428894519806, -0.08827567100524902, 0.8189370632171631, 0.8266716599464417, -0.546356201171875, -0.1908971071243286, -0.5029371380805969, -0.3648265600204468, -0.5005924105644226, 0.10581089556217194, -0.16789279878139496, -0.7864218950271606, 0.2355094850063324, -0.08422728627920151, 0.035346876829862595, 0.04330584406852722, 0.34202519059181213, -0.09997322410345078, 1.112023115158081, 0.82461017370224, -0.44619038701057434, 0.5544296503067017, 0.009317136369645596, 0.37055662274360657, -0.291269987821579, -0.17626091837882996, -0.750741720199585, 0.0937514677643776, -0.5692499279975891, -0.24056127667427063, 0.11842550337314606, 0.0899730771780014, 0.1794874370098114, 0.5445144176483154, -0.7538449764251709, 0.26321926712989807, 0.3261205554008484, 0.24788449704647064, 0.18891744315624237, 0.24128484725952148, -0.03168913349509239, -0.02021089382469654, -0.6116002202033997, -0.9111119508743286, 1.073445439338684, 0.627128541469574, 0.5654236078262329, 0.1079016774892807, 0.5633031725883484, 0.6134548187255859, 0.7331795692443848, -0.5360543727874756, 0.7602412700653076, 0.015550680458545685, -0.666934609413147, -0.08136396110057831, -0.6809117197990417, -1.1923584938049316, 0.40194302797317505, -0.40298154950141907, -0.6502882838249207, -0.12062374502420425, 0.012534195557236671, -0.2075483202934265, 0.4266712963581085, -0.7005111575126648, 0.5656619071960449, -0.1381579339504242, -0.15444882214069366, -0.02772623486816883, -0.58371901512146, 0.4923784136772156, -0.06343448162078857, 0.35397371649742126, -0.022714991122484207, -0.015753280371427536, 0.8678163886070251, -0.26620814204216003, 0.9945539832115173, -0.3353208303451538, -0.37171489000320435, 0.3939228653907776, -0.0314301997423172, 0.42145252227783203, 0.15886008739471436, -0.04079660773277283, 0.27382972836494446, -0.10802590101957321, -0.4379202425479889, -0.22967098653316498, 0.5661882162094116, -0.38935622572898865, -0.07700575888156891, -0.45362454652786255, -0.17014433443546295, -0.022525161504745483, 0.3473571538925171, 0.42160558700561523, 0.37543785572052, -0.13141664862632751, 0.10119317471981049, 1.0505335330963135, -0.35214242339134216, 0.7235276699066162, 0.415367990732193, -0.20550745725631714, -0.32642069458961487, 0.9788440465927124, -0.18230289220809937, 0.056076936423778534, 0.5520031452178955, -0.001467490685172379, -0.7403198480606079, -0.7653838992118835, -0.4420459568500519, -0.08327741175889969, -0.3660846948623657, -0.39460787177085876, -0.8672186732292175, -0.3392009139060974, -0.3663639426231384, 0.14572404325008392, -0.15802858769893646, -0.09882782399654388, -0.3759166896343231, 0.48407241702079773, 0.09094186872243881, 0.49042969942092896, 0.2210082858800888, 0.6037464141845703, -1.3019826412200928, 0.5550422072410583, 0.07177261263132095, 0.435703843832016, -0.1615227460861206, -0.4312343895435333, -0.2464440017938614, 0.22002965211868286, -0.39806029200553894, -1.0166223049163818, 0.5653992295265198, 0.09406442195177078, 0.5083218812942505, 0.371328741312027, 0.17638227343559265, 0.5552258491516113, -0.23552900552749634, 0.6247979402542114, 0.3067038357257843, -1.044907569885254, 0.5515150427818298, -0.11438846588134766, -0.10762523114681244, 0.08722703158855438, 0.30920708179473877, -0.6023263931274414, -0.18563897907733917, -0.7112267017364502, -0.4395379424095154, 0.47660547494888306, 0.49740341305732727, 0.1022985652089119, 0.08527764678001404, 0.060822565108537674, 0.06419803202152252, 0.28359198570251465, -0.9072263836860657, -0.2675783634185791, 0.028246602043509483, -0.3647829592227936, 0.1535399854183197, -0.4815537929534912, 0.22975410521030426, 0.042300958186388016, 0.7030391097068787, 0.24652308225631714, 0.5741551518440247, 0.0358903594315052, -0.3739510774612427, 0.08301013708114624, 0.5698749423027039, 0.649506688117981, 0.1691378653049469, -0.07774030417203903, -0.1342310607433319, 0.22739849984645844, -0.6696096062660217, 0.17211416363716125, 0.19822977483272552, -0.007318942807614803, 0.5483033657073975, 0.13430941104888916, 0.36467087268829346, 0.4482533931732178, -0.5191923379898071, 0.6368617415428162, -0.15271905064582825, -0.1842244416475296, -0.45709285140037537, 0.12330387532711029, -0.2682092785835266, -0.12995517253875732, 0.7171111702919006, 0.4883713126182556, 0.3332027792930603, -0.09311047196388245, 0.21388766169548035, 0.5840896964073181, -0.48659220337867737, -0.15196281671524048, 0.28160351514816284, 0.4750858545303345, -0.6152799129486084, 0.23813927173614502, -0.32087671756744385, -0.912026584148407, 0.6370123028755188, 0.6923882365226746, 0.7070827484130859, -0.5498599410057068, 0.20376397669315338, 0.24740338325500488, 0.36581313610076904, -0.3046664595603943, 0.1658189594745636, -0.07852723449468613, -0.8189612030982971, -0.3326183557510376, -0.5174508690834045, -0.3455635905265808, 0.20738919079303741, -0.6978689432144165, 0.21014398336410522, -0.48142969608306885, -0.4044536054134369, 0.2228652983903885, 0.0113365538418293, -0.5214074850082397, 0.24455460906028748, 0.10228601843118668, 1.0003398656845093, -0.656330943107605, 0.9866688251495361, 0.5474774241447449, 0.349962055683136, -0.07567281275987625, 0.0072029330767691135, -0.09098977595567703, -0.3696802258491516, 0.8011600375175476, 0.622443437576294, -0.18081390857696533, -0.07661750912666321, -0.4793631136417389, -0.2516440749168396, 0.42217350006103516, -0.14821040630340576, -0.50843745470047, 0.3360305428504944, 0.2859092056751251, 0.5557178258895874, -0.15063995122909546, 0.12574011087417603, 0.3490511476993561, 0.2850881516933441, -0.2812459468841553, -0.879443347454071, -0.17531535029411316, -0.26777270436286926, 0.12635894119739532, 0.6851316690444946, -0.0899318978190422, 0.46431419253349304, 0.290332555770874, -0.3506162464618683, 0.27869662642478943, 0.5365119576454163, 0.042653996497392654, 0.590823769569397, 0.6062663197517395, 0.3678458034992218, 0.5154068470001221, -0.2705736756324768, 0.5929029583930969, -0.06584221124649048, 0.3597356379032135, 0.556121289730072, -0.2700522840023041, 0.6970841884613037, 0.27449163794517517, -0.18796932697296143, 0.42544907331466675, 0.6692194938659668, 0.09613225609064102, 0.5202621817588806, 0.20410031080245972, -0.6850012540817261, -0.17511917650699615, 0.1553163081407547, -0.2625691294670105, 0.25168511271476746, 0.6885443329811096, -0.3175576329231262, -0.3471871614456177, 0.4494325816631317, -0.07602295279502869, 0.34522783756256104, -0.3667718768119812, 0.812631368637085, -0.13761335611343384, -0.3690011501312256, 0.6234788298606873, 0.3677985966205597, 1.339040994644165, -0.5865593552589417, 0.1570674479007721, 0.30407026410102844, 0.41366949677467346, -0.18222422897815704, -0.6456407904624939, 0.3761254549026489, 0.2332361489534378, -0.18967437744140625, -0.5084895491600037, 1.436149001121521, -0.3270231783390045, -0.2022736668586731, 0.21594250202178955, 0.2134658247232437, 0.2617226839065552, -0.28079769015312195, -1.1921272277832031, 0.1078009158372879, 0.10882163047790527, 0.0710730105638504, 0.26913103461265564, 0.21431215107440948, 0.28547340631484985, 1.040879487991333, 1.136398196220398, 0.08822150528430939, 0.10259836167097092, -0.13535694777965546, 0.7025473117828369, -0.6823046207427979, -0.85602205991745, -1.1874877214431763, 0.17285171151161194, -0.6995500922203064, -0.12498973309993744, 0.8979161381721497, 0.8597748279571533, 0.5654380321502686, -0.16370166838169098, 0.6879265904426575, 0.1578264981508255, 0.9713007807731628, -0.2726212739944458, 0.37713927030563354, 0.059998296201229095, 0.7987856864929199, -0.12922058999538422, -0.7879536747932434, -0.3217584490776062, 0.594063401222229, -0.4230697751045227, -0.19531840085983276, 0.22353295981884003, 0.6640229821205139, 0.06482639163732529, 0.6374840140342712, 0.025401417165994644, -0.32489174604415894, 0.4761485755443573, 0.4423304796218872, 0.9718671441078186, -0.6977447867393494, 0.8270043134689331, -0.288160115480423, -0.2136785238981247, -0.6308749318122864, -0.585281252861023, -1.2724303007125854, -0.21396075189113617, -0.09494603425264359, -0.40238896012306213, 0.029827997088432312, 0.8485766053199768, 0.7044627666473389, -0.7796919345855713, -0.23221267759799957, -0.15457306802272797, 0.4413893520832062, -0.18829874694347382, -0.29746946692466736, -0.03947987034916878, -0.6070567965507507, -0.7252596020698547, 0.21410506963729858, 0.3798176348209381, 0.4530581533908844, 0.09793417900800705, 0.10848494619131088, -0.16242685914039612, 0.06512767821550369, 0.7757427096366882, 0.30370602011680603, -0.3696380853652954, 0.12749464809894562, 0.1382787674665451, -0.5150803923606873, -0.05044041574001312, 0.8014073371887207, -0.8963706493377686, 0.1034712865948677, 0.23851899802684784, 0.873046875, 0.16309772431850433, 0.0903942883014679, 0.270044207572937, -0.7944232821464539, 0.12854748964309692, 0.5154784917831421, 0.0016851886175572872, 0.1610220968723297, -0.561469316482544, 0.1472286731004715, 0.16551710665225983, -0.41487863659858704, -1.1288548707962036, -0.003935593646019697, -0.8378796577453613, -0.350864976644516, 0.6974843144416809, 0.06716866791248322, -0.2783389687538147, -0.8374632000923157, -0.6879394054412842, 0.06316710263490677, -0.5087450742721558, 0.8071687817573547, 0.33538785576820374, 0.06396547704935074, -0.04037860780954361, -0.43860748410224915, 0.49645355343818665, 0.5664699673652649, -1.0359153747558594, -0.20560818910598755, 0.05075952038168907, 0.4169090986251831, 0.15021738409996033, 0.7018731236457825, -0.12552474439144135, 0.1972663402557373, -0.5841569304466248, -0.15908975899219513, 0.1390610784292221, -0.07238097488880157, -0.2912043631076813, 0.42952629923820496, -0.5337047576904297, -0.5541506409645081 ]
http://arxiv.org/abs/2406.02301v1
http://arxiv.org/pdf/2406.02301v1
mCoT: Multilingual Instruction Tuning for Reasoning Consistency in Language Models
2024-06-04T13:30:45
2024-06-04T13:30:45
Huiyuan Lai, Malvina Nissim
cs.CL
cs.CL
Large language models (LLMs) with Chain-of-thought (CoT) have recently emerged as a powerful technique for eliciting reasoning to improve various downstream tasks. As most research mainly focuses on English, with few explorations in a multilingual context, the question of how reliable this reasoning capability is in different languages is still open. To address it directly, we study multilingual reasoning consistency across multiple languages, using popular open-source LLMs. First, we compile the first large-scale multilingual math reasoning dataset, mCoT-MATH, covering eleven diverse languages. Then, we introduce multilingual CoT instruction tuning to boost reasoning capability across languages, thereby improving model consistency. While existing LLMs show substantial variation across the languages we consider, and especially low performance for lesser resourced languages, our 7B parameter model mCoT achieves impressive consistency across languages, and superior or comparable performance to close- and open-source models even of much larger sizes.
[ -0.3037038743495941, -0.8877434730529785, 0.7357611060142517, 0.26669400930404663, -0.18083423376083374, 0.15929797291755676, -0.6208505034446716, -0.41541802883148193, 0.07886172831058502, 0.678101658821106, -0.5133838653564453, -0.6157447099685669, -0.6243002414703369, 0.21594269573688507, 0.20399783551692963, 0.8215819597244263, -0.2924697697162628, 0.3218645453453064, -0.345920592546463, -0.4528370499610901, -0.4946824312210083, -0.6849108338356018, -0.698213517665863, -0.21855393052101135, 0.6289372444152832, 0.5621489882469177, 0.9471893906593323, 0.5962933897972107, 0.6380333304405212, 0.25918400287628174, 0.09687787294387817, 0.8443694114685059, -0.24531586468219757, 0.163960799574852, -0.5099462866783142, -0.45300614833831787, -0.5422040820121765, -0.27000850439071655, 0.7607669234275818, 0.6332836151123047, -0.43974849581718445, -0.07600469887256622, -0.2064526230096817, 0.596043050289154, -0.8039273023605347, 0.1762426644563675, -0.8302631974220276, -0.3636323809623718, -0.10122274607419968, 0.02101554162800312, -0.8137415647506714, -0.3872668743133545, -0.2649199962615967, -0.5740953087806702, 0.028266752138733864, 0.06503426283597946, 0.590340793132782, 0.11533041298389435, -0.6903764009475708, -0.4753367602825165, -0.4774588942527771, 0.9972832202911377, -0.5702500939369202, 0.9085195064544678, 0.5596123337745667, 0.3076108396053314, -0.15873564779758453, -0.4299249053001404, -0.4949563443660736, -0.3937591016292572, 0.044937364757061005, -0.14548221230506897, 0.2220631241798401, -0.07241035997867584, 0.2562008500099182, 0.08806248009204865, -0.4820563495159149, -0.05726507306098938, -0.10429628938436508, -0.3732573688030243, 0.607258677482605, -0.11777070164680481, 0.17838504910469055, 0.24269618093967438, -0.2380693256855011, -0.1504771113395691, -0.7580897212028503, -0.17540614306926727, 0.3987226188182831, 0.3289662003517151, -0.17067183554172516, 0.7646298408508301, -0.03959960490465164, 0.8346772789955139, -0.23134976625442505, -0.38515934348106384, 0.0706678032875061, -0.22697456181049347, -0.0463591106235981, 0.18325787782669067, 0.5783266425132751, 0.10188847780227661, 0.5945118069648743, -0.05950776860117912, -0.10337881743907928, 0.16409941017627716, -0.05639141425490379, -0.4576919972896576, -0.2566016614437103, 0.04519503563642502, 0.07345321029424667, 0.23808889091014862, 0.09065279364585876, -0.4319251775741577, -0.11796461790800095, -0.5469015836715698, 0.07499802857637405, -0.42668724060058594, -0.36590221524238586, 0.37588417530059814, 0.29335540533065796, 0.03818073123693466, 0.31666386127471924, -0.8964253067970276, 0.04766916483640671, 0.6993067860603333, 0.6017456650733948, -0.12564310431480408, -0.6149575114250183, -0.822519838809967, 0.43409210443496704, -0.5428094267845154, 0.7840690612792969, -0.8151569366455078, -0.08464761823415756, -0.1565277874469757, 0.19055116176605225, -0.28677430748939514, -0.4714936912059784, 0.4810863733291626, -0.44465336203575134, 0.03957574442028999, -0.4615362584590912, -0.5767437815666199, -0.04900342598557472, 0.687946081161499, -0.5307055115699768, 1.010943055152893, -0.20213264226913452, -0.5354911088943481, 0.13895201683044434, -0.38789933919906616, -0.41664257645606995, -0.34177088737487793, -0.2341298758983612, -0.2921234667301178, 0.17391519248485565, 0.5368394255638123, 0.12891952693462372, -0.3297516405582428, 0.3885214328765869, -0.5220337510108948, -0.1532132923603058, 0.22859899699687958, -0.6964197754859924, 0.8587731719017029, 0.23879796266555786, -0.16826075315475464, -0.05032496526837349, -0.5693022012710571, 0.28239935636520386, -0.006995577365159988, -0.0473003089427948, -0.16307108104228973, -0.07188982516527176, -0.34011727571487427, 0.3027521073818207, 0.23856335878372192, -0.5752267241477966, 0.2966500520706177, -0.009304272010922432, 0.41082942485809326, 0.7118567228317261, -0.1305374652147293, 0.10162515938282013, -0.23243659734725952, 0.5565239787101746, 0.3034074902534485, 0.004685820080339909, -0.3554176688194275, -0.5975364446640015, -0.6226031184196472, -0.44286274909973145, 0.46737056970596313, 0.506351113319397, -0.930444598197937, -0.10606520622968674, -0.1815311461687088, -0.2677992880344391, -0.4890441298484802, 0.28335466980934143, 0.5832390189170837, 0.24554498493671417, 0.30929458141326904, 0.1359199583530426, -0.3428947329521179, -0.8417174816131592, -0.43119776248931885, -0.023622648790478706, 0.32605817914009094, 0.16244573891162872, 0.38585248589515686, -0.2833396792411804, 0.45549777150154114, -0.3826000392436981, 0.19540350139141083, -0.22209979593753815, -0.09867024421691895, 0.15391767024993896, 0.5135147571563721, 0.3825344145298004, -0.5832351446151733, -0.59247887134552, 0.3475798964500427, -0.7024420499801636, 0.004578959662467241, 0.11366716027259827, -0.676522433757782, 0.5187937021255493, 0.551232099533081, -0.585159182548523, 0.16790638864040375, 0.7899932265281677, -0.16925722360610962, 0.5970118045806885, -0.42659664154052734, 0.4118436574935913, -1.0048046112060547, -0.36184677481651306, -0.23388949036598206, -0.3203381896018982, -0.18737685680389404, 0.3413536250591278, 0.46761569380760193, 0.014973971992731094, -0.5914979577064514, 0.8505797386169434, -0.59474778175354, 0.15063908696174622, -0.076783686876297, 0.42030206322669983, 0.2060333490371704, 0.37535393238067627, 0.14065074920654297, 0.8423347473144531, 0.666530191898346, -0.6808122992515564, 0.2663711905479431, -0.06822129338979721, -0.1728561520576477, 0.8908315300941467, -0.46222659945487976, 0.4445980191230774, -0.00005335029709385708, 0.2064821422100067, -0.7672287225723267, -0.3307502269744873, -0.05452588573098183, -0.2642563283443451, 0.3060111701488495, -0.16095498204231262, -0.8376553654670715, -0.17358984053134918, 0.019709531217813492, 0.6000447273254395, 0.10829712450504303, -0.867989718914032, 0.7879244685173035, 0.22545765340328217, 0.11653114855289459, -0.79350346326828, -0.6613684296607971, -0.2688134014606476, 0.13434189558029175, -0.7228482365608215, -0.07064273208379745, -0.274716317653656, -0.40334123373031616, -0.16233421862125397, -0.26130107045173645, -0.21675647795200348, -0.21438592672348022, -0.2684671878814697, 0.2844919264316559, -0.36382177472114563, 0.5375970602035522, 0.4212694764137268, -0.028485989198088646, -0.11844270676374435, -0.5441938042640686, 0.5068346261978149, -0.3760763704776764, -0.8015313744544983, -0.14232368767261505, 0.3113575279712677, 0.6408268213272095, -0.4722602367401123, 1.060428500175476, 0.6039820313453674, -0.2860918343067169, -0.18997107446193695, -0.7005869746208191, 0.0022877866867929697, -0.434896320104599, 0.10215426981449127, -0.8061932921409607, -0.8651946187019348, 0.6036629676818848, -0.1389639526605606, 0.1658278852701187, 0.5108757615089417, 0.6018838286399841, 0.02069530077278614, 1.3604817390441895, 0.5631162524223328, 0.2814766466617584, 0.10371298342943192, -0.0352645069360733, 0.12162841111421585, -0.668677568435669, -0.28103306889533997, -0.4337923228740692, -0.16094987094402313, -0.7120555639266968, -0.5447133183479309, 0.38894379138946533, 0.38971978425979614, -0.43750303983688354, 0.08387798070907593, -0.2585807144641876, 1.120330572128296, 0.5175334811210632, 0.10688690841197968, 0.39786434173583984, 0.016026554629206657, -0.7004539370536804, 0.12477795034646988, -0.7989474534988403, -0.7035550475120544, 1.0657349824905396, -0.06315014511346817, 0.7770405411720276, 0.4538170099258423, 0.5593695044517517, 0.010481893084943295, 0.28850987553596497, -0.4513412117958069, 0.41196179389953613, -0.30823829770088196, -0.7967498302459717, -0.12938722968101501, -0.6570569276809692, -0.843858003616333, 0.36585307121276855, 0.03972689434885979, -0.7641593813896179, -0.1418159157037735, 0.41528549790382385, 0.2274406999349594, 0.5501707792282104, -0.9378802180290222, 0.954743504524231, -0.5030823945999146, -0.5792098641395569, -0.3141249418258667, -0.4811021685600281, 0.6396048665046692, -0.02066127397119999, 0.4434099495410919, -0.40412673354148865, -0.022234831005334854, 0.1819467395544052, -0.5113272666931152, 0.5037006735801697, 0.11654824763536453, -0.2718382477760315, 0.443471223115921, 0.17893517017364502, 0.6013779640197754, 0.3541969656944275, -0.20653991401195526, 0.4650064706802368, 0.17846642434597015, -0.8674907088279724, -0.7077144384384155, 0.989245593547821, -0.7721230983734131, -0.5479599833488464, -0.24431325495243073, -0.9493065476417542, -0.47186678647994995, 0.17737005650997162, 0.10877944529056549, 0.4778186082839966, 0.11402244865894318, 0.16359980404376984, 0.8545475006103516, -0.11871760338544846, 0.26789987087249756, 0.3725791871547699, -0.4632013142108917, -0.6843857765197754, 0.8061882257461548, 0.04810771346092224, 0.6863852739334106, 0.5812894105911255, 0.17131683230400085, -0.5192705392837524, 0.03717834874987602, -0.8697939515113831, 0.5035659074783325, -0.9801760315895081, -0.2237771898508072, -0.4401458501815796, -0.04345197230577469, -0.3057800531387329, -0.24022553861141205, -0.6905674338340759, -0.5571621656417847, 0.2275685966014862, 0.12534624338150024, 0.3392676115036011, 0.6052650213241577, 0.1716070920228958, 0.13602761924266815, -0.918075442314148, 0.34846246242523193, 0.1687135100364685, 0.5404797792434692, -0.01841956190764904, -0.363587886095047, -0.36869195103645325, 0.497733473777771, -0.4489282965660095, -0.6670438051223755, -0.020236656069755554, 0.1408475935459137, 0.7741352915763855, 0.21094369888305664, 0.07702545821666718, 0.6646053194999695, -0.5594605207443237, 0.5903536081314087, 0.24224939942359924, -1.181822419166565, 0.4646407663822174, -0.26310744881629944, 0.64723140001297, 0.3479686677455902, 0.38891127705574036, -0.4482472240924835, -0.5812131762504578, -0.6217030882835388, -0.351872980594635, 0.5242390036582947, 0.021671941503882408, -0.0010408121161162853, -0.5042370557785034, 0.19652019441127777, 0.19208508729934692, 0.21502678096294403, -0.6068959832191467, -0.06488240510225296, -0.15037032961845398, -0.4783129096031189, -0.2431718111038208, -0.011135529726743698, -0.17389774322509766, -0.3346010744571686, 0.664510190486908, -0.35214346647262573, 0.03747124224901199, -0.01055719144642353, -0.3394564986228943, -0.10806118696928024, 0.340060830116272, 1.1715506315231323, 1.12490713596344, 0.06969550251960754, 0.5485668778419495, 0.3133533298969269, -0.5286492705345154, 0.33289721608161926, -0.1737530529499054, 0.12093164026737213, -0.014536305330693722, 0.4135313034057617, 0.7403330206871033, 0.3205430507659912, -0.8759692907333374, 0.0805724635720253, -0.06441300362348557, -0.25510427355766296, -0.08167819678783417, 0.07285965979099274, 0.25709986686706543, 0.23088407516479492, -0.1883554309606552, 0.13249361515045166, -0.4758462905883789, -0.639397919178009, 0.01243699062615633, 0.37116870284080505, -0.09801216423511505, -0.1669379025697708, 0.6932900547981262, -0.10353200882673264, -0.3599657714366913, 0.8203747272491455, -0.21365758776664734, -0.4648028612136841, 0.5709213018417358, 0.6625534892082214, 0.6794131398200989, -0.21969644725322723, 0.08350656926631927, 0.40533944964408875, 0.6739578247070312, -0.39346957206726074, 0.5404935479164124, 0.10313516855239868, -0.8277199268341064, -0.5930429100990295, -0.5184161067008972, -0.8083792924880981, -0.4132757782936096, -0.5547752976417542, 0.4251214265823364, -0.3781490623950958, -0.0917639210820198, -0.1851114183664322, -0.09893818944692612, -0.6165898442268372, 0.12980087101459503, 0.1275544911623001, 0.8457763195037842, -0.5814170837402344, 1.2212753295898438, 0.8054447770118713, -0.20648601651191711, -0.961017906665802, -0.24392035603523254, -0.041927170008420944, -0.8693267703056335, 0.3315444588661194, 0.15450361371040344, -0.4990823268890381, -0.0003412757650949061, -0.5110032558441162, -1.0084186792373657, 0.8178688287734985, 1.0395585298538208, -0.859820544719696, 0.3261222839355469, 0.18942591547966003, 0.37687304615974426, -0.5729120969772339, 0.3125705122947693, 0.4450250566005707, 0.5154077410697937, 0.3293474018573761, -1.0302746295928955, -0.3851518929004669, 0.0009211889700964093, -0.19003550708293915, 0.6424663066864014, -0.7653173804283142, 0.8108947277069092, -0.5398195385932922, 0.26535072922706604, -0.20345774292945862, 0.5207971930503845, 0.9125375151634216, 0.4901715815067291, 0.27637216448783875, 0.8102227449417114, 1.2174357175827026, -0.255623459815979, 1.2697837352752686, -0.494139701128006, 0.24302612245082855, 1.3657541275024414, -0.3244183361530304, 1.0054856538772583, 0.31862616539001465, 0.005372160114347935, 0.7673813104629517, 0.5520597100257874, 0.40420931577682495, 0.20770128071308136, -0.09316086024045944, -0.0867612436413765, -0.5012461543083191, -0.016022514551877975, -0.3457680940628052, 0.3942873477935791, 0.1998341828584671, -0.2205604463815689, 0.04029844328761101, 0.07475816458463669, 0.1298784464597702, 0.24862053990364075, -0.551419198513031, 0.40598049759864807, 0.06822072714567184, -0.8671244382858276, 0.8629696369171143, -0.00482237758114934, 0.174327090382576, -0.5822045207023621, -0.07561737298965454, -0.29334577918052673, 0.4363986849784851, 0.07362750917673111, -0.6684014797210693, 0.29630061984062195, 0.033816125243902206, -0.4435674846172333, 0.01439650822430849, 0.24409154057502747, -0.8174529671669006, -0.9652643799781799, 0.13308212161064148, 0.6188820600509644, 0.26865559816360474, 0.09916669875383377, -0.6620247960090637, 0.36059075593948364, -0.12124720960855484, 0.0813324972987175, 0.14529569447040558, 0.840802788734436, -0.3582371473312378, 0.8203617334365845, 0.5942463278770447, 0.0029184073209762573, 0.3735339939594269, 0.43592122197151184, 0.47297513484954834, -0.595787763595581, -0.27736741304397583, -0.9333376288414001, 0.6223485469818115, -0.04592112824320793, -0.36630070209503174, 0.8488223552703857, 0.5443839430809021, 1.2858233451843262, -0.05333174020051956, 0.2966919243335724, 0.37404653429985046, 0.3315451145172119, -0.853624701499939, 0.28936222195625305, -0.5482637882232666, 0.400888055562973, -0.04778332635760307, -1.1914029121398926, -0.323007732629776, 0.5790035724639893, -0.3808612525463104, 0.23022638261318207, 1.1793586015701294, 0.5995969176292419, -0.3199174106121063, 0.09353162348270416, 0.4749455749988556, 0.02702893130481243, 0.30008524656295776, 0.4474862515926361, 0.6890210509300232, -0.26789411902427673, 0.4404406249523163, -0.2707420289516449, -0.002625485882163048, 0.2170935422182083, -1.010408878326416, -1.0427392721176147, -0.15903927385807037, -0.41607895493507385, -0.24318112432956696, 0.05032799392938614, 1.1414239406585693, 0.7493166327476501, -0.9722400903701782, -0.46113479137420654, -0.16716565191745758, 0.6401814818382263, -0.4617851972579956, -0.1862253099679947, 0.23192128539085388, -0.7053397297859192, -0.7436723113059998, 0.14973904192447662, 0.4256979525089264, -0.30870920419692993, -0.15664918720722198, -0.36783069372177124, -0.49089205265045166, 0.41473495960235596, 0.649335503578186, -0.026077840477228165, -1.0985450744628906, -0.2854872941970825, 0.20904025435447693, -0.15391409397125244, 0.04016074165701866, 0.7888941168785095, -0.2701270878314972, 0.827392578125, 0.15330496430397034, 0.6577183604240417, 0.3539726734161377, -0.13923484086990356, 0.6118251085281372, -0.7251284718513489, 0.2426244020462036, 0.02572096325457096, 0.5589672923088074, 0.40210461616516113, -0.13937993347644806, 0.5893964171409607, 0.23840820789337158, -0.7315630912780762, -0.8753012418746948, 0.3543677031993866, -0.8944174647331238, -0.24823430180549622, 1.0192152261734009, -0.29123491048812866, -0.06843442469835281, 0.16714926064014435, -0.22742584347724915, 0.09260052442550659, -0.1116076409816742, 0.5168448090553284, 1.0876847505569458, -0.1349145621061325, -0.5536190271377563, -0.556361734867096, 0.07567337900400162, 0.3317701518535614, -0.7066456079483032, 0.08085713535547256, 0.34142184257507324, 0.10369299352169037, 0.02994309924542904, 0.3631035387516022, -0.021906228736042976, 0.4283497631549835, 0.19505272805690765, -0.03423752263188362, -0.01293278206139803, -0.6619551777839661, 0.05758782848715782, 0.05549859628081322, 0.21562083065509796, 0.10391129553318024 ]
http://arxiv.org/abs/2406.02267v1
http://arxiv.org/pdf/2406.02267v1
Prompting Large Language Models with Human Error Markings for Self-Correcting Machine Translation
2024-06-04T12:43:47
2024-06-04T12:43:47
Nathaniel Berger, Stefan Riezler, Miriam Exel, Matthias Huck
cs.CL
cs.CL
While large language models (LLMs) pre-trained on massive amounts of unpaired language data have reached the state-of-the-art in machine translation (MT) of general domain texts, post-editing (PE) is still required to correct errors and to enhance term translation quality in specialized domains. In this paper we present a pilot study of enhancing translation memories (TM) produced by PE (source segments, machine translations, and reference translations, henceforth called PE-TM) for the needs of correct and consistent term translation in technical domains. We investigate a light-weight two-step scenario where, at inference time, a human translator marks errors in the first translation step, and in a second step a few similar examples are extracted from the PE-TM to prompt an LLM. Our experiment shows that the additional effort of augmenting translations with human error markings guides the LLM to focus on a correction of the marked errors, yielding consistent improvements over automatic PE (APE) and MT from scratch.
[ 0.024581629782915115, -0.6047973036766052, 0.7526710033416748, 0.39884015917778015, -0.18030506372451782, 0.27144715189933777, -0.3298388719558716, -0.1735839694738388, 0.1385335624217987, 0.7442508339881897, -0.5000756978988647, -0.43658554553985596, -0.49126705527305603, 0.3491726815700531, -0.26455190777778625, 0.7520822286605835, -0.5365569591522217, 0.0472785085439682, -0.044024623930454254, -0.1559382677078247, -0.9082286357879639, -0.9606990218162537, -0.7136752605438232, -0.29341185092926025, 0.5693911910057068, 0.3803139626979828, 0.5566766858100891, 0.6638433337211609, 0.1777309626340866, 0.27866658568382263, 0.1733136773109436, 0.7253915071487427, -0.06562819331884384, 0.011528736911714077, -0.39044952392578125, -0.28551217913627625, -1.0794800519943237, -0.06828461587429047, 0.6174446940422058, 0.6714475750923157, 0.26447126269340515, -0.10811162739992142, 0.2828276753425598, 0.6084819436073303, -0.33520030975341797, 0.008210058324038982, -0.42529213428497314, -0.11160195618867874, -0.17121388018131256, -0.4906345009803772, -0.6079049706459045, 0.018771367147564888, -0.11854539066553116, -0.6822428107261658, 0.287945032119751, 0.06885001063346863, 0.9001593589782715, 0.4768325388431549, -0.20903755724430084, -0.06969277560710907, -0.8017396330833435, 0.7531700730323792, -0.6450169682502747, 0.3337727189064026, 0.4264843463897705, -0.28268003463745117, -0.3062409460544586, -0.47766193747520447, -0.40198132395744324, 0.05340021103620529, -0.1226855143904686, 0.02431071363389492, -0.03075936809182167, 0.09804638475179672, 0.32366707921028137, -0.12515047192573547, -0.29147589206695557, 0.2709236741065979, -0.32118740677833557, -0.2872684895992279, 0.46812567114830017, 0.12544120848178864, 0.38853344321250916, 0.09279166907072067, -0.10896793007850647, -0.13433262705802917, -1.0966962575912476, -0.3575098514556885, 0.0777277797460556, 0.15840062499046326, 0.15024462342262268, 0.5614994168281555, -0.08794235438108444, 0.8958404064178467, 0.31994393467903137, 0.23895184695720673, 0.22028347849845886, -0.3541416525840759, -0.17463329434394836, 0.13251198828220367, 0.749046266078949, 0.5944696068763733, 0.46482017636299133, -0.2831973433494568, -0.5035731792449951, -0.1753596067428589, 0.40467777848243713, -0.5551237463951111, -0.3988744616508484, 0.019201798364520073, -0.06839842349290848, 0.015608762390911579, -0.017409710213541985, -0.4209650158882141, -0.3247390687465668, -0.40953749418258667, 0.8292426466941833, -0.400465190410614, -0.004242683760821819, 0.3881543278694153, 0.05341338738799095, -0.12917593121528625, 0.6218830347061157, -0.8235030770301819, -0.13082699477672577, 0.4378761351108551, 0.7951903343200684, -0.10413885861635208, -0.5453632473945618, -0.5661770701408386, 0.4622359871864319, -0.6582682132720947, 1.0291342735290527, -0.36012396216392517, -0.6981971263885498, -0.13188564777374268, -0.025794876739382744, -0.15248678624629974, -0.6865225434303284, 0.49330759048461914, -0.5584885478019714, 0.2239677757024765, -0.3765468895435333, -0.5239502191543579, -0.11115111410617828, 0.15535230934619904, -0.3647797703742981, 1.1311429738998413, 0.2010619193315506, -0.3331756591796875, 0.3013310432434082, -0.8301204442977905, -0.485205739736557, -0.09886355698108673, -0.010642594657838345, -0.3102227747440338, 0.27102696895599365, 0.3519009053707123, 0.43154120445251465, 0.024691332131624222, 0.1286480724811554, 0.10377483814954758, -0.2089434266090393, 0.3251509964466095, -0.17767386138439178, 0.30020907521247864, -0.06789258122444153, -0.26627638936042786, 0.269381046295166, -0.5500959753990173, -0.058488961309194565, -0.017189905047416687, -0.44218936562538147, -0.5016049146652222, -0.008883780799806118, -0.41739654541015625, 0.40130892395973206, 0.33640056848526, -0.37437736988067627, 0.42715659737586975, -0.1361435204744339, 0.43332627415657043, 0.8978783488273621, 0.09955092519521713, 0.4080211818218231, -0.25291144847869873, 0.3789476454257965, 0.22087424993515015, -0.09086007624864578, -0.5586571097373962, -0.42395877838134766, -1.0273241996765137, 0.1552949994802475, 0.5742074251174927, 0.5280238389968872, -0.8583502769470215, 0.49570566415786743, -0.33109837770462036, -0.16407093405723572, -0.654695987701416, 0.28618088364601135, 0.4366135001182556, 0.7147380709648132, 0.6943283081054688, -0.22497624158859253, -0.6233584880828857, -0.6601499915122986, -0.43214017152786255, -0.14479215443134308, -0.15367043018341064, 0.17142656445503235, 0.13627342879772186, -0.489033579826355, 0.8058374524116516, -0.20347261428833008, -0.3878757059574127, 0.013523831963539124, 0.3984992504119873, -0.07763590663671494, 0.6587954759597778, 0.24252155423164368, -0.3394924998283386, -0.6022431254386902, 0.0062006618827581406, -0.6330475211143494, -0.6053918600082397, -0.4803720712661743, -0.21296897530555725, 0.40349292755126953, 0.5631304383277893, -0.5412613153457642, 0.18205444514751434, 0.5015153884887695, -0.4368128478527069, 0.5756576061248779, -0.8371120691299438, 0.6991662383079529, -0.7253672480583191, -0.01061872486025095, -0.17065271735191345, -0.30682268738746643, -0.7349370718002319, -0.338286817073822, 0.43720725178718567, 0.23447787761688232, -0.34337854385375977, 0.6799311637878418, -0.6130279302597046, -0.010349458083510399, -0.5631619095802307, 0.18194299936294556, 0.27532145380973816, 0.22830146551132202, 0.1680588573217392, 1.1554023027420044, 0.15471166372299194, -0.7035086154937744, -0.0835985317826271, 0.22255244851112366, 0.04921203851699829, 0.5113013982772827, -0.555961549282074, 0.5625293850898743, 0.007310184650123119, -0.041665732860565186, -0.7806529402732849, -0.3264141380786896, 0.2677675783634186, -0.3670399785041809, 0.48510921001434326, 0.1015445813536644, -0.7655144929885864, -0.2801051735877991, 0.022389909252524376, 0.3219348192214966, 0.42235758900642395, -0.5289677977561951, 0.41843685507774353, 0.08679961413145065, -0.16071632504463196, -0.24958288669586182, -0.7749741077423096, 0.51771479845047, 0.11857887357473373, -0.6502482295036316, 0.37141403555870056, -0.030603863298892975, 0.02973577380180359, -0.013067707419395447, 0.004275822080671787, -0.13352148234844208, 0.20767031610012054, 0.0751836746931076, 0.4512997269630432, -0.17349281907081604, 0.23882004618644714, 0.17969505488872528, -0.2837945818901062, -0.0055192033760249615, -0.4761125147342682, 0.43697524070739746, 0.20367535948753357, -0.22848711907863617, -0.6335446238517761, 0.26068371534347534, 0.4148431718349457, -0.18641048669815063, 0.5441738963127136, 0.08805794268846512, -0.44589558243751526, -0.03603887930512428, -0.7073506116867065, -0.243662491440773, -0.473971962928772, 0.2434074878692627, -0.5001559853553772, -0.8234664797782898, 0.17199237644672394, -0.25774088501930237, 0.00003664525138447061, 0.7444878816604614, 0.22716252505779266, -0.3732950985431671, 1.0891247987747192, 0.4271019399166107, 0.1399606466293335, 0.3146754205226898, 0.049957968294620514, 0.053995463997125626, -0.9608819484710693, 0.05035215988755226, -0.5295275449752808, -0.3406349718570709, -0.10884180665016174, -0.8302103877067566, 0.22427153587341309, 0.2535431683063507, -0.07231343537569046, 0.42013049125671387, -0.34459471702575684, 0.5736802220344543, 0.44926023483276367, 0.16525620222091675, 0.46028685569763184, 0.1957559883594513, -0.23207440972328186, -0.4353662431240082, -0.6832717061042786, -0.7753475308418274, 1.0668083429336548, 0.08365365862846375, 0.5443254113197327, -0.5310952067375183, 0.6432254910469055, 0.32420071959495544, 0.5575551986694336, -0.4226871132850647, 0.4116100072860718, -0.3365813195705414, -0.4758211672306061, -0.11349628120660782, -0.32725656032562256, -0.7798260450363159, -0.07718586176633835, -0.07695019245147705, -0.421315997838974, 0.10807161778211594, 0.7799763083457947, -0.4773595333099365, 0.40179187059402466, -0.6693294048309326, 1.136775016784668, -0.5468847155570984, -0.16492310166358948, -0.4126288890838623, -0.40759631991386414, -0.025509092956781387, -0.4646284580230713, 0.07989152520895004, 0.29598861932754517, -0.3346779942512512, 0.7562670707702637, -0.3009074032306671, 0.76982182264328, -0.2132805585861206, -0.130685955286026, 0.3027869760990143, 0.26938244700431824, 0.9250344634056091, -0.69218909740448, -0.3225463032722473, 0.19550824165344238, -0.5257827043533325, -0.3099476099014282, -0.5101993680000305, 0.39321982860565186, -0.7925978302955627, -0.8121573328971863, -0.2984153628349304, -0.4760172963142395, -0.4117754399776459, 0.2521992325782776, 0.18324218690395355, 0.25363078713417053, 0.04318530112504959, 0.07250982522964478, 0.8055393695831299, -0.38282978534698486, 0.27114152908325195, 0.6213041543960571, -0.11994806677103043, -0.33306264877319336, 0.8737120628356934, 0.3069051504135132, 0.4896167516708374, 0.2103138267993927, 0.039807237684726715, -0.2732565701007843, -0.7534500360488892, -0.8478589057922363, 0.5026518106460571, -0.5513685941696167, -0.22448718547821045, -0.8756266236305237, -0.02411896362900734, -0.18398429453372955, -0.3154841363430023, -0.5329508781433105, -0.3502485454082489, -0.46478745341300964, -0.11164944618940353, 0.2627750039100647, 0.7595824003219604, -0.07473625987768173, 0.7520878314971924, -1.2848684787750244, 0.18123242259025574, 0.03289451077580452, 0.18309444189071655, -0.27089667320251465, -0.8696339726448059, -0.5882939100265503, 0.2701139450073242, -0.36397889256477356, -0.6842367053031921, 0.39986053109169006, 0.26682859659194946, 0.2459564208984375, 0.017285024747252464, -0.2354227602481842, 0.9955868124961853, -0.7906400561332703, 0.8245250582695007, 0.1881738007068634, -1.1602429151535034, 0.7301130294799805, -0.3672332763671875, 0.3286101520061493, 0.344094842672348, 0.06337687373161316, -0.9245575070381165, -0.4174022078514099, -0.5412786602973938, -0.5821169018745422, 0.6920567154884338, -0.1869683861732483, 0.17789073288440704, -0.0971929132938385, 0.7729690074920654, 0.049010902643203735, 0.14885644614696503, -0.44116127490997314, -0.13384254276752472, -0.07959485799074173, -0.12288423627614975, -0.12409629672765732, -0.4155537784099579, 0.19612029194831848, 0.1551043540239334, 0.91299968957901, -0.0443236380815506, 0.1382487714290619, 0.533767819404602, -0.4262412488460541, -0.5277172327041626, 0.30340099334716797, 0.791404664516449, 0.8437384963035583, 0.050164561718702316, 0.14849576354026794, 0.41615891456604004, -0.13109003007411957, 0.3260199725627899, -0.33120402693748474, -0.3948651850223541, 0.07282155752182007, 0.09322234243154526, 0.5764281153678894, 0.33654800057411194, -0.417394757270813, 0.1882861703634262, 0.16836290061473846, -0.004312488716095686, 0.11663946509361267, 0.09446831792593002, 0.09974782168865204, 0.07025161385536194, 0.38334372639656067, 0.23528683185577393, -0.1335989534854889, -0.3074447810649872, 0.17608137428760529, 0.08228836208581924, -0.25533735752105713, -0.5669764280319214, 0.7885550856590271, 0.30969589948654175, -0.5172936320304871, 0.4826684892177582, -0.292489618062973, -0.7549737691879272, 0.09586438536643982, 0.49650251865386963, 0.9353727698326111, -0.6330605149269104, 0.013820896856486797, 0.3856232166290283, 0.4818139970302582, -0.48586100339889526, 0.158754363656044, 0.2645759582519531, -0.6077663898468018, -0.8646662831306458, -0.36461341381073, -0.47366783022880554, -0.14636240899562836, -0.22811301052570343, 0.3188174366950989, -0.5305777192115784, -0.1625547856092453, -0.41138869524002075, -0.4168931543827057, -0.512171745300293, 0.3891243636608124, 0.07413680106401443, 0.7149817943572998, -0.6241650581359863, 1.2566049098968506, 0.824497640132904, -0.0704740658402443, -0.847902774810791, -0.07724131643772125, -0.19324053823947906, -0.6702162623405457, 0.8524799346923828, -0.003987761214375496, -0.1715039163827896, 0.1553759127855301, -0.1425027996301651, -0.5781688690185547, 0.78700852394104, 0.3758302628993988, -0.8742612600326538, -0.01645343191921711, 0.37665054202079773, 0.5689144730567932, -0.23869459331035614, -0.320730596780777, 0.5055534243583679, 0.5364413261413574, -0.23242151737213135, -0.8685240745544434, 0.1657564640045166, 0.11904585361480713, -0.08209336549043655, 0.3784518241882324, -0.4741376042366028, 0.7018156051635742, -0.1677381992340088, -0.16548718512058258, 0.03700090944766998, 0.7728562355041504, 0.13021305203437805, 0.04596477001905441, 0.6043419241905212, 0.46120166778564453, 0.736767590045929, -0.14860405027866364, 0.8650254011154175, -0.29863181710243225, 0.13598299026489258, 1.3775932788848877, -0.21343418955802917, 0.7842584848403931, 0.5833759903907776, -0.06811563670635223, 0.3767009973526001, 0.7600107192993164, 0.01122529711574316, 0.1984792947769165, -0.1380295306444168, -0.16918015480041504, -0.5297405123710632, 0.032614778727293015, -0.24610407650470734, 0.012332791462540627, 0.4486699402332306, -0.4400840699672699, 0.0473385825753212, -0.058566685765981674, 0.21995502710342407, 0.15861131250858307, -0.3733940124511719, 0.6017130017280579, 0.1683928668498993, -0.909964382648468, 0.323541522026062, 0.18228551745414734, 0.5326856374740601, -0.34571442008018494, -0.08711458742618561, -0.27637648582458496, 0.2863195240497589, -0.12254206091165543, -0.8465633988380432, 0.451642781496048, 0.2771145701408386, -0.2973193824291229, -0.7810331583023071, 0.7070271968841553, -0.5657669901847839, -0.41625267267227173, 0.39107128977775574, 0.4153282642364502, 0.21925437450408936, -0.4553908705711365, -0.49729976058006287, 0.0755547434091568, -0.003439568681642413, -0.14342252910137177, 0.15793439745903015, 0.5197919607162476, -0.07438696920871735, 0.37523525953292847, 0.43568694591522217, 0.2586389183998108, 0.32504430413246155, 0.04402441531419754, 0.4808545708656311, -0.836209774017334, -0.3763447403907776, -0.9238203167915344, 0.7620764970779419, -0.024731457233428955, -0.12999491393566132, 0.828005313873291, 0.34423819184303284, 0.9143126010894775, -0.2592254877090454, 0.7383407950401306, 0.27869489789009094, 0.4326949715614319, -0.5692978501319885, 0.4322566092014313, -0.4735944867134094, 0.27231118083000183, -0.05447590723633766, -0.8351771831512451, -0.4862818121910095, 0.4194946885108948, -0.32212644815444946, -0.11917656660079956, 0.7142008543014526, 0.8938863277435303, 0.0872054323554039, -0.3364018499851227, 0.4195096790790558, 0.4121762216091156, 0.2596922218799591, 0.5006516575813293, 0.7313761115074158, -0.6446079611778259, 0.5422957539558411, -0.07895774394273758, -0.11469217389822006, -0.2635940909385681, -0.7394798994064331, -0.7974818348884583, -0.2927413582801819, -0.7529484033584595, -0.5673272013664246, 0.24237297475337982, 1.1792103052139282, 0.41851598024368286, -0.9219443202018738, -0.171580508351326, 0.055057816207408905, -0.03504380211234093, -0.15662086009979248, -0.02355201542377472, 0.2970275282859802, -0.6913028955459595, -0.7807958126068115, 0.5366507768630981, 0.5420899987220764, 0.36157357692718506, -0.0729675218462944, -0.42605331540107727, -0.03489372879266739, -0.02118595875799656, 0.5557025671005249, 0.17208516597747803, -0.6797760128974915, -0.6605440378189087, 0.136808380484581, -0.2995118796825409, 0.4166525900363922, 0.9811886548995972, -0.5300647020339966, 0.6333352327346802, 0.4039531350135803, 0.741782546043396, 0.22453995048999786, -0.08223799616098404, 0.9541764259338379, -0.8050905466079712, -0.11501330882310867, -0.12109149992465973, 0.5425832867622375, 0.6518931984901428, -0.44035255908966064, 0.5499951243400574, 0.4790577292442322, -0.6674314737319946, -0.5586697459220886, -0.1627214252948761, -0.6827472448348999, -0.08039183914661407, 0.992231547832489, -0.49105843901634216, -0.23757897317409515, 0.0016029406106099486, -0.500921905040741, 0.4115390479564667, -0.16440659761428833, 0.8882966637611389, 0.9525961875915527, 0.022937996312975883, -0.05443227291107178, -0.484033465385437, 0.5162737965583801, 0.5850251317024231, -0.8745296001434326, 0.18601234257221222, 0.5906932950019836, 0.26635676622390747, 0.11000201106071472, 0.4760138988494873, -0.13321428000926971, 0.5867847800254822, -0.27470311522483826, 0.22171476483345032, -0.10045413672924042, -0.428691029548645, -0.46524617075920105, -0.24828098714351654, 0.36274653673171997, -0.13947181403636932 ]
http://arxiv.org/abs/2406.02266v1
http://arxiv.org/pdf/2406.02266v1
Enhancing Retrieval-Augmented LMs with a Two-stage Consistency Learning Compressor
2024-06-04T12:43:23
2024-06-04T12:43:23
Chuankai Xu, Dongming Zhao, Bo Wang, Hanwen Xing
cs.CL
cs.CL
Despite the prevalence of retrieval-augmented language models (RALMs), the seamless integration of these models with retrieval mechanisms to enhance performance in document-based tasks remains challenging. While some post-retrieval processing Retrieval-Augmented Generation (RAG) methods have achieved success, most still lack the ability to distinguish pertinent from extraneous information, leading to potential inconsistencies and reduced precision in the generated output, which subsequently affects the truthfulness of the language model's responses. To address these limitations, this work proposes a novel two-stage consistency learning approach for retrieved information compression in retrieval-augmented language models to enhance performance. By incorporating consistency learning, the aim is to generate summaries that maintain coherence and alignment with the intended semantic representations of a teacher model while improving faithfulness to the original retrieved documents. The proposed method is empirically validated across multiple datasets, demonstrating notable enhancements in precision and efficiency for question-answering tasks. It outperforms existing baselines and showcases the synergistic effects of combining contrastive and consistency learning paradigms within the retrieval-augmented generation framework.
[ -0.1932588815689087, -0.6297926902770996, 0.33132457733154297, -0.1395280510187149, -0.12796060740947723, 0.3735010325908661, -0.25760409235954285, -0.2714686393737793, 0.18742936849594116, 0.3865160048007965, -0.24102270603179932, -0.22253412008285522, -0.6287945508956909, 0.0752369835972786, -0.45604580640792847, 0.8214882612228394, -0.09286978095769882, -0.01575581170618534, -0.38310492038726807, -0.1312294900417328, -0.7893442511558533, -0.16751039028167725, -0.39400714635849, -0.5430698990821838, 0.2666305601596832, 0.6057325601577759, 0.7056941390037537, 0.622051477432251, 0.34979331493377686, 0.1587645262479782, 0.06433521211147308, 0.8949953317642212, -0.4411894679069519, 0.664668619632721, -0.2991279363632202, -0.29983529448509216, -0.22103339433670044, -0.19317081570625305, 0.9325892329216003, 0.5911657810211182, -0.39884814620018005, 0.1034783273935318, 0.5953408479690552, 0.6320610642433167, -0.9114245176315308, 0.09688138961791992, -0.8322499394416809, -0.21590395271778107, 0.1852763444185257, -0.25314760208129883, -0.6165371537208557, -0.40007466077804565, -0.28978103399276733, -0.7805525064468384, 0.215725377202034, -0.15567155182361603, 1.1679105758666992, 0.23097586631774902, -0.1562114953994751, -0.2774425148963928, -0.5430995225906372, 0.732079267501831, -0.4569952189922333, 0.7250815033912659, 0.6728668808937073, 0.15501630306243896, -0.07628753781318665, -0.8331890106201172, -0.5750001668930054, 0.13731177151203156, -0.13687586784362793, 0.237641379237175, 0.28068453073501587, -0.18762506544589996, 0.02683880552649498, 0.22572684288024902, -0.5920606851577759, -0.14582735300064087, -0.14465679228305817, -0.21019098162651062, 0.32663944363594055, -0.10801859200000763, 0.05869752913713455, -0.09294524788856506, -0.3854534327983856, -0.2800082564353943, -0.5607051849365234, -0.053484514355659485, 0.22376780211925507, 0.5571315884590149, 0.16488879919052124, 0.6097415685653687, -0.18131303787231445, 0.6365988850593567, 0.24352231621742249, -0.3527969717979431, 0.18774805963039398, -0.36829403042793274, -0.03467182442545891, -0.2613614797592163, 0.4280575215816498, 0.1720806062221527, -0.15378519892692566, -0.3034398555755615, -0.4885820746421814, 0.000996136455796659, 0.3304539620876312, -0.8025317192077637, -0.20646756887435913, 0.231497123837471, -0.26326602697372437, -0.19965356588363647, 0.23896639049053192, -0.4562782049179077, -0.17216068506240845, -0.4783267378807068, 0.881279706954956, -0.5073468685150146, -0.28794151544570923, 0.010225699283182621, 0.0633673295378685, 0.041024353355169296, 0.3922979235649109, -0.8563157916069031, 0.5973296165466309, 0.8913427591323853, 0.8093464970588684, -0.1451932191848755, -0.29903629422187805, -0.9416017532348633, 0.2023775428533554, -0.5980258584022522, 0.6362013816833496, -0.4656330943107605, -0.24266357719898224, 0.148361936211586, -0.33632999658584595, -0.038043029606342316, -0.8737355470657349, 0.5712427496910095, -0.8282769322395325, 0.32529518008232117, -0.35410386323928833, -0.7268810868263245, -0.023424869403243065, 0.47831183671951294, -0.4439648389816284, 1.7302486896514893, 0.23473218083381653, -0.5996215343475342, 0.19700290262699127, 0.017358243465423584, -0.2585274577140808, 0.051239386200904846, -0.33978062868118286, -0.5839058756828308, 0.09394745528697968, -0.10602791607379913, 0.27937451004981995, 0.01078624464571476, 0.3328731954097748, 0.20255443453788757, -0.6836207509040833, -0.06144724041223526, -0.10433989763259888, 0.3192709982395172, 0.1985424906015396, 0.08779823780059814, -0.2050873041152954, -0.7038017511367798, 0.2021765261888504, -0.03682683780789375, -0.6548161506652832, -0.262649267911911, -0.03558337688446045, -0.3221617341041565, 0.21288944780826569, 0.538171112537384, -0.42286407947540283, 0.14743152260780334, -0.3100430369377136, -0.3341549336910248, 0.40863847732543945, 0.11431152373552322, 0.45232221484184265, -0.5845338106155396, 0.2640022337436676, 0.02859601005911827, -0.0832911878824234, -0.4704843759536743, -0.0775575190782547, -0.7403308749198914, -0.07134190201759338, 0.40215420722961426, 0.5597580075263977, -1.0738213062286377, 0.3376120924949646, -0.43383485078811646, -0.1727820634841919, -0.5822983384132385, 0.48667359352111816, 0.701357364654541, 0.9633009433746338, 0.5882883667945862, -0.4471866190433502, -0.7315482497215271, -0.5617257356643677, -0.375418484210968, -0.2945161759853363, 0.0218441691249609, 0.20585402846336365, 0.3064941465854645, 0.026794955134391785, 0.8887515664100647, -0.3646775484085083, -0.12957414984703064, -0.03657904639840126, 0.22467681765556335, 0.03850239887833595, 0.6731681823730469, 0.017328204587101936, -0.9139338135719299, -0.7004819512367249, -0.20628206431865692, -0.6634234189987183, -0.012217058800160885, 0.09124958515167236, -0.2201876938343048, 0.33063122630119324, 0.3870674669742584, -0.2531047463417053, 0.2502303123474121, 0.3773943781852722, -0.12024789303541183, 0.6556922197341919, -0.3994733393192291, 0.3455890715122223, -1.1727205514907837, 0.0700593814253807, -0.3244834840297699, -0.4632010757923126, -0.6622252464294434, 0.12843850255012512, 0.44425103068351746, 0.061027202755212784, -0.18433628976345062, 0.4401402473449707, -0.4816804528236389, -0.19370107352733612, -0.45525509119033813, 0.3954524099826813, 0.44126439094543457, 0.27302804589271545, -0.012870612554252148, 0.9967221617698669, 0.27333980798721313, -0.6110360622406006, -0.08738020807504654, 0.43791627883911133, -0.16681449115276337, 0.5410401225090027, -0.5507040619850159, 0.3153989613056183, -0.3623048663139343, 0.10955682396888733, -1.1404122114181519, -0.34530121088027954, 0.006715533323585987, -0.5957220196723938, 0.7891969084739685, -0.1579371839761734, -0.7222369909286499, 0.15483883023262024, -0.34811654686927795, 0.18067072331905365, 0.7137538194656372, -0.5952393412590027, 0.7511288523674011, 0.039278559386730194, -0.1992112398147583, -0.9018222093582153, -0.6211335062980652, -0.09460693597793579, 0.3242110013961792, -0.4289652705192566, 0.35636475682258606, 0.00003880578515236266, -0.12123315036296844, -0.04448041319847107, -0.4367971122264862, -0.1419445276260376, 0.17614531517028809, -0.06463019549846649, 0.38012880086898804, 0.07692523300647736, 0.3496960401535034, 0.17758594453334808, 0.054615169763565063, -0.4460383951663971, -0.29192519187927246, 0.5790099501609802, 0.20195652544498444, -0.2444208413362503, -0.29858142137527466, 0.35767173767089844, 0.08410702645778656, -0.3825545310974121, 0.9987673163414001, 0.5817732810974121, -0.4545805752277374, -0.12827423214912415, -0.6448299884796143, -0.32859188318252563, -0.43208077549934387, 0.25035104155540466, -0.5355289578437805, -0.777140736579895, 0.4735593795776367, -0.05601690709590912, 0.2274460792541504, 0.3563983142375946, 0.2283044010400772, -0.12124183773994446, 0.7274160981178284, 0.45939764380455017, 0.38965174555778503, 0.48924869298934937, -0.1418289840221405, -0.09380465000867844, -0.966909646987915, -0.5798742771148682, -0.5682535171508789, 0.14704474806785583, -0.20435373485088348, -0.5284839868545532, 0.3664626479148865, 0.7774451375007629, -0.35159021615982056, 0.0978379026055336, -0.27881285548210144, 0.4804157614707947, 0.2963518798351288, 0.5103647112846375, 0.4146359860897064, 0.3093060255050659, -0.2229381501674652, -0.05742781236767769, -0.6435852646827698, -0.5933346748352051, 0.8886805772781372, 0.11561127007007599, 0.43782418966293335, 0.4451708197593689, 0.9516629576683044, 0.30082541704177856, 0.1252010464668274, -0.41623470187187195, 0.43824678659439087, -0.24887308478355408, -0.29196783900260925, -0.1382765769958496, -0.4015454947948456, -0.7812501192092896, 0.4370783567428589, -0.47926878929138184, -0.5267791152000427, 0.11221153289079666, 0.19581952691078186, -0.1172991394996643, 0.10324251651763916, -0.47091853618621826, 0.4446897804737091, 0.13244110345840454, -0.8276742696762085, -0.059858426451683044, -0.7549505829811096, 0.18388131260871887, -0.12305737286806107, 0.19236740469932556, 0.10878701508045197, -0.46005260944366455, 0.4594002366065979, -0.5107374787330627, 0.4626506268978119, -0.19834357500076294, -0.13204722106456757, 0.2619704604148865, 0.3879217207431793, 0.8863793611526489, -0.15718114376068115, -0.23515582084655762, -0.2192579060792923, -0.10285034775733948, -0.5752158761024475, -0.9130483269691467, 0.5241544842720032, -0.5656377673149109, -0.41726693511009216, -0.20501522719860077, -0.8030436635017395, -0.4050569236278534, 0.3126889169216156, -0.07235856354236603, 0.5466019511222839, 0.09520584344863892, 0.13463693857192993, 1.0190017223358154, 0.12535524368286133, 0.15688088536262512, 0.6614564657211304, -0.37003183364868164, -0.6094969511032104, 0.9559035301208496, 0.21251429617404938, 0.5586023330688477, 0.5139053463935852, 0.007512274663895369, -0.5163062810897827, -0.5985599160194397, -0.20170839130878448, 0.19176878035068512, -0.7174747586250305, -0.3430326581001282, -0.62205570936203, -0.08224359154701233, -0.7104352116584778, 0.20288275182247162, -0.3250623941421509, -0.5521259903907776, -0.3085179030895233, 0.184813991189003, 0.03784343600273132, 0.6855670213699341, -0.10593711584806442, -0.05486554652452469, -0.7757028341293335, 0.47092965245246887, 0.16812381148338318, 0.42188459634780884, -0.02677709050476551, -0.9787712097167969, -0.4673141539096832, 0.11991182714700699, -0.3575754761695862, -0.7388395071029663, 0.15547935664653778, 0.5515444874763489, 0.3001481890678406, 0.09532319009304047, 0.07167748361825943, 0.7134139537811279, -0.5070769190788269, 0.7456938028335571, 0.06465218216180801, -0.7317032217979431, 0.5999397039413452, -0.18705718219280243, 0.17517374455928802, 0.7553176283836365, 0.28908073902130127, -0.3881073594093323, -0.30125677585601807, -0.5979396104812622, -0.8164068460464478, 0.46897658705711365, 0.1577543467283249, -0.06788866221904755, -0.13252712786197662, 0.759780764579773, 0.20288975536823273, 0.3330043852329254, -0.22267915308475494, -0.33009016513824463, -0.12258097529411316, -0.5493216514587402, 0.008495786227285862, -0.6489689946174622, -0.08364903926849365, 0.12182791531085968, 0.9727243781089783, -0.21716700494289398, -0.19202841818332672, 0.30622243881225586, -0.26675552129745483, -0.1275576800107956, 0.3700486719608307, 0.5160261988639832, 0.7358081340789795, -0.2982214391231537, 0.4470592439174652, 0.19292381405830383, -0.6438294053077698, 0.2301352471113205, 0.22284141182899475, -0.5048129558563232, 0.13519679009914398, 0.19306837022304535, 0.46994727849960327, 0.231553852558136, -0.6687901616096497, 0.48001259565353394, 0.0731617733836174, -0.10217379033565521, -0.14042842388153076, 0.09546558558940887, -0.14248520135879517, 0.2977026700973511, 0.6898971199989319, 0.11732923984527588, 0.05692734941840172, -0.43987488746643066, 0.4407332241535187, 0.3416019380092621, -0.09580463916063309, -0.03504204750061035, 0.6133564114570618, -0.25342875719070435, -0.29975974559783936, 0.3996069133281708, -0.17273150384426117, -0.40135669708251953, 0.16717585921287537, 0.6004529595375061, 0.5355989933013916, -0.4163217842578888, 0.17215248942375183, 0.6173587441444397, -0.028893660753965378, -0.6973792314529419, 0.6221007108688354, -0.3635525703430176, -0.7129091620445251, -0.37238821387290955, -0.6143206357955933, -0.45335859060287476, -0.3689981698989868, -1.1220148801803589, 0.18720930814743042, -0.2639177739620209, 0.09690353274345398, -0.4709913432598114, 0.3578239679336548, -0.2783043086528778, 0.3524831533432007, -0.12268592417240143, 0.8840392231941223, -0.7934312224388123, 0.883446991443634, 0.5883166193962097, -0.6131534576416016, -1.1288797855377197, 0.02323835715651512, -0.36305123567581177, -0.5897879004478455, 0.4454372823238373, -0.0940948948264122, -0.04960251227021217, -0.014773688279092312, -0.23751035332679749, -0.908012330532074, 1.3848437070846558, 0.4844820201396942, -0.5834271311759949, 0.024332212284207344, -0.09820197522640228, 0.45850399136543274, -0.23592305183410645, 0.3525700271129608, 0.3784744143486023, 0.10822586715221405, 0.33763957023620605, -0.9288067817687988, -0.0004320309963077307, -0.07331623882055283, 0.14904791116714478, 0.2912081182003021, -0.586286187171936, 0.8100006580352783, -0.09869953989982605, -0.424034982919693, 0.3758713901042938, 0.8512423634529114, 0.6254545450210571, 0.3118577301502228, 0.35007748007774353, 0.7555512189865112, 1.1263377666473389, -0.06958135962486267, 0.994828462600708, -0.4458100199699402, 0.6267620921134949, 1.6006711721420288, -0.21347610652446747, 1.2986583709716797, 0.45519185066223145, -0.11903605610132217, 0.7290600538253784, 0.31506964564323425, 0.2272188663482666, 0.5264050364494324, -0.32486575841903687, -0.5556223392486572, -0.2852514982223511, -0.5216557383537292, -0.34431344270706177, 0.09691565483808517, 0.10210106521844864, -0.3184996247291565, -0.2624971568584442, -0.13229896128177643, 0.0024977608118206263, 0.6267127394676208, -0.3701782822608948, 0.8230109810829163, -0.20049059391021729, -0.8411767482757568, 0.840151309967041, -0.14066331088542938, 0.4623875319957733, -0.5656561255455017, -0.4313380718231201, -0.22640706598758698, 0.09526517242193222, -0.39752379059791565, -0.8344048261642456, 0.1995130181312561, -0.07786023616790771, -0.4994058907032013, -0.16554100811481476, 0.9509670734405518, -1.020141363143921, -0.24464765191078186, -0.04076923057436943, 0.48705872893333435, 0.157267227768898, 0.23331734538078308, -0.5428288578987122, 0.3613705337047577, -0.2435927838087082, 0.14377738535404205, 0.33187174797058105, 0.24032634496688843, 0.3513878583908081, 0.4364820420742035, 0.36808639764785767, 0.08505362272262573, -0.03299219161272049, 0.19287540018558502, 0.7576879262924194, -0.15738436579704285, -0.32557082176208496, -0.5459524989128113, 0.5716914534568787, -0.06963483989238739, 0.2978147864341736, 0.8948833346366882, 1.012404441833496, 0.8559973835945129, 0.289342999458313, 0.6357591152191162, 0.05446891114115715, 1.0488380193710327, -0.5909921526908875, 0.36555877327919006, -0.6468576788902283, 0.46451231837272644, -0.06242256611585617, -0.7432987093925476, -0.19862720370292664, 0.39697903394699097, 0.06606971472501755, 0.2333216667175293, 0.5576274394989014, 0.9471603631973267, -0.008594819344580173, -0.34192922711372375, 0.46907874941825867, 0.16358768939971924, 0.06660599261522293, 0.36317336559295654, 0.5540660619735718, -1.0049160718917847, 0.49125972390174866, -0.18089060485363007, -0.004990159068256617, 0.013491080142557621, -0.6064143776893616, -0.5672464370727539, -0.6629971861839294, -0.3062441349029541, -0.9863184094429016, 0.3856150209903717, 0.9098791480064392, 0.5030131340026855, -0.7242399454116821, 0.004611107986420393, -0.14386779069900513, 0.022324111312627792, -0.14525122940540314, -0.2191273719072342, 0.4807036817073822, -0.7201482653617859, -0.6777048110961914, 0.3661837875843048, 0.1713780164718628, 0.011132638901472092, -0.1497274786233902, -0.37018460035324097, -0.38123348355293274, 0.09301524609327316, 0.4038489758968353, 0.3817123472690582, -0.6139108538627625, -0.3550053834915161, -0.03898680955171585, -0.21512699127197266, 0.18899042904376984, 0.5300391912460327, -0.9304078221321106, 0.7279229760169983, 0.4530899226665497, 0.8031289577484131, 0.46833688020706177, 0.4711169898509979, 0.2640571892261505, -1.1653482913970947, 0.07373515516519547, 0.18396514654159546, 0.22608141601085663, 0.5660558342933655, -0.24664053320884705, 0.49053630232810974, 0.19121983647346497, -0.5662072896957397, -0.9207977056503296, 0.31954291462898254, -0.7373875379562378, -0.19901631772518158, 1.0723017454147339, -0.3499200940132141, 0.12225531786680222, -0.11969674378633499, -0.08948443084955215, 0.4661701023578644, -0.24090054631233215, 0.5834560990333557, 0.4119032025337219, -0.040685489773750305, -0.28631410002708435, -0.3339197635650635, 0.411069393157959, 0.5716211199760437, -0.4732307493686676, -0.17868660390377045, 0.5575020909309387, 0.41015636920928955, 0.20172853767871857, 0.5403711795806885, -0.2191384732723236, 0.415559321641922, -0.0439312681555748, -0.004446859005838633, -0.2834548354148865, -0.4768625497817993, -0.4183236360549927, 0.3790925145149231, 0.23351293802261353, -0.1554528921842575 ]
http://arxiv.org/abs/2406.02265v2
http://arxiv.org/pdf/2406.02265v2
Understanding Retrieval Robustness for Retrieval-Augmented Image Captioning
2024-06-04T12:41:54
2024-06-06T13:59:03
Wenyan Li, Jiaang Li, Rita Ramos, Raphael Tang, Desmond Elliott
cs.CV
cs.CV, cs.CL
Recent advances in retrieval-augmented models for image captioning highlight the benefit of retrieving related captions for efficient, lightweight models with strong domain-transfer capabilities. While these models demonstrate the success of retrieval augmentation, retrieval models are still far from perfect in practice: the retrieved information can sometimes mislead the model, resulting in incorrect generation and worse performance. In this paper, we analyze the robustness of a retrieval-augmented captioning model SmallCap. Our analysis shows that the model is sensitive to tokens that appear in the majority of the retrieved captions, and the input attribution shows that those tokens are likely copied into the generated output. Given these findings, we propose to train the model by sampling retrieved captions from more diverse sets. This decreases the chance that the model learns to copy majority tokens, and improves both in-domain and cross-domain performance.
[ -0.2090146392583847, -0.3450496196746826, 0.22436879575252533, -0.2393646091222763, -0.6285740733146667, 0.20650428533554077, 0.047252144664525986, -0.6894159913063049, 0.12617747485637665, 0.3977799713611603, -0.07636402547359467, 0.0830715075135231, -0.7769017219543457, 0.30280429124832153, -0.3674173951148987, 0.8822363018989563, 0.17351965606212616, 0.013940297067165375, -0.30384257435798645, -0.5174477100372314, -0.6866778135299683, -0.41374000906944275, -0.55646151304245, 0.14214745163917542, 0.25500917434692383, 0.3869600296020508, 0.8564661145210266, 0.6347434520721436, 0.8583495616912842, 0.1341356635093689, 0.00741113256663084, 0.26192691922187805, -0.4962896406650543, -0.04085629805922508, -0.28164294362068176, -0.8078595399856567, 0.0433054119348526, -0.21610844135284424, 0.5739217400550842, 0.6201996803283691, 0.1581946611404419, 0.20607781410217285, 0.02676992304623127, 0.4797161817550659, -0.8437671065330505, 0.05503138527274132, -1.2085204124450684, -0.0690787136554718, -0.1664767861366272, -0.07584726810455322, -0.6845197677612305, 0.06558694690465927, 0.09176792949438095, -0.6018680930137634, 0.6036999821662903, 0.829432487487793, 0.9749637246131897, 0.1617334932088852, -0.2742508351802826, -0.1834704726934433, -0.33549025654792786, 0.8672191500663757, -0.36706599593162537, 0.07724417001008987, 0.558839738368988, 0.6140896081924438, 0.3004249334335327, -0.9364778399467468, -0.5161896347999573, -0.22074151039123535, -0.21759478747844696, -0.286484956741333, -0.27600252628326416, -0.2851872444152832, 0.3030332028865814, 0.6074373126029968, -0.25403091311454773, 0.012961671687662601, -0.47711917757987976, -0.4618152678012848, 0.2999325692653656, -0.08961670100688934, 0.3989957273006439, -0.45080235600471497, -0.657687783241272, -0.18490184843540192, -0.960486114025116, 0.06747882813215256, 0.2537487745285034, 0.8684931993484497, 0.006463244091719389, 0.9038631319999695, 0.00006083436528570019, 0.5460778474807739, 0.26206427812576294, 0.1151316687464714, 0.08983197063207626, -0.5727178454399109, -0.11479867249727249, -0.3901771903038025, 0.4650016129016876, 0.3784591555595398, 0.017726143822073936, -0.37749743461608887, -0.5480452179908752, -0.39549383521080017, 0.4962499141693115, -0.8417019248008728, -0.4016982614994049, 0.11815442889928818, -0.709679901599884, -0.41298437118530273, 0.20698657631874084, -0.49012061953544617, -0.22591550648212433, -0.1749207079410553, 0.7316455841064453, -0.38699764013290405, 0.2649286687374115, -0.26422351598739624, -0.20283089578151703, -0.029812725260853767, 0.16477638483047485, -0.9466805458068848, 0.3680943250656128, 0.42742982506752014, 1.0880385637283325, -0.7957006692886353, -0.11600375920534134, -1.1731319427490234, 0.0385199636220932, -0.11525778472423553, 0.8992370367050171, -0.4855164885520935, -0.1976742446422577, 0.1511518955230713, 0.24319173395633698, -0.11950180679559708, -0.8550297617912292, 0.2771449685096741, -1.0692554712295532, -0.3518097996711731, -0.5718986988067627, -0.3500796854496002, 0.23005400598049164, 0.25153282284736633, -1.2907096147537231, 0.5135572552680969, 0.14337316155433655, -1.030304193496704, 0.7377257943153381, -0.3275686800479889, -0.3803778886795044, 0.08559588342905045, -0.018381649628281593, -0.610741376876831, 0.1465761810541153, 0.6072688102722168, 0.22015085816383362, 0.10052457451820374, -0.3265385031700134, -0.3670351803302765, -0.6453866958618164, 0.2745959162712097, -0.28446266055107117, 0.657526433467865, 0.4701840579509735, 0.10542183369398117, -0.1944008469581604, -0.41218167543411255, -0.2585866451263428, 0.15682077407836914, -0.16639141738414764, -0.42929455637931824, -0.36457952857017517, 0.004441168159246445, -0.24612106382846832, 0.026192236691713333, -0.480564683675766, 0.2718852758407593, -0.0429501011967659, 0.39973369240760803, 0.6737411022186279, 0.40913471579551697, 0.9152014851570129, -0.6057214140892029, 0.6293045282363892, 0.11440201103687286, 0.17126670479774475, -0.3164389133453369, -0.328396201133728, -0.14857414364814758, -0.7560776472091675, 0.6677491664886475, 0.257007896900177, -1.3024709224700928, -0.13004446029663086, -0.4316599667072296, -0.2361069619655609, -0.4481353461742401, 0.23613418638706207, 0.2312721461057663, 0.5135904550552368, 0.2920322120189667, -0.6334168314933777, -0.2642763555049896, -0.8820671439170837, -0.44057783484458923, -0.11182425916194916, 0.16601356863975525, 0.5384719371795654, 0.7587804198265076, -0.05684761703014374, 0.7260242104530334, -0.2861173152923584, -0.22341150045394897, -0.20739996433258057, 0.07909011840820312, -0.0003537734446581453, 0.5760558843612671, 0.7791218757629395, -1.0354772806167603, -0.5825871229171753, -0.27705925703048706, -0.3976458013057709, 0.22522637248039246, -0.2547278106212616, -0.31578531861305237, -0.06896426528692245, 0.29302340745925903, -0.811485767364502, 0.4817684590816498, 0.08940231800079346, 0.16157527267932892, 0.6770235896110535, 0.09083685278892517, 0.31092968583106995, -0.7626898288726807, 0.3111201524734497, -0.3974440097808838, -0.4395029544830322, -0.07512374967336655, 0.47380200028419495, 0.06198503449559212, -0.20246751606464386, -0.6015387773513794, 0.5115470290184021, -0.750549852848053, -0.30915144085884094, -0.3160722851753235, 0.04877275228500366, 0.19049613177776337, 0.20176789164543152, -0.17750351130962372, 1.2496867179870605, 0.5127013921737671, -0.5264711976051331, 0.30438610911369324, 0.4772609770298004, -0.46137872338294983, 0.6780079007148743, -0.6446669101715088, 0.2205987572669983, -0.16643168032169342, -0.11436688154935837, -1.1536943912506104, -0.38263192772865295, 0.08427783101797104, -0.5271921157836914, 0.7122352123260498, -0.5535582900047302, -0.6777287721633911, -0.30918005108833313, -0.44807589054107666, 0.7509469985961914, 0.25449338555336, -0.9737754464149475, 0.5048762559890747, 0.2640818953514099, -0.2801603674888611, -0.8029616475105286, -0.8076764345169067, -0.035653531551361084, -0.167848601937294, -0.37396955490112305, 0.2510624825954437, -0.027974041178822517, -0.0630008652806282, 0.02823621779680252, -0.17468489706516266, -0.0938350185751915, -0.0013437861343845725, 0.1089392676949501, 0.4310309588909149, 0.05161922797560692, 0.08136183768510818, -0.020480912178754807, 0.2938986122608185, -0.28520041704177856, -0.10761697590351105, 0.15883496403694153, -0.13810908794403076, -0.6693904995918274, -0.20213057100772858, 0.450027734041214, 0.48698505759239197, -0.1565382331609726, 0.8393935561180115, 0.31437304615974426, -0.5033258199691772, -0.13643479347229004, -0.2529025673866272, -0.5417629480361938, -0.3849063813686371, 0.20120836794376373, -0.5105360746383667, -0.7772307991981506, 0.9169155955314636, 0.2798559367656708, 0.0049843802116811275, 0.47845587134361267, 0.19144786894321442, -0.25767019391059875, 0.8287150859832764, 0.6188120245933533, -0.05030324310064316, 0.6192622184753418, -0.254464715719223, -0.021376056596636772, -0.7905921339988708, -0.08643999695777893, -0.5359175801277161, -0.23269148170948029, -0.37562915682792664, -0.2907579839229584, 0.011944747529923916, -0.0816211923956871, -0.09207308292388916, 0.5131903886795044, -0.4857677221298218, 0.651479959487915, 0.7808624505996704, 0.26576104760169983, 0.37847745418548584, 0.7880327105522156, -0.1351010650396347, -0.314548522233963, -0.7637766003608704, -0.5050796270370483, 1.177687406539917, 0.0982329472899437, 0.9188451170921326, 0.29602760076522827, 0.33294954895973206, 0.8143148422241211, 0.37311089038848877, -0.581527829170227, 0.06797793507575989, -0.17365829646587372, -0.922235369682312, -0.05382867902517319, -0.44528713822364807, -0.9685560464859009, 0.18682977557182312, -0.22589129209518433, -0.7015949487686157, 0.3594677448272705, 0.24305956065654755, -0.5694775581359863, 0.46652406454086304, -0.6874347925186157, 0.7602519989013672, 0.03540471941232681, -0.3563111126422882, 0.2500424087047577, -0.8275960087776184, 0.2940613627433777, -0.26194700598716736, 0.15677091479301453, 0.41021236777305603, -0.08695704489946365, 0.5285311341285706, -0.4115919768810272, 0.8370477557182312, -0.11423920840024948, 0.42589041590690613, 0.7201496958732605, 0.3681286573410034, 0.6237901449203491, -0.010791863314807415, 0.1232786774635315, -0.17997194826602936, 0.1719028204679489, -0.7050827741622925, -0.49796953797340393, 0.40556108951568604, -0.6435328722000122, -0.36849069595336914, -0.3375970721244812, -0.3855924606323242, -0.13077862560749054, 0.3674720525741577, 0.5743891596794128, 0.36306431889533997, 0.2979544997215271, 0.42633140087127686, 0.605893611907959, -0.11350686848163605, 0.34385064244270325, 0.04081003740429878, -0.06415220350027084, -0.6470721960067749, 0.8719110488891602, 0.12406543642282486, 0.5947132110595703, 0.34120339155197144, -0.2287111133337021, -0.35871776938438416, -0.7225249409675598, -0.6390650868415833, 0.2887890338897705, -1.0165979862213135, -0.6311860084533691, -0.2945478558540344, 0.1038602739572525, -0.2770279049873352, -0.06908005475997925, -0.3807816505432129, -0.4365275204181671, -0.3964706063270569, -0.21785803139209747, 0.15860900282859802, 0.41331374645233154, -0.10320419818162918, 0.4197470247745514, -0.8399803638458252, 0.4160895347595215, 0.5618945956230164, 0.2670400142669678, 0.10529317706823349, -1.1399403810501099, -0.16139568388462067, -0.03821671009063721, -0.12242382019758224, -0.7216788530349731, 0.26339009404182434, 0.3675740957260132, 0.5247288942337036, 0.21504126489162445, 0.2550744116306305, 0.4743451178073883, -0.3266606330871582, 1.05745267868042, -0.05237722024321556, -0.6394267082214355, 0.5170223116874695, -0.10979390144348145, 0.05743623897433281, 0.9445242881774902, 0.1412559151649475, 0.21338853240013123, -0.09459373354911804, -0.5971803069114685, -0.727023184299469, 0.4970749616622925, 0.20074158906936646, 0.514234185218811, -0.10931999236345291, 0.6586315035820007, 0.39795395731925964, 0.3389001190662384, -0.8337562680244446, 0.06839153170585632, -0.1765865683555603, -0.033270787447690964, 0.4106304347515106, -0.2910263240337372, -0.25077927112579346, 0.014765438623726368, 0.5398659706115723, -0.4924129843711853, 0.5062233805656433, 0.1114739403128624, -0.43730470538139343, -0.21493084728717804, -0.18354178965091705, 0.3775022625923157, 0.4206065833568573, -0.3207367956638336, 0.3973293900489807, 0.09311696887016296, -0.6603680849075317, -0.16577103734016418, 0.004235736560076475, -0.33869773149490356, 0.0017875354969874024, 0.490261435508728, 0.6098999977111816, -0.10347545146942139, -0.6677950620651245, 1.008148193359375, -0.11609721928834915, 0.22379331290721893, 0.017163611948490143, -0.2476152926683426, -0.5390989780426025, 0.08294796943664551, 0.7308169007301331, 0.7738831043243408, 0.3791697025299072, -0.6122809648513794, 0.37231379747390747, 0.5649563670158386, -0.4030361771583557, -0.1344262808561325, 0.8398342728614807, -0.17246219515800476, 0.12545862793922424, 0.6916837096214294, -0.09545768052339554, -0.4540651738643646, 0.5329701900482178, 0.4979560673236847, 0.4894923269748688, 0.6488587856292725, -0.11986936628818512, 0.40624555945396423, 0.5289759039878845, -0.1705915927886963, 0.11002814769744873, -0.24425050616264343, -0.5228447318077087, -0.39690449833869934, -0.3040063977241516, -0.43449997901916504, -0.36322978138923645, -0.8801204562187195, -0.1199420765042305, -0.20707571506500244, -0.5050494074821472, -0.33091679215431213, -0.14533670246601105, -0.781138002872467, 0.18064568936824799, -0.09016024321317673, 0.9585374593734741, -0.9327617883682251, 0.3758619725704193, 0.6160549521446228, -0.9699535965919495, -0.8042858242988586, -0.26679274439811707, -0.49493828415870667, -0.9189000725746155, 0.5093269348144531, 0.08905965834856033, 0.13731010258197784, -0.3348982036113739, -1.1826711893081665, -0.7986034154891968, 1.1391534805297852, 0.4609156548976898, -0.20052140951156616, 0.019324034452438354, -0.011742298491299152, 0.27116379141807556, -0.5033698081970215, -0.07935277372598648, 0.09783277660608292, -0.09285668283700943, 0.3118067979812622, -0.7726261019706726, 0.3423278033733368, -0.14033877849578857, 0.21865399181842804, -0.5707932114601135, -0.5423491597175598, 0.7468082308769226, -0.6040010452270508, -0.29207611083984375, 0.6404279470443726, 0.7304523587226868, 0.5189844369888306, 0.2915897071361542, 0.5081647634506226, 0.29911404848098755, 0.8221325874328613, -0.14777429401874542, 1.5477653741836548, 0.08494701981544495, 0.2815820872783661, 1.021644115447998, 0.025988806039094925, 1.1630241870880127, 0.8134547472000122, -0.07871437817811966, 0.17478756606578827, 0.615287184715271, -0.2831169366836548, 0.9749802350997925, -0.10589271038770676, -0.08341964334249496, -0.22800274193286896, -0.13726063072681427, -0.1623336374759674, 0.08481167256832123, -0.16179759800434113, -0.6960936784744263, 0.3525488078594208, 0.2556920349597931, -0.47013476490974426, 0.013943095691502094, -0.3700708746910095, 0.5648654699325562, 0.2391076683998108, -0.6595680117607117, 0.4600095748901367, -0.3140350580215454, 0.5844911336898804, -0.00685406569391489, 0.08959738165140152, -0.30040454864501953, 0.01081299502402544, -0.16812603175640106, -0.6648140549659729, 0.3191574513912201, -0.004203428514301777, -0.4160260260105133, 0.2282049059867859, 0.9297788739204407, -0.1602514535188675, -0.27398014068603516, -0.339223712682724, 0.47411659359931946, 0.34708118438720703, -0.27837634086608887, -0.46007028222084045, 0.18273918330669403, 0.03411181643605232, 0.2457199990749359, 0.3218785524368286, 0.28898733854293823, -0.06492750346660614, 0.6117321848869324, 0.6742277145385742, 0.1548972725868225, 0.3051793873310089, 0.18007342517375946, 0.6437361240386963, -0.19414791464805603, -0.26406624913215637, -0.5213594436645508, 0.5270624160766602, -0.21539556980133057, 0.14233849942684174, 0.5946273803710938, 0.5218876600265503, 0.6113787889480591, -0.5864445567131042, 0.7047356367111206, 0.06970588117837906, 0.41997188329696655, -0.4190273582935333, 0.8169053196907043, -0.5769386887550354, 0.40535879135131836, -0.16660882532596588, -0.9313892126083374, -0.4333624839782715, 0.4121745228767395, -0.03516269102692604, 0.1929156333208084, 0.3346995711326599, 0.7953424453735352, -0.28917646408081055, -0.10534993559122086, 0.19183377921581268, -0.2624012231826782, 0.20419231057167053, 0.21202529966831207, 0.8043985962867737, -0.8189957141876221, 0.8873510360717773, -0.21031221747398376, 0.05683149769902229, -0.262460321187973, -0.8631083369255066, -0.7897339463233948, -0.36887454986572266, -0.42271050810813904, -0.3636437654495239, -0.08657053112983704, 0.6515175700187683, 0.9257809519767761, -0.9651581645011902, 0.4459691047668457, 0.2253662496805191, 0.044923704117536545, -0.1878259778022766, -0.260337233543396, 0.4777499735355377, -0.3446848690509796, -0.5765413641929626, -0.10976031422615051, -0.18784303963184357, 0.37837666273117065, 0.17744480073451996, 0.13901422917842865, 0.09788171201944351, 0.105648472905159, 0.47708404064178467, 0.5218685269355774, -0.4898860454559326, -0.6181802749633789, 0.1849353164434433, -0.3659391403198242, 0.14431113004684448, 0.49912551045417786, -0.5690611004829407, 0.7390620708465576, 0.36049506068229675, 0.8962607383728027, 0.5271185636520386, 0.31019163131713867, 0.26527395844459534, -1.14041268825531, -0.07167153060436249, 0.10958757996559143, 0.5918363332748413, 0.8300658464431763, -0.26548126339912415, 0.40838950872421265, 0.5016383528709412, -0.5083296895027161, -1.1136823892593384, -0.04995199292898178, -1.1309078931808472, -0.0772242322564125, 1.0261136293411255, -0.23241733014583588, -0.24588967859745026, 0.2268468290567398, -0.3826550841331482, 0.11562129110097885, -0.32673826813697815, 0.7892961502075195, 0.5722686648368835, 0.20304785668849945, -0.2802877426147461, -0.29892897605895996, 0.30211341381073, 0.3161320388317108, -0.18196842074394226, -0.18178313970565796, 0.4262535870075226, 0.5261149406433105, 0.3871693015098572, 0.3761740028858185, -0.3836976885795593, 0.5603532791137695, 0.24917444586753845, -0.30393123626708984, -0.18892139196395874, -0.21866390109062195, -0.21952690184116364, 0.42684340476989746, 0.594464898109436, -0.4860607385635376 ]
http://arxiv.org/abs/2406.02251v1
http://arxiv.org/pdf/2406.02251v1
Modeling Emotional Trajectories in Written Stories Utilizing Transformers and Weakly-Supervised Learning
2024-06-04T12:17:16
2024-06-04T12:17:16
Lukas Christ, Shahin Amiriparian, Manuel Milling, Ilhan Aslan, Björn W. Schuller
cs.CL
cs.CL, cs.AI
Telling stories is an integral part of human communication which can evoke emotions and influence the affective states of the audience. Automatically modeling emotional trajectories in stories has thus attracted considerable scholarly interest. However, as most existing works have been limited to unsupervised dictionary-based approaches, there is no benchmark for this task. We address this gap by introducing continuous valence and arousal labels for an existing dataset of children's stories originally annotated with discrete emotion categories. We collect additional annotations for this data and map the categorical labels to the continuous valence and arousal space. For predicting the thus obtained emotionality signals, we fine-tune a DeBERTa model and improve upon this baseline via a weakly supervised learning approach. The best configuration achieves a Concordance Correlation Coefficient (CCC) of $.8221$ for valence and $.7125$ for arousal on the test set, demonstrating the efficacy of our proposed approach. A detailed analysis shows the extent to which the results vary depending on factors such as the author, the individual story, or the section within the story. In addition, we uncover the weaknesses of our approach by investigating examples that prove to be difficult to predict.
[ -0.08210112154483795, -0.7214991450309753, 0.6434245705604553, 0.30064156651496887, -0.2557842433452606, -0.0876094177365303, -0.14081984758377075, -0.7803530097007751, 0.3602098524570465, 0.23796863853931427, -0.8178079724311829, -0.6869882345199585, -0.73307204246521, -0.1491793841123581, -0.6511983871459961, 1.1667715311050415, -0.1701163351535797, -0.6495447754859924, -0.17646197974681854, 0.10679801553487778, -0.18665426969528198, -0.5216220617294312, -0.11322619020938873, 0.02768375352025032, 0.8151662945747375, 0.5522814989089966, 0.5284342765808105, 0.5183295011520386, 0.4314919412136078, 0.16794176399707794, -0.35945287346839905, 0.010265309363603592, -0.6357508301734924, 0.46670347452163696, 0.24203072488307953, -0.27673405408859253, -0.13125558197498322, 0.007837691344320774, 0.0385381318628788, 0.6848636269569397, -0.01797321066260338, -0.05423955246806145, 0.03274593874812126, 0.7191686630249023, -0.6262985467910767, 0.22686395049095154, -0.11373467743396759, 0.4584297835826874, 0.09737256169319153, 0.020378099754452705, -0.5839525461196899, -0.5690000653266907, 0.5542132258415222, -0.31754377484321594, 0.21286064386367798, -0.14682726562023163, 0.6486099362373352, 0.19561360776424408, -0.8127246499061584, -0.624504804611206, -0.947919487953186, 0.7567538022994995, -0.26547971367836, 0.02154146134853363, 0.28682202100753784, -0.13099463284015656, 0.18486738204956055, -0.6924623847007751, -0.30468031764030457, -0.5037647485733032, -0.36125054955482483, 0.3978751301765442, -0.43523266911506653, -0.2762323021888733, 0.2202645242214203, 0.04315474256873131, -0.6427803039550781, 0.031398266553878784, -0.3484949767589569, 0.4089055359363556, 0.7903773784637451, 0.6207119822502136, 0.22915250062942505, -0.28486087918281555, -0.5963038206100464, -0.21385562419891357, -0.1927804797887802, 0.5947449207305908, 0.38394981622695923, 0.165795236825943, -0.5902819633483887, 0.6972005367279053, -0.01054438017308712, 0.24209679663181305, 0.376149982213974, 0.1680319905281067, 0.28846773505210876, 0.0909765437245369, 0.3560921847820282, 0.40478384494781494, 0.8548865914344788, 0.5900594592094421, 0.35156843066215515, -0.3470735251903534, -0.11327320337295532, 0.6451321840286255, 0.4595833718776703, -0.7405821681022644, -0.37136685848236084, 0.23725081980228424, -0.2039971947669983, -0.6021100282669067, -0.18781107664108276, -1.2660390138626099, -0.7088208198547363, -0.3561529517173767, 0.12040793150663376, -0.5240205526351929, 0.06530194729566574, -0.047140590846538544, -0.006273637991398573, -0.16766025125980377, 0.09748925268650055, -1.289415717124939, 0.11301032453775406, 0.5583867430686951, 0.8060471415519714, -0.29545244574546814, -0.20001958310604095, -0.2585720121860504, -0.09621373564004898, -0.3229200839996338, 0.9093100428581238, -0.5715919137001038, -0.40846025943756104, 0.2672816514968872, 0.07942382246255875, -0.11197783052921295, 0.010410155169665813, 0.8553832173347473, -0.14735358953475952, 0.00618125731125474, 0.20264704525470734, -0.4729931950569153, -0.3083944320678711, 0.2441539764404297, -0.49257028102874756, 0.9092408418655396, 0.22149758040905, -0.6995612978935242, 0.18584610521793365, -0.09859426319599152, -0.8159005641937256, -0.534003734588623, 0.4214637577533722, -0.369515597820282, 0.3761385977268219, 0.5149534940719604, 0.5428182482719421, 0.34132900834083557, 0.3337843418121338, -0.02049877680838108, -0.5986281633377075, 0.16181929409503937, -0.29310092329978943, 0.4759785234928131, -0.1611214280128479, -0.5380598902702332, 0.0763511136174202, -0.8570109009742737, -0.4455505907535553, -0.10290844738483429, 0.11533808708190918, -0.42305707931518555, 0.31043216586112976, -0.04687878116965294, 0.25826653838157654, 0.2619865834712982, -0.4165264368057251, 0.29610759019851685, -0.5672929286956787, 0.04435122385621071, 0.44752779603004456, 0.30128565430641174, 0.4642281234264374, -0.3039204776287079, 0.55699622631073, 0.438086599111557, 0.45294782519340515, -0.16308175027370453, -0.37215617299079895, -0.8392795920372009, 0.016125062480568886, -0.3360346555709839, 0.3832944929599762, -0.4828680157661438, 0.21538563072681427, -0.11272252351045609, -1.0668729543685913, -0.3087358772754669, -0.10426674783229828, 0.20758894085884094, 0.8733433485031128, 0.5666862726211548, -0.052081864327192307, -0.6232855916023254, -0.6195152401924133, -0.06591931730508804, -0.564201295375824, 0.08058029413223267, 0.26944446563720703, 0.2776077687740326, -0.38728681206703186, 0.7945305109024048, -0.5846970677375793, -0.22639235854148865, -0.16611354053020477, 0.7584937214851379, 0.46393895149230957, 0.4384482800960541, 0.46835416555404663, -0.7257608771324158, -0.4727400839328766, -0.214721217751503, -0.8689996600151062, -0.2888528108596802, -0.17879953980445862, -0.10456530004739761, 0.25232261419296265, 0.03807530924677849, -0.6200171709060669, 0.5770207643508911, 0.5362934470176697, -0.4764883518218994, 0.6765162348747253, 0.02890671417117119, 0.25064873695373535, -0.615451455116272, -0.33611100912094116, 0.44069135189056396, 0.10856185853481293, -0.5523130297660828, -0.5908216238021851, -0.003826030995696783, 0.1787205934524536, -0.7213191986083984, 0.28616175055503845, -0.2285066395998001, 0.17958499491214752, 0.04170513153076172, 0.4486335217952728, -0.07855267077684402, 0.8768091797828674, 0.45913881063461304, 0.13361886143684387, 0.47439515590667725, -0.5234760642051697, 0.38406556844711304, 0.4580002427101135, 0.015179246664047241, 0.6931059956550598, -0.6105858087539673, 0.18468572199344635, -0.3701976239681244, 0.1495821326971054, -0.7923679351806641, -0.10392676293849945, 0.08725927770137787, -0.36000046133995056, 0.07531634718179703, -0.13239897787570953, -0.4380846619606018, -0.38982412219047546, -0.2678394615650177, -0.10585466772317886, 0.9039576053619385, -0.7504490613937378, 0.744497537612915, 0.2871282994747162, -0.18351787328720093, -0.2541098892688751, -0.5752503275871277, -0.08318819105625153, -0.4822220206260681, -0.6837667226791382, 0.12243727594614029, -0.10301433503627777, -0.17239068448543549, -0.04364945366978645, -0.039585843682289124, -0.08261828869581223, -0.14324013888835907, 0.7930781841278076, 0.3866961896419525, -0.13992761075496674, 0.269084632396698, 0.21776831150054932, -0.21748703718185425, 0.40403619408607483, 0.2588139474391937, 0.0640975758433342, -0.3445679247379303, 0.17767499387264252, -0.29483240842819214, 0.21870477497577667, 0.4685298502445221, 0.08302775770425797, 0.8625951409339905, 0.7504128813743591, -0.3261030912399292, -0.4354342222213745, 0.08107876032590866, -0.11799939721822739, -0.3999205529689789, 0.18623745441436768, -0.05439186841249466, -0.6210129261016846, 0.4796874225139618, -0.05873812362551689, -0.07329468429088593, 0.5520172715187073, 0.5347604155540466, -0.5147387385368347, 1.0513041019439697, 0.7336535453796387, 0.06801632791757584, 0.41784772276878357, -0.17896847426891327, 0.07334780693054199, -0.645666241645813, -0.3254845440387726, -0.35815754532814026, -0.7222744226455688, -0.6027588248252869, 0.1753072589635849, 0.4479760527610779, -0.00024522797320969403, -0.24802535772323608, 0.5604624152183533, -0.5845478177070618, 0.5245329737663269, 0.2651219367980957, 0.06937137246131897, 0.4819294810295105, -0.23892471194267273, 0.11767850071191788, -0.3784785866737366, -0.40232014656066895, -0.6310824751853943, 0.9158377647399902, 0.21576112508773804, 0.9867609739303589, 0.2726394534111023, 0.7112791538238525, 0.28752395510673523, 0.6432347893714905, -0.7227764129638672, 0.36867624521255493, -0.3909052908420563, -0.451487272977829, -0.11321444809436798, -0.26091936230659485, -0.958278477191925, -0.01360222790390253, -0.3766239583492279, -1.5844887495040894, 0.5053439140319824, -0.053778450936079025, -0.28854066133499146, 0.02773832343518734, -0.887457013130188, 0.8074768781661987, -0.30579307675361633, -0.5398393273353577, 0.2754826247692108, -0.9570053815841675, 0.5250753164291382, -0.1924133598804474, -0.16793492436408997, -0.01827806606888771, 0.1891835629940033, 0.7128011584281921, -0.2568517029285431, 1.1739957332611084, 0.12340794503688812, -0.05257989838719368, 0.6582101583480835, 0.3423895835876465, 0.750710129737854, -0.028290074318647385, -0.09485383331775665, -0.149865061044693, 0.04272661358118057, -0.01464717835187912, -0.5752637386322021, 0.7260158658027649, -0.7603230476379395, 0.12154793739318848, -0.5369263887405396, -0.6133713722229004, -0.5823315978050232, -0.2966415286064148, 0.263693630695343, 0.3201361894607544, -0.13004112243652344, 0.2121335119009018, 0.36022812128067017, 0.04598422348499298, 0.6773843169212341, 0.47833290696144104, -0.08458040654659271, -0.06027628108859062, 0.6566448211669922, -0.16960856318473816, -0.023922575637698174, 0.23381775617599487, 0.2984718382358551, -0.4940592646598816, -0.022689390927553177, -0.12067263573408127, 0.0791400894522667, -0.6674579977989197, 0.04759274050593376, -0.8326274752616882, -0.05555180460214615, 0.04464476928114891, -0.6363821625709534, -0.39126792550086975, -0.34197619557380676, -0.8259311318397522, -0.4718116223812103, 0.4996204674243927, 0.784985363483429, -0.021458672359585762, 0.4837283790111542, -0.9924145340919495, 0.31847506761550903, 0.15568001568317413, 0.1299741268157959, 0.13517844676971436, -0.587949275970459, -0.4311217665672302, -0.11940404027700424, -0.6171968579292297, -0.9686377048492432, 0.7793137431144714, 0.058441996574401855, -0.1171460673213005, 0.4149812161922455, 0.5941155552864075, 0.6226734519004822, -0.2217758446931839, 1.012887954711914, 0.20000243186950684, -0.9886566996574402, 0.8405232429504395, -0.4424334466457367, -0.07196881622076035, 0.5732089877128601, 0.5675913095474243, -0.5317972898483276, -0.46615979075431824, -0.8907689452171326, -1.1648969650268555, 0.5469232797622681, 0.37850672006607056, 0.3502894937992096, 0.017018144950270653, 0.0782565101981163, 0.25193554162979126, 0.04294499382376671, -0.69258052110672, -0.07964975386857986, -0.04443132132291794, -0.7388973832130432, -0.30366379022598267, -0.24367645382881165, 0.17666903138160706, -0.2970171868801117, 0.6246085166931152, 0.09322374314069748, 0.04818546399474144, 0.2684786319732666, -0.2169927954673767, -0.5038051605224609, 0.023785429075360298, 0.3739161491394043, 0.1758165806531906, -0.66391921043396, 0.3414747714996338, -0.0744129940867424, -0.4492158889770508, 0.30738577246665955, 0.3060697317123413, -0.01797550544142723, 0.15547682344913483, 0.6645241975784302, 0.9488387107849121, 0.36693453788757324, -0.7983319759368896, 0.4850858449935913, -0.09243782609701157, -0.016323857009410858, -0.40159136056900024, 0.10129096359014511, 0.13558334112167358, 0.6963903307914734, 0.11739864200353622, -0.13181214034557343, -0.00031456307624466717, -0.48372387886047363, 0.2787987291812897, -0.4071952700614929, -1.0636931657791138, -0.568392276763916, 0.7480896711349487, 0.1288483738899231, -0.1542600393295288, 0.7270990014076233, -0.16466699540615082, -0.4521508812904358, 0.9310766458511353, 0.5501200556755066, 1.0966782569885254, 0.09613851457834244, 0.5019680857658386, 0.4266776442527771, 0.5172761082649231, 0.06403545290231705, -0.042522139847278595, 0.10523176938295364, -0.35468789935112, -0.05774155631661415, -0.6102333068847656, -0.8164877891540527, -0.12593431770801544, -0.5724798440933228, 0.20163197815418243, -0.04388691857457161, -0.06964753568172455, -0.2544023096561432, -0.28164857625961304, -0.5059556365013123, 0.43675801157951355, 0.4893359839916229, 0.31205102801322937, -1.1391160488128662, 0.1929248869419098, 0.45812830328941345, -0.5776278972625732, -0.8221230506896973, 0.015356112271547318, 0.00019218494708184153, -0.08896605670452118, 0.6698613166809082, 0.3023054003715515, -0.14020486176013947, -0.04757281392812729, -0.509126603603363, -0.5197835564613342, 0.888950765132904, -0.07605332136154175, -0.8108694553375244, 0.053751952946186066, 0.04121195524930954, 1.145238995552063, -0.4240976572036743, 0.3559904992580414, 0.5397418141365051, 0.31999433040618896, 0.24810896813869476, -0.12329528480768204, -0.35120078921318054, -0.3028867542743683, -0.2799583971500397, 0.010547538287937641, -0.5176814198493958, 0.7627428770065308, -0.3293590545654297, -0.17305037379264832, 0.06661315262317657, 0.8395802974700928, 0.23048853874206543, 0.7410175800323486, 0.4081695079803467, 0.34887373447418213, 0.5020850896835327, -0.26737159490585327, 1.1009156703948975, -0.22943809628486633, 0.6691282391548157, 1.0895885229110718, -0.2358577847480774, 0.824212372303009, 0.46677395701408386, -0.0269571952521801, 0.7859213948249817, 0.7724908590316772, 0.014360018074512482, 0.5455226898193359, 0.2894551157951355, -0.22122055292129517, -0.07032780349254608, -0.23924314975738525, 0.09675882756710052, 0.25760990381240845, 0.25673237442970276, -0.48125913739204407, 0.02201947383582592, 0.14944590628147125, 0.01344379223883152, -0.04805271700024605, -0.1708206683397293, 0.6257882118225098, 0.3348900377750397, -0.5714142918586731, 0.2427658885717392, -0.4169386625289917, 0.48636963963508606, -0.37938639521598816, 0.06283045560121536, -0.45584237575531006, 0.10603217780590057, -0.11897961050271988, -0.864047110080719, 0.26696062088012695, 0.6861541867256165, -0.0745125487446785, -0.2751537561416626, 0.6092367768287659, -0.6264363527297974, -0.6904827356338501, 0.25066396594047546, 0.3838237226009369, 0.1030762568116188, 0.18931692838668823, -0.15672242641448975, -0.12177284806966782, -0.3382733464241028, -0.7115618586540222, -0.09315121173858643, 0.7126255035400391, 0.13464206457138062, 0.5334929823875427, 0.38101768493652344, -0.28664273023605347, -0.1012931689620018, 0.06856504827737808, 0.6626254320144653, -0.8563517332077026, -0.6709732413291931, -0.787756085395813, 1.0652515888214111, 0.3101700246334076, -0.543644905090332, 0.4941893517971039, 0.3175615966320038, 0.12098201364278793, -0.3294527232646942, 0.29733937978744507, 0.14450955390930176, 0.2531661093235016, -0.4254519045352936, 0.5360131859779358, -0.5893018841743469, 0.13442382216453552, -0.6507278084754944, -0.9911472797393799, -0.25782081484794617, 0.45726504921913147, -0.3880959749221802, -0.09302198141813278, 0.9638147950172424, 0.342366486787796, 0.09990965574979782, 0.3219892680644989, 0.0027737002819776535, 0.33703047037124634, 0.16976191103458405, 1.0191184282302856, 1.2677335739135742, -0.2916899025440216, 0.38795629143714905, -0.6168149709701538, -0.07043828070163727, -0.29801684617996216, -0.9794564247131348, -0.8830270767211914, -0.5879266262054443, -0.5378768444061279, -0.3816494345664978, 0.06808650493621826, 0.43910348415374756, 0.4701482653617859, -0.43437036871910095, 0.23119224607944489, -0.07017706334590912, -0.04266431927680969, -0.2591531276702881, -0.24916696548461914, 0.5223820805549622, -0.11925588548183441, -0.8334837555885315, 0.2482818216085434, 0.09765271842479706, 0.26336929202079773, 0.028906825929880142, 0.03544878959655762, 0.047612473368644714, 0.24332696199417114, 0.47084859013557434, 0.04325295239686966, -0.18732850253582, -0.35556936264038086, -0.07454139739274979, -0.37658441066741943, 0.15354140102863312, 0.3630611300468445, -0.8826186060905457, 0.32984697818756104, 0.1760181039571762, 0.24916435778141022, 1.0405482053756714, 0.21236050128936768, 0.06793081015348434, -1.013582468032837, 0.09173659235239029, 0.5843691825866699, 0.13772675395011902, 0.17146353423595428, -0.5782603025436401, 0.7363837361335754, 0.17664124071598053, -0.4655642807483673, -0.5272848606109619, -0.03383718803524971, -1.5144771337509155, 0.21981212496757507, 1.1301649808883667, -0.11341739445924759, -0.41138404607772827, 0.27910304069519043, -0.2750466763973236, 0.40207040309906006, -0.4242022633552551, 0.998939037322998, 0.711600661277771, -0.4808275103569031, -0.32855507731437683, -0.29022809863090515, 0.12978312373161316, 0.18943239748477936, -0.9441877007484436, 0.014229015447199345, 0.6848260760307312, -0.39096853137016296, 0.13556109368801117, 0.15015068650245667, 0.09887755662202835, -0.07728628814220428, 0.25703179836273193, -0.003450114279985428, 0.1150677502155304, -0.46360835433006287, -0.1566135287284851, 0.26770448684692383, -0.6747899055480957, 0.01750246435403824 ]
http://arxiv.org/abs/2406.02245v1
http://arxiv.org/pdf/2406.02245v1
Description Boosting for Zero-Shot Entity and Relation Classification
2024-06-04T12:09:44
2024-06-04T12:09:44
Gabriele Picco, Leopold Fuchs, Marcos Martínez Galindo, Alberto Purpura, Vanessa López, Hoang Thanh Lam
cs.CL
cs.CL, cs.IR, cs.LG
Zero-shot entity and relation classification models leverage available external information of unseen classes -- e.g., textual descriptions -- to annotate input text data. Thanks to the minimum data requirement, Zero-Shot Learning (ZSL) methods have high value in practice, especially in applications where labeled data is scarce. Even though recent research in ZSL has demonstrated significant results, our analysis reveals that those methods are sensitive to provided textual descriptions of entities (or relations). Even a minor modification of descriptions can lead to a change in the decision boundary between entity (or relation) classes. In this paper, we formally define the problem of identifying effective descriptions for zero shot inference. We propose a strategy for generating variations of an initial description, a heuristic for ranking them and an ensemble method capable of boosting the predictions of zero-shot models through description enhancement. Empirical results on four different entity and relation classification datasets show that our proposed method outperform existing approaches and achieve new SOTA results on these datasets under the ZSL settings. The source code of the proposed solutions and the evaluation framework are open-sourced.
[ -0.2835228443145752, -0.3242752254009247, 0.5735809206962585, 0.14503712952136993, -0.3233981728553772, -0.06446729600429535, -0.19938991963863373, -0.9715604186058044, 0.3484136760234833, 0.42647913098335266, -0.575588047504425, -0.4773017466068268, -0.23237380385398865, 0.1799233853816986, -0.3997305631637573, 1.6064622402191162, -0.043657395988702774, -0.08237790316343307, -0.3087412118911743, 0.009444313123822212, -0.33585140109062195, -0.20439976453781128, -0.1551389992237091, -0.3560314476490021, 0.3860762119293213, 0.3542531430721283, 0.5452892780303955, 0.9248820543289185, 0.3733585774898529, 0.007421893998980522, -0.2123400717973709, -0.08152343332767487, -0.4476739168167114, 0.41360175609588623, -0.21595783531665802, -0.6151222586631775, -0.38043487071990967, -0.33859768509864807, 0.7489993572235107, 0.6711501479148865, 0.24756474792957306, 0.4575091600418091, -0.24713170528411865, 0.0026673763059079647, -1.4224451780319214, 0.3913906514644623, -0.8334155082702637, 0.23444567620754242, -0.16677765548229218, -0.6697492599487305, -0.5318720936775208, 0.2846300005912781, 0.27914920449256897, -0.6047454476356506, 0.5226410627365112, -0.19529153406620026, 1.1860095262527466, 0.04630891606211662, -0.13559004664421082, 0.037445299327373505, -1.234237790107727, 0.7983279824256897, -0.5942903161048889, 0.01858210749924183, 0.21689701080322266, 0.41990676522254944, 0.25853997468948364, -0.40526247024536133, -0.39247220754623413, -0.10558084398508072, -0.33193501830101013, 0.26504647731781006, 0.09495949000120163, 0.2118046134710312, 0.29948824644088745, 0.7039251923561096, -0.0948895514011383, 0.18218296766281128, -0.4185185730457306, -0.2321864515542984, 0.8666812181472778, 0.36604902148246765, 0.09501861780881882, -0.09740271419286728, -0.8162674903869629, 0.09038339555263519, -0.7238739728927612, -0.11913632601499557, 0.057144343852996826, 0.6297138333320618, 0.15804749727249146, 0.4690212607383728, -0.7161657214164734, 0.8602969646453857, -0.1584189534187317, -0.014729762449860573, 0.23928400874137878, -0.427348792552948, -0.3221164047718048, 0.4983527958393097, 0.5185904502868652, 0.5058630704879761, -0.10920316725969315, -0.4550131857395172, -0.45133092999458313, 0.21300476789474487, 0.08486917614936829, -1.1436971426010132, 0.02061261422932148, 0.10673847049474716, -0.21733394265174866, -0.6514674425125122, -0.022479215636849403, -0.9584335684776306, -0.2531435191631317, -0.0703534409403801, 0.4832107722759247, -0.1824742704629898, -0.2165733277797699, -0.07387793064117432, -0.25772640109062195, 0.3283045291900635, 0.20761126279830933, -0.9039177894592285, 0.09258995950222015, 0.6252883672714233, 0.7890145778656006, 0.2166503369808197, -0.24391911923885345, -0.5164139270782471, 0.48588046431541443, -0.5381096601486206, 0.9119250178337097, -0.5819036364555359, -0.12147068232297897, 0.1049673929810524, -0.3062291145324707, 0.3517582416534424, -0.06258887052536011, 0.6375171542167664, -0.37933021783828735, 0.13795621693134308, 0.14941638708114624, -0.8149688243865967, 0.13493116199970245, 0.12855535745620728, -0.5447897911071777, 0.7760964035987854, 0.19894802570343018, -0.8640648126602173, 0.6513046026229858, -0.548753559589386, -0.4636452794075012, 0.7235474586486816, -0.4053318202495575, -0.5427340865135193, 0.2735442519187927, 0.11801006644964218, 0.576725959777832, -0.14050236344337463, -0.35811546444892883, -0.23479387164115906, -0.41238293051719666, 0.09983973205089569, 0.1348205953836441, 0.7396093606948853, 0.16893312335014343, -0.3205556571483612, 0.17247635126113892, -1.026353120803833, 0.29697179794311523, 0.11411634087562561, 0.14332349598407745, -0.4992939829826355, -0.12345250695943832, -0.18914303183555603, 0.04890839383006096, 0.05693092197179794, -0.5287249684333801, 0.1754884421825409, -0.5250978469848633, 0.1828891783952713, 0.29566508531570435, 0.30715280771255493, 0.6353010535240173, -0.13770678639411926, 0.6550448536872864, 0.016036389395594597, 0.11516951769590378, -0.955234944820404, -0.40964943170547485, -0.5021085143089294, -0.16721239686012268, 0.5541216135025024, 0.49966421723365784, -0.9739114046096802, 0.37874412536621094, -0.40162330865859985, -0.6132685542106628, -0.565822422504425, -0.05496916547417641, 0.597949743270874, 0.8075376152992249, 0.6316487193107605, -0.20457974076271057, -0.4730530083179474, -0.9719964265823364, -0.16967205703258514, -0.28810247778892517, -0.2286272644996643, 0.1316935420036316, 0.29492706060409546, 0.29242458939552307, 0.9770406484603882, -0.7413139343261719, -0.5525146126747131, -0.2688753008842468, 0.20781132578849792, -0.19155088067054749, 0.11788709461688995, 0.7814593315124512, -0.6447000503540039, -0.48073336482048035, -0.027900731191039085, -0.660426676273346, 0.10918653756380081, -0.5474196076393127, -0.20349903404712677, 0.03742304816842079, 0.006192956119775772, -0.6377031803131104, 0.7162539958953857, -0.3068585991859436, -0.13748188316822052, 0.6260887980461121, 0.04040948674082756, -0.25823643803596497, -0.853827178478241, -0.25219371914863586, 0.2922585904598236, -0.06905291974544525, -0.9735998511314392, 0.5692782998085022, 0.12356214225292206, 0.19577448070049286, -0.49121934175491333, 0.46647682785987854, -0.653899610042572, -0.16180279850959778, -0.10162323713302612, 0.253282368183136, -0.059356726706027985, 0.3729846179485321, 0.4364628791809082, 0.34361380338668823, 1.0452890396118164, -0.6467718482017517, 0.2795628607273102, 0.4329693615436554, -0.27397242188453674, 0.8053497076034546, -0.2851075530052185, -0.018044346943497658, -0.398121178150177, 0.3784039318561554, -0.6563264727592468, -0.34119805693626404, 0.10878945142030716, -0.6664160490036011, 0.43634793162345886, -0.3160254657268524, -0.4474269151687622, -0.2544628083705902, -0.7030237317085266, 0.06395214051008224, 0.2449905425310135, -0.402834951877594, 0.3030915856361389, -0.06049903482198715, 0.36148449778556824, -0.8794588446617126, -0.7154269814491272, 0.12513701617717743, -0.14872924983501434, -0.22193823754787445, 0.7013857364654541, 0.15286041796207428, 0.040055908262729645, 0.28971585631370544, -0.21865156292915344, -0.40479663014411926, 0.22463005781173706, 0.06972862035036087, 0.7623724937438965, -0.31635355949401855, 0.7210805416107178, -0.03155267983675003, -0.01785987801849842, -0.21851219236850739, -0.23436160385608673, 0.24727098643779755, -0.006935349199920893, 0.41596198081970215, -0.4084843099117279, 0.03606420382857323, 0.025088759139180183, -0.29918307065963745, 0.8476676940917969, 0.6318306922912598, -0.44113239645957947, -0.45861104130744934, 0.03153160586953163, -0.2641884684562683, -0.30947890877723694, 0.36496424674987793, -0.41183310747146606, -0.5458967089653015, 0.3009394109249115, 0.295000821352005, 0.28445619344711304, 0.6790245175361633, 0.419687956571579, 0.14982695877552032, 0.7510895729064941, 0.7262911796569824, 0.023773498833179474, 0.3901994824409485, -0.26199209690093994, 0.19117693603038788, -0.8297631144523621, -0.09864775091409683, -0.550929605960846, -0.23848122358322144, -0.4921416640281677, -0.032349374145269394, 0.1083277016878128, 0.45001453161239624, 0.016294104978442192, 0.6774774789810181, -0.864710807800293, 0.7891571521759033, 0.13085781037807465, -0.14448824524879456, 0.41656753420829773, 0.12487487494945526, 0.21344687044620514, 0.0093602379783988, -0.4529836177825928, -0.42712312936782837, 1.1897335052490234, 0.14774319529533386, 0.5402690172195435, -0.018599998205900192, 1.0430294275283813, 0.06529136747121811, 0.3861057758331299, -0.9932310581207275, 0.48629266023635864, 0.1227523684501648, -0.8826547265052795, -0.5014153718948364, -0.7091922163963318, -0.9050360321998596, 0.08737952262163162, -0.6421436667442322, -0.9346684217453003, 0.00017519466928206384, 0.22448639571666718, -1.003258228302002, 0.11612579226493835, -0.32763612270355225, 0.4305952787399292, -0.2776995301246643, -0.4421067237854004, 0.08811035007238388, -0.7849624156951904, 0.4002542793750763, 0.16653704643249512, -0.011002082377672195, -0.059686917811632156, -0.2582080364227295, 0.28958845138549805, -0.2273816615343094, 0.502254843711853, -0.14449436962604523, -0.054662611335515976, 0.3493240475654602, 0.031440410763025284, 0.15913842618465424, 0.01613347791135311, -0.019094102084636688, -0.12221846729516983, 0.3599318265914917, -0.4663075804710388, -0.9373936057090759, 0.48279106616973877, -0.49194708466529846, -0.17188328504562378, -0.01673918589949608, -0.28493088483810425, -0.33696305751800537, 0.24150314927101135, 0.5842562317848206, 0.5577904582023621, -0.044915322214365005, 0.07697570323944092, 0.4716719090938568, -0.11728554964065552, 0.49054214358329773, 0.5399580001831055, -0.4025159776210785, -0.19642186164855957, 0.9719736576080322, 0.36429253220558167, 0.2907011806964874, 0.6367784738540649, -0.02287343703210354, -0.1375775784254074, -0.37379589676856995, -0.9557983875274658, -0.05986042320728302, -0.6117160320281982, -0.7625821232795715, -0.408713161945343, -0.41541144251823425, -0.40508267283439636, -0.0014415988698601723, -0.21481774747371674, -0.9167614579200745, -0.26939478516578674, -0.39042460918426514, 0.3593810796737671, 0.617388129234314, 0.2046111822128296, 0.3353416919708252, -0.7139754295349121, 0.04432503506541252, 0.06912607699632645, 0.516126811504364, 0.14703573286533356, -0.13040384650230408, -0.2736204266548157, -0.018152160570025444, -0.36644601821899414, -1.1967321634292603, 0.23067761957645416, 0.4216974973678589, 0.4842659831047058, 0.5513200163841248, 0.5121882557868958, 0.46142295002937317, -0.24872896075248718, 0.8111608624458313, 0.32851144671440125, -0.8193294405937195, 0.9372469782829285, -0.1326105147600174, -0.07456289976835251, 0.4313686192035675, 0.39098721742630005, -0.04866722971200943, -0.2998676598072052, -0.924814760684967, -1.016489863395691, 0.7853904962539673, 0.42954209446907043, 0.4804266393184662, 0.029397504404187202, 0.8248615860939026, -0.028210913762450218, 0.3279947340488434, -0.7718660831451416, -0.44281378388404846, -0.08522315323352814, -0.17287234961986542, 0.13345688581466675, -0.33553048968315125, -0.018834780901670456, 0.010878952220082283, 0.7169098854064941, -0.16802021861076355, 0.33465576171875, 0.26516473293304443, -0.1539313793182373, -0.39121007919311523, 0.632339596748352, 0.6050554513931274, 0.47792571783065796, -0.2802616357803345, 0.2972733974456787, 0.16271430253982544, 0.042735982686281204, -0.022767607122659683, 0.06248929351568222, -0.700359046459198, 0.347530722618103, 0.6818720698356628, 1.1203138828277588, 0.2591351270675659, -0.3752638101577759, 0.6681720614433289, 0.25092557072639465, -0.11341742426156998, -0.0586470328271389, 0.2484302669763565, -0.28831762075424194, -0.132777601480484, 0.38903412222862244, -0.2010902613401413, 0.4360385537147522, -0.8779724836349487, 0.17847950756549835, 0.3884381353855133, -0.6317446827888489, -0.4193660020828247, 0.4298233687877655, 0.004931751638650894, -0.36184144020080566, 0.18374419212341309, -0.4832210838794708, -0.5189381241798401, 0.5057344436645508, 0.5480571985244751, 0.7193716168403625, -0.19812694191932678, 0.4558872580528259, 0.4132149815559387, 0.03639952465891838, -0.007087933365255594, -0.0958988144993782, -0.5999707579612732, -0.7010319828987122, -0.45487678050994873, -0.5928789973258972, -0.35513800382614136, 0.13282763957977295, -1.0523953437805176, 0.6639893054962158, -0.5046778917312622, -0.08254197984933853, 0.712071418762207, 0.022762499749660492, -0.5051579475402832, 0.03792869672179222, 0.28710874915122986, 0.8124344348907471, -0.8312784433364868, 0.5986737012863159, 0.7619391679763794, -1.0120149850845337, -0.6396295428276062, 0.15689973533153534, -0.24919641017913818, -0.44765615463256836, 0.641175389289856, 0.17106136679649353, -0.006484014913439751, -0.04797426611185074, -0.7702212929725647, -0.44756019115448, 1.0339797735214233, 0.47047603130340576, -0.3777307868003845, -0.28196626901626587, -0.1296503096818924, 0.9218302965164185, -0.6619173288345337, 0.510272204875946, 0.29422470927238464, 0.13832280039787292, 0.39371609687805176, -0.7919161319732666, -0.0725957378745079, 0.015941016376018524, 0.1833067387342453, 0.32308298349380493, -0.5042093992233276, 0.7773534655570984, -0.2868461012840271, -0.5570998191833496, 0.28877776861190796, 0.6412065625190735, -0.08855246007442474, 0.47217270731925964, 0.3629177212715149, 0.42986735701560974, 0.5404636859893799, 0.10493630170822144, 1.1100735664367676, -0.20936612784862518, 0.7956602573394775, 1.6344953775405884, -0.4508345127105713, 1.0151238441467285, -0.0212392620742321, -0.055623944848775864, 0.6773027181625366, 0.484211266040802, -0.3420458436012268, 0.38218382000923157, 0.2008129507303238, -0.453753799200058, -0.34649959206581116, -0.33416032791137695, -0.30511999130249023, 0.4963786005973816, 0.3237155079841614, -0.7191413640975952, -0.6752132773399353, -0.2980744242668152, -0.09939020127058029, -0.02321675233542919, -0.5821672677993774, 0.8887643218040466, -0.2686672508716583, -0.37649399042129517, 0.4544883668422699, -0.10951004177331924, 0.45941025018692017, -0.08600762486457825, -0.14374402165412903, -0.031153086572885513, 0.06997489929199219, -0.5948774218559265, -0.8068341612815857, 0.33977407217025757, -0.0004255644744262099, -0.2482777088880539, -0.1441001296043396, 0.9570345282554626, -0.5312198400497437, -0.45367535948753357, 0.3124311864376068, 0.3091666102409363, 0.30300256609916687, 0.07755564153194427, -0.2608058452606201, -0.471509724855423, -0.13058383762836456, 0.2958530783653259, 0.33264538645744324, 0.3889433741569519, -0.1974005252122879, 0.39109519124031067, 0.20443226397037506, 0.34435153007507324, 0.006904074922204018, -0.18447889387607574, 0.6455596089363098, -0.45986294746398926, -0.5792458057403564, -0.9250504374504089, 0.3286452293395996, -0.42586642503738403, -0.22778475284576416, 0.7200040221214294, 0.5898314714431763, 0.9701259136199951, -0.030535420402884483, 0.7212271094322205, 0.13759328424930573, 0.6825087666511536, -0.2627313435077667, 0.42951610684394836, -0.3270919620990753, 0.26603928208351135, -0.18337516486644745, -1.0715768337249756, -0.42696234583854675, 0.5238150358200073, -0.02874583564698696, -0.1637570708990097, 0.3325185179710388, 0.35203781723976135, 0.13677017390727997, 0.1280769556760788, 0.4127034842967987, 0.06293828785419464, -0.010339215397834778, 0.528724193572998, 0.9815933704376221, -0.3585064113140106, 0.7140594124794006, -0.5536011457443237, -0.3687964975833893, -0.2450132519006729, -0.8168814182281494, -0.7344055771827698, -0.376097172498703, -0.7357953190803528, -0.20323477685451508, -0.07903265208005905, 0.808245062828064, 0.8559977412223816, -0.6815441846847534, 0.024757318198680878, -0.02201981097459793, 0.06935098767280579, -0.2974269390106201, -0.31887006759643555, 0.06251198053359985, -0.742752194404602, -0.3650597929954529, 0.06408780813217163, 0.5461586117744446, 0.08546911180019379, -0.421276718378067, 0.11900486052036285, 0.042228974401950836, 0.03136565536260605, 0.6332937479019165, 0.3264652192592621, -0.5336805582046509, -0.12235546857118607, -0.15661801397800446, 0.20017340779304504, 0.07260322570800781, 0.8767228126525879, -0.8343669772148132, 0.5644494891166687, 0.1876203864812851, 0.4887469410896301, 0.5829229354858398, -0.15850363671779633, 0.38686123490333557, -1.158792495727539, 0.02592495270073414, 0.32208406925201416, 0.050103191286325455, 0.396494060754776, -0.7609622478485107, 0.8507190942764282, 0.0504496768116951, -0.1690351516008377, -1.1476744413375854, 0.29681286215782166, -0.7083075046539307, -0.21361838281154633, 0.961564838886261, -0.45717108249664307, -0.12164489924907684, 0.15822573006153107, 0.19508787989616394, 0.2925545871257782, -0.2569914758205414, 0.8517712950706482, 0.5763497948646545, -0.2869359254837036, -0.19780704379081726, -0.5716515183448792, 0.6549184918403625, 0.19804203510284424, -0.7076261043548584, 0.22597023844718933, 0.45167475938796997, 0.07312826067209244, 0.6550604104995728, 0.3672712445259094, -0.024222014471888542, 0.34290575981140137, -0.22233179211616516, 0.1315506100654602, -0.02117418497800827, -0.30789047479629517, -0.4957452714443207, 0.09026637673377991, 0.09710527956485748, -0.3045274019241333 ]
http://arxiv.org/abs/2406.02237v1
http://arxiv.org/pdf/2406.02237v1
Self-Modifying State Modeling for Simultaneous Machine Translation
2024-06-04T11:57:58
2024-06-04T11:57:58
Donglei Yu, Xiaomian Kang, Yuchen Liu, Yu Zhou, Chengqing Zong
cs.CL
cs.CL
Simultaneous Machine Translation (SiMT) generates target outputs while receiving stream source inputs and requires a read/write policy to decide whether to wait for the next source token or generate a new target token, whose decisions form a \textit{decision path}. Existing SiMT methods, which learn the policy by exploring various decision paths in training, face inherent limitations. These methods not only fail to precisely optimize the policy due to the inability to accurately assess the individual impact of each decision on SiMT performance, but also cannot sufficiently explore all potential paths because of their vast number. Besides, building decision paths requires unidirectional encoders to simulate streaming source inputs, which impairs the translation quality of SiMT models. To solve these issues, we propose \textbf{S}elf-\textbf{M}odifying \textbf{S}tate \textbf{M}odeling (SM$^2$), a novel training paradigm for SiMT task. Without building decision paths, SM$^2$ individually optimizes decisions at each state during training. To precisely optimize the policy, SM$^2$ introduces Self-Modifying process to independently assess and adjust decisions at each state. For sufficient exploration, SM$^2$ proposes Prefix Sampling to efficiently traverse all potential states. Moreover, SM$^2$ ensures compatibility with bidirectional encoders, thus achieving higher translation quality. Experiments show that SM$^2$ outperforms strong baselines. Furthermore, SM$^2$ allows offline machine translation models to acquire SiMT ability with fine-tuning.
[ -0.16545122861862183, -0.5549004077911377, 0.5267032980918884, 0.23954841494560242, -0.45143309235572815, 0.055438507348299026, -0.16011372208595276, 0.0003408832708373666, 0.24172721803188324, 0.5644770860671997, -0.695847749710083, 0.023973437026143074, -0.6652608513832092, 0.37754884362220764, -0.056710172444581985, 1.167012333869934, -0.6407707929611206, 0.2915600538253784, -0.01670634001493454, -0.08496458828449249, -0.4538121223449707, -0.23057821393013, -0.5944685935974121, -0.0621587336063385, 0.14478369057178497, 0.3398688733577728, 0.7402135133743286, 0.8940519094467163, 0.5185055732727051, 0.39939627051353455, -0.05151361599564552, 0.2654728591442108, -0.37302157282829285, 0.33478614687919617, -0.06679456681013107, -0.5264307260513306, -0.48906001448631287, -0.1220175176858902, 1.0990561246871948, 0.2178272157907486, -0.15097828209400177, 0.0658423900604248, 0.18855591118335724, 0.49886369705200195, -0.1835084706544876, 0.13249324262142181, -0.6275964379310608, 0.00013727450277656317, -0.2386145144701004, -0.3542001247406006, -0.24740640819072723, 0.12485750764608383, -0.3342183232307434, -0.29013070464134216, 0.2337547391653061, 0.14352154731750488, 0.7815300822257996, 0.7068458199501038, -0.7013344764709473, -0.09719415009021759, -0.8941195011138916, 0.8473559617996216, -0.6863272786140442, 0.47276926040649414, 0.3556535243988037, 0.2367784082889557, -0.3644069731235504, -0.47133970260620117, -0.28997716307640076, -0.19663077592849731, -0.07934977114200592, 0.46128323674201965, 0.0029896998312324286, 0.20673365890979767, 0.3942698538303375, 0.17706188559532166, -0.390878826379776, -0.18634754419326782, -0.5049399733543396, -0.10131941735744476, 0.6275603771209717, 0.18845604360103607, 0.24740326404571533, -0.28062647581100464, -0.8167198300361633, 0.05422809347510338, -0.6015864014625549, 0.11991110444068909, 0.4300483465194702, 0.18228669464588165, 0.12837260961532593, 0.5302526354789734, -0.18308253586292267, 0.41414883732795715, 0.13508737087249756, -0.07217343896627426, 0.18150529265403748, -0.2059890776872635, -0.18935343623161316, 0.08040643483400345, 0.9418004155158997, 0.011819787323474884, -0.26428017020225525, -0.1558576077222824, -0.5119746327400208, -0.22057899832725525, 0.4685995280742645, -0.8443391919136047, 0.1800578087568283, 0.30222082138061523, -0.281999796628952, -0.11927808821201324, 0.039488423615694046, -0.48758792877197266, 0.0040301363915205, -0.5108931064605713, 0.6229541301727295, -0.5765628814697266, -0.29154929518699646, 0.018875084817409515, 0.20175115764141083, -0.195024773478508, 0.27407318353652954, -0.7835476398468018, 0.2844175398349762, 0.36086612939834595, 1.028334140777588, -0.4118334650993347, -0.6749221682548523, -0.4018310606479645, 0.3719235956668854, -0.3171980381011963, 0.7079240679740906, -0.21563997864723206, -0.42416876554489136, -0.5300425291061401, -0.055358998477458954, -0.26398608088493347, -0.28293362259864807, 0.5056892037391663, -0.3856973350048065, -0.4919784367084503, -0.2604425549507141, -0.5779740214347839, -0.1229902058839798, -0.029072703793644905, -0.6433600783348083, 1.0451442003250122, -0.07878580689430237, -0.7095133662223816, 0.07226389646530151, -0.9015630483627319, -0.418306827545166, -0.2052173763513565, -0.2299359142780304, -0.4193113446235657, 0.192207932472229, 0.2085510939359665, 0.3689216077327728, -0.12406279891729355, 0.5507710576057434, -0.16937564313411713, -0.233982652425766, 0.06974311918020248, -0.6346319913864136, 0.6533705592155457, 0.5159996151924133, -0.36775219440460205, 0.24803271889686584, -0.501738965511322, -0.10426511615514755, 0.09116347879171371, -0.46881103515625, -0.16715547442436218, 0.16895973682403564, -0.231667160987854, 0.4576703906059265, 0.11007211357355118, -0.7503554224967957, 0.4994063079357147, -0.20306555926799774, 0.31830573081970215, 0.9379515051841736, -0.006586517207324505, 0.31007716059684753, -0.30836808681488037, 0.6221860647201538, 0.3049868643283844, 0.1310456395149231, -0.29728156328201294, -0.11684691905975342, -0.9020911455154419, -0.34446242451667786, 0.3398354649543762, 0.5725662708282471, -0.9680484533309937, -0.014523249119520187, -0.36005899310112, -0.33268946409225464, -0.9674501419067383, 0.1363549679517746, 0.24143190681934357, 0.09552782773971558, 0.666146457195282, 0.023505330085754395, -0.2867544889450073, -0.743481457233429, -0.6371559500694275, 0.06936217844486237, 0.3012334108352661, 0.03659231215715408, 0.48231059312820435, -0.13284918665885925, 0.8316076993942261, -0.337150901556015, -0.48123884201049805, -0.33072659373283386, 0.43222710490226746, 0.13394570350646973, 0.720008909702301, 0.28748786449432373, -0.7361401319503784, -0.6124670505523682, -0.1518939733505249, -0.707151472568512, -0.17254503071308136, -0.5478532910346985, -0.13624711334705353, 0.23606571555137634, 0.8013477325439453, -0.32281413674354553, 0.5181455016136169, 0.6481090784072876, -0.16963434219360352, 0.4774642288684845, -0.5272310376167297, 0.379778116941452, -1.1570738554000854, -0.39939406514167786, -0.2847772240638733, -0.36754468083381653, -0.55029296875, 0.17346049845218658, 0.2895148992538452, 0.07032697647809982, -0.5633474588394165, 0.2513326108455658, -0.8091444969177246, -0.14748729765415192, -0.3654756546020508, -0.3502037525177002, -0.31864437460899353, 0.6056521534919739, -0.04848359525203705, 0.9509286880493164, 0.5510905981063843, -0.42388030886650085, 0.07812941074371338, 0.06858845800161362, 0.06725849956274033, 0.44349992275238037, -0.5681791305541992, 0.12136941403150558, -0.26455941796302795, 0.45274096727371216, -0.7603922486305237, 0.15911762416362762, 0.2513009309768677, -0.16158199310302734, 0.5735487937927246, -0.41025984287261963, -0.6269458532333374, -0.14503327012062073, -0.05185707286000252, 0.5310590863227844, 0.448466420173645, -0.427768349647522, 0.8785890340805054, 0.26242145895957947, -0.15499134361743927, -0.2878175377845764, -0.6216105818748474, 0.00014810977154411376, 0.06591657549142838, -0.5547760725021362, 0.31833574175834656, -0.2845720052719116, 0.3250287175178528, 0.06142163649201393, -0.35435622930526733, 0.03647521138191223, -0.07768801599740982, 0.37237656116485596, 0.19100911915302277, -0.13401827216148376, -0.07260510325431824, 0.6106526851654053, -0.42523449659347534, -0.11124712228775024, -0.3193413019180298, 0.3189711272716522, -0.300557017326355, -0.5846049189567566, -0.5261319279670715, 0.45233801007270813, 0.677487313747406, -0.4697095453739166, 0.7783318161964417, 0.6488707661628723, -0.13448135554790497, -0.1807279884815216, -0.31123965978622437, -0.1471673548221588, -0.5076646208763123, 0.2902870178222656, -1.0563918352127075, -0.8336643576622009, 0.23896758258342743, -0.5095635652542114, 0.19284212589263916, 0.5064706206321716, 0.5806103348731995, -0.23529110848903656, 1.227676272392273, 0.36318713426589966, 0.318166583776474, 0.3097084164619446, -0.3466952443122864, 0.173481285572052, -1.0414831638336182, 0.06072402745485306, -0.14947085082530975, -0.2635153830051422, -0.7102687954902649, -0.5791985392570496, 0.6331379413604736, 0.1994762271642685, 0.07028576731681824, 0.48997175693511963, -0.06704460084438324, 0.39775028824806213, 0.5107494592666626, 0.12836232781410217, 0.29051846265792847, -0.09442103654146194, -0.6784645915031433, -0.29416704177856445, -0.8637313842773438, -0.3215368986129761, 0.9483178853988647, 0.31408628821372986, 1.0097870826721191, 0.10987653583288193, 1.02864408493042, 0.16538850963115692, 0.19489265978336334, -0.5088066458702087, 0.5240936875343323, -0.2960713803768158, -0.48474374413490295, -0.3892256021499634, -0.6702799797058105, -0.770962655544281, 0.6272429823875427, -0.14398203790187836, -0.44073256850242615, -0.04838895797729492, 0.5223530530929565, -0.2140364646911621, 0.7849509716033936, -0.425013929605484, 0.728010356426239, -0.5106722712516785, -0.3208785355091095, -0.17204752564430237, -0.6401139497756958, 0.21864980459213257, -0.32721731066703796, 0.15115347504615784, -0.1416923850774765, -0.01634305901825428, 0.40468767285346985, -0.3422563374042511, 0.549306333065033, -0.0038274619728326797, 0.020891567692160606, 0.19741547107696533, 0.5030794143676758, 0.5583416223526001, -0.12599912285804749, -0.10633064806461334, 0.5021082758903503, 0.2553168833255768, -0.3044663667678833, -0.5817620158195496, 0.6488547325134277, -0.724511444568634, -0.6240867972373962, -0.7546160221099854, -0.7755225896835327, -0.02896782197058201, 0.3446204662322998, 0.29451191425323486, 0.26960811018943787, -0.08762459456920624, -0.022038215771317482, 0.23095488548278809, 0.02310112863779068, 0.24933254718780518, 0.7012706995010376, -0.23484449088573456, -0.22127225995063782, 1.044793725013733, 0.4230746626853943, 0.5643253326416016, 0.20766760408878326, 0.2489895075559616, -0.33764368295669556, -0.34107503294944763, -0.6677162647247314, 0.36167246103286743, -0.4154197871685028, -0.23508229851722717, -0.7312516570091248, -0.40707433223724365, -0.43212518095970154, 0.11200908571481705, -0.7458829283714294, -0.22573935985565186, -0.06563211977481842, 0.18625934422016144, 0.024161700159311295, 0.8232712149620056, -0.4794533848762512, 0.4577394425868988, -0.853853702545166, 0.6631600856781006, 0.08037670701742172, 0.49054601788520813, -0.32958802580833435, -0.6701846122741699, -0.22816701233386993, 0.2999444007873535, -0.2654004395008087, -1.096969723701477, 0.296736478805542, -0.004930277820676565, 0.4215773344039917, 0.11836672574281693, 0.12038306891918182, 0.8412186503410339, -1.0687212944030762, 0.35002413392066956, -0.008078021928668022, -0.9903450608253479, 0.6210912466049194, -0.24593132734298706, 0.2928366959095001, 0.4474569261074066, 0.3372666835784912, -0.4917362928390503, -0.480149507522583, -0.501649022102356, -0.6778790950775146, 1.2701480388641357, 0.562651515007019, -0.006228786893188953, 0.20595933496952057, 0.2126869112253189, 0.10544636845588684, 0.09401629865169525, -0.5551804900169373, -0.46185311675071716, -0.24340377748012543, -0.03942239284515381, 0.03275485336780548, -0.2946688234806061, 0.23313899338245392, -0.33198192715644836, 1.1457871198654175, -0.01638614758849144, 0.29910141229629517, 0.190939798951149, -0.1294737458229065, -0.4842539131641388, 0.2693888247013092, 0.29745349287986755, 0.25939440727233887, -0.25147080421447754, 0.26977062225341797, 0.268016517162323, -0.3517303764820099, 0.4321855306625366, 0.045167580246925354, -0.6580618619918823, 0.10339470207691193, -0.21808774769306183, 1.0986677408218384, 0.27551573514938354, -0.14301908016204834, 0.3623191714286804, -0.05613183230161667, -0.17421424388885498, -0.09442911297082901, 0.14453786611557007, -0.1243973970413208, 0.2736137807369232, -0.0773061066865921, 0.4875635504722595, 0.10754091292619705, -0.16746142506599426, 0.24725697934627533, 0.14550291001796722, -0.415840208530426, -0.2530127465724945, 0.772283673286438, 0.042902685701847076, -0.3058765232563019, 0.4423757493495941, -0.3032471537590027, -0.6104990839958191, 0.309773325920105, 0.9678394198417664, 0.9446950554847717, -0.7260579466819763, 0.2527450919151306, 0.4531806707382202, 0.5999427437782288, -0.3993628919124603, 0.23679547011852264, -0.029424376785755157, -0.5973423719406128, -0.21060273051261902, -0.8206973075866699, -0.0804973617196083, -0.09636503458023071, -0.6543472409248352, 0.4302237629890442, -0.06473001092672348, -0.20826935768127441, -0.2555944323539734, -0.48197194933891296, -0.5412776470184326, 0.035751502960920334, -0.16953016817569733, 0.59980309009552, -0.9445772767066956, 0.9150856733322144, 0.8891057372093201, -0.42451438307762146, -0.7357451319694519, 0.2881584167480469, 0.1752389818429947, -0.5593514442443848, 0.338374525308609, -0.04474401846528053, -0.44517800211906433, 0.41673460602760315, -0.44755473732948303, -1.2327169179916382, 0.9891061782836914, 0.614565908908844, -0.4081384539604187, 0.054764971137046814, 0.24462001025676727, 0.20134149491786957, -0.01970258168876171, 0.10647585988044739, 0.5236937403678894, 0.3723095953464508, 0.18833929300308228, -0.7941720485687256, 0.006117126904428005, -0.04066556319594383, 0.193719282746315, 0.5247536301612854, -0.883656919002533, 0.8805708289146423, -0.26195454597473145, -0.38372179865837097, 0.07460770756006241, 0.7243211269378662, 0.18494759500026703, -0.1359432488679886, 0.6552338600158691, 0.43336886167526245, 0.14140817523002625, -0.030558716505765915, 0.9956070780754089, -0.2809832692146301, 0.6733838319778442, 1.2685530185699463, -0.018003789708018303, 0.8564484715461731, 0.5874805450439453, -0.2660519778728485, 0.12381996214389801, 0.3314669728279114, 0.018736418336629868, 0.37836596369743347, 0.022710159420967102, 0.021090995520353317, -0.45926833152770996, -0.014371744357049465, -0.243859201669693, 0.5409664511680603, 0.21454879641532898, -0.14188408851623535, -0.39356207847595215, 0.014907862059772015, 0.270591676235199, -0.15494059026241302, -0.12977275252342224, 0.5642404556274414, 0.1432344913482666, -0.8276724815368652, 0.46483951807022095, 0.40178200602531433, 0.3660029172897339, -0.8455774188041687, -0.20819921791553497, -0.1862267553806305, 0.003916253801435232, -0.0678214356303215, -0.6787041425704956, 0.25726431608200073, 0.09569863229990005, 0.012128789909183979, -0.589580237865448, 0.4979214072227478, -0.8960402607917786, -0.7307010889053345, 0.2563393712043762, 0.47148486971855164, 0.4740138053894043, 0.08037912845611572, -0.9529896378517151, 0.02364422380924225, 0.09719482809305191, -0.34419262409210205, 0.22287216782569885, 0.4583524763584137, -0.14147356152534485, 0.5641019344329834, 0.7944756746292114, 0.3638997972011566, 0.32258227467536926, -0.038052987307310104, 0.5317124724388123, -0.5498879551887512, -0.878972053527832, -0.8298320174217224, 0.43510860204696655, 0.328834593296051, -0.024820946156978607, 0.5201219916343689, 0.46686166524887085, 0.785098671913147, -0.09907488524913788, 0.6031335592269897, -0.0609796978533268, 0.29157063364982605, -0.7344730496406555, 0.708597719669342, -0.8553639054298401, 0.2333661913871765, -0.200478196144104, -0.8700743913650513, -0.056208882480859756, 0.5058258771896362, -0.11662469059228897, 0.13020846247673035, 0.9350980520248413, 0.8137176036834717, -0.42520737648010254, -0.0327313169836998, 0.5076513290405273, 0.4735543131828308, 0.15867067873477936, 0.2983839511871338, 0.6650677919387817, -0.4834097623825073, 0.48044610023498535, -0.2391345202922821, -0.2168523222208023, -0.10667099058628082, -0.7974398732185364, -0.6067567467689514, -0.7626537084579468, -0.11281473189592361, -0.16246768832206726, 0.1608678698539734, 1.1710954904556274, 0.6595801115036011, -0.7555586099624634, -0.36844173073768616, 0.014832514338195324, -0.11136797815561295, -0.39835381507873535, -0.15007871389389038, 0.4554539918899536, -0.6392478942871094, -0.6748424768447876, 0.46553096175193787, 0.4588075578212738, 0.33894696831703186, -0.15601779520511627, -0.3381955921649933, -0.36070865392684937, 0.13569194078445435, 0.3289982080459595, 0.040766842663288116, -0.9025222659111023, 0.10966984927654266, -0.19205045700073242, -0.11149226874113083, 0.1606130599975586, 0.8619435429573059, -0.4584316909313202, 0.8592807054519653, 0.2430538833141327, 0.8409899473190308, 0.712933361530304, 0.11638034135103226, 0.5298291444778442, -0.5986491441726685, -0.07455567270517349, -0.10652021318674088, 0.450034499168396, 0.11547668278217316, -0.3924156725406647, 0.4798192083835602, 0.2443050891160965, -0.5155277252197266, -0.522411048412323, 0.30621859431266785, -0.7344921827316284, -0.15778958797454834, 1.233502984046936, -0.2481035590171814, -0.1889302283525467, 0.20245200395584106, -0.5432345867156982, 0.6314319372177124, -0.41529279947280884, 0.5606563091278076, 0.40910977125167847, -0.3812420070171356, 0.08640346676111221, -0.8244064450263977, 0.4729045033454895, 0.6195504069328308, -0.6897714138031006, -0.13367268443107605, 0.27776166796684265, 0.34936749935150146, -0.17497430741786957, 0.7429639101028442, -0.12014947086572647, 0.00032804461079649627, -0.14094676077365875, -0.07132261246442795, -0.3203347325325012, -0.6603767275810242, -0.46855929493904114, -0.34776246547698975, -0.1332119107246399, -0.366933673620224 ]
http://arxiv.org/abs/2406.02224v2
http://arxiv.org/pdf/2406.02224v2
FedMKT: Federated Mutual Knowledge Transfer for Large and Small Language Models
2024-06-04T11:36:09
2024-06-18T08:17:00
Tao Fan, Guoqiang Ma, Yan Kang, Hanlin Gu, Yuanfeng Song, Lixin Fan, Kai Chen, Qiang Yang
cs.CL
cs.CL, cs.AI
Recent research in federated large language models (LLMs) has primarily focused on enabling clients to fine-tune their locally deployed homogeneous LLMs collaboratively or on transferring knowledge from server-based LLMs to small language models (SLMs) at downstream clients. However, a significant gap remains in the simultaneous mutual enhancement of both the server's LLM and clients' SLMs. To bridge this gap, we propose FedMKT, a parameter-efficient federated mutual knowledge transfer framework for large and small language models. This framework is designed to adaptively transfer knowledge from the server's LLM to clients' SLMs while concurrently enriching the LLM with clients' unique domain insights. We facilitate token alignment using minimum edit distance (MinED) and then selective mutual knowledge transfer between client-side SLMs and a server-side LLM, aiming to collectively enhance their performance. Through extensive experiments across three distinct scenarios, we evaluate the effectiveness of FedMKT using various public LLMs and SLMs on a range of NLP text generation tasks. Empirical results demonstrate that FedMKT simultaneously boosts the performance of both LLMs and SLMs.
[ -0.37497031688690186, -0.6092984676361084, 0.5343440771102905, 0.608582079410553, -0.2515769600868225, 0.18539252877235413, -0.5075180530548096, -0.5366342067718506, 0.09443444013595581, 0.47349271178245544, -0.5879369378089905, -0.4844112992286682, -0.36247244477272034, 0.05982323735952377, -0.2875151038169861, 0.9624688029289246, 0.03415144979953766, -0.055916693061590195, -0.6134571433067322, -0.20835623145103455, -0.432538241147995, -0.21594104170799255, -0.5587866902351379, -0.5737587213516235, 0.5841623544692993, 0.5548269152641296, 0.6953397393226624, 0.5876344442367554, 0.6197096705436707, 0.27358147501945496, 0.15810446441173553, 0.18388989567756653, -0.5620913505554199, 0.29732391238212585, -0.49252113699913025, -0.4665079712867737, -0.6472854018211365, -0.14611604809761047, 0.75944983959198, 0.7061576247215271, -0.11057766526937485, 0.3557233512401581, -0.10384050756692886, 0.7340165376663208, -0.4496616721153259, 0.1442127376794815, -0.7080993056297302, 0.08589089661836624, -0.16824528574943542, 0.056458815932273865, -0.4371907711029053, -0.3756124675273895, 0.4008270502090454, -0.6429336071014404, 0.052589431405067444, 0.1459473967552185, 0.4438784420490265, 0.1669376939535141, -0.2382180392742157, -0.12622487545013428, -0.4750399589538574, 0.671962559223175, -0.5993781089782715, 0.5357535481452942, 0.0699494257569313, 0.3334678113460541, -0.14899910986423492, -1.012336015701294, -0.5581606030464172, 0.011770911514759064, -0.24531395733356476, -0.13810665905475616, -0.11959945410490036, 0.07705626636743546, 0.0524105429649353, 0.19370858371257782, -0.3331066071987152, 0.2709585726261139, 0.0026775854639708996, -0.37568801641464233, 0.583912193775177, 0.10882338881492615, 0.23298297822475433, 0.13483044505119324, -0.5850873589515686, -0.03365355730056763, -0.779474675655365, -0.15412519872188568, 0.24387843906879425, 0.541390597820282, -0.0901724174618721, 0.46445345878601074, -0.23346146941184998, 0.7679117321968079, 0.02989804372191429, -0.33118319511413574, -0.044380154460668564, -0.46812358498573303, -0.29108425974845886, 0.007976623252034187, 0.77846360206604, 0.3882436156272888, -0.2664613723754883, -0.31958818435668945, -0.5216217637062073, -0.3952226936817169, -0.05743253231048584, -0.8241333365440369, -0.1591452807188034, -0.1633729338645935, -0.36423853039741516, -0.5043818354606628, -0.12076200544834137, -0.8222613334655762, -0.2844197452068329, -0.3393356502056122, 0.5046294331550598, -0.1472853124141693, -0.4655323326587677, 0.058590538799762726, -0.07925817370414734, -0.058302026242017746, 0.530981183052063, -0.9330543279647827, 0.37967365980148315, 1.0511455535888672, 1.1195547580718994, -0.2708022892475128, -0.35077786445617676, -0.7243666052818298, 0.3318216800689697, -0.03586561232805252, 0.6788545250892639, -0.36306098103523254, -0.10461853444576263, 0.21673211455345154, -0.13406838476657867, -0.08975095301866531, -0.19411374628543854, 0.25616541504859924, -0.691990077495575, 0.2822682559490204, -0.5166718363761902, -0.7047238945960999, 0.043355025351047516, 0.16456109285354614, -0.4431542754173279, 0.969136655330658, 0.19581250846385956, -1.0547704696655273, 0.33837607502937317, -0.8473357558250427, -0.5238003730773926, 0.09073679894208908, -0.0011396323097869754, -0.19746436178684235, 0.04700998589396477, 0.21258926391601562, 0.641658365726471, -0.31045472621917725, 0.17278370261192322, -0.4657301604747772, -0.1656234860420227, 0.11034005135297775, -0.11697583645582199, 0.484292209148407, 0.28607723116874695, -0.017655588686466217, 0.10745610296726227, -0.533505380153656, -0.04821231961250305, 0.06053653359413147, -0.5580146312713623, -0.49779263138771057, -0.2824711799621582, -0.10232657194137573, 0.2520926296710968, 0.49264079332351685, -0.4507705569267273, 0.37452128529548645, -0.5245214700698853, 0.45019397139549255, 0.8961203098297119, -0.11696168035268784, 0.8912101984024048, -0.5999852418899536, 0.3964179754257202, -0.0806925967335701, -0.03967336192727089, 0.19414818286895752, -0.2666640877723694, -0.724402666091919, -0.31995484232902527, 0.3848598003387451, 0.18222615122795105, -1.300188660621643, 0.15211603045463562, -0.6570133566856384, -0.5445712804794312, -0.3720249831676483, 0.20845186710357666, 0.1597014218568802, 0.5737343430519104, 0.029242632910609245, -0.21713612973690033, -0.4663952887058258, -0.763359010219574, -0.3700142800807953, -0.18179023265838623, -0.027982749044895172, 0.3285875618457794, 0.19103004038333893, -0.22919656336307526, 1.1093999147415161, -0.40826019644737244, -0.3624535799026489, -0.17746306955814362, 0.05472538247704506, 0.04611259326338768, 0.3884238302707672, 0.8266887664794922, -0.4261252284049988, -0.8084676861763, 0.32111048698425293, -0.3327406644821167, -0.4297153353691101, 0.014306382276117802, -0.3509264886379242, 0.30538928508758545, 0.3555709719657898, -0.5501737594604492, -0.3511110544204712, 0.8537822961807251, -0.420258492231369, 0.7647866606712341, -0.24994556605815887, -0.09555366635322571, -1.1778287887573242, 0.16577374935150146, -0.4663471281528473, -0.7592350244522095, -0.6231942176818848, 0.03354888781905174, -0.15792438387870789, 0.10277021676301956, -0.25549185276031494, 0.8622123599052429, -0.3868475556373596, -0.43657949566841125, -0.323199599981308, 0.5791512131690979, -0.23535698652267456, 0.2988564670085907, -0.31394949555397034, 0.8864920735359192, 0.4789865016937256, -0.37310072779655457, 0.6429798007011414, 0.19704832136631012, -0.08453328162431717, 0.8327506184577942, -0.19284886121749878, 0.374749094247818, 0.3696436882019043, 0.10666479170322418, -0.560121476650238, -0.197838693857193, 0.10935500264167786, -0.21601296961307526, 0.1474916636943817, -0.17760425806045532, -0.7215327620506287, -0.30379796028137207, 0.05064680427312851, 0.11819815635681152, 0.3092998266220093, -0.7058467864990234, 0.5950273871421814, 0.3168259561061859, -0.4348016381263733, -0.6219366788864136, -0.7560247778892517, -0.05975775793194771, -0.061055321246385574, -0.9970754981040955, 0.002874709665775299, -0.03264224901795387, -0.1293887495994568, 0.13208064436912537, -0.18040072917938232, -0.06942816078662872, 0.1513858288526535, 0.21974687278270721, -0.06813018769025803, -0.6310682892799377, 0.48665517568588257, 0.268825501203537, 0.03993097320199013, 0.10101860761642456, -0.7845509052276611, 0.5569350123405457, -0.3085280656814575, -0.27547720074653625, -0.12185085564851761, 0.10558222234249115, 0.5728622078895569, -0.15884459018707275, 1.0037484169006348, 0.8102267980575562, -0.039773184806108475, -0.4974142611026764, -0.6992260217666626, -0.2900177836418152, -0.5124029517173767, 0.10957786440849304, -0.5514099597930908, -1.5352327823638916, 0.49995508790016174, -0.37160348892211914, 0.2856588363647461, 0.31780654191970825, 0.5648494362831116, 0.08412223309278488, 0.5962415337562561, 0.9614152908325195, -0.29128721356391907, 0.5433387756347656, 0.29622194170951843, -0.030411267653107643, -0.47814708948135376, 0.23151865601539612, -0.37945446372032166, -0.3658071458339691, -0.33419257402420044, -0.5593380928039551, -0.037424422800540924, 0.03304465487599373, -0.04691480100154877, 0.09780480712652206, -0.21718117594718933, 0.5653303265571594, 0.5407044291496277, -0.001185951055958867, 0.5964291095733643, 0.20346291363239288, -0.73594069480896, 0.07206141203641891, -1.0072287321090698, -0.1969822496175766, 0.9819506406784058, 0.3709103465080261, 0.4622669816017151, 0.23907971382141113, 0.7417830228805542, 0.4505903124809265, 0.6691054701805115, -0.43956050276756287, 0.6714460849761963, -0.19247032701969147, -0.3581373393535614, -0.2843078374862671, -0.727009117603302, -0.3296247720718384, 0.2404351681470871, -0.35603511333465576, -0.5327675342559814, -0.10170811414718628, 0.08729247748851776, -0.23583118617534637, 0.501888632774353, -0.642175018787384, 0.6111454963684082, 0.08468931168317795, -0.46719497442245483, -0.26326635479927063, -0.6494106650352478, 0.49793943762779236, -0.3983703553676605, 0.1498086303472519, -0.17550058662891388, -0.07612935453653336, 0.7590984106063843, -0.49921220541000366, 0.577498197555542, -0.4071778357028961, -0.20930112898349762, 0.005260452162474394, 0.28401830792427063, 0.7577323317527771, 0.23583410680294037, -0.05113958939909935, 0.09244918078184128, -0.05160483717918396, -0.242171511054039, -0.648274302482605, 0.879496157169342, -0.7189257144927979, -0.5386731624603271, -0.0722053274512291, -0.8751587271690369, -0.2741139233112335, 0.5917018055915833, -0.2705759108066559, 0.0013858150923624635, -0.19056786596775055, 0.2467283308506012, 0.3197198808193207, -0.08710701018571854, 0.4366458058357239, 0.7503588199615479, -0.5235248804092407, -0.6141051650047302, 0.7715750932693481, -0.1774483323097229, 0.5840862393379211, 0.4670041799545288, 0.17377609014511108, -0.28590697050094604, -0.5137178897857666, -0.225633904337883, 0.42599695920944214, -0.7976968288421631, -0.4964021146297455, -0.7509806156158447, -0.133804053068161, -0.2972298860549927, -0.5065663456916809, -0.674828052520752, -0.5090195536613464, -0.21178394556045532, -0.11537466198205948, 0.6136925220489502, 0.5134715437889099, -0.4984697103500366, 0.646854043006897, -0.9672092795372009, -0.0985974445939064, 0.4195014536380768, 0.6590008735656738, -0.0016846198122948408, -0.20717395842075348, -0.3883472681045532, 0.1766137331724167, 0.1762566715478897, -0.42116084694862366, 0.19419138133525848, 0.22774432599544525, 0.32716238498687744, 0.3658563494682312, 0.28271371126174927, 0.6437814831733704, -0.3656924068927765, 0.6321524977684021, 0.3986847400665283, -0.9716413617134094, 0.19911810755729675, -0.44019731879234314, 0.2687387466430664, 0.5528691411018372, -0.028460510075092316, -0.834689199924469, -0.5486674904823303, -0.46287450194358826, -0.36837348341941833, 0.9659143686294556, 0.2608344256877899, -0.14503495395183563, 0.46205759048461914, 0.32041820883750916, 0.30233311653137207, 0.24528495967388153, -0.6669842600822449, 0.03398618474602699, 0.16495922207832336, -0.30606043338775635, 0.015555926598608494, -0.18354856967926025, -0.3341752886772156, -0.10192883759737015, 0.7516034841537476, -0.3785811960697174, 0.47335195541381836, 0.1807970553636551, -0.3576661944389343, -0.47265180945396423, 0.17881827056407928, 0.8938117623329163, 0.7132750153541565, -0.08927077054977417, 0.37568628787994385, 0.2712564766407013, -0.4547620117664337, 0.03390735387802124, 0.3500031530857086, -0.12193381786346436, -0.025706006214022636, 0.22283780574798584, 0.6860636472702026, 0.34920984506607056, -0.30618539452552795, 0.518447995185852, -0.32869720458984375, -0.3270995318889618, 0.19314759969711304, -0.04151012375950813, 0.3479149639606476, 0.6603490710258484, 0.12904173135757446, 0.15531520545482635, -0.5242456793785095, 0.029545778408646584, 0.4752354621887207, 0.37963321805000305, -0.21598969399929047, -0.4178706109523773, 0.46347132325172424, 0.48851752281188965, -0.1441548764705658, 0.36202898621559143, -0.046839043498039246, -0.5836777687072754, 0.08285487443208694, 0.5927844047546387, 0.7519930005073547, -0.10036349296569824, 0.28743502497673035, 0.030139755457639694, 0.3204858601093292, -0.14840152859687805, -0.004345851019024849, -0.21157212555408478, -0.8015910983085632, -0.5095411539077759, -0.9270901679992676, -0.24617445468902588, -0.16327990591526031, -0.35621657967567444, 0.1684880405664444, -0.550071656703949, -0.06262297183275223, -0.25171542167663574, 0.42323750257492065, -0.6081600785255432, -0.3969346582889557, -0.06656445562839508, 0.9763689041137695, -0.8973278403282166, 1.0386700630187988, 0.7245321869850159, -0.1741308569908142, -0.8819209933280945, -0.2095966935157776, -0.12062670290470123, -0.8377289175987244, 0.6337594985961914, -0.22520877420902252, 0.06882242858409882, 0.273635596036911, -0.4553588926792145, -0.8331184387207031, 1.4324270486831665, 0.46047312021255493, -0.5590847730636597, -0.07610553503036499, 0.6633530855178833, 0.5334760546684265, -0.5201200842857361, -0.1562759131193161, 0.4490412473678589, 0.4417688250541687, 0.16409678757190704, -1.1932246685028076, 0.2838033139705658, 0.3467997908592224, 0.03410179913043976, 0.2335043102502823, -0.716552197933197, 0.594936192035675, 0.03357546031475067, -0.2204982191324234, -0.014231736771762371, 0.9237732887268066, 0.08558296412229538, 0.25416699051856995, 0.6107960939407349, 0.6297826766967773, 0.7673662304878235, 0.014787553809583187, 0.5555253028869629, -0.24453607201576233, 0.5315130949020386, 1.253304123878479, -0.2525767385959625, 0.6909766793251038, 0.6154873967170715, -0.08297080546617508, 0.08690756559371948, 0.19330604374408722, 0.15597940981388092, 0.49506810307502747, -0.12473136186599731, -0.3410989046096802, -0.138234943151474, -0.011419721879065037, -0.40999823808670044, 0.32966122031211853, 0.1819869875907898, -0.3707805573940277, -0.40280553698539734, 0.17325276136398315, 0.18566583096981049, -0.14466002583503723, -0.17248749732971191, 0.9303585886955261, 0.333565890789032, -0.4104711711406708, 0.24918608367443085, 0.18355460464954376, 0.6267490386962891, -0.5105344653129578, 0.24516020715236664, -0.5065851807594299, 0.23656874895095825, -0.027671504765748978, -0.6297653913497925, 0.3595269024372101, -0.014904418960213661, -0.224898099899292, -0.5855751633644104, 1.2477467060089111, -0.7487822771072388, -0.2223873734474182, 0.1636827290058136, 0.7025670409202576, -0.1296207159757614, 0.0008820131770335138, -0.7041690945625305, -0.026003384962677956, -0.007628414314240217, 0.04729441925883293, 0.5009689331054688, 0.7287970781326294, 0.4234526753425598, 0.6982236504554749, 0.9137462973594666, 0.3851702809333801, 0.24776537716388702, -0.07265880703926086, 0.9129270315170288, -0.2091173678636551, -0.659382700920105, -0.6780778765678406, 0.21259760856628418, -0.16605399549007416, 0.15747803449630737, 0.807173490524292, 0.30330315232276917, 0.8620859384536743, -0.19097183644771576, 0.5009622573852539, -0.1511872559785843, 0.47637471556663513, -0.46711477637290955, 1.3157079219818115, -0.5058726668357849, 0.25852522253990173, -0.26738885045051575, -0.9185254573822021, -0.2916877567768097, 0.24631717801094055, -0.27658143639564514, -0.4032846689224243, 0.5097293257713318, 0.6767935752868652, -0.15787194669246674, 0.18335308134555817, 0.3735467195510864, 0.33387577533721924, 0.5146381258964539, 0.39537984132766724, 0.6806247234344482, -0.06524112820625305, 0.4845185875892639, -0.4299151599407196, 0.050585608929395676, -0.3994232416152954, -1.0007352828979492, -0.9022952914237976, -0.45206716656684875, -0.24555407464504242, 0.06126120314002037, 0.1591145247220993, 1.0227121114730835, 0.6425389051437378, -0.3913700580596924, -0.13251551985740662, -0.12191221117973328, 0.3776386082172394, -0.13880681991577148, -0.29421061277389526, 0.22628286480903625, -0.39804673194885254, -0.39431068301200867, 0.18828965723514557, 0.2818944454193115, -0.05999407544732094, -0.2969249188899994, -0.11635033041238785, -0.22501987218856812, -0.15891283750534058, 0.6412469148635864, 0.07351148873567581, -0.5246550440788269, -0.5283122658729553, -0.09271466732025146, -0.3313238322734833, -0.16342395544052124, 0.9450240731239319, -0.5340898036956787, 0.38601720333099365, 0.6207455396652222, 1.0471546649932861, 0.08268606662750244, -0.18144270777702332, 0.8080945014953613, -1.3693478107452393, 0.2530144453048706, 0.1878584325313568, 0.11390174925327301, 0.2990501821041107, -0.24072107672691345, 0.347074031829834, 0.48410218954086304, -0.7736225724220276, -0.9241408109664917, -0.017624858766794205, -0.8546549081802368, -0.07467401027679443, 1.1058787107467651, -0.22597496211528778, -0.07579243928194046, 0.2531270980834961, 0.11455965787172318, 0.29307395219802856, -0.45561227202415466, 0.3844967782497406, 0.6571004390716553, 0.2261703461408615, -0.2878786325454712, -0.4700225591659546, 0.7692325711250305, 0.28364136815071106, -0.7638534903526306, 0.24568426609039307, 0.45406296849250793, 0.4408281445503235, -0.05647642910480499, 0.5879554152488708, 0.17880739271640778, 0.07032105326652527, -0.0679745301604271, 0.020753614604473114, -0.2858213186264038, -0.14930184185504913, -0.1262350082397461, 0.08337883651256561, 0.06569284200668335, 0.16029056906700134 ]
http://arxiv.org/abs/2406.02208v1
http://arxiv.org/pdf/2406.02208v1
Why Only Text: Empowering Vision-and-Language Navigation with Multi-modal Prompts
2024-06-04T11:06:13
2024-06-04T11:06:13
Haodong Hong, Sen Wang, Zi Huang, Qi Wu, Jiajun Liu
cs.CV
cs.CV, cs.AI, cs.CL
Current Vision-and-Language Navigation (VLN) tasks mainly employ textual instructions to guide agents. However, being inherently abstract, the same textual instruction can be associated with different visual signals, causing severe ambiguity and limiting the transfer of prior knowledge in the vision domain from the user to the agent. To fill this gap, we propose Vision-and-Language Navigation with Multi-modal Prompts (VLN-MP), a novel task augmenting traditional VLN by integrating both natural language and images in instructions. VLN-MP not only maintains backward compatibility by effectively handling text-only prompts but also consistently shows advantages with different quantities and relevance of visual prompts. Possible forms of visual prompts include both exact and similar object images, providing adaptability and versatility in diverse navigation scenarios. To evaluate VLN-MP under a unified framework, we implement a new benchmark that offers: (1) a training-free pipeline to transform textual instructions into multi-modal forms with landmark images; (2) diverse datasets with multi-modal instructions for different downstream tasks; (3) a novel module designed to process various image prompts for seamless integration with state-of-the-art VLN models. Extensive experiments on four VLN benchmarks (R2R, RxR, REVERIE, CVDN) show that incorporating visual prompts significantly boosts navigation performance. While maintaining efficiency with text-only prompts, VLN-MP enables agents to navigate in the pre-explore setting and outperform text-based models, showing its broader applicability.
[ -0.3146470785140991, -0.5493552088737488, 1.0477265119552612, 0.23820242285728455, -0.40710335969924927, -0.17287509143352509, -0.29278135299682617, -0.5466640591621399, 0.0032193202059715986, 0.48443278670310974, -0.7700377106666565, -0.511042058467865, -0.37076860666275024, 0.23224598169326782, 0.11447850614786148, 0.7033459544181824, 0.15899942815303802, 0.17623232305049896, -0.3422744572162628, -0.16849815845489502, -0.7785912752151489, -0.3440546989440918, -0.40644875168800354, 0.057577040046453476, 0.9608965516090393, 0.30233579874038696, 0.7892137169837952, 0.5806911587715149, 0.4449231028556824, 0.25072577595710754, 0.17626570165157318, 0.5713345408439636, 0.02228856086730957, 0.3085387349128723, -0.2757296562194824, -0.33594074845314026, -0.029229959473013878, -0.33722084760665894, 0.43393605947494507, 0.31726324558258057, 0.4166782796382904, -0.2692965865135193, -0.07007427513599396, 0.5761188268661499, -0.8885097503662109, 0.5734161734580994, -0.10158234089612961, -0.02973984181880951, -0.044725801795721054, -0.6138609647750854, -0.5917101502418518, -0.08407142013311386, 0.47153440117836, -0.87322598695755, -0.3907777965068817, 0.143208846449852, 0.6876104474067688, 0.44667237997055054, -0.7620947360992432, -0.2731623947620392, -0.36222612857818604, 0.8183046579360962, 0.019712507724761963, 0.614625096321106, 0.07913818955421448, 0.5474646687507629, 0.1781539022922516, -0.5431201457977295, -0.4092942774295807, -0.38873934745788574, -0.18657813966274261, 0.4525388777256012, -0.07579656690359116, 0.22128894925117493, 0.10253308713436127, -0.18422599136829376, -0.6102887988090515, -0.010341477580368519, -0.216206893324852, -0.23068289458751678, 0.12812750041484833, 0.11342056840658188, 0.6475544571876526, -0.2729000747203827, -0.9332110285758972, -0.4132690131664276, -0.5695789456367493, 0.4740108251571655, -0.172517329454422, 0.5150399804115295, -0.23335681855678558, 0.5983195900917053, -0.1626465767621994, 1.07598078250885, -0.4222298860549927, -0.2504658102989197, 0.2630475163459778, -0.61909019947052, -0.18093976378440857, -0.011836576275527477, 0.8123286962509155, 0.7873031497001648, 0.17999248206615448, -0.0574566088616848, -0.20396240055561066, -0.03290366753935814, 0.14776556193828583, -0.4578167498111725, -0.06003645062446594, -0.19522881507873535, -0.3824782967567444, -0.004469800274819136, -0.07874816656112671, -0.9184214472770691, -0.7343942523002625, -0.40548470616340637, 0.5669218301773071, -0.4528053104877472, -0.14674362540245056, 0.16932065784931183, -0.44250917434692383, 0.37798643112182617, 0.9931736588478088, -0.4786262512207031, -0.32366105914115906, 0.4612811505794525, 0.7765746116638184, -0.21306173503398895, -0.4358787536621094, -0.6490882635116577, 0.044724225997924805, -0.06294532865285873, 0.8194023966789246, -0.8954097032546997, -0.5100935697555542, -0.023449605330824852, 0.11921830475330353, -0.25848188996315, 0.03944030776619911, 0.5404738187789917, -0.24033847451210022, 0.4662209749221802, -0.6900721192359924, 0.1959208995103836, -0.7087815403938293, 0.4234687387943268, -0.7025794386863708, 0.8626046776771545, -0.15484461188316345, -0.3226649761199951, 0.4082241952419281, -0.5895015001296997, -0.44824713468551636, 0.21785876154899597, -0.5280275940895081, 0.19269169867038727, -0.04841148108243942, 0.5145885944366455, 0.11779589205980301, -0.5966112613677979, -0.11132152378559113, 0.2785247564315796, -0.3557690382003784, -0.006982308812439442, -0.8194589018821716, 0.5427495241165161, -0.0952611118555069, -0.5964776277542114, 0.21410897374153137, -0.42764046788215637, -0.006799841299653053, -0.13205495476722717, -0.4365793466567993, -0.37609216570854187, -0.05252540111541748, 0.21050238609313965, 0.20121155679225922, 0.49176692962646484, -0.305801123380661, 0.41030263900756836, -0.24416111409664154, -0.18665947020053864, 0.6114394664764404, -0.09449873119592667, 0.6042202115058899, -0.34557846188545227, 0.5353569984436035, 0.063046395778656, 0.36413857340812683, -0.992771327495575, -1.0432305335998535, -0.6919105052947998, -0.5480849742889404, -0.12044907361268997, 0.8348699808120728, -1.3174419403076172, -0.046934377402067184, -0.3963787853717804, -0.2999064326286316, -0.4060513377189636, -0.24438486993312836, 0.6120796799659729, 0.5933184027671814, 0.5773500204086304, -0.08651954680681229, -0.2608596384525299, -0.6271263957023621, -0.14635930955410004, -0.37979695200920105, 0.08962919563055038, 0.6807820200920105, 0.2063818722963333, -0.30497032403945923, 0.6537050604820251, -0.09985430538654327, -0.16132336854934692, -0.3212875425815582, 0.07635000348091125, 0.0942348837852478, 0.2413545697927475, 0.46530818939208984, -1.241169810295105, -0.46541982889175415, 0.40381357073783875, -0.9608865976333618, -0.18680286407470703, -0.6294664740562439, 0.008389873430132866, 0.1394469141960144, 0.30734503269195557, -0.45287564396858215, 0.531540036201477, 0.3074934482574463, -0.47993719577789307, 0.46104666590690613, -0.4201810657978058, 0.7624759078025818, -0.7578798532485962, -0.07714373618364334, 0.1814839094877243, -0.3074619770050049, -0.4911399483680725, 0.34307992458343506, 0.27612942457199097, -0.20871129631996155, -0.5920780301094055, 0.7645875811576843, -0.5792609453201294, 0.11647473275661469, -0.1443004012107849, 0.28951317071914673, 0.3181016147136688, 0.6719828844070435, 0.12083212286233902, 0.8107328414916992, 0.9768901467323303, -0.5722564458847046, 0.5104464888572693, 0.15927006304264069, 0.030698956921696663, 0.8892385959625244, -0.34249165654182434, -0.16594870388507843, -0.5991591215133667, 0.09684551507234573, -1.1480762958526611, 0.11395974457263947, 0.5392781496047974, -0.22657813131809235, 0.16442929208278656, -0.1196971982717514, -0.2687965929508209, -0.015198073349893093, -0.40253517031669617, 0.3811495900154114, 0.4306037724018097, -0.6850268244743347, 1.163205862045288, -0.2692762613296509, -0.11290933191776276, -0.5840062499046326, -0.719021201133728, 0.44354313611984253, 0.1637604683637619, -0.6474978923797607, 0.18351908028125763, -0.20747633278369904, 0.04502470791339874, -0.15941423177719116, -0.035532146692276, -0.01386172417551279, -0.2018187940120697, 0.4248278737068176, 0.6014455556869507, -0.21593621373176575, 0.1464596390724182, 0.0289353895932436, -0.2943055331707001, -0.23891621828079224, -0.43928003311157227, 0.23482519388198853, -0.22721333801746368, -0.533931314945221, -0.6047698855400085, 0.45011478662490845, 0.9301108717918396, -0.5390918850898743, 0.4433877170085907, 0.49039754271507263, 0.11529786139726639, 0.2254939079284668, -0.4650205671787262, -0.11168773472309113, -0.454062819480896, 0.24689437448978424, -0.51320880651474, -0.6317775845527649, 0.027338379994034767, -0.30716800689697266, 0.20239458978176117, 0.09033545106649399, 0.3792356848716736, -0.09481325000524521, 0.8757665157318115, 0.6741194128990173, 0.4292446970939636, 0.5598556399345398, 0.17860761284828186, 0.1434141844511032, -0.5133346915245056, -0.7863571047782898, -0.3627006411552429, -0.2192678153514862, -0.29610735177993774, -0.831623911857605, 0.6995688676834106, -0.15574459731578827, 0.188069149851799, 0.1788507103919983, -0.589806079864502, 0.5840334892272949, 0.6206756830215454, 0.28999266028404236, 0.39248958230018616, -0.06480107456445694, -0.3307926058769226, -0.2131480574607849, -0.6418125033378601, -0.28444674611091614, 0.7837451696395874, -0.09710428863763809, 0.7111198902130127, 0.08901015669107437, 0.43151724338531494, 0.3237933814525604, -0.14202554523944855, -0.9394969940185547, 0.7809925675392151, 0.014050486497581005, -0.36061912775039673, -0.14022311568260193, -0.27581652998924255, -0.7071179747581482, 0.5888097286224365, -0.423419326543808, -0.669415295124054, 0.3410416841506958, -0.12553532421588898, -0.3289891183376312, 0.17948557436466217, -0.7207322120666504, 0.838151216506958, -0.515559732913971, -0.319321870803833, 0.04144399240612984, -0.7842315435409546, -0.059966154396533966, 0.060473039746284485, 0.2820601463317871, 0.1336398869752884, -0.5529494285583496, 0.13938897848129272, -0.11531860381364822, 0.7181779742240906, -0.18510283529758453, 0.12527044117450714, 0.07950620353221893, -0.012830806896090508, 0.3935234844684601, -0.11744813621044159, 0.21949069201946259, -0.047566287219524384, -0.24904637038707733, -0.1215972825884819, -0.6778863072395325, 0.5292065739631653, -0.3541278541088104, -0.4907812476158142, -0.43035992980003357, -0.3908977210521698, 0.02308737114071846, 0.3739265203475952, 0.1445039063692093, 0.8398337960243225, 0.12235842645168304, 0.2105950564146042, 0.7217392325401306, -0.6683895587921143, 0.7438482046127319, 0.505482017993927, -0.1522563248872757, -0.24090492725372314, 1.0195749998092651, -0.2539573609828949, 0.16761517524719238, 0.8714109659194946, 0.2024596482515335, -0.5823987126350403, -0.2329464703798294, -1.0529439449310303, -0.09539476037025452, -0.8727133870124817, -0.04248710721731186, -0.6605821251869202, 0.16748453676700592, 0.02925884909927845, -0.5282752513885498, -0.23748835921287537, -0.1363030970096588, -0.15889406204223633, 0.2420373111963272, 0.2473299354314804, 0.4794941842556, -0.04121057689189911, 0.11155099421739578, -0.918182373046875, 0.562968373298645, 0.5903511643409729, -0.14019633829593658, -0.15341658890247345, -0.11585897952318192, 0.05463499203324318, -0.027162082493305206, 0.09411328285932541, -1.1230863332748413, -0.08505755662918091, 0.14697091281414032, 0.6224808096885681, 0.17561064660549164, 0.050150372087955475, 0.45606178045272827, -0.5121418237686157, 1.043383240699768, 0.6001704931259155, -0.6570455431938171, 0.6424636244773865, -0.37925663590431213, 0.74104243516922, 0.6132914423942566, 0.29670262336730957, -0.5849504470825195, -0.20828737318515778, 0.05629292502999306, -0.8148012161254883, 0.5733975768089294, 0.03381775692105293, -0.05757240951061249, 0.15197421610355377, 0.012508802115917206, -0.022546416148543358, 0.2107638418674469, -0.8329737782478333, -0.367779403924942, -0.3089888095855713, -0.2011435478925705, 0.1446494311094284, -0.07954150438308716, -0.12077947705984116, -0.02533300220966339, 0.22987425327301025, -0.3170722723007202, 0.158706933259964, 0.49678778648376465, -0.36904478073120117, 0.36203789710998535, 0.3438105881214142, 0.5367375016212463, 0.5536800026893616, 0.28573817014694214, 0.14491716027259827, 0.016282349824905396, -0.3725467026233673, 0.20167846977710724, 0.0610571913421154, -0.2660292387008667, 0.20175118744373322, 0.28561025857925415, 0.9257670044898987, 0.4030463993549347, -0.8538591265678406, 0.817269504070282, -0.24020810425281525, 0.19457784295082092, 0.20017603039741516, 0.05100452899932861, -0.3333849608898163, 0.4794114828109741, 0.5957571268081665, 0.6246433258056641, 0.22782626748085022, -0.546951949596405, 0.008683640509843826, 0.2961054742336273, -0.688843846321106, -0.09464095532894135, 0.6774938106536865, 0.4723989963531494, -0.21907271444797516, 0.16512377560138702, -0.24538792669773102, -0.4206734895706177, 0.22782889008522034, 0.07427114993333817, 0.7007635235786438, -0.025591406971216202, 0.43383899331092834, 0.18717165291309357, 0.6095556616783142, -0.07473651319742203, 0.5027767419815063, -0.43940240144729614, -0.19472302496433258, -0.4708961546421051, -0.31040337681770325, -0.530987560749054, -0.5646954774856567, -0.47731852531433105, 0.18467263877391815, -0.371615469455719, -0.09243360906839371, -0.3783206343650818, -0.4809610843658447, -0.7520098090171814, 0.4188178777694702, 0.3842528164386749, 0.7975091338157654, -0.49482840299606323, 0.45781123638153076, 1.0630204677581787, -0.38002830743789673, -0.4210781455039978, -0.05456220358610153, 0.3527011275291443, -0.8852841854095459, 0.4447082281112671, 0.5045386552810669, -0.47163495421409607, -0.19357708096504211, -0.19384250044822693, -0.41005581617355347, 0.997525691986084, 0.2956242859363556, -0.5026600360870361, -0.25907713174819946, 0.07722228020429611, 0.04743274301290512, -0.13971224427223206, 0.38912105560302734, 0.22277218103408813, 0.8661829829216003, 0.3367576599121094, -0.9048598408699036, 0.1253824681043625, -0.3583373725414276, -0.07638924568891525, 0.145973339676857, -0.5003721714019775, 0.7483546733856201, -0.27854758501052856, -0.3032139539718628, 0.14418265223503113, 0.3968147337436676, 0.23412127792835236, 0.26305508613586426, 0.5393059253692627, 0.20802661776542664, 0.7720462679862976, -0.42340296506881714, 1.2221375703811646, -0.22753101587295532, -0.23040875792503357, 0.8174223303794861, 0.11655814200639725, 0.5478824377059937, 0.6319823861122131, 0.40182065963745117, 0.5046601891517639, 0.2057485282421112, 0.10630213469266891, 0.8092194199562073, -0.3538074791431427, -0.5109691023826599, -0.5121490359306335, -0.46800917387008667, -0.515333354473114, 0.49455133080482483, 0.0036747222766280174, -0.2750914692878723, -0.430775910615921, 0.40184730291366577, -0.09648878127336502, 0.05219335854053497, -0.4363405108451843, 0.647088348865509, -0.1000807136297226, -0.5965387225151062, 0.23855628073215485, -0.13619112968444824, 0.896228015422821, -0.9262270927429199, -0.14435173571109772, 0.10049406439065933, -0.23948626220226288, -0.009436785243451595, -0.8309429287910461, -0.37078359723091125, -0.05092763528227806, -0.13442569971084595, -0.6664944887161255, 0.7022976875305176, -0.39207586646080017, -0.3225763440132141, 0.19477450847625732, 0.7497876882553101, 0.04081837087869644, -0.35883086919784546, -0.6040195226669312, 0.21500501036643982, 0.25712016224861145, -0.179010272026062, 0.04158436879515648, 0.6959732174873352, 0.1321304887533188, 0.6767602562904358, 0.5569117069244385, -0.12211634963750839, 0.1080075353384018, 0.16599372029304504, 0.8988536596298218, -0.7872161269187927, -0.6079056262969971, -0.8168293237686157, 1.0114492177963257, -0.008811699226498604, -0.5466156601905823, 0.8931585550308228, 0.5072322487831116, 0.34563490748405457, -0.10348807275295258, 0.7260697484016418, 0.09409517794847488, -0.33333349227905273, -0.7573803663253784, 0.5010761618614197, -0.9896712303161621, -0.029972802847623825, -0.14617633819580078, -0.7891483902931213, -0.258254736661911, 0.5205948948860168, -0.023029344156384468, -0.12558862566947937, 0.8877288699150085, 0.7816368341445923, 0.07589909434318542, 0.040069207549095154, 0.478866308927536, -0.4172190725803375, 0.3434391915798187, 0.7750983834266663, 0.8325337171554565, -0.32903361320495605, 0.7145631313323975, 0.11750779300928116, -0.44505372643470764, -0.26067909598350525, -0.88929283618927, -0.8979011178016663, -0.6612797379493713, -0.2127605527639389, -0.04311336949467659, 0.20357270538806915, 0.7723909616470337, 0.6900244355201721, -0.21795471012592316, 0.060057271271944046, 0.13362082839012146, 0.1307658702135086, -0.15304744243621826, -0.15246587991714478, -0.03270021453499794, -0.3753610849380493, -0.642022967338562, 0.9780817627906799, 0.933753490447998, 0.22466784715652466, -0.31857073307037354, -0.12921366095542908, 0.04281843453645706, -0.06105870008468628, 0.6286259293556213, 0.24085627496242523, -0.6973773837089539, -0.16609694063663483, 0.32246649265289307, -0.31298530101776123, 0.023071764037013054, 0.7923730611801147, -0.9752078056335449, 1.0505659580230713, 0.4774298071861267, 0.790625274181366, 0.3075781762599945, -0.2745427191257477, 0.7314090728759766, -0.6674206852912903, 0.4522720277309418, 0.1383037120103836, 0.3484409749507904, 0.42590564489364624, -0.22455048561096191, 0.20616959035396576, 0.20353123545646667, -0.10577311366796494, -0.4491679072380066, 0.35940757393836975, -1.353259801864624, -0.36785560846328735, 1.1042003631591797, -0.019385578110814095, -0.39020615816116333, -0.13535183668136597, -0.8228495717048645, -0.0809229165315628, -0.5593544840812683, 0.1468573957681656, 0.47069936990737915, 0.06170012801885605, -0.4426545798778534, -0.5307157635688782, 0.38585779070854187, 0.36370372772216797, -0.7622478604316711, -0.2648182809352875, 0.7906915545463562, -0.4573728144168854, 0.22561684250831604, 0.595773458480835, 0.08673634380102158, 0.7024374008178711, -0.004126718267798424, -0.1495429277420044, -0.4305313229560852, -0.9735915660858154, -0.22894562780857086, 0.24681563675403595, -0.32735008001327515, -0.3360217809677124 ]
http://arxiv.org/abs/2406.02169v2
http://arxiv.org/pdf/2406.02169v2
A multilingual dataset for offensive language and hate speech detection for hausa, yoruba and igbo languages
2024-06-04T09:58:29
2024-06-05T20:07:50
Saminu Mohammad Aliyu, Gregory Maksha Wajiga, Muhammad Murtala
cs.CL
cs.CL, 14F05, F.2.2; I.2.7
The proliferation of online offensive language necessitates the development of effective detection mechanisms, especially in multilingual contexts. This study addresses the challenge by developing and introducing novel datasets for offensive language detection in three major Nigerian languages: Hausa, Yoruba, and Igbo. We collected data from Twitter and manually annotated it to create datasets for each of the three languages, using native speakers. We used pre-trained language models to evaluate their efficacy in detecting offensive language in our datasets. The best-performing model achieved an accuracy of 90\%. To further support research in offensive language detection, we plan to make the dataset and our models publicly available.
[ -0.4057166576385498, -0.888225257396698, -0.18456339836120605, 0.421825647354126, 0.02611089125275612, 0.17781990766525269, -0.4005866050720215, -0.8093119263648987, 0.2667681872844696, 0.6544135808944702, -0.3007935583591461, -0.443656325340271, -0.7849023342132568, 0.36300039291381836, -0.6084092855453491, 0.9903885722160339, 0.12891915440559387, -0.11712951958179474, 0.7098783850669861, -0.6634197235107422, -0.2876637279987335, -0.4613845944404602, -0.7338608503341675, 0.14815671741962433, 0.6237450242042542, 0.17333337664604187, 0.6681872606277466, 0.22363236546516418, 0.2532178461551666, 0.33508265018463135, 0.11635366082191467, 0.19861257076263428, -0.43303442001342773, 0.2688535153865814, -0.2073821723461151, -0.23960720002651215, -0.19045932590961456, -0.16717180609703064, 0.33482399582862854, 0.04065564274787903, -0.34480565786361694, -0.08464858680963516, -0.32340991497039795, 0.1515151709318161, -0.7212003469467163, -0.21990841627120972, -0.7588678598403931, -0.07659506052732468, -0.7801591753959656, 0.2586788535118103, -0.15186947584152222, -0.616950273513794, -0.29272758960723877, -0.699109673500061, 0.03334006294608116, -0.2730972468852997, 0.4301903545856476, -0.19850122928619385, -0.37622469663619995, -0.6565036773681641, -0.3916536569595337, 0.6352611184120178, -0.8871587514877319, 0.3535434603691101, 0.5983110070228577, 0.48027941584587097, 0.07936946302652359, -0.20001767575740814, -0.7419078350067139, -0.11534640192985535, -0.09598193317651749, -0.055210765451192856, -0.542772114276886, -0.32289499044418335, -0.029008887708187103, 0.20442955195903778, -0.3733377158641815, 0.605013906955719, -0.3967529833316803, -0.34260985255241394, 0.7378790378570557, -0.11875970661640167, 0.43858498334884644, -0.0988720953464508, -0.046092890202999115, 0.2815990149974823, -0.39997467398643494, -0.5138483047485352, 1.036486268043518, 0.9591342806816101, -0.26483333110809326, 0.08419854938983917, -0.28314313292503357, 0.7649621367454529, -0.5420929789543152, -0.36236372590065, 0.5495590567588806, -0.06389573216438293, 0.21731270849704742, 0.05459221825003624, 1.131737232208252, 0.29202884435653687, 0.8275107145309448, -0.13671913743019104, -0.26311352849006653, 0.3746756315231323, 0.38357120752334595, -0.5088469982147217, -0.01009430456906557, 0.0017825323157012463, -0.05459624528884888, -0.6723238825798035, -0.7195045351982117, -1.0199847221374512, -0.8108314275741577, 0.04574451595544815, 0.3193659484386444, -0.3644068241119385, -0.6643037796020508, -0.1910659521818161, -0.08114037662744522, -0.26890164613723755, 0.1531016230583191, -0.8614453673362732, 0.308356374502182, 0.3514304757118225, 0.5609301328659058, -0.2632555067539215, -0.3792934715747833, -0.3552948534488678, -0.011883036233484745, -0.20488227903842926, 0.45304638147354126, -0.5222753882408142, 0.06254152208566666, 0.304049551486969, -0.1934128701686859, 0.29437845945358276, -0.7659552097320557, 0.8740079998970032, -0.6408655047416687, 0.11752483993768692, 0.05987526476383209, -0.08701414614915848, -0.19835901260375977, 0.2633097469806671, -0.6436840295791626, 0.9947395920753479, 0.30013197660446167, -0.6926026940345764, 0.22984318435192108, -0.7433502078056335, -0.8671172857284546, 0.2584943175315857, -0.1400584578514099, -0.6203894019126892, -0.12276136875152588, 0.3371085226535797, 0.3979080319404602, -0.20827066898345947, 0.3442317843437195, -0.41849485039711, -0.12948483228683472, 0.06658586114645004, -0.3950504958629608, 1.2490218877792358, 0.5695554614067078, -0.5386875867843628, -0.04454782232642174, -0.691936194896698, -0.39972054958343506, 0.48667341470718384, -0.3455975651741028, -0.3961133062839508, 0.05141794681549072, 0.36963164806365967, 0.05667489394545555, -0.1198151558637619, -0.8917004466056824, -0.34627240896224976, 0.018513794988393784, 0.2743186354637146, 0.6498323082923889, -0.34729427099227905, -0.26749786734580994, 0.08466068655252457, 0.5428907871246338, 0.24183601140975952, 0.07120615988969803, 0.07531934976577759, -0.637341320514679, -0.31073352694511414, -0.1286269873380661, -0.14698892831802368, 0.736188530921936, -0.6849398612976074, 0.02504805661737919, -0.15198548138141632, -0.25509053468704224, -0.5173918604850769, 0.1802975982427597, 0.46460315585136414, 0.5063789486885071, 0.43616458773612976, 0.24360506236553192, -0.789800226688385, -0.9714176058769226, -0.5345572233200073, -0.2273290753364563, 0.2434670776128769, 0.12972810864448547, 0.421798437833786, -0.03987222537398338, 0.6251438856124878, -0.1398029625415802, -0.4072875380516052, -0.2467949390411377, 0.3290500044822693, 0.20193640887737274, 0.2332582324743271, 1.027763843536377, -1.0131925344467163, -0.8359575271606445, 0.19816122949123383, -0.7107231616973877, -0.3338510990142822, 0.5094861388206482, 0.18588782846927643, 0.2720097601413727, 0.28665682673454285, 0.4898923635482788, 0.4275115430355072, 0.6456860899925232, -0.14282932877540588, 0.46610766649246216, 0.45518723130226135, 0.6068899631500244, -1.1938221454620361, -0.28318527340888977, 0.16339841485023499, -0.41061028838157654, -1.0664079189300537, 0.11375423520803452, -0.12783154845237732, -0.1756017953157425, -0.5735641717910767, 0.5210521817207336, -0.07173089683055878, 0.34633341431617737, -0.18587204813957214, 0.06361617892980576, -0.3983307480812073, 0.2748858630657196, 0.13079862296581268, 0.727699875831604, 0.2794760465621948, -0.45210036635398865, 0.6183397173881531, 0.308422327041626, -0.6510181427001953, 0.801863431930542, -0.3008979260921478, -0.08354458212852478, -0.16092485189437866, -0.40639418363571167, -0.7842010259628296, -0.36871135234832764, 0.5236766338348389, -0.4824901819229126, 0.15347357094287872, -0.3072635531425476, -0.3631223738193512, -0.5153765678405762, 0.04923783615231514, 0.4154975116252899, -0.07035234570503235, -0.6453263163566589, 0.3849796652793884, 0.9266261458396912, -0.22526101768016815, -1.0018839836120605, -0.8653801679611206, 0.28177163004875183, -0.52773118019104, -0.39231011271476746, 0.07149334996938705, 0.17158493399620056, -0.3028872311115265, -0.34821224212646484, 0.4957219660282135, -0.37727463245391846, 0.2917238473892212, -0.03989441692829132, -0.048954155296087265, -0.09296824783086777, -0.09646807610988617, -0.30418673157691956, 0.6199901700019836, 0.12068615853786469, 0.07654665410518646, 0.47536522150039673, -0.0076418546959757805, 0.02623269148170948, -0.2239745855331421, 0.648383617401123, 0.321860671043396, -0.20724177360534668, 0.7390519976615906, 0.9784064888954163, -0.6690511107444763, 0.04048597812652588, -0.5861926078796387, 0.27976107597351074, -0.4295506775379181, 0.5252503156661987, -0.2862815260887146, -0.8804092407226562, 0.5847272276878357, 0.5187507271766663, 0.15726885199546814, 0.026502594351768494, 0.6499207615852356, 0.016981495544314384, 0.573350727558136, 0.3178236484527588, -0.4517812430858612, 0.5592700839042664, 0.09896260499954224, 0.3368768095970154, -0.4374224543571472, 0.027501750737428665, -0.7073126435279846, -0.1158275380730629, -0.8378871083259583, -0.17859819531440735, 0.3389451801776886, -0.13123950362205505, -0.1373194456100464, 0.6844837665557861, -0.20585282146930695, 0.5798029899597168, 0.16760237514972687, 0.11338452994823456, 0.017718078568577766, 0.40168115496635437, 0.08079752326011658, 0.031837694346904755, -0.3619321286678314, -0.283248633146286, 1.153182029724121, 0.17227569222450256, 0.4723774194717407, 0.674457311630249, 0.3539525270462036, 0.567182183265686, 0.6201812624931335, -0.5795095562934875, 0.0054983110167086124, -0.3552379012107849, -1.3721559047698975, -0.3548988401889801, -0.6312262415885925, -0.8775776624679565, 0.21429821848869324, -0.12753728032112122, -0.8718531131744385, 0.25803276896476746, 0.15364167094230652, -0.19824406504631042, 0.6734640598297119, -0.5062525272369385, 0.8412815928459167, -0.12328748404979706, -0.45469143986701965, -0.12957529723644257, -0.30771404504776, 0.5320603847503662, -0.26874640583992004, 0.842644214630127, -0.40286147594451904, 0.08952300995588303, 0.9713208079338074, -0.15635623037815094, 0.837769091129303, -0.20577208697795868, -0.32068920135498047, 0.3250032663345337, 0.011143040843307972, 0.19285760819911957, -0.29954132437705994, -0.6206121444702148, 0.4799242317676544, -0.5430440306663513, -0.3436894714832306, 0.14650143682956696, 0.5171771049499512, -0.43502116203308105, -0.14983855187892914, -0.23157647252082825, -0.5866317749023438, -0.23543566465377808, 0.3946996331214905, 0.2813657224178314, 0.5771505832672119, -0.5334610939025879, -0.051478542387485504, 0.36347827315330505, -0.3166957497596741, 0.3625515401363373, 0.591541051864624, -0.4488567113876343, -0.5156608819961548, 0.986676037311554, 0.01403168123215437, 0.14476101100444794, 0.06913688778877258, 0.24644872546195984, -0.31870320439338684, -0.6286805868148804, -0.5405601263046265, 0.054808251559734344, -0.6543518304824829, -0.22560860216617584, -0.7333102226257324, 0.10976745188236237, -0.6620563268661499, 0.027106257155537605, -0.15844428539276123, -0.1752336025238037, -0.08233625441789627, 0.15846560895442963, 0.5426435470581055, 1.0617135763168335, -0.45503857731819153, 0.8605484962463379, -0.43639686703681946, 0.7543428540229797, 0.16030371189117432, 0.4113703966140747, -0.16906435787677765, -0.7467023134231567, -0.33306169509887695, 0.278606116771698, -0.3029824197292328, -1.1239440441131592, 0.5308317542076111, 0.28254857659339905, 0.47447213530540466, 0.4369724988937378, -0.10222170501947403, 0.4106210470199585, -0.4106881618499756, 0.3038756549358368, 0.20290516316890717, -0.5152370929718018, 0.7313639521598816, -0.6923168301582336, -0.022293301299214363, 0.4107825756072998, 1.056820273399353, -0.764017641544342, -0.38772252202033997, -0.23993448913097382, -0.33522772789001465, 1.125125765800476, 0.4149065911769867, 0.2795330286026001, -0.2669084966182709, -0.19621454179286957, 0.21304446458816528, 0.2632151246070862, -0.8073430061340332, -0.46292904019355774, -0.1519005000591278, -0.1401521861553192, -0.11991190165281296, -0.1364087164402008, -0.134566992521286, -0.01829623430967331, 0.690982460975647, -0.07913167774677277, 0.138518288731575, -0.5523658990859985, -0.30809980630874634, 0.006217245478183031, 0.20612387359142303, 0.26019757986068726, 0.6433754563331604, -0.2404336780309677, -0.29670485854148865, -0.04455093666911125, -0.6443269848823547, 0.12450772523880005, 0.09598317742347717, -0.23871061205863953, 0.09568066149950027, 0.24775922298431396, 0.9324771761894226, -0.10033667087554932, -0.40135496854782104, 0.5408271551132202, -0.09934292733669281, 0.011140740476548672, -0.2110150009393692, -0.16533014178276062, 0.12427160888910294, -0.18106567859649658, 0.17324191331863403, 0.03147990629076958, 0.28687921166419983, -0.6130971908569336, 0.13901758193969727, 0.22087159752845764, -0.21814501285552979, -0.05769452452659607, 0.48319804668426514, 0.42101404070854187, -0.4976145625114441, 0.7616217136383057, -0.16508512198925018, -1.0123724937438965, 0.5676056146621704, 0.817698061466217, 0.3623100221157074, -0.6399251818656921, 0.4600103497505188, 0.7073408961296082, 0.4764147698879242, 0.51993727684021, 0.4105125367641449, -0.005326718557626009, -1.324167013168335, 0.06252073496580124, -0.7652689218521118, -0.11260379105806351, 0.5434257984161377, -0.819779098033905, 0.2716464400291443, -0.5469750165939331, -0.2574940323829651, 0.2933103144168854, -0.2878604531288147, -0.44016408920288086, 0.3646787405014038, 0.6210998892784119, 0.5835137963294983, -1.1193456649780273, 0.6250917911529541, 0.40279102325439453, -0.11248055845499039, -0.0749036893248558, -0.4568668603897095, 0.2847030758857727, -1.0545237064361572, 0.45374688506126404, 0.2105579376220703, -0.042232394218444824, 0.004529551137238741, -0.3600238859653473, -0.44586876034736633, 0.11932100355625153, 0.32546350359916687, -0.3503093421459198, 0.39339253306388855, 0.41740185022354126, 0.3505169451236725, -0.25624480843544006, 0.3027200996875763, 0.9561581015586853, 0.42266297340393066, -0.30713653564453125, -0.7451744675636292, -0.31270429491996765, -0.2834291458129883, -0.36159443855285645, 0.5917733311653137, -0.4842168092727661, 0.7137444615364075, -0.009287447668612003, -0.20814411342144012, -0.27116110920906067, 0.6351186633110046, 0.04884710907936096, -0.04119807481765747, 0.49598559737205505, 0.759856104850769, 0.6313945055007935, -0.30166390538215637, 0.7460688352584839, 0.2884298861026764, -0.14346811175346375, 1.3907687664031982, -0.03514116629958153, 0.6093712449073792, -0.040405839681625366, -0.3904251158237457, 0.32487156987190247, 0.3798917829990387, 0.1721263825893402, 0.2398051917552948, 0.27411529421806335, -0.4442235231399536, -0.06808284670114517, -0.5975522994995117, -0.25503844022750854, 0.6778917908668518, 0.8755590319633484, -0.05731065943837166, -0.39650869369506836, 0.3079383373260498, 0.49303168058395386, 0.3396058678627014, -0.3878456950187683, 0.4916217625141144, -0.2978465259075165, -0.1829354614019394, 0.7275588512420654, 0.08235528320074081, 1.0981190204620361, -0.682318925857544, 0.19111832976341248, -0.21746258437633514, 0.04605087265372276, -0.152720108628273, -0.8440214395523071, 0.527859091758728, 0.5186263918876648, 0.20965106785297394, 0.035127054899930954, 0.31498274207115173, -0.4539604187011719, -0.32685479521751404, 0.5918661952018738, -0.1209886223077774, 0.2819752097129822, -0.2257412225008011, -0.8651348948478699, 0.3388235569000244, 0.057402629405260086, 0.05980757996439934, 0.08986373990774155, 0.21084226667881012, -0.32889848947525024, 0.49155792593955994, 0.44618120789527893, 0.13153159618377686, 0.5174627304077148, 0.3762519061565399, 0.5655189752578735, -0.25007638335227966, -0.4208444356918335, -0.6059801578521729, 0.10421833395957947, -0.3273676037788391, -0.6635194420814514, 0.6574210524559021, 0.5880074501037598, 1.242647409439087, 0.02251092717051506, 0.9695596098899841, -0.38210615515708923, 0.7645386457443237, -0.14048554003238678, 0.652521550655365, -0.608780026435852, -0.28709760308265686, -0.34854674339294434, -0.5265349745750427, -0.29753726720809937, 0.584240734577179, -0.15181976556777954, -0.00932612456381321, 0.3432767391204834, 0.9449558854103088, -0.2573423981666565, 0.35601383447647095, 0.42814502120018005, 0.3803582191467285, 0.379158616065979, 0.3285602033138275, 0.833183765411377, -0.8407250046730042, 0.32893913984298706, -0.6745140552520752, -0.19512774050235748, -0.18046191334724426, -0.9976932406425476, -0.9414128661155701, -0.4482297897338867, -0.32872217893600464, -0.19556383788585663, 0.15426026284694672, 0.6137217283248901, 0.5576640963554382, -1.431956171989441, -0.6594958305358887, 0.34251171350479126, -0.03964412584900856, 0.10398077964782715, -0.14937743544578552, -0.12426041811704636, -0.024505216628313065, -0.8438822031021118, 0.7098327875137329, -0.07257174700498581, 0.04387356713414192, 0.0910119116306305, -0.030468085780739784, -0.941661536693573, -0.16350911557674408, 0.6354514360427856, 0.46041756868362427, -0.5363778471946716, 0.08678010106086731, -0.4465843141078949, -0.08602389693260193, 0.007620292715728283, 0.5468250513076782, -0.5383185148239136, 0.4257934093475342, 0.3894718885421753, 0.6193476319313049, 0.09909973293542862, -0.16980746388435364, 0.36797401309013367, -0.769758403301239, 0.5042484998703003, 0.30713486671447754, 0.3492280840873718, 0.6652098894119263, -0.36095306277275085, 0.5965760350227356, 0.21994532644748688, -0.18790626525878906, -0.8326318860054016, 0.2965458929538727, -0.35686153173446655, -0.20847126841545105, 0.7455809712409973, -0.20824025571346283, -0.1161261722445488, -0.4318820834159851, 0.16245032846927643, 0.4519504904747009, -0.4646085500717163, 0.5379244685173035, 0.6590685844421387, 0.3735921382904053, 0.19984103739261627, -0.5068175196647644, 0.42097917199134827, 0.18768541514873505, -0.8607842922210693, 0.19324560463428497, 0.5843272805213928, 0.1014377623796463, 0.33277428150177, 0.5051558613777161, -0.11977137625217438, 0.28957417607307434, -0.1490887850522995, 0.06358174979686737, -0.02774551883339882, -0.461215078830719, -0.2801286280155182, -0.004815797321498394, -0.5570094585418701, -0.14843997359275818 ]
http://arxiv.org/abs/2406.02166v1
http://arxiv.org/pdf/2406.02166v1
Whistle: Data-Efficient Multilingual and Crosslingual Speech Recognition via Weakly Phonetic Supervision
2024-06-04T09:56:05
2024-06-04T09:56:05
Saierdaer Yusuyin, Te Ma, Hao Huang, Wenbo Zhao, Zhijian Ou
cs.SD
cs.SD, cs.CL, eess.AS
There exist three approaches for multilingual and crosslingual automatic speech recognition (MCL-ASR) - supervised pre-training with phonetic or graphemic transcription, and self-supervised pre-training. We find that pre-training with phonetic supervision has been underappreciated so far for MCL-ASR, while conceptually it is more advantageous for information sharing between different languages. This paper explores the approach of pre-training with weakly phonetic supervision towards data-efficient MCL-ASR, which is called Whistle. We relax the requirement of gold-standard human-validated phonetic transcripts, and obtain International Phonetic Alphabet (IPA) based transcription by leveraging the LanguageNet grapheme-to-phoneme (G2P) models. We construct a common experimental setup based on the CommonVoice dataset, called CV-Lang10, with 10 seen languages and 2 unseen languages. A set of experiments are conducted on CV-Lang10 to compare, as fair as possible, the three approaches under the common setup for MCL-ASR. Experiments demonstrate the advantages of phoneme-based models (Whistle) for MCL-ASR, in terms of speech recognition for seen languages, crosslingual performance for unseen languages with different amounts of few-shot data, overcoming catastrophic forgetting, and training efficiency.It is found that when training data is more limited, phoneme supervision can achieve better results compared to subword supervision and self-supervision, thereby providing higher data-efficiency. To support reproducibility and promote future research along this direction, we will release the code, models and data for the whole pipeline of Whistle at https://github.com/thu-spmi/CAT upon publication.
[ -0.1378755122423172, -0.19643951952457428, -0.08972059190273285, 0.373938649892807, -0.21464574337005615, 0.03498425707221031, -0.3349345624446869, -0.6019971370697021, 0.2794469892978668, 0.5229271650314331, -0.21327318251132965, -0.5778074860572815, -0.5482157468795776, 0.036600954830646515, -0.3435229957103729, 0.7992072701454163, 0.14847685396671295, 0.39241495728492737, 0.10911465436220169, -0.02186088263988495, -0.07171792536973953, -0.7310702204704285, -0.7059393525123596, -0.39834296703338623, 0.6622632741928101, 0.31329146027565, 0.19343918561935425, 0.563929557800293, 0.18947406113147736, 0.17707960307598114, 0.047921694815158844, -0.045297734439373016, -0.2624148428440094, -0.32640567421913147, 0.20015236735343933, -0.5085406303405762, -0.4442971348762512, 0.025198159739375114, 0.6736240983009338, 0.7595047354698181, -0.26444822549819946, 0.4030446410179138, 0.3698864281177521, 0.19764986634254456, -0.5073569416999817, 0.543938398361206, -0.9179478287696838, -0.0929378941655159, -0.5102410316467285, -0.17808137834072113, -0.3763140141963959, -0.18926961719989777, 0.049595750868320465, -0.5143356919288635, 0.1792965680360794, 0.0038066848646849394, 0.6700164675712585, 0.13941095769405365, -0.320602148771286, -0.5269071459770203, -0.6180837154388428, 0.8514209985733032, -0.5969453454017639, 0.8543427586555481, 0.6573755145072937, 0.34735602140426636, 0.1284942477941513, -0.9010677933692932, -0.3240879476070404, -0.1896265745162964, -0.009537424892187119, 0.49754104018211365, -0.1498645544052124, -0.07218258082866669, 0.23616711795330048, 0.11281631886959076, -0.4349783957004547, 0.23048263788223267, -0.6110714077949524, -0.618973433971405, 0.385257363319397, -0.24665482342243195, 0.33181533217430115, -0.0329427607357502, -0.23520734906196594, -0.06298559159040451, -0.6944754123687744, 0.44680771231651306, 0.588068425655365, 0.9268872141838074, -0.41555237770080566, 0.47869306802749634, -0.12925106287002563, 0.35182297229766846, -0.08818438649177551, -0.18497207760810852, 0.38325634598731995, -0.15037810802459717, 0.024022677913308144, 0.6197625994682312, 0.8476687073707581, -0.15907689929008484, 0.43794605135917664, -0.35154181718826294, -0.026913419365882874, 0.4523186981678009, -0.12613710761070251, -0.5882520079612732, -0.43780621886253357, 0.145035058259964, -0.37242621183395386, 0.03137647733092308, -0.23177674412727356, -0.3992379307746887, -0.014149840921163559, -0.571012556552887, 0.36311331391334534, -0.4698837697505951, -0.4486147463321686, 0.05225953459739685, -0.05429740622639656, 0.24299800395965576, 0.2377883344888687, -0.8837801814079285, 0.5816859006881714, 0.616675853729248, 0.752754807472229, -0.038122497498989105, -0.5799263715744019, -0.9288844466209412, 0.21999825537204742, -0.2203272581100464, 0.5592477321624756, -0.3267970681190491, -0.3688778579235077, -0.07811490446329117, -0.08522994071245193, -0.3426617681980133, -0.6750290393829346, 0.5476351976394653, -0.2234182506799698, 0.004453886765986681, 0.05061421915888786, -0.38894179463386536, -0.013322037644684315, -0.13091368973255157, -0.4726570248603821, 0.7487170696258545, -0.44425541162490845, -0.8517550826072693, 0.4849933087825775, -0.3589286804199219, -0.607192873954773, -0.060465242713689804, -0.16086086630821228, -0.5098760724067688, -0.22459383308887482, 0.3718794286251068, 0.35850125551223755, -0.15536954998970032, 0.17128965258598328, -0.3285546600818634, -0.4555469751358032, 0.054976701736450195, -0.6046239137649536, 1.1674753427505493, 0.23665787279605865, -0.20855237543582916, -0.07863996177911758, -0.8486782908439636, 0.24635109305381775, -0.25699374079704285, -0.3869529366493225, -0.22649437189102173, -0.3062146008014679, 0.023758668452501297, 0.0808684453368187, 0.1403798907995224, -0.499756395816803, -0.04500831291079521, -0.31010279059410095, 0.24094395339488983, 0.32287731766700745, -0.24132785201072693, 0.4591352641582489, -0.19954273104667664, 0.3273210823535919, 0.04575721174478531, 0.26103684306144714, -0.016921287402510643, -0.35668379068374634, -0.6610564589500427, -0.6400395035743713, 0.8475277423858643, 0.8158205151557922, -0.7127529382705688, -0.017245976254343987, -0.1905604749917984, -0.4634268879890442, -0.9219965934753418, 0.2790450155735016, 0.750092625617981, 0.47789642214775085, 0.3442908227443695, -0.34405502676963806, -0.6904177665710449, -0.6120474934577942, -0.3422611653804779, -0.3989321291446686, -0.26322537660598755, 0.31153368949890137, 0.0729854628443718, -0.1804627627134323, 0.6091336607933044, 0.0248115211725235, -0.5678226351737976, -0.26668408513069153, 0.43278399109840393, 0.258332222700119, 0.4695354998111725, 0.3103952407836914, -0.7392880916595459, -0.7303723096847534, 0.04733958840370178, -0.6896029114723206, -0.3088970482349396, 0.10392997413873672, 0.10577524453401566, 0.17922107875347137, 0.5744078755378723, -0.38914740085601807, 0.28515633940696716, 0.5428849458694458, 0.3153899013996124, 0.6146466732025146, -0.06330407410860062, 0.06988710910081863, -0.7230013608932495, 0.13587577641010284, -0.16581356525421143, -0.2795772850513458, -0.9055019021034241, -0.3991318345069885, 0.2920660078525543, -0.3207319676876068, -0.7326938509941101, 0.38195544481277466, -0.8270763158798218, -0.0570480115711689, 0.0006121733458712697, -0.12190371751785278, -0.3973485231399536, 0.6830004453659058, 0.5142572522163391, 0.6952571272850037, 1.0453894138336182, -0.8005667328834534, 0.062238216400146484, -0.06343621760606766, -0.12688347697257996, 0.23293271660804749, -0.5800439715385437, 0.2501205801963806, 0.15131959319114685, 0.03518252074718475, -0.6144247651100159, -0.032463204115629196, 0.24324598908424377, -0.7119762301445007, 0.6246696710586548, -0.5744408369064331, -0.4389258027076721, -0.21341562271118164, -0.14229026436805725, 0.408854216337204, 0.5845880508422852, -0.6779500246047974, 0.6083576083183289, 0.7490220069885254, -0.26044127345085144, -0.6463154554367065, -0.8112001419067383, 0.04250367358326912, -0.4932612180709839, -0.352559357881546, -0.011010517366230488, 0.13293954730033875, -0.09954617917537689, -0.4124617278575897, -0.2702852487564087, -0.25280046463012695, -0.3775818347930908, 0.28784891963005066, 0.022362107411026955, -0.11692056059837341, -0.08733992278575897, -0.19293300807476044, -0.24967467784881592, -0.054893434047698975, -0.34506797790527344, 0.4701988101005554, -0.12320204824209213, -0.240006223320961, -0.7065373063087463, 0.2555665969848633, 0.31088995933532715, -0.29838550090789795, 0.15938511490821838, 0.7178021669387817, -0.27695393562316895, -0.1569788157939911, -0.6255574226379395, -0.09770293533802032, -0.4429277777671814, -0.13410313427448273, -0.7212451696395874, -0.5729682445526123, 0.7314936518669128, -0.13714498281478882, -0.09850504249334335, -0.009560255333781242, 0.4029921591281891, -0.049673888832330704, 0.9004424810409546, 0.3359980285167694, -0.3133624494075775, 0.5279682874679565, -0.1417292356491089, -0.06735092401504517, -0.7995153665542603, -0.08543100208044052, -0.548936128616333, 0.3265172839164734, -0.6119638681411743, -0.36475953459739685, 0.33275607228279114, 0.14665038883686066, 0.1008262112736702, 0.40384161472320557, -0.3018571734428406, 0.13289369642734528, 0.9180383086204529, 0.08105432242155075, 0.2886975109577179, -0.038811709731817245, -0.28029462695121765, -0.06613987684249878, -0.7883664965629578, -0.5064537525177002, 1.0895506143569946, 0.27717381715774536, 0.9958656430244446, -0.05783678963780403, 0.9679851531982422, 0.16546516120433807, -0.0760011300444603, -0.7674970626831055, 0.3794223964214325, -0.251974493265152, -0.41781073808670044, -0.41455361247062683, -0.5872325897216797, -1.0847550630569458, 0.21026836335659027, 0.058468665927648544, -0.766742467880249, 0.20463183522224426, 0.6004788279533386, -0.08073138445615768, 0.11424721032381058, -0.9922606348991394, 0.6401574015617371, -0.1704116016626358, -0.13466030359268188, 0.11566219478845596, -0.8465002775192261, 0.3530975580215454, -0.19257362186908722, 0.18498274683952332, 0.007236991543322802, 0.31690898537635803, 0.681552529335022, -0.3174208104610443, 0.9885173439979553, -0.36428651213645935, -0.07889533787965775, 0.549536406993866, -0.24502435326576233, 0.5043625831604004, -0.03401561453938484, -0.020904147997498512, 0.5772960186004639, 0.11105792224407196, -0.24661707878112793, -0.4518702030181885, 0.3627169132232666, -0.6655617952346802, -0.19052095711231232, -0.33686935901641846, -0.1435222625732422, -0.32342737913131714, 0.2659102976322174, 0.4920177161693573, 0.7618765830993652, -0.00910142995417118, -0.004067609552294016, 0.5278316140174866, -0.1286381483078003, 0.2686447501182556, 0.7857359051704407, -0.30128228664398193, -0.2598908245563507, 1.2263435125350952, 0.6823873519897461, 0.29551172256469727, 0.3807322680950165, 0.1652296632528305, -0.5691814422607422, -0.619349479675293, -0.30802854895591736, 0.2420251965522766, -0.4148508906364441, -0.04061292111873627, -0.8329073190689087, -0.21679534018039703, -0.8307562470436096, 0.24775898456573486, -0.5667164921760559, -0.44827818870544434, -0.23524606227874756, 0.3389125466346741, 0.18298496305942535, 0.14373870193958282, -0.4985399544239044, 0.3801997900009155, -0.5631468892097473, 0.6266672015190125, 0.3642469346523285, 0.27432724833488464, -0.021761348471045494, -0.5182532668113708, -0.26343947649002075, 0.24946527183055878, 0.1725863516330719, -0.4333761930465698, 0.3820136487483978, 0.3719335198402405, 0.5525872111320496, 0.18729974329471588, 0.2714194059371948, 0.9308930039405823, -0.8316044807434082, 0.3525722026824951, 0.441289484500885, -1.0416148900985718, 0.5409653186798096, -0.33648982644081116, 0.33825811743736267, 0.4417595863342285, 0.2826556861400604, -0.46076011657714844, -0.7735493183135986, -0.5421085357666016, -0.842076301574707, 0.6729085445404053, 0.14420300722122192, -0.23083314299583435, 0.13080911338329315, -0.09488987922668457, 0.21709126234054565, 0.17243589460849762, -0.5241049528121948, -0.15885967016220093, -0.4645049273967743, -0.1736277937889099, -0.07929274439811707, 0.06437431275844574, 0.01881941221654415, -0.14831559360027313, 0.7898772954940796, -0.19838790595531464, 0.29448118805885315, 0.12335539609193802, -0.41251352429389954, 0.34108346700668335, 0.35404524207115173, 0.21168889105319977, 0.21768051385879517, -0.19150519371032715, 0.3468051850795746, 0.36455851793289185, -0.7508717179298401, -0.006944085005670786, 0.2163284868001938, 0.007175855804234743, 0.07301553338766098, 0.4606643319129944, 0.7689153552055359, 0.2579710781574249, -0.38378044962882996, 0.3583798408508301, -0.21117928624153137, -0.2463020235300064, -0.5444521903991699, -0.01940765790641308, 0.10632456094026566, 0.2602301836013794, 0.31247708201408386, -0.1079544648528099, 0.40833380818367004, -0.671854555606842, 0.41483038663864136, 0.2830127477645874, -0.3814631700515747, -0.4308111071586609, 0.7615128755569458, 0.038706012070178986, -0.28893059492111206, 0.4995745122432709, -0.10981963574886322, -0.47128626704216003, 0.4019834101200104, 0.6064310073852539, 0.49038568139076233, -0.3710134029388428, 0.1188974529504776, 0.2170129120349884, 0.07917937636375427, -0.1267973929643631, 0.2784273326396942, -0.35442036390304565, -0.6449391841888428, -0.3550570011138916, -0.44090819358825684, -0.6412522792816162, 0.02941611036658287, -0.9348761439323425, 0.5253722667694092, -0.2893555462360382, -0.09533072263002396, 0.16994300484657288, 0.032371409237384796, -0.6890587210655212, 0.3722056746482849, 0.18998746573925018, 0.683373749256134, -0.8071514368057251, 1.2607306241989136, 0.28458523750305176, -0.29982319474220276, -1.1991873979568481, -0.0422363318502903, 0.16060669720172882, -0.9487619400024414, 0.6889758110046387, 0.12237278372049332, -0.5657104849815369, 0.19111041724681854, -0.2076055407524109, -0.6495521664619446, 0.7408401966094971, 0.5642351508140564, -0.653313934803009, 0.18868984282016754, 0.19908170402050018, 0.45294347405433655, -0.08622133731842041, 0.10086501389741898, 0.3905731439590454, 0.2539139688014984, 0.2794022858142853, -1.337907075881958, -0.44183892011642456, -0.28419655561447144, -0.41860759258270264, 0.032450683414936066, -0.7745782732963562, 0.4920305609703064, -0.09647717326879501, -0.41675466299057007, -0.06666607409715652, 0.6081750988960266, 0.22610679268836975, 0.5612054467201233, 0.5595679879188538, 0.26478174328804016, 0.961144745349884, -0.014538922347128391, 0.7905266284942627, -0.0678430125117302, 0.03882557526230812, 1.4092968702316284, -0.4745047390460968, 0.9866788983345032, 0.4226795732975006, -0.22078005969524384, -0.09204784035682678, 0.5180822014808655, 0.16775494813919067, 0.6844438314437866, 0.14861564338207245, -0.25701653957366943, -0.022014658898115158, -0.30124935507774353, -0.3083038330078125, 0.8068674802780151, 0.1231817975640297, 0.12242865562438965, 0.051981858909130096, 0.09945067018270493, -0.0726458877325058, -0.1231260895729065, -0.5859045386314392, 0.9016812443733215, 0.33908000588417053, -0.2471703141927719, 0.8048732876777649, -0.5285115242004395, 0.8023712038993835, -0.7886260747909546, 0.18801598250865936, 0.06145353615283966, 0.1370750218629837, -0.22899428009986877, -0.34654223918914795, 0.30842074751853943, 0.19458840787410736, -0.10670872032642365, -0.22065369784832, 0.8411771655082703, -0.840106189250946, -0.5536481142044067, 0.5083034038543701, 0.4309205114841461, 0.6597632765769958, 0.04890131950378418, -0.595485508441925, 0.06920947879552841, -0.0613582618534565, 0.1365087777376175, 0.31713056564331055, 0.5310063362121582, 0.03664814680814743, 0.6661409139633179, 0.7405670881271362, 0.6240764856338501, 0.40805354714393616, 0.6399545669555664, 0.5150761008262634, -0.43591219186782837, -0.8133801221847534, -0.4914356768131256, 0.3936193585395813, -0.0018004263984039426, -0.035197045654058456, 0.8914129734039307, 0.7672185301780701, 0.8541218042373657, 0.01329081505537033, 0.8608053922653198, 0.33288922905921936, 1.0083050727844238, -0.7983714938163757, 0.6982247829437256, -0.3892024755477905, 0.12659014761447906, -0.4734463393688202, -0.6114221215248108, -0.5994129180908203, 0.5130067467689514, -0.2628073990345001, -0.19078965485095978, 0.3689996600151062, 0.8194647431373596, -0.4231809675693512, 0.00633526686578989, 0.4066835939884186, -0.0019115307368338108, 0.14865271747112274, 0.41726112365722656, 0.7115861177444458, -0.3588756024837494, 0.8364879488945007, -0.02965058572590351, -0.07792139053344727, 0.0728779062628746, -0.5976433157920837, -0.9272892475128174, -0.5407407879829407, -0.377347469329834, -0.04221200942993164, 0.12109719216823578, 0.7238945960998535, 0.9005283713340759, -0.8282434344291687, -0.5841024518013, 0.008141309022903442, -0.10416025668382645, -0.3018827736377716, -0.16515929996967316, 0.5375872850418091, -0.3935224413871765, -0.920132040977478, 0.4555991291999817, 0.09259314835071564, 0.26949968934059143, 0.1610240638256073, -0.1999616175889969, -0.026923486962914467, -0.17152175307273865, 0.3757160007953644, 0.6918296217918396, -0.48693907260894775, -0.11832544952630997, -0.21134041249752045, 0.08216577768325806, 0.08546840399503708, 0.7640247344970703, -0.6426813006401062, 0.4605484902858734, 0.09780754894018173, 0.46030694246292114, 0.9149454236030579, -0.17835155129432678, 0.6474211812019348, -0.7573413848876953, 0.37335219979286194, 0.1676148623228073, 0.3591865003108978, 0.3915826082229614, -0.13235007226467133, 0.542275071144104, -0.04811063036322594, -0.4431881904602051, -1.1240304708480835, 0.24071434140205383, -1.013012170791626, 0.07194112241268158, 1.1080410480499268, -0.37063437700271606, -0.1769476979970932, -0.3613373041152954, -0.2721562683582306, 0.6780730485916138, -0.5041207075119019, 0.5956590175628662, 0.44998055696487427, -0.2301051914691925, -0.316379189491272, -0.4860268235206604, 0.6401816010475159, 0.20950466394424438, -0.4674101769924164, 0.29805994033813477, 0.0952410027384758, 0.2793639004230499, 0.13596773147583008, 0.9300041794776917, -0.11072531342506409, 0.20907145738601685, 0.40590086579322815, 0.1482781320810318, -0.02986215427517891, -0.5343659520149231, -0.4326227307319641, 0.05851748213171959, 0.04419216886162758, -0.5112105011940002 ]
http://arxiv.org/abs/2406.02148v1
http://arxiv.org/pdf/2406.02148v1
Synergetic Event Understanding: A Collaborative Approach to Cross-Document Event Coreference Resolution with Large Language Models
2024-06-04T09:35:47
2024-06-04T09:35:47
Qingkai Min, Qipeng Guo, Xiangkun Hu, Songfang Huang, Zheng Zhang, Yue Zhang
cs.CL
cs.CL, cs.AI
Cross-document event coreference resolution (CDECR) involves clustering event mentions across multiple documents that refer to the same real-world events. Existing approaches utilize fine-tuning of small language models (SLMs) like BERT to address the compatibility among the contexts of event mentions. However, due to the complexity and diversity of contexts, these models are prone to learning simple co-occurrences. Recently, large language models (LLMs) like ChatGPT have demonstrated impressive contextual understanding, yet they encounter challenges in adapting to specific information extraction (IE) tasks. In this paper, we propose a collaborative approach for CDECR, leveraging the capabilities of both a universally capable LLM and a task-specific SLM. The collaborative strategy begins with the LLM accurately and comprehensively summarizing events through prompting. Then, the SLM refines its learning of event representations based on these insights during fine-tuning. Experimental results demonstrate that our approach surpasses the performance of both the large and small language models individually, forming a complementary advantage. Across various datasets, our approach achieves state-of-the-art performance, underscoring its effectiveness in diverse scenarios.
[ -0.5222635865211487, -0.5623617172241211, 0.5951581597328186, -0.1957068294286728, -0.3559107184410095, 0.33512189984321594, -0.9626935124397278, -0.6933526992797852, 0.1347508430480957, 0.2528655230998993, -0.6297528147697449, -0.6105232238769531, -0.7487195730209351, -0.0387394055724144, -0.23437027633190155, 1.2271523475646973, -0.1493362933397293, 0.06580507755279541, -0.3340388238430023, -0.3030357360839844, -0.3489045798778534, -0.7590963840484619, -0.6503341197967529, -0.5877208113670349, 0.471322238445282, 0.6675091981887817, 0.46399086713790894, 0.12008801847696304, 0.5936404466629028, 0.22259092330932617, -0.11311308294534683, 0.33661550283432007, -0.5223817229270935, 0.11768947541713715, -0.5238854885101318, -0.38776111602783203, -0.294974148273468, -0.09076254814863205, 0.35946330428123474, 0.8956488370895386, -0.07233072817325592, -0.03240559995174408, 0.42381352186203003, 0.1813526153564453, -0.5578109622001648, 0.19418875873088837, -0.8319131135940552, 0.011290435679256916, -0.05203768610954285, -0.08701243996620178, -0.5027208924293518, 0.15356621146202087, 0.39585307240486145, -0.6859520077705383, 0.8339933156967163, -0.08227451145648956, 0.7140488028526306, 0.007763548754155636, -0.15344075858592987, -0.555038332939148, -0.7755455374717712, 0.9157217144966125, -0.4021315574645996, 0.3086102604866028, 0.09300114214420319, 0.08629114180803299, -0.06484690308570862, -0.8384284973144531, -0.6570851802825928, 0.11521367728710175, -0.19110597670078278, 0.1693723052740097, -0.31725889444351196, 0.07114632427692413, -0.10636963695287704, 0.31461575627326965, -0.5628198385238647, 0.3367599844932556, -0.03505407273769379, -0.1555452197790146, 0.47403568029403687, 0.3015453815460205, 0.1867276132106781, -0.027717284858226776, -0.2777668535709381, 0.06451781094074249, -0.3417680561542511, -0.16493453085422516, -0.2617686688899994, 0.4206630289554596, -0.2669506072998047, 0.20943976938724518, 0.004852417856454849, 0.30726221203804016, 0.8131245374679565, -0.03944483771920204, -0.05224619433283806, -0.7605270743370056, -0.12509030103683472, 0.18760865926742554, 0.5685938000679016, 0.3499225676059723, 0.02826310321688652, -0.6630694270133972, 0.22540685534477234, -0.09093750268220901, 0.02400091290473938, -0.5516934990882874, -0.1993936002254486, 0.24087610840797424, -0.5410407781600952, 0.07329466193914413, -0.10704509168863297, -0.6073485016822815, -0.43624305725097656, -0.6501179337501526, 0.18253952264785767, -0.49528825283050537, -0.02740168757736683, -0.15834374725818634, -0.25908493995666504, 0.18280042707920074, 0.7063368558883667, -0.7330306768417358, 0.3158315122127533, 0.8951808214187622, 0.7499266266822815, -0.3727617859840393, -0.379472941160202, -0.6854618787765503, 0.29708340764045715, 0.2054777592420578, 0.9096331596374512, -0.572950541973114, -0.5191633701324463, -0.23607192933559418, -0.1184634268283844, -0.2474529892206192, -0.5924934148788452, 0.6853669881820679, -0.4705803692340851, 0.16791382431983948, -0.24012568593025208, -0.7264701724052429, -0.10694339126348495, 0.43009448051452637, -0.4763696491718292, 0.6833128333091736, -0.314982146024704, -0.7479647994041443, 0.4975084662437439, -0.30763548612594604, -0.2961401343345642, 0.2715190649032593, -0.4346998631954193, -0.20672790706157684, 0.1250731348991394, 0.4882139563560486, 0.5143907070159912, -0.2537215054035187, 0.3956790566444397, -0.13536618649959564, 0.10362274944782257, -0.11836875975131989, 0.13226483762264252, 0.31818196177482605, -0.03412218391895294, -0.14545218646526337, 0.33863696455955505, -0.7488552927970886, -0.29597893357276917, -0.02489413693547249, -0.03613226115703583, -0.5661761164665222, 0.02323162369430065, 0.23259858787059784, 0.24781228601932526, 0.5913375020027161, -0.45152610540390015, 0.08271527290344238, -0.2380611151456833, 0.0965939536690712, 0.3725455701351166, 0.16379842162132263, 0.7240670323371887, -0.20053356885910034, 0.3132825195789337, 0.22142566740512848, 0.07750684767961502, -0.21453259885311127, -0.2665790617465973, -0.6673645377159119, -0.18149331212043762, -0.037057217210531235, 0.38468968868255615, -0.6497672200202942, 0.7242162227630615, -0.22381286323070526, -0.5994206666946411, -0.14604850113391876, 0.2571277916431427, 0.307656466960907, 0.43149566650390625, 0.3022162616252899, -0.5296213030815125, -0.8818395137786865, -0.6605855226516724, -0.2609023451805115, -0.20408548414707184, 0.12057223916053772, 0.3069636821746826, 0.4192509055137634, -0.06542668491601944, 1.0815664529800415, -0.20664221048355103, -0.5070028305053711, -0.7127576470375061, 0.642489492893219, 0.2866600751876831, 0.49080702662467957, 0.382046103477478, -0.8600589036941528, -0.44008979201316833, 0.2951108515262604, -0.48487308621406555, 0.028097141534090042, -0.3181355893611908, 0.07365666329860687, 0.01200260128825903, 0.2263524979352951, -0.3581210970878601, 0.3352908492088318, 0.6616216897964478, -0.24932272732257843, 0.5953164100646973, -0.3000105023384094, 0.057495418936014175, -1.1790629625320435, -0.04613345488905907, -0.06657599657773972, -0.26529499888420105, -0.6199389696121216, 0.1331588476896286, -0.17302267253398895, -0.013821869157254696, -0.18230222165584564, 0.41914090514183044, -0.6304401755332947, -0.012133193202316761, -0.4050963819026947, 0.5437201857566833, -0.0325533002614975, 0.34251296520233154, 0.539107084274292, 0.44332489371299744, 0.35164913535118103, -0.44741708040237427, 0.32150745391845703, 0.5078372955322266, -0.20461902022361755, 0.8513035774230957, -0.34285768866539, 0.23947350680828094, -0.004540371708571911, 0.5336598753929138, -0.659039318561554, -0.05841900408267975, -0.1109582707285881, -0.3775949776172638, 0.08354146778583527, -0.23531757295131683, -0.585560142993927, -0.07063990086317062, 0.09952068328857422, 0.34869736433029175, 0.16483761370182037, -0.901024341583252, 1.0017439126968384, 0.5266253352165222, -0.3907441794872284, -0.28358790278434753, -0.34386175870895386, 0.3383238911628723, 0.02131216786801815, -0.843237042427063, 0.5747106671333313, -0.06615117192268372, -0.30119872093200684, -0.12305335700511932, -0.13824546337127686, -0.2764899432659149, -0.17328248918056488, 0.39857104420661926, 0.16869096457958221, -0.0866645947098732, 0.0565652996301651, -0.20278717577457428, -0.15646062791347504, -0.2457324117422104, -0.26456859707832336, 0.6066901683807373, -0.14366568624973297, -0.3082689940929413, -0.36234161257743835, 0.6643615365028381, 0.24649807810783386, -0.27258941531181335, 0.8134834170341492, 0.8814873099327087, -0.4995166063308716, -0.1714145988225937, -0.7690359354019165, -0.27974241971969604, -0.3614046573638916, 0.18110401928424835, -0.33474287390708923, -1.1955925226211548, 0.8118042349815369, -0.21955879032611847, 0.04304318130016327, 0.2525205910205841, 0.873490035533905, -0.05576188117265701, 0.6217511892318726, 0.6997918486595154, -0.19872444868087769, 0.5524621605873108, 0.013812121003866196, 0.15212811529636383, -0.8654654026031494, -0.20035181939601898, -0.6766600012779236, -0.2318187654018402, -0.14435607194900513, -0.6865211129188538, 0.39725780487060547, 0.26172757148742676, 0.30778229236602783, 0.4686826765537262, -0.1562815010547638, 0.502263069152832, 0.46675190329551697, 0.19367797672748566, 0.5941208004951477, -0.24309183657169342, -0.13861647248268127, -0.170100599527359, -0.8112735152244568, -0.35873016715049744, 0.4255407154560089, -0.0761793702840805, 0.6726222038269043, -0.18325135111808777, 0.9675079584121704, 0.036122191697359085, 0.05475493520498276, -0.5433208346366882, 0.457672119140625, -0.2820718586444855, -0.4427562654018402, -0.01917421817779541, -0.16456080973148346, -1.0207388401031494, 0.24218927323818207, -0.16804513335227966, -1.1681965589523315, 0.5240166187286377, -0.050350889563560486, -0.2190207690000534, 0.27753570675849915, -0.5137237310409546, 0.7671740651130676, 0.10775348544120789, -0.3383261263370514, -0.7184416055679321, -0.6146232485771179, -0.0007905873935669661, -0.10424810647964478, 0.4168865978717804, -0.08288887143135071, 0.0382261648774147, 0.7594026327133179, -0.1361096203327179, 1.2104436159133911, 0.15314580500125885, -0.10169446468353271, 0.3918527662754059, 0.1554824858903885, 0.8644335269927979, -0.006666204892098904, -0.13909912109375, 0.13988901674747467, 0.0057696993462741375, -0.22011084854602814, -0.4727027416229248, 0.8564594388008118, -0.6173900961875916, -0.38233187794685364, -0.06386470049619675, -0.7611212730407715, -0.23267972469329834, -0.01151531096547842, 0.17798952758312225, 0.4606779217720032, -0.69114089012146, 0.039379749447107315, 0.3143549859523773, -0.027316376566886902, 0.6252537369728088, 0.7306137084960938, 0.26941898465156555, -0.3535389006137848, 0.5368531942367554, -0.07676343619823456, 0.13948532938957214, 0.427741676568985, -0.11091920733451843, 0.0566188283264637, -0.6526755094528198, -0.07331380993127823, 0.12957842648029327, -0.8977605700492859, 0.04007626324892044, -0.8716136813163757, 0.04814424738287926, -0.40033555030822754, -0.5703331828117371, -0.3006129562854767, -0.39854007959365845, -0.4951944053173065, -0.06418291479349136, 0.19015277922153473, 0.3997572660446167, -0.36965447664260864, 0.26128360629081726, -1.2557826042175293, 0.12839283049106598, -0.04206579551100731, -0.03253417834639549, 0.07595788687467575, -0.4194453954696655, -0.5126374363899231, -0.3652242422103882, -0.31559139490127563, -0.6292433142662048, 0.3894454538822174, 0.4125434160232544, 0.6418704390525818, 0.2114602029323578, 0.2572647035121918, 0.83860844373703, -0.3451477885246277, 0.9579063057899475, 0.36523330211639404, -1.1105419397354126, 0.831277072429657, -0.22498294711112976, 0.40934842824935913, 0.7615780830383301, 0.2928304970264435, -0.7363078594207764, -0.6544203162193298, -0.9718960523605347, -0.8419845700263977, 0.7301595211029053, 0.20171648263931274, -0.30151182413101196, -0.05272810906171799, 0.1883823424577713, 0.45110979676246643, -0.09821182489395142, -0.42151939868927, 0.02138986811041832, 0.41927745938301086, -0.2643687129020691, -0.3243247866630554, 0.06589256972074509, -0.20095600187778473, -0.05344796180725098, 0.4676695466041565, -0.29823994636535645, -0.06513156741857529, 0.43120917677879333, -0.5523780584335327, -0.2705513834953308, 0.47449326515197754, 0.2069089561700821, 0.8104400038719177, -0.035717882215976715, 0.3746497333049774, 0.49480244517326355, -0.3446927070617676, -0.27338773012161255, 0.23682044446468353, 0.21599127352237701, 0.11653636395931244, 0.7976289391517639, 0.4335694909095764, 0.5383026599884033, -0.6696957349777222, 0.39657774567604065, -0.17606806755065918, 0.03377743437886238, -0.12521478533744812, 0.040740057826042175, 0.01479551661759615, 0.5134481191635132, 0.4361741840839386, -0.02914109081029892, 0.060049090534448624, -0.5621985793113708, 0.5815861821174622, 0.302463561296463, -0.5236295461654663, -0.507564902305603, 0.2633906304836273, 0.5186960697174072, 0.07662177085876465, 0.24736152589321136, -0.06345831602811813, -0.6833952069282532, 0.7545772790908813, 0.43617191910743713, 0.7810117602348328, 0.0715826079249382, 0.04626660794019699, 0.5395973324775696, 0.14458130300045013, 0.263456791639328, 0.01333145797252655, -0.43386706709861755, -1.0562400817871094, -0.5078883767127991, -0.409598708152771, -0.7371559143066406, -0.19166886806488037, -0.8788803219795227, 0.04680079594254494, -0.2457200288772583, -0.05065423995256424, 0.33289963006973267, 0.24895046651363373, -0.8470714688301086, 0.11381032317876816, 0.4079890549182892, 0.8778669834136963, -0.6738169193267822, 0.9541782140731812, 0.7710197567939758, -0.43853428959846497, -0.5147219896316528, 0.026473959907889366, 0.09692464023828506, -0.6146858334541321, 0.6568948030471802, -0.15448050200939178, 0.2146335393190384, 0.01715715229511261, -0.2903129756450653, -0.6140912175178528, 1.0988601446151733, 0.07498744130134583, -1.1038538217544556, -0.13992993533611298, -0.005783417262136936, 0.5733184218406677, -0.5705124735832214, 0.2721313536167145, 0.6753696799278259, 0.37811562418937683, 0.2526923418045044, -1.4003994464874268, 0.12493530660867691, 0.26363879442214966, -0.23559993505477905, 0.21927094459533691, -0.6005449891090393, 0.3816712498664856, -0.3853456377983093, -0.4020824134349823, 0.13849389553070068, 0.7954189777374268, 0.14524580538272858, 0.5786358118057251, 0.5431956052780151, 0.5036385655403137, 0.8957208395004272, -0.06292109936475754, 0.8693603277206421, -0.3916776776313782, 0.5955808162689209, 1.6538666486740112, -0.5447239875793457, 0.6948084831237793, 0.6414330005645752, 0.03858998790383339, 0.3369365930557251, 0.42008090019226074, 0.09365080296993256, 0.4135218560695648, -0.24485661089420319, -0.6092292666435242, -0.6672800779342651, -0.4317454397678375, -0.22250674664974213, 0.2881549596786499, 0.5593032240867615, -0.43251118063926697, -0.7623899579048157, 0.24407336115837097, -0.16853857040405273, 0.13532580435276031, -0.47798338532447815, 1.1903743743896484, 0.2589537501335144, -0.6150839924812317, 0.043506819754838943, -0.20366278290748596, 0.5915140509605408, -0.3752864897251129, 0.1558961272239685, -0.0026373863220214844, 0.4325278401374817, -0.10728087276220322, -0.8488898277282715, 0.5328895449638367, 0.07083069533109665, -0.518619179725647, -0.10077788680791855, 0.9329893589019775, -0.5811462998390198, -0.2939455509185791, 0.6678904891014099, 0.6205388307571411, -0.025510817766189575, 0.007671097293496132, -0.5480161309242249, 0.3029499053955078, -0.17028096318244934, 0.23816506564617157, 0.4514372944831848, 0.5649073123931885, 0.12359873205423355, 0.3417319059371948, 0.5013373494148254, 0.011806475929915905, -0.1293228268623352, 0.2542198598384857, 0.8705417513847351, -0.5519133806228638, -0.4899318516254425, -0.6856849193572998, 0.25321537256240845, -0.16769815981388092, -0.215040922164917, 0.5163337588310242, 0.5680102705955505, 0.8677242398262024, 0.10067106783390045, 0.8578214645385742, -0.16141492128372192, 0.4091343879699707, -0.1971551477909088, 0.27943626046180725, -0.17300355434417725, 0.04865578934550285, -0.2427842617034912, -0.5700423717498779, -0.3653688132762909, 0.3192245662212372, -0.4913485050201416, -0.4199383556842804, 0.6764541268348694, 0.5314541459083557, -0.10343694686889648, 0.3962714970111847, 0.30977290868759155, 0.19210629165172577, 0.27618181705474854, 0.884525716304779, 0.8558947443962097, -0.1372031569480896, 0.6686264872550964, -0.2923915386199951, -0.3009323477745056, -0.2017614245414734, -0.9418277740478516, -0.9410571455955505, -0.8567159175872803, -0.558219313621521, -0.1675974726676941, 0.3082368075847626, 1.2245512008666992, 0.8980346322059631, -0.9634847044944763, -0.029153993353247643, 0.02473146840929985, 0.08383935689926147, -0.23031343519687653, -0.18793584406375885, 0.28159359097480774, -0.5156334042549133, -0.8454658389091492, 0.4166419208049774, 0.24157574772834778, -0.29427847266197205, 0.1867348700761795, 0.002956886077299714, -0.11722134053707123, -0.18685537576675415, 0.5581315755844116, 0.13480214774608612, -0.6836967468261719, -0.455089271068573, -0.5056471228599548, -0.1181422770023346, 0.17239004373550415, 1.0940152406692505, -0.7053082585334778, 0.33539050817489624, 0.4670540690422058, 0.6593197584152222, 0.7106114625930786, -0.132661372423172, 0.7713178396224976, -1.0065346956253052, 0.2114255726337433, 0.2567684054374695, 0.5107517838478088, 0.13936690986156464, -0.5593165159225464, 0.4024318754673004, 0.23593275249004364, -0.6014237403869629, -0.37982940673828125, 0.13836121559143066, -1.4861584901809692, -0.23587478697299957, 0.9220421314239502, -0.3208359181880951, -0.013158434070646763, -0.28066951036453247, -0.3384251892566681, 0.30969053506851196, -0.3732730746269226, 0.6360282301902771, 0.8113535046577454, -0.2885923981666565, -0.4906546175479889, 0.23756401240825653, 0.026464680209755898, 0.21879282593727112, -0.7326582074165344, 0.24471190571784973, 0.45616811513900757, 0.1892431527376175, 0.3910360038280487, 0.392765074968338, 0.12956619262695312, 0.37900441884994507, -0.10947582125663757, 0.3673027753829956, 0.21018069982528687, -0.16171498596668243, -0.25746652483940125, 0.3484974801540375, -0.07972554862499237, 0.11221852153539658 ]
http://arxiv.org/abs/2406.02143v1
http://arxiv.org/pdf/2406.02143v1
Reinforcement Tuning for Detecting Stances and Debunking Rumors Jointly with Large Language Models
2024-06-04T09:31:18
2024-06-04T09:31:18
Ruichao Yang, Wei Gao, Jing Ma, Hongzhan Lin, Bo Wang
cs.CL
cs.CL
Learning multi-task models for jointly detecting stance and verifying rumors poses challenges due to the need for training data of stance at post level and rumor veracity at claim level, which are difficult to obtain. To address this issue, we leverage large language models (LLMs) as the foundation annotators for the joint stance detection (SD) and rumor verification (RV) tasks, dubbed as JSDRV. We introduce a novel reinforcement tuning framework to enhance the joint predictive capabilities of LLM-based SD and RV components. Specifically, we devise a policy for selecting LLM-annotated data at the two levels, employing a hybrid reward mechanism to choose high-quality labels for effective LLM fine-tuning on both tasks. Results demonstrate that JSDRV improves the capabilities of LLMs in the joint tasks, not only outperforming state-of-the-art methods but also generalizing to non-LLMs accommodated as task models.
[ -0.5307357311248779, -0.8544681668281555, 0.5627806186676025, 0.2385677844285965, -0.27720165252685547, 0.24983642995357513, -0.39230111241340637, -0.4473761320114136, 0.4002079367637634, 0.741036057472229, -0.723280668258667, -0.507090151309967, -0.8581504821777344, -0.19955196976661682, -0.03468818962574005, 1.4641553163528442, -0.18100814521312714, -0.005689577199518681, -0.1882787048816681, -0.18924231827259064, -0.4049622714519501, -0.12734216451644897, -0.6614990234375, -0.31873825192451477, 0.6350289583206177, 0.3196091055870056, 0.6888640522956848, 0.6659659743309021, 0.2497216910123825, 0.30861982703208923, -0.20407144725322723, 0.4651487171649933, -0.3072534501552582, 0.456409215927124, -0.31033581495285034, -0.4463643729686737, -0.36511871218681335, -0.004625294823199511, 0.6564368605613708, 0.4004947245121002, -0.1565624475479126, 0.1830180585384369, -0.29589053988456726, 0.47207170724868774, -0.7169752717018127, 0.17771631479263306, -0.6747373342514038, -0.2804764211177826, -0.3251407742500305, -0.28414928913116455, -0.39702969789505005, -0.1771351397037506, -0.19757111370563507, -0.5249513387680054, 0.1330237239599228, 0.23449581861495972, 0.9425191283226013, 0.49693089723587036, -0.5427813529968262, -0.1033656895160675, -0.6790467500686646, 0.6652165651321411, -0.5111760497093201, 0.43584075570106506, 0.2875061333179474, 0.13255268335342407, -0.4732512831687927, -0.2261286973953247, -0.7148082852363586, -0.5147297382354736, 0.07898508757352829, 0.04677535966038704, 0.06066577509045601, 0.17574700713157654, 0.41142112016677856, 0.20916378498077393, -0.4401731789112091, 0.4740378260612488, -0.16348561644554138, -0.4369891583919525, 0.5873268842697144, 0.0023533145431429148, 0.10076013952493668, -0.11484910547733307, -0.5384947061538696, -0.28388911485671997, -0.7103589177131653, 0.206367626786232, 0.6301906704902649, 0.37532415986061096, -0.05301656574010849, 0.5607704520225525, -0.5778017044067383, 0.6372135281562805, 0.2411908656358719, -0.5665330290794373, 0.3182017207145691, -0.2764630913734436, -0.11062227934598923, 0.2299775630235672, 0.6291919350624084, 0.23588304221630096, -0.2826055586338043, -0.31775274872779846, -0.33484187722206116, 0.4639808237552643, 0.23114235699176788, -0.4674370288848877, -0.05656183138489723, 0.12073033303022385, -0.37736237049102783, -0.43011805415153503, 0.07300496101379395, -0.6298269629478455, -0.7585471272468567, -0.5404639840126038, 0.46243035793304443, -0.16151650249958038, -0.8299093842506409, 0.2498319000005722, -0.3630483150482178, -0.03958690166473389, 0.34446343779563904, -0.7693729400634766, 0.06335240602493286, 0.8522506356239319, 0.37482142448425293, -0.1644354611635208, -0.2819906771183014, -0.9378737807273865, 0.470435231924057, -0.4489009976387024, 0.9716513752937317, -0.7218322157859802, -0.29871267080307007, -0.028157677501440048, 0.11278653144836426, 0.03907901048660278, -0.33806538581848145, 0.747157096862793, -0.5250969529151917, -0.21732701361179352, -0.42092302441596985, -0.4979412257671356, 0.2028726488351822, 0.6190235018730164, -0.7772023677825928, 1.101070761680603, -0.048585906624794006, -0.8464844226837158, 0.7133464813232422, -0.3760448396205902, -0.5462064743041992, -0.07438967376947403, -0.1884850561618805, -0.496593713760376, 0.10182067006826401, 0.4483094811439514, 0.5840429663658142, -0.11412101984024048, 0.21785856783390045, -0.5189797282218933, -0.3274444043636322, 0.30852410197257996, -0.20374101400375366, 0.2797168493270874, -0.01170254498720169, -0.21016712486743927, 0.4617901146411896, -0.6690438985824585, -0.2554120123386383, -0.24954789876937866, -0.4427827298641205, -0.5968866348266602, 0.04374135285615921, -0.43937450647354126, 0.27731552720069885, 0.10119830071926117, -0.7667943835258484, 0.3549214005470276, -0.28997740149497986, -0.007979705929756165, 0.7172841429710388, 0.2245481163263321, 0.3068418800830841, -0.3428090810775757, 0.5830347537994385, 0.24275285005569458, 0.030241040512919426, -0.01881011761724949, -0.04908335208892822, -0.8081508874893188, -0.3301961123943329, 0.2151249349117279, 0.28186503052711487, -1.1121196746826172, 0.23246073722839355, -0.2078014314174652, -0.40841054916381836, -0.6097526550292969, 0.08757409453392029, 0.5321202874183655, 0.26834896206855774, 0.35949069261550903, 0.13019798696041107, -0.6167988777160645, -0.8760960102081299, -0.4285910129547119, -0.2628713846206665, 0.3562597334384918, 0.011945566162467003, 0.355469286441803, 0.16915684938430786, 0.6661792993545532, -0.23644058406352997, -0.25723493099212646, -0.271456241607666, 0.6455866098403931, 0.019398421049118042, 0.34148022532463074, 0.38025182485580444, -0.9662300944328308, -0.29834944009780884, -0.08294086903333664, -0.30177566409111023, 0.25117331743240356, -0.17660920321941376, 0.10587617754936218, 0.5179381370544434, 0.8354371786117554, -0.7402342557907104, 0.1493426263332367, 0.6707163453102112, -0.43939176201820374, 0.6236192584037781, -0.12082862854003906, 0.46720078587532043, -1.0565135478973389, -0.39564579725265503, 0.4641405940055847, -0.3843264579772949, -0.24699324369430542, -0.15866512060165405, 0.055545222014188766, 0.37547045946121216, -0.2606503963470459, 0.24994432926177979, -0.39972710609436035, -0.05666818842291832, -0.6324920058250427, -0.0070212953723967075, -0.22989487648010254, 0.35819172859191895, 0.19762080907821655, 0.579338014125824, 0.5796883702278137, -0.7117505073547363, 0.34634122252464294, -0.0209817998111248, -0.40457937121391296, 0.73393315076828, -0.4728058874607086, -0.16299234330654144, -0.3492474853992462, 0.7239539623260498, -1.041007161140442, -0.21819013357162476, 0.21083219349384308, -0.4444223940372467, 0.3669506013393402, -0.574469268321991, -0.7001841068267822, -0.49792712926864624, -0.23154138028621674, -0.19073224067687988, 0.3193233907222748, -0.7515161037445068, 0.3990047574043274, 0.6993418335914612, -0.05064190924167633, -0.9122223854064941, -0.40086084604263306, -0.24077251553535461, -0.232862189412117, -0.31614071130752563, 0.5130623579025269, 0.2690200209617615, -0.19452719390392303, 0.1252269446849823, -0.5372870564460754, 0.1422947496175766, -0.04542389139533043, 0.5740968585014343, 0.42127886414527893, -0.04116659238934517, 0.22733573615550995, 0.36889028549194336, -0.3152594268321991, 0.19754232466220856, -0.20760688185691833, 0.20579753816127777, -0.11198514699935913, -0.3545004427433014, -0.058643143624067307, -0.1536470651626587, 0.6346508264541626, -0.32269489765167236, 0.8809152245521545, 1.1344903707504272, -0.05974730849266052, -0.5631388425827026, -0.8524592518806458, -0.2261945903301239, -0.458132266998291, 0.48215726017951965, -0.49321603775024414, -1.2829383611679077, 0.07534323632717133, -0.49747806787490845, -0.04625362902879715, 0.2889179587364197, 0.6968845725059509, 0.018834074959158897, 1.2224531173706055, 0.7220310568809509, -0.24995987117290497, 0.37501493096351624, 0.11922558397054672, 0.018764927983283997, -0.7010670304298401, -0.24015241861343384, -0.6068163514137268, -0.19008027017116547, -0.663118839263916, -0.5859740376472473, 0.45230481028556824, 0.20474225282669067, -0.01135460939258337, 0.2575870454311371, -0.3038969039916992, 0.6696649193763733, 0.2900686264038086, 0.022840183228254318, 0.437633216381073, -0.1750354915857315, -0.15994784235954285, -0.09182684123516083, -0.2866547107696533, -0.1347416341304779, 0.8346558213233948, 0.4523313045501709, 0.643561601638794, 0.07509540021419525, 0.5627153515815735, 0.220402330160141, 0.14239104092121124, -0.5468222498893738, 0.6195870041847229, -0.16005273163318634, -0.566876232624054, -0.42462971806526184, -0.3361240029335022, -0.5683481097221375, 0.3996904194355011, -0.6357569694519043, -0.702563464641571, -0.11519709974527359, 0.27346521615982056, -0.1888609677553177, 0.47480231523513794, -0.17825433611869812, 0.7165069580078125, 0.0814911276102066, -0.3130626678466797, -0.9343562126159668, -0.4861505329608917, 0.63630211353302, 0.3815540373325348, 0.19460417330265045, -0.47118285298347473, 0.05100338160991669, 0.5598275661468506, -0.05441805347800255, 0.904510498046875, -0.48186635971069336, -0.17137511074543, -0.013641069643199444, -0.020460376515984535, 0.9782494306564331, 0.5304670929908752, -0.09712394326925278, -0.24082206189632416, 0.060652464628219604, -0.1381225883960724, -0.41002580523490906, 0.9135591983795166, -0.728471577167511, -0.5383791923522949, -0.5082411170005798, -0.7769768238067627, -0.6276705861091614, -0.024374334141612053, -0.03454623743891716, 0.08413347601890564, -0.17441433668136597, 0.28698912262916565, 0.9786008596420288, -0.1314171850681305, 0.31762945652008057, 0.8611218333244324, -0.12573641538619995, -0.1191026046872139, 1.0802525281906128, -0.2270682007074356, 0.0328594408929348, 0.42750099301338196, 0.02581794001162052, -0.4287359118461609, -0.7266950011253357, -0.39051657915115356, 0.18702031672000885, -0.5540029406547546, -0.22893787920475006, -0.5312228798866272, -0.06419055908918381, -0.30440428853034973, 0.1614375114440918, -0.7168930172920227, -0.3545280396938324, 0.27866366505622864, -0.28286629915237427, 0.5830464363098145, 0.6898608803749084, -0.07047633081674576, 0.04440619796514511, -0.6334416270256042, 0.5631075501441956, 0.11895827203989029, 0.5145866870880127, -0.5000995397567749, -0.3307023048400879, -0.32233214378356934, 0.08047161251306534, -0.023730356246232986, -0.4485456645488739, 0.1335078328847885, -0.44470784068107605, 0.6328730583190918, 0.11453861743211746, 0.3067018389701843, 0.6956418752670288, -0.10354246944189072, 0.5941594839096069, 0.27863121032714844, -0.79795902967453, 0.5430272817611694, -0.5826612114906311, -0.16996245086193085, 0.5410504937171936, 0.49050962924957275, -0.4502749443054199, -0.6679306626319885, -0.5067234039306641, -0.6982793211936951, 0.7738932371139526, -0.25158631801605225, -0.09971194714307785, -0.012928576208651066, 0.20852090418338776, 0.18056704103946686, 0.37398239970207214, -0.6538100242614746, -0.15361091494560242, 0.049459461122751236, 0.02507450245320797, 0.07508660107851028, -0.22182591259479523, -0.31041795015335083, -0.2794179618358612, 0.9294684529304504, -0.2671563923358917, -0.12866179645061493, -0.08740134537220001, -0.24868246912956238, -0.4624844491481781, 0.6021706461906433, 0.5171927809715271, 0.5482258796691895, -0.1065719947218895, 0.038671694695949554, 0.23824594914913177, -0.06995385140180588, 0.11336934566497803, 0.14518889784812927, -0.1299278885126114, -0.05316514894366264, 0.088072270154953, 1.3029247522354126, 0.38081979751586914, -0.5280792713165283, 0.5691801309585571, 0.013865361921489239, -0.5499957203865051, -0.2966349422931671, 0.24912945926189423, 0.15582922101020813, 0.6116829514503479, -0.023104222491383553, 0.18318355083465576, -0.16460470855236053, -0.3063957691192627, 0.0774756595492363, 0.6299383640289307, -0.36934375762939453, -0.1691635549068451, 0.5010625123977661, 0.09814221411943436, 0.30654269456863403, 0.22946061193943024, -0.4195387661457062, -0.2912701964378357, 0.5095655918121338, 0.571212112903595, 0.3464907109737396, 0.016246045008301735, 0.6660639047622681, 0.32316651940345764, 0.15097153186798096, -0.5315564274787903, 0.18051311373710632, 0.07318135350942612, -0.8983388543128967, -0.8998576998710632, -0.6998361349105835, -0.480756938457489, 0.4368557333946228, -0.7967610955238342, 0.3207520842552185, -0.42333751916885376, -0.01879330910742283, 0.16528773307800293, 0.12301888316869736, -0.362870454788208, 0.0690910741686821, 0.4547623097896576, 0.6747338771820068, -1.0441944599151611, 1.223594307899475, 0.8885990381240845, -0.39452582597732544, -0.9694132208824158, 0.21917937695980072, 0.15706585347652435, -0.5810054540634155, 0.7295821309089661, 0.05185355246067047, -0.235530823469162, -0.13752321898937225, -0.34109124541282654, -0.9348822236061096, 1.0384703874588013, 0.3738533854484558, -0.725834310054779, 0.13628347218036652, -0.06986114382743835, 0.47898590564727783, -0.15290483832359314, -0.032443076372146606, 0.5235900282859802, 0.6739218831062317, 0.2762213349342346, -1.0903866291046143, 0.1564025580883026, 0.16886059939861298, -0.005462176166474819, 0.4892047941684723, -0.808236300945282, 0.7808145880699158, -0.14232490956783295, 0.18640726804733276, -0.14070437848567963, 0.9725164175033569, 0.6018564701080322, 0.1398390233516693, 1.0614513158798218, 0.6533988118171692, 0.7862772345542908, -0.16910892724990845, 0.9687254428863525, -0.2118397355079651, 0.07430919259786606, 1.0234196186065674, -0.40382131934165955, 0.7555935978889465, 0.5034254193305969, 0.016409633681178093, 0.7208338379859924, 0.4271363615989685, -0.19160908460617065, 0.4054117500782013, 0.24945104122161865, -0.20217519998550415, -0.6945316195487976, -0.44881123304367065, -0.1652822494506836, 0.4342844486236572, 0.6139463186264038, -0.06744558364152908, -0.1976836770772934, 0.17742863297462463, 0.16388702392578125, 0.24842001497745514, -0.6647511124610901, 0.6292844414710999, -0.2173248529434204, -1.1381711959838867, 0.19266287982463837, 0.3145560622215271, 0.9180747866630554, -0.710202693939209, 0.028381070122122765, 0.23644967377185822, 0.4032716155052185, -0.19458504021167755, -0.7401936054229736, 0.2665073275566101, -0.24951308965682983, -0.32492998242378235, -0.3692931532859802, 0.9646042585372925, -0.7387064099311829, -0.18874922394752502, 0.28034672141075134, 0.3208346664905548, -0.3338090181350708, -0.036400433629751205, -0.6934747099876404, 0.440938264131546, -0.22041364014148712, -0.4324384331703186, 0.7315725684165955, 0.36581987142562866, -0.29093798995018005, 0.4834838807582855, 0.8367119431495667, 0.365459144115448, -0.2668854892253876, 0.2952163517475128, 1.0364052057266235, -0.505594789981842, -0.6590093970298767, -0.7111991047859192, 0.46730396151542664, -0.24449492990970612, -0.17702627182006836, 0.8999423384666443, 0.2264302670955658, 0.8222275376319885, 0.089547298848629, 0.808607280254364, -0.06530154496431351, 0.9032765626907349, -0.7891544103622437, 0.4190674424171448, -0.38006260991096497, 0.2329212874174118, -0.2451511025428772, -0.5575673580169678, -0.01954147033393383, 0.5327886939048767, -0.36489275097846985, -0.2180982381105423, 0.6754403710365295, 0.9895070195198059, 0.009260252118110657, 0.1651712954044342, -0.03476553410291672, 0.3221072852611542, 0.25597500801086426, 0.31346073746681213, 0.7788235545158386, 0.012366019189357758, 0.6977269053459167, -0.20157723128795624, 0.04856874421238899, -0.1572614461183548, -1.0187678337097168, -1.1945620775222778, -0.5290199518203735, -0.6263443827629089, -0.738660991191864, 0.2747955918312073, 1.016539216041565, 0.8719252347946167, -0.7103583216667175, 0.07861749827861786, -0.18702472746372223, 0.1725553274154663, -0.4306560754776001, -0.2010062038898468, 0.11621362715959549, -0.5112027525901794, -0.5164922475814819, 0.806126594543457, 0.2880931496620178, -0.17733775079250336, -0.3599053621292114, -0.2849726974964142, -0.14740605652332306, -0.07714720815420151, 0.2896955907344818, 0.4008849561214447, -0.7818575501441956, -0.39517539739608765, -0.29622742533683777, -0.11686813086271286, -0.3621038496494293, 1.0302046537399292, -0.8758026957511902, 0.09242478758096695, 0.428628534078598, 0.6999417543411255, 0.8376704454421997, 0.04745236411690712, 0.5792549252510071, -1.201783537864685, 0.44005781412124634, 0.024497488513588905, 0.24740560352802277, 0.14968271553516388, -0.3571045696735382, 0.1996312290430069, 0.09573761373758316, -0.3960466980934143, -0.9887208938598633, 0.3117397427558899, -1.029496669769287, -0.5110357403755188, 1.3512696027755737, 0.04329261556267738, -0.19492791593074799, -0.14077338576316833, -0.03462102264165878, 0.3491787612438202, -0.4572286009788513, 0.711393415927887, 0.7684504985809326, 0.026732757687568665, -0.25559091567993164, -0.46271979808807373, 0.9011304974555969, 0.5055829286575317, -0.632660984992981, 0.2034761607646942, 0.5024042725563049, 0.29679057002067566, 0.07171764224767685, 0.6274190545082092, 0.08250197023153305, 0.3769918382167816, -0.034614477306604385, -0.027750881388783455, -0.5484923124313354, -0.4622225761413574, -0.044045258313417435, 0.12957388162612915, 0.1946813464164734, -0.09984217584133148 ]
http://arxiv.org/abs/2406.02135v1
http://arxiv.org/pdf/2406.02135v1
Robust Interaction-based Relevance Modeling for Online E-Commerce and LLM-based Retrieval
2024-06-04T09:24:04
2024-06-04T09:24:04
Ben Chen, Huangyu Dai, Xiang Ma, Wen Jiang, Wei Ning
cs.IR
cs.IR, cs.CL
Semantic relevance calculation is crucial for e-commerce search engines, as it ensures that the items selected closely align with customer intent. Inadequate attention to this aspect can detrimentally affect user experience and engagement. Traditional text-matching techniques are prevalent but often fail to capture the nuances of search intent accurately, so neural networks now have become a preferred solution to processing such complex text matching. Existing methods predominantly employ representation-based architectures, which strike a balance between high traffic capacity and low latency. However, they exhibit significant shortcomings in generalization and robustness when compared to interaction-based architectures. In this work, we introduce a robust interaction-based modeling paradigm to address these shortcomings. It encompasses 1) a dynamic length representation scheme for expedited inference, 2) a professional terms recognition method to identify subjects and core attributes from complex sentence structures, and 3) a contrastive adversarial training protocol to bolster the model's robustness and matching capabilities. Extensive offline evaluations demonstrate the superior robustness and effectiveness of our approach, and online A/B testing confirms its ability to improve relevance in the same exposure position, resulting in more clicks and conversions. To the best of our knowledge, this method is the first interaction-based approach for large e-commerce search relevance calculation. Notably, we have deployed it for the entire search traffic on alibaba.com, the largest B2B e-commerce platform in the world.
[ -0.2790868878364563, -0.9853051900863647, 0.7144875526428223, 0.1536470204591751, -0.22747759521007538, 0.03443983569741249, -0.16710686683654785, -0.9356697201728821, 0.4089150130748749, 0.13175159692764282, -0.420789510011673, -0.2906748950481415, -0.28057861328125, -0.13951577246189117, -0.3499401807785034, 0.5708240270614624, 0.20421545207500458, -0.24226246774196625, -0.5217169523239136, -0.2370922714471817, -0.000023914288249216042, -0.7231864929199219, -0.5878371000289917, 0.07878702133893967, 0.5985510349273682, -0.2299702763557434, 0.8160130977630615, 0.48048797249794006, 0.7464300990104675, 0.3768974840641022, -0.3954046070575714, 0.3810459077358246, -0.5619528889656067, 0.3807307481765747, -0.13980694115161896, -0.3235137164592743, -0.5783387422561646, -0.1270454376935959, 0.20670422911643982, 0.7779597043991089, -0.2759341597557068, 0.017600778490304947, 0.10592665523290634, 0.24005286395549774, -0.6670944094657898, -0.021123867481946945, -0.7566995024681091, -0.09160348027944565, 0.020838357508182526, -0.30001404881477356, -0.5080927610397339, -0.058749664574861526, 0.27950650453567505, -0.7189883589744568, -0.13942427933216095, 0.23864132165908813, 1.0170862674713135, 0.09793782234191895, -0.6365728974342346, -0.2527937889099121, -0.6091729998588562, 0.9003685116767883, -0.7351716160774231, 0.5529726147651672, 0.3257993757724762, 0.2308412343263626, -0.25394144654273987, -0.912418007850647, -0.2470254749059677, -0.4309569299221039, -0.22167439758777618, 0.2875731289386749, -0.06309308111667633, 0.2658572494983673, 0.3323966860771179, 0.3749200403690338, -0.3413655459880829, 0.08372128754854202, 0.05101846903562546, -0.03719671070575714, 0.518795371055603, 0.19787836074829102, 0.18494682013988495, 0.13008663058280945, -0.41085299849510193, 0.0953124389052391, -0.5690861344337463, 0.3051545321941376, 0.3744218945503235, 0.3452228605747223, -0.03720661252737045, 0.47950980067253113, -0.4142955243587494, 0.8505367636680603, 0.2086629718542099, -0.08411098271608353, 0.0824725329875946, -0.5579703450202942, -0.03393331915140152, -0.3191090226173401, 0.6050770282745361, 0.350343257188797, -0.2872669994831085, -0.18592438101768494, -0.17030693590641022, -0.20763623714447021, 0.4931722581386566, -0.6947757601737976, 0.15243591368198395, 0.22053614258766174, -0.7583702206611633, -0.24595528841018677, 0.22993586957454681, -0.8194704651832581, -0.10934608429670334, -0.19656497240066528, 0.6918376684188843, 0.059526942670345306, 0.030684126541018486, -0.004116115625947714, 0.23702247440814972, 0.2612161934375763, 0.34168538451194763, -0.6708783507347107, 0.2580203413963318, 0.619897723197937, 0.747283935546875, -0.20669743418693542, 0.14118415117263794, -0.7110891342163086, 0.10808705538511276, -0.010570242069661617, 0.42416492104530334, -0.6220793724060059, 0.008069759234786034, 0.21017953753471375, -0.253577321767807, -0.0034370634239166975, -0.4394613206386566, 0.6248809695243835, -1.1892642974853516, -0.07642868161201477, 0.03455225005745888, -0.6934987306594849, -0.1848512589931488, 0.5709803104400635, -0.913040816783905, 0.9796940088272095, -0.10399311035871506, -0.6958129405975342, 0.24722644686698914, -0.5572237372398376, -0.4708220958709717, -0.01264217495918274, -0.039658963680267334, -0.7306623458862305, 0.05035237595438957, 0.004935522563755512, 0.42116716504096985, -0.2088245004415512, 0.20128928124904633, -0.7332869172096252, -0.574641227722168, 0.31022775173187256, -0.4746020436286926, 0.4511900842189789, 0.26636457443237305, -0.2875027358531952, 0.06779526174068451, -0.7133597135543823, 0.08992300182580948, 0.005440061446279287, -0.46481946110725403, -0.27250781655311584, 0.1364394873380661, 0.24094624817371368, 0.3531583845615387, 0.6328878402709961, -0.36334502696990967, 0.03246859833598137, -0.4509066939353943, 0.3925469219684601, 0.44954395294189453, 0.033563967794179916, 0.21073901653289795, -0.3059743046760559, 0.41405153274536133, -0.0029836606699973345, 0.2220194786787033, -0.3090580105781555, -0.5329344868659973, -0.5824587941169739, -0.009380979463458061, 0.48562973737716675, 0.5222238898277283, -0.6612111330032349, 0.6228119730949402, -0.41174301505088806, -0.32039761543273926, -0.23923730850219727, 0.061522990465164185, 0.09036555886268616, 0.3894038498401642, 0.4466264843940735, -0.4043042063713074, -0.24200260639190674, -0.7855803370475769, -0.38773313164711, -0.21719993650913239, -0.16594348847866058, 0.5925266146659851, 0.054445333778858185, -0.18709412217140198, 0.824835479259491, -0.3695022165775299, -0.17686064541339874, -0.25203630328178406, -0.016969159245491028, 0.35267144441604614, 0.22484038770198822, 0.3897029459476471, -1.2782368659973145, -0.5314857363700867, 0.06670358031988144, -0.5018709301948547, 0.014021920040249825, -0.1715826392173767, -0.17789511382579803, 0.014993652701377869, 0.3723861277103424, -0.4640207290649414, 0.712114155292511, 0.1695275753736496, -0.06346582621335983, 0.15367576479911804, -0.2975861430168152, 0.36719006299972534, -1.0496563911437988, 0.33005210757255554, 0.22689293324947357, -0.4653007984161377, -0.6674833297729492, 0.32428669929504395, 0.08684337884187698, 0.06729267537593842, -0.6523573994636536, 0.41046226024627686, -0.23069295287132263, -0.25503671169281006, -0.23308835923671722, 0.24750079214572906, 0.37587770819664, 0.4813656806945801, -0.0004238176916260272, 0.6599858403205872, 0.1531643271446228, -0.8834991455078125, 0.2765761911869049, 0.2625199258327484, -0.23559102416038513, 0.5354049205780029, -0.4675995111465454, -0.006011940538883209, 0.24715466797351837, 0.01083255372941494, -0.743442177772522, -0.19714106619358063, 0.11571642756462097, -0.3664416968822479, 0.24387305974960327, -0.16167733073234558, -0.6875747442245483, -0.2221696525812149, -0.4124097228050232, 0.6592941880226135, 0.3213484585285187, -0.657084584236145, 0.9902809262275696, 0.25275975465774536, -0.14108119904994965, -0.41810858249664307, -0.7245793342590332, 0.1521947830915451, -0.2724003493785858, -0.758825421333313, 0.7154715061187744, -0.2019743174314499, -0.046312544494867325, -0.173142209649086, -0.05241365730762482, -0.20014630258083344, 0.5086363554000854, -0.2447035312652588, 0.3280237317085266, 0.015499626286327839, -0.062074944376945496, -0.01842910796403885, 0.11380074918270111, -0.10625433921813965, 0.09913450479507446, 0.39951157569885254, 0.08539310842752457, -0.7441960573196411, -0.487101674079895, 0.4484643042087555, 0.47017714381217957, -0.1478843241930008, 0.8178824782371521, 0.4285113215446472, -0.5467602014541626, 0.20020990073680878, -0.5486578345298767, -0.3289089798927307, -0.5490202903747559, 0.5075461268424988, -0.2913821339607239, -0.8654152750968933, 0.7509828805923462, -0.16016486287117004, -0.21460914611816406, 0.14536568522453308, 0.40169596672058105, -0.011686919257044792, 1.214815616607666, 0.5384684801101685, 0.05666663870215416, 0.4849770963191986, 0.2707103192806244, 0.667876124382019, -0.9471496343612671, -0.5447310209274292, -0.3708338141441345, -0.365254282951355, -0.8043551445007324, -0.08669888973236084, 0.1884981244802475, 0.15669205784797668, -0.1587594598531723, 0.31797266006469727, -0.27049559354782104, 0.09805819392204285, 0.5760110020637512, 0.5030395984649658, 0.22897565364837646, 0.1536029577255249, -0.15866601467132568, -0.1531064808368683, -0.5199154019355774, -0.2630522847175598, 0.924351155757904, 0.2502829134464264, 0.7785392999649048, 0.430418461561203, 0.2640154957771301, 0.27226194739341736, 0.07714641839265823, -0.9280350804328918, 0.5807249546051025, 0.07629556208848953, -0.3768143653869629, 0.05471537262201309, -0.6767110228538513, -1.0519663095474243, 0.20817658305168152, -0.2307569831609726, -0.8658761978149414, 0.10445372760295868, 0.15345384180545807, -0.397757351398468, 0.30003073811531067, -0.3563798666000366, 0.6969628930091858, -0.68623286485672, -1.1266114711761475, -0.1540704369544983, -0.7908920049667358, -0.14086946845054626, -0.022341780364513397, 0.13056115806102753, 0.24902646243572235, -0.32590529322624207, 0.28340405225753784, -0.2073713093996048, 0.5217587351799011, 0.26430848240852356, 0.047539062798023224, 0.05943286418914795, 0.14341329038143158, 0.6953927874565125, -0.04521305486559868, -0.26250404119491577, -0.09136009216308594, -0.29798027873039246, -0.4431569576263428, -0.676482081413269, 0.7297033667564392, -0.23104749619960785, -0.6196267604827881, -0.37872377038002014, -0.3209657669067383, -0.2843422591686249, 0.2940613627433777, -0.016211755573749542, 0.18433119356632233, -0.2497694492340088, 0.43561023473739624, 0.6227927803993225, -0.20603367686271667, 0.5078726410865784, 0.3812183439731598, -0.20382429659366608, -0.39717477560043335, 0.7307897806167603, -0.06508222967386246, 0.2131137102842331, 0.5879083275794983, -0.09953530877828598, -0.5487772226333618, -0.3883114159107208, -0.19610252976417542, -0.07572035491466522, -0.7687781453132629, -0.278333455324173, -0.6003149747848511, -0.18415279686450958, -0.22262249886989594, -0.03252190724015236, -0.057272326201200485, -0.0895906537771225, -0.6084368228912354, 0.018118293955922127, 0.17210426926612854, 0.5071216821670532, 0.11834213137626648, 0.036466099321842194, -0.7346206903457642, 0.1304786503314972, 0.2742828130722046, 0.6482546925544739, 0.18777093291282654, -0.4634513854980469, -0.5093201994895935, 0.032615285366773605, -0.5049344301223755, -0.6884452104568481, 0.36902084946632385, 0.32548174262046814, 0.7375301718711853, 0.6162499189376831, 0.20011107623577118, 0.5394925475120544, -0.11955633014440536, 0.8251875638961792, -0.06910444796085358, -0.7991938591003418, 0.44056272506713867, -0.25808247923851013, -0.11311603337526321, 0.5895722508430481, 0.5562084317207336, -0.32009023427963257, -0.044716015458106995, -0.5494081377983093, -1.3113230466842651, 0.5847365260124207, 0.4822278618812561, 0.22128409147262573, -0.004064102657139301, 0.504809558391571, -0.1941845715045929, 0.4638398587703705, -0.7476068139076233, -0.1948942244052887, 0.06137276813387871, -0.5002089738845825, 0.45638447999954224, -0.18085800111293793, 0.1823517233133316, -0.03238546475768089, 0.7315273880958557, -0.16762351989746094, 0.4057867228984833, 0.1059066653251648, -0.2317129522562027, 0.28684908151626587, 0.07725438475608826, 0.4202161729335785, 0.6817034482955933, -0.2098166048526764, -0.016369055956602097, 0.08439619094133377, -0.28073713183403015, 0.06430333852767944, 0.349983274936676, -0.18665224313735962, -0.31094852089881897, 0.11930130422115326, 0.5647872686386108, 0.33453524112701416, -0.7902154326438904, 0.7630773186683655, -0.11005023866891861, 0.30533358454704285, -0.1879115104675293, -0.07300150394439697, 0.03469756990671158, 0.1943974494934082, 0.3719289302825928, -0.010213521309196949, 0.6808707118034363, -0.4200490713119507, 0.47272929549217224, 0.5520876049995422, -0.4561246931552887, -0.12494544684886932, 0.8684656620025635, 0.22469542920589447, -0.29773589968681335, 0.576093852519989, -0.1316448450088501, -0.7118310332298279, 0.7322173118591309, 0.3883949816226959, 0.5414209365844727, -0.07080667465925217, -0.21608680486679077, 0.268440306186676, -0.0390680655837059, -0.14358903467655182, 0.11697129160165787, -0.1744697242975235, -0.43743637204170227, -0.34248510003089905, -0.5397528409957886, -0.6181207299232483, 0.18639680743217468, -0.8748397827148438, 0.42308059334754944, -0.15782971680164337, -0.3603447675704956, -0.3559221029281616, 0.14214569330215454, -0.5903362035751343, 0.2029164880514145, 0.05418410524725914, 0.6038384437561035, -0.4606383144855499, 0.3929705321788788, 0.7573803663253784, -0.5216510891914368, -0.45852920413017273, 0.24464312195777893, -0.21822014451026917, -0.28675374388694763, 0.16994887590408325, 0.6064615249633789, -0.08007138222455978, -0.0950574278831482, -0.2749282419681549, -0.825721263885498, 1.28829026222229, 0.29341351985931396, -0.5513735413551331, 0.297999769449234, 0.1727839857339859, 0.6114660501480103, -0.4802897870540619, 0.702585756778717, 0.14525607228279114, 0.24676541984081268, 0.11372558772563934, -0.7134535312652588, 0.04714079573750496, -0.41241422295570374, 0.18606406450271606, 0.04757064953446388, -0.8192750215530396, 0.4349503219127655, 0.252727210521698, -0.08896958082914352, 0.5538946986198425, 0.5904083251953125, 0.2939346432685852, 0.48275700211524963, 0.33313795924186707, 0.699941873550415, 0.6801795363426208, -0.025845712050795555, 0.8742115497589111, -0.6082333326339722, 0.591584324836731, 0.9312507510185242, -0.5699008107185364, 1.1566035747528076, 0.3755589425563812, -0.14116282761096954, 0.383639395236969, 0.904961884021759, 0.031176786869764328, 0.5312062501907349, 0.06222530081868172, -0.40138864517211914, -0.5810920000076294, -0.2169686108827591, -0.22842727601528168, 0.05645178630948067, 0.39295241236686707, -0.45979946851730347, 0.04670495167374611, -0.19411776959896088, -0.33713746070861816, 0.19871895015239716, -0.34370866417884827, 0.809337854385376, 0.0692310780286789, -0.426239013671875, 0.09648165851831436, 0.003994114696979523, 0.7869588732719421, -0.4523792862892151, -0.16425734758377075, -0.06843256950378418, 0.13011084496974945, -0.13611619174480438, -0.5812982320785522, 0.1552925854921341, -0.38921627402305603, -0.0800979733467102, 0.039358951151371, 0.972490131855011, -0.45259037613868713, -0.3615454137325287, 0.735375702381134, 0.41719943284988403, -0.12198714911937714, -0.054970111697912216, -0.7071056962013245, 0.1086701899766922, -0.23804637789726257, -0.4458848834037781, 0.5557249784469604, 0.19717605412006378, 0.1337725669145584, 0.7381119728088379, 0.5919690132141113, -0.3107263743877411, 0.007294632028788328, -0.16657890379428864, 0.8706753849983215, -0.5089005827903748, -0.6945255398750305, -0.6165117025375366, 0.5143588781356812, -0.39117369055747986, 0.1939096450805664, 0.3725581467151642, 0.6901336312294006, 0.7306163311004639, 0.3035615086555481, 0.6177973747253418, 0.13691474497318268, 0.22716309130191803, -0.4170266091823578, 0.6750554442405701, -0.9335002899169922, 0.5300286412239075, 0.017534960061311722, -1.106145977973938, -0.39023658633232117, 0.6925853490829468, -0.06459002196788788, 0.5071819424629211, 0.40484338998794556, 0.6536272764205933, -0.5931456089019775, -0.1791544258594513, 0.5394989252090454, 0.18802206218242645, 0.26565998792648315, 0.4018505811691284, 0.5340310335159302, -0.5611841082572937, 0.8041375875473022, -0.048030007630586624, -0.1318318396806717, -0.6745418310165405, -1.1039503812789917, -0.6652331352233887, -0.3491353988647461, -0.30714067816734314, -0.43711423873901367, 0.07879097014665604, 1.1359184980392456, 0.7419680953025818, -0.5599834322929382, -0.06932797282934189, 0.014570886269211769, -0.1432981789112091, -0.23092712461948395, -0.22293774783611298, 0.3106962740421295, -0.20081065595149994, -0.6135322451591492, 0.3524864614009857, 0.41997599601745605, 0.16554869711399078, -0.16197872161865234, -0.0606071874499321, -0.41777077317237854, 0.2941542863845825, 0.6315798759460449, 0.10282358527183533, -0.720835268497467, -0.3072923421859741, 0.24829673767089844, -0.08678857237100601, 0.3093027174472809, 0.479809045791626, -0.7245481014251709, 0.5215950012207031, 0.506313681602478, 1.149940013885498, 0.5492373704910278, 0.15242400765419006, 0.4228661060333252, -0.5651190876960754, -0.035104189068078995, 0.30023783445358276, 0.4292488694190979, 0.44542187452316284, -0.6271907687187195, 0.36974087357521057, 0.10018585622310638, -0.6417775750160217, -0.576056957244873, 0.4812743365764618, -1.1504260301589966, -0.01726479083299637, 0.8971609473228455, -0.5605728626251221, -0.30115368962287903, -0.269805908203125, 0.07498437166213989, 0.20840850472450256, -0.430836021900177, 0.9753210544586182, 0.5797176361083984, -0.18729013204574585, -0.16458140313625336, -0.22197069227695465, 0.009795119054615498, 0.5524983406066895, -0.7113193869590759, -0.38081955909729004, 0.22039659321308136, -0.02743043564260006, 0.18481415510177612, 0.05157924070954323, 0.08944271504878998, 0.29406723380088806, -0.39191871881484985, -0.21061694622039795, 0.030730199068784714, -0.1688399463891983, -0.27001193165779114, 0.2828269898891449, 0.19439512491226196, 0.09744233638048172 ]
http://arxiv.org/abs/2406.02134v1
http://arxiv.org/pdf/2406.02134v1
The current status of large language models in summarizing radiology report impressions
2024-06-04T09:23:30
2024-06-04T09:23:30
Danqing Hu, Shanyuan Zhang, Qing Liu, Xiaofeng Zhu, Bing Liu
cs.CL
cs.CL
Large language models (LLMs) like ChatGPT show excellent capabilities in various natural language processing tasks, especially for text generation. The effectiveness of LLMs in summarizing radiology report impressions remains unclear. In this study, we explore the capability of eight LLMs on the radiology report impression summarization. Three types of radiology reports, i.e., CT, PET-CT, and Ultrasound reports, are collected from Peking University Cancer Hospital and Institute. We use the report findings to construct the zero-shot, one-shot, and three-shot prompts with complete example reports to generate the impressions. Besides the automatic quantitative evaluation metrics, we define five human evaluation metrics, i.e., completeness, correctness, conciseness, verisimilitude, and replaceability, to evaluate the semantics of the generated impressions. Two thoracic surgeons (ZSY and LB) and one radiologist (LQ) compare the generated impressions with the reference impressions and score each impression under the five human evaluation metrics. Experimental results show that there is a gap between the generated impressions and reference impressions. Although the LLMs achieve comparable performance in completeness and correctness, the conciseness and verisimilitude scores are not very high. Using few-shot prompts can improve the LLMs' performance in conciseness and verisimilitude, but the clinicians still think the LLMs can not replace the radiologists in summarizing the radiology impressions.
[ -0.3669952154159546, -0.3169287145137787, 0.98201584815979, 0.317182332277298, -0.41034382581710815, 0.11132612824440002, -0.24694721400737762, -0.6864222288131714, 0.41479381918907166, 0.43842530250549316, -0.021850604563951492, -0.50213623046875, -0.694179117679596, 0.47761908173561096, -0.07941783219575882, 1.0530691146850586, 0.20023496448993683, 0.37089329957962036, -0.1112910807132721, -0.02492869831621647, -0.48576802015304565, -0.027391841635107994, -0.40029674768447876, -0.438094824552536, 0.5394056439399719, 0.16449898481369019, 0.984990656375885, 0.4257160425186157, 0.7823376655578613, 0.23603467643260956, -0.15975181758403778, 0.3487241268157959, -0.2928836941719055, -0.2550211548805237, 0.06034809350967407, -0.19091938436031342, -0.5030865669250488, -0.16685953736305237, 0.7785460948944092, 0.7892892360687256, -0.07606435567140579, -0.11169739812612534, 0.005040479823946953, 0.7275298237800598, -0.4183143079280853, 0.04014572128653526, -0.18595321476459503, 0.23178982734680176, 0.12148770689964294, -0.6793143153190613, -0.5895715355873108, -0.49783116579055786, 0.35949018597602844, -0.348842054605484, -0.1186557486653328, -0.10915341973304749, 0.8464974164962769, -0.28440648317337036, -0.3657851219177246, -0.48672640323638916, -0.7281724214553833, 0.5609583258628845, -0.941996157169342, 0.03571658208966255, 0.0769151970744133, 0.4410451650619507, 0.027530960738658905, -0.8041005730628967, -0.22191528975963593, -0.4411374032497406, -0.5638574957847595, 0.43575361371040344, -0.2876691222190857, 0.26539185643196106, 0.2099127173423767, 0.6276625990867615, -0.526459276676178, 0.213151216506958, -0.47033101320266724, -0.2502860426902771, 0.6379185318946838, 0.5692152380943298, 0.553802490234375, -0.5757520794868469, -0.37673625349998474, -0.11796639859676361, -0.7269366383552551, -0.2139972597360611, -0.10894171893596649, 0.13621753454208374, -0.23623350262641907, 0.4198470115661621, -0.42294785380363464, 0.6929118633270264, -0.07259979099035263, -0.6786940693855286, 0.34337368607521057, -0.35665231943130493, -0.4439028799533844, -0.026750730350613594, 1.1997759342193604, 0.653975248336792, 0.1436236947774887, -0.01762262172996998, -0.16462089121341705, -0.22675397992134094, 0.15569806098937988, -0.7918674945831299, 0.17503735423088074, 0.23429986834526062, -0.6453605890274048, -0.5788360238075256, 0.1353835016489029, -0.28492382168769836, -0.6368569135665894, -0.12698298692703247, 0.39675572514533997, -0.6835372447967529, -0.020248522982001305, 0.3813258707523346, 0.08483856171369553, 0.361167848110199, 0.7657864689826965, -0.3524375259876251, 0.3273836076259613, 0.5111011266708374, 0.8782592415809631, 0.06470498442649841, -0.23778559267520905, -0.32131823897361755, 0.03931383788585663, -0.3999691903591156, 0.9833164811134338, -0.20301553606987, -0.7294889092445374, 0.019573237746953964, -0.1469958871603012, -0.04670510068535805, -0.6189475059509277, 0.23794099688529968, -0.2631770372390747, 0.5050063133239746, -0.20662659406661987, -0.4606042206287384, -0.22386020421981812, 0.353839635848999, -0.341376394033432, 0.4153175354003906, 0.09578223526477814, -0.7314016819000244, 0.29212886095046997, -0.2932932674884796, -0.571321964263916, 0.36123913526535034, -0.4792218506336212, -0.1894984394311905, 0.15527620911598206, 0.42769813537597656, 0.6551845073699951, -0.36856481432914734, 0.2027280628681183, 0.3078449070453644, -0.40192142128944397, 0.4270634651184082, -0.1718151867389679, 0.5795140862464905, 0.17560088634490967, 0.10720702260732651, -0.006265475880354643, -0.29256775975227356, 0.032415881752967834, 0.0021295533515512943, -0.391131192445755, 0.07501401007175446, -0.2577016353607178, -0.1974104642868042, 0.17543573677539825, 0.1020781621336937, -0.46108654141426086, 0.2403658926486969, -0.6450382471084595, 0.13459864258766174, 0.3520321547985077, 0.574583113193512, 0.07833831012248993, -0.7507302165031433, 0.7697194814682007, -0.16330522298812866, -0.07722458243370056, -0.579755961894989, -0.3610288202762604, -0.6633069515228271, -0.4962952733039856, 0.1740274429321289, 0.38494953513145447, -0.6925527453422546, -0.10104170441627502, -0.6783575415611267, -0.7222065925598145, -0.37791234254837036, -0.21910448372364044, 0.772188663482666, 0.4446052312850952, -0.055885668843984604, -0.3622661828994751, -0.4388720393180847, -1.0652116537094116, -0.2402157187461853, -0.21824762225151062, -0.2523561120033264, 0.44357815384864807, 0.2873961627483368, 0.22365958988666534, 0.5468170642852783, -0.6126295924186707, -0.6163749694824219, -0.48422765731811523, 0.10819631814956665, 0.3952731490135193, -0.1742493212223053, 0.5507678389549255, -0.22892096638679504, -0.6499096751213074, 0.058049723505973816, -0.7320066690444946, 0.04796672612428665, -0.14234529435634613, 0.41522514820098877, 0.3550681173801422, 0.2810821831226349, -0.5034830570220947, 0.13420328497886658, 0.34841546416282654, -0.003069724887609482, 0.5993168354034424, -0.4772709608078003, 0.5212945938110352, -1.0930767059326172, -0.0895405262708664, -0.06526049971580505, -0.49554312229156494, -0.4306012690067291, -0.14574842154979706, -0.2545359432697296, -0.14976409077644348, -0.5963125228881836, 0.4744722843170166, -0.6753984093666077, -0.19897215068340302, -0.18307381868362427, 0.4623672664165497, 0.1783885657787323, 0.17665065824985504, 0.13310779631137848, 0.3407764434814453, 0.6212247014045715, -0.5458171963691711, 0.26565831899642944, 0.22229360044002533, -0.6145429015159607, 0.4834785461425781, -0.7196913957595825, 0.2938626706600189, -0.11821141839027405, 0.5792226791381836, -1.3096150159835815, -0.48766466975212097, -0.0480106845498085, -0.7039754986763, 0.3688246011734009, -0.005516852717846632, -0.5034079551696777, -0.3524719774723053, -0.6065138578414917, -0.019847985357046127, 0.638053834438324, -0.11899048089981079, 0.517929196357727, 0.21105508506298065, -0.28838029503822327, -0.44389641284942627, -0.8096439838409424, 0.47075918316841125, -0.055641353130340576, -0.7652360796928406, 0.23716706037521362, 0.3880918622016907, -0.22186420857906342, -0.07953314483165741, 0.28680095076560974, 0.2893351912498474, -0.40198543667793274, 0.16050182282924652, 0.4610249698162079, -0.24789050221443176, 0.030809568241238594, -0.5643832683563232, -0.04956212267279625, -0.04538600519299507, 0.3377276360988617, 0.6694803237915039, -0.33978161215782166, -0.36520540714263916, -0.6266766786575317, 0.05469292029738426, 0.6187235713005066, 0.15424352884292603, 0.32853835821151733, 0.3612957298755646, -0.198497474193573, 0.3163270652294159, -0.8705751299858093, -0.17327135801315308, -0.31410157680511475, 0.5221779346466064, -0.1568157821893692, -0.7608113884925842, 0.424888551235199, 0.08183375746011734, 0.21810173988342285, 0.5406060814857483, 0.916448712348938, -0.33430612087249756, 0.8881180286407471, 0.058525875210762024, -0.04414766654372215, -0.026095271110534668, -0.02398841641843319, 0.06276658922433853, -0.933268666267395, -0.15963467955589294, -0.3260056972503662, -0.02749202959239483, -0.7107155919075012, -0.22927291691303253, 0.7410726547241211, -0.573652982711792, 0.38224807381629944, -0.005447708070278168, -0.5260347723960876, 0.4905443787574768, -0.006558505352586508, 0.24602177739143372, 0.49238303303718567, 0.0449589267373085, 0.19569741189479828, -0.09642777591943741, -0.552953839302063, -0.5918142199516296, 0.9434362053871155, 0.42893052101135254, 0.7363297343254089, 0.16332274675369263, 0.5837725400924683, 0.19688814878463745, 0.244261234998703, -1.021089792251587, 0.687208354473114, -0.4439132511615753, -0.18317516148090363, -0.249097540974617, -0.33022820949554443, -0.8029730916023254, 0.4370228946208954, -0.2618056833744049, -0.6528330445289612, -0.24807752668857574, 0.10223042219877243, -0.7198815941810608, 0.0900273472070694, -0.31270402669906616, 0.18257324397563934, -0.2401263266801834, 0.013684261590242386, -0.4791853427886963, -0.5998319387435913, 0.5487046837806702, 0.08913440257310867, 0.2606015205383301, -0.07492199540138245, 0.0547323115170002, 0.7847973704338074, -0.5377992987632751, 0.9056642055511475, -0.09888911992311478, -0.05066363885998726, 0.18137627840042114, 0.3601406514644623, 0.4917929172515869, -0.04358711838722229, 0.18541979789733887, -0.0346088707447052, 0.031428515911102295, 0.19231708347797394, -0.5498141646385193, 0.48272839188575745, -0.7340003252029419, -0.5215744376182556, -0.4456556439399719, -0.576448380947113, -0.41977599263191223, 0.04732777550816536, 0.5233505964279175, 0.8446952104568481, -0.4740827977657318, 0.0965626984834671, 0.3486524820327759, -0.7576099038124084, 0.2372831553220749, 0.6444755792617798, -0.4880272448062897, -0.5942357182502747, 0.7769345641136169, 0.13029725849628448, 0.2737632989883423, 0.4418738782405853, 0.5816828608512878, -0.1144162118434906, -0.41514793038368225, -0.22028404474258423, 0.6189084649085999, -0.7380267977714539, -0.2172064483165741, -0.7203629612922668, -0.5077977776527405, -0.45953568816185, -0.34459131956100464, -0.16254188120365143, -0.48772555589675903, 0.3151312470436096, 0.1322144865989685, 0.3013805150985718, 0.8663985133171082, 0.11710517853498459, 0.5132864117622375, -0.7475770115852356, 0.17821277678012848, 0.08114638924598694, 0.09206411242485046, 0.10432307422161102, -0.8674018383026123, -0.22325283288955688, -0.3854734003543854, -0.35003861784935, -0.5611570477485657, 0.44117066264152527, -0.01592617854475975, 0.2693718671798706, 0.5134359002113342, -0.2814302146434784, 0.516007661819458, -0.34395793080329895, 0.802230715751648, 0.5727595090866089, -0.5047168135643005, 0.24765461683273315, -0.6015729904174805, 0.698191225528717, 0.307626336812973, 0.23376108705997467, -0.7738915085792542, -0.6790719628334045, -0.6549426317214966, -0.672529935836792, 0.7016289234161377, 0.05306103825569153, 0.21197205781936646, -0.10152733325958252, -0.06493262201547623, -0.10009102523326874, -0.10050933808088303, -0.4955606162548065, -0.005377637222409248, 0.20766595005989075, 0.17235806584358215, 0.08718575537204742, -0.7239251732826233, -0.22403877973556519, 0.17550069093704224, 0.6450772881507874, 0.08722266554832458, 0.29493609070777893, 0.29008591175079346, -0.08204496651887894, 0.06647364795207977, 0.631036102771759, 0.9944895505905151, 1.1020419597625732, -0.3267306387424469, 0.16573357582092285, 0.3130822479724884, -0.4981725811958313, -0.05419401824474335, -0.5304486155509949, -0.022063078358769417, 0.34642893075942993, 0.751846969127655, 0.6487549543380737, 0.08435900509357452, -0.46112823486328125, 0.7633620500564575, -0.11401605606079102, -0.2051248848438263, -0.3860686123371124, -0.2213304042816162, 0.19865234196186066, -0.10584746301174164, 0.13646744191646576, -0.0678456500172615, 0.2964560389518738, -0.42401188611984253, -0.001212723320350051, 0.3215060830116272, -0.5666537880897522, -0.17999842762947083, 0.20943571627140045, 0.13824142515659332, 0.040597103536129, 0.5305993556976318, 0.0969705730676651, -0.20634405314922333, 0.4794486463069916, 0.43162471055984497, 0.7814466953277588, -0.2232426404953003, 0.40161988139152527, 0.6038141846656799, 0.22314606606960297, -0.06412819772958755, 0.02480901964008808, 0.3941214382648468, -0.6446613073348999, -0.7106699347496033, -0.20279531180858612, -0.5779913663864136, 0.21595469117164612, -0.5967283248901367, 0.5614180564880371, -0.6069904565811157, -0.20020614564418793, 0.20833532512187958, -0.2789164185523987, -0.3997967541217804, 0.37735891342163086, 0.24901671707630157, 0.6123823523521423, -0.5057323575019836, 0.26447343826293945, 0.6729792356491089, -0.5382601022720337, -1.1250320672988892, -0.23961997032165527, 0.2345040887594223, -1.2032994031906128, 0.5603727102279663, 0.09008113294839859, -0.21326248347759247, -0.5183829069137573, -0.159544438123703, -0.4053835868835449, 0.9040893912315369, 0.18850617110729218, -0.4708106815814972, -0.19502811133861542, 0.3078470528125763, 0.74375319480896, -0.4604633152484894, 0.692139208316803, 0.3128877878189087, 0.2737443745136261, 0.28972727060317993, -1.1457082033157349, 0.2779821455478668, 0.16419965028762817, -0.02468220144510269, -0.07656841725111008, -0.7616185545921326, 0.5721226930618286, -0.506746232509613, -0.2912343144416809, -0.05089441314339638, 0.2832951843738556, 0.41133081912994385, -0.13562342524528503, 0.37912869453430176, 0.3423917293548584, 0.42175158858299255, 0.09373975545167923, 1.7119290828704834, -0.26020821928977966, 0.21687644720077515, 1.001526951789856, -0.15437600016593933, 0.45495688915252686, 0.27957043051719666, -0.31528231501579285, 0.3736626207828522, 0.3108353018760681, -0.14547023177146912, 0.30258631706237793, 0.18969100713729858, -0.1594131588935852, -0.11456746608018875, -0.35353410243988037, -0.4064459502696991, 0.6780208945274353, 0.29101434350013733, -0.5991074442863464, -0.5011395812034607, -0.12120462208986282, 0.45581379532814026, -0.22964638471603394, -0.19913019239902496, 1.1718305349349976, 0.40228894352912903, -0.669731855392456, 0.672020435333252, 0.060350000858306885, 0.40949904918670654, -0.692314088344574, -0.002726372331380844, -0.34014371037483215, -0.02725161612033844, -0.6350312829017639, -0.9207645654678345, 0.23561523854732513, -0.04843076691031456, -0.0798342376947403, -0.08854510635137558, 0.6187490820884705, 0.04678411781787872, -0.46644127368927, -0.15249526500701904, 0.28952327370643616, 0.6048147082328796, 0.14075042307376862, -0.09880917519330978, -0.04136689007282257, 0.2009761929512024, -0.3135969340801239, 0.3957499861717224, 0.30850353837013245, -0.027309082448482513, 0.585838794708252, 0.1665533185005188, 0.6046892404556274, -0.5426961779594421, 0.4007795751094818, 0.6108021140098572, -0.41863203048706055, -0.3840450644493103, -0.9745593070983887, 0.2059030532836914, 0.11592062562704086, -0.23120030760765076, 0.54794842004776, 0.6401222944259644, 0.333729088306427, -0.19747841358184814, 0.8626235127449036, 0.08694037050008774, 0.6742546558380127, -0.7912790179252625, 0.7379285097122192, -0.3362171947956085, 0.3791307210922241, -0.5880268216133118, -0.7842774987220764, -0.3972003161907196, 0.292783260345459, -0.48506852984428406, 0.11103924363851547, 0.8795857429504395, 0.7166261672973633, 0.22241558134555817, -0.2834184467792511, 0.6564874053001404, 0.42662498354911804, 0.17637339234352112, 0.6656000018119812, 0.9300875067710876, -0.24617016315460205, 0.6625779867172241, -0.006361409090459347, -0.1582111269235611, -0.3315243721008301, -0.6892775297164917, -0.6131331920623779, -0.2035229206085205, -0.3844134509563446, -0.4399949014186859, -0.16544319689273834, 0.6121055483818054, 0.5303032398223877, -0.3677363395690918, -0.29243147373199463, 0.6128203272819519, -0.34475189447402954, 0.18886223435401917, -0.28755995631217957, 0.8391193151473999, -0.20153695344924927, -0.33051252365112305, 0.10982298105955124, 0.6424950361251831, 0.0012064845068380237, -0.34431949257850647, -0.01000007800757885, 0.270583838224411, 0.043838851153850555, 0.632628858089447, 0.06432633846998215, -0.8846372365951538, -0.33313119411468506, 0.1524013727903366, -0.4293982684612274, 0.40408605337142944, 0.7043327689170837, -0.7710781097412109, 0.6057465672492981, 0.4837459921836853, 0.3542845547199249, 0.4488600194454193, -0.03020992875099182, 0.5754609704017639, -0.6647481918334961, -0.04527564346790314, 0.2061130404472351, 0.5311009883880615, 0.5646906495094299, -0.3803049921989441, 0.3950115740299225, -0.10269942879676819, -0.4233119785785675, -0.6209718585014343, 0.05291932821273804, -1.2181791067123413, -0.12616649270057678, 1.2818775177001953, -0.09094976633787155, -0.05346619710326195, 0.23686808347702026, -0.3445376753807068, -0.12962420284748077, -0.28666746616363525, 0.7828863859176636, 0.6564913392066956, -0.6014642715454102, -0.3219260275363922, -0.4527735710144043, 0.3566139042377472, 0.34005284309387207, -0.8459072709083557, -0.32224151492118835, 0.5940262079238892, 0.5919156670570374, 0.2506805658340454, 1.208745002746582, -0.7231242656707764, 0.5024221539497375, -0.36002209782600403, 0.12102369964122772, -0.092131607234478, 0.14677485823631287, -0.20199480652809143, 0.007341369055211544, 0.3357475996017456, -0.037192218005657196 ]
http://arxiv.org/abs/2406.02133v1
http://arxiv.org/pdf/2406.02133v1
SimulTron: On-Device Simultaneous Speech to Speech Translation
2024-06-04T09:21:31
2024-06-04T09:21:31
Alex Agranovich, Eliya Nachmani, Oleg Rybakov, Yifan Ding, Ye Jia, Nadav Bar, Heiga Zen, Michelle Tadmor Ramanovich
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
Simultaneous speech-to-speech translation (S2ST) holds the promise of breaking down communication barriers and enabling fluid conversations across languages. However, achieving accurate, real-time translation through mobile devices remains a major challenge. We introduce SimulTron, a novel S2ST architecture designed to tackle this task. SimulTron is a lightweight direct S2ST model that uses the strengths of the Translatotron framework while incorporating key modifications for streaming operation, and an adjustable fixed delay. Our experiments show that SimulTron surpasses Translatotron 2 in offline evaluations. Furthermore, real-time evaluations reveal that SimulTron improves upon the performance achieved by Translatotron 1. Additionally, SimulTron achieves superior BLEU scores and latency compared to previous real-time S2ST method on the MuST-C dataset. Significantly, we have successfully deployed SimulTron on a Pixel 7 Pro device, show its potential for simultaneous S2ST on-device.
[ 0.09177134186029434, -0.5772526264190674, 0.3390267789363861, 0.42654329538345337, -0.7553064823150635, 0.49881869554519653, -0.17369036376476288, -0.3150240480899811, -0.12006568163633347, 0.1676550805568695, -0.3698035776615143, 0.060160405933856964, -0.672267735004425, -0.0969705879688263, -0.5113186240196228, 0.5678702592849731, -0.011328151449561119, 0.29178813099861145, -0.05806239694356918, -0.1323811411857605, -0.43841302394866943, -0.3666609525680542, -0.5449877381324768, -0.34798529744148254, 0.19936294853687286, 0.5728467106819153, 1.0929431915283203, 0.8884926438331604, 0.48981499671936035, 0.0993872806429863, -0.012449943460524082, -0.10330689698457718, -0.2823963463306427, 0.2076394259929657, 0.006061353720724583, -0.3578072190284729, -0.3305029273033142, -0.5876356959342957, 0.61524498462677, 0.1796141266822815, -0.16768504679203033, 0.10669422894716263, -0.05675806477665901, 0.2953568994998932, -0.2549704611301422, -0.27111944556236267, -0.4602546989917755, -0.004573567304760218, -0.3320012092590332, -0.1450006663799286, -0.22754108905792236, -0.4455413222312927, -0.08970361948013306, -0.31611692905426025, 0.06220342591404915, -0.10153157263994217, 0.5327949523925781, 0.9185336232185364, -0.5974928736686707, 0.05973565950989723, -1.0278360843658447, 0.5476565957069397, -0.21152082085609436, 0.8822348713874817, -0.1679442822933197, 0.658717930316925, 0.2986876964569092, -1.1784038543701172, -0.40307000279426575, -0.2233566790819168, 0.25873374938964844, 0.4087080955505371, -0.36211562156677246, -0.26665282249450684, 0.14423640072345734, 0.09452355653047562, -0.7410624623298645, -0.08728053420782089, -0.2691403925418854, -0.26622146368026733, 0.7106974124908447, -0.10537432879209518, 0.15480148792266846, 0.0669969990849495, -0.590592086315155, 0.18930751085281372, -0.5245026350021362, -0.05504308268427849, -0.006399857811629772, 0.18639439344406128, -0.3886324465274811, 0.5221028923988342, -0.18349559605121613, 0.3114211857318878, -0.031017042696475983, 0.12070949375629425, 0.20768152177333832, -0.5970842838287354, 0.05453072115778923, 0.9428082704544067, 0.7033444046974182, 0.06243860721588135, -0.130039244890213, -0.2858898937702179, -0.05018823966383934, 0.1348714679479599, 0.22755083441734314, -0.9363653659820557, 0.07236576825380325, 0.506105899810791, -0.12374551594257355, -0.23142936825752258, -0.17055563628673553, -0.601737380027771, -0.23803700506687164, -0.07748541235923767, 0.34150853753089905, -0.10835252702236176, -0.35831117630004883, -0.03022119030356407, -0.01474788784980774, 0.17533335089683533, 0.5677569508552551, -0.39016932249069214, 0.6742496490478516, 0.6751195192337036, 1.2757904529571533, -0.39348745346069336, -0.14390797913074493, -0.8842743039131165, 0.2310062050819397, -0.2447470724582672, 0.7438992261886597, -0.17218051850795746, -0.5077604055404663, -0.2889353930950165, -0.41218775510787964, -0.051202498376369476, -0.3941413462162018, 1.0659574270248413, -0.09672640264034271, -0.20931999385356903, 0.10685184597969055, -0.44613397121429443, 0.28503087162971497, -0.2715962827205658, -0.445472776889801, 1.2017571926116943, -0.2274959534406662, -0.811163067817688, -0.14199091494083405, -0.47335800528526306, -0.5962743759155273, 0.34975066781044006, -0.16356152296066284, -0.31678837537765503, 0.11865741014480591, -0.06300090253353119, 0.16893994808197021, -0.6891966462135315, 0.10468082875013351, -0.02125646360218525, -0.5724449157714844, 0.2396526038646698, -0.3177693784236908, 0.7425969243049622, 0.5265734195709229, -0.538149893283844, 0.10823609679937363, -0.47953319549560547, 0.03591279312968254, 0.1924210637807846, -0.04017557203769684, 0.04938821494579315, 0.28032729029655457, 0.3737729489803314, 0.4558391869068146, 0.22285111248493195, -0.9382794499397278, -0.06830055266618729, -0.12599410116672516, 0.6817903518676758, 0.2449769824743271, -0.28893008828163147, 0.5678644180297852, -0.27958807349205017, 0.2927054762840271, -0.10106419771909714, 0.08678726851940155, 0.030655356124043465, -0.5469835996627808, -0.45539674162864685, -0.3975643813610077, 0.49955734610557556, 1.02482271194458, -0.8821457028388977, 0.14444802701473236, -0.9486005902290344, -0.746785044670105, -0.6946569085121155, -0.0026432466693222523, 0.2791050970554352, 0.2831171154975891, 0.3175097703933716, 0.01901271753013134, -0.15598739683628082, -0.563348650932312, -0.5547366142272949, 0.095831498503685, 0.10358520597219467, 0.3434865176677704, -0.05807322636246681, -0.10902750492095947, 0.8158554434776306, -0.10583548247814178, -0.1831875443458557, -0.5019081234931946, 0.16047470271587372, -0.12400256842374802, 0.5301211476325989, 0.18711347877979279, -1.0830875635147095, -0.41488218307495117, 0.4790579080581665, -0.5318615436553955, -0.32162463665008545, -0.31754833459854126, 0.24324534833431244, 0.11222236603498459, 0.47759267687797546, -0.6789510250091553, 0.41891375184059143, 0.8112747669219971, 0.15523459017276764, 0.29350602626800537, -0.13733723759651184, -0.005373662803322077, -1.241801381111145, -0.08300482481718063, -0.3515709638595581, -0.6335800886154175, -0.8801493644714355, -0.3618497848510742, 0.41278377175331116, -0.3726637661457062, -1.0547819137573242, 0.6808907985687256, 0.12913778424263, -0.48175209760665894, -0.1520310640335083, 0.3404763638973236, -0.3700370490550995, -0.06033841520547867, 0.044478386640548706, 1.044147253036499, 0.4366573989391327, -0.46865367889404297, 0.654464840888977, 0.3493983745574951, -0.17614953219890594, 0.4946858584880829, -0.8839672803878784, 0.1854432374238968, 0.33177444338798523, 0.49693140387535095, -1.1128000020980835, -0.30423176288604736, 0.26778173446655273, -0.6698839664459229, -0.13972820341587067, -0.14811769127845764, -0.5978983044624329, -0.13460758328437805, -0.08116880059242249, 0.7824248671531677, 0.4967939257621765, -0.599288284778595, 0.633314311504364, 0.03742145746946335, -0.4959835112094879, -0.04843532294034958, -0.792141318321228, 0.1421632170677185, 0.0779181718826294, -0.868462085723877, 0.7388314008712769, 0.0980546623468399, 0.030377380549907684, -0.05791422724723816, -0.41561979055404663, -0.10175905376672745, -0.19853562116622925, 0.4070297181606293, 0.012399434112012386, 0.10143139958381653, 0.1595851182937622, 0.4526929557323456, -0.11410877853631973, -0.33740097284317017, -0.09214231371879578, 0.5965855121612549, 0.15829165279865265, -0.2758595049381256, -0.9096355438232422, 0.33740633726119995, 0.5043941736221313, -0.2551974356174469, 0.09539438784122467, 0.57781583070755, -0.24804805219173431, -0.19960524141788483, -0.16720202565193176, -0.0712035745382309, -0.4373337924480438, 0.18254616856575012, -0.631565511226654, -0.7323817610740662, 0.19617657363414764, -0.5720099210739136, -0.13456012308597565, 0.05969218537211418, 0.5860887169837952, -0.1983719766139984, 0.9878168106079102, -0.02082846499979496, 0.4720641076564789, 0.5776194334030151, 0.13819646835327148, 0.27971723675727844, -0.6252136826515198, -0.20503568649291992, -0.5383883714675903, -0.19277621805667877, -0.5528177618980408, -0.7124732136726379, 0.5446119904518127, 0.08386029303073883, -0.2703351676464081, 0.5337520241737366, -0.25525587797164917, 0.004828990902751684, 0.48802557587623596, 0.14572018384933472, 0.3132764995098114, 0.14150911569595337, 0.020989447832107544, -0.1814124584197998, -0.9517478942871094, -0.3565889000892639, 0.629017174243927, 0.3482239842414856, 0.7707548141479492, 0.19904980063438416, 0.5400963425636292, 0.5279747843742371, 0.10965541005134583, -0.8771696090698242, 0.5843410491943359, -0.1991509348154068, -0.5642772912979126, -0.11513043940067291, -0.5671442151069641, -0.5818545818328857, 0.4946542978286743, 0.19403396546840668, -0.5415100455284119, -0.2831135094165802, 0.15105849504470825, -0.3353869318962097, -0.013600624166429043, -0.3678891658782959, 0.7380874156951904, -0.868416965007782, -0.7307496070861816, -0.3473905324935913, -0.8223870396614075, 0.1542312055826187, -0.1196199581027031, 0.102901890873909, -0.16635732352733612, -0.2584364712238312, 0.418680340051651, -0.2220894694328308, 0.3760727345943451, -0.003679649904370308, 0.09982363134622574, 0.10118606686592102, 0.3398813009262085, 0.4329811930656433, 0.015419877134263515, -0.12118707597255707, 0.30685919523239136, 0.179230734705925, -0.3370700776576996, -0.5000696182250977, 0.7211751937866211, -0.6914333701133728, -0.1782553642988205, -0.7462761402130127, -0.5157632827758789, -0.14562569558620453, 0.041911572217941284, 0.25662121176719666, 0.48768866062164307, -0.31575119495391846, 0.3450728952884674, 0.2325737029314041, -0.051518090069293976, 0.562507688999176, -0.12937892973423004, -0.32011663913726807, -0.5236350893974304, 0.946338951587677, 0.2124531865119934, 0.559035062789917, 0.34918829798698425, 0.31003111600875854, -0.7069013118743896, -0.10067415982484818, -1.0188400745391846, 0.2721947133541107, -0.1932394951581955, -0.15428413450717926, -0.6870056986808777, -0.24332430958747864, -0.45585402846336365, -0.1650533676147461, -0.8056217432022095, -0.8005318641662598, -0.1784982532262802, 0.21146894991397858, 0.07688820362091064, 0.319208562374115, -0.041514698415994644, 0.9346657395362854, -0.8354128003120422, 0.6106038689613342, 0.31419312953948975, 0.05555795133113861, -0.5005622506141663, -0.7896121740341187, 0.053849924355745316, 0.23765116930007935, -0.39161139726638794, -0.725749671459198, 0.14270076155662537, 0.15388181805610657, 0.35870346426963806, 0.05900747328996658, 0.13420893251895905, 0.6358088254928589, -0.5416721105575562, 0.8336362838745117, 0.3041316270828247, -1.3596330881118774, 0.5030260682106018, -0.3301386833190918, 0.45523005723953247, 0.2916828691959381, 0.12555159628391266, -0.7364686727523804, 0.06941772252321243, -0.5503361821174622, -0.49106499552726746, 1.0607677698135376, 0.6346153616905212, 0.07977528870105743, 0.628497302532196, -0.013268104754388332, -0.23608998954296112, 0.27387964725494385, -0.23644253611564636, -0.09908103197813034, -0.4927242398262024, -0.4323437809944153, -0.018756089732050896, 0.03899111971259117, -0.08395253121852875, -0.14235122501850128, 0.45646563172340393, 0.19680540263652802, 0.42308309674263, 0.3457009196281433, -0.3077440857887268, -0.06907414644956589, 0.24725107848644257, 0.8511603474617004, 0.22088012099266052, -0.0956631675362587, 0.30368882417678833, 0.3730524182319641, -0.4029633402824402, 0.26184555888175964, 0.3555753529071808, -0.20307500660419464, 0.25890520215034485, 0.006262785755097866, 0.8584251403808594, 0.4708639681339264, -0.6530559062957764, 0.7857971787452698, -0.06483530253171921, -0.20812274515628815, -0.050310127437114716, -0.29213881492614746, 0.15717466175556183, 0.12527118623256683, 0.2149844616651535, 0.3464292287826538, -0.05149245634675026, -0.3669178783893585, 0.4988313317298889, -0.14154672622680664, -0.6615288257598877, -0.2789075970649719, 0.9491444826126099, 0.5467811226844788, -0.6515211462974548, 0.07934210449457169, 0.09865079075098038, -0.5076339840888977, 0.3923446238040924, 0.6796283721923828, 0.8625133037567139, -0.8740724921226501, 0.37072834372520447, 0.05268619582056999, 0.13541114330291748, -0.30784928798675537, 0.5459758043289185, -0.28579336404800415, -0.2612255811691284, -0.2504097521305084, -0.5676270723342896, -0.5333989262580872, -0.5848208665847778, -0.3091258704662323, 0.2079683095216751, -0.27856793999671936, -0.09132752567529678, -0.24314211308956146, -0.3888883888721466, -0.25257226824760437, 0.24698759615421295, 0.11137183010578156, 0.8915197849273682, -0.5036157369613647, 1.0848249197006226, 0.5389930605888367, 0.028679873794317245, -0.6308297514915466, 0.06159120425581932, 0.10611297190189362, -0.38308680057525635, 0.6538286805152893, -0.07620132714509964, -0.6187921762466431, 0.4148198366165161, -0.15674705803394318, -0.6076008677482605, 1.1597795486450195, 0.5060480237007141, -0.8020366430282593, 0.49023401737213135, 0.5937244296073914, 0.36425015330314636, -0.15647147595882416, -0.013402015902101994, 0.302473783493042, 0.4158247411251068, 0.47959470748901367, -1.2074187994003296, -0.08201125264167786, 0.1924661546945572, 0.10385561734437943, 0.1071176752448082, -0.8559226989746094, 0.6593737602233887, -0.07723154872655869, -0.3473130762577057, -0.02531846985220909, 0.5358372926712036, 0.046417366713285446, 0.4346106946468353, 0.3036684989929199, 0.32327646017074585, 0.4482269585132599, -0.20130567252635956, 1.1034150123596191, -0.09892763942480087, 0.2345854938030243, 1.2659679651260376, -0.5604009628295898, 1.037853717803955, 0.5101380348205566, 0.14567165076732635, -0.23501360416412354, 0.3907792270183563, 0.4358084797859192, 0.5534579753875732, 0.006867961958050728, -0.6071126461029053, -0.44647806882858276, -0.6479830145835876, -0.44291549921035767, 0.5008209347724915, 0.2305801659822464, 0.05342930182814598, -0.22227735817432404, 0.09319008141756058, 0.04624355956912041, 0.04484891518950462, -0.3478814661502838, 0.4706076979637146, 0.27816036343574524, -0.34857019782066345, 0.4983072578907013, -0.05963612347841263, 0.28996697068214417, -0.522178053855896, 0.19311775267124176, -0.24414505064487457, 0.44147059321403503, -0.1972482055425644, -0.667409360408783, 0.29041069746017456, 0.1660992056131363, 0.4960220158100128, -0.39059239625930786, 0.6623856425285339, -0.39823997020721436, -0.6230413913726807, 0.4011700749397278, 0.7188958525657654, 0.04934734106063843, -0.17703598737716675, -0.7228265404701233, 0.7121422290802002, -0.08531288057565689, -0.04528607428073883, -0.10648766905069351, 0.24047502875328064, -0.20356594026088715, 0.7055603265762329, 0.5693372488021851, 0.0661749392747879, 0.5764473676681519, 0.08539276570081711, 0.5337380766868591, -0.43417054414749146, -0.5031999349594116, -0.5124517679214478, 0.4375342130661011, -0.20520083606243134, -0.19131053984165192, 0.7023094296455383, 0.9762136340141296, 0.7445523738861084, 0.11671675741672516, 0.9811983108520508, -0.2557068169116974, 0.6180375218391418, -0.02916635386645794, 0.5086837410926819, -0.7637848854064941, -0.12382428348064423, 0.11973108351230621, -0.9120273590087891, -0.46650469303131104, 0.36655181646347046, -0.10899575799703598, -0.33234280347824097, 0.8451587557792664, 0.8378251791000366, -0.5174390077590942, 0.29421544075012207, 0.6392842531204224, 0.007179724983870983, 0.32430899143218994, 0.26135849952697754, 0.8843562006950378, -0.9748498201370239, 1.0129985809326172, -0.22616364061832428, -0.12473230808973312, -0.4949570894241333, -0.5588403344154358, -0.3504529893398285, -0.5363554358482361, -0.18732203543186188, -0.16144707798957825, 0.4788818955421448, 1.0506937503814697, 0.641417920589447, -0.5285853147506714, -0.5166735053062439, -0.08099879324436188, -0.05114976316690445, -0.42376598715782166, -0.032655153423547745, -0.03330335021018982, 0.05059375986456871, -0.8258746862411499, 0.5979593992233276, 0.42630821466445923, 0.002497947309166193, 0.43904757499694824, -0.43551963567733765, -0.030848845839500427, 0.12646019458770752, 0.330566942691803, 0.2016390860080719, -0.6791109442710876, -0.3101192116737366, -0.09529396146535873, -0.36260342597961426, 0.02010585181415081, 1.042060375213623, -0.3783802092075348, 0.4332607686519623, 0.7430586218833923, 0.9703738689422607, 0.8846259713172913, 0.3597469925880432, 0.28256794810295105, -0.5917690992355347, 0.31800878047943115, 0.3603960871696472, -0.07152528315782547, 0.3106893301010132, 0.010399955324828625, 0.4849587082862854, 0.3476100265979767, -0.46311819553375244, -0.8727933764457703, 0.3555946946144104, -1.659956455230713, -0.04197920113801956, 1.1927813291549683, 0.1666448712348938, -0.04854365065693855, -0.10531040281057358, -0.6282910108566284, 0.6130858659744263, -0.5606648921966553, 0.18284019827842712, 0.07288536429405212, -0.32811030745506287, -0.5243353247642517, -0.7841902375221252, 0.40168100595474243, 0.5556320548057556, -0.7369851469993591, 0.14642320573329926, 0.14719508588314056, 0.11634015291929245, -0.09565236419439316, 0.5122299790382385, 0.01984795182943344, 0.4941183626651764, 0.23613721132278442, -0.055417127907276154, -0.14827005565166473, -0.3683961033821106, -0.3147653341293335, 0.15362556278705597, -0.3657960593700409, -0.609588623046875 ]
http://arxiv.org/abs/2406.02128v1
http://arxiv.org/pdf/2406.02128v1
Iteration Head: A Mechanistic Study of Chain-of-Thought
2024-06-04T09:11:46
2024-06-04T09:11:46
Vivien Cabannes, Charles Arnal, Wassim Bouaziz, Alice Yang, Francois Charton, Julia Kempe
cs.LG
cs.LG, cs.AI, cs.CL
Chain-of-Thought (CoT) reasoning is known to improve Large Language Models both empirically and in terms of theoretical approximation power. However, our understanding of the inner workings and conditions of apparition of CoT capabilities remains limited. This paper helps fill this gap by demonstrating how CoT reasoning emerges in transformers in a controlled and interpretable setting. In particular, we observe the appearance of a specialized attention mechanism dedicated to iterative reasoning, which we coined "iteration heads". We track both the emergence and the precise working of these iteration heads down to the attention level, and measure the transferability of the CoT skills to which they give rise between tasks.
[ -0.6901119351387024, -0.7908377051353455, 0.8493666648864746, 0.10777070373296738, -0.2112894058227539, 0.6591154932975769, -0.3809114396572113, -0.335375040769577, 0.11447586864233017, 0.45770469307899475, -0.7766046524047852, 0.07814209163188934, -0.6503934860229492, 0.22723878920078278, -0.7295455932617188, 1.0836505889892578, -0.25273025035858154, -0.4714851379394531, 0.010889766737818718, -0.009555871598422527, -0.5375356674194336, -0.4921996593475342, -0.49622541666030884, -0.6271856427192688, 0.8165503740310669, 0.46267539262771606, 0.8854328989982605, 0.6311464309692383, 0.6202532052993774, 0.23736871778964996, 0.07580201327800751, -0.053597018122673035, -0.608903706073761, 0.17206603288650513, -0.804112434387207, -0.6360443234443665, -0.03176437318325043, -0.06076538935303688, 0.4906325042247772, 0.6596329212188721, -0.062274087220430374, 0.1263798028230667, 0.01460618618875742, 0.9017238020896912, -0.7148162126541138, -0.13949532806873322, -0.9087378978729248, -0.1094585731625557, -0.05803181603550911, -0.4369780421257019, -0.5742000341415405, -0.019731217995285988, 0.4511604309082031, -0.17855453491210938, 0.18246302008628845, 0.03920434042811394, 0.4895029366016388, 0.279699444770813, -0.07160255312919617, -0.493404746055603, -1.055269718170166, 0.8232465982437134, -0.12921041250228882, 0.3959624767303467, 0.09867435693740845, 0.3363476097583771, -0.11976959556341171, -0.8908281326293945, -0.8554260730743408, -0.14612847566604614, 0.1555681675672531, 0.056425679475069046, -0.12330996990203857, 0.03007661923766136, 0.1880931407213211, 0.5884132981300354, -0.1137402132153511, -0.3160549998283386, -0.7343716621398926, 0.3919299244880676, 0.39516860246658325, 0.10436396300792694, 0.15864801406860352, 0.24852891266345978, -0.2856590151786804, -0.25608229637145996, -0.337070107460022, 0.03775859251618385, 0.03902817517518997, 0.1138526052236557, -0.05973009020090103, 0.5731488466262817, -0.19658368825912476, 0.9054229259490967, 0.4573969841003418, -0.09293671697378159, 0.03209149092435837, -0.2149067372083664, -0.3931841552257538, 0.03806746006011963, 0.37907877564430237, -0.045982636511325836, 0.6491868495941162, -0.5374178886413574, -0.09690125286579132, 0.23440594971179962, 1.1982680559158325, -0.037728309631347656, -0.20348164439201355, 0.26060566306114197, -0.24632856249809265, -0.4967770576477051, 0.16117022931575775, -0.4938574731349945, -0.18356013298034668, -0.5631777048110962, 0.309463232755661, -0.47381046414375305, -0.4624066650867462, -0.03954218700528145, -0.1967010200023651, 0.49929237365722656, 0.0332120805978775, -0.850382924079895, 0.1996600180864334, 0.8491118550300598, 0.8519577383995056, -0.595754861831665, -0.5871477127075195, 0.011532533913850784, 0.2637902498245239, -0.565090537071228, 1.0438693761825562, -0.8122086524963379, -0.05979042500257492, -0.29276037216186523, 0.19210653007030487, -0.4076697826385498, -0.45520487427711487, 0.1397605836391449, -0.5647707581520081, -0.31823912262916565, -0.2609761357307434, -0.1878470778465271, -0.1896372139453888, 0.20950548350811005, -0.43035265803337097, 0.713739275932312, 0.4799642264842987, -0.6750066876411438, 0.17499792575836182, -0.5594497919082642, -0.4442718029022217, -0.10086491703987122, -0.3889884948730469, -0.03589707985520363, 0.3784762918949127, -0.10400357842445374, 0.03065374121069908, -0.5429921746253967, 0.06882698833942413, -0.14685876667499542, -0.3120211660861969, 0.5213163495063782, -0.15352529287338257, 0.6969039440155029, 0.3727205693721771, -0.732611894607544, 0.2796823978424072, -0.5505674481391907, 0.08459208160638809, -0.06286053359508514, 0.29649630188941956, -0.046668801456689835, -0.10354483127593994, -0.5001529455184937, 0.2841653525829315, -0.18873919546604156, -0.06264336407184601, 0.3386106789112091, -0.23492911458015442, 0.6662617325782776, 0.8553153276443481, 0.318950891494751, 0.6836797595024109, -0.34220898151397705, 0.6756592988967896, 0.05187569186091423, 0.18853172659873962, -0.10710763186216354, -0.4488237798213959, -0.9920516014099121, -0.004460561089217663, 0.17651838064193726, 0.17705248296260834, -0.9079163074493408, 0.21897606551647186, 0.03260092809796333, -0.5536901354789734, -0.5561503171920776, -0.14167991280555725, 0.2688398063182831, 0.3258814811706543, 0.23436713218688965, -0.4759606420993805, -0.383137047290802, -0.8130884170532227, -0.35037553310394287, -0.08241236209869385, -0.11282075196504593, 0.06884074956178665, 0.5081430077552795, -0.37827539443969727, 0.9454061985015869, -0.2995024621486664, -0.053074561059474945, -0.38592299818992615, 0.41364622116088867, 0.19981776177883148, 0.5433236956596375, 0.2867763638496399, -0.500551164150238, -0.11135698109865189, 0.1038454920053482, -0.8165827989578247, 0.024671847000718117, -0.5895124673843384, -0.5959761142730713, -0.20682822167873383, 0.4772889316082001, -0.46881020069122314, 0.6326122283935547, 0.2847377359867096, -0.34997302293777466, 0.8106241822242737, -0.03333980217576027, 0.09157995879650116, -0.5667040944099426, 0.09605259448289871, -0.42666277289390564, -0.15863944590091705, -0.4817344546318054, 0.4638640284538269, -0.10837741941213608, 0.15751199424266815, -0.1145496591925621, 0.13834288716316223, -0.6102558374404907, -0.43764543533325195, -0.6108424663543701, 0.4593031108379364, 0.008603929542005062, 0.7028796076774597, -0.06461924314498901, 0.9865211248397827, 0.7094939351081848, -0.953195333480835, 0.3739575147628784, 0.1672527939081192, -0.20011742413043976, 0.8457724452018738, -0.43078428506851196, 0.6772337555885315, -0.10736744850873947, -0.028334034606814384, -0.7463778257369995, -0.12287168204784393, 0.05790756270289421, -0.3700734078884125, 0.05425630882382393, 0.38811254501342773, -0.21782726049423218, -0.8878606557846069, -0.245369091629982, 0.5009075403213501, 0.35547661781311035, -0.4767831861972809, 0.5118380784988403, 0.44511476159095764, 0.06836429983377457, -0.49968859553337097, -0.6408075094223022, -0.06773726642131805, -0.07815507054328918, -0.06577128916978836, 0.3162899613380432, 0.13199540972709656, -0.683249294757843, -0.055606357753276825, -0.4530858099460602, -0.1736302375793457, -0.22865676879882812, -0.06227651238441467, -0.11218933016061783, -0.02715606987476349, 0.20081137120723724, 0.11565086245536804, -0.1520686000585556, 0.13881747424602509, -0.35007554292678833, 0.6710573434829712, -0.26897379755973816, -0.20012399554252625, -0.35590988397598267, 0.1689235270023346, 0.9783098101615906, -0.25493231415748596, 0.6309497952461243, 0.09598205983638763, -0.26603466272354126, -0.26345765590667725, -0.49182793498039246, -0.20914195477962494, -0.4992051422595978, 0.027252554893493652, -0.7849418520927429, -0.49404701590538025, 0.5807962417602539, -0.03837615251541138, 0.006450198125094175, 0.4751743674278259, 0.8543699383735657, -0.14918109774589539, 0.8063139915466309, 0.6696981191635132, 0.1171233206987381, 0.4045223295688629, -0.5449424386024475, 0.43361324071884155, -1.3255618810653687, -0.20896629989147186, -0.34638407826423645, -0.5695534348487854, -0.4940561354160309, -0.5818681120872498, 0.2571069002151489, 0.3278779983520508, -0.2952011227607727, 0.6401580572128296, -0.9602547883987427, 0.5633187890052795, 0.431132435798645, 0.33331772685050964, 0.36024633049964905, -0.3980794847011566, -0.3195507526397705, 0.31105664372444153, -0.6278276443481445, -0.45638740062713623, 0.798057496547699, 0.25669917464256287, 0.8425639271736145, -0.32321155071258545, 0.29797303676605225, 0.38863512873649597, 0.36864742636680603, -0.8080220818519592, 0.3400879204273224, 0.2509513795375824, -0.4360947012901306, -0.1808425486087799, 0.10559364408254623, -0.9657602310180664, -0.050440315157175064, 0.2383037805557251, -1.103555679321289, 0.30254602432250977, 0.10760592669248581, -0.31288063526153564, 0.3686560392379761, -0.5428189635276794, 0.6255407929420471, -0.2528568208217621, -0.4291597902774811, -0.6811115145683289, -0.6068117022514343, 0.29621341824531555, -0.06705854088068008, 0.07979924976825714, 0.2232978343963623, 0.19138610363006592, 0.7742207646369934, -0.34888967871665955, 0.3619161546230316, 0.27941587567329407, -0.3053422272205353, 0.9295530319213867, 0.1618301421403885, 0.4794774055480957, -0.11838137358427048, 0.171944722533226, 0.12540678679943085, -0.13415251672267914, -0.27917033433914185, -0.718052089214325, 0.735664963722229, -0.5243409872055054, -0.8568121790885925, -0.4351404011249542, -0.826265275478363, -0.25292444229125977, 0.21020406484603882, 0.22072243690490723, 0.16887179017066956, 0.39067739248275757, 0.2194449007511139, 0.38098737597465515, 0.09645049273967743, 0.30734166502952576, -0.009834774769842625, -0.44621142745018005, -0.16949209570884705, 0.6141802668571472, 0.1631639301776886, 0.49818602204322815, 0.058602508157491684, -0.022621093317866325, -0.017379064112901688, -0.25220051407814026, -0.49684545397758484, 0.058945100754499435, -0.8874120712280273, -0.14016038179397583, -0.6867358684539795, -0.3394150733947754, 0.21290765702724457, -0.49485093355178833, -0.5884827971458435, -0.5418549180030823, 0.11927979439496994, -0.13648316264152527, 0.4832349121570587, 1.0158251523971558, 0.20291051268577576, 0.38115283846855164, -0.23882517218589783, 0.4382023215293884, 0.47088396549224854, 0.6290181279182434, 0.499751478433609, -0.3109864890575409, -0.32284748554229736, 0.034085776656866074, -0.7295137047767639, -0.8003293871879578, -0.08017531782388687, -0.22268076241016388, 0.42663636803627014, 0.5877034664154053, -0.0006670657894574106, 0.9537580609321594, -0.4403226673603058, 0.6797013878822327, 0.17076921463012695, -1.0884402990341187, 0.4378594160079956, -0.12376179546117783, 0.6484485268592834, 0.6624804735183716, 0.24828611314296722, -0.2956022024154663, -0.9503480195999146, -0.9043211936950684, -0.6812916994094849, 0.5270208716392517, 0.45370766520500183, -0.05370811000466347, -0.19163919985294342, 0.6212390065193176, 0.43103915452957153, 0.3445432186126709, -0.32584232091903687, -0.10008957237005234, 0.08840696513652802, -0.0860140472650528, 0.2602040469646454, 0.025523589923977852, 0.07124657183885574, -0.4993007183074951, 0.3151128590106964, -0.20624876022338867, 0.7761790752410889, 0.40633562207221985, -0.30783510208129883, -0.4364043176174164, 0.014294527471065521, 0.6051785349845886, 1.497156023979187, 0.11488322913646698, 0.49022504687309265, 0.17109331488609314, -0.439468652009964, 0.10909352451562881, -0.7604080438613892, 0.035060856491327286, -0.1212676540017128, 0.3871486783027649, 0.7484501600265503, 0.25498461723327637, -0.7136111259460449, 0.09660857170820236, 0.10968407988548279, 0.007187218405306339, -0.41244208812713623, 0.2846539616584778, -0.13798494637012482, 0.6888468861579895, 0.566487729549408, 0.2963380515575409, 0.20361869037151337, -0.9212805032730103, 0.5715303421020508, 0.37890732288360596, -0.5437941551208496, -0.529627799987793, 0.7150579690933228, 0.04062208533287048, -0.6255262494087219, 0.46303826570510864, 0.09847132861614227, -0.708409309387207, 0.663892924785614, 0.4475667178630829, 1.2151103019714355, -0.1520831435918808, 0.06148219853639603, 0.26044970750808716, 0.46193787455558777, -0.08583257347345352, 0.2168712168931961, -0.5143190026283264, -0.6058915853500366, -0.40352991223335266, -0.3643451929092407, -0.682010293006897, 0.09020897001028061, -0.8824143409729004, 0.33579379320144653, -0.5424386858940125, -0.18655861914157867, 0.15635208785533905, -0.5284478068351746, -0.7470094561576843, 0.34102895855903625, 0.15191957354545593, 0.8137010931968689, -0.19692601263523102, 0.8057777285575867, 0.19635358452796936, -0.3268224895000458, -0.4894000291824341, 0.5693331956863403, -0.5551406741142273, -1.0541216135025024, 0.3726339340209961, 0.4559348225593567, -0.5687922835350037, 0.27118605375289917, -0.48091116547584534, -0.9439049959182739, 0.9360761046409607, 0.14782220125198364, -0.7515592575073242, -0.1516062319278717, -0.09944122284650803, 0.6005238890647888, -0.7241474986076355, 0.442867636680603, 1.1354377269744873, 0.3669363856315613, -0.00726507231593132, -1.178457260131836, -0.09419780224561691, 0.10824102908372879, 0.1177438274025917, 0.11017554253339767, -0.7214308381080627, 0.8802690505981445, -0.5754170417785645, -0.2142668068408966, -0.1051495298743248, 0.5345984101295471, 0.24418103694915771, 0.22019164264202118, 0.5514636635780334, 0.3551875352859497, 0.7063544988632202, -0.07401143014431, 1.2392418384552002, -0.49775561690330505, 0.4687138497829437, 0.9560099244117737, -0.1341019868850708, 0.6426973938941956, 0.8690031170845032, -0.164286270737648, 1.183517575263977, 0.43360498547554016, 0.25643548369407654, 0.775117814540863, 0.4091792404651642, 0.05611796677112579, 0.0609835684299469, 0.09998099505901337, -0.03323816508054733, 0.5593957304954529, 0.2195473164319992, -0.5199095010757446, 0.16791976988315582, 0.38145002722740173, -0.2807576060295105, -0.022736823186278343, -0.6658797860145569, 0.9496177434921265, 0.09560039639472961, -1.0682318210601807, 1.0034372806549072, -0.40566349029541016, 0.16331757605075836, -0.1911001056432724, -0.08999820053577423, 0.33718907833099365, 0.5206254720687866, -0.0037513873539865017, -1.0450806617736816, 0.6773838400840759, 0.09975786507129669, -0.15615405142307281, -0.17382366955280304, 0.6589122414588928, -0.08718247711658478, -0.27029532194137573, 0.3920170068740845, 0.3532786965370178, 0.18052411079406738, -0.12889374792575836, -0.5839387774467468, 0.28574255108833313, -0.07111970335245132, -0.5952088832855225, -0.10576635599136353, 0.5265460014343262, -0.33145418763160706, 0.8075250387191772, 0.10603008419275284, -0.13067373633384705, 0.11316433548927307, 0.03182750567793846, 1.081695795059204, -1.0075745582580566, -0.5314059853553772, -0.9919292330741882, 0.4490935206413269, -0.06163659691810608, -0.3342546820640564, 0.2378259301185608, 0.13242296874523163, 0.8516954183578491, -0.24582406878471375, 0.8918631076812744, -0.3832816481590271, 0.23478059470653534, -0.33452075719833374, 0.4399494528770447, -0.23991326987743378, -0.015789592638611794, -0.3141278326511383, -1.0282002687454224, 0.14592096209526062, 0.9847339987754822, -0.3867988586425781, -0.0029343136120587587, 1.385806679725647, 0.10774742811918259, 0.03630029782652855, 0.2424028217792511, 0.059774283319711685, 0.3622988760471344, 0.03229697421193123, 0.5724360346794128, 0.6621485352516174, -0.22407323122024536, 0.15118232369422913, -0.5471373796463013, -0.5414849519729614, 0.050029411911964417, -0.6800230145454407, -0.8931823968887329, -0.6610361337661743, -0.1810745894908905, -0.4252442419528961, -0.022583402693271637, 0.8693565130233765, 0.3513016998767853, -0.9788517355918884, -0.3218790888786316, -0.9384457468986511, 0.29749879240989685, -0.8329572677612305, -0.2741415500640869, 0.17852863669395447, -0.6743855476379395, -0.5951300859451294, 0.11316829174757004, 0.5541394352912903, -0.5023785829544067, -0.5630453824996948, 0.17199832201004028, -0.32195061445236206, 0.3055739402770996, 0.6467607617378235, 0.16164571046829224, -0.8837254643440247, -0.5878975987434387, 0.1131526455283165, 0.2817956507205963, 0.22637663781642914, 1.2340998649597168, -1.0015209913253784, 0.7896260619163513, 0.1897650957107544, 0.5382292866706848, 0.5899014472961426, -0.02837543934583664, 0.9901826977729797, -0.5551923513412476, 0.41223669052124023, 0.27106308937072754, 0.15261410176753998, 0.07208044826984406, -0.3869139552116394, 0.765887975692749, 0.18888366222381592, -0.5769204497337341, -1.014765977859497, 0.3537070155143738, -0.9623464345932007, -0.12609800696372986, 0.8521290421485901, 0.15479522943496704, -0.47279590368270874, -0.14592701196670532, -0.38578709959983826, 0.5401598215103149, 0.04110916331410408, 1.2877360582351685, 0.8277646899223328, -0.6820306777954102, -0.5388814806938171, -0.343250572681427, 0.4323078393936157, 0.1761874109506607, -0.5931146740913391, 0.3827270567417145, -0.42283037304878235, -0.09898831695318222, 0.6900616884231567, 0.5228370428085327, -0.09132487326860428, 0.3722120523452759, 0.07811504602432251, -0.058751750737428665, 0.46526724100112915, -0.6787410974502563, 0.07590696960687637, 0.015121351927518845, 0.12919600307941437, -0.13256879150867462 ]
http://arxiv.org/abs/2406.02120v1
http://arxiv.org/pdf/2406.02120v1
Diver: Large Language Model Decoding with Span-Level Mutual Information Verification
2024-06-04T09:02:22
2024-06-04T09:02:22
Jinliang Lu, Chen Wang, Jiajun Zhang
cs.CL
cs.CL
Large language models (LLMs) have shown impressive capabilities in adapting to various tasks when provided with task-specific instructions. However, LLMs using standard decoding strategies often struggle with deviations from the inputs. Intuitively, compliant LLM outputs should reflect the information present in the input, which can be measured by point-wise mutual information (PMI) scores. Therefore, we propose Diver, a novel approach that enhances LLM Decoding through span-level PMI verification. During inference, Diver first identifies divergence steps that may lead to multiple candidate spans. Subsequently, it calculates the PMI scores by assessing the log-likelihood gains of the input if the candidate spans are generated. Finally, the optimal span is selected based on the PMI re-ranked output distributions. We evaluate our method across various downstream tasks, and empirical results demonstrate that Diver significantly outperforms existing decoding methods in both performance and versatility.
[ -0.31298112869262695, -0.4456631541252136, 0.4334530830383301, 0.5484586358070374, -0.3042648136615753, 0.17601872980594635, -0.22234666347503662, -0.42393067479133606, 0.19096435606479645, 0.14035142958164215, -0.6328189373016357, -0.7889647483825684, -0.8589737415313721, 0.3111456632614136, -0.25247472524642944, 0.5869771838188171, 0.039176445454359055, -0.04137232527136803, 0.05138993635773659, 0.1538473516702652, -0.5166977643966675, -0.3751392662525177, -0.726027250289917, -0.06903384625911713, 0.6450320482254028, 0.26727643609046936, 0.18459640443325043, 0.44954797625541687, 0.4218301475048065, 0.2377070039510727, -0.255597323179245, 0.46736714243888855, -0.6478517651557922, 0.05214705690741539, -0.05002252385020256, -0.5650079846382141, -0.4310145676136017, -0.3242782950401306, 1.0506352186203003, 0.7031583786010742, 0.02626238949596882, -0.0012364069698378444, 0.0020012843888252974, 0.675209105014801, -1.0617130994796753, 0.3302469253540039, -0.5253910422325134, 0.011564857326447964, -0.2943040132522583, -0.17218463122844696, -0.7790713906288147, -0.2919010519981384, -0.05703740566968918, -0.25215405225753784, -0.2176191210746765, -0.1744726449251175, 0.8012627959251404, 0.18326276540756226, -0.7923164963722229, -0.14241059124469757, -0.7279684543609619, 0.9142307639122009, -0.9198083281517029, 0.6550161838531494, 0.4126189053058624, 0.06520789116621017, 0.03214156627655029, -0.3107542097568512, -0.4452454745769501, 0.10018090158700943, -0.012782927602529526, 0.3204035460948944, -0.25949254631996155, 0.13809511065483093, 0.05440715327858925, 0.5041084885597229, -0.3766534626483917, 0.23590517044067383, -0.09630147367715836, -0.29540491104125977, 0.9342172741889954, 0.30227306485176086, 0.3838980197906494, -0.02553704008460045, -0.15715767443180084, -0.12713320553302765, -0.938697099685669, 0.20817896723747253, 0.5995943546295166, 0.22393475472927094, -0.26588261127471924, 0.648157000541687, -0.5354067087173462, 0.652553379535675, 0.10619240999221802, -0.16260598599910736, 0.14327776432037354, -0.5064084529876709, 0.11140450835227966, 0.022133227437734604, 0.6860650181770325, 0.38859766721725464, 0.1344788521528244, 0.07053656131029129, -0.3712449371814728, -0.40645796060562134, -0.2296406626701355, -0.8645193576812744, -0.09414573013782501, 0.10907342284917831, -0.41514164209365845, -0.03917354345321655, 0.28009724617004395, -0.4215320348739624, -0.2512238025665283, -0.03896557539701462, 0.2853424549102783, -0.42133575677871704, -0.662945568561554, 0.6187558770179749, -0.05366099625825882, 0.4289172887802124, 0.2558225691318512, -0.9432635307312012, 0.08049748837947845, 0.8627333641052246, 0.935077428817749, -0.05663887411355972, -0.41977182030677795, -0.7614715695381165, 0.20737411081790924, -0.4187030494213104, 0.4775755703449249, -0.5627447962760925, -0.30054134130477905, 0.1611699014902115, -0.17813707888126373, -0.35400766134262085, -0.3259645998477936, 0.46070560812950134, -0.795249342918396, 0.10015812516212463, -0.3734579086303711, -0.8637212514877319, -0.07267414778470993, 0.2610892653465271, -0.8152605891227722, 0.6657764315605164, 0.09277865290641785, -1.2025694847106934, 0.19510626792907715, -0.5732786655426025, -0.5883479118347168, 0.03776790201663971, 0.08948937058448792, -0.31659865379333496, 0.2717418074607849, 0.2581891417503357, 0.51995450258255, 0.021387828513979912, 0.058201730251312256, -0.31509077548980713, -0.4146624505519867, 0.08383189141750336, -0.572492778301239, 0.6609423756599426, -0.019594600424170494, 0.005930165760219097, 0.05270629748702049, -0.6520861387252808, -0.10128539800643921, 0.009252372197806835, -0.8833429217338562, -0.4908806383609772, 0.20133447647094727, -0.3330570459365845, -0.3034858703613281, 0.36107340455055237, -0.7211799025535583, 0.18122658133506775, -0.3251393735408783, 0.45617246627807617, 0.6169646382331848, 0.22955110669136047, 0.32832959294319153, -0.17490334808826447, 0.3806752562522888, -0.027489926666021347, -0.09889348596334457, -0.171939879655838, -0.28031134605407715, -0.6467718482017517, -0.6685629487037659, 0.4362640380859375, 0.5672877430915833, -0.5291982889175415, 0.7396502494812012, -0.45393359661102295, -0.24765194952487946, -0.44091731309890747, 0.01830677129328251, 0.2000855952501297, 0.3043745160102844, 0.28583016991615295, -0.32791203260421753, -0.7067886590957642, -0.6153833866119385, -0.19351433217525482, -0.4113621413707733, -0.1587173491716385, 0.3577331304550171, 0.26773545145988464, -0.438448965549469, 0.9208257794380188, -0.5508530139923096, 0.045441534370183945, -0.5420958995819092, 0.17880088090896606, 0.5156165361404419, 0.26928022503852844, 0.13666854798793793, -0.47664687037467957, -0.4135754108428955, -0.11943233758211136, -0.5092976093292236, -0.3078308701515198, -0.22631913423538208, -0.18353034555912018, -0.02901604026556015, 0.5034459233283997, -0.6354342103004456, 0.1536826193332672, 0.7842077612876892, -0.5283448100090027, 0.7463083863258362, -0.17381329834461212, 0.2250935435295105, -0.9806261658668518, 0.11478220671415329, 0.051766589283943176, -0.4215063452720642, -0.36634236574172974, 0.12312236428260803, 0.13927298784255981, 0.47583088278770447, -0.0020243115723133087, 0.34032735228538513, -0.5567763447761536, 0.013400186784565449, -0.2259325534105301, -0.0828884094953537, 0.11373283714056015, 0.04681755602359772, 0.21975943446159363, 0.6077215671539307, 0.5197101831436157, -0.5399680733680725, 0.40796414017677307, 0.11447041481733322, -0.5418925881385803, 0.5298429727554321, -0.7802590131759644, -0.04885558784008026, -0.24491959810256958, 0.5325813889503479, -1.0469233989715576, -0.2614284157752991, -0.15082411468029022, -0.18970687687397003, 0.3600638806819916, -0.30403631925582886, -0.47257035970687866, -0.19007055461406708, -0.29225802421569824, 0.7539714574813843, 0.32381677627563477, -0.7120612263679504, 0.670081377029419, 0.2783084511756897, -0.15915901958942413, -0.8538091778755188, -0.5987849831581116, 0.07260517030954361, -0.11592881381511688, -0.7473313212394714, 0.28209951519966125, -0.21764959394931793, -0.1649753749370575, -0.1977178156375885, -0.35751909017562866, -0.0655120387673378, 0.10153739899396896, 0.2738988697528839, 0.15394853055477142, -0.393160343170166, -0.21225416660308838, 0.23510397970676422, -0.07805133610963821, 0.2523137629032135, -0.22983086109161377, 0.6819930672645569, -0.08283377438783646, -0.589654803276062, -0.6399294137954712, 0.4418928325176239, 0.6340500712394714, -0.5512270331382751, 0.6621127724647522, 0.718485414981842, -0.3307633697986603, -0.395362913608551, -0.40047550201416016, -0.11466983705759048, -0.46871036291122437, 0.527313232421875, -0.710996150970459, -1.0425314903259277, 0.3790966272354126, -0.3163253664970398, 0.02342631295323372, 0.26243188977241516, 0.41121500730514526, -0.03142530098557472, 0.8972931504249573, 0.8769916892051697, -0.4782557189464569, 0.4617201089859009, -0.35995548963546753, 0.3977600634098053, -0.7483185529708862, -0.3900723457336426, -0.26051202416419983, -0.2888633608818054, 0.017710546031594276, -0.3547411561012268, 0.2200770527124405, 0.5477234721183777, -0.20590560138225555, 0.2713530957698822, 0.0707545205950737, 0.8186236023902893, 0.4770466387271881, 0.18053893744945526, 0.5374744534492493, -0.2492690235376358, -0.18188641965389252, 0.08179918676614761, -0.5054348707199097, -0.15012270212173462, 0.7383988499641418, 0.6747937798500061, 0.85899817943573, 0.3527798652648926, 0.9431806206703186, 0.43446260690689087, -0.0408274345099926, -0.7305117845535278, 0.5219864249229431, -0.10819821804761887, -0.18582160770893097, -0.42736363410949707, -0.7724896669387817, -0.7622402310371399, 0.266064316034317, -0.12956854701042175, -0.6199350357055664, 0.11690063774585724, -0.15192659199237823, -0.2218974530696869, 0.33322957158088684, -0.5936214923858643, 0.5885147452354431, 0.07497868686914444, -0.07592526823282242, -0.40053221583366394, -0.4712190330028534, 0.5709603428840637, -0.04462898150086403, -0.005900292657315731, -0.15884371101856232, -0.21975462138652802, 0.4400700628757477, -0.33939287066459656, 1.04129958152771, -0.19598913192749023, -0.5897208452224731, 0.05860770493745804, 0.3598577380180359, 0.5498682856559753, 0.5154216885566711, -0.23801857233047485, 0.28278788924217224, -0.11557720601558685, -0.3600868284702301, -0.36894306540489197, 0.6965048909187317, -0.8406998515129089, -0.4029434323310852, 0.007813332602381706, -0.6548906564712524, -0.2047947645187378, 0.29688942432403564, 0.2194441854953766, 0.26333773136138916, -0.21280843019485474, -0.008568240329623222, 0.6978340744972229, -0.20061463117599487, 0.605005145072937, 0.5980342030525208, 0.07056525349617004, -0.3991306722164154, 0.7027289867401123, -0.5087944269180298, 0.16430701315402985, 0.9304284453392029, 0.06273479014635086, -0.47457027435302734, -0.8249288201332092, -0.3114042580127716, 0.48725083470344543, -0.6813366413116455, -0.33575764298439026, -0.30783963203430176, -0.3816871643066406, -0.05581645295023918, 0.07986914366483688, -0.5288975834846497, -0.017507778480648994, -0.14942166209220886, -0.08925425261259079, -0.0034138443879783154, 0.8854151368141174, -0.2983380854129791, 0.09863308817148209, -0.9441342949867249, 0.0488513708114624, 0.38373586535453796, 0.4716567397117615, -0.13985086977481842, -0.49170029163360596, -0.2080109417438507, 0.09083382785320282, 0.37166887521743774, -0.8298389315605164, 0.15212109684944153, 0.2757233679294586, 0.42948225140571594, 0.8099767565727234, 0.10376464575529099, 0.4612164795398712, -0.6352231502532959, 0.5904919505119324, 0.20252370834350586, -1.476653814315796, 0.28645288944244385, -0.2108674794435501, 0.38897648453712463, 0.26440107822418213, 0.47080889344215393, -0.7079741358757019, -0.373225599527359, 0.002425271784886718, -0.7533599138259888, 0.44371914863586426, -0.17219047248363495, 0.2687394320964813, -0.03286334499716759, 0.20520256459712982, -0.04718529433012009, -0.20186445116996765, -0.780297577381134, 0.10372120887041092, 0.11106517165899277, -0.4054544270038605, 0.016806885600090027, -0.42618635296821594, 0.02925650216639042, -0.00836421549320221, 0.35952436923980713, -0.11233147233724594, 0.0783691257238388, 0.1089007556438446, -0.3393051326274872, -0.03567386046051979, 0.14361560344696045, 0.46636343002319336, 0.5685805082321167, -0.1588284820318222, 0.5470389127731323, 0.24743016064167023, -0.30731892585754395, 0.05798614025115967, -0.20524141192436218, 0.09907063096761703, 0.2425656020641327, 0.850570023059845, 0.7501665949821472, -0.003207219997420907, -0.6261447072029114, 0.9839092493057251, -0.16516171395778656, -0.12855757772922516, 0.07026401907205582, 0.017837559804320335, 0.37845346331596375, 0.5159569978713989, 0.3025607466697693, 0.002129301195964217, -0.07867473363876343, -0.1280861645936966, 0.18307171761989594, 0.4270947277545929, -0.048475589603185654, -0.5370978713035583, 0.3194156885147095, 0.25400739908218384, 0.003977566491812468, 0.7402207255363464, -0.15928079187870026, -0.4194406270980835, 0.2634001076221466, 0.5778893232345581, 0.557595431804657, -0.455780029296875, 0.3171706199645996, 0.5950224995613098, 0.37636521458625793, -0.21587400138378143, 0.3238082528114319, -0.1894400715827942, -0.7377811670303345, -0.9632154107093811, -0.5353358387947083, -0.27066493034362793, 0.04808536916971207, -0.7127087116241455, 0.21050085127353668, -0.2771395444869995, 0.07035969942808151, -0.31927353143692017, -0.25418412685394287, -0.4567049741744995, 0.02154822088778019, 0.5492198467254639, 1.212178349494934, -1.0695892572402954, 0.7571291327476501, 0.1676032394170761, -0.21906043589115143, -0.7242743968963623, 0.2644819915294647, -0.1920800805091858, -0.8012771606445312, 0.7312985062599182, 0.22413504123687744, -0.41224080324172974, 0.03138549253344536, -0.4284239411354065, -0.9771262407302856, 1.081249475479126, 0.4778914451599121, -0.7248958945274353, -0.10087000578641891, 0.22955536842346191, 0.2347300797700882, -0.403114914894104, 0.37833404541015625, 0.3815757632255554, 0.3461914658546448, -0.05517406389117241, -0.7710676193237305, 0.19003921747207642, -0.21158263087272644, 0.12531429529190063, 0.18032194674015045, -0.34830495715141296, 0.7608227133750916, -0.48756712675094604, -0.49432697892189026, 0.10300720483064651, 0.7530825734138489, 0.2758874297142029, 0.10272891074419022, 0.8060553669929504, 0.5720829367637634, 0.9018070101737976, 0.03703952208161354, 0.9572854042053223, -0.42494505643844604, 0.3084879517555237, 0.9014567136764526, -0.23051340878009796, 1.3120479583740234, 0.24092648923397064, -0.17118456959724426, 0.8028076887130737, 0.6012067794799805, 0.018364885821938515, 0.6210123896598816, 0.4137296676635742, -0.6206403374671936, -0.41011399030685425, 0.02057262696325779, -0.24334777891635895, 0.4563482701778412, 0.2904109060764313, -0.23291005194187164, -0.28166717290878296, -0.19164423644542694, -0.15774179995059967, -0.12222541868686676, -0.23653948307037354, 0.7309665679931641, -0.08130371570587158, -0.41996699571609497, 0.7319486141204834, 0.4675866663455963, 0.8968116044998169, -0.6570883989334106, 0.0743837058544159, -0.5476085543632507, 0.14831022918224335, -0.3778060972690582, -0.6856869459152222, 0.2675749361515045, -0.006927854847162962, -0.3921401798725128, -0.1773305982351303, 0.5222139358520508, -0.6750820279121399, -0.10113372653722763, 0.28098636865615845, 0.5777296423912048, 0.04363654553890228, -0.24393953382968903, -0.22814634442329407, 0.3906204402446747, 0.02551351487636566, 0.0058086104691028595, -0.02008756436407566, 0.3679584264755249, 0.25631070137023926, 0.6519675850868225, 0.4762907326221466, 0.208950012922287, 0.2020799070596695, 0.334152489900589, 0.6531866788864136, -0.5543971657752991, -0.4338604807853699, -1.009764313697815, 0.5259109735488892, -0.06350784003734589, -0.19118613004684448, 0.7303317785263062, 0.702919065952301, 0.9358157515525818, -0.23376886546611786, 0.7577670812606812, 0.24870680272579193, 0.1552954912185669, -0.6012200713157654, 0.6048001646995544, -0.24276086688041687, 0.4600411653518677, -0.11120491474866867, -0.8735709190368652, -0.45849451422691345, 0.5118680596351624, -0.3198081851005554, -0.1519230157136917, 0.6534894704818726, 0.7711606621742249, -0.24386583268642426, 0.02449512854218483, 0.19572371244430542, 0.03318014740943909, 0.2547622621059418, 1.1122311353683472, 1.2116717100143433, -0.15642523765563965, 0.5272089838981628, 0.1328791081905365, -0.25473925471305847, -0.13459952175617218, -0.8576204776763916, -1.0143625736236572, -0.40086209774017334, -0.5161455273628235, -0.3511280417442322, -0.0733432024717331, 0.46696609258651733, 1.0369056463241577, -0.6063975691795349, -0.35501620173454285, -0.2680763006210327, 0.3068048655986786, -0.27548593282699585, -0.19542327523231506, 0.26926523447036743, -0.2579922378063202, -0.9418244361877441, 0.8336295485496521, 0.37906888127326965, -0.042210616171360016, -0.2726512551307678, -0.39851757884025574, -0.09590046107769012, 0.3155004680156708, 0.6301082372665405, 0.13784772157669067, -0.5561590194702148, -0.11825474351644516, -0.11461243033409119, -0.3538268804550171, -0.10651503503322601, 0.923996090888977, -0.34454959630966187, 0.061667002737522125, 0.8302621841430664, 1.0189584493637085, 0.4806377589702606, -0.0814966931939125, 0.7132315635681152, -1.0727061033248901, -0.3495664894580841, 0.045003797858953476, 0.622439980506897, 0.36202776432037354, -0.1982671469449997, 0.34096530079841614, 0.1686706244945526, -0.21936877071857452, -0.7398898005485535, 0.5754796266555786, -0.9635239839553833, -0.3406558334827423, 1.2177760601043701, -0.5831016898155212, -0.07828175276517868, 0.17568162083625793, -0.0526462122797966, 0.0629558116197586, -0.2339152693748474, 0.6663601398468018, 0.6631671190261841, 0.2434300184249878, -0.38709592819213867, 0.11710746586322784, 0.1466021090745926, 0.3748329281806946, -0.7425682544708252, 0.144277885556221, 0.48827803134918213, 0.6149020195007324, -0.02898671291768551, 0.476032555103302, -0.09816504269838333, 0.049410928040742874, 0.14928923547267914, -0.07073525339365005, -0.10630648583173752, -0.3101685047149658, -0.4820936918258667, 0.2152274250984192, 0.18983159959316254, -0.3667127788066864 ]
http://arxiv.org/abs/2406.02110v1
http://arxiv.org/pdf/2406.02110v1
UniOQA: A Unified Framework for Knowledge Graph Question Answering with Large Language Models
2024-06-04T08:36:39
2024-06-04T08:36:39
Zhuoyang Li, Liran Deng, Hui Liu, Qiaoqiao Liu, Junzhao Du
cs.CL
cs.CL, cs.AI
OwnThink stands as the most extensive Chinese open-domain knowledge graph introduced in recent times. Despite prior attempts in question answering over OwnThink (OQA), existing studies have faced limitations in model representation capabilities, posing challenges in further enhancing overall accuracy in question answering. In this paper, we introduce UniOQA, a unified framework that integrates two complementary parallel workflows. Unlike conventional approaches, UniOQA harnesses large language models (LLMs) for precise question answering and incorporates a direct-answer-prediction process as a cost-effective complement. Initially, to bolster representation capacity, we fine-tune an LLM to translate questions into the Cypher query language (CQL), tackling issues associated with restricted semantic understanding and hallucinations. Subsequently, we introduce the Entity and Relation Replacement algorithm to ensure the executability of the generated CQL. Concurrently, to augment overall accuracy in question answering, we further adapt the Retrieval-Augmented Generation (RAG) process to the knowledge graph. Ultimately, we optimize answer accuracy through a dynamic decision algorithm. Experimental findings illustrate that UniOQA notably advances SpCQL Logical Accuracy to 21.2% and Execution Accuracy to 54.9%, achieving the new state-of-the-art results on this benchmark. Through ablation experiments, we delve into the superior representation capacity of UniOQA and quantify its performance breakthrough.
[ -0.23060931265354156, -0.708461582660675, 0.6324402689933777, -0.12513002753257751, -0.19764326512813568, 0.4995201528072357, -0.07497241348028183, -0.30275365710258484, 0.18756020069122314, 0.9028347730636597, -0.44980958104133606, -0.3826189339160919, -0.08379887044429779, 0.06655125319957733, -0.17942452430725098, 0.55265873670578, -0.12373872101306915, 0.029757604002952576, -0.3779996633529663, -0.3802950382232666, -0.2848437428474426, -0.31673717498779297, -0.45824745297431946, -0.5221415162086487, 0.5278669595718384, 0.37585189938545227, 0.8595749139785767, 0.647971510887146, 0.12550407648086548, 0.34529879689216614, -0.04566875100135803, 0.46914780139923096, -0.3246341943740845, 0.08448988199234009, -0.30918145179748535, -0.2990020513534546, -0.2977410852909088, -0.4168826639652252, 0.6665433049201965, 1.0344018936157227, -0.2566990852355957, 0.22497820854187012, 0.17837482690811157, 0.6635968089103699, -0.4306843876838684, 0.04463367164134979, -0.782168447971344, -0.1083260178565979, -0.14395707845687866, -0.00573970889672637, -0.19234836101531982, -0.06745540350675583, -0.0880640298128128, -0.7914808392524719, -0.20829515159130096, 0.1276322901248932, 0.4647495448589325, 0.45693743228912354, -0.7427577376365662, 0.2740580439567566, -0.4870169162750244, 0.39052191376686096, -0.67861008644104, 0.408537358045578, -0.14456908404827118, 0.445476233959198, -0.5415759086608887, -1.2452731132507324, -0.6450988054275513, 0.26201707124710083, 0.05315804108977318, 0.24210380017757416, -0.211856409907341, 0.4302347004413605, 0.14103175699710846, 0.34368035197257996, -0.6561108827590942, 0.10243508219718933, -0.5501152873039246, -0.2520337998867035, 0.5619820952415466, 0.37352558970451355, 0.2098124772310257, -0.4023120105266571, -0.51255202293396, 0.1285616010427475, -0.6635195016860962, 0.309099406003952, 0.0616975836455822, 0.2851113975048065, 0.5803967714309692, 0.6498469710350037, -0.7685278058052063, 0.8220682740211487, -0.14889022707939148, 0.32286614179611206, 0.04201171174645424, 0.04525085911154747, -0.43930599093437195, -0.1496618539094925, 1.1066559553146362, 0.08965615183115005, 0.22436641156673431, -0.3487704396247864, 0.15264438092708588, -0.38007888197898865, 0.2754167318344116, -0.6140804886817932, -0.4190056622028351, 0.4648076891899109, -0.03011520393192768, -0.08534100651741028, 0.00014049063611309975, -0.622440755367279, -0.5001575350761414, -0.3619467318058014, 0.5014812350273132, -0.3088250756263733, -0.19357796013355255, 0.11551119387149811, 0.04311014339327812, -0.18083588778972626, 0.49608731269836426, -0.13215932250022888, 0.28615450859069824, 0.5044464468955994, 0.4356198310852051, -0.31063637137413025, -0.4927707314491272, -0.43677347898483276, 0.26321542263031006, -0.45228680968284607, 0.8273212313652039, -0.197128564119339, 0.009970723651349545, -0.23350019752979279, -0.0375174880027771, -0.15967661142349243, -0.4367827773094177, 0.4762113094329834, -0.9008509516716003, 0.13586191833019257, -0.33883437514305115, -0.7068189382553101, -0.3766920864582062, 0.1590666025876999, -0.5816513299942017, 1.108656406402588, 0.20927239954471588, -1.0363006591796875, -0.17521363496780396, -0.8106111288070679, 0.006561788264662027, 0.3890816569328308, -0.14055179059505463, 0.18159134685993195, -0.12825128436088562, 0.2072555124759674, 0.2899611294269562, -0.6764688491821289, 0.37017276883125305, -0.34492698311805725, -0.5103712677955627, 0.3343029320240021, -0.36608028411865234, 1.0793246030807495, 0.24658097326755524, -0.15752410888671875, 0.12831272184848785, -0.5938611030578613, 0.6485438942909241, 0.16769544780254364, -0.12539836764335632, -0.34727704524993896, -0.2915378212928772, -0.3796444833278656, 0.17131446301937103, 0.36027148365974426, -0.8768685460090637, 0.27345672249794006, -0.4999723732471466, 0.48381179571151733, 0.5859975218772888, 0.018880097195506096, 0.3214418888092041, -0.09712183475494385, 0.4623742401599884, -0.08633268624544144, 0.03686380013823509, 0.14029204845428467, -0.5881643295288086, -0.45988929271698, -0.1545945405960083, 0.5042545795440674, 0.5084030032157898, -1.0575443506240845, 0.1052897647023201, -0.32055428624153137, -0.5006821751594543, -0.7659646272659302, 0.3267904222011566, 0.3454246520996094, 0.7766664624214172, 0.4625106751918793, -0.11551576852798462, -0.39796096086502075, -0.7584750056266785, -0.40603864192962646, -0.41150185465812683, -0.13356955349445343, 0.14169827103614807, 0.3496840298175812, -0.13304448127746582, 0.9062998294830322, -0.6026512980461121, -0.13593794405460358, -0.20993657410144806, 0.2883729636669159, 0.2682855725288391, 0.0814787819981575, 0.10057402402162552, -0.8190743327140808, -0.514417827129364, -0.06354164332151413, -0.7287817001342773, -0.06597555428743362, 0.32500073313713074, -0.29706987738609314, 0.2545405924320221, 0.41766780614852905, -0.6875485777854919, 0.5428429245948792, 0.3810253441333771, -0.30095407366752625, 0.37426021695137024, -0.23691968619823456, 0.3101192116737366, -1.0554633140563965, 0.17147749662399292, -0.7436574697494507, -0.22713914513587952, -0.4165847599506378, 0.3479709327220917, 0.19830422103405, -0.15997253358364105, -0.4603354036808014, 0.6063674092292786, -0.3838934600353241, -0.22123011946678162, -0.31504949927330017, 0.28941234946250916, 0.3332451581954956, 0.7214094400405884, -0.09558599442243576, 0.6885997653007507, 0.32682135701179504, -0.4549047350883484, 0.8395535945892334, 0.30142512917518616, -0.2759116291999817, 0.22833870351314545, -0.843166172504425, 0.26214897632598877, -0.1611703485250473, 0.2766006886959076, -1.1899152994155884, -0.18994086980819702, 0.1180809736251831, -0.5370768308639526, 0.02003210410475731, -0.20311599969863892, -0.726412296295166, -0.8035646677017212, -0.09527706354856491, 0.3262022137641907, 0.2818957269191742, -0.7048234939575195, 0.6616679430007935, 0.2953570783138275, 0.07186506688594818, -0.8940609097480774, -0.4897267520427704, -0.08330915868282318, 0.08353184908628464, -0.8075502514839172, 0.36167261004447937, -0.3053469955921173, 0.04489763453602791, 0.27627888321876526, -0.06857169419527054, -0.313585102558136, 0.1260254979133606, 0.01222032867372036, 0.11571897566318512, -0.24572613835334778, 0.22011061012744904, 0.12866835296154022, -0.06771925836801529, 0.08107009530067444, -0.5661661624908447, 0.4928727149963379, 0.021247217431664467, -0.25752294063568115, -0.41811200976371765, 0.3571797013282776, 0.7959861159324646, -0.541721522808075, 0.5289472341537476, 0.3209695518016815, -0.3350045084953308, -0.1790769398212433, -0.24333198368549347, 0.034581590443849564, -0.49018070101737976, 0.37444090843200684, -0.5253235101699829, -0.8936018943786621, 0.6358943581581116, -0.06636366993188858, 0.20487776398658752, 0.5024051666259766, 0.40964579582214355, -0.28973811864852905, 1.0389249324798584, 0.348742812871933, 0.10644128918647766, -0.1521490514278412, -0.08190706372261047, 0.06420480459928513, -1.0387006998062134, -0.256899356842041, -0.3793596625328064, -0.01425801683217287, -0.5100347399711609, -0.7341304421424866, 0.5102976560592651, 0.15285523235797882, -0.7008838653564453, 0.29031434655189514, -0.538842499256134, 0.38589030504226685, 0.6512883901596069, -0.059264399111270905, 0.706709086894989, -0.055265653878450394, -0.4681624174118042, -0.010619313456118107, -0.8021007180213928, -0.1306028664112091, 1.1569417715072632, 0.03225450962781906, 0.8003917932510376, 0.036964017897844315, 0.5093920230865479, 0.03913631662726402, 0.20623134076595306, -0.4797247350215912, 0.4392169415950775, -0.08825511485338211, -0.757672131061554, -0.704861044883728, -0.7431625127792358, -0.8644968271255493, 0.5292323231697083, -0.12081931531429291, -0.966179370880127, -0.16394060850143433, 0.08008915185928345, -0.45600375533103943, 0.7830309271812439, -0.14444084465503693, 1.066351056098938, -0.3156157433986664, -0.34170153737068176, 0.05965006723999977, -0.5369874238967896, 0.33102938532829285, -0.062176719307899475, -0.12543293833732605, -0.05039864405989647, -0.07336635887622833, 0.7587897777557373, -0.2988852262496948, 0.4620667099952698, -0.03948710858821869, 0.008358485996723175, 0.6599462628364563, 0.18273679912090302, 0.4701601266860962, 0.1697005033493042, -0.20914186537265778, 0.008977114222943783, 0.4030594825744629, -0.40574827790260315, -1.0008037090301514, 0.7076772451400757, -0.7879546284675598, -0.7093252539634705, -0.3128345012664795, -0.7180877327919006, -0.5564915537834167, 0.42888760566711426, 0.3447318971157074, 0.4859238862991333, -0.2810421586036682, 0.20224390923976898, 0.6349778771400452, -0.21426862478256226, 0.04996088892221451, 0.6401687860488892, -0.4857172966003418, -0.6048732995986938, 0.5592203140258789, 0.2652212083339691, 0.182782381772995, 0.49052974581718445, 0.21453633904457092, -0.6981226801872253, -0.42297300696372986, -0.850068211555481, 0.34592604637145996, -0.61097651720047, -0.4549543857574463, -1.0395537614822388, -0.35015127062797546, -0.7159352898597717, 0.39692121744155884, -0.6779865622520447, -0.5254707932472229, 0.14331582188606262, 0.1418534517288208, 0.3055558204650879, 0.6824684739112854, 0.08775236457586288, 0.13219653069972992, -0.7085115909576416, 0.42720699310302734, 0.5729151368141174, 0.3349190056324005, -0.15254200994968414, -0.7144516110420227, 0.019781168550252914, 0.3443910777568817, -0.25005149841308594, -1.0164257287979126, 0.07211168110370636, -0.14310581982135773, 0.5431131720542908, 0.104575976729393, 0.6925811767578125, 0.8261975646018982, -0.3327508270740509, 0.34695422649383545, 0.016563381999731064, -0.700485348701477, 0.1726406365633011, -0.4237790107727051, 0.4459695518016815, 0.7709295749664307, 0.4544219374656677, -0.7007607817649841, -0.325458288192749, -0.7225267887115479, -0.6732751727104187, 0.49477240443229675, 0.1245218887925148, -0.13455332815647125, 0.4159706234931946, 0.4965135455131531, -0.30799776315689087, 0.4324258267879486, -0.48481181263923645, -0.41162851452827454, -0.11761502921581268, -0.3414415121078491, 0.1238616481423378, -0.04491841048002243, -0.07195892184972763, -0.43809857964515686, 0.5677081942558289, -0.4555434584617615, 0.4146612286567688, 0.2524617314338684, 0.1555999368429184, -0.3445582091808319, 0.14860320091247559, -0.3844354450702667, 0.8105698227882385, -0.10104865580797195, -0.04300278052687645, 0.2846483290195465, 0.03075600229203701, -0.2570938766002655, 0.2776591181755066, -0.20300927758216858, -0.22424674034118652, 0.1027693822979927, 0.26063740253448486, 0.022843481972813606, -0.8159643411636353, 0.5661143064498901, -0.13964921236038208, -0.09905532747507095, -0.3899560570716858, -0.03133898973464966, 0.33747440576553345, 0.2794896066188812, 0.4017670452594757, -0.31547388434410095, 0.37321963906288147, -0.6943302750587463, 0.29476499557495117, 0.36649054288864136, -0.4954543113708496, -0.02883295714855194, 0.8139164447784424, 0.03920799493789673, -0.007638794835656881, 0.76729816198349, -0.15625102818012238, -0.830123245716095, 0.5920851230621338, 0.4346754550933838, 0.41433221101760864, -0.2608470618724823, 0.4936389923095703, 0.38317185640335083, 0.1363736391067505, 0.2603142261505127, 0.4898280203342438, -0.06466582417488098, -0.7830590009689331, -0.46945250034332275, -0.4793725311756134, -0.5149912238121033, 0.05572464317083359, -0.6815322637557983, -0.01339603029191494, -0.32621538639068604, 0.38589370250701904, -0.061484284698963165, 0.3737686574459076, -0.4742816686630249, 0.36662203073501587, -0.09807636588811874, 0.8576493263244629, -0.3566116690635681, 0.9650262594223022, 1.1559988260269165, -0.27680501341819763, -1.1888145208358765, -0.17654068768024445, -0.05767188221216202, -0.6166520714759827, 0.2585422694683075, -0.08691561967134476, -0.08147380501031876, 0.14107294380664825, -0.5212301015853882, -0.9459704160690308, 1.2375956773757935, 0.4817031919956207, -0.2215510606765747, -0.010392416268587112, 0.2587132453918457, 0.5741938352584839, -0.42245519161224365, 0.352485328912735, 0.41561993956565857, 0.27734798192977905, 0.5118418335914612, -0.830168604850769, 0.14513538777828217, -0.0926237553358078, -0.2995556592941284, 0.332762211561203, -0.776452362537384, 0.8261525630950928, -0.36234572529792786, -0.20570461452007294, 0.42662331461906433, 0.9677487015724182, 0.2134854793548584, 0.4021346867084503, 0.5270022749900818, 0.4690571427345276, 1.141163945198059, 0.053678322583436966, 0.6582875847816467, -0.284709095954895, 0.20801156759262085, 1.346143364906311, -0.13318319618701935, 0.7683073282241821, 0.12363693863153458, -0.12980522215366364, 0.5762319564819336, 0.5485660433769226, 0.39286407828330994, 0.13399016857147217, 0.14670531451702118, -0.04057692363858223, -0.5775401592254639, -0.1700020730495453, -0.21537108719348907, 0.7455451488494873, 0.0495622381567955, 0.0005897870287299156, -0.22795382142066956, -0.24372461438179016, 0.10008083283901215, 0.35383862257003784, -0.2783794105052948, 0.518549919128418, -0.048104338347911835, -0.9274943470954895, 0.4549146592617035, 0.06532315909862518, 0.16298602521419525, -0.4238199293613434, 0.019324464723467827, -0.31109240651130676, 0.034916914999485016, -0.03708721697330475, -0.9855615496635437, 0.15392126142978668, -0.18386349081993103, 0.12516728043556213, 0.07753423601388931, 0.6498878002166748, -0.5514355301856995, -0.38368505239486694, 0.5963215231895447, 0.7813204526901245, 0.1002659723162651, -0.4545949399471283, -1.0215328931808472, -0.4412558674812317, 0.09253035485744476, -0.10401248931884766, 0.10086556524038315, 0.9392199516296387, -0.00016981229418888688, 0.806052565574646, 0.4599640369415283, -0.0498153418302536, 0.07609813660383224, -0.1607161909341812, 1.026919960975647, -0.6758283376693726, -0.49026399850845337, -0.10054103285074234, 0.4433923363685608, -0.20112432539463043, -0.3532727062702179, 0.5246528387069702, 0.4247976243495941, 0.725515604019165, 0.41719603538513184, 0.5382125973701477, -0.10098319500684738, 0.8477030396461487, -0.2142685353755951, 0.713446319103241, -0.9360736012458801, 0.0762367695569992, -0.35002079606056213, -0.8343954086303711, -0.10524950921535492, 0.084283746778965, -0.0480697900056839, -0.15278902649879456, 0.7358737587928772, 0.72252357006073, 0.036481138318777084, 0.05843111500144005, 0.6102423667907715, 0.4059831500053406, -0.007057561073452234, 0.8878873586654663, 0.8796036243438721, -0.553607165813446, 0.8642032742500305, -0.4696926176548004, -0.10289855301380157, 0.3204246461391449, -0.45510873198509216, -0.9277380108833313, -0.6679713726043701, -0.2471345067024231, -0.326211154460907, 0.0684448629617691, 0.7653894424438477, 0.32924017310142517, -0.555086612701416, -0.12731972336769104, 0.05880673602223396, 0.30400094389915466, -0.10974621772766113, -0.19216597080230713, 0.6000525951385498, -0.187173530459404, -0.6814457774162292, 0.37803319096565247, 0.19629789888858795, -0.2826627492904663, -0.2159484624862671, -0.029286259785294533, -0.18276822566986084, 0.10630778968334198, 0.3387972116470337, 0.6079786419868469, -0.4968317151069641, -0.16185715794563293, 0.1990174949169159, -0.0015478659188374877, 0.024797853082418442, 0.8808457255363464, -0.8378273248672485, 0.6046022176742554, 0.5831469297409058, 0.8547109365463257, 0.3178115785121918, 0.19001100957393646, 0.5697981715202332, -0.25551819801330566, -0.1810331642627716, 0.22642874717712402, 0.4134279191493988, 0.32389190793037415, -0.37209874391555786, 0.5413132905960083, 0.2606483995914459, -0.527576744556427, -0.6137571930885315, 0.34615176916122437, -0.8164923191070557, -0.5369529724121094, 0.91935133934021, -0.26843565702438354, -0.5526428818702698, -0.49641311168670654, -0.11248433589935303, 0.4290724992752075, -0.21352450549602509, 0.4818180501461029, 0.15823644399642944, -0.3189358115196228, -0.14756856858730316, -0.3678492605686188, 0.2820947766304016, 0.4689963459968567, -0.5729513168334961, 0.26614364981651306, 0.41563311219215393, 0.4091113805770874, 0.09096227586269379, 0.7618573904037476, -0.2482854276895523, 0.44560927152633667, -0.34880751371383667, 0.1109391376376152, -0.3760022819042206, -0.48579689860343933, 0.028973177075386047, 0.34591346979141235, 0.13433687388896942, -0.010548065416514874 ]
http://arxiv.org/abs/2406.02106v1
http://arxiv.org/pdf/2406.02106v1
MARS: Benchmarking the Metaphysical Reasoning Abilities of Language Models with a Multi-task Evaluation Dataset
2024-06-04T08:35:04
2024-06-04T08:35:04
Weiqi Wang, Yangqiu Song
cs.CL
cs.CL
To enable Large Language Models (LLMs) to function as conscious agents with generalizable reasoning capabilities, it is crucial that they possess the reasoning ability to comprehend situational changes (transitions) in distribution triggered by environmental factors or actions from other agents. Despite its fundamental significance, this ability remains underexplored due to the complexity of modeling infinite possible changes in an event and their associated distributions, coupled with the lack of benchmark data with situational transitions. Addressing these gaps, we propose a novel formulation of reasoning with distributional changes as a three-step discriminative process, termed as MetAphysical ReaSoning. We then introduce the first-ever benchmark, MARS, comprising three tasks corresponding to each step. These tasks systematically assess LLMs' capabilities in reasoning the plausibility of (i) changes in actions, (ii) states caused by changed actions, and (iii) situational transitions driven by changes in action. Extensive evaluations with 20 (L)LMs of varying sizes and methods indicate that all three tasks in this process pose significant challenges, even for state-of-the-art LLMs and LMs after fine-tuning. Further analyses reveal potential causes for the underperformance of LLMs and demonstrate that pre-training them on large-scale conceptualization taxonomies can potentially enhance their metaphysical reasoning capabilities. Our data and models are publicly accessible at https://github.com/HKUST-KnowComp/MARS.
[ -0.4146391451358795, -0.4617825746536255, 1.0684826374053955, 0.14011913537979126, 0.025236738845705986, 0.0628216341137886, -0.36418095231056213, -0.015027055516839027, -0.3118787705898285, 0.8256174325942993, -0.8242510557174683, -0.669387936592102, -0.6145228743553162, 0.18119099736213684, -0.2582685649394989, 0.5935843586921692, -0.04822058230638504, -0.12988364696502686, -0.032536279410123825, -0.14649362862110138, -0.3342789113521576, -0.41979166865348816, -0.3859903812408447, -0.48959940671920776, 0.361367404460907, 0.23680421710014343, 0.7670894265174866, 0.3313383162021637, 0.7413612604141235, 0.24555793404579163, -0.05643833801150322, 0.5140107274055481, -0.24891401827335358, 0.3203490674495697, -0.5188041925430298, -0.6566370129585266, -0.2582338750362396, 0.02583724819123745, 0.9204902052879333, 0.850919246673584, -0.33646970987319946, 0.27252644300460815, -0.016243087127804756, 0.7177973985671997, -1.0579862594604492, 0.05469901114702225, -1.0008939504623413, -0.060487814247608185, 0.008744788356125355, -0.2258477658033371, -0.6067578196525574, -0.17794832587242126, -0.22921398282051086, -0.6758844256401062, 0.24805523455142975, -0.13159827888011932, 0.5089346170425415, 0.7019953727722168, -0.5633740425109863, -0.20351992547512054, -0.918959379196167, 0.6160678863525391, -0.5076363682746887, 0.7682847380638123, 0.386342316865921, 0.29105645418167114, -0.29270702600479126, -0.7295517921447754, -0.6438837051391602, -0.42730769515037537, 0.1546573042869568, 0.1294996589422226, 0.06963998824357986, -0.0530889630317688, 0.46006321907043457, -0.034506432712078094, -0.2616894543170929, -0.2926958501338959, -0.1296246200799942, 0.034537676721811295, 0.42846712470054626, 0.5000834465026855, 0.020799696445465088, -0.07563243061304092, -0.19026973843574524, -0.3790138065814972, -0.7750705480575562, -0.09763126075267792, 0.23465165495872498, 0.3680361807346344, 0.05402030795812607, 0.5254433155059814, -0.19417820870876312, 0.5619045495986938, -0.30933016538619995, -0.12409792840480804, 0.31017184257507324, -0.15352950990200043, -0.33394354581832886, -0.35588911175727844, 0.5606561303138733, 0.2621523141860962, 0.025339355692267418, -0.12784509360790253, -0.07381130009889603, 0.23820680379867554, 0.3872334957122803, -0.7993205785751343, -0.10773797333240509, 0.2425195276737213, -0.33946630358695984, 0.0737006887793541, -0.1638525426387787, -0.4390345811843872, -0.8656218647956848, -0.6905714273452759, 0.2539897859096527, -0.49839577078819275, -0.4005747139453888, 0.4369756281375885, -0.016189197078347206, -0.204554483294487, 0.4832910895347595, -0.6506451368331909, 0.670982837677002, 0.8234382271766663, 0.5592896342277527, 0.09933427721261978, -0.46174103021621704, -0.31847983598709106, 0.1270408183336258, -0.5060728192329407, 0.8143584132194519, -0.6892706751823425, -0.47840824723243713, -0.2979658842086792, -0.06822028756141663, -0.466531902551651, -0.8459023237228394, 0.8342769145965576, -0.34875622391700745, -0.32476261258125305, -0.5213757753372192, -0.46483975648880005, -0.03170650824904442, 0.48465418815612793, -0.3309082090854645, 1.3199752569198608, -0.0825309082865715, -0.5232852697372437, 0.4543381929397583, -0.758657693862915, -0.13618142902851105, -0.12987452745437622, -0.11890475451946259, -0.08750148862600327, 0.16885603964328766, 0.14504766464233398, 0.468980073928833, -0.5768921375274658, 0.3717873692512512, -0.4815569221973419, -0.21684013307094574, 0.5032567977905273, -0.24287475645542145, 0.6088348627090454, 0.2732534110546112, -0.20690445601940155, 0.009660071693360806, -0.8313781023025513, 0.20241154730319977, 0.037682630121707916, 0.035852205008268356, -0.17838403582572937, 0.5374842286109924, -0.3598809242248535, 0.35460004210472107, 0.012475140392780304, -0.270841509103775, 0.15865522623062134, -0.20842047035694122, 0.2962186634540558, 0.6625164151191711, 0.010556591674685478, 0.3886754512786865, -0.06496508419513702, 0.20012405514717102, 0.007693762890994549, 0.24950332939624786, -0.058367446064949036, -0.2396392822265625, -0.6299644112586975, -0.35313427448272705, -0.09529702365398407, 0.6230794787406921, -0.5260874629020691, 0.15209652483463287, -0.38973408937454224, -0.6810947060585022, -0.22328537702560425, 0.27896273136138916, 0.21181948482990265, 0.12553632259368896, 0.3603675365447998, 0.006759729702025652, -0.29107922315597534, -0.8251580595970154, -0.3445628881454468, -0.28860196471214294, 0.01308384444564581, 0.414347380399704, 0.8133531808853149, -0.3286680281162262, 0.966444730758667, -0.5800995826721191, 0.10332760214805603, -0.08527317643165588, 0.2484348863363266, 0.2851676344871521, 0.19193747639656067, 0.25735849142074585, -0.7634138464927673, 0.10557747632265091, -0.022280726581811905, -0.7925686836242676, -0.34255895018577576, -0.09338013827800751, -0.3226742446422577, -0.456319659948349, 0.7105359435081482, -0.6960544586181641, 0.20678271353244781, 0.3507234454154968, -0.3510741889476776, 0.5522881746292114, -0.41296684741973877, 0.19767174124717712, -1.0003734827041626, 0.031078936532139778, -0.10387500375509262, 0.10734390467405319, -0.5150282382965088, 0.2922811806201935, 0.24513384699821472, -0.12104060500860214, -0.34287360310554504, 0.8204799294471741, -0.38443273305892944, -0.161857470870018, -0.32270073890686035, 0.31017589569091797, -0.13075293600559235, 0.25778791308403015, 0.2236880213022232, 0.4962659180164337, 0.5100246667861938, -0.9812376499176025, 0.2670944929122925, 0.07650168240070343, -0.3095659017562866, 0.7435526847839355, -0.2931872308254242, -0.05738203600049019, -0.18004129827022552, 0.6349100470542908, -0.7697630524635315, -0.015726663172245026, 0.3225384056568146, -0.269126296043396, -0.2938114106655121, -0.05403963103890419, -0.9715489745140076, -0.3506394922733307, 0.061969317495822906, 0.25957775115966797, 0.222981795668602, -0.2903149724006653, 0.8546177744865417, -0.08832260966300964, 0.0717473030090332, -0.4918607473373413, -0.493707537651062, 0.2141900509595871, -0.26163533329963684, -0.4753681421279907, 0.2667849361896515, -0.2835112512111664, -0.6305872201919556, -0.0012718461221083999, -0.19902411103248596, 0.11765272915363312, 0.4057499170303345, 0.4929317235946655, 0.023136502131819725, -0.029827222228050232, 0.38530784845352173, 0.025223875418305397, -0.16939213871955872, 0.37432920932769775, -0.15186889469623566, 0.3434710204601288, -0.10665562003850937, -0.6810669898986816, -0.1603774130344391, -0.17781686782836914, 0.6314951777458191, -0.39399033784866333, 0.9617030024528503, 0.45455047488212585, -0.5984086394309998, -0.4761756658554077, -0.5313290357589722, -0.17684012651443481, -0.387748658657074, 0.24394486844539642, -0.7261499166488647, -0.5050358772277832, 0.7362449765205383, -0.6028552651405334, -0.01757780835032463, 0.426365464925766, 0.7210515737533569, 0.23542281985282898, 0.9276149868965149, 0.2198992520570755, 0.5430357456207275, 0.3235189914703369, -0.2817727327346802, 0.15437963604927063, -1.124144196510315, -0.2874267101287842, -0.4533681571483612, 0.01270784717053175, -0.4964817464351654, -0.8823181390762329, 0.39524543285369873, 0.1613800972700119, -0.5378179550170898, 0.1748322695493698, -0.21301917731761932, 0.5968209505081177, 0.19132253527641296, 0.1100226417183876, 0.21105358004570007, -0.3332323729991913, -0.37621983885765076, 0.150040403008461, -0.11030514538288116, -0.8370189070701599, 1.250956416130066, 0.1999574452638626, 0.5979654788970947, 0.26088449358940125, 0.5631952285766602, 0.29030707478523254, 0.6405323147773743, -0.26911285519599915, 0.8673149943351746, -0.0019469276303425431, -0.9439722895622253, -0.05915108695626259, -0.4746342897415161, -0.8030238747596741, 0.7944815158843994, -0.24266918003559113, -1.0258580446243286, 0.17584753036499023, -0.203281432390213, -0.14171621203422546, 0.30631765723228455, -0.6096084713935852, 0.7766194343566895, -0.12728391587734222, -0.4001537561416626, -0.44853895902633667, -0.7208405137062073, 0.30999240279197693, -0.0719275251030922, 0.42721766233444214, -0.7009231448173523, -0.10051122307777405, 0.32217109203338623, -0.3196585476398468, 0.8069168925285339, -0.2477531135082245, -0.2805235683917999, 0.27687621116638184, 0.30253392457962036, 0.4119933843612671, 0.10450088977813721, -0.33536896109580994, -0.18094585835933685, 0.09025311470031738, -0.24015681445598602, -0.8986066579818726, 0.48882028460502625, -0.7794702649116516, -0.4279138147830963, -0.19993242621421814, -0.5336359739303589, -0.6736288070678711, -0.026827992871403694, -0.021917743608355522, 0.28959357738494873, -0.341470867395401, 0.09127114713191986, 0.5532055497169495, -0.04834136366844177, 0.015522579662501812, 0.9436829090118408, -0.29868724942207336, -0.4044005572795868, 0.7916286587715149, -0.142388716340065, 0.4248920679092407, 0.516259491443634, 0.09985984861850739, -0.3230222761631012, -0.39953795075416565, -0.3246145248413086, 0.2723686099052429, -1.1252036094665527, 0.10453774780035019, -0.6943243741989136, -0.07754812389612198, -0.08804916590452194, -0.02436957322061062, -0.4552505314350128, -0.12827667593955994, 0.015753213316202164, -0.021141832694411278, -0.11549201607704163, 0.7264121174812317, -0.14506395161151886, 0.27102023363113403, -0.6961134672164917, 0.4645427465438843, 0.12094907462596893, 0.1467657834291458, -0.10008788853883743, -0.40664196014404297, -0.21401628851890564, 0.1806691288948059, -0.5274985432624817, -0.88419508934021, 0.09418327361345291, -0.014848494902253151, 0.675686776638031, 0.3269921541213989, -0.01342005468904972, 0.5339891910552979, -0.6060451865196228, 0.6282883882522583, -0.13599269092082977, -1.148820400238037, 0.6338815093040466, -0.42045655846595764, 0.09503298252820969, 0.5429672598838806, 0.006731805857270956, -0.4604260325431824, -0.43794378638267517, -0.6582095623016357, -0.5299296379089355, 0.731637716293335, 0.539782702922821, 0.018116740509867668, -0.1760873794555664, 0.3813810348510742, 0.034988146275281906, 0.2946746349334717, -0.44719621539115906, -0.24778619408607483, 0.10692602396011353, -0.0007571743335574865, -0.35664984583854675, 0.14528048038482666, -0.28607648611068726, -0.20196618139743805, 0.5443041324615479, -0.20013976097106934, 0.16091176867485046, 0.010892972350120544, -0.19654333591461182, 0.13355949521064758, 0.5601286888122559, 0.7179474830627441, 0.9522837400436401, -0.22478872537612915, 0.42025139927864075, 0.4851190745830536, -0.22954615950584412, 0.37565526366233826, 0.40916013717651367, 0.16093312203884125, -0.4024380147457123, 0.35590943694114685, 0.7813261151313782, 0.27516189217567444, -0.8096265196800232, 0.2962682247161865, -0.04541569575667381, -0.322410523891449, -0.11305520683526993, 0.16541017591953278, 0.12777741253376007, 0.4648611545562744, 0.35973700881004333, 0.27685412764549255, 0.2335394024848938, -0.5183745622634888, -0.24905987083911896, 0.2781094014644623, 0.0036978900898247957, -0.27012646198272705, 0.5763245820999146, 0.04654516652226448, -0.007881274446845055, 0.4353506565093994, -0.48144322633743286, -0.4672050178050995, 0.6123824715614319, 0.4587019681930542, 0.757561445236206, -0.28404322266578674, 0.48117759823799133, 0.3262937068939209, 0.5787608027458191, -0.3505490720272064, 0.17040131986141205, -0.3033630847930908, -1.2379459142684937, -0.28803393244743347, -0.523796558380127, -0.7942532300949097, 0.007259851787239313, -0.5544387698173523, 0.01116812601685524, -0.34651893377304077, -0.3870648145675659, -0.04179166629910469, -0.09805234521627426, -0.764305591583252, 0.5459102392196655, 0.3604317605495453, 0.7157477736473083, -0.9935168027877808, 0.32346680760383606, 0.8335354328155518, -0.122948057949543, -0.5864624977111816, 0.11876112967729568, 0.08748554438352585, -0.7359901666641235, 0.9641571640968323, 0.11584965884685516, -0.5130320191383362, -0.22434557974338531, -0.3264741003513336, -0.8053202033042908, 0.9585751891136169, 0.7747347950935364, -0.26626721024513245, 0.2758410573005676, 0.2399328649044037, 0.7331912517547607, -0.2622716426849365, 0.4614139795303345, 0.6928615570068359, 0.5794432163238525, 0.10764939337968826, -0.781129777431488, 0.06347976624965668, -0.30405393242836, -0.10531620681285858, 0.4733487367630005, -0.5039864182472229, 0.6860357522964478, -0.3117367923259735, -0.33840128779411316, -0.0003751549811568111, 0.3405457139015198, 0.6096388101577759, 0.5599659085273743, 0.559637188911438, 0.9051836133003235, 1.0324183702468872, -0.24574415385723114, 1.1292835474014282, -0.37175291776657104, 0.3652924597263336, 1.0032117366790771, -0.8040664196014404, 1.0398032665252686, 0.08857635408639908, -0.3727618157863617, 0.7568984627723694, 0.6643039584159851, 0.295843243598938, 0.4368341863155365, 0.5267755389213562, -0.490031361579895, -0.7796651721000671, -0.11765680462121964, -0.3628726303577423, 0.2576885223388672, 0.7360365986824036, -0.4020029604434967, -0.21717320382595062, 0.046849023550748825, -0.14598582684993744, -0.024535663425922394, -0.14681947231292725, 0.4975554049015045, 0.014557627961039543, -0.7597241997718811, 0.48766061663627625, 0.04108523577451706, -0.04866345599293709, -0.5854047536849976, 0.06272689253091812, 0.12766075134277344, 0.5673667192459106, -0.065794438123703, -0.9087161421775818, 0.08969026803970337, -0.13441666960716248, -0.14481684565544128, -0.35787060856819153, 0.43376487493515015, 0.02463209256529808, -0.5697669982910156, 0.45568594336509705, 0.7814019322395325, 0.23304212093353271, -0.33662086725234985, -0.8272842764854431, 0.2494729608297348, -0.3640567362308502, -0.29174360632896423, 0.06326893717050552, 0.7262654304504395, -0.129624143242836, 1.0061099529266357, 0.6461818218231201, 0.024064235389232635, -0.058316443115472794, 0.5298655033111572, 0.7896935939788818, -0.6660151481628418, -0.32080724835395813, -0.9979046583175659, 0.3864378035068512, -0.05727348476648331, -0.30135753750801086, 0.5232082009315491, 0.5180469155311584, 0.5140504240989685, 0.0971560999751091, 0.6297443509101868, 0.06752985715866089, 0.49318793416023254, -0.6383488178253174, 0.08870017528533936, -0.6134498119354248, 0.3470541834831238, -0.31862685084342957, -1.1018805503845215, -0.2483597695827484, 0.46015849709510803, -0.7433416247367859, 0.2147308737039566, 1.0558916330337524, 0.731514573097229, -0.12271398305892944, 0.07826127111911774, 0.23057979345321655, 0.09994587302207947, 0.3130241930484772, 0.4039100706577301, 1.179129958152771, -0.17958173155784607, 0.30215367674827576, -0.024265578016638756, 0.05120111629366875, 0.002188324462622404, -0.9218083620071411, -0.9351662397384644, -0.7144289016723633, -0.3657270073890686, -0.3193736970424652, 0.2213566154241562, 0.865998387336731, 0.765635073184967, -0.44874683022499084, -0.1414305418729782, -0.37020424008369446, 0.03966034948825836, -0.31190216541290283, -0.1872662752866745, 0.24302154779434204, -0.2735407054424286, -0.4131563901901245, 0.4974853992462158, 0.37991902232170105, -0.2739335596561432, -0.07350296527147293, -0.11029388010501862, 0.14091505110263824, 0.33493345975875854, 0.5818879008293152, 0.06756506115198135, -1.0542351007461548, -0.10048262029886246, -0.17066197097301483, -0.05067014321684837, -0.22702965140342712, 0.9036969542503357, -0.7017961144447327, 0.37507379055023193, 0.18812276422977448, 0.5085328221321106, 0.4970046281814575, -0.024160653352737427, 0.297129362821579, -0.5967096090316772, -0.167234405875206, 0.03646111860871315, 0.4604437053203583, 0.3741467595100403, 0.05388253927230835, 0.7528881430625916, 0.2806001305580139, -0.6000221967697144, -0.9361861348152161, 0.3700399696826935, -0.7369140386581421, -0.27213409543037415, 1.2524420022964478, 0.020415859296917915, 0.18330715596675873, 0.19297941029071808, -0.2880145013332367, 0.04038236290216446, -0.07624936103820801, 0.4750123918056488, 0.9629331231117249, -0.22238893806934357, -0.19533230364322662, -0.6878678202629089, 0.23847126960754395, 0.4223456084728241, -1.1965731382369995, 0.3650345802307129, 0.46034249663352966, 0.3670651316642761, 0.3069647550582886, 0.615618884563446, 0.18234644830226898, 0.121086984872818, 0.1121593713760376, -0.018757080659270287, 0.2152003049850464, -0.3283082842826843, 0.12129568308591843, 0.11304362118244171, 0.09511171281337738, 0.027616925537586212 ]
http://arxiv.org/abs/2406.06577v1
http://arxiv.org/pdf/2406.06577v1
RAG-based Crowdsourcing Task Decomposition via Masked Contrastive Learning with Prompts
2024-06-04T08:34:19
2024-06-04T08:34:19
Jing Yang, Xiao Wang, Yu Zhao, Yuhang Liu, Fei-Yue Wang
cs.CL
cs.CL, cs.AI
Crowdsourcing is a critical technology in social manufacturing, which leverages an extensive and boundless reservoir of human resources to handle a wide array of complex tasks. The successful execution of these complex tasks relies on task decomposition (TD) and allocation, with the former being a prerequisite for the latter. Recently, pre-trained language models (PLMs)-based methods have garnered significant attention. However, they are constrained to handling straightforward common-sense tasks due to their inherent restrictions involving limited and difficult-to-update knowledge as well as the presence of hallucinations. To address these issues, we propose a retrieval-augmented generation-based crowdsourcing framework that reimagines TD as event detection from the perspective of natural language understanding. However, the existing detection methods fail to distinguish differences between event types and always depend on heuristic rules and external semantic analyzing tools. Therefore, we present a Prompt-Based Contrastive learning framework for TD (PBCT), which incorporates a prompt-based trigger detector to overcome dependence. Additionally, trigger-attentive sentinel and masked contrastive learning are introduced to provide varying attention to trigger and contextual features according to different event types. Experiment results demonstrate the competitiveness of our method in both supervised and zero-shot detection. A case study on printed circuit board manufacturing is showcased to validate its adaptability to unknown professional domains.
[ -0.3774011433124542, -0.560950517654419, 0.5841056108474731, 0.0978771448135376, -0.510596513748169, 0.38564538955688477, -0.13732565939426422, -0.27340513467788696, 0.20522339642047882, 0.4686594605445862, -0.852875292301178, -0.568591296672821, -0.4528888761997223, 0.12063467502593994, -0.01700529456138611, 0.8246564865112305, 0.03628193587064743, -0.44962701201438904, -0.14804382622241974, -0.11320909112691879, -0.22550204396247864, -0.5798646807670593, -0.9793029427528381, -0.058229848742485046, 0.430027574300766, 0.4266990125179291, 0.12483863532543182, 0.5502753257751465, 0.14724090695381165, 0.36286208033561707, -0.2763384282588959, 0.5389155745506287, -0.4969419240951538, 0.24808044731616974, -0.2944071292877197, 0.04171809181571007, 0.10139597952365875, 0.1723000556230545, 0.23094090819358826, 0.5951705574989319, -0.13958017528057098, 0.354921817779541, 0.2617458701133728, 0.34637123346328735, -0.9805591702461243, 0.2879997789859772, -0.7950817346572876, -0.11677160859107971, -0.0846024677157402, -0.15899887681007385, -0.46211156249046326, -0.043825194239616394, -0.24321742355823517, -0.7207764983177185, 0.7010196447372437, -0.0436837300658226, 0.7100774049758911, 0.29952532052993774, -0.03901977464556694, -0.34966591000556946, -0.2162250578403473, 0.7594038844108582, -0.15799537301063538, 0.1443266123533249, 0.6647503972053528, 0.3001473844051361, -0.03877083584666252, -0.7992970943450928, -0.5150161981582642, -0.1236521378159523, -0.13888655602931976, 0.23259885609149933, -0.051428090780973434, -0.08841117471456528, 0.13364309072494507, 0.04657161980867386, -0.44399380683898926, 0.12686632573604584, -0.3215187191963196, -0.3233563303947449, 0.3015475273132324, 0.21329203248023987, 0.23666131496429443, -0.5752018690109253, -0.41855505108833313, -0.04516482725739479, 0.06472547352313995, -0.1653933823108673, 0.1924697458744049, 0.4324248433113098, -0.22118566930294037, 0.17322492599487305, -0.3480602204799652, 0.7114032506942749, 0.3160123825073242, -0.06965404003858566, 0.09619630873203278, -0.16958612203598022, -0.2100202441215515, -0.16877888143062592, 0.563396155834198, 0.15755896270275116, -0.11061526089906693, -0.3455573618412018, -0.23898132145404816, 0.04290646314620972, 0.08991731703281403, -0.7092064023017883, -0.25677454471588135, -0.07119058072566986, -0.5948155522346497, -0.3143874704837799, 0.08111415803432465, -0.5845665335655212, -0.8562862873077393, -0.43196219205856323, 0.3679826557636261, -0.2194995880126953, -0.3687688112258911, 0.09771133959293365, -0.18829692900180817, 0.35970911383628845, 0.4623546302318573, -0.40915703773498535, -0.016287188977003098, 0.8655263781547546, 0.8762146830558777, -0.21164041757583618, 0.05545713007450104, -1.14653480052948, 0.11597206443548203, -0.07998920232057571, 0.8943740725517273, -0.4132673442363739, -0.5880659818649292, -0.08521364629268646, 0.08656030893325806, -0.11355996876955032, -0.9668629169464111, 0.49980083107948303, -0.5253646969795227, 0.35116592049598694, -0.40737056732177734, -0.13082532584667206, -0.07338321954011917, 0.3409922420978546, -0.5788919925689697, 0.7349519729614258, -0.01608821377158165, -0.7146772146224976, 0.4353528916835785, -0.5636462569236755, -0.4597156345844269, 0.30800661444664, -0.2120787501335144, -0.5612873435020447, 0.09424025565385818, 0.3136388063430786, 0.6266676187515259, -0.05090121924877167, 0.48031800985336304, -0.4307571351528168, -0.2448275238275528, 0.11206690967082977, -0.2283816933631897, 1.001758337020874, 0.3643702566623688, -0.5064072012901306, 0.11712023615837097, -1.1080583333969116, -0.41230854392051697, 0.010382355190813541, 0.07415745407342911, -0.05474894493818283, -0.11128263175487518, 0.1348087042570114, 0.2839287519454956, 0.055905722081661224, -0.40553638339042664, -0.3311252295970917, -0.07789604365825653, 0.04491369426250458, 0.9006460905075073, 0.3718980848789215, 0.3386264443397522, -0.31454169750213623, 0.553208589553833, 0.005082889460027218, -0.023945961147546768, -0.35663577914237976, -0.22406640648841858, -0.6834093332290649, -0.6048699021339417, -0.2287270724773407, 0.5260173082351685, -1.217920184135437, 0.2955135107040405, 0.3944261372089386, -0.21825243532657623, -0.31500276923179626, -0.12786832451820374, 0.3688032925128937, 0.9855836629867554, 0.3542180061340332, -0.20149897038936615, -0.7135785818099976, -0.6444796919822693, -0.3370741605758667, -0.1756826490163803, -0.4159393608570099, 0.10782472789287567, 0.16071537137031555, -0.035525064915418625, 0.7823122143745422, -0.5102664232254028, -0.5304036140441895, -0.09166669845581055, 0.5984112620353699, 0.06892457604408264, 0.36950770020484924, 0.12742450833320618, -0.6979608535766602, -0.249065101146698, -0.03453028202056885, -0.49174657464027405, -0.3743775486946106, -0.2133777141571045, 0.0013439316535368562, 0.39289045333862305, 0.6207444667816162, -0.35158804059028625, 0.6274299621582031, 0.10007753223180771, -0.3283309042453766, 0.6599176526069641, 0.04209255054593086, 0.23213721811771393, -1.167583703994751, 0.18240100145339966, 0.021224841475486755, -0.2778945863246918, -0.37764838337898254, -0.16737432777881622, -0.18614228069782257, -0.5125845074653625, -0.3769158124923706, 0.6391478180885315, -0.5719464421272278, -0.20964264869689941, -0.5824618935585022, 0.3015817701816559, 0.04569782689213753, 0.5039264559745789, 0.3541015684604645, 0.6057897806167603, 0.3748260736465454, -0.639141857624054, 0.18933188915252686, 0.1899489313364029, -0.4558311104774475, 0.7238796949386597, -0.41344964504241943, 0.30244460701942444, -0.3210733234882355, 0.07681109011173248, -0.8676019906997681, -0.35079458355903625, 0.5315817594528198, -0.6005949974060059, -0.007912577129900455, -0.15997081995010376, -0.7567716240882874, -0.0335923433303833, -0.22576047480106354, 0.17694619297981262, 0.4951719045639038, -0.7852082848548889, 0.5396673679351807, 0.34194260835647583, -0.23746873438358307, -0.3356376886367798, -0.41091105341911316, -0.10028757899999619, -0.13578259944915771, -0.37504345178604126, 0.2869262397289276, 0.050085388123989105, -0.5358842015266418, 0.010553127154707909, -0.33726242184638977, -0.23967842757701874, 0.1679924577474594, 0.21346566081047058, 0.17689520120620728, 0.04277203977108002, 0.07705967128276825, -0.229737788438797, -0.45437222719192505, 0.06224869564175606, 0.011568083427846432, 0.32047340273857117, 0.31480324268341064, -0.41115429997444153, -0.5124750733375549, 0.4072208106517792, 0.32516980171203613, -0.4579087495803833, 0.7251312136650085, 1.0098539590835571, -0.5518231391906738, -0.3353407084941864, -0.9173672795295715, -0.289389044046402, -0.5654361844062805, 0.26351842284202576, -0.08358696848154068, -0.8318750858306885, 0.7611309289932251, -0.07594722509384155, -0.20170815289020538, 0.34662574529647827, 0.5552765130996704, -0.011313749477267265, 0.5801584124565125, 0.4247548580169678, 0.054336514323949814, 0.5688460469245911, -0.021399619057774544, -0.07112450897693634, -0.3922567069530487, -0.4568592309951782, -0.7097070217132568, -0.08477136492729187, -0.25991377234458923, -0.7333563566207886, 0.20143261551856995, -0.14417259395122528, -0.23316679894924164, -0.13643740117549896, -0.686852216720581, 0.7270037531852722, 0.5738085508346558, 0.42619240283966064, 0.2268955409526825, -0.05397826060652733, 0.4632623493671417, 0.10804720222949982, -0.47250795364379883, -0.30730196833610535, 0.3674758970737457, -0.24187777936458588, 0.23812498152256012, -0.39480021595954895, 1.0783209800720215, 0.1858876645565033, 0.3476533889770508, -0.5926641225814819, 0.6996595859527588, -0.09680195897817612, -0.4598834812641144, -0.22730191051959991, -0.5036344528198242, -0.8878737092018127, 0.13308186829090118, -0.061966706067323685, -0.6008510589599609, 0.5546733140945435, -0.11206547170877457, -0.2982701063156128, 0.5684512853622437, -0.7488457560539246, 0.8081429600715637, 0.09188783168792725, -0.41162896156311035, -0.19469033181667328, -0.5137212872505188, 0.06261155754327774, 0.13018067181110382, 0.4794037938117981, -0.25189316272735596, -0.1581265926361084, 0.8811748623847961, -0.42090508341789246, 1.0802937746047974, -0.4515624940395355, 0.23365242779254913, 0.45712822675704956, 0.12497052550315857, 0.6602010726928711, 0.14152850210666656, -0.32055017352104187, -0.25601717829704285, -0.5297764539718628, -0.5155690908432007, -0.4423781633377075, 0.41080600023269653, -0.43866440653800964, -0.6786254048347473, -0.1328212320804596, -0.4631519615650177, -0.1691567599773407, -0.10380572080612183, 0.4266767203807831, 0.4413222074508667, -0.10078095644712448, 0.0486367791891098, 0.5558633208274841, -0.3387753665447235, 0.6295962929725647, 0.5700257420539856, 0.1781311333179474, -0.4222697913646698, 0.9927423000335693, 0.017420286312699318, -0.03475314751267433, 0.3098030090332031, -0.05861926078796387, -0.1027740016579628, -0.46015429496765137, 0.11698582768440247, 0.11721435934305191, -0.6581874489784241, -0.31524449586868286, -0.6362881064414978, 0.21905413269996643, -0.33359819650650024, -0.6844452619552612, -0.04465532302856445, -0.1070106029510498, -0.8236747980117798, -0.2846512198448181, 0.2814323604106903, 0.25662723183631897, -0.42490625381469727, -0.0352257564663887, -0.5590949654579163, 0.7957791090011597, 0.6426805257797241, 0.44170770049095154, -0.014503370970487595, -0.44923895597457886, -0.06533221155405045, -0.2629251778125763, -0.22608453035354614, -0.852590024471283, 0.4605404734611511, -0.1156635731458664, 0.5776109099388123, 0.21980132162570953, 0.5185949802398682, 0.6905598044395447, -0.07587733119726181, 0.6078542470932007, 0.20634929835796356, -1.0370533466339111, 0.5109996795654297, -0.40082964301109314, 0.31361931562423706, 0.7584297060966492, 0.29558926820755005, -0.49512913823127747, -0.38598164916038513, -0.8197424411773682, -0.9109836220741272, 1.044668197631836, -0.01652558520436287, -0.049989424645900726, -0.24826498329639435, 0.15728406608104706, 0.3510638177394867, 0.001792036578990519, -0.5962129235267639, -0.08200634270906448, -0.09751679748296738, -0.011506937444210052, -0.029903443530201912, -0.3972335755825043, 0.14927124977111816, 0.013609115965664387, 0.5250511765480042, 0.13418057560920715, 0.00037415928090922534, 0.12420813739299774, -0.3047204911708832, 0.08545716851949692, 0.15993937849998474, 0.2741348445415497, 0.7623225450515747, -0.06685657054185867, 0.14045275747776031, 0.10110283643007278, -0.24215498566627502, 0.023499447852373123, 0.3911201059818268, 0.07523422688245773, 0.20481762290000916, 0.2810678780078888, 0.5612214207649231, 0.22291582822799683, -0.6312615871429443, 0.25704601407051086, 0.22667354345321655, -0.22336897253990173, -0.010256055742502213, -0.21074023842811584, -0.09485641121864319, 0.4507049322128296, 0.8221182227134705, -0.14914387464523315, 0.3685748279094696, -0.3403974175453186, 0.4680422842502594, 0.23370081186294556, -0.3140333890914917, -0.1789308339357376, 0.5606017112731934, 0.37425702810287476, -0.46148568391799927, 0.39965322613716125, -0.9638200402259827, -0.4498704969882965, 0.8803772926330566, 0.2685750424861908, 1.248768925666809, -0.1267680525779724, 0.6549070477485657, 0.3122907876968384, 0.32098644971847534, 0.21790821850299835, 0.13294506072998047, -0.43060436844825745, -0.5230388045310974, -0.5935471057891846, -0.38480621576309204, -0.6029793620109558, 0.32678863406181335, -0.7304347157478333, 0.2706732153892517, -0.46461644768714905, 0.11773069202899933, -0.09447932988405228, 0.07564042508602142, -0.6532801985740662, 0.03138305991888046, 0.22140681743621826, 0.3228151202201843, -0.6902529001235962, 0.25828394293785095, 0.6865524649620056, -0.24766509234905243, -0.5422170758247375, 0.1988428235054016, 0.12516795098781586, -0.6215860247612, 0.8709794282913208, 0.43717876076698303, -0.012067830190062523, -0.07759076356887817, -0.5266594290733337, -0.34084922075271606, 0.8475447297096252, 0.5548067092895508, -0.07114226371049881, 0.2043512463569641, -0.1679152548313141, 0.23193778097629547, 0.021328585222363472, -0.06524037569761276, 0.10616856068372726, 0.3694295585155487, 0.17287996411323547, -0.7482591271400452, 0.07404771447181702, -0.06652140617370605, -0.20575900375843048, 0.10178541392087936, -0.4272099435329437, 0.6952128410339355, -0.04530344530940056, -0.5612083673477173, -0.1889563947916031, 0.5392337441444397, 0.6699675917625427, 1.0155984163284302, 0.4280839264392853, 0.2336963713169098, 0.750732421875, 0.037973664700984955, 0.6976302266120911, 0.08216054737567902, 0.2606447637081146, 1.096640706062317, -0.2613304853439331, 0.4496617615222931, 0.29319778084754944, -0.02428249455988407, 0.5196967720985413, 0.52223140001297, 0.12702049314975739, 0.4699264466762543, 0.15006081759929657, -0.5102325677871704, -0.6004258990287781, -0.40680721402168274, -0.17738285660743713, 0.2711319029331207, 0.25396493077278137, -0.14143218100070953, -0.506060779094696, 0.3142765760421753, -0.01986575312912464, 0.4285440742969513, -0.5725037455558777, 0.9978300929069519, -0.0481894388794899, -0.37509685754776, 0.5520599484443665, -0.1280725747346878, 0.7343502044677734, -0.3715602159500122, -0.06082627922296524, -0.31278008222579956, -0.09623603522777557, -0.11896330863237381, -0.473370760679245, 0.4553600251674652, 0.06734433025121689, -0.25746265053749084, -0.40434530377388, 1.0736477375030518, -0.21615782380104065, -0.24920976161956787, 0.1296515017747879, 0.419120192527771, -0.1592007577419281, -0.4891982674598694, -0.4463261067867279, 0.24044431746006012, -0.05515063554048538, -0.20142079889774323, 0.25755518674850464, 0.8609018921852112, 0.09314152598381042, 0.4844675660133362, 0.5469755530357361, -0.4205344021320343, -0.2406872659921646, -0.022591186687350273, 0.8728256821632385, -0.49967843294143677, -0.6720550656318665, -0.6904975771903992, 0.7160050272941589, -0.3670238256454468, 0.00582599313929677, 0.4746284484863281, 0.5414730906486511, 0.7952081561088562, -0.18411214649677277, 0.6310057640075684, 0.18921364843845367, 0.632577121257782, -0.2951500415802002, 0.5557093024253845, -0.29382723569869995, 0.1697389781475067, -0.27358224987983704, -0.49496954679489136, -0.4074399173259735, 0.41056951880455017, -0.32620131969451904, -0.009131080470979214, 0.37280601263046265, 0.7262802720069885, 0.02721520885825157, -0.1326860636472702, 0.3438757359981537, -0.05000715330243111, 0.044283751398324966, 0.2668897807598114, 0.7576743364334106, 0.16870534420013428, 0.7833683490753174, -0.2992362976074219, -0.4475541114807129, -0.31034722924232483, -0.9301770925521851, -0.8706785440444946, -0.8861008286476135, -0.5943918824195862, -0.09152872115373611, 0.15771962702274323, 0.843437135219574, 0.5973284244537354, -0.7192947268486023, -0.06305065751075745, 0.04149476811289787, 0.32809847593307495, -0.23768043518066406, -0.31128355860710144, 0.5075534582138062, -0.7627317309379578, -0.4388424754142761, 0.3396158218383789, 0.43260645866394043, -0.23159900307655334, 0.23884764313697815, 0.25261390209198, -0.0676099956035614, -0.1409422755241394, 0.7908841967582703, 0.38060593605041504, -0.4550785422325134, -0.12990474700927734, 0.05016661807894707, 0.11338222026824951, -0.2646949589252472, 0.8659346699714661, -1.2252527475357056, 0.5474040508270264, 0.5413489937782288, 0.8419135808944702, 0.6101240515708923, -0.04645954817533493, 0.31006404757499695, -1.0701613426208496, 0.5517042279243469, 0.3875869810581207, 0.13677746057510376, 0.2890395224094391, -0.3618362843990326, 0.41367748379707336, 0.6066147685050964, -0.3864426016807556, -0.8805440664291382, 0.3293479084968567, -0.9091140627861023, -0.45980268716812134, 1.1098436117172241, 0.10774311423301697, -0.13333798944950104, -0.5387489795684814, -0.43597570061683655, 0.5644063949584961, -0.327181339263916, 1.1711944341659546, 0.35038530826568604, 0.1043325737118721, -0.27958306670188904, -0.0638960674405098, 0.4985794425010681, 0.15045464038848877, -0.8026353120803833, 0.2930620312690735, 0.760955810546875, -0.12961168587207794, 0.17661337554454803, 0.7622742652893066, -0.028077784925699234, 0.5799944400787354, -0.11503969877958298, 0.12120358645915985, -0.5290048122406006, 0.06004461646080017, -0.20918163657188416, 0.5193920731544495, -0.2914014756679535, -0.560936689376831 ]
http://arxiv.org/abs/2406.02100v1
http://arxiv.org/pdf/2406.02100v1
Exploring Mathematical Extrapolation of Large Language Models with Synthetic Data
2024-06-04T08:30:37
2024-06-04T08:30:37
Haolong Li, Yu Ma, Yinqi Zhang, Chen Ye, Jie Chen
cs.CL
cs.CL
Large Language Models (LLMs) have shown excellent performance in language understanding, text generation, code synthesis, and many other tasks, while they still struggle in complex multi-step reasoning problems, such as mathematical reasoning. In this paper, through a newly proposed arithmetical puzzle problem, we show that the model can perform well on multi-step reasoning tasks via fine-tuning on high-quality synthetic data. Experimental results with the open-llama-3B model on three different test datasets show that not only the model can reach a zero-shot pass@1 at 0.44 on the in-domain dataset, it also demonstrates certain generalization capabilities on the out-of-domain datasets. Specifically, this paper has designed two out-of-domain datasets in the form of extending the numerical range and the composing components of the arithmetical puzzle problem separately. The fine-tuned models have shown encouraging performance on these two far more difficult tasks with the zero-shot pass@1 at 0.33 and 0.35, respectively.
[ -0.36920127272605896, -1.1383568048477173, 0.834712564945221, 0.2910979986190796, -0.1595953404903412, 0.09151231497526169, -0.2696513533592224, -0.5390780568122864, 0.03668830543756485, 0.694305419921875, -0.48172006011009216, -0.3362880349159241, -0.6004101037979126, 0.18455977737903595, -0.30887606739997864, 0.5836253762245178, -0.21501092612743378, 0.06711603701114655, -0.06573261320590973, -0.060466211289167404, -0.3149257302284241, -0.7811408638954163, -0.47035840153694153, -0.3322014808654785, 0.14314910769462585, 0.3025578260421753, 0.9603044390678406, 0.7714186906814575, 0.5408992767333984, 0.29347318410873413, -0.04513215273618698, 0.37484559416770935, -0.4114344120025635, -0.059182267636060715, -0.04805697500705719, -0.9593982100486755, -0.45019087195396423, -0.06304381042718887, 0.6980729103088379, 0.8453623056411743, -0.12430233508348465, 0.23391608893871307, -0.4839973449707031, 0.7090827822685242, -0.17372038960456848, 0.5392956137657166, -0.7655348181724548, -0.18993769586086273, -0.04123830050230026, -0.040393728762865067, -0.42289018630981445, -0.3430839776992798, -0.24753394722938538, -0.8956751227378845, 0.12432431429624557, 0.14235681295394897, 0.4052603542804718, 0.19675366580486298, -0.45601871609687805, -0.3287554681301117, -0.6682922840118408, 0.8507230281829834, -0.9994227290153503, 0.17451569437980652, 0.23329274356365204, 0.3545427620410919, -0.480089008808136, -0.3120846152305603, -0.7520485520362854, -0.1480018049478531, 0.2106657326221466, -0.3426681458950043, -0.2628856897354126, -0.32982662320137024, 0.5833711624145508, 0.3374015688896179, -0.42570042610168457, -0.10249001532793045, -0.33307039737701416, 0.09620378166437149, 0.8881531357765198, 0.45759689807891846, 0.21447797119617462, 0.09293682128190994, 0.07812058180570602, -0.1318720430135727, -1.0969375371932983, 0.0901280865073204, 0.4269082844257355, 0.43390005826950073, -0.008422363549470901, 0.996821939945221, -0.3875914216041565, 0.9355045557022095, -0.18722623586654663, 0.15376730263233185, 0.21226340532302856, -0.2095044106245041, -0.07398874312639236, -0.19204553961753845, 0.42653125524520874, 0.17595461010932922, 0.8056706786155701, 0.31561100482940674, -0.3167785704135895, 0.24325117468833923, -0.2742747962474823, -0.9155867695808411, -0.4391145706176758, 0.10698612779378891, 0.02365618571639061, -0.15118490159511566, -0.2518713176250458, -0.4191474914550781, -0.061151858419179916, -0.8190340399742126, 0.5909163951873779, -0.45651549100875854, -0.05819901078939438, 0.5286014676094055, 0.3509334921836853, -0.1565929651260376, 0.41022706031799316, -0.8260190486907959, 0.3261050879955292, 0.9331874847412109, 0.9001533389091492, -0.0041353218257427216, -0.14696845412254333, -0.5410800576210022, 0.052275191992521286, -0.7348695993423462, 0.775777280330658, -0.8615708351135254, -0.20724639296531677, -0.2926486134529114, -0.22091352939605713, -0.020161405205726624, -0.6029444932937622, 0.4834632873535156, -0.718006432056427, -0.11960013955831528, 0.0266856849193573, -0.6357253193855286, -0.3311634659767151, 0.21742823719978333, -0.8638105988502502, 0.8948652744293213, 0.1200292780995369, -0.10776606947183609, -0.08902039378881454, -0.6261469721794128, -0.49736708402633667, 0.00581268360838294, -0.13468118011951447, -0.18332479894161224, 0.7557439208030701, 0.5791108012199402, 0.27137142419815063, -0.5003705620765686, 0.1002008318901062, -0.4381673336029053, -0.44402027130126953, 0.3541771471500397, -0.478155255317688, 0.810001015663147, 0.08539316058158875, -0.09612897783517838, -0.2699706554412842, -1.0433204174041748, 0.4377628266811371, 0.2201479822397232, -0.3055395185947418, -0.4633350074291229, -0.22132952511310577, -0.48069149255752563, 0.530081033706665, 0.10180709511041641, -0.48930153250694275, 0.4211898744106293, -0.6646987795829773, 0.3696884214878082, 0.5940123200416565, -0.07572788000106812, 0.15410351753234863, -0.4595438539981842, 0.6419327259063721, -0.08418330550193787, -0.17995917797088623, -0.534345805644989, -0.7960619330406189, -0.7897306084632874, -0.24708004295825958, 0.3723618984222412, 0.45525339245796204, -0.7824689149856567, 0.24506571888923645, -0.3757842481136322, -0.4018985331058502, -0.4888952970504761, -0.058018166571855545, 0.2935815453529358, 0.14842890202999115, 0.502405047416687, 0.08720757067203522, -0.19407868385314941, -0.642203688621521, -0.33840376138687134, 0.08704274892807007, -0.21425026655197144, 0.414323091506958, 0.7342098355293274, 0.13444602489471436, 0.6717022657394409, -0.8393294215202332, -0.21021071076393127, 0.036586564034223557, 0.20908339321613312, 0.6345526576042175, 0.38534480333328247, 0.14990048110485077, -0.5627899169921875, -0.557684063911438, 0.10687544196844101, -0.544630229473114, -0.23252710700035095, 0.017472488805651665, 0.022843383252620697, 0.20796936750411987, 0.37478122115135193, -0.8715798258781433, 0.2608763873577118, 0.775627076625824, -0.21877531707286835, 0.5704570412635803, -0.2834291458129883, 0.06508781015872955, -1.0005989074707031, -0.15892118215560913, 0.03482455015182495, -0.18877841532230377, -0.7171367406845093, 0.4832737147808075, 0.12348251044750214, -0.1870547980070114, -0.43728604912757874, 0.4330141544342041, -0.42545878887176514, -0.015021050348877907, -0.20095711946487427, -0.10087604820728302, 0.0702153742313385, 0.6395780444145203, 0.11857274174690247, 0.6164359450340271, 0.5871687531471252, -0.493621826171875, 0.5899224877357483, 0.0851370245218277, -0.549864649772644, 0.41013360023498535, -0.8399428725242615, 0.3115447759628296, 0.02671973593533039, 0.40434902906417847, -0.8196438550949097, -0.2650517225265503, -0.1723492443561554, -0.543786883354187, 0.015729054808616638, -0.23262238502502441, -0.744656503200531, -0.0484049953520298, -0.2415742576122284, 0.8675976395606995, 0.3127080798149109, -0.5073250532150269, 0.6372166275978088, 0.3581639528274536, -0.39666983485221863, -0.14764341711997986, -0.5103384852409363, 0.04381800442934036, -0.12966330349445343, -0.7972363829612732, 0.22832174599170685, -0.14574624598026276, -0.48975712060928345, -0.24755041301250458, 0.10730036348104477, -0.02154305763542652, -0.3027370274066925, 0.01404767669737339, 0.44973206520080566, -0.3139827847480774, -0.07932283729314804, 0.10027697682380676, -0.14260537922382355, 0.39631325006484985, -0.13507159054279327, 0.6446836590766907, -0.12723517417907715, -0.5819365382194519, -0.11609472334384918, 0.4454618990421295, 0.5312301516532898, -0.17218482494354248, 0.5053936243057251, -0.019088422879576683, -0.6585019826889038, -0.352206289768219, -0.33558517694473267, 0.029591841623187065, -0.5090190768241882, 0.33610856533050537, -0.8859527111053467, -0.7823100686073303, 0.5011935234069824, -0.1362628936767578, 0.008349008858203888, 0.5847455263137817, 0.7780739665031433, 0.24800731241703033, 1.5225309133529663, 0.37549716234207153, 0.23085567355155945, -0.09732284396886826, -0.4449763894081116, 0.21617819368839264, -0.8070542216300964, -0.17554602026939392, -0.5047310590744019, -0.08186159282922745, -0.5027045011520386, -0.7980714440345764, 0.5075671672821045, 0.1888955682516098, -0.22010307013988495, 0.3988412618637085, -0.10622669011354446, 0.9222651720046997, 0.349543035030365, 0.10610457509756088, 0.6524500846862793, 0.185834601521492, -0.1467309445142746, -0.1359994262456894, -0.4773300588130951, -0.13325074315071106, 1.1915340423583984, 0.21746644377708435, 0.8108790516853333, 0.39242473244667053, 0.22760100662708282, -0.016475213691592216, 0.2387903928756714, -0.6965210437774658, 0.44023171067237854, -0.2764785885810852, -0.7780071496963501, -0.4917660057544708, -0.7470769882202148, -0.5703679919242859, 0.4386502802371979, 0.07571772485971451, -0.47076305747032166, 0.004600530490279198, 0.002566759940236807, -0.4250774681568146, 0.05092759057879448, -0.5831657648086548, 0.3117446303367615, -0.23616231977939606, -0.13697569072246552, -0.44118040800094604, -0.32938504219055176, 0.6179876327514648, -0.5799612998962402, 0.5875737071037292, -0.3069114089012146, 0.15510651469230652, 0.42689433693885803, -0.572829008102417, 0.533944845199585, 0.08616270124912262, -0.4661906659603119, 0.2996523976325989, 0.58671635389328, 0.9391123056411743, 0.15159660577774048, -0.277519166469574, 0.32875585556030273, 0.050955310463905334, -0.44226187467575073, -0.8762695789337158, 0.7755444645881653, -0.5082390308380127, -0.69291752576828, -0.33955681324005127, -0.908332347869873, -0.5599592328071594, 0.07263531535863876, -0.07703098654747009, 0.6677299737930298, 0.4330276846885681, 0.21138015389442444, 0.5603655576705933, -0.14236930012702942, 0.2531490921974182, 0.6787398457527161, -0.3582909107208252, -0.4020589292049408, 1.0418583154678345, 0.12334070354700089, 0.5219981074333191, 0.4608462154865265, 0.14451992511749268, -0.49222686886787415, -0.5669946670532227, -0.8823058009147644, 0.3090361952781677, -0.7410888671875, -0.2779961824417114, -0.30881625413894653, -0.19457101821899414, -0.30160030722618103, 0.05320485681295395, -0.3581366240978241, -0.8626804351806641, -0.2026578038930893, 0.11562589555978775, 0.31563106179237366, 0.8292927742004395, -0.10643427819013596, 0.0455433689057827, -0.8001813292503357, 0.4939349293708801, 0.1560152769088745, 0.31966495513916016, 0.07434069365262985, -0.909730851650238, -0.33109188079833984, 0.34158357977867126, -0.10994383692741394, -0.4837951064109802, 0.6078322529792786, 0.278682142496109, 0.2129559963941574, -0.014063774608075619, -0.10062344372272491, 0.8367310166358948, -0.6639755964279175, 0.514958918094635, 0.11269436031579971, -1.0647474527359009, 0.09002555906772614, -0.5039080381393433, 0.3945838510990143, 0.15514302253723145, 0.41118600964546204, -0.16388645768165588, -0.08459670096635818, -0.3064909875392914, -0.6842058897018433, 0.5972177982330322, 0.4495250880718231, 0.32786479592323303, 0.28164517879486084, 0.4663148522377014, -0.032373640686273575, 0.09078774601221085, -0.6012846827507019, -0.19654569029808044, 0.1742219626903534, -0.10047619789838791, -0.18465407192707062, 0.015945062041282654, -0.009513821452856064, -0.49313899874687195, 0.6264801621437073, -0.33599910140037537, 0.09407012909650803, -0.2900342047214508, -0.15292441844940186, -0.37612494826316833, 0.05919194594025612, 0.7757120728492737, 0.8550119400024414, 0.03689655289053917, 0.12804101407527924, 0.32493361830711365, -0.3960634171962738, 0.2894850969314575, 0.2924594283103943, 0.0644800066947937, -0.16148091852664948, 0.4157559871673584, 0.5650225877761841, 0.04010437801480293, -0.6794452667236328, 0.3292921185493469, 0.22746936976909637, -0.16793176531791687, -0.1332201212644577, 0.11983965337276459, 0.1427096724510193, 0.26054900884628296, 0.38759827613830566, -0.10886785387992859, -0.012805071659386158, -0.5967589616775513, 0.053946640342473984, 0.4675191342830658, 0.19744834303855896, -0.5146525502204895, 0.5699695348739624, -0.06897788494825363, -0.39663243293762207, 0.5622334480285645, -0.11425149440765381, -0.6032732725143433, 0.6992589831352234, 0.9228576421737671, 0.2556174099445343, -0.07718848437070847, -0.0003089705132879317, 0.2654341757297516, 0.18440593779087067, -0.17348302900791168, 0.3997230529785156, 0.12887440621852875, -0.7057666778564453, -1.0210427045822144, -0.7363232374191284, -0.5194252133369446, 0.23572146892547607, -0.3912382423877716, 0.3398219048976898, -0.23767055571079254, 0.1875632405281067, 0.1991410106420517, 0.15918779373168945, -0.509168267250061, 0.36875879764556885, 0.11812911182641983, 0.7789681553840637, -0.6215451955795288, 0.776081383228302, 0.466854453086853, -0.0577264204621315, -0.9232433438301086, -0.27879419922828674, -0.1514936089515686, -1.0136970281600952, 0.5454191565513611, 0.08942369371652603, -0.34970948100090027, 0.20236420631408691, -0.4282865822315216, -1.244431972503662, 0.6002556681632996, 0.6396807432174683, -0.7526832222938538, -0.011589307337999344, 0.7571438550949097, 0.7872152328491211, -0.4808686673641205, 0.21736949682235718, 0.7598930597305298, 0.31968218088150024, 0.36070185899734497, -0.8975003361701965, 0.14251580834388733, -0.3521212041378021, -0.09738831967115402, 0.34480705857276917, -0.6073799729347229, 1.2657792568206787, -0.39799991250038147, 0.14677169919013977, 0.08457665145397186, 0.41298985481262207, 0.6229995489120483, 0.24630790948867798, 0.331346333026886, 0.8730648756027222, 0.36233195662498474, -0.024196170270442963, 0.9851849675178528, -0.3539678156375885, 0.39642956852912903, 1.1557774543762207, -0.4149857759475708, 0.9170147180557251, 0.08188578486442566, -0.529417872428894, 0.408702552318573, 0.37394675612449646, 0.1000266894698143, 0.1625787615776062, 0.5848032236099243, -0.36208847165107727, -0.40424099564552307, 0.08884190022945404, -0.38381442427635193, 0.3695208430290222, 0.7165144085884094, -0.12770488858222961, -0.14783677458763123, -0.3893755376338959, 0.020132865756750107, -0.0801524817943573, -0.3854568600654602, 0.3814612030982971, 0.22586631774902344, -0.699862003326416, 0.8230594992637634, 0.3153746426105499, 0.28331393003463745, -0.32592713832855225, -0.44784805178642273, -0.20729580521583557, 0.25998184084892273, -0.08747586607933044, -0.7967036366462708, 0.2974257171154022, -0.05087602138519287, 0.1250959038734436, 0.14071115851402283, 0.34016501903533936, -0.4576584994792938, -1.0264031887054443, -0.1449998915195465, 0.5021098852157593, 0.1457693874835968, -0.5134249925613403, -0.5383396744728088, 0.14901545643806458, -0.06650145351886749, -0.3366105258464813, 0.19659729301929474, 0.7379761338233948, -0.27046525478363037, 0.7010858654975891, 1.1282364130020142, 0.24193443357944489, 0.30015674233436584, 0.08767930418252945, 0.9664830565452576, -0.7709677219390869, -0.5002140402793884, -1.0898886919021606, 0.09308643639087677, 0.19915856420993805, -0.3134790062904358, 0.7103328704833984, 0.6592114567756653, 0.8414269685745239, -0.028116947039961815, 0.5449865460395813, 0.3134605884552002, 0.45480942726135254, -0.7663288116455078, 0.22437335550785065, -0.3700553774833679, 0.33105066418647766, -0.19716954231262207, -1.0794875621795654, -0.63094162940979, 0.6146456003189087, -0.2213975042104721, 0.08817930519580841, 0.6874223947525024, 0.8641926646232605, -0.10455724596977234, 0.1819457858800888, 0.559726893901825, 0.28452762961387634, 0.4996912479400635, 0.8352417945861816, 0.8352507948875427, -0.4228586256504059, 0.45755717158317566, -0.24825571477413177, -0.22580283880233765, -0.016333740204572678, -0.7899217009544373, -0.8988677859306335, -0.3945682644844055, -0.02432182990014553, -0.2222166806459427, -0.2655846178531647, 1.0303922891616821, 0.6859891414642334, -0.9221161007881165, -0.12025429308414459, -0.24195979535579681, -0.12821519374847412, 0.02401283010840416, -0.2069031000137329, 0.28347593545913696, -0.010694156400859356, -0.8933016061782837, 0.5374696850776672, 0.2627461552619934, 0.05764816701412201, -0.4402942359447479, 0.14510737359523773, -0.01644963212311268, 0.6641151905059814, 0.7874128222465515, -0.02512575499713421, -0.5230996608734131, -0.047306377440690994, 0.07858645915985107, 0.33668088912963867, -0.10469193756580353, 1.0712934732437134, -0.8008174896240234, 0.3616486191749573, 0.35233190655708313, 0.4701704978942871, 0.6126313209533691, 0.2494482398033142, 0.6095280647277832, -0.5030751824378967, -0.12488607317209244, 0.13178019225597382, 0.32541999220848083, 0.22523508965969086, -0.25778692960739136, 0.4549978971481323, 0.14318393170833588, -0.4484790563583374, -0.9161654710769653, 0.3252542316913605, -0.5457039475440979, -0.2185375988483429, 1.229636311531067, -0.1649472564458847, -0.10018265247344971, -0.04250523820519447, -0.09980743378400803, -0.08191541582345963, -0.31442829966545105, 0.8947344422340393, 0.9763514399528503, -0.46141836047172546, 0.09736479073762894, -0.5874335169792175, 0.29227370023727417, 0.4973137378692627, -0.9952782392501831, 0.25340917706489563, 0.6761602163314819, 0.11703609675168991, 0.19613748788833618, 0.14570623636245728, -0.21112656593322754, 0.22896413505077362, -0.03206150606274605, -0.6243648529052734, -0.33108025789260864, -0.5807312726974487, -0.49527236819267273, 0.14142833650112152, -0.02751241624355316, 0.2690098285675049 ]
http://arxiv.org/abs/2406.02080v1
http://arxiv.org/pdf/2406.02080v1
LongSSM: On the Length Extension of State-space Models in Language Modelling
2024-06-04T08:02:39
2024-06-04T08:02:39
Shida Wang
cs.CL
cs.CL, cs.AI, cs.LG, math.DS
In this paper, we investigate the length-extension of state-space models (SSMs) in language modeling. Length extension involves training models on short sequences and testing them on longer ones. We show that state-space models trained with zero hidden states initialization have difficulty doing length extension. We explain this difficulty by pointing out the length extension is equivalent to polynomial extrapolation. Based on the theory, we propose a simple yet effective method - changing the hidden states initialization scheme - to improve the length extension. Moreover, our method shows that using long training sequence length is beneficial but not necessary to length extension. Changing the hidden state initialization enables the efficient training of long-memory model with a smaller training context length.
[ -0.22071173787117004, -0.5911508798599243, 0.9851827025413513, -0.1279767006635666, -0.5270175337791443, 0.26264727115631104, -0.5274976491928101, -0.4686758816242218, 0.40272796154022217, 0.4051556885242462, -0.652106523513794, -0.19540777802467346, -0.5326696038246155, -0.1336095631122589, -0.4293338358402252, 0.7514615654945374, -0.2733154296875, -0.09915635734796524, -0.14748628437519073, 0.09240453690290451, -0.030731601640582085, -0.6959838271141052, -0.19247198104858398, -0.08453356474637985, 0.3372274339199066, 0.29055315256118774, 0.8175274729728699, 0.7625671625137329, 0.17303316295146942, 0.27251753211021423, -0.5150764584541321, 0.19932648539543152, -0.5372495651245117, 0.11346617341041565, 0.04103599116206169, -0.7117825150489807, -0.48540785908699036, -0.13500288128852844, 0.9144930243492126, 0.9880257844924927, 0.1329929232597351, 0.23465541005134583, -0.13882139325141907, 0.7217413187026978, -0.5282881855964661, 0.16427010297775269, -0.17763108015060425, -0.0676279366016388, -0.047236450016498566, -0.1902783215045929, -0.3325842022895813, -0.23187491297721863, 0.15476787090301514, -0.23118972778320312, 0.2957555949687958, -0.08043505251407623, 0.9457903504371643, 0.008614076301455498, -0.5352486371994019, 0.16922937333583832, -1.427272081375122, 1.0512163639068604, -0.7794627547264099, 0.48733752965927124, 0.01540057547390461, 0.3368021845817566, -0.34378403425216675, -0.2263631373643875, -0.5932738780975342, -0.5928165912628174, 0.009470831602811813, -0.15438240766525269, -0.06068383902311325, 0.40276405215263367, 0.5699203014373779, 0.24619951844215393, -0.25119495391845703, 0.15896275639533997, -1.069846272468567, 0.01874801330268383, 0.6576118469238281, 0.21276557445526123, 0.1868116855621338, -0.0715487003326416, -0.5166025757789612, 0.18005670607089996, -0.9024015069007874, 0.08110429346561432, 0.5361888408660889, 0.40698790550231934, -0.014760542660951614, 0.6772797107696533, -0.2478874921798706, 0.6668331027030945, -0.36650291085243225, 0.03593398258090019, 0.171372652053833, -0.026628093793988228, -0.14220982789993286, -0.12936584651470184, 0.26058313250541687, -0.0769437626004219, -0.040654201060533524, -0.09640461951494217, -0.13435561954975128, 0.26855263113975525, 0.006030184682458639, -0.8034230470657349, 0.25688281655311584, 0.14574690163135529, -0.33279287815093994, 0.14186352491378784, -0.022157009690999985, -0.4668113887310028, 0.06530795991420746, -0.4669756591320038, 0.4527607858181, -0.7191783785820007, -0.2851090431213379, 0.41803625226020813, -0.09467823058366776, 0.18255822360515594, 0.11900998651981354, -0.6789926886558533, 0.8768275380134583, 0.8759598135948181, 0.7674602270126343, -0.40401333570480347, -0.4735800623893738, -0.19283440709114075, -0.013392122462391853, -0.6748209595680237, 0.2908378839492798, -0.4823669195175171, -0.5446497201919556, -0.19032800197601318, 0.1818244755268097, 0.018134845420718193, 0.03096611611545086, 0.2370007485151291, -0.49927642941474915, 0.36721253395080566, 0.023367414250969887, -1.0153383016586304, -0.17884930968284607, -0.19792668521404266, -0.5602238178253174, 1.1707195043563843, 0.24179308116436005, -0.0277533121407032, 0.21232983469963074, -1.1770564317703247, -0.42367228865623474, 0.036029212176799774, 0.0435890331864357, -0.28223979473114014, 0.6026307344436646, -0.05436016246676445, 0.43647250533103943, 0.10024552047252655, 0.15167376399040222, -0.30654633045196533, -0.6913123726844788, 0.22167077660560608, -0.3429774343967438, 0.4621189832687378, 0.2505587041378021, -0.0813341960310936, 0.1993536800146103, -1.0399649143218994, 0.2793630361557007, 0.03345990553498268, -0.3466424345970154, -0.5368881225585938, 0.1192551702260971, -0.3740752041339874, 0.24397945404052734, 0.27469873428344727, -0.7413021922111511, 0.13006478548049927, -0.870010256767273, 0.3701319694519043, 0.629277229309082, -0.1907559484243393, 0.7457089424133301, 0.045321352779865265, 0.803107738494873, 0.058317631483078, 0.1849469095468521, -0.2879258990287781, -0.06547918915748596, -1.0136737823486328, -0.459554523229599, 0.43228375911712646, 0.1566554754972458, -0.5948073863983154, 0.4963996708393097, -0.7191959023475647, -0.4627459943294525, -0.3470648229122162, -0.20946721732616425, 0.319313108921051, -0.08749822527170181, 0.4413456916809082, -0.17551568150520325, -0.6253116130828857, -0.7811738848686218, -0.4549134373664856, -0.10476908832788467, 0.21095459163188934, -0.04792061820626259, 0.7775031328201294, -0.06662644445896149, 1.318785548210144, -0.7129203081130981, 0.48859846591949463, -0.37806856632232666, -0.3952445983886719, 0.48056256771087646, 0.35109323263168335, 0.33872663974761963, -0.291182279586792, -0.22750324010849, -0.6076657176017761, -0.24261720478534698, 0.44976043701171875, 0.06655415892601013, 0.27231189608573914, 0.2829434275627136, 0.37682583928108215, -1.0172494649887085, 0.7227728962898254, 0.5116548538208008, -0.44614550471305847, 0.7560097575187683, -0.4008912444114685, -0.2020835429430008, -1.3259212970733643, -0.2673565447330475, -0.05342752858996391, -0.4503706097602844, -1.0610719919204712, 0.5299440026283264, 0.2924104630947113, -0.6192988753318787, -0.7512604594230652, 0.6318676471710205, -1.0225675106048584, -0.3638852536678314, -0.714775800704956, 0.022531673312187195, -0.0026043180841952562, 0.5591050386428833, 0.04375400394201279, 0.5953903794288635, 0.5110770463943481, -0.7169076800346375, 0.235869362950325, -0.1569051742553711, -0.4954926073551178, -0.04985682666301727, -0.28725674748420715, 0.1501283496618271, -0.31624728441238403, 0.3667002022266388, -0.7902178168296814, 0.21462289988994598, -0.07747552543878555, -0.27873384952545166, 0.506752610206604, -0.3987131416797638, -0.5627089142799377, -0.6949408650398254, -0.2588721811771393, 0.4453929662704468, 0.72441166639328, -0.845565915107727, 0.26583990454673767, -0.026744812726974487, -0.15991364419460297, -0.306831955909729, -0.3644702732563019, 0.0845998078584671, -0.37593352794647217, -0.4125800132751465, 0.43239492177963257, -0.13757097721099854, 0.06686008721590042, -0.052717678248882294, -0.10899908095598221, -0.05793868005275726, 0.2770884037017822, 0.36038297414779663, 0.4007011950016022, -0.5041840076446533, 0.2522483170032501, 0.4017409682273865, 0.02519148401916027, 0.11058409512042999, -0.028223995119333267, 0.754821240901947, -0.4143672585487366, -0.456734299659729, -0.3095439672470093, 0.4856796860694885, 0.26361992955207825, -0.07470903545618057, 0.9163358807563782, -0.08463776111602783, -0.6347042918205261, -0.2621673345565796, 0.019562380388379097, -0.4090188145637512, -0.5055395364761353, 0.6881657242774963, -0.5296663045883179, -1.2282068729400635, 0.33875757455825806, -0.4349053204059601, -0.3720988631248474, 0.4211851954460144, 0.11652952432632446, 0.04384702816605568, 0.990544855594635, 1.180811882019043, -0.007145213428884745, 0.12702175974845886, -0.18268194794654846, 0.39433786273002625, -0.9121437072753906, 0.061549216508865356, -0.2935332953929901, -0.18242985010147095, -0.47388333082199097, -0.7448127865791321, -0.1266152709722519, 0.4254702925682068, -0.08573494851589203, 0.8069155812263489, -0.11349794268608093, 0.6792293787002563, -0.05087992176413536, 0.19271951913833618, -0.14419452846050262, 0.05390021950006485, -0.002670138608664274, -0.27752694487571716, -0.7030244469642639, -0.165060356259346, 0.7804808616638184, 0.7538350820541382, 0.8510494828224182, 0.30314695835113525, 0.7367128729820251, -0.15389332175254822, -0.14782623946666718, -1.0978692770004272, 0.6845460534095764, -0.0818127691745758, -0.46291518211364746, -0.7453048229217529, -0.3777216672897339, -0.9355647563934326, 0.09756088256835938, 0.07180182635784149, -0.7802828550338745, 0.24391646683216095, -0.019574085250496864, -0.552102267742157, 0.3768734931945801, -0.3106401562690735, 0.04576028138399124, -0.39704629778862, 0.10744959115982056, -0.3146272301673889, -0.30485036969184875, 0.21447281539440155, -0.04490701109170914, 0.09923076629638672, -0.29092541337013245, -0.20272915065288544, 1.0100903511047363, -0.7245041728019714, 0.8528323173522949, -0.06696460396051407, -0.10534585267305374, 0.08005138486623764, 0.08149071782827377, 0.5301529765129089, -0.24370719492435455, 0.1299595981836319, 0.10952926427125931, -0.05644179508090019, -0.5650292634963989, -0.6227560043334961, 0.7550384402275085, -0.5807485580444336, -0.8320322036743164, -0.4712024927139282, -0.46916985511779785, -0.43424472212791443, 0.35081830620765686, -0.10601957887411118, 0.22141249477863312, -0.18238037824630737, 0.03756212070584297, 0.5923479199409485, -0.26952633261680603, 0.559730589389801, 0.9055494666099548, -0.5067921876907349, 0.019823435693979263, 0.5397345423698425, 0.09361514449119568, 0.4339657425880432, 0.22060921788215637, 0.25994783639907837, -0.4835241436958313, -0.3178064227104187, -0.26058363914489746, 0.24302098155021667, -0.6444531679153442, 0.0871536135673523, -0.2874526083469391, -0.7709226608276367, -0.4628641903400421, 0.2964971959590912, -0.6647467017173767, -1.036665916442871, -0.4260721504688263, -0.4769308865070343, 0.6791061758995056, 0.4855659306049347, -0.04542398825287819, 0.5526869893074036, -0.776185929775238, 0.08952833712100983, -0.01438194327056408, 0.6769166588783264, -0.1331024020910263, -0.8966206908226013, -0.470946341753006, 0.04974515363574028, 0.1387004405260086, -0.9138173460960388, 0.4922974407672882, 0.35230177640914917, 0.39473041892051697, 0.31478285789489746, -0.22626365721225739, 0.9536817669868469, -0.875427782535553, 0.9241546988487244, 0.4610494375228882, -0.9066377878189087, 0.3735625445842743, -0.15437161922454834, 0.5050919651985168, 0.0219667237251997, 0.5302444100379944, -0.5660365223884583, -0.016341939568519592, -0.5952253937721252, -0.7501919865608215, 0.43589070439338684, 0.0710676908493042, 0.5662084221839905, -0.1610870212316513, 0.6166282296180725, 0.20576833188533783, -0.07266794145107269, -0.23599833250045776, -0.5100453495979309, 0.11239524930715561, 0.2352367788553238, -0.4570070207118988, -0.7072004079818726, -0.15943050384521484, -0.4006342887878418, 0.8316832780838013, -0.2029263973236084, 0.41756415367126465, -0.1899561733007431, -0.290449321269989, -0.20244759321212769, 0.6892637014389038, 0.8432132601737976, 0.9761818647384644, -0.031150834634900093, -0.03411167860031128, 0.4242851436138153, 0.019998425617814064, 0.42919978499412537, 0.11948150396347046, 0.0986228659749031, 0.3314172327518463, 0.043222617357969284, 1.357251524925232, 0.40757063031196594, -0.17340226471424103, 0.4798220694065094, 0.17603802680969238, -0.16589030623435974, -0.4100034236907959, 0.30051136016845703, 0.2530228793621063, -0.09338443726301193, 0.31271207332611084, -0.08065690845251083, -0.033389922231435776, -0.6396593451499939, 0.08450456708669662, 0.28638502955436707, -0.5354529023170471, -0.4747233986854553, 0.306508332490921, -0.1283256560564041, -0.4935821294784546, 0.32615235447883606, 0.11521562933921814, -0.6820212006568909, 0.6292200684547424, 0.8535518050193787, 0.5156751871109009, -0.3401629626750946, 0.18918639421463013, 0.14354893565177917, 0.21963945031166077, -0.4011099636554718, 0.6273859143257141, 0.05199974402785301, -0.5360628366470337, -0.7521494626998901, -0.6292657256126404, -0.16017425060272217, 0.5767985582351685, -0.9027435779571533, 0.36037859320640564, -0.5116610527038574, -0.22471795976161957, -0.37642768025398254, 0.16938935220241547, -0.4523477256298065, 0.3396029472351074, 0.25591880083084106, 1.3657681941986084, -0.6921038031578064, 1.0083729028701782, 0.33533698320388794, 0.3175806999206543, -0.6553366780281067, -0.32018300890922546, -0.2916068434715271, -0.616816520690918, 0.41186463832855225, 0.21222437918186188, -0.24740435183048248, -0.28177252411842346, -0.6103575825691223, -1.3124812841415405, 0.8372099995613098, 0.238775372505188, -0.8788197040557861, 0.00882252398878336, 0.5199904441833496, 0.8968000411987305, -0.2574714124202728, -0.11758482456207275, 0.5378329753875732, -0.0722651332616806, -0.37344545125961304, -0.6621304750442505, 0.2922162413597107, -0.10828246176242828, 0.4728960692882538, 0.6166022419929504, -0.6526610255241394, 0.7029505372047424, -0.4520929753780365, -0.4708212912082672, 0.6712865233421326, 1.1114650964736938, 0.27931690216064453, -0.18848773837089539, 0.5891594290733337, 0.4216417074203491, 0.524692714214325, 0.2107219696044922, 0.6854121685028076, -0.47213637828826904, 0.5957407355308533, 1.370577096939087, -0.5366340279579163, 1.0366425514221191, 0.5744683742523193, -0.2998051643371582, 0.6832075715065002, 0.5863727927207947, -0.06206417828798294, 0.2759683430194855, 0.5086138248443604, -0.23300480842590332, -0.24032896757125854, 0.5741723775863647, -0.48389941453933716, 0.3346712589263916, 0.6600671410560608, -0.4330960810184479, -0.278343141078949, 0.018872257322072983, 0.19560371339321136, 0.017593208700418472, -0.3088698387145996, 0.358361154794693, 0.44942745566368103, -0.5465571284294128, 0.538451611995697, 0.4159269630908966, 0.5030148029327393, -0.5402804017066956, 0.16463954746723175, -0.0639299526810646, 0.07129600644111633, 0.02642923966050148, -0.6486393809318542, 0.12846779823303223, -0.04638899117708206, -0.33605116605758667, -0.03984896466135979, 0.8515720963478088, -0.5056219100952148, -0.45861583948135376, 0.3915247917175293, 0.33242154121398926, 0.357521116733551, 0.08024176955223083, -0.49367862939834595, -0.4097670912742615, -0.43536028265953064, -0.19042322039604187, 0.46221473813056946, -0.2463293969631195, -0.36786261200904846, 0.6081845164299011, 0.846842885017395, 0.2535798251628876, 0.3626202940940857, -0.1016673594713211, 0.7105924487113953, -0.9081305265426636, -0.8034412860870361, -1.0425938367843628, 0.013309596106410027, -0.051722194999456406, 0.05750313028693199, 0.7862001061439514, 0.8789070844650269, 0.5413093566894531, -0.33691495656967163, 0.7202854156494141, 0.2300272434949875, 0.850341260433197, -0.44483646750450134, 0.922062873840332, -0.4279496371746063, 0.27641594409942627, 0.17277677357196808, -0.9085865616798401, 0.16183023154735565, -0.02785063162446022, -0.41005194187164307, -0.029781542718410492, 0.7089788913726807, 0.6785317659378052, -0.1319190412759781, -0.060784049332141876, 0.5938735008239746, 0.2496083378791809, 0.13365831971168518, 0.5041007399559021, 1.0830912590026855, -0.3856625258922577, 0.3141805827617645, -0.37297311425209045, -0.1537209153175354, -0.08470094203948975, -0.8833958506584167, -0.8686835169792175, -0.4977703094482422, -0.11835906654596329, -0.41085517406463623, 0.30502083897590637, 0.7568762898445129, 0.9467223286628723, -0.5327537059783936, -0.26919835805892944, 0.3726916015148163, -0.16867372393608093, -0.06281597167253494, -0.19941741228103638, 0.5257753729820251, -0.02270279824733734, -0.550289511680603, 0.9946766495704651, 0.25632089376449585, 0.21665866672992706, -0.3898216784000397, -0.24447064101696014, -0.0958460196852684, 0.46106112003326416, 0.6950967311859131, 0.6510131359100342, -0.5647737383842468, -0.34574148058891296, -0.08324477076530457, 0.030590618029236794, 0.10908794403076172, 0.6237300038337708, -0.6830463409423828, 0.2579788267612457, 0.2401273101568222, 0.25014686584472656, 0.6855234503746033, -0.22659583389759064, 0.6768526434898376, -1.1202130317687988, 0.14213286340236664, -0.0861440896987915, 0.3726944923400879, 0.16334179043769836, -0.39482563734054565, 0.0829826071858406, 0.054685838520526886, -0.09123462438583374, -0.9174330830574036, 0.5799539685249329, -0.6448737978935242, -0.5622227191925049, 1.3102951049804688, -0.16185709834098816, -0.6140275001525879, 0.4436165392398834, 0.25287720561027527, 0.35546600818634033, -0.06323757022619247, 0.6922662258148193, 0.548832893371582, -0.19922061264514923, -0.12989003956317902, -0.12417901307344437, 0.6992030143737793, 0.5779518485069275, -0.7400532960891724, -0.19236572086811066, 0.0587766095995903, 0.6666112542152405, 0.30990564823150635, 0.37172484397888184, -0.213487446308136, 0.3492436408996582, -0.333288311958313, -0.2207653522491455, -0.08628939092159271, -0.6847545504570007, -0.8235440850257874, -0.18183763325214386, 0.054938722401857376, -0.23283521831035614 ]
http://arxiv.org/abs/2406.02079v1
http://arxiv.org/pdf/2406.02079v1
Assessing the Performance of Chinese Open Source Large Language Models in Information Extraction Tasks
2024-06-04T08:00:40
2024-06-04T08:00:40
Yida Cai, Hao Sun, Hsiu-Yuan Huang, Yunfang Wu
cs.CL
cs.CL
Information Extraction (IE) plays a crucial role in Natural Language Processing (NLP) by extracting structured information from unstructured text, thereby facilitating seamless integration with various real-world applications that rely on structured data. Despite its significance, recent experiments focusing on English IE tasks have shed light on the challenges faced by Large Language Models (LLMs) in achieving optimal performance, particularly in sub-tasks like Named Entity Recognition (NER). In this paper, we delve into a comprehensive investigation of the performance of mainstream Chinese open-source LLMs in tackling IE tasks, specifically under zero-shot conditions where the models are not fine-tuned for specific tasks. Additionally, we present the outcomes of several few-shot experiments to further gauge the capability of these models. Moreover, our study includes a comparative analysis between these open-source LLMs and ChatGPT, a widely recognized language model, on IE performance. Through meticulous experimentation and analysis, we aim to provide insights into the strengths, limitations, and potential enhancements of existing Chinese open-source LLMs in the domain of Information Extraction within the context of NLP.
[ -0.1302589476108551, -0.8447034955024719, 0.3799407482147217, 0.1840936690568924, -0.18184293806552887, -0.2656308114528656, -0.5733456611633301, -0.9100032448768616, -0.2099069505929947, 0.33352360129356384, -0.15875253081321716, -0.4945380687713623, -0.7216097116470337, 0.2477218061685562, -0.4942687451839447, 0.8235077857971191, 0.005240249913185835, -0.05659870803356171, 0.2931092083454132, 0.16007234156131744, -0.42387697100639343, -0.2659098207950592, -0.7332847118377686, -0.31819605827331543, 0.4704650342464447, 0.3466123640537262, 0.45369404554367065, 0.6283152103424072, 0.7633881568908691, 0.17650416493415833, -0.010381169617176056, -0.01736411638557911, -0.5774577856063843, 0.06649906188249588, -0.2211439311504364, -0.381593257188797, -0.3327539265155792, 0.07701359689235687, 0.8457916975021362, 0.38163021206855774, -0.15418677031993866, 0.2795286476612091, 0.3162984848022461, 0.12505555152893066, -0.6955647468566895, 0.3792693316936493, -0.9750979542732239, 0.12097414582967758, -0.5245494246482849, -0.2068532556295395, -0.6303611397743225, -0.1480463445186615, 0.23507489264011383, -0.5432230234146118, 0.0061463164165616035, 0.03464730456471443, 1.1559441089630127, -0.012929846532642841, -0.10578681528568268, -0.17372871935367584, -0.9837729334831238, 0.8637576103210449, -1.1436952352523804, 0.34029459953308105, 0.030509375035762787, 0.22607825696468353, -0.26899468898773193, -0.7637330889701843, -0.5777333974838257, -0.24629101157188416, 0.07184740155935287, 0.18242523074150085, -0.45542392134666443, 0.06834031641483307, 0.42487168312072754, 0.4635300934314728, -0.5866767764091492, 0.6294302344322205, -0.35108456015586853, 0.034497130662202835, 0.44241923093795776, 0.018992895260453224, 0.54771488904953, -0.4360314607620239, -0.36610138416290283, 0.12438029795885086, -0.751491367816925, 0.16780580580234528, 0.044619545340538025, 0.5709975361824036, 0.15514323115348816, 0.8945352435112, -0.2265126258134842, 0.5834740400314331, -0.28253278136253357, -0.21284402906894684, -0.10976654291152954, -0.14554214477539062, -0.5302250981330872, 0.023635437712073326, 0.9734816551208496, 0.13249938189983368, 0.395262211561203, -0.39182913303375244, -0.46193307638168335, -0.35137274861335754, -0.046074915677309036, -0.9942530989646912, -0.16914604604244232, 0.23832781612873077, -0.5497931241989136, -0.07203607261180878, 0.1807188093662262, -0.7387451529502869, -0.34585121273994446, -0.06274957209825516, 0.4710896611213684, -0.5531464219093323, -0.5492957830429077, 0.09048767387866974, -0.19232483208179474, 0.6205031275749207, 0.5259520411491394, -0.6797555685043335, 0.07267281413078308, 0.832724392414093, 1.0270439386367798, -0.5557331442832947, -0.19298219680786133, -0.6251672506332397, 0.09698658436536789, -0.28589385747909546, 0.8095706105232239, -0.5371569991111755, -0.09032171964645386, -0.13309665024280548, -0.06012871861457825, -0.33581778407096863, -0.5916309952735901, 0.6523797512054443, -0.508395791053772, 0.1130867749452591, -0.05994473025202751, -0.6564363837242126, -0.17095613479614258, 0.44930562376976013, -0.7852660417556763, 1.002042293548584, -0.08112803101539612, -0.8597909212112427, 0.3055245876312256, -0.8198142051696777, -0.16817916929721832, 0.4709455370903015, -0.2924063801765442, -0.010701515711843967, 0.19038258492946625, -0.005803471431136131, 0.6154016852378845, -0.6427929401397705, 0.068332239985466, -0.2382548451423645, -0.4328608810901642, -0.006988850422203541, -0.5591884851455688, 0.8907617926597595, 0.16744302213191986, -0.43291082978248596, -0.014123829081654549, -0.7863484025001526, 0.11186116188764572, 0.40190690755844116, -0.42785319685935974, -0.46282127499580383, 0.15182752907276154, 0.09354586154222488, 0.25949105620384216, 0.25372716784477234, -0.7835880517959595, 0.3186899721622467, -0.5552095174789429, 0.4557725787162781, 0.6659409403800964, -0.08500037342309952, 0.18369531631469727, 0.09400348365306854, 0.4684671461582184, -0.12349677830934525, -0.011972474865615368, -0.24944084882736206, -0.36984679102897644, -0.7073280811309814, -0.29385870695114136, 0.7266131639480591, 0.7287841439247131, -0.7510389089584351, 0.10116437077522278, -0.3684103786945343, -0.6435622572898865, -0.5265353322029114, 0.13415740430355072, 0.12720541656017303, 0.4480555057525635, 0.09361826628446579, -0.21630921959877014, -0.3077072501182556, -0.8522344827651978, -0.3054228723049164, -0.25466465950012207, -0.3199365437030792, 0.2663635015487671, 0.4708166718482971, 0.066434346139431, 0.9140186905860901, -0.3568580746650696, -0.2749826908111572, -0.4146941900253296, 0.36486122012138367, 0.2902624011039734, 0.16790664196014404, 0.351268470287323, -0.7251335382461548, -0.5049898624420166, 0.3559323847293854, -0.9166680574417114, -0.20732714235782623, -0.13755539059638977, 0.10892979055643082, 0.11185742169618607, 0.259032279253006, -0.818183422088623, 0.4421866834163666, 0.40668874979019165, 0.1411367505788803, 0.7305600643157959, 0.1114380955696106, -0.023078391328454018, -0.807425320148468, 0.4021247923374176, 0.22740519046783447, -0.054483797401189804, -0.7366014122962952, 0.3602416217327118, 0.2367044985294342, -0.043963104486465454, -0.7314624190330505, 0.49398353695869446, -0.686272144317627, -0.13321435451507568, -0.3554409146308899, 0.5384562611579895, -0.1947370171546936, 0.3714275658130646, 0.165009006857872, 0.7332289814949036, 0.4496479034423828, -0.6049190163612366, 0.1637692153453827, -0.13632827997207642, -0.5608826875686646, 0.3242301940917969, -0.8357237577438354, 0.16944284737110138, 0.01015391107648611, -0.3040587604045868, -0.7963997721672058, -0.19779588282108307, 0.08453692495822906, -0.40720996260643005, 0.4475559592247009, -0.012144546024501324, -0.689376950263977, -0.07377361506223679, -0.2739090621471405, -0.003036216367036104, 0.34738418459892273, -0.4042917788028717, 0.40643882751464844, 0.38074997067451477, -0.23639953136444092, -0.6376803517341614, -0.5227413177490234, 0.20454268157482147, -0.21273717284202576, -0.6116700172424316, 0.18900378048419952, 0.13253873586654663, -0.36452198028564453, 0.05795261263847351, -0.03000672161579132, -0.1478203982114792, 0.36895596981048584, 0.059844862669706345, 0.3887636661529541, -0.6010350584983826, 0.0991385206580162, -0.42327383160591125, 0.08416810631752014, -0.16007277369499207, -0.08435186743736267, 0.5265491008758545, -0.036363352090120316, -0.45024579763412476, -0.3572051525115967, 0.13101650774478912, 0.25289279222488403, -0.5149048566818237, 0.8102797865867615, 0.5369701385498047, -0.6286795139312744, -0.29295122623443604, -0.4298713207244873, 0.053300537168979645, -0.38034820556640625, 0.5249350666999817, -0.25851863622665405, -0.8135805726051331, 0.40778443217277527, -0.03324965387582779, 0.5039612650871277, 0.696426510810852, 0.319681316614151, 0.1898677945137024, 0.8669090270996094, 0.7685599327087402, -0.28559455275535583, 0.5396074652671814, 0.003197051351889968, 0.2491433173418045, -0.8116196990013123, -0.030691154301166534, -0.7304680347442627, -0.01860562339425087, -0.49296003580093384, -0.15520121157169342, 0.19124828279018402, 0.3065771460533142, 0.14582106471061707, 0.41837817430496216, -0.25441643595695496, 0.3428477346897125, 0.4378719627857208, -0.2895210087299347, 0.47502240538597107, -0.13931147754192352, 0.18808765709400177, 0.027111897245049477, -0.6130324602127075, -0.7154430150985718, 0.8802379965782166, 0.37479281425476074, 0.7013897895812988, 0.0046994430013000965, 0.4503697156906128, 0.022554300725460052, 0.10523722320795059, -0.8690705895423889, 0.5478807091712952, -0.3026503920555115, -0.4129229784011841, -0.44743698835372925, -0.4253504276275635, -1.2053595781326294, 0.3227986693382263, -0.2091158777475357, -1.0646096467971802, -0.12227533757686615, -0.22688540816307068, -0.30233606696128845, 0.4838254451751709, -0.5959466099739075, 0.8088719844818115, -0.13722461462020874, -0.2906387746334076, 0.272408127784729, -0.2661972641944885, 0.5159801840782166, -0.3086419701576233, 0.07517401874065399, -0.12573418021202087, 0.05613185465335846, 0.6786546111106873, 0.21163040399551392, 0.4842483699321747, -0.16442856192588806, -0.22103537619113922, 0.2496810108423233, 0.12575164437294006, 0.6713343858718872, -0.3411819338798523, -0.2843920886516571, 0.651007354259491, -0.006014561280608177, -0.17941099405288696, -0.4694429636001587, 0.6084563136100769, -0.5086296200752258, -0.6479945778846741, -0.28202611207962036, -0.329071968793869, 0.1011957898736, 0.6520125865936279, 0.2869608998298645, 0.1775585263967514, -0.31144481897354126, 0.5267930030822754, 0.49030423164367676, -0.4338459372520447, 0.7671802043914795, 0.7778805494308472, -0.31626448035240173, 0.13455933332443237, 0.7769255638122559, 0.5480973720550537, 0.30234038829803467, 0.5436410307884216, -0.008109231479465961, 0.10033833235502243, -0.8936979174613953, -0.5219465494155884, 0.036127448081970215, -0.4497024714946747, -0.07773271948099136, -0.7159042358398438, -0.6872130036354065, -0.47765812277793884, 0.4630722403526306, -0.44556909799575806, -0.41424888372421265, -0.30253463983535767, -0.022044535726308823, -0.2786279618740082, 0.7847257852554321, 0.2525184452533722, 0.1342700719833374, -0.9761757254600525, 0.19189892709255219, -0.11263490468263626, 0.24945737421512604, 0.04765833169221878, -0.4263908863067627, -0.3221082091331482, -0.03190530836582184, -0.2882358133792877, -0.9039784073829651, 0.47066810727119446, 0.06913893669843674, 0.7236769795417786, 0.49853938817977905, 0.06882881373167038, 0.7214827537536621, -0.5191027522087097, 1.057363748550415, -0.18909576535224915, -0.68782639503479, 0.46110835671424866, -0.26926425099372864, 0.2495899796485901, 0.24086643755435944, 0.3223753571510315, -0.4778504967689514, -0.3903648555278778, -0.37731561064720154, -0.8276743292808533, 0.8507931232452393, 0.3695255219936371, -0.18152949213981628, 0.038962312042713165, 0.28612497448921204, 0.14959968626499176, 0.14624033868312836, -1.0125733613967896, -0.01847155950963497, 0.3151053488254547, 0.11155345290899277, 0.04021470621228218, -0.16670574247837067, 0.38122525811195374, 0.27342331409454346, 0.6971232295036316, 0.07822373509407043, 0.15254823863506317, 0.2278224229812622, -0.28357091546058655, -0.14169009029865265, 0.4662466049194336, 0.2860662043094635, 0.4447577893733978, -0.20207177102565765, 0.018504280596971512, 0.11368978768587112, -0.3921878933906555, -0.426970511674881, 0.1794649064540863, -0.3622998297214508, 0.047752294689416885, 0.5454193949699402, 0.694638729095459, 0.05514508858323097, -0.732681930065155, 0.5498774647712708, -0.10458313673734665, 0.14687830209732056, -0.3712124526500702, 0.28422150015830994, -0.16975077986717224, 0.27000486850738525, 0.45401784777641296, -0.3162107765674591, 0.3209843039512634, -0.4500553011894226, 0.05267668887972832, 0.7281928062438965, -0.23881588876247406, -0.40285724401474, 0.4353867173194885, -0.17453017830848694, -0.3807213306427002, 0.7696720361709595, -0.12238145619630814, -0.2908948063850403, 0.5153974294662476, 0.593519389629364, 0.956886887550354, -0.23479504883289337, -0.018859179690480232, 0.3830471932888031, 0.7187856435775757, -0.2280687540769577, -0.052542995661497116, 0.018676282837986946, -0.6978530287742615, -0.6085829138755798, -0.5585970282554626, -0.41889122128486633, 0.5488828420639038, -0.6246843934059143, 0.5555763840675354, -0.16830597817897797, 0.06265021115541458, 0.13372112810611725, 0.0472896471619606, -0.6658663153648376, 0.022192608565092087, 0.283939003944397, 1.1291823387145996, -0.47666531801223755, 0.9251788854598999, 0.4065437316894531, -0.45899561047554016, -0.9881768226623535, 0.0009282346582040191, -0.0657283291220665, -0.6294882893562317, 0.6290274262428284, 0.32243213057518005, 0.03802776336669922, -0.058104172348976135, -0.5013702511787415, -0.8661410808563232, 1.1607569456100464, 0.5424766540527344, -0.6522562503814697, -0.4132497310638428, 0.2566559314727783, 0.584114670753479, -0.08859860152006149, 0.6299456357955933, 0.4616953730583191, 0.49023541808128357, -0.11401599645614624, -1.2744548320770264, -0.1179562360048294, -0.39233940839767456, -0.2258930206298828, 0.2326963096857071, -0.619047999382019, 1.140221118927002, 0.141447976231575, -0.741780161857605, 0.004279459826648235, 0.5380167365074158, 0.036981310695409775, 0.2234652191400528, 0.39892762899398804, 0.35300901532173157, 0.6755703687667847, 0.025438524782657623, 1.00985848903656, -0.27149540185928345, 0.32278531789779663, 1.071393609046936, -0.5110629200935364, 1.2883013486862183, 0.25979846715927124, -0.04061086103320122, 0.27184638381004333, 0.5112913250923157, -0.16148696839809418, 0.2033790946006775, -0.07487716525793076, -0.0027325546834617853, -0.01123602595180273, -0.16905878484249115, -0.18605025112628937, 0.8427696824073792, 0.19537240266799927, -0.335022896528244, -0.4547378718852997, -0.09507855027914047, 0.05698005482554436, -0.38457396626472473, -0.3499508798122406, 0.9222237467765808, 0.041868843138217926, -0.7587016224861145, 0.2586970627307892, 0.271150141954422, 0.7220181226730347, -0.7185353636741638, -0.24018855392932892, 0.03960702568292618, 0.0044724722392857075, -0.2947286367416382, -0.7431715726852417, 0.15336303412914276, 0.32307833433151245, 0.019836677238345146, 0.06177692860364914, 1.0990461111068726, -0.20356781780719757, -0.14539405703544617, 0.4810054898262024, 0.4676084816455841, 0.5132915377616882, -0.38611847162246704, -0.5549775958061218, -0.12194657325744629, 0.022371992468833923, -0.5562980771064758, 0.5254715085029602, 0.6473162770271301, 0.08571624010801315, 0.4469865560531616, 0.6588086485862732, 0.5430297255516052, 0.14101865887641907, -0.31651684641838074, 0.6008914709091187, -0.8650668859481812, -0.09288566559553146, -1.2038871049880981, 0.42162036895751953, -0.13857275247573853, -0.17244309186935425, 1.0859369039535522, 0.6690956354141235, 0.8807568550109863, 0.1334877610206604, 0.8254507780075073, -0.10969319194555283, 0.46172064542770386, -0.5931268930435181, 0.7019725441932678, -0.5165801644325256, 0.3151393234729767, -0.41587379574775696, -1.0700067281723022, -0.1642431765794754, 0.30823639035224915, -0.20945394039154053, -0.28223517537117004, 0.500064492225647, 0.674370288848877, -0.06903038173913956, 0.22541464865207672, 0.6093316078186035, 0.40571045875549316, 0.5601033568382263, 0.7439365386962891, 0.8377484679222107, -0.2781761884689331, 0.5563202500343323, -0.1906212568283081, -0.1850612759590149, 0.015668364241719246, -1.115773320198059, -0.7232020497322083, -0.3688884377479553, -0.02050381526350975, 0.11818016320466995, -0.2567296624183655, 0.7793142199516296, 0.49472203850746155, -0.7804251909255981, -0.15243591368198395, 0.06720145046710968, -0.03724994137883186, 0.08772584795951843, -0.3168264925479889, 0.34435221552848816, -0.27095648646354675, -0.9658607840538025, 0.4450874924659729, 0.5471885204315186, -0.18220427632331848, -0.19606955349445343, 0.2721710205078125, -0.24940533936023712, 0.12753789126873016, 0.6344318389892578, 0.39241570234298706, -0.7048612833023071, -0.37366941571235657, 0.1893993467092514, -0.21938678622245789, 0.17240707576274872, 0.5318235754966736, -0.4319685697555542, 0.38436055183410645, 0.4722785949707031, 0.7883734107017517, 0.3165387213230133, -0.060673344880342484, 0.44698789715766907, -0.5008929371833801, -0.21328912675380707, 0.1015397235751152, 0.3949625492095947, 0.23151761293411255, -0.30386799573898315, 0.7387327551841736, -0.0055663567036390305, -0.6868259906768799, -1.101655125617981, -0.1675337851047516, -0.8763144016265869, -0.23145999014377594, 1.3922834396362305, -0.5724625587463379, -0.20535486936569214, 0.055111102759838104, -0.2809154987335205, 0.31731873750686646, -0.3098556101322174, 0.5643013119697571, 0.9634824395179749, -0.16689716279506683, -0.15794821083545685, -1.004698634147644, 0.06335486471652985, 0.19407902657985687, -0.8162539601325989, 0.10695444792509079, 0.3507711589336395, 0.2524125277996063, 0.2510475814342499, 0.5381278395652771, -0.08553331345319748, 0.07148906588554382, -0.11907356977462769, 0.11733012646436691, -0.021210329607129097, -0.25145652890205383, -0.4005592465400696, 0.5694188475608826, 0.2959415316581726, -0.053030990064144135 ]
http://arxiv.org/abs/2406.02069v2
http://arxiv.org/pdf/2406.02069v2
PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling
2024-06-04T07:51:30
2024-06-16T06:41:08
Zefan Cai., Yichi Zhang, Bofei Gao, Yuliang Liu, Tianyu Liu, Keming Lu, Wayne Xiong, Yue Dong, Baobao Chang, Junjie Hu, Wen Xiao
cs.CL
cs.CL, cs.AI
In this study, we investigate whether attention-based information flow inside large language models (LLMs) is aggregated through noticeable patterns for long context processing. Our observations reveal that LLMs aggregate information through Pyramidal Information Funneling where attention is scattering widely in lower layers, progressively consolidating within specific contexts, and ultimately focusin on critical tokens (a.k.a massive activation or attention sink) in higher layers. Motivated by these insights, we developed PyramidKV, a novel and effective KV cache compression method. This approach dynamically adjusts the KV cache size across different layers, allocating more cache in lower layers and less in higher ones, diverging from traditional methods that maintain a uniform KV cache size. Our experimental evaluations, utilizing the LongBench benchmark, show that PyramidKV matches the performance of models with a full KV cache while retaining only 12% of the KV cache, thus significantly reducing memory usage. In scenarios emphasizing memory efficiency, where only 0.7% of the KV cache is maintained, PyramidKV surpasses other KV cache compression techniques achieving up to a 20.5 absolute accuracy improvement on TREC.
[ -0.3280085325241089, -0.6260254979133606, 0.28753170371055603, 0.648626446723938, -0.2968974709510803, 0.27151620388031006, -0.35515445470809937, -0.3064172565937042, 0.15614110231399536, 0.3107351064682007, -0.4224199056625366, -0.5525945425033569, -0.6690633893013, -0.25533419847488403, -0.47135016322135925, 0.6033980250358582, 0.19004863500595093, 0.02828281931579113, -0.2912704050540924, 0.18072906136512756, -0.5475950837135315, -0.1760549396276474, -0.6320503950119019, -0.17477668821811676, 0.5375805497169495, 0.3895372748374939, 0.4448107182979584, 0.90401291847229, 0.47005873918533325, 0.2693692147731781, -0.22147390246391296, -0.28930214047431946, -0.6951003074645996, 0.6816086173057556, 0.1346740573644638, -0.5569241046905518, -0.4063818156719208, -0.3968002498149872, 0.9342755079269409, 0.41692283749580383, -0.4666304290294647, 0.2409055531024933, 0.07979872077703476, 1.053134799003601, -1.2180407047271729, 0.23228031396865845, -0.39204147458076477, 0.1318693459033966, -0.2793916165828705, -0.34632256627082825, -0.6836346387863159, -0.16116049885749817, 0.06416045129299164, -0.40260300040245056, -0.021572129800915718, -0.24329139292240143, 0.33092543482780457, 0.7180585861206055, -0.35048189759254456, -0.2365678995847702, -0.7141484618186951, 0.8371022939682007, -0.41549888253211975, 0.4663703441619873, 0.2510715126991272, 0.43535587191581726, -0.18169169127941132, -1.1410770416259766, -0.47277143597602844, 0.05853778496384621, 0.2598325312137604, 0.24954797327518463, -0.2064446061849594, 0.0633779913187027, 0.2984146475791931, 0.3819297254085541, -0.37163683772087097, 0.003278926480561495, -0.21349039673805237, -0.08590690046548843, 0.14268718659877777, 0.2535918951034546, 0.10135605186223984, -0.21901212632656097, -0.2852587103843689, -0.15732955932617188, -0.8528398275375366, 0.4776819944381714, 0.33970776200294495, -0.07748592644929886, -0.08387263119220734, 0.3574841022491455, -0.6325075626373291, 0.8872132301330566, 0.33354467153549194, -0.052391309291124344, -0.014893448911607265, -0.1929241567850113, -0.45464256405830383, 0.32239463925361633, 0.47232577204704285, 0.32477840781211853, 0.26876431703567505, -0.29491162300109863, -0.05118750035762787, 0.018673943355679512, 0.5854827761650085, -1.1599024534225464, -0.4737374186515808, 0.36729374527931213, -0.59614497423172, -0.6500394940376282, -0.026396427303552628, -0.8995861411094666, -0.450459361076355, -0.04624680057168007, 0.06811369210481644, 0.009126395918428898, -0.20512895286083221, 0.31454944610595703, -0.0875452384352684, 0.3984096050262451, 0.37406009435653687, -0.8701849579811096, 0.23534375429153442, 0.7127942442893982, 0.9973828196525574, -0.31292474269866943, 0.28387904167175293, -0.8793660998344421, 0.30192625522613525, -0.14826419949531555, 0.734512984752655, -0.9312940835952759, -0.09949000179767609, 0.09665233641862869, -0.06136637553572655, 0.35861170291900635, -0.5812773108482361, 0.4461541175842285, -0.7133899331092834, -0.2783312201499939, -0.2777261734008789, -0.15716241300106049, -0.08313826471567154, 0.2397262156009674, -0.7609028220176697, 1.2644585371017456, 0.16588540375232697, -0.7776654362678528, 0.1905679702758789, -0.19618989527225494, -0.37509480118751526, 0.14815767109394073, -0.1186470165848732, -0.20821909606456757, 0.11842339485883713, 0.19112853705883026, 0.7962713837623596, -0.36832207441329956, 0.06884212046861649, -0.278890997171402, -0.37252774834632874, 0.13640674948692322, -0.13204097747802734, 0.3900297284126282, -0.006716164760291576, -0.37859660387039185, 0.09580153226852417, -0.9385156631469727, 0.12416528165340424, -0.08032463490962982, -0.8212695717811584, -0.3829474449157715, -0.00036348748835735023, -0.10079663246870041, 0.46359196305274963, 0.0956108495593071, -0.24828261137008667, 0.7907695174217224, -0.26105302572250366, 0.40670710802078247, 1.00450599193573, -0.16254805028438568, 0.7040496468544006, 0.024834003299474716, 0.5621397495269775, 0.1060400903224945, 0.14369168877601624, -0.24542619287967682, -0.4865318834781647, -1.1632049083709717, -0.30378276109695435, 0.5141106843948364, 0.34043189883232117, -0.6746294498443604, 0.29886341094970703, -0.7953760623931885, -0.3873535096645355, -0.3797090947628021, -0.0980263277888298, 0.191355898976326, 0.4907083213329315, 0.08593617379665375, -0.5765279531478882, -0.42638278007507324, -1.042707085609436, -0.01836356520652771, -0.006655139848589897, -0.017857808619737625, 0.4741980731487274, 0.18995727598667145, 0.13954457640647888, 0.6338520646095276, -0.3577267527580261, 0.07839968800544739, -0.07054400444030762, 0.3071559965610504, 0.1713460087776184, 0.37284591794013977, 0.3115764856338501, -0.6751696467399597, -0.8310592770576477, -0.07510513067245483, -0.26557087898254395, -0.1444469839334488, -0.08525822311639786, -0.15327805280685425, 0.04697980731725693, 0.42615434527397156, -0.8117649555206299, 0.5262628197669983, 0.7371469140052795, -0.21895240247249603, 0.6735349297523499, 0.0240355022251606, 0.15903708338737488, -0.9830142855644226, 0.10262396931648254, -0.28926408290863037, -0.45442333817481995, -0.545176088809967, -0.1105688139796257, 0.3918541967868805, 0.34157031774520874, -0.4384646713733673, 0.46846702694892883, -0.6170691251754761, -0.08417364209890366, -0.5460700392723083, -0.04315735772252083, -0.41123703122138977, 0.7176989316940308, -0.2935095727443695, 0.7032385468482971, 0.8497703075408936, -0.9380044341087341, 0.8651469349861145, -0.19254976511001587, -0.7204111218452454, 0.43798089027404785, -0.50214022397995, 0.3750629723072052, -0.2528555989265442, 0.7324926257133484, -1.1050012111663818, -0.2189611792564392, 0.2695988416671753, -0.490337610244751, 0.49906498193740845, -0.4560844898223877, -0.5200495719909668, -0.1714227795600891, -0.4549260139465332, 0.7385095953941345, 0.6919503211975098, -0.49108704924583435, 0.8584581017494202, 0.438321590423584, -0.18465222418308258, -1.17073655128479, -0.7305033206939697, 0.26154541969299316, -0.12743158638477325, -0.9585677981376648, 0.5370981097221375, -0.15013006329536438, -0.013728374615311623, -0.0911453440785408, -0.5013035535812378, -0.07979726046323776, -0.16518181562423706, 0.36341819167137146, -0.16400504112243652, -0.3656773865222931, 0.2018701732158661, -0.172980397939682, -0.10693894326686859, 0.011408503167331219, -0.7045522332191467, 0.930012047290802, 0.06365080177783966, 0.05906704068183899, -0.6816748976707458, 0.28408870100975037, 0.7970499396324158, 0.07729639858007431, 0.8953278064727783, 0.6542597413063049, -0.3016967475414276, -0.41544488072395325, -0.7150018811225891, -0.1559009850025177, -0.5226918458938599, 0.37874355912208557, -0.4028061628341675, -0.8169711232185364, 0.8029295802116394, -0.30831050872802734, -0.19292417168617249, 0.13517186045646667, 0.8732039928436279, 0.05921521037817001, 1.0471789836883545, 0.637169599533081, -0.28782200813293457, 0.6115695238113403, -0.30104970932006836, 0.17037099599838257, -0.9981125593185425, -0.3074735403060913, -0.5563681721687317, -0.7856908440589905, -0.42098769545555115, -0.7448553442955017, 0.03966629505157471, 0.25621163845062256, 0.0027894210070371628, -0.03251639008522034, -0.47339174151420593, 0.6141468286514282, 0.28404873609542847, -0.06079763174057007, 0.15832017362117767, -0.03340625390410423, -0.16196735203266144, 0.12813320755958557, -0.8307867646217346, -0.07522136718034744, 0.9950098395347595, 0.1421903818845749, 1.0017368793487549, 0.1856028288602829, -0.004913619719445705, 0.38782447576522827, 0.25698933005332947, -1.0056371688842773, 0.5772110819816589, 0.21803011000156403, -0.18684691190719604, -0.08795884996652603, -0.31411507725715637, -1.0252346992492676, 0.10739332437515259, 0.0642935186624527, -0.8413397669792175, 0.11139531433582306, 0.2557217478752136, -0.2821969985961914, 0.2709712088108063, -0.4357779622077942, 0.4996771812438965, 0.27072983980178833, -0.5165497064590454, -0.5278044939041138, -0.6770086884498596, 0.32908913493156433, 0.07000172883272171, -0.25809386372566223, 0.23564866185188293, -0.25955283641815186, 0.6786076426506042, -0.2097163051366806, 0.7117417454719543, -0.015122058801352978, -0.07507450878620148, 0.031075818464159966, 0.1806575059890747, 1.3011375665664673, 0.05627967417240143, 0.1593414843082428, 0.01407028827816248, -0.5469335913658142, -0.6016477942466736, -1.0649163722991943, 0.9678711891174316, -0.4911070466041565, -0.5150344967842102, -0.17613720893859863, -0.4426136016845703, -0.008287278935313225, 0.13429875671863556, 0.015043085440993309, 0.34556883573532104, 0.13649848103523254, 0.8086425065994263, 0.879095733165741, -0.08127845078706741, 0.40335527062416077, 0.5150654315948486, 0.113681860268116, -0.13546085357666016, 0.5733581185340881, -0.02307337336242199, 0.24190957844257355, 0.6038244962692261, 0.14583659172058105, -0.06470120698213577, -0.7627357244491577, -0.3258311450481415, 0.13940830528736115, -0.9734411835670471, -0.3144517242908478, -0.9290421605110168, -0.1954391449689865, -0.4534452557563782, -0.09460001438856125, -0.8626002073287964, -0.5781278014183044, 0.14449189603328705, 0.18914726376533508, -0.0728839710354805, 0.6015274524688721, 0.32531487941741943, 0.4793502986431122, -0.6570683717727661, 0.14315974712371826, 0.31634995341300964, 0.4593884348869324, 0.4880882799625397, -0.42219609022140503, -0.4865351915359497, -0.2562818229198456, -0.2865584194660187, -0.668727457523346, 0.25408872961997986, -0.18883012235164642, 0.3237830102443695, 0.6141201853752136, 0.09820640087127686, 0.8694759011268616, -0.4714357256889343, 0.8685750365257263, 0.23438407480716705, -0.7769781947135925, 0.2940561771392822, -0.31546610593795776, 0.7214847803115845, 0.13188433647155762, 0.15705662965774536, -0.8940309882164001, -0.3635375201702118, -0.3968982398509979, -1.1369376182556152, 0.6822802424430847, 0.3139744699001312, 0.04687352851033211, 0.22079284489154816, 0.4663625955581665, -0.11119922250509262, 0.16043460369110107, -0.7154636383056641, -0.250413179397583, 0.11031448841094971, -0.2229018360376358, 0.44650593400001526, -0.4732707738876343, 0.08451762050390244, -0.23765259981155396, 0.5561947822570801, 0.08742924779653549, 0.516430675983429, -0.004444812890142202, -0.19790306687355042, -0.1334405392408371, 0.0502508170902729, 0.7305386066436768, 0.6148021221160889, -0.029652222990989685, 0.32119274139404297, -0.076348677277565, -0.8868241906166077, 0.006945191416889429, -0.4117506146430969, 0.08240870386362076, -0.3293616771697998, 0.04546787962317467, 0.7130547761917114, 0.18062303960323334, -0.4620460569858551, 0.5878076553344727, -0.4581396281719208, 0.0795905813574791, -0.32176393270492554, 0.23785844445228577, 0.25573158264160156, 0.4482450485229492, 0.39665746688842773, -0.08386673033237457, -0.05189081281423569, -0.09508325904607773, -0.018066998571157455, 0.4742247462272644, -0.30994856357574463, -0.38398921489715576, 0.25576385855674744, 0.4018135964870453, -0.23155243694782257, 0.8336852788925171, 0.2821635603904724, -0.34742462635040283, 0.5616172552108765, 0.37553274631500244, 0.8803650140762329, -0.6212135553359985, -0.2899305820465088, 0.47974398732185364, 0.22560010850429535, -0.20973075926303864, -0.11626481264829636, -0.7186657190322876, -0.46201369166374207, -0.7815263867378235, -0.6448523998260498, 0.03885290026664734, 0.6179800629615784, -0.5347883105278015, 0.4691310524940491, -0.33929771184921265, -0.015858108177781105, -0.05265483260154724, -0.16226495802402496, -0.582073450088501, -0.01654001884162426, 0.02261960506439209, 0.9066222906112671, -0.32331278920173645, 1.0878019332885742, 0.30605143308639526, 0.12339181452989578, -0.4093042314052582, 0.225763738155365, -0.11138857156038284, -0.6826296448707581, 0.8831707835197449, 0.30380672216415405, -0.3726976215839386, 0.13472144305706024, -0.6049809455871582, -1.2550965547561646, 1.1732959747314453, 0.254488080739975, -0.5019534826278687, -0.13202229142189026, 0.004944935906678438, 0.22777169942855835, -0.32359573245048523, 0.1137869581580162, 0.2500903010368347, 0.6058133840560913, 0.37472039461135864, -0.6945231556892395, 0.09420762211084366, -0.5058271884918213, -0.10944576561450958, 0.44985702633857727, -0.812090277671814, 0.5893697142601013, 0.047734588384628296, -0.4409022033214569, 0.00015594507567584515, 0.6951521635055542, -0.15981511771678925, -0.246048703789711, 0.43286025524139404, 0.6649401783943176, 0.6664779782295227, 0.12390066683292389, 1.16054105758667, -0.5110459923744202, 0.16720376908779144, 0.8643640279769897, 0.196294903755188, 0.6263420581817627, 0.6282433271408081, 0.06234860047698021, 0.6127171516418457, 0.663004457950592, 0.2506081759929657, 0.8003137707710266, 0.5208262801170349, -0.4466175436973572, -0.34693893790245056, 0.07609664648771286, -0.39022111892700195, 0.41683897376060486, 0.3377760946750641, -0.3745993375778198, 0.06082148477435112, -0.2431899905204773, -0.1306300163269043, -0.7823408842086792, -0.33510732650756836, 0.5162343978881836, -0.051523126661777496, -0.9756734371185303, 0.7902237176895142, 0.17907138168811798, 0.6607118844985962, -0.658111572265625, 0.05199459567666054, -0.004822181072086096, 0.344444215297699, -0.14418360590934753, -0.5466201305389404, -0.078008271753788, -0.0499899797141552, -0.5036115646362305, -0.33073925971984863, 0.8777304291725159, -0.3325708508491516, -0.09574784338474274, 0.10491469502449036, 0.018731385469436646, 0.12630580365657806, -0.15903252363204956, -0.40683484077453613, 0.1130753681063652, -0.07625418156385422, -0.7662240862846375, 0.4951495826244354, 0.27736544609069824, 0.0700167641043663, 1.0088690519332886, 0.6986638307571411, 0.31918245553970337, 0.39085009694099426, 0.0476689450442791, 1.12212336063385, -0.7002520561218262, -0.9458974003791809, -0.8865896463394165, 0.706932008266449, -0.2610093951225281, -0.03495541214942932, 0.644108772277832, 0.4708233177661896, 0.7018272280693054, -0.0138045409694314, 0.7259698510169983, 0.21129390597343445, -0.23224753141403198, -0.6437651515007019, 0.6728343963623047, -0.5017713308334351, 0.1512831747531891, -0.06720533221960068, -1.0152310132980347, -0.22938378155231476, 0.6408970355987549, 0.0362754762172699, 0.059428852051496506, 0.8491328954696655, 0.647869348526001, -0.3519916236400604, -0.11320815235376358, 0.16675232350826263, 0.5268535017967224, 0.41702619194984436, 0.684255063533783, 0.8590516448020935, -0.15104150772094727, 0.6853258013725281, -0.08449003100395203, -0.22472113370895386, -0.3804578185081482, -1.0722112655639648, -0.767925500869751, -0.5878852605819702, -0.22942091524600983, -0.5085482001304626, -0.01890283077955246, 0.4392729103565216, 1.019822597503662, -0.4082251787185669, -0.07626711577177048, -0.261808842420578, 0.05129246041178703, -0.045421842485666275, -0.2891148030757904, 0.4209519028663635, -0.28283682465553284, -0.760359525680542, 0.20897036790847778, 0.8203109502792358, -0.1686132401227951, -0.6066815257072449, -0.15941308438777924, 0.07268965989351273, 0.12858381867408752, 0.6272698640823364, -0.0676954984664917, -0.5787973999977112, -0.1365916132926941, 0.07261744141578674, -0.22967903316020966, 0.3968106210231781, 1.3764938116073608, -1.0613529682159424, 0.6192166209220886, 0.9910217523574829, 0.7413662672042847, 0.881497323513031, -0.07747015357017517, 0.5875742435455322, -0.916733980178833, 0.3938641846179962, 0.3441142737865448, 0.08621601015329361, 0.1792200803756714, -0.4746575653553009, 0.14970515668392181, 0.25085416436195374, -0.6497910022735596, -0.8275447487831116, 0.23289074003696442, -1.2616026401519775, -0.21378058195114136, 1.4426981210708618, 0.045616500079631805, -0.5836248397827148, -0.24667511880397797, 0.1394958198070526, 0.3554627001285553, -0.6332800984382629, 1.1622145175933838, 1.3298614025115967, -0.05610352009534836, -0.2906119227409363, -0.778849720954895, 0.6752893328666687, 0.3303087055683136, -0.517917275428772, 0.3010171949863434, 0.28699231147766113, 0.16882465779781342, 0.04314791038632393, 0.654828667640686, -0.015604428015649319, 0.3701741397380829, -0.2158128023147583, -0.006991816218942404, 0.02017129398882389, -0.5285726189613342, -0.29112231731414795, 0.32395005226135254, -0.4658183157444, -0.006458794232457876 ]
http://arxiv.org/abs/2406.02061v2
http://arxiv.org/pdf/2406.02061v2
Alice in Wonderland: Simple Tasks Showing Complete Reasoning Breakdown in State-Of-the-Art Large Language Models
2024-06-04T07:43:33
2024-06-05T23:23:54
Marianna Nezhurina, Lucia Cipolina-Kun, Mehdi Cherti, Jenia Jitsev
cs.LG
cs.LG, cs.AI, cs.CL
Large Language Models (LLMs) are often described as being instances of foundation models - that is, models that transfer strongly across various tasks and conditions in few-show or zero-shot manner, while exhibiting scaling laws that predict function improvement when increasing the pre-training scale. These claims of excelling in different functions and tasks rely on measurements taken across various sets of standardized benchmarks showing high scores for such models. We demonstrate here a dramatic breakdown of function and reasoning capabilities of state-of-the-art models trained at the largest available scales which claim strong function, using a simple, short, conventional common sense problem formulated in concise natural language, easily solvable by humans. The breakdown is dramatic, as models also express strong overconfidence in their wrong solutions, while providing often non-sensical "reasoning"-like explanations akin to confabulations to justify and backup the validity of their clearly failed responses, making them sound plausible. Various standard interventions in an attempt to get the right solution, like various type of enhanced prompting, or urging the models to reconsider the wrong solutions again by multi step re-evaluation, fail. We take these initial observations to the scientific and technological community to stimulate urgent re-assessment of the claimed capabilities of current generation of LLMs, Such re-assessment also requires common action to create standardized benchmarks that would allow proper detection of such basic reasoning deficits that obviously manage to remain undiscovered by current state-of-the-art evaluation procedures and benchmarks. Code for reproducing experiments in the paper and raw experiments data can be found at https://github.com/LAION-AI/AIW
[ -0.37725791335105896, -0.8027938604354858, 0.9617672562599182, -0.018151041120290756, 0.1298297941684723, -0.09865124523639679, -0.12196333706378937, -0.29442474246025085, -0.0985197052359581, 0.461884468793869, -0.5762786865234375, -0.09917383641004562, -0.6695646643638611, 0.17682452499866486, -0.7773102521896362, 0.5733818411827087, -0.12665852904319763, -0.17786449193954468, -0.8332521319389343, -0.15358254313468933, -0.49211177229881287, -0.34849557280540466, -0.5070470571517944, -0.7324846386909485, 0.19912035763263702, 0.35641130805015564, 0.6369645595550537, 0.4567422866821289, 0.4887205958366394, 0.2572953701019287, -0.24893155694007874, 0.07397332042455673, -0.5089308023452759, 0.0013517477782443166, -0.21726694703102112, -0.580079197883606, -0.2494075745344162, -0.002886720234528184, 0.5609930157661438, 0.9383251070976257, -0.09403875470161438, 0.04734228923916817, 0.20174217224121094, 0.49376246333122253, -0.7152430415153503, 0.26267918944358826, -0.5286794304847717, -0.15689797699451447, 0.11329801380634308, 0.17419938743114471, -0.44242697954177856, 0.018082333728671074, 0.042892035096883774, -0.5047206878662109, 0.011182738468050957, -0.04629425331950188, 0.7835199236869812, 0.3531869053840637, -0.6866263747215271, -0.36223217844963074, -0.6603204607963562, 1.0545722246170044, -0.5942890048027039, 0.2476547509431839, 0.2226846069097519, 0.18776465952396393, -0.1771491914987564, -0.7351585030555725, -0.5479380488395691, -0.6157347559928894, -0.05849509686231613, -0.16706430912017822, -0.5087531208992004, -0.2376255840063095, 0.5628666877746582, 0.25521939992904663, -0.35484960675239563, 0.13986511528491974, -0.19278335571289062, -0.0500994548201561, 0.6706799864768982, 0.36632663011550903, 0.17919692397117615, -0.04818274825811386, 0.04549223557114601, 0.2255709022283554, -0.782804548740387, 0.07518687099218369, -0.20421543717384338, 0.15683263540267944, -0.0017766434466466308, 0.5242626667022705, -0.4156091511249542, 0.5820199847221375, -0.11125285923480988, -0.28058546781539917, -0.05696982890367508, -0.20537003874778748, -0.31901639699935913, -0.23553550243377686, 0.79207444190979, 0.19943052530288696, 0.33304470777511597, -0.17659485340118408, -0.4336091876029968, 0.19464290142059326, 0.06971325725317001, -0.5102437734603882, -0.11623957008123398, 0.2282276600599289, -0.23158787190914154, -0.10716400295495987, -0.4330289959907532, -0.2665289342403412, -0.5986533164978027, -0.5007631778717041, 0.4879815876483917, -0.2954238951206207, -0.4104904234409332, 0.2550913989543915, 0.18198952078819275, 0.12198186665773392, 0.4882417619228363, -0.7458912134170532, 0.3696122467517853, 0.8262708783149719, 0.8123940229415894, -0.10643358528614044, -0.3013237714767456, -0.43430957198143005, -0.08559708297252655, -0.36482957005500793, 0.6764765381813049, -0.42482301592826843, -0.4225235879421234, 0.09589904546737671, 0.11175902187824249, 0.03145045414566994, -0.6990117430686951, 0.7000948786735535, -0.15947435796260834, -0.2122124582529068, -0.48787951469421387, -0.42630863189697266, -0.10633794218301773, 0.4991123378276825, -0.6657705903053284, 0.7104082703590393, -0.14069722592830658, -0.7115808725357056, 0.2691669166088104, -0.7309472560882568, -0.6503214836120605, -0.08270315825939178, -0.17205853760242462, -0.04247604310512543, 0.2525653839111328, 0.35000792145729065, 0.3639608323574066, -0.7790766358375549, 0.22186702489852905, -0.6205713748931885, -0.5241621136665344, 0.4273410737514496, -0.5432376265525818, 1.01667320728302, 0.13865962624549866, -0.36020371317863464, -0.0005976842949166894, -0.8728600144386292, 0.017422666773200035, 0.4099613130092621, -0.10301176458597183, -0.20127084851264954, 0.002975482027977705, -0.2310759723186493, 0.09472160786390305, 0.3613038659095764, -0.31305065751075745, 0.16147835552692413, -0.18255934119224548, 0.8266974091529846, 0.4684140980243683, -0.0880773589015007, 0.28282999992370605, -0.3947800397872925, 0.37121009826660156, -0.18406535685062408, 0.018497228622436523, -0.1356959491968155, -0.3958843946456909, -0.8128790855407715, -0.1337769329547882, 0.03844178840517998, 0.45308592915534973, -0.37639757990837097, 0.17392925918102264, -0.34613847732543945, -0.4948597252368927, -0.5049228072166443, 0.03844720497727394, 0.23777785897254944, 0.7189605832099915, 0.1343134194612503, -0.0991247147321701, -0.12735328078269958, -0.8697541356086731, -0.3724885582923889, -0.18622420728206635, -0.17390276491641998, 0.08349387347698212, 0.7886223793029785, -0.35251832008361816, 0.8346738219261169, -0.3314889371395111, -0.0459742434322834, -0.3298613131046295, 0.24570834636688232, 0.22713252902030945, 0.37316322326660156, 0.03841700404882431, -0.5420961380004883, 0.09605798870325089, -0.12593138217926025, -1.0646666288375854, 0.02082708664238453, -0.24699297547340393, 0.06901467591524124, 0.14545945823192596, 0.45310041308403015, -0.9515764117240906, 0.25058767199516296, 0.05355034023523331, -0.11031591147184372, 0.9738883972167969, -0.117538683116436, 0.31002140045166016, -0.5686936378479004, 0.11730148643255234, 0.11309542506933212, -0.06406895071268082, -0.35098332166671753, 0.42079928517341614, -0.06908996403217316, -0.07973936945199966, -0.30433133244514465, 0.4680674076080322, -0.4961478114128113, -0.1309918463230133, -0.21393489837646484, 0.3156943619251251, 0.09981471300125122, 0.20898036658763885, -0.07896847277879715, 0.46132341027259827, 0.8629595041275024, -0.3996780514717102, 0.5632405877113342, 0.05265916511416435, -0.3240754008293152, 0.6428831219673157, -0.7687711119651794, 0.1856241673231125, 0.06182747334241867, -0.07265052944421768, -0.9920642971992493, -0.4099619388580322, 0.03343085199594498, -0.3105795979499817, 0.1471739113330841, -0.04989056661725044, -0.7989925146102905, -0.2847716510295868, 0.02217577025294304, 0.11332400143146515, 0.6034973859786987, -0.49123233556747437, 0.6042083501815796, 0.318578839302063, 0.13181377947330475, -0.3839583098888397, -1.055506706237793, 0.16427595913410187, -0.17543573677539825, -0.8905105590820312, -0.17359763383865356, -0.03269271180033684, -0.7250838279724121, 0.057676658034324646, -0.2646356523036957, -0.15637622773647308, 0.31961676478385925, 0.2354162186384201, 0.012690505012869835, -0.24959050118923187, 0.1674751192331314, 0.0577557347714901, 0.09252799302339554, 0.5644214749336243, 0.10121443122625351, 0.36017999053001404, -0.5366591811180115, -0.6837171316146851, -0.4542093575000763, 0.340054452419281, 1.0088304281234741, -0.2715982496738434, 0.7101942896842957, 0.04077830910682678, -0.6327787637710571, -0.1738448143005371, -0.38008415699005127, -0.16645994782447815, -0.4142318367958069, 0.3597777783870697, -0.6504278779029846, -0.7491347193717957, 0.4114219546318054, -0.2664605975151062, 0.24697785079479218, 0.4548741281032562, 0.4254462718963623, -0.20485661923885345, 1.2997877597808838, 0.36115017533302307, 0.2081492841243744, -0.02232944779098034, -0.2898387908935547, 0.35690078139305115, -0.6399989724159241, -0.11874654144048691, -0.45317214727401733, -0.11801610887050629, -0.20963169634342194, -0.21941301226615906, 0.043979644775390625, 0.39366212487220764, -0.4941321313381195, -0.04900725930929184, -0.4513545632362366, 0.5422424077987671, 0.41179972887039185, -0.026030002161860466, 0.5897833108901978, -0.14934392273426056, 0.053950995206832886, 0.0493784099817276, -0.6165955662727356, -0.7151461839675903, 1.1785277128219604, 0.4526771008968353, 0.8772575259208679, -0.10610578209161758, 0.8451881408691406, 0.31951838731765747, 0.5122167468070984, -0.946389377117157, 0.7240816950798035, 0.0398993194103241, -0.5381501913070679, -0.3070380985736847, -0.44962313771247864, -0.7650189399719238, 0.07239393889904022, -0.12538285553455353, -0.7271046042442322, 0.02362174540758133, 0.1277271807193756, -0.31280624866485596, 0.11617857217788696, -0.734847366809845, 0.9643611311912537, -0.3242245614528656, -0.259514719247818, -0.3529965877532959, -0.29041776061058044, 0.8628658652305603, -0.040625013411045074, 0.36221596598625183, 0.03863301873207092, 0.0833301991224289, 0.7081913352012634, -0.4377017915248871, 0.7277172207832336, 0.06427457183599472, -0.10677648335695267, 0.32833436131477356, 0.2992192208766937, 0.565004289150238, 0.09111184626817703, 0.093408964574337, -0.044033899903297424, 0.21157385408878326, -0.5323280692100525, -0.7879188656806946, 0.8181542158126831, -0.7527849078178406, -0.8411999344825745, -0.5042368769645691, -0.5446915030479431, -0.3523704409599304, 0.18717852234840393, 0.1951281726360321, 0.5474299788475037, -0.0434790700674057, 0.1440521776676178, 0.6818478107452393, 0.19149743020534515, 0.20826801657676697, 0.4458773136138916, -0.3610045909881592, -0.0713522881269455, 0.6308670043945312, 0.15803910791873932, 0.3666224181652069, -0.13698041439056396, -0.03345293924212456, -0.29713132977485657, -0.7318153977394104, -0.07442386448383331, 0.40963155031204224, -1.172404408454895, 0.04571498930454254, -0.5013691782951355, -0.15703071653842926, -0.4609355032444, -0.24734169244766235, -0.29575011134147644, -0.1735278218984604, -0.3128497302532196, -0.033883240073919296, 0.00480563472956419, 0.9667653441429138, 0.07569420337677002, 0.149020254611969, -0.5896028280258179, 0.1957056075334549, 0.4362139403820038, 0.1206216812133789, 0.21187494695186615, -0.5656735897064209, -0.2126053124666214, 0.06538913398981094, -0.37036123871803284, -0.8357425928115845, 0.07218144834041595, -0.06043139845132828, 0.586316704750061, 0.3164755403995514, 0.04631597921252251, 0.568469226360321, -0.22025898098945618, 0.704866886138916, 0.46160945296287537, -1.078304409980774, 0.5092228055000305, -0.10829367488622665, 0.514535129070282, 0.35044407844543457, 0.33486077189445496, -0.46372362971305847, -0.40951117873191833, -0.609395444393158, -0.7243180274963379, 0.47991594672203064, -0.004972497932612896, -0.08019451797008514, -0.14717315137386322, 0.27766361832618713, -0.05257808789610863, -0.07904066890478134, -0.7975957989692688, -0.05797824263572693, 0.032343316823244095, 0.06584543734788895, 0.0627823993563652, -0.12723425030708313, -0.4534446597099304, -0.2585082948207855, 0.6493166089057922, -0.13508208096027374, 0.060588084161281586, 0.1700422614812851, -0.5173617005348206, -0.129130020737648, 0.3995805084705353, 0.3866646885871887, 1.0546998977661133, -0.02654206193983555, 0.13555806875228882, 0.162988543510437, -0.07246457785367966, 0.1852225363254547, 0.1064751148223877, -0.18171989917755127, -0.2591022253036499, 0.8245769739151001, 0.7385139465332031, 0.23879756033420563, -0.914395809173584, 0.3566295802593231, -0.10221143066883087, -0.18855862319469452, -0.4359360933303833, 0.10613729804754257, 0.4219699800014496, 0.3261566162109375, 0.4419112801551819, 0.23393721878528595, 0.15188880264759064, -0.8648055791854858, 0.43154335021972656, 0.43333539366722107, -0.2635243535041809, -0.14138901233673096, 0.5971866846084595, 0.14855799078941345, -0.4703361988067627, 0.6838265061378479, -0.48382052779197693, -0.21585898101329803, 0.5602289438247681, 0.5960838198661804, 0.7573818564414978, 0.2382611781358719, 0.14192329347133636, 0.2622707486152649, 0.6267379522323608, -0.45837318897247314, 0.14841356873512268, 0.18457847833633423, -0.6596764326095581, -0.717204213142395, -0.5241976380348206, -0.3105020821094513, 0.4047585427761078, -0.6848631501197815, 0.1931089460849762, -0.5981634259223938, -0.004178676754236221, -0.19499753415584564, 0.01493367925286293, -0.6932231187820435, 0.2473762482404709, 0.3265192210674286, 1.0094901323318481, -0.9818827509880066, 0.6329770088195801, 0.6051351428031921, -0.5734591484069824, -0.7027272582054138, 0.3272576630115509, 0.102874755859375, -0.7139418125152588, 0.7122069597244263, 0.3413219749927521, -0.05215898156166077, -0.11767887324094772, -0.7106013298034668, -0.8764101266860962, 0.9531299471855164, 0.709044337272644, -0.8598710894584656, -0.13898949325084686, 0.1677129566669464, 0.4815206229686737, -0.4681560695171356, 0.3597719371318817, 1.1015270948410034, 0.463714599609375, 0.16639523208141327, -1.017059326171875, 0.3951636552810669, -0.05446598678827286, -0.3392595946788788, 0.11761535704135895, -0.4279104769229889, 0.8628389239311218, -0.342835009098053, -0.2060079127550125, 0.12227341532707214, 0.5937426090240479, 0.5525106191635132, 0.4331304728984833, 0.6037973165512085, 0.8516659736633301, 0.8254212141036987, -0.36628052592277527, 1.190778374671936, 0.03734773024916649, 0.3824826180934906, 0.8184479475021362, -0.2989639341831207, 0.8692924380302429, 0.399033784866333, -0.29534387588500977, 0.2594412863254547, 0.5346270203590393, 0.12747834622859955, 0.30399248003959656, 0.40830138325691223, -0.20627440512180328, -0.6380152702331543, -0.06406456232070923, -0.03984546661376953, 0.26938286423683167, 0.3190438747406006, 0.045496806502342224, -0.2851219177246094, 0.151079460978508, 0.09160973876714706, 0.07294911891222, -0.5149821639060974, 0.3554963171482086, 0.34245356917381287, -0.8311432003974915, 1.0081756114959717, -0.3393661379814148, 0.6003423929214478, -0.36199653148651123, -0.030583005398511887, -0.21919065713882446, 0.15998272597789764, -0.23019005358219147, -0.9000545740127563, 0.22529840469360352, 0.0510997548699379, -0.015446322970092297, -0.11497597396373749, 0.58261638879776, -0.16980557143688202, -0.5812811255455017, 0.4753201901912689, 0.3644668757915497, 0.3574548065662384, -0.19967298209667206, -0.8915662169456482, 0.3306996524333954, -0.051402464509010315, -0.19504854083061218, 0.2339526265859604, 0.5247505307197571, -0.04657537117600441, 0.9214275479316711, 0.3193853199481964, 0.07336509972810745, -0.054737258702516556, 0.06220479682087898, 0.6043107509613037, -0.6310124397277832, -0.2322312891483307, -0.7478334903717041, 0.6853524446487427, -0.13146555423736572, -0.27139395475387573, 0.48807787895202637, 0.3122694492340088, 0.6067104935646057, 0.20244204998016357, 0.8895984888076782, -0.07713908702135086, 0.37840375304222107, -0.4104622006416321, 0.6702456474304199, -0.9170055985450745, 0.4726846218109131, -0.013024757616221905, -0.6977958679199219, -0.18124237656593323, 0.3616830110549927, -0.4770696759223938, -0.08385517448186874, 0.8665565252304077, 0.5334762930870056, -0.03914365917444229, -0.02829919196665287, 0.44959089159965515, 0.4484753906726837, 0.4242829978466034, 0.7764765620231628, 0.961631178855896, -0.1315983533859253, 0.6692967414855957, -0.18963681161403656, -0.4988901615142822, -0.20260576903820038, -0.6623845100402832, -0.8283750414848328, -0.5441032648086548, -0.523831844329834, -0.3463592529296875, -0.02283533848822117, 0.6432836651802063, 0.37172698974609375, -0.7215259671211243, -0.22860252857208252, -0.21620088815689087, 0.20778720080852509, -0.2480110079050064, -0.21004760265350342, 0.16233794391155243, -0.48447439074516296, -0.5713331699371338, 0.4333564043045044, 0.2043040692806244, -0.2840385138988495, -0.4612218141555786, -0.11092281341552734, -0.11595505475997925, 0.15161578357219696, 0.4748806059360504, 0.3189683258533478, -1.056363821029663, -0.3616160452365875, -0.07950247824192047, -0.09440469741821289, -0.04053211212158203, 0.6138659715652466, -0.6991926431655884, 0.22344647347927094, 0.4578740894794464, 0.6982114911079407, 0.3719625174999237, -0.4339216947555542, 0.5143086910247803, -0.25181281566619873, -0.2616626024246216, 0.3934856057167053, 0.7318267226219177, 0.43186354637145996, -0.1665470451116562, 0.3554469048976898, 0.4007372558116913, -0.5702318549156189, -1.3215726613998413, 0.3407655656337738, -0.736651599407196, -0.4603673219680786, 0.9163708686828613, -0.20828714966773987, -0.37645307183265686, 0.05628920719027519, 0.0010555697372183204, 0.15755310654640198, -0.22886601090431213, 0.8152315020561218, 1.0595511198043823, -0.31472134590148926, -0.32213330268859863, -0.4800989627838135, 0.2561438977718353, 0.6544755697250366, -0.6895909905433655, 0.29083237051963806, 0.5428497791290283, 0.3455169200897217, 0.45456433296203613, 0.48365941643714905, 0.02494802698493004, 0.3401241898536682, 0.12622061371803284, -0.17068159580230713, -0.03077748790383339, -0.2772693336009979, -0.5411813855171204, 0.3111133575439453, 0.3159903883934021, 0.1088029071688652 ]
http://arxiv.org/abs/2406.02060v1
http://arxiv.org/pdf/2406.02060v1
I've got the "Answer"! Interpretation of LLMs Hidden States in Question Answering
2024-06-04T07:43:12
2024-06-04T07:43:12
Valeriya Goloviznina, Evgeny Kotelnikov
cs.CL
cs.CL, cs.AI
Interpretability and explainability of AI are becoming increasingly important in light of the rapid development of large language models (LLMs). This paper investigates the interpretation of LLMs in the context of the knowledge-based question answering. The main hypothesis of the study is that correct and incorrect model behavior can be distinguished at the level of hidden states. The quantized models LLaMA-2-7B-Chat, Mistral-7B, Vicuna-7B and the MuSeRC question-answering dataset are used to test this hypothesis. The results of the analysis support the proposed hypothesis. We also identify the layers which have a negative effect on the model's behavior. As a prospect of practical application of the hypothesis, we propose to train such "weak" layers additionally in order to improve the quality of the task solution.
[ -0.1334100067615509, -1.0607666969299316, 1.0490612983703613, -0.022481804713606834, -0.2394440770149231, 0.02451830729842186, 0.11437688767910004, -0.38028484582901, 0.05552905797958374, 0.6842734813690186, -0.6115736365318298, -0.33926263451576233, -0.5417495965957642, -0.006770424544811249, -0.64528489112854, 0.8289198279380798, -0.07008200138807297, 0.142270028591156, -0.5519382953643799, 0.07097775489091873, -0.547319233417511, -0.40187761187553406, -0.5813285112380981, -0.3171626627445221, 0.5795510411262512, 0.2582276463508606, 0.7941702008247375, 0.8487703800201416, 0.44619840383529663, 0.313333123922348, -0.34720340371131897, -0.2877708077430725, -0.32437536120414734, 0.15032052993774414, -0.06763172894716263, -1.408915638923645, -0.43841642141342163, -0.028537428006529808, 0.4858611524105072, 0.626879096031189, -0.15515032410621643, 0.3312787711620331, -0.03541656211018562, 0.29184412956237793, -0.3777605891227722, 0.17184986174106598, -0.5743991136550903, -0.15023693442344666, -0.03514295816421509, -0.2109132707118988, -0.21142204105854034, -0.2273937165737152, 0.10318763554096222, -0.5658814311027527, 0.23841819167137146, 0.03165099024772644, 0.8036765456199646, 0.5572376251220703, -0.5768303275108337, -0.334783136844635, -0.749970555305481, 0.7539181113243103, -0.87991863489151, 0.08612967282533646, 0.49699223041534424, 0.5394667387008667, 0.07816638797521591, -0.506926953792572, -0.8177244067192078, -0.17647242546081543, -0.19517245888710022, 0.23780865967273712, -0.2886846959590912, 0.053907111287117004, 0.3553520441055298, 0.591074526309967, -0.4819587171077728, 0.16356685757637024, -0.3899812400341034, -0.22320231795310974, 0.42478787899017334, 0.24944739043712616, 0.41260430216789246, -0.22656334936618805, -0.4000074863433838, 0.40274038910865784, -0.6915550231933594, 0.265388548374176, 0.22437168657779694, 0.057343218475580215, -0.1759490966796875, 0.6823437213897705, -0.2924663722515106, 0.5616872310638428, -0.13684172928333282, -0.10507384687662125, -0.05574817955493927, -0.13424165546894073, -0.3579745590686798, -0.3125994801521301, 0.30785906314849854, 0.014282746240496635, 0.13673196732997894, -0.23812900483608246, -0.255001425743103, 0.05582601949572563, 0.0483807809650898, -0.5814206004142761, 0.07867829501628876, 0.3716507852077484, -0.3809584379196167, -0.4929957389831543, -0.18484988808631897, -0.1519552618265152, -0.5573603510856628, -0.22696484625339508, 0.6470525860786438, -0.15963448584079742, -0.5666386485099792, 0.028169715777039528, -0.18646560609340668, 0.34755054116249084, 0.4341975748538971, -0.5640490055084229, 0.4740029275417328, 0.7356482148170471, 0.41053083539009094, -0.13813744485378265, -0.1898312270641327, -0.3340887427330017, 0.17787064611911774, -0.4490070343017578, 0.8019038438796997, -0.5725024938583374, -0.09947259724140167, -0.19422279298305511, 0.10237319767475128, -0.18200036883354187, -0.6540889143943787, 0.4263063073158264, -0.8257847428321838, 0.2924030125141144, -0.5510722398757935, -0.6781517863273621, -0.4178542196750641, 0.4067114293575287, -0.6256595253944397, 0.7668708562850952, -0.03955033794045448, -0.6462591290473938, 0.0056060138158500195, -0.6688788533210754, -0.09031704813241959, 0.11184176802635193, -0.04717173054814339, 0.1519985944032669, 0.32329967617988586, 0.26890966296195984, 0.3579018712043762, -0.35587379336357117, 0.12413223087787628, -0.3040021061897278, -0.5101609230041504, 0.9902552366256714, -0.6501339673995972, 0.7272821664810181, 0.21096287667751312, -0.38826629519462585, -0.12827067077159882, -0.6661942005157471, 0.0873909592628479, 0.13910342752933502, -0.386701375246048, -0.18934550881385803, 0.18807244300842285, -0.7000424861907959, 0.24179083108901978, 0.4282139241695404, -0.5579720139503479, -0.14065679907798767, -0.3492828607559204, 0.4313829839229584, 0.8066022992134094, 0.2620621621608734, 0.5013946294784546, -0.2644239068031311, 0.9233978986740112, 0.33636850118637085, 0.1438271701335907, 0.06611692905426025, -0.42067620158195496, -0.9753479361534119, -0.05839287489652634, 0.1335000842809677, 0.6846793293952942, -0.8916569352149963, -0.14520762860774994, -0.056841734796762466, -0.2877614200115204, -0.8868027329444885, -0.015602459199726582, 0.433655321598053, 0.6242660880088806, 0.18429474532604218, 0.21823574602603912, -0.1309320032596588, -1.1045554876327515, -0.3073407709598541, -0.26281434297561646, -0.04154082015156746, 0.3334181606769562, 0.5388882160186768, -0.035659309476614, 0.6913118362426758, -0.4868868887424469, 0.24279072880744934, -0.20220188796520233, -0.10745082050561905, 0.3873755633831024, 0.17175406217575073, 0.15256360173225403, -0.8124803304672241, 0.01433075126260519, -0.2967297434806824, -0.8921647667884827, 0.0328524224460125, 0.05106104537844658, -0.12250703573226929, -0.061456963419914246, 0.48777031898498535, -0.709418773651123, 0.3993940055370331, 0.3890918493270874, -0.3370448052883148, 0.3891277015209198, -0.020364344120025635, 0.03478967025876045, -0.8906521201133728, -0.1985369175672531, -0.14398571848869324, -0.16574232280254364, -0.7510858774185181, 0.1741025745868683, -0.05275148153305054, -0.171550452709198, -0.49526911973953247, 0.4948241114616394, -0.2764371633529663, -0.24645240604877472, -0.3413700461387634, 0.3411974310874939, 0.23431777954101562, 0.593498945236206, -0.1186951994895935, 0.7213116884231567, 0.6546154618263245, -0.6231572031974792, 0.48649874329566956, 0.11823564022779465, -0.4352857768535614, 0.3657476007938385, -0.8648654222488403, 0.24347160756587982, -0.34272500872612, -0.015187020413577557, -1.0514370203018188, -0.10717450827360153, 0.3116804361343384, -0.5657716989517212, -0.05968300998210907, -0.11282708495855331, -0.4958961308002472, -0.296196848154068, 0.015395447611808777, 0.2010551393032074, 0.3434406816959381, -0.3128204643726349, 0.3419036865234375, 0.30024078488349915, -0.13332556188106537, -0.7477414011955261, -0.8155787587165833, -0.10173049569129944, -0.36192962527275085, -0.41504278779029846, -0.12958309054374695, -0.2770080864429474, -0.5891392827033997, 0.2512037456035614, -0.28565889596939087, -0.23923738300800323, 0.6810778975486755, 0.3343885838985443, 0.20448826253414154, -0.5197691321372986, 0.32494083046913147, 0.1661609411239624, -0.09062690287828445, 0.4178324043750763, -0.1043766513466835, 0.40676015615463257, -0.33872705698013306, -0.35687804222106934, -0.5846914649009705, 0.178266242146492, 0.614011287689209, -0.3069010376930237, 0.833118736743927, 0.21708206832408905, -0.337759792804718, -0.07550714164972305, -0.1550406515598297, -0.20824505388736725, -0.47648417949676514, 0.3591519594192505, -0.5208615660667419, -0.9359336495399475, 0.7436309456825256, 0.18026384711265564, -0.2815614938735962, 0.4821006953716278, 0.48137807846069336, -0.5449622273445129, 1.2978824377059937, 0.4992556869983673, -0.03558754548430443, 0.077940933406353, -0.13019408285617828, 0.04431678354740143, -0.7123931646347046, -0.333620548248291, -0.435313880443573, -0.27475741505622864, -0.6175995469093323, -0.24510496854782104, 0.30212724208831787, 0.3386584222316742, -0.3215574622154236, -0.05335906147956848, -0.17179730534553528, 0.5372660756111145, 0.48385700583457947, 0.29442834854125977, 0.2601136863231659, -0.3303956091403961, 0.085539810359478, 0.22340627014636993, -0.5479353666305542, -0.6063129901885986, 0.8297998905181885, 0.6540249586105347, 0.7490939497947693, 0.4053972661495209, 0.44771912693977356, 0.15966254472732544, 0.16705285012722015, -0.8234661817550659, 0.7336937189102173, 0.2245834618806839, -0.9498358368873596, -0.482921838760376, -0.42820292711257935, -0.6707938313484192, 0.30487966537475586, -0.264434814453125, -0.7127408981323242, -0.1033220887184143, 0.11589335650205612, -0.25253522396087646, 0.22348663210868835, -0.6693940758705139, 0.8077453970909119, -0.39265936613082886, 0.1583329737186432, -0.283762127161026, -0.49964457750320435, 0.49069154262542725, 0.22033920884132385, 0.16498063504695892, -0.28779131174087524, -0.13217712938785553, 0.7940747737884521, -0.21329917013645172, 0.9530087113380432, -0.40319451689720154, -0.3703972399234772, 0.47648677229881287, 0.08623988926410675, 0.4106202721595764, 0.057116877287626266, -0.2391377091407776, 0.024287614971399307, 0.31718042492866516, -0.538743793964386, -1.0326427221298218, 0.39998719096183777, -0.8804108500480652, -1.058366298675537, -0.20912057161331177, -0.7286109328269958, -0.20103242993354797, 0.13464652001857758, 0.11744103580713272, 0.6072919368743896, 0.233774334192276, 0.03467085584998131, 0.9051831960678101, -0.38459983468055725, 0.14094220101833344, 0.7291277647018433, -0.3673449158668518, 0.17450843751430511, 0.9139898419380188, 0.026348063722252846, 0.36697372794151306, 0.6421440839767456, 0.29108279943466187, -0.27754560112953186, -0.8409281969070435, -0.3094249963760376, 0.37439826130867004, -0.8879971504211426, 0.04552165046334267, -0.2668871283531189, -0.3595806360244751, -0.17031316459178925, 0.4204249978065491, 0.10976254940032959, -0.5567227602005005, -0.49625125527381897, -0.37680909037590027, 0.09183527529239655, 0.8834899663925171, 0.360584020614624, 0.45048925280570984, -0.5221160054206848, 0.34413397312164307, 0.4927392601966858, 0.12827476859092712, -0.10859394073486328, -0.7217095494270325, -0.32274916768074036, 0.2305644452571869, 0.08236309885978699, -1.0552514791488647, -0.031218983232975006, 0.060657333582639694, 0.7893549203872681, 0.40588897466659546, 0.05089770630002022, 0.3227081000804901, -0.09886559844017029, 0.7327108383178711, -0.1881197839975357, -0.936774730682373, 0.6394892930984497, -0.3150624930858612, 0.2923390567302704, 0.18530863523483276, 0.3258223235607147, -0.5228080153465271, -0.8472184538841248, -0.7377431988716125, -0.3320906162261963, 0.5179939866065979, 0.027881335467100143, 0.2948245704174042, 0.10295912623405457, 0.6807596683502197, 0.20969772338867188, 0.43968623876571655, -0.8387477993965149, -0.3788544237613678, 0.07870921492576599, -0.09627711772918701, 0.0677332654595375, -0.5403416156768799, -0.18511784076690674, 0.11466250568628311, 0.4711948037147522, -0.0678848922252655, 0.656836748123169, -0.10785607248544693, -0.35363253951072693, -0.15613093972206116, 0.48763129115104675, 0.5780258774757385, 1.0585116147994995, -0.21837502717971802, 0.49788135290145874, 0.233393594622612, -0.25351405143737793, -0.06899241358041763, -0.18419480323791504, -0.3375071585178375, -0.28151190280914307, 0.630448579788208, 0.9503577351570129, -0.15564288198947906, -0.4672203063964844, 0.5301735401153564, -0.03507509455084801, -0.018779827281832695, -0.2959873080253601, 0.5288549661636353, 0.1508677452802658, 0.551645040512085, 0.5102543234825134, 0.09486403316259384, 0.09453810006380081, -0.7241060137748718, -0.033061109483242035, 0.4334670901298523, -0.6706040501594543, -0.5711120367050171, 0.6058376431465149, 0.09393692016601562, -0.1645060032606125, 0.5186004638671875, -0.18761691451072693, -0.7230730056762695, 0.8627842664718628, 0.559760332107544, 0.3798224627971649, -0.01069067046046257, 0.44601619243621826, -0.045078009366989136, 0.42064160108566284, 0.4476640224456787, 0.5804688334465027, -0.02108813263475895, -0.9264541268348694, -0.6451475024223328, -0.4717942476272583, -0.39757055044174194, 0.40116554498672485, -1.1147706508636475, -0.18459588289260864, -0.20900602638721466, 0.17111918330192566, 0.022459333762526512, 0.030553899705410004, -0.5148762464523315, 0.5201062560081482, 0.2593551278114319, 0.8330785036087036, -0.9076724052429199, 0.9228143692016602, 0.5694364905357361, -0.27808499336242676, -0.8557413220405579, 0.18268398940563202, -0.03571873903274536, -1.3309295177459717, 0.7119002938270569, -0.16319216787815094, -0.01572919450700283, 0.12689417600631714, -0.8949823379516602, -0.9921883940696716, 1.084108829498291, 0.4733637571334839, -0.12231997400522232, -0.029159385710954666, 0.33576780557632446, 0.6911076307296753, -0.06735090166330338, 0.2475569248199463, 0.631829023361206, 0.2748141288757324, -0.016099713742733, -0.5666771531105042, 0.08074947446584702, -0.24135279655456543, -0.2187526524066925, 0.025845780968666077, -0.440497487783432, 0.8859151601791382, -0.2952321767807007, -0.4153490662574768, 0.1580001413822174, 0.8521205186843872, 0.09637600183486938, 0.2905648946762085, 0.4888215661048889, 0.33727124333381653, 0.9575127363204956, -0.0678015798330307, 1.1664693355560303, -0.05634654313325882, 0.14475102722644806, 0.8030176162719727, 0.15609805285930634, 0.856206476688385, 0.34264901280403137, -0.18119633197784424, 0.5923125743865967, 0.7051665186882019, 0.15901093184947968, 0.5780794024467468, 0.3248544931411743, -0.1487606316804886, -0.2872256338596344, -0.10074982047080994, -0.17283068597316742, 0.47328391671180725, 0.42893072962760925, 0.029336195439100266, -0.07140114158391953, 0.10158555954694748, 0.07977187633514404, -0.10337772965431213, -0.5981190204620361, 0.5281848907470703, 0.1746179759502411, -0.4550167918205261, 0.5054302215576172, -0.03859098255634308, 0.340709388256073, -0.24576541781425476, 0.010011009871959686, -0.38409626483917236, -0.03844236209988594, -0.21265602111816406, -1.0282002687454224, 0.01238975115120411, 0.07943473011255264, -0.30251213908195496, -0.038662657141685486, 0.7359475493431091, -0.365914523601532, -0.5049555897712708, 0.07153749465942383, 0.9505608677864075, 0.4132652282714844, -0.19922631978988647, -0.8233324289321899, -0.3245125710964203, -0.059984855353832245, -0.19797590374946594, 0.11457724124193192, 0.5627056360244751, -0.12100084125995636, 0.9423938393592834, 0.3091419041156769, 0.05962079018354416, 0.1795962154865265, -0.11478325724601746, 0.6988843679428101, -0.6041930317878723, -0.32621848583221436, -0.6707746982574463, 0.454144686460495, 0.258930504322052, -0.15938019752502441, 0.7716278433799744, 0.31204384565353394, 0.4711115062236786, 0.1617548167705536, 0.8807613253593445, 0.10778064280748367, 0.89981609582901, -0.6795219779014587, 0.748127818107605, -0.5559184551239014, 0.5839318633079529, 0.002454888541251421, -0.7504176497459412, 0.1111387088894844, 0.20781292021274567, -0.6663448810577393, -0.12276700884103775, 0.7269867658615112, 0.7010502219200134, 0.16428260505199432, -0.02016964741051197, 0.48189160227775574, 0.5514412522315979, 0.10511289536952972, 0.4590783715248108, 1.5768369436264038, -0.30323514342308044, 0.6113752126693726, -0.2611066401004791, -0.07688572257757187, -0.022751668468117714, -0.49035003781318665, -0.7175121903419495, -0.605545163154602, -0.2843848168849945, -0.36697372794151306, -0.2170085459947586, 0.0740576907992363, 0.28238654136657715, -0.7176275253295898, -0.13379937410354614, 0.1704747974872589, 0.3663865625858307, -0.2378034144639969, -0.2150821089744568, 0.425200492143631, -0.06859562546014786, -0.5340523719787598, 0.5451655387878418, 0.014813032932579517, 0.12503084540367126, -0.11952602863311768, -0.03963795304298401, 0.041157759726047516, 0.15677647292613983, 0.3374185562133789, 0.09733210504055023, -0.8158616423606873, -0.5150721669197083, 0.45417097210884094, -0.16259147226810455, -0.024139439687132835, 0.5797913670539856, -0.5543344616889954, 0.19450461864471436, 0.16571751236915588, 0.35431745648384094, 0.5807492136955261, 0.11335375159978867, 0.42265141010284424, -0.5024195313453674, -0.029138995334506035, 0.29310342669487, 0.1279638707637787, 0.11716154962778091, -0.359803169965744, 0.18059971928596497, 0.056457169353961945, -0.35043299198150635, -0.849149763584137, 0.41533124446868896, -0.8873997926712036, -0.500912606716156, 1.1560916900634766, -0.25580623745918274, -0.3421787917613983, -0.07268846780061722, 0.026456797495484352, 0.3124009668827057, 0.07555687427520752, 0.5563477873802185, 0.6488784551620483, -0.22139528393745422, -0.5042762160301208, -0.9146090745925903, 0.2685576379299164, 0.4284079670906067, -0.9615821838378906, -0.18405258655548096, 0.3168068826198578, 0.3715437650680542, 0.05936621502041817, 0.41590946912765503, 0.07365717738866806, 0.2510968744754791, -0.0953259989619255, -0.2053498476743698, -0.09088067710399628, -0.16911287605762482, -0.5203717350959778, 0.013041023164987564, 0.4535798132419586, -0.4187575876712799 ]
http://arxiv.org/abs/2406.02050v2
http://arxiv.org/pdf/2406.02050v2
Analyzing Social Biases in Japanese Large Language Models
2024-06-04T07:31:06
2024-06-05T07:56:11
Hitomi Yanaka, Namgi Han, Ryoma Kumon, Jie Lu, Masashi Takeshita, Ryo Sekizawa, Taisei Kato, Hiromi Arai
cs.CL
cs.CL
With the development of Large Language Models (LLMs), social biases in the LLMs have become a crucial issue. While various benchmarks for social biases have been provided across languages, the extent to which Japanese LLMs exhibit social biases has not been fully investigated. In this study, we construct the Japanese Bias Benchmark dataset for Question Answering (JBBQ) based on the English bias benchmark BBQ, and analyze social biases in Japanese LLMs. The results show that while current Japanese LLMs improve their accuracies on JBBQ by instruction-tuning, their bias scores become larger. In addition, augmenting their prompts with warning about social biases reduces the effect of biases in some models.
[ -0.5602956414222717, -1.0686419010162354, 0.7803543210029602, 0.043367691338062286, -0.14027969539165497, 0.15369397401809692, -0.3648854196071625, -0.456901878118515, 0.22339756786823273, 0.7284675240516663, -0.7668970227241516, -0.4846779704093933, -0.7187613844871521, 0.05408948287367821, 0.1703900247812271, 0.85206538438797, -0.10898516327142715, 0.35922783613204956, -0.34380924701690674, -0.2615007162094116, -0.5466113686561584, -0.3100397288799286, -0.789807915687561, -0.3950960636138916, 0.5078762769699097, 0.37623053789138794, 0.8987480401992798, 0.36543935537338257, 0.30301716923713684, 0.22039835155010223, -0.2456160932779312, -0.023961739614605904, -0.5752451419830322, 0.3283633589744568, -0.2025749385356903, -0.990966260433197, -0.07599351555109024, -0.13026796281337738, 0.8650339245796204, 1.0207878351211548, 0.3328525125980377, 0.6301021575927734, -0.08032975345849991, 0.7815317511558533, -0.6685032844543457, 0.4256584346294403, -0.5361846089363098, -0.07875634729862213, -0.4166528284549713, -0.08683034777641296, -0.46126219630241394, -0.6746207475662231, -0.07005532085895538, -0.34103256464004517, 0.16982722282409668, 0.13607366383075714, 0.5977128148078918, 0.14888885617256165, -0.3169420063495636, 0.05799325555562973, -0.19897398352622986, 0.7414454817771912, -0.7762448191642761, 0.2648676037788391, 0.3535277843475342, 0.41414880752563477, -0.2447027713060379, 0.0016109357820823789, -0.29088714718818665, 0.04942799732089043, 0.06648604571819305, 0.015209733508527279, 0.38358455896377563, -0.07483811676502228, 0.6754948496818542, -0.059583015739917755, -0.3849426805973053, 0.14022618532180786, -0.3091541826725006, -0.023841004818677902, 0.8236132860183716, 0.34371432662010193, 0.4089978039264679, -0.5599010586738586, 0.12482023984193802, -0.12243949621915817, -0.9818148016929626, 0.19285628199577332, 0.5347912907600403, 0.1802012324333191, -0.02687348611652851, 0.5780825018882751, -0.37389707565307617, 0.3260955810546875, -0.06894414871931076, -0.11687754094600677, 0.14082710444927216, -0.12522168457508087, 0.07676712423563004, 0.1457805335521698, 0.7577724456787109, 0.8743812441825867, 0.7492622137069702, -0.014920664951205254, 0.2570861279964447, -0.03467216715216637, -0.05959533154964447, -0.7106752991676331, 0.3241656720638275, 0.11082925647497177, -0.5551072359085083, -0.22981557250022888, -0.1466701179742813, -0.8590641021728516, -0.6339995861053467, 0.08186332881450653, 0.14126624166965485, 0.00937720201909542, -0.29005464911460876, 0.05939590558409691, -0.47459617257118225, 0.47239768505096436, 0.21676664054393768, -0.6957787871360779, 0.21967214345932007, 0.6402024626731873, 0.4886525273323059, 0.11341088265180588, -0.0680910125374794, -0.22184069454669952, 0.2937474846839905, -0.5249760150909424, 0.6045626997947693, -0.855546236038208, -0.6083624958992004, 0.11047659069299698, 0.33066362142562866, 0.19539056718349457, -0.4693449139595032, 0.3324079215526581, -0.5807739496231079, 0.3766404986381531, -0.9801281690597534, -0.5475772023200989, 0.03388132154941559, 0.10791642963886261, -0.3769400417804718, 0.8742945194244385, -0.025700893253087997, -0.9043319821357727, 0.30265235900878906, -0.4098217189311981, -0.3712176978588104, 0.09952566027641296, -0.2996346056461334, -0.3118683099746704, 0.03423473611474037, 0.5801824331283569, 0.6194548010826111, -0.5111996531486511, 0.47609350085258484, -0.9367716908454895, -0.6862133741378784, 0.6019283533096313, -0.48488444089889526, 1.0565052032470703, -0.1617991030216217, -0.38215455412864685, -0.3705727756023407, -0.4418189525604248, -0.01567479968070984, 0.3581869304180145, -0.11587885767221451, -0.8122251629829407, -0.04054442048072815, -0.43434691429138184, -0.06699850410223007, 0.33017072081565857, -0.556666374206543, 0.08221583813428879, -0.2806970179080963, 0.18811820447444916, 1.053418517112732, 0.28049346804618835, 0.3468780517578125, -0.347013384103775, 0.7409682869911194, -0.19552893936634064, 0.19560553133487701, -0.16225852072238922, -0.598241925239563, -0.65743488073349, 0.1939496099948883, 0.14534157514572144, 0.30861493945121765, -0.762471616268158, 0.1412850022315979, -0.3063385486602783, -0.3643574118614197, -0.7944401502609253, 0.061447203159332275, 0.5432223081588745, 0.2270677536725998, 0.028184592723846436, -0.12292724847793579, -0.23398156464099884, -1.1566424369812012, -0.6668879389762878, -0.07385209202766418, -0.0828261598944664, 0.6041819453239441, 0.17929507791996002, -0.07011055201292038, 0.5220479965209961, -0.47464972734451294, 0.3042600750923157, -0.19697001576423645, -0.23472854495048523, 0.2730106711387634, 0.02050071582198143, 0.36407923698425293, -0.45690828561782837, -0.7450307607650757, -0.30392569303512573, -0.5860673785209656, -0.5889875888824463, 0.17844530940055847, -0.37179407477378845, 0.011122155003249645, 0.5826412439346313, -0.5487561225891113, 0.14411413669586182, 0.27565714716911316, -0.3003224730491638, 0.46770837903022766, 0.44377151131629944, 0.33829471468925476, -1.2939263582229614, -0.18626290559768677, 0.4083288908004761, -0.2636646330356598, -0.28930985927581787, 0.11181353032588959, 0.16516192257404327, 0.14656659960746765, -0.23372556269168854, 0.6736178398132324, -0.5952755212783813, -0.5436299443244934, -0.10845853388309479, 0.41760924458503723, 0.24628619849681854, 0.2590770721435547, -0.03234854340553284, 0.7182364463806152, 0.36534133553504944, -0.4162504971027374, 0.25815868377685547, 0.06155720353126526, -0.6029367446899414, 0.46493545174598694, -0.8084608316421509, 0.17866933345794678, -0.559733510017395, 0.22911956906318665, -1.2224364280700684, -0.32085639238357544, 0.1895729899406433, -0.5243241786956787, 0.32380884885787964, -0.3584171235561371, -0.437287837266922, -0.5277164578437805, -0.4819432497024536, 0.034953463822603226, 0.6414963006973267, -0.32847070693969727, 0.16432514786720276, 0.6343644261360168, -0.536348283290863, -0.7377586364746094, -0.5600005388259888, -0.5070297718048096, -0.25407272577285767, -0.4995257556438446, -0.01187000423669815, -0.03623016178607941, -0.44584956765174866, -0.015316382050514221, -0.08561035245656967, 0.20262564718723297, 0.08911699056625366, 0.16876599192619324, 0.5442709922790527, -0.2455029934644699, -0.10012687742710114, 0.4685177505016327, 0.2914096713066101, 0.708547830581665, 0.438135027885437, 0.736436128616333, 0.16660673916339874, -0.25226840376853943, -0.14499233663082123, 0.06397921591997147, 0.48439377546310425, 0.10027164965867996, 0.7042912840843201, 0.26177623867988586, -0.11656226217746735, -0.0275865588337183, -0.8912317752838135, -0.21187476813793182, -0.49816468358039856, 0.6812790036201477, -0.28229886293411255, -0.9709146022796631, 0.664168655872345, 0.2047121524810791, 0.031384214758872986, 0.1112370491027832, 0.5443329811096191, -0.029091574251651764, 1.4851452112197876, 0.045157257467508316, -0.389249712228775, 0.5322567820549011, 0.2018776386976242, -0.12333164364099503, -1.243255853652954, -0.0014849103754386306, -0.6791590452194214, -0.22339561581611633, -0.9371498823165894, -0.4246773421764374, 0.4280264377593994, -0.27914151549339294, -0.3702051639556885, -0.20793725550174713, -0.10778790712356567, 0.9304123520851135, 0.2710930407047272, 0.2550317049026489, 0.034087542444467545, -0.15659616887569427, 0.025948842987418175, -0.07478955388069153, -0.627749502658844, -0.5377907752990723, 1.3610100746154785, 0.6012135744094849, 0.8041849732398987, 0.03904365375638008, 0.4865959584712982, 0.010696946643292904, 0.5035943984985352, -0.43883922696113586, 0.6686351299285889, -0.020914191380143166, -1.0967684984207153, -0.38042205572128296, -0.6277348399162292, -0.743992269039154, 0.3135237395763397, -0.09019909799098969, -0.6998125314712524, 0.007440303917974234, -0.13247498869895935, -0.01696454919874668, -0.0478164441883564, -0.6822424530982971, 0.6751821637153625, -0.056735530495643616, -0.7800207734107971, -0.12149661034345627, -0.6111931800842285, 0.5710489153862, 0.16314788162708282, 0.4491744637489319, -0.44841837882995605, 0.08388591557741165, 0.8490961194038391, 0.01182837039232254, 0.9352904558181763, -0.5217816233634949, 0.0762522965669632, 0.0347573384642601, -0.23364517092704773, 0.5300666689872742, 0.46049270033836365, -0.2844209372997284, 0.012692746706306934, 0.17152200639247894, -0.6593743562698364, -0.5324715971946716, 0.7118459343910217, -0.9982624650001526, -0.9447685480117798, -0.19007259607315063, -0.42434370517730713, -0.6963978409767151, 0.18579719960689545, 0.07898830622434616, 0.33808356523513794, -0.11325665563344955, 0.4143871068954468, 0.9485049843788147, -0.6445611119270325, 0.08329803496599197, 0.8490102291107178, -0.5253016948699951, -0.07673755288124084, 0.1681116223335266, 0.3335787057876587, 0.535422682762146, 0.1559142917394638, 0.2964247465133667, -0.41294434666633606, -0.17550386488437653, -0.6680159568786621, 0.5284497141838074, -0.6879578232765198, 0.0053824069909751415, -0.4539638161659241, -0.21305909752845764, -0.6664775609970093, -0.116506427526474, -0.34657368063926697, -0.07721597701311111, 0.22353452444076538, -0.12739907205104828, 0.2541823089122772, 0.7276999354362488, 0.5600951910018921, 0.2010480761528015, -0.520733654499054, 0.4008807837963104, 0.12925800681114197, 0.4410977363586426, 0.09541361778974533, -0.6582076549530029, -0.22303229570388794, 0.19484858214855194, 0.01724979281425476, -1.0475521087646484, 0.10144662857055664, -0.4121609032154083, 0.6650280952453613, 0.26002225279808044, 0.08746908605098724, 0.6767247915267944, -0.42804548144340515, 0.7740551829338074, -0.013583065941929817, -0.741909921169281, 0.5297012329101562, -0.5298459529876709, 0.7666797637939453, 0.6658563613891602, 0.8107110857963562, -0.7554342746734619, -0.8475962281227112, -0.617803156375885, -0.6317078471183777, 0.6986867785453796, -0.445939838886261, 0.3613615930080414, -0.32449331879615784, 0.6417610049247742, 0.06884126365184784, 0.2505331039428711, -0.8855233192443848, -0.4600081741809845, 0.14987392723560333, -0.21783582866191864, -0.1741931140422821, -0.5080896615982056, 0.23421192169189453, -0.06413772702217102, 0.7952023148536682, -0.02126208320260048, -0.005717022344470024, -0.08117453008890152, 0.05449914559721947, -0.4349411129951477, 0.4674419164657593, -0.22363178431987762, 0.6195349097251892, -0.18388326466083527, -0.2602652907371521, 0.35390618443489075, -0.2598191499710083, 0.09928842633962631, -0.03402981907129288, -0.7544800639152527, -0.004802747163921595, 0.17887532711029053, 0.9740495681762695, 0.20034165680408478, -0.6309268474578857, 0.5375592708587646, -0.04790126159787178, -0.05154348164796829, -0.323569655418396, 0.3537262976169586, 0.3744966685771942, 0.1654362827539444, 0.15201501548290253, -0.5790074467658997, 0.14638617634773254, -0.889236569404602, -0.36391130089759827, 0.8020264506340027, -0.24195678532123566, -0.043859515339136124, 0.5402736663818359, 0.17321038246154785, -0.035054802894592285, 0.3725492060184479, 0.04863038659095764, -0.6330312490463257, 0.7041575312614441, 0.6066426634788513, 0.4310888350009918, -0.333723783493042, 0.259520560503006, 0.5245339274406433, 0.4194182753562927, 0.005086342804133892, 0.2970552444458008, 0.07013718038797379, -1.0817254781723022, -0.5899757146835327, -0.5934630632400513, -0.6559954285621643, 0.27178463339805603, -1.0274337530136108, 0.332853227853775, -0.6362655758857727, -0.29061099886894226, 0.13059112429618835, 0.2671506702899933, -0.6331061720848083, 0.1868460774421692, 0.23658324778079987, 0.5098410248756409, -1.0899747610092163, 0.6631841063499451, 0.8542178869247437, -0.28503042459487915, -0.8012571930885315, 0.008125885389745235, -0.01018569152802229, -1.1040427684783936, 0.4371536374092102, 0.367851197719574, 0.22260808944702148, -0.1776181310415268, -0.6331066489219666, -0.9194608330726624, 0.8096175193786621, 0.20359183847904205, -0.670751690864563, 0.06818066537380219, 0.33050739765167236, 0.48498839139938354, -0.16264592111110687, 0.5790272951126099, 0.6966573596000671, 0.5519495010375977, -0.34684398770332336, -0.5308642387390137, 0.1899886280298233, -0.42090925574302673, 0.2848895192146301, 0.30782485008239746, -1.1383975744247437, 0.25398075580596924, 0.21271561086177826, -0.10236319154500961, -0.4032108187675476, 0.18299363553524017, 0.4650877118110657, 0.30801063776016235, 0.3024548590183258, 0.14813117682933807, 0.6419933438301086, -0.10243157297372818, 1.122726559638977, -0.12045778334140778, -0.1252608746290207, 1.0675146579742432, -0.7125815153121948, 0.6050698757171631, 0.40106284618377686, -0.5057293176651001, 0.4492615759372711, 0.5172579288482666, 0.1796756088733673, 0.19634251296520233, 0.23700787127017975, -0.060705505311489105, -0.1386372447013855, -0.14382338523864746, -0.42484331130981445, 0.14940671622753143, 0.5402341485023499, -0.4045356810092926, 0.32159027457237244, -0.12464353442192078, 0.45525407791137695, 0.11729054152965546, -0.6306285262107849, 0.7931933999061584, 0.04171166941523552, -1.001065731048584, 0.18910355865955353, -0.055485133081674576, 0.7408355474472046, -0.609123945236206, 0.4760759472846985, -0.490729957818985, -0.10011789947748184, 0.013400987721979618, -0.9834127426147461, 0.17520208656787872, 0.09709366410970688, -0.3951787054538727, 0.027066923677921295, 0.7922963500022888, -0.26677462458610535, -0.4334544539451599, 0.3038921356201172, 0.4721146523952484, 0.1473093032836914, 0.15849089622497559, -0.6493819952011108, 0.25745517015457153, 0.2621303200721741, -0.47668081521987915, 0.518406331539154, 0.43268710374832153, -0.03354183956980705, 0.7352377772331238, 0.5884879231452942, 0.2656416594982147, 0.27988192439079285, 0.46629029512405396, 0.6450229287147522, -0.7761547565460205, -0.20330585539340973, -0.8268466591835022, 0.24983666837215424, -0.47317832708358765, -0.14231278002262115, 1.1463634967803955, 0.30437055230140686, 0.944024384021759, 0.05781448632478714, 1.1126211881637573, 0.19060273468494415, 0.8770769834518433, -0.5599296689033508, 0.5524105429649353, -0.5205462574958801, 0.32336458563804626, -0.510976254940033, -1.0573261976242065, 0.13639064133167267, 0.6228991746902466, -0.8373888731002808, 0.3370037376880646, 0.521882176399231, 0.9271512627601624, 0.28449535369873047, 0.21285521984100342, 0.1979038566350937, 0.40800830721855164, 0.010917553678154945, 0.43183207511901855, 1.0767627954483032, -0.35734719038009644, 0.08317777514457703, -0.2966710031032562, -0.14182226359844208, -0.11606179177761078, -0.6145309209823608, -1.2326793670654297, 0.06423681974411011, -0.3084888458251953, -0.37530291080474854, 0.3818042576313019, 0.9338301420211792, 0.2850106358528137, -0.6777999997138977, -0.25293293595314026, 0.3012861907482147, 0.28822070360183716, 0.30801069736480713, -0.36833545565605164, 0.028381455689668655, -0.36749717593193054, -0.7778050899505615, -0.0851975753903389, 0.10918557643890381, -0.2711105942726135, -0.4175923764705658, 0.08427305519580841, 0.048282984644174576, 0.3143995404243469, 0.45671138167381287, -0.11180603504180908, -0.5260695815086365, -0.430238276720047, 0.09570632129907608, -0.05840490013360977, -0.06942824274301529, 0.2923351526260376, -0.34815433621406555, 0.32286402583122253, 0.4432680904865265, 0.6603875160217285, 0.5749519467353821, 0.07084964960813522, 0.6858556270599365, -0.6106001138687134, -0.0029111099429428577, -0.06705915927886963, 0.5484722852706909, 0.4958920478820801, -0.41268953680992126, 0.2448107898235321, 0.02806311845779419, -0.776757001876831, -0.6902284026145935, 0.12194094061851501, -0.5324862599372864, -0.48648160696029663, 1.4854928255081177, 0.10316502302885056, -0.5670202374458313, -0.065883107483387, -0.2214520424604416, 0.2453477531671524, -0.31510281562805176, 0.8340058922767639, 1.1742527484893799, 0.366107314825058, -0.42260897159576416, -0.6918329000473022, 0.23747588694095612, 0.7024145126342773, -0.7263600826263428, 0.27474772930145264, 0.7894665598869324, 0.6265353560447693, -0.09334389120340347, 0.8493933081626892, -0.39717748761177063, 0.4074719548225403, -0.20496012270450592, -0.12488262355327606, 0.2962092161178589, 0.11866208910942078, -0.10349331051111221, -0.01350429467856884, 0.3996712267398834, 0.39809706807136536 ]
http://arxiv.org/abs/2406.02044v1
http://arxiv.org/pdf/2406.02044v1
QROA: A Black-Box Query-Response Optimization Attack on LLMs
2024-06-04T07:27:36
2024-06-04T07:27:36
Hussein Jawad, Nicolas J. -B. BRUNEL
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) have surged in popularity in recent months, yet they possess concerning capabilities for generating harmful content when manipulated. This study introduces the Query-Response Optimization Attack (QROA), an optimization-based strategy designed to exploit LLMs through a black-box, query-only interaction. QROA adds an optimized trigger to a malicious instruction to compel the LLM to generate harmful content. Unlike previous approaches, QROA does not require access to the model's logit information or any other internal data and operates solely through the standard query-response interface of LLMs. Inspired by deep Q-learning and Greedy coordinate descent, the method iteratively updates tokens to maximize a designed reward function. We tested our method on various LLMs such as Vicuna, Falcon, and Mistral, achieving an Attack Success Rate (ASR) over 80\%. We also tested the model against Llama2-chat, the fine-tuned version of Llama2 designed to resist Jailbreak attacks, achieving good ASR with a suboptimal initial trigger seed. This study demonstrates the feasibility of generating jailbreak attacks against deployed LLMs in the public domain using black-box optimization methods, enabling more comprehensive safety testing of LLMs.
[ -0.14267794787883759, -1.0680186748504639, 0.531398355960846, 0.2012006789445877, -0.5640038251876831, 0.38128355145454407, 0.030570799484848976, -0.46609967947006226, 0.31596407294273376, 0.7405251860618591, -0.5226088166236877, -0.4349074959754944, -0.3810179829597473, -0.14626747369766235, -0.5453290939331055, 0.8273758292198181, 0.3655070960521698, -0.12644828855991364, -0.015863407403230667, 0.07433066517114639, -0.6826183795928955, -0.8026613593101501, -0.8207984566688538, 0.41824349761009216, 0.4623670279979706, 0.3171013593673706, 0.4819437563419342, 0.31763237714767456, 0.5344271659851074, 0.1970018744468689, -0.1001381129026413, 0.21327510476112366, -0.997130811214447, 0.21303535997867584, 0.10668816417455673, -0.670767068862915, -0.3954629600048065, -0.31208139657974243, 0.37029537558555603, -0.12564800679683685, -0.3099091351032257, 0.22987209260463715, -0.27827519178390503, 0.612122654914856, -0.8913348913192749, -0.3495122194290161, -1.1832195520401, -0.05445823073387146, -0.15433141589164734, -0.4453042149543762, -0.5879828333854675, -0.463110089302063, -0.3422817587852478, -0.36622512340545654, -0.20560726523399353, 0.47250813245773315, 0.6674549579620361, 0.2594953775405884, -0.29584699869155884, -0.2969878315925598, -0.6663861274719238, 0.7033475637435913, -0.7142828106880188, 0.20362631976604462, 0.21434733271598816, 0.33100995421409607, -0.6286342144012451, -0.4729599952697754, -0.5661409497261047, -0.3955235779285431, 0.24473440647125244, -0.06538603454828262, -0.6174367070198059, -0.017904482781887054, 0.11229926347732544, 0.06449323892593384, -0.5209476351737976, 0.2588209807872772, -0.6058611869812012, -0.04469716176390648, 0.5964267253875732, 0.23405469954013824, 0.34857550263404846, -0.210952490568161, -0.6513155698776245, -0.02919740229845047, -1.076049566268921, 0.07770388573408127, 0.3911738097667694, 0.12933163344860077, -0.030334848910570145, 0.681165337562561, 0.023787830024957657, 0.6175021529197693, -0.06271877139806747, -0.1446361541748047, -0.24825306236743927, -0.1983855813741684, -0.13958153128623962, 0.08662676811218262, 1.0432076454162598, 0.430877149105072, 0.05940898880362511, -0.30553337931632996, -0.32684168219566345, -0.06819980591535568, 0.6450937986373901, -0.9887461066246033, 0.17773552238941193, 0.4547238051891327, 0.03182404860854149, -0.7165286540985107, -0.0209664236754179, -0.9231851696968079, -0.36495766043663025, 0.4037306010723114, 0.5464454293251038, -0.09007778763771057, -0.02934662066400051, 0.23796333372592926, 0.1683388203382492, 0.35569891333580017, -0.03556467965245247, -0.6355000138282776, 0.37879303097724915, 0.7277055382728577, 0.6444961428642273, -0.09613467752933502, 0.06565392762422562, -1.1207895278930664, 0.28019070625305176, -0.46379566192626953, 0.6902031898498535, -0.49852997064590454, -0.5472750663757324, -0.028877196833491325, -0.10467547923326492, 0.10970178991556168, -0.5486807227134705, 0.4340727925300598, -1.2161738872528076, -0.09997805953025818, 0.07485020160675049, -0.2821364998817444, 0.0812152773141861, 0.2594129741191864, -0.5933189392089844, 0.7977378368377686, -0.014187479391694069, -0.7496888041496277, -0.1135973334312439, -0.5549417734146118, -0.4304829239845276, -0.044401053339242935, 0.08100913465023041, -0.5100892782211304, 0.24932432174682617, 0.06791521608829498, 0.21096140146255493, -0.39467647671699524, 0.07937350124120712, -0.41529810428619385, -0.4710458815097809, 0.5316513180732727, -0.036930281668901443, 0.5143244862556458, 0.23314931988716125, -0.44190290570259094, 0.23685526847839355, -0.6655164957046509, 0.09675224870443344, 0.6642855405807495, -0.35071244835853577, -0.47795164585113525, 0.3336566388607025, -0.30250757932662964, 0.01159665361046791, 0.3156326413154602, -0.6387905478477478, 0.17925402522087097, -0.5157434940338135, 0.5508151054382324, 0.6374952793121338, 0.343478262424469, 0.11041311174631119, 0.07983138412237167, 0.8693547248840332, -0.3174445629119873, 0.4557536840438843, 0.15582287311553955, -0.23894834518432617, -0.2615002691745758, -0.12697885930538177, 0.15134942531585693, 0.6919547915458679, -0.567088782787323, 0.2639985978603363, 0.12067309767007828, -0.4159630537033081, -0.5627180933952332, 0.2519267499446869, 0.5344566702842712, 0.3257383704185486, 0.19232849776744843, -0.14103436470031738, -0.38714566826820374, -0.762888491153717, -0.22242729365825653, -0.21766720712184906, 0.09137821197509766, 0.3131709396839142, 0.23767010867595673, -0.27969568967819214, 0.5830048322677612, -0.7931864261627197, -0.17414167523384094, -0.11308024823665619, -0.46590617299079895, -0.017294513061642647, 0.2628612518310547, 0.796741783618927, -0.5946770310401917, -0.20097608864307404, -0.10153185576200485, -0.5425540208816528, -0.24876753985881805, 0.0835791826248169, -0.32749900221824646, 0.06123078614473343, 0.5435316562652588, -0.5585170984268188, 0.2867039442062378, 0.6188639998435974, -0.16913463175296783, 0.712336003780365, 0.07869074493646622, -0.029658513143658638, -1.0239677429199219, -0.049429986625909805, -0.11954684555530548, -0.08578982204198837, -0.631240725517273, 0.539995551109314, 0.1440216600894928, -0.4246523678302765, -0.6662485003471375, 0.6127240061759949, -0.13107489049434662, -0.0562383197247982, -0.5466836094856262, 0.31776636838912964, 0.03202836215496063, 0.41882333159446716, -0.35983243584632874, 1.0824531316757202, 0.2708432078361511, -0.3998461365699768, 0.29401683807373047, 0.11061425507068634, -0.04811723530292511, 0.22590585052967072, -0.91275954246521, 0.6501398086547852, -0.05609539896249771, -0.05139165744185448, -1.0204240083694458, -0.04830671474337578, 0.46681371331214905, -0.49035847187042236, 0.13253876566886902, -0.15147905051708221, -0.38791754841804504, -0.285117506980896, -0.7058067917823792, 0.3461507260799408, 0.45116284489631653, -0.5678833723068237, 0.3431043326854706, 0.4726977050304413, -0.007948808372020721, -0.7584694027900696, -0.3576250374317169, 0.3327360451221466, -0.4692775011062622, -0.47856107354164124, 0.07521477341651917, -0.17591558396816254, -0.3029650151729584, -0.261974960565567, -0.09331230819225311, 0.13057857751846313, 0.49199771881103516, 0.13996464014053345, 0.25980138778686523, -0.07111885398626328, -0.2722129821777344, 0.16869311034679413, 0.08359557390213013, 0.38287970423698425, -0.16195227205753326, 0.8310022354125977, -0.023522285744547844, -0.3029908537864685, -0.5763339996337891, 0.20859381556510925, 0.6040365099906921, -0.4961794912815094, 0.7249627113342285, 0.1926242858171463, -0.12973348796367645, -0.2539753317832947, -0.5569717288017273, -0.32615798711776733, -0.5211046934127808, 0.5578420758247375, -0.3097929358482361, -0.9612285494804382, 0.3697932958602905, -0.04467165842652321, 0.02523428201675415, 0.05257796496152878, 0.410931795835495, 0.033739350736141205, 1.0249189138412476, 0.5386091470718384, -0.32399997115135193, 0.4890194833278656, -0.2631717920303345, 0.30080392956733704, -0.9101712703704834, -0.3575279712677002, -0.691797137260437, -0.054006606340408325, -0.5095328688621521, -0.36719462275505066, 0.2813167870044708, 0.28608083724975586, -0.27290722727775574, 0.4297909438610077, -0.3425406813621521, 0.47881805896759033, 0.420756071805954, 0.10918457806110382, 0.20111599564552307, 0.11651202291250229, 0.09408946335315704, 0.1443423330783844, -0.5986841917037964, -0.48025381565093994, 1.2201099395751953, 0.38825395703315735, 1.0439724922180176, 0.24805906414985657, 0.8439745306968689, 0.3230178952217102, 0.14981725811958313, -0.7792956829071045, 0.6759858727455139, 0.039391014724969864, -0.4420070946216583, -0.1553136110305786, -0.4322347342967987, -1.1024787425994873, 0.2556764781475067, -0.22253896296024323, -0.8259931206703186, 0.03495798259973526, -0.016247760504484177, -0.25896671414375305, 0.39562544226646423, -0.7476110458374023, 0.7270208597183228, -0.6286861300468445, -0.41379737854003906, -0.3312448561191559, -0.4656568467617035, 0.5576586723327637, -0.46041056513786316, 0.3360846936702728, -0.05790487676858902, -0.14115101099014282, 0.6008799076080322, -0.2684671878814697, 0.9079408049583435, -0.2655984163284302, -0.16728642582893372, 0.3120810091495514, 0.5419038534164429, 0.8213118314743042, 0.29328131675720215, 0.005053568631410599, -0.18958713114261627, 0.022350195795297623, -0.6085193157196045, -0.7058796882629395, 0.5488020181655884, -0.7915019392967224, -0.9590511918067932, -0.07219518721103668, -0.21225006878376007, -0.12460870295763016, 0.13154032826423645, -0.18574781715869904, 0.20368261635303497, -0.213009312748909, 0.043343618512153625, 0.4580956995487213, -0.48282960057258606, 0.14022515714168549, 0.7622325420379639, -0.3203626275062561, -0.53627610206604, 0.9694555997848511, -0.35759255290031433, 0.5029667019844055, 0.31508582830429077, 0.2594907879829407, -0.2837751805782318, -1.089132308959961, -0.46373599767684937, 0.36691009998321533, -0.3481328785419464, -0.5389653444290161, -0.3705902695655823, -0.1552138477563858, -0.09930383414030075, 0.07769444584846497, -0.15169407427310944, -0.14428000152111053, -0.18645979464054108, -0.10638091713190079, 0.34157389402389526, 0.7054946422576904, 0.3804352879524231, 0.5625328421592712, -0.7199750542640686, 0.3043901026248932, 0.37247994542121887, 0.1491193026304245, 0.10970533639192581, -0.4207339286804199, -0.03933937847614288, -0.08187014609575272, -0.5015747547149658, -1.0789885520935059, 0.48584258556365967, -0.012157951481640339, 0.4139561355113983, 0.4808101952075958, 0.3678400218486786, 0.4227585196495056, -0.4623607099056244, 0.5468546748161316, 0.12288019061088562, -0.6618260145187378, 0.7236486077308655, -0.21068182587623596, -0.11104749143123627, 0.390087366104126, 0.3115586042404175, -0.14412634074687958, -0.6989961862564087, -0.5348917841911316, -0.8098225593566895, 0.42729315161705017, 0.028455441817641258, 0.5460599660873413, -0.21089543402194977, 0.6455825567245483, -0.23461756110191345, 0.4103372097015381, -0.7204761505126953, -0.13589298725128174, -0.03706856817007065, 0.17745302617549896, 0.22352972626686096, -0.5635100603103638, -0.3080929219722748, 0.2047487199306488, 0.5384122729301453, -0.07073185592889786, 0.08334793895483017, -0.05649442970752716, -0.15147913992404938, -0.24203945696353912, 0.3433859944343567, 0.7231045365333557, 0.4515691101551056, -0.30423420667648315, -0.05865196883678436, 0.11331041157245636, -0.5572733283042908, 0.3148188292980194, -0.05752395838499069, -0.27422305941581726, -0.5198175311088562, 0.025353608652949333, 0.8372461795806885, 0.16875526309013367, -0.9865096807479858, 0.5416631102561951, -0.23038794100284576, 0.0196190495043993, -0.04085497185587883, 0.23768143355846405, 0.05524640902876854, 0.47541436553001404, 0.6406554579734802, -0.41182735562324524, 0.0234117042273283, -0.5070213675498962, 0.06583904474973679, 0.8657349348068237, -0.19577008485794067, -0.2606315612792969, 0.8706277012825012, 0.07018005102872849, -0.6084596514701843, 0.391049861907959, -0.2796076834201813, -0.6393681168556213, 0.6769933104515076, 0.8977730870246887, 0.7553125023841858, -0.11451082676649094, 0.1630423665046692, 0.1911848783493042, 0.5442285537719727, 0.3273667097091675, 0.23028649389743805, 0.17867590487003326, -0.6615924835205078, -0.4604928493499756, -0.7428632378578186, -0.5880436301231384, 0.3159828186035156, -0.6322425007820129, 0.08295019716024399, -0.7799620628356934, -0.2587030231952667, -0.20038124918937683, 0.12413305044174194, -0.1606215089559555, -0.0346619077026844, -0.12997789680957794, 0.7655574679374695, -0.4667644500732422, 0.6636219620704651, 0.5650891661643982, -0.24514469504356384, -0.6817235946655273, 0.01981068029999733, -0.15564420819282532, -1.0982340574264526, 0.5738593339920044, -0.10988106578588486, -0.3789691925048828, 0.0019124383106827736, -0.700318455696106, -0.7523507475852966, 0.8642230033874512, 0.6068829894065857, -0.7483835816383362, 0.11181825399398804, 0.11082939058542252, 0.4488801956176758, -0.21015113592147827, -0.19718311727046967, 0.591442346572876, 0.2242070734500885, 0.07389283180236816, -0.4768320620059967, 0.30028292536735535, -0.07908935099840164, 0.03998718783259392, 0.40148335695266724, -0.8451066613197327, 0.17491963505744934, -0.4822820723056793, -0.09540822356939316, 0.04543904960155487, 0.6203873157501221, 0.6557717323303223, 0.19906394183635712, 0.3625241219997406, 0.47962695360183716, 0.5879319906234741, 0.20574361085891724, 1.2213318347930908, -0.4534611701965332, 0.035656701773405075, 0.7098609805107117, -0.37941810488700867, 1.2206891775131226, 0.6509565114974976, -0.2414911687374115, 0.2400432825088501, 0.5198297500610352, -0.035012707114219666, 0.5600711107254028, 0.6076106429100037, -0.3198947012424469, 0.07463199645280838, 0.020873162895441055, -0.20995986461639404, 0.30063021183013916, 0.30387043952941895, 0.032248251140117645, 0.05519692972302437, 0.08109383285045624, 0.2904297709465027, 0.07247604429721832, -0.29149559140205383, 0.9446935057640076, 0.17516684532165527, -0.3673795163631439, 0.9425662755966187, 0.22816821932792664, 0.6386317610740662, -0.5647280216217041, 0.30412745475769043, -0.34864288568496704, -0.15438240766525269, -0.15608885884284973, -0.4558219313621521, 0.13425154983997345, 0.14929723739624023, 0.07257916778326035, 0.653666615486145, 0.8066220879554749, -0.1716357320547104, -0.2602575421333313, 0.6150026321411133, 0.2654232680797577, 0.07412160187959671, -0.21816229820251465, -0.6388756632804871, 0.3673401474952698, -0.015442567877471447, -0.2855015695095062, 0.7191716432571411, 0.13585080206394196, -0.20687206089496613, 0.8108082413673401, 0.8539159893989563, 0.30491748452186584, 0.26655566692352295, -0.06999281048774719, 1.0979602336883545, -0.6448732614517212, -0.36858007311820984, -0.7799913287162781, 0.04151678830385208, 0.009835352189838886, 0.16422313451766968, 0.5101742148399353, 0.6011114716529846, 0.6616340279579163, 0.09645825624465942, 0.6029123663902283, 0.16991432011127472, 0.23180583119392395, -0.6657426357269287, 0.6044169068336487, -0.7131853699684143, 0.646794855594635, -0.21461348235607147, -0.8626659512519836, -0.1374967396259308, 0.19097676873207092, -0.434894323348999, -0.10219784826040268, 0.5278351306915283, 1.0950214862823486, 0.16443781554698944, -0.2613893151283264, 0.29845142364501953, 0.2116442322731018, 0.46050286293029785, 0.5603932738304138, 0.9803295135498047, -0.3154539167881012, 0.9059702157974243, -0.1329159438610077, -0.17107181251049042, -0.29823431372642517, -0.7263876795768738, -1.0056068897247314, -0.08286234736442566, -0.03678061440587044, -0.5200167894363403, 0.5628760457038879, 0.6244524121284485, 0.4976288080215454, -0.6970673203468323, -0.31193381547927856, 0.30550864338874817, 0.14919255673885345, 0.14661380648612976, -0.21490058302879333, 0.39014506340026855, -0.4481331408023834, -0.5035727620124817, 0.7630121111869812, 0.2733585238456726, 0.033302128314971924, -0.2706618010997772, -0.05624408647418022, 0.0024326692800968885, 0.2308211475610733, 0.658517062664032, 0.4335794448852539, -0.5873164534568787, -0.17906637489795685, 0.16346178948879242, -0.13536280393600464, 0.10652735084295273, 0.6852149963378906, -0.5424232482910156, 0.267211377620697, 0.21968290209770203, 0.9723029732704163, 0.5997734069824219, 0.3003619909286499, 0.5322197079658508, -0.6479575634002686, 0.22953881323337555, 0.23713360726833344, 0.06928396224975586, 0.05223749205470085, -0.5159388184547424, 0.2668757140636444, -0.08541637659072876, -0.4824696183204651, -1.2672010660171509, 0.152609184384346, -1.0582150220870972, -0.48392489552497864, 1.1317436695098877, 0.030812647193670273, -0.6137561798095703, 0.14024680852890015, -0.4520095884799957, -0.17003372311592102, -0.5919196009635925, 1.0459942817687988, 0.1603502333164215, 0.1616399586200714, -0.1263805329799652, -0.7582148313522339, 0.4267478585243225, 0.33436331152915955, -0.9739452004432678, 0.017546512186527252, 0.31151896715164185, 0.42709606885910034, -0.08161284774541855, 0.4458998441696167, -0.3773227334022522, 0.4308132529258728, -0.40686365962028503, -0.10344133526086807, -0.22819384932518005, -0.3326031267642975, -0.3118354380130768, 0.5217503309249878, 0.46257930994033813, -0.3511315584182739 ]
http://arxiv.org/abs/2406.02030v2
http://arxiv.org/pdf/2406.02030v2
Multimodal Reasoning with Multimodal Knowledge Graph
2024-06-04T07:13:23
2024-06-05T03:28:01
Junlin Lee, Yequan Wang, Jing Li, Min Zhang
cs.CL
cs.CL, cs.AI
Multimodal reasoning with large language models (LLMs) often suffers from hallucinations and the presence of deficient or outdated knowledge within LLMs. Some approaches have sought to mitigate these issues by employing textual knowledge graphs, but their singular modality of knowledge limits comprehensive cross-modal understanding. In this paper, we propose the Multimodal Reasoning with Multimodal Knowledge Graph (MR-MKG) method, which leverages multimodal knowledge graphs (MMKGs) to learn rich and semantic knowledge across modalities, significantly enhancing the multimodal reasoning capabilities of LLMs. In particular, a relation graph attention network is utilized for encoding MMKGs and a cross-modal alignment module is designed for optimizing image-text alignment. A MMKG-grounded dataset is constructed to equip LLMs with initial expertise in multimodal reasoning through pretraining. Remarkably, MR-MKG achieves superior performance while training on only a small fraction of parameters, approximately 2.25% of the LLM's parameter size. Experimental results on multimodal question answering and multimodal analogy reasoning tasks demonstrate that our MR-MKG method outperforms previous state-of-the-art models.
[ -0.5364711880683899, -1.0012125968933105, 0.8668938279151917, -0.11850344389677048, -0.4280323386192322, 0.02005394548177719, -0.27142423391342163, -0.1871037483215332, 0.13842815160751343, 0.30464211106300354, -0.8262554407119751, -0.6615622639656067, -0.5076983571052551, 0.16262389719486237, 0.4970734417438507, 0.4125441908836365, -0.07774362713098526, 0.25976330041885376, -0.65586918592453, -0.209960475564003, -0.6102039217948914, -0.1964031606912613, -0.339169979095459, -0.46769019961357117, 1.0067262649536133, 0.32307368516921997, 0.722517728805542, 0.4084448516368866, 0.31806236505508423, 0.27624326944351196, 0.311373770236969, 0.9321790933609009, -0.22050343453884125, 0.1884065568447113, -0.10784503072500229, -0.2927250564098358, -0.4424339830875397, -0.12005569785833359, 0.3323562443256378, 0.5873250365257263, 0.23519845306873322, -0.03146732226014137, -0.2529307007789612, 0.4240633249282837, -0.5788514614105225, 0.5351281762123108, -0.46052035689353943, 0.14670246839523315, 0.11641189455986023, -0.3989273011684418, -0.7528538107872009, -0.04365232214331627, -0.16673536598682404, -0.8845798969268799, -0.4411613643169403, 0.28086793422698975, 0.6781954765319824, 0.4022336006164551, -0.8371174335479736, 0.017677851021289825, -0.3491339087486267, 0.7924856543540955, -0.4319869875907898, 0.9947506189346313, 0.6133210062980652, 0.4239627420902252, -0.002221155446022749, -0.7594007253646851, -0.7404699325561523, -0.3694961667060852, -0.3024360239505768, 0.20492035150527954, -0.028806546702980995, 0.09997745603322983, 0.3324190378189087, -0.12956003844738007, -0.8247126936912537, -0.30170169472694397, 0.007916117087006569, -0.5266438722610474, 0.1660008430480957, 0.12702910602092743, 0.10852662473917007, -0.6640101671218872, -0.8042927980422974, -0.08822377771139145, -0.41770705580711365, -0.1175350472331047, 0.08583283424377441, 0.08101963996887207, 0.0693296566605568, 0.6401772499084473, -0.07520695775747299, 0.8865516781806946, -0.16558079421520233, -0.7439098358154297, 0.4019354581832886, -0.5397617816925049, -0.17012901604175568, -0.3181832730770111, 0.7610645294189453, 0.7140957117080688, 0.3072689473628998, -0.2756664752960205, 0.045604705810546875, 0.02986547164618969, 0.11935609579086304, -0.49153512716293335, -0.031162746250629425, -0.20795656740665436, -0.643901526927948, 0.0316159762442112, -0.362440824508667, -0.6717830896377563, -0.11708124727010727, -0.5792077779769897, 0.6908259987831116, -0.9061831831932068, -0.2497761845588684, -0.011623185127973557, -0.15024018287658691, -0.1278018057346344, 0.5669098496437073, -0.5061911344528198, -0.3965693414211273, 0.13760648667812347, 0.48325979709625244, 0.2825085520744324, -0.3344765901565552, -0.2719554305076599, 0.6546248197555542, -0.009207994677126408, 0.787658154964447, -0.7437328696250916, 0.010043093003332615, -0.34994155168533325, 0.10811025649309158, -0.4480319023132324, -0.20400860905647278, 0.2961043119430542, -0.6091154217720032, 0.30767205357551575, -0.28889867663383484, -0.34518033266067505, -0.631806492805481, 0.880236804485321, -0.42441684007644653, 0.642336905002594, 0.055390384048223495, -0.7004416584968567, 0.4047046899795532, -0.37303626537323, -0.448181688785553, -0.2449730485677719, -0.3869737684726715, -0.15101809799671173, -0.4168602526187897, 0.6482097506523132, 0.6020005345344543, -0.2225669026374817, 0.14089621603488922, -0.6565022468566895, 0.11764686554670334, 0.3275830149650574, -0.47187328338623047, 0.4277755916118622, 0.37162110209465027, 0.09920093417167664, 0.23522837460041046, -0.6974939107894897, 0.21468833088874817, 0.08959353715181351, -0.3352699875831604, -0.33425572514533997, -0.21210813522338867, -0.2968969941139221, 0.45806512236595154, 0.18297024071216583, -0.1308356523513794, 0.0913524255156517, 0.24601876735687256, 0.4349464774131775, 0.7423214912414551, -0.03625869005918503, 0.29505065083503723, -0.3276202976703644, 0.5825754404067993, 0.2961176037788391, 0.23779290914535522, -0.48202958703041077, -0.408136785030365, -0.6417196989059448, -0.5484040975570679, 0.16269762814044952, 0.37722763419151306, -1.4198445081710815, 0.1971409171819687, -0.4174955487251282, -0.10037972778081894, -0.11889079213142395, 0.22576284408569336, 0.31458792090415955, 0.6782657504081726, 0.4496152997016907, -0.11007958650588989, -0.2999909818172455, -0.8588376045227051, 0.05296538397669792, -0.09454163163900375, 0.2601350247859955, 0.8265811204910278, 0.41356444358825684, -0.6229561567306519, 0.7384345531463623, -0.5026749968528748, -0.360100120306015, -0.2760492265224457, 0.22514835000038147, -0.34639647603034973, 0.31487613916397095, 0.39725780487060547, -0.7300002574920654, -0.0800115242600441, 0.022356990724802017, -0.9528927206993103, 0.13974353671073914, -0.2145007997751236, -0.266674280166626, 0.05253162235021591, 0.5802881717681885, -0.7881659269332886, -0.1240338683128357, 0.3627484440803528, -0.3074989914894104, 0.4775049686431885, -0.14355576038360596, 0.40057799220085144, -1.1851459741592407, -0.20984488725662231, 0.014032200910151005, -0.4941062331199646, -0.18480271100997925, -0.06739145517349243, 0.1003403440117836, -0.11739493906497955, -0.1321357786655426, 0.5189303159713745, -0.5323928594589233, 0.21318544447422028, 0.04800958186388016, 0.38460347056388855, 0.29910746216773987, 0.8503002524375916, 0.009972388856112957, 0.3571023941040039, 0.39496520161628723, -0.27462610602378845, 0.6727278232574463, 0.18935950100421906, -0.1200563833117485, 0.5710917711257935, 0.08666963130235672, 0.2372279167175293, -0.26932013034820557, 0.3000446856021881, -1.2210229635238647, -0.24467334151268005, 0.31842803955078125, -0.5254294276237488, 0.4535213112831116, -0.2317352443933487, -0.5915935635566711, -0.3168526589870453, -0.040532469749450684, 0.5883733034133911, 0.09286773204803467, -0.38926056027412415, 1.1987090110778809, 0.03381310775876045, 0.07812992483377457, -0.7212298512458801, -0.45871004462242126, 0.015395278111100197, -0.14875605702400208, -0.9998065233230591, -0.07976090908050537, 0.07341191917657852, -0.014262516051530838, 0.11294253170490265, -0.06911300867795944, -0.06350065022706985, -0.331777423620224, 0.11743972450494766, 0.19109965860843658, -0.37760114669799805, 0.5597804188728333, 0.10922146588563919, -0.3251550495624542, -0.01867593079805374, -0.24552316963672638, 0.5542449355125427, 0.020340651273727417, -0.5437520146369934, -0.17629648745059967, 0.142760768532753, 0.8127073645591736, -0.3108680546283722, 0.5849546790122986, 1.0156786441802979, -0.1660129427909851, 0.001886003534309566, -0.6978262662887573, -0.397405743598938, -0.38519227504730225, 0.42503196001052856, -0.6442861557006836, -0.8692350387573242, 0.303727388381958, -0.34828057885169983, -0.5592921376228333, -0.014871528372168541, 0.5170477032661438, -0.13314765691757202, 1.1743147373199463, 0.28288406133651733, 0.2649143636226654, 0.2550634741783142, -0.13443762063980103, 0.1797252744436264, -0.7102939486503601, -0.6970269083976746, 0.11782114207744598, -0.37147411704063416, -0.010372554883360863, -0.8711056709289551, 0.5651497840881348, 0.1376742571592331, 0.019211865961551666, -0.0009550568065606058, -0.193538099527359, 0.42933282256126404, 0.42624136805534363, 0.5806026458740234, 0.45946088433265686, 0.0031287362799048424, -0.6434393525123596, -0.14312951266765594, -0.8223047852516174, -0.2796047627925873, 0.9842436909675598, 0.20071135461330414, 0.9294818639755249, -0.03217299282550812, 0.16532236337661743, 0.028523577377200127, 0.105697400867939, -0.7001616358757019, 0.7533881068229675, 0.27027174830436707, -0.5737040042877197, -0.2499215453863144, -0.7305895090103149, -0.553051233291626, 0.5941870212554932, -0.3837188184261322, -0.3310866057872772, -0.06834554672241211, 0.12887617945671082, -0.12475551664829254, 0.2571413516998291, -0.9295584559440613, 1.1283512115478516, -0.35636651515960693, -0.2002759426832199, -0.4690569043159485, -0.8462153077125549, 0.4917738735675812, 0.2784726917743683, 0.41841062903404236, -0.18263162672519684, 0.08919844031333923, 0.4301891624927521, -0.18797653913497925, 0.7371512055397034, -0.16416527330875397, 0.11551553755998611, 0.21391408145427704, 0.12370403856039047, 0.33827847242355347, 0.10097227990627289, 0.44099006056785583, -0.05829709395766258, -0.19730563461780548, -0.19547580182552338, -0.933884859085083, 0.579796314239502, -0.7067176103591919, -0.457764595746994, 0.009762807749211788, -1.1811555624008179, -0.47345057129859924, 0.3052402436733246, -0.09675665199756622, 0.6435415148735046, 0.2737143933773041, 0.3212723433971405, 0.7081161141395569, -0.15586872398853302, 0.185777485370636, 0.1193384900689125, -0.4453454315662384, -0.8179594278335571, 0.8369608521461487, 0.07700441032648087, 0.4765053689479828, 0.5867410898208618, 0.15862248837947845, -0.5224394798278809, -0.1470041573047638, -0.5363976955413818, 0.43310147523880005, -1.1030256748199463, -0.30807510018348694, -0.9476882815361023, 0.0881705954670906, -0.4290814995765686, -0.011051975190639496, -0.04474625736474991, -0.46489012241363525, 0.01849883794784546, -0.03400539606809616, 0.2584853768348694, 0.06165483221411705, 0.025360947474837303, 0.02587476372718811, -0.702272355556488, 0.6317614912986755, 0.828397810459137, 0.204776793718338, 0.034794051200151443, -0.2768092453479767, -0.09215601533651352, 0.0035670066718012094, -0.3845803141593933, -0.7661046385765076, 0.003926787059754133, -0.06679433584213257, 0.5802090764045715, 0.7349681854248047, -0.13340367376804352, 0.836505651473999, -0.361484169960022, 0.381882905960083, 0.5389612317085266, -0.6749419569969177, 0.33011767268180847, -0.5141807198524475, 0.32188111543655396, 0.2348816990852356, 0.5407554507255554, -0.3975302278995514, -0.14369061589241028, -0.23911826312541962, -0.4925520122051239, 0.5477970242500305, 0.035984497517347336, -0.14201222360134125, 0.01446017436683178, 0.13849852979183197, 0.04372873529791832, 0.26918497681617737, -1.0558373928070068, -0.21163149178028107, -0.5061582922935486, -0.26062828302383423, 0.019367309287190437, -0.1701042205095291, -0.3260021209716797, -0.5096026659011841, 0.3875177502632141, -0.5123016238212585, 0.3208540081977844, -0.0023734569549560547, -0.46049249172210693, -0.002109820256009698, 0.27177608013153076, 0.8035131692886353, 0.8540951609611511, -0.07585442811250687, 0.7309596538543701, 0.21173986792564392, -0.12424644082784653, 0.19734841585159302, 0.05680221691727638, 0.406876802444458, -0.2368251085281372, 0.5061435699462891, 0.832489013671875, 0.15800313651561737, -0.7382543683052063, 0.5246790647506714, -0.027256429195404053, -0.2669951617717743, 0.06388548761606216, -0.15959762036800385, 0.4393482804298401, 0.6916595101356506, 0.05250246822834015, 0.0923551395535469, -0.30133292078971863, -0.47684842348098755, 0.1569303721189499, 0.6039664149284363, -0.3296244740486145, 0.013627856969833374, 0.6296323537826538, -0.07134620100259781, 0.10468423366546631, 0.43531885743141174, -0.08150932192802429, -0.40487217903137207, 0.22980864346027374, 0.530809760093689, 0.374820739030838, -0.02793196216225624, 0.18800322711467743, 0.140086829662323, 0.4912966191768646, 0.34699466824531555, 0.12888383865356445, -0.4205605089664459, -0.9519534111022949, -0.6805035471916199, -0.33187517523765564, -0.15469536185264587, 0.11301534622907639, -0.10467041283845901, 0.10919519513845444, -0.39787906408309937, -0.27623844146728516, -0.044339749962091446, -0.515251874923706, -0.410038024187088, 0.3460089862346649, 0.3253200650215149, 0.5473200678825378, -0.6651716232299805, 0.640895664691925, 0.781217634677887, -0.6102876663208008, -0.7795981764793396, -0.33453699946403503, -0.13065138459205627, -1.0497361421585083, 0.9399700164794922, 0.1840580403804779, -0.3221014440059662, -0.07001464068889618, -0.35661017894744873, -0.5708248615264893, 1.3052834272384644, 0.5279385447502136, -0.18416891992092133, -0.09337248653173447, 0.2610345780849457, 0.052429407835006714, -0.4292483329772949, 0.42827820777893066, 0.05964154750108719, 0.7893341779708862, 0.3322046101093292, -0.7415284514427185, 0.1160309761762619, -0.08593770116567612, -0.12414247542619705, 0.21670599281787872, -0.6623520851135254, 0.6784244179725647, -0.19525061547756195, 0.1598288118839264, -0.5432531833648682, 0.5268880724906921, 0.23474650084972382, 0.38149264454841614, 0.7619030475616455, 1.0077154636383057, 0.5290781855583191, -0.1883377730846405, 0.7288609743118286, -0.18170376121997833, 0.17670148611068726, 0.787337601184845, -0.13809248805046082, 0.24283625185489655, 0.6074855327606201, 0.17178110778331757, 0.6327845454216003, 0.4211099445819855, 0.15676885843276978, 0.47028714418411255, -0.3442373275756836, -0.20720870792865753, -1.0372401475906372, -0.05036970600485802, -0.2919514775276184, 0.3664097487926483, 0.12807032465934753, -0.44058701395988464, -0.5113776922225952, 0.5102616548538208, 0.03878414258360863, -0.13348492980003357, -0.12921245396137238, 0.7323336005210876, 0.11196602135896683, -0.43099069595336914, 0.568973183631897, -0.10478881001472473, 0.31168991327285767, -0.6829131841659546, -0.11282572895288467, 0.08577082306146622, 0.2049718052148819, -0.12896829843521118, -0.6091408729553223, -0.04492921754717827, -0.5597679018974304, -0.3600820004940033, -0.343748539686203, 0.8682486414909363, -0.587641179561615, -0.3380206525325775, 0.40821853280067444, 0.7891618013381958, -0.1337883025407791, -0.02384341135621071, -0.6152039170265198, -0.14055241644382477, -0.04086478799581528, -0.2587805986404419, 0.3585343360900879, 0.7234464287757874, 0.03482493758201599, 0.9722262620925903, 0.6352297067642212, -0.3153359591960907, 0.13365936279296875, 0.2137690931558609, 1.0352513790130615, -0.5158931016921997, -0.3152397871017456, -0.8328894376754761, 0.4743351638317108, 0.056458909064531326, -0.012382247485220432, 0.7602933645248413, 0.46131786704063416, 0.7026210427284241, -0.12491296231746674, 0.5105976462364197, -0.02396484836935997, 0.2738702595233917, -0.8136436343193054, 0.5957014560699463, -0.8122549653053284, -0.17316600680351257, -0.279840350151062, -0.7675161361694336, -0.32261890172958374, 0.8098623156547546, -0.42611125111579895, 0.30454421043395996, 1.0756562948226929, 0.8979412317276001, -0.30204036831855774, -0.057868361473083496, 0.5658354163169861, 0.08737244457006454, 0.12828056514263153, 0.7379336357116699, 1.0610488653182983, -0.14001628756523132, 0.7879296541213989, -0.2606123089790344, -0.09055183827877045, -0.09322783350944519, -0.7772774696350098, -1.1656608581542969, -0.5956225395202637, -0.13197803497314453, -0.3328847885131836, -0.11828223615884781, 0.9876601696014404, 0.8384450078010559, -0.13096019625663757, 0.16453172266483307, 0.44683271646499634, 0.4142448604106903, -0.16109757125377655, -0.22974570095539093, 0.213531956076622, -0.455701619386673, -0.2762306034564972, 0.4203144907951355, 0.4367559254169464, -0.10679865628480911, -0.32888561487197876, -0.19474676251411438, -0.5185763835906982, -0.04204073175787926, 0.8498786687850952, -0.36062079668045044, -0.7503948211669922, -0.4362233281135559, 0.04140222817659378, -0.04263179004192352, 0.22487211227416992, 0.89057856798172, -0.7246163487434387, 0.6774036288261414, 0.5017096996307373, 0.44202888011932373, 0.5569955706596375, 0.018368426710367203, 0.21035118401050568, -0.7378727793693542, 0.3158930540084839, 0.1395835131406784, 0.5740163922309875, 0.18482469022274017, -0.09549176692962646, 0.13075800240039825, 0.5961657166481018, -0.4390842318534851, -0.5778382420539856, 0.4869888722896576, -1.182039737701416, -0.5222789645195007, 1.190954327583313, -0.08363518863916397, -0.11374763399362564, -0.0975385382771492, -0.36829471588134766, 0.3894886076450348, -0.17466586828231812, 0.5861824154853821, 0.8046967387199402, -0.3401346206665039, -0.7826290130615234, -0.3084515929222107, 0.08150993287563324, 0.354753702878952, -0.91077721118927, -0.17523305118083954, 0.9181860685348511, 0.2347283661365509, 0.3478602170944214, 0.44329071044921875, -0.07847815752029419, 0.2347586452960968, 0.09032158553600311, 0.03386011719703674, -0.7337340712547302, -0.5939841270446777, 0.23834091424942017, 0.44910672307014465, -0.1640680432319641, -0.05815291777253151 ]
http://arxiv.org/abs/2406.02018v1
http://arxiv.org/pdf/2406.02018v1
Why Would You Suggest That? Human Trust in Language Model Responses
2024-06-04T06:57:47
2024-06-04T06:57:47
Manasi Sharma, Ho Chit Siu, Rohan Paleja, Jaime D. Peña
cs.CL
cs.CL, cs.AI, cs.HC
The emergence of Large Language Models (LLMs) has revealed a growing need for human-AI collaboration, especially in creative decision-making scenarios where trust and reliance are paramount. Through human studies and model evaluations on the open-ended News Headline Generation task from the LaMP benchmark, we analyze how the framing and presence of explanations affect user trust and model performance. Overall, we provide evidence that adding an explanation in the model response to justify its reasoning significantly increases self-reported user trust in the model when the user has the opportunity to compare various responses. Position and faithfulness of these explanations are also important factors. However, these gains disappear when users are shown responses independently, suggesting that humans trust all model responses, including deceptive ones, equitably when they are shown in isolation. Our findings urge future research to delve deeper into the nuanced evaluation of trust in human-machine teaming systems.
[ -0.4768950343132019, -0.48179951310157776, 0.8892375826835632, 0.2268679141998291, 0.10641618818044662, -0.036371808499097824, -0.07293739914894104, -0.9099544286727905, -0.3613833785057068, 0.3966341018676758, -0.318562775850296, -0.11006881296634674, -0.5282341837882996, 0.28942665457725525, -0.682564377784729, 0.629500687122345, 0.02614409662783146, 0.14668186008930206, -0.427919864654541, 0.19186487793922424, -0.37169593572616577, -0.4593782424926758, -0.775671660900116, -0.6935274004936218, 0.6565045714378357, 0.3124532401561737, 1.096866250038147, 0.6173851490020752, 0.510303795337677, 0.36785635352134705, 0.1373942792415619, 0.08776286989450455, -0.23083636164665222, 0.09385888278484344, -0.3157593607902527, -0.6468801498413086, -0.5284676551818848, 0.5198744535446167, 0.3436163365840912, 0.585513710975647, -0.08440662175416946, 0.22583049535751343, 0.17082880437374115, 0.5364398956298828, -0.30374690890312195, -0.04425077885389328, -0.5412390232086182, -0.18236251175403595, 0.001824721577577293, -0.1842098981142044, -0.5683956146240234, -0.1424340158700943, 0.39936909079551697, -0.4411252737045288, 0.27495458722114563, 0.5632136464118958, 0.9152039289474487, 0.1273655742406845, -0.46384626626968384, -0.11535878479480743, -0.6878651976585388, 0.5983182787895203, -0.7232992053031921, 0.10614777356386185, 0.5115768313407898, 0.13921178877353668, -0.12946438789367676, -0.4760749042034149, -0.7318405508995056, -0.4721447825431824, -0.2617477774620056, 0.24998846650123596, -0.16051779687404633, 0.18853014707565308, 0.1550174504518509, 0.26935917139053345, -0.572185754776001, 0.34847182035446167, -0.21250788867473602, -0.27767413854599, 0.7635955214500427, 0.09782373160123825, 0.4174877107143402, -0.039888642728328705, -0.6124103665351868, -0.08882703632116318, -0.6824734807014465, 0.05799390748143196, 0.4993467926979065, 0.01937001757323742, -0.17880019545555115, 0.6725056767463684, -0.01348291989415884, 0.647745668888092, 0.0016524045495316386, 0.11126489192247391, -0.06914187222719193, -0.38104358315467834, -0.27955135703086853, 0.08805195987224579, 0.8749756217002869, 0.734158456325531, 0.5196049809455872, -0.2948606312274933, -0.05470969155430794, 0.6221228241920471, 0.4264005422592163, -0.6776365637779236, 0.061792559921741486, 0.2405175119638443, -0.670923113822937, -0.5326501727104187, 0.32084527611732483, -0.6081192493438721, -0.5318593978881836, -0.25465127825737, 0.26773974299430847, -0.17170597612857819, -0.47798141837120056, 0.1974724680185318, -0.23767800629138947, 0.11087208241224289, 0.3847348093986511, -0.7137250304222107, 0.2935209572315216, 0.6053757667541504, 0.4309655427932739, -0.3981803059577942, -0.5503417253494263, -0.38210222125053406, 0.09823910892009735, -0.5961140394210815, 0.6200793981552124, -0.3884599804878235, -0.4326998293399811, -0.05649252235889435, -0.19504651427268982, 0.03818884491920471, -0.5271312594413757, 0.4668184220790863, -0.590998649597168, 0.6169440150260925, -0.4009162485599518, -0.5738291144371033, -0.10633763670921326, 0.036310404539108276, -0.501272439956665, 0.8252948522567749, -0.08626904338598251, -0.8901958465576172, 0.45917263627052307, -0.7697543501853943, -0.3034866750240326, 0.051197946071624756, -0.20347358286380768, -0.17640414834022522, 0.29416412115097046, 0.3082410395145416, 0.38576045632362366, -0.40439483523368835, 0.3257145881652832, -0.5572746992111206, -0.24638906121253967, 0.8893948793411255, -0.5884293913841248, 0.8370962142944336, 0.3834720849990845, -0.4393610656261444, 0.17853303253650665, -0.2951888144016266, 0.0010773425456136465, 0.0396755076944828, -0.2287774533033371, -0.28831174969673157, -0.07835880666971207, -0.012169459834694862, 0.1739118993282318, 0.21859683096408844, -0.46494999527931213, -0.3148270845413208, -0.3670342266559601, 0.30300968885421753, 0.9738671779632568, 0.015307662077248096, 0.48789283633232117, -0.6110799908638, 0.6835931539535522, 0.13548971712589264, -0.019258098676800728, -0.26210689544677734, -0.7135133743286133, -0.4213738441467285, 0.015896830707788467, 0.0796564444899559, 0.1652528941631317, -0.36395812034606934, 0.131850004196167, -0.02813812717795372, -0.09184867888689041, -0.7032911777496338, 0.19208644330501556, 0.5879185795783997, 0.7384206056594849, 0.017703941091895103, -0.2772655189037323, -0.5722808241844177, -1.213728666305542, -0.5947752594947815, -0.3687033951282501, -0.20053254067897797, 0.39460769295692444, 0.3246546685695648, -0.04652044549584389, 1.394587516784668, -0.18208327889442444, 0.06675418466329575, -0.2739725410938263, 0.29638585448265076, -0.17689020931720734, 0.19767434895038605, 0.5794131755828857, -1.0532556772232056, -0.4007374942302704, -0.22052989900112152, -0.9524896740913391, -0.20157867670059204, -0.07616686820983887, -0.054979272186756134, 0.48202821612358093, 0.40688323974609375, -0.8983250856399536, 0.4023151695728302, 0.7679256200790405, -0.569128155708313, 0.4912361800670624, -0.17470121383666992, 0.3214360177516937, -1.2492724657058716, 0.10646629333496094, 0.06929631531238556, -0.394149512052536, -0.33483466506004333, 0.1050984263420105, -0.22383448481559753, -0.10720548778772354, -0.27576944231987, 0.5305848121643066, -0.6192712783813477, -0.3988960385322571, -0.3173160254955292, 0.6868106722831726, 0.11237458139657974, 0.06286432594060898, -0.12051060050725937, 0.9703776240348816, 0.6695846319198608, -0.46805983781814575, 0.1648123413324356, 0.25274527072906494, -0.4416426718235016, 0.43819212913513184, -0.8720299601554871, 0.13347886502742767, -0.08906059712171555, 0.215504989027977, -1.2796663045883179, -0.39239874482154846, 0.15754809975624084, -0.9652964472770691, 0.014430155977606773, 0.23826193809509277, -0.5944573879241943, -0.48071733117103577, -0.1198895275592804, 0.011174315586686134, 0.43818312883377075, -0.5078867077827454, 0.49085062742233276, 0.38856056332588196, 0.16104991734027863, -0.3590930104255676, -0.8906325697898865, 0.33266568183898926, -0.2787936329841614, -0.811758279800415, 0.3617672324180603, -0.22877903282642365, -0.8730202913284302, 0.263747900724411, -0.23724482953548431, -0.14731241762638092, 0.4555160403251648, 0.4437269866466522, 0.4494798481464386, -0.21756546199321747, 0.11344657093286514, -0.45182350277900696, -0.22016499936580658, 0.42035460472106934, 0.14269907772541046, 0.239179790019989, -0.31732410192489624, -0.31358030438423157, -0.7218453288078308, 0.2612171471118927, 0.7299103140830994, -0.2318386435508728, 0.7682285308837891, 0.5592999458312988, -0.0853433907032013, -0.06469759345054626, -0.6384705901145935, -0.4390332102775574, -0.5264912843704224, 0.23002445697784424, -0.13081075251102448, -1.1061882972717285, 0.2623363733291626, 0.1572110652923584, -0.16171574592590332, 0.4452967643737793, 0.8008858561515808, -0.32638785243034363, 1.2232372760772705, 0.5988831520080566, -0.349972665309906, 0.1295265406370163, 0.3840119242668152, 0.19270600378513336, -0.5791876316070557, -0.06182868033647537, -0.5179398059844971, -0.26974761486053467, -0.5272464752197266, -0.1678704023361206, 0.12239126861095428, -0.08542031049728394, 0.06643582135438919, 0.09903783351182938, -0.4732527434825897, 0.4143925607204437, 0.4753897786140442, 0.1225971132516861, 0.544557511806488, -0.261341392993927, 0.1871672421693802, 0.088657908141613, -0.4993670582771301, -0.5733969807624817, 0.9440863728523254, 0.3392316699028015, 0.8545131683349609, 0.042073771357536316, 0.6849043369293213, 0.4516252875328064, 0.40821775794029236, -0.46753963828086853, 0.5873091816902161, 0.42792561650276184, -0.9869572520256042, -0.39577507972717285, -0.3440178632736206, -1.0030814409255981, 0.2865602970123291, -0.06477504968643188, -0.8884831666946411, -0.356114000082016, 0.06616155058145523, -0.49085891246795654, -0.026548707857728004, -0.920597493648529, 0.5632051229476929, -0.25988247990608215, -0.2257775217294693, -0.5228233933448792, -0.6786617636680603, 0.5827447772026062, 0.0968681201338768, 0.35123947262763977, -0.156235933303833, -0.11174505203962326, 0.8820600509643555, -0.22455979883670807, 0.953831672668457, 0.06928043812513351, -0.1379406899213791, 0.34720489382743835, 0.19939890503883362, 0.22999787330627441, 0.23640118539333344, -0.12546755373477936, -0.053020231425762177, -0.4033289849758148, -0.12252844870090485, -0.5722079873085022, 0.6927043199539185, -0.7612041234970093, -1.0774222612380981, -0.36907944083213806, -0.8413135409355164, -0.32793375849723816, 0.1228368952870369, 0.14389440417289734, 0.18046405911445618, -0.06591631472110748, 0.5439576506614685, 0.7153193950653076, -0.10026560723781586, 0.6088830232620239, 0.4389001727104187, -0.5357317924499512, -0.029601003974676132, 0.10194294899702072, -0.30116552114486694, 0.39750921726226807, 0.11132968217134476, 0.2925978899002075, -0.10160946846008301, -0.4232163429260254, -0.2636049687862396, 0.08280618488788605, -0.26558560132980347, -0.030309507623314857, -0.25465619564056396, 0.03662407025694847, -0.20704196393489838, -0.17651629447937012, -0.3351055979728699, -0.24766935408115387, -0.2617557644844055, -0.37625086307525635, 0.3190585672855377, 0.858989417552948, 0.14689123630523682, 0.2976541817188263, -0.59758460521698, 0.46004778146743774, 0.31287676095962524, 0.35150453448295593, 0.17912831902503967, -0.39936476945877075, -0.28476956486701965, 0.20738989114761353, -0.2629583477973938, -0.8694347143173218, 0.13717737793922424, -0.17292125523090363, 0.8646085262298584, 0.3448246717453003, 0.05939352512359619, 0.40487614274024963, -0.1982114315032959, 0.7989235520362854, 0.22080013155937195, -0.95406574010849, 0.3092990815639496, -0.5807919502258301, 0.12170476466417313, 0.18397337198257446, 0.45812320709228516, -0.2134174406528473, -0.47544074058532715, -0.6489269137382507, -0.4045293927192688, 0.7780670523643494, 0.33294254541397095, 0.08376207202672958, 0.13134358823299408, 0.28132376074790955, -0.05316285416483879, 0.15617352724075317, -0.7813207507133484, -0.3234255313873291, 0.21697978675365448, 0.16311606764793396, -0.12522868812084198, -0.4886370599269867, -0.42583227157592773, 0.07356279343366623, 0.3100928068161011, -0.10176830738782883, 0.3481801748275757, 0.39785972237586975, -0.0394478477537632, -0.5991990566253662, 0.3049909174442291, 0.6117002964019775, 1.0016037225723267, 0.006336035672575235, 0.14504893124103546, 0.018173890188336372, 0.0816429853439331, -0.16812266409397125, -0.08516652882099152, 0.12417303025722504, -0.1327136605978012, 0.474353164434433, 0.45595481991767883, 0.30365630984306335, -0.6211053729057312, 0.6122006177902222, -0.046676646918058395, -0.29876279830932617, -0.16178329288959503, 0.08720200508832932, 0.5966529846191406, 0.34378287196159363, 0.4815197288990021, 0.31244832277297974, -0.06415045261383057, -0.7656893730163574, 0.37666916847229004, 0.5265558362007141, -0.1437559276819229, -0.4020692706108093, 0.9502913951873779, 0.08992336690425873, -0.38723382353782654, 0.47280120849609375, 0.19044558703899384, -0.6639032959938049, 0.4864327907562256, 0.5284575819969177, 0.8812311887741089, -0.15677683055400848, 0.3669320046901703, -0.02726822718977928, 0.4294480085372925, -0.18005217611789703, 0.10632100701332092, 0.07996891438961029, -0.9444920420646667, -0.37990421056747437, -0.3145289123058319, -0.5915943384170532, -0.097209133207798, -0.7493996024131775, -0.12551258504390717, -0.2769389748573303, -0.33429139852523804, -0.03625193610787392, -0.11771051585674286, -0.5547195076942444, 0.21233786642551422, 0.3819042444229126, 0.8864758610725403, -0.7071706056594849, 0.9117273688316345, 0.3418505787849426, -0.5455894470214844, -0.8249188661575317, 0.2510620355606079, 0.04382796585559845, -0.9972641468048096, 0.6980706453323364, 0.20871984958648682, -0.32938656210899353, -0.25418949127197266, -0.6727534532546997, -0.7386214137077332, 1.1336970329284668, 0.5061407089233398, -0.31630831956863403, -0.2496296912431717, 0.027294838801026344, 0.6690242886543274, -0.6586524844169617, 0.24608305096626282, 0.23660658299922943, 0.5376341342926025, -0.03344079479575157, -1.1703128814697266, 0.26143115758895874, 0.027520451694726944, 0.27512824535369873, -0.2606053650379181, -0.6781790852546692, 0.9108495712280273, -0.41454917192459106, -0.18166327476501465, 0.11650515347719193, 0.6835008263587952, 0.1357000768184662, 0.3161104917526245, 0.45628488063812256, 0.4808901250362396, 0.6561607718467712, 0.17897428572177887, 1.326374888420105, -0.3504922688007355, 0.17540399730205536, 1.2167032957077026, -0.3064105808734894, 0.8547613620758057, 0.5196752548217773, -0.23536017537117004, 0.7198988795280457, 0.5048405528068542, -0.06355347484350204, 0.26675471663475037, -0.025886699557304382, 0.1003732904791832, -0.4488125443458557, -0.1822618991136551, -0.42318305373191833, 0.5803290605545044, 0.06576616317033768, -0.7059184908866882, -0.2032794952392578, -0.2212769240140915, 0.15106700360774994, 0.2490358203649521, -0.05030856654047966, 0.4871446490287781, 0.2989790439605713, -1.0568464994430542, 0.3761059641838074, -0.08649888634681702, 0.5315211415290833, -0.4813304841518402, 0.2776847183704376, -0.008892538957297802, 0.1930059939622879, -0.36055421829223633, -0.8613799810409546, 0.20760445296764374, -0.13926292955875397, -0.2794833183288574, -0.5196381211280823, 0.6877827644348145, -0.26300427317619324, -0.06230133771896362, 0.43474411964416504, 0.735342800617218, -0.12137410044670105, -0.16088135540485382, -0.6537541747093201, 0.2190232127904892, -0.03589596226811409, -0.5767834782600403, 0.5558313131332397, 0.21546199917793274, 0.07445639371871948, 0.8969626426696777, 0.7315031886100769, -0.18037326633930206, -0.17104248702526093, -0.11902589350938797, 0.6691962480545044, -0.3283011019229889, -0.23763848841190338, -1.1323086023330688, 0.4690203368663788, -0.23012675344944, -0.1320430189371109, 1.20896577835083, 0.5395950078964233, 0.6324757933616638, 0.021093621850013733, 0.8696653842926025, 0.10312491655349731, 0.5959181785583496, -0.32447490096092224, 0.9070723056793213, -0.4814954698085785, 0.30509626865386963, -0.339876264333725, -0.7546833753585815, -0.0906439796090126, 0.3641921579837799, -0.22391431033611298, 0.2656526267528534, 0.82985520362854, 0.825013279914856, 0.30977848172187805, 0.21558985114097595, 0.48558899760246277, 0.49746811389923096, 0.2229119837284088, 0.19770614802837372, 0.8836414813995361, -0.11668702214956284, 0.5889037847518921, 0.011067653074860573, -0.2962036728858948, -0.18457892537117004, -1.0257147550582886, -1.0207149982452393, -0.5925371050834656, -0.23393398523330688, -0.4220082759857178, 0.01753852888941765, 0.7764276266098022, 0.6411046385765076, -0.5874274373054504, -0.5068120956420898, -0.16545875370502472, 0.1663995385169983, -0.07422439754009247, -0.2838388681411743, 0.031477924436330795, -0.36207515001296997, -0.6242923736572266, 0.4074144959449768, 0.21529936790466309, -0.03247319906949997, -0.5088186264038086, -0.2640126645565033, -0.11036370694637299, 0.0972241461277008, 0.41593363881111145, 0.030794860795140266, -1.1077803373336792, -0.38900429010391235, 0.1669810563325882, -0.2110109180212021, 0.009702572599053383, 0.7868925333023071, -0.9194652438163757, 0.3588455617427826, 0.25891509652137756, 0.5804511308670044, 0.29743093252182007, 0.1750456541776657, 1.101921796798706, -0.31229692697525024, -0.07359074801206589, -0.03652274236083031, 0.38553380966186523, 0.3737378418445587, -0.46295249462127686, 0.5841442942619324, 0.1698695421218872, -0.6953811645507812, -0.9353230595588684, 0.11930259317159653, -0.9412707686424255, -0.19626428186893463, 1.1151834726333618, -0.17366929352283478, -0.2754823863506317, -0.025426000356674194, -0.186339870095253, 0.013471168465912342, -0.5774972438812256, 0.9726457595825195, 0.9374672770500183, -0.3149757981300354, -0.3056294322013855, -0.531731367111206, 0.511995792388916, 0.3359653651714325, -0.7257680296897888, 0.2524555027484894, 0.3609794080257416, 0.18820878863334656, 0.15392844378948212, 0.5617470145225525, 0.02189699001610279, 0.3705747127532959, 0.1582527905702591, -0.2617221772670746, -0.20875774323940277, -0.2434156835079193, 0.003746751928701997, 0.20975209772586823, 0.3274988532066345, -0.1567951887845993 ]
http://arxiv.org/abs/2406.02009v2
http://arxiv.org/pdf/2406.02009v2
Phonetic Enhanced Language Modeling for Text-to-Speech Synthesis
2024-06-04T06:43:34
2024-06-12T01:33:56
Kun Zhou, Shengkui Zhao, Yukun Ma, Chong Zhang, Hao Wang, Dianwen Ng, Chongjia Ni, Nguyen Trung Hieu, Jia Qi Yip, Bin Ma
eess.AS
eess.AS, cs.CL, cs.SD
Recent language model-based text-to-speech (TTS) frameworks demonstrate scalability and in-context learning capabilities. However, they suffer from robustness issues due to the accumulation of errors in speech unit predictions during autoregressive language modeling. In this paper, we propose a phonetic enhanced language modeling method to improve the performance of TTS models. We leverage self-supervised representations that are phonetically rich as the training target for the autoregressive language model. Subsequently, a non-autoregressive model is employed to predict discrete acoustic codecs that contain fine-grained acoustic details. The TTS model focuses solely on linguistic modeling during autoregressive training, thereby reducing the error propagation that occurs in non-autoregressive training. Both objective and subjective evaluations validate the effectiveness of our proposed method.
[ -0.1795143187046051, -0.6076759099960327, 0.2110879123210907, 0.2535036504268646, -0.2540417015552521, 0.2310422658920288, -0.3712087571620941, -0.3374718427658081, 0.40834325551986694, 0.4826638996601105, -0.27510496973991394, -0.5566089153289795, -0.4078262746334076, 0.25524142384529114, -0.3960164785385132, 0.4962886869907379, 0.16719284653663635, 0.12533026933670044, 0.23140589892864227, 0.05939335748553276, -0.46516740322113037, -0.8410323858261108, -0.4878026843070984, 0.05263927951455116, 0.0973455160856247, 0.07381913810968399, 0.5000137686729431, 0.902217447757721, 0.05073707550764084, 0.31825748085975647, -0.19690150022506714, 0.034324679523706436, -0.0791921317577362, 0.34816673398017883, 0.1442771553993225, -0.20051158964633942, -0.8334033489227295, -0.14085204899311066, 0.7848436236381531, 0.7222354412078857, -0.3379518985748291, -0.11707828938961029, 0.38345542550086975, 0.17811797559261322, -0.33559292554855347, 0.2863469421863556, -0.7271985411643982, 0.06807669252157211, -0.058502692729234695, -0.3889327347278595, -0.49231985211372375, -0.2225703001022339, 0.12540580332279205, -0.559812068939209, 0.16579082608222961, -0.24305498600006104, 0.15925414860248566, 0.37252306938171387, -0.21509374678134918, -0.1973332315683365, -0.820117175579071, 0.7931644916534424, -0.9872584939002991, 1.0268019437789917, 0.40967002511024475, 0.14654631912708282, -0.2162521779537201, -0.6544903516769409, -0.39153921604156494, -0.41547438502311707, 0.1447925716638565, 0.24501435458660126, 0.12909193336963654, 0.29095253348350525, -0.08456521481275558, 0.27613765001296997, -0.5555801391601562, 0.21571403741836548, -0.06823135912418365, -0.53964763879776, 0.4857262074947357, -0.16061973571777344, 0.32725825905799866, -0.21253104507923126, -0.2880464792251587, -0.3010168671607971, -0.3303776681423187, -0.09565720707178116, 0.4339807629585266, 0.9993047714233398, -0.23136600852012634, 0.6044346690177917, -0.05683577060699463, 0.46368029713630676, 0.3029719591140747, -0.33345866203308105, 0.33924007415771484, -0.18335719406604767, -0.27157244086265564, 0.40636929869651794, 0.7109347581863403, -0.050069376826286316, 0.06090392917394638, -0.3228404223918915, -0.35124069452285767, -0.05257862061262131, 0.02249896340072155, -0.7066470384597778, -0.3520030677318573, 0.14876176416873932, -0.38102656602859497, -0.2941542863845825, -0.3581405580043793, -0.7607905864715576, 0.20830583572387695, -0.42820024490356445, 0.3816129267215729, -0.5939057469367981, -0.5616752505302429, -0.10288503766059875, -0.02444881945848465, -0.35250145196914673, 0.13973884284496307, -1.1023207902908325, 0.2835550308227539, 0.24111562967300415, 0.665230929851532, 0.001668273122049868, -0.3269408047199249, -0.7023048996925354, 0.4835050106048584, -0.5896018743515015, 0.6258731484413147, -0.5666665434837341, -0.736520528793335, 0.024176180362701416, -0.17077580094337463, -0.18918204307556152, -0.7086939811706543, 0.4218943417072296, -0.11970970779657364, 0.06565545499324799, 0.10224821418523788, -0.6891509890556335, 0.1170346811413765, -0.18499301373958588, -0.5328201651573181, 1.271756887435913, 0.24120187759399414, -0.39763355255126953, 0.24042584002017975, -0.39180099964141846, -0.6136670112609863, 0.00562804751098156, -0.0950932428240776, -0.25485876202583313, 0.17191991209983826, 0.47811219096183777, 0.37692469358444214, -0.04001486673951149, 0.5362110137939453, -0.2943115532398224, -0.12828834354877472, 0.057539984583854675, -0.663730263710022, 0.5870786905288696, 0.27112165093421936, -0.42943134903907776, 0.09480100870132446, -0.9380935430526733, 0.20090195536613464, -0.1671358346939087, -0.3581125736236572, -0.36136674880981445, -0.4906132221221924, 0.21328386664390564, 0.024260131642222404, 0.30174750089645386, -0.3147091567516327, 0.10593116283416748, -0.6343656778335571, 0.30554091930389404, 0.6668953895568848, -0.0805036723613739, 0.796246349811554, -0.14795653522014618, 0.5116695761680603, -0.21768634021282196, -0.0229195449501276, -0.22314661741256714, -0.4366055130958557, -0.5194501280784607, -0.6639452576637268, 0.6177318096160889, 0.4565332531929016, -0.5781823992729187, 0.6841618418693542, -0.054358337074518204, -0.30847933888435364, -0.4184333086013794, -0.10412147641181946, 0.367927223443985, 0.48822110891342163, 0.5381332635879517, -0.43205904960632324, -0.7069311738014221, -0.432067334651947, -0.31483155488967896, -0.680590033531189, -0.27399742603302, 0.2253568172454834, -0.07836052775382996, -0.2981622517108917, 0.8918963074684143, 0.1559838503599167, -0.5431855916976929, -0.11242850124835968, 0.33520758152008057, -0.2866705656051636, 0.6628668308258057, 0.5546912550926208, -0.16277818381786346, -0.3242175281047821, -0.09269440174102783, -0.5130792856216431, -0.4076574146747589, -0.02713608928024769, 0.1783009022474289, 0.46193617582321167, 0.6518230438232422, -0.3670773506164551, 0.3357013463973999, 0.47131597995758057, 0.007844855077564716, 0.5269615650177002, -0.3175980746746063, 0.2031707912683487, -1.0264935493469238, -0.0729951336979866, 0.09446338564157486, -0.14557452499866486, -0.637683093547821, -0.10187489539384842, 0.030392998829483986, -0.22793307900428772, -0.2572501301765442, 0.4796987473964691, -0.5052859783172607, -0.42406129837036133, -0.24241997301578522, -0.03312021866440773, 0.035140443593263626, 0.3696543574333191, 0.38409489393234253, 0.9199542999267578, 0.7591288685798645, -0.6015883088111877, 0.113361656665802, 0.09750451892614365, 0.02658252790570259, 0.15356433391571045, -0.5379145741462708, 0.1222735121846199, 0.15062297880649567, 0.20161865651607513, -0.908483624458313, -0.265788197517395, -0.05712848901748657, -0.6546605229377747, 0.6810138821601868, -0.4299823045730591, -0.6536075472831726, -0.032997049391269684, 0.05825675651431084, 0.46124544739723206, 0.5498973727226257, -0.7501358985900879, 0.9066968560218811, 0.5789861679077148, -0.45021378993988037, -0.10405515134334564, -0.7770957350730896, 0.1684023141860962, -0.33666718006134033, -0.39482036232948303, 0.5174757838249207, -0.07650694251060486, 0.10415202379226685, -0.31791990995407104, 0.07063773274421692, -0.3465108871459961, -0.18313321471214294, -0.13599197566509247, 0.10542020946741104, -0.2675725221633911, 0.2242196798324585, 0.2927490174770355, -0.054468706250190735, 0.09256359934806824, -0.5174833536148071, 0.48564112186431885, 0.1532932072877884, -0.08138757199048996, -0.7471413016319275, 0.43011727929115295, 0.652820885181427, -0.3703902065753937, 0.2299194186925888, 0.4319356083869934, -0.3610922694206238, -0.33566299080848694, -0.5111283659934998, -0.41042235493659973, -0.5279569029808044, 0.4795200824737549, -0.4374910593032837, -0.513931930065155, 0.5918189287185669, -0.19987240433692932, -0.19742843508720398, 0.31499409675598145, 0.39613258838653564, -0.03437335789203644, 0.9419803023338318, 0.46995383501052856, -0.14834082126617432, 0.5495281219482422, -0.16213113069534302, 0.027428606525063515, -0.746618390083313, -0.22981983423233032, -0.3863587975502014, 0.4293854832649231, -0.6095806956291199, -0.5701757669448853, 0.36368921399116516, -0.030884452164173126, -0.03866427019238472, 0.5523603558540344, -0.6596483588218689, -0.11410339921712875, 0.5688387155532837, -0.10341820120811462, 0.19883812963962555, 0.5158237814903259, -0.5857822895050049, -0.22926439344882965, -0.9100896716117859, -0.30626434087753296, 1.001954197883606, 0.6322429180145264, 0.8018422722816467, -0.0064215934835374355, 0.8895219564437866, 0.1316022127866745, -0.16081808507442474, -0.6722243428230286, 0.47817718982696533, -0.28962746262550354, -0.2839161455631256, -0.47903740406036377, -0.5322191119194031, -0.4925163984298706, 0.011843515560030937, -0.06964889168739319, -0.44508129358291626, 0.2808248698711395, 0.25079023838043213, -0.43322962522506714, 0.29137617349624634, -0.6154916286468506, 0.4660336673259735, -0.19211336970329285, -0.14964984357357025, -0.11780093610286713, -0.36442655324935913, -0.15161065757274628, -0.12092200666666031, 0.3298660218715668, 0.2642308473587036, 0.23428651690483093, 0.7554261684417725, -0.5175728797912598, 0.9872834086418152, -0.24915313720703125, -0.43713515996932983, 0.3898715376853943, 0.2642301023006439, 0.5695307850837708, -0.03505396470427513, -0.23099951446056366, 0.2117728441953659, -0.16061575710773468, -0.022409094497561455, -0.49960970878601074, 0.6744831800460815, -0.7083606719970703, -0.3059084713459015, -0.0821736752986908, -0.4131251573562622, -0.4171755015850067, -0.014860067516565323, 0.34785181283950806, 0.9478127956390381, -0.12536640465259552, -0.23471525311470032, 0.48617318272590637, -0.24840527772903442, 0.572948157787323, 0.4213428199291229, -0.1658754199743271, -0.752114474773407, 0.7809016704559326, 0.3260699510574341, 0.33297836780548096, 0.15924181044101715, 0.3298724889755249, -0.8149028420448303, -0.8672136664390564, -0.604880690574646, 0.10750051587820053, -0.64690762758255, -0.0610194206237793, -0.7745578289031982, -0.28459617495536804, -1.0457236766815186, 0.1488715559244156, -0.8089826703071594, -0.6614333987236023, -0.6660085320472717, 0.04400401934981346, 0.5067194104194641, 0.6705821752548218, -0.3637562096118927, 0.3991202116012573, -0.788994550704956, 0.39672601222991943, 0.3341798782348633, 0.5367790460586548, 0.018223820254206657, -1.200043797492981, -0.2913675904273987, 0.11087655276060104, 0.032678183168172836, -0.7646710872650146, 0.8291184902191162, 0.3334159255027771, 0.4841965138912201, -0.01597408391535282, 0.15526027977466583, 0.928708016872406, -0.6697213649749756, 0.6650726199150085, 0.10698890686035156, -0.9224202036857605, 0.7802739143371582, -0.5489171743392944, 0.31088167428970337, 0.19822958111763, -0.12185195088386536, -0.02298717014491558, -0.8610034584999084, -0.5658081769943237, -0.8899147510528564, 0.21941763162612915, 0.4090237319469452, 0.008444366045296192, -0.21260422468185425, 0.3676067292690277, 0.07111431658267975, -0.07716762274503708, -0.5913785696029663, -0.25805526971817017, -0.5657274723052979, -0.2850155234336853, 0.13982905447483063, -0.3512553870677948, 0.4683886468410492, -0.22933755815029144, 1.0318751335144043, -0.12855112552642822, 0.3129974901676178, 0.331398606300354, 0.10847871005535126, -0.21746838092803955, 0.25405940413475037, 0.3685065507888794, 0.0689222663640976, -0.21429714560508728, -0.12481658160686493, 0.11561355739831924, -0.4677385687828064, 0.08370409160852432, 0.3795982301235199, 0.08190938830375671, 0.34589213132858276, 0.2384706437587738, 0.6743974089622498, 0.11603444069623947, -0.31039589643478394, 0.2569606900215149, -0.07360625267028809, -0.06089526787400246, -0.4739818274974823, -0.16129356622695923, -0.17600786685943604, 0.20038768649101257, 0.5239311456680298, 0.16394339501857758, 0.38001900911331177, -0.5124682188034058, 0.413190633058548, 0.3271922171115875, -0.32109788060188293, -0.37402886152267456, 0.918998658657074, 0.37928321957588196, -0.3329739570617676, 0.2620019316673279, 0.0076577248983085155, -0.43461138010025024, 0.4719700813293457, 0.7140002846717834, 1.018006443977356, -0.9183622002601624, -0.07113238424062729, 0.5412976741790771, 0.17568546533584595, -0.18602557480335236, 0.20255348086357117, -0.12033364176750183, -0.30956387519836426, -0.41296082735061646, -0.5951265096664429, -0.3076117932796478, 0.1965056210756302, -0.5992118120193481, 0.3213891386985779, -0.3151383697986603, -0.5001938939094543, -0.1810094267129898, -0.4011755585670471, -0.20833490788936615, 0.7022457122802734, 0.16059885919094086, 0.4532444477081299, -0.6229637861251831, 1.1880075931549072, 0.3123002052307129, -0.0800233855843544, -1.0858538150787354, 0.24918130040168762, -0.2616507112979889, -0.5403711199760437, 0.6408935189247131, -0.06931562721729279, -0.3575284779071808, 0.16051128506660461, 0.10916534066200256, -1.0104007720947266, 0.6094955801963806, 0.7280887961387634, -0.7024052143096924, -0.12394615262746811, 0.461970716714859, 0.641618549823761, -0.4840437173843384, 0.2238791286945343, 0.3395306169986725, 0.07553320378065109, 0.11505494266748428, -1.4809982776641846, -0.262173593044281, -0.1281130164861679, 0.20536145567893982, -0.2365996539592743, -0.3514105975627899, 0.5775062441825867, -0.0927017405629158, -0.35445019602775574, 0.3492763638496399, 0.8387992978096008, 0.24859671294689178, -0.021554725244641304, 0.49188923835754395, 0.43084749579429626, 0.736667811870575, 0.15633396804332733, 0.7400919198989868, -0.5344021916389465, 0.15573807060718536, 1.402427315711975, -0.17774976789951324, 0.9020984768867493, 0.3569808900356293, -0.1063133254647255, 0.2566192150115967, 0.6006017327308655, 0.20324504375457764, 0.7941511273384094, -0.08342400938272476, -0.29109498858451843, -0.141261026263237, -0.10606210678815842, -0.6097754240036011, 0.6119444370269775, 0.34733664989471436, -0.6045781970024109, 0.06069294363260269, 0.28429850935935974, -0.521697461605072, 0.2301001101732254, -0.2632920742034912, 0.9179108738899231, -0.08599396795034409, -0.5322773456573486, 0.9567978978157043, -0.07492286711931229, 0.6521083116531372, -0.2174876630306244, -0.0328812338411808, -0.06401996314525604, -0.06595662981271744, 0.016471920534968376, -0.4254525899887085, 0.2838762104511261, -0.08932420611381531, -0.160873144865036, -0.324188768863678, 0.6100719571113586, -0.8483215570449829, -0.5933453440666199, 0.597081184387207, 0.3152942657470703, 0.1358002871274948, -0.038925107568502426, -0.4315117597579956, 0.12007378041744232, -0.004213431384414434, 0.1762566864490509, 0.13979455828666687, 0.6329214572906494, 0.1462298184633255, 0.5769131183624268, 0.5833269357681274, 0.1742488592863083, 0.31903719902038574, 0.5380070209503174, 0.649056613445282, -0.44686731696128845, -0.9201543927192688, -0.5606219172477722, 0.2533448338508606, 0.26566100120544434, 0.07257411628961563, 0.6998416185379028, 0.6978902816772461, 0.608999490737915, -0.10055149346590042, 0.980839192867279, 0.44053417444229126, 0.8362669348716736, -0.7094601988792419, 0.6797361969947815, -0.39912375807762146, 0.5309262275695801, -0.44124719500541687, -0.8752247095108032, -0.09864000976085663, 0.6873658299446106, 0.10051457583904266, 0.1962185651063919, 0.3423975110054016, 0.8226022720336914, -0.005582137499004602, 0.19194771349430084, 0.5447120666503906, 0.3128300607204437, 0.09913551807403564, -0.062074676156044006, 0.6750243306159973, -0.5661890506744385, 0.429495245218277, -0.4167564809322357, -0.16396041214466095, -0.10025087743997574, -0.6275291442871094, -0.9094732403755188, -0.6007221341133118, -0.6142393946647644, -0.3401245176792145, 0.17381666600704193, 0.9363856911659241, 0.7968366146087646, -0.713470995426178, -0.38995781540870667, -0.3351660966873169, -0.4088808298110962, 0.048618659377098083, -0.23782943189144135, 0.3892366588115692, -0.49086159467697144, -0.8329204320907593, 0.8684213757514954, 0.13917496800422668, 0.7986599802970886, -0.20496103167533875, 0.02733132801949978, 0.3615102767944336, 0.1565694808959961, 0.5592420101165771, 0.14179418981075287, -0.8353232741355896, -0.04500547796487808, 0.07087204605340958, 0.13078272342681885, 0.23601584136486053, 0.5499062538146973, -0.9582117795944214, 0.7217913866043091, 0.11841779947280884, 0.3170754015445709, 0.28997084498405457, -0.24777008593082428, 0.8291018605232239, -0.8741949796676636, 0.37645095586776733, 0.297865629196167, 0.4132283627986908, 0.6211655735969543, -0.4731593430042267, 0.0938425362110138, 0.0723581314086914, -0.3512999713420868, -0.8418049812316895, -0.015278425067663193, -0.8423417210578918, -0.14569535851478577, 1.213689923286438, -0.05131040886044502, -0.072591632604599, -0.10219155251979828, -0.03523927554488182, 0.6209131479263306, -0.7202247977256775, 0.7536466717720032, 0.14615565538406372, 0.1219496876001358, -0.12772709131240845, -0.3142684996128082, 0.6167953610420227, 0.5223429203033447, -0.5034696459770203, 0.3762877285480499, 0.41525542736053467, 0.21778987348079681, 0.03188555687665939, 0.549961507320404, -0.2577293813228607, 0.19062387943267822, 0.0246510561555624, 0.032430391758680344, 0.09161338955163956, -0.5383116006851196, -0.3977394998073578, 0.024872181937098503, 0.11558099091053009, -0.12739042937755585 ]
http://arxiv.org/abs/2406.02004v2
http://arxiv.org/pdf/2406.02004v2
Efficiently Train ASR Models that Memorize Less and Perform Better with Per-core Clipping
2024-06-04T06:34:33
2024-06-05T21:44:10
Lun Wang, Om Thakkar, Zhong Meng, Nicole Rafidi, Rohit Prabhavalkar, Arun Narayanan
cs.CR
cs.CR, cs.CL, cs.SD, eess.AS
Gradient clipping plays a vital role in training large-scale automatic speech recognition (ASR) models. It is typically applied to minibatch gradients to prevent gradient explosion, and to the individual sample gradients to mitigate unintended memorization. This work systematically investigates the impact of a specific granularity of gradient clipping, namely per-core clip-ping (PCC), across training a wide range of ASR models. We empirically demonstrate that PCC can effectively mitigate unintended memorization in ASR models. Surprisingly, we find that PCC positively influences ASR performance metrics, leading to improved convergence rates and reduced word error rates. To avoid tuning the additional hyperparameter introduced by PCC, we further propose a novel variant, adaptive per-core clipping (APCC), for streamlined optimization. Our findings highlight the multifaceted benefits of PCC as a strategy for robust, privacy-forward ASR model training.
[ -0.35643547773361206, -0.4216488301753998, -0.04629633575677872, 0.15036284923553467, -0.1865328997373581, 0.06657405197620392, -0.19518879055976868, -0.1531347632408142, -0.060467954725027084, 0.3521881699562073, -0.49119484424591064, -0.38368692994117737, -0.26888829469680786, -0.16997209191322327, -0.43883076310157776, 0.7888574004173279, 0.3468596339225769, 0.11704651266336441, -0.036282118409872055, -0.14067131280899048, -0.27146637439727783, -0.9675378203392029, -0.7210034132003784, -0.4844650626182556, 0.013478942215442657, 0.41938820481300354, 0.3667128086090088, 1.0499716997146606, 0.5845596790313721, 0.2225254774093628, -0.5434659719467163, 0.024364566430449486, -0.378172367811203, -0.23357965052127838, 0.11831249296665192, -0.4262847900390625, -0.6180281043052673, 0.03053213655948639, 0.8749475479125977, 0.5407528877258301, -0.5733897089958191, 0.1622413843870163, 0.1338099092245102, 0.5567817091941833, -0.9890504479408264, -0.0026176529936492443, -0.907992959022522, 0.2736772894859314, -0.1878708153963089, -0.219297394156456, -0.16304954886436462, 0.10452082753181458, 0.15228921175003052, -0.264588326215744, 0.5501483082771301, -0.39777761697769165, 0.6251049041748047, 0.3155519366264343, 0.32081207633018494, -0.12755875289440155, -0.7715604305267334, 0.6130226254463196, -0.47400856018066406, 0.4546894431114197, 0.543222963809967, 0.35285285115242004, 0.25167718529701233, -0.6324785947799683, -0.3140186369419098, -0.13349516689777374, 0.5511903166770935, 0.15116211771965027, -0.20457066595554352, 0.30499136447906494, 0.4608366787433624, 0.5184343457221985, -0.028009042143821716, 0.08160951733589172, -0.32938244938850403, -0.4275815784931183, 0.3078143894672394, 0.3244207501411438, 0.09890531003475189, 0.0675169825553894, -0.4759488105773926, -0.228221133351326, -0.6589730978012085, 0.6402661204338074, 0.37794414162635803, 0.43632665276527405, 0.15991511940956116, 0.13786284625530243, 0.004762147553265095, 0.40807583928108215, 0.4348229467868805, -0.1463083177804947, 0.10801566392183304, -0.27559131383895874, 0.0015927634667605162, 0.27382367849349976, 0.5531550645828247, 0.054262567311525345, 0.183080792427063, -0.08329310268163681, -0.15816231071949005, 0.06874456256628036, 0.2101341038942337, -0.7019999027252197, -0.634911060333252, -0.17706957459449768, -0.48140621185302734, -0.01557400543242693, 0.2645517885684967, -0.5544711947441101, -0.054785892367362976, -0.3608018159866333, 0.11755546927452087, -0.3673907518386841, 0.18951454758644104, 0.26427292823791504, -0.23133155703544617, 0.09262391179800034, 0.3342911899089813, -0.8571741580963135, 0.8923774361610413, 0.8083475828170776, 1.1358522176742554, -0.15995606780052185, -0.5730969905853271, -0.896573543548584, 0.35068994760513306, -0.03696895390748978, 0.9058171510696411, -0.5981730222702026, -0.9935814142227173, -0.20776914060115814, -0.13019879162311554, -0.2589675784111023, -0.9598643779754639, 0.6475391983985901, -0.07297226786613464, -0.5048988461494446, -0.6439781188964844, -0.3383672833442688, -0.13407963514328003, -0.008059738203883171, -0.5161688923835754, 0.721076488494873, -0.5014308094978333, -0.7886150479316711, 0.11991178244352341, -0.41283854842185974, -0.5409311056137085, -0.12299063801765442, -0.2501116096973419, -0.509903609752655, 0.13373629748821259, 0.4128762185573578, 0.22019338607788086, -0.12723928689956665, -0.4470195472240448, -0.13924138247966766, -0.44259214401245117, 0.20798441767692566, -0.286660760641098, 0.7466989159584045, -0.06321866065263748, -0.32147523760795593, 0.09564666450023651, -0.6109206080436707, 0.0655321478843689, -0.4211295545101166, -0.6884032487869263, -0.051969174295663834, 0.1008504256606102, -0.11646182835102081, 0.12185625731945038, -0.165993794798851, -0.563431978225708, -0.16541266441345215, -0.017984844744205475, 0.7255591750144958, 0.7319979071617126, 0.1379038393497467, 0.36940252780914307, -0.6603168249130249, 0.5948849320411682, -0.08885661512613297, 0.22529540956020355, -0.1723475158214569, -0.22992511093616486, -0.5898823738098145, -0.8616771697998047, 0.25354743003845215, 0.6323960423469543, -0.2586805820465088, 0.49826255440711975, -0.01840871386229992, -0.47919464111328125, -0.40389883518218994, 0.05860156565904617, 0.6965200901031494, 0.8323344588279724, 0.49002403020858765, -0.8071891069412231, -0.5594437122344971, -0.5033663511276245, -0.4854963421821594, -0.04497499018907547, -0.3185230791568756, 0.8095209002494812, 0.22743605077266693, -0.09431316703557968, 0.9424517154693604, -0.4570949375629425, -0.662723183631897, -0.12630216777324677, 0.08250942826271057, -0.1448344588279724, 0.5765243172645569, 0.24904827773571014, -0.5006449222564697, -0.6409270167350769, -0.25950559973716736, 0.17119677364826202, -0.09112442284822464, -0.14276841282844543, 0.06328372657299042, -0.3678250014781952, 0.6836653351783752, -0.42143917083740234, 0.5515744090080261, 0.12572449445724487, 0.29208675026893616, 0.8346213698387146, -0.17874760925769806, -0.05211126431822777, -0.2562503516674042, 0.3035626709461212, -0.08396000415086746, -0.30577540397644043, -0.7455377578735352, -0.31983625888824463, 0.014055940322577953, -0.2505537271499634, -0.4551095962524414, 0.06169899180531502, -0.40587878227233887, -0.02854090742766857, -0.18712638318538666, -0.15871313214302063, -0.11269378662109375, 0.21263733506202698, 0.1595015674829483, 1.113590955734253, 0.5332330465316772, -0.8710877299308777, -0.1418958455324173, 0.6322607398033142, -0.2050226628780365, 0.26939472556114197, -0.7686710357666016, 0.45636436343193054, -0.044671013951301575, 0.5131697058677673, -0.5064824223518372, 0.17255237698554993, -0.2345450222492218, -0.5644515752792358, 0.35939812660217285, -0.38984158635139465, -0.3479730486869812, -0.20352306962013245, -0.6555996537208557, 0.4493885934352875, 0.6654093265533447, -0.7515349388122559, 0.5630742311477661, 0.651007890701294, 0.08852127939462662, -0.5934885740280151, -0.8995000123977661, -0.20888154208660126, -0.2645244598388672, -0.18448898196220398, 0.3911413848400116, -0.028142224997282028, 0.14508652687072754, -0.5003524422645569, -0.42794445157051086, -0.27027207612991333, 0.06582751870155334, 0.4553764760494232, -0.15456202626228333, -0.08239401131868362, -0.23250019550323486, -0.27296751737594604, -0.10294388979673386, -0.06638596951961517, -0.21202361583709717, 0.6900090575218201, -0.27509355545043945, -0.311286985874176, -0.8173717856407166, 0.33471179008483887, 0.4107557237148285, -0.5038547515869141, 0.4354000985622406, 0.37629932165145874, -0.19103090465068817, -0.23297347128391266, -0.6183628439903259, -0.26005733013153076, -0.4967899024486542, 0.37546128034591675, -0.3464553952217102, -0.6419264078140259, 0.879741370677948, -0.04800969734787941, -0.1925194263458252, 0.07113509625196457, 0.5069659948348999, -0.12116564810276031, 0.6670138835906982, 0.696578860282898, -0.38925933837890625, 0.9048817157745361, -0.30881527066230774, -0.10558134317398071, -1.3776626586914062, -0.07164092361927032, -0.7035842537879944, -0.03731878846883774, -0.11277054250240326, -0.830078125, 0.5267575979232788, 0.10300517082214355, -0.3034285306930542, 0.16412578523159027, -0.5182514786720276, 0.7044009566307068, 0.5230537056922913, 0.25368136167526245, 0.3531120717525482, 0.3065997362136841, 0.004347610753029585, 0.009483475238084793, -0.8502921462059021, -0.24396991729736328, 0.9658467173576355, 0.5438829064369202, 0.9071440696716309, -0.2662973403930664, 0.29573187232017517, 0.08418899029493332, -0.2748701572418213, -0.6500634551048279, 0.46668732166290283, -0.7101492285728455, -0.5129979252815247, -0.09661427140235901, -0.515987753868103, -0.40840214490890503, 0.20005513727664948, 0.049611110240221024, -0.7803585529327393, 0.4459700882434845, 0.826036274433136, -0.695729672908783, 0.5891352295875549, -0.26666250824928284, 0.3442137539386749, 0.04960049316287041, 0.007688550744205713, -0.18564021587371826, -0.7493062615394592, -0.11338852345943451, 0.293639600276947, -0.27513280510902405, -0.10575475543737411, -0.08059124648571014, 0.7711255550384521, -0.4656151235103607, 0.6870253682136536, -0.3026673495769501, 0.6009871363639832, 0.6364495754241943, 0.010750280693173409, 0.40841853618621826, -0.22307103872299194, 0.0736832544207573, 0.3726379871368408, -0.131026953458786, -0.2521378993988037, -0.18245282769203186, 0.2923597991466522, -0.7612506747245789, -0.38855254650115967, -0.09135023504495621, -0.4787970781326294, -0.273453027009964, -0.21202510595321655, 0.6820927858352661, 0.6050314903259277, -0.17639228701591492, 0.19611887633800507, 0.8909034729003906, 0.09663543850183487, 0.35020875930786133, 0.40284210443496704, 0.5136121511459351, -0.47701266407966614, 0.9667547345161438, 0.2581978440284729, 0.46530064940452576, 0.3484312891960144, 0.2725208103656769, -0.0015290871961042285, -0.7736460566520691, -0.06585729122161865, 0.25262513756752014, -0.6030430793762207, -0.17529235780239105, -0.9483718276023865, -0.34234312176704407, -0.2952539324760437, -0.31732913851737976, -0.7426262497901917, -0.5175697207450867, -0.6894899606704712, 0.10315003246068954, 0.10760259628295898, 0.15731431543827057, -0.280977338552475, 0.7169716358184814, -0.6463937759399414, -0.015228865668177605, 0.49379557371139526, 0.26065704226493835, 0.25303709506988525, -0.7711855173110962, 0.0439317561686039, -0.16640764474868774, -0.3324515223503113, -0.3920966684818268, 0.2684360444545746, 0.8514251708984375, 0.3977644741535187, 0.5819851160049438, -0.03400598093867302, 1.0365517139434814, -1.0098856687545776, 0.6738543510437012, 0.25452136993408203, -1.2454218864440918, 0.2257954627275467, -0.3979191482067108, 0.6381909847259521, 1.0464223623275757, 0.09760887175798416, -0.6564680337905884, 0.03804447129368782, -0.3763938248157501, -0.8747301697731018, 0.6668446063995361, -0.10691412538290024, 0.048158444464206696, 0.11929468810558319, 0.3730821907520294, -0.06784278154373169, 0.34776514768600464, -0.11746026575565338, -0.15980061888694763, -0.41877779364585876, 0.012208772823214531, 0.07134349644184113, -0.438407301902771, -0.24623064696788788, -0.40867775678634644, 0.5810299515724182, -0.2075498104095459, 0.34892821311950684, 0.405280739068985, -0.11640109121799469, -0.09480578452348709, -0.062040407210588455, 0.6013854742050171, 0.244475319981575, -0.10832684487104416, 0.10265245288610458, 0.4253321886062622, -0.8915321230888367, -0.02766801044344902, -0.09597078710794449, -0.11454037576913834, -0.10721041262149811, 0.24600161612033844, 0.6604533195495605, 0.09976401925086975, -0.6341697573661804, 0.6788364052772522, -0.255237877368927, -0.1166386678814888, -0.2718667984008789, 0.18499648571014404, -0.1872667819261551, 0.017853325232863426, 0.2805284559726715, 0.26571688055992126, 0.37511998414993286, -0.33578991889953613, 0.4057117998600006, 0.5484635233879089, -0.6174064874649048, -0.5648144483566284, 0.6089352965354919, 0.2084071785211563, -0.43367236852645874, 0.7409037947654724, 0.2597928047180176, -1.065056324005127, 0.6489952206611633, 0.38870543241500854, 0.8371283411979675, -0.5673723816871643, -0.15453201532363892, 0.1590351164340973, 0.18966977298259735, -0.298912912607193, -0.058456603437662125, -0.6233024597167969, -0.378000408411026, -0.020219767466187477, -0.21748359501361847, -0.6315247416496277, -0.21535401046276093, -1.0880513191223145, 0.1900160312652588, -1.0303231477737427, -0.36240965127944946, -0.012828611768782139, -0.17829035222530365, -0.4668649733066559, 0.02089005894958973, 0.20646552741527557, 1.1326366662979126, -0.7982286214828491, 0.767528772354126, 0.6647791862487793, 0.05320324748754501, -0.8535277247428894, 0.23141294717788696, 0.16326060891151428, -0.5489113926887512, 0.22189004719257355, 0.2123471051454544, -0.5056298971176147, -0.21607740223407745, -0.2181926667690277, -0.9302688837051392, 0.85772705078125, 0.3036026954650879, -0.48145419359207153, -0.0003326181322336197, -0.09285804629325867, 0.48177486658096313, -0.39732709527015686, 0.038916684687137604, 0.7992753386497498, -0.2066219002008438, 0.22602930665016174, -1.2933745384216309, -0.3667077124118805, -0.05044255033135414, 0.17168453335762024, -0.009131103754043579, -0.9604112505912781, 1.1033594608306885, -0.1161121129989624, -0.3829360604286194, -0.10952870547771454, 0.3175349235534668, 0.11219273507595062, 0.04313164949417114, 0.608123779296875, 0.3992469906806946, 0.8442853093147278, 0.16134244203567505, 0.9026663303375244, -0.14164020121097565, 0.3295285999774933, 1.4516665935516357, -0.10563858598470688, 0.8440701365470886, 0.24916015565395355, -0.24422670900821686, 0.12626242637634277, 0.24840685725212097, -0.09156195819377899, 0.7089105248451233, 0.21666085720062256, -0.32709577679634094, -0.24637852609157562, -0.25402918457984924, -0.2595083713531494, 0.6025473475456238, 0.18455711007118225, -0.12877200543880463, 0.03832218050956726, -0.006953704636543989, 0.24169117212295532, 0.11521915346384048, -0.6779541373252869, 0.8246042132377625, 0.07351382076740265, -0.1534043401479721, 0.6091331839561462, -0.31042954325675964, 0.724395215511322, -0.5589585304260254, 0.28422582149505615, -0.0516696572303772, 0.47053903341293335, -0.2868734300136566, -0.05115259066224098, 0.2766920328140259, 0.06696613878011703, -0.5678378939628601, -0.021026315167546272, 0.4735829830169678, -0.43552324175834656, -0.22926488518714905, 0.019594397395849228, -0.05682123824954033, 0.12409855425357819, -0.22353805601596832, -0.7577610015869141, 0.18877577781677246, -0.0017384655075147748, 0.21219947934150696, 0.40098071098327637, -0.006300113629549742, 0.26234355568885803, 0.7897226214408875, 0.604462742805481, 0.4351317584514618, 0.2239677608013153, -0.18116453289985657, 1.1772218942642212, -0.3000698983669281, -0.9505689740180969, -0.7516018748283386, 0.2146172672510147, -0.0314769521355629, -0.3586843013763428, 0.6800029873847961, 0.5571474432945251, 0.7160109877586365, 0.008488968946039677, 0.49468693137168884, 0.43240663409233093, 0.8560044169425964, -0.22571122646331787, 0.779738187789917, -0.016003116965293884, 0.39591363072395325, -0.3569592237472534, -0.41053643822669983, -0.2805273234844208, 0.771427571773529, -0.2885551154613495, -0.029456567019224167, 0.5115957856178284, 0.48688772320747375, -0.07205761969089508, 0.1569812148809433, 0.16773274540901184, 0.03790732100605965, 0.5162025094032288, 0.37818077206611633, 0.6690354943275452, -0.23122787475585938, 0.6717029809951782, -0.505048394203186, -0.3060530424118042, 0.02080991119146347, -0.6291941404342651, -1.1336945295333862, -0.30057311058044434, -0.4518420100212097, -0.14456838369369507, 0.14441771805286407, 0.8490060567855835, 1.1337294578552246, -0.869141161441803, -0.4648142158985138, -0.01111762784421444, -0.2557133734226227, -0.30605921149253845, -0.09389779716730118, 0.48443710803985596, -0.07279586791992188, -0.34074217081069946, 0.428423136472702, 0.33079448342323303, 0.19401033222675323, 0.2933151125907898, 0.19836437702178955, -0.03138568997383118, 0.1494579166173935, 0.09081084281206131, 0.7068526744842529, -0.4779234230518341, -0.06949391961097717, -0.28313398361206055, 0.21771825850009918, 0.5266732573509216, 1.4451085329055786, -0.721972644329071, 0.44549793004989624, 0.08745970577001572, 0.7810149192810059, 0.5197862982749939, 0.5760733485221863, 0.4331032633781433, -0.8104825019836426, 0.4213448464870453, 0.6816781163215637, -0.06763245165348053, 0.4179975986480713, -0.383125364780426, 0.1360168606042862, 0.09539345651865005, -0.6586262583732605, -1.037331461906433, 0.1398443579673767, -0.7584109306335449, 0.004431455861777067, 0.9701501131057739, -0.464508593082428, -0.27373141050338745, -0.11332310736179352, -0.08313043415546417, -0.05956868827342987, -0.6710445880889893, 0.6646360754966736, 0.3577834963798523, -0.29969409108161926, -0.06583037227392197, -0.19531099498271942, 0.849894106388092, 0.5266843438148499, -0.40956082940101624, 0.4425557553768158, 0.19953300058841705, 0.4175439476966858, -0.03369482606649399, 0.8125600814819336, -0.10844386368989944, 0.49129706621170044, 0.10439373552799225, -0.06715796142816544, -0.3214607536792755, -0.5244579911231995, -0.875289797782898, 0.2500769793987274, 0.03471283242106438, -0.5439532995223999 ]
http://arxiv.org/abs/2406.02002v1
http://arxiv.org/pdf/2406.02002v1
Position Debiasing Fine-Tuning for Causal Perception in Long-Term Dialogue
2024-06-04T06:33:13
2024-06-04T06:33:13
Shixuan Fan, Wei Wei, Wendi Li, Xian-Ling Mao, Wenfeng Xie, Dangyang Chen
cs.CL
cs.CL, cs.AI
The core of the dialogue system is to generate relevant, informative, and human-like responses based on extensive dialogue history. Recently, dialogue generation domain has seen mainstream adoption of large language models (LLMs), due to its powerful capability in generating utterances. However, there is a natural deficiency for such models, that is, inherent position bias, which may lead them to pay more attention to the nearby utterances instead of causally relevant ones, resulting in generating irrelevant and generic responses in long-term dialogue. To alleviate such problem, in this paper, we propose a novel method, named Causal Perception long-term Dialogue framework (CPD), which employs perturbation-based causal variable discovery method to extract casually relevant utterances from the dialogue history and enhances model causal perception during fine-tuning. Specifically, a local-position awareness method is proposed in CPD for inter-sentence position correlation elimination, which helps models extract causally relevant utterances based on perturbations. Then, a casual-perception fine-tuning strategy is also proposed, to enhance the capability of discovering the causal invariant factors, by differently perturbing causally relevant and non-casually relevant ones for response generation. Experimental results on two datasets prove that our proposed method can effectively alleviate the position bias for multiple LLMs and achieve significant progress compared with existing baselines.
[ -0.4437430202960968, -1.0466562509536743, 0.9584186673164368, 0.30540719628334045, -0.43117204308509827, -0.2876707911491394, -0.3125479519367218, -0.3425105810165405, 0.14659298956394196, 0.6813596487045288, -0.6240531206130981, -0.5622584223747253, -0.5084182620048523, 0.134921133518219, 0.0873195081949234, 0.6935842037200928, 0.26830965280532837, 0.09926240146160126, -0.08793991804122925, -0.08617677539587021, -0.7787773013114929, -0.47825419902801514, -0.8483125567436218, -0.14655163884162903, 0.6599627137184143, 0.3449740707874298, 0.4501151144504547, 0.24642902612686157, 0.2646964192390442, 0.2311018854379654, -0.2903312146663666, 0.20488134026527405, -0.6566323041915894, 0.13999435305595398, -0.5473060607910156, -0.32661452889442444, -0.2347758263349533, -0.31367164850234985, 0.7009440064430237, 0.7633239030838013, -0.038158971816301346, -0.08140506595373154, 0.34022730588912964, 0.42202553153038025, -0.6651036143302917, 0.3442034125328064, -0.6195698976516724, -0.08677893877029419, -0.09880221635103226, -0.4446440637111664, -0.47306185960769653, -0.21143639087677002, 0.24834084510803223, -0.42096051573753357, 0.28627318143844604, -0.07383731752634048, 0.5907315015792847, 0.5396421551704407, -0.6910326480865479, 0.38669154047966003, -0.8964986801147461, 0.8368416428565979, -1.0171449184417725, 0.39674729108810425, 0.46618548035621643, 0.07486651837825775, -0.5779492259025574, 0.05148056522011757, -0.5388426184654236, -0.10188090801239014, -0.22817248106002808, 0.07178804278373718, 0.02689209021627903, 0.3131742477416992, 0.3981245160102844, -0.09471983462572098, -0.2299034148454666, 0.339445024728775, 0.13761071860790253, -0.09307114034891129, 0.4179971516132355, 0.22045911848545074, -0.10557568073272705, -0.2559427320957184, -0.4181338846683502, 0.08962944895029068, -0.9291436672210693, 0.16965781152248383, 0.23427999019622803, 0.4569496214389801, -0.061189815402030945, 0.2880856394767761, -0.5126091837882996, 0.7507914304733276, 0.6434719562530518, -0.1186804324388504, -0.06740722805261612, -0.39016640186309814, -0.38511383533477783, 0.3416665494441986, 0.6015770435333252, 0.520251452922821, -0.07816844433546066, 0.059585440903902054, 0.27320975065231323, -0.02876451425254345, 0.13715149462223053, -0.6544994115829468, 0.01977161131799221, -0.05658913776278496, -0.28141552209854126, -0.4114122986793518, -0.1034276932477951, -0.6333447098731995, -0.7902932167053223, -0.6129749417304993, 0.11682529747486115, -0.1802823394536972, -0.00022076770255807787, 0.336592435836792, 0.2314075082540512, 0.3153696358203888, 0.4186593294143677, -0.8762524724006653, -0.027240000665187836, 0.5310823321342468, 0.3908572196960449, 0.06496557593345642, -0.04755657911300659, -0.6995044946670532, 0.5018516778945923, -0.2895923852920532, 0.7647207975387573, -0.5181722044944763, -0.4008604884147644, -0.07291340082883835, 0.012605586089193821, 0.0944049134850502, -0.3399448096752167, 0.6534523367881775, -0.344251424074173, 0.16463786363601685, -0.29370713233947754, -0.16718193888664246, -0.1580321192741394, 0.14469574391841888, -0.35782721638679504, 0.6020767092704773, -0.1803666651248932, -0.8657697439193726, 0.6535722613334656, -0.1796404868364334, -0.39045560359954834, -0.4025185704231262, -0.41095197200775146, -0.5203458070755005, 0.17849594354629517, 0.6568009257316589, 0.5135822892189026, -0.6109297275543213, 0.9871390461921692, -0.6874913573265076, -0.2839365303516388, 0.12427139282226562, -0.7510872483253479, 0.47673308849334717, -0.09326634556055069, -0.6553789973258972, 0.13821326196193695, -0.9086355566978455, -0.5054218173027039, -0.2774676978588104, 0.10559773445129395, -0.6891905665397644, 0.4556777775287628, -0.6533404588699341, 0.4061393737792969, 0.12978674471378326, -0.502215564250946, 0.05547298863530159, -0.6471843123435974, 0.17152701318264008, 0.8581436276435852, 0.6571263670921326, 0.37824711203575134, 0.05363765358924866, 0.11947114020586014, 0.37821394205093384, 0.2672090232372284, -0.03133292496204376, -0.12141824513673782, -0.8390058279037476, -0.23669056594371796, -0.2583075165748596, 0.3071797788143158, -0.46914517879486084, 0.8751075267791748, -0.10811000317335129, -0.17976656556129456, -0.04547709599137306, 0.11232001334428787, 0.4905480742454529, 0.8407728672027588, 0.36196330189704895, -0.19118444621562958, -0.32804128527641296, -1.001983404159546, -0.3041071891784668, -0.22941075265407562, 0.0035627991892397404, 0.29047003388404846, -0.13137049973011017, -0.27508875727653503, 0.9549261331558228, -0.8340874910354614, -0.343501478433609, 0.15285006165504456, 0.25956544280052185, 0.27590176463127136, 0.45957931876182556, 0.35093939304351807, -0.6411711573600769, -0.06751534342765808, -0.3012228310108185, -0.5630257725715637, -0.14202144742012024, -0.33171388506889343, -0.19372287392616272, 0.24960218369960785, 0.8549838066101074, -0.3949460983276367, 0.47200921177864075, 0.2516181468963623, -0.46422407031059265, 0.3240101933479309, 0.01822032779455185, 0.2119823396205902, -0.9549407958984375, 0.09346114844083786, 0.0941588506102562, -0.012457660399377346, -0.27821457386016846, -0.3717283010482788, -0.22226886451244354, 0.0038643847219645977, -0.2242688536643982, 0.4524509608745575, -0.24314071238040924, 0.30707836151123047, 0.03776150941848755, 0.3384452760219574, -0.15261700749397278, 0.7562597990036011, 0.10044000297784805, 0.30826336145401, 0.440542608499527, -0.6650769710540771, -0.12040881812572479, 0.21500033140182495, -0.5733178853988647, 0.5937293171882629, -0.47290927171707153, -0.0036164182238280773, -0.2573719024658203, 0.5606549382209778, -1.2806285619735718, -0.09614937752485275, 0.23483632504940033, -0.06364728510379791, 0.32494547963142395, -0.11123973876237869, -0.18842190504074097, -0.11388736963272095, -0.19554638862609863, 0.5613287091255188, 0.013837493024766445, -0.5033796429634094, 0.2630959749221802, 0.2125013917684555, -0.47636839747428894, -0.6005018949508667, -0.1670767217874527, -0.2442660629749298, -0.5055747032165527, -0.4142633080482483, 0.16635635495185852, 0.020006386563181877, -0.20327332615852356, -0.6500422358512878, -0.44290420413017273, 0.3727383613586426, 0.13512128591537476, 0.399914413690567, 0.19023892283439636, 0.0878891870379448, 0.15471452474594116, 0.2532067596912384, -0.3605146110057831, 0.10588957369327545, -0.215251624584198, 0.4358830451965332, 0.2674090564250946, -0.3426001965999603, -0.5247756838798523, 0.07146462798118591, 0.670011043548584, -0.19643433392047882, 0.4539679288864136, 0.5659295916557312, -0.04447327181696892, 0.06951852142810822, -0.8289275169372559, -0.44465959072113037, -0.4463307857513428, 0.32625168561935425, -0.059645138680934906, -1.0520426034927368, 0.3951950669288635, -0.2929692566394806, -0.3642543852329254, 0.2857746183872223, 0.26354169845581055, 0.06318235397338867, 1.311397910118103, 0.52703857421875, -0.5643289685249329, 0.7532317638397217, 0.1196725144982338, 0.5776854753494263, -0.849026620388031, -0.12557153403759003, -0.6534271836280823, -0.2444046437740326, -0.5467753410339355, -0.39560529589653015, 0.6295485496520996, 0.3857018053531647, -0.7083001136779785, 0.061746835708618164, -0.1882963627576828, 0.16449254751205444, 0.41033872961997986, 0.33431217074394226, 0.3394300043582916, -0.07077983021736145, -0.3137395977973938, -0.19777561724185944, -0.3213813304901123, -0.17333094775676727, 0.6636963486671448, 0.2680891454219818, 0.7925124168395996, 0.16146577894687653, 0.6409193873405457, -0.03697001934051514, -0.24197272956371307, -0.45457106828689575, 0.5631499886512756, -0.01968885399401188, -0.3023650646209717, -0.566821277141571, -0.3233093023300171, -0.7333490252494812, 0.035214949399232864, -0.2511551082134247, -1.1897202730178833, 0.6123626828193665, 0.0978255644440651, -0.5924492478370667, -0.10555646568536758, -0.410842627286911, 0.646010160446167, -0.09128989279270172, -0.8018182516098022, -0.6225404143333435, -0.8932281136512756, 0.2856297791004181, 0.019766991958022118, 0.07414476573467255, -0.2403251975774765, 0.598494291305542, 0.5196191668510437, -0.32172104716300964, 1.3603302240371704, -0.44862037897109985, -0.626753568649292, 0.05517706647515297, 0.17675557732582092, 0.8020949363708496, 0.5489592552185059, -0.014777866192162037, 0.11842745542526245, -0.31665024161338806, -0.13082319498062134, -0.6721996665000916, 0.8680565357208252, -0.6230084896087646, -1.0041999816894531, -0.17462557554244995, -0.2718311548233032, -0.6466493606567383, 0.2513815760612488, 0.11876185238361359, 0.6400469541549683, -0.4431218206882477, 0.08898792415857315, 0.6803990602493286, -0.5604261159896851, 0.3115968108177185, 0.7125644087791443, -0.08234904706478119, -0.24058252573013306, 0.4922583997249603, -0.27922460436820984, 0.2028462141752243, 0.9867295026779175, 0.2840748429298401, -0.2698380947113037, -0.4053078591823578, 0.05936388298869133, 0.17285078763961792, -0.2635610103607178, -0.345376580953598, -0.37565848231315613, 0.1851944625377655, -0.3539029061794281, -0.3229376971721649, -0.1747232973575592, -0.3409976661205292, -0.216703400015831, -0.2658301293849945, 0.23788578808307648, 0.22268225252628326, 0.07611119747161865, 0.3317713439464569, -0.46894359588623047, 0.42252299189567566, 0.4206782281398773, 0.3446160852909088, -0.17159403860569, -0.3148557245731354, -0.1874505579471588, 0.26330918073654175, -0.4040965735912323, -0.3377639949321747, 0.45383521914482117, -0.1942594349384308, 0.3440718352794647, 0.833148717880249, 0.2796179950237274, 1.001079797744751, -0.3601973354816437, 0.9186136722564697, 0.2765355408191681, -0.8393265008926392, 0.7130943536758423, -0.7195520997047424, 0.5160883069038391, 0.5692582726478577, 0.06916476786136627, -0.2796298563480377, -0.7460415363311768, -0.5007079839706421, -0.9357860088348389, 0.6178218126296997, -0.2026655077934265, -0.18502242863178253, -0.25524139404296875, 0.2836395800113678, -0.136030912399292, 0.15846523642539978, -0.28358376026153564, -0.11876997351646423, 0.22793589532375336, 0.24511264264583588, -0.6852753758430481, -0.3496430516242981, -0.2789529263973236, -0.38487809896469116, 0.6060134768486023, -0.20241619646549225, 0.3221829831600189, 0.3857880234718323, -0.010296893306076527, -0.28769558668136597, 0.4318729341030121, 0.7380784153938293, 0.5467422604560852, -0.5423634052276611, 0.027303403243422508, 0.1835787445306778, -0.018385352566838264, -0.011529384180903435, 0.06953404098749161, -0.19759835302829742, -0.14194771647453308, 0.11624439060688019, 0.8935320377349854, 0.8556548953056335, -0.2875635027885437, 0.40689149498939514, 0.09978421032428741, 0.3676519989967346, -0.2671152949333191, -0.014595302753150463, -0.22630169987678528, 0.46632447838783264, 0.1679830551147461, 0.2243863344192505, 0.2232913076877594, -0.4236051142215729, 0.1625739187002182, 0.46479588747024536, -0.6084888577461243, -0.21263748407363892, 0.7092081308364868, 0.3362526595592499, 0.22180180251598358, 0.38869383931159973, 0.09316696226596832, -0.3988116383552551, 0.3945813477039337, 0.6942072510719299, 0.9383062124252319, -0.28138527274131775, 0.10900723189115524, 0.5963459014892578, -0.30104318261146545, -0.027744900435209274, -0.06402093172073364, -0.2164355218410492, -0.8200385570526123, -0.4270026385784149, -0.5225318074226379, -0.09513429552316666, 0.14797593653202057, -0.7597280740737915, 0.5336334705352783, -0.3505699634552002, -0.3343155086040497, -0.011089245788753033, 0.0711342915892601, -0.5372852683067322, 0.16308970749378204, 0.19320273399353027, 0.378905713558197, -0.6077473759651184, 0.8497769832611084, 0.12379387766122818, -0.160663902759552, -0.7624189257621765, 0.227304607629776, 0.1884266436100006, -0.5607028603553772, 0.727206289768219, -0.12378871440887451, -0.5552611351013184, -0.09278156608343124, -0.5816633105278015, -0.7903761863708496, 1.0854777097702026, 0.5135647058486938, -0.9281097054481506, -0.14301453530788422, -0.08655783534049988, 0.5074507594108582, -0.12441950291395187, 0.08160864561796188, 0.6576308608055115, 0.4150582253932953, -0.2016359269618988, -0.8897210955619812, 0.22256417572498322, 0.16968297958374023, 0.12219269573688507, 0.445024698972702, -0.9482749104499817, 0.4351212978363037, -0.1551918238401413, -0.0025696088559925556, 0.046837519854307175, 0.39726361632347107, 0.21143470704555511, 0.17113636434078217, 0.4867108464241028, 0.29843130707740784, 0.611405611038208, 0.04277694597840309, 0.7921497225761414, -0.34906524419784546, 0.3837921619415283, 1.5175124406814575, -0.4275244176387787, 0.6937703490257263, 0.7111645936965942, 0.10278140008449554, 0.5546474456787109, 0.14690211415290833, 0.248844712972641, 0.902827799320221, 0.12908931076526642, -0.46462559700012207, -0.5015238523483276, -0.08085674047470093, -0.23529265820980072, 0.5746151804924011, 0.5324886441230774, -0.4849787652492523, -0.2266368269920349, -0.098118357360363, 0.09383785724639893, 0.14893504977226257, -0.23691831529140472, 0.9469789266586304, 0.1180044412612915, -0.9444263577461243, 0.7268080711364746, -0.04998789355158806, 0.5370199084281921, -0.6436508297920227, -0.0376749262213707, -0.2768420875072479, 0.40365174412727356, 0.024816088378429413, -0.2381981611251831, 0.022460494190454483, -0.37359970808029175, -0.32900890707969666, -0.2046455442905426, 0.6558221578598022, -0.49126434326171875, -0.26328885555267334, 0.4398852586746216, 0.19159655272960663, -0.3464881181716919, -0.06633252650499344, -0.1698574274778366, -0.11265444755554199, 0.2723967134952545, 0.020046604797244072, 0.4331061840057373, 0.4312437176704407, -0.33955493569374084, 0.41201096773147583, 0.4238627552986145, -0.12076868116855621, -0.4453236162662506, 0.3131389915943146, 0.7088319063186646, -0.8568279147148132, -0.5343373417854309, -0.834980309009552, 0.21416473388671875, -0.0464189276099205, -0.29621145129203796, 0.704345166683197, 0.2330605685710907, 0.689530611038208, -0.1239265501499176, 0.5781731605529785, 0.26153799891471863, 0.5154722929000854, -0.6122193336486816, 0.5957627892494202, -0.10419707745313644, 0.5208063721656799, -0.8718636631965637, -0.8355080485343933, -0.6066088676452637, 0.6948320269584656, -0.8996475338935852, -0.3442416489124298, 0.5766177773475647, 0.9974796175956726, 0.1462308019399643, -0.012867586687207222, 0.41891393065452576, 0.5980526208877563, 0.4750927686691284, 0.5978042483329773, 0.8157455325126648, -0.15419109165668488, 0.1324443519115448, -0.08419770747423172, -0.06224768981337547, -0.35965678095817566, -1.000954508781433, -0.8112075328826904, -0.6266489028930664, -0.27610358595848083, -0.12240296602249146, 0.11669241636991501, 0.8653886914253235, 0.4232666492462158, -0.7576163411140442, -0.04332263767719269, -0.32861074805259705, 0.24760021269321442, -0.30798712372779846, -0.252034455537796, 0.41305211186408997, -0.5194124579429626, -0.57500159740448, 0.5359728336334229, 0.4960669279098511, -0.26400989294052124, 0.008113828487694263, -0.00587312038987875, -0.28890329599380493, 0.0722697451710701, 0.8122958540916443, 0.3126338720321655, -0.6810320019721985, -0.9151167273521423, -0.37271952629089355, 0.05002208054065704, 0.013748859986662865, 0.9807145595550537, -1.0084408521652222, 0.6352571845054626, 0.24649906158447266, 0.10582184046506882, 0.5985594987869263, 0.2788747251033783, 1.0394599437713623, -0.8500463366508484, 0.47071656584739685, -0.0015119921881705523, 0.39921772480010986, 0.07838274538516998, -0.5465680360794067, 0.20060154795646667, -0.011909316293895245, -0.5901307463645935, -0.5058964490890503, 0.40413379669189453, -1.206154704093933, -0.14768625795841217, 1.1895482540130615, -0.014968239702284336, 0.3465935289859772, -0.20957313477993011, -0.6164868474006653, 0.4515030086040497, -0.547664225101471, 1.0190386772155762, 0.4343200623989105, -0.21497000753879547, 0.23304452002048492, -0.09390024840831757, 0.6825833320617676, 0.682934582233429, -0.4751861095428467, 0.33732375502586365, 0.8971302509307861, 0.1971476823091507, 0.18601824343204498, 0.5254523754119873, -0.15460942685604095, -0.049878332763910294, -0.2774624824523926, -0.34968698024749756, 0.34464699029922485, -0.46057581901550293, -0.41074153780937195, -0.1266029179096222, 0.17827638983726501, 0.030855590477585793 ]
http://arxiv.org/abs/2406.01988v1
http://arxiv.org/pdf/2406.01988v1
Personalized Topic Selection Model for Topic-Grounded Dialogue
2024-06-04T06:09:49
2024-06-04T06:09:49
Shixuan Fan, Wei Wei, Xiaofei Wen, Xianling Mao, Jixiong Chen, Dangyang Chen
cs.CL
cs.CL, cs.AI
Recently, the topic-grounded dialogue (TGD) system has become increasingly popular as its powerful capability to actively guide users to accomplish specific tasks through topic-guided conversations. Most existing works utilize side information (\eg topics or personas) in isolation to enhance the topic selection ability. However, due to disregarding the noise within these auxiliary information sources and their mutual influence, current models tend to predict user-uninteresting and contextually irrelevant topics. To build user-engaging and coherent dialogue agent, we propose a \textbf{P}ersonalized topic s\textbf{E}lection model for \textbf{T}opic-grounded \textbf{D}ialogue, named \textbf{PETD}, which takes account of the interaction of side information to selectively aggregate such information for more accurately predicting subsequent topics. Specifically, we evaluate the correlation between global topics and personas and selectively incorporate the global topics aligned with user personas. Furthermore, we propose a contrastive learning based persona selector to filter out irrelevant personas under the constraint of lacking pertinent persona annotations. Throughout the selection and generation, diverse relevant side information is considered. Extensive experiments demonstrate that our proposed method can generate engaging and diverse responses, outperforming state-of-the-art baselines across various evaluation metrics.
[ -0.8050985336303711, -0.9493508338928223, 0.7827824354171753, 0.026745500043034554, -0.5307438969612122, 0.14599384367465973, -0.23223590850830078, -0.0322895310819149, 0.6545711755752563, 0.617709755897522, -0.6183083057403564, -0.6966127753257751, -0.27211445569992065, -0.261118620634079, 0.14081114530563354, 1.0560505390167236, 0.3566047251224518, -0.013837951235473156, -0.22062362730503082, -0.136176198720932, -0.6419904828071594, -0.46600863337516785, -0.687904953956604, -0.621975839138031, 0.46113768219947815, 0.45274868607521057, 0.4153026342391968, 0.13693898916244507, 0.08293216675519943, 0.22086769342422485, -0.4451199173927307, -0.014009813778102398, -0.5519817471504211, 0.5475771427154541, -0.6972442865371704, 0.023695699870586395, -0.41117286682128906, -0.06538745015859604, 0.27156519889831543, 0.7499773502349854, -0.13644589483737946, -0.2494032382965088, 0.0950118899345398, 0.1360316425561905, -0.4125819206237793, -0.07294176518917084, -0.4010429382324219, 0.36008936166763306, 0.1327340006828308, -0.307325541973114, -0.43140777945518494, -0.11344835162162781, 0.5555895566940308, -0.5902285575866699, 0.13569322228431702, -0.14480610191822052, 0.752916693687439, 0.10622583329677582, -0.44771572947502136, 0.02664925344288349, -0.6388761401176453, 0.7462539672851562, -0.312634140253067, 0.277040958404541, 0.6280071139335632, 0.29090163111686707, 0.012452722527086735, -0.577772855758667, -0.140166237950325, -0.32750940322875977, 0.01643642969429493, 0.5123610496520996, 0.12103074789047241, 0.23457325994968414, 0.10982299596071243, 0.38400036096572876, -0.32412558794021606, 0.09674643725156784, 0.1992708444595337, -0.003216043347492814, 0.33769574761390686, 0.3058770000934601, 0.22964605689048767, -0.07535405457019806, -0.16252100467681885, 0.21373958885669708, -0.3913434147834778, -0.07492237538099289, 0.31341275572776794, 0.07137298583984375, -0.07130571454763412, 0.4144956171512604, -0.4642360508441925, 0.5034403800964355, 0.8226722478866577, -0.09608237445354462, 0.09543212503194809, -0.15215368568897247, -0.09042208641767502, -0.1819225549697876, 0.5932108163833618, 0.5041598081588745, -0.1630811095237732, -0.2727268934249878, -0.06561601161956787, -0.1984926015138626, 0.38727056980133057, -1.005016565322876, -0.32584866881370544, 0.48744744062423706, -0.851626455783844, -0.5110438466072083, -0.09227337688207626, -0.9725382328033447, -0.5169835686683655, -0.25104856491088867, 0.0990302786231041, -0.3033587634563446, -0.3725883364677429, -0.12817002832889557, -0.07658347487449646, -0.023910658434033394, 0.5647911429405212, -0.8901222348213196, 0.1667783409357071, 0.544522762298584, 0.6717637181282043, -0.16173386573791504, -0.13076239824295044, -0.5139535665512085, 0.05588963255286217, -0.20164717733860016, 0.8573300242424011, -1.0376378297805786, -0.6573784947395325, -0.09472452849149704, -0.17298759520053864, 0.18926286697387695, -0.31111079454421997, 0.6162037253379822, -0.520699143409729, 0.5943502187728882, -0.49523836374282837, -0.3883925676345825, -0.021109115332365036, 0.3867722749710083, -0.38801178336143494, 0.6036651134490967, 0.19435159862041473, -0.9966720342636108, 0.46282854676246643, -0.5054233074188232, -0.06719580292701721, 0.13554395735263824, -0.4734683632850647, -0.35403889417648315, 0.024541908875107765, 0.27094754576683044, 0.4336746633052826, -0.5037436485290527, 0.9099060893058777, -0.5899206399917603, -0.2846062183380127, 0.12634386122226715, -0.20844221115112305, 0.35713428258895874, 0.47936928272247314, -0.15920132398605347, 0.39384573698043823, -0.47078654170036316, -0.19411155581474304, -0.022692272439599037, -0.232269749045372, -0.19746142625808716, 0.19220027327537537, -0.06458158791065216, 0.2748751938343048, 0.1417333334684372, -0.4615534245967865, -0.09760504215955734, -0.2775837779045105, 0.27817440032958984, 0.7928752899169922, 0.517256498336792, 0.3671233057975769, -0.5994815826416016, 0.4684067964553833, 0.0992404967546463, -0.23476500809192657, -0.3987525701522827, -0.5526658892631531, -0.7154427170753479, -0.4390183389186859, 0.24778825044631958, 0.5073615312576294, -0.6938775181770325, 0.916041374206543, 0.047976069152355194, -0.4559459388256073, -0.07133900374174118, -0.32197174429893494, 0.38848182559013367, 0.8068888783454895, 0.15432056784629822, -0.3876720070838928, -0.18163880705833435, -0.8291789889335632, -0.09449758380651474, -0.30108046531677246, -0.22717589139938354, 0.7817747592926025, 0.04539691284298897, -0.28098946809768677, 1.1867772340774536, -0.7544955611228943, -0.04591700807213783, -0.3558874726295471, 0.384260356426239, 0.0050267670303583145, 0.47728341817855835, 0.46534863114356995, -0.8283292055130005, -0.7496249079704285, 0.04003109782934189, -0.6818915009498596, -0.6190181374549866, -0.23512685298919678, -0.4762707054615021, -0.3597186505794525, 0.44643691182136536, -0.5287736654281616, 0.4758606553077698, -0.02252008393406868, -0.5698509216308594, 0.28043419122695923, 0.0013553616590797901, 0.33475261926651, -1.513846516609192, 0.23629283905029297, 0.16566339135169983, -0.31349775195121765, -0.7023647427558899, -0.2262086272239685, -0.33343350887298584, -0.6246725916862488, -0.25749534368515015, 0.622603714466095, -0.004319391213357449, -0.03152201697230339, -0.42335864901542664, 0.12296459078788757, -0.06640467792749405, 0.7876466512680054, 0.6307506561279297, 0.5698319673538208, 0.5213670134544373, -0.5616811513900757, 0.07527323067188263, 0.6487944722175598, 0.11803662776947021, 0.8936338424682617, -0.6949833035469055, 0.3932025134563446, -0.13581736385822296, 0.4318692088127136, -0.8989284634590149, -0.3249657154083252, 0.5489299893379211, -0.25777730345726013, 0.2619786858558655, -0.2797001898288727, -0.027780471369624138, 0.20134873688220978, -0.1461687535047531, 0.32336097955703735, 0.3663259446620941, -0.5531634092330933, 0.7362892031669617, 0.46464747190475464, -0.5604067444801331, -0.17951266467571259, -0.06399878859519958, 0.11183629930019379, -0.49375227093696594, -0.6965007781982422, 0.5868496298789978, -0.4433525502681732, -0.25390321016311646, -0.09136361628770828, -0.02862219139933586, -0.12669922411441803, 0.09502231329679489, 0.205012246966362, -0.1590021848678589, -0.07877478748559952, 0.2875784933567047, 0.25182580947875977, -0.293093740940094, -0.23823338747024536, -0.24311432242393494, 0.7426736950874329, -0.18703129887580872, -0.44590070843696594, -0.47640886902809143, 0.6903671026229858, 0.5157252550125122, -0.32365182042121887, 0.6393123865127563, 0.5753284096717834, -0.23616671562194824, -0.08131571114063263, -0.5968782305717468, -0.34615573287010193, -0.439519464969635, 0.43203604221343994, -0.5858405232429504, -0.9186615943908691, 0.7852863669395447, -0.23809124529361725, -0.1493220180273056, 0.20732060074806213, 0.5794378519058228, 0.10333314538002014, 0.7984721064567566, 0.44864824414253235, 0.05464671552181244, 0.9476777911186218, 0.08319154381752014, 0.0892396867275238, -0.8304800987243652, -0.2803751528263092, -0.3235664665699005, -0.12726958096027374, -0.5259383916854858, -0.2336706519126892, 0.15505895018577576, 0.011517573148012161, -0.31727442145347595, 0.011751911602914333, -0.44161316752433777, 0.3994779884815216, 0.5294772386550903, 0.3807404339313507, 0.013240566477179527, 0.032809704542160034, -0.2361120730638504, -0.36454063653945923, -0.22785110771656036, -0.5490877032279968, 1.0292319059371948, 0.4544636011123657, 0.711122453212738, 0.10969602316617966, 0.7351282238960266, 0.456332266330719, 0.17999614775180817, -0.575060248374939, 0.6744474768638611, 0.03629118949174881, -0.321461945772171, -0.20184695720672607, -0.21686038374900818, -0.5822341442108154, 0.7963096499443054, -0.11573132872581482, -1.1410059928894043, 0.34540030360221863, -0.03923239931464195, -0.39146187901496887, 0.10963058471679688, -0.547551155090332, 0.8776387572288513, -0.041328493505716324, -0.6141449809074402, -0.29879727959632874, -0.5079896450042725, 0.08280527591705322, -0.25927212834358215, -0.5280140042304993, -0.09539441764354706, 0.010725918225944042, 0.4682442247867584, -0.2841191589832306, 0.8872640132904053, -0.28454986214637756, 0.05715029686689377, 0.19975905120372772, 0.0010221257107332349, 0.4355044662952423, 0.5492011308670044, -0.1703597456216812, -0.06238590553402901, -0.5995294451713562, -0.21845075488090515, -0.5352464318275452, 0.6438083052635193, -0.6840265989303589, -1.049981713294983, -0.3346334397792816, -0.07810378074645996, -0.3917999565601349, 0.1578061282634735, 0.34502455592155457, 0.33052754402160645, -0.6984710097312927, 0.2821090817451477, 0.7731677889823914, -0.5386666059494019, 0.2190181463956833, 0.735450804233551, -0.12693019211292267, -0.7323421835899353, 0.947165846824646, -0.43873053789138794, 0.3100893497467041, 0.490414559841156, 0.33324331045150757, -0.12505163252353668, -0.47377628087997437, -0.11736254394054413, 0.0010240183910354972, -0.7523965239524841, 0.1336904764175415, -1.0264145135879517, -0.12917087972164154, -0.15622484683990479, -0.3535178005695343, -0.36678051948547363, -0.15007637441158295, -0.8169143795967102, -0.21075651049613953, -0.20794063806533813, 0.3959345817565918, 0.14709271490573883, 0.3519057035446167, -0.3340051472187042, 0.579066276550293, 0.4697417616844177, 0.16762302815914154, -0.32790014147758484, -0.6795824766159058, 0.12240790575742722, -0.09813503175973892, -0.7889581322669983, -0.978094220161438, 0.5130141377449036, 0.19295161962509155, 0.8224208354949951, 0.771357536315918, 0.3016410768032074, 0.32873520255088806, -0.2958468496799469, 0.7873890399932861, 0.13298089802265167, -0.7969067096710205, 0.8954161405563354, -0.787351667881012, 0.1653261035680771, 0.7070009708404541, 0.09431878477334976, -0.6698951125144958, -0.4893268048763275, -0.7065245509147644, -0.7148145437240601, 0.9804927110671997, 0.20001813769340515, 0.021140776574611664, 0.01080273650586605, 0.0883375033736229, 0.31023168563842773, 0.5567447543144226, -0.7123518586158752, -0.11565326154232025, -0.46392765641212463, 0.05468115210533142, 0.05148783326148987, -0.4148232638835907, -0.10851442068815231, 0.014584118500351906, 0.5595175623893738, -0.22998078167438507, 0.5320727825164795, 0.20603923499584198, 0.2570309042930603, -0.1811436265707016, 0.34197938442230225, 0.6213952302932739, 0.5257421731948853, -0.6435131430625916, -0.27004602551460266, -0.15857985615730286, -0.21216756105422974, 0.037738122045993805, 0.15706408023834229, -0.14382244646549225, -0.0006907213828526437, -0.23318275809288025, 0.9162197709083557, 0.09433393180370331, -0.4909704327583313, 0.5131127834320068, -0.19222591817378998, -0.04314664751291275, -0.34748029708862305, -0.018999243155121803, 0.047621950507164, 0.33678552508354187, 0.153910294175148, 0.04161756485700607, 0.13249555230140686, -0.3808230757713318, 0.22924380004405975, 0.1985720843076706, -0.4824257791042328, -0.40145343542099, 0.6157640218734741, 0.8843755722045898, -0.5525475144386292, 0.45264875888824463, -0.40076038241386414, -0.6525272727012634, 0.4332317113876343, 0.42714962363243103, 1.4184348583221436, -0.251364529132843, 0.5218834280967712, 0.26312875747680664, -0.14980152249336243, 0.25045767426490784, 0.22827772796154022, -0.34701183438301086, -0.7318306565284729, -0.0641390010714531, -0.34259042143821716, -0.6011338233947754, 0.6313940286636353, -0.5427039861679077, 0.37740039825439453, -0.572380006313324, -0.2689351737499237, -0.22374306619167328, 0.07323841750621796, -0.2416011542081833, 0.20035293698310852, 0.08303611725568771, 0.49146923422813416, -0.9643845558166504, 0.5631683468818665, 0.8091590404510498, -0.3512975871562958, -0.14872480928897858, 0.6179372668266296, -0.11498162895441055, -0.15501654148101807, 0.6156494617462158, 0.05419692024588585, 0.012710374779999256, -0.15872040390968323, -0.22215044498443604, -0.5414355993270874, 1.0138620138168335, 0.42666319012641907, -0.20641538500785828, 0.23053129017353058, -0.22725018858909607, 0.639836847782135, -0.8329367637634277, 0.5926742553710938, 0.03444099426269531, 0.12589295208454132, 0.5091311931610107, -0.820195198059082, -0.136749729514122, -0.4137037992477417, 0.058419518172740936, 0.08428534865379333, -1.0857739448547363, 0.9232024550437927, 0.13281762599945068, 0.007442972157150507, 0.16903042793273926, 0.6023796796798706, 0.394259512424469, 0.5696942210197449, 0.4070320129394531, 0.4452396035194397, 0.6727923154830933, 0.09492427855730057, 0.6758007407188416, -0.4536150097846985, 0.27392613887786865, 1.2166420221328735, -0.48359617590904236, 0.5091175436973572, 0.2845129072666168, 0.22021250426769257, 0.32170939445495605, 1.063657522201538, 0.11876562237739563, 1.0038642883300781, -0.12262764573097229, -0.5742239356040955, -0.6858208179473877, -0.42544278502464294, -0.47122442722320557, 0.393633633852005, 0.5449556708335876, -0.6066625118255615, -0.18186554312705994, -0.03154095262289047, -0.3714043200016022, 0.13542625308036804, 0.03086092695593834, 0.9189879894256592, 0.026179663836956024, -0.9826814532279968, 0.13777762651443481, 0.23004275560379028, 0.40441492199897766, -0.39554905891418457, -0.1497139185667038, -0.4999713599681854, -0.08260621130466461, 0.04560113698244095, -0.5647904872894287, -0.05070553347468376, -0.159219428896904, -0.17702707648277283, -0.5332152843475342, 1.1537315845489502, -0.5445556044578552, 0.06268142908811569, 0.08117027580738068, 0.5474537014961243, 0.09484917670488358, -0.2199988216161728, -0.6322610378265381, -0.13599751889705658, 0.3767309784889221, -0.2890576422214508, 0.41143912076950073, 0.3684700131416321, -0.05210673436522484, 0.8106728792190552, 0.3127623200416565, -0.17658527195453644, -0.7285544872283936, 0.06513134390115738, 1.2116621732711792, -0.71940016746521, -1.2773826122283936, -0.4194352626800537, 0.5667297840118408, -0.38031598925590515, -0.4591085910797119, 0.4778899550437927, 0.3827080726623535, 0.4909542500972748, -0.16297969222068787, 0.8730745315551758, 0.11868798732757568, 0.765383780002594, -0.4151007831096649, 0.6137725710868835, -0.3729812502861023, 0.5196925401687622, -0.4130087196826935, -1.085320234298706, 0.3757116198539734, 0.7842233777046204, -0.4061817526817322, 0.39941757917404175, 0.680608868598938, 0.5512727499008179, -0.2648015320301056, 0.3601851761341095, 0.6330934166908264, -0.13592855632305145, 0.4904429316520691, 0.5333378911018372, 1.2515230178833008, 0.18506720662117004, 0.1293782889842987, -0.09993994981050491, -0.10853692144155502, -0.6112326383590698, -0.8155264258384705, -1.5099387168884277, -0.616565465927124, -0.628623902797699, -0.17774680256843567, 0.01916390284895897, 0.9543834328651428, 0.8445926904678345, -0.6302475333213806, 0.0753597542643547, -0.3024348318576813, 0.0694136843085289, 0.39676350355148315, -0.22901010513305664, 0.09739400446414948, -0.15187451243400574, -0.7165541648864746, 0.3916487395763397, 0.3311694860458374, 0.07693330198526382, -0.19463150203227997, -0.20639213919639587, 0.09507627785205841, 0.06434313952922821, 0.29235610365867615, 0.2658136785030365, -0.8016953468322754, -0.31574419140815735, -0.25053146481513977, -0.06929675489664078, 0.16316363215446472, 0.9385320544242859, -0.7528583407402039, 0.5991347432136536, 0.4270225167274475, 0.5092269778251648, 0.6589151620864868, 0.45188575983047485, 0.864280104637146, -0.8316644430160522, 0.33551815152168274, 0.530956506729126, 0.19100378453731537, 0.21703651547431946, -0.48675259947776794, 0.40159302949905396, 0.32678207755088806, -0.6615332961082458, -0.676868736743927, 0.5328648686408997, -0.8633610010147095, -0.35767146944999695, 1.199623942375183, -0.36055827140808105, 0.2918005585670471, -0.4116743803024292, -0.6288759112358093, -0.016590077430009842, -0.8461187481880188, 0.649566650390625, 0.8045489192008972, -0.23240697383880615, -0.16407373547554016, -0.19047501683235168, 0.42149364948272705, 0.5806120038032532, -0.7818975448608398, -0.16164815425872803, 0.7130714654922485, 0.12227612733840942, 0.11801832169294357, 0.9178625345230103, 0.36795365810394287, 0.13500680029392242, 0.05867956206202507, -0.2559855580329895, 0.03786533325910568, -0.3046175539493561, -0.2735513746738434, 0.287985235452652, 0.08690143376588821, -0.16050398349761963 ]
http://arxiv.org/abs/2406.01983v1
http://arxiv.org/pdf/2406.01983v1
RKLD: Reverse KL-Divergence-based Knowledge Distillation for Unlearning Personal Information in Large Language Models
2024-06-04T05:51:43
2024-06-04T05:51:43
Bichen Wang, Yuzhe Zi, Yixin Sun, Yanyan Zhao, Bing Qin
cs.CL
cs.CL
With the passage of the Right to Be Forgotten (RTBF) regulations and the scaling up of language model training datasets, research on model unlearning in large language models (LLMs) has become more crucial. Before the era of LLMs, machine unlearning research focused mainly on classification tasks in models with small parameters. In these tasks, the content to be forgotten or retained is clear and straightforward. However, as parameter sizes have grown and tasks have become more complex, balancing forget quality and model utility has become more challenging, especially in scenarios involving personal data instead of classification results. Existing methods based on gradient ascent and its variants often struggle with this balance, leading to unintended information loss or partial forgetting. To address this challenge, we propose RKLD, a novel \textbf{R}everse \textbf{KL}-Divergence-based Knowledge \textbf{D}istillation unlearning algorithm for LLMs targeting the unlearning of personal information. Through RKLD, we achieve significant forget quality and effectively maintain the model utility in our experiments.
[ -0.2526441812515259, -0.7412211894989014, 0.33923283219337463, -0.06775995343923569, -0.36293017864227295, 0.5403996109962463, -0.1789524108171463, 0.0897970199584961, -0.07133287936449051, 0.8115456104278564, -0.7499890923500061, -0.6256119608879089, -0.47664156556129456, -0.3558369576931, -0.2821677625179291, 1.0759475231170654, -0.01873316615819931, -0.05729086697101593, -0.3766031265258789, -0.21402645111083984, -0.44926077127456665, -0.44702234864234924, -0.35881757736206055, -0.8016119003295898, 0.7609536051750183, 0.6145142316818237, 0.1298137754201889, 0.43007656931877136, 0.21271878480911255, 0.1835140436887741, -0.177913099527359, 0.26619410514831543, -0.9220724105834961, 0.42723652720451355, -0.28897738456726074, -0.4812166392803192, -0.18792706727981567, -0.1761971414089203, 0.593076765537262, 0.9419851899147034, -0.598957359790802, 0.3445150852203369, 0.2727651000022888, 1.3702220916748047, -0.7539497017860413, 0.1905636489391327, -0.48863622546195984, 0.245184525847435, -0.12528647482395172, -0.24681781232357025, -0.599967360496521, -0.33860814571380615, 0.15648378431797028, -0.33260855078697205, 0.24943210184574127, 0.01555507630109787, 0.5729115605354309, 0.4473349153995514, -0.31072282791137695, -0.355876624584198, -1.0207439661026, 0.8901280760765076, -0.8179308772087097, 0.7533782720565796, 0.4072991907596588, 0.3360477089881897, -0.23282696306705475, -0.8662360906600952, -0.479508638381958, 0.06013421714305878, -0.09721189737319946, 0.20100633800029755, -0.14325687289237976, -0.07437944412231445, -0.01758251152932644, 0.24484609067440033, -0.3973058760166168, 0.3796161115169525, -0.2996736764907837, -0.1784159243106842, 0.45969340205192566, 0.2812580466270447, -0.046429023146629333, 0.3313600718975067, -0.22289246320724487, -0.08278188109397888, -1.026435136795044, 0.024822210893034935, 0.507079005241394, 0.30247044563293457, 0.007392695173621178, 0.5694580078125, -0.5771713256835938, 0.4440113604068756, 0.19511523842811584, -0.45772409439086914, 0.3153475224971771, -0.014342376962304115, -0.1982303410768509, 0.07164561003446579, 0.5369067788124084, 0.12757663428783417, 0.18138718605041504, -0.24665583670139313, -0.16833750903606415, -0.5965069532394409, 0.05439404770731926, -0.8021361827850342, -0.610467791557312, 0.20132394134998322, -0.5897216200828552, -0.18621666729450226, -0.25562626123428345, -0.7708392143249512, -0.6739217638969421, -0.43139171600341797, 0.17992444336414337, -0.25794675946235657, -0.6097270250320435, -0.0023743784986436367, -0.008221816271543503, -0.06745036691427231, 0.3029138445854187, -0.6265637278556824, -0.1326936036348343, 0.4934569001197815, 0.4774109125137329, -0.010677359998226166, -0.42713943123817444, -0.1744621843099594, -0.07765001058578491, -0.11186396330595016, 0.4214806854724884, -0.2635692059993744, -0.442859023809433, -0.0659002736210823, -0.08842669427394867, 0.06796528398990631, -0.6495428085327148, 0.5190829038619995, -0.9625602960586548, 0.398728609085083, -0.2497217208147049, -0.8646053075790405, -0.45296064019203186, 0.13999316096305847, -0.526537299156189, 0.7838515639305115, 0.005908177699893713, -0.9489114284515381, 0.47241082787513733, -0.380990594625473, -0.2699927091598511, 0.16542214155197144, -0.03331684321165085, -1.0168582201004028, 0.07171142846345901, -0.1430404633283615, 0.6694296598434448, -0.36962461471557617, 0.4691246747970581, -0.578722357749939, -0.13400894403457642, 0.1777637004852295, -0.7248093485832214, 0.9161611199378967, 0.26260149478912354, 0.045255210250616074, -0.15691637992858887, -0.7880347967147827, -0.019286317750811577, 0.21534845232963562, -0.850508451461792, -0.7189908027648926, 0.012546763755381107, -0.3784298002719879, 0.032804783433675766, 0.26760268211364746, -0.7122731804847717, 0.17510683834552765, -0.34455421566963196, 0.24260245263576508, 0.899084746837616, 0.10416217148303986, 0.4558272957801819, -0.18095719814300537, 0.40547168254852295, 0.36143794655799866, -0.09129095077514648, -0.11883401870727539, -0.2955235540866852, -0.7572512626647949, -0.4234863817691803, 0.4147455096244812, 0.4426089823246002, -0.6048329472541809, 0.452971875667572, -0.23995749652385712, -0.5828574895858765, -0.8267683386802673, 0.4072134494781494, 0.5901674628257751, 0.9048891663551331, 0.17610476911067963, 0.04155895113945007, -0.548209547996521, -0.8156768083572388, -0.3798079788684845, -0.18000958859920502, 0.10045398771762848, 0.2454349547624588, 0.2445787787437439, -0.3476825952529907, 1.1771812438964844, -0.7225621342658997, -0.48383936285972595, -0.34254807233810425, 0.22323152422904968, 0.24090199172496796, 0.19229969382286072, 0.06361734867095947, -0.8476038575172424, -0.6463755369186401, 0.10521841049194336, -0.805405855178833, -0.0698460265994072, 0.11662037670612335, 0.13194933533668518, 0.4796069264411926, 0.43748947978019714, -0.5007991194725037, 0.37333783507347107, 0.3201412260532379, -0.2796202003955841, 0.689312756061554, -0.4727531671524048, -0.06664334982633591, -1.0146474838256836, 0.2343149483203888, -0.4713050127029419, -0.245731920003891, -0.7604649662971497, -0.18959106504917145, 0.2639603912830353, 0.23647700250148773, -0.4076760709285736, 0.7796948552131653, -0.3818572163581848, -0.0029987990856170654, -0.31702160835266113, -0.05275435000658035, -0.027864623814821243, 0.6281423568725586, -0.20501376688480377, 0.5140252709388733, 0.2769148647785187, -0.793911337852478, 0.3924705386161804, 0.02648506686091423, -0.28150051832199097, 0.49337831139564514, -0.13473881781101227, 0.0940869152545929, -0.6339144110679626, 0.06472022086381912, -1.129232406616211, -0.07318156212568283, 0.08920121937990189, -0.4026297330856323, 0.4260275363922119, -0.2764763832092285, -0.33577316999435425, -0.44377148151397705, -0.1233062893152237, 0.39430099725723267, 0.7536665201187134, -0.8500366806983948, 0.7463701367378235, 0.41108882427215576, -0.22567608952522278, -0.9871900677680969, -0.6139097809791565, -0.19987431168556213, -0.58938068151474, -0.18722151219844818, -0.00032658109557814896, -0.24859265983104706, -0.19154396653175354, 0.20400767028331757, -0.012276114895939827, -0.39683976769447327, 0.1653592586517334, 0.09685114771127701, 0.16073687374591827, 0.0674588680267334, 0.2955969572067261, 0.1740422546863556, -0.13292290270328522, -0.06415057182312012, -0.28145095705986023, 0.674282968044281, 0.20862652361392975, -0.4397672116756439, -0.46162936091423035, 0.09034689515829086, 0.5359607934951782, 0.10210402309894562, 0.62572181224823, 0.49862051010131836, -0.14824716746807098, -0.5574330687522888, -0.5952353477478027, -0.22691743075847626, -0.4743666350841522, 0.5558203458786011, -0.25515714287757874, -0.8642749786376953, 0.5882895588874817, -0.38189926743507385, 0.3698142170906067, 0.16576410830020905, 0.7652748823165894, -0.45813846588134766, 0.6516919732093811, 0.6997412443161011, -0.2498154491186142, 0.19054292142391205, -0.13574126362800598, 0.4175006151199341, -0.6742366552352905, -0.343984454870224, -0.14942161738872528, -0.3782927393913269, -0.17970356345176697, -0.018283596262335777, 0.1944369524717331, 0.4274711310863495, -0.3178543448448181, -0.006530090235173702, -0.1939428150653839, 0.6158968210220337, 0.6636835932731628, 0.05696042254567146, 0.6633872985839844, 0.055023059248924255, -0.23644089698791504, -0.03680949658155441, -0.6515749096870422, -0.07944442331790924, 1.3548107147216797, 0.3987790048122406, 1.2082252502441406, 0.002801136579364538, 0.9723773002624512, 0.617648184299469, 0.2474343478679657, -0.5864925980567932, 0.40793484449386597, -0.3215217590332031, -0.3293105661869049, -0.3533727526664734, -0.5122687220573425, -0.8684638142585754, 0.19373084604740143, 0.2857053875923157, -0.4418276846408844, 0.13101492822170258, 0.571125864982605, -0.31011053919792175, 0.506841778755188, -0.6880921721458435, 0.5016594529151917, 0.07856427878141403, -0.02602459490299225, -0.25781095027923584, -0.5716565847396851, 0.6048200130462646, -0.3862846791744232, 0.17023149132728577, -0.140990749001503, 0.22459520399570465, 0.6685299277305603, -0.3644815981388092, 1.2308541536331177, -0.5714921951293945, -0.3124861717224121, 0.20198723673820496, 0.20779402554035187, 0.7032326459884644, -0.09293094277381897, 0.3355174660682678, 0.13811729848384857, -0.2320495992898941, -0.06807705014944077, -0.6648994088172913, 0.6782267689704895, -0.6630570292472839, -0.36337172985076904, 0.09874078631401062, -0.5254480242729187, -0.1399526298046112, 0.3474574685096741, 0.17640940845012665, 0.024949857965111732, -0.0966925323009491, 0.28672313690185547, 1.0701000690460205, -0.18649254739284515, 0.4002969264984131, 0.9561519622802734, -0.3332013785839081, -0.2783854901790619, 1.178694248199463, 0.17562264204025269, 0.44626080989837646, 0.5106562376022339, 0.38101789355278015, -0.5176108479499817, -0.39913299679756165, -0.36783289909362793, 0.23835864663124084, -0.9501146674156189, -0.40082448720932007, -0.6934497356414795, -0.3392317295074463, -0.20733360946178436, 0.07037977874279022, -0.7744728922843933, -0.4129970669746399, -0.4326612949371338, -0.004477811977267265, 0.44376063346862793, 0.6629068851470947, -0.07541926950216293, 0.08038988709449768, -0.4488685131072998, 0.285434365272522, 0.18504248559474945, 0.4604504406452179, 0.2399449497461319, -0.7952083349227905, -0.27861881256103516, 0.2132745385169983, -0.15029756724834442, -0.21386349201202393, 0.47998157143592834, 0.1768820881843567, 0.6783211827278137, 0.4379000961780548, 0.35871419310569763, 0.5014787316322327, -0.3165188729763031, 0.2863476872444153, 0.3158414661884308, -0.40153682231903076, 0.010853739455342293, 0.06143012270331383, 0.2641889750957489, 0.5171639919281006, 0.29247909784317017, -0.8839302062988281, -0.2722172439098358, -0.46420812606811523, -1.001619815826416, 0.6639871001243591, -0.3771059811115265, -0.09983432292938232, 0.45849108695983887, 0.36347368359565735, 0.49783819913864136, 0.3880310654640198, -0.5759567022323608, -0.5582985877990723, 0.06282094866037369, -0.46631956100463867, 0.0515076220035553, -0.4241443872451782, 0.009314432740211487, -0.09887531399726868, 0.8624640107154846, 0.11772695183753967, -0.011581660248339176, -0.017195381224155426, -0.1617189645767212, 0.001233476446941495, 0.3318106234073639, 0.3762100040912628, 0.47014474868774414, -0.13208024203777313, 0.2150781899690628, 0.23742419481277466, -0.7370152473449707, 0.37973523139953613, -0.2856682240962982, -0.5346581339836121, -0.1941870003938675, 0.141539067029953, 0.6051999926567078, 0.027485402300953865, -0.7862634658813477, 0.3731246292591095, 0.03778157755732536, -0.35643792152404785, -0.43043142557144165, -0.047729216516017914, 0.40769898891448975, 0.273188054561615, 0.22004948556423187, -0.08971100300550461, -0.12473908066749573, -0.31407713890075684, 0.4199469983577728, 0.2868770956993103, -0.4238027036190033, -0.17159418761730194, 0.40147069096565247, 0.0003686777490656823, -0.268168181180954, 0.8669829964637756, -0.19211901724338531, -0.28014278411865234, 0.24225082993507385, 0.3673691749572754, 1.0265477895736694, -0.3495394289493561, 0.1443435251712799, 0.16100630164146423, -0.1353965699672699, -0.14941459894180298, 0.2529253363609314, 0.0276334285736084, -0.8218519687652588, -0.315680593252182, -0.7238820791244507, -0.061957377940416336, 0.21732202172279358, -0.5926985740661621, 0.01578165404498577, -0.43107369542121887, 0.24532975256443024, -0.24566006660461426, -0.164941668510437, -0.6002556681632996, -0.06731266528367996, -0.23015396296977997, 0.6809444427490234, -0.7311141490936279, 1.0781177282333374, 0.16762344539165497, -0.17655862867832184, -0.5190707445144653, -0.0038262351881712675, 0.12800949811935425, -0.9507949352264404, 1.1386754512786865, -0.25278687477111816, -0.19524994492530823, 0.35621559619903564, -0.18296441435813904, -0.7332050800323486, 1.3540446758270264, 0.34319937229156494, -0.7281866073608398, 0.001031296094879508, 0.33178484439849854, 0.257090300321579, -0.3001610040664673, -0.18120458722114563, 0.5742447376251221, 0.25443628430366516, 0.2395356446504593, -0.6298683285713196, -0.2469145655632019, 0.17454372346401215, -0.23342788219451904, 0.3320944607257843, -0.5268616676330566, 0.9227334856987, -0.33550184965133667, -0.37340641021728516, -0.010824237018823624, 0.44331613183021545, 0.24971026182174683, 0.38306453824043274, 0.3995037078857422, 0.8595705032348633, 0.9948086142539978, 0.15027591586112976, 0.5777458548545837, 0.01065108273178339, 0.676893413066864, 1.525681734085083, -0.3254638612270355, 0.6976292133331299, 0.5524424314498901, -0.29269298911094666, 0.2650655508041382, 0.32528164982795715, 0.27131861448287964, 0.9757899641990662, 0.1690046340227127, -0.45977768301963806, -0.09024755656719208, 0.1001761257648468, -0.12870508432388306, 0.2516056299209595, 0.17729324102401733, -0.34879016876220703, -0.6180511116981506, 0.30377328395843506, 0.14125652611255646, 0.1982278674840927, -0.1962280124425888, 1.0742437839508057, -0.05379973724484444, -0.4652273952960968, 0.6771547794342041, -0.0250648595392704, 0.5611743927001953, -0.55641108751297, -0.1312822848558426, -0.548419177532196, 0.6969044804573059, 0.014754483476281166, -0.832527220249176, 0.17367179691791534, -0.27508407831192017, -0.5250643491744995, -0.24918769299983978, 0.8234660625457764, -0.7383792400360107, -0.4166252315044403, 0.30562353134155273, 0.5175434947013855, 0.049676887691020966, 0.0856737419962883, -0.7799930572509766, -0.18802236020565033, 0.3176423907279968, -0.35209909081459045, 0.46558865904808044, 0.46489888429641724, 0.07396221905946732, 1.2002638578414917, 0.4834637939929962, 0.07737773656845093, 0.2090880274772644, 0.25807440280914307, 0.9546034336090088, -0.5639044642448425, -0.41144299507141113, -1.0160340070724487, 0.4645477831363678, 0.03419101983308792, -0.0972665324807167, 0.8590639233589172, 0.6167810559272766, 0.9390629529953003, -0.17978963255882263, 0.9610685110092163, 0.0566675029695034, 1.193811058998108, -0.585808277130127, 1.0534480810165405, -0.464830219745636, 0.34951505064964294, 0.028834940865635872, -0.5824328660964966, -0.20573759078979492, 0.08066460490226746, 0.041917700320482254, 0.0027409091126173735, 0.3427194058895111, 0.7542851567268372, -0.1953926384449005, -0.23179557919502258, 0.5715377330780029, 0.4549283981323242, 0.5033077001571655, 0.4155671298503876, 0.8362418413162231, -0.10674577951431274, 0.41374462842941284, -0.3663243055343628, -0.07681392878293991, -0.3181713819503784, -0.7993939518928528, -0.8880462646484375, -0.7150294780731201, -0.2077312469482422, -0.2214997559785843, 0.1105148047208786, 0.7595818042755127, 0.4607905447483063, -0.6733747720718384, -0.13535627722740173, -0.31531161069869995, 0.26728615164756775, -0.09686585515737534, -0.2210199534893036, 0.41821256279945374, -0.35612261295318604, -0.4514019787311554, 0.305366575717926, 0.31137216091156006, 0.1543319821357727, -0.7026355862617493, -0.4223126173019409, -0.19819778203964233, -0.24582965672016144, 0.4091576039791107, 0.6711675524711609, -0.7965208292007446, 0.07973304390907288, -0.37790095806121826, 0.15030892193317413, -0.1329926699399948, 0.925644040107727, -0.8380029201507568, 0.566863477230072, 0.4309011399745941, 0.8734927773475647, 0.3713839054107666, 0.06932742893695831, 0.49066346883773804, -1.123125433921814, 0.09512180089950562, 0.1935071349143982, 0.24474728107452393, 0.24568158388137817, -0.4632757008075714, 0.2158336639404297, 0.27435532212257385, -0.652453601360321, -0.9315198063850403, 0.34331077337265015, -0.4919995963573456, -0.6539671421051025, 0.864195704460144, -0.40643569827079773, -0.08719323575496674, -0.4325442910194397, -0.18361207842826843, 0.12132806330919266, -0.3675891160964966, 1.0046435594558716, 0.6496568322181702, -0.025974085554480553, -0.22068548202514648, -0.4592297375202179, 0.5946226716041565, 0.2328995019197464, -0.4192834198474884, 1.0613688230514526, 0.2736135423183441, 0.5490094423294067, -0.10258154571056366, 0.7321869134902954, -0.04995991289615631, -0.04799982160329819, -0.2691941261291504, 0.1949903815984726, -0.40645304322242737, -0.5064587593078613, -0.28517526388168335, 0.07351554930210114, 0.15648016333580017, 0.03094826638698578 ]
http://arxiv.org/abs/2406.01981v1
http://arxiv.org/pdf/2406.01981v1
Zyda: A 1.3T Dataset for Open Language Modeling
2024-06-04T05:47:17
2024-06-04T05:47:17
Yury Tokpanov, Beren Millidge, Paolo Glorioso, Jonathan Pilault, Adam Ibrahim, James Whittington, Quentin Anthony
cs.CL
cs.CL, cs.AI
The size of large language models (LLMs) has scaled dramatically in recent years and their computational and data requirements have surged correspondingly. State-of-the-art language models, even at relatively smaller sizes, typically require training on at least a trillion tokens. This rapid advancement has eclipsed the growth of open-source datasets available for large-scale LLM pretraining. In this paper, we introduce Zyda (Zyphra Dataset), a dataset under a permissive license comprising 1.3 trillion tokens, assembled by integrating several major respected open-source datasets into a single, high-quality corpus. We apply rigorous filtering and deduplication processes, both within and across datasets, to maintain and enhance the quality derived from the original datasets. Our evaluations show that Zyda not only competes favorably with other open datasets like Dolma, FineWeb, and RefinedWeb, but also substantially improves the performance of comparable models from the Pythia suite. Our rigorous data processing methods significantly enhance Zyda's effectiveness, outperforming even the best of its constituent datasets when used independently.
[ -0.15167641639709473, -0.42801162600517273, 0.44328317046165466, 0.1337701678276062, -0.593012809753418, -0.18209858238697052, -0.37610629200935364, -0.2968771755695343, -0.00321867479942739, 0.5560095310211182, -0.23539896309375763, -0.6645797491073608, -0.3327913284301758, -0.17635786533355713, -0.43687182664871216, 0.8815597295761108, -0.13916528224945068, 0.0913948267698288, 0.11087219417095184, -0.259782612323761, -0.07716091722249985, -0.5177850723266602, -0.06537123769521713, -0.09776990115642548, 0.843200147151947, 0.47415316104888916, 0.9694143533706665, 0.966991126537323, 0.35418978333473206, 0.098648801445961, 0.08155780285596848, 0.046712476760149, -0.5748355984687805, 0.037746623158454895, -0.21814267337322235, -0.2603193521499634, -0.3671073913574219, 0.11849229782819748, 0.9516591429710388, 0.8733046650886536, -0.38000351190567017, 0.42062878608703613, -0.2446291744709015, 0.7182222008705139, -0.8455480933189392, 0.020512308925390244, -0.605363130569458, -0.13111461699008942, -0.6559175252914429, 0.14416569471359253, -0.010883081704378128, -0.5941625237464905, 0.05786368250846863, -0.6296983957290649, 0.055981606245040894, -0.13534493744373322, 0.5646994709968567, 0.09190220385789871, -0.09540881961584091, -0.07502947002649307, -0.7974767684936523, 0.592911422252655, -0.762938380241394, 0.5074880123138428, 0.1682121902704239, 0.15607355535030365, -0.274838924407959, -0.6577128171920776, -0.7444802522659302, -0.08017423748970032, 0.3912428915500641, -0.330291211605072, -0.25212299823760986, 0.14262136816978455, 0.15817350149154663, 0.6404209136962891, -0.6764243245124817, 0.44063594937324524, -0.5861786007881165, 0.0770583227276802, 0.42605704069137573, 0.044922541826963425, 0.5289917588233948, 0.36450979113578796, -0.23378635942935944, -0.16241303086280823, -1.1361193656921387, -0.22873328626155853, 0.7157663106918335, 0.8257655501365662, 0.026421453803777695, 0.6165507435798645, -0.5857365131378174, 0.7341503500938416, -0.6862912774085999, 0.10352417081594467, 0.35140424966812134, -0.21905356645584106, -0.3913564383983612, 0.11704157292842865, 0.8375946283340454, -0.0011757633183151484, 0.5313454270362854, -0.24941521883010864, -0.11981742829084396, 0.036353759467601776, 0.044459715485572815, -1.028425931930542, -0.2950724959373474, 0.48539796471595764, -0.45463287830352783, -0.11842433363199234, 0.19511790573596954, -0.7214143872261047, -0.3096247911453247, -0.5504242777824402, 0.2268364429473877, -0.1279486119747162, -0.6415168642997742, 0.34652265906333923, 0.2009001225233078, 0.005785495508462191, 0.11776763945817947, -0.9506077170372009, 0.2882007658481598, 0.6952183246612549, 1.078199863433838, -0.016025258228182793, -0.3997528851032257, -0.5963413715362549, -0.23219533264636993, -0.8165266513824463, 0.4581409990787506, -0.35728392004966736, -0.08994227647781372, 0.12064779549837112, -0.22132667899131775, 0.0851019024848938, -0.5945173501968384, 0.3363806903362274, -0.7916061878204346, -0.07148779183626175, -0.1288330852985382, -0.5604625344276428, 0.09740229696035385, -0.23069652915000916, -0.9204123616218567, 0.6331236958503723, 0.5365674495697021, -0.7169800996780396, 0.48209714889526367, -0.3202974200248718, -0.09043575823307037, 0.2784038186073303, -0.1966954916715622, -0.14450520277023315, 0.20082631707191467, 0.11994786560535431, 0.10803613811731339, -0.4596148133277893, 0.19632694125175476, -0.3807482421398163, -0.364346981048584, -0.07002123445272446, -0.2686959207057953, 0.9027270674705505, 0.4036319851875305, 0.10957284271717072, 0.47044846415519714, -0.9519425630569458, 0.21164225041866302, -0.042707882821559906, -0.36560091376304626, -0.4079653322696686, -0.13431012630462646, 0.18484804034233093, 0.46431535482406616, 0.2218666523694992, -0.9096590280532837, 0.21565043926239014, -0.48848864436149597, 0.31420040130615234, 0.7354573011398315, -0.38376349210739136, 0.19754035770893097, -0.18172359466552734, 0.5569841265678406, 0.16766078770160675, 0.051559362560510635, 0.008732355199754238, -0.3007395267486572, -0.3644719421863556, -0.5496452450752258, 0.4727367162704468, 0.25609543919563293, -0.5245698690414429, 0.4389083981513977, -0.5425460338592529, -0.7365195155143738, -0.754728376865387, 0.47402799129486084, 0.16753071546554565, 0.1485976129770279, 0.3372974693775177, -0.14598412811756134, -0.5926480889320374, -0.7950480580329895, 0.007676995359361172, -0.12195300310850143, -0.2470124512910843, -0.18359680473804474, 0.23110496997833252, 0.06339710205793381, 1.0735418796539307, -0.23612219095230103, -0.2912902235984802, -0.45786064863204956, -0.16540120542049408, 0.49604174494743347, 0.4831930696964264, 0.39197808504104614, -0.40189412236213684, -0.393609881401062, 0.1593417376279831, -0.583069920539856, -0.1630636602640152, 0.16394297778606415, -0.08122525364160538, 0.17585806548595428, 0.36018332839012146, -0.7632347941398621, 0.27340540289878845, 0.7410373091697693, -0.4440159201622009, 0.5976248383522034, -0.37892723083496094, -0.2717629075050354, -0.9195829629898071, 0.3295634686946869, -0.18344996869564056, -0.09496906399726868, -0.6849778294563293, 0.1537550836801529, 0.16637425124645233, 0.011050577275454998, -0.5530187487602234, 0.7224896550178528, -0.25752800703048706, -0.25674229860305786, -0.284028559923172, 0.14032475650310516, -0.41164425015449524, 0.24027937650680542, -0.07800925523042679, 0.9893768429756165, 0.6048312187194824, -0.48729997873306274, 0.4847353994846344, 0.3632833659648895, -1.0173109769821167, -0.09190414845943451, -0.6052795648574829, 0.1899208128452301, -0.14156895875930786, 0.09832211583852768, -0.5986427664756775, -0.1251591444015503, 0.18845587968826294, -0.07988298684358597, -0.13689567148685455, -0.09965088963508606, -0.7775294780731201, -0.14259088039398193, -0.2964582145214081, 0.3604755401611328, 0.4039241373538971, -0.8816063404083252, 0.23409193754196167, 0.21484579145908356, -0.4097815454006195, -0.7248311638832092, -0.30999085307121277, -0.0076996078714728355, -0.0299492459744215, -0.248624786734581, 0.20153193175792694, -0.055477388203144073, -0.4326426386833191, -0.019152499735355377, 0.044127218425273895, 0.01976432092487812, 0.10602977126836777, 0.17311100661754608, 0.40371131896972656, -0.4706769287586212, 0.29913628101348877, -0.28545480966567993, 0.0018987689400091767, -0.08642136305570602, -0.4046144485473633, 0.8105565309524536, 0.18649400770664215, -0.1872129738330841, -0.6187480688095093, 0.04918015003204346, 0.7379769682884216, -0.2771490514278412, 0.9894223809242249, 0.2571506202220917, -0.39943164587020874, -0.46287810802459717, -0.10966257750988007, 0.28749656677246094, -0.373663991689682, 0.3904310166835785, -0.26502376794815063, -0.6441808938980103, 0.3688252568244934, 0.32580870389938354, 0.2677517831325531, 0.290661484003067, 0.5533133149147034, 0.3695131838321686, 0.6902980208396912, 0.47724461555480957, -0.7231153249740601, 0.6389597654342651, 0.018565945327281952, 0.2739467918872833, -0.5399174094200134, -0.006052390206605196, -0.7171968221664429, -0.03561362996697426, -0.494651734828949, -0.5219855308532715, -0.18430985510349274, 0.33332452178001404, -0.408661425113678, 0.11566890776157379, 0.11944104731082916, 0.6070699691772461, 0.6197882294654846, -0.0450676828622818, 0.47315096855163574, 0.278200626373291, 0.14400134980678558, 0.34374669194221497, -0.6321750283241272, -0.780726432800293, 1.5767436027526855, 0.4439614415168762, 0.8223649263381958, 0.2522309720516205, 0.4645228087902069, 0.06048739701509476, 0.44033464789390564, -0.6286109089851379, 0.3425610363483429, -0.3605051338672638, -0.5656677484512329, -0.5996639728546143, -0.6331163048744202, -0.8796218037605286, 0.39966264367103577, -0.008150052279233932, -0.6169257164001465, 0.11860403418540955, -0.06668650358915329, -0.5268341302871704, 0.6359459757804871, -0.3306640088558197, 0.7009752988815308, 0.0765751525759697, -0.43430066108703613, -0.40676864981651306, -0.24391260743141174, 0.29953867197036743, -0.21211308240890503, 0.1353098303079605, -0.469892680644989, -0.009784577414393425, 0.7210506200790405, -0.6374992728233337, 0.4132414758205414, -0.3234606981277466, -0.5441851019859314, 0.286322683095932, -0.052496109157800674, 0.2779529392719269, -0.10591144859790802, -0.2442651391029358, 0.2781154215335846, 0.17568917572498322, -0.46252137422561646, -0.3981865644454956, 0.7483395338058472, -0.9346850514411926, -0.255317360162735, -0.2450018674135208, -0.5589720606803894, -0.3021187484264374, 0.310923308134079, -0.01099773496389389, 0.6518114805221558, -0.36122584342956543, 0.2437838315963745, 0.6028270125389099, -0.3014317750930786, 0.14149703085422516, 0.36025887727737427, -0.5252753496170044, -0.3888469636440277, 1.0166997909545898, 0.2901870310306549, 0.21011348068714142, 0.11842750012874603, 0.10884135961532593, -0.2936326861381531, -0.9971674680709839, -0.5724631547927856, 0.2465265542268753, -0.7318478226661682, -0.21433359384536743, -0.5120497345924377, -0.19207264482975006, -0.5125851631164551, 0.412527859210968, -0.31546926498413086, -0.5599287748336792, -0.3461509943008423, -0.2312663197517395, 0.2287372201681137, 0.8397789001464844, -0.10477247834205627, 0.4243668019771576, -0.7653393745422363, 0.46975988149642944, 0.2410624474287033, 0.8313848972320557, 0.04897615686058998, -0.2614474892616272, -0.31675204634666443, 0.021412398666143417, 0.19086723029613495, -0.3814127743244171, 0.4560120105743408, 0.1694619059562683, 0.6627829670906067, 0.42379114031791687, -0.09694547206163406, 0.2989831566810608, -0.34149909019470215, 0.6071662306785583, -0.001683385344222188, -0.7403643131256104, 0.29456135630607605, -0.5411878228187561, 0.20762574672698975, 0.5721177458763123, 0.42153167724609375, -0.45379531383514404, -0.058931879699230194, -0.3308753967285156, -0.7601898908615112, 0.8583470582962036, 0.17171689867973328, 0.24368762969970703, 0.05798351392149925, 0.4311273396015167, 0.2709360122680664, 0.17520810663700104, -0.29647091031074524, -0.11595532298088074, -0.13152649998664856, -0.6370695233345032, -0.3344323933124542, -0.23797693848609924, 0.0922919288277626, -0.15160903334617615, 0.8262874484062195, -0.0682545006275177, -0.32011330127716064, -0.06618353724479675, -0.35330766439437866, -0.19943487644195557, 0.21466729044914246, 0.34800833463668823, 1.1025539636611938, -0.48174333572387695, -0.028122741729021072, -0.2969129979610443, -0.658008873462677, 0.159012570977211, 0.17591939866542816, 0.03558081015944481, 0.029854558408260345, 0.3277173936367035, 0.6645045876502991, -0.2516058087348938, -1.0561715364456177, 0.32577207684516907, 0.024819405749440193, -0.06830952316522598, 0.09126067161560059, 0.09947024285793304, -0.043367162346839905, 0.09872405230998993, 0.3479178249835968, -0.5114688873291016, -0.15385383367538452, -0.5627259016036987, 0.13343998789787292, 0.08432777225971222, -0.0818869024515152, -0.4066982865333557, 0.334407240152359, -0.05538482964038849, 0.11879025399684906, 0.9882446527481079, 0.24636447429656982, -0.15036284923553467, 0.468117892742157, 0.27438387274742126, 0.5066426992416382, -0.33337604999542236, 0.16344518959522247, 0.5795605778694153, 0.2116887867450714, -0.4442846477031708, 0.6473262906074524, -0.014137941412627697, -0.828366756439209, -0.09067413955926895, -0.881070077419281, -0.5118572115898132, 0.487240731716156, -0.45928382873535156, 0.18027125298976898, -0.757703423500061, 0.09872616082429886, -0.13887478411197662, 0.21040895581245422, -0.633103609085083, 0.20305059850215912, 0.2602370083332062, 1.1826967000961304, -0.6678481698036194, 1.2111629247665405, 0.18725834786891937, -0.5035012364387512, -0.4735255837440491, -0.19007840752601624, -0.32606425881385803, -0.5430095195770264, 0.5945997834205627, 0.13487887382507324, -0.13298429548740387, 0.17063304781913757, -0.4315992295742035, -0.994813859462738, 0.7891045808792114, 0.6425796151161194, -0.8747803568840027, -0.13369916379451752, 0.2468157708644867, 0.5251927971839905, -0.36940017342567444, -0.18641997873783112, 0.789476215839386, 0.1159796491265297, -0.20281001925468445, -0.8549756407737732, -0.09419453144073486, -0.1640262007713318, 0.09084150940179825, 0.06633090227842331, -0.34565234184265137, 1.1152209043502808, -0.27106064558029175, -0.3870212733745575, 0.4810907542705536, 0.6977913975715637, 0.38508176803588867, -0.20654377341270447, 0.40270429849624634, 0.5209436416625977, 0.9193387627601624, 0.1409917026758194, 0.8624389171600342, -0.3066857159137726, 0.18411849439144135, 1.553857445716858, -0.49303436279296875, 1.1698592901229858, 0.3487280309200287, -0.2974541187286377, 0.4920220971107483, 0.5435630679130554, 0.18327677249908447, 0.4626927077770233, 0.5627018213272095, -0.30789127945899963, -0.20313487946987152, -0.036450594663619995, -0.3495336174964905, 0.35556408762931824, 0.29868608713150024, -0.33971208333969116, -0.3442169427871704, -0.011013756506145, -0.2297016680240631, 0.054458267986774445, -0.42770859599113464, 0.4919807016849518, -0.0979730486869812, -0.33332550525665283, 0.34058117866516113, -0.08639401942491531, 0.4844125509262085, -0.7141794562339783, 0.13433422148227692, -0.419274240732193, 0.2795172929763794, -0.1064855232834816, -0.5573672652244568, -0.030580658465623856, 0.06742043793201447, 0.021041374653577805, -0.06158113107085228, 0.34691545367240906, -0.5567099452018738, -0.5003683567047119, 0.27439022064208984, 0.5870708227157593, 0.24676275253295898, -0.25478681921958923, -0.0818009302020073, 0.2581011950969696, -0.5023705363273621, -0.40692731738090515, 0.396832138299942, 0.29746589064598083, -0.16352874040603638, 0.7199141383171082, 0.851713240146637, 0.603508472442627, 0.1037239134311676, 0.39770522713661194, 1.0308215618133545, -0.6758944392204285, -0.5796027779579163, -0.6351414322853088, -0.03539421036839485, 0.17605511844158173, -0.33894774317741394, 0.5967937707901001, 0.6722639799118042, 0.9950069785118103, 0.056593216955661774, 0.9165916442871094, 0.13092009723186493, 0.6603416204452515, -0.6553670763969421, 0.9256579279899597, -0.211432084441185, 0.025122394785284996, 0.15643304586410522, -0.9688210487365723, -0.3722119629383087, 0.47982773184776306, -0.08950980752706528, 0.01059611327946186, 0.20623323321342468, 0.7233905792236328, -0.13832440972328186, 0.1194302961230278, 0.4602717161178589, 0.13914252817630768, 0.4869976043701172, 0.40242302417755127, 0.8569081425666809, -0.24867703020572662, 0.12033898383378983, -0.19454960525035858, -0.1514740139245987, -0.03937319666147232, -0.654321551322937, -0.8170604705810547, -0.5379436612129211, -0.08959891647100449, -0.1059800535440445, 0.02565442956984043, 1.5383275747299194, 0.7205252647399902, -0.9450135827064514, -0.4502505362033844, -0.1307615488767624, 0.01921432837843895, -0.1363145112991333, -0.0658370852470398, 0.36449718475341797, -0.5229119062423706, -0.6640059351921082, 0.6551886796951294, -0.057403333485126495, 0.18717749416828156, -0.6634343266487122, 0.027603937312960625, -0.1386137306690216, 0.1248730793595314, 0.4632999300956726, 0.3069649636745453, -0.45064669847488403, -0.0315171554684639, -0.5405965447425842, -0.1687089502811432, 0.1795666217803955, 0.9633855223655701, -0.8970203995704651, 0.4168824255466461, 0.5408623218536377, 0.4601387679576874, 0.1226719543337822, -0.1558084785938263, 0.7478609681129456, -0.3503003418445587, 0.2597492039203644, 0.019045600667595863, 0.3355734944343567, 0.39382559061050415, -0.026000678539276123, 0.43077701330184937, -0.11109764128923416, -0.14771738648414612, -1.0306870937347412, -0.11939895153045654, -0.5615687966346741, -0.4159907102584839, 1.0361207723617554, -0.31242501735687256, -0.20511458814144135, -0.24154342710971832, -0.02110177092254162, 0.3664247989654541, -0.26235342025756836, 0.6892009377479553, 0.7880972623825073, 0.5182161331176758, 0.021607011556625366, -0.6091117858886719, 0.5697891116142273, 0.0038357458543032408, -0.8770870566368103, 0.7928296327590942, 0.5539439916610718, 0.5162544250488281, -0.14077125489711761, 0.759412407875061, -0.1546986848115921, 0.18391379714012146, -0.04985189810395241, 0.04660265892744064, -0.33305856585502625, -0.7268268465995789, -0.8380553126335144, 0.3622283339500427, 0.31882333755493164, -0.20232117176055908 ]
http://arxiv.org/abs/2406.01976v1
http://arxiv.org/pdf/2406.01976v1
Conditional Language Learning with Context
2024-06-04T05:22:24
2024-06-04T05:22:24
Xiao Zhang, Miao Li, Ji Wu
cs.CL
cs.CL
Language models can learn sophisticated language understanding skills from fitting raw text. They also unselectively learn useless corpus statistics and biases, especially during finetuning on domain-specific corpora. In this paper, we propose a simple modification to causal language modeling called conditional finetuning, which performs language modeling conditioned on a context. We show that a context can "explain away" certain corpus statistics and make the model avoid learning them. In this fashion, conditional finetuning achieves selective learning from a corpus, learning knowledge useful for downstream tasks while avoiding learning useless corpus statistics like topic biases. This selective learning effect leads to less forgetting and better stability-plasticity tradeoff in domain finetuning, potentially benefitting lifelong learning with language models.
[ -0.28568145632743835, -0.9701873660087585, 0.5652381181716919, -0.0688851848244667, -0.1488964557647705, -0.43985724449157715, -0.5283544659614563, -0.27503812313079834, -0.15383027493953705, 0.6957738399505615, -0.6767374277114868, -0.3586706519126892, -0.5334502458572388, 0.0045389411970973015, -0.32583075761795044, 1.238147258758545, 0.1259341537952423, 0.2823565602302551, -0.09891414642333984, -0.11650961637496948, -0.7158312201499939, -0.3203571140766144, -1.1216312646865845, -0.34556442499160767, 0.6040465235710144, 0.5227985382080078, 0.531861424446106, 0.30082079768180847, 0.0807562842965126, 0.29952555894851685, 0.27316373586654663, -0.1739899218082428, -0.8915044069290161, 0.13454872369766235, -0.5859266519546509, -0.7766727805137634, -0.11432908475399017, 0.09172219783067703, 0.5175095796585083, 1.312912940979004, 0.18214969336986542, -0.21149858832359314, 0.28235381841659546, 0.7277425527572632, -0.48745065927505493, 0.3347070813179016, -0.8974012136459351, -0.09643618762493134, -0.010560369119048119, -0.49614477157592773, -0.599342942237854, 0.01212373934686184, 0.41081684827804565, -0.5394097566604614, 0.42723169922828674, -0.10568647086620331, 0.8502747416496277, 0.5567803382873535, -0.5337077975273132, 0.006311631761491299, -0.6525363326072693, 0.8919938802719116, -0.3008367419242859, 0.582215428352356, 0.8450416326522827, 0.36199507117271423, -0.016537237912416458, -0.6472498178482056, -0.4185634255409241, -0.23711583018302917, -0.45294809341430664, 0.1544259637594223, -0.0027602636255323887, 0.181772843003273, 0.20858831703662872, 0.06522472202777863, -0.39273327589035034, 0.01239841990172863, -0.6032615900039673, -0.3416749835014343, 0.18364770710468292, -0.05395470932126045, 0.498690128326416, -0.10245972871780396, -0.329355388879776, 0.03862304240465164, -0.8542786836624146, 0.13938148319721222, 0.08422908931970596, 0.5044227838516235, -0.27934232354164124, 0.30533066391944885, -0.22133970260620117, 0.748679518699646, 0.23462609946727753, -0.07984185218811035, -0.08601130545139313, -0.07032673060894012, -0.47599855065345764, -0.1296909600496292, 0.17330360412597656, 0.06167169660329819, 0.35757511854171753, -0.5568561553955078, -0.2546809911727905, 0.16600079834461212, 0.13970288634300232, -0.6939693689346313, -0.19751569628715515, 0.23884907364845276, -0.32313281297683716, 0.12406273186206818, -0.29303568601608276, -0.33123472332954407, 0.031154368072748184, -0.8504573106765747, 0.4400877058506012, -0.7992293238639832, 0.03479597717523575, 0.06662924587726593, -0.18068650364875793, 0.030421879142522812, 0.2698681950569153, -1.005374550819397, 0.5052547454833984, 0.5578300952911377, 0.43034395575523376, -0.21262188255786896, -0.46843233704566956, -0.8977400064468384, 0.10515270382165909, -0.3075855076313019, 0.6473667621612549, -0.4455503523349762, -0.04798314720392227, -0.03930371254682541, 0.3083413541316986, -0.08010201901197433, -0.36068040132522583, 0.30523186922073364, -0.8219881057739258, 0.20954187214374542, -0.15859852731227875, -0.5817975997924805, -0.435786634683609, -0.24520540237426758, -0.6972770094871521, 0.26653650403022766, 0.3112005591392517, -0.655837893486023, 0.9084054827690125, -0.01871860958635807, -0.6399393081665039, -0.15345612168312073, -0.13169991970062256, -0.21418416500091553, -0.14516668021678925, -0.27993881702423096, 0.6795989274978638, -0.005215795710682869, 0.8011045455932617, -0.463634192943573, -0.2592548727989197, 0.02975299581885338, -0.5499012470245361, 0.7599013447761536, 0.4222654402256012, -0.33328962326049805, 0.15111972391605377, -0.7073694467544556, -0.4701274037361145, -0.2094939649105072, -0.32166925072669983, -0.8172467947006226, 0.20207373797893524, 0.03999670594930649, 0.22658860683441162, -0.08096444606781006, -0.16304263472557068, -0.10520803928375244, -0.5873393416404724, 0.11468829959630966, 0.500649631023407, 0.10480092465877533, 0.9796664118766785, -0.35751065611839294, 0.23546528816223145, 0.046964097768068314, -0.24143333733081818, 0.1927720159292221, -0.2712526023387909, -0.9069943428039551, -0.42926549911499023, 0.34601470828056335, 0.6423512697219849, -0.9977817535400391, 0.00892418622970581, 0.021047871559858322, 0.12758465111255646, -0.07963293790817261, 0.41037052869796753, 0.6228095293045044, 0.6773551106452942, 0.46282219886779785, -0.11957398802042007, -0.8083489537239075, -0.8301105499267578, -0.25175002217292786, 0.29171550273895264, -0.06066446378827095, 0.024820595979690552, 0.3483468294143677, -0.3059839606285095, 0.9766427874565125, -0.3234840929508209, -0.3383995592594147, -0.42160066962242126, -0.04970753937959671, 0.06416134536266327, 0.599547266960144, 0.8171238899230957, -0.9667140245437622, -0.3634907007217407, -0.175583153963089, -0.4404536783695221, -0.2032310515642166, -0.46074652671813965, -0.20320339500904083, 0.38891321420669556, 0.8087016940116882, -0.3961355686187744, 0.3293343484401703, 0.4711003303527832, -0.5368965268135071, 0.21595589816570282, -0.23459866642951965, -0.08923406898975372, -0.613173246383667, 0.053438086062669754, 0.0372963473200798, -0.393366277217865, -0.7056257128715515, -0.12851384282112122, 0.09599395096302032, -0.042972929775714874, -0.6209315061569214, 1.004293441772461, -0.379381000995636, 0.20000524818897247, -0.30577775835990906, 0.0864589661359787, -0.11412306129932404, 0.6926081776618958, 0.5202720761299133, 0.5162745714187622, 0.6048077344894409, -1.053051233291626, -0.5038115382194519, 0.11814235150814056, -0.27430519461631775, 0.34944814443588257, -0.34649160504341125, -0.4494550824165344, -0.33430811762809753, 0.08574320375919342, -0.8334166407585144, -0.22943636775016785, 0.026203354820609093, -0.3332552909851074, 0.5652304887771606, -0.31983643770217896, 0.0545654222369194, 0.08594907820224762, 0.043625473976135254, 0.18572036921977997, 0.4155183732509613, -0.5301305651664734, 0.37272173166275024, 0.5053532123565674, -0.1631455421447754, -0.5241352915763855, -0.7041915059089661, -0.39251989126205444, -0.3436381220817566, -0.28878602385520935, 0.4888724684715271, -0.21965010464191437, -0.3763159513473511, 0.03661796823143959, -0.09858304262161255, -0.3444080948829651, 0.2928217053413391, 0.19606496393680573, 0.24035409092903137, -0.08036090433597565, 0.36117810010910034, 0.25678035616874695, -0.33966952562332153, -0.15984545648097992, -0.36852774024009705, 0.4800984859466553, 0.17893414199352264, 0.11905010044574738, -0.18594667315483093, 0.3219173848628998, 0.2245844602584839, 0.06980385631322861, 0.9172916412353516, 0.551256000995636, -0.5045703649520874, -0.4672727584838867, -0.35840123891830444, -0.46828776597976685, -0.47420722246170044, 0.24746592342853546, -0.6058103442192078, -1.0554616451263428, 0.40610116720199585, 0.1082192212343216, -0.09680597484111786, 0.5595995187759399, 0.6159605383872986, 0.11776785552501678, 0.859807014465332, 1.0451228618621826, -0.01508402545005083, 0.6419752240180969, -0.12908728420734406, 0.10911838710308075, -0.242873877286911, 0.09975962340831757, -0.2414826899766922, 0.17002643644809723, -0.6128215193748474, -0.14357605576515198, -0.09323686361312866, 0.39376339316368103, -0.45239704847335815, 0.356080025434494, -0.1098581999540329, 0.5128535032272339, 0.5237568020820618, 0.3045618236064911, 0.1617525964975357, 0.15849778056144714, -0.3293464779853821, 0.17306333780288696, -0.7795847654342651, -0.3862413763999939, 1.007941484451294, 0.06184574216604233, 0.5498524308204651, 0.04255538061261177, 0.6016625165939331, 0.09286459535360336, 0.49484938383102417, -0.6637520790100098, 0.2230653017759323, -0.36165571212768555, -0.7125989198684692, -0.44056934118270874, -0.43092459440231323, -1.0635968446731567, 0.17110493779182434, -0.30120015144348145, -0.7256935834884644, 0.3807476758956909, 0.3806898295879364, -0.5245339274406433, 0.09293094277381897, -0.9701070785522461, 0.808510422706604, 0.125448077917099, -0.6033810973167419, -0.4445740282535553, -0.5953468084335327, 0.49861598014831543, -0.260852187871933, 0.4749634265899658, -0.030745606869459152, 0.19530744850635529, 0.6911295652389526, -0.31171250343322754, 1.3863760232925415, -0.1711832731962204, 0.1293598711490631, 0.298542320728302, 0.3605441451072693, 0.19599375128746033, 0.3671332001686096, -0.11846934258937836, -0.2219189703464508, 0.2147323340177536, -0.4957237243652344, -0.24752755463123322, 0.8549132347106934, -0.6474277973175049, -0.6715596914291382, -0.08056773245334625, -0.4498046338558197, -0.3737776279449463, 0.39886486530303955, 0.3297904133796692, 0.3307688236236572, -0.34667685627937317, 0.013843366876244545, 0.713640570640564, -0.31104812026023865, 0.3212011158466339, 0.7734788060188293, 0.08711166679859161, -0.1835760772228241, 0.8312366604804993, 0.022305386140942574, 0.45773348212242126, 0.6398047208786011, 0.2186240255832672, -0.058579910546541214, -0.2320064753293991, -0.04128095135092735, 0.24216659367084503, -0.9339630007743835, -0.14785601198673248, -0.6722370982170105, -0.06509234011173248, -0.3722752630710602, -0.47185641527175903, -0.0736892819404602, -0.4868465065956116, -0.29216405749320984, -0.22029605507850647, 0.45503348112106323, 0.261820524930954, -0.34381669759750366, 0.2683563232421875, -0.4240836203098297, 0.47969403862953186, 0.6026455163955688, 0.43195992708206177, -0.0094329584389925, -0.46078014373779297, -0.14284875988960266, 0.015420329757034779, -0.06695869565010071, -0.5820378065109253, 0.5412804484367371, 0.5355682373046875, 0.5982075929641724, 0.6293298006057739, 0.0995398610830307, 0.49701303243637085, -0.8723406791687012, 0.33267679810523987, 0.17984803020954132, -0.9705265164375305, 0.4301391541957855, -0.4810614585876465, 0.3109978139400482, 0.7207487225532532, 0.6909863352775574, -0.5339673161506653, -0.4490222930908203, -0.6412315368652344, -0.672817587852478, 0.6760649085044861, -0.03352391719818115, 0.12002859264612198, -0.3112601339817047, 0.509402334690094, 0.5167973637580872, -0.14591866731643677, -0.9306443929672241, -0.2529454827308655, -0.10189180076122284, -0.049324214458465576, -0.5356515645980835, -0.2970811724662781, -0.058193039149045944, -0.5337434411048889, 0.6294941306114197, -0.057742614299058914, 0.14748843014240265, 0.11412431299686432, -0.5681565999984741, -0.13794443011283875, 0.1760663241147995, 0.6493328213691711, 0.637376606464386, -0.2695613503456116, 0.25704360008239746, 0.41453075408935547, -0.17303737998008728, -0.11298894882202148, -0.17284494638442993, -0.3322027921676636, -0.14215758442878723, 0.4113645553588867, 0.8573535680770874, 0.7365642786026001, -0.6520527601242065, 0.40228694677352905, 0.06824107468128204, -0.19687867164611816, -0.25399670004844666, 0.2548271417617798, 0.09564952552318573, -0.010785473510622978, 0.1476222723722458, 0.317756712436676, 0.18359921872615814, -0.6376152038574219, 0.8048236966133118, 0.3041808307170868, -0.6942009329795837, -0.32332462072372437, 0.836155891418457, -0.05635389685630798, 0.07311313599348068, 0.1106332540512085, -0.25825318694114685, -0.37727853655815125, 0.5723756551742554, 0.7577019929885864, 0.5119783878326416, -0.18761835992336273, 0.11572927236557007, 0.45812463760375977, 0.025495201349258423, -0.07396670430898666, 0.02756211720407009, -0.16133494675159454, -0.8581010699272156, -0.5676117539405823, -0.7489123344421387, -0.1550677865743637, 0.0791424959897995, -0.5073890686035156, 0.5134372115135193, -0.40617281198501587, -0.030386250466108322, 0.13036157190799713, -0.3223962187767029, -1.0806092023849487, 0.6466695070266724, 0.08389304578304291, 0.6949890851974487, -1.0088427066802979, 1.2361559867858887, 0.24382424354553223, -0.6955977082252502, -0.6671249270439148, -0.1634310781955719, -0.02956647239625454, -0.7074477672576904, 1.1208735704421997, 0.044192176312208176, -0.15271754562854767, 0.024107638746500015, -0.5825904607772827, -0.9088090658187866, 0.5604907274246216, 0.35896363854408264, -0.39714184403419495, 0.20682752132415771, -0.23408138751983643, 0.39358752965927124, -0.308183491230011, 0.13343437016010284, 0.7291450500488281, 0.22552213072776794, -0.20490451157093048, -0.5735687017440796, 0.12462903559207916, 0.022589080035686493, -0.26246464252471924, -0.017196819186210632, -0.4059271812438965, 0.8004597425460815, -0.1815982311964035, -0.3404634892940521, -0.11052975803613663, 0.6993400454521179, -0.09065283834934235, 0.14413152635097504, 0.5382633209228516, 0.11827649921178818, 0.5933910608291626, 0.05932725593447685, 0.991557776927948, -0.4118692874908447, 0.33810052275657654, 1.011716604232788, 0.06648286432027817, 0.8742755055427551, 0.40967583656311035, 0.15899987518787384, 0.48368024826049805, 0.6606681942939758, 0.5116224884986877, 1.0333728790283203, -0.009278977289795876, -0.22973549365997314, -0.4987920820713043, 0.3439655005931854, -0.0195978544652462, 0.3394724726676941, 0.5879810452461243, -0.04853885993361473, -0.2738683819770813, 0.4896010458469391, 0.31087803840637207, 0.14772742986679077, -0.36640864610671997, 0.536051869392395, 0.4408226013183594, -0.9491004943847656, 0.9503815770149231, -0.08062581717967987, 0.8113177418708801, -0.592651903629303, 0.019386708736419678, -0.40839165449142456, 0.3322656750679016, -0.1941199004650116, -0.22906561195850372, 0.6812680959701538, -0.1539323627948761, -0.5287025570869446, -0.4180428981781006, 0.6560786962509155, -0.6870211362838745, -0.21525709331035614, 0.48696208000183105, 0.36379799246788025, -0.0767352506518364, 0.24186237156391144, -0.49975714087486267, -0.37486109137535095, 0.07997362315654755, -0.20110276341438293, 0.5714340209960938, 0.4504086375236511, -0.28195759654045105, 0.8330665826797485, 0.5814090371131897, 0.051022518426179886, -0.16165342926979065, 0.32211217284202576, 0.6392982602119446, -0.5897181034088135, -0.5094102621078491, -0.7396038770675659, 0.33234506845474243, 0.15007761120796204, -0.1141766905784607, 0.6304000616073608, 0.3020476698875427, 1.0860826969146729, -0.4183427691459656, 0.6543992757797241, 0.061833642423152924, 0.5276427268981934, -0.9216901063919067, 1.0126030445098877, -0.5373162031173706, 0.30571693181991577, -0.2268001288175583, -0.5690767168998718, -0.5055496096611023, 0.5432314276695251, -0.7630847692489624, -0.12465107440948486, 1.0669145584106445, 0.6011610627174377, -0.34167882800102234, -0.23390977084636688, 0.6310185790061951, 0.26112550497055054, -0.10883436352014542, 0.4487038552761078, 0.4152073264122009, -0.13922999799251556, 0.23976917564868927, -0.39151084423065186, -0.4470803141593933, -0.02746352180838585, -0.7178709506988525, -1.1353745460510254, -0.819433331489563, -0.2450396716594696, -0.17992322146892548, 0.14621908962726593, 0.6686384677886963, 0.7962082624435425, -1.1408004760742188, -0.1322123259305954, -0.35317638516426086, 0.39508527517318726, -0.1742725372314453, -0.2792622447013855, 0.5007267594337463, -0.9595120549201965, -0.6609402894973755, 0.42232006788253784, 0.004242054186761379, -0.10604333877563477, 0.13444694876670837, -0.10507317632436752, -0.12157712131738663, 0.10314957052469254, 0.7380770444869995, 0.5736070871353149, -0.643013596534729, -0.46274513006210327, -0.28837794065475464, -0.22024476528167725, -0.0985921174287796, 0.8314828872680664, -1.0652352571487427, 0.12135873734951019, 0.48996201157569885, 0.552213191986084, 0.5243443846702576, -0.45708203315734863, 0.7852020263671875, -0.5307637453079224, 0.7750943899154663, -0.12396999448537827, 0.6286085844039917, 0.13774803280830383, -0.4471251964569092, 0.315243124961853, 0.1259235441684723, -0.36615878343582153, -0.25268325209617615, 0.2623327374458313, -0.8335667848587036, -0.7579349875450134, 1.1675159931182861, -0.023453202098608017, -0.23495760560035706, -0.43055129051208496, -0.22447986900806427, 0.5803120732307434, -0.17212393879890442, 0.596240222454071, 0.2946607768535614, 0.12526467442512512, -0.03547138348221779, -1.0057997703552246, 1.0621050596237183, 0.7350181937217712, -0.40593093633651733, -0.15034647285938263, 0.5248433351516724, 0.8101533651351929, -0.4262614846229553, 0.6380125284194946, 0.3367566466331482, 0.3615833520889282, -0.1567092090845108, -0.10429860651493073, 0.5415378212928772, -0.4885220527648926, -0.15230636298656464, -0.019272711127996445, 0.04617016017436981, 0.2840119004249573 ]
http://arxiv.org/abs/2406.06576v3
http://arxiv.org/pdf/2406.06576v3
OccamLLM: Fast and Exact Language Model Arithmetic in a Single Step
2024-06-04T04:17:40
2024-06-29T19:13:23
Owen Dugan, Donato Manuel Jimenez Beneto, Charlotte Loh, Zhuo Chen, Rumen Dangovski, Marin Soljačić
cs.CL
cs.CL, cs.AI, cs.LG
Despite significant advancements in text generation and reasoning, Large Language Models (LLMs) still face challenges in accurately performing complex arithmetic operations. To achieve accurate calculations, language model systems often enable LLMs to generate code for arithmetic operations. However, this approach compromises speed and security and, if finetuning is involved, risks the language model losing prior capabilities. We propose a framework that enables exact arithmetic in \textit{a single autoregressive step}, providing faster, more secure, and more interpretable LLM systems with arithmetic capabilities. We use the hidden states of an LLM to control a symbolic architecture which performs arithmetic. Our implementation using Llama 3 8B Instruct with OccamNet as a symbolic model (OccamLlama) achieves 100\% accuracy on single arithmetic operations ($+,-,\times,\div,\sin{},\cos{},\log{},\exp{},\sqrt{}$), outperforming GPT 4o and on par with GPT 4o using a code interpreter. OccamLlama also outperforms GPT 4o both with and without a code interpreter on mathematical problem solving benchmarks involving challenging arithmetic, thus enabling small LLMs to match the arithmetic performance of even much larger models. We will make our code public shortly.
[ 0.29561784863471985, -0.908913791179657, 0.7000556588172913, 0.5031847357749939, -0.3119531571865082, 0.16329120099544525, 0.10601955652236938, -0.4149579405784607, 0.044054966419935226, 0.706959068775177, -0.22003228962421417, -0.6911039352416992, -0.617231011390686, -0.15451519191265106, -0.49230825901031494, 0.5388213396072388, -0.16608530282974243, 0.1757640391588211, 0.11613678187131882, -0.29817041754722595, -0.01924283802509308, -0.7571667432785034, -0.619090735912323, -0.08682020008563995, 0.20233339071273804, 0.2537648677825928, 0.804397463798523, 0.9089257717132568, 0.6802254915237427, 0.37811338901519775, 0.07548679411411285, 0.2541850209236145, -0.4910188913345337, 0.10553093254566193, 0.13578301668167114, -0.6644608378410339, -0.8681678175926208, -0.16067224740982056, 0.8611252307891846, 0.6152334213256836, -0.5331369638442993, 0.2994735836982727, -0.43094494938850403, 0.7237275242805481, -0.6303367018699646, 0.5629811882972717, -0.6493417024612427, 0.015951311215758324, -0.3044430613517761, -0.0730833187699318, -0.40011101961135864, -0.6810795068740845, -0.6081441640853882, -0.6919689178466797, -0.13090169429779053, 0.20859059691429138, 0.514763355255127, 0.49588173627853394, -0.5302592515945435, -0.2857252061367035, -0.604529082775116, 0.5443044304847717, -0.7699885964393616, 0.3943907916545868, 0.22146479785442352, 0.3309411108493805, -0.26620224118232727, -0.8748877048492432, -0.549652636051178, -0.290427565574646, 0.037739869207143784, -0.20528313517570496, -0.19327229261398315, 0.10959819704294205, 0.400547593832016, 0.45072290301322937, -0.5421015620231628, 0.06280234456062317, -0.18445263803005219, 0.1840764731168747, 0.49256381392478943, 0.5906913876533508, 0.24929046630859375, 0.22188320755958557, -0.1895459145307541, 0.010986252687871456, -0.9090554118156433, -0.10396973043680191, 0.38267871737480164, 0.12297970056533813, -0.11843506991863251, 0.7897158265113831, -0.2005942314863205, 0.7210560441017151, 0.0695362389087677, -0.008831403218209743, 0.0043301060795784, -0.15234710276126862, -0.44278571009635925, 0.2560683488845825, 0.779002845287323, -0.3100608289241791, 0.12345299124717712, 0.20334789156913757, -0.3863454759120941, 0.4513174295425415, 0.23986707627773285, -1.162580132484436, -0.18243560194969177, 0.022917630150914192, -0.16254960000514984, -0.387672483921051, 0.14163708686828613, -0.30640149116516113, -0.2343679517507553, -0.310309499502182, 0.4475500285625458, -0.4562084972858429, -0.12751272320747375, 0.5606333017349243, 0.31553134322166443, -0.1840258091688156, 0.5721324682235718, -0.5911787748336792, 0.7190744280815125, 1.1405682563781738, 0.7752156257629395, -0.09964994341135025, -0.1554913967847824, -0.8406466245651245, 0.039548903703689575, -0.6763647198677063, 0.1724604219198227, -0.6348327994346619, -0.3072250187397003, -0.029185622930526733, -0.31589406728744507, -0.09062961488962173, -0.250553697347641, 0.31373026967048645, -0.8877372741699219, -0.03344573453068733, 0.4180261790752411, -0.6764609217643738, -0.1648246794939041, -0.13728219270706177, -0.7460902333259583, 0.9266594052314758, -0.24073074758052826, -0.40963947772979736, -0.14711980521678925, -0.9641297459602356, -0.4374946057796478, 0.011668093502521515, -0.16279561817646027, -0.24651771783828735, 0.40350234508514404, 0.17701442539691925, 0.15239669382572174, -0.21826313436031342, 0.1333923190832138, -0.36610203981399536, -0.4200214147567749, 0.1469266414642334, -0.7885265946388245, 1.246014952659607, 0.19395793974399567, -0.5432655215263367, 0.05314868688583374, -0.9731446504592896, 0.04195127636194229, 0.46680107712745667, -0.20150123536586761, -0.3179725110530853, -0.12273871898651123, -0.45661380887031555, -0.0607542023062706, 0.6307510137557983, -0.5999170541763306, 0.40702348947525024, -0.5666945576667786, 0.308384507894516, 0.7213325500488281, -0.09036006778478622, 0.573727011680603, 0.14773838222026825, 0.5170929431915283, -0.09903471171855927, 0.21911439299583435, -0.3475874960422516, -0.6690865755081177, -0.8917847871780396, -0.22881513833999634, 0.2532253861427307, 0.5277643799781799, -0.7103917002677917, 0.4059094786643982, -0.2549741268157959, -0.5778264403343201, -0.5225821733474731, 0.033094994723796844, 0.7517502307891846, 0.36619317531585693, 0.17962832748889923, -0.23313210904598236, -0.15497717261314392, -0.40828508138656616, -0.19961406290531158, -0.5717994570732117, -0.008722364902496338, -0.2306465059518814, 0.15224403142929077, 0.0851525217294693, 0.5504880547523499, -0.7873762249946594, -0.3067750632762909, 0.1498630791902542, 0.244537815451622, 0.41507959365844727, 0.48044127225875854, 0.1372431516647339, -0.7083589434623718, -0.2761922776699066, 0.1261785626411438, -0.7628650665283203, -0.18766924738883972, 0.19627587497234344, -0.28418564796447754, 0.6136540770530701, 0.3474203944206238, -0.7480728626251221, 0.8262205719947815, 0.5777319073677063, -0.5690810084342957, 0.36653006076812744, -0.42767515778541565, 0.10674607008695602, -0.5166134834289551, -0.04755109176039696, -0.5031930208206177, -0.4715842008590698, -0.7525440454483032, 0.8229879140853882, 0.5304473638534546, -0.09023258090019226, -0.5234503746032715, 0.5958748459815979, -0.5249939560890198, 0.04505687952041626, -0.1204872876405716, -0.24095465242862701, 0.08008472621440887, 0.49734532833099365, 0.013314016163349152, 0.5608100891113281, 0.4866866171360016, -0.5095456838607788, 0.10278450697660446, -0.017663288861513138, -0.19233624637126923, 0.41999441385269165, -0.5795835256576538, 0.2511669993400574, 0.18234749138355255, 0.1847323477268219, -0.6445308327674866, 0.08966771513223648, 0.23610179126262665, -0.36019811034202576, 0.36068734526634216, 0.02232852764427662, -0.6597158908843994, -0.2193467617034912, -0.013954535126686096, 0.5812581777572632, 0.5995698571205139, -0.5755100846290588, 0.9523658752441406, 0.43551862239837646, -0.12147678434848785, -0.4069505035877228, -0.40106797218322754, 0.14839786291122437, 0.26352643966674805, -0.6480348110198975, 0.01886480301618576, -0.09560523182153702, -0.6213908195495605, -0.11588995903730392, -0.15597501397132874, -0.17401301860809326, 0.1219121664762497, 0.4154829680919647, 0.4752187132835388, -0.4106314182281494, 0.03700580447912216, -0.012655558064579964, -0.2065030336380005, 0.1241542249917984, -0.44543129205703735, 0.6236171722412109, -0.43568673729896545, -0.9008950591087341, -0.3738026022911072, 0.23711766302585602, 0.6528083086013794, -0.3275392949581146, 0.55820631980896, 0.3477313816547394, -0.44629669189453125, -0.11956249177455902, -0.5749897956848145, 0.011619760654866695, -0.5210162997245789, 0.22175900638103485, -0.5960996747016907, -0.770318329334259, 0.20279623568058014, 0.4756873846054077, 0.528671383857727, 0.4823169410228729, 0.6342036724090576, 0.3102496266365051, 1.2940691709518433, 0.5156846046447754, 0.1690344214439392, 0.2880556881427765, -0.02508016861975193, 0.18777979910373688, -0.06886392831802368, -0.18696466088294983, -0.6312813758850098, 0.12249837070703506, -0.2795998156070709, -0.8298683166503906, 0.3769571781158447, 0.1333777755498886, -0.5334147214889526, 0.37292274832725525, -0.3143905699253082, 0.5257489681243896, 0.5851423740386963, 0.13949480652809143, 0.7409805655479431, 0.057322658598423004, -0.18247772753238678, 0.2397165298461914, -0.7040231227874756, -0.44986703991889954, 0.893150269985199, 0.4487035870552063, 1.0924872159957886, 0.3478909432888031, 0.7595007419586182, 0.20048962533473969, 0.4375104010105133, -0.6354759335517883, 0.772685170173645, -0.33962124586105347, -0.43298450112342834, -0.40110886096954346, -0.7536547183990479, -0.6154810190200806, 0.2919096350669861, 0.2821454405784607, -0.3822192847728729, 0.05159592628479004, 0.2586422860622406, -0.2894270420074463, 0.47166696190834045, -0.6554279327392578, 0.5556465983390808, -0.3019721806049347, -0.2564878463745117, -0.34872302412986755, -0.4834393560886383, 0.5614348649978638, -0.29930636286735535, 0.16069886088371277, -0.22216670215129852, -0.49073559045791626, 0.4185848534107208, -1.0154799222946167, 0.8684120178222656, -0.12081872671842575, -0.41097626090049744, 0.21861256659030914, 0.6590508222579956, 0.8005357980728149, -0.08294662833213806, -0.28697770833969116, 0.6825106739997864, -0.10686959326267242, -0.48489561676979065, -0.7186310887336731, 0.7534406781196594, -0.5125628113746643, -0.816377580165863, -0.5137561559677124, -0.39163824915885925, -0.0804063007235527, 0.06459566205739975, -0.31649157404899597, 0.6363681554794312, -0.14667947590351105, -0.13071545958518982, 0.5480132102966309, 0.21314337849617004, 0.637968122959137, 1.0198556184768677, -0.6760752201080322, -0.34024280309677124, 0.8700095415115356, -0.02877447009086609, 0.5173173546791077, 0.5962901711463928, 0.11685440689325333, -0.4558047950267792, -0.26147934794425964, -0.8715035915374756, 0.1247049942612648, -0.6421396732330322, -0.21580606698989868, -0.7797628045082092, -0.246093288064003, -0.4483497440814972, 0.023269718512892723, -0.4375808537006378, -0.9169219732284546, -0.25726568698883057, -0.04572158306837082, 0.39377498626708984, 1.007253646850586, -0.07213465124368668, 0.15183304250240326, -0.9120673537254333, 0.5645729899406433, 0.4650903046131134, 0.28868773579597473, 0.08616025000810623, -0.651336669921875, -0.12772215902805328, 0.07999376207590103, -0.11264599114656448, -0.6481375694274902, 0.35168546438217163, 0.270118772983551, 0.13326618075370789, 0.4266953766345978, 0.08414828777313232, 1.032935380935669, -0.9447016716003418, 0.517159640789032, 0.35223081707954407, -1.2515203952789307, 0.08156348764896393, -0.017623858526349068, 0.465823233127594, 0.2805919647216797, 0.17193681001663208, -0.22508633136749268, -0.6610894203186035, -0.6187793612480164, -0.5362066030502319, 0.7841529846191406, 0.548456072807312, -0.09589257091283798, 0.13002564013004303, -0.05721524730324745, 0.03300422802567482, 0.26497170329093933, -0.42546823620796204, -0.4229612350463867, -0.15089663863182068, -0.22141219675540924, 0.0013866527006030083, -0.13880106806755066, -0.1181972473859787, -0.047357022762298584, 0.6891325116157532, -0.027275249361991882, 0.2548840343952179, -0.0948149785399437, -0.2289293259382248, -0.27603673934936523, -0.012982483021914959, 0.6832149028778076, 0.784822404384613, -0.16289560496807098, 0.38194504380226135, 0.16678670048713684, -0.7705391049385071, 0.33223956823349, 0.2001790702342987, -0.15117202699184418, 0.0950641855597496, 0.28259819746017456, 0.731156051158905, 0.2937922775745392, -0.4532579481601715, 0.4555003046989441, -0.22623777389526367, 0.10045861452817917, -0.3821784555912018, 0.2297593355178833, 0.060031816363334656, 0.033643580973148346, 0.45201313495635986, 0.050441332161426544, 0.01206256728619337, -0.4297805726528168, 0.14678727090358734, 0.23390139639377594, -0.4416787922382355, -0.22127336263656616, 0.7613675594329834, 0.10318474471569061, -0.5689431428909302, 0.29191693663597107, -0.24634936451911926, -0.3375171422958374, 0.7794787883758545, 0.6428437232971191, 0.7835819125175476, -0.4370422959327698, -0.051738813519477844, 0.07884983718395233, 0.4285523295402527, -0.05478126183152199, 0.36280229687690735, 0.11358851194381714, -0.3434893786907196, -0.4641704559326172, -1.0590239763259888, -0.48347610235214233, -0.5143088698387146, -0.5285489559173584, 0.15882132947444916, -0.6168677806854248, 0.2042606920003891, -0.09753264486789703, -0.19485628604888916, -0.6194023489952087, 0.06957465410232544, 0.1817251741886139, 1.1113379001617432, -0.3188364505767822, 1.0799510478973389, 0.4351305067539215, -0.10845199227333069, -0.9500354528427124, -0.39128178358078003, 0.147929847240448, -1.284250259399414, 0.674056887626648, 0.08214618265628815, -0.43392670154571533, 0.18453079462051392, -0.35820063948631287, -0.7769693732261658, 0.8192281126976013, 0.4688419699668884, -0.905147910118103, -0.045182064175605774, 0.3984178602695465, 0.4470686614513397, -0.39942023158073425, 0.3773925006389618, 0.558271586894989, 0.4701705276966095, 0.26203015446662903, -0.9179315567016602, 0.13567835092544556, -0.21839722990989685, -0.09070801734924316, 0.5984609127044678, -0.3548179864883423, 0.88740074634552, -0.2159702479839325, -0.38817307353019714, 0.2990567088127136, 0.7384970784187317, 0.2535770833492279, 0.30314838886260986, 0.47409915924072266, 0.7683864831924438, 0.703116238117218, -0.06830491125583649, 1.1615769863128662, -0.5565165281295776, 0.1296536773443222, 1.219455599784851, -0.45464158058166504, 1.0250778198242188, 0.12200308591127396, -0.3170912563800812, 0.35980352759361267, 0.1289849728345871, 0.6243528723716736, 0.051989808678627014, 0.11179139465093613, -0.5350672602653503, -0.4803409278392792, 0.05812996253371239, -0.3395766317844391, 0.35749611258506775, 0.446662962436676, -0.12736786901950836, -0.18007786571979523, -0.4066236913204193, 0.30838313698768616, 0.012805284932255745, -0.6656489968299866, 0.6295207738876343, 0.32103076577186584, -0.41570356488227844, 0.6375887989997864, 0.18332424759864807, 0.31516018509864807, -0.9197001457214355, -0.40641582012176514, -0.283692866563797, 0.23544831573963165, -0.15344549715518951, -0.5826805233955383, 0.2625780403614044, -0.03576980531215668, 0.14944230020046234, -0.21120518445968628, 0.6242047548294067, -0.5213157534599304, -1.1478509902954102, 0.13274089992046356, 0.38776445388793945, 0.1720026731491089, -0.2501732409000397, -0.5766131281852722, 0.10056913644075394, -0.10802888125181198, -0.09484075009822845, 0.09802214801311493, 0.6384164094924927, -0.2327566295862198, 0.7269024848937988, 0.881506621837616, 0.22943834960460663, 0.4189414381980896, 0.10182378441095352, 0.7049286365509033, -0.662568986415863, -0.6200350522994995, -1.0265949964523315, 0.2545752227306366, 0.0215823482722044, -0.09308044612407684, 0.8231284022331238, 0.5193148255348206, 0.43581101298332214, -0.04409502446651459, 0.15124352276325226, 0.10283097624778748, 0.18276885151863098, -0.6703888177871704, 0.8962863087654114, -0.49618449807167053, 0.274549275636673, 0.014603142626583576, -0.8606625199317932, -0.525715708732605, 0.21606110036373138, -0.2023516744375229, -0.4080570638179779, 0.8277183771133423, 1.1019549369812012, -0.06828371435403824, 0.15040545165538788, 0.768337070941925, 0.44900447130203247, 0.19983603060245514, 0.4474712610244751, 0.6369595527648926, -0.36520543694496155, 0.5417945384979248, -0.26733630895614624, -0.292363703250885, -0.2354680746793747, -0.976283073425293, -0.7111032009124756, -0.19220589101314545, -0.17219674587249756, -0.2926270663738251, 0.18047431111335754, 0.9066793918609619, 0.4913242757320404, -0.7687740921974182, -0.4909912645816803, -0.20049163699150085, 0.23303233087062836, -0.030881846323609352, -0.21387764811515808, 0.39388588070869446, -0.2864493131637573, -0.8286365270614624, 0.42192718386650085, 0.7518077492713928, -0.1428331732749939, -0.45721110701560974, -0.2511283755302429, 0.04617232456803322, 0.3855128884315491, 0.6023449897766113, 0.21595455706119537, -0.7505986094474792, 0.01545324083417654, -0.1404823362827301, -0.3678014576435089, 0.09615658223628998, 0.9228066205978394, -0.5500836372375488, 0.40050625801086426, 0.4153438210487366, 0.5235676765441895, 0.5020759701728821, 0.009796925820410252, 0.5161330103874207, -0.23802566528320312, 0.13170288503170013, 0.37391069531440735, 0.4657424986362457, 0.029108034446835518, -0.29447266459465027, 0.6260256767272949, 0.09801668673753738, -0.4431321620941162, -0.6857404112815857, 0.21547724306583405, -0.8193971514701843, -0.08308465033769608, 1.0148707628250122, -0.48338782787323, -0.6275539398193359, -0.11532503366470337, -0.1512373983860016, -0.011989407241344452, -0.5822615623474121, 0.5086479187011719, -0.007200686261057854, 0.0708686113357544, 0.20172877609729767, -0.11714619398117065, 0.1424230933189392, 0.5409374833106995, -0.7470592260360718, -0.053974468261003494, 0.6003267765045166, -0.034285202622413635, 0.27738088369369507, 0.6392139196395874, -0.33150631189346313, 0.33810725808143616, 0.18791966140270233, 0.3252251148223877, -0.5247472524642944, -0.4425341486930847, -0.4969058930873871, 0.5158289670944214, 0.0736585333943367, -0.1713419109582901 ]
http://arxiv.org/abs/2406.01946v2
http://arxiv.org/pdf/2406.01946v2
Bileve: Securing Text Provenance in Large Language Models Against Spoofing with Bi-level Signature
2024-06-04T03:58:14
2024-06-17T15:11:11
Tong Zhou, Xuandong Zhao, Xiaolin Xu, Shaolei Ren
cs.CR
cs.CR, cs.CL
Text watermarks for large language models (LLMs) have been commonly used to identify the origins of machine-generated content, which is promising for assessing liability when combating deepfake or harmful content. While existing watermarking techniques typically prioritize robustness against removal attacks, unfortunately, they are vulnerable to spoofing attacks: malicious actors can subtly alter the meanings of LLM-generated responses or even forge harmful content, potentially misattributing blame to the LLM developer. To overcome this, we introduce a bi-level signature scheme, Bileve, which embeds fine-grained signature bits for integrity checks (mitigating spoofing attacks) as well as a coarse-grained signal to trace text sources when the signature is invalid (enhancing detectability) via a novel rank-based sampling strategy. Compared to conventional watermark detectors that only output binary results, Bileve can differentiate 5 scenarios during detection, reliably tracing text provenance and regulating LLMs. The experiments conducted on OPT-1.3B and LLaMA-7B demonstrate the effectiveness of Bileve in defeating spoofing attacks with enhanced detectability.
[ -0.007379479240626097, -0.7990304231643677, 0.2135344296693802, 0.4351803660392761, -0.34521782398223877, 0.4062754511833191, 0.1562497317790985, -0.5320665240287781, 0.10659844428300858, 0.8914716839790344, -0.17845799028873444, -0.44989442825317383, -0.9311020970344543, -0.013109507970511913, -0.7656306624412537, 1.182835340499878, 0.14102600514888763, -0.25479957461357117, -0.3230028450489044, -0.25242745876312256, -0.17712904512882233, -0.49028101563453674, -0.5656326413154602, -0.08834315836429596, 0.6012051105499268, 0.10681331157684326, 0.46174994111061096, 0.5367031693458557, 0.4197128117084503, 0.22836150228977203, -0.3150492310523987, 0.25695285201072693, -0.7440453767776489, 0.579256534576416, -0.3760673999786377, -0.40575313568115234, -0.4250465929508209, -0.06673003733158112, 0.8671204447746277, 0.5286083221435547, 0.15524190664291382, 0.10841869562864304, 0.03420513495802879, 0.6071184873580933, -0.7090444564819336, 0.08893075585365295, -0.9266809225082397, -0.40638256072998047, -0.64823979139328, -0.2675577998161316, -0.7165788412094116, -0.23740415275096893, -0.24538478255271912, -0.2383580207824707, 0.2033887803554535, 0.3323439359664917, 1.1542733907699585, 0.246625155210495, -0.32392287254333496, -0.14829692244529724, -0.7323037385940552, 0.7348611354827881, -0.8684818148612976, 0.18028125166893005, 0.4194239377975464, 0.22718118131160736, -0.4455031454563141, -0.4748372435569763, -0.48503780364990234, 0.061126090586185455, 0.17510473728179932, 0.06175900995731354, -0.1589771807193756, -0.2784361243247986, 0.3104097843170166, 0.5520567297935486, -0.38669896125793457, 0.01948537863790989, -0.20584207773208618, -0.6044207215309143, 0.4184674620628357, -0.14475442469120026, 0.3628738224506378, 0.11717048287391663, -0.7617082595825195, -0.17610575258731842, -1.3576889038085938, 0.08323699235916138, 0.6859539747238159, 0.4247360825538635, -0.07548979669809341, 0.5082531571388245, -0.11304426938295364, 0.2887764275074005, 0.22037404775619507, -0.09507446736097336, -0.0017774974694475532, -0.06919638812541962, -0.21970434486865997, 0.43826746940612793, 0.6281678080558777, -0.10919854789972305, -0.027736743912100792, -0.33080822229385376, -0.32826679944992065, -0.17824804782867432, -0.04431164637207985, -0.8437312841415405, -0.1792655736207962, 0.2765029966831207, -0.28870365023612976, -0.6381258368492126, 0.1608245074748993, -0.965142548084259, -0.9830484986305237, 0.2092548906803131, 0.5863550901412964, -0.2779006361961365, -0.40954625606536865, 0.2610562741756439, -0.0930633619427681, 0.4126187264919281, 0.29638323187828064, -0.6838365197181702, 0.32197698950767517, 0.7197432518005371, 0.45072469115257263, -0.07263805717229843, -0.30921903252601624, -1.1496044397354126, 0.6789186000823975, -0.47102296352386475, 1.0696189403533936, -0.377232164144516, -0.28486353158950806, 0.10568321496248245, 0.14358283579349518, 0.46287816762924194, -0.5128839015960693, 0.4643877148628235, -0.7886559963226318, -0.04907675459980965, -0.24802790582180023, -0.5977105498313904, 0.06331567466259003, 0.5626057982444763, -1.0558171272277832, 1.3442351818084717, 0.11570333689451218, -1.0651715993881226, 0.43165475130081177, 0.11922337859869003, -0.7309074401855469, 0.3322237432003021, -0.03871199116110802, -0.653933584690094, 0.015149629674851894, 0.06899970769882202, 0.33449479937553406, -0.08714893460273743, -0.10856323689222336, -0.42517611384391785, -0.21471314132213593, 0.32420986890792847, -0.5683262944221497, 1.047813892364502, -0.24509297311306, -0.6482744216918945, 0.08433711528778076, -1.0866594314575195, -0.29583126306533813, 0.18932850658893585, -0.6767404079437256, -0.685221254825592, 0.22491607069969177, -0.09660612046718597, -0.11262458562850952, 0.3362106382846832, -0.5993853211402893, 0.15084494650363922, -0.48373618721961975, 0.03964383900165558, 0.7671016454696655, 0.19691741466522217, 0.41988715529441833, -0.31010687351226807, 0.3519517481327057, 0.10389766842126846, 0.05876227840781212, -0.23281791806221008, -0.5865187048912048, -0.6171516180038452, -0.6098322868347168, 0.3202730417251587, 0.5025853514671326, -0.6596148014068604, 0.24951428174972534, -0.5139945149421692, -0.6931326389312744, -0.2732517123222351, 0.3647247552871704, 0.38442233204841614, 0.19492846727371216, 0.31541892886161804, 0.05522198975086212, -0.2087886929512024, -0.7428651452064514, -0.5712552666664124, -0.23636959493160248, 0.1474953442811966, 0.004524308256804943, 0.5202717781066895, -0.15927927196025848, 0.8198947310447693, 0.07163996249437332, -0.10209323465824127, -0.4379796087741852, 0.21011453866958618, -0.12051821500062943, 0.5332088470458984, 0.6355889439582825, -0.7039200067520142, -0.4649457633495331, -0.0423150435090065, -0.2280833125114441, -0.5245015025138855, -0.184688001871109, -0.204831063747406, 0.3521023988723755, 0.5695801377296448, -0.32003113627433777, 0.4762544631958008, 0.8215253353118896, -0.48853933811187744, 0.7221472263336182, -0.2977460026741028, 0.15106455981731415, -0.7948986291885376, 0.11920496076345444, -0.4024694859981537, -0.565735399723053, -0.5731338858604431, 0.215268075466156, 0.3668033182621002, 0.0586959533393383, -0.2847347557544708, 0.8097411394119263, -0.5318864583969116, -0.024077709764242172, -0.2632603347301483, -0.08168698847293854, 0.31327566504478455, 0.02409367635846138, -0.19281424582004547, 0.5481394529342651, 0.5946623086929321, -0.29802829027175903, 0.1694430708885193, -0.10125184059143066, -0.2786683738231659, 0.7705197334289551, -0.6757345199584961, 0.12989500164985657, 0.0011669157538563013, 0.38931483030319214, -1.0650153160095215, 0.09126720577478409, 0.35878780484199524, -0.5861684083938599, 0.7441574931144714, -0.43497952818870544, -0.8056866526603699, 0.3720727264881134, -0.3326917588710785, 0.29516369104385376, 0.139054074883461, -0.5259038805961609, 0.7855627536773682, 0.2994972765445709, -0.31729674339294434, -0.6446064114570618, -0.7184244990348816, 0.37035128474235535, -0.15757183730602264, -0.5224842429161072, 0.17497362196445465, -0.11261992156505585, -0.04387925565242767, -0.32113906741142273, -0.23912198841571808, -0.1008826196193695, 0.2855660915374756, 0.37876832485198975, 0.30703428387641907, 0.05208832025527954, -0.40727168321609497, 0.3667328953742981, -0.30155837535858154, 0.00004894530866295099, -0.11061573773622513, 0.4607701301574707, 0.0899793952703476, -0.3801831007003784, -0.07821734249591827, 0.6093490123748779, 1.1639326810836792, -0.5405844449996948, 0.7393996119499207, 0.39963680505752563, -0.5995277166366577, -0.48335009813308716, -0.6334241628646851, -0.14662331342697144, -0.43877342343330383, 0.021083276718854904, -0.16463443636894226, -0.705078125, 0.6465516686439514, -0.1557231992483139, 0.20489385724067688, 0.22076953947544098, 0.36783015727996826, -0.0699915811419487, 0.8920416831970215, 0.37420257925987244, -0.4633089601993561, 0.29825183749198914, -0.009385423734784126, 0.38666674494743347, -0.5057902932167053, -0.31562790274620056, -0.8699476718902588, -0.09018990397453308, -0.37457728385925293, -0.4701571464538574, -0.1975659877061844, 0.23990018665790558, -0.26513367891311646, 0.30990171432495117, -0.26262107491493225, 0.40626731514930725, 0.6595948338508606, -0.014922913163900375, 0.30508559942245483, 0.2718287706375122, -0.21517354249954224, 0.06149901822209358, -0.37679997086524963, -0.5220087766647339, 0.7047615647315979, 0.39305031299591064, 0.8703482151031494, 0.07419972121715546, 0.8513510227203369, 0.43073445558547974, 0.20390652120113373, -0.3392106294631958, 0.5596652626991272, 0.04816130921244621, -1.0729444026947021, -0.16191856563091278, -0.3338263928890228, -0.7157622575759888, -0.09438710659742355, -0.31526950001716614, -0.5379352569580078, 0.2214793860912323, 0.05976419150829315, 0.03618667647242546, 0.4905250370502472, -0.18412770330905914, 0.6595990061759949, -0.3625844717025757, -0.7328830361366272, 0.019588859751820564, -0.6087425947189331, -0.04745231941342354, -0.045109886676073074, 0.5405012369155884, -0.018738048151135445, 0.14184428751468658, 0.5718508958816528, -0.2948160469532013, 0.9394720792770386, -0.30769291520118713, -0.503790557384491, 0.0013025834923610091, 0.6483404636383057, 1.0337454080581665, 0.0835198387503624, -0.008205435238778591, 0.30350083112716675, 0.22358407080173492, -0.7802177667617798, -0.23684196174144745, 0.7249628901481628, -0.35974109172821045, -0.45144256949424744, -0.7198240756988525, -0.4258069694042206, -0.17243017256259918, 0.600812554359436, 0.15198972821235657, 0.5256395936012268, 0.21662694215774536, 0.5265018939971924, 0.9350793361663818, -0.4764866530895233, 0.1460886001586914, 0.6117295026779175, -0.06928913295269012, -0.5161424875259399, 1.1046677827835083, -0.3565404713153839, 0.44895079731941223, 0.6230412125587463, 0.26261842250823975, -0.0927906334400177, -0.9330958127975464, -0.52645343542099, 0.20560108125209808, -0.6682576537132263, -0.34068170189857483, -0.267179399728775, -0.2051563858985901, -0.4028371572494507, -0.20925340056419373, -0.5885715484619141, -0.14110174775123596, 0.03520555794239044, -0.13648919761180878, 0.26568594574928284, 0.3846994638442993, 0.11069507151842117, -0.024547552689909935, -0.8275662064552307, 0.1961556226015091, 0.2578602731227875, 0.37366384267807007, -0.30490320920944214, -0.6072101593017578, -0.09517049789428711, 0.1459737867116928, 0.016522416844964027, -0.9123537540435791, 0.2848382592201233, 0.060575854033231735, 0.6321203112602234, 0.5908787250518799, 0.15018638968467712, 0.4731767773628235, -0.4664306342601776, 0.9281326532363892, 0.04992092028260231, -0.9995295405387878, 0.33845341205596924, -0.45345911383628845, -0.04058346524834633, 0.5555208325386047, -0.07006517052650452, -0.20856884121894836, -0.9659950733184814, -0.3648485839366913, -1.0826610326766968, 0.3838680684566498, 0.2615598738193512, 0.16019810736179352, 0.021536963060498238, 0.24011977016925812, 0.19751283526420593, 0.19102631509304047, -0.9953896999359131, -0.3927214741706848, -0.44618165493011475, -0.08858662843704224, 0.3819222152233124, -0.41705429553985596, -0.15650564432144165, 0.06682577729225159, 0.8456723093986511, 0.10934797674417496, -0.17537584900856018, 0.18531586229801178, -0.2557893395423889, -0.0016533746384084225, 0.2282353937625885, 0.4660947024822235, 0.16945964097976685, -0.18459081649780273, 0.635830819606781, -0.15741591155529022, -0.7254425287246704, -0.05424381420016289, 0.18312019109725952, -0.3836795687675476, -0.07198832184076309, 0.5261669754981995, 0.27254998683929443, 0.42851048707962036, -0.7191014289855957, 0.6396122574806213, 0.1191970556974411, -0.009916241280734539, 0.16015644371509552, -0.18031132221221924, 0.16838504374027252, 0.21762165427207947, 0.4819759130477905, -0.15000444650650024, -0.012246744707226753, -0.4673953652381897, -0.10781227052211761, 0.28095370531082153, -0.4219111502170563, -0.20117424428462982, 0.5125240683555603, 0.06741094589233398, -0.08953936398029327, 0.1618049591779709, -0.17435306310653687, -0.7907291650772095, 0.5815176367759705, 0.7586395740509033, 0.4076991081237793, -0.3707967698574066, 0.08540942519903183, 0.19262216985225677, 0.6258324980735779, -0.09820756316184998, 0.10809636116027832, -0.09477134048938751, -0.6327924132347107, -0.029976652935147285, -0.8114669919013977, -0.4434981644153595, 0.11282126605510712, -0.583721935749054, 0.04573681578040123, -0.463833212852478, 0.33554166555404663, -0.19256512820720673, 0.01625456102192402, -0.1921677142381668, 0.14110034704208374, 0.26503482460975647, 0.7610731720924377, -0.8457701802253723, 0.8128293752670288, 0.7143815755844116, -0.2505480647087097, -0.6562955379486084, -0.14081774652004242, 0.06012997403740883, -0.5922592282295227, 0.5294621586799622, 0.11487749963998795, -0.33045828342437744, 0.09851686656475067, -0.7233657836914062, -0.7825828194618225, 0.8359003663063049, 0.379497766494751, -0.3907936215400696, 0.20533514022827148, 0.34143203496932983, 0.2530664801597595, 0.19534778594970703, -0.3516428470611572, 0.35482996702194214, 0.5145338773727417, 0.09265023469924927, -0.3598423898220062, 0.3316018581390381, -0.31867754459381104, -0.34935346245765686, 0.20880457758903503, -0.31490159034729004, 0.4504406154155731, 0.26187196373939514, -0.22284315526485443, 0.21031127870082855, 0.36028897762298584, 0.7760536074638367, 0.39025089144706726, 0.5613070130348206, 0.5403790473937988, 0.6823753714561462, -0.13516360521316528, 0.8607866764068604, -0.39063748717308044, 0.29564979672431946, 1.062515377998352, -0.578002393245697, 0.8667846918106079, 0.6455272436141968, -0.06903860718011856, 0.6786536574363708, 0.34901344776153564, -0.16198493540287018, 0.5515609979629517, 0.2229490429162979, -0.4403984844684601, -0.3141113817691803, 0.3300052285194397, -0.17324933409690857, 0.10416760295629501, 0.5586429238319397, -0.18410618603229523, -0.1870894432067871, -0.16351787745952606, 0.2998046576976776, 0.080405093729496, -0.24636024236679077, 0.5288093090057373, -0.06935815513134003, -0.41370058059692383, 0.31461113691329956, -0.15028275549411774, 0.4666595458984375, -0.6627846360206604, 0.04204418882727623, -0.40465018153190613, 0.23145157098770142, -0.2040172517299652, -0.5125048756599426, -0.03164030238986015, 0.028115442022681236, -0.3599679172039032, -0.36941447854042053, 0.9755430817604065, -0.47758379578590393, -0.42808711528778076, 0.38661202788352966, 0.1312178075313568, 0.14792317152023315, -0.22876717150211334, -0.4218890964984894, 0.24733015894889832, -0.27313733100891113, -0.23836378753185272, 0.3856301009654999, 0.6151737570762634, -0.11940079927444458, 0.5894363522529602, 0.7834938764572144, 0.6840366721153259, 0.4155675768852234, 0.22668302059173584, 0.6833891272544861, -0.2518680989742279, -0.4173813760280609, -0.6653615832328796, 0.39423054456710815, -0.3627716302871704, 0.18932776153087616, 0.9282325506210327, 0.7325830459594727, 0.6146275401115417, 0.13078810274600983, 0.8469718098640442, 0.0644790530204773, 0.5215296745300293, -0.23610614240169525, 1.1696242094039917, -0.4628191292285919, 0.6154533624649048, -0.5752518773078918, -0.7881408333778381, -0.5359205007553101, 0.3506612777709961, -0.20740078389644623, -0.24507978558540344, 0.6442421674728394, 1.0016010999679565, -0.06611839681863785, -0.33036595582962036, 0.31710419058799744, 0.28251829743385315, 0.7927831411361694, 0.21174657344818115, 0.8422296643257141, -0.4194246530532837, 0.8828041553497314, -0.14618200063705444, -0.45751506090164185, -0.3319200873374939, -1.2046200037002563, -0.9326063990592957, -0.37577497959136963, -0.3400580883026123, -0.5861265659332275, 0.003668488236144185, 0.13624757528305054, 0.6364128589630127, -0.9572586417198181, 0.1387988030910492, -0.06891708076000214, 0.031766511499881744, -0.2674473226070404, -0.2207949161529541, 0.5395281910896301, -0.06227360665798187, -0.5375932455062866, 0.2824634909629822, 0.7228657007217407, 0.18794459104537964, -0.31769484281539917, 0.02658419869840145, -0.11279301345348358, 0.5364558100700378, 0.35248303413391113, 0.40545380115509033, -0.5424875020980835, -0.44251564145088196, 0.08895935863256454, -0.3268071413040161, -0.2218071073293686, 0.7302190065383911, -0.5125535726547241, 0.4734360873699188, 0.7122155427932739, 0.8259699940681458, 0.33493509888648987, -0.0748099833726883, 0.17931683361530304, -0.7206322550773621, 0.10554290562868118, 0.17813757061958313, 0.5108404755592346, 0.500511884689331, -0.23976367712020874, -0.21800380945205688, 0.4158423840999603, -0.5083678960800171, -1.1548246145248413, 0.08196831494569778, -1.3146384954452515, -0.28478485345840454, 1.2952669858932495, -0.46139299869537354, -0.28756555914878845, -0.36473581194877625, -0.328296422958374, 0.14351078867912292, -0.21721793711185455, 0.9288079738616943, 0.7630357146263123, 0.6767880916595459, 0.06849785149097443, -0.3342191278934479, 0.3440949320793152, 0.3133569061756134, -0.8598769307136536, 0.4601692259311676, 0.42099693417549133, 0.5939684510231018, 0.09246844053268433, 0.23651382327079773, -0.585635781288147, 0.3714289367198944, 0.09070044755935669, -0.12061914056539536, -0.11349374800920486, -0.4839102029800415, -0.07278432697057724, 0.33824560046195984, 0.11072735488414764, -0.013902910985052586 ]
http://arxiv.org/abs/2406.01943v1
http://arxiv.org/pdf/2406.01943v1
Enhancing Trust in LLMs: Algorithms for Comparing and Interpreting LLMs
2024-06-04T03:54:53
2024-06-04T03:54:53
Nik Bear Brown
cs.CL
cs.CL, cs.AI, 2020: 68T50, 68Q25, I.2.7; F.2.2
This paper surveys evaluation techniques to enhance the trustworthiness and understanding of Large Language Models (LLMs). As reliance on LLMs grows, ensuring their reliability, fairness, and transparency is crucial. We explore algorithmic methods and metrics to assess LLM performance, identify weaknesses, and guide development towards more trustworthy applications. Key evaluation metrics include Perplexity Measurement, NLP metrics (BLEU, ROUGE, METEOR, BERTScore, GLEU, Word Error Rate, Character Error Rate), Zero-Shot and Few-Shot Learning Performance, Transfer Learning Evaluation, Adversarial Testing, and Fairness and Bias Evaluation. We introduce innovative approaches like LLMMaps for stratified evaluation, Benchmarking and Leaderboards for competitive assessment, Stratified Analysis for in-depth understanding, Visualization of Blooms Taxonomy for cognitive level accuracy distribution, Hallucination Score for quantifying inaccuracies, Knowledge Stratification Strategy for hierarchical analysis, and Machine Learning Models for Hierarchy Generation. Human Evaluation is highlighted for capturing nuances that automated metrics may miss. These techniques form a framework for evaluating LLMs, aiming to enhance transparency, guide development, and establish user trust. Future papers will describe metric visualization and demonstrate each approach on practical examples.
[ -0.12235423177480698, -0.5793504118919373, 0.7243911623954773, 0.42799317836761475, -0.00935400277376175, 0.48516690731048584, -0.2982226014137268, -0.5074425935745239, -0.22992035746574402, 0.27118784189224243, -0.40357303619384766, -0.7373093962669373, -0.9489108920097351, -0.039628420025110245, -0.393454909324646, 0.7083793878555298, -0.09202397614717484, 0.39406076073646545, -0.5515527129173279, -0.031545769423246384, -0.30992817878723145, -0.5719999074935913, -0.9525186419487, -0.7102314233779907, 0.1011790856719017, 0.12998536229133606, 0.9066850543022156, 0.6161748766899109, 0.7570924162864685, 0.35749951004981995, -0.32181262969970703, 0.1292964518070221, -0.634148120880127, -0.0037636281922459602, -0.19895853102207184, -0.5844730734825134, -0.6016587615013123, 0.12231519818305969, 0.7179462313652039, 0.7358874678611755, -0.08693864196538925, 0.48659875988960266, 0.26302939653396606, 0.5520937442779541, -0.5169312357902527, 0.41891324520111084, -0.6632691025733948, 0.31896063685417175, -0.17987269163131714, -0.4878126382827759, -0.22302541136741638, -0.6572521924972534, 0.05961190164089203, -0.372085303068161, -0.33601608872413635, 0.19459514319896698, 0.6645966172218323, 0.28032374382019043, -0.1840156763792038, -0.6133781671524048, -0.49649766087532043, 1.0892776250839233, -0.7995129823684692, 0.5281197428703308, 0.3476089835166931, 0.33263060450553894, -0.260943740606308, -0.6540958285331726, -0.3980988562107086, -0.6105202436447144, 0.11611206084489822, 0.11085076630115509, -0.18340705335140228, 0.0023066478315740824, 0.27030619978904724, 0.4626433551311493, -0.4480275809764862, 0.483963280916214, 0.024310339242219925, -0.46357542276382446, 0.6698554754257202, 0.2675589323043823, 0.2467324584722519, -0.1683853566646576, -0.4147292375564575, -0.1819310039281845, -0.6822444796562195, 0.04896470531821251, 0.5945902466773987, -0.08993704617023468, -0.07925436645746231, 0.5145861506462097, -0.013178640976548195, 0.4273235499858856, -0.1898670792579651, -0.31630241870880127, 0.3810138404369354, -0.4750271141529083, -0.2397405356168747, -0.32863670587539673, 0.7476353049278259, 0.47247469425201416, 0.44081899523735046, -0.2882463335990906, -0.3402886390686035, 0.24371550977230072, -0.0035171627532690763, -0.5091509222984314, 0.00895068608224392, 0.25899940729141235, -0.6470552682876587, -0.5560449361801147, -0.01575075089931488, -0.9031184315681458, -0.6881157159805298, -0.36234626173973083, 0.4903835356235504, -0.28552672266960144, -0.11990726739168167, 0.047974761575460434, -0.028388459235429764, 0.42822879552841187, 0.29562339186668396, -0.6270812749862671, 0.535330593585968, 1.0728797912597656, 0.8098507523536682, -0.4715970456600189, -0.46184051036834717, -0.27023494243621826, -0.0875823050737381, -0.38226744532585144, 0.43749091029167175, -0.5557348728179932, -0.354743093252182, 0.11830198764801025, -0.39909255504608154, 0.1509919911623001, -0.6478168964385986, 0.7333229780197144, -0.4632568657398224, 0.17668715119361877, -0.02240833267569542, -0.7695035934448242, -0.2149689644575119, 0.5343785285949707, -0.5030178427696228, 1.043677806854248, -0.031106634065508842, -0.7362235188484192, 0.24941480159759521, -0.9150903820991516, -0.1484658271074295, -0.11788717657327652, -0.24582752585411072, -0.29232341051101685, 0.1806984394788742, 0.3058200776576996, 0.5565183758735657, -0.29923439025878906, 0.00671390863135457, -0.2093387246131897, -0.48146378993988037, 0.32403451204299927, -0.5388445258140564, 0.9497660994529724, 0.2525060772895813, -0.3979873061180115, 0.289436399936676, -0.4754085838794708, 0.32960566878318787, 0.13516972959041595, -0.12972840666770935, -0.13827413320541382, -0.034956663846969604, -0.035840634256601334, -0.16523970663547516, 0.5814135670661926, -0.21519365906715393, -0.2071855515241623, -0.4661020338535309, 0.41710972785949707, 0.9217464923858643, -0.03476419299840927, 0.2525396943092346, -0.308784157037735, 0.6222466230392456, 0.008281336165964603, 0.5397414565086365, 0.062167707830667496, -0.3450672924518585, -0.8051750063896179, -0.05690968036651611, 0.5009177923202515, 0.6547313332557678, -0.6326096057891846, 0.6947516798973083, -0.5071401596069336, -0.5757120251655579, -0.7936986684799194, 0.3882026672363281, 0.5388901829719543, 0.34890079498291016, 0.09285680204629898, -0.7919254302978516, -0.36079567670822144, -0.8904317617416382, -0.38185107707977295, -0.3670593202114105, -0.05790464207530022, 0.31292209029197693, 0.5223962664604187, -0.32323306798934937, 0.5686275362968445, -0.22387577593326569, -0.11841156333684921, 0.04193548113107681, 0.16089943051338196, -0.040593914687633514, 0.3056418299674988, 0.36367443203926086, -0.4450652003288269, -0.2707411050796509, -0.0029939189553260803, -0.8282475471496582, -0.19888144731521606, 0.20199444890022278, 0.12887825071811676, 0.19812634587287903, 0.39796918630599976, -0.32497790455818176, 0.23096908628940582, 0.828977108001709, -0.2935720980167389, 0.6643121838569641, -0.034597527235746384, 0.32910123467445374, -0.8115940690040588, -0.04716699570417404, -0.05584552139043808, -0.5454050898551941, -0.26272496581077576, 0.4985162615776062, -0.2221076339483261, 0.2269309014081955, -0.4198931157588959, 0.4730997085571289, -0.45862165093421936, -0.5961551666259766, -0.004015588201582432, 0.5654611587524414, -0.06099661439657211, 0.06259268522262573, -0.3155263066291809, 0.8218744993209839, 0.6645589470863342, -0.24056053161621094, 0.49373793601989746, 0.061735063791275024, -0.6049354672431946, 0.5950599312782288, -0.5051313638687134, 0.33614814281463623, 0.19634464383125305, -0.0018374185310676694, -0.8797692060470581, 0.2715335190296173, 0.11816968768835068, -0.5944249033927917, 0.18401795625686646, 0.04737160727381706, -0.8020420074462891, -0.10054200142621994, -0.6547080278396606, 0.17369601130485535, 0.5851078033447266, -0.5393736958503723, 0.40403681993484497, 0.45561033487319946, -0.09627015143632889, -0.7969616055488586, -0.6866077184677124, 0.3138849139213562, -0.28794464468955994, -0.5537120699882507, -0.000795952626504004, -0.0952155590057373, -0.6125215291976929, -0.04866411164402962, -0.0799475684762001, -0.01318132784217596, 0.411173552274704, 0.16865365207195282, 0.20157717168331146, -0.15462306141853333, -0.16821755468845367, -0.17377892136573792, -0.09925199300050735, 0.25948506593704224, -0.17092594504356384, 0.5080975294113159, -0.5668610334396362, -0.5282818078994751, -0.5940994620323181, -0.07994583994150162, 0.5183055996894836, -0.0847848430275917, 0.3904825448989868, 0.8205342888832092, -0.36875665187835693, -0.19395284354686737, -0.6549083590507507, -0.23391474783420563, -0.4436259865760803, 0.4448164403438568, -0.24484139680862427, -1.0713082551956177, 0.48295658826828003, -0.39734071493148804, 0.09029629081487656, 0.24652409553527832, 0.8837090730667114, -0.043369896709918976, 0.8448464274406433, 0.7714441418647766, -0.3964093327522278, 0.2927413880825043, -0.02983103320002556, 0.27375099062919617, -0.6886159777641296, -0.23015093803405762, -0.5271094441413879, -0.14235906302928925, -0.6797606945037842, -0.7138220071792603, 0.2169266790151596, 0.16668902337551117, -0.04616590589284897, 0.005064245779067278, -0.20118093490600586, 0.6004627346992493, 0.20789507031440735, -0.28732532262802124, 0.7930017709732056, 0.10081295669078827, -0.2184423953294754, -0.28524473309516907, -0.5201852321624756, -0.9630297422409058, 1.2348542213439941, 0.9856119751930237, 0.8065447807312012, 0.07634218037128448, 0.6889023184776306, 0.4848313331604004, 0.5571678876876831, -0.9827589988708496, 0.6022258996963501, -0.015693005174398422, -0.2635396718978882, -0.499198853969574, -0.6484988331794739, -0.629322350025177, 0.2766854166984558, -0.4239509701728821, -0.8534652590751648, -0.2851025462150574, -0.08103926479816437, -0.07740863412618637, 0.17484883964061737, -0.739962100982666, 0.5972533822059631, -0.4213067293167114, -0.15752525627613068, -0.3716014325618744, -0.38844433426856995, 0.5083390474319458, -0.03769176825881004, 0.20732511579990387, 0.04955058917403221, -0.2398485392332077, 0.8159618377685547, 0.1338379830121994, 0.5985578298568726, 0.035787664353847504, -0.1901063770055771, -0.07711615413427353, 0.28345999121665955, 0.33218809962272644, -0.0023852218873798847, -0.3028189241886139, 0.6539203524589539, 0.21973773837089539, -0.24036788940429688, -0.9063707590103149, 0.8203708529472351, -0.8283554315567017, -0.5089356303215027, -0.3737548589706421, -0.5047202110290527, -0.5806941986083984, 0.011172383092343807, -0.08054689317941666, -0.03470687195658684, -0.42754077911376953, 0.15361514687538147, 0.6778863668441772, -0.2107573300600052, 0.17531904578208923, 0.2929282486438751, -0.4256099462509155, -0.2981182038784027, 0.6725348830223083, -0.21200744807720184, 0.2654297351837158, 0.29240554571151733, 0.2068466991186142, -0.48921844363212585, -0.9250832200050354, -0.14743459224700928, 0.19970910251140594, -0.8262994289398193, -0.1274726390838623, -0.10508744418621063, -0.2725214958190918, -0.39493605494499207, 0.1345290094614029, -0.37070298194885254, -0.42878103256225586, -0.006799909286201, -0.3353728652000427, 0.14096491038799286, 0.8320515155792236, 0.0016592706087976694, 0.3241664171218872, -0.42847269773483276, -0.0010262045543640852, 0.02835250273346901, 0.47047877311706543, 0.23664994537830353, -0.44958287477493286, -0.09501805156469345, -0.20305326581001282, -0.35357627272605896, -0.5629146695137024, 0.18731056153774261, -0.11490876972675323, 0.7804082036018372, 0.3481127917766571, -0.41119685769081116, 0.7277344465255737, -0.43315058946609497, 0.9325805902481079, 0.24750150740146637, -1.3617137670516968, 0.31710878014564514, -0.04911637678742409, -0.2143908441066742, 0.6754695773124695, 0.3499578535556793, -0.4346636235713959, -0.42868462204933167, -0.5533650517463684, -0.6452940106391907, 0.19187095761299133, 0.4015022814273834, -0.013895195908844471, 0.493330180644989, 0.4674079418182373, -0.030475560575723648, 0.3068658709526062, -0.7586411833763123, -0.3354427218437195, 0.0623466931283474, -0.3889698088169098, -0.2777312397956848, -0.2141430824995041, -0.46348512172698975, -0.01473529078066349, 0.43902555108070374, -0.03146044909954071, -0.017931951209902763, 0.048114217817783356, -0.23518982529640198, 0.14869102835655212, 0.437770813703537, 0.49475517868995667, 1.2464783191680908, -0.15245909988880157, 0.15246137976646423, 0.34554430842399597, -0.40285414457321167, -0.058277882635593414, -0.15698212385177612, -0.09561269730329514, -0.18927311897277832, 0.6062842607498169, 0.5505417585372925, 0.02096025086939335, -0.6059462428092957, 0.6376050114631653, -0.13048844039440155, -0.07131664454936981, -0.29231852293014526, -0.06217959150671959, 0.16930222511291504, 0.2740522623062134, 0.06930368393659592, -0.28087466955184937, 0.28199130296707153, -0.7079121470451355, 0.12185730040073395, 0.6184456944465637, -0.5153493285179138, -0.08509709686040878, 0.27858108282089233, 0.13841064274311066, -0.34459811449050903, 0.2830069363117218, 0.017183149233460426, -0.4927045404911041, 0.3375447988510132, 0.3418010175228119, 0.7946560382843018, -0.28572598099708557, 0.20164209604263306, -0.1605900377035141, 0.7978649139404297, -0.12832415103912354, 0.2477680742740631, 0.024784240871667862, -0.7109378576278687, -0.4024398922920227, -0.6443754434585571, -0.871612548828125, 0.13861674070358276, -0.59333336353302, 0.0002553631493356079, -0.6498255133628845, -0.27621281147003174, -0.23068638145923615, 0.6453455090522766, -0.6587992310523987, 0.047228917479515076, 0.1733834147453308, 1.0639539957046509, -0.8191112279891968, 0.5563521385192871, 0.5380500555038452, -0.17722444236278534, -0.5665327310562134, 0.07138922810554504, 0.06388821452856064, -1.043927550315857, 0.5153788924217224, -0.17934611439704895, -0.33059144020080566, -0.2537338137626648, -0.6353023648262024, -0.618703305721283, 1.2291244268417358, 0.39326736330986023, -0.5846766829490662, 0.3358589708805084, 0.15449121594429016, 0.8449364304542542, -0.5251469612121582, 0.47630447149276733, 0.9104928374290466, 0.6801090240478516, -0.17638881504535675, -1.1175588369369507, 0.16831974685192108, 0.10504547506570816, 0.23462030291557312, -0.3107825815677643, -0.5539554953575134, 0.43337464332580566, -0.003582464065402746, -0.1577148735523224, 0.23931939899921417, 0.6549041271209717, 0.5428415536880493, 0.41433537006378174, 0.5839893221855164, 0.581719696521759, 1.0584189891815186, 0.0020241527818143368, 1.069213628768921, -0.2107592225074768, 0.4175606071949005, 1.045069694519043, -0.3624105751514435, 0.9952523112297058, 0.7278334498405457, -0.2990076541900635, 0.45892831683158875, 0.560393214225769, -0.08339175581932068, 0.09222811460494995, 0.6510054469108582, 0.05107792466878891, -0.07828640937805176, -0.18687166273593903, -0.2169080227613449, 0.48792046308517456, 0.4004828631877899, -0.33150461316108704, -0.18628986179828644, -0.3504219353199005, 0.2476140707731247, 0.3292354643344879, -0.40076881647109985, 0.5785779356956482, 0.37431764602661133, -0.348545640707016, 0.28268641233444214, 0.2051537036895752, 0.856553316116333, -0.6044594645500183, 0.0580403096973896, -0.10747157782316208, 0.16362032294273376, -0.39315855503082275, -0.9039562344551086, 0.1703532487154007, 0.04229992255568504, 0.113396555185318, -0.24074338376522064, 0.6579528450965881, -0.10198754817247391, -0.4622783362865448, 0.5452837944030762, 0.8251624703407288, 0.3330613970756531, 0.21251286566257477, -1.087275505065918, 0.4220203459262848, -0.22467634081840515, -0.19797590374946594, 0.27998921275138855, 0.2526329457759857, -0.03660624101758003, 0.9810754656791687, 0.6203457713127136, 0.5954931378364563, -0.06000770255923271, 0.3919375240802765, 0.5297458171844482, -0.48208436369895935, -0.2453005164861679, -1.003319501876831, 0.04902937263250351, -0.2143445909023285, -0.13695287704467773, 1.1198538541793823, 0.47956332564353943, 0.8941592574119568, 0.22531142830848694, 0.6770271062850952, 0.4606528580188751, 0.41119569540023804, -0.7094573974609375, 0.9025862216949463, -0.3251875638961792, 0.42904236912727356, -0.3879109025001526, -1.0855257511138916, -0.46152395009994507, 0.6824854612350464, -0.4293162226676941, 0.12839415669441223, 0.7243055105209351, 0.8389567136764526, 0.20394200086593628, -0.1313878744840622, 0.5175685882568359, 0.4110639989376068, 0.3810827136039734, 0.5269898772239685, 1.1919621229171753, -0.4754369854927063, 0.36392420530319214, -0.010793996974825859, -0.49382615089416504, 0.042109787464141846, -1.1199958324432373, -0.8887154459953308, -0.3480776846408844, -0.3430180251598358, -0.31047743558883667, 0.20291930437088013, 0.6543698310852051, 0.7670849561691284, -0.7217146158218384, -0.6735104322433472, 0.34058818221092224, 0.5742427706718445, -0.21104128658771515, -0.271003395318985, 0.35175275802612305, -0.2624385952949524, -0.7928032279014587, 0.29642748832702637, 0.32996147871017456, -0.05810656026005745, -0.8728607892990112, -0.17268957197666168, 0.3771689832210541, 0.139735609292984, 0.7302461266517639, -0.0900312140583992, -0.85819011926651, -0.2535315155982971, -0.2283029705286026, 0.016769258305430412, -0.09319262951612473, 0.697331428527832, -0.4870409667491913, 0.2659679651260376, 0.49237674474716187, 0.775539755821228, 0.09530407190322876, 0.11504435539245605, 0.537705659866333, -0.4351446330547333, -0.1643093079328537, 0.3001779615879059, 0.26880961656570435, 0.5495280027389526, -0.35265880823135376, 0.6212998628616333, -0.04294056445360184, -0.6706360578536987, -1.0744664669036865, 0.1837528496980667, -1.0321248769760132, 0.03433294594287872, 1.0773413181304932, -0.365541934967041, -0.23453211784362793, -0.05770466476678848, 0.12761974334716797, -0.14967624843120575, -0.16422894597053528, 0.9028158783912659, 0.9949692487716675, -0.15671437978744507, -0.06038358062505722, -0.7279179692268372, 0.6570889949798584, 0.3427473306655884, -0.98802649974823, -0.034785594791173935, 0.3245292901992798, 0.4174209535121918, 0.3360615074634552, 0.5073994994163513, -0.6735583543777466, -0.06417304277420044, -0.23949995636940002, -0.07106224447488785, -0.04614492505788803, -0.1510096788406372, -0.7574761509895325, 0.0826556459069252, 0.4172382950782776, 0.03718331828713417 ]
http://arxiv.org/abs/2406.01940v1
http://arxiv.org/pdf/2406.01940v1
Process-Driven Autoformalization in Lean 4
2024-06-04T03:48:08
2024-06-04T03:48:08
Jianqiao Lu, Zhengying Liu, Yingjia Wan, Yinya Huang, Haiming Wang, Zhicheng Yang, Jing Tang, Zhijiang Guo
cs.CL
cs.CL, cs.LG, cs.LO
Autoformalization, the conversion of natural language mathematics into formal languages, offers significant potential for advancing mathematical reasoning. However, existing efforts are limited to formal languages with substantial online corpora and struggle to keep pace with rapidly evolving languages like Lean 4. To bridge this gap, we propose a new benchmark \textbf{Form}alization for \textbf{L}ean~\textbf{4} (\textbf{\name}) designed to evaluate the autoformalization capabilities of large language models (LLMs). This benchmark encompasses a comprehensive assessment of questions, answers, formal statements, and proofs. Additionally, we introduce a \textbf{P}rocess-\textbf{S}upervised \textbf{V}erifier (\textbf{PSV}) model that leverages the precise feedback from Lean 4 compilers to enhance autoformalization. Our experiments demonstrate that the PSV method improves autoformalization, enabling higher accuracy using less filtered training data. Furthermore, when fine-tuned with data containing detailed process information, PSV can leverage the data more effectively, leading to more significant improvements in autoformalization for Lean 4. Our dataset and code are available at \url{https://github.com/rookie-joe/PDA}.
[ -0.0017167555633932352, -0.4951010048389435, 0.6690096855163574, 0.23282870650291443, -0.09892640262842178, 0.02829085662961006, -0.26924461126327515, -0.33697375655174255, -0.16363675892353058, 0.214647576212883, -0.6992620825767517, -0.42562106251716614, -0.2849247455596924, 0.2709057331085205, -0.10663828998804092, 0.7895719408988953, -0.7391587495803833, 0.16873472929000854, -0.31278011202812195, 0.012072962708771229, -0.026236290112137794, -0.49811214208602905, -0.2804185152053833, -0.2598564326763153, 0.06621544063091278, 0.15084968507289886, 0.5076360106468201, 0.9466172456741333, 0.5397228598594666, 0.42903321981430054, 0.48622116446495056, -0.02419385500252247, -0.38460034132003784, 0.5453639626502991, 0.4034891128540039, -0.5353783369064331, -0.6955816149711609, 0.073486328125, 0.756881058216095, 0.595382571220398, -0.41639000177383423, 0.21713951230049133, -0.1790609210729599, 0.7130078673362732, -0.6572942733764648, 0.610668420791626, -0.5547862648963928, 0.20346064865589142, -0.3049356937408447, -0.05162888765335083, -0.020659539848566055, -0.612481415271759, -0.18844932317733765, -0.6323006749153137, 0.2784639894962311, -0.13010163605213165, 0.9422869682312012, 0.6594812273979187, 0.022476473823189735, -0.03105502389371395, -0.923514187335968, 0.627234160900116, -0.6565558910369873, 0.707332968711853, 0.2225111424922943, 0.47617658972740173, 0.0619453527033329, -0.8909060955047607, -0.375150591135025, 0.12781678140163422, 0.5340741872787476, 0.23215599358081818, -0.1670057475566864, 0.1049899309873581, 0.4802435040473938, 0.46935227513313293, -0.4809603691101074, 0.051673926413059235, -0.5230002403259277, -0.3284830152988434, 0.7144528031349182, 0.06951911747455597, 0.023262962698936462, 0.2163556069135666, -0.13129131495952606, -0.017492985352873802, -0.6622748970985413, 0.04239954054355621, 0.3988214135169983, -0.022487744688987732, 0.07186887413263321, 0.5400496125221252, -0.47420254349708557, 0.725525438785553, 0.24837689101696014, 0.007140903268009424, 0.5125194191932678, -0.41947969794273376, -0.6438117623329163, -0.12020598351955414, 0.7025284767150879, -0.00533559313043952, 0.08364808559417725, -0.06400655955076218, -0.5635846257209778, 0.05885488912463188, 0.1693698763847351, -1.0011615753173828, -0.5323007106781006, 0.005368704907596111, -0.343289852142334, -0.21929311752319336, 0.01198639441281557, -0.30937591195106506, -0.0581916980445385, -0.7155534625053406, 0.08413968980312347, -0.3026306927204132, -0.041516367346048355, 0.005025004968047142, 0.23887519538402557, 0.7122796773910522, 0.5880273580551147, -0.8591299653053284, 0.35728806257247925, 0.7691638469696045, 0.6764335632324219, -0.13742613792419434, -0.045227475464344025, -0.8289853930473328, 0.045697931200265884, -0.38567593693733215, 0.8907331228256226, -0.40153419971466064, 0.1660132110118866, -0.011335605755448341, -0.11230605095624924, 0.08656451851129532, -0.7242069244384766, 0.670466959476471, -0.35493552684783936, 0.15887776017189026, -0.26948654651641846, -0.5225163698196411, 0.041439466178417206, -0.03651897609233856, -0.6474115252494812, 1.523028016090393, -0.02036084607243538, -0.1385737955570221, 0.6486904621124268, -0.3434514105319977, -0.3457982838153839, 0.17225806415081024, -0.6451005935668945, -0.7225412726402283, 0.2828569710254669, 0.09842458367347717, 0.5227192640304565, -0.3697396218776703, 0.38164451718330383, -0.729666531085968, -0.10428451746702194, 0.1161932423710823, -0.35066768527030945, 0.4378613233566284, 0.32676345109939575, -0.6761667728424072, 0.1984567940235138, -0.9783772230148315, 0.3351839482784271, -0.21068207919597626, -0.2326892465353012, -0.031710173934698105, -0.059981394559144974, -0.3898584544658661, 0.547513484954834, 0.4493958055973053, -0.36788442730903625, 0.13677892088890076, -0.3919767439365387, 0.3505568206310272, 0.9021117687225342, -0.23124687373638153, 0.5118348002433777, -0.21275626122951508, 0.6427392959594727, -0.0645504742860794, 0.17057865858078003, 0.036178115755319595, -0.5347802042961121, -0.9300110936164856, -0.49274009466171265, 0.028838522732257843, 0.39058375358581543, -0.4677577018737793, 0.575803816318512, 0.17428644001483917, -0.4644412398338318, -0.41387152671813965, 0.477775901556015, 0.20122338831424713, 0.39326533675193787, 0.24052122235298157, -0.2840609848499298, -0.6630464196205139, -0.9917546510696411, -0.2023562341928482, -0.18468952178955078, -0.35857152938842773, 0.028708552941679955, 0.3343234062194824, -0.17875611782073975, 0.8789194822311401, -0.5657975673675537, -0.20096194744110107, 0.08692541718482971, 0.5083677768707275, 0.23820199072360992, 0.3098909258842468, 0.3149639368057251, -0.519728422164917, -0.40121495723724365, -0.3479064702987671, -0.7557767033576965, -0.53078293800354, -0.01898893155157566, -0.2515725791454315, 0.45782169699668884, 0.694054901599884, -0.23566512763500214, 0.4782814383506775, 0.5650867819786072, -0.09334728866815567, 0.587781548500061, -0.3187645971775055, 0.05142892897129059, -0.7663540840148926, 0.10926956683397293, 0.08743097633123398, -0.22274746000766754, -0.34389403462409973, -0.36919188499450684, 0.18994978070259094, -0.48474064469337463, -0.2238905429840088, -0.05482887849211693, -0.8067986965179443, -0.47075292468070984, 0.10913629829883575, -0.14339616894721985, -0.03880755975842476, 0.37091153860092163, 0.18347296118736267, 0.5932596921920776, 0.679640531539917, -0.6151264309883118, 0.5344834923744202, -0.2563817799091339, -0.16455461084842682, 0.6778146028518677, -0.8796373009681702, 0.08616979420185089, -0.19758200645446777, 0.3409744203090668, -1.035558819770813, -0.11393594741821289, 0.05999467521905899, -0.146108940243721, 0.27396875619888306, -0.018403561785817146, -0.5793710947036743, -0.1250753402709961, -0.24984218180179596, 0.35294631123542786, 0.4186212420463562, -0.16530199348926544, 0.7284583449363708, 0.4520835876464844, -0.23738670349121094, -0.10652467608451843, -0.576647937297821, -0.20517173409461975, 0.008672960102558136, -0.813650369644165, 0.42963239550590515, -0.5407299399375916, -0.2284511774778366, -0.25470268726348877, -0.4653577506542206, -0.45788058638572693, 0.00957808643579483, 0.20059408247470856, 0.4568822979927063, -0.2681941092014313, 0.017006851732730865, 0.009957061149179935, -0.023131640627980232, 0.29650023579597473, -0.4379996955394745, 0.25166985392570496, -0.45020368695259094, -0.2933216392993927, -0.6620287299156189, 0.07122179120779037, 0.6439775824546814, -0.4329099655151367, 0.4412356913089752, 0.4779851734638214, -0.6815724968910217, -0.3428056538105011, -0.5810791850090027, -0.2308761030435562, -0.49316176772117615, 0.1041131392121315, -0.6225975751876831, -0.5991047620773315, 0.6414871215820312, -0.24755486845970154, 0.30776578187942505, 0.5537739396095276, 0.7793987989425659, 0.033599499613046646, 1.0987313985824585, 0.41186797618865967, 0.29498639702796936, 0.33459749817848206, -0.26823097467422485, 0.30747395753860474, -0.3664923310279846, -0.40298470854759216, -0.6862373948097229, -0.1108081117272377, -0.45155349373817444, -0.8350512981414795, 0.2329247146844864, 0.0675928145647049, -0.22646813094615936, 0.38677525520324707, -0.3171810507774353, 0.20560429990291595, -0.09049954265356064, -0.32068225741386414, 0.35404354333877563, -0.10193131864070892, -0.3239992558956146, -0.45994624495506287, -0.7517662644386292, -0.2721981108188629, 0.9016388058662415, 0.6574656367301941, 0.951671302318573, 0.04382265731692314, 0.8787468671798706, 0.09269754588603973, 0.5522042512893677, -0.7214522361755371, 0.4404173493385315, 0.09866345673799515, -0.3712809085845947, -0.2987769842147827, -0.6475664377212524, -0.4602227210998535, -0.019253086298704147, -0.04400886222720146, -0.21020455658435822, 0.09890492260456085, 0.23689381778240204, -0.40069860219955444, -0.050354406237602234, -0.5982247591018677, 0.8564708232879639, -0.648388683795929, -0.5082213282585144, 0.028335919603705406, -0.18988384306430817, 0.2192777842283249, -0.27991825342178345, 0.2424936443567276, -0.2103223204612732, -0.27108654379844666, 0.6791781187057495, -0.8876131176948547, 0.7839800715446472, -0.08121801912784576, -0.5364084839820862, 0.08083789050579071, -0.08543967455625534, 0.5477305054664612, 0.03468814864754677, -0.1376481056213379, 0.11972028762102127, -0.3367304503917694, -0.2724263072013855, -0.8622866272926331, 0.8886820673942566, -0.8348214626312256, -0.04319862276315689, -0.6588918566703796, -0.08420223742723465, -0.2798973321914673, 0.23867227137088776, 0.12524084746837616, 0.4601227939128876, -0.038864023983478546, 0.09393110871315002, 0.8471764922142029, 0.11566866189241409, 0.3571898937225342, 0.7199140787124634, 0.07079333066940308, -0.5437122583389282, 0.4817347526550293, 0.17567618191242218, 0.1924767792224884, 0.30246129631996155, -0.050485994666814804, -0.6030609607696533, -0.30516067147254944, -0.4209926426410675, 0.41523197293281555, -0.7700406908988953, -0.35922354459762573, -0.29848310351371765, -0.12818825244903564, -0.6043529510498047, -0.09315116703510284, -0.878535270690918, -0.49074801802635193, -0.2521628737449646, -0.008627133443951607, 0.051555875688791275, 0.6995646357536316, 0.019119907170534134, -0.29092690348625183, -0.43684130907058716, 0.22655880451202393, 0.3068118691444397, 0.7828147411346436, -0.5081248879432678, -0.5710925459861755, -0.203507661819458, -0.25984296202659607, -0.23147885501384735, -0.7274727821350098, 0.2619890868663788, 0.412747859954834, 0.7864475846290588, 0.5060334205627441, 0.019342171028256416, 0.8352344632148743, -0.6370165348052979, 0.4008146822452545, 0.2635231614112854, -1.048421859741211, 0.5724804997444153, -0.18106995522975922, 0.36526399850845337, 0.737170934677124, 0.5579802989959717, -0.18808208405971527, -0.28997111320495605, -0.647061288356781, -0.8976649641990662, 0.4330161213874817, 0.26812198758125305, -0.3879474103450775, 0.2512941360473633, 0.3756949305534363, 0.05374648794531822, 0.38004806637763977, -0.6029442548751831, -0.247696653008461, -0.2810881435871124, -0.12264721840620041, 0.257289856672287, 0.049818843603134155, 0.045996177941560745, -0.39392679929733276, 0.7819777131080627, -0.3010766804218292, 0.400842547416687, 0.2208164781332016, -0.13370639085769653, -0.35926923155784607, -0.06261088699102402, 0.5680886507034302, 0.7825967073440552, -0.053857527673244476, -0.007249835412949324, 0.04718230664730072, -0.26238560676574707, 0.09349898993968964, 0.487343966960907, -0.15243138372898102, 0.034841954708099365, 0.015356897376477718, 0.8117607235908508, 0.5227658152580261, -0.4405245780944824, 0.30441901087760925, -0.2622523009777069, -0.5170588493347168, -0.802617073059082, -0.07244618237018585, -0.4560454189777374, 0.0710008293390274, 0.4694480895996094, 0.09094303101301193, 0.22333836555480957, -0.4502719044685364, 0.44813552498817444, 0.20571398735046387, -0.37237411737442017, -0.5329582095146179, 0.8637295365333557, 0.4147228002548218, -0.13211719691753387, 0.41405364871025085, -0.19051501154899597, -0.5660765171051025, 0.25784504413604736, 0.3653908967971802, 1.0098882913589478, -0.32232946157455444, 0.12402479350566864, 0.594444215297699, 0.15126487612724304, -0.18394321203231812, 0.4928942620754242, -0.34822607040405273, -0.4812968373298645, -0.883703351020813, -0.7476004362106323, -0.3358664810657501, 0.30406710505485535, -0.5432426929473877, 0.5699556469917297, -0.7456017732620239, -0.028426170349121094, -0.06339395046234131, 0.028530091047286987, -0.8123074769973755, 0.18733187019824982, 0.4151553809642792, 0.6543437838554382, -0.959316611289978, 0.713533341884613, 0.8443630337715149, -0.3270455300807953, -0.9702513217926025, -0.06295416504144669, 0.1169220432639122, -0.6120145916938782, 0.8465741276741028, 0.15224994719028473, -0.291800320148468, -0.12762674689292908, -0.3433400094509125, -1.0215758085250854, 1.104569673538208, 0.48897626996040344, -0.7838372588157654, -0.03816501051187515, 0.14515863358974457, 0.45598137378692627, -0.43282350897789, 0.42266646027565, 0.5581123232841492, 0.43728944659233093, 0.25416138768196106, -0.95322585105896, 0.05254831165075302, -0.4321024715900421, 0.01420228835195303, 0.276562362909317, -0.5319434404373169, 0.6861530542373657, -0.04210684075951576, -0.06978114694356918, -0.17102526128292084, 1.0965685844421387, 0.4985540211200714, 0.13019463419914246, 0.4303402602672577, 0.6984694004058838, 0.9380379915237427, -0.2167823761701584, 0.6829919219017029, -0.37524014711380005, 0.29582518339157104, 0.9107503294944763, -0.6264709830284119, 0.6148532629013062, 0.30235105752944946, -0.24032647907733917, 0.7358578443527222, 0.5082898736000061, 0.06536182016134262, 0.14783905446529388, 0.5064176321029663, -0.24401043355464935, -0.36365482211112976, 0.4428049623966217, -0.27410587668418884, 0.6710022687911987, 0.19487829506397247, -0.24314184486865997, -0.1858719438314438, -0.35777804255485535, 0.09223608672618866, 0.04247355833649635, -0.26105228066444397, 0.5310486555099487, -0.06726086884737015, -0.9214038252830505, 0.7902669310569763, 0.07994087040424347, 0.447311669588089, -0.7184045314788818, -0.13434502482414246, -0.1516992598772049, 0.32700008153915405, -0.255074679851532, -0.39405497908592224, 0.42557433247566223, 0.04682041332125664, -0.12099345028400421, -0.8165620565414429, 0.6125696301460266, -0.5461138486862183, -0.5218404531478882, -0.15873384475708008, 0.33676621317863464, 0.2931710183620453, 0.09399565309286118, -0.9072456359863281, 0.40446937084198, -0.17369778454303741, -0.049461670219898224, 0.07971761375665665, 0.7634803056716919, -0.10500431805849075, 0.582452118396759, 0.6200435757637024, 0.17353206872940063, 0.06658369302749634, 0.3684055507183075, 0.8738089799880981, -0.4617985486984253, -0.6973856091499329, -0.6057504415512085, 0.36228683590888977, -0.16414406895637512, -0.3331787586212158, 0.9062106013298035, 1.0552928447723389, 0.7148652076721191, -0.016456052660942078, 0.7333789467811584, -0.006464985199272633, 0.21806345880031586, -0.5818601250648499, 0.5168922543525696, -0.3213605284690857, 0.34340545535087585, -0.4575710892677307, -1.0456691980361938, -0.2871403098106384, 0.927476704120636, -0.4379843771457672, 0.17743948101997375, 0.805804967880249, 0.5388078093528748, -0.07512788474559784, -0.13697917759418488, 0.233403742313385, 0.1370643675327301, 0.4444042146205902, 0.39541104435920715, 0.4688150882720947, -0.45921435952186584, 0.7063834071159363, -0.2497108429670334, -0.6584396362304688, -0.03668491914868355, -1.1979299783706665, -0.5917549133300781, -0.7098617553710938, -0.6816714406013489, -0.30702799558639526, -0.1951523870229721, 0.6677919626235962, 0.8494073748588562, -0.7437834739685059, -0.48393514752388, -0.4529990255832672, -0.418758362531662, -0.126034215092659, -0.2595941722393036, 0.010258895345032215, -0.5559669733047485, -0.6324576139450073, 0.40365299582481384, 0.5501408576965332, -0.03147789463400841, -0.6521201729774475, -0.22228968143463135, 0.11914816498756409, -0.05230548977851868, 0.41541698575019836, 0.4325157105922699, -0.37050774693489075, 0.068045973777771, 0.39769449830055237, 0.11726943403482437, 0.06570253521203995, 1.2216041088104248, -0.8325129151344299, 0.4709905982017517, 0.5870562195777893, 0.6778393387794495, 0.7699103355407715, -0.06816156953573227, 1.116389513015747, -0.5239738821983337, -0.10671278834342957, 0.46238282322883606, 0.42816275358200073, 0.4262906312942505, -0.253268301486969, 0.27533403038978577, 0.5537734031677246, -0.7105231881141663, -0.6166517734527588, 0.3625621199607849, -0.6452121734619141, 0.2796440124511719, 1.0259147882461548, -0.06723187863826752, -0.3163500130176544, -0.1690300852060318, 0.21277926862239838, 0.32030680775642395, -0.5793974995613098, 0.6987575888633728, 0.6783657670021057, -0.3942754566669464, -0.121308334171772, -0.470029354095459, 0.8917315602302551, 0.5117422938346863, -1.0305598974227905, 0.1513686329126358, 0.8048577904701233, 0.285275399684906, -0.07060671597719193, 0.8324806094169617, -0.2857660949230194, 0.4226476550102234, -0.47378748655319214, 0.1392277479171753, 0.05110881105065346, -0.25241583585739136, -0.5101183652877808, -0.12514032423496246, 0.060303907841444016, 0.15045447647571564 ]
http://arxiv.org/abs/2406.01934v2
http://arxiv.org/pdf/2406.01934v2
Optimal Transport Guided Correlation Assignment for Multimodal Entity Linking
2024-06-04T03:35:25
2024-06-05T12:13:56
Zefeng Zhang, Jiawei Sheng, Chuang Zhang, Yunzhi Liang, Wenyuan Zhang, Siqi Wang, Tingwen Liu
cs.CL
cs.CL
Multimodal Entity Linking (MEL) aims to link ambiguous mentions in multimodal contexts to entities in a multimodal knowledge graph. A pivotal challenge is to fully leverage multi-element correlations between mentions and entities to bridge modality gap and enable fine-grained semantic matching. Existing methods attempt several local correlative mechanisms, relying heavily on the automatically learned attention weights, which may over-concentrate on partial correlations. To mitigate this issue, we formulate the correlation assignment problem as an optimal transport (OT) problem, and propose a novel MEL framework, namely OT-MEL, with OT-guided correlation assignment. Thereby, we exploit the correlation between multimodal features to enhance multimodal fusion, and the correlation between mentions and entities to enhance fine-grained matching. To accelerate model prediction, we further leverage knowledge distillation to transfer OT assignment knowledge to attention mechanism. Experimental results show that our model significantly outperforms previous state-of-the-art baselines and confirm the effectiveness of the OT-guided correlation assignment.
[ -0.5937346816062927, -0.7766563892364502, 0.7852447628974915, 0.13554488122463226, -0.370918869972229, -0.1381962150335312, -0.026000209152698517, -0.647006630897522, 0.2709977924823761, 0.2166108638048172, -0.4380776584148407, -0.08722854405641556, -0.49412453174591064, -0.1180030032992363, -0.38055220246315, 0.9950659275054932, -0.06133826822042465, -0.40311476588249207, -0.5823303461074829, -0.21564379334449768, -0.48379814624786377, -0.11218759417533875, -0.795640766620636, 0.010114134289324284, 0.8553048968315125, 0.27809667587280273, 0.6330263614654541, 0.6662117838859558, 1.0240610837936401, 0.2963676154613495, -0.07552527636289597, 0.44585493206977844, -0.44439542293548584, 0.06014608219265938, -0.5936879515647888, -0.49679461121559143, -0.6574071049690247, -0.43767330050468445, 0.41875478625297546, 0.7421813011169434, -0.17650708556175232, 0.41864895820617676, -0.15070003271102905, 0.606825053691864, -0.8919023275375366, 0.05675685033202171, -0.8887250423431396, -0.10197178274393082, -0.5061408281326294, -0.40906041860580444, -0.33081310987472534, -0.21456721425056458, 0.2899855971336365, -0.9600383639335632, 0.04392910376191139, 0.7607352137565613, 0.7903763651847839, 0.47836002707481384, -1.131439447402954, -0.1819244623184204, -0.7417606115341187, 0.6432811617851257, 0.0482352152466774, 0.1839505434036255, 0.509118378162384, 0.3576464354991913, 0.16120098531246185, -0.6697733402252197, -0.3663722276687622, -0.07097017765045166, -0.12847977876663208, 0.055165741592645645, -0.0681661069393158, 0.03285994753241539, -0.20854799449443817, 0.24738094210624695, -0.4833427667617798, -0.23673275113105774, -0.4495096802711487, -0.3670269846916199, 0.45155104994773865, 0.35874849557876587, 0.21827276051044464, 0.16721110045909882, -1.0388360023498535, 0.12129436433315277, -0.3908342719078064, -0.2198859304189682, 0.0004525043477769941, 0.09008011966943741, -0.12089885771274567, 0.7523084878921509, 0.02702385000884533, 0.7069128751754761, 0.33975785970687866, -0.06941104680299759, 0.2983340620994568, -0.7099509239196777, 0.05430997163057327, 0.3472733199596405, 0.9171640276908875, 0.7246394753456116, 0.12322743982076645, -0.3169819116592407, 0.12753035128116608, 0.09846176952123642, 0.31501084566116333, -0.5790407061576843, -0.0994178056716919, -0.17448166012763977, -0.20244042575359344, -0.30738893151283264, -0.3000270128250122, -0.9727014899253845, -0.11894115805625916, -0.21861489117145538, 0.8941933512687683, -0.502405047416687, -0.28960341215133667, 0.09594564139842987, -0.12400087714195251, -0.2694415748119354, 0.19989903271198273, -1.2150973081588745, -0.0161733441054821, 0.19784142076969147, 0.8863787651062012, -0.13113553822040558, -0.18809345364570618, -0.27283862233161926, 0.8877679705619812, -0.08525434136390686, 0.9485118985176086, -0.6927931308746338, -0.19360299408435822, -0.22232398390769958, -0.1369151622056961, -0.41673314571380615, -0.24120792746543884, 0.5296886563301086, -0.47356799244880676, -0.06096820533275604, -0.15935666859149933, -0.4128936529159546, -0.017131207510828972, 0.22637170553207397, -0.5585926175117493, 0.8117446899414062, 0.17075690627098083, -0.764336884021759, 0.0894765853881836, -0.8172587752342224, -0.735379695892334, -0.42176878452301025, 0.2302679568529129, -0.39231517910957336, -0.0787142887711525, 0.10052209347486496, 0.3585548400878906, -0.39913782477378845, 0.3727250397205353, -0.6551950573921204, 0.004753579385578632, 0.08219277858734131, -0.15722395479679108, 0.5738950967788696, 0.4143739938735962, -0.012112777680158615, 0.08560284972190857, -0.9049888253211975, -0.38574057817459106, -0.06297735124826431, -0.18928171694278717, -0.8564135432243347, -0.2617688477039337, -0.1767272800207138, 0.14490705728530884, 0.23912037909030914, -0.43950575590133667, 0.16046389937400818, -0.14661917090415955, 0.3948919177055359, 0.8550779223442078, 0.061201054602861404, 1.007334589958191, -0.18734848499298096, 0.25319746136665344, 0.44890865683555603, 0.3737637400627136, 0.01484209205955267, -0.4826015532016754, -0.42081692814826965, -0.15355682373046875, 0.0863657146692276, 0.21833187341690063, -0.8099671006202698, 0.08858510106801987, -0.42998459935188293, -0.37975263595581055, -0.6514120101928711, -0.039761513471603394, 0.1552107185125351, 1.0183542966842651, 0.6056309342384338, -0.21037429571151733, -0.2685442268848419, -0.9977322816848755, 0.2407180219888687, -0.16263730823993683, 0.2554887533187866, 0.4273586571216583, 0.20229221880435944, -0.19240443408489227, 0.7753208875656128, -0.7810518145561218, -0.8594636917114258, 0.28543657064437866, 0.11553101986646652, -0.5469376444816589, 0.44710320234298706, 0.8318469524383545, -0.8531824350357056, -0.6067156791687012, 0.1385977864265442, -0.5174725651741028, 0.07429981976747513, -0.019679030403494835, -0.8944096565246582, -0.23072940111160278, 0.6053586006164551, -0.7133488655090332, 0.001831584027968347, 0.5788321495056152, -0.4053955674171448, 0.14248602092266083, -0.22574490308761597, 0.18092341721057892, -1.4521161317825317, 0.3833106756210327, -0.052036628127098083, -0.24382685124874115, -0.3537789285182953, -0.1973842829465866, -0.06236107647418976, -0.06303942203521729, -0.3163333237171173, 0.5238803625106812, -0.438785582780838, 0.16867120563983917, -0.046853795647621155, 0.6431067585945129, 0.03278770670294762, 0.692343533039093, -0.22294451296329498, 0.3649764955043793, 0.7104382514953613, -0.6475852131843567, 0.48012471199035645, 0.48992666602134705, -0.24089108407497406, 0.9902204275131226, -0.13258951902389526, 0.07709907740354538, -0.3921419680118561, 0.1998826265335083, -1.2286350727081299, 0.05790109559893608, 0.1787601113319397, -0.17044030129909515, 0.38593125343322754, -0.03379744663834572, -0.18436263501644135, 0.045745234936475754, -0.0954211950302124, 1.0132856369018555, 0.17863531410694122, -0.35850268602371216, 0.9415556788444519, 0.5079526305198669, 0.08801534026861191, -0.5974711179733276, -0.7069361209869385, -0.2712191939353943, -0.41162198781967163, -0.7748391628265381, 0.7816096544265747, -0.12913024425506592, 0.14129407703876495, 0.5007936358451843, -0.3135528266429901, -0.1831357479095459, 0.17298981547355652, 0.25196003913879395, 0.2652236223220825, -0.3054969310760498, 0.16563723981380463, 0.1410624235868454, -0.25547751784324646, 0.12200983613729477, -0.04756052419543266, 0.3176528513431549, 0.13444438576698303, -0.2924197018146515, -0.2433537244796753, 0.24965164065361023, 0.9172766208648682, -0.406372606754303, 0.8614288568496704, 1.353549838066101, 0.09161890298128128, 0.3591199219226837, -0.4266338348388672, -0.04283202812075615, -0.4677700698375702, 0.4636554718017578, -0.560655951499939, -0.6986885666847229, 0.4396798014640808, -0.3303360044956207, -0.18508793413639069, 0.37461984157562256, 0.08686131983995438, -0.18333937227725983, 0.814423143863678, 0.705206036567688, -0.2043176293373108, 0.5658066868782043, 0.03223314508795738, 0.364785373210907, -1.201475739479065, -0.5133566856384277, -0.4031742513179779, -0.550880491733551, -0.47562769055366516, -0.33905476331710815, 0.5252518057823181, 0.07142224162817001, -0.08694694191217422, 0.4265303313732147, -0.38751837611198425, 0.05435822159051895, 0.6925190687179565, 0.4371521472930908, 0.3957727253437042, 0.058346763253211975, -0.4670397639274597, 0.30986735224723816, -0.8295102119445801, 0.12464555352926254, 1.1333281993865967, -0.0860472023487091, 0.8347635865211487, 0.40364858508110046, 0.27508974075317383, 0.14920520782470703, 0.14091475307941437, -0.3421823978424072, 0.6938408017158508, 0.009051144123077393, -0.8780981302261353, -0.1809525191783905, -0.5225599408149719, -1.0872828960418701, -0.00793753657490015, -0.4747609496116638, -0.6929886341094971, 0.1544221192598343, 0.4680992662906647, -0.3952923119068146, 0.36856070160865784, -0.9137557148933411, 0.8951924443244934, -0.02135622873902321, -0.636043131351471, -0.49983784556388855, -1.1222965717315674, 0.448711633682251, -0.17089803516864777, 0.269692063331604, -0.2536567449569702, -0.04714656621217728, 0.29242178797721863, -0.02620812878012657, 0.4541562497615814, 0.18728512525558472, -0.0976426750421524, 0.35248231887817383, 0.0864824652671814, 0.48570752143859863, -0.20019793510437012, 0.18350985646247864, -0.14829286932945251, -0.10215730965137482, -0.23992624878883362, -0.6258909702301025, 0.8860905766487122, -0.6661531925201416, -0.30239495635032654, 0.07248932123184204, -0.6760129332542419, -0.16772118210792542, 0.012518651783466339, 0.12772677838802338, 0.5575499534606934, 0.08073105663061142, 0.17286036908626556, 0.7300240397453308, -0.02201824076473713, 0.5246656537055969, 0.4247094988822937, -0.22777773439884186, -0.3772454559803009, 1.1571452617645264, -0.28660356998443604, 0.535078763961792, 1.0417472124099731, -0.022165127098560333, -0.46395331621170044, -0.3041563332080841, -0.4170507788658142, 0.10197839885950089, -0.6014392375946045, -0.1506243199110031, -0.7288186550140381, -0.05394347384572029, -0.2250768542289734, -0.1940896064043045, -0.5293087363243103, -0.2669616937637329, -0.3525516092777252, 0.07068417966365814, 0.3775981664657593, -0.04733824357390404, -0.10737484693527222, 0.13147082924842834, -0.6512763500213623, 0.4451523721218109, 0.5533186197280884, 0.36202165484428406, 0.026841523125767708, -0.3234626352787018, -0.37370336055755615, -0.0542687326669693, -0.4066983461380005, -0.648090124130249, -0.18466292321681976, 0.20424826443195343, 0.5293166637420654, 0.613601565361023, 0.3961971700191498, 1.1455557346343994, -0.5426870584487915, 0.49986711144447327, 0.366722971200943, -0.527882993221283, 0.4949531853199005, -0.23279793560504913, 0.08701279014348984, 0.38989779353141785, 0.47463980317115784, -0.09306403994560242, -0.448367178440094, -0.34845277667045593, -1.1100773811340332, 0.46716558933258057, 0.505374550819397, -0.06026652455329895, -0.13649362325668335, 0.02924865297973156, -0.1319817304611206, 0.28013312816619873, -0.6227307319641113, -0.45419102907180786, 0.25423961877822876, -0.4591709077358246, -0.05044107139110565, -0.23399531841278076, -0.11537260562181473, -0.024713553488254547, 0.641497790813446, 0.015561246313154697, 0.5418617725372314, 0.24628694355487823, -0.40006300806999207, -0.3073684871196747, 0.07779566943645477, 1.0293381214141846, 0.4855506420135498, -0.3994518518447876, 0.5363261103630066, -0.059664901345968246, -0.41428056359291077, 0.226711243391037, 0.04570425674319267, 0.003899604082107544, -0.01530766673386097, -0.03775276243686676, 1.0941078662872314, 0.26173701882362366, -0.3394649922847748, 0.3342478573322296, 0.30544528365135193, -0.05517251044511795, -0.015514915809035301, 0.0645272508263588, 0.16084563732147217, 0.33671480417251587, 0.20532362163066864, 0.7469351291656494, 0.09725586324930191, -0.43513384461402893, 0.12563756108283997, 0.49401381611824036, -0.4584544599056244, -0.35422471165657043, 1.1773788928985596, 0.5652390122413635, -0.016715150326490402, 0.33020853996276855, 0.04493507742881775, -0.02094137854874134, 0.36375537514686584, 0.45422250032424927, 0.5898305177688599, -0.3132331967353821, 0.02375771291553974, 0.4796581268310547, 0.2477305382490158, 0.006269652396440506, -0.29355764389038086, -0.13265903294086456, -0.6601601243019104, -0.2519190311431885, -0.36913466453552246, 0.03884304314851761, -0.250730037689209, -0.7528288960456848, 0.4489736258983612, 0.019752351567149162, -0.5332933664321899, 0.1477149873971939, -0.5073826909065247, -0.6375772356987, -0.011314130388200283, 0.18560580909252167, 0.4919123947620392, -0.7759573459625244, 0.6677134037017822, 0.7690760493278503, -0.5435936450958252, -0.5372930765151978, -0.4025837182998657, 0.058645494282245636, -0.7530059218406677, 0.3973362147808075, -0.10886295884847641, -0.1868855357170105, 0.44910910725593567, -0.04748471453785896, -1.2115929126739502, 1.3720064163208008, 0.5256423354148865, -0.671520471572876, -0.14988254010677338, 0.017719220370054245, 0.1667514443397522, -0.2848150134086609, 0.5665152072906494, -0.11038345098495483, 0.39837902784347534, 0.20617663860321045, -1.212568998336792, 0.1096053197979927, 0.10045028477907181, -0.016207851469516754, 0.5103845000267029, -1.0292730331420898, 0.46383485198020935, -0.33219999074935913, -0.09554582089185715, -0.09375080466270447, 0.4414994418621063, 0.015419243834912777, 0.554155707359314, 0.6575485467910767, 0.7240618467330933, 0.37129002809524536, 0.17331840097904205, 0.7219860553741455, -0.41516056656837463, 0.4407585561275482, 1.2006226778030396, -0.27207306027412415, 0.7163339853286743, 0.9506455659866333, -0.037687402218580246, 0.4800354540348053, 0.4293030798435211, 0.1255418211221695, 1.119537115097046, -0.14970052242279053, -0.2532282769680023, -0.09245648980140686, -0.33373937010765076, -0.3544510304927826, 0.12351733446121216, 0.15032236278057098, -0.5286043882369995, -0.44897663593292236, 0.3052408993244171, -0.13281814754009247, -0.12387017905712128, -0.4509611427783966, 0.7083687782287598, 0.006642085500061512, -0.6567030549049377, 0.24686062335968018, -0.2717974781990051, 0.3967055082321167, -0.5932919979095459, 0.2889527678489685, -0.1919446736574173, 0.09776436537504196, -0.05714940279722214, -0.6312493681907654, 0.33398228883743286, -0.5269582867622375, -0.3376200497150421, -0.18177548050880432, 0.5213278532028198, -0.9165127873420715, -0.20444929599761963, 0.22887925803661346, -0.04343526437878609, -0.05246391147375107, -0.01599164865911007, -0.4220520257949829, -0.2217998057603836, 0.03826924040913582, -0.106960728764534, 0.5867430567741394, 0.7443713545799255, 0.03194383904337883, 1.1005171537399292, 0.6691691875457764, -0.323231041431427, 0.3036331236362457, -0.19845762848854065, 0.7686940431594849, -0.4612864851951599, -0.3416692018508911, -0.9368166327476501, 0.7813975811004639, 0.020869480445981026, -0.19968821108341217, 0.4288368821144104, 0.6713696718215942, 0.6266840100288391, -0.1885089874267578, 0.451032817363739, -0.21606789529323578, -0.03154420480132103, -0.5526039600372314, 0.19086594879627228, -0.8523648977279663, 0.17747420072555542, -0.4034075438976288, -1.0288695096969604, 0.011246547102928162, 0.5395441055297852, 0.00008379497739952058, -0.21964074671268463, 1.0675737857818604, 0.8730278611183167, -0.6348976492881775, -0.4120480418205261, 0.16114409267902374, 0.08206276595592499, -0.022888241335749626, 1.0791374444961548, 0.6212449073791504, -0.49946078658103943, 1.067026138305664, -0.26956355571746826, 0.18868663907051086, -0.4681623578071594, -0.8894107341766357, -0.954535961151123, -0.8577330708503723, -0.7935340404510498, -0.23856140673160553, -0.06732580810785294, 0.8033707141876221, 0.800247848033905, -0.23455889523029327, 0.18759259581565857, -0.09518126398324966, 0.12191911041736603, -0.18680737912654877, -0.1941811889410019, 0.46596136689186096, -0.19065406918525696, -0.6094791293144226, -0.008455062285065651, 0.5869602560997009, 0.29785454273223877, -0.058990925550460815, 0.21013863384723663, -0.47610965371131897, -0.14776752889156342, 0.7742154598236084, -0.17664046585559845, -0.5978083610534668, -0.2616952955722809, 0.0394052118062973, -0.34154200553894043, -0.013353579677641392, 0.5524282455444336, -0.24407096207141876, 0.503838062286377, 0.26156947016716003, 0.6411744356155396, 0.8840524554252625, 0.22240500152111053, 0.5373106598854065, -0.7164879441261292, 0.38039693236351013, -0.09743084758520126, 0.27749285101890564, -0.08921271562576294, -0.33392736315727234, 0.4551999866962433, 0.34677860140800476, -0.5731150507926941, -0.7210021018981934, 0.11492529511451721, -1.6630778312683105, -0.06031666696071625, 1.2071104049682617, -0.028475014492869377, -0.4319019913673401, -0.0037034431006759405, -0.3802099823951721, 0.2262497842311859, -0.35981234908103943, 1.003310203552246, 0.45806825160980225, 0.03329389914870262, -0.3318902850151062, -0.34252476692199707, 0.40335237979888916, 0.48100635409355164, -0.4835270643234253, -0.3551867604255676, 0.34773778915405273, 0.3562059998512268, 0.41154706478118896, 0.5712645053863525, 0.12832407653331757, -0.1385350376367569, -0.07216903567314148, -0.06570342183113098, -0.25529778003692627, -0.35295289754867554, 0.47962918877601624, 0.33476316928863525, -0.25936922430992126, -0.75091952085495 ]
http://arxiv.org/abs/2406.01931v2
http://arxiv.org/pdf/2406.01931v2
Dishonesty in Helpful and Harmless Alignment
2024-06-04T03:31:09
2024-06-05T07:21:19
Youcheng Huang, Jingkun Tang, Duanyu Feng, Zheng Zhang, Wenqiang Lei, Jiancheng Lv, Anthony G. Cohn
cs.CL
cs.CL
People tell lies when seeking rewards. Large language models (LLMs) are aligned to human values with reinforcement learning where they get rewards if they satisfy human preference. We find that this also induces dishonesty in helpful and harmless alignment where LLMs tell lies in generating harmless responses. Using the latest interpreting tools, we detect dishonesty, show how LLMs can be harmful if their honesty is increased, and analyze such conflicts at the parameter-level. Given these preliminaries and the hypothesis that reward-seeking stimulates dishonesty, we theoretically show that the dishonesty can in-turn decrease the alignment performances and augment reward-seeking alignment with representation regularization. Extensive results, including GPT-4 annotated win-rates, perplexities, and cases studies demonstrate that we can train more honest, helpful, and harmless LLMs. We will make all our codes and results be open-sourced upon this paper's acceptance.
[ 0.12099888175725937, -0.3845728635787964, 0.9032822847366333, 0.018120601773262024, -0.1909889131784439, -0.022525861859321594, -0.1413046419620514, -0.628143310546875, -0.044514864683151245, 0.5446980595588684, -0.6696805357933044, -0.25682884454727173, -0.9485760927200317, 0.0352826863527298, -0.01391019020229578, 1.3160955905914307, 0.02439243346452713, 0.2481088787317276, -0.24099551141262054, -0.017039181664586067, -0.5558484196662903, -0.5729637742042542, -0.5947826504707336, -0.46077853441238403, 1.0121452808380127, 0.5062991976737976, 0.8821251392364502, 0.8069665431976318, 0.5287269353866577, 0.3298225700855255, 0.11543074995279312, 0.006347100716084242, -0.8127163648605347, 0.4806048572063446, -0.3853743374347687, -0.693703830242157, -0.2171279340982437, 0.5922101140022278, 0.24570100009441376, 0.3599271774291992, -0.3038289546966553, 0.025027621537446976, 0.09111962467432022, 0.46322953701019287, -0.789612352848053, 0.3537237048149109, -0.7934117913246155, -0.35066547989845276, -0.3268297016620636, -0.14056168496608734, -0.4286021888256073, -0.7110259532928467, 0.03609485924243927, -0.6616091728210449, -0.04124018922448158, -0.12818513810634613, 1.0240553617477417, 0.6818801164627075, -0.2525928020477295, -0.6802043914794922, -0.6017748713493347, 1.0432854890823364, -0.5979170799255371, 0.07496824860572815, 0.47179874777793884, 0.3959313631057739, -0.17529092729091644, -0.38309094309806824, -0.4457970857620239, -0.5513845086097717, -0.20210471749305725, 0.06783988326787949, -0.06967338174581528, 0.13350355625152588, 0.19064900279045105, 0.29889991879463196, -0.46911829710006714, 0.3110242187976837, -0.005429499316960573, -0.3647732138633728, 0.8369605541229248, 0.062158457934856415, 0.2909098267555237, 0.03960735723376274, -0.5049054026603699, -0.33706149458885193, -0.8859850168228149, 0.16652260720729828, 0.8334735631942749, 0.29483315348625183, 0.0752904936671257, 0.7178332209587097, 0.13442888855934143, 0.36480051279067993, -0.03956536576151848, -0.041199974715709686, 0.01757071726024151, -0.3492547273635864, 0.15359438955783844, 0.3323803246021271, 0.6556729078292847, 0.46285441517829895, 0.5368409156799316, -0.2787722647190094, -0.5460187196731567, 0.6852515339851379, 0.4312416613101959, -0.5648922324180603, 0.00016585079720243812, 0.1223345547914505, -0.33958756923675537, -0.7908257842063904, 0.20686990022659302, -0.4798884093761444, -0.7404494881629944, -0.22653238475322723, 0.34180736541748047, -0.4843701124191284, -0.09371019899845123, 0.2303285300731659, -0.21038705110549927, 0.4457108676433563, 0.2215510457754135, -0.8285562992095947, 0.3262210190296173, 0.9927049875259399, 0.35701537132263184, -0.09058237820863724, -0.4254448413848877, -1.0059244632720947, 0.17563965916633606, -0.4372483789920807, 0.5667151212692261, -0.5244522094726562, -0.1290397346019745, 0.015418005175888538, -0.051516491919755936, 0.3242686092853546, -0.544383704662323, 0.8815352320671082, -0.42261213064193726, 0.2652677595615387, -0.563402533531189, -0.42095646262168884, 0.007098219823092222, 0.23720693588256836, -0.7170221209526062, 0.6404505372047424, 0.01899769715964794, -0.6148882508277893, 0.33420130610466003, -0.419595330953598, -0.19881398975849152, 0.02089730277657509, -0.22578902542591095, -0.4582787752151489, 0.3318830728530884, 0.008533581160008907, 0.393587589263916, -0.15200093388557434, 0.40241748094558716, -0.32950785756111145, -0.6888113021850586, 0.7545563578605652, -0.5841788649559021, 0.7999471426010132, 0.28681448101997375, -0.5226349830627441, 0.08225760608911514, -0.30753156542778015, -0.3284774720668793, 0.3151891827583313, -0.24458274245262146, -0.6339208483695984, 0.13361108303070068, -0.4077446460723877, 0.4542487859725952, 0.5215897560119629, -0.6132140159606934, 0.2945980727672577, -0.500417947769165, -0.08100153505802155, 1.248831033706665, -0.166634663939476, 0.3690740466117859, -0.5853317975997925, 0.5171384215354919, 0.18460401892662048, 0.24589093029499054, 0.21203818917274475, -0.2786065936088562, -0.3363381028175354, -0.10567841678857803, 0.26758337020874023, 0.2628324031829834, -0.7873544692993164, 0.08223781734704971, -0.29967260360717773, -0.2116609364748001, -0.9217327833175659, 0.007872088812291622, 0.8157867193222046, 0.2818480134010315, 0.24710248410701752, -0.24036584794521332, -0.3822159767150879, -0.9685342907905579, -0.7462515830993652, -0.14738686382770538, -0.07268085330724716, 0.2845460772514343, 0.21412664651870728, -0.00907082762569189, 0.6502184867858887, -0.35786929726600647, -0.35876211524009705, -0.028086477890610695, 0.14049360156059265, -0.08868233859539032, 0.3912443518638611, 0.4253920912742615, -0.8163092136383057, -0.33032453060150146, -0.21509979665279388, -0.5481631755828857, -0.08113352209329605, -0.11693482100963593, 0.2273368090391159, 0.36806491017341614, 0.18929283320903778, -0.5256693363189697, 0.22446851432323456, 0.6258485913276672, -0.6060085892677307, 0.5994381308555603, 0.12741389870643616, -0.05688095465302467, -0.7973088622093201, -0.02096579782664776, 0.03113524802029133, -0.28352147340774536, -0.39631256461143494, 0.05783616378903389, -0.08077838271856308, 0.3724479079246521, -0.34292688965797424, 0.4470866918563843, -0.48886722326278687, -0.03047581948339939, -0.19483771920204163, 0.27803799510002136, -0.1036292165517807, 0.29776349663734436, -0.027001209557056427, 0.753950297832489, 0.3685632348060608, -0.4131075441837311, 0.45978114008903503, 0.13314814865589142, -0.031503088772296906, 0.6077113151550293, -0.5244295597076416, 0.059473760426044464, -0.18204127252101898, 0.15102238953113556, -0.8279549479484558, -0.347417414188385, 0.39254987239837646, -0.7302880883216858, 0.395513653755188, -0.0845670998096466, -0.37541258335113525, 0.029033010825514793, -0.6969034075737, 0.19458700716495514, 0.5318878889083862, -0.5726996660232544, 0.08596861362457275, 0.2605287432670593, -0.1019778922200203, -1.1904408931732178, -0.7047790288925171, -0.12105508148670197, -0.2702328562736511, -0.19622032344341278, 0.35689854621887207, 0.0023633043747395277, -0.25780200958251953, 0.028296474367380142, -0.3446376323699951, 0.2906334698200226, 0.25779464840888977, 0.27282679080963135, 0.49410170316696167, 0.03907269984483719, -0.08517491817474365, -0.3031688928604126, -0.3343500792980194, 0.352239191532135, -0.2508283853530884, 0.3601640462875366, -0.2792675793170929, -0.4096453785896301, -0.32804247736930847, 0.19651280343532562, 0.35914769768714905, -0.21039316058158875, 0.8566616177558899, 0.49048513174057007, -0.2258993536233902, 0.08672820776700974, -0.7018332481384277, -0.46358296275138855, -0.5416005849838257, 0.3337221145629883, -0.16216856241226196, -0.9368758201599121, 0.2833476662635803, -0.039542071521282196, 0.10774891823530197, 0.21349123120307922, 0.37537431716918945, -0.13067525625228882, 1.3740791082382202, 0.6101508736610413, -0.16088435053825378, 0.19479399919509888, 0.1419842690229416, 0.11175218969583511, -0.5839458703994751, -0.36171770095825195, -0.616110622882843, -0.27080145478248596, -0.994054913520813, -0.0458538755774498, 0.010193648748099804, -0.048880573362112045, -0.3309246599674225, 0.10423586517572403, -0.6579352617263794, 0.635072648525238, 0.40934789180755615, -0.0011216505663469434, 0.2944464385509491, -0.34722936153411865, -0.08787227421998978, -0.3331141173839569, -0.27730289101600647, -0.6228867173194885, 0.9052917957305908, 0.5753347277641296, 0.9915639162063599, 0.3556250035762787, 0.8557001352310181, -0.10722605139017105, 0.3890402019023895, -0.904371440410614, 0.39478302001953125, -0.10120882838964462, -0.5221639275550842, -0.33719438314437866, -0.6197106242179871, -1.0319809913635254, -0.1777707040309906, 0.10803002119064331, -0.8547332882881165, 0.12887591123580933, 0.20932558178901672, -0.15461912751197815, 0.15444009006023407, -0.6563253402709961, 0.8226621150970459, -0.5270872712135315, -0.4417499303817749, 0.012547830119729042, -0.8668004274368286, 0.5847716331481934, 0.10176897794008255, 0.055766575038433075, -0.09201710671186447, -0.19567309319972992, 0.5350509285926819, -0.0743236094713211, 0.8991227149963379, -0.3861236870288849, -0.3216562271118164, -0.20108388364315033, 0.43209975957870483, 0.9284601211547852, -0.0035781548358500004, -0.15312997996807098, 0.009969339706003666, -0.07178449630737305, -0.5600445866584778, -0.7150892019271851, 0.858251690864563, -0.7727389335632324, -0.7387718558311462, -0.8230664134025574, -0.7077980637550354, -0.22397565841674805, 0.21065643429756165, 0.13116395473480225, -0.1926109492778778, -0.08456814289093018, 0.07479344308376312, 0.9967181086540222, -0.28723764419555664, 0.22916027903556824, 0.38688963651657104, -0.13863229751586914, 0.12751829624176025, 1.181294322013855, -0.28694602847099304, 0.39160677790641785, 0.09817469865083694, 0.27874377369880676, -0.4984947144985199, -0.46093660593032837, 0.025455523282289505, 0.4743478298187256, -0.4147302508354187, -0.40317240357398987, -0.016976645216345787, -0.04144224897027016, -0.3634393811225891, -0.07275307923555374, -0.5531895160675049, -0.32746919989585876, -0.1807389110326767, -0.2125668227672577, 0.1805446594953537, 1.0599379539489746, -0.17073547840118408, 0.21737608313560486, -0.613837718963623, 0.010066818445920944, 0.36027637124061584, 0.4848449230194092, -0.3640211522579193, -0.3455464243888855, -0.08874095231294632, 0.1835363209247589, -0.48113879561424255, -0.9755130410194397, 0.25264087319374084, -0.2873762845993042, 0.6295557022094727, 0.5271153450012207, 0.14118513464927673, 0.2853090167045593, -0.23985803127288818, 0.905692994594574, 0.2521430552005768, -0.7983033061027527, 0.2119123637676239, -0.33362579345703125, -0.040791697800159454, 0.4829903244972229, 0.6574220657348633, -0.6747110486030579, -0.45731648802757263, -0.7374423146247864, -0.5546873807907104, 1.0019553899765015, -0.04012177139520645, 0.18407157063484192, 0.07531607151031494, 0.5557844638824463, 0.243674635887146, 0.23188817501068115, -1.0617356300354004, -0.4240586459636688, -0.27838993072509766, -0.40099427103996277, -0.04774198681116104, -0.49529483914375305, -0.4417443573474884, 0.15438753366470337, 0.8436191082000732, -0.09072299301624298, 0.41157013177871704, -0.10308357328176498, -0.03043290413916111, -0.40170764923095703, 0.41632238030433655, 0.7595035433769226, 0.2959422171115875, -0.10653149336576462, 0.2727157175540924, -0.08486119657754898, -0.38034743070602417, 0.3164914548397064, 0.221202552318573, 0.10129627585411072, -0.25605225563049316, 0.2769702076911926, 0.6553487777709961, 0.29810407757759094, -0.5187999606132507, 0.9846563339233398, -0.15267512202262878, -0.1588355451822281, -0.23130233585834503, 0.21203671395778656, 0.24112126231193542, 0.09521525353193283, 0.16472040116786957, -0.13416971266269684, 0.04325440153479576, -0.6331763863563538, 0.08191613107919693, 0.7919275760650635, -0.5932526588439941, -0.31177303194999695, 0.6133564114570618, -0.1277959644794464, -0.32438924908638, 0.7000487446784973, -0.3678862154483795, -0.6676830649375916, 0.12225723266601562, 0.453978568315506, 0.6569186449050903, -0.6938439607620239, 0.43361592292785645, -0.017907898873090744, 0.30879995226860046, -0.026951877400279045, 0.14851637184619904, 0.11343932151794434, -0.8174501657485962, -0.6239259839057922, -0.39384785294532776, -0.3639012277126312, 0.3636006712913513, -0.7258234620094299, 0.17718322575092316, -0.024269860237836838, 0.20631510019302368, -0.12976200878620148, 0.13130515813827515, -0.37264925241470337, -0.12126342952251434, 0.1525076925754547, 0.5156234502792358, -0.716732382774353, 0.7656762599945068, 0.5690641403198242, -0.6209534406661987, -1.0903462171554565, 0.1509248912334442, 0.1864333599805832, -0.8859168291091919, 0.549623966217041, 0.1328047662973404, -0.19134654104709625, -0.2698165476322174, -1.0187848806381226, -0.67243492603302, 1.0631694793701172, 0.7102130055427551, -0.46658918261528015, -0.5650401711463928, 0.4232969582080841, 0.42040789127349854, -0.09419769048690796, 0.15839926898479462, 0.5582979917526245, 0.6146126389503479, 0.06316399574279785, -0.7741939425468445, 0.42927151918411255, 0.2028835564851761, 0.002433155430480838, 0.1094871237874031, -0.573260486125946, 0.752561092376709, -0.18041884899139404, -0.2303503453731537, 0.07449682056903839, 0.3241996467113495, 0.5715106725692749, 0.26007652282714844, 0.38730716705322266, 0.4079267382621765, 0.7191471457481384, -0.3033575117588043, 1.1625194549560547, 0.13546285033226013, 0.3116820752620697, 0.9188464283943176, -0.2898082733154297, 0.2858227789402008, 0.7692733407020569, 0.2166322022676468, 0.5751640796661377, 0.5374208688735962, 0.17187590897083282, 0.717551589012146, 0.40569108724594116, -0.10954592376947403, -0.19379903376102448, -0.19040033221244812, -0.042765356600284576, 0.4495494067668915, 0.4043932557106018, -0.26030880212783813, -0.316120445728302, -0.18493561446666718, 0.2253139317035675, 0.19966483116149902, -0.11207994073629379, 0.8184091448783875, 0.23802511394023895, -0.8968623876571655, 0.483516126871109, -0.06389141827821732, 0.9182305335998535, -0.5436200499534607, -0.28769731521606445, -0.015822317451238632, 0.1994531750679016, -0.293084979057312, -0.8350008130073547, 0.18928366899490356, -0.17756010591983795, 0.21481390297412872, -0.30606281757354736, 0.7949181199073792, -0.37685269117355347, 0.19067923724651337, 0.29234933853149414, 0.3845881223678589, 0.11973925679922104, -0.11257980018854141, -0.8218013644218445, 0.019854813814163208, 0.05705050006508827, -0.28682830929756165, 0.5427044034004211, 0.4759129583835602, -0.10404834896326065, 0.6063486933708191, 0.7744042277336121, 0.2518138289451599, -0.15957358479499817, -0.15474513173103333, 0.8697505593299866, -0.5598528981208801, -0.225538432598114, -0.9178548455238342, 0.5256591439247131, -0.14147816598415375, 0.007514620199799538, 0.7009908556938171, 0.46226003766059875, 0.9757832884788513, 0.04406890645623207, 0.5524328351020813, 0.34339845180511475, 0.5353713631629944, -0.46482914686203003, 0.7200438976287842, -0.4673326313495636, 0.4953562915325165, -0.25585541129112244, -0.7433699369430542, -0.07475820928812027, 0.5774732828140259, -0.4864378571510315, 0.19085693359375, 0.7048770189285278, 0.7710396647453308, 0.08098702132701874, -0.005534820258617401, 0.4103828966617584, 0.3326677083969116, 0.33581194281578064, 0.6362854838371277, 1.20521080493927, -0.14895136654376984, 0.6702867746353149, -0.2108132243156433, -0.23291559517383575, -0.24946802854537964, -0.9087480902671814, -0.425340473651886, -0.5564467310905457, -0.14210942387580872, -0.638071596622467, 0.19046907126903534, 0.6990333199501038, 0.23300862312316895, -0.5966780781745911, -0.07105428725481033, -0.20611615478992462, 0.3786507248878479, -0.34879955649375916, -0.2980177104473114, 0.05601990222930908, -0.4400056004524231, -0.7521959543228149, 0.302330881357193, -0.09940250962972641, 0.03507471829652786, -0.4998789429664612, -0.518571138381958, -0.05456853285431862, 0.13789594173431396, 0.13615308701992035, 0.25946709513664246, -0.8188599348068237, -0.5142400860786438, 0.20488828420639038, -0.4602750837802887, -0.02976241335272789, 0.7303548455238342, -0.623500406742096, 0.19685758650302887, -0.00411105714738369, 0.6232253313064575, 0.2714082598686218, 0.13369889557361603, 0.7061878442764282, -1.0085904598236084, -0.1724129468202591, 0.6232461929321289, 0.1295267641544342, 0.3646877706050873, -0.8622634410858154, 0.38089925050735474, -0.052054513245821, -0.8114818930625916, -0.9878563284873962, 0.37062475085258484, -0.733921229839325, -0.3142842650413513, 1.1963951587677002, -0.2402217984199524, -0.28433653712272644, -0.02563057281076908, -0.13156351447105408, 0.49115338921546936, -0.47445422410964966, 1.0189625024795532, 0.8488536477088928, -0.17684468626976013, 0.10455773025751114, -0.4110960066318512, 0.9902368187904358, 0.6599626541137695, -0.7201237082481384, 0.23718470335006714, 0.6577395796775818, 0.44821932911872864, 0.26763036847114563, 0.34681516885757446, -0.34744274616241455, 0.4873351752758026, -0.307641863822937, 0.02754034847021103, -0.20717795193195343, -0.22788743674755096, -0.6898974776268005, -0.28815752267837524, 0.48635050654411316, -0.21816138923168182 ]
http://arxiv.org/abs/2406.01919v1
http://arxiv.org/pdf/2406.01919v1
OTTAWA: Optimal TransporT Adaptive Word Aligner for Hallucination and Omission Translation Errors Detection
2024-06-04T03:00:55
2024-06-04T03:00:55
Chenyang Huang, Abbas Ghaddar, Ivan Kobyzev, Mehdi Rezagholizadeh, Osmar R. Zaiane, Boxing Chen
cs.CL
cs.CL
Recently, there has been considerable attention on detecting hallucinations and omissions in Machine Translation (MT) systems. The two dominant approaches to tackle this task involve analyzing the MT system's internal states or relying on the output of external tools, such as sentence similarity or MT quality estimators. In this work, we introduce OTTAWA, a novel Optimal Transport (OT)-based word aligner specifically designed to enhance the detection of hallucinations and omissions in MT systems. Our approach explicitly models the missing alignments by introducing a "null" vector, for which we propose a novel one-side constrained OT setting to allow an adaptive null alignment. Our approach yields competitive results compared to state-of-the-art methods across 18 language pairs on the HalOmi benchmark. In addition, it shows promising features, such as the ability to distinguish between both error types and perform word-level detection without accessing the MT system's internal states.
[ -0.2186966985464096, -0.4974623918533325, 0.8363916277885437, 0.2932395339012146, -0.5014627575874329, -0.1529831439256668, 0.05817963555455208, -0.22349706292152405, 0.608766496181488, 0.6258552670478821, -0.5824447274208069, -0.37133240699768066, -0.5152844786643982, 0.43750977516174316, -0.3582246005535126, 0.3084202706813812, -0.4208570420742035, -0.22407619655132294, -0.045360784977674484, -0.6872014403343201, -0.9565528631210327, -0.3197551369667053, -0.3237079977989197, 0.02005084417760372, 0.3778574466705322, 0.3458612561225891, 0.702979564666748, 0.6788643598556519, 0.6968779563903809, 0.3463329076766968, 0.3032950758934021, 0.4856356680393219, -0.10325866937637329, 0.16600492596626282, -0.19780327379703522, -0.00543759623542428, -0.4291892945766449, -0.605350911617279, 0.708119809627533, 0.5912928581237793, -0.259579062461853, -0.21188540756702423, -0.18652161955833435, 0.529962420463562, -0.7344377636909485, 0.006737474352121353, -0.7461644411087036, 0.21593067049980164, -0.20065580308437347, -0.3625916838645935, -0.37283411622047424, -0.6632155776023865, -0.08229045569896698, -1.0326945781707764, -0.3796762228012085, 0.5953396558761597, 0.8051855564117432, 0.8225047588348389, -0.3084372878074646, -0.3399869203567505, -0.4542692005634308, 0.6557725667953491, -0.5665276646614075, 0.5836251974105835, 0.325779527425766, 0.21139054000377655, 0.026379045099020004, -0.3145381510257721, -0.7550540566444397, 0.29735103249549866, -0.25039368867874146, 0.4681510329246521, -0.3268577754497528, 0.061188433319330215, -0.17855148017406464, 0.21460431814193726, -0.7363399863243103, 0.17586563527584076, -0.38911423087120056, -0.5428239703178406, 0.28374093770980835, 0.2807166576385498, 0.48666712641716003, -0.06889308243989944, -0.20779410004615784, -0.048930779099464417, -0.19583703577518463, -0.4229139983654022, 0.17515820264816284, 0.3762580156326294, 0.15835416316986084, 0.562754213809967, 0.10516313463449478, 0.5401161313056946, 0.04307480528950691, 0.26770561933517456, 0.6083343029022217, 0.06927323341369629, -0.33327725529670715, 0.47621071338653564, 1.0308533906936646, 0.3713299334049225, -0.257914274930954, -0.4840714633464813, -0.5626198053359985, 0.20490145683288574, 0.42673182487487793, -0.4643624424934387, 0.17927730083465576, 0.27593186497688293, -0.2532711923122406, -0.10484623908996582, -0.042067769914865494, -0.8127613067626953, -0.33550387620925903, -0.32824692130088806, 0.9012205600738525, -0.5956992506980896, -0.10923535376787186, 0.4246450662612915, -0.08182220906019211, 0.24366578459739685, 0.055208392441272736, -0.9795747995376587, 0.28992655873298645, 0.4410436749458313, 1.118179202079773, -0.6122163534164429, -0.3323982059955597, -1.0493303537368774, -0.1283239722251892, -0.5773364901542664, 0.9442427754402161, -0.24756354093551636, -0.24514690041542053, 0.32180485129356384, 0.13232246041297913, -0.21214498579502106, -0.6099866628646851, 1.0576670169830322, -0.2770567238330841, 0.22136792540550232, -0.4492809772491455, -0.2769778072834015, -0.2805461585521698, 0.18779008090496063, -0.41455963253974915, 1.0570405721664429, 0.49048906564712524, -0.4886835217475891, 0.20986498892307281, -0.777996301651001, -0.6468356251716614, 0.0909290760755539, 0.26727306842803955, -0.5412797927856445, 0.37556490302085876, 0.3199111521244049, -0.05621319264173508, 0.08653580397367477, 0.2720821499824524, -0.2412097454071045, -0.5627925395965576, -0.07531597465276718, -0.12045899033546448, 0.6259598135948181, 0.1988515406847, -0.2194928228855133, 0.3808085024356842, -0.8949222564697266, -0.05886980891227722, -0.08769810944795609, -0.26105210185050964, -0.5892282724380493, 0.07001104950904846, 0.16046175360679626, 0.0771922618150711, -0.08467084169387817, -0.7213541865348816, 0.24524326622486115, -0.5921381115913391, 0.39617595076560974, 0.930959165096283, -0.27162715792655945, 0.5293587446212769, -0.19032150506973267, 0.23033855855464935, 0.13409322500228882, 0.37107744812965393, 0.1653214395046234, -0.3462664484977722, -0.9029893279075623, -0.0748617872595787, 0.1308550387620926, 0.7391835451126099, -0.9126731753349304, 0.9143782258033752, -0.42011237144470215, -0.03124607540667057, -1.0540878772735596, -0.08789718151092529, -0.12218527495861053, 0.6834943890571594, 0.7679998874664307, -0.37926292419433594, -0.5571975111961365, -0.9269785284996033, -0.2676412761211395, -0.15857304632663727, 0.20097586512565613, -0.24611905217170715, 0.4881749451160431, -0.44153285026550293, 0.7735037803649902, -0.5366566181182861, -0.6433701515197754, 0.23662996292114258, 0.05123982951045036, -0.10906905680894852, 0.4848550260066986, 0.5539578199386597, -0.5532368421554565, -0.3961673378944397, 0.22272710502147675, -1.0080870389938354, -0.5367108583450317, -0.24677911400794983, -0.5181095004081726, 0.14921221137046814, 0.36249542236328125, -0.4511719048023224, 0.4497953951358795, 0.6133609414100647, -0.25716081261634827, 0.337137907743454, -0.48783692717552185, 0.004168888553977013, -0.9026138782501221, 0.13585874438285828, -0.5867990255355835, -0.25906163454055786, -0.679736316204071, -0.0714544951915741, 0.25129443407058716, -0.07231632620096207, -0.3106958866119385, 0.4835166037082672, -0.30476832389831543, 0.038257014006376266, -0.4518614113330841, 0.6456008553504944, -0.20097841322422028, 0.5975643992424011, 0.16536186635494232, 0.5426902174949646, 0.47285929322242737, -0.43664804100990295, -0.05017739534378052, 0.8247202634811401, -0.20377229154109955, 0.8383857011795044, -0.24504849314689636, 0.4210470914840698, -0.2495993971824646, -0.19440636038780212, -1.0185065269470215, -0.021545246243476868, 0.7967171669006348, -0.20358765125274658, 0.1487252563238144, 0.30948761105537415, -0.37610551714897156, -0.30416327714920044, -0.14948809146881104, 0.4148445725440979, 0.5659114718437195, -0.6538165807723999, 1.0459303855895996, 0.39339402318000793, 0.1496151089668274, -0.5347862839698792, -1.0212842226028442, 0.18723894655704498, -0.18542605638504028, -0.4228515028953552, 0.30189982056617737, -0.297143816947937, -0.028093118220567703, 0.20901185274124146, -0.30587923526763916, -0.10293858498334885, -0.055840685963630676, 0.28293588757514954, 0.30051296949386597, -0.3917621076107025, 0.14785555005073547, 0.4287396967411041, -0.24664315581321716, 0.037881698459386826, -0.771005392074585, 0.19778494536876678, 0.11259187757968903, -0.5234461426734924, -0.6525561809539795, 0.429323673248291, 1.061078667640686, -0.22818174958229065, 0.8913979530334473, 0.6980718374252319, -0.5590411424636841, 0.04567674547433853, -0.6715685129165649, -0.06470515578985214, -0.4748820662498474, 0.2675909101963043, -0.15134325623512268, -0.4514029026031494, 0.4826641082763672, 0.4252276122570038, 0.09915696084499359, 0.4756050407886505, 0.11252713203430176, 0.3773156404495239, 1.011704921722412, 0.5647988319396973, -0.2434176206588745, 0.32450494170188904, 0.24135197699069977, 0.621525764465332, -1.0554630756378174, -0.02023213729262352, -0.5260590314865112, -0.3461512625217438, -0.415951669216156, -0.21114219725131989, 0.25848811864852905, -0.33677637577056885, -0.2706303894519806, 0.45617595314979553, -0.8147439360618591, 0.17937655746936798, 0.5185865759849548, -0.022268813103437424, 0.29749321937561035, 0.00844596792012453, -0.39229264855384827, -0.15222659707069397, -0.6671850085258484, -0.25595489144325256, 0.7162079215049744, -0.07469479739665985, 0.2953031063079834, 0.14885272085666656, 0.42994198203086853, 0.26031941175460815, 0.6624084115028381, -0.7497668862342834, 0.41936078667640686, -0.11673951894044876, -0.298157274723053, -0.13412390649318695, -0.5250736474990845, -0.7169684767723083, 0.4730152189731598, -0.3884846568107605, -0.7892115116119385, 0.33037352561950684, 0.057528723031282425, -0.43403175473213196, 0.5970149040222168, -0.4796457886695862, 0.8483197093009949, -0.35896286368370056, -0.28348392248153687, 0.16582849621772766, -0.5438346266746521, 0.294373482465744, -0.49288272857666016, 0.36925366520881653, 0.18516644835472107, -0.02071787416934967, 0.5390074253082275, -0.3644620180130005, 0.3047814667224884, -0.1394389420747757, -0.019817929714918137, 0.057658515870571136, 0.19300392270088196, 0.5970674753189087, -0.4039577841758728, -0.105379119515419, 0.09141352772712708, -0.27983319759368896, -0.14041545987129211, -0.540077805519104, 0.6409594416618347, -0.5526763796806335, -0.40538284182548523, -0.4139610528945923, -0.7781612277030945, -0.13037742674350739, 0.5460836887359619, 0.342925488948822, 0.2128925919532776, 0.03285623714327812, -0.06654099375009537, 0.45871663093566895, -0.446746826171875, 0.3916029632091522, 0.7342537641525269, -0.4515126347541809, -0.590071439743042, 1.1267741918563843, 0.09185435622930527, 0.10518883913755417, 0.6901491284370422, 0.41022199392318726, -0.49568456411361694, -0.8273463249206543, -0.4763404428958893, 0.3787313997745514, -0.7415755391120911, -0.2276492863893509, -0.9815361499786377, -0.1115628182888031, -0.16825540363788605, -0.2921859323978424, -0.4526064395904541, -0.2946815490722656, -0.025200925767421722, -0.07458047568798065, 0.005843084305524826, 0.4948888421058655, -0.24501945078372955, 0.3946601152420044, -0.8053909540176392, 0.2194402515888214, 0.2240871638059616, 0.4559553861618042, -0.24026410281658173, -0.7582632303237915, -0.028357528150081635, -0.1297762095928192, -0.46428948640823364, -0.7947465777397156, 0.538439929485321, -0.1343868225812912, 0.4050087332725525, 0.6205702424049377, 0.31480008363723755, 0.9848386645317078, -0.482654333114624, 0.5209946632385254, 0.20502641797065735, -1.2155495882034302, 0.31599390506744385, -0.1337120532989502, 0.26402729749679565, 0.6079073548316956, -0.033688340336084366, -0.7242963910102844, -0.6710299849510193, -0.16282406449317932, -0.787216067314148, 0.7589387893676758, 0.7856045365333557, -0.1792665421962738, -0.01939544640481472, 0.2121228128671646, 0.08986692875623703, 0.17068494856357574, -0.7090203166007996, -0.17039164900779724, -0.19667907059192657, -0.585289716720581, 0.07583820074796677, 0.2661910653114319, 0.17769743502140045, -0.07694578170776367, 0.914865255355835, -0.1487528383731842, 0.30378860235214233, 0.4672423303127289, -0.3473818600177765, -0.5091063976287842, 0.004397935699671507, 0.9588783383369446, 0.4465102553367615, -0.4295831024646759, 0.023354224860668182, 0.5093690156936646, -0.585448682308197, 0.05780063942074776, -0.007306472864001989, -0.3797032833099365, 0.40927278995513916, 0.07858789712190628, 0.9067331552505493, 0.09014260768890381, -0.6441497802734375, 0.403448224067688, -0.029753966256976128, -0.3763253688812256, -0.14609286189079285, -0.3554087281227112, -0.19297514855861664, -0.09952344745397568, 0.25467410683631897, 0.7117674946784973, -0.05237183719873428, -0.30533525347709656, -0.10835496336221695, 0.2819942235946655, -1.112510323524475, -0.5012823939323425, 1.1329069137573242, 0.12049905955791473, -0.7304786443710327, 0.7484049797058105, -0.3067207634449005, -0.7565549612045288, 0.11818307638168335, 0.4276117980480194, 1.1725740432739258, -0.40431854128837585, -0.1080237552523613, 0.31385311484336853, 0.7251425981521606, -0.2846817672252655, 0.14619195461273193, 0.3267168700695038, -0.8740257024765015, -0.10960554331541061, -0.42130187153816223, -0.17278972268104553, 0.21277278661727905, -0.573762059211731, 0.2953636050224304, -0.008325678296387196, -0.05106671527028084, -0.3272026479244232, -0.6553128957748413, -0.5258961319923401, -0.09187210351228714, 0.15753313899040222, 0.7544494271278381, -0.8351598381996155, 0.5477970838546753, 0.33199259638786316, -0.23000432550907135, -0.3683358132839203, -0.07107763737440109, 0.17490491271018982, -0.7234458327293396, 0.029474562034010887, 0.18318307399749756, -0.21877823770046234, -0.17162850499153137, 0.02140507847070694, -0.8003024458885193, 0.8451803922653198, 0.6463481783866882, -0.6540639400482178, -0.006754872389137745, 0.22599488496780396, 0.3921518921852112, -0.25066015124320984, 0.04558626562356949, 0.5083189010620117, 0.8985633850097656, -0.29241156578063965, -0.7333910465240479, 0.22764241695404053, -0.039157260209321976, -0.28229886293411255, 0.603283166885376, -0.598967432975769, 0.2959964871406555, 0.23108407855033875, -0.41061457991600037, 0.24071688950061798, 0.4642360210418701, -0.23016934096813202, 0.35425662994384766, 0.641990065574646, 0.6045160293579102, 0.8088828325271606, -0.297504186630249, 0.7501031756401062, -0.24995076656341553, 0.1793925166130066, 0.950848400592804, -0.41566967964172363, 0.8363415598869324, 0.7961699366569519, 0.3094804584980011, 0.234352707862854, 0.44541293382644653, 0.20605050027370453, 0.7312832474708557, 0.04038982093334198, 0.1275349259376526, -0.15149852633476257, 0.07443682104349136, -0.21869643032550812, 0.21431367099285126, 0.283292293548584, -0.11844669282436371, -0.006170313339680433, 0.31397533416748047, -0.23357881605625153, 0.032489120960235596, -0.14238421618938446, 0.5649598240852356, 0.011010603047907352, -1.0014028549194336, 0.520087480545044, -0.24163563549518585, 0.39826738834381104, -0.6614537239074707, 0.11449695378541946, -0.5031142234802246, 0.3238283097743988, -0.1669187992811203, -0.4688014090061188, 0.5705752968788147, -0.39563220739364624, 0.20341894030570984, -0.2910303473472595, 0.33922314643859863, -0.5322118997573853, -0.42772290110588074, 0.4651000499725342, 0.2792758643627167, 0.051313795149326324, -0.19505199790000916, -0.39653077721595764, 0.29089978337287903, -0.08188982307910919, 0.18358461558818817, 0.021789608523249626, 0.5980893969535828, 0.1529058814048767, 0.6096214056015015, 0.35948795080184937, 0.1311478614807129, 0.010377381928265095, -0.11789260059595108, 0.6347077488899231, -0.45994892716407776, -0.5557918548583984, -0.706599235534668, 0.5265243649482727, -0.14454686641693115, -0.5489612817764282, 0.5716008543968201, 0.7150987386703491, 0.386265367269516, -0.0839410126209259, 0.8023144006729126, 0.1431804746389389, 0.07990525662899017, -0.5832738876342773, 0.38431259989738464, -0.8006466031074524, 0.2783503234386444, -0.31838762760162354, -1.098787784576416, -0.5144767165184021, 0.6282105445861816, -0.1905369907617569, -0.6314536333084106, 1.3645129203796387, 0.9000651836395264, -0.41636767983436584, 0.08956066519021988, 0.382623553276062, 0.24714648723602295, 0.17034152150154114, 0.6360222697257996, 0.8052836656570435, -0.8607428073883057, 0.7813695669174194, 0.13572105765342712, -0.060099463909864426, -0.26180508732795715, -0.6207033395767212, -0.7568657398223877, -0.7855944633483887, -0.5154539346694946, -0.3197786509990692, 0.22788068652153015, 0.9012752771377563, 0.6252837181091309, -0.9454911947250366, 0.007628530729562044, -0.09183312952518463, 0.25636473298072815, -0.5014138221740723, -0.1765005737543106, 0.6440552473068237, -0.3608999252319336, -0.6684707999229431, 0.4649340808391571, 0.9311270713806152, -0.07293432950973511, 0.051792409271001816, -0.1660902500152588, 0.02306090109050274, 0.28666412830352783, 0.4175996780395508, 0.061358075588941574, -0.7877216339111328, -0.6727578043937683, 0.31023451685905457, 0.005665736272931099, 0.5115699172019958, 0.7319725751876831, -0.32267898321151733, 0.8757357001304626, 0.4239767789840698, 0.7616606950759888, 0.11339733749628067, -0.012686602771282196, 0.5586615800857544, -0.34035158157348633, 0.16968652606010437, 0.20172107219696045, 0.49313101172447205, 0.3459896445274353, -0.3479025065898895, 0.4346964657306671, 0.40489649772644043, -0.6085235476493835, -0.992458701133728, -0.2538571059703827, -1.1202144622802734, -0.03299207240343094, 0.7222940921783447, 0.288570374250412, -0.46825411915779114, -0.3087329864501953, -0.44913363456726074, 0.1061868816614151, -0.42640984058380127, 1.083092451095581, 0.7900989055633545, 0.2405233234167099, 0.18476933240890503, -0.669754147529602, 0.24835146963596344, 0.46332669258117676, -0.7990754842758179, -0.09135439991950989, 0.14206483960151672, -0.047108426690101624, 0.4652605652809143, 0.46930164098739624, 0.11544791609048843, 0.18890966475009918, -0.10201479494571686, -0.07814833521842957, 0.06237563118338585, -0.03085450828075409, -0.2728748023509979, 0.017610570415854454, -0.40888845920562744, -0.6545557975769043 ]
http://arxiv.org/abs/2406.01914v1
http://arxiv.org/pdf/2406.01914v1
HPE-CogVLM: New Head Pose Grounding Task Exploration on Vision Language Model
2024-06-04T02:51:26
2024-06-04T02:51:26
Yu Tian, Tianqi Shao, Tsukasa Demizu, Xuyang Wu, Hsin-Tai Wu
cs.CV
cs.CV, cs.AI, cs.CL
Head pose estimation (HPE) task requires a sophisticated understanding of 3D spatial relationships and precise numerical output of yaw, pitch, and roll Euler angles. Previous HPE studies are mainly based on Non-large language models (Non-LLMs), which rely on close-up human heads cropped from the full image as inputs and lack robustness in real-world scenario. In this paper, we present a novel framework to enhance the HPE prediction task by leveraging the visual grounding capability of CogVLM. CogVLM is a vision language model (VLM) with grounding capability of predicting object bounding boxes (BBoxes), which enables HPE training and prediction using full image information input. To integrate the HPE task into the VLM, we first cop with the catastrophic forgetting problem in large language models (LLMs) by investigating the rehearsal ratio in the data rehearsal method. Then, we propose and validate a LoRA layer-based model merging method, which keeps the integrity of parameters, to enhance the HPE performance in the framework. The results show our HPE-CogVLM achieves a 31.5\% reduction in Mean Absolute Error for HPE prediction over the current Non-LLM based state-of-the-art in cross-dataset evaluation. Furthermore, we compare our LoRA layer-based model merging method with LoRA fine-tuning only and other merging methods in CogVLM. The results demonstrate our framework outperforms them in all HPE metrics.
[ -0.5900049805641174, -0.6047801375389099, 0.3677227795124054, -0.04115928336977959, -0.35434842109680176, -0.3248702883720398, 0.1845429390668869, -0.4551966190338135, 0.025533339008688927, 0.6743871569633484, -0.6265755295753479, -0.6230397820472717, -0.5083743333816528, -0.6242119073867798, -0.14709416031837463, 0.36603617668151855, 0.22637097537517548, -0.1498153805732727, -0.4993099868297577, -0.1941983997821808, -0.8401163220405579, -0.44247114658355713, -0.51408451795578, -0.47913235425949097, 0.3217357099056244, 0.2126864641904831, 0.45870649814605713, 0.8030456304550171, 0.6282358169555664, 0.15047039091587067, -0.13003341853618622, 0.18975040316581726, -0.6339159607887268, -0.10603474080562592, -0.26009953022003174, -0.14449837803840637, -0.6051536202430725, -0.08822637796401978, 0.30074170231819153, 0.6425436735153198, -0.25177857279777527, 0.2123209536075592, 0.07349281013011932, 0.7685865759849548, -0.9104682207107544, 0.08938249945640564, -0.5993998646736145, 0.31152209639549255, 0.006648268550634384, -0.22337159514427185, -0.3440523147583008, 0.17289583384990692, 0.26148489117622375, -0.5394430756568909, 0.03132694959640503, 0.12421005219221115, 0.9075674414634705, 0.5598374009132385, -0.1002749502658844, 0.44493597745895386, -0.36051496863365173, 0.9191731214523315, -0.6764488220214844, 0.7284108996391296, 0.25151148438453674, 0.6695932745933533, -0.09929810464382172, -0.20693054795265198, -0.4059924781322479, -0.12751592695713043, 0.19281835854053497, 0.24936263263225555, 0.1325763761997223, 0.13357917964458466, 0.47208306193351746, 0.36163631081581116, -0.5852256417274475, 0.10379425436258316, -0.043415993452072144, -0.14823395013809204, 0.49419155716896057, -0.04398443177342415, 0.36045241355895996, -0.15094785392284393, -0.5690279006958008, -0.2608705759048462, -0.5420001149177551, 0.2722097933292389, -0.2857326865196228, 0.13147233426570892, -0.3107988238334656, 0.4815940260887146, -0.2994822859764099, 1.0019220113754272, 0.2592258155345917, -0.4299164414405823, 0.09696002304553986, 0.29119133949279785, -0.7775406837463379, -0.33410903811454773, 0.49475568532943726, 0.7399977445602417, 0.13649865984916687, -0.23106753826141357, 0.04689687117934227, 0.12495747953653336, 0.055046506226062775, -0.5901089906692505, 0.17850060760974884, 0.2565782070159912, -0.40335190296173096, -0.3380146920681, 0.1280185878276825, -0.7883012890815735, -0.6699618697166443, -0.5741605162620544, 0.33408859372138977, -0.33637896180152893, -0.05093497037887573, 0.09893302619457245, -0.03063533641397953, 0.6838774085044861, 0.5680744051933289, -0.48673275113105774, 0.11157751828432083, 0.44684234261512756, 0.45937976241111755, -0.4313816428184509, -0.4903029799461365, -0.932171106338501, 0.3547617495059967, -0.20459866523742676, 0.5156163573265076, -0.010819191113114357, -0.05291147902607918, -0.007233701180666685, 0.1400960236787796, -0.056783899664878845, -0.6616541147232056, 0.5235140919685364, -0.5805112719535828, 0.25000545382499695, -0.3174374997615814, -0.4125966727733612, -0.6126248240470886, 0.6060376167297363, -0.5480017066001892, 0.9579471349716187, 0.09820951521396637, -0.6915030479431152, 0.3586921691894531, -0.17455337941646576, -0.006980138830840588, 0.18602117896080017, -0.48565489053726196, -0.7524028420448303, 0.0003648168931249529, 0.5079824328422546, 0.5699871778488159, -0.44239336252212524, 0.4747264087200165, -0.3980053663253784, -0.6422661542892456, -0.44119077920913696, -0.06223362311720848, 0.7830573320388794, -0.16387565433979034, -0.49475938081741333, 0.15335442125797272, -0.8421176075935364, 0.28212711215019226, 0.0689982995390892, 0.05243014544248581, -0.3222513198852539, -0.001691431156359613, -0.07238516211509705, 0.4022327959537506, 0.21772246062755585, -0.1634252369403839, 0.003154522506520152, -0.35623300075531006, -0.11566754430532455, 0.2568362057209015, 0.09026631712913513, 0.3002392053604126, -0.35595816373825073, 0.42969298362731934, 0.05029628798365593, 0.0004771905660163611, -0.23813945055007935, -0.4926513135433197, -0.6441676616668701, -0.1532483994960785, -0.13651925325393677, 0.8555676341056824, -0.5332497358322144, 0.6978397965431213, -0.1587563306093216, -0.48427778482437134, -0.06560415774583817, -0.10587223619222641, 0.4579249322414398, 0.7494682669639587, 0.5267005562782288, -0.1278662085533142, -0.8833097815513611, -0.7946218252182007, -0.16716483235359192, -0.0736432671546936, -0.1365053802728653, 0.2874127924442291, 0.279812753200531, -0.2726406157016754, 1.01706063747406, -0.26613327860832214, -0.44891780614852905, 0.196150004863739, -0.05977516248822212, 0.23433268070220947, 0.608293354511261, 0.5228489637374878, -0.7439679503440857, -0.45122164487838745, 0.29276344180107117, -1.204543948173523, -0.0003885605838149786, 0.17446136474609375, -0.09039100259542465, 0.024224180728197098, 0.48634544014930725, -0.38457074761390686, 0.6744892597198486, 0.6917356848716736, -0.33895033597946167, 0.45185884833335876, -0.02683481015264988, 0.23762264847755432, -0.9073452353477478, 0.030177408829331398, 0.12337708473205566, -0.43311041593551636, -0.43156325817108154, 0.3784877061843872, 0.07992926985025406, -0.5171161890029907, -0.7522860169410706, 0.38734614849090576, -0.55119788646698, -0.19728536903858185, -0.40814003348350525, 0.03325536847114563, 0.06187867373228073, 0.6312436461448669, 0.14307747781276703, 0.5767791867256165, 1.0214474201202393, -0.6543153524398804, 0.2849423587322235, 0.21749456226825714, -0.23455549776554108, 0.609644889831543, -0.5521256327629089, 0.3066351115703583, -0.22976550459861755, -0.0702974796295166, -0.6410970687866211, -0.3184378147125244, -0.021632526069879532, -0.27259117364883423, 0.1523936241865158, -0.3360233008861542, 0.20964466035366058, -0.5550686120986938, -0.25497686862945557, 0.45678985118865967, 0.7844521999359131, -0.7124479413032532, 0.6449660658836365, 0.532580554485321, 0.09849318116903305, -0.7301920056343079, -0.6072009205818176, 0.20537643134593964, -0.42435315251350403, -0.9212208390235901, 0.7337614893913269, -0.040671203285455704, -0.2234320193529129, -0.1765369176864624, -0.03964637219905853, -0.22703400254249573, -0.3394171893596649, 0.17246580123901367, 0.36136123538017273, -0.3093888759613037, -0.42070022225379944, -0.2505320608615875, 0.03027189150452614, -0.0846204087138176, -0.43394699692726135, 0.49990907311439514, -0.05663279443979263, -0.33758607506752014, -0.5784797072410583, 0.15855930745601654, 0.8695051074028015, -0.19254599511623383, 0.6446797251701355, 0.4916592836380005, -0.8661218285560608, -0.06989884376525879, -0.7435106039047241, 0.09035345166921616, -0.42147544026374817, 0.49603837728500366, -0.18050219118595123, -0.626634418964386, 0.5660225749015808, 0.15598329901695251, -0.27465397119522095, 0.2911105453968048, 0.4722532331943512, -0.21568182110786438, 0.6894950270652771, 0.835992693901062, -0.1788773089647293, 0.4023350477218628, -0.42923152446746826, -0.14901591837406158, -0.8964889645576477, -0.27790865302085876, 0.02543630078434944, -0.09411466121673584, -0.2577059268951416, -0.9569187164306641, 0.4705635905265808, 0.29439207911491394, -0.12833507359027863, 0.22428929805755615, -0.33521324396133423, 0.5609185099601746, 0.19871442019939423, 0.16689130663871765, 0.017466573044657707, 0.3042284846305847, 0.013190333731472492, -0.2682070732116699, -0.4049977958202362, -0.16303205490112305, 0.5711553692817688, 0.39473792910575867, 0.48554524779319763, -0.4593030512332916, 0.461099237203598, 0.14230456948280334, -0.14895398914813995, -0.830730140209198, 0.7068693041801453, -0.28428900241851807, -0.09963833540678024, -0.5838478803634644, -0.14136098325252533, -0.40740981698036194, 0.632120668888092, -0.21625828742980957, -0.7014495134353638, 0.31647560000419617, 0.4328905940055847, -0.27235379815101624, 0.23911865055561066, -0.22363360226154327, 0.8219927549362183, -0.11621708422899246, -0.7441878318786621, 0.04559880867600441, -0.482260137796402, 0.4074547588825226, 0.20104987919330597, 0.17762349545955658, -0.11964932829141617, 0.25493913888931274, 0.8585442304611206, -0.4474114775657654, 0.6658940315246582, -0.5170192122459412, -0.4402713477611542, 0.5010549426078796, -0.2747126817703247, 0.8630915284156799, -0.09084517508745193, -0.03195730596780777, 0.377813458442688, -0.4161604940891266, -0.3381945788860321, -0.617996871471405, 0.6497575044631958, -0.5640287399291992, -0.4943348467350006, -0.23897036910057068, -0.7093654274940491, -0.5707300305366516, 0.45456865429878235, 0.4404800832271576, 0.28559544682502747, -0.24297893047332764, 0.3330123722553253, 0.6904527544975281, -0.30398163199424744, 0.23979003727436066, 0.29222601652145386, -0.47415846586227417, -0.6777758598327637, 0.8446754217147827, 0.06835675239562988, 0.05369105190038681, 0.5629648566246033, 0.261705219745636, -0.07549639791250229, -0.7128292918205261, -0.20247675478458405, 0.11094028502702713, -0.6479080319404602, -0.14902058243751526, -0.324677437543869, -0.360008180141449, -0.5101578831672668, -0.32074788212776184, -0.2761130928993225, 0.08279003202915192, 0.2010202705860138, 0.16340471804141998, -0.006913401652127504, 0.2019529491662979, 0.2595421373844147, 0.49937498569488525, -0.47705817222595215, 0.6294607520103455, 0.6284227967262268, 0.2717190980911255, -0.20745441317558289, -0.5616910457611084, -0.2251761108636856, 0.0909099355340004, -0.2176654189825058, -0.6465188264846802, 0.5184233784675598, -0.019964082166552544, 0.47515586018562317, 0.045357637107372284, -0.22071591019630432, 1.151255488395691, -0.5197880268096924, 0.5684966444969177, 0.3823540210723877, -0.7226877808570862, 0.5655945539474487, -0.748236358165741, 0.2849735915660858, 0.4473875164985657, -0.22046488523483276, -0.5479066967964172, -0.0651380866765976, -0.42060035467147827, -0.7030680775642395, 0.5387202501296997, 0.21578097343444824, -0.510252833366394, 0.4514158368110657, 0.4312964975833893, -0.12965704500675201, 0.1880914568901062, -0.7604707479476929, -0.1444678157567978, -0.09275390207767487, -0.055154722183942795, 0.10458777099847794, -0.21000081300735474, 0.1666596531867981, -0.4866335690021515, 0.6218167543411255, -0.2591722011566162, 0.21753112971782684, 0.09502112120389938, -0.14297541975975037, -0.44993895292282104, -0.07044793665409088, 0.3458293080329895, 0.5605400800704956, -0.4777538478374481, -0.054666150361299515, 0.42329904437065125, -0.38173708319664, -0.03789248317480087, -0.14971403777599335, -0.3415578007698059, -0.17862968146800995, 0.42092299461364746, 1.0979150533676147, 0.06165657192468643, -0.5612902641296387, 0.6276701092720032, 0.2286418080329895, -0.22076934576034546, -0.45889362692832947, -0.010249864310026169, -0.030898794531822205, -0.021440787240862846, 0.18556345999240875, 0.26239636540412903, 0.041665829718112946, -0.19594506919384003, 0.4565412104129791, 0.5074033737182617, -0.43917107582092285, -0.24783137440681458, 0.7080037593841553, 0.08939315378665924, -0.10685514658689499, 0.2124917358160019, 0.022795770317316055, -0.33954206109046936, 0.8311470746994019, 0.6234002113342285, 0.9048041701316833, -0.3469395935535431, -0.14329230785369873, 0.5160927772521973, 0.19266340136528015, -0.12945573031902313, 0.42940154671669006, 0.331506609916687, -0.5841957330703735, -0.7923558950424194, -0.5856015086174011, -0.38691532611846924, 0.6769862174987793, -0.7632654309272766, 0.8405430316925049, -0.21324817836284637, 0.19485704600811005, -0.5103398561477661, -0.15436460077762604, -0.761824905872345, 0.8144660592079163, 0.6044356226921082, 0.7176249623298645, -0.6905326247215271, 0.8756313323974609, 0.8238093852996826, -0.08129139244556427, -0.5511472821235657, 0.3608304560184479, -0.12563762068748474, -0.9443098902702332, 0.5504541993141174, 0.4830102026462555, -0.37670189142227173, 0.11424475163221359, -0.36807897686958313, -0.9471749663352966, 1.283564567565918, 0.7375996112823486, -0.7997770309448242, -0.3477895259857178, 0.1963275671005249, 0.2229800522327423, -0.4732346832752228, -0.23407629132270813, 0.3260694444179535, 0.39296969771385193, 0.3690868318080902, -0.8922191858291626, -0.19807425141334534, -0.030891070142388344, 0.1650724709033966, -0.09759894013404846, -0.5319558382034302, 0.8032561540603638, -0.10523568093776703, 0.036151014268398285, -0.2128821462392807, 0.7781347632408142, 0.49975842237472534, 0.4059034585952759, 0.7236839532852173, 0.8988609910011292, 0.7941433191299438, 0.2693125307559967, 0.849616527557373, -0.13433808088302612, 0.6527904272079468, 1.1138341426849365, -0.3896143436431885, 0.8038896322250366, 0.44218721985816956, -0.05210426449775696, 0.3105941414833069, 0.26619669795036316, 0.15156739950180054, 0.6802140474319458, -0.11970816552639008, 0.05796058848500252, -0.3875156044960022, -0.06202441826462746, -0.46116921305656433, 0.5859373211860657, 0.05034054443240166, -0.12812699377536774, -0.20878058671951294, 0.3604886531829834, -0.4225890338420868, 0.13620306551456451, -0.6014138460159302, 0.5677226781845093, 0.0072222016751766205, -0.6859135627746582, 1.0603642463684082, -0.25244635343551636, 0.5740857124328613, -0.30345234274864197, -0.11312872171401978, 0.04993917793035507, 0.2769783139228821, -0.10642164200544357, -0.3075498640537262, 0.43729639053344727, -0.2154332995414734, -0.39435258507728577, 0.038195230066776276, 0.9738545417785645, -0.5656818151473999, -0.4399607479572296, 0.4499625265598297, 0.4259199798107147, -0.14705391228199005, -0.38930580019950867, -0.5736096501350403, 0.2481396347284317, -0.07309839874505997, 0.001992573030292988, 0.2931446433067322, 0.24355700612068176, -0.2768273651599884, 0.4354873597621918, 0.2891743779182434, -0.025906996801495552, 0.06015331670641899, 0.08937381207942963, 0.5199222564697266, -0.9552291035652161, -0.8333380222320557, -0.7436671257019043, 0.5607221722602844, -0.10808390378952026, 0.06696546077728271, 0.6408650279045105, 0.4616820514202118, 0.5457293391227722, -0.43142104148864746, 0.9134019017219543, -0.0714375302195549, 0.4777982831001282, -0.773516833782196, 0.6083468198776245, -0.6167927384376526, 0.0083560049533844, -0.29126980900764465, -0.8935562968254089, -0.3928397595882416, 0.6060658097267151, -0.24184992909431458, -0.03894360363483429, 0.7852221131324768, 0.5257036089897156, -0.19937372207641602, -0.4789206087589264, 0.9490354657173157, 0.024308957159519196, 0.27832743525505066, 0.7431168556213379, 0.46557819843292236, -0.8268978595733643, 0.13806064426898956, -0.44817450642585754, -0.3197212517261505, -0.29052719473838806, -1.2530995607376099, -1.0211007595062256, -0.35758131742477417, -0.5926139950752258, -0.10007312148809433, 0.08078581094741821, 0.768397331237793, 1.0264753103256226, -0.8920201659202576, -0.309306263923645, -0.40577784180641174, -0.22168231010437012, -0.5670104026794434, -0.16785426437854767, 0.38618263602256775, -0.020578617230057716, -0.7125899195671082, 0.6268160939216614, 0.40708959102630615, 0.10969749093055725, -0.1426040083169937, -0.18253400921821594, -0.016663383692502975, -0.18381492793560028, 0.7906994223594666, 0.31854957342147827, -0.8910925388336182, -0.3336490988731384, -0.019597437232732773, 0.02400279976427555, 0.21625417470932007, 0.5783973932266235, -1.0142465829849243, 0.326288640499115, 0.4472443461418152, 0.7191967964172363, 0.21392428874969482, 0.17891965806484222, 0.5475288033485413, -0.7972683310508728, 0.6424274444580078, 0.1262696087360382, 0.5635128617286682, 0.4196872413158417, -0.4993382692337036, 0.3595028817653656, 0.4166361689567566, -0.2815437912940979, -0.7598259449005127, 0.14237937331199646, -1.2679469585418701, 0.21401266753673553, 0.9543941020965576, 0.019427474588155746, -0.5376108288764954, 0.1519593447446823, -0.3833129405975342, 0.32344841957092285, 0.11009103059768677, 0.6414318084716797, 0.5103201270103455, 0.05838286876678467, -0.4138053059577942, -0.6033612489700317, 0.35128435492515564, 0.4064900875091553, -0.9472949504852295, 0.18742311000823975, 0.488701194524765, 0.1301967352628708, 0.22005969285964966, 0.41801923513412476, -0.02276962623000145, 0.5846165418624878, -0.3220435082912445, 0.39470919966697693, -0.316445529460907, -0.31064948439598083, -0.19524814188480377, 0.5023376941680908, -0.09380485862493515, -0.24869869649410248 ]
http://arxiv.org/abs/2406.01895v1
http://arxiv.org/pdf/2406.01895v1
Explicitly Encoding Structural Symmetry is Key to Length Generalization in Arithmetic Tasks
2024-06-04T02:00:07
2024-06-04T02:00:07
Mahdi Sabbaghi, George Pappas, Hamed Hassani, Surbhi Goel
cs.LG
cs.LG, cs.CL, stat.ML
Despite the success of Transformers on language understanding, code generation, and logical reasoning, they still fail to generalize over length on basic arithmetic tasks such as addition and multiplication. A major reason behind this failure is the vast difference in structure between numbers and text; For example, the numbers are typically parsed from right to left, and there is a correspondence between digits at the same position across different numbers. In contrast, for text, such symmetries are quite unnatural. In this work, we propose to encode these semantics explicitly into the model via modified number formatting and custom positional encodings. Empirically, our method allows a Transformer trained on numbers with at most 5-digits for addition and multiplication to generalize up to 50-digit numbers, without using additional data for longer sequences. We further demonstrate that traditional absolute positional encodings (APE) fail to generalize to longer sequences, even when trained with augmented data that captures task symmetries. To elucidate the importance of explicitly encoding structure, we prove that explicit incorporation of structure via positional encodings is necessary for out-of-distribution generalization. Finally, we pinpoint other challenges inherent to length generalization beyond capturing symmetries, in particular complexity of the underlying task, and propose changes in the training distribution to address them.
[ -0.11308052390813828, -0.18724320828914642, 0.5301250219345093, 0.4021703004837036, -0.42342516779899597, -0.12883473932743073, -0.021851150318980217, -0.34110626578330994, 0.4250003397464752, 0.05569949001073837, -0.3102588355541229, -0.35479193925857544, -0.7537692189216614, 0.4883566200733185, -0.31156471371650696, 0.9455333352088928, -0.16408635675907135, 0.18858996033668518, 0.001760022365488112, -0.3061434030532837, -0.06963612884283066, -0.9524057507514954, -0.11392053216695786, -0.2659611701965332, 0.3532932996749878, 0.028560064733028412, 1.0624749660491943, 1.1928822994232178, 0.7842491269111633, 0.3463079631328583, -0.08655184507369995, 0.35581743717193604, -0.24266467988491058, -0.2818187177181244, -0.036000654101371765, -0.7033959031105042, -0.7415841817855835, -0.24676068127155304, 0.9702973365783691, 1.2497649192810059, -0.1613084375858307, 0.20721393823623657, -0.14715507626533508, 0.8848941326141357, -0.458766371011734, 0.4164731800556183, -0.41029420495033264, 0.21233201026916504, -0.23858478665351868, -0.030904682353138924, -0.491225004196167, -0.18093109130859375, -0.30257952213287354, -0.8226063847541809, 0.31675854325294495, -0.2780417203903198, 0.8290571570396423, 0.3684864044189453, -0.43735674023628235, -0.303606241941452, -0.7087051272392273, 0.5260365009307861, -0.6152864098548889, 0.764125406742096, 0.4183032512664795, 0.02381335385143757, 0.0015304484404623508, -0.42592495679855347, -0.37997570633888245, 0.13665027916431427, -0.326564222574234, 0.09040234982967377, -0.051397889852523804, 0.20839618146419525, 0.6080784797668457, 0.5013160705566406, -0.4441094696521759, -0.3162725865840912, -0.658068835735321, 0.17823123931884766, 0.8020824193954468, 0.3000328242778778, 0.35806965827941895, -0.2246144711971283, 0.04996742308139801, -0.49960166215896606, -0.5772503614425659, 0.16998858749866486, 0.6985056400299072, -0.05738642439246178, -0.46437790989875793, 0.8334259986877441, 0.014611827209591866, 0.5965954661369324, 0.37470582127571106, 0.21565373241901398, 0.38909733295440674, -0.07916445285081863, -0.39102834463119507, 0.15135227143764496, 0.6848881244659424, -0.07124586403369904, 0.16410939395427704, -0.15665511786937714, -0.10364089906215668, 0.4293096363544464, 0.5102659463882446, -0.898309051990509, -0.13272178173065186, -0.1607913225889206, -0.33252668380737305, -0.15561386942863464, 0.44446510076522827, -0.18236248195171356, 0.039944909512996674, -0.3317623734474182, 0.29908034205436707, -0.550404965877533, 0.27019503712654114, 0.5778279304504395, -0.34505465626716614, 0.21051137149333954, 0.12915679812431335, -1.559150218963623, 0.3477150499820709, 1.0498086214065552, 0.771503746509552, 0.18657010793685913, -0.039881106466054916, -0.21285903453826904, 0.39801326394081116, -0.8057242035865784, 0.2565554976463318, -0.7745537161827087, -0.5279330611228943, -0.4035657048225403, 0.04120101407170296, -0.1224270612001419, -0.2550292909145355, 0.4082377552986145, -0.472093790769577, 0.19820010662078857, -0.10713262856006622, -0.6080643534660339, 0.07530920952558517, 0.018267851322889328, -0.6921617984771729, 0.5622082948684692, 0.30534788966178894, -0.6238848567008972, 0.2604312002658844, -0.6333134174346924, -0.5885820984840393, -0.059526167809963226, -0.5014798045158386, -0.7244530320167542, 0.7636824250221252, 0.39728549122810364, 0.02214273251593113, 0.05819172412157059, 0.3030020594596863, -0.4551504850387573, -0.6587826609611511, 0.19127224385738373, -0.545950710773468, 0.8330903649330139, 0.01936314068734646, -0.2689460813999176, -0.1385226994752884, -0.7198910713195801, -0.16275542974472046, 0.06955429911613464, -0.3130348026752472, -0.3785111606121063, 0.13909952342510223, -0.7598370909690857, -0.07772187143564224, 0.20172357559204102, -0.6326876282691956, 0.4838828444480896, -0.8815317749977112, 0.45102524757385254, 0.7527921199798584, -0.3659210205078125, 0.9932231307029724, -0.0870494395494461, 0.3463423252105713, 0.01954222470521927, 0.07037524878978729, -0.39381083846092224, -0.33300313353538513, -0.7499914169311523, -0.20203611254692078, 0.14976291358470917, 0.40493935346603394, -0.5923588871955872, 0.5610495805740356, -0.7373517155647278, -0.2633150815963745, -0.35757115483283997, 0.007232686039060354, 0.36273834109306335, 0.32629409432411194, 0.386514812707901, -0.49245989322662354, -0.5058978796005249, -0.838310182094574, -0.3427242040634155, -0.2261696606874466, -0.4157046675682068, -0.06955895572900772, 0.41515934467315674, -0.13299794495105743, 0.7905192971229553, -0.7204039096832275, -0.04086615890264511, -0.002433259505778551, 0.041140325367450714, 0.6019793748855591, 0.4417059123516083, 0.40052908658981323, -0.747569739818573, -0.3700560927391052, -0.009133705869317055, -0.9290114641189575, 0.20670749247074127, -0.15863919258117676, -0.08581800758838654, 0.13496913015842438, 0.1452462375164032, -0.8289555311203003, 0.7088510394096375, 0.5327118039131165, -0.3648563027381897, 0.15134820342063904, -0.35659265518188477, -0.10369772464036942, -1.1386250257492065, -0.2676646411418915, -0.007631980814039707, -0.053573064506053925, -0.6686683297157288, -0.015636419877409935, 0.4068496525287628, -0.56226646900177, -0.06281661242246628, 0.19521456956863403, -0.5865345001220703, -0.21943672001361847, 0.09174814075231552, -0.6060515642166138, 0.2548738718032837, 0.729592502117157, 0.24011901021003723, 0.5036895275115967, 0.14396703243255615, -0.3477039039134979, 0.1606355607509613, 0.4144774079322815, 0.08634255826473236, 0.47292962670326233, -0.8575246334075928, 0.06020556762814522, -0.3959575891494751, 0.574950098991394, -0.5953816175460815, -0.19610071182250977, 0.2979549765586853, -0.5014816522598267, 0.27604031562805176, -0.4011150598526001, -0.3459482789039612, -0.2850812077522278, -0.3966407775878906, 0.8572655320167542, 0.7090553045272827, -0.29605811834335327, 0.5736126899719238, 0.051481157541275024, 0.15514016151428223, -0.5803313851356506, -0.6582594513893127, -0.18984034657478333, -0.3022811710834503, -0.9757099747657776, 0.6001313328742981, 0.08907631039619446, -0.20420366525650024, -0.17943786084651947, -0.6153104305267334, 0.02112254500389099, -0.1021052673459053, 0.28084808588027954, 0.24538612365722656, -0.3336906433105469, 0.1284734606742859, 0.30843454599380493, -0.279635488986969, 0.3537728786468506, -0.34217849373817444, 0.4779113531112671, -0.17763464152812958, -0.6856825947761536, -0.5176925659179688, 0.35528355836868286, 0.38999226689338684, -0.2280033975839615, 0.68663489818573, 0.4205942451953888, -0.5600398182868958, -0.1375330090522766, -0.051771294325590134, -0.30791744589805603, -0.5953691601753235, 0.39968180656433105, -0.5209166407585144, -0.6168959736824036, 0.3818929195404053, 0.2172752022743225, 0.054429538547992706, 0.4621160328388214, 0.15521687269210815, -0.14041517674922943, 1.4439414739608765, 0.7173361778259277, 0.17452339828014374, 0.4699649214744568, -0.41361087560653687, 0.38392800092697144, -0.5584378242492676, -0.33664754033088684, -0.31122151017189026, -0.43787845969200134, -0.4786095917224884, -0.48590168356895447, 0.39371728897094727, 0.11051421612501144, -0.42054158449172974, 0.5449701547622681, -0.5503782033920288, 0.5032922029495239, 0.17639142274856567, 0.15115530788898468, 0.08883650600910187, 0.27746689319610596, 0.19849996268749237, -0.352223664522171, -0.4674947261810303, -0.17615926265716553, 0.9229008555412292, 0.5073584914207458, 0.9760274291038513, 0.1683044731616974, 0.9487343430519104, 0.06756429374217987, 0.16924060881137848, -0.8636000156402588, 0.24009954929351807, -0.6366714239120483, -0.19008931517601013, -0.5082072615623474, -0.7188107967376709, -0.7848559021949768, 0.21175450086593628, 0.2705810070037842, -0.30968546867370605, 0.7142834067344666, 0.2795952260494232, -0.09815403074026108, 0.33093270659446716, -0.7103039622306824, 0.7350162863731384, -0.1499619036912918, 0.17239326238632202, -0.03878592699766159, -0.5937291383743286, 0.07146266847848892, 0.08247246593236923, 0.2534513771533966, 0.07184712588787079, -0.0639209970831871, 0.6899334788322449, -0.9258017539978027, 0.9614344239234924, 0.17240889370441437, -0.35987111926078796, -0.13371869921684265, 0.22723068296909332, 0.7235528230667114, 0.2735443413257599, -0.022534549236297607, 0.41568776965141296, -0.22974279522895813, -0.6018608808517456, -0.9252939224243164, 0.22497768700122833, -1.0403228998184204, -0.7665258049964905, -0.3949034512042999, -0.7332682013511658, -0.2788098454475403, -0.04395299404859543, 0.5105137825012207, 0.6592957377433777, 0.1124023050069809, 0.33851128816604614, 0.6611958146095276, 0.28877145051956177, 0.48618805408477783, -0.005045326426625252, 0.3261612355709076, -0.6569474339485168, 0.8421277403831482, 0.19008217751979828, 0.26667320728302, 0.7554975748062134, 0.10168973356485367, -0.43559759855270386, -0.11407395452260971, -0.6887785196304321, 0.30163705348968506, -0.6523085832595825, -0.052390094846487045, -0.4623655676841736, -0.3103025555610657, -0.4907141923904419, -0.5052801966667175, -0.3599143326282501, -0.8402827382087708, -0.253773957490921, -0.22025056183338165, 0.1672062873840332, 0.7326630353927612, -0.12443054467439651, 0.3199659287929535, -0.9183365702629089, 0.6555008292198181, 0.2758878171443939, 0.3641003668308258, -0.16024526953697205, -0.826045572757721, -0.3338779807090759, 0.2509036064147949, -0.28047046065330505, -0.9211177825927734, 0.32597804069519043, 0.25871530175209045, 0.1926318258047104, 0.465328574180603, -0.24850216507911682, 0.9933590292930603, -0.8594158887863159, 0.4056050479412079, 0.420169860124588, -1.1781747341156006, 0.19513338804244995, -0.21246884763240814, 0.28540942072868347, 0.12161169946193695, 0.4897090494632721, -0.6085774302482605, 0.01555373053997755, -0.6101936101913452, -0.7587038278579712, 0.8513779044151306, 0.4342706799507141, 0.5163112282752991, -0.14277146756649017, 0.21469706296920776, -0.05002589151263237, -0.002650814363732934, -0.6343961954116821, -0.27025067806243896, -0.7256962060928345, -0.5222055315971375, 0.10151372849941254, -0.14238350093364716, -0.335505872964859, -0.3630601465702057, 0.2802591919898987, -0.14593352377414703, 0.40201064944267273, 0.1836095005273819, -0.27537980675697327, -0.012520338408648968, 0.3827280104160309, 0.5340962409973145, 0.8733121752738953, 0.05247854068875313, 0.16126781702041626, 0.28883618116378784, -0.5822324156761169, 0.3384491205215454, 0.1686786264181137, -0.02977079339325428, 0.1948588490486145, 0.44327694177627563, 0.8994449973106384, 0.21183431148529053, -0.07691527903079987, 0.388345867395401, 0.2841121554374695, -0.2888484597206116, -0.296556681394577, -0.05266923829913139, 0.03813259303569794, -0.10075138509273529, 0.3901195526123047, -0.013970465399324894, 0.1116037592291832, -0.44454342126846313, 0.10881444066762924, 0.32025596499443054, -0.5120565891265869, -0.8134944438934326, 0.5844861268997192, 0.06098281592130661, -0.45999646186828613, 0.6815897226333618, -0.07025333493947983, -0.26994824409484863, 0.887238621711731, 0.7852025032043457, 0.7389534115791321, -0.29166918992996216, 0.2812456786632538, 0.301298588514328, 0.34567973017692566, -0.20216695964336395, 0.23716716468334198, -0.174660325050354, -0.652031660079956, -0.401266485452652, -0.6882592439651489, -0.1690598875284195, -0.421469122171402, -0.7217523455619812, 0.1948719173669815, -0.6287727355957031, -0.04209182783961296, 0.029009969905018806, -0.5055927038192749, -0.36558666825294495, 0.1718149334192276, 0.3229622542858124, 0.7596972584724426, -0.8462677597999573, 0.616752564907074, 0.922854483127594, -0.2842824459075928, -0.9191411137580872, -0.41549018025398254, -0.21898239850997925, -0.8395665287971497, 0.6035001873970032, 0.30785027146339417, 0.04108535498380661, -0.23297423124313354, -0.39027854800224304, -0.8502208590507507, 1.0219045877456665, 0.7112758755683899, -0.6163752675056458, -0.6461883783340454, 0.9235695600509644, 0.6786012649536133, -0.2627442479133606, 0.06896718591451645, 0.1927519142627716, 0.22793105244636536, 0.10704340785741806, -0.6425458788871765, -0.02127845212817192, -0.43312013149261475, 0.3509288728237152, 0.6838427186012268, -0.5251541137695312, 0.8855769038200378, -0.1146630048751831, -0.21427440643310547, -0.1537788361310959, 0.7113919854164124, 0.2747500538825989, 0.0030349285807460546, 0.2858567237854004, 0.9175660610198975, 0.3408162593841553, -0.08991426229476929, 0.9797088503837585, -0.2332908660173416, 0.28163111209869385, 0.8164564967155457, 0.17222163081169128, 0.37408432364463806, 0.22493582963943481, -0.3005020022392273, 0.6201164126396179, 0.3909488618373871, -0.05603141337633133, 0.15062656998634338, 0.09318442642688751, -0.10207795351743698, -0.4252316355705261, 0.298272043466568, -0.60728919506073, 0.265860915184021, 0.5396303534507751, -0.6383507251739502, -0.2677854299545288, -0.3833528757095337, 0.17276757955551147, 0.1907922774553299, -0.3437860310077667, 0.5923369526863098, 0.46727174520492554, -0.23038576543331146, 0.609866201877594, 0.19665999710559845, 0.5194453597068787, -0.829429030418396, -0.22666335105895996, -0.3908650875091553, 0.28481319546699524, -0.29089945554733276, -0.5888851284980774, 0.5589661002159119, -0.27478325366973877, -0.34668344259262085, -0.39488306641578674, 0.12435046583414078, -0.3381783664226532, -0.8760099411010742, -0.10822179913520813, -0.1074812114238739, -0.10437570512294769, -0.07486086338758469, -0.4528050422668457, -0.023663384839892387, -0.20662140846252441, -0.030877379700541496, 0.18472586572170258, 0.6877692937850952, -0.5664492249488831, 0.3404322564601898, 0.8167577981948853, -0.13122420012950897, 0.1554686725139618, 0.02429681085050106, 0.8544038534164429, -0.8580681085586548, -0.8995441198348999, -1.2953107357025146, 0.37496399879455566, 0.01361839845776558, -0.2359926700592041, 0.5610270500183105, 0.6319193243980408, 0.9839794635772705, -0.25555887818336487, 0.19152984023094177, 0.09908828139305115, -0.4314021170139313, -0.261543869972229, 0.5076667666435242, -0.46497809886932373, 0.2022264450788498, -0.14063766598701477, -1.16771399974823, -0.4103320240974426, 0.5827130675315857, -0.3901292383670807, -0.1566501259803772, 0.6592913269996643, 0.42854106426239014, -0.3453001379966736, 0.011306436732411385, 0.29325535893440247, -0.03881540894508362, 0.3894515037536621, 0.717374324798584, 0.48497870564460754, -0.6005669236183167, 0.7318177223205566, -0.3302178680896759, -0.024703409522771835, 0.0646325945854187, -0.4692302346229553, -0.8241288661956787, -0.4724472761154175, 0.07851053774356842, -0.018765775486826897, 0.09038003534078598, 0.6391158699989319, 0.7283952832221985, -0.6211708784103394, -0.3439706861972809, -0.23223347961902618, 0.11529163271188736, -0.07403712719678879, -0.15501566231250763, 0.5170590281486511, -0.150976300239563, -0.7385003566741943, 0.23487520217895508, 0.5627867579460144, 0.40208181738853455, 0.1720626801252365, -0.16964605450630188, 0.4977256953716278, 0.17088931798934937, 0.5436464548110962, 0.4357362389564514, -0.4210432171821594, -0.33417269587516785, 0.2755979597568512, -0.0827932357788086, 0.3540734052658081, 0.8479477763175964, -0.4807155728340149, 0.044387925416231155, 0.7138978242874146, 0.6081547141075134, 0.4583680331707001, 0.3471736013889313, 0.8782873153686523, -0.8030237555503845, 0.29876893758773804, 0.20499160885810852, 0.5242936015129089, 0.242242231965065, -0.4827509820461273, 0.609825611114502, 0.34454548358917236, 0.0019979195203632116, -0.7621134519577026, 0.6611656546592712, -0.7577368021011353, -0.00845707394182682, 0.7702538967132568, -0.23610073328018188, -0.32595351338386536, 0.1593526303768158, 0.16956718266010284, 0.10463500767946243, -0.24912458658218384, 0.8297111988067627, 0.5047770738601685, -0.22140681743621826, 0.20264661312103271, 0.3989010155200958, 0.6016989350318909, 0.5120750665664673, -0.6830114126205444, -0.041800569742918015, 0.33099833130836487, 0.16748486459255219, 0.4701661467552185, 0.38156595826148987, -0.4616195559501648, 0.38789093494415283, 0.17365507781505585, -0.13474337756633759, -0.17602163553237915, -0.31411927938461304, -0.4526757001876831, 0.10043462365865707, -0.3083146810531616, -0.05540452152490616 ]
http://arxiv.org/abs/2406.01879v1
http://arxiv.org/pdf/2406.01879v1
Bi-DCSpell: A Bi-directional Detector-Corrector Interactive Framework for Chinese Spelling Check
2024-06-04T01:20:14
2024-06-04T01:20:14
Haiming Wu, Hanqing Zhang, Richeng Xuan, Dawei Song
cs.CL
cs.CL
Chinese Spelling Check (CSC) aims to detect and correct potentially misspelled characters in Chinese sentences. Naturally, it involves the detection and correction subtasks, which interact with each other dynamically. Such interactions are bi-directional, i.e., the detection result would help reduce the risk of over-correction and under-correction while the knowledge learnt from correction would help prevent false detection. Current CSC approaches are of two types: correction-only or single-directional detection-to-correction interactive frameworks. Nonetheless, they overlook the bi-directional interactions between detection and correction. This paper aims to fill the gap by proposing a Bi-directional Detector-Corrector framework for CSC (Bi-DCSpell). Notably, Bi-DCSpell contains separate detection and correction encoders, followed by a novel interactive learning module facilitating bi-directional feature interactions between detection and correction to improve each other's representation learning. Extensive experimental results demonstrate a robust correction performance of Bi-DCSpell on widely used benchmarking datasets while possessing a satisfactory detection ability.
[ -0.0675751119852066, -0.47279444336891174, 0.16707222163677216, 0.3016909062862396, -0.08064709603786469, 0.17262984812259674, -0.265134334564209, -0.4553050696849823, 0.1951540857553482, 0.15401265025138855, -0.7677099108695984, -0.5446258783340454, -0.38482266664505005, 0.3219718337059021, -0.33586424589157104, 0.5336697101593018, -0.02723904699087143, 0.24412399530410767, -0.07901658117771149, -0.14656099677085876, -0.28957414627075195, -0.5090113282203674, -0.9436913132667542, 0.017382420599460602, 0.9110454320907593, 0.5580991506576538, 0.6550610661506653, 0.37247735261917114, 0.15023182332515717, 0.34670040011405945, -0.3299573063850403, 0.6452666521072388, -0.30039429664611816, -0.1393003612756729, -0.3231005072593689, -0.6154717206954956, -0.5647924542427063, -0.06445284932851791, 0.6702624559402466, 0.8522799611091614, -0.23350301384925842, -0.26195091009140015, 0.3653465509414673, 0.8014184832572937, -0.7148251533508301, -0.1125040352344513, -0.403491348028183, 0.10428301244974136, -0.4046939015388489, -0.1687728464603424, -0.43714964389801025, -0.19643814861774445, -0.004022521898150444, -0.5923454165458679, 0.4987533390522003, 0.15812836587429047, 0.7822350859642029, -0.06535416096448898, -0.4720519781112671, -0.4125993549823761, -0.641431450843811, 0.45196765661239624, -0.7068305015563965, 0.42773306369781494, 0.5041215419769287, 0.47212719917297363, -0.19566866755485535, -0.7417852878570557, -0.9909051656723022, 0.07148174196481705, -0.20100617408752441, 0.41294121742248535, -0.02661026455461979, 0.36645203828811646, 0.2660556733608246, 0.1832980066537857, -0.6125735640525818, 0.2440738081932068, -0.1007373258471489, -0.3179430067539215, 0.5262448787689209, 0.021194132044911385, 0.6599740386009216, 0.15566149353981018, 0.06519431620836258, -0.05780276656150818, -0.6854259371757507, 0.25690197944641113, 0.6106869578361511, 0.5153709650039673, -0.17489439249038696, 0.4567312002182007, -0.22154778242111206, 0.5490188002586365, 0.6603456139564514, 0.17611992359161377, 0.24502207338809967, -0.5175084471702576, -0.11035338044166565, 0.290183961391449, 0.3471643030643463, 0.05610249936580658, -0.058508384972810745, -0.02625259757041931, -0.13426053524017334, -0.11736474186182022, 0.12286306917667389, -0.5380008220672607, -0.5901583433151245, 0.3660573661327362, -0.4740811884403229, -0.36267489194869995, 0.3885860741138458, -0.7343444228172302, -0.44960081577301025, -0.435163676738739, 0.3184621334075928, -0.2739156186580658, -0.2578648328781128, 0.030895832926034927, -0.06724811345338821, 0.022094102576375008, 0.3821429908275604, -0.8582008481025696, -0.0756508931517601, 0.6206737756729126, 0.7474794387817383, -0.16518592834472656, -0.6501421928405762, -0.8337595462799072, 0.14103886485099792, -0.2585844099521637, 1.0749704837799072, -0.28934863209724426, -0.27370500564575195, 0.3786366283893585, 0.32789286971092224, -0.10810887068510056, -0.45499366521835327, 0.3071707785129547, -0.38597023487091064, 0.31342747807502747, -0.8173710703849792, -0.08824498951435089, -0.36712539196014404, 0.41360408067703247, -0.7515501976013184, 1.076851487159729, -0.011277342215180397, -0.9467601180076599, 0.568178117275238, -0.2630329728126526, -0.8209348320960999, 0.3760411739349365, 0.07573529332876205, -0.6714524030685425, -0.33501482009887695, 0.20047365128993988, -0.023024139925837517, 0.2432636320590973, -0.24644121527671814, -0.39533066749572754, -0.8041163086891174, 0.2445875108242035, -0.3840697407722473, 1.0983327627182007, -0.23616831004619598, -0.6010004281997681, 0.23636318743228912, -0.9537909030914307, -0.16930216550827026, -0.14855821430683136, -0.5709865689277649, -0.42416462302207947, 0.1674819141626358, -0.13903596997261047, 0.26584553718566895, 0.2732897698879242, -0.5894476175308228, 0.08245405554771423, -0.4378211796283722, 0.05145249515771866, 0.6291297674179077, -0.3798143267631531, 0.5607937574386597, -0.0557151734828949, 0.22229140996932983, 0.4041311740875244, 0.2912568151950836, -0.007402209565043449, -0.16883616149425507, -0.9858660101890564, -0.5441185832023621, 0.3674940764904022, 0.7725653648376465, -1.0934211015701294, 0.6624323725700378, 0.24050235748291016, -0.45183229446411133, -0.36009481549263, 0.12113867700099945, 0.3232036828994751, 0.48934340476989746, 0.518730103969574, -0.21259884536266327, -0.47709229588508606, -0.27310726046562195, -0.352731853723526, -0.14183656871318817, 0.004424365237355232, -0.3050168752670288, 0.11640239506959915, -0.2466888725757599, 0.5936503410339355, -0.2777285873889923, -0.3979378640651703, -0.38681483268737793, 0.3008950650691986, -0.006936122663319111, 0.09114513546228409, 0.6472460031509399, -0.8308523297309875, -0.7396607995033264, 0.15614371001720428, -0.4846192002296448, -0.5061703324317932, -0.122034952044487, -0.20605766773223877, 0.5257886648178101, 0.25512975454330444, -0.2773454487323761, 1.1309146881103516, 0.29201167821884155, -0.3582461476325989, 1.0313173532485962, -0.5763431787490845, 0.3662191927433014, -0.6684398055076599, 0.04202505201101303, -0.07618889212608337, 0.10551775246858597, -0.8895535469055176, -0.11307652294635773, 0.5376718044281006, 0.18513289093971252, -0.31564468145370483, 0.030128221958875656, -0.7382742166519165, 0.05061611533164978, -0.45661231875419617, 0.28678229451179504, 0.09901396185159683, 0.6311950087547302, 0.07973511517047882, 0.48836755752563477, 0.5932565927505493, -0.7346041202545166, 0.5474042892456055, 0.25557178258895874, -0.012655958533287048, 1.0333008766174316, -0.35738563537597656, -0.004659209866076708, -0.1780102550983429, 0.2500554621219635, -1.2848044633865356, 0.17225024104118347, 0.28803399205207825, -0.4428364932537079, 0.40770381689071655, -0.12206437438726425, -0.7602510452270508, -0.8247682452201843, -0.5312796831130981, 0.352194219827652, -0.10561604797840118, -1.2473276853561401, 0.48881492018699646, -0.00811026431620121, 0.0973651334643364, -0.69022136926651, -0.9017149209976196, -0.11808738857507706, 0.38309547305107117, -0.5360531806945801, 0.3050976097583771, -0.1335058957338333, 0.24048343300819397, -0.07189945131540298, 0.01680639199912548, -0.14475946128368378, -0.2659679353237152, 0.2204751819372177, 0.6292831897735596, 0.10491746664047241, -0.14615586400032043, 0.4262850284576416, -0.013863563537597656, -0.22322691977024078, 0.005471356678754091, 0.21155992150306702, 0.34701231122016907, -0.7821527123451233, -0.4984472692012787, 0.2112174928188324, 0.4994947612285614, -0.45689857006073, 0.6488528847694397, 0.5665732622146606, -0.5276705026626587, -0.5002255439758301, -0.3918818235397339, -0.08697345107793808, -0.5691753625869751, 0.3811717927455902, -0.1023898646235466, -0.4981146454811096, 0.38707658648490906, -0.046773165464401245, 0.049363501369953156, -0.038988903164863586, 0.5398462414741516, -0.1703007072210312, 1.2875245809555054, 0.5050464272499084, 0.16770274937152863, 0.33313629031181335, 0.05157852545380592, 0.8015019297599792, -0.6708577871322632, -0.4999653697013855, -0.5020934343338013, -0.48480162024497986, -0.29687461256980896, -0.31486862897872925, 0.20053452253341675, 0.18266785144805908, -0.22276641428470612, 0.7251007556915283, -0.7209227681159973, 0.07745548337697983, 0.6864984035491943, 0.25615984201431274, 0.1805848777294159, 0.07309878617525101, -0.7735801339149475, -0.16210639476776123, -0.44559842348098755, 0.044178083539009094, 0.4189753830432892, -0.11176986992359161, 0.4657205641269684, 0.10095161199569702, 0.23104096949100494, 0.0025614553596824408, -0.1173427477478981, -0.6276833415031433, 0.6858500838279724, -0.3804537057876587, -0.3591710329055786, -0.18079450726509094, -0.08752495795488358, -0.5975536108016968, 0.28839990496635437, -0.5607545971870422, -0.3872418999671936, 0.6798136234283447, 0.37220844626426697, -0.30774983763694763, 0.7446349859237671, -0.4983585774898529, 0.7282930612564087, -0.6100957989692688, -0.5835803151130676, -0.3312169313430786, -0.6336224675178528, 0.0658208504319191, 0.18314838409423828, 0.020747454836964607, 0.2849142253398895, 0.4158037006855011, 0.09382548928260803, -0.8126795887947083, 0.8673032522201538, -0.19586753845214844, 0.0023217597045004368, 0.349447637796402, 0.2329045534133911, 0.5480116605758667, -0.3159264028072357, -0.22981035709381104, 0.3575412929058075, 0.2506847083568573, -0.1777721792459488, -0.43120747804641724, 0.5173755288124084, -0.45755165815353394, -0.15298759937286377, -0.7855902314186096, -0.4568544924259186, 0.09140680730342865, 0.334197074174881, 0.2873819172382355, 0.47186294198036194, -0.0980151817202568, -0.36421260237693787, 0.35350558161735535, -0.5018854737281799, 0.3901990056037903, 0.9613611102104187, -0.13741078972816467, -0.36163437366485596, 0.8642004132270813, 0.32462140917778015, -0.05533960461616516, 0.6346247792243958, 0.01867927424609661, -0.21110163629055023, -0.5188524723052979, -0.30802246928215027, 0.4106137156486511, -0.5447627305984497, -0.0023356364108622074, -0.35919779539108276, -0.4915373623371124, -0.6598962545394897, -0.38260704278945923, -0.13999584317207336, 0.027897080406546593, -0.3315126299858093, -0.029873402789235115, 0.1345120072364807, 0.4196515679359436, -0.6601402759552002, 0.132776141166687, -0.47795215249061584, 0.4166897237300873, 0.48330986499786377, 0.3008453845977783, 0.08038832247257233, -0.39453402161598206, -0.37691858410835266, 0.3357672095298767, -0.3488938808441162, -0.6679319143295288, 0.4019019603729248, -0.07492619007825851, 0.4944112002849579, 0.5972795486450195, 0.01797976903617382, 1.035819411277771, -0.5099672675132751, 0.7875338196754456, 0.3382231295108795, -0.8662770986557007, 0.43761423230171204, 0.1453334391117096, 0.218909353017807, 0.5377970337867737, 0.10549246519804001, -1.0277432203292847, -0.19592376053333282, -0.029343917965888977, -0.5921735167503357, 0.9874781370162964, -0.010302825830876827, -0.5331774353981018, -0.11037987470626831, 0.2915481626987457, -0.01612563617527485, 0.11404133588075638, -0.228542760014534, -0.3110795021057129, -0.31844887137413025, -0.3655247390270233, 0.40178972482681274, -0.503627359867096, 0.2516676187515259, -0.41691482067108154, 0.8682518601417542, 0.003776747500523925, 0.09389985352754593, 0.2716526389122009, -0.16497988998889923, -0.28022611141204834, -0.0056511713191866875, 0.42808136343955994, 0.3530106544494629, -0.01573878340423107, 0.17239926755428314, 0.3489820957183838, -0.7716040015220642, -0.4163464307785034, 0.26224249601364136, -0.37728995084762573, 0.008728012442588806, 0.3389432430267334, 0.5009332299232483, 0.18704119324684143, -0.4426550269126892, 0.7804682850837708, 0.03372396528720856, -0.3241215944290161, -0.3416789770126343, -0.40908387303352356, -0.0006871873047202826, 0.0916743054986, 0.2092590183019638, 0.23136171698570251, 0.23948201537132263, -0.3987668454647064, 0.09404648095369339, 0.4552016258239746, -0.5312337279319763, -0.5539774894714355, 0.6284604072570801, 0.3193955719470978, -0.3365609347820282, 0.7153268456459045, -0.47333115339279175, -1.0966099500656128, 0.6465283036231995, 0.4272668659687042, 0.8100255727767944, -0.5234325528144836, 0.2837575078010559, 0.6371875405311584, 0.3043420612812042, -0.09568403661251068, 0.2531552314758301, -0.1341298669576645, -0.7394787669181824, -0.06412113457918167, -0.1697998344898224, -0.5442479252815247, -0.3732665777206421, -0.5013033151626587, 0.8992979526519775, -0.5386968851089478, 0.3233902156352997, -0.18327249586582184, 0.06257946789264679, -0.48905855417251587, 0.08159160614013672, 0.49927443265914917, 0.7609438896179199, -0.44835343956947327, 1.036819577217102, 0.7029280066490173, -0.39153042435646057, -0.9425949454307556, 0.04230411350727081, 0.5669047236442566, -0.6530976295471191, 0.5979085564613342, 0.4205862283706665, -0.47319164872169495, -0.3804377615451813, -0.4109784662723541, -0.272956907749176, 1.309575080871582, -0.10491762310266495, -0.9152910113334656, 0.03141235187649727, 0.4104940891265869, 0.681082546710968, 0.05739086866378784, 0.4364416301250458, 0.5387328267097473, 0.5853723287582397, 0.39062103629112244, -0.8278666734695435, -0.14207398891448975, -0.14118613302707672, 0.011088576167821884, -0.059524279087781906, -0.7418325543403625, 0.7904543876647949, -0.22649118304252625, -0.5032327771186829, 0.21424195170402527, 0.663327693939209, 0.29208478331565857, 0.6434512734413147, 0.6903319358825684, 0.547374427318573, 0.8486676216125488, -0.01362999901175499, 0.33821484446525574, -0.1799515187740326, 0.16996324062347412, 0.9842837452888489, -0.7934668064117432, 0.796655535697937, 0.2294691801071167, -0.27982643246650696, 0.9369498491287231, 0.558159351348877, -0.011014772579073906, 0.55013108253479, 0.08468011021614075, -0.4522343873977661, -0.2794543206691742, 0.2666100859642029, 0.055110178887844086, 0.30680006742477417, 0.32070958614349365, 0.2631431818008423, -0.2015882134437561, 0.057074494659900665, -0.12007265537977219, 0.46851903200149536, -0.38769012689590454, 0.41977211833000183, -0.20865708589553833, -0.5521975755691528, 0.10564359277486801, 0.12202370166778564, 1.0457887649536133, -0.6275430917739868, -0.3069517910480499, -0.36292192339897156, 0.4995519816875458, -0.5502057671546936, -0.8579509854316711, 0.28218740224838257, -0.28881874680519104, -0.14546866714954376, 0.2507210969924927, 1.0204681158065796, -1.1185941696166992, -0.506648063659668, 0.6688609719276428, -0.22008958458900452, -0.13566730916500092, -0.14845502376556396, -0.7994926571846008, 0.036717940121889114, -0.04960403963923454, 0.3611472249031067, 0.047470804303884506, 0.6684678792953491, 0.052948761731386185, 0.42264610528945923, 0.7794191241264343, 0.27847549319267273, 0.16475731134414673, 0.3847586214542389, 0.5715457797050476, -0.3616172671318054, -0.6242662668228149, -0.5290372967720032, 0.5132772326469421, -0.28503692150115967, 0.029589902609586716, 0.809161901473999, 0.5033592581748962, 0.7772419452667236, -0.0455920547246933, 0.7785377502441406, -0.10891342163085938, 0.8911870718002319, -0.026452405378222466, 0.9348798394203186, -0.539972186088562, 0.1627327799797058, -0.17061294615268707, -0.6753515005111694, -0.6737636923789978, 0.5210952162742615, -0.2565203011035919, -0.15362320840358734, 0.9778239727020264, 1.3512638807296753, -0.03764702379703522, 0.18550287187099457, 0.3866623640060425, 0.20507514476776123, 0.13796056807041168, 0.5983768105506897, 0.5258835554122925, -0.5790537595748901, 0.709968090057373, -0.7074406743049622, -0.46267300844192505, -0.407577246427536, -0.6475226879119873, -1.3055155277252197, -0.6288204789161682, -0.4624682068824768, -0.4299249053001404, 0.175176739692688, 0.7305762767791748, 0.40940213203430176, -1.1648865938186646, -0.06739155203104019, -0.03282605856657028, 0.24388262629508972, -0.9791314601898193, -0.206393763422966, 0.5634754300117493, -0.11236679553985596, -0.9154908657073975, 0.2909785509109497, 0.6803375482559204, -0.15011146664619446, -0.11604072898626328, -0.03480911627411842, -0.5644011497497559, 0.007555825170129538, 0.7724201083183289, 0.5863915085792542, -0.39418864250183105, -0.5945327281951904, 0.05937108397483826, -0.29722681641578674, -0.13296326994895935, 0.8114392757415771, -0.49377959966659546, 0.8618589043617249, 0.7763216495513916, 0.466085821390152, 0.1723749041557312, -0.18696272373199463, 0.26546505093574524, -0.6757976412773132, 0.26104065775871277, -0.3163698613643646, 0.39901965856552124, 0.45118266344070435, -0.707903265953064, 0.15935693681240082, 0.590718686580658, -0.6430874466896057, -0.5578373074531555, -0.0409395731985569, -1.3112051486968994, -0.1882493495941162, 1.0731281042099, -0.030811244621872902, -0.3441055715084076, -0.4286593198776245, -0.6326541304588318, 0.6810255646705627, 0.0664391964673996, 0.6779924035072327, 0.513134241104126, 0.2398049384355545, -0.046867311000823975, 0.11793361604213715, 0.33332863450050354, 0.32024407386779785, -0.4414670467376709, 0.23626399040222168, 0.4155629575252533, 0.4565054178237915, -0.04292979836463928, 0.310201495885849, -0.2401745766401291, 0.636610746383667, -0.03844190016388893, 0.636364221572876, -0.17846232652664185, -0.23765414953231812, -0.22893400490283966, -0.24547554552555084, -0.2064245194196701, -0.44487929344177246 ]
http://arxiv.org/abs/2406.01876v1
http://arxiv.org/pdf/2406.01876v1
GRAM: Generative Retrieval Augmented Matching of Data Schemas in the Context of Data Security
2024-06-04T01:08:00
2024-06-04T01:08:00
Xuanqing Liu, Luyang Kong, Runhui Wang, Patrick Song, Austin Nevins, Henrik Johnson, Nimish Amlathe, Davor Golac
cs.DB
cs.DB, cs.AI, cs.CL, cs.IR, cs.LG
Schema matching constitutes a pivotal phase in the data ingestion process for contemporary database systems. Its objective is to discern pairwise similarities between two sets of attributes, each associated with a distinct data table. This challenge emerges at the initial stages of data analytics, such as when incorporating a third-party table into existing databases to inform business insights. Given its significance in the realm of database systems, schema matching has been under investigation since the 2000s. This study revisits this foundational problem within the context of large language models. Adhering to increasingly stringent data security policies, our focus lies on the zero-shot and few-shot scenarios: the model should analyze only a minimal amount of customer data to execute the matching task, contrasting with the conventional approach of scrutinizing the entire data table. We emphasize that the zero-shot or few-shot assumption is imperative to safeguard the identity and privacy of customer data, even at the potential cost of accuracy. The capability to accurately match attributes under such stringent requirements distinguishes our work from previous literature in this domain.
[ -0.11425401270389557, -0.8964727520942688, 0.6929864883422852, -0.2358085662126541, -0.0008984934538602829, 0.10724765807390213, 0.21872685849666595, -0.6440311670303345, 0.02301686815917492, 0.769852340221405, -0.2689310312271118, -0.7330760955810547, -0.31577613949775696, 0.06016216799616814, -0.7232859134674072, 0.9506394267082214, 0.19468490779399872, -0.14482876658439636, -0.32551878690719604, -0.07552339136600494, -0.30568596720695496, -0.8256387710571289, -0.16396161913871765, -0.005893695633858442, 0.380928635597229, 0.49997326731681824, 0.7923263907432556, 0.8712860941886902, 0.794276773929596, 0.1385575830936432, -0.09700598567724228, -0.08907371759414673, -0.6096432209014893, 0.4182027280330658, -0.1622328758239746, -0.4799550175666809, -0.38274848461151123, -0.07897431403398514, 0.3769863545894623, 0.7232985496520996, -0.2798103094100952, 0.2842763662338257, -0.05336694046854973, 0.6098862290382385, -0.9651966094970703, 0.07328411191701889, -1.0618067979812622, 0.15718141198158264, -0.6648537516593933, -0.1748991757631302, -0.5432053804397583, -0.22012245655059814, -0.18449163436889648, -0.5424378514289856, 0.5812709331512451, 0.22340689599514008, 1.0790690183639526, -0.1843835860490799, -0.395296573638916, -0.21884645521640778, -0.7073132395744324, 0.16445210576057434, -0.3307291269302368, 0.22566482424736023, 0.5556079745292664, 0.3884339928627014, -0.1813705712556839, -0.5074771642684937, -0.874131441116333, -0.03538225591182709, -0.3849790692329407, -0.10942617803812027, -0.3782060742378235, 0.14486348628997803, 0.5994142293930054, 0.6464104652404785, -0.7404469847679138, 0.1674858182668686, -0.4505644738674164, -0.20217958092689514, 0.48876234889030457, 0.45044592022895813, 0.23283985257148743, -0.1848878413438797, -0.3158065378665924, -0.05547887086868286, -0.8545160293579102, -0.4038698971271515, 0.6028042435646057, 0.7283910512924194, 0.00493371207267046, 0.8325419425964355, -0.5839210152626038, 1.011613130569458, -0.1182132288813591, -0.055764339864254, 0.06567203253507614, -0.5429766178131104, -0.3659241795539856, 0.14596214890480042, 0.5644676089286804, 0.44677209854125977, 0.21046698093414307, -0.28890931606292725, 0.0672953873872757, 0.5335932970046997, 0.1851039081811905, -0.537371039390564, -0.10531584918498993, 0.023622645065188408, -0.3104912042617798, -0.4766283929347992, 0.2806786000728607, -0.9647484421730042, -0.6044106483459473, -0.17693528532981873, 0.44831451773643494, -0.1576092690229416, -0.024289969354867935, 0.01498579140752554, 0.04544219747185707, 0.8410468697547913, -0.1356194019317627, -1.1547688245773315, 0.4121733605861664, 1.297762155532837, 0.8993096947669983, -0.03907168656587601, 0.07292285561561584, -0.5192402005195618, 0.5052014589309692, -0.6107216477394104, 0.6672594547271729, -0.8775036334991455, -0.6623101234436035, 0.15673097968101501, -0.07344160228967667, -0.007116576191037893, -0.3811168372631073, 0.5197275280952454, -0.7970075607299805, -0.06081559136509895, -0.40798619389533997, -0.7524853348731995, 0.1844482719898224, 0.22847670316696167, -0.3188747763633728, 0.8530751466751099, 0.41883566975593567, -0.5852421522140503, 0.775745153427124, -0.2833350598812103, -0.5217381715774536, 0.46827569603919983, -0.3667762875556946, -0.4347634017467499, 0.14151646196842194, -0.08441198617219925, 0.3723708391189575, -0.24106594920158386, -0.5563106536865234, -0.7479118704795837, -0.38266295194625854, -0.041453007608652115, -0.006057094782590866, 0.5876038670539856, 0.3679138720035553, 0.22025428712368011, -0.2633100152015686, -0.8421714305877686, 0.11771415174007416, 0.25989845395088196, 0.17690765857696533, -0.4300931394100189, -0.28534582257270813, -0.18026994168758392, 0.0987076610326767, 0.16222840547561646, -0.6982243061065674, 0.4105656147003174, -0.29655399918556213, 0.25656554102897644, 0.5590079426765442, 0.07850288599729538, 0.6954866051673889, -0.006483200937509537, 0.6430358290672302, -0.12474855035543442, 0.377552330493927, -0.27934950590133667, -0.19819527864456177, -0.4474642872810364, -0.3669379651546478, 0.3648982346057892, 0.7235894203186035, -0.4704216420650482, 0.16781476140022278, -0.3837948143482208, -0.6195608377456665, -0.7034195065498352, 0.17047995328903198, 0.354993999004364, 0.4929402768611908, 0.2313593626022339, -0.35331565141677856, -0.3786424398422241, -0.9463571310043335, -0.11063798516988754, -0.12460557371377945, -0.22695372998714447, 0.7095493078231812, 0.21979562938213348, 0.08100354671478271, 0.9109744429588318, -1.0695369243621826, -0.8101032972335815, -0.07009325921535492, -0.0692504420876503, 0.26054322719573975, 0.27501747012138367, 0.7866764664649963, -0.4599190056324005, -0.8231708407402039, 0.30727389454841614, -0.9722843766212463, -0.1166987344622612, 0.2518349885940552, -0.32486072182655334, 0.1663404256105423, 0.6168895959854126, -0.5935238003730774, 0.564268946647644, 0.43359774351119995, -0.46499353647232056, 0.15338221192359924, -0.11295607686042786, 0.22059084475040436, -0.972137987613678, 0.020930122584104538, -0.3058130741119385, -0.21646571159362793, -0.8649794459342957, 0.5468562841415405, 0.2903875410556793, -0.6125213503837585, -0.3595946729183197, 0.21052686870098114, -0.521441638469696, -0.450310617685318, -0.13618749380111694, 0.14714057743549347, 0.14986902475357056, 0.00890570692718029, -0.3434085249900818, 1.0270103216171265, 0.985113263130188, -0.5577432513237, 0.27881157398223877, 0.4479260742664337, -0.3432551920413971, 1.3288869857788086, -0.4866671562194824, 0.438618004322052, -0.14201171696186066, 0.01583242230117321, -0.6923807859420776, -0.47324928641319275, 0.3962489664554596, -0.3929111957550049, 0.3221498727798462, -0.5346266627311707, -0.7778562307357788, -0.21999116241931915, -0.130751833319664, 0.3020091950893402, 0.36642369627952576, -0.35715219378471375, 0.7689176201820374, 0.3522135317325592, -0.0539855882525444, -0.47509074211120605, -0.5414266586303711, 0.40100985765457153, -0.2664607763290405, -0.5483225584030151, 0.387751966714859, 0.31786686182022095, -0.2032034546136856, 0.04409507289528847, -0.10368970036506653, -0.07938721030950546, 0.19887912273406982, 0.30299028754234314, 0.488961398601532, -0.03732176870107651, -0.16646139323711395, -0.3874378502368927, -0.24184678494930267, -0.30381274223327637, 0.01059980969876051, 0.5586271286010742, 0.1505676656961441, -0.5516413450241089, -0.34761926531791687, 0.6745867133140564, 0.4101954996585846, -0.23411479592323303, 0.9376968741416931, 0.19433081150054932, -0.24386641383171082, 0.09414052218198776, -0.5136229991912842, -0.02244538441300392, -0.4902229607105255, 0.08639837801456451, -0.7364894151687622, -0.40297096967697144, 0.6615533828735352, 0.7162386178970337, -0.3022642731666565, 0.2108578383922577, 0.15972769260406494, -0.22428783774375916, 0.8369138836860657, 0.6473625302314758, -0.23189327120780945, 0.38627105951309204, 0.1564057320356369, 0.5529876351356506, -0.6834402680397034, -0.32000353932380676, -0.7438256144523621, 0.08808006346225739, -0.7521463632583618, -0.08670371770858765, 0.23362909257411957, 0.02969128079712391, 0.02595311403274536, 0.6427098512649536, -0.4232204556465149, 0.7723318934440613, 0.3872688412666321, 0.03695284575223923, 0.3569657802581787, -0.005296510644257069, 0.09685764461755753, 0.22245895862579346, -0.3248923718929291, -0.23714406788349152, 1.1024916172027588, -0.09348011016845703, 0.892156183719635, 0.34890323877334595, 0.6897333860397339, 0.3752591013908386, -0.031207937747240067, -0.6658004522323608, 0.7941548824310303, -0.12913186848163605, -0.7189338207244873, -0.018668724223971367, -0.4008108079433441, -1.121569037437439, 0.29276740550994873, -0.3219446837902069, -0.7166118621826172, 0.3373095989227295, 0.07545620203018188, -0.3063788414001465, 0.05474717915058136, -0.7594357132911682, 0.7277061939239502, 0.07167649269104004, -0.4233503043651581, 0.04098055511713028, -0.6716095209121704, 0.3406835198402405, -0.01761036366224289, -0.03454073518514633, -0.15110547840595245, 0.23738016188144684, 0.33780568838119507, -0.4478749632835388, 0.32696816325187683, -0.11412917822599411, -0.13060112297534943, 0.037949103862047195, 0.38469555974006653, 0.5654755234718323, -0.2853482961654663, -0.03007669746875763, 0.2790697515010834, 0.33706650137901306, -0.6127307415008545, -0.650882363319397, 0.6824865937232971, -0.08657027781009674, -0.6473557949066162, -0.7612733244895935, -0.2433575540781021, -0.15314489603042603, 0.2071770429611206, 0.17648626863956451, -0.0718231275677681, -0.08668860793113708, 0.2763746380805969, 0.6432162523269653, 0.20797990262508392, 0.16123850643634796, 0.828342616558075, -0.15936338901519775, -0.01553172618150711, 0.6187458038330078, 0.13495786488056183, 0.4285113513469696, 0.16274937987327576, -0.28679776191711426, -0.12568072974681854, -0.40984606742858887, -0.2458459436893463, 0.17203189432621002, -0.8019675016403198, -0.6493757963180542, -0.5889596343040466, -0.16071321070194244, -0.4172860383987427, -0.07701855897903442, 0.07429350167512894, 0.01859571970999241, -0.4471997618675232, -0.3766813278198242, 0.5586694478988647, 0.4664457440376282, 0.01846196874976158, 0.3160755932331085, -0.697914183139801, 0.4282967448234558, 0.19853399693965912, 0.5936999917030334, -0.2037286013364792, -0.4280082583427429, -0.038235124200582504, -0.28178709745407104, -0.03264077752828598, -1.1082122325897217, -0.052415668964385986, 0.3265424370765686, 0.4171176850795746, 0.5228842496871948, -0.09372497349977493, 0.8232060074806213, -0.5957863330841064, 0.8254422545433044, -0.19694773852825165, -0.9042449593544006, 0.509615957736969, -0.201158344745636, -0.35940927267074585, 0.8584353923797607, 0.21567048132419586, -0.7328398823738098, -0.006306347902864218, -0.5533783435821533, -1.0676814317703247, 0.5646160244941711, 0.2591276168823242, 0.45583802461624146, -0.19685088098049164, 0.4081566035747528, -0.024038072675466537, 0.07519061118364334, -0.39419233798980713, -0.2538863718509674, 0.35207119584083557, -0.13499076664447784, 0.230617955327034, -0.3778011202812195, -0.2010626643896103, 0.18806833028793335, 0.42938417196273804, -0.02704578824341297, 0.27775663137435913, -0.2780502140522003, -0.12343303859233856, 0.15305468440055847, 0.2733108401298523, 0.2395520955324173, 0.4449041485786438, -0.15326663851737976, -0.08081521093845367, 0.05903349071741104, -0.36031991243362427, 0.04593681916594505, 0.13583332300186157, -0.5154736042022705, 0.0671461895108223, 0.12294168025255203, 0.63653564453125, 0.04080948233604431, -0.3427220582962036, 0.7592332363128662, 0.2616334557533264, -0.06495845317840576, -0.13644276559352875, 0.10959824919700623, -0.42377525568008423, 0.0009311610483564436, 0.47333788871765137, -0.397220253944397, 0.2723890542984009, -0.7854564785957336, 0.34983280301094055, 0.8228679895401001, -0.24967357516288757, -0.12851862609386444, 0.4962309002876282, -0.18720819056034088, -0.35171377658843994, 0.6155678629875183, -0.39427533745765686, -0.3181648254394531, 0.26526737213134766, 0.4340638220310211, 0.6961212158203125, -0.21323052048683167, 0.15024255216121674, 0.1070355474948883, 0.13086242973804474, -0.019535692408680916, 0.3288766145706177, -0.08332548290491104, -0.5605008006095886, 0.082369863986969, -0.5846758484840393, -0.2972263991832733, -0.08098982274532318, -0.9677655100822449, 0.4656991958618164, -0.3109910786151886, -0.06582871079444885, 0.05983695015311241, -0.2800063192844391, -0.7961668372154236, -0.13562674820423126, 0.11153919994831085, 0.7766175866127014, -1.1912490129470825, 0.4489438533782959, -0.06486799567937851, -0.8300154209136963, -0.5335516929626465, -0.051476456224918365, -0.04711812362074852, -0.9977552890777588, 0.41512569785118103, -0.25078484416007996, 0.10676127672195435, -0.15087872743606567, -0.37109631299972534, -0.8925524950027466, 0.9566925168037415, 0.2848159968852997, -0.4683160185813904, -0.09621395170688629, 0.4231875240802765, 0.6022443771362305, -0.14822667837142944, -0.18191149830818176, 1.0390146970748901, 0.18599089980125427, 0.09748072922229767, -0.7276241183280945, -0.0024373740889132023, 0.16041477024555206, 0.016650119796395302, 0.35652071237564087, -0.30670011043548584, 0.746788740158081, -0.057447146624326706, -0.6082910895347595, 0.1580117642879486, 0.6437202095985413, 0.05027129128575325, 0.4189046621322632, 0.2593900263309479, 0.7787621021270752, 0.7123717665672302, -0.22118543088436127, 1.1876214742660522, -0.38687601685523987, 0.4603409767150879, 1.209814190864563, -0.9469684362411499, 0.9581925868988037, 0.3872566223144531, -0.4922485053539276, 0.2317322939634323, 0.4464638829231262, -0.38627639412879944, 0.5695295929908752, 0.011261995881795883, -0.29913797974586487, 0.0025754375383257866, -0.27724769711494446, -0.5040540099143982, 0.6888160109519958, 0.30301156640052795, -0.39588478207588196, -0.247026264667511, -0.1580417901277542, -0.045350082218647, 0.16528694331645966, -0.20347249507904053, 1.2278794050216675, -0.25242677330970764, -0.10899066925048828, 0.17919926345348358, -0.1153048723936081, 0.23609276115894318, -0.6226481199264526, 0.1097521111369133, -0.48104730248451233, -0.14243711531162262, -0.3554127514362335, -0.8852084875106812, 0.265907883644104, 0.13407137989997864, 0.026268381625413895, 0.10843705385923386, 0.4112705588340759, -0.29064545035362244, -0.46698257327079773, 0.18598346412181854, 0.04784366860985756, -0.011517385020852089, -0.15110962092876434, -0.40009549260139465, 0.06037412956357002, -0.45714402198791504, 0.21243993937969208, 0.4496444761753082, 0.3699217140674591, 0.06771963834762573, 0.3382239043712616, 0.7920265793800354, 0.1825416535139084, 0.0031332660000771284, 0.12592364847660065, 0.6702305674552917, -0.5104519724845886, -0.6393483877182007, -1.0330512523651123, 0.025174876675009727, -0.3679429292678833, 0.06939419358968735, 0.8910570740699768, 0.8729621767997742, 0.7146629691123962, 0.027881717309355736, 0.6790810227394104, -0.05262927711009979, 0.45563772320747375, -0.5573293566703796, 0.5030928254127502, -0.25909489393234253, 0.21777984499931335, -0.4474530518054962, -1.088568091392517, -0.3807083070278168, 0.41034364700317383, -0.10420320183038712, -0.13999782502651215, 0.40814393758773804, 1.3062982559204102, -0.2049219310283661, -0.23305635154247284, 0.5404358506202698, 0.03695784881711006, 0.303070604801178, 0.27188730239868164, 0.39105865359306335, -0.6105066537857056, 0.6764330267906189, 0.06940511614084244, -0.040924299508333206, -0.4848269820213318, -0.8517922163009644, -0.38713204860687256, -0.4434213936328888, -0.19588880240917206, -0.5885764956474304, 0.1705847829580307, 0.6057552099227905, 0.49083587527275085, -0.818812370300293, 0.21631214022636414, 0.05620645731687546, -0.062296781688928604, -0.24659325182437897, -0.24704530835151672, 0.32233402132987976, -0.11557280272245407, -0.48555269837379456, 0.20464758574962616, 0.5727334022521973, 0.348108172416687, -0.1240912526845932, 0.43344801664352417, -0.05919516459107399, 0.27160775661468506, 0.5902913808822632, 0.49980995059013367, -0.5397882461547852, -0.43730998039245605, 0.11425106227397919, -0.3601270914077759, 0.04574490711092949, 0.7898921966552734, -0.47069379687309265, 0.45697373151779175, 0.5904558897018433, 0.741615891456604, 0.614119291305542, 0.16429506242275238, 0.23004402220249176, -0.916800856590271, 0.06938522309064865, 0.03786623850464821, 0.3409343957901001, 0.5044301748275757, -0.707592248916626, 0.6739194393157959, 0.016344845294952393, -0.3364527225494385, -1.1458280086517334, 0.6357852220535278, -1.039977788925171, -0.013707350008189678, 1.1072216033935547, 0.003500937484204769, -0.015820806846022606, -0.15195995569229126, -0.01139384787529707, -0.03984196484088898, -0.05206723511219025, 0.8106067776679993, 0.8480749130249023, 0.13832400739192963, -0.012388278730213642, -0.26709818840026855, 0.5252730250358582, 0.17059318721294403, -0.7434759140014648, 0.3735671043395996, 0.4666219651699066, 0.12002779543399811, 0.07686328887939453, 0.461180716753006, -0.1666276901960373, 0.062164537608623505, 0.14284555613994598, -0.2210024893283844, 0.058479491621255875, -0.23924793303012848, -0.3436358869075775, 0.25989899039268494, -0.0739116296172142, -0.500887393951416 ]
http://arxiv.org/abs/2406.01873v2
http://arxiv.org/pdf/2406.01873v2
CR-UTP: Certified Robustness against Universal Text Perturbations on Large Language Models
2024-06-04T01:02:22
2024-06-05T15:53:01
Qian Lou, Xin Liang, Jiaqi Xue, Yancheng Zhang, Rui Xie, Mengxin Zheng
cs.CL
cs.CL, cs.CR, cs.LG
It is imperative to ensure the stability of every prediction made by a language model; that is, a language's prediction should remain consistent despite minor input variations, like word substitutions. In this paper, we investigate the problem of certifying a language model's robustness against Universal Text Perturbations (UTPs), which have been widely used in universal adversarial attacks and backdoor attacks. Existing certified robustness based on random smoothing has shown considerable promise in certifying the input-specific text perturbations (ISTPs), operating under the assumption that any random alteration of a sample's clean or adversarial words would negate the impact of sample-wise perturbations. However, with UTPs, masking only the adversarial words can eliminate the attack. A naive method is to simply increase the masking ratio and the likelihood of masking attack tokens, but it leads to a significant reduction in both certified accuracy and the certified radius due to input corruption by extensive masking. To solve this challenge, we introduce a novel approach, the superior prompt search method, designed to identify a superior prompt that maintains higher certified accuracy under extensive masking. Additionally, we theoretically motivate why ensembles are a particularly suitable choice as base prompts for random smoothing. The method is denoted by superior prompt ensembling technique. We also empirically confirm this technique, obtaining state-of-the-art results in multiple settings. These methodologies, for the first time, enable high certified accuracy against both UTPs and ISTPs. The source code of CR-UTP is available at \url {https://github.com/UCFML-Research/CR-UTP}.
[ -0.3200535774230957, -0.9437131285667419, 0.385550320148468, 0.22473078966140747, -0.15217915177345276, 0.1743600070476532, -0.4561043083667755, -0.2510678768157959, -0.357950896024704, 0.5000483989715576, -0.3492945730686188, -0.7203474640846252, -0.7470611929893494, 0.16857346892356873, -0.3912840485572815, 0.5543189644813538, 0.237582266330719, 0.11966100335121155, -0.10121826082468033, -0.05674058571457863, -0.7409351468086243, -0.8444778919219971, -0.7258008122444153, -0.28495797514915466, 0.20363295078277588, 0.31365516781806946, 0.8109191656112671, 0.49231791496276855, 0.4436304271221161, 0.34208446741104126, -0.3214431703090668, 0.1492110788822174, -0.16000966727733612, 0.66839998960495, -0.04842573404312134, -0.3724229335784912, -0.08496234565973282, -0.13722127676010132, 0.651803731918335, 0.2654995024204254, -0.07271077483892441, -0.05071645975112915, 0.5798220634460449, 0.4902176260948181, -0.9288630485534668, -0.27379506826400757, -0.9259355068206787, 0.07734151184558868, -0.4940616190433502, -0.4408382475376129, -0.7607670426368713, 0.04677659645676613, -0.32006317377090454, -0.2901354432106018, 0.12905210256576538, -0.17013663053512573, 0.8269203305244446, 0.3427850902080536, -0.22113987803459167, 0.05211237072944641, -0.8044516444206238, 0.6824662089347839, -0.6151372194290161, 0.6457914710044861, 0.3027457594871521, 0.3039815127849579, -0.6361387372016907, -0.6321419477462769, -0.4749639332294464, -0.3696040213108063, 0.1808769702911377, 0.07233402878046036, -0.30911985039711, 0.3067018687725067, 0.330459326505661, 0.0241493321955204, -0.7623403072357178, 0.3321249485015869, 0.41555705666542053, -0.6983707547187805, 0.24600832164287567, 0.16728229820728302, 0.5467823147773743, 0.09185546636581421, -0.5461781024932861, -0.3612208068370819, -0.7459179759025574, 0.5499969720840454, 0.43248674273490906, 0.3197954297065735, -0.009149385616183281, 0.5639658570289612, -0.3898519277572632, 0.5754251480102539, -0.0672580748796463, -0.06312540918588638, -0.29961058497428894, -0.2792360782623291, -0.2602691352367401, -0.268750935792923, 0.8133309483528137, 0.19135059416294098, 0.2776589095592499, -0.09219063818454742, -0.21747194230556488, 0.4378107786178589, 0.03784907981753349, -0.6139465570449829, -0.15267956256866455, 0.29317477345466614, -0.0789647251367569, -0.36604437232017517, 0.006571612320840359, -0.9152497053146362, -0.5436550974845886, -0.01275393646210432, 0.15526540577411652, -0.3019343614578247, 0.219845712184906, 0.03493240475654602, 0.08478552103042603, -0.04540484771132469, 0.22288505733013153, -0.8385206460952759, 0.14698871970176697, 0.5561605095863342, 0.45676472783088684, -0.11258883029222488, -0.292630672454834, -0.778476893901825, -0.16703085601329803, -0.24968703091144562, 0.9941099286079407, -0.9352269172668457, -0.49237850308418274, 0.3316200077533722, -0.3687460422515869, -0.10545015335083008, -0.215515598654747, 1.1253900527954102, -0.7346369624137878, 0.11719387024641037, -0.18338459730148315, -0.19809459149837494, 0.09066025167703629, 0.6004619598388672, -0.25258952379226685, 1.116457223892212, -0.06844253838062286, -0.7918699383735657, 0.3453482985496521, -0.2999131679534912, -0.156429722905159, -0.05354919284582138, -0.27239716053009033, -0.24781100451946259, -0.05304117500782013, 0.7068144083023071, 0.23065438866615295, -0.18411819636821747, 0.15449924767017365, -0.4597072899341583, -0.23083649575710297, 0.618975818157196, -0.8405424356460571, 0.8444383144378662, 0.19245782494544983, -0.18654225766658783, 0.28122803568840027, -0.7761080265045166, 0.28446272015571594, 0.03408069536089897, -0.31612029671669006, -0.32795631885528564, -0.2072594314813614, 0.09549769014120102, 0.0963262990117073, 0.1747245192527771, -0.5022961497306824, 0.29457905888557434, -0.2530789077281952, 0.26689162850379944, 0.9042560458183289, 0.09219204634428024, 0.3852725327014923, -0.08500847965478897, 0.5534240007400513, -0.17511381208896637, 0.4105207920074463, -0.3891211748123169, -0.7092489004135132, -0.3834562599658966, -0.332087904214859, 0.6995069980621338, 0.8380950093269348, -0.474900484085083, 0.5842834115028381, 0.10509605705738068, -0.35477468371391296, -0.036564283072948456, -0.024036884307861328, 0.5029302835464478, 0.6514550447463989, 0.473799467086792, -0.25370901823043823, -0.5523052215576172, -0.5910316109657288, -0.5863316059112549, -0.16497203707695007, -0.31535831093788147, -0.15807557106018066, 0.03484562784433365, -0.484613299369812, 0.744714081287384, -0.21043238043785095, -0.399920791387558, -0.11957398056983948, 0.048882998526096344, -0.11039454489946365, 0.7200509309768677, 0.3528367578983307, -0.5871602296829224, -0.33760762214660645, -0.318279892206192, -0.3884989619255066, -0.2803906202316284, -0.3100566565990448, -0.127268984913826, 0.38177934288978577, 0.25581568479537964, -0.43220293521881104, 0.6118075847625732, 0.64037024974823, -0.549128532409668, 0.536808431148529, -0.35375991463661194, 0.4361010789871216, -0.6760913729667664, -0.03433367237448692, 0.20333349704742432, -0.21045531332492828, -0.6780550479888916, 0.6017231345176697, 0.07665618509054184, -0.004208344966173172, -0.1873420923948288, 0.3420581817626953, -0.1287590116262436, 0.2688046097755432, -0.091666579246521, 0.05178632214665413, -0.16930648684501648, 0.45106592774391174, -0.18186217546463013, 0.5800299644470215, 0.5955876708030701, -0.6784701347351074, 0.06114867702126503, 0.4077824354171753, 0.13411401212215424, 0.6254163384437561, -0.4806981086730957, 0.4100196361541748, 0.24901950359344482, 0.32776936888694763, -1.1974098682403564, -0.12078722566366196, 0.15724967420101166, -0.9810331463813782, 0.567816436290741, -0.32031044363975525, -0.5401567816734314, -0.24628841876983643, -0.31993088126182556, 0.2223973125219345, 0.6035595536231995, -0.6430906653404236, 0.5173159837722778, 0.2873779535293579, -0.03387000411748886, -0.9817882180213928, -0.570155680179596, 0.37606075406074524, -0.007408104836940765, -0.734000563621521, 0.08407844603061676, -0.23368823528289795, -0.10670473426580429, -0.5752745866775513, -0.26501378417015076, -0.14437785744667053, 0.4209756851196289, 0.23649360239505768, 0.43217524886131287, 0.07268887013196945, -0.4349667727947235, 0.09987616539001465, -0.46670570969581604, -0.08125443756580353, -0.28175368905067444, 0.8265699744224548, -0.03857516497373581, -0.47231870889663696, -0.6899172067642212, 0.2542010545730591, 0.5016939043998718, -0.17415350675582886, 0.2567640542984009, 0.6250840425491333, -0.5141449570655823, -0.15406487882137299, -0.7123461961746216, -0.2190789431333542, -0.5327932834625244, 0.10820180177688599, -0.45573660731315613, -0.8452155590057373, 0.8725281357765198, 0.18459588289260864, 0.21250292658805847, 0.5070467591285706, 0.3537147045135498, 0.023578034713864326, 1.393366813659668, 0.46233341097831726, -0.07506943494081497, 0.38918840885162354, 0.12922313809394836, -0.24202005565166473, -0.7690730690956116, -0.36581408977508545, -1.2973151206970215, -0.04824020341038704, -0.4853537082672119, -0.03482168912887573, 0.32675644755363464, 0.1939159631729126, -0.349258154630661, 0.3069669008255005, -0.8078679442405701, 0.3675079643726349, 0.6547438502311707, -0.01651538722217083, 0.5373619794845581, 0.16924715042114258, -0.5573112368583679, -0.33500921726226807, -0.455243855714798, -0.6551347374916077, 1.0593656301498413, 0.3184047341346741, 0.7405702471733093, -0.13023677468299866, 0.49412158131599426, 0.5237252712249756, -0.0011755259474739432, -0.23776109516620636, 0.7195814847946167, 0.011769738979637623, -0.2938534617424011, -0.3693753778934479, -0.34276026487350464, -1.0207260847091675, 0.22793647646903992, -0.6074850559234619, -1.1285117864608765, 0.1370759755373001, 0.2947983741760254, -0.29907312989234924, 0.4098764657974243, -0.24101504683494568, 0.5882630944252014, 0.1453481912612915, -0.11983808875083923, 0.040811460465192795, -0.628752589225769, 0.2197793871164322, 0.1311328113079071, 0.18208542466163635, 0.24049827456474304, -0.03631215915083885, 0.5304016470909119, -0.19084854423999786, 0.5869145393371582, -0.08831258863210678, -0.1322360783815384, 0.19285136461257935, 0.4592132866382599, 0.7889857292175293, 0.2974558174610138, 0.12373081594705582, 0.4047778844833374, -0.016468927264213562, -0.3170303702354431, -0.49544376134872437, 0.7501847147941589, -0.5734100937843323, -0.6113041043281555, -0.4505372643470764, -0.2656692862510681, -0.4588185250759125, 0.2140277475118637, 0.6888740658760071, 0.7204652428627014, -0.14686857163906097, 0.17910216748714447, 0.8139457702636719, -0.15825346112251282, 0.6083113551139832, 0.36083564162254333, -0.04915943369269371, -0.6012890338897705, 0.5464679002761841, -0.12130317836999893, 0.13018177449703217, 0.5596494078636169, 0.2795407474040985, -0.4273551404476166, -0.9407358169555664, -0.6298747658729553, -0.298825740814209, -0.6703871488571167, -0.39741963148117065, -0.6912405490875244, -0.06117621064186096, -0.6922703385353088, -0.3311655521392822, -0.27703139185905457, -0.4246949851512909, -0.15487033128738403, 0.20131343603134155, -0.11264865100383759, 0.4269309341907501, -0.14135704934597015, 0.15075726807117462, -0.9906682372093201, 0.2832393944263458, 0.3288503587245941, 0.24311858415603638, -0.3194364309310913, -0.8967442512512207, 0.2566337287425995, 0.12864257395267487, -0.47604864835739136, -0.9394259452819824, 0.2465466558933258, -0.021066688001155853, 0.5964445471763611, 0.47099223732948303, 0.47035717964172363, 0.5325831770896912, -0.23183028399944305, 1.0708345174789429, 0.13072943687438965, -1.0778645277023315, 0.45136088132858276, -0.4256802797317505, 0.35517650842666626, 0.7453848719596863, -0.17546091973781586, -0.643194854259491, -0.9211015701293945, -0.8278763890266418, -0.7676864266395569, 0.280749648809433, 0.31509748101234436, 0.07065564393997192, 0.1696087270975113, 0.1849847435951233, -0.10520026087760925, -0.005761549808084965, -0.4963335692882538, -0.38426509499549866, -0.0696701630949974, 0.024038976058363914, 0.21732957661151886, -0.4602796137332916, -0.07470209151506424, 0.18955929577350616, 0.7890585660934448, -0.017107712104916573, 0.207659050822258, 0.40130001306533813, -0.06644657254219055, -0.17418378591537476, 0.7021738290786743, 0.7059348821640015, 0.2485409677028656, 0.023946771398186684, 0.27898064255714417, 0.18685224652290344, -0.7998925447463989, 0.04008980095386505, 0.12309323996305466, -0.426116019487381, -0.057740531861782074, 0.3014433681964874, 0.06223408877849579, 0.13268733024597168, -0.5835299491882324, 0.5219931602478027, -0.278119832277298, 0.12459684908390045, -0.21868672966957092, 0.07522715628147125, -0.5155773162841797, 0.13632509112358093, 0.5430654883384705, 0.5848722457885742, 0.14826031029224396, -0.19946224987506866, 0.31079578399658203, 0.716182291507721, -0.5773184299468994, -0.2890496850013733, 0.8505756855010986, 0.09215517342090607, -0.4292312562465668, 0.5619023442268372, 0.047490622848272324, -0.740033745765686, 0.4660799205303192, 0.592588484287262, 1.0243995189666748, -0.543977677822113, 0.05663837492465973, 0.3793965280056, 0.6597301363945007, -0.24307239055633545, 0.1521751582622528, 0.008346577174961567, -0.6507185697555542, -0.2982005476951599, -0.3223586678504944, -0.5598530173301697, 0.16862669587135315, -0.5970768332481384, 0.166802778840065, -0.6384531855583191, -0.22808146476745605, -0.39406129717826843, -0.11567450314760208, -0.5481551289558411, 0.2953788936138153, 0.26136672496795654, 1.0199012756347656, -0.7288686037063599, 0.6929203271865845, 0.6101030111312866, -0.1778317242860794, -0.7456925511360168, 0.038749273866415024, 0.0681004673242569, -0.7765820622444153, 0.22133567929267883, 0.11899543553590775, -0.012879570946097374, -0.17085613310337067, -0.7964585423469543, -0.6024788022041321, 0.5894941687583923, 0.49226075410842896, -0.44122105836868286, 0.037206728011369705, 0.20728737115859985, 0.34928250312805176, -0.007610286120325327, 0.38264238834381104, 0.45353683829307556, 0.6114959120750427, 0.135250985622406, -0.8660874962806702, 0.30766868591308594, -0.025407029315829277, -0.07675733417272568, 0.02888687327504158, -0.2796134650707245, 0.47450217604637146, -0.17878349125385284, -0.49382907152175903, 0.49005740880966187, 0.7355602979660034, 0.43824464082717896, 0.442232608795166, 0.500178873538971, 0.6490406394004822, 0.8017624616622925, -0.3663387894630432, 0.8400223851203918, -0.28640854358673096, 0.25536075234413147, 1.01949942111969, -0.11137586086988449, 0.7201824188232422, 0.22566750645637512, -0.1981215924024582, 0.4123844802379608, 0.561402440071106, 0.06757581233978271, 0.23551279306411743, 0.07053438574075699, -0.14276239275932312, -0.5931543111801147, -0.046346601098775864, -0.5537326335906982, 0.3062923550605774, 0.21219798922538757, -0.030975989997386932, -0.2040107101202011, -0.013370259664952755, 0.06957826018333435, 0.5098972320556641, -0.16078710556030273, 0.5123847126960754, -0.13243119418621063, -0.6784220337867737, 0.6407604813575745, 0.018156511709094048, 0.8663114309310913, -0.8275987505912781, 0.03542444109916687, -0.06471778452396393, 0.14858661592006683, -0.21926984190940857, -0.6798068284988403, -0.12620040774345398, -0.044261083006858826, 0.21989105641841888, -0.0930449366569519, 0.8040810823440552, -0.19525429606437683, -0.11259515583515167, 0.06503660976886749, 0.11466986685991287, -0.28611117601394653, -0.22222919762134552, -0.5734965801239014, 0.1731652021408081, 0.07189323753118515, -0.39513546228408813, 0.520551323890686, 0.1080833375453949, 0.11447490751743317, 0.767406702041626, 0.9156426191329956, 0.07819493114948273, -0.08309973776340485, 0.005780598148703575, 0.7224666476249695, -0.3827763795852661, -0.6461575627326965, -0.9468840956687927, 0.6458280682563782, -0.033161044120788574, -0.5152437686920166, 0.8617090582847595, 0.3471936881542206, 0.7176264524459839, 0.19642411172389984, 0.6557382345199585, 0.2931843400001526, 0.12361568212509155, -0.6500921845436096, 0.49110186100006104, -0.10319159179925919, 0.4697680175304413, -0.4973478615283966, -0.9257556200027466, -0.7324575185775757, 0.27003392577171326, 0.19414907693862915, -0.10409169644117355, 0.716718316078186, 0.794562041759491, 0.27120983600616455, 0.13591770827770233, 0.6654189229011536, 0.1271163821220398, 0.4222913682460785, 0.34517884254455566, 0.8199692964553833, -0.3055471181869507, 0.6832771301269531, -0.14904573559761047, -0.4226834774017334, -0.06756097823381424, -0.9248405694961548, -0.9622281193733215, -0.6494682431221008, -0.3396322429180145, -0.8265371322631836, 0.0834043100476265, 0.913716733455658, 0.39261335134506226, -0.8982828259468079, 0.2776176929473877, -0.10081340372562408, 0.2090522050857544, -0.36680999398231506, -0.1866418719291687, 0.33382952213287354, -0.5168329477310181, -0.5432966351509094, 0.5842724442481995, 0.2276437133550644, 0.18431776762008667, -0.2537432909011841, 0.23530574142932892, 0.2377208024263382, 0.35389381647109985, 0.14471933245658875, 0.624548614025116, -0.5510067939758301, -0.35235539078712463, 0.03427961841225624, -0.2091735452413559, 0.08175159245729446, 0.952761173248291, -0.7166167497634888, 0.44556546211242676, 0.5303340554237366, 0.7005777955055237, -0.14063476026058197, -0.02961941994726658, 0.5099074840545654, -0.7394934892654419, 0.07220885902643204, 0.23275388777256012, 0.5990647077560425, 0.2804996967315674, -0.6239874958992004, 0.29204320907592773, 0.31560078263282776, -0.8043185472488403, -1.0364741086959839, 0.4215068221092224, -1.179957389831543, -0.007175742648541927, 1.248814582824707, -0.14572389423847198, -0.006275361869484186, -0.3045274317264557, -0.30220186710357666, 0.1759522557258606, -0.7997649312019348, 0.7910933494567871, 0.4242335259914398, 0.25466588139533997, 0.22704988718032837, -0.1315791755914688, 0.43050068616867065, 0.43188709020614624, -0.5106010437011719, 0.1820162981748581, 0.42127054929733276, 0.07713813334703445, 0.31906658411026, 0.4175976514816284, -0.3027391731739044, 0.23447945713996887, -0.05722613260149956, -0.10106834024190903, -0.2679145336151123, -0.4061070382595062, -0.5420590043067932, 0.5542804002761841, 0.12726733088493347, -0.18151405453681946 ]
http://arxiv.org/abs/2406.01866v2
http://arxiv.org/pdf/2406.01866v2
#EpiTwitter: Public Health Messaging During the COVID-19 Pandemic
2024-06-04T00:37:29
2024-06-10T20:33:51
Ashwin Rao, Nazanin Sabri, Siyi Guo, Louiqa Raschid, Kristina Lerman
cs.CL
cs.CL, cs.CY, cs.SI
Effective communication during health crises is critical, with social media serving as a key platform for public health experts (PHEs) to engage with the public. However, it also amplifies pseudo-experts promoting contrarian views. Despite its importance, the role of emotional and moral language in PHEs' communication during COVID-19 remains under explored. This study examines how PHEs and pseudo-experts communicated on Twitter during the pandemic, focusing on emotional and moral language and their engagement with political elites. Analyzing tweets from 489 PHEs and 356 pseudo-experts from January 2020 to January 2021, alongside public responses, we identified key priorities and differences in messaging strategy. PHEs prioritize masking, healthcare, education, and vaccines, using positive emotional language like optimism. In contrast, pseudo-experts discuss therapeutics and lockdowns more frequently, employing negative emotions like pessimism and disgust. Negative emotional and moral language tends to drive engagement, but positive language from PHEs fosters positivity in public responses. PHEs exhibit liberal partisanship, expressing more positivity towards liberals and negativity towards conservative elites, while pseudo-experts show conservative partisanship. These findings shed light on the polarization of COVID-19 discourse and underscore the importance of strategic use of emotional and moral language by experts to mitigate polarization and enhance public trust.
[ -0.37889254093170166, -0.6499865055084229, 0.6333671808242798, 0.24546003341674805, -0.4494853615760803, 0.2803710997104645, -0.37583857774734497, -0.30410078167915344, 0.6639319658279419, 0.1253911405801773, -0.1931990534067154, -0.3496242165565491, -0.7389650940895081, -0.03083639219403267, -0.18539756536483765, 1.1256574392318726, 0.26026955246925354, -0.1073044016957283, 0.3646162450313568, 0.057690974324941635, 0.11024141311645508, -0.6676486134529114, -0.7940114736557007, -0.2498544305562973, 0.7718965411186218, 0.6596617102622986, 0.8328800797462463, 0.09150174260139465, 0.4431307315826416, 0.20408913493156433, -0.06602269411087036, -0.15812136232852936, -1.1112762689590454, -0.07759137451648712, -0.6000447273254395, -0.24773427844047546, -0.4482661783695221, 0.2013549506664276, -0.11665097624063492, -0.08940606564283371, -0.32817214727401733, 0.4788612723350525, -0.11002598702907562, 0.46475815773010254, -0.5575241446495056, 0.11492841690778732, -0.5027779936790466, -0.02024002932012081, -0.3296462893486023, -0.4912126958370209, -0.17145128548145294, -0.31094443798065186, 0.4649965763092041, -0.645908772945404, -0.3563266098499298, -0.354318767786026, 0.9192227721214294, -0.019587060436606407, -0.49590641260147095, -0.1346278339624405, -0.630227267742157, 0.6748203635215759, -0.53522789478302, 0.06867033988237381, 0.6243512630462646, 0.05611034482717514, -0.08447131514549255, -0.38518980145454407, -0.3731482923030853, 0.39206138253211975, 0.1435440331697464, 0.20737703144550323, -0.6281818151473999, 0.05219566822052002, -0.3349786400794983, -0.06483627110719681, -0.12041164189577103, -0.12958022952079773, -0.3430025577545166, 0.020234595984220505, 0.9107428789138794, -0.02138344943523407, 0.3939775824546814, -0.2749011218547821, -0.14645640552043915, 0.05190238356590271, -0.1971047818660736, 0.29972267150878906, -0.132532000541687, 0.044059451669454575, -0.6472090482711792, 0.19947810471057892, 0.41652294993400574, 0.021042587235569954, 0.596392810344696, -0.07999160885810852, -0.15167021751403809, -0.3021583557128906, -0.3195609450340271, 0.23969712853431702, 0.7693671584129333, 0.8501338362693787, 0.4253575801849365, 0.10854632407426834, 0.03599316626787186, -0.2132226526737213, 0.44136321544647217, -0.7141975164413452, -0.6201637387275696, 0.2672392725944519, -0.5590678453445435, -0.18824589252471924, 0.17177128791809082, -1.154122233390808, -0.8376758098602295, 0.17563176155090332, 0.04595349356532097, -0.1492854803800583, -0.4583575129508972, 0.09145278483629227, -0.25297945737838745, 0.044720109552145004, 0.32281145453453064, -0.5949811339378357, 0.15577153861522675, 0.7177799344062805, 0.5294710993766785, 0.5496833324432373, 0.4687850773334503, -0.5793485045433044, 0.21024273335933685, -0.7674156427383423, 0.4673624634742737, -0.7186188697814941, -0.27324044704437256, 0.006597672123461962, -0.2804986536502838, -0.20151928067207336, -0.14521102607250214, 0.6451042890548706, -0.010834667831659317, 0.14577257633209229, -0.8952687382698059, -0.060916509479284286, -0.1351224184036255, -0.08451994508504868, 0.07331521809101105, 0.48571616411209106, -0.08888617157936096, -1.009002923965454, 0.14025908708572388, -0.4616585075855255, -0.32529670000076294, 0.22072815895080566, -0.5244928598403931, -0.5429857969284058, 0.2741461396217346, 0.41062819957733154, 0.7391836047172546, -0.48978444933891296, 0.1103542372584343, -0.43046706914901733, -0.31663575768470764, -0.0014665110502392054, 0.0869961604475975, 0.5223197937011719, 0.08298180997371674, -0.7545108795166016, 0.04490309953689575, -0.02899312973022461, -0.2282337099313736, 0.12101663649082184, 0.16331006586551666, -0.5374050736427307, 0.17835497856140137, 0.133870467543602, 0.36303144693374634, -0.05570158362388611, -0.4586242139339447, -0.14345502853393555, -0.457828551530838, 0.6915836334228516, 0.5773196220397949, 0.5693660974502563, 0.3630541265010834, -0.469062864780426, 0.40138500928878784, -0.023637276142835617, 0.45916828513145447, 0.31975090503692627, -0.8347329497337341, -0.3703426718711853, -0.2897057831287384, -0.962608814239502, 0.8576682209968567, -0.3698759078979492, 0.3782426118850708, -0.1144862174987793, -0.7820554971694946, -0.5093561410903931, -0.25189298391342163, 0.34046223759651184, 0.480183482170105, 0.49785634875297546, 0.3517928421497345, -0.4481024742126465, -0.9131317138671875, -0.4363057613372803, -0.6534271240234375, 0.5957701206207275, 0.2971610724925995, 0.07583508640527725, -0.05333809554576874, 0.4748836159706116, -0.19274815917015076, 0.10710863023996353, -0.4048362672328949, 0.5974935293197632, -0.2157350480556488, -0.06363996863365173, 0.8485954999923706, -0.7048715949058533, -0.6575533747673035, 0.12593431770801544, -0.410961389541626, -0.16572177410125732, -0.166487917304039, 0.09385281056165695, -0.3448740243911743, 0.14367321133613586, 0.04516956955194473, 0.4914271831512451, 0.6206797361373901, -0.3082922697067261, 0.20024558901786804, 0.03608042374253273, 0.5968098640441895, -1.2007408142089844, -0.24952010810375214, 0.4188803434371948, -0.1481436938047409, -1.070488691329956, -0.3473771810531616, -0.35014989972114563, -0.1327192485332489, -0.5941005349159241, 0.14161503314971924, -0.16709786653518677, 0.534865140914917, -0.1761530190706253, -0.2547522783279419, -0.082644984126091, -0.4298766553401947, 0.01260055135935545, 0.6784165501594543, 0.7561209797859192, -0.17224572598934174, 0.4192468523979187, 0.21849681437015533, 0.16570188105106354, 0.8718402981758118, -0.6680170297622681, 0.28469860553741455, -0.2613115608692169, 0.3800550699234009, -0.5707699060440063, -0.2719309628009796, 0.7241536378860474, -0.27493032813072205, -0.23570142686367035, 0.19398076832294464, -0.17378073930740356, -0.6656023859977722, -0.3674115240573883, -0.040084440261125565, 0.42838332056999207, 0.16855476796627045, 0.28960177302360535, 0.8578053712844849, -0.20245838165283203, -0.37728431820869446, -1.0400665998458862, 0.5213189721107483, -0.486960768699646, -0.7996187806129456, 0.18613754212856293, 0.3512803018093109, -0.6922979354858398, -0.1755562275648117, -0.06930751353502274, -0.3195861577987671, 0.12932589650154114, 0.05214257910847664, -0.31414586305618286, -0.26064905524253845, 0.23308353126049042, 0.17998437583446503, 0.1858743131160736, 0.19454652070999146, 0.14365564286708832, 0.42690014839172363, -0.7164151668548584, -0.007930601015686989, -1.0451692342758179, 0.6049879789352417, 0.5228524208068848, -0.0956973284482956, 1.088144302368164, 0.5850366950035095, -0.3382434546947479, 0.4215010404586792, -0.6080155372619629, -0.4952791631221771, -0.35859447717666626, 0.16184145212173462, 0.2410712093114853, -0.51286780834198, 0.3509882688522339, 0.1406463086605072, -0.27660202980041504, 0.258205384016037, 0.5805349946022034, -0.23329006135463715, 0.4520798623561859, 0.4995494484901428, -0.15082620084285736, 0.1963997632265091, -0.1898421049118042, 0.7208867073059082, -0.11019694060087204, -0.33829358220100403, -0.4066268801689148, 0.006086236331611872, -0.49940600991249084, -0.4033201336860657, 0.44447967410087585, -0.04121197760105133, -0.14894002676010132, 0.4190603494644165, -0.7953498363494873, -0.1560133844614029, -0.039925627410411835, 0.2964414358139038, -0.36954790353775024, -0.15663909912109375, 0.23610429465770721, -0.19702653586864471, -0.6607475280761719, -0.5440847277641296, 0.2479693740606308, 0.5355443954467773, 0.631610631942749, -0.12145767360925674, 0.9574885964393616, 0.2608643174171448, -0.08640552312135696, -0.3243084251880646, 0.5867186188697815, -0.13953880965709686, -0.2108418345451355, -0.08040648698806763, -0.02149076573550701, -0.758256733417511, -0.11848841607570648, -0.42396485805511475, -0.6878684163093567, 0.8867552280426025, -0.0213469248265028, -0.7284632325172424, 0.36844688653945923, -0.563269853591919, 0.5057269930839539, -0.07254693657159805, -0.033488884568214417, -0.6772298216819763, -0.7895766496658325, -0.1579187661409378, -0.03957008570432663, 0.4199788272380829, -0.34573638439178467, -0.2381926327943802, 0.7967647314071655, -0.5055562257766724, 0.8980303406715393, 0.18130753934383392, 0.13096483051776886, 0.3131718635559082, -0.4763971269130707, 0.38963186740875244, 0.4112306535243988, -0.19865775108337402, 0.049666255712509155, 0.11779794096946716, -0.719303548336029, 0.20617304742336273, 0.5583182573318481, -1.222487449645996, -0.7916533350944519, -0.5116786360740662, -0.08713000267744064, 0.22134464979171753, -0.08925435692071915, 0.4328470230102539, 0.4750730097293854, -0.2805141508579254, 0.057387907058000565, 0.6329391002655029, -0.41423895955085754, 0.37879854440689087, 0.13278643786907196, 0.2557452321052551, -0.5669261813163757, 0.6917757391929626, 0.1736850142478943, 0.05835401639342308, 0.3625577986240387, 0.8279030919075012, 0.2576290965080261, -0.04016697406768799, 0.10931959748268127, 0.4133065342903137, -0.397474467754364, -0.04081031307578087, -0.8633584380149841, -0.20740941166877747, -0.6643381118774414, -0.7990296483039856, -0.49367696046829224, 0.24443845450878143, -0.5134252309799194, -0.18269455432891846, 0.7129793763160706, 1.0546613931655884, -0.4220064878463745, 0.20076429843902588, -0.7942204475402832, 0.06210149824619293, 0.2426527887582779, -0.23012705147266388, -0.17543546855449677, 0.11617909371852875, -0.2171732634305954, 0.14384379982948303, 0.005737421568483114, -1.3937773704528809, 0.18043853342533112, 0.2222142070531845, 0.5257558226585388, 0.7784225940704346, 0.5339144468307495, 0.5609936714172363, -0.03564188629388809, 0.8946377635002136, 0.31599655747413635, -0.9371902942657471, 0.4954735338687897, -0.7116389870643616, 0.1761554628610611, 0.6177192330360413, 0.499844491481781, -0.8924482464790344, -0.8424654006958008, -0.546329140663147, -0.6887661218643188, 0.34298044443130493, 0.1798436939716339, 0.187729611992836, -0.5762231349945068, -0.15730902552604675, -0.005023219157010317, 0.2952505052089691, -0.1482480764389038, -0.5621979236602783, -0.5840897560119629, 0.1549074798822403, 0.21195809543132782, -0.47236111760139465, -0.5936720967292786, -0.2794955372810364, 0.1661742478609085, 0.4818228483200073, 0.34653452038764954, 0.4323490858078003, 0.43904754519462585, -0.48851972818374634, 0.6463434100151062, 0.8124170303344727, 0.9156720638275146, -0.14140768349170685, 0.393600195646286, -0.3468916714191437, -0.6290139555931091, 0.007081120274960995, -0.004614687990397215, 0.18128027021884918, -0.07814256101846695, 0.33923038840293884, 0.7467533349990845, 0.08008722215890884, -0.03577776625752449, 0.724457859992981, 0.19093774259090424, 0.12782691419124603, -0.0843568667769432, -0.47044938802719116, 0.32352158427238464, 0.10140138864517212, 0.7907014489173889, 0.3399394452571869, -0.09655240178108215, -0.7718145251274109, 0.44531872868537903, 0.2094169408082962, -0.41489824652671814, -0.8974164724349976, 0.5953364968299866, 0.5915638208389282, -0.13137900829315186, 0.3338279128074646, -0.013894977979362011, -0.7762331962585449, 0.4124299883842468, 0.09420418739318848, 0.7772696614265442, -0.627357006072998, 0.8743443489074707, 0.07721695303916931, 0.5455938577651978, 0.11321936547756195, 0.5154458284378052, 0.4096023142337799, -0.34239959716796875, -0.3557354509830475, 0.053447458893060684, 0.04736120626330376, 0.19139276444911957, -0.6751936078071594, 0.23133011162281036, -0.6847588419914246, -0.7225117683410645, -0.06464838236570358, -0.06814414262771606, -0.5913529396057129, 0.2964476943016052, 0.37682977318763733, 0.7542248368263245, -1.2485575675964355, 0.41098645329475403, 0.9238107204437256, -0.4141010642051697, -1.017212152481079, 0.6086949110031128, 0.19103796780109406, -0.5338804721832275, 0.2773033678531647, 0.06181762367486954, -0.21647921204566956, -0.24759140610694885, -0.553796112537384, -0.4927480220794678, 0.6195517778396606, 0.32930493354797363, -0.2951890826225281, 0.2678452134132385, 0.23736776411533356, 0.8943430185317993, -0.4833661913871765, 0.34912487864494324, 0.028104031458497047, 0.6771482825279236, -0.21022473275661469, -1.1918517351150513, 0.09062279015779495, -0.2447909712791443, -0.3256518542766571, -0.024819687008857727, -1.0362731218338013, 0.5282833576202393, -0.15538479387760162, -0.2788304388523102, -0.5152921080589294, 0.662941575050354, -0.25639164447784424, 0.8184515237808228, 0.2778994143009186, 0.2902851104736328, 0.8925079107284546, 0.1023550033569336, 1.0647811889648438, -0.36631613969802856, -0.04644922539591789, 0.5028093457221985, 0.08876591175794601, 0.732322633266449, 0.4041392207145691, 0.23391935229301453, 0.5096375942230225, 0.5073413252830505, 0.4174777567386627, 0.6020185351371765, -0.07639677822589874, -0.19430877268314362, -0.473818302154541, -0.5448172688484192, -0.6550400853157043, 0.1832297444343567, 0.4804207980632782, -0.2806089520454407, -0.28130629658699036, 0.4017791450023651, 0.4293292760848999, 0.40083321928977966, -0.48115095496177673, 0.5097147822380066, 0.3023781478404999, -0.1615147739648819, 0.4356715679168701, -0.10876841098070145, 0.3869008719921112, -0.00890333577990532, 0.34152257442474365, 0.22522473335266113, -0.1178869754076004, -0.3639192581176758, -0.9633062481880188, 0.6306543350219727, -0.29912516474723816, 0.01763339899480343, -0.35084083676338196, 0.6339834928512573, -0.45144400000572205, -0.29015713930130005, 0.6301602721214294, 0.4430052936077118, 0.12127798050642014, -0.1526067554950714, -1.0815821886062622, 0.2182796746492386, -0.23666556179523468, -0.1100490391254425, 0.015361015684902668, 0.26461610198020935, -0.15038147568702698, 0.5456159114837646, 0.1433141529560089, 0.4142813980579376, 0.09886812418699265, 0.044424012303352356, 0.8141615986824036, -0.10239626467227936, -0.5748454928398132, -0.7228745222091675, 0.26485225558280945, -0.3004053235054016, -0.23499290645122528, 0.8305360674858093, 0.24978357553482056, 0.2607373595237732, 0.0733189582824707, 0.7438560724258423, 0.011993355117738247, 0.28129643201828003, 0.31467220187187195, 0.9569697976112366, -0.3202142119407654, -0.2806928753852844, -0.2034386843442917, -0.20959270000457764, 0.22887001931667328, 0.40513524413108826, -0.9548376202583313, -0.23965425789356232, 0.6191893219947815, 0.32353752851486206, 0.2628554105758667, 0.07144657522439957, 0.06807553023099899, 0.4868299961090088, 0.48055556416511536, 0.2859383523464203, 0.5110445618629456, 0.08966711163520813, 0.43590298295021057, -0.471025675535202, -0.3947429656982422, -0.3860062062740326, -0.6779441237449646, -1.1656105518341064, -0.7336219549179077, -0.46696406602859497, -0.4377906620502472, 0.6778128743171692, 1.2970982789993286, 0.48679956793785095, -0.7150036096572876, 0.04458795487880707, 0.06506817042827606, -0.14355452358722687, -0.25163933634757996, -0.23111140727996826, 0.353641152381897, 0.34658706188201904, -0.28105679154396057, 0.13819941878318787, 0.8570153713226318, -0.34937942028045654, -0.08767803013324738, 0.3374094069004059, -0.4483078718185425, 0.708899974822998, 0.45005252957344055, 0.3633290231227875, -0.6712883710861206, -0.2263628989458084, 0.177995964884758, -0.6591646075248718, 0.0291491337120533, 0.7036334276199341, -0.1677490919828415, 0.2918729782104492, 0.9031935930252075, 0.3225826025009155, -0.2465522140264511, 0.2969664931297302, 0.8514947891235352, -0.007903692312538624, 0.04132462665438652, 0.6114048957824707, 0.009467175230383873, 0.6539281606674194, -0.805333137512207, -0.03357996791601181, 0.2974167764186859, -0.4322546124458313, -0.5127654671669006, 0.060344770550727844, -0.741865873336792, -0.08741675317287445, 1.1663024425506592, -0.017787085846066475, -0.2138408124446869, -0.6377561688423157, -0.12774202227592468, 0.2678922414779663, -1.0357178449630737, 0.7773359417915344, 0.7201148271560669, 0.06847739964723587, -0.448950856924057, -0.28409793972969055, 0.5736005306243896, 0.39014095067977905, -0.6288980841636658, -0.3430250585079193, -0.3235653042793274, -0.025547580793499947, -0.07873328030109406, 0.9830877184867859, 0.19207683205604553, 0.39597663283348083, -0.37888461351394653, -0.24891096353530884, 0.23545412719249725, -0.10244692862033844, 0.21650546789169312, 0.02437272109091282, -0.4776136875152588, 0.08398377895355225 ]
http://arxiv.org/abs/2406.01863v1
http://arxiv.org/pdf/2406.01863v1
Towards Effective Time-Aware Language Representation: Exploring Enhanced Temporal Understanding in Language Models
2024-06-04T00:30:37
2024-06-04T00:30:37
Jiexin Wang, Adam Jatowt, Yi Cai
cs.CL
cs.CL
In the evolving field of Natural Language Processing, understanding the temporal context of text is increasingly crucial. This study investigates methods to incorporate temporal information during pre-training, aiming to achieve effective time-aware language representation for improved performance on time-related tasks. In contrast to common pre-trained models like BERT, which rely on synchronic document collections such as BookCorpus and Wikipedia, our research introduces BiTimeBERT 2.0, a novel language model pre-trained on a temporal news article collection. BiTimeBERT 2.0 utilizes this temporal news collection, focusing on three innovative pre-training objectives: Time-Aware Masked Language Modeling (TAMLM), Document Dating (DD), and Time-Sensitive Entity Replacement (TSER). Each objective targets a unique aspect of temporal information. TAMLM is designed to enhance the understanding of temporal contexts and relations, DD integrates document timestamps as chronological markers, and TSER focuses on the temporal dynamics of "Person" entities, recognizing their inherent temporal significance. The experimental results consistently demonstrate that BiTimeBERT 2.0 outperforms models like BERT and other existing pre-trained models, achieving substantial gains across a variety of downstream NLP tasks and applications where time plays a pivotal role.
[ -0.20236700773239136, -0.7449628710746765, 0.5298910737037659, 0.5244684219360352, -0.42626893520355225, 0.2821352481842041, -0.16409394145011902, -0.7589125633239746, 0.061141930520534515, 0.23658710718154907, -0.5440126657485962, -0.1502053439617157, -0.4978310465812683, -0.19541743397712708, -0.4685617983341217, 0.8116537928581238, -0.21226617693901062, 0.1260482370853424, 0.1889691948890686, -0.16350099444389343, -0.15418334305286407, -0.7213155031204224, -0.5603846907615662, -0.7335365414619446, 0.32647112011909485, -0.18035542964935303, 0.6795904040336609, 0.6351528167724609, -0.03314272686839104, 0.16972891986370087, 0.008510023355484009, -0.20737199485301971, -0.23210977017879486, -0.08196990936994553, -0.2190859466791153, -0.32957571744918823, -0.3747578263282776, 0.43107402324676514, 0.664055347442627, 0.8603910207748413, -0.09656744450330734, 0.18719731271266937, 0.016163088381290436, 0.3552333414554596, -0.6038979291915894, 0.19234322011470795, -0.5079224109649658, 0.3924795389175415, -0.45200371742248535, -0.48735755681991577, -0.3570961058139801, -0.21841861307621002, 0.3020237684249878, -0.6409610509872437, 0.3733157217502594, 0.01912282034754753, 1.0155963897705078, 0.16781994700431824, -0.4689362645149231, -0.02806713618338108, -1.0691741704940796, 0.7534784078598022, -0.4693003296852112, 0.8729803562164307, 0.5815971493721008, 0.37530407309532166, 0.3138788044452667, -0.8472737669944763, -0.6679659485816956, 0.012141036801040173, -0.16060234606266022, -0.025496497750282288, -0.07498655468225479, -0.1915724277496338, 0.20770196616649628, 0.23457872867584229, -0.6380856037139893, 0.10303491353988647, 0.04501434415578842, -0.3201994299888611, 0.10681760311126709, 0.009466995485126972, -0.10551876574754715, -0.0009877034462988377, -0.3463784158229828, 0.05921432003378868, -0.42068371176719666, 0.024360060691833496, 0.33032628893852234, -0.18837544322013855, -0.07042241096496582, 0.30654680728912354, -0.01466909609735012, 0.6648799180984497, -0.07515942305326462, 0.2891341745853424, 0.18515253067016602, -0.4235721826553345, -0.1685078889131546, 0.20394542813301086, 0.5210376381874084, 0.10644405335187912, 0.31143268942832947, -0.37950843572616577, -0.2534816265106201, 0.025173116475343704, 0.060189180076122284, -1.0186030864715576, -0.17210620641708374, 0.31020912528038025, -0.44685906171798706, -0.3884696066379547, -0.16120491921901703, -0.2951294779777527, -0.11146490275859833, -0.46945616602897644, 0.5354650616645813, -0.4757448434829712, -0.26424142718315125, 0.11874134838581085, -0.06572641432285309, 0.20033690333366394, 0.4566528797149658, -0.7807786464691162, 0.08394508063793182, 0.6219242215156555, 0.7057240605354309, 0.32394662499427795, -0.2866731286048889, -0.6401228904724121, 0.41607972979545593, -0.5817219614982605, 0.47106313705444336, -0.539714515209198, -0.23929375410079956, 0.020883886143565178, -0.03146757930517197, 0.07525700330734253, -0.15657024085521698, 0.1247507855296135, -1.0323286056518555, 0.6570870876312256, 0.26907339692115784, -0.37442439794540405, 0.028938867151737213, 0.11583040654659271, -0.677833080291748, 1.0360459089279175, 0.35620468854904175, -0.833609402179718, 0.3810686469078064, -0.6072226762771606, -0.44336774945259094, 0.03330623358488083, 0.033549241721630096, -0.3774348497390747, -0.009969813749194145, 0.3572099804878235, 0.46091482043266296, 0.11810562759637833, 0.38104236125946045, 0.06885095685720444, -0.34394440054893494, 0.4447828233242035, -0.4070476293563843, 0.9734946489334106, 0.2819851040840149, -0.3760112524032593, -0.1829655021429062, -0.5147634744644165, -0.08904127031564713, 0.29107147455215454, -0.2454429566860199, -0.482228547334671, 0.06234610825777054, 0.3206515312194824, 0.28225526213645935, 0.6120650172233582, -0.5590075254440308, -0.0002915930235758424, -0.33651697635650635, 0.5142602920532227, 0.6676273941993713, 0.06476974487304688, 0.5184136033058167, -0.2287539839744568, 0.07746457308530807, 0.07488412410020828, 0.315350204706192, -0.436471164226532, 0.162173330783844, -0.8241151571273804, 0.1290285736322403, 0.5877826809883118, 0.5571054220199585, -0.8688462376594543, 0.36990588903427124, -0.46209320425987244, -0.2907055914402008, -0.5774223208427429, 0.13697591423988342, 0.2915845513343811, 0.24675941467285156, 0.2755483388900757, -0.27121540904045105, -0.7852166891098022, -0.4438476264476776, -0.0722382590174675, -0.3846120238304138, -0.04396155849099159, 0.13851477205753326, 0.3736533224582672, -0.39340752363204956, 0.965143620967865, -0.2878941297531128, 0.01801198720932007, -0.23736420273780823, 0.6731367111206055, -0.05961627885699272, 0.42451781034469604, 0.6910064816474915, -0.8063869476318359, -0.14647427201271057, -0.205414816737175, -0.537108302116394, -0.15585957467556, -0.2748679220676422, 0.08190614730119705, 0.4596998393535614, 0.6206061840057373, -0.13839414715766907, 0.3572942614555359, 0.6739462614059448, -0.4994717240333557, 0.5114787220954895, -0.22981229424476624, 0.23047798871994019, -1.0160417556762695, 0.05698079988360405, -0.336501806974411, -0.7344228625297546, -0.8040671348571777, -0.3326064348220825, 0.20540398359298706, -0.35910385847091675, -0.5537649393081665, 0.8266193270683289, -0.45541098713874817, 0.05822736397385597, -0.2713924050331116, 0.161535382270813, 0.13549740612506866, 0.36702388525009155, 0.31650957465171814, 0.8065647482872009, 0.13372161984443665, -0.602704644203186, -0.15798984467983246, -0.13948731124401093, -0.4141945242881775, 0.2281009405851364, -0.7810617685317993, 0.3677636384963989, -0.335483193397522, 0.05316012352705002, -0.4889627993106842, 0.06764087080955505, 0.1435168832540512, -0.6245343685150146, 0.776893675327301, -0.24178822338581085, -0.7569363713264465, -0.050162289291620255, -0.3549712598323822, 0.4511888921260834, 0.29377588629722595, -0.4870678782463074, 0.6176729798316956, 0.3317186236381531, -0.09402145445346832, -0.4320020079612732, -0.6992926597595215, -0.011228497140109539, 0.08011253923177719, -0.3939777612686157, 0.678978681564331, 0.044613853096961975, -0.35319003462791443, 0.17929707467556, -0.2248634397983551, -0.18460744619369507, 0.3158198893070221, 0.03847538307309151, 0.3607347309589386, -0.10467962175607681, 0.3503924608230591, -0.22195316851139069, -0.35415470600128174, -0.06436602771282196, -0.52315354347229, 0.9823625683784485, -0.019219307228922844, -0.0538710318505764, -0.34945064783096313, 0.35141488909721375, 0.20243698358535767, -0.5367575883865356, 1.0308510065078735, 1.0755894184112549, -0.5407236218452454, 0.0289152842015028, -0.7028424143791199, -0.228703111410141, -0.38239413499832153, 0.1779201179742813, 0.010072216391563416, -1.158656120300293, 0.24471302330493927, 0.19762201607227325, 0.2088628113269806, 0.40184205770492554, 0.2903165817260742, -0.5698680877685547, 0.6433723568916321, 0.7621858716011047, -0.1568693220615387, 1.2703311443328857, -0.35785457491874695, 0.003093728329986334, -0.8147397041320801, -0.21953165531158447, -0.4361235797405243, -0.03869621828198433, -0.4168706238269806, -0.6733661890029907, 0.017999162897467613, 0.37370336055755615, -0.3578697741031647, 0.4960295855998993, 0.035293061286211014, 0.1977984458208084, 0.383970707654953, 0.06247042492032051, 0.17852066457271576, 0.011157047934830189, 0.10235182195901871, -0.19191564619541168, -0.4507042169570923, -0.6099936366081238, 0.7785434722900391, 0.389085590839386, 0.5640976428985596, 0.023583129048347473, 0.4657706022262573, 0.5113454461097717, -0.01299235038459301, -0.4441097676753998, 0.3883269727230072, -0.08015983551740646, -0.872374415397644, -0.20740260183811188, -0.5128170251846313, -0.9970299005508423, -0.028713591396808624, -0.2658413350582123, -0.9523837566375732, -0.027422834187746048, 0.1366610825061798, -0.24419453740119934, 0.19355382025241852, -0.5526636242866516, 0.8241462707519531, -0.40503641963005066, -0.5261259078979492, -0.5216877460479736, -0.7853947877883911, -0.2570260763168335, -0.13020339608192444, 0.1461217701435089, -0.23790769279003143, -0.16922879219055176, 1.0625097751617432, -0.15147510170936584, 0.7163528800010681, -0.16465337574481964, 0.31080392003059387, 0.2767874598503113, 0.4434811472892761, 0.5015279054641724, 0.1126847043633461, 0.020951785147190094, 0.5002004504203796, 0.08406432718038559, -0.4814029932022095, -0.5966983437538147, 0.4132058322429657, -0.8106656670570374, -0.461008757352829, -0.626789391040802, -0.46731457114219666, -0.0921051874756813, 0.17726413905620575, 0.08571343868970871, 0.7865922451019287, -0.2160351425409317, 0.05702298879623413, 0.7499747276306152, -0.07587629556655884, 0.8063571453094482, 0.9321072697639465, -0.3983196020126343, -0.1554722636938095, 0.4929203689098358, 0.10166776925325394, 0.09098868817090988, 0.9742537140846252, 0.055937133729457855, -0.4511631429195404, -0.3979366421699524, -0.1786617487668991, 0.3485781252384186, -0.5121424198150635, 0.21837462484836578, -1.0457199811935425, -0.48103195428848267, -0.5263854265213013, -0.1108778864145279, -0.3969659209251404, -0.7726140022277832, -0.4158537983894348, 0.1000288724899292, 0.22637797892093658, 0.4088711142539978, -0.03478239104151726, 0.645706295967102, -0.856682300567627, 0.10536891967058182, 0.39418843388557434, 0.42165231704711914, -0.2551390826702118, -0.5377832651138306, -0.4276420772075653, -0.23883382976055145, -0.06358461827039719, -0.8210245370864868, 0.05732385814189911, 0.09663037955760956, 0.6266855001449585, 0.3013012409210205, -0.2607766389846802, 0.47571367025375366, -0.5230146646499634, 0.8300302028656006, -0.1093658059835434, -1.1102548837661743, 0.851710319519043, -0.2774523198604584, 0.4294854998588562, 0.3376569151878357, 0.32194364070892334, -0.7796279788017273, -0.08440838009119034, -0.6910382509231567, -0.6954386234283447, 0.7768428325653076, 0.6389095783233643, 0.029300082474946976, 0.20518596470355988, 0.09468197822570801, 0.05359242111444473, 0.44570475816726685, -0.8070487976074219, -0.1651400327682495, -0.3616866171360016, -0.012409134767949581, -0.3601604402065277, -0.601615309715271, 0.28770366311073303, 0.1502966731786728, 0.7333352565765381, 0.28285300731658936, 0.6203296184539795, 0.08943479508161545, -0.5345906615257263, 0.05786782130599022, 0.5671578645706177, 0.4596714675426483, 0.7201818227767944, -0.46451613306999207, 0.44380250573158264, 0.09488053619861603, -0.4965982437133789, -0.016512108966708183, 0.6734702587127686, -0.07254228740930557, 0.40315520763397217, 0.7616561055183411, 0.6675208210945129, 0.16398385167121887, -0.35742661356925964, 0.4183002710342407, -0.12556792795658112, 0.4341984987258911, -0.33976566791534424, -0.18512029945850372, -0.03798836097121239, 0.33206433057785034, 0.3649919927120209, -0.14117704331874847, -0.15229283273220062, -0.5659656524658203, 0.07256659120321274, 0.06647676974534988, -0.5399567484855652, -0.504788875579834, 0.7756276726722717, 0.10417807847261429, -0.3331815302371979, 0.4934924840927124, -0.44904494285583496, -0.749182403087616, 0.09887946397066116, 0.5381109714508057, 0.7640089392662048, -0.49216583371162415, 0.23394283652305603, 0.22094422578811646, 0.40943828225135803, 0.08438626676797867, 0.3382132053375244, -0.49060478806495667, -0.631251871585846, -0.40072450041770935, -0.6326383352279663, 0.0033380729146301746, 0.06624051928520203, -0.2481951266527176, 0.07231954485177994, -0.49664413928985596, -0.42325690388679504, -0.12962226569652557, 0.29495856165885925, -0.9106004238128662, 0.017103878781199455, 0.01043920312076807, 0.8742328882217407, -0.7994655966758728, 0.8683322072029114, 0.6564962863922119, -0.2139553427696228, -0.4905301332473755, 0.1488354504108429, -0.05219972878694534, -0.7086478471755981, 0.6599943041801453, 0.13521945476531982, -0.13339291512966156, 0.07120447605848312, -0.28328052163124084, -0.368351548910141, 1.0547292232513428, 0.24814826250076294, -0.660905659198761, -0.14293046295642853, 0.0024684437084943056, 0.5467938780784607, -0.20094627141952515, 0.12911385297775269, 0.4162125885486603, 0.027843216434121132, -0.16987858712673187, -0.8385563492774963, -0.3107356131076813, -0.2653864920139313, 0.3127731382846832, 0.6473352313041687, -0.353281170129776, 0.7324689626693726, -0.09084673225879669, -0.4672352075576782, -0.2257169634103775, 0.7757417559623718, 0.013644776307046413, 0.6302199363708496, 0.5292678475379944, 0.3930661082267761, 0.6732195019721985, -0.23741084337234497, 0.9744586944580078, -0.3632136583328247, 0.2342110425233841, 1.4498205184936523, 0.01133558340370655, 0.5585235953330994, 0.5155881643295288, -0.12720610201358795, 0.3906482756137848, 0.5916226506233215, 0.34785306453704834, 0.6840465068817139, -0.33347994089126587, -0.4152699112892151, -0.404504656791687, -0.6253342628479004, -0.4479047656059265, 0.2082306146621704, 0.2769176959991455, -0.4240128993988037, -0.2347504049539566, 0.03407355025410652, 0.31907105445861816, -0.09302383661270142, -0.2455161064863205, 0.6023074984550476, 0.014957252889871597, -0.22429552674293518, 0.014419020153582096, 0.031682420521974564, 0.2717320919036865, -0.6856979727745056, 0.008452150039374828, -0.11018106341362, 0.14648832380771637, 0.1892387717962265, -0.8922474384307861, 0.19753330945968628, 0.11190707981586456, -0.15185903012752533, -0.513573408126831, 0.7188007235527039, -0.5875836610794067, -0.43458059430122375, 0.24620391428470612, 0.5183108448982239, 0.037195172160863876, -0.12026804685592651, -0.460417777299881, 0.14734938740730286, -0.2319522351026535, -0.15841390192508698, -0.12310077995061874, 0.6242777705192566, -0.05152967944741249, 0.4525270462036133, 0.28299447894096375, 0.15503756701946259, -0.11579085141420364, 0.321376770734787, 0.6147687435150146, -0.5900740623474121, -0.6012240648269653, -0.8803039789199829, 0.33074888586997986, -0.08722884953022003, 0.00012843582953792065, 0.5475668907165527, 0.6932973265647888, 0.9254079461097717, 0.13823029398918152, 0.46684423089027405, -0.12992164492607117, 0.5320485234260559, -0.7324031591415405, 0.7992607355117798, -0.441902756690979, 0.30284202098846436, 0.030887402594089508, -0.889346718788147, -0.02934219315648079, 0.5154963135719299, -0.3445976972579956, 0.14785756170749664, 0.6904259920120239, 0.5326111912727356, 0.08240211009979248, -0.019495517015457153, 0.08278633654117584, 0.03484439477324486, 0.4184974133968353, 0.625862181186676, 0.98610919713974, -0.4266875386238098, 0.5936681032180786, -0.5690104961395264, -0.02265109121799469, -0.2661880552768707, -0.9738320112228394, -1.2233285903930664, -0.9786845445632935, -0.30937108397483826, -0.3416213393211365, 0.3881702423095703, 1.2477023601531982, 0.7896101474761963, -0.6081488728523254, 0.05646495893597603, 0.3391875922679901, -0.1606471687555313, -0.05651845410466194, -0.16012246906757355, 0.3808027505874634, -0.19246061146259308, -0.5355027318000793, 0.20617134869098663, 0.294816792011261, 0.506905198097229, -0.17620180547237396, 0.0393693707883358, -0.173629030585289, -0.22005033493041992, 0.6859726309776306, 0.014689347706735134, -0.3011188507080078, -0.35500141978263855, 0.0832555890083313, -0.2969023585319519, -0.004806799348443747, 1.2039337158203125, -0.8908872604370117, 0.8051157593727112, 0.4381314516067505, 0.43537551164627075, 0.9729298949241638, -0.20362573862075806, 0.4561261534690857, -0.9866011738777161, 0.505297839641571, 0.4168982207775116, 0.3807402551174164, 0.5019586086273193, -0.22463271021842957, 0.6580424308776855, 0.28609994053840637, -0.2563585937023163, -0.44540935754776, 0.20238901674747467, -0.8020138144493103, -0.36902379989624023, 0.8312298059463501, -0.028235506266355515, -0.058372098952531815, -0.34561389684677124, 0.02910766750574112, 0.8517336249351501, -0.3207220435142517, 0.8156231641769409, 0.79356449842453, 0.13495223224163055, -0.25642505288124084, -0.7561101913452148, 0.24232463538646698, 0.13087092339992523, -0.6439913511276245, -0.02529585361480713, 0.23297244310379028, 0.14087292551994324, 0.21703822910785675, 0.7581910490989685, -0.32567155361175537, 0.27255210280418396, -0.12443440407514572, -0.15691769123077393, -0.449958860874176, -0.5144302248954773, -0.22117607295513153, -0.24870379269123077, -0.00013855111319571733, -0.20808741450309753 ]
http://arxiv.org/abs/2406.01860v1
http://arxiv.org/pdf/2406.01860v1
Eliciting the Priors of Large Language Models using Iterated In-Context Learning
2024-06-04T00:09:43
2024-06-04T00:09:43
Jian-Qiao Zhu, Thomas L. Griffiths
cs.CL
cs.CL
As Large Language Models (LLMs) are increasingly deployed in real-world settings, understanding the knowledge they implicitly use when making decisions is critical. One way to capture this knowledge is in the form of Bayesian prior distributions. We develop a prompt-based workflow for eliciting prior distributions from LLMs. Our approach is based on iterated learning, a Markov chain Monte Carlo method in which successive inferences are chained in a way that supports sampling from the prior distribution. We validated our method in settings where iterated learning has previously been used to estimate the priors of human participants -- causal learning, proportion estimation, and predicting everyday quantities. We found that priors elicited from GPT-4 qualitatively align with human priors in these settings. We then used the same method to elicit priors from GPT-4 for a variety of speculative events, such as the timing of the development of superhuman AI.
[ -0.04571865499019623, -0.7140029668807983, 1.0620439052581787, -0.10368981957435608, -0.2537199854850769, -0.10184556990861893, -0.29731518030166626, 0.07271973043680191, -0.2096954882144928, 0.5275824666023254, -0.49028754234313965, -0.5182713866233826, -0.31782227754592896, -0.03506685420870781, -0.24291838705539703, 0.7859275937080383, 0.006122589111328125, -0.12278597801923752, 0.07678639888763428, 0.3881361186504364, -0.3736366331577301, -0.5182655453681946, -0.6580249667167664, -0.4651816785335541, 0.6352190971374512, 0.3625423312187195, 0.39729732275009155, 0.338875412940979, 0.18082821369171143, 0.23791591823101044, 0.1678965985774994, -0.17386578023433685, -0.27646028995513916, 0.23270417749881744, -0.507217526435852, -0.44452083110809326, -0.04333312436938286, 0.04136894643306732, 0.942069947719574, 0.9301502108573914, -0.5329979658126831, 0.07425988465547562, -0.1004297286272049, 0.4354083836078644, -0.8688429594039917, 0.21929386258125305, -0.7419775724411011, 0.17126213014125824, -0.27329155802726746, -0.36025935411453247, -0.644843339920044, -0.2179616093635559, 0.2582767605781555, -0.5023548603057861, 0.027646856382489204, -0.016810882836580276, 0.3505099415779114, 0.024985725060105324, -0.36490219831466675, -0.13331246376037598, -0.7138431668281555, 0.5847343802452087, -0.8775140643119812, 0.26373153924942017, 0.6105763912200928, 0.5563918352127075, -0.2960459887981415, -0.9339490532875061, -0.7147983312606812, -0.4979442059993744, 0.23751620948314667, 0.2074759304523468, 0.127559632062912, -0.0920005515217781, 0.49253860116004944, 0.14009146392345428, -0.6499698162078857, 0.3098551630973816, -0.4332897365093231, 0.16457846760749817, 0.41640785336494446, 0.10907179117202759, -0.02313792146742344, 0.13151264190673828, -0.30499327182769775, -0.24994726479053497, -1.114548683166504, -0.15119247138500214, 0.19194836914539337, 0.3025849163532257, -0.018533486872911453, 0.4824664890766144, -0.29670029878616333, 0.9531702995300293, 0.04069878160953522, -0.21410886943340302, 0.24524682760238647, -0.11690039932727814, -0.24987521767616272, -0.08488716930150986, 0.9057923555374146, 0.0007729605422355235, 0.47334346175193787, 0.0022848076187074184, -0.1509011834859848, -0.23281461000442505, 0.216033473610878, -0.7144314646720886, -0.3280681371688843, 0.03570102900266647, -0.13807198405265808, 0.09592582285404205, 0.07316514849662781, -0.6201934814453125, -0.3800427317619324, -0.21573491394519806, 0.4284573197364807, -0.18763135373592377, -0.3934248387813568, -0.08660535514354706, -0.2173166126012802, 0.08960078656673431, 0.1991555094718933, -1.0059386491775513, 0.115615613758564, 0.41268017888069153, 0.6531295776367188, 0.047753892838954926, -0.33770567178726196, -0.6128859519958496, 0.5312079191207886, -0.649684488773346, 0.8686463832855225, -0.7155307531356812, -0.31563514471054077, 0.18779417872428894, -0.24099595844745636, -0.24591164290905, -0.5453541278839111, 0.3856741786003113, -0.617728590965271, 0.17830704152584076, -0.16144390404224396, -0.7695084810256958, -0.13207688927650452, 0.1860383301973343, -0.38851577043533325, 0.6689920425415039, 0.07393205165863037, -0.8451585173606873, 0.4689185321331024, -0.33396846055984497, -0.4089064598083496, 0.14246010780334473, -0.31733986735343933, -0.14546112716197968, 0.26437684893608093, 0.43474337458610535, 0.9672060608863831, -0.30581235885620117, 0.4244822859764099, -0.4253230690956116, -0.12835267186164856, 0.13113471865653992, -0.5172215104103088, 0.6903689503669739, 0.34329187870025635, -0.17537881433963776, 0.060337889939546585, -0.43240052461624146, -0.2314525544643402, 0.1433681845664978, 0.008543509989976883, -0.213653564453125, 0.22006146609783173, -0.5598322153091431, 0.4591865837574005, -0.02238261140882969, -0.07415718585252762, 0.5322906970977783, -0.3242996335029602, 0.4345392882823944, 0.7853513956069946, 0.49400898814201355, 0.8168103098869324, -0.2892395555973053, 0.44708776473999023, 0.09324687719345093, -0.06677334010601044, -0.46255362033843994, -0.46107226610183716, -0.11187496036291122, -0.33700525760650635, -0.04316285252571106, 0.4166118800640106, -0.8601813912391663, 0.3460954427719116, -0.12932296097278595, -0.42708462476730347, 0.16086173057556152, 0.0077848490327596664, -0.00284362118691206, 0.6695681214332581, 0.09633135795593262, 0.04753471165895462, -0.16108664870262146, -0.5535467863082886, -0.01318581122905016, -0.4430268108844757, -0.33649754524230957, 0.08605615794658661, 0.6125921010971069, -0.32036250829696655, 0.879170298576355, -0.46868619322776794, 0.10825352370738983, -0.2361414134502411, 0.2740263044834137, 0.3970188498497009, 0.4345744550228119, 0.26632869243621826, -0.5341999530792236, -0.3114650547504425, -0.058320652693510056, -0.5969515442848206, -0.07780306786298752, -0.18193435668945312, -0.18456482887268066, -0.00639682449400425, 0.5108216404914856, -0.4903142750263214, 0.1442611813545227, 0.3567081093788147, -0.058298345655202866, 0.47809723019599915, -0.3282334506511688, 0.11549018323421478, -1.2672934532165527, 0.07424905151128769, 0.03899183124303818, -0.12971630692481995, -0.4544107913970947, -0.04974951595067978, 0.18621891736984253, 0.06602176278829575, -0.21810612082481384, 0.767527163028717, -0.47078508138656616, -0.3268246650695801, 0.00928491074591875, 0.28426504135131836, -0.4387538731098175, 0.3330831527709961, 0.569257378578186, 0.5792236328125, 0.6647695899009705, -0.7867113351821899, 0.07646453380584717, -0.014121441170573235, -0.5712873339653015, 0.5997220873832703, -0.4118671715259552, 0.03136806935071945, -0.19741706550121307, 0.5175573229789734, -1.002038836479187, -0.4052376449108124, 0.35796719789505005, -0.30077505111694336, 0.2818065285682678, -0.26442402601242065, -0.8389475345611572, -0.36124172806739807, 0.0698479413986206, 0.1588360071182251, 0.5051063895225525, -0.5730135440826416, 0.3930119574069977, 0.36937645077705383, -0.3794653117656708, -0.46908828616142273, -0.3498675525188446, -0.06147079914808273, -0.3171822726726532, -0.2451935112476349, 0.13000793755054474, -0.21111741662025452, -0.4463713765144348, -0.2644788324832916, 0.026419363915920258, -0.2696722745895386, 0.19197165966033936, 0.051577143371105194, 0.06989748775959015, -0.021345391869544983, 0.14422418177127838, 0.28172731399536133, -0.14147858321666718, 0.08901721984148026, -0.6974855065345764, 0.40256646275520325, 0.32331377267837524, -0.5030450224876404, -0.3228815793991089, 0.33525845408439636, 0.2913346290588379, -0.01751098409295082, 0.5308070182800293, 0.44437143206596375, -0.5855644941329956, -0.2957933843135834, -0.4282767176628113, -0.4185856878757477, -0.397068053483963, 0.04018528759479523, -0.37478455901145935, -0.8637060523033142, 0.5246459245681763, -0.30093488097190857, 0.23393061757087708, 0.3446539342403412, 0.9717504978179932, -0.1436963528394699, 1.0957812070846558, 0.5856578350067139, -0.27191802859306335, 0.880516767501831, -0.23669490218162537, 0.07080391049385071, -0.5162683129310608, 0.0601075105369091, -0.3159334659576416, 0.1834234595298767, -0.22600647807121277, -0.5055870413780212, 0.40221989154815674, 0.2138187438249588, -0.5212590098381042, -0.004577465821057558, 0.19203542172908783, 0.47519415616989136, 0.598585844039917, 0.035887300968170166, 0.23497483134269714, -0.0423392727971077, -0.5304996371269226, 0.26094427704811096, -0.5885196924209595, -0.513090193271637, 0.8955538868904114, 0.1233852431178093, 0.7900869846343994, 0.05687979981303215, 0.7482743859291077, 0.0367637500166893, 0.7042573094367981, -0.40287983417510986, 0.20382320880889893, 0.5265937447547913, -0.5422856211662292, -0.05864311382174492, -0.5168886184692383, -0.9022783041000366, 0.2131461203098297, 0.033982053399086, -1.2406710386276245, 0.022859729826450348, 0.2218673676252365, -0.5005832314491272, 0.06629449129104614, -0.5602447390556335, 0.964231550693512, 0.10573691874742508, -0.2557477355003357, -0.3519741892814636, -0.8421362638473511, 0.46647909283638, -0.1117185428738594, 0.29981672763824463, -0.004568831995129585, 0.015112991444766521, 0.41406872868537903, -0.36793452501296997, 0.956619381904602, -0.1748218536376953, -0.4262031614780426, 0.33608660101890564, 0.07888095825910568, 0.7030258774757385, 0.3458225131034851, -0.17341811954975128, -0.16141381859779358, -0.17060306668281555, -0.22547967731952667, -0.6287434697151184, 0.5515393018722534, -0.535654604434967, -0.47324231266975403, -0.3724266588687897, -0.5321191549301147, -0.394938588142395, -0.026132676750421524, 0.4953082799911499, 0.4209563434123993, -0.008712212555110455, -0.11816814541816711, 0.48048821091651917, -0.022405371069908142, 0.6297432780265808, 0.6449053287506104, -0.15963466465473175, -0.331354558467865, 0.5793914198875427, 0.10666847229003906, 0.44736167788505554, 0.6627547144889832, 0.3839161694049835, -0.4248424470424652, -0.4817228615283966, -0.5157427191734314, 0.2555854618549347, -0.7433857321739197, -0.054002679884433746, -0.589958667755127, 0.1530722677707672, -0.4178180396556854, -0.3150619864463806, -0.09400685876607895, 0.001996251055970788, -0.20887048542499542, -0.2824766933917999, 0.23806342482566833, 0.8669599890708923, -0.2271173596382141, 0.5114105939865112, -0.7938252091407776, 0.035210248082876205, 0.22001604735851288, -0.01438659057021141, -0.028626656159758568, -0.7983384132385254, -0.13028673827648163, -0.00208408385515213, -0.11987783014774323, -1.1934313774108887, 0.6112061142921448, 0.10026263445615768, 0.8416064977645874, 0.58321213722229, 0.02502833493053913, 0.6091995239257812, -0.8918400406837463, 0.8749753832817078, -0.05928662046790123, -0.684843897819519, 0.5596412420272827, -0.6112892627716064, 0.2968084216117859, 0.4166681170463562, 0.7087641358375549, -0.44071269035339355, -0.48048049211502075, -0.6912548542022705, -0.793688952922821, 0.3131992220878601, -0.07704983651638031, 0.05448133870959282, -0.49678146839141846, 0.36197665333747864, 0.20291289687156677, 0.4364871382713318, -0.5543873906135559, -0.05847426876425743, 0.2526884078979492, -0.3090173304080963, -0.4249422550201416, -0.0712653398513794, 0.15632283687591553, -0.265159547328949, 0.4276388883590698, -0.3549738824367523, 0.23549804091453552, -0.019260495901107788, -0.4479655623435974, 0.08868394047021866, 0.10040229558944702, 0.48743656277656555, 1.2251896858215332, -0.13520433008670807, 0.2271619439125061, 0.11888496577739716, -0.0946328416466713, 0.013644282706081867, 0.14787791669368744, 0.006053691264241934, -0.2356334924697876, 0.2541621923446655, 0.5565029978752136, 0.4070426821708679, -0.803921639919281, 0.500167191028595, -0.04341380298137665, 0.008581053465604782, -0.44620513916015625, -0.1323450803756714, 0.1507905125617981, 0.5539155006408691, 0.5663440823554993, -0.35733145475387573, 0.2531847059726715, -0.6086222529411316, 0.4159030616283417, 0.2312132567167282, -0.13366355001926422, -0.31892654299736023, 0.360212117433548, -0.30620962381362915, 0.0059637390077114105, 0.5623579025268555, -0.2950367033481598, -0.4568755030632019, 0.3194245398044586, 0.8244978785514832, 0.738027036190033, -0.28631341457366943, 0.31970927119255066, 0.6663119792938232, 0.10177769511938095, -0.6191487312316895, 0.18156416714191437, -0.5812434554100037, -0.6646678447723389, -0.7539094090461731, -0.41160762310028076, -0.6538172960281372, -0.0947493240237236, -0.45757171511650085, -0.07371000200510025, -0.3417775630950928, 0.0774257481098175, -0.3014766573905945, -0.14631997048854828, -0.6862804293632507, -0.011518837884068489, 0.2841447591781616, 0.7591163516044617, -1.1250568628311157, 0.9208196997642517, 0.4746910035610199, -0.5751562714576721, -0.8749693632125854, 0.3413946330547333, -0.061014898121356964, -0.5210599303245544, 0.6535271406173706, 0.10366111248731613, 0.33682796359062195, 0.4031849801540375, -0.5748234987258911, -0.8754622340202332, 0.9806285500526428, 0.496599406003952, -0.6822280883789062, 0.14123818278312683, -0.46246811747550964, 0.33285439014434814, -0.2787759304046631, 0.5989837050437927, 0.5173149704933167, 0.26657500863075256, 0.18425360321998596, -0.7149035930633545, -0.05435540899634361, -0.17052985727787018, -0.04207506403326988, 0.11206580698490143, 0.016401860862970352, 0.8552184700965881, -0.526740550994873, -0.25219205021858215, 0.024503175169229507, 0.8052429556846619, 0.7125465273857117, -0.005240150727331638, 0.4431050419807434, 0.3655243515968323, 1.2075440883636475, 0.2582021653652191, 1.280306339263916, -0.12702013552188873, 0.21708030998706818, 1.2070847749710083, -0.4183312654495239, 1.240797519683838, 0.3770838677883148, -0.13830465078353882, 0.6890197396278381, 1.035215973854065, 0.45781391859054565, 0.6974197030067444, 0.27853822708129883, -0.4761659801006317, -0.2647304832935333, 0.296150803565979, -0.31168273091316223, -0.08952291309833527, 0.6674360036849976, -0.2995713949203491, -0.4412909746170044, 0.1311616152524948, -0.04838239774107933, -0.18009011447429657, -0.311390221118927, 0.9291988611221313, 0.2422383725643158, -0.8874536752700806, 0.3295903503894806, -0.3460580110549927, 0.3832336962223053, -0.5884618163108826, -0.13484086096286774, -0.1949329674243927, 0.1952727884054184, 0.33308151364326477, -0.9030030369758606, -0.08151189237833023, 0.027754714712500572, -0.10538242012262344, -0.20246267318725586, 0.405632883310318, -0.6385127305984497, -0.334314227104187, 0.01916065625846386, 0.653735339641571, 0.30503228306770325, -0.3283807039260864, -0.418571799993515, -0.2316761612892151, -0.5293369889259338, -0.46218401193618774, 0.34358757734298706, 0.5747738480567932, -0.39502280950546265, 0.683635950088501, 0.5106028914451599, -0.05006691813468933, 0.12308003008365631, 0.3301965892314911, 0.6270502209663391, -0.5094341039657593, -0.6074376106262207, -1.1089656352996826, 0.5374797582626343, -0.016356520354747772, -0.1849949210882187, 0.6652042269706726, 0.062306713312864304, 0.780511736869812, -0.05752965807914734, 0.7719758152961731, 0.19756798446178436, 0.3187562823295593, -0.6184208393096924, 0.39316526055336, -0.2768079340457916, 0.15203487873077393, -0.3591378927230835, -0.8675354719161987, -0.2693849802017212, 1.0173749923706055, -0.46901068091392517, 0.12489897012710571, 0.7526549100875854, 0.597793698310852, 0.1624983549118042, -0.12277045845985413, 0.3206527829170227, 0.06293702870607376, 0.39660629630088806, 0.6378365755081177, 1.0717391967773438, 0.06746138632297516, -0.0824039950966835, -0.1572122722864151, -0.330417662858963, -0.11854862421751022, -1.2662768363952637, -0.8668005466461182, -0.8466150760650635, -0.11314550787210464, 0.006787885911762714, 0.15471725165843964, 1.2452806234359741, 0.6301644444465637, -0.563786506652832, -0.18007589876651764, -0.2551546096801758, 0.23255163431167603, -0.3240968883037567, -0.14737984538078308, 0.19437406957149506, -0.5902518630027771, -0.7068678140640259, 0.4788156747817993, 0.19435633718967438, -0.10956672579050064, -0.23971454799175262, 0.09781970828771591, -0.17783457040786743, -0.1857508420944214, 0.7362743020057678, 0.2858494222164154, -0.5412886142730713, -0.23302215337753296, -0.2440119832754135, -0.12093154340982437, -0.2344372719526291, 0.9469277858734131, -1.061672568321228, 0.33891475200653076, 0.752752423286438, 0.6275234222412109, 0.5226209759712219, -0.20739878714084625, 1.0863174200057983, -0.8607251644134521, 0.1979181170463562, 0.2270267903804779, 0.6587403416633606, 0.198801189661026, -0.09440214931964874, 0.5127591490745544, 0.16109785437583923, -0.5919743180274963, -0.7085978984832764, 0.19190292060375214, -0.7646427154541016, -0.2785186469554901, 1.302512526512146, -0.30053040385246277, -0.10930687189102173, -0.09003697335720062, -0.0811455249786377, 0.08446229249238968, -0.3456691801548004, 0.41706934571266174, 0.4152657985687256, 0.24642474949359894, -0.34670111536979675, -0.9534052014350891, 0.382941871881485, -0.034663837403059006, -0.9327530264854431, 0.14656300842761993, 0.6287027597427368, 0.29181429743766785, -0.1530693918466568, 0.9298211932182312, 0.15446719527244568, 0.20398154854774475, -0.10737567394971848, -0.13250090181827545, 0.45290350914001465, -0.5084306597709656, -0.26081082224845886, 0.08222747594118118, 0.07140902429819107, 0.17057135701179504 ]
http://arxiv.org/abs/2406.01855v1
http://arxiv.org/pdf/2406.01855v1
TruthEval: A Dataset to Evaluate LLM Truthfulness and Reliability
2024-06-04T00:01:35
2024-06-04T00:01:35
Aisha Khatun, Daniel G. Brown
cs.CL
cs.CL, cs.AI
Large Language Model (LLM) evaluation is currently one of the most important areas of research, with existing benchmarks proving to be insufficient and not completely representative of LLMs' various capabilities. We present a curated collection of challenging statements on sensitive topics for LLM benchmarking called TruthEval. These statements were curated by hand and contain known truth values. The categories were chosen to distinguish LLMs' abilities from their stochastic nature. We perform some initial analyses using this dataset and find several instances of LLMs failing in simple tasks showing their inability to understand simple questions.
[ 0.029219595715403557, -0.8149611949920654, 0.7183957695960999, 0.1587531417608261, 0.05526294931769371, 0.3028719127178192, -0.3339815139770508, -0.20257596671581268, -0.39584288001060486, 0.5054008364677429, -0.7317085862159729, -0.5970243811607361, -0.7614596486091614, 0.10488332062959671, -0.4023112654685974, 1.0728180408477783, -0.06054149195551872, 0.06861184537410736, -0.44357889890670776, -0.47823628783226013, -0.5163463950157166, -0.49363189935684204, -0.30067184567451477, -0.3113364279270172, 0.21391059458255768, 0.5299820899963379, 0.5855351090431213, 0.554227352142334, 1.0482665300369263, 0.2629958689212799, -0.11953047662973404, -0.12094620615243912, -0.7939572334289551, 0.27121177315711975, -0.4004623591899872, -0.6551998853683472, -0.25085413455963135, 0.18246808648109436, 0.7375141382217407, 0.9566125869750977, -0.3903029263019562, 0.5753002762794495, -0.018054066225886345, 0.7325730323791504, -0.5961317420005798, 0.045345038175582886, -0.7297288775444031, 0.04874392971396446, -0.2565360367298126, 0.14903998374938965, -0.30769339203834534, -0.8777862787246704, 0.08843731880187988, -0.07336977124214172, 0.24728523194789886, 0.08407338708639145, 0.5334755182266235, 0.4635804295539856, -0.4156041443347931, -0.4872531592845917, -0.7234299182891846, 1.1609638929367065, -0.580990195274353, 0.36614400148391724, 0.28050342202186584, 0.677122175693512, -0.07720104604959488, -0.7229238152503967, -0.4498855769634247, -0.5863617658615112, 0.26522791385650635, 0.034236062318086624, -0.060414087027311325, -0.22519969940185547, 0.3298315107822418, 0.6099933981895447, -0.5417878031730652, 0.13900144398212433, -0.3350793123245239, -0.12995731830596924, 0.5757508277893066, 0.5445642471313477, -0.13003146648406982, -0.11272641271352768, -0.45211419463157654, -0.032428182661533356, -0.7811406254768372, -0.17354507744312286, 0.33069750666618347, 0.051599614322185516, -0.05286870151758194, 0.7331871390342712, -0.09198952466249466, 0.6333603262901306, -0.27120441198349, -0.5561882257461548, 0.30338555574417114, -0.4138534367084503, -0.08254726231098175, -0.15171372890472412, 0.4913654327392578, 0.4363502562046051, 0.08046156167984009, -0.013738305307924747, -0.319827139377594, -0.08866813033819199, 0.22320762276649475, -0.7134051322937012, 0.04822976142168045, 0.38262739777565, -0.6311691403388977, -0.3996582627296448, -0.1862848699092865, -0.5088216066360474, -0.6276415586471558, -0.09774523973464966, 0.2255970984697342, -0.3418267071247101, -0.24846281111240387, -0.032762426882982254, 0.10636808723211288, 0.053025178611278534, 0.17570839822292328, -0.42832162976264954, 0.2566269338130951, 0.7480705976486206, 0.6260538697242737, -0.48622363805770874, -0.226704940199852, -0.41062232851982117, -0.22837130725383759, -0.3687167167663574, 0.6247684359550476, -0.6051485538482666, -0.49475041031837463, 0.10671589523553848, 0.09443139284849167, 0.014638494700193405, -0.8029305934906006, 1.0083997249603271, -0.46328598260879517, -0.07009706646203995, -0.4944573938846588, -0.786424458026886, -0.005646968726068735, 0.4708119332790375, -0.7103955149650574, 0.9212389588356018, 0.20969372987747192, -0.762855589389801, 0.2957930564880371, -0.5373983979225159, -0.17016486823558807, 0.18155121803283691, -0.25472038984298706, -0.290962278842926, 0.22049331665039062, -0.3473384976387024, 0.28876957297325134, -0.5005663633346558, 0.512989342212677, -0.3794514536857605, -0.2003757506608963, 0.6029363870620728, -0.7788535356521606, 0.5806565284729004, 0.30964359641075134, -0.14706793427467346, -0.08874659985303879, -0.9950850605964661, 0.033320631831884384, 0.16610264778137207, -0.5869457125663757, -0.02888534776866436, 0.260380357503891, 0.01080165896564722, 0.16462942957878113, 0.5636481642723083, -0.5137879848480225, 0.1277572363615036, -0.15626640617847443, 0.17874616384506226, 0.891177773475647, 0.03937830775976181, -0.16665543615818024, -0.5551822185516357, 0.49259281158447266, -0.08848264068365097, 0.18765132129192352, 0.23027119040489197, -0.14845646917819977, -0.8181660175323486, 0.07095194607973099, 0.20393583178520203, 0.5344229936599731, -0.6075330972671509, 0.29106444120407104, -0.4298020303249359, -0.6125785708427429, -0.6830673813819885, 0.49684464931488037, 0.527859628200531, 0.8192499279975891, 0.2729828953742981, 0.061372920870780945, -0.233086958527565, -1.3601744174957275, -0.23687127232551575, -0.3477898836135864, -0.054610442370176315, 0.4021672010421753, 0.6468602418899536, -0.2017182856798172, 0.627906858921051, -0.4525785744190216, -0.08988430351018906, -0.3053896725177765, 0.29076072573661804, 0.3731403350830078, 0.16809312999248505, 0.19128625094890594, -0.5713050961494446, -0.07141111046075821, -0.45347630977630615, -0.9388105869293213, -0.22167816758155823, 0.24521088600158691, 0.22344593703746796, 0.07229692488908768, 0.3218730688095093, -0.17691922187805176, 0.18021124601364136, 0.6555931568145752, -0.17876194417476654, 0.6734097003936768, -0.08607246726751328, 0.06376329809427261, -0.7892958521842957, 0.06839311867952347, -0.13889458775520325, -0.054410919547080994, -0.364348441362381, 0.08928120881319046, 0.039326105266809464, 0.15054777264595032, -0.6191485524177551, 0.41831281781196594, -0.2528831660747528, -0.17629964649677277, -0.2955138385295868, 0.21018174290657043, -0.1443241685628891, 0.09254185855388641, -0.023843159899115562, 0.8006452322006226, 0.3558684289455414, -0.3921408951282501, 0.8505565524101257, 0.3246855139732361, -0.6045729517936707, 0.9029410481452942, -0.6873696446418762, 0.29190969467163086, -0.007255766075104475, -0.23682236671447754, -0.9439651966094971, -0.13512322306632996, -0.2736330032348633, -0.053293377161026, 0.15883798897266388, -0.04161599278450012, -0.4972047507762909, -0.39563247561454773, -0.25570496916770935, 0.3766927421092987, 0.32056093215942383, -0.5198816061019897, 0.08930553495883942, 0.3457167148590088, -0.13065697252750397, -0.6287302374839783, -0.7299644351005554, 0.1920890361070633, -0.11787966638803482, -0.5345889329910278, -0.1664590984582901, -0.47695663571357727, -0.7666386961936951, -0.024016795679926872, -0.15132249891757965, 0.025327635928988457, 0.2711046636104584, 0.4513413906097412, 0.32822540402412415, -0.32449957728385925, 0.4581798315048218, -0.5104996562004089, 0.09562502801418304, 0.22815395891666412, 0.1637706160545349, 0.2948698401451111, -0.6536343693733215, -0.71926349401474, -0.03426321595907211, 0.15138259530067444, 0.3601536750793457, 0.20384225249290466, 0.7537432909011841, 0.23097212612628937, -0.21705849468708038, -0.20817402005195618, -0.8356561064720154, 0.06101646274328232, -0.48343196511268616, 0.4038673937320709, -0.3295908272266388, -1.0636664628982544, 0.3100570738315582, -0.09402717649936676, 0.11119402199983597, 0.47654667496681213, 0.7257202863693237, -0.06660644710063934, 0.5948877930641174, 0.482039213180542, -0.19449838995933533, -0.19739504158496857, -0.002680673496797681, -0.12518063187599182, -0.6033684015274048, -0.2548300623893738, -0.5442476272583008, -0.21704132854938507, -0.6945463418960571, -0.4380567669868469, 0.3313271701335907, -0.18428629636764526, -0.1376047134399414, -0.1148371696472168, -0.4291262626647949, 0.4423448145389557, 0.30039915442466736, 0.048396721482276917, 0.5855509638786316, -0.3089275062084198, -0.08619476109743118, -0.24178512394428253, -0.38668641448020935, -0.9621189832687378, 1.332709550857544, 0.5159329771995544, 1.0609055757522583, 0.3044961392879486, 0.20840230584144592, 0.44682273268699646, 0.6153334379196167, -0.7981606125831604, 0.6231265664100647, -0.02816047891974449, -0.8703259229660034, -0.29082342982292175, -0.5054823756217957, -0.7683907151222229, -0.15170231461524963, -0.14975057542324066, -0.5548397898674011, -0.1121482104063034, -0.24385780096054077, -0.2750205397605896, 0.25020137429237366, -0.33863314986228943, 0.6170232892036438, -0.48102909326553345, -0.3990538418292999, -0.16184169054031372, -0.6525006890296936, 0.6474335193634033, -0.36494123935699463, 0.19276706874370575, -0.31527212262153625, -0.14743801951408386, 0.9957745671272278, -0.31681209802627563, 0.6158564686775208, 0.026556996628642082, -0.04443613812327385, 0.16928769648075104, 0.14330735802650452, 0.4103940427303314, 0.011115423403680325, -0.529809832572937, 0.07496614754199982, 0.04473195597529411, -0.34945905208587646, -0.39868125319480896, 0.8716104030609131, -0.7605070471763611, -0.7152350544929504, -0.4985774755477905, -0.5001459717750549, -0.6332747936248779, 0.02854778803884983, 0.06994348764419556, 0.32899415493011475, -0.5779743790626526, 0.42403268814086914, 0.8470500111579895, -0.2166840136051178, 0.37496012449264526, 0.7620773911476135, -0.17485614120960236, -0.15930679440498352, 0.6909191012382507, 0.246769517660141, 0.3141325116157532, 0.09352418035268784, 0.09667735546827316, -0.43215036392211914, -0.9784175157546997, -0.08463726937770844, 0.05709066987037659, -0.9865649342536926, -0.13865724205970764, -0.34078750014305115, -0.41444921493530273, -0.03426341339945793, 0.11376190185546875, -0.4533410668373108, -0.4259045124053955, -0.027446340769529343, -0.47390639781951904, 0.25356248021125793, 1.0287941694259644, 0.10526915639638901, 0.11483276635408401, -0.7270318865776062, 0.4358120858669281, 0.661267101764679, 0.3963952958583832, -0.3820458948612213, -0.6292298436164856, -0.03973833844065666, -0.14177389442920685, -0.2859387993812561, -0.6430680751800537, 0.07988741993904114, 0.23318859934806824, 0.7742797136306763, 0.5102509260177612, 0.18417681753635406, 0.34168741106987, -0.30095958709716797, 0.8000970482826233, 0.06459222733974457, -0.7509695291519165, 0.793282687664032, -0.167273610830307, 0.1076013520359993, 1.0181819200515747, 0.4664696455001831, -0.38279569149017334, -0.2895351052284241, -0.670538067817688, -0.5514918565750122, 0.4228889048099518, 0.1443215161561966, 0.03144245967268944, -0.024137789383530617, 0.3535503149032593, 0.35545289516448975, 0.5495061278343201, -0.5489215850830078, -0.29395925998687744, 0.0006503092008642852, -0.32446858286857605, -0.08158908784389496, -0.6144384741783142, -0.5053344368934631, -0.006934150122106075, 0.33739909529685974, -0.1063128262758255, -0.044326066970825195, -0.034288518130779266, -0.30044206976890564, -0.0946335420012474, 0.48601993918418884, 0.46818187832832336, 1.159536600112915, -0.46223175525665283, 0.3557669520378113, 0.48878178000450134, -0.5084541440010071, 0.27955731749534607, -0.025838734582066536, 0.09809950739145279, -0.24989387392997742, 0.6637415885925293, 0.6120952367782593, 0.04318689927458763, -0.9465931057929993, 0.7717396020889282, -0.14324752986431122, -0.1517236977815628, -0.44282424449920654, 0.09272749722003937, 0.12237829715013504, 0.1325729936361313, 0.5122609734535217, -0.14944878220558167, 0.07068850100040436, -0.7655727863311768, 0.23761361837387085, 0.38628628849983215, -0.56939297914505, -0.14964814484119415, 0.5123640894889832, 0.06443309783935547, -0.18829134106636047, 0.7982234954833984, -0.08172651380300522, -0.4795857071876526, 0.46745243668556213, 0.3187621235847473, 0.677415132522583, -0.2696199417114258, 0.10482002794742584, 0.0749339908361435, 0.545871376991272, -0.048962466418743134, 0.39407777786254883, 0.25839173793792725, -0.70839524269104, -0.3757348656654358, -0.7672770619392395, -0.813744843006134, 0.40915900468826294, -0.5857539176940918, -0.03498457744717598, -0.6522796750068665, -0.1334879994392395, -0.24041946232318878, 0.21979856491088867, -0.6970763802528381, 0.447017639875412, -0.10346441715955734, 1.117876648902893, -0.8621104955673218, 0.6588292717933655, 0.3289332687854767, -0.2303948998451233, -0.6239392161369324, -0.089784175157547, 0.1853267252445221, -1.1799036264419556, 0.9047949910163879, -0.18938195705413818, 0.018588222563266754, -0.5513292551040649, -0.7746151685714722, -0.553057849407196, 1.127051591873169, 0.45874765515327454, -0.6358818411827087, 0.29021334648132324, 0.45761945843696594, 0.5668039321899414, -0.31307438015937805, 0.3852246105670929, 0.7627479434013367, 0.6954078078269958, 0.3008875846862793, -0.9249200820922852, 0.2309190183877945, -0.14684487879276276, -0.10458947718143463, -0.3167072534561157, -0.9659143686294556, 0.7158615589141846, -0.17002099752426147, -0.06217803433537483, 0.030086694285273552, 0.5051812529563904, 0.4569510221481323, 0.3515603542327881, 0.44084805250167847, 0.5531350374221802, 1.0848467350006104, -0.2279025912284851, 1.0053653717041016, -0.17885848879814148, 0.29692456126213074, 1.2396421432495117, -0.5118612051010132, 0.8536412119865417, 0.3034728765487671, -0.3763936161994934, 0.21796704828739166, 0.48111844062805176, -0.2623521387577057, 0.3859163820743561, 0.42824605107307434, -0.3429030776023865, -0.4330357611179352, -0.3930530548095703, -0.37008601427078247, 0.3514571487903595, 0.3832341134548187, -0.18962746858596802, -0.21940813958644867, 0.00725304801017046, -0.15000437200069427, 0.10995036363601685, -0.25632503628730774, 0.6226416230201721, 0.19491060078144073, -0.35637643933296204, 0.5515069961547852, -0.1469179093837738, 0.43409204483032227, -0.4551725685596466, -0.060361988842487335, -0.2859487235546112, 0.059504952281713486, -0.21285828948020935, -1.1641038656234741, 0.30045679211616516, 0.017628366127610207, -0.1024276539683342, -0.08975107222795486, 0.8842771649360657, -0.07410664111375809, -0.7499892711639404, 0.14049912989139557, 0.7307453751564026, 0.3363385796546936, 0.18163476884365082, -0.6570497155189514, 0.29281824827194214, -0.1546926647424698, -0.451871782541275, 0.11793896555900574, 0.34786707162857056, 0.12269145995378494, 1.1823123693466187, 0.3974381983280182, 0.30567944049835205, -0.08797672390937805, 0.135609969496727, 0.7010552287101746, -0.8437591791152954, 0.13037128746509552, -0.8459153771400452, 0.25627967715263367, -0.2004980891942978, -0.26739487051963806, 0.9245633482933044, 0.662087082862854, 0.38583600521087646, 0.2160949409008026, 1.0018682479858398, 0.29925206303596497, 0.8507943749427795, -0.571983277797699, 0.6191812753677368, -0.33170562982559204, 0.6382970809936523, 0.059860046952962875, -0.7750430703163147, 0.005384907592087984, 0.41961613297462463, -0.4586608409881592, 0.11532001197338104, 0.7977020144462585, 0.6941481232643127, 0.13958190381526947, 0.15808966755867004, 0.5193262100219727, 0.5278105139732361, 0.139687642455101, 0.7435756325721741, 1.3541899919509888, -0.1245713159441948, 0.6445088386535645, -0.04769947752356529, -0.1400197595357895, -0.3214731514453888, -1.0425572395324707, -0.9771150946617126, -0.4305118918418884, -0.45057445764541626, -0.48730361461639404, 0.23948867619037628, 0.7621850371360779, 0.5183970332145691, -0.8781219124794006, -0.12254254519939423, 0.14556708931922913, 0.47218286991119385, 0.17555297911167145, -0.20156407356262207, 0.43619105219841003, -0.22967155277729034, -0.48298126459121704, 0.6406934261322021, 0.2317628264427185, -0.06782115250825882, -0.5116852521896362, 0.08167365193367004, 0.16304002702236176, 0.11714980006217957, 0.3058280348777771, 0.03066365234553814, -0.3963624835014343, -0.515860915184021, -0.08210334926843643, -0.3237442374229431, 0.1152225211262703, 0.5322138667106628, -0.47421401739120483, 0.2559918165206909, 0.3375084698200226, 0.5879503488540649, 0.43049922585487366, 0.04750123992562294, 0.20343680679798126, -0.7018553018569946, -0.25829216837882996, 0.42392560839653015, 0.38791248202323914, 0.510097086429596, -0.07091303169727325, 0.6833937764167786, 0.31717798113822937, -0.741374135017395, -0.8362961411476135, 0.2553505599498749, -1.0013223886489868, -0.20867371559143066, 1.266632080078125, -0.21060220897197723, -0.28096097707748413, -0.4452425539493561, 0.032725926488637924, -0.1594788283109665, -0.0954802855849266, 0.7374143004417419, 1.1151918172836304, -0.1065506711602211, -0.19930309057235718, -0.8666781783103943, 0.38296762108802795, 0.262744665145874, -0.7469356656074524, 0.17350509762763977, 0.5727917551994324, 0.6147018074989319, 0.2099587321281433, 0.49314528703689575, -0.1356915980577469, -0.018380040302872658, -0.025422584265470505, -0.23447604477405548, 0.017409279942512512, 0.005627953447401524, -0.3984875977039337, 0.5694705247879028, 0.6640792489051819, 0.09337550401687622 ]
http://arxiv.org/abs/2406.01835v1
http://arxiv.org/pdf/2406.01835v1
An Open Multilingual System for Scoring Readability of Wikipedia
2024-06-03T23:07:18
2024-06-03T23:07:18
Mykola Trokhymovych, Indira Sen, Martin Gerlach
cs.CL
cs.CL, cs.AI
With over 60M articles, Wikipedia has become the largest platform for open and freely accessible knowledge. While it has more than 15B monthly visits, its content is believed to be inaccessible to many readers due to the lack of readability of its text. However, previous investigations of the readability of Wikipedia have been restricted to English only, and there are currently no systems supporting the automatic readability assessment of the 300+ languages in Wikipedia. To bridge this gap, we develop a multilingual model to score the readability of Wikipedia articles. To train and evaluate this model, we create a novel multilingual dataset spanning 14 languages, by matching articles from Wikipedia to simplified Wikipedia and online children encyclopedias. We show that our model performs well in a zero-shot scenario, yielding a ranking accuracy of more than 80% across 14 languages and improving upon previous benchmarks. These results demonstrate the applicability of the model at scale for languages in which there is no ground-truth data available for model fine-tuning. Furthermore, we provide the first overview on the state of readability in Wikipedia beyond English.
[ -0.44447872042655945, -0.46792519092559814, 0.3402768075466156, 0.2129136025905609, -0.3386784493923187, -0.06056249514222145, -0.6060288548469543, -0.9418769478797913, 0.30201685428619385, -0.029759537428617477, -0.44415825605392456, -0.5417633056640625, -0.4365389943122864, 0.3808099329471588, -0.32735341787338257, 1.0028101205825806, -0.27826157212257385, -0.0487012043595314, -0.16307123005390167, -0.39368730783462524, -0.07268542796373367, -0.08606777340173721, -0.29281312227249146, -0.2309771180152893, 0.8990259170532227, 0.7589250802993774, 0.5862501859664917, 0.6930107474327087, 0.39794906973838806, 0.17135678231716156, -0.04960715025663376, 0.30334651470184326, -0.6686238646507263, -0.09101828932762146, -0.4303077161312103, -0.1887924075126648, -0.2800876498222351, -0.027006160467863083, 0.6956271529197693, 0.6948010921478271, -0.018665950745344162, 0.23079048097133636, -0.007445821072906256, 0.3123106062412262, -0.5240825414657593, 0.2531651556491852, -0.37551626563072205, 0.014942139387130737, -0.2779093384742737, 0.20640411972999573, -0.5579944849014282, -0.26062560081481934, 0.029420090839266777, -0.8456180095672607, 0.16356147825717926, -0.111541248857975, 0.7202908992767334, -0.1832883059978485, -0.49806028604507446, -0.26540160179138184, -0.5027391910552979, 0.648746132850647, -0.554790198802948, 0.8909039497375488, 0.24905693531036377, 0.15936526656150818, 0.328887939453125, -0.14832645654678345, -0.9807358980178833, -0.5181249976158142, 0.06287286430597305, -0.09570637345314026, 0.029747692868113518, -0.5554243326187134, -0.013293374329805374, 0.2013315111398697, -0.7674979567527771, 0.2231539934873581, -0.40785762667655945, 0.055339694023132324, 0.44724172353744507, -0.08261315524578094, 0.6323226690292358, -0.312004029750824, -0.32224568724632263, 0.04416871815919876, -0.45068615674972534, -0.010249866172671318, 0.5820496678352356, 0.44546300172805786, -0.18118146061897278, 0.8561338782310486, -0.361682653427124, 0.7180113196372986, -0.21587221324443817, -0.18727998435497284, 0.251179575920105, -0.10630817711353302, 0.19788174331188202, -0.013441394083201885, 0.7414657473564148, 0.614234983921051, 0.5165195465087891, -0.507095217704773, 0.10822024941444397, -0.2138650119304657, 0.35986530780792236, -0.6283710598945618, -0.28847020864486694, 0.06804955750703812, -0.3037601411342621, -0.2891850471496582, 0.11358573287725449, -0.7508569955825806, -0.5357658267021179, -0.023300776258111, 0.45644864439964294, -0.6236900091171265, -0.5161030292510986, -0.02920294739305973, 0.029438277706503868, -0.00858747772872448, 0.40156736969947815, -0.9474342465400696, -0.00023045961279422045, 0.44746410846710205, 1.0314120054244995, -0.34606555104255676, -0.8896756172180176, -0.03242732584476471, 0.3373059332370758, -0.48300009965896606, 0.8761188983917236, -0.2625446021556854, 0.03743768110871315, -0.23321905732154846, 0.059730786830186844, -0.26351216435432434, -0.07423903793096542, 0.5047298073768616, -0.6834192276000977, -0.08171270042657852, 0.020706355571746826, -0.5849263668060303, -0.3442966639995575, 0.5614866614341736, -0.993399441242218, 0.6061923503875732, 0.05152634531259537, -0.901687741279602, 0.570382297039032, -0.5973016619682312, -0.42897137999534607, -0.11963053792715073, 0.3163275122642517, 0.027278471738100052, 0.008464382030069828, 0.2276836335659027, 0.096515953540802, 0.02714146301150322, 0.04198070988059044, -0.48322513699531555, -0.3037663996219635, -0.055116135627031326, -0.6264600157737732, 0.7715620994567871, 0.12110935896635056, -0.2558501958847046, -0.09225860238075256, -0.8876550793647766, 0.2786372900009155, -0.19950512051582336, -0.6986480355262756, -0.35806435346603394, 0.026325706392526627, 0.44068995118141174, 0.41594991087913513, 0.47003716230392456, -0.8270963430404663, 0.11597438156604767, -0.5393233299255371, 0.10754536837339401, 0.43823695182800293, -0.30931541323661804, 0.34687045216560364, -0.0646204873919487, 0.2717428207397461, 0.044497642666101456, 0.21244852244853973, -0.2535106837749481, -0.5142863392829895, -0.9283159375190735, -0.22532260417938232, 0.47117799520492554, 0.821439802646637, -0.6360777616500854, 0.28894492983818054, -0.45972222089767456, -0.9103781580924988, -0.6031739115715027, 0.29358041286468506, 0.37043890357017517, 0.5511243939399719, 0.3997153043746948, -0.08347565680742264, -0.03424970805644989, -0.6499110460281372, -0.2701944410800934, -0.27447614073753357, 0.06970812380313873, 0.38311031460762024, 0.6568496227264404, -0.13265414535999298, 0.34947800636291504, -0.3308027386665344, 0.009500416927039623, -0.11567296087741852, -0.12582941353321075, 0.46744441986083984, 0.3316892087459564, 0.20313780009746552, -0.7702964544296265, -0.7899193167686462, 0.5358338952064514, -1.126760482788086, 0.21413420140743256, 0.3576894700527191, -0.1717853546142578, 0.05601659044623375, 0.29406848549842834, -0.5855913162231445, 0.12622320652008057, 0.5191271901130676, -0.41192033886909485, 0.3431699872016907, -0.529579758644104, 0.38048622012138367, -0.9737738966941833, 0.3238082826137543, -0.04510737955570221, -0.22747652232646942, -0.5217982530593872, 0.6187352538108826, 0.48567697405815125, -0.43386828899383545, -0.5879589319229126, 0.688384473323822, -0.27086764574050903, 0.32192376255989075, -0.002120045945048332, 0.11261707544326782, 0.13492147624492645, 0.19515125453472137, -0.04797922819852829, 0.5324344038963318, 0.28923219442367554, -0.6012451648712158, 0.6547586917877197, 0.2320251762866974, -0.6669772863388062, 0.8648062348365784, -0.6328216791152954, -0.1364108771085739, -0.34397774934768677, -0.034975774586200714, -0.8042396306991577, -0.3535609245300293, 0.1769924759864807, -0.40184611082077026, 0.45158591866493225, 0.25101420283317566, -0.3706682026386261, -0.1352251172065735, -0.11861682683229446, 0.25852349400520325, -0.3248027265071869, -0.6831529140472412, 0.2749714255332947, 0.4267432987689972, -0.3378596305847168, -0.8580451011657715, -0.282329797744751, 0.15611611306667328, 0.08026018738746643, -0.8151211142539978, 0.1906297653913498, -0.3794041574001312, -0.07832176238298416, 0.20990817248821259, 0.05607286095619202, -0.4116035997867584, 0.00844505149871111, -0.05044591799378395, 0.06663299351930618, -0.18026615679264069, 0.30794647336006165, -0.24539436399936676, -0.18064142763614655, -0.41617920994758606, -0.2189413160085678, 0.33832046389579773, -0.11102155596017838, -0.2879081964492798, -0.16119109094142914, 0.6807330846786499, 0.7495407462120056, -0.4117432236671448, 1.1407333612442017, 0.5498002767562866, -0.5836617350578308, -0.16408006846904755, -0.21018661558628082, 0.4869670569896698, -0.3325243592262268, 0.48698416352272034, -0.5941337943077087, -0.5528372526168823, 0.5003220438957214, 0.3190388083457947, 0.23587660491466522, 0.8735374808311462, 0.5802247524261475, -0.22939208149909973, 0.8616943955421448, 0.8729512095451355, -0.20537501573562622, 0.13436400890350342, 0.0016896965680643916, 0.2900444567203522, -0.1714746057987213, -0.500966489315033, -0.6947963833808899, -0.2703513503074646, -0.5390065908432007, -0.30184561014175415, 0.39396432042121887, 0.4401059150695801, -0.11890684068202972, 0.4181055724620819, -0.19464264810085297, 0.8324027061462402, 0.5554990768432617, 0.24161936342716217, 0.7516448497772217, -0.13087549805641174, -0.6282052993774414, -0.15709751844406128, -0.6481528878211975, -0.38721635937690735, 1.033146619796753, 0.08489201217889786, 0.5702504515647888, 0.5634006261825562, 0.4930317997932434, 0.2628295123577118, 0.4908052682876587, -0.6532807350158691, 0.04852878674864769, -0.2980434000492096, -1.0519176721572876, -0.692385733127594, -0.5147191286087036, -0.6642962098121643, 0.18253068625926971, -0.21335874497890472, -0.5999562740325928, 0.05397830158472061, -0.25404414534568787, 0.003446275368332863, 0.4077548384666443, -0.8091908693313599, 1.0874840021133423, -0.09552407264709473, -0.058780502527952194, -0.24930214881896973, -0.48001042008399963, 0.38774916529655457, -0.4747017025947571, 0.6172028183937073, -0.1384558230638504, -0.035318467766046524, 0.4801377058029175, -0.11694946885108948, 0.53037029504776, 0.09576327353715897, -0.25424444675445557, -0.21896155178546906, -0.10693853348493576, 0.0839279443025589, 0.3244257867336273, -0.4291406571865082, 0.44610974192619324, 0.12007736414670944, -0.41119855642318726, -0.37788301706314087, 1.0506335496902466, -1.0102144479751587, -0.06640643626451492, -0.3138931095600128, -0.5172342658042908, -0.2671085000038147, 0.7065837383270264, 0.42310830950737, 0.18439170718193054, -0.569062352180481, -0.04515373706817627, 0.6499109864234924, -0.4084193706512451, 0.28506338596343994, 1.032619833946228, -0.18486735224723816, -0.44933995604515076, 1.1892157793045044, 0.3740166127681732, -0.13883532583713531, 0.43697288632392883, -0.10237390547990799, -0.4539873003959656, -0.214965358376503, -0.9865032434463501, 0.34772831201553345, -0.7408863306045532, 0.16223004460334778, -0.5089929103851318, -0.09170767664909363, -0.28141582012176514, 0.09066706150770187, -0.16274063289165497, -0.43849998712539673, -0.32845789194107056, -0.29159584641456604, 0.034521378576755524, 0.9922845959663391, -0.3514973819255829, -0.028365300968289375, -0.6807805895805359, 0.594762921333313, 0.22563336789608002, 1.0506430864334106, -0.053196728229522705, -0.4506675601005554, -0.5276926755905151, -0.19066743552684784, -0.11296388506889343, -1.0941262245178223, 0.10107198357582092, 0.4012714922428131, 0.6249086856842041, 0.39897486567497253, 0.01177504938095808, 0.40741127729415894, -1.141420602798462, 0.4315590560436249, 0.32256898283958435, -0.9152602553367615, 0.38420143723487854, -0.3225628137588501, 0.17645728588104248, 0.683517336845398, 0.7864587903022766, -0.8010911345481873, -0.30112263560295105, -0.27716749906539917, -0.6437351703643799, 0.587934136390686, -0.26399579644203186, 0.46860671043395996, -0.1169392317533493, 0.22290796041488647, 0.4473194181919098, 0.06877569109201431, -0.7952762246131897, -0.1438547968864441, -0.293678879737854, -0.3250180780887604, -0.6550979018211365, -0.23667259514331818, 0.2297869175672531, -0.3196937143802643, 0.8581361174583435, -0.07080753147602081, -0.08786288648843765, -0.23671092092990875, -0.4385160803794861, -0.4008794128894806, 0.25704890489578247, 0.38800305128097534, 1.0082919597625732, -0.09462455660104752, -0.03061506152153015, 0.049636248499155045, -0.5724310874938965, 0.26485320925712585, 0.3958801031112671, -0.5777345895767212, 0.2308391034603119, 0.4244789183139801, 0.5670005679130554, 0.43107056617736816, -0.7308924198150635, 0.4847387373447418, -0.026575874537229538, 0.11245250701904297, -0.20479334890842438, -0.02749692276120186, 0.3022162914276123, 0.43399518728256226, 0.24623481929302216, -0.15008145570755005, -0.06424359977245331, -0.31887713074684143, 0.3157343864440918, 0.17224085330963135, -0.5763779282569885, -0.130644291639328, 0.7511147260665894, 0.20224273204803467, -0.17066256701946259, 0.6814491748809814, -0.14742404222488403, -0.22638024389743805, 0.33783093094825745, 0.2866078019142151, 0.18042966723442078, -0.38375040888786316, 0.6074464917182922, 0.5113515257835388, 0.8136922717094421, 0.053356073796749115, 0.40326324105262756, 0.10107322782278061, -0.8241646885871887, -0.41103455424308777, -0.8452907800674438, -0.6143277883529663, -0.08135776966810226, -0.550458550453186, 0.3243764638900757, 0.02784905396401882, 0.02979923039674759, 0.34863635897636414, 0.327347993850708, -0.6245140433311462, 0.4603797197341919, 0.0777871236205101, 1.3227746486663818, -0.8904730081558228, 0.7284590601921082, 0.5556681752204895, -0.5465645790100098, -0.48066890239715576, -0.11040762811899185, -0.42562136054039, -0.44933396577835083, 0.15750207006931305, 0.31275174021720886, 0.2121724784374237, 0.15851223468780518, -0.13804851472377777, -0.8009640574455261, 0.8099765181541443, 0.6558092832565308, -0.3425162136554718, -0.2876584529876709, 0.08409567177295685, 0.46898558735847473, 0.010653339326381683, 0.23777656257152557, 0.17253167927265167, 0.6691387891769409, -0.4090135991573334, -1.1571184396743774, -0.5160010457038879, -0.4482206404209137, -0.5252114534378052, 0.1823793649673462, -0.6351461410522461, 0.9076570272445679, -0.30795061588287354, 0.08687767386436462, 0.04098296910524368, 0.6186022758483887, -0.06272578239440918, 0.43087396025657654, 0.510431170463562, 0.8473101854324341, 1.0406272411346436, 0.11379379034042358, 1.0341600179672241, -0.4176301062107086, 0.6000240445137024, 0.8338211178779602, -0.19488589465618134, 1.1637767553329468, 0.22013996541500092, -0.123201884329319, 0.608597993850708, 0.5146476626396179, 0.03320058435201645, 0.5832138061523438, 0.026305852457880974, -0.44012171030044556, -0.26857230067253113, -0.22473636269569397, -0.23346439003944397, 0.6479951739311218, 0.10936150699853897, -0.47307145595550537, -0.5259655117988586, 0.2546032965183258, 0.05026426538825035, 0.024202656000852585, -0.4633573293685913, 0.5272567868232727, -0.11306993663311005, -0.46097704768180847, 0.34816238284111023, 0.41223078966140747, 0.43477723002433777, -0.44077008962631226, 0.09936077892780304, -0.163644939661026, 0.17536437511444092, -0.15248404443264008, -0.8688532710075378, 0.22897131741046906, 0.5403916239738464, -0.8496440649032593, 0.11350398510694504, 0.5073596239089966, -0.49000629782676697, -0.9528650045394897, 0.4517267942428589, 0.9120701551437378, 0.38023021817207336, 0.01949336752295494, -0.34626513719558716, -0.2435074746608734, -0.1814303994178772, -0.32322874665260315, 0.184840127825737, 0.5904678702354431, 0.01229106169193983, 0.6001916527748108, 0.6030691266059875, 0.17069073021411896, 0.19126996397972107, 0.03585715591907501, 0.6080493330955505, -0.5158838033676147, -0.6380215883255005, -0.6935031414031982, 0.37852048873901367, -0.025689346715807915, -0.6627731919288635, 0.8099919557571411, 0.59521484375, 0.940824568271637, 0.07189596444368362, 0.84059077501297, -0.06671631336212158, 0.702048122882843, -0.09389897435903549, 1.2633836269378662, -0.8032598495483398, -0.3205642104148865, -0.3289627730846405, -0.9376205205917358, -0.35900557041168213, 0.5174838900566101, -0.08452125638723373, -0.08003252744674683, 0.45417484641075134, 0.35243529081344604, -0.31643086671829224, 0.09505308419466019, 0.464713990688324, 0.17005734145641327, -0.055174726992845535, 0.6396772265434265, 0.5424072742462158, -0.14697831869125366, 0.7587603330612183, -0.32155099511146545, -0.4178910553455353, 0.0375853106379509, -0.8331313133239746, -0.773494303226471, -0.4112015664577484, 0.1065056324005127, -0.27100273966789246, 0.13411381840705872, 0.3581552505493164, 0.47146180272102356, -1.02122962474823, -0.09006921201944351, 0.4378165006637573, 0.21480579674243927, -0.20549625158309937, -0.17767518758773804, 0.26002463698387146, -0.1286017745733261, -0.8413999080657959, 0.5230645537376404, 0.2309889942407608, -0.41474831104278564, -0.43295782804489136, -0.1538228690624237, -0.35382798314094543, 0.0016887398669496179, 0.41056758165359497, 0.232384592294693, -0.32192474603652954, -0.2917177677154541, 0.2695245146751404, -0.3200642466545105, -0.16732366383075714, 0.3324895203113556, -0.3905535638332367, 0.8524431586265564, 0.4116051495075226, 0.4985991418361664, 0.41551119089126587, -0.3051066994667053, 0.329835444688797, -0.5027973651885986, -0.12849369645118713, 0.020101342350244522, 0.30130457878112793, 0.37095481157302856, -0.33422356843948364, 0.42262977361679077, 0.11132356524467468, -0.3320831060409546, -0.4806528389453888, 0.03923051431775093, -0.5546531081199646, -0.22960995137691498, 0.6241711378097534, -0.572715699672699, -0.08097486197948456, -0.2574949860572815, 0.15377074480056763, 0.554508626461029, -0.03981451690196991, 0.8943243026733398, 1.1966062784194946, 0.25147420167922974, -0.33641931414604187, -0.6582427620887756, -0.04508259892463684, -0.20608219504356384, -0.7562068104743958, -0.241348534822464, 0.6248342394828796, 0.5732340812683105, 0.31208404898643494, 0.5012309551239014, 0.1354130506515503, 0.4737837314605713, 0.056543730199337006, -0.008390629664063454, -0.06730205565690994, -0.8084054589271545, -0.3442496657371521, 0.5462214350700378, 0.010826420970261097, 0.15810014307498932 ]
http://arxiv.org/abs/2406.01806v1
http://arxiv.org/pdf/2406.01806v1
Contextualized Sequence Likelihood: Enhanced Confidence Scores for Natural Language Generation
2024-06-03T21:55:07
2024-06-03T21:55:07
Zhen Lin, Shubhendu Trivedi, Jimeng Sun
cs.CL
cs.CL, cs.AI
The advent of large language models (LLMs) has dramatically advanced the state-of-the-art in numerous natural language generation tasks. For LLMs to be applied reliably, it is essential to have an accurate measure of their confidence. Currently, the most commonly used confidence score function is the likelihood of the generated sequence, which, however, conflates semantic and syntactic components. For instance, in question-answering (QA) tasks, an awkward phrasing of the correct answer might result in a lower probability prediction. Additionally, different tokens should be weighted differently depending on the context. In this work, we propose enhancing the predicted sequence probability by assigning different weights to various tokens using attention values elicited from the base LLM. By employing a validation set, we can identify the relevant attention heads, thereby significantly improving the reliability of the vanilla sequence probability confidence measure. We refer to this new score as the Contextualized Sequence Likelihood (CSL). CSL is easy to implement, fast to compute, and offers considerable potential for further improvement with task-specific prompts. Across several QA datasets and a diverse array of LLMs, CSL has demonstrated significantly higher reliability than state-of-the-art baselines in predicting generation quality, as measured by the AUROC or AUARC.
[ -0.3718775510787964, -0.8292269706726074, 0.5631376504898071, 0.470795214176178, -0.28049328923225403, -0.09590445458889008, -0.4079139530658722, -0.261430948972702, 0.06898517161607742, 0.3543032705783844, -0.4405422508716583, -0.6128313541412354, -0.4538540840148926, 0.3119086027145386, -0.3068564534187317, 0.9592405557632446, 0.41139572858810425, -0.12652741372585297, -0.46515771746635437, 0.11086838692426682, -0.6610202789306641, -0.5124930739402771, -0.6157686710357666, -0.010237482376396656, 0.5816237926483154, 0.2972455620765686, 0.5597691535949707, 0.41669946908950806, 0.4398055970668793, 0.22152741253376007, -0.06916309893131256, 0.2664763331413269, -0.3702135682106018, 0.4549967050552368, -0.08047965168952942, -0.22580789029598236, -0.5452449321746826, -0.2738778591156006, 0.7055865526199341, 0.9661547541618347, 0.006518973037600517, 0.25847646594047546, 0.47156211733818054, 0.5743187665939331, -0.608156681060791, 0.02067023329436779, -0.8007411360740662, -0.0025315259117633104, -0.02944774739444256, -0.6975953578948975, -0.6673409938812256, -0.4688684046268463, 0.19802270829677582, -0.46267417073249817, 0.2401346117258072, -0.005392097402364016, 0.4821895360946655, 0.3103003203868866, -0.3805687129497528, 0.004759620409458876, -0.47297680377960205, 0.9195274710655212, -0.7659273743629456, 0.1345997154712677, 0.08474769443273544, 0.17369109392166138, -0.3670347034931183, -0.7358725666999817, -0.3343568444252014, -0.2186642289161682, 0.06435296684503555, 0.03266509622335434, 0.19623030722141266, -0.08026225864887238, 0.32100608944892883, 0.4258838891983032, -0.5756652355194092, -0.3119441568851471, -0.02302004024386406, -0.2840552031993866, 0.6455979943275452, 0.11044441163539886, 0.09020164608955383, -0.20685720443725586, -0.2676331102848053, -0.15981650352478027, -0.681298553943634, 0.2042611539363861, 0.2866622507572174, 0.5978801846504211, 0.080543652176857, 0.5324073433876038, -0.4349469840526581, 0.8189182877540588, 0.5193151831626892, -0.1732761710882187, 0.38027116656303406, -0.3230735957622528, -0.33647286891937256, 0.23582270741462708, 0.6097469329833984, 0.3415946662425995, 0.35670438408851624, 0.0049889422953128815, 0.07030658423900604, -0.19534994661808014, 0.3771064877510071, -0.6316264271736145, 0.04635181650519371, 0.43402403593063354, -0.11573588848114014, -0.416130930185318, 0.34430256485939026, -0.5411558747291565, -0.22349749505519867, -0.2305375188589096, 0.025789208710193634, -0.4010375440120697, 0.1734430342912674, -0.18169334530830383, 0.06902442872524261, 0.26776647567749023, 0.2592398226261139, -0.7088262438774109, 0.0066574071533977985, 0.544295072555542, 0.5444280505180359, -0.4186064898967743, 0.01046622171998024, -0.9667922854423523, 0.10167824476957321, -0.4082081615924835, 0.5727066397666931, -0.38142192363739014, -0.29293859004974365, 0.13127577304840088, -0.06754163652658463, 0.1570090651512146, -0.31366389989852905, 0.5888948440551758, -0.5544204711914062, 0.37678617238998413, -0.186870276927948, -0.6119869947433472, 0.0915355235338211, 0.41595029830932617, -0.4821041524410248, 1.2239835262298584, 0.13862857222557068, -0.7971295118331909, 0.487020879983902, -0.21881356835365295, -0.8202016949653625, 0.2522795796394348, -0.15138539671897888, -0.29287925362586975, 0.2501416802406311, 0.28142574429512024, 0.6781639456748962, -0.26883962750434875, 0.6677301526069641, -0.3020716607570648, -0.14190229773521423, 0.5371379852294922, -0.595416784286499, 0.4352265000343323, 0.20468994975090027, -0.38815054297447205, 0.14618022739887238, -0.82264643907547, 0.5113088488578796, -0.29408127069473267, -0.6707369089126587, -0.08202020823955536, -0.11761502176523209, 0.13304740190505981, 0.35952526330947876, 0.23092201352119446, -0.36400142312049866, -0.31731659173965454, -0.7341576814651489, 0.003316758433356881, 0.5546043515205383, 0.4213475286960602, 0.3752220571041107, -0.20633165538311005, 0.4670957922935486, -0.1355731189250946, -0.11128253489732742, -0.311614453792572, -0.7449856400489807, -0.6068614721298218, -0.031087679788470268, 0.32797473669052124, 0.528511643409729, -0.46642011404037476, 0.8730788230895996, -0.3466310501098633, -0.334160715341568, -0.2219342738389969, 0.15118266642093658, 0.3901163339614868, 0.7543438673019409, 0.3727206885814667, -0.5176903605461121, -0.6211074590682983, -0.6504632234573364, -0.3693721294403076, 0.009123497642576694, -0.29995056986808777, 0.3112470507621765, -0.09457871317863464, 0.21371270716190338, 1.236996054649353, -0.5030308365821838, -0.06553224474191666, -0.4391644597053528, 0.13555943965911865, 0.24594004452228546, 0.5173949003219604, 0.19208523631095886, -0.7133564949035645, -0.53171306848526, -0.22242498397827148, -0.5839593410491943, -0.19896703958511353, -0.19759683310985565, -0.12994398176670074, 0.19970665872097015, 0.45114296674728394, -0.5000550150871277, 0.3632083535194397, 0.47608107328414917, -0.33152639865875244, 0.4658624231815338, -0.059170763939619064, 0.2950921952724457, -1.2615578174591064, 0.3295561969280243, 0.11099479347467422, -0.33498725295066833, -0.6493485569953918, 0.010534655302762985, -0.03918450325727463, 0.03616727516055107, -0.5940626859664917, 0.4226955473423004, -0.23207034170627594, -0.16764381527900696, -0.15591035783290863, 0.12787750363349915, 0.04551606997847557, 0.40874990820884705, 0.11775415390729904, 0.5737789869308472, 0.35315653681755066, -0.6971036791801453, 0.17610742151737213, 0.06362801790237427, -0.3044992983341217, 0.5809659361839294, -0.6481411457061768, 0.13138779997825623, -0.03057926706969738, 0.24226732552051544, -0.9992933869361877, -0.4771617650985718, -0.048331547528505325, -0.6623880863189697, 0.39567163586616516, 0.3549976944923401, -0.37801221013069153, -0.0730728879570961, -0.14578425884246826, 0.3773709237575531, 0.4492669403553009, -0.3229405879974365, 0.40237313508987427, 0.204107403755188, -0.3514975607395172, -0.7342552542686462, -0.760143518447876, 0.18567822873592377, -0.24691078066825867, -0.6545753479003906, 0.50379478931427, -0.26508620381355286, -0.1497446894645691, -0.1663631945848465, 0.10682518780231476, 0.14926837384700775, 0.24925096333026886, 0.2054063230752945, 0.06706966459751129, -0.29666104912757874, 0.30190765857696533, 0.11669516563415527, -0.0967436209321022, 0.04188455268740654, -0.3837726414203644, 0.41860339045524597, 0.016161225736141205, -0.14919134974479675, -0.1735890507698059, 0.37565210461616516, 0.35899120569229126, -0.1280665397644043, 0.5529822707176208, 0.5010389089584351, -0.48141875863075256, -0.2579546868801117, -0.511012613773346, -0.29557865858078003, -0.40279683470726013, 0.33611223101615906, -0.08825775980949402, -0.9974814653396606, 0.1800009161233902, 0.09176964312791824, 0.03600911423563957, 0.35477352142333984, 0.6179906725883484, 0.05526832118630409, 0.9978951215744019, 0.4479684829711914, -0.011537584476172924, 0.1809403896331787, 0.301620751619339, 0.23538322746753693, -0.6841408014297485, -0.012475048191845417, -0.2009662240743637, -0.06612972170114517, -0.48498812317848206, -0.5309232473373413, 0.426806777715683, 0.06919155269861221, -0.09258263558149338, 0.11034662276506424, -0.4236831068992615, 0.2814647853374481, 0.6262558698654175, -0.08319756388664246, 0.2545192539691925, 0.22063276171684265, -0.23815779387950897, 0.06013631075620651, -0.6304728388786316, -0.6821619868278503, 1.2590036392211914, 0.19873633980751038, 0.20849207043647766, -0.0007722867885604501, 0.6470354199409485, 0.4057007431983948, 0.4452841877937317, -0.4964691996574402, 0.5803555250167847, 0.022553101181983948, -0.5706144571304321, -0.49466177821159363, -0.32742398977279663, -0.7480951547622681, -0.01485788356512785, -0.3265862762928009, -0.7451467514038086, -0.1486668586730957, 0.43883633613586426, -0.7837320566177368, -0.28361713886260986, -0.2845108211040497, 0.8768392205238342, -0.08072103559970856, -0.659170925617218, 0.008431976661086082, -0.7637737989425659, 0.468187153339386, -0.18226730823516846, 0.05354331433773041, -0.15068863332271576, 0.1595575511455536, 0.43316778540611267, -0.3999635875225067, 0.8447233438491821, -0.019288770854473114, -0.1983805149793625, 0.6014622449874878, -0.17379535734653473, 0.5485619902610779, 0.29660671949386597, -0.1975955218076706, -0.1907842755317688, -0.3402484953403473, -0.18100039660930634, -0.4314720332622528, 0.9040266275405884, -0.20860718190670013, -0.5271444320678711, -0.35429778695106506, -0.6298019289970398, -0.5889919996261597, 0.007514057215303183, 0.4744473695755005, 0.4880552887916565, -0.2914583384990692, 0.32727155089378357, 0.6147471070289612, -0.44220295548439026, 0.35089972615242004, -0.008265790529549122, 0.25982245802879333, -0.5158218741416931, 0.5822415351867676, -0.19780559837818146, 0.3825816512107849, 0.5169768929481506, 0.1599186807870865, -0.3413657546043396, -0.3082534372806549, -0.23360727727413177, -0.31867995858192444, -0.7535397410392761, -0.4058436453342438, -0.5607064962387085, -0.21865203976631165, -0.6403700113296509, -0.27537116408348083, -0.06395676732063293, -0.4604954123497009, -0.3845426142215729, -0.2786402702331543, 0.16529841721057892, 0.24059303104877472, 0.16502541303634644, 0.15478353202342987, -0.6600008606910706, 0.11734988540410995, 0.362287700176239, 0.10657578706741333, -0.09972403943538666, -0.5678064823150635, -0.14554950594902039, -0.11785422265529633, -0.32257595658302307, -0.9261190295219421, 0.6307680606842041, 0.29991161823272705, 0.42331621050834656, 0.30227482318878174, 0.11283542960882187, 0.5315415263175964, -0.5537701845169067, 0.9154753088951111, 0.220639169216156, -0.8103559613227844, 0.6749657392501831, -0.24404531717300415, 0.5379687547683716, 0.5614277124404907, 0.05895264446735382, -0.36309316754341125, -0.7453501224517822, -0.6490782499313354, -1.0355949401855469, 0.32042089104652405, 0.17834629118442535, 0.18382425606250763, -0.49850955605506897, 0.39719897508621216, 0.03719023987650871, 0.30553919076919556, -0.6212034821510315, -0.2433554232120514, -0.09326189011335373, -0.6923509836196899, -0.2596849799156189, -0.30082690715789795, 0.10788562893867493, -0.04309295117855072, 0.8177616000175476, -0.455549955368042, 0.020049797371029854, 0.4181784391403198, -0.19061218202114105, -0.23040330410003662, 0.47309356927871704, 0.6081053614616394, 0.5784375667572021, -0.25831446051597595, 0.14416974782943726, 0.3415397107601166, -0.30655795335769653, 0.06633290648460388, 0.03596704080700874, -0.3109373450279236, 0.05401492491364479, 0.36460527777671814, 0.6224820017814636, 0.4760710895061493, -0.8432220220565796, 0.5239330530166626, 0.12779559195041656, -0.04498802497982979, -0.4700179994106293, 0.053116071969270706, 0.08917228132486343, 0.035450831055641174, 0.5799539685249329, 0.04135952889919281, 0.2608232796192169, -0.34958717226982117, 0.5353115797042847, 0.37592771649360657, -0.5636634826660156, -0.0633402168750763, 0.544677197933197, 0.3604220747947693, -0.0820828452706337, 0.24727460741996765, -0.3685733377933502, -0.21461668610572815, 0.6576845645904541, 0.4870215654373169, 1.0128724575042725, -0.2894013226032257, 0.09260884672403336, 0.7860351800918579, 0.18160748481750488, 0.023009056225419044, 0.21545401215553284, -0.057597801089286804, -0.6772607564926147, -0.6178848147392273, -0.8640432357788086, -0.16058601438999176, 0.11326511949300766, -0.6191447973251343, 0.09099837392568588, -0.36527469754219055, -0.465191513299942, -0.31130251288414, -0.12037559598684311, -0.676129162311554, 0.5665162205696106, 0.42985019087791443, 0.788923442363739, -0.712889552116394, 0.7422814965248108, 0.5841125249862671, -0.07948815077543259, -0.7863242030143738, 0.16429291665554047, -0.133806511759758, -0.31611791253089905, 0.6875369548797607, 0.46133291721343994, 0.051326438784599304, 0.1925257444381714, -0.28237655758857727, -1.0719956159591675, 1.2143700122833252, 0.21096032857894897, -0.6600287556648254, 0.12032148241996765, 0.28735578060150146, 0.4640478789806366, -0.7686138153076172, 0.10712476819753647, 0.5623469352722168, 0.3512928783893585, 0.06916241347789764, -0.6517983675003052, 0.3648383319377899, -0.10056295990943909, 0.19081519544124603, -0.1150217205286026, -0.035372212529182434, 0.5028262138366699, -0.4955151081085205, -0.3453136086463928, 0.23253364861011505, 1.0056535005569458, 0.6400783061981201, 0.2687443196773529, 0.5607714056968689, 0.33406177163124084, 0.8545287251472473, -0.10815007239580154, 1.1088733673095703, -0.6070961952209473, 0.02815815433859825, 1.3256312608718872, -0.29963573813438416, 0.9861544370651245, 0.678299069404602, 0.05406428128480911, 0.5289227962493896, 0.5327664613723755, 0.1676672399044037, 0.45207324624061584, 0.34721997380256653, -0.2699115574359894, -0.4871536195278168, -0.17359325289726257, -0.1434183120727539, 0.1853690892457962, 0.28013792634010315, -0.6950536370277405, 0.14545463025569916, -0.17472374439239502, -0.34095415472984314, 0.3150789439678192, -0.28660014271736145, 0.7114508152008057, 0.12229976803064346, -1.115524411201477, 0.35888075828552246, 0.024830101057887077, 0.5678495764732361, -0.4748128652572632, 0.020125698298215866, -0.1339091658592224, 0.05106452852487564, -0.14090977609157562, -0.7968655824661255, 0.139137402176857, 0.1673695594072342, -0.236480712890625, -0.10801688581705093, 0.7319518327713013, -0.5815058946609497, -0.6160407066345215, -0.04759184643626213, 0.4274388551712036, -0.09163103997707367, -0.19239282608032227, -0.4133799076080322, -0.1626129001379013, -0.09602601826190948, -0.4645964205265045, 0.21853093802928925, 0.3013419806957245, -0.05106997862458229, 0.49151840806007385, 0.816796600818634, -0.017408952116966248, 0.13959364593029022, 0.19191332161426544, 0.4599238336086273, -0.6394686698913574, -0.5697092413902283, -0.6498692035675049, 0.7877694368362427, -0.3760963976383209, -0.5730984210968018, 0.7451253533363342, 0.4434102773666382, 0.5102248191833496, -0.21131391823291779, 0.8622543215751648, -0.02968897856771946, 0.5295570492744446, -0.5411641597747803, 0.3949151635169983, -0.33688831329345703, 0.25565046072006226, -0.3144707679748535, -1.0325392484664917, -0.5599125027656555, 0.4776417911052704, -0.15379562973976135, 0.07108709961175919, 0.7933156490325928, 0.6852487325668335, 0.3176942765712738, -0.24726784229278564, 0.3883429169654846, -0.11026250571012497, 0.10016775131225586, 0.7744647860527039, 0.5827566981315613, -0.3365039527416229, 0.5264552235603333, -0.24670444428920746, -0.08335777372121811, -0.24195806682109833, -1.2255072593688965, -0.8039987683296204, -0.3763035833835602, -0.5889919996261597, -0.39060497283935547, 0.04789314046502113, 0.999792218208313, 0.6224753856658936, -0.969024121761322, -0.003854484995827079, -0.3432251214981079, -0.11749095469713211, -0.42311063408851624, -0.29995930194854736, 0.27888813614845276, -0.7106428742408752, -0.6366903185844421, 0.5129479169845581, 0.4055631756782532, -0.07969925552606583, -0.2261423021554947, -0.21705441176891327, -0.0808367133140564, 0.2477167695760727, 0.6939277052879333, 0.2589248716831207, -0.8721557259559631, -0.5199841260910034, 0.06276364624500275, -0.3553730249404907, -0.04245375096797943, 0.6004489660263062, -0.9562954902648926, 0.2138095647096634, 0.5658462047576904, 0.6786543726921082, -0.0026071839965879917, 0.2686622142791748, 1.0750789642333984, -1.3243203163146973, -0.14932510256767273, 0.2873650789260864, 0.44808703660964966, 0.7968334555625916, -0.4926489293575287, 0.40112361311912537, 0.056037504225969315, -0.32529282569885254, -0.6442163586616516, 0.2043658345937729, -1.0877470970153809, -0.049688637256622314, 1.2761704921722412, -0.15030285716056824, -0.1887809783220291, 0.012984855100512505, -0.057881951332092285, 0.3318556845188141, -0.33763977885246277, 0.6706625819206238, 0.4873793125152588, 0.208585724234581, 0.01980941742658615, -0.3715604841709137, 0.8058091402053833, 0.6411004662513733, -0.9100169539451599, 0.032294370234012604, 0.5257655382156372, 0.25235578417778015, 0.29265180230140686, 0.379611998796463, -0.09546197950839996, 0.4765343964099884, -0.404988169670105, 0.14839884638786316, 0.19273686408996582, -0.22354736924171448, -0.3520628809928894, 0.5808857679367065, 0.1712876260280609, 0.0343443937599659 ]
http://arxiv.org/abs/2406.01789v1
http://arxiv.org/pdf/2406.01789v1
AI-based Classification of Customer Support Tickets: State of the Art and Implementation with AutoML
2024-06-03T21:13:02
2024-06-03T21:13:02
Mario Truss, Stephan Boehm
cs.LG
cs.LG, cs.AI, cs.CL, cs.HC, I.2; I.2.7; K.6
Automation of support ticket classification is crucial to improve customer support performance and shortening resolution time for customer inquiries. This research aims to test the applicability of automated machine learning (AutoML) as a technology to train a machine learning model (ML model) that can classify support tickets. The model evaluation conducted in this research shows that AutoML can be used to train ML models with good classification performance. Moreover, this paper fills a research gap by providing new insights into developing AI solutions without a dedicated professional by utilizing AutoML, which makes this technology more accessible for companies without specialized AI departments and staff.
[ -0.39776337146759033, -0.29303258657455444, 0.10863972455263138, 0.14529584348201752, 0.0543239526450634, -0.012074381113052368, 0.2698585093021393, -0.6591676473617554, -0.3284749388694763, 0.30722376704216003, -0.747062087059021, -0.11527474224567413, -0.3226233720779419, 0.2201971560716629, -0.747770369052887, 0.908019483089447, -0.29390817880630493, 0.48762571811676025, -0.6053927540779114, -0.20876218378543854, -0.3716770112514496, -0.9083722829818726, -0.8203852772712708, -0.24319438636302948, 0.33257484436035156, 0.30269762873649597, 0.3207390606403351, 0.39686793088912964, 0.7792226076126099, 0.4422876238822937, 0.3987763822078705, 0.20379844307899475, 0.29116424918174744, 0.20628994703292847, 0.12130168825387955, -0.7527068257331848, -0.46348804235458374, 0.39387047290802, 0.33802899718284607, 0.40092331171035767, -0.5802525877952576, 0.3510127365589142, 0.12850914895534515, 0.377399742603302, -0.42067134380340576, 0.42122745513916016, -0.6237033009529114, 0.37320059537887573, 0.25533047318458557, -0.16280414164066315, -0.5237887501716614, -0.2508676052093506, 0.1336652636528015, -0.6827900409698486, 0.20473699271678925, 0.35602208971977234, 1.0378549098968506, 0.8130109310150146, -0.02742825821042061, -0.5425782799720764, -0.828337550163269, 0.6468208432197571, -0.507794976234436, 0.1409277468919754, 0.11434019356966019, 1.0850099325180054, 0.03870370239019394, -0.4762008786201477, -0.6740862727165222, -0.13376466929912567, -0.22276854515075684, 0.05373133718967438, 0.06332143396139145, -0.039680059999227524, 0.23367945849895477, 0.2177639901638031, -0.8251310586929321, 0.3498961329460144, -0.20293307304382324, -0.15875090658664703, 0.774482786655426, 0.6467354893684387, 0.24177119135856628, 0.17436327040195465, -0.4305521845817566, 0.01452962588518858, -0.0796506479382515, 0.03224648907780647, -0.16345252096652985, 0.09587784111499786, 0.07683008164167404, 0.11644524335861206, -0.15013745427131653, 0.94828861951828, 0.09328076988458633, -0.08039501309394836, 0.1945265680551529, 0.11690737307071686, -0.7866373658180237, 0.08081526309251785, 0.6141759157180786, 0.12546968460083008, 0.38427820801734924, -0.13872618973255157, -0.4034201204776764, 0.008222607895731926, 0.32053470611572266, -0.5501809120178223, -0.12059679627418518, -0.0351715050637722, -0.6645904779434204, -0.3442135751247406, 0.2075081616640091, -0.5146740674972534, -0.6233338117599487, -0.7954202890396118, 0.28356170654296875, -0.044235989451408386, -0.4703710675239563, -0.38609275221824646, 0.023132825270295143, 0.5653630495071411, 0.7394142150878906, -0.5525959730148315, 0.19812379777431488, 0.7274087071418762, 0.6108107566833496, -0.31809547543525696, -0.36178699135780334, -0.19332122802734375, -0.015469660982489586, -0.4011099636554718, 1.044965147972107, -0.28070011734962463, -0.23700080811977386, 0.029100919142365456, 0.16648003458976746, -0.4580676555633545, -0.8970938324928284, 0.20771892368793488, -0.6693158745765686, 0.3468252122402191, 0.46827518939971924, -0.7726484537124634, -0.33367905020713806, 0.42509686946868896, -0.510613739490509, 0.6291640996932983, 0.4531097114086151, -0.15683861076831818, 0.8242892026901245, -0.7982931733131409, -0.23512202501296997, 0.3616497218608856, -0.18838649988174438, -0.7830958366394043, -0.12519009411334991, -0.12948748469352722, 0.4700252413749695, 0.05391540750861168, 0.07083763927221298, -0.42753711342811584, -0.3502545654773712, 0.11524595320224762, -0.2804516553878784, 0.6637834906578064, 0.6532144546508789, -0.6100673079490662, 0.07734590023756027, -0.8376073837280273, -0.16085965931415558, 0.11200042814016342, -0.48426780104637146, -0.08636106550693512, -0.10743675380945206, 0.30781906843185425, 0.24839133024215698, 0.020709866657853127, -0.324443519115448, 0.27474135160446167, -0.3903060257434845, -0.08255667239427567, 0.6520731449127197, -0.2502930462360382, 0.5823685526847839, -0.20643746852874756, 0.5822033882141113, 0.2278781682252884, 0.7146931886672974, 0.05734293535351753, -0.6949576735496521, -0.967504620552063, 0.1053905263543129, 0.3124774098396301, 0.8027805089950562, -0.4725804030895233, 0.3724488615989685, 0.22162966430187225, -0.5123478174209595, -0.7480983734130859, 0.13255082070827484, -0.006154760252684355, 0.725824773311615, 0.3499191403388977, -0.12666644155979156, -0.7648040652275085, -0.8853359222412109, 0.05730205029249191, -0.5175926089286804, 0.1784624308347702, 0.5104064345359802, 0.050415895879268646, -0.47939229011535645, 1.0581119060516357, -0.3576873540878296, -0.7059529423713684, -0.1669796258211136, 0.16523724794387817, 0.11691859364509583, 0.528948962688446, 0.67597496509552, -1.0540542602539062, -0.8111629486083984, 0.032854847609996796, -0.9837520122528076, 0.03363709896802902, 0.008713185787200928, 0.1785925328731537, 1.202496886253357, 0.2764616310596466, -0.24563635885715485, 1.074691891670227, 0.22920727729797363, -0.5854253172874451, 0.13553838431835175, -0.33675140142440796, 0.34597983956336975, -0.6858286261558533, 0.14490611851215363, -0.09641646593809128, -0.28479450941085815, -0.7135594487190247, -0.5152742862701416, 0.1587812751531601, -0.41411882638931274, -0.14467701315879822, 0.24445044994354248, -0.2190314531326294, -0.24692952632904053, -0.9082635045051575, -0.5434127449989319, -0.1864439845085144, 0.31657081842422485, 0.20762744545936584, 0.6057577729225159, 0.5726585388183594, -0.9146468639373779, 0.6951995491981506, 0.19098497927188873, -0.21855376660823822, 0.6733033657073975, -0.18608617782592773, -0.14097756147384644, -0.1831187754869461, 0.13266386091709137, -1.0624152421951294, -0.2372705191373825, 0.547198474407196, -0.5324093699455261, 0.4412165880203247, -0.15027692914009094, -0.40107277035713196, -0.572037935256958, 0.6709721088409424, -0.10928734391927719, 0.779329776763916, -0.39316487312316895, 0.7732588052749634, 0.5636151432991028, 0.12123434990644455, -0.3234972357749939, -0.47570136189460754, 0.08311765640974045, -0.28543686866760254, -0.3412562310695648, 0.043181583285331726, 0.04136811941862106, -0.2971874177455902, 0.0251487884670496, 0.14312998950481415, -0.43099096417427063, 0.4933610260486603, 0.5486828088760376, 0.007109099067747593, -0.10894934087991714, 0.42648226022720337, -0.43287232518196106, -0.4583723545074463, 0.07987765222787857, -0.36380645632743835, 0.34172701835632324, -0.09026078134775162, -0.28276926279067993, -0.8513435125350952, 0.3922910690307617, 0.7648690938949585, 0.08360885828733444, 0.7759560346603394, 0.5793924927711487, -0.429638534784317, -0.4433097839355469, -0.6162245869636536, -0.24707339704036713, -0.4921974539756775, 0.05227448418736458, -0.21091915667057037, -0.26585811376571655, 0.2926816940307617, 0.10696475207805634, 0.017085000872612, 0.4975433945655823, 0.4832193851470947, -0.3385215699672699, 1.1691442728042603, 0.7691922783851624, -0.459303617477417, 0.3658028841018677, -0.14221139252185822, -0.03344599902629852, 0.042169682681560516, -0.5095048546791077, -0.811424732208252, -0.11694671213626862, -0.16827356815338135, 0.052662067115306854, 0.3430185317993164, -0.2189994901418686, -0.16555899381637573, 0.34090104699134827, -0.6871482729911804, -0.012934776023030281, 0.48254314064979553, -0.10888257622718811, 0.17093928158283234, -0.021341634914278984, 0.15593503415584564, 0.35258495807647705, -0.6524221301078796, -0.35654085874557495, 0.6786428093910217, 0.49721652269363403, 0.699091911315918, -0.30473265051841736, 0.28806790709495544, 0.6394299268722534, 0.7261611819267273, -0.46142399311065674, 0.38713717460632324, 0.09296638518571854, -0.7301323413848877, -0.3715384304523468, -0.2763823866844177, -0.7006696462631226, -0.35950496792793274, -0.1195513978600502, -0.10814978182315826, 0.21330459415912628, 0.37969255447387695, -0.3740313947200775, 0.18888480961322784, -0.9248752593994141, 0.830278217792511, -0.4304502606391907, 0.4183734953403473, -0.13358929753303528, -0.3895450830459595, -0.1662130504846573, -0.22531935572624207, 0.12667378783226013, 0.11355079710483551, -0.09979002177715302, 0.9190158843994141, -0.6925225257873535, 0.6334015727043152, -0.721013605594635, -0.04573514685034752, 0.37873104214668274, -0.2772258520126343, 0.36847203969955444, -0.21276932954788208, -0.13134139776229858, 0.02873830311000347, -0.24675096571445465, -0.21363481879234314, -1.0647194385528564, 0.3956502676010132, -0.8146588206291199, -0.570712685585022, -0.32712072134017944, -0.2710326015949249, -0.30240097641944885, -0.10349840670824051, -0.10957731306552887, 0.1080145314335823, 0.5613476634025574, -0.2512604296207428, 0.4210680425167084, -0.09563804417848587, 0.892555832862854, 0.8137149214744568, -0.3039867877960205, -0.248799130320549, 0.6954565644264221, 0.4753091037273407, -0.300428569316864, 0.15596865117549896, -0.023786325007677078, -0.39117416739463806, -0.7570763826370239, -0.8901730179786682, -0.08011572062969208, -0.664745032787323, -0.32449135184288025, -0.7351021766662598, -0.3236142694950104, -0.7005825042724609, 0.25110360980033875, -0.1344456970691681, -0.368691623210907, -0.36064866185188293, -0.038101788610219955, 0.4217718541622162, 0.982325553894043, 0.1376885324716568, 0.21438702940940857, -0.6908584237098694, -0.27071624994277954, 0.3074030876159668, 0.6145759224891663, 0.10694368183612823, -0.36552315950393677, -0.7032652497291565, -0.6105361580848694, -0.24069896340370178, -0.8009825944900513, 0.32301416993141174, 0.20985014736652374, 1.0481233596801758, 0.596619188785553, 0.18870003521442413, 0.6901074647903442, -0.4467482566833496, 0.6560782790184021, 0.007105896715074778, -0.7205609679222107, 0.696506679058075, -0.01465687807649374, -0.27599745988845825, 0.4679039418697357, 0.7376717329025269, -0.3423751890659332, -0.17833523452281952, -0.5316751599311829, -0.471379816532135, 0.9245169162750244, -0.18620772659778595, -0.1969565749168396, 0.5277119874954224, 0.5548524260520935, 0.06749914586544037, 0.29053404927253723, -0.468328595161438, -0.32954245805740356, -0.20829610526561737, -0.48679184913635254, -0.1885310709476471, 0.1478821486234665, 0.39957699179649353, -0.4121629595756531, 0.5872277617454529, -0.1765299141407013, 0.5072556138038635, 0.3187934458255768, 0.01759900338947773, -0.36075520515441895, -0.27665284276008606, 0.6084946393966675, 0.6212742328643799, -0.006884652655571699, -0.31230732798576355, 0.37070977687835693, -0.24264948070049286, 0.14212225377559662, 0.166046604514122, 0.012346754781901836, 0.17833475768566132, -0.013886561617255211, 0.46097245812416077, -0.3768497109413147, -0.4599403738975525, 0.505488932132721, -0.23299004137516022, -0.3626389801502228, -0.9040228724479675, 0.47555169463157654, -0.4078744053840637, 0.17148685455322266, 0.6571593284606934, 0.14713698625564575, 0.40864843130111694, -0.33147773146629333, 0.6412946581840515, 0.46652740240097046, -0.8032392263412476, 0.20520612597465515, 0.4922582805156708, 0.24077081680297852, -0.836764395236969, 0.5760352611541748, -0.14425033330917358, -0.7170596718788147, 0.8288918137550354, 0.19714027643203735, 0.8541516661643982, -0.6086543202400208, -0.10502415150403976, 0.1430264115333557, -0.04250049591064453, 0.3452848196029663, 0.1451348215341568, -0.058576975017786026, -0.4136861264705658, -0.18793049454689026, -0.5884965658187866, -0.5232329368591309, 0.02053471840918064, -0.5226975083351135, 0.414050430059433, -0.47776469588279724, -0.04193898290395737, -0.215685173869133, 0.04898957163095474, -0.4356326460838318, 0.5831528306007385, 0.46691641211509705, 1.234571933746338, -0.6353896856307983, 0.8796858191490173, 0.9620012044906616, -0.3396841287612915, -0.9893238544464111, -0.2083463817834854, -0.022580387070775032, -0.6011713743209839, 1.1633565425872803, 0.3112439215183258, 0.3962783217430115, 0.00467263488098979, -0.4365367591381073, -0.469776451587677, 1.090200662612915, -0.5062373876571655, -0.47026926279067993, -0.11803333461284637, 0.46484267711639404, 0.5536565184593201, -0.7869253754615784, 0.5432202219963074, 0.269404798746109, 0.4245270788669586, -0.09555234760046005, -1.0288792848587036, -0.21911807358264923, -0.34837013483047485, -0.2041359841823578, -0.008312756195664406, -0.5602691769599915, 0.7308343648910522, 0.4711989164352417, -0.14008136093616486, -0.10449035465717316, 0.5866347551345825, -0.14362306892871857, 0.9128806591033936, 0.9745010733604431, 0.6625828146934509, 0.7702864408493042, -0.09530957788228989, 0.8419428467750549, -0.2995613217353821, 0.3909261226654053, 0.4595198333263397, -0.3466161787509918, 0.48785269260406494, 0.2350139170885086, -0.10046952217817307, 0.7258262634277344, 0.7837483882904053, -0.45131006836891174, 0.41871190071105957, 0.41152626276016235, -0.11443702131509781, -0.48047325015068054, 0.1453109234571457, -0.288915753364563, 0.5270639657974243, 0.31204795837402344, -0.4425089359283447, -0.13920068740844727, 0.5371792912483215, -0.3955789804458618, -0.22977690398693085, -0.7250060439109802, 1.293898344039917, -0.020918169990181923, -0.8420130610466003, 0.45006847381591797, -0.2348860651254654, 0.5128734111785889, -0.17546485364437103, -0.15464867651462555, -0.15183812379837036, 0.7126767039299011, -0.3508051931858063, -0.33305829763412476, 0.7269802093505859, 0.21621175110340118, -0.27910763025283813, -0.20565690100193024, 0.9496222138404846, 0.0782395601272583, -0.3726145029067993, 0.3212846517562866, 0.23571257293224335, 0.17358872294425964, 0.0166385006159544, -1.0981545448303223, -0.44863763451576233, -0.2525831162929535, -0.07474863529205322, 0.33887457847595215, 0.35656607151031494, -0.05549793690443039, 0.959555983543396, 0.42090627551078796, -0.16450084745883942, 0.04317707195878029, -0.0394887775182724, 0.7720112204551697, -0.6203187704086304, -0.6252262592315674, -0.8952193260192871, 0.7042763829231262, -0.3159838318824768, -0.07039791345596313, 0.7985631227493286, 0.5573632121086121, 0.5739185810089111, -0.1847681701183319, 0.9015615582466125, 0.2568311095237732, 1.0010820627212524, -0.22919288277626038, 1.0954314470291138, -0.7084067463874817, 0.15877309441566467, -0.06441193073987961, -0.2408023327589035, -0.5009440183639526, 0.5867034196853638, -0.2543494999408722, -0.06209510937333107, 0.35101786255836487, 0.6272361278533936, 0.24343733489513397, 0.29149922728538513, 0.28864187002182007, -0.17115125060081482, 0.38956624269485474, 0.484160840511322, 1.2578214406967163, -0.5421410202980042, 0.8771802186965942, -0.19819855690002441, -0.40914666652679443, -0.7014111876487732, -0.3821541666984558, -0.9171136021614075, -0.5813572406768799, -0.49236810207366943, -0.542490541934967, -0.009117874316871166, 0.8570602536201477, 1.0984784364700317, -1.1311986446380615, -0.2928367257118225, -0.3098543584346771, 0.16366271674633026, -0.18031583726406097, -0.2631593644618988, 0.14776943624019623, -1.009514570236206, -0.7163205146789551, 0.030605897307395935, 0.10939902812242508, 0.41965609788894653, -0.4339624345302582, -0.2904667854309082, 0.2934863567352295, -0.2426399141550064, 0.20187143981456757, 0.09797447919845581, -0.23602497577667236, 0.16566526889801025, 0.2781841456890106, -0.16041791439056396, 0.05475737154483795, 0.7607135772705078, -0.9467211961746216, -0.09844829142093658, 0.46818217635154724, 0.9617296457290649, 0.007380309514701366, 0.05115431919693947, 0.7027305364608765, -0.29759740829467773, -0.054041117429733276, 0.2526029646396637, 0.39514511823654175, -0.09475666284561157, -0.6300332546234131, 0.5844168663024902, 0.5863666534423828, -0.8972258567810059, -0.8037344813346863, 0.1087508425116539, -0.7392070293426514, -0.443454384803772, 0.9804468750953674, -0.33808988332748413, -0.3942059278488159, -0.8297980427742004, -0.1253698617219925, 0.29240483045578003, -0.035231661051511765, 0.8741466999053955, 0.3505692183971405, -0.5432669520378113, -0.5029321908950806, -0.19127462804317474, 1.0072686672210693, 0.14568419754505157, -1.0758578777313232, -0.39303985238075256, 0.16491760313510895, 0.059811193495988846, 0.432446151971817, 0.31390678882598877, 0.05663037672638893, 0.33848482370376587, -0.30791017413139343, -0.06017554551362991, -0.3007352352142334, -0.5497602224349976, -0.5359333753585815, 0.4862222969532013, 0.05778743699193001, -0.4284425377845764 ]