paper_id
uint32
0
3.7k
title
stringlengths
14
154
paper_url
stringlengths
42
42
authors
listlengths
1
21
type
stringclasses
3 values
abstract
stringlengths
413
2.52k
keywords
stringlengths
4
397
TL;DR
stringlengths
5
250
submission_number
int64
2
14.3k
arxiv_id
stringlengths
10
10
embedding
listlengths
768
768
300
Efficient Automated Circuit Discovery in Transformers using Contextual Decomposition
https://openreview.net/forum?id=41HlN8XYM5
[ "Aliyah R. Hsu", "Georgia Zhou", "Yeshwanth Cherapanamjeri", "Yaxuan Huang", "Anobel Odisho", "Peter R. Carroll", "Bin Yu" ]
Poster
Automated mechanistic interpretation research has attracted great interest due to its potential to scale explanations of neural network internals to large models. Existing automated circuit discovery work relies on activation patching or its approximations to identify subgraphs in models for specific tasks (circuits). They often suffer from slow runtime, approximation errors, and specific requirements of metrics, such as non-zero gradients. In this work, we introduce contextual decomposition for transformers (CD-T) to build interpretable circuits in large language models. CD-T can produce circuits at any level of abstraction and is the first to efficiently produce circuits as fine-grained as attention heads at specific sequence positions. CD-T is compatible to all transformer types, and requires no training or manually-crafted examples. CD-T consists of a set of mathematical equations to isolate contribution of model features. Through recursively computing contribution of all nodes in a computational graph of a model using CD-T followed by pruning, we are able to reduce circuit discovery runtime from hours to seconds compared to state-of-the-art baselines. On three standard circuit evaluation datasets (indirect object identification, greater-than comparisons, and docstring completion), we demonstrate that CD-T outperforms ACDC and EAP by better recovering the manual circuits with an average of 97% ROC AUC under low runtimes. In addition, we provide evidence that faithfulness of CD-T circuits is not due to random chance by showing our circuits are 80% more faithful than random circuits of up to 60% of the original model size. Finally, we show CD-T circuits are able to perfectly replicate original models' behavior(faithfulness = 1) using fewer nodes than the baselines for all tasks. Our results underscore the great promise of CD-T for efficient automated mechanistic interpretability, paving the way for new insights into the workings of large language models.
Automated Circuit Discovery, Explainable AI, Interpretation, Machine Learning, Language Models, Transformers
null
13,618
2407.00886
[ 0.009057804942131042, 0.00984722189605236, -0.033507972955703735, 0.05760820582509041, 0.022012906149029732, 0.02899785526096821, 0.010822652839124203, 0.008741025812923908, -0.015456032007932663, -0.006515687797218561, 0.010492755100131035, 0.0352475680410862, -0.03862270712852478, 0.010613443329930305, -0.03236085921525955, 0.04306716099381447, 0.027041524648666382, -0.02366776578128338, 0.02855367586016655, -0.003466772846877575, 0.040675800293684006, -0.008753541857004166, 0.032382767647504807, 0.02854762226343155, 0.02485097385942936, 0.0066462792456150055, 0.021736634895205498, -0.01966887339949608, -0.027861962094902992, 0.010204111225903034, 0.04736975580453873, 0.005328090861439705, 0.03119664639234543, -0.05215546116232872, 0.011542771011590958, 0.013614358380436897, -0.026556815952062607, -0.01511534582823515, -0.028733614832162857, 0.015189556404948235, -0.04399459436535835, 0.013997148722410202, 0.002023321809247136, 0.016268573701381683, -0.05550307035446167, 0.028913874179124832, -0.12225715070962906, 0.024436216801404953, -0.017686564475297928, -0.04213561490178108, -0.09186919778585434, 0.03056725300848484, -0.006579794455319643, 0.010223391465842724, -0.0013030569534748793, 0.026941295713186264, 0.05287023261189461, -0.061143942177295685, 0.017302997410297394, -0.02613353542983532, -0.025486081838607788, 0.03619803488254547, -0.00005465047070174478, 0.035356856882572174, 0.011533408425748348, -0.012198925949633121, 0.001086270553059876, 0.022160230204463005, -0.0584709532558918, -0.023028753697872162, -0.015438621863722801, 0.007426947820931673, -0.014769242145121098, 0.00969660747796297, 0.023859405890107155, -0.027865540236234665, -0.0009717394132167101, -0.001968423370271921, 0.05379331484436989, 0.008424373343586922, 0.03651624172925949, 0.021700451150536537, 0.02023988403379917, 0.03689006716012955, 0.02751793898642063, -0.0016000478062778711, -0.05940565466880798, -0.03810781240463257, -0.051042694598436356, 0.016549963504076004, -0.022682394832372665, -0.036595527082681656, -0.0011739792535081506, 0.035323090851306915, 0.031115319579839706, 0.0048140245489776134, 0.012744606472551823, 0.001471054507419467, -0.014682120643556118, 0.008405270054936409, 0.019041333347558975, -0.02111227810382843, 0.02715996280312538, -0.02036254107952118, -0.11794210970401764, 0.004021697677671909, 0.0034822095185518265, -0.04231176897883415, 0.015755673870444298, -0.00041500659426674247, -0.0260637030005455, -0.004462321754544973, 0.023488400503993034, -0.005275925621390343, -0.09707695245742798, 0.039685532450675964, 0.0079222172498703, 0.01703834719955921, -0.00019843400514218956, 0.00047579279635101557, 0.06169024482369423, 0.04424930736422539, 0.016251226887106895, 0.08217692375183105, -0.021476328372955322, 0.005570721346884966, 0.0003228742571081966, 0.033416785299777985, 0.0006995939766056836, -0.044275958091020584, 0.010444971732795238, 0.015742607414722443, 0.02819513902068138, -0.013710749335587025, -0.0016047480748966336, -0.03617704287171364, 0.01793396845459938, 0.005740626715123653, 0.06457087397575378, -0.0021767537109553814, 0.007412932347506285, -0.003121333196759224, 0.06696165353059769, -0.05899214372038841, 0.057698968797922134, -0.023700371384620667, -0.07754135876893997, 0.0015944339102134109, -0.012524283491075039, 0.007653823122382164, 0.02161969058215618, 0.0005545545136556029, -0.0350416861474514, -0.0914802998304367, 0.03677699342370033, 0.0724867507815361, 0.013893889263272285, 0.039206214249134064, 0.005597793962806463, 0.018648024648427963, 0.010659619234502316, -0.03023964911699295, -0.016219569370150566, 0.023130938410758972, -0.027218332514166832, -0.05763014778494835, 0.041481759399175644, 0.019834136590361595, -0.05700599029660225, -0.005191814620047808, -0.03627895563840866, -0.06060396507382393, 0.0611458420753479, 0.0010138381039723754, -0.02889927104115486, -0.01318351086229086, 0.041687075048685074, -0.03613486886024475, 0.023186108097434044, 0.030642719939351082, -0.08396532386541367, 0.01916540041565895, -0.005385976750403643, -0.020650867372751236, 0.039737313985824585, -0.03171534463763237, 0.06473343819379807, -0.034910138696432114, -0.007674518972635269, 0.015961891040205956, -0.08038497716188431, -0.040438372641801834, 0.004567593801766634, -0.00621039979159832, 0.06901311129331589, 0.01434799563139677, -0.023784052580595016, 0.040824584662914276, 0.04813008010387421, 0.06125199794769287, 0.046628404408693314, -0.02216537669301033, 0.057017501443624496, -0.03047894313931465, -0.038114648312330246, -0.004575147293508053, 0.029609985649585724, -0.02196589857339859, -0.004074295982718468, -0.016105003654956818, -0.000789961195550859, -0.02387889288365841, 0.033064208924770355, -0.041608624160289764, 0.00655947532504797, -0.016895979642868042, -0.010742434300482273, 0.021740369498729706, 0.020876556634902954, -0.062093522399663925, 0.027138708159327507, 0.033712632954120636, -0.05053476244211197, 0.022306527942419052, -0.03516164794564247, 0.11859958618879318, 0.06485151499509811, -0.03053528442978859, -0.02613627351820469, 0.0569152794778347, 0.007139527704566717, 0.005443461239337921, -0.006728770211338997, -0.059834469109773636, 0.0054639349691569805, -0.018105927854776382, -0.04234814643859863, -0.0132119320333004, 0.03097682259976864, -0.031526125967502594, -0.005271099507808685, 0.06854800134897232, -0.02748052030801773, 0.03142499178647995, 0.012724518775939941, 0.029857318848371506, 0.030821941792964935, -0.020959194749593735, -0.02776915207505226, -0.002927512163296342, -0.011312834918498993, -0.011730757541954517, 0.004561855457723141, -0.030094454064965248, 0.03842069208621979, -0.044223230332136154, -0.03418109565973282, -0.01814846508204937, 0.06045011430978775, 0.058154698461294174, 0.008213086053729057, 0.023925958201289177, 0.0001596874208189547, -0.058252982795238495, -0.012498640455305576, -0.11647999286651611, -0.045484744012355804, -0.01634100079536438, 0.026398586109280586, -0.023011798039078712, 0.022048605605959892, 0.012007500045001507, 0.03412000089883804, -0.03575949743390083, -0.015381965786218643, 0.003436545841395855, 0.03172401338815689, 0.01901073381304741, -0.007632399909198284, -0.006699104327708483, 0.009063411504030228, 0.04160138964653015, -0.02647818811237812, -0.021838603541254997, -0.03419319540262222, -0.05695612356066704, -0.021560661494731903, -0.01483998168259859, 0.008712772279977798, 0.008929220959544182, 0.028172636404633522, 0.0028769478667527437, -0.03785726800560951, 0.04371564835309982, 0.029639411717653275, 0.06200952082872391, 0.057751357555389404, 0.015443968586623669, 0.0011230726959183812, 0.00013576782657764852, 0.0011733752908185124, 0.023817293345928192, -0.04478594660758972, 0.03331057354807854, -0.004168355837464333, 0.00674481550231576, 0.02133309468626976, -0.008727320469915867, -0.25368180871009827, -0.00966549851000309, 0.008180862292647362, -0.02320292964577675, 0.029922693967819214, -0.028719469904899597, 0.014829855412244797, -0.000592702126596123, -0.006271424237638712, -0.013957238756120205, -0.0018334080232307315, 0.03429974243044853, 0.0027745505794882774, 0.05461292341351509, 0.023395510390400887, 0.01431917306035757, -0.018653035163879395, -0.008779775351285934, 0.00713691208511591, 0.059434674680233, 0.008376100100576878, -0.07412083446979523, -0.02598503790795803, 0.04311973601579666, -0.017530987039208412, 0.02066606469452381, -0.09951851516962051, -0.01797095127403736, -0.02580323815345764, -0.01410303357988596, -0.031136687844991684, -0.019227806478738785, -0.006571584846824408, 0.03017093613743782, 0.01784476637840271, 0.027758486568927765, 0.050148289650678635, 0.022074557840824127, 0.006987699773162603, 0.010185732506215572, 0.01803494244813919, -0.034684039652347565, -0.013652157038450241, 0.0007897801115177572, 0.06395026296377182, 0.0026536346413195133, -0.05289817601442337, -0.014282211661338806, -0.016555778682231903, 0.02927165850996971, -0.01306891068816185, -0.010600204579532146, 0.004415308125317097, -0.002547565847635269, 0.02753201313316822, -0.029127290472388268, -0.013222400099039078, 0.012866245582699776, -0.0232206080108881, -0.006586355157196522, -0.01713840290904045, -0.03574153408408165, -0.0041852425783872604, -0.03157448023557663, -0.028469962999224663, -0.012719755060970783, -0.07154455035924911, -0.05723057687282562, 0.03567415103316307, 0.04313846305012703, -0.036697112023830414, 0.038235705345869064, -0.0173454899340868, -0.0991450622677803, 0.012614402920007706, 0.011723128147423267, -0.0007112368475645781, -0.001707299961708486, -0.0010464680381119251, 0.03914034366607666, -0.05386357009410858, -0.037653326988220215, -0.021151069551706314, 0.010725174099206924, 0.026277126744389534, -0.00580646563321352, 0.0003513254050631076, -0.019744323566555977, -0.008840473368763924, 0.00459847180172801, 0.03833473473787308, 0.0214045699685812, 0.033457282930612564, -0.03866397589445114, 0.05180062726140022, 0.024960599839687347, 0.049535006284713745, 0.059872228652238846, 0.03696952760219574, 0.0015958776930347085, 0.01784045249223709, -0.077192023396492, -0.0016153062460944057, -0.0120841758325696, -0.05931989103555679, 0.0241619311273098, -0.05757527053356171, -0.06267177313566208, 0.03967205435037613, 0.01984943076968193, -0.027684226632118225, -0.0605800524353981, 0.003780543804168701, -0.02479712665081024, 0.007828940637409687, -0.009552810341119766, 0.0357222780585289, 0.019796278327703476, 0.04172298684716225, -0.016058793291449547, -0.002308098366484046, 0.04623880609869957, -0.008315826766192913, 0.005049879662692547, 0.031876638531684875, -0.023745901882648468, 0.001244337297976017, 0.023428739979863167, 0.008357063867151737, 0.01369116734713316, 0.04597405716776848, 0.03671397268772125, -0.009947692975401878, 0.0393662191927433, 0.0292564257979393, 0.0008806338883005083, -0.01764831691980362, 0.020228618755936623, -0.002138052135705948, 0.00370447663590312, 0.011659574694931507, -0.01691610738635063, 0.05306239053606987, 0.01117634866386652, 0.02426845394074917, -0.0006363745778799057, 0.017093636095523834, 0.009720231406390667, -0.01339647825807333, -0.017165537923574448, 0.040743470191955566, -0.04973650351166725, -0.04307720810174942, -0.032622333616018295, 0.02530011348426342, -0.01786678656935692, 0.03963315859436989, -0.014184650965034962, 0.0040502543561160564, -0.06041484698653221, 0.04452965408563614, -0.0026843922678381205, 0.022423798218369484, -0.007043397985398769, 0.01929861307144165, 0.03345083072781563, -0.02377939410507679, 0.0022802306339144707, 0.03184443712234497, 0.0362345352768898, -0.0017023991094902158, -0.003412684891372919, -0.03709851950407028, 0.004961848258972168, -0.017807524651288986, 0.026083724573254585, 0.0012211614521220326, -0.016581891104578972, -0.009585846215486526, 0.008481904864311218, -0.0030009103938937187, -0.042076319456100464, 0.025643736124038696, 0.02334177866578102, 0.08357454091310501, 0.005845495034009218, 0.007482149638235569, 0.006017496343702078, -0.01877496764063835, 0.03197195753455162, 0.008456222712993622, -0.002660319907590747, -0.04562151059508324, -0.047599684447050095, -0.03975798189640045, -0.03640260919928551, 0.02979656681418419, 0.030905835330486298, -0.0017530409386381507, -0.032548826187849045, 0.0038878940977156162, -0.00799592025578022, -0.023110711947083473, -0.004379366058856249, 0.0399346686899662, -0.07452452182769775, 0.017534172162413597, 0.04310327395796776, -0.008636606857180595, 0.04073302447795868, -0.0013647092273458838, -0.01720082387328148, -0.04086189717054367, -0.022501101717352867, -0.006087166722863913, -0.006221436429768801, 0.0013128559803590178, -0.01305230800062418, 0.0062807416543364525, 0.003398511791601777, 0.0029123101849108934, 0.01401789765805006, 0.000313238357193768, -0.028950583189725876, 0.01746855117380619, 0.028274687007069588, -0.01564321480691433, 0.0022226092405617237, -0.023872461169958115, -0.05813991278409958, -0.021205930039286613, -0.020818835124373436, 0.04655994102358818, 0.03820572420954704, 0.005644349381327629, -0.035877034068107605, -0.04306642338633537, 0.029872510582208633, -0.009019212797284126, -0.010114641860127449, 0.015698811039328575, -0.00020044497796334326, -0.04482314735651016, 0.035535018891096115, 0.016811178997159004, 0.032552920281887054, 0.05372422933578491, -0.0025964246597141027, 0.01028153020888567, 0.02796308510005474, 0.047504790127277374, 0.044573087245225906, -0.04701879248023033, -0.015953952446579933, 0.07533317804336548, -0.051928192377090454, -0.034086667001247406, -0.041451212018728256, -0.051867756992578506, -0.012303006835281849, -0.03945262357592583, 0.03241723030805588, 0.007512986660003662, 0.02627149596810341, 0.015071537345647812, 0.02420254424214363, -0.03510560095310211, -0.01683783531188965, 0.03733813390135765, -0.05107570067048073, 0.013608991168439388, -0.06335771083831787, 0.013453283347189426, 0.08252330124378204, -0.03736497834324837, -0.009069515392184258, 0.002024139976128936, -0.051315322518348694, 0.04541175439953804, -0.022387802600860596, -0.0527956560254097, 0.03424714878201485, -0.00006420807039830834, 0.022001732140779495, 0.01433270238339901, -0.037081316113471985, -0.02817489393055439, -0.03104119561612606, -0.02604704350233078, -0.003958858083933592, -0.010104363784193993, 0.04712388664484024, -0.008110548369586468, -0.0088530657812953, -0.018471751362085342, 0.042432282119989395, 0.02819376438856125, 0.06324504315853119, 0.03931806609034538, 0.014845778234302998, -0.03522610664367676, 0.05042925104498863, 0.027529245242476463, 0.004388262517750263, -0.025154106318950653, 0.030759194865822792, -0.013601403683423996, -0.03453785553574562, 0.04108649492263794, -0.02993909828364849, -0.034605905413627625, -0.07197768986225128, 0.059107135981321335, 0.03153422102332115, -0.04204750061035156, -0.032923221588134766, 0.014571608044207096, -0.09670287370681763, -0.04597683623433113, 0.01988864317536354, -0.014199448749423027, -0.016403639689087868, 0.07840078324079514, 0.01682807132601738, 0.051196686923503876, 0.06990622729063034, 0.01923370361328125, -0.03628818690776825, 0.008363441564142704, 0.08915645629167557, 0.08659475296735764, 0.033939771354198456, 0.0038443400990217924, 0.05477510392665863, -0.008337982930243015, -0.0429990291595459, 0.035285983234643936, 0.029235506430268288, 0.011333424597978592, -0.03443362936377525, 0.02333400957286358, 0.0862627699971199, 0.0077797225676476955, 0.0915498286485672, -0.05185706540942192, 0.005376074928790331, 0.05516656115651131, -0.015346666797995567, 0.0000887650458025746, 0.0724562406539917, 0.022915644571185112, -0.013300620950758457, -0.016452539712190628, -0.02509782463312149, -0.0330938883125782, -0.02019733190536499, 0.0014717165613546968, 0.051330965012311935, -0.00808832235634327, -0.0050670993514359, -0.02348451502621174, 0.05700911954045296, 0.11234962195158005, -0.028447454795241356, -0.014566539786756039, 0.010677051730453968, -0.002666034270077944, 0.003456112230196595, 0.03603782132267952, -0.02966836281120777, -0.017163610085844994, -0.02577618509531021, -0.06155243143439293, 0.009692544117569923, 0.025739546865224838, 0.007286769803613424, 0.008773626759648323, -0.019643044099211693, -0.0516531802713871, 0.005026077851653099, 0.04768408462405205, -0.03513297811150551, -0.055055372416973114, -0.032040491700172424, -0.04305143654346466, -0.08101807534694672, -0.051060475409030914, 0.01816403865814209, -0.01894938200712204, -0.032869063317775726, -0.017143186181783676, -0.010538185015320778, 0.018070530146360397, 0.004017923027276993, -0.06247133016586304, 0.002849671058356762, 0.04108260199427605, -0.018682722002267838, -0.01605318859219551, 0.020672587677836418, 0.01296207308769226, -0.009399663656949997, -0.03375588357448578, 0.05766059830784798, -0.009406806901097298, 0.0135696055367589, 0.0044218567200005054, -0.01888350397348404, -0.10273374617099762, 0.019549481570720673, 0.0008144741295836866, -0.03156588599085808, -0.10000511258840561, 0.03544023633003235, -0.03591886907815933, 0.021331828087568283, 0.05907304957509041, -0.02276734821498394, 0.023593759164214134, -0.03206484019756317, -0.0010478469775989652, 0.01548669021576643, -0.003880151081830263, 0.04354460909962654, -0.022126642987132072, 0.07288661599159241, 0.036290593445301056, -0.02296512946486473, -0.01857326179742813, 0.020988889038562775, -0.017263127490878105, 0.01287795789539814, -0.014185555279254913, -0.03212698921561241, -0.023102687671780586, -0.10829053819179535, -0.0370379276573658, -0.01545308344066143, -0.009536934085190296, -0.04100174829363823, 0.009519091807305813, -0.045100320130586624, -0.028132250532507896, -0.007517783436924219, -0.017804952338337898, 0.004056318197399378, -0.03161134570837021, -0.04939521476626396, -0.06451557576656342, 0.018649021163582802, -0.05295681953430176, 0.04119586944580078, -0.05085226148366928, -0.023017916828393936, -0.026245098561048508, -0.0053397733718156815, 0.04654557257890701, 0.02349865436553955, 0.011448725126683712, -0.02399129793047905 ]
301
How to Evaluate Reward Models for RLHF
https://openreview.net/forum?id=cbttLtO94Q
[ "Evan Frick", "Tianle Li", "Connor Chen", "Wei-Lin Chiang", "Anastasios Nikolas Angelopoulos", "Jiantao Jiao", "Banghua Zhu", "Joseph E. Gonzalez", "Ion Stoica" ]
Poster
We introduce a new benchmark for reward models that quantifies their ability to produce strong language models through RLHF (Reinforcement Learning from Human Feedback). The gold-standard approach is to run a full RLHF training pipeline and directly probe downstream LLM performance. However, this process is prohibitively expensive. To address this, we build a predictive model of downstream LLM performance by evaluating the reward model on proxy tasks. These proxy tasks consist of a large-scale human preference and a verifiable correctness preference dataset, in which we measure 12 metrics across 12 domains. To investigate which reward model metrics are most correlated to gold-standard RLHF outcomes, we launch an end-to-end RLHF experiment on a large-scale crowd-sourced human preference platform to view real reward model downstream performance as ground truth. Ultimately, we compile our data and findings into Preference Proxy Evaluations (PPE), the first reward model benchmark explicitly linked to post-RLHF real-world human preference performance, which we opensource for public use and further development at https://github.com/lmarena/PPE.
RLHF, RL, Reward Model, LLM, Benchmark, Dataset, Evaluation
null
13,614
2410.14872
[ 0.0007133029284887016, 0.0024910219945013523, 0.008961651474237442, 0.024766679853200912, 0.06183653697371483, 0.0015844135778024793, 0.013410583138465881, 0.018155813217163086, -0.0317474901676178, -0.006728544365614653, -0.004586993250995874, 0.05350828543305397, -0.05775140970945358, -0.03209482505917549, -0.0028444055933505297, 0.056096795946359634, 0.04006184637546539, 0.022226393222808838, 0.016110148280858994, -0.0012449582573026419, 0.005223351065069437, 0.020312447100877762, 0.01827973686158657, 0.0043496424332261086, 0.0482025109231472, 0.03050815314054489, 0.03173529729247093, 0.009660571813583374, -0.040408845990896225, 0.007350364699959755, 0.03739962726831436, -0.04144982248544693, 0.035992078483104706, 0.0049772728234529495, -0.0047335815615952015, 0.0033477761317044497, -0.033125314861536026, -0.007261305116117001, 0.023772332817316055, -0.006161757279187441, -0.030659817159175873, 0.01578768901526928, -0.024133652448654175, 0.012098001316189766, -0.04617217183113098, 0.02284410037100315, -0.09296911954879761, 0.015032926574349403, 0.025114797055721283, -0.01769223064184189, -0.10159184038639069, 0.02587788924574852, 0.0014303374337032437, -0.016628246754407883, 0.02596452087163925, 0.02576572820544243, 0.03482727333903313, -0.07582934200763702, 0.00122000218834728, -0.02214772254228592, -0.014646956697106361, 0.02675321139395237, 0.029644722118973732, 0.020456470549106598, -0.001502363826148212, -0.021061360836029053, 0.01778455823659897, 0.025825949385762215, -0.046147167682647705, -0.009059281088411808, -0.01565278321504593, -0.00929525401443243, -0.002744714030995965, 0.007755211088806391, -0.015650859102606773, -0.06945902109146118, -0.007061885204166174, 0.06163580343127251, 0.03775513172149658, -0.006719227880239487, 0.009390104562044144, 0.01308488380163908, 0.012430500239133835, 0.029789350926876068, 0.008073097094893456, 0.015158607624471188, -0.000489781319629401, -0.05167917162179947, -0.06851997971534729, 0.04516943171620369, -0.03294448181986809, -0.027345675975084305, 0.013381808064877987, 0.01035480760037899, 0.04542184993624687, 0.0038163308054208755, 0.001722589018754661, 0.0696425586938858, -0.029404129832983017, 0.0005856145289726555, -0.03334147483110428, -0.04638908430933952, 0.012460032477974892, -0.013309274800121784, -0.09106795489788055, -0.018516849726438522, 0.01154390163719654, -0.011126422323286533, -0.01820707879960537, -0.01063915342092514, -0.026521267369389534, -0.005643742624670267, 0.010684658773243427, 0.012708290480077267, -0.0713597759604454, 0.04214182123541832, -0.008498436771333218, 0.02908763848245144, -0.02136962115764618, 0.018554963171482086, 0.032229773700237274, 0.02615860290825367, -0.009604135528206825, 0.06539040058851242, -0.0035246487241238356, 0.021972527727484703, 0.012727777473628521, 0.03397651016712189, -0.0034100685734301805, -0.0694182813167572, 0.03324879705905914, 0.05884866788983345, -0.02747875265777111, 0.01147912535816431, -0.01654897630214691, -0.0004740595177281648, 0.020915472880005836, -0.01948755607008934, 0.04930771887302399, 0.015156620182096958, 0.006078808568418026, 0.01455007866024971, 0.06380067765712738, -0.045455995947122574, 0.0660734698176384, 0.009529761970043182, -0.019572600722312927, -0.027126844972372055, -0.04004562646150589, 0.010331221856176853, 0.01925300620496273, 0.017439110204577446, -0.012891403399407864, -0.0381888747215271, 0.05250392481684685, 0.03748611360788345, 0.03398502245545387, -0.033735956996679306, -0.012381047941744328, -0.007648942992091179, -0.024899786338210106, 0.01689482107758522, -0.02924162521958351, -0.03268761187791824, -0.011804912239313126, -0.043680448085069656, 0.04315122961997986, 0.006526663899421692, -0.02402772381901741, 0.0019835468847304583, -0.04561539739370346, -0.016839345917105675, 0.04555296152830124, -0.00532139465212822, -0.034589733928442, -0.011989293619990349, 0.04917073994874954, 0.01983504928648472, 0.03416534140706062, 0.04403639957308769, -0.07274792343378067, 0.05299793928861618, 0.00893243309110403, -0.005011824890971184, 0.006589234806597233, -0.04090040177106857, 0.10242685675621033, -0.04388800635933876, -0.0010746893240138888, 0.051415588706731796, -0.09381149709224701, -0.004067904315888882, 0.05458056554198265, -0.010465940460562706, 0.06987903267145157, -0.01496266108006239, 0.009027913212776184, 0.06291449815034866, 0.028574997559189796, 0.05896976590156555, 0.053435876965522766, -0.018077028915286064, 0.024617258459329605, -0.0386403352022171, -0.023361794650554657, -0.015719098970294, 0.04117142781615257, -0.044861916452646255, -0.04851197823882103, 0.008892117999494076, -0.027798384428024292, 0.026667878031730652, 0.008940390311181545, 0.013702421449124813, -0.00399240804836154, -0.004401662386953831, -0.011273836717009544, 0.027584955096244812, 0.011949467472732067, -0.031723394989967346, 0.024904899299144745, 0.0049677141942083836, 0.01067808736115694, -0.009825794957578182, -0.06492555141448975, 0.08104792982339859, 0.06523680686950684, -0.014222357422113419, -0.024386059492826462, 0.055484842509031296, 0.009857707656919956, 0.017530309036374092, 0.03757699951529503, -0.045295342803001404, 0.014645112678408623, 0.0009925573831424117, -0.013630003668367863, -0.012300209142267704, 0.050137557089328766, -0.022297199815511703, -0.010008972138166428, 0.05421645566821098, -0.020963849499821663, 0.04218227043747902, -0.01617187261581421, 0.015313009731471539, -0.0007680514827370644, 0.015931453555822372, -0.014896025881171227, -0.02628702111542225, -0.0654611736536026, -0.00321841798722744, 0.008794940076768398, -0.012902874499559402, 0.039261747151613235, -0.0564875565469265, -0.010500289499759674, 0.002044453052803874, 0.024127790704369545, 0.0516037754714489, 0.043820444494485855, 0.029505282640457153, -0.057281117886304855, -0.06490778177976608, 0.015352779068052769, -0.10472648590803146, -0.025299998000264168, -0.03756069764494896, 0.006060196086764336, 0.04367367923259735, 0.008055227808654308, -0.01811455376446247, 0.00650037731975317, -0.035966090857982635, -0.009430003352463245, -0.001366039039567113, 0.03862585127353668, -0.006067624781280756, -0.054936327040195465, -0.029030881822109222, -0.024533448740839958, 0.05979648232460022, -0.00026818428887054324, -0.03720509260892868, -0.017855530604720116, -0.038578491657972336, -0.0007425936637446284, -0.022093594074249268, 0.00773549173027277, -0.00421522231772542, -0.03425392135977745, 0.020061690360307693, -0.007766544818878174, -0.0031771333888173103, 0.01272597722709179, 0.03822985291481018, 0.04607664421200752, 0.04422038793563843, -0.006303709931671619, 0.037336867302656174, -0.008291877806186676, 0.003658744040876627, -0.0005657002911902964, 0.03554289788007736, 0.008817405439913273, -0.018086913973093033, 0.027865754440426826, 0.02242915891110897, -0.2823083698749542, -0.04344955086708069, 0.00311673735268414, -0.016897069290280342, 0.02038716711103916, 0.004636990372091532, 0.03209015354514122, -0.019895510748028755, -0.014590878039598465, 0.0023571611382067204, 0.03344417363405228, 0.03365645557641983, 0.013880888931453228, 0.05312164127826691, 0.055041540414094925, 0.0409897081553936, 0.0030993821565061808, -0.025558557361364365, -0.008283820003271103, 0.01895637810230255, -0.03029000386595726, -0.08058961480855942, -0.028709692880511284, 0.029643910005688667, -0.013392536900937557, 0.06304940581321716, -0.07263268530368805, 0.0036195842549204826, -0.03611977770924568, -0.013955853879451752, -0.003572809975594282, -0.026965796947479248, -0.04887942224740982, 0.028071021661162376, 0.02668105624616146, -0.018971405923366547, 0.024025538936257362, 0.017424512654542923, 0.036544281989336014, 0.031399309635162354, -0.0048992508091032505, -0.01193202380090952, -0.047062452882528305, 0.008436182513833046, 0.07237039506435394, 0.016364777460694313, -0.061902426183223724, -0.03532751277089119, -0.018703686073422432, 0.030727270990610123, -0.022827796638011932, -0.03273220732808113, -0.037293873727321625, 0.02112116850912571, 0.0070255594328045845, -0.023158878087997437, -0.03668450191617012, -0.026648763567209244, -0.008154316805303097, 0.007581544108688831, -0.019973410293459892, -0.026156090199947357, -0.045555803924798965, -0.014110800810158253, -0.078916534781456, -0.030325114727020264, -0.02871626801788807, -0.024375474080443382, 0.04073936119675636, 0.04316376522183418, -0.023967331275343895, -0.010245979763567448, -0.010784637182950974, -0.0938323587179184, -0.01762859895825386, -0.011692334897816181, -0.0004831132246181369, -0.005967792589217424, -0.011535831727087498, 0.06143647059798241, -0.02595912665128708, -0.045759107917547226, -0.007376621011644602, -0.00646956218406558, 0.019649719819426537, 0.007436908781528473, 0.013633087277412415, -0.019719351083040237, -0.0070753456093370914, -0.055171746760606766, 0.04126095399260521, -0.009943371638655663, -0.01686077006161213, 0.03650951385498047, 0.03871465474367142, 0.012774502858519554, 0.023479100316762924, 0.03405800461769104, 0.0062957629561424255, 0.034293584525585175, 0.023199493065476418, -0.08378468453884125, 0.023105045780539513, -0.04974442347884178, -0.031082667410373688, 0.029493382200598717, -0.06932000070810318, -0.02074747532606125, 0.011954469606280327, 0.010300644673407078, -0.01779029332101345, 0.0011901984689757228, -0.0014344163937494159, 0.01791742816567421, -0.031164882704615593, -0.025134418159723282, -0.006559798028320074, 0.031735315918922424, 0.03733700513839722, 0.01484284270554781, -0.03961643576622009, 0.027551056817173958, -0.02118055708706379, -0.0010903853690251708, -0.0165469441562891, 0.011915838345885277, 0.009838580153882504, -0.015781592577695847, 0.027624933049082756, -0.003403163980692625, 0.02989690564572811, 0.03863516077399254, -0.011884046718478203, 0.035038866102695465, 0.035249218344688416, 0.005164119880646467, -0.014209764078259468, 0.008535075932741165, 0.05804283171892166, -0.03953250125050545, 0.01474781334400177, -0.0009615489398129284, 0.06017810106277466, 0.06388723850250244, 0.03196590766310692, -0.003094892483204603, 0.018035918474197388, -0.02311110310256481, -0.0095584187656641, 0.01573888026177883, 0.05005105584859848, -0.062457915395498276, -0.01503829937428236, -0.05005842074751854, 0.02694728411734104, -0.03766477480530739, 0.01534500252455473, -0.0028151036240160465, 0.020192213356494904, -0.0848517194390297, 0.047460608184337616, 0.013386514037847519, -0.040121592581272125, 0.02675403095781803, 0.016865311190485954, 0.02610325627028942, -0.03444566950201988, 0.020103292539715767, 0.014949742704629898, 0.005395527463406324, 0.017801973968744278, -0.04729742929339409, 0.01879938505589962, -0.024964045733213425, -0.05461783707141876, -0.016233859583735466, 0.04406105354428291, -0.037987902760505676, -0.03964405506849289, 0.04827815666794777, -0.014665840193629265, -0.028242601081728935, 0.010507452301681042, -0.011549793183803558, 0.08079488575458527, 0.010142283514142036, 0.02890341728925705, 0.0019396520219743252, -0.006105849053710699, 0.019384779036045074, -0.026700163260102272, 0.034115053713321686, -0.0070837331004440784, -0.014831739477813244, -0.048010796308517456, -0.05793498083949089, 0.004334664437919855, -0.002338284393772483, 0.026942618191242218, -0.0004916106699965894, -0.03478257358074188, -0.004477487411350012, -0.02798890694975853, -0.024471668526530266, 0.026465142145752907, -0.06677041947841644, -0.005313531029969454, 0.05839252844452858, 0.007722925394773483, 0.03853296488523483, -0.07104262709617615, -0.06434787064790726, -0.05848737433552742, -0.0299485195428133, -0.006152072921395302, -0.029181716963648796, -0.042437683790922165, -0.04043557867407799, -0.02679847739636898, 0.022670608013868332, 0.028716638684272766, -0.03145716339349747, -0.03232922777533531, -0.0030819643288850784, 0.0029992221388965845, 0.0326685830950737, -0.05202155560255051, -0.06739834696054459, 0.01623963937163353, -0.010067380033433437, 0.04323804751038551, -0.043138183653354645, 0.05425461009144783, 0.039816953241825104, -0.002619244856759906, 0.01996096782386303, -0.0614316388964653, 0.06119196489453316, -0.01784195564687252, -0.021256381645798683, 0.015653440728783607, 0.014272166416049004, -0.007671883329749107, -0.026551494374871254, -0.018886767327785492, 0.02588379941880703, 0.03056345507502556, 0.033036116510629654, 0.030528618022799492, 0.04138672351837158, 0.00944655854254961, 0.025756901130080223, -0.021621935069561005, 0.005528279114514589, 0.0656362771987915, 0.002643529325723648, -0.0015253606252372265, -0.06000225991010666, -0.03561607375741005, 0.0014773287111893296, 0.0017657451098784804, 0.020769137889146805, -0.06419067829847336, 0.0343155674636364, 0.03497069701552391, 0.04659586399793625, 0.031297966837882996, -0.04230364039540291, 0.03798159211874008, -0.06101794168353081, 0.006659091915935278, -0.04125121608376503, -0.018661828711628914, 0.0631001740694046, -0.03864290192723274, 0.0058662667870521545, -0.003979932051151991, -0.04658491164445877, 0.036906562745571136, -0.021721849218010902, -0.05976817011833191, 0.012005727738142014, -0.018824394792318344, -0.025651972740888596, 0.05732649192214012, -0.04299415275454521, -0.031180625781416893, -0.03737286478281021, -0.026588747277855873, -0.00795550737529993, 0.004843709524720907, 0.03044024482369423, -0.012930282391607761, 0.03148210421204567, -0.010007417760789394, 0.021131694316864014, 0.018519986420869827, 0.05403677001595497, -0.017203744500875473, 0.009129130281507969, -0.0267316997051239, 0.060246292501688004, 0.028936004266142845, 0.0077676791697740555, 0.02126774564385414, 0.010979492217302322, -0.003257779637351632, -0.045120980590581894, 0.06039470061659813, 0.014900272712111473, -0.014624998904764652, -0.051693402230739594, 0.07250560820102692, 0.01744231954216957, -0.0562797486782074, -0.011509433388710022, 0.025313496589660645, -0.0258591677993536, -0.017786972224712372, 0.05139927938580513, 0.0004324850451666862, -0.00636415695771575, 0.07990200072526932, 0.04787137731909752, 0.057191044092178345, 0.08880269527435303, 0.0018394461367279291, -0.04460274428129196, 0.05262402072548866, 0.0798950269818306, 0.06021401658654213, 0.04974936693906784, -0.011751137673854828, 0.06896716356277466, -0.05062956362962723, -0.053880415856838226, -0.004761793650686741, 0.0376884751021862, -0.034106072038412094, -0.03326337784528732, 0.03775040805339813, 0.05291061848402023, -0.021734710782766342, 0.03179537132382393, -0.03273036330938339, -0.002035816665738821, 0.04403703287243843, -0.0017116437666118145, 0.01823902316391468, 0.035928912460803986, 0.02319924719631672, 0.013349329121410847, -0.027627641335129738, 0.008617302402853966, 0.02262864075601101, -0.001828964101150632, 0.014163960702717304, 0.017769934609532356, -0.019977618008852005, -0.010337786749005318, 0.009270237758755684, 0.03370627388358116, 0.10222147405147552, -0.03094019740819931, -0.0032196762040257454, 0.004121365025639534, -0.01087771262973547, 0.020889053121209145, 0.013086950406432152, 0.01765289157629013, -0.02537349797785282, -0.005449165590107441, -0.04989169165492058, -0.011110348626971245, 0.0127399368211627, -0.020659634843468666, 0.028299782425165176, -0.050034910440444946, 0.01094396598637104, 0.030438650399446487, 0.010207509621977806, -0.08060087263584137, -0.030176401138305664, -0.006236264016479254, -0.07872959226369858, -0.04281698539853096, -0.07523009926080704, 0.004050813149660826, 0.008318084292113781, -0.0626436322927475, 0.034073617309331894, -0.009165029972791672, -0.005746666807681322, 0.012021810747683048, -0.07118939608335495, -0.0023922340478748083, 0.030702384188771248, -0.02914745733141899, -0.009062240831553936, 0.039137665182352066, 0.025663718581199646, -0.014082230627536774, -0.017356468364596367, 0.01823369413614273, 0.016847500577569008, 0.021025851368904114, -0.009167751297354698, -0.03564805909991264, -0.09425005316734314, -0.013190392404794693, 0.031706370413303375, 0.0005360038485378027, -0.07473155856132507, 0.027565177530050278, -0.03888488560914993, 0.020849239081144333, 0.07930499315261841, 0.0410635843873024, 0.03040400892496109, -0.038735438138246536, -0.054567743092775345, 0.002875077771022916, 0.016044316813349724, 0.052217669785022736, -0.022244593128561974, 0.07233060151338577, 0.02978121116757393, -0.030203236266970634, -0.07275047153234482, 0.028101511299610138, 0.001731983502395451, -0.034828219562768936, -0.02739974483847618, -0.04256255552172661, -0.01659517176449299, -0.07472589612007141, -0.011096036992967129, 0.029756076633930206, -0.007185083813965321, -0.02427724190056324, -0.007495386525988579, -0.026622289791703224, -0.004040495492517948, -0.005486747249960899, -0.02168046124279499, 0.0015178481116890907, -0.00464635482057929, -0.02911776304244995, -0.06318322569131851, 0.011586092412471771, -0.024928519502282143, -0.012155051343142986, -0.014411059208214283, -0.034500930458307266, 0.014665431343019009, 0.03615947440266609, 0.022398971021175385, 0.013910149224102497, -0.002121425699442625, -0.03391227871179581 ]
302
An Efficient Framework for Crediting Data Contributors of Diffusion Models
https://openreview.net/forum?id=9EqQC2ct4H
[ "MingYu Lu", "Chris Lin", "Chanwoo Kim", "Su-In Lee" ]
Poster
As diffusion models are deployed in real-world settings and their performance driven by training data, appraising the contribution of data contributors is crucial to creating incentives for sharing quality data and to implementing policies for data compensation. Depending on the use case, model performance corresponds to various global properties of the distribution learned by a diffusion model (e.g., overall aesthetic quality). Hence, here we address the problem of attributing global properties of diffusion models to data contributors. The Shapley value provides a principled approach to valuation by uniquely satisfying game-theoretic axioms of fairness. However, estimating Shapley values for diffusion models is computationally impractical because it requires retraining and rerunning inference on many subsets of data contributors. We introduce a method to efficiently retrain and rerun inference for Shapley value estimation, by leveraging model pruning and fine-tuning. We evaluate the utility of our method with three use cases: (i) image quality for a DDPM trained on a CIFAR dataset, (ii) demographic diversity for an LDM trained on CelebA-HQ, and (iii) aesthetic quality for a Stable Diffusion model LoRA-finetuned on Post-Impressionist artworks. Our results empirically demonstrate that our framework can identify important data contributors across global properties, outperforming existing attribution methods for diffusion models.
data attribution, diffusion models, Shapley values
By model pruning and fine-tuning, we efficiently estimate Shapley values and attribute global properties of diffusion models to data contributors
13,612
2407.03153
[ -0.0002693835413083434, -0.041459761559963226, -0.0063656968995928764, 0.0615474097430706, 0.037315625697374344, 0.038085464388132095, -0.0012822150019928813, -0.00500020757317543, -0.011885538697242737, -0.06301088631153107, -0.0027574943378567696, -0.0035337810404598713, -0.07143750786781311, 0.0014121923595666885, -0.024267151951789856, 0.04059804603457451, 0.0287069883197546, -0.016312602907419205, -0.037669602781534195, 0.02813827060163021, -0.021176328882575035, -0.025895830243825912, 0.011701450683176517, -0.004488461185246706, -0.002433856250718236, -0.019556723535060883, 0.04564158245921135, -0.002599281957373023, -0.023308390751481056, 0.015385160222649574, 0.03946418687701225, 0.01465396024286747, 0.010418490506708622, -0.012402395717799664, -0.01737663336098194, -0.0058097755536437035, -0.009568718262016773, 0.011210215277969837, 0.0077347527258098125, 0.011265719309449196, -0.026732290163636208, 0.013640514574944973, 0.01778859831392765, 0.02119678631424904, -0.03879283368587494, -0.018246294930577278, -0.10071361064910889, 0.04310787469148636, 0.0005846202839165926, 0.0013687292812392116, -0.08181679993867874, 0.007399003487080336, -0.0016557774506509304, 0.0056086014956235886, -0.011567901819944382, 0.051007892936468124, 0.030211888253688812, -0.077251136302948, -0.014355465769767761, -0.07007687538862228, -0.026261983439326286, 0.019344249740242958, 0.028630344197154045, -0.003801056882366538, 0.0024495951365679502, -0.01737629435956478, 0.017870759591460228, 0.046206310391426086, -0.04107183218002319, -0.029710248112678528, -0.02582511119544506, -0.010780224576592445, -0.017484618350863457, -0.031556423753499985, -0.018997378647327423, -0.04559833183884621, 0.014984630048274994, 0.009818890132009983, 0.05380956828594208, 0.00024778328952379525, 0.0072879185900092125, -0.00076491036452353, 0.004689924418926239, 0.034836310893297195, 0.018277298659086227, 0.00297535234130919, -0.02392822690308094, -0.03303711488842964, -0.07705298811197281, 0.04103267565369606, -0.03218209370970726, -0.04014955088496208, 0.038970060646533966, 0.019739767536520958, 0.021141888573765755, -0.0010596003849059343, 0.03737916797399521, -0.0008469989988952875, 0.004016360267996788, -0.027573086321353912, -0.04153599962592125, -0.032463230192661285, -0.0027738490607589483, 0.016419434919953346, -0.08929981291294098, -0.028790917247533798, -0.011385474354028702, -0.030719542875885963, -0.026663511991500854, 0.028945766389369965, -0.013255094178020954, -0.002980443648993969, -0.03641971945762634, -0.014020484872162342, -0.06535512208938599, 0.02475811168551445, 0.009607935324311256, 0.014381103217601776, -0.009520727209746838, 0.02805051952600479, 0.05965784937143326, 0.05622849985957146, -0.00305946241132915, 0.05700581520795822, -0.013416031375527382, 0.011468741111457348, 0.055293887853622437, 0.01961282081902027, -0.05226464197039604, -0.02295761927962303, 0.03246498107910156, 0.04005854204297066, -0.02416977658867836, -0.00534566817805171, 0.015805348753929138, -0.06310690194368362, 0.005968346260488033, 0.009950608015060425, 0.050020694732666016, -0.023783821612596512, 0.006405041553080082, 0.002998469630256295, 0.025644687935709953, -0.011491840705275536, 0.06414209306240082, -0.01790245622396469, 0.0061390334740281105, -0.02381983771920204, -0.021104151383042336, 0.0020426094997674227, 0.028031134977936745, 0.027887510135769844, 0.04634736478328705, -0.05142628028988838, 0.015648115426301956, 0.03098008781671524, 0.026119830086827278, 0.008185338228940964, 0.005682391580194235, 0.007310353685170412, 0.02208627574145794, -0.030798235908150673, -0.011915391311049461, -0.009799649938941002, -0.005906959995627403, -0.053602203726768494, 0.03330818563699722, 0.041114795953035355, -0.0194467231631279, -0.023961303755640984, -0.039702579379081726, 0.005609394051134586, 0.05140695720911026, -0.002149424282833934, 0.010933216661214828, 0.027542224153876305, 0.04686814919114113, 0.05788527801632881, 0.030429614707827568, -0.0013835974968969822, -0.08940736949443817, -0.0006908067152835429, 0.015439558774232864, -0.009875609539449215, 0.0001288786152144894, -0.015078840777277946, 0.06748529523611069, -0.015469304285943508, 0.009316669777035713, 0.026309873908758163, -0.09428772330284119, -0.0005616035195998847, 0.0373380109667778, -0.006263588555157185, 0.04940536990761757, 0.016689982265233994, -0.032611798495054245, 0.048405829817056656, 0.0449054092168808, 0.030005110427737236, 0.05857899785041809, -0.015436332672834396, 0.030346814543008804, -0.005100970156490803, -0.03564427047967911, -0.021858172491192818, 0.04986125975847244, -0.038623686879873276, -0.03673168644309044, 0.04818235710263252, -0.03863786533474922, -0.0076989163644611835, 0.021788422018289566, 0.013643773272633553, -0.0020348273683339357, -0.0001768346264725551, -0.021150870248675346, 0.018827954307198524, -0.014226589351892471, -0.05459006503224373, 0.03443320840597153, 0.03352595493197441, -0.049018967896699905, -0.0007925165118649602, -0.024903392419219017, 0.07875041663646698, 0.044692885130643845, -0.018601078540086746, 0.021318290382623672, 0.038737520575523376, 0.008242514915764332, 0.017149057239294052, 0.03218730539083481, -0.03381654992699623, 0.0498652309179306, -0.014357208274304867, 0.005743371322751045, -0.02497178688645363, 0.08776997774839401, -0.04681217670440674, 0.007233503274619579, 0.05120271444320679, -0.028438933193683624, 0.06884363293647766, -0.00458369730040431, 0.023398559540510178, 0.0026796534657478333, -0.0270854402333498, -0.03715967386960983, -0.02085971273481846, -0.01493124384433031, 0.015924997627735138, -0.014416464604437351, -0.060116954147815704, 0.035909056663513184, -0.04732044041156769, 0.023584075272083282, -0.00205902848392725, 0.03990625962615013, 0.022275449708104134, 0.06249828636646271, -0.0029591252095997334, -0.052641354501247406, -0.024534476920962334, -0.004694583360105753, -0.11065512150526047, -0.04327107593417168, -0.008808320388197899, 0.06371475756168365, 0.024557650089263916, 0.0821729376912117, -0.02537289448082447, -0.0021377343218773603, -0.01885019615292549, -0.029304523020982742, 0.008282310329377651, 0.00724458321928978, -0.006574033759534359, -0.05196268856525421, -0.018711650744080544, -0.01755264773964882, 0.0718834325671196, -0.044723354279994965, -0.02340507321059704, -0.019171934574842453, -0.019949505105614662, -0.009675173088908195, 0.015440528281033039, 0.017422284930944443, 0.025910064578056335, 0.032553959637880325, 0.031725455075502396, 0.019988827407360077, 0.023532336577773094, 0.041958361864089966, 0.04979938268661499, 0.011452511884272099, -0.01796167530119419, -0.048110347241163254, 0.02988397143781185, -0.028108030557632446, -0.009074470028281212, 0.039488665759563446, 0.01977638341486454, -0.017513608559966087, 0.0006240270449779928, 0.030725032091140747, 0.014144966378808022, -0.2842649221420288, -0.008522155694663525, 0.022376256063580513, -0.0018151553813368082, -0.0002654616255313158, -0.0318269208073616, 0.05486057698726654, -0.0012675932375714183, -0.020955724641680717, 0.009557042270898819, -0.005769480485469103, 0.028125062584877014, -0.01619657874107361, 0.06953597068786621, 0.06441128998994827, 0.06423161923885345, 0.012652488425374031, -0.018990421667695045, -0.019217832013964653, 0.018967684358358383, -0.04984492436051369, -0.04694510996341705, -0.03260060399770737, 0.024355659261345863, -0.006631722208112478, 0.03236407786607742, -0.058931950479745865, -0.012405835092067719, -0.045842960476875305, 0.0011984760640189052, 0.0018348386511206627, -0.03524451330304146, 0.002499685622751713, 0.038593653589487076, 0.04291469603776932, -0.03514781966805458, 0.024218639358878136, 0.026763174682855606, -0.028347013518214226, 0.0017706798389554024, 0.023187745362520218, 0.007853448390960693, -0.01642879843711853, 0.02007058635354042, 0.06584486365318298, 0.012724349275231361, -0.044705215841531754, -0.010987517423927784, -0.02298424020409584, 0.03135128319263458, -0.010924865491688251, -0.0065153311006724834, -0.042586710304021835, 0.01785007305443287, -0.0486319400370121, -0.015049810521304607, -0.03751420974731445, -0.030601756647229195, -0.009599987417459488, 0.003763197921216488, 0.02452615275979042, -0.053441621363162994, 0.003684771480038762, -0.02183610014617443, -0.03225354850292206, -0.0424746610224247, -0.09004558622837067, -0.04320362210273743, 0.05051470920443535, 0.040315840393304825, -0.010542146861553192, 0.0019314574310556054, -0.004736362025141716, -0.10806263983249664, 0.01961284689605236, -0.003209953662008047, 0.017531486228108406, 0.01945422776043415, -0.006523790769279003, 0.03914966434240341, 0.0032312513794749975, -0.04376073554158211, 0.024741623550653458, -0.02757895551621914, -0.003333353204652667, -0.01769155077636242, 0.024410611018538475, -0.02914261445403099, -0.024391312152147293, -0.047831252217292786, 0.02647825889289379, 0.04357011243700981, 0.028692835941910744, 0.008669987320899963, 0.04233232140541077, 0.04691847413778305, 0.059043701738119125, 0.06436697393655777, 0.029970752075314522, 0.02785026654601097, 0.025786126032471657, -0.08771774172782898, -0.01818736456334591, -0.07494400441646576, -0.0362040139734745, 0.02194806933403015, -0.05776922404766083, -0.014124960638582706, 0.017114579677581787, -0.025309186428785324, 0.004613709636032581, 0.0025177928619086742, -0.026587558910250664, -0.014713948592543602, -0.0209707822650671, -0.021722447127103806, -0.008020737208425999, 0.036056745797395706, 0.022324254736304283, 0.007312908302992582, 0.0010850592516362667, 0.04082930088043213, -0.027741150930523872, 0.027026761323213577, -0.004877402447164059, 0.012114384211599827, -0.0008354452438652515, -0.010031076148152351, -0.026718709617853165, -0.024721067398786545, 0.02209777943789959, 0.030092379078269005, -0.02408147044479847, 0.026094909757375717, 0.05300439894199371, 0.0006356845260597765, -0.014230487868189812, -0.020753461867570877, 0.024886080995202065, -0.06290207803249359, 0.0349857360124588, 0.0038387486711144447, 0.02186788059771061, 0.02680468186736107, 0.05783284828066826, -0.016583947464823723, 0.0025426247157156467, 0.01143472921103239, -0.006661585997790098, -0.02625889889895916, 0.014446370303630829, -0.05390755832195282, -0.008674654178321362, -0.028038810938596725, -0.01651379093527794, -0.01887720450758934, -0.008714591152966022, -0.0642770379781723, 0.023897618055343628, -0.0619928278028965, 0.051331777125597, 0.024679189547896385, -0.03915201127529144, -0.01467890851199627, -0.005690803285688162, 0.05225060135126114, -0.01518678106367588, -0.030603278428316116, -0.014638837426900864, -0.005143208894878626, 0.028482802212238312, -0.027654357254505157, -0.010588668286800385, -0.05314188823103905, -0.02942795678973198, 0.006916377693414688, -0.00697711668908596, -0.006016696337610483, -0.030263474211096764, 0.04975544661283493, -0.03091045469045639, -0.039325784891843796, -0.0035801890771836042, 0.011232865042984486, 0.06533277034759521, 0.036871861666440964, 0.015164444223046303, 0.019191116094589233, -0.03457730636000633, 0.04061517119407654, -0.011266286484897137, 0.007879843935370445, -0.023295143619179726, -0.03807825222611427, -0.030901040881872177, -0.029259854927659035, 0.00036638625897467136, 0.023594388738274574, -0.020860718563199043, -0.013867112807929516, -0.019955698400735855, -0.011982311494648457, -0.0405561700463295, -0.0055824164301157, 0.01840464025735855, -0.04975512623786926, 0.029591118916869164, 0.0445922389626503, -0.044139958918094635, 0.039006538689136505, -0.03245103359222412, -0.048565953969955444, -0.06336858868598938, -0.01760939694941044, 0.025628719478845596, -0.03953852877020836, -0.016163483262062073, -0.03855502977967262, 0.011965209618210793, 0.005553289316594601, 0.016522321850061417, -0.028330393135547638, -0.03573877364397049, 0.03708053380250931, 0.005248598288744688, 0.051366597414016724, -0.03567587584257126, -0.021619921550154686, -0.051060184836387634, -0.026680249720811844, -0.005307297687977552, -0.04465359076857567, 0.005370362661778927, 0.057150259613990784, 0.0023658231366425753, 0.009853798896074295, -0.03462723270058632, 0.07058414816856384, 0.0034749917685985565, -0.01585237868130207, -0.024314530193805695, 0.013975624926388264, -0.013874334283173084, -0.010245620273053646, 0.03462259843945503, 0.011776349507272243, -0.01860124059021473, 0.03051522560417652, 0.010110230185091496, 0.03366870805621147, 0.02199886180460453, 0.0132093895226717, -0.04980946332216263, 0.03135693073272705, 0.0525064654648304, -0.03272227197885513, 0.005782452877610922, -0.06523866206407547, -0.038445666432380676, 0.02855915017426014, 0.007096115965396166, 0.038570284843444824, 0.004978131968528032, 0.014914852567017078, 0.042723771184682846, 0.008079218678176403, 0.03221682459115982, -0.003048770362511277, 0.02047594077885151, -0.03311069309711456, 0.025914868339896202, -0.04287028685212135, -0.0031239993404597044, 0.05532262846827507, -0.04163365438580513, 0.027033144608139992, -0.001029657549224794, -0.03192634880542755, 0.04803166538476944, -0.061945993453264236, -0.06672489643096924, -0.00926803145557642, -0.02510509081184864, 0.0015238083433359861, 0.03225024789571762, -0.05568581447005272, -0.010602783411741257, -0.010903747752308846, -0.03626858443021774, 0.0033306179102510214, -0.015999561175704002, 0.02426406741142273, 0.00035879475763067603, 0.01217880379408598, -0.026496633887290955, 0.021321475505828857, 0.01154980156570673, 0.04907411336898804, 0.0026023623067885637, 0.04213875159621239, -0.01737331785261631, 0.04352894425392151, 0.043307721614837646, 0.0032174894586205482, 0.034374598413705826, 0.024067431688308716, -0.005376813467592001, -0.03799416124820709, 0.05952040106058121, 0.010376488789916039, -0.020476723089814186, -0.06976532936096191, 0.04053724557161331, 0.01930832490324974, -0.0580720491707325, -0.057682063430547714, 0.02823890745639801, -0.02413342148065567, 0.030492840334773064, 0.007323873694986105, 0.015883781015872955, 0.020455779507756233, 0.06261830776929855, 0.01858513057231903, 0.08109809458255768, 0.053862761706113815, 0.013555203564465046, 0.00527338357642293, 0.021176598966121674, 0.0870007798075676, 0.08988647162914276, 0.07030383497476578, -0.009145849384367466, 0.07407607138156891, -0.003616997739300132, -0.05840684100985527, -0.014335330575704575, 0.023075148463249207, -0.0175726730376482, -0.03607318922877312, -0.017669469118118286, 0.1085398942232132, 0.003626224584877491, 0.05841587483882904, -0.053889200091362, -0.027550509199500084, 0.011041482910513878, -0.01662345603108406, 0.000992181827314198, 0.007113045081496239, 0.03748488053679466, 0.0028636327479034662, -0.04915137588977814, 0.005878183990716934, 0.05269313231110573, -0.0339166522026062, -0.004036936908960342, 0.019659889861941338, -0.006882592104375362, 0.012326732277870178, 0.027503592893481255, 0.037024613469839096, 0.08009151369333267, -0.05555161088705063, -0.046342652291059494, -0.010922412388026714, 0.0038444544188678265, 0.010800594463944435, 0.05559738725423813, 0.033922214061021805, 0.0011373584857210517, 0.018978646025061607, -0.026082094758749008, 0.02610333450138569, 0.04135643690824509, 0.019255761057138443, 0.013992993161082268, -0.05517052114009857, -0.00537146907299757, 0.04298383370041847, -0.0000751270999899134, -0.06678186357021332, -0.04512348026037216, 0.00343637284822762, -0.05710671842098236, -0.07456392794847488, -0.036601535975933075, 0.047582149505615234, -0.003906837664544582, -0.03900615870952606, -0.014092453755438328, -0.022917957976460457, 0.02530871331691742, 0.0624987967312336, -0.07400533556938171, -0.032666031271219254, 0.03909037262201309, 0.00004575083949021064, -0.01356346346437931, 0.009685727767646313, 0.01457434892654419, -0.03040149062871933, -0.011619805358350277, 0.04749936982989311, 0.01987503096461296, 0.013876395300030708, -0.010770396329462528, -0.02469182386994362, -0.092574343085289, 0.022190220654010773, 0.02804211899638176, -0.057748548686504364, -0.08530163764953613, 0.050082504749298096, -0.0211750790476799, 0.02640848606824875, 0.06200050190091133, 0.06251674890518188, 0.012249245308339596, -0.03490843251347542, 0.01223844476044178, 0.0037082305643707514, 0.012141924351453781, 0.0457538366317749, -0.013307427987456322, 0.07525753229856491, 0.026346560567617416, -0.050527140498161316, -0.04583077132701874, 0.05914079770445824, -0.011421404778957367, 0.007132763974368572, -0.036440037190914154, -0.027828531339764595, -0.016524694859981537, -0.08390826731920242, -0.03312385082244873, 0.008699342608451843, -0.014126425608992577, -0.04719306156039238, 0.0032697829883545637, 0.010520454496145248, 0.0033928698394447565, -0.028684459626674652, -0.030793221667408943, 0.016169577836990356, -0.024729197844862938, -0.007508306298404932, -0.059345927089452744, 0.02758246660232544, -0.02654896304011345, -0.013407758437097073, -0.0196027010679245, -0.05510876700282097, -0.01233894657343626, 0.006680767983198166, 0.0347277969121933, -0.007069885265082121, 0.016593895852565765, -0.01013736892491579 ]
303
Decentralized Optimization with Coupled Constraints
https://openreview.net/forum?id=AJM52ygi6Y
[ "Demyan Yarmoshik", "Alexander Rogozin", "Nikita Kiselev", "Daniil Dorin", "Alexander Gasnikov", "Dmitry Kovalev" ]
Poster
We consider the decentralized minimization of a separable objective $\sum_{i=1}^{n} f_i(x_i)$, where the variables are coupled through an affine constraint $\sum_{i=1}^n\left(\mathbf{A}_i x_i - b_i\right) = 0$. We assume that the functions $f_i$, matrices $\mathbf{A}_i$, and vectors $b_i$ are stored locally by the nodes of a computational network, and that the functions $f_i$ are smooth and strongly convex. This problem has significant applications in resource allocation and systems control and can also arise in distributed machine learning. We propose lower complexity bounds for decentralized optimization problems with coupled constraints and a first-order algorithm achieving the lower bounds. To the best of our knowledge, our method is also the first linearly convergent first-order decentralized algorithm for problems with general affine coupled constraints.
decentralized optimization, convex optimization, affine constraints
Optimal algorithm and lower bound for smooth strongly convex setup
13,609
2407.02020
[ -0.048028916120529175, 0.011819600127637386, 0.013535847887396812, 0.01868104375898838, 0.02791496179997921, 0.040975745767354965, 0.01831994578242302, -0.00734713627025485, -0.011760452762246132, -0.044191874563694, -0.018800918012857437, -0.0033217393793165684, -0.06575878709554672, -0.0036619724705815315, -0.01781046763062477, 0.03611713647842407, 0.03300870209932327, 0.004846304189413786, 0.014445261098444462, 0.042582157999277115, -0.03515702858567238, 0.00547768222168088, 0.010664460249245167, 0.04696850851178169, 0.02657553181052208, 0.02409893274307251, 0.02300151437520981, 0.025921158492565155, -0.011504920199513435, 0.0028666506987065077, 0.020728081464767456, -0.009568418376147747, 0.0273662731051445, -0.0197345782071352, 0.008721425198018551, 0.03130115196108818, 0.002908037742599845, 0.011595403775572777, 0.011709163896739483, 0.023045260459184647, -0.03363541141152382, 0.04756923019886017, 0.011606726795434952, 0.03326728940010071, -0.058770570904016495, 0.04073157161474228, -0.061468563973903656, 0.025989241898059845, 0.01406522374600172, -0.04825539514422417, -0.09006526321172714, -0.010589937679469585, 0.029173851013183594, -0.009597213938832283, -0.014054153114557266, 0.024772748351097107, 0.020098265260457993, -0.04572493955492973, -0.01029910147190094, -0.05354353412985802, -0.038975007832050323, 0.033759478479623795, 0.013247827999293804, -0.004535617772489786, -0.022524971514940262, -0.008066415786743164, 0.014398155733942986, 0.050482556223869324, -0.038508858531713486, 0.0031151603907346725, -0.03405937924981117, -0.011615379713475704, 0.019158994778990746, 0.007503356318920851, -0.007427333854138851, -0.04829593002796173, 0.017790479585528374, -0.009264958091080189, 0.041282594203948975, 0.02492307685315609, -0.00996443722397089, 0.0379059799015522, 0.022669171914458275, 0.006431969814002514, -0.003620241768658161, -0.009718758054077625, -0.049611013382673264, -0.013543803244829178, -0.09565424174070358, 0.06483320891857147, -0.023521166294813156, -0.03705231100320816, -0.007386252749711275, 0.04599139466881752, 0.0211032647639513, -0.031204871833324432, 0.031507037580013275, 0.038203202188014984, 0.06008348986506462, 0.014754412695765495, -0.0019496162422001362, -0.02007083036005497, -0.00216951547190547, -0.024974137544631958, -0.08661895245313644, -0.02126101776957512, -0.0347161740064621, -0.02455335110425949, 0.007037119474261999, -0.0010698848636820912, -0.029650148004293442, 0.03480257838964462, 0.007222812157124281, -0.026367994025349617, -0.08245714753866196, 0.07120222598314285, -0.006977686192840338, 0.010015252977609634, -0.0017668704967945814, -0.005520287435501814, 0.061858754605054855, 0.04847661033272743, -0.009608106687664986, 0.08327366411685944, -0.0005947827594354749, 0.008492441847920418, 0.028358807787299156, 0.02891915664076805, -0.055078499019145966, -0.05478449910879135, 0.004578800871968269, 0.03677179664373398, 0.02632080763578415, -0.03204171359539032, -0.010193096473813057, -0.04197070747613907, -0.01824079267680645, 0.04968678206205368, 0.02089306339621544, -0.003200652077794075, -0.016570383682847023, -0.0019051977433264256, 0.06101278215646744, -0.010705067776143551, 0.04751100018620491, -0.017148450016975403, 0.05553463101387024, -0.04053792729973793, -0.05922485142946243, -0.008354373276233673, -0.014176435768604279, -0.010300865396857262, -0.01428510993719101, -0.06705760955810547, 0.01745307818055153, 0.03825075179338455, 0.044444385915994644, 0.0335380882024765, -0.02757778950035572, 0.03271731734275818, 0.021383430808782578, 0.01102987676858902, 0.015385795384645462, -0.00025174746406264603, -0.008437162265181541, -0.06249869987368584, 0.036730412393808365, 0.05098790302872658, -0.0085720494389534, 0.0006651727017015219, -0.022202588617801666, -0.04326140135526657, 0.02831985056400299, 0.01975916139781475, -0.0006220439681783319, -0.003007651073858142, 0.0672902911901474, 0.011379634961485863, 0.03714734688401222, 0.032637421041727066, -0.09036316722631454, 0.039995837956666946, 0.030378544703125954, -0.016252290457487106, -0.0018115428974851966, -0.0025797816924750805, 0.08065422624349594, -0.009063312783837318, 0.03435593098402023, 0.013349703513085842, -0.04803392291069031, -0.021629853174090385, 0.00873030535876751, -0.03027160093188286, 0.03505810722708702, 0.006915705744177103, -0.028781138360500336, -0.005347325932234526, -0.010626799426972866, 0.01834622398018837, 0.06346964836120605, -0.03670371696352959, 0.03282544016838074, 0.013209541328251362, -0.03350720554590225, 0.024114470928907394, 0.0350368358194828, -0.04366280138492584, -0.04303165525197983, 0.026517929509282112, -0.02245990000665188, 0.0037374484818428755, 0.02110983245074749, -0.009375101886689663, 0.03336550295352936, -0.011906826868653297, -0.014348265714943409, 0.027367442846298218, 0.05341683328151703, -0.04847750812768936, 0.04580935463309288, 0.01769072562456131, -0.03489670529961586, 0.07613983750343323, -0.015271877869963646, 0.0674823671579361, 0.09603113681077957, -0.020404715090990067, 0.0036789895966649055, 0.02621723897755146, 0.013105769641697407, 0.0062369974330067635, 0.003553439397364855, -0.0033452389761805534, 0.014322305098176003, 0.035201579332351685, -0.01625841297209263, -0.03669049218297005, 0.0816178247332573, -0.04211710765957832, -0.019705073907971382, 0.06599142402410507, -0.025753779336810112, 0.06445609033107758, -0.01621808111667633, 0.0006463167374022305, 0.034615758806467056, 0.01654985547065735, -0.004617656581103802, 0.0026349422987550497, -0.029109735041856766, -0.020458415150642395, -0.01455563586205244, 0.0010603602277114987, 0.036339301615953445, -0.06776384264230728, 0.04882068559527397, -0.003132043406367302, 0.08038922399282455, 0.0439864881336689, 0.032345015555620193, 0.03307134285569191, 0.004315677564591169, -0.05477359890937805, -0.04233972728252411, -0.1036137267947197, -0.05864299088716507, 0.0335833765566349, 0.0565977543592453, 0.028977559879422188, 0.07737081497907639, -0.03941933438181877, 0.03538601100444794, -0.01583835668861866, -0.022838065400719643, 0.002244063885882497, 0.012248401530086994, -0.0020483590196818113, -0.0366048663854599, -0.019590014591813087, 0.028241897001862526, 0.06059417128562927, 0.0020962099079042673, -0.012979192659258842, -0.023583365604281425, -0.05164547264575958, 0.042747434228658676, -0.06851058453321457, 0.00005541564314626157, 0.0009128078236244619, 0.000995396520011127, 0.02083524316549301, -0.037029117345809937, 0.027337361127138138, 0.019855733960866928, 0.048389188945293427, 0.04024713113903999, 0.01163097470998764, 0.014955497346818447, -0.03085554577410221, 0.006020312663167715, -0.012533416040241718, -0.040976669639348984, -0.002612689509987831, -0.024318480864167213, 0.0031738511752337217, 0.018371302634477615, 0.0012238926719874144, -0.28002652525901794, -0.016734948381781578, -0.01383005641400814, 0.00951799750328064, 0.03393041342496872, -0.011900904588401318, 0.02313818782567978, -0.04138743877410889, -0.043965552002191544, -0.006756748538464308, 0.010554821230471134, 0.016408929601311684, 0.022241832688450813, 0.083500437438488, 0.03206611052155495, 0.02108454331755638, -0.029407653957605362, -0.014974917285144329, 0.02839120849967003, 0.006943561136722565, -0.028061633929610252, -0.08531685173511505, 0.0004989492008462548, -0.0021441143471747637, 0.013759614899754524, 0.011116634123027325, -0.04971027374267578, -0.005527463275939226, -0.05327298864722252, -0.014955845661461353, -0.06372187286615372, -0.017838848754763603, -0.02258170209825039, 0.010357900522649288, 0.04339148849248886, 0.024397000670433044, 0.016109054908156395, -0.005306204315274954, 0.012695122510194778, 0.004677315708249807, -0.023375753313302994, -0.005126056727021933, -0.037538036704063416, -0.02480512484908104, 0.03609706088900566, 0.04820875823497772, 0.0057488782331347466, -0.03441314399242401, -0.0232338048517704, 0.03599199280142784, 0.0199099350720644, -0.052503012120723724, -0.01750820316374302, -0.017119726166129112, 0.01681162789463997, -0.04432860016822815, -0.00695140240713954, -0.0479632131755352, -0.009880323894321918, 0.04626162722706795, -0.006207453086972237, -0.06622389703989029, -0.006676942575722933, -0.046239130198955536, 0.010403472930192947, -0.04218115285038948, -0.0814950168132782, -0.07000140100717545, 0.05005739629268646, 0.03397158905863762, 0.03880980983376503, 0.003828431712463498, -0.04164520278573036, -0.10207019746303558, -0.013800505548715591, -0.007845685817301273, 0.00814546924084425, -0.008126110769808292, 0.007628269959241152, 0.049008142203092575, -0.040796488523483276, -0.04417344927787781, 0.008382965810596943, 0.03052297979593277, 0.014693666249513626, -0.01590770296752453, 0.027081184089183807, -0.023672914132475853, -0.01719062775373459, -0.034613266587257385, 0.019361183047294617, -0.018742108717560768, 0.052937667816877365, -0.020587820559740067, 0.07098529487848282, 0.01102257240563631, 0.017911510542035103, 0.015368149615824223, 0.03371052443981171, -0.00460188090801239, 0.008622786961495876, -0.08725868910551071, -0.01419114414602518, -0.015340179204940796, -0.01865924894809723, 0.023610975593328476, -0.06068924814462662, -0.005649353377521038, 0.0469045452773571, 0.002597031882032752, -0.003048376878723502, -0.07120105624198914, 0.019165752455592155, -0.052930377423763275, -0.010936284437775612, -0.03796651214361191, -0.013671533204615116, 0.06214514374732971, 0.018823394551873207, -0.001806505722925067, -0.04422954097390175, 0.048368267714977264, 0.01827004738152027, 0.010198556818068027, -0.0189354345202446, 0.026948435232043266, 0.002574673155322671, -0.014676634222269058, 0.008329557254910469, -0.03227914869785309, 0.03435574844479561, 0.03963746130466461, 0.03445833921432495, 0.0024399077519774437, 0.03462492674589157, 0.0006287941359914839, -0.049286484718322754, -0.036654770374298096, 0.05702589079737663, 0.0041836039163172245, 0.05406457930803299, 0.013985521160066128, 0.009164922870695591, -0.011851858347654343, 0.0518585667014122, 0.031681306660175323, 0.005516097880899906, 0.009973767213523388, -0.011136998422443867, -0.018355010077357292, -0.0006518522277474403, -0.048576902598142624, -0.0034292778000235558, -0.004053964279592037, 0.027260836213827133, -0.0008767307153902948, 0.04149028658866882, -0.007578310091048479, 0.012838917784392834, -0.06629666686058044, 0.015585778281092644, -0.015232245437800884, -0.025228897109627724, -0.01671922765672207, 0.05737605690956116, 0.06773988902568817, -0.023594778031110764, -0.033402398228645325, -0.025574877858161926, -0.011983959004282951, 0.046048201620578766, -0.007776714861392975, -0.03989201784133911, -0.006071328651160002, -0.022643279284238815, -0.02502705715596676, 0.022547168657183647, -0.02638201415538788, -0.031083563342690468, 0.0016815554117783904, 0.010006522759795189, -0.0306069478392601, -0.012106964364647865, 0.028850391507148743, 0.07515133172273636, 0.014726262539625168, 0.005822406150400639, -0.023471521213650703, -0.01980135776102543, 0.05491141974925995, 0.01601225510239601, 0.024964939802885056, -0.0038507459685206413, -0.02455192618072033, 0.004155749920755625, -0.010463899001479149, 0.041343122720718384, 0.015703340992331505, -0.0177912674844265, 0.005973218008875847, -0.02355620078742504, 0.00576810585334897, -0.030365094542503357, 0.03167758509516716, 0.01815851405262947, -0.05809285491704941, 0.00579935684800148, 0.038703594356775284, -0.009569886140525341, 0.01704530604183674, -0.020783398300409317, -0.0368000753223896, -0.03714752942323685, 0.01655963808298111, 0.03139630705118179, -0.014973945915699005, -0.02954792231321335, 0.004196126479655504, 0.011083899065852165, -0.013105451129376888, -0.0056995791383087635, -0.003821809310466051, -0.0284041166305542, -0.052700225263834, -0.017511647194623947, 0.07059338688850403, 0.003903033444657922, -0.01339001301676035, -0.00323837180621922, 0.0013926386600360274, 0.039104435592889786, -0.04444434866309166, -0.024088570848107338, 0.04511134698987007, 0.00019837035506498069, 0.05287761986255646, -0.028554968535900116, 0.010701353661715984, -0.07636658847332001, -0.03237682208418846, -0.011105552315711975, 0.010448736138641834, -0.028467407450079918, -0.044245388358831406, -0.02288200333714485, 0.0364280603826046, 0.015364199876785278, -0.0017568544717505574, -0.0067208316177129745, 0.0050279926508665085, -0.0026561629492789507, 0.018642548471689224, -0.060919132083654404, -0.021444417536258698, 0.035600800067186356, 0.005010873079299927, -0.04070533066987991, -0.05151255056262016, 0.038217756897211075, 0.018876684829592705, -0.08615531027317047, 0.03371495380997658, -0.03073209896683693, 0.05426373705267906, 0.019650105386972427, 0.039251457899808884, 0.00457534147426486, -0.008590931072831154, 0.02501467429101467, -0.04236530512571335, -0.03021327778697014, -0.06553889811038971, 0.01699504815042019, 0.03025224059820175, -0.020923344418406487, 0.05451904609799385, 0.031317099928855896, -0.014219632372260094, 0.0020113415084779263, -0.027138175442814827, -0.052236735820770264, 0.018420597538352013, -0.0489172488451004, 0.006662534084171057, 0.039062563329935074, -0.07258766144514084, -0.03586180880665779, 0.0030533429235219955, -0.056924182921648026, -0.026564689353108406, 0.0071953157894313335, 0.007484504021704197, 0.01828671433031559, -0.003464958630502224, -0.04106884077191353, 0.0028601984959095716, 0.04687589406967163, 0.03572077676653862, 0.014860730618238449, 0.006349185481667519, -0.06113903224468231, 0.023168817162513733, 0.027517694979906082, 0.00937116052955389, -0.014372770674526691, 0.06533707678318024, -0.01527746208012104, -0.03985338658094406, 0.05237993225455284, -0.002427401952445507, -0.02619771659374237, -0.066630057990551, 0.0339069738984108, 0.012366795912384987, -0.03952537849545479, -0.018560167402029037, 0.020973432809114456, -0.061908140778541565, 0.015431690961122513, -0.0012794011272490025, 0.020028740167617798, 0.00006711985770380124, 0.06482037156820297, -0.018074581399559975, -0.010644219815731049, 0.07091417908668518, 0.020856838673353195, -0.006353813223540783, -0.008617346175014973, 0.08433443307876587, 0.06984768062829971, 0.031239842996001244, -0.03338636830449104, 0.05683301016688347, -0.053038690239191055, -0.04357383772730827, -0.005283624865114689, 0.004375299904495478, -0.04109407588839531, -0.004323442000895739, -0.015009012073278427, 0.06888826936483383, -0.005050035193562508, 0.07376605272293091, -0.047276418656110764, -0.00649994844570756, 0.03568542003631592, -0.009246326051652431, 0.012039924040436745, 0.04010343924164772, 0.03187861293554306, 0.027126748114824295, -0.012347716838121414, -0.0023470292799174786, -0.015793660655617714, 0.015639645978808403, 0.01544120255857706, -0.018461259081959724, -0.008604047819972038, 0.021652283146977425, 0.01573607325553894, -0.015650350600481033, 0.05845822021365166, -0.044888705015182495, -0.05113117769360542, -0.014068071730434895, 0.015203380957245827, -0.03855755180120468, 0.03083241730928421, 0.028179548680782318, -0.052293915301561356, 0.030873948708176613, -0.023312991484999657, 0.04268394038081169, 0.01354636438190937, 0.029331667348742485, 0.010646839626133442, -0.008259166032075882, 0.012338055297732353, 0.008921469561755657, 0.03690864145755768, -0.04772124066948891, -0.052345409989356995, -0.04605249688029289, -0.08124139904975891, -0.01636645384132862, -0.019039617851376534, 0.022296706214547157, 0.02152431383728981, -0.037151236087083817, -0.024391120299696922, -0.018336696550250053, 0.01570424996316433, 0.010622442699968815, -0.03976945951581001, -0.004433704074472189, 0.022320153191685677, 0.01111410092562437, 0.0530182309448719, 0.017093796283006668, 0.04026251658797264, -0.03629529848694801, -0.002362872939556837, 0.014493151567876339, 0.02760513871908188, 0.021313847973942757, 0.001969211734831333, -0.021695055067539215, -0.05400291085243225, -0.010582328774034977, 0.008273824118077755, -0.06272336840629578, -0.07699060440063477, 0.038483042269945145, -0.009445463307201862, 0.010971274226903915, 0.06307052820920944, -0.016580523923039436, 0.0009387361351400614, -0.034496475011110306, 0.012143530882894993, -0.009000390768051147, -0.020567117258906364, 0.04719340428709984, -0.02827942557632923, 0.04290982335805893, 0.03156028687953949, -0.01535816304385662, -0.0670115128159523, 0.07616365700960159, -0.01603241264820099, 0.00598554965108633, -0.045670077204704285, -0.01047601643949747, -0.014500509016215801, -0.122530996799469, -0.04115983843803406, 0.03196108713746071, -0.02051602676510811, -0.06479047238826752, -0.008220944553613663, 0.023172028362751007, -0.02735493890941143, 0.013249622657895088, -0.02115047536790371, -0.013953899033367634, -0.042417172342538834, -0.00395751278847456, -0.06455366313457489, 0.02845015376806259, 0.001477608922868967, -0.02361888624727726, -0.042538367211818695, -0.06287597864866257, -0.015213465318083763, 0.019159559160470963, 0.03463050723075867, 0.035667408257722855, 0.03092554211616516, 0.03536170348525047 ]
304
You Only Prune Once: Designing Calibration-Free Model Compression With Policy Learning
https://openreview.net/forum?id=5RZoYIT3u6
[ "Ayan Sengupta", "Siddhant Chaudhary", "Tanmoy Chakraborty" ]
Poster
The ever-increasing size of large language models (LLMs) presents significant challenges for deployment due to their heavy computational and memory requirements. Current model pruning techniques attempt to alleviate these issues by relying heavily on external calibration datasets to determine which parameters to prune or compress, thus limiting their flexibility and scalability across different compression ratios. Moreover, these methods often cause severe performance degradation, particularly in downstream tasks, when subjected to higher compression rates. In this paper, we propose *PruneNet*, a novel model compression method that addresses these limitations by reformulating model pruning as a policy learning process. PruneNet decouples the pruning process from the model architecture, eliminating the need for calibration datasets. It learns a stochastic pruning policy to assess parameter importance solely based on intrinsic model properties while preserving the spectral structure to minimize information loss. PruneNet can compress the LLaMA-2-7B model in just 15 minutes, achieving over 80\% retention of its zero-shot performance with a 30\% compression ratio, outperforming existing methods that retain only 75\% performance. Furthermore, on complex multitask language understanding tasks, PruneNet demonstrates its robustness by preserving up to 80\% performance of the original model, proving itself a superior alternative to conventional structured compression techniques.
Model Compression, Large Language Models, Structured Pruning
null
13,607
2501.15296
[ -0.03067953512072563, -0.03638815879821777, -0.021291891112923622, 0.038191184401512146, 0.03819870948791504, 0.05039104074239731, 0.006473855581134558, -0.0071700396947562695, -0.03163367509841919, -0.02474472112953663, -0.012515163980424404, 0.0244777649641037, -0.05525383725762367, -0.013943718746304512, 0.021227393299341202, 0.06660933792591095, 0.02824612706899643, -0.005739505868405104, 0.01680814102292061, 0.031213702633976936, 0.019181745126843452, -0.013735310174524784, 0.04708071053028107, 0.02703879401087761, 0.04069657623767853, 0.0061544859781861305, 0.03072189725935459, 0.01584119349718094, -0.0378897450864315, 0.003063403768464923, 0.033703550696372986, -0.004538602661341429, 0.012284385971724987, -0.026980655267834663, 0.022968126460909843, 0.008340226486325264, -0.057865310460329056, 0.03391733020544052, -0.009426750242710114, 0.03056660108268261, -0.02300320565700531, 0.018966589123010635, -0.002400645986199379, 0.004221729002892971, -0.043199051171541214, 0.002764233388006687, -0.09210892021656036, 0.024516768753528595, 0.0053896307945251465, -0.05216091126203537, -0.12234342098236084, 0.04014319181442261, -0.013663074001669884, -0.020173434168100357, -0.006429286673665047, 0.030371490865945816, 0.041180599480867386, -0.11100023239850998, -0.0030577119905501604, -0.042484965175390244, -0.04705318063497543, -0.014884094707667828, 0.019082030281424522, 0.01940065063536167, -0.010983076877892017, -0.03366411477327347, 0.014921428635716438, 0.039598722010850906, -0.09307834506034851, -0.03924646973609924, -0.011685243807733059, 0.024147002026438713, 0.005738844629377127, 0.02617940679192543, 0.02429208531975746, -0.04025076702237129, 0.027331283316016197, 0.03479507192969322, 0.07409965246915817, 0.023853210732340813, 0.014521238394081593, 0.018656324595212936, 0.01981261372566223, 0.04551276937127113, 0.010188115760684013, 0.012626306153833866, -0.05187496542930603, -0.03754102811217308, -0.09489552676677704, 0.006045976188033819, -0.021145664155483246, -0.056625764816999435, 0.029885396361351013, 0.01744776777923107, -0.0005823998362757266, 0.01740136928856373, 0.011852020397782326, 0.030567076057195663, 0.019281666725873947, 0.011169405654072762, -0.01027560792863369, -0.03126907721161842, 0.04082196205854416, 0.02144676446914673, -0.1269337236881256, -0.02862660028040409, -0.010246445424854755, 0.00518798129633069, 0.012037250213325024, -0.006026582792401314, -0.010246358811855316, -0.030844271183013916, 0.017193568870425224, -0.022113611921668053, -0.09285128116607666, 0.025706946849822998, -0.0035286250058561563, -0.0047016507014632225, 0.004132332280278206, 0.008647413924336433, 0.0706457868218422, 0.0369788259267807, 0.022969072684645653, 0.07963990420103073, -0.02715485356748104, 0.009133902378380299, 0.03516840562224388, 0.027141233906149864, -0.008061288855969906, -0.0618293434381485, 0.02421755902469158, 0.02902471087872982, 0.02705392800271511, -0.012085743248462677, -0.007310896646231413, -0.011604659259319305, 0.009711074642837048, 0.02182270586490631, 0.032995402812957764, -0.00494781881570816, 0.014419677667319775, -0.002138726878911257, 0.04222138226032257, -0.023093387484550476, 0.06105945631861687, 0.018232909962534904, -0.035214826464653015, -0.03025989606976509, -0.040711499750614166, -0.005584451369941235, 0.01749509759247303, 0.011898213997483253, -0.021180501207709312, -0.06757921725511551, 0.019494183361530304, 0.06537674367427826, 0.0033433057833462954, 0.007519139442592859, -0.0006046310882084072, 0.026888234540820122, 0.01637815497815609, -0.004745614714920521, -0.06126698479056358, 0.033547695726156235, -0.0063119931146502495, -0.07407622039318085, 0.042756062000989914, 0.041198503226041794, -0.024794692173600197, -0.01624729111790657, -0.05042438954114914, -0.04912682995200157, 0.079288549721241, -0.029606632888317108, -0.024678179994225502, 0.01760399527847767, 0.057425279170274734, -0.003748607123270631, 0.02419639192521572, 0.030683912336826324, -0.08057224750518799, 0.024517808109521866, 0.023016780614852905, -0.021804891526699066, -0.010018476285040379, -0.03733940050005913, 0.09932368993759155, -0.03750625252723694, 0.015177884139120579, 0.011644894257187843, -0.08099369704723358, -0.01762409508228302, 0.01686365343630314, 0.009897230193018913, 0.06722334027290344, 0.0034743910655379295, -0.005792541895061731, 0.03991048410534859, 0.011196993291378021, 0.04548202455043793, 0.047720059752464294, -0.03321939706802368, 0.06136835739016533, -0.019011301919817924, -0.04273359104990959, -0.007674873806536198, -0.0071975188329815865, -0.05872954800724983, -0.03887925669550896, 0.007989427074790001, -0.007245976477861404, -0.010337951593101025, 0.02836131863296032, 0.0047071524895727634, 0.017704715952277184, -0.018039625138044357, -0.005209954455494881, -0.010203557088971138, 0.03299097344279289, -0.058744363486766815, 0.03789263218641281, 0.026042619720101357, -0.03704582899808884, 0.0067456006072461605, -0.02805968187749386, 0.06869953870773315, 0.06662286072969437, 0.001618187059648335, -0.011685936711728573, 0.012204228900372982, -0.002267334144562483, -0.010038932785391808, -0.0029677869752049446, -0.03640087693929672, 0.0300340186804533, -0.016731757670640945, -0.003946544136852026, -0.03637756407260895, 0.027639804407954216, -0.031686585396528244, -0.008603859692811966, 0.073940210044384, -0.014066703617572784, 0.05364428460597992, -0.0054714735597372055, 0.018077468499541283, 0.027993062511086464, -0.014016527682542801, -0.007172742392867804, -0.021907253190875053, -0.020205819979310036, 0.010996595956385136, 0.0018172819400206208, -0.03731324151158333, 0.0038531720638275146, -0.03876844793558121, -0.03048504702746868, -0.0005468418821692467, 0.07858883589506149, 0.05120047181844711, 0.012342722155153751, -0.0014697887236252427, -0.010046794079244137, -0.029099928215146065, -0.012994029559195042, -0.10780750215053558, -0.016384797170758247, -0.03196988254785538, 0.051982466131448746, 0.0027120583690702915, 0.022749245166778564, -0.010378566570580006, 0.028290286660194397, -0.03297559171915054, -0.006759558338671923, 0.020061489194631577, 0.018313441425561905, 0.02817322500050068, -0.058081965893507004, -0.01563246175646782, 0.0014857091009616852, 0.04192535579204559, -0.015331779606640339, -0.014342489652335644, -0.03790482133626938, -0.03598836064338684, 0.023984549567103386, -0.03162007033824921, -0.007697558030486107, 0.008184883743524551, 0.046762462705373764, 0.012335444800555706, -0.025403108447790146, 0.007918687537312508, 0.04557505622506142, 0.07815378159284592, 0.05662107840180397, 0.024227624759078026, 0.007291718386113644, 0.018623296171426773, -0.018020151183009148, 0.016755789518356323, -0.027459686622023582, 0.026401368901133537, -0.026354549452662468, -0.014861074276268482, 0.024153074249625206, -0.006177303846925497, -0.27421507239341736, 0.009598363190889359, 0.02060515806078911, -0.01477991696447134, 0.050781916826963425, -0.004193040542304516, 0.05462862551212311, -0.020392553880810738, -0.024044159799814224, 0.008492211811244488, 0.021049976348876953, 0.02023724839091301, 0.026508361101150513, 0.053865354508161545, 0.05406319722533226, 0.05297346040606499, -0.005378147587180138, -0.022979596629738808, 0.017538253217935562, 0.045623455196619034, 0.004908370319753885, -0.06836356222629547, -0.005587687250226736, 0.045185722410678864, 0.002907615387812257, 0.04328989237546921, -0.08667948096990585, -0.005484502296894789, -0.029428299516439438, 0.0007566490676254034, -0.012413686141371727, -0.018132386729121208, -0.015250969678163528, 0.029827263206243515, 0.0071424450725317, 0.014304368756711483, 0.054208822548389435, 0.017831124365329742, 0.03807483986020088, 0.029901936650276184, 0.013710731640458107, -0.020446639508008957, -0.017543187364935875, 0.014371036551892757, 0.05740942806005478, 0.021123582497239113, -0.0622844435274601, -0.024224502965807915, 0.0004154240887146443, 0.030809132382273674, 0.0053162164986133575, -0.03401274234056473, 0.0030471314676105976, 0.028228800743818283, 0.017889417707920074, 0.01440663356333971, 0.0022679101675748825, -0.015782147645950317, -0.01429955568164587, 0.0012873391387984157, 0.0004175752110313624, -0.05218230560421944, -0.016816098242998123, -0.055172767490148544, -0.009710375219583511, -0.04426991939544678, -0.05750050023198128, -0.055745214223861694, 0.02278335578739643, 0.04339875280857086, -0.02153373323380947, 0.007340714801102877, -0.0028836585115641356, -0.07774917781352997, 0.0128128407523036, -0.006582675967365503, -0.03609732910990715, -0.019624849781394005, -0.0005154205136932433, 0.06665500998497009, -0.051114581525325775, -0.05385937914252281, 0.0021322951652109623, 0.010664012283086777, 0.039198532700538635, -0.0188828743994236, 0.03288194164633751, -0.035852640867233276, -0.015562174841761589, -0.05268656462430954, 0.018723541870713234, 0.00977057870477438, 0.02560744620859623, -0.008996354416012764, 0.038783252239227295, 0.02478818967938423, 0.028854530304670334, 0.05859234929084778, 0.028954578563570976, 0.007168910466134548, 0.007088571786880493, -0.0740664005279541, -0.027498098090291023, -0.04277680814266205, -0.02682153694331646, 0.03433389216661453, -0.06077922135591507, -0.03087080642580986, 0.04313384369015694, 0.010625536553561687, -0.030984720215201378, -0.028825264424085617, 0.02114732563495636, -0.011487078852951527, -0.03512834385037422, -0.0019849592354148626, 0.00986512191593647, 0.016452942043542862, 0.02039201743900776, -0.015736723318696022, -0.02592606469988823, 0.03117220103740692, -0.027513938024640083, 0.0007748869247734547, -0.001355463988147676, -0.020728006958961487, 0.017050644382834435, -0.021724382415413857, -0.027634678408503532, -0.02135630138218403, 0.013246961869299412, 0.05209507793188095, -0.005240960046648979, 0.0010691068600863218, 0.05871453881263733, 0.024877099320292473, 0.008942672051489353, -0.010636426508426666, 0.03741804137825966, 0.013744709081947803, 0.002419424708932638, 0.0038079889491200447, 0.029978692531585693, 0.017902875319123268, 0.010680770501494408, 0.026990070939064026, 0.04179077595472336, -0.009492781013250351, 0.010413476265966892, 0.002524404088035226, 0.03352545574307442, -0.04460819810628891, -0.004532177932560444, -0.020466921851038933, 0.023666610941290855, -0.007544920314103365, 0.033261846750974655, -0.02513565868139267, 0.03133523464202881, -0.06075263395905495, 0.04386701434850693, 0.019532879814505577, -0.0583382323384285, -0.0007754956604912877, 0.009674080647528172, 0.03446917235851288, -0.009425126016139984, -0.008589096367359161, 0.034296825528144836, -0.003874508198350668, 0.006247965153306723, -0.014946401119232178, -0.02178952656686306, -0.007438631262630224, 0.015283032320439816, 0.000335138727677986, 0.020765429362654686, 0.0054184067994356155, -0.03913382068276405, 0.028111731633543968, 0.022957367822527885, -0.01743818074464798, -0.021321222186088562, 0.00205617374740541, 0.06320660561323166, 0.013085602782666683, 0.0028796594124287367, 0.03288613259792328, -0.04916252940893173, 0.03146858885884285, -0.007116008549928665, 0.014259684830904007, -0.03093051351606846, -0.04580991715192795, -0.042041074484586716, -0.028813624754548073, 0.010295521467924118, 0.016665533185005188, -0.020522231236100197, 0.004408505279570818, 0.005823832470923662, -0.0011254650307819247, -0.044760990887880325, -0.027902163565158844, 0.0032192966900765896, -0.08232032507658005, -0.010884852148592472, 0.04820699244737625, -0.009452972561120987, 0.028364935889840126, -0.028199853375554085, -0.030609242618083954, -0.05512440577149391, -0.026954879984259605, 0.01863800175487995, -0.03157424181699753, -0.018081441521644592, -0.0036212631966918707, 0.026434235274791718, -0.01763775572180748, -0.009439876303076744, 0.002433406887575984, 0.011159410700201988, -0.024945393204689026, 0.012539682909846306, 0.06016362085938454, -0.031121239066123962, 0.01976604387164116, -0.01308608241379261, -0.02401595562696457, 0.02320527657866478, -0.06164412945508957, 0.02826678939163685, 0.06753750145435333, -0.01153203472495079, 0.004129299893975258, -0.06292886286973953, 0.05931796506047249, -0.03862536698579788, -0.008526182733476162, 0.0011752330465242267, 0.023506788536906242, -0.05620991066098213, 0.0043000406585633755, 0.00215220358222723, 0.028097232803702354, 0.020503191277384758, -0.003973578568547964, 0.010968825779855251, 0.004504302982240915, 0.025224147364497185, 0.035808950662612915, -0.07403360307216644, 0.0001604437129572034, 0.06243671476840973, -0.035908043384552, -0.045473843812942505, -0.06603679805994034, -0.020638151094317436, 0.003293948946520686, -0.033823031932115555, 0.026368169113993645, -0.039364129304885864, 0.042610786855220795, 0.02580931782722473, 0.026024727150797844, 0.003040180541574955, -0.028098296374082565, 0.014661900699138641, -0.05167701840400696, 0.006079215090721846, -0.05364333093166351, -0.04207700863480568, 0.09223099052906036, -0.03403962403535843, 0.0199761800467968, 0.006355654913932085, -0.03962958976626396, 0.026476634666323662, -0.015365354716777802, -0.03726982697844505, 0.03105582855641842, -0.0131189851090312, 0.011880774050951004, 0.04280329495668411, -0.046538956463336945, -0.03405432775616646, 0.001843594596721232, -0.04608790948987007, 0.015992408618330956, -0.002346446504816413, 0.053871314972639084, -0.02992089092731476, -0.008821340277791023, -0.04967903345823288, 0.005898830946534872, 0.026172887533903122, 0.039794549345970154, 0.02709539607167244, -0.0004243300063535571, -0.03967832773923874, 0.05548185482621193, 0.017282266169786453, 0.02174185961484909, -0.01270617451518774, -0.002860826440155506, -0.028193246573209763, -0.062354713678359985, 0.058244045823812485, 0.006679195445030928, -0.01284834649413824, -0.04164985194802284, 0.0680304765701294, 0.03495919704437256, -0.0563567578792572, -0.01913483999669552, 0.03056858852505684, -0.05782777816057205, -0.006467325612902641, -0.012055760249495506, -0.0017715105786919594, -0.012650636024773121, 0.08276916295289993, 0.022309787571430206, 0.04911217465996742, 0.0749155580997467, -0.005409005098044872, -0.027548713609576225, -0.005275233183056116, 0.06877681612968445, 0.05136586353182793, 0.03906013444066048, -0.010020173154771328, 0.055192966014146805, -0.04022686928510666, -0.034772541373968124, 0.06161414086818695, 0.02916855551302433, -0.018842844292521477, -0.06105587258934975, 0.032949626445770264, 0.07820603996515274, -0.009948955848813057, 0.07358694821596146, -0.02862580493092537, 0.0003154815931338817, 0.016824942082166672, -0.01250618789345026, -0.002867305651307106, 0.053339436650276184, 0.036714017391204834, 0.01798790507018566, -0.021819768473505974, -0.0313100628554821, 0.02616739831864834, -0.022350773215293884, 0.008966309949755669, -0.0008881091489456594, -0.023002661764621735, -0.02307671122252941, -0.017116941511631012, 0.04121417924761772, 0.10316069424152374, -0.036737047135829926, -0.03427981585264206, 0.022804509848356247, 0.022491533309221268, 0.01912674866616726, 0.036233920603990555, -0.008293068036437035, -0.04678230732679367, 0.010471734218299389, -0.03423807770013809, -0.01618211716413498, -0.0035443464294075966, -0.017159223556518555, -0.002340486506000161, -0.010851051658391953, -0.011966926045715809, -0.011943304911255836, 0.020900767296552658, -0.0761624425649643, -0.05498223006725311, -0.06262344121932983, -0.053325872868299484, -0.052314598113298416, -0.06488584727048874, 0.011125239543616772, 0.0027395770885050297, -0.017592525109648705, -0.0011395104229450226, -0.058042045682668686, 0.01069067046046257, 0.03888759762048721, -0.07358996570110321, -0.0018033041851595044, 0.025680141523480415, -0.004985697101801634, -0.018667273223400116, 0.037055328488349915, 0.049700479954481125, -0.004999134689569473, -0.018021415919065475, 0.01524612121284008, 0.03021107241511345, 0.028956539928913116, 0.002910532522946596, -0.014958972111344337, -0.08919185400009155, 0.01143533643335104, 0.022011077031493187, -0.05339311435818672, -0.07814030349254608, 0.029553186148405075, -0.03135934844613075, 0.030820544809103012, 0.07114037126302719, 0.0006762947305105627, 0.032910048961639404, -0.0440184660255909, -0.012901688925921917, 0.018523061648011208, -0.006196300033479929, 0.03422790765762329, -0.008652152493596077, 0.057746898382902145, 0.057890668511390686, -0.016884339973330498, -0.041799262166023254, 0.01418756041675806, -0.005066081415861845, 0.019824037328362465, -0.015101409517228603, -0.00908745639026165, -0.027945946902036667, -0.06877411156892776, -0.018523480743169785, 0.04596324637532234, 0.0036091820802539587, -0.03531474620103836, -0.006999064236879349, -0.029719460755586624, -0.0005299803451634943, -0.033011529594659805, -0.021164488047361374, -0.009664976969361305, -0.03468194231390953, -0.019718511030077934, -0.07573089748620987, 0.033387091010808945, -0.02988499589264393, 0.007760726381093264, -0.029371172189712524, -0.03500988706946373, -0.0054582045413553715, 0.020742880180478096, 0.04215998575091362, -0.001281295670196414, -0.006152079440653324, 0.0008090237970463932 ]
305
FreDF: Learning to Forecast in the Frequency Domain
https://openreview.net/forum?id=4A9IdSa1ul
[ "Hao Wang", "Lichen Pan", "Yuan Shen", "Zhichao Chen", "Degui Yang", "Yifei Yang", "Sen Zhang", "Xinggao Liu", "Haoxuan Li", "Dacheng Tao" ]
Poster
Time series modeling presents unique challenges due to autocorrelation in both historical data and future sequences. While current research predominantly addresses autocorrelation within historical data, the correlations among future labels are often overlooked. Specifically, modern forecasting models primarily adhere to the Direct Forecast (DF) paradigm, generating multi-step forecasts independently and disregarding label correlations over time. In this work, we demonstrate that the learning objective of DF is biased in the presence of label correlation. To address this issue, we propose the Frequency-enhanced Direct Forecast (FreDF), which mitigates label correlation by learning to forecast in the frequency domain, thereby reducing estimation bias. Our experiments show that FreDF significantly outperforms existing state-of-the-art methods and is compatible with a variety of forecast models. Code is available at https://github.com/Master-PLC/FreDF.
Time series, Long-term Forecast
Learning to forecast in the frequency domain improves forecasting performance.
13,602
null
[ 0.005575843621045351, -0.04401431232690811, 0.019469423219561577, 0.038072578608989716, 0.030401771888136864, 0.006757799070328474, 0.013230307027697563, 0.022061245515942574, -0.04241533949971199, -0.03934113308787346, 0.006899032276123762, 0.02982308715581894, -0.08924615383148193, 0.01955461874604225, -0.0052484748885035515, 0.06123185157775879, 0.04816298559308052, -0.0033281887881457806, 0.012578681111335754, 0.036881253123283386, -0.01811649091541767, -0.011605894193053246, 0.02570520155131817, 0.03601926565170288, 0.029020100831985474, -0.005208231974393129, 0.023892030119895935, -0.004876075312495232, -0.0234929621219635, 0.0010887951357290149, 0.04614562913775444, 0.01115506887435913, -0.01181051041930914, -0.006521101109683514, -0.005422255955636501, 0.0353906974196434, -0.008699215948581696, -0.009869706816971302, -0.017752502113580704, 0.00755659956485033, -0.04181964695453644, -0.01653299853205681, 0.032751306891441345, 0.008383109234273434, -0.07270736247301102, 0.03126300871372223, -0.11415756493806839, -0.008834341540932655, 0.01930808089673519, -0.056595321744680405, -0.10564638674259186, 0.034643303602933884, 0.038394492119550705, -0.022401604801416397, -0.015415635891258717, 0.05187809467315674, 0.018374057486653328, -0.0799645334482193, -0.035986874252557755, -0.04082115367054939, 0.019190357998013496, 0.020716333761811256, 0.02076561562716961, -0.013430982828140259, 0.007099737413227558, -0.056459903717041016, -0.022144146263599396, 0.04291253909468651, -0.047141462564468384, -0.022046847268939018, -0.047237470746040344, 0.024745194241404533, -0.024550987407565117, 0.00981161929666996, -0.02759402245283127, -0.051797255873680115, 0.016605911776423454, 0.012427168898284435, 0.09356053918600082, -0.014226959086954594, 0.0035713620018213987, 0.01473292987793684, 0.08449317514896393, 0.01266319677233696, 0.015443377196788788, 0.009070145897567272, -0.02414678782224655, -0.036066774278879166, -0.07634752988815308, 0.07501533627510071, -0.0047588343732059, -0.054796911776065826, 0.014609121717512608, 0.00994155090302229, -0.019992874935269356, 0.016343506053090096, 0.043307095766067505, -0.004594374913722277, -0.011189357377588749, 0.04041833057999611, -0.023094795644283295, -0.02956761047244072, 0.023660849779844284, 0.028299739584326744, -0.0773387923836708, -0.04058738425374031, -0.04354916512966156, -0.027881724759936333, -0.001066594384610653, 0.01759686879813671, -0.03695060685276985, 0.009676950983703136, 0.06471122801303864, -0.00021053338423371315, -0.051159005612134933, 0.03272544965147972, -0.01450875774025917, 0.006669941823929548, 0.002288945484906435, -0.021861689165234566, 0.059051573276519775, 0.0319572389125824, -0.03404270112514496, 0.039051081985235214, -0.02913883700966835, 0.018191684037446976, 0.03512011468410492, -0.001714722951874137, -0.019627295434474945, -0.030178505927324295, -0.012028931640088558, 0.009892785921692848, -0.01824217289686203, -0.017159460112452507, 0.008566027507185936, -0.0009951296960934997, -0.03839448466897011, -0.00789166335016489, 0.02854262664914131, 0.02653777040541172, 0.038024019449949265, -0.012534979730844498, 0.026448380202054977, -0.022631810978055, 0.04141171649098396, 0.009470985271036625, -0.010323602706193924, -0.036428745836019516, -0.024776017293334007, -0.0165953878313303, 0.013099598698318005, -0.0005162356537766755, -0.019872652366757393, -0.051623888313770294, 0.02041497454047203, 0.058520421385765076, 0.023041347041726112, 0.000602428917773068, 0.026586921885609627, -0.0033030749764293432, -0.005187597591429949, 0.00569471251219511, -0.032626450061798096, 0.015162738971412182, -0.02078390121459961, -0.056921929121017456, 0.09280361980199814, 0.022117191925644875, -0.03657328337430954, 0.037788499146699905, -0.026627831161022186, -0.021817130967974663, 0.054486893117427826, 0.0058615244925022125, 0.04231114685535431, 0.011774774640798569, 0.04957694932818413, -0.028522536158561707, 0.02236820012331009, -0.005108695011585951, -0.08889768272638321, 0.03088311478495598, 0.03890449181199074, -0.020139653235673904, 0.020985538139939308, -0.020497914403676987, 0.07168365269899368, -0.023398730903863907, 0.041229672729969025, 0.018311629071831703, -0.02433488704264164, -0.022796183824539185, 0.010226214304566383, -0.02395959571003914, 0.03497421741485596, 0.0007919209892861545, -0.021513476967811584, 0.043856941163539886, 0.007270977832376957, 0.05034318566322327, 0.07216265797615051, -0.009248745627701283, 0.021020127460360527, -0.0017668353393673897, -0.03993065655231476, -0.0061727361753582954, 0.0266156867146492, -0.04433073103427887, -0.03685832768678665, 0.005740403197705746, -0.017943598330020905, -0.0013817286817356944, 0.03310506418347359, -0.007774864323437214, 0.02435671165585518, 0.009723776951432228, -0.020007381215691566, 0.04101415351033211, -0.03561551123857498, -0.03970761224627495, 0.007461380213499069, 0.025120778009295464, -0.044759538024663925, 0.0331142395734787, -0.022328699007630348, 0.09083102643489838, 0.08221851289272308, -0.03760208934545517, 0.009503924287855625, 0.015341202728450298, 0.03169161453843117, 0.0035517378710210323, 0.025504564866423607, -0.03547780215740204, 0.02009657584130764, 0.00967224221676588, -0.014266262762248516, -0.0294964537024498, 0.03386314958333969, -0.023045340552926064, 0.02747308649122715, 0.0562756322324276, -0.051148079335689545, 0.0680987611413002, 0.021342908963561058, 0.03432032838463783, 0.05420253053307533, -0.018212871626019478, -0.029879847541451454, -0.0011170119978487492, -0.019767453894019127, 0.013475688174366951, -0.01361613254994154, -0.02992655523121357, -0.008154000155627728, -0.06857766211032867, -0.00973283126950264, -0.005689871497452259, 0.06788244843482971, 0.06712344288825989, 0.031257208436727524, -0.005167479161173105, 0.00030733642051927745, -0.019902143627405167, 0.014283466152846813, -0.1099667102098465, -0.04228876531124115, -0.0170165803283453, 0.051361918449401855, 0.03567739576101303, 0.012719233520328999, -0.005538789089769125, 0.04220692813396454, 0.005584183149039745, -0.02220521867275238, 0.014953200705349445, 0.06185990571975708, -0.0028137234039604664, -0.047330036759376526, -0.02768612839281559, 0.0037640249356627464, 0.06321478635072708, 0.02008700929582119, -0.0343962125480175, -0.05066758021712303, -0.04698615521192551, -0.0013725380413234234, -0.010343888774514198, -0.01109337154775858, 0.0025191386230289936, -0.0337032824754715, 0.02839336171746254, -0.014939946122467518, 0.02918217144906521, 0.009425219148397446, 0.07384999841451645, 0.022346992045640945, 0.0010909693082794547, -0.017977746203541756, -0.008650735951960087, -0.004297077190130949, -0.002047183457762003, 0.024230265989899635, -0.021549709141254425, -0.0025364141911268234, 0.013160835951566696, -0.0036354968324303627, -0.018146485090255737, -0.2750178575515747, -0.010488570667803288, 0.03585022687911987, -0.010493837296962738, 0.025062808766961098, -0.006679700221866369, 0.05308755859732628, -0.0013736605178564787, -0.019228842109441757, 0.011037304066121578, 0.010039878077805042, 0.023218894377350807, -0.011332597583532333, 0.06106869876384735, 0.01776745170354843, 0.008719499222934246, 0.014146066270768642, -0.054367102682590485, 0.00879048090428114, 0.03211439400911331, 0.004960694815963507, -0.05258866026997566, -0.02940220944583416, 0.03351530432701111, -0.02147802710533142, 0.033941540867090225, -0.06850061565637589, -0.018768806010484695, -0.053299568593502045, 0.012855569832026958, -0.011152601800858974, -0.015712231397628784, -0.0011152256047353148, 0.024841051548719406, 0.03132282942533493, -0.012834573164582253, 0.02250613272190094, 0.05345703288912773, 0.018335264176130295, 0.01813548617064953, -0.004797677509486675, -0.009711135178804398, -0.03171583637595177, 0.004752535838633776, 0.06514029949903488, 0.046131305396556854, -0.014204951003193855, -0.003066995879635215, -0.028504472225904465, 0.03250410035252571, -0.035705916583538055, -0.008188484236598015, -0.0031621011439710855, -0.027751179412007332, -0.014712771400809288, -0.029628144577145576, 0.014974812045693398, -0.007869057357311249, 0.0013303827727213502, 0.011441708542406559, 0.0007619039388373494, -0.034918688237667084, 0.03007894940674305, -0.050921373069286346, -0.04291468858718872, -0.03451878949999809, -0.06282061338424683, -0.040489014238119125, 0.07821443676948547, 0.03186970204114914, -0.027335140854120255, 0.013569130562245846, 0.0078017390333116055, -0.10642682015895844, 0.015309304930269718, -0.002385646803304553, 0.017333190888166428, 0.00009022202721098438, 0.04046037048101425, 0.02686738409101963, -0.01945461705327034, -0.039581988006830215, 0.009424027986824512, 0.029097968712449074, 0.037740763276815414, -0.0025936036836355925, 0.005823925137519836, 0.00924626924097538, -0.03212396055459976, -0.0483456589281559, 0.027781236916780472, -0.04082530736923218, 0.05023200064897537, 0.024197768419981003, 0.042330097407102585, 0.04301341250538826, -0.012737095355987549, 0.042870376259088516, 0.06173247843980789, -0.020856618881225586, 0.010014496743679047, -0.07326122373342514, -0.021677955985069275, -0.06600765883922577, -0.012266899459064007, -0.01343001239001751, -0.04864486679434776, -0.026196680963039398, 0.02455483190715313, 0.01886635832488537, 0.008030574768781662, 0.024171512573957443, -0.00916237197816372, -0.012752311304211617, -0.033023543655872345, -0.005063591990619898, -0.01675797440111637, -0.0031765876337885857, 0.01913355477154255, 0.006233858875930309, -0.016631510108709335, 0.023431356996297836, 0.000055052831157809123, -0.004733620677143335, -0.030886657536029816, -0.020703110843896866, -0.02789372391998768, -0.01952524669468403, 0.010115645825862885, -0.012160035781562328, 0.015197096392512321, 0.032614484429359436, 0.01524649653583765, 0.044966816902160645, 0.062454335391521454, -0.004304451402276754, -0.01462378166615963, -0.02343793213367462, 0.023567363619804382, -0.031049693003296852, 0.007756222505122423, 0.0035783788189291954, 0.01824534498155117, 0.020462317392230034, 0.025175131857395172, 0.03169018402695656, 0.006331896409392357, 0.02996123395860195, -0.0051498631946742535, -0.03730378299951553, 0.03207498416304588, 0.007677955087274313, -0.022331956773996353, -0.048530351370573044, -0.04886177182197571, 0.04470471292734146, 0.05393726006150246, -0.0011883736588060856, -0.023516783490777016, -0.08311527967453003, 0.07500454783439636, -0.012867948971688747, 0.002409345004707575, -0.034921541810035706, 0.028683766722679138, 0.06086796894669533, -0.04832925274968147, 0.01570475473999977, 0.06523679196834564, 0.01278485357761383, -0.011615252122282982, -0.01823095604777336, -0.046381626278162, -0.012371625751256943, -0.021874211728572845, -0.004477455746382475, 0.016469407826662064, -0.05165872350335121, -0.003012218279764056, 0.03260461986064911, 0.005895483773201704, 0.0042504314333200455, -0.046790387481451035, 0.016460616141557693, 0.03739868104457855, 0.03186449781060219, 0.007638714741915464, -0.026524970307946205, -0.029077328741550446, 0.029613686725497246, -0.007078591268509626, 0.0013861613115295768, 0.00843270868062973, -0.03252987936139107, -0.011574306525290012, -0.04677847400307655, 0.02591111697256565, 0.05638742819428444, -0.034223102033138275, -0.004453436005860567, -0.046801503747701645, -0.003995305858552456, -0.05229619890451431, 0.005061195697635412, 0.0069155446253716946, -0.07887100428342819, 0.016951872035861015, 0.019456567242741585, -0.018678389489650726, -0.033761948347091675, -0.052243538200855255, -0.03191571310162544, -0.08401812613010406, -0.02495039626955986, 0.011957173235714436, -0.003211077069863677, -0.005081447772681713, -0.010695896111428738, 0.025612199679017067, 0.004010570701211691, 0.024791240692138672, -0.0049408660270273685, -0.012462731450796127, -0.012989248149096966, 0.042809657752513885, 0.040820974856615067, -0.019992303103208542, -0.01892990991473198, 0.010670183226466179, -0.005685748998075724, 0.022466233000159264, -0.05611487105488777, 0.03292926773428917, 0.05554415285587311, -0.0028689466416835785, 0.014540424570441246, -0.04227609559893608, 0.052800726145505905, -0.022853126749396324, -0.014538627117872238, -0.0031564105302095413, -0.0032243786845356226, -0.011318603530526161, -0.023438340052962303, 0.005356998182833195, 0.02371760457754135, 0.04375820234417915, -0.009194308891892433, 0.0010381562169641256, 0.04566891863942146, 0.011650064028799534, 0.023588702082633972, -0.05029597878456116, 0.005867644678801298, 0.03980492800474167, -0.02192358486354351, -0.051127154380083084, -0.07728801667690277, -0.005187411326915026, 0.0014180344296619296, -0.0199314896017313, 0.02787264995276928, -0.02888931892812252, 0.09107527136802673, 0.039333127439022064, 0.08121322840452194, -0.00638785632327199, -0.027952099218964577, 0.07392768561840057, -0.018799863755702972, -0.002136331982910633, -0.052392296493053436, 0.015783118084073067, 0.06791182607412338, 0.029721742495894432, 0.035687580704689026, -0.0063738226890563965, -0.042590804398059845, 0.032596442848443985, -0.017730461433529854, -0.0610792301595211, -0.008175906725227833, -0.014632395468652248, 0.008815071545541286, 0.007801696192473173, -0.034315839409828186, -0.03454205021262169, 0.013476457446813583, -0.040738046169281006, -0.015029332600533962, 0.0183548666536808, 0.06026674062013626, -0.018818190321326256, -0.0072095668874681, -0.027483388781547546, 0.006938052363693714, 0.01454378105700016, 0.058285199105739594, -0.012445870786905289, 0.04580564796924591, -0.03405647724866867, 0.09868592768907547, 0.03534192219376564, -0.013379276730120182, -0.016188381239771843, -0.018129143863916397, -0.02508634887635708, -0.04482182860374451, 0.05492308735847473, 0.002245377516373992, -0.037078455090522766, -0.07471028715372086, 0.022687319666147232, 0.02404860407114029, -0.0463591143488884, 0.0029139600228518248, -0.018303385004401207, -0.03010745719075203, -0.011341171339154243, 0.043972983956336975, -0.009259332902729511, -0.05997009947896004, 0.04894620180130005, 0.024133605882525444, 0.026382172480225563, 0.06821727752685547, 0.01896081306040287, 0.024621520191431046, 0.018898116424679756, 0.033164266496896744, 0.05471120402216911, 0.06073298305273056, -0.031651902943849564, 0.06729348748922348, -0.02843352034687996, -0.03372283652424812, 0.0006189406849443913, 0.01172985602170229, -0.0177016481757164, -0.0527278296649456, 0.028095705434679985, 0.07239791005849838, 0.050709664821624756, 0.06310670077800751, -0.021422607824206352, -0.0030681826174259186, -0.002004431327804923, 0.011307029984891415, 0.03356373682618141, 0.0267164409160614, -0.009604882448911667, 0.0031949833501130342, -0.03652207553386688, -0.056344591081142426, 0.0035378779284656048, -0.007452021818608046, 0.043165095150470734, 0.009575268253684044, 0.012989752925932407, -0.009407991543412209, 0.0027401403058320284, 0.05710851028561592, 0.07919048517942429, -0.05464901775121689, -0.03093659318983555, -0.002895263722166419, 0.007116147316992283, 0.018582914024591446, 0.018755292519927025, 0.018884841352701187, 0.01681656762957573, 0.012604431249201298, -0.03309132158756256, -0.0008945667068473995, 0.020317191258072853, 0.00664528040215373, 0.0033497267868369818, -0.04513444006443024, -0.0386977344751358, 0.048619840294122696, -0.012651273049414158, -0.03527147322893143, -0.049136340618133545, -0.012609805911779404, -0.05553516745567322, -0.06777025759220123, -0.05840569734573364, 0.02456415258347988, -0.028065215796232224, -0.021987903863191605, -0.019511837512254715, -0.023326091468334198, 0.0008292932761833072, 0.011979155242443085, -0.06001410260796547, -0.03492853045463562, 0.03462409973144531, 0.012269783765077591, 0.008632117882370949, 0.009058990515768528, 0.011931315064430237, -0.030858296900987625, -0.023295780643820763, 0.016235869377851486, 0.0008570682257413864, 0.039334364235401154, 0.03314988315105438, -0.007263651583343744, -0.07830385118722916, 0.025039974600076675, 0.01160686369985342, -0.03754828870296478, -0.07915421575307846, 0.05821797251701355, -0.039259348064661026, 0.010144179686903954, 0.07358250766992569, -0.0003575340087991208, -0.0018608469981700182, -0.06187565252184868, -0.0017238063737750053, 0.005359698086977005, 0.015963401645421982, 0.04298170655965805, -0.03571761026978493, 0.04728759825229645, 0.011712128296494484, -0.005604707170277834, -0.055458687245845795, 0.0033466091845184565, -0.02083161100745201, -0.050447627902030945, -0.014490688219666481, -0.0703955888748169, -0.0390266478061676, -0.08847758173942566, -0.0041703167371451855, -0.011803490109741688, -0.03856651484966278, -0.05099083483219147, 0.027747943997383118, 0.0032444335520267487, 0.008613470010459423, -0.032578349113464355, 0.012999720871448517, -0.030887680128216743, -0.03084876574575901, -0.0398050956428051, -0.07373318821191788, 0.06444773077964783, 0.001361286616884172, 0.022830912843346596, -0.03840382397174835, -0.04842260107398033, 0.03459528088569641, -0.027539914473891258, 0.0223076269030571, 0.03020479902625084, 0.009281096048653126, -0.015413298271596432 ]
306
SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Acceleration
https://openreview.net/forum?id=OL44KtasKc
[ "Jintao Zhang", "Jia wei", "Pengle Zhang", "Jun Zhu", "Jianfei Chen" ]
Poster
The transformer architecture predominates across various models. As the heart of the transformer, attention has a computational complexity of $O(N^2)$, compared to $O(N)$ for linear transformations. When handling large sequence lengths, attention becomes the primary time-consuming component. Although quantization has proven to be an effective method for accelerating model inference, existing quantization methods primarily focus on optimizing the linear layer. In response, we first analyze the feasibility of quantization in attention detailedly. Following that, we propose SageAttention, a highly efficient and accurate quantization method for attention. The OPS (operations per second) of our approach outperforms FlashAttention2 and xformers by about 2.1x and 2.7x, respectively. SageAttention also achieves superior accuracy performance over FlashAttention3. Comprehensive experiments confirm that our approach incurs almost no end-to-end metrics loss across diverse models—including those for large language processing, image generation, and video generation. The code is available at https://github.com/thu-ml/SageAttention.
Attention, Quantization, quantized attention, inference acceleration
We propose a quantization method for Attention that achieves speedups of 2.1x and 2.7x compared to FlashAttention2 and xformers, respectively, without lossing end-to-end metrics across various models.
13,596
null
[ 0.017885206267237663, -0.05598742514848709, -0.007200523279607296, 0.037747807800769806, 0.0011850681621581316, 0.03685223311185837, 0.01911618746817112, 0.018206441774964333, -0.03125575929880142, -0.008627577684819698, -0.03233426809310913, 0.01605207659304142, -0.05620811507105827, -0.008302940055727959, -0.026449093595147133, 0.05705146864056587, 0.05103789642453194, 0.0005157481064088643, 0.03373001888394356, 0.011145183816552162, 0.009895304217934608, -0.04214427247643471, 0.038293421268463135, 0.029803605750203133, 0.020437542349100113, -0.01870792545378208, 0.005345633253455162, -0.0023797741159796715, -0.0353071354329586, -0.015390422195196152, 0.016462361440062523, -0.01995735429227352, 0.010028970427811146, -0.02324940823018551, 0.0037178359925746918, 0.0024270215071737766, -0.0579364188015461, 0.03168463334441185, 0.0361076295375824, 0.021468084305524826, -0.04822441563010216, -0.005987167824059725, -0.010654017329216003, -0.015704507008194923, -0.06079007685184479, -0.0016620535170659423, -0.10046055167913437, 0.03282513469457626, 0.01099387463182211, -0.01699645258486271, -0.0856739804148674, 0.042485661804676056, -0.010167442262172699, 0.014956814236938953, 0.00846948567777872, 0.02867683209478855, 0.04811137169599533, -0.0885324478149414, -0.014595967717468739, -0.030153697356581688, -0.008365592919290066, 0.005664006806910038, 0.02523491159081459, -0.002598768100142479, -0.01041088905185461, 0.002031346084550023, -0.014345282688736916, 0.05603930726647377, -0.052118707448244095, -0.03111806884407997, 0.007430131547152996, 0.018223414197564125, -0.014822663739323616, 0.006674240343272686, -0.0024291148874908686, -0.03481906279921532, 0.024923190474510193, 0.026199951767921448, 0.07494144886732101, -0.005360787268728018, 0.007898110896348953, 0.03266160562634468, 0.010183933191001415, 0.055086515843868256, 0.017029931768774986, 0.0269303098320961, 0.006709722336381674, -0.019342990592122078, -0.10155895352363586, 0.03200863301753998, -0.027771571651101112, -0.06108731031417847, 0.015190831385552883, 0.0008201882592402399, -0.013681312091648579, 0.036024052649736404, 0.03405445069074631, 0.0152097437530756, 0.017701957374811172, -0.008337692357599735, -0.002676898380741477, -0.0019642245024442673, 0.03343487158417702, -0.03597693145275116, -0.10088364034891129, -0.0034895683638751507, 0.01145560760051012, -0.026000646874308586, 0.029603470116853714, 0.005273405462503433, -0.009697181172668934, -0.0076631102710962296, 0.007989606820046902, -0.03302742540836334, -0.08886327594518661, 0.006094399373978376, -0.017230236902832985, 0.026540812104940414, -0.04190394654870033, 0.03165454417467117, 0.05921298637986183, 0.04473685100674629, 0.006497844122350216, 0.06538986414670944, 0.00741307670250535, 0.019028622657060623, 0.011014898307621479, 0.020519208163022995, 0.006008228287100792, -0.017262453213334084, 0.01467252615839243, 0.021383773535490036, 0.0021887223701924086, 0.02588401734828949, 0.003918101545423269, -0.005073764361441135, 0.022489268332719803, 0.006719371769577265, 0.03605359420180321, -0.04718969762325287, 0.01818513683974743, -0.009040662087500095, 0.030685506761074066, -0.026540379971265793, 0.06035132706165314, -0.011898217722773552, -0.028540775179862976, -0.01881670579314232, -0.03841244429349899, 0.018015850335359573, -0.010002651251852512, 0.005942496471107006, -0.0151832839474082, -0.11676305532455444, 0.03730775788426399, 0.04811542481184006, 0.0003008508065249771, 0.03934985399246216, 0.009319246746599674, 0.012574899941682816, -0.009297379292547703, -0.028383972123265266, -0.03035210818052292, 0.0036446473095566034, -0.013868176378309727, -0.05568626523017883, 0.033686280250549316, -0.001336736255325377, -0.037924278527498245, -0.01849083974957466, -0.035840779542922974, -0.032822851091623306, 0.03744407370686531, -0.0032928374130278826, -0.03013424389064312, 0.020187264308333397, 0.057979680597782135, 0.01452102605253458, 0.026699192821979523, 0.062330856919288635, -0.08236653357744217, 0.05252523720264435, 0.008515342138707638, -0.03358585387468338, 0.018199186772108078, -0.05403688922524452, 0.06804291903972626, -0.013932992704212666, -0.013170876540243626, 0.0007060443749651313, -0.07453356683254242, 0.0017359224148094654, -0.01805327646434307, -0.006953544449061155, 0.06315562129020691, -0.01513458602130413, 0.01463206484913826, 0.021497774869203568, 0.06440147757530212, 0.02982180379331112, 0.03489050641655922, -0.025669746100902557, 0.054188378155231476, -0.0023438804782927036, -0.04835328832268715, 0.004465833306312561, 0.026549922302365303, -0.040466926991939545, -0.007455871440470219, -0.010637865401804447, -0.015549878589808941, 0.010180601850152016, 0.01220257394015789, 0.024572398513555527, -0.031026048585772514, 0.01726660691201687, -0.01028431486338377, 0.015805760398507118, 0.0275381188839674, -0.06382539123296738, 0.00974961556494236, 0.04552660137414932, -0.029659345746040344, 0.026517869904637337, -0.03683485835790634, 0.10315907746553421, 0.04343319311738014, -0.03671017289161682, -0.018882842734456062, 0.019806332886219025, 0.0011264345375820994, -0.022909458726644516, -0.01383197121322155, -0.057554036378860474, 0.021603316068649292, -0.021868472918868065, 0.02014327049255371, -0.025373246520757675, 0.06732121855020523, -0.04143239185214043, -0.0006201661308296025, 0.05487268418073654, -0.019141171127557755, 0.03941086307168007, 0.01726922020316124, 0.04300472140312195, 0.03994666039943695, -0.04339347407221794, -0.009486737661063671, -0.016381550580263138, -0.03705352172255516, 0.006718087941408157, 0.0012810110347345471, -0.028653718531131744, 0.004348834045231342, -0.03499165549874306, -0.024272745475172997, 0.00597834587097168, 0.06142798066139221, 0.054385729134082794, 0.020583976060152054, 0.001351945917122066, 0.009349020197987556, 0.0014624757459387183, -0.009727773256599903, -0.09503640234470367, -0.031244998797774315, -0.02093573473393917, 0.020857030525803566, -0.014544256031513214, 0.04529882222414017, 0.022784067317843437, 0.03435694798827171, -0.043404415249824524, -0.011781839653849602, 0.003051970386877656, 0.046877529472112656, 0.017089389264583588, 0.0014041643589735031, -0.01973695121705532, -0.00228920578956604, 0.05290393903851509, -0.005195525009185076, -0.006789743434637785, -0.006405068561434746, -0.053965091705322266, 0.024133015424013138, -0.0126279192045331, 0.0068387179635465145, -0.0032215502578765154, 0.0426335446536541, 0.02386733517050743, -0.022746704518795013, 0.031035805121064186, 0.043979257345199585, 0.05612396448850632, 0.07227808982133865, -0.019101344048976898, -0.030848955735564232, 0.01673164777457714, -0.005505269393324852, 0.021973315626382828, 0.0009661741205491126, 0.0272084828466177, -0.031739410012960434, -0.013611676171422005, 0.025241782888770103, -0.02839202806353569, -0.26230475306510925, -0.01165945827960968, -0.030580559745430946, -0.010103672742843628, 0.022007256746292114, -0.04409217834472656, 0.02961953915655613, -0.031662628054618835, -0.030173752456903458, 0.037477899342775345, 0.012928502634167671, 0.00676762918010354, 0.015329718589782715, 0.026557840406894684, 0.04860551282763481, 0.028225906193256378, 0.007028848864138126, 0.0005573199596256018, 0.02446841076016426, 0.04694075509905815, 0.006356081459671259, -0.08482737839221954, -0.010016773827373981, 0.04404886066913605, 0.018519986420869827, 0.016035916283726692, -0.0872100293636322, -0.025812851265072823, -0.021077558398246765, -0.027068644762039185, -0.008204164914786816, -0.009175322949886322, -0.0048269531689584255, 0.0635305717587471, 0.002741591539233923, 0.023069700226187706, 0.05989561602473259, -0.0261747557669878, 0.02848590910434723, -0.020503828302025795, 0.01776098646223545, -0.028530480340123177, -0.01640395075082779, 0.03337012976408005, 0.07890750467777252, -0.015834148973226547, -0.05314537510275841, -0.018056092783808708, -0.0006815700908191502, 0.03142505884170532, -0.029107559472322464, -0.028935318812727928, -0.016964830458164215, 0.0031131927389651537, -0.0037830332294106483, -0.02039829082787037, 0.01534074917435646, -0.012461086735129356, -0.005349853076040745, -0.004997957497835159, 0.00009941543248714879, -0.03687115013599396, -0.017861580476164818, -0.01274125650525093, -0.0051733870059251785, -0.03672415763139725, -0.034918081015348434, -0.050763487815856934, 0.032437264919281006, -0.0009193026344291866, -0.020366620272397995, 0.023460986092686653, -0.01483635138720274, -0.09846038371324539, -0.011492702178657055, 0.0017976858653128147, -0.005490439012646675, 0.014413970522582531, -0.024824317544698715, 0.05394330620765686, -0.008255435153841972, -0.087196946144104, 0.03126543387770653, 0.0051344409584999084, 0.015772180631756783, -0.013387694954872131, -0.0065729450434446335, -0.05140126124024391, 0.007916518487036228, -0.0272869523614645, 0.050478413701057434, -0.028333565220236778, 0.022356951609253883, -0.013800058513879776, 0.033126100897789, 0.038750164210796356, 0.03099450096487999, 0.06361355632543564, 0.01807636208832264, 0.010438406839966774, 0.03282393515110016, -0.06785158812999725, -0.0036740764044225216, -0.048585329204797745, -0.05086401477456093, 0.002751346444711089, -0.020095041021704674, -0.023295074701309204, 0.06914293020963669, 0.030651405453681946, -0.04910954460501671, -0.025669988244771957, 0.01077153068035841, 0.007962419651448727, -0.023744525387883186, -0.018517084419727325, 0.00037760287523269653, 0.013929462060332298, 0.019200846552848816, -0.0395764485001564, -0.014128657057881355, 0.00743587501347065, -0.03981577605009079, 0.016671452671289444, -0.021047042682766914, -0.018061403185129166, -0.0072834426537156105, -0.015500885434448719, -0.02081700786948204, -0.004373704548925161, 0.04778415709733963, 0.059221960604190826, -0.026000695303082466, 0.013834967277944088, 0.05746598169207573, -0.0266029704362154, 0.014929522760212421, 0.004159738775342703, 0.04464716091752052, 0.0025641790125519037, -0.00043057979200966656, -0.028947731480002403, 0.01294630579650402, 0.04307958483695984, 0.011553766205906868, 0.003254236653447151, 0.009277349337935448, 0.008670402690768242, -0.004613820929080248, 0.002875423990190029, 0.06774325668811798, -0.052551768720149994, -0.030172158032655716, -0.006297027226537466, -0.003472580574452877, -0.013795449398458004, 0.003774716518819332, -0.008600188419222832, 0.011975421570241451, -0.04101001098752022, 0.030442411080002785, 0.03524870425462723, 0.0000761320989113301, -0.003869097912684083, 0.04781581088900566, 0.020753132179379463, 0.0027467203326523304, -0.026548394933342934, 0.007044269237667322, 0.03097718022763729, -0.02686474286019802, -0.01676006056368351, -0.04812607541680336, -0.016604337841272354, 0.012749907560646534, 0.014844964258372784, 0.007086973637342453, -0.011363589204847813, -0.01329950150102377, 0.052716877311468124, 0.0077183921821415424, -0.028133492916822433, 0.01247692946344614, 0.007382451556622982, 0.08185610175132751, 0.01083240658044815, -0.02540804073214531, 0.002126481616869569, -0.039733219891786575, 0.034387096762657166, 0.011317717842757702, -0.0009590756380930543, -0.03251224011182785, -0.02028702199459076, -0.042871102690696716, -0.04289514198899269, 0.014278695918619633, 0.00872790440917015, -0.024528754875063896, -0.012727380730211735, -0.03925592452287674, 0.0267188660800457, -0.02592390403151512, 0.0019769363570958376, 0.015412144362926483, -0.07295025885105133, -0.006075631361454725, 0.028426678851246834, -0.022252827882766724, 0.025090547278523445, -0.009304972365498543, -0.014257128350436687, -0.05218777060508728, -0.0505276694893837, -0.008190142922103405, -0.018686778843402863, 0.019359270110726357, -0.014543810859322548, 0.018317174166440964, -0.040484484285116196, 0.024034136906266212, -0.0006584309739992023, 0.0046959263272583485, -0.023137176409363747, 0.029377933591604233, 0.027437396347522736, -0.02571943961083889, 0.02560020610690117, -0.014250543899834156, -0.022189203649759293, 0.020390471443533897, -0.05286112427711487, 0.02195042558014393, 0.056800052523612976, -0.01370802242308855, 0.0030158869922161102, -0.07564764469861984, 0.03575184941291809, -0.005811829585582018, -0.0012091310927644372, 0.022746702656149864, 0.0077740768902003765, -0.051192618906497955, 0.05296486243605614, -0.0027218465693295, 0.019379567354917526, 0.028164653107523918, 0.013814957812428474, 0.0052702464163303375, 0.037181563675403595, 0.002585645532235503, 0.01778964139521122, -0.046694062650203705, 0.008799294009804726, 0.06827022135257721, -0.07649745792150497, -0.0006811912753619254, -0.07368318736553192, -0.04356970638036728, 0.008543455973267555, -0.02817518822848797, 0.03807123005390167, -0.043520595878362656, 0.06613652408123016, 0.02545633353292942, 0.022462908178567886, 0.00011158072447869927, -0.032474033534526825, 0.04074835777282715, -0.029779909178614616, 0.009439390152692795, -0.055490825325250626, -0.05746984854340553, 0.09109759330749512, -0.018640385940670967, -0.006065559107810259, 0.014028448611497879, -0.07580403983592987, 0.0282302163541317, -0.045567840337753296, -0.04249131307005882, 0.023998675867915154, -0.026691947132349014, 0.04688355326652527, -0.017214935272932053, -0.03977319225668907, -0.007268781308084726, -0.009342276491224766, -0.02674747072160244, 0.005826675798743963, -0.040576010942459106, 0.048133887350559235, 0.01768658310174942, 0.0014713790733367205, -0.05356147885322571, -0.009988898411393166, 0.03666457533836365, 0.054305095225572586, 0.03905221447348595, 0.004556240048259497, 0.007076071575284004, 0.07155661284923553, 0.04769330099225044, 0.008556422777473927, 0.011078464798629284, 0.01768428087234497, -0.03439853712916374, -0.057223621755838394, 0.04710639640688896, -0.0361584909260273, -0.013847379013895988, -0.05608886480331421, 0.06326506286859512, 0.036900103092193604, -0.05905850976705551, -0.015225574374198914, 0.02558988332748413, -0.03621191903948784, -0.03308536112308502, -0.030651232227683067, 0.002733204048126936, -0.01873232237994671, 0.05934595316648483, 0.028591491281986237, 0.055033016949892044, 0.06903139501810074, 0.03196394070982933, -0.006744010373950005, -0.028571952134370804, 0.08922837674617767, 0.046233419328927994, 0.05885569751262665, -0.01746539957821369, 0.04369653761386871, -0.010347947478294373, -0.04409497603774071, 0.05312125384807587, 0.021107135340571404, -0.0083223357796669, -0.045682162046432495, 0.007073026616126299, 0.0994732454419136, 0.03411727771162987, 0.06264906376600266, -0.07829134911298752, 0.0008010243764147162, 0.05507010594010353, 0.008532281965017319, 0.0018022352596744895, 0.033620670437812805, 0.02315710484981537, -0.024345839396119118, -0.016790563240647316, -0.03807993605732918, -0.0011775807943195105, -0.004973690491169691, 0.021388303488492966, -0.010676478035748005, -0.012899464927613735, 0.019970031455159187, -0.025484105572104454, 0.024734312668442726, 0.09871815145015717, -0.038276564329862595, -0.023374106734991074, 0.006233311723917723, 0.006804910954087973, 0.02805214375257492, 0.056245964020490646, -0.03233106806874275, -0.006046533118933439, -0.0036554450634866953, -0.06916050612926483, 0.04759770631790161, 0.05411798506975174, -0.01535461563616991, 0.018337903544306755, -0.035249240696430206, -0.05096717178821564, 0.005958173889666796, 0.0046929726377129555, -0.03388328105211258, -0.04418142884969711, -0.0474967360496521, -0.04461922496557236, -0.02741970680654049, -0.041327252984046936, -0.014171265065670013, -0.0014997287653386593, -0.06942067295312881, -0.058580152690410614, -0.061667125672101974, 0.02388174645602703, -0.002634634729474783, -0.038207102566957474, 0.028414320200681686, 0.03122100420296192, -0.019256820902228355, -0.048949286341667175, 0.06390704214572906, 0.05417653173208237, -0.0050815618596971035, -0.002471966203302145, 0.021554797887802124, 0.049518145620822906, -0.0024745541159063578, 0.027936790138483047, -0.01599530689418316, -0.10393425077199936, 0.003741212422028184, 0.04773508384823799, -0.055780403316020966, -0.07559394836425781, 0.013324597850441933, -0.037134092301130295, 0.015740027651190758, 0.04955421760678291, 0.013362858444452286, 0.021917492151260376, -0.041464898735284805, -0.032895006239414215, 0.02263455092906952, 0.00253861746750772, 0.04332246258854866, -0.019644347950816154, 0.09453022480010986, 0.04798246547579765, -0.016692351549863815, -0.008010255172848701, 0.03156154602766037, -0.01970091462135315, 0.020663367584347725, 0.003359057940542698, -0.04751390218734741, -0.03370384871959686, -0.10037606954574585, -0.014339916408061981, 0.03263524919748306, -0.012129428796470165, -0.03037039190530777, 0.01324008870869875, -0.02072015218436718, -0.002991318004205823, 0.005759206134825945, -0.02002403326332569, -0.005783091764897108, -0.027640245854854584, -0.039610523730516434, -0.059321194887161255, 0.014442465268075466, -0.04911432042717934, 0.0010045664384961128, -0.015477027744054794, -0.04786676540970802, 0.023117955774068832, 0.006583601236343384, 0.05490073934197426, 0.02684478834271431, 0.0035307102371007204, -0.0312359556555748 ]
307
Neural Multi-Objective Combinatorial Optimization via Graph-Image Multimodal Fusion
https://openreview.net/forum?id=4sJ2FYE65U
[ "Jinbiao Chen", "Jiahai Wang", "Zhiguang Cao", "Yaoxin Wu" ]
Poster
Existing neural multi-objective combinatorial optimization (MOCO) methods still exhibit an optimality gap since they fail to fully exploit the intrinsic features of problem instances. A significant factor contributing to this shortfall is their reliance solely on graph-modal information. To overcome this, we propose a novel graph-image multimodal fusion (GIMF) framework that enhances neural MOCO methods by integrating graph and image information of the problem instances. Our GIMF framework comprises three key components: (1) a constructed coordinate image to better represent the spatial structure of the problem instance, (2) a problem-size adaptive resolution strategy during the image construction process to improve the cross-size generalization of the model, and (3) a multimodal fusion mechanism with modality-specific bottlenecks to efficiently couple graph and image information. We demonstrate the versatility of our GIMF by implementing it with two state-of-the-art neural MOCO backbones. Experimental results on classic MOCO problems show that our GIMF significantly outperforms state-of-the-art neural MOCO methods and exhibits superior generalization capability.
Neural Multi-Objective Combinatorial Optimization, Multimodal Fusion, Deep Reinforcement Learning
This paper proposes a graph-image multimodal fusion framework for neural multi-objective combinatorial optimization.
13,570
null
[ -0.019690409302711487, -0.01745937205851078, 0.0047278692945837975, 0.060158684849739075, 0.02411690540611744, 0.0675344467163086, 0.001869094092398882, 0.02328753098845482, -0.040619753301143646, -0.05553841590881348, 0.0037389062345027924, 0.008771387860178947, -0.07688891887664795, -0.005907541140913963, -0.008721436373889446, 0.04485885426402092, 0.023516060784459114, 0.012974336743354797, 0.007987617515027523, 0.01435806229710579, -0.023569483309984207, -0.03907139599323273, 0.017648663371801376, 0.011476842686533928, 0.026819642633199692, -0.004767628852277994, 0.008582614362239838, 0.014148845337331295, -0.012381895445287228, -0.01984797604382038, 0.01831085979938507, -0.005777361802756786, 0.03156431391835213, -0.05552300438284874, 0.03677595779299736, -0.011301824823021889, -0.07455676794052124, 0.0021576620638370514, 0.028693897649645805, 0.015456820838153362, -0.04605599120259285, 0.023661039769649506, -0.005909925326704979, -0.0011830542935058475, -0.050120558589696884, 0.02913144789636135, -0.0937611535191536, 0.029125245288014412, 0.008764885365962982, -0.02789737656712532, -0.07528923451900482, 0.030543213710188866, 0.00034326460445299745, -0.005811708513647318, -0.013246382586658001, 0.03871102258563042, 0.048879556357860565, -0.035439588129520416, -0.02656770683825016, -0.05282609164714813, -0.04857620596885681, 0.04795660451054573, 0.028659474104642868, 0.0010805370984598994, -0.025245776399970055, -0.011169694364070892, -0.0142671475186944, 0.06474215537309647, -0.026731688529253006, -0.0020400879438966513, -0.019211089238524437, -0.015482776798307896, 0.05855510011315346, 0.029211292043328285, -0.007289478555321693, -0.040658775717020035, 0.01592188887298107, -0.0076763080433011055, 0.022785164415836334, -0.024609817191958427, 0.010634149424731731, 0.037075769156217575, 0.002590924734249711, 0.023226622492074966, -0.003333387430757284, 0.01611379347741604, -0.030169853940606117, -0.03046574629843235, -0.08783985674381256, 0.037302009761333466, -0.027505196630954742, -0.06525519490242004, -0.007674384396523237, 0.042429134249687195, 0.019399987533688545, 0.007990173064172268, 0.02188221737742424, -0.004268135875463486, 0.018570518121123314, 0.007042135577648878, 0.011682480573654175, -0.007685639895498753, 0.011407086625695229, -0.008164670318365097, -0.1046622171998024, -0.05573751777410507, -0.013911079615354538, -0.002283533802255988, 0.010044257156550884, -0.02189776487648487, -0.052206505089998245, -0.016440827399492264, 0.014535999856889248, -0.04687821865081787, -0.07037895917892456, 0.02013522759079933, -0.007374459411948919, 0.022574450820684433, -0.018040958791971207, 0.01117248646914959, 0.05837376043200493, 0.048321329057216644, -0.008591893129050732, 0.066911481320858, 0.014795975759625435, -0.002345371525734663, 0.013045044615864754, 0.055710744112730026, -0.04889872670173645, -0.03936713561415672, -0.01974223181605339, 0.025182895362377167, -0.0157674141228199, -0.04406088963150978, 0.02168586663901806, -0.03910060599446297, 0.029948875308036804, 0.006315113976597786, 0.014304064214229584, -0.023206893354654312, -0.01777408830821514, -0.037537556141614914, 0.05001465603709221, -0.02686150185763836, 0.06699129194021225, -0.027783464640378952, -0.004190665669739246, -0.02565797045826912, -0.040044475346803665, 0.014362320303916931, 0.00031863010372035205, -0.025523453950881958, 0.002663237042725086, -0.04632186517119408, 0.023049334064126015, 0.10810460150241852, 0.030708562582731247, 0.03819546848535538, 0.025776434689760208, 0.011517590843141079, 0.012632854282855988, -0.010500455275177956, -0.016256282106041908, 0.015002844855189323, -0.05536218732595444, -0.04261127486824989, 0.022112848237156868, 0.04736551642417908, -0.06921610236167908, 0.008467490784823895, -0.038034018129110336, -0.08217022567987442, 0.02749987319111824, 0.017412614077329636, -0.030025018379092216, -0.0012433115625753999, 0.08887192606925964, 0.004709247965365648, 0.039670951664447784, 0.015344815328717232, -0.08206463605165482, 0.03510265424847603, 0.023343557491898537, -0.0023295192513614893, -0.004208682104945183, -0.016116071492433548, 0.05688756704330444, -0.025790240615606308, 0.003202776424586773, 0.0028371934313327074, -0.06361827254295349, -0.018314840272068977, 0.021406574174761772, -0.033876050263643265, 0.07877758145332336, 0.03740476816892624, -0.029950076714158058, 0.0017714279238134623, 0.02126185968518257, 0.03261168301105499, 0.06164926290512085, -0.03156634047627449, 0.04707629233598709, -0.011523102410137653, -0.047174662351608276, 0.004567523021250963, 0.04462435469031334, -0.05148341879248619, -0.04097810387611389, 0.0012271093437448144, -0.014191892929375172, -0.011609276756644249, -0.008606422692537308, 0.01789873093366623, 0.03979415073990822, -0.0033444694709032774, 0.0027267213445156813, 0.008525661192834377, -0.006207972299307585, -0.04644739255309105, 0.02636583521962166, 0.02741640992462635, -0.03673655539751053, 0.003108520992100239, -0.020703481510281563, 0.08780322223901749, 0.050193168222904205, -0.04690668359398842, 0.010874705389142036, 0.021318040788173676, 0.010802635923027992, 0.05245891213417053, 0.025138050317764282, 0.004638390149921179, 0.007606638595461845, -0.03228959068655968, 0.013910914771258831, 0.006835107691586018, 0.04781246557831764, -0.07164222002029419, -0.03094312734901905, 0.04022807255387306, -0.019112395122647285, 0.05653897672891617, 0.0030348135624080896, 0.00023827610129956156, 0.03308496251702309, 0.035750050097703934, -0.0033054067753255367, -0.014262712560594082, -0.0028074777219444513, 0.021285858005285263, -0.00916245486587286, 0.001333023188635707, 0.009776931256055832, -0.06953287869691849, 0.021857213228940964, -0.0393124595284462, 0.06310728192329407, 0.05739076808094978, 0.031428031623363495, 0.021453706547617912, -0.005526459775865078, -0.020432816818356514, -0.0591474287211895, -0.10947725921869278, -0.04337894916534424, -0.01256108470261097, 0.042438384145498276, 0.01987522281706333, 0.06117820739746094, 0.011243262328207493, 0.01947614550590515, -0.013462907634675503, -0.021758679300546646, -0.000921963423024863, 0.028539638966321945, 0.026987694203853607, -0.02675642818212509, -0.02266998030245304, 0.008832225576043129, 0.07852069288492203, -0.015170862898230553, -0.008101384155452251, -0.04481320455670357, -0.027868332341313362, -0.0030238365288823843, -0.04331891983747482, -0.009018021635711193, 0.013700009323656559, 0.038852863013744354, 0.03880636766552925, -0.01589086465537548, 0.036822669208049774, 0.00826703105121851, 0.031515493988990784, 0.05579989403486252, 0.02083250693976879, -0.013955541886389256, 0.03067822940647602, 0.0025585617404431105, 0.022536639124155045, -0.003161924658343196, -0.029212521389126778, -0.015526184812188148, 0.005720536690205336, 0.01763789728283882, 0.017172321677207947, -0.25922778248786926, -0.0033864181023091078, 0.021921109408140182, 0.010189447551965714, 0.028043393045663834, -0.03807708993554115, 0.005547376349568367, -0.04272883012890816, -0.017494313418865204, -0.043122630566358566, 0.014985998161137104, 0.015443931333720684, -0.0018358019879087806, 0.03943609073758125, 0.050256598740816116, 0.0341184176504612, 0.02701825089752674, -0.022232698276638985, 0.025460168719291687, 0.02904953435063362, -0.047422610223293304, -0.08590151369571686, -0.017312830314040184, 0.027603156864643097, -0.009048212319612503, 0.03407946601510048, -0.0948292538523674, -0.026300454512238503, -0.029553204774856567, -0.016350921243429184, -0.003830954898148775, -0.016610389575362206, -0.02341572754085064, 0.059142496436834335, 0.01724126562476158, 0.017284873872995377, 0.03233722224831581, -0.06142077594995499, 0.015543351881206036, 0.009584391489624977, 0.021664228290319443, 0.014291360042989254, -0.07034122198820114, 0.0026827198453247547, 0.06317249685525894, 0.00796424224972725, -0.028618594631552696, -0.01492885872721672, -0.01401454210281372, 0.03394030034542084, 0.04088625684380531, -0.0031284510623663664, -0.0008961647399701178, 0.043733861297369, 0.006469682324677706, -0.010990569368004799, 0.016926215961575508, 0.009820844978094101, 0.017002856358885765, -0.016131781041622162, -0.0031340911518782377, -0.06108136475086212, -0.01200078334659338, -0.0013848412781953812, -0.026005944237113, -0.032970815896987915, -0.06434138119220734, -0.08585414290428162, 0.04210171848535538, 0.03478793054819107, 0.007869446650147438, 0.016848387196660042, -0.00827701110392809, -0.09211773425340652, 0.002666803076863289, 0.006235823035240173, -0.008702633902430534, 0.0065132989548146725, -0.03003855235874653, 0.0336771160364151, -0.03984211012721062, -0.0492316409945488, 0.03109068237245083, 0.025824274867773056, 0.01774129457771778, -0.02459404245018959, 0.01920015923678875, -0.028728071600198746, -0.0065122791565954685, -0.009980559349060059, 0.02938753552734852, 0.036594826728105545, 0.0674235075712204, 0.007042416371405125, 0.058673109859228134, 0.023693596944212914, 0.05888226628303528, 0.03976030647754669, 0.03565946966409683, -0.007908573374152184, 0.018483620136976242, -0.08121932297945023, -0.03240406513214111, -0.0006356341764330864, -0.0624055415391922, 0.00018424526206217706, -0.047976210713386536, -0.03369941934943199, 0.05440303683280945, 0.025041067972779274, -0.03432723134756088, -0.043201763182878494, 0.03814053162932396, -0.01759607158601284, -0.024928446859121323, -0.010743329301476479, 0.006937065627425909, 0.02952611818909645, 0.04139429330825806, 0.013493524864315987, -0.013195186853408813, 0.04477847367525101, -0.023329075425863266, 0.0012337445514276624, -0.019159749150276184, -0.0077183423563838005, -0.030938997864723206, -0.008167464286088943, 0.013687212951481342, 0.027449991554021835, 0.0334707573056221, 0.055500779300928116, 0.0029892537277191877, 0.028428947553038597, 0.03406868875026703, -0.02908959612250328, -0.024746712297201157, -0.05404999479651451, 0.04962265491485596, -0.026248710229992867, 0.04705455154180527, 0.0065216608345508575, -0.012933957390487194, 0.005897838156670332, 0.01349721197038889, 0.014742123894393444, 0.00027492042863741517, 0.01770266331732273, -0.025864990428090096, 0.009782426059246063, -0.029240787029266357, -0.0498633086681366, -0.030674202367663383, -0.03402627632021904, 0.023765025660395622, 0.013159277848899364, 0.0011968964245170355, -0.045419931411743164, 0.041303906589746475, -0.03235013410449028, 0.044213563203811646, 0.029877951368689537, -0.013511376455426216, -0.018330853432416916, -0.016200492158532143, 0.05337747931480408, 0.010375520214438438, -0.026204586029052734, -0.01464170590043068, 0.003521963255479932, 0.022632203996181488, -0.03253483027219772, -0.032501038163900375, -0.019284991547465324, -0.017693182453513145, -0.011118569411337376, 0.021399036049842834, 0.001032238476909697, -0.024747997522354126, 0.05410042032599449, -0.02509472891688347, -0.05641476809978485, 0.022379955276846886, -0.023250583559274673, 0.07761692255735397, 0.0044818660244345665, -0.009979783557355404, -0.018655965104699135, -0.0053153326734900475, 0.056490253657102585, 0.02265818975865841, 0.028813133016228676, -0.04154014587402344, -0.03352286294102669, -0.019928723573684692, -0.021266592666506767, -0.00998895987868309, 0.019161883741617203, 0.0019997244235128164, -0.02535259909927845, -0.0063957213424146175, 0.029844438657164574, -0.042150307446718216, -0.008867132477462292, 0.017282184213399887, -0.07375351339578629, 0.0017215083353221416, 0.049238987267017365, -0.009806505404412746, 0.021821357309818268, -0.02843991480767727, -0.035469766706228256, -0.07138118892908096, -0.010297628119587898, 0.01859789341688156, 0.0072490074671804905, -0.018079107627272606, -0.005093870218843222, -0.007464466616511345, -0.022806189954280853, -0.023888973519206047, -0.0029577005188912153, -0.00864376500248909, -0.05564141646027565, 0.00033768106368370354, 0.07289863377809525, -0.026445403695106506, -0.0030805717688053846, -0.024834949523210526, -0.010504859499633312, 0.029027242213487625, -0.04282970726490021, -0.0034318258985877037, 0.05514863133430481, 0.030246658250689507, 0.0266414787620306, -0.06114418804645538, 0.03978747874498367, -0.003291203174740076, -0.015537166967988014, 0.026630520820617676, 0.008860884234309196, -0.049759987741708755, -0.013071245513856411, 0.001464163069613278, 0.03584470599889755, 0.015764713287353516, 0.021316666156053543, 0.0023239580914378166, -0.0054211923852562904, 0.020597845315933228, -0.011137368157505989, -0.06117362901568413, -0.010873043909668922, 0.08212915807962418, -0.01976027339696884, -0.01945243775844574, -0.03723601996898651, -0.022841360419988632, -0.001327046426013112, -0.05649900063872337, 0.05392386391758919, -0.022160546854138374, 0.028116004541516304, 0.024099737405776978, 0.03694747015833855, -0.005492034368216991, -0.03608114272356033, 0.004371808376163244, -0.053150299936532974, 0.048382990062236786, -0.05769879370927811, -0.018742188811302185, 0.04548176750540733, -0.025116613134741783, -0.0038990615867078304, 0.009820361621677876, -0.018358485773205757, 0.03972405567765236, -0.024714482948184013, -0.04847944900393486, 0.014425746165215969, -0.03669627755880356, 0.002733527449890971, 0.012187435291707516, -0.02989434264600277, -0.0012551294639706612, -0.0040937806479632854, -0.04757775366306305, -0.006540166214108467, 0.0021724936086684465, 0.06856688112020493, 0.02464137226343155, 0.022787990048527718, 0.005686333402991295, -0.005722776986658573, 0.04345611110329628, 0.07494036853313446, 0.028207669034600258, 0.023280896246433258, -0.021467311307787895, 0.034784331917762756, 0.03444139286875725, 0.02233196422457695, -0.017279883846640587, 0.031696218997240067, -0.016021447256207466, -0.034138694405555725, 0.03536417707800865, -0.0012883574236184359, -0.027787012979388237, -0.06380435824394226, 0.0679325982928276, 0.009953318163752556, -0.04792555049061775, -0.03117908164858818, 0.04613999277353287, -0.06894450634717941, 0.04029858857393265, -0.009280066005885601, -0.003459077561274171, -0.0011130856582894921, 0.06665558367967606, 0.0033340922091156244, 0.019296802580356598, 0.08425844460725784, 0.011737699620425701, -0.025774100795388222, -0.008024780079722404, 0.062120355665683746, 0.039641790091991425, 0.05342363938689232, -0.005028674378991127, 0.060014043003320694, -0.02128487639129162, -0.0350780114531517, 0.028757674619555473, 0.038761112838983536, -0.05021188035607338, -0.028795255348086357, -0.03709361329674721, 0.09421154856681824, -0.024815555661916733, 0.07630735635757446, -0.022983266040682793, -0.004073315300047398, 0.028095094487071037, 0.008148014545440674, -0.033755235373973846, 0.030094610527157784, 0.022859999909996986, 0.03094780445098877, -0.03393116220831871, 0.007628424558788538, -0.008311321958899498, -0.027577189728617668, -0.002165180863812566, 0.031584881246089935, -0.024020371958613396, 0.021929416805505753, 0.018021604046225548, 0.01743033342063427, 0.09885429590940475, -0.06541071087121964, -0.027098480612039566, 0.01186281070113182, 0.03097940981388092, 0.011008688248693943, 0.020430346950888634, 0.02056325413286686, -0.021509835496544838, 0.017262998968362808, -0.03523479402065277, 0.027800796553492546, -0.003838899079710245, 0.03206568956375122, 0.0026283590123057365, -0.030240889638662338, -0.014514225535094738, 0.011727102100849152, -0.0023595518432557583, -0.007285681553184986, -0.04499047249555588, -0.024873191490769386, -0.07636342942714691, -0.057194530963897705, -0.03878984972834587, 0.017866700887680054, 0.004305034410208464, -0.0175139419734478, 0.01206367090344429, 0.010698939673602581, 0.013422655873000622, 0.033344339579343796, -0.04648809880018234, 0.01970142498612404, 0.018713925033807755, -0.006530425511300564, 0.009868399240076542, 0.009447870776057243, 0.03229890391230583, -0.02446959726512432, -0.010765423998236656, 0.05115937441587448, 0.036657799035310745, -0.0036702724173665047, 0.006084172986447811, -0.02091924473643303, -0.10633405297994614, -0.00624504080042243, -0.013404907658696175, -0.046000685542821884, -0.08050335943698883, 0.004572050645947456, 0.01026066206395626, 0.022656425833702087, 0.08079664409160614, -0.0018598005408421159, 0.008714977651834488, -0.04491683840751648, 0.005919874180108309, -0.023730386048555374, -0.017606930807232857, 0.05579032748937607, -0.046717386692762375, 0.03218790888786316, 0.029709920287132263, -0.013432174921035767, -0.006487118545919657, 0.03796086832880974, -0.0026741495821624994, 0.026827214285731316, -0.01293244119733572, -0.036444928497076035, -0.04350404441356659, -0.13004012405872345, -0.020949911326169968, 0.031517393887043, -0.004834677558392286, -0.037162892520427704, -0.025278713554143906, 0.0028093147557228804, -0.015267716720700264, 0.0029985266737639904, -0.013317654840648174, -0.017568442970514297, -0.023939859122037888, -0.02831919491291046, -0.09609514474868774, 0.037892576307058334, -0.010932819917798042, 0.030043648555874825, -0.05113350227475166, -0.05023719742894173, -0.02177572064101696, 0.020455896854400635, 0.0316956490278244, 0.01609901152551174, 0.05401718616485596, -0.0032992626074701548 ]
308
Have the VLMs Lost Confidence? A Study of Sycophancy in VLMs
https://openreview.net/forum?id=E2PFv7ad3p
[ "Shuo Li", "Tao Ji", "Xiaoran Fan", "Linsheng Lu", "Leyi Yang", "Yuming Yang", "Zhiheng Xi", "Rui Zheng", "Yuran Wang", "xh.zhao", "Tao Gui", "Qi Zhang", "Xuanjing Huang" ]
Poster
In the study of LLMs, sycophancy represents a prevalent hallucination that poses significant challenges to these models. Specifically, LLMs often fail to adhere to original correct responses, instead blindly agreeing with users' opinions, even when those opinions are incorrect or malicious. However, research on sycophancy in visual language models (VLMs) has been scarce. In this work, we extend the exploration of sycophancy from LLMs to VLMs, introducing the MM-SY benchmark to evaluate this phenomenon. We present evaluation results from multiple representative models, addressing the gap in sycophancy research for VLMs. To mitigate sycophancy, we propose a synthetic dataset for training and employ methods based on prompts, supervised fine-tuning, and DPO. Our experiments demonstrate that these methods effectively alleviate sycophancy in VLMs. Additionally, we probe VLMs to assess the semantic impact of sycophancy and analyze the attention distribution of visual tokens. Our findings indicate that the ability to prevent sycophancy is predominantly observed in higher layers of the model. The lack of attention to image knowledge in these higher layers may contribute to sycophancy, and enhancing image attention at high layers proves beneficial in mitigating this issue.
Multi-modal Model, Visual-Language Model, Sycophancy, Hallucination
Have the VLMs Lost Confidence? A Study of Sycophancy in VLMs
13,565
2410.11302
[ 0.02974938228726387, -0.008757412433624268, 0.028315244242548943, 0.04743126407265663, 0.021790554746985435, -0.00204610638320446, 0.06189047917723656, 0.028265029191970825, -0.04980263486504555, -0.008929583244025707, -0.042840901762247086, 0.026886260136961937, -0.06926579773426056, 0.020884722471237183, -0.011894443072378635, 0.05414814502000809, 0.047582995146512985, 0.021059861406683922, 0.001888944418169558, 0.037995465099811554, 0.004827012307941914, -0.025794362649321556, 0.029154444113373756, 0.0009655469912104309, 0.018224015831947327, -0.02424149587750435, 0.03670152649283409, -0.005435227882117033, -0.04469243809580803, -0.006690171081572771, 0.03787292167544365, -0.04419238492846489, -0.00025739058037288487, -0.011809227056801319, 0.024131406098604202, 0.02747792936861515, -0.04088076576590538, 0.02136479690670967, 0.02772359549999237, 0.029562002047896385, -0.04769406467676163, 0.005752745550125837, -0.019229089841246605, -0.0480843111872673, -0.044041331857442856, -0.02463548257946968, -0.09138590097427368, 0.045304588973522186, 0.015454936772584915, -0.03412289917469025, -0.10555817931890488, 0.03798087686300278, 0.016543768346309662, 0.029646528884768486, 0.003394341329112649, 0.006838854402303696, 0.01330981682986021, -0.10202129930257797, -0.02035737782716751, -0.051379647105932236, -0.02304256334900856, 0.005472242832183838, 0.008179202675819397, 0.009411548264324665, -0.001422204659320414, -0.010658083483576775, -0.016993697732686996, 0.03066829778254032, -0.06171853840351105, -0.027887560427188873, 0.00845278613269329, -0.02549319714307785, -0.009124215692281723, -0.002099117264151573, 0.001767356414347887, -0.04359012469649315, 0.03136966750025749, 0.013928321190178394, 0.0740853026509285, -0.03236681595444679, 0.010496154427528381, 0.041492290794849396, 0.02632485330104828, 0.03880275785923004, 0.02381625771522522, 0.020049095153808594, 0.004165664315223694, -0.036556221544742584, -0.06521143019199371, 0.026186568662524223, -0.012248127721250057, -0.056380495429039, 0.019110990688204765, 0.028597353026270866, 0.015965234488248825, 0.019897980615496635, 0.04107631742954254, 0.002126729115843773, -0.005844907369464636, -0.0016242129495367408, -0.011324177496135235, -0.024324921891093254, 0.025025535374879837, 0.026668058708310127, -0.08932444453239441, -0.03225407004356384, -0.021108796820044518, -0.013093242421746254, -0.01846889778971672, 0.009927983395755291, -0.06801556050777435, 0.00802338495850563, 0.021938852965831757, -0.0019988268613815308, -0.07697884738445282, 0.011156701482832432, 0.007960393093526363, 0.028982210904359818, -0.013188420794904232, 0.029093030840158463, 0.06351009011268616, 0.03177621588110924, 0.0055127511732280254, 0.07058830559253693, -0.03350060060620308, 0.0320173017680645, -0.01435739453881979, 0.03954511880874634, -0.01815604604780674, -0.007047007791697979, 0.025452332571148872, 0.037103649228811264, -0.013506210409104824, 0.015500148758292198, -0.016841191798448563, -0.003108630422502756, 0.03415248915553093, 0.017093313857913017, 0.0409376323223114, -0.017898917198181152, -0.0092930244281888, -0.008242171257734299, 0.03342888131737709, -0.013937215320765972, 0.07085470110177994, -0.029491068795323372, -0.008861674927175045, -0.008580682799220085, -0.04811004176735878, 0.0003412823425605893, 0.03383547067642212, -0.012420209124684334, 0.0130711505189538, -0.07050696015357971, 0.034586101770401, 0.05573159456253052, 0.023709742352366447, 0.002799943322315812, 0.04325362667441368, 0.007117834873497486, -0.012670793570578098, 0.018717164173722267, -0.05123893916606903, 0.021044209599494934, -0.01355406641960144, -0.06140730530023575, -0.0001055267930496484, -0.006137057673186064, -0.04584865644574165, 0.04632346332073212, -0.05360085144639015, -0.04031938686966896, 0.024043405428528786, -0.007909970358014107, -0.043039470911026, 0.0002959005651064217, 0.060826558619737625, 0.038131192326545715, 0.0240777600556612, 0.013301005586981773, -0.06794004887342453, 0.01720537431538105, -0.016786735504865646, -0.032357119023799896, 0.014867052435874939, -0.018017800524830818, 0.07714051008224487, -0.03766719251871109, -0.00666907848790288, 0.014991682022809982, -0.06187525391578674, 0.018677104264497757, 0.002163425786420703, 0.0017377941403537989, 0.061129048466682434, -0.003969774581491947, -0.01264061126857996, 0.025594184175133705, 0.04251948371529579, 0.05084164813160896, 0.07238685339689255, -0.013102484866976738, 0.035566747188568115, 0.00762838264927268, -0.02882283180952072, 0.009501105174422264, 0.04726022481918335, -0.03426765650510788, -0.06533011794090271, 0.019738854840397835, -0.02907920442521572, -0.01993272267282009, -0.006114485207945108, 0.0425228476524353, 0.0419340506196022, -0.004997648298740387, -0.019673023372888565, -0.02517007663846016, -0.0232030488550663, -0.04332328960299492, 0.04388922452926636, 0.029430586844682693, -0.010023221373558044, -0.008839106187224388, -0.04377099499106407, 0.07138796150684357, 0.06638384610414505, -0.03887077048420906, -0.023648714646697044, 0.013149832375347614, 0.01464099157601595, 0.01640559732913971, 0.017164001241326332, -0.04336460679769516, 0.0022864555940032005, -0.04229211062192917, 0.02635093405842781, -0.036046575754880905, 0.07420651614665985, -0.043133445084095, -0.023377815261483192, 0.044374022632837296, 0.011534902267158031, 0.04562489315867424, 0.002352382754907012, 0.01624949835240841, 0.036988142877817154, -0.010904472321271896, -0.012889736331999302, -0.0017798731569200754, -0.019450629130005836, 0.015125609934329987, -0.008576218970119953, -0.03611133247613907, 0.03468795120716095, -0.028243696317076683, -0.019041581079363823, -0.05288073047995567, 0.05368126183748245, 0.05623637139797211, 0.014451649971306324, 0.050513796508312225, 0.0009156059240922332, -0.03524273633956909, 0.002657533623278141, -0.07369139045476913, -0.02388184703886509, -0.03063918836414814, 0.03663773089647293, 0.01397612877190113, 0.03745809942483902, -0.014539475552737713, 0.0031017882283777, -0.03209973871707916, 0.015248111449182034, 0.023785149678587914, 0.021703168749809265, -0.006930513307452202, -0.01771261729300022, -0.019024591892957687, -0.019874325022101402, 0.052139539271593094, 0.0026880777440965176, -0.0071390364319086075, -0.04505043849349022, -0.012452574446797371, -0.010070540942251682, -0.012703443877398968, -0.002420034259557724, -0.004031000193208456, 0.00995674729347229, -0.0017514488426968455, 0.02153194509446621, 0.006610069889575243, 0.004532556980848312, 0.0571909137070179, 0.04108832776546478, -0.025312473997473717, -0.018985791131854057, 0.06938236206769943, 0.002237631706520915, 0.01683666743338108, 0.046583857387304306, 0.0033256527967751026, -0.013850403018295765, 0.026690790429711342, 0.0046487366780638695, -0.005888950079679489, -0.28337642550468445, -0.030252085998654366, 0.014038401655852795, -0.036171384155750275, 0.026156773790717125, -0.01568300649523735, 0.024524275213479996, -0.03383193537592888, -0.03292640298604965, 0.021902233362197876, 0.05182277783751488, 0.021885031834244728, -0.0008958243415690958, 0.05686918646097183, 0.03699951246380806, 0.011183599941432476, 0.016484977677464485, -0.04202626645565033, 0.010366974398493767, 0.04280081391334534, -0.014416837133467197, -0.05395292490720749, -0.024452196434140205, 0.07213810086250305, -0.001981250708922744, 0.0746314600110054, -0.07238838821649551, 0.005473962984979153, -0.01933215744793415, 0.0004989377339370549, -0.0035875977482646704, 0.008275046944618225, -0.02890808880329132, 0.05708962306380272, -0.010732041671872139, -0.00196544686332345, 0.031189125031232834, -0.019407276064157486, 0.03354709595441818, 0.00794955063611269, 0.014537544921040535, -0.03673582151532173, -0.017445862293243408, 0.007719452027231455, 0.07160547375679016, 0.015614313073456287, -0.082602359354496, -0.0182998888194561, -0.0247309822589159, 0.02552933059632778, -0.049393393099308014, -0.04807364195585251, -0.018354497849941254, 0.040921781212091446, -0.024202076718211174, -0.014697724021971226, 0.00937015749514103, -0.03140640631318092, -0.013324035331606865, -0.034882474690675735, -0.005046018399298191, -0.03539036214351654, -0.01972883567214012, -0.041818730533123016, -0.019815636798739433, -0.019826000556349754, -0.0493999645113945, -0.028211476281285286, 0.05231800675392151, 0.02832186035811901, 0.002594689140096307, 0.03676890209317207, -0.04873588681221008, -0.08988872915506363, 0.025534238666296005, 0.010473819449543953, -0.006109941750764847, -0.024445636197924614, -0.018221404403448105, 0.01737144961953163, -0.0044710831716656685, -0.03645830601453781, 0.013132632710039616, 0.0032791541889309883, 0.027977224439382553, -0.010286030359566212, 0.014936395920813084, 0.00431829784065485, -0.027150487527251244, -0.04609120637178421, 0.07783150672912598, 0.013303123414516449, 0.0064836530946195126, 0.0021773974876850843, 0.04712123051285744, 0.015148534439504147, 0.05860426649451256, 0.05156729742884636, 0.021755071356892586, 0.01692827045917511, 0.026498401537537575, -0.08132568001747131, -0.016358954831957817, -0.015589897520840168, -0.057966381311416626, 0.0148110780864954, -0.05583413317799568, -0.020639896392822266, 0.03693090379238129, -0.004569001961499453, -0.05334176495671272, -0.02130827121436596, 0.020230822265148163, 0.04403538256883621, -0.01597178354859352, -0.01944378949701786, 0.013113301247358322, 0.028921129181981087, 0.015018335543572903, -0.060751091688871384, -0.01746360771358013, 0.025975599884986877, -0.034523434937000275, 0.021824853494763374, -0.011637141928076744, 0.007393715437501669, -0.03301531821489334, -0.01785934530198574, -0.06328542530536652, 0.031000986695289612, 0.006844866089522839, 0.02814328670501709, 0.029766028746962547, 0.014946365728974342, 0.08015204221010208, -0.018301691859960556, 0.0038693230599164963, -0.016665911301970482, 0.03757207468152046, -0.03261720389127731, 0.024882253259420395, -0.015210134908556938, 0.023784684017300606, 0.06920241564512253, 0.022868555039167404, -0.023259887471795082, 0.011599671095609665, -0.02999095618724823, -0.027096623554825783, 0.018301689997315407, 0.05301794409751892, -0.048066042363643646, -0.02266235463321209, -0.010663315653800964, 0.005524707492440939, 0.005585983395576477, 0.0009675631881691515, -0.015801703557372093, 0.0235910601913929, -0.05192287638783455, 0.04478195309638977, 0.020424872636795044, -0.01641940325498581, 0.010554595850408077, 0.0018872820073738694, 0.01402104552835226, -0.00839521735906601, 0.005807971116155386, 0.03241806849837303, 0.018376067280769348, 0.0012969968374818563, -0.033374957740306854, -0.016303651034832, -0.019486626610159874, -0.020420687273144722, 0.01197268720716238, -0.010013951919972897, -0.040955062955617905, -0.029278788715600967, 0.037542007863521576, -0.0026129838079214096, -0.01883615367114544, 0.0030204516369849443, -0.0028886902146041393, 0.07505351305007935, 0.015321950428187847, 0.006955778691917658, -0.02615378424525261, -0.04855722934007645, 0.015684589743614197, -0.008675462566316128, 0.01816871389746666, -0.03155354782938957, -0.015318847261369228, -0.06966695934534073, -0.057346686720848083, -0.003123079426586628, -0.007835726253688335, -0.00538260955363512, -0.029878919944167137, 0.009911804459989071, 0.027111541479825974, -0.044797129929065704, -0.028437508270144463, 0.034337133169174194, -0.08331798762083054, 0.016264203935861588, 0.03298104554414749, -0.037952642887830734, -0.0044747912324965, -0.0580340251326561, -0.010194038040935993, -0.06419774144887924, -0.030616581439971924, 0.017751449719071388, -0.028283314779400826, -0.04018650949001312, -0.03340598940849304, 0.006500192917883396, 0.009405317716300488, 0.009326289407908916, -0.024436961859464645, -0.022424032911658287, 0.0003811730130109936, 0.003976940177381039, 0.02836417965590954, -0.013132394291460514, -0.009766582399606705, 0.02453763224184513, -0.027737729251384735, 0.026994002982974052, -0.04909581318497658, 0.022232798859477043, 0.05521189421415329, -0.025529127568006516, -0.008606940507888794, -0.05283212289214134, 0.026304449886083603, 0.01858355849981308, -0.009750399738550186, 0.01441736426204443, 0.02978956699371338, -0.03117993474006653, -0.00028820353327319026, 0.014966914430260658, 0.042914312332868576, 0.02198375016450882, -0.019482824951410294, 0.011705983430147171, 0.009487466886639595, 0.010271170176565647, -0.007963070645928383, -0.016313254833221436, 0.004361188039183617, 0.058671705424785614, -0.02629830688238144, -0.014364552684128284, -0.06948795169591904, -0.03970079496502876, 0.003077499568462372, 0.013561069034039974, 0.015202273614704609, -0.043930914252996445, 0.04517487436532974, 0.017385749146342278, 0.052455492317676544, 0.02280629798769951, -0.0045081512071192265, 0.034782834351062775, -0.03802773728966713, 0.011973605491220951, -0.062266990542411804, -0.022492192685604095, 0.0508870892226696, -0.007779513020068407, 0.010164658538997173, -0.025188378989696503, -0.06379399448633194, 0.04230104014277458, -0.02470221370458603, -0.032194316387176514, -0.01523439772427082, -0.051653601229190826, -0.0033754378091543913, 0.03189801052212715, -0.06788168102502823, 0.023724930360913277, -0.02804427593946457, -0.03857111930847168, -0.012279028072953224, -0.014918358065187931, 0.04409027099609375, 0.0007231751806102693, 0.025132130831480026, -0.009564442560076714, -0.004794858396053314, 0.0009578359895385802, 0.06396493315696716, 0.020576152950525284, 0.017369670793414116, -0.009023258462548256, 0.08252070844173431, 0.07137604802846909, 0.00045688581303693354, 0.006282193120568991, 0.022752825170755386, -0.030641762539744377, -0.0573025681078434, 0.07208248227834702, -0.0014239100273698568, -0.010841337032616138, -0.06103082746267319, 0.06443819403648376, 0.03492803871631622, -0.05948757007718086, -0.015495224855840206, 0.036800168454647064, -0.029668699949979782, -0.0028712672647088766, -0.030990930274128914, 0.03795551881194115, -0.014082000590860844, 0.05906789377331734, 0.02523561753332615, 0.05153117701411247, 0.06046091020107269, 0.017762988805770874, -0.004639871418476105, 0.033846866339445114, 0.05582703649997711, 0.07358856499195099, 0.07912040501832962, 0.029169855639338493, 0.09207267314195633, -0.0373123362660408, -0.030308522284030914, 0.0051013207994401455, 0.033825717866420746, -0.013333655893802643, -0.042910970747470856, 0.01436873059719801, 0.0747091993689537, 0.02289636619389057, 0.0637364536523819, -0.05872360244393349, -0.01630254276096821, 0.04271939769387245, 0.010964925400912762, -0.007602222729474306, 0.012377877719700336, 0.026376856490969658, -0.000878243416082114, -0.0027389689348638058, -0.014332663267850876, 0.0052382005378603935, -0.05265866592526436, 0.0056373649276793, -0.034349068999290466, -0.020263878628611565, 0.0037557207979261875, -0.037854403257369995, 0.05636337399482727, 0.11592307686805725, -0.014124511741101742, -0.033658575266599655, 0.023563679307699203, 0.013060575351119041, 0.03650500252842903, 0.07157635688781738, -0.018214916810393333, -0.02151140384376049, 0.00554617727175355, -0.059229642152786255, 0.021340830251574516, 0.022706596180796623, 0.005812059622257948, 0.03420756384730339, -0.050605058670043945, -0.04033033177256584, 0.023997625336050987, 0.02138599008321762, -0.0355977937579155, -0.04039663076400757, -0.03283530846238136, -0.044966597110033035, -0.03131970390677452, -0.04020622372627258, 0.022564858198165894, 0.005017510615289211, -0.062199607491493225, -0.007039983291178942, 0.00022889274987392128, 0.010776999406516552, 0.004754506517201662, -0.045698635280132294, 0.007721615955233574, 0.02393162250518799, -0.0027765461709350348, -0.04780609533190727, 0.021696623414754868, 0.006313800811767578, -0.031657591462135315, -0.0006986947846598923, 0.024484390392899513, 0.004279097076505423, 0.021357616409659386, 0.0012974604032933712, -0.019069362431764603, -0.1354166567325592, -0.005724000278860331, -0.002985897706821561, -0.023821469396352768, -0.07286959886550903, 0.013406765647232533, -0.004391350317746401, 0.023914314806461334, 0.06488221138715744, 0.02272324450314045, 0.03229553997516632, -0.03386995941400528, -0.00436749029904604, -0.014749720692634583, 0.03147514536976814, 0.07526132464408875, -0.012350560165941715, 0.06140803173184395, 0.015098435804247856, 0.0037076803855597973, -0.04491769149899483, -0.011655614711344242, -0.010172047652304173, -0.016779761761426926, -0.010137212462723255, -0.0269258301705122, -0.03850487992167473, -0.10955601185560226, -0.014033842831850052, 0.03327441215515137, -0.02149990014731884, -0.017802907153964043, -0.03562935069203377, -0.04696948826313019, -0.03245193883776665, -0.0028596511110663414, 0.012166465632617474, -0.023620229214429855, -0.03212122619152069, -0.022159496322274208, -0.044611066579818726, 0.0054239919409155846, 0.010360263288021088, 0.007815120741724968, -0.03963838145136833, -0.05195054039359093, -0.0010803552577272058, 0.033591821789741516, 0.041327331215143204, -0.0035866033285856247, 0.05326668545603752, -0.03141937777400017 ]
309
Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass
https://openreview.net/forum?id=bc3sUsS6ck
[ "Tong Chen", "Hao Fang", "Patrick Xia", "Xiaodong Liu", "Benjamin Van Durme", "Luke Zettlemoyer", "Jianfeng Gao", "Hao Cheng" ]
Poster
Large language models (LLMs) acquire substantial knowledge during pretraining but often need adaptation to new contexts, tasks, or domains, typically achieved through fine-tuning or prompting. However, fine-tuning incurs significant training costs, while prompting increases inference overhead. Inspired by fast weight memory, we introduce GenerativeAdapter, an effective and efficient adaptation method that encode test-time context into language model parameters with a single forward pass. GenerativeAdapter augments a frozen pretrained LM with a lightweight adapter generator, trained via self-supervised learning, to produce parameter-efficient adapters. Notably, our generator is general-purpose, i.e., one generator can adapt the corresponding base model for all langauge processing scenarios. We apply GenerativeAdapter to two pretrained LMs (Mistral-7B-Instruct and Llama2-7B-Chat) and evaluate the adapted models across knowledge acquisition from documents, learning from demonstrations, and personalization for users. In StreamingQA, our approach is effective in injecting knowledge into the LM's parameters, achieving a 63.5\% improvement in F1 score over the model with supervised fine-tuning (from $19.5$ to $31.5$) for contexts as long as 32K tokens. In the MetaICL in-context learning evaluation, our method achieves an average accuracy of $44.9$ across 26 tasks, outperforming the base model. On MSC, our method proves to be highly competitive in memorizing user information from conversations with a 4x reduction in computation and memory costs compared to prompting with full conversation history. Overall, GenerativeAdapter provides a viable solution for adapting large LMs to evolving information and providing tailored user experience, while reducing training and inference costs relative to traditional fine-tuning and prompting techniques.
language model; efficient adaptation; fine-tuning; prompting
null
13,563
2411.05877
[ -0.014914107508957386, -0.023805096745491028, -0.009716834872961044, 0.038387101143598557, 0.025551535189151764, 0.028153173625469208, 0.01003991812467575, 0.016904044896364212, -0.012844775803387165, -0.015909763053059578, -0.024041304364800453, 0.03970712795853615, -0.05411331728100777, 0.017116429284214973, -0.01431276649236679, 0.03882792592048645, 0.030453447252511978, -0.02462247759103775, 0.02996436320245266, 0.01690804958343506, 0.004366831388324499, -0.02027258276939392, 0.054304033517837524, -0.003983152564615011, 0.023322446271777153, 0.031661029905080795, 0.012025558389723301, 0.006746449042111635, -0.0422646664083004, 0.010011088103055954, 0.021699372678995132, -0.001283326419070363, 0.009602615609765053, -0.012925415299832821, 0.01680949702858925, -0.05862995237112045, -0.05573718994855881, -0.008615761063992977, 0.017255542799830437, 0.02967796102166176, -0.022458871826529503, 0.00617613410577178, -0.01593518815934658, 0.026278482750058174, -0.04609660804271698, -0.0018852371722459793, -0.10271767526865005, 0.02615392580628395, -0.0065802703611552715, -0.040718935430049896, -0.12651826441287994, 0.04130503162741661, -0.002425155835226178, -0.0003775017976295203, 0.004594691097736359, 0.029730377718806267, 0.05599221587181091, -0.1011592298746109, 0.018281249329447746, -0.02800292707979679, -0.04370672255754471, 0.023655109107494354, 0.023287713527679443, 0.02893943153321743, -0.002956375014036894, -0.033479951322078705, -0.009780515916645527, 0.036987654864788055, -0.05114663019776344, -0.05151844769716263, -0.04610395058989525, 0.011802843771874905, -0.00031708943424746394, 0.019140666350722313, 0.017230411991477013, -0.04231581836938858, 0.020299647003412247, 0.0547943040728569, 0.07429912686347961, -0.0009778353851288557, 0.0012192991562187672, -0.0032680598087608814, 0.04897577688097954, 0.03186715394258499, 0.014941493980586529, 0.004277650732547045, -0.07729767262935638, -0.015123841352760792, -0.06846434623003006, 0.02312150038778782, 0.010266748256981373, -0.055796168744564056, 0.009499052539467812, 0.02063111774623394, 0.015072116628289223, 0.0030288617126643658, 0.013785645365715027, -0.01193472184240818, -0.0026614952366799116, -0.0014176353579387069, -0.010516880080103874, -0.03177768364548683, 0.039892226457595825, -0.008203782141208649, -0.10530044138431549, -0.024669235572218895, -0.048729248344898224, -0.015600327402353287, -0.003051756415516138, 0.004191483370959759, -0.025988426059484482, 0.0017278935993090272, 0.026547659188508987, -0.029396524652838707, -0.07412975281476974, 0.02653328701853752, 0.021036362275481224, 0.03500901907682419, -0.0036748521961271763, 0.01641944982111454, 0.05476713925600052, 0.042445022612810135, 0.009775007143616676, 0.06944004446268082, -0.04231599345803261, 0.0356999970972538, 0.010120302438735962, 0.022725556045770645, -0.03976479917764664, -0.01652303896844387, -0.00423395587131381, 0.015304476022720337, 0.0340583436191082, 0.03668764606118202, -0.000003663348707050318, 0.0027042641304433346, 0.014537278562784195, 0.013057178817689419, 0.05866309627890587, -0.001672728918492794, -0.015927523374557495, 0.0031141696963459253, 0.04656924679875374, -0.013070239685475826, 0.05509762465953827, 0.0033898837864398956, -0.045121900737285614, -0.015325496904551983, -0.01451876387000084, 0.028139017522335052, 0.03263455256819725, 0.03366329148411751, 0.012823625467717648, -0.05387217178940773, -0.001031656051054597, 0.06857873499393463, 0.0002651918912306428, 0.0044702282175421715, 0.0136924022808671, 0.015562818385660648, 0.022962141782045364, 0.013937968760728836, -0.04645369574427605, 0.011088068597018719, -0.021496979519724846, -0.05401212349534035, 0.0064916787669062614, 0.006546650547534227, -0.03635287284851074, -0.0029491058085113764, -0.0348622165620327, -0.05319453030824661, 0.05983464792370796, -0.029687706381082535, -0.021497255191206932, 0.004009854979813099, 0.044832415878772736, -0.0020463946275413036, 0.04719037190079689, 0.0488446019589901, -0.06888791173696518, 0.007685148622840643, 0.01577129028737545, -0.0395752415060997, 0.03295425325632095, -0.014040805399417877, 0.0804022029042244, -0.00048249689280055463, 0.0017283590277656913, 0.011239164508879185, -0.07088860869407654, -0.0324053093791008, -0.018047159537672997, -0.004339322447776794, 0.058529630303382874, 0.0018770558526739478, 0.015358681790530682, 0.06768428534269333, 0.05724603682756424, 0.039631832391023636, 0.08143710345029831, -0.01721271499991417, 0.02337097004055977, -0.01180520560592413, -0.04135598614811897, -0.014899848960340023, 0.03966870158910751, -0.04647843912243843, -0.05510656535625458, 0.034397028386592865, -0.021083781495690346, 0.022631412371993065, 0.03679952025413513, -0.014255665242671967, -0.005314527545124292, 0.02732546441257, -0.03479369729757309, 0.00041989271994680166, 0.0025210303720086813, -0.03682001680135727, 0.04286857694387436, 0.01211019791662693, -0.026698889210820198, -0.006432081572711468, -0.04243503510951996, 0.10149826109409332, 0.047109514474868774, -0.022021621465682983, -0.023197650909423828, 0.005057539325207472, 0.013980495743453503, 0.007571888156235218, -0.0006930171512067318, -0.03129437938332558, -0.0006323493435047567, -0.02818283811211586, -0.013243232853710651, -0.022207632660865784, 0.032811012119054794, -0.05198149383068085, 0.015906795859336853, 0.06812077015638351, -0.04277247563004494, 0.053097520023584366, 0.03565580025315285, 0.017616642639040947, 0.04204436019062996, -0.03212204948067665, 0.016281498596072197, -0.0339718759059906, 0.008639569394290447, -0.00230984203517437, 0.005794540513306856, 0.005910721607506275, 0.00025481090415269136, -0.03988813981413841, -0.04297086223959923, -0.0398000106215477, 0.04873492568731308, 0.05604691058397293, 0.02296251803636551, 0.014273729175329208, 0.015171036124229431, -0.04345162585377693, 0.004714523442089558, -0.0997110977768898, -0.014406050555408001, -0.013106418773531914, 0.01560143381357193, 0.004649696871638298, 0.024371745064854622, 0.0271522868424654, 0.02296917699277401, -0.031674087047576904, -0.021443961188197136, 0.01233956404030323, 0.020317500457167625, 0.01450685877352953, -0.042284004390239716, -0.02467954158782959, -0.010370319709181786, 0.029224993661046028, -0.02729429118335247, -0.05205303803086281, -0.028155488893389702, -0.05896584317088127, -0.01889079064130783, -0.04642009735107422, 0.014064371585845947, 0.020560476928949356, 0.026099184527993202, 0.0036736426409333944, -0.02770562842488289, -0.00408990029245615, 0.04603983834385872, 0.05169878527522087, 0.0533800832927227, 0.010978713631629944, -0.04573354870080948, 0.018252205103635788, -0.007796385325491428, 0.024499187245965004, 0.005445039831101894, 0.06132401525974274, -0.029745446518063545, -0.00740966247394681, 0.01523683499544859, -0.0283553097397089, -0.2658357322216034, 0.022330543026328087, 0.010754622519016266, -0.00954171922057867, 0.04193500429391861, -0.006517128087580204, 0.05510774627327919, -0.04964940622448921, -0.007795531768351793, 0.021012963727116585, -0.0027798996306955814, 0.06201396510004997, -0.016332106664776802, 0.03801427036523819, 0.04151499271392822, 0.029342809692025185, -0.028464239090681076, -0.02741389535367489, 0.01870713196694851, 0.040369194000959396, 0.026871459558606148, -0.04789285734295845, -0.015091539360582829, 0.07438395917415619, 0.001334233209490776, 0.025728821754455566, -0.09848622977733612, -0.005820777267217636, -0.00798672903329134, -0.0034579120110720396, 0.00748673640191555, -0.02787027135491371, 0.004923864733427763, 0.019670069217681885, -0.006674946751445532, 0.03640710562467575, 0.04753924533724785, 0.03272254019975662, 0.0475677065551281, -0.010975568555295467, 0.008906411938369274, -0.03334011137485504, -0.0017046000575646758, 0.022060947492718697, 0.06396134942770004, -0.002325126901268959, -0.08232379704713821, -0.025060297921299934, 0.0038640217389911413, 0.03889545798301697, -0.020373478531837463, -0.02008238062262535, -0.008751981891691685, 0.02184983901679516, 0.00903416145592928, -0.025576822459697723, 0.017536107450723648, -0.023629017174243927, -0.004294559359550476, -0.006919800769537687, 0.0059699867852032185, -0.03635820373892784, -0.022120993584394455, -0.031864918768405914, -0.04008850082755089, -0.03769169747829437, -0.06305098533630371, -0.045315053313970566, 0.03390485793352127, 0.05770977586507797, -0.05157076567411423, 0.024261854588985443, 0.026522785425186157, -0.08950413763523102, 0.005517634563148022, -0.0006508941878564656, -0.03144451975822449, -0.0006941276369616389, -0.03043575957417488, 0.036096200346946716, -0.04461170732975006, -0.03274531662464142, -0.016973275691270828, 0.00977285671979189, 0.02003941312432289, -0.03836388885974884, 0.007174166385084391, -0.06439422070980072, 0.014784068800508976, -0.02876579761505127, 0.048897866159677505, -0.00017792407015804201, 0.02076547220349312, 0.03376191481947899, 0.043333958834409714, 0.025874212384223938, 0.04222928732633591, 0.07040903717279434, 0.052978191524744034, -0.007193571887910366, 0.03664854168891907, -0.08502815663814545, -0.03594418987631798, -0.031116735190153122, -0.02688947319984436, 0.02595881186425686, -0.05716417357325554, -0.03278566151857376, 0.029277930036187172, -0.022769281640648842, -0.04679474979639053, -0.03778235241770744, -0.01560176070779562, -0.009304381906986237, -0.02867896854877472, 0.009702968411147594, 0.01584453135728836, 0.029775064438581467, 0.02875175140798092, -0.034802984446287155, -0.024461010470986366, 0.03577454015612602, -0.032843537628650665, 0.0001401797926519066, 0.004141394980251789, -0.04352842643857002, -0.0023991847410798073, -0.011147597804665565, -0.024366412311792374, -0.027920661494135857, 0.031213102862238884, 0.015621695667505264, -0.007148013450205326, 0.005188298877328634, 0.044645726680755615, -0.042323388159275055, 0.025944264605641365, -0.0013886097585782409, 0.019221026450395584, 0.008333425037562847, -0.014859383925795555, -0.02415631152689457, 0.01844508945941925, -0.0010736195836216211, 0.03448054939508438, -0.009134449064731598, 0.026407212018966675, 0.02722993679344654, 0.008765676990151405, 0.023891102522611618, 0.07224799692630768, -0.06706995517015457, -0.02579396963119507, -0.028237730264663696, -0.002442464465275407, 0.0040602656081318855, 0.01624884270131588, -0.026498258113861084, 0.025002378970384598, -0.055602625012397766, 0.07461624592542648, -0.021269110962748528, -0.03417647257447243, -0.004297405015677214, 0.025314688682556152, 0.006550785154104233, -0.012986634857952595, 0.02716081775724888, 0.024484651163220406, 0.013397879898548126, 0.01894478127360344, -0.024775223806500435, -0.03714878112077713, 0.009816947393119335, -0.008753359317779541, 0.013926609419286251, 0.008733493275940418, 0.000981275225058198, -0.005854214541614056, 0.05263340845704079, 0.03085777908563614, 0.003211286850273609, 0.010574061423540115, 0.011356042698025703, 0.08562992513179779, 0.0076003968715667725, -0.009567271918058395, 0.004915294703096151, -0.04553254693746567, -0.010800138115882874, -0.018057210370898247, 0.0039645954966545105, -0.01779356598854065, -0.06489401310682297, -0.028170501813292503, -0.06194508075714111, 0.004239086527377367, 0.0037288996390998363, -0.022216981276869774, -0.013192050158977509, -0.022616753354668617, 0.003223651321604848, -0.0598064661026001, -0.01903071627020836, 0.023523351177573204, -0.07989602535963058, -0.015865128487348557, -0.006865459028631449, -0.029343634843826294, 0.023643743246793747, -0.006787692662328482, -0.029810117557644844, -0.03852500021457672, -0.028762556612491608, 0.018418435007333755, -0.03586290776729584, -0.031608760356903076, -0.0018420562846586108, 0.006087413057684898, -0.02045760117471218, 0.010807614773511887, -0.01245349645614624, -0.002669216599315405, -0.008740785531699657, -0.025915345177054405, 0.03362991660833359, -0.036624081432819366, -0.012853805907070637, -0.011055566370487213, -0.0627995952963829, 0.01884647086262703, -0.045092884451150894, 0.021012084558606148, 0.06557310372591019, -0.011194066144526005, -0.0029866350814700127, -0.059819623827934265, 0.061995815485715866, 0.0334542952477932, 0.009150989353656769, 0.0160552728921175, -0.03628556430339813, -0.0458342507481575, 0.0128176873549819, -0.000195389220607467, 0.04231696203351021, -0.0030293946620076895, 0.019189879298210144, 0.0010810480453073978, 0.013028197921812534, 0.021573813632130623, 0.011125531047582626, -0.04454527422785759, -0.00033341048401780427, 0.07187803834676743, -0.06448784470558167, -0.05638725683093071, -0.06645771861076355, -0.03597050905227661, 0.020815517753362656, 0.00693916343152523, 0.03308931365609169, -0.03858117759227753, 0.06165885180234909, 0.023026011884212494, 0.018452012911438942, 0.017436349764466286, -0.018402280285954475, 0.02537151612341404, -0.03648155555129051, 0.013845755718648434, -0.06276129186153412, -0.04362526163458824, 0.07875395566225052, -0.02160293608903885, -0.0296279639005661, -0.017426081001758575, -0.05453265458345413, 0.04601346701383591, -0.012792333960533142, -0.05195426195859909, 0.01433546282351017, 0.006866896990686655, 0.015185864642262459, 0.028830530121922493, -0.019670529291033745, 0.012030979618430138, -0.007439975626766682, -0.03896555304527283, -0.019107338041067123, -0.016678063198924065, 0.07150261104106903, -0.016563819721341133, 0.030784685164690018, -0.03191795572638512, 0.028286859393119812, 0.0196338202804327, 0.06387116760015488, 0.03364215046167374, 0.035639841109514236, -0.014294064603745937, 0.06929503381252289, 0.02912047505378723, -0.012051006779074669, 0.028405634686350822, -0.00415796460583806, 0.0006455875700339675, -0.07431983202695847, 0.039510197937488556, 0.006041676737368107, -0.04765006899833679, -0.07115709036588669, 0.08347409963607788, 0.039731621742248535, -0.04105543717741966, -0.011349618434906006, 0.018133720383048058, -0.028099678456783295, -0.02605738490819931, -0.02218022383749485, -0.006542094051837921, -0.005244608037173748, 0.06458195298910141, 0.011117411777377129, 0.054946962743997574, 0.06434177607297897, 0.015987996011972427, -0.014292809180915356, -0.01031742338091135, 0.06493977457284927, 0.058256566524505615, 0.048721592873334885, -0.0006480675656348467, 0.06955978274345398, -0.04038754105567932, -0.03993771970272064, 0.014006237499415874, 0.03623553737998009, -0.004712088033556938, -0.03581709787249565, 0.02992638200521469, 0.09738557040691376, 0.006949921604245901, 0.06597428768873215, -0.04383406043052673, -0.017566777765750885, 0.04107414558529854, 0.0071059721522033215, 0.01187155395746231, 0.028887443244457245, 0.03233356028795242, 0.0004997042124159634, -0.028862832114100456, -0.030003787949681282, 0.006589315831661224, -0.01834704913198948, 0.008288278244435787, 0.009337189607322216, -0.005433549638837576, 0.02258669026196003, -0.00676706014201045, 0.053621143102645874, 0.10180658102035522, -0.04005621001124382, -0.044405560940504074, 0.018126996234059334, -0.012080904096364975, -0.007126440294086933, 0.06680549681186676, -0.02511449344456196, -0.006529005244374275, 0.0024062925949692726, -0.017885711044073105, 0.02096775732934475, 0.01473543606698513, 0.0008337969775311649, 0.020121309906244278, -0.014077013358473778, -0.0107381297275424, -0.002711409470066428, 0.021521070972085, -0.07990457117557526, -0.061336636543273926, -0.028852185234427452, -0.0318981371819973, -0.0548899881541729, -0.040609486401081085, 0.024197591468691826, 0.0208195261657238, -0.0327792651951313, 0.0006976952427066863, -0.06189785525202751, -0.00034333299845457077, 0.03211010619997978, -0.06125548481941223, 0.009733937680721283, 0.034269437193870544, -0.00389306852594018, -0.016286997124552727, 0.035278648138046265, 0.005620559677481651, -0.004312153905630112, -0.007163462229073048, 0.04030861705541611, 0.03932768106460571, 0.02238232083618641, -0.0112144211307168, -0.019523972645401955, -0.10047123581171036, 0.013607519678771496, 0.015860287472605705, -0.039027098566293716, -0.07799579948186874, 0.005798033904284239, -0.016787933185696602, 0.06462746113538742, 0.05743908882141113, 0.038296911865472794, 0.011160997673869133, -0.02607502043247223, -0.000757077184971422, 0.011977528221905231, 0.021439559757709503, 0.041343461722135544, -0.019593290984630585, 0.06539210677146912, 0.047650568187236786, -0.013949285261332989, -0.033117953687906265, 0.010778612457215786, 0.004560530185699463, -0.000023855023755459115, -0.008947310037910938, -0.0343618243932724, -0.014351612888276577, -0.07453643530607224, -0.013242527842521667, 0.03658411651849747, -0.012544386088848114, -0.0292921494692564, -0.00518243620172143, -0.014155784621834755, -0.03854548931121826, -0.0045876894146203995, -0.018617982044816017, -0.011354133486747742, -0.020883042365312576, -0.034523770213127136, -0.051065873354673386, 0.026287607848644257, -0.05618836358189583, -0.0004971821326762438, -0.030160171911120415, -0.01822301559150219, 0.009427937678992748, -0.029201464727520943, 0.054964322596788406, 0.005692191421985626, 0.015283197164535522, -0.023575447499752045 ]
310
ICLR: In-Context Learning of Representations
https://openreview.net/forum?id=pXlmOmlHJZ
[ "Core Francisco Park", "Andrew Lee", "Ekdeep Singh Lubana", "Yongyi Yang", "Maya Okawa", "Kento Nishi", "Martin Wattenberg", "Hidenori Tanaka" ]
Poster
Recent work demonstrates that structured patterns in pretraining data influence how representations of different concepts are organized in a large language model’s (LLM) internals, with such representations then driving downstream abilities. Given the open-ended nature of LLMs, e.g., their ability to in-context learn novel tasks, we ask whether models can flexibly alter their semantically grounded organization of concepts. Specifically, if we provide in-context exemplars wherein a concept plays a different role than what the pretraining data suggests, can models infer these novel semantics and reorganize representations in accordance with them? To answer this question, we define a toy “graph tracing” task wherein the nodes of the graph are referenced via concepts seen during training (e.g., apple, bird, etc.), and the connectivity of the graph is defined via some predefined structure (e.g., a square grid). Given exemplars that indicate traces of random walks on the graph, we analyze intermediate representations of the model and find that as the amount of context is scaled, there is a sudden re-organization of representations according to the graph’s structure. Further, we find that when reference concepts have correlations in their semantics (e.g., Monday, Tuesday, etc.), the context-specified graph structure is still present in the representations, but is unable to dominate the pretrained structure. To explain these results, we analogize our task to energy minimization for a predefined graph topology, which shows getting non-trivial performance on the task requires for the model to infer a connected component. Overall, our findings indicate context-size may be an underappreciated scaling axis that can flexibly re-organize model representations, unlocking novel capabilities.
In-Context Learning, Representational Geometry, World Models, Emergence, Percolation
Large language models develop emergent task specific representations given enough in-context exemplars.
13,560
2501.00070
[ -0.009203879162669182, 0.01021272037178278, -0.021085431799292564, 0.032232705503702164, 0.0407530702650547, -0.002728409133851528, 0.030175866559147835, 0.028314922004938126, -0.03196505829691887, -0.007839163765311241, -0.03109721839427948, 0.001976547297090292, -0.04395126551389694, -0.007735287304967642, -0.003813434625044465, 0.07343228161334991, 0.038967084139585495, 0.0017705068457871675, 0.016127951443195343, 0.010336055420339108, -0.000607694499194622, -0.01639540120959282, 0.008452430367469788, 0.0052955918945372105, 0.019632777199149132, 0.015602907165884972, 0.039810601621866226, -0.001520292367786169, -0.026872094720602036, 0.0110860550776124, 0.026223881170153618, -0.019294722005724907, 0.030998993664979935, -0.0306529700756073, 0.020416468381881714, -0.0033430256880819798, -0.05070165544748306, -0.015192383900284767, -0.010266578756272793, -0.021453751251101494, -0.06045994535088539, 0.02405576780438423, 0.0020340837072581053, -0.01696629449725151, -0.06714306771755219, -0.009099232964217663, -0.11897140741348267, 0.03694293648004532, 0.04896687716245651, -0.029475875198841095, -0.10772106051445007, 0.03026643767952919, 0.025726741179823875, -0.014703849330544472, -0.002799558686092496, 0.035376500338315964, 0.03727046027779579, -0.07812250405550003, 0.0143585791811347, -0.05228646472096443, -0.038892801851034164, 0.022184349596500397, 0.0010244825389236212, 0.010873873718082905, -0.01573275588452816, -0.028995556756854057, -0.013807912357151508, 0.03205497935414314, -0.07080689817667007, -0.03999657928943634, -0.036484330892562866, 0.004508530721068382, -0.03332104906439781, 0.04537653923034668, 0.002346478635445237, -0.03844869136810303, -0.0007058106712065637, 0.03291480615735054, 0.05302487313747406, 0.01328818965703249, 0.006264134310185909, 0.04840272292494774, 0.01295098289847374, 0.018110916018486023, 0.010610758326947689, -0.015738384798169136, -0.05474153533577919, -0.06909476220607758, -0.07025165110826492, 0.024617528542876244, -0.032214656472206116, -0.06272198259830475, 0.016889706254005432, 0.034695710986852646, 0.014763417653739452, 0.002849813550710678, 0.011696790345013142, 0.011208404786884785, 0.0027156714349985123, 0.00030488247284665704, -0.013965504243969917, -0.03620913624763489, 0.018738968297839165, -0.006986605003476143, -0.10786502808332443, -0.022621693089604378, -0.024708839133381844, -0.01612880825996399, 0.00653726514428854, -0.007929977960884571, -0.06471828371286392, -0.026275744661688805, 0.021228890866041183, -0.019031334668397903, -0.0629635602235794, 0.02413291111588478, 0.029016947373747826, 0.0464460514485836, -0.009142721071839333, 0.020653968676924706, 0.02231464721262455, 0.03479815274477005, 0.022477775812149048, 0.06767640262842178, -0.034532610327005386, 0.021987106651067734, -0.019722312688827515, 0.022801006212830544, -0.045901793986558914, -0.05748738348484039, 0.01774759776890278, 0.05153655260801315, 0.008655551820993423, -0.014803394675254822, -0.014561415649950504, -0.021462636068463326, 0.030924145132303238, -0.007339582312852144, 0.028351593762636185, 0.024034865200519562, 0.020880544558167458, -0.028182193636894226, 0.05042174458503723, -0.018878573551774025, 0.07536480575799942, -0.010637922212481499, -0.049750614911317825, -0.00531425466760993, -0.022882239893078804, -0.011616935022175312, 0.028801532462239265, 0.0049059768207371235, 0.014437318779528141, -0.04941342771053314, 0.05330086126923561, 0.06774157285690308, -0.0022663595154881477, 0.02828105166554451, 0.00678349519148469, 0.011773199774324894, 0.012845163233578205, -0.014453820884227753, -0.037119582295417786, 0.028125770390033722, -0.010155663825571537, -0.0702214166522026, 0.01418808288872242, 0.01123681478202343, -0.04950925335288048, -0.004353792872279882, -0.01864209771156311, -0.06729399412870407, 0.06262695789337158, -0.03978344798088074, -0.022626474499702454, -0.02377924881875515, 0.0485859215259552, -0.004871540702879429, 0.032027117908000946, 0.01190672256052494, -0.07852914929389954, 0.016038626432418823, -0.013733276166021824, 0.0026134327054023743, 0.009310363791882992, -0.014260022900998592, 0.053550172597169876, -0.019930636510252953, -0.009028270840644836, 0.022725090384483337, -0.0635809525847435, 0.004440488759428263, 0.023225272074341774, -0.009860469028353691, 0.08967636525630951, -0.021556610241532326, -0.011695426888763905, 0.032783761620521545, 0.01983627863228321, 0.044109877198934555, 0.036079294979572296, -0.029992107301950455, 0.029157042503356934, -0.0016032792627811432, -0.01304800994694233, 0.0042747617699205875, 0.028832636773586273, -0.0635397806763649, -0.04530499503016472, 0.014260594733059406, 0.0015354490606114268, -0.004418313968926668, 0.03462269529700279, -0.01304125227034092, 0.01340829860419035, -0.0005075717926956713, -0.014489015564322472, 0.01875610090792179, 0.018108708783984184, -0.04531001299619675, 0.03762666881084442, 0.0024945177137851715, -0.011451110243797302, -0.015358900651335716, -0.027886610478162766, 0.08146458864212036, 0.05758078023791313, -0.02139783278107643, -0.012313795275986195, 0.006195977795869112, 0.021750837564468384, 0.00540159922093153, 0.015806956216692924, -0.042455337941646576, 0.01286837738007307, -0.04200826212763786, -0.01669410988688469, -0.028379904106259346, 0.04771088808774948, -0.03646785020828247, -0.022592810913920403, 0.0811557024717331, -0.03478151559829712, 0.046867311000823975, -0.008282125927507877, 0.029909204691648483, 0.041230082511901855, -0.019414115697145462, -0.019608868286013603, -0.010070333257317543, -0.006112119182944298, -0.00512000871822238, -0.0300152488052845, -0.02354726567864418, 0.0056246318854391575, -0.03812902048230171, -0.006481607910245657, -0.01914973370730877, 0.07451635599136353, 0.05894993990659714, 0.03765484690666199, 0.03668181598186493, -0.002579457126557827, -0.013994994573295116, 0.000026848281777347438, -0.08387582004070282, -0.02331356145441532, -0.03326421231031418, 0.05839639529585838, 0.0019227212760597467, 0.04443678632378578, -0.012537619099020958, 0.029970666393637657, -0.007518945261836052, -0.018992358818650246, -0.0058531248942017555, 0.015124897472560406, 0.002168194390833378, -0.03012876585125923, 0.011817661114037037, -0.026910729706287384, 0.022110573947429657, 0.015163218602538109, -0.029025673866271973, -0.019714735448360443, -0.02570630982518196, -0.009950214996933937, -0.018768131732940674, -0.012298451736569405, -0.006488928571343422, 0.04155873507261276, 0.030882898718118668, -0.008001157082617283, 0.008910112082958221, 0.04933873564004898, 0.07006049901247025, 0.06332772970199585, -0.0063026160933077335, -0.003263239050284028, 0.015917854383587837, -0.03809410333633423, 0.039090562611818314, 0.013826907612383366, 0.030902650207281113, 0.0020191085059195757, 0.015173999592661858, -0.0012325813295319676, 0.008898137137293816, -0.25721246004104614, -0.025988925248384476, 0.01440814696252346, -0.03451230004429817, 0.02769326977431774, -0.017201554030179977, 0.0467090979218483, -0.025720223784446716, -0.028534093871712685, 0.01574939303100109, 0.01613227091729641, 0.03286776691675186, -0.0005920169060118496, 0.03927018865942955, 0.04609040170907974, 0.042070355266332626, 0.010213982313871384, -0.021135078743100166, -0.00927590299397707, 0.056605152785778046, -0.006349007599055767, -0.05345481261610985, -0.05479377135634422, 0.0673104077577591, -0.022151540964841843, 0.04195768013596535, -0.10388606041669846, 0.02549750544130802, -0.0402744822204113, 0.010632650926709175, -0.029800472781062126, -0.03679822012782097, 0.013827851042151451, 0.020564310252666473, 0.0016199663514271379, 0.004634255543351173, 0.06469541043043137, 0.02108028717339039, 0.021942317485809326, -0.01708049699664116, 0.014341295696794987, -0.027140207588672638, -0.003587026847526431, -0.0005231635877862573, 0.0682026818394661, 0.00009290866000810638, -0.07801906019449234, -0.04921530932188034, -0.023675009608268738, 0.03236173465847969, -0.019840754568576813, -0.037137191742658615, 0.008811193518340588, 0.0030658424366265535, 0.02511576935648918, -0.041726693511009216, 0.03426939249038696, -0.02738005667924881, -0.02388891950249672, -0.03100721910595894, 0.018490664660930634, -0.06251230090856552, -0.014417743310332298, -0.07408946007490158, -0.008449398912489414, -0.035848867148160934, -0.06301134079694748, -0.04992489144206047, 0.024950318038463593, 0.04429960995912552, -0.021417129784822464, 0.03805634379386902, -0.016006596386432648, -0.08511331677436829, 0.002687308471649885, -0.01690070703625679, 0.003423016518354416, -0.029185928404331207, 0.023685840889811516, 0.028289955109357834, -0.033378731459379196, -0.021517403423786163, -0.024986082687973976, 0.03035316988825798, 0.014321251772344112, -0.0036607750225812197, 0.01909811794757843, -0.034444987773895264, -0.042231492698192596, -0.030107365921139717, 0.018329737707972527, 0.03755839169025421, 0.014850794337689877, 0.028822368010878563, 0.0423450730741024, 0.03395131602883339, 0.03011169284582138, 0.04464094713330269, 0.06069542095065117, -0.019272197037935257, 0.022133946418762207, -0.09524174779653549, -0.011449141427874565, 0.008238091133534908, -0.05305447801947594, 0.04574684798717499, -0.07493248581886292, -0.03682955354452133, 0.03817245364189148, -0.006414957344532013, -0.03161062300205231, -0.048396818339824677, 0.016259394586086273, -0.013758332468569279, -0.030555400997400284, -0.02063974365592003, 0.014811175875365734, 0.028174910694360733, 0.009846575558185577, -0.020377181470394135, -0.04303475469350815, 0.046304475516080856, -0.027604758739471436, 0.013473860919475555, -0.007229664362967014, -0.03152371942996979, 0.0062293121591210365, -0.01875503920018673, -0.039277683943510056, 0.0261848084628582, 0.029664484784007072, 0.032232895493507385, 0.009993116371333599, 0.018813427537679672, 0.06142953410744667, -0.003394451690837741, 0.015613008290529251, -0.006238250993192196, 0.04282904788851738, -0.01925996132194996, -0.012227131985127926, 0.022673845291137695, 0.04829235374927521, 0.021592948585748672, 0.038783688098192215, 0.011533591896295547, -0.01222655363380909, 0.0014157197438180447, -0.020381195470690727, 0.00699189119040966, 0.054037854075431824, -0.03891923278570175, -0.013217118568718433, -0.012811941094696522, 0.012096365913748741, -0.015267151407897472, 0.029011251404881477, -0.027230091392993927, 0.01505697425454855, -0.06049498915672302, 0.04702109843492508, -0.0014313113642856479, 0.01967363804578781, 0.0031827527564018965, 0.005408260505646467, 0.03229731693863869, -0.011225629597902298, 0.003466658992692828, 0.03507831320166588, 0.015938470140099525, 0.02337641827762127, -0.004011789336800575, -0.018870726227760315, 0.021384088322520256, -0.04812195524573326, 0.01655697636306286, -0.007323550526052713, -0.0007212689379230142, -0.009589724242687225, 0.039887685328722, 0.012110081501305103, -0.04040856659412384, -0.01731136254966259, 0.022975051775574684, 0.09437056630849838, 0.01696266233921051, 0.05124737694859505, 0.007815081626176834, -0.03434506431221962, 0.023062976077198982, 0.011219033971428871, 0.00612837728112936, -0.01426638662815094, -0.0316222608089447, -0.05049452185630798, -0.018385453149676323, 0.022766543552279472, 0.00018820355762727559, -0.025820037350058556, -0.019477151334285736, -0.021692868322134018, 0.008119489997625351, -0.04605593904852867, -0.0035066851414740086, 0.04592035338282585, -0.06524933874607086, -0.023563118651509285, 0.013639087788760662, -0.01991836540400982, 0.0063464888371527195, -0.05521892011165619, -0.02575872838497162, -0.0350099541246891, -0.03548680245876312, 0.03095906600356102, -0.021337144076824188, -0.010615232400596142, -0.043149832636117935, -0.014879755675792694, 0.029146453365683556, 0.026779625564813614, -0.00022662020637653768, -0.00956768449395895, -0.015032261610031128, 0.005574315320700407, 0.057205863296985626, -0.017753997817635536, 0.0018556388095021248, -0.0049432506784796715, -0.05819537118077278, 0.018216338008642197, -0.01957571506500244, 0.02831122651696205, 0.052785445004701614, -0.027268679812550545, -0.01672087050974369, -0.029980214312672615, 0.06999684870243073, 0.04195311665534973, 0.008351429365575314, 0.02948150597512722, -0.01434469036757946, -0.03249368444085121, 0.005498021375387907, 0.017508693039417267, 0.0326557531952858, 0.026992525905370712, -0.003977505024522543, 0.005913121160119772, 0.00853924360126257, 0.016128920018672943, -0.012510545551776886, -0.02236280031502247, -0.025178806856274605, 0.07102488726377487, -0.003914875444024801, -0.05389378219842911, -0.05106932669878006, -0.036205045878887177, 0.0021696011535823345, -0.008992229588329792, 0.011853146366775036, -0.03412830829620361, 0.049491602927446365, 0.02933674119412899, 0.07363253831863403, -0.0008776942268013954, -0.01124098151922226, 0.031002871692180634, -0.01228317990899086, 0.04374798387289047, -0.053590331226587296, -0.028963148593902588, 0.034150272607803345, -0.026143444702029228, -0.016201207414269447, -0.030290387570858, -0.013520332053303719, 0.050445497035980225, -0.029321318492293358, -0.07140515744686127, 0.019294213503599167, -0.0013943708036094904, 0.01607092097401619, 0.04563846066594124, -0.04380375146865845, 0.006673465017229319, -0.044903628528118134, -0.04782417416572571, -0.035397935658693314, -0.00693917740136385, 0.054853156208992004, -0.03916890546679497, 0.022827308624982834, 0.017282117158174515, 0.042399197816848755, 0.011989676393568516, 0.08767647296190262, 0.04296738654375076, 0.049237996339797974, -0.0335550531744957, 0.0569949634373188, 0.017292380332946777, -0.015248574316501617, -0.024095462635159492, 0.013500770553946495, -0.005137702915817499, -0.05170951783657074, 0.04535571485757828, -0.00016712344950065017, -0.004473371896892786, -0.05085252225399017, 0.0889095589518547, 0.021383125334978104, -0.03067002072930336, -0.012577605433762074, 0.023708265274763107, -0.07193222641944885, 0.012415321543812752, 0.02985699661076069, 0.012772773392498493, -0.04476982355117798, 0.06589285284280777, 0.03965059667825699, 0.03513234108686447, 0.06972610205411911, 0.017691388726234436, -0.023110315203666687, 0.008646063506603241, 0.07375168055295944, 0.07619711756706238, 0.05339350923895836, 0.02617563121020794, 0.07258140295743942, -0.03863921016454697, -0.03352559357881546, 0.007895221933722496, -0.0060893031768500805, 0.007501303683966398, -0.04468561336398125, 0.02060859650373459, 0.06661143153905869, -0.003804197534918785, 0.06115239858627319, -0.04757450893521309, -0.014724989421665668, 0.06464269012212753, -0.005156076978892088, -0.004459844436496496, 0.03372945636510849, 0.04055487737059593, 0.0333639420568943, -0.03377414867281914, -0.021120674908161163, -0.0023815662134438753, -0.015528867952525616, 0.029712753370404243, 0.03534156084060669, -0.008257519453763962, -0.009044252336025238, -0.026563633233308792, 0.0694110319018364, 0.1499321162700653, -0.0289313904941082, -0.02480776235461235, -0.021136026829481125, -0.008027704432606697, 0.030700847506523132, 0.03811982646584511, -0.004784110933542252, -0.037115179002285004, -0.002885559108108282, -0.05803766846656799, -0.017631959170103073, 0.0032216012477874756, -0.0049444236792624, 0.0005461880355142057, -0.027657773345708847, -0.03428247570991516, 0.008467627689242363, 0.01672866940498352, -0.04259037598967552, -0.06270487606525421, -0.015552666038274765, -0.020451100543141365, -0.06810250878334045, -0.033568672835826874, 0.05003634840250015, -0.014877322129905224, -0.018359718844294548, -0.005563054233789444, -0.02626604586839676, 0.016042660921812057, -0.002864421810954809, -0.06461537629365921, 0.008379565551877022, 0.011242431588470936, 0.012033825740218163, 0.003425970673561096, 0.02920532040297985, -0.0004507172852754593, -0.02287786453962326, -0.01671791821718216, 0.040855519473552704, 0.012589427642524242, 0.030685963109135628, -0.01702209934592247, -0.015209861099720001, -0.09933863580226898, -0.0019809904042631388, 0.012272673659026623, -0.05426279827952385, -0.08122523128986359, 0.030450470745563507, 0.0026097192894667387, 0.04573947191238403, 0.05085103586316109, 0.0018274172907695174, 0.012115905992686749, -0.010635160841047764, 0.0006016828119754791, 0.003506438573822379, 0.01982985995709896, 0.05734934285283089, -0.03200143203139305, 0.08622664213180542, 0.05709752067923546, -0.0013206759467720985, -0.023102303966879845, -0.03366617485880852, 0.022076338529586792, -0.012891761027276516, -0.029104169458150864, -0.018615903332829475, -0.011778834275901318, -0.10562224686145782, -0.01663495972752571, 0.009436517022550106, 0.015877865254878998, -0.03901827335357666, -0.01963627152144909, -0.028976602479815483, -0.05028242990374565, -0.009561726823449135, -0.011052552610635757, 0.019220327958464622, -0.00668875640258193, -0.04360876977443695, -0.0531417615711689, 0.009703229181468487, -0.026969831436872482, -0.005054930225014687, -0.05062808096408844, -0.04001101478934288, -0.00967560987919569, -0.012785128317773342, 0.033238641917705536, -0.007529933471232653, 0.04168388247489929, -0.012726645916700363 ]
311
Ensembling Diffusion Models via Adaptive Feature Aggregation
https://openreview.net/forum?id=e32cI4r8Eo
[ "Cong Wang", "Kuan Tian", "Yonghang Guan", "Fei Shen", "Zhiwei Jiang", "Qing Gu", "Jun Zhang" ]
Poster
The success of the text-guided diffusion model has inspired the development and release of numerous powerful diffusion models within the open-source community. These models are typically fine-tuned on various expert datasets, showcasing diverse denoising capabilities. Leveraging multiple high-quality models to produce stronger generation ability is valuable, but has not been extensively studied. Existing methods primarily adopt parameter merging strategies to produce a new static model. However, they overlook the fact that the divergent denoising capabilities of the models may dynamically change across different states, such as when experiencing different prompts, initial noises, denoising steps, and spatial locations. In this paper, we propose a novel ensembling method, Adaptive Feature Aggregation (AFA), which dynamically adjusts the contributions of multiple models at the feature level according to various states (i.e., prompts, initial noises, denoising steps, and spatial locations), thereby keeping the advantages of multiple diffusion models, while suppressing their disadvantages. Specifically, we design a lightweight Spatial-Aware Block-Wise (SABW) feature aggregator that adaptive aggregates the block-wise intermediate features from multiple U-Net denoisers into a unified one. The core idea lies in dynamically producing an individual attention map for each model's features by comprehensively considering various states. It is worth noting that only SABW is trainable with about 50 million parameters, while other models are frozen. Both the quantitative and qualitative experiments demonstrate the effectiveness of our proposed method.
Image Generation, Diffusion Models, Model Ensembling
We propose Adaptive Feature Aggregation (AFA) to ensemble multiple diffusion models dynamically based on different states.
13,559
2405.17082
[ -0.0028666118159890175, -0.03624468296766281, 0.012124773114919662, 0.017992554232478142, 0.030623747035861015, 0.048282381147146225, 0.04695826768875122, -0.023908553645014763, -0.021179111674427986, -0.0654808059334755, -0.016486000269651413, -0.04396096244454384, -0.05862996354699135, -0.0012201734352856874, 0.01874653436243534, 0.0504176989197731, 0.04735615849494934, -0.00484114047139883, -0.0006999583565630019, 0.053455643355846405, 0.03262437507510185, -0.01208074577152729, 0.03936620056629181, 0.000617275305557996, 0.022501276805996895, -0.010516666807234287, 0.03429796174168587, -0.021229123696684837, -0.020353173837065697, -0.01093667559325695, 0.03685219585895538, 0.0185390654951334, 0.020763779059052467, -0.019643336534500122, 0.027979137375950813, -0.012346399948000908, -0.05855098366737366, -0.011355639435350895, 0.024418745189905167, 0.02045937068760395, -0.05402100458741188, -0.0006849776837043464, -0.005224817432463169, 0.009811151772737503, -0.05568905174732208, -0.015276605263352394, -0.121303029358387, 0.033046040683984756, 0.0020072099287062883, -0.04550942778587341, -0.09906505048274994, 0.02233879268169403, 0.009985608048737049, -0.00371969910338521, -0.010520651936531067, 0.045743588358163834, 0.0512719601392746, -0.07508241385221481, 0.01330315601080656, -0.03924240916967392, -0.0390380397439003, 0.03036772459745407, -0.006362824700772762, 0.003707217052578926, 0.010698600672185421, -0.012712709605693817, -0.005777193699032068, 0.04199657961726189, -0.03721959888935089, -0.0494452603161335, 0.004973420407623053, -0.0028540983330458403, -0.009714122861623764, 0.0031496661249548197, -0.007793199270963669, -0.03197914734482765, 0.036981742829084396, 0.012938207015395164, 0.05125918984413147, -0.035650819540023804, 0.026359442621469498, 0.004238499328494072, -0.0008268344681710005, 0.0376802496612072, 0.038407664746046066, -0.02743363566696644, -0.03459072858095169, -0.007987120188772678, -0.0879398062825203, 0.03931774944067001, -0.059731561690568924, -0.06740249693393707, 0.019852569326758385, 0.03193892166018486, 0.031041322275996208, -0.015016117133200169, 0.0073913224041461945, 0.0021266716066747904, 0.038388725370168686, 0.009638996794819832, 0.013298973441123962, -0.025091467425227165, -0.0013879539910703897, 0.02261527255177498, -0.0829668715596199, -0.022616811096668243, -0.015548387542366982, -0.003334247739985585, -0.02170039527118206, -0.005365884397178888, -0.0029254117980599403, 0.00453134486451745, -0.00032821818604134023, -0.0042655738070607185, -0.06578564643859863, 0.03197341784834862, 0.011594410054385662, 0.005527203902602196, 0.026361064985394478, -0.013697353191673756, 0.07026156783103943, 0.055155444890260696, -0.025802813470363617, 0.06668572127819061, -0.01552833616733551, 0.002659520599991083, -0.0017611122457310557, 0.017866717651486397, -0.03959735482931137, 0.003441970329731703, -0.008239825256168842, 0.026200026273727417, 0.0012020997237414122, 0.007010311353951693, 0.020061159506440163, -0.03797575458884239, 0.015874790027737617, 0.02301848866045475, 0.05699256435036659, -0.028353646397590637, -0.004332942422479391, 0.01923791505396366, 0.028094986453652382, -0.02747790515422821, 0.05064287781715393, -0.002457311376929283, -0.028724677860736847, -0.034237105399370193, -0.03722000867128372, -0.02439626306295395, 0.020883629098534584, -0.0026210120413452387, 0.034425877034664154, -0.05328972265124321, 0.02211129106581211, 0.07533694058656693, 0.01738363690674305, -0.009424205869436264, 0.024253401905298233, -0.010578058660030365, 0.03303861245512962, 0.000623306434135884, -0.024765202775597572, -0.005091693717986345, -0.017194602638483047, -0.07100950181484222, 0.02194487676024437, 0.03794010356068611, -0.030536772683262825, -0.034804001450538635, -0.03378906846046448, -0.04500799998641014, 0.050694845616817474, 0.014988608658313751, -0.012415053322911263, -0.01653248257935047, 0.03201323375105858, 0.034065116196870804, 0.031280726194381714, 0.04062804952263832, -0.08305177837610245, 0.014961346052587032, 0.010176336392760277, 0.012257697060704231, 0.01173660159111023, -0.030791502445936203, 0.0956210345029831, -0.02552896924316883, 0.004535318817943335, 0.022586969658732414, -0.08012530207633972, -0.033034548163414, 0.025567665696144104, -0.010087206959724426, 0.04328863322734833, 0.022096790373325348, -0.005184950772672892, 0.04523416608572006, 0.040704745799303055, 0.05430470407009125, 0.056472502648830414, -0.03768781200051308, 0.04898945614695549, -0.006773830857127905, -0.020592758432030678, -0.010006981901824474, 0.039465516805648804, -0.029365452006459236, -0.021168934181332588, -0.008611937053501606, -0.01009769830852747, -0.016918610781431198, 0.012137976475059986, 0.014332861639559269, 0.029953977093100548, 0.01728866808116436, 0.016337323933839798, 0.008688881061971188, 0.0008013588958419859, -0.040409624576568604, -0.006667854730039835, 0.028254173696041107, -0.04958254098892212, 0.036204542964696884, -0.017316149547696114, 0.07564852386713028, 0.045858655124902725, -0.03225132077932358, -0.004252293612807989, -0.003208960173651576, 0.004467122722417116, 0.009374546818435192, 0.014562167227268219, -0.022536439821124077, 0.029468031600117683, -0.020035818219184875, 0.027703410014510155, -0.010013514198362827, 0.0434582345187664, -0.04925107955932617, 0.006812465842813253, 0.06057517230510712, -0.012523510493338108, 0.05224202200770378, -0.0014647875213995576, 0.03685822710394859, 0.05383574217557907, -0.005511218681931496, -0.00311749754473567, -0.001043044263496995, 0.017476482316851616, 0.0139162577688694, 0.014214778319001198, -0.058016981929540634, 0.04039468988776207, -0.04758678376674652, 0.0033417774830013514, -0.021238626912236214, 0.09956172108650208, 0.02674971893429756, 0.009374991990625858, 0.0284116193652153, -0.023193271830677986, -0.02291116490960121, -0.033561091870069504, -0.121717169880867, -0.018801970407366753, -0.016193561255931854, 0.025290995836257935, -0.008998832665383816, 0.039727479219436646, 0.00852495152503252, -0.0011272643459960818, -0.031076377257704735, -0.000008329403499374166, -0.02970256097614765, 0.0376017726957798, 0.007031700108200312, -0.041574012488126755, -0.021717479452490807, 0.007329586427658796, 0.07054701447486877, 0.029660319909453392, -0.005101916845887899, -0.03014468587934971, -0.055010970681905746, -0.005843800492584705, 0.00156432727817446, -0.014014115557074547, 0.040663085877895355, 0.028358137235045433, 0.0292104110121727, 0.011533106677234173, 0.029478769749403, 0.018044324591755867, 0.06745345145463943, -0.003295433707535267, -0.026070982217788696, -0.03630045801401138, -0.008617881685495377, 0.0055573550052940845, -0.0031854354310780764, 0.013537570834159851, 0.0067543648183345795, 0.0031372038647532463, -0.003793448908254504, 0.010544045828282833, -0.010289641097187996, -0.26987385749816895, 0.025038225576281548, 0.05689869448542595, -0.02495727501809597, 0.009505817666649818, -0.016878696158528328, 0.04506276547908783, -0.03873689845204353, -0.024196669459342957, 0.014716733247041702, -0.007622503209859133, 0.03319031000137329, -0.0038074797485023737, 0.01962033100426197, 0.027603216469287872, -0.008239704184234142, -0.012236121110618114, -0.03812017664313316, 0.018744997680187225, 0.0362129732966423, -0.01684686727821827, -0.0787745863199234, 0.002740405732765794, 0.04833894595503807, -0.020003139972686768, 0.023679211735725403, -0.06558731943368912, 0.014979285188019276, -0.029101960361003876, 0.01734965853393078, -0.011113297194242477, -0.04312055930495262, 0.005702011752873659, 0.05746200308203697, -0.0059889196418225765, 0.004520761780440807, 0.034021440893411636, 0.03492588549852371, 0.020360790193080902, -0.002267194213345647, 0.04563194885849953, -0.003474202938377857, -0.014748764224350452, -0.00434624869376421, 0.0520285964012146, 0.0022429798264056444, -0.017252901569008827, -0.011312845163047314, -0.030357947573065758, 0.026618309319019318, 0.02191072702407837, -0.022940365597605705, -0.029464779421687126, 0.01024672482162714, -0.02480217255651951, -0.0326259508728981, 0.01355352345854044, 0.001983091002330184, -0.002048210008069873, 0.034640632569789886, -0.008933150209486485, -0.06569849699735641, -0.021770790219306946, -0.05152767151594162, 0.0008506482699885964, -0.03767320141196251, -0.06943058222532272, -0.056698620319366455, 0.04655630141496658, 0.04568476602435112, -0.01302336622029543, 0.017923342064023018, -0.00740960193797946, -0.09834171086549759, -0.0010007082019001245, -0.0016448377864435315, -0.008453087881207466, -0.007683432660996914, -0.027369294315576553, 0.0488433837890625, -0.043487608432769775, -0.0031914343126118183, 0.044339537620544434, 0.022451991215348244, 0.00024026203027460724, -0.002082307357341051, 0.014705180190503597, 0.0023735465947538614, -0.01621188595890999, -0.025687461718916893, 0.03827010095119476, 0.03814741224050522, 0.03209322690963745, -0.01808340474963188, 0.03182685002684593, 0.04601142555475235, 0.03436333313584328, 0.05393845587968826, 0.02834462560713291, -0.016794640570878983, 0.057222880423069, -0.07040443271398544, -0.028652941808104515, -0.04677959904074669, -0.03797224536538124, 0.03972235694527626, -0.07491615414619446, -0.014329589903354645, 0.04027365520596504, 0.00598237756639719, -0.0361485481262207, -0.0224616676568985, 0.022998683154582977, 0.0011451167520135641, -0.00794871523976326, -0.02687361277639866, -0.03839519992470741, 0.031598422676324844, 0.043321289122104645, -0.015380140393972397, -0.005985178519040346, 0.04738711938261986, -0.030394697561860085, -0.00518925441429019, 0.015830863267183304, -0.017044590786099434, -0.06133056432008743, -0.012203237973153591, -0.0024133173283189535, -0.011323696933686733, 0.0588383786380291, 0.04919801652431488, 0.00973103754222393, 0.0207993071526289, 0.054090239107608795, -0.02531268075108528, -0.03853048384189606, -0.012812242843210697, 0.043877966701984406, -0.011065028607845306, 0.019310196861624718, -0.026467347517609596, 0.02605612389743328, 0.02670603059232235, 0.02314397692680359, 0.006924035958945751, 0.0157181266695261, 0.026931140571832657, 0.004829470068216324, -0.048191577196121216, 0.027247818186879158, -0.060936518013477325, -0.08444300293922424, -0.012123056687414646, -0.012628092430531979, -0.032441459596157074, 0.005075281020253897, -0.02933543175458908, 0.022212078794836998, -0.08131226152181625, 0.04340139403939247, 0.03854990378022194, -0.041330743581056595, -0.004287888295948505, 0.012181883677840233, 0.030946118757128716, -0.011664259247481823, -0.015409941785037518, 0.012587425298988819, 0.0018494020914658904, 0.04447261989116669, -0.031907327473163605, -0.06162967532873154, -0.0369606576859951, 0.009215543046593666, 0.024730222299695015, 0.007532787509262562, -0.02571495808660984, -0.030264485627412796, 0.05373283103108406, 0.0201790202409029, -0.03062201291322708, 0.012956301681697369, 0.028283491730690002, 0.08307502418756485, 0.006032715085893869, -0.002178611932322383, -0.010276401415467262, -0.03306537866592407, 0.043360788375139236, -0.04930368810892105, -0.004602251574397087, -0.040874551981687546, -0.04857045039534569, -0.030130920931696892, -0.0402996726334095, -0.01923547498881817, 0.052965085953474045, -0.0474771149456501, -0.03144799917936325, -0.007781993597745895, 0.01144817192107439, -0.014138287864625454, 0.02364000305533409, 0.026138827204704285, -0.07339226454496384, 0.03243829682469368, 0.028898457065224648, -0.05688764154911041, 0.02346213534474373, -0.02240990661084652, -0.029178444296121597, -0.06869513541460037, -0.027878284454345703, 0.00440096203237772, -0.030578384175896645, -0.02254985086619854, -0.05233882740139961, 0.020090479403734207, -0.008570875972509384, 0.008235814049839973, 0.010408907197415829, -0.002704314887523651, -0.0034079409670084715, -0.02003980055451393, 0.04691556468605995, -0.025841770693659782, 0.011018977500498295, -0.012438860721886158, -0.016043638810515404, 0.008334134705364704, -0.03647184744477272, -0.011945437639951706, 0.05250275880098343, -0.024337518960237503, -0.02627496048808098, -0.029414275661110878, 0.0029347925446927547, 0.0025738035328686237, 0.018415365368127823, 0.005656508728861809, 0.018875690177083015, -0.053742680698633194, 0.0333719477057457, 0.006571226287633181, 0.06566417217254639, -0.017869440838694572, 0.015611410140991211, -0.0024776922073215246, 0.05399646237492561, 0.025917217135429382, -0.021076343953609467, -0.06408568471670151, 0.010206975974142551, 0.046991705894470215, -0.052126672118902206, -0.028855767101049423, -0.08793371170759201, -0.039503276348114014, 0.02838258072733879, -0.012660245411098003, 0.026477929204702377, 0.0036984060425311327, 0.00564127741381526, 0.015009243972599506, -0.017491957172751427, -0.02374153397977352, -0.004851820413023233, 0.017084674909710884, -0.03657635301351547, 0.030308062210679054, -0.05470484122633934, -0.022445732727646828, 0.06035860627889633, -0.05033665895462036, 0.0223906971514225, 0.0024891728535294533, 0.007487189024686813, 0.038442615419626236, -0.03818276897072792, -0.08301392197608948, 0.008184983395040035, -0.026874246075749397, 0.004015539772808552, 0.017991933971643448, -0.0262550450861454, -0.019574303179979324, -0.01687856763601303, -0.05335516110062599, 0.005464037414640188, 0.010829508304595947, 0.03082161396741867, -0.02646276354789734, -0.005736481864005327, -0.023341769352555275, -0.010088711977005005, 0.011610174551606178, 0.05300615727901459, -0.0012007404584437609, 0.0286442618817091, -0.03926192596554756, 0.058286067098379135, 0.0383487306535244, 0.030914371833205223, 0.0032797798048704863, 0.0085224574431777, 0.016241827979683876, -0.06323149055242538, 0.02335386909544468, 0.011524480767548084, 0.011352403089404106, -0.07512465864419937, 0.07235103100538254, 0.04224151745438576, -0.04963456466794014, -0.03241806849837303, 0.025818195194005966, -0.052257973700761795, 0.049825068563222885, -0.01154632493853569, -0.02079133316874504, 0.010744338855147362, 0.06902984529733658, -0.0005305052036419511, 0.032502468675374985, 0.06017850711941719, -0.0018994895508512855, 0.004890511278063059, 0.0149484071880579, 0.0595715306699276, 0.039950016885995865, 0.04263836145401001, -0.023261183872818947, 0.06614678353071213, -0.031720031052827835, -0.06839285790920258, 0.04011401906609535, 0.015582661144435406, -0.03380370885133743, -0.08219768851995468, 0.02213805355131626, 0.09430569410324097, 0.007286555133759975, 0.05600728094577789, -0.053998254239559174, -0.012029334902763367, 0.030163001269102097, 0.0037132552824914455, -0.016495291143655777, -0.011334909126162529, 0.0456010177731514, 0.02770387753844261, -0.057164136320352554, 0.009941422380506992, 0.0027729140128940344, -0.011834242381155491, 0.007891022600233555, 0.025884920731186867, 0.018052944913506508, 0.04281628131866455, 0.03125762194395065, 0.051683101803064346, 0.08622699230909348, -0.01835242286324501, -0.04777602478861809, -0.002678153570741415, 0.01293223537504673, 0.01404851209372282, 0.042020417749881744, 0.011796059086918831, -0.006927118636667728, 0.0029582048300653696, -0.02566571719944477, 0.017696205526590347, 0.03909134119749069, 0.021035145968198776, 0.007888443768024445, -0.051263801753520966, 0.0013081860961392522, -0.0003118458844255656, 0.02052903175354004, -0.047950416803359985, -0.06396796554327011, -0.05425591394305229, -0.06013744696974754, -0.0576622448861599, -0.0333147868514061, 0.024110322818160057, 0.015477959997951984, -0.011547684669494629, -0.02210565283894539, -0.007473333273082972, 0.006140921730548143, 0.055537205189466476, -0.07063616812229156, -0.03009084425866604, 0.03363155201077461, 0.01858283393085003, -0.02955218404531479, 0.0177293848246336, 0.01737203262746334, -0.02856246940791607, 0.0005754267913289368, 0.07817202806472778, 0.03263571113348007, 0.036423198878765106, -0.005018933210521936, -0.0022860614117234945, -0.07444287091493607, 0.025760188698768616, 0.026172056794166565, -0.04233836382627487, -0.0896308645606041, 0.06941930949687958, -0.00576699199154973, 0.04746469110250473, 0.04369186609983444, 0.013559744693338871, -0.010547159239649773, -0.04174678027629852, 0.03319300338625908, -0.02177049033343792, 0.021088987588882446, 0.022708579897880554, -0.013868754729628563, 0.08173243701457977, 0.04336041584610939, -0.016413258388638496, -0.027928082272410393, 0.043576598167419434, -0.019859561696648598, 0.007905849255621433, -0.008247914724051952, -0.03235863894224167, -0.03565575182437897, -0.10403581708669662, -0.04334299638867378, 0.02826230600476265, 0.001627312507480383, -0.023544183000922203, 0.00997148547321558, -0.022107522934675217, -0.012717720121145248, -0.013085340149700642, -0.008019541390240192, -0.007987616583704948, -0.030225763097405434, 0.006375796627253294, -0.08467027544975281, 0.020443707704544067, -0.03164440765976906, -0.0027440544217824936, -0.019192060455679893, -0.027647579088807106, -0.000049581438361201435, 0.005425145849585533, 0.023755518719553947, 0.020314594730734825, 0.017796073108911514, -0.013277886435389519 ]
312
Solving New Tasks by Adapting Internet Video Knowledge
https://openreview.net/forum?id=p01BR4njlY
[ "Calvin Luo", "Zilai Zeng", "Yilun Du", "Chen Sun" ]
Poster
Video generative models demonstrate great promise in robotics by serving as visual planners or as policy supervisors. When pretrained on internet-scale data, such video models intimately understand alignment with natural language, and can thus facilitate generalization to novel downstream behavior through text-conditioning. However, they may not be sensitive to the specificities of the particular environment the agent inhabits. On the other hand, training video models on in-domain examples of robotic behavior naturally encodes environment-specific intricacies, but the scale of available demonstrations may not be sufficient to support generalization to unseen tasks via natural language specification. In this work, we investigate different adaptation techniques that integrate in-domain information with large-scale pretrained video models, and explore the extent to which they enable novel text-conditioned generalization for robotic tasks, while also considering their independent data and resource considerations. We successfully demonstrate across robotic environments that adapting powerful video models with small scales of example data can successfully facilitate generalization to novel behaviors. In particular, we present a novel adaptation strategy, termed *Inverse Probabilistic Adaptation*, that not only consistently achieves strong generalization performance across robotic tasks and settings, but also exhibits robustness to the quality of adaptation data, successfully solving novel tasks even when only suboptimal in-domain demonstrations are available.
Text-Conditioned Generalization, Video Diffusion, Adaptation, Planning, Policy Learning
We compare techniques for adapting large-scale video generative models to in-domain robotic data, and demonstrate that it facilitates text-conditioned generalization to novel tasks.
13,550
null
[ 0.015132385306060314, -0.010052877478301525, -0.0008758225594647229, 0.05734148621559143, 0.05360656604170799, 0.010348053649067879, 0.023995546624064445, 0.009930606931447983, -0.03238408640027046, -0.018223507329821587, -0.057640980929136276, 0.018290847539901733, -0.08881237357854843, -0.020612802356481552, -0.03724023327231407, 0.053474463522434235, 0.015720577910542488, 0.004378657788038254, 0.004198147915303707, 0.00842825137078762, -0.018834393471479416, -0.033953823149204254, 0.049833714962005615, 0.008864750154316425, 0.035114407539367676, 0.0036592772230505943, 0.029688134789466858, 0.02539694309234619, -0.02674647606909275, -0.019999897107481956, 0.016713030636310577, -0.04055149108171463, 0.01649947091937065, -0.02893844060599804, 0.019544675946235657, -0.018433650955557823, -0.04469544067978859, -0.020707787945866585, 0.006112891715019941, 0.015758855268359184, -0.03289806470274925, 0.02874615788459778, -0.04644642025232315, -0.004947702866047621, -0.03990912809967995, 0.016640804708003998, -0.07212313264608383, 0.03545084595680237, 0.03345590457320213, -0.019724169746041298, -0.09425028413534164, 0.07128625363111496, 0.028497343882918358, -0.023388979956507683, -0.020208308473229408, 0.05571065470576286, 0.0800190344452858, -0.08534559607505798, 0.007583429105579853, -0.04096299037337303, -0.033874187618494034, 0.04681861028075218, 0.015887059271335602, 0.026326633989810944, -0.010692043229937553, -0.009203118272125721, 0.01445144135504961, 0.05393829569220543, -0.03599025309085846, -0.020936809480190277, -0.04640095308423042, -0.02640649303793907, 0.021101798862218857, 0.02788369730114937, 0.012714632786810398, -0.020565636456012726, 0.035463448613882065, 0.019831281155347824, 0.049420151859521866, -0.029193567112088203, 0.020705167204141617, 0.03977333381772041, 0.033952102065086365, 0.034783054143190384, 0.034144774079322815, 0.035573553293943405, -0.056186020374298096, -0.035508446395397186, -0.08524440973997116, 0.004549115430563688, -0.03739098459482193, -0.05154222249984741, -0.019075952470302582, 0.047787927091121674, 0.025753159075975418, -0.0032362311612814665, 0.011236227117478848, -0.0008810243452899158, 0.00795922614634037, -0.012621713802218437, -0.036538854241371155, 0.0001556419301778078, 0.006266333628445864, -0.014883344061672688, -0.09361778944730759, -0.027239982038736343, 0.00994596816599369, -0.03145481273531914, -0.025764038786292076, 0.006797557696700096, -0.04047021269798279, 0.005562142468988895, 0.016224822029471397, -0.035213958472013474, -0.059321995824575424, 0.040428321808576584, 0.0004229152691550553, 0.04851644113659859, -0.023342793807387352, 0.019752660766243935, 0.031243400648236275, 0.014540616422891617, -0.03726094588637352, 0.07794800400733948, -0.02734317258000374, 0.005064968951046467, 0.0063563017174601555, 0.018889952450990677, -0.04521467909216881, -0.02771935611963272, 0.029772868379950523, 0.016400214284658432, -0.0038368315435945988, 0.027068765833973885, -0.008642376400530338, -0.01116347499191761, 0.018457917496562004, -0.025301942601799965, 0.01625942625105381, 0.02290692739188671, -0.018408114090561867, -0.01465448085218668, 0.07538535445928574, -0.021928947418928146, 0.09365347772836685, -0.01628730818629265, -0.005427751690149307, -0.02598787099123001, -0.036498699337244034, -0.001263511017896235, 0.003027244471013546, -0.01828073337674141, 0.017610928043723106, -0.07228730618953705, 0.013976756483316422, 0.06224541738629341, 0.032560646533966064, 0.038850102573633194, 0.022110197693109512, -0.018165117129683495, -0.014072990976274014, -0.011496199294924736, -0.055148448795080185, -0.010256491601467133, -0.007246444933116436, -0.07948462665081024, 0.015919920057058334, 0.02579612471163273, -0.015469290316104889, -0.004904998932033777, -0.04440182074904442, -0.022625058889389038, 0.03979698568582535, -0.0052114808931946754, -0.044329483062028885, -0.004919285885989666, 0.029749300330877304, -0.0016567728016525507, 0.03975937142968178, 0.007344591896981001, -0.07418420910835266, 0.017065586522221565, 0.009885678999125957, -0.019966721534729004, 0.011451558209955692, -0.04910421371459961, 0.05606699734926224, -0.04421506077051163, -0.007820281200110912, 0.029041284695267677, -0.05007336661219597, -0.02228311263024807, 0.027915865182876587, -0.0206817127764225, 0.058102529495954514, 0.0036653282586485147, -0.017774099484086037, 0.04507363587617874, 0.03517545014619827, 0.05043424665927887, 0.027699926868081093, -0.0443882942199707, 0.06498782336711884, 0.006734163500368595, -0.007429712451994419, -0.00012511028035078198, 0.03761228173971176, -0.03865375742316246, -0.02388817071914673, 0.009487136267125607, 0.014016914181411266, 0.018819138407707214, 0.015127467922866344, 0.013026316650211811, 0.003873895388096571, 0.03847291320562363, -0.010706944391131401, 0.003234654199331999, 0.016688724979758263, -0.03336470574140549, 0.020793847739696503, 0.01702648401260376, -0.011756009422242641, -0.011718579567968845, -0.027040094137191772, 0.08036340773105621, 0.041829630732536316, -0.038289230316877365, -0.03399783372879028, 0.03459702804684639, -0.011226783506572247, 0.025570744648575783, 0.00046507478691637516, -0.0024652136489748955, 0.026998933404684067, -0.008350526914000511, 0.02246314473450184, -0.03002670779824257, 0.03142789378762245, -0.057364825159311295, -0.032786913216114044, 0.07446293532848358, 0.008927748538553715, 0.054532863199710846, -0.006140642799437046, 0.02223404496908188, 0.0563652478158474, -0.003841695375740528, 0.01488665770739317, -0.017742054536938667, -0.03803990036249161, 0.0007448826218023896, 0.016109593212604523, 0.008460957556962967, 0.001196225406602025, -0.039689768105745316, -0.0275384783744812, -0.04863631725311279, 0.08881591260433197, 0.03940662741661072, 0.027043160051107407, 0.041403040289878845, -0.000279386033071205, -0.014699106104671955, -0.024203520268201828, -0.09200753271579742, -0.0312940888106823, -0.019017748534679413, 0.008080109022557735, 0.017552025616168976, 0.029736192896962166, 0.00735430745407939, 0.0461842305958271, -0.019624166190624237, -0.022954750806093216, 0.005159439984709024, 0.021674102172255516, -0.009491370059549809, -0.03600792959332466, -0.014679498970508575, 0.009282545186579227, 0.049046557396650314, -0.011455049738287926, -0.014960283413529396, -0.017917975783348083, -0.052240580320358276, -0.04654260352253914, -0.05449056252837181, -0.02176167257130146, 0.014507172629237175, 0.046259183436632156, 0.006558403838425875, -0.01502166222780943, 0.012867921032011509, 0.015793098136782646, 0.06839166581630707, 0.0466696098446846, -0.01844167709350586, -0.001479521975852549, 0.025251226499676704, -0.026744162663817406, 0.018259920179843903, -0.002441649790853262, 0.030460014939308167, -0.019177932292222977, -0.0024958073627203703, 0.017138609662652016, 0.009156792424619198, -0.2724243998527527, -0.031784869730472565, 0.025925645604729652, 0.028019966557621956, 0.05656854063272476, -0.02079080417752266, 0.0718228816986084, -0.03688479959964752, -0.03349394351243973, 0.027270173653960228, 0.019841806963086128, 0.03974926844239235, 0.01195479929447174, 0.06105339154601097, 0.032073527574539185, 0.0033462303690612316, -0.0008570774225518107, -0.00602763332426548, -0.0015772865153849125, 0.022390592843294144, -0.02857903763651848, -0.06582517921924591, -0.040219664573669434, 0.04629652202129364, -0.006698885932564735, 0.037941720336675644, -0.08224029093980789, -0.011859253980219364, -0.008823449723422527, -0.0012397271348163486, 0.003871302120387554, -0.011265999637544155, -0.01436681766062975, 0.04942774027585983, 0.015537846833467484, 0.03649204969406128, 0.06556321680545807, -0.02030249685049057, 0.0359405055642128, 0.03700367361307144, 0.01168314553797245, -0.010756516829133034, -0.05161929503083229, 0.030260814353823662, 0.06311318278312683, 0.010318498127162457, -0.04896805062890053, -0.03615868464112282, -0.011147665791213512, 0.030689282342791557, 0.02237505465745926, 0.0020359281916171312, 0.013864059001207352, 0.03640255704522133, 0.03101550042629242, -0.018375296145677567, 0.054850175976753235, -0.031063174828886986, 0.011205115355551243, -0.012873354367911816, 0.03345019370317459, -0.04693790152668953, -0.04379972070455551, -0.053979985415935516, 0.015714377164840698, -0.02703707292675972, -0.04354296997189522, -0.06539697200059891, 0.040543872863054276, 0.008431531488895416, -0.03805805370211601, 0.021899795159697533, -0.016693666577339172, -0.10836063325405121, 0.02472027949988842, 0.0029339224565774202, -0.022766148671507835, -0.028465205803513527, 0.0012385343434289098, 0.0301936287432909, -0.03264867141842842, -0.052089810371398926, -0.009843088686466217, 0.017849477007985115, 0.038889382034540176, -0.023380422964692116, 0.02493448555469513, -0.08993851393461227, -0.014692392200231552, -0.02873893268406391, 0.03599037975072861, -0.015100196935236454, 0.026061691343784332, 0.002735714428126812, 0.0652378723025322, 0.04385295882821083, 0.031730979681015015, 0.07071659713983536, 0.03757669776678085, -0.0068522244691848755, 0.0204396303743124, -0.11000029742717743, -0.015319013968110085, -0.028720702975988388, 0.012595766223967075, 0.009066983126103878, -0.05027913674712181, 0.021574199199676514, 0.03597859665751457, -0.0029518944211304188, -0.02458571083843708, -0.027241690084338188, 0.0009765223367139697, 0.009211594238877296, -0.03478803485631943, 0.009541296400129795, 0.007893227972090244, 0.0066217766143381596, 0.048808079212903976, -0.0105819720774889, -0.022771591320633888, 0.027693310752511024, -0.011635002680122852, 0.027248455211520195, -0.010818775743246078, -0.044910501688718796, 0.015376806259155273, -0.002798447385430336, -0.0008364401292055845, -0.018193427473306656, 0.061219472438097, 0.04032295569777489, -0.012095654383301735, 0.01942691020667553, 0.05098525434732437, -0.005888953804969788, 0.009156821295619011, -0.0061386991292238235, 0.020697755739092827, -0.04333069548010826, -0.0137749332934618, -0.003864441066980362, 0.005184992682188749, -0.0033900996204465628, 0.024231484159827232, 0.009102482348680496, 0.05680154636502266, 0.02603239193558693, -0.01131654717028141, -0.0047440845519304276, 0.053313858807086945, -0.05807795748114586, -0.013710868544876575, -0.022575801238417625, 0.02286810427904129, -0.03441549092531204, 0.019853217527270317, -0.037082064896821976, 0.03729000315070152, -0.055970191955566406, 0.045916374772787094, 0.0036998738069087267, -0.020208919420838356, -0.012090913951396942, 0.042435422539711, 0.03454430401325226, -0.020104892551898956, -0.015465945936739445, 0.023862332105636597, 0.0062258439138531685, 0.01146109402179718, -0.04187210649251938, -0.05034128203988075, -0.03952068090438843, -0.02027050219476223, -0.016774287447333336, 0.002881463151425123, -0.017861736938357353, -0.02452588826417923, 0.044299766421318054, 0.05906600132584572, -0.016920479014515877, 0.016816090792417526, -0.010496983304619789, 0.06340423971414566, 0.00813686940819025, 0.009578341618180275, -0.004413035698235035, -0.023104336112737656, -0.0009359857649542391, -0.008299409411847591, 0.0033784371335059404, -0.01517502497881651, -0.05033408850431442, -0.034723736345767975, -0.028744347393512726, 0.022131389006972313, 0.0015238095074892044, -0.030734840780496597, -0.010944423265755177, -0.014576839283108711, 0.04121006280183792, -0.03959169611334801, 0.006009283941239119, 0.0223586093634367, -0.07955624163150787, -0.002549184951931238, 0.045440204441547394, 0.011799066327512264, 0.013576647266745567, -0.04673381522297859, -0.029754705727100372, -0.04899543896317482, -0.04999556764960289, 0.00846807286143303, -0.02920564077794552, -0.024237172678112984, -0.021175015717744827, -0.009299143217504025, -0.01377938874065876, 0.02372618019580841, 0.0002451871696393937, -0.004508015234023333, -0.01125601027160883, -0.003610062412917614, 0.014745068736374378, -0.02403259091079235, -0.024284828454256058, 0.024411257356405258, -0.05223725363612175, 0.017528275027871132, -0.03544174134731293, 0.01569518633186817, 0.03920634090900421, 0.0013396829599514604, -0.015314195305109024, -0.04683520644903183, 0.05848199129104614, 0.014511367306113243, -0.03614190220832825, 0.01841627061367035, -0.003014011075720191, -0.03532339632511139, 0.03040320612490177, 0.021842962130904198, 0.015744414180517197, -0.0061944033950567245, 0.005636385641992092, 0.027827855199575424, -0.006621086969971657, 0.04281791299581528, -0.012742115184664726, -0.024958599358797073, 0.0011657611466944218, 0.05092005804181099, -0.04840467497706413, -0.018108636140823364, -0.07293134927749634, -0.025193922221660614, 0.042561125010252, -0.007757773157209158, 0.01873900182545185, -0.0683351531624794, 0.018325386568903923, 0.006051163654774427, 0.04707498103380203, 0.005811145529150963, -0.03009972907602787, 0.029956558719277382, -0.06929483264684677, 0.005398206878453493, -0.050694577395915985, -0.03456395864486694, 0.04511052370071411, -0.01218930259346962, -0.01373489759862423, 0.01417749933898449, -0.021115116775035858, 0.05519208312034607, -0.0415431447327137, -0.052408959716558456, 0.04269533231854439, -0.039570730179548264, -0.023296846076846123, 0.014680322259664536, -0.04968016594648361, -0.0009188842959702015, -0.03152714669704437, -0.059678997844457626, 0.007540982216596603, -0.0025685331784188747, 0.06256535649299622, 0.00794672966003418, -0.0007366530480794609, -0.032488513737916946, 0.018270062282681465, 0.025581715628504753, 0.036101434379816055, 0.04230611026287079, 0.019275274127721786, -0.021966127678751945, 0.07044477015733719, 0.022459734231233597, 0.013706858269870281, 0.0093395309522748, 0.007583937142044306, -0.008552280254662037, -0.05325435474514961, 0.056138716638088226, -0.011588450521230698, -0.038666851818561554, -0.058236997574567795, 0.06068768724799156, 0.02504471316933632, -0.05646738409996033, -0.0019045951776206493, 0.03999438136816025, -0.06563229113817215, -0.017348838970065117, 0.004385870415717363, 0.005556460004299879, -0.003696383675560355, 0.052975162863731384, 0.013959922827780247, 0.06745558977127075, 0.05335124582052231, 0.05928787961602211, -0.0032358309254050255, -0.008237861096858978, 0.05187400430440903, 0.060694996267557144, 0.05570344626903534, -0.001218263292685151, 0.05883372202515602, -0.03395051881670952, -0.03046133555471897, 0.04537748917937279, 0.01812264695763588, -0.0074048126116395, -0.05339517071843147, 0.008269731886684895, 0.09340948611497879, 0.007259597070515156, 0.06285104155540466, -0.03931467980146408, -0.04976823180913925, 0.03476155921816826, -0.007257768884301186, -0.0030250102281570435, 0.024321841076016426, 0.0519830584526062, 0.009148012846708298, -0.011691414751112461, -0.0167876947671175, -0.009475382044911385, -0.051443345844745636, 0.0272445697337389, -0.006175858899950981, -0.013000693172216415, 0.01305390615016222, -0.0011979338014498353, 0.017867855727672577, 0.11980976909399033, -0.05323745682835579, 0.00006153160938993096, 0.016899405047297478, 0.008640703745186329, -0.01889151707291603, 0.053224753588438034, 0.0011533071519806981, 0.0070803966373205185, -0.01832941360771656, -0.05489476025104523, 0.029265940189361572, 0.04995780438184738, 0.01450214721262455, 0.024621523916721344, -0.04439481347799301, -0.03894800320267677, 0.020817624405026436, 0.02584485523402691, -0.01655486784875393, -0.04648492857813835, -0.040546964854002, -0.050045620650053024, -0.03495732694864273, -0.027084123343229294, 0.05886638164520264, -0.008559242822229862, -0.052552103996276855, -0.011802456341683865, -0.035044074058532715, 0.018645018339157104, 0.036673326045274734, -0.0696839988231659, 0.004621603526175022, 0.027396738529205322, -0.00576786370947957, -0.0011923125712201, 0.04262666404247284, 0.01886945590376854, -0.0056765698827803135, -0.00042032572673633695, 0.01659468561410904, 0.011462459340691566, -0.005809375550597906, -0.027047697454690933, -0.01893778331577778, -0.08550377190113068, -0.000034214896004414186, 0.01960184797644615, -0.041077110916376114, -0.07602157443761826, 0.005337923299521208, -0.02888048253953457, 0.045434340834617615, 0.07450665533542633, 0.011141838505864143, 0.013785050250589848, -0.029829811304807663, 0.02015474997460842, -0.006861081812530756, 0.004226085264235735, 0.05563339963555336, -0.035253867506980896, 0.05595630779862404, 0.05436450242996216, -0.020989349111914635, -0.03324597701430321, 0.021875737234950066, 0.004423513077199459, 0.02712998166680336, -0.01076898630708456, -0.04721451550722122, -0.010727290995419025, -0.11421633511781693, -0.03948089852929115, 0.052774783223867416, 0.003051825100556016, -0.04163598641753197, -0.022231286391615868, -0.02630392462015152, 0.010944034904241562, -0.01641446352005005, -0.03691078722476959, 0.00341745070181787, -0.03977241739630699, -0.030664438381791115, -0.03419367969036102, 0.0041941069066524506, -0.04395168274641037, -0.008716524578630924, -0.03985462710261345, -0.03308294340968132, 0.006881467532366514, -0.03347495570778847, 0.019179781898856163, -0.01429992076009512, 0.03473231568932533, 0.003260113764554262 ]
313
SoftMatcha: A Soft and Fast Pattern Matcher for Billion-Scale Corpus Searches
https://openreview.net/forum?id=Q6PAnqYVpo
[ "Hiroyuki Deguchi", "Go Kamoda", "Yusuke Matsushita", "Chihiro Taguchi", "Kohei Suenaga", "Masaki Waga", "Sho Yokoi" ]
Poster
Researchers and practitioners in natural language processing and computational linguistics frequently observe and analyze the real language usage in large-scale corpora. For that purpose, they often employ off-the-shelf pattern-matching tools, such as grep, and keyword-in-context concordancers, which is widely used in corpus linguistics for gathering examples. Nonetheless, these existing techniques rely on surface-level string matching, and thus they suffer from the major limitation of not being able to handle orthographic variations and paraphrasing---notable and common phenomena in any natural language. In addition, existing continuous approaches such as dense vector search tend to be overly coarse, often retrieving texts that are unrelated but share similar topics. Given these challenges, we propose a novel algorithm that achieves soft (or semantic) yet efficient pattern matching by relaxing a surface-level matching with word embeddings. Our algorithm is highly scalable with respect to the size of the corpus text utilizing inverted indexes. We have prepared an efficient implementation, and we provide an accessible web tool. Our experiments demonstrate that the proposed method (i) can execute searches on billion-scale corpora in less than a second, which is comparable in speed to surface-level string matching and dense vector search; (ii) can extract harmful instances that semantically match queries from a large set of English and Japanese Wikipedia articles; and (iii) can be effectively applied to corpus-linguistic analyses of Latin, a language with highly diverse inflections.
natural language processing, full-text search, word embeddings, inverted index, pattern match
Achieving soft yet efficient full-text search, we introduce a novel method that extends inverted indexes with word embeddings to enable sub-second searches of billion-scale corpora without GPUs.
13,545
2503.03703
[ -0.0420491024851799, -0.035176195204257965, -0.012009119614958763, 0.01944560557603836, 0.02738337032496929, 0.04491397738456726, 0.016588173806667328, 0.05373501405119896, -0.021942894905805588, -0.01928088814020157, -0.034521449357271194, 0.027036763727664948, -0.0768933966755867, -0.017359165474772453, 0.0006841857102699578, 0.052131909877061844, 0.014578585512936115, -0.020673109218478203, 0.010719360783696175, -0.022706499323248863, -0.017654376104474068, 0.006328939460217953, 0.010124268010258675, 0.017276061698794365, 0.035234563052654266, 0.02381882071495056, 0.01199999451637268, 0.014500592835247517, -0.050262369215488434, 0.024226609617471695, 0.04541769251227379, 0.017406880855560303, -0.007890623062849045, -0.017676131799817085, -0.001201165490783751, -0.01750670000910759, -0.03442757949233055, 0.01107058022171259, 0.00725953932851553, 0.0033056451939046383, -0.018299095332622528, 0.013391961343586445, -0.03634544089436531, 0.014088800176978111, -0.05066906660795212, 0.0005383803509175777, -0.13806675374507904, 0.019586721435189247, -0.026956265792250633, -0.019306892529129982, -0.11038573086261749, 0.025952033698558807, -0.012654499150812626, -0.006442048586905003, -0.005865001585334539, 0.04988400638103485, 0.02019812911748886, -0.09240106493234634, 0.011614203453063965, -0.042136967182159424, -0.03542988374829292, 0.012884539552032948, 0.018923727795481682, 0.010091947391629219, 0.005909744184464216, -0.010393939912319183, -0.03238030523061752, 0.03958351910114288, -0.07439998537302017, -0.05027589946985245, 0.0063076503574848175, 0.034554410725831985, -0.00870758667588234, 0.021368617191910744, 0.012262105010449886, -0.03660627081990242, -0.014694198034703732, 0.039596714079380035, 0.069338358938694, 0.010548243299126625, 0.006335861049592495, 0.001764575019478798, 0.012947676703333855, 0.029956335201859474, 0.020695222541689873, -0.0016217919765040278, -0.04397016763687134, -0.002518332563340664, -0.07880190759897232, 0.028684847056865692, 0.021494369953870773, -0.047301072627305984, 0.031205160543322563, 0.024056866765022278, 0.014272982254624367, 0.05506158620119095, 0.024621490389108658, 0.03246261551976204, -0.01701771840453148, 0.01535238977521658, -0.05775856226682663, -0.033425502479076385, 0.04835350811481476, 0.033227745443582535, -0.10458116233348846, -0.03846807777881622, -0.0190677922219038, 0.022604018449783325, 0.017460191622376442, 0.0037581108044832945, 0.00876937247812748, -0.013692457228899002, 0.027745768427848816, 0.004406788852065802, -0.06886695325374603, 0.02783319540321827, 0.01617009937763214, 0.03162806108593941, 0.00578281981870532, 0.021423349156975746, 0.043862782418727875, 0.02995963953435421, 0.027885524556040764, 0.05983347073197365, -0.0027798458468168974, 0.020060155540704727, 0.015849540010094643, 0.029987355694174767, -0.03059293143451214, -0.03327872231602669, -0.008491910062730312, 0.04715445637702942, 0.019973786547780037, 0.024213392287492752, -0.00024736393243074417, 0.011259570717811584, 0.02397982031106949, 0.01460996363312006, 0.06933610886335373, -0.004320039879530668, -0.005826773587614298, -0.03899165987968445, 0.024269426241517067, -0.03799891471862793, 0.07193154096603394, -0.014722730964422226, -0.037516847252845764, -0.047099415212869644, -0.02856283076107502, -0.01884569600224495, 0.009798732586205006, -0.008001341484487057, 0.039454687386751175, -0.0715685486793518, 0.0023833385203033686, 0.09329026192426682, -0.0038258107379078865, 0.018787100911140442, 0.019972795620560646, 0.009670929051935673, 0.013498871587216854, 0.01888432167470455, -0.09330443292856216, -0.0008156457333825529, -0.01985912211239338, -0.05929822102189064, 0.016136178746819496, 0.03770371899008751, -0.049807485193014145, 0.04828557372093201, -0.024022996425628662, -0.051375631242990494, 0.07104666531085968, -0.031005432829260826, -0.013286513276398182, -0.02222232148051262, 0.04850437492132187, 0.03272263705730438, 0.04373253509402275, 0.023846212774515152, -0.07110320031642914, 0.02210102416574955, -0.009239464066922665, 0.0065865349024534225, 0.004936566110700369, -0.020466379821300507, 0.08898703753948212, -0.004562423098832369, 0.024349967017769814, 0.03548363968729973, -0.07869289815425873, -0.03319815173745155, 0.0009030167711898685, 0.0006597828469239175, 0.04796808585524559, -0.007176706567406654, -0.018168244510889053, 0.031477365642786026, -0.00640326039865613, 0.05508274957537651, 0.03562215715646744, -0.017224913462996483, 0.0476575642824173, -0.0006771346088498831, -0.037936072796583176, -0.00722922058776021, 0.029326455667614937, -0.03709357976913452, -0.03767934441566467, -0.009578402154147625, -0.020024992525577545, 0.032740090042352676, 0.013191535137593746, -0.013589601963758469, 0.006603396497666836, 0.010599513538181782, 0.014578444883227348, 0.01103548426181078, 0.02517605945467949, -0.07316582649946213, 0.05835799500346184, -0.001455190242268145, -0.01152738556265831, -0.009349933825433254, -0.0491548590362072, 0.09432920068502426, 0.05794328823685646, -0.027038946747779846, -0.0005750380805693567, 0.014961441047489643, -0.013530775904655457, 0.00008084075670922175, 0.033359844237565994, -0.04379087686538696, -0.02677125856280327, -0.033569809049367905, -0.0022675259970128536, -0.04939436912536621, 0.06272812187671661, -0.030390877276659012, -0.013439247384667397, 0.058188751339912415, -0.014404740184545517, 0.03898732736706734, -0.0005234832060523331, -0.0008035723003558815, 0.030400415882468224, -0.03775706887245178, -0.004185131285339594, -0.010550936684012413, -0.01835247315466404, -0.0040134247392416, -0.03371945396065712, -0.037382740527391434, 0.022746438160538673, -0.027432797476649284, -0.03143350034952164, -0.013658015988767147, 0.0737060010433197, 0.048883143812417984, 0.000426711980253458, -0.003371806349605322, 0.0064453543163836, -0.0271848663687706, 0.012255336157977581, -0.0851219967007637, -0.004388554487377405, -0.007670602761209011, 0.019303912296891212, -0.01211033295840025, 0.017767222598195076, 0.023101797327399254, 0.004989131353795528, -0.018702035769820213, 0.01632850058376789, -0.0068257092498242855, 0.04390141740441322, -0.0028148526325821877, -0.061112966388463974, -0.03579401969909668, -0.024047276005148888, 0.05941592901945114, -0.025223562493920326, -0.026595085859298706, -0.032536379992961884, -0.06919074803590775, -0.02723200060427189, -0.01980336755514145, 0.016583245247602463, 0.017893755808472633, 0.014425689354538918, 0.025999821722507477, -0.04481419175863266, 0.0037313830107450485, 0.0384061299264431, 0.05090692266821861, 0.049488138407468796, 0.016520626842975616, -0.03178606554865837, 0.023871006444096565, -0.014331852085888386, 0.015893220901489258, 0.007616352755576372, 0.03580573573708534, 0.011680110357701778, 0.009477692656219006, -0.0219657514244318, 0.008826467208564281, -0.24533091485500336, -0.012285077013075352, -0.006108979694545269, -0.004974285140633583, 0.04114999994635582, 0.0038636750541627407, 0.032948072999715805, -0.01650809682905674, -0.012221713550388813, -0.02019314654171467, 0.0023988669272512197, 0.059506870806217194, 0.018827693536877632, 0.05999443680047989, 0.02501012571156025, 0.03605790436267853, -0.0038728059735149145, -0.034893400967121124, 0.008479094132781029, 0.0377332903444767, 0.012216390110552311, -0.05676782876253128, 0.018321214243769646, 0.06609881669282913, 0.021904487162828445, 0.06775171309709549, -0.08650549501180649, -0.02985697239637375, -0.019905265420675278, -0.014996905811131, 0.007944137789309025, -0.011743506416678429, -0.0002720833581406623, 0.02569965086877346, -0.014056788757443428, 0.014953810721635818, 0.063836969435215, -0.0004219590628053993, 0.023824535310268402, 0.039646413177251816, -0.000005992980277369497, -0.019039401784539223, -0.05348920077085495, -0.026452286168932915, 0.06286638975143433, -0.01002179179340601, -0.060735948383808136, -0.00842492375522852, -0.0006691745365969837, 0.018955236300826073, -0.014565601013600826, -0.03571208938956261, -0.02974744327366352, 0.012674462050199509, 0.020357610657811165, -0.03491482511162758, 0.001158511615358293, -0.015044261701405048, -0.04003729298710823, -0.02386518567800522, 0.0268067866563797, -0.03492962568998337, -0.019671831279993057, -0.061377912759780884, -0.018642200157046318, -0.04106566682457924, -0.0857200175523758, -0.06193339452147484, 0.05227144807577133, 0.05008535087108612, -0.015040643513202667, 0.04034597426652908, 0.0010415632277727127, -0.0872875303030014, -0.04575994983315468, -0.01009372342377901, -0.007968699559569359, -0.03251880779862404, 0.019841350615024567, 0.019705088809132576, -0.050811342895030975, -0.03536853566765785, -0.008977835066616535, 0.014345324598252773, 0.039800975471735, -0.05698107182979584, -0.0068318345583975315, -0.03832077234983444, -0.0029907068237662315, -0.03415629640221596, 0.042359523475170135, -0.022437024861574173, -0.031646642833948135, 0.00831124559044838, 0.060034800320863724, 0.01680361106991768, 0.01934385672211647, 0.05088270828127861, 0.04080306366086006, -0.0008168131462298334, 0.027877938002347946, -0.09227826446294785, -0.021650345996022224, -0.04409502074122429, -0.0055778250098228455, 0.007264898158609867, -0.07232578843832016, -0.035882461816072464, 0.03452571853995323, -0.02462352253496647, -0.01414421945810318, -0.02676372416317463, -0.0008093891083262861, -0.049436431378126144, -0.007283900398761034, -0.029251933097839355, 0.02923470176756382, 0.01987393945455551, 0.009929727762937546, -0.012435090728104115, 0.018909914419054985, 0.016416778787970543, -0.008273862302303314, -0.02282688021659851, -0.008353926241397858, -0.04364289715886116, 0.0007752319215796888, -0.03323879465460777, -0.025016266852617264, 0.007492226082831621, 0.02608112245798111, 0.033715181052684784, -0.025309858843684196, -0.007385682314634323, 0.052251603454351425, -0.010117786936461926, 0.007889109663665295, -0.0026323008351027966, 0.02134186215698719, 0.014371630735695362, -0.000764186552260071, -0.02039813995361328, 0.013361579738557339, 0.05721115693449974, 0.047112997621297836, 0.028895894065499306, 0.026340901851654053, -0.011328088119626045, 0.011719683185219765, 0.042648617178201675, 0.008132345974445343, -0.018720731139183044, -0.0070815798826515675, -0.012613519094884396, 0.015956027433276176, -0.01343883853405714, 0.028070058673620224, 0.020725347101688385, 0.012380985543131828, -0.07011467963457108, 0.04198210686445236, -0.03587927296757698, 0.016123078763484955, 0.030903013423085213, 0.01894485577940941, 0.029221968725323677, -0.02740861289203167, 0.04006737098097801, 0.020984208211302757, 0.016074802726507187, 0.0019866193179041147, 0.012669499032199383, -0.023200493305921555, 0.0028953086584806442, -0.03772231191396713, 0.0005128697375766933, 0.014984022825956345, 0.014249944128096104, -0.027169538661837578, 0.05391561985015869, -0.0014368528500199318, -0.021837254986166954, -0.012691202573478222, 0.021886611357331276, 0.07821021974086761, 0.008342064917087555, 0.015470381826162338, -0.004008180927485228, -0.0515735000371933, 0.028506264090538025, -0.027414102107286453, 0.008067534305155277, 0.00045471786870621145, -0.0360167920589447, -0.04597100988030434, -0.06479745358228683, -0.015180110931396484, 0.009499268606305122, -0.013375912792980671, 0.005701285321265459, -0.013098673895001411, 0.007554655894637108, -0.0471038855612278, -0.028502585366368294, -0.004125699400901794, -0.0986151471734047, 0.003515321295708418, -0.015263074077665806, -0.0223799217492342, 0.029479993507266045, 0.0023866472765803337, -0.04973912611603737, -0.04207171872258186, 0.00612123915925622, 0.015140370465815067, -0.007411923259496689, -0.026778195053339005, -0.031083794310688972, 0.03340419754385948, -0.027670785784721375, -0.014526777900755405, 0.008316663093864918, -0.004197526257485151, 0.00004265895040589385, 0.03284907713532448, 0.04695148766040802, -0.033580902963876724, -0.03112812153995037, -0.00486073549836874, -0.012373813427984715, 0.055167123675346375, -0.05563511699438095, 0.019679665565490723, 0.022487185895442963, -0.007926379330456257, 0.017042728140950203, -0.06193845346570015, -0.02069258876144886, 0.03693966940045357, 0.013241486623883247, 0.019986582919955254, -0.032407332211732864, -0.005627427250146866, 0.02629753388464451, -0.025994619354605675, 0.04099104553461075, 0.012628541328012943, -0.01816919632256031, -0.02191980555653572, 0.026163063943386078, 0.0179748497903347, 0.038300007581710815, -0.05221594125032425, -0.030022870749235153, 0.04379875585436821, -0.021238140761852264, -0.037574682384729385, -0.06521563231945038, -0.06185057386755943, 0.008602919988334179, 0.0031997663900256157, 0.037667449563741684, -0.03467266261577606, 0.03760024160146713, 0.015478522516787052, 0.05510539188981056, 0.01129957940429449, 0.0007391315302811563, 0.034044526517391205, -0.05721278488636017, -0.03212658688426018, -0.07295354455709457, -0.034019164741039276, 0.07401556521654129, -0.02933402732014656, -0.002059898106381297, -0.013404990546405315, -0.023492418229579926, 0.009441506117582321, 0.013774506747722626, -0.05418574437499046, 0.030785460025072098, -0.014300298877060413, 0.010336660780012608, 0.016746152192354202, -0.04167889803647995, 0.004040187690407038, -0.0020899279043078423, -0.021853305399417877, -0.012587971054017544, -0.015459825284779072, 0.08708511292934418, -0.022482378408312798, 0.00997865665704012, -0.04290681332349777, -0.008933351375162601, 0.01383661013096571, 0.07234001904726028, 0.011269672773778439, 0.04216623678803444, -0.04214373603463173, 0.058549217879772186, 0.052228521555662155, -0.016855847090482712, 0.0024949428625404835, -0.0025391546078026295, -0.023280449211597443, -0.04836629331111908, 0.05851941928267479, -0.004470631945878267, -0.005313777830451727, -0.05876099318265915, 0.07137193530797958, 0.04803360998630524, -0.03864665701985359, -0.01800856925547123, 0.005024775862693787, -0.03558183088898659, 0.02962944656610489, -0.015508386306464672, 0.04039918631315231, -0.0002221075410488993, 0.07713636010885239, 0.0482424758374691, 0.03961361572146416, 0.059501372277736664, 0.0012978800805285573, 0.013656060211360455, 0.026530425995588303, 0.07000177353620529, 0.07373446971178055, 0.039053499698638916, -0.0030994703993201256, 0.05451232194900513, -0.02042052522301674, -0.06443949043750763, 0.052904706448316574, 0.022925646975636482, -0.01170184276998043, 0.018623678013682365, 0.00603703036904335, 0.08450589329004288, -0.013082744553685188, 0.0741390585899353, -0.03346538543701172, -0.028653007000684738, 0.001596648944541812, -0.009269851259887218, 0.035457711666822433, 0.030475560575723648, 0.029827047139406204, 0.03879264369606972, -0.03578823804855347, -0.00481163477525115, 0.028886154294013977, -0.03980317711830139, -0.016571873798966408, 0.00537909334525466, -0.02453218586742878, 0.01443946361541748, -0.029412345960736275, 0.08151034265756607, 0.0899106115102768, -0.007281319238245487, 0.005201105494052172, 0.017600851133465767, 0.01440618559718132, 0.035345397889614105, 0.06068633496761322, 0.007376638241112232, 0.005394259002059698, 0.000435799389379099, -0.060388900339603424, 0.008237125352025032, 0.023452455177903175, -0.017907943576574326, 0.03377451002597809, -0.022239819169044495, -0.045022595673799515, 0.014444999396800995, 0.003899248084053397, -0.03400277718901634, -0.0612921379506588, -0.01710752211511135, -0.021766889840364456, -0.053266629576683044, -0.036192636936903, 0.016704268753528595, 0.011605781503021717, -0.03202719986438751, -0.01959017477929592, -0.04425428807735443, 0.009599875658750534, 0.027829036116600037, -0.0859738141298294, 0.026857780292630196, 0.03368658944964409, 0.003759545274078846, -0.01449585985392332, 0.03755518049001694, 0.017817821353673935, -0.05426759272813797, 0.00006878750718897209, 0.02490350417792797, 0.005081127863377333, 0.032249122858047485, 0.02524331770837307, -0.029771864414215088, -0.09063085913658142, 0.003977410960942507, 0.0047768293879926205, -0.014860553666949272, -0.08682142198085785, 0.019221283495426178, -0.038389962166547775, 0.026179002597928047, 0.047159429639577866, 0.026422996073961258, 0.02815660461783409, 0.00830495823174715, -0.029963333159685135, 0.007443949580192566, -0.0074510169215500355, 0.029316939413547516, -0.016293885186314583, 0.047118768095970154, 0.041210614144802094, 0.02224264293909073, -0.07162679731845856, 0.03248975798487663, -0.02334062196314335, 0.0380905419588089, -0.019720371812582016, -0.045006461441516876, -0.029445907101035118, -0.09440992027521133, -0.0563180111348629, 0.030107680708169937, -0.0061456598341465, -0.060244347900152206, 0.009141718968749046, 0.026968158781528473, -0.011284749954938889, 0.006180683616548777, 0.01699085719883442, -0.004057375248521566, -0.02742505818605423, -0.010564119555056095, -0.06956934183835983, -0.013863938860595226, -0.007923087105154991, 0.02496277540922165, 0.013471992686390877, -0.028967298567295074, 0.003911202773451805, 0.0010416005970910192, 0.027121122926473618, -0.017141643911600113, 0.013501839712262154, -0.014184843748807907 ]
314
Model merging with SVD to tie the Knots
https://openreview.net/forum?id=67X93aZHII
[ "George Stoica", "Pratik Ramesh", "Boglarka Ecsedi", "Leshem Choshen", "Judy Hoffman" ]
Poster
Recent model merging methods demonstrate that the parameters of fully-finetuned models specializing in distinct tasks can be combined into one model capable of solving all tasks without retraining. Yet, this success does not transfer well when merging LoRA finetuned models. We study this phenomenon and observe that the weights of LoRA finetuned models showcase a lower degree of alignment compared to their fully-finetuned counterparts. We hypothesize that improving this alignment is key to obtaining better LoRA model merges, and propose KnOTS to address this problem. KnOTS uses the SVD to jointly transform the weights of different LoRA models into an aligned space, where existing merging methods can be applied. In addition, we introduce a new benchmark that explicitly evaluates whether merged models are general models. Notably, KnOTS consistently improves LoRA merging by up to 4.3% across several vision and language benchmarks, including our new setting. We release our code at: https://github.com/gstoica27/KnOTS.
model merging; lora PEFT; computer vision;
We align LoRA PEFT models to improve the application of existing merging methods.
13,539
2410.19735
[ -0.013344043865799904, -0.04266064241528511, 0.004019091837108135, 0.0481155589222908, 0.018528759479522705, 0.032432977110147476, 0.03228399157524109, -0.008302319794893265, -0.043194204568862915, -0.05744529888033867, -0.020265726372599602, 0.013892740942537785, -0.08910492807626724, -0.007260187063366175, -0.009668279439210892, 0.06679245084524155, 0.03783583268523216, 0.023546665906906128, 0.015188628807663918, 0.02600475586950779, -0.03216663748025894, -0.015914201736450195, -0.015900999307632446, 0.016749540343880653, 0.0001867685205070302, -0.0033981252927333117, 0.023531533777713776, 0.01681218110024929, -0.0552145317196846, -0.005696234293282032, 0.050310809165239334, -0.0037708571180701256, 0.015558836050331593, -0.012101787142455578, 0.007715933956205845, -0.03463123366236687, -0.043588221073150635, 0.0077289072796702385, 0.009385972283780575, 0.0033712571021169424, -0.03093959577381611, 0.035245176404714584, -0.010905923321843147, 0.019846178591251373, -0.014624743722379208, -0.011046450585126877, -0.10988130420446396, 0.0437520369887352, 0.04456833004951477, -0.01906490884721279, -0.10807282477617264, 0.004991136025637388, -0.006411498412489891, -0.0017911038594320416, -0.008986399509012699, 0.0658845379948616, 0.013771427795290947, -0.07817285507917404, 0.013524309732019901, -0.049023695290088654, -0.040951356291770935, 0.013315706513822079, 0.005335014779120684, -0.00037566269747912884, 0.025668885558843613, -0.010789786465466022, 0.006010888610035181, 0.050014592707157135, -0.04169057309627533, -0.025759346783161163, 0.00809311494231224, -0.007526921108365059, 0.00466186972334981, 0.00968251097947359, -0.0065690940245985985, -0.04849850386381149, -0.0021651897113770247, 0.03901190310716629, 0.08606643974781036, -0.010622593574225903, 0.018351081758737564, 0.02520120143890381, 0.03265472501516342, 0.04432237893342972, 0.04079323634505272, 0.016373978927731514, -0.04183134809136391, -0.03617273271083832, -0.054838985204696655, 0.032267630100250244, -0.017871197313070297, -0.06840581446886063, 0.011031323112547398, 0.041962631046772, 0.004571105819195509, 0.045460741966962814, 0.0196097269654274, 0.046568579971790314, 0.0153671158477664, -0.0002106803876813501, -0.02215830609202385, -0.015210961923003197, 0.009142458438873291, 0.022695377469062805, -0.07128651440143585, -0.04522532969713211, -0.011447413824498653, -0.01659775711596012, -0.008046796545386314, 0.004981065168976784, -0.03789310157299042, -0.021841250360012054, -0.014844385907053947, -0.010964537039399147, -0.07546538859605789, 0.04717392846941948, -0.000736055604647845, 0.02732871100306511, -0.05772422254085541, -0.01725408062338829, 0.035101886838674545, 0.05297417566180229, -0.008136817254126072, 0.0693339854478836, 0.0033899543341249228, 0.037120092660188675, -0.03206690400838852, 0.035872653126716614, -0.07356175780296326, -0.03308476507663727, -0.0010495494352653623, 0.028627358376979828, -0.030837304890155792, -0.004418367985635996, 0.012625365518033504, -0.04165922850370407, -0.019977934658527374, 0.020801139995455742, 0.02095883898437023, -0.01862492598593235, -0.010215526446700096, 0.02405449189245701, 0.045842912048101425, 0.010490020737051964, 0.08227957040071487, 0.0073187462985515594, -0.008396193385124207, -0.018977481871843338, -0.042125847190618515, 0.0010222687851637602, 0.012028881348669529, 0.0294460691511631, -0.009002634324133396, -0.0909743458032608, 0.041448500007390976, 0.10880900174379349, 0.010747539810836315, 0.02980821579694748, 0.020584452897310257, -0.016883397474884987, 0.019055737182497978, -0.01775568537414074, -0.03502662852406502, 0.030230363830924034, -0.02559816837310791, -0.049460843205451965, 0.021520715206861496, 0.0123837199062109, -0.004743914119899273, 0.02555951289832592, -0.05669281259179115, -0.03793919458985329, 0.05891402065753937, -0.03587036579847336, -0.018803155049681664, 0.00500980531796813, 0.08148375153541565, 0.01399370189756155, 0.012879307381808758, 0.03439439833164215, -0.07962768524885178, 0.012687409296631813, 0.01614592783153057, -0.037317611277103424, 0.002989432541653514, -0.004633672069758177, 0.1248345598578453, -0.03608052432537079, -0.010978066362440586, 0.013359355740249157, -0.08557509630918503, -0.02038498781621456, 0.03338005766272545, -0.014667648822069168, 0.045952025800943375, 0.014901944436132908, -0.031114628538489342, 0.0628967359662056, 0.010740919038653374, 0.04378647357225418, 0.04366590827703476, -0.027815673500299454, 0.04668084532022476, 0.011612129397690296, -0.030435631051659584, 0.007872866466641426, 0.027574550360441208, -0.02782399207353592, -0.0319003202021122, 0.016470735892653465, -0.00003769649629248306, -0.03923426568508148, 0.018459118902683258, -0.007818811573088169, 0.0188846904784441, 0.05240076035261154, -0.0010889602126553655, -0.019130149856209755, 0.0034814353566616774, -0.03792079910635948, 0.0051711625419557095, 0.014904595911502838, -0.037662480026483536, -0.015326395630836487, -0.024205738678574562, 0.06389528512954712, 0.0489150807261467, -0.02082199975848198, -0.027720952406525612, 0.019561272114515305, -0.002623450243845582, 0.00803932175040245, 0.005036942660808563, -0.0031777438707649708, -0.003850111970677972, -0.0454123355448246, 0.013746480457484722, -0.0313606821000576, 0.04063024744391441, -0.05418764427304268, 0.0007387019577436149, 0.046326491981744766, -0.0024626420345157385, 0.061081692576408386, 0.03371943160891533, -0.00774367107078433, 0.02617686241865158, -0.033995430916547775, 0.004208269529044628, 0.007399861700832844, -0.004268179181963205, -0.01342848688364029, -0.01437301654368639, -0.03239774703979492, 0.0024890215136110783, -0.05987607687711716, -0.0051450347527861595, -0.042943745851516724, 0.06199502944946289, 0.032779667526483536, 0.03278159722685814, 0.012651129625737667, -0.004220031667500734, -0.010152805596590042, -0.014274843037128448, -0.08314477652311325, -0.03955389931797981, -0.04115286096930504, 0.06196856126189232, -0.002328072441741824, 0.033045511692762375, 0.04053760692477226, 0.0042250268161296844, -0.05466833710670471, 0.003604589030146599, 0.015888269990682602, 0.045112572610378265, 0.008181430399417877, -0.042062029242515564, -0.037270013242959976, -0.009023725055158138, 0.06787282973527908, -0.016461782157421112, -0.044689666479825974, -0.046816129237413406, -0.027844281867146492, 0.011251524090766907, -0.041435834020376205, 0.009978415444493294, 0.003731315489858389, 0.0049402168951928616, 0.04227307066321373, -0.03254740685224533, 0.005712137091904879, 0.013938946649432182, 0.05453991889953613, 0.040043387562036514, 0.005376010667532682, -0.016063207760453224, 0.03411334380507469, 0.034320127218961716, 0.041275326162576675, 0.03412952646613121, -0.004738072864711285, -0.017627151682972908, 0.01124358270317316, 0.03386946767568588, -0.026457875967025757, -0.2782955467700958, -0.036306705325841904, -0.002292259596288204, -0.04771265387535095, 0.020892979577183723, -0.00903338473290205, 0.035067442804574966, -0.0364195741713047, -0.01623610593378544, 0.012135205790400505, 0.007662241347134113, 0.04623202979564667, 0.03211056441068649, 0.016849340870976448, 0.05222102254629135, 0.023184657096862793, -0.015959449112415314, -0.012874369509518147, 0.009806379675865173, 0.045251231640577316, -0.040341753512620926, -0.07347062230110168, -0.025507768616080284, 0.04170599579811096, -0.0332782156765461, 0.028422797098755836, -0.08541452139616013, -0.019012846052646637, -0.04644938185811043, -0.041928935796022415, 0.011485327035188675, -0.0009596990421414375, -0.01632075570523739, 0.04142977297306061, -0.020102931186556816, -0.025083715096116066, 0.03515472263097763, -0.007805002387613058, 0.009763460606336594, -0.013256624341011047, -0.01770276203751564, -0.005691664759069681, -0.008249008096754551, 0.01457187533378601, 0.0834592804312706, 0.01059276144951582, -0.026445213705301285, -0.013535424135625362, -0.03571145236492157, 0.04644622281193733, -0.001720437197946012, -0.0008634495316073298, -0.009590019471943378, -0.0028528948314487934, -0.021319594234228134, -0.011357802897691727, 0.011728656478226185, -0.0030787489376962185, -0.006560612935572863, 0.05297962948679924, -0.022502444684505463, -0.07972877472639084, -0.025594312697649002, -0.06722863763570786, -0.03827131912112236, -0.02297646924853325, -0.06926976889371872, -0.04656049981713295, 0.02318110689520836, 0.015704989433288574, -0.029353952035307884, 0.07660123705863953, -0.02201715297996998, -0.08927823603153229, -0.0008894777274690568, -0.01916583627462387, -0.0133172906935215, -0.022731252014636993, -0.004852957092225552, 0.038128968328237534, -0.033179450780153275, -0.08653312921524048, 0.04027894511818886, 0.01988796330988407, -0.004167406354099512, 0.0010387833463028073, -0.0014638258144259453, -0.036705344915390015, 0.011769271455705166, -0.039095621556043625, 0.05232492461800575, 0.016002008691430092, 0.0023998632095754147, 0.008696293458342552, 0.03462902456521988, 0.026148002594709396, 0.023869002237915993, 0.026203453540802002, 0.028745653107762337, 0.03942888230085373, 0.013257548213005066, -0.08169934898614883, 0.004703590180724859, -0.015267828479409218, -0.031110618263483047, 0.022669535130262375, -0.03370646387338638, -0.03521522507071495, 0.06164475902915001, -0.0022878600284457207, -0.016057247295975685, -0.029824508354067802, 0.007008499000221491, -0.006581098306924105, -0.013235114514827728, -0.005372113548219204, 0.021609695628285408, 0.011850375682115555, 0.004476608708500862, -0.018508465960621834, -0.04106713458895683, 0.02316592074930668, -0.01353755034506321, 0.00338050932623446, -0.03224317729473114, -0.005605127662420273, -0.01794200949370861, 0.010189914144575596, -0.03391912952065468, 0.04812771454453468, 0.01166639942675829, 0.055863287299871445, -0.008886794559657574, -0.020975736901164055, 0.0488734096288681, 0.02262543886899948, -0.0028756477404385805, 0.01787930354475975, 0.050571128726005554, -0.018554482609033585, 0.03364826366305351, -0.01854318380355835, -0.013434775173664093, 0.032449591904878616, -0.002906563226133585, 0.01372389867901802, 0.021313706412911415, -0.02359258383512497, 0.0036510294303297997, 0.023458052426576614, -0.011260374449193478, -0.04640470817685127, -0.0390053428709507, -0.045017585158348083, 0.022663775831460953, -0.030926724895834923, -0.015219812281429768, -0.014761194586753845, 0.006416900549083948, -0.04758106544613838, 0.02099674381315708, 0.03958988934755325, -0.005837192293256521, 0.009560509584844112, 0.020006850361824036, 0.024993138387799263, -0.029601499438285828, -0.030981838703155518, 0.016402369365096092, -0.004735828842967749, 0.015741756185889244, -0.030031822621822357, -0.02489341050386429, -0.03486734628677368, -0.014569398015737534, 0.04242532700300217, 0.019148889929056168, 0.014240053482353687, -0.025483088567852974, 0.050142742693424225, 0.0148538863286376, -0.0003524224739521742, -0.009127487428486347, -0.03208475932478905, 0.03083278425037861, -0.006219490896910429, -0.026198267936706543, 0.00864527840167284, -0.02505098655819893, 0.04086752608418465, 0.020665643736720085, 0.03224378824234009, -0.018557768315076828, -0.002664459403604269, -0.04007183015346527, -0.06350705027580261, 0.005716135259717703, 0.020696138963103294, -0.006391049828380346, -0.011070062406361103, -0.03718593716621399, 0.018407143652439117, -0.032213374972343445, -0.010052596218883991, -0.0024639617186039686, -0.09283426403999329, 0.005921702831983566, 0.031378623098134995, -0.022241011261940002, -0.0037290798500180244, -0.016596345230937004, -0.04855554550886154, -0.064860500395298, -0.020317891612648964, 0.035104312002658844, -0.01715158112347126, -0.0256594680249691, -0.022160081192851067, -0.019124379381537437, -0.01743697188794613, 0.03559396415948868, -0.0007731329533271492, -0.028465908020734787, 0.009724930860102177, 0.00654463330283761, 0.041802357882261276, -0.02853475511074066, 0.00568870035931468, 0.0016074078157544136, -0.0366937629878521, 0.038231465965509415, -0.06388045102357864, 0.03570953756570816, 0.05410099774599075, -0.014954856596887112, 0.03723011910915375, -0.09344275295734406, 0.018116354942321777, 0.018231375142931938, -0.015454523265361786, 0.049698956310749054, 0.027693521231412888, 0.0017348030814900994, 0.023426905274391174, -0.007683697156608105, 0.03590342402458191, -0.015332627110183239, 0.0030599921010434628, -0.017604626715183258, 0.02141116000711918, 0.0021919417195022106, 0.011859296821057796, -0.008170736953616142, -0.03196807578206062, 0.058617886155843735, -0.021076271310448647, -0.03577321395277977, -0.07850905507802963, -0.06283106654882431, -0.01716633327305317, -0.00703989015892148, 0.05147102102637291, -0.0553283654153347, 0.05235232785344124, 0.02694411389529705, 0.05126023292541504, 0.011741215363144875, -0.018820134922862053, 0.052597369998693466, -0.0012664636597037315, 0.020486578345298767, -0.03098895214498043, -0.012004509568214417, 0.053177595138549805, -0.026655320078134537, 0.02199237048625946, 0.010088608600199223, -0.01978881098330021, 0.001735797501169145, -0.0593290850520134, -0.03768324851989746, 0.02788882702589035, -0.02090385928750038, 0.009592072106897831, 0.009865865111351013, -0.032681599259376526, 0.008992532268166542, -0.02795412577688694, -0.04558475688099861, 0.013154043816030025, -0.020027415826916695, 0.058561746031045914, -0.02179044485092163, 0.048299167305231094, -0.019928675144910812, 0.009997054934501648, 0.0253777913749218, 0.07012668251991272, 0.05169949680566788, 0.023689929395914078, -0.0009459019638597965, 0.07666581124067307, 0.014197690412402153, -0.015057476237416267, -0.022971032187342644, 0.02908686362206936, 0.007897526025772095, -0.03847432881593704, 0.08619123697280884, -0.0014639194123446941, -0.03001408278942108, -0.0208296962082386, 0.06645581871271133, 0.04607441648840904, -0.0571369044482708, 0.0034145561512559652, 0.01361736562103033, -0.05538743734359741, 0.024498676881194115, -0.009588547050952911, 0.029002508148550987, -0.006270694080740213, 0.05902940779924393, 0.021130802109837532, 0.027548443526029587, 0.03127846121788025, -0.019163820892572403, 0.02158002369105816, 0.025171512737870216, 0.09035848826169968, 0.05774230882525444, 0.04690517857670784, -0.0036844818387180567, 0.04984362795948982, -0.010880829766392708, -0.054722003638744354, 0.057067032903432846, -0.0005004691192880273, 0.02693210542201996, -0.04358223080635071, 0.017838140949606895, 0.049493566155433655, 0.01694696769118309, 0.055488910526037216, -0.042772162705659866, 0.009270882233977318, 0.0012687628623098135, -0.010879344306886196, 0.008457314223051071, -0.004711118061095476, 0.032183583825826645, 0.0016958822961896658, -0.02981192246079445, -0.003909981343895197, 0.016459425911307335, -0.005172525532543659, 0.025930313393473625, 0.017887447029352188, -0.016052942723035812, 0.013926059007644653, -0.024877134710550308, 0.04988429322838783, 0.09430322051048279, -0.03062347322702408, -0.0472768135368824, -0.03609554469585419, 0.030785517767071724, 0.0328204445540905, 0.014602366834878922, 0.00648134108632803, -0.03423041105270386, 0.028282131999731064, -0.05390876531600952, 0.04954047501087189, 0.03859267011284828, 0.008864320814609528, 0.0028499977197498083, -0.02242504060268402, -0.012512203305959702, -0.0012302492978051305, 0.007698433939367533, -0.05035572499036789, -0.013330068439245224, -0.020273393020033836, -0.08056338131427765, -0.03559364750981331, -0.022718703374266624, 0.0011589893838390708, 0.011929529719054699, -0.023137280717492104, -0.03267648443579674, -0.05504308268427849, 0.028612319380044937, 0.06982918083667755, -0.04166499897837639, 0.015574615448713303, 0.029342863708734512, 0.006143954116851091, -0.03490852192044258, 0.06177743151783943, 0.043195754289627075, 0.0010666907764971256, 0.004276697989553213, 0.031959641724824905, 0.03547480329871178, 0.020831162109971046, 0.04022617265582085, 0.002019729698076844, -0.09137959033250809, 0.017972687259316444, 0.01667800545692444, -0.030347075313329697, -0.07583195716142654, 0.0014516706578433514, -0.00947977602481842, 0.011223365552723408, 0.051658082753419876, -0.006328473333269358, -0.010297431610524654, -0.019814511761069298, -0.02988964319229126, 0.0016637389780953526, 0.008991925977170467, 0.026518620550632477, -0.021202566102147102, 0.06236625835299492, 0.03105464018881321, 0.009279847145080566, -0.04132126644253731, 0.04387418180704117, -0.009458869695663452, 0.03529161214828491, -0.04135490953922272, -0.04697727411985397, -0.026725919917225838, -0.0973065197467804, -0.046741969883441925, 0.02843010425567627, 0.00402411725372076, -0.06547024101018906, -0.0008775028982199728, -0.029597055166959763, -0.05006418004631996, 0.003705618204548955, 0.0253724567592144, 0.0019132283050566912, -0.05168161913752556, -0.005504311062395573, -0.07116497308015823, 0.0010076877661049366, -0.013944584876298904, 0.0028849253430962563, -0.0170244500041008, -0.034021686762571335, 0.025983549654483795, 0.022646524012088776, 0.014986414462327957, 0.013774448074400425, 0.056631531566381454, -0.007521171122789383 ]
315
PolyhedronNet: Representation Learning for Polyhedra with Surface-attributed Graph
https://openreview.net/forum?id=BpyHIrpUOL
[ "Dazhou Yu", "Genpei Zhang", "Liang Zhao" ]
Poster
Ubiquitous geometric objects can be precisely and efficiently represented as polyhedra. The transformation of a polyhedron into a vector, known as polyhedra representation learning, is crucial for manipulating these shapes with mathematical and statistical tools for tasks like classification, clustering, and generation. Recent years have witnessed significant strides in this domain, yet most efforts focus on the vertex sequence of a polyhedron, neglecting the complex surface modeling crucial in real-world polyhedral objects. This study proposes \textbf{PolyhedronNet}, a general framework tailored for learning representations of 3D polyhedral objects. We propose the concept of the surface-attributed graph to seamlessly model the vertices, edges, faces, and their geometric interrelationships within a polyhedron. To effectively learn the representation of the entire surface-attributed graph, we first propose to break it down into local rigid representations to effectively learn each local region's relative positions against the remaining regions without geometric information loss. Subsequently, we propose PolyhedronGNN to hierarchically aggregate the local rigid representation via intra-face and inter-face geometric message passing modules, to obtain a global representation that minimizes information loss while maintaining rotation and translation invariance. Our experimental evaluations on four distinct datasets, encompassing both classification and retrieval tasks, substantiate PolyhedronNet's efficacy in capturing comprehensive and informative representations of 3D polyhedral objects.
polygon, polyhedron, polygonal representation, representation learning, graph neural networks
A framework for encoding polyhedral objects using surface-attributed graph
13,538
2502.01814
[ -0.001036422443576157, 0.010080395266413689, -0.004064909648150206, 0.03717217966914177, 0.005838778335601091, 0.02084522508084774, -0.014222047291696072, 0.005788679234683514, -0.029818128794431686, -0.06489654630422592, -0.025463417172431946, -0.021332578733563423, -0.062153395265340805, 0.03495154529809952, 0.017231246456503868, 0.02433164045214653, 0.024385223165154457, 0.01304794754832983, 0.01549534872174263, 0.06730996817350388, -0.00724090076982975, -0.03485216945409775, 0.02682722546160221, 0.0044691432267427444, 0.027066221460700035, -0.005722702480852604, 0.03920520842075348, -0.011426652781665325, -0.023266198113560677, 0.00684737553820014, -0.018223151564598083, -0.024694854393601418, 0.011882362887263298, -0.06575018167495728, 0.021902907639741898, -0.011555546894669533, -0.04205332323908806, 0.007681022863835096, -0.014025771990418434, 0.009562482126057148, -0.0033316309563815594, 0.00814325362443924, 0.01231676060706377, 0.023556997999548912, -0.02531520090997219, 0.02064327895641327, -0.09601939469575882, 0.03857282176613808, 0.015745440497994423, -0.03330178186297417, -0.105767622590065, 0.033651720732450485, 0.013414387591183186, 0.0034766686148941517, 0.00463314913213253, 0.019906898960471153, 0.03486078605055809, -0.05352795124053955, -0.003029024228453636, -0.060745999217033386, -0.03667992725968361, 0.05161357298493385, 0.02004741132259369, 0.014515779912471771, -0.008347664959728718, 0.009822011925280094, 0.014935891143977642, 0.03634529188275337, -0.06127851828932762, -0.0069854846224188805, -0.0242120660841465, -0.04796178638935089, -0.00712162209674716, 0.01173934992402792, 0.01808255910873413, -0.029335033148527145, 0.016337227076292038, 0.004569303244352341, 0.08579489588737488, -0.024377955123782158, 0.006140842568129301, 0.06067328900098801, -0.0032004332169890404, 0.03193693235516548, -0.0038302878383547068, 0.00010462076170369983, -0.06303621828556061, -0.02918616496026516, -0.06719975173473358, 0.031813476234674454, -0.038065336644649506, -0.026761043816804886, 0.017272263765335083, 0.023451730608940125, 0.0008364511304534972, -0.01997470110654831, 0.02490277588367462, 0.039642106741666794, 0.047592468559741974, -0.005044934339821339, -0.019881026819348335, -0.0824446752667427, 0.002058034297078848, 0.016726313158869743, -0.08611711114645004, -0.03570689260959625, -0.028264882043004036, -0.013160152360796928, -0.0248152706772089, -0.010601067915558815, -0.042923565953969955, -0.018299318850040436, 0.012400327250361443, -0.03105843812227249, -0.04882053658366203, 0.031743716448545456, 0.021006682887673378, 0.00709210429340601, -0.032772570848464966, 0.022664280608296394, 0.017262224107980728, 0.031346388161182404, 0.010621123015880585, 0.0597759373486042, -0.0058222743682563305, 0.0036217845045030117, 0.00622617918998003, 0.014145737513899803, -0.04141180217266083, -0.03945254907011986, 0.009422888979315758, 0.05843561887741089, 0.01022747065871954, 0.016501693055033684, 0.033345747739076614, -0.06860534101724625, 0.0027685551904141903, 0.005228206980973482, 0.019061492756009102, -0.01777670718729496, 0.002623323816806078, -0.028500771149992943, 0.03862569481134415, -0.01117151603102684, 0.07945007085800171, -0.03808329999446869, 0.000006871126970509067, 0.0018091421807184815, -0.039834149181842804, 0.004169314168393612, 0.03321612626314163, -0.0145600326359272, -0.012222647666931152, -0.04212115332484245, 0.03233175352215767, 0.06383932381868362, 0.03650717809796333, 0.07813860476016998, 0.008801853284239769, 0.0028477252926677465, 0.015210731886327267, 0.004990919027477503, -0.03166617080569267, 0.016069728881120682, -0.011238669976592064, -0.06142471358180046, 0.034403733909130096, 0.03567613288760185, -0.018310295417904854, -0.017226936295628548, -0.02775527723133564, -0.06485211104154587, 0.04377707466483116, -0.01217574905604124, -0.01575080305337906, -0.03671678155660629, 0.07534665614366531, -0.013800577260553837, 0.033885128796100616, 0.007347299251705408, -0.08724402636289597, 0.005261935759335756, 0.013341384008526802, -0.05838034301996231, 0.014729109592735767, -0.024647509679198265, 0.08760959655046463, -0.013091317377984524, 0.008332502096891403, 0.01778804510831833, -0.05846699699759483, -0.01325884647667408, 0.026211809366941452, -0.02803053893148899, 0.05346112698316574, 0.040629416704177856, -0.04369383677840233, 0.006486562546342611, 0.00005672941551893018, 0.0510498508810997, 0.018055401742458344, -0.0008686048677191138, 0.04876206815242767, -0.025425467640161514, -0.036214105784893036, -0.04165799170732498, 0.044981133192777634, -0.03870515897870064, -0.05663132667541504, 0.004333340097218752, -0.0022518085315823555, -0.026986099779605865, -0.0025515544693917036, -0.024932105094194412, 0.01653626188635826, 0.004723869264125824, 0.013046201318502426, 0.024949248880147934, 0.017296625301241875, -0.06566173583269119, 0.007640060968697071, 0.02846592292189598, -0.03022145666182041, 0.0018890228820964694, -0.03010515496134758, 0.08521026372909546, 0.05306616052985191, -0.05125382915139198, -0.009562497027218342, -0.0027840533293783665, 0.019230680540204048, 0.032980676740407944, 0.013009061105549335, -0.040035780519247055, 0.014498425647616386, -0.0202594306319952, 0.031065624207258224, -0.0498017892241478, 0.04803043603897095, -0.04166523367166519, -0.030138641595840454, 0.0691794753074646, -0.0019953916780650616, 0.018806446343660355, 0.033714067190885544, 0.03150808811187744, 0.07670153677463531, -0.014832260087132454, -0.002935547847300768, -0.011225380934774876, -0.016259778290987015, 0.001231853268109262, -0.0036216662265360355, -0.013953967951238155, -0.023632608354091644, -0.06188315898180008, 0.0068842447362840176, -0.035972826182842255, 0.05795968696475029, 0.049835044890642166, 0.029990509152412415, 0.017053620889782906, -0.027835436165332794, -0.02058020420372486, -0.06247471272945404, -0.12117987871170044, -0.032525546848773956, -0.032893188297748566, 0.06251952052116394, 0.012548296712338924, 0.06096590310335159, 0.009461620822548866, 0.016461757943034172, -0.022240348160266876, -0.0028239507228136063, 0.011374120600521564, 0.008506380021572113, -0.000717775197699666, -0.06962825357913971, -0.014123802073299885, 0.020121796056628227, 0.05775974318385124, 0.007620629854500294, -0.024381710216403008, -0.011762615293264389, -0.053600963205099106, 0.010699275881052017, -0.05535683408379555, -0.017788033932447433, 0.000036968616768717766, 0.026305751875042915, 0.01167469285428524, -0.0320315808057785, 0.0024902361910790205, 0.06285616755485535, 0.06733586639165878, 0.04534712806344032, -0.04019804298877716, -0.011686993762850761, -0.019646214321255684, -0.009619776159524918, 0.050846174359321594, -0.009772284887731075, -0.002249587792903185, 0.008779537864029408, 0.02338302880525589, 0.009953349828720093, -0.019776981323957443, -0.24360060691833496, -0.04943989962339401, 0.011171398684382439, 0.0001244839804712683, 0.03702285885810852, -0.0004046222602482885, 0.04091421142220497, -0.01708751730620861, -0.027247440069913864, 0.0006700585363432765, 0.030138062313199043, 0.01801379583775997, 0.0019430418033152819, 0.06348966807126999, 0.061726607382297516, 0.041056618094444275, 0.016400564461946487, -0.02006484940648079, -0.005539557430893183, 0.008665020577609539, -0.03183509409427643, -0.07621311396360397, -0.051487356424331665, 0.0448448546230793, -0.06828862428665161, 0.02285674773156643, -0.06850048154592514, -0.02922942489385605, -0.04852840304374695, -0.014545749872922897, 0.011739479377865791, -0.011875167489051819, -0.004814954474568367, 0.02556758001446724, -0.011698267422616482, -0.003003222169354558, 0.028053315356373787, -0.0210739579051733, 0.03811635076999664, 0.02398361638188362, -0.0017555149970576167, -0.013868759386241436, -0.023015039041638374, 0.04737955331802368, 0.10220760852098465, -0.015491635538637638, -0.06754525750875473, -0.034217629581689835, -0.03566614165902138, 0.020662784576416016, 0.01979519985616207, -0.028224272653460503, 0.011861050501465797, 0.018052073195576668, -0.008762122131884098, -0.015579511411488056, 0.033686671406030655, 0.0028435741551220417, -0.05713605880737305, -0.003935370594263077, -0.018007423728704453, -0.03621822968125343, -0.011574247851967812, -0.028918547555804253, -0.019929783418774605, -0.043647680431604385, -0.08551058173179626, -0.0694517120718956, -0.00042676058365032077, 0.06516796350479126, -0.007014736998826265, 0.09315082430839539, -0.03763483464717865, -0.09297312796115875, 0.035871896892786026, 0.031756844371557236, -0.005605073645710945, -0.008764363825321198, 0.02247755043208599, 0.044663529843091965, -0.022800324484705925, -0.044592514634132385, 0.0055497800931334496, 0.012853714637458324, 0.007646890357136726, 0.01430016290396452, 0.030183782801032066, -0.04231100156903267, -0.011508150957524776, -0.007199568208307028, 0.047800734639167786, 0.025277502834796906, 0.037716928869485855, -0.006241882685571909, 0.016269851475954056, 0.04600491374731064, 0.03654850646853447, 0.029481468722224236, 0.06464388966560364, 0.00729665532708168, 0.006379233207553625, -0.07163108885288239, -0.019025186076760292, 0.00877254270017147, -0.07484805583953857, 0.015636155381798744, -0.04942677915096283, -0.01715204492211342, 0.057644233107566833, -0.0014711936237290502, -0.044108133763074875, -0.03570745512843132, 0.02345208451151848, 0.004322110675275326, -0.0009488850482739508, -0.011531000956892967, 0.019018782302737236, 0.016574801877141, 0.006251789629459381, -0.02254941500723362, -0.03065086342394352, 0.03329947218298912, 0.008059184066951275, 0.021187253296375275, -0.02429916150867939, -0.0321916900575161, 0.008833826519548893, -0.016017677262425423, -0.005355347879230976, 0.0145431412383914, 0.013933025300502777, 0.042667217552661896, -0.005273241084069014, 0.03787657618522644, 0.06331725418567657, 0.04204647243022919, -0.02060404233634472, 0.0008636739803478122, 0.056826796382665634, -0.024859171360731125, 0.05199165269732475, -0.0045181093737483025, 0.03412406146526337, 0.016418328508734703, 0.0446048378944397, 0.012749929912388325, -0.008563952520489693, 0.01818053238093853, -0.005288936663419008, -0.0163858775049448, 0.02313927747309208, -0.04178301617503166, -0.0022704857401549816, -0.03633524477481842, 0.004364104475826025, 0.00940723903477192, 0.034094102680683136, 0.0006575850420631468, 0.006227464880794287, -0.0496436208486557, 0.060746438801288605, 0.03336199000477791, -0.013355626724660397, 0.006867084186524153, 0.010213294066488743, 0.0528363399207592, 0.0016483532963320613, -0.022144492715597153, 0.010795108042657375, 0.005944668781012297, 0.023976244032382965, -0.019610708579421043, -0.021004168316721916, -0.023111600428819656, -0.019494222477078438, 0.01847093738615513, 0.008157175965607166, -0.013735365122556686, -0.02364228293299675, 0.023216979578137398, -0.016827313229441643, -0.0394410602748394, 0.013751327060163021, -0.016337186098098755, 0.04884776473045349, 0.023629194125533104, -0.016148103401064873, 0.008829092606902122, -0.04190000146627426, 0.03825293481349945, 0.022652944549918175, 0.013875391334295273, -0.05567418783903122, -0.018048424273729324, -0.012316297739744186, -0.03821940720081329, 0.014404408633708954, -0.02120337449014187, -0.0469936728477478, -0.02746916003525257, -0.030381327494978905, 0.031352460384368896, -0.0634206011891365, 0.010088255628943443, 0.03968548774719238, -0.059196535497903824, 0.015172959305346012, 0.04417867586016655, 0.0004039460909552872, -0.006882255431264639, -0.020909836515784264, 0.00833932776004076, -0.04695015028119087, -0.032212208956480026, 0.006924238055944443, -0.006799948867410421, 0.007559856399893761, -0.023986198008060455, -0.02245466411113739, -0.009591339156031609, 0.026450209319591522, 0.016457917168736458, -0.021602191030979156, -0.04441439360380173, 0.00927021075040102, 0.08529666066169739, 0.002447154140099883, -0.006976344622671604, -0.030564427375793457, 0.004238672088831663, 0.04394375905394554, -0.011735295876860619, -0.0007461480563506484, 0.04107404872775078, -0.021429693326354027, -0.009311194531619549, -0.042106498032808304, 0.02248196117579937, 0.03724849596619606, -0.022211240604519844, 0.02132602222263813, -0.007601236924529076, -0.039804473519325256, 0.03659336268901825, 0.021756963804364204, 0.01280670054256916, 0.04602038860321045, 0.013205424882471561, 0.019947171211242676, 0.02214019000530243, 0.01972011849284172, -0.03185197338461876, -0.027201279997825623, -0.051856666803359985, 0.032970018684864044, -0.02828904055058956, -0.012053582817316055, -0.03394873067736626, -0.01753120869398117, 0.014531602151691914, -0.0497392900288105, 0.03262769803404808, -0.013231161050498486, 0.04325827211141586, 0.013202548027038574, 0.04055320844054222, 0.008192854933440685, -0.026302892714738846, 0.03411461040377617, -0.06114799529314041, 0.006668105721473694, -0.021306078881025314, -0.021770523861050606, 0.06106630340218544, -0.02060258947312832, -0.02289746142923832, -0.01060567982494831, -0.030261602252721786, 0.03496547415852547, -0.035041745752096176, -0.07288862019777298, 0.034579116851091385, -0.010639555752277374, -0.008621015585958958, 0.04833083599805832, -0.01248219795525074, -0.00927245244383812, 0.005137550178915262, -0.029505234211683273, -0.029623989015817642, -0.017419777810573578, 0.017565567046403885, -0.06499669700860977, 0.015923472121357918, 0.0036573554389178753, 0.025070374831557274, 0.04244261607527733, 0.07421562075614929, 0.036686308681964874, 0.03682866320014, -0.0299492459744215, 0.06362948566675186, 0.02762351930141449, -0.006807767786085606, 0.017436901107430458, 0.03232503682374954, 0.005387375596910715, -0.03730771690607071, 0.016689900308847427, 0.016650689765810966, -0.026690775528550148, -0.061444614082574844, 0.05438249930739403, 0.011503305286169052, -0.051912009716033936, -0.008865834213793278, 0.03141006454825401, -0.05736299231648445, 0.0060197594575583935, -0.013283015228807926, -0.016062606126070023, -0.012298041954636574, 0.06376192718744278, 0.001588347484357655, 0.04477638378739357, 0.06300915032625198, 0.033045992255210876, -0.031051190569996834, -0.0475878044962883, 0.0830809697508812, 0.049132198095321655, 0.025148281827569008, 0.00023650546791031957, 0.07967011630535126, -0.017142711207270622, -0.04509079456329346, 0.01238401047885418, 0.00972012896090746, 0.009739122353494167, -0.05433448776602745, -0.013011270202696323, 0.07793381065130234, -0.015909411013126373, 0.029119383543729782, -0.04132634028792381, -0.004149133805185556, 0.012601790018379688, 0.00659551378339529, 0.0013305535539984703, 0.048571400344371796, 0.06086435168981552, 0.03820669278502464, -0.027285443618893623, 0.01814461685717106, -0.019847718998789787, -0.02535919100046158, 0.03733803331851959, 0.023146821185946465, -0.023427249863743782, 0.04156137630343437, -0.019458478316664696, 0.03484327346086502, 0.10051652044057846, -0.013843041844666004, -0.08777755498886108, -0.007697338704019785, 0.004277527332305908, 0.010206199251115322, 0.03353889659047127, 0.008081337437033653, -0.009420801885426044, 0.010826066136360168, -0.06199042871594429, 0.05017109215259552, 0.016051216050982475, -0.017644427716732025, 0.02006201632320881, -0.015040220692753792, -0.0441439226269722, -0.010211598128080368, 0.01379892323166132, -0.04195268452167511, -0.0639679953455925, -0.023289168253540993, -0.03578915819525719, -0.0472915843129158, -0.02448136918246746, 0.03411327302455902, 0.019382605329155922, -0.062045466154813766, -0.031165484338998795, 0.0007517306366935372, 0.031535468995571136, 0.041307635605335236, -0.06736806780099869, 0.00722385011613369, 0.053738269954919815, 0.04544356092810631, 0.008338362909853458, 0.05314772576093674, 0.03186265379190445, -0.040686752647161484, -0.0005878102383576334, 0.04140743240714073, -0.005342344753444195, 0.01745813526213169, 0.0028951370622962713, -0.016336239874362946, -0.12284665554761887, -0.018910810351371765, 0.016552750021219254, -0.03659332916140556, -0.07114846259355545, 0.01050515379756689, -0.017942994832992554, 0.031584810465574265, 0.03786960616707802, 0.023655587807297707, 0.014045211486518383, -0.04178083315491676, 0.028604764491319656, -0.03036591410636902, -0.00022587593412026763, 0.046916428953409195, -0.01881013810634613, 0.047577615827322006, 0.054382503032684326, -0.03848932310938835, 0.004379813559353352, 0.02426924556493759, 0.0038948256988078356, 0.010486388579010963, -0.03959202021360397, -0.06183325871825218, -0.023400887846946716, -0.10770926624536514, -0.024622399359941483, 0.03731917589902878, -0.0001997108047362417, -0.029017966240644455, -0.0031189839355647564, -0.0124320974573493, -0.02016007900238037, 0.003600003197789192, -0.01815302111208439, 0.001994411228224635, -0.028506549075245857, -0.005056154448539019, -0.054316069930791855, 0.03873519226908684, -0.02395619824528694, 0.03070935234427452, -0.03041096217930317, -0.043378736823797226, -0.013918736949563026, -0.04495297372341156, 0.007712936028838158, 0.0011253979755565524, 0.051974087953567505, 0.0205046609044075 ]
316
SafeDiffuser: Safe Planning with Diffusion Probabilistic Models
https://openreview.net/forum?id=ig2wk7kK9J
[ "Wei Xiao", "Tsun-Hsuan Wang", "Chuang Gan", "Ramin Hasani", "Mathias Lechner", "Daniela Rus" ]
Poster
Diffusion models have shown promise in data-driven planning. While these planners are commonly employed in applications where decisions are critical, they still lack established safety guarantees. In this paper, we address this limitation by introducing SafeDiffuser, a method to equip diffusion models with safety guarantees via control barrier functions. The key idea of our approach is to embed finite-time diffusion invariance, i.e., a form of specification consisting of safety constraints, into the denoising diffusion procedure. This way we enable data generation under safety constraints. We show that SafeDiffusers maintain the generative performance of diffusion models while also providing robustness in safe data generation. We evaluate our method on a series of tasks, including maze path generation, legged robot locomotion, and 3D space manipulation, and demonstrate the advantages of robustness over vanilla diffusion models.
Diffusion model, Safety guarantees, Planning and control
We propose a new method to ensure diffusion probabilistic models satisfy specifications by using a control theoretic method
13,531
2306.00148
[ -0.02108863927423954, -0.01760890521109104, -0.03876468911767006, 0.061692096292972565, 0.07624717056751251, 0.024194393306970596, 0.023069249466061592, -0.04037608951330185, -0.018089503049850464, -0.07209896296262741, -0.004095269832760096, -0.03487665206193924, -0.05296465381979942, -0.003913062624633312, -0.0009933564579114318, 0.06378095597028732, 0.010369081981480122, -0.01576559990644455, -0.009095659479498863, 0.018992451950907707, -0.020198378711938858, -0.02385796047747135, 0.01697237603366375, 0.014854195527732372, 0.021577300503849983, 0.013293788768351078, 0.024831732735037804, -0.0006276940694078803, -0.026471884921193123, -0.013330990448594093, 0.03705146163702011, -0.006393030751496553, 0.011010857298970222, -0.031016111373901367, 0.007633234839886427, 0.009174566715955734, -0.044520650058984756, 0.002987521467730403, -0.020504221320152283, -0.009986378252506256, -0.03165629506111145, 0.04353553429245949, -0.0228281170129776, -0.011073113419115543, -0.04266832768917084, -0.010851390659809113, -0.0647684782743454, -0.0032569647300988436, 0.014242532663047314, -0.047177400439977646, -0.10035259276628494, 0.05153738707304001, 0.019353410229086876, 0.016838572919368744, -0.012330352328717709, 0.011275765486061573, 0.067625492811203, -0.08965915441513062, 0.0014086453011259437, -0.0668041780591011, -0.01676144078373909, 0.01695125177502632, 0.00040099769830703735, -0.005043363198637962, -0.01178947277367115, -0.007884680293500423, 0.011744322255253792, 0.04593266174197197, -0.0012798322131857276, -0.021485991775989532, -0.0373830646276474, 0.009636258706450462, 0.025053586810827255, 0.005751818884164095, -0.0268139336258173, -0.043001968413591385, 0.026780905202031136, 0.04255971312522888, 0.04487088322639465, 0.003433855716139078, 0.0390155203640461, -0.0038482407107949257, -0.01048815157264471, 0.04906351864337921, 0.03863372281193733, -0.0016097556799650192, -0.049355994910001755, -0.004495035856962204, -0.06215556338429451, 0.04294944927096367, -0.03993283584713936, -0.053507719188928604, -0.0048018451780080795, 0.011465942487120628, 0.020461587235331535, 0.0130259795114398, 0.02729043923318386, 0.007480447646230459, 0.01667201891541481, 0.006397174205631018, -0.03548305481672287, -0.0186763983219862, -0.02344248816370964, -0.021124044433236122, -0.09274465590715408, -0.03668941929936409, -0.04936160519719124, 0.00809005182236433, 0.026352519169449806, 0.00745529355481267, -0.047120071947574615, 0.007491808384656906, 0.030423210933804512, -0.03416138514876366, -0.052653759717941284, 0.07187364995479584, 0.0280041191726923, 0.005771762225776911, 0.03290941193699837, -0.0009750266908667982, 0.03390544280409813, 0.01491477619856596, -0.022307632490992546, 0.0538424551486969, -0.043329570442438126, 0.04262184724211693, 0.03476979583501816, 0.012793554924428463, -0.008426733314990997, -0.015034118667244911, 0.031063415110111237, 0.04332292452454567, -0.012264234945178032, -0.025052115321159363, -0.009899307042360306, -0.008026513271033764, -0.009836696088314056, 0.06230371072888374, -0.013247544877231121, -0.023305170238018036, 0.009523734450340271, -0.02069556713104248, 0.08082973957061768, -0.03182370588183403, 0.05224430561065674, -0.030745208263397217, 0.018170585855841637, -0.017017826437950134, -0.06148388609290123, 0.007451258599758148, 0.007127672899514437, 0.012969085946679115, 0.038693130016326904, -0.06156150624155998, -0.0016924506053328514, 0.03263523429632187, 0.03794403001666069, -0.013124571181833744, -0.01626945286989212, -0.004828823730349541, 0.0013085249811410904, -0.011241289786994457, -0.02919129654765129, -0.048340823501348495, -0.0061808484606444836, -0.04707902669906616, 0.027325326576828957, 0.02389276586472988, -0.0011354915332049131, -0.036948300898075104, -0.019191302359104156, -0.028916098177433014, 0.045258332043886185, 0.006559391506016254, 0.010597890242934227, -0.010804110206663609, 0.04764310270547867, -0.011527280323207378, 0.033154379576444626, 0.02213115617632866, -0.07215394079685211, 0.004971805028617382, 0.00804765522480011, 0.026499632745981216, 0.022232886403799057, -0.042060524225234985, 0.069240503013134, -0.02810453064739704, 0.01192457228899002, 0.017680900171399117, -0.06889194995164871, -0.027639273554086685, 0.04009835422039032, -0.02524692192673683, 0.037081316113471985, 0.008574272505939007, -0.0075300149619579315, -0.0021401536650955677, 0.021185629069805145, 0.09126249700784683, 0.05534854158759117, -0.02275613695383072, 0.04892072081565857, -0.00968956295400858, -0.003793923882767558, -0.003196320030838251, 0.04084070399403572, -0.03737456724047661, -0.028196578845381737, 0.01534206047654152, -0.011563612148165703, 0.0012707358691841364, 0.02684376761317253, -0.011536668986082077, 0.028398433700203896, 0.01615099050104618, -0.00880589708685875, 0.015117472968995571, 0.022556807845830917, -0.05919012054800987, 0.01404417585581541, 0.012438655830919743, -0.03726915642619133, 0.0014382287627086043, -0.01893206313252449, 0.0913432165980339, 0.0926889032125473, -0.03498780354857445, -0.024452462792396545, 0.010044834576547146, -0.021880673244595528, 0.002546062460169196, 0.008637581951916218, -0.010616498999297619, 0.04744848608970642, -0.030519671738147736, 0.022891908884048462, -0.01167296152561903, 0.055643703788518906, -0.03774546459317207, -0.002107073785737157, 0.06635759770870209, -0.009614505805075169, 0.07480716705322266, 0.014603559859097004, 0.03820258378982544, 0.05683646723628044, -0.010239895433187485, -0.014946081675589085, 0.00004635998629964888, -0.024149984121322632, 0.0046597630716860294, 0.0812770202755928, -0.010549846105277538, -0.013130910694599152, -0.07038349658250809, 0.02425423264503479, -0.0212696585804224, 0.07399725914001465, 0.06170959770679474, 0.0518537275493145, 0.012999068014323711, -0.004681963007897139, -0.006048207636922598, -0.01756409741938114, -0.11552849411964417, -0.027500391006469727, 0.0018593325512483716, 0.027483170852065086, 0.065340057015419, 0.03497186303138733, -0.032561589032411575, 0.04568206146359444, -0.008213800378143787, -0.018689539283514023, 0.005638744216412306, 0.011293052695691586, 0.03845997154712677, -0.022445233538746834, -0.00679585337638855, 0.030870860442519188, 0.08800490200519562, -0.0023468132130801678, -0.009704094380140305, 0.010066899470984936, -0.01920601911842823, 0.03959484398365021, -0.03016556240618229, -0.027099769562482834, 0.04600030928850174, 0.013765867799520493, -0.010417954064905643, -0.019502010196447372, 0.028914742171764374, 0.029696999117732048, 0.05139850080013275, 0.008684535510838032, -0.00014845962869003415, -0.017504917457699776, 0.021760012954473495, 0.013921528123319149, 0.0007961362134665251, 0.0059228804893791676, 0.004191793501377106, -0.006742286030203104, -0.016745951026678085, 0.02107473462820053, -0.010088220238685608, -0.2592533230781555, -0.0003942158364225179, -0.0022562865633517504, -0.02929597534239292, 0.008787109516561031, 0.05162147060036659, 0.056243646889925, -0.007947228848934174, -0.020425373688340187, 0.010452046990394592, 0.023225493729114532, 0.019425610080361366, 0.024374935775995255, 0.04665593057870865, 0.055926986038684845, -0.0034293693024665117, 0.007384022697806358, -0.03661957383155823, -0.009199327789247036, 0.008713980205357075, -0.03699884191155434, -0.08093398064374924, -0.038071464747190475, 0.00538997957482934, -0.0004048207774758339, 0.02946499176323414, -0.05795716866850853, 0.001492466893978417, -0.04362703114748001, 0.01421415340155363, 0.0036263696383684874, -0.028019504621624947, -0.042640380561351776, -0.016786493360996246, 0.011993678286671638, 0.01248252484947443, -0.005534221418201923, 0.037511833012104034, 0.024832282215356827, 0.01003169920295477, 0.03744683787226677, -0.007172482553869486, -0.054513998329639435, -0.007513980381190777, 0.045503728091716766, 0.0034535168670117855, -0.03152919560670853, 0.02417454868555069, 0.01099114678800106, 0.01865288056433201, 0.0226264800876379, -0.02269543893635273, 0.019294241443276405, 0.002482150448486209, 0.024947691708803177, -0.016828782856464386, 0.005382942967116833, -0.014763416722416878, 0.006842713337391615, 0.03967512398958206, 0.02153269574046135, -0.039577435702085495, -0.030374685302376747, -0.028407923877239227, -0.005871990695595741, -0.02583855763077736, -0.04004019498825073, -0.05479001626372337, 0.0258786641061306, -0.017357109114527702, -0.025497572496533394, -0.03142726421356201, 0.010293582454323769, -0.11773992329835892, 0.0030731752049177885, 0.033319052308797836, 0.01033404003828764, -0.06625214219093323, 0.029856840148568153, 0.023466965183615685, -0.058780234307050705, -0.02508826181292534, -0.009797981940209866, 0.03590288758277893, -0.0029227240011096, -0.004401679616421461, 0.031032638624310493, -0.050230737775564194, -0.024025676771998405, -0.05076416954398155, 0.04133957624435425, 0.007419886067509651, 0.03936634212732315, -0.02149835415184498, 0.05178413540124893, 0.04105493798851967, 0.011213807389140129, 0.035666417330503464, 0.027949446812272072, -0.01895507238805294, 0.023546256124973297, -0.08826318383216858, -0.01946386881172657, -0.06572319567203522, -0.004177701193839312, 0.030189460143446922, -0.060146573930978775, -0.020113172009587288, 0.03637784346938133, 0.006348750088363886, -0.0003260876692365855, -0.005110456608235836, 0.02074331045150757, -0.016494806855916977, -0.018478697165846825, -0.031140349805355072, -0.0008551046485081315, 0.04296434298157692, 0.027322974056005478, 0.000016234598660958, -0.056979116052389145, 0.022136451676487923, -0.047283221036195755, 0.040251657366752625, -0.003993188962340355, 0.01103487703949213, -0.002931277733296156, -0.012248886749148369, 0.06180734932422638, -0.006490572355687618, 0.022690044716000557, 0.08024140447378159, 0.0023794742301106453, 0.008994648233056068, 0.043632157146930695, -0.03128676116466522, -0.039321038872003555, -0.0008895139908418059, 0.019207393750548363, -0.022711144760251045, -0.014749083667993546, 0.01622368022799492, 0.036118753254413605, -0.000394960748963058, 0.03732606768608093, 0.017500676214694977, 0.025793544948101044, 0.009333599358797073, 0.03749433904886246, -0.04352926090359688, 0.017038030549883842, -0.05523817241191864, 0.01453970093280077, -0.046566713601350784, 0.015489841811358929, -0.05103384703397751, 0.023304065689444542, -0.02631508558988571, 0.00608131755143404, -0.056447770446538925, 0.0577649250626564, 0.024141639471054077, -0.05003064498305321, -0.009982381947338581, 0.00009753934864420444, 0.06764411181211472, -0.054182250052690506, -0.021423224359750748, -0.02853487804532051, -0.02493952587246895, 0.02235342562198639, -0.05109810084104538, -0.051642633974552155, 0.0025702842976897955, -0.009440666995942593, 0.016210179775953293, -0.020045382902026176, -0.0326959565281868, -0.05987505242228508, 0.02750791423022747, -0.00004929639908368699, 0.005020931363105774, -0.01725172810256481, -0.006439780816435814, 0.059013206511735916, -0.027067184448242188, 0.005676342640072107, -0.01960991509258747, -0.017748070880770683, 0.018097884953022003, -0.02600516751408577, 0.023579170927405357, -0.03693774715065956, -0.024477887898683548, -0.02280556596815586, -0.046397410333156586, 0.014529827050864697, 0.016925005242228508, -0.03588631749153137, -0.0019635881762951612, -0.018869450315833092, -0.009745540097355843, -0.0135433254763484, 0.025956885889172554, 0.012459861114621162, -0.04638373479247093, 0.0017271310789510608, 0.05897698551416397, 0.02423371747136116, 0.029641663655638695, -0.03644503653049469, -0.005387850105762482, -0.042020149528980255, -0.036582864820957184, -0.00527949258685112, -0.016721908003091812, -0.016604596748948097, -0.031807150691747665, -0.010537770576775074, 0.017562150955200195, 0.020433565601706505, -0.014628395438194275, -0.01653253100812435, -0.004008783958852291, -0.007444731425493956, 0.04339416325092316, -0.05204423889517784, -0.02130800113081932, 0.030163545161485672, -0.02585817500948906, -0.0009223207016475499, -0.05997809022665024, 0.02420482598245144, 0.003704710630699992, -0.008191465400159359, 0.015254060737788677, -0.029179122298955917, 0.03580985218286514, -0.03988892212510109, -0.008056074380874634, -0.005865865852683783, 0.020526347681879997, -0.005152687896043062, -0.02396375685930252, 0.018039850518107414, 0.04549238830804825, -0.010608434677124023, -0.02976677380502224, 0.02809750661253929, 0.026942113414406776, -0.0004907032707706094, -0.002539512002840638, -0.060716550797224045, 0.0033931704238057137, 0.028157439082860947, -0.0046486384235322475, -0.04445589333772659, -0.08771294355392456, -0.013642747886478901, 0.013673697598278522, -0.014010998420417309, 0.037117794156074524, -0.029748035594820976, 0.004231447819620371, 0.012877685017883778, 0.03323538973927498, 0.01014536153525114, -0.03145906701683998, 0.03255567327141762, -0.09920480102300644, 0.028295697644352913, -0.04665635526180267, 0.04809468984603882, 0.05933871120214462, -0.06030893698334694, 0.001165300840511918, 0.026341985911130905, -0.016391843557357788, 0.0256609208881855, -0.05794733390212059, -0.08142280578613281, 0.034669335931539536, -0.023651961237192154, -0.03126124292612076, 0.015094052068889141, -0.03768680989742279, -0.02259170450270176, 0.0038608007598668337, -0.06662184000015259, 0.046275004744529724, 0.029391881078481674, 0.014594432897865772, -0.037748705595731735, 0.024362435564398766, -0.00987948663532734, 0.018164413049817085, 0.014726189896464348, 0.04382263496518135, -0.0005812051822431386, 0.038896750658750534, -0.034509070217609406, 0.0803665965795517, 0.050002314150333405, 0.030525073409080505, 0.022654514759778976, 0.028140757232904434, 0.03688300773501396, -0.03876921907067299, 0.024792948737740517, 0.02475641667842865, -0.0018159957835450768, -0.076115682721138, 0.07393239438533783, 0.04638288915157318, -0.07339557260274887, -0.036657482385635376, 0.016550879925489426, -0.06488753110170364, 0.02908407896757126, 0.004440098535269499, 0.019390171393752098, 0.029849784448742867, 0.05049457773566246, -0.011563938111066818, 0.031099669635295868, 0.05419258400797844, 0.017832083627581596, 0.004349108785390854, -0.021051594987511635, 0.06611443310976028, 0.05405886098742485, 0.0507977120578289, -0.041553597897291183, 0.047797027975320816, -0.045668505132198334, -0.04398604482412338, -0.006295009516179562, 0.005832123104482889, -0.016940200701355934, -0.050785332918167114, 0.028714584186673164, 0.06920736283063889, -0.005018820054829121, 0.05931974947452545, -0.03187302500009537, -0.0005569551722146571, 0.030903436243534088, 0.02251448854804039, 0.0008470861939713359, 0.020098911598324776, 0.049102894961833954, 0.005645615980029106, -0.00881224311888218, -0.0013645021244883537, -0.00038455650792457163, -0.00602318998426199, 0.029597463086247444, 0.006346824113279581, 0.00427263556048274, 0.009080841206014156, 0.022043175995349884, 0.011321372352540493, 0.10676731914281845, -0.054835788905620575, -0.012561381794512272, -0.024562735110521317, -0.010318437591195107, -0.00756031321361661, 0.02149653434753418, 0.057315777987241745, 0.0040907771326601505, 0.0134761156514287, -0.05767166614532471, 0.0187541451305151, 0.018530694767832756, -0.0024434456136077642, 0.04741230234503746, -0.052694592624902725, 0.0038477107882499695, 0.03062751702964306, -0.010587036609649658, -0.021092817187309265, -0.036505840718746185, -0.01738344132900238, -0.022557346150279045, -0.08164046704769135, -0.025350673124194145, 0.026568520814180374, -0.005041620694100857, -0.07032009959220886, 0.022077329456806183, -0.02156900428235531, 0.0037578456103801727, 0.009482999332249165, -0.04987329617142677, -0.02424943447113037, 0.09066236019134521, 0.02911103330552578, 0.012678244151175022, 0.026303689926862717, 0.040340133011341095, 0.005537004675716162, -0.029808811843395233, -0.0006527952500618994, 0.0016614896012470126, 0.051581867039203644, -0.01517095323652029, -0.01393849030137062, -0.06882403045892715, -0.0009516721474938095, 0.050372835248708725, -0.026165714487433434, -0.09576225280761719, 0.04239000380039215, -0.05479457229375839, 0.029322179034352303, 0.047479089349508286, -0.008671433664858341, 0.0022434850689023733, -0.029967712238430977, 0.0053328946232795715, 0.0005074508371762931, -0.011196163482964039, 0.025822190567851067, -0.06365565210580826, 0.06096601486206055, 0.05630031228065491, -0.06067269295454025, -0.031656473875045776, 0.06803810596466064, -0.0003980867622885853, -0.035900577902793884, -0.0031516586896032095, -0.032370954751968384, -0.026951519772410393, -0.11734306067228317, -0.0001528989232610911, 0.01878511533141136, 0.007290021050721407, -0.033386386930942535, -0.0026337874587625265, -0.0024703966919332743, 0.013888952322304249, -0.02453102543950081, -0.06300239264965057, -0.027052070945501328, -0.03157643973827362, 0.003938836976885796, -0.05862785503268242, 0.0544431246817112, -0.02045978605747223, 0.013885429129004478, -0.024635497480630875, -0.04565448686480522, 0.03424672782421112, -0.012462636455893517, 0.014943002723157406, -0.03019816242158413, 0.025388607755303383, 0.015748804435133934 ]
317
BrainACTIV: Identifying visuo-semantic properties driving cortical selectivity using diffusion-based image manipulation
https://openreview.net/forum?id=CGON8Btleu
[ "Diego Garcia Cerdas", "Christina Sartzetaki", "Magnus Petersen", "Gemma Roig", "Pascal Mettes", "Iris Groen" ]
Poster
The human brain efficiently represents visual inputs through specialized neural populations that selectively respond to specific categories. Advancements in generative modeling have enabled data-driven discovery of neural selectivity using brain-optimized image synthesis. However, current methods independently generate one sample at a time, without enforcing structural constraints on the generations; thus, these individual images have no explicit point of comparison, making it hard to discern which image features drive neural response selectivity. To address this issue, we introduce Brain Activation Control Through Image Variation (BrainACTIV), a method for manipulating a reference image to enhance or decrease activity in a target cortical region using pretrained diffusion models. Starting from a reference image allows for fine-grained and reliable offline identification of optimal visuo-semantic properties, as well as producing controlled stimuli for novel neuroimaging studies. We show that our manipulations effectively modulate predicted fMRI responses and agree with hypothesized preferred categories in established regions of interest, while remaining structurally close to the reference image. Moreover, we demonstrate how our method accentuates differences between brain regions that are selective to the same category, and how it could be used to explore neural representation of brain regions with unknown selectivities. Hence, BrainACTIV holds the potential to formulate robust hypotheses about brain representation and to facilitate the production of naturalistic stimuli for neuroscientific experiments.
brain, selectivity, visual cortex, fMRI, manipulation, variation, diffusion, neuroscience
BrainACTIV manipulates a reference image to drive or suppress activity in a target brain region using pretrained diffusion models, providing insights into neural selectivity for experimental purposes.
13,524
null
[ -0.0003054440312553197, 0.017871491611003876, 0.02220729924738407, 0.014757798984646797, 0.04032624885439873, 0.02567218244075775, 0.031235313042998314, 0.025942362844944, -0.03908255323767662, -0.05722629651427269, -0.04141678288578987, -0.0014144126325845718, -0.04840314760804176, 0.0029421928338706493, -0.011023181490600109, 0.04852573573589325, 0.03267183154821396, 0.0029383718501776457, -0.011248302645981312, 0.016054341569542885, 0.0011347020044922829, -0.021748965606093407, 0.03493691608309746, 0.030290955677628517, 0.04134334996342659, -0.018575377762317657, 0.010715337470173836, -0.028452662751078606, 0.011573608964681625, -0.027647461742162704, -0.004677366930991411, 0.010194115340709686, -0.013532958924770355, -0.011878041550517082, 0.01975352130830288, 0.00898002553731203, -0.030388934537768364, -0.004522665869444609, -0.00955558754503727, 0.003283457364886999, -0.06975537538528442, 0.008482933044433594, -0.01635342463850975, -0.017859291285276413, -0.06920216232538223, 0.02598077431321144, -0.099164679646492, 0.04758134484291077, -0.00968685932457447, 0.003160323016345501, -0.047851964831352234, 0.021618343889713287, 0.02708616852760315, -0.014800859615206718, 0.0042146979831159115, 0.03477693721652031, 0.03348058462142944, -0.025094926357269287, -0.004345786292105913, -0.0898771733045578, -0.01070017833262682, 0.021518971771001816, 0.0180711317807436, -0.0066521731205284595, 0.006899758242070675, -0.017814235761761665, 0.01621503010392189, 0.04212122783064842, -0.03047102503478527, -0.028327584266662598, -0.031197460368275642, -0.02358345128595829, -0.004321842920035124, -0.024520238861441612, -0.002692704787477851, -0.060272179543972015, 0.0015717758797109127, 0.016768114641308784, 0.049485575407743454, -0.011464428156614304, 0.030907616019248962, 0.05218082666397095, -0.027920551598072052, 0.03779606521129608, 0.005328894127160311, -0.009111673571169376, -0.0038649155758321285, -0.020302461460232735, -0.04488418996334076, 0.023785417899489403, -0.049805156886577606, -0.01160577591508627, 0.02946438081562519, 0.033194173127412796, 0.03082945942878723, 0.003071831539273262, 0.036416664719581604, -0.02330794930458069, 0.007066050078719854, 0.016201114282011986, -0.00359313259832561, -0.027028745040297508, 0.02031858265399933, 0.006757843773812056, -0.08460007607936859, -0.018572473898530006, -0.012043910101056099, -0.05687844380736351, -0.020073581486940384, 0.022220786660909653, -0.036109551787376404, -0.016968267038464546, 0.018543099984526634, -0.007413618266582489, -0.0729021430015564, 0.03492939844727516, 0.015417658723890781, 0.028263594955205917, 0.000166766214533709, 0.019890522584319115, 0.050750549882650375, 0.05970603600144386, -0.018741169944405556, 0.05303744599223137, -0.00776831666007638, -0.027600238099694252, 0.012574481777846813, 0.03526485338807106, -0.010867990553379059, -0.04364589601755142, 0.02305309846997261, 0.015961457043886185, -0.019647231325507164, -0.008381516672670841, 0.004445321392267942, 0.005662835203111172, 0.05767840892076492, -0.012272330932319164, 0.009620975703001022, 0.009777641855180264, 0.002598112914711237, -0.042441774159669876, 0.013917085714638233, -0.04983348026871681, 0.09309449791908264, -0.04776432737708092, 0.011107536032795906, -0.0007186000002548099, -0.04309048131108284, -0.01777082122862339, 0.033480845391750336, 0.00804173108190298, 0.0466226264834404, -0.04366164654493332, 0.026491042226552963, 0.08418408781290054, 0.03274121508002281, 0.033120136708021164, -0.0004622240667231381, -0.015847353264689445, 0.02727692201733589, -0.02684895694255829, 0.00031810798100195825, -0.013412900269031525, -0.013852613978087902, -0.031997039914131165, 0.013995969668030739, 0.038337718695402145, -0.05831534042954445, 0.004668109584599733, -0.04989549517631531, -0.032986197620630264, 0.02817009575664997, 0.002717189257964492, -0.0009917326970025897, 0.0297430120408535, 0.024366382509469986, 0.01474155206233263, 0.03432879596948624, 0.04099840298295021, -0.09534618258476257, 0.028077127411961555, -0.009112616069614887, -0.011438458226621151, 0.02285057306289673, -0.029183683916926384, 0.05211571976542473, -0.01292630285024643, -0.007066001649945974, 0.0277839545160532, -0.040492817759513855, -0.03443128988146782, 0.012675993144512177, -0.009738351218402386, 0.0809551551938057, 0.030548201873898506, -0.026902848854660988, 0.03220720216631889, 0.055974237620830536, 0.049331288784742355, 0.05159115046262741, -0.058676403015851974, 0.031874533742666245, -0.025957470759749413, -0.009682593867182732, -0.03579622507095337, 0.04880981519818306, -0.026639191433787346, -0.020126963034272194, 0.019886992871761322, -0.011805815622210503, 0.0051460363902151585, 0.002601328305900097, 0.0194450244307518, 0.03997001424431801, -0.013895481824874878, -0.024455325677990913, 0.04942609742283821, -0.01242635864764452, -0.05178403854370117, 0.0060739703476428986, 0.02762848138809204, -0.021129431203007698, 0.018436023965477943, -0.025526845827698708, 0.12147913873195648, 0.053749460726976395, -0.06273328512907028, -0.003995480947196484, 0.026464294642210007, -0.004567926749587059, 0.034269992262125015, -0.0004597468359861523, 0.004097673576325178, -0.002837472828105092, -0.03631214052438736, 0.03117525391280651, -0.009171840734779835, 0.07571353018283844, -0.07115332037210464, -0.03423742204904556, 0.04056105390191078, -0.005650505889207125, 0.033699825406074524, -0.015575453639030457, 0.03383840247988701, 0.04736913740634918, 0.01353070791810751, -0.020066427066922188, -0.01286371424794197, -0.01771494187414646, 0.009937194176018238, -0.021645549684762955, -0.021553033962845802, 0.042474422603845596, -0.048471275717020035, -0.013484122231602669, -0.029112040996551514, 0.08087087422609329, 0.03875632956624031, 0.005072591360658407, 0.04359493404626846, -0.020331110805273056, -0.023562204092741013, -0.020352164283394814, -0.11083950847387314, -0.016506830230355263, -0.006210692226886749, 0.03262467309832573, -0.020545322448015213, 0.053991593420505524, -0.01370409969240427, -0.0015750626334920526, -0.01581309735774994, -0.03345896303653717, 0.02386879362165928, 0.0030132236424833536, 0.0006158386240713298, -0.02310314029455185, -0.029686547815799713, 0.022624900564551353, 0.07102121412754059, 0.030554475262761116, 0.018179811537265778, -0.030216379091143608, -0.06463627517223358, -0.029433738440275192, 0.021852999925613403, -0.02111053466796875, -0.002368290675804019, 0.021430494263768196, 0.011904655024409294, 0.013053348287940025, 0.041688911616802216, 0.0018394659273326397, 0.07162677496671677, 0.04823180288076401, -0.004736879840493202, -0.029640065506100655, 0.021056318655610085, 0.021840717643499374, 0.03980802744626999, 0.0042242249473929405, -0.01643286645412445, 0.004790950566530228, 0.017190415412187576, 0.015304695814847946, 0.00019220095418859273, -0.26475095748901367, -0.009638638235628605, -0.00706477789208293, -0.005946346092969179, 0.02699120342731476, -0.0009607040556147695, 0.04226335138082504, -0.04213351011276245, -0.020924286916851997, 0.019967153668403625, -0.0020909023005515337, 0.008241591043770313, -0.012084780260920525, 0.08352850377559662, 0.03744709491729736, 0.02410811558365822, 0.022193115204572678, -0.0354483500123024, 0.0025493602734059095, 0.027194906026124954, -0.02408117800951004, -0.03991108387708664, -0.025655103847384453, 0.05899092182517052, -0.013688663952052593, 0.054059676826000214, -0.054040465503931046, 0.0027630364056676626, -0.011133280582726002, -0.010796411894261837, -0.018787873908877373, -0.045065250247716904, 0.014966555871069431, 0.05525955557823181, 0.047254424542188644, 0.0026088764425367117, 0.018384728580713272, -0.026763223111629486, 0.007036441471427679, 0.0008080396219156682, -0.00029648651252500713, -0.0013739269925281405, -0.015684155747294426, 0.00990051869302988, 0.05708594247698784, -0.0051805078983306885, -0.04463859647512436, -0.02384185418486595, 0.013218240812420845, 0.021760156378149986, -0.012021242640912533, -0.03121277131140232, -0.039958126842975616, 0.034212373197078705, -0.024146728217601776, -0.013637963682413101, 0.023000016808509827, -0.00017376724281348288, -0.015229166485369205, -0.005458756349980831, -0.016409389674663544, -0.0363740399479866, -0.020802410319447517, -0.004790181294083595, -0.005616429727524519, -0.016929086297750473, -0.07091217488050461, -0.06783498823642731, 0.06876085698604584, 0.04007919132709503, 0.0056236060336232185, 0.008332675322890282, -0.027819687500596046, -0.1008569598197937, 0.028960300609469414, 0.021938156336545944, -0.020832907408475876, -0.027772972360253334, -0.039100728929042816, 0.006139092147350311, -0.0006554867140948772, -0.025007331743836403, -0.011909793131053448, 0.03502843156456947, -0.003392267506569624, 0.0006313456688076258, 0.05860110744833946, 0.00007342993194470182, -0.049356620758771896, -0.016766905784606934, 0.04727230593562126, 0.0077224052511155605, 0.010300688445568085, -0.035359691828489304, 0.02256334386765957, 0.03820664435625076, 0.05689796432852745, 0.07799167186021805, 0.04980045184493065, -0.015768174082040787, 0.04891040176153183, -0.08849349617958069, -0.02728165313601494, -0.03296079486608505, -0.053169604390859604, 0.019783789291977882, -0.06316791474819183, -0.026397326961159706, 0.06123189628124237, -0.021714603528380394, -0.022212428972125053, 0.030505020171403885, 0.016182029619812965, -0.014749649912118912, 0.02756098471581936, -0.01591198891401291, 0.005722540896385908, 0.013514070771634579, 0.03899506479501724, -0.02677748166024685, 0.005126480013132095, 0.026301221922039986, -0.03408205136656761, 0.0060805631801486015, 0.007113083265721798, -0.0008887742296792567, -0.020280204713344574, -0.01066739484667778, -0.021307388320565224, 0.028644710779190063, 0.0819086804986, 0.01738470233976841, 0.0037989583797752857, 0.0302116759121418, 0.04744033142924309, -0.012248285114765167, -0.0006818993715569377, 0.00211387500166893, 0.013486538082361221, -0.054491493850946426, 0.04033397510647774, -0.02599533088505268, 0.021224355325102806, 0.027379849925637245, 0.007898026145994663, -0.007838175632059574, -0.016618486493825912, 0.008994617499411106, -0.08099091053009033, -0.002223247429355979, 0.038839537650346756, -0.04190342500805855, -0.07864943146705627, 0.004101709462702274, -0.00017911221948452294, -0.029198171570897102, 0.004886948503553867, -0.03091273084282875, 0.06426943838596344, -0.06659302115440369, 0.017202505841851234, -0.00818101316690445, -0.00816288497298956, 0.014111765660345554, 0.005857930518686771, 0.05460885539650917, -0.028103971853852272, -0.012914393097162247, 0.012242879718542099, -0.0038769247476011515, 0.047911230474710464, -0.007535865064710379, -0.014194218441843987, -0.03237282112240791, -0.01963111199438572, 0.015681220218539238, 0.0020687284413725138, -0.042431268841028214, -0.028276996687054634, 0.061364058405160904, 0.016220062971115112, -0.0337039977312088, 0.01828460767865181, -0.012481670826673508, 0.07699868828058243, 0.0178418830037117, 0.009993953630328178, -0.017350561916828156, -0.029711902141571045, 0.018356990069150925, -0.03273756057024002, 0.014334011822938919, -0.05844436585903168, -0.04467271268367767, -0.03802424296736717, -0.021857021376490593, -0.028890460729599, -0.0027872752398252487, -0.019151361659169197, -0.0431058406829834, 0.007048822473734617, 0.027205782011151314, -0.013097243383526802, -0.005619097501039505, 0.04452378675341606, -0.06481941044330597, 0.001564927864819765, 0.04731231555342674, -0.04769650101661682, 0.027254236862063408, -0.0189870186150074, -0.0010457781609147787, -0.05056034028530121, -0.025270909070968628, 0.007777141407132149, 0.0006621976499445736, -0.021084338426589966, -0.059563953429460526, -0.02644958719611168, 0.014524243772029877, -0.0025944651570171118, 0.012869300320744514, -0.0211251862347126, -0.03301622346043587, 0.008441507816314697, 0.015591166913509369, -0.018409159034490585, -0.04568536579608917, 0.035032499581575394, -0.015235926024615765, -0.0062754652462899685, -0.030349459499120712, -0.008625754155218601, 0.04992971941828728, -0.007648743689060211, -0.03302497789263725, -0.024202663451433182, 0.028252989053726196, 0.028077244758605957, 0.0070920283906161785, 0.029202817007899284, -0.005291437264531851, -0.05490081012248993, 0.006332356948405504, 0.02258293144404888, 0.026600748300552368, -0.011876474134624004, 0.022502059116959572, 0.027762357145547867, 0.018919702619314194, 0.014171862974762917, -0.005542938597500324, -0.016880545765161514, 0.013803189620375633, 0.054925817996263504, -0.030981283634901047, -0.00013858132297173142, -0.07043207436800003, -0.0414372980594635, 0.010272794403135777, 0.021892819553613663, 0.041507501155138016, -0.013314148411154747, 0.04992559924721718, 0.01744254119694233, -0.006948241498321295, -0.022075338289141655, -0.017269670963287354, 0.019281946122646332, -0.055636126548051834, 0.0215789545327425, -0.05193227529525757, -0.026359526440501213, 0.05580971762537956, -0.07102756202220917, -0.015669068321585655, 0.015158532187342644, -0.032674238085746765, 0.042629122734069824, -0.04647292196750641, -0.048618827015161514, 0.03642812371253967, -0.0034097786992788315, -0.03630711883306503, 0.004351355601102114, -0.07622577995061874, 0.0250052809715271, -0.03220169246196747, -0.056479476392269135, -0.029826607555150986, 0.020259883254766464, 0.047055866569280624, -0.014323744922876358, -0.006497607566416264, -0.021488096565008163, 0.0495121069252491, 0.03308092802762985, 0.07136398553848267, -0.023473506793379784, 0.005641918163746595, -0.00898709800094366, 0.07234270870685577, 0.02161344699561596, 0.03902177885174751, 0.008859993889927864, 0.00880389753729105, -0.005510776769369841, -0.04003966599702835, 0.03576510399580002, -0.01970658451318741, 0.007621379103511572, -0.0935920774936676, 0.06893474608659744, 0.028794225305318832, -0.032456036657094955, -0.004686804488301277, 0.0642910972237587, -0.01238852459937334, 0.013836486265063286, 0.004304070957005024, -0.00009383988799527287, 0.02187160588800907, 0.05192652344703674, 0.007947319187223911, 0.03187761828303337, 0.0708869993686676, 0.01132202334702015, -0.01722344011068344, 0.020519929006695747, 0.05820241943001747, 0.060289718210697174, 0.06662936508655548, 0.029486818239092827, 0.11380542814731598, -0.008486973121762276, -0.06170063093304634, 0.02420402131974697, 0.01784961111843586, -0.018231594935059547, -0.011589987203478813, -0.010801389813423157, 0.09483784437179565, -0.013050581328570843, 0.04540577530860901, -0.04758520796895027, -0.007490175310522318, 0.026609007269144058, 0.022791100665926933, -0.02717944234609604, -0.008241399191319942, 0.07473341375589371, -0.02725433185696602, -0.029464786872267723, 0.01569696143269539, -0.0393604040145874, -0.027295483276247978, 0.01995142176747322, -0.0026250670198351145, -0.04514606297016144, 0.022982412949204445, -0.020591704174876213, 0.030421976000070572, 0.09350385516881943, -0.0065549034625291824, 0.004299329128116369, -0.0004286823095753789, 0.010361521504819393, 0.03980840742588043, 0.03418159857392311, -0.011515766382217407, 0.029907483607530594, -0.008087290450930595, -0.0009223297238349915, 0.01943926326930523, 0.028276728466153145, 0.023040907457470894, 0.013646659441292286, -0.06746015697717667, -0.014858289621770382, 0.005433198530226946, 0.015027363784611225, -0.055715035647153854, -0.06449561566114426, -0.021382607519626617, -0.04393940791487694, -0.060433510690927505, -0.01261103805154562, 0.029299361631274223, -0.03942282125353813, -0.053734179586172104, -0.018315738067030907, 0.009274962358176708, 0.0015208135591819882, 0.03161373361945152, -0.0732896700501442, -0.02087024785578251, 0.0406583771109581, -0.01728685013949871, -0.017139144241809845, 0.01446838304400444, 0.03846379742026329, -0.03584859147667885, -0.03391509875655174, 0.047660622745752335, -0.023812972009181976, 0.017461922019720078, -0.031108830124139786, -0.013934087939560413, -0.11057578027248383, 0.0001208024550578557, 0.0003995215811301023, -0.03090372122824192, -0.08711627870798111, 0.0077780126594007015, -0.0062614609487354755, 0.02256479486823082, 0.07500077784061432, -0.00766382273286581, 0.018147943541407585, -0.04949796572327614, -0.014443290419876575, 0.023592904210090637, -0.00423114700242877, 0.08435411006212234, -0.030329611152410507, 0.07731971889734268, 0.048875704407691956, 0.003764715977013111, -0.04570630565285683, 0.0044604637660086155, -0.022274591028690338, 0.0011637263232842088, -0.023327361792325974, -0.02790422923862934, -0.02995537407696247, -0.132057324051857, -0.040728483349084854, 0.010123444721102715, -0.011752642691135406, -0.030554188415408134, -0.013512077741324902, -0.015008315443992615, 0.011471787467598915, -0.025052810087800026, 0.00013598502846434712, -0.031632695347070694, -0.0017087224405258894, -0.041030798107385635, -0.040684282779693604, -0.01845581829547882, -0.01258910447359085, 0.005593675654381514, -0.017794473096728325, -0.05037938803434372, -0.021985074505209923, 0.0175155159085989, 0.015432608313858509, 0.00844489224255085, 0.05411367118358612, -0.025246694684028625 ]
318
Efficient Online Reinforcement Learning Fine-Tuning Need Not Retain Offline Data
https://openreview.net/forum?id=HN0CYZbAPw
[ "Zhiyuan Zhou", "Andy Peng", "Qiyang Li", "Sergey Levine", "Aviral Kumar" ]
Poster
The modern paradigm in machine learning involves pre-training on diverse data, followed by task-specific fine-tuning. In reinforcement learning (RL), this translates to learning via offline RL on a diverse historical dataset, followed by rapid online RL fine-tuning using interaction data. Most RL fine-tuning methods require continued training on offline data for stability and performance. However, this is undesirable because training on diverse offline data is slow and expensive for large datasets, and should, in principle, also limit the performance improvement possible because of constraints or pessimism on offline data. In this paper, we show that retaining offline data is unnecessary as long as we use a properly-designed online RL approach for fine-tuning offline RL initializations. To build this approach, we start by analyzing the role of retaining offline data in online fine-tuning. We find that continued training on offline data is mostly useful for preventing a sudden divergence in the value function at the onset of fine-tuning, caused by a distribution mismatch between the offline data and online rollouts. This divergence typically results in unlearning and forgetting the benefits of offline pre-training. Our approach, Warm-start RL (WSRL), mitigates the catastrophic forgetting of pre-trained initializations using a very simple idea. WSRL employs a warmup phase that seeds the online RL run with a very small number of rollouts from the pre-trained policy to do fast online RL. The data collected during warmup bridges the distribution mismatch, and helps ``recalibrate'' the offline Q-function to the online distribution, allowing us to completely discard offline data without destabilizing the online RL fine-tuning. We show that WSRL is able to fine-tune without retaining any offline data, and is able to learn faster and attains higher performance than existing algorithms irrespective of whether they do or do not retain offline data.
Reinforcement learning, fast fine-tuning
We find that previous RL fine-tuning methods fail because of Q-divergence when no offline data is kept, and propose a new method WSRL that can finetune more efficiently with no data retention.
13,523
2412.07762
[ -0.024263419210910797, -0.03839772939682007, 0.008748238906264305, 0.04154275357723236, 0.06173616647720337, -0.0005991528159938753, 0.009164759889245033, -0.014920804649591446, -0.028286660090088844, -0.026627635583281517, -0.043493177741765976, 0.035155393183231354, -0.07611878961324692, -0.028455160558223724, 0.00786335114389658, 0.0524187833070755, 0.04962641000747681, -0.025982148945331573, 0.011300835758447647, 0.00853645708411932, -0.01579083316028118, 0.019040364772081375, 0.023036936298012733, 0.031789571046829224, 0.0032259109430015087, 0.011090153828263283, 0.019578566774725914, 0.010561209172010422, -0.0198646392673254, -0.008842169307172298, 0.05317011848092079, -0.02220829576253891, 0.0162992961704731, 0.007406563498079777, 0.01733516901731491, 0.0006964526255615056, -0.017485490068793297, 0.006190492305904627, -0.0016499285120517015, 0.01586795412003994, -0.04457559064030647, 0.03681210055947304, -0.0249059796333313, 0.005713948514312506, -0.011840755119919777, -0.0019391435198485851, -0.06931863725185394, 0.029172033071517944, 0.02215924859046936, -0.040304116904735565, -0.10699333250522614, 0.050670068711042404, 0.022364316508173943, -0.016513032838702202, -0.021485304459929466, 0.036590881645679474, 0.020834604278206825, -0.07503458857536316, 0.0010163052938878536, -0.06693960726261139, -0.022811084985733032, 0.026265185326337814, 0.007251520175486803, 0.027579274028539658, -0.025042586028575897, -0.0028275237418711185, 0.02892635203897953, 0.04323713481426239, -0.01918964833021164, 0.004063525702804327, -0.04607732966542244, -0.025753630325198174, -0.011855448596179485, 0.0030388261657208204, -0.0022957941982895136, -0.025958731770515442, 0.018578268587589264, 0.02830818109214306, 0.07018416374921799, 0.004951695445924997, 0.008202134631574154, 0.013268303126096725, 0.02026343159377575, 0.026117080822587013, 0.0053881253115832806, -0.010902614332735538, -0.03546904772520065, -0.046911537647247314, -0.10296139121055603, 0.0428292341530323, -0.05164451152086258, -0.03519386798143387, 0.028993962332606316, 0.03711140900850296, -0.007583527825772762, 0.009843813255429268, -0.005305960774421692, 0.031368836760520935, 0.01597723737359047, -0.004545329604297876, -0.0703933835029602, -0.019412634894251823, 0.011505295522511005, -0.0316653847694397, -0.10159850865602493, -0.001909575774334371, -0.007085919845849276, -0.011580482125282288, -0.007682590279728174, 0.04586965590715408, -0.04475397989153862, 0.003084325697273016, 0.014252439141273499, -0.033829592168331146, -0.10054094344377518, 0.017606433480978012, 0.017058948054909706, 0.06984787434339523, -0.009838209487497807, 0.0075183589942753315, 0.03373407572507858, 0.03166540339589119, -0.02473156899213791, 0.06894925981760025, -0.0013175582280382514, -0.002241401933133602, 0.029973525553941727, 0.029170162975788116, -0.03397980332374573, -0.0546351782977581, 0.0654187947511673, 0.03742413967847824, -0.0038901260122656822, 0.001965712523087859, -0.02933155931532383, 0.02312103658914566, -0.01979605294764042, 0.005506450776010752, 0.05309315398335457, 0.024735622107982635, -0.02660459093749523, -0.022283943369984627, 0.06856384873390198, -0.018493222072720528, 0.06731290370225906, -0.00764219556003809, -0.01904384233057499, -0.04392099753022194, -0.057236943393945694, -0.010806952603161335, 0.032232899218797684, -0.02751351147890091, -0.019314073026180267, -0.05806265398859978, 0.03855576738715172, 0.06067458540201187, 0.016728248447179794, 0.0277453251183033, -0.00012988293019589037, 0.00916803628206253, 0.015939386561512947, 0.012081538327038288, 0.009493536315858364, -0.015509973280131817, 0.01512106228619814, -0.06584370881319046, 0.05852871760725975, 0.015695882961153984, 0.008073917590081692, 0.0011008377186954021, -0.04397093877196312, -0.0329972505569458, 0.04664988070726395, -0.0007446447270922363, -0.042476557195186615, 0.004833235405385494, 0.043971166014671326, 0.0027002920396625996, 0.028878068551421165, 0.005927599035203457, -0.08825452625751495, 0.02231028862297535, 0.008264428935945034, 0.011340166442096233, -0.0031339924316853285, -0.03237159922719002, 0.08408964425325394, -0.019445549696683884, 0.019884394481778145, 0.005158782936632633, -0.06971489638090134, -0.01267189159989357, 0.019351638853549957, -0.03152880817651749, 0.07669059932231903, -0.005947957746684551, -0.027984682470560074, 0.05608845502138138, 0.021752843633294106, 0.04806454852223396, 0.029023678973317146, -0.022374548017978668, 0.02031160704791546, -0.04094123840332031, -0.03872760757803917, -0.003283274592831731, 0.05101095885038376, -0.054352257400751114, 0.00008695307042216882, -0.006445595528930426, -0.04393476992845535, 0.0019546158146113157, -0.022117145359516144, -0.002777993679046631, 0.002842106856405735, 0.03869497776031494, -0.0239478200674057, 0.004869320895522833, 0.01611126773059368, -0.059859536588191986, 0.038125380873680115, 0.0178297720849514, -0.03511328995227814, 0.005283474922180176, -0.051417429000139236, 0.0929715558886528, 0.06542366743087769, -0.03626369312405586, -0.020075200125575066, 0.02667161263525486, -0.009036790579557419, 0.01635264977812767, 0.004090834408998489, -0.04097067192196846, 0.021090278401970863, -0.0040281061083078384, -0.012127482332289219, -0.024144189432263374, 0.05618078261613846, -0.030945217236876488, -0.015201171860098839, 0.06944841891527176, 0.01568121835589409, 0.06109181419014931, 0.02152966894209385, 0.022181987762451172, 0.024591557681560516, 0.005232882685959339, -0.006247848737984896, -0.018229661509394646, -0.042274702340364456, -0.0027333488687872887, 0.017536381259560585, -0.01735619083046913, 0.015166761353611946, -0.057813096791505814, -0.028301255777478218, -0.01212930679321289, 0.06139679253101349, 0.039502400904893875, 0.011708436533808708, 0.04025842621922493, 0.005182933993637562, -0.01728435605764389, 0.01470592524856329, -0.1067725419998169, -0.045189257711172104, 0.0009478421998210251, 0.0572366900742054, 0.0331922248005867, 0.02236309088766575, -0.009840055368840694, 0.03294287994503975, -0.009833946824073792, -0.04622991010546684, -0.0032123804558068514, 0.021951928734779358, -0.009195219725370407, -0.02975522167980671, -0.020283576101064682, 0.03296099230647087, 0.08736713975667953, 0.00996401160955429, -0.0289569403976202, -0.025126425549387932, -0.03799854591488838, 0.0010546856792643666, -0.031554605811834335, -0.022645017132163048, 0.03274476155638695, 0.008854958228766918, 0.020826557651162148, -0.038100987672805786, 0.030298667028546333, 0.03925320878624916, 0.0817447379231453, 0.02302500046789646, 0.0347239188849926, 0.014323634095489979, 0.02053144760429859, -0.016980402171611786, -0.007208280730992556, -0.015277662314474583, 0.020442405715584755, 0.0013892326969653368, -0.007024896331131458, -0.011445335112512112, 0.008696961216628551, -0.25649723410606384, -0.03352402523159981, 0.026213260367512703, 0.014786136336624622, 0.04523938149213791, 0.0015530926175415516, 0.04971469193696976, -0.024285247549414635, -0.03343132138252258, 0.015167350880801678, 0.04798112064599991, 0.046667542308568954, 0.007197828497737646, 0.06026465818285942, 0.03223850205540657, 0.04225071147084236, 0.019427547231316566, -0.013652389869093895, 0.015549435280263424, 0.01886792480945587, -0.014610886573791504, -0.0934121236205101, -0.021703915670514107, 0.03607245907187462, 0.012661220505833626, 0.07449452579021454, -0.06343517452478409, -0.010904759168624878, -0.03631998226046562, -0.029102873057127, -0.017616618424654007, -0.03980183228850365, -0.015367578715085983, 0.04442457854747772, 0.0414254330098629, -0.013579820282757282, 0.03774980828166008, -0.0066053071059286594, 0.03468270227313042, 0.021140217781066895, -0.019731657579541206, -0.008439464494585991, -0.0083420155569911, 0.04161325842142105, 0.057600393891334534, 0.06334743648767471, -0.0655091181397438, -0.014422272332012653, -0.004661619663238525, 0.047203429043293, 0.00099125225096941, -0.031900856643915176, -0.01354842260479927, 0.015283492393791676, 0.005378136411309242, -0.03405769169330597, -0.02384999394416809, -0.01062898337841034, -0.0028590925503522158, -0.0015545411733910441, 0.010519728995859623, -0.04513489082455635, -0.030950011685490608, -0.0340803824365139, -0.009424109943211079, -0.05637842416763306, -0.05723787099123001, -0.030962178483605385, 0.033727552741765976, 0.07083334773778915, -0.01127837784588337, -0.01295466162264347, -0.021016955375671387, -0.10250049084424973, 0.025811946019530296, 0.008077050559222698, -0.022299982607364655, -0.019561396911740303, 0.037323594093322754, 0.0631660744547844, -0.017894528806209564, -0.0264712106436491, -0.003699986496940255, -0.008297992870211601, 0.024489086121320724, -0.0038454621098935604, 0.05404156073927879, -0.0355168953537941, -0.015451240353286266, -0.01833035983145237, 0.052330244332551956, -0.002856045262888074, 0.027654262259602547, -0.01900106482207775, 0.07079584896564484, 0.04336686059832573, 0.023800842463970184, 0.03557271137833595, 0.042339276522397995, 0.013934004120528698, 0.020765123888850212, -0.0885118618607521, 0.0014015991473570466, -0.057607416063547134, -0.012246712110936642, 0.018474305048584938, -0.0798424631357193, -0.024141786620020866, 0.028934672474861145, 0.015417195856571198, -0.004732686560600996, -0.03745805472135544, -0.02423393912613392, -0.006019135005772114, -0.004525316879153252, -0.014544504694640636, 0.012667571194469929, 0.035977911204099655, 0.026595117524266243, -0.03210226818919182, -0.041943617165088654, 0.03550572693347931, -0.013886647298932076, 0.0010514886816963553, -0.010713492520153522, -0.03615960851311684, 0.03645508363842964, -0.017940714955329895, 0.0026695148553699255, -0.010135119780898094, 0.026851609349250793, 0.03718632832169533, -0.0009095979039557278, 0.032357409596443176, 0.055059563368558884, -0.011418226175010204, -0.032756026834249496, 0.005779966711997986, 0.04056448116898537, -0.004997889045625925, 0.008985147811472416, -0.0024693659506738186, 0.05339523404836655, 0.03790196776390076, 0.02487773820757866, 0.04212569072842598, 0.019236231222748756, 0.008619243279099464, 0.02631651796400547, -0.019473431631922722, 0.03134169057011604, -0.06866438686847687, 0.0034534973092377186, -0.0446297861635685, -0.0007396111614070833, -0.023075314238667488, 0.031069599092006683, -0.025401704013347626, 0.0010413010604679585, -0.05796027556061745, 0.016407933086156845, -0.02758181281387806, -0.050889767706394196, 0.006745694205164909, 0.02563644014298916, 0.05653074383735657, -0.008775884285569191, -0.013379190117120743, 0.0035799986217170954, 0.005145213101059198, 0.0004513498570304364, -0.01793966256082058, -0.018492581322789192, -0.03355247899889946, -0.026090361177921295, -0.03357679024338722, 0.007277072872966528, -0.055340930819511414, 0.007978945039212704, 0.0038234898820519447, 0.003026452846825123, -0.004315584432333708, -0.028910649940371513, 0.004693147726356983, 0.07146847248077393, -0.006886031478643417, 0.011049937456846237, 0.00414856243878603, 0.0013243677094578743, 0.015856681391596794, -0.009849879890680313, 0.044892050325870514, -0.017065739259123802, -0.0327463299036026, -0.011987999081611633, -0.037378761917352676, 0.00921943224966526, 0.019542034715414047, -0.028587767854332924, 0.019968032836914062, -0.009632189758121967, 0.0024027845356613398, -0.004982249345630407, -0.011632412672042847, 0.025992413982748985, -0.06447912752628326, -0.016216453164815903, 0.032296277582645416, -0.017900388687849045, 0.038312822580337524, -0.07298646867275238, -0.03634052351117134, -0.021752649918198586, -0.002924269763752818, 0.019241420552134514, -0.02593042701482773, -0.04148849844932556, -0.0011725119547918439, -0.014705846086144447, -0.02344358153641224, 0.01809675246477127, -0.00268534361384809, -0.019454456865787506, -0.012626325711607933, -0.011241830885410309, 0.032311879098415375, -0.018827006220817566, -0.02678755484521389, 0.018442848697304726, 0.002259588800370693, 0.027018720284104347, -0.04149400815367699, 0.00795288197696209, 0.03774157166481018, -0.016214918345212936, 0.021582193672657013, -0.06208290159702301, 0.07278423756361008, 0.002542086411267519, -0.04076910763978958, -0.02718300186097622, 0.002859806874766946, -0.05133979395031929, -0.004691892769187689, -0.02906925603747368, -0.004398843739181757, -0.007065152283757925, 0.04555247724056244, 0.017961721867322922, 0.0027687714900821447, 0.0019511033315211535, 0.009842283092439175, -0.020578093826770782, -0.0011625094339251518, 0.04412514343857765, -0.03786735236644745, -0.018276726827025414, -0.0703493282198906, -0.030406290665268898, 0.04782582074403763, -0.024394940584897995, 0.002735941903665662, -0.057046324014663696, 0.012993855401873589, 0.01491115428507328, 0.03397328406572342, 0.03955911099910736, -0.029089991003274918, 0.06756697595119476, -0.06806058436632156, 0.03309178724884987, -0.07243882119655609, -0.013660924509167671, 0.06946359574794769, -0.022805267944931984, 0.030199497938156128, 0.01801818422973156, -0.026024922728538513, 0.03887346386909485, -0.03553474694490433, -0.09086751937866211, 0.026234472170472145, -0.04363883659243584, -0.04537564143538475, 0.046350959688425064, -0.04774758964776993, -0.03376893326640129, -0.026267537847161293, -0.038454245775938034, 0.009125500917434692, -0.029521873220801353, 0.052195508033037186, -0.03530701994895935, -0.030528806149959564, -0.03668488934636116, 0.024115730077028275, 0.005621755495667458, 0.01975218765437603, 0.011632244102656841, 0.032278724014759064, -0.03455568850040436, 0.06053553894162178, 0.03212517499923706, 0.013253182172775269, 0.011572331190109253, 0.018741372972726822, 0.024071838706731796, -0.012266892939805984, 0.047861021012067795, -0.013901444151997566, -0.004673775751143694, -0.0456080362200737, 0.04230061545968056, 0.02500944398343563, -0.06648426502943039, 0.0012409816263243556, 0.028198575600981712, -0.03853020817041397, -0.00376686779782176, 0.01575303263962269, 0.023359693586826324, 0.001684534945525229, 0.08091679960489273, 0.02058841846883297, 0.0381852425634861, 0.08462611585855484, 0.03820342198014259, -0.007198682986199856, -0.01083388552069664, 0.07532438635826111, 0.08615582436323166, 0.04822227731347084, -0.025513796135783195, 0.05584532022476196, -0.04245744273066521, -0.05927613005042076, 0.03704160451889038, -0.0011988556943833828, -0.03182976320385933, -0.03431209549307823, 0.019330095499753952, 0.047367386519908905, -0.01659032143652439, 0.06242102012038231, -0.05705363303422928, -0.019361436367034912, 0.054859887808561325, -0.00498751038685441, -0.009268599562346935, 0.02757737971842289, 0.025969961658120155, 0.042224444448947906, -0.014021271839737892, -0.022236518561840057, 0.005072880070656538, -0.016216346994042397, 0.01018567755818367, -0.002046719193458557, -0.04069044068455696, -0.00283231632784009, 0.007670889608561993, 0.01891731098294258, 0.11569061130285263, -0.05853820964694023, -0.01146357785910368, 0.015499581582844257, 0.007049277424812317, 0.005170788150280714, 0.021359968930482864, -0.010828412137925625, -0.015916256234049797, 0.021606747061014175, -0.022442100569605827, 0.019417880102992058, 0.026171380653977394, -0.0018012769287452102, 0.01894601620733738, -0.04985290765762329, -0.0059172664768993855, 0.012414990924298763, 0.007489456795156002, -0.03276439756155014, -0.04118850827217102, -0.02804320864379406, -0.04594898223876953, -0.049726035445928574, -0.06050335243344307, -0.003653113730251789, -0.016762690618634224, -0.03422630950808525, 0.0036653063725680113, -0.029150433838367462, 0.0017602245789021254, -0.01061414834111929, -0.06982201337814331, -0.0060697211883962154, 0.01820475235581398, -0.023504432290792465, 0.04294483736157417, 0.0326167531311512, 0.028172755613923073, -0.005296141374856234, -0.023525098338723183, 0.03203167766332626, -0.00206848606467247, 0.03600709140300751, -0.00004724774771602824, -0.011908839456737041, -0.08701375126838684, 0.010007320903241634, 0.021031856536865234, -0.02341081202030182, -0.06920779496431351, 0.01158848311752081, -0.024400005117058754, 0.010788093321025372, 0.06128736585378647, -0.006348529364913702, -0.0009506102069281042, -0.029314318671822548, -0.005513051990419626, 0.0023084855638444424, 0.0450756661593914, 0.04498232528567314, -0.058616477996110916, 0.059288058429956436, 0.039221182465553284, -0.022441020235419273, -0.07090236991643906, 0.04096068814396858, 0.020400362089276314, -0.032010700553655624, -0.02182924933731556, -0.04097611457109451, -0.0035440041683614254, -0.0972796231508255, -0.027061400935053825, 0.048289742320775986, 0.013100270181894302, -0.028418203815817833, -0.019453376531600952, -0.0032516622450202703, -0.021135203540325165, 0.0025127113331109285, -0.033926282078027725, -0.002928361529484391, -0.06837432831525803, -0.01640000008046627, -0.048873431980609894, 0.047866884618997574, -0.03540372475981712, 0.0029089516028761864, -0.026950446888804436, -0.027796197682619095, 0.023271683603525162, 0.013241316191852093, 0.032074034214019775, 0.023547401651740074, -0.004928667563945055, -0.008719009347259998 ]
319
Making Text Embedders Few-Shot Learners
https://openreview.net/forum?id=wfLuiDjQ0u
[ "Chaofan Li", "Minghao Qin", "Shitao Xiao", "Jianlyu Chen", "Kun Luo", "Defu Lian", "Yingxia Shao", "Zheng Liu" ]
Poster
Large language models (LLMs) with decoder-only architectures have demonstrated exceptional text-generation capabilities across a variety of tasks. Some researchers have also adapted these models for text representation tasks. However, in text representation tasks, these models often face performance degradation on unseen tasks. In-context learning (ICL), which leverages examples provided in the input context, enables LLMs to handle unseen tasks effectively. Inspired by this, we aim to fully utilize the inherent properties of LLMs to enhance text representation performance across different tasks through the ICL approach. In this paper, we introduce a simple yet effective training strategy, which significantly improves text representation capabilities. Unlike previous models that prepend task instructions to the text, our method randomly samples a varying number of examples during training, endowing the embedding model with in-context learning abilities while maintaining its zero-shot capabilities. This approach does not require additional data construction or modifications to the model architecture. On the contrary, we find that some popular modifications to the model, such as bidirectional attention, can degrade performance, undermining the inherent characteristics of LLMs. We have publicly released our method at this \href{https://github.com/FlagOpen/FlagEmbedding}{repo}.
large language model, embedding model, in-context learning
null
13,517
2409.15700
[ -0.006511179264634848, -0.006304183043539524, -0.02696920745074749, 0.046350982040166855, 0.042687252163887024, -0.0024553807452321053, 0.030084067955613136, 0.03590204566717148, -0.02154303528368473, 0.021616816520690918, -0.0382264144718647, 0.026668598875403404, -0.05766956880688667, -0.02358342707157135, -0.009432823397219181, 0.06004258617758751, 0.02049155719578266, -0.006056012120097876, 0.03188291937112808, 0.01253441907465458, 0.01106939185410738, -0.004106713458895683, 0.036648236215114594, 0.008460020646452904, 0.032750535756349564, 0.02872628904879093, 0.025328904390335083, -0.00928579457104206, -0.046118829399347305, 0.009661504998803139, 0.02703399583697319, -0.01514709647744894, 0.025570835918188095, -0.031221747398376465, 0.017590094357728958, -0.006813390180468559, -0.05916966497898102, 0.014864769764244556, 0.023184185847640038, -0.0051639205776154995, -0.04941295459866524, 0.01834992878139019, -0.0015119597082957625, 0.010380749590694904, -0.04782823100686073, 0.009794034995138645, -0.11260951310396194, 0.011250884272158146, 0.020421918481588364, -0.045333582907915115, -0.12169604748487473, 0.04812247306108475, 0.000518446322530508, -0.005406539887189865, 0.022922566160559654, 0.03246361389756203, 0.05618970841169357, -0.09142416715621948, 0.01733388565480709, -0.02881733328104019, -0.04499184712767601, 0.012436916120350361, -0.0032953096088021994, 0.04187510162591934, -0.0026795282028615475, -0.038740966469049454, -0.018010122701525688, 0.009123085997998714, -0.07309531420469284, -0.04396592825651169, -0.028019392862915993, 0.025065481662750244, -0.0323123037815094, 0.03295133262872696, 0.02007712982594967, -0.05669240280985832, 0.013910269364714622, 0.048451825976371765, 0.07003004103899002, 0.02010524459183216, 0.007845908403396606, 0.013146549463272095, 0.03387445956468582, 0.02975989319384098, 0.005291332490742207, 0.0011822175001725554, -0.03985094279050827, -0.040393657982349396, -0.05709207430481911, 0.01874656230211258, -0.023565907031297684, -0.062387581914663315, 0.020831367000937462, 0.030088577419519424, 0.043739452958106995, 0.02270647883415222, 0.012869063764810562, 0.04121033847332001, -0.018331093713641167, 0.013779866509139538, -0.032982442528009415, -0.017657939344644547, 0.037278760224580765, 0.003039405681192875, -0.12019472569227219, -0.011778277345001698, -0.014999505132436752, -0.0017817955231294036, 0.007493957411497831, -0.025644566863775253, -0.027348877862095833, -0.03347679600119591, 0.010140328668057919, -0.010296091437339783, -0.06244872882962227, 0.010950670577585697, 0.024751925840973854, 0.04908183217048645, -0.021310212090611458, 0.010178890079259872, 0.030537722632288933, 0.06135142222046852, 0.034919317811727524, 0.061640139669179916, -0.014636954292654991, 0.0173004399985075, 0.009601798839867115, 0.0052095032297074795, -0.044673219323158264, -0.032252512872219086, 0.004195047542452812, 0.04937192052602768, -0.01984497159719467, 0.020618654787540436, -0.006894007325172424, -0.0005831474554724991, 0.010470587760210037, 0.005381853319704533, 0.04581820219755173, -0.007446834351867437, -0.0019080393249168992, -0.02163790725171566, 0.055033303797245026, -0.029386410489678383, 0.09331097453832626, 0.004644990433007479, -0.04382888227701187, -0.015609309077262878, -0.02162761427462101, -0.00802822969853878, 0.031651128083467484, -0.03632602468132973, 0.003453426528722048, -0.06156882643699646, 0.05794018507003784, 0.0723654255270958, 0.028612809255719185, 0.008802734315395355, 0.007498032413423061, 0.03187037631869316, 0.017244528979063034, -0.005736103281378746, -0.057637862861156464, 0.023652076721191406, -0.010075071826577187, -0.0837165117263794, 0.01675129495561123, -0.00208836211822927, -0.02332390658557415, -0.014132543466985226, -0.022153696045279503, -0.0612090602517128, 0.05976934731006622, -0.03465095907449722, -0.011970873922109604, -0.020106833428144455, 0.06746222823858261, 0.004981735721230507, 0.029545964673161507, 0.03284847363829613, -0.07639776915311813, 0.05022846907377243, 0.018854038789868355, -0.0008415250340476632, 0.00879640318453312, -0.01582586206495762, 0.06910508871078491, -0.01675347238779068, -0.011090549640357494, 0.010019591078162193, -0.08598833531141281, -0.02508540451526642, 0.017427384853363037, -0.006814547348767519, 0.06708779186010361, -0.025475865229964256, 0.007884985767304897, 0.03659540042281151, 0.024055765941739082, 0.038292866200208664, 0.04424905776977539, -0.012744421139359474, 0.036379843950271606, -0.006490317638963461, -0.02630864456295967, 0.0036957755219191313, 0.0168302059173584, -0.0382540300488472, -0.052268654108047485, 0.01284975465387106, -0.0072405654937028885, 0.0010675076628103852, 0.034657642245292664, -0.0029048779979348183, -0.02650715410709381, 0.0025651368778198957, -0.011429484002292156, 0.008061254397034645, 0.02761550433933735, -0.05265907198190689, 0.04033779725432396, 0.005171714350581169, -0.020329946652054787, -0.0003456466947682202, -0.03933468833565712, 0.10402149707078934, 0.0354628823697567, -0.027747873216867447, 0.00036666193045675755, -0.010779709555208683, 0.017618846148252487, -0.02398296631872654, 0.00504786754027009, -0.045525599271059036, 0.008332151919603348, -0.013273770920932293, -0.009984491392970085, -0.035716839134693146, 0.04004722461104393, -0.02612893655896187, -0.018387259915471077, 0.09452138096094131, -0.056799061596393585, 0.037691548466682434, 0.002027310896664858, 0.02355327643454075, 0.029314259067177773, -0.017211565747857094, -0.010844776406884193, -0.03935188055038452, 0.001807155436836183, -0.003907063044607639, -0.024295354261994362, -0.0252804234623909, 0.013351368717849255, -0.02480716072022915, -0.05336033180356026, -0.009784705005586147, 0.06122176721692085, 0.03494412451982498, -0.010476663708686829, 0.02520902454853058, -0.0020669838413596153, -0.02988540753722191, 0.01827661693096161, -0.07286269217729568, -0.015451591461896896, -0.01663724146783352, 0.027289578691124916, -0.011669306084513664, 0.03885931521654129, 0.009419552981853485, 0.009441346861422062, -0.026784440502524376, -0.012353884056210518, 0.0010556629858911037, 0.04440347105264664, 0.0070782797411084175, -0.042472872883081436, -0.023429419845342636, -0.03462275490164757, 0.04218614101409912, -0.013838629238307476, -0.02595432847738266, -0.02758610062301159, -0.027806110680103302, -0.021842993795871735, -0.0542718730866909, -0.02936777099967003, 0.02122756466269493, 0.032818753272295, 0.02419382892549038, -0.016331695020198822, 0.00021664200176019222, 0.04344779625535011, 0.08124739676713943, 0.03736196458339691, -0.008013037964701653, -0.02628147415816784, 0.030722394585609436, -0.028634347021579742, 0.009519072249531746, 0.017469115555286407, 0.03633982315659523, -0.01696258783340454, 0.0023821794893592596, 0.017323866486549377, -0.002377925906330347, -0.2776671350002289, -0.012151756323873997, 0.008151154033839703, -0.03565989062190056, 0.03778119757771492, -0.02779540605843067, 0.04257588088512421, -0.02608724869787693, -0.03288785740733147, 0.017875971272587776, -0.002405297476798296, 0.05487076938152313, -0.0045179277658462524, 0.0008755867020227015, 0.048476725816726685, 0.024191753938794136, 0.02540886402130127, -0.02326003462076187, -0.0027284722309559584, 0.04939171299338341, 0.006732662208378315, -0.07360352575778961, -0.02766554057598114, 0.05521636828780174, -0.018357740715146065, 0.04422644153237343, -0.09341789782047272, 0.002275619423016906, -0.003643220756202936, 0.020002398639917374, 0.002647100482136011, -0.03797287866473198, -0.00006379107071552426, 0.010772068984806538, -0.01422986201941967, 0.022496961057186127, 0.08427011966705322, 0.038014888763427734, 0.02190808765590191, -0.0006544979405589402, 0.019711507484316826, -0.022462135180830956, -0.005519228056073189, -0.027702847495675087, 0.07662416994571686, -0.00695056701079011, -0.07346989959478378, -0.024900902062654495, -0.01377180777490139, 0.03454785421490669, -0.014565659686923027, -0.0469515323638916, -0.0019303588196635246, 0.030393654480576515, 0.028292037546634674, -0.025006229057908058, -0.0009049567161127925, -0.02718111127614975, -0.00618322566151619, -0.026409229263663292, -0.0023695204872637987, -0.036870915442705154, -0.05901721864938736, -0.04348810389637947, -0.00007539548823842779, -0.029969463124871254, -0.05812741816043854, -0.059988800436258316, 0.0233222134411335, 0.055048804730176926, -0.048517100512981415, 0.04483529552817345, -0.009250018745660782, -0.0810234397649765, 0.025658363476395607, -0.013419314287602901, 0.001823471044190228, -0.02456958219408989, 0.01837676391005516, 0.05279456079006195, -0.056290462613105774, -0.04932694882154465, 0.001058381050825119, -0.004954429343342781, 0.0426710769534111, -0.02790364809334278, 0.00821305438876152, -0.03647204488515854, -0.0038021255750209093, -0.031797245144844055, 0.042919669300317764, 0.01212609838694334, -0.007800173945724964, 0.05055855214595795, 0.037134673446416855, 0.019116882234811783, 0.028118707239627838, 0.05587207153439522, 0.04347514733672142, 0.02674296125769615, 0.011415176093578339, -0.07238083332777023, -0.02196275256574154, -0.035994041711091995, -0.029826994985342026, 0.047431621700525284, -0.08581513166427612, -0.0347941517829895, 0.03012959100306034, -0.009442443028092384, -0.036994945257902145, -0.04968669265508652, 0.00389771512709558, -0.00543265650048852, -0.04487061873078346, 0.009830377995967865, 0.025097142904996872, 0.017927154898643494, 0.016917886212468147, -0.03826246038079262, -0.020235469564795494, 0.043611641973257065, -0.0046604531817138195, 0.012203793041408062, 0.012273324653506279, -0.022557485848665237, 0.011678599752485752, -0.006735028233379126, -0.007037841249257326, -0.034212756901979446, 0.04245535284280777, 0.03040117770433426, -0.0014468508306890726, 0.016424261033535004, 0.05303984880447388, -0.026622874662280083, 0.025939512997865677, -0.0015697969356551766, 0.026656582951545715, -0.0035072723403573036, -0.011382787488400936, -0.008973303250968456, 0.027459001168608665, 0.035234421491622925, 0.03777647018432617, 0.004151395056396723, -0.0013876190641894937, 0.03762451931834221, -0.016430145129561424, 0.017346404492855072, 0.035745467990636826, -0.04807429388165474, -0.03273973986506462, -0.005210691597312689, 0.020976832136511803, -0.020542705431580544, 0.015422973781824112, -0.0016597916837781668, 0.018212663009762764, -0.06457667052745819, 0.04949593171477318, 0.0022150378208607435, -0.01158098690211773, 0.02245309390127659, 0.01854068972170353, 0.030126478523015976, -0.0016377036226913333, 0.017455561086535454, 0.056097276508808136, 0.011247973889112473, 0.021916478872299194, -0.024612456560134888, -0.04044162854552269, 0.0007462595240212977, -0.03702333942055702, 0.017515745013952255, -0.010732983238995075, 0.02969237044453621, -0.024381032213568687, 0.026155883446335793, 0.02806626446545124, -0.026726815849542618, 0.018313204869627953, 0.006430812645703554, 0.08844756335020065, 0.0030206134542822838, 0.03231967240571976, 0.00999602023512125, -0.03575971722602844, 0.006380729377269745, -0.016670191660523415, 0.01212537195533514, 0.004867919720709324, -0.042491793632507324, -0.043745007365942, -0.040468305349349976, 0.006640113890171051, 0.01553342305123806, 0.003984441049396992, -0.006462396588176489, -0.03868772089481354, 0.00009066992060979828, -0.06290896981954575, -0.0045886714942753315, 0.01173481997102499, -0.08505334705114365, 0.0035933314356952906, -0.009823235683143139, -0.014939526095986366, 0.012025927193462849, -0.031741827726364136, -0.03646840900182724, -0.05207432433962822, -0.017003944143652916, 0.02589109167456627, -0.03487446904182434, -0.017108064144849777, -0.03408195823431015, 0.0015383540885522962, -0.014353643171489239, 0.0023868184071034193, -0.009535351768136024, -0.016572173684835434, -0.021616816520690918, -0.005635019391775131, 0.06113330274820328, -0.02546248957514763, -0.02250717394053936, -0.0021505358163267374, -0.03424813225865364, 0.04168300703167915, -0.03434689715504646, 0.0729418694972992, 0.06599253416061401, -0.03820561245083809, 0.014790983870625496, -0.0314507894217968, 0.033783938735723495, 0.01429399847984314, -0.00293784704990685, 0.007847070693969727, -0.014049472287297249, -0.041353289037942886, 0.03265723958611488, 0.012714453041553497, 0.02609206736087799, 0.01261238381266594, 0.00889069028198719, -0.025875570252537727, 0.03398839011788368, 0.030492903664708138, 0.027136962860822678, -0.03543081134557724, -0.01626497693359852, 0.06789906322956085, -0.012340523302555084, -0.04622599110007286, -0.0532621368765831, -0.03477653115987778, 0.027607470750808716, 0.011323334649205208, 0.03156888857483864, -0.05277564376592636, 0.0655050203204155, 0.04055606946349144, 0.0337829627096653, 0.02093699388206005, -0.03382726386189461, 0.04682859405875206, -0.023231592029333115, -0.015594356693327427, -0.07577811926603317, -0.03796539828181267, 0.05059574916958809, -0.011818342842161655, 0.004827326629310846, 0.003661134047433734, -0.031242122873663902, 0.036452047526836395, -0.007309250999242067, -0.06326070427894592, 0.00018232407455798239, -0.0191558375954628, 0.023897966369986534, 0.032346393913030624, -0.011263076215982437, -0.010955561883747578, -0.02476448379456997, -0.04207497835159302, -0.027850473299622536, 0.007991783320903778, 0.06274339556694031, -0.04101292043924332, 0.006766174919903278, -0.010400451719760895, 0.0034104418009519577, 0.011708029545843601, 0.04891738295555115, 0.04615486413240433, 0.0353507362306118, -0.015167039819061756, 0.05874697118997574, 0.01048875693231821, -0.015814146026968956, 0.004143775440752506, -0.010197693482041359, -0.038535114377737045, -0.05741235241293907, 0.052257075905799866, 0.003277586540207267, 0.004583390429615974, -0.04271060228347778, 0.06909666210412979, 0.042480792850255966, -0.010318873450160027, -0.04435786232352257, 0.026521747931838036, -0.05176524072885513, -0.0003768322931136936, -0.0032703951001167297, 0.006078572943806648, -0.029124537482857704, 0.0707189291715622, 0.03751661628484726, 0.011903028003871441, 0.06313680857419968, 0.002090710448101163, -0.02542457915842533, -0.016281357035040855, 0.03923999145627022, 0.053369950503110886, 0.060103897005319595, 0.020911427214741707, 0.05599345266819, -0.04755612835288048, -0.046989019960165024, 0.0092162461951375, 0.012862902134656906, 0.0004189613100606948, -0.05388501659035683, 0.007825683802366257, 0.07114572077989578, -0.00930467527359724, 0.05492968484759331, -0.02353978157043457, -0.009807992726564407, 0.03766750916838646, 0.009657119400799274, -0.006393346469849348, 0.0625116154551506, 0.03347894176840782, 0.02642207406461239, -0.050900209695100784, -0.019317004829645157, 0.003412073478102684, -0.03640471026301384, 0.028037402778863907, 0.033421486616134644, 0.006070730276405811, -0.009388163685798645, -0.025541212409734726, 0.07999897003173828, 0.1293194442987442, -0.030616743490099907, -0.039450664073228836, 0.008902352303266525, 0.01673661544919014, 0.03248625621199608, 0.05474453046917915, -0.006509683560580015, -0.04832310602068901, -0.012100527994334698, -0.038148149847984314, -0.008814284577965736, 0.011020389385521412, -0.012579105794429779, 0.015966031700372696, -0.02191614732146263, -0.03692285716533661, -0.0063251289539039135, 0.02488004043698311, -0.05710185691714287, -0.04364907369017601, -0.008736132644116879, -0.0241592675447464, -0.04767000675201416, -0.05499168485403061, 0.040973011404275894, 0.019943177700042725, -0.03314642235636711, -0.017437029629945755, -0.057854488492012024, 0.000024352644686587155, 0.008442981168627739, -0.06031590700149536, 0.038924477994441986, 0.022696156054735184, 0.024090835824608803, -0.030584469437599182, 0.041488513350486755, 0.0016388314543291926, -0.012572894804179668, -0.01886923424899578, 0.03105825185775757, 0.025328893214464188, 0.029554501175880432, -0.011687412858009338, -0.019651226699352264, -0.09222664684057236, -0.0025425644125789404, 0.030067529529333115, -0.02751116454601288, -0.07035543769598007, 0.011878026649355888, -0.015489122830331326, 0.04708760604262352, 0.06302332133054733, -0.010533961467444897, 0.027899324893951416, -0.005547632928937674, -0.0006385071319527924, -0.010196651332080364, 0.03715746849775314, 0.053548093885183334, -0.009015563875436783, 0.07284647971391678, 0.042316287755966187, -0.012368766590952873, -0.00628252699971199, -0.025383073836565018, 0.018028495833277702, -0.014268233440816402, -0.02498536929488182, -0.0017710794927552342, -0.0347638875246048, -0.08500737696886063, -0.01897341199219227, 0.02022268809378147, 0.006098766811192036, -0.029911145567893982, -0.005242460872977972, -0.023381590843200684, -0.0563628226518631, -0.009236144833266735, -0.030055077746510506, 0.005242366809397936, -0.003047363134101033, -0.019199151545763016, -0.0639985054731369, 0.012189477682113647, -0.01565570943057537, -0.04050823673605919, -0.03312673047184944, -0.03532177582383156, 0.014438406564295292, 0.005883203819394112, 0.04500642418861389, -0.003239370184019208, 0.0025789286009967327, -0.011399458162486553 ]
320
Diverse Preference Learning for Capabilities and Alignment
https://openreview.net/forum?id=pOq9vDIYev
[ "Stewart Slocum", "Asher Parker-Sartori", "Dylan Hadfield-Menell" ]
Poster
As LLMs increasingly impact society, their ability to represent diverse perspectives is critical. However, recent studies reveal that alignment algorithms such as RLHF and DPO significantly reduce the diversity of LLM outputs. Not only do aligned LLMs generate text with repetitive structure and word choice, they also approach problems in more uniform ways, and their responses reflect a narrower range of societal perspectives. We attribute this problem to the KL divergence regularizer employed in preference learning algorithms. This causes the model to overweight majority opinions and sacrifice diversity in exchange for optimal reward. To address this, we propose Soft Preference Learning, which decouples the entropy and cross-entropy terms in the KL penalty — allowing for fine-grained control over LLM generation diversity. From a capabilities perspective, LLMs trained using Soft Preference Learning attain higher accuracy on difficult repeated sampling tasks and produce outputs with greater semantic and lexical diversity. From an alignment perspective, they are capable of representing a wider range of societal viewpoints and display improved logit calibration. Notably, Soft Preference Learning resembles, but is a Pareto improvement over, standard temperature scaling.
alignment, diversity, natural language processing, reinforcement learning
We identify a cause of diversity loss from RLHF/DPO and propose a simple solution.
13,501
null
[ 0.003987891599535942, -0.02289046347141266, 0.011367127299308777, 0.026179635897278786, 0.05009740963578224, 0.02320326305925846, -0.0031103803776204586, 0.012476430274546146, -0.025772668421268463, -0.010922316461801529, -0.025907695293426514, 0.037783700972795486, -0.08565985411405563, -0.005613952875137329, 0.001794164185412228, 0.055034343153238297, 0.012058485299348831, 0.026176709681749344, -0.0023307777009904385, 0.014579016715288162, 0.022083451971411705, -0.019415758550167084, 0.00465841218829155, -0.007825549691915512, 0.05038486048579216, 0.0008250382961705327, 0.022217603400349617, 0.00469789607450366, -0.006338281091302633, -0.0023578964173793793, 0.031164798885583878, -0.017923550680279732, -0.0014392758021131158, 0.011849919334053993, -0.00075138034299016, -0.03232812136411667, -0.061362240463495255, -0.01562042161822319, 0.020730484277009964, 0.010316234081983566, 0.004325843416154385, 0.023729898035526276, -0.001138930325396359, 0.007812635973095894, -0.03631104901432991, -0.00600533839315176, -0.11499293148517609, 0.02010212652385235, 0.00276556215249002, -0.03274545446038246, -0.08453056216239929, 0.02097662352025509, 0.001418256782926619, -0.01661745086312294, 0.0017248837975785136, 0.028874654322862625, 0.02694152668118477, -0.06303563714027405, -0.018498996272683144, -0.029056956991553307, -0.04781051725149155, 0.004650612361729145, 0.007737059146165848, 0.009285660460591316, 0.014833865687251091, -0.022032661363482475, -0.004266543313860893, 0.015836194157600403, -0.042450543493032455, -0.029981721192598343, -0.040076352655887604, -0.004339240025728941, 0.016114523634314537, 0.022172797471284866, -0.009183913469314575, -0.05787711963057518, 0.010820124298334122, 0.04412095621228218, 0.051490962505340576, 0.00036441278643906116, -0.015348619781434536, 0.056955721229314804, 0.028226761147379875, 0.04332136735320091, 0.03177919611334801, -0.002329393522813916, -0.010102331638336182, -0.008058855310082436, -0.07678420841693878, 0.026321053504943848, -0.019832322373986244, -0.06349648535251617, 0.027052022516727448, 0.05268128961324692, 0.04269593954086304, -0.008272121660411358, 0.03077000565826893, 0.035798560827970505, -0.020264972001314163, -0.006764096207916737, -0.026301337406039238, -0.016967827454209328, 0.030091017484664917, -0.03367900103330612, -0.11683794111013412, -0.053283561021089554, -0.025849243625998497, 0.012355056591331959, -0.01546142902225256, 0.03317711874842644, -0.05631067603826523, -0.0173158161342144, 0.029095804318785667, 0.0028341328725218773, -0.08115232735872269, 0.013437858782708645, 0.01739923097193241, 0.024492766708135605, 0.01204192079603672, -0.004287112969905138, 0.034201253205537796, 0.016431646421551704, -0.019100332632660866, 0.06712012737989426, -0.015201006084680557, 0.0024197720922529697, -0.008013860322535038, 0.04501056671142578, -0.0400683619081974, -0.031469400972127914, 0.020734896883368492, 0.03975185751914978, -0.03610973060131073, 0.013064945116639137, -0.02382412925362587, 0.012870131991803646, 0.03867035731673241, 0.015926990658044815, 0.061339691281318665, -0.002331309486180544, -0.01426259707659483, -0.022662239149212837, 0.05211060494184494, -0.012816847302019596, 0.05614759400486946, -0.009056906215846539, -0.005868840496987104, -0.017594339326024055, -0.060820914804935455, -0.020554877817630768, 0.0018828550819307566, -0.0022981169167906046, 0.017663948237895966, -0.04884001612663269, 0.03045826219022274, 0.05081736296415329, 0.021871833130717278, 0.0020767715759575367, 0.01998196728527546, 0.018330596387386322, -0.02506238967180252, -0.0013792664976790547, -0.04244639724493027, -0.006309359334409237, -0.0035076881758868694, -0.06930436939001083, 0.0492631159722805, 0.012498128227889538, -0.036939702928066254, 0.01736983098089695, -0.03597625344991684, -0.014188949950039387, 0.023355860263109207, -0.015777919441461563, -0.02888963744044304, 0.007878518663346767, 0.05722326785326004, 0.035189438611269, 0.05125022679567337, 0.03325905278325081, -0.05879750847816467, 0.0025259319227188826, -0.0005985951866023242, -0.014010058715939522, 0.027225155383348465, -0.00444603618234396, 0.07557523995637894, -0.015440912917256355, 0.02330329827964306, 0.014612426981329918, -0.07672492414712906, 0.003746029920876026, 0.0041123502887785435, -0.016091996803879738, 0.08959557116031647, -0.005750932730734348, -0.007988388650119305, 0.050280675292015076, 0.00506551843136549, 0.07411589473485947, 0.048626143485307693, -0.02850189059972763, 0.024432910606265068, -0.010070462711155415, -0.03956352174282074, -0.010695572942495346, 0.04447207599878311, -0.02337697148323059, -0.024849841371178627, 0.015049466863274574, -0.035357628017663956, 0.009577909484505653, 0.005567421205341816, 0.008025910705327988, 0.02423747070133686, -0.009436327032744884, -0.004480326548218727, -0.023498743772506714, 0.007740695029497147, -0.02622336335480213, 0.049560368061065674, 0.005458399653434753, -0.012254097498953342, 0.0010336191626265645, -0.028682973235845566, 0.07897008955478668, 0.05760844051837921, -0.029366815462708473, -0.007981091737747192, 0.041480887681245804, 0.009970714338123798, 0.010370781645178795, 0.041456062346696854, -0.028102753683924675, 0.01681533269584179, -0.02160303294658661, -0.012249208986759186, -0.04959957301616669, 0.06628191471099854, -0.040318336337804794, -0.027306005358695984, 0.0692567527294159, -0.03640415519475937, 0.052610788494348526, -0.02445383556187153, 0.03380603715777397, 0.01390595268458128, 0.021763356402516365, -0.017966922372579575, -0.028785178437829018, -0.0417502336204052, 0.011912988498806953, 0.009596237912774086, -0.015053865499794483, 0.015396969392895699, -0.05135473981499672, -0.024773364886641502, -0.015282785519957542, 0.060180921107530594, 0.05279521271586418, 0.006107451859861612, 0.009061163291335106, -0.0033696226309984922, -0.016396526247262955, 0.021665995940566063, -0.09331213682889938, -0.0459161140024662, -0.008117004297673702, 0.0013298197882249951, 0.012034458108246326, 0.041893139481544495, -0.009089497849345207, 0.03531796112656593, -0.026726694777607918, -0.0008884292328730226, 0.016724176704883575, 0.03003809042274952, -0.008596619591116905, -0.01282603107392788, -0.036044642329216, 0.00252866605296731, 0.051053982228040695, -0.02506212890148163, -0.051786284893751144, -0.044784631580114365, -0.03585673123598099, 0.00019545966642908752, -0.03560981899499893, -0.019412824884057045, -0.0008956631063483655, 0.032784704118967056, 0.0017035205382853746, 0.014814574271440506, 0.003956140018999577, 0.03358318284153938, 0.05137864500284195, 0.0521957091987133, 0.025878671556711197, -0.01240882370620966, 0.05283404886722565, -0.016743097454309464, 0.011373646557331085, 0.02709815837442875, 0.023427210748195648, 0.022161738947033882, -0.0008357066544704139, 0.021143345162272453, -0.019275104627013206, -0.2705354392528534, -0.05164201185107231, 0.02901732549071312, -0.003917766734957695, 0.029924461618065834, -0.01654251664876938, 0.04850466549396515, -0.042281657457351685, -0.013779202476143837, 0.013982631266117096, 0.02332274615764618, 0.030615491792559624, 0.016009554266929626, 0.05323469638824463, 0.049803417176008224, 0.028122279793024063, 0.003375774482265115, -0.011699949391186237, 0.022501148283481598, 0.03166266158223152, -0.019659923389554024, -0.08316221088171005, -0.041381191462278366, 0.04180555418133736, 0.006926728878170252, 0.06130387261509895, -0.04523896798491478, 0.00470746448263526, -0.03777839243412018, 0.0039595658890903, -0.026439858600497246, -0.005734291858971119, -0.016633737832307816, 0.03822598606348038, 0.011094892397522926, 0.012716574594378471, 0.06668239831924438, -0.03652370721101761, 0.03037974052131176, 0.0576104111969471, 0.013741292990744114, -0.030426181852817535, -0.040100857615470886, 0.00941512268036604, 0.04867297038435936, 0.02147689089179039, -0.07164571434259415, -0.00005866506035090424, -0.01262714248150587, 0.023867398500442505, 0.01866210252046585, -0.03301801159977913, -0.02120375819504261, 0.05475665256381035, 0.007383198477327824, 0.0022387795615941286, 0.015860917046666145, -0.028117597103118896, -0.012784257531166077, -0.01846088096499443, -0.0037660503294318914, -0.07301948219537735, -0.04143514484167099, -0.010971151292324066, -0.05046192929148674, -0.03176257759332657, -0.06346044689416885, -0.059133417904376984, 0.029639914631843567, 0.02085958421230316, -0.03962361440062523, 0.007909993641078472, 0.00371391698718071, -0.08778541535139084, 0.017481835559010506, -0.017847146838903427, -0.012406166642904282, -0.015834124758839607, -0.00976518914103508, 0.02145405113697052, -0.016238415613770485, -0.024884484708309174, 0.017380237579345703, 0.007097157649695873, 0.01994745247066021, -0.04372233897447586, 0.0046841963194310665, -0.0034870184026658535, -0.025860626250505447, -0.04626492038369179, 0.025869768112897873, -0.0028079324401915073, -0.018701951950788498, 0.007268876302987337, 0.057439737021923065, 0.0008656106074340641, 0.006639751605689526, 0.05333826690912247, 0.028677988797426224, 0.0032559481915086508, 0.014980044215917587, -0.08812304586172104, -0.03043423965573311, -0.03380798175930977, -0.016589483246207237, 0.03235509246587753, -0.051998071372509, -0.03317318856716156, 0.04225476458668709, -0.008510759100317955, -0.010117488913238049, -0.0167421605437994, -0.0048531461507081985, 0.008151600137352943, -0.02214077115058899, -0.010914552956819534, -0.016527298837900162, 0.043520644307136536, 0.030729759484529495, -0.005309750325977802, -0.013054308481514454, 0.02875344641506672, -0.01971649006009102, 0.00021884254238102585, -0.02609771117568016, -0.0250552985817194, -0.037575799971818924, -0.035507626831531525, -0.03702923655509949, 0.012041005305945873, 0.021527934819459915, 0.022434115409851074, -0.0007461820496246219, 0.028954314067959785, 0.026684025302529335, 0.0071272277273237705, 0.01238354854285717, -0.000384399521863088, 0.04112813249230385, -0.03398994356393814, 0.007326710037887096, -0.022384969517588615, 0.03406551107764244, 0.026313532143831253, 0.03150992840528488, 0.015088960528373718, 0.014727342873811722, 0.006068856921046972, -0.016949260607361794, 0.03074788488447666, 0.013477104716002941, -0.025867953896522522, 0.003735538339242339, -0.015638811513781548, 0.022988369688391685, -0.016152776777744293, 0.019248902797698975, 0.007966176606714725, 0.019200848415493965, -0.06713855266571045, 0.03597910329699516, 0.024435289204120636, -0.041231974959373474, 0.016724955290555954, 0.056607428938150406, 0.022149553522467613, -0.03218403086066246, 0.012780802324414253, 0.021359935402870178, 0.026808103546500206, 0.04278937727212906, -0.038509801030159, -0.01607564277946949, -0.0668928250670433, -0.05286962166428566, -0.04445585608482361, 0.031818829476833344, -0.046028945595026016, -0.05852627754211426, 0.06312250345945358, -0.01328582875430584, -0.05400344729423523, 0.013157900422811508, -0.0052961502224206924, 0.0861336961388588, 0.003000853816047311, -0.01749303750693798, -0.017982391640543938, -0.012081041932106018, -0.0035937929060310125, -0.011846202425658703, 0.027365999296307564, -0.03420601412653923, -0.04146592691540718, -0.05618365481495857, -0.04823625460267067, -0.004288249183446169, -0.022185789421200752, -0.009238065220415592, -0.027568573132157326, -0.04768538847565651, 0.013578321784734726, -0.04618436470627785, -0.08097387850284576, 0.0370134562253952, -0.08258236944675446, 0.008477668277919292, -0.002836077706888318, -0.024080945178866386, 0.015497363172471523, -0.06570382416248322, -0.08845232427120209, -0.012019330635666847, -0.013952045701444149, 0.016894562169909477, -0.031960658729076385, -0.025033973157405853, -0.041203707456588745, -0.013667921535670757, 0.005181057378649712, 0.026622837409377098, -0.023515518754720688, 0.01544230431318283, -0.007407328579574823, -0.010686625726521015, 0.061480965465307236, -0.05251539871096611, 0.012280186638236046, 0.02052256092429161, 0.017151882871985435, 0.031637273728847504, -0.06506385654211044, 0.048338085412979126, 0.06353001296520233, -0.016588808968663216, 0.06151745468378067, -0.06287986040115356, 0.03151223063468933, -0.006446899846196175, -0.016745762899518013, -0.0110857542604208, -0.010909230448305607, -0.02454078570008278, -0.01026239711791277, -0.0011104323202744126, 0.020811498165130615, 0.01350211538374424, 0.03636229410767555, -0.038053009659051895, 0.012117914855480194, -0.010235482826828957, -0.0029023445677012205, -0.028203992173075676, 0.01903689280152321, 0.0891130194067955, 0.007086681202054024, -0.019499169662594795, -0.06594734638929367, -0.029094820842146873, -0.015795212239027023, -0.01793082244694233, 0.02549600973725319, -0.03386961296200752, 0.04671711474657059, 0.027053972706198692, 0.048763394355773926, 0.004583839792758226, -0.016471775248646736, 0.018561305478215218, -0.06093504652380943, 0.005491478834301233, -0.05119955167174339, -0.005986711475998163, 0.05752232298254967, -0.010403928346931934, -0.00990315806120634, -0.014103858731687069, -0.05223321542143822, 0.07836191356182098, -0.015481973066926003, -0.050168849527835846, -0.005688813515007496, -0.04394148290157318, 0.00712951086461544, 0.09335768967866898, -0.04034654423594475, -0.024334149435162544, -0.035419050604104996, -0.03535597771406174, -0.015318037010729313, -0.0018230801215395331, 0.04069805517792702, -0.017446428537368774, 0.01865234412252903, -0.03673066198825836, 0.027498630806803703, 0.02233409509062767, 0.061990488320589066, 0.00880010798573494, 0.015281101688742638, -0.02933906950056553, 0.07147124409675598, 0.0386364683508873, 0.012559125199913979, 0.011726931668817997, 0.014023379422724247, 0.011449727229773998, -0.03794853389263153, 0.052231062203645706, 0.03342703729867935, 0.016272732987999916, -0.04850463941693306, 0.05768900737166405, 0.04567389935255051, -0.03759065642952919, -0.020976854488253593, 0.025852128863334656, -0.06675144284963608, 0.03558039292693138, 0.008485672064125538, 0.01874697022140026, 0.005904261488467455, 0.09210549294948578, 0.001034193322993815, 0.06071895360946655, 0.06957748532295227, 0.013805652037262917, 0.0002894712961278856, 0.06028347089886665, 0.07216167449951172, 0.050306323915719986, 0.07605157047510147, -0.002689081709831953, 0.056444764137268066, -0.020415814593434334, -0.0698949471116066, 0.015631359070539474, 0.02433054707944393, -0.01123885903507471, -0.025126706808805466, 0.004146733321249485, 0.049779850989580154, 0.02703326754271984, 0.05355193465948105, -0.02158033475279808, -0.0057304976508021355, 0.035566192120313644, 0.0348818339407444, 0.024495180696249008, 0.028269104659557343, -0.0006266998243518174, 0.0022448236122727394, -0.030721811577677727, 0.011096145957708359, 0.02866367995738983, -0.006440225522965193, 0.005934957880526781, -0.016117002815008163, -0.02154584415256977, 0.02631230279803276, -0.008031504228711128, 0.08635067194700241, 0.1083044707775116, -0.0912015363574028, -0.043855972588062286, -0.007607931271195412, 0.006886199116706848, 0.0004602358676493168, 0.020072091370821, -0.0017331467242911458, 0.002173983957618475, -0.029696937650442123, -0.04953824728727341, -0.005896841175854206, 0.05073206126689911, 0.03113577514886856, 0.032842669636011124, -0.0351528562605381, 0.007310018874704838, 0.026080844923853874, 0.05221788212656975, -0.07492510229349136, -0.04281831532716751, -0.026005446910858154, -0.04205196350812912, -0.0371970534324646, -0.03694269806146622, 0.02084151841700077, 0.04549703374505043, -0.031135089695453644, 0.008206803351640701, -0.0402136892080307, 0.04399824142456055, 0.007045973092317581, -0.07323800772428513, 0.02298944815993309, 0.006065486464649439, 0.009189060889184475, -0.011070198379456997, 0.011101586744189262, 0.030096113681793213, -0.012760202400386333, -0.02221229299902916, 0.04361381009221077, 0.016847996041178703, 0.022391589358448982, -0.02809612639248371, -0.01425743568688631, -0.08301372826099396, -0.007486044894903898, 0.012158180586993694, -0.029104404151439667, -0.07865606248378754, 0.00970251765102148, -0.023210108280181885, 0.020218458026647568, 0.08460193872451782, 0.041965365409851074, -0.003989412449300289, -0.025478892028331757, -0.03204536437988281, -0.024019747972488403, 0.009573383256793022, 0.054018404334783554, -0.03479788079857826, 0.04203319922089577, 0.023938938975334167, -0.025930656120181084, -0.05616569519042969, 0.049708638340234756, -0.0046372804790735245, -0.017085179686546326, -0.002908348571509123, -0.03979182988405228, -0.02732526883482933, -0.07958237826824188, -0.010155954398214817, 0.03681516274809837, -0.03621703386306763, -0.014148978516459465, -0.005509419832378626, 0.012405292131006718, -0.03293265774846077, -0.012027105316519737, -0.022679481655359268, -0.03823743760585785, -0.01625230349600315, 0.008524289354681969, -0.07822459936141968, 0.026161037385463715, -0.03176259249448776, 0.02028595469892025, -0.010334696620702744, -0.038256365805864334, 0.009706038981676102, 0.0021489704959094524, 0.025858763605356216, 0.01699296198785305, 0.006958334241062403, -0.01480153203010559 ]
321
Efficient Reinforcement Learning with Large Language Model Priors
https://openreview.net/forum?id=e2NRNQ0sZe
[ "Xue Yan", "Yan Song", "Xidong Feng", "Mengyue Yang", "Haifeng Zhang", "Haitham Bou Ammar", "Jun Wang" ]
Poster
In sequential decision-making (SDM) tasks, methods like reinforcement learning (RL) and heuristic search have made notable advances in specific cases. However, they often require extensive exploration and face challenges in generalizing across diverse environments due to their limited grasp of the underlying decision dynamics. In contrast, large language models (LLMs) have recently emerged as powerful general-purpose tools, due to their capacity to maintain vast amounts of domain-specific knowledge. To harness this rich prior knowledge for efficiently solving complex SDM tasks, we propose treating LLMs as prior action distributions and integrating them into RL frameworks through Bayesian inference methods, making use of variational inference and direct posterior sampling. The proposed approaches facilitate the seamless incorporation of fixed LLM priors into both policy-based and value-based RL frameworks. Our experiments show that incorporating LLM-based action priors significantly reduces exploration and optimization complexity, substantially improving sample efficiency compared to traditional RL techniques, e.g., using LLM priors decreases the number of required samples by over 90\% in offline learning scenarios.
Reinforcement Learning; Probabilistic Inference; Language Prior;
To harness LLMs' rich prior knowledge for efficiently solving complex SDM tasks, we propose treating LLMs as prior action distributions and integrating them into RL frameworks through Bayesian inference methods.
13,493
2410.07927
[ -0.03282821923494339, -0.00653099874034524, -0.019890066236257553, 0.04054267704486847, 0.03360017016530037, 0.03711232542991638, 0.02145897038280964, 0.008909709751605988, -0.026473011821508408, -0.0198016669601202, -0.02976343035697937, 0.04398507624864578, -0.05333561450242996, -0.007920459844172001, 0.020795542746782303, 0.04840496927499771, 0.019194642081856728, -0.008263367228209972, 0.014985141344368458, 0.019732637330889702, -0.008726436644792557, 0.022406646981835365, 0.047129735350608826, 0.013584085740149021, 0.05680195242166519, 0.009505747817456722, 0.04055483639240265, 0.021590014919638634, -0.01867055334150791, -0.026817668229341507, 0.0337006077170372, -0.039631664752960205, 0.02340233325958252, -0.014510486274957657, -0.014380521140992641, -0.00847709085792303, -0.03260543569922447, -0.014339174143970013, -0.00878048688173294, 0.029400039464235306, -0.04835111275315285, 0.02027828060090542, -0.01881539449095726, 0.006418813951313496, -0.03445424139499664, 0.0021551758982241154, -0.0736476480960846, 0.03158979117870331, 0.035932671278715134, -0.04486355558037758, -0.09592326730489731, 0.024855926632881165, -0.0011025725398212671, -0.03389260545372963, 0.007463923655450344, 0.021873096004128456, 0.028245659545063972, -0.11067099124193192, -0.003906709142029285, -0.04729343578219414, -0.025398587808012962, 0.004490924067795277, 0.021243516355752945, 0.015572242438793182, 0.004312083125114441, -0.0015025355387479067, 0.030258996412158012, 0.05755060538649559, -0.043509528040885925, -0.03348337486386299, -0.0546061135828495, 0.0007613615016452968, -0.0009967763908207417, 0.021895211189985275, 0.0013996693305671215, -0.045273344963788986, 0.021812519058585167, 0.034447841346263885, 0.035651858896017075, -0.008385996334254742, -0.0005126232281327248, 0.034378163516521454, 0.011676066555082798, 0.022064000368118286, 0.012150192633271217, 0.024454306811094284, -0.010188465006649494, -0.044159844517707825, -0.08183889091014862, 0.020218078047037125, -0.010625331662595272, -0.07427091896533966, -0.008861846290528774, 0.047247834503650665, -0.001376408152282238, -0.0025552704464644194, 0.017191706225275993, 0.03356436267495155, -0.007655719760805368, -0.0038191629573702812, -0.05457228794693947, -0.03772128000855446, 0.03346865624189377, -0.021190747618675232, -0.12477990239858627, -0.028842778876423836, -0.0007936545298434794, 0.014330527745187283, -0.012122110463678837, 0.029820319265127182, -0.01919957995414734, -0.008890911005437374, -0.0035365766379982233, -0.023752504959702492, -0.06926201283931732, 0.03328355774283409, 0.013045625761151314, 0.03611740842461586, 0.010530799627304077, -0.015152264386415482, 0.04090648889541626, 0.022100472822785378, 0.008081166073679924, 0.06936509907245636, -0.01693877950310707, -0.019004976376891136, 0.016764195635914803, 0.031032690778374672, -0.02489921636879444, -0.08045385777950287, 0.04871338978409767, 0.027099935337901115, 0.001598826376721263, 0.0009875046089291573, -0.03214738517999649, 0.005161994602531195, 0.01818973943591118, 0.032549623399972916, 0.024765921756625175, -0.0022874390706419945, 0.006467930041253567, -0.013438900001347065, 0.08649910986423492, -0.016978878527879715, 0.0694095715880394, 0.016649702563881874, -0.028608271852135658, -0.008064175955951214, -0.07193782180547714, 0.005584276281297207, 0.01493753306567669, -0.019210297614336014, -0.0045109521597623825, -0.03440858796238899, 0.04008901119232178, 0.056749310344457626, 0.012875442393124104, -0.005356904119253159, 0.005652328487485647, 0.023488465696573257, 0.013407803140580654, 0.006802485324442387, -0.03914840519428253, -0.005893159657716751, 0.0071811368688941, -0.09294973313808441, 0.042285919189453125, 0.010240747593343258, -0.04201961308717728, -0.020561013370752335, -0.014384329319000244, -0.02904151938855648, 0.0424373522400856, -0.040064990520477295, -0.021989881992340088, -0.0040644071996212006, 0.06517470628023148, -0.014611927792429924, 0.04102429375052452, 0.00503747072070837, -0.06945303082466125, 0.012924355454742908, 0.020581558346748352, 0.001548884785734117, 0.02732565999031067, -0.04224882274866104, 0.06933330744504929, -0.03800434246659279, 0.0085358377546072, 0.018547680228948593, -0.08033917099237442, -0.003592492314055562, 0.03510162979364395, 0.013363717123866081, 0.06772126257419586, 0.004126757849007845, -0.006301693618297577, 0.07072493433952332, 0.03120739385485649, 0.03874318674206734, 0.04574928805232048, -0.019695986062288284, 0.02111741527915001, -0.01633000746369362, -0.016696570441126823, -0.00625363877043128, 0.03753052279353142, -0.046718355268239975, -0.015624049119651318, 0.0281833428889513, -0.01950894668698311, 0.016655443236231804, 0.017745433375239372, 0.004076014272868633, 0.03612733632326126, -0.028386235237121582, -0.009701238945126534, 0.000010292478691553697, 0.010193318128585815, -0.05152697116136551, 0.03992752730846405, 0.015141264535486698, -0.024634651839733124, 0.0033184033818542957, -0.031709976494312286, 0.0762944221496582, 0.07245400547981262, -0.015279334038496017, -0.028630955144762993, 0.02208128571510315, 0.023386793211102486, 0.03817763552069664, 0.025474779307842255, -0.02627083845436573, 0.05639118328690529, -0.023256395012140274, -0.00032772045233286917, -0.021743904799222946, 0.027281425893306732, -0.021598072722554207, -0.01889822632074356, 0.07391420751810074, -0.006637495942413807, 0.06588476896286011, -0.013087655417621136, 0.021207191050052643, 0.03046494536101818, 0.01429087296128273, -0.010038027539849281, -0.03285713493824005, -0.02620466984808445, 0.0007400524336844683, 0.03675425425171852, -0.003459089668467641, -0.006164048332720995, -0.036277540028095245, -0.006680249236524105, -0.015292897820472717, 0.0654074102640152, 0.05013944208621979, 0.01064369734376669, 0.04774542525410652, -0.00304235122166574, -0.02797255478799343, -0.0037280574906617403, -0.10808011889457703, -0.03011162392795086, -0.024764375761151314, 0.003169821808114648, 0.0438687726855278, 0.00846478994935751, -0.027614738792181015, 0.034793782979249954, -0.03694500774145126, -0.024824244901537895, -0.006891860626637936, 0.02185288444161415, 0.0187759380787611, -0.02409256249666214, -0.014655153267085552, 0.015782132744789124, 0.04600241035223007, -0.00040803285082802176, -0.03530186787247658, -0.025278324261307716, -0.03465234115719795, -0.006061396095901728, -0.042182330042123795, 0.0019202566472813487, 0.036530252546072006, 0.03350471332669258, -0.0022620565723627806, -0.04164010286331177, 0.03537151589989662, 0.03994854539632797, 0.04886394366621971, 0.0547090545296669, 0.007058341987431049, -0.01123354397714138, 0.026580458506941795, -0.04671439900994301, -0.005264691077172756, -0.024057064205408096, 0.026482589542865753, 0.0036032088100910187, -0.0122204115614295, 0.018255338072776794, 0.035064876079559326, -0.25764647126197815, -0.02703365497291088, -0.002549055963754654, -0.022199302911758423, 0.03216322138905525, 0.010254616849124432, 0.05595756694674492, -0.0581340491771698, -0.03340831771492958, 0.04664900526404381, 0.023215368390083313, 0.03959834203124046, -0.00419844314455986, 0.05120532214641571, 0.06447824090719223, 0.06432037800550461, -0.01350585650652647, -0.006791307125240564, 0.015383620746433735, 0.022336401045322418, -0.015555442310869694, -0.06753848493099213, -0.02347356081008911, 0.04500503093004227, -0.002237413078546524, 0.08535952121019363, -0.08236739784479141, 0.011615523137152195, -0.02098221704363823, 0.012006553821265697, -0.018250595778226852, -0.032465506345033646, -0.01135705504566431, 0.028867997229099274, 0.006765997502952814, 0.02544192411005497, 0.03129417076706886, -0.0018636472523212433, 0.03605899587273598, 0.02888178825378418, 0.004642287269234657, -0.010345702059566975, -0.03387309983372688, 0.016259431838989258, 0.04818563908338547, 0.016029445454478264, -0.050207216292619705, -0.024647019803524017, -0.007836734876036644, 0.03892296925187111, 0.008152949623763561, -0.03301224857568741, -0.00043077717418782413, 0.003149963216856122, 0.03789297491312027, -0.01924991048872471, 0.01918363943696022, -0.040955476462841034, -0.0074350545182824135, 0.02384892664849758, 0.017746392637491226, -0.06096787378191948, -0.042032256722450256, -0.03565941005945206, -0.008527311496436596, -0.03720149025321007, -0.04564528539776802, -0.05649910122156143, 0.03221752122044563, 0.047398485243320465, -0.027816306799650192, -0.00811649952083826, -0.0049731372855603695, -0.09117294102907181, 0.008432202972471714, 0.01101648434996605, -0.025720221921801567, -0.028909463435411453, 0.019393691793084145, 0.04322996735572815, -0.050363246351480484, -0.04705660417675972, -0.025236841291189194, 0.004809698089957237, 0.02677334100008011, -0.021626124158501625, 0.015326366759836674, -0.04486848786473274, -0.0281401127576828, -0.04588087275624275, 0.01615838333964348, 0.017318110913038254, 0.018249578773975372, 0.017501994967460632, 0.07443789392709732, 0.020293517038226128, 0.002779677277430892, 0.041050978004932404, 0.02960951253771782, -0.024385837838053703, 0.016158830374479294, -0.08528043329715729, -0.020376678556203842, -0.051800187677145004, -0.030376801267266273, 0.027511099353432655, -0.07896043360233307, -0.04170629754662514, 0.02148241549730301, 0.0031008427031338215, -0.01437392644584179, -0.009567968547344208, 0.016214080154895782, 0.017322039231657982, -0.024810612201690674, -0.018952710554003716, -0.009469602257013321, 0.05940346047282219, 0.047823019325733185, -0.016069095581769943, -0.05346192792057991, 0.0367521308362484, -0.051017556339502335, 0.00922445673495531, 0.017860565334558487, -0.02591121941804886, 0.010139728896319866, -0.0026458404026925564, 0.004598412662744522, -0.002086990512907505, 0.03400931507349014, 0.019741542637348175, 0.014564153738319874, 0.012008005753159523, 0.04357541725039482, -0.003599882125854492, -0.006332142278552055, -0.024899763986468315, 0.02177322655916214, -0.018904365599155426, -0.010478327982127666, -0.031598206609487534, 0.03288103640079498, 0.021681278944015503, 0.009525241330265999, 0.0022007932420819998, 0.02418810874223709, 0.031131206080317497, 0.012866523116827011, 0.020583434030413628, 0.03187400475144386, -0.06592153757810593, 0.008443674072623253, -0.00012342042464297265, 0.04329284653067589, -0.030614327639341354, 0.04012317210435867, -0.05618080124258995, 0.041288670152425766, -0.08633636683225632, 0.03616686537861824, 0.004335913807153702, -0.027848349884152412, 0.011562732979655266, 0.04138931632041931, 0.04134170711040497, -0.058133963495492935, 0.0016540077049285173, 0.02676284685730934, 0.025113018229603767, 0.017536809667944908, -0.05540948733687401, -0.022956877946853638, -0.0027745848055928946, -0.03178361430764198, -0.006271196994930506, 0.008878962136805058, -0.03330894559621811, -0.03841562196612358, 0.03051762655377388, 0.03666432574391365, -0.04961889609694481, -0.01857265643775463, 0.0003017413255292922, 0.0802525132894516, -0.010677732527256012, 0.02120078355073929, 0.021816130727529526, -0.05127202719449997, 0.012166537344455719, -0.006828357931226492, 0.025910761207342148, -0.010035871528089046, -0.04891139641404152, -0.04065258055925369, -0.04664916545152664, 0.0022801964078098536, -0.004417411983013153, 0.005380555056035519, 0.00010275032400386408, 0.010303781367838383, -0.03355802223086357, -0.04094364121556282, -0.02722199447453022, 0.017145682126283646, -0.06468572467565536, -0.009605957195162773, 0.04631917551159859, -0.010247615166008472, 0.0318562313914299, -0.06454148143529892, -0.02303794026374817, -0.03332814946770668, -0.012813707813620567, 0.005427677184343338, -0.012244532816112041, -0.02384861744940281, -0.010082578286528587, -0.019670145586133003, 0.01690712384879589, 0.011584702879190445, -0.019318990409374237, 0.0032740393653512, -0.03369252383708954, 0.0008121424471028149, 0.055487010627985, -0.06360310316085815, -0.03440717235207558, 0.04012206569314003, -0.03128628805279732, 0.031622182577848434, -0.06591419130563736, -0.0009220482315868139, 0.054636817425489426, -0.01055432390421629, 0.03655502200126648, -0.0436522476375103, 0.0655423104763031, 0.008701872080564499, -0.026506932452321053, 0.018779130652546883, 0.018011653795838356, -0.03409132361412048, 0.0008368428098037839, -0.003705657785758376, 0.01655159704387188, 0.005919198971241713, 0.027315109968185425, 0.025882884860038757, 0.007332810200750828, -0.004958375822752714, 0.0011006731074303389, -0.04282710701227188, 0.018903793767094612, 0.058192744851112366, -0.007460007909685373, -0.04500051215291023, -0.0587935708463192, -0.04252597689628601, 0.014383872970938683, -0.012492566369473934, 0.020818093791604042, -0.06981084495782852, 0.02814122475683689, 0.011313091963529587, 0.0376637801527977, 0.02909134328365326, -0.012215240858495235, 0.03039066307246685, -0.04805487394332886, 0.007482255343347788, -0.07068400084972382, -0.017390092834830284, 0.05244559049606323, -0.061538904905319214, 0.007765973452478647, 0.017524033784866333, -0.03327135741710663, 0.03406699001789093, -0.005334662739187479, -0.05117076635360718, 0.0401892364025116, -0.016121376305818558, -0.03359615430235863, 0.07720351964235306, -0.05198277533054352, -0.027399325743317604, -0.013986830599606037, -0.030906962230801582, 0.004362468142062426, 0.011614402756094933, 0.04793363809585571, -0.035733841359615326, 0.012318206951022148, -0.04923038184642792, 0.013166481629014015, 0.004126451443880796, 0.04931074008345604, 0.02578759379684925, 0.02296283468604088, -0.03766006603837013, 0.04162275046110153, 0.028958121314644814, 0.036784566938877106, -0.010670646093785763, 0.0008830685401335359, -0.023241037502884865, -0.041874222457408905, 0.05140307918190956, -0.00007054883462842554, 0.010588381439447403, -0.039991382509469986, 0.07636258751153946, 0.03666261211037636, -0.04175381362438202, -0.0125692468136549, 0.015154032967984676, -0.07779330760240555, -0.010363207198679447, 0.0003272172762081027, 0.009217200800776482, 0.01700877957046032, 0.08123838901519775, 0.030138306319713593, 0.05921678617596626, 0.07565870136022568, 0.0032755539286881685, -0.020170889794826508, -0.00011298917524982244, 0.06642628461122513, 0.044080328196287155, 0.061100296676158905, -0.013199280947446823, 0.0743740051984787, -0.05745259299874306, -0.037196867167949677, 0.04353398084640503, 0.008599241264164448, -0.00637746462598443, -0.05421208217740059, 0.018039075657725334, 0.054585229605436325, -0.028598405420780182, 0.04252684488892555, -0.043611351400613785, -0.01658957451581955, 0.06289542466402054, 0.0012945558410137892, -0.014241592027246952, 0.050945304334163666, 0.04756631329655647, 0.03142695501446724, -0.02582288533449173, -0.006358204409480095, 0.010459484532475471, -0.023970285430550575, -0.006224935874342918, 0.019682547077536583, -0.028533462435007095, -0.01620994508266449, 0.009619594551622868, 0.021554021164774895, 0.14166651666164398, -0.02605605497956276, -0.014334570616483688, 0.004687747918069363, 0.00045876018702983856, 0.01605495624244213, 0.05102207511663437, 0.0016070296987891197, -0.02947140298783779, 0.014974965713918209, -0.02729438804090023, 0.001887945574708283, 0.040913358330726624, -0.020525939762592316, 0.014139940030872822, -0.035061098635196686, -0.02150416001677513, -0.0014127218164503574, 0.022854162380099297, -0.07818824052810669, -0.05110326409339905, -0.03144663944840431, -0.053648099303245544, -0.04711221531033516, -0.05779850855469704, 0.03195216879248619, 0.011899596080183983, -0.026135912165045738, 0.017153363674879074, -0.021153215318918228, 0.015062372200191021, -0.013663118705153465, -0.049818623811006546, 0.01384645700454712, 0.03017176128923893, -0.007914668880403042, 0.006582968402653933, 0.0356099009513855, 0.02798714116215706, -0.015559719875454903, -0.02741001732647419, 0.023683324456214905, 0.008044605143368244, 0.01891930028796196, -0.04785526171326637, 0.006879356224089861, -0.08002442866563797, -0.0003638337948359549, 0.00915918406099081, -0.030139008536934853, -0.07272857427597046, 0.004676156211644411, -0.03255882114171982, 0.03840739279985428, 0.0841178447008133, 0.030688468366861343, 0.049335088580846786, -0.02552565187215805, 0.00631615100428462, 0.012936518527567387, 0.011715133674442768, 0.02280852198600769, -0.04527393355965614, 0.036164358258247375, 0.0451020747423172, -0.021399138495326042, -0.06988587975502014, 0.02478845790028572, 0.01631668023765087, -0.02221721224486828, -0.016116192564368248, -0.014525139704346657, -0.01373298279941082, -0.08937164396047592, -0.024380052462220192, 0.01928083598613739, 0.002162607153877616, -0.01654260791838169, 0.0022840627934783697, -0.021331561729311943, -0.019866354763507843, 0.0007131518214009702, -0.03721630200743675, -0.038463227450847626, -0.02016121707856655, -0.037678297609090805, -0.05649426206946373, 0.03283483535051346, -0.038073476403951645, -0.009856341406702995, -0.03533845767378807, -0.0175928995013237, -0.007476961240172386, 0.0201277956366539, 0.043018367141485214, -0.018148820847272873, 0.00890024658292532, -0.035187676548957825 ]
322
Geometry-Aware Approaches for Balancing Performance and Theoretical Guarantees in Linear Bandits
https://openreview.net/forum?id=Oeb0I3JcVc
[ "Yuwei Luo", "Mohsen Bayati" ]
Poster
This paper is motivated by recent research in the $d$-dimensional stochastic linear bandit literature, which has revealed an unsettling discrepancy: algorithms like Thompson sampling and Greedy demonstrate promising empirical performance, yet this contrasts with their pessimistic theoretical regret bounds. The challenge arises from the fact that while these algorithms may perform poorly in certain problem instances, they generally excel in typical instances. To address this, we propose a new data-driven technique that tracks the geometric properties of the uncertainty ellipsoid around the main problem parameter. This methodology enables us to formulate a data-driven frequentist regret bound, which incorporates the geometric information, for a broad class of base algorithms, including Greedy, OFUL, and Thompson sampling. This result allows us to identify and ``course-correct" problem instances in which the base algorithms perform poorly. The course-corrected algorithms achieve the minimax optimal regret of order $\tilde{\mathcal{O}}(d\sqrt{T})$ for a $T$-period decision-making scenario, effectively maintaining the desirable attributes of the base algorithms, including their empirical efficacy. We present simulation results to validate our findings using synthetic and real data.
Linear bandit, Thompson sampling, Greedy, Data-driven exploration
null
13,487
2306.14872
[ -0.01688281074166298, -0.01066763699054718, -0.003424615366384387, 0.036703865975141525, 0.023953095078468323, 0.04533112794160843, 0.03132976219058037, 0.008707931265234947, -0.003518514335155487, -0.0698888823390007, -0.00993131659924984, -0.023341571912169456, -0.07088296115398407, -0.02613084390759468, -0.005843530874699354, 0.07067099958658218, 0.03451882302761078, 0.001163744949735701, -0.005808715708553791, 0.026019545271992683, 0.0032336257863789797, -0.00244937208481133, 0.03475794568657875, 0.0189606212079525, 0.05425005778670311, 0.012622461654245853, 0.039088740944862366, 0.024366850033402443, 0.001017912058159709, 0.0019647914450615644, 0.035361047834157944, -0.005926633253693581, 0.0013798065483570099, -0.0511891208589077, 0.017004933208227158, 0.039397478103637695, -0.005501186940819025, 0.009984460659325123, 0.002769160084426403, 0.005131079349666834, -0.056732177734375, -0.0005698880995623767, -0.03424674645066261, 0.03743106499314308, -0.03534260764718056, -0.002889536553993821, -0.04636918008327484, 0.03464554250240326, 0.035572394728660583, -0.04184598848223686, -0.06417464464902878, 0.060975831001996994, 0.035540468990802765, -0.0036197772715240717, -0.03012322448194027, 0.037842486053705215, 0.07176880538463593, -0.06881482899188995, -0.001502879778854549, -0.05567748844623566, -0.04360686242580414, 0.029248375445604324, 0.010316389612853527, 0.022003840655088425, -0.004539551679044962, 0.007571539841592312, 0.023725073784589767, 0.06470515578985214, -0.020384518429636955, -0.026631953194737434, -0.04269300773739815, -0.015560832805931568, 0.004462321288883686, 0.03706846013665199, 0.007077490910887718, -0.05119362846016884, -0.0009396180394105613, 0.04321715235710144, 0.019648585468530655, 0.02978375181555748, 0.012842481024563313, -0.01211928017437458, 0.022420743480324745, 0.015305629931390285, 0.0025492054410278797, -0.0003827363543678075, -0.0336192287504673, -0.050869446247816086, -0.08437060564756393, 0.03566795587539673, -0.05273117497563362, -0.06410150229930878, 0.04582487419247627, 0.04695123806595802, 0.00014176609693095088, -0.02832813560962677, 0.02619524486362934, 0.036917075514793396, 0.02899959124624729, -0.04317833483219147, -0.012775341048836708, -0.04028880223631859, 0.013590393587946892, 0.002855369821190834, -0.1076141744852066, -0.02529333531856537, -0.02066061459481716, -0.011278881691396236, -0.0149118946865201, 0.019014783203601837, -0.05744653940200806, -0.00798356905579567, 0.004420003388077021, -0.030809946358203888, -0.08776738494634628, 0.04430246353149414, 0.00395953981205821, 0.03516519069671631, -0.0138247637078166, -0.0163575429469347, 0.03890983387827873, 0.049614645540714264, -0.015026314184069633, 0.07639455795288086, 0.0000629513815511018, 0.007701443508267403, 0.04121492803096771, 0.018477631732821465, 0.00017217203276231885, -0.05922919884324074, 0.0372796356678009, 0.03893721476197243, -0.014682901091873646, -0.0035750872921198606, -0.038997288793325424, -0.005069083534181118, -0.009527565911412239, 0.010480647906661034, 0.021321512758731842, -0.010443702340126038, -0.002764886012300849, -0.01489646639674902, 0.05987992137670517, 0.008003434166312218, 0.06755977123975754, -0.035111308097839355, 0.05261286348104477, -0.03313922882080078, -0.0687832459807396, -0.030593737959861755, 0.0213636364787817, -0.029015356674790382, -0.00911179929971695, -0.04818215221166611, 0.0038143841084092855, 0.023259330540895462, -0.0024927963968366385, 0.051001351326704025, -0.009398622438311577, 0.015686243772506714, 0.02948707714676857, 0.0069070858880877495, -0.012125355191528797, -0.007029421627521515, -0.007385368924587965, -0.07050159573554993, 0.0914222002029419, 0.05650453269481659, -0.011605990119278431, -0.006008938420563936, -0.03582177683711052, -0.022189822047948837, 0.04115232825279236, -0.007992315106093884, 0.0018988382071256638, 0.006000845227390528, 0.044560015201568604, 0.009409675374627113, 0.03319168835878372, 0.015634268522262573, -0.08607934415340424, 0.022519713267683983, 0.030874356627464294, 0.010198818519711494, 0.020517850294709206, -0.020620493218302727, 0.07967336475849152, -0.014164207503199577, 0.028037117794156075, 0.0111065823584795, -0.0786929652094841, -0.014529770240187645, 0.032710444182157516, 0.0018018262926489115, 0.08206615597009659, -0.008056499995291233, -0.013189805671572685, 0.01585010252892971, 0.00785495899617672, 0.01551624946296215, 0.03327051177620888, -0.021162187680602074, 0.03771260008215904, 0.010846423916518688, -0.046470873057842255, -0.025340503081679344, 0.03196856379508972, -0.05433022975921631, -0.04071257263422012, 0.022214895114302635, 0.0080778943374753, 0.0008542674477212131, -0.02287871763110161, 0.001075051142834127, 0.03693610802292824, -0.012079601176083088, 0.019260499626398087, -0.016530882567167282, 0.05136508867144585, -0.04171380400657654, 0.02133527584373951, 0.0015362065751105547, -0.03631513938307762, 0.005502703599631786, 0.005777745973318815, 0.09017134457826614, 0.0757928416132927, -0.024283545091748238, -0.021802304312586784, -0.0007801033207215369, 0.009679329581558704, 0.010107344016432762, -0.006182982586324215, -0.02388106845319271, 0.012560627423226833, 0.011785768903791904, -0.003780170576646924, -0.045314300805330276, 0.08892745524644852, -0.033507414162158966, 0.004337473772466183, 0.08008533716201782, 0.017022179439663887, 0.05728670954704285, -0.014127102680504322, -0.0045074778608977795, 0.018705595284700394, 0.04638899862766266, -0.022840838879346848, -0.03704534471035004, -0.03219965845346451, -0.007962534204125404, 0.029190082103013992, -0.02393452636897564, 0.013872567564249039, -0.05204538628458977, 0.008002689108252525, -0.00840478204190731, 0.0963001549243927, 0.04611176624894142, 0.029507461935281754, 0.013938244432210922, -0.0058482252061367035, -0.03076222725212574, -0.02513073943555355, -0.10999699681997299, -0.07030843943357468, -0.0002467757149133831, 0.029501313343644142, 0.057269178330898285, 0.04206718131899834, -0.01627509482204914, 0.048750005662441254, -0.016181202605366707, -0.042753614485263824, 0.012617918662726879, 0.04364569112658501, 0.017216797918081284, -0.0472707524895668, 0.003149131080135703, 0.036602336913347244, 0.062413785606622696, 0.008662795647978783, -0.015009842813014984, -0.023498637601733208, -0.017532063648104668, 0.004409742541611195, -0.018493076786398888, -0.0355515331029892, 0.00616184389218688, -0.01667746715247631, 0.038207706063985825, -0.049331821501255035, 0.004126505460590124, 0.04774582386016846, 0.050841085612773895, 0.015333966352045536, -0.010818412527441978, 0.01473084557801485, -0.015191594138741493, 0.0037698533851653337, 0.014560356736183167, -0.019770711660385132, -0.010335613042116165, -0.022786078974604607, -0.035744428634643555, 0.026142846792936325, 0.004429013002663851, -0.2688654661178589, -0.039268042892217636, 0.009031152352690697, 0.02159980498254299, 0.007904413156211376, 0.0006203585071489215, 0.04017513617873192, -0.023401115089654922, -0.058215461671352386, 0.024988817051053047, 0.0005730995326302946, 0.02622195892035961, -0.0010955964680761099, 0.05624646320939064, 0.06615717709064484, 0.035079970955848694, -0.020964056253433228, -0.0012424656888470054, -0.0025917456950992346, 0.020114662125706673, -0.008829440921545029, -0.07535848766565323, -0.00309744686819613, 0.020705517381429672, -0.022344626486301422, 0.0643085315823555, -0.04556453600525856, 0.004344537854194641, -0.03244015946984291, -0.0031933304853737354, -0.0004939477075822651, -0.030346006155014038, -0.018844299018383026, 0.023388173431158066, 0.0166389849036932, -0.020856792107224464, 0.03231113776564598, -0.03141666576266289, 0.005964193027466536, 0.015024041756987572, -0.007152193691581488, 0.008893925696611404, -0.038142066448926926, 0.015404594130814075, 0.057836759835481644, 0.010159025900065899, -0.008509651757776737, -0.008884015493094921, -0.011956090107560158, 0.038471903651952744, 0.03413541987538338, -0.022984882816672325, -0.017803777009248734, 2.97498502277449e-7, -0.0117102125659585, -0.024983471259474754, -0.007574544288218021, -0.028501808643341064, -0.03288661688566208, 0.04876340180635452, 0.029176611453294754, -0.052211061120033264, -0.02192801423370838, -0.03441477566957474, -0.007438850123435259, -0.04851857200264931, -0.060489218682050705, -0.04919853061437607, 0.023752601817250252, 0.03578134998679161, 0.00820787064731121, 0.027038922533392906, -0.024661406874656677, -0.09456838667392731, 0.023585250601172447, -0.012296578846871853, 0.0048029557801783085, 0.021172285079956055, 0.035727400332689285, 0.06382643431425095, -0.05326370149850845, -0.04496753588318825, 0.037843216210603714, 0.022018300369381905, 0.011528260074555874, -0.017559342086315155, 0.00511225825175643, -0.010979151353240013, -0.0323001928627491, -0.04226301982998848, 0.014158844016492367, 0.011840504594147205, 0.03522597998380661, -0.0214067529886961, 0.054386258125305176, 0.049535270780324936, 0.0232417993247509, -0.005026528611779213, 0.044066235423088074, 0.014157041907310486, 0.03672485798597336, -0.08382540941238403, 0.007639230694621801, -0.02954428270459175, -0.040186766535043716, 0.01667952537536621, -0.043432168662548065, 0.006668379995971918, 0.05511011928319931, -0.03688352555036545, -0.000730321102309972, -0.011909187771379948, 0.0007333733956329525, 0.005204496439546347, -0.008203582838177681, -0.03895438089966774, -0.000013979290997667704, 0.04439432919025421, 0.026451390236616135, -0.012748993933200836, -0.06298398226499557, 0.009439535439014435, -0.02944296970963478, -0.0032576199155300856, -0.0148654505610466, 0.009721756912767887, 0.00842147134244442, -0.012110400013625622, -0.00989053025841713, -0.009783350862562656, 0.03814298287034035, 0.06834273040294647, 0.002477302448824048, 0.002211479702964425, 0.04390774294734001, 0.012719365768134594, -0.028138089925050735, -0.008503980003297329, 0.0470254011452198, -0.00313293794170022, 0.04190889000892639, 0.020043540745973587, 0.004237791523337364, 0.02300834283232689, 0.033227428793907166, 0.014937534928321838, 0.0047945501282811165, -0.013910667039453983, 0.009572702459990978, -0.00360218551941216, -0.0019772741943597794, -0.03391989693045616, 0.04281816631555557, -0.0036361359525471926, 0.041803132742643356, 0.01076257973909378, 0.03682654723525047, -0.00013434792344924062, 0.013469996862113476, -0.08033373951911926, 0.04330451041460037, -0.016304878517985344, -0.04752982780337334, -0.0007910511922091246, 0.009541486389935017, 0.07790110260248184, -0.04973042011260986, -0.015796473249793053, 0.025254618376493454, 0.011629790998995304, 0.026160771027207375, -0.051555730402469635, -0.021978074684739113, -0.015657177194952965, -0.03246704488992691, -0.01117892749607563, 0.018918944522738457, -0.036228593438863754, -0.0648340955376625, -0.012016323395073414, -0.012191304005682468, -0.022039268165826797, -0.013249489478766918, 0.0021464191377162933, 0.06333956867456436, -0.0032059508375823498, -0.016385167837142944, -0.027920588850975037, -0.04760745167732239, 0.014273237437009811, -0.002090400317683816, 0.012112084776163101, -0.03834760934114456, -0.033443666994571686, -0.019214535132050514, -0.028342781588435173, -0.0028145667165517807, -0.010142747312784195, -0.0301519725471735, -0.010829223319888115, -0.0034235361963510513, 0.016077930107712746, -0.018384486436843872, -0.014765575528144836, 0.02429661899805069, -0.060283634811639786, 0.03711017966270447, 0.040362417697906494, -0.03183918818831444, 0.03541293367743492, -0.08089172095060349, -0.035340581089258194, -0.0018934357212856412, 0.007923492230474949, 0.01868310756981373, -0.018459822982549667, -0.03121369145810604, 0.009852530434727669, -0.01837613433599472, -0.012246489524841309, 0.016012294217944145, -0.033453647047281265, -0.027672167867422104, -0.01455715298652649, -0.005103135481476784, 0.07360797375440598, -0.02148321643471718, -0.055843982845544815, 0.021582022309303284, -0.005676569417119026, 0.015664109960198402, -0.058171141892671585, -0.01110560167580843, 0.03658006712794304, -0.015845615416765213, 0.039552073925733566, -0.060204148292541504, 0.03667987138032913, -0.021127626299858093, -0.017146339640021324, -0.007307977415621281, 0.010080475360155106, -0.03325137868523598, -0.009686681441962719, 0.005497088190168142, 0.05432840436697006, 0.021936869248747826, -0.0037276011426001787, 0.015350408852100372, 0.01064022071659565, 0.009525674395263195, -0.012738155201077461, -0.023666424676775932, -0.0014674318954348564, 0.04877127707004547, 0.007367289625108242, -0.005842697806656361, -0.04435301944613457, 0.012163105420768261, 0.03524443134665489, -0.03586428984999657, 0.015803135931491852, -0.024254072457551956, 0.035114992409944534, 0.018091371282935143, 0.05529960244894028, 0.009074481204152107, -0.021330462768673897, 0.01789177395403385, -0.08510833233594894, -0.012666149996221066, -0.08198168128728867, 0.016944395378232002, 0.03537134826183319, -0.017169920727610588, 0.03259086608886719, 0.04691562056541443, -0.03303117677569389, 0.014285728335380554, -0.05381616950035095, -0.06851958483457565, -0.014790104702115059, -0.02421632409095764, -0.01822841539978981, 0.06037791818380356, -0.05354186147451401, -0.0473610945045948, 0.00038364430656656623, -0.03056895174086094, 0.0013175619533285499, 0.010368352755904198, 0.026972806081175804, -0.023711316287517548, 0.0029065718408674, -0.04788323864340782, 0.012439376674592495, 0.03716565668582916, 0.03674140200018883, 0.024301519617438316, 0.025404460728168488, -0.050642311573028564, 0.04142167419195175, 0.04936375468969345, 0.024623427540063858, 0.030233440920710564, 0.013709913939237595, 0.010541430674493313, -0.03201357647776604, 0.06503191590309143, -0.0044102962128818035, -0.02954334393143654, -0.06178702786564827, 0.054260920733213425, 0.04642290621995926, -0.07282321900129318, -0.043906282633543015, 0.0169824305921793, -0.052085328847169876, 0.019727760925889015, -0.012501777149736881, -0.01889055222272873, 0.031836748123168945, 0.07658343017101288, 0.016855694353580475, 0.03786260262131691, 0.036030638962984085, 0.006408190354704857, -0.017368106171488762, -0.00847040768712759, 0.09110127389431, 0.07411034405231476, 0.048894427716732025, -0.019918497651815414, 0.06396374106407166, -0.051254451274871826, -0.03833577409386635, 0.009949288330972195, -0.03514036908745766, 0.0010725728934630752, -0.051824167370796204, -0.012735187076032162, 0.013197392225265503, 0.02290216088294983, 0.06587617844343185, -0.0613274946808815, 0.00995388813316822, 0.045859407633543015, -0.015587466768920422, 0.0286546777933836, 0.034707944840192795, 0.029009761288762093, 0.020360849797725677, -0.04019507020711899, -0.03211485221982002, -0.0003888340143021196, 0.010331815108656883, 0.02212320640683174, 0.014355415478348732, -0.0362735278904438, 0.011923268437385559, 0.011460001580417156, 0.006799766328185797, 0.08554396033287048, -0.05131310969591141, -0.03493189066648483, -0.0006556011503562331, 0.012026702985167503, -0.02688133902847767, 0.07590027153491974, 0.04228708893060684, -0.029608428478240967, 0.017399195581674576, -0.056232865899801254, 0.0034406220074743032, 0.03849918767809868, -0.0035776724107563496, -0.0107945641502738, -0.03633957728743553, -0.0002133411035174504, 0.022308994084596634, 0.027040662243962288, -0.04344726353883743, -0.03832031041383743, -0.021717781201004982, -0.05205832049250603, -0.06205521523952484, -0.04899163916707039, 0.0009826351888477802, -0.002954675117507577, -0.05346366763114929, 0.008529437705874443, -0.014332013204693794, 0.020684584975242615, -0.02893143892288208, -0.026559188961982727, -0.029840992763638496, 0.03748004510998726, 0.04182235896587372, 0.031520094722509384, 0.02930804342031479, 0.024468066170811653, -0.01210574060678482, -0.04312829300761223, 0.020917760208249092, 0.021085457876324654, 0.04531564936041832, -0.01818162389099598, -0.018689880147576332, -0.0893801599740982, -0.01088590919971466, 0.048506781458854675, -0.02219483070075512, -0.06966471672058105, 0.001532306894659996, -0.05337027087807655, 0.007105465047061443, 0.044255331158638, -0.007979514077305794, 0.003894087625667453, -0.04271535575389862, -0.007697783410549164, 0.00895538367331028, -0.013326236046850681, 0.016878794878721237, -0.04035227373242378, 0.03227449208498001, 0.03568023443222046, -0.049166250973939896, -0.05608442798256874, 0.0737486481666565, 0.012240647338330746, 0.00746655510738492, -0.02842702902853489, -0.02365933358669281, -0.039802804589271545, -0.09229715913534164, -0.009108931757509708, 0.042446769773960114, 0.0018458504928275943, -0.016454005613923073, 0.010904274880886078, 0.029498010873794556, -0.0142027223482728, 0.024848412722349167, -0.010060838423669338, 0.019412169232964516, -0.06161486729979515, -0.013643953949213028, -0.0697321891784668, 0.05741199105978012, -0.04287431016564369, 0.008959457278251648, -0.030575012788176537, -0.029895734041929245, -0.025657014921307564, -0.01233706809580326, -0.011203986592590809, 0.010154585354030132, -0.007847307249903679, 0.005080192815512419 ]
323
Langevin Soft Actor-Critic: Efficient Exploration through Uncertainty-Driven Critic Learning
https://openreview.net/forum?id=FvQsk3la17
[ "Haque Ishfaq", "Guangyuan Wang", "Sami Nur Islam", "Doina Precup" ]
Poster
Existing actor-critic algorithms, which are popular for continuous control reinforcement learning (RL) tasks, suffer from poor sample efficiency due to lack of principled exploration mechanism within them. Motivated by the success of Thompson sampling for efficient exploration in RL, we propose a novel model-free RL algorithm, \emph{Langevin Soft Actor Critic} (LSAC), which prioritizes enhancing critic learning through uncertainty estimation over policy optimization. LSAC employs three key innovations: approximate Thompson sampling through distributional Langevin Monte Carlo (LMC) based $Q$ updates, parallel tempering for exploring multiple modes of the posterior of the $Q$ function, and diffusion synthesized state-action samples regularized with $Q$ action gradients. Our extensive experiments demonstrate that LSAC outperforms or matches the performance of mainstream model-free RL algorithms for continuous control tasks. Notably, LSAC marks the first successful application of an LMC based Thompson sampling in continuous control tasks with continuous action spaces.
Actor-Critic, Exploration, Reinforcement Learning, Thompson Sampling, Langevin Monte Carlo, Deep Reinforcement learning, Continuous Control
We propose a principled exploration approach for actor-critic algorithms through critic learning using approximate Thompson sampling
13,486
null
[ -0.006885150447487831, -0.013265660032629967, 0.001259344513528049, 0.029593342915177345, 0.062366507947444916, 0.018276046961545944, 0.01967833936214447, -0.015506822615861893, -0.031711943447589874, -0.035672202706336975, 0.016685141250491142, 0.033851392567157745, -0.07285427302122116, -0.013986730948090553, 0.021640844643115997, 0.06297163665294647, 0.022471588104963303, 0.002409197622910142, 0.003893957007676363, 0.021448999643325806, -0.014230707660317421, -0.005571635439991951, 0.04464792087674141, 0.017576484009623528, 0.02665378898382187, 0.00803191028535366, 0.025822538882493973, 0.03892320394515991, -0.019079262390732765, -0.006313110236078501, 0.021314265206456184, -0.01988057792186737, 0.006157020106911659, -0.024308739230036736, -0.0046312808990478516, 0.00867066066712141, -0.02117026224732399, 0.002734554698690772, 0.006388674024492502, -0.002581313718110323, -0.036946941167116165, 0.00558949401602149, -0.017420949414372444, -0.00023258395958691835, -0.030420852825045586, 0.014940651133656502, -0.0633753165602684, 0.019394975155591965, 0.028353767469525337, -0.05445298179984093, -0.09257986396551132, 0.032570790499448776, 0.04046931490302086, -0.029374537989497185, -0.002078851219266653, 0.025933263823390007, 0.053955331444740295, -0.10737294703722, -0.017681598663330078, -0.08757397532463074, -0.0203629732131958, -0.0019351225346326828, 0.01708250306546688, -0.0028225374408066273, -0.0024368693120777607, 0.04188064858317375, 0.034623321145772934, 0.03852325305342674, -0.022967396304011345, -0.0024954453110694885, -0.029651831835508347, -0.012477300129830837, 0.01164029911160469, 0.011498916894197464, -0.007310379296541214, -0.03784516826272011, 0.01607700251042843, 0.041157741099596024, 0.06994398683309555, 0.010283209383487701, 0.017427785322070122, 0.013407191261649132, 0.0064666783437132835, 0.04249901697039604, 0.021064849570393562, 0.029434194788336754, -0.011829986236989498, -0.012008060701191425, -0.07222730666399002, 0.033513277769088745, -0.047902680933475494, -0.0636526569724083, 0.01883087307214737, 0.03666200116276741, 0.03403884917497635, -0.024814270436763763, 0.012230844236910343, 0.03849688544869423, 0.013564725406467915, -0.009865015745162964, -0.021201999858021736, -0.01831897161900997, 0.007657374255359173, -0.007150376681238413, -0.09785812348127365, -0.015891678631305695, -0.018835481256246567, 0.0005955050000920892, -0.03255007416009903, 0.044561564922332764, -0.049813978374004364, -0.01634196937084198, 0.0009038001880981028, -0.04674737527966499, -0.08927971869707108, 0.017585838213562965, 0.0024449301417917013, 0.01582089066505432, 0.029201025143265724, 0.012917234562337399, 0.044941920787096024, 0.05688297376036644, 0.018209846690297127, 0.05780606344342232, -0.0023092341143637896, 0.02157597430050373, 0.021757883951067924, 0.028344497084617615, 0.013037621043622494, -0.04199203848838806, 0.042716339230537415, 0.04801173508167267, -0.02177114598453045, 0.0013664819998666644, -0.02577594295144081, 0.0017271224642172456, 0.02659374289214611, 0.033786341547966, -0.013878467492759228, 0.0008103682775981724, 0.011570333503186703, -0.0366392619907856, 0.07871518284082413, -0.017271945253014565, 0.062980517745018, -0.01590672694146633, 0.014511209912598133, -0.04450526833534241, -0.07897397130727768, -0.015346097759902477, 0.0027232361026108265, -0.015824012458324432, -0.01916477456688881, -0.027186641469597816, -0.0038123915437608957, 0.009995000436902046, 0.025173518806695938, 0.02258012630045414, 0.017145324498414993, -0.0013833421980962157, 0.033572353422641754, 0.004943968262523413, -0.023353729397058487, -0.023696288466453552, 0.004681057296693325, -0.10294365882873535, 0.0407741405069828, 0.03341120854020119, -0.01083702128380537, -0.01148052979260683, -0.04231056571006775, -0.030858945101499557, 0.026036012917757034, 0.00044273416278883815, -0.012676404789090157, 0.027012759819626808, 0.045526325702667236, -0.008625522255897522, 0.05157729238271713, 0.016919096931815147, -0.07173453271389008, 0.023326897993683815, 0.0029793137218803167, -0.02167317643761635, 0.01720225065946579, -0.04263545945286751, 0.05658108741044998, -0.014583680778741837, 0.033170104026794434, 0.01649581827223301, -0.0617162324488163, -0.0054902127012610435, 0.023029346019029617, -0.0021334511693567038, 0.04801581799983978, 0.005780092440545559, -0.018020881339907646, 0.025516284629702568, 0.028175877407193184, 0.04539968818426132, 0.03211256489157677, -0.026497239246964455, 0.030228182673454285, -0.012779035605490208, -0.027181224897503853, -0.015737373381853104, 0.03930901736021042, -0.030288608744740486, -0.017594514414668083, 0.014999426901340485, -0.015642831102013588, 0.025380020961165428, 0.006930692121386528, 0.006869732402265072, 0.02407703548669815, 0.00038539807428605855, 0.0014359232736751437, 0.008988115936517715, 0.019543442875146866, -0.035103216767311096, 0.014662607572972775, 0.005582683254033327, -0.02811119146645069, 0.007149500772356987, -0.021899046376347542, 0.08903264254331589, 0.07426601648330688, -0.03101985715329647, -0.030280623584985733, 0.015686921775341034, -0.013417044654488564, -0.0005447677103802562, 0.0048970854841172695, -0.02852863445878029, 0.016450662165880203, -0.011835074052214622, 0.03507426381111145, -0.0592770017683506, 0.03687159717082977, -0.03529536724090576, 0.005419348366558552, 0.08236348628997803, -0.0040126522071659565, 0.06314753741025925, -0.021834291517734528, 0.012380079366266727, 0.03590802475810051, 0.021703526377677917, -0.028664199635386467, -0.00044704420724883676, -0.0425594188272953, -0.0003635848988778889, 0.04472442716360092, -0.012521009892225266, -0.006347164046019316, -0.0531066469848156, -0.04629893600940704, -0.006605394184589386, 0.07683193683624268, 0.06656578928232193, 0.021856093779206276, 0.027844272553920746, -0.007006671279668808, -0.008096624165773392, -0.04731637239456177, -0.10303930938243866, -0.026582546532154083, 0.004392847418785095, 0.012513116002082825, 0.04180197790265083, 0.0045014736242592335, -0.025956129655241966, 0.043250344693660736, -0.0017063769046217203, 0.00020552569185383618, 0.024702390655875206, 0.012272941879928112, 0.05182093381881714, -0.011939714662730694, -0.018461482599377632, 0.008424917235970497, 0.0894084945321083, 0.012585300020873547, -0.010184521786868572, 0.006326282862573862, -0.05346190184354782, -0.00789064634591341, 0.009357074275612831, 0.01311536692082882, 0.011065788567066193, 0.016655724495649338, 0.0030773512553423643, -0.034203361719846725, 0.0161662045866251, 0.014510676264762878, 0.04782912880182266, 0.037901073694229126, 0.0272445697337389, -0.01897498592734337, -0.0020985316950827837, -0.02114841341972351, -0.005042990669608116, -0.045217860490083694, 0.005966034717857838, 0.0065735261887311935, -0.014161120168864727, 0.027503112331032753, 0.025263335555791855, -0.25108516216278076, -0.02514703758060932, 0.03557051345705986, 0.03679554536938667, 0.022611957043409348, 0.01918700523674488, 0.048298366367816925, -0.05211181193590164, -0.044745370745658875, 0.015924010425806046, 0.017032073810696602, 0.015293885953724384, -0.0025488852988928556, 0.06629893183708191, 0.05911843478679657, 0.03345607966184616, -0.007374155335128307, -0.019228782504796982, 0.0025827488861978054, -0.003814119379967451, -0.010051554068922997, -0.06819117814302444, -0.004738873802125454, 0.009876667521893978, 0.0195167139172554, 0.05183187872171402, -0.08657044917345047, 0.011838388629257679, -0.02362564392387867, 0.0007735216640867293, -0.07418953627347946, 0.0024752572644501925, -0.051941465586423874, 0.00997958518564701, 0.030463749542832375, 0.026013681665062904, 0.04826141893863678, -0.007109641097486019, 0.015410239808261395, -0.002734326058998704, 0.0053170910105109215, 0.01982315629720688, -0.07174652069807053, 0.0044969539158046246, 0.06398597359657288, 0.024735169485211372, -0.03978116810321808, -0.00521412817761302, -0.007394781336188316, 0.03967168927192688, 0.01909606344997883, -0.023539818823337555, 0.010204553604125977, -0.004621998406946659, 0.02785332314670086, 0.003429681295529008, -0.005767321214079857, -0.024712195619940758, -0.003609943203628063, 0.01425598468631506, 0.0017685177735984325, -0.04837126284837723, -0.01256284024566412, -0.0157335065305233, -0.0028560033533722162, -0.04463914781808853, -0.051214832812547684, -0.061711929738521576, 0.04734396934509277, 0.02310929447412491, 0.0020731219556182623, -0.03611065447330475, -0.018634075298905373, -0.10614585876464844, 0.025363588705658913, -0.027172042056918144, -0.001077532535418868, -0.06280810385942459, 0.03359048068523407, 0.045644551515579224, -0.03425315394997597, -0.031897079199552536, -0.007720180321484804, 0.023755203932523727, 0.030245013535022736, -0.008339365012943745, 0.034574445337057114, -0.04151046276092529, -0.02181016467511654, -0.053303591907024384, 0.018256867304444313, 0.017539050430059433, 0.02538875862956047, -0.04311925917863846, 0.027631336823105812, 0.020371679216623306, 0.020289311185479164, 0.015384338796138763, 0.003128836629912257, -0.0191057026386261, 0.022525591775774956, -0.0919213593006134, 0.009366247802972794, -0.05354851484298706, -0.023415246978402138, 0.004829992074519396, -0.06213333457708359, -0.028989152982831, 0.03157368674874306, 0.02588999830186367, -0.006784556433558464, -0.03589683398604393, 0.025697816163301468, 0.004966786131262779, -0.005811304319649935, -0.013200357556343079, -0.017755022272467613, 0.055247317999601364, 0.020444650202989578, -0.003421675181016326, -0.05514125898480415, 0.03816599398851395, -0.05680430680513382, 0.01040250901132822, -0.00858730636537075, -0.02216148190200329, 0.03870384767651558, -0.011684367433190346, -0.016079943627119064, -0.00218597031198442, 0.018234966322779655, 0.058663178235292435, 0.020916853100061417, 0.01512390561401844, 0.053456418216228485, -0.0033805035054683685, -0.031632617115974426, -0.015673361718654633, 0.04234214499592781, -0.010441447608172894, -0.004242685157805681, -0.008908660151064396, 0.027566686272621155, 0.0388554111123085, 0.03352619335055351, 0.02725703828036785, 0.03296492621302605, 0.027897268533706665, 0.03062104992568493, 0.023975582793354988, 0.05241422355175018, -0.055375706404447556, -0.02470291405916214, -0.003454154124483466, 0.037310779094696045, -0.010659676976501942, 0.02357073687016964, -0.02415502816438675, 0.038266658782958984, -0.05368340015411377, 0.023944048210978508, 0.013436228968203068, -0.04064954072237015, 0.018744589760899544, 0.046265631914138794, 0.03735358640551567, -0.0521523617208004, 0.0005641459138132632, 0.02176528237760067, 0.0023820605129003525, 0.002710937289521098, -0.03876545652747154, -0.025704490020871162, -0.032047562301158905, -0.016272036358714104, -0.023192573338747025, 0.01908041350543499, -0.08106821030378342, -0.04129456356167793, 0.025313038378953934, 0.0037320218980312347, -0.05367431044578552, -0.026611538603901863, -0.014603931456804276, 0.06334276497364044, -0.02099969983100891, -0.0101486686617136, -0.014058089815080166, -0.03921660780906677, 0.024739613756537437, 0.025732554495334625, 0.033965814858675, -0.013124467805027962, -0.04340866208076477, -0.017134353518486023, -0.03289157152175903, 0.011639256030321121, 0.017010729759931564, -0.018324509263038635, -0.0005017665680497885, 0.021086249500513077, 0.0019521433860063553, -0.023509150370955467, -0.0012488400097936392, -0.005534451454877853, -0.0504588782787323, 0.007226608693599701, 0.04531025514006615, -0.00564564997330308, 0.06646689772605896, -0.07942552119493484, -0.04832608625292778, -0.025548335164785385, -0.014079022221267223, 0.00214008498005569, -0.03386712446808815, -0.023289944976568222, -0.017739808186888695, -0.003839540295302868, 0.019536249339580536, 0.0067120143212378025, -0.02290501818060875, 0.002240388421341777, -0.03890440985560417, 0.011006291024386883, 0.03698553517460823, -0.055642206221818924, -0.02509397640824318, 0.021744294092059135, 0.013569321483373642, 0.02632463164627552, -0.03654368221759796, 0.009152808226644993, 0.029741914942860603, -0.03850298374891281, 0.022748930379748344, -0.07123103737831116, 0.054106760770082474, -0.008018706925213337, -0.04409037157893181, -0.01798039674758911, 0.04377661272883415, -0.061444833874702454, -0.020868055522441864, -0.028925318270921707, 0.017567096278071404, 0.03319330886006355, 0.016283491626381874, 0.021625110879540443, 0.0159896370023489, 0.026208927854895592, 0.020095327869057655, -0.05507740378379822, 0.024933306500315666, 0.06110864877700806, -0.011522295884788036, -0.014798850752413273, -0.054965440183877945, -0.015497660264372826, 0.01988234370946884, -0.042528629302978516, 0.010310277342796326, -0.038408782333135605, 0.025664210319519043, 0.02216576598584652, 0.03414526209235191, 0.010129476897418499, -0.03645436093211174, 0.005278380122035742, -0.08771193027496338, 0.0031248400919139385, -0.06802621483802795, -0.016453320160508156, 0.06197301298379898, -0.039438359439373016, 0.013626855798065662, 0.06187855452299118, -0.048723313957452774, 0.055219635367393494, -0.04221750795841217, -0.06872772425413132, 0.03646745905280113, -0.03351326659321785, 0.0035096921492367983, 0.02719326689839363, -0.06688759475946426, -0.05482690781354904, -0.010876558721065521, -0.055874500423669815, 0.01573578454554081, 0.006684566382318735, 0.03191978484392166, -0.022105464711785316, -0.005490196868777275, -0.05466237664222717, 0.035179998725652695, 0.009590803645551205, 0.04222923889756203, 0.015383930876851082, -0.0009018191485665739, -0.07314487546682358, 0.06636461615562439, 0.04471981152892113, 0.035291437059640884, 0.007738234009593725, -0.005693653132766485, -0.022434603422880173, -0.022829389199614525, 0.045992422848939896, -0.02071535959839821, -0.004512741230428219, -0.06266054511070251, 0.0356951504945755, 0.037323612719774246, -0.07191488891839981, -0.02659839391708374, 0.023390332236886024, -0.07077660411596298, -0.01661486178636551, 0.008263872936367989, 0.020270688459277153, 0.030737198889255524, 0.0788666158914566, 0.028609970584511757, 0.05577346682548523, 0.05993901193141937, 0.021620476618409157, 0.01684069260954857, 0.005064237862825394, 0.06726039946079254, 0.07566320151090622, 0.038152895867824554, -0.043561968952417374, 0.0643872618675232, -0.05230794847011566, -0.03009522333741188, 0.050601307302713394, 0.00022742472356185317, -0.028379077091813087, -0.06206446513533592, 0.02531074732542038, 0.05574958026409149, -0.01038445346057415, 0.06106379255652428, -0.051700569689273834, -0.05859399959445, 0.05395996943116188, -0.018377508968114853, -0.009864442981779575, 0.02335488423705101, 0.020842483267188072, 0.01601848378777504, -0.0029347941745072603, -0.02926282025873661, 0.020714115351438522, -0.008796235546469688, 0.01041380874812603, -0.005289088934659958, -0.02423390932381153, -0.007753191515803337, 0.022828347980976105, 0.03549506515264511, 0.11263269186019897, -0.05475222319364548, 0.00437112245708704, 0.02078082598745823, 0.0018130148528143764, -0.0211747158318758, 0.05047833174467087, 0.03000100702047348, 0.0022452755365520716, 0.018277600407600403, -0.04852597787976265, 0.013368215411901474, 0.04491366073489189, 0.0041189659386873245, 0.006578931584954262, -0.025422073900699615, -0.019317572936415672, 0.03286360576748848, -0.0007725553005002439, -0.03528837114572525, -0.03341097757220268, -0.033663857728242874, -0.05111744627356529, -0.05268797650933266, -0.0746707171201706, 0.014340916648507118, -0.003590654581785202, -0.02739964984357357, 0.022755393758416176, -0.04693380370736122, 0.03215789794921875, -0.002143565099686384, -0.03949218615889549, -0.006906168535351753, 0.025462370365858078, -0.00542784808203578, 0.008963542059063911, 0.014792720787227154, 0.039159297943115234, 0.021231042221188545, -0.026287224143743515, 0.022933626547455788, 0.04087623208761215, 0.020779142156243324, -0.0369887575507164, -0.007944274693727493, -0.09427476674318314, -0.01569386012852192, 0.03885814920067787, -0.015065908432006836, -0.07374711334705353, 0.03414811193943024, -0.07652002573013306, 0.02520713582634926, 0.06381712108850479, 0.002285013673827052, 0.02221229113638401, -0.036675676703453064, -0.034018561244010925, 0.01369214616715908, 0.019559327512979507, 0.033897221088409424, -0.05029824748635292, 0.041528671979904175, 0.04373465105891228, -0.042109210044145584, -0.06363358348608017, 0.0476660430431366, -0.003692941041663289, -0.005637960508465767, -0.0073858886025846004, -0.01226423867046833, -0.02869056537747383, -0.11088375747203827, -0.018171753734350204, 0.054272815585136414, 0.024032507091760635, -0.03140958026051521, 0.027883917093276978, -0.001893478911370039, 0.006525853183120489, 0.009423794224858284, -0.011715946719050407, -0.03304823860526085, -0.04090293124318123, -0.01431980635970831, -0.059727743268013, 0.017509354278445244, -0.029448000714182854, -0.014440251514315605, -0.014924122020602226, -0.04821694269776344, -0.006497523281723261, 0.00576674472540617, 0.0012412745272740722, 0.01734238490462303, -0.004777018912136555, -0.005538807716220617 ]
324
Searching for Optimal Solutions with LLMs via Bayesian Optimization
https://openreview.net/forum?id=aVfDrl7xDV
[ "Dhruv Agarwal", "Manoj Ghuhan Arivazhagan", "Rajarshi Das", "Sandesh Swamy", "Sopan Khosla", "Rashmi Gangadharaiah" ]
Poster
Scaling test-time compute to search for optimal solutions is an important step towards building generally-capable language models that can reason. Recent work, however, shows that tasks of varying complexity require distinct search strategies to solve optimally, thus making it challenging to design a one-size-fits-all approach. Prior solutions either attempt to predict task difficulty to select the optimal search strategy, often infeasible in practice, or use a static, pre-defined strategy, e.g., repeated parallel sampling or greedy sequential search, which is sub-optimal. In this work, we argue for an alternative view using the probabilistic framework of Bayesian optimization (BO), where the search strategy is adapted dynamically based on the evolving uncertainty estimates of solutions as search progresses. To this end, we introduce Bayesian-OPRO (BOPRO)––a generalization of a recent method for in-context optimization, which iteratively samples from new proposal distributions by modifying the prompt to the LLM with a subset of its previous generations selected to explore or exploit different parts of the search space. We evaluate our method on word search, molecule optimization, and a joint hypothesis+program search task using a 1-D version of the challenging Abstraction and Reasoning Corpus (1D-ARC). Our results show that BOPRO outperforms all baselines in word search (≥10 points) and molecule optimization (higher quality and 17% fewer invalid molecules), but trails a best-k prompting strategy in program search. Our analysis reveals that despite the ability to balance exploration and exploitation using BOPRO, failure is likely due to the inability of code representation models in distinguishing sequences with low edit-distances.
search, optimization, LLMs, test-time steering, bayesian optimization, reasoning
We present Bayesian-OPRO (BOPRO), a method for generating optimal solutions with LLMs via Bayesian optimization that explores and exploits the search space based on evolving uncertainty estimates of the solution space as search progresses.
13,475
null
[ -0.024495741352438927, 0.017761994153261185, 0.006341944448649883, 0.03896447271108627, 0.056881677359342575, 0.028343942016363144, 0.03342815861105919, 0.020020149648189545, -0.013829133473336697, -0.02064596861600876, -0.00979510135948658, 0.035261619836091995, -0.05890277028083801, -0.012243042699992657, 0.012561557814478874, 0.06087610870599747, 0.01243302971124649, 0.013905387371778488, 0.03178517147898674, -0.0037270067259669304, 0.014948719181120396, 0.0025512247812002897, 0.02598898485302925, 0.020301619544625282, 0.05131983384490013, 0.025784941390156746, 0.013206404633820057, 0.018452204763889313, -0.028362128883600235, -0.022784577682614326, 0.01860462874174118, -0.016984129324555397, 0.02151680923998356, -0.012584472075104713, 0.0009925778722390532, 0.015010328032076359, -0.05309554189443588, 0.010979008860886097, -0.007211967837065458, 0.023280322551727295, -0.06713002175092697, 0.03738512471318245, -0.01928500458598137, 0.02559772878885269, -0.03922167420387268, 0.01841839589178562, -0.09693349897861481, 0.030066054314374924, 0.01058889925479889, -0.041057951748371124, -0.10638236254453659, 0.040264252573251724, 0.01609465666115284, -0.02909761853516102, -0.016412707045674324, 0.03467694669961929, 0.05542463809251785, -0.08662862330675125, -0.0031501329503953457, -0.04520797356963158, -0.0490533821284771, 0.02323256805539131, -0.006340432912111282, 0.02351534180343151, 0.0067626540549099445, -0.02467714250087738, 0.009716356173157692, 0.04277482256293297, -0.07569268345832825, -0.019306901842355728, -0.050406716763973236, 0.0006129172979854047, -0.004217429086565971, 0.0012873031664639711, 0.0037744930014014244, -0.020890483632683754, 0.003765352303162217, 0.03215697035193443, 0.0352693572640419, 0.024067120626568794, -0.007876674644649029, 0.034688014537096024, 0.016236599534749985, 0.03223990648984909, 0.012497633695602417, 0.02517782524228096, -0.04260699823498726, -0.022695263847708702, -0.08549582213163376, 0.036680158227682114, 0.035184334963560104, -0.06868433952331543, 0.011111174710094929, 0.03449244797229767, 0.026377862319350243, -0.0037588607519865036, 0.03377781808376312, 0.022808561101555824, -0.02767675742506981, 0.0069474950432777405, -0.033654388040304184, -0.03610612079501152, 0.03595731407403946, -0.005405903793871403, -0.12436401098966599, -0.00928185973316431, -0.01872282475233078, -0.004791733343154192, -0.013719073496758938, 0.007153556682169437, -0.015029949136078358, 0.0011906800791621208, 0.015672553330659866, -0.0008342252112925053, -0.07667241990566254, 0.026792196556925774, 0.00374598428606987, 0.04390504211187363, 0.0006780367693863809, 0.006620639003813267, 0.025105111300945282, 0.049259256571531296, -0.0023481477983295918, 0.058496154844760895, -0.0061202580109238625, 0.0026226623449474573, 0.023028593510389328, 0.028870901092886925, -0.036971565335989, -0.03950009122490883, 0.004240995738655329, 0.038999516516923904, 0.012400844134390354, -0.011089896783232689, -0.017451653257012367, 0.0041201235726475716, 0.004475916735827923, 0.030665062367916107, 0.03177831321954727, -0.004964315798133612, -0.01884479634463787, -0.004541768692433834, 0.06749868392944336, -0.008057231083512306, 0.0589594841003418, -0.015723135322332382, -0.012021311558783054, -0.023715103045105934, -0.03817667067050934, 0.000031239142117556185, 0.010129788890480995, 0.0041151028126478195, 0.000008665884706715588, -0.06645149737596512, 0.021865027025341988, 0.07235133647918701, 0.02373824082314968, 0.0014165713218972087, 0.0024369140155613422, -0.001753246528096497, 0.006293207406997681, 0.01103997603058815, -0.06524738669395447, 0.02143530547618866, -0.00412055803462863, -0.05136757716536522, 0.034158043563365936, 0.05088163912296295, -0.062091466039419174, 0.011042666621506214, -0.03030262142419815, -0.042504288256168365, 0.07722073793411255, -0.03120875544846058, -0.024739768356084824, -0.017668332904577255, 0.07218515872955322, -0.011902808211743832, 0.055271148681640625, 0.00844553392380476, -0.07596316933631897, 0.005098923109471798, 0.011771529912948608, 0.008608109317719936, 0.0261888038367033, -0.03274880722165108, 0.09730903059244156, -0.013187099248170853, 0.01843692734837532, 0.020227741450071335, -0.061951540410518646, -0.022178323939442635, 0.03887581825256348, -0.0018355114152655005, 0.07005826383829117, -0.017599398270249367, -0.011805965565145016, 0.054504990577697754, 0.019990453496575356, 0.04335840791463852, 0.04607030749320984, 0.009798950515687466, 0.042108409106731415, -0.02365700714290142, -0.04551567882299423, -0.002908482449129224, 0.05910010635852814, -0.0615779384970665, -0.018582167103886604, 0.03773421421647072, -0.016871187835931778, 0.01819121651351452, -0.00141379632987082, -0.00832962803542614, 0.03709099441766739, -0.03907915949821472, 0.0015111815882846713, -0.018724914640188217, 0.01755112037062645, -0.04264667257666588, 0.01393305417150259, 0.008189824409782887, -0.0007053181761875749, -0.005419669207185507, -0.01715504378080368, 0.08136329799890518, 0.06659341603517532, -0.052229177206754684, -0.028002904728055, 0.020702240988612175, 0.03748735040426254, 0.005134309642016888, 0.03275582939386368, -0.02782842144370079, 0.0022796420380473137, -0.03208707645535469, -0.006837360095232725, -0.029995523393154144, 0.04513564333319664, -0.03104851208627224, -0.027163518592715263, 0.04964231327176094, -0.0267246775329113, 0.0597471259534359, -0.024111071601510048, 0.0013472134014591575, 0.04497940465807915, -0.004225199110805988, -0.025243114680051804, -0.021376125514507294, -0.01921396702528, 0.003125515766441822, -0.02686689980328083, 0.005422858987003565, 0.006148865446448326, -0.0646248534321785, -0.00741120520979166, -0.013075613416731358, 0.06855971366167068, 0.06401531398296356, -0.009762070141732693, 0.030033988878130913, 0.02747746743261814, -0.03426518663764, 0.0008471761830151081, -0.10869869589805603, -0.021082157269120216, -0.030208049342036247, -0.0004762491153087467, 0.029350873082876205, 0.015924911946058273, -0.001998588675633073, 0.030947182327508926, -0.03889614716172218, -0.0181750375777483, -0.0037843212485313416, 0.022145317867398262, -0.006842771545052528, -0.029158147051930428, -0.021678423509001732, 0.013132496736943722, 0.050533708184957504, -0.037387747317552567, -0.010388825088739395, -0.04944148659706116, -0.04895036295056343, -0.025605544447898865, -0.05913734808564186, 0.0018760612001642585, 0.039652179926633835, 0.0005587777704931796, -0.0021423627622425556, -0.034746505320072174, 0.028912793844938278, 0.051012441515922546, 0.009401666931807995, 0.06135181710124016, 0.017419962212443352, -0.02817934937775135, 0.02709970809519291, -0.008600099012255669, 0.010414094664156437, -0.026871349662542343, 0.016849985346198082, -0.007006615400314331, 0.003944890573620796, 0.011406134814023972, 0.009223772212862968, -0.2505812346935272, -0.018363822251558304, -0.024964556097984314, -0.03464214876294136, 0.028946615755558014, -0.006836456712335348, 0.03155884891748428, -0.04684792459011078, -0.024313105270266533, 0.0017981305718421936, -0.0002495031803846359, 0.04474128782749176, 0.005403082352131605, 0.06660312414169312, 0.058561742305755615, 0.03761221468448639, -0.022229041904211044, -0.015421122312545776, 0.0018226609099656343, 0.020352698862552643, 0.018403643742203712, -0.05495598912239075, -0.012558110058307648, 0.033230312168598175, 0.0055869449861347675, 0.06840947270393372, -0.07348188757896423, 0.004036610946059227, -0.028879284858703613, 0.0009918201249092817, -0.04748942330479622, -0.030778398737311363, -0.021275272592902184, 0.02257753349840641, 0.014351367950439453, 0.01695931702852249, 0.043363168835639954, -0.030697612091898918, 0.04138091951608658, 0.05542890727519989, 0.017373528331518173, -0.023906689137220383, -0.0547003298997879, -0.019144702702760696, 0.047355666756629944, 0.008968431502580643, -0.059227246791124344, -0.004042023792862892, -0.015107459388673306, 0.041171617805957794, -0.015371039509773254, -0.04373723268508911, -0.021855542436242104, 0.009471471421420574, 0.04461183398962021, -0.015919875353574753, 0.03826116397976875, -0.048443589359521866, -0.016195528209209442, -0.011452148668467999, -0.004157413728535175, -0.02873380109667778, -0.02917073294520378, -0.03761718049645424, -0.0195172019302845, -0.03932090103626251, -0.05482606589794159, -0.0371098667383194, 0.040996525436639786, 0.0462157279253006, -0.00623761210590601, 0.008583060465753078, -0.01701904833316803, -0.09153948724269867, -0.012282680720090866, 0.026657791808247566, -0.00883029866963625, -0.0034529182594269514, -0.012879760935902596, 0.024972308427095413, -0.0574350506067276, -0.03303807973861694, -0.013803921639919281, 0.040044523775577545, 0.04383348673582077, -0.055574897676706314, -0.012584280222654343, -0.01850203610956669, -0.022672956809401512, -0.03838155046105385, 0.023220647126436234, 0.008146483451128006, 0.021070662885904312, 0.0034889853559434414, 0.04810640588402748, 0.017527300864458084, 0.031231507658958435, 0.054006826132535934, 0.03765008598566055, 0.007690887898206711, 0.01576496660709381, -0.05439594015479088, -0.004589378368109465, -0.017397882416844368, -0.039341773837804794, 0.016311457380652428, -0.07375336438417435, -0.01910233125090599, 0.02324734628200531, -0.0014373378362506628, -0.0419432707130909, -0.024900922551751137, 0.0054917242377996445, -0.000657435564789921, -0.017695432528853416, -0.015649016946554184, 0.019856499508023262, 0.04614219069480896, 0.01800520345568657, -0.009540972299873829, -0.048520274460315704, 0.033615805208683014, -0.022852817550301552, -0.00996387004852295, -0.00973082147538662, -0.021282240748405457, 0.003969151061028242, -0.017989620566368103, -0.017524678260087967, 0.008952291682362556, 0.025636890903115273, 0.03805602714419365, 0.006709257140755653, -0.00525135500356555, 0.0455007329583168, -0.016152488067746162, -0.013027680106461048, -0.020778900012373924, 0.03920246660709381, -0.021436087787151337, 0.0015103539917618036, -0.016325097531080246, 0.05098894611001015, 0.024020865559577942, 0.036325853317976, 0.02895364537835121, 0.03209318965673447, 0.01950843073427677, 0.00972568616271019, 0.022151552140712738, 0.02836715616285801, -0.047514282166957855, 0.0010657745879143476, -0.02226182259619236, 0.04911740496754646, -0.038905251771211624, 0.036666139960289, -0.01752052642405033, 0.03710120916366577, -0.06747737526893616, 0.03238840773701668, -0.011325446888804436, -0.00447981059551239, 0.018797919154167175, 0.022227277979254723, 0.05178672447800636, -0.03616756573319435, 0.025128083303570747, -0.004897209350019693, 0.01827014423906803, 0.0117061547935009, -0.04795435443520546, -0.04915674403309822, 0.004289809614419937, -0.038538169115781784, 0.0011341468198224902, 0.021871721372008324, -0.015803754329681396, -0.05485925078392029, 0.041534390300512314, 0.007184156682342291, -0.04512849450111389, -0.01709686405956745, 0.007213256787508726, 0.09625613689422607, -0.02010333351790905, 0.014954130165278912, -0.007861869409680367, -0.050574466586112976, 0.010363049805164337, -0.008884970098733902, 0.00797454733401537, -0.002592572709545493, -0.036540716886520386, -0.042234599590301514, -0.05741693824529648, 0.033076681196689606, 0.017072046175599098, -0.009071484208106995, -0.009781665168702602, -0.004703480284661055, 0.0018913050880655646, -0.0533677339553833, -0.029562178999185562, 0.04101132974028587, -0.0780186578631401, 0.012092381715774536, 0.028990698978304863, -0.015407189726829529, 0.0537818968296051, -0.04156428948044777, -0.03481055051088333, -0.04566614329814911, 0.015851974487304688, 0.011882452294230461, -0.022264201194047928, -0.030520841479301453, -0.0007503398810513318, 0.024141261354088783, 0.006800290197134018, -0.002541656605899334, -0.015008121728897095, 0.015965929254889488, -0.030500521883368492, 0.01710628531873226, 0.06737709790468216, -0.03557465597987175, -0.025930674746632576, 0.021463792771100998, -0.04549303650856018, 0.03595198318362236, -0.07525911927223206, 0.009451602585613728, 0.054121315479278564, 0.0033494627568870783, 0.02089335024356842, -0.03371329605579376, 0.03220898658037186, 0.0065955547615885735, -0.003308474086225033, 0.021546054631471634, -0.009943165816366673, -0.019983958452939987, 0.0015083375619724393, 0.002921364502981305, 0.04658476263284683, 0.02586837112903595, 0.0024792314507067204, -0.015450900420546532, 0.019733598455786705, -0.01446074154227972, 0.021208683028817177, -0.046306807547807693, -0.018497416749596596, 0.06484079360961914, 0.02465025521814823, -0.060231588780879974, -0.06680639833211899, -0.04692576080560684, 0.013156131841242313, -0.015883339568972588, 0.023774800822138786, -0.06478287279605865, 0.036406733095645905, 0.006308534182608128, 0.03193618729710579, 0.002287680981680751, -0.029259221628308296, 0.050030164420604706, -0.05195924639701843, 0.020397726446390152, -0.05888941138982773, -0.012815362773835659, 0.08077265322208405, -0.03044435754418373, 0.015494079329073429, -0.002596439328044653, -0.027886664494872093, 0.047966085374355316, -0.004055500030517578, -0.04800812527537346, 0.03359149768948555, -0.019211215898394585, -0.009852014482021332, 0.07394666969776154, -0.057280283421278, -0.014909560792148113, -0.015298305079340935, -0.022587159648537636, 0.00048446684377267957, 0.016735240817070007, 0.06982257217168808, -0.02584095671772957, -0.0025563491508364677, -0.03696959465742111, 0.003145470516756177, 0.021526891738176346, 0.05601657181978226, 0.007039709948003292, 0.02330571971833706, -0.03642312064766884, 0.05116694048047066, 0.06710341572761536, 0.03665134310722351, -0.010733122006058693, 0.008933772332966328, -0.02880295366048813, -0.046627819538116455, 0.045035652816295624, -0.010308568365871906, 0.007392208091914654, -0.0326843187212944, 0.0838969275355339, 0.03974448889493942, -0.04905981570482254, -0.02467234805226326, 0.023652272298932076, -0.05571147799491882, -0.0039558676071465015, -0.009063269011676311, 0.015320105478167534, -0.012049499899148941, 0.06666304171085358, 0.030715588480234146, 0.043859802186489105, 0.10206884890794754, -0.004290033131837845, -0.0124059421941638, 0.0052223061211407185, 0.06880450248718262, 0.069122813642025, 0.04267240688204765, 0.004471807274967432, 0.06340212374925613, -0.06644400954246521, -0.033254124224185944, -0.005734266713261604, -0.0031109480187296867, -0.03756621479988098, -0.023872390389442444, 0.039792750030756, 0.057029854506254196, -0.022449959069490433, 0.06697505712509155, -0.04097647964954376, -0.028674742206931114, 0.05148760974407196, 0.017403295263648033, 0.0009343127603642642, 0.051271844655275345, 0.03488458693027496, 0.018982261419296265, -0.02629585936665535, -0.03464435413479805, -0.006427695509046316, -0.025226052850484848, -0.016962537541985512, 0.012643523514270782, -0.021373363211750984, -0.019865134730935097, -0.024380717426538467, 0.026522060856223106, 0.1292625367641449, -0.016094157472252846, -0.021097611635923386, 0.007286952342838049, 0.010122297331690788, 0.00014515817747451365, 0.053591538220644, 0.004888459108769894, -0.00676516629755497, -0.024225398898124695, -0.035402197390794754, 0.005104530602693558, 0.018412094563245773, -0.0006758869276382029, 0.01977626606822014, -0.026122665032744408, -0.01854228600859642, 0.002210990060120821, 0.02800227515399456, -0.07230611890554428, -0.0796576514840126, -0.0364227220416069, -0.039052318781614304, -0.059944648295640945, -0.04039543494582176, 0.02143036760389805, -0.026423878967761993, -0.030126996338367462, 0.028507454320788383, -0.011467223055660725, 0.008952295407652855, -0.003838576376438141, -0.05661735683679581, -0.005436661187559366, 0.056584544479846954, 0.006943558342754841, -0.00009546272485749796, 0.03159048780798912, 0.019343795254826546, -0.024942660704255104, -0.005647380370646715, 0.042102403938770294, -0.0007050679414533079, 0.01671604998409748, -0.0063974629156291485, 0.010979261249303818, -0.09497123211622238, 0.0033108917996287346, 0.006290401332080364, -0.0029945422429591417, -0.0791902244091034, -0.0014410821022465825, -0.015832018107175827, 0.05150468274950981, 0.07631094008684158, 0.01954548992216587, 0.04048188403248787, -0.035873133689165115, 0.006435207556933165, 0.006302156485617161, -0.0008233633707277477, 0.051901355385780334, -0.032097019255161285, 0.03962622955441475, 0.019909029826521873, -0.01618543453514576, -0.0824277475476265, 0.006826926488429308, 0.007224339991807938, -0.010349903255701065, -0.007839465513825417, -0.03907981142401695, -0.026273809373378754, -0.11131825298070908, -0.03625917807221413, 0.020475011318922043, -0.019931362941861153, -0.0401485450565815, 0.02532811090350151, 0.016560746356844902, -0.009934600442647934, -0.0035037656780332327, -0.029836636036634445, -0.022247707471251488, -0.01082787849009037, -0.029308708384633064, -0.047464385628700256, 0.007388197351247072, -0.01560261845588684, 0.016268592327833176, -0.06334783136844635, -0.029212528839707375, -0.014736290089786053, 0.011685212142765522, 0.038083598017692566, 0.012398350983858109, 0.0162154920399189, -0.020069777965545654 ]
325
Context Steering: Controllable Personalization at Inference Time
https://openreview.net/forum?id=xQCXInDq0m
[ "Jerry Zhi-Yang He", "Sashrika Pandey", "Mariah L Schrum", "Anca Dragan" ]
Poster
To deliver high-quality, personalized responses, large language models (LLMs) must effectively incorporate context — personal, demographic, and cultural information specific to an end-user. For example, asking the model to explain Newton's second law with the context "I am a toddler'' should produce a response different from when the context is "I am a physics professor''. However, leveraging the context in practice is a nuanced and challenging task, and is often dependent on the specific situation or user base. The model must strike a balance between providing specific, personalized responses and maintaining general applicability. Current solutions, such as prompt-engineering and fine-tuning, require collection of contextually appropriate responses as examples, making them time-consuming and less flexible to use across different contexts. In this work, we introduce Context Steering (CoS) —a simple, training-free decoding approach that amplifies the influence of the context in next token predictions. CoS computes contextual influence by comparing the output probabilities from two LLM forward passes: one that includes the context and one that does not. By linearly scaling the contextual influence, CoS allows practitioners to flexibly control the degree of personalization for different use cases. We show that CoS can be applied to autoregressive LLMs, and demonstrates strong performance in personalized recommendations. Additionally, we show that CoS can function as a Bayesian Generative model to infer and quantify correlations between open-ended texts, broadening its potential applications.
personalization, context, large language model, inference, controllable generation
We propose Context Steering (CoS), an inference-time technique that enables generating outputs more relevant to the user-provided contexts, leading to better personalization and various applications for large language models.
13,474
2405.01768
[ -0.00285269133746624, -0.00473402114585042, 0.0051603433676064014, 0.010726505890488625, 0.043037883937358856, 0.022231338545680046, 0.008735306560993195, 0.0267690010368824, 0.0012033985694870353, -0.00022711003839503974, -0.03704468533396721, 0.032914597541093826, -0.035590752959251404, -0.02995985746383667, -0.018181446939706802, 0.03138589859008789, -0.0009124841308221221, 0.008481997065246105, 0.011058183386921883, -0.009788094088435173, 0.00617755064740777, -0.02436365745961666, 0.05158969759941101, 0.02111838571727276, 0.03016856499016285, 0.014599031768739223, 0.011548776179552078, -0.008855803869664669, -0.06078537181019783, 0.007516636047512293, 0.03413378819823265, 0.007629385218024254, -0.00937917921692133, -0.011670349165797234, -0.011592966504395008, -0.03452292084693909, -0.009125499054789543, 0.013391733169555664, 0.001588151790201664, 0.03564853221178055, -0.03636160492897034, 0.0011385182151570916, -0.00018731472664512694, 0.009029319509863853, -0.0524863563477993, -0.005192745476961136, -0.10420762002468109, 0.0414506271481514, 0.002690685447305441, -0.05652910843491554, -0.09664098173379898, 0.0433238260447979, -0.0008022701367735863, -0.030225807800889015, 0.022417712956666946, 0.03841429203748703, 0.08312010020017624, -0.10152722895145416, -0.01089162565767765, -0.03920445591211319, -0.054538119584321976, 0.055421117693185806, 0.015061615034937859, 0.023206161335110664, -0.0005007305298931897, -0.007317209150642157, -0.04170645773410797, 0.032809067517519, -0.052473604679107666, -0.03129766136407852, -0.046815939247608185, 0.011780180037021637, 0.0011263553751632571, 0.0033486976753920317, -0.006681243889033794, -0.026959968730807304, 0.02627652697265148, 0.04298684746026993, 0.04096698388457298, -0.03327067941427231, -0.009563599713146687, -0.01521705836057663, 0.020415280014276505, 0.04010794684290886, -0.0036244618240743876, -0.011277043260633945, -0.01067735068500042, -0.027698999270796776, -0.032178882509469986, 0.011843238025903702, 0.035080526024103165, -0.07945553958415985, 0.01924809254705906, 0.029022667557001114, 0.025392092764377594, -0.007820158265531063, 0.036939311772584915, 0.0016277477843686938, -0.03943139687180519, 0.013432415202260017, -0.025772836059331894, -0.03357386961579323, 0.02583697810769081, 0.0014146636240184307, -0.12533919513225555, -0.018497800454497337, -0.007216972764581442, -0.010178781114518642, 0.002723249141126871, 0.004921464249491692, -0.034511905163526535, -0.0014687981456518173, 0.0326923169195652, 0.0012385585578158498, -0.058365751057863235, 0.02430308796465397, 0.014724254608154297, 0.057744208723306656, 0.02579130232334137, 0.016969731077551842, 0.05598302558064461, 0.05676282197237015, 0.014741582795977592, 0.07439756393432617, -0.02176881581544876, 0.007008279673755169, 0.0032314585987478495, 0.02667822688817978, -0.017683735117316246, -0.05316273868083954, 0.007287553045898676, 0.02234838902950287, 0.0032391278073191643, 0.004958149045705795, -0.006303085945546627, 0.011132831685245037, 0.028924506157636642, 0.017406897619366646, 0.07594358921051025, 0.021831456571817398, 0.026387915015220642, -0.01789892464876175, 0.06154966354370117, -0.019794944673776627, 0.09822970628738403, -0.032555848360061646, -0.027595149353146553, -0.010958166792988777, -0.029714928939938545, 0.01055898331105709, 0.02951676771044731, -0.021210012957453728, 0.00820164941251278, -0.05540018156170845, 0.034355781972408295, 0.06617386639118195, 0.015370319597423077, 0.0225644763559103, 0.010003656148910522, 0.015176625922322273, 0.025379175320267677, 0.00048171603702940047, -0.08197733759880066, 0.007947498932480812, 0.018716204911470413, -0.05217505618929863, 0.009962430223822594, 0.022275477647781372, -0.039649635553359985, 0.0015318368095904589, -0.036874741315841675, -0.038137879222631454, 0.04229303449392319, -0.033226288855075836, -0.022517969831824303, 0.0034062813501805067, 0.047224514186382294, -0.00608441699296236, 0.05321783572435379, 0.04003416374325752, -0.0765279233455658, 0.03326352685689926, 0.010774525813758373, -0.020358514040708542, 0.055477455258369446, 0.023484675213694572, 0.04706193879246712, 0.007778330240398645, -0.00857805460691452, 0.024618953466415405, -0.06885349005460739, -0.04237343743443489, -0.011800135485827923, 0.010277501307427883, 0.05158562213182449, -0.014008650556206703, 0.0005642870673909783, 0.09864261746406555, 0.04597930610179901, 0.030487900599837303, 0.04576120153069496, -0.007785571273416281, 0.06397100538015366, 0.006746952887624502, -0.02708807773888111, -0.02821281924843788, 0.022100022062659264, -0.030777473002672195, -0.013050707057118416, 0.05001946538686752, -0.04638604819774628, 0.021328730508685112, 0.030483728274703026, -0.001284450525417924, -0.026638444513082504, 0.004468024708330631, -0.010995879769325256, 0.006487081293016672, -0.019295407459139824, -0.03401812165975571, 0.057088013738393784, 0.003937937319278717, -0.005989304278045893, 0.008695029653608799, -0.03305942937731743, 0.12422903627157211, 0.05667708441615105, -0.022552961483597755, -0.021802539005875587, 0.016416769474744797, -0.009653189219534397, 0.006041646935045719, 0.0416858047246933, -0.022906934842467308, -0.006886258255690336, 0.001675132312811911, -0.01688203029334545, -0.03415948897600174, 0.03483475372195244, -0.031410738825798035, -0.0050529660657048225, 0.07516466081142426, -0.04699280485510826, 0.07439780235290527, -0.02963516302406788, 0.03354329988360405, 0.007990643382072449, -0.011248110793530941, -0.013164778240025043, -0.005118455737829208, 0.008212270215153694, -0.010756180621683598, 0.0028588410932570696, -0.016700616106390953, 0.029979318380355835, -0.018094366416335106, -0.0053856647573411465, -0.001174959004856646, 0.042276762425899506, 0.06276866793632507, 0.008514074608683586, 0.03452445939183235, 0.004231414757668972, -0.030607163906097412, 0.015777194872498512, -0.09940813481807709, -0.014309776946902275, -0.023316731676459312, -0.03133345767855644, 0.001286887563765049, 0.014903075993061066, -0.022279521450400352, 0.01803657039999962, -0.03770340979099274, 0.013359995558857918, 0.015201936475932598, 0.024937167763710022, -0.006166679318994284, -0.020342115312814713, -0.03340764716267586, -0.02076142653822899, 0.0372166745364666, -0.03494127094745636, -0.023436956107616425, -0.006747326347976923, -0.05677233263850212, -0.025569824501872063, -0.028201838955283165, -0.0002567428455222398, 0.03370724990963936, 0.024018142372369766, -0.008464286103844643, -0.018657945096492767, 0.020990753546357155, 0.04429760202765465, 0.06436724960803986, 0.04162024334073067, 0.01673843339085579, -0.04944105073809624, 0.029367301613092422, -0.015881899744272232, 0.013135222718119621, 0.02546771615743637, 0.03851785883307457, 0.0022578206844627857, 0.0027816130314022303, 0.009057757444679737, -0.011507399380207062, -0.26230815052986145, -0.010566290467977524, 0.03494152054190636, -0.019042452797293663, 0.039690013974905014, -0.007813513278961182, 0.07394024729728699, -0.03159523382782936, -0.02255605161190033, 0.014458856545388699, -0.0017687762156128883, 0.03344311565160751, 0.007490104995667934, 0.036224037408828735, 0.0343436673283577, 0.03379084914922714, -0.015286952257156372, -0.016661688685417175, 0.001968222903087735, 0.04356568679213524, -0.0050220126286149025, -0.06363050639629364, -0.008672880940139294, 0.058058105409145355, 0.0011015404015779495, 0.0412684828042984, -0.08783748000860214, -0.007380715571343899, -0.03431457281112671, 0.00191396230366081, 0.012921803630888462, -0.0068300082348287106, -0.001986138755455613, 0.023428501561284065, 0.003485560417175293, 0.00866033136844635, 0.06406231969594955, 0.017526686191558838, 0.027509741485118866, -0.03072860836982727, 0.006717318203300238, -0.027821842581033707, -0.03802267462015152, -0.013649813830852509, 0.07058241218328476, -0.014953937381505966, -0.05240301042795181, -0.025389567017555237, 0.002903593238443136, 0.02852797694504261, -0.022930623963475227, -0.03857364505529404, -0.027882929891347885, 0.014339638873934746, 0.028015265241265297, -0.030047055333852768, 0.01844441331923008, -0.006755031645298004, -0.021151065826416016, -0.018386999145150185, 0.030111119151115417, -0.023406848311424255, -0.003585599362850189, -0.04940056428313255, -0.012462982907891273, -0.061608027666807175, -0.10373660922050476, -0.048345401883125305, 0.041588444262742996, 0.05087421461939812, -0.02041766047477722, 0.01954609341919422, 0.007954013533890247, -0.1083480715751648, -0.00011641147284535691, -0.02020958624780178, 0.0018231924623250961, -0.025359977036714554, 0.009512095712125301, 0.027911655604839325, -0.051237110048532486, -0.034049298614263535, -0.0073240976780653, 0.005229321774095297, 0.02881069853901863, -0.04024123027920723, 0.003136144485324621, -0.04619176313281059, -0.025285009294748306, -0.017669349908828735, 0.036504458636045456, -0.006219638977199793, -0.02900082617998123, 0.013542860746383667, 0.055329423397779465, 0.03809625282883644, 0.0262604970484972, 0.0727597326040268, 0.045850951224565506, -0.018519630655646324, 0.015745297074317932, -0.07854993641376495, -0.012901515699923038, -0.023875057697296143, -0.015489092096686363, 0.0270147193223238, -0.07487452030181885, -0.044128693640232086, 0.014507682994008064, -0.01379142701625824, -0.027816860005259514, -0.004540846683084965, 0.00346767483279109, -0.019157618284225464, -0.052310530096292496, 0.002046045148745179, 0.006001888774335384, 0.028864841908216476, 0.04280858486890793, 0.005395298358052969, -0.02135617658495903, 0.04498164355754852, -0.014742976054549217, 0.018606707453727722, 0.0024434002116322517, -0.04218672588467598, 0.015963220968842506, -0.016486816108226776, 0.007026389706879854, -0.03245462849736214, 0.0061307670548558235, 0.009261822327971458, -0.0022434762213379145, 0.006492832209914923, 0.041970692574977875, -0.012381751090288162, 0.028380615636706352, -0.021679308265447617, 0.007486456073820591, -0.010085368528962135, -0.027573054656386375, -0.02745126374065876, 0.027496980503201485, 0.03940238803625107, 0.030992746353149414, -0.00883334968239069, 0.002896275371313095, 0.026675088331103325, -0.009822987951338291, -0.0002804960240609944, 0.04494006186723709, -0.018972720950841904, -0.044600848108530045, -0.019356464967131615, 0.023834064602851868, -0.002782289870083332, 0.013015673495829105, 0.0004785573109984398, 0.007019601762294769, -0.059623848646879196, 0.03875693306326866, -0.02248469367623329, -0.013980255462229252, 0.00867046695202589, 0.006359779741615057, 0.020662719383835793, -0.054370563477277756, 0.024281853809952736, 0.014530563727021217, 0.011101488023996353, 0.022122150287032127, -0.005051529034972191, -0.0308426171541214, -0.009382335469126701, -0.043171580880880356, 0.009040001779794693, 0.0025725977029651403, -0.03085632435977459, -0.009052710607647896, 0.015543471090495586, 0.02255028486251831, -0.01324998214840889, 0.012329877354204655, -0.0013674104120582342, 0.08442839980125427, 0.025075320154428482, 0.013783557340502739, 0.01433719415217638, -0.046231210231781006, 0.007621313910931349, -0.02989122085273266, 0.009940700605511665, -0.020843494683504105, -0.05557434633374214, -0.03510003909468651, -0.03193354606628418, 0.01872451789677143, 0.000996944261714816, -0.03799020126461983, 0.004496193490922451, -0.02945025824010372, 0.02685922011733055, -0.039137788116931915, -0.028221942484378815, 0.03089781664311886, -0.08310116082429886, -0.003379456466063857, -0.020825348794460297, -0.02426833100616932, 0.04410934820771217, -0.043768517673015594, -0.047376543283462524, -0.029883872717618942, -0.039463385939598083, 0.007900061085820198, -0.04503290355205536, -0.03459637239575386, -0.04419558122754097, -0.009378548711538315, -0.008503212593495846, 0.0036904949229210615, -0.006187822204083204, -0.004200126510113478, -0.02710655704140663, 0.03141552954912186, 0.04330555722117424, -0.06871038675308228, -0.024629581719636917, 0.019233934581279755, -0.03715597465634346, 0.027602670714259148, -0.017053529620170593, 0.0262454766780138, 0.038124945014715195, -0.025214122608304024, -0.015613791532814503, -0.05091208592057228, 0.04019423946738243, 0.015850165858864784, -0.005395045969635248, 0.015576872043311596, -0.04004119336605072, -0.048874642699956894, 0.017639515921473503, 0.017889630049467087, 0.03435476869344711, 0.005284771788865328, 0.0419195219874382, 0.006318777333945036, 0.01095147617161274, 0.023080553859472275, 0.0015121165197342634, -0.02668789215385914, 0.007640330120921135, 0.045156531035900116, -0.019171541556715965, -0.0397045835852623, -0.06598936766386032, -0.04255091771483421, 0.01738296076655388, -0.005782217252999544, 0.027085235342383385, -0.020852982997894287, 0.05616294592618942, 0.028243234381079674, 0.0175373163074255, 0.029168441891670227, -0.0056546516716480255, 0.028369516134262085, -0.0275237038731575, 0.0032953256741166115, -0.08723184466362, -0.006667399778962135, 0.055890411138534546, -0.028077222406864166, -0.005755546502768993, 0.018462641164660454, -0.026266220957040787, 0.07399702072143555, -0.013495438732206821, -0.055979639291763306, -0.0024727240670472383, -0.015981372445821762, 0.001446869457140565, 0.026578662917017937, -0.060991644859313965, 0.007163542788475752, -0.010803600773215294, -0.07001943141222, -0.020059699192643166, -0.0023444017861038446, 0.08469926565885544, -0.02091897837817669, 0.0410003587603569, -0.01762542687356472, 0.018916437402367592, 0.01224304735660553, 0.0677858516573906, 0.006780278868973255, 0.030610332265496254, -0.019505277276039124, 0.03630548715591431, 0.016500208526849747, 0.030556896701455116, -0.004756852053105831, -0.0022176236379891634, -0.015283078886568546, -0.049401283264160156, 0.06310983747243881, 0.003390330821275711, -0.03110112063586712, -0.07969319820404053, 0.08338949084281921, 0.03849414736032486, -0.050786085426807404, -0.027096496894955635, 0.01934983767569065, -0.04905589669942856, -0.018376505002379417, 0.000014258841474656947, 0.00848422385752201, -0.028056006878614426, 0.0744466707110405, 0.05454212427139282, 0.04304150864481926, 0.07870128750801086, -0.007840445265173912, -0.011246579699218273, -0.005671316292136908, 0.052627161145210266, 0.05726468190550804, 0.09721007198095322, 0.02309623919427395, 0.0769084021449089, -0.047684989869594574, -0.04316100478172302, 0.01361407432705164, 0.04793943464756012, -0.019588632509112358, -0.03252647817134857, 0.010260828770697117, 0.07553552091121674, 0.005649584345519543, 0.06681112945079803, -0.02930019050836563, -0.02364988811314106, 0.03969140723347664, 0.02575075998902321, 0.004263680893927813, 0.03836826980113983, 0.027674363926053047, 0.02799306996166706, -0.062092531472444534, -0.03101266734302044, -0.00375039572827518, -0.0320478118956089, 0.00001588293343957048, 0.01874266006052494, -0.02355377748608589, -0.009068071842193604, -0.009709159843623638, 0.04941176995635033, 0.11447206139564514, -0.017213651910424232, -0.03556777536869049, 0.04813618212938309, 0.005259269382804632, 0.012209891341626644, 0.0758085623383522, -0.0026156289968639612, -0.012295323424041271, -0.00764986639842391, -0.040369391441345215, -0.018219422549009323, 0.016156857833266258, -0.017764898017048836, 0.010724816471338272, -0.008989096619188786, -0.012347551062703133, 0.019014805555343628, 0.020689645782113075, -0.06454622000455856, -0.041793376207351685, -0.030014706775546074, -0.04929397255182266, -0.040881406515836716, -0.05811714380979538, 0.05029190331697464, 0.008738361299037933, -0.0053662932477891445, 0.021040473133325577, -0.05392002686858177, 0.013803827576339245, -0.010890888050198555, -0.05009794980287552, 0.026393022388219833, 0.02064991369843483, -0.007358278147876263, 0.0007158666849136353, 0.016062505543231964, 0.007771977223455906, -0.014691701158881187, 0.014379050582647324, 0.02827095054090023, 0.031092913821339607, 0.03302229940891266, 0.0026971844490617514, -0.041272617876529694, -0.09836394339799881, -0.016052188351750374, -0.005710037890821695, -0.025968628004193306, -0.0949813649058342, 0.021126631647348404, -0.03175462782382965, 0.04549207538366318, 0.06821495294570923, 0.034952837973833084, 0.010519730858504772, -0.012091990560293198, 0.0031862673349678516, 0.02617924101650715, 0.02759864553809166, 0.03268628194928169, -0.017947139218449593, 0.0719221979379654, 0.042586181312799454, -0.04768766462802887, -0.024869225919246674, 0.013026049360632896, -0.0042019677348434925, -0.026097575202584267, -0.01187959872186184, 0.00388818746432662, -0.01528535969555378, -0.08194466680288315, -0.028478378430008888, 0.022093283012509346, -0.011841973289847374, -0.031674824655056, -0.024153193458914757, -0.03356468677520752, -0.025968922302126884, 0.001397883053869009, -0.0230866726487875, 0.02300947904586792, -0.02770950086414814, -0.006488559301942587, -0.06274190545082092, -0.015538384206593037, -0.05353419855237007, -0.013775533065199852, -0.04251336678862572, -0.023812999948859215, -0.01308123767375946, -0.02141084149479866, 0.03625917434692383, -0.009344051592051983, 0.01378379762172699, -0.010925867594778538 ]
326
Efficient Policy Evaluation with Safety Constraint for Reinforcement Learning
https://openreview.net/forum?id=Dem5LyVk8R
[ "Claire Chen", "Shuze Liu", "Shangtong Zhang" ]
Poster
In reinforcement learning, classic on-policy evaluation methods often suffer from high variance and require massive online data to attain the desired accuracy. Previous studies attempt to reduce evaluation variance by searching for or designing proper behavior policies to collect data. However, these approaches ignore the safety of such behavior policies---the designed behavior policies have no safety guarantee and may lead to severe damage during online executions. In this paper, to address the challenge of reducing variance while ensuring safety simultaneously, we propose an optimal variance-minimizing behavior policy under safety constraints. Theoretically, while ensuring safety constraints, our evaluation method is unbiased and has lower variance than on-policy evaluation. Empirically, our method is the only existing method to achieve both substantial variance reduction and safety constraint satisfaction. Furthermore, we show our method is even superior to previous methods in both variance reduction and execution safety.
Reinforcement Learning
null
13,457
2410.05655
[ -0.029687892645597458, 0.005039277486503124, -0.015893250703811646, 0.044687654823064804, 0.042248211801052094, 0.01777217909693718, 0.04102880507707596, -0.0353170670568943, -0.03349870815873146, -0.03754251077771187, -0.02446776255965233, 0.01905491016805172, -0.07976994663476944, -0.020005395635962486, 0.002483130432665348, 0.05628162994980812, 0.008085218258202076, -0.015242042019963264, 0.011022980324923992, -0.017249170690774918, -0.015598038211464882, 0.005786442197859287, 0.05139784887433052, 0.02619044855237007, 0.06941567361354828, 0.03629586100578308, 0.03706121817231178, 0.026817744597792625, -0.01770969294011593, -0.010340956971049309, 0.045188210904598236, 0.016302580013871193, -0.008150190114974976, -0.0026900668162852526, 0.0028311258647590876, 0.0251558106392622, -0.0041650100611150265, 0.005843997932970524, -0.01317555271089077, 0.03360937908291817, -0.04099521040916443, -0.004530549515038729, -0.035326868295669556, -0.008565254509449005, -0.03133222833275795, -0.004834175109863281, -0.03812478482723236, 0.015953581780195236, 0.01821906864643097, -0.0560205914080143, -0.09683696925640106, 0.06655187159776688, 0.006459681782871485, -0.0004964248510077596, -0.00663717370480299, 0.021377500146627426, 0.05187198147177696, -0.09759131819009781, 0.002846539719030261, -0.06309211254119873, -0.021698646247386932, 0.03517132252454758, 0.03131646290421486, 0.020378706976771355, -0.004436815623193979, 0.00830076728016138, 0.03506277874112129, 0.04698445647954941, -0.020997170358896255, -0.007716719061136246, -0.06506635248661041, 0.004110423848032951, 0.007639961317181587, 0.01582779549062252, -0.003363886382430792, -0.052669573575258255, 0.014806973747909069, 0.029376309365034103, 0.05383208766579628, 0.009177351370453835, 0.027348583564162254, 0.007692217826843262, 0.001845911960117519, 0.025427820160984993, 0.040304914116859436, 0.013488859869539738, -0.016887230798602104, -0.02632729336619377, -0.09155730903148651, 0.028639279305934906, -0.025028113275766373, -0.03896290808916092, -0.033401064574718475, 0.049425218254327774, -0.002152889734134078, 0.01283984538167715, 0.02099212259054184, 0.011735368520021439, 0.010705794207751751, -0.01295530702918768, -0.03155282139778137, -0.008449092507362366, -0.013283898122608662, -0.002209978410974145, -0.10877794027328491, -0.025698348879814148, -0.0033760606311261654, -0.013541923835873604, -0.013832696713507175, 0.022713657468557358, -0.049568261951208115, 0.005683728959411383, 0.02473229356110096, -0.008592937141656876, -0.08960119634866714, 0.05592314898967743, 0.011396861635148525, 0.023995503783226013, 0.017955534160137177, 0.012589680962264538, 0.031108083203434944, 0.02296864427626133, 0.00022587948478758335, 0.06622049957513809, -0.001421971246600151, 0.03279227390885353, 0.004641760606318712, 0.03603554889559746, -0.007525925524532795, -0.04382692277431488, 0.03926242142915726, 0.029846714809536934, -0.013232007622718811, -0.003667667740955949, -0.050211552530527115, 0.0230279341340065, 0.024372722953557968, 0.030980447307229042, 0.007848547771573067, -0.016458576545119286, -0.015160291455686092, -0.033537544310092926, 0.08148015290498734, -0.019450493156909943, 0.0681157186627388, 0.0005730194970965385, 0.0027143280021846294, -0.020569998770952225, -0.05418427661061287, -0.007290844339877367, 0.018602263182401657, -0.014166424982249737, 0.002552423859015107, -0.032850105315446854, 0.012637516483664513, 0.03105580061674118, 0.027070075273513794, -0.00046973550342954695, -0.0059992363676428795, -0.021342037245631218, 0.004342216532677412, 0.00542802968993783, -0.04183321073651314, -0.0193550493568182, -0.0025549072306603193, -0.06935643404722214, 0.04149548336863518, 0.023116404190659523, -0.027343736961483955, -0.030845148488879204, -0.02929224818944931, -0.030696343630552292, 0.01272964384406805, -0.002574280137196183, 0.011285672895610332, 0.025497786700725555, 0.058339279145002365, -0.037829890847206116, 0.040645498782396317, 0.03497323766350746, -0.08351457864046097, 0.01909421570599079, 0.0053025176748633385, 0.027315963059663773, -0.003851640038192272, -0.02320430427789688, 0.07955234497785568, -0.050159502774477005, 0.004072871059179306, 0.0075108702294528484, -0.08317133039236069, -0.019639408215880394, 0.04631945118308067, -0.004901024512946606, 0.04104912281036377, -0.01079997606575489, 0.0007341334712691605, 0.041991256177425385, -0.01682066172361374, 0.06920988857746124, 0.043250322341918945, -0.003765788860619068, 0.05303603783249855, -0.027343422174453735, -0.03497213497757912, -0.01333991065621376, 0.038818199187517166, -0.026196857914328575, -0.051018234342336655, 0.0014132733922451735, -0.01209182944148779, 0.02779223397374153, -0.028258375823497772, 0.003734546946361661, 0.02326514758169651, -0.006911783944815397, -0.03326763957738876, 0.004276479594409466, 0.040649183094501495, -0.051185302436351776, 0.02948402613401413, 0.00817954633384943, -0.013915883377194405, 0.0262849610298872, -0.026007359847426414, 0.08508925139904022, 0.08102026581764221, -0.036887526512145996, 0.005978862755000591, 0.010346143506467342, -0.0022305671591311693, -0.0052975076250731945, 0.006969829089939594, -0.0009808618342503905, 0.02349448949098587, 0.024427887052297592, -0.002552457619458437, 0.007941520772874355, 0.06078796088695526, -0.04585327208042145, 0.0003050764789804816, 0.07104422897100449, 0.002289184369146824, 0.06965810805559158, 0.006917229853570461, -0.012201781384646893, 0.07962483167648315, 0.020174900069832802, -0.02061869204044342, -0.017938854172825813, -0.02537001669406891, -0.008819867856800556, 0.05702868849039078, -0.002599582076072693, 0.0014924946008250117, -0.06598296761512756, -0.0037025033961981535, -0.030720483511686325, 0.06263317912817001, 0.06652148067951202, -0.004536094143986702, 0.01607920415699482, 0.0037137893959879875, -0.016657957807183266, -0.001289400621317327, -0.11734622716903687, -0.06301944702863693, 0.008089716546237469, -0.000986711005680263, 0.027616217732429504, 0.014910892583429813, -0.03079511784017086, 0.0346100740134716, -0.0063805654644966125, -0.04860331118106842, 0.0033469435293227434, 0.022448629140853882, 0.031161397695541382, -0.005434446502476931, 0.013347246684134007, 0.023821242153644562, 0.06831970810890198, 0.013355636969208717, -0.010499127209186554, 0.012187330983579159, -0.022384630516171455, 0.0048033143393695354, -0.0551973432302475, -0.010986500419676304, 0.006415325216948986, 0.012966752052307129, -0.008360977284610271, -0.053499117493629456, 0.008238672278821468, 0.01436576433479786, 0.02744843252003193, 0.02650863118469715, 0.034822966903448105, 0.02600061520934105, 0.018720125779509544, 0.008115846663713455, -0.010003156960010529, -0.011069444939494133, 0.010562760755419731, 0.004001397639513016, -0.004199483897536993, 0.013114790432155132, 0.009031759575009346, -0.26284006237983704, -0.03747954219579697, 0.04859946668148041, 0.007518676109611988, 0.027078701183199883, 0.016362329944968224, 0.0718856006860733, -0.02746032550930977, -0.051710620522499084, 0.012555660679936409, 0.03914312273263931, 0.021528223529458046, 0.048612356185913086, 0.06578440219163895, 0.04331459850072861, 0.02348589152097702, -0.00831341091543436, -0.04110725596547127, -0.0034947588574141264, 0.000768254220020026, -0.008615571074187756, -0.09455839544534683, -0.04194258153438568, 0.004760469309985638, 0.012310061603784561, 0.035878028720617294, -0.05455780029296875, 0.02294553816318512, -0.04079017415642738, -0.0019862332846969366, -0.028887251392006874, -0.016506871208548546, -0.05427449196577072, 0.0012185232480987906, 0.03572079539299011, 0.035906095057725906, 0.03130766749382019, -0.017188023775815964, 0.022330351173877716, 0.046677667647600174, 0.012525116093456745, -0.03352009505033493, -0.0360739566385746, 0.013726629316806793, 0.031495824456214905, 0.044018443673849106, -0.03239811956882477, -0.011828846298158169, -0.011815172620117664, 0.021398454904556274, 0.021320881322026253, -0.021393684670329094, -0.010205788537859917, 0.009797448292374611, 0.009101533330976963, -0.0023435531184077263, -0.016385802999138832, -0.01751421019434929, -0.00004802377225132659, 0.01520390436053276, -0.003978004213422537, -0.05103135108947754, -0.044957950711250305, -0.02720518968999386, 0.019160043448209763, -0.04113483428955078, -0.0366499088704586, -0.058650873601436615, 0.038267653435468674, 0.0350368469953537, 0.00024881865829229355, -0.03617624565958977, -0.01590149849653244, -0.10118032246828079, 0.015735691413283348, -0.01974557153880596, -0.013581755571067333, -0.030720744282007217, 0.027410438284277916, 0.03438365459442139, -0.06294505298137665, -0.04472057521343231, 0.008838493376970291, 0.02945103496313095, 0.014589508064091206, -0.014270125888288021, 0.04038386791944504, -0.031518369913101196, -0.031206056475639343, -0.0380021296441555, 0.01720692589879036, 0.024085693061351776, 0.02678912691771984, -0.0267439316958189, 0.050187721848487854, 0.029992418363690376, 0.03404441103339195, 0.02575688250362873, 0.02347397431731224, -0.014198430813848972, 0.010451700538396835, -0.10923048853874207, -0.0201133843511343, -0.07892389595508575, -0.03677972033619881, 0.04536658525466919, -0.05210832506418228, -0.020960357040166855, 0.05943834036588669, 0.0070327334105968475, -0.007871127687394619, -0.01843729056417942, 0.028888119384646416, -0.019071165472269058, 0.01504438929259777, -0.023026935756206512, 0.004604303278028965, 0.03966629132628441, 0.0356954000890255, -0.01614733412861824, -0.05159183219075203, 0.029542826116085052, -0.01237441599369049, 0.004755685105919838, -0.012618957087397575, -0.008566712029278278, 0.03613380342721939, -0.0015105330385267735, 0.0111546004191041, -0.013906803913414478, 0.03625885024666786, 0.06476790457963943, 0.006590430159121752, 0.015702461823821068, 0.026412105187773705, -0.018845155835151672, -0.003535172203555703, 0.0010423018829897046, 0.027741745114326477, -0.015615866519510746, 0.012798579409718513, -0.009371967986226082, 0.0030009099282324314, 0.03373410552740097, 0.01753690093755722, 0.014512663707137108, 0.025077128782868385, 0.022634288296103477, 0.009003235958516598, 0.005611284635961056, 0.018726997077465057, -0.08880625665187836, -0.010633711703121662, -0.02892937883734703, 0.01031607948243618, -0.010706333443522453, 0.035580746829509735, -0.03217524290084839, 0.023114971816539764, -0.061951618641614914, 0.041163306683301926, 0.0031502784695476294, -0.017339972779154778, -0.017243245616555214, 0.007634744513779879, 0.06387635320425034, -0.030940255150198936, -0.033429376780986786, -0.005129723343998194, 0.015989940613508224, -0.003466526512056589, -0.043007709085941315, -0.03122691623866558, -0.01357598602771759, -0.018936090171337128, -0.0047510541044175625, 0.0013363671023398638, -0.0700833648443222, -0.07388295978307724, -0.01339499931782484, 0.0231751948595047, -0.0032271898817270994, 0.005552227608859539, -0.002075027674436569, 0.06266345828771591, -0.02056051231920719, 0.01431884616613388, -0.00058285694103688, -0.009605336003005505, 0.024935303255915642, 0.01642042212188244, 0.002649943344295025, -0.002048265654593706, -0.04112078621983528, -0.001592678832821548, -0.010449407622218132, 0.0062788394279778, -0.010212174616754055, -0.014120187610387802, -0.004711129702627659, 0.0027045763563364744, -0.020220952108502388, -0.007019891403615475, 0.006315330043435097, -0.014776273630559444, -0.049668505787849426, -0.021009458228945732, 0.0674540176987648, -0.00346807180903852, 0.04061981663107872, -0.10276222974061966, -0.05632203817367554, -0.0410250686109066, -0.00857942458242178, 0.011080201715230942, -0.008291167207062244, -0.04738158360123634, -0.005912175867706537, -0.036519359797239304, 0.0062714992091059685, 0.013267391361296177, -0.017778009176254272, -0.016724003478884697, -0.030447741970419884, -0.006625437177717686, 0.04437931999564171, -0.01999659463763237, -0.029269861057400703, 0.043458566069602966, -0.02367936074733734, 0.010159211233258247, -0.03301632031798363, 0.027904609218239784, 0.0206736009567976, -0.02567385323345661, 0.015042276121675968, -0.06057446822524071, 0.05887986719608307, -0.03862676024436951, -0.03986672684550285, -0.05290043354034424, 0.01766517199575901, -0.031892210245132446, -0.0359441339969635, -0.01655684970319271, 0.012798993848264217, 0.02092047967016697, 0.022213831543922424, 0.02830447256565094, 0.006926668342202902, 0.006191311404109001, 0.01604033075273037, -0.030291108414530754, 0.015240740031003952, 0.0764666274189949, 0.00013237072562333196, -0.01191303227096796, -0.049655474722385406, -0.008032122626900673, 0.03390926495194435, -0.031158285215497017, 0.021717704832553864, -0.03333168849349022, -0.00031515193404629827, -0.008045637048780918, 0.05052020773291588, 0.031167741864919662, -0.0538395456969738, 0.026751253753900528, -0.08993887901306152, -0.0015453688101843, -0.05406387522816658, 0.024748237803578377, 0.06738223880529404, -0.05700569599866867, -0.0030831738840788603, 0.025133199989795685, -0.03253316134214401, 0.043213240802288055, -0.017811810597777367, -0.07373471558094025, 0.02011861838400364, -0.049593549221754074, -0.024489162489771843, 0.04944515600800514, -0.03735030069947243, -0.00864058081060648, -0.009436306543648243, -0.04360003396868706, 0.028957974165678024, 0.026601755991578102, 0.048121701925992966, -0.017101876437664032, -0.0020463354885578156, -0.04320850223302841, 0.01000086311250925, 0.014918125234544277, 0.0328688845038414, 0.026822339743375778, 0.03951825574040413, -0.05666894093155861, 0.05401116609573364, 0.051690492779016495, 0.0346730574965477, 0.007501306477934122, 0.01778966560959816, 0.010985319502651691, -0.02285500057041645, 0.031010814011096954, -0.004760586656630039, -0.027754195034503937, -0.06016499549150467, 0.05611677095293999, 0.021991107612848282, -0.07266344130039215, -0.013706723228096962, 0.012915109284222126, -0.06266985833644867, -0.024402379989624023, 0.0025384239852428436, 0.019172094762325287, 0.022283360362052917, 0.10295579582452774, 0.013880107551813126, 0.04057938605546951, 0.052540574222803116, 0.010861845687031746, 0.027048390358686447, -0.01324903592467308, 0.07700640708208084, 0.044305864721536636, 0.04533807188272476, 0.008424494415521622, 0.06840447336435318, -0.06687439233064651, -0.04719138890504837, 0.029824867844581604, 0.0034731838386505842, -0.04876251891255379, -0.015694359317421913, 0.017977045848965645, 0.03918205946683884, 0.011183387599885464, 0.05762463063001633, -0.0393705815076828, -0.01194189116358757, 0.03826656565070152, -0.01895895041525364, 0.008448001928627491, 0.04418070614337921, 0.02231731079518795, 0.01118514034897089, -0.013034072704613209, -0.03404897078871727, 0.001288600149564445, -0.0014246730133891106, 0.018795734271407127, -0.0030242842622101307, -0.023440565913915634, -0.008449180983006954, 0.03699430078268051, 0.012714366428554058, 0.10661861300468445, -0.04836529865860939, -0.01207196805626154, 0.01756434515118599, 0.015615525655448437, 0.0006431266665458679, 0.04218378663063049, 0.02394014596939087, -0.0292514655739069, 0.020481819286942482, -0.05265709012746811, 0.039299119263887405, 0.014827652834355831, 0.005967319011688232, 0.032416705042123795, -0.032158996909856796, 0.0036375822965055704, 0.034429050981998444, 0.025757253170013428, -0.02543462999165058, -0.04015585780143738, -0.04145359992980957, -0.02087729424238205, -0.04117918759584427, -0.052916351705789566, 0.02172720432281494, -0.021779125556349754, -0.06079372018575668, 0.03002406843006611, -0.005818067118525505, 0.02018004097044468, 0.00759567366912961, -0.07084990292787552, -0.02234608307480812, 0.06562234461307526, -0.018431467935442924, 0.03885769844055176, 0.032187897711992264, 0.027184074744582176, -0.005007111933082342, -0.037313077598810196, 0.0032051883172243834, 0.04349571093916893, 0.026509162038564682, -0.03116607666015625, -0.010127797722816467, -0.0809241533279419, -0.006836735177785158, 0.02367774024605751, -0.032110102474689484, -0.06778031587600708, 0.031721457839012146, -0.08049866557121277, 0.0009215721511282027, 0.08449754118919373, -0.0011812986340373755, -0.007863636128604412, -0.037137217819690704, 0.007508731912821531, -0.00010413069685455412, 0.016544852405786514, 0.03096403367817402, -0.05456266552209854, 0.04120904579758644, 0.03412027657032013, -0.04478316754102707, -0.04601844772696495, 0.05909426137804985, -0.0024492843076586723, -0.037516165524721146, -0.016240183264017105, -0.0035396527964621782, -0.0288922730833292, -0.10198152810335159, -0.015682702884078026, 0.0630355253815651, 0.026302114129066467, -0.011029976420104504, -0.01079631969332695, 0.009543748572468758, -0.03535760939121246, -0.0009568768437020481, -0.043573442846536636, -0.012375077232718468, -0.019154617562890053, -0.009218838065862656, -0.05628509074449539, 0.0349130742251873, -0.06276926398277283, -0.007233389187604189, -0.034840185195207596, -0.03797230124473572, 0.0283306036144495, -0.02749028243124485, 0.0198373980820179, 0.007922560907900333, 0.005855570547282696, 0.007018747739493847 ]
327
Agent S: An Open Agentic Framework that Uses Computers Like a Human
https://openreview.net/forum?id=lIVRgt4nLv
[ "Saaket Agashe", "Jiuzhou Han", "Shuyu Gan", "Jiachen Yang", "Ang Li", "Xin Eric Wang" ]
Poster
We present Agent S, an open agentic framework that enables autonomous interaction with computers through Graphical User Interface (GUI), aimed at transforming human-computer interaction by automating complex, multi-step tasks. Agent S addresses three key challenges in automating computer tasks: acquiring domain-specific knowledge, planning over long task horizons, and handling dynamic, non-uniform interfaces. To this end, Agent S introduces experience-augmented hierarchical planning, which learns from external knowledge search and internal experience retrieval at multiple levels, facilitating efficient task planning and subtask execution. In addition, it employs an Agent-Computer Interface (ACI) to better elicit the reasoning and control capabilities of GUI agents based on Multimodal Large Language Models (MLLMs). Evaluation on the OSWorld benchmark shows that Agent S outperforms the baseline by 9.37\% on success rate (an 83.6\% relative improvement) and achieves a new state-of-the-art. Comprehensive analysis highlights the effectiveness of individual components and provides insights for future improvements. Furthermore, Agent S demonstrates broad generalizability to different operating systems on a newly-released WindowsAgentArena benchmark. Code available at https://github.com/simular-ai/Agent-S.
Large Vision and Language Model, Agents, Retrieval Augmented Generation, GUI, Large Language Models, Agent Computer Interface
null
13,452
2410.08164
[ -0.02308419533073902, -0.021580282598733902, 0.007359188515692949, 0.01890714466571808, 0.05176587402820587, 0.012825156562030315, 0.027850905433297157, 0.019673071801662445, -0.03456991910934448, -0.057073719799518585, -0.04272787272930145, 0.03755471110343933, -0.07432594895362854, -0.029043719172477722, -0.0015876229153946042, 0.04932212084531784, 0.005385407246649265, -0.021420365199446678, -0.002207845449447632, -0.02442019060254097, -0.04277898743748665, 0.004653009120374918, 0.051042307168245316, 0.014075702987611294, 0.022011931985616684, 0.04504317790269852, 0.027659602463245392, 0.019076107069849968, -0.01690729707479477, -0.0009347720770165324, 0.032486170530319214, -0.02992161735892296, 0.006018864922225475, -0.056071460247039795, -0.013128954917192459, -0.01459245290607214, -0.050319962203502655, 0.01108959224075079, -0.04625765606760979, -0.016459472477436066, -0.03769605606794357, 0.0447976253926754, -0.005373222287744284, 0.018748337402939796, -0.01612047851085663, 0.01914696954190731, -0.07812230288982391, 0.020008644089102745, 0.024763258174061775, -0.014120274223387241, -0.08558999747037888, 0.006117694079875946, -0.017121993005275726, -0.017166776582598686, -0.003182004438713193, 0.03677262365818024, 0.05996603146195412, -0.08870001882314682, 0.0023054578341543674, -0.04258386790752411, -0.022065656259655952, 0.010675098747015, 0.0303549375385046, 0.012737587094306946, -0.01709517277777195, -0.019527269527316093, 0.011385925114154816, 0.030118707567453384, -0.03344699740409851, 0.004110364709049463, -0.01861977018415928, -0.009505443274974823, -0.05450758710503578, -0.022839436307549477, 0.021149689331650734, -0.029189707711338997, 0.05698874592781067, 0.01646718569099903, 0.062173087149858475, -0.019144508987665176, 0.007705328520387411, 0.06671490520238876, -0.007296350318938494, 0.01330566592514515, 0.025071533396840096, 0.023952607065439224, -0.006423023529350758, -0.015612468123435974, -0.06302844732999802, 0.03339430317282677, 0.012439457699656487, -0.06516363471746445, 0.01498019602149725, 0.039006080478429794, 0.019456811249256134, 0.03745363652706146, -0.0027210754342377186, -0.0010131326271221042, 0.004336508922278881, -0.003435788443312049, -0.03311731666326523, 0.01080157421529293, -0.004612710792571306, -0.0008910982287488878, -0.07929621636867523, -0.008418585173785686, -0.009221640415489674, -0.008921060711145401, -0.003649441059678793, -0.005461135413497686, -0.028476275503635406, -0.013766573742032051, 0.039273880422115326, -0.014922462403774261, -0.06746344268321991, 0.05056477338075638, 0.006393041927367449, 0.049472976475954056, 0.018535180017352104, 0.049967486411333084, 0.05482364445924759, 0.06425376981496811, -0.022645486518740654, 0.052937738597393036, -0.004301466979086399, 0.0031904897186905146, 0.031112436205148697, 0.005311104469001293, -0.012719337828457355, -0.035537347197532654, 0.025134723633527756, 0.03025549277663231, -0.0011175402905791998, 0.0033723798114806414, -0.014242937788367271, 0.018872853368520737, 0.02926679328083992, 0.006471299100667238, 0.023372000083327293, 0.017981721088290215, 0.0009698038920760155, -0.009717926383018494, 0.06997017562389374, -0.007795544806867838, 0.07153601944446564, -0.012348352000117302, 0.009133290499448776, -0.004431768786162138, -0.0537697933614254, -0.00010544324322836474, -0.0017208539647981524, -0.03926899656653404, 0.016833629459142685, -0.05125612020492554, 0.03503118455410004, 0.07446525990962982, 0.04080669954419136, 0.002796557266265154, 0.006185569334775209, -0.0071617113426327705, 0.018611006438732147, -0.007217355538159609, -0.04442582651972771, -0.017668548971414566, -0.006539545487612486, -0.030984114855527878, -0.009687413461506367, 0.00855166558176279, 0.014054736122488976, -0.01563137024641037, -0.02581813372671604, -0.042142972350120544, 0.028892485424876213, -0.0426996648311615, -0.00728389760479331, -0.0006413433002308011, 0.06750783324241638, -0.029145952314138412, 0.05215950682759285, 0.02334703505039215, -0.07285010069608688, 0.012269112281501293, -0.009007304906845093, -0.00853216927498579, -0.003053076099604368, 0.001266529317945242, 0.07208243012428284, -0.016891125589609146, -0.007519778795540333, -0.0031362453009933233, -0.08850140869617462, -0.03612435236573219, 0.02302548475563526, 0.022278891876339912, 0.06125975027680397, 0.0026662780437618494, -0.043996237218379974, 0.04643523320555687, -0.0035235953982919455, 0.04078363627195358, 0.0447518453001976, 0.002439645351842046, 0.04824258014559746, 0.01468291599303484, -0.010916177183389664, -0.013281388208270073, 0.013449834659695625, -0.04973125085234642, -0.03377549350261688, 0.03569365292787552, -0.009763008914887905, 0.018030725419521332, 0.05056272819638252, -0.012170940637588501, 0.03731567785143852, 0.040100809186697006, -0.007890862412750721, -0.007773477118462324, -0.00310671329498291, -0.06337770074605942, 0.004032892640680075, -0.0011812272714450955, 0.003328456310555339, 0.014496944844722748, -0.023670630529522896, 0.07378558814525604, 0.06295719742774963, -0.08170690387487411, -0.01083158329129219, -0.008843908086419106, -0.04128650948405266, -0.003312105080112815, 0.025976521894335747, -0.03189031779766083, 0.009077129885554314, -0.02470759116113186, 0.02275564707815647, -0.010257494635879993, 0.012746725231409073, -0.03969554975628853, -0.02445797435939312, 0.046882934868335724, -0.011400377377867699, 0.0798749327659607, 0.02782154083251953, 0.02983180433511734, 0.03169606998562813, -0.008127558045089245, 0.015297233127057552, -0.011462702415883541, -0.004464419558644295, 0.00019775469263549894, 0.01664678566157818, -0.04676945134997368, -0.037557393312454224, -0.054621148854494095, 0.029704684391617775, -0.03846673667430878, 0.05393299087882042, 0.041379664093256, 0.0038601337000727654, -0.008631152100861073, -0.0005289580440148711, 0.016675328835844994, 0.009877132251858711, -0.13051539659500122, -0.03537915647029877, -0.00460707675665617, -0.017595753073692322, 0.04466767609119415, 0.004084850195795298, -0.03829975426197052, 0.04228876158595085, -0.027098560705780983, -0.018715238198637962, 0.030477523803710938, 0.025065848603844643, 0.022591734305024147, -0.004333878867328167, -0.015644952654838562, 0.031230304390192032, 0.06326379626989365, 0.0017591454088687897, -0.008749417029321194, -0.011804488487541676, -0.033286791294813156, 0.009747164323925972, -0.07794492691755295, -0.026394274085760117, -0.018370984122157097, 0.019399182870984077, 0.009363584220409393, -0.0208442285656929, 0.011198787949979305, 0.04059658944606781, 0.034501079469919205, 0.023799674585461617, -0.01373346894979477, -0.029588958248496056, 0.0025655461940914392, -0.015735648572444916, 0.022422637790441513, -0.03869543969631195, 0.03702409192919731, 0.01728142611682415, -0.021904530003666878, 0.01691978983581066, -0.003588646650314331, -0.27403247356414795, -0.047108717262744904, 0.03582732379436493, -0.008249574340879917, 0.04733177274465561, -0.00978816207498312, 0.09366223216056824, -0.02299933135509491, -0.02794947475194931, -0.009571313858032227, 0.02155405655503273, 0.047163140028715134, 0.026400627568364143, 0.07309795916080475, 0.054036155343055725, 0.035031937062740326, -0.025920651853084564, -0.04107002913951874, -0.0012715120101347566, 0.0043717906810343266, -0.022278694435954094, -0.05554044991731644, -0.010823247022926807, 0.016492079943418503, 0.008222748525440693, 0.04883533716201782, -0.09325239062309265, -0.04348515346646309, -0.0049168760888278484, -0.016819104552268982, 0.00930927786976099, -0.024096984416246414, -0.04709004610776901, 0.013767226599156857, 0.019290592521429062, -0.01688244752585888, 0.07147650420665741, 0.014144964516162872, 0.056376513093709946, -0.0060656690038740635, 0.015231139026582241, -0.004707013256847858, -0.060398295521736145, 0.007863282226026058, 0.06151679903268814, 0.022499341517686844, -0.06824243813753128, -0.014059760607779026, -0.00025142167578451335, 0.03654686361551285, -0.02050109952688217, -0.016174770891666412, -0.025264335796236992, -0.021755017340183258, 0.02278890274465084, -0.03716755658388138, 0.009100855328142643, 0.0034220179077237844, -0.01780744083225727, -0.011619796976447105, -0.019386673346161842, -0.009980774484574795, -0.032116565853357315, -0.02806662581861019, 0.01892479881644249, -0.033758822828531265, -0.06200756877660751, -0.0724419578909874, 0.03424655646085739, 0.015486913733184338, -0.02004045434296131, -0.011252076365053654, -0.0009756750660017133, -0.11039043217897415, 0.011493911035358906, 0.025007223710417747, -0.036019764840602875, -0.06152107194066048, 0.018840298056602478, 0.024520371109247208, -0.04240578040480614, -0.04025570675730705, -0.01194013562053442, -0.0031578615307807922, 0.031051741912961006, -0.015247109346091747, 0.030999217182397842, -0.04400772601366043, -0.02587161399424076, -0.02397887594997883, 0.05105043575167656, -0.00020360585767775774, -0.008605721406638622, 0.01879104971885681, 0.07894010096788406, 0.051716629415750504, 0.04418341815471649, 0.050603874027729034, 0.04029594361782074, -0.00996575877070427, 0.06322982162237167, -0.07866890728473663, 0.022293508052825928, -0.01234728004783392, -0.036979030817747116, 0.0237718615680933, -0.04576639086008072, -0.031681209802627563, 0.047156065702438354, 0.009763244539499283, 0.007970346137881279, -0.04493655264377594, -0.0012676110491156578, -0.011051193810999393, -0.0031921134795993567, 0.0026248455978929996, 0.0038482944946736097, 0.030345596373081207, 0.02538485638797283, 0.014911317266523838, -0.024778056889772415, 0.006135986652225256, -0.025212449952960014, 0.014257377944886684, -0.01023479737341404, -0.005241457838565111, 0.012773032300174236, 0.005916080437600613, 0.057096242904663086, -0.019553741440176964, 0.007945005781948566, 0.024713972583413124, -0.01733521930873394, 0.007458014879375696, 0.05786551162600517, 0.009470829740166664, -0.029811877757310867, -0.004218672402203083, 0.026035908609628677, -0.01812151074409485, -0.004384487401694059, -0.009663360193371773, 0.03255651518702507, 0.00956706888973713, -0.002780113834887743, -0.00846510287374258, 0.041882965713739395, 0.005764925852417946, 0.03761336952447891, 0.0009122244082391262, 0.03210330381989479, -0.025051025673747063, 0.005958384368568659, -0.02205069363117218, -0.01584724336862564, -0.0792016088962555, 0.04017246142029762, -0.04446094483137131, 0.01591271348297596, -0.06370726972818375, 0.006409752182662487, -0.051716625690460205, -0.01774122565984726, 0.0005552550428546965, 0.0266029704362154, 0.05753230303525925, -0.026238789781928062, -0.006497716065496206, -0.006139284931123257, 0.004715613089501858, 0.00029742263723164797, 0.0020060117822140455, -0.029470637440681458, -0.007864740677177906, -0.031197883188724518, 0.003374141175299883, 0.01237910520285368, -0.012360961176455021, -0.036336369812488556, 0.02536945603787899, -0.0008516590460203588, -0.02520553208887577, -0.02139873616397381, -0.025299137458205223, 0.05361967533826828, -0.012778992764651775, 0.03850632905960083, 0.014992328360676765, -0.02771458402276039, 0.00034817022969946265, 0.006307697854936123, 0.021034447476267815, -0.015788335353136063, -0.02889840118587017, -0.031162746250629425, -0.04194090887904167, 0.03036188706755638, -0.02897152118384838, -0.02057947777211666, 0.021825850009918213, 0.023885676637291908, 0.0191099364310503, -0.052296530455350876, -0.030499473214149475, 0.01595243066549301, -0.07720425724983215, 0.013666363433003426, 0.01144788321107626, 0.04636587202548981, 0.03315763548016548, -0.06577154248952866, 0.0005686888471245766, -0.04341486096382141, -0.013581857085227966, -0.01244704145938158, -0.013682334683835506, 0.004937418270856142, -0.05610426887869835, -0.026713723316788673, -0.020681502297520638, -0.017059415578842163, -0.0024353438057005405, -0.029151083901524544, -0.03763734549283981, -0.018836315721273422, 0.026897689327597618, -0.004891690332442522, -0.03710835427045822, 0.017485881224274635, -0.009871790185570717, 0.029361365363001823, -0.026089983060956, 0.0024355596397072077, 0.007679425645619631, 0.005110417492687702, -0.016660433262586594, -0.026829617097973824, 0.0001471399882575497, 0.019129272550344467, -0.04270303621888161, -0.026935597881674767, 0.012199778109788895, -0.017249956727027893, -0.01243932731449604, 0.030051806941628456, 0.01561927143484354, -0.0074941255152225494, -0.025424662977457047, -0.001775554963387549, 0.0333622545003891, 0.017693931236863136, 0.000439704570453614, -0.036415185779333115, 0.00475314911454916, 0.04780406504869461, -0.04575071111321449, -0.037139780819416046, -0.03923138603568077, -0.045227352529764175, -0.008584798313677311, 0.0013707922771573067, 0.03647862747311592, -0.04437171295285225, 0.035313647240400314, 0.01153381634503603, 0.009228475391864777, 0.007973768748342991, -0.031166935339570045, 0.0469692125916481, -0.06531061232089996, 0.034550152719020844, -0.07276786863803864, 0.004068803042173386, 0.07086958736181259, -0.043301165103912354, -0.049151625484228134, 0.03859874606132507, -0.0166760366410017, 0.035233184695243835, -0.007361269555985928, -0.04016653820872307, 0.07720304280519485, -0.020510006695985794, 0.003909123595803976, 0.020927010104060173, -0.030738653615117073, -0.019680822268128395, -0.015607655979692936, -0.04153403267264366, 0.02888452634215355, 0.005226765759289265, 0.07291275262832642, -0.012809762731194496, 0.06176239624619484, -0.053060051053762436, -0.018648622557520866, 0.009724552743136883, 0.02987692505121231, -0.01453868206590414, 0.06171102449297905, -0.016112206503748894, 0.0609755776822567, 0.061635833233594894, 0.05550551414489746, 0.028214873746037483, -0.012875865213572979, -0.03241942450404167, -0.041080038994550705, 0.03449913114309311, 0.00482881860807538, -0.030992276966571808, -0.07358521223068237, 0.0568498857319355, 0.008478030562400818, -0.04403597488999367, -0.0006887689232826233, -0.005588402505964041, -0.09464512020349503, 0.011333123780786991, -0.005361274350434542, 0.006038733758032322, 0.018537651747465134, 0.04916336014866829, 0.004429899156093597, 0.06295844912528992, 0.08762217313051224, 0.036682628095149994, 0.009188482537865639, -0.027727996930480003, 0.06406857073307037, 0.059821873903274536, 0.05273561552166939, -0.012609418481588364, 0.08151710033416748, -0.040342964231967926, -0.034962624311447144, 0.029620854184031487, 0.03464046120643616, -0.009647042490541935, -0.022879602387547493, 0.015407636761665344, 0.058672793209552765, 0.0004570351738948375, 0.04884679988026619, -0.06371817737817764, -0.0346403494477272, 0.06840848922729492, 0.01795392669737339, 0.0005054210196249187, 0.011058878153562546, 0.06111547723412514, 0.05452229082584381, -0.033793170005083084, -0.010230930522084236, 0.007539370097219944, -0.07914258539676666, -0.005362036172300577, 0.004466402810066938, -0.0050773597322404385, 0.036250218749046326, -0.003155076876282692, 0.048895999789237976, 0.12029804289340973, -0.0341053307056427, 0.006842799950391054, 0.002276269719004631, 0.001030771411024034, 0.0019138890784233809, 0.03217436000704765, 0.02058502286672592, 0.019303621724247932, 0.02076024003326893, -0.04721276834607124, 0.03835368901491165, 0.05489987134933472, 0.0014462408144026995, 0.050539273768663406, -0.020096778869628906, -0.0418417751789093, -0.016246581450104713, -0.004098962061107159, -0.05667010694742203, -0.04479025676846504, -0.021712303161621094, -0.02368481643497944, -0.017206190153956413, -0.016147471964359283, 0.04692567139863968, 0.004070548340678215, -0.053686220198869705, -0.01362173818051815, -0.01052124798297882, 0.014221416786313057, -0.022501666098833084, -0.046384915709495544, 0.025189435109496117, 0.018765779212117195, 0.023526562377810478, 0.012744702398777008, 0.0405966192483902, 0.04380209743976593, -0.016873294487595558, -0.01835419237613678, -0.024019205942749977, 0.00374620477668941, 0.023068413138389587, -0.003513325471431017, -0.029389791190624237, -0.08198505640029907, -0.001727724215015769, 0.024301614612340927, -0.018213964998722076, -0.07806015759706497, 0.020232388749718666, -0.044922444969415665, 0.06298689544200897, 0.06872348487377167, 0.03281787782907486, 0.039370346814394, -0.00015887875633779913, 0.023741740733385086, 0.025786934420466423, -0.00619790144264698, 0.04599693790078163, -0.03886551409959793, 0.06965178996324539, 0.02528657391667366, -0.030003530904650688, -0.0444912314414978, 0.04808243736624718, 0.008846121840178967, -0.026612257584929466, 0.019362689927220345, -0.032378267496824265, -0.008708596229553223, -0.12292487919330597, -0.013982064090669155, 0.022791685536503792, 0.025028323754668236, -0.057929545640945435, -0.0003813612856902182, 0.001909035723656416, -0.013158191926777363, 0.0021610904950648546, -0.05348770692944527, 0.006077948492020369, -0.026354050263762474, -0.04025300592184067, -0.052071861922740936, -0.008775620721280575, -0.03418426960706711, -0.006998396012932062, -0.027458053082227707, -0.02088218368589878, -0.027375847101211548, -0.0033647085074335337, 0.027408510446548462, 0.0056713842786848545, 0.019818713888525963, -0.001771501381881535 ]
328
Semantic Loss Guided Data Efficient Supervised Fine Tuning for Safe Responses in LLMs
https://openreview.net/forum?id=kO0DgO07hW
[ "Yuxiao Lu", "Arunesh Sinha", "Pradeep Varakantham" ]
Poster
Large Language Models (LLMs) generating unsafe responses to toxic prompts is a significant issue in their applications. While various efforts aim to address this safety concern, previous approaches often demand substantial human data collection or rely on the less dependable option of using another LLM to generate corrective data. In this paper, we aim to take this problem and overcome limitations of requiring significant high-quality human data. Our method requires only a small set of unsafe responses to toxic prompts, easily obtained from the unsafe LLM itself. By employing a semantic cost combined with a negative Earth Mover Distance (EMD) loss, we guide the LLM away from generating unsafe responses. Additionally, we propose a novel lower bound for EMD loss, enabling more efficient optimization. Our results demonstrate superior performance and data efficiency compared to baselines, and we further examine the nuanced effects of over-alignment and potential degradation of language capabilities when using contrastive data.
Large Language Model, Safe Large Language Model, Earth Mover Distance, Supervised Fine-tuning
null
13,451
2412.06843
[ -0.01609456166625023, -0.01074122078716755, 0.0016298212576657534, 0.036587174981832504, 0.05692964792251587, 0.0162384994328022, 0.017897045239806175, 0.004138120450079441, -0.021336006000638008, -0.0015452876687049866, -0.03460286185145378, 0.03743138164281845, -0.06677138060331345, -0.012932931073009968, 0.007018055766820908, 0.04813598096370697, 0.015956103801727295, -0.0038399037439376116, 0.03705726936459541, 0.025760352611541748, -0.00887982826679945, -0.025575000792741776, 0.035081926733255386, 0.002566597191616893, 0.0585421584546566, 0.04808276146650314, 0.004536462016403675, 0.010467490181326866, -0.041510820388793945, 0.007689313031733036, 0.042859144508838654, 0.001569868647493422, 0.007706712931394577, -0.009130362421274185, 0.01320230308920145, 0.01292224321514368, -0.06719500571489334, 0.003797840792685747, -0.0017878977814689279, 0.02477763220667839, -0.033352985978126526, 0.026394030079245567, -0.021861637011170387, 0.009417385794222355, -0.058615542948246, 0.0014832394663244486, -0.09883297979831696, -0.008929216302931309, 0.025295522063970566, -0.07490769773721695, -0.11062302440404892, 0.04566071555018425, -0.009742606431245804, -0.018475502729415894, -0.00568237854167819, 0.007144625298678875, 0.06404800713062286, -0.09707941859960556, -0.010383340530097485, -0.026172690093517303, -0.05100325867533684, 0.01398493628948927, -0.0007848339737392962, -0.00871977861970663, 0.004128508735448122, -0.006300071254372597, -0.01579258218407631, 0.034338802099227905, -0.059181325137615204, -0.02137123979628086, -0.009505542926490307, 0.016779251396656036, -0.02877754531800747, 0.019411873072385788, 0.027746424078941345, -0.06133066862821579, -0.0009099144372157753, 0.0027667309623211622, 0.056276023387908936, 0.02600741572678089, -0.021463483572006226, 0.02646614983677864, 0.03113194741308689, 0.02193509042263031, 0.021490374580025673, 0.014785770326852798, -0.02155289240181446, -0.021177485585212708, -0.053464557975530624, 0.02050364390015602, 0.021470002830028534, -0.029425475746393204, 0.008950352668762207, 0.01660388708114624, 0.010330227203667164, 0.026830313727259636, 0.012822108343243599, 0.015597675926983356, -0.056695956736803055, 0.003722209483385086, -0.03769535571336746, -0.029913369566202164, 0.026992155238986015, -0.009950158186256886, -0.10782123357057571, -0.015897128731012344, -0.01845311000943184, -0.017651602625846863, 0.0013180205132812262, -0.025606174021959305, -0.0402035117149353, -0.017204588279128075, 0.0018666523974388838, -0.016095057129859924, -0.08161023259162903, 0.024508388713002205, 0.0379633828997612, 0.036528538912534714, 0.005449710879474878, -0.0003046882920898497, 0.038645192980766296, 0.02233249880373478, 0.016212908551096916, 0.07804860919713974, -0.052503444254398346, 0.016906019300222397, -0.014971945434808731, 0.04883817210793495, -0.024845575913786888, -0.04270447790622711, 0.02067815698683262, 0.05008392035961151, -0.003220213809981942, -0.007202866952866316, 0.0021640534978359938, 0.03885927051305771, 0.016668815165758133, 0.010152569971978664, 0.05860701575875282, 0.00458587845787406, 0.010000853799283504, -0.019781848415732384, 0.05297792702913284, -0.028029168024659157, 0.09336704760789871, -0.010185212828218937, -0.0584830641746521, 0.0042551723308861256, -0.05189592391252518, 0.016774794086813927, 0.011945393867790699, 0.004684025421738625, -0.02210495062172413, -0.060130562633275986, 0.021791469305753708, 0.08991456031799316, 0.007496860343962908, -0.0051223402842879295, -0.0005234106793068349, 0.007791837677359581, -0.0005335915484465659, -0.010739991441369057, -0.0452708937227726, 0.006691876798868179, -0.014767113141715527, -0.06718116998672485, -0.0003099855384789407, -0.02391229383647442, -0.03833644837141037, 0.01160277146846056, -0.010313073173165321, -0.010017809458076954, 0.04022768512368202, -0.018754133954644203, -0.01279138121753931, -0.022739361971616745, 0.056083694100379944, 0.027058053761720657, 0.03382335230708122, 0.04077712073922157, -0.07186855375766754, 0.02415567636489868, 0.020748300477862358, 0.01820659264922142, 0.03906736522912979, -0.005944474600255489, 0.10518477857112885, -0.04074077680706978, 0.02009354904294014, 0.01359554659575224, -0.08349888771772385, -0.02200804278254509, 0.026278236880898476, -0.003505709581077099, 0.0533992238342762, -0.027119172737002373, -0.002134850015863776, 0.06329548358917236, 0.031105520203709602, 0.06627985835075378, 0.03152914717793465, -0.017845362424850464, 0.019447747617959976, -0.04610327258706093, -0.00992745254188776, -0.001583282952196896, 0.03982922434806824, -0.02647240273654461, -0.06126284971833229, 0.036891717463731766, -0.030724849551916122, -0.0036315061151981354, 0.03915741667151451, -0.002485021250322461, 0.018626462668180466, -0.018036704510450363, -0.01610751822590828, -0.006189869251102209, 0.00829861406236887, -0.05418196693062782, 0.04885607212781906, 0.03035834990441799, -0.011898702010512352, 0.003941209055483341, -0.05421973392367363, 0.09966642409563065, 0.07668460160493851, 0.025430437177419662, -0.009162196889519691, 0.013807883486151695, 0.021349508315324783, -0.016724571585655212, 0.0066030919551849365, -0.02232123166322708, 0.004721156787127256, -0.011337301693856716, -0.016092637553811073, -0.04084942862391472, 0.07260484993457794, -0.03597373515367508, -0.015621433965861797, 0.059848859906196594, -0.02294033020734787, 0.06322091817855835, -0.00767773250117898, 0.02690943144261837, 0.055710870772600174, -0.02869274839758873, -0.02510417066514492, -0.02509402483701706, -0.017112813889980316, 0.006302145309746265, 0.010043247602880001, 0.0013998609501868486, 0.001752097625285387, -0.05305340513586998, -0.016799740493297577, -0.0171598419547081, 0.0536450520157814, 0.05707684904336929, 0.00536775728687644, 0.04104425758123398, 0.009114083833992481, -0.03967564180493355, 0.01896258071064949, -0.08643361181020737, -0.03236168622970581, -0.0033161956816911697, 0.014624781906604767, 0.000365059677278623, 0.028605306521058083, 0.01183339487761259, 0.030326426029205322, -0.0064861406572163105, 0.0023000098299235106, 0.008294232189655304, 0.05562250316143036, -0.007565471809357405, -0.05598552152514458, 0.011102898977696896, 0.005849881563335657, 0.04830059036612511, -0.01713530533015728, -0.01743718981742859, -0.018096689134836197, -0.035389356315135956, 0.0006142935599200428, -0.04912961646914482, -0.007015199866145849, 0.011182784102857113, 0.008061738684773445, -0.03403962776064873, -0.011226438917219639, -0.003984122071415186, 0.031117575243115425, 0.027959706261754036, 0.03017025627195835, 0.022862248122692108, 0.016529731452465057, 0.05063638836145401, -0.02598818764090538, 0.030635545030236244, -0.00700197322294116, 0.011336646974086761, -0.025551458820700645, -0.015648193657398224, 0.0033856562804430723, 0.011081039905548096, -0.26749297976493835, -0.02973276749253273, 0.012083075940608978, -0.016545318067073822, 0.028258202597498894, 0.00355926644988358, 0.04275239631533623, -0.03167774900794029, -0.013613725081086159, 0.0251876562833786, 0.02553449757397175, 0.03650406375527382, 0.049596164375543594, 0.040233273059129715, 0.07751930505037308, 0.04747358337044716, 0.0038366804365068674, -0.05417269468307495, -0.0008137217373587191, 0.02628394588828087, 0.003239190438762307, -0.05232861265540123, -0.05144285410642624, 0.06963758170604706, -0.008573681116104126, 0.08585509657859802, -0.05762839689850807, 0.001952553284354508, -0.022037414833903313, -0.031120019033551216, 0.008494340814650059, -0.03167310729622841, -0.02413921058177948, 0.007978157140314579, 0.006656297016888857, 0.008774489164352417, 0.009428117424249649, 0.01348201185464859, 0.040116164833307266, 0.010903360322117805, -0.001702605397440493, -0.05681817978620529, -0.030431455001235008, -0.01244741678237915, 0.044471610337495804, -0.004536396823823452, -0.06509184837341309, 0.006779055576771498, 0.01841462217271328, 0.038582805544137955, 0.008844083175063133, -0.04308188334107399, -0.005143745336681604, 0.030278554186224937, 0.030257921665906906, -0.013675802387297153, 0.016686631366610527, 0.011592122726142406, -0.024554328992962837, -0.006516208406537771, 0.009815295226871967, -0.05528484284877777, -0.04148770123720169, -0.046903274953365326, -0.02380966581404209, -0.02982068620622158, -0.0544540211558342, -0.04765554517507553, 0.040887653827667236, 0.026645073667168617, -0.02414030022919178, 0.021773209795355797, 0.008983839303255081, -0.09720182418823242, 0.009516021236777306, 0.01770000346004963, -0.003256941679865122, -0.021604707464575768, 0.01555972546339035, 0.0255899578332901, -0.06544119864702225, -0.044707007706165314, 0.013593005016446114, 0.019343556836247444, 0.008170802146196365, -0.03502007946372032, 0.03163609653711319, -0.040006328374147415, -0.023710550740361214, -0.03379378467798233, 0.025092914700508118, 0.005049244966357946, -0.022345392033457756, 0.02100091427564621, 0.030704772099852562, 0.027920076623558998, 0.02067878097295761, 0.03370392695069313, 0.02325725182890892, -0.02438007853925228, 0.005019155330955982, -0.057505130767822266, 0.0011952329659834504, -0.058483850210905075, -0.012359172105789185, 0.04349817335605621, -0.06732045859098434, -0.03503536805510521, 0.03397008404135704, -0.024571150541305542, -0.0011783060617744923, 0.01197514683008194, 0.030055353417992592, -0.008629300631582737, -0.025455648079514503, 0.0008244771743193269, 0.015851158648729324, 0.024050623178482056, 0.037398360669612885, -0.03991593047976494, -0.007758324034512043, 0.028537586331367493, -0.0047938586212694645, 0.034372031688690186, -0.003201915882527828, -0.03462853655219078, 0.042316462844610214, -0.0046105957590043545, -0.03545602038502693, -0.009913760237395763, 0.025107866153120995, 0.051270753145217896, 0.011980278417468071, 0.03327808156609535, 0.0502019077539444, -0.02451111190021038, -0.012102082371711731, 0.017459942027926445, 0.04489678516983986, -0.0016109081916511059, -0.0010593890910968184, -0.017791949212551117, 0.022147521376609802, 0.04708985239267349, 0.05027220770716667, 0.012489799410104752, 0.01689445786178112, -0.02926849015057087, 0.02134714461863041, 0.005415965802967548, 0.0157706867903471, -0.05415426567196846, -0.008475895039737225, -0.054717980325222015, 0.006113233044743538, -0.004657429177314043, 0.038774196058511734, -0.02284075878560543, 0.029382217675447464, -0.05308574065566063, 0.040832988917827606, 0.008069219067692757, -0.004009061027318239, 0.0115725789219141, 0.017674608156085014, 0.024509532377123833, -0.022165494039654732, -0.0164345595985651, 0.024637017399072647, 0.009760669432580471, 0.004903746303170919, -0.03991793096065521, -0.026017751544713974, -0.004402180667966604, -0.014287767931818962, -0.010565406642854214, -0.005268656648695469, -0.04024025797843933, -0.014024562202394009, 0.05568994954228401, -0.01371089555323124, -0.022778011858463287, 0.010163597762584686, 0.012034106068313122, 0.08236566185951233, -0.008714554831385612, 0.029030531644821167, -0.004580158274620771, -0.017495794221758842, -0.0048585268668830395, -0.01571938395500183, -0.00652901828289032, -0.018786825239658356, 0.00030189278186298907, -0.023870844393968582, -0.06012479215860367, 0.025624241679906845, -0.018801044672727585, 0.026751546189188957, 0.007618460804224014, -0.005351571831852198, -0.006070251576602459, -0.029532786458730698, -0.02742692641913891, -0.01111298892647028, -0.09096992760896683, -0.01775379478931427, 0.031915389001369476, -0.02472151443362236, 0.026622947305440903, -0.03208909183740616, -0.04292749613523483, -0.04276570677757263, -0.007410119287669659, 0.030694391578435898, -0.03729375824332237, -0.03888089582324028, -0.020245982334017754, 0.0006694967160001397, -0.028401941061019897, 0.0038879013154655695, -0.02977929264307022, -0.0020111326593905687, 0.0052132620476186275, 0.021139774471521378, 0.038407303392887115, -0.03698170185089111, -0.012950483709573746, 0.004813108593225479, -0.027538862079381943, 0.0029133143834769726, -0.04646584019064903, 0.054007742553949356, 0.044796302914619446, -0.006369261536747217, 0.00749146519228816, -0.026764698326587677, 0.05014343187212944, 0.024087879806756973, -0.018590852618217468, 0.005887477658689022, -0.010888239368796349, -0.005744272377341986, 0.003327751997858286, 0.031229790300130844, 0.053051985800266266, 0.011643832549452782, -0.018374580889940262, -0.0182198453694582, -0.004577317275106907, 0.012928207404911518, 0.03616177663207054, -0.03486087545752525, -0.012642741203308105, 0.06436581909656525, -0.03794708102941513, -0.03389851376414299, -0.08058862388134003, -0.04237101972103119, 0.0030010193586349487, 0.010317654348909855, 0.03907161206007004, -0.027699174359440804, 0.062285974621772766, 0.011268207803368568, 0.07194571197032928, -0.0014975699596107006, -0.020180130377411842, 0.056060101836919785, -0.03951055184006691, -0.01747586764395237, -0.05665483698248863, 0.00010443000064697117, 0.07022107392549515, -0.06753388792276382, -0.006836795713752508, -0.040064625442028046, -0.05652349069714546, 0.005060538649559021, -0.002484142780303955, -0.0661909431219101, -0.0034211622551083565, -0.01077769324183464, -0.031661856919527054, 0.03633688762784004, -0.03361322358250618, 0.0036332944873720407, -0.003893436398357153, -0.02864047698676586, -0.012722275219857693, -0.028522290289402008, 0.05257584527134895, -0.05433613434433937, 0.022685891017317772, -0.06396496295928955, 0.008158845826983452, -0.0009254520409740508, 0.05742393806576729, 0.00753013975918293, 0.01832420378923416, -0.022634202614426613, 0.05762829631567001, 0.021314362064003944, -0.028683319687843323, -0.011563172563910484, 0.0075221904553473, -0.000046217341150622815, -0.03757341951131821, 0.057417143136262894, 0.007678164169192314, -0.016081348061561584, -0.042632848024368286, 0.06181619316339493, 0.06606011837720871, -0.040228042751550674, -0.01521222572773695, 0.03226074203848839, -0.035838451236486435, 0.012586631812155247, -0.01056232862174511, -0.010510248132050037, -0.006790538784116507, 0.0925498977303505, 0.019719254225492477, 0.04393572732806206, 0.07835549861192703, 0.003229603637009859, -0.011338933371007442, 0.025911495089530945, 0.07750231772661209, 0.072465680539608, 0.06924636662006378, -0.0063254437409341335, 0.06627450883388519, -0.052599892020225525, -0.06254474818706512, 0.009937820956110954, 0.01207356434315443, -0.021353840827941895, -0.029986083507537842, 0.010463598184287548, 0.049960725009441376, -0.0148348119109869, 0.06490088254213333, -0.04413299635052681, 0.001563382102176547, 0.044777967035770416, 0.0018626218661665916, 0.014942336827516556, 0.030907398089766502, 0.019859159365296364, -0.0016758532728999853, -0.0006487705395556986, -0.007664158474653959, 0.013521038927137852, 0.005082216579467058, 0.023234959691762924, -0.006166808772832155, -0.029882825911045074, 0.019258800894021988, -0.028132040053606033, 0.045901622623205185, 0.1285284012556076, -0.03845265135169029, -0.04284404590725899, -0.010890573263168335, 0.006950235925614834, -0.021213531494140625, 0.04353060573339462, 0.005953571759164333, -0.028941502794623375, -0.010825060307979584, -0.06236226484179497, -0.01307706255465746, 0.012231052853167057, -0.035578712821006775, 0.04608200863003731, -0.04063688963651657, -0.03214620053768158, 0.01739276386797428, 0.03341808542609215, -0.026257028803229332, -0.03927331045269966, -0.06128319352865219, -0.026945918798446655, -0.06475868821144104, -0.06103651598095894, 0.010742547921836376, 0.04006810486316681, -0.0088974479585886, 0.040575891733169556, -0.039065998047590256, -0.007778232451528311, 0.006055791396647692, -0.08251313120126724, 0.01579480990767479, 0.06486789882183075, -0.007848302833735943, -0.02856852486729622, 0.044879015535116196, -0.0014376374892890453, 0.0034777463879436255, -0.028149357065558434, 0.058930348604917526, -0.009052691981196404, 0.0234793983399868, 0.0029541063122451305, 0.01061936840415001, -0.09879527240991592, -0.008719393983483315, 0.004462019074708223, -0.010224543511867523, -0.0845186784863472, 0.03745907545089722, -0.018556734547019005, 0.04223286733031273, 0.04829685762524605, 0.0019760613795369864, 0.01652836613357067, -0.013391155749559402, -0.02368062175810337, -0.015512299723923206, 0.028701530769467354, 0.029311789199709892, -0.02505270577967167, 0.04552894085645676, 0.04273431748151779, -0.03761272132396698, -0.02572910487651825, 0.005698126740753651, 0.010503399185836315, -0.025501959025859833, -0.0391525998711586, -0.043625399470329285, -0.016228066757321358, -0.08728061616420746, -0.02425985038280487, 0.015234945341944695, 0.006587166339159012, -0.03045523166656494, 0.002939204452559352, 0.0022014142014086246, -0.05541481822729111, 0.012072645127773285, -0.021335234865546227, -0.03888317570090294, -0.0430571585893631, -0.03095841407775879, -0.04696397855877876, 0.048882875591516495, -0.014735289849340916, -0.013212825171649456, -0.022231578826904297, -0.013486278243362904, 0.05077274888753891, 0.0023555837105959654, 0.05694800242781639, -0.019942350685596466, 0.02808362990617752, -0.014039547182619572 ]
329
Adversarial Generative Flow Network for Solving Vehicle Routing Problems
https://openreview.net/forum?id=tBom4xOW1H
[ "Ni Zhang", "Jingfeng Yang", "Zhiguang Cao", "Xu Chi" ]
Poster
Recent research into solving vehicle routing problems (VRPs) has gained significant traction, particularly through the application of deep (reinforcement) learning for end-to-end solution construction. However, many current construction-based neural solvers predominantly utilize Transformer architectures, which can face scalability challenges and struggle to produce diverse solutions. To address these limitations, we introduce a novel framework beyond Transformer-based approaches, i.e., Adversarial Generative Flow Networks (AGFN). This framework integrates the generative flow network (GFlowNet)—a probabilistic model inherently adept at generating diverse solutions (routes)—with a complementary model for discriminating (or evaluating) the solutions. These models are trained alternately in an adversarial manner to improve the overall solution quality, followed by a proposed hybrid decoding method to construct the solution. We apply the AGFN framework to solve the capacitated vehicle routing problem (CVRP) and travelling salesman problem (TSP), and our experimental results demonstrate that AGFN surpasses the popular construction-based neural solvers, showcasing strong generalization capabilities on synthetic and real-world benchmark instances.
Generative Flow Network, Adversarial Training, Vehicle Routing Problem
null
13,449
2503.01931
[ 0.022538188844919205, -0.04675490781664848, -0.008373924531042576, 0.06332429498434067, 0.027027273550629616, 0.056309714913368225, 0.018657781183719635, 0.024660257622599602, -0.015090109780430794, -0.05256194993853569, -0.0008793656597845256, -0.0352611280977726, -0.08365833759307861, 0.035625290125608444, -0.02251136489212513, 0.058766718953847885, -0.007753828540444374, -0.009774460457265377, 0.01901368238031864, 0.017083918675780296, -0.003598235547542572, -0.04367442801594734, 0.05752851068973541, 0.018481174483895302, 0.05626263469457626, -0.013338263146579266, 0.00978357158601284, 0.020484745502471924, -0.02342268079519272, -0.024777164682745934, 0.031025299802422523, -0.02633005566895008, 0.044080574065446854, -0.020089976489543915, -0.009677808731794357, -0.04128292202949524, -0.04240809381008148, -0.056775715202093124, -0.0006958537269383669, -0.004952997900545597, -0.03511180728673935, 0.005915337707847357, -0.05913383513689041, 0.009115124121308327, -0.020754747092723846, 0.04571346938610077, -0.055265843868255615, 0.019049108028411865, -0.003365226788446307, -0.04038626700639725, -0.08568687736988068, 0.03601831570267677, 0.0008088133181445301, -0.005757278297096491, 0.008274850435554981, 0.009790265932679176, 0.046549271792173386, -0.07111182808876038, 0.004452156834304333, -0.07573763281106949, -0.01561895664781332, 0.047577887773513794, 0.02418685331940651, 0.03443128243088722, -0.0037504390347748995, -0.01913742534816265, -0.0017406472470611334, 0.06848397105932236, -0.026603855192661285, -0.02935933507978916, -0.049305595457553864, 0.0073645468801259995, 0.03329470753669739, 0.0015607785899192095, -0.037814170122146606, -0.03279036656022072, 0.001546364277601242, 0.032148174941539764, 0.04946538433432579, 0.004402165301144123, 0.021701183170080185, 0.01739967055618763, -0.009333726949989796, 0.042510248720645905, 0.0527578704059124, 0.04492422565817833, -0.02135961689054966, -0.010255817323923111, -0.056783996522426605, 0.031507812440395355, -0.024042604491114616, -0.05101915821433067, -0.049276191741228104, 0.034115973860025406, 0.03199445456266403, -0.020506078377366066, 0.024036763235926628, -0.0024877190589904785, 0.005973054561764002, 0.011155185289680958, -0.011151718907058239, -0.019078992307186127, 0.022821981459856033, -0.021816741675138474, -0.08532390743494034, -0.029167043045163155, -0.009177381172776222, -0.022958116605877876, 0.0076895831152796745, -0.021652409806847572, -0.0358414426445961, 0.0020225520711392164, -0.017159353941679, -0.012983376160264015, -0.049895577132701874, 0.04409865662455559, -0.006383180618286133, -0.0189216248691082, -0.010815372690558434, 0.008877559565007687, 0.05735445395112038, 0.020740820094943047, -0.025501543655991554, 0.06327004730701447, -0.024497898295521736, 0.012550550512969494, 0.013267001137137413, 0.026440700516104698, -0.025094173848628998, -0.010604052804410458, -0.02825368009507656, 0.03794084116816521, -0.018294895067811012, 0.013748353347182274, -0.010795490816235542, -0.027152320370078087, -0.008810625411570072, 0.026062844321131706, 0.04802614450454712, -0.0317729152739048, -0.0473838709294796, -0.006524647586047649, 0.08240244537591934, -0.04103749990463257, 0.09001634269952774, -0.0073770880699157715, 0.018430421128869057, -0.05778151750564575, -0.04895683750510216, 0.005827305838465691, -0.013473805040121078, 0.009212466888129711, -0.008547483012080193, -0.06624674052000046, 0.0018369018798694015, 0.07142726331949234, 0.019120560958981514, 0.03933515399694443, -0.048970941454172134, -0.025849848985671997, 0.007886780425906181, 0.014929032884538174, -0.04400042071938515, 0.0066024307161569595, -0.03726857900619507, -0.03653687983751297, 0.03368864208459854, 0.04114965721964836, -0.06674446165561676, -0.022735992446541786, -0.026326581835746765, -0.05266673117876053, 0.040322013199329376, -0.012552747502923012, -0.011984598822891712, -0.018285294994711876, 0.06999797374010086, -0.02560586854815483, 0.04590907320380211, 0.018591048195958138, -0.07216167449951172, 0.04741334542632103, 0.031055202707648277, -0.004524893593043089, 0.0054784961976110935, -0.03385545313358307, 0.04175107181072235, 0.005897732451558113, 0.0002278292377013713, 0.029754728078842163, -0.05854567512869835, -0.06271336227655411, -0.011752113699913025, -0.03129637986421585, 0.039475638419389725, 0.022448891773819923, -0.03015848621726036, 0.0374213382601738, 0.0074170236475765705, 0.06982188671827316, 0.04495682194828987, -0.01801157370209694, 0.029439782723784447, -0.0589049831032753, -0.05505738779902458, 0.032865025103092194, 0.06094250828027725, -0.02433169260621071, -0.04244896396994591, 0.05152032524347305, -0.018983857706189156, -0.01641533337533474, 0.004889111500233412, -0.009900244884192944, 0.03874289244413376, 0.023720448836684227, -0.01673910580575466, 0.012951274402439594, 0.05053984373807907, -0.037035953253507614, 0.058149565011262894, 0.010956342332065105, -0.026081480085849762, 0.010265232995152473, -0.0711842030286789, 0.06920849531888962, 0.06816621124744415, -0.03269806504249573, -0.017547085881233215, 0.009817217476665974, 0.03417471796274185, 0.03912973403930664, -0.005628057289868593, -0.023812977597117424, 0.008840546943247318, -0.028371451422572136, 0.007736044004559517, -0.0005233079427853227, 0.037593740969896317, -0.03344164043664932, -0.02939426340162754, 0.05200233682990074, -0.014008661732077599, 0.054854463785886765, 0.028783058747649193, 0.03479202836751938, 0.0249550212174654, 0.005665190517902374, 0.009963961318135262, -0.025848593562841415, -0.0320250503718853, 0.006976525764912367, 0.02376665361225605, 0.027742989361286163, -0.03041342832148075, -0.05627644434571266, -0.024865612387657166, -0.027785371989011765, 0.08841370046138763, 0.07296182215213776, 0.00545296398922801, 0.027308786287903786, -0.00608109263703227, 0.0006312885088846087, -0.035267360508441925, -0.12531861662864685, -0.028692029416561127, -0.027914049103856087, 0.05800536274909973, 0.05105813220143318, 0.04852890968322754, -0.004900223109871149, 0.024526450783014297, -0.03638661280274391, -0.013706090860068798, 0.020380094647407532, 0.008637728169560432, 0.03810705244541168, -0.02474886178970337, 0.000059594523918349296, 0.00001774994052539114, 0.06265991181135178, -0.018104802817106247, -0.0013234562939032912, -0.03148685395717621, -0.04004441946744919, 0.015662241727113724, -0.03312152996659279, 0.014936144463717937, 0.035309914499521255, 0.016124766319990158, 0.026580391451716423, -0.04432304576039314, 0.008505888283252716, 0.05221659690141678, 0.04581686854362488, 0.03884470835328102, -0.007040033116936684, -0.014803501777350903, 0.021035045385360718, -0.0003372129867784679, 0.01402859203517437, -0.04794936254620552, -0.0028772286605089903, -0.026997921988368034, -0.01017916202545166, 0.0037234334740787745, -0.0023307043593376875, -0.2557699978351593, -0.025778762996196747, 0.004956085234880447, 0.002146494807675481, 0.01006926130503416, -0.011078611947596073, 0.03820369392633438, -0.026136131957173347, -0.03494369611144066, -0.013547579757869244, 0.007055787835270166, 0.012230549938976765, 0.004014359787106514, 0.04864572361111641, 0.02889145165681839, 0.015392684377729893, 0.011598327197134495, -0.051445793360471725, 0.03252303600311279, 0.005420727655291557, -0.03384702280163765, -0.09324522316455841, -0.0538698211312294, 0.015280934050679207, -0.007190721109509468, 0.0371953547000885, -0.07467447221279144, -0.033338576555252075, -0.009921211749315262, 0.008737356401979923, -0.009490681812167168, -0.00795748271048069, -0.014074171893298626, 0.04839901998639107, -0.014369159005582333, -0.01565101370215416, 0.03399444371461868, -0.01640941947698593, 0.050946298986673355, -0.00820252113044262, -0.003651545848697424, -0.0032081727404147387, -0.02703217975795269, 0.004174650181084871, 0.05986563488841057, -0.008039738982915878, -0.03657890111207962, -0.003578010480850935, -0.010864566080272198, 0.02543116919696331, 0.014830031432211399, 0.004985333885997534, 0.0050134845077991486, 0.0035239916760474443, 0.01579982414841652, -0.018863514065742493, 0.028915701434016228, -0.05825745314359665, 0.025050470605492592, 0.025448894128203392, 0.019508952274918556, -0.033716149628162384, -0.012685060501098633, -0.03702164813876152, -0.029770750552415848, 0.016655201092362404, -0.033902041614055634, -0.08271776139736176, 0.03215945512056351, 0.005824989173561335, 0.0044818539172410965, 0.037320904433727264, -0.005293380469083786, -0.09278536587953568, 0.0070250858552753925, -0.0006165009690448642, -0.018012480810284615, 0.013493992388248444, 0.020005259662866592, -0.011484524235129356, -0.018913935869932175, -0.06687203794717789, -0.016642211005091667, 0.00364454067312181, 0.004110138863325119, -0.0006803066353313625, 0.04442610219120979, -0.007461485452950001, -0.05118719860911369, -0.007996056228876114, 0.04899446293711662, 0.010871547274291515, 0.047968894243240356, -0.02907365933060646, 0.08140931278467178, 0.037885963916778564, 0.023180002346634865, 0.043900199234485626, 0.04735403135418892, 0.000025543393348925747, 0.038725901395082474, -0.0774582177400589, -0.018678728491067886, -0.031126273795962334, -0.04027216508984566, 0.040739238262176514, -0.012928578071296215, 0.0032086146529763937, 0.043216366320848465, 0.03504835069179535, -0.006865516770631075, -0.026321593672037125, 0.025126498192548752, -0.003432922763749957, -0.008155589923262596, 0.025580212473869324, 0.01734764128923416, 0.023070719093084335, 0.07121359556913376, 0.007461706642061472, -0.02733522094786167, 0.05381206423044205, -0.04500593617558479, 0.028188223019242287, -0.012043074704706669, 0.005101623013615608, -0.005198894068598747, 0.02129882387816906, 0.04169737920165062, -0.00017378892516717315, 0.053630392998456955, 0.037364475429058075, 0.0011343199294060469, -0.010822705924510956, 0.03997043892741203, -0.012566902674734592, -0.03373243659734726, -0.01666967011988163, 0.046993568539619446, -0.0043896702118217945, 0.013164591044187546, -0.020460881292819977, 0.03489892557263374, -0.03423084691166878, 0.0372074656188488, 0.026081308722496033, 0.0025602111127227545, 0.04378121718764305, -0.0010122662642970681, -0.014957450330257416, 0.028039008378982544, -0.05040208250284195, -0.0014295156579464674, -0.029758810997009277, 0.03873312473297119, -0.02510790340602398, 0.022674182429909706, -0.02195585146546364, -0.0024448528420180082, -0.061017248779535294, 0.0843125432729721, -0.00675276480615139, -0.007527066394686699, 0.008100483566522598, 0.0028431902173906565, 0.056142110377550125, 0.027096793055534363, -0.0244539063423872, -0.030249567702412605, 0.02258884347975254, 0.0030369958840310574, -0.017952371388673782, -0.03952370211482048, -0.005906876642256975, -0.02560381032526493, 0.029740123078227043, -0.004415386822074652, -0.0252159982919693, -0.024162689223885536, 0.028900284320116043, -0.02238931879401207, -0.005852190777659416, 0.021362531930208206, -0.01614382676780224, 0.055872585624456406, 0.0257880762219429, 0.0045312996953725815, -0.003417256288230419, -0.003088036784902215, 0.0650596022605896, -0.005733484867960215, 0.028359880670905113, -0.015053583309054375, -0.04246032238006592, -0.02119688130915165, -0.061981040984392166, 0.015330804511904716, 0.03020816296339035, -0.026019178330898285, -0.029184607788920403, -0.007491053082048893, -0.010105807334184647, -0.026309426873922348, -0.022285863757133484, 0.010392643511295319, -0.07174172252416611, 0.015576976351439953, 0.02098555862903595, 0.04483722522854805, 0.037249255925416946, -0.008588242344558239, -0.021030502393841743, -0.07271452993154526, -0.007217868231236935, -0.026844235137104988, -0.00310898432508111, -0.017099710181355476, 0.004922530148178339, 0.007217139005661011, 0.017912598326802254, -0.010485497303307056, -0.0154249407351017, -0.02441868558526039, -0.040340546518564224, -0.02011844888329506, 0.07460051029920578, -0.04373718053102493, -0.04898086562752724, -0.0033313909079879522, 0.0040856036357581615, -0.003905537538230419, -0.06800949573516846, 0.013104773126542568, 0.03518449887633324, 0.011738110333681107, 0.04974883422255516, -0.03408787399530411, 0.0017211823724210262, -0.004358074627816677, -0.029345238581299782, -0.002573951380327344, -0.012214322574436665, -0.02972140535712242, 0.004796427674591541, 0.020627273246645927, 0.007503848522901535, -0.007083453703671694, 0.003789023030549288, 0.01097723376005888, 0.026502352207899094, 0.03248600661754608, -0.014553558081388474, -0.03495008498430252, -0.005811556242406368, 0.05232282355427742, -0.02999565191566944, -0.028429273515939713, -0.034061167389154434, -0.018230775371193886, 0.018815943971276283, -0.04150935634970665, 0.0018964388873428106, -0.026926914229989052, 0.030653495341539383, 0.0316988006234169, 0.025234675034880638, 0.0007684743031859398, -0.04794761538505554, 0.017265059053897858, -0.05626668781042099, 0.02575051225721836, -0.07441874593496323, 0.021403469145298004, 0.060269877314567566, -0.002594208577647805, -0.018910063430666924, 0.00275936140678823, -0.03530724719166756, 0.039095524698495865, -0.031790927052497864, -0.07674536108970642, 0.0275346077978611, -0.017831197008490562, -0.0007079009083099663, 0.02622084505856037, -0.03296186774969101, 0.0006650073337368667, 0.008975222706794739, -0.052323829382658005, 0.004010520409792662, 0.024082044139504433, 0.04099838435649872, -0.03819021210074425, 0.0004500952491071075, -0.023494655266404152, 0.002730641048401594, 0.04000125080347061, 0.060581840574741364, 0.0035527674481272697, 0.03869674727320671, -0.03433588519692421, 0.0593816339969635, 0.053177423775196075, 0.005141088739037514, 0.0012894223909825087, 0.03821393847465515, 0.0025418978184461594, -0.06434180587530136, 0.05215669050812721, 0.023678921163082123, -0.02008962258696556, -0.08054841309785843, 0.06162530556321144, 0.002623338019475341, -0.06356415152549744, 0.01114693470299244, 0.0198124460875988, -0.08763248473405838, 0.00463336193934083, 0.01798311620950699, 0.029733510687947273, 0.022492675110697746, 0.04564867541193962, -0.01907483860850334, 0.022006534039974213, 0.060582518577575684, 0.02698558010160923, -0.01629701815545559, 0.006704845931380987, 0.04937291517853737, 0.03030502423644066, 0.02002178691327572, -0.033196546137332916, 0.04621322825551033, -0.009950580075383186, -0.027044400572776794, 0.01979008875787258, -0.006312960758805275, -0.03769122064113617, -0.032992321997880936, 0.00026113211060874164, 0.07694997638463974, 0.009419295936822891, 0.05953517556190491, -0.04478103294968605, 0.020069565623998642, 0.04773453250527382, 0.01826493814587593, -0.0197193194180727, 0.07249823957681656, 0.03698474168777466, -0.0019318818813189864, -0.014872422441840172, -0.002369371708482504, -0.042198438197374344, 0.01130768284201622, -0.011974205262959003, 0.04292697086930275, -0.02895837090909481, 0.009909328073263168, 0.0059992363676428795, 0.010582023300230503, 0.0922333151102066, -0.06598208099603653, -0.04806528985500336, -0.03315964341163635, 0.03300464525818825, -0.02188682369887829, 0.008454006165266037, 0.03145262598991394, -0.05053448677062988, -0.016872067004442215, -0.040364526212215424, 0.0019246949814260006, 0.023498475551605225, 0.03628632798790932, 0.012287888675928116, -0.01373274251818657, -0.005716754589229822, 0.030302077531814575, 0.004110266920179129, -0.01280203741043806, -0.03550103306770325, -0.03752521798014641, -0.07162629067897797, -0.0441800057888031, -0.05431152135133743, 0.0035947891883552074, -0.03418121114373207, -0.048260707408189774, -0.013830277137458324, 0.018094774335622787, -0.0035335009451955557, 0.07953516393899918, -0.0698876827955246, -0.004229214508086443, 0.03762582689523697, 0.009318982250988483, 0.00027114342083223164, 0.00872355792671442, 0.03242436423897743, -0.006544066593050957, 0.005232282914221287, 0.024643639102578163, 0.004612610675394535, -0.0029807297978550196, 0.005088289268314838, -0.002300584688782692, -0.09253838658332825, 0.026844525709748268, 0.030291222035884857, -0.05065473914146423, -0.0950000137090683, 0.013568930327892303, -0.030538499355316162, 0.029381413012742996, 0.08398918807506561, 0.020312955603003502, 0.006806283723562956, -0.06808166950941086, 0.00914972834289074, 0.043408073484897614, -0.03293279930949211, 0.05702131614089012, -0.04487554356455803, 0.04589293152093887, 0.05831547826528549, -0.019703028723597527, -0.025099977850914, 0.04343678057193756, 0.017326682806015015, 0.002303633140400052, -0.04232584312558174, -0.03239631652832031, -0.030083324760198593, -0.0988616943359375, -0.001226169872097671, 0.0005077547393739223, -0.0002221725444542244, -0.022099431604146957, 0.006930539384484291, -0.029014665633440018, 0.018641194328665733, -0.0024228242691606283, -0.03276491537690163, -0.01231051329523325, -0.006137461867183447, -0.022819768637418747, -0.07997436821460724, 0.057137250900268555, -0.005858803167939186, 0.014301192946732044, 0.0004011350101791322, -0.05368700623512268, 0.014038734138011932, -0.034180209040641785, 0.021625787019729614, -0.02234886959195137, 0.028599094599485397, -0.006657734978944063 ]
330
Tracking the Copyright of Large Vision-Language Models through Parameter Learning Adversarial Images
https://openreview.net/forum?id=K7xpl3LZQp
[ "Yubo Wang", "Jianting Tang", "Chaohu Liu", "Linli Xu" ]
Poster
Large vision-language models (LVLMs) have demonstrated remarkable image understanding and dialogue capabilities, allowing them to handle a variety of visual question answering tasks. However, their widespread availability raises concerns about unauthorized usage and copyright infringement, where users or individuals can develop their own LVLMs by fine-tuning published models. In this paper, we propose a novel method called Parameter Learning Attack (PLA) for tracking the copyright of LVLMs without modifying the original model. Specifically, we construct adversarial images through targeted attacks against the original model, enabling it to generate specific outputs. To ensure these attacks remain effective on potential fine-tuned models to trigger copyright tracking, we allow the original model to learn the trigger images by updating parameters in the opposite direction during the adversarial attack process. Notably, the proposed method can be applied after the release of the original model, thus not affecting the model’s performance and behavior. To simulate real-world applications, we fine-tune the original model using various strategies across diverse datasets, creating a range of models for copyright verification. Extensive experiments demonstrate that our method can more effectively identify the original copyright of fine-tuned models compared to baseline methods. Therefore, this work provides a powerful tool for tracking copyrights and detecting unlicensed usage of LVLMs.
Copyright Tracking, Large Vision-Language Models, Adversarial Attacks, Fine-tuning
By allowing model parameter updates during adversarial attacks, the adversarial images can more effectively trigger fine-tuned models to output specific texts, thereby achieving the copyright tracking.
13,438
2502.16593
[ 0.011184935458004475, -0.006461398210376501, 0.0043407827615737915, 0.04127384349703789, 0.024005362764000893, 0.007092658430337906, 0.00788517203181982, 0.004066267050802708, -0.030909007415175438, -0.013606001622974873, -0.04264445975422859, 0.005124371498823166, -0.0624389722943306, 0.002382054226472974, -0.00228469748981297, 0.05175573378801346, 0.018549315631389618, 0.0143483467400074, 0.026396101340651512, 0.020419539883732796, -0.010725980624556541, -0.018968380987644196, 0.030118484050035477, -0.006189893465489149, -0.005965101532638073, -0.003778026206418872, 0.03611819073557854, 0.015019982121884823, -0.04829806834459305, 0.021876033395528793, 0.04015038162469864, -0.02224995754659176, 0.02569437213242054, -0.016890810802578926, 0.035641200840473175, 0.004558362532407045, -0.07787902653217316, 0.006992441602051258, 0.005998505745083094, 0.03635629266500473, -0.020478811115026474, 0.03228263184428215, -0.019012996926903725, 0.011321693658828735, -0.0684831514954567, 0.008485212922096252, -0.11829205602407455, 0.05058813840150833, 0.006516573950648308, -0.021238436922430992, -0.10634763538837433, 0.032675452530384064, -0.04037833586335182, 0.0026394024025648832, 0.03830261528491974, 0.0342586450278759, 0.044678740203380585, -0.08975342661142349, -0.0020566515158861876, -0.04401862621307373, -0.015187500976026058, -0.012139590457081795, 0.01864967681467533, 0.009737233631312847, -0.006951690185815096, -0.01791045255959034, 0.034291017800569534, 0.04205835610628128, -0.05551401898264885, -0.05682047829031944, -0.0030481580179184675, -0.004222196526825428, -0.0209568552672863, -0.03326869755983353, -0.008817980997264385, -0.04725964367389679, -0.004340421874076128, 0.01819821074604988, 0.061159323900938034, -0.014085792005062103, 0.013197164982557297, 0.03635748475790024, 0.0037762303836643696, 0.03195657953619957, -0.008443528786301613, 0.013710683211684227, -0.04762602597475052, -0.018859917297959328, -0.07022542506456375, 0.0037920752074569464, -0.017088523134589195, -0.042573850601911545, 0.018576232716441154, 0.030689869076013565, 0.010953649878501892, 0.006340872962027788, -0.012410326860845089, 0.019058354198932648, -0.018003586679697037, 0.02168959006667137, -0.017542531713843346, -0.029880465939641, 0.02454289235174656, 0.005851720925420523, -0.10604076832532883, -0.026700489223003387, -0.018730076029896736, 0.0074857366271317005, -0.011070596054196358, -0.0026668733917176723, -0.012759136967360973, 0.021602317690849304, -0.003109038807451725, -0.023788699880242348, -0.06797843426465988, 0.02378305420279503, 0.007243981584906578, 0.004067608155310154, -0.004767647944390774, 0.02167707309126854, 0.05683165416121483, 0.03754632547497749, 0.009328632615506649, 0.06609351933002472, 0.028595302253961563, 0.0014301800401881337, 0.016362475231289864, 0.03215765580534935, -0.0525156706571579, -0.04163084551692009, 0.010447117500007153, 0.02452820912003517, 0.017872128635644913, 0.015707191079854965, 0.02448936738073826, 0.0009439753484912217, 0.011812384240329266, -0.0007202323758974671, 0.02657446078956127, -0.03524301201105118, 0.02442663349211216, -0.01992294192314148, 0.031134532764554024, -0.032398901879787445, 0.07134786248207092, 0.010615706443786621, -0.012544452212750912, -0.038138654083013535, -0.05198844149708748, -0.017468905076384544, 0.014301198534667492, 0.006666778586804867, 0.016300594434142113, -0.07327666133642197, 0.022928668186068535, 0.05573682859539986, 0.036021098494529724, 0.021165747195482254, -0.006203027907758951, -0.010432148352265358, 0.017289111390709877, -0.019196225330233574, -0.05006585642695427, 0.042218808084726334, -0.006517231930047274, -0.06365752965211868, 0.009050145745277405, 0.010186128318309784, -0.018262062221765518, -0.01441812515258789, -0.057225894182920456, -0.03577303886413574, 0.051552046090364456, -0.003874418558552861, -0.017120206728577614, 0.020066997036337852, 0.06805500388145447, 0.01940387859940529, 0.04920576140284538, 0.030557386577129364, -0.08383719623088837, 0.04671954736113548, 0.017742520198225975, 0.012893704697489738, -0.003497786819934845, -0.03944654017686844, 0.08255201578140259, -0.030773242935538292, 0.009425505995750427, 0.012106504291296005, -0.06505569070577621, -0.013886537402868271, 0.02154933288693428, -0.019774334505200386, 0.05814367160201073, 0.02270195260643959, 0.016835015267133713, 0.030030084773898125, 0.044759951531887054, 0.06388435512781143, 0.02611800841987133, -0.028159871697425842, 0.06662371754646301, -0.027006007730960846, -0.02841537818312645, 0.002262210240587592, 0.034344762563705444, -0.0652971938252449, -0.04036587476730347, 0.023532697930932045, -0.03770720958709717, 0.01796209067106247, 0.01903238520026207, 0.014624091796576977, 0.00277852825820446, -0.007470566313713789, -0.03422439098358154, 0.01289287582039833, 0.02119581773877144, -0.056718017905950546, 0.021904049441218376, 0.027096714824438095, -0.017111886292696, 0.0268195029348135, -0.03378111124038696, 0.10639916360378265, 0.03469542786478996, -0.0032578501850366592, 0.01108858734369278, 0.005186173599213362, 0.005102470982819796, 0.005843915045261383, 0.0020403084345161915, -0.03618216514587402, 0.017583809792995453, -0.04154062643647194, 0.002899239072576165, -0.02512282133102417, 0.07422774285078049, -0.02731471322476864, -0.005675996653735638, 0.052469465881586075, 0.0015543962363153696, 0.03992689400911331, -0.031013311818242073, 0.027933405712246895, 0.03431004658341408, 0.009085499681532383, 0.005392809864133596, -0.007515777833759785, -0.01406936626881361, 0.009653128683567047, -0.022600671276450157, -0.027120495215058327, -0.0009638964547775686, -0.03798530623316765, -0.025258325040340424, -0.04869726672768593, 0.06788721680641174, 0.046342216432094574, 0.014220708049833775, 0.028657909482717514, -0.011653056368231773, -0.02370438538491726, -0.029171587899327278, -0.0792275071144104, -0.0146904606372118, -0.011028294451534748, 0.038726139813661575, 0.03323069214820862, 0.05730048567056656, 0.03888876736164093, -0.001965561183169484, -0.027201907709240913, -0.015074344351887703, 0.05273362994194031, 0.028564801439642906, 0.02436204068362713, -0.06856963783502579, -0.01415433082729578, -0.009185385890305042, 0.05549037456512451, -0.0061712986789643764, -0.03054950386285782, -0.03612349182367325, -0.0388796366751194, -0.02130844257771969, -0.037170395255088806, -0.023982897400856018, 0.026042424142360687, 0.0022055860608816147, 0.02370845526456833, -0.004316131584346294, 0.03354703262448311, 0.008364422246813774, 0.06756841391324997, 0.02329385280609131, -0.014277791604399681, -0.018721377477049828, 0.030914828181266785, -0.020954784005880356, 0.010153505951166153, 0.01809556595981121, 0.003439061576500535, -0.018996763974428177, -0.006486379075795412, -0.0008857225184328854, -0.01654808409512043, -0.28028610348701477, 0.0035813595168292522, 0.0019967772532254457, 0.013795828446745872, 0.024589890614151955, -0.011301711201667786, 0.03852112963795662, -0.06187992915511131, -0.028433063998818398, 0.02095554955303669, 0.05437949299812317, 0.01552952267229557, -0.00422493414953351, 0.054571039974689484, 0.04282868653535843, 0.04416125640273094, -0.017601991072297096, -0.029260072857141495, 0.024831663817167282, 0.028437500819563866, -0.018340036273002625, -0.0607709176838398, -0.016356153413653374, 0.052718713879585266, -0.007177055347710848, 0.05162636190652847, -0.08252887427806854, -0.033191174268722534, -0.008158178068697453, -0.021343188360333443, -0.015581048093736172, -0.02627681940793991, -0.036327507346868515, 0.019474361091852188, -0.0006468217470683157, -0.008664370514452457, 0.045496273785829544, -0.01921287178993225, 0.019913092255592346, 0.0020967929158359766, 0.028083311393857002, 0.003410416655242443, -0.0018432018114253879, 0.022550996392965317, 0.07475832104682922, -0.0043760305270552635, -0.04680905491113663, -0.0317610464990139, -0.013933522626757622, 0.03695955500006676, 0.018118565902113914, -0.031845469027757645, -0.014298231340944767, 0.03198686242103577, -0.028305064886808395, -0.018107950687408447, 0.021080343052744865, -0.029466798529028893, 0.0016647732118144631, 0.02522400952875614, 0.008945372886955738, -0.03643093258142471, -0.024234022945165634, -0.01997319422662258, 0.0025647974107414484, -0.01526633184403181, -0.016927197575569153, -0.08985674381256104, 0.04104968160390854, 0.04819372668862343, -0.012138464488089085, 0.003576503600925207, -0.016800999641418457, -0.09873274713754654, 0.011287174187600613, -0.01208442822098732, -0.006685141008347273, -0.016744539141654968, 0.005936700385063887, 0.03882915526628494, -0.014018218964338303, -0.03869181126356125, 0.016477208584547043, 0.011855794116854668, 0.007485740818083286, -0.052383359521627426, 0.03887740150094032, -0.024905258789658546, 0.011063591577112675, -0.058515530079603195, 0.057393912225961685, 0.010207903571426868, 0.013448614627122879, 0.014884472824633121, 0.02500825934112072, 0.002430875087156892, 0.06614335626363754, 0.03792012110352516, 0.03467179834842682, 0.026980239897966385, 0.019058793783187866, -0.08355418592691422, -0.010155277326703072, -0.05754560977220535, -0.039684444665908813, 0.037354420870542526, -0.06194772571325302, -0.02321707084774971, 0.028438033536076546, -0.037544332444667816, -0.043270062655210495, -0.031353823840618134, 0.018971668556332588, 0.0006434821989387274, -0.028864268213510513, -0.02046760730445385, 0.017126891762018204, 0.018399011343717575, 0.029975956305861473, -0.06844061613082886, -0.04850343242287636, 0.05204607918858528, -0.05212424695491791, 0.008181143552064896, -0.006365571171045303, -0.011667764745652676, -0.004887736868113279, -0.012244242243468761, -0.031252071261405945, 0.0013318335404619575, 0.022469086572527885, 0.03370308876037598, 0.005747408140450716, 0.023701943457126617, 0.05845027044415474, 0.01274383906275034, 0.000008909323696570937, -0.02270841784775257, 0.021825920790433884, -0.017497679218649864, 0.022564172744750977, 0.008510674349963665, 0.06021930277347565, 0.04229310154914856, 0.01854940503835678, -0.02209903858602047, 0.05422310531139374, 0.0016562880482524633, 0.023932086303830147, 0.011436833068728447, 0.058969076722860336, -0.05657382681965828, -0.0084297526627779, -0.02923714742064476, 0.036936864256858826, -0.009133083745837212, 0.01833806373178959, -0.01592232845723629, 0.008463144302368164, -0.0464605949819088, 0.07507792860269547, 0.025611605495214462, -0.025444399565458298, 0.01863524504005909, 0.02395399659872055, 0.030466504395008087, -0.0039958348497748375, -0.004347784910351038, 0.01768490858376026, -0.0010365124326199293, -0.013838251121342182, -0.019493790343403816, -0.016777213662862778, -0.01258853729814291, -0.0048126461915671825, -0.007795785553753376, 0.008133020251989365, 0.00191483274102211, -0.03499184548854828, 0.027591487392783165, 0.008741844445466995, -0.017993230372667313, 0.016641197726130486, 0.0057930713519454, 0.07955440878868103, -0.009385774843394756, -0.007788723800331354, -0.02863530069589615, -0.05537835881114006, 0.058694884181022644, -0.02817307785153389, 0.03261137753725052, -0.041603934019804, -0.0228673554956913, -0.031164094805717468, -0.05097111314535141, -0.009688419289886951, 0.012309188023209572, 0.028240319341421127, -0.028739476576447487, 0.0006663606618531048, 0.030243495479226112, -0.04400429129600525, -0.007524596527218819, -0.003956559579819441, -0.07043273001909256, 0.007332286797463894, 0.04468479007482529, -0.035882167518138885, 0.04423302039504051, -0.04168613627552986, -0.023397212848067284, -0.0391804538667202, -0.04172815755009651, 0.01283041201531887, -0.018537506461143494, -0.031462084501981735, -0.013464324176311493, 0.008840733207762241, -0.006191694177687168, 0.02982161194086075, -0.008737725205719471, 0.009736758656799793, 0.0004906610702164471, -0.003058010945096612, 0.03936319053173065, -0.04100530967116356, 0.02290804497897625, 0.015732405707240105, -0.02252962440252304, 0.027148941531777382, -0.05464620143175125, 0.010698172263801098, 0.04919072985649109, -0.044282615184783936, 0.0024157813750207424, -0.05612827092409134, 0.03629552572965622, -0.018232038244605064, -0.014518152922391891, 0.0227523073554039, 0.022342391312122345, -0.02481355518102646, 0.008964505046606064, 0.01796405017375946, 0.06101537495851517, 0.001487269066274166, 0.017007380723953247, 0.006108954083174467, 0.0012065806658938527, 0.00733151426538825, 0.02599736489355564, -0.06023167073726654, -0.0251231137663126, 0.049496494233608246, -0.04392791911959648, 0.015726128593087196, -0.06974111497402191, -0.05328891798853874, 0.013006549328565598, -0.017734099179506302, 0.02577294409275055, -0.024361200630664825, 0.00886357482522726, 0.021561408415436745, 0.029276935383677483, -0.0025476275477558374, 0.0015464718453586102, 0.013167406432330608, -0.03926830366253853, 0.0026445493567734957, -0.06852893531322479, 0.018447188660502434, 0.0588032603263855, -0.012373551726341248, 0.010315927676856518, -0.037785641849040985, -0.044282615184783936, 0.032812267541885376, -0.02772272564470768, -0.059318650513887405, -0.0038102595135569572, -0.024667497724294662, -0.02926037274301052, 0.017667638137936592, -0.04255742207169533, 0.025891385972499847, 0.005149750504642725, -0.03245680406689644, -0.0186244398355484, -0.02478102035820484, 0.05123442783951759, -0.010185116901993752, 0.008904390968382359, -0.023951536044478416, 0.008885235525667667, 0.02436770685017109, 0.03936539217829704, 0.013144654221832752, 0.027182159945368767, -0.0033659080509096384, 0.04688544571399689, 0.014777882024645805, -0.007316451985388994, 0.03128552809357643, 0.01936105079948902, -0.05868202820420265, -0.06699248403310776, 0.06259433180093765, 0.004981634672731161, -0.04869293048977852, -0.05301131308078766, 0.06973987072706223, 0.031701575964689255, -0.0218589399009943, -0.023786421865224838, 0.057012658566236496, -0.04849681630730629, 0.0013421536423265934, -0.014131083153188229, -0.005641433876007795, -0.0015576091827824712, 0.06989389657974243, 0.011325114406645298, 0.058410562574863434, 0.04244479164481163, 0.013829055242240429, -0.014596271328628063, -0.002094046212732792, 0.06403584778308868, 0.06229326128959656, 0.056355126202106476, -0.02272738516330719, 0.06122225895524025, -0.033323533833026886, -0.048132628202438354, 0.02704363316297531, 0.01049108523875475, -0.012719757854938507, -0.042590152472257614, 0.012577938847243786, 0.09256846457719803, -0.014772291295230389, 0.04455594718456268, -0.044026464223861694, -0.0073900967836380005, 0.03521044924855232, 0.002527689328417182, -0.016580285504460335, 0.018461799249053, 0.025436915457248688, -0.008142423816025257, -0.025861648842692375, -0.024202201515436172, 0.020112326368689537, -0.026619866490364075, 0.023651987314224243, 0.015324845910072327, -0.034070611000061035, -0.000715263478923589, -0.013893735595047474, 0.04310031607747078, 0.11814384907484055, -0.05055675655603409, -0.06328431516885757, 0.027048833668231964, 0.02490268275141716, 0.04605324938893318, 0.05003946274518967, -0.00798146054148674, -0.0025205009151250124, 0.018409907817840576, -0.04170435667037964, 0.026270970702171326, 0.020229725167155266, -0.03755408897995949, 0.03825679048895836, -0.029795872047543526, -0.03957217559218407, 0.021797263994812965, 0.01743994653224945, -0.025203527882695198, -0.038233134895563126, -0.04163862392306328, -0.07745208591222763, -0.043075621128082275, -0.05135677009820938, 0.010122506879270077, 0.03623000159859657, -0.05710725113749504, -0.02882755734026432, -0.02934453636407852, 0.024971455335617065, 0.06925708055496216, -0.07686278969049454, 0.028104716911911964, 0.01379275694489479, 0.029998471960425377, -0.009376403875648975, 0.04273555055260658, 0.017529206350445747, -0.03394824638962746, -0.027280587702989578, 0.04480870068073273, 0.02090742625296116, 0.00564097985625267, -0.03276382386684418, -0.007008243352174759, -0.11410779505968094, 0.0009659333736635745, 0.01715114898979664, -0.052372951060533524, -0.08007597178220749, 0.042107775807380676, -0.018463170155882835, 0.053514424711465836, 0.08473807573318481, 0.002113513881340623, 0.020331792533397675, -0.02739475481212139, -0.02553613670170307, 0.00553547590970993, -0.016669675707817078, 0.060617610812187195, -0.003710506483912468, 0.07599565386772156, 0.04071452468633652, -0.016297385096549988, -0.033952947705984116, -0.009077233262360096, -0.020725445821881294, 0.020316364243626595, -0.030789343640208244, -0.005704594776034355, -0.018869251012802124, -0.09146936982870102, 0.005872785113751888, 0.04694994166493416, -0.016018858179450035, -0.03696264699101448, -0.011705571785569191, -0.001736339763738215, -0.008043474517762661, -0.03733757138252258, -0.0015525667695328593, -0.0346914678812027, -0.005714878905564547, 0.00054333166917786, -0.0620492585003376, 0.03074638545513153, -0.019008910283446312, 0.01795494556427002, -0.0022694668732583523, -0.05889161303639412, -0.036154232919216156, 0.029522797092795372, 0.047616347670555115, 0.0076280925422906876, 0.006340949330478907, -0.02067551016807556 ]
331
Self-Supervised Diffusion MRI Denoising via Iterative and Stable Refinement
https://openreview.net/forum?id=wxPnuFp8fZ
[ "Chenxu Wu", "Qingpeng Kong", "Zihang Jiang", "S Kevin Zhou" ]
Poster
Magnetic Resonance Imaging (MRI), including diffusion MRI (dMRI), serves as a ``microscope'' for anatomical structures and routinely mitigates the influence of low signal-to-noise ratio scans by compromising temporal or spatial resolution. However, these compromises fail to meet clinical demands for both efficiency and precision. Consequently, denoising is a vital preprocessing step, particularly for dMRI, where clean data is unavailable. In this paper, we introduce Di-Fusion, a fully self-supervised denoising method that leverages the latter diffusion steps and an adaptive sampling process. Unlike previous approaches, our single-stage framework achieves efficient and stable training without extra noise model training and offers adaptive and controllable results in the sampling process. Our thorough experiments on real and simulated data demonstrate that Di-Fusion achieves state-of-the-art performance in microstructure modeling, tractography tracking, and other downstream tasks. Code is available at https://github.com/FouierL/Di-Fusion.
Diffusion based models, Self-supervised MRI denoising
null
13,426
2501.13514
[ -0.03973810747265816, -0.011157714761793613, -0.006429525092244148, 0.04214344546198845, 0.055511850863695145, 0.03702589496970177, 0.05320541188120842, -0.025179017335176468, -0.022077633067965508, -0.08935166150331497, 0.04549478739500046, -0.016731424257159233, -0.025485169142484665, 0.029456578195095062, 0.02728058397769928, 0.05967235937714577, 0.07450449466705322, -0.05728710815310478, -0.021123569458723068, 0.03758871927857399, -0.023470072075724602, -0.04137628152966499, 0.016910970211029053, 0.0451035350561142, 0.004140837583690882, -0.009883376769721508, 0.020497741177678108, 0.007982386276125908, -0.022974591702222824, -0.00919374730437994, 0.035202834755182266, 0.0035044436808675528, 0.006708028260618448, -0.012629047967493534, 0.032641734927892685, 0.023854974657297134, -0.02076018787920475, -0.020384427160024643, -0.003981991671025753, -0.010992343537509441, -0.08478183299303055, 0.010132476687431335, -0.014783136546611786, 0.024601437151432037, -0.06842625141143799, -0.011082036420702934, -0.10612809658050537, 0.00813258532434702, -0.006820378825068474, -0.008896091021597385, -0.07357693463563919, -0.00905329454690218, 0.03157183527946472, -0.0010654455982148647, -0.045817781239748, 0.033754777163267136, 0.03255413472652435, -0.0767238438129425, -0.015135947614908218, -0.05525868758559227, -0.0036476377863436937, 0.00868605263531208, -0.017607025802135468, -0.015834981575608253, -0.0037061888724565506, -0.07037750631570816, -0.0032814396545290947, 0.060027413070201874, -0.016206840053200722, -0.023032961413264275, -0.026002012193202972, 0.013349993154406548, -0.005542883183807135, 0.002121873199939728, 0.01938573084771633, -0.05424879118800163, 0.004081622697412968, 0.007318142801523209, 0.06575775891542435, 0.0028841719031333923, 0.04250187426805496, 0.005015317350625992, -0.008546791039407253, 0.02795197255909443, -0.006561279296875, -0.02322908118367195, -0.011679220013320446, -0.02431233413517475, -0.0668662041425705, 0.03191624581813812, -0.049135319888591766, -0.03668058291077614, 0.03501296043395996, 0.008569059893488884, 0.057167988270521164, -0.02308840863406658, 0.03437801077961922, -0.003496288787573576, 0.017430081963539124, 0.0033095641992986202, -0.008770542219281197, -0.029127387329936028, 0.009021811187267303, 0.040113430470228195, -0.06448191404342651, -0.010870148427784443, -0.02521120384335518, -0.010320491157472134, -0.03069128841161728, 0.009007473476231098, -0.015250150114297867, -0.010155631229281425, -0.015121100470423698, -0.014240853488445282, -0.1055026724934578, 0.03437360003590584, 0.029880164191126823, 0.01945565454661846, 0.0047433204017579556, -0.017651602625846863, 0.05013265833258629, 0.07108128815889359, 0.0048192404210567474, 0.05323205143213272, -0.029066838324069977, -0.01272618118673563, 0.03729698061943054, 0.031590335071086884, -0.04403077811002731, -0.019336463883519173, -0.004930732771754265, 0.03422718122601509, -0.01663052663207054, -0.009901691228151321, 0.002655684482306242, -0.014813384972512722, 0.014580193907022476, 0.018966807052493095, 0.037702400237321854, -0.021018333733081818, 0.005880195181816816, -0.03706039860844612, 0.009589176625013351, -0.028739718720316887, 0.04879985377192497, -0.060066454112529755, 0.013759580440819263, 0.009899504482746124, -0.043499283492565155, -0.004993707872927189, 0.0032664139289408922, 0.020123658701777458, 0.058260321617126465, -0.05133996531367302, -0.0029238173738121986, 0.04227030277252197, -0.009020011872053146, 0.009138844907283783, -0.0050602867268025875, -0.015956664457917213, 0.020939160138368607, -0.024349583312869072, -0.009083624929189682, -0.0021641734056174755, -0.03185965120792389, -0.043227143585681915, 0.047118719667196274, 0.0009578403551131487, -0.028827190399169922, -0.018734263256192207, 0.0010315211256965995, -0.038444843143224716, 0.023721445351839066, 0.01405955571681261, 0.012564966455101967, 0.0038478004280477762, 0.007941997610032558, 0.007011432200670242, 0.04273972287774086, 0.04368055239319801, -0.09034674614667892, 0.0020498030353337526, 0.010238109156489372, 0.0018645349191501737, 0.00962094496935606, -0.017586739733815193, 0.09209910035133362, -0.019793901592493057, -0.008992220275104046, 0.0387599840760231, -0.05925990268588066, -0.007504600565880537, 0.06579484045505524, -0.03078456036746502, 0.07529596239328384, 0.057751502841711044, -0.009611512534320354, 0.02834842912852764, 0.02875472791492939, 0.02238967828452587, 0.04918741062283516, -0.05376899614930153, 0.044487401843070984, 0.0004222769639454782, -0.03751486912369728, -0.022046750411391258, 0.04996943473815918, -0.04381132125854492, -0.0006196716567501426, -0.008515269495546818, -0.02968519553542137, -0.03527208790183067, -0.011028769426047802, 0.011451308615505695, 0.030168283730745316, 0.00803384929895401, -0.008107531815767288, 0.016685711219906807, -0.00444921525195241, -0.03832126781344414, 0.026588808745145798, 0.01200708094984293, -0.03176131099462509, 0.03474007546901703, -0.015156177803874016, 0.1318863034248352, 0.0686684101819992, -0.048803381621837616, -0.007641470525413752, 0.014000347815454006, -0.035494185984134674, -0.0031170675065368414, 0.030774567276239395, -0.017952000722289085, 0.0043857889249920845, 0.011888411827385426, 0.018697429448366165, -0.01644212193787098, 0.06653763353824615, -0.06133207306265831, -0.0177875068038702, 0.05869048833847046, 0.0009820322738960385, 0.05533518269658089, 0.019773442298173904, 0.00910246092826128, 0.04568402096629143, 0.01194347906857729, -0.04502088576555252, -0.015906518325209618, 0.015659205615520477, 0.01639312319457531, -0.026126891374588013, -0.03755232319235802, 0.03497662767767906, -0.08599620312452316, 0.0032348984386771917, 0.007277854718267918, 0.07618026435375214, 0.03949553146958351, 0.0006667127599939704, 0.01815229281783104, -0.0012416240060701966, -0.036956142634153366, -0.020341262221336365, -0.0942332074046135, -0.00394982798025012, 0.027270374819636345, 0.059049416333436966, -0.04654444009065628, 0.017526522278785706, -0.010230706073343754, -0.007495060097426176, 0.013706994242966175, -0.024350542575120926, 0.024163322523236275, 0.00012979314487893134, 0.01789993792772293, -0.04065466672182083, -0.021399542689323425, 0.028060397133231163, 0.06542830914258957, 0.019413916394114494, 0.0019655933137983084, -0.06306298822164536, -0.06197934225201607, -0.01581314578652382, 0.005385724827647209, -0.035281527787446976, -0.00909818522632122, 0.016390543431043625, 0.01140510756522417, -0.010347733274102211, 0.02919432520866394, 0.007301521021872759, 0.03155883029103279, 0.030221981927752495, 0.011476556770503521, -0.004781274124979973, -0.013250223360955715, -0.012358768843114376, 0.005652278661727905, 0.011459478177130222, 0.022420799359679222, -0.019553499296307564, -0.010313696227967739, 0.03464536741375923, -0.020943092182278633, -0.2589380741119385, 0.019645843654870987, 0.024294497445225716, -0.024406123906373978, 0.04733562842011452, -0.002843383699655533, 0.025578605011105537, -0.026873422786593437, -0.02204071916639805, 0.026536419987678528, -0.003362811403349042, 0.048334717750549316, 0.01959877274930477, 0.048278070986270905, 0.05696052312850952, 0.01019491907209158, 0.007802881766110659, -0.024696653708815575, 0.025512393563985825, 0.03362307697534561, 0.005914467852562666, -0.04144154116511345, -0.014506233856081963, 0.016259485855698586, -0.012368761003017426, 0.03790135681629181, -0.05640389025211334, 0.03986614570021629, -0.03875824436545372, -0.00599475484341383, -0.03464578464627266, -0.025633668527007103, -0.01741255819797516, 0.022496478632092476, -0.006507046986371279, 0.005895664915442467, 0.009640528820455074, 0.03981136158108711, 0.008263910189270973, -0.01058527547866106, 0.018382271751761436, 0.001693114172667265, 0.0018885659519582987, -0.02811194211244583, 0.05537491664290428, 0.010774277150630951, -0.04203413054347038, -0.006534893997013569, 0.010215812362730503, 0.03011004813015461, 0.007483683526515961, -0.01574944145977497, -0.021440260112285614, 0.003564628539606929, -0.030808227136731148, -0.037995852530002594, -0.007152286823838949, 0.04577576369047165, -0.023408519104123116, 0.0447758324444294, -0.01817227341234684, -0.04353689029812813, -0.047375962138175964, -0.03889046609401703, 0.0027862212155014277, -0.024465225636959076, -0.0697992593050003, -0.04042686149477959, 0.07116328179836273, 0.040499262511730194, -0.00829850509762764, -0.0056341360323131084, -0.0379088930785656, -0.09824299812316895, 0.03148818388581276, -0.007643299642950296, 0.002625714521855116, -0.031186401844024658, -0.03564399853348732, 0.04489561915397644, -0.0445387102663517, -0.04442114010453224, 0.0436556413769722, 0.007190680131316185, -0.019800206646323204, -0.003677866654470563, 0.010966581292450428, -0.03532904013991356, -0.02625947631895542, -0.05654565989971161, 0.04059676080942154, 0.012979801744222641, 0.03261367976665497, -0.018039966002106667, 0.02786869928240776, 0.06353436410427094, 0.03894403576850891, 0.04703235626220703, 0.03582870960235596, -0.03725823760032654, 0.07941509783267975, -0.05808602273464203, -0.009398049674928188, -0.04957118630409241, -0.020454810932278633, 0.020960580557584763, -0.0545903779566288, -0.029378529638051987, 0.045703496783971786, 0.0088949641212821, -0.018254879862070084, 0.035555996000766754, 0.02750508114695549, -0.007468077354133129, 0.009278489276766777, -0.04681381955742836, -0.010350176133215427, 0.03751728683710098, 0.023265291005373, -0.04616518318653107, -0.014961635693907738, -0.0019411678658798337, -0.033684298396110535, 0.011521504260599613, 0.024995723739266396, 0.051284559071063995, 0.0024579644668847322, 0.002619155216962099, 0.03094162419438362, 0.018350208178162575, 0.06565994024276733, 0.050193533301353455, 0.03265189751982689, 0.07001832127571106, 0.05561071261763573, 0.008956425823271275, -0.019382985308766365, 0.011126593686640263, 0.017658274620771408, -0.004124729428440332, 0.04997541755437851, -0.019904056563973427, 0.06687743961811066, 0.008960975334048271, 0.03422917053103447, 0.030297070741653442, -0.025989970192313194, 0.004079572390764952, -0.026077833026647568, -0.055124033242464066, 0.036630284041166306, -0.0544448047876358, -0.0773615688085556, -0.026301417499780655, 0.004072380717843771, -0.006257844157516956, 0.032779205590486526, -0.029453016817569733, 0.026864469051361084, -0.0765342265367508, -0.003953033126890659, 0.031215189024806023, -0.03754989802837372, -0.01692405343055725, 0.010400591418147087, 0.06085683032870293, -0.011996298097074032, -0.02597278170287609, 0.03507461026310921, -0.030725179240107536, 0.027508089318871498, -0.02274845354259014, -0.035192884504795074, -0.04204580560326576, 0.004892728291451931, 0.016672326251864433, 0.00629480741918087, -0.003954083658754826, -0.02858559787273407, 0.05647033825516701, 0.03126431629061699, -0.02826193906366825, -0.022553319111466408, 0.0029538124799728394, 0.06682122498750687, 0.0035570727195590734, 0.018264709040522575, -0.035011954605579376, -0.02545763924717903, 0.05476737394928932, -0.01436360739171505, -0.005049163941293955, -0.08174159377813339, 0.0018401455599814653, -0.016418782994151115, -0.03773634135723114, 0.00016066768148448318, 0.05593476817011833, -0.025173665955662727, -0.012047048658132553, -0.008003604598343372, 0.0078046442940831184, -0.001229400746524334, 0.019081557169556618, 0.0407928004860878, -0.07374202460050583, -0.0233223307877779, 0.006144306622445583, -0.025479981675744057, 0.05434979125857353, -0.03532010689377785, -0.0329228937625885, -0.04334251582622528, -0.013677234761416912, 0.009231293573975563, -0.01045183464884758, -0.02375744841992855, -0.04855654761195183, 0.010805862955749035, 0.011106877587735653, -0.0016041328199207783, 0.02693181112408638, -0.019291212782263756, 0.0070473323576152325, -0.011897517368197441, 0.011450633406639099, -0.04242177680134773, -0.022201839834451675, 0.005996586289256811, -0.04012218490242958, -0.010910030454397202, -0.02210349403321743, -0.03393234685063362, 0.03173251077532768, -0.014772573485970497, -0.005812522955238819, -0.029816247522830963, 0.040282752364873886, -0.020265599712729454, -0.007565066684037447, 0.014245358295738697, -0.0020499159581959248, -0.05546501278877258, 0.04008639603853226, 0.002603629371151328, 0.07327748835086823, -0.027417855337262154, 0.0038929092697799206, 0.010102883912622929, 0.058624930679798126, 0.014326347038149834, 0.027126897126436234, -0.06444606930017471, -0.012703772634267807, 0.0741778165102005, -0.015005567111074924, -0.014436119236052036, -0.1023368164896965, -0.03298857435584068, -0.001610897365026176, -0.01792040653526783, 0.041242681443691254, 0.010272592306137085, 0.020229019224643707, 0.012240398675203323, 0.0038534312043339014, -0.04267839342355728, -0.03217453509569168, 0.034025344997644424, -0.05057966336607933, -0.019267743453383446, -0.04274250194430351, -0.006441888399422169, 0.05113613232970238, -0.05473022162914276, 0.04946507140994072, 0.010987114161252975, 0.02878764644265175, 0.01887315884232521, -0.01886189728975296, -0.054937172681093216, -0.007235878147184849, 0.004726247396320105, -0.02629600279033184, -0.00994302798062563, -0.03248288109898567, -0.0027984785847365856, 0.00047081083175726235, -0.04384265094995499, -0.0030003839638084173, 0.017294226214289665, -0.007899329997599125, 0.0018798999954015017, -0.023646458983421326, -0.017471222206950188, -0.0005276140291243792, -0.001459315768443048, 0.08090833574533463, -0.007684680633246899, 0.008426829241216183, -0.04312342777848244, 0.07010313123464584, 0.02790328860282898, 0.028803173452615738, 0.03392497077584267, 0.01595638506114483, 0.025354117155075073, -0.02509896270930767, 0.023807382211089134, -0.020307864993810654, 0.004722177051007748, -0.06524109840393066, 0.04474496468901634, 0.06849601119756699, -0.05697176232933998, -0.04589275270700455, 0.03329605236649513, -0.01841074600815773, 0.013118269853293896, 0.01211179606616497, -0.0012141054030507803, 0.021869778633117676, 0.06461046636104584, -0.002897523110732436, -0.01157341431826353, 0.02318681590259075, -0.013342292048037052, -0.0010542760137468576, 0.011638554744422436, 0.0995878204703331, 0.06767579168081284, -0.008944851346313953, -0.017109133303165436, 0.09439525753259659, -0.0007683846051804721, -0.06064711883664131, 0.03458156809210777, 0.025057675316929817, -0.007379335816949606, -0.050230320543050766, 0.016726352274417877, 0.08522256463766098, -0.015835445374250412, 0.06500943005084991, -0.0452059842646122, -0.023748595267534256, 0.04321769252419472, 0.015499347820878029, 0.01700921356678009, -0.04574429616332054, 0.03182346001267433, -0.0005636313580907881, 0.0015042093582451344, 0.01575586386024952, -0.021838294342160225, -0.020553404465317726, 0.025680365040898323, -0.003108740085735917, -0.023760676383972168, 0.031523238867521286, 0.02350502274930477, 0.026795590296387672, 0.0745471939444542, -0.02027071826159954, -0.011545454151928425, -0.030523672699928284, 0.008624217472970486, 0.019121013581752777, 0.0015122086042538285, 0.02263803593814373, -0.03569930046796799, 0.025961581617593765, -0.036071449518203735, 0.00295527302660048, 0.02741413563489914, -0.03614623472094536, 0.01436111144721508, -0.0351829007267952, -0.006084774620831013, 0.02224445901811123, -0.007394746877253056, -0.055692631751298904, -0.04847630858421326, -0.052542440593242645, -0.022322988137602806, -0.0433039627969265, -0.023886360228061676, 0.025429939851164818, 0.015713367611169815, -0.02870091423392296, 0.013392528519034386, -0.037501003593206406, -0.023079240694642067, 0.01623818464577198, -0.05780685320496559, -0.061232779175043106, 0.04954366758465767, -0.04211948812007904, 0.00396385882049799, 0.0322004035115242, 0.022393669933080673, -0.012685666792094707, -0.008492188528180122, 0.06396911293268204, -0.022998036816716194, 0.05701969936490059, -0.018581068143248558, 0.021498965099453926, -0.08661095052957535, -0.004363916348665953, 0.042209479957818985, -0.02843150682747364, -0.08880278468132019, 0.05742475017905235, -0.015987109392881393, 0.002191065112128854, 0.02344338782131672, -0.0005807869601994753, -0.004943431355059147, -0.014111231081187725, -0.02892444096505642, -0.005318699404597282, 0.003905183169990778, 0.06785223633050919, -0.0067634591832757, 0.08801113069057465, 0.06859906017780304, -0.00032503079273737967, -0.031428396701812744, 0.015831358730793, -0.03773505985736847, -0.013095579110085964, -0.03565554320812225, -0.004462074488401413, -0.034980062395334244, -0.09474435448646545, -0.027117060497403145, -0.00841876957565546, -0.019100192934274673, -0.0030727041885256767, -0.007375513203442097, -0.000808226817753166, -0.0015699906507506967, -0.04218009486794472, 0.006014757789671421, -0.010231166146695614, -0.017670992761850357, -0.04568701237440109, -0.06098703294992447, -0.0014067215379327536, 0.023045936599373817, 0.043728768825531006, 0.018650665879249573, -0.023188989609479904, 0.016270069405436516, 0.015691738575696945, 0.010139953345060349, 0.01562394667416811, 0.01768888719379902, 0.0018127580406144261 ]
332
LongMamba: Enhancing Mamba's Long-Context Capabilities via Training-Free Receptive Field Enlargement
https://openreview.net/forum?id=fMbLszVO1H
[ "Zhifan Ye", "Kejing Xia", "Yonggan Fu", "Xin Dong", "Jihoon Hong", "Xiangchi Yuan", "Shizhe Diao", "Jan Kautz", "Pavlo Molchanov", "Yingyan Celine Lin" ]
Poster
State space models (SSMs) have emerged as an efficient alternative to Transformer models for language modeling, offering linear computational complexity and constant memory usage as context length increases. However, despite their efficiency in handling long contexts, recent studies have shown that SSMs, such as Mamba models, generally underperform compared to Transformers in long-context understanding tasks. To address this significant shortfall and achieve both efficient and accurate long-context understanding, we propose LongMamba, a training-free technique that significantly enhances the long-context capabilities of Mamba models. LongMamba builds on our discovery that the hidden channels in Mamba can be categorized into local and global channels based on their receptive field lengths, with global channels primarily responsible for long-context capability. These global channels can become the key bottleneck as the input context lengthens. Specifically, when input lengths largely exceed the training sequence length, global channels exhibit limitations in adaptively extend their receptive fields, leading to Mamba’s poor long-context performance. The key idea of LongMamba is to mitigate the hidden state memory decay in these global channels by preventing the accumulation of unimportant tokens in their memory. This is achieved by first identifying critical tokens in the global channels and then applying token filtering to accumulate only those critical tokens. Through extensive benchmarking across synthetic and real-world long-context scenarios, LongMamba sets a new standard for Mamba’s long-context performance, significantly extending its operational range without requiring additional training. Our code is available at https://github.com/GATECH-EIC/LongMamba.
Large Language Models, State Space Models, Long Context Understanding
null
13,423
null
[ -0.027158353477716446, -0.03347493335604668, -0.03860808536410332, 0.012235010042786598, 0.037877969443798065, 0.03897000476717949, 0.025380078703165054, 0.007913395762443542, -0.03800816833972931, -0.02549051120877266, -0.02583281323313713, 0.022514918819069862, -0.07326861470937729, -0.007143550552427769, 0.0039543756283819675, 0.05780275538563728, 0.05099228397011757, -0.020690402016043663, 0.026765944436192513, 0.025157935917377472, 0.005229025147855282, 0.011198070831596851, 0.05403628572821617, 0.03353668376803398, 0.014170595444738865, 0.024790186434984207, 0.023524312302470207, -0.010587950237095356, -0.035938575863838196, -0.018754279240965843, 0.02892906591296196, -0.019767338410019875, 0.006785239093005657, 0.008189933374524117, 0.02276872843503952, -0.015809355303645134, -0.047320812940597534, 0.019636061042547226, 0.01985284872353077, 0.0001438419712940231, -0.049952149391174316, 0.00627910066395998, 0.0024021717254072428, -0.0013771702069789171, -0.04409843683242798, 0.015508297830820084, -0.10386502742767334, 0.040154073387384415, -0.0074187652207911015, -0.05672350898385048, -0.11029034107923508, 0.04040097817778587, 0.011638607829809189, -0.0029922479297965765, 0.02470904216170311, 0.02509447932243347, 0.029298048466444016, -0.08392837643623352, 0.014512266963720322, -0.04324118047952652, -0.03497784584760666, -0.009075906127691269, 0.015811147168278694, 0.01779191754758358, -0.013119815848767757, -0.0007698836852796376, 0.004445706494152546, 0.03819402679800987, -0.04513987526297569, -0.02350340411067009, -0.007973870262503624, -0.003406379371881485, -0.03470062091946602, 0.020132405683398247, 0.0037048724479973316, -0.056403208523988724, 0.011508493684232235, 0.023440800607204437, 0.07791198045015335, -0.019664786756038666, -0.0028661831747740507, -0.0063735307194292545, 0.023713700473308563, 0.04791802167892456, 0.0007097929483279586, 0.012426893226802349, -0.01834224723279476, -0.037416815757751465, -0.09945356100797653, 0.013308568857610226, -0.03386537358164787, -0.05640838295221329, 0.0073243784718215466, 0.033092062920331955, 0.0006230089347809553, 0.004428642801940441, 0.016236085444688797, -0.0120623130351305, 0.006819522008299828, 0.019183939322829247, -0.03037768229842186, -0.03018529713153839, 0.017569618299603462, 0.018225951120257378, -0.12711262702941895, -0.04299177601933479, -0.015415952540934086, -0.003290649503469467, 0.006315948907285929, 0.017026502639055252, -0.03879765793681145, -0.008710741065442562, 0.040453363209962845, -0.032747022807598114, -0.06704533100128174, 0.021710317581892014, 0.005554415285587311, 0.029848145321011543, -0.01148166973143816, 0.013282760046422482, 0.055652372539043427, 0.04798043891787529, 0.005722988862544298, 0.05668780952692032, -0.01671244390308857, -0.01732478477060795, 0.003835574258118868, 0.026103850454092026, -0.031931329518556595, -0.03194165229797363, 0.006447406951338053, 0.007131973281502724, 0.006608320400118828, 0.003426127601414919, 0.004365747794508934, 0.01523582637310028, 0.02935849130153656, 0.021206526085734367, 0.07093750685453415, -0.023424983024597168, 0.03919387608766556, 0.002355515956878662, 0.03623614087700844, -0.007180207874625921, 0.1070314273238182, 0.008628400042653084, -0.03135261312127113, -0.002696466166526079, -0.035030968487262726, -0.006953689735382795, 0.007412964478135109, -0.019524116069078445, -0.0036317140329629183, -0.034655191004276276, 0.025113364681601524, 0.04241600260138512, -0.023243671283125877, -0.014752695336937904, 0.024261323735117912, 0.01613641157746315, 0.012898694723844528, -0.003925679251551628, -0.08239580690860748, 0.03711123764514923, -0.0009818901307880878, -0.052071113139390945, 0.02954285591840744, 0.017575863748788834, -0.056574270129203796, 0.014983370900154114, -0.04033220186829567, -0.04771234467625618, 0.0650799497961998, -0.028318744152784348, -0.06023544818162918, -0.012280298396945, 0.053541336208581924, -0.006608016788959503, 0.02296925149857998, 0.028950266540050507, -0.07908844947814941, 0.032172027975320816, -0.015455447137355804, -0.014033157378435135, 0.04399117827415466, -0.025999674573540688, 0.07265464216470718, -0.027510283514857292, -0.023792114108800888, -0.0036650458350777626, -0.033566802740097046, -0.01387553196400404, -0.005045301280915737, 0.00607699528336525, 0.07047147303819656, -0.0012184091610834002, -0.00795526709407568, 0.04107024520635605, 0.06495209783315659, 0.03662476688623428, 0.05403071641921997, 0.00045705900993198156, 0.03868838772177696, 0.01272814441472292, -0.012005863711237907, -0.0170271098613739, 0.01837736740708351, -0.06554973125457764, -0.026235103607177734, 0.013799351640045643, -0.011595488525927067, -0.019955478608608246, 0.017426559701561928, -0.0036342726089060307, -0.00007037056639092043, 0.03830334171652794, 0.020713884383440018, 0.002312840661033988, -0.009010877460241318, -0.05239007622003555, 0.032993920147418976, 0.021141832694411278, -0.04282347112894058, 0.0007554832845926285, -0.02658926509320736, 0.1001000627875328, 0.0619475394487381, -0.026435459032654762, -0.03279482573270798, 0.01172533631324768, 0.023023393005132675, -0.024823255836963654, 0.005115243140608072, -0.033294688910245895, 0.028062375262379646, -0.04614170640707016, 0.0006502378382720053, -0.04684680327773094, 0.044538773596286774, -0.02874312363564968, 0.001041559618897736, 0.07174335420131683, -0.024575671181082726, 0.03780369833111763, -0.020138230174779892, -0.01238551177084446, 0.044437337666749954, 0.019201746210455894, -0.026908613741397858, -0.024876629933714867, -0.019736554473638535, 0.0012371239718049765, 0.02572767436504364, -0.03594525158405304, 0.0266721174120903, -0.055281851440668106, -0.06494741886854172, -0.027290992438793182, 0.056346967816352844, 0.05820978432893753, 0.02890901453793049, 0.05341831222176552, 0.0066660745069384575, -0.04100454971194267, -0.03402095288038254, -0.10334447026252747, -0.0010532779851928353, -0.03198138624429703, 0.029878493398427963, -0.012806335464119911, 0.03544290363788605, -0.0030097973067313433, 0.025332318618893623, -0.035545215010643005, 0.004531518090516329, 0.007787368260324001, 0.03381657227873802, -0.008147291839122772, -0.03782794252038002, -0.019103510305285454, -0.007335369475185871, 0.04630676284432411, -0.000007968076715769712, -0.046513330191373825, -0.01291233766824007, -0.03174840658903122, -0.013081233017146587, -0.010301950387656689, 0.0012867418117821217, 0.046703584492206573, 0.03279184177517891, 0.011693034321069717, -0.0031983410008251667, 0.021801209077239037, 0.031161190941929817, 0.062394265085458755, 0.045115262269973755, 0.020292965695261955, -0.030507629737257957, 0.03853123262524605, -0.013835027813911438, 0.010300430469214916, 0.006953354924917221, 0.011094304732978344, -0.003004021244123578, -0.026478983461856842, 0.0035977421794086695, -0.014549900777637959, -0.26235976815223694, -0.014024983160197735, -0.022860929369926453, -0.037511881440877914, 0.03809880465269089, -0.028902148827910423, 0.07091110199689865, -0.04215268790721893, -0.01681675761938095, -0.002046955283731222, 0.01766098104417324, 0.029027093201875687, -0.013546546921133995, 0.028802353888750076, 0.034891266375780106, 0.02781881019473076, -0.031237488612532616, -0.008432203903794289, 0.015101169236004353, 0.054764751344919205, 0.004641224164515734, -0.06110851839184761, -0.03251544013619423, 0.07672843337059021, -0.022626051679253578, 0.05097079277038574, -0.0877433717250824, -0.013563545420765877, -0.011091814376413822, -0.0017206532647833228, -0.014183284714818, -0.02218172885477543, 0.0012188463006168604, 0.03991876542568207, -0.005775921978056431, 0.03652191907167435, 0.01920437254011631, 0.013037909753620625, 0.01863887533545494, -0.0317772775888443, 0.02767726220190525, -0.018759170547127724, -0.01290749292820692, 0.03082163818180561, 0.049527108669281006, -0.002976762829348445, -0.061137855052948, -0.015592928044497967, -0.016003530472517014, 0.048205770552158356, -0.006164866499602795, -0.03447811305522919, -0.003559740260243416, 0.025839563459157944, 0.026056937873363495, -0.035584598779678345, -0.0051622348837554455, 0.00009426616452401504, 0.01116962917149067, -0.03673739358782768, 0.01447776798158884, -0.03045830689370632, -0.026541870087385178, -0.00952681340277195, -0.01856766641139984, -0.04075664281845093, -0.05732251703739166, -0.044560715556144714, 0.02972136065363884, 0.04102633520960808, -0.033276256173849106, 0.007853003218770027, -0.001748955575749278, -0.09653513133525848, -0.005837847478687763, -0.026256117969751358, -0.03546031191945076, -0.028745684772729874, -0.00018876614922191948, 0.06136750429868698, -0.04896872490644455, -0.04611437767744064, 0.006207957863807678, 0.03211800381541252, 0.02092360518872738, -0.043759118765592575, 0.004737046547234058, -0.026487495750188828, -0.017847200855612755, -0.02621166594326496, 0.0563654750585556, -0.0180938933044672, 0.0010316823609173298, 0.006969373673200607, 0.04080958291888237, 0.0086815869435668, 0.03168737515807152, 0.06867752969264984, 0.010467550717294216, -0.017257247120141983, 0.02123979479074478, -0.05674375221133232, -0.03060559742152691, -0.04461890459060669, -0.008346046321094036, 0.03764021769165993, -0.05585095286369324, -0.034363407641649246, 0.04300067573785782, 0.006950992625206709, -0.03340591490268707, -0.028263432905077934, 0.0038351344410330057, -0.019725488498806953, -0.02358296327292919, 0.021044259890913963, 0.0069277030415833, 0.018727991729974747, 0.02890905924141407, -0.02285693772137165, -0.02046958915889263, 0.021157577633857727, -0.00519808242097497, 0.036910008639097214, 0.03496023267507553, -0.024548038840293884, -0.025038056075572968, -0.014104618690907955, -0.01524145808070898, -0.019469324499368668, 0.03075975552201271, 0.02593010850250721, 0.007827422581613064, 0.02244582213461399, 0.06893424689769745, -0.009269333444535732, -0.0020274000708013773, 0.00042531578219495714, 0.04032869264483452, -0.033197399228811264, 0.001498983707278967, -0.02011636085808277, 0.013977940194308758, 0.04426038637757301, -0.005527674686163664, 0.012544267810881138, 0.01811755821108818, -0.004451724234968424, 0.00852665863931179, 0.013570334762334824, 0.04716036841273308, -0.06714887917041779, -0.05461326986551285, -0.03733775392174721, 0.018399210646748543, -0.02561715431511402, 0.014497860334813595, -0.015106867998838425, 0.01931019499897957, -0.08793015033006668, 0.04881487414240837, 0.009419875219464302, -0.022683147341012955, 0.001136574661359191, 0.021565107628703117, 0.03317109867930412, -0.00923662818968296, 0.009384159930050373, 0.0641188845038414, 0.029101699590682983, 0.01012501586228609, -0.031824350357055664, -0.03078131563961506, 0.017104482278227806, -0.017031624913215637, 0.028752099722623825, -0.0036979743745177984, 0.0057399943470954895, -0.03387846052646637, 0.06099843606352806, 0.020785903558135033, -0.018351785838603973, 0.012274287641048431, 0.016158796846866608, 0.08980930596590042, 0.025789130479097366, -0.013156459666788578, -0.009477449581027031, -0.036476925015449524, 0.013222639448940754, -0.008244181051850319, 0.027913296595215797, -0.01811189576983452, -0.061223696917295456, -0.023504728451371193, -0.05264706537127495, -0.012528843246400356, 0.00904777366667986, -0.021694006398320198, -0.0013814455596730113, 0.015472066588699818, 0.004195733927190304, -0.022074729204177856, 0.009315391071140766, 0.03547364100813866, -0.06335889548063278, 0.01953265257179737, 0.0184019822627306, -0.027570871636271477, 0.01917240396142006, -0.03858669102191925, -0.007318335585296154, -0.04696785286068916, -0.01872210018336773, 0.015125211328268051, 0.017998112365603447, -0.012369993142783642, -0.02751617133617401, 0.01206179615110159, -0.00660784961655736, 0.005982550792396069, 0.007369066588580608, 0.00012341012188699096, -0.03561118617653847, 0.0022390587255358696, 0.03754422068595886, -0.008665832690894604, 0.048126354813575745, 0.012941326014697552, -0.029000280424952507, 0.004683075472712517, -0.03709159418940544, 0.04663613811135292, 0.06481985002756119, -0.02089395746588707, -0.005962311755865812, -0.043797679245471954, 0.04709336906671524, 0.026711178943514824, 0.01045710314065218, 0.023676427081227303, -0.014158020727336407, -0.03943786770105362, 0.04519079253077507, 0.008327077142894268, 0.06527740508317947, 0.03273897245526314, 0.04084932431578636, -0.014313530176877975, 0.004462439101189375, 0.013648916967213154, 0.011418353766202927, -0.03838213160634041, -0.011253462173044682, 0.05559254437685013, -0.00811754446476698, -0.05439639464020729, -0.06699072569608688, -0.04898647591471672, 0.01603173092007637, 0.012060929089784622, 0.022456472739577293, -0.04178457707166672, 0.040219586342573166, 0.0214008167386055, 0.025959739461541176, 0.010273363441228867, -0.02245779149234295, 0.05779948830604553, -0.02532019466161728, 0.0003773825301323086, -0.06813861429691315, -0.05375067517161369, 0.053167782723903656, -0.021617664024233818, -0.009224604815244675, -0.022519076243042946, -0.06350895762443542, 0.038386546075344086, -0.007866772823035717, -0.03928811848163605, 0.04725993424654007, -0.02285580337047577, 0.0074989404529333115, 0.04685363546013832, -0.03359342738986015, 0.005589765962213278, -0.0434916615486145, -0.03239583224058151, -0.032687656581401825, -0.007323296274989843, 0.056015122681856155, -0.03185443952679634, 0.04736284166574478, -0.023467721417546272, 0.004045751877129078, 0.013973216526210308, 0.06314833462238312, 0.027079788967967033, 0.01901973970234394, -0.00819921214133501, 0.0720457136631012, 0.01782841421663761, 0.010347181931138039, -0.008343575522303581, -0.00906065758317709, -0.0220275167375803, -0.059011060744524, 0.04137450084090233, 0.029779769480228424, 0.009002757258713245, -0.0814850777387619, 0.07131745666265488, 0.019997488707304, -0.03549924120306969, -0.006074226461350918, 0.01879427582025528, -0.0571674108505249, -0.013935507275164127, -0.0019819026347249746, -0.00473014498129487, -0.02826770953834057, 0.06022705137729645, 0.042577024549245834, 0.060833558440208435, 0.09859203547239304, -0.0346914567053318, -0.007953980937600136, 0.013615988194942474, 0.061377085745334625, 0.04918097332119942, 0.05462544038891792, 0.01299904566258192, 0.07505807280540466, -0.03042282909154892, -0.03718225285410881, 0.06263818591833115, 0.04839581251144409, -0.016601955518126488, -0.06019534170627594, 0.013063762336969376, 0.0740293636918068, -0.0010942565277218819, 0.06756990402936935, -0.06211039423942566, -0.008228190243244171, 0.0473368763923645, 0.03489736467599869, 0.012448973953723907, 0.024853695183992386, 0.02768985740840435, 0.004191994667053223, -0.033350247889757156, -0.020849790424108505, -0.0050202105194330215, -0.018291162326931953, 0.00006385362212313339, 0.019177397713065147, -0.023652030155062675, 0.017173366621136665, 0.00937283132225275, 0.08536706119775772, 0.09302543848752975, -0.004754295572638512, -0.016681721433997154, -0.003416710766032338, -0.0037621089722961187, 0.011917456053197384, 0.05753757059574127, -0.022487200796604156, -0.004417146556079388, 0.004166221246123314, -0.02664434351027012, -0.0017128544859588146, 0.026925479993224144, -0.010015473701059818, -0.000974121387116611, -0.01631784252822399, -0.035289451479911804, 0.002346401335671544, 0.026402799412608147, -0.049127835780382156, -0.04276116192340851, -0.03759549558162689, -0.037782859057188034, -0.05635962635278702, -0.04568934813141823, 0.030949410051107407, -0.011811605654656887, -0.02080700732767582, -0.005154475104063749, -0.05044408142566681, -0.007617735769599676, -0.016164440661668777, -0.028877519071102142, 0.013276277109980583, 0.020322412252426147, -0.018021458759903908, -0.012086769565939903, 0.04685447737574577, 0.0298747681081295, -0.02630537375807762, -0.0028286075685173273, 0.06022881716489792, 0.0234895758330822, 0.021651174873113632, -0.017134113237261772, -0.01797005906701088, -0.09653881937265396, 0.009325052611529827, 0.027979936450719833, -0.017510036006569862, -0.0659928247332573, 0.017835814505815506, -0.02060697227716446, 0.06829497963190079, 0.04998447373509407, -0.026952266693115234, 0.014439092949032784, -0.021449370309710503, -0.027739178389310837, -0.0093461312353611, 0.002674415474757552, 0.042599812150001526, -0.005948056932538748, 0.05872819945216179, 0.06513279676437378, -0.0009324811398983002, -0.02806279808282852, 0.02602924220263958, -0.005222586914896965, 0.0023869017604738474, -0.029103051871061325, -0.012682119384407997, -0.038544319570064545, -0.10436421632766724, -0.03305351361632347, 0.04758857935667038, -0.016616251319646835, -0.040106918662786484, 0.0015528668882325292, -0.030435223132371902, -0.02277718298137188, -0.02905981056392193, -0.038077645003795624, -0.010348793119192123, -0.022527478635311127, -0.04912922903895378, -0.0869840756058693, -0.0033027934841811657, -0.04163380712270737, -0.008993384428322315, -0.04754034802317619, -0.040372006595134735, 0.03285444527864456, 0.019467340782284737, 0.03236888721585274, -0.008635999634861946, 0.00624356372281909, -0.023289425298571587 ]
333
Robust Weight Initialization for Tanh Neural Networks with Fixed Point Analysis
https://openreview.net/forum?id=Es4RPNDtmq
[ "Hyun woo Lee", "Hayoung Choi", "Hyunju Kim" ]
Poster
As a neural network's depth increases, it can improve generalization performance. However, training deep networks is challenging due to gradient and signal propagation issues. To address these challenges, extensive theoretical research and various methods have been introduced. Despite these advances, effective weight initialization methods for tanh neural networks remain insufficiently investigated. This paper presents a novel weight initialization method for neural networks with tanh activation function. Based on an analysis of the fixed points of the function $\tanh(ax)$, the proposed method aims to determine values of $a$ that mitigate activation saturation. A series of experiments on various classification datasets and physics-informed neural networks demonstrates that the proposed method outperforms Xavier initialization methods (with or without normalization) in terms of robustness across different network sizes, data efficiency, and convergence speed. Code is available at https://github.com/1HyunwooLee/Tanh-Init.
Weight initialization, Signal propagation, Physics informed neural networks
null
13,420
2410.02242
[ -0.02729954570531845, 0.005407868418842554, -0.02280447818338871, 0.013757373206317425, 0.01591157168149948, 0.05312285199761391, 0.006602342706173658, -0.016781995072960854, -0.02659447304904461, -0.03835340589284897, -0.0007287350599654019, -0.00884739775210619, -0.04528888314962387, 0.0008854038314893842, 0.007704953197389841, 0.04206295311450958, 0.1013057753443718, -0.018229080364108086, -0.02645222470164299, 0.01561206765472889, -0.025879697874188423, -0.045489490032196045, 0.03644576296210289, 0.01641439087688923, 0.02585170790553093, -0.036824773997068405, 0.004308636300265789, 0.0032701457384973764, -0.01789185032248497, 0.018945563584566116, 0.018897872418165207, 0.0005334181478247046, 0.006706573534756899, -0.039048388600349426, 0.019103001803159714, 0.044601213186979294, -0.008906085044145584, 0.005736976396292448, 0.007030501961708069, -0.0016083680093288422, -0.03625406697392464, -0.011282090097665787, -0.0352831594645977, 0.027369145303964615, -0.04008852690458298, 0.03592132404446602, -0.09714028239250183, -0.007848123088479042, -0.018211787566542625, -0.010548745281994343, -0.10987354069948196, 0.054154932498931885, 0.0023748527746647596, -0.047957614064216614, -0.0025224376004189253, 0.02422192692756653, 0.008141146041452885, -0.06128908693790436, -0.010091045871376991, -0.05977679044008255, 0.033758677542209625, 0.028057590126991272, 0.022520730271935463, 0.017632002010941505, 0.014060826040804386, -0.006248542573302984, 0.014277408830821514, 0.030344108119606972, -0.056548528373241425, -0.01603059098124504, -0.016580767929553986, -0.01072890404611826, -0.018389258533716202, 0.0019486189121380448, -0.03314290940761566, -0.062344204634428024, 0.0026727095246315002, 0.01592303067445755, 0.06301622092723846, 0.01608072966337204, 0.02443499118089676, 0.0079874312505126, 0.008684267289936543, 0.014115890488028526, 0.017076104879379272, 0.005502989515662193, -0.014236688613891602, -0.05355517193675041, -0.0679311454296112, 0.05601820722222328, -0.033540479838848114, -0.00641773222014308, 0.01003189291805029, 0.03464829921722412, 0.019563738256692886, -0.03430118411779404, 0.030476927757263184, -0.0008060622494667768, 0.042278073728084564, 0.012455414980649948, 0.01871637813746929, -0.03851574659347534, 0.009438810870051384, 0.011592026799917221, -0.08993909507989883, -0.029208939522504807, -0.015201167203485966, -0.0010641455883160233, 0.0011397828347980976, 0.0017691595712676644, -0.05830281972885132, 0.020749228075146675, 0.025288207456469536, -0.02948232740163803, -0.12302479892969131, -0.0018365838332101703, -0.033376894891262054, 0.013953300192952156, -0.015536215156316757, -0.004060804843902588, 0.03818576782941818, 0.04845790937542915, 0.0007988009019754827, 0.051995232701301575, -0.004777444526553154, 0.021224725991487503, 0.013393530622124672, 0.06681247800588608, -0.029387854039669037, -0.018641646951436996, -0.000015585172150167637, 0.023358892649412155, 0.02986358106136322, 0.02161438763141632, 0.008908011019229889, -0.02577962912619114, -0.01926673948764801, 0.023883787915110588, 0.02695046178996563, -0.002912855241447687, -0.01178678311407566, -0.05594814196228981, 0.07680217176675797, -0.025616606697440147, 0.0280520748347044, 0.013486701063811779, 0.03433079645037651, -0.024742888286709785, -0.020151283591985703, 0.0011691945837810636, -0.030597828328609467, -0.0162504892796278, -0.006122983992099762, -0.05713764950633049, -0.004246729891747236, 0.033461518585681915, -0.0055105434730648994, 0.03075343184173107, -0.013215207494795322, 0.020811788737773895, 0.00777542544528842, -0.048845406621694565, -0.014519136399030685, 0.00978115014731884, 0.01776915043592453, -0.028382208198308945, 0.06400340795516968, 0.026650043204426765, -0.005880272015929222, -0.015272463671863079, -0.01883656159043312, -0.03863853961229324, 0.038682423532009125, 0.022191397845745087, -0.0002911049814429134, -0.009028550237417221, 0.04447086900472641, -0.029261596500873566, 0.016254426911473274, 0.034122902899980545, -0.07896620780229568, 0.07468647509813309, 0.0363055020570755, 0.03231848031282425, 0.016632817685604095, -0.045752111822366714, 0.0688566118478775, -0.06675241142511368, 0.03591075912117958, 0.006886435206979513, -0.058593932539224625, 0.000998605159111321, 0.009434061124920845, -0.025308769196271896, 0.05505019798874855, 0.010607757605612278, 0.005045953206717968, 0.01756278984248638, -0.01690073125064373, 0.04230661317706108, 0.05968962982296944, -0.03349369019269943, 0.05920189246535301, 0.007315033581107855, -0.040183864533901215, 0.0037575112655758858, 0.020107153803110123, -0.052239105105400085, -0.0037676519714295864, 0.009860445745289326, -0.01694190688431263, -0.015897832810878754, -0.007400908507406712, 0.026224836707115173, 0.005549383349716663, -0.019663318991661072, -0.030226856470108032, 0.020653197541832924, 0.004305973183363676, -0.02694176882505417, 0.047908589243888855, 0.0009060211014002562, -0.007556799799203873, 0.0027263194788247347, -0.029030725359916687, 0.0967937558889389, 0.07302366942167282, -0.03643029183149338, -0.010314368642866611, 0.028866883367300034, 0.030571358278393745, -0.009370805695652962, 0.033679887652397156, 0.0005172915989533067, -0.011109794490039349, -0.003672435414046049, -0.002267922507598996, -0.038714710623025894, 0.06341579556465149, -0.056302182376384735, 0.020194871351122856, 0.08201158791780472, -0.036193959414958954, 0.06546386331319809, -0.012280142866075039, -0.00015023570449557155, 0.017466912046074867, -0.01822393201291561, -0.024090783670544624, -0.047105733305215836, -0.04184653237462044, 0.005356008652597666, 0.01302547287195921, -0.0039019694086164236, -0.010326653718948364, -0.04722484201192856, -0.05627903714776039, -0.010803550481796265, 0.07043306529521942, 0.06003338843584061, 0.0024945782497525215, 0.028676357120275497, -0.0163615383207798, -0.035846106708049774, -0.04731195047497749, -0.1322287768125534, -0.018322577700018883, 0.016488581895828247, 0.033484574407339096, 0.02255409210920334, 0.0619833879172802, -0.002511560684069991, 0.0006019743741489947, -0.026630254462361336, -0.04153063893318176, -0.004756201058626175, 0.030187256634235382, 0.019893627613782883, -0.0652967020869255, -0.023424990475177765, 0.0016599925002083182, 0.07476332783699036, -0.01822255179286003, -0.038753535598516464, -0.006752972025424242, -0.027150046080350876, -0.014122298918664455, -0.015744876116514206, -0.011947068385779858, 0.013750224374234676, 0.009625621140003204, 0.02842569909989834, -0.038434948772192, 0.03045153245329857, 0.034877143800258636, 0.06423675268888474, 0.04664326831698418, 0.05465971305966377, -0.02746153622865677, 0.025594094768166542, -0.022872691974043846, 0.024362752214074135, -0.014174232259392738, 0.05248740687966347, -0.03668156638741493, -0.0042172884568572044, -0.010245522484183311, 0.0009103150223381817, -0.2878262400627136, -0.006158668547868729, -0.01807377301156521, -0.017398115247488022, 0.011843523941934109, 0.0011444042902439833, 0.023938409984111786, -0.010227140039205551, -0.05514564365148544, 0.012337855063378811, -0.004968891851603985, 0.019253214821219444, -0.0009329210733994842, 0.038334719836711884, 0.036745183169841766, 0.010271862149238586, 0.01943192631006241, -0.01750243455171585, 0.005593681242316961, 0.0469500757753849, -0.05181524157524109, -0.07782869786024094, 0.001049446640536189, 0.030304236337542534, -0.03664940968155861, 0.044145770370960236, -0.08503828197717667, 0.013428210280835629, -0.03901970013976097, -0.013378893956542015, -0.057791806757450104, -0.04036730155348778, -0.014151854440569878, 0.020247438922524452, 0.036512989550828934, -0.033254679292440414, 0.009029759094119072, -0.023353639990091324, 0.04580939561128616, 0.020061267539858818, 0.0019671046175062656, -0.0011586406035348773, 0.005511441268026829, 0.03251976519823074, 0.08295153826475143, 0.0031751918140798807, -0.013338708318769932, 0.006439846940338612, -0.02008514292538166, 0.0176767036318779, -0.01438263151794672, -0.023348368704319, -0.034548237919807434, -0.013932637870311737, -0.027625447139143944, -0.026415128260850906, -0.04060973599553108, 0.007944447919726372, 0.006392298731952906, 0.041968852281570435, -0.026976453140378, -0.03730810433626175, -0.030707471072673798, -0.02063557133078575, -0.024933084845542908, -0.032534655183553696, -0.04535577818751335, -0.08247185498476028, 0.041188936680555344, 0.016543930396437645, 0.00886838510632515, 0.0167985949665308, -0.022748172283172607, -0.08833970874547958, 0.012481681071221828, -0.033651553094387054, 0.0042569818906486034, -0.01590118184685707, -0.043226804584264755, 0.04800144210457802, -0.02871767245233059, -0.07193171232938766, 0.033597566187381744, 0.014081699773669243, -0.03062455728650093, -0.019427143037319183, 0.013911478221416473, -0.015917059034109116, 0.004645649343729019, -0.036864638328552246, 0.04993598535656929, 0.0025931706186383963, 0.06261929124593735, -0.009348702616989613, 0.05510420352220535, 0.02852051705121994, 0.017031794413924217, 0.02393507771193981, 0.055416032671928406, -0.009428792633116245, 0.007315332535654306, -0.05651690438389778, 0.010828070342540741, -0.043466877192258835, -0.02542361244559288, 0.03333180397748947, -0.014398517087101936, 0.011678768321871758, 0.06449484080076218, 0.011445739306509495, -0.029156984761357307, -0.059293609112501144, -0.04200047254562378, -0.02019355446100235, -0.022141242399811745, -0.029765941202640533, -0.009018303826451302, 0.012463606894016266, 0.01087062805891037, -0.0011026773136109114, -0.03405768796801567, 0.05037970095872879, -0.03323609009385109, -0.010562855750322342, 0.009929507039487362, -0.007982502691447735, -0.02752317115664482, -0.026819774881005287, 0.011596067808568478, -0.024377938359975815, 0.02981923148036003, 0.043230343610048294, 0.02732371911406517, 0.022281384095549583, 0.029823357239365578, 0.005164881236851215, -0.03237343207001686, -0.028274236246943474, 0.01639440469443798, -0.03925953805446625, 0.016815947368741035, 0.03925246745347977, 0.0400770902633667, 0.00711088627576828, 0.032251711934804916, 0.03484802320599556, 0.014474732801318169, -0.014345576986670494, 0.011256780475378036, -0.026886507868766785, 0.021640002727508545, -0.07270635664463043, -0.0000993418725556694, -0.019886188209056854, -0.02964954823255539, 0.0024455685634166002, 0.0580788291990757, -0.011126202531158924, -0.033619411289691925, -0.03839773312211037, 0.058392446488142014, 0.020670050755143166, -0.051896028220653534, -0.011277806013822556, 0.015156413428485394, 0.06559409201145172, -0.01651332527399063, -0.008443116210401058, 0.0007095719920471311, 0.01216934435069561, 0.015573778189718723, -0.01731717400252819, -0.053267549723386765, -0.030001111328601837, -0.009635083377361298, 0.003056285437196493, 0.0041289497166872025, 0.016123758628964424, -0.026590686291456223, 0.013277350924909115, 0.0009827741887420416, 0.0009107000078074634, -0.011344099417328835, 0.038074687123298645, 0.05421930178999901, -0.0029437136836349964, -0.028717543929815292, -0.0051543922163546085, -0.03657931089401245, 0.04923731088638306, -0.0024614399299025536, -0.007139682304114103, 0.010506446473300457, -0.006229528225958347, -0.021800680086016655, -0.04045094922184944, -0.015945158898830414, 0.017255308106541634, 0.021913761273026466, -0.0029609419871121645, -0.016498127952218056, 0.006395657081156969, -0.03799644857645035, 0.022089045494794846, 0.03277469053864479, -0.07415081560611725, 0.018048737198114395, 0.017542697489261627, 0.0049158623442053795, 0.026226114481687546, 0.00984986126422882, -0.0511755496263504, -0.030804146081209183, -0.030722180381417274, 0.0021637852769345045, 0.016095658764243126, -0.01947687938809395, 0.0008461234392598271, 0.016676057130098343, -0.022457173094153404, 0.03208212926983833, 0.01138760894536972, -0.004585521295666695, -0.014517908915877342, 0.01268553826957941, 0.05203719437122345, 0.024417513981461525, 0.00299108331091702, 0.0029942640103399754, -0.02468876540660858, 0.008928113617002964, -0.020771516487002373, 0.043614618480205536, 0.02642025798559189, -0.008391011506319046, 0.016034679487347603, -0.05292839556932449, 0.010049006901681423, -0.011012452654540539, -0.0034395994152873755, -0.015674684196710587, 0.024393118917942047, 0.007527852430939674, 0.018343277275562286, -0.019594324752688408, 0.01093093678355217, 0.019695010036230087, -0.004161169286817312, 0.007062977645546198, 0.01388695277273655, 0.03913009166717529, 0.026161542162299156, -0.07665395736694336, -0.03537049517035484, 0.03620193898677826, -0.0173636507242918, -0.0025532508734613657, -0.0886329710483551, -0.018579989671707153, -0.003583692479878664, -0.02532348223030567, 0.03691021725535393, -0.03223487362265587, 0.049133118242025375, 0.015538383275270462, 0.0674150139093399, -0.008573751896619797, -0.046653036028146744, 0.02903584949672222, -0.07351133972406387, -0.039180148392915726, -0.057551413774490356, -0.0010598336812108755, 0.047988589853048325, -0.009524602442979813, 0.021617747843265533, 0.002934705466032028, 0.009744544513523579, 0.02619098499417305, -0.030755717307329178, -0.03173474967479706, 0.017533505335450172, -0.03679893910884857, -0.0049203867092728615, 0.022965293377637863, -0.0422544926404953, -0.024515362456440926, -0.008801248855888844, -0.06774307787418365, 0.02117673121392727, 0.04265407845377922, 0.05750807374715805, -0.003037553047761321, 0.009278696030378342, -0.04793321341276169, 0.012052696198225021, 0.04529992863535881, 0.07972003519535065, 0.04019792750477791, 0.03702111914753914, -0.06693395972251892, 0.10442889481782913, 0.06109141185879707, 0.01325796078890562, -0.011836182326078415, 0.010589751414954662, -0.004712269641458988, -0.0732668861746788, 0.03942786529660225, 0.02030443213880062, -0.026286939159035683, -0.035063404589891434, 0.03994373232126236, 0.026696719229221344, -0.018453022465109825, -0.022983595728874207, 0.07574459165334702, -0.03549569472670555, 0.020528176799416542, 0.010245442390441895, -0.014451863244175911, -0.0035724102053791285, 0.0750102773308754, 0.016099754720926285, 0.03518977761268616, 0.03920470178127289, -0.010053972713649273, -0.010085943154990673, -0.018691536039114, 0.09656728804111481, 0.08478644490242004, 0.026830922812223434, -0.011917282827198505, 0.026991674676537514, -0.03406836465001106, -0.05937047302722931, -0.0058739567175507545, -0.0024795369245111942, -0.015646854415535927, -0.009113563224673271, -0.006010862533003092, 0.064753957092762, -0.011506255716085434, 0.07357621937990189, -0.030766358599066734, 0.032713718712329865, 0.013780415989458561, 0.05541003495454788, 0.002531492616981268, 0.02835116535425186, 0.0006114828865975142, 0.013392341323196888, -0.0015578995225951076, -0.05184868723154068, -0.0178451556712389, 0.014320329762995243, 0.011316543444991112, 0.026114540174603462, -0.03041612170636654, 0.02505815215408802, 0.016817664727568626, 0.0607520267367363, 0.09043870866298676, -0.04491278529167175, -0.037015266716480255, 0.0017445540288463235, 0.042790286242961884, -0.000773058389313519, 0.0164939071983099, 0.025391438975930214, -0.0014914068160578609, 0.031258199363946915, -0.028031617403030396, 0.043851807713508606, 0.03402290865778923, -0.00902585405856371, 0.022744791582226753, -0.012847989797592163, -0.05084999278187752, 0.010880127549171448, 0.011472595855593681, -0.020132001489400864, -0.04249749332666397, -0.030073722824454308, -0.06675469130277634, -0.062281299382448196, -0.04661727324128151, 0.0015413884539157152, -0.020130770280957222, -0.004105895757675171, -0.019029973074793816, -0.02231602370738983, 0.023771580308675766, 0.02935938537120819, -0.053721942007541656, 0.02343663200736046, 0.03445552662014961, 0.037491004914045334, 0.002575572580099106, 0.0543520413339138, 0.02249915525317192, 0.013845304027199745, -0.005983571521937847, 0.06936272978782654, 0.022051310166716576, 0.039628881961107254, -0.015929127112030983, 0.004289612639695406, -0.0924462154507637, -0.0071128541603684425, -0.0001000095289782621, -0.022123834118247032, -0.07491333782672882, 0.05062833055853844, -0.023559406399726868, -0.013268211856484413, 0.04753270372748375, -0.00001631592749617994, 0.003611615626141429, -0.04536539688706398, -0.029391584917902946, -0.004779108799993992, -0.023332655429840088, 0.0823979452252388, -0.009745421819388866, 0.058459289371967316, 0.047231074422597885, -0.028817256912589073, -0.01852351613342762, 0.02500957064330578, -0.038716819137334824, 0.015909960493445396, -0.023859169334173203, -0.03537977486848831, -0.02851959876716137, -0.06936316937208176, 0.038087960332632065, 0.00597167806699872, 0.008410227485001087, -0.015193549916148186, 0.00526727270334959, 0.01374912541359663, 0.016903670504689217, -0.007794771809130907, 0.013204220682382584, -0.025311846286058426, -0.04179231449961662, -0.052651625126600266, -0.08569679409265518, 0.02454197034239769, 0.0058343918062746525, -0.001224897219799459, -0.03152352198958397, -0.06227283552289009, -0.01692938804626465, -0.028109462931752205, 0.03895720839500427, 0.013316011987626553, 0.0032204033341258764, -0.002444175537675619 ]
334
Stiefel Flow Matching for Moment-Constrained Structure Elucidation
https://openreview.net/forum?id=84WmbzikPP
[ "Austin Henry Cheng", "Alston Lo", "Kin Long Kelvin Lee", "Santiago Miret", "Alan Aspuru-Guzik" ]
Poster
Molecular structure elucidation is a fundamental step in understanding chemical phenomena, with applications in identifying molecules in natural products, lab syntheses, forensic samples, and the interstellar medium. We consider the task of predicting a molecule's all-atom 3D structure given only its molecular formula and moments of inertia, motivated by the ability of rotational spectroscopy to measure these moments. While existing generative models can conditionally sample 3D structures with approximately correct moments, this soft conditioning fails to leverage the many digits of precision afforded by experimental rotational spectroscopy. To address this, we first show that the space of $n$-atom point clouds with a fixed set of moments of inertia is embedded in the Stiefel manifold $\mathrm{St}(n, 4)$. We then propose Stiefel Flow Matching as a generative model for elucidating 3D structure under exact moment constraints. Additionally, we learn simpler and shorter flows by finding approximate solutions for equivariant optimal transport on the Stiefel manifold. Empirically, enforcing exact moment constraints allows Stiefel Flow Matching to achieve higher success rates and faster sampling than Euclidean diffusion models, even on high-dimensional manifolds corresponding to large molecules in the GEOM dataset.
3D molecular generative models, flow matching, Stiefel manifold, structure elucidation
We propose Stiefel flow matching as a generative model on the Stiefel manifold and apply it for molecular structure elucidation by rotational spectroscopy.
13,419
2412.12540
[ -0.011332761496305466, 0.02743075042963028, 0.017476346343755722, 0.03741414472460747, 0.013177817687392235, -0.012238109484314919, 0.019891008734703064, -0.008431428112089634, 0.015019632875919342, -0.03941009193658829, -0.008745646104216576, -0.02194867841899395, -0.04508661851286888, 0.015286185778677464, 0.017901841551065445, 0.06619065254926682, 0.025376975536346436, 0.0004966746782884002, 0.0211696345359087, 0.021332863718271255, -0.02348838374018669, -0.0070588006637990475, 0.026265796273946762, -0.002973470836877823, 0.07040168344974518, 0.005744409281760454, -0.0007241858984343708, -0.00037897087167948484, -0.0317339189350605, 0.021156350150704384, 0.034519731998443604, -0.007110625971108675, -0.014909874647855759, -0.08311140537261963, -0.001735758502036333, -0.030600398778915405, -0.02909751795232296, -0.009391067549586296, -0.0028745955787599087, 0.011079050600528717, -0.0581173300743103, -0.014833551831543446, 0.0032739408779889345, 0.010868710465729237, -0.04863104596734047, 0.01950063370168209, -0.08529483526945114, 0.06288240849971771, -0.019303271546959877, -0.0613100603222847, -0.06200164183974266, 0.04327675327658653, 0.00839861948043108, 0.005943762604147196, -0.008511153981089592, 0.014305545017123222, -0.0018960853340104222, -0.03842359408736229, -0.011525629088282585, -0.06593341380357742, -0.00814100168645382, 0.016255320981144905, 0.007849827408790588, 0.003268797881901264, 0.018366364762187004, -0.030693521723151207, 0.01685870625078678, 0.04120831936597824, -0.05761604383587837, -0.012124337255954742, 0.0037833377718925476, 0.010379023849964142, 0.00546205835416913, 0.009776890277862549, 0.021855220198631287, -0.017614761367440224, 0.01605718582868576, 0.02183431386947632, 0.03210005164146423, 0.016591493040323257, 0.026949970051646233, 0.025767002254724503, -0.006789787206798792, 0.022702625021338463, -0.006122255232185125, 0.001076294924132526, -0.09198364615440369, -0.004844373092055321, -0.05086110904812813, 0.04559900984168053, -0.0319182388484478, -0.046270012855529785, 0.0029294693376868963, 0.04973718896508217, 0.050073444843292236, -0.03914583846926689, 0.054646991193294525, 0.009369650855660439, 0.006138055119663477, 0.008715708740055561, -0.0190581101924181, -0.03882662579417229, -0.002751169493421912, 0.0017850813455879688, -0.08295431733131409, -0.02150350622832775, -0.020830607041716576, -0.026764951646327972, 0.007175426930189133, 0.0025436384603381157, -0.01442936435341835, 0.005623254459351301, -0.0140535281971097, 0.020448049530386925, -0.08558649569749832, 0.050104714930057526, 0.035288095474243164, 0.022960983216762543, 0.020520145073533058, -0.01410005521029234, 0.05396478995680809, 0.07754763960838318, 0.003995412494987249, 0.06727324426174164, 0.0007231415365822613, 0.040876321494579315, 0.00710579939186573, 0.03460142761468887, -0.03953086584806442, -0.04084164649248123, 0.036506738513708115, 0.060482192784547806, 0.005667929537594318, -0.027200426906347275, 0.00020648645295295864, -0.05554831027984619, 0.0048556700348854065, -0.00008728303509997204, 0.03989284485578537, 0.002173962537199259, -0.004949554335325956, -0.03064805455505848, 0.014670527540147305, -0.006053078453987837, 0.06427695602178574, 0.008493974804878235, -0.01538244541734457, -0.03840824216604233, -0.021405508741736412, 0.017190221697092056, 0.012893649749457836, -0.006268535740673542, 0.0071658361703157425, -0.03864600509405136, 0.0016047663521021605, 0.06566251814365387, 0.009977499954402447, 0.040940213948488235, 0.009107383899390697, -0.028786838054656982, 0.015656311064958572, -0.0004857399908360094, -0.0000771210907259956, 0.0008329072734341025, 0.01504781935364008, -0.03509986400604248, 0.028024423867464066, 0.07915402948856354, -0.05870654433965683, -0.01255929283797741, -0.035277221351861954, -0.045380912721157074, 0.06013210862874985, -0.019994305446743965, 0.005087817087769508, -0.008685147389769554, 0.03322961926460266, -0.013796298764646053, 0.03808034583926201, -0.004916580859571695, -0.08205339312553406, 0.011546610854566097, -0.008219783194363117, -0.0025598853826522827, 0.00860284361988306, 0.010397937148809433, 0.10051943361759186, 0.010197483003139496, -0.017613785341382027, 0.011731274425983429, -0.06622929126024246, -0.04222484678030014, 0.025125475600361824, -0.021784570068120956, 0.04391370713710785, -0.004679971840232611, 0.0028921253979206085, 0.05063788592815399, 0.0028352648951113224, 0.024226635694503784, 0.007965079508721828, -0.0002684936916921288, 0.05206120386719704, -0.04570135474205017, -0.04673287644982338, -0.04741884768009186, 0.055400241166353226, -0.07433498650789261, -0.011309376917779446, -0.000052057923312531784, 0.0006830205675214529, -0.0024139725137501955, -0.004037697333842516, -0.02825218066573143, 0.0053466008976101875, -0.006602616515010595, -0.004543537739664316, 0.0147201307117939, -0.01389383990317583, 0.0033528006169945, 0.02169686183333397, 0.026690693572163582, -0.04246009141206741, 0.020279549062252045, -0.04773881658911705, 0.10508622229099274, 0.08858703076839447, -0.02333354391157627, -0.006307366769760847, 0.046088531613349915, 0.028178958222270012, -0.029941823333501816, 0.028392480686306953, -0.05067991092801094, -0.021999206393957138, -0.012470796704292297, 0.027184734120965004, 0.012248615734279156, 0.06055615097284317, -0.06562848389148712, 0.007311308290809393, 0.03358093649148941, 0.0033560057636350393, 0.059607673436403275, 0.014193235896527767, 0.015139725990593433, 0.05266362056136131, -0.01858191192150116, -0.04764601215720177, -0.03055797889828682, -0.05544012784957886, 0.01298346184194088, -0.033568497747182846, -0.028041213750839233, 0.00021662330254912376, -0.05962371826171875, -0.033312082290649414, 0.023027831688523293, 0.09247168898582458, 0.057899367064237595, 0.008332587778568268, -0.02042529173195362, 0.030458005145192146, -0.009908710606396198, -0.038540903478860855, -0.09415018558502197, -0.0592016763985157, -0.028897225856781006, 0.039891935884952545, 0.009083576500415802, 0.050919629633426666, 0.02283487282693386, -0.01143550407141447, -0.04644852131605148, -0.036278873682022095, 0.02063310518860817, -0.0005903617711737752, 0.010092257522046566, -0.026544496417045593, 0.0007033506990410388, 0.017506299540400505, 0.0823318138718605, 0.006086824461817741, -0.025318367406725883, -0.05709591880440712, -0.02092701382935047, -0.012464801780879498, -0.005458415020257235, 0.0021831272169947624, 0.005715746898204088, 0.0009477656567469239, -0.009380364790558815, -0.04450533539056778, 0.010434470139443874, 0.030804907903075218, 0.06884326785802841, 0.042991362512111664, 0.017067531123757362, -0.028276817873120308, 0.0013228077441453934, 0.009911480359733105, 0.0255806352943182, -0.04333757981657982, -0.004447305109351873, -0.0009685218683443964, 0.01724640093743801, 0.016718387603759766, 0.007957515306770802, -0.29244375228881836, -0.028804173693060875, 0.007968735881149769, -0.008986865170300007, 0.02536148950457573, 0.03911170735955238, 0.053109582513570786, -0.05883967503905296, -0.029481666162610054, -0.0028946022503077984, 0.0003185700043104589, 0.029292050749063492, -0.004638866521418095, 0.06969176977872849, 0.07176335901021957, 0.028600074350833893, 0.009465193375945091, -0.03439180180430412, 0.019578518345952034, 0.02529195137321949, -0.022504637017846107, -0.03722439333796501, -0.03192369267344475, 0.0019195752684026957, 0.004990313667804003, 0.00261709070764482, -0.08943155407905579, -0.016017328947782516, -0.029633617028594017, -0.009789390489459038, -0.042313117533922195, -0.0202229842543602, -0.014513379894196987, 0.017840689048171043, 0.03401787951588631, 0.0025203695986419916, 0.028817903250455856, -0.02895933762192726, 0.02261677011847496, -0.01332557201385498, -0.030682118609547615, 0.01646481640636921, -0.022481825202703476, 0.0192367285490036, 0.054550670087337494, -0.011896089650690556, -0.0013993143802508712, -0.02211972139775753, -0.015956806018948555, 0.01570937968790531, -0.028410371392965317, -0.04312022030353546, -0.012578131631016731, -0.048953745514154434, -0.006546898745000362, -0.027887606993317604, -0.00975871179252863, 0.0023364766966551542, -0.021403830498456955, 0.022052176296710968, 0.010435297153890133, -0.04873977228999138, -0.0005783459055237472, -0.02810872532427311, -0.03617039695382118, -0.03555971384048462, -0.04636092856526375, -0.029553774744272232, 0.03989911824464798, 0.015261593274772167, 0.00170483801048249, 0.034828267991542816, -0.03476382791996002, -0.07692091912031174, 0.060639262199401855, -0.004819846712052822, 0.016174441203475, -0.050151124596595764, 0.010957444086670876, 0.013890432193875313, -0.03100001811981201, -0.025128953158855438, -0.00234218779951334, 0.055909112095832825, 0.01982569508254528, -0.03023291751742363, -0.003432633588090539, -0.038411322981119156, -0.040779948234558105, -0.015322945080697536, 0.038989171385765076, -0.0035647968761622906, 0.056730717420578, -0.008312617428600788, 0.03589078038930893, 0.03385531157255173, 0.016965921968221664, 0.035391665995121, 0.03213902562856674, 0.009255114011466503, 0.0452241376042366, -0.055693868547677994, 0.0060331313870847225, -0.033066276460886, -0.027926670387387276, 0.009476345032453537, -0.04860524460673332, 0.010833979584276676, 0.041754644364118576, 0.006710072048008442, -0.047147855162620544, 0.009287195280194283, -0.002849660813808441, -0.012227275408804417, 0.010258086025714874, -0.019926665350794792, 0.03846989944577217, 0.04446934908628464, 0.033293358981609344, -0.009151856414973736, -0.019566591829061508, 0.034610815346241, -0.02145257778465748, -0.016854800283908844, -0.020823711529374123, -0.021639497950673103, -0.01450187899172306, 0.016341688111424446, 0.012715455144643784, 0.03936474397778511, 0.015978200361132622, 0.055710569024086, 0.014803050085902214, 0.012052994221448898, 0.04475053772330284, 0.018495891243219376, -0.03673580661416054, -0.03541992977261543, 0.02501092106103897, -0.033176764845848083, 0.030982309952378273, -0.004368493799120188, 0.030482223257422447, 0.02946566417813301, 0.08122546225786209, 0.021659811958670616, 0.03956222906708717, 0.03826257213950157, -0.00572512112557888, -0.011796637438237667, 0.0018640614580363035, -0.021601207554340363, -0.003402748377993703, -0.019953537732362747, -0.0037251014728099108, -0.03351011872291565, 0.01683362014591694, 0.01178573165088892, 0.0300239659845829, -0.06398731470108032, 0.05856682360172272, 0.0010489010019227862, -0.03356408327817917, 0.0044086226262152195, 0.00038770135142840445, 0.061331264674663544, -0.010994929820299149, 0.05109206959605217, -0.006711331196129322, -0.004224192816764116, 0.0027414467185735703, -0.02359817922115326, -0.03917059302330017, -0.01812250167131424, -0.03570571914315224, 0.03436189517378807, -0.00963408313691616, 0.014759795740246773, -0.031266238540410995, -0.01874707080423832, 0.01365702971816063, -0.01853967271745205, -0.027136119082570076, -0.01155897881835699, 0.058600783348083496, -0.011557107791304588, -0.0018636531895026565, -0.009000473655760288, -0.008469893597066402, 0.0711858943104744, 0.015129221603274345, 0.008553830906748772, -0.05202370509505272, -0.020636431872844696, -0.010152295231819153, -0.0749153271317482, 0.015563204884529114, 0.022120188921689987, -0.013260172680020332, 0.024386195465922356, 0.025392528623342514, 0.010152571834623814, -0.05606206879019737, 0.009564222767949104, 0.03143134340643883, -0.06387027353048325, -0.006815975997596979, 0.060442421585321426, 0.0072661940939724445, 0.005478517152369022, -0.03887029364705086, -0.05608149990439415, -0.05960293486714363, 0.011060133576393127, 0.0055993120186030865, 0.021906238049268723, 0.020230920985341072, -0.00569892255589366, 0.010382224805653095, -0.002475123153999448, 0.02521439827978611, 0.029462167993187904, 0.02939656935632229, -0.009928232058882713, 0.03576049953699112, 0.02922051027417183, -0.0303150936961174, -0.002442769007757306, -0.003969456069171429, -0.004534726496785879, 0.015457083471119404, -0.030869891867041588, 0.003002776764333248, 0.02075306884944439, -0.02690311148762703, 0.012775633484125137, -0.059906989336013794, 0.037519194185733795, 0.010468900203704834, 0.004408363718539476, 0.019995644688606262, -0.01547967828810215, 0.0033827610313892365, -0.001133123878389597, -0.008048824965953827, 0.013833867385983467, 0.039672888815402985, 0.000016276339010801166, -0.01881706342101097, 0.03611508384346962, 0.011105741374194622, 0.011283681727945805, -0.03379247337579727, -0.0502067469060421, 0.04369840770959854, -0.014603217132389545, -0.044849835336208344, -0.06634815037250519, -0.007338274735957384, -0.004645918495953083, -0.015846777707338333, 0.035661131143569946, -0.06037943437695503, 0.010241558775305748, -0.008016823790967464, 0.021983759477734566, -0.0027492730878293514, -0.07305214554071426, 0.05641067028045654, -0.05033449828624725, -0.008699002675712109, -0.035445597022771835, 0.005195813253521919, 0.061512649059295654, -0.025169719010591507, 0.01266193576157093, 0.006929982919245958, -0.014440768398344517, 0.04300057888031006, -0.04144109785556793, -0.0813969299197197, 0.02562592923641205, -0.01695319265127182, 0.020304009318351746, 0.04449557512998581, -0.015550770796835423, -0.07232189923524857, -0.015105176717042923, -0.04680168256163597, 0.009973613545298576, 0.03475198522210121, 0.03097829595208168, -0.07765106111764908, 0.0037289627362042665, -0.025913193821907043, 0.011531446129083633, 0.024762731045484543, 0.06612337380647659, 0.003079882822930813, 0.01438000425696373, -0.029144663363695145, 0.065444216132164, 0.0900908038020134, -0.015304171480238438, 0.020798318088054657, 0.002235840540379286, 0.02342834882438183, -0.020140618085861206, 0.040726438164711, -0.011962652206420898, -0.0011989522026851773, -0.0797538086771965, 0.05126069113612175, 0.02631465159356594, -0.09088809788227081, -0.022442780435085297, 0.07772988080978394, -0.021225545555353165, 0.0004358413571026176, 0.021091163158416748, 0.001830254914239049, -0.01258887443691492, 0.06208966299891472, 0.0059575969353318214, 0.03214119374752045, 0.04794764518737793, 0.02894986793398857, -0.008693687617778778, -0.03437229245901108, 0.08551979064941406, 0.05747633054852486, 0.037188973277807236, -0.015990056097507477, 0.05194106698036194, -0.03633194789290428, -0.029072633013129234, 0.00047874546726234257, 0.010132109746336937, -0.017904600128531456, -0.012948594056069851, 0.02941971831023693, 0.08495090901851654, -0.007819294929504395, 0.07390270382165909, -0.019149838015437126, 0.003849911270663142, 0.007838393561542034, 0.015651414170861244, 0.010341784916818142, 0.03280775621533394, -0.0037953422870486975, 0.030618401244282722, -0.05590271204710007, -0.01885477639734745, -0.020460134372115135, -0.04248393326997757, 0.03846089914441109, 0.0008849388104863465, -0.027648283168673515, 0.021340645849704742, -0.03896297141909599, 0.012945221737027168, 0.0961419939994812, -0.02436484396457672, -0.03517748415470123, -0.0039006704464554787, 0.013716715388000011, 0.005743677727878094, 0.03443235903978348, -0.006288775242865086, -0.004965629894286394, 0.003886343678459525, -0.08911555260419846, 0.00761683564633131, 0.035809703171253204, -0.015521313063800335, -0.009037944488227367, -0.04454909265041351, 0.023908013477921486, -0.025053799152374268, 0.026110853999853134, -0.04078759625554085, -0.08327672630548477, -0.011819496750831604, -0.057061437517404556, -0.040074318647384644, -0.04228519648313522, 0.004083042033016682, -0.0030686345417052507, -0.040201444178819656, 0.011603866703808308, -0.02960801310837269, 0.03053019754588604, 0.02422282099723816, -0.08087202161550522, -0.04698117449879646, 0.09343885630369186, 0.013975818641483784, -0.006840900518000126, -0.002411206951364875, 0.047808706760406494, -0.006158262491226196, -0.00887291319668293, 0.0036251975689083338, -0.014892805367708206, 0.05838499963283539, -0.013858504593372345, 0.007816925644874573, -0.09977686405181885, 0.016074901446700096, 0.019967596977949142, -0.0398578867316246, -0.08934099972248077, -0.005611771252006292, -0.02279410883784294, -0.002488881116732955, 0.030005553737282753, 0.01947472244501114, -0.006844107992947102, -0.05972488597035408, -0.012966208159923553, 0.03294721245765686, 0.006818332243710756, 0.072283536195755, -0.045735958963632584, 0.061030980199575424, 0.013069897890090942, -0.021344829350709915, -0.03677252680063248, 0.019235040992498398, 0.03189742937684059, 0.00711320573464036, -0.04360303655266762, -0.006230123341083527, -0.036930181086063385, -0.093358114361763, -0.00752928014844656, 0.03283197805285454, 0.0037800960708409548, -0.01880425587296486, 0.009116516448557377, 0.02233901061117649, -0.00235926266759634, -0.008667982183396816, 0.008011181838810444, 0.005434928461909294, -0.02050068974494934, -0.026824483647942543, -0.042071714997291565, -0.012462208978831768, 0.01899103820323944, -0.006432178895920515, -0.039467550814151764, -0.031675226986408234, -0.007943764328956604, -0.06383976340293884, 0.0038904743269085884, 0.036147769540548325, 0.03854800760746002, 0.02330053597688675 ]
335
Lawma: The Power of Specialization for Legal Annotation
https://openreview.net/forum?id=7El7K1DoyX
[ "Ricardo Dominguez-Olmedo", "Vedant Nanda", "Rediet Abebe", "Stefan Bechtold", "Christoph Engel", "Jens Frankenreiter", "Krishna P. Gummadi", "Moritz Hardt", "Michael Livermore" ]
Poster
Annotation and classification of legal text are central components of empirical legal research. Traditionally, these tasks are often delegated to trained research assistants. Motivated by the advances in language modeling, empirical legal scholars are increasingly turning to commercial models, hoping that it will alleviate the significant cost of human annotation. In this work, we present a comprehensive analysis of large language models' current abilities to perform legal annotation tasks. To do so, we construct CaselawQA, a benchmark comprising 260 legal text classification tasks, nearly all new to the machine learning community. Starting from GPT-4 as a baseline, we show that it has non-trivial but highly varied accuracy, often exhibiting performance that may be insufficient for legal work. We then demonstrate that a lightly fine-tuned Llama 3 8B model vastly outperforms GPT-4 on almost all tasks, typically by double-digit percentage points. A few tens to hundreds of examples suffice to achieve high classification accuracy. Our work points to a viable alternative to the predominant practice of prompting commercial models. For concrete legal tasks with some available labeled data, researchers are better off using a specialized open-source model.
large language models, legal classification tasks, benchmarks
A lightly finetuned Llama-3 model outperforms GPT-4 on 260 new legal classification tasks
13,416
null
[ -0.0016242037527263165, -0.06651726365089417, -0.025116387754678726, 0.013327637687325478, 0.0391966849565506, -0.011547732166945934, 0.031395044177770615, -0.0067147146910429, -0.013498829677700996, 0.021365579217672348, -0.005008022766560316, 0.05553282052278519, -0.06946439296007156, -0.006196486763656139, -0.02490031160414219, 0.05454857647418976, 0.02114555425941944, 0.006002108566462994, 0.032267775386571884, -0.03323933854699135, 0.023402035236358643, -0.007852346636354923, 0.043106429278850555, 0.038785118609666824, 0.02965916506946087, 0.013267656788229942, 0.024704713374376297, 0.03900337964296341, -0.06729896366596222, 0.030789323151111603, 0.05841078236699104, 0.012641995213925838, 0.01084491703659296, 0.023610802367329597, 0.0171443372964859, 0.015226367861032486, -0.03397609665989876, 0.022935986518859863, 0.034874189645051956, 0.016807474195957184, -0.013573531992733479, 0.01518684346228838, -0.038520392030477524, 0.01282948162406683, -0.05792764201760292, 0.003499565878883004, -0.09244029968976974, 0.0378548689186573, -0.00012039594002999365, -0.03403499722480774, -0.08351163566112518, 0.013856287114322186, -0.0592956505715847, -0.015658225864171982, 0.009543434716761112, 0.03503924608230591, 0.021027779206633568, -0.10177159309387207, 0.0007186342845670879, -0.0282055102288723, -0.014894681051373482, -0.002659181598573923, 0.021248023957014084, -0.0008518157992511988, 0.0014758012257516384, -0.01240452378988266, -0.03315811604261398, 0.013356387615203857, -0.055420778691768646, -0.036743175238370895, -0.024221381172537804, -0.0035407845862209797, -0.028893442824482918, 0.003942461684346199, 0.012759179808199406, -0.04141068831086159, -0.005411590915173292, 0.04061507806181908, 0.03934399411082268, 0.010886363685131073, 0.017251795157790184, 0.00565181951969862, 0.029573356732726097, 0.043450333178043365, 0.02574153244495392, -0.006924684625118971, -0.047823622822761536, -0.03466659039258957, -0.08114004880189896, 0.04199063405394554, 0.010309452190995216, -0.03579871356487274, 0.009715208783745766, 0.04117463901638985, -0.0010747738415375352, 0.032859835773706436, 0.05044927820563316, 0.008404543623328209, -0.010555963031947613, 0.013452866114675999, -0.027981337159872055, -0.01978905312716961, 0.04505020007491112, 0.04238181561231613, -0.09761741012334824, -0.02143789827823639, 0.011742713861167431, -0.007814337499439716, -0.02146858721971512, -0.003527572611346841, 0.003041070420295, -0.03400673717260361, -0.019223304465413094, 0.01474476233124733, -0.05259575694799423, 0.05008389800786972, 0.0018070907099172473, -0.011082708835601807, -0.016502995043992996, -0.0006747011211700737, 0.03793444111943245, 0.007140988949686289, 0.01207037828862667, 0.07737696170806885, 0.026069507002830505, -0.011582291685044765, 0.029745761305093765, -0.0017046334687620401, -0.021641841158270836, -0.05078260228037834, 0.01211452018469572, 0.03874897584319115, 0.0023337556049227715, 0.006041687447577715, 0.0166060458868742, 0.003756739431992173, 0.010126976296305656, 0.007830265909433365, 0.07998789846897125, -0.01939311996102333, 0.012984415516257286, -0.01999404840171337, 0.025643233209848404, -0.04868296533823013, 0.0880984216928482, -0.021542992442846298, -0.017484024167060852, -0.016911501064896584, -0.04584372788667679, -0.010118797421455383, 0.02459736168384552, 0.024261143058538437, -0.000694339454639703, -0.007044197525829077, 0.05743775889277458, 0.046273328363895416, 0.029053380712866783, -0.015081030316650867, 0.0063032303005456924, 0.00840809941291809, -0.002783037256449461, 0.005493801087141037, -0.02269887737929821, 0.033328693360090256, 0.00302786473184824, -0.04331275820732117, 0.05451743304729462, -0.005744653288275003, -0.05982338637113571, 0.03367363288998604, -0.056242670863866806, -0.0328427329659462, 0.0696297213435173, -0.018713360652327538, -0.03204831853508949, -0.00403232267126441, 0.05593673884868622, 0.013500269502401352, 0.04939112812280655, 0.04247873276472092, -0.057780489325523376, 0.039373718202114105, 0.05146155506372452, -0.03917444869875908, 0.008064832538366318, 0.012491585686802864, 0.09388871490955353, -0.06483907252550125, -0.0016168644651770592, 0.001294918591156602, -0.06895963102579117, -0.02684311755001545, 0.041482049971818924, -0.0025887733791023493, 0.035717107355594635, 0.040724605321884155, 0.00807881634682417, 0.10508701950311661, -0.006845937110483646, 0.0476185604929924, 0.026653330773115158, 0.029538117349147797, 0.06899067014455795, -0.017124414443969727, -0.04084723815321922, 0.005753364879637957, 0.03143393248319626, -0.0363941416144371, -0.06250306963920593, 0.017180031165480614, -0.043877676129341125, 0.019223950803279877, 0.022503860294818878, -0.022460972890257835, -0.0049792705103755, 0.027176495641469955, 0.046641334891319275, -0.0019429128151386976, 0.020279476419091225, -0.04194061458110809, 0.04259924963116646, -0.01850486733019352, -0.02238020859658718, 0.0060382867231965065, -0.03549070656299591, 0.10210185497999191, 0.04883337765932083, 0.007754036691039801, 0.006179378367960453, 0.021799148991703987, -0.0023036880884319544, 0.001998104387894273, 0.043992575258016586, -0.04484878480434418, 0.0188472718000412, -0.005142748821526766, -0.00300713162869215, -0.01954185590147972, 0.04757183790206909, -0.011564983986318111, -0.005601692479103804, 0.05649188905954361, -0.0021433494985103607, 0.051015328615903854, -0.028480229899287224, 0.031985554844141006, -0.015216752886772156, -0.030284732580184937, -0.026397626847028732, -0.00525212287902832, 0.026330137625336647, -0.008432723581790924, -0.022995412349700928, -0.02620229683816433, 0.010342407040297985, -0.05092949420213699, -0.07061000913381577, -0.005227611865848303, 0.03474704548716545, 0.01430373266339302, -0.008872794918715954, 0.004132681526243687, 0.0094715915620327, -0.011271948926150799, 0.015710994601249695, -0.0709187462925911, 0.00904768891632557, -0.017939336597919464, -0.006317934021353722, 0.022051673382520676, 0.05795705318450928, 0.0223152544349432, 0.02069012261927128, -0.035898156464099884, -0.01068054884672165, 0.027534568682312965, 0.03694411739706993, -0.03193627670407295, -0.056302089244127274, -0.03850093111395836, -0.0494304820895195, 0.03677261248230934, -0.019414693117141724, -0.05353197082877159, -0.00396814476698637, -0.0499623641371727, 0.03410112112760544, -0.05313647538423538, -0.01744111068546772, 0.059305332601070404, 0.02127739228308201, 0.0335015133023262, -0.019138909876346588, -0.01339713018387556, 0.03320257365703583, 0.045574385672807693, 0.028149953112006187, -0.0048676058650016785, -0.020647471770644188, 0.04019344598054886, -0.01585262641310692, 0.017715439200401306, 0.02273288555443287, 0.027034197002649307, 0.013056746684014797, -0.018458088859915733, -0.018575457856059074, 0.03225398063659668, -0.2632490396499634, -0.004322708118706942, -0.014389648102223873, -0.02393616922199726, 0.05281045287847519, -0.03410463407635689, 0.04396930709481239, -0.024938946589827538, 0.015189087018370628, -0.02060447633266449, 0.010167665779590607, 0.03420526906847954, 0.024074537679553032, 0.04048972204327583, 0.04636263847351074, 0.031666938215494156, -0.023777034133672714, -0.022145399823784828, 0.010701463557779789, 0.04410937428474426, 0.010611770674586296, -0.05942072719335556, -0.029312821105122566, 0.0383344367146492, -0.012443899177014828, 0.027946712449193, -0.07899388670921326, -0.005708515644073486, -0.04834512993693352, -0.004289367236196995, 0.006789057981222868, -0.012005356140434742, -0.048755668103694916, 0.03471210226416588, -0.014432840049266815, 0.010487502440810204, 0.08138870447874069, 0.011113007552921772, 0.017110716551542282, 0.02291647158563137, 0.02757897414267063, -0.017349399626255035, -0.03772052377462387, -0.009840678423643112, 0.06863974034786224, -0.019155221059918404, -0.06257745623588562, -0.016541682183742523, -0.016571734100580215, 0.049033742398023605, -0.030023401603102684, -0.018512042239308357, -0.040899310261011124, 0.01661079190671444, 0.005397184751927853, -0.016257166862487793, -0.013691517524421215, -0.018947573378682137, -0.024237675592303276, -0.0000027320913886796916, 0.018832063302397728, -0.06959425657987595, -0.013240085914731026, -0.06012565642595291, -0.04973277449607849, -0.03951093927025795, -0.04740603268146515, -0.06681973487138748, 0.07853841781616211, 0.05402030795812607, -0.034326035529375076, 0.04081181436777115, -0.026591910049319267, -0.10384189337491989, 0.007933932356536388, -0.02848340943455696, -0.015955282375216484, -0.009710344485938549, -0.007842199876904488, 0.03878724202513695, -0.013726470991969109, -0.060013432055711746, 0.0033709341660141945, -0.0013752318918704987, -0.010076828300952911, -0.039859939366579056, -0.025576654821634293, 0.00670800032094121, -0.035955313593149185, -0.029461141675710678, 0.02252170443534851, 0.022681433707475662, -0.04724818468093872, 0.02648729644715786, 0.036579880863428116, 0.027002882212400436, -0.01458880864083767, 0.04280348867177963, 0.02072913385927677, 0.00819538813084364, 0.035021472722291946, -0.0702451542019844, -0.0156339630484581, -0.07558970153331757, -0.012730967253446579, 0.03174179792404175, -0.060300834476947784, -0.00947179552167654, 0.034514136612415314, -0.008838631212711334, -0.0352470763027668, -0.0316166952252388, 0.018155070021748543, 0.0018559197196736932, -0.01076294481754303, -0.012298649176955223, -0.011798642575740814, 0.02567620389163494, 0.05774032324552536, -0.0020884189289063215, -0.02805822528898716, 0.021816445514559746, -0.02130722813308239, -0.014090781100094318, -0.04704540967941284, -0.010163734667003155, 0.01989510841667652, -0.01332146767526865, 0.002198964823037386, -0.037069112062454224, 0.0008374418830499053, -0.026242617517709732, -0.014340327121317387, 0.018089910969138145, 0.03646942600607872, -0.0015476957196369767, -0.005713426508009434, -0.020179877057671547, -0.0046064057387411594, -0.01657378114759922, 0.022141296416521072, -0.0348295122385025, 0.07035862654447556, 0.03265244513750076, 0.07194504141807556, -0.030445722863078117, 0.012712251394987106, 0.023164018988609314, -0.01076500304043293, 0.027989612892270088, 0.030963052064180374, -0.016776418313384056, 0.008394064381718636, -0.03450097143650055, 0.03062230907380581, -0.016725340858101845, 0.025346802547574043, 0.036908041685819626, 0.00925676990300417, -0.061648450791835785, 0.057871319353580475, -0.01371084339916706, 0.009232143871486187, -0.012816534377634525, 0.019362499937415123, 0.029944472014904022, -0.02499564178287983, 0.040261849761009216, -0.0037578416522592306, 0.03169563040137291, 0.014791689813137054, -0.036308832466602325, -0.012282446026802063, 0.013992544263601303, -0.028394116088747978, 0.013314277864992619, 0.01613936573266983, 0.01720096357166767, -0.014360700733959675, 0.06697048991918564, -0.016341563314199448, -0.05755343288183212, -0.03622045740485191, 0.009888703934848309, 0.057385023683309555, 0.008903625421226025, 0.03595650941133499, -0.01271736528724432, -0.053211383521556854, -0.005390074569731951, -0.020722588524222374, 0.003904632991179824, 0.003592028981074691, -0.03191397339105606, -0.034421972930431366, -0.06256358325481415, 0.01794593408703804, -0.026356767863035202, 0.01915714330971241, -0.03597811236977577, 0.005522353574633598, -0.01242078747600317, -0.0805947557091713, 0.011071749962866306, 0.0013078474439680576, -0.09052351862192154, -0.0006618249462917447, -0.0457848384976387, -0.019480526447296143, 0.023538969457149506, -0.033776041120290756, -0.04653031751513481, -0.03153899312019348, 0.008540408685803413, 0.011475506238639355, -0.06135337054729462, -0.020586993545293808, -0.01912061870098114, -0.03836395964026451, -0.020540285855531693, 0.0056818327866494656, -0.05162299796938896, 0.014174154959619045, -0.005564133170992136, 0.0028554112650454044, 0.070424385368824, -0.04243507236242294, -0.0025260101538151503, 0.01272362656891346, -0.027922164648771286, 0.050683390349149704, -0.06573285162448883, 0.023506930097937584, 0.057030852884054184, 0.00378740718588233, -0.003428008873015642, -0.05088144540786743, -0.01368294470012188, 0.010799603536725044, 0.013541661202907562, 0.015618492849171162, 0.013822758570313454, -0.009150843136012554, 0.00408818107098341, 0.01567103900015354, 0.027219638228416443, 0.04189502075314522, 0.03089854307472706, -0.04658329114317894, 0.014804932288825512, -0.0015859269769862294, 0.022283431142568588, -0.04149078577756882, -0.004957861732691526, 0.07113557308912277, -0.0311509408056736, -0.024882586672902107, -0.022922271862626076, -0.03986755758523941, 0.038066018372774124, 0.026205824688076973, 0.027419762685894966, -0.0498851053416729, 0.03178882598876953, 0.029991593211889267, 0.05099007487297058, 0.0007712568040005863, -0.029698405414819717, 0.047718316316604614, -0.028802046552300453, -0.024296259507536888, -0.0733211562037468, -0.046515099704265594, 0.0673898383975029, -0.0005985000170767307, -0.0014326594537124038, -0.002461433643475175, -0.04783013090491295, 0.02696966752409935, -0.005525229498744011, -0.04887136444449425, 0.007925553247332573, -0.02155640535056591, -0.026091257110238075, 0.03758260980248451, -0.017529074102640152, 0.03300150856375694, 0.03444394841790199, -0.02192573808133602, -0.032383356243371964, -0.02670823223888874, 0.05011507123708725, -0.027636349201202393, 0.04386929050087929, -0.0027921039145439863, -0.014127222821116447, 0.04268506169319153, 0.02526387758553028, 0.020619329065084457, 0.01719948835670948, -0.01943967491388321, 0.05676839500665665, 0.016191629692912102, -0.004823846742510796, 0.005219572689384222, -0.0057683782652020454, -0.047637131065130234, -0.057990651577711105, 0.07318056374788284, 0.003663003444671631, -0.037672922015190125, -0.06094135344028473, 0.06895577907562256, 0.053150031715631485, -0.03469109907746315, -0.02861870266497135, 0.0030260381754487753, -0.041195210069417953, 0.018207550048828125, -0.035509027540683746, 0.02696784771978855, 0.002502018352970481, 0.04570171236991882, 0.017663823440670967, 0.07613382488489151, 0.05645744502544403, -0.013548512943089008, 0.0052781663835048676, 0.0013257588725537062, 0.04612436518073082, 0.03607523441314697, 0.0737115889787674, -0.0025382169988006353, 0.0543602854013443, -0.02114729769527912, -0.06336314976215363, 0.012028200551867485, 0.034937191754579544, 0.002905048429965973, 0.00392534164711833, 0.03990097716450691, 0.05911252647638321, 0.013408112339675426, 0.03881314396858215, -0.0319269560277462, 0.001021124655380845, 0.04016480594873428, -0.02732894755899906, 0.021467041224241257, 0.041965700685977936, 0.0025497761089354753, 0.025416968390345573, -0.024744119495153427, -0.021608775481581688, -0.0013696887763217092, -0.03318094089627266, -0.008149568922817707, 0.0185396708548069, -0.05770478770136833, -0.023533128201961517, -0.02722533978521824, 0.051802121102809906, 0.10977242141962051, -0.01133077684789896, -0.04890485480427742, 0.009189723059535027, 0.02707318216562271, 0.04074905440211296, 0.007040113676339388, -0.011726586148142815, -0.03517650440335274, -0.01089966855943203, -0.044323116540908813, 0.03650955855846405, 0.03635874763131142, -0.04580892622470856, 0.06501439958810806, -0.024300523102283478, -0.015647057443857193, 0.01585407741367817, 0.04870763421058655, -0.0643288716673851, -0.03148038312792778, -0.04229159280657768, -0.01141264010220766, -0.024061035364866257, -0.03490807116031647, 0.03801419958472252, 0.012659880332648754, -0.02850854955613613, -0.03016807697713375, -0.040824249386787415, 0.011592674069106579, 0.03634565323591232, -0.05891482159495354, 0.01782679557800293, 0.013426067307591438, 0.021151619032025337, -0.023764150217175484, 0.032073818147182465, 0.034460511058568954, -0.03170713037252426, -0.019143691286444664, 0.04082360491156578, 0.016012417152523994, 0.024601154029369354, 0.0026076112408190966, 0.012787786312401295, -0.0953211709856987, -0.00008544832235202193, 0.0037401835434138775, -0.03035661205649376, -0.07287081331014633, 0.04356116056442261, -0.025955427438020706, 0.03996768221259117, 0.09357976168394089, 0.04712044820189476, 0.019038351252675056, 0.0052517554722726345, -0.011377086862921715, -0.025349663570523262, 0.007486841641366482, 0.000431534688686952, -0.01411471702158451, 0.05828971043229103, 0.03130706027150154, -0.015286733396351337, -0.04184115678071976, 0.010481026954948902, 0.002124195219948888, -0.017744841054081917, -0.05069863796234131, -0.0002254872815683484, -0.004578425548970699, -0.035475555807352066, -0.031675998121500015, 0.04245656728744507, -0.02481050230562687, -0.019346043467521667, -0.004520358517765999, -0.02453908883035183, -0.029745016247034073, -0.02552340365946293, -0.007760238368064165, -0.0087850047275424, -0.0173127893358469, -0.011154885403811932, -0.07300270348787308, -0.005252074915915728, -0.02572542615234852, 0.007398728746920824, -0.00624966062605381, -0.03514224663376808, -0.027376584708690643, -0.021244019269943237, 0.05354848504066467, -0.008966553956270218, -0.015663763508200645, -0.029350047931075096 ]
336
OpenRCA: Can Large Language Models Locate the Root Cause of Software Failures?
https://openreview.net/forum?id=M4qNIzQYpd
[ "Junjielong Xu", "Qinan Zhang", "Zhiqing Zhong", "Shilin He", "Chaoyun Zhang", "Qingwei Lin", "Dan Pei", "Pinjia He", "Dongmei Zhang", "Qi Zhang" ]
Poster
Large language models (LLMs) are driving substantial advancements in software engineering, with successful applications like Copilot and Cursor transforming real-world development practices. However, current research predominantly focuses on the early stages of development, such as code generation, while overlooking the post-development phases that are crucial to user experience. To explore the potential of LLMs in this direction, we propose OpenRCA, a benchmark dataset and evaluation framework for assessing LLMs’ ability to identify the root cause of software failures. OpenRCA includes 335 failures from three enterprise software systems, along with over 68 GB of telemetry data (logs, metrics, and traces). Given a failure case and its associated telemetry, the LLM is tasked to identify the root cause that triggered the failure, requiring comprehension of software dependencies and reasoning over heterogeneous, long-context telemetry data. Our results show substantial room for improvement, as current models can only handle the simplest cases. Even with the specially designed RCA-agent, the best-performing model, Claude 3.5, solved only 11.34% failure cases. Our work paves the way for future research in this direction.
Language models, Natural language processing, Software engineering
A novel benchmark for evaluating language models that introduces real-world root cause analysis as a task.
13,411
null
[ -0.014026380144059658, -0.0019958345219492912, -0.047572311013936996, 0.025122016668319702, 0.044096674770116806, 0.015322601422667503, 0.024635881185531616, 0.026388822123408318, -0.014632077887654305, -0.02975534461438656, -0.0558302104473114, 0.03861496224999428, -0.05730895325541496, 0.004473081789910793, -0.019195275381207466, 0.03960508108139038, 0.053642600774765015, -0.0376298725605011, 0.0354287326335907, -0.001178225502371788, -0.013172300532460213, 0.00774682592600584, -0.027336562052369118, 0.02700924500823021, 0.002148493891581893, 0.0412449985742569, 0.026848861947655678, 0.01033927220851183, -0.06516890227794647, -0.004775785841047764, 0.057161785662174225, 0.008750963024795055, 0.020552342757582664, -0.03834855929017067, 0.011056873947381973, 0.04963822290301323, -0.04163046181201935, 0.021288437768816948, -0.03157072886824608, -0.01810554787516594, 0.007802866864949465, 0.04495326057076454, -0.0044393399730324745, 0.02227574586868286, -0.02775602973997593, 0.04456831514835358, -0.07682056725025177, 0.03776774927973747, 0.0432523712515831, -0.013140377588570118, -0.10132599622011185, 0.015068085864186287, -0.04036393761634827, -0.04113555699586868, 0.015866931527853012, 0.04054752737283707, 0.09468990564346313, -0.081498883664608, 0.00407434580847621, -0.041544072329998016, -0.048428840935230255, 0.006307356990873814, -0.002742941491305828, 0.003880435135215521, 0.010452651418745518, -0.03652771934866905, 0.0069184377789497375, 0.030003828927874565, -0.04299308359622955, -0.05500016361474991, 0.01647731103003025, 0.02010134793817997, -0.05056842789053917, -0.010525385849177837, -0.005173041485249996, -0.04115381836891174, 0.0006788414902985096, 0.026112206280231476, 0.029350101947784424, 0.015708385035395622, 0.009511623531579971, 0.02873268350958824, 0.006056135054677725, 0.03240067511796951, 0.021082116290926933, -0.01360048446804285, 0.012309619225561619, -0.049393460154533386, -0.045663267374038696, 0.06327985227108002, 0.031087854877114296, -0.039821166545152664, 0.03985758498311043, 0.05755443871021271, 0.0000653310926281847, 0.010032586753368378, 0.021013062447309494, 0.05593062564730644, -0.013973402790725231, 0.001151351723819971, -0.04476787522435188, 0.007724711671471596, 0.009639040566980839, 0.021115632727742195, -0.09647668153047562, -0.01734089106321335, -0.030268950387835503, -0.022376062348484993, -0.007936196401715279, -0.020900432020425797, 0.006943941116333008, 0.002161967335268855, -0.024617541581392288, 0.01634380780160427, -0.0972476676106453, 0.07368787378072739, -0.006513846572488546, 0.01428657490760088, 0.04019112139940262, -0.005980823189020157, 0.030832013115286827, 0.07691851258277893, -0.005915903020650148, 0.06297872215509415, -0.010658013634383678, 0.0355585515499115, 0.011694465763866901, 0.03279716148972511, -0.0366242378950119, -0.03202442452311516, 0.030641334131360054, 0.06322702020406723, -0.022537793964147568, -0.006449159234762192, 0.010819045826792717, 0.050049249082803726, 0.022419381886720657, 0.021218135952949524, 0.0368528813123703, 0.006625089794397354, 0.013355215080082417, 0.009116078726947308, 0.02184363640844822, -0.022480828687548637, 0.0394589826464653, 0.04318103939294815, -0.027510760352015495, -0.012968753464519978, -0.039882514625787735, -0.0022164287511259317, 0.014929254539310932, 0.021640101447701454, 0.005476066377013922, -0.050582244992256165, 0.03876357525587082, 0.049824636429548264, -0.023227520287036896, -0.017390158027410507, 0.009520987048745155, 0.002320443280041218, 0.004132049158215523, -0.008653981611132622, -0.054441772401332855, 0.007752205245196819, -0.021986545994877815, -0.030602706596255302, 0.03631487488746643, -0.024215983226895332, -0.027116091921925545, 0.025285854935646057, -0.06586684286594391, -0.017105573788285255, 0.06951719522476196, -0.04452928528189659, -0.011671529151499271, 0.012084472924470901, 0.06419872492551804, 0.011680185794830322, 0.014352613128721714, 0.05626232549548149, -0.07194186002016068, 0.01813134364783764, -0.008362583816051483, -0.04814056307077408, 0.018635276705026627, 0.0062561738304793835, 0.1186276450753212, -0.015618863515555859, 0.006108235567808151, 0.01506899669766426, -0.1359892189502716, -0.036810215562582016, 0.055355679243803024, 0.023927750065922737, 0.07012872397899628, -0.04080254212021828, -0.024944696575403214, 0.04517444968223572, 0.05056189000606537, 0.03797982633113861, 0.02673213742673397, 0.01978408917784691, 0.04234993830323219, -0.017511829733848572, -0.01602095551788807, -0.009542515501379967, 0.04600583016872406, -0.04235341399908066, -0.07435628026723862, 0.005048724357038736, -0.019294628873467445, 0.010059179738163948, 0.015206065960228443, -0.01205343846231699, 0.027175910770893097, 0.01322016492486, 0.008359258063137531, 0.009816383011639118, 0.02104899287223816, -0.08060504496097565, 0.01898021064698696, -0.018092947080731392, -0.007023028563708067, 0.002375616692006588, -0.03916148841381073, 0.06974554061889648, 0.07102203369140625, -0.008810528554022312, 0.006233165040612221, 0.025089025497436523, -0.004996817093342543, -0.0391349196434021, -0.01425156369805336, -0.02925807237625122, 0.006605250295251608, -0.013755058869719505, -0.010735588148236275, -0.027486111968755722, 0.03167431056499481, -0.01383682619780302, -0.02654181607067585, 0.07263288646936417, -0.03667474538087845, 0.05708250775933266, -0.007513911928981543, -0.014982301741838455, 0.016080578789114952, -0.01497939508408308, -0.014367548748850822, -0.028276352211833, 0.002194290980696678, 0.007620719727128744, 0.006062496453523636, -0.05001536011695862, -0.014935014769434929, -0.07498010247945786, 0.004588260315358639, 0.025562159717082977, 0.040153078734874725, 0.03731933608651161, 0.011434853076934814, 0.017711900174617767, 0.003114130347967148, -0.029257768765091896, 0.02931508608162403, -0.10386829823255539, -0.042862724512815475, -0.01144895888864994, 0.0126807177439332, -0.013975509442389011, 0.012435698881745338, -0.0005081766867078841, 0.005645474418997765, -0.01249344926327467, -0.0062146796844899654, 0.007514441851526499, 0.0450952872633934, -0.003097614273428917, -0.05065004527568817, -0.006435696966946125, -0.005125695839524269, 0.02558007836341858, -0.03614583984017372, -0.010110738687217236, -0.041537754237651825, -0.0034832514356821775, -0.007907488383352757, -0.050731103867292404, -0.01832069270312786, 0.015446538105607033, -0.006543382536619902, -0.00030717236222699285, -0.015248419716954231, 0.030550416558980942, 0.02625516802072525, 0.01696111634373665, 0.038393307477235794, -0.005520530045032501, -0.006355059798806906, 0.03321469947695732, -0.002165390644222498, -0.0008322595967911184, -0.01870359480381012, 0.04277438297867775, -0.023016920313239098, 0.0036135821137577295, -0.000928761379327625, -0.00959939043968916, -0.2824353873729706, -0.012196465395390987, 0.00898102018982172, -0.054951027035713196, 0.0271668191999197, 0.018488341942429543, 0.0332786962389946, -0.0026754895225167274, -0.009873474016785622, 0.020102301612496376, 0.004321037791669369, 0.03147387132048607, 0.013411696068942547, 0.055102959275245667, 0.039615992456674576, 0.07096584886312485, 0.015286851674318314, -0.013323018327355385, 0.004617150407284498, 0.040690913796424866, 0.0030215391889214516, -0.06653178483247757, -0.022963134571909904, 0.019494149833917618, -0.03933270275592804, 0.02962329052388668, -0.09373816102743149, 0.03864748030900955, -0.014683504588901997, 0.006094681099057198, -0.007251454051584005, -0.03983626142144203, -0.029944544658064842, 0.03430749475955963, -0.021250616759061813, 0.026423804461956024, 0.010814731940627098, 0.03516672924160957, -0.000459937728010118, 0.009101321920752525, 0.017467297613620758, -0.032557662576436996, -0.024110306054353714, -0.00790791679173708, 0.07724982500076294, -0.00488739088177681, -0.0417417548596859, -0.014742492698132992, -0.01821116730570793, 0.05823079124093056, -0.02961026318371296, -0.04638485610485077, -0.013217180967330933, 0.01974250003695488, -0.012172923423349857, -0.05886648967862129, -0.005712665617465973, 0.008783796802163124, -0.027798905968666077, 0.05500299856066704, 0.0053464737720787525, -0.036005135625600815, -0.07076641917228699, -0.0431755967438221, -0.036666762083768845, -0.045071303844451904, -0.04901525005698204, -0.06456008553504944, 0.043067485094070435, 0.031201621517539024, -0.02978372946381569, 0.025801362469792366, -0.015538569539785385, -0.08797582238912582, 0.004314583260565996, -0.027341388165950775, -0.012786688283085823, -0.038705747574567795, 0.006811558268964291, 0.04585253447294235, -0.036496806889772415, -0.04594388231635094, 0.013633247464895248, 0.001493720686994493, 0.0043827835470438, -0.013115077279508114, -0.01325018797069788, -0.01630612276494503, -0.051147155463695526, -0.04322989657521248, 0.03986957669258118, -0.03757398948073387, -0.024732455611228943, 0.043841276317834854, 0.05807558447122574, -0.013912447728216648, 0.023164156824350357, 0.07128738611936569, 0.03644358366727829, 0.038968250155448914, 0.003858705749735236, -0.08193955570459366, 0.004407971166074276, -0.060638025403022766, -0.011318657547235489, 0.019856812432408333, -0.049395572394132614, -0.02759438194334507, 0.05664237216114998, 0.009113389998674393, 0.01088651642203331, -0.006338374689221382, 0.005655820015817881, -0.020163903012871742, -0.03685734048485756, -0.0059132748283445835, -0.008587117306888103, 0.032956354320049286, 0.0300531554967165, -0.0012040084693580866, -0.00932003278285265, -0.0017845199909061193, -0.022527344524860382, 0.027886779978871346, 0.0012327777221798897, 0.007057201582938433, -0.020680509507656097, -0.005362961441278458, 0.005913862958550453, -0.007316137198358774, -0.012157793156802654, 0.0458841435611248, 0.02595428377389908, 0.008841883391141891, 0.021088510751724243, -0.017301466315984726, -0.0056962985545396805, 0.0009796185186132789, 0.028264913707971573, -0.028046872466802597, 0.02066219411790371, 0.017760993912816048, 0.040449921041727066, 0.041822947561740875, 0.0414007268846035, -0.0034405032638460398, 0.018539564684033394, -0.02404717169702053, 0.03899456188082695, -0.014695286750793457, 0.019457070156931877, -0.06006603315472603, 0.03979198634624481, -0.031475841999053955, -0.014062507078051567, -0.07077409327030182, 0.04835997149348259, -0.0012409547343850136, 0.013648496009409428, -0.0435543991625309, 0.03249891847372055, -0.011552807874977589, -0.03282961994409561, 0.029008246958255768, 0.027558250352740288, 0.03746875375509262, -0.002116336952894926, 0.008874558843672276, 0.026626715436577797, -0.008527994155883789, -0.01827581599354744, -0.015834836289286613, -0.023441968485713005, -0.02080395631492138, -0.035064976662397385, 0.04162728413939476, 0.011185744777321815, -0.031912583857774734, -0.016324054449796677, 0.05015089735388756, -0.00227191299200058, -0.030333207920193672, -0.004940872546285391, 0.014334301464259624, 0.06086568906903267, -0.031506966799497604, 0.005467149894684553, -0.0006265650154091418, -0.0348835363984108, -0.010579241439700127, -0.02530229277908802, 0.014460613019764423, -0.006697820965200663, 0.0245400108397007, -0.041402436792850494, -0.080057293176651, 0.01831604354083538, 0.016169892624020576, 0.03128984943032265, 0.007116942200809717, -0.020104868337512016, 0.0025032886769622564, -0.02474130131304264, -0.014243748970329762, 0.03195793181657791, -0.07778627425432205, -0.008058609440922737, 0.02465159446001053, 0.021450424566864967, 0.04546257108449936, -0.053822558373212814, -0.0491105355322361, -0.051782216876745224, 0.009449305944144726, 0.00628510070964694, -0.03731231018900871, -0.03133563697338104, -0.017077453434467316, -0.03498417139053345, -0.027822045609354973, -0.027321267873048782, 0.009999188594520092, -0.008074793964624405, -0.028171375393867493, -0.0012935264967381954, 0.02326829917728901, -0.04281381517648697, -0.034482795745134354, -0.0035355486907064915, -0.027224188670516014, 0.031386490911245346, -0.04834926500916481, 0.007568074855953455, 0.0051726712845265865, 0.04003505781292915, 0.012853243388235569, -0.002830233657732606, 0.02490435354411602, 0.035487499088048935, -0.008189370855689049, -0.014753716066479683, 0.03680390119552612, 0.03887685015797615, -0.0037893967237323523, 0.009041090495884418, 0.058229949325323105, -0.011195724830031395, 0.02335379645228386, 0.004652782808989286, 0.024565020576119423, 0.014563561417162418, 0.03229981288313866, -0.03379691764712334, -0.028852472081780434, 0.09891421347856522, -0.027746643871068954, -0.02643231488764286, -0.08239934593439102, -0.06653553992509842, 0.023914659395813942, 0.01744212582707405, 0.012032624334096909, -0.02186630293726921, 0.06449556350708008, -0.0040150657296180725, 0.041476763784885406, -0.007330120541155338, -0.062713623046875, 0.033801592886447906, -0.059805743396282196, 0.003670858684927225, -0.06117682158946991, 0.01672614924609661, 0.054704148322343826, -0.05341995134949684, 0.02095937728881836, -0.0014554178342223167, 0.007113483268767595, 0.02340320684015751, -0.007010186556726694, -0.04803142696619034, -0.004928498063236475, -0.02563534677028656, -0.006506770383566618, 0.03631497174501419, -0.021596776321530342, 0.003415747545659542, -0.0005886235740035772, -0.038608767092227936, -0.007549875881522894, -0.0017386010149493814, 0.039499640464782715, -0.022152597084641457, 0.048633377999067307, -0.029119733721017838, -0.0038202800787985325, -0.008792661130428314, 0.034181851893663406, 0.02471776306629181, 0.041869375854730606, -0.027477381750941277, 0.06310221552848816, 0.06513676792383194, 0.019687190651893616, -0.0007472865981981158, -0.011685822159051895, -0.017291510477662086, -0.030550001189112663, 0.03235858678817749, 0.010143732652068138, 0.00388030125759542, -0.031266652047634125, 0.056111373007297516, 0.042990121990442276, -0.045306187123060226, -0.0022302386350929737, 0.001293111708946526, -0.0661003589630127, 0.03704129531979561, -0.02445126511156559, 0.001185746630653739, -0.006897297687828541, 0.07979598641395569, 0.03297670558094978, 0.06549900025129318, 0.09348833560943604, -0.02453083172440529, -0.015611999668180943, 0.005743624176830053, 0.07493910193443298, 0.057254668325185776, 0.004084036219865084, -0.008403719402849674, 0.05849316716194153, -0.06180363520979881, -0.033910416066646576, 0.010600391775369644, 0.000009980475624615792, 0.01628126949071884, -0.04352739080786705, 0.035636574029922485, 0.06258928775787354, 0.013861346058547497, 0.04144405946135521, -0.03735578805208206, 0.007342905271798372, 0.033548012375831604, 0.029036352410912514, 0.020524887368083, 0.02913658879697323, 0.02606113627552986, 0.0057529122568666935, -0.04194488748908043, 0.015340125188231468, -0.007683506701141596, -0.03498712554574013, 0.01259151753038168, 0.055989671498537064, 0.009191129356622696, 0.005879511591047049, -0.020106615498661995, 0.017878765240311623, 0.10055844485759735, -0.023595787584781647, -0.010626205243170261, -0.01068215910345316, 0.0417916402220726, 0.0034183338284492493, 0.03746390715241432, -0.0007422261987812817, -0.04007712006568909, 0.010299485176801682, -0.04698377847671509, -0.011445953510701656, 0.02522946335375309, -0.035402193665504456, 0.03886331990361214, -0.020251357927918434, -0.038744304329156876, -0.004204533062875271, 0.004689838271588087, -0.07593876123428345, -0.010364778339862823, -0.032069917768239975, -0.02771948091685772, -0.02625088207423687, -0.02000449039041996, 0.02045261301100254, 0.020724596455693245, -0.0429290235042572, 0.007650627754628658, -0.04362162575125694, -0.012921874411404133, 0.03224390000104904, -0.054818522185087204, 0.004834530875086784, 0.03544182702898979, -0.01925700530409813, -0.0004535238549578935, 0.05655959993600845, 0.016858035698533058, -0.023653334006667137, -0.021938147023320198, 0.009968452155590057, -0.0019031615229323506, 0.0030407248996198177, -0.011024395003914833, 0.0028679566457867622, -0.07941444218158722, 0.012628663331270218, 0.0287310890853405, 0.002619936829432845, -0.0646466538310051, 0.030238673090934753, -0.03849482536315918, -0.011278397403657436, 0.058103252202272415, -0.02511647157371044, 0.038679733872413635, -0.016692982986569405, -0.0178377702832222, -0.025001103058457375, 0.04288612678647041, 0.007687884382903576, -0.00435959966853261, 0.057866863906383514, 0.06856739521026611, -0.008966591209173203, -0.049738559871912, 0.06966672092676163, -0.009715700522065163, -0.029263535514473915, -0.036806557327508926, -0.004624514374881983, -0.0399942584335804, -0.07327913492918015, 0.008198573254048824, 0.01764838770031929, 0.00846930406987667, -0.0035994285717606544, -0.009770839475095272, -0.0033356384374201298, -0.031931355595588684, -0.019449418410658836, -0.026473967358469963, 0.01745041273534298, -0.0568891204893589, -0.055417366325855255, -0.03372626751661301, -0.0007836669683456421, 0.0012892152881249785, -0.03150311857461929, -0.01821240223944187, -0.052712470293045044, 0.035797055810689926, -0.004098113160580397, 0.04260353744029999, -0.00310304737649858, 0.026989014819264412, -0.026542294770479202 ]
337
Wavelet-based Positional Representation for Long Context
https://openreview.net/forum?id=OhauMUNW8T
[ "Yui Oka", "Taku Hasegawa", "Kyosuke Nishida", "Kuniko Saito" ]
Poster
In the realm of large-scale language models, a significant challenge arises when extrapolating sequences beyond the maximum allowable length. This is because the model's position embedding mechanisms are limited to positions encountered during training, thus preventing effective representation of positions in longer sequences. We analyzed conventional position encoding methods for long contexts and found the following characteristics. (1) When the representation dimension is regarded as the time axis, Rotary Position Embedding (RoPE) can be interpreted as a restricted wavelet transform using Haar-like wavelets. However, because it uses only a fixed scale parameter, it does not fully exploit the advantages of wavelet transforms, which capture the fine movements of non-stationary signals using multiple scales (window sizes). This limitation could explain why RoPE performs poorly in extrapolation. (2) Previous research as well as our own analysis indicates that Attention with Linear Biases (ALiBi) functions similarly to windowed attention, using windows of varying sizes. However, it has limitations in capturing deep dependencies because it restricts the receptive field of the model. From these insights, we propose a new position representation method that captures multiple scales (i.e., window sizes) by leveraging wavelet transforms without limiting the model's attention field. Experimental results show that this new method improves the performance of the model in both short and long contexts. In particular, our method allows extrapolation of position information without limiting the model's attention field.
Positional Encoding, Extrapolation, Wavelet Transform, Transformers, RoPE, ALiBi, NLP
We found that RoPE can be interpreted as a restricted wavelet transform. And we propose a new position representation method that captures window sizes by leveraging wavelet transforms without limiting the model's attention field.
13,404
2502.02004
[ -0.04071628674864769, -0.004029474221169949, 0.01609681360423565, 0.010170125402510166, 0.03105759620666504, 0.03707645460963249, 0.03363437205553055, -0.0013636288931593299, -0.056159134954214096, -0.04062742739915848, -0.04153625667095184, 0.005626941565424204, -0.04032203182578087, -0.005498155951499939, 0.007784758694469929, 0.056797709316015244, 0.04118701070547104, -0.03394562378525734, -0.027776800096035004, -0.00997002050280571, -0.007494187448173761, -0.024455063045024872, 0.011213275603950024, -0.006057523190975189, 0.021206600591540337, -0.0023327097296714783, -0.03182390332221985, 0.008909069001674652, -0.03657473623752594, -0.019353633746504784, 0.023034540936350822, -0.0042707426473498344, -0.01039076503366232, -0.017016971483826637, 0.013486837968230247, -0.024215316399931908, -0.05931863188743591, 0.023258360102772713, 0.00870283879339695, -0.010366527363657951, -0.036306969821453094, -0.010345641523599625, -0.012986487708985806, 0.007099214009940624, -0.0656353086233139, -0.006442059297114611, -0.11236893385648727, 0.030894959345459938, -0.0006355032091960311, -0.010527044534683228, -0.10853300243616104, 0.06514100730419159, -0.004561427049338818, -0.027610959485173225, 0.02120482362806797, 0.010978984646499157, 0.02953457273542881, -0.07956468313932419, 0.002150990068912506, -0.05463749170303345, -0.017039187252521515, -0.007791695650666952, 0.03207746893167496, 0.011939816176891327, -0.00590554578229785, -0.049330491572618484, -0.00790522713214159, 0.023571327328681946, -0.057836100459098816, -0.04255758970975876, -0.009519684128463268, -0.0032510212622582912, -0.014712192118167877, 0.003584320656955242, -0.004680728539824486, -0.053839702159166336, 0.017595559358596802, 0.03793859854340553, 0.06482607871294022, 0.01761258766055107, 0.03709650784730911, 0.03555073216557503, 0.02702774666249752, 0.021911658346652985, -0.007820088416337967, 0.04526470974087715, -0.00650933338329196, -0.05071860924363136, -0.061634913086891174, 0.03203439712524414, -0.0050047049298882484, -0.05125594139099121, -0.019130535423755646, 0.03210976719856262, -0.009724580682814121, 0.01859755627810955, 0.01613888517022133, 0.015592201612889767, 0.011589383706450462, 0.030909890308976173, -0.03242886811494827, -0.019680526107549667, 0.039563123136758804, -0.0005097304820083082, -0.0897531658411026, -0.028933139517903328, -0.004539945628494024, 0.013896691612899303, 0.011380068026483059, 0.0018414282239973545, -0.06130369380116463, -0.005608758423477411, 0.027568910270929337, -0.02613499015569687, -0.07392328977584839, -0.002209919737651944, 0.009028826840221882, 0.04124286398291588, -0.031463686376810074, 0.002957221819087863, 0.07200900465250015, 0.03170296922326088, -0.0034606822300702333, 0.07520053535699844, -0.010400400497019291, 0.01018166821449995, -0.008915145881474018, 0.03577005863189697, -0.038613297045230865, -0.03870655223727226, 0.015266858972609043, 0.017889074981212616, -0.003073655068874359, 0.013190386816859245, 0.010148623958230019, -0.008134648203849792, 0.0016389733646064997, -0.012334254570305347, 0.04939038306474686, -0.017737166956067085, 0.026854854077100754, -0.03068285994231701, 0.04257867485284805, -0.04910412058234215, 0.07993707060813904, -0.0016658707754686475, -0.05502532422542572, -0.011968042701482773, -0.023120224475860596, -0.02570325694978237, 0.0012704720720648766, -0.005696247331798077, 0.030498795211315155, -0.0658903419971466, 0.009672108106315136, 0.05553120747208595, -0.002253467682749033, 0.029743611812591553, 0.04140652343630791, -0.010415656492114067, -0.00013026972010266036, -0.024736547842621803, -0.03105156123638153, 0.052662212401628494, -0.003143880283460021, -0.05397820100188255, 0.03963138163089752, 0.022814631462097168, -0.032299842685461044, 0.01973697356879711, -0.01828126050531864, -0.0003259509976487607, 0.0709042102098465, -0.014305385760962963, -0.04333322122693062, 0.00043694325722754, 0.04217918962240219, -0.00029495946364477277, 0.041655004024505615, 0.014395873062312603, -0.0779021829366684, 0.028846748173236847, 0.037209317088127136, -0.01672794111073017, 0.036162372678518295, -0.02781973034143448, 0.11675187945365906, -0.018259167671203613, -0.02896948531270027, -0.004134426824748516, -0.051531631499528885, -0.022175651043653488, 0.013532700017094612, -0.016033031046390533, 0.059204816818237305, -0.012888489291071892, -0.013043285347521305, 0.03451811894774437, 0.03716466948390007, 0.03337448462843895, 0.04881604015827179, -0.017422344535589218, 0.04624394699931145, 0.027400119230151176, -0.005376181099563837, -0.0225529782474041, 0.03621154651045799, -0.05546826869249344, -0.01500101387500763, 0.019596293568611145, -0.013191415928304195, 0.013504935428500175, 0.0025120030622929335, 0.032236646860837936, -0.02719166874885559, 0.02088748849928379, 0.027711955830454826, -0.010182993486523628, 0.0013824992347508669, -0.05068223550915718, 0.01635545864701271, 0.008755452930927277, -0.04751630872488022, -0.020490635186433792, -0.03889179229736328, 0.09413863718509674, 0.05989520996809006, -0.01646522246301174, -0.016169898211956024, -0.004353528376668692, 0.010911839082837105, -0.013568931259214878, 0.02959676831960678, -0.012974686920642853, -0.008500061929225922, -0.025696847587823868, 0.0037703521084040403, -0.03267376124858856, 0.036625057458877563, -0.06630752235651016, 0.014465603977441788, 0.07456683367490768, -0.001158794853836298, 0.041541844606399536, -0.004951760172843933, -0.010916792787611485, 0.0795736312866211, 0.006403761450201273, -0.023917850106954575, -0.018819699063897133, -0.016136277467012405, 0.004173282999545336, -0.009341659024357796, -0.032582614570856094, 0.012853062711656094, -0.021383395418524742, -0.0368388332426548, -0.016899744048714638, 0.0667140781879425, 0.05053111910820007, 0.06923192739486694, 0.05076723173260689, 0.014054525643587112, -0.04708116129040718, -0.032257623970508575, -0.09784838557243347, -0.04888002574443817, -0.05219472199678421, 0.05001130327582359, 0.0013220260152593255, 0.049337808042764664, 0.0017609281931072474, 0.0175845418125391, -0.031218454241752625, -0.004180504009127617, -0.0492129810154438, 0.029206054285168648, -0.0017272804398089647, -0.027126213535666466, 0.0031755990348756313, 0.006439190823584795, 0.057073112577199936, 0.020880918949842453, -0.046425361186265945, 0.003555831965059042, -0.02151951752603054, -0.03518281131982803, 0.012064115144312382, 0.0009152891580015421, 0.010599100030958652, -0.005064802709966898, 0.017195822671055794, -0.008127858862280846, 0.02801620215177536, 0.008724210783839226, 0.059203822165727615, 0.06753617525100708, -0.0029626397881656885, -0.025687914341688156, -0.004133195150643587, -0.014644482173025608, 0.03530450165271759, 0.026127250865101814, -0.02431565709412098, 0.0026499275118112564, 0.019828377291560173, -0.0035454987082630396, 0.0060774595476686954, -0.28358331322669983, -0.013319402933120728, -0.0036329044960439205, -0.04837878793478012, 0.018670884892344475, -0.035754237323999405, 0.05272504314780235, -0.05353149399161339, -0.04802578315138817, 0.010287449695169926, 0.014397895894944668, 0.011512531898915768, 0.012228399515151978, 0.03489819914102554, 0.02173486538231373, 0.0196473840624094, -0.012080338783562183, -0.000045891505578765646, 0.011327954940497875, 0.03200536221265793, 0.0021867197938263416, -0.05556349456310272, -0.013003136962652206, 0.06866137683391571, -0.019016966223716736, 0.06744271516799927, -0.07036309689283371, 0.01675921306014061, -0.04230273514986038, -0.022476626560091972, -0.014804176054894924, -0.01991821452975273, 0.008513184264302254, 0.032863255590200424, -0.01263582706451416, -0.005805652588605881, 0.0385454036295414, 0.012980894185602665, 0.01863538846373558, -0.000012516026799858082, 0.00022174308833200485, -0.041300516575574875, -0.0016918755136430264, 0.01190728135406971, 0.06446033716201782, 0.010422303341329098, -0.06057610735297203, 0.0029587370809167624, -0.010762977413833141, 0.029975945129990578, -0.011206703260540962, -0.02737039513885975, -0.002932723378762603, -0.00682541960850358, 0.0021267333067953587, -0.03433220088481903, -0.0034894247073680162, -0.029943156987428665, -0.000496005523018539, -0.011289950460195541, 0.0190157238394022, -0.05273246020078659, -0.024464258924126625, -0.06346767395734787, 0.0016633878694847226, -0.02758636325597763, -0.06132492423057556, -0.05994081869721413, 0.029376931488513947, -0.01954444870352745, -0.03536197170615196, 0.027454445138573647, -0.015770303085446358, -0.09572577476501465, 0.01826987974345684, -0.00945574976503849, 0.01045630406588316, -0.04814128950238228, -0.010596384294331074, 0.04797610267996788, -0.03749467059969902, -0.06927112489938736, 0.016267210245132446, 0.024217849597334862, 0.02391071431338787, -0.015243462286889553, -0.014241494238376617, -0.0537654310464859, 0.0042262207716703415, -0.022461816668510437, 0.050347600132226944, -0.005966848693788052, 0.009070380590856075, 0.04218507558107376, 0.04265144467353821, 0.037332601845264435, 0.023508822545409203, 0.02036445401608944, 0.027572685852646828, -0.014709568582475185, 0.035199906677007675, -0.06201761215925217, -0.0038119724486023188, -0.0232631117105484, 0.0003687687567435205, 0.058004364371299744, -0.03400687128305435, -0.003757847473025322, 0.03142723813652992, 0.016523199155926704, -0.031066346913576126, -0.008627250790596008, 0.003072533756494522, -0.0072092171758413315, -0.016463231295347214, -0.018763914704322815, 0.01448332890868187, 0.03209421783685684, 0.020056957378983498, -0.04682204872369766, 0.008002182468771935, 0.018654104322195053, -0.03186636045575142, 0.007811825256794691, 0.0013820664025843143, -0.005658732261508703, -0.012659411877393723, -0.0352075919508934, -0.020322907716035843, -0.017764471471309662, 0.04421088099479675, 0.037742383778095245, 0.022958699613809586, 0.0527166947722435, 0.07016311585903168, 0.007346943020820618, -0.00043033852125518024, 0.0007306748302653432, 0.05432561784982681, -0.01481375377625227, -0.01201503537595272, -0.008037322200834751, 0.006681485567241907, 0.04765453562140465, -0.0035744463093578815, 0.002312665106728673, 0.02377297915518284, -0.029565272852778435, -0.020051447674632072, -0.010473891161382198, 0.03803329914808273, -0.027407944202423096, -0.052058298140764236, -0.013542384840548038, -0.008345291018486023, -0.008711390197277069, 0.0031129438430070877, 0.02407471463084221, 0.0014085763832554221, -0.07451409101486206, 0.06125481799244881, 0.021906225010752678, -0.014081889763474464, -0.0005139326094649732, 0.010265442542731762, 0.0101272938773036, -0.00952945090830326, 0.023980582132935524, 0.043742381036281586, 0.014260822907090187, 0.024683574214577675, -0.0038957451470196247, -0.027316438034176826, -0.008858649991452694, -0.006441748235374689, 0.009233293123543262, -0.004534375853836536, 0.03200891241431236, -0.048475585877895355, 0.05166717991232872, 0.05189845710992813, 0.024441203102469444, 0.005817883647978306, 0.036686286330223083, 0.05910049006342888, 0.012511960230767727, -0.012224876321852207, -0.01927226409316063, -0.04238070547580719, 0.03150760382413864, -0.0029521696269512177, 0.016917288303375244, -0.042588841170072556, -0.027972713112831116, -0.03948948532342911, -0.023282762616872787, -0.006597437430173159, 0.029989318922162056, -0.019108876585960388, -0.002589937997981906, -0.014249398373067379, 0.0028149958234280348, -0.0286213718354702, -0.01668495312333107, 0.010478589683771133, -0.06139804422855377, 0.028871268033981323, 0.029305163770914078, -0.03968369588255882, 0.03082852251827717, -0.039300501346588135, -0.02347414568066597, -0.05752589553594589, -0.0167197585105896, -0.0005946593009866774, -0.019113732501864433, 0.02859436720609665, -0.08082365244626999, -0.024215051904320717, -0.030745811760425568, 0.06866155564785004, 0.003598251147195697, -0.018686112016439438, -0.0017292073462158442, 0.021498799324035645, 0.05546238273382187, -0.027592288330197334, 0.024963796138763428, 0.048926085233688354, -0.018219146877527237, 0.012726497836411, -0.019250528886914253, 0.035403672605752945, 0.08591950684785843, -0.0409417524933815, -0.02034611627459526, -0.058791711926460266, 0.02697058580815792, 0.01835065335035324, 0.027888409793376923, 0.03309537097811699, 0.01606077514588833, -0.01519425492733717, 0.04310476407408714, 0.03990586847066879, 0.05665551498532295, 0.0013671882916241884, -0.03860703855752945, -0.015374748967587948, 0.04165511950850487, 0.03866518288850784, 0.013726256787776947, -0.03138947859406471, -0.016346227377653122, 0.0487433485686779, -0.01553124189376831, -0.05449509993195534, -0.05857137590646744, -0.03214368224143982, 0.02352129854261875, 0.008363233879208565, 0.03718973696231842, -0.026813682168722153, 0.03727678582072258, 0.058924414217472076, 0.053950514644384384, -0.003150841686874628, -0.031109876930713654, 0.03192409873008728, -0.03677136078476906, 0.013160827569663525, -0.04572543874382973, -0.026645727455615997, 0.061989400535821915, -0.0010644745780155063, 0.0063525112345814705, 0.0018986138748005033, -0.05300605669617653, 0.05419497564435005, -0.030010312795639038, -0.038105908781290054, 0.044451192021369934, -0.020153319463133812, -0.023559316992759705, 0.010975876823067665, -0.028267310932278633, 0.010695848613977432, -0.0336744524538517, -0.047804251313209534, -0.023346221074461937, -0.022869208827614784, 0.05214777961373329, -0.04441310465335846, 0.02744377590715885, -0.05483272299170494, 0.013425169512629509, 0.017871789634227753, 0.08276893198490143, 0.005399021785706282, 0.017797084525227547, -0.026388369500637054, 0.06958728283643723, 0.03160203993320465, -0.02932926081120968, -0.00935843214392662, -0.03200707212090492, 0.006143257487565279, -0.08051914721727371, 0.04571574926376343, 0.012593832798302174, -0.029961207881569862, -0.053892429918050766, 0.0608077347278595, 0.03258105739951134, -0.013623888604342937, -0.010713898576796055, 0.048875074833631516, -0.011201449669897556, 0.0015407948521897197, 0.00909633468836546, 0.0015208995901048183, -0.01604810170829296, 0.05263539031147957, 0.01598283089697361, 0.0589858703315258, 0.07968206703662872, -0.02380681037902832, 0.009577303193509579, 0.0006803340511396527, 0.055788975208997726, 0.04990611970424652, 0.06114661693572998, 0.006096715573221445, 0.057372257113456726, -0.040107760578393936, -0.04720919206738472, 0.04250321164727211, 0.04086172580718994, 0.02353261597454548, -0.05203711986541748, -0.019448429346084595, 0.0658034011721611, -0.01064348965883255, 0.09220771491527557, -0.04256967455148697, -0.016098685562610626, 0.0072052753530442715, -0.0015884913736954331, 0.004272793419659138, 0.018946049734950066, 0.04447295889258385, 0.006630640476942062, -0.03173369914293289, -0.01351238414645195, 0.03767503425478935, -0.03177173435688019, 0.0314117968082428, 0.025668373331427574, 0.0023685963824391365, 0.0041863988153636456, -0.022091656923294067, 0.08096524327993393, 0.1025623232126236, -0.027861759066581726, -0.02929244004189968, -0.0029930653981864452, 0.04044729098677635, 0.012824023142457008, 0.0534709170460701, -0.017258454114198685, 0.018208961933851242, 0.013314067386090755, -0.057691313326358795, 0.024308092892169952, 0.01372830756008625, -0.012237794697284698, 0.005441287066787481, -0.046802327036857605, -0.04760860651731491, 0.0010770960943773389, -0.012949958443641663, -0.06517914682626724, -0.05059683322906494, -0.022142192348837852, -0.06099414452910423, -0.06918405741453171, -0.04943385720252991, 0.0004419923643581569, -0.0044859712943434715, -0.029256349429488182, -0.05468573421239853, -0.048067912459373474, 0.01778370887041092, -0.010507026687264442, -0.03286634013056755, 0.024298375472426414, 0.04054820165038109, 0.004580733831971884, -0.00808569137006998, 0.054644059389829636, 0.02968810684978962, -0.029764583334326744, -0.0012215821770951152, 0.0313306488096714, 0.02469514310359955, 0.025648484006524086, -0.008781022392213345, -0.04070926085114479, -0.09156227111816406, -0.003133172867819667, 0.01745213381946087, 0.0009718923829495907, -0.08183092623949051, 0.014237900264561176, -0.034391798079013824, 0.02962394617497921, 0.05363816022872925, -0.05370248109102249, 0.041469473391771317, -0.01360366865992546, -0.006099261809140444, 0.0008326581446453929, -0.012833583168685436, 0.055682163685560226, -0.018091943114995956, 0.04504607617855072, 0.039416827261447906, 0.005663090385496616, -0.047240130603313446, 0.0038027819246053696, -0.022112809121608734, 0.027256987988948822, -0.040883202105760574, -0.0435902401804924, -0.043554116040468216, -0.07061542570590973, -0.027113452553749084, 0.019806990399956703, 0.018982281908392906, -0.04300486296415329, 0.00807543657720089, -0.0005760829662904143, -0.02126997895538807, -0.02060520648956299, -0.010364996269345284, -0.002777980174869299, -0.022439753636717796, -0.02104436606168747, -0.042334992438554764, 0.0403578095138073, 0.004216782283037901, -0.0011702190386131406, -0.006840321701020002, -0.01585112139582634, 0.031511832028627396, 0.014884591102600098, -0.01372706238180399, 0.02690603770315647, 0.02857217937707901, -0.03247002139687538 ]
338
LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
https://openreview.net/forum?id=chfJJYC3iL
[ "Naman Jain", "King Han", "Alex Gu", "Wen-Ding Li", "Fanjia Yan", "Tianjun Zhang", "Sida Wang", "Armando Solar-Lezama", "Koushik Sen", "Ion Stoica" ]
Poster
Large Language Models (LLMs) applied to code-related applications have emerged as a prominent field, attracting significant interest from academia and industry. However, as new and improved LLMs are developed, existing evaluation benchmarks (e.g., HumanEvla, MBPP) are no longer sufficient for assessing their capabilities suffering from data contamination, overfitting, saturation, and focus on merely code generation. In this work, we propose LiveCodeBench, a comprehensive and contamination-free evaluation of LLMs for code, which collects new problems over time from contests across three competition platforms, Leetcode, Atcoder, and Codeforces. Notably, our benchmark also focuses on a broader range of code-related capabilities, such as self-repair, code execution, and test output prediction, beyond just code generation. Currently, LiveCodeBench hosts over six hundred coding problems that were published between May 2023 and Aug 2024. We evaluate over 50 LLMs on LiveCodeBench (LCB for brevity) presenting the largest evaluation study of code LLMs on competition problems. Based on the study, we present novel empirical findings on contamination, overfitting, and holistic evaluations. We demonstrate that time-segmented evaluations serve as a robust approach to evade contamination; they are successful at detecting contamination across a wide range of open and closed models including GPT-4O, Claude, Deepseek, and Codestral. Next, we highlight overfitting and saturation of traditional coding benchmarks like HumanEvla and demonstrate LCB allows more reliable evaluations. Finally, our holistic evaluation scenarios allow for measuring the different capabilities of programming agents in isolation.
Code LLMs; Evaluation; Contaminationl; Overfitting
We build evaluation of code LLMs on new problems highlighting challenges like contamination and overfitting
13,402
2403.07974
[ 0.005137496627867222, -0.006309365388005972, -0.03368401899933815, 0.015292814001441002, 0.04004005342721939, 0.020919358357787132, 0.0039003323763608932, 0.020073682069778442, -0.03179624676704407, -0.011198241263628006, -0.02287776581943035, -0.008600975386798382, -0.08399277925491333, -0.010664120316505432, -0.01415053941309452, 0.05149029940366745, 0.04307910427451134, -0.02096611075103283, 0.05132153630256653, 0.036171071231365204, 0.011720264330506325, -0.0082427728921175, 0.004346500616520643, 0.012558793649077415, 0.0005697024753317237, 0.05429723486304283, 0.024279475212097168, 0.012161526829004288, -0.06463764607906342, -0.001587134669534862, 0.06683148443698883, -0.0011333482107147574, 0.05711613595485687, -0.019434021785855293, 0.011403878219425678, 0.022698113694787025, -0.07120127975940704, 0.05175962671637535, -0.002634843112900853, 0.005346481688320637, -0.011891120113432407, 0.03057793341577053, 0.0026046407874673605, 0.04257431998848915, -0.05396934971213341, 0.038310542702674866, -0.09882442653179169, 0.043295565992593765, -0.0008313230937346816, -0.012017526663839817, -0.08923330903053284, 0.001936336513608694, -0.013348179869353771, -0.003070656443014741, 0.012490029446780682, 0.029316483065485954, 0.07483384758234024, -0.09450535476207733, -0.02722853235900402, -0.04129423201084137, -0.025734372437000275, -0.011605114676058292, 0.02206433191895485, 0.010571173392236233, 0.01892518438398838, 0.00007969004946062341, 0.02670310251414776, 0.005529750604182482, -0.06987476348876953, -0.02488088794052601, 0.008378461003303528, 0.011224247515201569, -0.056549109518527985, -0.016851935535669327, -0.005820854101330042, -0.0515521802008152, -0.007491375785320997, 0.06647712737321854, 0.061567600816488266, 0.024495679885149002, 0.028319427743554115, 0.012523665092885494, 0.009605418890714645, 0.03131229430437088, 0.025685137137770653, 0.024067677557468414, -0.02432163991034031, -0.041018106043338776, -0.054617200046777725, 0.0249450895935297, 0.020456818863749504, -0.029607530683279037, 0.03813339024782181, 0.028329716995358467, 0.025569157674908638, 0.025904536247253418, 0.019164664670825005, 0.03969473019242287, -0.005162213928997517, 0.0023028196301311255, -0.051375336945056915, -0.014674197882413864, 0.005825940053910017, -0.007379073649644852, -0.0779101774096489, 0.002013919875025749, -0.03886319324374199, -0.033518362790346146, -0.022533932700753212, -0.029671451076865196, -0.0009040863369591534, -0.011732462793588638, 0.00409734109416604, -0.029507508501410484, -0.09049908071756363, 0.05503896623849869, -0.0321623757481575, 0.005057082045823336, 0.025205159559845924, 0.004482327029109001, 0.05882128328084946, 0.06420295685529709, -0.00033981041633524, 0.0954393669962883, 0.006425340659916401, 0.02414129488170147, 0.0371830090880394, 0.008803834207355976, -0.013949460349977016, -0.037905797362327576, 0.006579210516065359, 0.031591854989528656, 0.0006178365438245237, -0.00642063794657588, -0.006790475454181433, 0.03500181809067726, 0.025005949661135674, 0.015623297542333603, 0.02391342632472515, 0.025681424885988235, 0.0062892562709748745, -0.03625078126788139, 0.08242584764957428, -0.04576713964343071, 0.03797000274062157, 0.00003006735823873896, -0.03456420451402664, -0.016708500683307648, -0.02717255987226963, 0.0023740010801702738, 0.012464756146073341, 0.0410810150206089, -0.020653143525123596, -0.06195073574781418, 0.026895562186837196, 0.05033522844314575, -0.003141340333968401, -0.002917611738666892, -0.0035003379452973604, -0.0061448910273611546, 0.0004256208485458046, 0.01361620333045721, -0.06449446827173233, 0.01700829342007637, -0.011192717589437962, -0.028815772384405136, 0.03122807666659355, -0.015606443397700787, -0.039368387311697006, -0.005285888910293579, -0.039401642978191376, -0.020933428779244423, 0.08348214626312256, -0.012637652456760406, -0.019112398847937584, -0.013367517851293087, 0.05433784797787666, 0.0006358719547279179, 0.014993150718510151, 0.0380873903632164, -0.06713253259658813, 0.013862162828445435, 0.006441025994718075, -0.019578294828534126, 0.011304347775876522, -0.014318924397230148, 0.11569662392139435, -0.0467740073800087, -0.008888471871614456, 0.015452120453119278, -0.09301762282848358, -0.009197324514389038, 0.017222942784428596, 0.019160190597176552, 0.0626399964094162, -0.02594064362347126, -0.00694248965010047, 0.029884127900004387, 0.022536909207701683, 0.03387586772441864, 0.02644309587776661, 0.021222254261374474, 0.0245426706969738, -0.02406211942434311, -0.03104303777217865, 0.0029473165050148964, 0.059002835303545, -0.06893769651651382, -0.07790935784578323, -0.0013997395290061831, -0.007262158673256636, 0.012921933084726334, 0.020158803090453148, -0.0003548261593095958, 0.006794659420847893, -0.004730117041617632, 0.0037830900400877, -0.006408548913896084, 0.034090496599674225, -0.07078253477811813, 0.030542995780706406, 0.019825290888547897, -0.02633611299097538, -0.014433801174163818, -0.022962257266044617, 0.07704643160104752, 0.0631893053650856, -0.04060974344611168, 0.0030979777220636606, 0.025432346388697624, 0.008555267937481403, -0.01274039689451456, -0.013634360395371914, -0.06450788676738739, 0.012868455611169338, -0.047371771186590195, 0.00820480939000845, -0.016383811831474304, 0.04899340867996216, -0.017048008739948273, 0.007829018868505955, 0.053274501115083694, -0.01896447129547596, 0.02846076339483261, -0.017935412004590034, -0.017245441675186157, 0.0362732820212841, -0.006359596736729145, -0.027669845148921013, -0.022303026169538498, 0.0066290730610489845, 0.0010079118655994534, 0.03108261339366436, -0.03941589966416359, -0.009232282638549805, -0.06260422617197037, -0.038697678595781326, -0.023532738909125328, 0.03153107687830925, 0.04736686125397682, 0.012132437899708748, -0.007417366839945316, -0.007870853878557682, -0.04797878488898277, 0.0024623170029371977, -0.08719851821660995, -0.037251267582178116, 0.009962828829884529, 0.019891789183020592, -0.009357225149869919, 0.021831806749105453, 0.006855915300548077, -0.019853828474879265, -0.03823063150048256, 0.0063507407903671265, 0.013487674295902252, 0.049838513135910034, -0.016734013333916664, -0.06246371567249298, -0.03210526704788208, 0.007146085612475872, 0.03375525400042534, -0.03115006536245346, -0.036526888608932495, -0.03135572001338005, -0.0007035062881186604, 0.002567133167758584, -0.05365358665585518, -0.0031627302523702383, 0.023537181317806244, 0.028750309720635414, 0.029928850010037422, -0.0859885886311531, 0.010323541238904, 0.07786532491445541, 0.025655163452029228, 0.03427231311798096, 0.014662005938589573, -0.03046327270567417, 0.036600563675165176, 0.037205833941698074, 0.020470989868044853, -0.026246661320328712, 0.010617868043482304, -0.034129947423934937, 0.007311548106372356, 0.012737080454826355, -0.019397852942347527, -0.2640189826488495, 0.0031447780784219503, -0.006054003722965717, -0.0483328141272068, 0.03683542087674141, 0.018832977861166, 0.024232173338532448, -0.03348958492279053, -0.01664784550666809, 0.00006739617674611509, 0.0018023926531895995, 0.014029286801815033, 0.012079967185854912, 0.06023228168487549, 0.034323737025260925, 0.04479262977838516, -0.016642510890960693, -0.03884116932749748, -0.011646251194179058, 0.03853185102343559, 0.0030267999973148108, -0.06829304993152618, 0.013799472711980343, 0.005607139319181442, -0.008816715329885483, 0.033307407051324844, -0.09697296470403671, 0.026684116572141647, -0.023789476603269577, -0.015619279816746712, -0.027471555396914482, -0.017329582944512367, -0.02752440795302391, 0.010783380828797817, -0.012466797605156898, 0.024368634447455406, 0.04004013165831566, -0.004938222002238035, 0.01456736121326685, 0.030131176114082336, 0.012468874454498291, -0.024854473769664764, -0.051722511649131775, -0.010087333619594574, 0.08121839910745621, 0.017701374366879463, -0.05640682205557823, -0.039899442344903946, -0.01094756554812193, 0.04032139852643013, -0.02117825113236904, -0.018156876787543297, -0.0059500569477677345, 0.033382710069417953, -0.019892005249857903, -0.022139810025691986, -0.04079308733344078, -0.006838079541921616, -0.02656102180480957, 0.03755626454949379, -0.01978357695043087, -0.053957607597112656, -0.03555937483906746, -0.01660447008907795, -0.014157624915242195, -0.04551943764090538, -0.04617641121149063, -0.04871087148785591, 0.054664287716150284, 0.02434096485376358, 0.006281683687120676, 0.0026880695950239897, -0.001654094085097313, -0.1040424183011055, -0.0009908699430525303, -0.005840251222252846, -0.0146353580057621, -0.044651541858911514, 0.03212368115782738, 0.055048227310180664, -0.039765216410160065, -0.04030558094382286, 0.02033139020204544, -0.0028539306949824095, 0.018723566085100174, -0.048650458455085754, -0.005861181300133467, -0.029651537537574768, -0.03783993050456047, -0.051155995577573776, 0.06033075228333473, -0.00025375766563229263, -0.004879394080489874, 0.0014867386780679226, 0.04854584485292435, 0.02537771500647068, 0.032133542001247406, 0.03417463228106499, 0.01729441061615944, 0.04914999008178711, 0.012703738175332546, -0.06035558879375458, 0.01158116478472948, -0.05904848873615265, 0.009197128936648369, 0.024871399626135826, -0.055454596877098083, -0.017319926992058754, 0.03423180431127548, 0.029718484729528427, 0.003122687805444002, -0.016502410173416138, 0.005217424593865871, -0.02333945967257023, -0.008075122721493244, -0.022694382816553116, 0.028100693598389626, 0.013631420210003853, 0.01915193721652031, -0.029927343130111694, -0.03532351925969124, 0.022411424666643143, -0.011388527229428291, 0.03316715732216835, -0.021137457340955734, -0.033988211303949356, -0.014381478540599346, 0.008517591282725334, -0.005578516982495785, 0.011823673732578754, 0.000713878485839814, 0.06702922284603119, -0.001756613259203732, -0.02040780521929264, 0.06726756691932678, 0.0004938893835060298, -0.003992042969912291, -0.0011908215237781405, 0.02281365357339382, -0.025881577283143997, 0.027430448681116104, -0.01278374157845974, 0.017925389111042023, 0.0194203220307827, 0.021712956950068474, -0.0028571237344294786, 0.057548440992832184, -0.011371237225830555, -0.007143267896026373, -0.008343267254531384, 0.03286898508667946, -0.08392594009637833, 0.01728086546063423, -0.03316006064414978, 0.0011040375102311373, -0.031615883111953735, 0.009530859999358654, 0.009035819210112095, 0.006701475474983454, -0.06443965435028076, 0.03723108768463135, 0.009062068536877632, -0.01625339314341545, -0.0026780024636536837, 0.014346593990921974, 0.04755514860153198, -0.013440540060400963, 0.035027988255023956, 0.000552383076865226, -0.004764319863170385, -0.04595768079161644, -0.02428753487765789, -0.05070148780941963, -0.004851922858506441, -0.01835566572844982, -0.004303393419831991, 0.015384518541395664, -0.02568131312727928, -0.036952223628759384, 0.043301038444042206, 0.015053769573569298, -0.01956004649400711, 0.006102144718170166, 0.013701967895030975, 0.06478457897901535, -0.024528905749320984, 0.029744571074843407, -0.025040743872523308, -0.019755100831389427, 0.0038890985306352377, -0.0036604797933250666, -0.018945148214697838, 0.015465953387320042, -0.0018328557489439845, -0.05053580552339554, -0.06139620766043663, 0.015179118141531944, 0.04036720097064972, -0.002086471300572157, -0.04286827892065048, -0.0019079172052443027, 0.013097218237817287, -0.036346156150102615, -0.0040505253709852695, 0.02649279125034809, -0.06369801610708237, 0.0031605088151991367, 0.022816268727183342, -0.008660438470542431, 0.026600440964102745, -0.027996493503451347, -0.056317541748285294, -0.04977252706885338, -0.013207964599132538, -0.044724445790052414, 0.012522946111857891, -0.013835806399583817, 0.007138316053897142, -0.02493898756802082, -0.010239608585834503, -0.02566508762538433, 0.02131449058651924, -0.000216698826989159, -0.020022837445139885, -0.017546825110912323, 0.05143740773200989, -0.025557279586791992, 0.0006623080116696656, 0.030077697709202766, -0.02261357381939888, 0.06374064087867737, -0.055472929030656815, 0.046579282730817795, 0.04526669532060623, 0.00534064369276166, 0.006452903151512146, -0.04700750857591629, 0.02990126423537731, -0.00793908815830946, -0.009811650030314922, -0.00670614093542099, 0.015273978933691978, 0.014630422927439213, -0.004469581879675388, -0.018858518451452255, 0.05190625414252281, -0.006098810583353043, 0.0133045744150877, 0.006474152207374573, 0.015764383599162102, 0.024270961061120033, 0.04517132788896561, -0.009804954752326012, 0.007296879310160875, 0.08427870273590088, -0.05690412223339081, -0.03705389425158501, -0.08187588304281235, -0.053299546241760254, -0.01333712786436081, -0.014105292968451977, 0.024937402456998825, -0.015020628459751606, 0.05590936169028282, 0.024871395900845528, 0.023546703159809113, 0.02293366752564907, -0.05359074845910072, 0.031079692766070366, -0.07795050740242004, 0.019023699685931206, -0.07328198850154877, 0.023368533700704575, 0.055264126509428024, -0.01842641271650791, 0.0022401930764317513, 0.00205376953817904, -0.056526392698287964, 0.03166275471448898, -0.008497357368469238, -0.043700963258743286, 0.02130107395350933, -0.028604382649064064, -0.014645803719758987, 0.034326985478401184, -0.03597313538193703, 0.004682861268520355, 0.004515524487942457, -0.025648679584264755, -0.02022961899638176, 0.0041039674542844296, 0.03399752452969551, -0.008090591989457607, 0.04199109226465225, -0.020225342363119125, 0.02069758251309395, 0.005222566891461611, 0.02334395796060562, 0.04387136921286583, 0.020158320665359497, -0.02395222708582878, 0.08939417451620102, 0.044327329844236374, 0.0012022985611110926, 0.026812966912984848, 0.006141228601336479, -0.0299247894436121, -0.017137009650468826, 0.010197903029620647, 0.03327576816082001, -0.04907306283712387, -0.060254957526922226, 0.06965271383523941, 0.03139462694525719, -0.053602900356054306, -0.0011502974666655064, 0.013008205220103264, -0.08493125438690186, 0.020983129739761353, -0.020661726593971252, -0.006205292418599129, -0.02761920914053917, 0.06978411227464676, 0.03714628890156746, 0.006722730118781328, 0.06532072275876999, -0.007151584140956402, -0.006336728110909462, -0.015019284561276436, 0.07447098940610886, 0.08729888498783112, 0.012909888289868832, -0.007834093645215034, 0.04307965189218521, -0.04409407824277878, -0.02877478487789631, -0.009169025346636772, 0.01698268949985504, -0.05540698766708374, -0.023275300860404968, 0.01798023097217083, 0.09398824721574783, 0.014742197468876839, 0.061994411051273346, -0.04501146450638771, 0.02136537805199623, 0.04137880727648735, -0.005070612300187349, 0.023139113560318947, 0.08262348920106888, 0.03407370299100876, 0.001793532632291317, -0.01897292211651802, -0.013665310107171535, -0.022557564079761505, -0.01786642149090767, 0.01619669236242771, 0.024531804025173187, -0.003971921280026436, -0.008342399261891842, 0.007275103125721216, 0.0410078689455986, 0.07757336646318436, -0.0047446652315557, -0.014030040241777897, -0.0014789614360779524, -0.000119294214528054, 0.0316137857735157, 0.04747162386775017, -0.03819853439927101, -0.01814381405711174, -0.005940254312008619, -0.04573435336351395, -0.008849932812154293, 0.02041707932949066, -0.014647225849330425, 0.053927693516016006, -0.010639133863151073, -0.03303249925374985, 0.020306522026658058, 0.027252232655882835, -0.06892624497413635, -0.021584605798125267, -0.043295904994010925, -0.05872943252325058, -0.033016275614500046, -0.05805554240942001, 0.011173218488693237, 0.020325688645243645, -0.049645960330963135, -0.00946162361651659, -0.025739219039678574, -0.005453854333609343, 0.04705126956105232, -0.07448255270719528, -0.015951689332723618, 0.058118872344493866, 0.002283181995153427, -0.008878516964614391, 0.029640953987836838, 0.011262140236794949, -0.018525930121541023, -0.026844099164009094, 0.022692905738949776, 0.01807960495352745, 0.035161931067705154, -0.012034953571856022, -0.006609443109482527, -0.08809249103069305, 0.01248306967318058, 0.049989454448223114, -0.00037289076135493815, -0.07302701473236084, 0.031166115775704384, -0.04578785598278046, 0.038473036140203476, 0.07382242381572723, -0.003932864870876074, 0.05671975389122963, 0.022650014609098434, -0.01766284555196762, -0.010496691800653934, 0.007673239801079035, 0.04672796651721001, 0.00014867381833028048, 0.0676918551325798, 0.03259158506989479, -0.03935295343399048, -0.05092833936214447, 0.04537461698055267, -0.009663081727921963, -0.03664127737283707, -0.01740436628460884, 0.0067647588439285755, -0.045342396944761276, -0.07741179317235947, 0.03609898313879967, 0.037350233644247055, 0.008172307163476944, -0.04445139318704605, -0.008500995114445686, 0.005731372162699699, -0.04495549574494362, -0.0027323493268340826, 0.002886594505980611, 0.019980574026703835, -0.008530382066965103, -0.022469354793429375, -0.033301468938589096, -0.004717477597296238, 0.0011183898895978928, 0.01428892556577921, -0.00946769304573536, -0.03519760072231293, 0.014198483899235725, 0.020865118131041527, 0.067450150847435, 0.007845872081816196, 0.031659018248319626, 0.0004898775368928909 ]
339
ActionReasoningBench: Reasoning about Actions with and without Ramification Constraints
https://openreview.net/forum?id=NUD03NBDOE
[ "Divij Handa", "Pavel Dolin", "Shrinidhi Kumbhar", "Tran Cao Son", "Chitta Baral" ]
Poster
Reasoning about Actions and Change (RAC) has historically played a pivotal role in solving foundational AI problems, such as the frame problem. It has driven advancements in AI fields, such as non-monotonic and commonsense reasoning. RAC remains crucial for AI systems that operate in dynamic environments, engage in interactive scenarios, or rely on commonsense reasoning. Despite substantial advances made by Large Language Models (LLMs) in various AI domains, their performance in RAC remains underexplored. To address this gap, we introduce a new diagnostic benchmark, $\textbf{ActionReasoningBench}$, which encompasses 8 domains and includes questions for up to 19 action sequences. This benchmark rigorously evaluates LLMs across six key RAC dimensions: $\textit{Fluent Tracking}$, $\textit{State Tracking}$, $\textit{Action Executability}$, $\textit{Effects of Actions}$, $\textit{Numerical RAC}$, and $\textit{Composite Questions}$. LLMs demonstrate average accuracy rates of 73.55%, 65.63%, 58.73%, and 62.38% on the former four dimensions, which are frequently discussed in RAC literature. However, the performance on the latter two dimensions, which introduce complex and novel reasoning questions, the average performance of LLMs is lowered to 33.16% and 51.19%, respectively, reflecting a 17.9% performance decline. We also introduce new ramification constraints to capture the indirect effects of actions, providing deeper insights into RAC challenges. Our evaluation of state-of-the-art LLMs, including both open-source and commercial models, reveals challenges across all RAC dimensions, particularly in handling ramifications, with GPT-4o failing to solve any question and o1-preview achieving a score of only 18.4%.
Reasoning about Actions and Change (RAC), Benchmark, Large Language Models (LLMs)
The paper introduces ActionReasoningBench, a diagnostic benchmark for Reasoning about Actions and Change (RAC) covering novel complex questions and indirect effects of actions, known as ramifications.
13,401
2406.04046
[ -0.02555803209543228, -0.034889690577983856, -0.027766002342104912, 0.011118187569081783, 0.037912026047706604, 0.002209262689575553, 0.04245780035853386, 0.0065300846472382545, -0.03321051597595215, -0.01713055558502674, -0.011043691076338291, 0.03433451056480408, -0.03993565961718559, -0.011344153434038162, 0.0037847012281417847, 0.07630528509616852, 0.02876904234290123, -0.022250238806009293, 0.031423479318618774, -0.0069208331406116486, -0.0014292090199887753, 0.008092766627669334, 0.03121020644903183, 0.0021563624031841755, 0.05744369328022003, 0.03218955546617508, 0.043644458055496216, 0.0031781920697540045, -0.023868253454566002, -0.01861145719885826, 0.015945125371217728, -0.01074673980474472, 0.04078393802046776, -0.0322890430688858, 0.009919634088873863, -0.01408297847956419, -0.030492689460515976, 0.01738976500928402, 0.004146937746554613, -0.02255905419588089, -0.04300235956907272, 0.026561317965388298, -0.025980722159147263, -0.0019156388007104397, -0.03101396933197975, 0.0037563468795269728, -0.07959876209497452, 0.04463139921426773, 0.04823723062872887, -0.004259094595909119, -0.09565019607543945, 0.04835120216012001, -0.028948403894901276, -0.03183172270655632, 0.026916831731796265, 0.034080490469932556, 0.04153236001729965, -0.07939784228801727, 0.003428478492423892, -0.043817948549985886, -0.019474484026432037, 0.023104099556803703, 0.014157627709209919, -0.01019291952252388, -0.019239863380789757, -0.02515842393040657, 0.010961919091641903, 0.04840791970491409, -0.03243514895439148, -0.016001492738723755, -0.0375235341489315, 0.00042151924571953714, -0.0041233547963202, 0.0075604356825351715, 0.003587364451959729, -0.03042062558233738, 0.04827525094151497, 0.0252998024225235, 0.06837712228298187, -0.022882090881466866, 0.02836124785244465, 0.0330563448369503, 0.005078810732811689, 0.03120429255068302, 0.08051924407482147, 0.00488650519400835, -0.010542069561779499, -0.029604604467749596, -0.07000146806240082, 0.000536261301022023, 0.00797402672469616, -0.04845534265041351, 0.015957916155457497, 0.06518219411373138, -0.001182922045700252, 0.024466024711728096, 0.0155640272423625, 0.015556350350379944, 0.029243044555187225, -0.01169624924659729, -0.01196917612105608, -0.005467564798891544, 0.037401702255010605, 0.0009219852508977056, -0.1035439670085907, -0.0035003237426280975, -0.04520010948181152, -0.023291898891329765, 0.028648950159549713, 0.0018239200580865145, -0.032316986471414566, 0.019019292667508125, 0.009012166410684586, -0.028630614280700684, -0.07354801148176193, 0.02304098941385746, 0.012223156169056892, 0.04580720514059067, 0.021378647536039352, 0.05218905955553055, 0.05667123198509216, 0.047954708337783813, 0.022609293460845947, 0.06501591950654984, -0.016498619690537453, -0.0002513407962396741, -0.015248184092342854, 0.00688864104449749, -0.0249690692871809, -0.045553263276815414, 0.03205949813127518, 0.02618325687944889, -0.0037526811938732862, -0.01861150562763214, -0.008634310215711594, 0.023509075865149498, 0.02574850618839264, 0.012436036951839924, 0.027513401582837105, 0.01925874687731266, -0.015027673915028572, -0.030999399721622467, 0.08959402143955231, -0.03537890315055847, 0.08183717727661133, 0.0035758879967033863, -0.009687144309282303, -0.005099857226014137, -0.05577114224433899, 0.01231446210294962, 0.006433871574699879, 0.028907909989356995, -0.002232236322015524, -0.045584045350551605, 0.01435899082571268, 0.05002666264772415, -0.0009449268109165132, -0.028879491612315178, 0.01708143949508667, 0.011729828082025051, 0.007972907274961472, -0.004549728240817785, -0.05784469470381737, -0.003705178387463093, 0.004075437318533659, -0.03618206828832626, 0.01888711377978325, -0.020247161388397217, -0.05015323683619499, -0.0052418033592402935, -0.05141525715589523, -0.03020874410867691, 0.07663872838020325, -0.028592726215720177, -0.0017832532757893205, 0.0105628976598382, 0.06534244865179062, -0.022353366017341614, 0.06338568776845932, 0.023633861914277077, -0.06407762318849564, 0.025930188596248627, -0.03389938920736313, 0.011576270684599876, -0.008951951749622822, -0.0041310787200927734, 0.06636624038219452, -0.036619994789361954, 0.02180519700050354, 0.007613742258399725, -0.08568621426820755, -0.04873477295041084, 0.04756387323141098, 0.012791331857442856, 0.08046773821115494, -0.02106967754662037, -0.024285027757287025, 0.06970824301242828, -0.017457347363233566, 0.0779869556427002, 0.0208221897482872, 0.011117973364889622, 0.030880160629749298, -0.023856909945607185, -0.00859002210199833, 0.012376377359032631, 0.055617693811655045, -0.044129759073257446, -0.043988943099975586, 0.024393191561102867, -0.026448165997862816, 0.0021742586977779865, 0.014960293658077717, 0.00863852072507143, 0.00581462774425745, 0.02468905597925186, -0.009032469242811203, 0.01330657210201025, 0.02316681668162346, -0.04082530736923218, 0.01266056951135397, -0.004073119256645441, -0.03894959017634392, -0.00893640797585249, -0.04473734647035599, 0.07480964064598083, 0.04719344899058342, -0.031058378517627716, -0.025561200454831123, 0.03987909480929375, -0.006475500296801329, 0.02456805482506752, -0.0011252303374931216, -0.027505945414304733, 0.023605497553944588, -0.038637079298496246, 0.003920138347893953, -0.0037715125363320112, 0.03536342829465866, -0.02865007147192955, -0.005316540133208036, 0.0645509585738182, -0.002524573588743806, 0.0590471476316452, -0.005491664167493582, -0.0005474975914694369, 0.038753509521484375, 0.004975517746061087, 0.008886239491403103, 0.0033029518090188503, -0.015099427662789822, -0.0003565523657016456, 0.044518839567899704, -0.01037556305527687, -0.011876887641847134, -0.05753085017204285, -0.004095303360372782, -0.04282592236995697, 0.053673066198825836, 0.040198829025030136, 0.021808946505188942, 0.013904889114201069, 0.009914402849972248, -0.039128899574279785, -0.0000170638995768968, -0.10898640006780624, -0.04444601386785507, -0.0035910189617425203, 0.014682925306260586, 0.03376704081892967, 0.02884696237742901, -0.006594948470592499, 0.03664390742778778, -0.019120078533887863, -0.026816468685865402, 0.0031187019776552916, 0.012067776173353195, 0.005069451872259378, -0.028749072924256325, -0.021267244592308998, -0.007688350509852171, 0.04241533949971199, -0.04564639925956726, -0.013813318684697151, 0.013421865180134773, -0.01794213429093361, 0.04539739713072777, -0.04670146480202675, -0.009055545553565025, 0.054147008806467056, 0.00806866679340601, 0.007840209640562534, -0.06319084018468857, 0.017604650929570198, 0.05701746791601181, 0.04597233235836029, 0.03300226107239723, -0.024279382079839706, -0.013508975505828857, 0.019625790417194366, -0.015323267318308353, 0.005957518704235554, -0.00801700260490179, 0.0278004240244627, -0.00867748074233532, -0.006899509113281965, -0.020001940429210663, 0.022289665415883064, -0.26241713762283325, -0.008417347446084023, -0.010308333672583103, -0.013509705662727356, 0.026023725047707558, -0.003429038217291236, 0.05690895393490791, -0.04456169903278351, -0.038239751011133194, 0.007440509274601936, 0.041558071970939636, -0.011469930410385132, 0.014706725254654884, 0.07659510523080826, 0.037152133882045746, 0.0401952750980854, -0.01729939505457878, -0.03742636740207672, -0.0026056247297674417, 0.022557154297828674, 0.017668597400188446, -0.06463190168142319, -0.015375548042356968, 0.027305293828248978, 0.014360394328832626, 0.04580014944076538, -0.10147301107645035, -0.004460194613784552, -0.014089108444750309, -0.026324989274144173, 0.015078139491379261, 0.0031201455276459455, -0.021172771230340004, 0.03243902698159218, -0.00558478245511651, 0.019119566306471825, 0.05881361663341522, -0.008349248208105564, 0.06458085030317307, 0.016982153058052063, 0.017565127462148666, -0.0437297597527504, 0.001493660151027143, 0.004501736722886562, 0.06395738571882248, -0.012396957725286484, -0.058128997683525085, -0.041131291538476944, -0.02055373042821884, 0.033832941204309464, -0.008549926802515984, -0.015203933231532574, -0.029688352718949318, 0.003434310434386134, 0.010042448528110981, -0.06729649007320404, 0.0016761283623054624, -0.01710493490099907, 0.008817892521619797, 0.012709913775324821, -0.0007450630655512214, -0.029576938599348068, -0.018187141045928, -0.025591176003217697, -0.0400727204978466, -0.060983601957559586, -0.05036839470267296, -0.05833662673830986, 0.06753012537956238, 0.04622659832239151, -0.024898380041122437, 0.012084836140275002, -0.025107553228735924, -0.0945308730006218, -0.03180467337369919, -0.0065995994955301285, -0.002619480947032571, -0.03586890920996666, 0.008240575902163982, 0.036066070199012756, -0.04543543979525566, -0.03500926494598389, -0.0196875911206007, 0.016726383939385414, 0.012146666646003723, 0.015892615541815758, 0.059099406003952026, -0.031328316777944565, -0.02813149057328701, -0.005549540743231773, 0.04988515004515648, -0.0033699350897222757, -0.0026602917350828648, -0.009619849734008312, 0.061870429664850235, 0.0018629913683980703, 0.03442918136715889, 0.02719016745686531, 0.03554259613156319, 0.004130431450903416, -0.005481349304318428, -0.07617557793855667, 0.0243168193846941, -0.057561591267585754, -0.030292758718132973, 0.007020978257060051, -0.029354125261306763, 0.0028590208385139704, 0.031775932759046555, 0.030361203476786613, -0.04045609384775162, -0.016773857176303864, 0.00732335215434432, 0.0074087646789848804, 0.00785121787339449, 0.00016999577928800136, -0.01705707237124443, 0.03435960412025452, 0.018844066187739372, -0.0002985266619361937, -0.05040518939495087, 0.013027445413172245, -0.06270615011453629, 0.019026093184947968, -0.035627443343400955, -0.010574722662568092, -0.022177500650286674, -0.007283499930053949, 0.008889328688383102, 0.008597142063081264, 0.02395518496632576, 0.02720564417541027, -0.014701765030622482, 0.01020018756389618, 0.03920774906873703, -0.04157138988375664, -0.004403824917972088, 0.005866948049515486, 0.007341936696320772, -0.026421936228871346, 0.016941670328378677, -0.040408581495285034, 0.027980316430330276, 0.036654189229011536, 0.03608746454119682, -0.0028736612293869257, 0.029622646048665047, 0.00948026031255722, 0.014836856164038181, -0.012086436152458191, 0.04678306356072426, -0.06754650175571442, 0.028482705354690552, -0.0351371131837368, 0.011770385317504406, -0.04867387190461159, -0.001013175118714571, -0.042519427835941315, 0.017270507290959358, -0.05077853426337242, 0.041555654257535934, -0.0030076918192207813, 0.0008168842177838087, -0.03641073778271675, 0.012063226662576199, 0.05814238265156746, -0.03087117336690426, -0.005175518337637186, 0.004815155174583197, -0.008299686945974827, -0.04525194689631462, -0.0565006323158741, -0.013648060150444508, 0.014390602707862854, -0.017473747953772545, 0.02428555302321911, -0.0000364413826901, -0.04220861569046974, -0.014006124809384346, 0.023988595232367516, -0.005591512657701969, -0.07458864152431488, 0.003564388258382678, 0.004679572302848101, 0.062317006289958954, 0.01536953542381525, 0.016172688454389572, -0.021166715770959854, -0.03739830479025841, -0.007615501061081886, -0.012825326062738895, 0.02698763832449913, -0.006675281561911106, -0.03903113305568695, -0.047493476420640945, -0.06637085974216461, 0.01690240018069744, -0.0030533671379089355, 0.01265687681734562, -0.005378587171435356, -0.012603498063981533, -0.007867330685257912, -0.046905480325222015, -0.002053268952295184, 0.032925985753536224, -0.06119498983025551, -0.0014225236373022199, 0.01610027812421322, 0.03185414895415306, 0.02814842201769352, -0.05553737282752991, -0.05582600459456444, -0.04974820837378502, -0.0328078418970108, 0.0018563782796263695, 0.0016508795088157058, -0.017414560541510582, -0.007171023637056351, -0.04157072305679321, -0.0016176843782886863, 0.004492050036787987, -0.006758654024451971, -0.01326900627464056, -0.022596143186092377, -0.021532660350203514, 0.017413247376680374, 0.00044445900130085647, -0.031505286693573, 0.03002680093050003, -0.01709556020796299, 0.0502016544342041, -0.031648337841033936, 0.023872854188084602, 0.02366645447909832, 0.02556844800710678, -0.015781894326210022, -0.06865472346544266, 0.0438351184129715, 0.00946336705237627, -0.033274032175540924, 0.0005492091877385974, 0.0015001196879893541, 0.007303479593247175, 0.012508749961853027, -0.01808549277484417, 0.022748688235878944, 0.015710800886154175, -0.014347623102366924, 0.009867411106824875, 0.008180460892617702, 0.019135816022753716, -0.003849950386211276, -0.029344910755753517, -0.014763519167900085, 0.07043013721704483, -0.05452913045883179, -0.011745698750019073, -0.03466447815299034, -0.06872571259737015, 0.03546532243490219, -0.005269987042993307, 0.01112185325473547, -0.0377303808927536, 0.03478248417377472, -0.0018354782368987799, 0.025910763069987297, 0.024328015744686127, -0.04105599224567413, 0.05922410264611244, -0.034872524440288544, -0.0037886134814471006, -0.07032956928014755, -0.0020476561039686203, 0.07896871119737625, -0.03752722591161728, -0.03334999084472656, 0.004432692192494869, -0.07008832693099976, 0.06792308390140533, 0.006029399577528238, -0.04087702929973602, 0.04247556999325752, -0.015011300332844257, -0.020331183448433876, 0.022482343018054962, -0.03710578754544258, 0.006413882598280907, 0.018706195056438446, -0.032455578446388245, 0.018294114619493484, -0.021052584052085876, 0.05822001397609711, -0.004116194788366556, 0.044745415449142456, -0.0196041502058506, -0.006021922919899225, 0.03362036123871803, 0.0571463480591774, 0.039749499410390854, 0.056032001972198486, -0.025019999593496323, 0.06561145186424255, 0.050481442362070084, 0.036028772592544556, -0.01691393367946148, 0.007344343699514866, -0.047307465225458145, -0.038434598594903946, 0.04081523045897484, 0.03972768411040306, -0.04033534228801727, -0.06063979119062424, 0.08832822740077972, 0.009728847071528435, -0.041952233761548996, 0.009089373983442783, -0.0027083796449005604, -0.05563459172844887, -0.026849325746297836, 0.0013657776871696115, -0.0010203670244663954, 0.021568819880485535, 0.043748367577791214, -0.014989827759563923, 0.07436821609735489, 0.07681568711996078, 0.013126259669661522, -0.006250402890145779, -0.04110921919345856, 0.06812454760074615, 0.03626550734043121, 0.06354481726884842, 0.0007388097001239657, 0.07350686192512512, -0.030347157269716263, -0.054383762180805206, 0.055102765560150146, 0.03783676400780678, -0.0028821767773479223, -0.04997944459319115, 0.027417253702878952, 0.08367793262004852, -0.02509879879653454, 0.03690432384610176, -0.048875417560338974, -0.013172507286071777, 0.07174449414014816, 0.01661181077361107, -0.0004687383188866079, 0.054544396698474884, 0.029604364186525345, 0.002011326141655445, 0.0011281847255304456, -0.02623923309147358, -0.018823914229869843, -0.023404624313116074, -0.014247799292206764, 0.023167941719293594, -0.024061115458607674, 0.003524746047332883, -0.0030714147724211216, 0.0404636487364769, 0.11309250444173813, -0.03665715456008911, -0.011083167977631092, 0.03917215019464493, 0.025320257991552353, 0.02459917962551117, 0.03144809603691101, 0.007006182335317135, -0.0447382889688015, 0.020584946498274803, -0.03376002609729767, 0.014816753566265106, 0.03091895766556263, -0.022806009277701378, 0.04252343997359276, -0.04870671406388283, -0.04801171272993088, 0.016309604048728943, 0.005091760773211718, -0.023468589410185814, -0.04377682879567146, -0.044706180691719055, -0.03456316888332367, -0.03379150852560997, -0.027306506410241127, 0.009265387430787086, -0.0008663197513669729, -0.04343514144420624, -0.015020545572042465, -0.03636324033141136, 0.02501450479030609, 0.017077211290597916, -0.051204755902290344, 0.005126424133777618, 0.03562752902507782, -0.006656115408986807, -0.005282741505652666, 0.048323389142751694, 0.009446274489164352, -0.017436785623431206, -0.01109293568879366, 0.018184401094913483, 0.02219104766845703, -0.01852165162563324, -0.002115181414410472, -0.057063426822423935, -0.09112487733364105, -0.021252648904919624, 0.0004731498484034091, -0.019696395844221115, -0.07350800186395645, 0.010112693533301353, -0.043663185089826584, -0.014356506988406181, 0.09212783724069595, 0.02310584858059883, 0.0553787536919117, 0.0032026050612330437, -0.01139654591679573, 0.03768666461110115, 0.037994634360075, 0.035990867763757706, -0.04316391050815582, 0.04955677688121796, 0.06657784432172775, -0.04793262481689453, -0.051948778331279755, 0.02824174240231514, -0.017308177426457405, -0.023964326828718185, -0.005285579711198807, -0.03775209188461304, -0.04384462535381317, -0.10641735047101974, 0.002620926359668374, 0.03302707523107529, -0.007575251627713442, -0.02637060359120369, -0.01079458836466074, -0.012743476778268814, -0.01929069310426712, 0.005838272161781788, -0.015669630840420723, 0.0017758543835952878, -0.020751258358359337, -0.05731150880455971, -0.048165302723646164, 0.025517944246530533, -0.019932253286242485, -0.0034872801043093204, -0.023449257016181946, -0.033213455229997635, 0.009384253062307835, 0.004580935928970575, 0.042115796357393265, -0.019149050116539, 0.01892048865556717, -0.066382497549057 ]
340
No Preference Left Behind: Group Distributional Preference Optimization
https://openreview.net/forum?id=bgpNJBD6Va
[ "Binwei Yao", "Zefan Cai", "Yun-Shiuan Chuang", "Shanglin Yang", "Ming Jiang", "Diyi Yang", "Junjie Hu" ]
Poster
Preferences within a group of people are not uniform but follow a distribution. While existing alignment methods like Direct Preference Optimization (DPO) attempt to steer models to reflect human preferences, they struggle to capture the distributional pluralistic preferences within a group. These methods often skew toward dominant preferences, overlooking the diversity of opinions, especially when conflicting preferences arise. To address this issue, we propose Group Distributional Preference Optimization (GDPO), a novel framework that aligns language models with the distribution of preferences within a group by incorporating the concept of beliefs that shape individual preferences. GDPO calibrates a language model using statistical estimation of the group's belief distribution and aligns the model with belief-conditioned preferences, offering a more inclusive alignment framework than traditional methods. In experiments using both synthetic controllable opinion generation and real-world movie review datasets, we show that DPO fails to align with the targeted belief distributions, while GDPO consistently reduces this alignment gap during training. Additionally, our evaluation metrics demonstrate that GDPO outperforms existing approaches in aligning with group distributional preferences, marking a significant advance in pluralistic alignment.
preference alignment; large language model; fairness; group preferences
null
13,392
2412.20299
[ 0.0014668211806565523, 0.01752849854528904, 0.015682481229305267, 0.04944256693124771, 0.018914926797151566, 0.05146140232682228, 0.0191258005797863, 0.01740862987935543, -0.019629167392849922, -0.02769724279642105, -0.016199056059122086, 0.03496760502457619, -0.09316069632768631, -0.024240247905254364, -0.02826116979122162, 0.03444243595004082, -0.004764323588460684, 0.005606234539300203, -0.036142945289611816, -0.002361732767894864, 0.025893427431583405, -0.03225532919168472, -0.005892560817301273, 0.015093889087438583, 0.04945627972483635, -0.007062320597469807, 0.05986248701810837, -0.014466101303696632, -0.026690002530813217, -0.016043243929743767, 0.02567419968545437, -0.00029094427009113133, 0.004646163899451494, 0.01632230542600155, -0.042868178337812424, -0.017583053559064865, -0.029497791081666946, 0.0038909350987523794, 0.021686242893338203, 0.06038900837302208, -0.011145791038870811, -0.003026756923645735, -0.01268583070486784, -0.015061451122164726, -0.026302101090550423, 0.017024902626872063, -0.08705563843250275, 0.07018502801656723, -0.034573107957839966, -0.052217528223991394, -0.10897853225469589, 0.027722639963030815, 0.022780634462833405, -0.03251153603196144, -0.010926885530352592, 0.030046094208955765, 0.028054112568497658, -0.06771092861890793, -0.026036487892270088, -0.06998781859874725, -0.030615203082561493, 0.041908882558345795, 0.02157340571284294, -0.005977483466267586, -0.0020001991651952267, -0.016559511423110962, -0.0037764636799693108, 0.03539657220244408, -0.04240399971604347, -0.04017509147524834, -0.06804883480072021, -0.03465103358030319, 0.03483286499977112, 0.010527756996452808, -0.013819469138979912, -0.04116882383823395, 0.011172483675181866, 0.033151380717754364, 0.05192311108112335, 0.002177428686991334, 0.0003404699091333896, 0.012300325557589531, 0.00817188061773777, 0.03806561231613159, 0.028753012418746948, -0.009247180074453354, 0.009292267262935638, -0.029628343880176544, -0.07583920657634735, 0.04620400443673134, -0.03538685292005539, -0.06382787972688675, 0.01494919415563345, 0.02898995205760002, 0.03561943396925926, 0.01722324639558792, 0.03573278337717056, 0.021926848217844963, -0.016639895737171173, -0.026128975674510002, -0.01827390491962433, -0.029181284829974174, 0.026400621980428696, -0.012811395339667797, -0.10183025896549225, -0.026416558772325516, 0.004703409969806671, 0.02826290763914585, 0.007019944489002228, -0.00272972509264946, -0.061913277953863144, 0.014967331662774086, 0.035364679992198944, 0.006380368024110794, -0.050881847739219666, 0.03373602405190468, -0.007853218354284763, 0.004406234715133905, 0.01670229062438011, -0.018636930733919144, 0.04067118093371391, 0.019472921267151833, 0.004208259284496307, 0.0849699154496193, -0.033392053097486496, 0.030914297327399254, 0.032226335257291794, 0.029213886708021164, -0.044224128127098083, -0.046874020248651505, 0.0033755567856132984, 0.01260207500308752, -0.01600145734846592, 0.006875181570649147, -0.024347802624106407, -0.005383499898016453, 0.03730010986328125, 0.013765196315944195, 0.06832817196846008, -0.00395280122756958, -0.00669724028557539, 0.007013564929366112, 0.07563275098800659, -0.008883325383067131, 0.0677974596619606, -0.03047146275639534, 0.009497864171862602, -0.03033488057553768, -0.037722259759902954, 0.01422030758112669, 0.003430065466091037, -0.00522331427782774, 0.024209460243582726, -0.06589243561029434, 0.014085870236158371, 0.04482926055788994, 0.04585922881960869, 0.010609785094857216, 0.025171374902129173, 0.020010612905025482, -0.013524492271244526, 0.007493297103792429, -0.03812218829989433, -0.00351702724583447, 0.013023247942328453, -0.07124263793230057, 0.029396656900644302, 0.023859258741140366, -0.033197931945323944, -0.015154311433434486, -0.03688427060842514, -0.026325106620788574, 0.02828819677233696, 0.0024674374144524336, 0.023242568597197533, 0.0030468166805803776, 0.04915575683116913, 0.01584329828619957, 0.04606861248612404, 0.03312445431947708, -0.07464180886745453, 0.026972079649567604, 0.012670229189097881, 0.0002456484653521329, 0.02173246443271637, 0.008056952618062496, 0.026020310819149017, -0.013164632953703403, 0.020232602953910828, 0.060954492539167404, -0.07460332661867142, -0.03451753035187721, 0.04936068505048752, -0.019183117896318436, 0.06835891306400299, -0.00025928698596544564, -0.02217824012041092, 0.05963928997516632, 0.043324604630470276, 0.036123376339673996, 0.020280154421925545, -0.03618243336677551, 0.02308512292802334, 0.014690963551402092, -0.03247900307178497, 0.008788625709712505, 0.013869138434529305, -0.017695944756269455, -0.02477838844060898, 0.02330680377781391, -0.04106571152806282, 0.03145400434732437, 0.006907053291797638, 0.0025018576998263597, 0.026697026565670967, -0.020304828882217407, -0.024151500314474106, 0.012031645514070988, 0.015252762474119663, -0.023673132061958313, 0.027360711246728897, 0.028304481878876686, -0.010932210832834244, -0.009932887740433216, -0.027300119400024414, 0.08203484117984772, 0.07654713094234467, -0.02181275188922882, 0.013976100832223892, 0.05747075006365776, 0.021352659910917282, 0.03941509872674942, 0.04990696161985397, -0.02562842331826687, 0.029695741832256317, -0.006065408233553171, 0.0005874884664081037, -0.05708723142743111, 0.0725780576467514, -0.01814298890531063, 0.0013147518038749695, 0.053508516401052475, -0.02152557112276554, 0.0641811415553093, -0.02146773412823677, 0.028986049816012383, 0.03302584961056709, 0.005540867801755667, -0.03325163573026657, -0.013918392360210419, -0.04402273893356323, 0.01845061220228672, 0.018582411110401154, -0.01706509105861187, 0.03341040387749672, -0.03287874162197113, 0.0258933138102293, 0.00249869329854846, 0.0628783330321312, 0.04126810282468796, 0.0028031617403030396, 0.02831965498626232, -0.012106044217944145, -0.06068507954478264, 0.009544091299176216, -0.08507498353719711, -0.051692452281713486, 0.04583524540066719, -0.0035240293946117163, -0.008484039455652237, 0.04134811460971832, -0.03691868484020233, 0.009440941736102104, -0.037093739956617355, -0.033720508217811584, 0.012945964932441711, 0.012810546904802322, -0.00852807704359293, -0.028371166437864304, -0.02385666035115719, 0.003056126879528165, 0.04742893949151039, -0.03301355242729187, -0.0005111724603921175, -0.02251630835235119, -0.06496844440698624, 0.0013069725828245282, -0.0494186207652092, 0.0003924919874407351, 0.04299847409129143, 0.06334830820560455, 0.004406975116580725, 0.012256301939487457, -0.009024580009281635, 0.047567542642354965, 0.04452160745859146, 0.0656435489654541, 0.004775106441229582, -0.0073463828302919865, 0.053723230957984924, 0.015404774807393551, 0.021982083097100258, 0.008096665143966675, 0.016200624406337738, -0.003044546814635396, -0.00842662900686264, 0.032127704471349716, -0.008142870850861073, -0.2690487504005432, -0.012600352056324482, -0.006462135352194309, -0.007687316741794348, 0.025017056614160538, -0.015717539936304092, 0.06267493963241577, -0.05537305027246475, -0.03936777263879776, 0.015279937535524368, 0.024210849776864052, 0.008723028935492039, 0.014267617836594582, 0.05253418907523155, 0.03565308451652527, 0.04829251021146774, 0.002465221332386136, -0.018925102427601814, 0.011263800784945488, 0.028052713721990585, -0.012348377145826817, -0.09118535369634628, -0.009098179638385773, 0.012462356127798557, 0.010448078624904156, 0.05802354961633682, -0.05560125783085823, -0.004651281051337719, -0.037973012775182724, -0.018500369042158127, -0.01467095222324133, -0.006352047435939312, -0.022419027984142303, 0.016699928790330887, 0.0355539470911026, -0.02791069820523262, 0.04907122254371643, -0.011680440977215767, 0.012082093395292759, 0.0278946440666914, -0.015346127562224865, -0.005742577835917473, -0.023124344646930695, -0.000580267165787518, 0.05099666491150856, 0.02057644911110401, -0.06263680011034012, -0.023107286542654037, -0.023306911811232567, 0.031393714249134064, 0.01355472020804882, -0.011110583320260048, -0.020855918526649475, 0.042285241186618805, 0.012034522369503975, 0.000458514696219936, 0.011244233697652817, -0.02036406844854355, -0.013586744666099548, 0.00017290136020164937, 0.0270168986171484, -0.040512170642614365, 0.016463574022054672, -0.012708811089396477, -0.030633501708507538, -0.031624291092157364, -0.09725061804056168, -0.03664439544081688, 0.021811360493302345, 0.04245351254940033, -0.03970808535814285, -0.00044247627374716103, 0.005701306276023388, -0.08851101249456406, -0.02113492414355278, -0.03898662328720093, 0.017896408215165138, -0.02022003009915352, -0.009820906445384026, 0.03123742900788784, -0.03059461899101734, -0.02740027755498886, 0.013304139487445354, 0.015281454659998417, 0.030678432434797287, -0.02557910792529583, 0.019832294434309006, -0.03776972368359566, -0.02936568483710289, -0.0666407123208046, 0.03701426833868027, -0.012614374980330467, 0.030274037271738052, 0.005315613467246294, 0.0676717758178711, 0.027239706367254257, 0.01299621257930994, 0.04331742972135544, 0.019418302923440933, 0.00524953892454505, 0.00007015575101831928, -0.1001446396112442, -0.042478639632463455, -0.03998200595378876, -0.03323827683925629, 0.048986949026584625, -0.07120737433433533, -0.026240766048431396, 0.023989565670490265, -0.0025150710716843605, -0.015148813836276531, -0.03232179582118988, -0.005986926611512899, -0.0010072977747768164, -0.02769399993121624, -0.026052838191390038, 0.00023989634064491838, 0.04663200303912163, 0.033027347177267075, 0.00914035551249981, 0.01463604811578989, 0.035217225551605225, -0.022199256345629692, -0.003473420161753893, -0.0681808739900589, -0.0008569316123612225, -0.009601108729839325, -0.04627939686179161, -0.014501938596367836, -0.014334972016513348, 0.04113486036658287, 0.034891799092292786, 0.025457419455051422, 0.001371455960907042, 0.04299434274435043, -0.0027122963219881058, -0.016170570626854897, -0.03880588710308075, 0.011365270242094994, -0.013563643209636211, 0.010467775166034698, -0.03826455399394035, 0.007305801846086979, 0.013870027847588062, 0.0073222690261900425, 0.003937544766813517, 0.019808320328593254, 0.037297967821359634, -0.03174813091754913, 0.04909288510680199, 0.04477304592728615, -0.02824878878891468, -0.008765127509832382, -0.0146868284791708, 0.011448531411588192, 0.025360651314258575, 0.02602204494178295, 0.01303962990641594, -0.010976219549775124, -0.061850737780332565, 0.024832462891936302, -0.013487023301422596, 0.0021714074537158012, 0.00736139714717865, 0.03989941626787186, 0.02712204121053219, -0.0379997082054615, -0.02296561375260353, -0.005183963105082512, 0.01821763627231121, 0.03704823926091194, 0.011313315480947495, -0.009449737146496773, -0.02502439357340336, -0.04329528659582138, -0.025108015164732933, 0.04284735023975372, -0.02515103667974472, -0.055790212005376816, 0.027834085747599602, -0.0018324233824387193, -0.03086337074637413, -0.006309430580586195, -0.01426198985427618, 0.06390735507011414, 0.03296538069844246, -0.008976142853498459, -0.01954008638858795, -0.019711753353476524, 0.01517408061772585, -0.01289614662528038, 0.00427612941712141, -0.0493171401321888, -0.05888831242918968, -0.046593766659498215, -0.04252566024661064, -0.005759688559919596, 0.0002677110314834863, -0.03417440131306648, -0.019929353147745132, -0.030709950253367424, 0.014914837665855885, -0.06452557444572449, -0.048974987119436264, 0.0516798198223114, -0.06718391180038452, 0.02043505385518074, 0.0035073745530098677, -0.016054468229413033, 0.04228811711072922, -0.04314710199832916, -0.07385804504156113, -0.08346477150917053, -0.018930720165371895, 0.04658600315451622, -0.03219953551888466, -0.033244162797927856, -0.053607724606990814, -0.008496376685798168, 0.024293093010783195, -0.006671785376966, -0.022705577313899994, -0.006017574109137058, 0.02639053948223591, -0.002770832506939769, 0.0441167950630188, -0.036617785692214966, -0.014168214984238148, 0.032875895500183105, -0.011201969347894192, 0.018094200640916824, -0.04883270710706711, 0.016292942687869072, 0.0564914345741272, -0.008258096873760223, 0.04287054389715195, -0.045099690556526184, 0.01911909505724907, -0.02726633846759796, -0.0050602746196091175, -0.018906889483332634, -0.025618478655815125, -0.033573225140571594, -0.03359036147594452, -0.003578387899324298, -0.006933470256626606, -0.01394691877067089, -0.01359509490430355, 0.010060761123895645, 0.04398244991898537, 0.017541086301207542, 0.011431027203798294, -0.024413863196969032, 0.041904471814632416, 0.04434579610824585, 0.004576220642775297, -0.04263954609632492, -0.05697142705321312, -0.03505028784275055, 0.005956167355179787, -0.0104586873203516, 0.03151727840304375, -0.005009481217712164, 0.011976604349911213, 0.008038250729441643, 0.0354948416352272, 0.04222334548830986, -0.0023100567050278187, 0.018272344022989273, -0.05115518718957901, 0.02369086444377899, -0.06839443743228912, 0.012495742179453373, 0.02222963236272335, -0.007055133115500212, -0.010025414638221264, -0.007780801970511675, -0.048635125160217285, 0.07250101864337921, -0.028495728969573975, -0.05135407671332359, -0.003841644385829568, -0.03534778207540512, -0.002312700729817152, 0.03721066564321518, -0.04821323975920677, -0.01478615403175354, -0.02914404310286045, -0.05058041960000992, 0.009701147675514221, 0.025139745324850082, 0.05939653515815735, -0.0007345082121901214, 0.015364621765911579, -0.044181227684020996, 0.030057130381464958, 0.05402127653360367, 0.05409612879157066, 0.0071937451139092445, 0.023870188742876053, -0.04188177362084389, 0.06389925628900528, 0.04698469862341881, 0.033982034772634506, 0.0037358258850872517, 0.0032351401168853045, -0.0032673354726284742, -0.03673739358782768, 0.06792213022708893, 0.005301928147673607, 0.01966063864529133, -0.061337780207395554, 0.06286295503377914, 0.02250593528151512, -0.07093772292137146, -0.025045009329915047, 0.044494759291410446, -0.032146256417036057, -0.00146866322029382, -0.003269518492743373, -0.001271235989406705, -0.007358367554843426, 0.07390258461236954, 0.021462438628077507, 0.08632415533065796, 0.06214846298098564, 0.030293656513094902, 0.006639274302870035, 0.020469706505537033, 0.03751140087842941, 0.06591483950614929, 0.07090352475643158, 0.01639667898416519, 0.060548391193151474, -0.013684871606528759, -0.0482788048684597, 0.0016470275586470962, 0.03746616840362549, -0.033388860523700714, -0.031777556985616684, 0.004786317702382803, 0.052977606654167175, -0.024160953238606453, 0.057803016155958176, -0.022347137331962585, -0.017936494201421738, 0.026129215955734253, 0.02495499514043331, 0.017385873943567276, 0.08144643157720566, 0.0193853247910738, 0.02416386641561985, -0.017331350594758987, 0.004826684016734362, 0.015758251771330833, -0.005740818101912737, 0.007705662399530411, -0.00585467042401433, -0.019070830196142197, 0.006089822854846716, -0.0012813734356313944, 0.03558093681931496, 0.09555110335350037, -0.07053671032190323, -0.02769877389073372, 0.012157537043094635, -0.0068221003748476505, -0.0069497632794082165, 0.040759552270174026, 0.028447791934013367, -0.017927611246705055, -0.011406472884118557, -0.06569461524486542, -0.025040684267878532, 0.01076504122465849, 0.017440389841794968, 0.042717136442661285, -0.03140823915600777, 0.006762712262570858, 0.016985982656478882, 0.0034495661966502666, -0.059608783572912216, -0.05663479119539261, 0.00010032998397946358, -0.04075605049729347, -0.020136462524533272, -0.04289429634809494, 0.003947409335523844, 0.0168934166431427, -0.02322310581803322, 0.033735718578100204, -0.03543173149228096, 0.03528977558016777, -0.006292184814810753, -0.07026442885398865, -0.0036291349679231644, 0.03776524215936661, 0.0020850312430411577, 0.012345679104328156, 0.00004468178303795867, 0.020010823383927345, -0.006532301194965839, -0.011371848173439503, 0.024226786568760872, 0.026311593130230904, -0.01723378151655197, -0.043923866003751755, -0.027582047507166862, -0.0927828997373581, -0.016773974522948265, 0.011037906631827354, -0.05346105247735977, -0.09476828575134277, 0.015603169798851013, -0.00009071131353266537, 0.030726615339517593, 0.09140941500663757, 0.05243820697069168, -0.00840191263705492, -0.017856940627098083, -0.00559260556474328, 0.0026526530273258686, -0.008584830909967422, 0.05301875248551369, -0.0433853454887867, 0.051592327654361725, 0.04792654514312744, -0.06770138442516327, -0.06652335077524185, 0.0522347055375576, -0.005212714895606041, -0.00834852084517479, 0.011279745027422905, -0.023973124101758003, -0.012031996622681618, -0.0643220990896225, -0.014183358289301395, 0.0022874660789966583, -0.05220315232872963, -0.01857130602002144, -0.025188449770212173, -0.01874641887843609, 0.008130759932100773, 0.017308495938777924, -0.039485227316617966, -0.012522552162408829, -0.017047962173819542, -0.005625242833048105, -0.09109356254339218, 0.0014453984331339598, -0.05450114235281944, 0.0042234449647367, -0.021990017965435982, -0.03288830444216728, -0.012866624630987644, 0.0013166781282052398, 0.05784346163272858, -0.008011415600776672, 0.019480779767036438, 0.000679152028169483 ]
341
MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decoding
https://openreview.net/forum?id=CS2JWaziYr
[ "Ranajoy Sadhukhan", "Jian Chen", "Zhuoming Chen", "Vashisth Tiwari", "Ruihang Lai", "Jinyuan Shi", "Ian En-Hsu Yen", "Avner May", "Tianqi Chen", "Beidi Chen" ]
Poster
Large Language Models (LLMs) have become more prevalent in long-context applications such as interactive chatbots, document analysis, and agent workflows, but it is challenging to serve long-context requests with low latency and high throughput. Speculative decoding (SD) is a widely used technique to reduce latency losslessly, but the conventional wisdom suggests that its efficacy is limited to small batch sizes. In MagicDec, we show that surprisingly SD can achieve speedup even for a high throughput inference regime for moderate to long sequences. More interestingly, an intelligent drafting strategy can achieve better speedup with increasing batch size based on our rigorous analysis. MagicDec first identifies the bottleneck shifts with increasing batch size and sequence length, and uses these insights to deploy SD more effectively for high throughput inference. We leverage draft model with sparse KV cache to address the KV bottleneck, which scales with both sequence length and batch size. Additionally, we propose a theoretical model to select the optimal drafting strategy for maximum speedup. Our work highlights the broad applicability of speculative decoding in long-context serving, as it can enhance throughput and reduce latency without compromising accuracy. For moderate to long sequences, we demonstrate up to 2.51x speedup for LLaMA-3.1-8B when serving batch sizes ranging from 32 to 256 on various types of hardware and tasks.
LLM Inference, Speculative Decoding, Performance Analysis
Long-context serving, Speculative Decoding, Sparse KV Cache
13,385
2408.11049
[ -0.022959142923355103, -0.010024920105934143, -0.028866693377494812, 0.058704402297735214, 0.032954055815935135, 0.008411964401602745, 0.010485291481018066, 0.039197102189064026, -0.029103325679898262, -0.03397480025887489, -0.02315429598093033, 0.002327872207388282, -0.04873378574848175, 0.011975516565144062, 0.006903080269694328, 0.057575102895498276, 0.03072487562894821, -0.04802483320236206, 0.04135473817586899, -0.018897036090493202, 0.003996996209025383, -0.03665865957736969, 0.02205502614378929, 0.022120801731944084, 0.023653609678149223, 0.0455271452665329, -0.015135972760617733, 0.0058634099550545216, -0.031365666538476944, -0.020728079602122307, 0.028972160071134567, -0.007249465212225914, 0.004083441104739904, -0.025152435526251793, 0.02381087653338909, -0.013433989137411118, -0.054542575031518936, 0.02989444136619568, -0.015401506796479225, 0.035960521548986435, -0.04618624597787857, -0.006814659107476473, 0.0032572068739682436, 0.03505333513021469, -0.07127141207456589, -0.0006504321936517954, -0.09434591978788376, 0.01712958700954914, -0.009355761110782623, -0.019567355513572693, -0.10635936260223389, 0.028707580640912056, 0.017297010868787766, 0.005080040544271469, 0.01764591969549656, 0.04579177871346474, 0.023384124040603638, -0.0834186002612114, -0.012210153043270111, -0.020762545987963676, -0.0331314317882061, -0.02760492078959942, 0.026304496452212334, 0.012066547758877277, 0.009786208160221577, -0.05068252980709076, 0.020918749272823334, 0.03280359506607056, -0.057233959436416626, -0.023508688434958458, -0.005297419149428606, 0.05724705010652542, -0.0177095178514719, -0.0010312146041542292, 0.0031506421510130167, -0.02374124526977539, 0.012519417330622673, 0.039532169699668884, 0.06584249436855316, 0.009603949263691902, -0.020435482263565063, -0.006301416549831629, 0.03079945407807827, 0.046029139310121536, -0.005284830462187529, 0.026258202269673347, -0.019007880240678787, -0.01687007024884224, -0.06706606596708298, 0.03726173937320709, -0.019906505942344666, -0.057797860354185104, 0.007791580632328987, 0.0041800979524850845, -0.016732288524508476, 0.0015725231496617198, 0.017069092020392418, 0.027574170380830765, -0.01871609315276146, 0.010976096615195274, -0.0456470362842083, -0.03874192759394646, 0.031661175191402435, -0.002457673428580165, -0.08452985435724258, -0.0036042460706084967, -0.03856448829174042, -0.01627078652381897, 0.014117235317826271, -0.017206260934472084, -0.004611172713339329, 0.011132029816508293, 0.0318150520324707, -0.00530557706952095, -0.06227421388030052, 0.018084751442074776, 0.016209730878472328, -0.009964657947421074, -0.02386011928319931, 0.0009999744361266494, 0.0917409360408783, 0.08421339094638824, -0.012226761318743229, 0.08962640911340714, -0.02353261224925518, -0.007068310398608446, 0.016782555729150772, 0.008079692721366882, 0.00871366262435913, -0.026905298233032227, 0.010685044340789318, 0.04635683074593544, -0.0029300875030457973, -0.028071753680706024, -0.014573784545063972, 0.020449088886380196, -0.012368868105113506, 0.014905545860528946, 0.07702701538801193, -0.006372175645083189, -0.0031484775245189667, -0.04123280569911003, 0.04155658558011055, -0.030148519203066826, 0.07626783102750778, -0.009717151522636414, -0.015132484957575798, -0.04264355078339577, -0.006052721291780472, 0.0283432025462389, -0.001818217453546822, 0.012189161032438278, -0.025766335427761078, -0.05303040146827698, 0.04887746274471283, 0.0584699772298336, -0.014351683668792248, 0.0006233680760487914, 9.134837455349043e-7, 0.0031047894153743982, -0.019572364166378975, -0.004264652729034424, -0.05781140178442001, 0.029349029064178467, 0.00260389712639153, -0.054095666855573654, 0.04060168191790581, 0.018503505736589432, -0.04068467393517494, 0.03014889732003212, -0.014418062753975391, -0.012340489774942398, 0.04571416601538658, -0.03316768258810043, -0.0228311475366354, 0.006078565958887339, 0.04418794810771942, -0.0039748153649270535, 0.01996740698814392, 0.025997446849942207, -0.08537769317626953, 0.03713395074009895, 0.027194397523999214, -0.02583741955459118, -0.03111615777015686, -0.010386964306235313, 0.10933060944080353, -0.02213629148900509, -0.04258481040596962, -0.004723887890577316, -0.07397689670324326, -0.03074389323592186, 0.02045920491218567, -0.007546886336058378, 0.06806562095880508, -0.028244314715266228, 0.003881776938214898, 0.05404776334762573, 0.07187864929437637, 0.028301957994699478, 0.06964446604251862, 0.0036960793659090996, 0.05429964140057564, 0.008000309579074383, -0.0190623477101326, -0.009214946068823338, 0.039863161742687225, -0.038441531360149384, -0.0266665518283844, 0.026467548683285713, -0.02575424313545227, -0.025387775152921677, 0.017660383135080338, -0.006664979737251997, -0.0077302162535488605, -0.0006466133636422455, 0.01518623623996973, -0.013212434016168118, -0.006729733198881149, -0.04925384372472763, 0.05776868388056755, -0.012943140231072903, -0.024600673466920853, 0.006751797161996365, -0.035508498549461365, 0.12273060530424118, 0.043468475341796875, -0.05655046924948692, 0.014872242696583271, 0.008851119317114353, 0.009620900265872478, -0.009079675190150738, 0.0012308926088735461, -0.039371442049741745, -0.006696190219372511, -0.016949186101555824, -0.009144743904471397, -0.023103833198547363, 0.05565064400434494, -0.026255212724208832, -0.01456380169838667, 0.03840716555714607, -0.02256537601351738, 0.06265954673290253, 0.011875353753566742, 0.012661479413509369, 0.0023627898190170527, -0.034858595579862595, -0.041601214557886124, -0.05115985870361328, -0.004300793167203665, -0.009039021097123623, 0.01241662073880434, -0.011382867582142353, 0.008552140556275845, -0.03904629871249199, -0.02870362065732479, -0.00919873546808958, 0.04622969403862953, 0.037676528096199036, 0.011818318627774715, 0.023729413747787476, 0.031820327043533325, -0.04419289529323578, 0.019430773332715034, -0.08760735392570496, -0.0016594085609540343, -0.02935492992401123, 0.032591626048088074, -0.015853803604841232, 0.04426191374659538, -0.002060206141322851, 0.006602694280445576, -0.03158426657319069, -0.01711428165435791, -0.029501594603061676, 0.06895551830530167, 0.007687118835747242, -0.014649934135377407, -0.02931862697005272, -0.0020254766568541527, 0.07775068283081055, -0.026456275954842567, 0.006930854637175798, -0.03986046463251114, -0.014611192978918552, -0.01670585572719574, -0.04611062631011009, -0.0038658971898257732, 0.007891694083809853, 0.004844781942665577, 0.02016732469201088, -0.06519708782434464, 0.04082478955388069, 0.038500089198350906, 0.04253682866692543, 0.04177592322230339, 0.010807130485773087, -0.04236845672130585, 0.0168161541223526, 0.00807413924485445, 0.012754986062645912, -0.022620083764195442, 0.012341728433966637, -0.020877672359347343, -0.027281444519758224, 0.01520066149532795, -0.024955058470368385, -0.283584862947464, 0.009482594206929207, -0.01306868251413107, -0.03137310966849327, 0.03200804814696312, -0.023762613534927368, 0.012332948856055737, -0.03080231510102749, 0.014554176479578018, -0.01697598770260811, -0.012545726262032986, 0.033015958964824677, -0.02520858868956566, 0.014873324893414974, 0.04494083672761917, 0.03248276934027672, -0.020126258954405785, -0.006432390306144953, 0.03328871726989746, 0.048252493143081665, 0.010079920291900635, -0.06656735390424728, -0.021404391154646873, 0.04204065725207329, 0.018769999966025352, 0.016998328268527985, -0.08093767613172531, 0.001384429051540792, -0.021189237013459206, -0.014904865995049477, 0.03667127341032028, -0.02197517454624176, 0.010777530260384083, 0.0707353875041008, 0.0073760016821324825, 0.021349620074033737, 0.0795680433511734, 0.0030990303494036198, 0.015458079986274242, -0.03784516826272011, 0.019403355196118355, -0.04961235821247101, -0.025225089862942696, -0.018592309206724167, 0.0638691782951355, 0.041364025324583054, -0.055687978863716125, -0.015814021229743958, 0.007082155905663967, 0.02349015511572361, 0.000741180032491684, -0.045311491936445236, -0.029453827068209648, 0.013397534377872944, 0.029274679720401764, 0.00016759688151068985, -0.03349225968122482, -0.014831268228590488, -0.03834722936153412, 0.02184406854212284, 0.013072174042463303, -0.04884348437190056, -0.01834622211754322, -0.010848738253116608, -0.01697649247944355, -0.055702295154333115, -0.08200674504041672, -0.03842365741729736, 0.036083098500967026, 0.008049458265304565, -0.024185074493288994, 0.004928115289658308, 0.019106566905975342, -0.07527860999107361, 0.03198997676372528, 0.012299442663788795, -0.02591170370578766, 0.017308194190263748, 0.02720741182565689, 0.07442335784435272, -0.031527742743492126, -0.03506283462047577, 0.00016052565479185432, 0.0004905210225842893, 0.0482318215072155, -0.013240202330052853, 0.007629504427313805, -0.04878203570842743, -0.01894233748316765, -0.026478849351406097, 0.0496743805706501, -0.014261484146118164, 0.001259867218323052, 0.004676894284784794, 0.040684767067432404, 0.02522662654519081, 0.025172850117087364, 0.058969639241695404, 0.011088233441114426, 0.018651746213436127, 0.020162779837846756, -0.04460524395108223, -0.009409214369952679, -0.06372754275798798, -0.0010363033507019281, 0.0199834406375885, -0.034488826990127563, -0.018325431272387505, 0.041752081364393234, 0.00798990298062563, -0.042111072689294815, 0.020612256601452827, 0.0023609197232872248, -0.005223687272518873, -0.0167424026876688, 0.01677490957081318, 0.02765507623553276, 0.055092550814151764, 0.0006170172709971666, -0.023250848054885864, -0.02239043265581131, 0.043542567640542984, -0.03771672025322914, 0.003111976897343993, 0.02416091039776802, 0.0014615905238315463, -0.014781013131141663, 0.021871747449040413, 0.00691309105604887, -0.039685457944869995, 0.005399046931415796, 0.03547137603163719, -0.004903434310108423, 0.029664520174264908, 0.046912018209695816, -0.0021808594465255737, -0.009208405390381813, 0.013924411498010159, 0.02902418002486229, -0.018678048625588417, 0.02144664339721203, -0.03090537153184414, 0.03588547557592392, 0.030536731705069542, 0.0046102977357804775, 0.00837758556008339, 0.040041133761405945, -0.0014612331287935376, -0.03042585775256157, -0.014528981409966946, 0.05118054524064064, -0.04522227868437767, -0.0011330278357490897, -0.028651395812630653, -0.011527758091688156, -0.004602942615747452, 0.02739720605313778, 0.02695639245212078, 0.022470450028777122, -0.09294547885656357, 0.0452137291431427, -0.010271157138049603, -0.0011661957250908017, -0.008344756439328194, -0.0026352107524871826, 0.03287821635603905, -0.01381355058401823, 0.031672604382038116, 0.043994709849357605, 0.0014671001117676497, 0.002823276910930872, 0.01318892277777195, -0.05098888278007507, 0.032153815031051636, -0.0024955724366009235, 0.03692784532904625, 0.009107913821935654, 0.0006463939207606018, -0.024183783680200577, 0.04096897318959236, 0.011473868042230606, -0.0039604357443749905, -0.009591727517545223, 0.026705296710133553, 0.08288630843162537, -0.0028387035708874464, 0.025756077840924263, 0.0203687846660614, -0.03186643123626709, 0.007783554960042238, -0.015381349250674248, 0.015011966228485107, -0.021251102909445763, -0.02547929435968399, -0.026676857843995094, -0.040353722870349884, 0.03794172406196594, 0.045137885957956314, -0.027617380023002625, -0.015777243301272392, 0.020874543115496635, -0.007754515390843153, -0.05214064195752144, -0.03669760748744011, 0.025292839854955673, -0.07033559679985046, 0.0037894754204899073, -0.010458597913384438, 0.005992554593831301, 0.03066614456474781, -0.002616886980831623, -0.0002761832729447633, -0.0330897755920887, -0.001121259992942214, -0.0011282116174697876, 0.0005061138072051108, 0.0034828074276447296, 0.000630709866527468, -0.01281774789094925, -0.04644058644771576, 0.017513515427708626, -0.0005667468067258596, 0.022242354229092598, -0.0276210755109787, -0.009254885837435722, 0.027515044435858727, -0.031751275062561035, 0.008739372715353966, -0.009645887650549412, -0.03318949416279793, 0.05954986810684204, -0.048553917557001114, 0.04367371276021004, 0.04837808385491371, -0.01649639382958412, 0.025189507752656937, -0.04260861501097679, 0.027014687657356262, 0.008408178575336933, 0.02265140414237976, 0.008749064989387989, -0.04588622599840164, -0.0319465808570385, 0.02748892456293106, -0.025032484903931618, 0.060176458209753036, -0.013226239942014217, -0.012096071615815163, -0.026970338076353073, 0.03752418980002403, -0.005552604328840971, 0.01842307299375534, -0.03604421764612198, -0.009505351074039936, 0.0519123375415802, -0.039097078144550323, -0.03746732324361801, -0.07795323431491852, -0.06301601976156235, 0.004103416111320257, 0.015858149155974388, 0.015388873405754566, -0.021177563816308975, 0.02510908618569374, 0.046809881925582886, 0.03983836621046066, 0.03337398171424866, -0.036909423768520355, 0.02625063806772232, -0.03464171662926674, -0.0017384254606440663, -0.06861462444067001, 0.003476574318483472, 0.06011322885751724, -0.01613411121070385, -0.012510164640843868, -0.0025893005076795816, -0.0512361004948616, 0.030063213780522346, -0.006895003840327263, -0.05031852424144745, 0.019327828660607338, -0.0366227850317955, -0.013600981794297695, 0.028112992644309998, -0.044464122503995895, -0.03974701464176178, -0.037837907671928406, -0.041496001183986664, -0.01970093697309494, 0.016135897487401962, 0.03753908351063728, 0.00779962632805109, 0.02445376105606556, -0.0219956636428833, -0.04054757207632065, 0.021820928901433945, 0.04561803117394447, 0.02757015824317932, 0.015369248576462269, -0.006897020153701305, 0.07458464801311493, 0.03562415391206741, -0.013184971176087856, 0.026243001222610474, -0.02139330841600895, -0.013178103603422642, -0.02615628018975258, 0.043598104268312454, -0.020012060180306435, -0.01994183287024498, -0.0841422975063324, 0.07531110942363739, 0.028105231001973152, -0.043159451335668564, -0.0551597997546196, 0.006871846504509449, -0.02984609454870224, -0.008878638036549091, -0.037191517651081085, 0.016064465045928955, -0.00010872651910176501, 0.05630817264318466, 0.016748102381825447, 0.046128951013088226, 0.1070847287774086, -0.0080775897949934, -0.00019378430442884564, -0.014741899445652962, 0.02941230498254299, 0.08505741506814957, 0.014027612283825874, -0.0044191922061145306, 0.04538056626915932, -0.008429964073002338, -0.035948168486356735, 0.03390634059906006, 0.03132811188697815, 0.0010323247406631708, -0.030353393405675888, 0.01707804761826992, 0.08704737573862076, -0.003058935282751918, 0.08696796000003815, -0.06460721790790558, 0.014445669949054718, 0.06553639471530914, 0.06051734834909439, 0.010348883457481861, 0.06365994364023209, 0.011896097101271152, 0.012677608989179134, -0.03253081068396568, -0.022269150242209435, 0.006655811797827482, -0.041112545877695084, -0.006148504558950663, 0.025735577568411827, -0.023528089746832848, 0.004053245298564434, -0.001463096821680665, 0.06705085188150406, 0.08163046836853027, -0.008144083432853222, -0.056844696402549744, -0.009242898784577847, -0.008165309205651283, 0.010439417324960232, 0.03488282859325409, -0.008260533213615417, -0.009890050627291203, 0.005988472606986761, -0.04371769726276398, 0.012911717407405376, -0.0364120677113533, -0.015970692038536072, 0.04260261729359627, -0.022217892110347748, -0.0077246506698429585, -0.0027849755715578794, -0.0008325984235852957, -0.08130975067615509, -0.03918321803212166, -0.02360428497195244, -0.04136600345373154, -0.0611015222966671, -0.03187756612896919, 0.013402833603322506, 0.0037305811420083046, -0.03130246698856354, -0.003357240231707692, -0.04566763713955879, 0.0009974652202799916, 0.005444342270493507, -0.05677483603358269, 0.013264539651572704, 0.06932355463504791, 0.007203780114650726, -0.028814900666475296, 0.04757623374462128, 0.030250605195760727, -0.049473781138658524, 0.001822645659558475, 0.016802266240119934, 0.022448597475886345, 0.017456205561757088, 0.012713748961687088, -0.026070689782500267, -0.10212966799736023, 0.017793070524930954, 0.03751276060938835, -0.004631132818758488, -0.07704047113656998, 0.026770109310746193, -0.04402806609869003, 0.022441474720835686, 0.06860552728176117, -0.012736640870571136, 0.05153562128543854, -0.04334285482764244, -0.0071018654853105545, 0.032544322311878204, -0.01266188733279705, 0.03093801997601986, -0.002921432489529252, 0.06884342432022095, 0.04585748165845871, -0.02282671630382538, -0.027010930702090263, 0.022970668971538544, -0.016576012596488, -0.025986526161432266, -0.010276180692017078, 0.0039081871509552, -0.06723219901323318, -0.0760309025645256, -0.02868022955954075, 0.025740647688508034, 0.00819484144449234, -0.05803715065121651, 0.01075791846960783, -0.01845904439687729, -0.039450354874134064, -0.014163566753268242, -0.028989100828766823, -0.0062355767004191875, -0.03640138730406761, -0.06321044266223907, -0.04773155227303505, 0.02261129580438137, -0.011838140897452831, -0.03304637223482132, -0.02327888086438179, -0.04282248020172119, 0.020665107294917107, 0.012167999520897865, 0.06396403908729553, -0.0008672474650666118, 0.02387220412492752, -0.04129365459084511 ]
342
Parameter Expanded Stochastic Gradient Markov Chain Monte Carlo
https://openreview.net/forum?id=exgLs4snap
[ "Hyunsu Kim", "Giung Nam", "Chulhee Yun", "Hongseok Yang", "Juho Lee" ]
Poster
Bayesian Neural Networks (BNNs) provide a promising framework for modeling predictive uncertainty and enhancing out-of-distribution robustness (OOD) by estimating the posterior distribution of network parameters. Stochastic Gradient Markov Chain Monte Carlo (SGMCMC) is one of the most powerful methods for scalable posterior sampling in BNNs, achieving efficiency by combining stochastic gradient descent with second-order Langevin dynamics. However, SGMCMC often suffers from limited sample diversity in practice, which affects uncertainty estimation and model performance. We propose a simple yet effective approach to enhance sample diversity in SGMCMC without the need for tempering or running multiple chains. Our approach reparameterizes the neural network by decomposing each of its weight matrices into a product of matrices, resulting in a sampling trajectory that better explores the target parameter space. This approach produces a more diverse set of samples, allowing faster mixing within the same computational budget. Notably, our sampler achieves these improvements without increasing the inference cost compared to the standard SGMCMC. Extensive experiments on image classification tasks, including OOD robustness, diversity, loss surface analyses, and a comparative study with Hamiltonian Monte Carlo, demonstrate the superiority of the proposed approach.
SGMCMC, Bayesian Neural Network, Parameter Expansion
null
13,380
2503.00699
[ -0.018103839829564095, 0.0033564893528819084, -0.039292510598897934, 0.05159827321767807, 0.0276991818100214, 0.02981920726597309, 0.01837123930454254, -0.012497659772634506, -0.04259020462632179, -0.05709878355264664, 0.00913987960666418, 0.012860054150223732, -0.05754941329360008, -0.016671279445290565, 0.03707481175661087, 0.04750308021903038, 0.029839392751455307, -0.011151590384542942, -0.01156885176897049, 0.03977055847644806, -0.02745446190237999, -0.04523861035704613, 0.05441761016845703, 0.01874348148703575, -0.012230578809976578, -0.01712854951620102, 0.03725382685661316, 0.0214192233979702, -0.0164033230394125, -0.01252301037311554, 0.038362856954336166, -0.014719165861606598, 0.011409380473196507, -0.024149121716618538, 0.029949769377708435, 0.016883939504623413, -0.051874373108148575, -0.03206389397382736, -0.019501518458127975, 0.00428458396345377, -0.044069498777389526, 0.012461656704545021, 0.0031990581192076206, 0.025778839364647865, -0.020550386980175972, 0.02223089523613453, -0.03943857178092003, 0.046434324234724045, -0.006308176089078188, -0.03568563610315323, -0.07822847366333008, 0.0249436404556036, -0.03178020194172859, -0.010643885470926762, 0.008495506830513477, 0.04146149381995201, 0.04269133135676384, -0.07013792544603348, -0.01873040571808815, -0.06428539007902145, -0.01763181947171688, -0.01253991387784481, -0.0022769731003791094, 0.0305764302611351, 0.00024176540318876505, -0.0010263202711939812, 0.03477170690894127, 0.07384192943572998, -0.03239985927939415, -0.0161160659044981, -0.02226841263473034, -0.0046256850473582745, 0.021662209182977676, -0.014190408401191235, 0.003986395429819822, -0.032488469034433365, 0.007998515851795673, 0.014198942109942436, 0.05744682997465134, -0.026907818391919136, 0.032186441123485565, 0.010953368619084358, -0.004621992819011211, 0.03970015421509743, -0.014852375723421574, 0.01934235356748104, -0.03120451420545578, -0.029798360541462898, -0.08178088068962097, 0.07088419795036316, -0.023012256249785423, -0.04690828546881676, 0.028288204222917557, 0.035425081849098206, 0.0029333855491131544, -0.02375841699540615, -0.004601975902915001, -0.020273946225643158, 0.02072327584028244, -0.019517797976732254, -0.022724907845258713, -0.03833869844675064, 0.02460359036922455, -0.006337268743664026, -0.12173168361186981, -0.027963662520051003, -0.014120714738965034, -0.0032610862981528044, -0.03031974285840988, 0.028411919251084328, -0.023188499733805656, -0.0009343100246042013, -0.014447839930653572, -0.0057199797593057156, -0.06233780086040497, 0.010632538236677647, -0.010683493688702583, 0.002976974006742239, 0.013170110061764717, -0.042585406452417374, 0.03939554840326309, 0.04125223308801651, -0.021745270118117332, 0.0368296317756176, -0.004714755807071924, 0.005003583617508411, 0.0516541451215744, 0.01489531435072422, -0.03524783253669739, -0.008577341213822365, -0.012811277993023396, 0.02853037603199482, 0.00717612449079752, 0.02664605714380741, -0.0017811506986618042, -0.04271150007843971, -0.0034678529482334852, 0.026413440704345703, -0.0024824945721775293, -0.0025213148910552263, 0.018870018422603607, -0.03609634190797806, 0.07020176947116852, 0.014041335321962833, 0.0760352686047554, 0.003350641578435898, 0.01090124063193798, -0.03800567612051964, -0.06012202426791191, -0.0024258147459477186, -0.0032440032809972763, -0.02174472063779831, 0.005456910934299231, -0.058395594358444214, 0.008999781683087349, 0.02250128611922264, 0.005548604764044285, 0.046495720744132996, 0.010714562609791756, -0.00989420898258686, 0.02219550870358944, -0.00008080953557509929, -0.013983556069433689, 0.039304766803979874, 0.009905903600156307, -0.05926314741373062, 0.04692202806472778, 0.04405026137828827, -0.013462346978485584, -0.01599857583642006, -0.041141144931316376, -0.07486177235841751, 0.030020978301763535, -0.0024050709325820208, -0.03175092488527298, 0.009706785902380943, 0.05644240975379944, 0.0007560256053693593, 0.04623550921678543, 0.01926944963634014, -0.07141149044036865, 0.018124375492334366, 0.028143713250756264, -0.008478052914142609, -0.0021484149619936943, -0.03285544365644455, 0.09875907003879547, -0.019744498655200005, -0.0077205318957567215, 0.0191635861992836, -0.07913953810930252, -0.01511714793741703, 0.006900401320308447, 0.0006384108564816415, 0.05585872754454613, 0.008957989513874054, 0.0046776034869253635, 0.030678289011120796, 0.030236689373850822, 0.011273388750851154, 0.05423274263739586, -0.03059922717511654, 0.044782184064388275, -0.0065188221633434296, -0.048201948404312134, -0.027169812470674515, 0.056379035115242004, -0.052620578557252884, 0.012129925191402435, 0.02593129314482212, -0.032220035791397095, 0.002511292463168502, -0.007475127931684256, -0.004438640084117651, 0.03778375685214996, -0.013845139183104038, -0.016269372776150703, -0.010657558217644691, 0.003037775633856654, -0.027460161596536636, -0.009894287213683128, 0.014592149294912815, 0.00020162864529993385, 0.009312731213867664, 0.014505460858345032, 0.10013839602470398, 0.0782514363527298, -0.016578540205955505, -0.02376301772892475, 0.015345176681876183, 0.03770783171057701, -0.000005335612513590604, 0.04011852666735649, 0.022000402212142944, 0.022078363224864006, -0.006035765167325735, -0.003401189809665084, -0.03663036599755287, 0.0344218835234642, -0.024041542783379555, -0.018932832404971123, 0.0479489341378212, -0.013983368873596191, 0.046071864664554596, 0.009918281808495522, 0.000024778606530162506, 0.03733440861105919, 0.008969521149992943, -0.04528207331895828, -0.029294993728399277, -0.007902604527771473, 0.02250124327838421, 0.016028083860874176, 0.002521087881177664, -0.004936041310429573, -0.04991859942674637, 0.013249567709863186, -0.012753458693623543, 0.07651988416910172, 0.06619258970022202, 0.028620487079024315, 0.011324293911457062, 0.02695615403354168, -0.005828647408634424, -0.05695756524801254, -0.11530667543411255, -0.04672897234559059, -0.028173616155982018, 0.0402478463947773, 0.03077700361609459, 0.04048091173171997, -0.024056613445281982, 0.01002284325659275, -0.01716841757297516, 0.005231471266597509, 0.022576795890927315, 0.012199400924146175, 0.03308635577559471, -0.021224627271294594, -0.0009690409060567617, -0.008969737216830254, 0.07558285444974899, -0.03764835000038147, -0.018109284341335297, -0.006937425583600998, -0.03651120886206627, -0.027411311864852905, -0.0075972178019583225, 0.010260126553475857, 0.0325881764292717, 0.001294005778618157, 0.011858232319355011, -0.0012602793285623193, 0.036763012409210205, 0.0329156368970871, 0.035388778895139694, 0.049306996166706085, 0.01730397343635559, -0.04323935508728027, 0.0405324250459671, -0.03553155064582825, -0.0008410607115365565, 0.005747262388467789, -0.017432186752557755, -0.018984029069542885, 0.005818626377731562, 0.026356318965554237, 0.015219729393720627, -0.27152931690216064, 0.0015531133394688368, 0.02828489989042282, -0.01886630803346634, 0.0240778848528862, -0.023689690977334976, 0.05960443988442421, -0.0463499054312706, -0.02455798164010048, 0.024977831169962883, 0.017313644289970398, 0.003434662241488695, -0.022056272253394127, 0.06301265954971313, 0.05996006354689598, 0.0037663716357201338, -0.0003307658771518618, -0.018106864765286446, 0.05106561258435249, 0.03345387801527977, 0.01406711246818304, -0.07539188861846924, -0.04386264085769653, 0.00989234633743763, -0.03183751553297043, 0.056503888219594955, -0.08271759003400803, 0.029387913644313812, -0.02394673228263855, 0.032408587634563446, -0.02574780024588108, -0.030656423419713974, -0.002932744100689888, 0.0127907395362854, 0.013524380512535572, 0.007537838537245989, 0.02959710918366909, 0.0026593217626214027, 0.013754308223724365, -0.004036868456751108, 0.01318450178951025, 0.006496951915323734, -0.03697333112359047, 0.024565154686570168, 0.07916537672281265, 0.006743399892002344, -0.00558238010853529, 0.009742461144924164, -0.013444547541439533, 0.027663635089993477, -0.008816635236144066, -0.02005430869758129, -0.007093743421137333, -0.011028665117919445, -0.003487529931589961, -0.030528362840414047, 0.014519446529448032, -0.0031566505786031485, -0.012953742407262325, 0.02791230008006096, -0.013131208717823029, -0.05484914407134056, -0.01651162840425968, -0.02264084294438362, 0.007466858718544245, -0.03566957265138626, -0.07136962562799454, -0.05347807705402374, 0.030806558206677437, 0.034022923558950424, -0.021166637539863586, 0.002354119438678026, -0.03455900028347969, -0.10438958555459976, 0.042485062032938004, 0.006537667475640774, -0.022181781008839607, -0.042667318135499954, -0.012263782322406769, 0.024831412360072136, -0.003097775625064969, -0.0531826913356781, 0.004038816783577204, 0.022451242431998253, 0.057013873010873795, -0.022800859063863754, -0.006267108488827944, -0.017651138827204704, -0.023861004039645195, -0.042175427079200745, 0.028283122926950455, 0.026243606582283974, 0.06820745766162872, -0.01843143254518509, 0.04522605612874031, 0.04393670707941055, 0.024921655654907227, 0.03757309168577194, 0.03088344633579254, 0.007584043312817812, 0.035828184336423874, -0.07343663275241852, -0.03131812810897827, -0.0707668885588646, -0.06279395520687103, 0.009487270377576351, -0.043581273406744, -0.03226247802376747, 0.006720696110278368, -0.012790985405445099, -0.008602309972047806, -0.02877003513276577, -0.001152923796325922, 0.011879333294928074, -0.0328797772526741, -0.0060601504519581795, -0.03508579730987549, 0.04292028397321701, 0.03920203819870949, -0.018405433744192123, -0.02448098734021187, 0.03633175790309906, -0.0587969608604908, 0.0045882053673267365, 0.026992669329047203, -0.035997722297906876, 0.01944165863096714, 0.00917229987680912, -0.0015877929981797934, -0.01628478802740574, 0.010561496019363403, 0.036196038126945496, 0.014605842530727386, 0.01787560060620308, 0.057203665375709534, 0.021153898909687996, -0.016845665872097015, 0.0004442727367859334, 0.04164183884859085, -0.017771590501070023, 0.015507220290601254, 0.000962502439506352, 0.03024362213909626, 0.0440739206969738, 0.006017144303768873, 0.01335807703435421, 0.025963004678487778, 0.034495458006858826, 0.01961289346218109, -0.0222735945135355, -0.008575115352869034, -0.04730353131890297, -0.033655256032943726, 0.016468027606606483, 0.00650918809697032, -0.015310168266296387, 0.05167889967560768, 0.005142799112945795, 0.03470856696367264, -0.0751873180270195, 0.06766526401042938, 0.049824897199869156, -0.045986827462911606, 0.00815204344689846, -0.02160932496190071, 0.052787162363529205, -0.022088859230279922, 0.002873052377253771, 0.026338594034314156, 0.03327861428260803, 0.010380329564213753, -0.048392537981271744, -0.05207110196352005, -0.0322190597653389, -0.017471613362431526, 0.02832290530204773, 0.001296097761951387, -0.0418860986828804, -0.06558898836374283, 0.020814523100852966, 0.011348821222782135, -0.03264138847589493, -0.02119121327996254, -0.0010517181362956762, 0.06796274334192276, -0.008846028707921505, -0.02579834870994091, 0.00911478977650404, -0.04173348471522331, 0.045673076063394547, 0.005352316424250603, 0.014885137788951397, -0.04256780073046684, -0.0418412946164608, 0.0013187932781875134, -0.03147878125309944, -0.0026206071488559246, 0.017259329557418823, 0.0015285429544746876, -0.02140304073691368, 0.016199592500925064, 0.031122401356697083, -0.03794457018375397, 0.01739325001835823, 0.022598832845687866, -0.07477135211229324, 0.021154368296265602, 0.042324766516685486, -0.036241743713617325, 0.019848352298140526, -0.03524128347635269, -0.02281089872121811, -0.02795994095504284, -0.011586783453822136, -0.00718431593850255, -0.005348105914890766, -0.037240028381347656, -0.02525634504854679, 0.013825965113937855, 0.012252535670995712, 0.019553935155272484, -0.002372568706050515, 0.03538607060909271, -0.043092258274555206, 0.013070018030703068, 0.03906707093119621, -0.014651879668235779, 0.013354598544538021, 0.019043538719415665, -0.026771510019898415, -0.003660451387986541, -0.07068900763988495, -0.0050545381382107735, 0.03429782763123512, -0.006290083285421133, -0.002587063703685999, -0.04355517774820328, 0.050237033516168594, -0.0015464823227375746, -0.008078972809016705, -0.011197156272828579, 0.025176627561450005, -0.019409427419304848, 0.016401253640651703, -0.017957691103219986, 0.004195480607450008, 0.03374772146344185, 0.043698567897081375, 0.023613449186086655, 0.01439331378787756, -0.0017582022119313478, -0.005748782306909561, -0.08942092955112457, 0.026001546531915665, 0.052484337240457535, -0.015606099739670753, -0.03490191325545311, -0.07986564189195633, -0.021194331347942352, -0.000370015884982422, -0.026556789875030518, 0.016186464577913284, -0.04054885357618332, 0.03247595205903053, 0.023961704224348068, 0.02793421596288681, -0.016355011612176895, -0.017821533605456352, 0.009814659133553505, -0.04594095051288605, 0.034752897918224335, -0.042639728635549545, -0.029456041753292084, 0.08138427883386612, -0.024707099422812462, 0.027236606925725937, 0.011823891662061214, -0.03545888885855675, 0.04255150258541107, -0.022854233160614967, -0.05532684549689293, 0.0052865175530314445, -0.040240783244371414, -0.0008180209551937878, 0.021395793184638023, -0.03763735666871071, -0.006894287653267384, -0.03165809437632561, -0.048579245805740356, 0.036905981600284576, 0.04194509983062744, 0.061968397349119186, -0.032220982015132904, 0.031193071976304054, -0.02725011296570301, 0.009405027143657207, 0.04050518572330475, 0.06560724228620529, 0.008570066653192043, 0.041355572640895844, -0.04856135696172714, 0.06124543026089668, 0.05273491516709328, 0.04245505481958389, 0.03928869590163231, -0.012921036221086979, -0.015155679546296597, -0.06908801943063736, 0.035189323127269745, 0.020809181034564972, -0.02724319137632847, -0.050835900008678436, 0.03768779709935188, -0.0045852456241846085, -0.07265279442071915, -0.04445669427514076, 0.02414543926715851, -0.06307413429021835, 0.0026958021335303783, -0.0045488798059523106, 0.0018775616772472858, 0.040333785116672516, 0.07627443969249725, 0.005308650899678469, 0.055748775601387024, 0.07724840193986893, -0.005907211918383837, -0.03072204627096653, 0.007390155922621489, 0.0541485920548439, 0.06925655156373978, 0.0480303056538105, -0.01912573166191578, 0.07071710377931595, -0.060060907155275345, -0.03534495830535889, -0.031883612275123596, 0.0208244901150465, -0.013027898967266083, -0.03244127333164215, 0.031026514247059822, 0.07852769643068314, 0.006906310096383095, 0.07607143372297287, -0.03859618306159973, -0.033710870891809464, 0.040403034538030624, 0.02348753623664379, -0.03325225040316582, -0.0036106454208493233, 0.0005499790422618389, -0.0029763891361653805, -0.013571723364293575, -0.032499779015779495, 0.0024539311416447163, -0.0005013790796510875, -0.013093185611069202, 0.008727679029107094, -0.02741013653576374, -0.0025928711984306574, 0.022930199280381203, 0.033456314355134964, 0.10269609838724136, -0.037191275507211685, -0.031198853626847267, 0.002833071630448103, 0.009652091190218925, -0.010962855070829391, 0.057143136858940125, 0.04764101654291153, -0.014635702595114708, -0.013171137310564518, -0.01662246696650982, -0.013826074078679085, 0.034872934222221375, 0.008605090901255608, -0.0356980599462986, -0.01141913328319788, -0.020830828696489334, 0.0177069790661335, 0.003454678924754262, -0.04114922136068344, -0.04975300654768944, -0.022930817678570747, -0.07354333996772766, -0.051871560513973236, -0.054054949432611465, 0.04387225955724716, -0.026007140055298805, -0.010138203389942646, 0.023795604705810547, -0.022893790155649185, 0.04233449324965477, 0.04958784207701683, -0.0340767428278923, 0.006896790117025375, 0.044127680361270905, 0.0006086017820052803, -0.005251656752079725, 0.04403246194124222, 0.005193502176553011, 0.005786027759313583, -0.03855833783745766, 0.0931992307305336, -0.01391036156564951, 0.024176310747861862, -0.032368533313274384, 0.03804028034210205, -0.09069379419088364, -0.001644859672524035, 0.0420636348426342, -0.04054083302617073, -0.06788076460361481, 0.03846748545765877, -0.01981860212981701, 0.04193670675158501, 0.046497076749801636, -0.002648130524903536, -0.007370661944150925, -0.06668467819690704, -0.038865335285663605, -0.0465577207505703, 0.030012862756848335, 0.05044180154800415, -0.03780243918299675, 0.05091884732246399, 0.030529117211699486, -0.046726323664188385, -0.0347449854016304, 0.009571781381964684, 0.015016148798167706, 0.0224351417273283, -0.025081681087613106, 0.007091880775988102, -0.026337016373872757, -0.10886361449956894, 0.009106319397687912, -0.003384179435670376, -0.0016691782511770725, -0.00114219740498811, 0.0047325799241662025, -0.02304077334702015, 0.014571757055819035, -0.027598600834608078, -0.005203616339713335, -0.03654401749372482, -0.03562072664499283, -0.046366218477487564, -0.0807061642408371, 0.027110600844025612, -0.008211741223931313, 0.010337059386074543, -0.03901379927992821, -0.06724532693624496, -0.02786489948630333, -0.009945770725607872, 0.0214201882481575, 0.013712177984416485, 0.015351577661931515, -0.0368213914334774 ]
343
Hyperbolic Genome Embeddings
https://openreview.net/forum?id=NkGDNM8LB0
[ "Raiyan R. Khan", "Philippe Chlenski", "Itsik Pe'er" ]
Poster
Current approaches to genomic sequence modeling often struggle to align the inductive biases of machine learning models with the evolutionarily-informed structure of biological systems. To this end, we formulate a novel application of hyperbolic CNNs that exploits this structure, enabling more expressive DNA sequence representations. Our strategy circumvents the need for explicit phylogenetic mapping while discerning key properties of sequences pertaining to core functional and regulatory behavior. Across 37 out of 43 genome interpretation benchmark datasets, our hyperbolic models outperform their Euclidean equivalents. Notably, our approach even surpasses state-of-the-art performance on seven GUE benchmark datasets, consistently outperforming many DNA language models while using orders of magnitude fewer parameters and avoiding pretraining. Our results include a novel set of benchmark datasets - the Transposable Elements Benchmark - which explores a major but understudied component of the genome with deep evolutionary significance. We further motivate our work by exploring how our hyperbolic models recognize genomic signal under various data-generating conditions and by constructing an empirical method for interpreting the hyperbolicity of dataset embeddings. Throughout these assessments, we find persistent evidence highlighting the potential of our hyperbolic framework as a robust paradigm for genome representation learning. Our code and benchmark datasets are available at https://github.com/rrkhan/HGE.
genomics, representation learning, hyperbolic geometry
A hyperbolic geometry-based approach for genomic sequence representation learning
13,373
null
[ 0.007945993915200233, -0.01763206347823143, -0.032625358551740646, 0.04945946857333183, 0.04632941260933876, 0.013092492707073689, 0.020577002316713333, 0.03035520389676094, 0.008318936452269554, -0.04171060770750046, 0.03154091164469719, -0.004979127552360296, -0.07440261542797089, 0.01825387217104435, -0.0021007643081247807, 0.04658066853880882, -0.0018034118693321943, 0.005327907390892506, 0.0013215172803029418, 0.005567256361246109, 0.018419163301587105, -0.04946223646402359, -0.016516078263521194, 0.031324759125709534, -0.010552903637290001, -0.003209006506949663, -0.006739097181707621, -0.014234556816518307, -0.02124580182135105, 0.008536889217793941, 0.025938868522644043, -0.011257229372859001, 0.02141495794057846, -0.013149662874639034, 0.026761772111058235, 0.0031147629488259554, -0.06199031323194504, 0.018968449905514717, 0.025511832907795906, -0.011078900657594204, -0.04070914164185524, -0.015604186803102493, -0.03616997227072716, 0.042280230671167374, -0.05069377273321152, 0.03848404064774513, -0.1347748041152954, 0.0729578360915184, -0.0043292054906487465, -0.012236964888870716, -0.057608336210250854, 0.013090860098600388, 0.0008646423812024295, -0.014148297719657421, 0.011749010533094406, 0.05073627457022667, 0.043332215398550034, -0.08256503194570541, -0.0040429397486150265, -0.06301392614841461, -0.022589299827814102, 0.001993856392800808, 0.007219697814434767, 0.022561194375157356, 0.032021187245845795, -0.022901233285665512, -0.013336475938558578, 0.026054032146930695, -0.06002836674451828, -0.01805981621146202, 0.019769495353102684, 0.00132411764934659, 0.005408909171819687, 0.01985190622508526, 0.013176691718399525, -0.06351076811552048, -0.026928873732686043, 0.019316382706165314, 0.08377965539693832, 0.03762000799179077, 0.01437060534954071, 0.012558714486658573, 0.03146490082144737, 0.03157094493508339, -0.018350614234805107, 0.025215592235326767, -0.03289774805307388, -0.018083103001117706, -0.08449143916368484, 0.02870567888021469, -0.025698300451040268, -0.040701333433389664, 0.041098449379205704, 0.02470068633556366, 0.036596208810806274, 0.007109783124178648, 0.02482418902218342, 0.0237848162651062, -0.011837614700198174, 0.008691143244504929, -0.06924736499786377, -0.02042723447084427, 0.0035225541796535254, -0.01376954186707735, -0.11783935129642487, -0.02136530540883541, -0.018969548866152763, -0.037657879292964935, 0.010454045608639717, -0.028456438332796097, -0.023427210748195648, -0.0012340274406597018, -0.003570977132767439, -0.0012121152831241488, -0.07070323824882507, 0.06985922902822495, 0.02031889371573925, -0.003397500840947032, 0.032441213726997375, -0.029310088604688644, 0.03422876447439194, 0.023102840408682823, -0.0152049008756876, 0.07475601881742477, 0.010962549597024918, 0.02286333590745926, 0.02331378683447838, 0.009548169560730457, -0.028406037017703056, -0.051075778901576996, 0.028083931654691696, 0.07460125535726547, -0.02596084214746952, -0.0062240250408649445, 0.014263846911489964, -0.017949188128113747, -0.006444862112402916, -0.016654180362820625, 0.07768017798662186, 0.0035443492233753204, 0.00015055002586450428, -0.022861583158373833, 0.0355273000895977, -0.051192887127399445, 0.04559934511780739, -0.027773967012763023, -0.036526329815387726, -0.03209516406059265, -0.020138749852776527, 0.006554133258759975, 0.01646718569099903, 0.00991817843168974, -0.016615772619843483, -0.06807839125394821, 0.04027993232011795, 0.048369668424129486, 0.01651572249829769, -0.001938770292326808, -0.02361060306429863, 0.01248659286648035, 0.025662343949079514, -0.03589511290192604, -0.03454956039786339, 0.00901009514927864, -0.00505537586286664, -0.024453192949295044, 0.08667648583650589, 0.05136178061366081, -0.06744863092899323, -0.020228378474712372, -0.04899887368083, -0.058407388627529144, 0.07382770627737045, 0.022357532754540443, 0.013029388152062893, -0.027641400694847107, 0.0568099170923233, 0.00047660706331953406, 0.05608261376619339, 0.010863358154892921, -0.08122385293245316, 0.03113245964050293, 0.03313620388507843, 0.02637460269033909, 0.022719914093613625, -0.0365300290286541, 0.09086471050977707, -0.021781107410788536, 0.005863133352249861, 0.04454521834850311, -0.08443833887577057, -0.051568128168582916, 0.010468672960996628, -0.012577567249536514, 0.042163070291280746, -0.031484831124544144, 0.006527400109916925, 0.027285579591989517, -0.005173245444893837, 0.03137143701314926, 0.011858980171382427, 0.008817625232040882, 0.04909969121217728, -0.0393107607960701, -0.05058758333325386, -0.005236269440501928, 0.02166834846138954, -0.049810562282800674, -0.040668923407793045, 0.0003022715973202139, 0.005230045411735773, -0.009694230742752552, 0.011393008753657341, -0.019269095733761787, 0.03374489024281502, -0.01817196235060692, 0.020401453599333763, -0.005849932320415974, -0.010910723358392715, -0.046547431498765945, 0.03271947801113129, 0.0009883556049317122, -0.02282540500164032, -0.005131956189870834, -0.013674636371433735, 0.1080111414194107, 0.08888023346662521, 0.0029253163374960423, 0.01206937339156866, 0.016663672402501106, 0.022512665018439293, -0.042392417788505554, -0.012504602782428265, -0.02166481874883175, 0.015271778218448162, 0.04926048591732979, 0.00023935035278555006, -0.03518937900662422, 0.05751439556479454, -0.04125027358531952, 0.003852719208225608, 0.06499211490154266, -0.05905112251639366, 0.021912964060902596, 0.0061986190266907215, -0.008534460328519344, 0.01701999269425869, -0.05890946462750435, -0.08411067724227905, -0.03467274457216263, -0.01717621460556984, 0.0026593280490487814, 0.0027443396393209696, 0.00473395362496376, -0.019404442980885506, -0.050593968480825424, -0.02139510214328766, 0.032447341829538345, 0.03881732001900673, 0.05465763807296753, 0.0019441032782196999, 0.01088469848036766, 0.00353199802339077, -0.03437066450715065, -0.01808037795126438, -0.09294596314430237, -0.04416557773947716, -0.043205950409173965, 0.07005538046360016, -0.003103393130004406, 0.02974565327167511, 0.027980981394648552, 0.01274834480136633, -0.023510118946433067, -0.030984124168753624, -0.03717735782265663, 0.05059826001524925, -0.02728692814707756, -0.045982662588357925, -0.017826303839683533, 0.004664167761802673, 0.053154949098825455, -0.0656009241938591, -0.004160794895142317, -0.033433496952056885, -0.04441671818494797, -0.028319941833615303, -0.022702885791659355, -0.0016002757474780083, 0.032043613493442535, 0.010012579150497913, 0.01926352269947529, -0.054923344403505325, 0.0034393842797726393, 0.04601392149925232, 0.023721296340227127, 0.032326433807611465, -0.0023518737871199846, -0.007790586911141872, 0.01446505542844534, -0.01807168684899807, 0.013742742128670216, 0.006237804889678955, -0.007872626185417175, -0.0202194657176733, 0.04693051427602768, 0.025427930057048798, -0.033524565398693085, -0.24531826376914978, -0.028348729014396667, -0.01070066262036562, -0.03415415436029434, 0.051723629236221313, -0.021184174343943596, 0.0035646010655909777, -0.01525246724486351, -0.030229371041059494, 0.015548653900623322, 0.009960307739675045, 0.01455763541162014, 0.006105368956923485, 0.016983287408947945, 0.027315903455018997, 0.014629065059125423, -0.04214303940534592, -0.016982384026050568, 0.021756859496235847, 0.012532167136669159, -0.005951046012341976, -0.06139380484819412, -0.01202897448092699, 0.03788246586918831, -0.02204880304634571, 0.02287069894373417, -0.06203879788517952, 0.0008557022665627301, -0.06968900561332703, -0.006488704588264227, -0.006348329596221447, -0.04892352968454361, 0.023886365815997124, 0.03115396574139595, -0.028587227687239647, -0.002821140456944704, 0.03628618270158768, 0.0017467017751187086, 0.012100745923817158, -0.00580596923828125, 0.000999719137325883, -0.06401200592517853, -0.025963623076677322, -0.027145227417349815, 0.06716449558734894, -0.0013930376153439283, -0.01624911278486252, 0.017101474106311798, 0.008050373755395412, 0.0420355349779129, -0.005519025959074497, -0.016916926950216293, -0.015745099633932114, 0.03108120709657669, 0.01264884416013956, -0.02235441654920578, 0.03937099501490593, -0.0034050806425511837, -0.03684648871421814, -0.010631701909005642, 0.007915905676782131, -0.0379866287112236, -0.026860689744353294, -0.04786410182714462, -0.001783246174454689, -0.012146604247391224, -0.07921420782804489, -0.060320280492305756, -0.006888967007398605, 0.02069810964167118, -0.0392908900976181, 0.04420015588402748, -0.02036135084927082, -0.100993812084198, 0.01016790047287941, -0.010733084753155708, -0.029220813885331154, 0.0043946816585958, -0.007219525519758463, 0.017967430874705315, -0.00874492060393095, -0.04072022810578346, -0.0162122193723917, 0.025773825123906136, 0.04052523523569107, -0.05369279906153679, 0.004181018099188805, -0.05547204241156578, -0.035818833857774734, -0.01574450172483921, 0.003721528686583042, -0.03194144368171692, 0.021833140403032303, -0.009431794285774231, 0.030987311154603958, 0.008314395323395729, 0.0135527728125453, 0.07206282764673233, 0.047838348895311356, 0.008623510599136353, 0.03946267068386078, -0.045659102499485016, -0.0093314778059721, -0.021024461835622787, -0.009927233681082726, 0.012513107620179653, -0.039390161633491516, -0.019832463935017586, 0.05708770453929901, 0.000001926960294440505, -0.015012628398835659, -0.019350476562976837, 0.014356435276567936, -0.025933636352419853, -0.010679256170988083, -0.008281497284770012, 0.044910065829753876, 0.041168857365846634, 0.07614605873823166, 0.01715877093374729, -0.018281910568475723, 0.07087210565805435, -0.0272716972976923, 0.003319959156215191, 0.01670304872095585, -0.019693119451403618, 0.013164491392672062, -0.004640682600438595, 0.017679505050182343, -0.013887978158891201, 0.026452509686350822, 0.05039321258664131, -0.01847347617149353, 0.04931051656603813, 0.05259517952799797, 0.017982399091124535, -0.015087111853063107, -0.010900021530687809, 0.0066644479520618916, -0.0016823277110233903, -0.00736998300999403, -0.000417509552789852, 0.026654347777366638, 0.027972538024187088, 0.0242080669850111, 0.03137033432722092, 0.02832912467420101, 0.0174390971660614, 0.02313895709812641, -0.013281590305268764, 0.01859680749475956, -0.014564364217221737, 0.030212031677365303, -0.043966494500637054, 0.03612406551837921, -0.006884411443024874, 0.060238052159547806, 0.038953013718128204, 0.005040949676185846, -0.06658479571342468, 0.026879839599132538, 0.006760223302990198, 0.02341809868812561, -0.01830216310918331, -0.012548092752695084, 0.07866811752319336, -0.024555446580052376, -0.0014204852050170302, -0.03085353784263134, 0.023643886670470238, 0.021761568263173103, 0.03866603225469589, -0.01842433400452137, -0.009921154007315636, -0.05379742756485939, 0.0012380714761093259, -0.024077147245407104, 0.017755938693881035, -0.041715752333402634, 0.006990930996835232, -0.006948914844542742, -0.031042009592056274, 0.026194369420409203, 0.037412818521261215, 0.09636138379573822, 0.014452863484621048, 0.02641352452337742, -0.017316991463303566, -0.037784695625305176, 0.04143497347831726, -0.026478465646505356, 0.013313427567481995, -0.04315187782049179, -0.03792513906955719, -0.027375472709536552, -0.0218629352748394, 0.02816222608089447, 0.023978084325790405, -0.014203422702848911, -0.033727943897247314, 0.0043971664272248745, 0.010731702670454979, -0.033050328493118286, -0.007776497397571802, 0.03125912696123123, -0.061543162912130356, -0.016687070950865746, -0.007407682947814465, -0.005373021587729454, 0.007449924945831299, 0.012092183344066143, -0.05579952895641327, -0.03356028348207474, -0.017278293147683144, -0.03109637275338173, -0.014584464952349663, -0.00975208729505539, -0.002392192604020238, -0.004492194391787052, -0.010389646515250206, 0.0020703438203781843, 0.03174659609794617, 0.01532798819243908, -0.04373838007450104, -0.019816938787698746, 0.04981501027941704, -0.024400997906923294, 0.03317389264702797, -0.018247827887535095, -0.011605784296989441, 0.020384155213832855, -0.059791941195726395, 0.038837406784296036, 0.057036153972148895, 0.020174141973257065, -0.05110251158475876, -0.012701508589088917, 0.019123347476124763, 0.03401544317603111, 0.017067838460206985, 0.04286923632025719, -0.008980455808341503, -0.042350951582193375, 0.03668325021862984, 0.04446066543459892, 0.013802318833768368, -0.0061500887386500835, 0.017613189294934273, -0.017848266288638115, 0.03375568240880966, 0.030392970889806747, 0.03717273101210594, -0.050689276307821274, -0.004585559945553541, 0.048518456518650055, -0.030846673995256424, -0.045248329639434814, -0.04915742203593254, -0.03060690499842167, 0.0023237925488501787, 0.014340373687446117, 0.029561951756477356, -0.020763281732797623, 0.06340300291776657, 0.05831170082092285, 0.028268864378333092, -0.0030321436934173107, -0.013280519284307957, 0.04952693730592728, -0.023074565455317497, -0.004142295569181442, -0.048521701246500015, -0.019307052716612816, 0.07675332576036453, -0.019233712926506996, 0.0365501269698143, -0.0015535680577158928, -0.018010832369327545, 0.02783571556210518, -0.04822221025824547, -0.05275038257241249, 0.04669491946697235, -0.05935489013791084, -0.0043475208804011345, -0.003976896870881319, -0.038383640348911285, 0.008441084064543247, -0.019864993169903755, -0.01922168768942356, -0.003105785232037306, 0.006863605231046677, 0.01954248547554016, -0.04599496349692345, 0.01655077189207077, 0.00297651719301939, 0.02337367832660675, 0.048736680299043655, 0.037575703114271164, 0.01729569211602211, 0.015564917586743832, -0.031231407076120377, 0.0897873044013977, 0.015362675301730633, -0.004150346387177706, -0.009145762771368027, 0.018167555332183838, -0.000810654426459223, -0.028595343232154846, 0.023861054331064224, 0.006742106284946203, 0.006449815351516008, -0.027381733059883118, 0.08367607742547989, 0.037358738481998444, -0.04635991156101227, 0.008370744064450264, 0.03854922577738762, -0.03144052252173424, -0.0015044801402837038, 0.0010401819599792361, 0.016692904755473137, -0.02230595052242279, 0.05428975075483322, 0.0046786898747086525, 0.05371449515223503, 0.0871264860033989, -0.00671949191018939, 0.00872239749878645, 0.010969283059239388, 0.09960096329450607, 0.04749317467212677, 0.008598010055720806, 0.011494508944451809, 0.061857834458351135, -0.038922809064388275, -0.03454034402966499, -0.004924524575471878, 0.0445442758500576, 0.019258907064795494, 0.010550204664468765, 0.08893655240535736, 0.05875176936388016, -0.019711578264832497, 0.060685038566589355, -0.023076800629496574, -0.003093090606853366, 0.004464167635887861, 0.02553420700132847, 0.011558158323168755, 0.035328950732946396, 0.04303422197699547, 0.004813382867723703, -0.06495801359415054, -0.032693278044462204, -0.02395809255540371, -0.0068432060070335865, -0.009250120259821415, 0.00841607991605997, 0.010441441088914871, 0.012114849872887135, -0.03336526080965996, 0.015228248201310635, 0.08742883056402206, 0.00307481293566525, -0.028996771201491356, 0.021849870681762695, 0.02266595885157585, 0.01574215106666088, 0.028998730704188347, -0.0059144943952560425, -0.04241565242409706, -0.026254847645759583, -0.05685277283191681, 0.011759812012314796, 0.013431291095912457, 0.012823914177715778, 0.01473144069314003, -0.012085742317140102, -0.03935954347252846, -0.0196823813021183, 0.007616390008479357, -0.06735173612833023, -0.03120136447250843, -0.03130505979061127, -0.0259108729660511, -0.07124064862728119, -0.036997340619564056, -0.0053456686437129974, -0.024198317900300026, -0.03596090152859688, -0.00795314833521843, -0.03460094332695007, 0.03340776637196541, 0.009222746826708317, -0.06905539333820343, 0.016273118555545807, 0.042369239032268524, 0.01925469934940338, -0.00008712131239008158, 0.007048735860735178, 0.01800108142197132, -0.017003541812300682, -0.025129809975624084, 0.024824881926178932, -0.0046254713088274, 0.024571964517235756, 0.002821644302457571, -0.02133299596607685, -0.10410912334918976, 0.03335283696651459, 0.02968168817460537, -0.003977436106652021, -0.10548771917819977, 0.030775172635912895, -0.018647154793143272, 0.02775442786514759, 0.05155428126454353, -0.02340156026184559, 0.01287993136793375, -0.06011320650577545, -0.02063760720193386, -0.013887538574635983, -0.014861841686069965, 0.06226051598787308, -0.030292892828583717, 0.07502863556146622, 0.05835765227675438, -0.02484966814517975, -0.017476076260209084, 0.029310420155525208, -0.014208510518074036, 0.02149447798728943, -0.025320997461676598, -0.04272617772221565, -0.03993954509496689, -0.10337531566619873, 0.007298777811229229, 0.036425910890102386, -0.012143545784056187, -0.04859970510005951, 0.003193959826603532, -0.0111813610419631, -0.02113112434744835, -0.015278917737305164, -0.012106107547879219, 0.013959534466266632, 0.003488664049655199, -0.032218221575021744, -0.08143049478530884, -0.006887370720505714, -0.008164462633430958, 0.03600829094648361, -0.032849688082933426, -0.03424469009041786, -0.0013362235622480512, -0.00908665917813778, 0.014596099965274334, 0.015625180676579475, 0.035927664488554, 0.02344781905412674 ]
344
Deep Distributed Optimization for Large-Scale Quadratic Programming
https://openreview.net/forum?id=hzuumhfYSO
[ "Augustinos D Saravanos", "Hunter Kuperman", "Alex Oshin", "Arshiya Taj Abdul", "Vincent Pacelli", "Evangelos Theodorou" ]
Poster
Quadratic programming (QP) forms a crucial foundation in optimization, appearing in a broad spectrum of domains and serving as the basis for more advanced algorithms. Consequently, as the scale and complexity of modern applications continue to grow, the development of efficient and reliable QP algorithms becomes increasingly vital. In this context, this paper introduces a novel deep learning-aided distributed optimization architecture designed for tackling large-scale QP problems. First, we combine the state-of-the-art Operator Splitting QP (OSQP) method with a consensus approach to derive **DistributedQP**, a new method tailored for network-structured problems, with convergence guarantees to optimality. Subsequently, we unfold this optimizer into a deep learning framework, leading to **DeepDistributedQP**, which leverages learned policies to accelerate reaching to desired accuracy within a restricted amount of iterations. Our approach is also theoretically grounded through Probably Approximately Correct (PAC)-Bayes theory, providing generalization bounds on the expected optimality gap for unseen problems. The proposed framework, as well as its centralized version **DeepQP**, significantly outperform their standard optimization counterparts on a variety of tasks such as randomly generated problems, optimal control, linear regression, transportation networks and others. Notably, DeepDistributedQP demonstrates strong generalization by training on small problems and scaling to solve much larger ones (up to 50K variables and 150K constraints) using the same policy. Moreover, it achieves orders-of-magnitude improvements in wall-clock time compared to OSQP. The certifiable performance guarantees of our approach are also demonstrated, ensuring higher-quality solutions over traditional optimizers.
Learning-to-Optimize, Distributed Optimization, Large-Scale Quadratic Programming
We propose DeepDistributedQP, a new deep learning-aided distributed optimization architecture for large-scale quadratic programming.
13,359
2412.12156
[ -0.04030890762805939, -0.04240623116493225, 0.01210768986493349, 0.0451706200838089, 0.040862683206796646, 0.05614558234810829, 0.0015913713723421097, -0.005995383020490408, -0.0181796345859766, -0.04013751074671745, -0.015498592518270016, 0.004978114273399115, -0.07124150544404984, 0.008070665411651134, 0.013837325386703014, 0.06536597013473511, 0.029251135885715485, 0.0015862503787502646, -0.0207565575838089, 0.007535841781646013, 0.020273998379707336, -0.04298638179898262, 0.028486669063568115, 0.03388834372162819, 0.024486806243658066, -0.005345236975699663, 0.009188964031636715, 0.03432302549481392, -0.012646119110286236, -0.01480411272495985, 0.030804643407464027, -0.013445145450532436, 0.0390617772936821, -0.0246525127440691, -0.0011522386921569705, 0.030381711199879646, -0.013787501491606236, 0.009761965833604336, -0.001766846515238285, 0.009084494784474373, -0.015167313627898693, 0.014767124317586422, -0.029365239664912224, 0.042454794049263, -0.04052344337105751, 0.03151401877403259, -0.09145345538854599, 0.011898337863385677, -0.003892392385751009, -0.048831697553396225, -0.11096368730068207, 0.028987929224967957, 0.019140690565109253, -0.011656427755951881, -0.005153089761734009, 0.04886239767074585, 0.029609164223074913, -0.10841447114944458, -0.03250297158956528, -0.07185773551464081, -0.020818468183279037, 0.04271795600652695, 0.029231373220682144, 0.004890309181064367, -0.002520996378734708, 0.011268737725913525, 0.011376217007637024, 0.046973541378974915, -0.040183357894420624, -0.011333893053233624, -0.02029476873576641, -0.00759801734238863, 0.01647697575390339, -0.012227168306708336, -0.027296891435980797, -0.03908723220229149, 0.0035333773121237755, 0.020114222541451454, 0.06161365285515785, -0.008730990812182426, 0.01857926696538925, 0.012232491746544838, -0.030866285786032677, 0.05504798889160156, -0.00562529219314456, 0.018931493163108826, -0.057395853102207184, -0.015261645428836346, -0.08158060163259506, 0.06359867006540298, -0.0011100559495389462, -0.04273749515414238, 0.007086528930813074, 0.0425867885351181, 0.0027586077339947224, 0.006548060569912195, 0.04103856906294823, -0.0016578431241214275, 0.020272281020879745, 0.00471953721717, 0.007289578672498465, -0.04276558384299278, 0.019657479599118233, -0.014286412857472897, -0.09858442097902298, -0.0153945442289114, -0.028529584407806396, -0.039270855486392975, -0.009686972014605999, -0.003777948208153248, -0.044960252940654755, 0.025828730314970016, 0.006459221243858337, -0.037100374698638916, -0.08352609723806381, 0.03657936677336693, 0.007660580333322287, 0.012600068002939224, 0.0013687084428966045, -0.012420721352100372, 0.02594289369881153, 0.03572792187333107, -0.015067096799612045, 0.0713403970003128, 0.01587572507560253, 0.0419948548078537, 0.05578707531094551, 0.010204458609223366, -0.04019249975681305, -0.01835625432431698, 0.022498169913887978, 0.03004523366689682, 0.0089124059304595, 0.001306531485170126, -0.021886590868234634, -0.032432328909635544, -0.006166186183691025, 0.004129049833863974, 0.026937566697597504, 0.011791949160397053, -0.034260571002960205, -0.020025519654154778, 0.0814167782664299, -0.029885876923799515, 0.04124904423952103, -0.007821876555681229, 0.026287894695997238, -0.023056576028466225, -0.03228350728750229, 0.007571640890091658, -0.001094851060770452, 0.007799195591360331, -0.0181215051561594, -0.06714823096990585, 0.024892915040254593, 0.03552571311593056, 0.03175821900367737, 0.0290298443287611, -0.00805679988116026, 0.030341651290655136, 0.03049238957464695, -0.010976599529385567, -0.056621063500642776, -0.02043517865240574, -0.03275055065751076, -0.061078812927007675, 0.0424874871969223, 0.03301876410841942, -0.01386695820838213, -0.03708576783537865, -0.031114649027585983, -0.04919062554836273, 0.04923080652952194, 0.00021549662051256746, 0.003023423021659255, -0.012883125804364681, 0.06382360309362411, -0.0072781085036695, 0.030621429905295372, 0.057271748781204224, -0.0900794193148613, 0.018785418942570686, 0.005279973149299622, 0.005669741425663233, 0.00486683938652277, -0.018464358523488045, 0.0828719437122345, -0.01972142979502678, 0.0127083295956254, 0.007339689414948225, -0.07693024724721909, -0.014909278601408005, -0.0059374975971877575, -0.013120382092893124, 0.05927359312772751, 0.01007179357111454, -0.039251334965229034, 0.0272201057523489, 0.011729623191058636, 0.03957473114132881, 0.06954321265220642, -0.045856934040784836, 0.030583864077925682, -0.0099112493917346, -0.05432786047458649, 0.014270732179284096, 0.045041751116514206, -0.015023835934698582, -0.018862802535295486, 0.004501483403146267, -0.030818045139312744, -0.009994392283260822, -0.024125883355736732, 0.0013679139083251357, 0.05509543791413307, -0.020957978442311287, -0.018240418285131454, 0.01899101957678795, 0.02492736279964447, -0.040752992033958435, 0.040792811661958694, 0.017330272123217583, 0.008359063416719437, 0.0377519316971302, -0.04022404924035072, 0.08035748451948166, 0.06255035847425461, -0.04811530187726021, -0.001769124181009829, 0.028116287663578987, 0.030390586704015732, 0.04402964934706688, 0.01631719246506691, -0.021828338503837585, 0.015528366900980473, -0.008678155019879341, -0.0025438403245061636, -0.026403870433568954, 0.061865273863077164, -0.02217603661119938, -0.019319456070661545, 0.05667900666594505, -0.006420101970434189, 0.07415919750928879, -0.008925854228436947, -0.015817996114492416, 0.045304231345653534, 0.009203310124576092, -0.03526439890265465, -0.0428750179708004, -0.0423145517706871, 0.018096333369612694, -0.0019176029600203037, 0.00411607138812542, 0.009684354066848755, -0.08282265067100525, 0.023472534492611885, 0.0017192645464092493, 0.0801384299993515, 0.060318607836961746, -0.0015337617369368672, 0.02640608698129654, 0.016987906768918037, -0.027992162853479385, -0.024900320917367935, -0.12777787446975708, -0.05210885778069496, 0.016035499051213264, 0.04644746705889702, 0.0004817064618691802, 0.0546099990606308, -0.03175737336277962, 0.021657314151525497, -0.04481642320752144, -0.027061691507697105, 0.011547456495463848, 0.024029960855841637, 0.010691062547266483, -0.014064231887459755, -0.022456005215644836, 0.027594735845923424, 0.07661544531583786, -0.02520674653351307, -0.0012796109076589346, -0.001442087348550558, -0.04450121894478798, 0.0009706621640361845, -0.05356767401099205, 0.024788450449705124, 0.006165959406644106, 0.004847257398068905, 0.0232748594135046, -0.045412808656692505, 0.051068857312202454, 0.03748401254415512, 0.04860521852970123, 0.05249687656760216, 0.006622880231589079, -0.01308393944054842, 0.009840973652899265, -0.015319856815040112, -0.004042911343276501, -0.04019705206155777, 0.01732099987566471, -0.031316470354795456, -0.005922510754317045, 0.02582651749253273, -0.012257152236998081, -0.25968578457832336, -0.00862998329102993, 0.01221265085041523, 0.038563694804906845, 0.06198114901781082, -0.014784792438149452, 0.018467236310243607, -0.01689828746020794, -0.044670067727565765, -0.011001985520124435, -0.006794247776269913, 0.01502730417996645, -0.0017670737579464912, 0.05683459714055061, 0.028979070484638214, 0.04516637697815895, -0.016101302579045296, -0.023890050128102303, 0.005330338142812252, 0.014528198167681694, -0.0013749998761340976, -0.09724476933479309, -0.018726684153079987, 0.020294057205319405, 0.001685029943473637, 0.0625476986169815, -0.07927922159433365, -0.003891406813636422, -0.021500373259186745, 0.008699765428900719, -0.012658516876399517, -0.02428390644490719, -0.024608168751001358, 0.05133756250143051, 0.0124661261215806, -0.0028692639898508787, -0.0022492927964776754, -0.03801535442471504, 0.040997352451086044, 0.03401736915111542, -0.02218107134103775, -0.011056788265705109, -0.036780454218387604, -0.017111551016569138, 0.05532824248075485, 0.0421927236020565, -0.05164492130279541, -0.02874266915023327, -0.010394657962024212, 0.021331757307052612, 0.0448404885828495, -0.03456113114953041, 0.008115892298519611, 0.00528223579749465, 0.015339662320911884, -0.034799374639987946, -0.022568318992853165, -0.013821642845869064, 0.01753903366625309, 0.02082512155175209, 0.025631435215473175, -0.027992092072963715, -0.006418974604457617, -0.051838845014572144, -0.002127930521965027, -0.027440393343567848, -0.06921308487653732, -0.07301194220781326, 0.025799015536904335, 0.04016747325658798, 0.008257313631474972, -0.0013765052426606417, -0.029185526072978973, -0.09752433747053146, -0.013737043365836143, 0.013333568349480629, -0.014702103100717068, -0.018875954672694206, 0.011851383373141289, 0.0475042499601841, -0.03377697244286537, -0.06764572113752365, 0.014178292825818062, 0.01206060592085123, 0.016509341076016426, -0.04917682707309723, 0.022206442430615425, -0.05274366959929466, -0.017746243625879288, -0.03963683545589447, 0.03912338241934776, -0.02146410010755062, 0.059207431972026825, -0.026815572753548622, 0.056524403393268585, 0.032194022089242935, 0.015091653913259506, 0.04323191940784454, 0.02117219753563404, 0.02543237805366516, 0.007928885519504547, -0.06221143528819084, -0.025942621752619743, -0.05774104967713356, -0.03934474661946297, 0.005704640876501799, -0.033070970326662064, -0.011520398780703545, 0.04307306557893753, -0.0012463999446481466, -0.010033195838332176, -0.05328308790922165, 0.01607421226799488, -0.05214507505297661, -0.03851102292537689, -0.01809472218155861, 0.0019290449563413858, 0.05421942099928856, 0.02695932425558567, -0.009327523410320282, -0.02135905809700489, 0.06834167242050171, 0.001443539746105671, 0.011882610619068146, -0.017157627269625664, 0.01157043781131506, -0.0008946325397118926, -0.016060976311564445, 0.01473249588161707, -0.007880335673689842, 0.022983543574810028, 0.05063268914818764, 0.0011557647958397865, 0.005675869062542915, 0.01190231554210186, -0.02065109834074974, -0.014677158556878567, -0.021713901311159134, 0.03877640888094902, 0.003871927736327052, 0.05289729684591293, 0.01499913726001978, 0.012160832062363625, -0.008831505663692951, -0.0024928641505539417, 0.03348449245095253, 0.026168499141931534, 0.04050275683403015, -0.02264506183564663, -0.012440770864486694, 0.013372792862355709, -0.0425463430583477, -0.011040735989809036, -0.004987014457583427, 0.01781405881047249, -0.0072194370441138744, 0.06542859971523285, -0.014802678488194942, 0.00810304842889309, -0.057082466781139374, 0.02313629910349846, 0.005104684270918369, -0.0018952690297737718, 0.0016915705054998398, 0.040532395243644714, 0.0609455369412899, 0.0010282712755724788, -0.0012960756430402398, -0.01690741814672947, -0.00031631827005185187, 0.006679905112832785, -0.028745552524924278, -0.05084385722875595, -0.023447314277291298, -0.031141644343733788, -0.0050230128690600395, 0.011598161421716213, -0.05501474440097809, -0.039112918078899384, 0.03517924249172211, 0.024947885423898697, -0.019129952415823936, 0.006226418539881706, 0.02302372083067894, 0.06633643060922623, 0.0012193993898108602, -0.009152396582067013, 0.023613542318344116, -0.015605838038027287, 0.027212349697947502, 0.007528586313128471, 0.020240798592567444, -0.035003408789634705, -0.02509312704205513, 0.003505328670144081, -0.01336679607629776, 0.017908966168761253, 0.04549894854426384, -0.013912287540733814, 0.010754233226180077, -0.036774590611457825, 0.012390793301165104, -0.05292065441608429, 0.019661495462059975, 0.027053380385041237, -0.069700688123703, 0.01398021075874567, 0.045695774257183075, -0.006615309976041317, 0.029900632798671722, -0.03544700890779495, -0.047016918659210205, -0.04397115856409073, 0.018810570240020752, 0.007185623049736023, -0.010867033153772354, -0.0052829766646027565, 0.026502780616283417, -0.01915043778717518, 0.005125654861330986, 0.013219384476542473, 0.0037857748102396727, 0.00381458573974669, -0.03628493845462799, -0.03218449279665947, 0.08603822439908981, -0.045747339725494385, 0.002385268220677972, -0.002513563958927989, 0.013309287838637829, 0.016778212040662766, -0.045663561671972275, -0.005103718489408493, 0.03559716418385506, -0.001800848520360887, 0.03848695382475853, -0.06089012697339058, 0.030220432206988335, -0.052552495151758194, -0.0507553368806839, -0.027795691043138504, -0.0173215102404356, -0.025645211338996887, 0.005475918296724558, -0.02788669802248478, 0.020774569362401962, 0.012288165278732777, 0.034966062754392624, 0.03475203737616539, -0.009590156376361847, 0.022691071033477783, 0.013828475959599018, -0.061115752905607224, -0.021536797285079956, 0.04201727733016014, -0.0019103356171399355, -0.02051578275859356, -0.06111595034599304, -0.012419585138559341, 0.022988731041550636, -0.07367099076509476, 0.06206952780485153, -0.0504375658929348, 0.03221845254302025, 0.02022215723991394, 0.050512585788965225, 0.010471033863723278, -0.009526167064905167, 0.04927635192871094, -0.037817467004060745, 0.006812324747443199, -0.08176665008068085, -0.003825940191745758, 0.04874679818749428, -0.019647015258669853, 0.01858893223106861, 0.027767177671194077, -0.03536617383360863, 0.05950717628002167, -0.013330348767340183, -0.05558598041534424, 0.025385471060872078, -0.04416872560977936, -0.0029897200874984264, 0.048056185245513916, -0.04867091029882431, -0.03310190886259079, -0.003231869777664542, -0.04597165808081627, 0.008243721909821033, 0.01333234366029501, 0.026929881423711777, -0.00047784141497686505, -0.010575590655207634, -0.0340145006775856, 0.02251998521387577, 0.027054715901613235, 0.026658060029149055, 0.026360470801591873, 0.01134821493178606, -0.021611293777823448, 0.05104954168200493, 0.04960402846336365, 0.044489216059446335, -0.0027068271301686764, 0.028097959235310555, -0.03779510781168938, -0.04285234957933426, 0.03697708994150162, -0.003664514049887657, -0.0045655700378119946, -0.058731935918331146, 0.015316205099225044, 0.02009252831339836, -0.04040692374110222, -0.0060908677987754345, 0.0034611832816153765, -0.05500049516558647, -0.013671756722033024, 0.008615732192993164, 0.008611204102635384, 0.016440751031041145, 0.06818794459104538, 0.030885091051459312, 0.0384720079600811, 0.07705127447843552, 0.03527235612273216, -0.037258580327034, 0.020157145336270332, 0.08915069699287415, 0.044231344014406204, 0.036924105137586594, -0.027009017765522003, 0.06460034102201462, -0.04503976181149483, -0.043512992560863495, 0.007780976127833128, 0.014716068282723427, -0.04461849853396416, -0.017583297565579414, -0.013496643863618374, 0.07752985507249832, -0.01441951934248209, 0.046972595155239105, -0.04370861127972603, -0.011506658978760242, 0.030476734042167664, 0.01604326069355011, -0.013599068857729435, 0.06403438746929169, 0.015568898990750313, 0.04288840666413307, -0.026886243373155594, -0.038294028490781784, 0.0013450994156301022, 0.027674783021211624, 0.006075180601328611, 0.039237603545188904, 0.016445422545075417, 0.009098152630031109, 0.016531601548194885, 0.0017051880713552237, 0.09741447865962982, -0.051190368831157684, -0.03853869065642357, -0.01019122451543808, -0.004650217480957508, -0.02311686798930168, 0.017428331077098846, 0.009261386469006538, -0.06921949237585068, 0.012410142458975315, -0.03052418678998947, 0.027516406029462814, 0.035638973116874695, 0.021764852106571198, 0.029858842492103577, -0.032669052481651306, 0.011640530079603195, 0.02481616660952568, 0.025063592940568924, -0.02096073515713215, -0.050873540341854095, -0.017824538052082062, -0.068979911506176, -0.032818328589200974, -0.08140560239553452, 0.030891330912709236, 0.0071451906114816666, -0.033690858632326126, 0.0002998221025336534, -0.00552017567679286, 0.020255688577890396, 0.012794374488294125, -0.0498664453625679, 0.002535840030759573, 0.03078056313097477, -0.020597582682967186, 0.006690178997814655, 0.020077228546142578, 0.022504620254039764, -0.01619747281074524, 0.004632068332284689, 0.03634819760918617, 0.013810543343424797, -0.016311222687363625, -0.013246426358819008, -0.014176882803440094, -0.07306994497776031, -0.006517352536320686, 0.006949062924832106, -0.06066915765404701, -0.08392401039600372, 0.02893149107694626, -0.0077757276594638824, 0.04728960990905762, 0.049316052347421646, -0.006927365902811289, 0.02660258859395981, -0.04044133424758911, -0.020571408793330193, -0.007684370037168264, -0.005850519519299269, 0.026341119781136513, -0.024997767060995102, 0.04009820520877838, 0.04405846446752548, -0.022988587617874146, -0.0395544096827507, 0.05290083959698677, 0.01356547512114048, -0.010685602203011513, 0.0005300974007695913, -0.015535825863480568, -0.032831788063049316, -0.10654773563146591, -0.017300302162766457, 0.018471842631697655, -0.042689356952905655, -0.05166458338499069, -0.000040237195207737386, -0.0010556528577581048, 0.026661334559321404, -0.01781986467540264, -0.020414892584085464, -0.03183368965983391, -0.03228210285305977, -0.015415335074067116, -0.06724924594163895, 0.048118144273757935, 0.016813915222883224, -0.008025900460779667, -0.017849424853920937, -0.07542568445205688, -0.026343626901507378, 0.00023547736054752022, 0.04738740622997284, 0.009659603238105774, 0.021710794419050217, -0.002249327953904867 ]
345
Dynamic Loss-Based Sample Reweighting for Improved Large Language Model Pretraining
https://openreview.net/forum?id=gU4ZgQNsOC
[ "Daouda Sow", "Herbert Woisetschläger", "Saikiran Bulusu", "Shiqiang Wang", "Hans Arno Jacobsen", "Yingbin Liang" ]
Poster
Pretraining large language models (LLMs) on vast and heterogeneous datasets is crucial for achieving state-of-the-art performance across diverse downstream tasks. However, current training paradigms treat all samples equally, overlooking the importance or relevance of individual samples throughout the training process. Existing reweighting strategies, which primarily focus on group-level data importance, fail to leverage fine-grained instance-level information and do not adapt dynamically to individual sample importance as training progresses. In this paper, we introduce novel algorithms for dynamic, instance-level data reweighting aimed at improving both the efficiency and effectiveness of LLM pretraining. Our methods adjust the weight of each training sample based on its loss value in an online fashion, allowing the model to dynamically focus on more informative or important samples at the current training stage. In particular, our framework allows us to systematically devise reweighting strategies deprioritizing redundant or uninformative data, which we find tend to work best. Furthermore, we develop a new theoretical framework for analyzing the impact of loss-based reweighting on the convergence of gradient-based optimization, providing the first formal characterization of how these strategies affect convergence bounds. We empirically validate our approach across a spectrum of tasks, from pretraining 7B and 1.4B parameter LLMs to smaller-scale language models and linear regression problems, demonstrating that our loss-based reweighting approach can lead to faster convergence and significantly improved performance.
sample reweighing, large language models, pretraining
We propose new loss-based sample reweighing techniques for improved efficiency and effectiveness of LLMs pretraining.
13,352
2502.06733
[ -0.03604428842663765, -0.03326087072491646, 0.022672139108181, 0.044750895351171494, 0.031202487647533417, 0.04587535187602043, 0.0028622839599847794, 0.011651894077658653, -0.02339542657136917, -0.008691429160535336, -0.031472109258174896, 0.027182430028915405, -0.07025250792503357, 0.0038060275837779045, 0.004093109630048275, 0.048297543078660965, 0.04251269996166229, -0.00765050295740366, 0.028782814741134644, 0.04419204965233803, 0.01913389191031456, -0.03234034404158592, 0.03182932734489441, 0.013624358922243118, 0.03703819960355759, -0.0021582588087767363, 0.04696542024612427, 0.0037681814283132553, -0.03538846597075462, -0.006262525916099548, 0.028428081423044205, -0.0145806185901165, 0.03857293352484703, 0.0012525425991043448, 0.005295658949762583, 0.0033431751653552055, -0.015521378256380558, 0.0061609563417732716, 0.01925741136074066, 0.0375874787569046, -0.01920550875365734, 0.016398675739765167, -0.012968954630196095, 0.03350941836833954, -0.0558168888092041, 0.015341220423579216, -0.12415461987257004, 0.01518989633768797, 0.014966625720262527, -0.06327008455991745, -0.12331069260835648, 0.04002758860588074, 0.005053963046520948, -0.025381023064255714, 0.02258245460689068, 0.029386289417743683, 0.03196599334478378, -0.10464859753847122, -0.018478814512491226, -0.031102316454052925, -0.04152325168251991, 0.026569616049528122, 0.004287353251129389, 0.018585335463285446, 0.007587088271975517, -0.026339352130889893, 0.03132903575897217, 0.041051674634218216, -0.06402993947267532, -0.05263042077422142, -0.02353682368993759, 0.011272553354501724, -0.025916224345564842, 0.023073835298419, 0.01745104044675827, -0.03533458337187767, -0.00905125867575407, 0.02364468015730381, 0.06947144865989685, 0.013218211010098457, -0.009800058789551258, 0.01951012574136257, 0.01995886117219925, 0.0356844998896122, 0.03669816255569458, 0.016702335327863693, -0.038328371942043304, -0.057606153190135956, -0.08488598465919495, 0.023180438205599785, -0.024900421500205994, -0.04715312644839287, 0.0263704564422369, 0.026318145915865898, 0.022471057251095772, 0.0061616129241883755, 0.021198695525527, 0.02661101520061493, -0.011351390741765499, -0.01752643659710884, -0.03295091167092323, -0.03549417853355408, 0.028510238975286484, 0.010120172053575516, -0.11667940765619278, -0.016096206381917, -0.011892852373421192, 0.018321696668863297, -0.012217470444738865, -0.0058011263608932495, -0.012121390551328659, -0.007916390895843506, 0.01852906309068203, -0.01715106889605522, -0.07147129625082016, -0.005610629916191101, 0.010499861091375351, 0.016663579270243645, -0.019069408997893333, 0.011570438742637634, 0.04483398422598839, 0.043090879917144775, 0.02379903383553028, 0.07353484630584717, -0.047391828149557114, 0.015036391094326973, 0.02793455682694912, 0.05019793286919594, -0.04442116245627403, -0.012989130802452564, 0.024554070085287094, 0.039860185235738754, 0.009929480031132698, 0.01788802072405815, -0.007627447601407766, -0.0009043628815561533, 0.004398199263960123, 0.023151759058237076, 0.0774373784661293, 0.02100393734872341, -0.0012542030308395624, -0.0054471129551529884, 0.056598588824272156, -0.016607128083705902, 0.032779350876808167, 0.0015278421342372894, -0.027858654037117958, -0.021878808736801147, -0.054322823882102966, -0.012566603720188141, 0.032062068581581116, 0.00768738379701972, -0.011907405219972134, -0.05899830535054207, 0.018648356199264526, 0.05821247771382332, -0.005685857031494379, -0.0051058330573141575, -0.006064704153686762, 0.035013869404792786, 0.006137211807072163, 0.010083658620715141, -0.05228038132190704, 0.009366882964968681, -0.014325838536024094, -0.08121642470359802, 0.037321414798498154, 0.01817755214869976, -0.03535904735326767, -0.0012394163059070706, -0.04899604991078377, -0.04191499203443527, 0.0704398974776268, -0.017586171627044678, -0.0071523734368383884, -0.021837301552295685, 0.06310485303401947, 0.02480621449649334, 0.020075814798474312, 0.037350211292505264, -0.07635264843702316, 0.01493026502430439, 0.029925942420959473, 0.01034194603562355, 0.03259117528796196, -0.018510891124606133, 0.08945533633232117, -0.04425600916147232, 0.014531522057950497, 0.021888073533773422, -0.08075353503227234, -0.00508714048191905, 0.025088869035243988, -0.001099580666050315, 0.05832589417695999, 0.013655038550496101, 0.020351290702819824, 0.04470951482653618, 0.021195387467741966, 0.029590504243969917, 0.0764988362789154, -0.01784409023821354, 0.03837253525853157, -0.017740923911333084, -0.03624485060572624, 0.005695917643606663, 0.020556489005684853, -0.061683524399995804, -0.05300763621926308, 0.014655359089374542, -0.02804412506520748, 0.013243974186480045, 0.01774693839251995, 0.0022973278537392616, 0.00945393554866314, -0.016709187999367714, 0.009152404963970184, 0.014268143102526665, 0.0074490951374173164, -0.045357391238212585, 0.06431135535240173, 0.02341718226671219, -0.006884826812893152, 0.0009429016499780118, -0.03275883197784424, 0.09065501391887665, 0.0645313486456871, 0.003350082552060485, 0.003459218190982938, 0.011264501139521599, 0.007141947280615568, 0.00811141636222601, 0.01796761341392994, -0.035109441727399826, 0.0034234041813760996, -0.010702897794544697, -0.024344902485609055, -0.048151299357414246, 0.03934665396809578, -0.03789494186639786, 0.015904735773801804, 0.07463701069355011, -0.014041797257959843, 0.052923668175935745, -0.008546456694602966, 0.01799040101468563, 0.05040779709815979, -0.0018254760652780533, -0.018283898010849953, -0.044108349829912186, -0.001521265716291964, 0.007298874668776989, -0.016772842034697533, -0.014027685858309269, -0.00660658348351717, -0.02467092126607895, -0.026418766006827354, -0.013858948834240437, 0.06158408895134926, 0.05531923100352287, 0.0068210214376449585, 0.02870219014585018, -0.0014055565698072314, -0.053249772638082504, -0.005853310227394104, -0.1053004339337349, -0.0374167263507843, -0.0137014864012599, 0.04306349903345108, -0.011322456412017345, 0.03993724659085274, 0.007402532733976841, 0.0059968470595777035, -0.024156417697668076, -0.022766606882214546, -0.00040037636063061655, 0.031549856066703796, 0.0022729274351149797, -0.042836084961891174, -0.005917771719396114, -0.007485631387680769, 0.040931254625320435, -0.02209402620792389, -0.039533719420433044, -0.03568436577916145, -0.049498774111270905, -0.020251723006367683, -0.04372585192322731, 0.021339217200875282, 0.00661097327247262, 0.019579634070396423, 0.016094163060188293, -0.021947083994746208, 0.0007010846748016775, 0.045838307589292526, 0.04060668498277664, 0.061477139592170715, 0.017796741798520088, 0.0006470545777119696, 0.04029252752661705, -0.033532433211803436, 0.00939946062862873, 0.00018197343160863966, 0.04618631303310394, -0.026600094512104988, -0.027339991182088852, 0.010719897225499153, 0.010984819382429123, -0.24458715319633484, -0.02528292126953602, 0.008012091740965843, 0.003458048915490508, 0.0497749038040638, -0.02190268598496914, 0.05284687876701355, -0.03353244811296463, -0.03974366933107376, 0.02838711626827717, 0.006299805361777544, 0.048876989632844925, 0.012945633381605148, 0.03768730163574219, 0.059583880007267, 0.0643463134765625, 0.0010220966069027781, 0.002385273575782776, 0.009779232554137707, 0.037465400993824005, -0.011587371118366718, -0.0659407451748848, 0.0067971814423799515, 0.08303781598806381, -0.020501574501395226, 0.1004209965467453, -0.09090691059827805, 0.004935314413160086, -0.023158399388194084, -0.01283897366374731, -0.008341250009834766, -0.03544982895255089, -0.012229475192725658, 0.02432793192565441, 0.007390302140265703, 0.011915720999240875, 0.03676527366042137, 0.023900676518678665, 0.03463354334235191, 0.020416010171175003, 0.015759902074933052, -0.024642495438456535, -0.026047056540846825, -0.00422965781763196, 0.05652914568781853, 0.012746390886604786, -0.06534915417432785, -0.0029956893995404243, -0.007649901323020458, 0.04118240624666214, -0.0029585477896034718, -0.03650438040494919, -0.019162438809871674, 0.023356104269623756, 0.02863667532801628, -0.016239410266280174, -0.0017492426559329033, -0.011549941264092922, -0.011491852812469006, 0.012406745925545692, -0.003147045150399208, -0.04660855978727341, -0.0039002641569823027, -0.05842255428433418, -0.022267479449510574, -0.034990329295396805, -0.06997368484735489, -0.030008940026164055, 0.027859071269631386, 0.03905422240495682, -0.033427510410547256, 0.02239854820072651, 0.0006458970601670444, -0.07862453162670135, 0.010440202429890633, 0.0036864914000034332, 0.0083519471809268, -0.0052921706810593605, -0.013453036546707153, 0.062435686588287354, -0.032188981771469116, -0.029987942427396774, -0.009119363501667976, -0.019261281937360764, 0.019725870341062546, -0.042276352643966675, -0.0010002590715885162, -0.018921757116913795, -0.021034177392721176, -0.048650097101926804, 0.02797362208366394, 0.014728986658155918, 0.01356643345206976, 0.016365734860301018, 0.03921916335821152, 0.021992221474647522, 0.010539899580180645, 0.0646379142999649, 0.039979953318834305, -0.0012452409137040377, 0.002980452962219715, -0.08801639825105667, -0.03225115314126015, -0.05613872408866882, -0.00925176776945591, 0.02915223129093647, -0.08249583840370178, -0.018649449571967125, 0.015505746006965637, -0.03032894991338253, -0.02273309789597988, -0.027491502463817596, 0.012335688807070255, -0.01810402236878872, -0.04355049878358841, -0.013388021849095821, -0.01707191951572895, 0.01890411786735058, 0.034444767981767654, -0.013928987085819244, -0.02192579209804535, 0.04721742123365402, -0.024339502677321434, -0.00023185052850749344, 0.000754904467612505, -0.02990041859447956, 0.03092208318412304, -0.01984073407948017, -0.053897786885499954, -0.006646020337939262, 0.028976531699299812, 0.02281798981130123, -0.004566162824630737, 0.021760810166597366, 0.051428161561489105, 0.006207422818988562, 0.0025377150159329176, -0.015364794991910458, 0.04599069803953171, -0.010116265155375004, 0.007533874828368425, -0.014415914192795753, 0.04001106321811676, 0.011869879439473152, 0.07031052559614182, 0.021364206448197365, 0.009235893376171589, 0.005279654171317816, 0.002845392795279622, -0.004431936424225569, 0.023506030440330505, -0.047855351120233536, -0.0003151130222249776, -0.015367203392088413, 0.029974691569805145, 0.017300529405474663, 0.032108843326568604, -0.010015780106186867, 0.034448787569999695, -0.06563367694616318, 0.06090755760669708, 0.0065451730042696, -0.019338803365826607, 0.012136915698647499, 0.05183130502700806, 0.013922134414315224, -0.012090795673429966, -0.0014296233421191573, 0.034121762961149216, 0.03450683876872063, 0.00020157897961325943, -0.02631296031177044, -0.03939620032906532, -0.005170502234250307, -0.010204225778579712, -0.009983141906559467, 0.02997676469385624, -0.0006693067261949182, -0.027516791597008705, 0.05538058653473854, -0.006365887820720673, -0.027804695069789886, 0.00024199522158596665, 0.018612075597047806, 0.09039325267076492, 0.015195020474493504, -0.005675907712429762, 0.004578240215778351, -0.05708896368741989, 0.03799187391996384, -0.025293750688433647, -0.026322849094867706, -0.001327849691733718, -0.04270152002573013, -0.023780273273587227, -0.046015337109565735, 0.006240807939320803, 0.010977931320667267, -0.006948709487915039, -0.0062942118383944035, -0.03314913436770439, 0.00102987268473953, -0.04341833293437958, -0.02248491905629635, 0.026644714176654816, -0.08234609663486481, -0.005525047425180674, 0.004195197019726038, -0.022577974945306778, 0.043598901480436325, -0.017749853432178497, -0.05334176495671272, -0.045420579612255096, -0.020009897649288177, 0.049601614475250244, -0.04011722654104233, -0.018870996311306953, -0.008387082256376743, 0.025780530646443367, -0.016133656725287437, 0.02002720534801483, -0.009470227174460888, -0.003821453545242548, -0.0237277802079916, 0.004287633113563061, 0.07593096792697906, -0.04283689707517624, 0.003231966868042946, -0.003188760718330741, -0.02307138592004776, 0.009406698867678642, -0.05848170444369316, 0.01690325140953064, 0.06187555938959122, -0.020423084497451782, 0.007801897823810577, -0.037705156952142715, 0.048150863498449326, 0.02122373878955841, -0.019406862556934357, 0.008888169191777706, 0.004057689104229212, -0.012558884918689728, 0.017857152968645096, -0.004898581653833389, 0.03021673858165741, 0.006522501818835735, 0.006386988330632448, 0.0206836499273777, 0.0096962321549654, 0.02587135136127472, 0.01793213188648224, -0.051421236246824265, -0.0004998689400963485, 0.060544341802597046, -0.019783733412623405, -0.04177621006965637, -0.09622416645288467, -0.03559324890375137, -0.0025067985989153385, -0.010852565988898277, 0.012653592973947525, -0.020274849608540535, 0.05622202157974243, 0.019269084557890892, 0.044366784393787384, 0.009277372620999813, -0.018894368782639503, 0.01790299452841282, -0.05744333192706108, -0.021990088745951653, -0.05993456393480301, -0.05095065385103226, 0.057737085968256, -0.035255737602710724, 0.026331158354878426, -0.02246907167136669, -0.04673844575881958, 0.03077494166791439, 0.001051905914209783, -0.05435507744550705, -0.028609707951545715, -0.03210993483662605, -0.0007938605849631131, 0.040586818009614944, -0.039095714688301086, -0.0002635264245327562, 0.000029310309400898404, -0.038833100348711014, -0.01094871573150158, 0.003893272252753377, 0.04396957904100418, -0.044036414474248886, 0.016048619523644447, -0.056884463876485825, -0.0009619775810278952, -0.008006258867681026, 0.05787508934736252, 0.028353611007332802, 0.016813915222883224, -0.03316837176680565, 0.0586390420794487, 0.011737534776329994, -0.022295871749520302, -0.0004344179469626397, 0.008660041727125645, -0.01732523925602436, -0.05586046352982521, 0.06131792813539505, 0.00934082455933094, -0.012125527486205101, -0.04593764245510101, 0.04786371812224388, 0.05262565240263939, -0.046423014253377914, -0.028618911281228065, 0.02765517309308052, -0.0412314273416996, 0.000801568734459579, -0.008633640594780445, -0.012178007513284683, -0.034814249724149704, 0.08318553119897842, 0.02897503785789013, 0.04377196356654167, 0.07045788317918777, 0.00006734700582455844, -0.02145964838564396, -0.007613255642354488, 0.07102607190608978, 0.07028644531965256, 0.057645730674266815, -0.0062561724334955215, 0.05967188999056816, -0.06624604761600494, -0.06297789514064789, 0.028189711272716522, 0.0018061123555526137, -0.031926851719617844, -0.05023353174328804, 0.012290154583752155, 0.06801922619342804, -0.0033617448061704636, 0.0664571151137352, -0.04923482611775398, -0.01737992651760578, 0.026719314977526665, 0.010125192813575268, 0.00860689952969551, 0.05858564004302025, 0.013813188299536705, 0.032636478543281555, -0.03294553607702255, -0.02630733698606491, 0.02259759046137333, 0.002025884110480547, 0.02018703706562519, 0.01049574464559555, -0.010534334927797318, 0.005199546925723553, -0.011146494187414646, 0.03679750859737396, 0.11080173403024673, -0.024702439084649086, -0.047370411455631256, -0.01297918614000082, 0.016657419502735138, -0.008456679061055183, 0.04310641437768936, -0.0067273639142513275, -0.03658772632479668, -0.00045236069126985967, -0.04585493355989456, -0.008391994051635265, 0.0208295751363039, -0.016968030482530594, 0.020085476338863373, -0.02710990607738495, -0.0243140310049057, 0.036175686866045, 0.039854247123003006, -0.07195629179477692, -0.041199423372745514, -0.03615966811776161, -0.05665550380945206, -0.05329671874642372, -0.050300776958465576, 0.038852084428071976, 0.032995063811540604, 0.021280931308865547, 0.010183143429458141, -0.05682846158742905, -0.010659505613148212, 0.023740021511912346, -0.064987413585186, -0.002022034488618374, 0.0313507616519928, -0.02659342996776104, -0.012067093513906002, 0.03388329595327377, 0.00419596116989851, -0.017886830493807793, -0.03359050676226616, 0.06013999879360199, 0.014519444666802883, 0.016595004126429558, -0.011676729656755924, 0.0037271641194820404, -0.09290444850921631, 0.0004654338408727199, 0.014974400401115417, -0.06773484498262405, -0.08131515234708786, 0.03561876714229584, -0.00943493191152811, 0.049088336527347565, 0.04546036943793297, 0.010005548596382141, 0.016848094761371613, -0.03134467080235481, -0.04408200457692146, -0.02233750931918621, 0.03329112380743027, 0.04194668307900429, -0.004568137228488922, 0.04285794496536255, 0.038055770099163055, -0.013513479381799698, -0.03772420808672905, -0.00932346936315298, -0.012485748156905174, -0.031086390838027, -0.01965392753481865, -0.01170018408447504, -0.01808120682835579, -0.07695524394512177, -0.007662870921194553, 0.0019153985194861889, 0.013039522804319859, -0.006824759766459465, 0.00848036166280508, -0.032148439437150955, -0.015788914635777473, -0.013417426496744156, -0.012503952719271183, -0.02697961963713169, -0.03243169188499451, -0.035837430506944656, -0.06803279370069504, 0.0067827836610376835, -0.024493103846907616, -0.0019728338811546564, -0.01672903075814247, -0.042540792375802994, 0.012333422899246216, 0.006255491636693478, 0.04461513087153435, -0.003830868750810623, -0.0009241935913451016, -0.02090468257665634 ]
346
Frame-Voyager: Learning to Query Frames for Video Large Language Models
https://openreview.net/forum?id=LNL7zKvm7e
[ "Sicheng Yu", "CHENGKAI JIN", "Huanyu Wang", "Zhenghao Chen", "Sheng Jin", "ZHONGRONG ZUO", "XU XIAOLEI", "Zhenbang Sun", "Bingni Zhang", "Jiawei Wu", "Hao Zhang", "Qianru Sun" ]
Poster
Video Large Language Models (Video-LLMs) have made remarkable progress in video understanding tasks. However, they are constrained by the maximum length of input tokens, making it impractical to input entire videos. Existing frame selection approaches, such as uniform frame sampling and text-frame retrieval, fail to account for the information density variations in the videos or the complex instructions in the tasks, leading to sub-optimal performance. In this paper, we propose Frame-Voyager that learns to query informative frame combinations, based on the given textual queries in the task. To train Frame-Voyager, we introduce a new data collection and labeling pipeline, by ranking frame combinations using a pre-trained Video-LLM. Given a video of M frames, we traverse its T-frame combinations, feed them into a Video-LLM, and rank them based on Video-LLM's prediction losses. Using this ranking as supervision, we train Frame-Voyager to query the frame combinations with lower losses. In experiments, we evaluate Frame-Voyager on four Video Question Answering benchmarks by plugging it into two different Video-LLMs. The experimental results demonstrate that Frame-Voyager achieves impressive results in all settings, highlighting its potential as a plug-and-play solution for Video-LLMs.
Video-LLM, Adaptive Frame Sampling
Frame-Voyager queries optimal frame combinations for Video-LLMs based on task-specific queries, outperforming existing SOTA methods and achieving best results in Video Question Answering benchmarks as a plug-and-play solution.
13,344
null
[ 0.012050231918692589, -0.0032149930484592915, 0.008856258355081081, 0.05638136342167854, 0.039485860615968704, 0.01733453758060932, 0.016226470470428467, 0.0182703398168087, -0.008280111476778984, -0.01170314010232687, -0.02809492126107216, 0.02321479469537735, -0.05676724761724472, 0.024854356423020363, 0.016896452754735947, 0.041788190603256226, 0.030600471422076225, 0.008757696487009525, 0.022221164777874947, 0.0092525789514184, 0.007356845773756504, -0.021293779835104942, 0.043202806264162064, -0.010042214766144753, 0.01623896136879921, -0.015189786441624165, -0.004284349735826254, 0.04955665022134781, -0.04197691008448601, -0.0057775769382715225, 0.030075136572122574, -0.039753228425979614, 0.008422278799116611, -0.024967128410935402, 0.018707487732172012, -0.02559196949005127, -0.0170130617916584, 0.015209287405014038, 0.01572497934103012, 0.003431977704167366, -0.04326644167304039, -0.0018747113645076752, -0.0002560752909630537, -0.008412246592342854, -0.07350847870111465, 0.03231567144393921, -0.07457063347101212, 0.028771165758371353, 0.013497605919837952, -0.057274896651506424, -0.08724591881036758, 0.05657721310853958, -0.0007414749125018716, -0.01690942607820034, 0.016444053500890732, 0.006953830365091562, 0.06538300961256027, -0.11642172187566757, 0.005329515319317579, -0.006996121723204851, -0.00678974436596036, 0.04930226132273674, 0.038458582013845444, 0.023490004241466522, 0.013857215642929077, -0.0633670836687088, -0.029509641230106354, 0.048676036298274994, -0.05237197130918503, -0.04195808991789818, -0.0005572965019382536, 0.012190575711429119, -0.012457533739507198, -0.002978324191644788, 0.024041619151830673, -0.0074071637354791164, 0.0002945899323094636, 0.015445084311068058, 0.05774744600057602, -0.034923624247312546, 0.004690709989517927, 0.04947486147284508, 0.03125293552875519, 0.06791011244058609, -0.0027090422809123993, 0.04845740273594856, -0.039916086941957474, -0.04462527111172676, -0.07006370276212692, 0.019724860787391663, -0.03419680893421173, -0.031900569796562195, -0.011208943091332912, 0.025503305718302727, -0.0004814344283659011, -0.006151977926492691, 0.0041884626261889935, 0.02368125133216381, 0.039502326399087906, -0.005749244708567858, -0.059209469705820084, -0.07200844585895538, 0.03795376792550087, 0.002445615828037262, -0.10536416620016098, -0.035134412348270416, -0.0005368369165807962, -0.010202622972428799, 0.030109122395515442, 0.006817798130214214, -0.023821458220481873, 0.0009509176015853882, 0.028488315641880035, -0.012056682258844376, -0.042726919054985046, 0.0281794685870409, 0.0018504710169509053, -0.002120557939633727, -0.03454901650547981, 0.00490401778370142, 0.010194044560194016, 0.04146473854780197, 0.000015235011233016849, 0.07125876843929291, -0.02497514709830284, 0.02558254636824131, 0.011600013822317123, 0.026313476264476776, -0.052576109766960144, -0.05247708410024643, -0.0030463330913335085, 0.050713762640953064, -0.012888743542134762, 0.032010797411203384, -0.007818241603672504, 0.0015125463251024485, 0.024160580709576607, -0.019739605486392975, 0.024090949445962906, -0.03580961748957634, 0.0008664716733619571, -0.003981785848736763, 0.02839468978345394, -0.006556322798132896, 0.10788755863904953, 0.005412915255874395, -0.0277452040463686, -0.023990053683519363, -0.05474090576171875, -0.01868428662419319, 0.009306909516453743, -0.005363833624869585, 0.03545770421624184, -0.05132570117712021, -0.007724630646407604, 0.030889669433236122, -0.0054536801762878895, 0.0052397106774151325, -0.00016424935893155634, -0.024543600156903267, -0.019744647666811943, 0.008335191756486893, -0.023699991405010223, 0.026010312139987946, -0.007163386791944504, -0.06203734502196312, 0.03192427009344101, 0.014623238705098629, -0.03367709368467331, 0.028903039172291756, -0.022204702720046043, -0.021513966843485832, 0.037766408175230026, -0.01448619831353426, -0.06847991794347763, 0.016946347430348396, 0.0727919340133667, 0.03469034656882286, 0.040713679045438766, 0.013028874062001705, -0.0779179111123085, 0.023888351395726204, -0.006314725615084171, -0.01272501703351736, 0.02766207978129387, -0.019141782075166702, 0.08114828914403915, -0.03272656351327896, -0.026975296437740326, -0.00822142418473959, -0.07003449648618698, -0.017852390184998512, -0.007103441748768091, 0.002311880001798272, 0.04121777415275574, -0.01960686407983303, 0.036469411104917526, 0.03575339913368225, 0.0516420342028141, 0.032370030879974365, 0.037275876849889755, 0.0021230929996818304, 0.06379563361406326, -0.0054873209446668625, -0.009003492072224617, 0.009075300768017769, 0.04047427326440811, -0.03787495568394661, 0.009636303409934044, 0.010714377276599407, -0.006476875860244036, 0.03138488531112671, 0.021591000258922577, 0.005804457236081362, 0.007067230995744467, 0.023173976689577103, -0.0134262191131711, 0.0018877408001571894, 0.028362149372696877, -0.030722780153155327, 0.011402237229049206, 0.0016674025682732463, -0.02967781387269497, -0.02228131704032421, -0.0804608166217804, 0.08769457042217255, 0.05282185971736908, -0.02549789659678936, -0.02872891165316105, 0.020101407542824745, 0.008900051936507225, 0.021277669817209244, -0.003214470576494932, -0.028848594054579735, -0.01150369830429554, -0.004872485529631376, 0.02493177354335785, -0.04717050865292549, 0.03492843359708786, -0.05124349892139435, -0.010098546743392944, 0.05587133765220642, 0.016935205087065697, 0.0293563399463892, 0.01744811050593853, -0.0010900021297857165, 0.05045715346932411, 0.011415698565542698, 0.0058347503654658794, -0.030341172590851784, 0.005051633343100548, -0.006890473421663046, -0.014180559664964676, -0.026922130957245827, 0.013120605610311031, -0.021918701007962227, -0.03479382395744324, -0.0014216391136869788, 0.07075753062963486, 0.06617479771375656, 0.05239711329340935, 0.05002928897738457, 0.0022605767007917166, -0.02054821327328682, -0.023216208443045616, -0.08583267033100128, -0.036625418812036514, -0.07802493870258331, 0.004404736682772636, 0.010948163457214832, 0.021749446168541908, 0.0052006128244102, 0.029113883152604103, -0.02197396196424961, -0.018275951966643333, 0.01713171787559986, 0.039970144629478455, -0.006628260016441345, -0.029827261343598366, -0.006488804239779711, 0.027472449466586113, 0.05092610418796539, 0.003141099354252219, -0.041220057755708694, -0.045184437185525894, -0.02504848502576351, -0.008184639737010002, -0.029501626268029213, 0.020756375044584274, 0.02526554837822914, 0.006773628760129213, 0.02770550549030304, -0.0374363549053669, 0.015102752484381199, 0.04177433252334595, 0.057979900389909744, 0.06454910337924957, 0.0016975045436993241, -0.017853232100605965, 0.044493939727544785, -0.04775884747505188, 0.014302318915724754, -0.009779214859008789, 0.027629388496279716, -0.01543379295617342, 0.008766737766563892, 0.019254807382822037, -0.0020039225928485394, -0.25705069303512573, -0.028724074363708496, 0.019330479204654694, 0.011871092021465302, 0.031066739931702614, -0.05805574357509613, 0.030985349789261818, -0.06552987545728683, -0.018063515424728394, 0.015538250096142292, 0.0266224704682827, 0.05776350200176239, -0.014501765370368958, 0.03595909848809242, 0.06652288883924484, 0.04684895649552345, -0.04026639834046364, -0.025320056825876236, 0.00314467865973711, 0.0338878333568573, 0.013573745265603065, -0.066266268491745, -0.03769276663661003, 0.021678650751709938, -0.01904134638607502, 0.023400768637657166, -0.07658792287111282, 0.01209761667996645, -0.0017728926613926888, -0.03213031217455864, -0.011952031403779984, -0.020350705832242966, -0.021472403779625893, 0.025782236829400063, -0.012626971118152142, 0.014958225190639496, 0.0719231441617012, -0.031714458018541336, 0.036646950989961624, 0.017415726557374, 0.007618641946464777, -0.016258884221315384, -0.011571386829018593, 0.020363498479127884, 0.07955190539360046, -0.013852952048182487, -0.054400961846113205, -0.0049843075685203075, -0.010140297003090382, 0.024895576760172844, -0.0015892719384282827, -0.00594956474378705, -0.006075351033359766, -0.004258970730006695, 0.029056165367364883, -0.02505928836762905, 0.014366903342306614, -0.02704835683107376, -0.02372538298368454, -0.017288751900196075, -0.001178996404632926, -0.055621564388275146, -0.03957511857151985, -0.04288772493600845, -0.019978465512394905, -0.04425686225295067, -0.043511781841516495, -0.0019213462946936488, 0.015181072056293488, -0.009594904258847237, -0.03378202021121979, 0.05467750132083893, 0.008298837579786777, -0.1066143736243248, 0.010492195375263691, 0.002746136160567403, -0.015948055312037468, -0.009073002263903618, -0.002929547568783164, 0.03252334147691727, -0.020739447325468063, -0.042505744844675064, 0.005949266254901886, 0.013588638044893742, 0.04395771026611328, -0.04831723868846893, 0.02561057358980179, -0.054041583091020584, -0.009775439277291298, -0.05184219405055046, 0.0410236120223999, -0.06378252059221268, 0.004302031360566616, 0.04587565362453461, 0.017770253121852875, 0.04697190225124359, -0.0023441719822585583, 0.07385735213756561, 0.04813658446073532, 0.007523042615503073, 0.02027716301381588, -0.04915546253323555, -0.004332069307565689, -0.045510806143283844, -0.00888445507735014, 0.039299126714468, -0.0338873453438282, -0.012010792270302773, 0.03174254298210144, -0.001974990125745535, -0.054387837648391724, 0.009168731980025768, 0.005443037953227758, 0.009410465136170387, -0.02067679539322853, -0.010115549899637699, -0.029120024293661118, 0.03969452902674675, 0.0482383668422699, -0.04119747132062912, -0.020376622676849365, 0.047135625034570694, -0.03873738646507263, 0.02646363526582718, -0.017486916854977608, 0.004182207863777876, 0.028334634378552437, -0.012409307062625885, -0.0012781167170032859, 0.012964836321771145, 0.009378527291119099, 0.0008001881651580334, 0.004520822316408157, 0.026873255148530006, 0.06857750564813614, -0.023659193888306618, 0.010192281566560268, 0.0025679515674710274, 0.04878959804773331, -0.022307395935058594, -0.016106294468045235, -0.005832910072058439, 0.02651294134557247, 0.033795420080423355, 0.013895454816520214, 0.025571350008249283, 0.018317297101020813, 0.038038741797208786, -0.0233137384057045, -0.0010833139531314373, 0.00814108271151781, -0.05876408517360687, -0.02964412234723568, -0.02622160315513611, 0.021496295928955078, -0.03255255147814751, 0.01736261695623398, 0.009014676325023174, 0.03660382702946663, -0.07463067770004272, 0.06357555836439133, 0.01711214706301689, -0.0009934214176610112, 0.032303303480148315, 0.055988822132349014, 0.011025940999388695, -0.005649672355502844, 0.015331009402871132, 0.027162257581949234, -0.002416458213701844, -0.00811013113707304, -0.0248627457767725, -0.03214479237794876, 0.006734945345669985, 0.00173335918225348, 0.021477604284882545, -0.0098392553627491, 0.007358815986663103, -0.03631431236863136, 0.06551220268011093, 0.026420341804623604, -0.022963881492614746, 0.027324257418513298, -0.01922517456114292, 0.06188260018825531, 0.023940829560160637, -0.01586882956326008, 0.019933469593524933, -0.040658798068761826, 0.03279644995927811, 0.007238378748297691, 0.022044546902179718, -0.017185639590024948, -0.03754046559333801, -0.029483206570148468, -0.07664171606302261, 0.027355963364243507, -0.008648366667330265, -0.003037448972463608, -0.005517148412764072, -0.04249834641814232, 0.006837311666458845, -0.03426284343004227, 0.04346340522170067, -0.0016867048107087612, -0.05421578139066696, 0.022091949358582497, 0.040109433233737946, -0.002973292488604784, 0.014085102826356888, -0.049596983939409256, -0.04724355414509773, -0.0480850487947464, -0.05514417961239815, -0.0013691415078938007, -0.018358170986175537, 0.010703383013606071, -0.022953005507588387, 0.023787323385477066, -0.019118981435894966, 0.03950018063187599, -0.022021494805812836, -0.010323017835617065, -0.0205954872071743, 0.005439539905637503, 0.05307852476835251, -0.05960605666041374, -0.05115838348865509, 0.026754366233944893, -0.03277545049786568, 0.01412576250731945, -0.02833147905766964, 0.03691970184445381, 0.06490184366703033, -0.03227805346250534, 0.010990464128553867, -0.0678856298327446, 0.0110990134999156, 0.004476708825677633, 0.004853306338191032, 0.04927419498562813, -0.000020820476493099704, -0.016636911779642105, 0.02695438824594021, -0.028616223484277725, 0.019768783822655678, 0.03410615399479866, 0.01302837673574686, 0.0057721976190805435, -0.0005960736889392138, 0.026951614767313004, -0.0020361465867608786, -0.0407010018825531, -0.03258503973484039, 0.04690004140138626, -0.04249439388513565, -0.023991089314222336, -0.06839638203382492, -0.03246612474322319, 0.04152706265449524, -0.004920798819512129, -0.002816184191033244, -0.048210736364126205, 0.035954494029283524, 0.013286501169204712, 0.03864109516143799, 0.016662752255797386, -0.013280287384986877, 0.025356639176607132, -0.0301161278039217, -0.006323730573058128, -0.05248938500881195, -0.04474443197250366, 0.06098158285021782, -0.007526647765189409, 0.01437067799270153, -0.007984431460499763, -0.04452931880950928, 0.019882624968886375, -0.02310647815465927, -0.062680184841156, 0.020037680864334106, -0.03493678942322731, 0.0090921176597476, 0.032346177846193314, -0.006047449540346861, -0.022457340732216835, -0.0022682661656290293, -0.043172094970941544, -0.013629819266498089, -0.017026083543896675, 0.055630072951316833, -0.05969706177711487, 0.012655835598707199, -0.035833172500133514, -0.02070629969239235, 0.006766634993255138, 0.05255903676152229, 0.014442728832364082, 0.025310903787612915, -0.001100294291973114, 0.032568465918302536, 0.05028611794114113, -0.009895583614706993, 0.0335395447909832, -0.010928190313279629, -0.012583543546497822, -0.060671474784612656, 0.07561544328927994, 0.007669632323086262, -0.008828418329358101, -0.06423739343881607, 0.07432727515697479, 0.03711060434579849, -0.05071302503347397, -0.00601918762549758, 0.04240383580327034, -0.031118160113692284, -0.011402517557144165, -0.0023063665721565485, -0.012996806763112545, 0.006133303511887789, 0.0728793665766716, 0.01069114450365305, 0.06782328337430954, 0.07443574070930481, 0.010865823365747929, -0.034457977861166, -0.0026091395411640406, 0.054341621696949005, 0.051844239234924316, 0.05586749315261841, -0.03600430488586426, 0.06989499181509018, -0.054546624422073364, -0.03770459070801735, 0.029832428321242332, 0.010303388349711895, -0.014048201963305473, -0.03896905854344368, 0.013288745656609535, 0.07721725106239319, -0.02094227634370327, 0.037180010229349136, -0.03766530379652977, -0.029026243835687637, 0.04569576308131218, 0.002298363484442234, 0.008000115863978863, 0.02564011700451374, 0.024583633989095688, -0.014387093484401703, -0.023541580885648727, -0.027542486786842346, 0.006274004466831684, 0.0010656240629032254, 0.006078849080950022, 0.00085334328468889, 0.014957429841160774, 0.00426335958763957, -0.03929263353347778, 0.01952020637691021, 0.13523854315280914, -0.051717571914196014, -0.023905064910650253, 0.0002578234707470983, -0.014297586865723133, -0.019606810063123703, 0.056709516793489456, 0.012177381664514542, -0.030688609927892685, 0.0007661861018277705, -0.07487753033638, 0.01921912655234337, 0.044558800756931305, -0.004089395049959421, -0.01648639142513275, -0.023552346974611282, -0.023148786276578903, 0.025956861674785614, 0.029915016144514084, -0.05101857706904411, -0.04511097073554993, -0.043501850217580795, -0.05888054147362709, -0.05444735288619995, -0.04496371001005173, 0.019348910078406334, 0.006937558297067881, -0.061968304216861725, -0.034921932965517044, -0.04618014022707939, 0.02890646457672119, -0.00045602035243064165, -0.07216545939445496, -0.00508948415517807, 0.046331580728292465, 0.0015526532661169767, -0.006725009065121412, 0.0633324384689331, 0.029418230056762695, -0.030463170260190964, -0.008316734805703163, 0.02730526588857174, 0.05792788788676262, -0.007723340764641762, -0.018878119066357613, 0.001670493627898395, -0.10964849591255188, 0.007320775184780359, 0.030534235760569572, -0.012700110673904419, -0.06514455378055573, -0.019745809957385063, -0.0029120142571628094, 0.05376183241605759, 0.083583764731884, 0.03959588333964348, 0.04065084457397461, -0.04132876545190811, -0.01251654326915741, -0.0031170914880931377, 0.008238877169787884, 0.05806355178356171, -0.02440471202135086, 0.06037024036049843, 0.033121101558208466, -0.01163390837609768, -0.0472993366420269, 0.009007524698972702, 0.009724182076752186, -0.008484120480716228, -0.023433834314346313, -0.04176422953605652, -0.012471732683479786, -0.10501006990671158, -0.03719571977853775, 0.02670622430741787, 0.003682417795062065, -0.01640072837471962, 0.0019409562228247523, 0.0044453986920416355, -0.018284352496266365, -0.0033756159245967865, -0.039748892188072205, -0.025669630616903305, -0.006274739746004343, -0.052000198513269424, -0.050450462847948074, 0.014684469439089298, -0.03372238203883171, -0.015528763644397259, -0.012504263781011105, -0.048559725284576416, -0.0026766483206301928, 0.009989669546484947, 0.030129533261060715, 0.025422247126698494, 0.022468479350209236, -0.03686751052737236 ]
347
PN-GAIL: Leveraging Non-optimal Information from Imperfect Demonstrations
https://openreview.net/forum?id=0e2pcSxQJS
[ "Qiang Liu", "Huiqiao Fu", "Kaiqiang Tang", "Chunlin Chen", "Daoyi Dong" ]
Poster
Imitation learning aims at constructing an optimal policy by emulating expert demonstrations. However, the prevailing approaches in this domain typically presume that the demonstrations are optimal, an assumption that seldom holds true in the complexities of real-world applications. The data collected in practical scenarios often contains imperfections, encompassing both optimal and non-optimal examples. In this study, we propose Positive-Negative Generative Adversarial Imitation Learning (PN-GAIL), a novel approach that falls within the framework of Generative Adversarial Imitation Learning (GAIL). PN-GAIL innovatively leverages non-optimal information from imperfect demonstrations, allowing the discriminator to comprehensively assess the positive and negative risks associated with these demonstrations. Furthermore, it requires only a small subset of labeled confidence scores. Theoretical analysis indicates that PN-GAIL deviates from the non-optimal data while mimicking imperfect demonstrations. Experimental results demonstrate that PN-GAIL surpasses conventional baseline methods in dealing with imperfect demonstrations, thereby significantly augmenting the practical utility of imitation learning in real-world contexts. Our codes are available at https://github.com/QiangLiuT/PN-GAIL.
Generative adversarial imitation learning, imperfect demonstrations, reinforcement learning
We introduce a Positive-Negative Generative Adversarial Imitation Learning (PN-GAIL) method within the framework of Generative Adversarial Imitation Learning (GAIL) to leverage non-optimal information from imperfect demonstrations.
13,343
null
[ -0.0007793184486217797, -0.044677745550870895, -0.01066037081182003, 0.06097764894366264, 0.018351273611187935, 0.03472311422228813, -0.003278924385085702, -0.01727627031505108, -0.029401881620287895, -0.03910071402788162, -0.009057155810296535, 0.011719237081706524, -0.07369177788496017, -0.01888944022357464, -0.04113646596670151, 0.039666980504989624, 0.025191765278577805, -0.002091895556077361, 0.01402267999947071, 0.03289341926574707, -0.018966319039463997, -0.004285816103219986, 0.02194586768746376, 0.010919670574367046, 0.03908313810825348, 0.01643122360110283, 0.042403943836688995, 0.005551810842007399, -0.027561265975236893, -0.02845676802098751, 0.027604570612311363, -0.006709153298288584, 0.026976002380251884, -0.03166348114609718, 0.020913628861308098, 0.003460003063082695, -0.025385605171322823, 0.0030040524434298277, -0.004061667248606682, 0.022990785539150238, -0.04738636687397957, -0.0009313231566920877, -0.034748952835798264, 0.0027997014112770557, -0.03869952633976936, 0.007329652085900307, -0.08506300300359726, 0.04505086690187454, 0.023871980607509613, -0.02755405567586422, -0.1027965322136879, 0.035737473517656326, 0.03479059785604477, -0.016923200339078903, -0.02216188795864582, 0.0267531368881464, 0.04746342822909355, -0.08036976307630539, 0.01388294156640768, -0.07002250105142593, -0.034372616559267044, 0.051814328879117966, 0.022052813321352005, -0.022065455093979836, 0.0004579767701216042, 0.014655394479632378, 0.051638271659612656, 0.051780473440885544, -0.022346390411257744, -0.057596445083618164, -0.05825009569525719, -0.0020344036165624857, 0.02349083125591278, -0.0019365056650713086, 0.025012116879224777, -0.048392366617918015, 0.012696637772023678, 0.010061400942504406, 0.08657317608594894, -0.0002578959974925965, 0.03022986277937889, 0.03642149269580841, 0.02003374882042408, 0.037923414260149, 0.003634478896856308, 0.024364281445741653, -0.029231280088424683, -0.024041015654802322, -0.06808410584926605, 0.00945448037236929, -0.025955073535442352, -0.05015575885772705, 0.01460015494376421, 0.043266188353300095, 0.003761834232136607, -0.002851495984941721, 0.03154447674751282, -0.00561822485178709, 0.02570781111717224, -0.01284666545689106, -0.01664080284535885, -0.03144223988056183, -0.02601858600974083, -0.013579107820987701, -0.11018190532922745, -0.030487127602100372, -0.030606314539909363, -0.0052085937932133675, -0.0496741347014904, 0.005023259669542313, -0.0642603188753128, 0.004113492090255022, 0.009450758807361126, -0.0434427373111248, -0.06189838424324989, 0.0314413346350193, -0.00408180383965373, 0.006583297625184059, -0.012897581793367863, 0.007278941106051207, 0.05388477444648743, 0.014669331721961498, 0.00041547443834133446, 0.07312827557325363, -0.011377448216080666, 0.01681593246757984, 0.03321981802582741, 0.05475090816617012, -0.029171990230679512, -0.0057460651732981205, 0.010111291892826557, 0.02968502789735794, -0.01769270747900009, 0.007230017334222794, 0.011164314113557339, -0.028434202075004578, 0.008068216033279896, 0.028704877942800522, 0.011549203656613827, 0.007901049219071865, 0.008668163791298866, 0.011782683432102203, 0.09094469249248505, 0.00006681260856566951, 0.0991266667842865, -0.02160799317061901, 0.016763899475336075, -0.03654586896300316, -0.06357042491436005, 0.0011181526351720095, 0.005311266053467989, -0.024322902783751488, -0.010101435706019402, -0.04424940049648285, -0.011442309245467186, 0.02631736360490322, 0.043101608753204346, 0.03821224346756935, -0.01759253442287445, -0.006620940286666155, 0.016780104488134384, -0.00028026028303429484, -0.03291428089141846, -0.016060326248407364, 0.010763021185994148, -0.08966870605945587, 0.03992351517081261, 0.032580163329839706, -0.04297257959842682, -0.0057983133010566235, -0.05868304893374443, -0.022117840126156807, 0.04636440798640251, 0.023563584312796593, -0.02306940034031868, 0.01859547384083271, 0.032250840216875076, -0.025000104680657387, 0.03388408198952675, 0.046512115746736526, -0.0798630490899086, 0.03227132558822632, 0.024520525708794594, 0.003060180926695466, -0.010109362192451954, -0.025626694783568382, 0.06359662115573883, -0.03819373995065689, 0.014727719128131866, 0.053337160497903824, -0.060737837105989456, 0.007971702143549919, 0.01856696791946888, -0.03358981013298035, 0.0692487582564354, 0.001141327666118741, -0.008833390660583973, 0.04074149578809738, 0.04788075014948845, 0.07150858640670776, 0.035708434879779816, -0.04177708923816681, 0.029151851311326027, -0.018016256392002106, -0.008985642343759537, 0.0075918883085250854, 0.03554830327630043, -0.023118840530514717, -0.03751474991440773, 0.02055559679865837, -0.014382434077560902, 0.0026585261803120375, -0.0023301434703171253, 0.014032253995537758, 0.0171307772397995, 0.010785408318042755, -0.040228214114904404, 0.017574114724993706, 0.008980539627373219, -0.02102510817348957, 0.013781559653580189, 0.04029230773448944, -0.013985906727612019, 0.02128099836409092, -0.012693087570369244, 0.08792633563280106, 0.06943065673112869, -0.011317191645503044, -0.003884345991536975, 0.03818773478269577, -0.012967431917786598, 0.012250187806785107, 0.012487023137509823, -0.01278104167431593, 0.02447451837360859, -0.024586133658885956, 0.044281601905822754, -0.03111017681658268, 0.08241049945354462, -0.0407426543533802, -0.023692553862929344, 0.05908931419253349, -0.03634829446673393, 0.08972401171922684, -0.0121841449290514, 0.024608328938484192, 0.009302989579737186, 0.028466297313570976, 0.0019880279432982206, -0.00942377932369709, -0.014883027411997318, 0.012082377448678017, 0.029116058722138405, 0.006408835761249065, -0.017057135701179504, -0.05521392822265625, -0.033044490963220596, -0.03377247229218483, 0.07944655418395996, 0.05980507656931877, -0.0002122964506270364, 0.02622903324663639, 0.006638707593083382, -0.020906871184706688, -0.019535934552550316, -0.1276852786540985, -0.0129954619333148, -0.008965333923697472, 0.03649834543466568, 0.021821822971105576, 0.03327547758817673, 0.007982339709997177, 0.018294477835297585, -0.015289380215108395, -0.012644516304135323, 0.0158925112336874, 0.009257171303033829, 0.018682539463043213, -0.02904948964715004, -0.025079134851694107, -0.011224314570426941, 0.06813453137874603, 0.01185100432485342, 0.002350954804569483, -0.027586448937654495, -0.054612673819065094, -0.015767736360430717, -0.030730683356523514, -0.011271286755800247, 0.0349670946598053, -0.002722550183534622, 0.014707040973007679, -0.012280449271202087, 0.025754166767001152, 0.013740906491875648, 0.03359465301036835, 0.028709299862384796, 0.01952912099659443, -0.020556513220071793, 0.01848730258643627, -0.011676009744405746, 0.02229994535446167, -0.024494212120771408, 0.021086180582642555, -0.007669978775084019, -0.0013477255124598742, 0.03978222981095314, 0.003472818760201335, -0.26941898465156555, 0.005735526327043772, 0.062371689826250076, 0.019176151603460312, 0.026465309783816338, -0.031168736517429352, 0.06637889891862869, -0.03116459958255291, -0.041433755308389664, 0.00613737478852272, -0.002316012280061841, 0.024658039212226868, 0.0009753164486028254, 0.0417383648455143, 0.03231482580304146, 0.028494039550423622, 0.008984040468931198, -0.033212244510650635, 0.0028523930814117193, 0.005829347297549248, -0.046820349991321564, -0.05653505399823189, -0.018102314323186874, 0.03619761765003204, -0.014509967528283596, 0.05094278231263161, -0.05621293559670448, -0.04295254871249199, -0.03899548947811127, -0.00172656390350312, -0.007657852489501238, -0.01695892959833145, -0.021496133878827095, 0.03964528441429138, 0.018941694870591164, 0.023009654134511948, 0.04162948951125145, -0.036705609411001205, 0.051882073283195496, 0.01213787030428648, -0.009290235117077827, 0.0026217936538159847, -0.011074923910200596, 0.04295618459582329, 0.06582678109407425, 0.026034466922283173, -0.023194583132863045, -0.018365241587162018, -0.02960001491010189, 0.021981937810778618, 0.03088134527206421, -0.012602831237018108, -0.0024002117570489645, 0.018388791009783745, 0.02739909291267395, 0.016654323786497116, 0.006170765496790409, -0.009893431328237057, -0.02168668620288372, 0.012320884503424168, 0.017954228445887566, -0.05686067044734955, -0.045237671583890915, 0.01124718226492405, 0.004258774220943451, -0.03182678669691086, -0.03582845255732536, -0.07173493504524231, 0.058298785239458084, 0.017170878127217293, -0.01199332159012556, -0.031067654490470886, -0.008435041643679142, -0.0977649912238121, 0.05813002958893776, 0.0002605638583190739, -0.029799532145261765, -0.018586711958050728, -0.008878619410097599, 0.007070138119161129, -0.04231499135494232, -0.04038987681269646, 0.01326044462621212, 0.014402064494788647, 0.0011777133913710713, -0.014465872198343277, 0.056944627314805984, -0.020878195762634277, -0.012101811356842518, -0.040394071489572525, 0.039997655898332596, 0.007677185349166393, 0.047345198690891266, -0.03102351352572441, 0.023609692230820656, 0.030217381194233894, 0.08492966741323471, 0.04962409660220146, 0.033389974385499954, 0.011875134892761707, 0.005367605946958065, -0.07766198366880417, -0.025891797617077827, -0.035690080374479294, -0.023303251713514328, 0.03647158667445183, -0.07976415753364563, -0.005453888792544603, 0.07001500576734543, -0.01457588654011488, -0.030430564656853676, -0.030176334083080292, 0.035494156181812286, -0.0038315649144351482, -0.015379181131720543, -0.02779635787010193, -0.012704181484878063, 0.04068722575902939, 0.03270385041832924, -0.020781945437192917, -0.052463874220848083, 0.05235723406076431, -0.032148681581020355, 0.02886471524834633, 0.00483090803027153, -0.03306005150079727, 0.014736034907400608, 0.00527366204187274, -0.004769366234540939, -0.04312870651483536, 0.04787429794669151, 0.03231291100382805, -0.00997675210237503, 0.038589175790548325, 0.040122345089912415, 0.012800531461834908, 0.0083045344799757, -0.013140525668859482, 0.04441572725772858, -0.02790689468383789, 0.00668819947168231, -0.0018527948996052146, -0.012735406868159771, 0.02613609842956066, 0.033086296170949936, 0.009970996528863907, 0.05091350898146629, 0.02643594704568386, 0.005559053272008896, 0.007541012950241566, 0.048200301826000214, -0.0649493858218193, 0.012467876076698303, -0.02081013098359108, 0.025962620973587036, -0.005318715237081051, 0.00428074412047863, -0.024858174845576286, 0.029473688453435898, -0.05451454967260361, 0.01836419478058815, 0.027641745284199715, -0.017149673774838448, -0.016220279037952423, 0.023043876513838768, 0.052741993218660355, -0.009398935362696648, -0.030316045507788658, 0.017654746770858765, 0.0046684630215168, 0.0180278979241848, -0.0550810769200325, -0.05279865488409996, -0.038267191499471664, -0.010351093485951424, -0.012048940174281597, 0.012876013293862343, -0.03690733760595322, -0.04167943075299263, 0.0330996960401535, -0.002582112094387412, -0.06737156957387924, 0.015401345677673817, -0.009397901594638824, 0.05951065570116043, -0.020588479936122894, -0.010507657192647457, -0.02689466066658497, -0.030774861574172974, 0.03707297891378403, -0.03946608677506447, 0.0017974728252738714, -0.03441648185253143, -0.02739972062408924, 0.0013382205506786704, -0.039046477526426315, -0.020191332325339317, -0.003796322736889124, -0.020517360419034958, -0.01236259751021862, -0.018407678231596947, 0.004322669003158808, -0.04676169157028198, -0.005804470740258694, 0.02148563414812088, -0.052223581820726395, -0.0022505309898406267, 0.005671999882906675, -0.006941529456526041, 0.035242874175310135, -0.062005944550037384, -0.025084063410758972, -0.038969118148088455, 0.0010884538060054183, 0.015018744394183159, -0.029750006273388863, -0.0538318008184433, 0.002205047057941556, -0.020426813513040543, -0.013553368858993053, 0.03471558541059494, -0.03408762440085411, 0.0010427121305838227, -0.01480590645223856, -0.002697507617995143, 0.020605364814400673, -0.03810044005513191, -0.030369918793439865, 0.03373643755912781, -0.02288953959941864, 0.00695756496861577, -0.03975421190261841, 0.02765144594013691, 0.02778637409210205, -0.017580673098564148, 0.010816747322678566, -0.04489726945757866, 0.07344001531600952, -0.030066199600696564, -0.025768877938389778, -0.017093777656555176, 0.020472243428230286, -0.050823356956243515, 0.0037432685494422913, 0.009119641035795212, 0.022275129333138466, 0.02558024786412716, 0.02224322408437729, 0.015810614451766014, 0.017476886510849, 0.03939441218972206, 0.01664208620786667, -0.058278411626815796, 0.010122711770236492, 0.06890864670276642, -0.06149866059422493, 0.015387623570859432, -0.07542362809181213, -0.005882564932107925, 0.0382598340511322, -0.021253883838653564, 0.02958655171096325, -0.031706247478723526, 0.005250887479633093, -0.004729141481220722, 0.018035544082522392, 0.02063942700624466, -0.04323417320847511, -0.00076839211396873, -0.05282899737358093, 0.010011612437665462, -0.05912686139345169, 0.0038185077719390392, 0.045189980417490005, -0.05152778699994087, -0.017741717398166656, 0.009510570205748081, -0.005386257544159889, 0.02951985038816929, -0.047170400619506836, -0.04085827246308327, 0.02445186674594879, -0.03145923465490341, -0.03356648609042168, 0.030081840232014656, -0.0493660494685173, -0.02769489400088787, -0.013135608285665512, -0.052864786237478256, 0.007236007135361433, 0.00688187824562192, 0.03323335200548172, 0.0015701840166002512, -0.020899467170238495, -0.017518099397420883, 0.028816284611821175, 0.037160277366638184, 0.044714752584695816, 0.019411548972129822, 0.022737521678209305, -0.014029174111783504, 0.06460710614919662, 0.04124078154563904, 0.039817601442337036, 0.027196625247597694, 0.02354288473725319, -0.03254115954041481, -0.06550059467554092, 0.04543014615774155, -0.01721184141933918, -0.053777649998664856, -0.05841365456581116, 0.040008075535297394, 0.00246592634357512, -0.04154762253165245, -0.025954606011509895, 0.008800951763987541, -0.05151280760765076, -0.03967128321528435, 0.001153410761617124, -0.010617072694003582, 0.0031323896255344152, 0.06679833680391312, 0.0029975296929478645, 0.039996977895498276, 0.042742613703012466, 0.0306168794631958, -0.005186636000871658, 0.014513468369841576, 0.03560135141015053, 0.05860498175024986, 0.04908982664346695, 0.0013597140787169337, 0.06374391913414001, -0.015146980062127113, -0.04671794921159744, 0.030980397015810013, 0.02576192282140255, 0.010056526400148869, -0.05371158942580223, 0.006333019584417343, 0.06873028725385666, 0.004037179052829742, 0.05283033102750778, -0.05301962420344353, -0.025238852947950363, 0.04944821447134018, 0.02656056359410286, -0.021119890734553337, 0.049962591379880905, 0.03379972651600838, 0.013349205255508423, -0.009405456483364105, -0.020890619605779648, -0.01125428918749094, -0.034764088690280914, 0.019099969416856766, -0.02873304672539234, -0.03277544677257538, 0.043772142380476, 0.02575969323515892, -0.018359839916229248, 0.08425580710172653, -0.05494638532400131, -0.04894479364156723, 0.022956540808081627, -0.011889544315636158, 0.039264529943466187, 0.038692355155944824, 0.013787400908768177, 0.02339496649801731, -0.004287412855774164, -0.02600543014705181, 0.027399729937314987, 0.040801167488098145, 0.05285285785794258, 0.027865080162882805, -0.017108319327235222, -0.01574571616947651, 0.031894855201244354, 0.009947567246854305, -0.009890835732221603, -0.05316007137298584, -0.027708949521183968, -0.04711015895009041, -0.05275619775056839, -0.0621022991836071, 0.012609598226845264, -0.00815275777131319, -0.037752579897642136, 0.0047060297802090645, -0.004476574249565601, 0.03199402987957001, 0.05435677990317345, -0.0667237937450409, -0.006161699537187815, 0.047891538590192795, 0.01545004639774561, 0.017521239817142487, 0.020505616441369057, 0.002263094298541546, 0.008802749216556549, -0.021836722269654274, 0.03635548800230026, 0.02463393472135067, -0.009550364688038826, -0.046269189566373825, 0.006596285384148359, -0.09833835810422897, -0.003425207221880555, 0.016400186344981194, -0.05825895816087723, -0.08467090129852295, 0.03208642452955246, -0.04364204779267311, 0.027564123272895813, 0.0776209831237793, 0.023061638697981834, -0.02906205877661705, -0.04635058715939522, -0.01186367403715849, -0.021401584148406982, -0.008018314838409424, 0.050685107707977295, -0.0305118877440691, 0.04260949790477753, 0.05567193776369095, -0.014098343439400196, -0.04395104572176933, 0.035808905959129333, -0.015668639913201332, -0.023286936804652214, -0.04783250764012337, -0.054858677089214325, -0.0005976963439024985, -0.10527709126472473, -0.03305196762084961, 0.0333186537027359, -0.005682701710611582, -0.06001732498407364, -0.0031957896426320076, -0.04823652654886246, 0.03091326542198658, -0.003855555085465312, -0.027107959613204002, -0.027424661442637444, -0.0128323407843709, -0.014471740461885929, -0.050701070576906204, 0.009083996526896954, -0.02437564916908741, 0.024592595174908638, -0.033561792224645615, -0.04903491586446762, -0.0008704469655640423, 0.0059636421501636505, 0.03671570494771004, 0.013391228392720222, 0.04299676790833473, -0.005237191449850798 ]
348
Attributing Culture-Conditioned Generations to Pretraining Corpora
https://openreview.net/forum?id=XrsOu4KgDE
[ "Huihan Li", "Arnav Goel", "Keyu He", "Xiang Ren" ]
Poster
In open-ended generative tasks like narrative writing or dialogue, large language models often exhibit cultural biases, showing limited knowledge and generating templated outputs for less prevalent cultures. Recent works show that these biases may stem from uneven cultural representation in pretraining corpora. This work investigates how pretraining leads to biased culture-conditioned generations by analyzing how models associate entities with cultures based on pretraining data patterns. We propose the MEMOED framework (MEMOrization from prEtraining Document) to determine whether a generation for a culture arises from memorization. Using MEMOED on culture-conditioned generations about food and clothing for 110 cultures, we find that high-frequency cultures in pretraining data yield more generations with memorized symbols, while some low-frequency cultures produce none. Additionally, the model favors generating entities with extraordinarily high frequency regardless of the conditioned culture, reflecting biases toward frequent pretraining terms irrespective of relevance. We hope that the MEMOED framework and our insights will inspire more works on attributing model performance on pretraining data.
culture bias, pretraining data, memorization, generalization
We propose the MEMOED framework to determine whether a biased culture-conditioned generation arises from memorization of pretraining data patterns, or results from other associations made due to pretraining data.
13,342
2412.20760
[ 0.0006770255276933312, 0.009591230191290379, -0.03944483399391174, 0.05216353386640549, 0.03218099847435951, 0.007928266189992428, 0.02601546421647072, 0.04799693450331688, -0.011844192631542683, 0.00016368518117815256, -0.02987506613135338, 0.03768833354115486, -0.07543976604938507, 0.005289111286401749, -0.04142240807414055, 0.04961973428726196, 0.023345516994595528, -0.004982687067240477, -0.0037324416916817427, -0.020963506773114204, -0.029419267550110817, -0.036074768751859665, 0.03950273245573044, 0.02474956400692463, 0.05349556729197502, -0.0002696509473025799, 0.044971760362386703, -0.04137411341071129, -0.013310093432664871, -0.0032045848201960325, 0.00033439332037232816, -0.03273459151387215, 0.004648710135370493, -0.00510095339268446, 0.002043660031631589, -0.011705468408763409, -0.03632384166121483, -0.013612267561256886, 0.014290028251707554, 0.036200545728206635, -0.04382431134581566, 0.0005295387236401439, 0.0166912954300642, -0.008616271428763866, -0.08284058421850204, 0.022706536576151848, -0.12219082564115524, 0.034923870116472244, -0.0024113385006785393, -0.02092927321791649, -0.1192818284034729, 0.011378765106201172, 0.03212061896920204, -0.03025936894118786, 0.029971051961183548, 0.0435485914349556, 0.0008245736244134605, -0.08105344325304031, 0.005249192472547293, -0.03866330161690712, -0.00800478458404541, 0.024335665628314018, 0.01959630660712719, -0.018399158492684364, 0.015895290300250053, -0.03676963225007057, -0.02124202810227871, 0.023530326783657074, -0.06665636599063873, -0.041206665337085724, -0.043600983917713165, 0.007724528666585684, -0.01780780777335167, -0.0003407129552215338, -0.0019900717306882143, -0.0572894811630249, 0.017590906471014023, 0.05121202394366264, 0.07508279383182526, 0.02122167870402336, -0.014319752342998981, 0.007505018264055252, 0.029394008219242096, 0.011041654273867607, 0.01814900152385235, 0.016483653336763382, -0.02545647695660591, -0.02610504813492298, -0.06577377021312714, 0.023096131160855293, -0.017476804554462433, -0.03258975222706795, 0.0046387058682739735, 0.03065316379070282, 0.003625681856647134, 0.012904500588774681, 0.043759867548942566, 0.014246919192373753, 0.004667884670197964, 0.018842436373233795, -0.03586490452289581, -0.01693105138838291, 0.026305774226784706, 0.021113326773047447, -0.12034294754266739, -0.03386658430099487, -0.01042866799980402, 0.014900878071784973, -0.0033818718511611223, -0.011470329947769642, -0.02628719061613083, -0.0012001438299193978, 0.021985746920108795, -0.0018766361754387617, -0.03307771310210228, 0.015486588701605797, -0.01601349376142025, -0.0013406609650701284, -0.017430106177926064, 0.0009447457268834114, 0.0515182800590992, 0.03685702383518219, -0.002630924805998802, 0.059441883116960526, -0.06372503936290741, 0.012055649422109127, 0.017352448776364326, 0.015109253115952015, -0.03099670633673668, -0.03339574113488197, -0.005184534005820751, 0.018354829400777817, -0.015781734138727188, 0.022491617128252983, -0.016002018004655838, -0.011212630197405815, 0.044375140219926834, -0.005266016349196434, 0.0658760592341423, 0.03665333613753319, 0.020477352663874626, -0.009614016860723495, 0.015462523326277733, -0.012131075374782085, 0.07079097628593445, -0.029729755595326424, -0.04792546480894089, -0.04880981892347336, -0.0002672277332749218, 0.015240024775266647, 0.027623146772384644, -0.0020259732846170664, 0.029798677191138268, -0.05745107680559158, 0.002106844447553158, 0.0376092828810215, 0.009558250196278095, 0.023540357127785683, 0.014234673231840134, -0.0028318644035607576, -0.002353852381929755, 0.032222989946603775, -0.031677089631557465, 0.02260592207312584, 0.008634036406874657, -0.03519148752093315, 0.023722680285573006, 0.008341776207089424, -0.05050187185406685, 0.02468368224799633, -0.04753849655389786, -0.04108177497982979, 0.052661627531051636, -0.029048249125480652, -0.03748098015785217, -0.010149694979190826, 0.003954201005399227, 0.019190609455108643, 0.04865674301981926, 0.025079194456338882, -0.07851667702198029, 0.038853514939546585, 0.03047637641429901, -0.024033889174461365, 0.035445645451545715, -0.019352568313479424, 0.05570187792181969, -0.021848348900675774, -0.0015361950499936938, 0.06275461614131927, -0.057589903473854065, -0.019822178408503532, 0.04926532134413719, -0.029889924451708794, 0.047434136271476746, -0.026899665594100952, 0.00874852854758501, 0.09124067425727844, 0.04678887128829956, 0.05161372199654579, 0.04563799127936363, -0.03799557313323021, 0.04062661528587341, -0.0032221965957432985, -0.0018895533867180347, 0.024100083857774734, 0.019628288224339485, -0.06390824913978577, -0.024957740679383278, 0.012417186982929707, -0.015720438212156296, 0.039585862308740616, 0.019955525174736977, 0.025525042787194252, 0.004974253010004759, -0.004494978114962578, -0.03216039761900902, 0.00103991967625916, -0.0063080149702727795, -0.060318831354379654, 0.04736584424972534, 0.012434558942914009, -0.0143113499507308, -0.04623105376958847, -0.06524951010942459, 0.08560234308242798, 0.0477905310690403, -0.02506047859787941, 0.013227231800556183, 0.0357203409075737, -0.0040422286838293076, 0.017213651910424232, 0.00676459027454257, 0.006054095923900604, 0.0249693114310503, -0.00543643394485116, -0.0018949243240058422, -0.017758678644895554, 0.057947687804698944, -0.03420227766036987, -0.011561807245016098, 0.04937833547592163, -0.04254162684082985, 0.049254488199949265, 0.021044837310910225, 0.027484074234962463, 0.023405134677886963, -0.02346228063106537, -0.030714821070432663, -0.029568152502179146, -0.009084087796509266, -0.0023153317160904408, -0.008962753228843212, -0.012704325839877129, 0.008843871764838696, -0.03837709128856659, -0.02404124103486538, -0.0020801229402422905, 0.046363599598407745, 0.03324074670672417, -0.0008801664807833731, 0.02753724716603756, 0.008648846298456192, -0.03143089637160301, 0.014994034543633461, -0.06997902691364288, -0.00017623871099203825, -0.03392275422811508, 0.028024427592754364, -0.0018151014810428023, 0.05571412667632103, -0.001658816123381257, 0.03770961984992027, -0.006378722842782736, -0.008988394401967525, 0.023531535640358925, -0.004838273860514164, -0.04508824273943901, -0.03079194761812687, -0.007872194051742554, -0.04521871730685234, 0.05550205707550049, -0.036315638571977615, -0.028704645112156868, -0.045275624841451645, -0.08096616715192795, -0.03848346322774887, -0.021522166207432747, 0.003963371738791466, 0.018128978088498116, 0.010341169312596321, -0.0008853950421325862, 0.000982387806288898, -0.01171944197267294, 0.027039136737585068, 0.03927508369088173, 0.03515924885869026, 0.006809811107814312, -0.013573982752859592, 0.028051510453224182, -0.04421258345246315, -0.008639129810035229, 0.012887486256659031, 0.02562403865158558, 0.011091480031609535, 0.023941433057188988, 0.012188250198960304, -0.0038327923975884914, -0.2762293517589569, -0.014715569093823433, 0.001630796934477985, -0.029923023656010628, 0.021571939811110497, -0.02200024388730526, 0.06037968769669533, -0.03710303455591202, -0.030564364045858383, 0.02405051328241825, 0.003652615239843726, 0.03682839870452881, 0.005221684463322163, 0.05826932191848755, 0.005410775542259216, 0.03987056761980057, 0.0027663419023156166, -0.013858068734407425, -0.021358875557780266, 0.05501822382211685, -0.01914089545607567, -0.05616922304034233, -0.06184345483779907, 0.04980524256825447, 0.01900351233780384, 0.04111690819263458, -0.07113628834486008, -0.00438205199316144, -0.030906155705451965, -0.0073633948341012, -0.010061070322990417, -0.03260376676917076, 0.04994465783238411, 0.030475012958049774, -0.006945064757019281, 0.0070222592912614346, 0.06262749433517456, 0.010806000791490078, 0.02891046181321144, 0.015379933640360832, 0.004470521118491888, -0.033528462052345276, -0.017058059573173523, 0.013662346638739109, 0.044857993721961975, 0.002574583515524864, -0.06682825088500977, -0.027657724916934967, -0.00917732622474432, 0.030031992122530937, -0.024844979867339134, -0.021754669025540352, -0.021986190229654312, 0.021280111744999886, 0.008306020870804787, -0.007836545817553997, 0.058487359434366226, -0.020769961178302765, -0.005948016885668039, -0.03271786868572235, 0.02034282311797142, -0.04827474057674408, -0.008253895677626133, -0.03892884775996208, -0.0313032865524292, -0.03278535231947899, -0.09270118176937103, -0.023857098072767258, 0.03533978387713432, 0.03094240091741085, -0.06415658444166183, 0.03376466780900955, -0.0017079109093174338, -0.08902666717767715, 0.00008271270053228363, -0.02082083560526371, -0.03697846457362175, -0.030301533639431, 0.011841964907944202, 0.017011700198054314, 0.006982368882745504, -0.02364880032837391, -0.016336075961589813, 0.004522708244621754, 0.03441455215215683, -0.013163597323000431, 0.030487243086099625, -0.04144592210650444, -0.026748202741146088, -0.040199097245931625, 0.04236363247036934, 0.042473502457141876, 0.008239765651524067, 0.01849997416138649, 0.047725290060043335, 0.03483353927731514, 0.022715827450156212, 0.06922328472137451, 0.05634017288684845, -0.014810958877205849, 0.03496759757399559, -0.07537643611431122, -0.011053134687244892, -0.012185698375105858, -0.001294428831897676, 0.007551556918770075, -0.08656053245067596, 0.00004758543218486011, 0.027523748576641083, -0.016233934089541435, -0.033139247447252274, 0.01671283319592476, -0.02619653195142746, 0.01142495684325695, -0.012586861848831177, -0.014682786539196968, 0.03513162210583687, 0.025433553382754326, 0.035241201519966125, -0.0033261612989008427, -0.01232142373919487, 0.04558287933468819, -0.050289906561374664, 0.01735539920628071, -0.01205593440681696, -0.06181067228317261, 0.00995741505175829, -0.026660675182938576, -0.055625636130571365, -0.0076979356817901134, 0.01795985922217369, -0.02237306348979473, 0.01780461147427559, 0.05637738108634949, 0.06379569321870804, 0.0027601115871220827, 0.003001651493832469, -0.02607838064432144, 0.00494325440376997, -0.010828678496181965, 0.027252092957496643, -0.045820705592632294, 0.021914754062891006, 0.03795943409204483, 0.00404289411380887, -0.0003446124610491097, 0.03315852954983711, 0.0046942527405917645, -0.022099744528532028, -0.008693401701748371, 0.09248089045286179, -0.011564870364964008, -0.010752164758741856, -0.0392674021422863, 0.003863539081066847, 0.030647311359643936, 0.013589094392955303, 0.014316229149699211, -0.0031888126395642757, -0.06400775164365768, 0.06517650932073593, -0.029154425486922264, 0.003013317473232746, -0.0029135397635400295, -0.0030102371238172054, 0.032486218959093094, -0.0167197547852993, -0.0005408376455307007, 0.027319082990288734, 0.019413167610764503, 0.020742513239383698, -0.0010356497950851917, -0.04574131593108177, -0.0283743254840374, -0.021914780139923096, -0.01896621473133564, 0.014115900732576847, -0.011359763331711292, -0.03156694024801254, 0.04760518670082092, 0.02146134339272976, 0.01649068295955658, 0.03512851521372795, 0.0035050613805651665, 0.053565751761198044, 0.04619757458567619, 0.024633517488837242, -0.002633423078805208, -0.06933756917715073, 0.006123783532530069, -0.029791444540023804, -0.008944477885961533, -0.023218510672450066, -0.052167896181344986, -0.04435262456536293, -0.022350728511810303, 0.00227996613830328, 0.016436848789453506, -0.015666844323277473, 0.01795794814825058, 0.0009532399126328528, -0.0014889825833961368, -0.047066956758499146, -0.012971374206244946, 0.01160864345729351, -0.07290506362915039, -0.014355507679283619, -0.013820596039295197, -0.01884983666241169, -0.008497243747115135, -0.03197026997804642, -0.030450116842985153, -0.06768836081027985, -0.06495345383882523, 0.030325092375278473, -0.03986789658665657, -0.013352720066905022, -0.044473256915807724, 0.018066002056002617, 0.0069848415441811085, 0.02496182918548584, -0.02063160017132759, -0.01459580473601818, -0.016460929065942764, 0.00504083139821887, 0.06162023916840553, -0.03315601125359535, -0.0065787481144070625, -0.0029850201681256294, -0.050001055002212524, 0.04969848692417145, -0.040235526859760284, 0.051348354667425156, 0.044665999710559845, -0.013564112596213818, -0.01725454069674015, 0.007034135516732931, 0.03728645667433739, 0.05550902336835861, 0.013816499151289463, 0.04671793431043625, -0.011055892333388329, -0.023253941908478737, 0.022132502868771553, 0.0200539268553257, 0.03591880202293396, -0.02420961670577526, -0.0003706533170770854, -0.01616295613348484, 0.04330022633075714, 0.016882481053471565, 0.016263963654637337, -0.032539576292037964, -0.0025461369659751654, 0.03614925220608711, -0.033933427184820175, -0.030268816277384758, -0.07015107572078705, -0.028207534924149513, 0.004958994686603546, 0.010297351516783237, 0.03902768716216087, -0.022068407386541367, 0.05387749895453453, 0.008531049825251102, 0.04829207807779312, 0.023462025448679924, -0.017610589042305946, 0.027413260191679, -0.03342444449663162, 0.006721191108226776, -0.07161449640989304, -0.030009010806679726, 0.06554228067398071, -0.02608468011021614, -0.006220061797648668, -0.048539068549871445, -0.03796936944127083, 0.046670131385326385, -0.0316404327750206, -0.036846887320280075, -0.015283886343240738, -0.04249440133571625, 0.008965539745986462, 0.026884650811553, -0.07759898155927658, 0.01192768756300211, -0.028797809034585953, -0.044844694435596466, -0.018388140946626663, -0.018993698060512543, 0.08076711744070053, -0.01957317255437374, 0.00007469339470844716, -0.006345123518258333, 0.0074141561053693295, 0.031414829194545746, 0.07923275977373123, 0.027855733409523964, 0.012859092094004154, -0.021488778293132782, 0.06270046532154083, 0.021438702940940857, 0.00029165655723772943, 0.054360803216695786, 0.0036546271294355392, -0.021297281607985497, -0.0788055956363678, 0.03278863802552223, 0.006985773798078299, -0.014983913861215115, -0.041481707245111465, 0.057378072291612625, 0.02790122479200363, -0.0499967597424984, -0.03358705714344978, 0.024434993043541908, -0.027479451149702072, -0.014819824136793613, -0.012382248416543007, 0.01637454889714718, -0.021811190992593765, 0.06929593533277512, 0.033592380583286285, 0.07644422352313995, 0.07334151118993759, 0.009454239159822464, -0.012635411694645882, 0.012999131344258785, 0.038951460272073746, 0.048950664699077606, 0.06554404646158218, 0.010051202960312366, 0.05856754258275032, 0.0015792526537552476, -0.06941457092761993, -0.004404403269290924, 0.03787332773208618, 0.013522534631192684, -0.03519800677895546, 0.012122089974582195, 0.0719495490193367, 0.004350470844656229, 0.06088927015662193, -0.00528567424044013, 0.011425020173192024, 0.017450958490371704, 0.033903155475854874, -0.00041408033575862646, 0.025910547003149986, 0.037053484469652176, -0.0010377602884545922, -0.02924349531531334, -0.037963155657052994, 0.017339518293738365, -0.039807241410017014, 0.009620845317840576, 0.012307553552091122, -0.013166150078177452, 0.01531972922384739, -0.036180414259433746, 0.04200353845953941, 0.1145094484090805, -0.04944323003292084, -0.01261865720152855, -0.0016972406301647425, 0.015691271051764488, 0.008122158236801624, 0.037703607231378555, -0.006260308437049389, -0.009005863219499588, 0.007967527955770493, -0.07733175903558731, 0.0103651387616992, 0.028262417763471603, 0.007712738588452339, 0.015224814414978027, -0.024309394881129265, 0.003883437253534794, 0.03641410544514656, 0.006992516573518515, -0.04920385032892227, -0.05233382061123848, 0.007903027348220348, -0.03670908883213997, -0.02302549034357071, -0.02289135381579399, 0.05060768127441406, -0.03768867999315262, -0.02256220579147339, -0.004811433143913746, -0.025163250043988228, 0.024152034893631935, 0.0025777951814234257, -0.06945353746414185, 0.0027767778374254704, 0.00680488720536232, -0.009069373831152916, 0.0063428631983697414, 0.04263675957918167, 0.0189210195094347, 0.005947617813944817, -0.0012779019307345152, 0.062086064368486404, 0.015871237963438034, 0.013685334473848343, 0.0018545486964285374, -0.026970168575644493, -0.11592768877744675, 0.004043502267450094, 0.02960798516869545, -0.036814264953136444, -0.07109112292528152, 0.024053413420915604, -0.02114327810704708, 0.03207989037036896, 0.05841938406229019, 0.04588621109724045, 0.03510570526123047, -0.035470250993967056, -0.007975835353136063, 0.007827892899513245, 0.048102475702762604, 0.06546284258365631, -0.02718310058116913, 0.07839511334896088, 0.05762125551700592, -0.0038588223978877068, -0.07613120973110199, 0.014177747070789337, -0.020308909937739372, -0.01340104453265667, -0.002391642425209284, -0.040453583002090454, -0.008708098903298378, -0.06606069207191467, -0.019798383116722107, 0.017085827887058258, -0.02101818285882473, -0.047681622207164764, 0.009970554150640965, -0.04062054678797722, 0.0019374667899683118, -0.02523192949593067, -0.0022010686807334423, -0.013268155045807362, -0.021548617631196976, -0.023320067673921585, -0.0528339147567749, -0.006820250768214464, -0.02184240333735943, -0.0007552344468422234, -0.03374703973531723, -0.050412897020578384, -0.010422461666166782, -0.030389923602342606, 0.05825813114643097, 0.012965917587280273, 0.028808843344449997, -0.024515485391020775 ]
349
Semi-Parametric Retrieval via Binary Bag-of-Tokens Index
https://openreview.net/forum?id=l0fn10vSyM
[ "Jiawei Zhou", "Li Dong", "Furu Wei", "Lei Chen" ]
Poster
Information retrieval has transitioned from standalone systems into essential components across broader applications, with indexing efficiency, cost-effectiveness, and freshness becoming increasingly critical yet often overlooked. In this paper, we introduce SemI-parametric Disentangled Retrieval (SiDR), a bi-encoder retrieval framework that decouples retrieval index from neural parameters to enable efficient, low-cost, and parameter-agnostic indexing for emerging use cases. Specifically, in addition to using embeddings as indexes like existing neural retrieval methods, SiDR supports a non-parametric tokenization index for search, achieving BM25-like indexing complexity with significantly better effectiveness. Our comprehensive evaluation across 16 retrieval benchmarks demonstrates that SiDR outperforms both neural and term-based retrieval baselines under the same indexing workload: (i) When using an embedding-based index, SiDR exceeds the performance of conventional neural retrievers while maintaining similar training complexity; (ii) When using a tokenization-based index, SiDR drastically reduces indexing cost and time, matching the complexity of traditional term-based retrieval, while consistently outperforming BM25 on all in-domain datasets; (iii) Additionally, we introduce a late parametric mechanism that matches BM25 index preparation time while outperforming other neural retrieval baselines in effectiveness.
information retrieval, efficient retrieval, retrieval-agumented applications, RAG
A semi-parametric neural retrieval system that supports both parametric and non-parametric index
13,338
2405.01924
[ -0.019150404259562492, -0.0606294684112072, -0.033445294946432114, 0.04797846078872681, 0.015945056453347206, 0.00821398850530386, 0.0111414585262537, -0.008734169416129589, -0.007489088922739029, -0.015936264768242836, -0.033886443823575974, -0.01585502177476883, -0.04380129650235176, 0.018412435427308083, 0.013022800907492638, 0.07868696749210358, 0.005846449639648199, -0.011891171336174011, 0.01283096894621849, -0.00035059411311522126, -0.004654222168028355, -0.0364505834877491, 0.005770087242126465, 0.011834279634058475, 0.051172658801078796, 0.020398832857608795, 0.005224697291851044, -0.016461197286844254, -0.039220619946718216, -0.0010005721123889089, 0.020057005807757378, -0.0176494549959898, 0.002527092583477497, -0.008258538320660591, 0.027851784601807594, 0.0023475356865674257, -0.06913090497255325, 0.03254905343055725, 0.013462432660162449, 0.003613733919337392, -0.03540826216340065, 0.005511712748557329, 0.01545034907758236, -0.010965823195874691, -0.04973561689257622, 0.013109828345477581, -0.10046306997537613, 0.022918691858649254, -0.017273029312491417, -0.0018956768326461315, -0.09151729196310043, 0.007731473073363304, 0.007575657218694687, -0.004408037755638361, 0.026969078928232193, 0.029037581756711006, 0.027790481224656105, -0.06746197491884232, -0.004200410097837448, -0.028996918350458145, 0.0024233160074800253, 0.03236383944749832, 0.0433935672044754, -0.009245382621884346, 0.006933900993317366, -0.02390848658978939, -0.018030092120170593, 0.04221286252140999, -0.059672534465789795, -0.03612107038497925, 0.003307746723294258, -0.009787548333406448, 0.005664253141731024, 0.02680947445333004, -0.006263622548431158, -0.012610532343387604, 0.013252517208456993, 0.019267691299319267, 0.0557846799492836, 0.016939979046583176, 0.0062901913188397884, 0.022490372881293297, 0.011534562334418297, 0.033280182629823685, 0.010592835955321789, 0.017375096678733826, -0.09438581764698029, -0.01658576913177967, -0.06369920074939728, 0.03232691064476967, -0.012254089117050171, -0.02300041913986206, 0.03109760209918022, 0.008603393100202084, -0.029888208955526352, 0.0405367910861969, 0.04700406640768051, -0.030529147014021873, 0.02066056802868843, 0.010543875396251678, -0.0055834646336734295, -0.03713741898536682, 0.05127263441681862, -0.00997419748455286, -0.08701062947511673, -0.013447819277644157, -0.03226051852107048, -0.015275017358362675, 0.01996374875307083, -0.037743087857961655, -0.04154754430055618, 0.0029925808776170015, 0.015931058675050735, 0.008550966158509254, -0.04775356501340866, 0.019107460975646973, -0.005219102371484041, -0.0021448060870170593, -0.01282914076000452, 0.027066053822636604, 0.03589116781949997, 0.0556035153567791, 0.010929589159786701, 0.060561370104551315, 0.006336099002510309, 0.0019157648785039783, 0.013359804637730122, 0.04115567356348038, -0.04519882798194885, -0.02899768203496933, -0.037558961659669876, 0.03897738829255104, 0.008982161059975624, 0.003111854661256075, -0.0203095655888319, -0.012979185208678246, -0.0049599395133554935, 0.020931607112288475, 0.0525301918387413, -0.044605549424886703, 0.024738993495702744, -0.05590381100773811, -0.011721191927790642, -0.03402017429471016, 0.07695598155260086, -0.009810730814933777, 0.00657614367082715, 0.0016298829577863216, -0.017366552725434303, -0.010052765719592571, -0.010222207754850388, -0.031335245817899704, 0.01766747049987316, -0.07038047909736633, -0.00038118934025987983, 0.07796428352594376, -0.002704320941120386, -0.0015367509331554174, 0.024125561118125916, 0.005187933798879385, -0.009919975884258747, -0.01531819999217987, -0.06011277437210083, 0.028644409030675888, -0.011607510969042778, -0.05263826623558998, 0.02138138748705387, 0.03416239097714424, -0.03266033157706261, 0.014524037949740887, -0.037650786340236664, -0.03374497964978218, 0.061811573803424835, -0.01232243049889803, -0.0426715649664402, -0.0037279583048075438, 0.0776023119688034, 0.027989106252789497, 0.04877927154302597, 0.009133015759289265, -0.08909407258033752, 0.04830535501241684, -0.012686360627412796, 0.006268262397497892, 0.013500266708433628, -0.015876343473792076, 0.07370147109031677, -0.030744312331080437, 0.005690878722816706, 0.03026697412133217, -0.08065786957740784, -0.008047687821090221, -0.0051069101318717, -0.003464475739747286, 0.04279739409685135, 0.019111065194010735, 0.04169655963778496, 0.05640697851777077, 0.01139106322079897, -0.007968132384121418, 0.04216993972659111, -0.02555856481194496, 0.04747390002012253, -0.010769926942884922, -0.05878717452287674, 0.002481624484062195, 0.010085877031087875, -0.05958448722958565, -0.03163713589310646, -0.03188816085457802, -0.002877019578590989, 0.02967224456369877, -0.03176676109433174, -0.02563982643187046, -0.016873056069016457, 0.011255111545324326, 0.010203507728874683, 0.02694477140903473, 0.0051152827218174934, -0.06753046065568924, 0.0676708072423935, 0.015951650217175484, -0.009663417004048824, 0.0013242093846201897, -0.05097980052232742, 0.10515297949314117, 0.05971142277121544, -0.03441990166902542, 0.02559134177863598, 0.052294500172138214, 0.03028009459376335, -0.037044182419776917, 0.005849550478160381, -0.03507658466696739, -0.03824968636035919, -0.005480967462062836, -0.04453945532441139, -0.02872602641582489, 0.08895068615674973, -0.031265828758478165, -0.015168662182986736, 0.03405798226594925, -0.034575656056404114, 0.04154065251350403, 0.029764968901872635, 0.009426563046872616, 0.025444377213716507, -0.012763939797878265, -0.032365161925554276, -0.0616975836455822, -0.028877854347229004, 0.0009299780940636992, -0.05212843418121338, -0.02729472517967224, 0.030061259865760803, -0.02871839329600334, -0.0012525172205641866, -0.004906110931187868, 0.05338743329048157, 0.049550510942935944, 0.016809828579425812, 0.046641409397125244, -0.021790260449051857, -0.028499092906713486, -0.02037869580090046, -0.06361586600542068, -0.0314478799700737, -0.04748832806944847, 0.019856046885252, 0.01067759282886982, 0.03806120157241821, 0.009425150230526924, 0.01905469223856926, 0.01622319594025612, -0.03262890875339508, 0.022105399519205093, 0.06812456995248795, 0.03244403377175331, -0.0489080511033535, -0.0479981005191803, 0.0065098535269498825, 0.033317599445581436, -0.020932938903570175, -0.02926390990614891, -0.052364129573106766, -0.055913493037223816, -0.007564270403236151, -0.0443064384162426, -0.01696896366775036, 0.011084663681685925, 0.026231274008750916, 0.02401578798890114, -0.005437376443296671, 0.010668720118701458, 0.06544160097837448, 0.028778713196516037, 0.028247710317373276, 0.0475274883210659, -0.005097079556435347, 0.028732135891914368, -0.040339574217796326, 0.02412455715239048, 0.01570415124297142, 0.01980830542743206, -0.0010981897357851267, -0.027868490666151047, 0.004340420942753553, 0.0025841370224952698, -0.2582172751426697, -0.009204751811921597, 0.005641346797347069, -0.0063076503574848175, 0.01417228952050209, -0.03865744546055794, -0.014433406293392181, -0.013858660124242306, -0.0027665782254189253, 0.002469188068062067, 0.0439375638961792, 0.055378418415784836, 0.01770220883190632, 0.03666684031486511, 0.03839907795190811, 0.05234818160533905, 0.00039909794577397406, -0.016670674085617065, -0.00020625011529773474, 0.03851533308625221, -0.007411270868033171, -0.06025111302733421, -0.02263963222503662, 0.03880593925714493, -0.015358129516243935, 0.02952936477959156, -0.09713944792747498, -0.00407429039478302, -0.018570998683571815, -0.029834678396582603, 0.015635304152965546, -0.02442675270140171, -0.007785439491271973, 0.04635225981473923, 0.006628265604376793, 0.0007073073065839708, 0.0483565554022789, -0.009053952991962433, 0.02563272975385189, 0.04207413271069527, 0.030846035107970238, -0.01786278747022152, -0.004601769614964724, -0.011592105962336063, 0.07871583104133606, -0.0050864797085523605, -0.028256436809897423, -0.03457506746053696, -0.00406707264482975, 0.018613409250974655, -0.02668021060526371, -0.042085591703653336, -0.060249827802181244, 0.006845469586551189, 0.0029782685451209545, -0.04613311216235161, 0.009090224280953407, -0.018782449886202812, -0.02913874387741089, 0.010485945269465446, 0.026892023161053658, -0.05111314356327057, 0.0007318041170947254, -0.06163909286260605, -0.023238327354192734, -0.032519057393074036, -0.04947745427489281, -0.05479012802243233, 0.04990340396761894, 0.06088270992040634, -0.010114265605807304, 0.04972779005765915, -0.004550562705844641, -0.0818776935338974, 0.02168220654129982, 0.01361599937081337, 0.02159235067665577, 0.01595795713365078, -0.015206681564450264, 0.05905311554670334, -0.039401181042194366, -0.04852471500635147, 0.01753263734281063, 0.05019382759928703, 0.0055805472657084465, -0.046357426792383194, -0.006436826195567846, -0.04130090773105621, 0.0005909189349040389, -0.025225698947906494, 0.034023307263851166, -0.018320931121706963, 0.011415543965995312, 0.013705303892493248, 0.052269093692302704, 0.03189031034708023, 0.03033662773668766, 0.04118660092353821, 0.05328110232949257, 0.02146584540605545, 0.007007055450230837, -0.07041463255882263, -0.015103927813470364, -0.03287670388817787, -0.0207988154143095, 0.05195654183626175, -0.04918443039059639, -0.010880735702812672, 0.05137956514954567, -0.05102289095520973, -0.0476498007774353, -0.04934707283973694, -0.006640397012233734, -0.02393621951341629, 0.014042061753571033, 0.001828717184253037, 0.016365719959139824, 0.02997337467968464, 0.025977306067943573, -0.003929018974304199, -0.012475443072617054, 0.013925288803875446, 0.012400454841554165, -0.006844320334494114, -0.018302207812666893, -0.031030600890517235, -0.027590034529566765, -0.007237040903419256, 0.03372828662395477, -0.01652171090245247, 0.04307844862341881, 0.02966679260134697, -0.018217938020825386, 0.02755044214427471, 0.04452010244131088, -0.017782051116228104, 0.029275918379426003, -0.013030256144702435, 0.06187077611684799, -0.013365158811211586, 0.019660478457808495, -0.031833358108997345, 0.012927358970046043, 0.03154265508055687, 0.0312375258654356, 0.026310143992304802, 0.010642456822097301, 0.002671419642865658, 0.001722247339785099, 0.016389820724725723, -0.009441542439162731, -0.045301418751478195, -0.023191876709461212, -0.044310539960861206, -0.004607942420989275, -0.004966028034687042, 0.04266543686389923, 0.0018312009051442146, 0.005954212509095669, -0.07171575725078583, 0.05983753129839897, -0.012852090410888195, -0.008989382535219193, -0.01756379008293152, 0.017080536112189293, 0.04579838365316391, -0.016888322308659554, 0.02368730679154396, 0.03581184893846512, 0.016311252489686012, -0.0014547489117830992, -0.00010280079004587606, 0.01705181784927845, 0.013235678896307945, -0.03913445770740509, 0.006096656899899244, 0.004594648722559214, 0.04049193114042282, -0.030717281624674797, 0.04084188863635063, 0.00888113584369421, 0.007748360279947519, -0.02871502935886383, 0.015527309849858284, 0.07964563369750977, 0.018573597073554993, 0.019500797614455223, -0.012488028965890408, -0.06083551049232483, 0.020180203020572662, -0.02450738288462162, -0.03162938728928566, -0.02863110974431038, -0.03239947929978371, 0.0073265875689685345, -0.07338336110115051, 0.022271422669291496, -0.011244343593716621, -0.05238169804215431, 0.0019754611421376467, -0.0016661247937008739, 0.012930097058415413, -0.047410380095243454, -0.02915824204683304, -0.026687856763601303, -0.09349925071001053, 0.016397247090935707, 0.016457440331578255, -0.06905755400657654, -0.019783366471529007, -0.0014911770122125745, -0.03391128405928612, -0.04597226530313492, 0.024036087095737457, 0.01873382180929184, 0.005070948041975498, -0.019213732331991196, 0.0011777594918385148, 0.023249180987477303, -0.014866485260426998, 0.044888678938150406, 0.006357462611049414, -0.008871144615113735, 0.009022037498652935, 0.011282972060143948, 0.08064382523298264, -0.018344637006521225, -0.014004077762365341, -0.05510842427611351, -0.02389509230852127, 0.006631703581660986, -0.04204711690545082, 0.02533259615302086, 0.05773765966296196, -0.035544201731681824, -0.008554529398679733, -0.03406500816345215, -0.004116859752684832, -0.018876805901527405, -0.00015878555132076144, 0.029549233615398407, -0.01139358151704073, -0.018700651824474335, -0.0034189014695584774, -0.011556938290596008, 0.03267594426870346, 0.023815101012587547, 0.020998114719986916, 0.0273855309933424, 0.0004874622682109475, 0.03132632002234459, 0.02901134081184864, -0.05968843773007393, -0.020002329722046852, 0.06458301097154617, -0.021564839407801628, -0.018392717465758324, -0.09278864413499832, -0.053700100630521774, 0.018105575814843178, 0.025232598185539246, 0.07628349959850311, -0.007325752172619104, 0.04367297515273094, 0.0190903153270483, 0.05332159250974655, 0.005621634423732758, -0.0017174303065985441, 0.03171020746231079, -0.025002019479870796, -0.012745381332933903, -0.027220124378800392, -0.027803907170891762, 0.08562427759170532, -0.02424389123916626, 0.027946837246418, -0.004054472781717777, -0.03857725113630295, 0.00014918341184966266, -0.035693515092134476, -0.05166345089673996, -0.011562338098883629, -0.014603138901293278, 0.00403195945546031, 0.01594654656946659, -0.04658862575888634, -0.0030307190027087927, -0.021394476294517517, -0.041058499366045, -0.023123763501644135, -0.010044117458164692, 0.07663118839263916, -0.03622286766767502, 0.03481835126876831, -0.029086772352457047, -0.01699935272336006, 0.021558649837970734, 0.08787409216165543, -0.01177375391125679, 0.04626764729619026, -0.04548485577106476, 0.02345537580549717, 0.02828553318977356, -0.03449457511305809, 0.008182909339666367, -0.01189466193318367, -0.014493140392005444, -0.06305214762687683, 0.04059977829456329, -0.024769175797700882, -0.005752114113420248, -0.04961564764380455, 0.09533681720495224, 0.024095935747027397, -0.04952961578965187, -0.047520097345113754, 0.04179735854268074, -0.007757432758808136, 0.0053190262988209724, -0.021822750568389893, 0.01105355191975832, -0.01963070034980774, 0.06365352123975754, 0.01930352672934532, 0.02882854826748371, 0.07558302581310272, -0.01583002135157585, -0.0483737550675869, 0.006334507837891579, 0.06712449342012405, 0.06806844472885132, 0.03258388489484787, -0.008534552529454231, 0.05996550992131233, -0.024359483271837234, -0.035377874970436096, 0.030434152111411095, 0.007373043801635504, -0.00950219202786684, -0.022831333801150322, 0.0016848673112690449, 0.07581758499145508, -0.0035143981222063303, 0.07479040324687958, -0.06859281659126282, 0.011885910294950008, 0.036083053797483444, 0.03947591036558151, -0.011582913808524609, 0.015003642998635769, 0.007118283770978451, 0.0000563635585422162, -0.04570331424474716, -0.02560589089989662, 0.004927612375468016, -0.020585469901561737, 0.010792178101837635, -0.012951585464179516, -0.03178277239203453, 0.01138309482485056, -0.0359063595533371, 0.04929947480559349, 0.10707701742649078, -0.01593460515141487, -0.034374501556158066, 0.009535660967230797, 0.0229765884578228, 0.0198746956884861, 0.055480509996414185, 0.007339887320995331, -0.01713564246892929, 0.01836288534104824, -0.06526147574186325, 0.003725743154063821, 0.030363816767930984, -0.01439282950013876, 0.0013638576492667198, -0.01460258662700653, -0.02693217806518078, 0.021966755390167236, 0.028252724558115005, -0.02581162191927433, -0.0586605928838253, -0.04123877361416817, -0.023337414488196373, -0.049622733145952225, -0.025181109085679054, 0.02973111718893051, 0.018724925816059113, -0.017656825482845306, -0.03619210049510002, -0.05445856228470802, 0.019777754321694374, 0.03711564466357231, -0.041979625821113586, 0.018925484269857407, 0.0110136354342103, 0.041963815689086914, -0.005958088673651218, 0.01670164428651333, 0.028376268222928047, -0.023573538288474083, -0.008737602271139622, 0.04473724216222763, 0.04255037009716034, 0.008106098510324955, -0.004198953043669462, -0.044939666986465454, -0.09606991708278656, 0.007831582799553871, 0.018057340756058693, -0.006041352637112141, -0.08065526932477951, 0.024958783760666847, -0.018190870061516762, 0.04860576242208481, 0.056240372359752655, 0.0030667975079268217, 0.044262178242206573, -0.04456506669521332, -0.01330562774091959, 0.03373018279671669, -0.006752286572009325, 0.055592652410268784, -0.0008057786035351455, 0.0714225322008133, 0.05135773494839668, 0.053180109709501266, -0.035472746938467026, 0.019008731469511986, -0.0017489079618826509, 0.017101937904953957, -0.04731656238436699, -0.021694781258702278, -0.07346595078706741, -0.0877394899725914, -0.04873223602771759, 0.03653052821755409, -0.018547607585787773, -0.03359758481383324, 0.011178994551301003, 0.025898750871419907, 0.02735324576497078, -0.028721796348690987, 0.005568772554397583, -0.025447331368923187, -0.0005024154670536518, -0.006939928513020277, -0.07664366066455841, 0.01975177228450775, -0.023145902901887894, 0.03347925469279289, -0.023747913539409637, -0.02696794643998146, 0.007279625162482262, 0.010707828216254711, 0.014150111004710197, 0.013515034690499306, 0.030298426747322083, -0.00978992972522974 ]
350
RTop-K: Ultra-Fast Row-Wise Top-K Selection for Neural Network Acceleration on GPUs
https://openreview.net/forum?id=PHg4rAXFVH
[ "Xi Xie", "Yuebo Luo", "Hongwu Peng", "Caiwen Ding" ]
Poster
Abstract Top-k selection algorithms are fundamental in a wide range of applications, including high-performance computing, information retrieval, big data processing, and neural network model training. In this paper, we present RTop-K, a highly efficient parallel row-wise top-k selection algorithm specifically designed for GPUs. RTop-K leverages a binary search-based approach to optimize row-wise top-k selection, providing a scalable and accelerated solution. We conduct a detailed analysis of early stopping in our algorithm, showing that it effectively maintains the testing accuracy of neural network models while substantially improving performance. Our GPU implementation of RTop-K demonstrates superior performance over state-of-the-art row-wise top-k GPU implementations, achieving an average speed-up of up to 11.49× with early stopping and 7.29× without early stopping. Moreover, RTop-K accelerates the overall training workflow of MaxK-GNNs, delivering speed-ups ranging from 11.97% to 33.29% across different models and datasets.
row-wise topk selection, GPU, CUDA
null
13,337
null
[ -0.0354311428964138, -0.03449159488081932, 0.012918174266815186, 0.030631475150585175, 0.012855465523898602, 0.05122945085167885, -0.005048239137977362, 0.05062687024474144, -0.02285471186041832, -0.031160850077867508, -0.001112080179154873, -0.030543457716703415, -0.06677407771348953, 0.00437881238758564, 0.024918988347053528, 0.04241710901260376, 0.0234853345900774, -0.029679113999009132, 0.01594996638596058, 0.02140129916369915, 0.0068436493165791035, -0.05058798938989639, 0.018531089648604393, 0.034500010311603546, 0.012000803835690022, 0.010974797420203686, -0.0057999202981591225, 0.01971965841948986, -0.01892566680908203, 0.006640406791120768, 0.031072551384568214, 0.014009520411491394, -0.00652995565906167, -0.030359314754605293, 0.04477658122777939, 0.009036093950271606, -0.030191047117114067, 0.0006807249737903476, 0.013426312245428562, 0.0058090402744710445, -0.009225398302078247, -0.013349205255508423, 0.004863546695560217, 0.033909596502780914, -0.040809910744428635, 0.04374196007847786, -0.07433802634477615, 0.020995886996388435, -0.01970757357776165, -0.01954333484172821, -0.07338552176952362, 0.028199128806591034, 0.01048020925372839, -0.023004023358225822, 0.027575302869081497, 0.022914661094546318, 0.015769679099321365, -0.025233406573534012, 0.00595545070245862, -0.04988623410463333, 0.0010956396581605077, -0.004289703909307718, 0.022914806380867958, 0.0258143562823534, -0.006352263502776623, 0.0004116694035474211, 0.018775077536702156, 0.033661630004644394, -0.031940411776304245, -0.03975474834442139, -0.024772144854068756, 0.002319919876754284, 0.012956020422279835, 0.021992754191160202, -0.009785449132323265, -0.016742480918765068, 0.004420979414135218, 0.042411983013153076, 0.06941776722669601, -0.0015489476500079036, 0.03347514569759369, -0.021308934316039085, -0.017972145229578018, 0.06372277438640594, -0.012896206229925156, 0.006091756280511618, -0.01889941841363907, -0.051188476383686066, -0.08664995431900024, 0.026286372914910316, -0.035768743604421616, -0.006875017192214727, 0.0010764230974018574, 0.029850071296095848, -0.024134403094649315, 0.007742523215711117, -0.007511218078434467, -0.013706325553357601, -0.006554341409355402, 0.008494680747389793, 0.01031121239066124, -0.07549050450325012, 0.021782102063298225, 0.01584288850426674, -0.10000287741422653, -0.01572788879275322, -0.01306039746850729, 0.006956144236028194, -0.01662307418882847, 0.02889544516801834, -0.013372748158872128, 0.022332103922963142, 0.03273509442806244, -0.01611078716814518, -0.08377985656261444, 0.03458112105727196, -0.00727086141705513, -0.003513217670843005, 0.0032664353493601084, -0.01607847400009632, 0.04680730029940605, 0.09244382381439209, -0.02765689603984356, 0.0746479406952858, 0.03292611613869667, 0.015323001891374588, 0.013704981654882431, 0.03542386740446091, -0.028545266017317772, -0.06401096284389496, -0.02152695693075657, 0.017934221774339676, 0.0047105769626796246, 0.010465207509696484, -0.005627530161291361, 0.0028284993022680283, -0.02651524357497692, 0.0173855759203434, 0.060406628996133804, -0.023871419951319695, 0.0212901309132576, -0.061229296028614044, 0.05608012154698372, -0.03322972357273102, 0.04768664762377739, -0.025587422773241997, 0.0239548496901989, -0.014772395603358746, -0.029636988416314125, 0.021007321774959564, 0.011047597974538803, 0.018029121682047844, -0.02393507957458496, -0.04440170153975487, 0.022342169657349586, 0.07480185478925705, 0.019433889538049698, 0.021722067147493362, 0.0007355964044108987, 0.027966942638158798, 0.034818507730960846, -0.013790370896458626, -0.042465467005968094, -0.032739076763391495, -0.04112362861633301, -0.02467585727572441, 0.07231142371892929, 0.039581019431352615, -0.036643534898757935, 0.010950397700071335, -0.02896781824529171, -0.05415661633014679, 0.03636045381426811, 0.008012793958187103, -0.0060967253521084785, -0.0025498047471046448, 0.05611257255077362, -0.024706821888685226, 0.006075676530599594, 0.025921592488884926, -0.08799510449171066, 0.03661515191197395, 0.014736009761691093, 0.004072083160281181, -0.056185271590948105, -0.02414267137646675, 0.07976153492927551, -0.023508569225668907, 0.0007775602862238884, -0.009759955108165741, -0.08029551059007645, -0.008517459034919739, 0.01852448470890522, 0.0011223010951653123, 0.07951419055461884, 0.03148835152387619, -0.011876142583787441, -0.013722773641347885, 0.004722112324088812, 0.031151220202445984, 0.07615673542022705, -0.01247099693864584, 0.057488832622766495, -0.040329329669475555, -0.04830440878868103, -0.03055865503847599, 0.049388252198696136, -0.047212447971105576, -0.05586744099855423, -0.002018868224695325, -0.01241842471063137, -0.0071492502465844154, -0.030953317880630493, 0.010092982091009617, 0.042475007474422455, 0.00632137805223465, -0.0017961051780730486, 0.02947804518043995, 0.034694377332925797, -0.051064588129520416, 0.04362606257200241, 0.004475011490285397, 0.009066968224942684, -0.00069361028727144, -0.037574995309114456, 0.10259351134300232, 0.03960578516125679, -0.0438276082277298, 0.018257327377796173, -0.0005587289924733341, 0.016817104071378708, 0.02507718838751316, 0.017937738448381424, -0.03866089880466461, -0.03544236719608307, -0.04314206540584564, 0.011709949932992458, -0.008821201510727406, 0.06472092121839523, -0.03307926282286644, -0.07840653508901596, 0.06271456182003021, 0.001854023546911776, 0.06857258826494217, 0.0316736213862896, -0.02078237757086754, 0.046727169305086136, -0.0191609188914299, -0.026329556480050087, -0.024651743471622467, -0.007310300599783659, 0.006067479029297829, -0.002630719682201743, -0.014121481217443943, -0.0020280585158616304, -0.03540710359811783, -0.010707048699259758, -0.02317156083881855, 0.05290190875530243, 0.03636408597230911, 0.0008661315077915788, 0.009298806078732014, 0.027790293097496033, -0.049533188343048096, -0.03806545212864876, -0.11668191105127335, -0.031305644661188126, 0.012769991531968117, 0.0357099324464798, 0.00017888157162815332, 0.041781406849622726, -0.027549752965569496, -0.01679307222366333, -0.043078821152448654, -0.06911653280258179, -0.011889252811670303, 0.01550870481878519, 0.030448274686932564, -0.04185473173856735, -0.036453381180763245, 0.03856969252228737, 0.07382441312074661, -0.01953078806400299, -0.0057725198566913605, -0.0027544014155864716, -0.05178441107273102, 0.003931001294404268, -0.058273859322071075, 0.008133649826049805, 0.0010646573500707746, -0.011542501859366894, 0.03660903498530388, -0.07902560383081436, 0.003551058704033494, 0.046140726655721664, 0.08725182712078094, 0.030519044026732445, -0.0026190453208982944, -0.03384198620915413, 0.012828923761844635, 0.008730633184313774, 0.04497591406106949, -0.01726209558546543, 0.012002527713775635, -0.03610607981681824, -0.01195974089205265, -0.009111386723816395, -0.00795314833521843, -0.25059404969215393, -0.04619705677032471, -0.014385269954800606, -0.0006893834215588868, 0.044102154672145844, -0.01491495594382286, 0.01597357541322708, 0.013076386414468288, -0.006067302078008652, -0.007143176160752773, 0.013946974650025368, 0.010616328567266464, -0.0027205359656363726, 0.04747893288731575, 0.04597720876336098, 0.03906741738319397, 0.027111101895570755, -0.009827853180468082, 0.01938561722636223, 0.04939490184187889, 0.006158918607980013, -0.10480023920536041, -0.026861384510993958, 0.0064722513779997826, -0.016397617757320404, 0.03951374441385269, -0.09276733547449112, -0.012941154651343822, -0.03830902278423309, -0.017371464520692825, -0.021480554714798927, -0.03414202108979225, -0.006716274656355381, 0.0397803969681263, 0.01983136311173439, -0.022885549813508987, 0.03774389997124672, -0.01164236105978489, 0.004515474662184715, 0.007962176576256752, 0.019406244158744812, -0.016038494184613228, -0.03978860378265381, 0.02653391659259796, 0.07502737641334534, 0.02920728735625744, -0.06420036405324936, -0.01343069039285183, -0.010370464995503426, 0.001509745605289936, -0.006206736899912357, -0.01490095630288124, -0.04153678938746452, 0.01907084323465824, -0.02185647562146187, -0.02812282368540764, -0.011963878758251667, 0.03773941099643707, 0.006611988414078951, 0.05233191326260567, -0.030592061579227448, -0.08267182856798172, 0.016730299219489098, -0.007752151694148779, -0.026699474081397057, -0.04852566868066788, -0.06602367758750916, -0.045337799936532974, 0.015622028149664402, 0.053713273257017136, 0.001422123285010457, 0.02225329354405403, -0.00032290114904753864, -0.08202637732028961, -0.009357876144349575, 0.018511610105633736, -0.01137976162135601, 0.013815549202263355, 0.009891639463603497, 0.08763199299573898, -0.04094134271144867, -0.057141710072755814, 0.009346959181129932, 0.012605950236320496, 0.021160723641514778, -0.04902909696102142, -0.027958780527114868, -0.037297509610652924, 0.008878353983163834, 0.004908327478915453, 0.04296313598752022, -0.017013728618621826, 0.04321858286857605, -0.05033152550458908, 0.05630255863070488, 0.02372637204825878, 0.03717348352074623, 0.045512277632951736, 0.017120178788900375, 0.022686976939439774, 0.015750624239444733, -0.08620768040418625, -0.023355089128017426, -0.0412733256816864, -0.03587588295340538, 0.023092031478881836, -0.019861258566379547, -0.02395492233335972, 0.05049889534711838, 0.032843396067619324, -0.022620338946580887, -0.05021357163786888, 0.02987796626985073, -0.02975430339574814, 0.01199763361364603, -0.0012794401263818145, 0.021431343629956245, 0.03742539882659912, 0.0034102387726306915, 0.009822078980505466, -0.039276085793972015, 0.028946951031684875, -0.03690771013498306, -0.022576235234737396, 0.014085077680647373, 0.0012831015046685934, -0.025061041116714478, -0.024365311488509178, -0.032131463289260864, 0.002891930751502514, 0.03916981816291809, 0.07033071666955948, 0.0032336341682821512, 0.0354849137365818, 0.019707636907696724, -0.016421053558588028, -0.00744938850402832, -0.014892898499965668, 0.046099402010440826, 0.005948980338871479, 0.027757924050092697, -0.0007896111346781254, 0.02506510354578495, 0.0068214694038033485, 0.002718286821618676, 0.03447730466723442, -0.0021539272274821997, 0.00329160806722939, 0.0012990611139684916, 0.016860289499163628, 0.01572597213089466, -0.03657327592372894, -0.00520393718034029, -0.04966304078698158, 0.03794262558221817, 0.003868883242830634, 0.05090335011482239, -0.021473262459039688, 0.006193650420755148, -0.07019961625337601, 0.05041626840829849, 0.01910969242453575, -0.018875518813729286, -0.01382372621446848, 0.0036681476049125195, 0.054250072687864304, -0.00038302867324091494, -0.011181277222931385, 0.012920795008540154, 0.023473378270864487, 0.0003613896551541984, -0.013046672567725182, -0.03740876540541649, -0.014374510385096073, -0.02119537629187107, 0.01967625319957733, 0.03465329855680466, -0.0028254613280296326, -0.013556856662034988, -0.003650160739198327, -0.003121600951999426, 0.01958524063229561, -0.017589520663022995, -0.007714531850069761, 0.09461776167154312, 0.042280130088329315, -0.01831802725791931, 0.016616743057966232, -0.004958390258252621, 0.04447123035788536, -0.0060164593160152435, 0.02829303964972496, -0.008979459293186665, -0.026918204501271248, -0.009730001911520958, -0.01639968901872635, 0.0003960268513765186, 0.04491690918803215, -0.0364922359585762, -0.022930188104510307, -0.019510162994265556, 0.03572675585746765, -0.027470607310533524, -0.010568056255578995, 0.0771523118019104, -0.04563475027680397, 0.01394575648009777, 0.04733315855264664, 0.005455951206386089, 0.029095260426402092, -0.018927793949842453, -0.025400562211871147, -0.02617371268570423, 0.003793829120695591, 0.0219601858407259, -0.006640576291829348, -0.0014865673147141933, -0.009478896856307983, -0.03380335122346878, -0.0009468250791542232, 0.03185776248574257, 0.017499374225735664, 0.004931904375553131, -0.02984922006726265, 0.008005987852811813, 0.05079803615808487, -0.0026613324880599976, -0.02442314848303795, -0.01176848728209734, -0.0034401798620820045, 0.017812609672546387, -0.06192733347415924, 0.017802244052290916, 0.04061540961265564, 0.004203217104077339, 0.02650652453303337, -0.03052373416721821, 0.037952788174152374, -0.00663192942738533, -0.017096934840083122, 0.00927130039781332, -0.018234366551041603, -0.05742223933339119, 0.0006535123684443533, -0.02855050377547741, -0.00808282196521759, 0.022080793976783752, 0.03474701568484306, 0.010915937833487988, 0.013728173449635506, 0.036225542426109314, 0.0031447240617126226, -0.03756440430879593, -0.0352272093296051, 0.051404595375061035, -0.0392158105969429, -0.018422437831759453, -0.0550571009516716, -0.053664058446884155, 0.03364543244242668, -0.052049778401851654, -0.004128088243305683, -0.007280392572283745, 0.014740388840436935, 0.011634905822575092, 0.04845130816102028, 0.013807721436023712, -0.028939906507730484, 0.050992660224437714, -0.0400163009762764, -0.0028228776063770056, -0.06598582118749619, -0.03171956539154053, 0.019348636269569397, -0.07104075700044632, 0.007382378913462162, 0.014230532571673393, -0.04002273455262184, 0.019874680787324905, -0.012082133442163467, -0.0688825324177742, 0.006727319676429033, -0.010243521071970463, -0.01869230903685093, 0.00939705315977335, -0.020976100116968155, 0.029525378718972206, 0.011506058275699615, -0.027316434308886528, -0.0004887490067631006, 0.014407405629754066, 0.036928534507751465, -0.024063989520072937, 0.023736663162708282, -0.04366467520594597, -0.01974966935813427, 0.05339911952614784, 0.06565459817647934, -0.01566229574382305, 0.06616076827049255, -0.05459568649530411, 0.06715834885835648, 0.055988553911447525, 0.007083897478878498, 0.001960359513759613, 0.018825672566890717, 0.009857784025371075, -0.026348073035478592, 0.015115909278392792, -0.017291761934757233, -0.014517637901008129, -0.07212571799755096, 0.05101634934544563, 0.029868649318814278, -0.04919205233454704, -0.032592255622148514, 0.028870748355984688, -0.056631214916706085, 0.019142918288707733, -0.043358560651540756, 0.018453536555171013, 0.0050635067746043205, 0.0806167721748352, 0.017881425097584724, 0.02391301654279232, 0.07851674407720566, 0.02654227800667286, -0.026130935177206993, -0.032581910490989685, 0.06820888072252274, 0.05897916853427887, 0.044096920639276505, -0.060385897755622864, 0.03571491315960884, -0.019282706081867218, -0.03718818724155426, 0.04282532259821892, 0.020842095836997032, -0.06516650319099426, -0.014527086168527603, 0.02919555827975273, 0.06538064777851105, -0.018143128603696823, 0.07675378769636154, -0.053710367530584335, 0.023214418441057205, 0.0485205203294754, 0.006533578969538212, -0.0418970063328743, 0.05442909896373749, 0.013513362966477871, 0.027271926403045654, -0.032812513411045074, -0.020610524341464043, 0.008259660564363003, 0.027539018541574478, -0.007729735691100359, -0.0039169820956885815, -0.0273280069231987, 0.014659305103123188, 0.010013853199779987, 0.020474538207054138, 0.08157466351985931, -0.024705391377210617, -0.06456317752599716, 0.018580399453639984, 0.0335644856095314, -0.008498633280396461, 0.04402322322130203, -0.00812390074133873, -0.02072145789861679, 0.009223632514476776, -0.0319550484418869, 0.000853671517688781, -0.013532347977161407, 0.0022129258140921593, 0.022955210879445076, -0.023769821971654892, -0.018814293667674065, 0.044712863862514496, 0.005055475514382124, -0.03939858451485634, -0.050688281655311584, -0.028379522264003754, -0.04080690070986748, -0.035020168870687485, -0.026707012206315994, -0.0013702476862818003, -0.022788867354393005, -0.033755481243133545, 0.0026857401244342327, -0.031185682862997055, -0.014166702516376972, 0.03937511891126633, -0.059968501329422, -0.02711709775030613, 0.02777751162648201, -0.01611102558672428, -0.007358624134212732, 0.06099746376276016, 0.022030359134078026, -0.03167081996798515, -0.016957828775048256, 0.065071240067482, 0.022338252514600754, 0.0047791488468647, 0.005770761054009199, -0.03311772644519806, -0.11253656446933746, 0.020324770361185074, 0.009763001464307308, -0.021654486656188965, -0.05880897864699364, -0.0329037681221962, -0.054220546036958694, 0.006318457890301943, 0.06422682851552963, -0.0005973104853183031, 0.040913816541433334, -0.04464657977223396, -0.024390652775764465, 0.006519826129078865, 0.0065014599822461605, 0.05015760660171509, -0.033192358911037445, 0.06763353943824768, 0.07271403074264526, -0.009814799763262272, 0.008867139928042889, 0.01981806382536888, 0.02527620457112789, 0.010726140812039375, -0.02931028977036476, 0.013827954418957233, -0.04918782785534859, -0.1025657206773758, 0.017521029338240623, 0.019518103450536728, 0.0161336250603199, -0.03904078155755997, -0.008861834183335304, -0.02191733382642269, 0.007956410758197308, -0.012109572999179363, -0.016302337870001793, -0.01185799390077591, -0.04801236465573311, -0.020982129499316216, -0.05787447467446327, 0.048537980765104294, -0.05591024085879326, 0.0037897019647061825, -0.016839537769556046, -0.05261031538248062, -0.01096030231565237, -0.017786946147680283, 0.05274658277630806, 0.002708290470764041, 0.02767840027809143, -0.008476050570607185 ]
351
DelTA: An Online Document-Level Translation Agent Based on Multi-Level Memory
https://openreview.net/forum?id=hoYFLRNbhc
[ "Yutong Wang", "Jiali Zeng", "Xuebo Liu", "Derek F. Wong", "Fandong Meng", "Jie Zhou", "Min Zhang" ]
Poster
Large language models (LLMs) have achieved reasonable quality improvements in machine translation (MT). However, most current research on MT-LLMs still faces significant challenges in maintaining translation consistency and accuracy when processing entire documents. In this paper, we introduce DelTA, a Document-levEL Translation Agent designed to overcome these limitations. DelTA features a multi-level memory structure that stores information across various granularities and spans, including Proper Noun Records, Bilingual Summary, Long-Term Memory, and Short-Term Memory, which are continuously retrieved and updated by auxiliary LLM-based components. Experimental results indicate that DelTA significantly outperforms strong baselines in terms of translation consistency and quality across four open/closed-source LLMs and two representative document translation datasets, achieving an increase in consistency scores by up to 4.58 percentage points and in COMET scores by up to 3.16 points on average. DelTA employs a sentence-by-sentence translation strategy, ensuring no sentence omissions and offering a memory-efficient solution compared to the mainstream method. Furthermore, DelTA improves pronoun and context-dependent translation accuracy, and the summary component of the agent also shows promise as a tool for query-based summarization tasks. The code and data of our approach are released at https://github.com/YutongWang1216/DocMTAgent.
Document-Level Translation, Large Language Models, Autonomous Agents, Natural Language Processing
We develop a document-level translation agent based on multi-level memory to address the challenges associated with the DocMT task.
13,334
2410.08143
[ -0.0075999666005373, -0.009346417151391506, -0.02579246461391449, 0.04268704727292061, 0.054807282984256744, 0.00568873668089509, -0.006892431993037462, 0.022634340450167656, -0.0023007914423942566, -0.025161700323224068, -0.023273317143321037, 0.02746162749826908, -0.04449250176548958, 0.01085702981799841, 0.01708213984966278, 0.03937540948390961, 0.04486861452460289, 0.004325308371335268, 0.011906486935913563, -0.034284722059965134, -0.030486194416880608, -0.0020717966835945845, 0.03665495291352272, 0.002632709452882409, 0.016845835372805595, 0.01214017253369093, 0.002955981530249119, -0.0037655874621123075, -0.040553998202085495, 0.03691655397415161, 0.016362549737095833, -0.025964025408029556, -0.005597501061856747, 0.023140890523791313, 0.02471316047012806, -0.013070746324956417, -0.058254826813936234, 0.03416268900036812, 0.012648933567106724, -0.007041255012154579, -0.014348803088068962, 0.018203172832727432, -0.037561558187007904, 0.03028431348502636, -0.04094846546649933, 0.0043473923578858376, -0.0876435935497284, 0.003446794580668211, -0.001963638234883547, -0.014836462214589119, -0.11609261482954025, 0.052236635237932205, -0.013779291883111, -0.01996232196688652, 0.013957113958895206, 0.0649065375328064, 0.03584501892328262, -0.07457444816827774, 0.009471733123064041, -0.02614518813788891, -0.03646880388259888, 0.009456031024456024, 0.03456893935799599, 0.032891448587179184, 0.014267324469983578, -0.03377110883593559, -0.02746105194091797, 0.009342401288449764, -0.058760691434144974, -0.03566725179553032, 0.010382008738815784, 0.0014674915000796318, -0.017518125474452972, 0.011567916721105576, 0.006420845165848732, -0.018008725717663765, 0.006929363124072552, 0.028421055525541306, 0.062815360724926, -0.004985968582332134, -0.02852719835937023, 0.024400781840085983, 0.016532573848962784, 0.04493235424160957, 0.005584379658102989, 0.016900334507226944, -0.041636377573013306, -0.02110975794494152, -0.07245142757892609, 0.01013810746371746, -0.002025593537837267, -0.056855008006095886, 0.030236724764108658, 0.03248779475688934, 0.0020081447437405586, 0.0065136137418448925, 0.024294625967741013, 0.053404126316308975, -0.0007278204429894686, 0.009430057369172573, -0.0671570897102356, -0.042409155517816544, 0.05159406736493111, 0.003054501721635461, -0.10159711539745331, -0.028496256098151207, -0.04721839353442192, 0.009003587998449802, 0.027005037292838097, -0.010041600093245506, -0.0072473627515137196, -0.004427754785865545, 0.009610088542103767, -0.004994222428649664, -0.071615070104599, 0.006308787036687136, 0.014538564719259739, 0.028893988579511642, -0.02952686697244644, -0.002410752000287175, 0.07765799015760422, 0.026730673387646675, -0.0012464114697650075, 0.06374480575323105, -0.020865926519036293, -0.01720624603331089, 0.02574729733169079, 0.0006547811208292842, -0.0337805449962616, -0.03988116979598999, 0.016043389216065407, 0.054742053151130676, -0.010814102366566658, 0.02091928757727146, -0.030924387276172638, 0.02277419902384281, 0.016006706282496452, 0.008442932739853859, 0.07888273149728775, -0.03411354497075081, 0.02005953900516033, -0.010903625749051571, -0.00241166353225708, -0.01941697672009468, 0.04432123154401779, 0.010777234099805355, -0.0391174852848053, -0.038113173097372055, -0.043200794607400894, -0.012912493199110031, 0.04859130084514618, -0.00014861425734125078, 0.015557506121695042, -0.050893865525722504, 0.034427348524332047, 0.062333766371011734, 0.03067384660243988, 0.013523977249860764, 0.008677683770656586, 0.0028986542019993067, 0.013087330386042595, 0.011632983572781086, -0.05505877733230591, 0.02921552211046219, -0.033236172050237656, -0.06086338311433792, 0.012716107070446014, 0.017223985865712166, -0.042032115161418915, -0.001211925526149571, -0.006519719026982784, -0.03954634442925453, 0.052262336015701294, -0.00020545349980238825, -0.007304726168513298, -0.022859342396259308, 0.04911193624138832, 0.015365217812359333, 0.016915980726480484, 0.04782634973526001, -0.0667504370212555, 0.03631189838051796, 0.006464743986725807, -0.024080704897642136, 0.03270057961344719, 0.015898745507001877, 0.09405209869146347, 0.014382884837687016, -0.01098685897886753, 0.01595841720700264, -0.08921526372432709, -0.002614455996081233, 0.01923546940088272, 0.022139783948659897, 0.0576227568089962, -0.013199800625443459, 0.010822411626577377, 0.10624124854803085, 0.003096570260822773, 0.06407717615365982, 0.062462590634822845, 0.009779461659491062, 0.03643263876438141, -0.03236720710992813, -0.0121919522061944, 0.00015262144734151661, 0.01489817351102829, -0.016699573025107384, -0.03380027413368225, 0.018073642626404762, -0.03066905401647091, 0.039992742240428925, 0.022732805460691452, 0.0332324281334877, -0.02605540305376053, 0.023703420534729958, -0.010131916031241417, -0.03465529903769493, 0.006168174557387829, -0.050757620483636856, 0.057558007538318634, 0.011040566489100456, -0.0005810479051433504, -0.022633668035268784, -0.06434881687164307, 0.09044062346220016, 0.032005492597818375, -0.03592158108949661, -0.05205461010336876, 0.015737202018499374, -0.013127487152814865, -0.006415817886590958, 0.022097386419773102, -0.03342796117067337, -0.016295062378048897, -0.047044798731803894, -0.000360894831828773, -0.0404936745762825, 0.019040869548916817, -0.04007473215460777, -0.0019721018616110086, 0.053940631449222565, -0.019523456692695618, 0.04913352057337761, 0.046109702438116074, 0.024171244353055954, 0.053440697491168976, -0.019570929929614067, 0.020034752786159515, -0.03271054849028587, -0.0095989303663373, -0.015354404225945473, -0.015102561563253403, -0.024448784068226814, 0.000489266705699265, -0.05229118466377258, -0.029912041500210762, -0.016097668558359146, 0.05072673410177231, 0.07123915106058121, 0.0012180753983557224, 0.028509724885225296, 0.03318816050887108, -0.043825164437294006, 0.012844987213611603, -0.07752983272075653, -0.0506778284907341, -0.03101334162056446, -0.0058069052174687386, 0.010384914465248585, 0.0400661900639534, 0.005322917830199003, 0.01052937749773264, -0.028108593076467514, -0.01682445779442787, 0.004217371344566345, 0.035360269248485565, 0.0033041792921721935, -0.04496107995510101, -0.023693066090345383, 0.0023883581161499023, 0.0470772460103035, -0.01050333958119154, -0.04468642547726631, -0.025097807869315147, -0.03968573734164238, -0.02390477806329727, -0.055281318724155426, 0.004472753964364529, 0.0074029481038451195, 0.007050730288028717, -0.028575098142027855, -0.03808072581887245, -0.009154237806797028, 0.031924229115247726, 0.025240560993552208, 0.043848101049661636, 0.003818735247477889, -0.0003465444315224886, 0.043741293251514435, -0.003245452418923378, -0.03575838729739189, 0.018451886251568794, 0.040359146893024445, -0.0036995778791606426, -0.021870359778404236, -0.003409535624086857, -0.01055061724036932, -0.25938260555267334, -0.004616111051291227, -0.00703573040664196, -0.03503920137882233, 0.04878287762403488, -0.008538790047168732, 0.06288067996501923, -0.03429199010133743, -0.035613447427749634, 0.0013972033048048615, 0.012286235578358173, 0.0454203225672245, 0.020488981157541275, 0.04219423234462738, 0.0525364987552166, 0.04384083300828934, -0.019328687340021133, -0.002495800843462348, 0.016970282420516014, 0.03951586037874222, -0.0005617202259600163, -0.06411143392324448, -0.028163166716694832, 0.06669796258211136, -0.002752211643382907, 0.005351091735064983, -0.09816745668649673, -0.0022926153615117073, -0.04066501185297966, -0.020583275705575943, -0.011718487367033958, -0.02021835371851921, -0.001938594738021493, -0.01232310850173235, -0.0073463269509375095, 0.003818521974608302, 0.085647352039814, 0.005987572483718395, 0.03761622682213783, -0.0016096998006105423, 0.024449488148093224, -0.004805682692676783, -0.04356180131435394, -0.029614893719553947, 0.0547373965382576, 0.002169639803469181, -0.10489264130592346, -0.03326794505119324, 0.011212225072085857, 0.0571013018488884, -0.023415612056851387, -0.029093816876411438, -0.03948042169213295, 0.025618471205234528, 0.022853657603263855, -0.009045860730111599, -0.004532397724688053, -0.022088412195444107, -0.009893699549138546, -0.03021414205431938, 0.007904328405857086, -0.0014234749833121896, -0.03606060519814491, -0.030680863186717033, -0.04065928980708122, -0.01967836730182171, -0.06613580137491226, -0.0556672178208828, 0.017714187502861023, 0.03764999285340309, -0.06451117247343063, 0.039055775851011276, -0.018879082053899765, -0.09376540035009384, -0.013293272815644741, -0.018136849626898766, -0.028308141976594925, -0.026141280308365822, -0.013330777175724506, 0.04049258306622505, -0.039080917835235596, -0.042914848774671555, -0.0023012415040284395, 0.013328783214092255, 0.0349666029214859, -0.054680854082107544, 0.014040510170161724, -0.02924436517059803, -0.024707362055778503, -0.06817087531089783, 0.069987952709198, -0.012717554345726967, 0.013696284964680672, 0.01483116950839758, 0.05510934814810753, 0.004477126058191061, 0.013870376162230968, 0.0808505266904831, 0.03467310592532158, -0.00010073876183014363, 0.00759883550927043, -0.05081186071038246, -0.009913486428558826, -0.020912103354930878, -0.008780618198215961, 0.029373010620474815, -0.06678953766822815, -0.004539111163467169, 0.02216186374425888, 0.02017899788916111, -0.044081248342990875, -0.005470973905175924, 0.022435080260038376, 0.002345216693356633, -0.025481289252638817, 0.05800866335630417, 0.005239985417574644, 0.03714297339320183, 0.005849613808095455, -0.03437333181500435, -0.020503122359514236, 0.006630076561123133, -0.025106484070420265, 0.004883928224444389, 0.015039931982755661, -0.012547627091407776, 0.0012745786225423217, 0.006553354673087597, -0.02240723744034767, -0.029951119795441628, 0.009008853696286678, 0.022370824590325356, -0.010801865719258785, 0.015499935485422611, 0.031313929706811905, -0.036236099898815155, -0.027547430247068405, -0.004220971837639809, 0.03445133939385414, 0.0008430953603237867, 0.00033025065204128623, -0.027796149253845215, 0.011404351331293583, 0.02349119447171688, 0.04983556270599365, -0.017504552379250526, 0.03164694830775261, 0.025985077023506165, 0.020412329584360123, 0.022910308092832565, 0.037753745913505554, -0.017951350659132004, -0.0068489136174321175, -0.019935114309191704, -0.007254233583807945, -0.0037372447550296783, 0.04607027396559715, -0.008976482786238194, 0.02033204957842827, -0.05095593258738518, 0.03959275782108307, -0.013326367363333702, 0.004441578406840563, 0.008982847444713116, 0.01329729426652193, 0.01638621836900711, -0.004788469523191452, 0.004792621824890375, 0.029766328632831573, 0.029005439952015877, -0.009505524300038815, -0.015025871805846691, -0.0177901778370142, -0.00013077545736450702, -0.028398554772138596, 0.014764728024601936, 0.019314447417855263, 0.03545204922556877, -0.029178263619542122, 0.08043311536312103, 0.017535237595438957, -0.001087634009309113, 0.00752693647518754, 0.004051584284752607, 0.06853628158569336, 0.01661498099565506, 0.00028400152223184705, 0.027353573590517044, -0.04252653941512108, -0.014572995714843273, -0.010145547799766064, 0.020257117226719856, -0.030550789088010788, -0.051015663892030716, -0.03498738259077072, -0.05443534627556801, 0.03337017446756363, 0.027195777744054794, -0.013778239488601685, 0.03110448829829693, -0.03372699022293091, 0.017653606832027435, -0.059817370027303696, -0.013024532236158848, -0.00321813952177763, -0.07142485678195953, -0.01603221334517002, 0.0027644948568195105, 0.03755020350217819, -0.0050728777423501015, -0.05223984271287918, -0.05395492538809776, -0.06931488960981369, -0.02892388589680195, 0.03883034735918045, -0.017766514793038368, 0.022014932706952095, -0.048236846923828125, 0.0020801248028874397, -0.040378011763095856, 0.02804621495306492, -0.0027961807791143656, 0.0017924405401572585, 0.0024302848614752293, -0.003761796047911048, 0.03926253691315651, -0.018326707184314728, -0.012553262524306774, -0.007916840724647045, -0.030109291896224022, 0.05098911002278328, -0.018351389095187187, 0.03251802921295166, 0.046192243695259094, 0.013598823919892311, -0.00823348667472601, -0.04325230419635773, -0.003546592313796282, 0.022768795490264893, -0.007429634686559439, -0.0017901372630149126, -0.04746250808238983, -0.012554053217172623, 0.01958385482430458, -0.010851122438907623, 0.031156718730926514, -0.002513502724468708, -0.008964167907834053, -0.009505421854555607, 0.04309547692537308, -0.0018872465007007122, 0.009933410212397575, -0.048614826053380966, -0.00694415345788002, 0.05807666480541229, -0.026066182181239128, -0.05056123062968254, -0.06321834027767181, -0.045649658888578415, 0.055495403707027435, 0.027958277612924576, 0.029614727944135666, -0.05712404474616051, 0.06597389280796051, 0.03298940882086754, 0.035659294575452805, 0.00330627104267478, -0.03298616781830788, 0.04018374904990196, -0.05397621542215347, 0.008362259715795517, -0.05097746104001999, -0.039331503212451935, 0.07165265083312988, -0.022522132843732834, 0.0011395402252674103, 0.0030986762139946222, -0.016623979434370995, 0.024437816813588142, -0.014434929005801678, -0.046544257551431656, 0.04755794256925583, 0.022051965817809105, 0.018442479893565178, 0.01727418601512909, -0.034202780574560165, -0.01937713660299778, -0.017673302441835403, -0.02515874244272709, -0.006442639045417309, -0.03462103009223938, 0.06663371622562408, -0.03865796700119972, 0.025196319445967674, -0.06315717846155167, -0.017817260697484016, 0.012292226776480675, 0.06474412232637405, 0.021307386457920074, 0.02785981260240078, -0.0061917779967188835, 0.06694765388965607, 0.04132998362183571, 0.017855830490589142, -0.006011121440678835, 0.009648767299950123, -0.03622142970561981, -0.04580468311905861, 0.05782075598835945, 0.010299098677933216, -0.0027290310245007277, -0.05572854354977608, 0.07341457903385162, 0.022524390369653702, -0.022940482944250107, -0.01128771249204874, 0.03576500713825226, -0.04522265866398811, -0.009821301326155663, -0.05125772953033447, 0.03669169917702675, -0.022753728553652763, 0.037234704941511154, 0.019319238141179085, 0.02745557762682438, 0.08996196836233139, 0.0025602274108678102, -0.00495565589517355, -0.005150792188942432, 0.07029807567596436, 0.052495118230581284, 0.0634588971734047, -0.028304830193519592, 0.0750870481133461, -0.02104140631854534, -0.06533564627170563, -0.0053186905570328236, 0.03926689922809601, -0.00665283715352416, -0.018065959215164185, 0.020128710195422173, 0.02595209889113903, 0.0021330302115529776, 0.09734982997179031, -0.005196741316467524, -0.005794302560389042, 0.03365715220570564, 0.021807435899972916, 0.024252410978078842, 0.032463617622852325, 0.016320491209626198, 0.0073531679809093475, -0.03342139720916748, 0.00402455311268568, 0.02771466039121151, -0.04628531634807587, -0.019388560205698013, -0.007271428592503071, -0.023537278175354004, 0.011116046458482742, -0.03361744061112404, 0.05701609328389168, 0.10006706416606903, -0.03573836386203766, -0.016886752098798752, 0.005353744141757488, 0.019823947921395302, -0.014193844981491566, 0.021646004170179367, -0.0028174198232591152, -0.004598493687808514, 0.012986354529857635, -0.08098694682121277, 0.04660480469465256, 0.05074828118085861, -0.023801157251000404, 0.03115152381360531, -0.028344085440039635, -0.02602582611143589, 0.00729417335242033, -0.005804249085485935, -0.07916872948408127, -0.028949208557605743, -0.008037528023123741, -0.02113138698041439, -0.027390213683247566, -0.01262352429330349, 0.03223314881324768, 0.03997211158275604, -0.03150954097509384, -0.007205823436379433, -0.0702507272362709, -0.027082931250333786, -0.01182134635746479, -0.05771632865071297, 0.04744790494441986, 0.01969151198863983, 0.011912080459296703, -0.0414755716919899, 0.06240081787109375, 0.02008381299674511, -0.03847210854291916, -0.0073297698982059956, 0.055967897176742554, 0.03641810640692711, 0.026406578719615936, -0.004336812533438206, -0.020055582746863365, -0.10043257474899292, -0.0037544057704508305, 0.045119740068912506, -0.030790960416197777, -0.07796008884906769, 0.020563378930091858, -0.007982050068676472, 0.032420262694358826, 0.053388502448797226, 0.006181537173688412, 0.05362987890839577, -0.0030356482602655888, 0.006129847373813391, -0.0025019559543579817, 0.0278472937643528, 0.05246221274137497, -0.01898198388516903, 0.07515522837638855, 0.025801634415984154, -0.009377500973641872, -0.055975623428821564, 0.0045789629220962524, -0.00028257720987312496, -0.020586054772138596, -0.010332259349524975, -0.05194827914237976, -0.05706100910902023, -0.06449692696332932, -0.05111421272158623, 0.07323450595140457, -0.016857467591762543, -0.0027830239851027727, 0.007127878721803427, -0.014122391119599342, -0.027404574677348137, -0.0005484602879732847, -0.029798384755849838, -0.03868279233574867, -0.04545314610004425, -0.026181459426879883, -0.05753885582089424, -0.012740999460220337, 0.002641652710735798, -0.003478314494714141, -0.01733900047838688, -0.018994426354765892, 0.042882006615400314, 0.01237433310598135, 0.036906275898218155, 0.015912562608718872, 0.0026538902893662453, -0.03331374004483223 ]
352
Unveiling the Secret Recipe: A Guide For Supervised Fine-Tuning Small LLMs
https://openreview.net/forum?id=eENHKMTOfW
[ "Aldo Pareja", "Nikhil Shivakumar Nayak", "Hao Wang", "Krishnateja Killamsetty", "Shivchander Sudalairaj", "Wenlong Zhao", "Seungwook Han", "Abhishek Bhandwaldar", "Guangxuan Xu", "Kai Xu", "Ligong Han", "Luke Inglis", "Akash Srivastava" ]
Poster
The rise of large language models (LLMs) has created a significant disparity: industrial research labs with their computational resources, expert teams, and advanced infrastructures, can effectively fine-tune LLMs, while individual developers and small organizations face barriers due to limited resources to effectively explore the experiment space. In this paper, we aim to bridge this gap by presenting a comprehensive study on supervised fine-tuning of LLMs using instruction-tuning datasets spanning diverse knowledge domains and skills. We focus on small-sized LLMs (3B to 7B parameters) for their cost-efficiency and accessibility. We explore various training configurations and strategies across four open-source pre-trained models. We provide detailed documentation of these configurations, revealing findings that challenge several common training practices, including hyperparameter recommendations from TULU and phased training recommended by Orca. The code used for the experiments can be found here: https://github.com/instructlab/training. Key insights from our work include: (i) larger batch sizes paired with lower learning rates lead to improved model performance on benchmarks such as MMLU, MTBench, and Open LLM Leaderboard; (ii) early-stage training dynamics, such as lower gradient norms and higher loss values, are strong indicators of better final model performance, allowing for early termination of sub-optimal runs and significant computational savings; (iii) through a thorough exploration of hyperparameters like warmup steps and learning rate schedules, we provide guidance for practitioners and find that certain simplifications do not compromise performance; and (iv) we observe no significant difference in performance between phased (sequentially training on data divided into phases) and stacked (training on the entire dataset at once) strategies, but stacked training is simpler and more sample efficient. With these findings holding robustly across datasets as well as model families and sizes, we hope this study serves as a guide for practitioners fine-tuning small LLMs and promotes a more inclusive research environment for LLM development.
Machine Learning, Generative Models, Large Language Models, Natural Language Processing, Transformers, Fine-Tuning, Instruction Tuning, Synthetic Data Generation, Knowledge Data, Skills Data, Model Generalization, Batch Size, Hyperparameter Optimization, Gradient Norm, MMLU, MTBench, Stacked Training, Phased Training, Compute Efficiency, Sample Efficiency, Flash Attention, Multipack Bucketing
We provide a guide for customizing small LLMs (3B-7B parameters) through instruction tuning on diverse knowledge and skills data, offering insights on training strategies, hyperparameters, and efficient tuning methods to improve performance.
13,333
2412.13337
[ -0.011131558567285538, -0.025702759623527527, -0.015358101576566696, 0.01908578723669052, 0.07338012754917145, 0.006966796703636646, 0.030941534787416458, 0.010459326207637787, -0.038553640246391296, -0.007429693825542927, -0.01579669490456581, 0.024531560018658638, -0.055067043751478195, 0.0029597687534987926, -0.012594945728778839, 0.04231690615415573, 0.05172988772392273, -0.028029073029756546, 0.02134815976023674, 0.025360824540257454, 0.011450282298028469, -0.01119910180568695, 0.022845033556222916, 0.019216828048229218, 0.0015031800139695406, 0.022533128038048744, 0.04258597642183304, -0.027066709473729134, -0.04564129561185837, 0.014641744084656239, 0.038950640708208084, -0.02906229719519615, 0.0420546755194664, -0.030545344576239586, 0.011920097284018993, 0.01487911120057106, -0.03787672519683838, -0.0013048816472291946, 0.0021845579613000154, 0.022870369255542755, -0.0445762537419796, 0.036645326763391495, 0.015390721149742603, 0.013646300882101059, -0.0557246133685112, 0.0033347359858453274, -0.1277635097503662, 0.02835576795041561, 0.017477933317422867, -0.034340448677539825, -0.11616223305463791, 0.036627255380153656, 0.009484351612627506, -0.024342302232980728, 0.016372503712773323, 0.05456879734992981, 0.05876149237155914, -0.07806500047445297, 0.007447137497365475, -0.029411442577838898, -0.039203010499477386, 0.0316428579390049, 0.006532562430948019, 0.0005703635397367179, 0.005399523768573999, -0.037654466927051544, -0.0016073291189968586, 0.025760425254702568, -0.07777003198862076, -0.03695611655712128, -0.015715837478637695, 0.012834304943680763, -0.029828408733010292, -0.0014376327162608504, 0.011776382103562355, -0.03538842871785164, 0.010444405488669872, 0.02877325750887394, 0.061741068959236145, 0.021797139197587967, -0.019406581297516823, 0.003782056039199233, 0.03460492193698883, 0.02684846706688404, 0.01982630044221878, 0.018099062144756317, -0.06222731992602348, -0.04749537631869316, -0.06267929822206497, 0.034405019134283066, -0.006177521776407957, -0.04452947527170181, 0.01902690716087818, 0.025874489918351173, 0.01983928494155407, 0.011148164980113506, 0.024797886610031128, 0.018228977918624878, -0.007890701293945312, 0.012753576040267944, -0.024903099983930588, -0.01789247989654541, 0.03372568264603615, 0.025542505085468292, -0.11666272580623627, -0.020031265914440155, -0.03811303526163101, -0.021698275581002235, -0.010881058871746063, -0.024654632434248924, -0.002972061512991786, -0.022177862003445625, -0.019488589838147163, 0.0020063589327037334, -0.08942071348428726, 0.03692416846752167, -0.009987124241888523, 0.03098439797759056, -0.010573089122772217, -0.010163934901356697, 0.0452299639582634, 0.06546400487422943, 0.021045520901679993, 0.07373351603746414, -0.027609102427959442, 0.0008555524982511997, 0.008247378282248974, 0.039375416934490204, -0.024674957618117332, -0.03953356295824051, 0.010863483883440495, 0.0423893928527832, 0.023159336298704147, -0.005832429975271225, 0.002858228050172329, 0.010417620651423931, -0.0011222606990486383, 0.01758105494081974, 0.050476450473070145, 0.007838856428861618, 0.019926171749830246, 0.006073273718357086, 0.06302093714475632, -0.0355444960296154, 0.0643111988902092, -0.00027708770358003676, -0.011905272491276264, -0.030818121507763863, -0.05822047218680382, -0.004034297540783882, 0.050786085426807404, 0.03061729110777378, -0.018888261169195175, -0.06475479900836945, 0.05724942684173584, 0.06375685334205627, -0.003431284800171852, -0.01822436973452568, 0.018491964787244797, -0.004331797827035189, -0.009395159780979156, 0.013100085780024529, -0.035127904266119, -0.010757074691355228, -0.0129466000944376, -0.0435580275952816, 0.051672324538230896, -0.0003966670483350754, -0.04483344033360481, 0.022950084879994392, -0.05158034339547157, -0.012782256118953228, 0.0683979019522667, -0.031900495290756226, -0.030117737129330635, -0.02187727391719818, 0.038674890995025635, 0.008199053816497326, 0.04952691122889519, 0.04623270407319069, -0.07726401090621948, 0.027002448216080666, 0.033377714455127716, -0.018630146980285645, 0.020558467134833336, -0.01674037240445614, 0.10611765086650848, -0.05272408574819565, 0.0056863767094910145, 0.017849162220954895, -0.07402118295431137, -0.012112422846257687, 0.04323560371994972, -0.003674013540148735, 0.0663549080491066, 0.006782516371458769, 0.0008284480427391827, 0.06423766911029816, 0.0269736647605896, 0.062281373888254166, 0.050738852471113205, 0.0059858462773263454, 0.049455296248197556, -0.024900443851947784, -0.026771381497383118, -0.0030047667678445578, 0.043343693017959595, -0.05730988085269928, -0.045984864234924316, 0.01169925183057785, -0.03577366843819618, -0.030108032748103142, 0.018692146986722946, -0.0025393071118742228, 0.017542175948619843, 0.00782743375748396, -0.020622363314032555, 0.0015754182823002338, 0.030174557119607925, -0.05078043043613434, 0.03215235844254494, 0.021472521126270294, -0.009315883740782738, -0.0021169926039874554, -0.045335207134485245, 0.08278928697109222, 0.055198077112436295, -0.040690138936042786, -0.003502469277009368, 0.02590639516711235, 0.014483829960227013, -0.029811901971697807, 0.01137674879282713, -0.02578294649720192, 0.027139032259583473, -0.026031021028757095, -0.01952992007136345, -0.030664334073662758, 0.06462473422288895, -0.03829780966043472, -0.005094409920275211, 0.06604494154453278, -0.02302449382841587, 0.07587127387523651, 0.006042639724910259, 0.006374070420861244, 0.027959901839494705, -0.02785447984933853, -0.012974737212061882, -0.00971374660730362, -0.005091418977826834, 0.006332104559987783, 0.004190878476947546, -0.019819123670458794, -0.02649335376918316, -0.07226357609033585, -0.04342441260814667, -0.012636326253414154, 0.046225424855947495, 0.04171018674969673, -0.007846707478165627, 0.042306382209062576, 0.02230837754905224, -0.025239409878849983, 0.03763773292303085, -0.10074340552091599, -0.01732640713453293, -0.03227189928293228, 0.040937747806310654, 0.005206715781241655, 0.023740503937005997, 0.003423669608309865, 0.008284456096589565, -0.024975039064884186, -0.007486680522561073, 0.004948995541781187, 0.01731039024889469, -0.03338727727532387, -0.08149947971105576, -0.042976006865501404, -0.000859095947816968, 0.037157587707042694, -0.027233250439167023, -0.027364129200577736, -0.0542946457862854, -0.040431324392557144, -0.022222183644771576, -0.0636618360877037, -0.0093844560906291, 0.002908690134063363, -0.023584062233567238, 0.0213270653039217, -0.020634448155760765, 0.009257391095161438, 0.03287899121642113, 0.03607200086116791, 0.006735165137797594, 0.009114976041018963, -0.013769165612757206, 0.04096350073814392, -0.011002031154930592, 0.03210444003343582, -0.008711952716112137, 0.02524527534842491, -0.02137165702879429, -0.0028091990388929844, 0.0027975733391940594, -0.001407500123605132, -0.2860150933265686, -0.0122353695333004, 0.009330805391073227, -0.015752192586660385, 0.03240004554390907, -0.025112593546509743, 0.023762106895446777, -0.033421773463487625, -0.025356300175189972, 0.007862668484449387, 0.026280144229531288, 0.05936102569103241, 0.005459412466734648, 0.03807003051042557, 0.040966492146253586, 0.06428815424442291, -0.003098218236118555, -0.02809746563434601, 0.021272895857691765, 0.047644201666116714, 0.007756013888865709, -0.06608039140701294, -0.00751594640314579, 0.029832210391759872, -0.006887863855808973, 0.0686272531747818, -0.09097415953874588, -0.0023131859488785267, -0.031468819826841354, -0.018688563257455826, -0.0033105656038969755, -0.013020372949540615, -0.015826905146241188, 0.01851407065987587, -0.00167269806843251, 0.005195051431655884, 0.04772314429283142, -0.003962574526667595, 0.05846690759062767, 0.019979603588581085, 0.021485961973667145, -0.02868007682263851, -0.02368585206568241, -0.001337979338131845, 0.06441680341959, 0.024966802448034286, -0.07679849117994308, -0.027131589129567146, -0.021422382444143295, 0.047124218195676804, -0.0014724059728905559, -0.05183451622724533, -0.013101959601044655, 0.01743173599243164, 0.006976746954023838, -0.02342677116394043, 0.017254168167710304, 0.007776346057653427, -0.006241308990865946, -0.004736335948109627, -0.004902221728116274, -0.03571607172489166, -0.040215034037828445, -0.05489630252122879, -0.03137972578406334, -0.027674201875925064, -0.042878370732069016, -0.04621365666389465, 0.034138407558202744, 0.06315498799085617, -0.019212685525417328, 0.015816250815987587, -0.013673743233084679, -0.09156987816095352, 0.0019510880811139941, -0.0051118917763233185, -0.013886622153222561, -0.004853520076721907, 0.00899606291204691, 0.05223651975393295, -0.05613941699266434, -0.017560286447405815, 0.013105357997119427, 0.0038954976480454206, 0.044084805995225906, -0.020375991240143776, 0.007087004370987415, -0.01738031394779682, -0.01492510549724102, -0.04624294117093086, 0.025238636881113052, 0.012781081721186638, -0.012935308739542961, 0.011341395787894726, 0.05280661955475807, -0.0020713000558316708, 0.04243271425366402, 0.08104552328586578, 0.016562651842832565, 0.01994422636926174, 0.007973452098667622, -0.060742031782865524, -0.006718548014760017, -0.047000251710414886, 0.0008168904460035264, 0.015641311183571815, -0.061845067888498306, -0.030907707288861275, 0.02980242855846882, -0.007091617677360773, -0.020793527364730835, -0.03335420787334442, -0.002344796434044838, 0.005126073956489563, -0.030137088149785995, -0.015208925120532513, 0.002660679165273905, 0.018188143149018288, 0.021115269511938095, -0.017314041033387184, -0.05729014798998833, 0.0344703309237957, -0.024585774168372154, 0.00950026884675026, -0.013064119964838028, -0.04810202494263649, 0.02056853100657463, -0.015462014824151993, -0.017968518659472466, -0.003279848722741008, 0.01909564808011055, 0.01961437426507473, 0.002318073296919465, 0.004206881392747164, 0.027326401323080063, 0.016233576461672783, -0.012418525293469429, 0.012531114742159843, 0.012376454658806324, -0.0055990745313465595, 0.014567346312105656, 0.0028570336289703846, 0.03885263204574585, 0.025934424251317978, 0.049242518842220306, 0.040505293756723404, 0.016817642375826836, -0.0023201708681881428, 0.004288484342396259, -0.0023112883791327477, 0.05010581389069557, -0.045800842344760895, 0.013295919634401798, -0.046534448862075806, 0.029380155727267265, -0.016478072851896286, 0.028232602402567863, 0.008327564224600792, 0.032359205186367035, -0.07935166358947754, 0.041387058794498444, -0.022400714457035065, -0.026878980919718742, 0.025227202102541924, 0.02618534304201603, 0.03988911956548691, -0.006285002920776606, 0.03437747433781624, 0.016350213438272476, -0.006857111118733883, 0.0028910604305565357, -0.04539758712053299, -0.04707380756735802, -0.013729824684560299, -0.013729977421462536, -0.009443143382668495, 0.0210593119263649, -0.007379686925560236, -0.018188871443271637, 0.05528850108385086, 0.00857697706669569, -0.03224823623895645, 0.0011391040170565248, 0.012485876679420471, 0.07489504665136337, 0.0005162809393368661, -0.0058795674704015255, 0.006397435907274485, -0.017693497240543365, 0.019853882491588593, -0.005268246866762638, 0.004322602413594723, 0.007213153410702944, -0.0016722108703106642, -0.03410438448190689, -0.06493513286113739, 0.0233693215996027, 0.04036789759993553, 0.0012940349988639355, -0.020556697621941566, -0.013638866133987904, -0.0049021877348423, -0.045863352715969086, -0.015264184214174747, 0.02652137354016304, -0.09313036501407623, -0.007513674907386303, 0.021313771605491638, 0.013762188144028187, 0.04301721602678299, -0.042668431997299194, -0.05373745784163475, -0.022178901359438896, -0.004076024983078241, 0.01686231791973114, -0.04057598486542702, -0.01589067280292511, 0.016655411571264267, 0.027957623824477196, -0.024642692878842354, 0.01383395865559578, -0.010012414306402206, -0.02512572892010212, -0.011811453849077225, 0.0041174148209393024, 0.039012305438518524, -0.035287369042634964, -0.01569478213787079, -0.002878678496927023, -0.04603046923875809, 0.05321810767054558, -0.05645386129617691, 0.03337555006146431, 0.0403914749622345, 0.012776566669344902, 0.007130180019885302, -0.042238395661115646, 0.051947902888059616, 0.02696295641362667, -0.018999973312020302, -0.0031638829968869686, 0.003571154782548547, -0.01605377160012722, 0.008718034252524376, -0.010612722486257553, 0.05058774724602699, -0.0057485285215079784, 0.016332441940903664, -0.01856781169772148, 0.0028359824791550636, 0.016977457329630852, 0.012406162917613983, -0.006282012909650803, -0.024813337251544, 0.0756487101316452, -0.019395804032683372, -0.011307857930660248, -0.06522819399833679, -0.05450836569070816, 0.009168090298771858, -0.009716839529573917, 0.03805414214730263, -0.041757963597774506, 0.06253330409526825, 0.025461601093411446, 0.06376603245735168, -0.015330134890973568, -0.03863579034805298, 0.04768069460988045, -0.07143127173185349, 0.009889014065265656, -0.07554570585489273, -0.02115217223763466, 0.06220579519867897, -0.006885924842208624, 0.019871732220053673, -0.011889724992215633, -0.027950629591941833, 0.05020499601960182, -0.02561415545642376, -0.06594029068946838, 0.012349594384431839, -0.01519866194576025, -0.021452652290463448, 0.03218803182244301, -0.04128500074148178, -0.022282971069216728, -0.012306291610002518, -0.03531631454825401, 0.01625198684632778, -0.014067240990698338, 0.04598388820886612, -0.012245512567460537, 0.013504794798791409, -0.04186252877116203, -0.01537373661994934, 0.012547703459858894, 0.040242429822683334, 0.021256687119603157, 0.03439154475927353, -0.017236264422535896, 0.05866127833724022, 0.03392399847507477, -0.010270126163959503, 0.011853582225739956, 0.011082838289439678, -0.026788488030433655, -0.06352055817842484, 0.05774344876408577, -0.002839184831827879, -0.039434026926755905, -0.04381046071648598, 0.05817679315805435, 0.03225746750831604, -0.028414864093065262, -0.03008994087576866, 0.021935736760497093, -0.04003709927201271, 0.005608087871223688, -0.0028239109087735415, 0.010408868081867695, 0.0002927446330431849, 0.07262364774942398, 0.01773654855787754, 0.05349366366863251, 0.05956842750310898, 0.02214767411351204, -0.027011621743440628, 0.007922283373773098, 0.0554010234773159, 0.06122399494051933, 0.052276611328125, 0.008164317347109318, 0.062429267913103104, -0.04772154986858368, -0.059017084538936615, 0.003182078944519162, 0.016278043389320374, -0.012105160392820835, -0.04891680181026459, 0.03487888723611832, 0.07585860788822174, 0.0014802117366343737, 0.05514659360051155, -0.027489598840475082, -0.00858195312321186, 0.048995811492204666, 0.007166742347180843, 0.008705844171345234, 0.04551047086715698, 0.01726183481514454, 0.004205172415822744, -0.03572358191013336, -0.020973913371562958, -0.0170001070946455, -0.023743387311697006, -0.001499970443546772, 0.007199358660727739, -0.023226089775562286, -0.003287630621343851, -0.02559267356991768, 0.05279505252838135, 0.11926181614398956, -0.036812618374824524, -0.04364922642707825, 0.002747650258243084, 0.00369296595454216, 0.01681722328066826, 0.028112342581152916, -0.017640290781855583, -0.024488581344485283, 0.008727860637009144, -0.0335770808160305, -0.0023611283395439386, 0.023931648582220078, -0.0019547301344573498, 0.02190585993230343, -0.016711577773094177, -0.03298039361834526, 0.022721605375409126, 0.04154829680919647, -0.048662107437849045, -0.03657028079032898, -0.03314246982336044, -0.0496378093957901, -0.016718531027436256, -0.04948410391807556, 0.012226552702486515, -0.00766550749540329, -0.02411143109202385, 0.00859968364238739, -0.03241932764649391, 0.006789410952478647, 0.02668175660073757, -0.08534631878137589, -0.0042447964660823345, 0.01695352979004383, -0.011775120161473751, -0.01131613738834858, 0.058838214725255966, 0.009112007915973663, -0.0185928326100111, -0.004247774835675955, 0.041828807443380356, 0.00263161095790565, 0.017720011994242668, 0.003326664213091135, 0.01043347641825676, -0.09726738929748535, -0.005467789247632027, -0.004106099251657724, -0.012894978746771812, -0.0789656862616539, 0.025401094928383827, -0.021291637793183327, 0.042475376278162, 0.06950346380472183, 0.0076379310339689255, 0.04037630930542946, -0.019703363999724388, -0.0278504379093647, -0.005208671558648348, 0.04616447165608406, 0.0559125654399395, -0.02064846269786358, 0.08167016506195068, 0.0348639115691185, -0.02632329985499382, -0.03421779349446297, 0.016166849061846733, -0.015088284388184547, -0.026072172448039055, -0.028352567926049232, -0.016985230147838593, -0.02027231827378273, -0.08187205344438553, -0.007069663610309362, 0.03757024556398392, -0.018958503380417824, -0.024766042828559875, 0.007440793793648481, -0.009562380611896515, -0.027380652725696564, -0.004795439075678587, -0.0064338017255067825, -0.0034236940555274487, -0.04053192585706711, -0.04889512434601784, -0.049301888793706894, 0.005520587787032127, -0.0052357204258441925, -0.019888585433363914, -0.033813487738370895, -0.033972010016441345, 0.006932387128472328, 0.0009196923347190022, 0.05710768699645996, -0.0022704722359776497, 0.010152463801205158, -0.0019352179951965809 ]
353
ManiSkill-HAB: A Benchmark for Low-Level Manipulation in Home Rearrangement Tasks
https://openreview.net/forum?id=6bKEWevgSd
[ "Arth Shukla", "Stone Tao", "Hao Su" ]
Poster
High-quality benchmarks are the foundation for embodied AI research, enabling significant advancements in long-horizon navigation, manipulation and rearrangement tasks. However, as frontier tasks in robotics get more advanced, they require faster simulation speed, more intricate test environments, and larger demonstration datasets. To this end, we present MS-HAB, a holistic benchmark for low-level manipulation and in-home object rearrangement. First, we provide a GPU-accelerated implementation of the Home Assistant Benchmark (HAB). We support realistic low-level control and achieve over 3x the speed of prior magical grasp implementations at a fraction of the GPU memory usage. Second, we train extensive reinforcement learning (RL) and imitation learning (IL) baselines for future work to compare against. Finally, we develop a rule-based trajectory filtering system to sample specific demonstrations from our RL policies which match predefined criteria for robot behavior and safety. Combining demonstration filtering with our fast environments enables efficient, controlled data generation at scale.
benchmark, dataset, simulation, reinforcement learning, imitation learning, robotics
We provide a GPU-accelerated implementation of the HAB which supports realistic low-level control, run extensive RL and IL baselines, and develop a rule-based trajectory filtering system which enables efficient, controlled data generation at scale.
13,307
null
[ -0.01871700957417488, 0.006954969838261604, -0.012022040784358978, 0.007864183746278286, 0.026859840378165245, 0.022647593170404434, 0.01809634454548359, 0.005337883718311787, -0.0595255121588707, -0.04503248259425163, -0.020256174728274345, -0.0006686251144856215, -0.07122603058815002, -0.009685627184808254, -0.012794251553714275, 0.04535680264234543, 0.019544031471014023, -0.029263237491250038, -0.0015110971871763468, 0.005729085300117731, -0.027646126225590706, -0.018320994451642036, 0.026583561673760414, 0.01697084866464138, 0.012751719914376736, 0.023608503863215446, 0.005646890494972467, 0.02107401378452778, -0.03666510805487633, -0.030316120013594627, 0.011545398272573948, -0.03885728120803833, 0.025461232289671898, -0.05174130201339722, 0.024426111951470375, -0.027843452990055084, -0.024318356066942215, 0.009157354943454266, 0.016527043655514717, -0.02717401087284088, -0.01007243525236845, 0.02758682332932949, -0.014856331050395966, -0.0021219616755843163, -0.03155279904603958, 0.032640885561704636, -0.09094569832086563, 0.03739400953054428, 0.01684439368546009, -0.05832214653491974, -0.0981784462928772, 0.02357400767505169, 0.027665970847010612, -0.00958773959428072, -0.020301319658756256, 0.01692209579050541, 0.043827224522829056, -0.0625968724489212, -0.0042218961752951145, -0.03858077526092529, -0.0024261290673166513, 0.02810095250606537, 0.0380282998085022, 0.023732353001832962, 0.02406819723546505, -0.00493065407499671, 0.04647158458828926, 0.01570991426706314, -0.026283012703061104, 0.015954619273543358, -0.014272493310272694, -0.048485010862350464, -0.009173338301479816, 0.007615990936756134, -0.004430846776813269, -0.06312817335128784, 0.009222358465194702, 0.028038688004016876, 0.07818489521741867, -0.01648656837642193, 0.03395743668079376, 0.025766778737306595, -0.005713228136301041, 0.03728920593857765, 0.0204506516456604, 0.00619132723659277, -0.04624167084693909, -0.009117198176681995, -0.06806372106075287, 0.0069520482793450356, -0.03522452339529991, -0.03469919040799141, 0.03765729069709778, 0.04845961183309555, 0.012390485033392906, 0.0017235273262485862, 0.012740612961351871, 0.054766397923231125, 0.009721018373966217, -0.001920292153954506, -0.028541630133986473, -0.02509818971157074, 0.00718718720600009, -0.021782321855425835, -0.0761023610830307, -0.025401156395673752, -0.004185912664979696, -0.004488002974539995, 0.015408869832754135, -0.002143531572073698, -0.038308124989271164, 0.006601672153919935, 0.008987010456621647, -0.024606505408883095, -0.06622562557458878, 0.04910384863615036, -0.007040672469884157, 0.03695918992161751, -0.006104337051510811, 0.026602735742926598, 0.05770708620548248, 0.07760254293680191, 0.002155791502445936, 0.05402316525578499, 0.013739900663495064, -0.0033464895095676184, -0.005082311574369669, 0.04666309431195259, 0.011720584705471992, -0.05043438449501991, 0.03747180476784706, 0.05147367715835571, 0.02235955186188221, -0.02172764576971531, -0.027496160939335823, 0.008021121844649315, 0.03875662013888359, 0.028520997613668442, 0.04383485019207001, 0.01670287922024727, 0.015537881292402744, -0.04508223384618759, 0.10277514904737473, -0.05673842132091522, 0.06143227964639664, -0.04043177515268326, -0.015217198058962822, -0.0018861249554902315, -0.039203088730573654, 0.01936275325715542, 0.006767514627426863, 0.03372222185134888, -0.03701970726251602, -0.0594584085047245, 0.06065477430820465, 0.030022846534848213, 0.01623271033167839, 0.009226207621395588, 0.0005742720095440745, 0.01085092592984438, -0.02883685939013958, 0.006313239224255085, -0.042501095682382584, -0.014902163296937943, -0.013554326258599758, -0.029681406915187836, 0.03576589375734329, 0.009747940115630627, -0.04056123271584511, -0.007124902680516243, -0.04825019836425781, -0.014894405379891396, 0.05387071520090103, 0.005637697875499725, -0.04288230091333389, -0.001205738284625113, 0.03706245869398117, -0.02840663678944111, 0.028289606794714928, 0.024853331968188286, -0.06336066871881485, 0.042396340519189835, 0.0025369066279381514, 0.00773603143170476, -0.0027128425426781178, -0.021570410579442978, 0.06650959700345993, -0.03483957052230835, -0.00549315894022584, 0.002711780834943056, -0.06238770857453346, -0.02731846459209919, 0.0020906315185129642, 0.020110031589865685, 0.05255366116762161, 0.010719445534050465, -0.028256669640541077, 0.03735855966806412, 0.0388866662979126, 0.04251455143094063, 0.011027746833860874, -0.03256252780556679, 0.01564384438097477, -0.02043049968779087, -0.008271681144833565, -0.036188092082738876, 0.018282508477568626, -0.05765273794531822, -0.02227289415895939, 0.015049920417368412, -0.00151877012103796, -0.016982242465019226, 0.010987048968672752, 0.025465548038482666, -0.013318543322384357, 0.023622501641511917, 0.006467157043516636, 0.013439508154988289, -0.0034874179400503635, -0.017886854708194733, 0.042520035058259964, 0.02840607613325119, -0.023690858855843544, -0.0019731037318706512, -0.052053701132535934, 0.073868028819561, 0.05721179023385048, -0.0429551936686039, 0.010999816469848156, 0.01594526693224907, -0.010293712839484215, 0.0033454368822276592, -0.022232094779610634, 0.005103937815874815, -0.006017621606588364, -0.007470124866813421, 0.010101254098117352, -0.03924709931015968, 0.0770426094532013, -0.038139548152685165, -0.06513796001672745, 0.04751318320631981, 0.004306144081056118, 0.06848200410604477, 0.0396379716694355, -0.0072822715155780315, 0.0340854711830616, 0.03194919228553772, -0.003244582563638687, -0.00279434397816658, -0.028434552252292633, -0.00413089245557785, 0.021647198125720024, 0.0339902900159359, 0.009322404861450195, -0.04373818635940552, -0.00890393741428852, -0.03846198320388794, 0.05643957853317261, 0.0400083027780056, 0.0405222550034523, 0.05402340739965439, -0.009265422821044922, -0.02194136381149292, -0.019346466287970543, -0.1046835407614708, -0.00718682399019599, -0.013775828294456005, 0.04719498008489609, 0.005379239097237587, 0.042584069073200226, -0.03611735999584198, 0.05271950364112854, -0.016362149268388748, 0.0038237657863646746, -0.008467525243759155, 0.033757589757442474, -0.006116376258432865, -0.03769759088754654, -0.040917158126831055, 0.0045051188208162785, 0.0752255916595459, -0.006008550990372896, 0.0052596041932702065, 0.00990800466388464, -0.05127847194671631, 0.02644028514623642, -0.042465031147003174, -0.006177584640681744, 0.021352116018533707, 0.043759144842624664, 0.01384701393544674, -0.0566435232758522, 0.003503473475575447, -0.011289729736745358, 0.08588624000549316, 0.04142431169748306, 0.0171054620295763, -0.05942077562212944, 0.005697545129805803, 0.0018757734214887023, 0.01563306152820587, -0.039590105414390564, 0.005792758893221617, 0.0027207746170461178, -0.02051718160510063, -0.008634449914097786, 0.0034840693697333336, -0.2768668234348297, -0.027962524443864822, -0.0055092195980250835, -0.01260223239660263, 0.05009685084223747, 0.0020107105374336243, 0.03632773086428642, -0.011923887766897678, -0.009201840497553349, 0.005997995380312204, 0.04907785356044769, -0.008621948771178722, 0.016776951029896736, 0.04035155102610588, 0.050937503576278687, 0.045737262815237045, 0.0023871471639722586, -0.02872583642601967, -0.016166720539331436, 0.00217638723552227, -0.03557860851287842, -0.08754862844944, -0.02512807957828045, 0.0068379915319383144, -0.019214529544115067, 0.03657577559351921, -0.08010274171829224, -0.030878199264407158, -0.03737696260213852, -0.0314236544072628, -0.01398481149226427, 0.009875034913420677, -0.07380577176809311, 0.025063468143343925, 0.02846471592783928, -0.011370113119482994, 0.05161958932876587, -0.026157904416322708, 0.0593014657497406, -0.011142676696181297, -0.012482323683798313, 0.017211906611919403, -0.052757978439331055, 0.059128861874341965, 0.07514393329620361, 0.014033515937626362, -0.03448544815182686, -0.053169991821050644, -0.012906753458082676, 0.025914760306477547, 0.007984654977917671, -0.014692842029035091, -0.023809675127267838, 0.03343581035733223, 0.023777414113283157, -0.022117240354418755, -0.012346187606453896, 0.03566885367035866, -0.007190387696027756, -0.010006731376051903, -0.03277458995580673, -0.021863088011741638, -0.03213527053594589, -0.029090285301208496, -0.006635318510234356, -0.04164867848157883, -0.027116136625409126, -0.054527848958969116, 0.04238332808017731, -0.005995705723762512, -0.022651009261608124, -0.010559936054050922, -0.024346690624952316, -0.10971533507108688, 0.047183264046907425, -0.007000770885497332, -0.00872309971600771, -0.04469253495335579, -0.0040118456818163395, 0.019249729812145233, -0.042238350957632065, -0.059342872351408005, -0.0023071710020303726, 0.0006807086756452918, 0.011973205953836441, -0.026119202375411987, 0.026924915611743927, -0.05347010865807533, -0.008724101819097996, -0.019449960440397263, 0.05274095758795738, 0.028272150084376335, 0.00354840443469584, -0.028549611568450928, 0.06064874678850174, 0.04507860541343689, 0.03851006180047989, 0.025905415415763855, 0.04185536131262779, 0.008752084337174892, 0.034290462732315063, -0.097933329641819, 0.006793914828449488, -0.02473093941807747, -0.0021487257909029722, 0.04390862211585045, -0.04505942389369011, -0.012192628346383572, 0.04575597122311592, 0.04186329245567322, -0.03316309675574303, -0.027291307225823402, 0.04950009286403656, -0.0016599561786279082, 0.024863816797733307, -0.01654943823814392, 0.009163917973637581, 0.0217574592679739, 0.0011842399835586548, 0.012568531557917595, -0.0807868018746376, 0.044148657470941544, -0.030507534742355347, 0.011586835607886314, 0.0016234752256423235, -0.00030558102298527956, -0.0026685178745537996, 0.03453463315963745, 0.03178343549370766, -0.008399583399295807, 0.03135790303349495, 0.06042895466089249, -0.02719748020172119, 0.020112350583076477, 0.028896262869238853, 0.0041244858875870705, 0.006660617887973785, -0.01775406301021576, 0.03297823667526245, -0.03516670688986778, -0.001566777122206986, -0.049713462591171265, 0.015067997388541698, 0.024003712460398674, 0.03552563115954399, 0.01945747807621956, 0.02553856000304222, -0.0185884777456522, 0.004715804476290941, 0.021182911470532417, 0.03366290405392647, -0.0915093645453453, -0.027893241494894028, -0.04778161644935608, 0.03543275594711304, -0.049840956926345825, 0.0007838592282496393, -0.0016858091112226248, 0.012567677535116673, -0.07808693498373032, 0.0016031577251851559, 0.02483076974749565, -0.022556185722351074, -0.0157447662204504, -0.0063331048004329205, 0.06312505900859833, -0.005794147029519081, 0.004349797964096069, 0.012010076083242893, 0.003480675630271435, -0.013809560798108578, -0.03179454430937767, -0.008428027853369713, -0.017557019367814064, -0.04504523426294327, 0.01710459589958191, -0.001221776707097888, -0.010445624589920044, -0.007414977066218853, 0.018550101667642593, 0.001957149477675557, -0.0351734533905983, -0.006367027759552002, -0.051965467631816864, 0.061236441135406494, -0.016569944098591805, 0.01546321902424097, -0.03313393518328667, -0.008448926731944084, 0.0132689094170928, 0.0013724640011787415, 0.03771030157804489, -0.0028517376631498337, -0.026885896921157837, -0.030752215534448624, -0.04686379060149193, 0.02159331552684307, 0.0066252523101866245, -0.038634128868579865, -0.007904387079179287, -0.010797125287353992, -0.007570774294435978, -0.0483720526099205, 0.004135755356401205, 0.059359077364206314, -0.06942193955183029, -0.0029232134111225605, 0.05520874634385109, 0.01862291805446148, 0.03850507363677025, -0.06382442265748978, -0.007748177740722895, -0.007063162513077259, -0.022422241047024727, -0.0015433809021487832, 0.040814537554979324, -0.011964200995862484, -0.03358353674411774, -0.026659883558750153, 0.005358635913580656, -0.021126773208379745, 0.0003819506673607975, -0.017957139760255814, -0.02471156232059002, -0.002070581540465355, 0.011613072827458382, -0.03826189413666725, -0.022209689021110535, 0.028799310326576233, -0.013499227352440357, 0.0400896891951561, -0.04083354398608208, 0.03840213268995285, 0.044920627027750015, 0.016163639724254608, 0.006993493065237999, -0.04316694661974907, 0.006757419556379318, 0.013496005907654762, -0.008578107692301273, 0.030651332810521126, 0.02261802740395069, -0.021783186122775078, 0.0045562367886304855, 0.03026093915104866, -0.015044291503727436, 0.011387130245566368, -0.011333521455526352, 0.05200168490409851, 0.015284581109881401, 0.02205248922109604, -0.01218779943883419, -0.03227941691875458, 0.0055573065765202045, 0.057292189449071884, -0.04692372307181358, -0.0070873769000172615, -0.03258726745843887, -0.04787815362215042, 0.03150004893541336, -0.03184295818209648, 0.03211193159222603, -0.03481573611497879, 0.033760059624910355, 0.01094374805688858, 0.04160694777965546, 0.008675933815538883, -0.03697851300239563, 0.0445149801671505, -0.07433006912469864, 0.02573447860777378, -0.04125853255391121, -0.03217126429080963, 0.04280603304505348, -0.03367459774017334, -0.023761875927448273, 0.013841015286743641, -0.01576494611799717, 0.0398390032351017, -0.03686821088194847, -0.03642470762133598, 0.0543949119746685, -0.01266328152269125, -0.025881759822368622, 0.018163535743951797, -0.05247408151626587, 0.001606566016562283, -0.03615328297019005, -0.021758368238806725, 0.008424206636846066, 0.012685466557741165, 0.04519787058234215, 0.015963343903422356, 0.08156923949718475, -0.026527438312768936, 0.03336472064256668, 0.019901635125279427, 0.042443014681339264, -0.011339772492647171, 0.019283268600702286, -0.05232852324843407, 0.0635417103767395, 0.018365617841482162, 0.03270087018609047, -0.002515469677746296, -0.012201813980937004, -0.008503389544785023, -0.0196243729442358, 0.02887839823961258, -0.0039950343780219555, -0.03215625882148743, -0.06163318082690239, 0.05508659407496452, -0.01199234090745449, -0.032143209129571915, 0.0007320157601498067, 0.056241799145936966, -0.08091085404157639, -0.007306644227355719, -0.0006735186325386167, -0.03789844736456871, -0.009515736252069473, 0.05040431395173073, 0.015271754004061222, 0.05284763127565384, 0.07512916624546051, -0.002171814441680908, -0.02492695301771164, -0.024852372705936432, 0.07322106510400772, 0.03842522203922272, 0.052835434675216675, -0.04051109403371811, 0.06667636334896088, -0.024306798353791237, -0.03532842546701431, 0.06375427544116974, 0.04164794832468033, 0.007543960586190224, -0.04357500746846199, 0.0354570634663105, 0.09392876923084259, -0.02653181552886963, 0.03238360956311226, -0.04866764321923256, -0.01857290416955948, 0.04734799265861511, 0.025056369602680206, 0.013199283741414547, 0.06251996755599976, 0.06134571507573128, 0.04708251729607582, -0.02930605411529541, -0.0298734363168478, 0.0053576319478452206, -0.0024434479419142008, 0.032351430505514145, 0.020040737465023994, -0.032585419714450836, 0.03883735090494156, 0.03884366154670715, -0.002837142674252391, 0.08944465965032578, -0.022068781778216362, -0.04287765547633171, 0.009833530522882938, -0.012842410244047642, 0.010377813130617142, 0.028991013765335083, 0.032581157982349396, -0.02163553610444069, 0.03322571888566017, -0.03236272558569908, 0.039720918983221054, 0.02231999859213829, 0.0067718615755438805, 0.07267536967992783, -0.041444215923547745, -0.038385797291994095, 0.03197486698627472, 0.013529844582080841, -0.08010870218276978, -0.012807296589016914, -0.03390467166900635, -0.05227374657988548, -0.015439121052622795, -0.03256820887327194, 0.010227741673588753, -0.01885196566581726, -0.054447077214717865, 0.013101362623274326, 0.00836930051445961, 0.015239796601235867, 0.03727461025118828, -0.06797382980585098, -0.0332847498357296, 0.012520111165940762, -0.005707868374884129, -0.019371245056390762, 0.06731793284416199, 0.03507683053612709, -0.002813628176227212, -0.03938238322734833, 0.021802473813295364, 0.01277894712984562, 0.020332567393779755, -0.031933367252349854, -0.03309906646609306, -0.10869612544775009, 0.00775124691426754, 0.004643091466277838, 0.008256349712610245, -0.07879877835512161, -0.0001163928973255679, -0.050458669662475586, 0.02720595896244049, 0.062469061464071274, -0.0196303091943264, 0.013678105548024178, -0.00860151369124651, -0.017247669398784637, 0.020315516740083694, -0.018849607557058334, 0.05134633928537369, -0.04591852426528931, 0.06708801537752151, 0.04429176077246666, -0.03789114952087402, -0.04435788467526436, 0.02925851196050644, -0.005499975755810738, 0.021869070827960968, -0.024616891518235207, -0.05245005339384079, -0.01474840845912695, -0.11571234464645386, -0.008560632355511189, 0.043642107397317886, 0.015840871259570122, -0.04403433948755264, -0.004212644882500172, -0.013396389782428741, -0.013894692994654179, -0.006240382324904203, -0.016998859122395515, -0.017612667754292488, -0.025342652574181557, -0.011627931147813797, -0.028350675478577614, -0.00902954488992691, -0.04084910824894905, -0.00020885016419924796, -0.00991189293563366, -0.005595275666564703, 0.023466574028134346, 0.005292912013828754, -0.0005969746853224933, -0.02571994438767433, 0.01511428039520979, -0.00924818404018879 ]
354
How Gradient descent balances features: A dynamical analysis for two-layer neural networks
https://openreview.net/forum?id=25j2ZEgwTj
[ "Zhenyu Zhu", "Fanghui Liu", "Volkan Cevher" ]
Poster
This paper investigates the fundamental regression task of learning $k$ neurons (\emph{a.k.a.} teachers) from Gaussian input, using two-layer ReLU neural networks with width $m$ (\emph{a.k.a.} students) and $m, k= \mathcal{O}(1)$, trained via gradient descent under proper initialization and a small step-size. Our analysis follows a three-phase structure: \emph{alignment} after weak recovery, \emph{tangential growth}, and \emph{local convergence}, providing deeper insights into the learning dynamics of gradient descent (GD). We prove the global convergence at the rate of $\mathcal{O}(T^{-3})$ for the zero loss of excess risk. Additionally, our results show that GD automatically groups and balances student neurons, revealing an implicit bias toward achieving the minimum ``balanced'' $\ell_2$-norm in the solution. Our work extends beyond previous studies in exact-parameterization setting ($m = k = 1$, (Yehudai and Ohad, 2020)) and single-neuron setting ($m \geq k = 1$, (Xu and Du, 2023)). The key technical challenge lies in handling the interactions between multiple teachers and students during training, which we address by refining the alignment analysis in Phase 1 and introducing a new dynamic system analysis for tangential components in Phase 2. Our results pave the way for further research on optimizing neural network training dynamics and understanding implicit biases in more complex architectures.
learning theory, over-parameterization, learning dynamics
null
13,306
null
[ -0.038491345942020416, -0.016565553843975067, -0.0008983952575363219, 0.013074827380478382, 0.02278207056224346, 0.046902213245630264, 0.024393005296587944, 0.009242822416126728, -0.04582057520747185, -0.03180272877216339, 0.008913100697100163, -0.009903482161462307, -0.06526926159858704, 0.021380377933382988, 0.019644850865006447, 0.037751663476228714, 0.06410322338342667, -0.0210883729159832, -0.0016391228418797255, 0.01988794654607773, -0.00378779205493629, -0.02787434495985508, 0.03624118119478226, -0.0023720916360616684, 0.025983896106481552, -0.05273020640015602, 0.014742625877261162, 0.005751227494329214, -0.0017777651082724333, -0.0027760243974626064, 0.02790600247681141, 0.015206159092485905, -0.0008900591055862606, -0.025113731622695923, 0.026133550330996513, 0.03204099088907242, -0.026034243404865265, 0.00768188526853919, 0.012602027505636215, 0.02549249306321144, -0.04715738072991371, 0.015379787422716618, -0.03744271397590637, 0.01591195911169052, -0.05334635078907013, 0.03635987266898155, -0.1238764226436615, 0.02711135894060135, 0.01921587809920311, -0.055436816066503525, -0.10684043169021606, 0.06679419428110123, 0.009357244707643986, -0.0311820637434721, -0.011231309734284878, 0.0332651250064373, 0.01379266008734703, -0.047963742166757584, -0.033384159207344055, -0.0385282039642334, -0.02526925504207611, 0.033191047608852386, 0.000550212396774441, 0.022334767505526543, -0.018518006429076195, 0.0008688928792253137, 0.027636950835585594, 0.021056154742836952, -0.05134168267250061, -0.03061755932867527, -0.04083666950464249, 0.01926589198410511, 0.008739853277802467, 0.012584652751684189, -0.0022942195646464825, -0.0534588024020195, -0.003949017729610205, 0.027956180274486542, 0.07283347845077515, 0.013503693975508213, 0.007537582889199257, 0.010880270972847939, 0.02655094675719738, 0.041914328932762146, -0.0016374763799831271, 0.017345435917377472, -0.03924046456813812, -0.039877999573946, -0.07494108378887177, 0.03495454415678978, -0.04005010798573494, -0.040516436100006104, 0.022523047402501106, 0.04533226415514946, -0.013411523774266243, 0.0027406930457800627, 0.02298937365412712, -0.005387968849390745, 0.0313955657184124, 0.001776060787960887, -0.00611321534961462, -0.03854767605662346, -0.003137173131108284, -0.0012215449241921306, -0.10275955498218536, -0.033065587282180786, -0.019518207758665085, -0.0008976862882263958, 0.0002556490071583539, 0.02195289172232151, -0.0473334826529026, 0.018221313133835793, 0.01916523650288582, -0.008687146008014679, -0.11255253851413727, 0.017816387116909027, -0.0272653978317976, 0.016573376953601837, -0.02232471853494644, 0.010457157157361507, 0.039192140102386475, 0.06354917585849762, -0.008015092462301254, 0.06418856978416443, -0.000437526818132028, 0.04896773397922516, 0.0060495492070913315, 0.04155399650335312, -0.028216799721121788, -0.01863056607544422, 0.018389025703072548, 0.010831878520548344, 0.03087211400270462, 0.03100564144551754, 0.002744553843513131, -0.01990705542266369, -0.0012403299333527684, 0.0287861917167902, 0.025444697588682175, -0.0005619738949462771, -0.012568213976919651, -0.031662967056035995, 0.045070830732584, -0.02729545719921589, 0.03902465105056763, -0.019401049241423607, 0.0006598688196390867, -0.04170939326286316, -0.042827218770980835, -0.02471972070634365, -0.006318820174783468, 0.0012822484131902456, -0.00601849565282464, -0.08174490183591843, -0.0052446844056248665, 0.07446052879095078, 0.007380725350230932, 0.01428820937871933, 0.014352258294820786, -0.006379372905939817, 0.005622054450213909, -0.002807638607919216, 0.012781582772731781, 0.02098529040813446, -0.01686275191605091, -0.04701664298772812, 0.052109017968177795, 0.030552227050065994, -0.03186800703406334, 0.01583336479961872, -0.03656904399394989, -0.0379127636551857, 0.03153463825583458, -0.005831573624163866, 0.00802203081548214, -0.013602202758193016, 0.053448695689439774, -0.002060006372630596, 0.01508585549890995, 0.014378761872649193, -0.09270711243152618, 0.029891299083828926, 0.02294917032122612, 0.03235522657632828, 0.004268302582204342, -0.012088208459317684, 0.0959714949131012, -0.04516199231147766, 0.05581281706690788, 0.015389193780720234, -0.05384184420108795, 0.010408839210867882, 0.016353202983736992, -0.002055568154901266, 0.08020702004432678, -0.000616975303273648, -0.001343008247204125, 0.007374051492661238, 0.009832366369664669, 0.053606465458869934, 0.06550995260477066, -0.060729749500751495, 0.0375782810151577, -0.0029973993077874184, -0.02650659903883934, -0.004244656767696142, 0.0317411869764328, -0.07899103313684464, 0.01498273853212595, 0.017382211983203888, -0.00945428665727377, -0.005995385814458132, 0.00655351672321558, 0.021806683391332626, 0.016909325495362282, 0.001545545645058155, -0.018487228080630302, 0.00812255684286356, 0.015113829635083675, -0.02496582828462124, 0.02354559674859047, 0.0071822586469352245, -0.0029089327435940504, 0.01849832944571972, -0.016580285504460335, 0.10523071140050888, 0.07901936769485474, -0.005530190654098988, -0.025983469560742378, 0.02326064370572567, 0.016725074499845505, 0.000184765609446913, 0.001974118407815695, 0.02216406911611557, -0.01046665757894516, 0.002494672778993845, -0.02829120308160782, -0.034470316022634506, 0.07352635264396667, -0.05292524769902229, 0.01754160411655903, 0.08649972081184387, -0.0239596888422966, 0.05845312029123306, -0.02238420583307743, -0.0082824332639575, 0.03657335788011551, 0.004394079092890024, -0.039781130850315094, -0.032226841896772385, -0.015569050796329975, 0.020016182214021683, -0.004376009572297335, -0.018905993551015854, 0.009279055520892143, -0.06420758366584778, -0.04364680498838425, -0.021650714799761772, 0.08559267967939377, 0.03363935276865959, 0.03353550285100937, 0.022632166743278503, 0.007674200460314751, -0.017619315534830093, -0.008470442146062851, -0.12316706776618958, -0.0410316027700901, 0.015448477119207382, 0.05485697090625763, 0.011932272464036942, 0.048981305211782455, 0.0030195743311196566, 0.051966071128845215, -0.034781794995069504, -0.031145146116614342, 0.009764359332621098, 0.03726276382803917, 0.014898175373673439, -0.03333486616611481, -0.027094636112451553, 0.003045220160856843, 0.07291904091835022, -0.010677576065063477, -0.028574902564287186, -0.024982934817671776, -0.06361479312181473, -0.010947812348604202, -0.029523978009819984, -0.005246920511126518, -0.0036348255816847086, -0.010813891887664795, 0.009675955399870872, -0.027295686304569244, 0.005013581831008196, 0.007811151444911957, 0.07293696701526642, 0.0550682507455349, 0.003668535500764847, -0.0021591586992144585, 0.019570980221033096, -0.016998298466205597, 0.01174385379999876, -0.0025308707263320684, 0.024889562278985977, -0.03523555025458336, 0.000402339908760041, 0.015061498619616032, -0.0061748274601995945, -0.29961779713630676, -0.017271270975470543, 0.017383508384227753, 0.0060074287466704845, 0.052472006529569626, -0.013891183771193027, 0.04786224290728569, -0.005251685157418251, -0.016727827489376068, 0.004598243627697229, -0.015504075214266777, 0.009491213597357273, -0.006732692942023277, 0.048965707421302795, 0.005313134286552668, 0.0160785261541605, 0.013190202414989471, -0.007234564051032066, -0.013304539024829865, 0.0612325444817543, -0.017524102702736855, -0.09186460077762604, -0.027703862637281418, 0.07030963152647018, -0.009160385467112064, 0.0536324679851532, -0.06007705628871918, -0.01671624556183815, -0.04669666662812233, -0.0038177166134119034, -0.037814486771821976, -0.01543602254241705, -0.03447853401303291, 0.06316093355417252, 0.025506824254989624, -0.007402040529996157, -0.0004366976791061461, -0.005929742939770222, 0.01598810777068138, 0.045273520052433014, -0.0063587999902665615, -0.013940774835646152, -0.011831505224108696, 0.04974926635622978, 0.08471424877643585, 0.04384162276983261, -0.044458549469709396, 0.0003921972238458693, -0.01861463114619255, 0.026855742558836937, -0.001756282290443778, -0.03430808335542679, -0.023472610861063004, 0.015980476513504982, -0.029964487999677658, -0.008734440430998802, -0.016520682722330093, -0.018494652584195137, 0.022221803665161133, 0.025030467659235, -0.00560226384550333, -0.056844111531972885, 0.0007503289962187409, -0.04642302170395851, -0.0023147601168602705, -0.03487292677164078, -0.06976718455553055, -0.0601024366915226, 0.04807444289326668, 0.02015117183327675, -0.014090233482420444, -0.019504757598042488, -0.044119399040937424, -0.09393917769193649, 0.013911208137869835, -0.024028269574046135, -0.009816987439990044, -0.026462366804480553, 0.0057033696211874485, 0.050461217761039734, -0.030119800940155983, -0.040216006338596344, 0.016949111595749855, 0.007254266180098057, 0.011918633244931698, -0.014055601321160793, 0.03599751740694046, -0.004211558029055595, -0.01627178303897381, -0.0183597169816494, 0.036582332104444504, -0.02166636846959591, 0.05578457936644554, -0.03236331790685654, 0.05858158320188522, 0.003724823473021388, 0.010743099264800549, 0.03466547280550003, 0.041473958641290665, 0.0018136788858100772, 0.03501032292842865, -0.08040662109851837, -0.02866986207664013, -0.05045265704393387, -0.049173250794410706, 0.02179788611829281, -0.05278691276907921, 0.009595545008778572, 0.0493597574532032, 0.008186346851289272, -0.01142348162829876, -0.07474807649850845, -0.00988807249814272, -0.006893421523272991, -0.022126400843262672, -0.023976674303412437, -0.009333631955087185, 0.020820841193199158, 0.024713100865483284, -0.008160167373716831, -0.028024934232234955, 0.051942378282547, -0.01894472911953926, 0.014090831391513348, -0.01720147207379341, -0.014957244507968426, -0.02017766796052456, -0.03591955453157425, -0.021855629980564117, 0.00019297927792649716, 0.041897643357515335, 0.05236605927348137, -0.004652931820601225, 0.02323860675096512, 0.04616953805088997, 0.004692964721471071, 0.005092515144497156, -0.015401567332446575, 0.03742705285549164, -0.017845118418335915, 0.027801496908068657, 0.022181443870067596, 0.019198082387447357, -0.011659106239676476, 0.03578624874353409, 0.02132374420762062, 0.008972208015620708, -0.027089295908808708, 0.004798571113497019, -0.022138655185699463, 0.04179578647017479, -0.06182025745511055, -0.021476803347468376, -0.0261659175157547, 0.0066914986819028854, -0.0029383408837020397, 0.01582089439034462, -0.002106624422594905, -0.00619592284783721, -0.02720595896244049, 0.06440399587154388, 0.0036814461927860975, -0.05442221835255623, 0.004585636779665947, 0.0005468038725666702, 0.05181136727333069, -0.012115336023271084, -0.008295162580907345, 0.03846355900168419, 0.005523297470062971, -0.006343861110508442, 0.009861337020993233, -0.02680569887161255, -0.061730071902275085, -0.01940823532640934, -0.012400761246681213, 0.027945416048169136, -0.03528708964586258, -0.020488422363996506, 0.01616598293185234, 0.026437636464834213, -0.017609816044569016, -0.00420015724375844, 0.042487747967243195, 0.08403796702623367, 0.024882765486836433, -0.011891909874975681, -0.01304274145513773, -0.04125561565160751, 0.04306890442967415, -0.009486107155680656, 0.006465150974690914, -0.013908120803534985, -0.03613266348838806, -0.02504628151655197, -0.035436008125543594, -0.007443901617079973, 0.052019573748111725, -0.003072568913921714, -0.02003425732254982, -0.03328688070178032, 0.04033876582980156, -0.023087255656719208, 0.03086855262517929, 0.04203128442168236, -0.08410739153623581, 0.018793722614645958, 0.029927143827080727, -0.00982377678155899, 0.03757699579000473, -0.00823315978050232, -0.059822555631399155, -0.057496845722198486, -0.04309621453285217, 0.02091103419661522, -0.022920526564121246, -0.026883065700531006, -0.039581939578056335, 0.00035300644231028855, -0.018902458250522614, 0.009179378859698772, -0.00285219494253397, -0.019291650503873825, -0.027564240619540215, -0.0051274411380290985, 0.042951084673404694, -0.016936471685767174, 0.02718239650130272, -0.0026857228949666023, -0.023470811545848846, 0.012188402004539967, -0.04479071870446205, 0.010698662139475346, 0.05942431837320328, -0.013513639569282532, 0.001211794326081872, -0.031077878549695015, 0.0067276195622980595, -0.013903442770242691, -0.0011998711852356791, -0.013588178902864456, 0.0035156041849404573, -0.06680374592542648, 0.011536319740116596, 0.0004374745476525277, 0.05093182995915413, 0.022478673607110977, -0.01469059381633997, 0.023195575922727585, 0.002244251314550638, 0.01961880549788475, 0.01402475405484438, -0.0437810942530632, 0.01557428203523159, 0.059664055705070496, -0.040474049746990204, -0.04711509123444557, -0.08122158795595169, -0.013989722356200218, 0.0011197119019925594, -0.01650986447930336, 0.000024705546820769086, -0.029817048460245132, 0.054463159292936325, 0.016996173188090324, 0.05426446720957756, 0.0033305485267192125, -0.008054819889366627, 0.022119829431176186, -0.04999208822846413, 0.00607751589268446, -0.07267027348279953, -0.04475325718522072, 0.05980437621474266, -0.0028481108602136374, 0.03459203243255615, 0.008960394188761711, -0.030179092660546303, 0.0368950255215168, -0.03283391892910004, -0.04213406518101692, 0.013821778818964958, -0.025027133524417877, -0.007026677951216698, 0.02327112667262554, -0.04980337992310524, -0.004176919814199209, -0.015068892389535904, -0.06444613635540009, 0.001255892333574593, 0.006879492197185755, 0.04240918904542923, 0.017259715124964714, 0.01793992891907692, -0.018969953060150146, 0.025574857369065285, 0.027559146285057068, 0.042273711413145065, 0.02357250079512596, 0.01746743731200695, -0.04318472743034363, 0.06854594498872757, 0.033269256353378296, 0.025909317657351494, -0.0050758603028953075, 0.03624237701296806, 0.005203130654990673, -0.05038011446595192, 0.04750901460647583, -0.007837087847292423, -0.017842555418610573, -0.037447333335876465, 0.03461480885744095, 0.017042234539985657, -0.041309040039777756, -0.006961797829717398, 0.03503253683447838, -0.05204283073544502, 0.003889804007485509, 0.01481271255761385, 0.009196641854941845, 0.013207092881202698, 0.07731279730796814, 0.005459656473249197, 0.04005583003163338, 0.048369791358709335, 0.014062232337892056, -0.03265812247991562, 0.03218315541744232, 0.07727033644914627, 0.06010718643665314, 0.023477042093873024, -0.01654980145394802, 0.07259178906679153, -0.03806460648775101, -0.073267363011837, 0.02704121544957161, 0.012284022755920887, -0.008093873038887978, -0.025050625205039978, 0.02023857831954956, 0.06630191951990128, 0.03735920414328575, 0.06407422572374344, -0.0197572223842144, -0.017742054536938667, 0.036656107753515244, 0.019132068380713463, -0.007749171927571297, 0.03943808376789093, 0.03380539268255234, -0.0008883590926416218, -0.025023026391863823, -0.028196610510349274, 0.003514618147164583, -0.008324130438268185, 0.021504344418644905, 0.007811539340764284, -0.02237117290496826, 0.00916270725429058, 0.0074198320508003235, 0.04674508050084114, 0.09501174092292786, -0.04803478345274925, -0.01868387870490551, -0.007342609576880932, 0.010458333417773247, 0.004998927470296621, 0.02749449759721756, 0.006998952478170395, -0.037370871752500534, -0.001105623901821673, -0.04381715506315231, 0.031145742163062096, 0.005689735058695078, 0.013621564954519272, -0.011019301600754261, -0.04897050932049751, 0.003906587138772011, 0.037926748394966125, 0.04821465536952019, -0.006426767911761999, -0.05825220048427582, -0.029576750472187996, -0.05629020184278488, -0.05984129756689072, -0.051402490586042404, 0.03771593049168587, -0.008252928033471107, -0.026048948988318443, 0.004201993346214294, -0.0075853075832128525, 0.017848769202828407, 0.0397946797311306, -0.04119141027331352, 0.013852722942829132, 0.011739556677639484, -0.003739679465070367, 0.0033897743560373783, 0.02304551936686039, 0.013964218087494373, -0.012628351338207722, -0.019392626360058784, 0.04974322393536568, -0.021289005875587463, 0.008351746946573257, -0.026712097227573395, 0.002844341332092881, -0.1021391898393631, -0.0187964029610157, 0.002703251549974084, -0.06792270392179489, -0.08496470004320145, 0.048945676535367966, -0.010751936584711075, 0.04166369512677193, 0.0645870566368103, -0.020473187789320946, -0.00976934377104044, -0.04722697660326958, -0.02988435886800289, -0.02876744046807289, -0.006438685581088066, 0.05109964683651924, -0.024915961548686028, 0.06410983204841614, 0.012610050849616528, -0.016029847785830498, -0.02519705891609192, 0.027354322373867035, -0.03175323083996773, -0.006215773057192564, -0.006794492714107037, -0.029771476984024048, -0.004936710931360722, -0.09651489555835724, -0.013718838803470135, 0.003519897349178791, 0.0012002051807940006, -0.030625998973846436, 0.007005411200225353, -0.012608900666236877, 0.033918656408786774, -0.03182264044880867, -0.014684758149087429, -0.0026923813857138157, -0.02193705551326275, -0.020282436162233353, -0.045568373054265976, 0.017703494057059288, -0.017721282318234444, 0.039685506373643875, -0.008984231390058994, -0.030089905485510826, -0.010943226516246796, -0.016357462853193283, 0.04740825667977333, 0.007355972658842802, 0.01642448455095291, -0.00695841433480382 ]
355
A Common Pitfall of Margin-based Language Model Alignment: Gradient Entanglement
https://openreview.net/forum?id=YaBiGjuDiC
[ "Hui Yuan", "Yifan Zeng", "Yue Wu", "Huazheng Wang", "Mengdi Wang", "Liu Leqi" ]
Poster
Reinforcement Learning from Human Feedback (RLHF) has become the predominant approach for aligning language models (LMs) to be more helpful and less harmful. At its core, RLHF uses a margin-based loss for preference optimization, which specifies the ideal LM behavior only in terms of the difference between preferred and dispreferred responses. In this paper, we identify a common pitfall of margin-based methods---the under-specification of ideal LM behavior on preferred and dispreferred responses individually, which results in two unintended consequences as the margin increases: (1) The probability of dispreferred (e.g., unsafe) responses may increase, resulting in potential safety alignment failures. (2) The probability of preferred responses may decrease, even when those responses are ideal. We demystify the reasons behind these problematic behaviors: margin-based losses couple the change in the preferred probability with the gradient of the dispreferred one, and vice versa, often preventing the preferred probability from increasing while the dispreferred one decreases, and thus causing a synchronized increase or decrease in both probabilities. We term this effect, inherent in margin-based objectives, gradient entanglement. Formally, we derive conditions for general margin-based alignment objectives under which gradient entanglement becomes concerning: the inner product between the gradient of preferred log-probability and the gradient of dispreferred log-probability is large relative to the individual gradient norms. Furthermore, we theoretically investigate why such inner products can be large when aligning language models and empirically validate our findings. Empirical implications of our framework further extend to explaining important differences in the training dynamics of various preference optimization algorithms and suggesting future directions for improvement.
Alignment, Preference Optimization, Large Language Model
null
13,302
2410.13828
[ -0.012976229190826416, 0.011569778434932232, 0.012509096413850784, 0.045211900025606155, 0.04153972119092941, 0.013836481608450413, 0.0441921167075634, 0.02078966051340103, -0.019069785252213478, -0.013665743172168732, -0.012941014021635056, 0.04594287648797035, -0.08879711478948593, -0.02258794568479061, -0.00397433852776885, 0.035748664289712906, 0.03960438445210457, 0.002540482906624675, 0.004399518482387066, 0.013448103331029415, -0.006236033979803324, -0.013316391967236996, 0.009127550758421421, 0.009012414142489433, 0.062445979565382004, 0.02695307321846485, 0.003313969122245908, -0.0037911792751401663, -0.04070805385708809, -0.020981160923838615, 0.053446535021066666, -0.015350250527262688, 0.01174564752727747, -0.00827773753553629, 0.03130052238702774, -0.024508362635970116, -0.05937674269080162, -0.004392682574689388, 0.02731732279062271, 0.03987542539834976, -0.04067488759756088, 0.02689889445900917, -0.020688515156507492, 0.0030471489299088717, -0.05332159623503685, 0.015092290006577969, -0.11132305860519409, 0.03237916901707649, 0.02575111947953701, -0.0647343322634697, -0.12125808745622635, 0.04868539795279503, 0.015448159538209438, -0.01981295272707939, -0.01828049123287201, 0.02740626223385334, 0.032324448227882385, -0.07577589154243469, 0.0042571090161800385, -0.03563190996646881, -0.025386027991771698, 0.034994106739759445, 0.005244685336947441, -0.011632431298494339, -0.009441631846129894, 0.000750318868085742, 0.0077329520136117935, 0.035176463425159454, -0.039034873247146606, -0.04209180548787117, -0.03161700814962387, 0.0020179387647658587, 0.03071046620607376, 0.027462733909487724, -0.004050489980727434, -0.02675171010196209, 0.006749128457158804, 0.0162114929407835, 0.0714656263589859, -0.0031811129301786423, -0.014358296990394592, 0.040694549679756165, 0.023662030696868896, 0.018237486481666565, 0.023077722638845444, -0.022295678034424782, -0.024444032460451126, -0.036937467753887177, -0.08777451515197754, 0.026285262778401375, -0.025943640619516373, -0.05410691350698471, 0.011156164109706879, 0.027131415903568268, 0.031247396022081375, 0.004097546450793743, 0.027845045551657677, 0.045422062277793884, -0.009233036078512669, -0.026486271992325783, -0.03974702209234238, -0.032787665724754333, 0.015673402696847916, -0.0025796496775001287, -0.09405309706926346, -0.04832974821329117, -0.0010468156542629004, -0.00023646812769584358, 0.006101901642978191, -0.001380785251967609, -0.053431954234838486, -0.00418271217495203, 0.028871865943074226, -0.023431450128555298, -0.06703022122383118, 0.016519419848918915, -0.004247167147696018, 0.04849075525999069, -0.02268141135573387, -0.004376921337097883, 0.02423582412302494, 0.02900206297636032, 0.005134047009050846, 0.09160871058702469, -0.021331965923309326, 0.01935301348567009, -0.009188705123960972, 0.05445073917508125, -0.06523899734020233, -0.029590504243969917, 0.0035990197211503983, 0.0453651025891304, -0.0360834002494812, 0.02645033225417137, -0.012944219633936882, 0.016470706090331078, 0.03172674402594566, 0.03221696615219116, 0.05549061670899391, 0.0030903490260243416, 0.0015453246887773275, -0.0008890996687114239, 0.06132255494594574, -0.01298588328063488, 0.04698730260133743, -0.008118463680148125, -0.028908755630254745, -0.024066373705863953, -0.03739028424024582, 0.018395937979221344, -0.0016249691834673285, -0.013485499657690525, 0.01047348789870739, -0.032926302403211594, -0.0008561299182474613, 0.06574908643960953, 0.012051821686327457, 0.01156532857567072, 0.023680608719587326, 0.01486815232783556, -0.02090860903263092, -0.000845337868668139, -0.03608214855194092, 0.005882514640688896, -0.0013114135945215821, -0.05835866928100586, 0.023480674251914024, 0.02240632474422455, -0.028447357937693596, 0.02567315846681595, -0.0431659109890461, 0.0067945425398647785, 0.059773001819849014, -0.04636377841234207, -0.030772071331739426, -0.02506018616259098, 0.04080231115221977, 0.02341972477734089, 0.051065340638160706, 0.040492840111255646, -0.08652829378843307, 0.055162861943244934, 0.016833843663334846, 0.02174297161400318, 0.007717125583440065, -0.020407717674970627, 0.07600568234920502, -0.02797923982143402, 0.01341298222541809, 0.05313381180167198, -0.06955097615718842, -0.008442736230790615, 0.04881463944911957, -0.019171154126524925, 0.0830923467874527, -0.04001966491341591, 0.003470453666523099, 0.03770910203456879, 0.045722316950559616, 0.05112955719232559, 0.028761813417077065, -0.03711747005581856, 0.02549663372337818, 0.002052746480330825, -0.002048583934083581, 0.008496247231960297, 0.016469134017825127, -0.011137361638247967, -0.028170637786388397, 0.027724122628569603, -0.029048655182123184, 0.015227596275508404, -0.00044515871559269726, 0.014346783049404621, 0.03232426941394806, -0.000652408110909164, -0.01662125624716282, -0.03345777466893196, 0.0013320939615368843, -0.05171988531947136, 0.04682271555066109, 0.009895858354866505, 0.0014565658057108521, -0.010262459516525269, -0.03215392306447029, 0.09432967752218246, 0.08342429250478745, 0.012819930911064148, -0.012598858214914799, 0.04818443953990936, -0.01478025782853365, -0.011882031336426735, 0.02553500048816204, -0.017489910125732422, 0.02403579093515873, -0.01400249358266592, -0.030916161835193634, -0.013242012821137905, 0.05638730525970459, -0.03754456341266632, -0.005655962508171797, 0.05285235494375229, -0.030166607350111008, 0.0447908416390419, -0.02472316101193428, 0.02018044702708721, 0.04311005026102066, 0.012182595208287239, -0.02644801139831543, -0.011238506063818932, -0.036795154213905334, 0.0037577738985419273, 0.010432049632072449, -0.012036725878715515, 0.03410453721880913, -0.05115647614002228, -0.0024396947119385004, -0.006810471881181002, 0.04068271070718765, 0.06541582196950912, 0.01480180025100708, 0.05314740538597107, -0.013332591392099857, -0.043873727321624756, 0.0041898987255990505, -0.08523336052894592, -0.039146918803453445, -0.016215115785598755, 0.029617901891469955, 0.010065815411508083, 0.026071280241012573, -0.009944543242454529, 0.029495729133486748, -0.03072940744459629, -0.0188521146774292, 0.026051627472043037, 0.028339991346001625, -0.012009293772280216, -0.04317934438586235, 0.013968382962048054, -0.01777566224336624, 0.051988448947668076, -0.04446492716670036, -0.05240499973297119, -0.020736433565616608, -0.029953651130199432, -0.008513379842042923, -0.06288600713014603, 0.007729227188974619, 0.026119470596313477, 0.021618660539388657, -0.0018031088402494788, -0.019056284800171852, 0.0012249501887708902, 0.004604868125170469, 0.04421886429190636, 0.0514422282576561, 0.020247505977749825, 0.028318410739302635, 0.05070127919316292, -0.0012479271972551942, 0.036678291857242584, -0.005354553461074829, 0.012843566946685314, -0.002473912900313735, -0.008682304061949253, 0.008455323055386543, 0.01372496783733368, -0.2932930588722229, -0.029196783900260925, 0.01584162376821041, 0.00478361826390028, 0.029864905402064323, -0.01581234484910965, 0.046961989253759384, -0.045665193349123, -0.027300599962472916, 0.006054822355508804, -0.011139919050037861, 0.01461958047002554, 0.01651153527200222, 0.043112460523843765, 0.05351238697767258, 0.0065637980587780476, -0.021607685834169388, -0.026394372805953026, -0.009660799987614155, 0.018250461667776108, -0.04374892637133598, -0.06726499646902084, -0.026791803538799286, 0.05366537719964981, 0.018496951088309288, 0.06808160245418549, -0.07097283750772476, -0.023230910301208496, -0.04337777569890022, -0.01591680198907852, -0.029110264033079147, 0.01212031114846468, -0.02214202471077442, 0.006400784943252802, 0.010822859592735767, 0.006124623119831085, 0.018503338098526, -0.012696871533989906, 0.049080006778240204, 0.027258355170488358, 0.009011264890432358, -0.030900485813617706, -0.002554042497649789, -0.00636395625770092, 0.047276198863983154, 0.020793301984667778, -0.03416453301906586, -0.00582496915012598, -0.00007480421481886879, 0.03908689692616463, -0.007832658477127552, -0.018997138366103172, -0.006281298119574785, 0.038146499544382095, 0.022191200405359268, -0.0038042133674025536, 0.0023051726166158915, -0.024697870016098022, -0.007104485761374235, 0.01652044616639614, 0.0004999778466299176, -0.0652836337685585, -0.03687139227986336, -0.03776364028453827, -0.008709530346095562, -0.025194158777594566, -0.07615621387958527, -0.013711187057197094, 0.051451776176691055, 0.03783068433403969, -0.03974105790257454, 0.020308718085289, -0.014077932573854923, -0.08687575906515121, 0.013310329988598824, 0.007028223481029272, -0.018431667238473892, -0.025939607992768288, -0.0038182497955858707, 0.044292084872722626, -0.04702922701835632, -0.04945790767669678, 0.027031471952795982, 0.02629755437374115, 0.014526956714689732, -0.03442927449941635, 0.04079583287239075, 0.0026538358069956303, -0.01914263889193535, -0.026376159861683846, 0.028526948764920235, 0.008508305996656418, -0.010274204425513744, 0.0023243166506290436, 0.03733265772461891, 0.03212601691484451, 0.014858686365187168, 0.048340100795030594, 0.034651294350624084, 0.006774372421205044, 0.011955151334404945, -0.09124676883220673, -0.014633916318416595, -0.04384228214621544, -0.02930929884314537, 0.04218249022960663, -0.07251124829053879, -0.024595046415925026, 0.019795183092355728, 0.006331233307719231, -0.020811777561903, -0.026473356410861015, 0.014713320881128311, 0.0033097427804023027, -0.06480515748262405, -0.02019842155277729, -0.007482154760509729, 0.034960657358169556, 0.01515026856213808, 0.006233393680304289, 0.010207300074398518, 0.042732417583465576, -0.02195563167333603, 0.006897087208926678, -0.008509339764714241, -0.003388017416000366, -0.01679042913019657, -0.016434794291853905, -0.013760439120233059, 0.020963912829756737, 0.026027509942650795, 0.05376572534441948, 0.019172685220837593, 0.01109001412987709, 0.06627403944730759, 0.002296959049999714, 0.0013888069661334157, -0.004872956778854132, 0.023818783462047577, -0.024548405781388283, 0.04663359746336937, -0.021190708503127098, 0.025595836341381073, 0.02995866909623146, 0.00034839921863749623, -0.007129746489226818, 0.023046676069498062, 0.0033641366753727198, -0.0029349771793931723, 0.015667269006371498, 0.029732057824730873, -0.04599732160568237, 0.008628059178590775, -0.031104931607842445, 0.01797444000840187, -0.0008352576405741274, 0.013150579296052456, 0.004999569151550531, 0.004453685600310564, -0.05229682847857475, 0.051799509674310684, 0.028904590755701065, -0.030766917392611504, 0.015061665326356888, 0.029350735247135162, 0.015381154604256153, -0.054042570292949677, -0.002866755472496152, 0.027114760130643845, 0.015030913054943085, 0.006316722836345434, -0.021429525688290596, -0.03189505636692047, -0.009162346832454205, -0.04178428649902344, -0.005180727690458298, 0.01997833140194416, -0.042558278888463974, -0.02206083945930004, 0.022377196699380875, 0.015922151505947113, -0.03328784555196762, 0.011714230291545391, -0.009398341178894043, 0.07296553999185562, -0.007986701093614101, -0.012260460294783115, -0.008428056724369526, -0.023217082023620605, 0.02962363138794899, -0.009933779016137123, -0.015223192982375622, -0.03412806615233421, -0.010999046266078949, -0.032219380140304565, -0.027463773265480995, -0.00438415864482522, -0.0015235445462167263, 0.002250771038234234, 0.008878427557647228, -0.01716826669871807, 0.03209127113223076, -0.02602914720773697, -0.005587897263467312, 0.03332304209470749, -0.08428648859262466, -0.00963764451444149, 0.028740011155605316, -0.0013921307399868965, 0.032558877021074295, -0.031662192195653915, -0.06484896689653397, -0.07267490774393082, -0.03523118421435356, 0.042110905051231384, -0.02906779944896698, -0.057137783616781235, -0.04789706692099571, -0.011776888743042946, 0.007314622402191162, 0.04390522465109825, -0.020577261224389076, -0.0004024097870569676, -0.00874715019017458, 0.0017760880291461945, 0.0313076488673687, -0.043469205498695374, 0.01413313951343298, 0.019571810960769653, -0.019816959276795387, 0.038598135113716125, -0.047173723578453064, 0.048218611627817154, 0.04180920869112015, 0.01251025777310133, 0.021830886602401733, -0.05991331860423088, 0.051696013659238815, -0.018071070313453674, -0.03383557125926018, 0.034664738923311234, 0.002249643672257662, -0.022491659969091415, 0.00969487801194191, -0.03767992556095123, 0.061355315148830414, 0.027618123218417168, 0.01799108274281025, 0.009193900972604752, 0.001325881341472268, 0.008745417930185795, 0.017883799970149994, -0.03495560586452484, 0.01879294030368328, 0.06745962798595428, -0.006178943440318108, -0.037296805530786514, -0.06872180849313736, -0.05005265027284622, 0.02180408127605915, -0.0025627673603594303, 0.0008802401716820896, -0.0286418404430151, 0.05254121124744415, 0.011972527019679546, 0.03907177224755287, 0.0056694624945521355, -0.02246052585542202, 0.03150084242224693, -0.06241803243756294, 0.007653853856027126, -0.0548076331615448, -0.00488165533170104, 0.06280583888292313, -0.050543222576379776, -0.0011937833623960614, -0.021594103425741196, -0.04758872464299202, 0.015176870860159397, -0.0300112497061491, -0.05692660063505173, -0.011004175990819931, -0.022071629762649536, -0.006747148465365171, 0.015135057270526886, -0.043727289885282516, -0.034790389239788055, -0.037598732858896255, -0.050276532769203186, -0.016737036406993866, 0.019077491015195847, 0.04596714302897453, -0.03511950373649597, 0.018539125099778175, -0.04255881905555725, 0.024272190406918526, 0.009606542065739632, 0.07772998511791229, 0.04188770055770874, -0.002235326450318098, -0.04510749876499176, 0.06266545504331589, 0.04503503814339638, 0.03206128254532814, 0.0006813784711994231, 0.021709401160478592, 0.007221688982099295, -0.05675867199897766, 0.05831180512905121, 0.0024629198014736176, -0.004392324481159449, -0.027767332270741463, 0.06959579139947891, 0.02482905052602291, -0.059526123106479645, -0.017671436071395874, 0.04534729942679405, -0.029042469337582588, -0.021993596106767654, 0.008617108687758446, 0.02483845129609108, -0.01320867333561182, 0.07283131033182144, 0.03693515062332153, 0.037312544882297516, 0.08594941347837448, 0.01524948887526989, -0.020204368978738785, 0.02845146134495735, 0.07722383737564087, 0.043016571551561356, 0.07493451982736588, -0.007316255010664463, 0.05170685052871704, -0.04740417003631592, -0.06689218431711197, 0.01719382405281067, 0.030158819630742073, -0.021276501938700676, -0.027629654854536057, 0.022909780964255333, 0.04469864442944527, -0.01666944846510887, 0.06413748115301132, -0.05137878283858299, -0.00013353572285268456, 0.043567150831222534, 0.017309222370386124, -0.012461076490581036, 0.041790179908275604, 0.012546999379992485, 0.002749290317296982, -0.0005004799459129572, 0.010106081143021584, 0.012713276781141758, 0.00009618219337426126, 0.034203920513391495, -0.018441108986735344, -0.039645202457904816, 0.0028563777450472116, -0.002607710426673293, 0.04000978544354439, 0.1154831200838089, -0.04687955230474472, -0.02050355263054371, 0.02479369565844536, -0.017330095171928406, -0.00003838331758743152, 0.0371377095580101, 0.001754619413986802, -0.03406590223312378, -0.02975078672170639, -0.07530245929956436, -0.026279566809535027, 0.021469933912158012, 0.020141219720244408, 0.0483018159866333, -0.028677962720394135, 0.02147766575217247, 0.03831794857978821, 0.03944659233093262, -0.06685498356819153, -0.046479806303977966, -0.038630448281764984, -0.0718168169260025, -0.0487627349793911, -0.06362514197826385, 0.019697090610861778, 0.009827839210629463, -0.0196292195469141, 0.032712776213884354, -0.035477641969919205, 0.03267987072467804, 0.012573333457112312, -0.057750679552555084, 0.017379427328705788, 0.046411365270614624, 0.00391158415004611, -0.008961605839431286, 0.02720438688993454, 0.02171446569263935, 0.011083587072789669, -0.021933289244771004, 0.050802167505025864, 0.0004442340286914259, -0.007375260349363089, -0.028322696685791016, 0.00004744598118122667, -0.09600242972373962, -0.026479478925466537, 0.014482597820460796, -0.020635752007365227, -0.09619425237178802, 0.023312494158744812, -0.02050413005053997, 0.010494865477085114, 0.07468903809785843, 0.012515762820839882, 0.014493908733129501, -0.012085597030818462, -0.02422109618782997, -0.01528539601713419, 0.008836581371724606, 0.03249064460396767, 0.00022954649466555566, 0.04609864205121994, 0.027556821703910828, -0.016098497435450554, -0.06115260720252991, 0.023269779980182648, -0.003448658622801304, -0.034156013280153275, -0.020964130759239197, -0.03420790284872055, -0.021921560168266296, -0.09260449558496475, -0.02931216172873974, 0.014063541777431965, -0.024448707699775696, -0.03332909196615219, -0.017481932416558266, -0.02809387445449829, -0.01149508636444807, 0.001985239563509822, -0.01152658462524414, -0.04331506788730621, -0.046574316918849945, -0.029329344630241394, -0.07236716151237488, 0.010519006289541721, -0.04538797214627266, -0.007562622427940369, -0.02533811703324318, -0.02562064304947853, 0.011246010661125183, 0.0009951378451660275, 0.03309832140803337, -0.01149283442646265, 0.013524104841053486, -0.009371688589453697 ]
356
Model Editing as a Robust and Denoised variant of DPO: A Case Study on Toxicity
https://openreview.net/forum?id=lOi6FtIwR8
[ "Rheeya Uppaal", "Apratim Dey", "Yiting He", "Yiqiao Zhong", "Junjie Hu" ]
Poster
Recent alignment algorithms such as direct preference optimization (DPO) have been developed to improve the safety of large language models (LLMs) by training these models to match human behaviors exemplified by preference data. However, these methods are both computationally intensive and lacking in controllability and transparency, inhibiting their widespread use. Furthermore, these tuning-based methods require large-scale preference data for training and are susceptible to noisy preference data. In this paper, we introduce a tuning-free alignment alternative, ProFS (Projection Filter for Subspaces), and demonstrate its effectiveness under the use case of toxicity reduction. Grounded on theory from factor analysis, ProFS is a sample-efficient model editing approach that identifies a toxic subspace in the model parameter space and reduces model toxicity by projecting away the detected subspace. The toxic subspace is identified by extracting preference data embeddings from the language model, and removing non-toxic information from these embeddings. We show that ProFS is more sample-efficient than DPO, further showcasing greater robustness to noisy data. Finally, we attempt to connect tuning based alignment with editing, by establishing both theoretical and empirical connections between ProFS and DPO, showing that ProFS can be interpreted as a denoised version of a single DPO step.
model editing, mechanistic interpretability, ai safety, alignment, toxicity, llms
We present model editing based sample-efficient and noise robust replacement to DPO, for reducing model toxicity.
13,296
2405.13967
[ -0.013706354424357414, 0.015709562227129936, -0.027907289564609528, 0.047248873859643936, 0.044155482202768326, 0.027770765125751495, 0.048594165593385696, 0.0029021252412348986, 0.002615602919831872, -0.03966554254293442, -0.008497452363371849, 0.034179650247097015, -0.10968796163797379, -0.008387814275920391, -0.00586142810061574, 0.04185957461595535, 0.000006419407327484805, 0.005645375233143568, 0.009614220820367336, 0.009793415665626526, 0.01871485821902752, -0.02123240940272808, 0.016199035570025444, 0.024073408916592598, 0.01861364021897316, 0.033989500254392624, 0.014560737647116184, 0.0055306451395154, -0.025119950994849205, -0.007009041495621204, 0.014821280725300312, -0.009985556825995445, 0.003820777637884021, -0.029643960297107697, -0.011311665177345276, 0.019094601273536682, -0.07323521375656128, 0.01202854048460722, 0.009653335437178612, 0.0520554818212986, -0.06527505069971085, 0.024387193843722343, -0.025882763788104057, 0.0032082973048090935, -0.04655444622039795, -0.005830265115946531, -0.11175338923931122, 0.04141361266374588, 0.017113644629716873, -0.05802667886018753, -0.11394192278385162, 0.042308758944272995, 0.008213598281145096, -0.01767280511558056, -0.019725704565644264, 0.04588194191455841, 0.056008096784353256, -0.06721404939889908, -0.020670747384428978, -0.050495363771915436, -0.04979827255010605, 0.03526029363274574, 0.006785320118069649, 0.004458469804376364, 0.01846754364669323, 0.004257628694176674, -0.030302057042717934, 0.036760326474905014, -0.030052758753299713, -0.012819699943065643, 0.005052073393017054, 0.0027183268684893847, 0.010894098319113255, 0.010176165960729122, 0.024035928770899773, -0.04831946641206741, 0.011368654668331146, 0.045326147228479385, 0.047088753432035446, 0.016450827941298485, 0.03576762229204178, 0.0014086220180615783, 0.015044000931084156, 0.025400666519999504, 0.02311575971543789, 0.00116011593490839, -0.005637513939291239, -0.028032157570123672, -0.07475773990154266, 0.01578734628856182, 0.0035718604922294617, -0.05815691500902176, 0.010424457490444183, 0.02268417738378048, 0.04250591993331909, 0.045746833086013794, 0.02117128297686577, 0.013711818493902683, -0.04506346583366394, 0.001009714906103909, -0.019126618281006813, -0.03144759312272072, 0.015863869339227676, -0.0033226690720766783, -0.10800235718488693, -0.065984807908535, -0.019019097089767456, 0.00953608937561512, 0.005724121350795031, 0.035839587450027466, -0.047872789204120636, 0.009031636640429497, 0.014077048748731613, -0.02154012769460678, -0.08805885910987854, 0.04942001774907112, -0.009567055851221085, 0.03540174290537834, 0.015125960111618042, -0.010840083472430706, 0.027037182822823524, 0.014377256855368614, 0.016064796596765518, 0.09752027690410614, -0.022118497639894485, 0.030859243124723434, 0.03776916116476059, 0.024827424436807632, -0.027478249743580818, -0.04527930170297623, 0.021356355398893356, 0.028431614860892296, -0.007771430537104607, -0.005539287347346544, -0.012129146605730057, -0.014142816886305809, 0.01794026419520378, 0.019490927457809448, 0.06252815574407578, -0.0051661767065525055, 0.0023196744732558727, 0.005303202662616968, 0.05153954401612282, -0.02638867311179638, 0.07470518350601196, -0.014721664600074291, -0.005885306745767593, -0.02028210088610649, -0.053194910287857056, -0.0014397799968719482, 0.025049643591046333, 0.017181042581796646, -0.004313684068620205, -0.08107735216617584, 0.03895964100956917, 0.0681694746017456, 0.0342722125351429, 0.015424208715558052, 0.003559551667422056, 0.011189505457878113, -0.010043137706816196, -0.006443982943892479, -0.05042070895433426, -0.008151988498866558, -0.00526251969859004, -0.05503104254603386, 0.02077953703701496, -0.01046024076640606, -0.040346380323171616, -0.0099035007879138, -0.030055059120059013, -0.01654919609427452, 0.05174575746059418, -0.026530606672167778, 0.0213383249938488, -0.015768665820360184, 0.027430107817053795, 0.0010080989450216293, 0.0397423692047596, 0.04459725692868233, -0.08355102688074112, 0.006929436698555946, -0.010856352746486664, -0.006081503350287676, 0.026377925649285316, -0.01503076683729887, 0.07754705101251602, -0.009181913919746876, 0.031021134927868843, 0.045184049755334854, -0.08911041170358658, -0.037433624267578125, 0.052995093166828156, -0.0011684286873787642, 0.07744000107049942, 0.005529505666345358, -0.018056444823741913, 0.053485509008169174, 0.04650234058499336, 0.06010417640209198, 0.04210210591554642, -0.005818344186991453, 0.023015981540083885, -0.008740037679672241, -0.04029861092567444, -0.032604068517684937, 0.024247916415333748, -0.029930895194411278, -0.053904078900814056, 0.019761040806770325, -0.027877775952219963, -0.0010869817342609167, 0.012964682653546333, -0.005441764835268259, 0.03337079659104347, -0.006972776260226965, -0.024208607152104378, -0.011219145730137825, 0.004757631570100784, -0.06072993949055672, 0.030725834891200066, 0.01409528311342001, -0.018550816923379898, -0.017576830461621284, -0.033364128321409225, 0.11183004081249237, 0.08019249141216278, -0.01545399148017168, 0.00992395170032978, 0.01690850965678692, 0.009078103117644787, 0.029074931517243385, 0.023707645013928413, -0.012060745619237423, 0.024610696360468864, -0.020166149362921715, -0.016420593485236168, 0.00255396100692451, 0.059792958199977875, -0.03460546210408211, 0.005638330243527889, 0.05932493507862091, -0.027966180816292763, 0.04392008110880852, -0.018762333318591118, 0.038819294422864914, 0.046953000128269196, 0.0017066225409507751, -0.05215846747159958, 0.007529420778155327, -0.021949846297502518, 0.020729929208755493, 0.012893172912299633, -0.0196764525026083, 0.01891416683793068, -0.03569941595196724, -0.007763805333524942, -0.004291568882763386, 0.06500115990638733, 0.03418516367673874, 0.0018887327751144767, 0.017974628135561943, -0.010387766174972057, -0.053980886936187744, 0.03905986249446869, -0.08361760526895523, -0.03590288385748863, 0.0037398142740130424, 0.022476334124803543, -0.015826893970370293, 0.011908397078514099, 0.0027450015768408775, -0.0011058576637879014, -0.03452764451503754, -0.011663428507745266, 0.009707069024443626, 0.03171354532241821, 0.009685251861810684, -0.03686755895614624, -0.01949911192059517, 0.0040215617045760155, 0.04568985104560852, -0.03247208893299103, -0.01961536705493927, -0.05593327805399895, -0.040117133408784866, -0.00026679670554585755, -0.033282261341810226, -0.0169202983379364, 0.03111310862004757, 0.030991028994321823, -0.014176339842379093, -0.03631335124373436, 0.014075526967644691, 0.031920481473207474, -0.0006578468601219356, 0.049286358058452606, 0.03901032358407974, -0.009869429282844067, 0.05535736307501793, 0.026003394275903702, 0.05044126510620117, 0.0013165881391614676, 0.003106636693701148, -0.006595741957426071, 0.025478420779109, 0.01197570189833641, -0.018150463700294495, -0.2792959213256836, -0.019984953105449677, -0.008301260881125927, -0.018878130242228508, 0.040736448019742966, 0.008812983520328999, 0.043100714683532715, -0.044684987515211105, -0.029848886653780937, 0.009586966596543789, 0.004131660331040621, 0.02863440476357937, 0.031480275094509125, 0.07825309783220291, 0.07466151565313339, 0.028245000168681145, -0.018750427290797234, -0.026958316564559937, -0.0037260123062878847, 0.013533181510865688, 0.0055841440334916115, -0.0525006465613842, -0.02377936989068985, 0.03506355732679367, -0.018888864666223526, 0.0672178640961647, -0.06560143083333969, -0.008239504881203175, -0.03146466240286827, -0.03574415296316147, -0.007301592733711004, -0.021584833040833473, -0.02825792506337166, 0.004886604845523834, 0.02736680582165718, -0.00422609644010663, 0.02810652181506157, 0.02006402425467968, 0.028951385989785194, 0.036960892379283905, -0.009021908044815063, -0.05579536035656929, -0.03435441851615906, -0.029781682416796684, 0.03839031606912613, 0.05157431215047836, -0.04101784527301788, 0.013620100915431976, -0.023654038086533546, 0.03293425589799881, 0.04593437910079956, -0.05168423056602478, -0.00397604051977396, 0.044482067227363586, 0.017927205190062523, -0.033945489674806595, 0.04033884406089783, 0.016615232452750206, -0.016711797565221786, -0.004350233823060989, -0.009392894804477692, -0.04577692225575447, -0.026848820969462395, -0.03425643593072891, -0.03416247293353081, -0.024816080927848816, -0.06612781435251236, -0.048893362283706665, 0.020847266539931297, 0.029838927090168, -0.03723754361271858, 0.014299596659839153, 0.024058692157268524, -0.0975707545876503, -0.0029826927930116653, -0.006327140145003796, -0.008265604265034199, -0.026573611423373222, -0.022140974178910255, 0.016678286716341972, -0.06458025425672531, -0.01689130812883377, 0.04160286858677864, 0.0007828428060747683, 0.013456307351589203, -0.04849221929907799, 0.020478051155805588, -0.01853717677295208, -0.031909290701150894, -0.07384912669658661, 0.024076929315924644, -0.02628631331026554, 0.006146278697997332, 0.011815973557531834, 0.03450067713856697, 0.02945076674222946, 0.030104663223028183, 0.03883036598563194, 0.03114791214466095, 0.01461799070239067, 0.01861400343477726, -0.06597711145877838, -0.011737547814846039, -0.06120409071445465, -0.024553801864385605, 0.038907188922166824, -0.07818081974983215, -0.043477464467287064, 0.016856597736477852, -0.02091243304312229, -0.011330381967127323, -0.0210726261138916, 0.03654475882649422, -0.016453100368380547, -0.010530746541917324, -0.01673862896859646, 0.02435917966067791, 0.023054134100675583, 0.02949625998735428, -0.004130274523049593, -0.023464515805244446, 0.03947170451283455, -0.02525165304541588, 0.012918706052005291, -0.006438576616346836, 0.0011514660436660051, 0.014360270462930202, 0.00006140949699329212, -0.005579063668847084, 0.004611671436578035, 0.03172343224287033, 0.05759192630648613, 0.004117833916097879, 0.02093788981437683, 0.052987098693847656, 0.013193218037486076, -0.02514249086380005, 0.011198358610272408, 0.040608495473861694, -0.014957573264837265, -0.005310318898409605, -0.013899597339332104, -0.0035984038840979338, 0.006208863575011492, 0.01602700538933277, 0.004229628015309572, 0.029245924204587936, 0.002348084934055805, 0.021652372553944588, 0.0164822768419981, 0.04548154026269913, -0.04914446547627449, -0.01084717083722353, -0.04447074979543686, 0.011229123920202255, -0.005694559309631586, 0.032781124114990234, -0.01607258804142475, 0.02042645774781704, -0.04141654819250107, 0.016049712896347046, 0.00802603643387556, -0.024814676493406296, -0.006453478708863258, 0.03171342611312866, 0.042144421488046646, -0.02684447169303894, 0.0005946727469563484, 0.0018456429243087769, -0.013087539933621883, 0.0176223311573267, 0.012286649085581303, -0.026157088577747345, -0.017820537090301514, -0.0032347317319363356, -0.02325209230184555, 0.025711553171277046, 0.016441503539681435, -0.039302606135606766, 0.049161408096551895, 0.02265262044966221, -0.05492585524916649, 0.001082874252460897, 0.008916000835597515, 0.07213642448186874, 0.030821681022644043, -0.0013004473876208067, -0.0439387783408165, 0.002419165102764964, -0.001071201404556632, -0.02976563200354576, 0.028580840677022934, -0.0427725650370121, -0.030282190069556236, -0.04042254760861397, -0.042265258729457855, 0.024982651695609093, 0.022472351789474487, -0.009446504525840282, -0.0077765947207808495, -0.014370902441442013, 0.0033497491385787725, -0.04059899225831032, -0.044846922159194946, 0.032246433198451996, -0.09154180437326431, -0.017658410593867302, 0.035454679280519485, -0.02539527788758278, 0.036914728581905365, -0.036062002182006836, -0.06560666114091873, -0.055265557020902634, -0.0407467857003212, 0.006612336728721857, -0.0003221053921151906, -0.02029888890683651, -0.03988443687558174, -0.024989008903503418, 0.018086271360516548, -0.010889193043112755, -0.005431730300188065, -0.02137095108628273, 0.003920567687600851, -0.01805419847369194, 0.044656477868556976, -0.03176303207874298, 0.007852754555642605, 0.01507422886788845, -0.017117105424404144, 0.040569424629211426, -0.02691410668194294, 0.02351272851228714, 0.04906325042247772, 0.007892808876931667, 0.004467903170734644, -0.04486202821135521, 0.05355969816446304, -0.011105292476713657, -0.009526435285806656, 0.022931929677724838, -0.017689146101474762, -0.03164961189031601, -0.007908785715699196, -0.02111835777759552, 0.05073457583785057, -0.014460093341767788, -0.022831805050373077, -0.004048952367156744, 0.023492194712162018, 0.024157481268048286, 0.03170805796980858, -0.05686724931001663, 0.005747167393565178, 0.05534806102514267, -0.012693102471530437, -0.03216371685266495, -0.06400207430124283, -0.04966113716363907, 0.01866837590932846, 0.0009192604920826852, 0.06387516856193542, -0.013731719925999641, 0.03950294107198715, 0.045024704188108444, 0.04261917248368263, 0.023556789383292198, -0.008856352418661118, 0.03864794969558716, -0.05028557777404785, 0.00006592662975890562, -0.06904489547014236, 0.024881649762392044, 0.06795806437730789, -0.03898395597934723, 0.003896365873515606, -0.0165752824395895, -0.019542615860700607, 0.04799056798219681, -0.02816871553659439, -0.050943873822689056, 0.012343843467533588, -0.01368311233818531, -0.02750738337635994, 0.029509179294109344, -0.0545261949300766, -0.0028881817124783993, -0.026158446446061134, -0.04156871885061264, -0.01663121022284031, 0.03198667988181114, 0.03620915487408638, -0.035412807017564774, 0.006538011133670807, -0.0490921288728714, 0.029831048101186752, 0.012457260861992836, 0.04797326400876045, -0.0012716708006337285, 0.006080191116780043, -0.024402553215622902, 0.04802974686026573, 0.02571891061961651, 0.04824735224246979, -0.025948407128453255, 0.009481593035161495, 0.0022709742188453674, -0.04360853508114815, 0.043915268033742905, 0.028409091755747795, -0.011124931275844574, -0.05399717018008232, 0.07549718767404556, 0.04439200088381767, -0.0464947335422039, -0.01391268614679575, 0.03592882677912712, -0.02623760886490345, 0.015666082501411438, -0.014313174411654472, 0.020172618329524994, -0.02981136366724968, 0.07936219871044159, 0.018757933750748634, 0.03786233067512512, 0.05279088765382767, 0.004397157579660416, 0.019524019211530685, 0.025055982172489166, 0.05080610141158104, 0.09689439833164215, 0.06985216587781906, -0.0038182339631021023, 0.051314011216163635, -0.029118549078702927, -0.04568297415971756, 0.012353911064565182, 0.015104326419532299, -0.04072706773877144, -0.04009753465652466, 0.00559145025908947, 0.05973103642463684, -0.010965609923005104, 0.06574682891368866, -0.025367358699440956, -0.023813869804143906, 0.0235883891582489, -0.010650837793946266, -0.0037415120750665665, 0.03214822709560394, 0.0251544788479805, 0.035493943840265274, -0.012716654688119888, 0.00046676816418766975, -0.01750521920621395, 0.0016349955694749951, 0.014289856888353825, -0.006279242690652609, -0.0371672697365284, 0.033578649163246155, -0.023179588839411736, 0.050729792565107346, 0.08724205195903778, -0.054291240870952606, -0.030222171917557716, 0.00982067920267582, -0.006128789857029915, 0.010873916558921337, 0.048735857009887695, -0.01913994923233986, -0.02835499309003353, 0.0001509197027189657, -0.04347486421465874, -0.0009185251547023654, 0.025447864085435867, -0.027701515704393387, 0.033807020634412766, -0.0358777716755867, 0.015792205929756165, 0.016093410551548004, 0.01923198066651821, -0.05480435490608215, -0.04396660625934601, -0.0423058457672596, -0.038016874343156815, -0.030215365812182426, -0.04842253774404526, 0.008603096008300781, -0.0036198734305799007, -0.030646979808807373, 0.04473214969038963, -0.04441143572330475, 0.03130163252353668, 0.04954123869538307, -0.07615503668785095, 0.0056374697014689445, 0.04219447076320648, 0.0005373135791160166, -0.01386952679604292, 0.01985773630440235, 0.020466307178139687, -0.008198276162147522, -0.028902996331453323, 0.04576077684760094, 0.005872389301657677, 0.01790030673146248, -0.049365829676389694, -0.007213371805846691, -0.09205028414726257, -0.008717228658497334, 0.03654878959059715, -0.026437902823090553, -0.09789829701185226, 0.02827836014330387, 0.005349711049348116, 0.04432627558708191, 0.05485190823674202, 0.03324577957391739, 0.0038192966021597385, -0.010807609185576439, -0.004233608953654766, -0.019995134323835373, 0.0026399167254567146, 0.03362226113677025, -0.045665159821510315, 0.06210402399301529, 0.015763944014906883, -0.04436369612812996, -0.03405124694108963, 0.035902608186006546, -0.01595083810389042, -0.012381392531096935, -0.023402804508805275, -0.023035738617181778, -0.03909052908420563, -0.074961818754673, -0.012470659799873829, 0.03277451545000076, -0.03297353908419609, -0.032829806208610535, -0.029302900657057762, 0.0036686479579657316, -0.035735759884119034, -0.007019555661827326, -0.028990833088755608, -0.010565576143562794, -0.04853864386677742, -0.019321469590067863, -0.08361852914094925, 0.00024007822503335774, -0.02920505590736866, 0.0044604637660086155, -0.056847065687179565, -0.026835376396775246, 0.006057900842279196, 0.004903746303170919, 0.06067327409982681, -0.013847973197698593, 0.03904726356267929, 0.008418331854045391 ]
357
Should VLMs be Pre-trained with Image Data?
https://openreview.net/forum?id=Pj4Aid3XqL
[ "Sedrick Keh", "Jean Mercat", "Samir Yitzhak Gadre", "Kushal Arora", "Igor Vasiljevic", "Benjamin Burchfiel", "Shuran Song", "Russ Tedrake", "Thomas Kollar", "Ludwig Schmidt", "Achal Dave" ]
Poster
Pre-trained LLMs that are further trained with image data perform well on vision-language tasks. While adding images during a second training phase effectively unlocks this capability, it is unclear how much of a gain or loss this two-step pipeline gives over VLMs which integrate images earlier into the training process. To investigate this, we train models spanning various datasets, scales, image-text ratios, and amount of pre-training done before introducing vision tokens. We then fine-tune these models and evaluate their downstream performance on a suite of vision-language and text-only tasks. We find that pre-training with a mixture of image and text data allows models to perform better on vision-language tasks while maintaining strong performance on text-only evaluations. On an average of 6 diverse tasks, we find that for a 1B model, introducing visual tokens 80\% of the way through pre-training results in a 2\% average improvement over introducing visual tokens to a fully pre-trained model.
vision language models, pre-training, fine-tuning
We vary amount of image data used in pre-training VLMs, questioning the conventional formula of fine-tuning pre-trained LLMs into VLMs
13,294
2503.07603
[ 0.03386640176177025, -0.00770255271345377, 0.03206273168325424, 0.050091762095689774, 0.06137152016162872, 0.007171969395130873, 0.036064401268959045, 0.01831682212650776, -0.03622182458639145, -0.027013108134269714, -0.05699809268116951, 0.035059113055467606, -0.07429709285497665, -0.016877545043826103, -0.003949915524572134, 0.061818040907382965, 0.04884787276387215, 0.029624592512845993, 0.018088042736053467, 0.03953985124826431, -0.027276189997792244, -0.024608179926872253, 0.038148343563079834, 0.018614504486322403, 0.0026878376957029104, -0.014959189109504223, 0.04417646303772926, -0.00476931082084775, -0.04796653985977173, -0.015258252620697021, 0.028871187940239906, -0.06344027817249298, 0.013449115678668022, -0.014634824357926846, 0.03811969235539436, 0.01907982863485813, -0.05187172442674637, -0.019261356443166733, 0.022913280874490738, 0.011555715464055538, -0.05945964157581329, 0.0340714231133461, -0.007255760487169027, -0.02216969057917595, -0.05406757816672325, -0.012823197059333324, -0.1031985804438591, 0.02652820385992527, 0.01760832592844963, -0.013413705863058567, -0.0955929383635521, 0.012427611276507378, 0.009289691224694252, 0.025333235040307045, 0.024842768907546997, 0.013598487712442875, 0.014182950370013714, -0.07094334810972214, -0.013218364678323269, -0.052556272596120834, 0.011409363709390163, 0.004430907312780619, 0.008998032659292221, 0.011150321923196316, 0.02076512761414051, -0.05963869392871857, 0.0015086752828210592, 0.043780479580163956, -0.051661890000104904, -0.0518699586391449, 0.012417366728186607, -0.006751091219484806, -0.006718705408275127, 0.011232802644371986, -0.004921729676425457, -0.03173500671982765, 0.006895881611853838, -0.006636743899434805, 0.05926409736275673, -0.031323108822107315, 0.005311076529324055, 0.026978928595781326, 0.03629519045352936, 0.023418914526700974, -0.004314763005822897, 0.021335219964385033, -0.02176007442176342, -0.03441675007343292, -0.05969221517443657, 0.04536205530166626, -0.02545969747006893, -0.04141909256577492, 0.02332558110356331, 0.04502693563699722, 0.02693973295390606, 0.003100424539297819, 0.012500018812716007, 0.029973704367876053, 0.003687006188556552, 0.009395632892847061, -0.009852753952145576, -0.01941561885178089, 0.03196638822555542, 0.006512566935271025, -0.10963892936706543, -0.04382995888590813, -0.034387219697237015, 0.002714155474677682, -0.01174946129322052, 0.015719445422291756, -0.03569863364100456, -0.03972332552075386, 0.0007784247281961143, -0.03436275199055672, -0.08484789729118347, 0.026485882699489594, 0.014976663514971733, 0.020433319732546806, -0.02029659040272236, -0.0018899638671427965, 0.06762629002332687, 0.04705970734357834, 0.014807150699198246, 0.04576611891388893, -0.025775544345378876, 0.008337489329278469, 0.014445933513343334, 0.04767804965376854, -0.033802058547735214, -0.016134951263666153, 0.029669519513845444, 0.028250940144062042, -0.00717932777479291, 0.024117110297083855, -0.004819758236408234, -0.0015689559513702989, 0.015081205405294895, -0.021762581542134285, 0.03472660109400749, -0.005825394298881292, 0.01687828078866005, -0.011800370179116726, 0.04057219251990318, -0.011307230219244957, 0.07067501544952393, -0.00048708822578191757, 0.011774144135415554, -0.018205979838967323, -0.07200311124324799, -0.000004071603143529501, 0.03169737011194229, -0.018099253997206688, -0.006207160651683807, -0.07830677926540375, 0.021970391273498535, 0.07442405819892883, 0.03189295157790184, 0.012132294476032257, 0.014644766226410866, 0.006724464241415262, 0.01587858982384205, 0.0019694131333380938, -0.00872758962213993, 0.026969319209456444, -0.038282472640275955, -0.0396566204726696, 0.02143360674381256, -0.003601823002099991, 0.0007875252049416304, 0.04801364243030548, -0.03857274353504181, -0.0521618016064167, 0.033988650888204575, -0.013504265807569027, -0.04012100026011467, 0.01845100335776806, 0.06550921499729156, 0.02241559326648712, 0.019761791452765465, 0.013364211656153202, -0.07728788256645203, 0.027739280834794044, 0.01791904680430889, -0.010916642844676971, 0.02442755736410618, -0.027140548452734947, 0.10233896225690842, -0.028179116547107697, -0.02702796272933483, 0.002520587993785739, -0.06681671738624573, -0.009452645666897297, 0.03755011036992073, -0.03263029456138611, 0.04306517541408539, -0.007810279726982117, -0.0005847079446539283, 0.027736350893974304, 0.03163035586476326, 0.06506042182445526, 0.052788518369197845, -0.00826436560600996, 0.04377962276339531, -0.02020997926592827, -0.019730111584067345, 0.019222702831029892, 0.038430675864219666, -0.057479534298181534, -0.050715237855911255, 0.024399980902671814, -0.002502636518329382, -0.028025612235069275, 0.0034585772082209587, 0.04394398257136345, 0.05464544892311096, 0.008284674026072025, -0.009974488988518715, -0.010687051340937614, 0.007445815019309521, -0.04934012144804001, 0.042457398027181625, 0.037545621395111084, -0.04142986983060837, -0.009578114375472069, -0.03370773792266846, 0.0841672345995903, 0.07018724828958511, -0.04681997001171112, -0.028535952791571617, -0.013215448707342148, 0.02274349331855774, -0.0009134759893640876, -0.006323622073978186, -0.013904165476560593, -0.0034530756529420614, -0.06089466065168381, -0.005469463299959898, -0.024030858650803566, 0.046581827104091644, -0.02887089177966118, -0.01063097920268774, 0.05327539145946503, -0.007348757702857256, 0.05201339349150658, 0.0039814310148358345, 0.006339365150779486, 0.03308640420436859, -0.016752636060118675, 0.00419375766068697, -0.02550349198281765, -0.01357846986502409, 0.004186888225376606, -0.0039733354933559895, -0.02269081398844719, -0.004286888055503368, -0.030705304816365242, -0.051806095987558365, -0.049311086535453796, 0.048994872719049454, 0.04416891187429428, 0.03004048764705658, 0.07951048761606216, 0.008943485096096992, -0.007362668868154287, -0.008993568830192089, -0.09352190047502518, -0.04409187659621239, -0.030079413205385208, 0.05052684247493744, 0.038051359355449677, 0.05332908406853676, 0.025744030252099037, 0.014934010803699493, -0.022845426574349403, -0.01298729982227087, 0.02539798431098461, 0.0341394878923893, 0.016188975423574448, -0.03276248648762703, -0.025290006771683693, -0.009900079108774662, 0.07024087756872177, 0.0037509461399167776, -0.016618896275758743, -0.047373395413160324, -0.024295823648571968, -0.02573041059076786, -0.057996466755867004, -0.021947761997580528, -0.011335688643157482, 0.00473023671656847, 0.03428247198462486, 0.011903413571417332, 0.00010168687003897503, 0.010056574828922749, 0.05886472389101982, 0.028336413204669952, -0.012501907534897327, -0.028993090614676476, 0.0461164265871048, -0.017995469272136688, 0.020596971735358238, 0.027985811233520508, -0.013048773631453514, -0.022366788238286972, 0.014144458808004856, 0.019575348123908043, 0.007949425838887691, -0.2796059846878052, -0.01296919584274292, 0.00016508916451130062, -0.013994134962558746, 0.024351805448532104, -0.043426480144262314, 0.03666684404015541, -0.03880760818719864, -0.030942847952246666, 0.03062509186565876, 0.03785587474703789, 0.02632511593401432, 0.005500624421983957, 0.02815079502761364, 0.04068528488278389, 0.04380151629447937, 0.0192888006567955, -0.03905803710222244, 0.035262834280729294, 0.04920445382595062, -0.031231701374053955, -0.07863705605268478, -0.007870668545365334, 0.07577957957983017, -0.015751566737890244, 0.08213376253843307, -0.08075099438428879, 0.011343300342559814, -0.02347848191857338, 0.004822388291358948, -0.006538098677992821, -0.026627998799085617, -0.005810888949781656, 0.038598936051130295, -0.003418196691200137, -0.015435141511261463, 0.06006689369678497, -0.010612845420837402, 0.015924638137221336, -0.01932050846517086, 0.012801909819245338, -0.024657124653458595, -0.035153016448020935, 0.018952444195747375, 0.06388194859027863, -0.001338120549917221, -0.08906509727239609, -0.015833212062716484, 0.0071525271050632, 0.034489113837480545, -0.02510550059378147, -0.022283341735601425, -0.024827836081385612, 0.03682221099734306, -0.006580169778317213, -0.0352495014667511, 0.021932357922196388, -0.005032760091125965, -0.01627637818455696, 0.009389027953147888, -0.011246368288993835, -0.055025819689035416, -0.04362750053405762, -0.04323684796690941, -0.024441367015242577, -0.011442265473306179, -0.03403814509510994, -0.05551346018910408, 0.045377880334854126, 0.01659328117966652, -0.013319633901119232, 0.024582065641880035, -0.02956927940249443, -0.09715466946363449, 0.03801294416189194, 0.009664222598075867, -0.0014302544295787811, -0.028402220457792282, -0.009608209133148193, 0.052743930369615555, 0.0016923529328778386, -0.0700269490480423, 0.03297397866845131, -0.014605516567826271, -0.0055158925242722034, -0.0234113410115242, -0.002508543897420168, -0.0045584337785840034, 0.007499404717236757, -0.03439071774482727, 0.07366372644901276, 0.010579834692180157, 0.016962094232439995, 0.026853438466787338, 0.036159079521894455, 0.004658383317291737, 0.0479176826775074, 0.03141547739505768, 0.02803049422800541, 0.013080534525215626, 0.03570191562175751, -0.06401382386684418, -0.015638835728168488, -0.017531434074044228, -0.004337407648563385, 0.02014705166220665, -0.04706507548689842, -0.0029167593456804752, 0.05322393402457237, -0.019948609173297882, -0.036853279918432236, -0.018780333921313286, 0.015731174498796463, 0.02192978374660015, -0.022524569183588028, -0.02185852825641632, 0.026193931698799133, -0.004205087199807167, 0.03205481916666031, -0.03850641846656799, -0.03484189137816429, 0.01959672011435032, -0.035118065774440765, 0.009370459243655205, -0.006791181396692991, -0.015201344154775143, -0.003752673976123333, 0.0024428071919828653, -0.05740247666835785, 0.014492223039269447, 0.024821579456329346, 0.02562226913869381, 0.005892383400350809, 0.023832321166992188, 0.053230252116918564, -0.013563857413828373, -0.003021581331267953, -0.011106420308351517, 0.04332175850868225, -0.023246057331562042, 0.015140481293201447, -0.018302302807569504, 0.03879532217979431, 0.05494115501642227, 0.048413220793008804, 0.0133632468059659, 0.02179577760398388, -0.017867933958768845, -0.01577085442841053, 0.0037301117554306984, 0.05438931658864021, -0.04813087731599808, -0.01065867394208908, -0.034183159470558167, 0.012635860592126846, -0.023839130997657776, -0.010800552554428577, -0.028725415468215942, 0.04503747075796127, -0.06351812183856964, 0.055153075605630875, 0.007290152367204428, -0.029647111892700195, 0.0077522797510027885, 0.012004373595118523, 0.022783931344747543, 0.022536320611834526, -0.02145746909081936, 0.020970681682229042, 0.023362813517451286, 0.02562674507498741, -0.06266697496175766, -0.025993268936872482, -0.01407025195658207, -0.020543484017252922, 0.011979794129729271, 0.012798890471458435, -0.009345214813947678, -0.024582117795944214, 0.03793395683169365, 0.006160539574921131, 0.007202253211289644, -0.0017514053033664823, 0.0076952772215008736, 0.06514700502157211, 0.019773252308368683, 0.01455333549529314, -0.025702649727463722, -0.03199243173003197, 0.01272538397461176, -0.008826044388115406, 0.017892537638545036, 0.008020272478461266, -0.009278899058699608, -0.06171291321516037, -0.04447009414434433, 0.0010324408067390323, 0.01145867258310318, 0.018343675881624222, -0.017093999311327934, -0.025617903098464012, 0.007638349663466215, -0.01852569729089737, -0.010814580135047436, 0.011457646265625954, -0.06814241409301758, -0.0006400560378096998, 0.044497452676296234, -0.05330120399594307, -0.018157944083213806, -0.03823887184262276, -0.0031745978631079197, -0.055384743958711624, -0.025619778782129288, -0.010496982373297215, -0.04532652720808983, -0.04043076932430267, -0.00462316581979394, 0.010840012691915035, -0.01630929857492447, -0.002226410200819373, 0.0007381460745818913, -0.02156011573970318, -0.0009034349350258708, -0.013938874937593937, 0.048166319727897644, -0.02065890282392502, 0.0021179369650781155, 0.03589398041367531, -0.029149888083338737, 0.01762089878320694, -0.049068693071603775, 0.02239076793193817, 0.08310060203075409, -0.008088618516921997, 0.03240719437599182, -0.05589026212692261, 0.04713289439678192, 0.029877919703722, 0.006266002543270588, 0.011622263118624687, 0.022700339555740356, -0.055059388279914856, 0.019029520452022552, 0.021350368857383728, 0.03766772150993347, -0.008634218946099281, -0.031122514978051186, 0.0005137548432685435, 0.007505001500248909, 0.005594796501100063, 0.005643007345497608, -0.006501418072730303, -0.006575882900506258, 0.05513017997145653, -0.02084408327937126, -0.021375520154833794, -0.056535035371780396, -0.047820426523685455, 0.01920943707227707, -0.005928051192313433, 0.024560635909438133, -0.0317060761153698, 0.07217229157686234, 0.03281974792480469, 0.049737803637981415, 0.0010715587995946407, -0.009310975670814514, 0.022845273837447166, -0.03500625863671303, 0.025531094521284103, -0.05219124257564545, -0.03577454388141632, 0.06493477523326874, -0.020329823717474937, 0.010383030399680138, -0.03721100091934204, -0.0516497977077961, 0.024693099781870842, -0.03200871869921684, -0.06128603592514992, -0.007764281705021858, -0.029508166015148163, -0.03264869749546051, 0.016357379034161568, -0.049419648945331573, 0.024928754195570946, -0.014919002540409565, -0.032118864357471466, -0.0014455962227657437, -0.022217513993382454, 0.045483268797397614, -0.019757302477955818, 0.013016227632761002, -0.025125928223133087, 0.00017528492026031017, 0.019699782133102417, 0.07480361312627792, 0.002472393913194537, 0.003601027885451913, -0.007609945256263018, 0.08689820766448975, 0.0351809561252594, -0.0316062830388546, 0.011799351312220097, 0.01304520945996046, -0.01979895494878292, -0.04024534299969673, 0.05002116039395332, 0.0010653685312718153, -0.048920173197984695, -0.056661613285541534, 0.07041491568088531, 0.03342070430517197, -0.039554692804813385, -0.04169624298810959, 0.03960174322128296, -0.045076191425323486, -0.014861754141747952, -0.034752488136291504, 0.004615179728716612, -0.01287356112152338, 0.047901686280965805, 0.0020820137578994036, 0.012663870118558407, 0.06183174252510071, 0.005516375415027142, -0.0026032403111457825, 0.04274755343794823, 0.06359473615884781, 0.05955827236175537, 0.0820043757557869, 0.011774182319641113, 0.08311387896537781, -0.04271389916539192, -0.04087599739432335, 0.016540396958589554, -0.024425094947218895, 0.010691394098103046, -0.033471547067165375, 0.02509758621454239, 0.08949421346187592, 0.023156318813562393, 0.04768102988600731, -0.03986833617091179, -0.012162195518612862, 0.03730091452598572, 0.016384482383728027, -0.004872860852628946, 0.01184865366667509, 0.021248886361718178, -0.031988371163606644, -0.014507723040878773, 0.0002537823747843504, 0.00871854368597269, -0.049565788358449936, 0.01928219012916088, 0.0002570004726294428, -0.024985793977975845, 0.0002953073417302221, -0.06578714400529861, 0.0492381788790226, 0.12980397045612335, -0.04282427579164505, -0.04226801171898842, -0.0060414462350308895, 0.01815933734178543, 0.03815728425979614, 0.059019118547439575, -0.008904888294637203, -0.0424589104950428, 0.02365824766457081, -0.038573917001485825, 0.017941901460289955, 0.030841857194900513, -0.018265925347805023, 0.014140424318611622, -0.04735792428255081, -0.03796736150979996, 0.02991379238665104, 0.0042593530379235744, -0.03513200208544731, -0.029236897826194763, -0.03348970413208008, -0.04946279153227806, -0.04342601075768471, -0.04824250191450119, 0.023897238075733185, 0.017614606767892838, -0.03663511574268341, -0.0378824844956398, -0.011737282387912273, -0.012854342348873615, 0.019772080704569817, -0.06752335280179977, 0.0013081840006634593, 0.021590495482087135, -0.004383944906294346, -0.016297629103064537, 0.01381461601704359, 0.0116729149594903, -0.024474328383803368, -0.007512870244681835, 0.041210245341062546, -0.007377740927040577, 0.024251943454146385, -0.0022141162771731615, -0.000979123986326158, -0.10677919536828995, 0.009428373537957668, 0.0054811155423521996, -0.037489525973796844, -0.06375803798437119, 0.0016393890837207437, 0.0016233110800385475, 0.03097529709339142, 0.06758692115545273, -0.007773159071803093, 0.02913293056190014, -0.020785829052329063, -0.015217071399092674, -0.03604716807603836, 0.03752366080880165, 0.06096561253070831, -0.008844518102705479, 0.06829981505870819, 0.04107382521033287, 0.014069359749555588, -0.004192035179585218, -0.01210889220237732, -0.005963608622550964, 0.0030254372395575047, -0.03141498565673828, -0.022339094430208206, -0.02694113180041313, -0.08038395643234253, -0.008589321747422218, 0.03808597847819328, -0.0073128631338477135, -0.05552059784531593, -0.0298500657081604, -0.0396711565554142, -0.03280055895447731, 0.0022041399497538805, 0.03209926560521126, -0.020270632579922676, -0.01914035901427269, -0.04364724084734917, -0.052675019949674606, 0.029982754960656166, -0.010472540743649006, -0.005025137215852737, -0.021231623366475105, -0.03939720615744591, -0.0030484956223517656, 0.00859946757555008, 0.025932176038622856, 0.007801320869475603, 0.03664001449942589, -0.017026731744408607 ]
358
DynaMath: A Dynamic Visual Benchmark for Evaluating Mathematical Reasoning Robustness of Vision Language Models
https://openreview.net/forum?id=VOAMTA8jKu
[ "Chengke Zou", "Xingang Guo", "Rui Yang", "Junyu Zhang", "Bin Hu", "Huan Zhang" ]
Poster
The rapid advancements in Vision-Language Models (VLMs) have shown great potential in tackling mathematical reasoning tasks that involve visual context. Unlike humans who can reliably apply solution steps to similar problems with minor modifications, we found that state-of-the-art VLMs like GPT-4o can consistently fail in these scenarios, revealing limitations in their mathematical reasoning capabilities. In this paper, we investigate the **mathematical reasoning robustness** in VLMs and evaluate how well these models perform under different variants of the same question, such as changes in visual numerical values or function graphs. While several vision-based math benchmarks have been developed to assess VLMs' problem-solving capabilities, these benchmarks contain only static sets of problems and cannot easily evaluate mathematical reasoning robustness. To fill this gap, we introduce **DynaMath**, a dynamic visual math benchmark designed for in-depth assessment of VLMs. **DynaMath** includes 501 high-quality, multi-topic *seed* questions, *each represented as a Python program*. Those programs are carefully designed and annotated to enable the automatic generation of a much larger set of *concrete* questions, including many different types of visual and textual variations. **DynaMath** allows us to evaluate the generalization ability of VLMs, by assessing their performance under varying input conditions of a seed question. We evaluated 14 state-of-the-art VLMs with 5,010 generated concrete questions (10 per seed question). Our results show that the worst-case model accuracy, defined as the percentage of correctly answered seed questions in all 10 variants, is significantly lower than the average-case accuracy. In addition, many models show high consistency in answering these questions -- the incorrectness of a certain variant of a seed question is not only due to inherent randomness. Our analysis emphasizes the need to study the robustness of VLMs' reasoning abilities, and **DynaMath** provides valuable insights to guide the development of more reliable models for mathematical reasoning.
Visual Mathematical Benchmark, Vision Language Models
We introduce DYNAMATH, a dynamic visual math benchmark designed for an in-depth assessment of the reasoning robustness of VLMs.
13,293
2411.00836
[ 0.0005754237645305693, 0.023560965433716774, -0.0010315824765712023, 0.0546417161822319, 0.036386795341968536, 0.031435538083314896, 0.007466295268386602, 0.01154468022286892, -0.04128675535321236, -0.013448536396026611, 0.002987862331792712, 0.034931447356939316, -0.06165789067745209, 0.009610696695744991, 0.009087550453841686, 0.07687743008136749, 0.052094314247369766, 0.012025535106658936, 0.0024509562645107508, 0.006516036577522755, -0.005725794937461615, -0.03495241701602936, 0.008881287649273872, 0.004029803443700075, 0.00707594770938158, 0.011360150761902332, 0.054722387343645096, 0.0007622113334946334, -0.0305817611515522, -0.01253456249833107, 0.024254068732261658, -0.023057881742715836, 0.014353500679135323, -0.019642112776637077, 0.009535502642393112, -0.0017821447690948844, -0.04027484729886055, 0.025499116629362106, 0.025031596422195435, 0.009470406919717789, -0.020403143018484116, 0.031029384583234787, -0.017771942541003227, -0.018110882490873337, -0.07536354660987854, 0.0019087162800133228, -0.08709597587585449, 0.05015762522816658, 0.006863108836114407, -0.013833591714501381, -0.1254151612520218, 0.038415078073740005, -0.015380307100713253, -0.006351238116621971, -0.00707575399428606, 0.03937537595629692, 0.05053180083632469, -0.10243277251720428, 0.0013011775445193052, -0.07298552244901657, -0.02303176559507847, 0.026465823873877525, 0.017983241006731987, 0.01010156236588955, -0.002764865756034851, -0.021104445680975914, -0.007973053492605686, 0.038500089198350906, -0.05425387620925903, -0.02491234801709652, 0.0062283179722726345, -0.008179833181202412, -0.0007047410472296178, -0.018287822604179382, -0.021082710474729538, -0.05333707481622696, 0.02125992439687252, 0.02320423722267151, 0.05848168954253197, -0.044151268899440765, 0.008862962946295738, 0.028370635583996773, 0.01237474288791418, 0.037012919783592224, 0.018890157341957092, 0.018612079322338104, -0.023093469440937042, -0.02753806859254837, -0.08634858578443527, 0.03454646095633507, 0.0028544121887534857, -0.04924725368618965, 0.02947353757917881, 0.03614667057991028, 0.046356201171875, 0.02112436108291149, 0.015518269501626492, 0.026716722175478935, 0.012047983705997467, 0.021237989887595177, -0.008562961593270302, -0.06614166498184204, 0.04381088539958, -0.005908485036343336, -0.11376289278268814, -0.018282316625118256, -0.021598758175969124, -0.012675587087869644, -0.003844605293124914, 0.03313291445374489, -0.04861462116241455, 0.031324129551649094, 0.025272013619542122, -0.027879223227500916, -0.09140268713235855, 0.03957980498671532, 0.011162831448018551, 0.03826029598712921, -0.02065986767411232, 0.03395345062017441, 0.06144379824399948, 0.016633331775665283, 0.004429041873663664, 0.06342203170061111, -0.002338443649932742, 0.029810728505253792, 0.008282802999019623, 0.0338425487279892, -0.033918630331754684, 0.012787551619112492, 0.022690074518322945, 0.035202980041503906, 0.02693934366106987, 0.0066467151045799255, 0.007038803771138191, -0.0009787539020180702, 0.00530443899333477, -0.017566557973623276, 0.017774395644664764, 0.006011460442095995, 0.028233937919139862, -0.011816448532044888, 0.060765545815229416, -0.028376812115311623, 0.05070072412490845, 0.017806461080908775, 0.02678370103240013, 0.005208131857216358, -0.02485605701804161, -0.012622611597180367, -0.008896376006305218, -0.005369576625525951, -0.002460184507071972, -0.08783677220344543, 0.04171651229262352, 0.05514286458492279, 0.035649072378873825, 0.005945350509136915, 0.016485437750816345, 0.0035507373977452517, -0.005187442526221275, -0.009004989638924599, -0.0396186001598835, 0.022089695557951927, -0.016278820112347603, -0.039956118911504745, 0.034211210906505585, 0.024419067427515984, -0.05342710018157959, 0.010669897310435772, -0.0611996166408062, -0.07246315479278564, 0.056416768580675125, -0.007805583067238331, -0.0018169600516557693, 0.0031752169597893953, 0.056439585983753204, -0.007009013555943966, 0.03809858486056328, 0.008608677424490452, -0.07933879643678665, 0.020112983882427216, -0.015160927549004555, -0.001024529105052352, 0.007066173944622278, -0.03747823089361191, 0.10163719207048416, -0.05799165368080139, 0.003921762574464083, -0.007510062772780657, -0.07563600689172745, -0.008435503579676151, 0.02066446840763092, -0.003713158657774329, 0.0545058436691761, -0.0021968865767121315, -0.016682399436831474, 0.016684025526046753, 0.021898359060287476, 0.06529398262500763, 0.05819365009665489, -0.006971768569201231, 0.051965463906526566, -0.016793590039014816, -0.030429091304540634, 0.004465156700462103, 0.06860264390707016, -0.050641514360904694, -0.053866758942604065, 0.013181662186980247, -0.012033148668706417, -0.0029232180677354336, -0.001619917806237936, 0.00015915697440505028, 0.02602882869541645, 0.023919856175780296, -0.0017800373025238514, -0.0037556274328380823, 0.00435071112588048, -0.037069063633680344, 0.03134594485163689, 0.0035629253834486008, -0.019014643505215645, -0.027652261778712273, -0.035043053328990936, 0.08233541250228882, 0.0676552876830101, -0.02109980396926403, -0.04068206995725632, 0.03172491863369942, -0.018141023814678192, 0.028360217809677124, 0.00027079976280219853, -0.04794522002339363, -0.02180127054452896, -0.03871719911694527, 0.023705830797553062, -0.003934613894671202, 0.08202647417783737, -0.02652314305305481, 0.003831756766885519, 0.0550040528178215, 0.0030369674786925316, 0.05386768653988838, 0.00627677608281374, 0.0054485308937728405, 0.04486988112330437, 0.016339242458343506, -0.004498980939388275, -0.01271669939160347, -0.025395318865776062, 0.009779264219105244, -0.0038602235727012157, -0.026490943506360054, -0.004384716972708702, -0.04851425811648369, -0.015895873308181763, -0.022873587906360626, 0.07403134554624557, 0.044411465525627136, 0.029391521587967873, 0.02423681877553463, 0.03658398240804672, -0.032908517867326736, -0.005059145390987396, -0.10900547355413437, -0.04431081935763359, 0.00978404562920332, 0.02741669863462448, 0.01798185333609581, 0.041501596570014954, 0.0053056515753269196, 0.018008576706051826, -0.015062235295772552, -0.02414933778345585, -0.0026165887247771025, 0.01240717526525259, -0.017760712653398514, -0.07026664912700653, -0.026191767305135727, 0.01966204307973385, 0.07572763413190842, -0.0386393703520298, -0.010287717916071415, -0.003020787611603737, -0.00883579719811678, 0.003723644884303212, -0.0466928705573082, 0.009663298726081848, 0.009992786683142185, 0.016159523278474808, 0.0112984674051404, -0.03369411453604698, 0.015322588384151459, 0.03825969621539116, 0.06189176067709923, 0.03734254464507103, -0.027543984353542328, -0.02927379123866558, 0.02161652036011219, 0.010513774119317532, 0.022171368822455406, -0.011924270540475845, 0.03166903555393219, -0.026022743433713913, 0.007362713105976582, -0.01906657963991165, -0.008034522645175457, -0.2738630473613739, -0.013167038559913635, -0.002130336593836546, 0.003351026214659214, 0.04082472622394562, -0.017159685492515564, 0.05745028704404831, -0.01748933270573616, -0.033372100442647934, -0.0014153746888041496, 0.04676966741681099, -0.0040871803648769855, -0.023686440661549568, 0.08371153473854065, 0.05607966333627701, 0.013372003100812435, 0.00994274765253067, -0.0463431142270565, 0.015666181221604347, 0.031292837113142014, -0.01098049245774746, -0.08847848325967789, -0.0039942506700754166, 0.06797485053539276, -0.014063737355172634, 0.061559706926345825, -0.08823185414075851, -0.011085242964327335, -0.0385751947760582, 0.008713447488844395, -0.01186255645006895, -0.021734224632382393, -0.03197674825787544, 0.04930421710014343, 0.017233606427907944, 0.023464255034923553, 0.05451282486319542, -0.036994948983192444, 0.052800919860601425, 0.029790500178933144, 0.019955763593316078, -0.020885925740003586, -0.02598339132964611, 0.015346006490290165, 0.07041802257299423, -0.003457932732999325, -0.046599820256233215, -0.029911059886217117, -0.015260874293744564, 0.025376854464411736, -0.022992370650172234, -0.015316233970224857, -0.03534203767776489, 0.0036327471025288105, -0.02262619324028492, -0.03662794828414917, -0.009000962600111961, -0.010971336625516415, -0.008211735635995865, 0.014797738753259182, -0.006634809076786041, -0.01305787917226553, -0.022439396008849144, -0.018868908286094666, -0.021898072212934494, -0.04654889926314354, -0.05293525755405426, -0.058546487241983414, 0.03246382623910904, 0.01930498331785202, -0.017519906163215637, -0.016004757955670357, -0.04566773399710655, -0.09373236447572708, 0.003946148790419102, 0.006315887905657291, -0.0008565958123654127, -0.04328051581978798, 0.004383304622024298, 0.03543425351381302, -0.025348899886012077, -0.05985752493143082, -0.00042367129935882986, 0.009951026178896427, 0.012726168148219585, -0.03587401285767555, -0.01893826201558113, -0.042596619576215744, 0.01794939674437046, -0.025710929185152054, 0.06374942511320114, -0.014168101362884045, 0.033783018589019775, -0.00602897210046649, 0.053554024547338486, 0.021500350907444954, 0.04891810193657875, 0.04492606595158577, 0.03978773206472397, 0.028582323342561722, -0.002377019729465246, -0.08366155624389648, 0.0035092723555862904, -0.029828108847141266, -0.0455503836274147, -0.0009397640824317932, -0.041278451681137085, 0.0008183687459677458, 0.033532943576574326, -0.03026118315756321, -0.052567776292562485, -0.027541080489754677, 0.013987117446959019, -0.0014003212563693523, -0.01706530712544918, 0.0001457611215300858, 0.02320037968456745, 0.01434354204684496, 0.014180231839418411, -0.015674009919166565, -0.05002970993518829, 0.009548748843371868, -0.0379677414894104, 0.0031902939081192017, -0.028353845700621605, -0.00210255803540349, -0.020754318684339523, -0.016364727169275284, -0.012659848667681217, 0.009144783951342106, -0.004262625705450773, 0.041442472487688065, -0.012741143815219402, 0.04210442677140236, 0.05999069660902023, -0.022758278995752335, -0.013539323583245277, -0.014266816899180412, 0.015349521301686764, -0.0325438529253006, 0.03137233853340149, -0.0013559182407334447, 0.024432890117168427, 0.027497490867972374, 0.041590020060539246, -0.014211061410605907, 0.018231811001896858, 0.0013421159237623215, 0.00017680865130387247, 0.0011544986627995968, 0.04654140770435333, -0.08280546963214874, 0.0006129227112978697, -0.03817281499505043, -0.0020231720991432667, -0.025044137611985207, 0.006291423458606005, -0.007801113650202751, -0.00013415909779723734, -0.0545254722237587, 0.042897313833236694, 0.03207095339894295, -0.02423379383981228, -0.014278755523264408, 0.025443745777010918, 0.04111035168170929, 0.02480926178395748, 0.007364232093095779, 0.012282762676477432, 0.009549127891659737, 0.0075161955319345, -0.023873796686530113, -0.02790599875152111, -0.010665788315236568, -0.016500702127814293, 0.030805381014943123, 0.021472379565238953, -0.033219464123249054, -0.04811537638306618, 0.035930413752794266, -0.006936873774975538, -0.046335842460393906, -0.011281793937087059, 0.005975391250103712, 0.06887595355510712, 0.010199927724897861, -0.001299852505326271, -0.02492331899702549, -0.054423607885837555, 0.04304524138569832, -0.009914347901940346, 0.009328593499958515, -0.00962695013731718, -0.025303220376372337, -0.0623374879360199, -0.06413353979587555, 0.010407705791294575, 0.012009003199636936, 0.007854191586375237, -0.022620536386966705, -0.004141945391893387, 0.04278436675667763, -0.049663688987493515, 0.0005472589400596917, 0.029816312715411186, -0.07062751054763794, -0.004790924023836851, 0.029194887727499008, 0.011950223706662655, 0.014510040171444416, -0.03771546855568886, -0.020753173157572746, -0.039097052067518234, -0.04641270264983177, -0.004404320381581783, -0.0018663578666746616, -0.014222586527466774, -0.005760597065091133, -0.010043902322649956, -0.03639663755893707, 0.018659792840480804, 0.005784778390079737, -0.006155455484986305, 0.0009092952823266387, 0.002650453010573983, 0.029116962105035782, -0.00662637734785676, -0.008603675290942192, -0.0030603252816945314, -0.022789521142840385, 0.020480159670114517, -0.05059752240777016, -0.005770318675786257, 0.03939862176775932, -0.005517740733921528, -0.008795006200671196, -0.055049654096364975, 0.017425723373889923, -0.012891405262053013, -0.015670889988541603, -0.009205160662531853, -0.0013118869392201304, -0.022926315665245056, 0.023754576221108437, 0.002536592772230506, 0.037450164556503296, 0.04474063590168953, -0.015054984018206596, 0.03268643841147423, -0.0002774643653538078, 0.011582110077142715, 0.01425221934914589, -0.040012966841459274, -0.018096430227160454, 0.038758859038352966, -0.02450511045753956, -0.0013878055615350604, -0.07334060966968536, -0.02888406813144684, 0.010918887332081795, -0.02612878940999508, 0.019003544002771378, -0.03905005007982254, 0.06188680976629257, -0.005551520735025406, 0.045336879789829254, 0.025939002633094788, -0.029360739514231682, 0.06351437419652939, -0.05216769874095917, 0.015273204073309898, -0.0642220750451088, -0.019100001081824303, 0.06630927324295044, -0.01572459563612938, 0.0004682927392423153, -0.004151131957769394, -0.045502059161663055, 0.048999518156051636, -0.016213491559028625, -0.03618541732430458, 0.009003300219774246, -0.015649521723389626, -0.010902420617640018, -0.0046518598683178425, -0.026328478008508682, 0.006433222442865372, -0.0038053770549595356, -0.03068588301539421, 0.024557026103138924, -0.017311424016952515, 0.04799169301986694, -0.032440606504678726, 0.03208542615175247, -0.03557500243186951, 0.014056773856282234, 0.03431486338376999, 0.05306746065616608, 0.016049815341830254, 0.024443067610263824, -0.0100672896951437, 0.09846249222755432, 0.048832111060619354, 0.015722619369626045, 0.013049540109932423, 0.01981452852487564, -0.01399905327707529, -0.052715569734573364, 0.06468429416418076, 0.01558547280728817, -0.037509821355342865, -0.07284418493509293, 0.07646825909614563, 0.02417256124317646, -0.014503221027553082, -0.010135366581380367, 0.034620098769664764, -0.03449507802724838, 0.009453161619603634, -0.0289935190230608, -0.005152264144271612, -0.01021689921617508, 0.04397532343864441, -0.008210480213165283, 0.03767034038901329, 0.06930606812238693, 0.022769873961806297, -0.006737047806382179, 0.025312427431344986, 0.06246418505907059, 0.05574492737650871, 0.05093589052557945, -0.013651545159518719, 0.07634851336479187, -0.049742378294467926, -0.042248159646987915, 0.013283010572195053, 0.021016057580709457, -0.01281045563519001, -0.04499175399541855, 0.0352478064596653, 0.07757063955068588, 0.006028805859386921, 0.03682319074869156, -0.03505273163318634, -0.003566950326785445, 0.02956797182559967, 0.02618592232465744, -0.006207125727087259, 0.04469011351466179, 0.03599771484732628, 0.0155597273260355, -0.02518882043659687, -0.009733024053275585, -0.008772984147071838, -0.030521003529429436, -0.013011094182729721, -0.004739182535558939, -0.018179547041654587, 0.01586148887872696, -0.02454398386180401, 0.044621799141168594, 0.12326912581920624, -0.03874778375029564, -0.04411802440881729, 0.041245486587285995, 0.025227630510926247, 0.02992972545325756, 0.026605412364006042, -0.0022789286449551582, -0.010493094101548195, -0.009130358695983887, -0.036493800580501556, 0.021338706836104393, 0.035823408514261246, -0.018604861572384834, 0.027874905616044998, -0.04835594817996025, -0.049050964415073395, 0.03983696550130844, 0.007170986384153366, -0.04281114041805267, -0.03357559069991112, -0.014432717114686966, -0.0509209968149662, -0.060935523360967636, -0.014384754002094269, 0.0456695556640625, -0.02312084101140499, -0.038522522896528244, -0.016535650938749313, -0.008187823928892612, 0.004699793178588152, 0.036653392016887665, -0.05576026067137718, -0.014719092287123203, 0.022581396624445915, 0.01224384643137455, -0.01013993564993143, 0.032600078731775284, 0.017004501074552536, -0.05241696164011955, -0.022074341773986816, 0.013314644806087017, 0.007242918945848942, 0.013748597353696823, 0.015850696712732315, -0.01871507056057453, -0.10805275291204453, -0.016607575118541718, 0.025541720911860466, -0.02220355160534382, -0.07423640787601471, 0.02526824176311493, -0.04335898533463478, 0.02608421817421913, 0.08870084583759308, 0.013225965201854706, 0.043641116470098495, -0.040911611169576645, -0.021991172805428505, -0.00845207180827856, 0.02302779257297516, 0.06696964055299759, -0.035125453025102615, 0.053787924349308014, 0.01650678925216198, -0.03817296400666237, -0.02601684257388115, 0.009114966727793217, -0.013224408961832523, 0.011239896528422832, -0.028040852397680283, -0.019743317738175392, -0.05903870239853859, -0.1021827757358551, -0.0016878170426934958, 0.02470564655959606, -0.013417176902294159, -0.04060380160808563, -0.013652719557285309, -0.003050263272598386, -0.024622386321425438, 0.024002395570278168, -0.010620230808854103, -0.022119462490081787, -0.04559091106057167, -0.03029746748507023, -0.046224676072597504, 0.01783035695552826, -0.027135372161865234, 0.039409708231687546, -0.02289576269686222, -0.018511807546019554, -0.012324100360274315, 0.011472737416625023, 0.013163432478904724, 0.0045264530926942825, 0.036892831325531006, -0.0006523074698634446 ]
359
MetaDesigner: Advancing Artistic Typography through AI-Driven, User-Centric, and Multilingual WordArt Synthesis
https://openreview.net/forum?id=Mv3GAYJGcW
[ "Jun-Yan He", "Zhi-Qi Cheng", "Chenyang Li", "Jingdong Sun", "Qi He", "Wangmeng Xiang", "Hanyuan Chen", "Jin-Peng Lan", "Xianhui Lin", "kang zhu", "Bin Luo", "Yifeng Geng", "Xuansong Xie", "Alexander G Hauptmann" ]
Poster
MetaDesigner introduces a transformative framework for artistic typography synthesis, powered by Large Language Models (LLMs) and grounded in a user-centric design paradigm. Its foundation is a multi-agent system comprising the Pipeline, Glyph, and Texture agents, which collectively orchestrate the creation of customizable WordArt, ranging from semantic enhancements to intricate textural elements. A central feedback mechanism leverages insights from both multimodal models and user evaluations, enabling iterative refinement of design parameters. Through this iterative process, MetaDesigner dynamically adjusts hyperparameters to align with user-defined stylistic and thematic preferences, consistently delivering WordArt that excels in visual quality and contextual resonance. Empirical evaluations underscore the system's versatility and effectiveness across diverse WordArt applications, yielding outputs that are both aesthetically compelling and context-sensitive.
MetaDesigner
null
13,291
2406.19859
[ 0.036813922226428986, 0.017014240846037865, 0.01263967715203762, 0.034284740686416626, 0.03266223147511482, 0.04760188236832619, 0.011068697087466717, 0.03319915756583214, -0.02846333384513855, -0.0482608862221241, -0.02974318340420723, 0.019506165757775307, -0.04821820184588432, 0.012007977813482285, 0.013877049088478088, 0.04066351056098938, 0.01666085608303547, 0.023967090994119644, -0.02869831770658493, -0.013604164123535156, -0.00017891409515868872, -0.03220187872648239, 0.026599857956171036, 0.021287601441144943, 0.01898602582514286, 0.013414410874247551, 0.03584422916173935, 0.020901160314679146, -0.031924884766340256, 0.009916265495121479, 0.05708186328411102, -0.01592029258608818, 0.022096462547779083, -0.05803569406270981, 0.014115728437900543, -0.01192599069327116, -0.07121263444423676, 0.015569028444588184, 0.014927365817129612, -0.014970554038882256, -0.03848550096154213, 0.06108081713318825, 0.006860547699034214, -0.02872350439429283, -0.014669599942862988, 0.003937561064958572, -0.10633369535207748, 0.03371720761060715, -0.017293240875005722, -0.0004432187997736037, -0.08975617587566376, 0.010760243982076645, 0.019069641828536987, 0.005117296241223812, -0.015389556996524334, 0.05039899796247482, 0.04371955990791321, -0.05624852329492569, -0.016904812306165695, -0.04853879287838936, -0.02090219222009182, 0.013984116725623608, 0.010283839888870716, 0.0006297825602814555, 0.006300665438175201, -0.013890337198972702, -0.020311396569013596, 0.023750685155391693, -0.03831956163048744, -0.022518916055560112, -0.019519653171300888, -0.01614595390856266, 0.024119950830936432, -0.04039401933550835, -0.04467117041349411, -0.042005784809589386, 0.003268865402787924, 0.02812553383409977, 0.0637107864022255, -0.000017266038412344642, 0.0005357887712307274, 0.02278953231871128, 0.007347790524363518, 0.04698077589273453, -0.01741383783519268, 0.001002566539682448, -0.016547251492738724, 0.016591979190707207, -0.041003502905368805, 0.021295884624123573, 0.003797774901613593, -0.07768343389034271, 0.038248784840106964, 0.028688177466392517, 0.055958133190870285, 0.004036515951156616, -0.0019633297342807055, 0.04069552570581436, -0.03403720259666443, 0.013000978156924248, -0.016264917328953743, -0.058145154267549515, -0.02096005715429783, 0.030503584071993828, -0.06013922393321991, 0.0028045244980603456, -0.03536026552319527, -0.03613158315420151, 0.015810979530215263, 0.022667692974209785, -0.009128812700510025, -0.011371161788702011, 0.029020028188824654, -0.020018383860588074, -0.051308006048202515, 0.05211731418967247, 0.03345727548003197, 0.04450644552707672, -0.03508879989385605, 0.048527657985687256, 0.06714382022619247, 0.05571705847978592, 0.037053074687719345, 0.05243707820773125, -0.03310316801071167, -0.01098290178924799, 0.023019608110189438, 0.018115894868969917, -0.03193634748458862, -0.01999286189675331, 0.004646216053515673, 0.06471816450357437, -0.018673483282327652, -0.0006910345982760191, -0.001211936236359179, 0.023676954209804535, 0.00809871219098568, -0.007542608305811882, 0.01532068196684122, 0.016505766659975052, -0.015124528668820858, 0.008851317688822746, 0.02394351176917553, -0.06248382851481438, 0.04518096148967743, -0.011338614858686924, 0.03494754061102867, -0.04135569557547569, -0.026002736762166023, -0.007096066139638424, 0.030854230746626854, -0.017854901030659676, 0.003920009359717369, -0.018899081274867058, 0.03032885678112507, 0.04276645928621292, 0.04761363938450813, 0.03848141059279442, 0.0226594265550375, -0.0025477115996181965, -0.021687783300876617, -0.013533458113670349, -0.029524004086852074, -0.008590803481638432, 0.008145558647811413, -0.02756204828619957, -0.024800799787044525, 0.022882306948304176, -0.007557696662843227, -0.0167671088129282, -0.046243663877248764, -0.03908253461122513, 0.02965303510427475, -0.009988877922296524, 0.0223355982452631, -0.004391067195683718, 0.06639346480369568, 0.022281741723418236, 0.019078582525253296, 0.04827994480729103, -0.08765306323766708, 0.022398239001631737, -0.004572877660393715, 0.0018275569891557097, 0.02881506271660328, -0.02452903613448143, 0.07654988020658493, 0.009085472673177719, 0.016133829951286316, 0.019453871995210648, -0.09544692933559418, -0.03256895765662193, 0.04501606151461601, -0.002014850964769721, 0.039249956607818604, 0.010312444530427456, -0.05878503620624542, 0.054653022438287735, 0.050388153642416, 0.05697053670883179, 0.050361599773168564, -0.0032245388720184565, 0.03088443912565708, -0.009389773942530155, -0.02255203388631344, -0.06610057502985, 0.052984628826379776, -0.03675559535622597, -0.019577980041503906, 0.02289239689707756, -0.009280998259782791, -0.027910763397812843, 0.034826915711164474, 0.013519748114049435, 0.019818248227238655, 0.0027831229381263256, 0.006356530357152224, 0.015505916438996792, -0.030419647693634033, -0.060249995440244675, 0.039388541132211685, 0.009917530231177807, 0.014320014975965023, 0.002666774205863476, -0.06939959526062012, 0.10405489057302475, 0.01198031660169363, -0.09407857060432434, -0.0010792671237140894, -0.010084095411002636, -0.021352754905819893, 0.023083653301000595, 0.012506074272096157, -0.03120269998908043, -0.045163094997406006, -0.024808691814541817, -0.0015899176942184567, -0.000534808961674571, 0.08580832183361053, -0.035439468920230865, -0.014409559778869152, 0.03953786566853523, -0.04785047844052315, 0.056179504841566086, -0.004971889313310385, 0.052691735327243805, 0.004323186352849007, 0.007777687627822161, -0.003414008067920804, 0.0038505950942635536, 0.024653809145092964, -0.0016025579534471035, -0.021136188879609108, -0.02759300358593464, -0.014956320635974407, -0.047602858394384384, -0.0031719468533992767, -0.04325488209724426, 0.04948664829134941, 0.04884742200374603, 0.0012353468919172883, -0.013362931087613106, 0.022358089685440063, -0.0045175193808972836, 0.023024139925837517, -0.10100854188203812, -0.001458959188312292, 0.004980145953595638, 0.02065318636596203, -0.00781648326665163, 0.04980902373790741, 0.02305907942354679, -0.009314936585724354, -0.024288278073072433, -0.005957202985882759, 0.04209434986114502, 0.020410338416695595, 0.024019788950681686, -0.04103660210967064, -0.007043630350381136, -0.009955596178770065, 0.07946343719959259, -0.006091048941016197, -0.023654237389564514, -0.0024419385008513927, -0.01340094581246376, -0.012604070827364922, -0.04127660021185875, -0.013237659819424152, 0.0016809229273349047, -0.010216888971626759, 0.02148132584989071, -0.017962416633963585, 0.001771910465322435, 0.030679132789373398, 0.010521367192268372, 0.021993685513734818, -0.04522954672574997, -0.055295880883932114, 0.031235195696353912, -0.008895689621567726, -0.0067583657801151276, 0.022651895880699158, 0.02736561931669712, -0.002312677213922143, 0.010022764094173908, 0.034931402653455734, 0.013426325283944607, -0.2583218812942505, -0.0022994314786046743, 0.019456196576356888, 0.004058836959302425, -0.010632246732711792, 0.015152135863900185, 0.05386685952544212, -0.015146693214774132, -0.0206818375736475, -0.04631008207798004, -0.004685952328145504, 0.034699808806180954, -0.024660522118210793, 0.0656929463148117, 0.027730347588658333, 0.04933681711554527, -0.021535323932766914, -0.007792607881128788, -0.04348136857151985, 0.03206375241279602, -0.018666941672563553, -0.060745760798454285, -0.01618446223437786, 0.051846105605363846, 0.01997416280210018, 0.007851934060454369, -0.10973669588565826, 0.006389934103935957, 0.008957598358392715, 0.008421224541962147, 0.009085484780371189, -0.025263579562306404, -0.01728970743715763, 0.011760452762246132, 0.032060787081718445, -0.01889270544052124, 0.0514073520898819, -0.010898974724113941, 0.015318313613533974, -0.008051524870097637, 0.029279721900820732, 0.0002916887460742146, -0.05456285551190376, -0.03840801492333412, 0.04519663006067276, -0.0019961786456406116, -0.05725318565964699, -0.01855987124145031, -0.021794501692056656, 0.04804648831486702, -0.03255102410912514, -0.03888179361820221, -0.034219253808259964, 0.04258106276392937, 0.009892307221889496, -0.01648736372590065, 0.012053883634507656, -0.028562359511852264, -0.034887056797742844, -0.033106159418821335, 0.008039920590817928, -0.022346902638673782, -0.021646827459335327, -0.006614734418690205, 0.01914847455918789, -0.027590656653046608, -0.09847423434257507, -0.027940206229686737, 0.05720404163002968, 0.06099503114819527, 0.00019470205006655306, -0.017702894285321236, -0.014504590071737766, -0.09157273173332214, 0.015387173742055893, 0.008394732140004635, 0.010134274140000343, -0.04409726709127426, 0.0020161864813417196, 0.02617184817790985, -0.020696600899100304, -0.025013979524374008, -0.017142245545983315, -0.02397715486586094, 0.016999205574393272, 0.004540630150586367, 0.024346664547920227, -0.031094100326299667, -0.030443992465734482, -0.011712470091879368, 0.0367080494761467, -0.016240302473306656, -0.029426012188196182, -0.032365649938583374, 0.052927859127521515, -0.014582634903490543, 0.09584037959575653, 0.02606104500591755, 0.018098970875144005, 0.02552740089595318, 0.029206791892647743, -0.10832943022251129, -0.01903693936765194, 0.016600586473941803, -0.02250755950808525, 0.0053344774059951305, -0.04576300457119942, -0.03482292592525482, 0.07623428106307983, -0.008801867254078388, -0.032659005373716354, -0.054072305560112, 0.009894942864775658, -0.03868379071354866, -0.020924251526594162, -0.01870761066675186, 0.014104852452874184, 0.06530352681875229, 0.004945771303027868, -0.011779086664319038, -0.012459925375878811, 0.04280563071370125, -0.055695440620183945, 0.031777359545230865, 0.007079070899635553, 0.01525542140007019, 0.0019841957837343216, -0.01295627560466528, -0.007458728272467852, -0.02254733443260193, 0.017123015597462654, -0.02038433402776718, -0.023343650624155998, -0.0025155420880764723, 0.060794223099946976, -0.004036470782011747, -0.03694210574030876, -0.026670046150684357, 0.03304452821612358, -0.01746542751789093, 0.01914406567811966, -0.005103584844619036, 0.04248156398534775, 0.003105642506852746, 0.08084553480148315, -0.0015564418863505125, 0.012970739044249058, 0.014410261064767838, 0.0009101492469199002, 0.014494853094220161, 0.021014707162976265, -0.0406377911567688, -0.027678417041897774, -0.015080476179718971, 0.017591863870620728, -0.030527491122484207, -0.012232351116836071, -0.01936652511358261, 0.04389201104640961, -0.034435804933309555, 0.0706310048699379, -0.012975011952221394, -0.01816708967089653, -0.008022905327379704, 0.018844734877347946, 0.02226157858967781, -0.011825691908597946, -0.009787660092115402, 0.012663551606237888, -0.010106492787599564, 0.004077836871147156, 0.0019335632678121328, -0.034960128366947174, -0.01971527375280857, -0.061964310705661774, 0.019461248070001602, -0.00016233710630331188, -0.014024523086845875, -0.036855299025774, 0.05603714659810066, -0.02371332235634327, -0.020116334781050682, 0.008620570413768291, 0.0020667007192969322, 0.061182137578725815, -0.009753470309078693, 0.004713773727416992, 0.009894173592329025, -0.04091234877705574, -0.019707102328538895, 0.0024715426843613386, 0.06180376932024956, -0.037796761840581894, -0.0506509505212307, -0.06920375674962997, -0.05783841386437416, -0.028145557269454002, 0.049171075224876404, 0.028269784525036812, 0.009328226558864117, 0.00020301200856920332, 0.055225372314453125, -0.03478897362947464, -0.043867625296115875, 0.017479456961154938, -0.09681566059589386, 0.0256390068680048, -0.008020952343940735, 0.017362136393785477, 0.03242496773600578, -0.05125740170478821, -0.03718884661793709, -0.04926811158657074, -0.04266248643398285, 0.004470968618988991, -0.012124030850827694, -0.02430928498506546, -0.06611592322587967, 0.012455306015908718, 0.0015482216840609908, -0.0014083782443776727, 0.013051049783825874, -0.023328213021159172, 0.0008154560928232968, 0.013859165832400322, 0.0035598878748714924, -0.016904309391975403, -0.055433932691812515, -0.0067408643662929535, -0.04672051966190338, 0.07505235075950623, -0.05072382092475891, 0.0033737083431333303, 0.01494642160832882, -0.004854935221374035, 0.014578134752810001, -0.019715815782546997, -0.03702578693628311, 0.007293811999261379, -0.020814795047044754, -0.006392274517565966, -0.023198062554001808, -0.048304688185453415, 0.012920579873025417, 0.036694012582302094, 0.07328543066978455, -0.02835308201611042, 0.013923626393079758, -0.010823683813214302, 0.028403157368302345, -0.025540582835674286, 0.0020348818507045507, -0.04982864111661911, -0.04599505662918091, 0.048676397651433945, -0.03838961943984032, -0.006661906838417053, -0.008479880169034004, -0.03382813185453415, 0.03497747704386711, 0.0031342285219579935, 0.04933716729283333, -0.0046693747863173485, 0.047122079879045486, 0.018487276509404182, 0.009631802327930927, 0.013915469869971275, -0.029645109549164772, 0.02190207876265049, -0.0447063148021698, 0.003872969187796116, -0.03416890650987625, 0.02312178537249565, 0.0626443549990654, -0.022253287956118584, -0.02763371728360653, 0.004030363168567419, -0.04706588387489319, 0.05778124928474426, -0.0125958900898695, -0.05023159086704254, 0.008879347704350948, -0.019283290952444077, 0.020742233842611313, 0.013244474306702614, -0.055427052080631256, 0.03622767701745033, -0.026254110038280487, -0.041762202978134155, -0.019395453855395317, 0.0022667371667921543, 0.04690205678343773, 0.0004886917886324227, 0.048736974596977234, 0.015887634828686714, 0.000421652861405164, 0.013581577688455582, 0.046114128082990646, 0.005724703893065453, 0.014842860400676727, -0.02092662639915943, 0.07674216479063034, 0.06237131729722023, 0.044787485152482986, 0.03326062113046646, 0.015672065317630768, -0.023297041654586792, -0.013047540560364723, 0.07514122128486633, -0.01740375906229019, -0.048109330236911774, -0.06782189756631851, 0.03264680877327919, -0.01066525001078844, -0.02786247618496418, -0.02043844945728779, 0.03335458040237427, -0.03944312781095505, 0.03781126067042351, -0.045205578207969666, 0.037486482411623, -0.0023767107632011175, 0.04431970417499542, -0.006742815487086773, 0.04481091722846031, 0.080203577876091, -0.005581346340477467, -0.005866948515176773, -0.03945541009306908, 0.03798159956932068, 0.07454589754343033, 0.05997350811958313, -0.027924420312047005, 0.06123360991477966, -0.03452908992767334, -0.036096177995204926, -0.0017405758844688535, 0.04238690808415413, 0.00589034054428339, -0.017658494412899017, 0.024126360192894936, 0.07606588304042816, 0.009910691529512405, 0.04565215855836868, -0.012373093515634537, -0.04759596288204193, -0.004263586830347776, 0.02452888898551464, -0.007519611623138189, 0.0015160891925916076, 0.03875357285141945, 0.01702864095568657, -0.011559640988707542, -0.01658802293241024, 0.005534028634428978, -0.06249239668250084, 0.014384864829480648, 0.00622789328917861, -0.011829179711639881, -0.002861187793314457, -0.02558165043592453, 0.05252889171242714, 0.11598716676235199, -0.032275911420583725, -0.06407973170280457, 0.019417479634284973, 0.00020074888016097248, -0.0015350979520007968, 0.03090730309486389, 0.01877112127840519, 0.02474912256002426, 0.005383683368563652, -0.05438204109668732, 0.04574236273765564, 0.0403592512011528, 0.03152572363615036, 0.06156604737043381, -0.04045812040567398, -0.03492845594882965, 0.025096053257584572, -0.003208933863788843, -0.06499890238046646, -0.03472409397363663, -0.009780011139810085, -0.044901445508003235, -0.02818976528942585, 0.029046541079878807, 0.018294062465429306, -0.0491863377392292, -0.057233620434999466, -0.010714823380112648, -0.0029941252432763577, -0.0020835669711232185, 0.03312000259757042, -0.07199955731630325, -0.00862758420407772, 0.04779411852359772, 0.023501254618167877, -0.03934188187122345, 0.03928405046463013, 0.026401884853839874, 0.003159140469506383, 0.017323080450296402, 0.016276618465781212, 0.008505535311996937, 0.005479838233441114, 0.017804788425564766, -0.003674387466162443, -0.1144471988081932, -0.0017470101593062282, 0.0363774336874485, -0.028900397941470146, -0.07034870982170105, 0.022987617179751396, -0.035808805376291275, 0.016750728711485863, 0.05530620738863945, 0.06250057369470596, 0.05379750207066536, -0.02552306093275547, 0.01756071299314499, 0.021679705008864403, 0.010981892235577106, 0.06358780711889267, -0.054899584501981735, 0.06810673326253891, -0.007609597407281399, -0.03635898977518082, 0.004007082432508469, 0.039728209376335144, -0.018279600888490677, -0.008204459212720394, -0.021761255338788033, -0.00277091097086668, -0.03451726585626602, -0.09224452823400497, -0.015713363885879517, 0.032254137098789215, -0.027116267010569572, -0.04963858798146248, 0.005398541688919067, -0.00428237859159708, -0.0360192246735096, 0.012564717791974545, -0.028330931439995766, -0.010499175637960434, -0.03563210740685463, 0.003344848984852433, -0.04717457294464111, -0.010983753018081188, 0.013712716288864613, 0.011599070392549038, -0.043356072157621384, -0.02229093573987484, 0.004693000111728907, 0.0023951681796461344, 0.02767377905547619, -0.010446044616401196, 0.0375550203025341, -0.007219236344099045 ]
360
Adaptive Rank Allocation: Speeding Up Modern Transformers with RaNA Adapters
https://openreview.net/forum?id=uAtDga3q0r
[ "Roberto Garcia", "Jerry Weihong Liu", "Daniel Sorvisto", "Sabri Eyuboglu" ]
Poster
Large Language Models (LLMs) are computationally intensive, particularly during inference. Neuron-adaptive techniques, which selectively activate neurons in Multi-Layer Perceptron (MLP) layers, offer some speedups but suffer from limitations in modern Transformers. These include reliance on sparse activations, incompatibility with attention layers, and the use of costly neuron masking techniques. To address these issues, we propose the Adaptive Rank Allocation framework and introduce the Rank and Neuron Allocator (RaNA) adapter. RaNA adapters leverage rank adapters, which operate on linear layers by applying both low-rank matrix decompositions and adaptive masking to efficiently allocate compute without depending on activation sparsity. This enables RaNA to be generally applied to MLPs and linear components of attention modules, while eliminating the need for expensive maskers found in neuron-adaptive methods. Notably, when compared to neuron adapters, RaNA improves perplexity by up to 7 points and increases accuracy by up to 8 percentage-points when reducing FLOPs by $\sim$44\% in state-of-the-art Transformer architectures. These results position RaNA as a robust solution for improving inference efficiency in modern Transformer architectures.
Large Language Models, Adaptive compute, Rank adapters, Neuron adapters
null
13,289
2503.18216
[ -0.02644328586757183, -0.03241368383169174, -0.029572725296020508, 0.012673740275204182, 0.026123300194740295, 0.04153554514050484, 0.007654353976249695, -0.01877526566386223, -0.03659920021891594, -0.01552173588424921, -0.025678252801299095, 0.018596522510051727, -0.05837126821279526, 0.007858632132411003, -0.02267921343445778, 0.041166067123413086, 0.02132631652057171, 0.00019649601017590612, 0.025100329890847206, 0.010356348939239979, -0.005994212813675404, -0.03255947679281235, 0.03734253719449043, 0.009635957889258862, 0.02430267632007599, -0.0030896631069481373, 0.0240903552621603, 0.034567344933748245, -0.004930428229272366, 0.0033671241253614426, 0.03541867434978485, -0.02415519766509533, -0.005549220368266106, -0.006519911345094442, 0.024013012647628784, -0.007170040160417557, -0.03705299645662308, -0.016867898404598236, 0.012172822840511799, 0.007453368976712227, -0.013871950097382069, 0.015981698408722878, -0.0283509474247694, 0.0233903918415308, -0.05803690478205681, 0.00348601839505136, -0.09424518793821335, 0.007599401753395796, 0.010668803937733173, -0.022377649322152138, -0.126083642244339, 0.02785278670489788, -0.022589867934584618, -0.021269742399454117, 0.03435049206018448, 0.007336159702390432, 0.010155882686376572, -0.06187231093645096, -0.006476431153714657, -0.028865596279501915, -0.02144467458128929, -0.026623612269759178, 0.02708876132965088, 0.017153386026620865, 0.0014412830350920558, -0.0267043299973011, 0.0057471757754683495, 0.017973676323890686, -0.07487476617097855, -0.031821440905332565, -0.03940318152308464, 0.024674957618117332, -0.017224321141839027, 0.02202015556395054, 0.0010690402705222368, -0.04663175716996193, 0.02280392311513424, 0.034048087894916534, 0.09692342579364777, 0.006958005018532276, 0.02044212631881237, 0.01174263283610344, 0.017788877710700035, 0.05030972510576248, 0.027845589444041252, 0.0018996335566043854, -0.03931158781051636, -0.03798414394259453, -0.06634677201509476, -0.004265354946255684, -0.03913193941116333, -0.04080890491604805, -0.001984881702810526, 0.02690202184021473, 0.005254034418612719, 0.03670590743422508, 0.026840675622224808, -0.009525089524686337, 0.03134452924132347, 0.009734982624650002, -0.017614901065826416, -0.031724877655506134, 0.04092753678560257, -0.01853456348180771, -0.13577456772327423, -0.01262875646352768, -0.006421562284231186, -0.01857132464647293, -0.004434044938534498, 0.024433020502328873, -0.024210812523961067, -0.017344700172543526, 0.029257796704769135, -0.049035195261240005, -0.09328240156173706, 0.018820196390151978, 0.018354885280132294, 0.04021875932812691, -0.027934275567531586, -0.009388774633407593, 0.06113547459244728, 0.04871116578578949, -0.013574919663369656, 0.08056509494781494, -0.01443980261683464, 0.0010959660867229104, 0.0016109803691506386, 0.013400418683886528, -0.016583440825343132, -0.04832133650779724, 0.005353943444788456, 0.03194088116288185, 0.01756664365530014, 0.024505872279405594, -0.0023419251665472984, -0.01835310272872448, -0.00270288810133934, 0.025624800473451614, 0.07328580319881439, -0.0111038563773036, 0.010610167868435383, -0.00461175013333559, 0.049073465168476105, -0.029005810618400574, 0.07559533417224884, -0.013905487023293972, -0.03210831061005592, -0.019873006269335747, -0.0016515610041096807, -0.004022631328552961, 0.008657494559884071, 0.00028913721325807273, -0.0019208885496482253, -0.0830659568309784, 0.02817436493933201, 0.058283731341362, 0.0328439436852932, 0.010988308116793633, 0.011124901473522186, 0.013038423843681812, -0.0021930704824626446, -0.024172089993953705, -0.05024397000670433, 0.02002459391951561, -0.01666206680238247, -0.07414472848176956, 0.004294815007597208, 0.01787162385880947, -0.031614482402801514, -0.01170444954186678, -0.02502882108092308, -0.042693715542554855, 0.054438516497612, 0.014909372664988041, -0.01951763406395912, -0.02960074134171009, 0.05181565135717392, 0.005958106368780136, 0.04013434052467346, 0.008262078277766705, -0.08428598940372467, 0.04189292713999748, -0.00462122680619359, 0.025307903066277504, 0.01187194511294365, -0.01720651425421238, 0.0849900096654892, -0.028508296236395836, -0.004479884169995785, 0.014135577715933323, -0.08663509786128998, -0.006346674170345068, -0.003697373438626528, -0.0008075982332229614, 0.09847570210695267, 0.005569827742874622, -0.001791514689102769, 0.023673348128795624, 0.02878415957093239, 0.0575157105922699, 0.08052688091993332, -0.022642968222498894, 0.03545983508229256, -0.022282777354121208, -0.05234481394290924, -0.013306104578077793, 0.035886410623788834, -0.03898637741804123, -0.03337458521127701, 0.019813505932688713, 0.008081821724772453, 0.03521545231342316, 0.013263323344290257, 0.0018168645910918713, -0.011207998730242252, 0.0056425123475492, -0.015104648657143116, -0.006623005028814077, 0.03989773988723755, -0.047127850353717804, 0.03797387704253197, 0.029561053961515427, -0.031034156680107117, 0.015027825720608234, -0.03260171040892601, 0.09713965654373169, 0.027033766731619835, -0.029604656621813774, -0.020799577236175537, 0.03675246983766556, 0.0062591275200247765, 0.003982210531830788, 0.0007530879229307175, -0.005085700657218695, -0.0060224514454603195, -0.04703862592577934, -0.017214670777320862, -0.06505107134580612, 0.055704399943351746, -0.027049602940678596, -0.03939679265022278, 0.07959441840648651, 0.0035415308084338903, 0.05372252315282822, 0.0035496398340910673, 0.01789628341794014, 0.049780890345573425, -0.03378966078162193, -0.005682792514562607, -0.03760308027267456, -0.011285321786999702, -0.004707016050815582, 0.009940912015736103, -0.007265676278620958, 0.033675871789455414, -0.023845823481678963, -0.02657998539507389, -0.00246943486854434, 0.07268722355365753, 0.05386270210146904, 0.044653456658124924, 0.03448982536792755, -0.020059511065483093, -0.02783132717013359, -0.03770456463098526, -0.10306856036186218, -0.026228835806250572, -0.014145560562610626, 0.03902958333492279, 0.002429401269182563, 0.06417105346918106, 0.018030310049653053, 0.03229321539402008, -0.05906060338020325, 0.0006662706728093326, -0.025383785367012024, 0.013680932112038136, 0.00146259437315166, -0.0042100511491298676, -0.025353526696562767, 0.009905301965773106, 0.05321292579174042, -0.007304473780095577, -0.0053276075050234795, -0.012650134973227978, -0.0615263357758522, 0.001697810017503798, -0.05583175644278526, 0.02822260931134224, 0.00031358120031654835, 0.037743642926216125, 0.034909117966890335, -0.00788986124098301, 0.024640461429953575, 0.018456703051924706, 0.06684727966785431, 0.035788897424936295, 0.012099599465727806, -0.02910376712679863, 0.020243853330612183, -0.02640669234097004, 0.014923605136573315, 0.002447719220072031, 0.012172586284577847, -0.024733539670705795, -0.014229248277842999, 0.00382618373259902, 0.001609046128578484, -0.2709024250507355, 0.015183689072728157, 0.016010884195566177, -0.016204645857214928, 0.03702319785952568, -0.03977283835411072, 0.027711739763617516, -0.012118148617446423, -0.0005694368155673146, 0.035875096917152405, -0.013108206912875175, 0.06259175390005112, 0.00669308053329587, 0.022790327668190002, 0.01946786418557167, 0.016447260975837708, 0.006185473874211311, -0.004659639671444893, 0.02144746109843254, 0.05846397951245308, 0.007263961248099804, -0.0590970516204834, -0.03121333196759224, 0.05525723472237587, -0.015911392867565155, 0.05745778605341911, -0.073639877140522, 0.015388823114335537, -0.026490459218621254, -0.012964801862835884, -0.020542526617646217, -0.02897472307085991, 0.03378332406282425, 0.03078453801572323, -0.005564586259424686, -0.0003286967403255403, 0.02768375352025032, 0.014447483234107494, 0.038885701447725296, 0.029999325051903725, 0.003880340838804841, -0.049135610461235046, -0.014846601523458958, 0.008568796329200268, 0.056420233100652695, 0.026253752410411835, -0.05886290594935417, -0.0005491667543537915, 0.00870547816157341, 0.027959130704402924, 0.004231032449752092, -0.03737909719347954, 0.015638696029782295, -0.002897736383602023, 0.010630103759467602, -0.020401163026690483, -0.004218874499201775, -0.02095557004213333, -0.008010896854102612, 0.04115599766373634, -0.011252179741859436, -0.04216693341732025, -0.008022586815059185, -0.05222238972783089, -0.02163088507950306, -0.036406125873327255, -0.048395637422800064, -0.05771582946181297, 0.05408153682947159, 0.00673625199124217, -0.030911242589354515, 0.05943433567881584, -0.006967516615986824, -0.09672007709741592, -0.0027168761007487774, 0.005406484007835388, -0.04264960438013077, 0.02306831255555153, -0.02441496029496193, 0.04652024805545807, -0.05260700359940529, -0.0739903450012207, -0.016299454495310783, 0.010465648956596851, 0.015497495420277119, -0.04012630507349968, 0.009912412613630295, -0.04340948164463043, 0.015164077281951904, -0.03271732106804848, 0.043564699590206146, -0.01658208668231964, -0.005562928505241871, 0.005309734493494034, 0.060863032937049866, 0.03316905349493027, 0.003908272832632065, 0.05254390835762024, 0.02059801109135151, 0.01845238357782364, 0.029094448313117027, -0.06972015649080276, -0.030658498406410217, -0.026850474998354912, -0.017703952267766, 0.025922568514943123, -0.0459480807185173, -0.043978311121463776, 0.03996315598487854, -0.008651213720440865, -0.022365055978298187, -0.049308065325021744, 0.018584921956062317, -0.015479142777621746, -0.01827644743025303, 0.0016353940591216087, 0.02843397483229637, 0.03292493894696236, 0.019115334376692772, -0.011502014473080635, -0.027092786505818367, 0.02459028735756874, -0.024530161172151566, -0.015417505986988544, 0.01175544410943985, -0.004998988471925259, -0.014608451165258884, -0.01992516964673996, -0.015837332233786583, -0.04406938701868057, 0.044807590544223785, 0.03641834855079651, -0.014196384698152542, -0.006421809084713459, 0.033566635102033615, -0.023377778008580208, -0.015076383017003536, 0.00228945747949183, 0.028566021472215652, 0.009207741357386112, -0.010408064350485802, -0.00020446641428861767, 0.010365890339016914, 0.008510268293321133, 0.01617298647761345, 0.012213868089020252, 0.019731387495994568, 0.008172234520316124, -0.006101039703935385, 0.003464719746261835, 0.030019067227840424, -0.0489603690803051, -0.020696653053164482, -0.028813250362873077, 0.017103292047977448, -0.005445781163871288, 0.0448966845870018, -0.0347326397895813, 0.004100643564015627, -0.07034549862146378, 0.04690030589699745, 0.023496730253100395, -0.0024485804606229067, 0.00011047375301131979, 0.0530339777469635, 0.04247036203742027, -0.020635923370718956, -0.006469255778938532, 0.03921786695718765, -0.004370564594864845, -0.0351526215672493, -0.025330375880002975, -0.02670499123632908, -0.031704701483249664, -0.008304805494844913, -0.009029243141412735, 0.03523961082100868, 0.018718456849455833, -0.009082094766199589, 0.04928378760814667, 0.03612849861383438, -0.048533011227846146, -0.015118875540792942, 0.027253353968262672, 0.08192958682775497, 0.006917966995388269, 0.036048103123903275, 0.004258820787072182, -0.015358497388660908, 0.014529256150126457, -0.012298530898988247, -0.0009307098225690424, -0.029488304629921913, -0.053073253482580185, -0.051813721656799316, -0.032046448439359665, -0.010961947031319141, 0.02197514846920967, -0.02125665172934532, -0.03702265024185181, -0.03739434853196144, 0.0043999142944812775, -0.031741611659526825, -0.017266210168600082, 0.02411738410592079, -0.09015309065580368, -0.006601754110306501, 0.04838636517524719, -0.020442349836230278, 0.03653918206691742, -0.002172582084313035, -0.024175172671675682, -0.004816780332475901, -0.00133857736364007, 0.044910650700330734, -0.0078803775832057, -0.030719922855496407, -0.019056411460042, -0.0033275126479566097, -0.023195695132017136, 0.0016915027517825365, -0.01681523397564888, 0.022282134741544724, -0.011022847145795822, -0.00427996926009655, 0.024307386949658394, -0.028707128018140793, 0.022197844460606575, -0.0256215650588274, -0.0418892540037632, 0.014659279957413673, -0.05210632458329201, 0.04052561894059181, 0.09276688098907471, 0.012019927613437176, -0.0007897146861068904, -0.04799282178282738, 0.01580238714814186, 0.00972380768507719, 0.0010735898977145553, 0.0249742791056633, -0.018660789355635643, -0.059656426310539246, 0.02169596590101719, -0.021245453506708145, 0.04508736729621887, 0.009778291918337345, 0.015251120552420616, -0.0024533586110919714, 0.013077951967716217, 0.03965824842453003, 0.04869149252772331, -0.03840722516179085, -0.002051516203209758, 0.05500331148505211, -0.045486245304346085, -0.03621731325984001, -0.055276595056056976, -0.06675337255001068, 0.01851363107562065, -0.010715478099882603, 0.05325121805071831, -0.04973047599196434, 0.051412079483270645, 0.04395260289311409, 0.04115733876824379, 0.0015544507186859846, 0.0010711054783314466, 0.016818007454276085, -0.03706884756684303, 0.0005427784053608775, -0.06218894198536873, -0.056469012051820755, 0.046305954456329346, -0.02180635556578636, 0.03231413662433624, -0.00494889821857214, -0.04984040930867195, 0.021028954535722733, -0.013724508695304394, -0.033659882843494415, 0.030588213354349136, -0.021576587110757828, -0.015445776283740997, 0.052061859518289566, -0.0426006019115448, 0.024069134145975113, -0.023285310715436935, -0.031006895005702972, 0.013447058387100697, 0.004574253689497709, 0.06453187763690948, 0.003186882007867098, 0.03549226373434067, -0.04188276454806328, 0.007399551570415497, 0.030483074486255646, 0.07379183918237686, 0.0028160924557596445, 0.017754962667822838, -0.036176130175590515, 0.061181824654340744, 0.04425649717450142, 0.015286755748093128, -0.004622878506779671, 0.02809932827949524, -0.0051671103574335575, -0.05592342093586922, 0.049987077713012695, -0.0021347394213080406, -0.03601184859871864, -0.07149683684110641, 0.06624554842710495, 0.03911234438419342, -0.0669049322605133, -0.029186507686972618, 0.016696037724614143, -0.027659105136990547, 0.008779676631093025, -0.03719211742281914, 0.006222620140761137, -0.027051415294408798, 0.04505239799618721, 0.0016769642243161798, 0.03947842866182327, 0.07792196422815323, 0.00000921124046726618, -0.03773963078856468, 0.0068196929059922695, 0.08106088638305664, 0.0634978637099266, 0.0579405203461647, -0.04222029447555542, 0.05695050209760666, -0.018838347867131233, -0.07581827044487, 0.05114274471998215, 0.029089665040373802, 0.03198292851448059, -0.05409419536590576, 0.03131559118628502, 0.07624410092830658, -0.0027534884866327047, 0.0668213814496994, -0.042681269347667694, -0.0011227212380617857, 0.024918245151638985, -0.025024764239788055, 0.018162136897444725, 0.05808373540639877, 0.04973692446947098, 0.015651574358344078, -0.024246077984571457, -0.024878881871700287, -0.004527556709945202, -0.01947164349257946, 0.01599002815783024, -0.0019085207022726536, 0.0017288470407947898, 0.011808625422418118, -0.004858024884015322, 0.026034966111183167, 0.08788300305604935, -0.03472999855875969, 0.001672114129178226, 0.0036355480551719666, 0.015172945335507393, -0.00425482215359807, 0.03432285040616989, -0.019671300426125526, -0.037646859884262085, -0.02693338692188263, -0.04398038983345032, 0.008121651597321033, 0.031171007081866264, 0.01161214429885149, 0.031045671552419662, -0.028522655367851257, -0.0266812015324831, -0.003908626735210419, 0.035792458802461624, -0.034752801060676575, -0.06145584583282471, -0.036127083003520966, -0.0425192192196846, -0.04137146845459938, -0.04905327782034874, 0.025944797322154045, 0.009816457517445087, -0.023883679881691933, -0.028835883364081383, -0.04581887274980545, -0.011230218224227428, 0.02680392377078533, -0.06974951922893524, 0.029761705547571182, 0.019128095358610153, 0.011723106727004051, -0.022325318306684494, 0.055184341967105865, 0.0376727320253849, 0.0038652231451123953, -0.01617252454161644, 0.0351688414812088, 0.037114471197128296, 0.020450890064239502, -0.0011196318082511425, -0.02633633092045784, -0.09396941214799881, 0.003054592292755842, 0.020609499886631966, -0.03722956031560898, -0.07603573054075241, 0.02445192262530327, -0.016880016773939133, 0.05748317763209343, 0.05890370532870293, 0.013176591135561466, -0.016555536538362503, -0.017208514735102654, 0.009421203285455704, 0.0007785544148646295, -0.017091384157538414, 0.02778744511306286, -0.021896587684750557, 0.05970952659845352, 0.03597839176654816, 0.0008843647665344179, -0.04904334619641304, 0.017234593629837036, -0.02562962844967842, 0.0370524562895298, -0.03334512189030647, -0.03627534955739975, -0.030370907858014107, -0.10258007794618607, -0.023643527179956436, 0.016045061871409416, -0.02273000404238701, -0.023133734241127968, 0.00520833907648921, -0.010087699629366398, -0.002291210927069187, -0.012832967564463615, -0.02259865589439869, -0.029424961656332016, -0.03116876818239689, -0.007916494272649288, -0.06568588316440582, 0.036986302584409714, -0.04338616505265236, 0.03368327394127846, -0.01184476725757122, -0.035770561546087265, 0.01122572273015976, 0.004054581746459007, 0.03267057612538338, 0.014544453471899033, 0.016344821080565453, -0.013261252082884312 ]
361
EFFICIENT JAILBREAK ATTACK SEQUENCES ON LARGE LANGUAGE MODELS VIA MULTI-ARMED BANDIT-BASED CONTEXT SWITCHING
https://openreview.net/forum?id=jCDF7G3LpF
[ "Aditya Ramesh", "Shivam Bhardwaj", "Aditya Saibewar", "Manohar Kaul" ]
Poster
Content warning: This paper contains examples of harmful language and content. Recent advances in large language models (LLMs) have made them increasingly vulnerable to jailbreaking attempts, where malicious users manipulate models into generating harmful content. While existing approaches rely on either single-step attacks that trigger immediate safety responses or multi-step methods that inefficiently iterate prompts using other LLMs, we introduce ``Sequence of Context" (SoC) attacks that systematically alter conversational context through strategically crafted context-switching queries (CSQs). We formulate this as a multi-armed bandit (MAB) optimization problem, automatically learning optimal sequences of CSQs that gradually weaken the model's safety boundaries. Our theoretical analysis provides tight bounds on both the expected sequence length until successful jailbreak and the convergence of cumulative rewards. Empirically, our method achieves a 95\% attack success rate, surpassing PAIR by 63.15\%, AutoDAN by 60\%, and ReNeLLM by 50\%. We evaluate our attack across multiple open-source LLMs including Llama and Mistral variants. Our findings highlight critical vulnerabilities in current LLM safeguards and emphasize the need for defenses that consider sequential attack patterns rather than relying solely on static prompt filtering or iterative refinement.
JailBreak, AI Security, LLM Vunlnerability
We propose a novel multi-step attack methodology to automatically generate an optimal sequence of prompts that gradually steers the LLM towards eliciting harmful/unsafe responses using a Multi Armed Bandit Framework.
13,287
null
[ -0.026140529662370682, -0.02732519805431366, -0.036514151841402054, 0.04832708463072777, 0.03374162316322327, 0.0059457262977957726, 0.0657503679394722, 0.0066507793962955475, -0.026114892214536667, -0.010314902290701866, -0.04095557704567909, 0.014685889706015587, -0.06012160703539848, -0.029598405584692955, -0.0009652190492488444, 0.046814631670713425, 0.026117028668522835, -0.024136781692504883, 0.04782198742032051, 0.01990436762571335, 0.010859454050660133, 0.03465023636817932, 0.034329794347286224, 0.02879524603486061, 0.03521893918514252, 0.022614099085330963, 0.011006077751517296, 0.029041791334748268, -0.06100026145577431, -0.008568773046135902, 0.0487687811255455, 0.009388189762830734, 0.01613723859190941, -0.026260890066623688, 0.027067577466368675, 0.03219195827841759, -0.04023706167936325, -0.0037047069054096937, 0.014544854871928692, 0.03889304772019386, -0.04918469116091728, -0.007217065431177616, -0.01743999309837818, 0.0014221412129700184, -0.06408221274614334, -0.02024414762854576, -0.07955953478813171, 0.050264328718185425, 0.009032743982970715, -0.03258989751338959, -0.10723710805177689, 0.057247694581747055, 0.01080968789756298, -0.03516349941492081, 0.044239748269319534, 0.018223969265818596, 0.05853072181344032, -0.1107577309012413, 0.02357255108654499, -0.03756258264183998, -0.050038471817970276, 0.024353453889489174, 0.029596956446766853, -0.01296077948063612, -0.028327621519565582, -0.015523359179496765, 0.012269304133951664, 0.057589296251535416, -0.06538913398981094, -0.0505695641040802, -0.016084512695670128, 0.03469398245215416, -0.0040834397077560425, -0.005369591061025858, 0.019657570868730545, -0.032932624220848083, 0.012832991778850555, 0.014548725448548794, 0.03501752391457558, 0.018753813579678535, 0.00626291474327445, 0.017981916666030884, 0.03158213570713997, 0.04065433144569397, -0.006362082436680794, -0.007765474729239941, -0.02669680118560791, -0.02089569717645645, -0.06007901579141617, 0.014181254431605339, -0.01781635358929634, -0.039554353803396225, 0.02075665444135666, 0.02951703406870365, 0.016162406653165817, 0.0033958826679736376, 0.014601939357817173, 0.04747707396745682, -0.010728556662797928, 0.04229874908924103, 0.012454528361558914, -0.03201555833220482, -0.0024543614126741886, -0.017243532463908195, -0.12404849380254745, -0.0005391509621404111, -0.020435579121112823, -0.0030478809494525194, -0.0038412543945014477, -0.018047193065285683, -0.009573462419211864, 0.00720893545076251, 0.01708301156759262, 0.005477395374327898, -0.07255236059427261, 0.05295325070619583, -0.007326052989810705, 0.03126111999154091, -0.0027087104972451925, -0.0018859562696889043, 0.025367118418216705, 0.02653511054813862, 0.00915462989360094, 0.08592747151851654, 0.013934512622654438, -0.006850391160696745, 0.014543178491294384, 0.017639579251408577, 0.014796311035752296, -0.038764748722314835, 0.02423388697206974, 0.022135842591524124, 0.0022910747211426497, -0.008042339235544205, -0.01235132198780775, 0.005874242167919874, -0.005829771514981985, 0.05232366546988487, 0.06288271397352219, 0.00615488039329648, -0.004305204376578331, -0.030635138973593712, 0.06164759024977684, -0.02442532777786255, 0.07039661705493927, -0.0025169237051159143, -0.04735209047794342, 0.0011717781890183687, 0.00265119899995625, 0.007333972025662661, 0.027747225016355515, -0.018282508477568626, 0.002481280593201518, -0.06745714694261551, 0.032076042145490646, 0.04639822244644165, 0.027166059240698814, 0.027982119470834732, -0.039344917982816696, 0.00885866116732359, 0.004383736290037632, 0.0046904184855520725, -0.0661366805434227, 0.006773544475436211, 0.006483638659119606, -0.03977477550506592, 0.02183634415268898, 0.02672143653035164, -0.023524988442659378, 0.0077049811370670795, -0.04235013201832771, -0.024829057976603508, 0.059622425585985184, -0.04622422158718109, -0.03131447732448578, -0.0004754436085931957, 0.055235907435417175, -0.006043668836355209, 0.04178344085812569, 0.031088097020983696, -0.0772365927696228, 0.022772638127207756, 0.02472127042710781, 0.03089803270995617, -0.003724233713001013, 0.004364893771708012, 0.0767417922616005, -0.01609216071665287, 0.00014367816038429737, 0.03549812361598015, -0.08211230486631393, -0.007860157638788223, 0.029176782816648483, 0.006877876352518797, 0.06776170432567596, -0.007124795112758875, 0.005480642896145582, 0.03400106355547905, 0.025699518620967865, 0.04394371062517166, 0.024274634197354317, -0.0018484576139599085, 0.03727749362587929, -0.02600461058318615, -0.05342632159590721, 0.0013819627929478884, 0.03715808689594269, -0.046139344573020935, -0.030327320098876953, 0.014441045932471752, -0.022669509053230286, 0.015165400691330433, 0.013302672654390335, -0.004999762866646051, -0.0036290145944803953, -0.025599008426070213, -0.014764483086764812, -0.0006498229340650141, 0.026620827615261078, -0.06398710608482361, 0.008343962021172047, -0.022766321897506714, -0.021629106253385544, 0.013487433083355427, -0.03514238819479942, 0.1323247104883194, 0.046076636761426926, -0.015820588916540146, 0.026678308844566345, -0.015048744156956673, 0.00205413531512022, -0.018583856523036957, -0.003382809227332473, -0.03872852027416229, 0.019164208322763443, 0.020991357043385506, 0.004979870282113552, -0.0164148211479187, 0.04642747715115547, -0.03207249194383621, 0.005578275769948959, 0.09343920648097992, -0.05116095393896103, 0.05982433259487152, -0.026719357818365097, -0.004269927274435759, 0.015859367325901985, -0.01168786734342575, -0.034676067531108856, -0.03389263525605202, -0.011543679982423782, -0.00610623462125659, 0.027946162968873978, -0.031256504356861115, 0.043593842536211014, -0.03485233336687088, -0.025036880746483803, -0.025878850370645523, 0.036975324153900146, 0.042993634939193726, 0.012422202154994011, 0.03874986991286278, -0.007102032192051411, -0.04107600823044777, -0.004696797113865614, -0.08185268938541412, -0.020391222089529037, -0.013972871005535126, 0.022413721308112144, -0.007983209565281868, 0.026310788467526436, 0.0016278617549687624, 0.009884493425488472, -0.017415694892406464, -0.006656910292804241, 0.00920221395790577, 0.021229468286037445, 0.01960054226219654, -0.027807526290416718, -0.009704168885946274, -0.029166962951421738, 0.042637765407562256, -0.007148328702896833, -0.04032571613788605, -0.03182576224207878, -0.04086844250559807, -0.002493548672646284, -0.03798263892531395, -0.04143773391842842, 0.03956080973148346, -0.006504185032099485, 0.03912259265780449, -0.03728126734495163, 0.048579342663288116, 0.01743878424167633, 0.05319056659936905, 0.02129208669066429, 0.042427029460668564, -0.0013818141305819154, 0.04848504438996315, -0.0013186370488256216, -0.002766589866951108, -0.0245831198990345, 0.021734409034252167, -0.01727535016834736, -0.0019427125807851553, 0.013319483958184719, 0.0006712032482028008, -0.2971664369106293, -0.00031366728944703937, 0.012069536373019218, -0.03043314442038536, 0.01156686246395111, 0.008152704685926437, 0.040482085198163986, -0.0409921295940876, -0.019199859350919724, 0.011329186148941517, -0.005311037413775921, 0.02307332120835781, 0.010384665802121162, 0.00906419288367033, 0.02660721354186535, 0.0323510505259037, -0.04015982896089554, -0.024639880284667015, -0.0019016999285668135, 0.03020150400698185, -0.008368290960788727, -0.06756654381752014, 0.004917467944324017, 0.0090218810364604, -0.01881217025220394, 0.05233960971236229, -0.07031893730163574, -0.006640050560235977, -0.018877379596233368, 0.0028576699551194906, -0.01787818782031536, -0.053166989237070084, 0.005820862017571926, 0.01720190979540348, -0.011625234968960285, 0.02200593426823616, 0.04843219742178917, 0.016548065468668938, 0.006345560774207115, 0.010514287278056145, 0.017474690452218056, -0.04036552831530571, 0.012766926549375057, 0.01251294370740652, 0.08845818787813187, -0.0021697613410651684, -0.04532894864678383, -0.004734923597425222, -0.013381725177168846, 0.031138459220528603, -0.006576809566468, -0.0770128145813942, -0.026185249909758568, 0.0338636189699173, 0.018482115119695663, -0.015930289402604103, -0.028418023139238358, -0.04109871760010719, -0.023552976548671722, 0.011537584476172924, 0.02685319073498249, -0.019386550411581993, -0.025328870862722397, -0.02805580198764801, 0.007476715371012688, -0.050505250692367554, -0.05867483466863632, -0.05399201437830925, 0.046467721462249756, 0.03568514063954353, -0.032901961356401443, 0.02072720043361187, 0.014632383361458778, -0.0933665782213211, 0.0028758076950907707, -0.012649808079004288, -0.010873504914343357, -0.006188896484673023, 0.025472491979599, 0.050367321819067, -0.0814426988363266, -0.02744310162961483, -0.00455429358407855, -0.006685155443847179, 0.024538084864616394, -0.02896783873438835, -0.00045700586633756757, -0.012102419510483742, -0.003934889566153288, -0.014756407588720322, 0.0468691848218441, 0.014576409943401814, -0.011308331973850727, -0.0005164609174244106, 0.064094677567482, 0.02873286046087742, 0.04291065037250519, 0.023305725306272507, 0.0438489131629467, 0.004416704643517733, 0.03320372849702835, -0.0662359818816185, 0.01606924459338188, -0.05725409835577011, -0.007557817734777927, 0.0435207225382328, -0.059454672038555145, -0.029635541141033173, 0.02260185219347477, -0.02880154363811016, -0.035384420305490494, -0.030354250222444534, -0.011460183188319206, -0.007779051084071398, -0.009172366000711918, -0.021683543920516968, 0.0163600891828537, 0.0355006568133831, 0.041292350739240646, -0.03298566862940788, -0.05751784145832062, 0.06431381404399872, -0.0006800490082241595, 0.020427433773875237, -0.01768203265964985, -0.044817548245191574, -0.00011851159069919959, 0.02544264681637287, 0.02330484613776207, -0.02802424505352974, 0.0061730882152915, 0.03482509031891823, -0.023579925298690796, 0.007729344069957733, 0.048197414726018906, 0.0010409828973934054, -0.005617924500256777, -0.0326119065284729, 0.011827744543552399, -0.002994097303599119, 0.02791515737771988, -0.011699015274643898, 0.031140442937612534, 0.024999422952532768, 0.008021502755582333, -0.008054548874497414, 0.0258476659655571, -0.00262011238373816, -0.01005413569509983, 0.015550157986581326, 0.029608119279146194, -0.06478084623813629, 0.017252258956432343, -0.029026271775364876, 0.017356891185045242, 0.005570778623223305, 0.033960048109292984, 0.008477403782308102, -0.020780859515070915, -0.05950856953859329, 0.07442276924848557, -0.008988858200609684, 0.008717917837202549, -0.0072805010713636875, -0.0033029017504304647, 0.04416161775588989, -0.055394046008586884, 0.010546778328716755, 0.0056878323666751385, 0.0058911521919071674, -0.00021760650270152837, -0.005244100466370583, -0.055906884372234344, 0.011499078013002872, 0.001108151045627892, -0.0104524539783597, -0.0016234632348641753, 0.01223671156913042, -0.03104153461754322, 0.00848914310336113, -0.000040228584111901, -0.022982148453593254, 0.023235823959112167, 0.02624003402888775, 0.09087206423282623, 0.0007687238976359367, 0.001802767044864595, -0.0003393935039639473, -0.03975400701165199, 0.02959979884326458, -0.0161848533898592, 0.022060595452785492, -0.009362075477838516, -0.02709375135600567, -0.02064780704677105, -0.05853258818387985, -0.03082025982439518, 0.03475688770413399, 0.012257339432835579, 0.0038146632723510265, 0.011145333759486675, -0.014122465625405312, -0.010871579870581627, 0.004572332836687565, 0.022712690755724907, -0.07064642757177353, 0.02977888658642769, 0.010979085229337215, -0.020153135061264038, 0.047041479498147964, -0.023457137867808342, -0.04639623314142227, -0.032499875873327255, -0.02260631136596203, 0.013280176557600498, -0.022976331412792206, -0.059454116970300674, 0.004474007990211248, -0.021800560876727104, -0.010942316614091396, 0.018826084211468697, -0.04201490432024002, -0.00046638952335342765, -0.008503135293722153, -0.00026528985472396016, 0.057416871190071106, -0.03664514049887657, -0.019161760807037354, 0.04383176937699318, -0.020779266953468323, 0.059554025530815125, -0.030583545565605164, 0.06420139968395233, 0.012743954546749592, -0.04474111273884773, 0.009481050074100494, -0.071713387966156, 0.04414408653974533, -0.015023987740278244, -0.002614345634356141, -0.008333585225045681, 0.00011220339365536347, -0.029302138835191727, -0.005608643405139446, 0.011870762333273888, 0.0328340008854866, 0.01832112856209278, 0.0340372733771801, 0.005615190602838993, 0.012464954517781734, 0.01728498749434948, 0.05104605853557587, -0.031425174325704575, 0.00009890288492897525, 0.052874188870191574, -0.03846532478928566, -0.0384991392493248, -0.06491251289844513, -0.04515812546014786, 0.0053386748768389225, -0.010621841996908188, 0.030630173161625862, -0.019252698868513107, 0.015963518992066383, 0.019345717504620552, 0.024250183254480362, 0.02148132584989071, -0.024445049464702606, 0.0358898751437664, -0.03013526275753975, -0.0062567139975726604, -0.09249329566955566, 0.06715736538171768, 0.06557901948690414, -0.05312420055270195, 0.014836940914392471, -0.003053580643609166, -0.03379857540130615, 0.025279255583882332, -0.00950646959245205, -0.05123324319720268, 0.011641845107078552, -0.046168193221092224, -0.026930777356028557, 0.05962172895669937, -0.05690263584256172, -0.0165242962539196, -0.02026396617293358, -0.04457538574934006, -0.022753365337848663, 0.016915546730160713, 0.041596706956624985, -0.002689854707568884, 0.01832919754087925, -0.01737862452864647, 0.013293001800775528, 0.012518675997853279, 0.023268762975931168, 0.04531171917915344, 0.014346657320857048, -0.021320221945643425, 0.0343586727976799, 0.041500937193632126, 0.004475490190088749, -0.008871868252754211, -0.027524104341864586, -0.032045576721429825, -0.0665249451994896, 0.0761876180768013, -0.001394809689372778, -0.02030995301902294, -0.030227359384298325, 0.08576954156160355, 0.032145675271749496, -0.04070194065570831, -0.005689392797648907, 0.02144097350537777, -0.08187858760356903, -0.036526165902614594, 0.0005345904501155019, -0.0019052834250032902, -0.020325221121311188, 0.07429755479097366, 0.03694063052535057, 0.06445547938346863, 0.067774698138237, -0.00643480708822608, -0.02614014409482479, -0.008208820596337318, 0.05471242219209671, 0.048702362924814224, 0.04394357278943062, -0.003108903067186475, 0.05908382683992386, -0.060457728803157806, -0.042008351534605026, 0.036367177963256836, 0.014447241090238094, -0.01899888552725315, -0.051035914570093155, 0.016612349078059196, 0.05583181977272034, -0.03866393491625786, 0.06791331619024277, -0.04978586360812187, 0.0029639576096087694, 0.048377372324466705, 0.02258913591504097, 0.017055239528417587, 0.05253847315907478, 0.042225975543260574, 0.018369076773524284, -0.036516524851322174, -0.028878502547740936, 0.02253347635269165, -0.011875002644956112, -0.006869306787848473, 0.021221794188022614, -0.02587355673313141, 0.004269294906407595, -0.018322141841053963, 0.030407093465328217, 0.11437175422906876, -0.0006613781442865729, -0.01813487522304058, 0.044570304453372955, -0.0009866352193057537, 0.056410737335681915, 0.06187766417860985, -0.005784626584500074, -0.023349126800894737, -0.007126637268811464, -0.010539033450186253, -0.0034800120629370213, 0.0013295309618115425, -0.03841917961835861, 0.020360887050628662, 0.006629426032304764, -0.02476090006530285, -0.00014223858306650072, -0.000570974312722683, -0.037924714386463165, -0.059461940079927444, -0.0357937254011631, -0.06131939962506294, -0.03817477449774742, -0.07574647665023804, -0.0022313143126666546, -0.003019763622432947, -0.03638015687465668, 0.026872530579566956, -0.03432374820113182, 0.02605544775724411, -0.015174598433077335, -0.06521368026733398, 0.01801222562789917, 0.045662593096494675, 0.02720080316066742, 0.02196747623383999, 0.022193092852830887, 0.02133714221417904, -0.01817595586180687, -0.028006142005324364, 0.020053578540682793, 0.0366746261715889, 0.022692248225212097, 0.001226159860379994, -0.014674291014671326, -0.0928167775273323, 0.00809620413929224, 0.047994401305913925, -0.01552419550716877, -0.07112817466259003, 0.02014375664293766, -0.04070700705051422, 0.029545843601226807, 0.07389786094427109, -0.01305629126727581, 0.0200957003980875, -0.027590660378336906, 0.022703640162944794, 0.004373547155410051, -0.0020380232017487288, 0.02446415275335312, -0.014352724887430668, 0.055330656468868256, 0.02318488247692585, -0.03929669409990311, -0.04610063508152962, 0.021228540688753128, 0.00031771903741173446, -0.016569731757044792, -0.012048205360770226, 0.003107154741883278, -0.03203240782022476, -0.0765109658241272, -0.011950545944273472, 0.03797141835093498, 0.0005359312053769827, -0.025152817368507385, 0.00016343689640052617, -0.004030429758131504, -0.02550567500293255, -0.01638736017048359, -0.018343936651945114, 0.00392738776281476, -0.04595653712749481, -0.011675789020955563, -0.05926778167486191, -0.001091243582777679, -0.07520727813243866, -0.01354187447577715, -0.031424861401319504, -0.045246344059705734, -0.00305883283726871, 0.023275157436728477, 0.06396256387233734, -0.014859970659017563, -0.021410787478089333, -0.03837414085865021 ]
362
A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts
https://openreview.net/forum?id=TrKRpaOk8y
[ "Suyu Ge", "Xihui Lin", "Yunan Zhang", "Jiawei Han", "Hao Peng" ]
Poster
Training and serving long-context large language models (LLMs) incurs substantial overhead. To address this, two critical steps are often required: a pretrained LLM typically undergoes a separate stage for context length extension by training on long-context data, followed by architectural modifications to reduce the overhead of KV cache during serving. This paper argues that integrating length extension with a GPU-friendly KV cache reduction architecture not only reduces training overhead during length extension, but also achieves better long-context performance. This leads to our proposed LongGen, which finetunes a pretrained LLM into an efficient architecture during length extension. LongGen builds on three key insights: (1) Sparse attention patterns, such as window attention (attending to recent tokens), attention sink (initial ones), and blockwise sparse attention (strided token blocks) are well-suited for building efficient long-context models, primarily due to their GPU-friendly memory access patterns, enabling efficiency gains not just theoretically but in practice as well. (2) It is essential for the model to have direct access to all tokens. A hybrid architecture with 1/3 full attention layers and 2/3 efficient ones achieves a balanced trade-off between efficiency and long-context performance. (3) Lightweight training on 5B long-context data is sufficient to extend the hybrid model's context length from 4K to 128K. We evaluate LongGen on both Llama-2 7B and Llama-2 70B, demonstrating its effectiveness across different scales. During training with 128K-long contexts, LongGen achieves 1.55x training speedup and reduces wall-clock time by 36%, compared to a full-attention baseline. During inference, LongGen reduces KV cache memory by 62%, achieving 1.67x prefilling speedup and 1.41x decoding speedup. Compared to baselines that apply KV-cache reduction techniques to full-attention long-context LLMs, LongGen achieves substantially stronger performance not only on the Needle-in-a-Haystack retrieval task, but also on more challenging long-context reasoning tasks, including BABILong and RULER.
Long-Context LLM, Efficient LLM, Context Extension, KV Cache Reduction
This paper argues that integrating length extension with a GPU-friendly KV cache reduction architecture not only reduces training and inference overhead, but also achieve better long-context performance.
13,286
2410.01485
[ -0.019826902076601982, -0.022277461364865303, -0.010185115039348602, 0.015133699402213097, 0.014833073131740093, 0.0164947547018528, 0.023277437314391136, 0.03402523323893547, -0.028450002893805504, -0.0055938721634447575, -0.034971997141838074, 0.02188463881611824, -0.04619692265987396, 0.011521462351083755, 0.007267087697982788, 0.05233699455857277, 0.054804958403110504, -0.03101666085422039, 0.013433144427835941, 0.02351505681872368, 0.018265947699546814, -0.016013970598578453, 0.04164733365178108, 0.023173503577709198, 0.025366341695189476, 0.0175635889172554, 0.010038641281425953, 0.017245925962924957, -0.04118672385811806, -0.002854711841791868, 0.038872357457876205, -0.023639222607016563, 0.00824611447751522, -0.009233707562088966, 0.031738899648189545, -0.02093382366001606, -0.06301704049110413, -0.013263696804642677, 0.014067241922020912, 0.020036447793245316, -0.02138451114296913, 0.004231587518006563, -0.020821018144488335, -0.0013807348441332579, -0.06520888209342957, 0.010749845765531063, -0.10407498478889465, 0.01871965266764164, -0.021141717210412025, -0.04690828546881676, -0.11240702867507935, 0.03916036710143089, 0.002795520005747676, -0.014449069276452065, 0.03576919063925743, 0.04272695630788803, 0.044751375913619995, -0.08159303665161133, 0.002582909306511283, -0.024952543899416924, -0.04933661222457886, -0.004178303759545088, 0.026377933099865913, 0.012225357815623283, 0.004362890496850014, -0.024733372032642365, 0.0025968013796955347, 0.026777127757668495, -0.0793362632393837, -0.05735495686531067, -0.016550516709685326, 0.01717674359679222, -0.020129453390836716, 0.01558314822614193, -0.009893853217363358, -0.024580033496022224, 0.002449910854920745, 0.026140177622437477, 0.07586771249771118, -0.002465091412886977, -0.005107996053993702, 0.0059163859114050865, 0.012522721663117409, 0.048336442559957504, -0.0008936939993873239, 0.035062890499830246, -0.04042966291308403, -0.024149619042873383, -0.06091771647334099, 0.02839101105928421, -0.022960759699344635, -0.04887168109416962, -0.0009656158508732915, 0.030316784977912903, -0.004829274956136942, -0.003530203364789486, 0.01465670671314001, 0.016703935340046883, -0.0031820586882531643, 0.01110951229929924, -0.01693134382367134, -0.04620818793773651, 0.029653353616595268, 0.0029295559506863356, -0.11017335951328278, -0.024507896974682808, -0.04841718077659607, -0.0066119227558374405, 0.0036860851105302572, -0.00814905110746622, -0.021897831931710243, -0.00942117627710104, 0.017152676358819008, 0.007154129911214113, -0.07446656376123428, 0.009612902998924255, 0.009272035211324692, -0.0007614098722115159, 0.010863656178116798, 0.0058165425434708595, 0.05110148340463638, 0.062086742371320724, 0.02717830054461956, 0.0727432519197464, 0.008841991424560547, 0.03217902034521103, -0.001398749533109367, 0.027185987681150436, -0.029130300506949425, -0.049078505486249924, 0.016618812456727028, 0.01616203971207142, 0.025389499962329865, 0.0042309993878006935, -0.004008385352790356, 0.0014895827043801546, 0.008439510129392147, 0.010958717204630375, 0.08614598959684372, -0.04147399589419365, 0.018607070669531822, -0.04518483206629753, 0.062443528324365616, -0.05468035116791725, 0.09828440845012665, -0.007409106940031052, -0.018490901216864586, -0.032852835953235626, -0.02194204553961754, -0.003170283744111657, 0.027469834312796593, -0.004000434651970863, -0.004151840228587389, -0.06262541562318802, 0.044586047530174255, 0.07676707953214645, -0.01694989763200283, -0.017400484532117844, 0.013098032213747501, 0.028195353224873543, 0.001869653002358973, -0.0036057860124856234, -0.07457171380519867, 0.015536345541477203, -0.016544800251722336, -0.040425293147563934, 0.032476890832185745, 0.027945294976234436, -0.06243547797203064, 0.03460800647735596, -0.01834314875304699, -0.022015580907464027, 0.07443640381097794, -0.04906652495265007, -0.029324810951948166, -0.0007560218218713999, 0.06357236951589584, -0.0127740278840065, 0.028564898297190666, 0.04590648412704468, -0.07318882644176483, 0.025323517620563507, 0.03144073486328125, -0.024395592510700226, 0.013575495220720768, -0.012149972841143608, 0.08503375947475433, -0.01778685674071312, -0.016388222575187683, -0.006605823058634996, -0.07296302914619446, 0.010460281744599342, -0.011543132364749908, -0.0023920058738440275, 0.0785350427031517, -0.013732018880546093, 0.009103820659220219, 0.04074983298778534, 0.034995485097169876, 0.047839075326919556, 0.06398928910493851, -0.016550933942198753, 0.05691439285874367, -0.011487419717013836, -0.032916709780693054, 0.0015394592192023993, 0.01547180861234665, -0.03127389773726463, -0.033928561955690384, 0.0204550139605999, -0.01994803547859192, -0.005219995975494385, 0.0013332258677110076, 0.02280307747423649, -0.019060391932725906, -0.006661418825387955, 0.009293860755860806, -0.01351245492696762, 0.016323965042829514, -0.05807409808039665, 0.0475781112909317, 0.008046077564358711, -0.020327668637037277, 0.026089370250701904, -0.03868785873055458, 0.10162652283906937, 0.04773005098104477, -0.040034934878349304, 0.005909059662371874, -0.0008280239417217672, 0.03224649280309677, -0.0022632870823144913, 0.003483782522380352, -0.03511660546064377, -0.0025745949242264032, -0.03493519127368927, -0.011007354594767094, -0.04370613768696785, 0.06895304471254349, -0.0474434494972229, -0.022178739309310913, 0.06626613438129425, -0.016446644440293312, 0.05436183139681816, -0.023959524929523468, -0.016439810395240784, 0.03757110610604286, -0.027912745252251625, -0.03196733072400093, -0.03998187184333801, -0.016654348000884056, 0.006563479080796242, -0.003868689062073827, -0.007631432730704546, 0.019568834453821182, -0.04945722222328186, -0.04338223487138748, -0.01487816497683525, 0.03923848643898964, 0.048505526036024094, 0.0073414635844528675, 0.03421361371874809, 0.041716016829013824, -0.0474177710711956, -0.003026881953701377, -0.09803183376789093, -0.013680616393685341, -0.045251209288835526, 0.024328865110874176, -0.02973855286836624, 0.022861268371343613, -0.0018172546988353133, 0.004639823921024799, -0.05868438631296158, -0.02864210680127144, -0.012315601110458374, 0.05985962972044945, -0.006995636038482189, -0.04509282857179642, -0.027315564453601837, -0.003517214674502611, 0.05524270981550217, -0.013953213579952717, -0.023141784593462944, -0.01705930382013321, -0.041155166923999786, -0.026305587962269783, -0.03955678641796112, 0.013757769949734211, 0.01476969663053751, -0.002853048499673605, 0.007072800770401955, -0.05872943624854088, 0.019078681245446205, 0.039009980857372284, 0.06758078187704086, 0.054382383823394775, -0.0069182803854346275, -0.03267368674278259, 0.018162311986088753, -0.011563516221940517, 0.024443980306386948, 0.005379816517233849, 0.044542767107486725, -0.0088582718744874, -0.01728670485317707, -0.006694789510220289, -0.012472915463149548, -0.24947188794612885, 0.0014069013996049762, -0.009564063511788845, -0.02772083878517151, 0.0524640828371048, -0.02560477703809738, 0.03216256573796272, -0.04136594384908676, -0.01578245684504509, -0.00499319052323699, 0.008214520290493965, 0.0414050929248333, -0.005067138001322746, 0.025131477043032646, 0.036144498735666275, 0.045444685965776443, -0.019224386662244797, -0.008851013146340847, 0.017504459246993065, 0.0336729995906353, 0.03268874064087868, -0.08394581824541092, -0.01628398336470127, 0.04730357229709625, 0.008722029626369476, 0.036195334047079086, -0.08801144361495972, 0.011975515633821487, -0.029815785586833954, 0.01354283932596445, 0.0007280143909156322, -0.017079830169677734, 0.016376275569200516, 0.030034463852643967, -0.02605237253010273, 0.026816215366125107, 0.050819288939237595, -0.005616634152829647, 0.03254608437418938, -0.018066706135869026, 0.029092444106936455, -0.03405441343784332, 0.0008193171815946698, 0.014835868962109089, 0.06226157769560814, 0.004883934743702412, -0.08536610007286072, -0.05202816426753998, 0.002035638550296426, 0.020459841936826706, -0.01342265959829092, -0.01821047253906727, -0.03843735530972481, 0.037935055792331696, 0.00630598422139883, -0.03513632342219353, 0.0011597595876082778, -0.025110458955168724, -0.0025808128993958235, -0.014478886500000954, 0.013165493495762348, -0.05084395036101341, -0.022473560646176338, -0.029606392607092857, -0.012043574824929237, -0.03753596171736717, -0.06198061630129814, -0.059234242886304855, 0.011049884371459484, 0.045422572642564774, -0.013181683607399464, 0.02402423322200775, -0.0008037416846491396, -0.08443627506494522, -0.009049727581441402, -0.02432497777044773, -0.023858657106757164, -0.0024210242554545403, 0.013025054708123207, 0.06919112056493759, -0.03387504443526268, -0.05448921024799347, 0.018560582771897316, 0.03150319680571556, 0.04669618234038353, -0.037479009479284286, -0.022351078689098358, -0.03530252352356911, 0.01567317545413971, -0.00700418883934617, 0.05317330360412598, 0.016680393368005753, -0.014171588234603405, 0.0011443160474300385, 0.040732093155384064, -0.009303403086960316, 0.04139193519949913, 0.10224756598472595, 0.022954609245061874, 0.002173664513975382, 0.02483903244137764, -0.06701615452766418, -0.02788717672228813, -0.0461139939725399, -0.013537589460611343, 0.01799784041941166, -0.03988691046833992, -0.011861060746014118, 0.03446909040212631, 0.02471616305410862, -0.040670037269592285, -0.02580816112458706, 0.019770517945289612, -0.0055776252411305904, -0.039545800536870956, 0.0053713819943368435, 0.01754079759120941, 0.04757625237107277, 0.01758592575788498, -0.023954128846526146, -0.018106205388903618, 0.03361769765615463, -0.02359202317893505, -0.004094135016202927, 0.03503386303782463, -0.02086116559803486, -0.009810912422835827, -0.026834683492779732, -0.03760744258761406, -0.00903293862938881, -0.006123701110482216, 0.026982465758919716, 0.009544553235173225, 0.024277465417981148, 0.03894830867648125, -0.03353865444660187, 0.02323732152581215, 0.00324808107689023, 0.02622653730213642, 0.002238087123259902, 0.009007168002426624, -0.013002282939851284, 0.02848334237933159, 0.060872822999954224, 0.006074950098991394, 0.036778390407562256, 0.04005567729473114, -0.018134964630007744, 0.00007223658758448437, 0.008661339059472084, 0.04977210611104965, -0.04906030371785164, -0.010934596881270409, -0.017404036596417427, 0.015740571543574333, -0.02355514094233513, 0.005054398439824581, 0.01159922406077385, 0.003243919461965561, -0.08135173469781876, 0.05689745768904686, -0.0043702879920601845, -0.01128135435283184, -0.004009682685136795, 0.007778587285429239, 0.01770527847111225, -0.0019637811928987503, 0.027833350002765656, 0.03816788271069527, 0.015255472622811794, 0.019530195742845535, -0.016243377700448036, -0.04436034709215164, -0.002164249774068594, -0.01490105502307415, 0.025972863659262657, 0.012659863568842411, -0.00860058143734932, -0.0017227248754352331, 0.047954145818948746, 0.024062136188149452, -0.0017024046974256635, 0.026469513773918152, 0.022583220154047012, 0.099022276699543, 0.01997648924589157, -0.01838347315788269, 0.031760506331920624, -0.04265323281288147, 0.000069133318902459, -0.006276007741689682, -0.006274155806750059, -0.002361835213378072, -0.02221965231001377, -0.034774038940668106, -0.051908399909734726, 0.01015707291662693, 0.03219016268849373, -0.021158164367079735, -0.0025065289810299873, 0.0011495487997308373, -0.00690104067325592, -0.056595392525196075, -0.021758954972028732, 0.017524776980280876, -0.06375910341739655, 0.006577130872756243, 0.0006644432432949543, -0.019863704219460487, 0.021725332364439964, -0.03715723007917404, -0.03655627742409706, -0.02999863587319851, -0.004023839719593525, 0.01826626807451248, -0.025204181671142578, -0.009927283972501755, -0.0018032942898571491, 0.010261730290949345, -0.027457308024168015, 0.016519639641046524, -0.019968798384070396, -0.00902728084474802, -0.024029769003391266, -0.011977134272456169, 0.04366188496351242, -0.024119220674037933, -0.0006152976420708001, 0.006730696186423302, -0.05756652355194092, 0.033190250396728516, -0.049932945519685745, 0.0481569766998291, 0.0722607970237732, -0.03057199902832508, 0.01633940450847149, -0.03790730983018875, 0.02627613954246044, 0.02889709733426571, 0.002408017171546817, 0.019976666197180748, -0.029764370992779732, -0.04488862305879593, 0.04120488092303276, -0.00007816454308340326, 0.060034915804862976, 0.007146209012717009, 0.019294336438179016, -0.0460079051554203, 0.008011330850422382, 0.0037451854441314936, 0.0045600952580571175, -0.013049909844994545, -0.009561458602547646, 0.06341581791639328, -0.03761739656329155, -0.0389372855424881, -0.08651691675186157, -0.053476154804229736, 0.01810864917933941, -0.005366629455238581, 0.018205802887678146, -0.020159337669610977, 0.03814231976866722, 0.04514092579483986, 0.04833656921982765, 0.02169710025191307, -0.02607869729399681, 0.046221647411584854, -0.03153069317340851, -0.000733766530174762, -0.06439171731472015, -0.04170754551887512, 0.04920215532183647, -0.03881964832544327, -0.013028421439230442, -0.002087143249809742, -0.052142564207315445, 0.061384376138448715, -0.010235944762825966, -0.042334217578172684, 0.030221713706851006, -0.024063577875494957, 0.0060393973253667355, 0.039066068828105927, -0.015710625797510147, -0.018888983875513077, -0.03359493240714073, -0.04545854404568672, -0.02629898115992546, -0.019670836627483368, 0.034564998000860214, -0.02294471114873886, 0.024272408336400986, -0.0256635844707489, -0.004417248070240021, 0.0212858896702528, 0.05891764909029007, 0.029319340363144875, 0.03444916009902954, -0.023330148309469223, 0.07873030751943588, 0.013018426485359669, -0.016213655471801758, -0.008822123520076275, -0.01842898689210415, -0.009568368084728718, -0.048568956553936005, 0.05649377033114433, 0.01329441275447607, -0.008501166477799416, -0.07047940790653229, 0.07658781111240387, 0.03893193602561951, -0.026924854144454002, -0.03564000502228737, 0.02352970838546753, -0.026491878554224968, -0.016491876915097237, -0.01810198463499546, -0.0044944086112082005, 0.00330162956379354, 0.08681079000234604, 0.017742132768034935, 0.04234021529555321, 0.11749196797609329, 0.022055108100175858, -0.021836981177330017, 0.010303344577550888, 0.05696646124124527, 0.04963333159685135, 0.03719088062644005, 0.007148712873458862, 0.07554341107606888, -0.027970297262072563, -0.03348879516124725, 0.036024242639541626, 0.008696227334439754, -0.013769598677754402, -0.036350637674331665, 0.05862538516521454, 0.07758588343858719, 0.0027726709377020597, 0.0825178399682045, -0.06022602692246437, -0.0140891307964921, 0.037369854748249054, 0.008665774017572403, 0.026640888303518295, 0.054767657071352005, 0.020380165427923203, 0.020443720743060112, -0.03573692962527275, -0.026841431856155396, -0.00006878580461489037, -0.015711739659309387, 0.004188891500234604, 0.006942273583263159, -0.014485450461506844, -0.013327346183359623, 0.011527030728757381, 0.049567192792892456, 0.09539230167865753, -0.02039465866982937, -0.0599697045981884, -0.01046045683324337, 0.00225087464787066, 0.012819966301321983, 0.05669894814491272, -0.02696293592453003, -0.02207828499376774, -0.0017453638138249516, -0.028816362842917442, -0.012292603962123394, 0.015053877606987953, 0.008415261283516884, 0.02231341227889061, -0.008071400225162506, -0.028880050405859947, 0.009641343727707863, 0.0197403896600008, -0.10154803097248077, -0.03970104455947876, -0.04445737972855568, -0.04220445081591606, -0.04066629707813263, -0.027867566794157028, 0.007868999615311623, 0.00711252074688673, -0.025604112073779106, -0.006646071095019579, -0.03922443464398384, 0.0073754373006522655, -0.0031212172470986843, -0.05762849748134613, 0.0006985150394029915, 0.020869387313723564, 0.00008982742292573676, -0.015241919085383415, 0.05166370049118996, 0.01971837691962719, -0.027412082999944687, 0.018260646611452103, 0.050594624131917953, 0.024344854056835175, 0.013465930707752705, -0.009212288074195385, -0.022572701796889305, -0.10295496881008148, 0.01592615619301796, 0.02464377135038376, -0.02107655443251133, -0.07328950613737106, 0.013512304052710533, -0.02287837117910385, 0.03936120867729187, 0.06337353587150574, 0.008776925504207611, 0.032910242676734924, -0.02716139517724514, -0.01532740518450737, 0.02836759202182293, 0.0341210663318634, 0.03384104743599892, 0.006173693574965, 0.05270334333181381, 0.04086221382021904, 0.017391985282301903, -0.02146533504128456, 0.03017057664692402, -0.013072163797914982, 0.020872950553894043, -0.02689746394753456, 0.00637534586712718, -0.05545075982809067, -0.09926275908946991, -0.016685862094163895, 0.02810380794107914, -0.006737465504556894, -0.0450325645506382, 0.007294226437807083, -0.03190356492996216, -0.03855523839592934, -0.017217788845300674, -0.017749959602952003, 0.010216661728918552, -0.020316239446401596, -0.0409671850502491, -0.0404108501970768, 0.0041913483291864395, -0.032755278050899506, -0.022891074419021606, -0.014226134866476059, -0.027219872921705246, 0.016150711104273796, -0.002814128529280424, 0.04618937522172928, 0.002322101267054677, 0.006727338768541813, -0.034514397382736206 ]
363
What Secrets Do Your Manifolds Hold? Understanding the Local Geometry of Generative Models
https://openreview.net/forum?id=etif9j1CnG
[ "Ahmed Imtiaz Humayun", "Ibtihel Amara", "Cristina Nader Vasconcelos", "Deepak Ramachandran", "Candice Schumann", "Junfeng He", "Katherine A Heller", "Golnoosh Farnadi", "Negar Rostamzadeh", "Mohammad Havaei" ]
Poster
Deep Generative Models are frequently used to learn continuous representations of complex data distributions using a finite number of samples. For any generative model, including pre-trained foundation models with GAN, Transformer or Diffusion architectures, generation performance can vary significantly based on which part of the learned data manifold is sampled. In this paper we study the post-training local geometry of the learned manifold and its relationship to generation outcomes for models ranging from toy settings to the latent decoder of the near state-of-the-art Stable Diffusion 1.4 Text-to-Image model. Building on the theory of continuous piecewise-linear (CPWL) generators, we characterize the local geometry in terms of three geometric descriptors - scaling ($\psi$), rank ($\nu$), and complexity ($\delta$). We provide quantitative and qualitative evidence showing that for a given latent, the local descriptors are indicative of generation aesthetics, artifacts, diversity, and memorization. Finally we demonstrate that training a reward model using the local geometry allows us to control the log-likelihood of a generated sample under the learned distribution, and improve the qualitative aspects of an image.
Geometry, Diffusion models, VAE, Generative Models, Guidance, Memorization, Out-of-Distribution Detection
We show that the local geometry of generative models is indicative of generation aesthetics, artifacts, diversity, and memorization.
13,284
2408.08307
[ -0.002909871283918619, -0.021656179800629616, 0.0018811512272804976, 0.06962262839078903, 0.01777089759707451, 0.03962907940149307, 0.006871164310723543, -0.006575451232492924, -0.005555568262934685, -0.05685121566057205, 0.00476309796795249, -0.02409175969660282, -0.061433106660842896, 0.03205592930316925, -0.018766852095723152, 0.038671236485242844, 0.03186573460698128, 0.004460734315216541, -0.006704431027173996, 0.04676993563771248, -0.019479496404528618, -0.023707060143351555, 0.016784299165010452, 0.0006423957529477775, 0.04089478403329849, -0.00903960969299078, 0.023595863953232765, 0.004283740650862455, 0.008606459945440292, 0.002804212039336562, -0.015172885730862617, -0.013931282795965672, 0.004581792745739222, -0.05345945060253143, 0.004695414565503597, -0.038960836827754974, -0.06153316795825958, 0.00751277431845665, 0.010860038921236992, 0.014640039764344692, -0.04712191969156265, -0.0036556145641952753, 0.012502491474151611, 0.021889090538024902, -0.04543200135231018, -0.02183503657579422, -0.12606145441532135, 0.022391363978385925, 0.024007242172956467, -0.02121977135539055, -0.06931766122579575, 0.040435224771499634, 0.003875748021528125, 0.017954139038920403, 0.0016354540130123496, 0.016004128381609917, 0.07286884635686874, -0.05612136423587799, -0.008382684551179409, -0.06493432074785233, -0.04693472385406494, 0.038357190787792206, 0.005499935243278742, 0.00405163737013936, -0.015035411342978477, 0.013875791803002357, 0.0008421424427069724, 0.04278608039021492, -0.04748585820198059, -0.038923587650060654, -0.008949922397732735, 0.010815509594976902, 0.010263623669743538, 0.015693146735429764, -0.005968193057924509, -0.02192625217139721, 0.003350836457684636, 0.009706654585897923, 0.06571256369352341, -0.010966147296130657, 0.008301634341478348, 0.02456839010119438, 0.017725951969623566, 0.044929973781108856, -0.01583385467529297, 0.01714993081986904, -0.052938707172870636, 0.014834927394986153, -0.051645465195178986, 0.05558837577700615, -0.03973190486431122, -0.05900494009256363, 0.010185032151639462, 0.03103245235979557, 0.027705051004886627, -0.01640993542969227, 0.040931060910224915, 0.023997046053409576, 0.011211896315217018, -0.00885012000799179, -0.012787927873432636, -0.04153195768594742, -0.019509119912981987, 0.002020238433033228, -0.09246639907360077, -0.023748507723212242, -0.008900980465114117, -0.03492865338921547, -0.0023144895676523447, -0.011752299964427948, -0.0437704436480999, -0.009614295326173306, 0.010859949514269829, -0.014108111150562763, -0.08007419109344482, 0.02764943242073059, 0.03515706956386566, 0.0027697915211319923, -0.00035970352473668754, 0.025187915191054344, 0.04549888148903847, 0.039436131715774536, -0.004690248053520918, 0.08018750697374344, -0.021755551919341087, 0.010169317945837975, 0.028477415442466736, 0.019074779003858566, -0.04635809361934662, -0.021632056683301926, 0.025210866704583168, 0.037956081330776215, 0.014931285753846169, 0.0143834063783288, 0.03284955024719238, -0.07578138262033463, 0.007651733234524727, 0.005802655592560768, 0.026710014790296555, -0.025201188400387764, 0.009123739786446095, -0.009486515074968338, 0.03609996661543846, -0.022630149498581886, 0.07283661514520645, -0.03806554153561592, -0.007852059789001942, -0.03972828760743141, -0.024989591911435127, -0.008332012221217155, 0.04664096236228943, 0.010211491957306862, 0.0097557557746768, -0.06772366911172867, 0.0036600835155695677, 0.044319525361061096, 0.0019371481612324715, 0.06365518271923065, 0.005910513456910849, -0.009400599636137486, 0.018300505355000496, -0.006562459748238325, -0.015711642801761627, 0.017996003851294518, -0.0012554003624245524, -0.06017865985631943, 0.046029288321733475, 0.0416746586561203, -0.02218875288963318, -0.013772150501608849, -0.04401881992816925, -0.03789937496185303, 0.031223833560943604, 0.0011366201797500253, -0.035931747406721115, -0.021206505596637726, 0.038181863725185394, 0.01803513802587986, 0.03615615516901016, 0.028639651834964752, -0.08837971836328506, 0.025837592780590057, 0.033062007278203964, -0.04622020944952965, 0.034586403518915176, -0.05567736178636551, 0.09629513323307037, 0.0071321879513561726, 0.010313985869288445, 0.009430979378521442, -0.05061065033078194, -0.011179007589817047, 0.023185444995760918, 0.0032602595165371895, 0.05086086317896843, 0.018303995952010155, -0.014511254616081715, 0.04482688754796982, 0.05896149203181267, 0.04665546491742134, 0.04566440358757973, -0.0468357652425766, 0.056762292981147766, -0.03686349093914032, 0.000256337778409943, -0.024835145100951195, 0.05344616249203682, -0.0699499249458313, -0.048120543360710144, 0.013512984849512577, -0.008470455184578896, -0.025525689125061035, -0.001335642416961491, -0.01899164915084839, 0.006811518222093582, 0.013757348991930485, -0.00043914318666793406, -0.00022384400654118508, 0.024926548823714256, -0.025054115802049637, 0.04568836838006973, 0.043908461928367615, -0.029518509283661842, 0.0005759168998338282, -0.01071595586836338, 0.10838771611452103, 0.07229231297969818, -0.03644689545035362, -0.002929529407992959, 0.010155139490962029, -0.00028255468350835145, 0.024803468957543373, -0.003969346173107624, -0.023463493213057518, 0.0006891675875522196, -0.005858400836586952, 0.018111810088157654, -0.01514644455164671, 0.09741830825805664, -0.06725193560123444, -0.012876934371888638, 0.04355378821492195, -0.0012673866003751755, 0.04502672702074051, 0.012098440900444984, 0.04538567736744881, 0.040089450776576996, -0.014650978147983551, -0.03016849420964718, -0.02861679531633854, -0.026996413245797157, -0.003349610837176442, -0.025145452469587326, -0.008256755769252777, 0.027590466663241386, -0.04383005201816559, -0.017780613154172897, -0.011275052092969418, 0.04845280572772026, 0.043233953416347504, 0.020043794065713882, -0.0012455713003873825, 0.0007524937391281128, -0.014698187820613384, -0.032805755734443665, -0.11224061250686646, -0.023087339475750923, -0.03340446203947067, 0.05975736677646637, 0.020934702828526497, 0.0593695305287838, 0.0057472591288387775, 0.026666564866900444, -0.0428311713039875, -0.027683362364768982, 0.008322863839566708, 0.023046737536787987, -0.0020269646774977446, -0.0437949076294899, -0.016994347795844078, 0.020939139649271965, 0.05584963411092758, -0.028070606291294098, -0.0008021689718589187, -0.03688923269510269, -0.028625542297959328, 0.004097532015293837, -0.019166283309459686, -0.004217894282191992, -0.0037272456102073193, 0.005162753164768219, 0.016456155106425285, -0.013434145599603653, 0.014179373160004616, 0.029625214636325836, 0.0710580050945282, 0.030070524662733078, -0.02785688452422619, -0.02867054007947445, 0.011466036550700665, 0.001997321145609021, 0.048766180872917175, -0.01825224794447422, 0.007264317013323307, -0.025883104652166367, 0.012559499591588974, 0.014580974355340004, -0.0072721512988209724, -0.2903641164302826, 0.001272750087082386, 0.02918340638279915, 0.0033805235289037228, 0.021464787423610687, 0.017760809510946274, 0.0330418162047863, -0.025627490133047104, -0.023055141791701317, 0.013804261572659016, -0.03924855589866638, 0.019682131707668304, -0.005892359185963869, 0.054017823189496994, 0.040907081216573715, 0.0198539849370718, -0.006440678145736456, -0.0023368040565401316, 0.016487764194607735, 0.03700553625822067, -0.05482058227062225, -0.07866395264863968, -0.05777955800294876, 0.048543695360422134, -0.04117944464087486, 0.02193571999669075, -0.05829577147960663, -0.06234617158770561, -0.021914798766374588, 0.01091883983463049, -0.0018925460753962398, -0.01646798849105835, 0.009151507169008255, 0.07183407247066498, -0.017134739086031914, 0.004083536099642515, 0.011855022981762886, -0.021834226325154305, 0.03121005930006504, 0.01392108853906393, -0.01081084180623293, 0.008832649327814579, -0.029155729338526726, 0.04785661771893501, 0.06059033423662186, -0.027863414958119392, -0.024337811395525932, -0.02146804891526699, -0.02684919163584709, 0.011923879384994507, 0.034101881086826324, -0.04002460092306137, -0.017966223880648613, 0.024994321167469025, -0.004339045844972134, -0.00946285855025053, -0.011744935065507889, -0.0061400942504405975, -0.030607795342803, 0.010612467303872108, 0.03441431000828743, -0.055105261504650116, -0.016228310763835907, -0.039983123540878296, -0.022934982553124428, -0.03903539478778839, -0.08546093851327896, -0.052467815577983856, 0.02944178506731987, 0.04126190394163132, -0.02299617789685726, 0.05352560430765152, -0.03348490223288536, -0.0873815044760704, 0.03926078602671623, 0.018869267776608467, -0.005103470291942358, -0.02255241945385933, 0.021211784332990646, 0.02051975578069687, -0.02755463682115078, -0.035712722688913345, 0.03668569400906563, 0.026583177968859673, 0.007315945811569691, 0.005084083881229162, 0.0314570777118206, -0.04269789159297943, -0.036851685494184494, -0.03579346090555191, 0.060775838792324066, 0.0023579781409353018, 0.039146892726421356, -0.01644064672291279, 0.05458885431289673, 0.02637474238872528, 0.045092951506376266, 0.03944002836942673, 0.02782290428876877, 0.006407684646546841, 0.056983981281518936, -0.06703709810972214, -0.027873685583472252, -0.004540088586509228, -0.04435035213828087, 0.025623871013522148, -0.04679473116993904, 0.014138401485979557, 0.04779655113816261, -0.010591688565909863, -0.03708777204155922, -0.02923457697033882, 0.010002846829593182, 0.027330003678798676, 0.002765152370557189, -0.03446383401751518, 0.013064373284578323, 0.01765996590256691, 0.02762560546398163, -0.03762248530983925, -0.029695000499486923, 0.043938905000686646, -0.03356529772281647, 0.015537941828370094, 0.0018906586337834597, 0.020331338047981262, -0.01088282186537981, -0.007498966064304113, 0.0071709295734763145, 0.009032444097101688, 0.03654852509498596, 0.03519700467586517, 0.006159619893878698, 0.006789386738091707, 0.06291297823190689, 0.01118331030011177, -0.005918673239648342, -0.014772838912904263, 0.022003458812832832, -0.002984269754961133, 0.05149196460843086, 0.014069433324038982, 0.049074672162532806, 0.015215104445815086, 0.025825994089245796, 0.0001293038367293775, 0.0033745199907571077, 0.00021883500448893756, -0.01130952499806881, -0.042445406317710876, 0.05216636508703232, -0.05881095305085182, -0.006610009353607893, -0.045880768448114395, 0.0022447488736361265, -0.016036735847592354, 0.0029435232281684875, -0.00998825952410698, 0.009544658474624157, -0.039660900831222534, 0.08022641390562057, 0.027489639818668365, -0.0752352625131607, 0.0017190242651849985, -0.0011427848367020488, 0.05464569479227066, -0.006885715760290623, -0.020583394914865494, 0.025400036945939064, -0.01774066500365734, 0.03686080127954483, -0.019673943519592285, -0.031741973012685776, -0.041082270443439484, -0.017269372940063477, 0.013148808851838112, 0.009815054014325142, -0.009593622758984566, -0.0394759401679039, 0.03327453136444092, 0.019001973792910576, 0.009198625572025776, 0.023471105843782425, -0.0007142028189264238, 0.05819066986441612, 0.009450643323361874, -0.024191122502088547, -0.007894033566117287, -0.04591938108205795, 0.057014912366867065, -0.004773226100951433, 0.012939510866999626, -0.06563519686460495, -0.02047080174088478, -0.011791751720011234, -0.04075181856751442, 0.019945601001381874, 0.02430075593292713, -0.008184987120330334, 0.0056278761476278305, -0.0070758843794465065, 0.04254404455423355, -0.029002025723457336, 0.018026184290647507, 0.03430933132767677, -0.06520289927721024, 0.0243093091994524, 0.0417761467397213, -0.022044608369469643, -0.008502913638949394, -0.008724100887775421, -0.011814526282250881, -0.09127865731716156, -0.06251227110624313, 0.00044609204633161426, -0.02141876332461834, -0.034486498683691025, -0.028706973418593407, 0.003791241440922022, -0.005896884016692638, 0.012474310584366322, -0.0002926259476225823, -0.013850362040102482, -0.01720796339213848, 0.006210319232195616, 0.03811183571815491, -0.039284203201532364, -0.030071096494793892, -0.023462902754545212, -0.034555062651634216, 0.015434127300977707, -0.02397342585027218, 0.02010781690478325, 0.04995183274149895, -0.030197013169527054, -0.003748892107978463, -0.031258657574653625, 0.029866455122828484, 0.007064732722938061, 0.0002100497658830136, 0.012399211525917053, 0.004902018699795008, -0.02766609750688076, 0.009713574312627316, 0.029416093602776527, 0.03563351556658745, 0.008653363212943077, 0.014341006055474281, 0.0013487053802236915, 0.01211800891906023, 0.020275019109249115, -0.0037229740992188454, -0.029703157022595406, -0.04249202460050583, 0.045417021960020065, -0.030664769932627678, -0.0028496584855020046, -0.08067215979099274, 0.013377755880355835, 0.025332238525152206, -0.027426516637206078, 0.01855573244392872, -0.05477553606033325, 0.005056404042989016, 0.01518048532307148, 0.01729465462267399, -0.0033654586877673864, -0.0011446132557466626, 0.033450283110141754, -0.056297559291124344, -0.017616096884012222, -0.04112878441810608, -0.013236943632364273, 0.04420711472630501, -0.027597561478614807, -0.010768881998956203, -0.0003728361916728318, -0.016089152544736862, 0.05357648432254791, -0.0602729357779026, -0.08068829029798508, 0.026336446404457092, -0.02217145450413227, -0.019365618005394936, 0.018880512565374374, -0.040123261511325836, -0.015127778053283691, -0.009276775643229485, -0.06555226445198059, -0.0021090868394821882, 0.00525342533364892, -0.0008311081328429282, -0.010664175264537334, -0.00013152946485206485, 0.020970860496163368, 0.03305229917168617, 0.05451914295554161, 0.06996592879295349, 0.041066475212574005, 0.004356628283858299, -0.028842782601714134, 0.06567690521478653, 0.03982289880514145, -0.006567150354385376, 0.0419858954846859, 0.015200452879071236, -0.0039571737870574, -0.05956423282623291, 0.035582609474658966, -0.0032380863558501005, -0.033071983605623245, -0.06544402241706848, 0.029518665745854378, 0.01916932500898838, -0.08266401290893555, -0.04052446410059929, 0.03685571625828743, -0.037533946335315704, -0.002799812937155366, -0.01784302480518818, -0.0055097900331020355, 0.031546927988529205, 0.07420056313276291, 0.03053673915565014, 0.045931845903396606, 0.049585286527872086, 0.005310396663844585, -0.017943069338798523, 0.004390062298625708, 0.07365169376134872, 0.06476104259490967, 0.03212421014904976, -0.01514210645109415, 0.06080362945795059, -0.0027698276098817587, -0.05445151776075363, 0.00867544487118721, 0.011606509797275066, -0.005456296727061272, -0.08407095074653625, 0.012007087469100952, 0.07062595337629318, 0.024601036682724953, 0.05933107063174248, -0.04436175152659416, -0.010024580173194408, 0.018740005791187286, 0.026530956849455833, -0.008612548001110554, 0.009352760389447212, 0.05570890009403229, -0.014008836820721626, -0.020585421472787857, -0.002996201626956463, -0.019476143643260002, -0.028586192056536674, 0.026840511709451675, 0.03672534599900246, -0.021057449281215668, 0.011400480754673481, 0.004126421641558409, 0.033048368990421295, 0.10527872294187546, -0.04847290366888046, -0.05670332536101341, 0.012297430075705051, 0.009525508619844913, 0.021925944834947586, 0.04830756410956383, 0.002118828007951379, -0.009881512261927128, 0.010508731007575989, -0.037823304533958435, 0.028379937633872032, 0.018988920375704765, -0.009675736539065838, -0.00033569306833669543, -0.022490816190838814, -0.00846952386200428, 0.0036467029713094234, 0.03201896324753761, -0.007519070990383625, -0.047199547290802, -0.011652751825749874, -0.03952735289931297, -0.04322299733757973, -0.046613581478595734, 0.037179749459028244, -0.011440734378993511, -0.039074137806892395, 0.001994060119614005, 0.009073518216609955, 0.015368427149951458, 0.03705752640962601, -0.07420717179775238, -0.015592933632433414, 0.05334730073809624, 0.019813114777207375, 0.006442733574658632, 0.021442530676722527, 0.019617000594735146, -0.03670884296298027, -0.01290288195014, 0.03074130229651928, 0.00024636805756017566, 0.005571522284299135, -0.007114722393453121, 0.007554973475635052, -0.11498839408159256, 0.023670991882681847, 0.018551593646407127, -0.033161863684654236, -0.09500811249017715, 0.03336131200194359, -0.03539565950632095, 0.02407321147620678, 0.05573156103491783, 0.02522430382668972, 0.022381415590643883, -0.055608268827199936, 0.005216849036514759, 0.007351376116275787, -0.01586620695888996, 0.06035236641764641, -0.013062738813459873, 0.06041339412331581, 0.039403051137924194, 0.006165030412375927, -0.017076367512345314, 0.02856019139289856, -0.030580278486013412, 0.0350613035261631, -0.034235697239637375, -0.026105396449565887, -0.011161554604768753, -0.10636875033378601, -0.03646482527256012, 0.024072622880339622, -0.0035151001065969467, -0.036229800432920456, -0.02084672823548317, -0.05070020630955696, -0.019383730366826057, -0.004631991498172283, -0.02524373307824135, -0.0022602251265197992, -0.024431101977825165, -0.002050406066700816, -0.06487727910280228, 0.01944490522146225, 0.002187819452956319, 0.03003026358783245, -0.030446857213974, -0.038087133318185806, -0.030125554651021957, -0.03606140986084938, 0.038212817162275314, -0.010843608528375626, 0.02478749491274357, 0.012776914983987808 ]
364
L-WISE: Boosting Human Visual Category Learning Through Model-Based Image Selection and Enhancement
https://openreview.net/forum?id=AoIKgHu9Si
[ "Morgan Bruce Talbot", "Gabriel Kreiman", "James J. DiCarlo", "Guy Gaziv" ]
Poster
The currently leading artificial neural network models of the visual ventral stream - which are derived from a combination of performance optimization and robustification methods - have demonstrated a remarkable degree of behavioral alignment with humans on visual categorization tasks. We show that image perturbations generated by these models can enhance the ability of humans to accurately report the ground truth class. Furthermore, we find that the same models can also be used out-of-the-box to predict the proportion of correct human responses to individual images, providing a simple, human-aligned estimator of the relative difficulty of each image. Motivated by these observations, we propose to augment visual learning in humans in a way that improves human categorization accuracy at test time. Our learning augmentation approach consists of (i) selecting images based on their model-estimated recognition difficulty, and (ii) applying image perturbations that aid recognition for novice learners. We find that combining these model-based strategies leads to categorization accuracy gains of 33-72% relative to control subjects without these interventions, on unmodified, randomly selected held-out test images. Beyond the accuracy gain, the training time for the augmented learning group was also shortened by 20-23%, despite both groups completing the same number of training trials. We demonstrate the efficacy of our approach in a fine-grained categorization task with natural images, as well as two tasks in clinically relevant image domains - histology and dermoscopy - where visual learning is notoriously challenging. To the best of our knowledge, our work is the first application of artificial neural networks to increase visual learning performance in humans by enhancing category-specific image features.
Human-aligned models, robust neural networks, visual perception, perceptual learning, medical machine learning
Robust artificial neural networks can be used to design effective training strategies for enhancing visual category learning in human subjects, resulting in significant improvements in human accuracy and efficiency across multiple image domains.
13,281
null
[ 0.0019360003061592579, -0.005360879935324192, 0.015367163345217705, -0.004435042385011911, 0.060504063963890076, 0.007182312663644552, 0.022480087354779243, 0.014404305256903172, -0.057037122547626495, -0.050114572048187256, -0.03031974658370018, 0.03089985065162182, -0.05712766572833061, -0.0026387337129563093, 0.004002408590167761, 0.050120797008275986, 0.03929901495575905, 0.013421932235360146, 0.0028610636945813894, 0.032590243965387344, -0.011142666451632977, -0.03539760410785675, 0.004335802048444748, 0.012780159711837769, -0.007863057777285576, -0.014289231970906258, 0.025355195626616478, -0.011286417953670025, -0.007316190283745527, 0.008791619911789894, 0.03277073800563812, -0.024246124550700188, 0.0054121301509439945, -0.03217118978500366, 0.015111724846065044, 0.013540455140173435, -0.015867015346884727, -0.001355653046630323, 0.017428847029805183, 0.01041423436254263, -0.04651164636015892, -0.004191706422716379, -0.016302550211548805, 0.0032260490115731955, -0.05893538147211075, 0.007160671520978212, -0.12009318172931671, 0.019473668187856674, 0.027388766407966614, -0.03358691930770874, -0.06765268743038177, 0.018486663699150085, 0.001287996768951416, 0.003916436340659857, 0.006143456790596247, 0.04079943150281906, 0.019897812977433205, -0.06408074498176575, -0.011432944796979427, -0.0637597069144249, -0.0006409983616322279, 0.019756382331252098, 0.017045680433511734, 0.001660126494243741, 0.0095420703291893, -0.010627835988998413, -0.028008582070469856, 0.024389736354351044, -0.0402999185025692, -0.01826820708811283, -0.0003700800007209182, -0.015045884996652603, -0.011266589164733887, 0.003293226705864072, -0.004461432341486216, -0.03422408178448677, -0.011771228164434433, -0.0018769194139167666, 0.07545686513185501, -0.04124191403388977, 0.0388592891395092, 0.031999677419662476, 0.024408498778939247, 0.043957021087408066, 0.002995793242007494, 0.022048862650990486, -0.001019878895021975, -0.04683653637766838, -0.07419808208942413, 0.030465498566627502, -0.030678508803248405, -0.053738679736852646, 0.016897078603506088, 0.05835801735520363, 0.02477552741765976, 0.012679065577685833, 0.0105055570602417, -0.011078675277531147, 0.010239149443805218, 0.0025761104188859463, -0.018748896196484566, -0.037530068308115005, 0.010382667183876038, -0.0032737969886511564, -0.1022680252790451, -0.015878330916166306, 0.020260704681277275, -0.014899645000696182, -0.02607940509915352, 0.011126305907964706, -0.04931892827153206, -0.03311826288700104, 0.00878030713647604, -0.012326966971158981, -0.09540151804685593, 0.019639290869235992, -0.0012420447310432792, 0.03494720160961151, -0.01859637163579464, -0.0017544549191370606, 0.03134675323963165, 0.03764486312866211, -0.009211177937686443, 0.049311477690935135, 0.004601957276463509, -0.019115375354886055, 0.025151096284389496, 0.028908606618642807, -0.0013683147262781858, -0.033760152757167816, 0.009862732142210007, 0.019624633714556694, 0.00738116167485714, 0.010394939221441746, 0.007180091459304094, 0.008516167290508747, 0.00535462936386466, -0.03161783143877983, 0.010446952655911446, 0.01142842136323452, 0.0060966224409639835, -0.04365362972021103, 0.06410609185695648, -0.04703027382493019, 0.06848550587892532, -0.03494562208652496, 0.009214123710989952, 0.00884316861629486, -0.02811432257294655, 0.0009170965058729053, 0.00411736685782671, -0.03175568953156471, 0.0004647458263207227, -0.08394341915845871, 0.033804651349782944, 0.0973481759428978, 0.02270864136517048, -0.003199144499376416, 0.007632318884134293, -0.007054135203361511, 0.0009314764174632728, -0.026949843391776085, -0.006441654171794653, 0.016784539446234703, -0.002099190838634968, -0.05006936937570572, 0.01940334215760231, 0.016202598810195923, -0.044739771634340286, 0.016892019659280777, -0.03854299709200859, -0.024079473689198494, 0.024074427783489227, -0.011694400571286678, -0.022443238645792007, 0.01168678980320692, 0.06834753602743149, 0.009681898169219494, 0.030977807939052582, 0.02688247337937355, -0.10612868517637253, 0.03081410564482212, -0.0024572699330747128, -0.026582876220345497, 0.033651530742645264, -0.03402810916304588, 0.07880351692438126, -0.040568262338638306, 0.01064365915954113, 0.014233991503715515, -0.0606224350631237, 0.004187770653516054, 0.022716036066412926, -0.006734255701303482, 0.05947699397802353, 0.02242944948375225, -0.02518065646290779, 0.051507700234651566, 0.0371910035610199, 0.050609465688467026, 0.0613379068672657, -0.04006592184305191, 0.03779684752225876, -0.01865497976541519, -0.037059735506772995, 0.0055396161042153835, 0.01733759418129921, -0.013773705810308456, -0.016345109790563583, 0.012109187431633472, -0.013340194709599018, 0.0019408187363296747, -0.011851046234369278, 0.05080733820796013, 0.03141826018691063, 0.0073188175447285175, 0.0028715322259813547, 0.03737513720989227, -0.010355083271861076, -0.06515369564294815, 0.02397395670413971, 0.035614799708127975, -0.01850486360490322, -0.012079085223376751, -0.012229732237756252, 0.09728071093559265, 0.03891175612807274, -0.044952359050512314, -0.013180773705244064, 0.00011070838809246197, 0.031069615855813026, 0.03277801349759102, 0.009455498307943344, 0.0037592623848468065, -0.013843671418726444, -0.013756448403000832, 0.02530207298696041, -0.02032124064862728, 0.08284231275320053, -0.04630565643310547, 0.00834691058844328, 0.051818251609802246, -0.02036123536527157, 0.03418658673763275, 0.0017426004633307457, 0.015463004820048809, 0.03310496732592583, 0.004032499622553587, -0.028258416801691055, -0.01473965123295784, -0.012372884899377823, 0.00981263816356659, -0.015706567093729973, -0.0033695867750793695, 0.04119643196463585, -0.07444804906845093, -0.03377613425254822, -0.03181605413556099, 0.06412076950073242, 0.038076091557741165, 0.02343141660094261, 0.04645178094506264, -0.02202226221561432, 0.0013481213245540857, -0.02670316770672798, -0.0813608169555664, -0.031265921890735626, -0.008516216650605202, 0.04508458077907562, -0.023876113817095757, 0.04102640599012375, 0.010277415625751019, 0.03833990916609764, -0.0578160434961319, -0.006888810079544783, 0.03271768242120743, 0.05126825347542763, 0.013673191890120506, -0.04597369581460953, -0.01690581813454628, 0.0005073504289612174, 0.061629392206668854, 0.006441664882004261, -0.025835253298282623, -0.005795711185783148, -0.060389477759599686, -0.04395207017660141, -0.03213886171579361, -0.02756870537996292, 0.02611924521625042, -0.0006313924095593393, 0.030988864600658417, 0.0069795651361346245, -0.01338928285986185, 0.002795735839754343, 0.057883840054273605, 0.055872637778520584, -0.006067000795155764, -0.036819860339164734, 0.02482498064637184, 0.0005339158233255148, 0.043063219636678696, 0.01091853342950344, 0.0024972253013402224, -0.011926330626010895, -0.007390402257442474, 0.03343941271305084, 0.010575762018561363, -0.2763819396495819, -0.020362690091133118, 0.021481093019247055, 0.008991748094558716, 0.009843528270721436, -0.0740603655576706, 0.04031258448958397, -0.01962340623140335, -0.005112490151077509, 0.010631877928972244, 0.006453966721892357, 0.029099805280566216, -0.007543165702372789, 0.06965892761945724, 0.061401840299367905, 0.032779254019260406, 0.01957770250737667, 0.00022793616517446935, -0.005584576167166233, 0.06571295857429504, -0.029147973284125328, -0.06784949451684952, -0.03325791656970978, 0.06602492183446884, -0.03652849420905113, 0.05920920521020889, -0.05972539633512497, -0.013721211813390255, -0.0345853716135025, -0.025239484384655952, 0.01989554986357689, -0.025009635835886, -0.010000653564929962, 0.0511043481528759, 0.018449882045388222, 0.0072256941348314285, 0.038540951907634735, -0.04910345375537872, 0.02613336592912674, -0.0019548870623111725, -0.0051131462678313255, -0.008904690854251385, -0.015292879194021225, 0.028967753052711487, 0.06959129869937897, 0.0016301096184179187, -0.054108984768390656, -0.04664255678653717, 0.014261709526181221, 0.025567281991243362, -0.025420695543289185, -0.001276723574846983, -0.029913878068327904, 0.04121752828359604, -0.009226962924003601, -0.0062438445165753365, 0.017825372517108917, -0.0032751404214650393, -0.02888486534357071, -0.010323106311261654, -0.015713613480329514, -0.024565597996115685, -0.02757147140800953, -0.03791487589478493, 0.003841893980279565, -0.015534977428615093, -0.054829031229019165, -0.05328579992055893, 0.024093929678201675, 0.042564138770103455, -0.007648696191608906, 0.004983237013220787, -0.038921501487493515, -0.09754183143377304, 0.023653266951441765, 0.005373977590352297, -0.028570132330060005, -0.018279943615198135, -0.018805919215083122, 0.03568341210484505, 0.00875779241323471, -0.06926747411489487, 0.032762560993433, -0.0022284581791609526, 0.0009793658973649144, -0.010865768417716026, 0.02820960059762001, -0.007968692108988762, -0.0019618780352175236, -0.02369474619626999, 0.05206134542822838, 0.015685761347413063, 0.014601355418562889, -0.014930304139852524, 0.011858409270644188, 0.03905969485640526, 0.03672544285655022, 0.05563291162252426, 0.07162147015333176, -0.0239885151386261, 0.0028676276560872793, -0.07895076274871826, -0.02005183883011341, -0.02191275916993618, -0.04473920539021492, 0.01307743601500988, -0.053424593061208725, -0.013666730374097824, 0.07344628125429153, -0.042235828936100006, -0.01637248694896698, -0.018244238570332527, 0.024183964356780052, -0.008155549876391888, -0.009487705305218697, -0.017670266330242157, 0.015572847798466682, -0.006495242472738028, 0.03578983247280121, 0.0007460146443918347, -0.012368442490696907, 0.0428716205060482, -0.024402471259236336, 0.03407645970582962, -0.0013285096501931548, -0.033155061304569244, 0.0016992344753816724, -0.025351405143737793, -0.05363771691918373, 0.016457682475447655, 0.06513240933418274, 0.03970557451248169, 0.0007763842586427927, 0.023793900385499, 0.060342852026224136, -0.002240248490124941, 0.006654378958046436, 0.0021126403007656336, 0.03622125834226608, -0.04021523520350456, 0.025543661788105965, 0.0029208799824118614, 0.041696883738040924, 0.03454044833779335, 0.006978711113333702, 0.025359608232975006, 0.0004958697827532887, -0.013539178296923637, -0.033593978732824326, 0.01043333113193512, 0.0025100100319832563, -0.058239080011844635, -0.05660929158329964, -0.01955578662455082, 0.014152162708342075, 0.008190869353711605, 0.016491858288645744, -0.008633543737232685, 0.009841484017670155, -0.07243312895298004, 0.023232629522681236, 0.02964099682867527, -0.023195547983050346, 0.010597212240099907, 0.015641871839761734, 0.04283728450536728, 0.011434201151132584, -0.059142082929611206, 0.023973727598786354, 0.026744099333882332, 0.017804056406021118, -0.018230704590678215, -0.012734469026327133, -0.024892909452319145, -0.04190683737397194, -0.009673599153757095, 0.025038380175828934, -0.022171474993228912, -0.037466295063495636, 0.08484168350696564, 0.0065033757127821445, -0.036122050136327744, 0.0010061071952804923, -0.005097260233014822, 0.08390150219202042, 0.039579831063747406, -0.031800445169210434, 0.0013315357500687242, -0.04242784157395363, 0.0017811838770285249, -0.010314999148249626, -0.0025771702639758587, -0.028531212359666824, -0.021546605974435806, -0.036260977387428284, -0.029738903045654297, 0.006554043851792812, -0.006000831723213196, 0.010895236395299435, -0.011889531277120113, -0.012271587736904621, 0.03149016574025154, -0.0005025690188631415, -0.021772190928459167, 0.010822281241416931, -0.09475141018629074, 0.015291105955839157, 0.022753281518816948, -0.04056992381811142, 0.012785824947059155, -0.018027065321803093, -0.025065813213586807, -0.0328836627304554, -0.06233565881848335, -0.01646110601723194, -0.0048459903337061405, -0.023788217455148697, -0.04344082251191139, -0.01586231403052807, -0.03110198862850666, 0.0070633538998663425, -0.010470325127243996, -0.019055498763918877, 0.003014909103512764, 0.013180340640246868, 0.033046480268239975, -0.016103439033031464, -0.03776838630437851, 0.01665402762591839, -0.02178093045949936, 0.024412337690591812, -0.046468354761600494, 0.00060217862483114, 0.06666088104248047, -0.016279570758342743, 0.025180477648973465, 0.009390163235366344, 0.03869597986340523, 0.06627556681632996, -0.02482886239886284, 0.03264395520091057, 0.018071316182613373, -0.04447629675269127, 0.02546553872525692, 0.023982973769307137, 0.03349091485142708, 0.024952085688710213, 0.01588958501815796, 0.017074773088097572, 0.024091873317956924, -0.007958845235407352, -0.018661485984921455, -0.00014221109449863434, -0.015255140140652657, 0.04163877293467522, -0.008682923391461372, -0.034736085683107376, -0.034985288977622986, -0.0322503000497818, 0.03393765166401863, 0.004103017970919609, 0.05201784148812294, -0.044087015092372894, 0.06791941076517105, 0.02209685556590557, 0.026610974222421646, -0.031126277521252632, 0.016466332599520683, 0.02688777819275856, -0.04634306579828262, 0.0013317555421963334, -0.03256221488118172, -0.0802508294582367, 0.05501627177000046, -0.03384067863225937, -0.01765764132142067, -0.001690240460447967, -0.05307482182979584, 0.06274740397930145, -0.053788866847753525, -0.03917548432946205, 0.006394143681973219, -0.03298427164554596, 0.015565692447125912, 0.014633400365710258, -0.05093511566519737, 0.022112851962447166, -0.031194256618618965, -0.04050039127469063, -0.027731819078326225, -0.004250157158821821, 0.040692053735256195, -0.027498295530676842, 0.008055427111685276, -0.0033055897802114487, 0.03242616727948189, 0.031697049736976624, 0.08085037022829056, -0.00420473562553525, -0.029218275099992752, -0.03264181315898895, 0.07030072808265686, 0.014766073785722256, 0.020325275138020515, -0.00009153622522717342, 0.0352633111178875, -0.0015222457004711032, -0.04191845655441284, 0.03642558678984642, 0.020004555583000183, -0.00541958911344409, -0.08508402109146118, 0.05255328491330147, 0.0345013402402401, -0.03232442960143089, -0.007135903462767601, 0.047317132353782654, -0.03918161615729332, 0.01926175132393837, 0.0074278367683291435, -0.002541112946346402, 0.0013184050330892205, 0.0551316924393177, 0.019364068284630775, 0.03649289906024933, 0.06885524839162827, 0.004436998162418604, -0.020498650148510933, 0.02601342462003231, 0.05837806686758995, 0.05468713864684105, 0.05215928703546524, 0.0020548824686557055, 0.11185398697853088, -0.02073020301759243, -0.05238339677453041, 0.02161397598683834, 0.022720957174897194, -0.019184807315468788, -0.04105595126748085, 0.00022504624212160707, 0.06338068842887878, 0.019013138487935066, 0.043325480073690414, -0.055279441177845, 0.023415707051753998, 0.047963947057724, 0.011311889626085758, -0.011864054016768932, -0.015971770510077477, 0.034655485302209854, -0.016014747321605682, -0.030678361654281616, -0.007719287183135748, -0.011991921812295914, -0.00397565308958292, 0.018910827115178108, -0.007500903680920601, -0.04443872720003128, -0.018000662326812744, -0.01622149534523487, 0.05635838583111763, 0.11163772642612457, -0.005130431614816189, -0.031291477382183075, -0.01717475987970829, 0.02500995621085167, 0.010716570541262627, 0.05091552808880806, -0.0037264495622366667, -0.004989125300198793, -0.009923750534653664, -0.02504582144320011, 0.03299662098288536, 0.034437261521816254, 0.02546248771250248, 0.030533846467733383, -0.06999294459819794, -0.040384210646152496, 0.04781794548034668, 0.01357532013207674, -0.07031018286943436, -0.0348944365978241, -0.020894987508654594, -0.04465965926647186, -0.0468749925494194, -0.04216935858130455, 0.043902426958084106, -0.007964998483657837, -0.02722681127488613, -0.02349042519927025, -0.00023151194909587502, 0.012257170863449574, 0.03585115820169449, -0.07910200953483582, -0.003918074537068605, 0.03345206379890442, 0.018208667635917664, -0.023626120761036873, 0.0293880607932806, 0.010387546382844448, -0.022200917825102806, -0.022210443392395973, 0.04698433727025986, -0.02830354869365692, 0.0036443951539695263, -0.03736308589577675, -0.011811461299657822, -0.11047347635030746, -0.005845055449754, 0.024735132232308388, -0.04255640506744385, -0.07602895796298981, 0.055967167019844055, 0.012143464758992195, 0.07409803569316864, 0.05880891904234886, 0.011819791980087757, 0.015971047803759575, -0.05237547308206558, -0.029866322875022888, -0.03911265358328819, 0.034663669764995575, 0.042989011853933334, -0.01822655089199543, 0.0680711567401886, 0.023671954870224, -0.006929777096956968, -0.022884326055645943, 0.030729439109563828, -0.019809653982520103, 0.0031011945102363825, -0.04248268902301788, -0.025650233030319214, -0.040342364460229874, -0.10239335149526596, -0.01927298866212368, 0.014515732415020466, 0.018253590911626816, -0.034378111362457275, -0.034003425389528275, -0.03202081471681595, -0.003991597797721624, -0.018280278891324997, 0.01245999988168478, -0.034926269203424454, -0.043022532016038895, -0.04325662925839424, -0.05004935339093208, 0.01214885339140892, -0.022728824988007545, 0.036594778299331665, -0.008363648317754269, -0.04809943214058876, -0.004474006127566099, 0.006390690803527832, 0.04662209749221802, 0.008230072446167469, 0.03187592327594757, -0.0399128682911396 ]
365
Predictive Uncertainty Quantification for Bird's Eye View Segmentation: A Benchmark and Novel Loss Function
https://openreview.net/forum?id=k3y0oyK7sn
[ "Linlin Yu", "Bowen Yang", "Tianhao Wang", "Kangshuo Li", "Feng Chen" ]
Poster
The fusion of raw sensor data to create a Bird's Eye View (BEV) representation is critical for autonomous vehicle planning and control. Despite the growing interest in using deep learning models for BEV semantic segmentation, anticipating segmentation errors and enhancing the explainability of these models remain underexplored. This paper introduces a comprehensive benchmark for predictive uncertainty quantification in BEV segmentation, evaluating multiple uncertainty quantification methods across three popular datasets with three representative network architectures. Our study focuses on the effectiveness of quantified uncertainty in detecting misclassified and out-of-distribution (OOD) pixels while also improving model calibration. Through empirical analysis, we uncover challenges in existing uncertainty quantification methods and demonstrate the potential of evidential deep learning techniques, which capture both aleatoric and epistemic uncertainty. To address these challenges, we propose a novel loss function, Uncertainty-Focal-Cross-Entropy (UFCE), specifically designed for highly imbalanced data, along with a simple uncertainty-scaling regularization term that improves both uncertainty quantification and model calibration for BEV segmentation.
Uncertainty Quantification, Evidential Deep Learning, Bird's Eye View (BEV) Segmentation
null
13,279
2405.20986
[ 0.009136172011494637, 0.005590626038610935, -0.023418284952640533, 0.015585298649966717, 0.03144880756735802, 0.050197068601846695, 0.03100401535630226, 0.007406400982290506, -0.02549896016716957, -0.05436992645263672, -0.05277600139379501, 0.01009567454457283, -0.06297595053911209, -0.022765351459383965, -0.012794341892004013, 0.05227154865860939, 0.03137905150651932, -0.000028346601538942195, 0.03118034079670906, 0.04173332080245018, 0.010984426364302635, -0.055481329560279846, -0.005363766103982925, 0.010213211178779602, 0.04829763248562813, -0.04977010563015938, 0.020997341722249985, 0.016837837174534798, -0.017945008352398872, 0.009775148704648018, 0.029802970588207245, -0.018761401996016502, -0.010721257887780666, -0.057785701006650925, 0.010815739631652832, 0.028403956443071365, -0.026643211022019386, 0.01644926331937313, -0.015911761671304703, 0.008874006569385529, -0.048523128032684326, -0.0032951480243355036, -0.020844249054789543, -0.016818027943372726, -0.049886006861925125, -0.006657249294221401, -0.07015176862478256, 0.03151635825634003, 0.005476727616041899, -0.011422045528888702, -0.06999921053647995, 0.01768573373556137, -0.024479735642671585, 0.00898245070129633, 0.011725329793989658, 0.03742964193224907, 0.051185399293899536, -0.08792774379253387, -0.02753930166363716, -0.05289279669523239, 0.02068239077925682, 0.007985313422977924, 0.020808247849345207, 0.0018187196692451835, -0.0273998212069273, -0.02565094456076622, -0.011840256862342358, 0.05298119783401489, -0.040720537304878235, -0.008348711766302586, 0.0017330643022432923, -0.011078800074756145, 0.013708465732634068, 0.031106945127248764, -0.012641681358218193, -0.0366876944899559, 0.002574095968157053, 0.04793001711368561, 0.05281917005777359, -0.034635938704013824, 0.08256104588508606, 0.008204986341297626, -0.0007688231999054551, 0.01775497943162918, 0.02723807655274868, 0.02119825966656208, 0.00098619912751019, -0.050934843719005585, -0.07786836475133896, 0.04031383618712425, 0.006064415443688631, -0.054833512753248215, 0.024240538477897644, 0.02537819929420948, -0.004144035279750824, 0.005421906244009733, 0.02974936179816723, 0.004622012842446566, 0.01479276455938816, -0.04648364707827568, 0.015191919170320034, -0.007635296788066626, 0.03077266924083233, -0.009365584701299667, -0.09663789719343185, -0.0350373312830925, -0.04916644096374512, -0.023683005943894386, -0.017614994198083878, 0.01759323664009571, -0.03397149592638016, -0.003513502888381481, 0.004253542050719261, -0.016044313088059425, -0.08344469219446182, 0.009792671538889408, -0.012188290245831013, -0.0062767439521849155, -0.00017102353740483522, -0.007062291260808706, 0.03955896571278572, 0.08698152750730515, 0.008494537323713303, 0.05388691648840904, -0.014273406937718391, 0.027038857340812683, -0.017143798992037773, 0.03405122458934784, -0.04740215092897415, -0.024610936641693115, -0.0157921239733696, 0.026046598330140114, -0.03573702275753021, -0.01881059817969799, 0.009050399996340275, -0.05031484737992287, 0.013746694661676884, 0.004015469923615456, 0.011719122529029846, 0.0067192488349974155, 0.00572016928344965, -0.06158578395843506, 0.06081017479300499, 0.01254731323570013, 0.05618886277079582, -0.02051117643713951, 0.03840484097599983, 0.008121526800096035, -0.07219462841749191, -0.006271976977586746, -0.022956810891628265, -0.035323552787303925, -0.028025111183524132, -0.07815622538328171, 0.000806047348305583, 0.0312397088855505, 0.045182134956121445, 0.014038784429430962, 0.0027000638656318188, 0.0268519539386034, 0.01593206077814102, -0.0017518042586743832, -0.012973797507584095, 0.02159200794994831, -0.01130550168454647, -0.0701005607843399, 0.07716406881809235, 0.024272404611110687, -0.03395950421690941, 0.02264120988547802, -0.022534020245075226, -0.08095229417085648, 0.06289912760257721, 0.009484185837209225, 0.020864233374595642, 0.012012479826807976, 0.06798592209815979, -0.03824002295732498, 0.024546049535274506, 0.05725507810711861, -0.07588402181863785, 0.025673096999526024, 0.0033620947506278753, -0.014535553753376007, 0.010541399009525776, -0.03318026289343834, 0.06408044695854187, -0.028751322999596596, -0.02111315354704857, 0.007811434101313353, -0.06639380753040314, -0.018816104158759117, 0.016227105632424355, -0.0041551748290658, 0.058923110365867615, -0.031076019629836082, 0.007122326176613569, 0.01004508975893259, 0.017469799146056175, 0.049414750188589096, 0.02426309324800968, -0.04904213920235634, 0.053272902965545654, -0.0029339008033275604, -0.020836612209677696, -0.001124728936702013, 0.0568014420568943, 0.006793436128646135, -0.053536154329776764, 0.03960647061467171, -0.006052609533071518, 0.010179738514125347, 0.0006062880274839699, 0.03040616773068905, 0.02911410480737686, -0.002584052737802267, -0.005126246716827154, 0.002951244357973337, 0.004346371162682772, -0.03836071491241455, 0.018282493576407433, 0.04356374591588974, -0.01708458550274372, -0.014243317767977715, -0.01636006310582161, 0.07782276719808578, 0.08256237208843231, -0.03279612213373184, -0.0056866854429244995, -0.01117592304944992, -0.0063739679753780365, 0.039963554590940475, 0.0016912195133045316, -0.04696935787796974, 0.008625916205346584, -0.02702174335718155, 0.03978281468153, -0.03087712451815605, 0.07640843838453293, -0.04553353413939476, -0.009482848457992077, 0.03114047646522522, 0.008202320896089077, 0.039561677724123, 0.007165284361690283, -0.009741878136992455, 0.09311884641647339, -0.011378680355846882, -0.021203240379691124, -0.035726550966501236, -0.023407788947224617, 0.01726425066590309, 0.0009692407329566777, -0.018163491040468216, -0.012449720874428749, -0.04366830736398697, 0.023200733587145805, -0.012754150666296482, 0.07933004200458527, 0.053558915853500366, 0.031144991517066956, 0.021149400621652603, 0.009902458637952805, -0.010508887469768524, -0.01865510083734989, -0.1276947408914566, -0.08870435506105423, -0.01569633185863495, 0.05129701644182205, 0.022035950794816017, 0.048565566539764404, 0.00951702706515789, 0.060780856758356094, -0.004790583625435829, 0.030519718304276466, 0.042125970125198364, 0.01561097614467144, 0.022699886932969093, 0.014075970277190208, 0.007062740158289671, 0.02172875963151455, 0.07393813133239746, 0.0074335201643407345, -0.030229490250349045, 0.02438710257411003, -0.026614610105752945, 0.036292869597673416, -0.018405651673674583, -0.0172656811773777, -0.007773918565362692, 0.0235630851238966, 0.018054531887173653, -0.002463586162775755, 0.030889062210917473, 0.025438811630010605, 0.045157793909311295, 0.04867427051067352, -0.00923202559351921, -0.04088211804628372, 0.03493253141641617, -0.0020136067178100348, 0.035467199981212616, 0.014497492462396622, -0.03345222398638725, -0.006917951628565788, 0.006393087562173605, 0.033433400094509125, 0.005356504116207361, -0.26682212948799133, 0.0027599267195910215, 0.011877498589456081, -0.01913941279053688, 0.024262428283691406, -0.026064619421958923, 0.03946784511208534, -0.02724115364253521, -0.01074516586959362, 0.020883124321699142, 0.036838214844465256, -0.013712923973798752, 0.015736563131213188, 0.06962650269269943, 0.038674600422382355, 0.039230022579431534, 0.02772761695086956, -0.006749819032847881, 0.022740188986063004, 0.023176906630396843, -0.037510063499212265, -0.07128120213747025, -0.027744309976696968, 0.032577063888311386, -0.009063417091965675, 0.025089483708143234, -0.05563695728778839, 0.0050908648408949375, -0.028068946674466133, 0.005174056626856327, 0.033412326127290726, -0.004879920277744532, -0.010131790302693844, 0.022023504599928856, 0.014315915293991566, -0.014093473553657532, 0.027745777741074562, -0.041031062602996826, 0.00013258376566227525, 0.003358901245519519, -0.005644646473228931, 0.023943904787302017, -0.0137970931828022, 0.015633853152394295, 0.07673347741365433, -0.0028985864482820034, -0.01981453411281109, -0.03226977214217186, -0.00901889894157648, 0.009808989241719246, 0.007630945183336735, 0.011226155795156956, -0.009355918504297733, 0.010826585814356804, -0.0011780399363487959, -0.0030100024305284023, 0.01293540745973587, -0.03048723004758358, -0.02443999983370304, 0.000621868995949626, -0.010496175847947598, -0.06921157985925674, -0.04037681967020035, -0.01688750833272934, 0.01613013632595539, -0.06677648425102234, -0.05008107051253319, -0.06089881435036659, 0.04675363749265671, -0.0025392791721969843, -0.002818350913003087, 0.011289652436971664, -0.04661897197365761, -0.09620728343725204, 0.042623743414878845, -0.0018193406285718083, 0.02200966887176037, -0.04542339965701103, -0.01575254462659359, 0.03655826300382614, -0.029467729851603508, -0.036723293364048004, 0.05728575587272644, 0.03548068180680275, 0.029295148327946663, -0.009233460761606693, 0.0029410170391201973, -0.016464276239275932, -0.03025587648153305, -0.04442776367068291, 0.06778141111135483, 0.016668835654854774, 0.005973380524665117, -0.004259074106812477, 0.020764848217368126, 0.04638921469449997, 0.03811993449926376, 0.04342362657189369, 0.051389873027801514, -0.004422290716320276, 0.029894383624196053, -0.06668490171432495, 0.002760982373729348, -0.027378683909773827, -0.05843793973326683, 0.011099735274910927, 0.002067608991637826, 0.006003082729876041, 0.04137197509407997, -0.0011291210539638996, -0.013209882192313671, -0.016843445599079132, 0.006944613065570593, 0.00884645339101553, -0.016090333461761475, -0.022866996005177498, -0.010167825035750866, 0.022419575601816177, 0.023661937564611435, -0.006824907381087542, -0.01676219515502453, 0.022804297506809235, -0.046558212488889694, 0.005013637710362673, -0.03850153088569641, -0.005159047897905111, -0.00373813952319324, -0.015146368183195591, -0.048994068056344986, 0.00244429474696517, 0.034641120582818985, 0.05247625708580017, -0.0068076010793447495, 0.03227805718779564, 0.04863489046692848, -0.020695867016911507, 0.011543627828359604, -0.01582443341612816, 0.041155893355607986, -0.036816008388996124, 0.025361450389027596, 0.004167552106082439, 0.06933743506669998, 0.04091564938426018, 0.017467807978391647, 0.022607257589697838, -0.02200474590063095, -0.026685340330004692, -0.02231118083000183, -0.026032796129584312, 0.004518503323197365, -0.05355767533183098, -0.024658650159835815, -0.030091997236013412, 0.021651655435562134, -0.02107686549425125, 0.01907571405172348, -0.03858489543199539, 0.0007584072300232947, -0.04971278831362724, 0.05404142662882805, 0.07166449725627899, 0.002279682317748666, -0.03169426694512367, -0.00009659294300945476, 0.03357720747590065, 0.024902407079935074, -0.028125949203968048, 0.01800544001162052, 0.00743032805621624, -0.0008354961755685508, -0.07332690805196762, -0.03091239370405674, -0.03586050868034363, -0.02406422793865204, 0.0037998021580278873, -0.0018522964091971517, -0.04880141466856003, -0.05496823415160179, 0.027484960854053497, 0.012225824408233166, 0.011579054407775402, 0.028246385976672173, -0.028136877343058586, 0.049540773034095764, 0.006802866701036692, -0.014095191843807697, -0.014845206402242184, -0.007462747860699892, 0.020282011479139328, -0.01713280938565731, 0.03848432004451752, -0.05997993052005768, 0.009573735296726227, -0.03640452399849892, -0.05156554654240608, 0.004060809966176748, 0.011144508607685566, -0.02221512421965599, -0.048674918711185455, -0.03626466169953346, -0.005488651338964701, -0.02726709097623825, 0.0007675198721699417, 0.014665002934634686, -0.05724533647298813, 0.023287145420908928, 0.07082746922969818, -0.02862297184765339, 0.04282994195818901, -0.04587913677096367, -0.029235651716589928, -0.052559543401002884, -0.03409048169851303, 0.009870097041130066, 0.008957541547715664, -0.02125789225101471, -0.0242838803678751, 0.003010378684848547, 0.0026364782825112343, 0.0018305310513824224, -0.04490625113248825, 0.01471935585141182, -0.038105763494968414, 0.027014944702386856, 0.06622849404811859, -0.03147147223353386, -0.012372717261314392, 0.022536499425768852, -0.018455171957612038, -0.017076198011636734, -0.013196283020079136, 0.021282440051436424, 0.042844921350479126, -0.030507946386933327, 0.016813788563013077, -0.03992244973778725, 0.029056061059236526, -0.0006046429043635726, 0.0050481460057199, -0.015968168154358864, 0.042863067239522934, -0.016334492713212967, 0.007082101423293352, -0.007246250286698341, 0.010297449305653572, 0.0010810979874804616, 0.022292304784059525, 0.003919555339962244, 0.013809003867208958, -0.018147725611925125, 0.0006260082591325045, -0.041059914976358414, 0.020793654024600983, 0.05199125036597252, -0.019426388666033745, -0.03974675014615059, -0.054592251777648926, -0.03632141649723053, 0.005146382376551628, -0.020533885806798935, 0.027818096801638603, -0.02184794843196869, -0.00035900171496905386, -0.0014928292948752642, 0.021209925413131714, -0.037558555603027344, -0.03595846891403198, 0.029841523617506027, -0.06314506381750107, 0.054328348487615585, -0.06548977643251419, -0.02168479561805725, 0.06527434289455414, -0.03772253543138504, 0.005315334536135197, -0.008335797116160393, -0.04496853053569794, 0.021514814347028732, -0.03822264075279236, -0.05347403883934021, 0.003911793231964111, -0.02338409423828125, -0.0199356060475111, 0.00011658739822451025, -0.020751651376485825, 0.02059001475572586, -0.01363018061965704, -0.0274631530046463, -0.002999047515913844, 0.03775477409362793, 0.011191212572157383, -0.025183571502566338, -0.0011299926554784179, -0.04660160839557648, 0.0198033656924963, 0.04471698775887489, 0.058612845838069916, 0.03046388365328312, 0.007076691836118698, -0.05399060249328613, 0.06744761765003204, 0.028232239186763763, 0.02387848123908043, 0.018546806648373604, 0.005541632417589426, -0.009660937823355198, -0.060344990342855453, 0.05869382619857788, 0.011599145829677582, 0.004635551478713751, -0.07080411911010742, 0.04189717397093773, 0.05212485417723656, -0.05143290385603905, 0.014678101055324078, 0.009685673750936985, -0.04061461240053177, 0.00226429826579988, 0.022435912862420082, -0.03095129318535328, -0.006681255530565977, 0.034814056009054184, 0.023796383291482925, 0.03898203745484352, 0.04821152612566948, 0.02077511139214039, -0.005604378413408995, 0.006519901100546122, 0.07537614554166794, 0.06696843355894089, 0.06537266075611115, -0.005103943403810263, 0.06185922399163246, -0.04927583038806915, -0.055139120668172836, 0.031254298985004425, 0.003406904172152281, 0.007066870108246803, -0.03035399504005909, -0.002669003326445818, 0.09435230493545532, 0.05666803941130638, 0.0481303334236145, -0.0681270882487297, 0.017071740701794624, 0.021444592624902725, 0.02542985789477825, 0.0019639208912849426, 0.03500797599554062, 0.024468526244163513, 0.01669492945075035, -0.0005241894396021962, -0.006627998314797878, -0.025367645546793938, -0.010262700729072094, 0.008939199149608612, -0.010434686206281185, -0.03531548008322716, -0.011860793456435204, -0.017222309485077858, 0.02404213510453701, 0.08936987817287445, -0.04678582400083542, -0.07775858789682388, 0.01571432501077652, -0.009356416761875153, -0.008010106161236763, 0.06250956654548645, 0.048624005168676376, -0.028111832216382027, 0.0036720428615808487, -0.02621200494468212, 0.021994013339281082, -0.0035228568594902754, 0.0015166805824264884, -0.016556574031710625, -0.02477656863629818, -0.05143493413925171, 0.03234807774424553, 0.006815994158387184, -0.045478735119104385, -0.042262330651283264, -0.04633602127432823, -0.046807169914245605, -0.04061689227819443, -0.07696983218193054, 0.017814626917243004, -0.0011165199102833867, -0.02264019288122654, -0.02405785396695137, -0.0188082754611969, 0.020747965201735497, 0.03218422085046768, -0.03462944179773331, 0.0037159796338528395, 0.08899122476577759, -0.022212056443095207, -0.01779756136238575, 0.03578450530767441, 0.036497022956609726, 0.010126670822501183, -0.00933638121932745, 0.03828015550971031, 0.013028336688876152, 0.0024001398123800755, -0.015213499777019024, 0.00570661062374711, -0.07090230286121368, 0.0058134193532168865, 0.04799939692020416, -0.04096363112330437, -0.06986591964960098, 0.0629655197262764, -0.028525426983833313, -0.002692628186196089, 0.07290074229240417, -0.0028406651690602303, 0.05511420965194702, -0.014121653512120247, -0.037586625665426254, -0.04787863418459892, -0.021762637421488762, 0.03273363783955574, -0.03125326707959175, 0.03503884747624397, 0.035221412777900696, 0.017395731061697006, -0.025961291044950485, 0.05507242679595947, 0.01620340906083584, 0.021525872871279716, -0.026841534301638603, -0.016379037871956825, -0.05345676839351654, -0.11500891298055649, 0.020984619855880737, 0.0008768313564360142, 0.004675122909247875, -0.014256303198635578, -0.012415332719683647, 0.01393156684935093, 0.0015787252923473716, 0.009094818495213985, 0.0031790214125066996, -0.01931939460337162, -0.028454389423131943, -0.05210534855723381, -0.09440285712480545, 0.04611111059784889, -0.01789005845785141, 0.0042899721302092075, -0.009570203721523285, -0.0805148035287857, -0.007841619662940502, -0.00913102924823761, 0.025776555761694908, 0.014552359469234943, 0.007782997563481331, -0.017135120928287506 ]
366
DiscoveryBench: Towards Data-Driven Discovery with Large Language Models
https://openreview.net/forum?id=vyflgpwfJW
[ "Bodhisattwa Prasad Majumder", "Harshit Surana", "Dhruv Agarwal", "Bhavana Dalvi Mishra", "Abhijeetsingh Meena", "Aryan Prakhar", "Tirth Vora", "Tushar Khot", "Ashish Sabharwal", "Peter Clark" ]
Poster
Can the rapid advances in code generation, function calling, and data analysis using large language models (LLMs) help automate the search and verification of hypotheses purely from a set of provided datasets? To evaluate this question, we present DiscoveryBench, the first comprehensive benchmark that formalizes the multi-step process of data-driven discovery. The benchmark is designed to systematically assess current model capabilities in discovery tasks and provide a useful resource for improving them. Our benchmark contains 264 tasks collected across 6 diverse domains, such as sociology and engineering, by manually deriving discovery workflows from published papers to approximate the real-world challenges faced by researchers, where each task is defined by a dataset, its metadata, and a discovery goal in natural language. We additionally provide 903 synthetic tasks to conduct controlled evaluations on data-driven workflows that are not covered in the manually collected split. Furthermore, our structured formalism of data-driven discovery enables a facet-based evaluation that provides useful insights into different failure modes. We evaluate several popular LLM-based reasoning frameworks using both open and closed LLMs as baselines on DiscoveryBench and find that even the best system scores only 25%. Our benchmark, thus, illustrates the challenges in autonomous data-driven discovery and serves as a valuable resource for the community to make progress.
scientific discovery, data-driven discovery, data analysis, large language models, hypothesis generation, hypothesis verification
We present DiscoveryBench, the first comprehensive benchmark that formalizes the multi-step process of data-driven discovery designed to systematically assess current LLM capabilities in discovery tasks.
13,276
2407.01725
[ -0.0304252952337265, -0.02368338592350483, -0.03129073977470398, 0.025721292942762375, 0.038970697671175, 0.026534872129559517, 0.041885264217853546, 0.004640522878617048, -0.02590363100171089, -0.00461885379627347, -0.01784992218017578, 0.023085635155439377, -0.03333015367388725, -0.011716368608176708, -0.011505083180963993, 0.049889203161001205, 0.021602539345622063, -0.005770625546574593, 0.05321088805794716, -0.003180181607604027, 0.002005071844905615, 0.00003970746911363676, 0.0055040232837200165, 0.05232932046055794, 0.024006491526961327, 0.02712222933769226, 0.03148793801665306, -0.002615751698613167, -0.043493643403053284, 0.013601532205939293, 0.04799877107143402, -0.03165798261761665, 0.034823328256607056, -0.012523788958787918, 0.002861569868400693, -0.0022239212412387133, -0.03406396880745888, 0.01438083965331316, 0.010416659526526928, 0.011003007180988789, -0.031041152775287628, 0.031376127153635025, -0.007819338701665401, 0.03702227398753166, -0.0569622740149498, 0.037519149482250214, -0.1157943606376648, 0.03696190565824509, 0.01850983500480652, -0.0014213868416845798, -0.09044225513935089, 0.009413733147084713, 0.0011156642576679587, -0.01577949896454811, 0.0021472452208399773, 0.05154256895184517, 0.052951883524656296, -0.0873182937502861, -0.0012824893929064274, -0.04383689910173416, -0.0059062037616968155, 0.028726251795887947, 0.01173015870153904, 0.007260690443217754, 0.0036669427063316107, -0.012306833639740944, -0.017294229939579964, 0.02658579684793949, -0.07204148918390274, -0.010395797900855541, -0.023709628731012344, -0.013697942718863487, -0.030986493453383446, 0.018749229609966278, -0.0028082102071493864, -0.04323824495077133, 0.002627842826768756, 0.03503303602337837, 0.048044778406620026, 0.010957164689898491, 0.0056815058924257755, 0.03221280500292778, 0.03118596039712429, 0.04431227222084999, 0.02589264325797558, 0.008588268421590328, -0.05593600496649742, -0.04037649556994438, -0.07986220717430115, 0.024959126487374306, 0.011165725998580456, -0.04757941514253616, 0.024695072323083878, 0.04045630246400833, 0.04843087121844292, 0.04805925861001015, 0.02863844484090805, 0.011471381410956383, -0.035174619406461716, 0.008805929683148861, -0.06160636618733406, -0.03809785097837448, -0.003355354769155383, 0.026314018294215202, -0.11211629956960678, -0.009557033888995647, -0.01144437026232481, -0.015926074236631393, 0.0011756535386666656, -0.014161569997668266, -0.0005715676234103739, -0.009992929175496101, -0.0007514284807257354, -0.012135690078139305, -0.0741184875369072, 0.061593372374773026, 0.005363641306757927, -0.002648118883371353, 0.009531764313578606, -0.003132946789264679, 0.03936194255948067, 0.04614659398794174, 0.01910215988755226, 0.059924233704805374, -0.016182532534003258, 0.015310020186007023, 0.023003311827778816, 0.0029807505197823048, -0.01477810088545084, -0.03113577514886856, 0.025681212544441223, 0.050111718475818634, 0.015281639993190765, -0.00022321050346363336, 0.006124051287770271, 0.003914411645382643, 0.01875624619424343, 0.025393616408109665, 0.046049684286117554, 0.012915849685668945, 0.030839944258332253, -0.02952929213643074, 0.04967053234577179, -0.04613427445292473, 0.05877998471260071, -0.0008331850403919816, -0.019935261458158493, -0.017592834308743477, -0.05601814389228821, -0.009925429709255695, 0.027536356821656227, 0.020458992570638657, -0.02590448595583439, -0.04634047672152519, 0.05001823604106903, 0.07444272190332413, 0.010853398591279984, -0.011890005320310593, 0.014086837880313396, 0.03127868101000786, 0.028264297172427177, 0.006562708877027035, -0.06370759010314941, -0.025819631293416023, -0.020456528291106224, -0.04436530917882919, 0.048393625766038895, 0.010883926413953304, -0.05029776319861412, 0.0060425722040236, -0.03476480022072792, -0.03887029364705086, 0.08053860068321228, -0.007138054817914963, -0.003936113324016333, -0.019884536042809486, 0.0572989247739315, -0.0035325144417583942, 0.03058214858174324, 0.061123427003622055, -0.07765582948923111, 0.018051916733384132, -0.012992946431040764, -0.027422865852713585, 0.018563268706202507, -0.01349154394119978, 0.10248703509569168, -0.018734917044639587, 0.017559591680765152, 0.02735869772732258, -0.08445834368467331, -0.042097434401512146, 0.026218460872769356, 0.036732446402311325, 0.03103935718536377, -0.00713014043867588, -0.015777740627527237, 0.05742913857102394, -0.004780811257660389, 0.06378425657749176, 0.045130662620067596, 0.00014028785517439246, 0.030409149825572968, -0.012504788115620613, -0.04431137070059776, -0.004571616183966398, 0.01923353038728237, -0.060598261654376984, -0.0738883763551712, -0.00379031035117805, -0.001142837223596871, 0.00549803301692009, 0.018803441897034645, -0.007561198435723782, 0.020639700815081596, 0.013644584454596043, 0.0024855751544237137, 0.008912641555070877, -0.010271700099110603, -0.053589534014463425, 0.05332867056131363, 0.021065276116132736, 0.00570668512955308, -0.0017782733775675297, -0.01545407809317112, 0.0915687158703804, 0.07037312537431717, -0.02450193464756012, -0.0023515718057751656, 0.048940278589725494, 0.0067685446701943874, 0.012214231304824352, 0.0032146491575986147, -0.06575112044811249, 0.014974829740822315, -0.013855061493813992, 0.00976760033518076, -0.018980054184794426, 0.031781718134880066, -0.019240016117691994, 0.009004360064864159, 0.04093533754348755, -0.022618243470788002, 0.05938233807682991, 0.009047726169228554, 0.006672699004411697, 0.042229555547237396, -0.024194587022066116, -0.02641718089580536, -0.03310271352529526, -0.008756715804338455, 0.004543267656117678, -0.0009072985267266631, -0.025340158492326736, -0.01103970967233181, -0.05177251622080803, -0.005826284643262625, -0.01922518014907837, 0.03806150332093239, 0.056463368237018585, -0.01091955229640007, 0.006832826416939497, -0.016158543527126312, -0.04879799857735634, 0.05688690394163132, -0.11885931342840195, -0.023818327113986015, -0.025185856968164444, 0.027416985481977463, -0.005335780326277018, 0.034726887941360474, -0.010311019606888294, 0.016456635668873787, -0.027379387989640236, -0.020433470606803894, 0.012281781993806362, 0.026046644896268845, -0.03496637940406799, -0.05656828358769417, -0.030864333733916283, -0.011569024063646793, 0.05629107356071472, -0.027408219873905182, -0.007412368897348642, -0.01863343082368374, -0.027139633893966675, -0.0015978311421349645, -0.05964864417910576, 0.013084380887448788, 0.039496663957834244, 0.021862978115677834, 0.015792369842529297, -0.019469764083623886, 0.007591234520077705, 0.052697110921144485, 0.04621635377407074, 0.04652305319905281, 0.015820052474737167, -0.03172793611884117, 0.044661011546850204, 0.002130204811692238, 0.006477337796241045, -0.02123270183801651, 0.009748985059559345, 0.007158555556088686, 0.01724131591618061, 0.012970763258635998, 0.0011005375999957323, -0.24686001241207123, -0.03822707384824753, -0.010592146776616573, -0.025463338941335678, 0.03560667112469673, -0.0069603086449205875, 0.0454450361430645, -0.002031265990808606, -0.020996125414967537, -0.022990453988313675, -0.01827131025493145, 0.03135129064321518, 0.007365132216364145, 0.07774895429611206, 0.045947007834911346, 0.07145320624113083, -0.026844652369618416, -0.02245120145380497, -0.0052858623676002026, 0.04199376702308655, -0.013070447370409966, -0.06041984632611275, -0.017192739993333817, 0.05487120896577835, -0.003658061847090721, 0.03867112100124359, -0.09076845645904541, -0.004598292522132397, -0.046339523047208786, -0.012014641426503658, 0.0016172750620171428, -0.026783492416143417, -0.02344195917248726, 0.012978293001651764, 0.00360669381916523, 0.016453923657536507, 0.05600050464272499, 0.030034611001610756, 0.0367707721889019, 0.023431459441781044, 0.012953203171491623, -0.027491886168718338, -0.07396674156188965, -0.016752280294895172, 0.05616648867726326, -0.0037827608175575733, -0.036365263164043427, -0.025600850582122803, -0.016006823629140854, 0.024813905358314514, -0.018512649461627007, -0.03113069385290146, -0.034073784947395325, 0.009474428370594978, 0.017286259680986404, -0.031168507412075996, -0.00706557696685195, 0.010543045587837696, -0.03593343123793602, -0.006816237233579159, 0.013091698288917542, -0.02225792221724987, -0.020827041938900948, -0.03737359866499901, -0.03780542314052582, -0.04991950839757919, -0.0709257498383522, -0.06357017159461975, 0.04551882669329643, 0.039026662707328796, -0.014545397832989693, 0.01743088662624359, -0.00304210651665926, -0.10518179833889008, -0.01880744844675064, -0.01463503297418356, -0.011571771465241909, -0.02327256090939045, 0.009746146388351917, 0.054178062826395035, -0.035244304686784744, -0.03732440620660782, -0.013844677247107029, -0.011003146879374981, 0.01696408912539482, -0.0359739251434803, -0.008674639277160168, -0.03451896086335182, -0.026213819161057472, -0.021566001698374748, 0.023565134033560753, 0.0018680559005588293, -0.003620500909164548, 0.0158400759100914, 0.04002626985311508, 0.026002977043390274, 0.024462031200528145, 0.058958571404218674, 0.03635555878281593, 0.034415747970342636, 0.012219983153045177, -0.07589270174503326, -0.006480546202510595, -0.053593557327985764, -0.01484764739871025, 0.014730232767760754, -0.04446759819984436, -0.03594718873500824, 0.0407998152077198, -0.0032091655302792788, -0.02533368580043316, -0.059343598783016205, -0.0011183300521224737, -0.031755633652210236, 0.0018431456992402673, -0.01967514120042324, -0.004288331139832735, 0.02954445593059063, 0.04865710437297821, -0.01257293950766325, -0.026838183403015137, 0.023056233301758766, 0.012306726537644863, -0.013722865842282772, -0.0013537261402234435, -0.023291919380426407, 0.021641263738274574, -0.015473187901079655, -0.0002039693936239928, 0.01733389124274254, 0.028449121862649918, 0.01564280316233635, -0.02205141820013523, 0.005454457364976406, 0.035871151834726334, -0.0006659646169282496, -0.012545201927423477, -0.0039251153357326984, 0.011135872453451157, -0.02918848767876625, -0.0039426470175385475, -0.028519144281744957, 0.031324852257966995, 0.03077450767159462, 0.06250428408384323, 0.02889142744243145, 0.020151907578110695, 0.027514614164829254, 0.015879452228546143, 0.017112772911787033, 0.015268831513822079, -0.04014534130692482, 0.0029060919769108295, -0.03197241947054863, 0.013660512864589691, -0.02537606470286846, 0.02520277537405491, 0.000539857370313257, 0.005672961473464966, -0.07839024811983109, 0.04749460518360138, -0.04137022793292999, 0.022367296740412712, -0.0002495335356798023, 0.0015829673502594233, 0.04644019901752472, -0.03935719281435013, 0.024364827200770378, 0.008170927874743938, 0.0004906475078314543, -0.015320275910198689, -0.029704442247748375, -0.027686050161719322, 0.015338367782533169, -0.015867948532104492, 0.015306596644222736, 0.01076685730367899, -0.017178839072585106, -0.032776664942502975, 0.03997959941625595, -0.013118256814777851, -0.030174609273672104, -0.011349579319357872, 0.023280097171664238, 0.0769089013338089, 0.03730533644556999, 0.0328049398958683, 0.001985521288588643, -0.048978183418512344, 0.0051613436080515385, -0.013663239777088165, 0.005149317905306816, 0.016717419028282166, -0.034893330186605453, -0.030403751879930496, -0.06978786736726761, 0.04992219805717468, 0.0012696424964815378, -0.007993138395249844, -0.03969087824225426, -0.026740174740552902, -0.0072738840244710445, -0.04460113123059273, 0.005810469388961792, 0.040278758853673935, -0.08966554701328278, -0.0056550027802586555, 0.013846645131707191, -0.00050834019202739, 0.045085348188877106, -0.010791066102683544, -0.055426277220249176, -0.080717071890831, -0.01694781333208084, 0.010833543725311756, 0.01824573427438736, 0.03370005637407303, -0.03512972593307495, 0.01262421254068613, 0.00039244157960638404, -0.01350279152393341, 0.017522308975458145, 0.017382847145199776, -0.026417719200253487, 0.005623404402285814, 0.03293415904045105, -0.026859335601329803, -0.02564118802547455, -0.003762343665584922, -0.03387279808521271, 0.034131571650505066, -0.05290656164288521, 0.0348714143037796, 0.012655701488256454, 0.018321217969059944, 0.0009510180098004639, -0.02571536786854267, 0.020900726318359375, 0.017935441806912422, -0.024471431970596313, 0.0029550727922469378, 0.006890084128826857, 0.00293233641423285, -0.009254300966858864, -0.012276438996195793, 0.015759842470288277, 0.014384232461452484, 0.006130144465714693, 0.004992800764739513, 0.003914629574865103, 0.02107931114733219, 0.008927189745008945, -0.01333365123718977, -0.02144467644393444, 0.06412769109010696, -0.02540666051208973, -0.01279461570084095, -0.07405133545398712, -0.0496780127286911, 0.002952443202957511, -0.021940220147371292, 0.02205737866461277, -0.030534084886312485, 0.08730333298444748, 0.002156293485313654, 0.04218306019902229, 0.00044283177703619003, -0.026063555851578712, 0.0715809017419815, -0.0723404809832573, -0.004146009683609009, -0.09151177853345871, -0.04375893250107765, 0.08279155194759369, -0.05850118771195412, -0.00032222442678175867, 0.00029007482226006687, -0.024209236726164818, 0.029722295701503754, -0.003769020549952984, -0.062395889312028885, 0.0048131197690963745, -0.023637894541025162, -0.003533856710419059, 0.005808921530842781, -0.028618209064006805, 0.002948701148852706, -0.011581922881305218, -0.024044228717684746, -0.0228898823261261, 0.001991347875446081, 0.04525105655193329, -0.02848881483078003, 0.028088172897696495, -0.006885379087179899, -0.014363052323460579, 0.02701006829738617, 0.0460459403693676, 0.0343954935669899, 0.045827485620975494, -0.029557019472122192, 0.07021313160657883, 0.05450155958533287, 0.005822217091917992, 0.0010966291883960366, 0.017641250044107437, -0.01338191982358694, -0.03419363498687744, 0.021102510392665863, 0.021397454664111137, -0.011667616665363312, -0.06274733692407608, 0.08445227891206741, 0.05655469372868538, -0.050577081739902496, -0.021261099725961685, -0.002020567888393998, -0.05208766832947731, 0.019497109577059746, -0.0012544378405436873, -0.009917394258081913, -0.021997442469000816, 0.06331542879343033, 0.04070359840989113, 0.04861859232187271, 0.07182175666093826, -0.0009439045679755509, -0.031494271010160446, -0.018488094210624695, 0.08200520277023315, 0.06793152540922165, 0.03286459669470787, -0.0006324335699900985, 0.07243689894676208, -0.04910605028271675, -0.053660210222005844, 0.014878416433930397, 0.02147715352475643, -0.01660013757646084, -0.002297293394804001, 0.02252437174320221, 0.10354169458150864, 0.010830600745975971, 0.04639503359794617, -0.04079616069793701, -0.005323830526322126, 0.028857968747615814, -0.0028031333349645138, 0.02966378442943096, 0.06779412925243378, 0.016145383939146996, 0.026847733184695244, -0.006619147956371307, -0.009379548951983452, -0.026368997991085052, -0.022099852561950684, 0.004015097860246897, 0.03325042128562927, -0.013354907743632793, -0.015208260156214237, -0.014694022946059704, 0.08000633120536804, 0.12049330770969391, -0.018809860572218895, -0.018125290051102638, 0.010847678408026695, 0.005954009480774403, 0.017956580966711044, 0.0581403449177742, -0.017445383593440056, 0.0028932224959135056, 0.007708058692514896, -0.05407838895916939, 0.002649900270625949, 0.009451769292354584, -0.043170105665922165, 0.027899211272597313, -0.04825859144330025, -0.04030509293079376, 0.024333283305168152, 0.050427354872226715, -0.031096337363123894, -0.04713737592101097, -0.02348361909389496, -0.03256869688630104, -0.06526647508144379, -0.042377058416604996, 0.030019165948033333, 0.017556006088852882, -0.024306602776050568, 0.00543895224109292, -0.026390161365270615, 0.009015915915369987, 0.0066115520894527435, -0.06125739589333534, 0.004888772964477539, 0.0580948069691658, -0.011959085240960121, -0.004504165146499872, 0.0413021445274353, 0.016310840845108032, -0.02954203635454178, -0.02978142350912094, 0.01753896474838257, 0.023784765973687172, 0.013126273639500141, 0.005300107877701521, -0.017737682908773422, -0.09129262715578079, -0.008685709908604622, -0.009348629973828793, -0.008897379040718079, -0.08237522095441818, 0.02621864154934883, -0.012148709036409855, 0.05121287330985069, 0.06272303313016891, 0.027643276378512383, 0.026414571329951286, -0.006039423402398825, -0.0041905902326107025, -0.009824887849390507, -0.014816932380199432, 0.02269253507256508, -0.02032303810119629, 0.05551377683877945, 0.04358004033565521, -0.03649335727095604, -0.05272264406085014, 0.0073455460369586945, -0.01567596197128296, -0.02873474918305874, -0.02964259497821331, -0.02799740992486477, -0.03002873994410038, -0.10555773228406906, -0.010902740992605686, 0.02059261128306389, -0.0361986979842186, -0.035331375896930695, 0.016193263232707977, 0.0057623134925961494, -0.043296098709106445, -0.009441116824746132, -0.024944499135017395, -0.01148239802569151, -0.02985440380871296, -0.04880217835307121, -0.06396041810512543, -0.00992466788738966, -0.02061440423130989, 0.013509002514183521, -0.043611232191324234, -0.03931111469864845, 0.0018269328866153955, -0.0006938527803868055, 0.06778186559677124, 0.00154881679918617, 0.010105849243700504, -0.015386630780994892 ]
367
Optimizing (L0,L1)-Smooth Functions by Gradient Methods
https://openreview.net/forum?id=GQ1Tc3vHbt
[ "Daniil Vankov", "Anton Rodomanov", "Angelia Nedich", "Lalitha Sankar", "Sebastian U Stich" ]
Poster
We study gradient methods for optimizing $(L_0, L_1)$-smooth functions, a class that generalizes Lipschitz-smooth functions and has gained attention for its relevance in machine learning. We provide new insights into the structure of this function class and develop a principled framework for analyzing optimization methods in this setting. While our convergence rate estimates recover existing results for minimizing the gradient norm in nonconvex problems, our approach significantly improves the best-known complexity bounds for convex objectives. Moreover, we show that the gradient method with Polyak stepsizes and the normalized gradient method achieve nearly the same complexity guarantees as methods that rely on explicit knowledge of $(L_0, L_1)$. Finally, we demonstrate that a carefully designed accelerated gradient method can be applied to $(L_0, L_1)$-smooth functions, further improving all previous results.
$(L_0, L_1)$-smoothness, gradient methods, convex optimization, worst-case complexity bounds, acceleration, Polyak stepsizes, nonconvex optimization
null
13,268
null
[ -0.03827084228396416, -0.024997079744935036, 0.04222456365823746, 0.03234575316309929, 0.03953607752919197, 0.06244531273841858, 0.020626908168196678, -0.01107842568308115, -0.006414167582988739, -0.044233568012714386, -0.019841551780700684, 0.015336657874286175, -0.0669504851102829, -0.008257150650024414, 0.012712778523564339, 0.061007265001535416, 0.03329724445939064, -0.014927653595805168, 0.025903157889842987, 0.022436847910284996, 0.005091104190796614, 0.005679200403392315, 0.03935205936431885, 0.027249297127127647, 0.037675097584724426, -0.004953625146299601, -0.008999277837574482, 0.021418670192360878, -0.0487787090241909, 0.008438949473202229, 0.04165339469909668, 0.027768917381763458, 0.001920795999467373, -0.04472413286566734, 0.012713112868368626, 0.03365037217736244, -0.006493073422461748, 0.012635022401809692, 0.013302476145327091, 0.03346686065196991, -0.015115566551685333, -0.008901174180209637, -0.026277095079421997, 0.04087778180837631, -0.05396368354558945, 0.013781162910163403, -0.12521500885486603, -0.004495458211749792, 0.004687857814133167, -0.044370703399181366, -0.08639305830001831, 0.03293817117810249, 0.01036131288856268, -0.04574113339185715, -0.021063899621367455, 0.06078081578016281, 0.004883692599833012, -0.0411345399916172, -0.0108284130692482, -0.05902218446135521, -0.04188225045800209, 0.03470650315284729, 0.004710264038294554, -0.005126426462084055, 0.012528995983302593, 0.011135241948068142, -0.0036962705198675394, 0.03440665081143379, -0.06546185165643692, -0.04099789261817932, -0.038102176040410995, -0.01375405304133892, 0.02177121303975582, 0.009794735349714756, -0.0017148400656878948, -0.04918290674686432, 0.014275548979640007, 0.00648741889744997, 0.04733532667160034, 0.01170372311025858, 0.02217331901192665, 0.00711216451600194, 0.04362154006958008, 0.03467357158660889, -0.029030881822109222, 0.002691446803510189, -0.00815350841730833, -0.0061203190125525, -0.06948884576559067, 0.0531391017138958, -0.030564242973923683, -0.0565737821161747, 0.019982710480690002, 0.018889714032411575, 0.031353238970041275, -0.01058314647525549, 0.03339441865682602, 0.017259130254387856, 0.024559609591960907, -0.0018054303945973516, -0.03948340564966202, -0.03647409752011299, -0.010365141555666924, -0.0061556994915008545, -0.10358445346355438, -0.0381825752556324, -0.021336495876312256, 0.004181019030511379, -0.004829053767025471, 0.004147532861679792, -0.03876035660505295, 0.019638672471046448, -0.007009783294051886, -0.022537043318152428, -0.0824204683303833, 0.02060837857425213, 0.007813965901732445, 0.014578365720808506, -0.016000714153051376, 0.00042470928747206926, 0.04114193469285965, 0.05373779684305191, 0.002869608113542199, 0.07316192239522934, 0.025861507281661034, 0.013336501084268093, 0.030464978888630867, 0.06241428479552269, -0.020223569124937057, -0.050238240510225296, 0.01553342305123806, 0.04783337935805321, 0.01705164834856987, 0.022263530641794205, -0.022261515259742737, -0.018229611217975616, -0.03309205546975136, 0.024387430399656296, 0.016665972769260406, -0.014382376335561275, -0.01659787818789482, -0.017805717885494232, 0.07906627655029297, -0.020730428397655487, 0.044493332505226135, -0.07162243127822876, 0.014707239344716072, -0.03333089128136635, -0.04633951559662819, -0.020087478682398796, 0.013758870773017406, -0.005093125626444817, -0.00423203082755208, -0.05639604106545448, 0.007533377502113581, 0.055537592619657516, 0.016161255538463593, 0.029736759141087532, -0.01719484105706215, 0.016749192029237747, 0.020037010312080383, 0.0076608541421592236, -0.024892371147871017, -0.00034330235212109983, 0.00011469131277408451, -0.05951603502035141, 0.0762195810675621, 0.06898923218250275, -0.013089778833091259, 0.03222651779651642, -0.03002302721142769, -0.02292764186859131, 0.046520818024873734, 0.00501879770308733, 0.0015162158524617553, 0.0014305170625448227, 0.08354063332080841, -0.010353169403970242, 0.0640752986073494, 0.021913593634963036, -0.09432309120893478, 0.04333755373954773, 0.03413796424865723, 0.006814890541136265, 0.016901355236768723, -0.028499014675617218, 0.08822783082723618, -0.010940109379589558, 0.020574083551764488, 0.01203375868499279, -0.08114940673112869, -0.02139902114868164, 0.015650568529963493, -0.04204195737838745, 0.06282327324151993, 0.011729723773896694, -0.01082337275147438, -0.0046990420669317245, -0.00845743715763092, 0.03861921280622482, 0.06824798136949539, -0.04256242886185646, 0.02576339617371559, 0.009238747879862785, -0.04449009150266647, -0.003415330545976758, 0.027302274480462074, -0.06024111062288284, -0.003352701896801591, 0.011998084373772144, -0.003767671762034297, 0.010887564159929752, 0.004419608507305384, 0.022956954315304756, 0.03535717353224754, -0.01215256005525589, -0.004524830728769302, -0.001450353884138167, 0.03854097053408623, -0.06241230294108391, 0.04842441901564598, 0.020150121301412582, -0.003291735425591469, 0.036180220544338226, -0.0025232143234461546, 0.08676190674304962, 0.10782963037490845, -0.03167502209544182, -0.00575649831444025, -0.017002446576952934, -0.013610274530947208, 0.02110692672431469, 0.0312708243727684, -0.009376134723424911, -0.0026785696391016245, 0.009284554049372673, 0.030888652428984642, -0.032960791140794754, 0.0842011421918869, -0.05249788239598274, -0.017461290583014488, 0.06974495202302933, -0.002796345157548785, 0.04895663261413574, -0.010498641058802605, -0.003715594531968236, 0.011050382629036903, 0.022791489958763123, -0.011670906096696854, -0.021545518189668655, -0.01837019808590412, -0.0026157048996537924, 0.012724027968943119, -0.028717314824461937, 0.009456909261643887, -0.03896499052643776, 0.014438946731388569, 0.00044121925020590425, 0.06878358870744705, 0.06749678403139114, 0.05056691914796829, -0.006918895989656448, 0.002077594166621566, -0.037605538964271545, -0.02852816693484783, -0.1155993863940239, -0.031872592866420746, -0.017347821965813637, 0.08904500305652618, 0.022074932232499123, 0.03533245250582695, -0.018962735310196877, 0.031238948926329613, -0.017131198197603226, -0.03594249486923218, 0.005830883048474789, 0.03909290209412575, 0.013377177529036999, -0.06577892601490021, -0.04275538772344589, 0.03522837162017822, 0.07681500911712646, 0.02099474146962166, -0.007525431923568249, -0.04112360253930092, -0.06193876639008522, -0.02307133376598358, -0.07234981656074524, -0.012424550950527191, 0.010523053817451, -0.011964461766183376, 0.011602691374719143, -0.029280461370944977, 0.03385458141565323, 0.0015608083922415972, 0.039742905646562576, 0.04968734458088875, 0.012169638648629189, -0.015193022787570953, -0.0021489798091351986, 0.0009874517563730478, 0.02574172243475914, -0.022085227072238922, -0.0038619169499725103, -0.024782035499811172, 0.021712318062782288, 0.0060552265495061874, -0.0018513969844207168, -0.25548499822616577, -0.008672347292304039, -0.002982781734317541, 0.006551841273903847, 0.03342288359999657, -0.012075105682015419, 0.023762090131640434, -0.030636664479970932, -0.0309393722563982, 0.010796153917908669, -0.02426188811659813, 0.0579458624124527, -0.007912833243608475, 0.05773353949189186, 0.053330130875110626, 0.001265289611183107, -0.023031998425722122, -0.004229991231113672, -0.009028563275933266, 0.027678994461894035, -0.0031807373743504286, -0.09551914036273956, 0.0055639492347836494, 0.006153030786663294, -0.01328242477029562, 0.039816778153181076, -0.05925247445702553, -0.040022432804107666, -0.04671130329370499, -0.03264149650931358, -0.04778921231627464, -0.01791629195213318, -0.030911002308130264, 0.017793141305446625, 0.023866010829806328, 0.017303405329585075, 0.014137824065983295, -0.015774257481098175, 0.030357148498296738, 0.03751957416534424, 0.009137359447777271, -0.012946756556630135, -0.024160441011190414, 0.011454262770712376, 0.04450015723705292, 0.04400327801704407, -0.02813672088086605, -0.0163250882178545, 0.003616495057940483, 0.040678199380636215, 0.007907021790742874, -0.03896763175725937, -0.026461532339453697, 0.014654242433607578, 0.019216131418943405, -0.01337151788175106, 0.015290575101971626, -0.01970389299094677, 0.01404372788965702, 0.011353110894560814, -0.00876599084585905, -0.06183309480547905, -0.014550943858921528, -0.046014636754989624, -0.005707844626158476, -0.03252188861370087, -0.09102150052785873, -0.06939496845006943, 0.03391031175851822, 0.0393989235162735, 0.0216202475130558, 0.01258809957653284, -0.023542821407318115, -0.08167705684900284, 0.009392693638801575, -0.0051984963938593864, 0.0008340707863681018, -0.00004925846224068664, -0.0048163821920752525, 0.07106313109397888, -0.028650591149926186, -0.03790932521224022, 0.0011362854856997728, 0.005454280413687229, -0.001508350600488484, -0.033713504672050476, 0.037392958998680115, -0.01987900398671627, 0.010505663231015205, -0.068224236369133, 0.027776289731264114, 0.020264066755771637, 0.03893836960196495, -0.018511254340410233, 0.043513961136341095, 0.01621268317103386, 0.016616998240351677, 0.04397350549697876, 0.028564833104610443, -0.04062638059258461, 0.005840823985636234, -0.07600705325603485, -0.02012891322374344, -0.017299266532063484, -0.006672760006040335, 0.003694737795740366, -0.04457191005349159, -0.04723212495446205, 0.06663414090871811, 0.01924336515367031, -0.007906272076070309, -0.03594620153307915, 0.008894942700862885, -0.03781398758292198, -0.014783216640353203, -0.015636328607797623, -0.026814008131623268, 0.03024674579501152, 0.04182641580700874, -0.012750094756484032, -0.014466204680502415, 0.042873308062553406, -0.028576919808983803, -0.014925815165042877, -0.0034995859023183584, 0.037551071494817734, -0.008200593292713165, -0.04722706601023674, -0.014153381809592247, -0.008439167402684689, 0.040285009890794754, 0.04985743388533592, 0.028485963121056557, 0.0017747938400134444, 0.06031141057610512, 0.006050438154488802, -0.017304806038737297, -0.033880818635225296, 0.04324430227279663, -0.017183104529976845, 0.038544151932001114, 0.008452513255178928, 0.04045647010207176, 0.0176573283970356, 0.019792761653661728, 0.03634965792298317, 0.010419770143926144, -0.013112768530845642, 0.0027195755392313004, 0.01359566580504179, 0.01972413994371891, -0.045319102704524994, -0.02323351427912712, -0.03534794971346855, 0.04049352928996086, 0.019123362377285957, 0.03623923286795616, 0.0013858528109267354, 0.014256008900702, -0.06537604331970215, 0.05940823629498482, 0.03926769644021988, -0.04053381085395813, -0.0015156291192397475, 0.03240165859460831, 0.04585862159729004, -0.009387282654643059, -0.005305003374814987, -0.005253252573311329, -0.019651487469673157, 0.030930327251553535, -0.016699010506272316, -0.024308720603585243, -0.03237728402018547, -0.00893398653715849, -0.032270029187202454, 0.034022603183984756, -0.019342873245477676, -0.04225851222872734, 0.012437645345926285, 0.004100933205336332, -0.04088432341814041, -0.014601298607885838, 0.034245334565639496, 0.08420047909021378, -0.002238383749499917, -0.005840289872139692, -0.021367326378822327, -0.01542146597057581, 0.02451099269092083, -0.025912893936038017, -0.013237097300589085, -0.028398314490914345, -0.025486251339316368, -0.002890682080760598, -0.03168993815779686, 0.03149392455816269, 0.01742614433169365, -0.029229652136564255, -0.008741234429180622, -0.027476271614432335, 0.005589345004409552, -0.033387232571840286, 0.01666904054582119, 0.01777595467865467, -0.08219283819198608, 0.010998603887856007, 0.026016995310783386, -0.008119931444525719, 0.03156491741538048, -0.026936836540699005, -0.03586777299642563, -0.026763878762722015, -0.009566668421030045, 0.014533908106386662, -0.011231730692088604, -0.016397494822740555, 0.007540999911725521, 0.010890396311879158, -0.024466875940561295, -0.022952649742364883, -0.01128771249204874, -0.005098278168588877, -0.02954685688018799, 0.004087002016603947, 0.06458452343940735, -0.036179423332214355, -0.029237257316708565, 0.017738811671733856, -0.013735027983784676, 0.035227395594120026, -0.06708194315433502, 0.016001934185624123, 0.036545101553201675, 0.02559739723801613, 0.04412895813584328, -0.05415970832109451, 0.03052305243909359, -0.04650871083140373, -0.009670550934970379, -0.02152913436293602, 0.021457375958561897, -0.03399871289730072, -0.012171617709100246, -0.0004663902218453586, 0.049909185618162155, 0.009133505634963512, -0.011769715696573257, -0.01989023946225643, 0.026398787274956703, 0.001520030782558024, 0.03166216239333153, -0.0580463707447052, -0.009935750626027584, 0.04091973975300789, -0.02792760357260704, -0.010235415771603584, -0.038863666355609894, 0.0156118618324399, 0.050180476158857346, -0.05930174142122269, 0.03684983029961586, -0.02031940035521984, 0.05040271580219269, 0.005351027008146048, 0.04991234838962555, 0.005255237687379122, -0.016098037362098694, 0.03807007893919945, -0.061024025082588196, -0.01385546661913395, -0.06942541152238846, -0.02074565179646015, 0.029418857768177986, -0.02616768702864647, 0.01425995398312807, 0.024355890229344368, -0.014783721417188644, 0.02110074646770954, -0.032941412180662155, -0.05198771134018898, 0.012168492190539837, -0.049078937619924545, -0.008217432536184788, 0.01376713253557682, -0.0536453053355217, -0.01722749136388302, 0.00828847661614418, -0.046925466507673264, 0.014365672133862972, 0.012686632573604584, 0.04226308315992355, 0.007026835810393095, -0.017967836931347847, -0.02260148897767067, 0.018583403900265694, 0.04168377071619034, 0.03354114666581154, 0.018952522426843643, -0.017854761332273483, -0.05027476325631142, 0.04696767032146454, 0.0373510867357254, 0.021282339468598366, 0.00429349672049284, 0.049051158130168915, 0.004092872142791748, -0.04603741690516472, 0.03522995486855507, -0.008801514282822609, -0.025806177407503128, -0.05298163369297981, 0.02653493359684944, 0.022994505241513252, -0.008371641859412193, -0.05149868130683899, 0.0012346443254500628, -0.052569787949323654, 0.01900678128004074, -0.006873531267046928, -0.024722427129745483, 0.026984350755810738, 0.08206590265035629, -0.0057240817695856094, -0.008515595458447933, 0.047095343470573425, -0.014188713394105434, -0.006485642399638891, -0.0473095178604126, 0.08095064014196396, 0.07773328572511673, 0.04133138433098793, -0.021527182310819626, 0.06089525297284126, -0.03264926001429558, -0.05298907309770584, -0.00899646244943142, 0.010601931251585484, -0.02736647240817547, -0.013913681730628014, 0.0017660852754488587, 0.08300196379423141, 0.006821314804255962, 0.06448152661323547, -0.04535552114248276, 0.007001213729381561, 0.04045504331588745, -0.027889642864465714, -0.016823001205921173, 0.035976164042949677, 0.015552780590951443, 0.034524012356996536, -0.013359117321670055, -0.02475551888346672, -0.004933950956910849, 0.0171005018055439, 0.01278585847467184, -0.01534416526556015, -0.017504941672086716, 0.00942554697394371, 0.009032647125422955, 0.0046545895747840405, 0.09849461913108826, -0.0596807636320591, -0.03860193490982056, 0.0059935967437922955, 0.025261739268898964, 0.00980488583445549, 0.051057685166597366, 0.013524290174245834, -0.033546797931194305, 0.02006925642490387, -0.034269727766513824, 0.0358411967754364, 0.03754722699522972, 0.004275349900126457, 0.01869102381169796, -0.01762998476624489, -0.0038675579708069563, 0.01908946968615055, 0.03254811838269234, -0.029771100729703903, -0.04906592145562172, -0.039851993322372437, -0.06964735686779022, -0.07237128168344498, -0.07521438598632812, 0.020126743242144585, 0.0038898922502994537, -0.045921262353658676, 0.014752879738807678, -0.0033245328813791275, 0.02764701656997204, 0.0018174377037212253, -0.044965747743844986, 0.00040171161526814103, 0.03852546587586403, -0.011258711107075214, 0.036334432661533356, 0.02824162133038044, 0.03301442041993141, -0.007919765077531338, -0.017824284732341766, 0.029755355790257454, -0.022005440667271614, 0.030040690675377846, -0.021311739459633827, 0.005014213267713785, -0.07588602602481842, -0.0006853516679257154, 0.020098647102713585, -0.03433837741613388, -0.07316470146179199, 0.03015959821641445, -0.033370308578014374, 0.01387842372059822, 0.06499659270048141, 0.0038695086259394884, 0.0010415016440674663, -0.06184688210487366, -0.030261358246207237, -0.05955206975340843, 0.001342878327704966, 0.0274248905479908, 0.017517471686005592, 0.03444091975688934, -0.0010992394527420402, -0.022687427699565887, -0.048484787344932556, 0.03992488980293274, -0.042679429054260254, 0.019199319183826447, -0.03012041188776493, -0.0003341908159200102, -0.005586073733866215, -0.12076642364263535, -0.02281089313328266, 0.042123399674892426, -0.005783414002507925, -0.03071228228509426, 0.018019793555140495, 0.006475113332271576, 0.002827380085363984, 0.019809691235423088, -0.010295513086020947, -0.006707682739943266, -0.0704629048705101, -0.0252512339502573, -0.0689343735575676, 0.03024754673242569, -0.009101423434913158, -0.010160420089960098, -0.023222969844937325, -0.0532071627676487, -0.032172054052352905, -0.004444290418177843, 0.030035387724637985, 0.04127072915434837, 0.02567894756793976, 0.009727081283926964 ]
368
Compute-Optimal LLMs Provably Generalize Better with Scale
https://openreview.net/forum?id=MF7ljU8xcf
[ "Marc Anton Finzi", "Sanyam Kapoor", "Diego Granziol", "Anming Gu", "Christopher De Sa", "J Zico Kolter", "Andrew Gordon Wilson" ]
Poster
Why do larger language models generalize better? To explore this question, we develop generalization bounds on the pretraining objective of large language models (LLMs) in the compute-optimal regime, as described by the Chinchilla scaling laws. We introduce a novel, fully empirical Freedman-type martingale concentration inequality that tightens existing bounds by accounting for the variance of the loss function. The generalization bound can be broken into three contributions: the number of parameters per token, the loss variance, and the quantization error at a fixed bitrate. As language models are scaled up, the number of parameters per data point stays constant; however, both the loss variance and the quantization error decrease, implying that larger models should have \emph{smaller} generalization gaps. We examine why larger models tend to be more quantizable from an information theoretic perspective, showing that the rate at which they can integrate new information grows slower than their capacity on the compute optimal frontier. From these findings we produce a scaling law for the generalization gap, showing that our bounds decrease in a predictable way.
generalization bounds, language models, scaling laws
We construct a generalization bound for LLMs which gets better as the models get bigger.
13,266
null
[ -0.03774474561214447, -0.01279423013329506, 0.008610593155026436, 0.03449461981654167, 0.050922032445669174, 0.03757810220122337, 0.04181959480047226, 0.01742851920425892, -0.03979010879993439, 0.018421482294797897, -0.0026250563096255064, 0.009763648733496666, -0.08007459342479706, -0.010222156532108784, -0.015584534965455532, 0.07548295706510544, 0.05245131999254227, -0.014822267927229404, 0.00843619555234909, 0.01911970227956772, -0.009532680734992027, 0.007335353642702103, 0.046797022223472595, 0.0033339736983180046, 0.04162536561489105, 0.012702877633273602, 0.0043318928219377995, 0.014626913703978062, -0.026218321174383163, -0.0016955361934378743, 0.05055488273501396, 0.01925906352698803, 0.024699022993445396, 0.004087286069989204, 0.019006481394171715, 0.009416375309228897, -0.038528453558683395, 0.007380268070846796, 0.018254542723298073, 0.028689734637737274, -0.04227866977453232, 0.0041622621938586235, -0.03370959684252739, 0.02818332426249981, -0.0861639529466629, 0.014095677994191647, -0.12487639486789703, -0.005289782304316759, 0.011738666333258152, -0.04532334581017494, -0.10451256483793259, 0.0357612781226635, -0.013930556364357471, -0.008764267899096012, -0.013854850083589554, 0.03863906487822533, 0.04542550817131996, -0.10255595296621323, -0.009598865173757076, -0.03279593214392662, -0.029572395607829094, 0.017602169886231422, 0.0017430383013561368, -0.0009017765405587852, -0.009589913301169872, -0.0029086654540151358, 0.006002518348395824, 0.031191807240247726, -0.06703151762485504, -0.05111141875386238, -0.03362045809626579, 0.010451584123075008, -0.009899125434458256, 0.03851470723748207, -0.002339557046070695, -0.04549326375126839, 0.005589174572378397, 0.039767902344465256, 0.04260310158133507, 0.0011328047839924693, -0.0143630625680089, 0.02933996357023716, 0.04329267889261246, 0.04838419333100319, 0.013808066956698895, 0.015901315957307816, -0.03144952282309532, -0.043441951274871826, -0.09512970596551895, 0.03616081923246384, -0.013498357497155666, -0.04803410917520523, -0.011234174482524395, 0.010063134133815765, -0.0013234890066087246, 0.0001516733318567276, 0.025129172950983047, 0.022429028525948524, 0.00420489301905036, -0.0015956670977175236, -0.043253060430288315, -0.03686361387372017, 0.02232915535569191, 0.0062243398278951645, -0.11586050689220428, -0.017484115436673164, -0.012278269045054913, 0.007057876326143742, 0.006795200984925032, -0.017986811697483063, -0.02414398454129696, -0.007732064928859472, 0.014730283990502357, -0.009045574814081192, -0.07670573890209198, 0.02869519591331482, 0.0009917665738612413, 0.010995673015713692, -0.008237014524638653, -0.007200267631560564, 0.03648189455270767, 0.058811865746974945, -0.0035033749882131815, 0.08755083382129669, -0.01641455665230751, 0.01583116129040718, 0.032942552119493484, 0.03350509703159332, -0.03364348039031029, -0.03754349425435066, 0.009084162302315235, 0.0458349883556366, 0.014071851037442684, 0.01928253285586834, -0.004333450458943844, -0.006516877096146345, 0.021694745868444443, 0.012386956252157688, 0.051096074283123016, -0.005954360123723745, 0.019267797470092773, -0.02090427652001381, 0.05288390442728996, -0.015037654899060726, 0.05576500669121742, -0.01578635722398758, -0.011004162020981312, -0.027436809614300728, -0.039784133434295654, -0.007848352193832397, 0.017644939944148064, -0.008150765672326088, -0.008777841925621033, -0.057151298969984055, 0.039227500557899475, 0.039801351726055145, -0.0005028810119256377, 0.006379998289048672, 0.014309539459645748, 0.030015990138053894, -0.0077364384196698666, 0.005597445648163557, -0.0435519702732563, -0.0014899844536557794, -0.0034818321000784636, -0.05344861373305321, 0.055608440190553665, 0.039776820689439774, -0.039153337478637695, 0.0008895042701624334, -0.04265142232179642, -0.022245999425649643, 0.0659715086221695, -0.0015686415135860443, -0.024792419746518135, -0.00829489715397358, 0.05721326172351837, 0.019051579758524895, 0.054712455719709396, 0.03190892934799194, -0.08451593667268753, 0.007877073250710964, 0.04277709499001503, 0.00999542511999607, 0.015759771689772606, -0.03338221460580826, 0.09228330105543137, -0.03960929438471794, 0.0027999705635011196, 0.019005492329597473, -0.06807281076908112, 0.007091570645570755, 0.026185380294919014, -0.006596106570214033, 0.06883762776851654, -0.01006401889026165, 0.004328697919845581, 0.030730227008461952, 0.033967893570661545, 0.02909584902226925, 0.05788892135024071, -0.044127825647592545, 0.047118037939071655, 0.022695669904351234, -0.045508261770009995, 0.025015830993652344, 0.011678996495902538, -0.05698820948600769, -0.049685847014188766, 0.030825722962617874, -0.029065828770399094, 0.006345656234771013, 0.013453125953674316, 0.0038372515700757504, 0.013312073424458504, -0.012009987607598305, 0.01519799791276455, -0.017339356243610382, 0.029860271140933037, -0.04445711150765419, 0.03640593960881233, 0.020145369693636894, -0.0006284500123001635, 0.013740645721554756, -0.000012247758604644332, 0.08664797246456146, 0.09425336122512817, -0.016186147928237915, -0.007839202880859375, 0.012572964653372765, -0.0020598778501152992, -0.011339854449033737, 0.008890636265277863, -0.03161582350730896, 0.019810544326901436, -0.02022615820169449, -0.002433439716696739, -0.04193563014268875, 0.047446444630622864, -0.04383854195475578, -0.012660672888159752, 0.05367395281791687, -0.016451958566904068, 0.07152710109949112, -0.02774862013757229, 0.02020040899515152, 0.03643106296658516, -0.030754810199141502, -0.014561144635081291, -0.0526680052280426, -0.011120717041194439, 0.0038358308374881744, 0.004728042054921389, -0.01634697988629341, 0.0038173336070030928, -0.03190508112311363, -0.00648724427446723, -0.003123394213616848, 0.0727175921201706, 0.05455702170729637, -0.0010625651339069009, 0.017855821177363396, 0.0007769395597279072, -0.03171537071466446, 0.0000873656608746387, -0.10023210197687149, -0.03074992634356022, -0.020326076075434685, 0.04417678341269493, 0.001337299938313663, 0.03174661472439766, -0.011452652513980865, 0.0361303947865963, -0.02904597669839859, -0.024334868416190147, -0.009427973069250584, 0.029313605278730392, -0.02343258634209633, -0.045196425169706345, -0.016533171758055687, 0.0063547310419380665, 0.06030464172363281, -0.021911824122071266, -0.021885352209210396, -0.026717811822891235, -0.0551045797765255, -0.029165437445044518, -0.07235034555196762, 0.014557160437107086, 0.00010402335465187207, 0.010066897608339787, 0.03258981928229332, -0.012280110269784927, 0.008944636210799217, 0.02737700380384922, 0.04457291215658188, 0.06281702220439911, -0.011509139090776443, -0.009986920282244682, 0.024468230083584785, -0.025602642446756363, 0.0023085870780050755, 0.005260963458567858, 0.048591166734695435, -0.015343471430242062, -0.012043126858770847, 0.02244470827281475, 0.005031968932598829, -0.25946304202079773, -0.006228173151612282, 0.003454046556726098, -0.005777984857559204, 0.03374101221561432, -0.008421768434345722, 0.03535477817058563, -0.02618941105902195, -0.03455057367682457, 0.02055308409035206, -0.01614638790488243, 0.005011821631342173, -0.020972153171896935, 0.053627099841833115, 0.06347844749689102, 0.039966974407434464, -0.01019336935132742, -0.010340004228055477, 0.009118224494159222, 0.043570056557655334, -0.012417505495250225, -0.06592220067977905, -0.004604495130479336, 0.05496079847216606, 0.0006719296798110008, 0.0717228502035141, -0.06871143728494644, -0.01914890855550766, -0.04740069806575775, 0.0019091001013293862, -0.04570328816771507, -0.0347493477165699, -0.0027021346613764763, 0.012348678894340992, -0.010454602539539337, 0.015619756653904915, 0.0230549406260252, -0.007145531941205263, 0.02534865215420723, 0.04031604155898094, 0.01584644243121147, -0.021851375699043274, -0.020187392830848694, 0.005853486247360706, 0.051664456725120544, 0.015395858325064182, -0.03761202469468117, -0.010130064561963081, -0.01345016248524189, 0.035881757736206055, -0.0172019861638546, -0.036277927458286285, -0.02979145012795925, 0.02137966826558113, 0.030858850106596947, 0.005505650769919157, -0.010816119611263275, -0.03838652744889259, -0.014656205661594868, 0.007250381167978048, 0.01995958760380745, -0.048205070197582245, -0.029438603669404984, -0.03637322038412094, -0.0014787196414545178, -0.03349187597632408, -0.06711169332265854, -0.037628352642059326, 0.044563814997673035, 0.029072973877191544, -0.0009392768261022866, 0.007986919954419136, -0.002658214420080185, -0.07924026250839233, -0.021499235183000565, -0.0018981455359607935, -0.009834302589297295, 0.010190862230956554, 0.012984787113964558, 0.06141648814082146, -0.04106820002198219, -0.05002686008810997, 0.0006422051228582859, 0.004634276032447815, 0.03533286228775978, -0.03145843744277954, -0.004670274443924427, -0.02892410382628441, -0.02681511454284191, -0.02153373323380947, 0.010799949057400227, 0.021265199407935143, 0.028731724247336388, 0.007426714524626732, 0.05031636729836464, 0.0075763254426419735, 0.02267361432313919, 0.06786374747753143, 0.027757233008742332, 0.0015121693722903728, 0.04045625030994415, -0.07573290914297104, -0.04478004202246666, -0.04168004170060158, -0.039059754461050034, 0.03708204999566078, -0.0703563392162323, -0.026168663054704666, 0.0222758911550045, -0.01535835675895214, -0.03071427345275879, -0.04435866326093674, 0.014589122496545315, -0.019529258832335472, -0.03733809292316437, -0.012699269689619541, -0.010700315237045288, 0.04054554924368858, 0.036376308649778366, -0.015483375638723373, -0.009519888088107109, 0.053432539105415344, -0.034253478050231934, 0.0024550175294280052, 0.011254607699811459, 0.0019040735205635428, 0.0021706398110836744, -0.019798727706074715, -0.03336850181221962, -0.014757015742361546, 0.01608077809214592, 0.028077170252799988, 0.006140544544905424, -0.014835060574114323, 0.04856691136956215, -0.004902385640889406, 0.028280824422836304, -0.015369806438684464, 0.038568414747714996, 0.004345928318798542, 0.02732330560684204, -0.015668688341975212, 0.05064709112048149, 0.01900901272892952, 0.03697958216071129, 0.028689218685030937, 0.027607718482613564, -0.0020402383524924517, -0.007693527266383171, 0.010061049833893776, 0.03910539671778679, -0.03667201101779938, 0.008457720279693604, -0.012919954024255276, 0.022842910140752792, 0.015351714566349983, 0.025254439562559128, -0.01966232992708683, -0.004470575135201216, -0.07066531479358673, 0.05359407886862755, -0.0044864811934530735, -0.019962819293141365, 0.0008698981837369502, 0.02333974279463291, 0.042637888342142105, -0.03797752037644386, 0.007413454819470644, 0.024005813524127007, 0.02861059457063675, 0.016016274690628052, -0.025967221707105637, -0.03718113899230957, 0.0018925517797470093, 0.003735603764653206, 0.007209663279354572, 0.01742318831384182, -0.007676530629396439, -0.024472419172525406, 0.04009932652115822, 0.02535589225590229, -0.02460508421063423, -0.010928945615887642, 0.026388023048639297, 0.08402476459741592, 0.009604259394109249, 0.02969801425933838, 0.011320382356643677, -0.05097547173500061, 0.03038850426673889, -0.02867876924574375, -0.0226806178689003, -0.01211437676101923, -0.03102800063788891, -0.025429539382457733, -0.031012065708637238, 0.025698546320199966, 0.022941237315535545, 0.0003359871625434607, -0.015062411315739155, 0.018453072756528854, 0.004445717670023441, -0.0502026341855526, -0.00999738834798336, 0.04334862530231476, -0.08511848747730255, 0.0033886234741657972, 0.017190180718898773, -0.025418149307370186, 0.03318750485777855, -0.02940463088452816, -0.029021089896559715, -0.06464088708162308, 0.007182194385677576, 0.05510218068957329, -0.022176194936037064, -0.033304885029792786, -0.015258865430951118, 0.010531993582844734, -0.015324234962463379, 0.00877629965543747, -0.028711501508951187, 0.0200398750603199, -0.023287469521164894, -0.0010736598633229733, 0.05536229908466339, -0.057136449962854385, -0.006973860319703817, 0.014176707714796066, -0.058239251375198364, 0.028969312086701393, -0.06713306903839111, 0.019584612920880318, 0.06700548529624939, -0.009015409275889397, 0.023055549710989, -0.04806705564260483, 0.03740810602903366, -0.01746927946805954, -0.02130141854286194, 0.0024078870192170143, 0.017558274790644646, -0.017595455050468445, 0.017135322093963623, -0.00003614643355831504, 0.04787231609225273, 0.015870893374085426, -0.019859429448843002, -0.023840103298425674, -0.0099656255915761, 0.013864344917237759, 0.02231312170624733, -0.026170773431658745, -0.0009029664215631783, 0.05899864807724953, -0.026371579617261887, -0.043800752609968185, -0.07787724584341049, -0.035662516951560974, 0.0147972097620368, -0.032611288130283356, 0.03556772321462631, -0.051053546369075775, 0.05797616019845009, 0.013885078020393848, 0.05412789061665535, 0.02557244338095188, -0.014140751212835312, 0.0453919917345047, -0.04523485153913498, -0.02639956586062908, -0.07179885357618332, -0.06256403774023056, 0.034695450216531754, -0.032243162393569946, -0.00017003521497827023, -0.00322538404725492, -0.039251670241355896, 0.02539302036166191, -0.018079299479722977, -0.047886572778224945, 0.015852995216846466, -0.010867209173738956, -0.03241359815001488, 0.03636649623513222, -0.053032245486974716, -0.026693174615502357, -0.006102629005908966, -0.0507826991379261, 0.008711383678019047, 0.016128327697515488, 0.041141197085380554, -0.012016399763524532, 0.004689401015639305, -0.03227265924215317, -0.007013872265815735, 0.04192422702908516, 0.06005839630961418, 0.031006159260869026, 0.028627745807170868, -0.03071259707212448, 0.05846633389592171, 0.03296303749084473, 0.003926187288016081, 0.012350158765912056, 0.011478344909846783, -0.0318908765912056, -0.08164117485284805, 0.04661765694618225, -0.0177706778049469, -0.019392184913158417, -0.04097162187099457, 0.06844083219766617, 0.034836623817682266, -0.03602450713515282, -0.05018441379070282, 0.02561941184103489, -0.05539430305361748, 0.006072772201150656, -0.022047948092222214, -0.008065495640039444, -0.00559306750074029, 0.08016615360975266, 0.028973691165447235, 0.04230808466672897, 0.08417746424674988, 0.007427911274135113, -0.016288215294480324, 0.000025663104679551907, 0.0910051241517067, 0.052806396037340164, 0.06041936203837395, 0.0025641717948019505, 0.0544578954577446, -0.0501411072909832, -0.05179908499121666, 0.011255141347646713, -0.017696749418973923, -0.025039179250597954, -0.04754895344376564, 0.01869669184088707, 0.08600359410047531, 0.0019309906056150794, 0.07594985514879227, -0.06228304281830788, -0.006416036747395992, 0.03982202336192131, -0.00745618250221014, 0.00827118381857872, 0.07061097770929337, 0.0278283953666687, 0.01202336698770523, -0.00929646473377943, -0.019028427079319954, 0.014118601568043232, -0.00012580926704686135, 0.008642282336950302, 0.008402119390666485, 0.010261951014399529, 0.0010420040925964713, 0.0010333629325032234, 0.042100727558135986, 0.1183270663022995, -0.04889179766178131, -0.03482430428266525, 0.0016140707302838564, 0.01065110694617033, -0.00016628617595415562, 0.0482063814997673, 0.007010851986706257, -0.041928596794605255, -0.014299397356808186, -0.03930079936981201, 0.01834266260266304, 0.023601144552230835, -0.011469235643744469, 0.03178941458463669, -0.030549749732017517, -0.027317961677908897, 0.01652889885008335, 0.047480084002017975, -0.060771603137254715, -0.038678012788295746, -0.05399850755929947, -0.0391991101205349, -0.04446597769856453, -0.04176544025540352, 0.01192938070744276, 0.009762312285602093, -0.017022695392370224, 0.003743005683645606, -0.023644067347049713, 0.004781651310622692, -0.002806413220241666, -0.05519476160407066, -0.012050251476466656, 0.04979835823178291, -0.006784074008464813, -0.007928969338536263, 0.04213358461856842, 0.0256421510130167, -0.03410963714122772, -0.01867487095296383, 0.03546666353940964, 0.020268619060516357, 0.006951724644750357, -0.007782511878758669, -0.008293252438306808, -0.09705862402915955, 0.025171227753162384, -0.003953165374696255, -0.05187549442052841, -0.08499758690595627, 0.034895751625299454, -0.012678912840783596, 0.02416214905679226, 0.056654538959264755, 0.01748921163380146, 0.03139859065413475, -0.03518341854214668, -0.025107115507125854, -0.015401399694383144, 0.007069828454405069, 0.043868523091077805, 0.014154734089970589, 0.06419908255338669, 0.04738412797451019, -0.00621957890689373, -0.03312940150499344, 0.010525896213948727, -0.036674726754426956, 0.0009649437270127237, -0.011924277991056442, -0.026602519676089287, -0.021246375516057014, -0.10196495801210403, -0.028565969318151474, 0.013891888782382011, -0.020560884848237038, -0.029316511005163193, 0.02089870348572731, -0.014192367903888226, -0.04370121285319328, 0.006898983381688595, -0.01468889694660902, -0.03993392735719681, -0.01564052142202854, -0.041541989892721176, -0.06047847494482994, 0.0221769567579031, -0.024451831355690956, -0.0036442046985030174, -0.035541508346796036, -0.048064153641462326, -0.021176517009735107, -0.0009920911397784948, 0.047029729932546616, 0.0075121913105249405, 0.01272781565785408, -0.01688939332962036 ]
369
Safety-Prioritizing Curricula for Constrained Reinforcement Learning
https://openreview.net/forum?id=f3QR9TEERH
[ "Cevahir Koprulu", "Thiago D. Simão", "Nils Jansen", "ufuk topcu" ]
Poster
Curriculum learning aims to accelerate reinforcement learning (RL) by generating curricula, i.e., sequences of tasks of increasing difficulty. Although existing curriculum generation approaches provide benefits in sample efficiency, they overlook safety-critical settings where an RL agent must adhere to safety constraints. Thus, these approaches may generate tasks that cause RL agents to violate safety constraints during training and behave suboptimally after. We develop a safe curriculum generation approach (SCG) that aligns the objectives of constrained RL and curriculum learning: improving safety during training and boosting sample efficiency. SCG generates sequences of tasks where the RL agent can be safe and performant by initially generating tasks with minimum safety violations over high-reward ones. We empirically show that compared to the state-of-the-art curriculum learning approaches and their naively modified safe versions, SCG achieves optimal performance and the lowest amount of constraint violations during training.
curriculum learning, constrained reinforcement learning
We propose a safe curriculum generation method that reduces safety constraint violations during training while boosting the learning speed of constrained RL agents.
13,261
null
[ -0.025879237800836563, -0.0325695276260376, -0.017098836600780487, 0.07014651596546173, 0.05950120463967323, -0.00696555944159627, 0.023336827754974365, -0.0047423336654901505, -0.035325538367033005, -0.016977131366729736, -0.042594458907842636, 0.03934594243764877, -0.06278801709413528, -0.020460398867726326, 0.005173311103135347, 0.05566589906811714, 0.016524994745850563, -0.012656630016863346, -0.012358560226857662, 0.007107207551598549, -0.025715027004480362, 0.005974531173706055, 0.027895929291844368, 0.03448432311415672, 0.05211881920695305, 0.03885728865861893, 0.06440608948469162, 0.022165890783071518, -0.01794574409723282, 0.008240104652941227, 0.048863139003515244, -0.009877477772533894, 0.012986433692276478, -0.01253476645797491, 0.01348319835960865, 0.03079606033861637, -0.028067685663700104, 0.007428498473018408, -0.015426361933350563, 0.0013029435649514198, -0.02651011198759079, 0.019743572920560837, -0.03762269765138626, -0.031045589596033096, -0.03753504157066345, 0.012719892896711826, -0.07458166778087616, 0.018694253638386726, 0.04581797495484352, -0.06247969716787338, -0.106378473341465, 0.047897614538669586, 0.028674663975834846, -0.01862211897969246, -0.005645019002258778, 0.01977144367992878, 0.05563591048121452, -0.08585984259843826, 0.015154583379626274, -0.08729372173547745, -0.03196689486503601, 0.024584591388702393, 0.0008335812017321587, 0.03844781965017319, -0.010009735822677612, -0.003822434926405549, 0.0015821827109903097, 0.0376206710934639, -0.035257738083601, -0.01951918564736843, -0.04060880467295647, -0.00935389380902052, -0.001147725502960384, 0.013356016017496586, -0.002920083934441209, -0.04403407499194145, 0.009807080961763859, 0.00847745779901743, 0.04144085943698883, 0.0030908382032066584, 0.03814763203263283, 0.01892881467938423, 0.0030045511666685343, 0.013044888153672218, 0.008495134301483631, -0.004000136628746986, -0.03218383714556694, -0.028844954445958138, -0.0762740969657898, 0.03585370257496834, -0.033676572144031525, -0.05023316666483879, -0.025524646043777466, 0.04222426936030388, 0.027254533022642136, 0.007524430751800537, 0.008073209784924984, 0.0054913111962378025, -0.007528846617788076, -0.001175824087113142, -0.024196289479732513, -0.021306337788701057, 0.0008157683187164366, -0.024955233559012413, -0.12156186997890472, 0.0084653589874506, -0.02124323509633541, -0.023340923711657524, -0.016385521739721298, 0.022881729528307915, -0.02795913629233837, -0.011224583722651005, 0.024800149723887444, -0.03194710239768028, -0.06502673029899597, 0.06478773802518845, 0.024464230984449387, 0.034315381199121475, 0.0006820712005719543, 0.004421473480761051, 0.020477773621678352, 0.010662544518709183, 0.0024194344878196716, 0.06579217314720154, 0.0031462362967431545, 0.023723021149635315, 0.02237449586391449, 0.02326013706624508, -0.018443698063492775, -0.05048917606472969, 0.04347031190991402, 0.051701273769140244, -0.013817745260894299, -0.004282733891159296, -0.016612548381090164, 0.01566898450255394, 0.008272014558315277, 0.024177052080631256, 0.01363697275519371, 0.01430543139576912, -0.012353222817182541, -0.031750909984111786, 0.08535967767238617, -0.03199608251452446, 0.07778921723365784, -0.019997000694274902, -0.007564682047814131, -0.014324132353067398, -0.05024898052215576, 0.019681038334965706, 0.004947174806147814, -0.036336593329906464, 0.00022573313617613167, -0.05612247809767723, 0.02589198760688305, 0.050870638340711594, 0.037293240427970886, 0.013344659470021725, -0.020175473764538765, -0.012952853925526142, -0.007626724895089865, -0.013758908957242966, -0.02805229276418686, -0.017656385898590088, -0.005955996457487345, -0.05641951411962509, 0.0327368900179863, 0.010159328579902649, -0.025513792410492897, -0.028115125373005867, -0.04836476966738701, -0.03921955078840256, 0.027877353131771088, -0.02724488079547882, -0.025153333321213722, 0.006073785480111837, 0.05575006455183029, -0.02482786774635315, 0.03565250709652901, 0.0326993502676487, -0.0681862086057663, 0.019131440669298172, -0.0013650893233716488, -0.00635160319507122, 0.0042067766189575195, -0.050629448145627975, 0.09164021909236908, -0.04613729938864708, -0.0032638530246913433, 0.026187099516391754, -0.0886978805065155, 0.002461699303239584, 0.04344211518764496, -0.02859477326273918, 0.0354757085442543, 0.005558352917432785, 0.008693748153746128, 0.039919931441545486, -0.002808572491630912, 0.07342469692230225, 0.05174253135919571, 0.006408688612282276, 0.041708074510097504, -0.025226781144738197, -0.016789957880973816, 0.014465585350990295, 0.02186933532357216, -0.04097874090075493, -0.02986161783337593, 0.02216532453894615, -0.007394779473543167, 0.0057613300159573555, -0.005548039451241493, 0.004162212368100882, 0.032740939408540726, -0.01920035481452942, -0.013777755200862885, 0.019037403166294098, 0.0489104762673378, -0.052264463156461716, 0.02771470881998539, -0.026640795171260834, -0.012524035759270191, 0.013961787335574627, -0.048319581896066666, 0.09904414415359497, 0.0749751552939415, -0.02120393142104149, 0.0023216791450977325, 0.03665629029273987, 0.0012699710205197334, -0.011346904560923576, 0.0096672298386693, -0.001114228623919189, 0.0016925845993682742, -0.003923272248357534, -0.0007378631853498518, -0.014890013262629509, 0.06350818276405334, -0.04598817601799965, 0.002051277318969369, 0.08479758352041245, -0.020081767812371254, 0.07093074917793274, 0.015783214941620827, 0.011108354665338993, 0.03750233352184296, 0.0051032318733632565, -0.0268916804343462, -0.02302452363073826, -0.0210622176527977, -0.0052576931193470955, 0.034649550914764404, 0.005235033575445414, -0.02425982803106308, -0.06204661726951599, -0.024521123617887497, -0.024586930871009827, 0.06261222064495087, 0.031183259561657906, 0.017089063301682472, 0.021709388121962547, 0.0052925581112504005, -0.01446126215159893, -0.01660122163593769, -0.09943254292011261, -0.023320026695728302, -0.022136569023132324, 0.014761688187718391, 0.012272719293832779, 0.01605704240500927, -0.043822865933179855, 0.021092215552926064, -0.013366727158427238, -0.038737230002880096, 0.004981268662959337, 0.032763540744781494, 0.011913193389773369, -0.01776297390460968, -0.007063265424221754, 0.008594139479100704, 0.07357700169086456, -0.005839086137712002, 0.013772654347121716, 0.005753799807280302, -0.020029257982969284, 0.012594635598361492, -0.04080016165971756, -0.029232310131192207, 0.038613561540842056, 0.0043647862039506435, 0.0017573650693520904, -0.03346182778477669, 0.01284988597035408, 0.029211152344942093, 0.018912116065621376, 0.04050740227103233, 0.013430444523692131, 0.01295302715152502, 0.027445346117019653, -0.006918639875948429, 0.020577970892190933, -0.026804989203810692, 0.014556750655174255, -0.004905478097498417, 0.012750962749123573, 0.03217817470431328, 0.008801290765404701, -0.2743658125400543, -0.030793650075793266, 0.024345817044377327, 0.010157277807593346, 0.044677648693323135, 0.028096163645386696, 0.04994373023509979, -0.04949188232421875, -0.05249699950218201, 0.017228364944458008, 0.042823437601327896, 0.031208444386720657, 0.038766030222177505, 0.05520208552479744, 0.05306301638484001, 0.025733215734362602, 0.00043958090827800333, -0.04253175109624863, 0.005699582397937775, 0.0323120653629303, -0.02015342377126217, -0.08044711500406265, -0.04722995311021805, 0.020844249054789543, 0.00859266147017479, 0.043830543756484985, -0.07249455153942108, -0.007766543421894312, -0.03032907098531723, -0.016762515529990196, -0.017186928540468216, -0.023461325094103813, -0.012513426132500172, 0.009024804458022118, 0.021140573546290398, 0.023162296041846275, 0.03575175628066063, 0.006194144021719694, 0.027678832411766052, 0.01197213027626276, 0.015115389600396156, -0.04814108461141586, -0.022410418838262558, 0.04045301675796509, 0.038753245025873184, 0.026860322803258896, -0.043265074491500854, -0.028901010751724243, -0.006374710239470005, 0.036753349006175995, 0.0156709011644125, -0.023420093581080437, 0.00977299828082323, -0.015382475219666958, 0.03083871304988861, 0.001654693391174078, -0.004279433749616146, -0.009024441242218018, -0.02387974038720131, 0.005900523159652948, 0.016879647970199585, -0.02119436115026474, -0.04108922928571701, -0.014887564815580845, 0.010432220995426178, -0.03144299238920212, -0.03869526460766792, -0.06045348197221756, 0.018782412633299828, 0.03186497464776039, -0.02553066797554493, -0.03290171921253204, -0.01267425250262022, -0.10460826754570007, 0.00576385110616684, 0.0034309367183595896, -0.01573672518134117, -0.027432506904006004, 0.009475011378526688, 0.03856276720762253, -0.05134189501404762, -0.017857756465673447, -0.0011732992716133595, 0.029139559715986252, 0.018866125494241714, -0.0015404574805870652, 0.032112691551446915, -0.037550050765275955, -0.030383793637156487, -0.036361612379550934, 0.027609005570411682, 0.02967444248497486, 0.038784727454185486, -0.009491423144936562, 0.058073800057172775, 0.04149588197469711, 0.0034553862642496824, 0.0457066185772419, 0.05305325984954834, -0.03583955019712448, 0.017298119142651558, -0.08501388132572174, -0.012193622998893261, -0.039413224905729294, -0.0479205958545208, 0.03809225559234619, -0.04646795243024826, -0.03401755169034004, 0.0716175064444542, 0.02928813174366951, -0.005228610243648291, -0.024850519374012947, 0.02951640635728836, -0.008373494260013103, -0.013954076915979385, 0.0017274066340178251, 0.018884722143411636, 0.04709139093756676, 0.028291767463088036, -0.006299061235040426, -0.05390327423810959, 0.024660596624016762, -0.027114536613225937, 0.022275010123848915, -0.00023900260566733778, -0.017469225451350212, 0.03318572789430618, -0.01193871907889843, 0.018055984750390053, -0.024153679609298706, 0.04227309674024582, 0.025249755010008812, 0.011003212071955204, 0.02001173421740532, 0.03348312899470329, -0.03099079057574272, -0.031716473400592804, -0.004734809510409832, 0.033667974174022675, -0.010795612819492817, -0.0017823613015934825, 0.0117171136662364, 0.034351982176303864, 0.009456880390644073, 0.04641401395201683, 0.017032142728567123, 0.020159684121608734, 0.014901128597557545, 0.008610528893768787, -0.03292575478553772, 0.0396636463701725, -0.06409195810556412, 0.019935477524995804, -0.028573518618941307, 0.03783821687102318, -0.025547437369823456, 0.024002984166145325, -0.03151524439454079, 0.02702326513826847, -0.06969211250543594, 0.04305615648627281, -0.0017811853904277086, -0.015208903700113297, -0.004876264836639166, 0.018903179094195366, 0.062342945486307144, -0.044826690107584, -0.015333767049014568, -0.041711628437042236, -0.014661891385912895, 0.01490212231874466, -0.07550262659788132, -0.04938144609332085, 0.007447835057973862, -0.02303791046142578, -0.009713680483400822, 0.01239844411611557, -0.07788447290658951, -0.052765849977731705, 0.0015204009832814336, 0.005511092953383923, -0.014402534812688828, 0.005215826909989119, -0.01353203784674406, 0.059840671718120575, -0.004272981081157923, 0.006727875210344791, -0.0034410173539072275, -0.027687763795256615, 0.0002849430020432919, 0.01564275659620762, 0.027930673211812973, -0.017260240390896797, -0.0033397283405065536, -0.01986619271337986, -0.03792910277843475, 0.00543755479156971, -0.0053587136790156364, 0.019215421751141548, 0.0011382449883967638, -0.020667212083935738, 0.0013036198215559125, -0.03613949194550514, 0.010461660102009773, -0.004273583181202412, -0.057833414524793625, -0.028166553005576134, 0.040357474237680435, 0.030924716964364052, 0.015058843418955803, -0.057458195835351944, -0.03176619112491608, -0.03992011398077011, -0.017835702747106552, -0.01330419909209013, -0.029216218739748, -0.05254160985350609, -0.025714198127388954, -0.03873289003968239, -0.0017123337602242827, 0.006783721968531609, -0.013440226204693317, 0.017034070566296577, -0.044762685894966125, 0.010331304743885994, 0.0518663115799427, -0.030079789459705353, -0.028732359409332275, 0.042945001274347305, -0.012144222855567932, 0.010310162790119648, -0.04210531339049339, 0.015371767804026604, 0.001034561195410788, -0.011767006479203701, 0.0195535309612751, -0.042880307883024216, 0.06534717231988907, -0.005848010070621967, -0.03596561774611473, -0.006787656340748072, 0.00903324969112873, -0.01427868939936161, -0.022192342206835747, -0.01052853837609291, 0.02770381048321724, 0.034846823662519455, 0.021968785673379898, 0.03306426852941513, -0.0007700497517362237, 0.026345696300268173, -0.007033671252429485, -0.037548769265413284, 0.003850220702588558, 0.06666252017021179, -0.014058793894946575, -0.024067392572760582, -0.06342550367116928, -0.03220903500914574, 0.028539303690195084, -0.016644246876239777, 0.03980887308716774, -0.07910218089818954, 0.010165151208639145, -0.0029041289817541838, 0.05294695869088173, 0.01779383048415184, -0.07121481746435165, 0.049853499978780746, -0.0716107189655304, 0.010442475788295269, -0.05029455944895744, 0.023876816034317017, 0.06910275667905807, -0.0456063374876976, -0.02637624368071556, 0.029208052903413773, -0.029078146442770958, 0.04210621863603592, -0.025184808298945427, -0.07383651286363602, 0.038876354694366455, -0.07085524499416351, -0.05384664982557297, 0.036878108978271484, -0.04238297417759895, -0.016110815107822418, -0.0023333996068686247, -0.03892625495791435, 0.04447319731116295, 0.013865523040294647, 0.05077742040157318, -0.032399728894233704, -0.0015479899011552334, -0.017887160181999207, 0.02682698331773281, 0.01593318209052086, 0.03341371566057205, 0.024650517851114273, 0.025578780099749565, -0.055192332714796066, 0.06309996545314789, 0.06572061777114868, 0.04567470774054527, 0.02143263630568981, -0.0009369099279865623, -0.015778250992298126, -0.022528253495693207, 0.05703899264335632, -0.0018188039539381862, -0.00035456058685667813, -0.060822270810604095, 0.046034738421440125, 0.02686268836259842, -0.0742039829492569, -0.028348661959171295, 0.020756926387548447, -0.06989450752735138, -0.017875127494335175, 0.03281407803297043, -0.001709563541226089, 0.028490440919995308, 0.08773903548717499, -0.00347832846455276, 0.057101596146821976, 0.06136371195316315, 0.026444265618920326, -0.01607844978570938, -0.006111777853220701, 0.04824690520763397, 0.04305003583431244, 0.04365614056587219, 0.003367803292348981, 0.09973644465208054, -0.08111919462680817, -0.06163922697305679, 0.03892761841416359, -0.0020404821261763573, -0.015811676159501076, -0.022578777745366096, 0.03248798847198486, 0.035567156970500946, 0.009658465161919594, 0.057149965316057205, -0.028588345274329185, -0.017565051093697548, 0.06654305756092072, 0.0061121415346860886, -0.004829264711588621, 0.04017796367406845, 0.014598771929740906, 0.018704436719417572, -0.01793738640844822, -0.018925661221146584, -0.0040748571045696735, -0.0012832214124500751, 0.02880760096013546, -0.012239343486726284, -0.033705003559589386, -0.005195091012865305, 0.021196065470576286, -0.0096981730312109, 0.1345011442899704, -0.04314957931637764, -0.006321244407445192, -0.017794162034988403, 0.00893133319914341, 0.018419425934553146, 0.009251601062715054, 0.03313624486327171, -0.019667567685246468, 0.010401444509625435, -0.06393472105264664, 0.03190980851650238, 0.023575151339173317, 0.0052148401737213135, 0.04139801487326622, -0.0015696868067607284, -0.0022935557644814253, 0.026899922639131546, 0.0174929890781641, -0.005018554162234068, -0.061273206025362015, -0.03883100301027298, -0.050862330943346024, -0.024391714483499527, -0.013888955116271973, 0.022722452878952026, -0.004718958865851164, -0.04062490165233612, 0.01665983349084854, -0.007868632674217224, 0.013734924606978893, 0.007439550943672657, -0.07193596661090851, -0.01834695227444172, 0.0656353086233139, -0.009126240387558937, 0.0368214026093483, 0.0380999930202961, 0.020057247951626778, 0.003743536304682493, -0.029443541541695595, 0.02194368466734886, 0.016684211790561676, 0.0008507578750140965, -0.022543620318174362, -0.007841411046683788, -0.08725331723690033, -0.007436766289174557, 0.01487876009196043, -0.017076218500733376, -0.06530965864658356, 0.03997056931257248, -0.049791086465120316, 0.025115180760622025, 0.07595356553792953, -0.016008220613002777, 0.012984143570065498, -0.018070172518491745, -0.015020112507045269, -0.001663674833253026, 0.025434117764234543, 0.025017524138092995, -0.04650931805372238, 0.040912527590990067, 0.05236732214689255, -0.03932779282331467, -0.05412775278091431, 0.04273777827620506, 0.006673723924905062, -0.022941024973988533, -0.01738862693309784, -0.01900416426360607, -0.01966708153486252, -0.10286160558462143, -0.01151721365749836, 0.035349778831005096, 0.026122938841581345, -0.042935192584991455, 0.00809510052204132, -0.023815425112843513, -0.007151545956730843, -0.015770478174090385, -0.023623818531632423, -0.018424442037940025, -0.026104219257831573, -0.029923154041171074, -0.029986975714564323, 0.022864146158099174, -0.050269853323698044, 0.008883757516741753, -0.0371997132897377, -0.035476211458444595, 0.015235714614391327, -0.014577626250684261, 0.024441180750727654, 0.00945946667343378, 0.00880445260554552, 0.014647324569523335 ]
370
Generalized Behavior Learning from Diverse Demonstrations
https://openreview.net/forum?id=Q7EjHroO1w
[ "Varshith Sreeramdass", "Rohan R Paleja", "Letian Chen", "Sanne van Waveren", "Matthew Gombolay" ]
Poster
Diverse behavior policies are valuable in domains requiring quick test-time adaptation or personalized human-robot interaction. Human demonstrations provide rich information regarding task objectives and factors that govern individual behavior variations, which can be used to characterize \textit{useful} diversity and learn diverse performant policies. However, we show that prior work that builds naive representations of demonstration heterogeneity fails in generating successful novel behaviors that generalize over behavior factors. We propose Guided Strategy Discovery (GSD), which introduces a novel diversity formulation based on a learned task-relevance measure that prioritizes behaviors exploring modeled latent factors. We empirically validate across three continuous control benchmarks for generalizing to in-distribution (interpolation) and out-of-distribution (extrapolation) factors that GSD outperforms baselines in novel behavior discovery by $\sim$21\%. Finally, we demonstrate that GSD can generalize striking behaviors for table tennis in a virtual testbed while leveraging human demonstrations collected in the real world. Code is available at https://github.com/CORE-Robotics-Lab/GSD.
Behavior Discovery, Demonstrator Heterogeneity
We propose an imitation learning approach that utilizes a new diversity formulation to generate novel behaviors that generalize over demonstrators' latent preferences.
13,253
null
[ -0.013113439083099365, -0.028228329494595528, -0.021428553387522697, 0.04333630949258804, 0.04945053532719612, 0.014186974614858627, 0.037695180624723434, 0.012012275867164135, -0.041661497205495834, -0.03442588448524475, -0.012930897995829582, 0.01243254542350769, -0.07160690426826477, -0.029168879613280296, -0.031291838735342026, 0.05220476910471916, 0.009348695166409016, -0.013881063088774681, -0.005015346687287092, -0.009356128983199596, -0.01795041561126709, -0.01596153900027275, 0.0389675498008728, 0.015014497563242912, 0.05127346143126488, 0.0019483183277770877, 0.04871223494410515, 0.020791102200746536, -0.00957147590816021, -0.022319907322525978, 0.02201850339770317, -0.022428233176469803, 0.05811883136630058, -0.03243984654545784, 0.007118403911590576, -0.026099395006895065, -0.0403364934027195, 0.014687011949717999, 0.01594686321914196, 0.004766102414578199, -0.048266202211380005, 0.023010842502117157, -0.026422668248414993, 0.0023276889696717262, -0.02703980728983879, 0.03591806814074516, -0.08448176085948944, 0.01952858828008175, 0.049563392996788025, 0.0002493075735401362, -0.06806056946516037, 0.03252848982810974, 0.03974895551800728, -0.01233220286667347, -0.0021359461825340986, 0.029176779091358185, 0.05972044914960861, -0.07204515486955643, -0.03228946402668953, -0.052108973264694214, -0.029746990650892258, 0.05243198201060295, 0.0032844056840986013, 0.006923748645931482, 0.008805181831121445, 0.0043282718397676945, 0.02951662242412567, 0.03909486532211304, -0.00179487734567374, 0.010798106901347637, -0.04854628071188927, -0.024424126371741295, 0.01397748477756977, 0.021744970232248306, 0.020597310736775398, -0.027498478069901466, 0.030752353370189667, 0.030429596081376076, 0.05558409541845322, -0.018770113587379456, 0.02514144964516163, 0.029421277344226837, 0.01282960083335638, 0.02758038230240345, 0.03857214376330376, 0.037017859518527985, -0.022863656282424927, -0.015233056619763374, -0.07354966551065445, 0.02595710940659046, -0.021952692419290543, -0.05352474004030228, -0.006825674790889025, 0.05969424918293953, 0.027483826503157616, -0.004291132558137178, 0.011711725033819675, -0.009774207137525082, 0.021661212667822838, -0.014716485515236855, -0.05401473492383957, -0.013502892106771469, -0.0026066810823976994, 0.007592613808810711, -0.1076948493719101, -0.028523750603199005, 0.019306745380163193, -0.03112553060054779, -0.03748700022697449, 0.024729833006858826, -0.053843677043914795, -0.017785482108592987, 0.01083673071116209, -0.032106004655361176, -0.07567593455314636, 0.058526549488306046, 0.002800723072141409, 0.02274814248085022, 0.01293610967695713, 0.012310061603784561, 0.037227973341941833, 0.015771916136145592, -0.008808977901935577, 0.048341456800699234, -0.04120054468512535, -0.009838473051786423, 0.0108512993901968, 0.03735053539276123, -0.00019301037536934018, -0.02939319610595703, 0.02673368528485298, 0.0310913547873497, 0.00037554584559984505, 0.020867155864834785, -0.021051719784736633, -0.021638669073581696, 0.022748855873942375, 0.011017943732440472, 0.007171822711825371, 0.017611965537071228, 0.0033831200562417507, -0.008306979201734066, 0.0756491869688034, -0.044869598001241684, 0.07173500955104828, -0.024808278307318687, -0.012626742012798786, -0.028616877272725105, -0.05103490874171257, 0.005184150766581297, 0.013633225113153458, -0.012835579924285412, 0.014583613723516464, -0.05200715735554695, 0.008482315577566624, 0.03049672767519951, 0.02600480057299137, 0.0203157477080822, -0.002881124382838607, -0.000781564274802804, -0.022800439968705177, -0.016541706398129463, -0.048171140253543854, -0.030034543946385384, 0.022257624194025993, -0.050574079155921936, 0.038947734981775284, 0.032488368451595306, -0.0403544083237648, -0.013606719672679901, -0.04028927907347679, -0.0023186642210930586, 0.029376016929745674, 0.012393063865602016, -0.014645472168922424, 0.0038686231710016727, 0.03181908652186394, -0.008230669423937798, 0.03241302818059921, 0.021819671615958214, -0.06817539036273956, 0.00740590738132596, 0.03839430212974548, -0.027042899280786514, 0.011761564761400223, -0.0351748950779438, 0.04995618015527725, -0.04578506574034691, -0.014808659441769123, 0.026658641174435616, -0.07728688418865204, -0.033975277096033096, 0.040158286690711975, 0.0023275245912373066, 0.059234678745269775, 0.009487580507993698, -0.014632525853812695, 0.031340405344963074, 0.04274029657244682, 0.06314555555582047, 0.031157391145825386, -0.03632553294301033, 0.04028655216097832, 0.0034738006070256233, -0.02805134281516075, -0.017055708914995193, 0.02423149161040783, -0.031962718814611435, -0.053553927689790726, 0.0038284570910036564, 0.010003084316849709, 0.02451455406844616, -0.0003162240027450025, 0.00892329216003418, 0.035509418696165085, 0.016273414716124535, 0.006856347434222698, 0.01941514015197754, 0.01959688402712345, -0.045307569205760956, 0.005730437580496073, 0.012072725221514702, -0.021956535056233406, -0.0011594495736062527, -0.0296990517526865, 0.08497463911771774, 0.05662115290760994, -0.043630264699459076, 0.01292333658784628, 0.04754558950662613, 0.004795250482857227, 0.03864467889070511, 0.023402268067002296, -0.01979793980717659, 0.024555154144763947, -0.015957895666360855, 0.016878796741366386, -0.05461777001619339, 0.0493258461356163, -0.05682780593633652, -0.029246222227811813, 0.08687248826026917, -0.016172349452972412, 0.075071781873703, -0.02359422855079174, 0.020440170541405678, 0.02955159731209278, 0.022109972313046455, 0.00025326883769594133, -0.035127002745866776, -0.0159229077398777, 0.002936447039246559, 0.043874144554138184, -0.019935116171836853, -0.01979023776948452, -0.037289947271347046, -0.00920876394957304, -0.04957607761025429, 0.06626394391059875, 0.0369868278503418, 0.011755477637052536, 0.030045226216316223, -0.01039195153862238, -0.02459845133125782, -0.011416741646826267, -0.115727998316288, -0.050035398453474045, -0.004735182970762253, -0.009003469720482826, 0.005438471678644419, 0.014757119119167328, -0.005606064572930336, 0.02703825756907463, -0.02641795016825199, -0.04112602397799492, 0.013811183162033558, 0.000277147424640134, 0.01546937320381403, -0.016190843656659126, -0.01496728602796793, 0.0021210520062595606, 0.08208227157592773, -0.035003308206796646, -0.00810285098850727, -0.027221109718084335, -0.05236814543604851, -0.03338892385363579, -0.053679633885622025, -0.011628063395619392, 0.041625846177339554, 0.02404237724840641, 0.039596885442733765, -0.010492566041648388, 0.013533098623156548, 0.03523150458931923, 0.0692855566740036, 0.015615989454090595, 0.013811229728162289, -0.016416963189840317, 0.026225514709949493, -0.020661460235714912, 0.01329641230404377, -0.013115180656313896, 0.007113253232091665, -0.001015300047583878, -0.03639444708824158, 0.013316907919943333, 0.008201263844966888, -0.26007017493247986, -0.03473421558737755, 0.0005405794363468885, 0.036836858838796616, 0.009064720012247562, -0.011104291304945946, 0.06750862300395966, -0.01926877349615097, -0.026249157264828682, -0.0005554335657507181, 0.014931929297745228, 0.01714964210987091, 0.022209208458662033, 0.056783441454172134, 0.06581250578165054, 0.04184255748987198, 0.0031347470358014107, -0.016019463539123535, -0.004258146975189447, 0.044750865548849106, -0.034792639315128326, -0.06362196058034897, -0.04596525430679321, 0.022370854392647743, -0.014207202941179276, 0.038005758076906204, -0.05826834216713905, -0.01532625313848257, -0.03593842685222626, -0.004984335508197546, 0.00030873779905959964, -0.006302982103079557, -0.06593279540538788, 0.017978612333536148, 0.007508798502385616, 0.01776835508644581, 0.04012266919016838, -0.03440678492188454, 0.012594877742230892, 0.03595077618956566, 0.027021244168281555, -0.014656574465334415, -0.06186375021934509, 0.030349846929311752, 0.07140201330184937, 0.00871138833463192, -0.04950304701924324, -0.023334234952926636, -0.004395090043544769, 0.024383986368775368, 0.03029751218855381, -0.004476676695048809, -0.011194058693945408, 0.01474989764392376, 0.008015383034944534, -0.0012092019896954298, 0.0404864065349102, -0.03194655105471611, 0.002812234917655587, 0.0013231445336714387, 0.02657635509967804, -0.04689954221248627, -0.04561658203601837, -0.027466315776109695, -0.010408666916191578, -0.05184206739068031, -0.054383598268032074, -0.0854969397187233, 0.028220495209097862, 0.021483708173036575, -0.030766235664486885, 0.0022443151101469994, -0.013541394844651222, -0.10974064469337463, 0.023848561570048332, 0.043118979781866074, -0.01257790345698595, -0.04533760994672775, 0.024526411667466164, 0.053018711507320404, -0.004681115970015526, -0.04702287167310715, -0.029611162841320038, -0.007677590474486351, 0.05918336659669876, -0.011357354000210762, 0.021376274526119232, -0.05201389640569687, -0.02944779582321644, -0.006719186902046204, 0.025628721341490746, -0.00442289374768734, 0.021567203104496002, -0.005328999366611242, 0.06503841280937195, 0.04052428901195526, 0.031144248321652412, 0.048151303082704544, 0.015857072547078133, 0.0006544729694724083, 0.02511604130268097, -0.12032058835029602, -0.0044547091238200665, -0.021089306101202965, -0.014017987996339798, 0.01956816017627716, -0.04578789323568344, -0.02356235310435295, 0.06020762771368027, 0.01582615077495575, 0.011393358930945396, -0.03564712777733803, -0.005251365248113871, 0.012631462886929512, 0.014156095683574677, -0.022040385752916336, -0.005984962452203035, 0.0246241744607687, 0.04715615138411522, -0.0004395062569528818, -0.03761675953865051, 0.021863987669348717, -0.03384220972657204, 0.02381422370672226, -0.011157001368701458, -0.030252007767558098, 0.012498218566179276, -0.01111389510333538, 0.003102862974628806, -0.01831468567252159, 0.05197575315833092, 0.02444649673998356, 0.003000763012096286, 0.024570100009441376, 0.03744439408183098, 0.0031892701517790556, 0.0014383040834218264, 0.003217122983187437, 0.006739145610481501, -0.04576974734663963, -0.012052965350449085, -0.01691909320652485, 0.03861156851053238, 0.031888991594314575, 0.0056955828331410885, -0.0011831012088805437, 0.013399635441601276, 0.02317456342279911, 0.016138872131705284, 0.021295201033353806, 0.06794539093971252, -0.06665168702602386, 0.005814332515001297, -0.01498604565858841, 0.0353655107319355, -0.0476890429854393, 0.04279325157403946, -0.005083650816231966, 0.033274564892053604, -0.05289466679096222, 0.02863076515495777, 0.008008340373635292, -0.036885280162096024, -0.014608188532292843, 0.03231590613722801, 0.05989693105220795, -0.033521030098199844, -0.024894393980503082, 0.0068029058165848255, 0.0032428952399641275, 0.017455067485570908, -0.05416754633188248, -0.01773105375468731, -0.031955234706401825, -0.03529815375804901, -0.010097470134496689, 0.002094994066283107, -0.036437731236219406, -0.03838935121893883, 0.027579139918088913, 0.016158968210220337, -0.026710251346230507, 0.003806132124736905, -0.011988203041255474, 0.04847639054059982, 0.017689159139990807, 0.019704684615135193, 0.005783583968877792, -0.0016250322805717587, 0.0005765072419308126, 0.003927725832909346, 0.014751769602298737, -0.009261093102395535, -0.041133373975753784, -0.0409562774002552, -0.04819350317120552, 0.018243972212076187, 0.03636913374066353, -0.030550073832273483, -0.03374462574720383, -0.01284889318048954, 0.006772742606699467, -0.023713495582342148, 0.012939195148646832, 0.04564840346574783, -0.07455791532993317, 0.014583036303520203, 0.025843720883131027, -0.0045481352135539055, 0.0349748320877552, -0.05909823253750801, -0.07000118494033813, -0.0389726497232914, -0.03691672906279564, 0.0101238451898098, -0.035487186163663864, -0.011990071274340153, -0.04661906883120537, -0.022801442071795464, 0.033127378672361374, 0.037900011986494064, -0.000939561054110527, -0.011700911447405815, -0.02337428368628025, -0.004755521658807993, 0.024558862671256065, -0.05315542593598366, -0.03871431201696396, 0.033728424459695816, -0.03946965932846069, 0.03548691049218178, -0.029902473092079163, 0.025494419038295746, 0.020139917731285095, -0.010245317593216896, 0.027106091380119324, -0.0508621446788311, 0.05401561036705971, 0.011188114061951637, -0.03954179584980011, -0.02446748875081539, -0.02734820358455181, -0.02593708224594593, 0.013285931199789047, 0.02202773652970791, -0.02436773292720318, 0.0028919812757521868, 0.004725856240838766, 0.0033310111612081528, 0.011080182157456875, 0.012967139482498169, 0.02308468706905842, -0.02892754226922989, 0.021027471870183945, 0.05221142992377281, -0.046790920197963715, 0.01701235957443714, -0.05471761152148247, -0.029228297993540764, 0.021399518474936485, -0.023571515455842018, 0.041817549616098404, -0.04669522866606712, 0.028224419802427292, -0.00950233917683363, 0.020734639838337898, 0.005346312187612057, -0.04089312255382538, 0.0382111482322216, -0.09019714593887329, 0.0026241440791636705, -0.0696343407034874, 0.007445053663104773, 0.05087878927588463, -0.060098763555288315, -0.026875296607613564, 0.023833706974983215, -0.01361593883484602, 0.04441388323903084, -0.02459978684782982, -0.05978202819824219, 0.00893948134034872, -0.038682498037815094, -0.017500998452305794, 0.028234174475073814, -0.05736377090215683, -0.021561991423368454, -0.020836854353547096, -0.06052305921912193, 0.00798399094492197, 0.018486635759472847, 0.03688696771860123, -0.008445092476904392, 0.00450407899916172, -0.025579946115612984, 0.0122500229626894, 0.039565812796354294, 0.0277730543166399, 0.02121719717979431, 0.043290793895721436, -0.03683086857199669, 0.06814934313297272, 0.038483280688524246, 0.01733473688364029, 0.0128215616568923, -0.016104690730571747, 0.00005268775930744596, -0.04973575845360756, 0.026305902749300003, 0.005204501561820507, -0.04125872999429703, -0.04219403862953186, 0.0640893206000328, 0.008355344645678997, -0.061075687408447266, -0.01093303132802248, 0.01768014393746853, -0.08156294375658035, 0.01864154450595379, 0.013423604890704155, -0.008518697693943977, 0.023827403783798218, 0.08294195681810379, 0.026979433372616768, 0.0659528598189354, 0.04613153636455536, 0.048816218972206116, -0.02052840031683445, -0.007932404056191444, 0.0727560743689537, 0.04347163066267967, 0.055796653032302856, 0.006451789289712906, 0.059115249663591385, -0.033049196004867554, -0.04673931002616882, 0.05359794571995735, 0.030016746371984482, -0.02262333407998085, -0.024433903396129608, 0.024676091969013214, 0.061419080942869186, 0.002529085846617818, 0.052636414766311646, -0.031364139169454575, -0.03435613587498665, 0.04328775033354759, 0.0185958594083786, -0.008347718045115471, 0.05419973284006119, 0.04283064976334572, 0.03307151049375534, -0.0031518833711743355, -0.005172464996576309, -0.0036320772487670183, -0.05091187730431557, 0.049174144864082336, 0.012554185464978218, -0.01877817139029503, 0.007356841582804918, 0.014662462286651134, 0.02257484756410122, 0.13232707977294922, -0.058956578373909, 0.009312941692769527, 0.013739634305238724, 0.003740680171176791, 0.001940353075042367, 0.05866234377026558, -0.004538900218904018, 0.005582300014793873, -0.016676513478159904, -0.0417289212346077, 0.034117523580789566, 0.037658970803022385, 0.00828251801431179, 0.03530043736100197, -0.049699876457452774, -0.02678711712360382, 0.02737395651638508, 0.022853123024106026, -0.01577800326049328, -0.03970889374613762, -0.025435591116547585, -0.03920697420835495, -0.0397198460996151, -0.03550644963979721, 0.04150288924574852, -0.02344411239027977, -0.04499676823616028, -0.003796208184212446, -0.02362864278256893, 0.03335784375667572, -0.0028415026608854532, -0.055716875940561295, -0.014293868094682693, 0.03786564990878105, 0.0142494086176157, 0.03296677768230438, 0.03750641271471977, 0.03441149368882179, -0.0004358721198514104, 0.009897627867758274, -0.004588147159665823, 0.005332957487553358, -0.004800889641046524, -0.037877753376960754, -0.016181353479623795, -0.08209419250488281, 0.01850820519030094, 0.0022649073507636786, -0.00447137001901865, -0.061199359595775604, 0.0011814885074272752, -0.06438431888818741, 0.06397048383951187, 0.08561571687459946, 0.0037906398065388203, 0.008049776777625084, -0.056658241897821426, 0.013877825811505318, 0.018174825236201286, 0.007651356980204582, 0.04568634182214737, -0.04230022802948952, 0.0423402301967144, 0.05943494290113449, -0.056127648800611496, -0.03924063965678215, 0.03008502908051014, 0.007230543997138739, -0.0024502906017005444, -0.008664238266646862, -0.056620463728904724, -0.024954169988632202, -0.13231468200683594, -0.01766318827867508, 0.029727190732955933, 0.028143689036369324, -0.01465823594480753, -0.0016016503795981407, -0.011377977207303047, 0.023345299065113068, -0.017266230657696724, -0.05151267349720001, 0.0030802451074123383, -0.02990889921784401, -0.023190908133983612, -0.04739779233932495, 0.012361922301352024, -0.08658510446548462, -0.004408272914588451, -0.028292015194892883, -0.02325390838086605, 0.010860342532396317, -0.02006658725440502, -0.002120296936482191, 0.0032538322266191244, 0.025246351957321167, -0.013133018277585506 ]
371
Neural Stochastic Differential Equations for Uncertainty-Aware Offline RL
https://openreview.net/forum?id=hxUMQ4fic3
[ "Cevahir Koprulu", "Franck Djeumou", "ufuk topcu" ]
Poster
Offline model-based reinforcement learning (RL) offers a principled approach to using a learned dynamics model as a simulator to optimize a control policy. Despite the near-optimal performance of existing approaches on benchmarks with high-quality datasets, most struggle on datasets with low state-action space coverage or suboptimal demonstrations. We develop a novel offline model-based RL approach that particularly shines in low-quality data regimes while maintaining competitive performance on high-quality datasets. Neural Stochastic Differential Equations for Uncertainty-aware, Offline RL (NUNO) learns a dynamics model as neural stochastic differential equations (SDE), where its drift term can leverage prior physics knowledge as inductive bias. In parallel, its diffusion term provides distance-aware estimates of model uncertainty by matching the dynamics' underlying stochasticity near the training data regime while providing high but bounded estimates beyond it. To address the so-called model exploitation problem in offline model-based RL, NUNO builds on existing studies by penalizing and adaptively truncating neural SDE's rollouts according to uncertainty estimates. Our empirical results in D4RL and NeoRL MuJoCo benchmarks evidence that NUNO outperforms state-of-the-art methods in low-quality datasets by up to 93% while matching or surpassing their performance by up to 55% in some high-quality counterparts.
neural stochastic differential equations, offline reinforcement learning, physics-informed machine learning
We develop an uncertainty-aware, offline model-based reinforcement learning approach with neural stochastic differential equations that outperforms the state-of-the-art in continuous control benchmarks, particularly in low-quality datasets.
13,251
null
[ -0.0431692935526371, -0.008374219760298729, -0.004577289801090956, 0.05639658123254776, 0.038631193339824677, 0.050348348915576935, 0.004975097253918648, 0.015771472826600075, -0.04045598953962326, -0.04088909551501274, -0.014419076032936573, 0.01957876607775688, -0.06054399535059929, -0.011938600800931454, 0.03895977884531021, 0.050588030368089676, 0.030334772542119026, -0.03876448795199394, 0.0006584670045413077, 0.036075688898563385, -0.012522838078439236, -0.005870820954442024, 0.032085075974464417, 0.019599201157689095, -0.0007072383887134492, -0.01622171327471733, 0.014289204962551594, 0.010835593566298485, -0.01747002638876438, -0.011080509051680565, 0.02009594812989235, -0.009512249380350113, -0.0031210847664624453, -0.02610691450536251, -0.008908738382160664, 0.019422659650444984, -0.011351551860570908, -0.02463037148118019, -0.0257872361689806, 0.012217418290674686, -0.05058224871754646, -0.007426480296999216, -0.026476392522454262, -0.012096120044589043, 0.002318869112059474, 0.018390940502285957, -0.03377966210246086, 0.014602399431169033, 0.017540020868182182, -0.03873208165168762, -0.11256885528564453, 0.024992527440190315, 0.017229558899998665, -0.02274443581700325, -0.025529537349939346, 0.020958974957466125, 0.05463812127709389, -0.07582831382751465, -0.012114415876567364, -0.08763627707958221, 0.014559578150510788, 0.01036329660564661, 0.008795829489827156, 0.01033092476427555, -0.0037784615997225046, 0.011368146166205406, 0.0325939767062664, 0.0435333289206028, -0.03858179971575737, -0.006367557682096958, -0.021326478570699692, -0.018583333119750023, 0.009726070798933506, -0.002547556534409523, 0.009100147522985935, -0.07477089762687683, 0.03056587651371956, 0.02616252563893795, 0.05582728609442711, 0.014066047966480255, 0.040566980838775635, -0.006894836667925119, 0.025987179949879646, 0.033235371112823486, 0.020272422581911087, 0.003834773087874055, -0.025626130402088165, -0.0370478592813015, -0.08134040236473083, 0.054998353123664856, -0.045853711664676666, -0.03962865471839905, 0.003464621491730213, 0.047366153448820114, 0.009983510710299015, 0.01231017429381609, 0.03203525394201279, 0.022402353584766388, -0.005985698197036982, -0.010015049949288368, 0.003399058012291789, -0.026722898706793785, 0.007761067245155573, -0.04175221920013428, -0.09495927393436432, -0.04479491710662842, -0.003942104987800121, -0.02185427024960518, -0.020411035045981407, 0.006173320114612579, -0.06679391860961914, 0.019117888063192368, 0.010695907287299633, -0.03229312598705292, -0.08390042185783386, 0.0049886563792824745, 0.0023828528355807066, 0.045135218650102615, 0.01646268740296364, -0.005931176710873842, 0.043232712894678116, 0.009928582236170769, -0.009478338994085789, 0.051213204860687256, -0.001324342330917716, 0.03557397052645683, -0.008983875624835491, 0.017778001725673676, -0.0048269908875226974, -0.06739746779203415, 0.03311730921268463, 0.027533410117030144, 0.002209889004006982, 0.0026820460334420204, 0.003932966385036707, -0.002145026810467243, 0.00895742792636156, 0.024119215086102486, 0.031021656468510628, 0.03983080014586449, -0.010292048566043377, -0.032272838056087494, 0.08900544792413712, -0.0070068142376840115, 0.05554812029004097, -0.004493200685828924, 0.01613847352564335, -0.04194604977965355, -0.049835823476314545, 0.00029131927294656634, 0.008319152519106865, -0.011556760407984257, -0.03836309164762497, -0.06162315979599953, 0.016832448542118073, 0.03235927224159241, 0.025325573980808258, 0.01691667176783085, 0.004433722235262394, 0.008066818118095398, 0.02026362344622612, -0.0009616689058020711, -0.006883928552269936, 0.010661541484296322, 0.01184347178786993, -0.09238516539335251, 0.06678826361894608, 0.0030495519749820232, -0.007137265056371689, -0.03479002043604851, -0.03460263833403587, -0.023322464898228645, 0.03540248051285744, -0.014009113423526287, -0.010662599466741085, 0.0015752855688333511, 0.05389442294836044, -0.025088680908083916, 0.04738641157746315, 0.012669643387198448, -0.08010614663362503, 0.0296175517141819, 0.015426786616444588, -0.010587863624095917, -0.028293190523982048, -0.04796470329165459, 0.08447194844484329, -0.005597500596195459, -0.019469870254397392, 0.03232534974813461, -0.07709352672100067, -0.005681524518877268, 0.006588233634829521, -0.016191205009818077, 0.0659555196762085, 0.007245159242302179, -0.021411411464214325, 0.05011483281850815, 0.025835780426859856, 0.04344409331679344, 0.03156188130378723, -0.04814688116312027, 0.03594736382365227, -0.011589344590902328, -0.026051927357912064, -0.022503474727272987, 0.05533097684383392, -0.016128841787576675, 0.006398907396942377, -0.006763046607375145, -0.04861733689904213, -0.012028390541672707, -0.015456978231668472, -0.015390032902359962, 0.024104924872517586, -0.019255105406045914, -0.027961784973740578, 0.023207277059555054, 0.016088275238871574, -0.03018192946910858, -0.0007812196272425354, 0.018398836255073547, -0.014565001241862774, -0.00964839942753315, -0.02249225042760372, 0.09808368980884552, 0.054504651576280594, -0.03293481469154358, -0.01227913610637188, 0.02652093768119812, 0.025377389043569565, 0.004187219776213169, 0.021287018433213234, -0.023647645488381386, 0.030258212238550186, 0.017665069550275803, -0.0033217507880181074, -0.026138292625546455, 0.06070243939757347, -0.0010342791210860014, -0.002737457398325205, 0.07299435883760452, -0.006158532574772835, 0.053782425820827484, 0.00935422908514738, 0.015259025618433952, 0.05459975451231003, 0.017721980810165405, -0.033385273069143295, -0.03505325689911842, -0.02552192658185959, 0.0098376190289855, 0.025493595749139786, 0.006939455401152372, 0.005891059059649706, -0.05081240460276604, -0.03817588463425636, -0.009010301902890205, 0.06754520535469055, 0.03657626733183861, 0.037386201322078705, 0.02925538457930088, 0.012330652214586735, -0.014872335828840733, -0.038181353360414505, -0.11432346701622009, -0.0464702732861042, -0.005537798162549734, 0.03416908159852028, 0.04609697312116623, 0.010627605020999908, -0.016547013074159622, 0.06278330087661743, -0.01819474622607231, -0.04197892174124718, 0.006848640274256468, 0.009842022322118282, 0.0309651680290699, -0.03304973617196083, -0.027262069284915924, 0.02115957997739315, 0.07474154233932495, 0.007437245920300484, -0.016412606462836266, 0.027004333212971687, -0.04565073922276497, 0.003461887128651142, -0.005942907650023699, -0.013546840287744999, 0.020839715376496315, 0.011597571894526482, -0.01729508675634861, -0.0472838319838047, 0.05489536374807358, -0.00009918952855514362, 0.08186233043670654, 0.047843825072050095, 0.040585752576589584, -0.01000915002077818, 0.034301094710826874, -0.010615814477205276, -0.007264136336743832, -0.03539704903960228, 0.018737787380814552, 0.007347132544964552, -0.006129696033895016, 0.017157763242721558, 0.023326950147747993, -0.2568395733833313, -0.042649753391742706, -0.006443698890507221, 0.01328346412628889, 0.048533845692873, 0.0035958047956228256, 0.05448858067393303, -0.012804596684873104, -0.025415664538741112, 0.02801978774368763, 0.02172374539077282, 0.010494913905858994, -0.007933810353279114, 0.07360035181045532, 0.038963016122579575, 0.013860617764294147, 0.008294248953461647, -0.023640379309654236, -0.00441889651119709, 0.0012673435267060995, -0.030952176079154015, -0.08433457463979721, -0.029555361717939377, 0.045373979955911636, 0.013130332343280315, 0.06178159639239311, -0.07660683244466782, -0.020198186859488487, -0.04077974706888199, 0.012027764692902565, -0.040880270302295685, -0.016755815595388412, -0.03303428739309311, 0.006115020718425512, 0.0357084646821022, 0.0221302080899477, 0.012949585914611816, -0.0004835925064980984, 0.01911899447441101, 0.027682404965162277, -0.03210040181875229, 0.00519117247313261, -0.020039789378643036, 0.02574053220450878, 0.06691241264343262, 0.017798863351345062, -0.06372286379337311, 0.011196618899703026, -0.015413948334753513, 0.049085583537817, -0.01271407026797533, -0.009628303349018097, 0.026112938299775124, 0.0003968101227656007, 0.018668025732040405, -0.032510723918676376, -0.010045194067060947, -0.015497131273150444, -0.00450899126008153, 0.02886078879237175, 0.011639094911515713, -0.04235026612877846, -0.03293062373995781, -0.019879436120390892, -0.019027143716812134, -0.029227610677480698, -0.04409334808588028, -0.041947390884160995, 0.03775923699140549, 0.04770819470286369, -0.03620504215359688, -0.01975998841226101, -0.03125160187482834, -0.10078290104866028, 0.031222892925143242, 0.0021749886218458414, -0.013961654156446457, -0.07038059085607529, 0.024465035647153854, 0.047007981687784195, -0.03776140138506889, -0.04880048334598541, -0.011173143982887268, 0.02407483570277691, 0.02099810354411602, 0.008221674710512161, 0.030083198100328445, -0.04216727986931801, -0.03503084182739258, -0.019562410190701485, 0.03490791842341423, 0.020431464537978172, 0.07520054280757904, -0.03358939662575722, 0.04375563561916351, 0.059112824499607086, 0.021821599453687668, 0.013350018300116062, 0.0195548664778471, -0.023833490908145905, 0.0035414190497249365, -0.08273044973611832, -0.0023121447302401066, -0.07875979691743851, -0.014823103323578835, 0.009632888250052929, -0.0469515435397625, -0.01090187206864357, -0.0034295774530619383, 0.0188174806535244, -0.0017997024115175009, -0.0471484437584877, -0.008313752710819244, 0.006222336087375879, -0.04824430122971535, -0.01322045736014843, -0.018929123878479004, 0.04876052588224411, 0.004253807943314314, -0.007774017751216888, -0.052911244332790375, 0.028098123148083687, -0.03456408903002739, -0.025897324085235596, -0.009865357540547848, -0.01092391088604927, 0.021749287843704224, -0.005961175542324781, 0.012385565787553787, -0.024820581078529358, 0.030475808307528496, 0.05613401532173157, 0.012489955872297287, 0.027459993958473206, 0.023156950250267982, 0.00414498895406723, -0.018653953447937965, 0.011335370130836964, 0.057667553424835205, -0.0019573825411498547, -0.009869719855487347, 0.012129278853535652, 0.04849870502948761, 0.014711105264723301, -0.0034190441947430372, 0.04796071723103523, 0.04302758350968361, 0.009236592799425125, 0.020174462348222733, -0.017540378496050835, 0.035741861909627914, -0.07197938859462738, -0.025538811460137367, -0.03177309408783913, 0.0052695986814796925, -0.032290730625391006, 0.07012064754962921, -0.0312848761677742, 0.010269317775964737, -0.04715210944414139, 0.024440504610538483, 0.013610731810331345, -0.05900173634290695, 0.021166644990444183, -0.014119351282715797, 0.06742388755083084, -0.03839212283492088, -0.014246919192373753, 0.05083424970507622, 0.008347857743501663, 0.012359513901174068, -0.04855230078101158, -0.022201674059033394, -0.0357990488409996, -0.031736791133880615, 0.0009297604556195438, 0.008267457596957684, -0.05996818095445633, -0.03591267764568329, 0.013414377346634865, 0.021153802052140236, -0.030930370092391968, -0.02770870365202427, -0.005221518687903881, 0.04468898847699165, -0.029293512925505638, 0.006745427846908569, 0.00028897117590531707, -0.019110057502985, 0.025961166247725487, 0.0145474374294281, 0.04045575112104416, -0.053014472126960754, -0.0366976372897625, -0.0089036263525486, -0.03441036492586136, 0.006938192993402481, 0.03839962184429169, -0.006141201127320528, 0.012298805639147758, 0.02037224732339382, -0.006612951401621103, -0.04485577717423439, 0.00907342229038477, 0.032191626727581024, -0.05975789204239845, 0.008097255602478981, 0.06355446577072144, -0.007008812390267849, 0.01625249534845352, -0.07039439678192139, -0.02992638573050499, -0.022984353825449944, -0.009088466875255108, 0.007600298151373863, 0.01227174699306488, -0.018469201400876045, -0.019593972712755203, -0.0215702336281538, 0.01275158766657114, 0.03856294974684715, 0.003664733376353979, -0.01296806987375021, -0.029423242434859276, 0.006502196658402681, 0.02643115073442459, -0.04024108499288559, -0.005912908352911472, -0.01850217394530773, -0.0006877600681036711, 0.020518984645605087, -0.0483212023973465, 0.014560135081410408, 0.036433521658182144, -0.016313865780830383, 0.03501218929886818, -0.05963296815752983, 0.06088715046644211, -0.021124910563230515, -0.04151146858930588, -0.01804295927286148, 0.03278563916683197, -0.033584948629140854, -0.007819819264113903, -0.02572786621749401, 0.029865646734833717, 0.022758662700653076, 0.02128935232758522, 0.053346965461969376, 0.01600090228021145, 0.045917462557554245, -0.021821197122335434, -0.05708308517932892, 0.040657754987478256, 0.07074659317731857, -0.015734262764453888, -0.006738246418535709, -0.0745982751250267, -0.026907090097665787, 0.003070194274187088, -0.03771592304110527, 0.017854969948530197, -0.07088303565979004, 0.0238577239215374, 0.01613752916455269, 0.03603862598538399, 0.026239171624183655, -0.014080039225518703, 0.0497458390891552, -0.08404148370027542, 0.037388768047094345, -0.05724107101559639, 0.015873700380325317, 0.06569260358810425, -0.027186548337340355, 0.025625547394156456, 0.02274773083627224, -0.021186091005802155, 0.03193224221467972, -0.0424407459795475, -0.06324662268161774, 0.03929087519645691, -0.031226035207509995, -0.04197422042489052, 0.03398694843053818, -0.03789612278342247, -0.02541075460612774, 0.001550287939608097, -0.03513626381754875, 0.0035885463003069162, 0.005189626943320036, 0.04044424369931221, -0.026363784447312355, -0.0161884892731905, -0.054930463433265686, 0.02732798643410206, 0.02148190699517727, 0.036136090755462646, 0.005838340613991022, 0.04124151170253754, -0.056670621037483215, 0.061388082802295685, 0.023947453126311302, 0.05626005679368973, 0.032761186361312866, 0.009762205183506012, 0.005963498260825872, -0.03365074098110199, 0.039425067603588104, 0.014678564853966236, -0.011520355939865112, -0.053811609745025635, 0.020330866798758507, 0.025535812601447105, -0.038351211696863174, 0.01156651508063078, 0.005503700580447912, -0.05252743139863014, -0.020155560225248337, 0.028620678931474686, 0.027368534356355667, 0.017672063782811165, 0.06448832154273987, 0.02950221486389637, 0.05464811623096466, 0.0649338960647583, 0.018753357231616974, -0.039405208081007004, 0.024922819808125496, 0.06290934979915619, 0.05536773055791855, 0.026977663859725, -0.031189315021038055, 0.07607156783342361, -0.021384915336966515, -0.05019371956586838, 0.053903017193078995, 0.022907961159944534, -0.020865630358457565, -0.07638636976480484, 0.006142111029475927, 0.07065635174512863, -0.007735687308013439, 0.05628199130296707, -0.054466139525175095, -0.02678053267300129, 0.06565213948488235, 0.005937172099947929, -0.027232995256781578, 0.010404041968286037, 0.010070850141346455, 0.020240362733602524, 0.015805186703801155, -0.026252076029777527, -0.020746318623423576, -0.02122426964342594, 0.024384811520576477, -0.010860014706850052, -0.02664986625313759, -0.027205098420381546, 0.02810031920671463, 0.05496745929121971, 0.11061836034059525, -0.05472817271947861, -0.008610240183770657, -0.0010626957518979907, -0.006558354012668133, 0.008037775754928589, 0.02256905473768711, 0.031029026955366135, 0.013275858014822006, 0.0215774979442358, -0.006627138704061508, 0.024022875353693962, 0.017149288207292557, -0.009255783632397652, 0.00026652426458895206, -0.03682409226894379, -0.016728194430470467, 0.009600133635103703, 0.0011238256702199578, -0.00024632527492940426, -0.059453085064888, -0.026323232799768448, -0.02332756668329239, -0.07415299117565155, -0.06980063021183014, 0.018193760886788368, -0.009459766559302807, -0.02603333815932274, 0.03469831496477127, -0.02748127654194832, 0.024186372756958008, 0.021884923800826073, -0.04192541912198067, 0.000006702834525640355, 0.041007623076438904, -0.02312879078090191, -0.01066352054476738, 0.044396236538887024, 0.027100002393126488, 0.01927546225488186, -0.030721286311745644, 0.035641029477119446, -0.011392861604690552, 0.01824810542166233, -0.02359342761337757, 0.012148871086537838, -0.07520774006843567, 0.030139027163386345, 0.054618850350379944, -0.03522748500108719, -0.07114730775356293, 0.05539943650364876, -0.0537368580698967, 0.013928675092756748, 0.0597897432744503, -0.013341724872589111, 0.02188040316104889, -0.02382546104490757, -0.039296697825193405, 0.005495373159646988, 0.018861902877688408, 0.028561068698763847, -0.03907998278737068, 0.03916347026824951, 0.044581614434719086, -0.02192973718047142, -0.05862006917595863, 0.03891602158546448, 0.027779515832662582, -0.010810144245624542, -0.017528872936964035, -0.002013419521972537, -0.01833381876349449, -0.0782385915517807, -0.03731061890721321, 0.02729378268122673, -0.006768899969756603, -0.02824043110013008, -0.0051268478855490685, -0.004047496244311333, 0.02057775668799877, -0.001877168077044189, -0.027149345725774765, -0.04322288930416107, -0.053787827491760254, -0.05607706680893898, -0.05631598085165024, 0.043106481432914734, -0.014991017989814281, 0.01568189077079296, -0.04654354602098465, -0.07645265758037567, -0.016596084460616112, -0.007477641571313143, 0.012973670847713947, -0.006616526283323765, 0.00371099216863513, -0.001975648570805788 ]
372
Towards Optimal Multi-draft Speculative Decoding
https://openreview.net/forum?id=9KxnxWOBA5
[ "Zhengmian Hu", "Tong Zheng", "Vignesh Viswanathan", "Ziyi Chen", "Ryan A. Rossi", "Yihan Wu", "Dinesh Manocha", "Heng Huang" ]
Poster
Large Language Models (LLMs) have become an indispensable part of natural language processing tasks. However, autoregressive sampling has become an efficiency bottleneck. Multi-Draft Speculative Decoding (MDSD) is a recent approach where, when generating each token, a small draft model generates multiple drafts, and the target LLM verifies them in parallel, ensuring that the final output conforms to the target model distribution. The two main design choices in MDSD are the draft sampling method and the verification algorithm. For a fixed draft sampling method, the optimal acceptance rate is a solution to an optimal transport problem, but the complexity of this problem makes it difficult to solve for the optimal acceptance rate and measure the gap between existing verification algorithms and the theoretical upper bound. This paper discusses the dual of the optimal transport problem, providing a way to efficiently compute the optimal acceptance rate. For the first time, we measure the theoretical upper bound of MDSD efficiency for vocabulary sizes in the thousands and quantify the gap between existing verification algorithms and this bound. We also compare different draft sampling methods based on their optimal acceptance rates. Our results show that the draft sampling method strongly influences the optimal acceptance rate, with sampling without replacement outperforming sampling with replacement. Additionally, existing verification algorithms do not reach the theoretical upper bound for both without replacement and with replacement sampling. Our findings suggest that carefully designed draft sampling methods can potentially improve the optimal acceptance rate and enable the development of verification algorithms that closely match the theoretical upper bound.
speculative sampling
we compute maximal acceptance rate for multi-draft speculative decoding
13,244
2502.18779
[ -0.028297198936343193, 0.0026574512012302876, -0.021792348474264145, 0.07203646004199982, 0.06697762757539749, 0.04183472692966461, -0.0014671795070171356, 0.023199420422315598, -0.03590230271220207, -0.04474996030330658, -0.012706070207059383, 0.021891329437494278, -0.05420168116688728, -0.0033944298047572374, 0.02335394360125065, 0.055372390896081924, 0.04687774181365967, -0.01087106578052044, 0.04373014718294144, 0.005665229633450508, 0.021866872906684875, -0.004367731977254152, 0.03740548714995384, 0.01155951339751482, 0.061035409569740295, 0.008696368895471096, 0.007249224931001663, 0.010403953492641449, -0.017089523375034332, -0.008441583253443241, 0.030026966705918312, -0.006037214305251837, -0.0003968192613683641, 0.012586785480380058, -0.01125031616538763, -0.009986493736505508, -0.06759873032569885, 0.011167597025632858, 0.00994690228253603, 0.03677021712064743, -0.038491249084472656, 0.004399345256388187, 0.007510476280003786, 0.027043206617236137, -0.07802102714776993, 0.005087933037430048, -0.10494191199541092, 0.021110432222485542, -0.0036639582831412554, -0.04849253594875336, -0.10300973802804947, 0.027139633893966675, 0.016192112118005753, -0.01705876737833023, 0.01796155795454979, 0.05618973448872566, 0.046282943338155746, -0.0836414247751236, 0.008875424042344093, -0.03239243105053902, -0.0343359112739563, -0.018190380185842514, 0.02920570783317089, 0.022042404860258102, -0.00042439388926140964, -0.03198333829641342, -0.010549684055149555, 0.028762757778167725, -0.04879969730973244, -0.019392894580960274, -0.0051549216732382774, 0.04048008844256401, -0.02500183880329132, 0.01510675996541977, 0.00010350611410103738, -0.0623057521879673, 0.04371261969208717, 0.06399448961019516, 0.03860953450202942, -0.007285033818334341, -0.014869199134409428, 0.010785427875816822, 0.006995065603405237, 0.05757923424243927, -0.021407585591077805, -0.01972840167582035, -0.04076167568564415, -0.038870807737112045, -0.06813500076532364, 0.020928824320435524, -0.0127393314614892, -0.055551692843437195, -0.002706072526052594, 0.015295063145458698, 0.0039061340503394604, 0.015528795309364796, 0.019477758556604385, 0.04446552321314812, 0.003247933927923441, 0.010879024863243103, -0.022865671664476395, -0.022770805284380913, 0.049970924854278564, 0.003239477053284645, -0.09653614461421967, -0.02465043216943741, -0.03793599456548691, -0.02976975217461586, 0.00132695899810642, -0.00018513237591832876, -0.00004670990165323019, 0.005915374495089054, 0.017368927597999573, -0.008093676529824734, -0.06584547460079193, 0.02653522416949272, -0.00023681002494413406, 0.011479785665869713, -0.019759036600589752, 0.004752535838633776, 0.05151171237230301, 0.04796560853719711, -0.01217853557318449, 0.08448059111833572, -0.034857891499996185, 0.0026918454095721245, 0.00881846435368061, 0.02939916029572487, -0.010984117165207863, -0.046146657317876816, 0.0015857390826568007, 0.04340045526623726, -0.0032890026923269033, 0.008708811365067959, -0.007886294275522232, 0.00121493695769459, 0.006975747644901276, 0.008715227246284485, 0.08078188449144363, -0.001941327820532024, -0.02706989459693432, -0.017579149454832077, 0.030197329819202423, -0.01763952523469925, 0.03642227128148079, 0.018257658928632736, -0.030215883627533913, -0.0431920550763607, -0.05362113192677498, 0.005177862476557493, 0.005890279542654753, -0.011452645994722843, -0.013398664072155952, -0.0325196273624897, 0.024836156517267227, 0.05459834262728691, 0.00045158580178394914, 0.034098513424396515, 0.022844668477773666, 0.006050639785826206, 0.007732676342129707, 0.01930338144302368, -0.030720291659235954, 0.0039509679190814495, -0.009703830815851688, -0.060479097068309784, 0.03754384070634842, 0.03787655755877495, -0.03826551139354706, 0.018490705639123917, -0.02549006976187229, -0.03716602921485901, 0.08555883169174194, -0.023157700896263123, -0.017400726675987244, 0.0009153637802228332, 0.03858651965856552, 0.024996647611260414, 0.037715449929237366, 0.04317916929721832, -0.08119025081396103, -0.004881234373897314, 0.0129998829215765, 0.018254203721880913, 0.0038716846611350775, -0.01853344403207302, 0.09685947746038437, 0.009369462728500366, -0.020649628713726997, 0.018211062997579575, -0.09241190552711487, -0.017450856044888496, 0.021303854882717133, -0.008960247971117496, 0.030123060569167137, -0.025816287845373154, 0.009958518669009209, 0.057568807154893875, 0.04436292126774788, 0.033274997025728226, 0.0867711752653122, -0.017946328967809677, 0.040514297783374786, -0.012980774976313114, -0.015941359102725983, 0.011883496306836605, 0.041967060416936874, -0.049271661788225174, -0.04800865799188614, 0.04058777913451195, -0.027048839256167412, 0.007780759129673243, 0.004385904408991337, -0.020429641008377075, 0.012352599762380123, -0.012446023523807526, 0.02835504338145256, 0.008598590269684792, 0.01527110394090414, -0.049056947231292725, 0.07636664807796478, 0.013201510533690453, -0.015512061305344105, -0.0043050870299339294, -0.030892563983798027, 0.11477550864219666, 0.06475763767957687, -0.004829401150345802, 0.00794550683349371, 0.01493065431714058, -0.015177024528384209, -0.018360726535320282, -0.0030233520083129406, -0.03517501428723335, 0.011464365758001804, -0.009855174459517002, -0.010197466239333153, -0.012266947887837887, 0.0515095517039299, -0.03474242240190506, 0.005591138266026974, 0.037307608872652054, -0.022821081802248955, 0.04310332611203194, -0.010675455443561077, -0.008791163563728333, 0.005277235526591539, -0.02091587334871292, -0.015272194519639015, -0.03483690693974495, 0.00003318711242172867, -0.0011683980701491237, -0.016615863889455795, -0.04381638765335083, -0.028110409155488014, -0.04391917213797569, 0.0022754359524697065, 0.003767428919672966, 0.07619433850049973, 0.0641140341758728, 0.023086242377758026, 0.006722612772136927, 0.012451756745576859, -0.05113924294710159, -0.002855537226423621, -0.1031864807009697, -0.022625096142292023, -0.006886374671012163, 0.02013429068028927, 0.01482804212719202, 0.053044844418764114, 0.007101654075086117, 0.00719496700912714, -0.022026261314749718, -0.02693077176809311, 0.0003138540487270802, 0.051698390394449234, -0.015873640775680542, -0.033036258071660995, -0.0038167573511600494, -0.006567624397575855, 0.07679133117198944, -0.030126169323921204, -0.02034841850399971, -0.03239654749631882, -0.04430370032787323, -0.005160644184798002, -0.027767658233642578, 0.011105860583484173, 0.015548914670944214, 0.0034633325412869453, -0.009394143708050251, -0.022421445697546005, -0.006611240096390247, 0.06136883422732353, 0.03644581511616707, 0.039379797875881195, 0.010457475669682026, -0.01622459664940834, -0.004723881836980581, -0.008272567763924599, 0.004391438793390989, -0.012471770867705345, 0.006764926947653294, -0.02008083648979664, -0.014339931309223175, 0.020711885765194893, 0.005059015937149525, -0.2537078857421875, -0.031141823157668114, -0.007444716524332762, -0.03316868469119072, 0.019299522042274475, 0.0010179892415180802, 0.05575702339410782, -0.04431316629052162, -0.01242753490805626, 0.006370654795318842, -0.0038087889552116394, 0.014111891388893127, -0.0000664500257698819, 0.05714672431349754, 0.026327768340706825, 0.018925469368696213, -0.02015015482902527, -0.01692538522183895, 0.015566234476864338, 0.04028957709670067, 0.03123622201383114, -0.0773305892944336, -0.023743415251374245, 0.034995999187231064, 0.012603254057466984, 0.04099751636385918, -0.07470378279685974, -0.01325011346489191, -0.031554512679576874, -0.0036013980861753225, -0.01289847306907177, -0.04008147120475769, 0.030852606520056725, 0.03886442631483078, 0.01169874519109726, 0.017028160393238068, 0.048862066119909286, 0.008424129337072372, 0.0214203130453825, 0.01313979271799326, 0.012872671708464622, -0.040319815278053284, -0.02168373204767704, -0.011951200664043427, 0.078157439827919, 0.039586447179317474, -0.05192960798740387, 0.008777836337685585, -0.017173636704683304, 0.0385749489068985, -0.003259568242356181, -0.027902808040380478, -0.03365051746368408, 0.006029251962900162, -0.012466298416256905, -0.0003031700325664133, -0.015444109216332436, -0.03376902639865875, -0.039919767528772354, 0.005109105724841356, 0.01418234221637249, -0.03083665668964386, 0.001953625585883856, -0.0407559908926487, -0.03028070367872715, -0.0644390881061554, -0.07967957854270935, -0.020754823461174965, 0.04121239483356476, 0.030885791406035423, -0.013506654649972916, 0.020719019696116447, 0.02069241739809513, -0.08580990880727768, 0.029639186337590218, -0.02498805895447731, -0.02258848026394844, 0.006136425770819187, 0.0042268079705536366, 0.044713642448186874, -0.030246343463659286, -0.03803325071930885, -0.010252069681882858, 0.02318590320646763, 0.02537565305829048, -0.04360144957900047, 0.019515439867973328, -0.004301562439650297, -0.05208521708846092, -0.04476476088166237, 0.018571244552731514, 0.001132013276219368, 0.016908809542655945, 0.00808771699666977, 0.03910109028220177, 0.0282820463180542, -0.014407346025109291, 0.07735256850719452, 0.04193053022027016, 0.03041752055287361, 0.0396597757935524, -0.05552717670798302, -0.0066571226343512535, -0.03419467806816101, -0.040612101554870605, 0.03319292515516281, -0.06301025301218033, -0.015548065304756165, 0.03745917230844498, 0.004538281820714474, -0.047886740416288376, -0.0006614862359128892, -0.0037292977795004845, -0.01578514464199543, -0.003249104367569089, 0.0038288342766463757, 0.01851072534918785, 0.03669137880206108, -0.023188665509223938, -0.04147999361157417, -0.013528791256248951, 0.052857544273138046, -0.01847432553768158, -0.004068017937242985, 0.02541041187942028, -0.00844738818705082, -0.00038116416544653475, -0.015176977962255478, -0.03146219998598099, -0.018542222678661346, 0.007231061812490225, 0.024209918454289436, -0.02475673146545887, -0.007889320142567158, 0.056043967604637146, 0.0034061060287058353, -0.019378958269953728, 0.00323533290065825, 0.04308038204908371, -0.01735375076532364, 0.01596510224044323, -0.007870436646044254, 0.0349058136343956, 0.017451012507081032, 0.03204932063817978, -0.021869119256734848, 0.04839227348566055, -0.009850237518548965, -0.0016863440396264195, -0.010230019688606262, 0.04102122038602829, -0.0665077418088913, 0.0012661332730203867, -0.008983158506453037, -0.013463979586958885, 0.03084256872534752, 0.021209537982940674, 0.004859166219830513, 0.008778094314038754, -0.08665456622838974, 0.05203206464648247, -0.010456322692334652, 0.0010474289301782846, 0.00255168741568923, 0.027481820434331894, 0.03750718757510185, -0.04517259821295738, 0.0153493108227849, 0.03464573621749878, 0.0031868903897702694, -0.004382049664855003, -0.016375605016946793, -0.0471494160592556, 0.020292913541197777, -0.01813514344394207, 0.005999700166285038, 0.02333187870681286, -0.012725435197353363, -0.02964559569954872, 0.020016128197312355, 0.009838096797466278, -0.01411667000502348, -0.0017997691174969077, 0.021708287298679352, 0.08871342986822128, 0.021165404468774796, 0.006995415315032005, 0.01952544040977955, -0.036159854382276535, 0.030187802389264107, -0.04543963447213173, 0.007739609107375145, -0.015925947576761246, -0.03634579852223396, -0.021893488243222237, -0.03224543109536171, -0.016594398766756058, 0.041299499571323395, -0.0023458246141672134, 0.01421558391302824, 0.008735477924346924, -0.017800752073526382, -0.05465130880475044, -0.03468676283955574, 0.029036356136202812, -0.06556427478790283, 0.009293920360505581, 0.025117475539445877, 0.0058090705424547195, 0.023468701168894768, -0.02965416945517063, -0.027943994849920273, -0.048308394849300385, -0.0026810334529727697, 0.028411874547600746, -0.009311338886618614, -0.036766573786735535, -0.009711787104606628, -0.004425975494086742, -0.0010994041804224253, 0.006418243981897831, -0.0027105899062007666, 0.011353995651006699, -0.0020945039577782154, 0.021012524142861366, 0.04366355016827583, -0.04654663801193237, -0.020198509097099304, -0.009695922024548054, -0.02643870934844017, 0.033091332763433456, -0.039120595902204514, 0.04564925283193588, 0.03465571254491806, -0.009648719802498817, 0.0019329134374856949, -0.03466501459479332, 0.04102819785475731, -0.019176507368683815, 0.0249511506408453, 0.0012935224222019315, -0.04194103553891182, -0.03425506502389908, 0.006800288334488869, -0.040656231343746185, 0.05697009339928627, 0.012407255358994007, 0.01804444007575512, 0.011693929322063923, 0.025921758264303207, 0.019400203600525856, 0.025157982483506203, -0.0704612284898758, -0.00001539322329335846, 0.06682461500167847, 0.009783723391592503, -0.043139662593603134, -0.08925297111272812, -0.036273516714572906, 0.010836439207196236, 0.011621594429016113, 0.028933312743902206, -0.014594504609704018, 0.05211411044001579, 0.03105807863175869, 0.0329010933637619, 0.027775274589657784, -0.011666074395179749, 0.02820792980492115, -0.037319913506507874, 0.002976336982101202, -0.07516559958457947, 0.007595445029437542, 0.0783538743853569, -0.036022283136844635, 0.02509683184325695, -0.0066865189000964165, -0.07217278331518173, 0.04810981824994087, -0.008003355003893375, -0.05701218545436859, 0.024138204753398895, -0.02248784713447094, 0.005853821057826281, 0.029802802950143814, -0.05616946145892143, -0.04163191467523575, -0.014449972659349442, -0.04052504524588585, -0.02470496855676174, 0.03471750766038895, 0.04716856777667999, -0.029305357486009598, 0.015017976984381676, -0.03986305370926857, -0.01560815330594778, 0.029200054705142975, 0.04659334942698479, 0.028654983267188072, 0.03344099596142769, -0.009482696652412415, 0.05035211518406868, 0.041969384998083115, -0.018506696447730064, 0.026555104181170464, 0.014247511513531208, -0.03810528665781021, -0.05273836851119995, 0.05896351486444473, -0.024984518066048622, 0.0018533869879320264, -0.06970880180597305, 0.07910732179880142, 0.038335103541612625, -0.05529285594820976, -0.03666985407471657, 0.026580385863780975, -0.044154975563287735, -0.019187932834029198, -0.017736289650201797, 0.008536012843251228, -0.01633506827056408, 0.05194391682744026, 0.011241517961025238, 0.05494467169046402, 0.09008898586034775, -0.024356577545404434, -0.02888728305697441, -0.010199683718383312, 0.06203127279877663, 0.06312163919210434, 0.04927828535437584, 0.0001494510070187971, 0.05146167054772377, -0.04135427996516228, -0.040357597172260284, 0.015539942309260368, 0.009758145548403263, -0.02962551824748516, -0.017685942351818085, -0.003953245002776384, 0.06762319058179855, -0.007735029328614473, 0.08618179708719254, -0.02213185653090477, -0.00683946767821908, 0.041299592703580856, 0.028175294399261475, 0.017295384779572487, 0.05560450628399849, 0.015466555953025818, 0.0047143809497356415, -0.029072638601064682, -0.01805085875093937, 0.02276747301220894, -0.009285380132496357, -0.013700515031814575, 0.004630116745829582, -0.030656784772872925, 0.04948607087135315, -0.010713406838476658, 0.055002301931381226, 0.10117979347705841, -0.045227911323308945, -0.04666748270392418, -0.01559517253190279, -0.002650621347129345, 0.003926954232156277, 0.04664881154894829, 0.0061271218582987785, -0.012377886101603508, -0.004485368728637695, -0.06767534464597702, 0.016925310716032982, 0.0195930078625679, -0.013206928968429565, 0.01566403917968273, -0.015727069228887558, -0.007674808148294687, 0.006561909802258015, 0.03643197938799858, -0.07541879266500473, -0.052861787378787994, -0.020745478570461273, -0.05708080530166626, -0.07044863700866699, -0.06556926667690277, 0.015205202624201775, 0.002803954528644681, -0.0006337098893709481, -0.003847498446702957, -0.04925304651260376, 0.0012188078835606575, 0.002069335663691163, -0.07691095769405365, -0.01913408562541008, 0.05781884863972664, -0.009294302202761173, -0.016536634415388107, 0.03190033882856369, -0.00009809921175474301, -0.03744598478078842, -0.016216427087783813, 0.022198256105184555, 0.027110768482089043, 0.03743106871843338, 0.023338448256254196, -0.004609489347785711, -0.0972893089056015, 0.02558838576078415, 0.014421188272535801, -0.006873800419270992, -0.0805521085858345, 0.018610024824738503, -0.029376516118645668, 0.00900803878903389, 0.07572612911462784, 0.010007457807660103, 0.03812558203935623, -0.034286025911569595, -0.011347737163305283, 0.023006582632660866, -0.007548548746854067, 0.036132633686065674, -0.039534978568553925, 0.09392716735601425, 0.046858809888362885, -0.01831034943461418, -0.05427204445004463, 0.01417828630656004, -0.0075894733890891075, -0.02020670846104622, -0.007822302170097828, -0.0070773581974208355, -0.04582875221967697, -0.07748088240623474, -0.003823417006060481, 0.034115519374608994, -0.01362993661314249, -0.05618327856063843, 0.024835646152496338, -0.026440318673849106, -0.04481760784983635, -0.0005356278270483017, -0.018620552495121956, -0.03642898052930832, -0.038538090884685516, -0.05219428613781929, -0.07676554471254349, 0.025753920897841454, -0.005122211761772633, 0.0031640094239264727, -0.04726051539182663, -0.06828221678733826, -0.005751246586441994, 0.0274801068007946, 0.04470871016383171, 0.014820258133113384, 0.011030900292098522, -0.03172044828534126 ]
373
Diffusion Generative Modeling for Spatially Resolved Gene Expression Inference from Histology Images
https://openreview.net/forum?id=FtjLUHyZAO
[ "Sichen Zhu", "Yuchen Zhu", "Molei Tao", "Peng Qiu" ]
Poster
Spatial Transcriptomics (ST) allows a high-resolution measurement of RNA sequence abundance by systematically connecting cell morphology depicted in Hematoxylin and eosin (H\&E) stained histology images to spatially resolved gene expressions. ST is a time-consuming, expensive yet powerful experimental technique that provides new opportunities to understand cancer mechanisms at a fine-grained molecular level, which is critical for uncovering new approaches for disease diagnosis and treatments. Here, we present $\textbf{Stem}$ ($\underline{\textbf{S}}$pa$\underline{\textbf{T}}$ially resolved gene $\underline{\textbf{E}}$xpression inference with diffusion $\underline{\textbf{M}}$odel), a novel computational tool that leverages a conditional diffusion generative model to enable in silico gene expression inference from H&E stained images. Through better capturing the inherent stochasticity and heterogeneity in ST data, $\textbf{Stem}$ achieves state-of-the-art performance on spatial gene expression prediction and generates biologically meaningful gene profiles for new H&E stained images at test time. We evaluate the proposed algorithm on datasets with various tissue sources and sequencing platforms, where it demonstrates clear improvement over existing approaches. $\textbf{Stem}$ generates high-fidelity gene expression predictions that share similar gene variation levels as ground truth data, suggesting that our method preserves the underlying biological heterogeneity. Our proposed pipeline opens up the possibility of analyzing existing, easily accessible H&E stained histology images from a genomics point of view without physically performing gene expression profiling and empowers potential biological discovery from H&E stained histology images. Code is available at: https://github.com/SichenZhu/Stem.
Gene Expression Prediction, Diffusion Model, Spatial Transcriptomics, H&E
null
13,234
2501.15598
[ 0.0057144127786159515, 0.00025166317936964333, -0.01849767379462719, 0.04672391340136528, 0.054994821548461914, 0.04620245844125748, 0.01155374851077795, -0.010089951567351818, 0.02176380343735218, -0.052474576979875565, 0.008403847925364971, -0.026967499405145645, -0.017131967470049858, 0.041543442755937576, -0.016238810494542122, 0.04282573610544205, 0.027275631204247475, -0.030684754252433777, 0.016559254378080368, 0.053649891167879105, 0.006071696523576975, -0.029596591368317604, 0.005955426953732967, 0.03597013279795647, 0.0423390194773674, -0.030258558690547943, 0.0030314254108816385, -0.00010374977864557877, -0.04133084416389465, 0.011756266467273235, 0.0009678056230768561, -0.004030117765069008, 0.008090191520750523, -0.04481931030750275, 0.006550229620188475, 0.022767508402466774, -0.017258787527680397, 0.005277424585074186, -0.030566450208425522, -0.013640105724334717, -0.07334449142217636, 0.023398708552122116, -0.021840965375304222, 0.05523878335952759, -0.028311435133218765, 0.0052719200029969215, -0.1274692714214325, 0.04728037863969803, 0.0125621622428298, 0.020086582750082016, -0.07797462493181229, 0.03847635164856911, -0.006199113558977842, 0.0014445966808125377, 0.013445563614368439, 0.044057928025722504, 0.03659271448850632, -0.06225539371371269, -0.02618364244699478, -0.06516551226377487, -0.01357469242066145, -0.0039688763208687305, -0.012411690317094326, 0.043888092041015625, 0.02155611664056778, -0.01784958876669407, 0.009873406030237675, 0.018383214250206947, -0.04014991596341133, -0.0614805594086647, -0.021899087354540825, 0.018231941387057304, 0.012976017780601978, 0.0095855463296175, 0.02311987243592739, -0.01103066373616457, 0.004739245865494013, 0.006997755263000727, 0.06454558670520782, -0.009471667930483818, 0.026641104370355606, -0.012192805297672749, -0.018806101754307747, 0.030124012380838394, -0.02909156307578087, -0.0025277824606746435, -0.0488600991666317, -0.029061168432235718, -0.04169192165136337, 0.02957271970808506, -0.01616603694856167, -0.033953920006752014, 0.011220368556678295, 0.03420593962073326, 0.07731658220291138, 0.004985789302736521, 0.01698702573776245, 0.009150256402790546, -0.022847197949886322, -0.007117183413356543, -0.045592714101076126, -0.012024575844407082, 0.025789553299546242, -0.015832161530852318, -0.10736377537250519, -0.018856054171919823, -0.03264894708991051, -0.03425779193639755, 0.011514058336615562, -0.0006438360433094203, 0.022744620218873024, -0.011169700883328915, 0.007322349119931459, -0.0018829735927283764, -0.0919807180762291, 0.05940605327486992, 0.043614305555820465, 0.012556292116641998, 0.04758251830935478, -0.047133080661296844, 0.03630140796303749, 0.050837405025959015, -0.024117151275277138, 0.0756603330373764, -0.021611440926790237, 0.034109506756067276, 0.017120180651545525, -0.006676624994724989, -0.0345018096268177, 0.00008931910997489467, 0.0015490431105718017, 0.05349054932594299, -0.017479760572314262, -0.0037114350125193596, 0.017635256052017212, -0.023447178304195404, 0.029710164293646812, -0.01600225828588009, 0.06700399518013, -0.030568666756153107, 0.012791603803634644, -0.020293748006224632, 0.0004862967471126467, -0.01437517162412405, 0.0474618561565876, -0.03869883343577385, -0.005162708926945925, -0.01679335907101631, -0.017652960494160652, 0.005982490722090006, 0.02559630386531353, -0.0016394512495025992, 0.04697585478425026, -0.060953136533498764, -0.006247860845178366, 0.07723423838615417, 0.009031616151332855, 0.016504932194948196, 0.01746232807636261, 0.007225086912512779, 0.0582234188914299, -0.004118709824979305, 0.007810387760400772, -0.003784274449571967, -0.01708582043647766, -0.01301239337772131, 0.06773368269205093, 0.004648284986615181, -0.05968508869409561, -0.04121951386332512, -0.04750409722328186, -0.052704643458127975, 0.04093919321894646, 0.01651857979595661, 0.024975402280688286, -0.024940934032201767, 0.034158021211624146, 0.002033899538218975, 0.0245711337774992, 0.01669086329638958, -0.08301007747650146, 0.021518554538488388, 0.0005225833738222718, -0.001929321326315403, 0.05036110058426857, -0.021603094413876534, 0.08962308615446091, -0.006676872726529837, 0.024510890245437622, 0.05205909535288811, -0.08223894238471985, -0.07510346919298172, 0.04609464481472969, -0.015419913455843925, 0.028152350336313248, 0.016670726239681244, -0.0008912883349694312, 0.028629152104258537, 0.00030862638959661126, 0.02010512165725231, 0.029335543513298035, -0.04304549843072891, 0.06645473837852478, -0.0193038247525692, -0.06751474738121033, -0.02659141644835472, 0.0388818234205246, -0.02414538711309433, -0.0008347645052708685, 0.017742643132805824, -0.014963602647185326, 0.00948081724345684, -0.010338661260902882, -0.02674460969865322, 0.04606578126549721, -0.004007838200777769, -0.009652401320636272, 0.018823841586709023, -0.0224736537784338, -0.06820520013570786, 0.015665654093027115, 0.023694388568401337, -0.04504965990781784, 0.02279607765376568, 0.0077890679240226746, 0.10578641295433044, 0.0870015099644661, -0.033146996051073074, 0.009077398106455803, 0.03856179490685463, -0.004114215727895498, -0.007005759980529547, 0.016440005972981453, 0.002269009593874216, -0.004941877909004688, -0.0005820175283588469, 0.015128761529922485, -0.018078526481986046, 0.026752017438411713, -0.058315277099609375, 0.030354570597410202, 0.044693831354379654, -0.00826043076813221, 0.022250482812523842, 0.008529356680810452, 0.011514067649841309, 0.0435807928442955, -0.02742956019937992, -0.06252263486385345, -0.03716565668582916, 0.008063146844506264, 0.019292524084448814, -0.0005617354763671756, 0.0043019880540668964, 0.0012490605004131794, -0.029558729380369186, -0.003588201943784952, 0.023548156023025513, 0.05660106986761093, 0.04957703873515129, 0.003596315160393715, 0.00982558075338602, 0.011764539405703545, -0.06231037527322769, -0.050723280757665634, -0.09020063281059265, -0.023560456931591034, -0.043216999620199203, 0.06382128596305847, 0.003908829763531685, 0.0629197210073471, 0.007302004843950272, -0.028845272958278656, -0.054069116711616516, -0.046831164509058, -0.014325440861284733, 0.03305321931838989, 0.004307350609451532, -0.023792380467057228, -0.02095738612115383, 0.014693237841129303, 0.06790108233690262, -0.026593711227178574, -0.0007990241283550858, -0.008648592978715897, -0.044121865183115005, -0.004901867359876633, 0.012683005072176456, -0.011054065078496933, 0.0412505641579628, -0.0022226704750210047, 0.013629582710564137, -0.04390222206711769, 0.009167421609163284, 0.05555902421474457, 0.03487679362297058, 0.02295967936515808, -0.016892626881599426, -0.02519887499511242, -0.03247154876589775, 0.006574688013643026, 0.028896693140268326, -0.02126701921224594, -0.023173799738287926, -0.021440669894218445, 0.023461468517780304, 0.015866154804825783, -0.03276412934064865, -0.24412670731544495, 0.0048023974522948265, -0.004096961114555597, 0.0049331882037222385, 0.041773129254579544, -0.032073698937892914, 0.019503580406308174, -0.02451919950544834, -0.0350298136472702, -0.0025047629605978727, -0.0442950613796711, 0.037904612720012665, -0.017332924529910088, 0.061219558119773865, 0.04613574594259262, 0.006134204566478729, -0.056105948984622955, -0.04237779602408409, 0.0553194098174572, 0.0021197122987359762, -0.03679211437702179, -0.052876293659210205, -0.019527999684214592, 0.049130577594041824, -0.015108911320567131, 0.05475015565752983, -0.06213529035449028, 0.00877708662301302, -0.018575245514512062, -0.01619667373597622, -0.010001903399825096, -0.06850486993789673, 0.004021173343062401, 0.04894084483385086, -0.014725691638886929, 0.02326277457177639, 0.029257994145154953, 0.02854061685502529, 0.016812296584248543, 0.019706308841705322, 0.01894811913371086, -0.0018978462321683764, -0.04683380946516991, -0.02288060449063778, 0.046010881662368774, -0.012598192319273949, -0.005296808667480946, 0.03251815214753151, -0.01687716692686081, 0.03196408599615097, 0.017815683037042618, -0.014346795156598091, -0.024403318762779236, -0.005068660713732243, -0.017455020919442177, -0.043110668659210205, -0.0077540092170238495, 0.0011579790152609348, -0.029738057404756546, -0.010660757310688496, -0.0123243797570467, -0.044284410774707794, -0.045404788106679916, -0.05608244612812996, -0.003157916711643338, -0.019687596708536148, -0.08583630621433258, -0.03697583079338074, 0.05591757968068123, 0.007796821650117636, -0.01464908104389906, -0.002842518500983715, -0.006631423719227314, -0.11053407937288284, -0.009428387507796288, 0.00975570734590292, -0.03773074597120285, -0.004741069860756397, -0.005876775830984116, 0.042787302285432816, -0.013661541044712067, -0.040283095091581345, 0.005615358240902424, 0.03710120543837547, -0.015501173213124275, -0.029358135536313057, 0.025489216670393944, -0.02258978597819805, -0.015248140320181847, -0.01440250501036644, 0.013604587875306606, -0.030583737418055534, 0.029393412172794342, -0.000825568160507828, 0.022525399923324585, 0.0365157388150692, 0.008017306216061115, 0.05124903470277786, 0.035357460379600525, -0.024345530197024345, 0.05962866544723511, -0.04956682026386261, -0.02730381302535534, -0.04132548347115517, 0.007861818186938763, 0.015638679265975952, -0.05694451555609703, -0.01861027628183365, 0.0395008809864521, 0.009721585549414158, -0.024851253256201744, 0.011497794650495052, 0.00981417577713728, -0.023078124970197678, 0.03626936674118042, -0.030024578794836998, -0.025636805221438408, 0.038639530539512634, 0.07020904868841171, -0.017387427389621735, -0.005754630081355572, 0.02167411521077156, -0.03942255675792694, -0.016012370586395264, 0.03868619725108147, -0.012055449187755585, -0.01533799059689045, 0.00821519922465086, 0.010038037784397602, 0.009537778794765472, 0.06551340967416763, 0.011855135671794415, 0.0256044864654541, 0.02130577154457569, 0.05445633456110954, 0.006717226468026638, -0.04644393548369408, -0.02700679562985897, 0.020889589563012123, -0.007240268401801586, 0.026256004348397255, -0.014172578230500221, 0.04764914885163307, 0.013777807354927063, 0.05979543179273605, 0.007685062941163778, -0.010200989432632923, 0.07506128400564194, 0.003625394543632865, -0.05269048362970352, 0.0026772930286824703, -0.014042863622307777, -0.03450881317257881, -0.021371595561504364, -0.0035592420026659966, -0.007490608375519514, 0.04626071825623512, -0.016850048676133156, 0.027928952127695084, -0.047461338341236115, 0.0451897531747818, 0.02534329704940319, -0.05019284784793854, 0.004361732397228479, -0.02290201745927334, 0.028277698904275894, 0.0005910855252295732, 0.04270540550351143, -0.006424407009035349, -0.0024161520414054394, 0.016796108335256577, -0.01829349435865879, -0.028787460178136826, -0.026155227795243263, -0.053810104727745056, 0.018737182021141052, -0.003723287023603916, -0.022014686837792397, -0.042473290115594864, 0.056388337165117264, -0.00038932194001972675, -0.03942035511136055, 0.02512323297560215, 0.025122469291090965, 0.08865496516227722, 0.04645009711384773, 0.0348813533782959, -0.0544656440615654, -0.04125811904668808, 0.03235263004899025, -0.03234728053212166, 0.004668838810175657, -0.04618019238114357, 0.014004422351717949, -0.0372936986386776, -0.03378080949187279, -0.009814692661166191, 0.014512673020362854, -0.012823816388845444, -0.017030028626322746, 0.013982368633151054, -0.016261370852589607, -0.006738516502082348, 0.011048771440982819, 0.049825605005025864, -0.055783212184906006, 0.008746720850467682, 0.04734097793698311, -0.049960196018218994, -0.0006072758114896715, 0.0007960220682434738, -0.04162101447582245, -0.014699478633701801, 0.01316357683390379, -0.0226754117757082, -0.0124182915315032, 0.001469710492528975, -0.047333478927612305, 0.0018136254511773586, 0.02844507433474064, -0.012969846837222576, 0.03132593259215355, -0.03189823031425476, -0.041049111634492874, -0.04243556410074234, 0.030071789398789406, -0.05300474166870117, -0.030809851363301277, 0.02236698381602764, -0.01525233406573534, 0.011242247186601162, -0.03574823960661888, 0.021049832925200462, 0.06752113252878189, 0.015674129128456116, 0.00013652147026732564, -0.04236149787902832, 0.017211923375725746, 0.027159031480550766, 0.03670405596494675, 0.04467281699180603, -0.010643740184605122, -0.03906412050127983, 0.013538732193410397, 0.009648224338889122, 0.045958731323480606, -0.01450306549668312, -0.0024928494822233915, 0.01554909348487854, 0.030728425830602646, 0.027610549703240395, 0.021971814334392548, -0.02549557387828827, 0.014863324351608753, 0.05851719528436661, -0.027499277144670486, -0.0245486069470644, -0.05369680002331734, -0.0628589615225792, 0.006604548543691635, -0.02035256288945675, 0.015261287800967693, 0.0033484504092484713, 0.03761453926563263, 0.06628493219614029, 0.006270759738981724, -0.03562665730714798, -0.008968573063611984, 0.03281285986304283, -0.05057752877473831, -0.017420604825019836, -0.06604377180337906, -0.01543346606194973, 0.054397303611040115, -0.043405331671237946, 0.01831844262778759, -0.0029254481196403503, 0.006085383240133524, 0.010761447250843048, -0.056046001613140106, -0.06796211004257202, 0.0019357397686690092, -0.004992096219211817, -0.02072073332965374, -0.01089215837419033, -0.03613551706075668, -0.002288319868966937, 0.0008194998954422772, -0.01685195229947567, 0.017497051507234573, 0.044880110770463943, 0.01655331440269947, -0.047153666615486145, -0.006840839516371489, 0.01686783693730831, 0.01610266976058483, 0.03613018989562988, 0.06774681806564331, 0.010443802922964096, 0.04380324110388756, -0.05626838281750679, 0.07090988755226135, 0.06099589169025421, -0.01096144039183855, 0.014710409566760063, 0.009594102390110493, 0.025571417063474655, -0.006220073904842138, -0.009330347180366516, 0.032048992812633514, 0.0068367463536560535, -0.08030631393194199, 0.08104904741048813, 0.012415388599038124, -0.06542661041021347, -0.03028855100274086, 0.045531265437603, -0.01763417012989521, 0.021626058965921402, -0.016042502596974373, 0.006285811308771372, 0.027145609259605408, 0.03819078207015991, 0.012889456935226917, 0.02804512158036232, 0.06452133506536484, 0.016562998294830322, 0.019521981477737427, 0.013322094455361366, 0.06610830128192902, 0.09193498641252518, 0.009034993126988411, 0.01028301939368248, 0.09259728342294693, -0.038263045251369476, -0.027730554342269897, 0.021661829203367233, 0.024172209203243256, -0.029384037479758263, -0.01994839496910572, 0.05018698424100876, 0.0985909178853035, -0.026438863947987556, 0.03443324193358421, -0.04289131611585617, -0.008280805312097073, 0.016276925802230835, 0.045488156378269196, 0.007067329250276089, 0.014325547032058239, 0.024849724024534225, 0.032668814063072205, -0.03694470226764679, 0.007521594408899546, -0.027029234915971756, -0.02248440682888031, 0.0000490437560074497, 0.013126527890563011, -0.02763191983103752, -0.011021245270967484, -0.002926402259618044, -0.00014277453010436147, 0.06410038471221924, -0.016392938792705536, -0.0034620300866663456, 0.004935997072607279, 0.05895303189754486, 0.010708275251090527, 0.06156481057405472, 0.015508940443396568, -0.015926707535982132, -0.001139473868533969, -0.023266442120075226, 0.003042730502784252, -0.007447400595992804, -0.0076897102408111095, 0.007712934631854296, -0.035724539309740067, 0.016843529418110847, 0.0002451043401379138, -0.019521787762641907, -0.08105979114770889, -0.04990621283650398, -0.031396571546792984, -0.07803429663181305, -0.07164452970027924, -0.05992461368441582, 0.0253225639462471, -0.00584963895380497, -0.01964796520769596, 0.002660803496837616, -0.032745540142059326, 0.032428182661533356, 0.04297317937016487, -0.04178823530673981, -0.01355746015906334, 0.04719623550772667, -0.01861388050019741, -0.005143386777490377, 0.019935185089707375, -0.015142921358346939, -0.011673196218907833, -0.03427431359887123, 0.043190211057662964, -0.005803938489407301, 0.04510943964123726, -0.00499039376154542, -0.02370181493461132, -0.10623268783092499, 0.0241436455398798, 0.03784073516726494, 0.0022001233883202076, -0.09561993181705475, 0.027650315314531326, -0.012807199731469154, 0.04348659887909889, 0.05345698446035385, 0.0015298703219741583, 0.015834422782063484, -0.04265662282705307, -0.016627980396151543, -0.01057292427867651, -0.004764207173138857, 0.051394056528806686, -0.03745100274682045, 0.08383046835660934, 0.05493240803480148, -0.014747245237231255, -0.029041679576039314, 0.0433596707880497, -0.0011327125830575824, 0.01964433304965496, -0.019782034680247307, -0.0029204159509390593, -0.051530320197343826, -0.09355409443378448, -0.04308849573135376, -0.004290287382900715, -0.048172712326049805, -0.038007933646440506, -0.0027163252234458923, -0.030486535280942917, -0.003782011102885008, -0.022041602060198784, -0.0056885103695094585, 0.025032194331288338, -0.024060919880867004, -0.04385096952319145, -0.07128977030515671, -0.008974292315542698, -0.01433630008250475, 0.016818564385175705, 0.0066227419301867485, -0.04010419547557831, -0.04036574810743332, -0.008815663866698742, -0.0171266570687294, 0.00594713119789958, 0.0028195958584547043, 0.021671729162335396 ]
374
Diffusion State-Guided Projected Gradient for Inverse Problems
https://openreview.net/forum?id=kRBQwlkFSP
[ "Rayhan Zirvi", "Bahareh Tolooshams", "Anima Anandkumar" ]
Poster
Recent advancements in diffusion models have been effective in learning data priors for solving inverse problems. They leverage diffusion sampling steps for inducing a data prior while using a measurement guidance gradient at each step to impose data consistency. For general inverse problems, approximations are needed when an unconditionally trained diffusion model is used since the measurement likelihood is intractable, leading to inaccurate posterior sampling. In other words, due to their approximations, these methods fail to preserve the generation process on the data manifold defined by the diffusion prior, leading to artifacts in applications such as image restoration. To enhance the performance and robustness of diffusion models in solving inverse problems, we propose Diffusion State-Guided Projected Gradient (DiffStateGrad), which projects the measurement gradient onto a subspace that is a low-rank approximation of an intermediate state of the diffusion process. DiffStateGrad, as a module, can be added to a wide range of diffusion-based inverse solvers to improve the preservation of the diffusion process on the prior manifold and filter out artifact-inducing components. We highlight that DiffStateGrad improves the robustness of diffusion models in terms of the choice of measurement guidance step size and noise while improving the worst-case performance. Finally, we demonstrate that DiffStateGrad improves upon the state-of-the-art on linear and nonlinear image restoration inverse problems. Our code is available at https://github.com/Anima-Lab/DiffStateGrad.
Diffusion models, Inverse problems, Robustness, Subspace, Projection, Box inpainting, Phase retrieval
We can improve the performance and robustness of diffusion-based models in solving inverse problems by adding a Diffusion State-Guided Projected Gradient step.
13,232
2410.03463
[ -0.00790506973862648, -0.024994907900691032, -0.01850685104727745, 0.05545689910650253, 0.07677259296178818, 0.03687408193945885, 0.025841446593403816, -0.026181135326623917, -0.01332686934620142, -0.07343117147684097, 0.01811956614255905, -0.013991638086736202, -0.03485981374979019, 0.018514484167099, 0.018188271671533585, 0.05356631055474281, 0.03816697746515274, -0.038476139307022095, 0.007043773308396339, 0.07678892463445663, 0.00518382340669632, -0.032767679542303085, 0.0004112701572012156, 0.028127571567893028, 0.004858708009123802, 0.00010434454452479258, 0.03739536926150322, 0.007499047555029392, -0.0362955778837204, -0.046421121805906296, 0.0028971517458558083, 0.004405016079545021, -0.007910717278718948, -0.03873509168624878, 0.012210859917104244, 0.02867983654141426, -0.0485803447663784, 0.011069745756685734, -0.022690702229738235, 0.014174513518810272, -0.04854524880647659, 0.008059058338403702, -0.02926933392882347, 0.007231773808598518, -0.03158799931406975, -0.0024300937075167894, -0.08834731578826904, -0.0035636108368635178, 0.0009704431868158281, -0.03468750789761543, -0.10424023121595383, 0.019045526161789894, 0.005816894583404064, -0.000046648176066810265, -0.040118537843227386, 0.033606644719839096, 0.050264690071344376, -0.05812174454331398, -0.02444394677877426, -0.033922746777534485, -0.003006428014487028, 0.009638230316340923, -0.0383126363158226, -0.011600028723478317, 0.02252420037984848, -0.011477610096335411, 0.011061948724091053, 0.05814114958047867, -0.015308915637433529, -0.03331003338098526, -0.017062542960047722, -0.005736216437071562, 0.014557247050106525, -0.001037375652231276, 0.007080237381160259, -0.014448837377130985, 0.01851743832230568, 0.014648974873125553, 0.05701228603720665, -0.001966041512787342, 0.020522847771644592, 0.005875449161976576, -0.0014147005276754498, 0.012766499072313309, -0.01711880788207054, -0.004288065247237682, -0.020840443670749664, -0.016399037092924118, -0.05949889123439789, 0.04321134090423584, -0.02982369437813759, -0.06089596450328827, 0.016339754685759544, 0.02024216391146183, 0.06404473632574081, -0.04931507259607315, 0.04127057269215584, 0.0029749427922070026, 0.017544612288475037, -0.02849949337542057, -0.02509889006614685, -0.0356350913643837, 0.004736260045319796, 0.01371661014854908, -0.06455492228269577, -0.02629922144114971, -0.0568588525056839, 0.0027881511487066746, -0.047967057675123215, -0.003786602057516575, -0.016410518437623978, 0.01877087913453579, -0.021825270727276802, -0.020077966153621674, -0.09526830166578293, 0.01755702868103981, 0.03708357736468315, -0.0079890051856637, 0.02529561147093773, 0.0011062901467084885, 0.04433275759220123, 0.04658987745642662, 0.013514658436179161, 0.04702819883823395, -0.0049162376672029495, 0.05480797961354256, 0.06497620046138763, 0.022685157135128975, -0.07273898273706436, -0.046163443475961685, -0.004358936101198196, 0.036881837993860245, 0.020643949508666992, -0.0012710770824924111, 0.016822917386889458, -0.0481933131814003, 0.004080498591065407, 0.009674996137619019, 0.040287718176841736, -0.003533670213073492, 0.01469297707080841, -0.019754018634557724, 0.044065989553928375, -0.028361475095152855, 0.030233249068260193, -0.048196133226156235, 0.03139881044626236, -0.020571254193782806, -0.06346310675144196, 0.05052248761057854, 0.02023005671799183, 0.003301970660686493, 0.04627538099884987, -0.051230404525995255, -0.019674191251397133, 0.022695178166031837, -0.02956305257976055, 0.019579842686653137, -0.024991996586322784, -0.011653661727905273, 0.03928443044424057, -0.02976098842918873, -0.008073968812823296, -0.009767475537955761, 0.004793729167431593, -0.04876892268657684, 0.057960331439971924, 0.02616860345005989, -0.012445691972970963, -0.03864526376128197, -0.039874982088804245, -0.03199034556746483, 0.04597783088684082, 0.013360042124986649, 0.0018419468542560935, 0.01904606819152832, 0.014300295151770115, 0.021306252107024193, 0.013574007898569107, 0.030854355543851852, -0.0884423702955246, 0.029872708022594452, 0.008181966841220856, -0.039957866072654724, 0.03121400997042656, -0.026394424960017204, 0.0874834731221199, -0.043006181716918945, 0.018918337300419807, 0.03833157196640968, -0.09375498443841934, -0.010735470801591873, 0.019308261573314667, -0.019633686169981956, 0.05800256133079529, 0.05180785432457924, -0.024553421884775162, 0.005693316459655762, 0.03888928145170212, 0.05274878814816475, 0.05228334292769432, -0.033235494047403336, 0.04606238380074501, -0.007460391148924828, 0.00008120469283312559, -0.008488940075039864, 0.06998839974403381, -0.035178981721401215, -0.011860167607665062, 0.04388059303164482, -0.012094692327082157, -0.028921183198690414, -0.006781777832657099, -0.0027886524330824614, 0.05029899626970291, -0.007427719887346029, -0.02822767198085785, -0.006592152174562216, 0.03284768387675285, -0.0544792078435421, 0.03755555301904678, 0.034201301634311676, -0.011264566332101822, 0.030130930244922638, -0.008899382315576077, 0.09326472878456116, 0.08238891512155533, -0.02618539147078991, -0.009844274260103703, 0.021998602896928787, 0.009025475941598415, -0.00909495446830988, 0.024822838604450226, -0.03439794480800629, 0.030404018238186836, -0.017367247492074966, 0.015164443291723728, -0.023182829841971397, 0.09336462616920471, -0.039519377052783966, -0.0029402736108750105, 0.040987078100442886, 0.001104249618947506, 0.07012158632278442, 0.0007079929928295314, 0.026753751561045647, 0.08398031443357468, -0.0034616091288626194, -0.0679258182644844, -0.0052064708434045315, -0.012040352448821068, 0.0361136719584465, 0.013116537593305111, -0.03732447698712349, 0.03388300910592079, -0.04469066858291626, -0.00870182178914547, -0.008767914026975632, 0.05209686979651451, 0.06449267268180847, 0.012609248049557209, 0.022402066737413406, 0.01653458923101425, -0.04992111027240753, -0.0096670463681221, -0.0930272713303566, -0.037390466779470444, -0.018734842538833618, 0.01410808227956295, 0.007966253906488419, 0.052180156111717224, -0.02003643848001957, 0.021289967000484467, -0.01174146868288517, -0.019977940246462822, 0.009867182932794094, 0.02042534202337265, 0.01056904811412096, -0.03478299826383591, -0.0032086374703794718, 0.040681857615709305, 0.07090356945991516, -0.046254128217697144, -0.0006658467464148998, -0.03874684497714043, -0.06916256994009018, -0.004229723941534758, 0.025584006682038307, -0.003633926622569561, 0.019523244351148605, 0.01187555119395256, 0.0063273417763412, -0.005884766113013029, 0.03498203679919243, 0.009894868358969688, 0.045316122472286224, 0.03190305456519127, 0.0002404791011940688, -0.004390142858028412, 0.0023007828276604414, -0.006766655948013067, 0.006283095106482506, 0.0027963321190327406, 0.020555106922984123, -0.03573207929730415, -0.015873411670327187, 0.04485560581088066, -0.02823624201118946, -0.25183746218681335, 0.01720474660396576, 0.01601504720747471, 0.0043196058832108974, 0.04919957369565964, -0.009257168509066105, 0.03434957191348076, -0.023769740015268326, -0.051099278032779694, 0.039997681975364685, 0.002284243470057845, 0.041816893965005875, 0.02343456633388996, 0.0730038657784462, 0.051919400691986084, -0.009809822775423527, 0.019547341391444206, -0.01175689697265625, -0.005499208811670542, 0.04348831623792648, -0.030325714498758316, -0.07337044179439545, -0.0026746594812721014, 0.008971475064754486, -0.0007234092918224633, 0.0047700670547783375, -0.05913761630654335, 0.014715269207954407, -0.04285343736410141, -0.017285585403442383, -0.031465064734220505, -0.02511473186314106, -0.0002086877793772146, 0.05518321320414543, -0.018444405868649483, -0.01432576309889555, 0.024551451206207275, 0.03847573697566986, 0.032064590603113174, -0.03235471248626709, -0.006595872808247805, -0.001751767355017364, -0.04705074056982994, 0.010600483976304531, 0.04505487531423569, 0.020908400416374207, -0.003800266655161977, -0.01061183586716652, 0.027643853798508644, 0.02788904309272766, 0.02741265296936035, 0.01316283643245697, 0.000010083319466502871, -0.0004806301440112293, -0.00948586966842413, -0.027251651510596275, 0.012610048055648804, 0.018393466249108315, -0.005212492309510708, 0.03856167942285538, -0.02179129235446453, -0.04631494730710983, -0.01770670898258686, -0.03423595800995827, 0.0029493761248886585, -0.043223265558481216, -0.07173669338226318, -0.058474041521549225, 0.04267187789082527, 0.016807958483695984, -0.015175748616456985, -0.006478835362941027, -0.023000415414571762, -0.10790590941905975, 0.04372372478246689, -0.0020419673528522253, -0.009935499168932438, -0.06330232322216034, -0.02119646966457367, 0.02901821956038475, -0.03849804028868675, -0.037597451359033585, 0.03260466456413269, 0.04812362417578697, -0.01932106725871563, -0.0052583119831979275, 0.025585992261767387, -0.04315345361828804, -0.017809884622693062, -0.053044747561216354, 0.04027636721730232, -0.004504850599914789, 0.024044280871748924, -0.006706970278173685, 0.015885433182120323, 0.06629998236894608, 0.0179787278175354, 0.05706895887851715, 0.02873133309185505, -0.021115193143486977, 0.038754794746637344, -0.08267375081777573, -0.02955351211130619, -0.04912946745753288, -0.021069617941975594, 0.018533645197749138, -0.04965855926275253, -0.03497305512428284, 0.04746076092123985, 0.007714267820119858, -0.040442511439323425, 0.011829965747892857, 0.006985613144934177, 0.001355900545604527, -0.028846928849816322, -0.009529725648462772, -0.011555707082152367, 0.03811116889119148, 0.019128158688545227, -0.01588674820959568, 0.0034527729731053114, 0.029005492106080055, -0.030481144785881042, 0.006162161473184824, 0.0008824276155792177, 0.00559597834944725, -0.020743155851960182, 0.007452182471752167, 0.0120858671143651, -0.0017697860021144152, 0.07969002425670624, 0.06168676167726517, 0.025276385247707367, 0.050444260239601135, 0.039047714322805405, 0.0034393067471683025, -0.009049861691892147, -0.026659276336431503, 0.04299548640847206, -0.038065355271101, 0.01792360283434391, -0.016494562849402428, 0.05408301576972008, 0.006480411626398563, 0.037661995738744736, 0.03144729137420654, 0.018373601138591766, 0.028941210359334946, -0.0057661826722323895, -0.0408947616815567, 0.04207181558012962, -0.049521662294864655, -0.058781541883945465, -0.018051335588097572, 0.024941187351942062, -0.03676830604672432, 0.030022431164979935, -0.043757397681474686, 0.039999086409807205, -0.07707544416189194, 0.017418820410966873, 0.043491411954164505, -0.05336534604430199, -0.007283126004040241, -0.01495265495032072, 0.04038430005311966, -0.012742956168949604, -0.004893070552498102, 0.021056929603219032, -0.005512936040759087, 0.023562463000416756, -0.03134331852197647, -0.04106239974498749, -0.03663843497633934, -0.020533882081508636, 0.00807451643049717, 0.005998905282467604, -0.024147095158696175, -0.049557242542505264, 0.03841531649231911, 0.04120820015668869, -0.037126023322343826, -0.014701314270496368, 0.016752392053604126, 0.05667249485850334, -0.03134884312748909, 0.00487641803920269, -0.01107342541217804, -0.014572125859558582, 0.04422619566321373, -0.014805898070335388, -0.003773579839617014, -0.07007535547018051, -0.028358159586787224, -0.02601742185652256, -0.04245183244347572, -0.003583190031349659, 0.03778805956244469, -0.014950927346944809, 0.0016471061389893293, -0.019441010430455208, 0.025413399562239647, -0.022214362397789955, -0.002169386250898242, 0.017664210870862007, -0.06585311889648438, -0.004097572062164545, 0.04760299623012543, -0.0251759123057127, 0.0027516523841768503, -0.013423205353319645, -0.039312541484832764, -0.07687390595674515, -0.010371267795562744, 0.011384692043066025, -0.01538681611418724, -0.007347614038735628, -0.021512383595108986, 0.028262779116630554, 0.009457290172576904, 0.008664257824420929, 0.027883486822247505, -0.008618990890681744, -0.009968163445591927, -0.005969650112092495, 0.025828732177615166, -0.03488445654511452, 0.006005961447954178, 0.0075030154548585415, -0.017529062926769257, 0.01845153048634529, -0.0353398472070694, 0.0013436534209176898, 0.04935543239116669, 0.02904277853667736, 0.024044344201683998, -0.04677196964621544, 0.024133728817105293, -0.06462978571653366, -0.01034002099186182, 0.0018675066530704498, 0.011992375366389751, -0.009152556769549847, -0.0017942817648872733, -0.004983339458703995, 0.01932516135275364, 0.008805868215858936, -0.01437686663120985, 0.011156857945024967, 0.056134939193725586, 0.02129025012254715, 0.007759394124150276, -0.07257839292287827, -0.010021980851888657, 0.06908339262008667, -0.018361754715442657, -0.009420502930879593, -0.09099636971950531, -0.028171230107545853, 0.025034194812178612, 0.008494679816067219, 0.01872280053794384, -0.02302597090601921, 0.008517870679497719, 0.03180300444364548, -0.01650855503976345, -0.00969462189823389, 0.009548353031277657, 0.04075303301215172, -0.061527956277132034, -0.0035669170320034027, -0.046187639236450195, 0.014309406280517578, 0.05148026719689369, -0.057116467505693436, 0.027725225314497948, 0.01605989784002304, 0.015568750910460949, 0.038787633180618286, -0.03170549124479294, -0.07919448614120483, 0.007146558258682489, -0.0406428687274456, -0.025708885863423347, 0.016815979033708572, -0.047054506838321686, -0.0019037413876503706, -0.015405322425067425, -0.05656545236706734, -0.002759466180577874, 0.050742898136377335, 0.020797280594706535, -0.011916586197912693, -0.01725369319319725, -0.010007510893046856, 0.012677052058279514, 0.021443551406264305, 0.07981593906879425, 0.014390995725989342, 0.011448580771684647, -0.03651995584368706, 0.05022639036178589, 0.04687493294477463, 0.03610389679670334, 0.02056020498275757, 0.01552102155983448, -0.014466389082372189, -0.03336836025118828, 0.03954053670167923, 0.028382286429405212, -0.005414870567619801, -0.08416961878538132, 0.020494641736149788, 0.04544371739029884, -0.02646554820239544, -0.04150257259607315, 0.05890566110610962, -0.036834027618169785, -0.002257696120068431, 0.008716020733118057, 0.03159993514418602, 0.013529544696211815, 0.05497019365429878, -0.002838642569258809, 0.028670594096183777, 0.02850997820496559, -0.015965912491083145, 0.02905033715069294, -0.005129044409841299, 0.07028085738420486, 0.06250004470348358, 0.026154890656471252, 0.010534797795116901, 0.07138355076313019, -0.026055296882987022, -0.033608198165893555, 0.019436325877904892, 0.004285890143364668, -0.03603772446513176, -0.04274987801909447, -0.00374413188546896, 0.11255485564470291, -0.006495845504105091, 0.0570983961224556, -0.045785799622535706, 0.01084125880151987, 0.0295766219496727, 0.027276471257209778, -0.009141366928815842, -0.02403441071510315, -0.005164517555385828, -0.0007256194367073476, 0.006050834432244301, -0.008628915064036846, -0.0334487147629261, -0.02620646543800831, 0.05130458623170853, -0.006245276425033808, -0.010412809439003468, 0.037239544093608856, 0.014005563221871853, -0.013534790836274624, 0.0772714912891388, -0.04607699438929558, -0.03690392151474953, -0.041685864329338074, -0.03402698412537575, 0.01392293069511652, 0.03202774375677109, 0.008157077245414257, -0.013994608074426651, 0.008329980075359344, -0.03408387303352356, 0.009506957605481148, 0.06795019656419754, -0.02598622627556324, 0.021317414939403534, -0.019883066415786743, 0.008685009554028511, 0.03320926055312157, 0.006088724359869957, -0.034277237951755524, -0.05302440747618675, -0.06965301930904388, -0.0471782386302948, -0.057984527200460434, -0.0213603675365448, 0.07543003559112549, 0.019857116043567657, -0.06546276062726974, 0.00831582397222519, -0.04573899880051613, -0.009588047862052917, 0.014811242930591106, -0.06246710568666458, -0.026949165388941765, 0.06791924685239792, -0.013423280790448189, -0.013889530673623085, 0.0017331913113594055, 0.02038540318608284, -0.02019023895263672, 0.0009173710132017732, 0.01879114657640457, -0.018303805962204933, 0.036627184599637985, -0.048126380890607834, 0.0030395998619496822, -0.0766809806227684, -0.0044530886225402355, 0.04683680459856987, -0.02336769737303257, -0.07905884087085724, 0.015229030512273312, -0.03273466229438782, 0.006792631931602955, 0.04647369682788849, -0.00946827046573162, -0.013187329284846783, -0.04748636111617088, -0.04062340408563614, -0.049513377249240875, 0.00571444584056735, 0.05048539116978645, -0.019428087398409843, 0.08110880851745605, 0.0633588656783104, -0.012870565056800842, -0.030019227415323257, 0.04111632704734802, -0.010877697728574276, 0.010424145497381687, -0.022421805188059807, 0.006934927776455879, -0.04403166100382805, -0.10069786757230759, -0.04140127822756767, 0.019994504749774933, -0.03849411755800247, -0.036823563277721405, 0.000678663607686758, 0.0004484897362999618, 0.03363778069615364, -0.012383746914565563, -0.010124796070158482, -0.002675820840522647, -0.0394306518137455, -0.03483280912041664, -0.039422620087862015, 0.02888825349509716, -0.001560502452775836, 0.009422516450285912, -0.009969125501811504, -0.044030677527189255, -0.01652611419558525, -0.003394701983779669, 0.037472959607839584, 0.006596861872822046, 0.0385952964425087, -0.020418155938386917 ]
375
MADGEN: Mass-Spec attends to De Novo Molecular generation
https://openreview.net/forum?id=78tc3EiUrN
[ "Yinkai Wang", "Xiaohui Chen", "Liping Liu", "Soha Hassoun" ]
Poster
The annotation (assigning structural chemical identities) of MS/MS spectra remains a significant challenge due to the enormous molecular diversity in biological samples and the limited scope of reference databases. Currently, the vast majority of spectral measurements remain in the "dark chemical space" without structural annotations. To improve annotation, we propose MADGEN (Mass-spec Attends to De Novo Molecular GENeration), a scaffold-based method for de novo molecular structure generation guided by mass spectrometry data. MADGEN operates in two stages: scaffold retrieval and spectra-conditioned molecular generation starting with the scaffold. In the first stage, given an MS/MS spectrum, we formulate scaffold retrieval as a ranking problem and employ contrastive learning to align mass spectra with candidate molecular scaffolds. In the second stage, starting from the retrieved scaffold, we employ the MS/MS spectrum to guide an attention-based generative model to generate the final molecule. Our approach constrains the molecular generation search space, reducing its complexity and improving generation accuracy. We evaluate MADGEN on three datasets (NIST23, CANOPUS, and MassSpecGym) and evaluate MADGEN's performance with a predictive scaffold retriever and with an oracle retriever. We demonstrate the effectiveness of using attention to integrate spectral information throughout the generation process to achieve strong results with the oracle retriever.
AI4Science, Biology Discovery, Metabolomics, MS/MS spectra
A novel framework for De Novo molecule generation with classifier-free guidance from mass spectra.
13,230
2501.01950
[ -0.02423747070133686, -0.017390454187989235, -0.018348854035139084, 0.026463061571121216, 0.06156689301133156, -0.012710502371191978, 0.025728635489940643, 0.0014524176949635148, -0.03662616014480591, -0.02472587674856186, -0.019040832296013832, 0.01372136827558279, -0.044370707124471664, -0.012521132826805115, 0.03410990536212921, 0.06446045637130737, 0.04421265050768852, 0.023243887349963188, 0.03417026996612549, 0.013091529719531536, -0.024888835847377777, -0.009215329773724079, 0.056467194110155106, 0.018697010353207588, 0.05244166776537895, -0.008304781280457973, -0.0043636225163936615, -0.004698721691966057, -0.05205725133419037, -0.01672407239675522, 0.016611212864518166, -0.018908893689513206, 0.010321415960788727, -0.02300526760518551, 0.017162883654236794, 0.013586153276264668, -0.06489159911870956, 0.003241549711674452, -0.012460540980100632, 0.005162152461707592, -0.04645437002182007, 0.011280139908194542, -0.006797144655138254, 0.007601618766784668, -0.06738967448472977, 0.03945654630661011, -0.08143743127584457, 0.04199051856994629, -0.04331280291080475, -0.03862141817808151, -0.06289934366941452, 0.03247165307402611, 0.010296053253114223, -0.02066217176616192, -0.007648475468158722, 0.05596642568707466, 0.02384069934487343, -0.03772025555372238, -0.023587241768836975, -0.04352260008454323, -0.03402075916528702, -0.0007601773831993341, 0.011788281612098217, 0.03084646537899971, 0.026120027527213097, -0.015461694449186325, 0.020073628053069115, 0.0009925247868523002, -0.07079920917749405, 0.00015518775035161525, 0.006912339013069868, -0.04757954925298691, -0.004243534989655018, 0.008736362680792809, 0.04880348592996597, -0.04413535073399544, 0.008148700930178165, -0.0006113940617069602, 0.02141067385673523, 0.04107053205370903, -0.029141180217266083, 0.024744557216763496, -0.0037926326040178537, 0.034503452479839325, -0.055428396910429, -0.006737345829606056, -0.05682005733251572, 0.015258333645761013, -0.05884686857461929, 0.055654529482126236, -0.013906768523156643, -0.0369006022810936, 0.017383567988872528, 0.014080586843192577, 0.048243168741464615, -0.03203972801566124, 0.02130970172584057, 0.00238358904607594, -0.021623289212584496, 0.005168216768652201, -0.022758154198527336, -0.01997167244553566, 0.013167904689908028, -0.016291841864585876, -0.08338625729084015, -0.010760149918496609, -0.04262731224298477, -0.03915557637810707, -0.005838602781295776, 0.0010114029282703996, -0.0009472474921494722, -0.0012526287464424968, -0.012555924244225025, 0.03361210972070694, -0.06929811090230942, 0.06901902705430984, 0.025885310024023056, -0.01792960800230503, 0.019595608115196228, 0.016660446301102638, 0.05326413735747337, 0.08861803263425827, -0.023152051493525505, 0.07998501509428024, -0.01697489246726036, -0.0016584953991696239, 0.020690610632300377, 0.02245946414768696, -0.0214666910469532, -0.017296168953180313, 0.003912948537617922, 0.04507557675242424, -0.030712081119418144, -0.00518615311011672, 0.029546227306127548, -0.018964452669024467, 0.03535952419042587, 0.009286237880587578, 0.09030766040086746, 0.019228987395763397, 0.007112652529031038, -0.034874558448791504, -0.014299659989774227, -0.045433953404426575, 0.04027291014790535, -0.009409538470208645, -0.025446858257055283, -0.036961764097213745, -0.026513950899243355, 0.037162356078624725, 0.023728670552372932, -0.0018875120440497994, 0.007429418154060841, -0.021619966253638268, 0.05202672630548477, 0.0937701016664505, -0.0005967245670035481, -0.003514121985062957, -0.003160845721140504, 0.0072864871472120285, -0.009427325800061226, -0.014457286335527897, -0.020824868232011795, 0.020852498710155487, 0.012504979968070984, -0.012971197254955769, 0.0033472198992967606, 0.04034597799181938, -0.033381883054971695, -0.013638784177601337, -0.04358905553817749, -0.07832253724336624, 0.07317949086427689, -0.04707778990268707, -0.011111309751868248, -0.01718272641301155, 0.034558363258838654, 0.017053158953785896, 0.020353088155388832, 0.011731973849236965, -0.08857414871454239, 0.04114685580134392, 0.005011638160794973, -0.03306102752685547, 0.004483745899051428, -0.0051500131376087666, 0.10481578856706619, 0.024908341467380524, -0.004046993795782328, 0.04872636869549751, -0.06090022996068001, -0.061673250049352646, 0.06354621052742004, 0.01094773132354021, 0.050607360899448395, -0.01580476574599743, -0.00041059954673983157, 0.03671502694487572, 0.005542859435081482, -0.005535401403903961, -0.015985600650310516, 0.02186177857220173, 0.09406761825084686, -0.06471181660890579, -0.032323792576789856, -0.026350170373916626, 0.020153820514678955, -0.06681001931428909, -0.015308383852243423, -0.006310697644948959, -0.014098004437983036, -0.00204786891117692, 0.009658333845436573, -0.016138870269060135, 0.023505043238401413, -0.01525056827813387, 0.0037526474334299564, -0.0007095414330251515, -0.06240350008010864, -0.005170062649995089, 0.05359529331326485, 0.019219787791371346, 0.004172586835920811, -0.0025023948401212692, -0.03002176806330681, 0.10780270397663116, 0.07729770243167877, -0.03875814005732536, 0.019034728407859802, 0.04059552401304245, 0.035881318151950836, -0.02132968045771122, 0.007130634970963001, -0.021495383232831955, -0.03394708409905434, -0.02566698007285595, 0.021307649090886116, 0.014495407231152058, 0.048660364001989365, -0.0662691593170166, 0.02113267593085766, 0.038762349635362625, -0.017120881006121635, 0.052302055060863495, -0.025048617273569107, -0.009038906544446945, 0.03691879287362099, -0.014147922396659851, -0.08158357441425323, -0.006223005708307028, -0.0056068929843604565, -0.00013969589781481773, -0.012661419808864594, -0.030550453811883926, 0.007446330972015858, -0.06847178936004639, -0.06176333129405975, -0.02031286619603634, 0.050320517271757126, 0.05286158621311188, -0.02084285393357277, 0.014179810881614685, 0.009330673143267632, -0.037740882486104965, -0.03443220630288124, -0.08893299847841263, -0.02657306380569935, -0.020185338333249092, 0.028107572346925735, 0.015652814880013466, 0.06516185402870178, 0.005590318236500025, -0.025783859193325043, -0.010812273249030113, -0.02115330845117569, 0.030235186219215393, 0.006137470249086618, 0.0090281181037426, -0.0769302025437355, 0.0013389422092586756, -0.003291952656581998, 0.08295241743326187, -0.007781391032040119, -0.017968768253922462, -0.05809945985674858, -0.06351407617330551, -0.021694017574191093, -0.02043522521853447, 0.008511628955602646, 0.051395636051893234, 0.009087908081710339, 0.018187616020441055, -0.04001999273896217, 0.02487289346754551, 0.04590628668665886, -0.008398786187171936, 0.012688259594142437, 0.06344596296548843, -0.015573822893202305, 0.026971757411956787, -0.0017699407180771232, 0.03274916112422943, -0.037015002220869064, -0.01707102172076702, 0.024097470566630363, 0.006449337583035231, 0.008915252983570099, -0.02271432988345623, -0.24907958507537842, -0.030894283205270767, 0.006072214338928461, 0.011433360166847706, 0.05830058082938194, -0.025415947660803795, 0.012245964258909225, -0.03445184975862503, -0.012117580510675907, -0.0026851268485188484, 0.01937757432460785, 0.02158481813967228, 0.010214568115770817, 0.03844879940152168, 0.03530065715312958, 0.03805530443787575, -0.0033995078410953283, -0.04487316682934761, 0.0495540127158165, 0.03482656925916672, -0.011754331178963184, -0.04186301305890083, -0.018641814589500427, 0.053998518735170364, -0.030841104686260223, -0.01271169725805521, -0.07714451104402542, -0.010368552058935165, -0.03163708746433258, 0.007807548623532057, -0.010271185077726841, -0.024618232622742653, -0.015439994633197784, 0.015461116097867489, 0.048955101519823074, -0.022487174719572067, 0.035277169197797775, -0.018659474328160286, -0.00723275076597929, -0.031042233109474182, -0.005032590590417385, -0.014947721734642982, -0.051867932081222534, 0.012152187526226044, 0.043003540486097336, 0.03140062093734741, -0.016891691833734512, -0.011287009343504906, -0.018583044409751892, 0.05705556273460388, -0.004588140640407801, -0.0326295904815197, -0.022572869434952736, 0.008425644598901272, 0.03960929438471794, -0.0035532235633581877, 0.03664083033800125, 0.014112698845565319, -0.04248753935098648, 0.010211963206529617, 0.017907598987221718, -0.029988514259457588, 0.00007199412357294932, -0.03045954555273056, -0.044173210859298706, -0.030042901635169983, -0.04792527109384537, -0.04083900898694992, 0.03287262097001076, 0.0324370376765728, -0.025685379281640053, 0.01717858389019966, -0.021831436082720757, -0.07792066037654877, 0.04430270567536354, -0.02031692862510681, -0.033193595707416534, -0.024146107956767082, 0.005110236816108227, 0.020434200763702393, -0.01045318879187107, 0.0024655426386743784, 0.013354068621993065, 0.05847783014178276, 0.006233070977032185, -0.0500444695353508, -0.023601163178682327, -0.007680297363549471, -0.007189386524260044, -0.020594168454408646, 0.025287602096796036, -0.03829794004559517, 0.024582458660006523, -0.02349201589822769, 0.02250373549759388, 0.034451138228178024, 0.017225366085767746, 0.06059196963906288, 0.05086725950241089, 0.015177895314991474, 0.04366728663444519, -0.03952431678771973, 0.008254959248006344, -0.01947168819606304, -0.013626006431877613, -0.024463355541229248, -0.06747160851955414, -0.022383248433470726, 0.05948372930288315, -0.01494520716369152, -0.05865445360541344, -0.016330905258655548, -0.02536284178495407, -0.026977982372045517, 0.009233667515218258, -0.015644865110516548, 0.03677831217646599, 0.03118055872619152, 0.04284253716468811, -0.0206660907715559, -0.021074747666716576, 0.033513735979795456, 0.01201922819018364, -0.02029320038855076, 0.008461298421025276, -0.03290287405252457, -0.013013459742069244, -0.001150053576566279, 0.003442205023020506, -0.004714469891041517, 0.01606527902185917, 0.02987338788807392, -0.012640945613384247, 0.016227426007390022, 0.0683780163526535, 0.03135177120566368, -0.033534612506628036, -0.015154894441366196, 0.019551342353224754, -0.01796398125588894, -0.014511396177113056, -0.038406360894441605, 0.03630879521369934, 0.04711361601948738, 0.06208429113030434, 0.025602517649531364, 0.056562088429927826, 0.05801650136709213, 0.01998058520257473, -0.008421910926699638, 0.007773905526846647, -0.04417303204536438, -0.010396843776106834, -0.020519625395536423, 0.029048636555671692, -0.015204773284494877, 0.03736264631152153, 0.0156514011323452, 0.012924542650580406, -0.08854729682207108, 0.018859118223190308, 0.004595991224050522, -0.014123174361884594, -0.007371561601758003, -0.04828422889113426, 0.07270555943250656, -0.011790809221565723, 0.010071270167827606, -0.008279207162559032, 0.00788804516196251, 0.01279835682362318, -0.05005476623773575, -0.04189934581518173, 0.010860676877200603, -0.04688020423054695, 0.019982721656560898, 0.020845232531428337, 0.012717455625534058, -0.03161711245775223, 0.004371080081909895, -0.007289741653949022, -0.012348764576017857, 0.004145966377109289, -0.03053896874189377, 0.07465726137161255, 0.003442110726609826, -0.021000463515520096, -0.024817267432808876, -0.03393369913101196, 0.002567076124250889, -0.012997705489397049, 0.002920597093179822, -0.030386116355657578, -0.01907910779118538, -0.03610653057694435, -0.05075709894299507, 0.01705281436443329, 0.020668331533670425, 0.005016365088522434, -0.02885454334318638, 0.052554622292518616, 0.030320510268211365, -0.024782994762063026, 0.00960035715252161, 0.05147434398531914, -0.07039142400026321, 0.004250548779964447, 0.06121303141117096, 0.0037493796553462744, 0.00595083786174655, -0.020267991349101067, 0.008472046814858913, -0.021913236007094383, 0.021763794124126434, 0.00720487255603075, 0.00862185563892126, 0.01208424847573042, 0.004986768122762442, 0.012831924483180046, -0.00792792346328497, 0.02748718112707138, 0.028894897550344467, 0.017673498019576073, -0.03580565005540848, 0.010542052797973156, 0.04731176793575287, 0.02003040909767151, 0.026226302608847618, 0.016889013350009918, -0.015070811845362186, 0.03796667605638504, -0.04602566361427307, 0.04024585336446762, 0.00568843400105834, 0.020236559212207794, -0.01712140254676342, -0.016932262107729912, 0.03399999812245369, 0.004091103561222553, 0.021423084661364555, 0.023813089355826378, -0.02572791278362274, -0.009239360690116882, 0.03179563209414482, -0.009975649416446686, 0.02512519061565399, 0.011649828404188156, 0.006740124896168709, 0.010349978692829609, 0.042594391852617264, -0.0002552900114096701, 0.02153564803302288, -0.031213272362947464, -0.033217791467905045, 0.042745862156152725, -0.02740706317126751, -0.07213623821735382, -0.06816801428794861, -0.032603852450847626, 0.0013345733750611544, 0.0036155676934868097, 0.061725303530693054, -0.0336797833442688, 0.031754616647958755, 0.03432594612240791, -0.0004890080890618265, -0.04528092220425606, -0.058656737208366394, 0.044555407017469406, -0.06974935531616211, 0.008365077897906303, -0.04331790283322334, -0.0012970437528565526, 0.12036266177892685, -0.014026422053575516, 0.012764018960297108, -0.027894631028175354, -0.05182060971856117, 0.007870854809880257, -0.011979548260569572, -0.08830033987760544, 0.052151117473840714, -0.01146947592496872, 0.019936030730605125, 0.04743456095457077, -0.06159351021051407, -0.030206842347979546, -0.015894725918769836, -0.013003889471292496, -0.027806349098682404, 0.03936532512307167, 0.04327275604009628, -0.058446623384952545, -0.01356147788465023, -0.0060861497186124325, 0.014008373953402042, 0.002089491579681635, 0.03234761953353882, 0.015504548326134682, 0.016636546701192856, -0.04044432193040848, 0.07772303372621536, 0.08547336608171463, -0.024805432185530663, 0.013470597565174103, 0.01461764145642519, 0.0007948827696964145, -0.01802998222410679, 0.027136024087667465, -0.0008783121593296528, 0.010523051954805851, -0.0520116426050663, 0.06806854158639908, 0.029392244294285774, -0.08319903910160065, -0.0465787909924984, 0.05352160334587097, -0.02666517347097397, 0.0292418971657753, 0.005198946222662926, 0.01722727343440056, -0.02792475000023842, 0.058052416890859604, 0.007051967550069094, 0.024813136085867882, 0.07858604192733765, 0.010925806127488613, 0.006673773750662804, -0.018895244225859642, 0.0504201278090477, 0.07051845639944077, 0.01867850311100483, 0.02164670079946518, 0.08060815930366516, -0.033705759793519974, -0.03513401374220848, 0.0014495144132524729, 0.006992652080953121, -0.03586842492222786, -0.005276616662740707, 0.0340166911482811, 0.08264261484146118, -0.0069140177220106125, 0.07045204937458038, -0.03258797898888588, 0.020720599219202995, 0.013037237338721752, 0.005404287483543158, 0.02573029324412346, 0.01042308658361435, -0.009790543466806412, 0.01810394786298275, -0.03811025619506836, -0.02696327678859234, -0.0199039988219738, -0.010715321637690067, 0.0013264201115816832, -0.021850576624274254, -0.03238857164978981, 0.013432193547487259, -0.046620819717645645, 0.017488829791545868, 0.08614176511764526, 0.025144221261143684, -0.05578812584280968, 0.003319059032946825, 0.01792003959417343, -0.007726294919848442, 0.019684432074427605, -0.0069745006039738655, 0.012001297436654568, -0.0026976466178894043, -0.045310404151678085, 0.016838474199175835, -0.006274838000535965, 0.0007848207606002688, 0.009931255131959915, -0.02152879536151886, -0.032699305564165115, -0.016245488077402115, 0.009113850072026253, -0.0624736025929451, -0.057956159114837646, -0.028588229790329933, -0.05433103069663048, -0.047890953719615936, -0.03589514270424843, 0.01448813732713461, -0.009499488398432732, -0.016994228586554527, 0.03062095306813717, -0.029461616650223732, 0.0050201755948364735, 0.00519907521083951, -0.10097260028123856, -0.040014054626226425, 0.08348627388477325, -0.021442372351884842, -0.018019333481788635, 0.024904176592826843, 0.02799210324883461, 0.009433516301214695, -0.02049545757472515, 0.08210444450378418, -0.008471488021314144, 0.0370941199362278, -0.0028064539656043053, -0.003441168460994959, -0.0809989869594574, 0.03274768963456154, 0.022490408271551132, -0.02279781736433506, -0.06171366199851036, 0.018179405480623245, -0.012757639400660992, 0.0073422593995928764, 0.030539287254214287, 0.014691823162138462, 0.007401723880320787, -0.041619379073381424, 0.013847699388861656, 0.0247206874191761, 0.00030858052195981145, 0.027866624295711517, -0.03139832988381386, 0.061555828899145126, 0.018784238025546074, -0.0021597177255898714, -0.009453417733311653, 0.0003368169127497822, 0.004931055009365082, -0.005909539293497801, -0.04438937455415726, -0.019978921860456467, -0.04826050251722336, -0.088194839656353, -0.010832672007381916, 0.06092436611652374, -0.02484559454023838, -0.04680216684937477, 0.00007804613414919004, 0.01445467583835125, 0.00015144480857998133, -0.01785934902727604, 0.006232357583940029, -0.03246080502867699, -0.016554640606045723, -0.06696649640798569, -0.06240033358335495, -0.03576706349849701, 0.007667485624551773, 0.01730194129049778, -0.047604452818632126, -0.039737097918987274, -0.010963990353047848, 0.003629149869084358, 0.053054749965667725, 0.03263404220342636, 0.011847180314362049, 0.005618802271783352 ]
376
Towards Federated RLHF with Aggregated Client Preference for LLMs
https://openreview.net/forum?id=mqNKiEB6pd
[ "Feijie Wu", "Xiaoze Liu", "Haoyu Wang", "Xingchen Wang", "Lu Su", "Jing Gao" ]
Poster
Reinforcement learning with human feedback (RLHF) fine-tunes a pretrained large language model (LLM) using user preference data, enabling it to generate content aligned with human preferences. However, due to privacy concerns, users may be reluctant to share sensitive preference data. To address this, we propose utilizing Federated Learning (FL) techniques, allowing large-scale preference collection from diverse real-world users without requiring them to transmit data to a central server. Our federated RLHF methods (i.e., FedBis and FedBiscuit) encode each client’s preferences into binary selectors and aggregate them to capture common preferences. In particular, FedBiscuit overcomes key challenges, such as preference heterogeneity and reward hacking, through innovative solutions like grouping clients with similar preferences to reduce heterogeneity and using multiple binary selectors to enhance LLM output quality. To evaluate the performance of the proposed methods, we establish the first federated RLHF benchmark with a heterogeneous human preference dataset. Experimental results show that by integrating the LLM with aggregated client preferences, FedBis and FedBiscuit significantly enhance the professionalism and readability of the generated content.
Federated learning, RLHF, LLM
null
13,225
2407.03038
[ -0.005714695900678635, -0.03892197832465172, 0.012403443455696106, 0.04822123423218727, 0.05363955721259117, 0.01477439422160387, -0.005766973365098238, 0.009076702408492565, -0.019229155033826828, -0.01626920886337757, -0.014591149054467678, 0.026817599311470985, -0.07378754764795303, -0.011608586646616459, 0.004927640315145254, 0.04784001410007477, 0.044062141329050064, -0.004749537445604801, 0.03335362300276756, 0.027028921991586685, -0.008467688225209713, -0.00857352651655674, 0.00475512258708477, -0.004843386821448803, 0.024439793080091476, 0.02579808421432972, 0.023928401991724968, 0.004281980451196432, -0.02617562934756279, 0.00011691365943988785, 0.051599353551864624, -0.018407944589853287, 0.03901166096329689, 0.008466015569865704, -0.006044554524123669, -0.016058407723903656, -0.021196274086833, 0.0032025370746850967, 0.02017674408853054, 0.027143152430653572, -0.017051374539732933, 0.03217858448624611, 0.010405896231532097, 0.014951605349779129, -0.043833762407302856, 0.01287628710269928, -0.11288900673389435, 0.023691341280937195, 0.027449792250990868, -0.04828619956970215, -0.10625112056732178, 0.005427534691989422, 0.009592813439667225, -0.0035051859449595213, 0.030567241832613945, 0.03683764114975929, 0.04753904044628143, -0.09094260632991791, 0.0026327609084546566, -0.022014310583472252, -0.03394155949354172, 0.021566657349467278, 0.0411478653550148, 0.014803478494286537, -0.002078801626339555, -0.006288119591772556, 0.006156423594802618, 0.03367600217461586, -0.038253169506788254, -0.017228158190846443, -0.01118443999439478, 0.00604778528213501, -0.005287411622703075, -0.010879584588110447, 0.005077556241303682, -0.05352456122636795, -0.0032367308158427477, 0.03722427785396576, 0.05503922328352928, -0.025434166193008423, -0.030593199655413628, 0.025965673848986626, 0.00608423724770546, 0.044714029878377914, 0.003895088564604521, -0.009217892773449421, -0.003560687182471156, -0.019396908581256866, -0.08065066486597061, 0.04749423637986183, -0.04886796325445175, -0.04273863136768341, 0.010015723295509815, 0.014702138490974903, 0.034201495349407196, -0.031878016889095306, 0.021099334582686424, 0.035512860864400864, -0.008342375047504902, 0.020793039351701736, -0.023667506873607635, -0.009353086352348328, 0.01353110745549202, -0.01841990277171135, -0.10109967738389969, 0.003941764589399099, -0.03459751978516579, -0.03961559757590294, -0.008388158865272999, -0.0146689647808671, -0.02372587099671364, -0.003283356549218297, 0.04001575708389282, 0.0025359985884279013, -0.07199514657258987, 0.027417384088039398, 0.01263682171702385, 0.029035767540335655, 0.006612126715481281, 0.01196952722966671, 0.048303671181201935, 0.03699013590812683, -0.0027299351058900356, 0.06631456315517426, -0.0038842542562633753, 0.0008756851311773062, 0.01312737725675106, 0.02905569225549698, -0.02078344114124775, -0.062259264290332794, 0.010399218648672104, 0.04440733417868614, -0.0346263162791729, 0.018461300060153008, -0.011694448068737984, 0.031970180571079254, 0.01070065051317215, 0.0061608836986124516, 0.05985884740948677, -0.000675244489684701, 0.010170767083764076, -0.00040334550430998206, 0.04866804555058479, -0.04362713545560837, 0.06413081288337708, 0.025768065825104713, 0.0010260834824293852, -0.011937231756746769, -0.0636104941368103, -0.0036231414414942265, 0.013173381797969341, 0.01220774743705988, 0.0033470834605395794, -0.04606903716921806, 0.028762295842170715, 0.05669870600104332, 0.0206807442009449, -0.041347261518239975, -0.003211795585229993, 0.01797262206673622, -0.023758165538311005, 0.014841617085039616, -0.04554176703095436, -0.026867700740695, 0.0000948996384977363, -0.04775092378258705, 0.03720076382160187, -0.0028804293833673, -0.0037995344027876854, 0.00731734000146389, -0.03553919494152069, -0.01384050864726305, 0.02804998867213726, -0.01974242553114891, -0.018948912620544434, -0.008242721669375896, 0.07391112297773361, -0.00935081671923399, 0.03652624040842056, 0.040217962116003036, -0.06928546726703644, 0.014514822512865067, 0.012564103119075298, -0.0004202643467579037, 0.0006649249116890132, -0.011160442605614662, 0.08377810567617416, -0.020670048892498016, 0.017022375017404556, 0.039717867970466614, -0.07097220420837402, -0.007040427532047033, 0.037629563361406326, -0.008597258478403091, 0.06968677043914795, 0.00643167644739151, 0.020635133609175682, 0.05580614507198334, 0.00716772535815835, 0.043446917086839676, 0.06485456973314285, -0.018857894465327263, 0.032193467020988464, -0.004360113758593798, -0.031566135585308075, -0.0002018615195993334, 0.042324360460042953, -0.01666361466050148, -0.05406901240348816, -0.0035276133567094803, -0.05241215229034424, 0.031105292961001396, 0.021587619557976723, -0.013814830221235752, 0.037949543446302414, -0.03006725013256073, -0.007613220252096653, 0.036830052733421326, 0.006664097309112549, -0.040724728256464005, 0.048379383981227875, -0.0020410604774951935, -0.0030389821622520685, 0.009858861565589905, -0.06979851424694061, 0.08788211643695831, 0.06850355118513107, -0.025647295638918877, 0.0000660792356939055, 0.03527330234646797, 0.006519610993564129, -0.010228895582258701, 0.03141706809401512, -0.04180809482932091, 0.022750619798898697, -0.014718888327479362, -0.012398326769471169, -0.03988960012793541, 0.05071627348661423, -0.02112923562526703, -0.01008364837616682, 0.06452994793653488, -0.018984515219926834, 0.04674048721790314, -0.010836678557097912, 0.020595205947756767, 0.02299419976770878, 0.03255772590637207, 0.025308875367045403, -0.03297194093465805, -0.028412120416760445, 0.004063466563820839, 0.0007760882726870477, -0.02035246230661869, 0.01780230924487114, -0.05175357311964035, 0.01346626877784729, 0.011194305494427681, 0.041530631482601166, 0.06623458862304688, 0.0041953944601118565, 0.006724389269948006, -0.0510166771709919, -0.06373874098062515, -0.004261523485183716, -0.12621541321277618, -0.008993858471512794, -0.024379534646868706, 0.0238084364682436, 0.011817580088973045, 0.023487187922000885, -0.010003753006458282, 0.009065674617886543, -0.01824585534632206, -0.008830232545733452, 0.03294725716114044, 0.04260804504156113, -0.00946810469031334, -0.03897128626704216, -0.029931914061307907, -0.012301895767450333, 0.05704650655388832, -0.006112661678344011, -0.023773014545440674, -0.020102951675653458, -0.04265443980693817, 0.007522678468376398, -0.04783376678824425, 0.01127956435084343, -0.011432052589952946, 0.0012323986738920212, 0.02625279501080513, 0.004376848693937063, 0.004583957605063915, 0.0221733245998621, 0.04366080090403557, 0.031208856031298637, 0.02327147126197815, -0.038878653198480606, 0.03793993592262268, -0.03430435061454773, -0.007490953430533409, 0.0030670303385704756, 0.018873432651162148, 0.017950134351849556, -0.03176338970661163, 0.015685269609093666, 0.010503551922738552, -0.27416765689849854, -0.03157959505915642, 0.02314652130007744, 0.001817252952605486, 0.04466407746076584, 0.003971788100898266, 0.05522898957133293, -0.03678351640701294, -0.020608030259609222, 0.006114525254815817, 0.010034933686256409, 0.03836875036358833, 0.02823055163025856, 0.05245489999651909, 0.04842011630535126, 0.060573410242795944, -0.04324045404791832, -0.06006607785820961, 0.017408916726708412, 0.003994431812316179, -0.022189844399690628, -0.07646358758211136, -0.009469077922403812, 0.027824033051729202, 0.011212899349629879, 0.05515028536319733, -0.045409224927425385, 0.0006209031562320888, -0.019841359928250313, -0.010194387286901474, -0.011437475681304932, -0.0172922071069479, -0.0332779586315155, 0.02915530651807785, 0.023994382470846176, -0.01383771188557148, 0.034436795860528946, 0.014896797016263008, 0.045854389667510986, 0.023106545209884644, 0.012376311235129833, -0.010468129068613052, -0.027259495109319687, -0.004498916212469339, 0.08349516242742538, 0.00959315337240696, -0.09665071964263916, -0.027008257806301117, -0.025190221145749092, 0.01875661127269268, 0.005409216042608023, -0.03873169422149658, -0.03284362703561783, 0.03685212880373001, -0.00798559095710516, -0.03392838314175606, -0.02555801346898079, -0.005136601626873016, 0.0007369995582848787, 0.02711647003889084, -0.015630412846803665, -0.04154931753873825, -0.03425772860646248, -0.027546318247914314, -0.031203269958496094, -0.06084555387496948, -0.06472668051719666, -0.04849735647439957, 0.05213559418916702, 0.044642262160778046, -0.018306072801351547, -0.006164263933897018, -0.004391473717987537, -0.10395223647356033, 0.006784558761864901, -0.006226133555173874, -0.006882855203002691, -0.03553706407546997, 0.016391867771744728, 0.07442210614681244, -0.031013427302241325, -0.03740043193101883, -0.013061530888080597, -0.012605604715645313, 0.023081736639142036, -0.006051512435078621, 0.04175184667110443, -0.01068198960274458, -0.02786257117986679, -0.05302084982395172, 0.027887992560863495, -0.013811232522130013, 0.017911802977323532, 0.02174563892185688, 0.05389340966939926, 0.02989816479384899, -0.0014718333259224892, 0.054879579693078995, 0.01826414465904236, 0.022115983068943024, 0.008028808049857616, -0.09414704144001007, -0.02195722423493862, -0.05829437077045441, 0.0021651035640388727, 0.03075273521244526, -0.07179773598909378, -0.030743174254894257, 0.03878665342926979, 0.018519464880228043, -0.02928021177649498, -0.016691964119672775, -0.004314939491450787, -0.009290752001106739, -0.03912368789315224, -0.025658458471298218, -0.009446564130485058, 0.033696938306093216, 0.04166482388973236, 0.01025343406945467, -0.030135856941342354, 0.03959554061293602, -0.0009188888943754137, 0.013533761724829674, -0.015187154524028301, -0.00027761454111896455, -0.028498947620391846, -0.04193701595067978, 0.02420547977089882, 0.0021619212348014116, 0.022768372669816017, 0.00918625108897686, -0.010774120688438416, 0.008154011331498623, 0.05806981027126312, -0.013438630849123001, -0.005199764855206013, -0.008879473432898521, 0.02297965995967388, -0.03143436089158058, 0.031131211668252945, -0.020230136811733246, 0.04024425148963928, 0.015500077977776527, 0.025454914197325706, -0.001368384575471282, 0.021299010142683983, 0.017884211614727974, 0.005895303096622229, -0.0006398387486115098, 0.01734170690178871, -0.04512254521250725, -0.02387813664972782, -0.01729479804635048, 0.013622487895190716, -0.04058600962162018, 0.030123384669423103, -0.0037120666820555925, -0.005922660231590271, -0.07472706586122513, 0.007706186268478632, 0.0037383069284260273, -0.01802300289273262, 0.023915326222777367, 0.046343494206666946, 0.05175939202308655, -0.03160717338323593, 0.020890912041068077, 0.02306780219078064, 0.01032103132456541, 0.008752631954848766, -0.0362822562456131, -0.00042797517380677164, -0.025932645425200462, -0.04278898611664772, -0.002177545567974448, 0.04018421843647957, -0.06273610889911652, -0.031118318438529968, 0.05977603420615196, -0.03242215886712074, -0.019296087324619293, 0.01786411739885807, 0.010016941465437412, 0.08194568008184433, 0.02394946478307247, 0.0055036768317222595, 0.003077401779592037, -0.006594736594706774, 0.027843456715345383, -0.011548923328518867, 0.04472382739186287, -0.010593860410153866, -0.0035762879997491837, -0.04686152935028076, -0.048056863248348236, 0.0023215252440422773, -0.01568492129445076, 0.01435240637511015, -0.033508118242025375, -0.03744546324014664, 0.009926099330186844, -0.021654903888702393, -0.01933063194155693, 0.006066243629902601, -0.07333965599536896, 0.01379349548369646, 0.01916760765016079, -0.01152119506150484, 0.03416658937931061, -0.06564505398273468, -0.03733372688293457, -0.04445342719554901, -0.01684739999473095, 0.011252161115407944, -0.03486604616045952, -0.035901617258787155, -0.013679750263690948, -0.034099213778972626, 0.005421141162514687, 0.005303255748003721, -0.05598746985197067, -0.02924482524394989, -0.004534443840384483, -0.008878940716385841, 0.03766912221908569, -0.059344999492168427, -0.04618307575583458, 0.0006785673904232681, 0.022513100877404213, 0.03621401637792587, -0.041094064712524414, 0.049851689487695694, 0.033124856650829315, -0.03390020877122879, 0.04901522770524025, -0.051314402371644974, 0.026765597984194756, -0.012189650908112526, -0.023787537589669228, 0.0019022650085389614, -0.013937104493379593, -0.026657918468117714, -0.03985360637307167, -0.02023949846625328, 0.01564486138522625, 0.025844601914286613, 0.026432976126670837, 0.02272435463964939, 0.00007349124643951654, 0.0028543206863105297, 0.0001881586213130504, -0.02064971812069416, 0.016582699492573738, 0.06345491111278534, 0.006443621590733528, 0.005611230153590441, -0.0843580961227417, -0.032215334475040436, 0.01100259181112051, -0.03751817345619202, 0.0295120719820261, -0.03731689229607582, 0.05179239436984062, 0.01700100116431713, 0.0319041945040226, 0.026274889707565308, -0.03954816982150078, 0.035752635449171066, -0.05316132679581642, -0.006709448527544737, -0.045121368020772934, -0.014220661483705044, 0.036957066506147385, -0.035201627761125565, 0.013019663281738758, 0.020405078306794167, -0.05613807961344719, 0.05101529508829117, -0.004168893210589886, -0.06952951103448868, 0.013608553446829319, -0.02946910262107849, -0.00514142494648695, 0.0676778182387352, -0.04915245622396469, -0.04269176721572876, -0.03519018739461899, -0.030367136001586914, -0.008589651435613632, 0.023680225014686584, 0.02937679924070835, -0.01263662800192833, 0.030330386012792587, -0.03642131760716438, 0.004545747302472591, -0.0018181857885792851, 0.040585748851299286, -0.012335126288235188, 0.041906487196683884, -0.03607034683227539, 0.05489572510123253, 0.02832627296447754, 0.004355643410235643, 0.02274131216108799, -0.0031161331571638584, -0.020357921719551086, -0.023195696994662285, 0.06867429614067078, 0.012823767028748989, -0.011527548544108868, -0.05710691586136818, 0.06239449605345726, 0.012584499083459377, -0.026655998080968857, -0.016893036663532257, 0.04951654374599457, -0.05236640200018883, -0.0020367668475955725, 0.01872752420604229, 0.015449702739715576, -0.007684454321861267, 0.08268912881612778, 0.02499757520854473, 0.04926611855626106, 0.08309917151927948, 0.02513630874454975, -0.006620723754167557, 0.057464927434921265, 0.0700344666838646, 0.05705742910504341, 0.042782675474882126, -0.0014289745595306158, 0.0891433134675026, -0.0539269782602787, -0.07632727921009064, -0.007601557299494743, 0.04697179049253464, -0.03527701646089554, -0.02313006855547428, 0.010296770371496677, 0.052457544952631, -0.01787514053285122, 0.04313810542225838, -0.046945974230766296, 0.003397259395569563, 0.0550537034869194, 0.03493687883019447, 0.011635026894509792, 0.041748132556676865, -0.001154359895735979, 0.017451724037528038, -0.04094129428267479, -0.00722739240154624, 0.018071670085191727, -0.013149598613381386, 0.02239811234176159, 0.01105148158967495, -0.007791962008923292, 0.03698574751615524, 0.0063207256607711315, 0.02969883754849434, 0.08487488329410553, -0.05201972275972366, -0.029360774904489517, 0.025278836488723755, 0.000585984147619456, 0.021933814510703087, 0.009175249375402927, 0.003903492819517851, -0.025102021172642708, 0.008484749123454094, -0.028004059568047523, -0.013544147834181786, 0.03422018513083458, 0.02311946451663971, 0.034863878041505814, -0.05215354636311531, 0.005400888156145811, 0.037863556295633316, 0.01627899706363678, -0.0857110321521759, -0.03503667190670967, -0.02551736868917942, -0.06176029518246651, -0.03827761486172676, -0.06307706236839294, -0.00040507171070203185, 0.020883504301309586, -0.04167133942246437, 0.038690462708473206, -0.030909638851881027, 0.010812776163220406, -0.007087687496095896, -0.07766620069742203, -0.010617444291710854, 0.037691861391067505, -0.016696760430932045, 0.04123889282345772, 0.02129274792969227, 0.02658670023083687, -0.0234869085252285, -0.025841040536761284, 0.00959453172981739, -0.013717737048864365, 0.0071816956624388695, -0.018737562000751495, -0.028167573735117912, -0.10664267838001251, 0.018582412973046303, 0.01107990462332964, -0.015479057095944881, -0.072930246591568, 0.02770799770951271, -0.014856952242553234, 0.03638221323490143, 0.08973154425621033, 0.03316856920719147, -0.004412329755723476, -0.031088486313819885, -0.04659847915172577, 0.006480066105723381, 0.047449853271245956, 0.05952967330813408, -0.00996505469083786, 0.05940701439976692, 0.03854776918888092, -0.0484599806368351, -0.059784092009067535, 0.02587776444852352, 0.0036300483625382185, -0.05037863925099373, -0.0080509502440691, -0.048110757023096085, -0.022003114223480225, -0.08117538690567017, 0.004108910448849201, 0.029068080708384514, -0.013023830950260162, -0.01827254891395569, -0.007512786891311407, 0.011745613999664783, -0.011907116509974003, -0.011661851778626442, -0.016560658812522888, -0.01871711015701294, -0.018756741657853127, -0.0432579331099987, -0.07556623965501785, 0.016680721193552017, -0.0031227213330566883, 0.0018985859351232648, 0.0029141244012862444, -0.06448830664157867, 0.005897659808397293, 0.02267352119088173, 0.026384377852082253, 0.026905499398708344, 0.0017429396975785494, -0.016490023583173752 ]
377
Overcoming Slow Decision Frequencies in Continuous Control: Model-Based Sequence Reinforcement Learning for Model-Free Control
https://openreview.net/forum?id=w3iM4WLuvy
[ "Devdhar Patel", "Hava T Siegelmann" ]
Poster
Reinforcement learning (RL) is rapidly reaching and surpassing human-level control capabilities. However, state-of-the-art RL algorithms often require timesteps and reaction times significantly faster than human capabilities, which is impractical in real-world settings and typically necessitates specialized hardware. We introduce Sequence Reinforcement Learning (SRL), an RL algorithm designed to produce a sequence of actions for a given input state, enabling effective control at lower decision frequencies. SRL addresses the challenges of learning action sequences by employing both a model and an actor-critic architecture operating at different temporal scales. We propose a "temporal recall" mechanism, where the critic uses the model to estimate intermediate states between primitive actions, providing a learning signal for each individual action within the sequence. Once training is complete, the actor can generate action sequences independently of the model, achieving model-free control at a slower frequency. We evaluate SRL on a suite of continuous control tasks, demonstrating that it achieves performance comparable to state-of-the-art algorithms while significantly reducing actor sample complexity. To better assess performance across varying decision frequencies, we introduce the Frequency-Averaged Score (FAS) metric. Our results show that SRL significantly outperforms traditional RL algorithms in terms of FAS, making it particularly suitable for applications requiring variable decision frequencies. Furthermore, we compare SRL with model-based online planning, showing that SRL achieves comparable FAS while leveraging the same model during training that online planners use for planning.
Decision Frequency, Action Sequence Generation, Model-Based Training, Model-Free Control, Efficient Learning, Reinforcement Learning
We introduce an algorithm that achieves competitive continuous control at extremely slow control frequencies using action sequences
13,222
2410.08979
[ -0.01868542470037937, -0.012588189914822578, -0.019861850887537003, 0.022632945328950882, 0.04794275015592575, -0.007036742754280567, 0.007875427603721619, 0.01631801202893257, -0.03249713405966759, -0.0349227711558342, -0.014963868074119091, 0.03653169050812721, -0.06646762043237686, -0.006521293893456459, 0.02225024811923504, 0.06027200073003769, 0.02795015461742878, -0.02320893295109272, -0.009177652187645435, 0.0017731254920363426, -0.02548804134130478, 0.013394506648182869, 0.04233713075518608, 0.02966151386499405, 0.03671202436089516, 0.028643473982810974, 0.027748413383960724, 0.012936834245920181, -0.0015281656524166465, -0.014203548431396484, 0.019475260749459267, -0.03866534307599068, -0.0005442429101094604, -0.05183582380414009, 0.01103221159428358, 0.0022185277193784714, -0.02406562864780426, 0.004141902085393667, -0.012346344999969006, -0.021116282790899277, -0.0236352551728487, -0.005729991011321545, -0.01023185160011053, -0.017265498638153076, -0.014985039830207825, 0.028847794979810715, -0.07661204040050507, 0.008907982148230076, 0.0479029081761837, -0.05455416440963745, -0.09050483256578445, 0.04304782673716545, 0.03667839244008064, -0.04778074845671654, 0.013218377716839314, 0.029371721670031548, 0.01827443204820156, -0.0733446478843689, -0.014868946745991707, -0.0831725150346756, 0.01860416866838932, 0.003918426111340523, 0.03724682331085205, 0.0018289081053808331, 0.00234945653937757, 0.00897299312055111, 0.029766280204057693, 0.050392743200063705, -0.0008941565174609423, 0.0008402816019952297, -0.052557166665792465, -0.004708062391728163, -0.0020544668659567833, 0.018061581999063492, -0.01472505647689104, -0.046523887664079666, 0.013727525249123573, 0.024405820295214653, 0.06503549963235855, 0.03213076293468475, 0.032707978039979935, 0.03675539791584015, 0.008644601330161095, 0.02861715666949749, 0.02719462849199772, 0.04063370078802109, -0.01645977608859539, -0.029642300680279732, -0.07408396154642105, 0.03488825261592865, -0.04350610077381134, -0.05941416323184967, 0.009035486727952957, 0.04892377927899361, 0.009670867584645748, -0.00815203133970499, 0.015478924848139286, 0.03522002696990967, 0.00401637377217412, 0.007497353479266167, -0.02780596725642681, -0.027578303590416908, 0.0157928466796875, -0.01049042772501707, -0.09927688539028168, -0.028088724240660667, -0.00915116909891367, 0.006559443194419146, -0.005577663891017437, 0.05660263076424599, -0.07047855854034424, -0.003963585942983627, 0.029410578310489655, -0.034861572086811066, -0.08086011558771133, 0.03140118718147278, -0.02013998292386532, 0.04395487904548645, -0.002443341538310051, 0.0037966312374919653, 0.042327385395765305, 0.005011167377233505, -0.00123406492639333, 0.057777997106313705, -0.0319373793900013, -0.003738969098776579, 0.025530092418193817, 0.021165570244193077, -0.025620611384510994, -0.07890930771827698, 0.04892522841691971, 0.0243237242102623, -0.028274819254875183, -0.007298704236745834, -0.0183392483741045, 0.02806604467332363, 0.024004865437746048, 0.011862999759614468, 0.018690628930926323, 0.014680870808660984, -0.0024776123464107513, -0.023320497944951057, 0.08887061476707458, -0.039726853370666504, 0.06592617183923721, 0.004097118508070707, -0.020460505038499832, -0.02242055907845497, -0.049238137900829315, -0.01421553734689951, 0.0032278657890856266, -0.009040514007210732, -0.0244070366024971, -0.07340382784605026, 0.021632546558976173, 0.03616141900420189, 0.026170168071985245, 0.00990842841565609, 0.00020195814431644976, 0.01758665218949318, 0.00106185267213732, -0.007123169023543596, -0.04041234776377678, -0.0017282497137784958, 0.021502802148461342, -0.08725117892026901, 0.04425088316202164, 0.035072941333055496, -0.02538551576435566, -0.0443650521337986, -0.038593389093875885, -0.01131284236907959, 0.003963508643209934, -0.0033632926642894745, -0.02372453361749649, 0.01863527111709118, 0.03475726768374443, -0.01883089914917946, 0.049740154296159744, -0.012386709451675415, -0.07734443992376328, 0.009424078278243542, 0.0020564538426697254, -0.005414881277829409, -0.016253357753157616, -0.06460391730070114, 0.07247057557106018, -0.023470645770430565, -0.0015914862742647529, 0.012645980343222618, -0.06297106295824051, -0.00796443223953247, 0.02252640388906002, -0.018400438129901886, 0.06124383211135864, 0.008107221685349941, -0.022881438955664635, 0.028443649411201477, 0.02912394143640995, 0.07719157636165619, 0.03788430616259575, -0.01813550665974617, 0.03144165873527527, -0.01836661621928215, -0.01640377938747406, -0.018505845218896866, 0.01664355769753456, -0.05051657184958458, -0.028573065996170044, -0.002388373017311096, -0.031324684619903564, 0.0188017375767231, 0.023965977132320404, -0.011580248363316059, 0.03302605077624321, 0.0013138789217919111, -0.01049256045371294, 0.012450247071683407, 0.01877620816230774, -0.06838030368089676, 0.003383232746273279, -0.00023012954625301063, -0.03778007626533508, 0.0028473620768636465, -0.06429434567689896, 0.08714822679758072, 0.05273164063692093, -0.04715043306350708, -0.02556251548230648, 0.04097708687186241, -0.02046557143330574, 0.02431538514792919, -0.011948999017477036, -0.042906906455755234, 0.03575877100229263, -0.001734066754579544, 0.0036245593801140785, -0.03740149736404419, 0.01693836599588394, -0.013339375145733356, -0.001008266001008451, 0.08146650344133377, -0.0305878184735775, 0.06228313222527504, -0.0038960969541221857, 0.010097464546561241, 0.026382388547062874, 0.03169481083750725, -0.020245172083377838, -0.0191048476845026, -0.05045581981539726, 0.0023246770724654198, 0.05190105363726616, -0.004409230314195156, -0.019110647961497307, -0.04568395018577576, -0.025352127850055695, -0.026027875021100044, 0.05381518229842186, 0.04231353849172592, 0.041934069246053696, 0.044392187148332596, -0.0007373616681434214, -0.0035793865099549294, -0.04371773079037666, -0.10061102360486984, -0.03554866462945938, 0.011336500756442547, 0.009049168787896633, 0.045752767473459244, 0.012745976448059082, -0.0011818988714367151, 0.06484334170818329, -0.01754879578948021, -0.04946039617061615, 0.01893589086830616, 0.01395143661648035, 0.03286205604672432, -0.021129384636878967, -0.003688853932544589, 0.02173682674765587, 0.07473065704107285, 0.0018554923590272665, -0.013524075038731098, -0.02152787521481514, -0.019353071227669716, 0.01665804162621498, -0.02948516234755516, -0.009620281867682934, 0.01460998971015215, -0.010549597442150116, 0.019534865394234657, -0.03916947916150093, 0.02643468603491783, 0.020195437595248222, 0.0657241940498352, 0.045413389801979065, 0.035292886197566986, 0.030938483774662018, 0.011464985087513924, -0.01688075065612793, -0.016338679939508438, -0.028439205139875412, 0.025527074933052063, -0.012228384613990784, -0.015928002074360847, 0.010293473489582539, 0.014839761890470982, -0.26318585872650146, -0.036759261041879654, 0.00009417619730811566, 0.0026188071351498365, 0.020804481580853462, 0.015893302857875824, 0.04699047654867172, -0.04944644868373871, -0.0028160810470581055, 0.03714834526181221, 0.0443262904882431, 0.038865696638822556, 0.02254151552915573, 0.0673825666308403, 0.05355110764503479, 0.031205659732222557, 0.008960305713117123, -0.015086960047483444, -0.014367401599884033, 0.053787000477313995, -0.023616580292582512, -0.09436886012554169, -0.031222645193338394, 0.017216810956597328, -0.005054621025919914, 0.05275726318359375, -0.08924268186092377, -0.0128633426502347, -0.04031705856323242, -0.009852112270891666, -0.02172865904867649, -0.023017186671495438, -0.030741406604647636, 0.014943469315767288, 0.015479943715035915, 0.00585253955796361, 0.029864532873034477, 0.013951679691672325, 0.03995640575885773, 0.006863471120595932, -0.02774820849299431, -0.015213949605822563, -0.024814018979668617, 0.041096281260252, 0.05138057842850685, 0.03010828234255314, -0.05807746946811676, 0.010319714434444904, 0.009291981346905231, 0.04447796195745468, -0.004050318617373705, -0.018019016832113266, 0.02482774667441845, -0.008564453572034836, 0.024278724566102028, -0.028820913285017014, 0.015802739188075066, -0.022145790979266167, 0.0015347821172326803, 0.02305160090327263, -0.011890565045177937, -0.03241012245416641, -0.032249633222818375, -0.012116905301809311, -0.008548961021006107, -0.03610574081540108, -0.03738972917199135, -0.04766181483864784, 0.00874460767954588, 0.035208627581596375, -0.008421539328992367, -0.004547460004687309, -0.032295845448970795, -0.10756225883960724, 0.020327813923358917, -0.0005814352189190686, 0.0024736220948398113, -0.05178707465529442, 0.013037342578172684, 0.049797091633081436, -0.025677086785435677, -0.06381956487894058, -0.02883737161755562, 0.004564660135656595, 0.05081488564610481, 0.011938787065446377, 0.05378538742661476, -0.046066008508205414, -0.007927232421934605, -0.049577947705984116, 0.03219834715127945, 0.00894822459667921, 0.02695927396416664, -0.023982137441635132, 0.058316558599472046, 0.029425714164972305, 0.005129602737724781, 0.03520747646689415, 0.03471976891160011, -0.02848047763109207, 0.03215552493929863, -0.08957937359809875, 0.0120152048766613, -0.057187359780073166, -0.011673537082970142, 0.015314284712076187, -0.05577447637915611, -0.03929297253489494, 0.028862658888101578, 0.044205352663993835, -0.011032138019800186, -0.024924064055085182, 0.024905066937208176, -0.006007342599332333, -0.016145600005984306, -0.021614719182252884, -0.015775011852383614, 0.024174170568585396, 0.007077840622514486, -0.015983933582901955, -0.07080906629562378, 0.06009817123413086, -0.05104455351829529, 0.024597445502877235, 0.005704762414097786, -0.01595197431743145, 0.012808750383555889, -0.005520319100469351, -0.007307460065931082, -0.021323829889297485, 0.03860687091946602, 0.06827857345342636, -0.01609712466597557, 0.036078326404094696, 0.037175752222537994, -0.0010210579494014382, -0.02204003930091858, 0.004049248527735472, 0.031568221747875214, -0.01707155629992485, -0.0033067266922444105, -0.003653460182249546, 0.032463397830724716, 0.03665526211261749, 0.013706314377486706, 0.01909603551030159, 0.02513187564909458, 0.006506204605102539, 0.028035232797265053, 0.013601123355329037, 0.07243894785642624, -0.05519513040781021, 0.0025961631909012794, -0.0325109027326107, 0.021334204822778702, -0.04970560222864151, 0.025920722633600235, -0.027448054403066635, 0.023448403924703598, -0.0578363798558712, 0.024222757667303085, 0.003957556094974279, -0.03755369782447815, -0.006242656614631414, 0.012814663350582123, 0.05844249203801155, -0.030768724158406258, -0.007207647897303104, 0.031013043597340584, 0.0008984722080640495, 0.0019609699957072735, -0.054627321660518646, -0.006496618036180735, -0.009714126586914062, -0.030017804354429245, -0.01822817511856556, 0.0024425105657428503, -0.05767984315752983, -0.03316906839609146, 0.028835032135248184, 0.008546515367925167, -0.02830374613404274, -0.004452155437320471, 0.014694834128022194, 0.04959605261683464, -0.018440235406160355, 0.001157351303845644, -0.013375962153077126, -0.028367426246404648, -0.001568160834722221, 0.011820938438177109, 0.03306150808930397, -0.005754786543548107, -0.0453464575111866, -0.03560097888112068, -0.01760854758322239, 0.01969015598297119, 0.015331931412220001, -0.01873103715479374, -0.0018582117045298219, -0.009610816836357117, -0.023009685799479485, -0.027265889570116997, -0.023615704849362373, 0.0331965833902359, -0.05178017541766167, -0.014481530524790287, 0.043982360512018204, 0.010599748231470585, 0.03450325131416321, -0.06703300774097443, -0.049141496419906616, -0.02822590433061123, -0.030058322474360466, -0.02057734876871109, -0.015822218731045723, -0.015940189361572266, -0.018851907923817635, -0.015108998864889145, 0.0019261284032836556, 0.029289398342370987, -0.004329964518547058, -0.011916421353816986, -0.027872171252965927, -0.010014756582677364, 0.05232572928071022, -0.03610711172223091, -0.03412028029561043, 0.04909566044807434, 0.009544670581817627, 0.02271178923547268, -0.041594672948122025, 0.0101915393024683, 0.03124699369072914, -0.003430923679843545, 0.014107516966760159, -0.04355860501527786, 0.06295579671859741, 0.015986580401659012, -0.03940698504447937, -0.01753208227455616, 0.03103974089026451, -0.04690144211053848, 0.006137102376669645, 0.0006372950738295913, 0.00695555517449975, 0.035178717225790024, -0.0019829715602099895, 0.020002389326691628, 0.03459566831588745, 0.01318786758929491, 0.004888608586043119, -0.03206542506814003, 0.013343111611902714, 0.05391474440693855, -0.044277988374233246, 0.0024149951059371233, -0.07397906482219696, -0.009051302447915077, 0.044286347925662994, -0.03409918025135994, 0.00821459200233221, -0.03693240508437157, 0.027948565781116486, 0.023807989433407784, 0.041849974542856216, 0.03438302129507065, -0.01568618230521679, 0.029831113293766975, -0.038088712841272354, 0.029309572651982307, -0.07123497873544693, 0.0024350504390895367, 0.08717118203639984, -0.05015446990728378, 0.023858845233917236, 0.015744082629680634, -0.017044486477971077, 0.06147245317697525, -0.02158305235207081, -0.058705396950244904, 0.01951807178556919, -0.013921757228672504, -0.03966322913765907, 0.053284648805856705, -0.06640144437551498, -0.04404821619391441, -0.004506728146225214, -0.05125361680984497, 0.021438229829072952, 0.009865254163742065, 0.024514416232705116, -0.01667063683271408, -0.00346497748978436, -0.04886258393526077, 0.034312330186367035, 0.020794590935111046, 0.02912377007305622, 0.00044168095337226987, 0.038669660687446594, -0.051324427127838135, 0.08632887154817581, 0.03459019958972931, 0.0455033965408802, -0.023056689649820328, -0.005753007717430592, 0.009071748703718185, -0.017268894240260124, 0.04788316413760185, -0.005628612823784351, -0.01563052274286747, -0.05659809336066246, 0.0355147086083889, 0.02856101281940937, -0.04158596694469452, 0.007777688559144735, 0.014754042960703373, -0.06561177968978882, -0.016841396689414978, 0.021189959719777107, 0.016139212995767593, -0.0018068397184833884, 0.06927800178527832, 0.038985975086688995, 0.05363783985376358, 0.07667925953865051, 0.02964956872165203, -0.01863122172653675, 0.0007904111407697201, 0.051846764981746674, 0.07164379209280014, 0.04100407660007477, -0.03673454374074936, 0.07549916207790375, -0.035644784569740295, -0.0388043038547039, 0.06444140523672104, 0.01798364333808422, -0.017307160422205925, -0.06486467272043228, 0.029929982498288155, 0.039427801966667175, 0.011289441026747227, 0.05888023599982262, -0.047826167196035385, -0.01813616417348385, 0.08347433060407639, 0.0012462366139516234, -0.025598526000976562, 0.019198110327124596, 0.030983757227659225, 0.020925398916006088, -0.01101602241396904, -0.0036389799788594246, 0.0036952004302293062, -0.0004471409774851054, 0.021279653534293175, -0.00845422875136137, -0.021013334393501282, 0.022621212527155876, 0.004348465707153082, 0.03561217710375786, 0.11614423990249634, -0.03601252660155296, 0.0023816577158868313, 0.007340824231505394, -0.025570975616574287, -0.010557251051068306, 0.015193386003375053, 0.017626380547881126, -0.0207704845815897, 0.033819615840911865, -0.030148399993777275, -0.002979645738378167, 0.05740439519286156, 0.004165017046034336, 0.007056788541376591, -0.05083960294723511, -0.009057434275746346, 0.017301369458436966, -0.005369554739445448, -0.023981327190995216, -0.04797913879156113, -0.04543348029255867, -0.04661395400762558, -0.04738254100084305, -0.04207979515194893, 0.0402320958673954, -0.016436906531453133, -0.03819112479686737, -0.00866504292935133, -0.006036684848368168, 0.015375327318906784, -0.010892404243350029, -0.05524643510580063, -0.01728917472064495, 0.032164860516786575, 0.00807907897979021, 0.026478834450244904, 0.02994753234088421, 0.05494079738855362, 0.00883160624653101, -0.013847620226442814, -0.01955128088593483, 0.020858624950051308, -0.008150790818035603, -0.004387732595205307, -0.02002127282321453, -0.0722731277346611, 0.008020334877073765, 0.020642006769776344, -0.023925306275486946, -0.06703504920005798, 0.0043736114166677, -0.05423763766884804, 0.021626560017466545, 0.08432408422231674, -0.00826950278133154, 0.022419018670916557, -0.06987463682889938, 0.011515972204506397, 0.012324630282819271, 0.019797034561634064, 0.042217254638671875, -0.05534067004919052, 0.024652330204844475, 0.05157005786895752, -0.03287435322999954, -0.04995131865143776, 0.06274279206991196, 0.010085823945701122, -0.01379453670233488, 0.017260177060961723, -0.0667465552687645, -0.040710993111133575, -0.10351195931434631, 0.002760289004072547, 0.04629584401845932, 0.036811791360378265, -0.0332564041018486, 0.01228009257465601, -0.009978493675589561, -0.010849636048078537, -0.01814676634967327, -0.03832489252090454, -0.033563777804374695, -0.03859489783644676, -0.052374910563230515, -0.030210210010409355, 0.038041505962610245, -0.03580572083592415, 0.013655266724526882, -0.0161697119474411, -0.03794446960091591, -0.006938039790838957, 0.0063781109638512135, 0.024557320401072502, 0.010077724233269691, 0.010982701554894447, -0.039030659943819046 ]
378
Physics of Language Models: Part 3.2, Knowledge Manipulation
https://openreview.net/forum?id=oDbiL9CLoS
[ "Zeyuan Allen-Zhu", "Yuanzhi Li" ]
Poster
Language models can store vast factual knowledge, yet their ability to flexibly use this knowledge for downstream tasks (e.g., via instruction finetuning) remains questionable. This paper investigates four fundamental knowledge manipulation tasks: \textbf{retrieval} (e.g., "What is person A's attribute X?"), \textbf{classification} (e.g., "Is A's attribute X even or odd?"), \textbf{comparison} (e.g., "Is A greater than B in attribute X?"), and \textbf{inverse search} (e.g., "Which person's attribute X equals T?"). We show that language models excel in knowledge retrieval but struggle even in the simplest classification or comparison tasks unless Chain of Thoughts (CoTs) are employed during both training and inference. Moreover, their performance in inverse knowledge search is virtually 0\%, regardless of the prompts. Our primary contribution is a \emph{controlled, synthetic experiment} that confirms these weaknesses are \emph{inherent} to language models: they cannot efficiently manipulate knowledge from pre-training data, even when such knowledge is perfectly stored in the models, despite adequate training and sufficient model size. Our findings also apply to modern pretrained language models such as GPT-4, thus giving rise to many Turing tests to distinguish Humans from contemporary AIs.
knowledge manipulation, language models, generative models, reversal curse
null
13,219
2309.14402
[ -0.03610936179757118, 0.018066320568323135, -0.027337154373526573, 0.041403185576200485, 0.056325312703847885, -0.010677661746740341, 0.054491136223077774, 0.019725440070033073, -0.009502249769866467, 0.0018758823862299323, -0.033383920788764954, 0.07299167662858963, -0.047035396099090576, -0.0018944184994325042, -0.004561843350529671, 0.05153513699769974, 0.022982249036431313, -0.005190602503716946, 0.026482010260224342, 0.015525873750448227, -0.017277495935559273, -0.006066829897463322, 0.02550218254327774, 0.013177599757909775, 0.0326848030090332, 0.00587829016149044, -0.014426765032112598, -0.012965700589120388, -0.015077783726155758, 0.003945889882743359, -0.009129359386861324, 0.002512604696676135, 0.002252045553177595, -0.031133947893977165, -0.017706776037812233, -0.025972047820687294, -0.06017719581723213, 0.03266816586256027, 0.014773155562579632, 0.017937907949090004, -0.05725373327732086, 0.0400811992585659, -0.005980808287858963, -0.007205277215689421, -0.07722429186105728, 0.004857179243117571, -0.09582580626010895, 0.03505736589431763, 0.02492445334792137, -0.014657284133136272, -0.11616016924381256, 0.014311961829662323, 0.021887900307774544, -0.024289069697260857, 0.002050381153821945, 0.05105087161064148, 0.022194260731339455, -0.08512028306722641, 0.013296927325427532, -0.03422686830163002, 0.003139327047392726, 0.01218153815716505, 0.003081641159951687, -0.013373106718063354, -0.010456951335072517, -0.0542144812643528, -0.002638439182192087, 0.01336027029901743, -0.05675521120429039, -0.024510780349373817, -0.027088185772299767, -0.00022835296113044024, -0.006244510877877474, 0.007201429456472397, 0.008960378356277943, -0.03840799257159233, 0.010540775954723358, 0.034389372915029526, 0.06207124888896942, -0.008713603019714355, -0.00445967260748148, 0.04167070612311363, 0.03430149331688881, 0.022417357191443443, 0.02006661519408226, -0.001005257829092443, -0.022164156660437584, -0.020465731620788574, -0.06481318175792694, 0.047562651336193085, -0.015470858663320541, -0.06394645571708679, 0.005039620213210583, 0.026959020644426346, 0.0009756963117979467, 0.042193345725536346, 0.02842775732278824, 0.005842698737978935, -0.018822602927684784, -0.007003952749073505, -0.021895481273531914, -0.04062383249402046, 0.017739906907081604, 0.01637839339673519, -0.10364186018705368, -0.002988545224070549, -0.013078800402581692, -0.000318935519317165, 0.031236952170729637, 0.006800894159823656, -0.0557171069085598, -0.01523799542337656, -0.02691612020134926, -0.004367573652416468, -0.10494702309370041, 0.017145030200481415, -0.004212147556245327, 0.026202324777841568, 0.000954624789301306, 0.039650753140449524, 0.03794403746724129, 0.01526118814945221, 0.017016027122735977, 0.047457195818424225, 0.011474056169390678, 0.008067751303315163, -0.009109493345022202, 0.026789480820298195, -0.03743409737944603, -0.04911934584379196, 0.02459586225450039, 0.0392644926905632, 0.004251392558217049, 0.008445337414741516, -0.013803192414343357, 0.009491046890616417, 0.003375742118805647, 0.017755160108208656, -0.007074582390487194, 0.0358203686773777, 0.0022792865056544542, -0.012341374531388283, 0.043927524238824844, -0.004960819613188505, 0.06044500321149826, -0.01854139193892479, -0.03129475563764572, 0.008294195868074894, 0.0009896340779960155, 0.0018957931315526366, -0.000620270031504333, 0.010797183960676193, 0.015438234433531761, -0.07699643820524216, 0.039870161563158035, 0.07596886157989502, 0.012945486232638359, -0.0006751790060661733, 0.03091415949165821, -0.007683554198592901, 0.005997948348522186, 0.004943274427205324, -0.01784447766840458, -0.002189107472077012, 0.028527691960334778, -0.04426932334899902, -0.0022033860441297293, 0.029147738590836525, -0.03362974897027016, 0.02800208143889904, -0.020630888640880585, -0.009252195246517658, 0.05675210431218147, -0.03403005003929138, -0.03663601726293564, 0.019860463216900826, 0.05109642818570137, 0.00015651856665499508, 0.05394582450389862, -0.0008160812431015074, -0.06533563137054443, 0.03539010509848595, -0.00822722539305687, 0.012507469393312931, 0.0033663806971162558, -0.026306234300136566, 0.07298789918422699, -0.032357893884181976, 0.032040853053331375, 0.01440279558300972, -0.0797036811709404, -0.02947136200964451, 0.04089725390076637, 0.004045798443257809, 0.09074395895004272, -0.0060797566547989845, 0.008825358003377914, 0.06228010356426239, 0.0293450765311718, 0.04602837562561035, 0.048357196152210236, -0.008385157212615013, 0.04590931907296181, -0.006932329852133989, -0.020353272557258606, 0.02545282430946827, 0.02347196638584137, -0.07518860697746277, -0.04132506251335144, 0.05609511584043503, -0.024841945618391037, -0.018861252814531326, -0.005907020531594753, -0.01248483918607235, -0.029427913948893547, 0.01708870381116867, -0.01773872971534729, -0.005868976470082998, 0.0480399951338768, -0.045932356268167496, 0.024485129863023758, 0.02353556454181671, 0.028087563812732697, -0.013736655004322529, -0.03338656574487686, 0.08418086916208267, 0.058930013328790665, -0.015266972593963146, 0.006782155949622393, 0.027736056596040726, 0.028756383806467056, -0.01985883340239525, 0.04255560040473938, 0.003254551440477371, 0.0154335992410779, -0.004259361419826746, -0.029010090976953506, -0.01119974348694086, 0.061680156737565994, -0.03233727812767029, -0.031868111342191696, 0.08629957586526871, -0.06482511013746262, 0.07324125617742538, -0.0047890376299619675, 0.013127065263688564, 0.05220372602343559, -0.012627300806343555, -0.021903470158576965, -0.023301128298044205, -0.021313542500138283, -0.006345653906464577, 0.008525349199771881, -0.009442898444831371, -0.008825044147670269, -0.0500229075551033, -0.0024040064308792353, -0.026579808443784714, 0.06599682569503784, 0.03989754617214203, -0.004446734208613634, 0.03443222492933273, 0.002775582717731595, -0.015652120113372803, 0.00022613895998802036, -0.07323094457387924, -0.004629615694284439, -0.03985220938920975, 0.031122665852308273, 0.0028525132220238447, 0.05502955615520477, -0.020268766209483147, 0.041238974779844284, -0.016051912680268288, -0.01911408081650734, -0.002919187769293785, 0.02741130255162716, -0.013613502494990826, -0.052885450422763824, 0.005978703964501619, -0.029637690633535385, 0.05421622842550278, -0.018914492800831795, -0.05077048018574715, -0.030304159969091415, -0.03957149758934975, -0.010532514192163944, -0.05783657729625702, -0.03467249497771263, 0.0429290235042572, 0.0004048135888297111, 0.0033946516923606396, -0.02476474456489086, -0.015067007392644882, 0.05297563970088959, 0.046554747968912125, 0.029521066695451736, -0.004389935173094273, -0.00671255961060524, 0.050967149436473846, -0.031106632202863693, 0.04673900082707405, -0.004440067335963249, 0.04485325142741203, 0.0035411296412348747, -0.014182795770466328, 0.025341404601931572, 0.017982229590415955, -0.2942521274089813, 0.015782715752720833, -0.0025522983632981777, -0.0425226129591465, 0.020307831466197968, 0.0034370834473520517, 0.0416671559214592, -0.038056518882513046, -0.026295777410268784, 0.012141251936554909, 0.027233386412262917, 0.019339444115757942, -0.012710769660770893, 0.06664200872182846, 0.04225747287273407, 0.022848747670650482, 0.00924481451511383, -0.045217692852020264, -0.009616013616323471, 0.04934270307421684, -0.008666356094181538, -0.031769875437021255, -0.03312588855624199, 0.057844240218400955, 0.020244328305125237, 0.05344570055603981, -0.08952488005161285, -0.013949144631624222, -0.047971438616514206, 0.03049592301249504, -0.0018456861143931746, -0.004221789073199034, -0.0046896482817828655, 0.05400482565164566, 0.00966620072722435, -0.001125082839280367, 0.03821524977684021, 0.010598482564091682, 0.022409388795495033, 0.023180998861789703, -0.018454143777489662, -0.03369395434856415, -0.010641886852681637, 0.02377314306795597, 0.06678417325019836, -0.004008662421256304, -0.05882706865668297, -0.039678387343883514, -0.00004734186950372532, 0.04448161646723747, -0.04010065272450447, -0.0481586754322052, -0.02616102062165737, 0.028809284791350365, 0.01675051636993885, -0.014807535335421562, 0.03463083133101463, -0.030766872689127922, -0.029181841760873795, -0.020221790298819542, 0.01345408707857132, -0.02729067951440811, -0.0034401847515255213, -0.0324130654335022, 0.0027509224601089954, -0.03590776398777962, -0.060813311487436295, -0.04984794929623604, 0.05632800981402397, 0.008778470568358898, -0.05661844462156296, 0.03172139450907707, -0.027071254327893257, -0.09384959936141968, -0.009350592270493507, 0.0010398027952760458, -0.019840050488710403, -0.0399126373231411, 0.00954390224069357, 0.038178734481334686, -0.05567309632897377, -0.045153409242630005, -0.012159750796854496, 0.003976382780820131, 0.01191268302500248, -0.027592001482844353, 0.025702176615595818, -0.014730283990502357, -0.010534209199249744, -0.008318218402564526, 0.03193657472729683, 0.021551253274083138, -0.004457787144929171, 0.004987708758562803, 0.037625622004270554, 0.039746277034282684, 0.02324535697698593, 0.026413653045892715, 0.06433989107608795, 0.019255636259913445, 0.02642788365483284, -0.05227932706475258, 0.024250226095318794, -0.024093762040138245, -0.03422627970576286, 0.027772484347224236, -0.053629059344530106, -0.010488460771739483, 0.030908528715372086, -0.0118239875882864, -0.045024774968624115, -0.012266634963452816, 0.0013233940117061138, 0.021779688075184822, -0.01125546544790268, -0.005686705466359854, -0.008216112852096558, 0.031009692698717117, 0.006693372502923012, -0.02895890735089779, -0.04755489155650139, 0.05118272081017494, -0.045129820704460144, 0.02113916724920273, -0.04791583493351936, -0.03313256800174713, 0.014142231084406376, -0.024553092196583748, -0.014447768218815327, -0.007222224026918411, 0.021907126531004906, 0.012063904665410519, -0.004933483898639679, 0.013212236575782299, 0.0509968064725399, -0.010005411691963673, 0.013681670650839806, 0.001246885396540165, -0.008410214446485043, -0.03276510909199715, -0.0017614266835153103, -0.02239931933581829, 0.023778047412633896, 0.047727685421705246, 0.027244234457612038, 0.011678089387714863, -0.00473768450319767, -0.03185100853443146, -0.002324278699234128, -0.000005002517809771234, 0.04510599002242088, -0.047070592641830444, 0.03078838251531124, -0.055809058248996735, -0.0027280249632894993, 0.004593074321746826, 0.0556466206908226, 0.0026399902999401093, 0.017513878643512726, -0.04762053117156029, 0.03481657803058624, -0.011589493602514267, 0.010584437288343906, 0.006811901461333036, 0.02599693275988102, 0.03209753334522247, -0.04695110768079758, 0.003342767944559455, 0.029455339536070824, 0.04792126268148422, 0.006530274637043476, -0.02449836954474449, -0.04680554196238518, -0.0097685931250453, -0.02386658452451229, -0.004072658251971006, 0.005390596576035023, 0.000459624279756099, -0.01883724331855774, 0.01631929911673069, 0.01570822112262249, -0.01487349346280098, -0.042655427008867264, 0.011210822500288486, 0.0528024397790432, 0.013884363695979118, 0.02473440021276474, -0.006800015922635794, -0.06329617649316788, -0.013185557909309864, -0.04316786676645279, 0.005411652382463217, 0.026088081300258636, -0.0205069612711668, -0.036662403494119644, -0.03925376012921333, 0.034569814801216125, -0.019636960700154305, -0.005905483849346638, 0.009896814823150635, -0.013690901920199394, -0.017564134672284126, -0.03286205232143402, -0.011044014245271683, 0.013200592249631882, -0.0826142281293869, -0.013193667866289616, -0.012081307359039783, 0.009409517049789429, 0.03171627223491669, -0.03314400836825371, -0.004281859379261732, -0.06761915981769562, -0.01603875309228897, 0.009916223585605621, -0.02878640592098236, -0.04431533440947533, -0.018325617536902428, -0.02801770344376564, 0.007199425715953112, 0.020747704431414604, -0.007829055190086365, -0.025242522358894348, -0.05967293307185173, 0.022898780182003975, 0.019389156252145767, 0.007364755030721426, 0.00269535044208169, 0.02220153994858265, -0.05251980945467949, 0.03769978880882263, -0.036971788853406906, 0.028550151735544205, 0.06481325626373291, -0.012162567116320133, -0.03452159836888313, -0.003553045680746436, 0.051351599395275116, 0.006876002531498671, -0.019386984407901764, 0.048615023493766785, -0.006865156814455986, -0.03344219923019409, 0.007221714593470097, 0.006883995607495308, 0.036049727350473404, 0.02409840188920498, -0.03151027113199234, -0.0011995587265118957, 0.03248467296361923, 0.010862539522349834, 0.010861373506486416, -0.056420136243104935, -0.004594236146658659, 0.06747012585401535, -0.021329518407583237, -0.05802726373076439, -0.06309400498867035, -0.044381484389305115, 0.0013806861825287342, 0.003943976480513811, 0.013957779854536057, -0.037874486297369, 0.04761442542076111, 0.008879239670932293, 0.049456819891929626, -0.01196919847279787, -0.003208218375220895, 0.024993393570184708, -0.03573237359523773, -0.0081959068775177, -0.074204221367836, -0.04114739969372749, 0.05070182681083679, -0.0002445419959258288, -0.013746964745223522, -0.027034156024456024, -0.021907184273004532, 0.05082700401544571, -0.019206803292036057, -0.032175272703170776, 0.027972757816314697, -0.00758100813254714, -0.019025558605790138, 0.0198078490793705, -0.061356883496046066, -0.02449456974864006, -0.017424438148736954, -0.04314643517136574, -0.035319894552230835, -0.01504847127944231, 0.04263674095273018, -0.022876424714922905, 0.017676301300525665, -0.006081575993448496, -0.01617521420121193, 0.007841505110263824, 0.06256802380084991, 0.020259711891412735, 0.018724769353866577, -0.02873673290014267, 0.0654684379696846, 0.04321675002574921, 0.014617915265262127, 0.005344653036445379, 0.02509152702987194, -0.03906340152025223, -0.07400859892368317, 0.046240221709012985, -0.02420421876013279, -0.004590795375406742, -0.025790726765990257, 0.07474487274885178, 0.02529923804104328, -0.03065396286547184, -0.028634728863835335, 0.03631037473678589, -0.0406644269824028, -0.0166526697576046, 0.02321154996752739, 0.008735607378184795, -0.02979143336415291, 0.0493040569126606, 0.04249415546655655, 0.059501033276319504, 0.07710482180118561, -0.00805433839559555, -0.023436464369297028, 0.007985946722328663, 0.05797171592712402, 0.05639532208442688, 0.09659960865974426, 0.051665499806404114, 0.06858687847852707, -0.005707683973014355, -0.039370689541101456, -0.0018040576251223683, 0.04304982349276543, 0.01714864745736122, -0.025873228907585144, -0.0018130552489310503, 0.04723730310797691, -0.012089570984244347, 0.0472797155380249, -0.04566708207130432, 0.0062808082439005375, 0.0518050380051136, 0.06032401695847511, -0.029275229200720787, 0.05869525671005249, 0.02378990687429905, -0.005284000653773546, -0.05418797954916954, -0.044119954109191895, -0.009584268555045128, -0.03614675998687744, 0.0008430462912656367, 0.006213350687175989, -0.021488722413778305, -0.014269182458519936, -0.015425185672938824, 0.061467669904232025, 0.12322206050157547, -0.0526072196662426, -0.0003384880837984383, 0.021758442744612694, 0.021036531776189804, -0.0011971567291766405, 0.05314425006508827, 0.037562236189842224, -0.015107190236449242, 0.0033158105798065662, -0.0486115887761116, 0.009033141657710075, 0.0073250941932201385, -0.015458853915333748, 0.02963690087199211, -0.03113555535674095, -0.025086533278226852, 0.014914526604115963, 0.027903826907277107, -0.048782702535390854, -0.07488381117582321, -0.02971184067428112, -0.03326261788606644, -0.027435820549726486, -0.028633808717131615, 0.0652693510055542, -0.014517555944621563, -0.025563491508364677, 0.01689285598695278, -0.02647821418941021, -0.004049478564411402, 0.024530911818146706, -0.05702327564358711, -0.0033646041993051767, 0.013098519295454025, 0.01815257966518402, -0.024821683764457703, 0.050765883177518845, 0.04992328956723213, -0.02155790477991104, 0.006572931073606014, 0.0500548779964447, 0.00010866595403058454, 0.01836303621530533, -0.00017622133600525558, -0.014653480611741543, -0.09788248687982559, -0.034829434007406235, -0.022531740367412567, -0.04464239999651909, -0.07083939760923386, 0.00978767964988947, -0.03383185714483261, 0.03612648695707321, 0.05653386190533638, 0.03847527503967285, 0.02576121874153614, -0.014872130937874317, -0.02122890017926693, 0.012874186970293522, -0.007469505071640015, 0.04756223037838936, -0.018719365820288658, 0.1033000573515892, 0.03970646858215332, -0.012779739685356617, -0.05108985677361488, 0.00009383833821630105, -0.007261007092893124, -0.005546968430280685, -0.04889320209622383, -0.03526242449879646, -0.0005107162287458777, -0.09767406433820724, -0.022370824590325356, 0.022961115464568138, -0.016834817826747894, -0.031079823151230812, 0.010141420178115368, -0.04168049618601799, 0.012958226725459099, 0.017520850524306297, -0.017399555072188377, -0.013082848861813545, -0.022458810359239578, -0.0398060642182827, -0.02944623865187168, -0.020259035751223564, -0.009424683637917042, -0.008404484018683434, -0.04113560542464256, -0.04133908078074455, 0.00823216326534748, -0.016842929646372795, 0.055197443813085556, -0.008055676706135273, 0.03346457704901695, -0.0061131855472922325 ]
379
Logic-Logit: A Logic-Based Approach to Choice Modeling
https://openreview.net/forum?id=vJgJSrYPe1
[ "Shuhan Zhang", "Wendi Ren", "Shuang Li" ]
Poster
In this study, we propose a novel rule-based interpretable choice model, {\bf Logic-Logit}, designed to effectively learn and explain human choices. Choice models have been widely applied across various domains—such as commercial demand forecasting, recommendation systems, and consumer behavior analysis—typically categorized as parametric, nonparametric, or deep network-based. While recent innovations have favored neural network approaches for their computational power, these flexible models often involve large parameter sets and lack interpretability, limiting their effectiveness in contexts where transparency is essential. Previous empirical evidence shows that individuals usually use {\it heuristic decision rules} to form their consideration sets, from which they then choose. These rules are often represented as {\it disjunctions of conjunctions} (i.e., OR-of-ANDs). These rules-driven, {\it consider-then-choose} decision processes enable people to quickly screen numerous alternatives while reducing cognitive and search costs. Motivated by this insight, our approach leverages logic rules to elucidate human choices, providing a fresh perspective on preference modeling. We introduce a unique combination of column generation techniques and the Frank-Wolfe algorithm to facilitate efficient rule extraction for preference modeling—a process recognized as NP-hard. Our empirical evaluation, conducted on both synthetic datasets and real-world data from commercial and healthcare domains, demonstrates that Logic-Logit significantly outperforms baseline models in terms of interpretability and accuracy.
Choice Model, Preference Learning, Interpretability, Rule Learning
null
13,216
null
[ -0.00886025745421648, -0.007494085468351841, -0.008690827526152134, 0.02225104719400406, 0.07384025305509567, 0.021855877712368965, -0.008321298286318779, 0.015332140028476715, 0.0012716349447146058, -0.050496406853199005, -0.028007101267576218, 0.026289701461791992, -0.06472457200288773, -0.032694194465875626, 0.031079784035682678, 0.05577719956636429, 0.022409094497561455, 0.010928274132311344, 0.02695619873702526, -0.04450078308582306, -0.002543725771829486, -0.01813032664358616, 0.007539071142673492, 0.006918253842741251, 0.07089099287986755, -0.012781510129570961, 0.026015102863311768, -0.03311757743358612, -0.033234819769859314, 0.025119369849562645, 0.038704339414834976, -0.002620602725073695, -0.014875569380819798, 0.004262110684067011, -0.052046533674001694, 0.027736270800232887, -0.02578432857990265, -0.0038010720163583755, -0.01645459234714508, 0.02188839763402939, -0.041722122579813004, 0.03175666183233261, 0.03647974878549576, 0.023489944636821747, -0.061792854219675064, 0.008298502303659916, -0.091396264731884, 0.026554899290204048, 0.0070613655261695385, -0.042437709867954254, -0.08011583238840103, 0.033303484320640564, -0.012596076354384422, -0.009378299117088318, 0.02340851165354252, 0.056749556213617325, 0.06091047078371048, -0.08023751527070999, -0.010197714902460575, -0.06848998367786407, -0.005326516460627317, 0.05741225183010101, 0.021493934094905853, 0.005208597984164953, -0.009676937013864517, -0.03264712914824486, -0.005525275599211454, 0.010492544621229172, -0.032145626842975616, -0.011487560346722603, -0.08107790350914001, -0.007092404644936323, 0.003226168919354677, -0.016236385330557823, -0.014877630397677422, -0.02521342784166336, 0.0018285897094756365, 0.04465647414326668, 0.022198135033249855, -0.030590729787945747, 0.005313340108841658, 0.026387346908450127, 0.03337276726961136, 0.04493948072195053, 0.030723368749022484, 0.016756940633058548, -0.007580806501209736, -0.02525685355067253, -0.07864231616258621, 0.030144527554512024, -0.0033156496938318014, -0.05268239229917526, 0.028403352946043015, 0.05118579789996147, -0.000567873939871788, 0.001622385112568736, 0.031148934736847878, -0.005510582122951746, 0.009375181049108505, -0.010947370901703835, -0.009510642848908901, -0.038319990038871765, 0.04620625451207161, 0.0073191518895328045, -0.103883296251297, -0.043032366782426834, 0.00364302727393806, -0.0197849553078413, 0.023978235200047493, 0.011421730741858482, -0.0484614260494709, 0.005237934645265341, 0.04310930147767067, 0.02575279213488102, -0.07527270168066025, 0.03898726403713226, -0.017959674820303917, 0.025648854672908783, 0.012819284573197365, 0.01999068446457386, 0.040919527411460876, 0.010141716338694096, -0.0354282520711422, 0.06239458546042442, -0.009527141228318214, -0.031214166432619095, 0.01918681710958481, 0.033209752291440964, -0.008830737322568893, -0.03333957865834236, -0.01731729879975319, 0.025704381987452507, -0.021467620506882668, -0.011494659818708897, -0.03194231539964676, 0.003349588019773364, -0.0008310109842568636, -0.01636781543493271, 0.04821767657995224, 0.00421789288520813, 0.0015371679328382015, -0.041114404797554016, 0.06110316142439842, -0.04432152956724167, 0.082964688539505, -0.044996824115514755, 0.03219575434923172, 0.0004914124147035182, -0.017058108001947403, -0.02455657161772251, 0.016482196748256683, 0.013450351543724537, 0.02047358825802803, -0.024006925523281097, 0.016034338623285294, 0.06814195960760117, 0.010433152318000793, -0.015908075496554375, -0.0037363118026405573, 0.011984041891992092, 0.028819117695093155, 0.0006820196285843849, -0.008206658065319061, -0.030106717720627785, 0.01682579703629017, -0.06142236664891243, 0.03620379418134689, 0.032122403383255005, -0.01547170989215374, 0.004797848407179117, -0.012992904521524906, -0.03736524656414986, 0.03746098279953003, 0.0072904787957668304, -0.012980769388377666, 0.03293398395180702, 0.05230480059981346, -0.01578543335199356, 0.05049550533294678, 0.007032886613160372, -0.07083990424871445, 0.03789974004030228, -0.012426611967384815, -0.00019358184363227338, 0.02867990918457508, -0.016209430992603302, 0.058184914290905, -0.03149654343724251, 0.03875238820910454, -0.006790796294808388, -0.05985948443412781, -0.047533582895994186, 0.01431756466627121, 0.023378558456897736, 0.060354091227054596, 0.005921345669776201, -0.02630501240491867, 0.06160343065857887, 0.03979553282260895, 0.0699545294046402, 0.025573810562491417, -0.020910494029521942, 0.05023099482059479, -0.005912658758461475, -0.015089285559952259, -0.0012626752723008394, 0.04869668930768967, -0.044323354959487915, -0.013410333544015884, 0.01971409283578396, -0.020873626694083214, -0.0026654074899852276, 0.01667661778628826, -0.026513462886214256, 0.031221317127346992, 0.001305204932577908, 0.018965065479278564, 0.011651906184852123, 0.01600106805562973, -0.03779067099094391, 0.013529226183891296, 0.01861550472676754, -0.010011161677539349, -0.011443129740655422, -0.04227558150887489, 0.059987373650074005, 0.06254175305366516, -0.023763583973050117, -0.019177697598934174, 0.04815772548317909, 0.011331776157021523, 0.04206805303692818, 0.03889107704162598, -0.00542013393715024, 0.05334863439202309, -0.042803626507520676, 0.0026743796188384295, -0.010022453963756561, 0.05245298519730568, -0.04326590523123741, -0.0001465654349885881, 0.048553865402936935, -0.03236722573637962, 0.05887366458773613, -0.027220500633120537, 0.0060764700174331665, -0.0005322182551026344, 0.006729769054800272, -0.010151690803468227, -0.008095888420939445, -0.002779501723125577, -0.006976285949349403, 0.02999931573867798, 0.03007054701447487, -0.0036864569410681725, -0.06510739773511887, 0.019403299316763878, 0.015317993238568306, 0.07001565396785736, 0.04422641173005104, 0.009188791736960411, 0.025750180706381798, -0.009538071230053902, -0.030315274372696877, -0.004489694256335497, -0.10365883260965347, -0.06060332804918289, 0.011964233592152596, 0.011085930280387402, 0.03721736744046211, 0.030082281678915024, -0.033940643072128296, 0.014650988392531872, 0.00013725899043492973, -0.03122163936495781, 0.03438743203878403, 0.052350256592035294, 0.05117584392428398, -0.03600730746984482, 0.008735914714634418, 0.0037260730750858784, 0.07802141457796097, -0.002333085285499692, -0.012240632437169552, 0.006794013548642397, -0.051794104278087616, -0.006471652537584305, -0.0407039150595665, 0.005588599015027285, 0.047730449587106705, 0.038977619260549545, 0.019680313766002655, 0.017520293593406677, 0.00636721309274435, 0.07125438004732132, 0.03178437054157257, 0.033030543476343155, 0.021842455491423607, 0.004156874492764473, 0.02439066581428051, -0.007741629146039486, 0.010950376279652119, 0.014731448143720627, 0.02766946330666542, 0.05051204934716225, 0.012981067411601543, 0.025029392912983894, 0.017292987555265427, -0.2589960992336273, -0.016363684087991714, 0.03903063386678696, -0.009516366757452488, 0.00039908639155328274, -0.05533638224005699, 0.058871492743492126, -0.0343734472990036, -0.0019576968625187874, 0.03728507459163666, 0.014025905169546604, 0.00749776279553771, -0.026386233046650887, 0.05900987237691879, 0.04643941670656204, 0.053710367530584335, -0.004998736549168825, -0.0334276482462883, -0.012626809068024158, 0.04799359291791916, 0.012369012460112572, -0.09615007787942886, -0.03163257613778114, 0.033202700316905975, -0.003269381821155548, 0.05126935988664627, -0.03724944218993187, -0.03548048064112663, -0.046672273427248, -0.0023604442831128836, 0.021745305508375168, -0.031829651445150375, -0.03078213334083557, 0.03370717167854309, 0.056759919971227646, -0.018146712332963943, 0.040674783289432526, -0.022395480424165726, 0.0366649366915226, 0.053090017288923264, -0.0082596680149436, 0.005445584189146757, -0.012240147218108177, 0.017360791563987732, 0.06354939937591553, 0.023781457915902138, -0.0507374182343483, -0.028801720589399338, -0.011791505850851536, 0.019672522321343422, 0.0034832321107387543, 0.00011636983981588855, -0.021951895207166672, -0.008284827694296837, -0.0004981384263373911, -0.003232011804357171, 0.014546755701303482, -0.025730174034833908, -0.044678445905447006, -0.00035361049231141806, 0.002715049311518669, -0.009810728020966053, -0.008613462559878826, -0.022899940609931946, -0.014921562746167183, -0.03549519553780556, -0.09318365156650543, -0.04038926586508751, 0.0410008579492569, 0.051188062876462936, -0.011630017310380936, 0.007417366374284029, 0.01725257746875286, -0.09192687273025513, -0.020520301535725594, -0.0035782617051154375, 0.0010059723863378167, -0.01985771954059601, 0.017757227644324303, 0.005422632675617933, -0.019780555739998817, -0.021392235532402992, -0.006425547879189253, 0.0165086816996336, 0.03910156339406967, -0.006427624262869358, 0.016136547550559044, 0.0069238184951245785, -0.06743025034666061, -0.04604296013712883, 0.017957543954253197, 0.011382638476788998, -0.013249256648123264, -0.021393997594714165, 0.04535004869103432, 0.06223194673657417, -0.0018759398953989148, 0.029829826205968857, 0.008379779756069183, -0.006737899966537952, -0.001061479328200221, -0.06267385929822922, -0.016660071909427643, -0.03118729405105114, -0.06234235316514969, 0.02737944945693016, -0.05333125963807106, -0.024074580520391464, 0.027579791843891144, -0.019811095669865608, 2.0656823096487642e-7, 0.006258183624595404, -0.024781707674264908, -0.0212479867041111, -0.023453952744603157, -0.017927689477801323, -0.032944388687610626, 0.011438707821071148, 0.018196022137999535, 0.011495111510157585, 0.0014657739084213972, 0.02806401439011097, -0.04668343439698219, -0.009047514759004116, -0.04992450401186943, -0.018348881974816322, -0.03493376448750496, -0.04007913917303085, -0.003246262203902006, -0.02439897693693638, 0.043951984494924545, 0.04150513932108879, -0.013867842964828014, 0.04251457005739212, 0.028022995218634605, -0.001871766522526741, -0.010952845215797424, 0.009724103845655918, -0.0018526458879932761, -0.03600168228149414, 0.027530750259757042, -0.03727085515856743, 0.05518478900194168, 0.028168680146336555, -0.009107858873903751, -0.012622777372598648, -0.011576471850275993, 0.03100612200796604, -0.011147864162921906, 0.007088312413543463, 0.007692857179790735, -0.026468859985470772, -0.010785703547298908, -0.013519948348402977, 0.017202220857143402, -0.01401546411216259, 0.04488814249634743, 0.02434973046183586, -0.0014710914110764861, -0.11022446304559708, 0.04350140318274498, -0.010919093154370785, 0.01604483649134636, -0.013203524984419346, 0.0253025833517313, 0.07550638914108276, -0.03078770637512207, -0.03029683604836464, -0.0035477748606354, 0.01794176548719406, 0.02141578309237957, -0.01215648278594017, -0.0040429928340017796, 0.01620187796652317, -0.03658208250999451, -0.004468835424631834, 0.02048886939883232, -0.06990322470664978, -0.04870688170194626, 0.03136866167187691, -0.039547234773635864, -0.05277455598115921, -0.0012533580884337425, -0.015563376247882843, 0.0737239420413971, 0.01476142555475235, 0.015590118244290352, 0.01454644463956356, -0.04697621986269951, -0.00443677045404911, -0.031207023188471794, 0.01763400249183178, -0.033848054707050323, -0.05374883487820625, -0.053504105657339096, -0.04161210358142853, 0.007633313070982695, -0.03160012513399124, -0.04393897205591202, 0.010216685943305492, -0.005670464131981134, -0.03705611824989319, -0.0560745894908905, -0.02391422912478447, 0.02852834016084671, -0.06778137385845184, 0.01072041504085064, 0.04862399399280548, 0.008920343592762947, 0.05847065523266792, -0.04840856045484543, -0.0280939731746912, -0.05209613963961601, -0.07143642753362656, -0.008179035037755966, -0.02599022537469864, -0.025074446573853493, -0.03088398650288582, -0.023163678124547005, 0.014573092572391033, -0.004740889184176922, -0.015464873053133488, -0.02356692962348461, -0.019985061138868332, 0.0037540828343480825, 0.060737863183021545, -0.021198216825723648, -0.06672026216983795, 0.013438282534480095, -0.006680546328425407, -0.010522843338549137, -0.04083545506000519, 0.002502002054825425, 0.04647988826036453, -0.004560652654618025, 0.012491690926253796, -0.028925271704792976, 0.01802329532802105, 0.016055874526500702, 0.00015384757716674358, -0.04089361056685448, -0.01966756209731102, -0.035516157746315, -0.0172413382679224, 0.022256867960095406, 0.03500567749142647, 0.04717440903186798, -0.0029133232310414314, 0.018030453473329544, 0.006178292445838451, -0.021630583330988884, -0.004329801071435213, -0.021133102476596832, -0.0012233566958457232, 0.06000154837965965, -0.015778526663780212, -0.03059449978172779, -0.03735636547207832, -0.010011895559728146, 0.015403004363179207, -0.030219823122024536, 0.017010178416967392, -0.016589147970080376, 0.05161309242248535, 0.016399452462792397, 0.04125198349356651, -0.00040939426980912685, -0.005543784238398075, 0.031081074848771095, -0.06437289714813232, 0.03331257030367851, -0.059903834015131, -0.016695747151970863, 0.04817650094628334, -0.015195087529718876, -0.022629231214523315, 0.009983298368752003, -0.038394369184970856, 0.0539141520857811, -0.0037176464684307575, -0.030174022540450096, 0.01799839362502098, -0.0034989614505320787, 0.006545857060700655, 0.050852540880441666, -0.06258001178503036, -0.05009842291474342, -0.02079126611351967, -0.03286046162247658, 0.01959851197898388, 0.002786074997857213, 0.04787604883313179, -0.022279229015111923, -0.012437690980732441, -0.02645697444677353, 0.020371558144688606, 0.024792836979031563, 0.06375552713871002, 0.014503934420645237, -0.0017090965993702412, -0.02685368061065674, 0.04122955724596977, 0.03268008306622505, 0.05659478157758713, -0.032569289207458496, 0.018870322033762932, -0.016004091128706932, -0.0663922131061554, 0.03633148595690727, -0.01766311191022396, 0.012297667562961578, -0.07461923360824585, 0.07748543471097946, 0.015777112916111946, -0.0495564229786396, 0.008020912297070026, -0.00709682609885931, -0.05959539860486984, 0.015825139358639717, 0.014857890084385872, -0.014851292595267296, 0.0435028076171875, 0.0605776384472847, 0.007857113145291805, 0.08534900844097137, 0.07865482568740845, 0.015596278943121433, 0.0033682144712656736, 0.013483800925314426, 0.050909653306007385, 0.051478639245033264, 0.07463543862104416, 0.015140902251005173, 0.08939538896083832, -0.010946196503937244, -0.050105758011341095, 0.008738487027585506, 0.009345347061753273, -0.03010847046971321, -0.029234595596790314, -0.0028172077145427465, 0.05284971371293068, -0.002756612142547965, 0.040466323494911194, -0.02919880859553814, 0.03332662209868431, 0.060195598751306534, 0.0165045615285635, -0.006295154336839914, 0.0511910542845726, 0.01852596364915371, -0.030773505568504333, -0.05048896744847298, -0.010037212632596493, 0.018040653318166733, -0.03564837947487831, -0.004664215259253979, 0.004536033608019352, -0.014604328200221062, 0.008371856063604355, -0.03101612627506256, 0.07785079628229141, 0.09792905300855637, -0.051133301109075546, -0.01433751080185175, 0.04809027165174484, 0.016672659665346146, -0.0005711022531613708, 0.031013717874884605, 0.02300775796175003, 0.010664532892405987, 0.022709472104907036, -0.04873435199260712, 0.006788811646401882, 0.028337031602859497, 0.02432706020772457, -0.0016011111438274384, -0.0410914309322834, -0.028300078585743904, 0.03433861956000328, 0.0102110980078578, -0.04668956995010376, -0.05244848132133484, -0.0014196017291396856, -0.02289082668721676, -0.06421392410993576, -0.04448845610022545, 0.01923416554927826, 0.003085331991314888, -0.026235003024339676, 0.013419442810118198, 0.013816972263157368, 0.007968767546117306, 0.017733272165060043, -0.06352965533733368, 0.03872785344719887, 0.04152151569724083, 0.014518385753035545, -0.0040394002571702, -0.0036441690754145384, 0.018671758472919464, -0.03354943171143532, -0.019490431994199753, 0.013230729848146439, -0.007040528580546379, -0.006848259828984737, 0.003328957362100482, -0.0502961128950119, -0.0757666602730751, -0.03799572214484215, 0.01658431813120842, -0.03179168328642845, -0.0749012678861618, 0.03318912908434868, -0.01761726103723049, 0.05471457540988922, 0.08600257337093353, 0.018707584589719772, -0.016981951892375946, -0.0509682334959507, -0.02567615732550621, 0.03319155052304268, 0.005209359806030989, 0.032628610730171204, -0.05248819664120674, 0.05367963761091232, 0.005802980158478022, -0.05846782028675079, -0.05798524245619774, 0.04841776564717293, -0.022904837504029274, -0.031564828008413315, -0.012251188047230244, -0.035012900829315186, -0.009422431699931622, -0.09780960530042648, 0.00442472705617547, 0.03813774511218071, -0.03338449448347092, -0.03082934208214283, -0.005838929209858179, -0.019850367680191994, -0.00323957996442914, 0.03610823303461075, -0.0664246529340744, -0.019679788500070572, -0.021072283387184143, -0.04292859137058258, -0.060501787811517715, 0.024372316896915436, -0.0038482488598674536, 0.016337597742676735, -0.019847003743052483, -0.045845113694667816, -0.03962145000696182, -0.04522814229130745, 0.018359750509262085, 0.024165859445929527, 0.030479446053504944, -0.05129308998584747 ]
380
On Calibration of LLM-based Guard Models for Reliable Content Moderation
https://openreview.net/forum?id=wUbum0nd9N
[ "Hongfu Liu", "Hengguan Huang", "Xiangming Gu", "Hao Wang", "Ye Wang" ]
Poster
Large language models (LLMs) pose significant risks due to the potential for generating harmful content or users attempting to evade guardrails. Existing studies have developed LLM-based guard models designed to moderate the input and output of threat LLMs, ensuring adherence to safety policies by blocking content that violates these protocols upon deployment. However, limited attention has been given to the reliability and calibration of such guard models. In this work, we empirically conduct comprehensive investigations of confidence calibration for 9 existing LLM-based guard models on 12 benchmarks in both user input and model output classification. Our findings reveal that current LLM-based guard models tend to 1) produce overconfident predictions, 2) exhibit significant miscalibration when subjected to jailbreak attacks, and 3) demonstrate limited robustness to the outputs generated by different types of response models. Additionally, we assess the effectiveness of post-hoc calibration methods to mitigate miscalibration. We demonstrate the efficacy of temperature scaling and, for the first time, highlight the benefits of contextual calibration for confidence calibration of guard models, particularly in the absence of validation sets. Our analysis and experiments underscore the limitations of current LLM-based guard models and provide valuable insights for the future development of well-calibrated guard models toward more reliable content moderation. We also advocate for incorporating reliability evaluation of confidence calibration when releasing future LLM-based guard models.
Content Moderation, LLM-based Guard Models, Calibration, Safety
null
13,206
2410.10414
[ -0.008625770919024944, -0.022808782756328583, -0.009156093932688236, 0.03182625770568848, 0.04802333563566208, -4.7472576625295915e-7, 0.061279553920030594, 0.005419624969363213, -0.036824632436037064, -0.01277761161327362, -0.01642608642578125, 0.017544414848089218, -0.0501733236014843, -0.008605281822383404, -0.0008560845744796097, 0.05085945129394531, 0.02460123598575592, 0.00569190876558423, 0.054902803152799606, 0.010752192698419094, 0.019195931032299995, -0.006953697185963392, 0.03749890998005867, -0.0019158554496243596, 0.052441708743572235, 0.005921678151935339, 0.04064546898007393, 0.01593467965722084, -0.05460558459162712, 0.0036281279753893614, 0.044082049280405045, 0.015645509585738182, 0.008841787464916706, -0.014920285902917385, 0.02126261033117771, 0.05013112723827362, -0.04997044801712036, 0.019638042896986008, -0.000543055881280452, 0.034362222999334335, -0.025615908205509186, 0.018787318840622902, -0.03201660141348839, -0.010964537039399147, -0.08324972540140152, -0.012606587260961533, -0.07867712527513504, 0.04581190645694733, 0.042213473469018936, -0.015552965924143791, -0.11759516596794128, 0.05288161709904671, -0.04894547536969185, 0.003634506603702903, 0.03522595763206482, 0.01709231734275818, 0.06019933149218559, -0.10143549740314484, 0.0016432154225185513, -0.03259984403848648, -0.0419464111328125, 0.02012873999774456, 0.013291322626173496, -0.015872517600655556, -0.031787317246198654, -0.018996864557266235, 0.03196685388684273, 0.013750036247074604, -0.06213019788265228, -0.04644034802913666, 0.009352006018161774, 0.014939278364181519, 0.0005483939312398434, -0.01528990175575018, -0.004805316682904959, -0.04904821515083313, -0.018305156379938126, 0.03568711131811142, 0.04073465242981911, 0.005117001011967659, 0.009139598347246647, -0.00012844194134231657, 0.02909010276198387, 0.04673570394515991, 0.007829058915376663, 0.02163163758814335, -0.02079707197844982, -0.028108641505241394, -0.05818764120340347, 0.01751186139881611, 0.012692240066826344, -0.02755690924823284, 0.024729494005441666, 0.02349761500954628, 0.0171518437564373, 0.00596319604665041, 0.015491419471800327, 0.03325951471924782, -0.011160626076161861, 0.01430151890963316, 0.005566743202507496, -0.019683143123984337, -0.003200596896931529, -0.011782292276620865, -0.12638884782791138, -0.019657175987958908, -0.026135511696338654, -0.016266824677586555, -0.0257517509162426, -0.017205245792865753, -0.0114616509526968, 0.008277242071926594, 0.012889370322227478, -0.0038755217101424932, -0.07165639102458954, 0.050632890313863754, -0.0115260761231184, 0.0015069462824612856, 0.029205482453107834, 0.01922297477722168, 0.02426714263856411, 0.0720839872956276, 0.004154579248279333, 0.07147920876741409, -0.021034831181168556, 0.011179224587976933, 0.005245380103588104, 0.02127556875348091, -0.008338338695466518, -0.009281965903937817, 0.01229122094810009, 0.028563909232616425, 0.0013648252934217453, 0.0061935498379170895, -0.0094381645321846, 0.002119607524946332, -0.014618691988289356, 0.05874888598918915, 0.04895266145467758, 0.014136893674731255, 0.008072808384895325, -0.03252905234694481, 0.0644136518239975, -0.02258814498782158, 0.06347111612558365, -0.0011623194441199303, -0.005148125346750021, -0.029836824163794518, -0.03421996533870697, 0.004590529948472977, 0.0364835262298584, -0.026133572682738304, -0.02482157200574875, -0.054002564400434494, 0.022252950817346573, 0.03267519921064377, 0.06156470254063606, 0.003315924433991313, -0.03413795679807663, -0.006686402019113302, -0.018021339550614357, -0.01122137438505888, -0.06636819988489151, 0.027735797688364983, 0.0029749528039246798, -0.039423905313014984, 0.0043760063126683235, -0.00168297765776515, -0.014941292814910412, 0.015155503526329994, -0.04395732283592224, -0.007073597051203251, 0.04628743603825569, -0.01239343173801899, -0.02488405629992485, 0.011067796498537064, 0.049817826598882675, 0.0062721059657633305, 0.017491135746240616, 0.03709452599287033, -0.0753057524561882, 0.019032355397939682, 0.031806580722332, 0.03262977674603462, 0.017718514427542686, -0.005092468112707138, 0.09826532751321793, -0.056412819772958755, -0.023586373776197433, 0.015702037140727043, -0.09746183454990387, 0.0013024529907852411, 0.053682249039411545, 0.001781821483746171, 0.06747512519359589, -0.01416813861578703, -0.00019132740271743387, 0.03720327094197273, 0.02045108750462532, 0.03639206662774086, 0.042598623782396317, 0.004470030777156353, 0.045719731599092484, -0.01375119574368, -0.04649725183844566, 0.003980419598519802, 0.02776263654232025, -0.040300339460372925, -0.039197586476802826, 0.008543985895812511, -0.016589324921369553, 0.004547991324216127, 0.000864151690620929, -0.015441332012414932, 0.014721116982400417, -0.014365484938025475, -0.025454910472035408, -0.0038309155497699976, 0.027097610756754875, -0.06057071313261986, 0.047377340495586395, 0.011285468935966492, -0.011316782794892788, 0.03768984228372574, -0.05453210324048996, 0.09020335227251053, 0.07156135886907578, -0.03511133790016174, -0.007732700556516647, 0.007742292247712612, -0.009937349706888199, -0.028451116755604744, -0.0044791195541620255, -0.01980120874941349, 0.013304876163601875, 0.0029256646521389484, 0.013375164940953255, -0.02230299822986126, 0.05582490935921669, -0.03181576728820801, -0.0031542922370135784, 0.0755143091082573, -0.006180493626743555, 0.05848504230380058, -0.045805297791957855, 0.03707600757479668, 0.050912126898765564, -0.036339737474918365, -0.01457769051194191, -0.030093714594841003, -0.008145319297909737, -0.005464443936944008, 0.054927755147218704, -0.04961848258972168, 0.018217800185084343, -0.04403376951813698, -0.02387630194425583, -0.0023032829631119967, 0.04116293042898178, 0.05865897983312607, 0.018452763557434082, 0.019106533378362656, -0.01662679761648178, -0.02322082407772541, -0.016145028173923492, -0.09491637349128723, -0.04373433440923691, -0.01649801805615425, 0.024227170273661613, 0.021427355706691742, 0.0275703277438879, -0.013361869379878044, 0.011142806150019169, -0.019666142761707306, 0.024169212207198143, 0.01628565974533558, 0.01617465168237686, 0.020667357370257378, -0.02484573982656002, -0.018443461507558823, -0.018200941383838654, 0.037976574152708054, 0.01967574656009674, -0.029840650036931038, -0.022754384204745293, -0.019503092393279076, 0.004761600401252508, -0.06498683989048004, -0.03180545195937157, 0.004062180407345295, -0.013762164860963821, -0.012464695610105991, -0.013373754918575287, 0.04060603305697441, 0.01736936718225479, 0.06563179939985275, 0.015745442360639572, 0.02773411199450493, 0.0021830741316080093, 0.06701236218214035, -0.00928913988173008, 0.009431656450033188, -0.013876775279641151, 0.014749481342732906, -0.014532907865941525, -0.012153537943959236, 0.004091307986527681, 0.0034770024940371513, -0.2869408428668976, -0.0020390418358147144, 0.03328583016991615, -0.04215693846344948, -0.0014757417375221848, -0.005586595740169287, 0.062479060143232346, -0.025485925376415253, -0.04060989245772362, 0.008113459683954716, 0.023458685725927353, 0.010372260585427284, 0.031023986637592316, 0.021641751751303673, 0.032647453248500824, 0.04029589891433716, 0.011432409286499023, -0.046489764004945755, 0.04702310636639595, 0.011641504243016243, -0.034567464143037796, -0.06848321855068207, 0.0041460865177214146, 0.010944299399852753, -0.021719520911574364, 0.04526188224554062, -0.05957407504320145, 0.012727780267596245, -0.031553611159324646, 0.023413093760609627, -0.004019756335765123, -0.03214584290981293, -0.014367281459271908, -0.0027909311465919018, -0.0055488646030426025, -0.001879366347566247, 0.05027863383293152, 0.019956311210989952, 0.025446956977248192, 0.013746177777647972, 0.03891874849796295, -0.031027665361762047, -0.004416037350893021, 0.006047324277460575, 0.07485239952802658, 0.023698123171925545, -0.06895680725574493, -0.018361050635576248, -0.029901955276727676, 0.019313037395477295, 0.003189465729519725, -0.05970948934555054, -0.03230169042944908, 0.0002120604331139475, -0.021624376997351646, -0.008030230179429054, -0.015169927850365639, -0.04391145706176758, -0.01909598521888256, 0.018599772825837135, -0.001486616674810648, -0.01950780674815178, -0.035220447927713394, -0.021945226937532425, -0.011775719001889229, -0.030204297974705696, -0.05355115979909897, -0.05662776529788971, 0.048168476670980453, 0.047567714005708694, -0.02205076441168785, 0.03189452365040779, -0.005291363690048456, -0.09475336223840714, -0.01355170551687479, -0.009686757810413837, -0.011549382470548153, -0.012957916595041752, 0.013141704723238945, 0.03879272937774658, -0.07558787614107132, -0.024958834052085876, 0.0013359352014958858, -0.0023138185497373343, 0.04538986459374428, -0.010553951375186443, 0.012979207560420036, 0.010244556702673435, -0.0004824099305551499, -0.04137822240591049, 0.05094415321946144, -0.005913960747420788, -0.016937369480729103, 0.00714263878762722, 0.06023174151778221, 0.00626399228349328, 0.0391729362308979, 0.047261953353881836, 0.055836401879787445, 0.00898547563701868, 0.019938655197620392, -0.04780082032084465, 0.03040989860892296, -0.06275021284818649, -0.014159001410007477, 0.0378054641187191, -0.050748310983181, -0.02991497330367565, 0.032335080206394196, -0.03665970638394356, -0.03833424672484398, -0.004155862610787153, 0.0013811737298965454, -0.011011824943125248, -0.027170216664671898, -0.020613454282283783, -0.006212115287780762, 0.0139024518430233, 0.05644776299595833, -0.049829863011837006, -0.05734262615442276, 0.02525162883102894, -0.0013642440317198634, 0.014151177369058132, -0.008760610595345497, -0.030308080837130547, 0.00682363985106349, 0.003491033799946308, 0.004951093345880508, -0.028926758095622063, 0.003416360355913639, 0.04146898165345192, 0.018364517018198967, -0.0013750651851296425, 0.043184373527765274, 0.00400044210255146, 0.015283769927918911, 0.0015522303292527795, 0.027744140475988388, -0.005221010185778141, 0.008843012154102325, -0.011166430078446865, 0.03752399981021881, 0.0403730608522892, 0.03968394920229912, -0.007837929762899876, 0.042494505643844604, 0.0029627985786646605, 0.00017199417925439775, 0.007381024770438671, 0.03382532298564911, -0.06574182957410812, 0.024724483489990234, -0.04339766874909401, 0.037835054099559784, 0.0083784069865942, 0.037352532148361206, 0.008578910492360592, -0.004039638210088015, -0.05973223224282265, 0.07818035781383514, 0.01786738820374012, -0.012689586728811264, -0.0006254574400372803, 0.010677682235836983, 0.03799205645918846, -0.06712339073419571, -0.007924174889922142, 0.009558415040373802, -0.006417904049158096, -0.013889388181269169, -0.050965066999197006, -0.022553134709596634, 0.0005862562684342265, -0.029531186446547508, 0.004788465332239866, -0.0020636538974940777, -0.021604739129543304, -0.040587473660707474, 0.017408419400453568, -0.01828225888311863, -0.015048613771796227, -0.006194297224283218, 0.018010059371590614, 0.05800272151827812, -0.019608698785305023, -0.00883240532130003, -0.023661425337195396, -0.029209278523921967, 0.02789149433374405, -0.004121121950447559, 0.007826012559235096, -0.014678625389933586, -0.029681319370865822, -0.03072398342192173, -0.0754186362028122, 0.00962026882916689, 0.026024769991636276, 0.00043946944060735404, -0.036795228719711304, 0.01731012761592865, -0.002713265363126993, -0.03717063367366791, 0.005900047719478607, -0.006832493469119072, -0.09335172921419144, 0.022140968590974808, 0.045828599482774734, -0.009509076364338398, 0.02517317421734333, -0.05174494534730911, -0.04268535226583481, -0.04001381993293762, -0.027336223050951958, 0.043518032878637314, -0.05706162378191948, -0.07176230847835541, -0.0008449376909993589, -0.0038256344851106405, -0.005006791558116674, 0.007755466736853123, -0.024657297879457474, -0.0028378416318446398, -0.0058348882012069225, 0.003693348029628396, 0.03618360683321953, -0.022147608920931816, 0.008586069568991661, 0.02258213981986046, -0.033576782792806625, 0.0611729621887207, -0.02992814965546131, 0.05543019250035286, 0.03026355803012848, -0.025513947010040283, 0.007889949716627598, -0.06589130312204361, 0.03067568503320217, -0.027520231902599335, -0.007052905857563019, -0.020132508128881454, 0.004393392708152533, -0.009029841981828213, 0.004110998474061489, 0.02542410045862198, 0.026984484866261482, -0.0010864436626434326, 0.027977926656603813, -0.009711228311061859, 0.0016040494665503502, -0.012056064791977406, 0.037021808326244354, -0.02486974559724331, 0.01144626084715128, 0.05676877871155739, -0.046837057918310165, -0.005171732045710087, -0.0582791306078434, -0.02884666435420513, -0.0017274897545576096, 0.001827383879572153, 0.04281657934188843, -0.036797042936086655, 0.01636909320950508, 0.026346750557422638, 0.014099691063165665, 0.006095045246183872, -0.05135326832532883, 0.03157011419534683, -0.07231608033180237, -0.002346451859921217, -0.06752782315015793, 0.04081673175096512, 0.07614851742982864, -0.03507503867149353, 0.027204029262065887, 0.017922868952155113, -0.043702781200408936, 0.016718652099370956, -0.022451935335993767, -0.07304161041975021, 0.007072395645081997, -0.03500247746706009, -0.03190748021006584, 0.049206577241420746, -0.044901106506586075, 0.015249771997332573, -0.019279861822724342, -0.047479297965765, 0.00859814789146185, 0.007861155085265636, 0.026011930778622627, -0.023432908579707146, 0.009273653849959373, -0.030746661126613617, 0.011751028709113598, -0.013548457995057106, 0.021253040060400963, 0.026768920943140984, 0.012192989699542522, -0.006641973741352558, 0.06841596215963364, 0.04396433383226395, -0.0036704842932522297, 0.02980671264231205, -0.011446209624409676, -0.020234186202287674, -0.07589402049779892, 0.08417929708957672, -0.0016357925487682223, -0.019594691693782806, -0.0260311346501112, 0.07593543082475662, 0.02763880230486393, -0.08268285542726517, -0.021027129143476486, 0.016285035759210587, -0.04073894023895264, -0.011842049658298492, -0.007059287745505571, 0.006566411815583706, -0.004204785451292992, 0.07466325908899307, 0.020275903865695, 0.054815873503685, 0.05067644268274307, -0.0006846379837952554, -0.03157912194728851, 0.004362135194242001, 0.06180015578866005, 0.06123123690485954, 0.0466761589050293, 0.01089986227452755, 0.06580151617527008, -0.05692829564213753, -0.06673993170261383, 0.0406835712492466, 0.029609315097332, -0.012196158990263939, -0.035086724907159805, 0.01648278348147869, 0.07546786963939667, -0.0005922168493270874, 0.0775151178240776, -0.041024334728717804, 0.02885160595178604, 0.04099274054169655, 0.02356637828052044, 0.028317727148532867, 0.040127597749233246, 0.030684933066368103, -0.023449396714568138, -0.022858629003167152, -0.0020886389538645744, -0.007588968146592379, -0.03762238845229149, -0.01214071735739708, -0.0016280276468023658, -0.023332322016358376, -0.030524134635925293, -0.03782946616411209, 0.02449207566678524, 0.11674037575721741, -0.02415929175913334, -0.026300398632884026, 0.028200846165418625, 0.015664992853999138, 0.031002569943666458, 0.03217815235257149, 0.007294824346899986, -0.011157944798469543, -0.011033695191144943, -0.019455436617136, 0.023938685655593872, -0.0171317458152771, -0.029514266178011894, 0.02052987366914749, 0.0021007703617215157, -0.030035099014639854, 0.01353420875966549, 0.030929304659366608, -0.031292375177145004, -0.03868623822927475, -0.026745283976197243, -0.06400389224290848, -0.023696977645158768, -0.059778306633234024, 0.011981493793427944, 0.0035253746900707483, -0.04313802346587181, 0.023271653801202774, -0.04883423075079918, -0.002308834344148636, 0.009076477028429508, -0.04688658565282822, 0.03722977638244629, 0.08169570565223694, 0.005853045731782913, 0.005846303887665272, 0.03945901617407799, 0.0003441481676418334, 0.011109987273812294, -0.030258186161518097, 0.023489229381084442, -0.013066336512565613, 0.039021652191877365, -0.007671324536204338, -0.009370913729071617, -0.09633848071098328, 0.0038563564885407686, 0.04630283638834953, -0.03160736337304115, -0.07821710407733917, 0.04229678586125374, -0.051152415573596954, 0.01904986798763275, 0.07734131813049316, -0.01961410790681839, 0.030837949365377426, -0.02613939717411995, -0.006315858568996191, -0.019733618944883347, 0.018052268773317337, 0.046832237392663956, 0.0026845140382647514, 0.07627104967832565, 0.014147114008665085, -0.026355205103754997, -0.03306623548269272, 0.034973591566085815, -0.00693392613902688, -0.04076993092894554, -0.029528355225920677, 0.014217105694115162, -0.014710437506437302, -0.08167451620101929, 0.007353614084422588, 0.03178979828953743, 0.0002830496523529291, -0.006710447836667299, 0.013122770003974438, -0.014524329453706741, -0.011753899976611137, -0.041188016533851624, -0.012776648625731468, -0.019069282338023186, -0.03838077187538147, -0.03240459784865379, -0.056495990604162216, 0.009886669926345348, -0.025489656254649162, -0.003660733113065362, -0.01608283445239067, -0.07277823239564896, 0.0031005109194666147, 0.029403531923890114, 0.04648040980100632, -0.006706109270453453, -0.004546616226434708, -0.019124068319797516 ]
381
Unified Convergence Analysis for Score-Based Diffusion Models with Deterministic Samplers
https://openreview.net/forum?id=HrdVqFSn1e
[ "Runjia Li", "Qiwei Di", "Quanquan Gu" ]
Poster
Score-based diffusion models have emerged as powerful techniques for generating samples from high-dimensional data distributions. These models involve a two-phase process: first, injecting noise to transform the data distribution into a known prior distribution, and second, sampling to recover the original data distribution from noise. Among the various sampling methods, deterministic samplers stand out for their enhanced efficiency. However, analyzing these deterministic samplers presents unique challenges, as they preclude the use of established techniques such as Girsanov's theorem, which are only applicable to stochastic samplers. Furthermore, existing analysis for deterministic samplers usually focuses on specific examples, lacking a generalized approach for general forward processes and various deterministic samplers. Our paper addresses these limitations by introducing a unified convergence analysis framework. To demonstrate the power of our framework, we analyze the variance-preserving (VP) forward process with the exponential integrator (EI) scheme, achieving iteration complexity of $\tilde{O}(d^2/\epsilon)$. Additionally, we provide a detailed analysis of Denoising Diffusion Implicit Models (DDIM)-type samplers, which have been underexplored in previous research, achieving polynomial iteration complexity.
Diffusion Models, Probability Flow ODEs, Unified Framework, Deterministic Samplers
A unified framework for convergence analysis of diffusion models with deterministic samplers.
13,205
2410.14237
[ -0.01162042748183012, -0.03067697212100029, 0.020600315183401108, 0.03446609899401665, 0.06182098016142845, 0.027455197647213936, 0.013957981951534748, -0.004061784129589796, -0.007638608105480671, -0.07687174528837204, 0.033721234649419785, -0.024436095729470253, -0.05516772344708443, 0.010337648913264275, 0.039956893771886826, 0.07328617572784424, 0.03566419333219528, -0.02650064416229725, -0.021033642813563347, 0.0342763215303421, -0.01912670210003853, -0.007352286484092474, 0.04674448072910309, 0.036910466849803925, 0.004138557706028223, -0.016066882759332657, 0.018106305971741676, -0.02133685164153576, -0.04640025272965431, 0.010791477747261524, 0.0413564033806324, 0.022699717432260513, 0.0024044972378760576, -0.025112565606832504, -0.008187257684767246, 0.015057428739964962, -0.027762725949287415, -0.0030594023410230875, 0.014288444072008133, -0.0006457098643295467, -0.04638470336794853, -0.0027426262386143208, -0.03283349797129631, 0.028098013252019882, -0.06345696747303009, -0.016019633039832115, -0.08631011098623276, 0.02826455980539322, 0.017398925498127937, 0.0024151597172021866, -0.08619963377714157, 0.012583496049046516, 0.022102447226643562, -0.035345207899808884, -0.004507143050432205, 0.046637874096632004, 0.04629654809832573, -0.07162695378065109, 0.013624750077724457, -0.05876715108752251, -0.024106083437800407, 0.00862887967377901, -0.007520278450101614, -0.005538083612918854, -0.003792992327362299, -0.01656678318977356, 0.01411524973809719, 0.044899504631757736, -0.055001452565193176, -0.03633279353380203, -0.029139935970306396, -0.0065176221542060375, -0.008080275729298592, -0.011495105922222137, -0.007098184898495674, -0.0678812637925148, 0.029331013560295105, 0.04026129096746445, 0.051449622958898544, 0.02017402835190296, 0.019215527921915054, -0.014087182469666004, 0.010611249133944511, 0.03721299767494202, -0.008388842456042767, -0.02860254794359207, -0.02656748704612255, -0.03502888232469559, -0.08874797075986862, 0.0786154642701149, -0.0480099581182003, -0.059196699410676956, 0.020294101908802986, 0.026693399995565414, 0.006282047368586063, -0.018002066761255264, 0.038885243237018585, 0.015128293074667454, 0.016434798017144203, -0.021091941744089127, -0.01840021274983883, -0.01877363584935665, 0.0038763564079999924, -0.004351699259132147, -0.0745249092578888, -0.03605348616838455, -0.03130808472633362, -0.0032283177133649588, -0.028834380209445953, 0.023317258805036545, -0.012897510081529617, 0.005837453529238701, -0.0025622958783060312, -0.009454709477722645, -0.08672922104597092, 0.05035655200481415, -0.004176547285169363, 0.01172580849379301, 0.011623439379036427, -0.012659833766520023, 0.05812821164727211, 0.05115007236599922, -0.02182183600962162, 0.06556021422147751, -0.03815370425581932, 0.04806586727499962, 0.05072616785764694, 0.039050739258527756, -0.01719612069427967, -0.033574704080820084, 0.025199037045240402, 0.033894822001457214, -0.007573791313916445, 0.013691708445549011, -0.024297529831528664, -0.032940592616796494, 0.0034790581557899714, 0.011616748757660389, 0.037757791578769684, -0.0037936221342533827, 0.000849636213388294, -0.010408371686935425, 0.02300306409597397, -0.021690277382731438, 0.009304088540375233, -0.012742525897920132, 0.014669048599898815, -0.019144412130117416, -0.05742053687572479, -0.01767081394791603, 0.0297632347792387, 0.04223101586103439, 0.03238921985030174, -0.03846424072980881, -0.007767717353999615, 0.029347941279411316, 0.026558686047792435, 0.01646125316619873, -0.00868161115795374, 0.00465366430580616, 0.04987183213233948, -0.008024862967431545, 0.005257305223494768, -0.015895700082182884, -0.010813425295054913, -0.06440584361553192, 0.08498764038085938, 0.01741202175617218, -0.03110596351325512, -0.03093193843960762, -0.03661828115582466, 0.012880700640380383, 0.05984026938676834, 0.02033149264752865, 0.016859145835042, 0.007155181374400854, 0.017914285883307457, 0.04975155368447304, 0.06279721111059189, 0.018186774104833603, -0.09022717922925949, 0.0032461080700159073, 0.01141224056482315, 0.0074103521183133125, 0.0165325365960598, 0.0029706882778555155, 0.09552165120840073, 0.002274635247886181, 0.0009442511363886297, 0.0213147159665823, -0.07748144865036011, -0.02355053834617138, 0.03387926146388054, -0.006890988443046808, 0.05277590826153755, 0.012058458290994167, 0.013194352388381958, 0.01699789986014366, 0.027115970849990845, 0.01766732707619667, 0.04819898307323456, -0.04574255645275116, 0.03867899253964424, -0.019814589992165565, -0.03396949917078018, -0.014882599003612995, 0.04886811599135399, -0.05533521622419357, -0.034883465617895126, 0.024608155712485313, -0.04024224355816841, -0.009211575612425804, 0.015633070841431618, 0.025874681770801544, 0.018142888322472572, -0.0003987773379776627, 0.005594206973910332, 0.012421165592968464, 0.00508904317393899, -0.04724757745862007, 0.02408219687640667, 0.007664283271878958, -0.03084968589246273, 0.02911125309765339, 0.03624918311834335, 0.08678307384252548, 0.08891739696264267, -0.032079219818115234, -0.004209985490888357, 0.02253691852092743, 0.0014501548139378428, 0.004264643881469965, 0.03141511604189873, -0.01250003557652235, 0.013405680656433105, 0.00792603101581335, -0.011531584896147251, -0.015099907293915749, 0.07194269448518753, -0.04759012907743454, 0.01521883811801672, 0.0621354877948761, -0.006487149279564619, 0.07405740022659302, -0.012631515972316265, 0.0184337105602026, 0.021239176392555237, 0.008379628881812096, -0.020912503823637962, -0.03038584068417549, -0.020736338570713997, 0.0150767145678401, 0.028172021731734276, -0.0393713116645813, -0.002243208000436425, -0.0532708615064621, 0.021973077207803726, 0.035001009702682495, 0.06959418207406998, 0.021720116958022118, 0.03590939939022064, 0.0005411439924500883, 0.027576087042689323, -0.061742015182971954, -0.006621782202273607, -0.12343091517686844, -0.06865908950567245, 0.020316841080784798, 0.053022902458906174, -0.0025451043620705605, 0.04134663566946983, -0.02225167490541935, 0.008769337087869644, -0.005383736453950405, -0.025597795844078064, -0.00389072741381824, 0.0011595941614359617, -0.00004628809983842075, -0.03508278355002403, -0.008831130340695381, 0.003978448454290628, 0.07625571638345718, -0.02672937884926796, -0.03382887691259384, -0.013690418563783169, -0.03368585556745529, -0.012555032968521118, -0.010728894732892513, 0.0023718520533293486, 0.025338664650917053, 0.01988191157579422, 0.04698667302727699, -0.02010083571076393, 0.018561869859695435, 0.02960030548274517, 0.03490355238318443, 0.02275872603058815, 0.0058680372312664986, -0.005815418902784586, -0.0017362794606015086, 0.006687651854008436, -0.0020061545073986053, 0.024867620319128036, 0.022007251158356667, -0.03070780821144581, -0.04603011533617973, 0.029662610962986946, -0.014200510457158089, -0.2875480353832245, 0.008051476441323757, 0.012926534749567509, 0.006282607093453407, 0.03789597004652023, -0.025184959173202515, 0.05840025097131729, -0.024461667984724045, -0.021556610241532326, 0.041560493409633636, -0.006579034961760044, 0.031940918415784836, -0.023837869986891747, 0.07965265959501266, 0.0321134515106678, 0.02790721133351326, 0.01799224503338337, -0.03076353669166565, 0.018744241446256638, 0.017470942810177803, 0.010492771863937378, -0.08120068162679672, -0.013924223370850086, 0.027964144945144653, -0.007178697269409895, 0.026087937876582146, -0.06380245834589005, 0.00980598945170641, -0.046256378293037415, 0.012230651453137398, -0.016909997910261154, -0.0419037863612175, -0.031010936945676804, 0.022226441651582718, 0.016838878393173218, -0.010777749121189117, 0.020145399495959282, 0.03337843716144562, -0.031985051929950714, 0.013324243016541004, 0.023608272895216942, 0.001345598022453487, -0.04368282109498978, 0.017777366563677788, 0.046052832156419754, 0.015342206694185734, -0.01820925995707512, 0.0009784629801288247, 0.005866150837391615, 0.05166393145918846, -0.009589162655174732, -0.019399235025048256, -0.01506064087152481, -0.01007738895714283, -0.026920700445771217, -0.05201634764671326, -0.018594153225421906, -0.020920557901263237, -0.010299041867256165, 0.047315772622823715, 0.005430125631392002, -0.04142932966351509, -0.0071844859048724174, -0.04186692088842392, -0.04409269988536835, -0.03035072423517704, -0.07883509248495102, -0.04379407688975334, 0.034220609813928604, 0.016016703099012375, -0.022107113152742386, -0.006147521547973156, -0.016261033713817596, -0.09128935635089874, 0.006248434539884329, -0.01303701288998127, 0.02837647870182991, -0.018831776455044746, -0.010743601247668266, 0.05302487313747406, -0.03506742790341377, -0.00014745659427717328, 0.011185458861291409, 0.017463726922869682, 0.0012246610131114721, 0.003892366075888276, -0.015211529098451138, -0.017780525609850883, -0.051473699510097504, -0.06142139807343483, 0.037712447345256805, 0.032795533537864685, 0.0497601218521595, -0.018688958138227463, 0.042284172028303146, 0.035645175725221634, 0.005430331453680992, 0.06225263327360153, 0.03127538040280342, -0.025526035577058792, 0.0634182021021843, -0.08561169356107712, -0.04575834795832634, -0.05930096656084061, -0.017988283187150955, 0.003979470115154982, -0.07609601318836212, -0.002610883442685008, 0.017794612795114517, -0.031862229108810425, -0.00549481762573123, -0.022835809737443924, -0.026856424286961555, -0.02764362283051014, -0.0058519658632576466, -0.037334538996219635, -0.01708587445318699, 0.06237319856882095, 0.02424260973930359, -0.0019354999531060457, -0.018854765221476555, 0.020107164978981018, -0.024236395955085754, 0.0014796847244724631, 0.007427205331623554, 0.009322901256382465, -0.019858255982398987, 0.0022386617492884398, -0.01584039069712162, -0.008384031243622303, 0.06194158270955086, 0.04597681388258934, -0.001573398127220571, 0.02262228913605213, 0.06020701304078102, 0.0141137121245265, -0.0264568068087101, 0.003740658750757575, 0.018520329147577286, -0.016229577362537384, 0.01294800266623497, 0.010538240894675255, 0.031656164675951004, 0.011971613392233849, 0.05076713114976883, 0.0068208519369363785, -0.0026770674157887697, 0.017681576311588287, 0.01844482123851776, -0.04604126885533333, 0.03775963932275772, -0.03123295307159424, -0.011741090565919876, -0.016980955377221107, -0.006128939334303141, -0.007944622077047825, 0.02776188775897026, -0.021469153463840485, 0.00043264692067168653, -0.0718424916267395, 0.05586306378245354, 0.02587144635617733, -0.03985487297177315, -0.005449746269732714, 0.011629367247223854, 0.046784333884716034, -0.036622680723667145, 0.020520376041531563, 0.013997552916407585, -0.0028718081302940845, 0.03815634548664093, -0.0077822390012443066, -0.02820977196097374, -0.04723374545574188, -0.015513809397816658, 0.024483850225806236, 0.016590822488069534, 0.003182337386533618, -0.04666946083307266, 0.046130046248435974, 0.008065114729106426, -0.053694043308496475, -0.03642509505152702, 0.024227574467658997, 0.06830863654613495, 0.03176945820450783, 0.011227362789213657, -0.008056551218032837, -0.06551199406385422, 0.04060954228043556, -0.04625355079770088, -0.0018562921322882175, -0.01467803679406643, -0.07634691148996353, -0.020449409261345863, -0.03934935852885246, -0.017576202750205994, 0.055151887238025665, -0.029083266854286194, 0.008532575331628323, 0.006759571842849255, -0.019747575744986534, -0.02334139309823513, -0.005774768069386482, 0.021183816716074944, -0.06518441438674927, 0.012099120765924454, 0.03266129270195961, -0.03449006751179695, 0.034382473677396774, -0.021869972348213196, -0.08174551278352737, -0.060525521636009216, -0.01881074346601963, -0.00034024857450276613, -0.027523502707481384, -0.03971855714917183, -0.03175298497080803, 0.021609095856547356, 0.0343761146068573, 0.017115933820605278, 0.010976350866258144, 0.026214923709630966, 0.0027809320017695427, -0.016003398224711418, 0.04060371220111847, -0.05126114562153816, -0.032811038196086884, -0.03378870710730553, -0.01552718598395586, 0.02035311609506607, -0.0565432533621788, -0.020823627710342407, 0.03596988692879677, 0.01815844513475895, 0.002603931352496147, -0.05953456088900566, 0.05044005438685417, 0.0069949752651154995, 0.006518329028040171, -0.031102700158953667, 0.017134174704551697, -0.013285919092595577, -0.0020824105013161898, -0.0016734483651816845, 0.0482601523399353, 0.022683734074234962, -0.0003375819360371679, 0.02546861581504345, 0.06424884498119354, 0.0024404858704656363, 0.038277290761470795, -0.07752325385808945, 0.009564707055687904, 0.05155576020479202, -0.020911335945129395, -0.01473974622786045, -0.07355925440788269, -0.03512865677475929, 0.05099225416779518, -0.020937711000442505, 0.02433924190700054, -0.008028917945921421, 0.03115765191614628, 0.028581766411662102, 0.024396266788244247, 0.027618272230029106, 0.010295100510120392, 0.03835736960172653, -0.05726241320371628, 0.010685873217880726, -0.08219815045595169, 0.012287239544093609, 0.06270188838243484, -0.029759369790554047, 0.03872615844011307, 0.03086860477924347, -0.018700096756219864, 0.0485578328371048, -0.03910805657505989, -0.06660210341215134, -0.01053883321583271, -0.024179717525839806, -0.018736207857728004, 0.033398762345314026, -0.04770016297698021, -0.03279297798871994, -0.012842285446822643, -0.041810620576143265, 0.009227462112903595, 0.0183576587587595, 0.029084570705890656, -0.019466940313577652, -0.004871320445090532, -0.04635221138596535, 0.02286311239004135, 0.031781744211912155, 0.04432693123817444, 0.002100448589771986, 0.027822284027934074, -0.020277105271816254, 0.052273813635110855, 0.022076861932873726, 0.026349304243922234, 0.030627712607383728, 0.004145998973399401, 0.005022790748625994, -0.039642903953790665, 0.03456168994307518, -0.012791969813406467, 0.010238065384328365, -0.07395302504301071, 0.03967640921473503, 0.036215804517269135, -0.058805111795663834, -0.03742918372154236, 0.026113515719771385, -0.02739034779369831, 0.03873245418071747, -0.0038389116525650024, 0.013751068152487278, 0.02007797546684742, 0.07078123092651367, 0.008922706358134747, 0.0757131576538086, 0.04872899875044823, 0.00687923189252615, -0.008951499126851559, 0.008925126865506172, 0.07372631877660751, 0.0660487562417984, 0.058556437492370605, -0.007636754773557186, 0.05435490980744362, -0.04218050837516785, -0.06904038786888123, -0.009101583622395992, -0.028364721685647964, -0.01019352301955223, -0.04324619844555855, -0.00040321823325939476, 0.07791285961866379, 0.006106171756982803, 0.06356190890073776, -0.04359652101993561, -0.015084673650562763, 0.020739685744047165, 0.01922188699245453, 0.0004568923031911254, 0.00659013818949461, 0.008894792757928371, -0.00022690666082780808, -0.034602731466293335, -0.0016431836411356926, 0.01916644163429737, -0.003984772600233555, 0.04765051603317261, 0.014466903172433376, 0.00910975132137537, 0.03993391990661621, 0.02177317440509796, 0.010608779266476631, 0.08732647448778152, -0.07707790285348892, -0.03208526223897934, -0.014566951431334019, 0.027256442233920097, 0.01338460948318243, 0.025796370580792427, 0.03654353693127632, 0.0026668028440326452, 0.0026307690422981977, -0.02815018966794014, -0.0006787031888961792, 0.06945022195577621, -0.02288215421140194, 0.007171951234340668, -0.036343980580568314, 0.02082200162112713, 0.010364395566284657, -0.01774045079946518, -0.02926015481352806, -0.05007689818739891, -0.021207110956311226, -0.061234500259160995, -0.04009963944554329, -0.03841668739914894, 0.03865145146846771, 0.005859738681465387, -0.02967999316751957, -0.0018472170922905207, -0.021822800859808922, 0.017718063667416573, 0.02878454141318798, -0.05224063992500305, -0.04509609937667847, 0.040356751531362534, -0.00016139823128469288, -0.0047417148016393185, 0.003595623653382063, 0.02589418552815914, -0.00042965819011442363, -0.021908409893512726, 0.02780047431588173, 0.014899864792823792, 0.05152204632759094, -0.03182152658700943, 0.016032833606004715, -0.07064138352870941, 0.01738096959888935, 0.04167698696255684, -0.012925665825605392, -0.08419284969568253, 0.035972144454717636, -0.03387407585978508, -0.0234377384185791, 0.026565274223685265, -0.01719781383872032, -0.01404582243412733, -0.05605331063270569, -0.03370290994644165, -0.0006260948139242828, 0.007736113853752613, 0.0199568010866642, -0.02532397024333477, 0.05965036526322365, 0.016363998875021935, -0.027527272701263428, -0.059641096740961075, 0.06748117506504059, -0.002829223871231079, 0.022312002256512642, -0.019052425399422646, -0.004354339558631182, -0.033003952354192734, -0.08042772859334946, -0.008455006405711174, 0.021724866703152657, -0.03386871889233589, -0.012606160715222359, 0.014917673543095589, -0.009974641725420952, 0.0005537527613341808, -0.02622159570455551, -0.019034435972571373, -0.03134571760892868, -0.03367722034454346, -0.025315871462225914, -0.0659463182091713, 0.015192024409770966, -0.03371450677514076, -0.018905431032180786, 0.0013902813661843538, -0.04337102174758911, -0.016494864597916603, -0.013266077265143394, 0.016160637140274048, 0.0036640039179474115, 0.006339562125504017, -0.01194396149367094 ]
382
Optimizing Neural Network Representations of Boolean Networks
https://openreview.net/forum?id=1H90Gb9rJ9
[ "Joshua Russell", "Ignacio Gavier", "Devdhar Patel", "Edward Rietman", "Hava T Siegelmann" ]
Poster
Neural networks are known to be universal computers for Boolean functions. Recent advancements in hardware have significantly reduced matrix multiplication times, making neural network simulation both fast and efficient. Consequently, functions defined by complex Boolean networks are increasingly viable candidates for simulation through their neural network representation. Prior research has introduced a general method for deriving neural network representations of Boolean networks. However, the resulting neural networks are often suboptimal in terms of the number of neurons and connections, leading to slower simulation performance. Optimizing them while preserving functional equivalence --lossless optimization-- is an NP-hard problem, and current methods only provide lossy solutions. In this paper, we present a deterministic algorithm to optimize such neural networks in terms of neurons and connections while preserving functional equivalence. Moreover, to accelerate the compression of the neural network, we introduce an objective-aware algorithm that exploits representations that are shared among subproblems of the overall optimization. We demonstrate experimentally that we are able to reduce connections and neurons by up to 70% and 60%, respectively, in comparison to state-of-the-art. We also find that our objective-aware algorithm results in consistent speedups in optimization time, achieving up to 34.3x and 5.9x speedup relative to naive and caching solutions, respectively. Our methods are of practical relevance to applications such as high-throughput circuit simulation and placing neurosymbolic systems on the same hardware architecture.
Neural Networks, Boolean Networks, Lossless Optimization, Integer Linear Programming, NPN Classification
null
13,203
null
[ -0.047334544360637665, 0.00034938225871883333, -0.0022414785344153643, 0.029436415061354637, 0.041127219796180725, 0.04154002666473389, -0.010856770910322666, -0.02222079038619995, -0.042114339768886566, -0.026212958618998528, 0.016233446076512337, -0.0055967457592487335, -0.04322640597820282, 0.016896676272153854, -0.004601075313985348, 0.03160784766077995, 0.0370425246655941, -0.02674916759133339, 0.04672694951295853, 0.024822555482387543, -0.0026719665620476007, -0.03157350793480873, 0.012414849363267422, 0.054028771817684174, 0.028749307617545128, 0.00190295884385705, 0.012801431119441986, -0.00019946279644500464, -0.01848733052611351, 0.022717755287885666, 0.04611808434128761, -0.006359404418617487, 0.015788765624165535, -0.0197666734457016, -0.011817870661616325, 0.025340992957353592, -0.06083391606807709, 0.03085312992334366, -0.01619277521967888, 0.03571401908993721, -0.0531911700963974, 0.009619143791496754, -0.0060840630903840065, 0.03176897391676903, -0.04268863797187805, 0.04126305133104324, -0.11099288612604141, 0.014034035615622997, -0.011847439222037792, 0.011860336177051067, -0.11617771536111832, 0.037287794053554535, -0.003417732659727335, 0.004799638409167528, -0.006892676930874586, 0.011319522745907307, 0.021660223603248596, -0.02909727394580841, -0.014758951030671597, -0.06826193630695343, -0.023670367896556854, 0.0030150713864713907, 0.018269812688231468, 0.0340820737183094, -0.008238207548856735, -0.0208089929074049, 0.030820192769169807, 0.028868157416582108, -0.05873805284500122, 0.01756962202489376, -0.05619769170880318, 0.014171181246638298, 0.008976913057267666, 0.0011957588139921427, 0.02309897541999817, -0.038581568747758865, 0.0327320471405983, 0.006609282456338406, 0.06978945434093475, 0.001567506929859519, 0.04063774645328522, 0.032350677996873856, 0.044527534395456314, 0.03754064813256264, 0.018084140494465828, 0.004596906714141369, -0.06696091592311859, -0.02864205650985241, -0.07824019342660904, 0.031013673171401024, -0.04521413519978523, 0.006980258505791426, 0.022542331367731094, 0.03153708949685097, -0.005004456266760826, 0.0014444220578297973, 0.020122012123465538, 0.0061820936389267445, 0.03174470737576485, 0.028423191979527473, 0.010182719677686691, -0.016614481806755066, -0.00327778491191566, -0.018795141950249672, -0.07992658764123917, -0.012813687324523926, -0.02529633231461048, -0.02269485592842102, 0.0014036218635737896, 0.019010692834854126, -0.021261505782604218, -0.009515303187072277, 0.034178800880908966, -0.010708311572670937, -0.09637226909399033, 0.02211061120033264, -0.009292448870837688, 0.018696779385209084, -0.013446902856230736, 0.01546537596732378, 0.07472152262926102, 0.07176915556192398, -0.01773902401328087, 0.06802170723676682, 0.03219085559248924, -0.00008635804988443851, 0.020841151475906372, 0.04961249232292175, -0.039415568113327026, -0.0398947037756443, -0.030331891030073166, 0.039512790739536285, 0.0005181923042982817, 0.018435494974255562, 0.007711762562394142, -0.03141232207417488, -0.006991021800786257, 0.004027371760457754, 0.02796909026801586, -0.003869397798553109, -0.007826070301234722, -0.030440770089626312, 0.07919815182685852, -0.05785759538412094, 0.07825023680925369, -0.026387585327029228, 0.010195039212703705, -0.008044817484915257, -0.01338588260114193, -0.00504273409023881, -0.04006967321038246, 0.018951771780848503, -0.024449601769447327, -0.0831301137804985, 0.02851802296936512, 0.06388135999441147, 0.008542456664144993, 0.025509949773550034, -0.004436780698597431, 0.00881587527692318, 0.00047777467989362776, -0.031909845769405365, -0.014882153831422329, -0.0025111157447099686, -0.02513977140188217, -0.04378405213356018, 0.056324806064367294, 0.08135717362165451, -0.007910920307040215, 0.021496925503015518, -0.009057706221938133, -0.03609015792608261, 0.0444791316986084, 0.01761312037706375, -0.02649037167429924, -0.006041981745511293, 0.05833786353468895, -0.022392770275473595, 0.010283926501870155, -0.020473545417189598, -0.08444637805223465, 0.03147114813327789, 0.011522341519594193, 0.03352616727352142, -0.023628341034054756, -0.031766120344400406, 0.0757773369550705, -0.0452602282166481, 0.03552328050136566, -0.010217087343335152, -0.058125004172325134, -0.020369235426187515, 0.004575950093567371, -0.02812422625720501, 0.050641078501939774, 0.003630588762462139, -0.0059642246924340725, -0.007127850782126188, -0.006223008036613464, 0.03580087795853615, 0.04928964748978615, -0.0201294906437397, 0.033680789172649384, -0.02011462301015854, -0.052074335515499115, 0.0012178797041997313, 0.04545172303915024, -0.06700623780488968, -0.02789130248129368, 0.001803525839932263, -0.007325729355216026, -0.02187238074839115, 0.027137110009789467, -0.01958346925675869, 0.037808142602443695, -0.04553655534982681, 0.011981627903878689, -0.013112671673297882, 0.03618454933166504, -0.06098756194114685, 0.0467916764318943, 0.020368730649352074, -0.004033975303173065, 0.026724033057689667, 0.0021903659217059612, 0.1030011922121048, 0.062416281551122665, -0.057248372584581375, -0.0070902761071920395, 0.009920487180352211, -0.006171857938170433, -0.011107577942311764, -0.00023591147328261286, 0.00610796082764864, 0.013974050991237164, -0.0012460422003641725, -0.02273513190448284, -0.014753906987607479, 0.05303416773676872, -0.06707758456468582, -0.007882816717028618, 0.06302915513515472, -0.021915866062045097, 0.06767961382865906, -0.015163125470280647, 0.018268518149852753, 0.05102824792265892, -0.03945419564843178, -0.013923370279371738, -0.007510586641728878, -0.04932323843240738, -0.006409702822566032, 0.03384314849972725, 0.01637684367597103, -0.0015260436339303851, -0.07512683421373367, -0.011438424699008465, 0.009144246578216553, 0.07284203916788101, 0.036964189261198044, -0.015105469152331352, 0.006240699905902147, 0.00365944835357368, -0.03961943835020065, -0.008176349103450775, -0.11738338321447372, -0.046680595725774765, 0.02070838212966919, 0.050628408789634705, 0.0054150656796991825, 0.020729655399918556, -0.00216278457082808, 0.02156798541545868, -0.01390589214861393, -0.04393291100859642, -0.00913037545979023, 0.019558796659111977, -0.00961198192089796, -0.030334580689668655, -0.02028796263039112, 0.02554595284163952, 0.07669858634471893, -0.0073973326943814754, -0.01830451935529709, -0.019956141710281372, -0.07637994736433029, -0.00440765917301178, -0.03531176596879959, 0.025719542056322098, 0.023074232041835785, 0.020547382533550262, 0.032103944569826126, -0.028421983122825623, 0.016891194507479668, 0.05612558498978615, 0.0621735118329525, 0.046110622584819794, 0.024396555498242378, -0.022888658568263054, -0.01323920488357544, 0.0029925559647381306, 0.02134958654642105, -0.02714436501264572, 0.018075421452522278, -0.017212264239788055, 0.0329161137342453, 0.035233888775110245, -0.0071134367026388645, -0.2549946904182434, -0.004143921192735434, -0.0028226752765476704, -0.025261014699935913, 0.03868060186505318, -0.004173791967332363, 0.025016827508807182, -0.016473205760121346, -0.008877950720489025, 0.013026495464146137, -0.0019433160778135061, -0.003270328277722001, -0.02203311398625374, 0.037719786167144775, 0.047362070530653, 0.012909209355711937, -0.006571487057954073, -0.029989687725901604, -0.01090768538415432, 0.026514308527112007, -0.006680293474346399, -0.08839142322540283, -0.019545162096619606, 0.015360437333583832, 0.012295529246330261, 0.03888872638344765, -0.11043592542409897, -0.018346747383475304, -0.0503162145614624, -0.017358414828777313, -0.036422379314899445, -0.019793670624494553, -0.016392959281802177, 0.02994590625166893, 0.02607455477118492, 0.0072325742803514, 0.012978571467101574, -0.023662758991122246, 0.008519367314875126, 0.05203024670481682, 0.016433674842119217, -0.018358590081334114, -0.03170804679393768, 0.029498083516955376, 0.07811290770769119, 0.026907414197921753, -0.0579921118915081, -0.004178776405751705, -0.01689855195581913, 0.004643470048904419, -0.02737586200237274, -0.010188139043748379, -0.0019420323660597205, 0.007927232421934605, -0.0425298810005188, 0.0037985786329954863, -0.006985117215663195, -0.009471872821450233, 0.0049919551238417625, 0.00901133194565773, -0.03198808804154396, -0.04464094713330269, -0.0027664548251777887, -0.011146101169288158, -0.0017212550155818462, -0.01877407915890217, -0.09095007181167603, -0.03224189579486847, 0.05203167349100113, 0.047471947968006134, 0.0005282057682052255, 0.01023144368082285, -0.03212568908929825, -0.06864236295223236, 0.0026216895785182714, 0.016707992181181908, -0.03456682711839676, -0.011768573895096779, -0.001774144358932972, 0.05628158524632454, -0.024414677172899246, -0.028531773015856743, -0.01829223334789276, 0.02110598422586918, 0.03776303678750992, -0.03840678185224533, -0.000025954281227313913, -0.018946491181850433, -0.02057776413857937, -0.018454482778906822, 0.036931805312633514, 0.046691350638866425, 0.05001675337553024, -0.06192869320511818, 0.049726542085409164, 0.011085237376391888, 0.08332721889019012, 0.032770708203315735, 0.028354264795780182, 0.010598359629511833, 0.00958582479506731, -0.05034744367003441, -0.0284518301486969, -0.05633009970188141, -0.05579327791929245, 0.05127479135990143, -0.0454750694334507, -0.0013431882252916694, 0.05372583121061325, 0.009519689716398716, -0.022275779396295547, -0.061589691787958145, 0.018788719549775124, -0.03856085613369942, 0.006675737909972668, 0.0013017036253586411, 0.01800643466413021, 0.01820249855518341, -0.0019870130345225334, -0.003660927526652813, -0.038764603435993195, 0.04185617342591286, -0.0124531714245677, 0.005785822868347168, 0.0017841396620497108, -0.011218441650271416, -0.02118518576025963, -0.01187457237392664, -0.007031006272882223, -0.027146505191922188, 0.060379818081855774, 0.045882418751716614, -0.014545567333698273, 0.037658073008060455, 0.04761534556746483, -0.002746651181951165, -0.005264498759061098, -0.0004855708684772253, 0.0055342488922178745, 0.007567237596958876, 0.02902796119451523, -0.008247081190347672, 0.045069653540849686, 0.003103510942310095, -0.025810405611991882, 0.04687833786010742, 0.004236472770571709, -0.009429201483726501, 0.004294709302484989, -0.006793508306145668, 0.0027431738562881947, -0.07178903371095657, -0.009772518649697304, -0.0529383085668087, -0.005553022027015686, -0.0038265769835561514, 0.04752300679683685, -0.01848706230521202, 0.01596480794250965, -0.05572659149765968, 0.038737691938877106, 0.02946850284934044, -0.026067981496453285, -0.005254358518868685, -0.0017877379432320595, 0.06931565701961517, -0.021840550005435944, -0.01796441338956356, 0.021079381927847862, 0.013027421198785305, -0.008001023903489113, -0.01926398277282715, -0.05313875153660774, -0.025986764580011368, -0.0037291711196303368, 0.02378089353442192, 0.02245345711708069, -0.03651249036192894, -0.019824229180812836, -0.02924060821533203, -0.008180220611393452, 0.0021932520903646946, -0.004640016704797745, -0.003072242485359311, 0.0637209564447403, -0.013917477801442146, 0.018370946869254112, 0.024549024179577827, -0.0355164110660553, 0.021988507360219955, 0.006123457569628954, 0.0035873749293386936, -0.030187828466296196, -0.028209127485752106, -0.02346990443766117, -0.012259003706276417, 0.0029314772691577673, 0.04713955149054527, -0.03889259696006775, -0.028737980872392654, 0.028159959241747856, -0.01749948039650917, -0.047492556273937225, -0.03287718445062637, 0.02693902887403965, -0.05689218267798424, 0.0403856597840786, 0.03328194096684456, 0.0013362579047679901, 0.027811085805296898, -0.012528232298791409, -0.00253794202581048, -0.05653020739555359, 0.013534637168049812, 0.02282656356692314, 0.00445536058396101, -0.026540350168943405, -0.0012760867830365896, -0.013226786628365517, -0.01101890578866005, -0.0009444589377380908, -0.011669802479445934, 0.002408005530014634, -0.04659029841423035, -0.013275206089019775, 0.05727478489279747, 0.009179207496345043, 0.01745966263115406, 0.002675949828699231, -0.025996362790465355, 0.01991420052945614, -0.04275793582201004, 0.009310497902333736, 0.03307892009615898, -0.0005408089491538703, -0.010065370239317417, -0.056650109589099884, 0.03697432950139046, -0.017213890329003334, 0.010133498348295689, -0.013277020305395126, -0.0015303154941648245, -0.07786224037408829, 0.012634050101041794, -0.0030144539196044207, 0.022091848775744438, 0.016543960198760033, 0.007776860147714615, -0.010526568628847599, 0.013414004817605019, 0.015427717007696629, 0.004932126495987177, -0.07540134340524673, 0.004077081568539143, 0.07059361785650253, -0.022874854505062103, -0.024728497490286827, -0.05386964976787567, -0.007547379937022924, -0.00422061700373888, -0.054864030331373215, 0.041229039430618286, -0.026080694049596786, 0.06566492468118668, 0.005134812090545893, 0.048585906624794006, 0.0009982428746297956, -0.04725458845496178, 0.0326562374830246, -0.02498556300997734, 0.02492782287299633, -0.05137557536363602, -0.037474654614925385, 0.08295943588018417, 0.0013056250754743814, 0.022813279181718826, -0.004832082893699408, -0.01338285394012928, 0.014842914417386055, -0.034075260162353516, -0.030902042984962463, 0.03445902094244957, -0.007703285664319992, -0.017199479043483734, 0.05368949845433235, -0.050856512039899826, -0.014963868074119091, -0.028294453397393227, -0.03542933985590935, 0.020215468481183052, 0.02181852236390114, 0.04729712754487991, -0.009262789972126484, -0.00937593262642622, -0.004126945976167917, 0.004981888458132744, 0.022176450118422508, 0.048409078270196915, 0.036043934524059296, 0.042315006256103516, -0.059792570769786835, 0.04430672153830528, 0.0537911020219326, 0.044944558292627335, -0.01588725857436657, 0.03397459536790848, -0.016002502292394638, -0.04715416207909584, -0.008389762602746487, -0.008877841755747795, -0.02664986252784729, -0.059112798422575, 0.04004884511232376, 0.02568608894944191, -0.05221185088157654, -0.015124207362532616, 0.03324199840426445, -0.07242676615715027, 0.014913327060639858, -0.009843255393207073, -0.007534391712397337, -0.020040782168507576, 0.0817931517958641, -0.00579761853441596, 0.022930990904569626, 0.08705923706293106, 0.0137745700776577, -0.03633792698383331, -0.011308511719107628, 0.08375765383243561, 0.06323981285095215, 0.013702359981834888, 0.004195617511868477, 0.07874470204114914, -0.027915433049201965, -0.04590911045670509, -0.0058492631651461124, -0.0007759591680951416, -0.04308846965432167, 0.002030306961387396, 0.027541643008589745, 0.0733504444360733, -0.006325144786387682, 0.09314876794815063, -0.038022544234991074, 0.012275703251361847, 0.0599079430103302, 0.022391820326447487, -0.013946055434644222, 0.07678968459367752, 0.012074481695890427, 0.022030174732208252, -0.012566115707159042, -0.014972837641835213, -0.005758786108344793, -0.007197260390967131, 0.02163458615541458, 0.020616132766008377, 0.0039519392885267735, 0.02753414958715439, 0.0040191891603171825, 0.050115860998630524, 0.07159723341464996, -0.029086202383041382, -0.027937764301896095, 0.001417161663994193, 0.005234733689576387, -0.014832663349807262, 0.00424842769280076, -0.007973144762217999, -0.0036164887715131044, -0.014310985803604126, -0.0475672222673893, 0.023103319108486176, 0.003496101126074791, 0.029705341905355453, -0.0023894442711025476, -0.03570127487182617, -0.04283275455236435, -0.024233972653746605, 0.017914706841111183, -0.04485500976443291, -0.049989253282547, -0.053700972348451614, -0.040526602417230606, -0.0658617913722992, -0.04438558593392372, -0.03340400010347366, -0.03389822691679001, -0.053271159529685974, -0.016512097790837288, -0.006833790801465511, 0.01944935880601406, 0.03669650852680206, -0.057905156165361404, 0.01070900447666645, 0.06224040687084198, 0.010933472774922848, 0.002760899718850851, 0.03806927055120468, 0.04056202992796898, -0.018165364861488342, -0.02578086219727993, 0.05640535056591034, 0.0032252753153443336, 0.021441567689180374, 0.01085672713816166, -0.006379975937306881, -0.11184558272361755, 0.007437639869749546, 0.016642939299345016, -0.05164264142513275, -0.06630045920610428, 0.027015019208192825, -0.015544452704489231, 0.0447307787835598, 0.07638929039239883, -0.028311563655734062, -0.0020275257993489504, -0.04521120339632034, -0.00012102680921088904, -0.010013295337557793, -0.0183050949126482, 0.05900507792830467, -0.03765825182199478, 0.05488019809126854, 0.04587298259139061, -0.024994652718305588, -0.014390057884156704, 0.028230873867869377, -0.01677844300866127, -0.008427740074694157, -0.04177475348114967, -0.03696906194090843, -0.02850974351167679, -0.10460890829563141, 0.004908666014671326, -0.0004121678648516536, 0.005215068347752094, -0.043108876794576645, 0.010987456887960434, 0.04037683829665184, 0.002958516124635935, -0.015446655452251434, -0.014956507831811905, -0.006430727895349264, -0.032834719866514206, -0.030788008123636246, -0.03750070556998253, 0.04920342192053795, -0.023371977731585503, 0.018739109858870506, -0.027712125331163406, -0.04704910144209862, -0.021837744861841202, 0.01708131842315197, 0.037216588854789734, 0.013780281879007816, 0.018605541437864304, 0.015276714228093624 ]
383
Causal Order: The Key to Leveraging Imperfect Experts in Causal Inference
https://openreview.net/forum?id=9juyeCqL0u
[ "Aniket Vashishtha", "Abbavaram Gowtham Reddy", "Abhinav Kumar", "Saketh Bachu", "Vineeth N. Balasubramanian", "Amit Sharma" ]
Poster
Large Language Models (LLMs) have recently been used as experts to infer causal graphs, often by repeatedly applying a pairwise prompt that asks about the causal relationship of each variable pair. However, such experts, including human domain experts, cannot distinguish between direct and indirect effects given a pairwise prompt. Therefore, instead of the graph, we propose that causal order be used as a more stable output interface for utilizing expert knowledge. When querying a perfect expert with a pairwise prompt, we show that the inferred graph can have significant errors whereas the causal order is always correct. In practice, however, LLMs are imperfect experts and we find that pairwise prompts lead to multiple cycles and do not yield a valid order. Hence, we propose a prompting strategy that introduces an auxiliary variable for every variable pair and instructs the LLM to avoid cycles within this triplet. We show, both theoretically and empirically, that such a triplet prompt leads to fewer cycles than the pairwise prompt. Across multiple real-world graphs, the triplet prompt yields a more accurate order using both LLMs and human annotators as experts. By querying the expert with different auxiliary variables for the same variable pair, it also increases robustness---triplet method with much smaller models such as Phi-3 and Llama-3 8B outperforms a pairwise prompt with GPT-4. For practical usage, we show how the estimated causal order from the triplet method can be used to reduce error in downstream discovery and effect inference tasks.
Causal Order, Imperfect Experts, Causal Inference, LLMs
null
13,202
null
[ -0.022782230749726295, -0.021991051733493805, -0.025530191138386726, 0.03650236502289772, 0.026842966675758362, 0.009786820970475674, 0.051769327372312546, 0.011796746402978897, -0.01834525354206562, -0.019398340955376625, -0.007477336097508669, 0.06413518637418747, -0.05502980202436447, -0.007434234954416752, -0.008453914895653725, 0.041505973786115646, 0.03162520378828049, -0.014466071501374245, 0.013723516836762428, 0.020367803052067757, 0.021792113780975342, -0.02189561538398266, 0.00907325278967619, 0.03175784647464752, 0.04869333282113075, 0.0014392234152182937, 0.04065680503845215, -0.01395820826292038, -0.043031562119722366, 0.006684004794806242, 0.0597335621714592, 0.012286167591810226, -0.002603312488645315, -0.04194897040724754, -0.005400441121309996, 0.03602353855967522, -0.03466204181313515, 0.010033564642071724, -0.01835249550640583, 0.033693574368953705, -0.07449136674404144, -0.007258732337504625, -0.028796426951885223, -0.002290576696395874, -0.06481357663869858, 0.01791500858962536, -0.10444821417331696, 0.04395383968949318, 0.035260725766420364, -0.0381535179913044, -0.11045821756124496, 0.021110260859131813, 0.02797422744333744, 0.002921542851254344, 0.0006799523252993822, 0.040002621710300446, 0.05484527722001076, -0.09840217977762222, 0.01184527575969696, -0.05876363068819046, -0.04561961069703102, 0.02900359034538269, 0.01752777025103569, -0.019982634112238884, -0.008653889410197735, -0.01657692715525627, -0.0051393769681453705, 0.0573108084499836, -0.06305354088544846, -0.04906216263771057, -0.046459075063467026, -0.000036571731470758095, -0.01997586525976658, 0.021741703152656555, 0.004646813031286001, -0.016082212328910828, 0.014883200637996197, 0.010950006544589996, 0.04766814783215523, 0.029261555522680283, -0.010998313315212727, 0.005543746519833803, 0.003803204046562314, 0.020449332892894745, 0.028140448033809662, 0.004378802143037319, -0.005441590212285519, -0.06640931963920593, -0.05936552956700325, 0.012101306580007076, -0.029117604717612267, -0.057650864124298096, -0.008707718923687935, 0.026379698887467384, -0.018887938931584358, -0.009481001645326614, 0.061179906129837036, 0.014414618723094463, -0.026975300163030624, -0.006760735530406237, -0.0031493159476667643, -0.04539789259433746, 0.013120212592184544, 0.031184019520878792, -0.10128069669008255, -0.03363819792866707, -0.018241679295897484, -0.05420203134417534, 0.0019765510223805904, 0.003439719323068857, -0.024319810792803764, -0.0006868384080007672, 0.006221265532076359, 0.013924225233495235, -0.07025451213121414, 0.07905463874340057, -0.01086570043116808, 0.03100627101957798, 0.022896258160471916, 0.02490815334022045, 0.03828401491045952, 0.021779213100671768, 0.0055974205024540424, 0.08601510524749756, -0.03116586245596409, 0.028131259605288506, 0.028391588479280472, 0.003991665318608284, -0.021290248259902, -0.047455932945013046, 0.02436242066323757, 0.02644839696586132, -0.005110437050461769, -0.013558262959122658, -0.005488235037773848, -0.0031396348495036364, 0.030802512541413307, 0.0454837791621685, 0.028928259387612343, 0.029215114191174507, 0.02716841734945774, -0.02754557877779007, 0.06880515813827515, -0.053492337465286255, 0.06038554385304451, -0.014901609160006046, -0.02837245911359787, -0.011599637567996979, -0.02672727033495903, 0.013189568184316158, 0.024280114099383354, 0.005825120490044355, 0.03217775747179985, -0.05455555394291878, 0.018192661926150322, 0.0666939988732338, 0.02752239815890789, 0.0052101765759289265, -0.022165007889270782, 0.008440147154033184, 0.0277772918343544, 0.004271152429282665, -0.015489581041038036, 0.022727619856595993, 0.005896610673516989, -0.06164778023958206, 0.028293881565332413, 0.024880392476916313, -0.07039839774370193, -0.0005879402160644531, -0.05123819038271904, -0.03469448909163475, 0.06396832317113876, -0.03647923097014427, -0.0004971747985109687, -0.01318741962313652, 0.060975123196840286, -0.021478498354554176, 0.05047775059938431, 0.038672611117362976, -0.06764478236436844, 0.024750420823693275, -0.013254271820187569, 0.0046567595563828945, 0.014758545905351639, -0.01312790997326374, 0.06914466619491577, -0.031336769461631775, 0.010495181195437908, 0.04109499976038933, -0.0709574744105339, -0.021168317645788193, 0.02874026820063591, -0.0007853548740968108, 0.07340580970048904, 0.01659579947590828, 0.0007503452361561358, 0.06770535558462143, 0.014432745985686779, 0.022433092817664146, 0.04388703778386116, -0.01532419491559267, 0.03016662411391735, -0.008248887956142426, -0.0613943412899971, 0.01685798540711403, 0.024777105078101158, -0.025246359407901764, -0.05458864942193031, 0.03930516913533211, -0.026834595948457718, 0.013740124180912971, -0.011023025028407574, 0.0006282607209868729, 0.015139964409172535, -0.004346176516264677, -0.016465604305267334, 0.006948717869818211, -0.005912721622735262, -0.02851044572889805, 0.04334403574466705, 0.029803350567817688, -0.005205655470490456, 0.01728489249944687, -0.013185017742216587, 0.10657933354377747, 0.07221594452857971, 0.0016347431810572743, 0.013085871934890747, 0.040096573531627655, 0.022305455058813095, 0.007970222271978855, 0.019794972613453865, -0.026535402983427048, 0.01679934188723564, -0.012173058465123177, -0.013789227232336998, -0.025089973583817482, 0.04348365589976311, -0.02693195454776287, 0.026462813839316368, 0.05474778264760971, -0.04865352436900139, 0.07802588492631912, -0.010678219608962536, 0.005568403284996748, 0.001907218131236732, -0.0016826239880174398, -0.06892924755811691, 0.0029783269856125116, -0.011424926109611988, 0.010897337459027767, 0.02528000809252262, 0.0104362852871418, -0.0008547349134460092, -0.022746475413441658, -0.016762537881731987, 0.003339374205097556, 0.06464345753192902, 0.046658631414175034, 0.01101576630026102, 0.0401993989944458, -0.013213715516030788, -0.05978904664516449, -0.0023742448538541794, -0.09732448309659958, -0.026468252763152122, -0.016704553738236427, 0.025738338008522987, -0.03011859953403473, 0.0460328683257103, -0.0487707182765007, 0.03920919820666313, 0.0050558471120893955, -0.027258140966296196, 0.020713860169053078, 0.02853338047862053, 0.006584896706044674, -0.03525388985872269, -0.008806554600596428, -0.001449591014534235, 0.03919074684381485, -0.009758505038917065, -0.008224457502365112, -0.05351382866501808, -0.05453084036707878, -0.011715834029018879, -0.0325632318854332, -0.009623214602470398, 0.03477345034480095, 0.011285868473351002, -0.001204000087454915, -0.010763107798993587, 0.000018402450223220512, 0.03076022118330002, 0.037236716598272324, 0.030028896406292915, 0.007754291407763958, -0.0008683123742230237, 0.04460568726062775, -0.017199287191033363, 0.0409783273935318, 0.0018277966883033514, 0.021550055593252182, -0.004851152189075947, 0.016545753926038742, 0.00046983148786239326, 0.028909597545862198, -0.27480757236480713, 0.010935090482234955, 0.025107279419898987, -0.02735164389014244, 0.043102338910102844, -0.023046018555760384, 0.10234113037586212, -0.02898493967950344, -0.04675162211060524, 0.02726258523762226, 0.0259991642087698, 0.05897869914770126, -0.005487459246069193, 0.04092938452959061, 0.03454259783029556, 0.06158159673213959, -0.03734200820326805, -0.04781484603881836, 0.010334272868931293, 0.06432519108057022, 0.009894034825265408, -0.039214443415403366, -0.061674319207668304, 0.024121137335896492, -0.0034441135358065367, 0.02543112076818943, -0.08791112154722214, 0.002683088416233659, -0.036866482347249985, -0.031142421066761017, 0.0016490328125655651, -0.023485694080591202, -0.01118931733071804, 0.039671748876571655, 0.007649024948477745, -0.0019405438797548413, 0.05791888013482094, 0.00788264162838459, 0.01867324858903885, 0.014736700803041458, -0.0034411598462611437, -0.03882545605301857, 0.00706490920856595, -0.0205179825425148, 0.042180441319942474, 0.015751322731375694, -0.010581637732684612, -0.007010520435869694, 0.0025980870705097914, 0.04772672429680824, -0.015735160559415817, -0.015426999889314175, -0.0069059813395142555, -0.007140963338315487, 0.011220135726034641, -0.013507163152098656, 0.003639250760897994, -0.02808551862835884, -0.05755801126360893, -0.005845754407346249, 0.006924400106072426, -0.014990721829235554, 0.01148658525198698, -0.050927795469760895, 0.009545478969812393, -0.04154607281088829, -0.05443830415606499, -0.058577895164489746, 0.038698337972164154, 0.000959609227720648, -0.018265359103679657, 0.0008605156908743083, 0.02681887149810791, -0.11399777978658676, -0.030947212129831314, -0.0067045302130281925, -0.00985332578420639, -0.002156150294467807, -0.000731895153876394, 0.004565034061670303, -0.02040231041610241, -0.01645410992205143, -0.017408685758709908, 0.028504977002739906, 0.020668072625994682, 0.0041740695014595985, 0.014719221740961075, -0.04033598303794861, -0.033632200211286545, -0.035768166184425354, -0.006795023567974567, 0.00431889109313488, 0.018951743841171265, 0.03770754113793373, 0.05138930678367615, 0.03668065741658211, 0.016514398157596588, 0.057476889342069626, 0.06307928264141083, -0.007333145011216402, 0.028476791456341743, -0.08300978690385818, -0.01275128684937954, -0.02580355294048786, -0.02626214362680912, 0.041940055787563324, -0.053990717977285385, -0.014104422181844711, 0.03215743601322174, -0.03879282996058464, -0.03117719665169716, -0.010770118795335293, 0.02099667675793171, -0.0031158914789557457, -0.010466891340911388, -0.022044165059924126, -0.0011249538511037827, 0.016458434984087944, 0.019716277718544006, -0.013483380898833275, -0.04524439573287964, 0.021439768373966217, -0.023591741919517517, 0.0007685250020585954, -0.015036270953714848, -0.009712106548249722, -0.0008051326149143279, -0.051982760429382324, 0.02575654536485672, 0.00986118707805872, 0.0067724669352173805, 0.030545048415660858, 0.022098058834671974, 0.025884754955768585, 0.03415723890066147, -0.03301631659269333, -0.012067392468452454, -0.015985677018761635, 0.0023284032940864563, -0.020928096026182175, 0.00030048706685192883, -0.026251576840877533, -0.0024579716846346855, -0.006530097220093012, 0.043626800179481506, -0.020998233929276466, -0.013566097244620323, -0.01998641900718212, -0.010207620449364185, -0.005598654970526695, 0.06764955073595047, -0.0165229644626379, -0.011407403275370598, -0.012599070556461811, 0.013967148959636688, -0.007486748043447733, 0.0442064143717289, -0.005325889680534601, 0.0024974055122584105, -0.07957827299833298, 0.04255719855427742, -0.02785685658454895, 0.02295193448662758, 0.008288908749818802, 0.006268518045544624, 0.04496263712644577, -0.03824634477496147, 0.012212605215609074, 0.002036146819591522, -0.00031608829158358276, 0.015778927132487297, -0.030316324904561043, -0.04490511119365692, 0.007827519439160824, -0.019273703917860985, 0.019175909459590912, 0.009072626940906048, -0.038040030747652054, -0.007113568484783173, 0.04702093452215195, -0.006548971403390169, -0.05003858357667923, -0.004548904951661825, 0.011698109097778797, 0.07715343683958054, 0.011014198884367943, 0.01833619922399521, -0.007365648169070482, -0.03680271655321121, 0.032960306853055954, -0.004309400450438261, 0.014942510984838009, -0.010557407513260841, -0.01407776027917862, -0.04716634750366211, -0.05101285129785538, -0.006617806851863861, 0.0021503677126020193, -0.013734753243625164, 0.007879978977143764, -0.0032872820738703012, -0.005439579952508211, -0.04936729744076729, -0.01719660684466362, 0.022521911188960075, -0.07211446762084961, -0.029080672189593315, 0.02158813364803791, -0.01412892248481512, 0.0211308766156435, -0.0431814007461071, -0.0376737080514431, -0.04412413388490677, -0.01713956706225872, 0.010677896440029144, -0.008309566415846348, -0.01165993232280016, -0.004509627353399992, -0.0021423823200166225, 0.003693502163514495, 0.013051972724497318, -0.023199278861284256, 0.019505128264427185, -0.016404859721660614, 0.013777628540992737, 0.04277754947543144, -0.03445173799991608, -0.026323020458221436, 0.03479934111237526, -0.04763500392436981, 0.014949369244277477, -0.02861040085554123, 0.013288685120642185, 0.05363846570253372, 0.015909845009446144, -0.004066739231348038, -0.024093465879559517, 0.04462837055325508, 0.005048692692071199, -0.033537618815898895, -0.001999521628022194, -0.031546320766210556, -0.024645749479532242, -0.004474419169127941, 0.03149726986885071, 0.034744005650281906, 0.0006041920860297978, 0.010337162762880325, 0.02332060970366001, 0.019918732345104218, -0.004621830303221941, 0.035265784710645676, -0.025899477303028107, 0.018010297790169716, 0.06414997577667236, -0.020628107711672783, -0.05251017212867737, -0.07342322170734406, -0.03642366826534271, 0.01998707838356495, -0.01805221289396286, 0.050651781260967255, -0.02680930681526661, 0.03952580317854881, 0.00983863603323698, 0.05317462608218193, 0.0009818210965022445, -0.0010512609733268619, 0.04115245118737221, -0.07651492953300476, 0.00735953776165843, -0.07200124859809875, 0.025074684992432594, 0.04310230165719986, -0.05489406734704971, -0.027221716940402985, 0.007279053330421448, -0.004949676804244518, 0.017510229721665382, -0.017027223482728004, -0.03055460751056671, -0.028932981193065643, -0.03750525787472725, -0.00831530336290598, 0.03952561691403389, -0.05314058065414429, -0.034901201725006104, -0.0044992100447416306, -0.058382030576467514, -0.015286670997738838, -0.018710484728217125, 0.04707535728812218, 0.009161311201751232, 0.029731519520282745, -0.007617129944264889, 0.013967911712825298, 0.0040210033766925335, 0.07573464512825012, 0.016077162697911263, 0.013723449781537056, -0.0272210780531168, 0.04319215193390846, 0.030439358204603195, 0.03829456865787506, -0.018206235021352768, 0.005562047008424997, -0.032886356115341187, -0.0556417852640152, 0.07417894154787064, 0.016278883442282677, -0.001091910875402391, -0.060107309371232986, 0.0865451991558075, 0.014400286599993706, -0.05029325187206268, -0.008988690562546253, 0.01397177018225193, -0.04391827434301376, -0.004234600812196732, 0.0003112324920948595, -0.0036219940520823, 0.01522023044526577, 0.07643136382102966, 0.005408830475062132, 0.06980499625205994, 0.07347174733877182, 0.026346338912844658, -0.006095229182392359, -0.02049645595252514, 0.053938671946525574, 0.06049225851893425, 0.06200351193547249, 0.03465832769870758, 0.07810194045305252, -0.032391928136348724, -0.019793666899204254, 0.010905896313488483, 0.0032144838478416204, 0.007191993296146393, -0.03237219527363777, 0.0427311547100544, 0.08320402354001999, -0.012161296792328358, 0.06932923942804337, -0.034548088908195496, -0.01412141788750887, 0.04801314324140549, 0.024936135858297348, 0.010238188318908215, 0.058153800666332245, 0.019694088026881218, 0.02924622967839241, -0.018538758158683777, -0.030070777982473373, -0.0191063042730093, -0.03580723702907562, 0.012411216273903847, -0.006901165004819632, -0.02495284378528595, 0.0013074427843093872, 0.01987081952393055, 0.004879766143858433, 0.11299366503953934, -0.0211440771818161, -0.0162680521607399, 0.024783900007605553, 0.020062768831849098, -0.009136518463492393, 0.06696252524852753, 0.022016773000359535, -0.02175455540418625, -0.019087068736553192, -0.036908555775880814, 0.026239152997732162, 0.02683991566300392, -0.017683541402220726, 0.048054955899715424, -0.01723542809486389, -0.020325390622019768, 0.02322055585682392, 0.009411263279616833, -0.049581874161958694, -0.08106495440006256, -0.012028571218252182, -0.07108796387910843, -0.045393116772174835, -0.037541862577199936, 0.03019755892455578, -0.02366000972688198, -0.026727963238954544, 0.02446010336279869, -0.026747914031147957, 0.025230536237359047, 0.0233671423047781, -0.07249698787927628, -0.010334036312997341, 0.04522480070590973, 0.0007989583536982536, -0.0035618303809314966, 0.024857303127646446, 0.015307433903217316, -0.01857946440577507, -0.019518250599503517, -0.002687838627025485, 0.04383049160242081, 0.015482690185308456, -0.005497546400874853, -0.03547019883990288, -0.08603154122829437, -0.001903519849292934, -0.029866604134440422, -0.03755034878849983, -0.08898909389972687, 0.02590465173125267, -0.005454865749925375, 0.031094830483198166, 0.04634411633014679, 0.011562343686819077, 0.03662128746509552, -0.03204646334052086, 0.0022142434027045965, 0.01400825660675764, 0.019612645730376244, 0.025622088462114334, -0.03970656543970108, 0.06390494853258133, 0.04162543639540672, -0.022907499223947525, -0.0537167526781559, 0.022711124271154404, -0.01308531779795885, -0.028968941420316696, -0.03413273021578789, -0.03808770701289177, -0.013935170136392117, -0.1065298318862915, -0.0034116965252906084, 0.019576426595449448, -0.013086942955851555, -0.032348863780498505, -0.016522467136383057, -0.03969072923064232, -0.03738098964095116, -0.003083806950598955, -0.030394209548830986, -0.005007964558899403, -0.037628885358572006, -0.041598666459321976, -0.051305126398801804, -0.003895894158631563, -0.015417398884892464, 0.00574574014171958, -0.06442530453205109, -0.05177803337574005, -0.0188884474337101, 0.007219030521810055, 0.003667527809739113, -0.009267758578062057, 0.04976368322968483, -0.03575515002012253 ]
384
Physics of Language Models: Part 2.2, How to Learn From Mistakes on Grade-School Math Problems
https://openreview.net/forum?id=zpDGwcmMV4
[ "Tian Ye", "Zicheng Xu", "Yuanzhi Li", "Zeyuan Allen-Zhu" ]
Poster
Language models have demonstrated remarkable performance in solving reasoning tasks; however, even the strongest models still occasionally make reasoning mistakes. Recently, there has been active research aimed at improving reasoning accuracy, particularly by using pretrained language models to "self-correct'' their mistakes via multi-round prompting. In this paper, we follow this line of work but focus on understanding the usefulness of incorporating ``error-correction'' data directly into the pretraining stage. This data consists of erroneous solution steps immediately followed by their corrections. Using a synthetic math dataset, we show promising results: this type of pretrain data can help language models achieve higher reasoning accuracy directly (i.e., through simple auto-regression, without multi-round prompting) compared to pretraining on the same amount of error-free data. We also delve into many details, such as (1) how this approach differs from beam search, (2) how such data can be prepared, (3) whether masking is needed on the erroneous tokens, (4) the amount of error required, (5) whether such data can be deferred to the fine-tuning stage, and many others.
pretraining, language model, error correction, error detection
null
13,200
2408.16293
[ -0.014204099774360657, 0.010706483386456966, -0.021317869424819946, 0.054304126650094986, 0.07216950505971909, 0.02908112108707428, 0.03906874731183052, 0.02009068988263607, -0.03549305722117424, -0.008689813315868378, -0.019061332568526268, 0.04653683677315712, -0.023258371278643608, -0.004195686895400286, -0.020411891862750053, 0.043902311474084854, 0.04517177492380142, 0.015113712288439274, 0.021559813991189003, 0.02825937047600746, -0.011321001686155796, -0.03881942108273506, 0.034206125885248184, 0.02954862080514431, 0.03459692373871803, 0.005360191687941551, 0.02757716178894043, 0.01109479833394289, -0.0258099976927042, -0.015313850715756416, 0.0365338958799839, 0.0005175273981876671, 0.007441429886966944, -0.01394979190081358, -0.009981305338442326, -0.004035796504467726, -0.036401886492967606, -0.00014453681069426239, 0.018034802749753, 0.0014759815530851483, -0.06644809991121292, 0.027603833004832268, -0.013418016955256462, -0.03615033999085426, -0.07314039021730423, 0.009091830812394619, -0.07965197414159775, 0.0018858524272218347, 0.008119650185108185, -0.050398483872413635, -0.11842889338731766, 0.04725264012813568, 0.036659322679042816, -0.03837766870856285, -0.020267177373170853, 0.0446317195892334, 0.03375319764018059, -0.09276854991912842, 0.013455849140882492, -0.02809869684278965, -0.0166685339063406, 0.039204247295856476, -0.031155243515968323, -0.01352586317807436, -0.00532670458778739, -0.03496107459068298, -0.015610625967383385, 0.040810950100421906, -0.07402464747428894, -0.043080028146505356, -0.02782980166375637, 0.011320259422063828, -0.012544522993266582, 0.006545518524944782, -0.005343228112906218, -0.02545783855021, 0.0045710280537605286, 0.04183977097272873, 0.05457017570734024, -0.01793755404651165, 0.013072863221168518, 0.012973073869943619, 0.04442594572901726, 0.01869591325521469, 0.024202687665820122, 0.012077162973582745, -0.02725406363606453, -0.04697846993803978, -0.043898992240428925, 0.05435118451714516, 0.011921858415007591, -0.040622126311063766, 0.021300863474607468, 0.045445770025253296, 0.018787425011396408, 0.0392976738512516, 0.02780129201710224, -0.00014092893979977816, -0.009195118211209774, 0.001098251435905695, -0.039873119443655014, -0.06154515966773033, 0.05373939499258995, 0.036822907626628876, -0.09604210406541824, -0.00981989037245512, -0.0009715401101857424, -0.03079954907298088, 0.010747230611741543, 0.0010605001589283347, -0.029691318050026894, -0.005081131123006344, 0.017024241387844086, -0.030468687415122986, -0.11137311160564423, 0.04390116408467293, 0.01690475083887577, 0.03398388996720314, -0.013256961479783058, 0.03574399650096893, 0.016808444634079933, 0.02565201185643673, 0.03734798729419708, 0.06006914749741554, -0.027314668521285057, 0.042432527989149094, 0.009395708329975605, 0.04037841781973839, -0.03299219533801079, -0.023356163874268532, -0.004868764895945787, 0.05866909399628639, 0.021548118442296982, 0.026351729407906532, 0.0005643972544930875, -0.004502252675592899, -0.011077545583248138, -0.0024333293549716473, 0.018149856477975845, 0.038119781762361526, 0.027332652360200882, 0.024355867877602577, 0.06972398608922958, -0.014057488180696964, 0.05608401820063591, -0.0033754254691302776, -0.04571525752544403, 0.007262466941028833, -0.02793664112687111, -0.009651726111769676, 0.005653977859765291, -0.0035416781902313232, 0.000728177314158529, -0.06240873783826828, 0.026242589578032494, 0.048850275576114655, 0.012726553715765476, 0.03659223020076752, 0.008372108452022076, 0.011405046097934246, 0.016102956607937813, 0.02975296974182129, -0.014957612380385399, -0.007855184376239777, -0.02682480216026306, -0.04679179936647415, 0.02987668849527836, 0.007878540083765984, -0.06356455385684967, 0.019801540300250053, -0.032602496445178986, -0.048067279160022736, 0.08429798483848572, -0.042986851185560226, -0.021949492394924164, -0.022520683705806732, 0.043348800390958786, 0.005029727704823017, 0.05851980298757553, 0.01976599730551243, -0.07558565586805344, 0.03728676587343216, -0.001329237362369895, 0.041140466928482056, 0.03418467566370964, -0.028577037155628204, 0.09593264758586884, -0.039337579160928726, 0.025819018483161926, 0.012983105145394802, -0.07197255641222, -0.033273495733737946, 0.03218662366271019, -0.011766677722334862, 0.06884479522705078, -0.013691609725356102, -0.0054415203630924225, 0.03875203803181648, 0.02623673342168331, 0.06899090856313705, 0.055065300315618515, 0.005541007965803146, 0.056388478726148605, -0.013998099602758884, -0.017486106604337692, 0.005516496486961842, 0.042225826531648636, -0.04777958616614342, -0.03454264625906944, 0.0359930545091629, -0.03626798465847969, -0.015862323343753815, 0.023927360773086548, -0.002837204374372959, -0.01452952902764082, 0.019562192261219025, 0.009058545343577862, -0.007619164884090424, -0.0028895768336951733, -0.048742640763521194, 0.027698181569576263, 0.005279268138110638, -0.015483302995562553, -0.01881752535700798, -0.038468774408102036, 0.09326419234275818, 0.07405145466327667, 0.001241938560269773, -0.011665199883282185, 0.010958795435726643, 0.014009715989232063, 0.030448561534285545, 0.014537245035171509, -0.0043816338293254375, 0.018964949995279312, -0.025865770876407623, -0.016518978402018547, -0.018677091225981712, 0.06607338786125183, -0.04488392919301987, -0.008321641944348812, 0.0768854096531868, -0.040677521377801895, 0.07231246680021286, -0.005237314384430647, 0.012092621996998787, 0.02980373613536358, -0.013035877607762814, -0.027354758232831955, -0.03668810799717903, -0.020645543932914734, 0.003899320727214217, -0.0018707321723923087, -0.005653636530041695, -0.027970630675554276, -0.03845897689461708, -0.02376660145819187, -0.03328220546245575, 0.0840681791305542, 0.04811760410666466, 0.011222049593925476, 0.019701309502124786, 0.02807738073170185, -0.045052189379930496, 0.025921355932950974, -0.10113413631916046, -0.019109955057501793, -0.006926568225026131, 0.020812802016735077, 0.0037165824323892593, 0.04745766520500183, 0.002713251393288374, 0.04179835692048073, -0.0210247989743948, -0.03088272549211979, -0.008935665711760521, 0.047170739620923996, -0.027654260396957397, -0.06410861760377884, -0.010720441117882729, -0.015260959975421429, 0.0718262791633606, -0.02611697092652321, -0.02283732406795025, 0.0018869516206905246, -0.030992643907666206, -0.007248402573168278, -0.05378156155347824, -0.002378514502197504, 0.02370442822575569, -0.012103531509637833, 0.011059194803237915, -0.015831343829631805, -0.021822884678840637, 0.056549832224845886, 0.07918600738048553, 0.02417418546974659, -0.01002157386392355, 0.002488628728315234, 0.050988439470529556, -0.023097388446331024, 0.04262128844857216, -0.019885290414094925, 0.05405507981777191, -0.0016820774180814624, 0.004347981419414282, -0.009468580596148968, 0.0019443049095571041, -0.27035602927207947, -0.010221712291240692, 0.0033969467040151358, -0.019992681220173836, 0.02063523605465889, 0.00453336164355278, 0.041921500116586685, -0.02242443896830082, -0.040476568043231964, 0.015996528789401054, 0.019365740939974785, 0.03294346481561661, -0.00007075723260641098, 0.05269267410039902, 0.058120809495449066, 0.013878234662115574, 0.006973966024816036, -0.03512187674641609, -0.0027577076107263565, 0.03397229313850403, 0.00453903479501605, -0.03408139944076538, -0.03281870856881142, 0.0813489556312561, 0.01323089562356472, 0.04982925206422806, -0.07856915891170502, -0.017969734966754913, -0.05956168845295906, -0.0003701120149344206, -0.00289025716483593, -0.03342132270336151, 0.004662827122956514, 0.02079128846526146, 0.01624797284603119, -0.005916053894907236, 0.025643831118941307, -0.011854349635541439, 0.058866024017333984, 0.0380096398293972, 0.003209845395758748, -0.03469668701291084, 0.00032575460500083864, -0.006809933576732874, 0.05500300973653793, 0.01495927944779396, -0.05648605525493622, -0.02911876142024994, -0.02335949055850506, 0.04985560476779938, -0.01729283109307289, -0.032068971544504166, -0.005862036719918251, -0.008432291448116302, 0.0063258009031414986, -0.0302041694521904, 0.021954573690891266, -0.012760089710354805, -0.027057530358433723, -0.0034683262929320335, 0.011667918413877487, -0.017829105257987976, -0.040962498635053635, -0.04990512132644653, -0.026736117899417877, -0.05042170733213425, -0.06455787271261215, -0.0370170995593071, 0.06458106637001038, 0.033808495849370956, -0.017422223463654518, 0.030153078958392143, -0.00561173539608717, -0.09147988259792328, 0.0013593187322840095, 0.007022217381745577, -0.0008419346413575113, -0.02107977494597435, 0.0008894175989553332, 0.05428757891058922, -0.05978861823678017, -0.0524003803730011, -0.003962278366088867, 0.02045568823814392, 0.022148434072732925, -0.006024605594575405, 0.005688508972525597, -0.04626673087477684, -0.007582628633826971, -0.021878167986869812, 0.056813862174749374, 0.008419910445809364, 0.006544685922563076, 0.009125614538788795, 0.05058685317635536, 0.06215878576040268, -0.0040067024528980255, 0.039971865713596344, 0.07160705327987671, -0.009869102388620377, -0.0010656042722985148, -0.05481025576591492, 0.030476082116365433, -0.04059996083378792, -0.020097505301237106, 0.0028129981365054846, -0.027908284217119217, -0.01904994808137417, 0.020283518359065056, -0.02312842197716236, -0.032632362097501755, -0.0016460118349641562, -0.0025757593102753162, 0.012911715544760227, -0.02066713757812977, -0.021935585886240005, 0.011860431171953678, 0.040912263095378876, -0.008565258234739304, -0.015129114501178265, -0.04190054535865784, 0.0354810394346714, -0.0678366869688034, 0.002769406419247389, -0.02825113758444786, -0.034504927694797516, 0.017627254128456116, -0.009344649501144886, -0.02130233868956566, -0.003884997684508562, -0.006877705454826355, 0.02556704916059971, -0.0057244994677603245, 0.03074837289750576, 0.040504928678274155, -0.009252565912902355, -0.016615228727459908, -0.009749324060976505, 0.0019389800727367401, -0.028092816472053528, 0.018247433006763458, -0.007676507346332073, 0.030396392568945885, 0.02611667849123478, 0.0458618700504303, 0.009264047257602215, -0.02589929662644863, -0.00497443089261651, -0.013155000284314156, 0.005890170577913523, 0.04046616330742836, -0.045704908668994904, 0.03150253742933273, -0.039710596203804016, 0.004805467557162046, 0.01524561271071434, 0.02971980720758438, -0.008580014109611511, 0.014088254421949387, -0.050401754677295685, 0.05826481431722641, -0.010794296860694885, -0.011149987578392029, 0.014644990675151348, 0.012047295458614826, 0.03480800241231918, -0.04552609473466873, 0.027881726622581482, 0.02392006106674671, 0.023580998182296753, 0.03404373303055763, -0.03273983672261238, -0.014371462166309357, 0.004708097781985998, -0.012998607009649277, 0.025937777012586594, 0.025666307657957077, -0.0435008630156517, -0.00495438277721405, -0.0071349190548062325, -0.004746736027300358, -0.029146375134587288, -0.018215643242001534, 0.024236809462308884, 0.06666639447212219, 0.01117829978466034, 0.02161908708512783, -0.018533335998654366, -0.03595423698425293, 0.010819347575306892, -0.02034110203385353, -0.013878650963306427, 0.021600905805826187, -0.009090699255466461, -0.05536241829395294, -0.04707464203238487, 0.004326746799051762, 0.006289187353104353, -0.0007256684475578368, -0.004213929176330566, -0.008214152418076992, -0.015470750629901886, -0.04898689314723015, -0.006688323337584734, 0.023971175774931908, -0.10202676802873611, -0.020525505766272545, 0.0103187570348382, 0.031187305226922035, 0.030799731612205505, -0.0216082613915205, -0.02258380688726902, -0.07759541273117065, -0.04472525790333748, 0.007018107455223799, -0.04446770250797272, -0.02467595599591732, -0.010022846050560474, -0.007678704801946878, -0.013086146675050259, 0.015216371975839138, -0.013177859596908092, -0.018867092207074165, -0.04028591886162758, 0.004162615165114403, 0.01356305181980133, -0.03722230717539787, -0.007331508211791515, 0.021311547607183456, -0.052836526185274124, 0.031483832746744156, -0.03446008265018463, 0.019494839012622833, 0.05939309298992157, 0.02339135855436325, -0.03441803529858589, -0.05577951297163963, 0.03861258924007416, 0.01362936943769455, -0.013977167196571827, 0.014380122534930706, -0.03655825927853584, -0.03569340333342552, 0.017919227480888367, -0.004217635374516249, 0.02961801551282406, 0.023656729608774185, -0.011961904354393482, 0.014599921181797981, 0.0058372728526592255, 0.03285432979464531, 0.0003013618115801364, -0.035702481865882874, 0.0009494400001130998, 0.05714736133813858, -0.008551987819373608, -0.029135484248399734, -0.07521255314350128, -0.05170252546668053, 0.031938567757606506, -0.038355324417352676, 0.019560346379876137, -0.06168748065829277, 0.06329797208309174, -0.0030252293217927217, 0.04427685961127281, 0.029605116695165634, -0.01951223984360695, 0.046830449253320694, -0.04396139830350876, 0.0028147934935986996, -0.08894625306129456, -0.02559245005249977, 0.06586315482854843, -0.024612411856651306, 0.005961035378277302, -0.018122058361768723, -0.04024915769696236, 0.0395544059574604, -0.031185731291770935, -0.031552452594041824, 0.01344043854624033, -0.005839679855853319, -0.02137105166912079, 0.026604069396853447, -0.04409850388765335, -0.0288073793053627, 0.003620917908847332, -0.04696846008300781, -0.0035106437280774117, -0.009412627667188644, 0.06039370968937874, -0.03697618842124939, 0.015935765579342842, -0.018206648528575897, 0.0064321658574044704, 0.0030874991789460182, 0.08741249144077301, 0.046434205025434494, 0.01907825656235218, -0.03846166655421257, 0.07565046101808548, 0.04792572930455208, 0.01789660006761551, 0.005719194188714027, 0.016600124537944794, -0.02301575243473053, -0.051340531557798386, 0.05166634917259216, -0.015784434974193573, -0.026311520487070084, -0.04217500239610672, 0.06734669953584671, 0.024636540561914444, -0.04327882453799248, -0.027694663032889366, 0.0206031184643507, -0.025392651557922363, -0.02080477774143219, -0.00608071917667985, 0.006877925246953964, -0.017483720555901527, 0.043986909091472626, 0.023306433111429214, 0.04174741357564926, 0.0644441694021225, 0.019673341885209084, -0.015228619799017906, -0.005935618653893471, 0.05914763733744621, 0.061523471027612686, 0.06659841537475586, 0.02240584045648575, 0.046583183109760284, -0.04554907605051994, -0.040800441056489944, 0.00881141610443592, 0.008201244287192822, -0.006263319402933121, -0.05028017982840538, 0.017827484756708145, 0.06622495502233505, -0.0029551354236900806, 0.0251438207924366, -0.023881319910287857, -0.009995218366384506, 0.00822441279888153, 0.04431580379605293, -0.0035526861902326345, 0.04021802544593811, 0.01571148820221424, -0.002845817245543003, -0.035843633115291595, -0.04791894555091858, -0.015754645690321922, -0.02855834923684597, 0.0013377695577219129, -0.00787702389061451, -0.027759838849306107, -0.0058601005002856255, -0.030504480004310608, 0.04611247777938843, 0.11063046753406525, -0.06115763261914253, -0.03841983154416084, 0.05277414619922638, 0.026298293843865395, 0.005312170833349228, 0.061060771346092224, 0.0072980960831046104, -0.04751614108681679, -0.0006015975959599018, -0.023279588669538498, 0.007306292187422514, 0.005136205814778805, -0.013376167975366116, 0.01893136464059353, -0.03839646652340889, -0.05549248307943344, 0.039171937853097916, 0.006841994356364012, -0.04120771959424019, -0.07054989039897919, -0.013682452030479908, -0.01471538096666336, -0.050323110073804855, -0.008283265866339207, 0.02415422908961773, -0.04293535277247429, 0.005111016798764467, 0.0030796080827713013, -0.04080186039209366, 0.0029372782446444035, 0.008665992878377438, -0.07310156524181366, -0.007254826370626688, 0.043611373752355576, -0.001333668828010559, -0.025546763092279434, 0.041149482131004333, 0.010667204856872559, -0.02818489447236061, 0.0029154233634471893, 0.034634314477443695, -0.0068360487930476665, 0.021406223997473717, 0.037601932883262634, 0.003900492563843727, -0.09076928347349167, -0.011408449150621891, 0.014469565823674202, -0.017821907997131348, -0.06908081471920013, 0.015820102766156197, -0.031458210200071335, 0.035457611083984375, 0.060474902391433716, 0.03944799676537514, 0.011393100954592228, -0.015703024342656136, -0.00601566256955266, 0.01176708098500967, 0.013521768152713776, 0.060224536806344986, -0.03685325011610985, 0.06279956549406052, 0.024665623903274536, -0.008493209257721901, -0.04688834771513939, 0.001133445417508483, 0.005602639634162188, -0.03401963785290718, -0.020357264205813408, -0.027615036815404892, -0.011710266582667828, -0.08752032369375229, -0.027607714757323265, 0.0270729698240757, -0.024086635559797287, -0.05093645676970482, 0.009846169501543045, -0.04864002391695976, -0.008977542631328106, 0.01712775230407715, 0.006048157811164856, -0.009699645452201366, -0.0349409393966198, -0.0242549329996109, -0.05026386305689812, 0.00041770399548113346, -0.008715799078345299, -0.0005682106129825115, -0.04351658746600151, -0.03827054798603058, 0.015772374346852303, -0.014993022195994854, 0.04304942116141319, -0.0050911265425384045, 0.021355604752898216, -0.012330951169133186 ]
385
Reasoning of Large Language Models over Knowledge Graphs with Super-Relations
https://openreview.net/forum?id=rTCJ29pkuA
[ "Song Wang", "Junhong Lin", "Xiaojie Guo", "Julian Shun", "Jundong Li", "Yada Zhu" ]
Poster
While large language models (LLMs) have made significant progress in processing and reasoning over knowledge graphs, current methods suffer from a high non-retrieval rate. This limitation reduces the accuracy of answering questions based on these graphs. Our analysis reveals that the combination of greedy search and forward reasoning is a major contributor to this issue. To overcome these challenges, we introduce the concept of super-relations, which enables both forward and backward reasoning by summarizing and connecting various relational paths within the graph. This holistic approach not only expands the search space, but also significantly improves retrieval efficiency. In this paper, we propose the ReKnoS framework, which aims to Reason over Knowledge Graphs with Super-Relations. Our framework’s key advantages include the inclusion of multiple relation paths through super-relations, enhanced forward and backward reasoning capabilities, and increased efficiency in querying LLMs. These enhancements collectively lead to a substantial improvement in the successful retrieval rate and overall reasoning performance. We conduct extensive experiments on a variety of datasets to evaluate ReKnoS, and the results demonstrate the superior performance of ReKnoS over existing state-of-the-art baselines, with an average accuracy gain of 2.92% across nine real-world datasets.
Knowledge Graphs, Large Language Models, Question Answering
null
13,191
null
[ -0.045773670077323914, -0.010700063779950142, 0.019015740603208542, 0.0349191315472126, 0.05914054438471794, 0.0010455907322466373, 0.01595309190452099, -0.0018139941385015845, -0.009922010824084282, 0.00019343204621691257, -0.020578784868121147, 0.05299744755029678, -0.05046441778540611, 0.016479551792144775, 0.013960516080260277, 0.050258565694093704, 0.017073476687073708, 0.019672736525535583, 0.02444022335112095, -0.000040914110286394134, 0.00893128477036953, 0.006935542915016413, 0.006408606190234423, 0.018372023478150368, 0.046874988824129105, 0.029882827773690224, 0.0035288557410240173, 0.007745339535176754, -0.02324298396706581, -0.004284617491066456, 0.03769489377737045, -0.018531931564211845, -0.000918088888283819, -0.04635224863886833, -0.01602466031908989, -0.012285538017749786, -0.04295619949698448, 0.016704270616173744, 0.004389814101159573, -0.00834791362285614, -0.04628988355398178, 0.035630688071250916, 0.001400601351633668, 0.005462219472974539, -0.05110953375697136, 0.016068395227193832, -0.12027816474437714, 0.03751913085579872, 0.018645258620381355, -0.010865338146686554, -0.11226202547550201, 0.03113955818116665, -0.021454911679029465, 0.00236233021132648, 0.0036374360788613558, 0.041443582624197006, 0.03597237542271614, -0.0831386148929596, 0.017948802560567856, -0.020858807489275932, -0.02876654826104641, 0.026085397228598595, 0.00021535591804422438, -0.0013147311983630061, -0.040256962180137634, -0.04820789396762848, -0.018622299656271935, 0.04335161671042442, -0.0447331964969635, -0.03639140725135803, 0.013140405528247356, 0.004748700186610222, -0.018968744203448296, 0.03611323982477188, 0.020165055990219116, -0.032868195325136185, 0.003420664928853512, 0.0015906842891126871, 0.049003321677446365, 0.019943201914429665, -0.014481952413916588, 0.029766397550702095, -0.01728462241590023, 0.03113802894949913, 0.03904184326529503, 0.012978233397006989, -0.02934875339269638, -0.05203275755047798, -0.08290597051382065, 0.023030180484056473, -0.0053231255151331425, -0.06463080644607544, 0.006131690461188555, 0.022760342806577682, -0.005450483411550522, 0.0074632675386965275, 0.03553984314203262, 0.024578547105193138, 0.017524942755699158, -0.006935001350939274, 0.0001508866553194821, -0.045427169650793076, 0.028736820444464684, -0.00521943811327219, -0.09359081089496613, -0.02256443351507187, -0.009093917906284332, -0.006722243968397379, 0.022993246093392372, -0.020563552156090736, -0.026624945923686028, 0.0028671971522271633, 0.006556178908795118, 0.018916673958301544, -0.055101245641708374, 0.0377531498670578, -0.0004674744268413633, 0.00727763632312417, 0.007932719774544239, 0.02743491344153881, 0.03460443392395973, 0.0037430599331855774, 0.007777099497616291, 0.07815158367156982, -0.012737293727695942, 0.006724954582750797, -0.03094284050166607, 0.016696445643901825, -0.03940813988447189, -0.05192309617996216, 0.03230994939804077, 0.04534386843442917, -0.004293079953640699, 0.001700241002254188, -0.011223976500332355, 0.01587587222456932, 0.021507613360881805, 0.02270743064582348, 0.023873377591371536, 0.0048279226757586, 0.0361662358045578, -0.014359070919454098, 0.04011484608054161, -0.013606740161776543, 0.09181296825408936, 0.007370149251073599, -0.032823897898197174, 0.014169919304549694, -0.00970962829887867, -0.022450441494584084, 0.005771716590970755, 0.004980357363820076, -0.01447969675064087, -0.055698201060295105, 0.03160048648715019, 0.0957065224647522, 0.006320183631032705, -0.027767611667513847, 0.015271477401256561, 0.013236227445304394, 0.029259560629725456, -0.0006471776869148016, -0.052170153707265854, 0.009427681565284729, -0.00478277588263154, -0.09435246139764786, 0.005426693242043257, 0.03158603608608246, -0.06583680957555771, 0.03314311429858208, -0.015676619485020638, -0.05964306741952896, 0.06361978501081467, -0.05916184186935425, -0.03583459183573723, -0.0005161172593943775, 0.07518330216407776, -0.0029587557073682547, 0.05628129094839096, 0.009018776938319206, -0.05468098446726799, 0.01998627930879593, -0.028043614700436592, -0.030505642294883728, -0.011322999373078346, 0.014288382604718208, 0.07930118590593338, -0.019098075106739998, 0.01765168458223343, -0.0014581308932974935, -0.10157624632120132, -0.034625086933374405, 0.024670153856277466, 0.0036380779929459095, 0.06088554859161377, 0.006756606511771679, 0.012833815068006516, 0.058143194764852524, -0.02956978790462017, 0.033678263425827026, 0.06672292947769165, 0.012122463434934616, 0.046973660588264465, -0.02776525914669037, -0.023333702236413956, 0.031887248158454895, 0.0179311353713274, -0.06623677909374237, -0.02847084030508995, 0.03316153585910797, -0.010233694687485695, 0.0003301754186395556, 0.017244333401322365, -0.05205604434013367, -0.025834113359451294, -0.005161879118531942, -0.0005070469342172146, -0.016067419201135635, 0.02765522338449955, -0.032071515917778015, 0.08369853347539902, 0.005905484780669212, 0.00020628474885597825, 0.008539959788322449, -0.02805790863931179, 0.08398963510990143, 0.07369888573884964, 0.016856711357831955, -0.01263605896383524, 0.03968076407909393, 0.03426076099276543, 0.03330438584089279, 0.028534943237900734, -0.022994613274931908, 0.03450794890522957, -0.05217496678233147, 0.0032727844081819057, -0.03893696516752243, 0.04140663892030716, -0.03320033475756645, -0.010664581321179867, 0.05992724746465683, -0.030564557760953903, 0.055943481624126434, -0.0026703071780502796, -0.00009624605445424095, 0.04331226274371147, 0.03075464814901352, -0.0064568049274384975, -0.01029069721698761, -0.009224887937307358, 0.007266240194439888, 0.007869924418628216, -0.004506130702793598, 0.01824047602713108, -0.007270416244864464, 0.0233173705637455, -0.018078451976180077, 0.04848117753863335, 0.059443190693855286, 0.020953621715307236, -0.0035420365165919065, 0.010636293329298496, -0.045751508325338364, -0.007282900158315897, -0.0936625525355339, -0.030743146315217018, -0.030939549207687378, 0.024627598002552986, 0.012868037447333336, 0.014716950245201588, -0.02532230131328106, 0.07433273643255234, -0.005746211390942335, -0.023260533809661865, 0.02904072217643261, 0.01826576143503189, -0.011322252452373505, -0.03504335880279541, -0.02054555155336857, -0.008358792401850224, 0.042512357234954834, -0.044233500957489014, -0.05493583530187607, -0.03371412679553032, -0.042978089302778244, 0.026437466964125633, -0.03134479746222496, 0.023181429132819176, 0.016766918823122978, 0.03403845056891441, 0.01417165994644165, -0.0445311963558197, -0.011423845775425434, 0.07227795571088791, 0.04449048638343811, 0.0522332638502121, -0.008674121461808681, -0.0029682451859116554, 0.03933942690491676, -0.054876573383808136, 0.011569440364837646, 0.009774770587682724, 0.049778569489717484, -0.0008073131903074682, -0.006518067326396704, -0.0071380906738340855, -0.004021500702947378, -0.2527698278427124, 0.005581968929618597, -0.015108789317309856, -0.03452632576227188, 0.04376182705163956, -0.017570562660694122, 0.062495093792676926, -0.05562836304306984, -0.043167948722839355, -0.001513939700089395, 0.05083565413951874, 0.02936318702995777, 0.009557651355862617, 0.040914151817560196, 0.04843577742576599, 0.0494135245680809, -0.0229802168905735, -0.031882163137197495, -0.02727978676557541, 0.028743572533130646, 0.013171094469726086, -0.05893123522400856, -0.053254351019859314, 0.05318952724337578, 0.00004352541145635769, 0.03311491757631302, -0.10560660809278488, -0.013435534201562405, -0.03995615616440773, -0.03246466815471649, 0.019663143903017044, -0.01425615232437849, -0.019867420196533203, 0.026896916329860687, -0.02011920139193535, 0.024193258956074715, 0.04831480607390404, -0.01534680463373661, 0.02785293012857437, 0.0015969877131283283, 0.0033301457297056913, -0.03869045525789261, -0.024069659411907196, -0.007225521374493837, 0.0481390655040741, -0.003468529786914587, -0.05727458745241165, -0.019718416035175323, -0.007045314647257328, 0.04139818251132965, -0.03725426644086838, -0.01691928133368492, -0.02267465367913246, -0.012927589938044548, -0.0007078334456309676, -0.05047597363591194, 0.024281078949570656, -0.021661780774593353, -0.0355178602039814, -0.023444516584277153, 0.0363069586455822, -0.05308295413851738, -0.001628402154892683, -0.05296488478779793, -0.04001959040760994, -0.027139315381646156, -0.049756672233343124, -0.04115772619843483, 0.008302624337375164, 0.01289772056043148, -0.054304108023643494, 0.038461022078990936, -0.012989001348614693, -0.08695337176322937, -0.03617257997393608, -0.0006737564690411091, -0.02237238548696041, -0.023026663810014725, 0.036084480583667755, 0.017239566892385483, -0.04640806466341019, -0.05279374122619629, -0.050631724298000336, 0.028493449091911316, 0.02268744818866253, 0.00448260735720396, 0.02847515046596527, -0.05685259401798248, -0.021754514425992966, -0.01868656650185585, 0.0027912845835089684, 0.005688469856977463, -0.014800184406340122, 0.02442735992372036, 0.03779178485274315, 0.032070089131593704, 0.014491541311144829, 0.05318276211619377, 0.03595734387636185, 0.009417667984962463, 0.027716180309653282, -0.05325854942202568, 0.007286752574145794, -0.010051106102764606, -0.021084172651171684, 0.007082405034452677, -0.047419771552085876, -0.008193210698664188, 0.019133178517222404, -0.019396068528294563, -0.04656163603067398, -0.012720214203000069, 0.014459812082350254, -0.019044924527406693, -0.03390338271856308, -0.020073236897587776, -0.018116163089871407, 0.05051518604159355, 0.03177409991621971, -0.006028575357049704, -0.04309481754899025, 0.055308081209659576, -0.01517687551677227, 0.007587879430502653, -0.037493281066417694, -0.026774289086461067, 0.004831122234463692, -0.037936169654130936, 0.0037458515726029873, 0.02019800804555416, -0.006519704591482878, 0.01594368927180767, -0.0234188511967659, -0.007601198274642229, 0.054582636803388596, -0.03711323067545891, 0.005983742419630289, -0.01345062255859375, 0.010199468582868576, -0.005873440764844418, -0.029730185866355896, -0.014341373927891254, 0.003517411183565855, 0.03892630711197853, 0.008797320537269115, 0.014450681395828724, 0.021234752610325813, 0.017956223338842392, 0.0435289591550827, 0.033845312893390656, 0.0044290898367762566, -0.03372364118695259, 0.004780803341418505, -0.03259892761707306, 0.012388141825795174, 0.001116211642511189, 0.056258268654346466, -0.015093301422894001, 0.028000425547361374, -0.05776054784655571, 0.03484388813376427, -0.03761781007051468, 0.021598175168037415, -0.01342394296079874, 0.012187675572931767, 0.04080630838871002, -0.04010898247361183, 0.007577074225991964, 0.0258681308478117, 0.008800158277153969, 0.02268020249903202, -0.013503453694283962, -0.006550345104187727, 0.012780830264091492, -0.017598038539290428, 0.03906626254320145, -0.004968496970832348, 0.000524048344232142, -0.01122326496988535, 0.03282889723777771, -0.002014729892835021, -0.019005561247467995, -0.015433773398399353, 0.006620276719331741, 0.062487173825502396, 0.03540680930018425, 0.007939115166664124, -0.0077694132924079895, -0.062072016298770905, 0.025438951328396797, 0.005617125425487757, 0.01188491191715002, -0.011538246646523476, -0.03515436872839928, -0.03263550624251366, -0.0631936565041542, 0.028825897723436356, 0.01258228998631239, -0.01782325655221939, 0.019961006939411163, -0.016364658251404762, -0.02223956398665905, -0.06606388092041016, -0.003880840726196766, 0.024553004652261734, -0.05336717516183853, -0.003608117811381817, 0.009318282827734947, 0.031256794929504395, 0.0035650143399834633, -0.036035992205142975, -0.02269977517426014, -0.06337685883045197, -0.020987262949347496, 0.03892778605222702, -0.012434041127562523, 0.004577143583446741, 0.0001815271971281618, 0.0026359527837485075, 0.010814955458045006, 0.029607417061924934, -0.004326800350099802, -0.002092620125040412, -0.031031768769025803, 0.031096164137125015, 0.08293436467647552, -0.02593493089079857, -0.02016710303723812, -0.003521149978041649, -0.04913469776511192, 0.030454006046056747, -0.06464404612779617, 0.015433409251272678, 0.04187720641493797, 0.0015697367489337921, 0.038832344114780426, -0.03490666672587395, 0.045819129794836044, 0.04446989297866821, -0.02737412229180336, 0.03461124002933502, -0.013623609207570553, 0.006245709955692291, -0.0117479357868433, -0.006888220552355051, 0.03533471003174782, 0.04168825224041939, 0.01848480850458145, 0.00926973670721054, 0.0021039419807493687, 0.005580788478255272, -0.0015629930421710014, -0.03984714299440384, 0.007597720716148615, 0.05197719857096672, -0.030395226553082466, -0.05311466380953789, -0.07205785065889359, -0.057486750185489655, 0.010133225470781326, -0.02744029089808464, 0.0079626040533185, -0.015509795397520065, 0.060906436294317245, 0.033784352242946625, 0.04640892893075943, -0.008856517262756824, 0.013613482005894184, 0.028826361522078514, -0.03250584006309509, 0.027331611141562462, -0.06453457474708557, -0.007345416583120823, 0.05688260868191719, -0.03211541101336479, -0.0042845760472118855, -0.02089739218354225, -0.060969796031713486, 0.008466117084026337, -0.001660854322835803, -0.03443419933319092, -0.009098943322896957, -0.01402391865849495, 0.0025644260458648205, 0.049421656876802444, -0.03256046772003174, -0.03729894757270813, 0.005742466077208519, -0.03639264032244682, -0.015929922461509705, -0.029648611322045326, 0.06008332222700119, -0.030901215970516205, 0.036949522793293, -0.007123646326363087, -0.005193785298615694, 0.017875203862786293, 0.07024931162595749, 0.016181305050849915, 0.04478306323289871, 0.000984400394372642, 0.025731272995471954, 0.04877029359340668, 0.03772861137986183, -0.003254298120737076, 0.030615169554948807, -0.027858791872859, -0.06486602127552032, 0.10311279445886612, 0.02197454124689102, 0.010840287432074547, -0.05879037454724312, 0.09028355032205582, 0.02256975695490837, -0.047378476709127426, -0.014498583041131496, 0.017187917605042458, -0.05675257742404938, -0.013469078578054905, -0.006985723972320557, -0.00047968910075724125, -0.007256876677274704, 0.06592662632465363, 0.011816437356173992, 0.05257011577486992, 0.059165362268686295, -0.00035454577300697565, -0.008146029897034168, -0.030371248722076416, 0.07345602661371231, 0.03417934104800224, 0.07517565786838531, 0.008616672828793526, 0.06929387152194977, -0.03132633492350578, -0.03063635714352131, 0.03497589752078056, 0.03897165507078171, -0.00975444819778204, -0.036907996982336044, 0.012737823650240898, 0.049154896289110184, -0.04228349030017853, 0.062114160507917404, -0.03023006208240986, 0.002006860915571451, 0.05490913242101669, -0.009149523451924324, 0.0049593085423111916, 0.07646995782852173, 0.018355824053287506, 0.033791862428188324, -0.05581008270382881, -0.006115608382970095, -0.003609092440456152, -0.02281394973397255, -0.00789678655564785, -0.009998247027397156, -0.0067902738228440285, -0.0033209400717169046, 0.015347962267696857, 0.05064156651496887, 0.1322590559720993, -0.057274799793958664, -0.024520309641957283, 0.009212732315063477, 0.008268647827208042, 0.015466876327991486, 0.05916227027773857, 0.020607447251677513, -0.03337863087654114, -0.00581453088670969, -0.05004965141415596, -0.009134208783507347, -0.02043810859322548, -0.017020482569932938, 0.02225213497877121, -0.027321727946400642, -0.06077655032277107, 0.022553354501724243, 0.017490845173597336, -0.04767123982310295, -0.056308530271053314, -0.03101513348519802, -0.02644062601029873, -0.054517000913619995, -0.03543703258037567, 0.00972664263099432, -0.0080826785415411, 0.00404028594493866, 0.006377954501658678, -0.04543085768818855, -0.022949302569031715, 0.0069228424690663815, -0.04846935719251633, 0.017581699416041374, 0.03880104050040245, 0.01912841387093067, -0.035225432366132736, 0.0709940493106842, 0.011806334368884563, -0.038096990436315536, 0.0027756907511502504, 0.04894639179110527, 0.05265863239765167, -0.003287843195721507, 0.00961187481880188, -0.04181470721960068, -0.09075784683227539, -0.008729437366127968, 0.0005638230941258371, -0.04575983062386513, -0.06386539340019226, -0.007210472598671913, -0.00012233780580572784, 0.023386597633361816, 0.04204151779413223, 0.023728441447019577, 0.02200494147837162, -0.007230381015688181, 0.006684691179543734, 0.031551141291856766, 0.017672160640358925, 0.03120322898030281, -0.027834996581077576, 0.07006289064884186, 0.04449722543358803, -0.009900441393256187, -0.037051763385534286, 0.0025515391025692225, -0.004767512436956167, -0.02537301369011402, -0.02133561111986637, -0.020934389904141426, -0.02427666075527668, -0.09125103056430817, -0.040682945400476456, 0.002240280155092478, -0.02941768802702427, -0.05452067777514458, -0.021363336592912674, -0.014561113901436329, -0.012589562684297562, 0.02974710613489151, -0.03813444450497627, 0.018565356731414795, -0.015037162229418755, -0.03586185723543167, -0.06278068572282791, -0.004150634631514549, -0.011937171220779419, 0.005937530193477869, -0.035923589020967484, -0.039974700659513474, -0.0071290344931185246, 0.006350290961563587, 0.05554765835404396, -0.02292637899518013, 0.016597772017121315, -0.03186317905783653 ]
386
Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning Process
https://openreview.net/forum?id=Tn5B6Udq3E
[ "Tian Ye", "Zicheng Xu", "Yuanzhi Li", "Zeyuan Allen-Zhu" ]
Poster
Recent advances in language models have demonstrated their capability to solve mathematical reasoning problems, achieving near-perfect accuracy on grade-school level math benchmarks like GSM8K. In this paper, we formally study how language models solve these problems. We design a series of controlled experiments to address several fundamental questions: (1) Can language models truly develop reasoning skills, or do they simply memorize templates? (2) What is the model's hidden (mental) reasoning process? (3) Do models solve math questions using skills similar to or different from humans? (4) Do models trained on GSM8K-like datasets develop reasoning skills beyond those necessary for solving GSM8K problems? (5) What mental process causes models to make reasoning mistakes? (6) How large or deep must a model be to effectively solve GSM8K-level math questions? Our study uncovers many hidden mechanisms by which language models solve mathematical questions, providing insights that extend beyond current understandings of LLMs.
linear probing, language model, grade math problems, logic following, reasoning
Probing reveals that LLMs develop some "level-2" reasoning skill beyond Humans on solving grade-school level math problems
13,188
2407.20311
[ -0.02253885008394718, 0.013587095774710178, -0.021906951442360878, 0.050104912370443344, 0.0678105354309082, 0.004540503025054932, 0.03353587165474892, 0.011686908081173897, -0.04064592719078064, -0.004798027686774731, -0.015725145116448402, 0.03680217266082764, -0.016627857461571693, 0.0065070753917098045, -0.025023916736245155, 0.07434573769569397, 0.03623485565185547, 0.016793731600046158, 0.024394189938902855, 0.0031143929809331894, -0.01581324078142643, -0.018911119550466537, 0.033441945910453796, 0.023993903771042824, 0.03752732276916504, 0.00967459473758936, 0.028802355751395226, 0.01878913678228855, -0.020205475389957428, -0.012197944335639477, 0.04595723748207092, -0.01574046164751053, 0.013016101904213428, -0.015459486283361912, -0.022880451753735542, 0.00040965533116832376, -0.051203653216362, 0.017063243314623833, 0.015248904936015606, -0.004614753648638725, -0.038501422852277756, 0.040252283215522766, -0.016838790848851204, -0.01948678307235241, -0.07805342227220535, 0.004854015074670315, -0.0834694355726242, 0.024140402674674988, 0.002391508314758539, -0.026563165709376335, -0.1138286143541336, 0.053471360355615616, 0.008217278867959976, -0.012636840343475342, -0.00697670504450798, 0.04233651980757713, 0.026082366704940796, -0.09527819603681564, 0.015538905747234821, -0.04410339891910553, 0.00408935034647584, 0.03079594112932682, -0.03289176896214485, -0.022585617378354073, -0.02993934415280819, -0.03705933690071106, -0.016665641218423843, 0.022507140412926674, -0.07705803960561752, -0.03280932083725929, -0.026393622159957886, 0.004709834698587656, -0.0032719115260988474, -0.009848357178270817, -0.01993834599852562, -0.03264496847987175, 0.009756762534379959, 0.05694642663002014, 0.034228209406137466, -0.014468099921941757, -0.02110608108341694, 0.01480152364820242, 0.045145709067583084, 0.027337439358234406, 0.021569915115833282, 0.017778489738702774, -0.019493497908115387, -0.030508657917380333, -0.05812878534197807, 0.05396433547139168, 0.00584732461720705, -0.04186267405748367, 0.0015043035382404923, 0.03387451171875, 0.032635148614645004, 0.02778211049735546, 0.015290234237909317, -0.0009565025102347136, 0.0021443176083266735, 0.014622312039136887, -0.01812322810292244, -0.06260981410741806, 0.06127917766571045, 0.0174080953001976, -0.08821327239274979, -0.015229630284011364, 0.015087678097188473, -0.05359775573015213, -0.0031821371521800756, -0.0002560097782406956, -0.03319540247321129, -0.012232834473252296, -0.01846982352435589, -0.027534784749150276, -0.08344318717718124, 0.057355452328920364, 0.020681845024228096, 0.03763348236680031, -0.02210332825779915, 0.04227618873119354, 0.034379225224256516, 0.022222300991415977, 0.01796046644449234, 0.05621945112943649, -0.007289806380867958, 0.0390150286257267, -0.0009779944084584713, 0.02000286988914013, -0.0365663506090641, -0.024829423055052757, 0.024772386997938156, 0.05383814498782158, 0.01766006276011467, 0.014765224419534206, 0.011294130235910416, -0.014314833097159863, 0.012476859614253044, -0.0026917161885648966, 0.006563474424183369, 0.033698197454214096, 0.026549220085144043, 0.021194342523813248, 0.07349278032779694, -0.027202997356653214, 0.0508725643157959, -0.0062113418243825436, -0.019743578508496284, -0.009886927902698517, -0.012746860273182392, -0.02996704913675785, -0.0023012671153992414, -0.00832122378051281, 0.014420568011701107, -0.06538268178701401, 0.03711184859275818, 0.03981512412428856, 0.009347078390419483, 0.018746811896562576, 0.021551167592406273, -0.0035519185476005077, -0.003960657864809036, 0.006528180558234453, -0.015250599943101406, 0.007283997721970081, -0.004834500141441822, -0.03944220021367073, 0.04276318475604057, 0.045171335339546204, -0.061653200536966324, 0.011387942358851433, -0.04626745358109474, -0.05109810084104538, 0.0752740353345871, -0.028283772990107536, -0.01847689598798752, -0.009927892126142979, 0.04943371191620827, 0.01021632645279169, 0.057717230170965195, 0.0011461710091680288, -0.07683271169662476, 0.0184337068349123, -0.01986863650381565, 0.022809118032455444, 0.01247759535908699, -0.03553832322359085, 0.09621888399124146, -0.034763507544994354, 0.004482382442802191, 0.011846330948174, -0.06772349029779434, -0.027214104309678078, 0.04917195811867714, 0.004929575137794018, 0.08775360137224197, 0.004275719169527292, -0.0004992156755179167, 0.02869260497391224, 0.029919328168034554, 0.07828514277935028, 0.054221298545598984, -0.00017145201854873449, 0.05699441581964493, 0.005358184687793255, -0.017298102378845215, 0.011392790824174881, 0.0473642535507679, -0.04845559224486351, -0.03852579742670059, 0.027296673506498337, -0.03306223079562187, -0.018136005848646164, 0.02685624733567238, -0.03594549745321274, -0.010350236669182777, -0.0005903976270928979, 0.003623121650889516, -0.0197390578687191, 0.02141825668513775, -0.04373561590909958, 0.011315799318253994, -0.0006209760904312134, 0.0043480489403009415, -0.019661085680127144, -0.044892776757478714, 0.08628355711698532, 0.07386225461959839, 0.0031366716139018536, -0.011486435309052467, 0.049024078994989395, 0.00699874572455883, 0.015765881165862083, 0.010674462653696537, -0.020765405148267746, 0.020466145128011703, -0.03581590950489044, -0.02414955385029316, -0.029581695795059204, 0.05905500426888466, -0.038507379591464996, 0.004581436514854431, 0.08610344678163528, -0.01664023846387863, 0.07077743858098984, -0.008503719232976437, 0.024875449016690254, 0.028867308050394058, -0.007493101060390472, -0.0279831625521183, -0.020329944789409637, -0.029801050201058388, 0.0027314028702676296, 0.0002493977372068912, 0.0038570468313992023, -0.00959464255720377, -0.04904555156826973, -0.016092663630843163, -0.02765548788011074, 0.08190895617008209, 0.04137619584798813, 0.012861724011600018, 0.02714509889483452, 0.014622434973716736, -0.029589738696813583, -0.008481298573315144, -0.10490251332521439, -0.003113359911367297, -0.01830730400979519, 0.03026476316154003, 0.01796669512987137, 0.051309071481227875, -0.005381057504564524, 0.03495403379201889, -0.019744621589779854, -0.0287455003708601, 0.001490215421654284, 0.024211755022406578, -0.038891155272722244, -0.0640178695321083, -0.02020893059670925, -0.00809556059539318, 0.08419615775346756, -0.021951060742139816, -0.036520879715681076, -0.00028123336960561574, -0.025594562292099, 0.007995383813977242, -0.06402461975812912, -0.00044506299309432507, 0.028274621814489365, -0.0032096118666231632, -0.008828823454678059, -0.014900324866175652, -0.004766582511365414, 0.05045287683606148, 0.05603568255901337, 0.02010520175099373, -0.03288837894797325, 0.0126497196033597, 0.05037527158856392, -0.03373805060982704, 0.03565917909145355, -0.03222006931900978, 0.04845999553799629, -0.015836719423532486, 0.00011002780956914648, 0.0013786416966468096, 0.0006779413088224828, -0.30695584416389465, 0.002356630517169833, -0.006537659093737602, -0.034504905343055725, 0.004082710947841406, 0.0013473373837769032, 0.04595854878425598, -0.01760127581655979, -0.042209453880786896, 0.02487732283771038, 0.019154857844114304, 0.021170610561966896, -0.003038279013708234, 0.05046776682138443, 0.038734957575798035, 0.002822133246809244, -0.0023469228763133287, -0.045261599123477936, -0.0018715769983828068, 0.026749184355139732, -0.001369836856611073, -0.04217015206813812, -0.03231579437851906, 0.07854343205690384, 0.012007581070065498, 0.05234536528587341, -0.06747879087924957, -0.015870127826929092, -0.05263976380228996, -0.005930024199187756, -0.0023118185345083475, -0.04187794402241707, 0.0032816878519952297, 0.029490431770682335, 0.009549072943627834, -0.0009360022959299386, 0.03984583914279938, -0.0010150185553357005, 0.03308921307325363, 0.05873912200331688, 0.016998887062072754, -0.02848180942237377, -0.01634966768324375, -0.01606261357665062, 0.04586583375930786, 0.012837446294724941, -0.04177019000053406, -0.028741421177983284, -0.01904245838522911, 0.046126917004585266, -0.015560758300125599, -0.026895519345998764, -0.006054644472897053, -0.010143771767616272, -0.008319524116814137, 0.011303376406431198, 0.006634147837758064, -0.022774342447519302, -0.03884144872426987, -0.013738637790083885, 0.03195534646511078, -0.017083102837204933, -0.03794455900788307, -0.06325189024209976, -0.01695047691464424, -0.036685820668935776, -0.05705414339900017, -0.03871569782495499, 0.05595344677567482, 0.03602047637104988, -0.02830176241695881, 0.006188724655658007, -0.011161066591739655, -0.08858676254749298, -0.023923370987176895, 0.012232519686222076, -0.009146606549620628, -0.029746929183602333, 0.023277727887034416, 0.044840529561042786, -0.04884401336312294, -0.03796997666358948, -0.01026866678148508, 0.03404347598552704, 0.010569709353148937, -0.006250352133065462, -0.016589967533946037, -0.03778796270489693, -0.01825191080570221, -0.028967756778001785, 0.062947578728199, 0.014019947499036789, 0.00906000193208456, 0.02617456205189228, 0.05749300867319107, 0.05224158242344856, 0.011909070424735546, 0.017064889892935753, 0.05879533290863037, 0.004805073142051697, 0.013216321356594563, -0.05721521005034447, 0.027515185996890068, -0.008550766855478287, -0.027858110144734383, -0.007178287487477064, -0.04054009169340134, -0.02287360094487667, 0.032993119210004807, -0.03280532732605934, -0.03789704665541649, -0.013659194111824036, -0.02385624870657921, 0.007574018556624651, -0.03783746063709259, -0.0024624729994684458, 0.009779914282262325, 0.04143121838569641, 0.00846006628125906, -0.023969344794750214, -0.03894249349832535, 0.041796308010816574, -0.058384865522384644, 0.0075029293075203896, -0.05676185339689255, -0.0017444142140448093, -0.011811323463916779, -0.017691252753138542, -0.012386562302708626, 0.004376269411295652, 0.001202823012135923, 0.013525865972042084, -0.0033836334478110075, 0.012696703895926476, 0.03875066712498665, 0.0040094503201544285, -0.012871162965893745, -0.010161277838051319, -0.0026598642580211163, -0.03305201232433319, 0.016683509573340416, -0.008027779869735241, 0.038022805005311966, 0.02312910556793213, 0.04005606472492218, -0.004073321353644133, -0.010776298120617867, 0.0036819647066295147, -0.004036800004541874, 0.008448915556073189, 0.046105287969112396, -0.06652099639177322, 0.014657855033874512, -0.03940511494874954, -0.002319557126611471, -0.0015336301876232028, 0.02352316305041313, 0.012188642285764217, 0.0007271016365848482, -0.050326209515333176, 0.04640427231788635, 0.0037372878286987543, -0.02633056603372097, 0.018537860363721848, -0.016105741262435913, 0.06588880717754364, -0.05572735145688057, 0.020185761153697968, 0.042143452912569046, 0.005533955059945583, 0.033775243908166885, -0.05368999019265175, -0.01639205776154995, 0.02167649380862713, -0.003015955211594701, 0.010244597680866718, 0.020717699080705643, -0.04417460784316063, -0.036890190094709396, 0.002077676821500063, 0.00952901877462864, -0.05207420513033867, 0.00022419457673095167, 0.012569221667945385, 0.05563391000032425, 0.0092002646997571, 0.04154562950134277, -0.013574773445725441, -0.04784563556313515, 0.017280565574765205, -0.01453474722802639, -0.0028198633808642626, 0.0029283580370247364, -0.011153613217175007, -0.05867929011583328, -0.05978849530220032, 0.01269810926169157, 0.0020010885782539845, 0.019989624619483948, -0.012330980971455574, 0.002677180105820298, -0.00530247250571847, -0.036739055067300797, 0.02174532227218151, 0.0056817540898919106, -0.09352999180555344, 0.009810498915612698, 0.025316698476672173, 0.03241434320807457, 0.01923125982284546, -0.02722892351448536, -0.013789279386401176, -0.07968451827764511, -0.03387679159641266, 0.02254633605480194, -0.007781493477523327, -0.022154156118631363, -0.006574507337063551, -0.011897973716259003, -0.00192451907787472, 0.009889239445328712, 0.010211230255663395, -0.023687679320573807, -0.05102654546499252, 0.007800541818141937, 0.009118509478867054, -0.01807587966322899, -0.012555614113807678, 0.011782221496105194, -0.06072722747921944, 0.04575061798095703, -0.04973471164703369, 0.028213826939463615, 0.04781099036335945, 0.004923944361507893, -0.012777040712535381, -0.03111255168914795, 0.023571087047457695, -0.00863664597272873, -0.0056932284496724606, 0.02011704631149769, -0.0372307188808918, -0.04042443260550499, 0.007286710664629936, -0.005254706367850304, 0.054105330258607864, 0.04695311561226845, -0.027499094605445862, 0.01662774756550789, 0.005835236981511116, 0.03570947051048279, 0.002636553253978491, -0.014738094992935658, 0.006865000817924738, 0.07029134780168533, -0.02506028115749359, -0.033826883882284164, -0.037402763962745667, -0.042008355259895325, -0.00005454921119962819, -0.04661611467599869, 0.01365009043365717, -0.049527451395988464, 0.06324220448732376, -0.0017589578637853265, 0.044584229588508606, 0.02132214605808258, 0.004622351378202438, 0.06964631378650665, -0.044111140072345734, 0.02364056371152401, -0.0804843083024025, -0.014009715989232063, 0.047189537435770035, -0.016522236168384552, 0.019677190110087395, -0.013309888541698456, -0.03474855050444603, 0.042091041803359985, -0.03561042994260788, -0.03578278422355652, 0.030725877732038498, -0.003509888891130686, -0.02594263292849064, 0.022625409066677094, -0.05740491673350334, -0.024108394980430603, -0.020074082538485527, -0.04497578367590904, 0.007789721712470055, -0.011288379319012165, 0.04656372591853142, -0.016659867018461227, 0.012810184620320797, 0.011853596195578575, 0.01742619276046753, 0.011848224326968193, 0.06807389855384827, 0.05445298179984093, 0.015281667932868004, -0.023763202130794525, 0.07829999178647995, 0.04348987340927124, 0.026193026453256607, 0.0012827289756387472, 0.03128943592309952, -0.021147707477211952, -0.061364758759737015, 0.05209099501371384, -0.006404637824743986, -0.011223718523979187, -0.05981103703379631, 0.05954857915639877, 0.02425081841647625, -0.03439084812998772, -0.016794556751847267, 0.027574677020311356, -0.04101546108722687, -0.0012697105994448066, 0.008936557918787003, 0.003558100899681449, 0.0005433596088550985, 0.05660640075802803, 0.010563955642282963, 0.04385806620121002, 0.053466495126485825, 0.001342104165814817, -0.03738425299525261, 0.0113222636282444, 0.058024607598781586, 0.059171728789806366, 0.07678452134132385, 0.0416526272892952, 0.05359732359647751, -0.03294496610760689, -0.04360911250114441, -0.002938698511570692, 0.022418910637497902, -0.004636549390852451, -0.026639243587851524, 0.04564594104886055, 0.0602039210498333, -0.023466890677809715, 0.024944273754954338, -0.0302997138351202, -0.012234276160597801, 0.0480928011238575, 0.037769343703985214, 0.0006806384772062302, 0.04510393738746643, 0.024833159521222115, -0.009471053257584572, -0.0505191832780838, -0.029052279889583588, -0.01719413697719574, -0.041341960430145264, -0.01285299938172102, 0.0014284393982961774, -0.014356831088662148, -0.0044015985913574696, -0.03173426538705826, 0.06853203475475311, 0.12084916979074478, -0.0358399823307991, -0.014426585286855698, 0.046742361038923264, 0.03609723225235939, 0.01415003277361393, 0.03592425212264061, 0.03030283935368061, -0.029035700485110283, 0.009205592796206474, -0.017648780718445778, 0.020800041034817696, -0.020311959087848663, -0.023950893431901932, 0.00385230197571218, -0.020244061946868896, -0.04522096365690231, 0.021221309900283813, 0.021514559164643288, -0.03695937991142273, -0.06354150921106339, -0.027159729972481728, -0.03564448654651642, -0.05255240574479103, -0.006999204400926828, 0.054966628551483154, -0.03347918763756752, -0.021514326333999634, 0.014375152066349983, -0.04259968549013138, -0.005307497922331095, 0.007891666144132614, -0.07320833951234818, -0.0064973668195307255, 0.04694544896483421, -0.009791230782866478, -0.014524758793413639, 0.03768566623330116, 0.038071002811193466, -0.028385819867253304, -0.002782487543299794, 0.00635632686316967, -0.02946636825799942, -0.004531660582870245, 0.03144973888993263, -0.027345869690179825, -0.08565135300159454, -0.019127044826745987, 0.009883728809654713, -0.02576562575995922, -0.06202542781829834, 0.021691568195819855, -0.02240315079689026, 0.0321924053132534, 0.07533016800880432, 0.0029761665500700474, 0.013739373534917831, -0.007712409365922213, -0.023791328072547913, 0.010885782539844513, 0.008260154165327549, 0.05693415179848671, -0.02496935799717903, 0.07463604211807251, 0.015498504042625427, -0.025486087426543236, -0.0452648401260376, -0.001807125867344439, -0.01924300380051136, 0.0025207207072526217, -0.02488541044294834, -0.018147330731153488, -0.006761433091014624, -0.09649362415075302, -0.03286713734269142, 0.018734119832515717, -0.01819305680692196, -0.03979426622390747, 0.02530934289097786, -0.030329756438732147, 0.01495026983320713, 0.028758931905031204, -0.03238175809383392, -0.028358094394207, -0.03381843864917755, -0.031625326722860336, -0.04544944688677788, -0.02027169242501259, -0.012204978615045547, -0.011105868965387344, -0.024429146200418472, -0.04061814770102501, 0.0007772516692057252, -0.000487385579617694, 0.03546322509646416, -0.015056672506034374, 0.01970323920249939, -0.005327852442860603 ]
387
Agent-Oriented Planning in Multi-Agent Systems
https://openreview.net/forum?id=EqcLAU6gyU
[ "Ao Li", "Yuexiang Xie", "Songze Li", "Fugee Tsung", "Bolin Ding", "Yaliang Li" ]
Poster
Through the collaboration of multiple LLM-empowered agents possessing diverse expertise and tools, multi-agent systems achieve impressive progress in solving real-world problems. Given the user queries, the meta-agents, serving as the brain within multi-agent systems, are required to decompose the queries into multiple sub-tasks that can be allocated to suitable agents capable of solving them, so-called agent-oriented planning. In this study, we identify three critical design principles of agent-oriented planning, including solvability, completeness, and non-redundancy, to ensure that each sub-task can be effectively resolved, resulting in satisfactory responses to user queries. These principles further inspire us to propose AOP, a novel framework for agent-oriented planning in multi-agent systems, leveraging a fast task decomposition and allocation process followed by an effective and efficient evaluation via a reward model. According to the evaluation results, the meta-agent is also responsible for promptly making necessary adjustments to sub-tasks and scheduling. Besides, we integrate a feedback loop into AOP to further enhance the effectiveness and robustness of such a problem-solving process. Extensive experiments demonstrate the advancement of AOP in solving real-world problems compared to both single-agent systems and existing planning strategies for multi-agent systems. The source code is available at https://github.com/lalaliat/Agent-Oriented-Planning
Multi-Agent System; Planning
null
13,187
2410.02189
[ -0.027122309431433678, -0.024021267890930176, 0.0022352184168994427, -0.0027550857048481703, 0.0436745285987854, 0.002975928131490946, 0.019213544204831123, 0.0012423605658113956, -0.014261732809245586, -0.04770830646157265, -0.03985387086868286, 0.022808292880654335, -0.07461297512054443, -0.016873102635145187, -0.011537352576851845, 0.06373864412307739, 0.0038731975946575403, -0.023424336686730385, 0.014047151431441307, 0.001682487316429615, -0.015460298396646976, 0.0013474476290866733, 0.03325057402253151, 0.04326905310153961, 0.036326196044683456, 0.022249368950724602, 0.05293629318475723, 0.019647814333438873, -0.01697804406285286, -0.02727823704481125, 0.03160397335886955, -0.025102803483605385, 0.013965053483843803, -0.05045757815241814, -0.01134646125137806, 0.018985409289598465, -0.03408096730709076, 0.03065740503370762, -0.0019533829763531685, 0.004173151217401028, -0.04336616396903992, 0.07184496521949768, -0.01636396162211895, 0.003217362565919757, -0.01762927882373333, 0.019585026428103447, -0.07628067582845688, 0.03430940583348274, 0.02849060297012329, -0.01651083119213581, -0.09718699753284454, 0.009381269104778767, 0.010976838879287243, -0.017551783472299576, -0.002582200337201357, 0.03533560782670975, 0.046677619218826294, -0.08742406219244003, -0.01773867756128311, -0.02691403217613697, -0.03655816987156868, 0.004788343794643879, 0.029421670362353325, 0.009502864442765713, -0.01145469956099987, -0.012131033465266228, 0.029738320037722588, 0.041075870394706726, -0.020815329626202583, 0.01875322312116623, -0.05270887538790703, -0.012125009670853615, -0.0466417521238327, -0.03561309352517128, -0.0025390302762389183, -0.030558286234736443, 0.04564841464161873, 0.0402560792863369, 0.04692921042442322, 0.003766861744225025, 0.0075510041788220406, 0.043989211320877075, 0.00030672235880047083, 0.020675430074334145, 0.0503934808075428, 0.025640707463026047, -0.016312483698129654, -0.015881523489952087, -0.05192646011710167, 0.03890417888760567, 0.004976735450327396, -0.09728159010410309, 0.0017329183174297214, 0.04351792111992836, 0.04565566033124924, -0.02257908508181572, 0.0219828300178051, 0.02955665998160839, 0.007101858966052532, 0.0026415155734866858, 0.01596655510365963, -0.0062861074693500996, -0.008405805565416813, 0.0030225729569792747, -0.07717687636613846, -0.023385651409626007, -0.0173357967287302, -0.056144509464502335, -0.01723870076239109, -0.0001470057322876528, -0.030776776373386383, -0.01816108077764511, 0.04380883648991585, -0.034428857266902924, -0.08057815581560135, 0.05936560779809952, 0.00982086081057787, 0.039595361799001694, 0.015363638289272785, 0.06628429889678955, 0.037814948707818985, 0.06191800534725189, 0.003107669297605753, 0.05955104902386665, -0.0351150743663311, 0.013598224148154259, 0.01058916375041008, 0.02006661333143711, -0.02376062050461769, -0.03573720529675484, 0.03736511990427971, 0.024584846571087837, -0.020156526938080788, -0.007451173849403858, -0.0005887012230232358, -0.0036615952849388123, -0.005882643163204193, 0.014812599867582321, 0.017199059948325157, 0.025127584114670753, -0.030624188482761383, -0.017406482249498367, 0.066278837621212, -0.01312826294451952, 0.05820609629154205, 0.01038908027112484, 0.012706242501735687, -0.023300573229789734, -0.08607605844736099, -0.03361284360289574, -0.006397682707756758, -0.010716385208070278, -0.009099500253796577, -0.04049506038427353, 0.03198118880391121, 0.0897212028503418, 0.04346400499343872, 0.02665366232395172, -0.0127462949603796, -0.00947139784693718, -0.002951640635728836, 0.005353921093046665, -0.04445751756429672, -0.0018973761470988393, -0.012740710750222206, -0.030702756717801094, 0.016763897612690926, 0.03419801965355873, 0.04121933877468109, 0.0057607791386544704, -0.03677932918071747, -0.06010422855615616, 0.036512020975351334, -0.02553907223045826, 0.007429191842675209, -0.024907954037189484, 0.07398688793182373, -0.018178625032305717, 0.05667417496442795, 0.01659766398370266, -0.05800411105155945, -0.0013154050102457404, -0.004582104738801718, -0.028161711990833282, 0.009670301340520382, 0.007632851134985685, 0.06610894948244095, -0.015435030683875084, -0.008217951282858849, 0.0037147612310945988, -0.06585625559091568, -0.019764507189393044, 0.058964524418115616, 0.0016488867113366723, 0.07041186094284058, 0.008565600030124187, -0.04326987266540527, 0.052961066365242004, -0.005244487896561623, 0.06731373071670532, 0.04246094077825546, 0.016068920493125916, 0.0447714701294899, 0.01672729291021824, -0.009840823709964752, -0.0019082779763266444, 0.04643743112683296, -0.03091426193714142, -0.01290197018533945, 0.03485798463225365, -0.011459185741841793, -0.0015367746818810701, 0.027466699481010437, -0.0045934985391795635, 0.04443865641951561, -0.009243011474609375, -0.020485127344727516, -0.017705649137496948, 0.02587822824716568, -0.06928427517414093, 0.03816988319158554, 0.009264093823730946, -0.008092258125543594, 0.011867874301970005, -0.026279080659151077, 0.08477529138326645, 0.04875901713967323, -0.07014529407024384, -0.021779179573059082, 0.016692794859409332, 0.00796109065413475, 0.03519533574581146, 0.013601193204522133, -0.015055838041007519, 0.01324883010238409, -0.036455895751714706, -0.008881410583853722, -0.0011560830753296614, 0.028336187824606895, -0.027896739542484283, -0.03402068093419075, 0.06634500622749329, -0.005795017350465059, 0.0795527920126915, -0.0018061116570606828, 0.02639363519847393, 0.007894742302596569, 0.0036158894654363394, 0.033371176570653915, 0.027755284681916237, -0.025082025676965714, -0.0074153561145067215, 0.007830987684428692, -0.033649977296590805, -0.03471270576119423, -0.07173091918230057, -0.006944442633539438, -0.010665150359272957, 0.055334433913230896, 0.05221018195152283, -0.010079875588417053, 0.022194722667336464, 0.019461849704384804, 0.004745517857372761, -0.006640972103923559, -0.12490406632423401, -0.019339213147759438, 0.01242069248110056, -0.017314201220870018, 0.0516212023794651, 0.03044441156089306, -0.009450539946556091, 0.05582066997885704, -0.02868400514125824, -0.01810416579246521, 0.011676322668790817, 0.013667178340256214, 0.012652846053242683, -0.008897608146071434, -0.005763969384133816, 0.027907278388738632, 0.05612316355109215, 0.010006027296185493, -0.02727556601166725, -0.022631986066699028, -0.035573482513427734, 0.0031574200838804245, -0.08172351866960526, -0.015432201325893402, -0.02208128198981285, 0.016503136605024338, 0.017511684447526932, -0.020827796310186386, 0.0015904102474451065, 0.043111030012369156, 0.031341277062892914, -0.0015656965551897883, 0.00940177496522665, -0.011783314868807793, 0.004296399652957916, -0.012694044969975948, -0.007126114331185818, -0.028820525854825974, -0.01668328233063221, -0.022444134578108788, -0.01506718434393406, 0.01711832359433174, 0.014998379163444042, -0.26883530616760254, -0.020780621096491814, 0.0165860578417778, -0.008465791121125221, 0.028136400505900383, 0.0167916938662529, 0.08428721874952316, -0.02527208998799324, -0.03966067358851433, -0.03844316303730011, 0.0058771115727722645, 0.02801230177283287, 0.055138297379016876, 0.07561894506216049, 0.05650092288851738, 0.027773458510637283, -0.010243352502584457, -0.013675830326974392, -0.009838827885687351, 0.025810258463025093, -0.021373623982071877, -0.0745498314499855, -0.015612057410180569, 0.014962160028517246, 0.022141022607684135, 0.04011480510234833, -0.06362096220254898, -0.01243631076067686, -0.001782769220881164, 0.008257919922471046, -0.010493626818060875, -0.01713939756155014, -0.03571481257677078, -0.004851962439715862, 0.01726209744811058, -0.016859522089362144, 0.08714914321899414, 0.019700730219483376, 0.022745618596673012, -0.006605161353945732, 0.028376011177897453, -0.014143365435302258, -0.08659205585718155, -0.0038243811577558517, 0.025665849447250366, 0.03653379902243614, -0.0689033716917038, 0.005550991743803024, -0.0050661698915064335, 0.02721342258155346, 0.014940372668206692, -0.019741106778383255, -0.009275748394429684, -0.022324176505208015, 0.0269785113632679, -0.03544376790523529, 0.007010961417108774, -0.02491792105138302, 0.010835567489266396, 0.02990875020623207, -0.013199198059737682, -0.029792170971632004, -0.029839379712939262, -0.012315263040363789, 0.006873029749840498, -0.02901577576994896, -0.031265903264284134, -0.0784466341137886, 0.031008196994662285, -0.004823919385671616, -0.010777688585221767, -0.021888555958867073, -0.030041538178920746, -0.11183001101016998, -0.014215361326932907, 0.02281222864985466, -0.010046030394732952, -0.044631775468587875, 0.01864529587328434, 0.033998824656009674, -0.03966828063130379, -0.03243575245141983, -0.028300048783421516, 0.018176008015871048, 0.03157443553209305, -0.0025391096714884043, 0.017105787992477417, -0.0609046034514904, -0.027287403121590614, -0.02434724196791649, 0.0396852046251297, 0.007069032173603773, 0.014475230127573013, 0.011713366024196148, 0.09104979038238525, 0.003579157404601574, 0.0389418788254261, 0.03139515221118927, 0.010911645367741585, 0.015359405428171158, 0.017264386638998985, -0.07381447404623032, 0.0332464762032032, 0.0272940993309021, -0.03239075094461441, -0.004135069902986288, -0.03601854294538498, 0.0012103327317163348, 0.06857035309076309, 0.025501854717731476, -0.010492249391973019, -0.04477216303348541, 0.013815121725201607, 0.0005441074026748538, -0.010135222226381302, -0.009973349049687386, -0.012940632179379463, 0.057978205382823944, -0.005121302790939808, 0.013438860885798931, -0.07929401099681854, 0.010226648300886154, -0.05002450942993164, 0.022524714469909668, -0.009020688943564892, 0.008681479841470718, -0.011250557377934456, -0.014113192446529865, 0.018391896039247513, 0.014687897637486458, 0.005335625261068344, 0.031078694388270378, -0.01684466376900673, -0.017516503110527992, 0.02304324321448803, -0.027004361152648926, -0.029616516083478928, -0.017059583216905594, 0.0260135680437088, -0.004157972522079945, 0.027636263519525528, -0.00862294901162386, 0.016616448760032654, 0.014134017750620842, 0.013584325090050697, 0.00480236392468214, 0.025023242458701134, -0.029722679406404495, 0.031313616782426834, 0.02093212865293026, 0.0205397829413414, -0.05143196880817413, 0.026613490656018257, -0.027328941971063614, 0.01346760243177414, -0.08993713557720184, 0.004504045471549034, -0.009482434950768948, 0.030265765264630318, -0.049258869141340256, -0.007710705511271954, -0.033573612570762634, -0.008755872026085854, -0.007186261937022209, 0.023715350776910782, 0.06992196291685104, -0.05071701854467392, -0.01339919026941061, 0.005588237661868334, -0.010987178422510624, 0.003951404709368944, -0.044445645064115524, -0.057606883347034454, -0.030405890196561813, -0.017788264900445938, -0.021816888824105263, 0.05245056748390198, -0.03855974227190018, -0.04446147382259369, 0.03995879739522934, -0.032741885632276535, -0.030992791056632996, -0.012981907464563847, -0.013776520267128944, 0.055466800928115845, -0.022143838927149773, 0.023295525461435318, 0.01305656973272562, -0.013617588207125664, -0.0059153796173632145, 0.00921865738928318, 0.028718359768390656, 0.0037736573722213507, -0.04965725541114807, -0.030046511441469193, -0.0625927597284317, 0.0588257722556591, -0.0004005023802164942, -0.0003636042238213122, 0.0011693515116348863, -0.0012995997676625848, 0.028567496687173843, -0.05754783749580383, -0.037754692137241364, 0.014461841434240341, -0.08210373669862747, 0.022170327603816986, 0.007747807539999485, 0.04247020557522774, 0.05279185250401497, -0.05337337777018547, -0.009462198242545128, -0.06055581197142601, 0.011730097234249115, 0.0013306299224495888, -0.04100404307246208, -0.00942976213991642, -0.01706705614924431, -0.02745191380381584, -0.013080431148409843, 0.015446944162249565, -0.015404044650495052, -0.024734122678637505, -0.03786279261112213, -0.002230205340310931, 0.038792550563812256, -0.002597363665699959, -0.03280028700828552, 0.004795770160853863, -0.03476564213633537, 0.036482878029346466, -0.06336425989866257, -0.006817234214395285, -0.0176693182438612, -0.004185401368886232, 0.018383802846074104, -0.03775433450937271, 0.0034970343112945557, -0.007484946865588427, -0.035445086658000946, -0.03260763734579086, 0.005150303244590759, -0.00962987169623375, -0.03447940945625305, 0.03797058388590813, 0.044830769300460815, -0.0025572774466127157, -0.02549727074801922, -0.012092774733901024, 0.027976956218481064, -0.010143238119781017, -0.002291550626978278, -0.01852359063923359, 0.010990687645971775, 0.04176528751850128, -0.030837468802928925, -0.04513359069824219, -0.014814453199505806, -0.04556865245103836, 0.020349040627479553, -0.021937455981969833, 0.0013993497705087066, -0.03949455916881561, 0.031825654208660126, 0.019497012719511986, 0.0227249413728714, -0.011627357453107834, -0.02892405167222023, 0.013324793428182602, -0.0560697503387928, 0.05794781818985939, -0.07720328122377396, 0.030762676149606705, 0.022667380049824715, -0.0041322531178593636, -0.023164166137576103, 0.032546691596508026, -0.03970840945839882, 0.05528970807790756, -0.006012582685798407, -0.046103332191705704, 0.04241001605987549, -0.003262082114815712, 0.0009416458196938038, 0.07546935230493546, -0.04480856657028198, -0.039308786392211914, -0.014071682468056679, -0.05495983734726906, 0.01870626024901867, -0.004611710552126169, 0.05186832696199417, 0.002235572785139084, 0.04398210346698761, -0.018657643347978592, 0.029036136344075203, 0.017828160896897316, 0.03576777130365372, -0.010508148930966854, 0.0473109595477581, -0.02779746800661087, 0.05937400460243225, 0.043243154883384705, 0.069963239133358, 0.02120005525648594, 0.008880428038537502, -0.039647381752729416, -0.004645583685487509, 0.057271525263786316, 0.004808884579688311, -0.02366754226386547, -0.06575015187263489, 0.0517856702208519, 0.017713570967316628, -0.043540824204683304, 0.023600250482559204, -0.0017230662051588297, -0.1221565306186676, 0.0073212930001318455, -0.003938412759453058, 0.03152938932180405, 0.04036308079957962, 0.05644473806023598, 0.01828128844499588, 0.0698695182800293, 0.05468698590993881, 0.03048391081392765, -0.009531514719128609, -0.012094846926629543, 0.06760482490062714, 0.0559023842215538, 0.0454886332154274, -0.013283627107739449, 0.06089535728096962, -0.03679538890719414, -0.04483571648597717, 0.01332591101527214, -0.007313166279345751, -0.024563388898968697, -0.016418324783444405, 0.03190499544143677, 0.04707956686615944, 0.004719431046396494, 0.05219181627035141, -0.024487610906362534, -0.024699946865439415, 0.06997936218976974, 0.0166205745190382, 0.011457765474915504, 0.027149640023708344, 0.0407448410987854, 0.04086770862340927, -0.056938908994197845, -0.03644118830561638, 0.008189420215785503, -0.03932525962591171, -0.011292925104498863, 0.018289951607584953, 0.01953112706542015, -0.006602164823561907, -0.024232184514403343, 0.035679880529642105, 0.09260688722133636, -0.022570155560970306, -0.003216040087863803, -0.010273127816617489, -0.013150219805538654, -0.00014547814498655498, 0.02131299488246441, 0.04664117097854614, 0.0005778809427283704, 0.018587926402688026, -0.047038737684488297, 0.04090153053402901, 0.04025257006287575, 0.011094439774751663, 0.0748710036277771, -0.0353093259036541, -0.028415996581315994, -0.016582811251282692, 0.032248008996248245, -0.053186167031526566, -0.01792127452790737, -0.03307303786277771, -0.054440438747406006, -0.020214468240737915, 0.0020124062430113554, 0.053804557770490646, -0.0030487056355923414, -0.03913076967000961, -0.004316294565796852, -0.002172060776501894, 0.006569631863385439, -0.0007459565531462431, -0.0522024966776371, -0.003974204417318106, 0.05341919884085655, 0.013315214775502682, 0.04087047651410103, 0.025990566238760948, 0.03196690231561661, -0.0032240371219813824, 0.01276450790464878, -0.014973808079957962, 0.021318919956684113, -0.01343455445021391, -0.017210666090250015, -0.00948197953402996, -0.08014275133609772, -0.010792403481900692, 0.02018417790532112, -0.046771008521318436, -0.07628984749317169, 0.0077735185623168945, -0.02036917209625244, 0.030739380046725273, 0.07316794991493225, 0.012418510392308235, 0.03681154176592827, -0.006145978346467018, 0.026903264224529266, 0.014855465851724148, -0.015006831847131252, 0.02374398335814476, -0.04299625754356384, 0.05079564452171326, 0.029855135828256607, -0.06381469964981079, -0.040073130279779434, 0.0660969540476799, 0.016675138846039772, -0.028859056532382965, -0.007094327826052904, -0.045470230281353, -0.02272152341902256, -0.09921535104513168, -0.03251701593399048, 0.013382889330387115, 0.02250497415661812, -0.037163302302360535, 0.0058730063028633595, -0.0018911324441432953, -0.05936915799975395, -0.0046456134878098965, -0.05199269950389862, 0.029499204829335213, -0.012528556399047375, -0.019517960026860237, -0.05515739694237709, 0.005695087369531393, -0.029771501198410988, -0.03055417537689209, -0.02110709249973297, -0.05419864133000374, 0.0034868225920945406, -0.004245067480951548, 0.0190319512039423, 0.0021303400862962008, 0.009577590972185135, -0.009703338146209717 ]
388
Context Clues: Evaluating Long Context Models for Clinical Prediction Tasks on EHR Data
https://openreview.net/forum?id=zg3ec1TdAP
[ "Michael Wornow", "Suhana Bedi", "Miguel Angel Fuentes Hernandez", "Ethan Steinberg", "Jason Alan Fries", "Christopher Re", "Sanmi Koyejo", "Nigam Shah" ]
Poster
Foundation Models (FMs) trained on Electronic Health Records (EHRs) have achieved state-of-the-art results on numerous clinical prediction tasks. However, prior EHR FMs typically have context windows of $<$1k tokens, which prevents them from modeling full patient EHRs which can exceed 10k's of events. For making clinical predictions, both model performance and robustness to the unique properties of EHR data are crucial. Recent advancements in subquadratic long-context architectures (e.g. Mamba) offer a promising solution. However, their application to EHR data has not been well-studied. We address this gap by presenting the first systematic evaluation of the effect of context length on modeling EHR data. We find that longer context models improve predictive performance -- our Mamba-based model surpasses the prior state-of-the-art on 9/14 tasks on the EHRSHOT prediction benchmark. Additionally, we measure robustness to three unique, previously underexplored properties of EHR data: (1) the prevalence of ``copy-forwarded" diagnoses which create artificial token repetition in EHR sequences; (2) the irregular time intervals between EHR events which can lead to a wide range of timespans within a context window; and (3) the natural increase in disease complexity over time which makes later tokens in the EHR harder to predict than earlier ones. Stratifying our EHRSHOT results, we find that higher levels of each property correlate negatively with model performance (e.g., a 14% higher Brier loss between the least and most irregular patients), but that longer context models are more robust to more extreme levels of these properties. Our work highlights the potential for using long-context architectures to model EHR data, and offers a case study on how to identify and quantify new challenges in modeling sequential data motivated by domains outside of natural language. We release all of our model checkpoints and code.
ehr, foundation model, long context, clinical prediction making, healthcare
An analysis of the impact of context length on foundation models trained on structured electronic health record (EHR) data for clinical prediction tasks.
13,179
null
[ -0.015518803149461746, -0.0026362575590610504, -0.029086703434586525, 0.026029961183667183, 0.0586828887462616, 0.012611321173608303, 0.021966984495520592, 0.02604801021516323, -0.022938262671232224, -0.04492855444550514, -0.010958087630569935, 0.020892731845378876, -0.052123866975307465, 0.0009734627674333751, -0.008566243574023247, 0.04126135632395744, 0.04752305522561073, -0.007086386904120445, 0.04871078208088875, -0.004029148258268833, -0.006830866914242506, -0.029709622263908386, 0.035458751022815704, 0.035722941160202026, 0.007942634634673595, 0.04149280861020088, -0.007329086773097515, -0.0251479335129261, -0.07447768747806549, 0.024714555591344833, 0.06623242795467377, -0.01864423044025898, -0.010126263834536076, -0.02556772157549858, 0.023037346079945564, 0.03817300498485565, -0.03737810626626015, 0.02659798040986061, -0.0013078016927465796, -0.021216847002506256, -0.05493641272187233, 0.02219359576702118, 0.005155172199010849, 0.019134940579533577, -0.05618667230010033, 0.013997701928019524, -0.1119518056511879, 0.03316187113523483, -0.006960802245885134, 0.00012119141319999471, -0.09445101767778397, 0.03734127804636955, 0.005165336653590202, 0.012109139002859592, 0.009343458339571953, 0.06189682334661484, 0.07439602166414261, -0.05250847712159157, 0.00558986933901906, -0.010865111835300922, -0.03631476312875748, 0.013503649272024632, 0.025564251467585564, 0.015225721523165703, -0.010172054171562195, -0.04347466677427292, -0.012010665610432625, 0.0579615943133831, -0.035322342067956924, 0.0005988709162920713, -0.02522270195186138, -0.004942791070789099, 0.006434950511902571, -0.02870679274201393, 0.013074424117803574, -0.02233678475022316, -0.0010218166280537844, 0.000014225555787561461, 0.05071263387799263, 0.012134019285440445, 0.003425322938710451, -0.027185922488570213, 0.048196326941251755, 0.025954874232411385, -0.010117107070982456, -0.0002919651160482317, -0.05650261044502258, -0.04668594151735306, -0.0658004879951477, 0.05907527729868889, 0.0010860487818717957, -0.041744980961084366, 0.0309000127017498, 0.006238807924091816, -0.008424763567745686, 0.010740535333752632, 0.030719270929694176, -0.0006964412750676274, -0.030295871198177338, 0.0011797748738899827, -0.011582110077142715, -0.04327467456459999, 0.013043743558228016, 0.014391805045306683, -0.10898751020431519, -0.017733795568346977, -0.01300763338804245, -0.01689101755619049, -0.003081557573750615, -0.03634629398584366, -0.0421636588871479, 0.014176656492054462, -0.008601190522313118, -0.0011166577460244298, -0.06838902831077576, 0.06145041435956955, 0.020464491099119186, 0.02865263633430004, 0.021494263783097267, -0.01709582656621933, 0.04399384185671806, 0.04671487584710121, 0.0006390582420863211, 0.05704059824347496, -0.006289089098572731, 0.024628277868032455, 0.0010515972971916199, 0.006120646838098764, -0.017709486186504364, -0.03755250945687294, -0.017017913982272148, 0.02817375399172306, -0.020621784031391144, -0.01279309019446373, 0.01454269327223301, 0.04944998025894165, 0.0005105034215375781, -0.005011586472392082, 0.07203575223684311, 0.014104087837040424, 0.048096664249897, -0.04253211244940758, 0.01305769570171833, -0.030994638800621033, 0.06173524633049965, -0.011354452930390835, -0.02328638918697834, -0.006674361415207386, -0.02197691611945629, -0.013687570579349995, 0.00854956079274416, -0.015221214853227139, 0.024101177230477333, -0.06780148297548294, 0.054465826600790024, 0.05439263582229614, 0.004761727061122656, -0.024000106379389763, 0.0071327039040625095, 0.0018833114299923182, 0.027295811101794243, 0.011512349359691143, -0.05628819763660431, 0.009014659561216831, 0.004188885912299156, -0.04293191060423851, 0.054449498653411865, 0.022979693487286568, -0.03607477247714996, 0.050546761602163315, -0.03387947380542755, -0.05509302392601967, 0.06701196730136871, -0.02655237354338169, 0.010541933588683605, 0.043011050671339035, 0.06400879472494125, -0.008138241246342659, 0.048889316618442535, 0.0144051443785429, -0.08752655982971191, 0.028238946571946144, 0.003724083537235856, -0.02803112380206585, 0.026065204292535782, -0.010129792615771294, 0.08049163222312927, -0.03496158868074417, -0.00015581129991915077, 0.024382593110203743, -0.08137108385562897, -0.03810352087020874, 0.037518832832574844, 0.010423749685287476, 0.048917826265096664, -0.023275677114725113, 0.009955189190804958, 0.08201538771390915, -0.015226432122290134, 0.02180398255586624, 0.05969772860407829, 0.006585756316781044, 0.03375467285513878, 0.0007274873787537217, -0.04675325006246567, -0.0043884036131203175, 0.03628234937787056, -0.060835547745227814, -0.059870969504117966, 0.038611434400081635, -0.017006969079375267, 0.0069237216375768185, 0.021354161202907562, -0.013591552153229713, -0.006521479692310095, 0.02603134699165821, 0.01562916673719883, -0.0017998659750446677, -0.034359756857156754, -0.06970265507698059, 0.03657305985689163, -0.0013794827973470092, -0.023086044937372208, 0.031573519110679626, -0.009248516522347927, 0.08883314579725266, 0.07097779214382172, -0.016197387129068375, -0.0017631895607337356, -0.0027811832260340452, 0.0399012453854084, -0.008310859091579914, 0.01043684035539627, -0.056812942028045654, 0.030453218147158623, -0.026994064450263977, -0.0006166734383441508, -0.031091788783669472, 0.05385250970721245, -0.030621912330389023, -0.006587464362382889, 0.053905319422483444, -0.050728119909763336, 0.0385131761431694, 0.02679494395852089, -0.024909328669309616, -0.0015621697530150414, 0.02252662181854248, -0.06694162636995316, -0.017746705561876297, -0.024823777377605438, 0.004546220880001783, -0.020190412178635597, -0.008545535616576672, 0.057472746819257736, -0.048717666417360306, -0.005831674672663212, 0.03635112941265106, 0.02826826460659504, 0.03382075950503349, 0.016816267743706703, 0.029347138479351997, 0.025691833347082138, -0.041250187903642654, 0.03455124795436859, -0.07866229116916656, -0.03900584205985069, -0.05032190680503845, 0.019603697583079338, -0.03721773996949196, 0.0403054915368557, -0.0035894413013011217, 0.02902216836810112, -0.011375942267477512, 0.0013077728217467666, -0.019593264907598495, 0.05621207132935524, 0.02171548269689083, -0.056525517255067825, 0.008424017578363419, 0.010121452622115612, 0.03991724178195, 0.03472607955336571, -0.043012991547584534, -0.0040568201802670956, -0.03589711710810661, -0.001594212488271296, -0.021765965968370438, -0.006959871854633093, 0.04568902403116226, -0.01417324785143137, 0.0449613593518734, -0.03505806252360344, 0.029435208067297935, 0.05762408673763275, 0.07003726065158844, 0.04168228060007095, 0.04840578883886337, -0.020360928028821945, 0.021871058270335197, -0.002912644064053893, 0.03319830819964409, 0.03699597716331482, -0.017207609489560127, -0.015130328945815563, -0.006369364447891712, -0.04874725267291069, -0.01141264010220766, -0.28113821148872375, 0.017427191138267517, 0.018737588077783585, -0.04745927453041077, 0.0331554040312767, -0.006276758387684822, 0.04351416230201721, -0.0020640625152736902, -0.007922525517642498, -0.0028923579957336187, 0.03587529435753822, 0.05703652650117874, 0.012845518067479134, 0.03234317898750305, 0.018636377528309822, 0.05424836277961731, -0.016932660713791847, -0.033379990607500076, -0.013162917457520962, 0.023600706830620766, 0.01735072396695614, -0.05926285311579704, -0.026125766336917877, 0.02928072214126587, -0.032436858862638474, 0.03529612347483635, -0.07899004966020584, 0.023830052465200424, -0.04079980030655861, -0.005478764418512583, 0.030281182378530502, -0.03620736300945282, -0.0018443794688209891, 0.018194518983364105, 0.0034521433990448713, -0.0005330260610207915, 0.04381837323307991, 0.03199117258191109, -0.0033224294893443584, -0.02552126720547676, 0.007439482491463423, -0.01167689636349678, -0.038076452910900116, -0.020938441157341003, 0.06384872645139694, -0.0074578700587153435, -0.00943586602807045, -0.03312011435627937, -0.01078519131988287, 0.02731049433350563, -0.018199482932686806, -0.022967413067817688, -0.04411135986447334, 0.02555432729423046, 0.012193622067570686, -0.05328534543514252, -0.0016607185825705528, 0.0391143262386322, -0.0101581159979105, -0.01033265795558691, 0.005587263498455286, -0.04305417463183403, -0.00010103957902174443, -0.07053889334201813, -0.023377571254968643, -0.07379043102264404, -0.07925156503915787, -0.05152907967567444, 0.025330692529678345, 0.027775632217526436, -0.01899023912847042, 0.034799735993146896, -0.0043219770304858685, -0.09387385845184326, -0.01773911528289318, -0.04626322165131569, 0.024558117613196373, -0.01472984254360199, 0.004023776389658451, 0.015755649656057358, -0.028369853273034096, -0.03933103755116463, 0.002569868927821517, 0.028125809505581856, 0.03341803327202797, -0.006177565082907677, -0.00011944035213673487, -0.03762013837695122, -0.01714267022907734, -0.006916910409927368, 0.027528190985322, -0.01660812646150589, 0.0031358490232378244, 0.03764045611023903, 0.018498361110687256, 0.024350259453058243, 0.0009060563752427697, 0.05150474235415459, 0.024995241314172745, 0.0134199857711792, 0.007592068985104561, -0.07104942947626114, -0.009234963916242123, -0.09090378880500793, -0.014043222181499004, 0.01972365751862526, -0.03678058460354805, -0.049065716564655304, 0.03137679770588875, -0.018511613830924034, -0.01008501648902893, 0.0008433472830802202, 0.014224587939679623, -0.060226358473300934, -0.012760401703417301, -0.029550474137067795, 0.013783331960439682, 0.02070755511522293, 0.05850793421268463, -0.000937855860684067, -0.00885223038494587, 0.03479527682065964, -0.013888784684240818, 0.004664730746299028, -0.0001953952305484563, -0.009866254404187202, 0.011641968972980976, 0.004993821494281292, 0.007866613566875458, -0.011745343916118145, 0.019495761021971703, 0.047490447759628296, 0.004550588317215443, 0.04721815511584282, 0.04788767918944359, -0.017803847789764404, -0.016963722184300423, 0.007824978791177273, 0.005428561475127935, -0.0285396259278059, 0.0025004770141094923, -0.011499622836709023, 0.026013312861323357, 0.041033390909433365, 0.047315310686826706, -0.006197407376021147, 0.024549348279833794, -0.004716469906270504, 0.034035805612802505, 0.010777058079838753, 0.007832415401935577, -0.040032826364040375, -0.04588647186756134, -0.040011875331401825, -0.01990671455860138, -0.007837455719709396, 0.035286594182252884, -0.0052313897758722305, -0.00001616104600543622, -0.09260112047195435, 0.0337112694978714, -0.01590592786669731, -0.017498379573225975, -0.02961159497499466, -0.0009362472337670624, 0.03781774640083313, -0.0019926256500184536, 0.03558097779750824, 0.010604889132082462, 0.008199806325137615, 0.030426280573010445, -0.0276050828397274, -0.026488468050956726, 0.01941385120153427, -0.06185862421989441, 0.01044060941785574, -0.02170049399137497, 0.019330807030200958, -0.021293198689818382, 0.03512114658951759, 0.024444686248898506, -0.023031188175082207, -0.015697449445724487, 0.006607255432754755, 0.06262490153312683, 0.01995065249502659, 0.03087899647653103, -0.006136392708867788, -0.043347880244255066, -0.011243264190852642, -0.009331298060715199, 0.013844413682818413, 0.0007883988437242806, -0.024015294387936592, -0.027683323249220848, -0.0719972550868988, 0.009018942713737488, -0.015814315527677536, -0.0019532067235559225, 0.02742857113480568, -0.005123163107782602, -0.005803569685667753, -0.031757887452840805, 0.01793239824473858, 0.017951253801584244, -0.066681869328022, -0.004674982745200396, 0.002754454966634512, -0.010204617865383625, 0.029739676043391228, -0.03913502022624016, -0.051976241171360016, -0.038427844643592834, -0.006832444109022617, -0.00041001755744218826, -0.02585824392735958, -0.013645120896399021, -0.02630392648279667, 0.005436985287815332, -0.009503857232630253, 0.00024937905254773796, 0.006053203716874123, -0.011548499576747417, 0.008785102516412735, -0.015521886758506298, 0.030325205996632576, -0.00014107707829680294, -0.03713250532746315, 0.010585496202111244, -0.02991626039147377, -0.017190491780638695, -0.038511380553245544, 0.04013482481241226, 0.03756970912218094, -0.03684646263718605, 0.010066977702081203, -0.02556663379073143, 0.0327267199754715, 0.026875074952840805, 0.01028389297425747, -0.010834707878530025, -0.028210831806063652, -0.026745278388261795, 0.0010118548525497317, 0.014829435385763645, 0.049056749790906906, 0.03462839126586914, 0.0026049967855215073, 0.0054460265673696995, 0.061440613120794296, 0.003607689868658781, 0.02616836689412594, -0.004934933502227068, -0.01641852967441082, 0.04778463765978813, 0.002772302133962512, -0.0351274311542511, -0.05109658092260361, -0.041247207671403885, 0.0097512723878026, -0.010414380580186844, 0.009825470857322216, 0.025317611172795296, 0.02876809798181057, 0.042429033666849136, 0.042159486562013626, 0.003488091751933098, -0.027111655101180077, 0.07062438875436783, -0.03611697629094124, 0.01596120186150074, -0.06659869104623795, 0.013459624722599983, 0.041606355458498, -0.03350470960140228, 0.0006219944916665554, 0.005836830474436283, -0.026754267513751984, 0.026584697887301445, 0.008770841173827648, -0.07828092575073242, -0.007284719962626696, -0.02666991762816906, 0.019146794453263283, 0.04441022500395775, -0.02437027543783188, -0.007715254090726376, -0.020557649433612823, -0.03823821619153023, -0.024410197511315346, 0.005002423655241728, 0.07778522372245789, -0.025959640741348267, 0.03294145688414574, -0.03448556736111641, 0.0019296142272651196, 0.012384450994431973, 0.07579388469457626, 0.017636338248848915, 0.024050917476415634, -0.047137536108493805, 0.10174700617790222, 0.003950541839003563, -0.003540086094290018, -0.03790638968348503, -0.0264044888317585, -0.029667656868696213, -0.011693647131323814, 0.04593440145254135, 0.028084557503461838, -0.024041641503572464, -0.08599641919136047, 0.09094589203596115, 0.044572047889232635, -0.03642009571194649, -0.007981915026903152, -0.005811054725199938, -0.04810057953000069, -0.00479154335334897, 0.025965385138988495, -0.027225133031606674, -0.04386657848954201, 0.06302091479301453, 0.03734871745109558, 0.039063986390829086, 0.08665428310632706, 0.001028137980028987, -0.006432958412915468, 0.027142489328980446, 0.09399702399969101, 0.10014838725328445, 0.053808070719242096, 0.038224078714847565, 0.05923506245017052, -0.03275071829557419, -0.04037634655833244, 0.003242714796215296, 0.010260005481541157, -0.019494380801916122, -0.019618095830082893, 0.03567855805158615, 0.07134594023227692, 0.051789071410894394, 0.057339370250701904, -0.04578985646367073, 0.012876770459115505, 0.023924455046653748, 0.03430832922458649, 0.04251876473426819, -0.013300608843564987, 0.00001951944977918174, 0.010627060197293758, -0.05593107268214226, 0.00152057153172791, -0.017194435000419617, 0.007387705612927675, -0.0066053420305252075, 0.052866432815790176, -0.01666443608701229, -0.0027378799859434366, -0.03377304598689079, 0.025162776932120323, 0.07581853866577148, 0.009276282042264938, -0.00351740256883204, 0.013657885603606701, 0.0006041474989615381, 0.018010128289461136, 0.05253688246011734, -0.008814724162220955, -0.022886080667376518, -0.029696909710764885, -0.02206253446638584, 0.004535961896181107, 0.005569308064877987, -0.04616621509194374, 0.003946435637772083, -0.02589595317840576, -0.03513697534799576, 0.04001498967409134, -0.00883494969457388, -0.056932609528303146, -0.0507960245013237, -0.04218089580535889, -0.0394647978246212, -0.06373317539691925, -0.05784333497285843, 0.023795418441295624, 0.0279803816229105, -0.010836894623935223, -0.01485337782651186, -0.011058054864406586, 0.04691182076931, -0.014210151508450508, -0.05011996626853943, -0.0035054837353527546, 0.02958041802048683, -0.006954632233828306, 0.007162026129662991, 0.03700197860598564, 0.013255851343274117, -0.029752500355243683, -0.01589878275990486, 0.014605235308408737, 0.005950460210442543, 0.038516756147146225, -0.005855940748006105, -0.006505118682980537, -0.07662934809923172, 0.003665441880002618, 0.03396362438797951, 0.010158531367778778, -0.08362938463687897, 0.021031979471445084, -0.008560648187994957, 0.009992302395403385, 0.06043433025479317, 0.0024941572919487953, -0.038999877870082855, -0.043484482914209366, -0.0014055990613996983, -0.007779539097100496, 0.014965936541557312, 0.016187241300940514, -0.009619902819395065, 0.05823245272040367, 0.04280110448598862, -0.03701157867908478, -0.00987254548817873, 0.03011292777955532, -0.011587442830204964, 0.01674494333565235, -0.021318411454558372, -0.03526690602302551, -0.06267739832401276, -0.08030375093221664, -0.009581370279192924, -0.011836820282042027, -0.008537279441952705, -0.04273177683353424, -0.0003160125052090734, -0.00075372657738626, -0.03460466489195824, -0.0003244639083277434, -0.00830486137419939, 0.03587102144956589, -0.057617004960775375, -0.06787016987800598, -0.07424532622098923, 0.007853672839701176, -0.054990530014038086, -0.024934783577919006, 0.0035469273570924997, -0.047028928995132446, -0.0073316036723554134, -0.013072879053652287, 0.01360095851123333, 0.0069342306815087795, 0.02560257911682129, -0.040248822420835495 ]
389
Plastic Learning with Deep Fourier Features
https://openreview.net/forum?id=NIkfix2eDQ
[ "Alex Lewandowski", "Dale Schuurmans", "Marlos C. Machado" ]
Poster
Deep neural networks can struggle to learn continually in the face of non-stationarity, a phenomenon known as loss of plasticity. In this paper, we identify underlying principles that lead to plastic algorithms. We provide theoretical results showing that linear function approximation, as well as a special case of deep linear networks, do not suffer from loss of plasticity. We then propose deep Fourier features, which are the concatenation of a sine and cosine in every layer, and we show that this combination provides a dynamic balance between the trainability obtained through linearity and the effectiveness obtained through the nonlinearity of neural networks. Deep networks composed entirely of deep Fourier features are highly trainable and sustain their trainability over the course of learning. Our empirical results show that continual learning performance can be improved by replacing ReLU activations with deep Fourier features combined with regularization. These results hold for different continual learning scenarios (e.g., label noise, class incremental learning, pixel permutations) on all major supervised learning datasets used for continual learning research, such as CIFAR10, CIFAR100, and tiny-ImageNet.
Fourier, plasticity, neural networks, continual learning
null
13,172
2410.20634
[ -0.0018269098363816738, -0.01903514936566353, -0.0033765602856874466, 0.027885982766747475, 0.03818664327263832, 0.043615490198135376, 0.01734205149114132, 0.006075464189052582, -0.048758894205093384, -0.04047467187047005, 0.001317863934673369, 0.004552419763058424, -0.042011525481939316, 0.021633248776197433, 0.00871643889695406, 0.05167683959007263, 0.07067199051380157, -0.008847483433783054, -0.00817782897502184, 0.03837591037154198, -0.014365121722221375, -0.014371710829436779, 0.02075299434363842, -0.0010389351518824697, 0.011027766391634941, -0.045675136148929596, 0.017215905711054802, 0.004188031889498234, -0.01788553223013878, 0.019534951075911522, 0.029268257319927216, -0.005636594258248806, -0.002309671835973859, -0.026066742837429047, 0.02551068551838398, 0.027629591524600983, -0.026928279548883438, -0.04161639139056206, 0.004550646059215069, 0.010460148565471172, -0.006806032732129097, -0.012201303616166115, -0.017222994938492775, 0.02297312766313553, -0.07189098745584488, 0.02960033528506756, -0.13538172841072083, 0.014647324569523335, -0.008640388026833534, -0.040914881974458694, -0.0828947126865387, 0.04671573266386986, 0.018718386068940163, -0.05970809981226921, 0.015249359421432018, 0.03399783745408058, 0.007483583875000477, -0.05702425539493561, -0.027786193415522575, -0.03825188800692558, 0.0012849337654188275, 0.009687664918601513, 0.030002858489751816, -0.014228342100977898, -0.014967028051614761, -0.02608266845345497, 0.0061060176230967045, 0.04360700771212578, -0.04058757424354553, -0.023941021412611008, -0.02895374596118927, -0.0036497407127171755, -0.007323687896132469, -0.0062694670632481575, -0.027797598391771317, -0.058937929570674896, -0.013901671394705772, 0.01802944950759411, 0.08333403617143631, 0.014751885086297989, 0.004847262054681778, 0.05017130821943283, 0.04325947165489197, 0.028364552184939384, -0.004425556864589453, 0.009748375043272972, -0.01871163211762905, 0.0018873483641073108, -0.07530693709850311, 0.05056897550821304, 0.008466886356472969, -0.03895016014575958, 0.04294645041227341, 0.06295114755630493, 0.022843465209007263, -0.029969407245516777, 0.013976960442960262, -0.0025863652117550373, 0.02570713311433792, 0.020840877667069435, -0.015492429956793785, -0.033961374312639236, -0.002735625486820936, 0.01576702669262886, -0.06912912428379059, -0.03774091228842735, -0.026203308254480362, -0.05019855499267578, -0.021481335163116455, 0.008266420103609562, -0.05493416637182236, 0.010801469907164574, 0.02931974083185196, -0.023044662550091743, -0.09218151867389679, 0.014508920721709728, 0.003377403598278761, -0.004231566563248634, -0.038552142679691315, -0.010025683790445328, 0.06951478868722916, 0.06262437254190445, -0.014266316778957844, 0.05085894837975502, 0.009625044651329517, -0.0037390347570180893, 0.020985208451747894, 0.032711345702409744, -0.019619952887296677, -0.04515177756547928, -0.016175713390111923, 0.02597406506538391, -0.03078247793018818, 0.01483532041311264, 0.0166464876383543, -0.024068346247076988, -0.006762337405234575, 0.008518551476299763, 0.03538822382688522, -0.005246452987194061, 0.018395377323031425, -0.03897564858198166, 0.034802939742803574, -0.038139574229717255, 0.05873238295316696, -0.023556899279356003, 0.003610950894653797, -0.03433353453874588, -0.02581842802464962, -0.021403197199106216, 0.009191500954329967, 0.015485736541450024, 0.020979953929781914, -0.060030605643987656, 0.001709708827547729, 0.008513971231877804, -0.022292394191026688, 0.040077656507492065, 0.011604508385062218, -0.00007819119491614401, 0.004022460430860519, -0.034243348985910416, -0.01908714324235916, 0.0069501325488090515, -0.010856621898710728, -0.0853760689496994, 0.046297214925289154, 0.04534637928009033, -0.022685319185256958, 0.011556271463632584, -0.01854458451271057, -0.017195507884025574, 0.03576372191309929, 0.02741103060543537, 0.014024178497493267, -0.02326248772442341, 0.046144694089889526, 0.01815842092037201, 0.005805255379527807, 0.05109883099794388, -0.09616279602050781, 0.01959904097020626, 0.021740609779953957, 0.01824549026787281, 0.026068031787872314, -0.023883938789367676, 0.08209561556577682, -0.06272562593221664, 0.02415214478969574, -0.0020172889344394207, -0.048081427812576294, 0.0004705224419012666, 0.005240376573055983, -0.03401532024145126, 0.05801312252879143, -0.021333761513233185, -0.018564052879810333, 0.0027826265431940556, 0.03269456699490547, 0.05636560544371605, 0.04671342298388481, -0.04231642559170723, 0.032528478652238846, -0.0120261674746871, -0.026384497061371803, -0.009873883798718452, 0.06174943223595619, -0.051407501101493835, -0.016558915376663208, 0.01911504566669464, -0.009770061820745468, -0.01792100816965103, 0.008733011782169342, 0.023404931649565697, -0.0004382637271191925, -0.005716064479202032, 0.010370759293437004, 0.020955320447683334, 0.011767689138650894, -0.03968321159482002, 0.00393710657954216, 0.03223913535475731, -0.014662292785942554, 0.005543726496398449, -0.03343687951564789, 0.12461806833744049, 0.0611332468688488, -0.041953638195991516, 0.02426307275891304, -0.009935949929058552, 0.020795118063688278, 0.006840874906629324, -0.008938349783420563, -0.011171803809702396, 0.014282158575952053, 0.008254705928266048, -0.0046820929273962975, -0.036370906978845596, 0.04771346226334572, -0.05088876187801361, -0.012191416695713997, 0.05378648638725281, -0.009291580878198147, 0.046799808740615845, -0.003189198672771454, 0.0016706323949620128, 0.049995966255664825, -0.015174844302237034, -0.02903217263519764, -0.04170285537838936, 0.005382515490055084, 0.010053913109004498, -0.01532823033630848, -0.03973434120416641, -0.021513625979423523, -0.07252614200115204, -0.059962790459394455, 0.002202895935624838, 0.0811680480837822, 0.05694116652011871, -0.01943308301270008, 0.035109855234622955, 0.004699502140283585, -0.046003557741642, -0.0297259334474802, -0.1276952624320984, -0.03179806098341942, -0.025077005848288536, 0.07786086201667786, 0.005794306751340628, 0.039788175374269485, 0.05134625360369682, 0.0034147745463997126, -0.01446230337023735, -0.054214559495449066, 0.00041282211896032095, 0.03997764736413956, -0.006913305725902319, -0.044718675315380096, -0.05279574915766716, 0.01796511374413967, 0.08824221044778824, 0.02030554972589016, -0.017936037853360176, -0.044805485755205154, -0.05219418182969093, -0.033032651990652084, -0.021310746669769287, 0.00811735913157463, -0.012928115203976631, -0.018345681950449944, 0.035379763692617416, -0.024329576641321182, 0.03582930192351341, 0.0006705547566525638, 0.08236711472272873, 0.05074983462691307, 0.000574981386307627, 0.0014447798021137714, 0.018200747668743134, 0.0013851365074515343, -0.000042586765630403534, 0.007702291011810303, 0.021797699853777885, -0.006886494345963001, 0.012302820570766926, 0.00009864630555966869, -0.007698902394622564, -0.2716377377510071, -0.018802300095558167, 0.030414871871471405, -0.011421708390116692, 0.03361903503537178, 0.0013944681268185377, 0.02088111639022827, -0.01908806525170803, -0.0017747011734172702, 0.01957898773252964, 0.0007567007560282946, 0.03666554391384125, 0.0075808335095644, 0.04891861975193024, 0.01693541742861271, 0.0005415278719738126, 0.02381759136915207, -0.023122576996684074, -0.006256504915654659, 0.06941516697406769, -0.009026629850268364, -0.07292773574590683, 0.009984239004552364, 0.06520019471645355, -0.045667052268981934, 0.025270842015743256, -0.05877361074090004, 0.0019056459423154593, -0.06433497369289398, -0.02648811973631382, -0.03582872077822685, -0.017504682764410973, 0.016928622499108315, 0.04559880122542381, 0.017564717680215836, 0.021375756710767746, 0.016526462510228157, -0.017824973911046982, -0.00037036213325336576, 0.008655528537929058, 0.005649880040436983, -0.009062200784683228, 0.01064910925924778, 0.012224693782627583, 0.09169504046440125, 0.022157378494739532, -0.05662428215146065, -0.019164307042956352, -0.03420013189315796, 0.015110797248780727, 0.016640961170196533, -0.028457120060920715, -0.009333879686892033, 0.011914828792214394, -0.009663349948823452, -0.026050228625535965, 0.0009330807370133698, -0.008563884533941746, -0.009709901176393032, 0.018183376640081406, 0.008224986493587494, -0.06323908269405365, -0.01905120350420475, -0.03235345333814621, -0.041797708719968796, -0.031091025099158287, -0.07757095992565155, -0.07597572356462479, 0.038412902504205704, 0.05085993558168411, 0.005939523223787546, 0.020140662789344788, -0.03680478781461716, -0.08974077552556992, 0.04623597487807274, -0.01600039191544056, -0.01589033752679825, -0.013438940979540348, 0.00647618155926466, 0.046495236456394196, -0.012428863905370235, -0.06988316774368286, 0.03548615053296089, -0.0016625429270789027, 0.020552873611450195, -0.013192204758524895, 0.01125636138021946, -0.0037213070318102837, -0.04837481677532196, -0.03439401835203171, 0.04392324388027191, 0.008114572614431381, 0.020805329084396362, -0.023006068542599678, 0.030983638018369675, 0.02961258590221405, 0.014729078859090805, 0.0471670888364315, 0.03361811116337776, -0.0005897673545405269, 0.028492292389273643, -0.05359539017081261, -0.019599320366978645, -0.05652904137969017, -0.045900747179985046, 0.007497175596654415, -0.04944688826799393, -0.015460608527064323, 0.06067836657166481, 0.011986148543655872, -0.030209509655833244, -0.027853140607476234, 0.003736116224899888, -0.010947572998702526, -0.015533149242401123, -0.014764438383281231, -0.004625838715583086, 0.022096233442425728, 0.035733047872781754, -0.03534821420907974, -0.03481823578476906, 0.07206951826810837, -0.01935623213648796, 0.025097381323575974, 0.009268448688089848, -0.02547437511384487, -0.017772935330867767, -0.004241658840328455, -0.008088517934083939, 0.011072634719312191, 0.01582961715757847, 0.02116158977150917, -0.01628929376602173, 0.02154749259352684, 0.0493970662355423, 0.017984790727496147, -0.021234098821878433, -0.007075149565935135, 0.04481878876686096, -0.03195035457611084, 0.04498067870736122, 0.014045481570065022, 0.049403589218854904, 0.01860079914331436, 0.013752108439803123, 0.043702565133571625, 0.0070679765194654465, -0.0033077222760766745, -0.00887275394052267, -0.0088462820276618, 0.01623985916376114, -0.05363880842924118, -0.03162001445889473, -0.0023832160513848066, -0.0038151293992996216, 0.006822141818702221, 0.04478264972567558, 0.009729171171784401, 0.0009570152615197003, -0.06253635883331299, 0.057470712810754776, 0.04151030257344246, -0.012018880806863308, -0.020238254219293594, 0.004933089483529329, 0.0574282743036747, -0.01803378388285637, -0.03037535957992077, 0.03670075535774231, -0.006865505129098892, 0.012751874513924122, 0.006526706274598837, -0.008126883767545223, -0.011162017472088337, -0.0004997231881134212, -0.002898037200793624, -0.0005386691773310304, -0.0192550215870142, -0.01514681987464428, 0.014630225487053394, 0.028943125158548355, 0.01109603326767683, -0.0042599574662745, 0.05363616719841957, 0.08252837508916855, 0.009467458352446556, -0.0030646405648440123, -0.00728467246517539, -0.04679333418607712, 0.03703462332487106, -0.010806390084326267, 0.012686940841376781, -0.041735511273145676, -0.021977033466100693, -0.02537422627210617, -0.02495306357741356, 0.010323847644031048, 0.057504504919052124, -0.008556709624826908, -0.030875543132424355, -0.03681248798966408, 0.0013153809122741222, -0.0320146270096302, 0.0038977223448455334, 0.01834101974964142, -0.07688276469707489, 0.014949679374694824, 0.029355261474847794, -0.030580565333366394, -0.006400492042303085, -0.025519415736198425, -0.035106465220451355, -0.059045739471912384, -0.03980359435081482, -0.02828807197511196, -0.0009610068518668413, 0.009895768016576767, 0.0028581919614225626, -0.006284368224442005, -0.022775888442993164, 0.010138086974620819, -0.005613900721073151, 0.0006417251424863935, -0.013333309441804886, -0.012719777412712574, 0.0568167082965374, -0.009973538108170033, 0.017531631514430046, 0.01976516656577587, -0.017157403752207756, 0.02830454520881176, -0.037551045417785645, 0.018847577273845673, 0.06303467601537704, -0.026525016874074936, -0.0004195398942101747, -0.03710908442735672, 0.04947918653488159, -0.03258175775408745, 0.002902843290939927, -0.020837418735027313, 0.006809679325670004, -0.05554753541946411, 0.016019560396671295, -0.02035616524517536, 0.02401827834546566, 0.013707541860640049, 0.018276439979672432, -0.017413834109902382, 0.018095731735229492, 0.010225063189864159, 0.01695692352950573, -0.04183793067932129, -0.030405789613723755, 0.030459679663181305, -0.04920655116438866, -0.01406679768115282, -0.08528883755207062, -0.0066644055768847466, 0.015377961099147797, -0.022418728098273277, 0.024751367047429085, -0.038917288184165955, 0.0528191402554512, 0.050130732357501984, 0.05749191716313362, -0.007533148862421513, -0.011379178613424301, 0.03582382947206497, -0.040324967354536057, -0.0333213284611702, -0.06553589552640915, -0.029209254309535027, 0.05939967930316925, -0.0028288811445236206, 0.029123226180672646, -0.0020658858120441437, -0.014786990359425545, 0.05665747448801994, -0.04313477501273155, -0.04600364342331886, 0.025695662945508957, -0.04925444349646568, -0.00973539613187313, 0.012941937893629074, -0.05318840965628624, -0.025366198271512985, -0.023251917213201523, -0.043733928352594376, -0.011100873351097107, 0.03184852376580238, 0.03596005216240883, -0.0060273585841059685, 0.012489872984588146, -0.003941682167351246, 0.023576509207487106, -0.0018112377729266882, 0.055406566709280014, 0.024671336635947227, 0.04914180561900139, -0.04769866168498993, 0.0919070765376091, 0.035570282489061356, 0.02045215666294098, 0.004608032759279013, 0.030919592827558517, 0.011511165648698807, -0.06579424440860748, 0.041864052414894104, 0.0005896014627069235, -0.036006130278110504, -0.05262083187699318, -0.0032044851686805487, 0.017383713275194168, -0.03949550911784172, -0.02903146669268608, 0.053140994161367416, -0.036565572023391724, 0.014469990506768227, 0.033876702189445496, -0.015449505299329758, -0.025454003363847733, 0.06680261343717575, 0.00843701884150505, 0.01670880801975727, 0.07366906851530075, 0.011250248178839684, -0.002783491974696517, 0.015476087108254433, 0.08044007420539856, 0.06126801669597626, 0.018459677696228027, 0.007149866316467524, 0.06077153608202934, -0.025094540789723396, -0.06460586190223694, 0.01273970678448677, 0.0227675698697567, 0.0026982855051755905, -0.040625203400850296, 0.02311316505074501, 0.09276732802391052, 0.05240164324641228, 0.06482996046543121, -0.03673981875181198, 0.004040003288537264, -0.01237558014690876, -0.008920946158468723, 0.0042367964051663876, 0.04942120611667633, 0.03472962602972984, 0.0023342547938227654, -0.03238461911678314, -0.054432597011327744, 0.004607627168297768, -0.029532337561249733, 0.014446381479501724, 0.01947912946343422, -0.008099926635622978, 0.018350999802350998, 0.010977862402796745, 0.07830338925123215, 0.09194821119308472, -0.03844437375664711, -0.06845008581876755, 0.0009908111533150077, 0.019219236448407173, 0.019100556150078773, 0.009555613622069359, 0.01695101521909237, -0.004805696662515402, 0.0367908775806427, -0.020274104550480843, 0.02993037737905979, 0.032996173948049545, -0.007068482227623463, 0.019432425498962402, -0.04997379332780838, -0.047941677272319794, 0.03326468914747238, 0.030724644660949707, -0.0246895644813776, -0.0570547953248024, -0.0334719717502594, -0.04259951412677765, -0.06355887651443481, -0.04550784453749657, 0.033575624227523804, -0.014040553011000156, -0.05409747734665871, -0.03891606256365776, 0.012116644531488419, 0.0048026698641479015, 0.026004865765571594, -0.061060525476932526, -0.012384440749883652, 0.058883558958768845, 0.016737641766667366, -0.005450117401778698, -0.014215659350156784, 0.017226319760084152, -0.016085386276245117, -0.01172710582613945, 0.0500602088868618, -0.007917802780866623, 0.02013549581170082, -0.014560016803443432, -0.006807201076298952, -0.07672004401683807, 0.023309392854571342, 0.029999295249581337, -0.027283981442451477, -0.08641833066940308, 0.05359106510877609, -0.043751996010541916, 0.00768365478143096, 0.050914715975522995, -0.004515858832746744, 0.016859928146004677, -0.056450266391038895, 0.007347882259637117, -0.00162409245967865, 0.006027444265782833, 0.07620254904031754, 0.005860605277121067, 0.04813206568360329, 0.04002799466252327, -0.00813339464366436, 0.004346730653196573, 0.006228371523320675, -0.026490330696105957, -0.006707251071929932, -0.017544744536280632, -0.040768951177597046, -0.022587662562727928, -0.0943855494260788, -0.028344539925456047, 0.004517269320785999, -0.004996000789105892, -0.05061996728181839, 0.007407724391669035, 0.015301589854061604, -0.00014160657883621752, -0.00808027759194374, 0.005559074692428112, -0.003551075467839837, -0.015099316835403442, -0.026498908177018166, -0.052602529525756836, 0.03823581710457802, 0.019278325140476227, 0.04594625160098076, -0.012075918726623058, -0.045890454202890396, 0.002819063840433955, -0.014999110251665115, 0.027673305943608284, 0.02239312417805195, -0.0013323689345270395, -0.027782468125224113 ]
390
STAFF: Speculative Coreset Selection for Task-Specific Fine-tuning
https://openreview.net/forum?id=FAfxvdv1Dy
[ "Xiaoyu Zhang", "Juan Zhai", "Shiqing Ma", "Chao Shen", "Tianlin Li", "Weipeng Jiang", "Yang Liu" ]
Poster
Task-specific fine-tuning is essential for the deployment of large language models (LLMs), but it requires significant computational resources and time. Existing solutions have proposed coreset selection methods to improve data efficiency and reduce model training overhead, but they still have limitations: ❶ Overlooking valuable samples at high pruning rates, which degrades the coreset’s performance. ❷ Requiring high time overhead during coreset selection to fine-tune and evaluate the target LLM. In this paper, we introduce STAFF, a speculative coreset selection method. STAFF leverages a small model from the same family as the target LLM to efficiently estimate data scores and then verifies the scores on the target LLM to accurately identify and allocate more selection budget to important regions while maintaining coverage of easy regions. We evaluate STAFF on three LLMs and three downstream tasks and show that STAFF improves the performance of SOTA methods by up to 54.3% and reduces selection overhead by up to 70.5% at different pruning rates. Furthermore, we observe that the coreset selected by STAFF at low pruning rates (i.e., 20%) can even obtain better fine-tuning performance than the full dataset.
Task-specific fine-tuning, coreset selection, speculative execution
We propose STAFF, a speculative coreset selection method for task-specific fine-tuning that outperforms SOTA methods with much lower selection overhead.
13,170
null
[ -0.020651688799262047, -0.031398702412843704, -0.012151814065873623, 0.03962309658527374, 0.044507913291454315, 0.06011755019426346, 0.006957234349101782, 0.026421520859003067, -0.02113073132932186, -0.022845255210995674, -0.03458124399185181, 0.02561315894126892, -0.05378905311226845, -0.02350315824151039, -0.01905757188796997, 0.062111858278512955, 0.03373539075255394, -0.0270951259881258, 0.030065692961215973, -0.027947044000029564, 0.02470688335597515, -0.004684037994593382, 0.057820942252874374, 0.020718006417155266, 0.00500250980257988, 0.007064783480018377, 0.008455046452581882, 0.004558801185339689, -0.02351219579577446, -0.019649958238005638, 0.018806450068950653, -0.010404030792415142, 0.01254875585436821, -0.016515549272298813, -0.013225284405052662, -0.018279699608683586, -0.018758466467261314, 0.031182648614048958, 0.015472037717700005, 0.01889771595597267, -0.02839934267103672, 0.02896609529852867, 0.0067846206948161125, 0.03892970085144043, -0.0416879840195179, 0.027171555906534195, -0.10442662239074707, 0.021091528236865997, 0.017340954393148422, -0.053578395396471024, -0.11852450668811798, 0.03828281909227371, 0.019526615738868713, -0.03331845998764038, 0.030607324093580246, 0.027017001062631607, 0.03230196237564087, -0.11022982001304626, -0.010615584440529346, -0.03677049279212952, -0.06961754709482193, 0.0070597524754703045, -0.005447979550808668, 0.02247471548616886, 0.01147844735532999, -0.03836739435791969, -0.014018268324434757, 0.019320130348205566, -0.07639037817716599, -0.01356446836143732, 0.002299393294379115, 0.028134586289525032, 0.006645177956670523, 0.005716286133974791, 0.027184156700968742, -0.03599562123417854, 0.015422522090375423, 0.052139103412628174, 0.08873678743839264, 0.003936656750738621, -0.0047781807370483875, 0.006423476617783308, 0.019518468528985977, 0.04787594825029373, 0.014043023809790611, 0.008798038586974144, -0.06816422939300537, -0.03156260773539543, -0.07244960218667984, 0.04761301353573799, 0.009210389107465744, -0.07062181085348129, 0.01629236713051796, 0.024936692789196968, 0.003470944706350565, 0.05344367399811745, 0.013294845819473267, 0.027387140318751335, -0.004448849242180586, 0.02503111958503723, -0.03219321742653847, -0.042758915573358536, 0.039719801396131516, 0.04474480077624321, -0.12296060472726822, -0.022859355434775352, -0.020754771307110786, -0.005031585693359375, -0.0069894939661026, 0.007602010387927294, -0.030338549986481667, -0.01715910993516445, 0.007085834164172411, 0.0094813983887434, -0.07568471133708954, 0.021014492958784103, -0.0033096899278461933, 0.015107746236026287, -0.00798862800002098, -0.009277849458158016, 0.06572850793600082, 0.06149671599268913, -0.012120959348976612, 0.05099571496248245, -0.02665967121720314, 0.009577589109539986, 0.011440850794315338, 0.007116291206330061, -0.025531092658638954, -0.05051962286233902, 0.028837917372584343, 0.05534420162439346, 0.02474479004740715, -0.030045276507735252, -0.022996123880147934, 0.010811436921358109, -0.008216808550059795, 0.013013423420488834, 0.07381045073270798, 0.018376849591732025, 0.003202560357749462, -0.012565799988806248, 0.02463117241859436, -0.005639706738293171, 0.057603493332862854, -0.0069307140074670315, -0.050599344074726105, -0.012697989121079445, -0.020323118194937706, -0.00019452253764029592, 0.03015713393688202, 0.01991530880331993, -0.012404819950461388, -0.04539470002055168, 0.04284894838929176, 0.05968731269240379, 0.03375685587525368, -0.009637883864343166, 0.012512662447988987, 0.007334793917834759, 0.010111445561051369, 0.01922798901796341, -0.053217560052871704, -0.004156781826168299, 0.011589940637350082, -0.056245192885398865, 0.02917311154305935, 0.004890833515673876, -0.014293728396296501, 0.03306964039802551, -0.055013108998537064, -0.014215866103768349, 0.046620648354291916, -0.02600955031812191, -0.02238321304321289, 0.004408333450555801, 0.037587106227874756, -0.006357988342642784, 0.05435382202267647, 0.054448314011096954, -0.061938297003507614, 0.006154804956167936, 0.017020508646965027, -0.020096002146601677, -0.011290795169770718, -0.011251718737185001, 0.09488669037818909, -0.023302922025322914, 0.006600706838071346, -0.006346320733428001, -0.06550901383161545, -0.0271120835095644, 0.024651972576975822, 0.020713109523057938, 0.03697096183896065, 0.016015099361538887, -0.0019467760575935245, 0.07151192426681519, 0.03248187527060509, 0.07034886628389359, 0.06844697147607803, -0.021359961479902267, 0.03017650917172432, -0.03676548972725868, -0.03379814699292183, -0.01181931421160698, 0.014718088321387768, -0.05569608137011528, -0.03229257091879845, 0.035687368363142014, -0.004642846994102001, 0.013951319269835949, 0.032836876809597015, -0.009346382692456245, 0.00014029732847120613, 0.00596199557185173, -0.008711542934179306, -0.01941540651023388, 0.010675961151719093, -0.06868570297956467, 0.032895393669605255, 0.0590243935585022, -0.008409839123487473, -0.009437148459255695, -0.026345135644078255, 0.07988374680280685, 0.04371443763375282, -0.019221028313040733, -0.017253119498491287, 0.02985493466258049, 0.020874284207820892, -0.0106584457680583, 0.02001025341451168, -0.033604323863983154, 0.015449746511876583, -0.023913316428661346, -0.022091280668973923, -0.025329554453492165, 0.026468880474567413, -0.04379208758473396, -0.00012902537127956748, 0.07334230095148087, -0.014476973563432693, 0.06434564292430878, 0.029227351769804955, -0.0025883265770971775, 0.012418613769114017, -0.02739500254392624, -0.027741210535168648, -0.028019379824399948, -0.01972411386668682, -0.006170797161757946, -0.04163021594285965, -0.04430919885635376, -0.019841475412249565, -0.04402150958776474, -0.015164408832788467, -0.010392794385552406, 0.052299339324235916, 0.03461042419075966, -0.006665242835879326, -0.0029611466452479362, 0.008670615032315254, -0.05506392568349838, 0.023136254400014877, -0.10511228442192078, 0.007071124855428934, -0.03376809135079384, 0.033563390374183655, -0.019190719351172447, 0.031169001013040543, -0.028122616931796074, 0.013752557337284088, -0.032772574573755264, -0.03264894708991051, -0.017970891669392586, 0.011553864926099777, 0.005544883664697409, -0.028868388384580612, -0.02378380298614502, 0.00892256386578083, 0.04824981093406677, -0.0154899125918746, -0.04554145783185959, -0.05653377249836922, -0.04077763855457306, 0.006411826238036156, -0.07358291745185852, 0.0008573728846386075, 0.00614183209836483, 0.021453583613038063, -0.005500181578099728, -0.029367296025156975, -0.00807854626327753, 0.04012513905763626, 0.02575026825070381, 0.03702632710337639, 0.02583705075085163, -0.033601559698581696, 0.005891754757612944, -0.03338731825351715, 0.0328974723815918, -0.011835750192403793, 0.03465548902750015, -0.015984229743480682, 0.007839703001081944, 0.019718090072274208, -0.003897542366757989, -0.27914148569107056, -0.03134678304195404, 0.004083654843270779, -0.018322300165891647, 0.024653827771544456, -0.011778507381677628, 0.04995500668883324, -0.023571129888296127, 0.0015609066467732191, -0.004937827121466398, 0.015425676479935646, 0.03931117430329323, -0.008589656092226505, 0.06612301617860794, 0.03496197983622551, 0.031484391540288925, -0.009361947886645794, -0.028820514678955078, 0.01425773836672306, 0.028133701533079147, 0.020009230822324753, -0.06324989348649979, 0.006587454117834568, 0.041808951646089554, -0.003151078475639224, 0.07158900797367096, -0.09364479780197144, 0.004365043714642525, -0.03424973413348198, 0.005111023783683777, -0.00559266610071063, -0.021020106971263885, -0.00008435192285105586, 0.02240632474422455, 0.005234662443399429, -0.017628394067287445, 0.06725147366523743, 0.020900428295135498, 0.056541793048381805, 0.032921332865953445, 0.021562427282333374, -0.048493918031454086, -0.03831220790743828, 0.0017349496483802795, 0.06599211692810059, -0.006009167060256004, -0.0875597596168518, -0.03808777406811714, -0.004073204938322306, 0.02777671441435814, -0.005845281295478344, -0.03205743432044983, -0.02244764193892479, 0.01027920376509428, -0.0042374012991786, 0.017027735710144043, 0.006061657331883907, -0.018064552918076515, -0.028962252661585808, 0.007046072743833065, 0.007423193659633398, -0.06325037032365799, 0.008960799314081669, -0.06605120748281479, -0.04218025133013725, -0.02826450765132904, -0.06995633989572525, -0.022164130583405495, 0.031007694080471992, 0.023030323907732964, -0.018551183864474297, -0.0021010327618569136, 0.031649135053157806, -0.09361439198255539, -0.009758852422237396, -0.019441615790128708, -0.0026142450515180826, -0.011255624704062939, -0.0002787995617836714, 0.0647498369216919, -0.017135323956608772, -0.028486967086791992, 0.003538663499057293, 0.03137071058154106, 0.0656575858592987, -0.041533175855875015, -0.005210301373153925, -0.020517976954579353, 0.0021504766773432493, -0.02987796440720558, 0.0311043169349432, 0.02202140912413597, 0.01878451369702816, 0.01691552996635437, 0.058038000017404556, 0.02993260882794857, 0.0227889996021986, 0.06210413947701454, 0.018257347866892815, 0.017464814707636833, 0.022980812937021255, -0.07296839356422424, -0.006480788812041283, -0.04163176193833351, -0.04126574471592903, 0.034386709332466125, -0.05499707907438278, -0.019999228417873383, 0.01518717035651207, 0.0007670971099287271, -0.013550973497331142, -0.03462183102965355, 0.013036114163696766, 0.004063352942466736, -0.0046895039267838, 0.00048514126683585346, 0.023250995203852654, 0.03690282255411148, 0.021740922704339027, 0.007065332029014826, -0.04730712249875069, 0.02179737575352192, -0.015528564341366291, -0.012271435000002384, -0.010204081423580647, -0.03528188169002533, 0.014215472154319286, -0.024652212858200073, -0.031537462025880814, -0.013744787313044071, 0.03540922328829765, 0.025564678013324738, 0.0009741478133946657, 0.018077988177537918, 0.048067063093185425, -0.0024121846072375774, 0.007956732995808125, 0.007620318327099085, 0.01718795672059059, -0.021154189482331276, -0.004097719676792622, 0.002601546933874488, 0.051489703357219696, 0.028333768248558044, 0.04503647983074188, 0.015025301836431026, 0.026242733001708984, -0.03944339230656624, 0.0023517273366451263, 0.02723887749016285, 0.028308000415563583, -0.025477085262537003, -0.001729177893139422, -0.03187767416238785, 0.009884702041745186, 0.014437422156333923, 0.0017372261499986053, 0.0030534889083355665, 0.020850801840424538, -0.058737896382808685, 0.04590067267417908, -0.02749641425907612, 0.0011743165086954832, -0.012056735344231129, 0.04261166974902153, 0.0020190845243632793, -0.01754378341138363, 0.02250799350440502, 0.012737713754177094, 0.028627630323171616, -0.00017541684792377055, -0.019167402759194374, -0.043670594692230225, 0.01725005730986595, -0.00011686309153446928, 0.010887504555284977, 0.029480936005711555, 0.00492116017267108, -0.019628114998340607, 0.06575723737478256, -0.007465166039764881, 0.03511630371212959, -0.018694717437028885, 0.014397481456398964, 0.07994800806045532, 0.03570821136236191, -0.008490473963320255, 0.02766283228993416, -0.013921843841671944, 0.009135603904724121, -0.017105061560869217, -0.01649627275764942, 0.0017708969535306096, -0.006902990397065878, -0.040767602622509, -0.03661121800541878, 0.017718546092510223, 0.008172235451638699, 0.001765094231814146, -0.019221631810069084, -0.027317039668560028, -0.00604749983176589, -0.06069890782237053, -0.011802846565842628, 0.03389333188533783, -0.05983765795826912, 0.011126485653221607, 0.02480206824839115, 0.002705252030864358, 0.04021965712308884, -0.04390024393796921, -0.030226396396756172, -0.03435778245329857, -0.005131208337843418, 0.03152013197541237, -0.07898245751857758, -0.01976901665329933, -0.027319319546222687, -0.010942164808511734, -0.014550221152603626, -0.015922006219625473, -0.017562540248036385, 0.015327902510762215, -0.016685446724295616, -0.004962929058820009, 0.05692368745803833, -0.0025741334538906813, -0.019904809072613716, -0.005480890162289143, -0.04657876119017601, 0.04024609550833702, -0.048538222908973694, 0.03080066666007042, 0.019856667146086693, 0.003093855921179056, 0.001887898426502943, -0.019864708185195923, 0.038072679191827774, 0.07058066129684448, -0.015613092109560966, 0.013057257980108261, -0.003053522203117609, -0.01092084776610136, -0.003061513416469097, -0.046445805579423904, 0.006990526802837849, 0.012197262607514858, 0.008429175242781639, -0.011068075895309448, -0.0007149442099034786, -0.006843418348580599, 0.03067232482135296, -0.04597406089305878, -0.016654103994369507, 0.05412859842181206, -0.020470594987273216, -0.04930562898516655, -0.0933602973818779, -0.051730845123529434, 0.0018571029650047421, -0.029526421800255775, 0.01422161515802145, -0.012471258640289307, 0.022609446197748184, 0.019740618765354156, 0.05039108172059059, -0.018095212057232857, -0.058172281831502914, 0.047028329223394394, -0.03389614075422287, 0.0006479511503130198, -0.07067123055458069, -0.048419009894132614, 0.05345863476395607, -0.0272915568202734, -0.0014590491773560643, 0.0042797294445335865, -0.028003834187984467, 0.03440951183438301, -0.0028638041112571955, -0.04334469512104988, 0.009792394936084747, -0.018140757456421852, 0.021893581375479698, 0.03259226679801941, -0.02673356980085373, 0.004829420708119869, -0.020906491205096245, -0.022007329389452934, 0.004227597266435623, 0.0048358566127717495, 0.05911005288362503, -0.05414659529924393, 0.019461501389741898, -0.08243194967508316, -0.003515486139804125, 0.0080812256783247, 0.06593338400125504, 0.02680223621428013, 0.040936823934316635, -0.012260830029845238, 0.0549258328974247, 0.05981402471661568, -0.022338205948472023, -0.027653824537992477, -0.020326832309365273, -0.028119530528783798, -0.0490487739443779, 0.018814586102962494, -0.02207273244857788, -0.004684634506702423, -0.045723870396614075, 0.08428923785686493, 0.032841067761182785, -0.0579117052257061, -0.02544216625392437, 0.007900821976363659, -0.02801622822880745, 0.013261640444397926, -0.023492733016610146, 0.007829824462532997, -0.01312556117773056, 0.07513817399740219, 0.05807218328118324, 0.03424004837870598, 0.09404831379652023, -0.005323632620275021, -0.006926135625690222, -0.004995410796254873, 0.059703949838876724, 0.04173240438103676, 0.0565568171441555, -0.010949968360364437, 0.0459698885679245, -0.05854683369398117, -0.06174727529287338, 0.023949436843395233, 0.033287663012742996, -0.0030895820818841457, -0.02381858043372631, 0.029618460685014725, 0.05755200982093811, -0.0064545078203082085, 0.0725875273346901, -0.02396075613796711, -0.008277438580989838, 0.042512379586696625, 0.020266879349946976, 0.01950789801776409, 0.0726999044418335, 0.005422021262347698, 0.03406919538974762, -0.029290758073329926, -0.0001346917124465108, 0.033563580363988876, -0.026728520169854164, -0.028393397107720375, 0.007884753867983818, -0.02661731094121933, -0.002212432213127613, -0.02546326443552971, 0.036980994045734406, 0.1020062118768692, -0.011865463107824326, -0.05174092575907707, 0.018549161031842232, 0.0265082698315382, 0.03033534064888954, 0.06523288041353226, -0.015865659341216087, -0.006305026821792126, -0.02957216650247574, -0.03234803304076195, -0.003432763973250985, -0.006854453589767218, -0.025025345385074615, 0.025480842217803, -0.036136265844106674, -0.027563096955418587, 0.016770673915743828, 0.0057338327169418335, -0.09136661142110825, -0.03423963859677315, -0.006758912932127714, -0.032952453941106796, -0.03092472068965435, -0.05040089786052704, -0.016231834888458252, 0.006271533668041229, 0.012913495302200317, -0.01910468190908432, -0.04933829978108406, -0.0006585668888874352, 0.024926049634814262, -0.0481911301612854, -0.0029465132392942905, 0.026960892602801323, -0.01718262769281864, -0.025981657207012177, 0.06005972623825073, 0.035349078476428986, -0.010001867078244686, 0.008613813668489456, 0.060978878289461136, 0.020702561363577843, 0.03461142256855965, 0.016344912350177765, 0.018255800008773804, -0.08093223720788956, -0.009860942140221596, 0.027777211740612984, -0.008443108759820461, -0.07829353213310242, 0.019130975008010864, -0.03031458891928196, 0.03687817603349686, 0.06386345624923706, 0.03519554063677788, 0.031200934201478958, -0.00569152319803834, -0.014982934109866619, 0.02490227483212948, 0.029221713542938232, 0.03695353493094444, -0.03144849091768265, 0.07680951058864594, 0.04081078618764877, -0.026846950873732567, -0.05603714659810066, 0.027988146990537643, -0.02084398828446865, -0.002059022430330515, -0.02650594338774681, -0.01971546746790409, -0.04327518492937088, -0.0778181180357933, -0.027795104309916496, 0.02723725140094757, 0.006528779864311218, -0.03642825782299042, 0.0015287284040823579, -0.03777544945478439, -0.047492966055870056, 0.007000092417001724, -0.0037776678800582886, -0.014402458444237709, -0.03576534986495972, -0.009721807204186916, -0.03996742144227028, -0.0044031147845089436, -0.04272421821951866, -0.01742645353078842, -0.03284674510359764, -0.029565000906586647, -0.01583864353597164, 0.007298476994037628, 0.060686443001031876, 0.0009660492651164532, -0.004640865605324507, -0.017504291608929634 ]
391
Time-to-Event Pretraining for 3D Medical Imaging
https://openreview.net/forum?id=zcTLpIfj9u
[ "Zepeng Frazier Huo", "Jason Alan Fries", "Alejandro Lozano", "Jeya Maria Jose Valanarasu", "Ethan Steinberg", "Louis Blankemeier", "Akshay S Chaudhari", "Curtis Langlotz", "Nigam Shah" ]
Poster
With the rise of medical foundation models and the growing availability of imaging data, scalable pretraining techniques offer a promising way to identify imaging biomarkers predictive of future disease risk. While current self-supervised methods for 3D medical imaging models capture local structural features like organ morphology, they fail to link pixel biomarkers with long-term health outcomes due to a missing context problem. Current approaches lack the temporal context necessary to identify biomarkers correlated with disease progression, as they rely on supervision derived only from images and concurrent text descriptions. To address this, we introduce time-to-event pretraining, a pretraining framework for 3D medical imaging models that leverages large-scale temporal supervision from paired, longitudinal electronic health records (EHRs). Using a dataset of 18,945 CT scans (4.2 million 2D images) and time-to-event distributions across thousands of EHR-derived tasks, our method improves outcome prediction, achieving an average AUROC increase of 23.7% and a 29.4% gain in Harrell’s C-index across 8 benchmark tasks. Importantly, these gains are achieved without sacrificing diagnostic classification performance. This study lays the foundation for integrating longitudinal EHR and 3D imaging data to advance clinical risk prediction.
Multimodal learning, medical imaging, Electronic Health Records
null
13,164
2411.09361
[ 0.014970590360462666, -0.0054167830385267735, -0.026716310530900955, 0.018091801553964615, 0.039486002177000046, 0.010381730273365974, 0.027120983228087425, 0.009744839742779732, -0.007567288354039192, -0.04632898420095444, 0.008292890153825283, 0.0067906370386481285, -0.04239460453391075, 0.02363119088113308, 0.025899238884449005, 0.04205857589840889, 0.060214679688215256, -0.022282248362898827, 0.005061138421297073, 0.026133548468351364, -0.017865145578980446, -0.062250182032585144, 0.00986552331596613, 0.012798595242202282, 0.0028340553399175406, 0.017034858465194702, 0.013683152385056019, -0.021008623763918877, -0.033426810055971146, 0.015431517735123634, 0.04853937402367592, -0.023151516914367676, -0.002041690982878208, -0.05738680437207222, 0.03358336165547371, 0.028832651674747467, -0.019326310604810715, 0.0036227258387953043, 0.001976779429242015, -0.014737552031874657, -0.04903673753142357, -0.000476678746053949, -0.022538922727108, -0.0017991333734244108, -0.0794643685221672, 0.024999437853693962, -0.08969023078680038, 0.02367306314408779, 0.02869906835258007, -0.009800687432289124, -0.07101447880268097, 0.006681011989712715, 0.0038827715907245874, -0.011522294022142887, 0.02161410078406334, 0.035101644694805145, 0.06038523465394974, -0.053496699780225754, -0.03616177290678024, -0.03338651359081268, 0.008823852986097336, 0.01552276685833931, -0.003007739782333374, -0.0010110759176313877, 0.0024828603491187096, -0.02645302191376686, -0.0002472424821462482, 0.06933874636888504, -0.03008825145661831, -0.02770521491765976, -0.01385823730379343, 0.006839668843895197, -0.0012488801730796695, 0.02125660702586174, 0.007706142961978912, -0.03728871047496796, -0.028294965624809265, -0.03980230167508125, 0.07132060080766678, 0.0003180391213390976, 0.04362800717353821, -0.009672009386122227, 0.02466205507516861, 0.013806191273033619, -0.012406483292579651, 0.0037664195988327265, -0.020871477201581, -0.04092508181929588, -0.06446918100118637, 0.053449008613824844, 0.0020005174446851015, -0.021233683452010155, 0.023699849843978882, 0.02162676490843296, 0.041808128356933594, 0.01107060443609953, 0.012793658301234245, -0.01025417074561119, -0.02231760323047638, -0.03151024132966995, -0.017199069261550903, -0.026795757934451103, -0.001950500882230699, -0.006417912896722555, -0.09298425167798996, -0.004265278112143278, -0.03409827873110771, -0.01668851636350155, -0.010151650756597519, -0.012623680755496025, -0.035216234624385834, 0.009730092249810696, -0.011204131878912449, -0.011416204273700714, -0.06269010156393051, 0.027306120842695236, 0.007163997273892164, 0.012358726933598518, 0.007210737094283104, -0.06457872688770294, 0.039494600147008896, 0.05918838083744049, 0.0030928300693631172, 0.05436147376894951, -0.008858250454068184, 0.024534590542316437, 0.027791429311037064, -0.0029031981248408556, -0.035563141107559204, -0.005994508974254131, -0.018830638378858566, 0.034350086003541946, 0.008685567416250706, -0.003129475051537156, 0.016582181677222252, 0.01344539225101471, 0.01287604495882988, -0.010482769459486008, 0.046086132526397705, 0.00020791837596334517, 0.05274353176355362, -0.031197456642985344, 0.03633476421236992, -0.024322710931301117, 0.06402630358934402, -0.034542858600616455, -0.018098052591085434, -0.005135773681104183, -0.028819615021348, 0.04408831521868706, 0.014346279203891754, 0.008775170892477036, 0.01692814752459526, -0.07551009207963943, 0.02413594163954258, 0.04661576449871063, 0.017101559787988663, 0.0009271877934224904, 0.011186056770384312, -0.005313055589795113, 0.02452988363802433, 0.013843893073499203, -0.02911701612174511, 0.024225041270256042, -0.023895515128970146, -0.037513941526412964, 0.044954393059015274, -0.007875262759625912, -0.03712015971541405, 0.009148240089416504, -0.046158477663993835, -0.06427409499883652, 0.05395578220486641, -0.013748069293797016, -0.006035833619534969, 0.0034023646730929613, 0.053657740354537964, -0.016995642334222794, 0.024570923298597336, 0.0020585251040756702, -0.08597538620233536, 0.027234679087996483, 0.00880531594157219, -0.020212356001138687, 0.044742099940776825, -0.05273347720503807, 0.09975650161504745, -0.034741003066301346, -0.011806489899754524, 0.0668075755238533, -0.07175841182470322, -0.020754491910338402, 0.04547369107604027, -0.02253926731646061, 0.05458179488778114, 0.0014742650091648102, -0.003022710559889674, 0.06388553977012634, -0.00548166036605835, 0.04575921967625618, 0.029070567339658737, -0.005757548380643129, 0.031089043244719505, 0.008434141054749489, -0.041534051299095154, -0.013610939495265484, 0.0265729408711195, -0.06361746788024902, -0.036161646246910095, 0.01243077777326107, 0.004288800526410341, 0.005538993515074253, -0.004485800862312317, 0.03880241513252258, 0.031346045434474945, 0.047561027109622955, 0.028880642727017403, 0.03586513176560402, -0.037081122398376465, -0.07742730528116226, 0.02320995181798935, -0.003024815581738949, -0.027070296928286552, 0.01705164648592472, -0.012911374680697918, 0.10889381170272827, 0.0643262043595314, -0.028940744698047638, -0.004672227893024683, -0.0201099943369627, 0.03834548965096474, 0.020220400765538216, 0.007930424995720387, -0.018776455894112587, 0.020570632070302963, -0.008138542994856834, 0.0055995299480855465, -0.024225806817412376, 0.026735279709100723, -0.030803771689534187, 0.002128021791577339, 0.034867431968450546, -0.025501945987343788, 0.03803558275103569, 0.025430263951420784, -0.0061099231243133545, 0.040904898196458817, -0.004344251938164234, -0.06988009810447693, -0.05401310324668884, 0.0036771835293620825, 0.0071346936747431755, -0.03634661063551903, 0.011072248220443726, 0.024491053074598312, -0.08213631063699722, 0.004079164005815983, 0.015748418867588043, 0.04232260212302208, 0.03498900309205055, 0.023802947252988815, 0.042258668690919876, 0.011478175409138203, -0.03433087468147278, 0.012211198918521404, -0.11199259757995605, -0.04361824691295624, -0.047092538326978683, 0.025466788560152054, -0.023956622928380966, 0.06078575924038887, -0.016340462490916252, 0.0030712501611560583, -0.013876122422516346, -0.03727828338742256, 0.0021986414212733507, 0.019417166709899902, 0.015875596553087234, -0.06524793803691864, 0.00927202869206667, 0.02172531746327877, 0.06142178922891617, -0.024470007047057152, -0.030568592250347137, -0.027756843715906143, -0.036364465951919556, -0.020589478313922882, -0.0351700559258461, -0.006130955182015896, 0.010731901973485947, -0.017620328813791275, 0.045543260872364044, -0.009562315419316292, 0.0209015142172575, 0.05142269283533096, 0.05456665903329849, 0.036675043404102325, 0.02284497581422329, -0.03491876274347305, 0.014761384576559067, -0.026607822626829147, 0.02053305134177208, 0.014112873934209347, -0.022635526955127716, -0.003542659804224968, -0.015798745676875114, 0.00865944568067789, -0.016920261085033417, -0.2665526866912842, -0.006328945513814688, -0.00345276459120214, -0.028219349682331085, 0.03674779459834099, -0.024531621485948563, 0.02857114002108574, -0.03406624495983124, -0.02908466011285782, -0.006627099122852087, 0.03435317426919937, 0.04068804159760475, 0.028051460161805153, 0.04220861569046974, 0.03712625056505203, 0.049792904406785965, 0.029861224815249443, -0.010891418904066086, 0.010661376640200615, 0.03940717503428459, -0.012997758574783802, -0.038297440856695175, -0.01643706113100052, 0.03474215418100357, -0.03497438132762909, 0.04585239291191101, -0.06497682631015778, 0.04291173815727234, -0.029510268941521645, -0.020163752138614655, 0.034474581480026245, -0.029728533700108528, 0.016463199630379677, 0.0314643420279026, 0.002317203674465418, -0.009938579052686691, 0.03626939281821251, 0.01961023546755314, 0.009076048620045185, -0.05783332884311676, -0.004445212893188, -0.02003953605890274, -0.043681032955646515, -0.0017117873067036271, 0.08150853216648102, -0.004218167159706354, -0.01304890401661396, -0.030759641900658607, -0.006687423679977655, 0.0227068904787302, 0.00271979090757668, -0.03265620023012161, -0.028235020115971565, 0.01006664801388979, -0.033917345106601715, -0.07345276325941086, 0.012237999588251114, 0.04579590633511543, -0.03680483251810074, -0.007584958802908659, -0.0265013687312603, -0.027660483494400978, -0.003733402118086815, -0.055317722260951996, -0.011266377754509449, -0.04083966463804245, -0.0696142166852951, -0.06085379794239998, 0.034445714205503464, 0.0266831424087286, -0.022392243146896362, 0.041685570031404495, -0.06437815725803375, -0.09947509318590164, 0.0018518716096878052, -0.0024845011066645384, 0.0055806986056268215, -0.03159100562334061, -0.02092183195054531, 0.05706290528178215, -0.01860591024160385, -0.05745796859264374, 0.02374407649040222, 0.012078674510121346, 0.032834988087415695, -0.025622515007853508, 0.024049462750554085, -0.024472158402204514, -0.002015735488384962, -0.041673045605421066, 0.0396958626806736, 0.0001764225889928639, 0.03450619429349899, 0.014166564680635929, 0.014293191023170948, 0.04278428852558136, 0.024196786805987358, 0.07500907778739929, 0.04419998079538345, -0.03963497281074524, 0.01825772598385811, -0.06315040588378906, -0.03317490220069885, -0.08408402651548386, 0.013078054413199425, -0.00036615776480175555, -0.026686202734708786, -0.042010776698589325, 0.036698631942272186, -0.003182864049449563, -0.008902397006750107, 0.03543626889586449, 0.04580641910433769, -0.01619713380932808, 0.024410247802734375, -0.04288100078701973, 0.009641557931900024, 0.022336920723319054, 0.06668683141469955, 0.007154695224016905, -0.030857689678668976, 0.01619216427206993, -0.01744232326745987, 0.007293532136827707, 0.039285484701395035, -0.0017615400720387697, 0.02856108546257019, -0.005303971003741026, -0.0017882977845147252, 0.011139622889459133, 0.053909722715616226, 0.03256259858608246, 0.0074546076357364655, 0.05325682833790779, 0.02963201142847538, -0.02098454162478447, -0.007519604172557592, -0.02143891528248787, 0.01973007433116436, -0.01690857671201229, 0.03987647220492363, -0.02435060776770115, 0.010715453885495663, 0.015154963359236717, 0.039471372961997986, 0.002934715012088418, -0.01916602998971939, 0.01333736814558506, 0.00651498744264245, -0.019399171695113182, -0.0008942157146520913, -0.040468424558639526, -0.03524866700172424, -0.030433805659413338, 0.01132283452898264, 0.009379598312079906, 0.04290059581398964, -0.04685816913843155, 0.04409437254071236, -0.07154329121112823, 0.026054827496409416, -0.010353485122323036, -0.01179337315261364, -0.04508925974369049, 0.011367637664079666, 0.030135830864310265, 0.010178560391068459, -0.014454270713031292, 0.016618026420474052, 0.008469795808196068, 0.0380743183195591, -0.024936096742749214, -0.007712641265243292, -0.008614849299192429, -0.048910532146692276, 0.006529666483402252, -0.019881470128893852, -0.00636977469548583, -0.012422438710927963, 0.02788117341697216, 0.015865983441472054, -0.01351708173751831, 0.008604797534644604, 0.004021732602268457, 0.09443654119968414, 0.018985658884048462, -0.0002624871558509767, -0.015319441445171833, -0.07182281464338303, 0.05842822790145874, -0.008977539837360382, -0.006266574840992689, -0.03554310277104378, -0.017003944143652916, -0.008637373335659504, -0.06257074326276779, -0.014591043815016747, -0.0050065964460372925, 0.013464566320180893, -0.006415116135030985, -0.015993651002645493, -0.0025476389564573765, -0.04195107892155647, 0.002433408983051777, 0.02281142584979534, -0.06352850794792175, -0.024457283318042755, 0.033182915300130844, -0.03419484943151474, 0.02022792026400566, -0.03187255188822746, -0.02667866088449955, -0.022359361872076988, -0.03481919690966606, -0.005003346595913172, -0.010987542569637299, -0.011362642049789429, -0.023232802748680115, 0.007155602797865868, -0.008406043983995914, 0.039506006985902786, 0.03710096329450607, -0.03091723844408989, -0.024128122255206108, 0.0041221799328923225, 0.05973361060023308, -0.017340466380119324, -0.02530568838119507, 0.03484703600406647, -0.029781155288219452, -0.007874047383666039, -0.040992621332407, 0.007204266265034676, 0.050008341670036316, -0.016423415392637253, -0.023628342896699905, -0.03516101837158203, 0.04476536437869072, 0.0392821729183197, 0.020680176094174385, -0.012150566093623638, 0.027270549908280373, -0.01608358882367611, 0.03196796029806137, 0.003700588596984744, 0.04684038460254669, 0.01827692613005638, 0.0087380176410079, 0.034977518022060394, 0.06150929257273674, 0.023579642176628113, 0.007897437550127506, -0.028026346117258072, -0.025348523631691933, 0.035315610468387604, -0.014778529293835163, -0.022502105683088303, -0.06101350113749504, -0.06866107136011124, 0.012584483250975609, 0.012814585119485855, 0.008896208368241787, -0.018549544736742973, 0.02429492585361004, 0.0274397861212492, 0.050775498151779175, 0.0009267832501791418, -0.027841845527291298, 0.043263234198093414, -0.024344131350517273, -0.02508499100804329, -0.047433797270059586, -0.003341544885188341, 0.047717440873384476, -0.04341309517621994, -0.009256338700652122, -0.014920304529368877, -0.012976066209375858, 0.026713451370596886, -0.02885979786515236, -0.06691639870405197, -0.014871647581458092, -0.029841726645827293, -0.02122066169977188, -0.000896952289622277, -0.044690750539302826, 0.020037712529301643, -0.009543923661112785, -0.055450454354286194, 0.002747987862676382, 0.028855033218860626, 0.02809918113052845, -0.04668112099170685, -0.005941925570368767, -0.02267492562532425, 0.030493464320898056, 0.02820955030620098, 0.07348031550645828, -0.011806182563304901, 0.00580308074131608, -0.038829609751701355, 0.10909634828567505, 0.027294503524899483, -0.006683972664177418, -0.020827632397413254, -0.0007858231547288597, 0.018720045685768127, -0.01750515028834343, 0.02110639400780201, 0.004457294940948486, -0.025158461183309555, -0.06637789309024811, 0.04742339625954628, 0.014667380601167679, -0.05263954773545265, -0.03617411479353905, 0.026105958968400955, -0.023776357993483543, -0.016299238428473473, 0.014800118282437325, -0.0441814661026001, -0.023598330095410347, 0.05524998530745506, 0.0209086611866951, 0.02459798753261566, 0.07926596701145172, 0.015106366015970707, 0.0025421183090656996, -0.009343860670924187, 0.07611841708421707, 0.05879788473248482, 0.01751825213432312, 0.014691152609884739, 0.09170818328857422, -0.03514387831091881, -0.052111219614744186, 0.032847557216882706, 0.0025062388740479946, 0.002936069155111909, -0.020993219688534737, 0.03640337660908699, 0.10522386431694031, 0.047602422535419464, 0.030881425365805626, -0.02696218714118004, 0.009819362312555313, -0.0029705874621868134, 0.042623769491910934, 0.011651820503175259, -0.01573653146624565, 0.05416468530893326, 0.007441024295985699, -0.012053253129124641, -0.000997108523733914, -0.030593857169151306, 0.010836015455424786, 0.028659099712967873, 0.057322531938552856, -0.013216533698141575, -0.0028656478971242905, -0.045039959251880646, -0.006058785133063793, 0.06873318552970886, 0.025365395471453667, -0.01257308479398489, -0.028819812461733818, 0.01618042401969433, 0.0032995129004120827, 0.03825143724679947, -0.006165390368551016, -0.05057424306869507, 0.003588058054447174, -0.0648188591003418, 0.018531417474150658, 0.019723443314433098, -0.03336774930357933, 0.04038858041167259, -0.04275807365775108, -0.018787380307912827, 0.031428299844264984, -0.03268497809767723, -0.05202322453260422, -0.044202517718076706, -0.03291104733943939, -0.054204218089580536, -0.04352349042892456, -0.04536541551351547, 0.04553773254156113, 0.03899252414703369, -0.00012306270946282893, -0.03254406154155731, 0.011776003055274487, 0.06347460299730301, 0.012643629685044289, -0.06574145704507828, -0.04592045769095421, 0.04985389858484268, -0.043105337768793106, 0.03320940211415291, 0.04025804251432419, 0.02340565249323845, -0.0026171014178544283, -0.024763543158769608, 0.041277289390563965, -0.0054494100622832775, 0.01634596660733223, -0.005025333724915981, -0.010045659728348255, -0.10244694352149963, 0.01385476253926754, 0.04283319413661957, -0.026993248611688614, -0.07674592733383179, 0.059835270047187805, 0.007153141777962446, 0.026147549971938133, 0.04491322860121727, 0.009328039363026619, 0.013989095576107502, -0.04022522643208504, -0.026028381660580635, -0.03209558129310608, 0.04376090317964554, 0.06205887347459793, -0.023987267166376114, 0.06719806045293808, 0.08701001107692719, -0.013616576790809631, 0.01054345816373825, 0.01123633049428463, -0.01930510625243187, -0.01880400814116001, -0.031719453632831573, -0.06516025960445404, -0.07297807931900024, -0.1116514503955841, -0.00003363778887433, -0.0023261685855686665, 0.007557480596005917, -0.041203662753105164, -0.011775069870054722, -0.0031611034646630287, 0.0010867142118513584, -0.024388020858168602, 0.04266101121902466, 0.00719127431511879, -0.02769274078309536, -0.06347808241844177, -0.048653703182935715, 0.0013199473032727838, -0.007905418053269386, 0.021590208634734154, -0.010095447301864624, -0.03203214332461357, -0.02284928224980831, -0.03789569437503815, 0.03468240424990654, 0.05589162930846214, 0.05233762040734291, -0.011392724700272083 ]
392
ExACT: Teaching AI Agents to Explore with Reflective-MCTS and Exploratory Learning
https://openreview.net/forum?id=GBIUbwW9D8
[ "Xiao Yu", "Baolin Peng", "Vineeth Vajipey", "Hao Cheng", "Michel Galley", "Jianfeng Gao", "Zhou Yu" ]
Poster
Autonomous agents have demonstrated significant potential in automating complex multistep decision-making tasks. However, even state-of-the-art vision-language models (VLMs), such as GPT-4o, still fall short of human-level performance, particularly in intricate web environments and long-horizon planning tasks. To address these limitations, we introduce Reflective Monte Carlo Tree Search (R-MCTS), a novel test-time algorithm designed to enhance the ability of AI agents, e.g., powered by GPT-4o, to explore decision space on the fly. R-MCTS extends traditional MCTS by 1) incorporating contrastive reflection, allowing agents to learn from past interactions and dynamically improve their search efficiency; and 2) using multi-agent debate to provide reliable state evaluation. Moreover, we improve the agent's performance by fine-tuning GPT-4o through self-learning, using R-MCTS generated tree traversals without any human-provided labels. On the challenging VisualWebArena benchmark, our GPT-4o-based R-MCTS agent achieves a 6% to 30% relative improvement across various tasks compared to the previous state-of-the-art. Additionally, we show that the knowledge gained from test-time search can be effectively transferred back to GPT-4o via fine-tuning. The fine-tuned GPT-4o matches 97\% of R-MCTS's performance while reducing compute usage by a factor of four at test time. Furthermore, qualitative results reveal that the fine-tuned GPT-4o model demonstrates the ability to explore the environment, evaluate a state, and backtrack to viable ones when it detects that the current state cannot lead to success. Moreover, our work demonstrates the compute scaling properties in both training - data collection with R-MCTS - and testing time. These results suggest a promising research direction to enhance VLMs' reasoning and planning capabilities for agentic applications via test-time search and self-learning.
AI agent, tree search, self-improvement
null
13,162
2410.02052
[ -0.00456717424094677, -0.029386816546320915, 0.034513480961322784, 0.06283131241798401, 0.02983040362596512, 0.01347331702709198, 0.04310780018568039, 0.003310740925371647, -0.00949199590831995, -0.03700990974903107, -0.03627823293209076, 0.021639250218868256, -0.06644005328416824, -0.020341312512755394, 0.020269552245736122, 0.06935521215200424, 0.029794154688715935, -0.01674625277519226, 0.009224536828696728, -0.03098459169268608, -0.007191778160631657, 0.010881803929805756, 0.03738780319690704, 0.017391163855791092, 0.021847842261195183, 0.014645147137343884, 0.07404613494873047, 0.014724723063409328, -0.016551967710256577, -0.01292866375297308, 0.011657639406621456, -0.017082132399082184, 0.02095344290137291, 0.0034750087652355433, -0.018010782077908516, 0.005495873279869556, -0.022102346643805504, -0.010719109326601028, 0.013055074028670788, -0.023294003680348396, -0.04964069649577141, 0.008961129933595657, -0.002216191729530692, 0.009135967120528221, -0.03410365432500839, 0.03240637108683586, -0.08573471009731293, 0.029590122401714325, 0.03499032184481621, -0.02930697426199913, -0.08813956379890442, 0.04180449619889259, 0.0112508749589324, -0.005309646017849445, -0.02348482981324196, 0.04924631491303444, 0.058110374957323074, -0.11030677706003189, -0.014404172077775002, -0.05493466183543205, -0.03456772118806839, 0.0003679786459542811, 0.009498651139438152, 0.02920243889093399, -0.01177887711673975, -0.01069928240031004, 0.02511489763855934, 0.017429450526833534, -0.041792746633291245, -0.032600246369838715, -0.04124068841338158, -0.02471202053129673, -0.013329963199794292, 0.011798348277807236, -0.0020669277291744947, -0.01182330772280693, 0.013028781861066818, 0.02021431177854538, 0.04263382405042648, 0.006451819092035294, -0.0007591667235828936, 0.023318827152252197, 0.0005249924724921584, 0.0499100536108017, 0.03734695911407471, 0.00868250522762537, -0.027363279834389687, -0.00993557833135128, -0.09955094009637833, 0.04919671267271042, -0.010515537112951279, -0.06019076332449913, 0.008817382156848907, 0.04086577892303467, 0.035749197006225586, 0.008223949000239372, 0.011608647182583809, -0.007989993318915367, 0.024705905467271805, -0.01983962021768093, -0.0128604331985116, -0.04970425367355347, 0.005562784615904093, -0.0016466380329802632, -0.12098488956689835, -0.008314084261655807, -0.023955965414643288, -0.02367319166660309, -0.010240361094474792, 0.018875079229474068, -0.06499971449375153, -0.024696117267012596, 0.010855637490749359, -0.00973850954324007, -0.09091772884130478, 0.03590768203139305, 0.025851121172308922, 0.04742405563592911, -0.004875343292951584, 0.028398113325238228, 0.04314814507961273, 0.024550730362534523, -0.013428539037704468, 0.05618100240826607, -0.003258536569774151, 0.022677181288599968, 0.028710568323731422, 0.009841084480285645, -0.02553611993789673, -0.044917937368154526, 0.020069226622581482, 0.01814575493335724, 0.0012476908741518855, 0.03032282553613186, -0.008184605278074741, -0.028602302074432373, 0.0015065427869558334, -0.016845643520355225, 0.04442168399691582, 0.02167923003435135, -0.01644832454621792, -0.04193032905459404, 0.09369298070669174, -0.00990801490843296, 0.07296285778284073, -0.002650979207828641, -0.022976238280534744, -0.014550600200891495, -0.05896153301000595, 0.011503714136779308, -0.01650382950901985, -0.012511655688285828, 0.01883404329419136, -0.055008042603731155, 0.023089280351996422, 0.05757526680827141, 0.0315963514149189, 0.009761233814060688, 0.0027657158207148314, -0.0040459176525473595, 0.027664396911859512, 0.02292097918689251, -0.05238465964794159, -0.03520865738391876, -0.0008043586276471615, -0.04971559718251228, 0.007317409384995699, 0.019314151257276535, -0.012662047520279884, -0.012581279501318932, -0.032407037913799286, -0.03498357906937599, 0.04226332902908325, -0.028992999345064163, -0.03883394971489906, -0.0013518781634047627, 0.05969035252928734, -0.05900175869464874, 0.03632102161645889, 0.025371607393026352, -0.07667336612939835, 0.019819019362330437, -0.02147970162332058, -0.02209453098475933, -0.007548617664724588, -0.036851916462183, 0.0684284046292305, -0.020991260185837746, -0.010518277995288372, 0.007527745794504881, -0.07463978976011276, -0.028057973831892014, 0.059254370629787445, -0.019853632897138596, 0.06848197430372238, -0.01521169114857912, -0.0423407256603241, 0.024669889360666275, 0.012138762511312962, 0.05934622138738632, 0.02814321219921112, 0.006595153361558914, 0.027416594326496124, -0.008145696483552456, -0.016179656609892845, -0.020780766382813454, 0.06120581552386284, -0.0513877347111702, -0.013701164163649082, 0.01979895867407322, 0.0025412896648049355, 0.014370636083185673, 0.017688585445284843, 0.014789821580052376, 0.013974182307720184, 0.04545224830508232, -0.022168228402733803, -0.001246115774847567, 0.052062273025512695, -0.05257613584399223, 0.016576489433646202, 0.0179936271160841, -0.0045278179459273815, 0.001448188559152186, -0.03081519715487957, 0.08666292577981949, 0.05002246052026749, -0.0612746886909008, -0.01353971753269434, 0.026962311938405037, 0.009662916883826256, 0.01852191612124443, 0.008243457414209843, -0.02066902443766594, 0.009953618980944157, -0.03740832954645157, 0.0017868393333628774, -0.0001171606345451437, 0.043208811432123184, -0.022051304578781128, -0.04160245135426521, 0.04685728996992111, -0.008519073016941547, 0.04709655046463013, 0.022691912949085236, -0.009444724768400192, 0.04550693556666374, -0.014673594385385513, -0.0044135646894574165, -0.024967193603515625, -0.0455438606441021, -0.00563255837187171, 0.00797697901725769, -0.004148745443671942, -0.0073035224340856075, -0.058735672384500504, -0.010717309080064297, -0.03236815705895424, 0.08059649914503098, 0.059168312698602676, 0.009626222774386406, 0.03769116476178169, 0.03132049739360809, -0.008250819519162178, 0.021822385489940643, -0.118239626288414, -0.025911202654242516, -0.000615796132478863, 0.026569455862045288, 0.016387637704610825, 0.024444863200187683, -0.0219829473644495, 0.0358286127448082, -0.030939700081944466, -0.03613608330488205, 0.01472913846373558, 0.017898552119731903, 0.041609086096286774, -0.012048070318996906, 0.0015731576131656766, 0.016687573865056038, 0.059980619698762894, -0.018307290971279144, -0.020784156396985054, -0.026155613362789154, -0.04184383153915405, -0.011530314572155476, -0.06592031568288803, 0.020754091441631317, 0.019318435341119766, 0.005272048991173506, 0.020499715581536293, -0.016821764409542084, 0.025611622259020805, 0.04770088195800781, 0.05756280571222305, 0.04152810573577881, -0.0045670028775930405, -0.04567762464284897, 0.00861458107829094, -0.026011263951659203, 0.005478127393871546, -0.01367923617362976, 0.022705409675836563, 0.017963770776987076, 0.017543239519000053, 0.029543250799179077, 0.015975307673215866, -0.25421079993247986, -0.07546801120042801, 0.03230833262205124, 0.02850729413330555, 0.02638661116361618, -0.03501126542687416, 0.08839236944913864, -0.046201590448617935, -0.025370685383677483, -0.0103765232488513, 0.023320235311985016, 0.02336633950471878, -0.007363115902990103, 0.06990361213684082, 0.049566399306058884, 0.019300607964396477, -0.01738201081752777, -0.021928980946540833, -0.001997971208766103, 0.05067332461476326, 0.0017171251820400357, -0.08170149475336075, -0.027236422523856163, 0.03165974095463753, 0.023892555385828018, 0.06188065931200981, -0.09036456793546677, -0.005588463973253965, -0.019561024382710457, -0.001474088290706277, -0.02259877324104309, 0.0003434286336414516, -0.0028179308865219355, 0.03955959901213646, 0.024285370483994484, -0.0016695027006790042, 0.07392081618309021, -0.013072993606328964, 0.039852436631917953, 0.012971493415534496, -0.017915373668074608, -0.015370463952422142, -0.039686985313892365, 0.025519680231809616, 0.05743669718503952, -0.0039911759085953236, -0.05730042979121208, -0.027746843174099922, -0.018094796687364578, 0.04034304618835449, 0.005603828001767397, 0.0008784205419942737, 0.007022303529083729, -0.0010850561084225774, 0.018827442079782486, -0.0486472062766552, 0.010157373733818531, -0.011358758434653282, -0.0058932532556355, 0.00010944935638690367, -0.0009930399246513844, -0.038741856813430786, -0.02151808701455593, -0.009517768397927284, 0.01209795568138361, -0.03813008591532707, -0.06070893630385399, -0.05032181739807129, 0.022151539102196693, -0.007617378607392311, -0.015845315530896187, -0.034291092306375504, -0.03356559947133064, -0.09791885316371918, -0.004304985050112009, 0.019484154880046844, 0.008391276933252811, -0.04240924119949341, 0.009826510213315487, 0.038325436413288116, -0.0352703295648098, -0.05666111782193184, -0.00859180185943842, 0.014208867214620113, 0.052902255207300186, -0.01274301391094923, 0.020172102376818657, -0.05346645787358284, -0.02283862791955471, -0.016032984480261803, 0.023025335744023323, -0.012304599396884441, 0.03611428663134575, -0.02287837117910385, 0.06130434200167656, 0.02679530717432499, 0.04528597742319107, 0.030814433470368385, 0.026925377547740936, 0.023791395127773285, 0.007442836184054613, -0.08325400948524475, -0.0022084456868469715, -0.016709908843040466, -0.05367637053132057, -0.002007456962019205, -0.043257854878902435, -0.003220247570425272, 0.051634274423122406, 0.026449553668498993, 0.0039991335943341255, -0.014642180874943733, 0.006119624245911837, 0.017424507066607475, -0.012877524830400944, 0.0023573595099151134, 0.021579574793577194, 0.025538774207234383, 0.05225326493382454, -0.04113921523094177, -0.03469077870249748, 0.0008215653360821307, -0.06427278369665146, 0.017051683738827705, -0.006533389911055565, -0.02839120477437973, 0.04583542421460152, -0.009268045425415039, 0.010912546887993813, -0.0010716354008764029, 0.02039598673582077, 0.019617339596152306, 0.0038941712118685246, 0.04005309194326401, 0.06025845557451248, -0.0271199569106102, -0.010643156245350838, 0.0284150168299675, 0.05150965228676796, -0.044980503618717194, 0.028525087982416153, -0.015708856284618378, 0.016270752996206284, 0.02283596619963646, 0.0097457654774189, 0.007312519941478968, 0.02533966302871704, 0.015123451128602028, 0.013673028908669949, 0.0023158846888691187, 0.06055252626538277, -0.0373053178191185, 0.02668243646621704, -0.02301224321126938, 0.0072395759634673595, -0.06049104779958725, 0.02313806861639023, -0.04927060008049011, 0.04517827555537224, -0.05710187554359436, 0.045449674129486084, 0.00023679844161961228, 0.0010051705176010728, -0.01091995183378458, 0.025185171514749527, 0.021122919395565987, -0.006266937591135502, 0.024524252861738205, -0.010663757100701332, 0.018758241087198257, 0.0007257013348862529, -0.07166676968336105, -0.02896646223962307, -0.022412709891796112, -0.03705543279647827, 0.01870795339345932, 0.017821529880166054, -0.048245642334222794, -0.06192797049880028, 0.029662514105439186, -0.010032343678176403, -0.01436503604054451, -0.023786034435033798, -0.02892320416867733, 0.06193968281149864, -0.027616707608103752, 0.025625253096222878, 0.015155640430748463, 0.006502946373075247, 0.02222001552581787, -0.010633988305926323, 0.03322918713092804, -0.004095785785466433, -0.038676247000694275, -0.05974334850907326, -0.044484611600637436, 0.010944225825369358, -0.0033265529200434685, 0.004346789792180061, 0.011835820972919464, -0.009467230178415775, 0.003309454070404172, -0.03984206169843674, -0.004880718886852264, 0.04780706390738487, -0.056788887828588486, -0.017937302589416504, 0.02968950755894184, 0.04592091590166092, 0.03291606530547142, -0.07970594614744186, -0.03698992729187012, -0.05332612991333008, -0.03591196611523628, -0.043288346379995346, -0.020198924466967583, -0.009984907694160938, -0.009501320309937, 0.0025065757799893618, -0.004113766830414534, 0.01805838942527771, 0.006616097409278154, -0.017652712762355804, -0.017289400100708008, -0.00562477670609951, 0.047671057283878326, -0.017376655712723732, -0.010197445750236511, -0.015278027392923832, -0.028681665658950806, 0.010351174511015415, -0.044882919639348984, -0.011922343634068966, 0.039052702486515045, 0.007905030623078346, -0.026287518441677094, -0.025789348408579826, 0.05926837772130966, 0.019824093207716942, -0.02624697983264923, -0.01553377602249384, -0.002458698581904173, -0.03966860845685005, -0.003005419159308076, 0.009549887850880623, 0.02476372942328453, 0.013366504572331905, -0.008171006105840206, -0.00037527058157138526, 0.025302529335021973, 0.018842147663235664, 0.022015469148755074, -0.03529755398631096, 0.008331870660185814, 0.05581243708729744, -0.014104137197136879, -0.023297438398003578, -0.030069896951317787, -0.033060554414987564, 0.03662273287773132, -0.02664967067539692, 0.0011995334643870592, -0.06140512228012085, 0.0026993779465556145, 0.022891400381922722, 0.029663115739822388, -0.009437684901058674, -0.04104875773191452, 0.018318545073270798, -0.0793226808309555, 0.06022728979587555, -0.059849582612514496, -0.012209605425596237, 0.047609832137823105, -0.03867501765489578, -0.03144417330622673, 0.004697746131569147, -0.038375239819288254, 0.03127870336174965, -0.00641216617077589, -0.06633805483579636, 0.05277925729751587, -0.014244944788515568, 0.005773863755166531, 0.024303453043103218, -0.04039893299341202, -0.032570093870162964, -0.02952110394835472, -0.02293030545115471, -0.012509902007877827, 0.004376974422484636, 0.049943290650844574, -0.035966917872428894, 0.008285364136099815, -0.02312322147190571, 0.020969834178686142, -0.016179194673895836, 0.05364228039979935, 0.020978687331080437, 0.07004699856042862, -0.025090079754590988, 0.07160378247499466, 0.0781221017241478, 0.04122662916779518, 0.02114957384765148, -0.004562649875879288, -0.020754655823111534, -0.01836366392672062, 0.06489037722349167, -0.004890470765531063, -0.027944456785917282, -0.04832104220986366, 0.06979458034038544, 0.000872005068231374, -0.05506366863846779, 0.02739887870848179, 0.005230331793427467, -0.0801079198718071, -0.01417927723377943, 0.0001969488221220672, 0.007618608418852091, 0.036885395646095276, 0.055708736181259155, 0.02487317845225334, 0.06120908632874489, 0.08388266712427139, 0.012408004142343998, -0.021252481266856194, 0.011450685560703278, 0.04737916588783264, 0.06737974286079407, 0.049817901104688644, -0.024784183129668236, 0.06398161500692368, -0.06061927229166031, -0.030450647696852684, 0.0448404997587204, -0.0025468487292528152, -0.0191219262778759, -0.014627560041844845, 0.032528381794691086, 0.042170386761426926, -0.014777498319745064, 0.04206915944814682, -0.06247955188155174, -0.01271797064691782, 0.056081220507621765, -0.020882273092865944, 0.007124874275177717, 0.05220629274845123, 0.050534214824438095, 0.028710581362247467, -0.039951954036951065, -0.01825222373008728, 0.0046269590966403484, -0.03526776283979416, 0.002166340360417962, -0.018770573660731316, -0.04054002836346626, -0.005351163446903229, -0.017873406410217285, 0.04331372678279877, 0.0977160632610321, -0.03987931087613106, -0.0003029982326552272, 0.02420158125460148, 0.009820065461099148, 0.016481194645166397, 0.05584980174899101, 0.02093503437936306, -0.00006981879414524883, 0.00901953224092722, -0.016226453706622124, 0.04266646131873131, 0.03247159719467163, 0.01858815737068653, 0.01876552775502205, -0.04357825219631195, -0.026021957397460938, 0.025997616350650787, 0.003275411669164896, -0.020532023161649704, -0.04389938339591026, -0.04196644946932793, -0.0317867211997509, -0.033963892608881, -0.04534238949418068, 0.007636035792529583, 0.003694254904985428, -0.05028166249394417, -0.01072610728442669, 0.009124243631958961, 0.024768304079771042, 0.007519016042351723, -0.052417147904634476, 0.02085324563086033, 0.025136951357126236, -0.00030107825295999646, -0.0028518943581730127, 0.04992596060037613, 0.01769556663930416, 0.005288310814648867, -0.0008711135014891624, 0.012085546739399433, 0.006758933421224356, 0.015229344367980957, -0.03222110494971275, -0.01635861024260521, -0.07447974383831024, -0.03081621043384075, 0.04346894100308418, -0.024589426815509796, -0.07955408841371536, -0.002573697827756405, -0.05073168873786926, 0.030251426622271538, 0.04749426990747452, 0.01956399530172348, 0.026915982365608215, -0.012345628812909126, 0.01398061029613018, 0.0441875085234642, 0.00006628916889894754, 0.04923103749752045, -0.038985274732112885, 0.06421639770269394, 0.015227355062961578, -0.05097176507115364, -0.054416146129369736, 0.04785579815506935, 0.032347649335861206, -0.01369143184274435, -0.031397171318531036, -0.03115537390112877, -0.012691671960055828, -0.11796878278255463, -0.015003017149865627, 0.04932866245508194, 0.00793937873095274, -0.03684064745903015, -0.019283415749669075, -0.0282463189214468, 0.0020028625149279833, 0.01556430384516716, -0.041657865047454834, -0.0017110472545027733, -0.018352085724473, -0.02805435284972191, -0.046520885080099106, 0.011747242882847786, -0.04178520664572716, 0.027230342850089073, -0.02602430433034897, -0.05430243909358978, -0.005980541463941336, -0.01509516965597868, 0.026034148409962654, -0.0028548382688313723, 0.00914163887500763, -0.01777065545320511 ]
393
TOMATO: Assessing Visual Temporal Reasoning Capabilities in Multimodal Foundation Models
https://openreview.net/forum?id=fCi4o83Mfs
[ "Ziyao Shangguan", "Chuhan Li", "Yuxuan Ding", "Yanan Zheng", "Yilun Zhao", "Tesca Fitzgerald", "Arman Cohan" ]
Poster
Existing benchmarks often highlight the remarkable performance achieved by state-of-the-art Multimodal Foundation Models (MFMs) in leveraging temporal context for video understanding. However, *how well do the models truly perform visual temporal reasoning?* Our study of existing benchmarks shows that this capability of MFMs is likely overestimated as many questions can be solved by using a single, few, or out-of-order frames. To systematically examine current visual temporal reasoning tasks, we propose three principles with corresponding metrics: (1) *Multi-Frame Gain*, (2) *Frame Order Sensitivity*, and (3) *Frame Information Disparity*. Following these principles, we introduce **TOMATO**, **T**emp**O**ral Reasoning **M**ultimod**A**l Evalua**T**i**O**n, a novel benchmark crafted to rigorously assess MFMs' temporal reasoning capabilities in video understanding. TOMATO comprises 1,484 carefully curated, *human-annotated* questions spanning *six* tasks (i.e. *action count, direction, rotation, shape & trend, velocity & frequency, and visual cues*), applied to 1,417 videos, including 805 self-recorded and -generated videos, that encompass human-centric, real-world, and simulated scenarios. Our comprehensive evaluation reveals a human-model performance gap of 57.3% with the best-performing model. Moreover, our in-depth analysis uncovers more fundamental limitations beyond this gap in current MFMs. While they can accurately recognize events in isolated frames, they fail to interpret these frames as a continuous sequence. We believe TOMATO will serve as a crucial testbed for evaluating the next-generation MFMs and as a call to the community to develop AI systems capable of comprehending the human world dynamics through the video modality.
visual temporal reasoning, video understanding, benchmark, vision-language benchmark, video-language models, evaluation
null
13,155
2410.23266
[ 0.024321990087628365, -0.013590150512754917, -0.004495935048907995, 0.03076559491455555, 0.04166793450713158, 0.025919970124959946, 0.018173301592469215, 0.04022477939724922, -0.043510738760232925, -0.021755559369921684, 0.014446201734244823, 0.03167378902435303, -0.06511955708265305, 0.002961120568215847, -0.01970727927982807, 0.046420156955718994, 0.014204773120582104, -0.012113142758607864, 0.006879265885800123, 0.011018055491149426, -0.011814123019576073, -0.021461447700858116, 0.0406697615981102, -0.003686952870339155, 0.0182594433426857, 0.00033276149770244956, 0.018727893009781837, 0.00942903384566307, -0.03786005452275276, 0.0036928136833012104, 0.017972972244024277, -0.02897505834698677, -0.00008595792314736173, -0.0583241730928421, -0.009206628426909447, 0.00024734155158512294, -0.03061734512448311, 0.04309765622019768, 0.006239643320441246, 0.0017715294379740953, -0.02298564277589321, 0.01376209408044815, 0.023211369290947914, -0.03786947578191757, -0.07177218794822693, 0.009498507715761662, -0.05563891679048538, 0.05617249011993408, 0.038571905344724655, -0.012509758584201336, -0.07066704332828522, 0.027906509116292, -0.021270545199513435, -0.013185324147343636, 0.004794433247298002, 0.02281819097697735, 0.03716650605201721, -0.10248306393623352, -0.014284761622548103, -0.03503897041082382, -0.023211738094687462, 0.010946650989353657, 0.06112145632505417, -0.01840958371758461, -0.017334891483187675, -0.023874735459685326, -0.012314950115978718, 0.051923878490924835, -0.02409932389855385, 0.006317585706710815, 0.01912972331047058, -0.00022211104806046933, -0.005213640630245209, 0.024921640753746033, 0.01107180118560791, -0.03939703851938248, 0.035391636192798615, 0.0030814537312835455, 0.042159222066402435, -0.03667081147432327, 0.012638160958886147, 0.018249519169330597, 0.018146995455026627, 0.04845449700951576, 0.011754738166928291, 0.03744236007332802, -0.017097918316721916, -0.019501110538840294, -0.06559830158948898, 0.02304818108677864, 0.003882313845679164, -0.03994198888540268, 0.022768976166844368, 0.04850795865058899, 0.011335916817188263, 0.023869797587394714, -0.0204462930560112, 0.023037899285554886, 0.0231596902012825, 0.014183378778398037, -0.009889855049550533, -0.01846175268292427, 0.022257288917899132, 0.010689680464565754, -0.09298092126846313, -0.0356069914996624, -0.027317579835653305, -0.006636294536292553, 0.00402143644168973, 0.016251593828201294, -0.0610850565135479, 0.011636625975370407, 0.04590846970677376, -0.017962632700800896, -0.049014996737241745, 0.032400816679000854, 0.0044634235091507435, 0.04781974479556084, -0.02440125308930874, 0.03568680211901665, 0.08039309829473495, 0.032298605889081955, -0.016405878588557243, 0.05690072476863861, -0.002101348713040352, 0.021128639578819275, -0.012160656973719597, 0.008628473617136478, -0.013203326612710953, -0.021221796050667763, 0.02334454469382763, 0.004018332343548536, -0.015160880982875824, -0.016250023618340492, -0.0027221576310694218, -0.0053599076345562935, 0.018550746142864227, -0.024769658222794533, 0.030446480959653854, -0.005018741358071566, 0.010113799944519997, -0.022889474406838417, 0.06752956658601761, -0.031521208584308624, 0.09386987239122391, -0.007694203406572342, -0.0140535244718194, -0.0034250698518007994, -0.04647368565201759, -0.014306852594017982, -0.0018171011470258236, -0.015139828436076641, 0.002172006294131279, -0.09193667024374008, 0.03186310455203056, 0.07208524644374847, 0.03860004246234894, -0.006699359975755215, 0.021387018263339996, 0.013136083260178566, -0.0040841661393642426, -0.003405243856832385, -0.02087818644940853, 0.037091296166181564, 0.005970553960651159, -0.05253002792596817, 0.01486244611442089, 0.017774786800146103, -0.04962754622101784, 0.009916543960571289, -0.04465097188949585, -0.03842778131365776, 0.04096561297774315, -0.010914941318333149, -0.030526427552103996, 0.015519296750426292, 0.05670702084898949, 0.00876376312226057, 0.018759481608867645, -0.007425031159073114, -0.07895228266716003, 0.006745203398168087, -0.016234353184700012, -0.006084810476750135, 0.015380585566163063, -0.04355628788471222, 0.0670311227440834, -0.05213295295834541, -0.025471005588769913, -0.014479557052254677, -0.055480118840932846, -0.018756067380309105, -0.011029500514268875, -0.003950163256376982, 0.05824610963463783, 0.023488270118832588, -0.016418730840086937, 0.024672826752066612, 0.036601774394512177, 0.06770973652601242, 0.046877626329660416, -0.03186715021729469, 0.05316508561372757, -0.017331073060631752, -0.0041960459202528, -0.001975041115656495, 0.05944216251373291, -0.059320226311683655, -0.012516822665929794, 0.010066482238471508, -0.022475630044937134, 0.001521016238257289, 0.014993707649409771, 0.012185356579720974, 0.029409313574433327, 0.03683215379714966, 0.01725262962281704, 0.004893460776656866, -0.003633380401879549, -0.06236474961042404, 0.02151471935212612, 0.00512809818610549, -0.0413958840072155, -0.02710118144750595, -0.054412841796875, 0.06900787353515625, 0.05664215609431267, -0.04749874770641327, -0.017315343022346497, -0.008477296680212021, -0.012258581817150116, 0.03463900834321976, -0.01794506423175335, -0.021196642890572548, 0.00199777539819479, -0.032561514526605606, 0.026372479274868965, -0.019284158945083618, 0.02220066264271736, -0.04284166917204857, -0.011451312340795994, 0.05443797633051872, -0.0059095947071909904, 0.041561309248209, -0.010638915933668613, -0.005087175872176886, 0.04903145879507065, 0.016431111842393875, -0.0020282811019569635, 0.031705342233181, -0.008955500088632107, -0.010654432699084282, 0.010751527734100819, -0.03257798030972481, 0.011576215736567974, -0.05114114657044411, 0.005421627312898636, -0.02810347080230713, 0.0710863471031189, 0.047193702310323715, 0.041489433497190475, 0.059898436069488525, -0.003377803135663271, -0.007129254750907421, -0.03926708921790123, -0.11215566843748093, -0.0619652159512043, -0.0347277857363224, -0.005968680139631033, 0.04090185835957527, 0.0455496683716774, -0.026461036875844002, 0.04620242118835449, -0.010751420632004738, -0.0005921567790210247, 0.007017702329903841, 0.030655236914753914, -0.005871148779988289, -0.037277597934007645, -0.00216154963709414, 0.014675665646791458, 0.0629299208521843, -0.01442109514027834, -0.02576374262571335, -0.029835170134902, -0.01730935461819172, 0.025918927043676376, -0.014315469190478325, 0.002724869642406702, 0.008587853983044624, 0.012551218271255493, 0.014623402617871761, -0.01429633516818285, 0.040305912494659424, 0.03703862801194191, 0.083601213991642, 0.03433408588171005, -0.01724453642964363, -0.018135426566004753, 0.020752783864736557, 0.005576657131314278, 0.024103140458464622, 0.004756671376526356, -0.0028326730243861675, -0.01743285544216633, 0.023583468049764633, 0.002702439669519663, 0.0012305696727707982, -0.25504735112190247, -0.026955360546708107, 0.010049082338809967, -0.014170548878610134, 0.04041282460093498, -0.029649298638105392, 0.047298409044742584, -0.047245092689991, -0.014031819067895412, 0.013696565292775631, 0.04659740626811981, 0.038019005209207535, 0.012868422083556652, 0.07195472717285156, 0.0564020611345768, -0.0036183837801218033, -0.017738185822963715, -0.035257745534181595, 0.0077143083326518536, 0.0473688468337059, -0.016523020341992378, -0.08105379343032837, -0.03464960306882858, 0.03934343159198761, -0.047357749193906784, 0.05821662396192551, -0.059335894882678986, -0.02807205729186535, -0.009051763452589512, -0.02201629802584648, 0.012990093789994717, -0.029162568971514702, -0.0073407781310379505, 0.03461281210184097, 0.030133908614516258, 0.005428816191852093, 0.055239807814359665, -0.013517487794160843, 0.049829427152872086, -0.01748986914753914, 0.019391724839806557, -0.02117110788822174, -0.02130131796002388, 0.03022032044827938, 0.0746871829032898, -0.0005915308138355613, -0.05118231847882271, -0.02611885406076908, -0.028284823521971703, 0.03331713005900383, -0.0027247543912380934, -0.02789900079369545, -0.022309834137558937, -0.023521125316619873, -0.017380669713020325, -0.047315891832113266, 0.04580818489193916, -0.006461241282522678, 0.012931523844599724, -0.019958995282649994, -0.032160259783267975, -0.016124876216053963, -0.011058910749852657, -0.017361175268888474, -0.004484171979129314, -0.04778897389769554, -0.06444749981164932, -0.026728155091404915, 0.03794657066464424, 0.00227348692715168, -0.00044920711661688983, 0.00364145846106112, -0.036052122712135315, -0.1101398691534996, -0.000003818522145593306, 0.030581237748265266, -0.02872472070157528, -0.042578764259815216, 0.006275867111980915, 0.0382278710603714, -0.03151713311672211, -0.04406869038939476, 0.01549860741943121, -0.008737779222428799, 0.02968871220946312, -0.012022336013615131, 0.03738431632518768, -0.047436393797397614, 0.00849974900484085, -0.024896521121263504, 0.04958318546414375, -0.02218206413090229, 0.01001411397010088, 0.025470634922385216, 0.059564899653196335, 0.028487637639045715, 0.04710090160369873, 0.05842997878789902, 0.07281946390867233, 0.01209214236587286, -0.0015437162946909666, -0.09331681579351425, 0.008793731220066547, -0.02626061625778675, -0.039308324456214905, -0.0013471732381731272, -0.014341451227664948, 0.002821950474753976, 0.03612846881151199, 0.009895244613289833, -0.012482047080993652, -0.0009344398276880383, 0.0012431507930159569, 0.0075767007656395435, -0.009843817912042141, -0.01090595219284296, 0.011989964172244072, 0.007418564986437559, 0.018250254914164543, 0.010959758423268795, -0.029758764430880547, 0.028328826650977135, -0.03425617143511772, 0.047088317573070526, -0.00191277707926929, -0.02803698740899563, -0.03549151495099068, -0.03051292523741722, -0.0016557954950258136, 0.0036180943716317415, 0.014157109893858433, 0.03179914131760597, -0.012626041658222675, 0.04145778343081474, 0.06740055233240128, -0.028985098004341125, -0.00478117261081934, -0.003742824774235487, 0.0327279195189476, -0.04261472076177597, 0.020249424502253532, -0.021517017856240273, 0.026310652494430542, 0.04133770614862442, -0.004634807351976633, -0.0043094707652926445, 0.0015706801787018776, 0.009325163438916206, -0.038525551557540894, 0.006083269603550434, 0.03907088190317154, -0.05683865770697594, -0.048996228724718094, -0.03871611878275871, -0.015690965577960014, -0.02565336413681507, -0.0031685454305261374, -0.020621737465262413, 0.01988384872674942, -0.08092902600765228, 0.03860029950737953, 0.020318714901804924, -0.02553827501833439, -0.020330049097537994, 0.00291459821164608, 0.042458564043045044, 0.030702978372573853, -0.018032114952802658, 0.024528631940484047, 0.0002714135334827006, -0.01930788904428482, -0.03424856439232826, -0.03175078704953194, -0.017797110602259636, -0.018962550908327103, 0.00637185899540782, 0.01662728376686573, -0.033061012625694275, -0.03773012012243271, 0.05596577003598213, -0.002413067501038313, -0.04853207617998123, 0.02177847921848297, -0.008279010653495789, 0.06121537461876869, 0.002405666746199131, -0.019000837579369545, -0.029559727758169174, -0.031177358701825142, 0.025416787713766098, 0.01957487314939499, 0.031562067568302155, -0.010854102671146393, -0.05504784360527992, -0.03420129790902138, -0.040116313844919205, 0.008995698764920235, -0.0070040966384112835, 0.0030696187168359756, -0.012313107028603554, -0.021727968007326126, 0.0035090032033622265, -0.036769382655620575, -0.0019484699005261064, 0.036449115723371506, -0.049049440771341324, 0.024902209639549255, 0.07999490201473236, -0.021910719573497772, 0.0030137801077216864, -0.06037265062332153, -0.02307906374335289, -0.04147941991686821, -0.05016886070370674, -0.009558630175888538, -0.02205643430352211, -0.007060653530061245, -0.03378743678331375, -0.009879925288259983, -0.009103817865252495, 0.0027989535592496395, -0.006494586821645498, -0.03128606081008911, 0.0011294285068288445, 0.021565020084381104, 0.0504893884062767, -0.006786552257835865, -0.01550219301134348, 0.0208530705422163, -0.013764397241175175, 0.003286106511950493, -0.03770876303315163, 0.01307152584195137, 0.0535762719810009, -0.025948701426386833, -0.03127710148692131, -0.03178218752145767, 0.041525401175022125, 0.02178151346743107, 0.0016212438931688666, 0.020232150331139565, 0.012226385064423084, -0.022601716220378876, 0.016006164252758026, 0.017393052577972412, 0.03436543047428131, 0.045406438410282135, 0.0011766835814341903, 0.034897178411483765, 0.020061522722244263, 0.017078015953302383, -0.003077856032177806, -0.03333454951643944, -0.0024855262599885464, 0.04148285090923309, -0.08052133023738861, 0.00815889798104763, -0.049742959439754486, -0.021005310118198395, 0.025511855259537697, -0.023372964933514595, 0.00794624350965023, -0.015321697108447552, 0.016989311203360558, 0.0023062482941895723, 0.03537924960255623, 0.050318583846092224, -0.027500394731760025, 0.055758144706487656, -0.04713970422744751, 0.028445633128285408, -0.07613256573677063, -0.02075503021478653, 0.05685563385486603, -0.028480416163802147, -0.010287432000041008, -0.0019434808054938912, -0.03726008161902428, 0.049777545034885406, -0.030619069933891296, -0.049396514892578125, 0.01409129612147808, -0.06239333003759384, -0.00010683199798222631, 0.005827566608786583, -0.038655295968055725, 0.017315758392214775, -0.001095668412744999, -0.046692200005054474, 0.004056204576045275, -0.022004321217536926, 0.05111291632056236, -0.011733661405742168, 0.015452656894922256, -0.022566109895706177, 0.01691092550754547, 0.012210161425173283, 0.05427740886807442, 0.011870610527694225, 0.021130893379449844, -0.0134743582457304, 0.05990045145153999, 0.048367660492658615, 0.006291551515460014, 0.01488635316491127, -0.004458910785615444, -0.010937383398413658, -0.057293981313705444, 0.047880299389362335, 0.01974528655409813, -0.05438818410038948, -0.0869569256901741, 0.08002942055463791, 0.01534556970000267, -0.03121194802224636, 0.0068391491658985615, 0.030469531193375587, -0.05327536538243294, 0.0018491422524675727, -0.0013140664668753743, -0.002570335753262043, -0.015252618119120598, 0.06255453079938889, 0.0262279212474823, 0.08747778832912445, 0.0833490714430809, 0.03452209755778313, -0.02989259362220764, 0.007496850099414587, 0.03645578399300575, 0.05435879901051521, 0.06601046025753021, -0.011082306504249573, 0.10105762630701065, -0.017848653718829155, -0.03076421655714512, 0.04402833804488182, 0.018033592030405998, -0.027486909180879593, -0.03477614000439644, 0.0035921158269047737, 0.09352857619524002, 0.015651723369956017, 0.04349300265312195, -0.05212480574846268, -0.017447294667363167, 0.056157223880290985, 0.005207499023526907, -0.005693865939974785, 0.021984683349728584, 0.06584435701370239, -0.0020453077740967274, -0.018738724291324615, -0.01698584482073784, 0.013564366847276688, -0.007977086119353771, 0.012786950916051865, 0.007494115270674229, -0.002461255993694067, 0.03651146590709686, -0.02134573832154274, 0.04472736269235611, 0.09976564347743988, -0.030264079570770264, -0.008738118223845959, 0.020501721650362015, -0.007153984624892473, 0.01987241581082344, 0.0360349677503109, 0.021638348698616028, 0.01421706099063158, 0.018678389489650726, -0.07141498476266861, 0.03504825755953789, 0.03651609644293785, -0.0035721471067517996, 0.016810595989227295, -0.05800802633166313, -0.04377103969454765, 0.02486032247543335, -0.009203676134347916, -0.023530058562755585, -0.028162866830825806, -0.022805271670222282, -0.07413439452648163, -0.07968731224536896, -0.03469531238079071, 0.05370188504457474, 0.002415373921394348, -0.059410300105810165, -0.034833479672670364, 0.010877244174480438, 0.014968235976994038, 0.007532493676990271, -0.07459632307291031, -0.026469901204109192, 0.026734059676527977, -0.016122974455356598, -0.0002464879653416574, 0.039605025202035904, 0.0334903858602047, -0.02037319354712963, -0.025849005207419395, -0.005579647142440081, 0.0018117747968062758, 0.013970504514873028, -0.005346859339624643, -0.04379895329475403, -0.10986059904098511, 0.0024446407333016396, 0.02183631621301174, -0.020931031554937363, -0.07348661869764328, -0.0053637162782251835, -0.06691574305295944, 0.03789824619889259, 0.08510426431894302, -0.008400879800319672, 0.048026278614997864, -0.056548308581113815, -0.008638662286102772, -0.015995385125279427, 0.005319789983332157, 0.05548454076051712, -0.045235104858875275, 0.056227847933769226, 0.040603820234537125, -0.014498289674520493, -0.029757967218756676, 0.03374408558011055, 0.010065666399896145, -0.006793573964387178, 0.011679116636514664, -0.06047828495502472, -0.05085184797644615, -0.12820351123809814, -0.018954966217279434, 0.02707645483314991, 0.019736703485250473, -0.06047739088535309, -0.0030592158436775208, -0.01988852582871914, -0.018628044053912163, -0.05959297716617584, -0.007944529876112938, -0.013903515413403511, -0.017490055412054062, -0.019432032480835915, -0.07855550944805145, 0.019856682047247887, -0.037373945116996765, 0.0015059186844155192, -0.030110718682408333, -0.0359441302716732, -0.021293852478265762, 0.01843871921300888, 0.013303890824317932, 0.016056716442108154, 0.06337324529886246, -0.013003896921873093 ]
394
Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankers
https://openreview.net/forum?id=yzloNYH3QN
[ "Shijie Chen", "Bernal Jimenez Gutierrez", "Yu Su" ]
Poster
Information retrieval (IR) systems have played a vital role in modern digital life and have cemented their continued usefulness in this new era of generative AI via retrieval-augmented generation. With strong language processing capabilities and remarkable versatility, large language models (LLMs) have become popular choices for zero-shot re-ranking in IR systems. So far, LLM-based re-ranking methods rely on strong generative capabilities, which restricts their use to either specialized or powerful proprietary models. Given these restrictions, we ask: is autoregressive generation necessary and optimal for LLMs to perform re-ranking? We hypothesize that there are abundant signals relevant to re-ranking within LLMs that might not be used to their full potential via generation. To more directly leverage such signals, we propose in-context re-ranking (ICR), a novel method that leverages the change in attention pattern caused by the search query for accurate and efficient re-ranking. We assume that more relevant documents should receive more attention weights when an LLM is processing the query tokens, and leverage such signals for re-ranking. To mitigate the intrinsic biases in LLMs, we propose a calibration method using a content-free query. Due to the absence of generation, ICR only requires two ($O(1)$) forward passes to re-rank $N$ documents, making it substantially more efficient than generative re-ranking methods that require at least $O(N)$ forward passes. Our novel design also enables ICR to be applied to any LLM without specialized training while guaranteeing a well-formed ranking. Extensive experiments with two popular open-weight LLMs on standard single-hop and multi-hop information retrieval benchmarks show that ICR outperforms RankGPT while cutting the latency by more than 60% in practice. Through detailed analyses, we show that ICR's performance is specially strong on tasks that require more complex re-ranking signals, such as handling contextualization and contradiction between the query and passages, as well as information integration across multiple passages. Our findings call for further exploration on novel ways of utilizing open-weight LLMs beyond text generation.
Large Language Model, Information Retrieval
We propose an efficient LLM-based re-ranking method that outperforms RankGPT while only requiring two forward passes without specialized training.
13,153
2410.02642
[ -0.02811243198812008, -0.013998755253851414, 0.004584420472383499, 0.05450473725795746, 0.024980705231428146, 0.001708565279841423, 0.01711416244506836, 0.03123624064028263, -0.0194445438683033, -0.006830176338553429, -0.03618377447128296, 0.02340954728424549, -0.04879986494779587, 0.006406483240425587, 0.01150543987751007, 0.06091532111167908, 0.023742973804473877, -0.009509432129561901, 0.014880149625241756, -0.000137107286718674, 0.003077751025557518, 0.019265197217464447, 0.013344311155378819, 0.0011406649136915803, 0.0663408413529396, 0.005370298866182566, 0.01093134842813015, 0.004205330274999142, -0.05015116557478905, 0.0074182553216814995, 0.012222379446029663, -0.03953240066766739, 0.0009159927722066641, -0.004411215893924236, 0.010669977404177189, -0.0063241031020879745, -0.03146027401089668, 0.004993055481463671, 0.022321626543998718, -0.007854248397052288, -0.04539081081748009, -0.0010048706317320466, -0.02711915411055088, 0.010900980792939663, -0.07005634903907776, 0.021322349086403847, -0.12225617468357086, 0.01780020445585251, 0.029515599831938744, -0.019131062552332878, -0.11330661922693253, 0.03977294638752937, -0.0100712226703763, -0.025622796267271042, 0.011333585716784, 0.024942003190517426, 0.04314517602324486, -0.057816989719867706, 0.005424168426543474, -0.019246721640229225, -0.01915203407406807, 0.01485600695014, 0.028412455692887306, 0.054406050592660904, -0.009970799088478088, -0.05010542273521423, -0.0038381617050617933, 0.0323542058467865, -0.04764622822403908, -0.05875217169523239, -0.03370312228798866, -0.007635446731001139, -0.015490869991481304, 0.04333425313234329, -0.0011363155208528042, -0.0323413610458374, 0.019274214282631874, 0.04805624857544899, 0.035196591168642044, 0.019287308678030968, 0.013628019019961357, 0.020402519032359123, 0.015803223475813866, 0.03297038376331329, -0.001887318561784923, 0.015472901053726673, -0.039580222219228745, -0.04193216562271118, -0.05164829269051552, 0.014985661022365093, -0.019140148535370827, -0.05677847936749458, 0.011828533373773098, 0.04628441110253334, -0.00699806772172451, 0.0164655614644289, 0.04103128984570503, -0.026632849127054214, -0.022224396467208862, 0.005241455044597387, -0.020307376980781555, -0.03032846748828888, 0.05981452763080597, -0.0065926373936235905, -0.10026369988918304, -0.019949762150645256, -0.016104355454444885, 0.012765767984092236, 0.007950241677463055, -0.02147899754345417, -0.039524637162685394, -0.0014589227503165603, -0.0017445326084271073, 0.010775895789265633, -0.07234187424182892, 0.011110011488199234, -0.002410931047052145, 0.01396151538938284, 0.01573069393634796, 0.023737411946058273, 0.03412709757685661, 0.04165118932723999, 0.01032401341944933, 0.06788258254528046, -0.019913095980882645, 0.011201637797057629, 0.005087926052510738, 0.015240172855556011, -0.06937996298074722, -0.018343312665820122, 0.01835956610739231, 0.03933711349964142, -0.0003909986116923392, 0.018943950533866882, -0.033691637217998505, 0.010413032956421375, 0.011847540736198425, 0.029947949573397636, 0.0860985517501831, -0.004402225837111473, 0.01449500024318695, -0.03393132984638214, 0.03575193136930466, -0.03552575409412384, 0.07122155278921127, -0.011117513291537762, -0.0369374044239521, -0.006357643287628889, -0.020421676337718964, -0.0008964465814642608, 0.04044761136174202, -0.003923915792256594, 0.021616080775856972, -0.06790214031934738, 0.004310635384172201, 0.07840681821107864, 0.023402322083711624, -0.006929733790457249, 0.0279886145144701, 0.008134841918945312, 0.016947085037827492, 0.0019019563915207982, -0.05967441946268082, 0.013161592185497284, -0.018253309652209282, -0.054012399166822433, 0.012387431226670742, 0.026118943467736244, -0.04037965089082718, 0.014355351217091084, -0.018314043059945107, -0.026727519929409027, 0.054632894694805145, -0.03107093833386898, -0.023187540471553802, 0.014418386854231358, 0.06715875118970871, 0.01667589321732521, 0.03439788147807121, 0.019231142476201057, -0.07459251582622528, 0.017152464017271996, -0.007448348216712475, -0.010422596707940102, 0.024773716926574707, -0.008919546380639076, 0.08195403218269348, -0.0044579883106052876, 0.01197373028844595, 0.0177439134567976, -0.10333171486854553, 0.016438620164990425, 0.007390451151877642, 0.00802761409431696, 0.07698667794466019, 0.0006778165115974844, 0.027708927169442177, 0.09140119701623917, 0.030528195202350616, 0.03445719555020332, 0.06291233748197556, 0.0008442173711955547, 0.043779969215393066, -0.022870775312185287, -0.0385618582367897, -0.02390296757221222, 0.004590251483023167, -0.05581791326403618, -0.046093396842479706, 0.024747513234615326, -0.014974775724112988, 0.03261181712150574, -0.00446810619905591, 0.005573918577283621, -0.025998765602707863, 0.005689979996532202, 0.007753385696560144, -0.0013546828413382173, 0.007221288047730923, -0.02546665631234646, 0.08740966022014618, 0.02823997661471367, 0.004081165883690119, 0.0019122364465147257, -0.06118212640285492, 0.09893648326396942, 0.06444540619850159, -0.016649404540657997, -0.0052474550902843475, 0.03194340690970421, 0.03718266263604164, -0.00990647729486227, 0.009605204686522484, -0.03494652360677719, -0.007742865476757288, -0.031908996403217316, -0.007023942656815052, -0.016879472881555557, 0.034546419978141785, -0.03980528935790062, -0.029651110991835594, 0.05527156963944435, -0.02479396015405655, 0.044117532670497894, 0.01083284243941307, -0.0015957943396642804, 0.029781097546219826, -0.03799144923686981, -0.01881265453994274, -0.061922356486320496, -0.019089823588728905, 0.0049265241250395775, -0.007793821860104799, -0.033042848110198975, 0.030508683994412422, -0.019766755402088165, -0.03848884627223015, 0.008931641466915607, 0.056433819234371185, 0.0583588108420372, 0.018451688811182976, 0.030034290626645088, 0.009340319782495499, -0.041536346077919006, -0.0006256775814108551, -0.07451368123292923, -0.04696573689579964, -0.05948144942522049, 0.0219112541526556, 0.0036367885768413544, 0.02270357683300972, 0.0253486018627882, 0.023718969896435738, -0.026872552931308746, -0.03646138682961464, 0.005938172806054354, 0.013312120921909809, 0.0212797112762928, -0.014218233525753021, -0.019605087116360664, -0.022728824988007545, 0.03059881366789341, -0.016002031043171883, -0.032788485288619995, -0.05228733643889427, -0.04264695569872856, -0.042193640023469925, -0.05899583175778389, 0.01789562962949276, 0.009140572510659695, 0.0025977164041250944, 0.012821068987250328, -0.004498171154409647, 0.033207401633262634, 0.05683965981006622, 0.027305008843541145, 0.04598727449774742, -0.005236632656306028, -0.02534090168774128, 0.04410155117511749, -0.04638401418924332, -0.006830863654613495, 0.03323039785027504, 0.040535688400268555, -0.02309489995241165, -0.01341175939887762, 0.006424094550311565, -0.003975961823016405, -0.27770471572875977, -0.012809365056455135, 0.026575716212391853, -0.030338352546095848, 0.032820120453834534, -0.008310052566230297, 0.02771780453622341, -0.04038485512137413, -0.02511761151254177, 0.02854309417307377, 0.007691377308219671, 0.05280829221010208, 0.0035795734729617834, 0.03530823066830635, 0.02552686259150505, 0.06597667932510376, 0.0242758896201849, 0.004687846638262272, -0.005312272813171148, 0.05220545828342438, 0.02137560211122036, -0.06198979914188385, -0.028461936861276627, 0.05840468406677246, -0.014435249380767345, 0.0506708137691021, -0.08953416347503662, 0.0053095887415111065, -0.015822570770978928, -0.008343867026269436, 0.0003821821592282504, -0.027859028428792953, 0.01055811159312725, 0.027276750653982162, -0.012260382995009422, 0.014120209962129593, 0.07519973069429398, -0.0022008544765412807, 0.010384289547801018, 0.019690919667482376, 0.00007806401117704809, -0.020736588165163994, -0.017034480348229408, -0.004775779787451029, 0.05839326232671738, 0.01747022569179535, -0.07120287418365479, -0.004691736306995153, -0.00965913850814104, 0.02731168456375599, -0.03663453087210655, -0.055944621562957764, -0.01681872271001339, 0.022601738572120667, 0.013988851569592953, -0.04191594943404198, -0.0006331270560622215, -0.03067484125494957, -0.010067996568977833, -0.0196144487708807, 0.016183026134967804, -0.041994769126176834, -0.019142474979162216, -0.02198115549981594, -0.04392503574490547, -0.04584922268986702, -0.05762491375207901, -0.0258327629417181, 0.03705402836203575, 0.04025523364543915, -0.037903547286987305, 0.05381949618458748, -0.01154776755720377, -0.07854638993740082, -0.022889044135808945, -0.006428125314414501, -0.015730632469058037, 0.02368500456213951, -0.022148048505187035, 0.04201085865497589, -0.04828023910522461, -0.04804722219705582, -0.01973862200975418, 0.0294342003762722, 0.01856173574924469, -0.03511204943060875, -0.015111476182937622, -0.02543102577328682, -0.02071223594248295, -0.047611482441425323, 0.03340325504541397, -0.03234422579407692, 0.0061009288765490055, 0.02523639239370823, 0.05754762515425682, 0.012367145158350468, 0.026531612500548363, 0.043365392833948135, 0.06869200617074966, 0.02910103276371956, 0.03480546548962593, -0.03944838047027588, 0.0020090152975171804, -0.02126421220600605, -0.013325948268175125, 0.033525943756103516, -0.06513923406600952, 0.007519869599491358, 0.01074792817234993, -0.018803825601935387, -0.06396019458770752, -0.026507368311285973, -0.011538288556039333, -0.008968942798674107, -0.02719222381711006, -0.009035379625856876, 0.007878855802118778, 0.03982536122202873, 0.023975471034646034, -0.028002068400382996, -0.023188091814517975, 0.04490308091044426, -0.02318618632853031, -0.0013166675344109535, -0.01312535721808672, -0.005459186155349016, 0.021445011720061302, -0.02332586795091629, 0.0010151031892746687, 0.0011278103338554502, 0.018540162593126297, 0.008161724545061588, -0.02541658654808998, -0.0010635959915816784, 0.044122207909822464, -0.040966443717479706, 0.04878285899758339, -0.01849481649696827, 0.045220017433166504, 0.014400413259863853, -0.006962487008422613, -0.012414798140525818, 0.002178675727918744, 0.05227724835276604, 0.03063831850886345, -0.00411398708820343, 0.019832823425531387, 0.010520752519369125, 0.022565217688679695, 0.005796697922050953, 0.002097153104841709, -0.059647832065820694, -0.0056235333904623985, -0.03832234442234039, 0.03439144045114517, -0.013931642286479473, 0.03200172632932663, -0.01605144888162613, -0.00831473246216774, -0.05690206587314606, 0.06385558843612671, -0.008910851553082466, -0.004109074827283621, -0.00994229968637228, 0.04110855609178543, 0.023075982928276062, 0.002958915429189801, 0.03387358784675598, 0.05412224680185318, -0.00256118131801486, 0.001644592615775764, -0.027438702061772346, -0.01135938335210085, -0.010134590789675713, -0.02783093973994255, 0.0035298271104693413, 0.009222524240612984, 0.04051898419857025, -0.03142491728067398, 0.054277218878269196, 0.028560837730765343, -0.009633071720600128, -0.018325256183743477, 0.04172532632946968, 0.081845223903656, 0.0007779368897899985, 0.015076440759003162, 0.00041097289067693055, -0.0467076301574707, -0.009539149701595306, -0.01447862759232521, -0.003236636519432068, -0.03138582780957222, -0.047538455575704575, -0.02427925355732441, -0.06846042722463608, 0.014263777993619442, -0.00486005749553442, -0.011015882715582848, 0.005585852544754744, -0.01448512077331543, -0.004168527666479349, -0.06271551549434662, -0.03043062798678875, 0.021608896553516388, -0.07419079542160034, -0.008211949840188026, -0.005462642293423414, -0.007967811077833176, 0.010297790169715881, -0.025136632844805717, -0.05670946091413498, -0.04023974388837814, 0.001762285246513784, 0.056503329426050186, -0.01265048049390316, -0.016265500336885452, -0.01362549141049385, -0.009889698587357998, -0.015252567827701569, 0.0427825041115284, -0.006620846688747406, 0.01670457050204277, -0.008501549251377583, 0.01816180907189846, 0.06723415106534958, -0.01472291350364685, -0.017880871891975403, -0.023274533450603485, -0.05530021712183952, 0.034465644508600235, -0.027090853080153465, 0.05005311593413353, 0.0653434470295906, -0.008028106763958931, 0.01130004320293665, -0.048982858657836914, 0.02537294290959835, 0.014174317941069603, 0.01921294815838337, -0.0006065552006475627, -0.014527486637234688, -0.004841676447540522, 0.02636423520743847, 0.002940902253612876, 0.02369268797338009, 0.001198840094730258, 0.0019290236523374915, 0.007587916683405638, 0.0327644906938076, 0.019882116466760635, 0.029838332906365395, -0.04392951354384422, -0.025801004841923714, 0.05891180410981178, -0.042702943086624146, -0.03192712366580963, -0.0895318016409874, -0.07536031305789948, 0.03882550820708275, 0.01807408779859543, 0.021157914772629738, -0.06293535232543945, 0.05351010337471962, 0.02861127257347107, 0.0605861097574234, -0.007508539129048586, -0.01012851670384407, 0.03684686869382858, -0.04271018132567406, -0.0060126567259430885, -0.06756383925676346, -0.04427405074238777, 0.08017461746931076, -0.005842127371579409, 0.028581157326698303, -0.020360374823212624, -0.03373390808701515, 0.006112435832619667, -0.014991645701229572, -0.04473530501127243, -0.02008826844394207, -0.025274423882365227, -0.01865057460963726, 0.053450219333171844, -0.04220496118068695, -0.009592506103217602, -0.01222870871424675, -0.030636105686426163, -0.010926511138677597, -0.01203775405883789, 0.06025056540966034, -0.034881919622421265, 0.03999059274792671, -0.04257768765091896, -0.006872991099953651, -0.01099475473165512, 0.06421497464179993, -0.017068957909941673, 0.05143530294299126, -0.006840397138148546, 0.03337952867150307, 0.03224877268075943, -0.017385389655828476, 0.02041793428361416, -0.00885856058448553, -0.01022457703948021, -0.03540355712175369, 0.05635710433125496, -0.012666907161474228, -0.000058337707741884515, -0.04949243366718292, 0.10127709060907364, 0.035058096051216125, -0.06014266237616539, -0.02271271124482155, 0.023136548697948456, -0.042527053505182266, -0.0017091510817408562, -0.036537375301122665, 0.004008997697383165, -0.026255471631884575, 0.06091178208589554, 0.03829913213849068, 0.04669978469610214, 0.048978935927152634, -0.004853105638176203, -0.02559507079422474, -0.015263626351952553, 0.06026313826441765, 0.0642155185341835, 0.0754421055316925, -0.029186801984906197, 0.05289321020245552, -0.01569245383143425, -0.05200064182281494, 0.003961647395044565, 0.005647127982228994, 0.004751408472657204, -0.037958160042762756, -0.0023726527579128742, 0.06763165444135666, -0.011913172900676727, 0.07013509422540665, -0.036243878304958344, 0.0032657410483807325, 0.048369742929935455, -0.013793382793664932, 0.005396696738898754, 0.05629701539874077, 0.03353479132056236, 0.040943749248981476, -0.07196059077978134, -0.01673867739737034, -0.007179007865488529, -0.019504588097333908, 0.0022442396730184555, 0.008473544381558895, 0.000931864429730922, -0.020131448283791542, -0.04109957441687584, 0.030708136036992073, 0.12505587935447693, -0.03077572025358677, -0.03356494382023811, 0.0026049369480460882, 0.01600552909076214, 0.013430413790047169, 0.031699858605861664, -0.0004632301570381969, -0.00909294281154871, -0.002116153482347727, -0.046035975217819214, -0.0011470067547634244, 0.03564843907952309, -0.020852956920862198, 0.018486058339476585, -0.009565980173647404, -0.03147731348872185, 0.021958401426672935, 0.05810011550784111, -0.04974165931344032, -0.03810176998376846, -0.038062430918216705, -0.03154163435101509, -0.02246958017349243, -0.038000963628292084, 0.04669663682579994, 0.023834552615880966, 0.0010585824493318796, -0.004851612728089094, -0.06122585013508797, -0.01079200766980648, 0.02094324678182602, -0.043367352336645126, 0.04006915166974068, 0.0327187106013298, -0.004227500408887863, -0.04256395250558853, 0.03928321599960327, 0.00232524867169559, -0.016733603551983833, 0.001847195322625339, 0.05776641145348549, 0.026531295850872993, 0.025253131985664368, -0.0032918096985667944, -0.042669426649808884, -0.09005431830883026, 0.009204269386827946, -0.0006160035845823586, -0.05453885719180107, -0.08051419258117676, 0.016638491302728653, 0.0010442135389894247, 0.01772226206958294, 0.03665507957339287, 0.002874736674129963, 0.035009436309337616, -0.029480844736099243, 0.003148338757455349, 0.02317674830555916, 0.01995101198554039, 0.053019776940345764, -0.0022111772559583187, 0.0617058165371418, 0.021807093173265457, 0.022687241435050964, -0.02531840279698372, -0.013191087171435356, -0.005318989045917988, -0.029032902792096138, -0.027258433401584625, -0.026059996336698532, -0.043462447822093964, -0.08477193117141724, -0.04615551605820656, 0.03274896740913391, -0.007198285777121782, -0.014841574244201183, 0.011133336462080479, -0.024415073916316032, 0.0003449977084528655, -0.03061664290726185, -0.013714351691305637, -0.004224991891533136, -0.011838078498840332, -0.03126175329089165, -0.06805070489645004, -0.007942849770188332, -0.029437927529215813, -0.005729787051677704, -0.02221507951617241, -0.019678698852658272, 0.01714959368109703, -0.016698790714144707, 0.05676828324794769, 0.0018626615637913346, 0.024606816470623016, -0.03958892822265625 ]
395
Inspection and Control of Self-Generated-Text Recognition Ability in Llama3-8b-Instruct
https://openreview.net/forum?id=wWnsoLhHwt
[ "Christopher Ackerman", "Nina Panickssery" ]
Poster
It has been reported that LLMs can recognize their own writing. As this has potential implications for AI safety, yet is relatively understudied, we investigate the phenomenon, seeking to establish: whether it robustly occurs at the behavioral level, how the observed behavior is achieved, and whether it can be controlled. First, we find that the Llama3-8b–Instruct chat model - but not the base Llama3-8b model - can reliably distinguish its own outputs from those of humans, and present evidence that the chat model is likely using its experience with its own outputs, acquired during post-training, to succeed at the writing recognition task. Second, we identify a vector in the residual stream of the model that is differentially activated when the model makes a correct self-written-text recognition judgment, show that the vector activates in response to information relevant to self-authorship, present evidence that the vector is related to the concept of ``self'' in the model, and demonstrate that the vector is causally related to the model’s ability to perceive and assert self-authorship. Finally, we show that the vector can be used to control both the model’s behavior and its perception, steering the model to claim or disclaim authorship by applying the vector to the model’s output as it generates it, and steering the model to believe or disbelieve it wrote arbitrary texts by applying the vector to them as the model reads them.
LLM, Interpretability, AI, Activation Steering, Representation Engineering, Control
null
13,146
2410.02064
[ -0.022211145609617233, 0.0008336296305060387, -0.01877513900399208, 0.02699396014213562, 0.06561433523893356, -0.03136816993355751, 0.035292964428663254, 0.03305240720510483, -0.030266527086496353, -0.0012212133733555675, -0.02564902789890766, 0.06625901907682419, -0.03883478045463562, -0.01113248709589243, 0.003088203025981784, 0.05889100953936577, 0.029931383207440376, 0.00771303242072463, 0.018326900899410248, -0.0015027628978714347, -0.005499956663697958, -0.00533345015719533, 0.01895102672278881, 0.016821252182126045, 0.02473462000489235, 0.004819250199943781, 0.015292448922991753, -0.00037017089198343456, -0.01987895742058754, 0.014526711776852608, 0.04789135977625847, -0.02716178074479103, 0.008579901419579983, -0.031420208513736725, 0.019108349457383156, 0.0010674494551494718, -0.06958645582199097, 0.0016188484150916338, -0.010137585923075676, 0.016772080212831497, -0.0321357399225235, 0.02382589876651764, -0.033965613692998886, -0.015079349279403687, -0.08207911252975464, 0.003606912912800908, -0.12579725682735443, 0.01086374931037426, 0.034448977559804916, 0.002779398811981082, -0.12803532183170319, 0.04723796993494034, -0.019394434988498688, -0.006810896564275026, 0.03746385872364044, 0.03456432744860649, 0.017785901203751564, -0.0903952419757843, -0.009845004417002201, -0.025985997170209885, -0.012160173617303371, -0.014370751567184925, -0.010638241656124592, -0.007232150994241238, -0.03781053423881531, -0.028197679668664932, 0.030367720872163773, 0.0010813575936481357, -0.06812424957752228, -0.025347178801894188, -0.030945859849452972, 0.030237974599003792, -0.027754420414566994, -0.01148836500942707, -0.002723141573369503, -0.08529190719127655, 0.018024295568466187, 0.0426340252161026, 0.055724676698446274, 0.00034148397389799356, 0.014835772104561329, 0.03592062368988991, 0.008525986224412918, 0.044247228652238846, -0.0063554816879332066, 0.0007755637052468956, -0.012317784130573273, -0.02929934859275818, -0.04664160683751106, 0.006124325096607208, -0.02330419234931469, -0.05480882152915001, 0.012421331368386745, 0.048155881464481354, 0.023196114227175713, 0.01060881745070219, 0.024742454290390015, 0.033383920788764954, -0.013746993616223335, 0.008897277526557446, -0.011697028763592243, -0.03556031733751297, 0.011208507232367992, 0.03296450898051262, -0.09537452459335327, -0.021279234439134598, -0.008275718428194523, -0.022371022030711174, -0.009669691324234009, 0.003964842762798071, -0.01829700544476509, -0.04615526646375656, 0.018390681594610214, 0.0002856313658412546, -0.08111680299043655, 0.024827582761645317, 0.003755443962290883, 0.04815089330077171, 0.01165736373513937, 0.0331893265247345, 0.04795752465724945, 0.04434094950556755, -0.007223464548587799, 0.05757063254714012, -0.01281782053411007, -0.007723117247223854, 0.013433746062219143, 0.046177301555871964, 0.004780384711921215, -0.0367576964199543, 0.0023995726369321346, 0.053362779319286346, 0.01272161491215229, 0.04220356047153473, 0.006562080699950457, 0.009342165663838387, 0.004928250797092915, 0.008604027330875397, 0.03403215482831001, 0.04175916314125061, 0.0008104940643534064, -0.002317422768101096, 0.04850190877914429, -0.011670159175992012, 0.09415692090988159, 0.002533406252041459, -0.018090231344103813, 0.004967541433870792, -0.050558459013700485, -0.021165521815419197, 0.02621493861079216, -0.044997554272413254, 0.0029025841504335403, -0.06267416477203369, 0.022450048476457596, 0.04209582880139351, 0.030161187052726746, 0.028139641508460045, 0.0017870094161480665, -0.00827552005648613, -0.0034428369253873825, 0.015958638861775398, -0.03551048785448074, 0.01949559710919857, -0.03204807639122009, -0.030685892328619957, 0.010921226814389229, 0.00023295868595596403, -0.029609689489006996, 0.015587086789309978, -0.0338774099946022, -0.04090037941932678, 0.046233437955379486, -0.009178844280540943, -0.03739340603351593, -0.016659166663885117, 0.03228563442826271, -0.0008277152664959431, 0.031876157969236374, 0.03811337426304817, -0.07172920554876328, 0.03575434163212776, -0.002132764318957925, 0.009254525415599346, 0.019302183762192726, -0.01825912855565548, 0.08153919130563736, -0.03140467405319214, -0.015036951750516891, -0.010961676947772503, -0.06901761889457703, 0.0037557785399258137, 0.02183019369840622, 0.012154408730566502, 0.06466216593980789, -0.008662890642881393, -0.004292930010706186, 0.0461064912378788, 0.03571968153119087, 0.06785383075475693, 0.05548045039176941, -0.02466975525021553, 0.06367899477481842, -0.009807843714952469, -0.030708450824022293, -0.01665092259645462, 0.02791726402938366, -0.04545251280069351, -0.01735345833003521, 0.009821023792028427, -0.036190226674079895, 0.016282135620713234, 0.022236105054616928, 0.02287295088171959, 0.0013641681289300323, 0.012299574911594391, -0.0028965878300368786, 0.00008968507609097287, 0.01637202687561512, -0.06720585376024246, 0.035022538155317307, 0.026132050901651382, -0.012083974666893482, -0.012033291161060333, -0.0180263239890337, 0.11358314007520676, 0.055641137063503265, -0.06621173024177551, -0.012820188887417316, -0.0023231259547173977, -0.009846408851444721, 0.0014071083860471845, 0.020132098346948624, 0.007444063201546669, -0.012082037515938282, -0.02157568372786045, 0.006929910741746426, -0.036526601761579514, 0.05235891044139862, -0.014249776490032673, -0.01778395287692547, 0.07907019555568695, -0.03291039913892746, 0.05580439046025276, -0.02945186011493206, 0.030072713270783424, 0.031775716692209244, -0.014652151614427567, -0.014149004593491554, -0.009610408917069435, -0.021550606936216354, -0.00044638701365329325, -0.011283333413302898, -0.034056056290864944, 0.018973246216773987, -0.05173705145716667, -0.04714292660355568, -0.03214334324002266, 0.07413465529680252, 0.03625323623418808, -0.005306979641318321, 0.043413080275058746, -0.0010510123101994395, -0.00296603562310338, 0.008337745442986488, -0.09114640951156616, -0.011289226822555065, 0.0140690878033638, 0.0003187841211911291, 0.00944566074758768, 0.044451043009757996, -0.012189913541078568, 0.023624196648597717, -0.024324318394064903, 0.016547791659832, 0.032657139003276825, 0.023392627015709877, -0.01912732422351837, -0.023634251207113266, -0.013057566247880459, -0.028616411611437798, 0.06504403799772263, -0.013937631621956825, -0.027146389707922935, -0.030877510085701942, -0.05111423134803772, -0.01941499672830105, -0.029047489166259766, -0.035687051713466644, -0.01927322894334793, -0.025520645081996918, 0.021869273856282234, 0.008201539516448975, 0.05468619242310524, 0.008903931826353073, 0.06760191172361374, 0.034458305686712265, 0.0007676383247599006, -0.017032425850629807, 0.0386468879878521, -0.011721287854015827, 0.018942534923553467, 0.02118200808763504, 0.0119761498644948, 0.00466469582170248, -0.003333033062517643, 0.008966335095465183, -0.002303631976246834, -0.29666852951049805, -0.006704291328787804, 0.021649260073900223, -0.04186872020363808, 0.028459910303354263, -0.004515327047556639, 0.05644797906279564, -0.014891651459038258, -0.018338985741138458, 0.020954757928848267, -0.0025288392789661884, 0.047796644270420074, 0.02023981884121895, 0.03680283576250076, 0.03249990567564964, 0.021115900948643684, -0.02837919071316719, -0.04825148731470108, 0.0045097521506249905, 0.040475524961948395, -0.009080340154469013, -0.04628187045454979, -0.057895757257938385, 0.05077560245990753, -0.0022813654504716396, 0.08160964399576187, -0.06632881611585617, -0.0011598924174904823, -0.01369168609380722, 0.026505708694458008, -0.03536789491772652, -0.004151047673076391, -0.009868293069303036, 0.048655226826667786, -0.005775243043899536, -0.003313404740765691, 0.043683119118213654, -0.014252838678658009, 0.015633538365364075, 0.012921508401632309, 0.03787095099687576, -0.032591063529253006, 0.0036906457971781492, -0.0013414043933153152, 0.06267271935939789, 0.0220639668405056, -0.05342430993914604, -0.024368809536099434, 0.022222526371479034, 0.026641126722097397, -0.03200124204158783, -0.04227358102798462, -0.029343919828534126, 0.0075010089203715324, -0.0019860786851495504, -0.021443547680974007, -0.006220537703484297, -0.012544655241072178, -0.03970455378293991, 0.008492358028888702, -0.025160521268844604, -0.01681174896657467, -0.05055273696780205, -0.04479784518480301, -0.00971626490354538, -0.03327009454369545, -0.03597506508231163, -0.057931579649448395, 0.06234800070524216, 0.030894652009010315, -0.005812262184917927, 0.02744889445602894, -0.05128060653805733, -0.09086363762617111, 0.025102974846959114, -0.015981055796146393, -0.02295299991965294, -0.01727912947535515, -0.02291911654174328, 0.02528349868953228, -0.041418954730033875, -0.04691551998257637, -0.008084678091108799, -0.019908122718334198, 0.014298781752586365, -0.0064391945488750935, 0.008485392667353153, -0.003217471530660987, -0.006689324043691158, -0.037382010370492935, 0.06240450218319893, 0.028422461822628975, -0.01599184237420559, 0.005051355343312025, 0.06553207337856293, 0.037071410566568375, 0.045695893466472626, 0.03158876672387123, 0.053634751588106155, 0.013902366161346436, 0.044216547161340714, -0.08122289925813675, 0.002780251670628786, -0.027131782844662666, -0.02099427580833435, 0.030126484110951424, -0.04972359165549278, -0.035804253071546555, 0.052709441632032394, -0.006752266548573971, -0.030271193012595177, -0.024187030270695686, 0.010139195248484612, -0.012556212022900581, -0.005882071331143379, -0.02413824200630188, 0.030100833624601364, 0.0023820661008358, 0.020685527473688126, -0.04873913526535034, -0.03711174800992012, 0.02947067655622959, -0.012482281774282455, 0.00020358093024697155, -0.009800195693969727, -0.0219844002276659, -0.0013651950284838676, -0.006445796228945255, -0.009290610440075397, -0.011435321532189846, 0.018957264721393585, 0.004492352716624737, 0.017793772742152214, 0.020535599440336227, 0.05556866526603699, -0.010580284520983696, -0.007432561833411455, 0.005611915607005358, 0.017481589689850807, -0.034564632922410965, -0.006301425397396088, -0.03622814267873764, 0.045823272317647934, 0.02689996175467968, 0.0353897400200367, -0.026448503136634827, -0.00033965386683121324, -0.02749697118997574, -0.04034629091620445, -0.01546922791749239, 0.07017029821872711, -0.05311857536435127, -0.030105996876955032, -0.01779050938785076, 0.008744960650801659, -0.016605254262685776, 0.005264336243271828, 0.017413992434740067, 0.020730474963784218, -0.04621473699808121, 0.048771221190690994, 0.018288390710949898, 0.002361751627177, 0.005457001738250256, 0.03133726119995117, 0.04276077821850777, -0.029133357107639313, 0.005050249397754669, 0.055144742131233215, 0.03924189880490303, 0.003266557352617383, -0.03391777351498604, -0.027021735906600952, -0.01999529078602791, -0.01764042302966118, 0.021634085103869438, 0.022707264870405197, -0.034588493406772614, -0.02253822237253189, 0.03901328146457672, 0.0023242186289280653, -0.05158747360110283, 0.006009587086737156, 0.00039807800203561783, 0.09289661794900894, 0.030096663162112236, 0.021860763430595398, -0.018457943573594093, -0.04510730132460594, 0.023844726383686066, -0.024061916396021843, -0.0005713492282666266, -0.03279457986354828, -0.02812275104224682, -0.05881297588348389, -0.04715941846370697, -0.006792347878217697, -0.005007009953260422, 0.035926513373851776, -0.02068413607776165, -0.016557659953832626, 0.0006808458128944039, -0.047134626656770706, -0.0518752783536911, 0.010677664540708065, -0.08537493646144867, 0.003719875356182456, 0.005369368940591812, -0.02970295026898384, 0.04121691361069679, -0.050934214144945145, -0.029674341902136803, -0.02935131825506687, -0.017366603016853333, 0.03307022154331207, -0.015305154025554657, -0.05432546138763428, -0.04645724222064018, -0.027369456365704536, 0.006817599292844534, 0.0022254055365920067, -0.005359793081879616, -0.02105489932000637, -0.00007275310053955764, -0.014977890066802502, 0.02471509575843811, -0.007345238234847784, -0.028447482734918594, 0.035039596259593964, -0.04590767249464989, 0.043717604130506516, -0.032988548278808594, 0.01350940577685833, 0.04095710068941116, -0.025118833407759666, -0.02586517296731472, -0.03569858893752098, 0.033432137221097946, 0.0067587727680802345, -0.0022584490943700075, 0.020920757204294205, -0.017750725150108337, -0.02643958106637001, 0.015822475776076317, 0.027248086407780647, 0.038642145693302155, -0.01471682358533144, 0.01627586968243122, -0.003287598490715027, 0.040204040706157684, 0.017500681802630424, 0.00544818164780736, -0.019635027274489403, -0.004775491077452898, 0.05185924097895622, -0.00994941033422947, -0.011493459343910217, -0.03413184732198715, -0.034690432250499725, 0.015252399258315563, 0.0020803650841116905, 0.0227699913084507, -0.05962858721613884, 0.045357007533311844, 0.02498554438352585, 0.028841789811849594, -0.00037793457158841193, 0.007857821881771088, 0.05048166960477829, -0.04895426332950592, 0.008961313404142857, -0.05303267762064934, -0.02409781888127327, 0.05629265680909157, -0.06324061006307602, 0.010083786211907864, -0.003486924571916461, -0.022928250953555107, 0.0550776943564415, -0.012362140230834484, -0.032449040561914444, 0.02195580117404461, -0.00751110352575779, -0.020687071606516838, 0.023170066997408867, -0.05308663845062256, 0.013203473761677742, -0.040779486298561096, -0.04234490916132927, -0.004405401647090912, 0.0027768509462475777, 0.06095333769917488, -0.012300172820687294, 0.01162544172257185, -0.0017108275787904859, -0.011630288325250149, 0.011128370650112629, 0.06296306848526001, 0.004223147872835398, 0.02102569118142128, -0.026938986033201218, 0.09340113401412964, 0.0333169586956501, 0.04280936345458031, 0.019597411155700684, -0.000028769956770702265, -0.03307999297976494, -0.05302056670188904, 0.03654550760984421, -0.010479435324668884, -0.03169163689017296, -0.0363878533244133, 0.07143072783946991, 0.03774335980415344, -0.036838844418525696, -0.04334092140197754, 0.036304835230112076, -0.034970756620168686, -0.02767445705831051, -0.0022089756093919277, 0.014167473651468754, -0.006686489563435316, 0.05865132063627243, 0.011331169866025448, 0.0459103137254715, 0.05555228143930435, -0.0324622243642807, 0.003513153176754713, 0.03740311041474342, 0.06587795168161392, 0.06648395210504532, 0.05914294347167015, 0.021062491461634636, 0.06996382772922516, -0.029926782473921776, -0.05499602481722832, 0.02992060035467148, 0.03252849355340004, 0.005399154964834452, -0.0110803646966815, 0.026313714683055878, 0.06420376896858215, -0.02330176904797554, 0.05190945044159889, -0.05678365379571915, -0.012363878078758717, 0.05224141851067543, 0.03520826995372772, -0.02348407730460167, 0.0021332665346562862, 0.041886381804943085, -0.014918433502316475, -0.04028598219156265, -0.027865344658493996, -0.010571768507361412, -0.058718159794807434, -0.008650681935250759, 0.00845172069966793, -0.024543508887290955, 0.02073276787996292, -0.053587183356285095, 0.09417220950126648, 0.10944782942533493, -0.01625983417034149, -0.0009812701027840376, 0.009032348170876503, 0.01949126459658146, 0.033138714730739594, 0.06834229081869125, -0.018076756969094276, 0.003431407967582345, -0.00277055730111897, -0.02589990943670273, 0.036270271986722946, 0.02000868134200573, 0.007131068967282772, 0.0362040139734745, -0.006808276288211346, -0.04590858519077301, 0.018425285816192627, 0.024073204025626183, -0.05066246539354324, -0.03162344917654991, -0.017781170085072517, -0.037773240357637405, -0.036548543721437454, -0.0203942209482193, 0.04616197198629379, 0.004087872803211212, -0.04621599242091179, 0.006428783759474754, -0.018368523567914963, 0.02003108151257038, 0.025436222553253174, -0.07470877468585968, 0.008127926848828793, 0.02667142078280449, 0.010232668370008469, -0.01803068444132805, 0.05119462311267853, 0.02191147767007351, -0.007316793780773878, -0.01653028465807438, 0.004703687969595194, -0.015858924016356468, 0.02661663293838501, 0.007676252163946629, -0.03227725997567177, -0.10081332921981812, -0.01966332085430622, 0.024611471220850945, -0.041786499321460724, -0.07564658671617508, 0.03123362362384796, -0.034676071256399155, 0.034564800560474396, 0.07040882855653763, 0.008432116359472275, 0.005427067168056965, -0.006440047174692154, -0.017250649631023407, -0.009831171482801437, 0.04089595749974251, 0.08222126215696335, 0.005474457982927561, 0.0734277293086052, 0.037144653499126434, -0.03156431391835213, -0.03058118000626564, 0.00572319608181715, -0.0006263784016482532, -0.01441702339798212, -0.02108418010175228, -0.028520645573735237, -0.009025117382407188, -0.09915971755981445, -0.00601992616429925, 0.03611758351325989, 0.003362056100741029, -0.05101999267935753, 0.005292169284075499, -0.03509341925382614, 0.00911468081176281, -0.01579400897026062, -0.014066698029637337, -0.017601214349269867, -0.03541284054517746, -0.054796066135168076, -0.058231696486473083, -0.008350390940904617, -0.013752453029155731, 0.010775579139590263, -0.03463675454258919, -0.04781433939933777, 0.003834781004115939, 0.0191075149923563, 0.01019496563822031, -0.02390659600496292, 0.005888151936233044, -0.02162032201886177 ]
396
Towards Learning High-Precision Least Squares Algorithms with Sequence Models
https://openreview.net/forum?id=snocoXIQXz
[ "Jerry Weihong Liu", "Jessica Grogan", "Owen M Dugan", "Ashish Rao", "Simran Arora", "Atri Rudra", "Christopher Re" ]
Poster
This paper investigates whether sequence models can learn to perform numerical algorithms, e.g. gradient descent, on the fundamental problem of least squares. Our goal is to inherit two properties of standard algorithms from numerical analysis: (1) machine precision, i.e. we want to obtain solutions that are accurate to near floating point error, and (2) numerical generality, i.e. we want them to apply broadly across problem instances. We find that prior approaches using Transformers fail to meet these criteria, and identify limitations present in existing architectures and training procedures. First, we show that softmax Transformers struggle to perform high-precision multiplications, which prevents them from precisely learning numerical algorithms. Second, we identify an alternate class of architectures, comprised entirely of polynomials, that can efficiently represent high-precision gradient descent iterates. Finally, we investigate precision bottlenecks during training and address them via a high-precision training recipe that reduces stochastic gradient noise. Our recipe enables us to train two polynomial architectures, gated convolutions and linear attention, to perform gradient descent iterates on least squares problems. For the first time, we demonstrate the ability to train to near machine precision. Applied iteratively, our models obtain $100,000\times$ lower MSE than standard Transformers trained end-to-end and they incur a $10,000\times$ smaller generalization gap on out-of-distribution problems. We make progress towards end-to-end learning of numerical algorithms for least squares.
high precision, least squares, algorithm learning, Transformers, gated convolutions, linear regression, in-context learning
This work uncovers limitations of Transformers for high-precision numerical tasks, and makes progress towards training gated convolutional models to machine precision as an alternative.
13,145
2503.12295
[ -0.028269384056329727, -0.010221931152045727, -0.003761169034987688, 0.030111366882920265, 0.03511389344930649, 0.032621532678604126, 0.016033153980970383, 0.008142584934830666, -0.018623661249876022, -0.0034993612207472324, -0.013368544168770313, 0.024295661598443985, -0.05907832831144333, 0.012989879585802555, -0.021555589511990547, 0.05759122967720032, 0.03287116438150406, -0.011423267424106598, 0.000020906196368741803, 0.03220205381512642, -0.0102061927318573, -0.028607042506337166, 0.032952480018138885, 0.003922902047634125, 0.006486113183200359, 0.0029602013528347015, -0.0023618212435394526, 0.003238462843000889, -0.05149592086672783, -0.01910870335996151, 0.02494962140917778, -0.02238570712506771, 0.00419658562168479, -0.02462165616452694, 0.03093835338950157, 0.025427555665373802, -0.04523035138845444, 0.018658122047781944, 0.004143238998949528, 0.01879390887916088, -0.017672786489129066, -0.027510542422533035, -0.02822873182594776, 0.02589084953069687, -0.07624493539333344, 0.010192709043622017, -0.10738835483789444, 0.0031567334663122892, -0.01217582542449236, -0.044690899550914764, -0.10270626842975616, 0.07283173501491547, 0.04059668257832527, -0.025482919067144394, 0.017493927851319313, 0.03787994757294655, 0.02836737036705017, -0.06834520399570465, -0.013483710587024689, -0.03782226890325546, -0.01764753647148609, 0.013392261229455471, 0.00907402765005827, -0.02565857023000717, 0.014730546623468399, -0.031871043145656586, 0.0022635050117969513, 0.0365811251103878, -0.054932158440351486, -0.03136212006211281, -0.020145751535892487, 0.01735617034137249, 0.00429246760904789, 0.01468160841614008, -0.004442780278623104, -0.031781312078237534, 0.01016192976385355, 0.028095006942749023, 0.07775327563285828, 0.012608879245817661, -0.014033883810043335, 0.005727170035243034, 0.03475750610232353, 0.03481149300932884, -0.0002517013344913721, 0.029978560283780098, -0.016859067603945732, -0.03142896294593811, -0.07420989125967026, 0.03868237882852554, -0.013127447105944157, -0.07634662091732025, 0.01196860522031784, 0.01648048497736454, 0.004509820602834225, 0.022775888442993164, 0.01297912746667862, 0.036668457090854645, 0.013215606100857258, 0.022148532792925835, -0.03636539354920387, -0.04644913971424103, 0.04780424013733864, -0.00800922978669405, -0.0999867171049118, -0.02889362722635269, 0.0015404870500788093, 0.002544780494645238, 0.03313225135207176, 0.006291581783443689, -0.0350041426718235, 0.006305645685642958, 0.003270829562097788, -0.0386163592338562, -0.0869235098361969, 0.02517862059175968, -0.014758151955902576, 0.006951373070478439, -0.028138170018792152, -0.0292985737323761, 0.06777618080377579, 0.03038598783314228, -0.0007894961163401604, 0.0838177427649498, -0.017349105328321457, 0.0183123666793108, 0.02521846815943718, 0.055103790014982224, -0.02970604971051216, -0.04383613169193268, -0.013642392121255398, 0.0326199047267437, -0.011510034091770649, 0.0319804884493351, -0.008729346096515656, 0.010597605258226395, -0.045107848942279816, 0.007043611258268356, 0.040554873645305634, 0.007921825163066387, 0.028429634869098663, -0.0021110246889293194, 0.0645880401134491, -0.04448620229959488, 0.05644289776682854, -0.029082395136356354, -0.01563710905611515, -0.01861233077943325, -0.033481255173683167, -0.02932247705757618, 0.013260181993246078, -0.008919959887862206, -0.020818013697862625, -0.11426432430744171, 0.03332919627428055, 0.04855293780565262, 0.009981727227568626, 0.04682593047618866, -0.018055126070976257, 0.015531839802861214, 0.009468849748373032, -0.016368910670280457, -0.03104759007692337, 0.002476524328812957, -0.027567772194743156, -0.0826760083436966, 0.06562057137489319, 0.053428009152412415, -0.036308251321315765, 0.004761276766657829, -0.019230758771300316, -0.04227832332253456, 0.04993945732712746, -0.010582256130874157, -0.012539826333522797, -0.008044817484915257, 0.04231317341327667, 0.0016902502393350005, 0.07189561426639557, 0.027709651738405228, -0.09563209116458893, 0.04202261194586754, 0.02542961947619915, -0.005270966794341803, 0.008500994183123112, -0.040007513016462326, 0.09038932621479034, -0.026331068947911263, 0.0053686778992414474, 0.00759849464520812, -0.07922177016735077, -0.023676635697484016, -0.01901688426733017, -0.03424135223031044, 0.054611749947071075, 0.019316086545586586, -0.008686810731887817, -0.037097953259944916, 0.01088231336325407, 0.03673579916357994, 0.05172751843929291, -0.02579624392092228, 0.06069357320666313, 0.008402887731790543, -0.05124960094690323, 0.003454764373600483, 0.02314181439578533, -0.05285286903381348, -0.0228872187435627, 0.008215404115617275, -0.01549626886844635, -0.007799383718520403, 0.024768942967057228, -0.016075752675533295, -0.008291478268802166, -0.005577209871262312, -0.024352965876460075, -0.010847275145351887, 0.0412856824696064, -0.06343182176351547, 0.001959489192813635, 0.027143025770783424, -0.009487412869930267, 0.01623936928808689, -0.04145580902695656, 0.09166017919778824, 0.06549518555402756, -0.028749944642186165, -0.017219899222254753, 0.016734249889850616, 0.03159444406628609, -0.014169489033520222, -0.0029006025288254023, -0.032737091183662415, 0.019422493875026703, 0.0020987209863960743, 0.000244349503191188, -0.044261664152145386, 0.05880181863903999, -0.03717299550771713, -0.007435995154082775, 0.07648471742868423, -0.0341373085975647, 0.0625542551279068, 0.010232080705463886, 0.0027311600279062986, -0.002776278415694833, -0.013854057528078556, -0.028659585863351822, -0.028006507083773613, -0.04001406580209732, -0.0022255750373005867, -0.006105301436036825, -0.002589890966191888, -0.022574886679649353, -0.01732465624809265, -0.06904773414134979, -0.004820894915610552, 0.08707094937562943, 0.042763400822877884, 0.015830742195248604, -0.008247245103120804, 0.03466131165623665, -0.027450069785118103, -0.011839628219604492, -0.09641050547361374, -0.044114675372838974, -0.04215840995311737, 0.05055943876504898, 0.005861995276063681, 0.04321373254060745, 0.01911848597228527, 0.02710156887769699, -0.006946526002138853, -0.031111203134059906, -0.023385467007756233, 0.05400910973548889, 0.011632423847913742, -0.05792246758937836, -0.03506268560886383, 0.012265635654330254, 0.07475855201482773, -0.03434590995311737, -0.03489561751484871, -0.04401267692446709, -0.039245761930942535, -0.011961299926042557, -0.033018290996551514, -0.0006623970111832023, -0.00040569150587543845, -0.0188741497695446, 0.03849554434418678, -0.04390101507306099, 0.016573181375861168, 0.04417886584997177, 0.07460751384496689, 0.05845068022608757, 0.004451753571629524, -0.00021566821669694036, 0.02141083963215351, -0.008799859322607517, 0.018352773040533066, -0.012495098635554314, 0.0173226036131382, -0.02805197238922119, -0.013581697829067707, 0.00948644895106554, -0.0072809201665222645, -0.27024534344673157, -0.02229922264814377, -0.03634180128574371, -0.009394047781825066, 0.0535111129283905, -0.032995350658893585, 0.035888638347387314, -0.01066815946251154, -0.017963144928216934, 0.00837491825222969, 0.015248177573084831, 0.032965730875730515, 0.015920331701636314, 0.05088711902499199, 0.030759477987885475, -0.0021430368069559336, -0.0018188313115388155, -0.001822244026698172, 0.004494319204241037, 0.03341914713382721, 0.008645998314023018, -0.08324241638183594, 0.005646275822073221, 0.0321430079638958, -0.01436831895262003, 0.040213923901319504, -0.08447432518005371, -0.007175263483077288, -0.03668951988220215, -0.02291025035083294, -0.032934047281742096, -0.019854629412293434, -0.015383308753371239, 0.047036536037921906, -0.006801314651966095, 0.011804170906543732, 0.03599027544260025, -0.007930178195238113, 0.017638780176639557, 0.020682815462350845, 0.007007623091340065, -0.01509481854736805, 0.005750809796154499, 0.023962711915373802, 0.0908203274011612, 0.007407165132462978, -0.026007816195487976, -0.024103311821818352, -0.013374747708439827, 0.03541230410337448, -0.018287695944309235, -0.02674148790538311, 0.006493505090475082, 0.014003007672727108, -0.0028233728371560574, -0.020288852974772453, -0.006841273978352547, -0.02142651565372944, 0.0008489832398481667, 0.011109212413430214, -0.00021123762417118996, -0.056117311120033264, -0.010610139928758144, -0.039067141711711884, -0.029338259249925613, -0.012183156795799732, -0.052269868552684784, -0.06682206690311432, 0.018047695979475975, 0.012706263922154903, -0.02275330387055874, 0.05308859795331955, -0.013154597021639347, -0.07086340337991714, -0.0007987167919054627, -0.01723933033645153, 0.00948930624872446, -0.020312171429395676, -0.00011019739031326026, 0.049378544092178345, -0.03294402360916138, -0.07913681864738464, 0.02166411653161049, 0.006953763775527477, 0.047240257263183594, -0.005853213835507631, 0.02250904031097889, -0.03031284548342228, 0.013262191787362099, -0.03841459006071091, 0.04049510881304741, -0.008089922368526459, 0.03507353365421295, -0.015784474089741707, 0.08063650131225586, 0.02714942768216133, 0.008443686179816723, 0.0812983289361, 0.04364526644349098, -0.006750304717570543, 0.024327639490365982, -0.06297348439693451, 0.0022490955889225006, -0.058535318821668625, -0.001582550466991961, 0.00001947511191247031, -0.034156933426856995, -0.03215270861983299, 0.040594492107629776, 0.004525912459939718, -0.015602882951498032, -0.036179445683956146, -0.008422568440437317, -0.016681499779224396, -0.02938264235854149, -0.014603598043322563, 0.022536925971508026, -0.004361836239695549, 0.03168962150812149, -0.005429363809525967, -0.006178251001983881, 0.051337141543626785, -0.05266572907567024, -0.021150175482034683, -0.006743317004293203, -0.016894441097974777, -0.0014067142037674785, -0.0064734797924757, -0.023525206372141838, -0.011138921603560448, 0.021591700613498688, 0.06717288494110107, -0.008104459382593632, 0.02691272459924221, 0.08405081182718277, 0.04653500020503998, 0.010197379626333714, -0.0015584318898618221, 0.031026313081383705, -0.007617187686264515, 0.01871061883866787, -0.014900573529303074, 0.024847259745001793, 0.03184213116765022, 0.02061285637319088, 0.027594612911343575, 0.045987553894519806, -0.00003800655031227507, -0.01755804382264614, -0.021564483642578125, 0.0446259006857872, -0.03595643863081932, 0.007134316489100456, -0.010621362365782261, 0.010463504120707512, -0.005664692260324955, 0.047859176993370056, -0.0171298049390316, -0.019115397706627846, -0.054365839809179306, 0.06369902193546295, 0.04312620684504509, -0.02876683510839939, 0.004030787851661444, 0.02146737650036812, 0.02788027934730053, -0.02614959329366684, -0.011517559178173542, 0.002722213976085186, 0.02895914763212204, 0.02397448569536209, -0.012941657565534115, -0.030012255534529686, -0.019894495606422424, -0.02234882116317749, -0.005254953633993864, 0.0023375533055514097, 0.02439267374575138, -0.022099241614341736, 0.016766253858804703, 0.02593049593269825, -0.0017039814265444875, -0.012885657139122486, 0.03675337880849838, 0.06697309017181396, 0.01344324741512537, -0.012260676361620426, -0.027609607204794884, -0.0440407432615757, 0.06046406179666519, -0.039354048669338226, -0.0021659580525010824, 0.00013164972187951207, -0.02551371231675148, -0.02951519750058651, -0.02057695761322975, 0.0031792984809726477, 0.04000435769557953, -0.0028217772487550974, -0.012437225319445133, 0.019964830949902534, 0.013854012824594975, -0.02094903029501438, -0.005466244649142027, 0.01869971863925457, -0.08033646643161774, 0.0030457493849098682, 0.028539972379803658, 0.001535747549496591, 0.006138669326901436, -0.03198831528425217, -0.04252728447318077, -0.006030075717717409, -0.008212077431380749, -0.018351778388023376, -0.032737087458372116, -0.018172619864344597, 0.027950704097747803, 0.025914449244737625, -0.04196399077773094, 0.005525398533791304, 0.010468387976288795, 0.026877252385020256, -0.03018687479197979, 0.01229392271488905, 0.04245610907673836, -0.027125708758831024, 0.03080320544540882, 0.02401777170598507, -0.021985819563269615, 0.03362317383289337, -0.0527460053563118, 0.021910175681114197, 0.048610955476760864, 0.01758473552763462, 0.007825508713722229, -0.0651034489274025, 0.022865215316414833, -0.031173421069979668, -0.002563724759966135, 0.004031698685139418, -0.00593832042068243, -0.03499395027756691, 0.02105954848229885, -0.0014226373750716448, 0.04314711317420006, 0.03808417171239853, -0.01454240269958973, -0.016883609816432, 0.013842885382473469, 0.030434921383857727, 0.054624538868665695, -0.03910750150680542, -0.007088021840900183, 0.07592113316059113, -0.026399556547403336, -0.010141699574887753, -0.07613769918680191, -0.02944101206958294, 0.007574145682156086, -0.036970023065805435, 0.05856931209564209, -0.029375245794653893, 0.03025202825665474, 0.05515345558524132, 0.05411967635154724, 0.017442042008042336, -0.0065146940760314465, 0.040630023926496506, -0.028829606249928474, -0.01667187735438347, -0.06720685958862305, -0.013503551483154297, 0.0857035294175148, -0.00490543432533741, 0.0383855476975441, 0.025793347507715225, -0.030712665989995003, 0.01800587773323059, -0.024405382573604584, -0.055215924978256226, 0.0074567534029483795, -0.019408369436860085, 0.0021164207719266415, 0.007374362088739872, -0.04186762869358063, -0.03395712375640869, 0.009118737652897835, -0.06013628467917442, -0.0005833593313582242, -0.018048882484436035, 0.04650972783565521, -0.020550495013594627, -0.012077453546226025, -0.04227802902460098, 0.00742468424141407, 0.031140562146902084, 0.0766836479306221, 0.033563144505023956, 0.00938582606613636, -0.03312001749873161, 0.08745906502008438, 0.03545081242918968, 0.007647530175745487, -0.004837575368583202, 0.017422473058104515, 0.003908481914550066, -0.05145276337862015, 0.05012793838977814, -0.017030930146574974, -0.051799558103084564, -0.030982857570052147, 0.035124972462654114, 0.04035264998674393, -0.02736218459904194, -0.02500290609896183, 0.017940420657396317, -0.04818423464894295, -0.013889063149690628, -0.023060571402311325, 0.011578724719583988, -0.02780076302587986, 0.07956962287425995, 0.02031979151070118, 0.022758208215236664, 0.0533863827586174, 0.01778971031308174, -0.023494187742471695, 0.017772069200873375, 0.07639029622077942, 0.060768116265535355, 0.02783842943608761, -0.0022335131652653217, 0.04095284268260002, -0.043596647679805756, -0.04754764959216118, 0.03081531450152397, -0.006610113196074963, -0.006682605482637882, -0.032447803765535355, 0.010691703297197819, 0.04029816389083862, 0.013658630661666393, 0.06441657990217209, -0.049590084701776505, 0.01445525512099266, 0.029038384556770325, -0.0017821594374254346, 0.01659449376165867, 0.02946302480995655, 0.019798483699560165, 0.010354090481996536, -0.019800085574388504, -0.02012002281844616, 0.0007541212835349143, -0.008441908285021782, 0.025768887251615524, 0.009583664126694202, -0.015638289973139763, -0.000024901530196075328, -0.0018904883181676269, 0.0520566925406456, 0.11403916031122208, -0.06516709923744202, -0.04242861643433571, 0.013334760442376137, 0.032626405358314514, -0.003185741137713194, 0.04468021169304848, -0.014827514067292213, -0.05875565856695175, 0.020233798772096634, -0.06892905384302139, 0.027332575991749763, 0.047309406101703644, -0.008415166288614273, 0.014781356789171696, -0.012455708347260952, -0.04854995757341385, -0.0019193210173398256, 0.02496872842311859, -0.037995390594005585, -0.06933372467756271, -0.022268448024988174, -0.04529236629605293, -0.062453869730234146, -0.030426274985074997, -0.006655851379036903, -0.02254755236208439, -0.028618447482585907, -0.02478223294019699, -0.04454083740711212, 0.02138526178896427, 0.009873137809336185, -0.0734289363026619, 0.015419794246554375, 0.023730318993330002, 0.006161140277981758, -0.01657463051378727, 0.04766654968261719, 0.020342007279396057, -0.015132052823901176, 0.000783891009632498, 0.0254298634827137, 0.011734602972865105, 0.027725301682949066, 0.018842091783881187, 0.001532314345240593, -0.0985536202788353, 0.04068782553076744, 0.03423023223876953, -0.02454676851630211, -0.07567784190177917, 0.01967562362551689, -0.05231662839651108, 0.024587959051132202, 0.04565737396478653, 0.0025718959514051676, -0.003221082966774702, -0.035237573087215424, -0.01207207702100277, -0.006866666488349438, 0.010528787970542908, 0.04627581685781479, -0.003640204668045044, 0.04059251770377159, 0.05478307977318764, 0.01600908860564232, -0.030959276482462883, 0.021352509036660194, -0.007139351684600115, 0.019001565873622894, -0.0061412169598042965, -0.03966057673096657, -0.016502533107995987, -0.09664978832006454, -0.009123752824962139, 0.008578396402299404, -0.0020374839659780264, -0.05996584892272949, 0.017102882266044617, -0.015165433287620544, 0.00240773125551641, 0.011569675989449024, 0.001307650818489492, -0.014081417582929134, -0.05250871554017067, -0.035053007304668427, -0.061092860996723175, 0.023447971791028976, -0.006918448023498058, 0.046325910836458206, -0.018645979464054108, -0.03772415965795517, -0.020764190703630447, 0.0017076570075005293, 0.023614369332790375, 0.008884644135832787, 0.010775246657431126, -0.007718466222286224 ]
397
Learning Efficient Positional Encodings with Graph Neural Networks
https://openreview.net/forum?id=AWg2tkbydO
[ "Charilaos Kanatsoulis", "Evelyn Choi", "Stefanie Jegelka", "Jure Leskovec", "Alejandro Ribeiro" ]
Poster
Positional encodings (PEs) are essential for effective graph representation learning because they provide position awareness in inherently position-agnostic transformer architectures and increase the expressive capacity of Graph Neural Networks (GNNs). However, designing powerful and efficient PEs for graphs poses significant challenges due to the absence of canonical node ordering and the scale of the graph. In this work, we identify four key properties that graph PEs should satisfy: stability, expressive power, scalability, and genericness. We find that existing eigenvector-based PE methods often fall short of jointly satisfying these criteria. To address this gap, we introduce PEARL, a novel framework of learnable PEs for graphs. Our primary insight is that message-passing GNNs function as nonlinear mappings of eigenvectors, enabling the design of GNN architectures for generating powerful and efficient PEs. A crucial challenge lies in initializing node features in a manner that is both expressive and permutation equivariant. We tackle this by initializing GNNs with random node inputs or standard basis vectors, thereby unlocking the expressive power of message-passing operations, while employing statistical pooling functions to maintain permutation equivariance. Our analysis demonstrates that PEARL approximates equivariant functions of eigenvectors with linear complexity, while rigorously establishing its stability and high expressive power. Experimental evaluations show that PEARL outperforms lightweight versions of eigenvector-based PEs and achieves comparable performance to full eigenvector-based PEs, but with one or two orders of magnitude lower complexity. Our code is available at https://github.com/ehejin/Pearl-PE.
positional encodings, graph neural networks, graph transformers
null
13,142
2502.01122
[ -0.02061809040606022, -0.02530434913933277, -0.008185395039618015, 0.0646720826625824, 0.010352971963584423, 0.0532364621758461, 0.013002906925976276, 0.019761133939027786, -0.017198994755744934, -0.024828677996993065, 0.02248276211321354, -0.04141639545559883, -0.07790420949459076, 0.00035707413917407393, 0.018213937059044838, 0.02742174081504345, 0.028605179861187935, -0.013703098520636559, -0.007461445406079292, 0.007002027239650488, -0.00021905302128288895, 0.005527953151613474, 0.027806170284748077, 0.006883345544338226, 0.04423043131828308, -0.006465009413659573, 0.014472510665655136, 0.005132441874593496, -0.01993248239159584, 0.00485227769240737, 0.017242373898625374, 0.00258644949644804, 0.019652998074889183, -0.026963042095303535, 0.021579161286354065, -0.005274732131510973, -0.051921118050813675, 0.024051913991570473, 0.002123850164934993, 0.01862049661576748, -0.051659632474184036, 0.002343494677916169, 0.016752520576119423, 0.022620288655161858, -0.04327498376369476, 0.018816642463207245, -0.12043611705303192, 0.04789242893457413, 0.0003506281937006861, -0.037100985646247864, -0.12506245076656342, 0.05761425942182541, 0.002839821856468916, -0.0047945864498615265, 0.019360706210136414, -0.0029278050642460585, 0.03618428483605385, -0.05454472824931145, -0.03229227289557457, -0.06640109419822693, -0.027025695890188217, 0.013519307598471642, 0.02962498553097248, 0.016539039090275764, 0.0039255958981812, -0.021956918761134148, 0.004362133331596851, 0.05535377562046051, -0.05572479963302612, -0.07562290877103806, -0.027997950091958046, 0.011360474862158298, -0.01879555732011795, 0.007527608890086412, 0.012581256218254566, -0.027409575879573822, -0.014292601495981216, 0.025213170796632767, 0.0856981948018074, 0.004577683284878731, -0.008246655575931072, 0.07157070934772491, -0.015477935783565044, 0.03481432422995567, -0.017529133707284927, 0.028092142194509506, -0.041624296456575394, -0.0715826004743576, -0.061215609312057495, 0.0395720899105072, -0.0644548162817955, -0.05555202439427376, -0.008165935985744, 0.0360964797437191, -0.0051657939329743385, -0.014000363647937775, 0.0000770239275880158, 0.01794315315783024, 0.018032830208539963, -0.0063294717110693455, -0.028037674725055695, -0.04083516076207161, 0.014427008107304573, -0.034770023077726364, -0.09800729900598526, -0.024397708475589752, -0.0006726887077093124, -0.0002821595990099013, 0.030050724744796753, -0.003819184610620141, -0.041867054998874664, -0.017168084159493446, 0.008607042953372002, -0.017986055463552475, -0.07660079747438431, 0.028352340683341026, 0.01928863301873207, -0.008419295772910118, -0.0303437951952219, -0.007640133146196604, 0.05824192240834236, 0.03737633675336838, 0.0001892537111416459, 0.09855330735445023, -0.009531067684292793, 0.02306967042386532, -0.0047475360333919525, 0.037689607590436935, -0.036456748843193054, -0.03882880136370659, -0.016700206324458122, 0.04794526472687721, 0.010648993775248528, 0.024011628702282906, 0.00013842136831954122, -0.03307516500353813, -0.003312788438051939, 0.012644371949136257, 0.05129725858569145, -0.026082776486873627, 0.00021849064796697348, -0.04429959878325462, 0.05082590505480766, -0.051838431507349014, 0.09809016436338425, -0.03207755461335182, -0.027833817526698112, -0.0022981008514761925, 0.0066584935411810875, -0.0018148071831092238, -0.00026384645025245845, -0.010197591036558151, 0.01744413748383522, -0.05953929200768471, -0.003490633564069867, 0.04987477883696556, 0.009917822666466236, 0.05749335512518883, -0.0157132837921381, 0.0035781441256403923, 0.0018428214825689793, -0.023976417258381844, 0.004008423537015915, 0.03935207054018974, -0.01548099610954523, -0.07371696829795837, 0.03231818601489067, 0.042284030467271805, -0.04554334655404091, -0.031026391312479973, 0.002263985574245453, -0.012055203318595886, 0.03880956768989563, 0.01650298573076725, -0.023903265595436096, -0.020044978708028793, 0.0423758439719677, -0.035770539194345474, 0.030423330143094063, -0.009537562727928162, -0.07800775021314621, 0.047295209020376205, 0.032235462218523026, 0.003111907048150897, 0.0003427901247050613, -0.02648644894361496, 0.07970111072063446, -0.01242482103407383, 0.001846284489147365, 0.0036412314511835575, -0.07687966525554657, -0.007630940526723862, 0.03309532254934311, -0.04129355773329735, 0.06226430833339691, 0.012582692317664623, -0.003221613820642233, -0.001636042259633541, 0.024457639083266258, 0.011382751166820526, 0.02674730122089386, -0.021852200850844383, 0.046101972460746765, -0.005321076139807701, -0.04054170474410057, 0.010320650413632393, 0.03857423737645149, -0.04006420075893402, -0.07642500102519989, 0.010605018585920334, 0.005395250860601664, -0.009392655454576015, 0.012321908958256245, -0.031988490372896194, -0.007744982372969389, -0.024623779579997063, -0.019922489300370216, 0.01509073842316866, 0.036909319460392, -0.058532603085041046, 0.02948528155684471, 0.00012028820492560044, -0.02272489108145237, 0.015921900048851967, -0.05356172099709511, 0.11106955260038376, 0.044589314609766006, -0.004380505066365004, 0.0045770760625600815, 0.039181217551231384, 0.039266590029001236, -0.00493624759837985, 0.03764154389500618, -0.013032184913754463, -0.002958905417472124, 0.01127174124121666, -0.005705208983272314, -0.022188792005181313, 0.051376380026340485, -0.042172253131866455, 0.007563035003840923, 0.06370587646961212, -0.025376172736287117, 0.019596481695771217, 0.00942204985767603, 0.017126666381955147, 0.04730988293886185, -0.06417632848024368, -0.016845421865582466, -0.023346370086073875, -0.01903308555483818, -0.000540248875040561, 0.009568745270371437, -0.022757329046726227, 0.03165648132562637, -0.015595153905451298, 0.009161856956779957, -0.008681563660502434, 0.07840005308389664, 0.03478364646434784, 0.03648803383111954, 0.007037600502371788, -0.029567215591669083, -0.033980779349803925, -0.04928676784038544, -0.09973612427711487, -0.02617473155260086, -0.035602595657110214, 0.050814419984817505, 0.01283915713429451, 0.062415555119514465, -0.002061466919258237, 0.013741107657551765, -0.02525719255208969, -0.015325500629842281, -0.018121305853128433, 0.033338937908411026, -0.01618683710694313, -0.03261224180459976, -0.014307526871562004, 0.02797548659145832, 0.061591994017362595, -0.009797676466405392, -0.01334115955978632, -0.04815743863582611, -0.029221972450613976, 0.004431362729519606, -0.02026040107011795, -0.004188867751508951, 0.031155461445450783, 0.031916577368974686, 0.017991557717323303, -0.04660790041089058, 0.0033317150082439184, 0.04643658176064491, 0.05569344013929367, 0.061650823801755905, -0.018895067274570465, -0.011282731778919697, 0.00457344576716423, 0.002781866118311882, 0.07285509258508682, 0.008978552184998989, 0.0018619514303281903, -0.04766518622636795, 0.0014488600427284837, 0.01198085118085146, -0.006000081077218056, -0.2655235826969147, 0.01721172407269478, -0.014145024120807648, -0.05419876426458359, 0.025981957092881203, -0.025607669726014137, 0.029238689690828323, -0.027096709236502647, -0.0016564992256462574, 0.009837809950113297, 0.025151200592517853, -0.0063788206316530704, -0.011597398668527603, 0.012487933970987797, 0.06282679736614227, 0.021803976967930794, -0.026430409401655197, -0.01274186559021473, 0.022072933614253998, 0.05080081522464752, -0.010232766158878803, -0.07809851318597794, -0.019913461059331894, 0.013051532208919525, -0.004907187540084124, 0.03321771323680878, -0.12076758593320847, 0.01325626578181982, -0.0362948440015316, -0.030680201947689056, -0.03729948773980141, -0.01681855507194996, -0.025721218436956406, 0.04707515984773636, -0.02208879590034485, -0.00530493026599288, 0.01402497012168169, -0.0030092489905655384, 0.012392205186188221, 0.037426356226205826, 0.008731000125408173, -0.03427119925618172, -0.03844357281923294, 0.03248776122927666, 0.07860054820775986, -0.0027376189827919006, -0.02059137262403965, 0.023764919489622116, -0.014452164061367512, 0.03236525505781174, -0.012080729007720947, -0.05139254033565521, 0.005317056551575661, -0.002827491145581007, -0.006064654793590307, -0.029874814674258232, -0.01256278995424509, 0.007622462697327137, -0.020078253000974655, 0.016433117911219597, 0.02967800572514534, -0.08349156379699707, 0.000504673516843468, -0.04453245922923088, -0.020810842514038086, -0.014613858424127102, -0.07500822842121124, -0.05538838729262352, 0.035139020532369614, 0.015038185752928257, -0.008154802955687046, 0.041701339185237885, -0.022058816626667976, -0.07905694097280502, 0.040943022817373276, 0.019521689042448997, 0.0033298220951110125, 0.00401411484926939, 0.00026194288511760533, 0.03596271201968193, -0.010526811704039574, -0.05612508952617645, -0.007459573447704315, 0.029766496270895004, 0.03183922544121742, 0.01468037161976099, 0.00892568938434124, -0.048060059547424316, -0.023720134049654007, -0.021960454061627388, 0.030303174629807472, -0.012565428391098976, 0.04707847163081169, 0.009683125652372837, 0.06043846905231476, 0.06387433409690857, 0.034520555287599564, 0.0295413751155138, 0.015636751428246498, -0.01939496025443077, 0.04028647392988205, -0.04715002328157425, -0.016639143228530884, -0.011937453411519527, -0.026223057880997658, 0.06554753333330154, -0.0678183063864708, -0.02735503949224949, 0.02079632878303528, 0.017730116844177246, -0.03791091591119766, -0.040343139320611954, 0.014190969057381153, -0.004476011730730534, -0.023785533383488655, -0.012467016465961933, 0.004425324033945799, 0.035224296152591705, 0.02894115447998047, -0.024172434583306313, -0.012936470098793507, 0.04535173252224922, -0.033394861966371536, 0.02619265764951706, -0.0016434683930128813, -0.012427511624991894, -0.0004133418551646173, -0.03554720804095268, -0.012897797860205173, 0.017572691664099693, 0.05673505365848541, 0.05132884532213211, -0.005911564454436302, 0.0022539871279150248, 0.05562201142311096, 0.02735220640897751, -0.014867202378809452, -0.02625112794339657, 0.03381246328353882, -0.003521657781675458, 0.021333890035748482, 0.001802684972062707, 0.020497966557741165, 0.020300252363085747, 0.04886874556541443, -0.0018719523213803768, 0.03831865265965462, -0.007821681909263134, -0.011907336302101612, -0.0026508294977247715, 0.013322683051228523, -0.057635948061943054, -0.021473247557878494, -0.03653336688876152, 0.027405643835663795, -0.025995466858148575, 0.04059761390089989, -0.011367903091013432, -0.0015461683506146073, -0.03982321172952652, 0.0850922167301178, 0.001822956488467753, -0.012850997969508171, -0.017154013738036156, 0.01964225433766842, 0.04224503040313721, -0.00603365758433938, 0.0039240154437720776, 0.001668195822276175, -0.015414650551974773, -0.0047208755277097225, 0.01902623102068901, -0.018791763111948967, -0.006095187738537788, -0.00454605370759964, -0.018479740247130394, -0.003618698799982667, 0.027688043192029, -0.03148797154426575, 0.015614486299455166, -0.005258599761873484, -0.010099000297486782, -0.030270962044596672, 0.04567345976829529, 0.08463054895401001, 0.036869022995233536, -0.0052622342482209206, 0.004590250086039305, -0.054827336221933365, 0.03881406411528587, -0.009134102612733841, 0.010345971211791039, -0.04757668823003769, -0.02680707536637783, -0.02677975594997406, -0.030376210808753967, -0.014694822020828724, 0.007556484080851078, -0.019146200269460678, -0.02590709552168846, -0.013947524130344391, 0.03722865507006645, -0.04602782800793648, 0.005057838745415211, 0.03401486948132515, -0.033308498561382294, -0.006219443865120411, 0.011578898876905441, -0.0055465553887188435, 0.02070446126163006, -0.008979485370218754, -0.0012620821362361312, -0.01318484079092741, -0.005516505800187588, 0.03449318930506706, 0.006323075387626886, -0.01567257195711136, -0.023503219708800316, -0.04305857792496681, -0.002530868863686919, 0.03040385991334915, -0.0019436064176261425, 0.004253065213561058, -0.04798464477062225, 0.018562952056527138, 0.045287907123565674, -0.01808665134012699, 0.016407765448093414, 0.0005548076587729156, 0.0047836825251579285, 0.022968478500843048, -0.016843322664499283, 0.04297443479299545, 0.07074743509292603, -0.005740953143686056, 0.017206670716404915, -0.06195458397269249, 0.0322200208902359, -0.003815887263044715, 0.021624384447932243, 0.03538382425904274, -0.013032622635364532, -0.041891735047101974, 0.006758043076843023, 0.0004533289757091552, 0.03437165915966034, 0.040604233741760254, 0.005779847968369722, 0.0009751407196745276, 0.0013191382167860866, 0.015089540742337704, 0.038415100425481796, -0.030485156923532486, -0.027926655486226082, 0.045838262885808945, -0.037868682295084, -0.044752106070518494, -0.06589097529649734, -0.025859221816062927, 0.008204703219234943, -0.011399848386645317, 0.018870601430535316, 0.011672294698655605, 0.035613492131233215, 0.03689553216099739, 0.06313115358352661, 0.0024698260240256786, -0.05164877697825432, 0.015135273337364197, -0.014972921460866928, 0.007259675767272711, -0.042265258729457855, -0.0070245349779725075, 0.05913214758038521, -0.027246704325079918, -0.015502016060054302, -0.02834220975637436, -0.02438380941748619, 0.011709973216056824, 0.00018378475215286016, -0.05534668639302254, 0.029772985726594925, -0.012805641628801823, 0.0018681802321225405, 0.017007168382406235, -0.04687224701046944, -0.012020750902593136, -0.029054826125502586, -0.058265525847673416, -0.003977602813392878, -0.013399733230471611, 0.015656230971217155, -0.04748254641890526, 0.014163961634039879, -0.014811952598392963, 0.0011646392522379756, 0.046254560351371765, 0.06762693077325821, 0.00012260093353688717, 0.04233674332499504, -0.05191334709525108, 0.06363280117511749, 0.03654071316123009, -0.008695450611412525, 0.033693745732307434, 0.025205332785844803, -0.01664465293288231, -0.050819046795368195, 0.01717727817595005, -0.0024855085648596287, -0.04658592492341995, -0.05655662715435028, 0.09617888182401657, 0.01832774467766285, -0.04531397297978401, -0.05275983735918999, 0.04799634963274002, -0.02468806691467762, -0.010450167581439018, -0.02507312409579754, -0.00010878848115680739, -0.020635271444916725, 0.0754750445485115, 0.027036968618631363, 0.04902233928442001, 0.08519526571035385, 0.02345888875424862, -0.0166055578738451, -0.022162044420838356, 0.07847829908132553, 0.07144493609666824, 0.03662629425525665, -0.02056754194200039, 0.07318325340747833, -0.046216245740652084, -0.04398966580629349, 0.004128840286284685, 0.03849852830171585, 0.0011485680006444454, -0.000790070160292089, 0.031839847564697266, 0.06755495816469193, -0.01482184138149023, 0.08101259917020798, -0.05277558043599129, 0.003791442373767495, 0.056852780282497406, 0.021268228068947792, -0.00881983432918787, 0.029443543404340744, 0.03493553027510643, 0.017026064917445183, -0.04828859493136406, 0.005083979107439518, -0.028721295297145844, -0.013220592401921749, 0.03233105689287186, 0.009409399703145027, -0.005320462863892317, 0.02263994887471199, -0.007468454074114561, 0.012693705037236214, 0.10166798532009125, -0.05334411934018135, -0.06203259527683258, -0.009220127947628498, 0.01685282029211521, -0.014198883436620235, 0.04172171652317047, -0.01702064462006092, 0.0005394081235863268, -0.008102231658995152, -0.044021397829055786, 0.03792569041252136, 0.003532115602865815, -0.030950531363487244, 0.005050502251833677, -0.012154090218245983, -0.02776752971112728, -0.006415040697902441, 0.008274304680526257, -0.030347758904099464, -0.040643110871315, -0.018303241580724716, -0.06505303829908371, -0.07420183718204498, -0.07107099145650864, -0.0174203272908926, -0.012969616800546646, -0.0455545037984848, -0.014747179113328457, -0.01865718886256218, 0.020827066153287888, 0.012248564511537552, -0.05383245646953583, 0.030729234218597412, 0.02452748827636242, 0.04430471733212471, -0.009829280897974968, 0.02871101349592209, 0.014344739727675915, -0.01113385334610939, 0.012177513912320137, 0.06646451354026794, 0.02271144837141037, -0.008862188085913658, -0.007724088616669178, -0.022751761600375175, -0.10536883771419525, 0.010184730403125286, 0.033801790326833725, -0.030622055754065514, -0.09180543571710587, 0.0006354384822770953, -0.009807044640183449, 0.020536992698907852, 0.0621832013130188, 0.020996738225221634, 0.012529348954558372, -0.03130273520946503, 0.007613400463014841, -0.0010668692411854863, -0.03387843072414398, 0.04190082103013992, -0.028110800310969353, 0.06918060779571533, 0.052691638469696045, -0.019019167870283127, -0.015883570536971092, 0.019834954291582108, -0.02125643379986286, 0.00669091148301959, -0.02400924451649189, -0.0328187420964241, -0.001808962319046259, -0.09316517412662506, -0.01844152621924877, -0.005539212375879288, -0.008215141482651234, -0.020556030794978142, -0.01647265814244747, 0.00449119508266449, -0.006355024874210358, -0.007920677773654461, -0.01767824776470661, 0.01599961332976818, 0.0015588264213874936, -0.012979879043996334, -0.048485610634088516, 0.01917925663292408, -0.02308991178870201, 0.02765831910073757, -0.047759391367435455, -0.03494943305850029, 0.0016116040060296655, -0.012067846953868866, 0.034684017300605774, 0.010382583364844322, 0.01874128170311451, 0.018103796988725662 ]
398
Scale-Aware Contrastive Reverse Distillation for Unsupervised Medical Anomaly Detection
https://openreview.net/forum?id=HNOo4UNPBF
[ "Chunlei Li", "Yilei Shi", "Jingliang Hu", "Xiao Xiang Zhu", "Lichao Mou" ]
Poster
Unsupervised anomaly detection using deep learning has garnered significant research attention due to its broad applicability, particularly in medical imaging where labeled anomalous data are scarce. While earlier approaches leverage generative models like autoencoders and generative adversarial networks (GANs), they often fall short due to overgeneralization. Recent methods explore various strategies, including memory banks, normalizing flows, self-supervised learning, and knowledge distillation, to enhance discrimination. Among these, knowledge distillation, particularly reverse distillation, has shown promise. Following this paradigm, we propose a novel scale-aware contrastive reverse distillation model that addresses two key limitations of existing reverse distillation methods: insufficient feature discriminability and inability to handle anomaly scale variations. Specifically, we introduce a contrastive student-teacher learning approach to derive more discriminative representations by generating and exploring out-of-normal distributions. Further, we design a scale adaptation mechanism to softly weight contrastive distillation losses at different scales to account for the scale variation issue. Extensive experiments on benchmark datasets demonstrate state-of-the-art performance, validating the efficacy of the proposed method. The code will be made publicly available.
unsupervised anomaly detection, medical images, contrastive reverse distillation, student-teacher
null
13,123
2503.13828
[ 0.006155182607471943, -0.026818575337529182, -0.01205980870872736, 0.028697926551103592, 0.052014198154211044, -0.02408127672970295, 0.047210924327373505, -0.01646522432565689, -0.020807014778256416, -0.02458191104233265, -0.00903725903481245, -0.002713755238801241, -0.027515895664691925, 0.0482252761721611, 0.012905563227832317, 0.058731649070978165, 0.07694584131240845, -0.012403336353600025, 0.026885269209742546, 0.048808928579092026, -0.011279289610683918, -0.07702016830444336, 0.0004551556194201112, -0.005914357956498861, 0.0021699145436286926, 0.022145282477140427, 0.010567402467131615, 0.01050314586609602, -0.04339197278022766, 0.01308551337569952, 0.06544757634401321, 0.0005731677520088851, 0.02049502171576023, -0.029636166989803314, 0.04716869443655014, 0.014346172101795673, -0.06720016151666641, 0.02642687037587166, 0.0016153809847310185, -0.0038198940455913544, -0.03366251662373543, -0.020589206367731094, -0.025882158428430557, 0.01805458776652813, -0.056407347321510315, -0.01127118431031704, -0.1492755264043808, 0.036848269402980804, -0.02413826249539852, -0.0014999881386756897, -0.0682511031627655, 0.018605001270771027, 0.020348817110061646, -0.005027132108807564, 0.014568186365067959, 0.05961613357067108, 0.04094896838068962, -0.061312805861234665, -0.012832529842853546, -0.05603070184588432, -0.011081811040639877, 0.04444969817996025, 0.022816285490989685, 0.015835558995604515, 0.018596064299345016, -0.00964699499309063, 0.0131433866918087, 0.03359265252947807, -0.027373692020773888, -0.05438487231731415, -0.006663755513727665, -0.0010998457437381148, 0.000700856267940253, 0.014191809110343456, 0.00746186263859272, -0.024219278246164322, 0.018246842548251152, -0.004084483720362186, 0.06657665222883224, 0.004021686501801014, 0.0412338450551033, 0.014567140489816666, 0.04510834440588951, 0.02159210294485092, 0.0002248363452963531, -0.011347737163305283, -0.021847987547516823, -0.0007389199454337358, -0.015578903257846832, 0.015816347673535347, -0.0434378944337368, -0.03341178968548775, 0.020184548571705818, 0.01764996536076069, 0.051397424191236496, -0.012825035490095615, 0.039951495826244354, -0.04766272380948067, -0.008119656704366207, -0.030820012092590332, -0.014632896520197392, -0.034444551914930344, 0.014861098490655422, 0.012963543646037579, -0.07218639552593231, 0.015785707160830498, -0.021272310987114906, -0.012329384684562683, -0.02638472244143486, -0.013148128986358643, -0.05931166931986809, 0.012650947086513042, 0.01738939806818962, -0.00714714964851737, -0.0789995864033699, 0.01661635935306549, 0.011142109520733356, 0.021548690274357796, -0.015443150885403156, -0.03370148688554764, 0.048804111778736115, 0.04965668171644211, 0.01786530576646328, 0.07106702774763107, -0.009173142723739147, -0.009197317063808441, 0.023598648607730865, 0.05207844078540802, -0.021414823830127716, -0.01772669516503811, -0.026568980887532234, 0.04079635813832283, 0.02408192679286003, -0.005017031449824572, 0.01768588088452816, -0.010639416985213757, -0.0032450149301439524, 0.010397347621619701, 0.03335295990109444, -0.01067926362156868, 0.03198202699422836, -0.029648277908563614, 0.0264027900993824, -0.03422420099377632, 0.04632500186562538, -0.045046236366033554, 0.009158688597381115, -0.004685305058956146, -0.03298451378941536, 0.035864319652318954, 0.003789763431996107, 0.017932457849383354, 0.016904888674616814, -0.0609913095831871, 0.023747719824314117, 0.07075130194425583, -0.030321072787046432, 0.01819506473839283, 0.018033413216471672, -0.008927907794713974, 0.021461738273501396, -0.00011605834151851013, -0.0529470331966877, -0.02207314595580101, 0.003272261004894972, -0.03405294567346573, 0.03686162084341049, 0.04256763309240341, -0.03877626359462738, 0.020755989477038383, -0.04561060294508934, -0.054094575345516205, 0.04955238476395607, -0.024840664118528366, -0.024639667943120003, 0.027798740193247795, 0.03283686563372612, 0.01683546043932438, 0.041915666311979294, 0.037269216030836105, -0.10174468159675598, 0.039064742624759674, 0.004892018623650074, -0.03772662207484245, -0.005390878766775131, -0.017292795702815056, 0.09611765295267105, -0.04511586204171181, -0.00033333784085698426, 0.042068254202604294, -0.07867036014795303, -0.020611830055713654, 0.027814142405986786, 0.006757036782801151, 0.04418976604938507, 0.0484047569334507, -0.0035150940530002117, 0.038607291877269745, 0.011014794930815697, 0.024784037843346596, 0.05260401591658592, -0.02713734470307827, 0.07380921393632889, -0.013017518445849419, -0.01708107441663742, -0.021120192483067513, 0.04472934827208519, -0.07772526144981384, -0.05108150094747543, -0.016335071995854378, -0.01684032566845417, -0.00402026018127799, -0.012218189425766468, -0.007731156889349222, 0.012914162129163742, 0.03363369032740593, 0.014409037306904793, -0.008493037894368172, 0.011348119005560875, -0.04955311119556427, 0.060245905071496964, 0.0014870251761749387, 0.01344411913305521, 0.0485343374311924, 0.017010753974318504, 0.10041254013776779, 0.07895448803901672, -0.016010882332921028, 0.022602079436182976, -0.0022256842348724604, 0.02481023408472538, -0.0008083665743470192, 0.025406524538993835, -0.01834452524781227, 0.02223733253777027, -0.018024401739239693, 0.020932862535119057, -0.006839957553893328, 0.07835668325424194, -0.06920013576745987, -0.027212008833885193, 0.058143019676208496, -0.03912617266178131, 0.05783509463071823, 0.012423538602888584, 0.032496292144060135, 0.05658094212412834, 0.01053987443447113, -0.03273490071296692, -0.09261112660169601, 0.0049496297724545, 0.01680990867316723, -0.001825640443712473, -0.01205318234860897, 0.03624747321009636, -0.06477333605289459, -0.005864098202437162, 0.005919985007494688, 0.04418996348977089, 0.067083939909935, -0.025539858266711235, 0.018663834780454636, 0.010084309615194798, -0.07121114432811737, 0.001630999380722642, -0.1040564477443695, -0.05062541365623474, -0.01510999258607626, 0.03555378317832947, -0.05440887063741684, 0.030936207622289658, -0.00860570278018713, 0.01924835704267025, -0.025516962632536888, -0.013435124419629574, 0.007810130249708891, 0.019184885546565056, 0.02678065560758114, -0.038112856447696686, 0.011114615947008133, 0.01854558102786541, 0.06546864658594131, 0.0041932715103030205, -0.010324268601834774, -0.026969285681843758, -0.05662261322140694, -0.023753497749567032, -0.016036970540881157, -0.00228042621165514, 0.025441737845540047, 0.031827040016651154, 0.042499445378780365, 0.0012619011104106903, 0.021169202402234077, 0.025781549513339996, 0.046474553644657135, 0.05154263973236084, 0.048404570668935776, 0.000036426652513910085, 0.041037190705537796, -0.03889515623450279, 0.03413621336221695, 0.0027342448011040688, 0.017966222018003464, -0.027301359921693802, -0.02638334408402443, 0.048071183264255524, -0.009264116175472736, -0.27386754751205444, -0.004451903514564037, 0.014762037433683872, -0.0020869204308837652, 0.04508485645055771, -0.021017024293541908, 0.017070915549993515, -0.039352111518383026, -0.026985876262187958, 0.02313557080924511, 0.004938493017107248, 0.03584405407309532, -0.0027421656996011734, 0.06177986040711403, 0.05386657267808914, 0.03810132294893265, -0.00008161005825968459, -0.006761323194950819, 0.024209944531321526, 0.03769724443554878, -0.005850125104188919, -0.02522650733590126, -0.025402503088116646, 0.05949748679995537, -0.003859959775581956, 0.036771710962057114, -0.06935353577136993, 0.02210795134305954, -0.02590804547071457, -0.03800388053059578, 0.008061244152486324, -0.0053763436153531075, -0.013289835304021835, 0.040215179324150085, -0.015541788190603256, 0.009294730611145496, 0.004007080569863319, 0.0035039125941693783, 0.046487387269735336, -0.01743912510573864, -0.002358071506023407, -0.034650299698114395, -0.025820882990956306, 0.027907535433769226, 0.04840270057320595, 0.03459952026605606, -0.02067578211426735, 0.001930782338604331, -0.010045667178928852, 0.02039477601647377, -0.008774437010288239, -0.01657119207084179, -0.050190139561891556, 0.003689371282234788, -0.0015779940877109766, 0.012117783538997173, -0.022400077432394028, 0.01665721833705902, -0.020874856039881706, 0.014386911876499653, -0.014332265593111515, -0.053360845893621445, -0.0012928145006299019, -0.04018445685505867, -0.012490840628743172, -0.04424683004617691, -0.05002724751830101, -0.07056231796741486, 0.030514951795339584, 0.02341456711292267, -0.030185360461473465, 0.016990482807159424, -0.02727741003036499, -0.08413027226924896, 0.04484185576438904, -0.005640125367790461, -0.002700751181691885, -0.025964180007576942, -0.015295833349227905, 0.03716127946972847, -0.03581060469150543, -0.05624977499246597, 0.02365398034453392, 0.027193021029233932, -0.007015787996351719, 0.0004752311506308615, 0.020537156611680984, -0.013157018460333347, -0.03159203380346298, -0.019382581114768982, 0.029351040720939636, 0.03217588737607002, 0.031550273299217224, 0.006970541086047888, 0.01140156015753746, 0.06047593429684639, 0.040756240487098694, 0.047988854348659515, 0.023897061124444008, -0.01397674810141325, 0.023339780047535896, -0.07556183636188507, -0.057542432099580765, -0.07094782590866089, -0.025074385106563568, 0.011376003734767437, -0.05042801424860954, -0.02774600125849247, 0.04797724261879921, -0.021348129957914352, -0.031325437128543854, -0.05556580051779747, 0.021977383643388748, -0.01293318159878254, -0.010774102993309498, 0.005007969215512276, 0.0025478051975369453, 0.029442936182022095, 0.06167326867580414, -0.048398565500974655, 0.008247718214988708, 0.06747672706842422, -0.018084639683365822, 0.017794720828533173, 0.029530126601457596, -0.02761906385421753, -0.009748256765305996, -0.0002308892726432532, 0.015480192378163338, -0.010510880500078201, 0.04083893820643425, 0.02301884815096855, 0.009013570845127106, 0.030480477958917618, 0.07516594231128693, -0.006819508038461208, 0.00489161117002368, -0.004215281922370195, 0.017659559845924377, -0.0002900097460951656, 0.048362262547016144, -0.02748400904238224, 0.0422026589512825, -0.005783542059361935, 0.033905401825904846, -0.008008158765733242, 0.03341267630457878, 0.00975750107318163, -0.0011193201644346118, -0.01794586516916752, 0.008793714456260204, -0.045825857669115067, -0.03227519243955612, -0.016335563734173775, 0.00521486159414053, 0.014512138441205025, 0.04237855225801468, 0.004365978296846151, 0.011672827415168285, -0.06096556782722473, 0.036910977214574814, 0.03361940011382103, -0.031139131635427475, -0.03658676519989967, -0.004035267513245344, 0.02025090530514717, -0.03205655515193939, -0.011462952941656113, 0.04120500013232231, -0.004039857070893049, 0.018615104258060455, -0.027753621339797974, -0.05510397255420685, 0.005561960861086845, -0.01343582198023796, 0.007283364422619343, -0.007754751481115818, -0.012093247845768929, -0.054993193596601486, 0.051076602190732956, 0.03610723093152046, 0.0027102252934128046, 0.0016943271039053798, 0.02250196784734726, 0.0935017466545105, 0.03342890366911888, -0.021407557651400566, -0.018390607088804245, -0.035692062228918076, 0.06901539862155914, -0.06305986642837524, -0.023310290649533272, -0.05364745855331421, -0.03566485643386841, 0.007002030499279499, -0.048502981662750244, -0.018524527549743652, 0.013794905506074429, -0.008174914866685867, -0.02169905975461006, 0.00725649343803525, 0.019585156813263893, -0.025988053530454636, -0.035051628947257996, 0.007660356815904379, -0.07851327955722809, 0.007409704849123955, 0.014508458785712719, -0.02989732101559639, 0.03494347259402275, 0.013284511864185333, -0.01139372680336237, -0.08354996889829636, -0.03299986943602562, -0.0029275324195623398, -0.011595454066991806, -0.018615631386637688, -0.027044983580708504, 0.021864023059606552, -0.020061543211340904, 0.04169970750808716, -0.003109041601419449, 0.01289977878332138, -0.010853658430278301, 0.01429695449769497, 0.029841821640729904, -0.038531795144081116, 0.0007649451727047563, -0.013238269835710526, -0.016864057630300522, -0.013247620314359665, -0.02865544520318508, 0.004614050965756178, 0.017430484294891357, -0.041218649595975876, 0.010234803892672062, -0.0039267875254154205, 0.0077128056436777115, -0.01572667621076107, -0.007350419647991657, -0.022420022636651993, 0.00009367033635498956, -0.03501645848155022, 0.017768844962120056, 0.026647962629795074, 0.04215820133686066, 0.01899932697415352, -0.016772562637925148, 0.008731652051210403, -0.002210051752626896, 0.03845669701695442, -0.0028637538198381662, -0.04554322734475136, 0.013590896502137184, 0.068503238260746, -0.07246637344360352, 0.003930020611733198, -0.10185310244560242, -0.05858844146132469, -0.00269592204131186, 0.0047821602784097195, 0.009337261319160461, -0.023933857679367065, 0.006482214201241732, 0.032002709805965424, 0.022441228851675987, -0.01673973724246025, -0.008543318137526512, 0.02725926600396633, -0.05896953493356705, -0.0029524113051593304, -0.05091169476509094, -0.011150620877742767, 0.05521175637841225, -0.03981713578104973, -0.004637567792087793, -0.003758498700335622, -0.04877983033657074, -0.000012395988051139284, -0.027405211701989174, -0.04353606328368187, 0.009898155927658081, -0.013726165518164635, -0.00235559931024909, -0.009327409788966179, -0.02993427775800228, -0.014165525324642658, -0.023769250139594078, -0.0689597949385643, -0.002382236998528242, 0.03283591568470001, 0.04204403609037399, -0.004574249032884836, -0.0028647903818637133, -0.020197881385684013, 0.008952991105616093, 0.01885451003909111, 0.07392022013664246, 0.011342690326273441, 0.01937154121696949, -0.038756612688302994, 0.06032957136631012, 0.03663758933544159, -0.015482601709663868, 0.023435402661561966, 0.006687695160508156, -0.017534255981445312, -0.042142320424318314, 0.0253154244273901, -0.009515753947198391, 0.0041031441651284695, -0.08458279073238373, 0.014125735498964787, 0.009304044768214226, -0.02942902408540249, -0.021467648446559906, 0.04850173741579056, -0.029438138008117676, -0.009666282683610916, 0.011136120185256004, -0.033826492726802826, -0.006617279723286629, 0.05854026600718498, -0.011539504863321781, 0.03764064610004425, 0.041209567338228226, 0.014475243166089058, 0.02367858774960041, 0.0011269226670265198, 0.0726730227470398, 0.03554600104689598, 0.05625525489449501, -0.006245734170079231, 0.0627269297838211, -0.023728400468826294, -0.026907222345471382, 0.007766753900796175, 0.014534832909703255, -0.036639511585235596, -0.06488198041915894, 0.002398467157036066, 0.09474046528339386, 0.0024673931766301394, 0.060140371322631836, -0.04101807251572609, -0.013328437693417072, 0.03923288360238075, 0.016197444871068, -0.008142338134348392, 0.026171652600169182, -0.018592923879623413, 0.019666599109768867, -0.02768671326339245, -0.009966466575860977, -0.017788372933864594, -0.02135545387864113, 0.027431868016719818, 0.0038337267469614744, -0.01099223829805851, 0.03234509751200676, 0.002002523047849536, 0.006378902122378349, 0.08207372575998306, -0.02854638360440731, -0.03677278012037277, 0.01636102795600891, 0.039546430110931396, -0.006036386825144291, 0.026401640847325325, 0.0030949462670832872, -0.011807022616267204, -0.009988456033170223, -0.062291331589221954, 0.03113243356347084, 0.021708404645323753, 0.0008607264026068151, 0.019527701660990715, -0.027073301374912262, -0.02293248474597931, 0.034424539655447006, 0.03295217081904411, -0.04720965027809143, -0.04875509440898895, -0.05861801281571388, -0.04330603405833244, -0.055554818361997604, -0.05856490880250931, 0.06255801022052765, 0.03287442401051521, -0.001834148890338838, -0.009685366414487362, -0.02214282564818859, 0.02081221342086792, 0.028742076829075813, -0.04878198727965355, 0.009517728351056576, 0.054960910230875015, -0.01787455379962921, -0.03302354738116264, 0.01901905983686447, -0.00218683248385787, -0.05400332063436508, -0.013852518051862717, 0.0310839731246233, 0.0005169704672880471, 0.0083955442532897, -0.03758363053202629, -0.02410552091896534, -0.09780305624008179, -0.00384441576898098, 0.00465675164014101, -0.07729744166135788, -0.07766035944223404, 0.0663423165678978, -0.012792343273758888, 0.032272715121507645, 0.0511319562792778, -0.020871024578809738, -0.0027086022309958935, -0.02907509356737137, -0.04262864589691162, -0.02021203376352787, 0.017143070697784424, 0.042807627469301224, -0.010517824441194534, 0.04739493131637573, 0.06468264013528824, 0.011399769224226475, -0.005097098648548126, 0.018994027748703957, -0.037949685007333755, -0.00427017780020833, -0.0022740743588656187, -0.050628457218408585, -0.049787238240242004, -0.09194312989711761, -0.0241338349878788, 0.025841763243079185, -0.015711836516857147, -0.024232637137174606, 0.00953307468444109, -0.008783914148807526, 0.002528072101995349, -0.026247994974255562, 0.010651668533682823, -0.0019432506524026394, -0.04015031084418297, -0.050428617745637894, -0.028734643012285233, 0.0004933645250275731, 0.01567225158214569, 0.023387331515550613, -0.026044758036732674, -0.05551016703248024, 0.0005429909797385335, -0.03348962962627411, 0.04915415123105049, 0.011327952146530151, 0.01730111427605152, 0.012921935878694057 ]
399
Scalable Influence and Fact Tracing for Large Language Model Pretraining
https://openreview.net/forum?id=gLa96FlWwn
[ "Tyler A. Chang", "Dheeraj Rajagopal", "Tolga Bolukbasi", "Lucas Dixon", "Ian Tenney" ]
Poster
Training data attribution (TDA) methods aim to attribute model outputs back to specific training examples, and the application of these methods to large language model (LLM) outputs could significantly advance model transparency and data curation. However, it has been challenging to date to apply these methods to the full scale of LLM pretraining. In this paper, we refine existing gradient-based methods to work effectively at scale, allowing us to retrieve influential examples for an 8B-parameter language model from a pretraining corpus of over 160B tokens with no need for subsampling or pre-filtering. Our method combines several techniques, including optimizer state correction, a task-specific Hessian approximation, and normalized encodings, which we find to be critical for performance at scale. In quantitative evaluations on a fact tracing task, our method performs best at identifying examples that influence model predictions, but classical, model-agnostic retrieval methods such as BM25 still perform better at finding passages which explicitly contain relevant facts. These results demonstrate a misalignment between factual *attribution* and causal *influence*. With increasing model size and training tokens, we find that influence more closely aligns with factual attribution. Finally, we examine different types of examples identified as influential by our method, finding that while many directly entail a particular fact, others support the same output by reinforcing priors on relation types, common entities, and names. We release our prompt set and model outputs, along with a web-based visualization tool to explore influential examples for factual predictions, commonsense reasoning, arithmetic, and open-ended generation for an 8B-parameter LLM.
training data attribution, LLM pretraining, influence functions, factual knowledge
We present a gradient-based influence method that scales to LLM pretraining, and we demonstrate its ability to retrieve examples that influence LLM factual predictions.
13,120
2410.17413
[ -0.00567755289375782, -0.010087684728205204, -0.01712881773710251, 0.024004481732845306, 0.024357834830880165, 0.01776714064180851, 0.02072007954120636, 0.024753248319029808, -0.025931626558303833, -0.017392471432685852, -0.02641325257718563, 0.016536887735128403, -0.044555697590112686, 0.0018053040839731693, -0.0023149794433265924, 0.05308908596634865, 0.039883192628622055, -0.0032579954713582993, 0.01797928474843502, 0.01747501827776432, 0.014010163024067879, -0.03295658156275749, 0.005818251520395279, 0.005669033154845238, 0.032769396901130676, 0.009863296523690224, 0.0530044361948967, -0.018396973609924316, -0.02464533969759941, 0.033112913370132446, 0.018840981647372246, -0.03598653897643089, 0.02219441346824169, 0.006504610646516085, -0.007411188445985317, -0.0008278344757854939, -0.014448247849941254, 0.011872091330587864, 0.014741376973688602, -0.0008571256184950471, -0.048751045018434525, 0.003910666797310114, -0.03264684975147247, 0.002115004463121295, -0.059362154453992844, -0.012532941997051239, -0.10474443435668945, 0.03743681684136391, 0.036119494587183, -0.02717120386660099, -0.11106362193822861, 0.029407629743218422, -0.012122662737965584, -0.005946551449596882, 0.025690246373414993, 0.05570926144719124, 0.038172896951436996, -0.11721327900886536, -0.01685842126607895, -0.03602296859025955, -0.03339501842856407, 0.02143113873898983, 0.004729774780571461, 0.006557914428412914, 0.03249724954366684, -0.02224418707191944, -0.04109491780400276, 0.02660166099667549, -0.04011958837509155, -0.044675786048173904, -0.027125738561153412, 0.009987417608499527, -0.03100578486919403, 0.009523547254502773, -0.0076541299931705, -0.03468543663620949, 0.00227556680329144, 0.029173247516155243, 0.0547511950135231, 0.009612750262022018, -0.00014010797895025462, -0.024741586297750473, 0.03293060138821602, 0.00892891176044941, 0.028773490339517593, 0.02581583708524704, -0.00673392741009593, -0.06135927140712738, -0.0757131353020668, -0.006619735155254602, 0.006618476938456297, -0.05263848602771759, -0.0016271122731268406, 0.011390309780836105, -0.006086303386837244, -0.017267849296331406, 0.03139033913612366, 0.025195511057972908, -0.03475550562143326, -0.03565900772809982, -0.03222067654132843, -0.038015492260456085, 0.026646530255675316, 0.03858165070414543, -0.11935165524482727, -0.01394395250827074, -0.013719912618398666, 0.009031565859913826, 0.004161868244409561, 0.01960104890167713, -0.02255072444677353, -0.0050729489885270596, -0.008231701329350471, -0.016560815274715424, -0.08970171213150024, 0.002319599036127329, -0.007279785815626383, 0.0055335466749966145, 0.004094362258911133, 0.029219359159469604, 0.04712289571762085, 0.035663094371557236, 0.05113030970096588, 0.07870832830667496, -0.028116313740611076, 0.023347267881035805, 0.0038130595348775387, 0.014237112365663052, -0.02458001673221588, -0.04439803212881088, 0.028818711638450623, 0.02451600320637226, 0.02230791561305523, -0.013602087274193764, 0.004540814086794853, 0.005005162674933672, 0.005107157863676548, 0.026980413123965263, 0.04321648180484772, 0.003195484634488821, 0.022531485185027122, 0.004711040761321783, 0.06307283043861389, -0.02997354418039322, 0.044254470616579056, -0.01088804192841053, -0.056564003229141235, -0.0012015877291560173, -0.05754975229501724, 0.014759557321667671, 0.052795618772506714, 0.024089930579066277, 0.020836783573031425, -0.0420914925634861, 0.031345028430223465, 0.053974248468875885, -0.004190471023321152, -0.03235001489520073, 0.006579945329576731, 0.0313744843006134, 0.03650134429335594, 0.04065413028001785, -0.04902729392051697, 0.021255385130643845, 0.006295826286077499, -0.059325214475393295, 0.008111106231808662, -0.01242874376475811, -0.05689287930727005, 0.004846691153943539, -0.051325105130672455, -0.025863569229841232, 0.07713120430707932, -0.035327158868312836, -0.02591179683804512, 0.011131244711577892, 0.03898606449365616, -0.0034753838554024696, 0.03070996142923832, 0.049494560807943344, -0.0627552792429924, 0.049692876636981964, 0.0151438619941473, -0.032291997224092484, 0.019541412591934204, -0.010675030760467052, 0.07233826816082001, -0.01258100476115942, 0.003856977913528681, 0.048361677676439285, -0.06409164518117905, -0.0012393379583954811, 0.04994705691933632, 0.0031284219585359097, 0.0513492077589035, -0.014861887320876122, 0.025959547609090805, 0.05034800246357918, 0.0523955412209034, 0.033315397799015045, 0.0340605266392231, -0.00738164409995079, 0.0341043695807457, -0.005835305899381638, -0.01943696103990078, -0.004388940986245871, 0.0187519658356905, -0.05257273092865944, -0.058438993990421295, 0.056255877017974854, -0.039051901549100876, 0.004994716960936785, 0.002736809430643916, 0.02929132804274559, -0.015529381111264229, -0.000570703879930079, -0.0244855135679245, 0.02006509155035019, 0.009496440179646015, -0.03759035840630531, 0.05174223706126213, 0.01638517715036869, -0.007371577899903059, -0.006766253150999546, -0.047174204140901566, 0.09581112116575241, 0.04742036759853363, 0.005187724716961384, -0.005937386304140091, 0.024616790935397148, 0.0004941163933835924, 0.017033379524946213, 0.02086026966571808, -0.04207640141248703, 0.02844417281448841, -0.033016134053468704, 0.007016817573457956, -0.024571847170591354, 0.054050952196121216, -0.031874194741249084, 0.004556380677968264, 0.0549590066075325, -0.008784368634223938, 0.05757549777626991, -0.02493857406079769, 0.03091030940413475, 0.03982170671224594, 0.0009410995990037918, -0.017498165369033813, -0.025870632380247116, 0.019735543057322502, 0.007061656564474106, -0.014075123704969883, -0.03638904169201851, -0.014075754210352898, -0.009873266331851482, -0.04646547511219978, -0.003682836890220642, 0.031647007912397385, 0.0374276265501976, -0.012846574187278748, 0.015570871531963348, -0.008842570707201958, -0.06651383638381958, 0.02702755481004715, -0.08897767215967178, -0.023136436939239502, -0.03526945784687996, 0.02077287621796131, 0.007887548767030239, 0.05674918740987778, -0.02352718450129032, 0.002958923578262329, -0.04691644012928009, -0.009143714793026447, 0.03072909452021122, 0.028056731447577477, 0.009722169488668442, -0.040333669632673264, -0.00943777710199356, -0.04572295397520065, 0.0604768767952919, -0.010167374275624752, -0.029024632647633553, -0.02276669628918171, -0.05145568028092384, -0.015791485086083412, -0.028289688751101494, 0.014508973807096481, 0.028718331828713417, -0.003250539768487215, -0.0034611474256962538, -0.017599783837795258, -0.003256685333326459, 0.02682032436132431, 0.05664238706231117, 0.052150506526231766, 0.0020195753313601017, -0.003602564102038741, 0.010901364497840405, -0.02793842926621437, 0.014984752982854843, -0.012739853002130985, 0.04929324984550476, -0.009830825962126255, -0.01680808700621128, 0.01696997880935669, 0.01342925988137722, -0.2804184556007385, 0.01356598176062107, -0.0036902076099067926, -0.016932087019085884, 0.04260975494980812, -0.026636868715286255, 0.05049166828393936, -0.051454681903123856, -0.048747576773166656, -0.006289584096521139, 0.03217287361621857, 0.04021598771214485, -0.0025051364209502935, 0.04603748768568039, 0.01973900943994522, 0.05869473144412041, 0.006390738766640425, -0.019762281328439713, 0.009333721362054348, 0.0476018488407135, 0.012060298584401608, -0.03148533031344414, -0.02377462200820446, 0.08999679982662201, -0.0026198076084256172, 0.052602656185626984, -0.10425713658332825, 0.011562956497073174, -0.03524868190288544, -0.0021679135970771313, 0.021083975210785866, 0.006454742979258299, -0.03109629824757576, -0.007603530306369066, 0.0016261375276371837, -0.0337308794260025, 0.05449691042304039, 0.02389971725642681, 0.034917838871479034, -0.004973419010639191, 0.025530023500323296, -0.01185852661728859, -0.028394322842359543, -0.0071991607546806335, 0.06060348451137543, 0.017319023609161377, -0.051111381500959396, -0.027005504816770554, -0.03212999179959297, 0.03428465500473976, -0.03185543045401573, 0.0026615378446877003, -0.041258953511714935, -0.01659756526350975, 0.006117949262261391, -0.018407978117465973, 0.008405775763094425, -0.03403754532337189, -0.03653152287006378, 0.0002942067221738398, 0.003589734435081482, -0.03400931879878044, -0.01835772767663002, -0.0518699549138546, -0.016534848138689995, -0.03493689373135567, -0.05729192867875099, -0.04524896293878555, 0.01732136867940426, 0.04404469206929207, -0.034477755427360535, 0.04005828872323036, -0.019002901390194893, -0.10177578777074814, -0.0020870245061814785, -0.011673958040773869, -0.014803551137447357, -0.020959781482815742, 0.011872924864292145, 0.032226305454969406, -0.02789025567471981, -0.02595633827149868, -0.016814183443784714, -0.0011111776111647487, -0.0037399150896817446, -0.025527650490403175, 0.011501133441925049, -0.011156348511576653, -0.012609533965587616, -0.05312170833349228, 0.04353948310017586, 0.014657742343842983, 0.009932415559887886, 0.01809634454548359, 0.03975124657154083, 0.014509840868413448, 0.007236506324261427, 0.08035194873809814, 0.04258226603269577, -0.009987691417336464, 0.008546003140509129, -0.0635400041937828, -0.004252650775015354, -0.07277809828519821, -0.021575238555669785, 0.03200758248567581, -0.05239798501133919, -0.03065924160182476, -0.002968178829178214, -0.01964283362030983, -0.028277089819312096, -0.03579585999250412, -0.007162633817642927, 0.004626169800758362, -0.021803421899676323, -0.005240506958216429, -0.00958207342773676, 0.02036198228597641, 0.019544845446944237, -0.01711563766002655, -0.02944452501833439, 0.029446745291352272, -0.03274648264050484, -0.005075691733509302, 0.0011559613049030304, -0.022608976811170578, 0.0005041841650381684, -0.025572383776307106, -0.017263345420360565, 0.021986223757267, 0.01746251992881298, 0.02236359380185604, 0.003598908195272088, 0.029004549607634544, 0.04278745874762535, -0.003217977937310934, 0.020340971648693085, -0.0232606939971447, 0.013925246894359589, -0.005362353287637234, -0.02063819207251072, -0.011602804064750671, 0.02060815319418907, 0.011520219966769218, 0.06495032459497452, -0.023857856169342995, -0.006565345451235771, 0.013142645359039307, 0.0048188637010753155, -0.007130855694413185, 0.0627133771777153, -0.03303186222910881, -0.004868323914706707, -0.015607929788529873, 0.03731639310717583, 0.009861337020993233, 0.03979025036096573, -0.005612254608422518, 0.02227264828979969, -0.07746084779500961, 0.02181459218263626, -0.043006546795368195, -0.0025112382136285305, 0.027991583570837975, 0.012013955973088741, 0.005347761325538158, -0.03486228734254837, 0.00865202397108078, 0.0527082234621048, 0.004950556438416243, 0.00959034450352192, -0.024757571518421173, -0.04381011426448822, 0.01843840815126896, -0.047162752598524094, -0.005038542672991753, 0.013939905911684036, -0.006374203134328127, 0.011731310747563839, 0.04493121802806854, 0.0039002413395792246, -0.024703318253159523, -0.01367658469825983, 0.008644354529678822, 0.09095371514558792, 0.03041849285364151, -0.008763089776039124, 0.0069368695840239525, -0.04165910556912422, 0.037504833191633224, 0.001030478859320283, -0.019511833786964417, -0.01743619330227375, -0.04422767832875252, -0.03553502634167671, -0.03232242166996002, 0.017359793186187744, 0.03071633167564869, -0.005379322916269302, -0.0030697262845933437, -0.02988908439874649, -0.011162119917571545, -0.0649847686290741, -0.0037321008276194334, 0.010299385525286198, -0.06844516843557358, -0.006659131031483412, 0.021437395364046097, -0.02140960283577442, 0.03403909504413605, -0.023314842954277992, -0.053566720336675644, -0.08207117766141891, -0.025222832337021828, 0.023600423708558083, -0.05376715585589409, -0.01866627112030983, -0.025070134550333023, 0.02387581765651703, -0.005424910224974155, 0.045804213732481, -0.0038731687236577272, 0.004485915880650282, -0.013707688078284264, 0.020766908302903175, 0.04471425339579582, -0.014433770440518856, 0.006856003310531378, 0.009743824601173401, -0.04912500083446503, 0.024952946230769157, -0.036436375230550766, 0.02665192261338234, 0.05449827015399933, 0.007907419465482235, 0.01244606077671051, -0.0590355359017849, 0.06070340797305107, 0.03912881389260292, -0.029893185943365097, -0.01263152901083231, 0.01474690716713667, -0.003291028318926692, 0.0018006390891969204, -0.012069782242178917, 0.013438960537314415, -0.006677823141217232, 0.024883698672056198, 0.007082234602421522, 0.012812122702598572, 0.03110676072537899, 0.01724768802523613, -0.03742802143096924, -0.0043320623226463795, 0.060311347246170044, -0.047905150800943375, -0.04298509284853935, -0.07899346947669983, -0.05085784196853638, 0.008276735432446003, 0.007311677560210228, 0.03132423385977745, -0.031931616365909576, 0.021521346643567085, 0.028329597786068916, 0.01603243127465248, -0.0008228746592067182, 0.0002586453047115356, 0.023065367713570595, -0.03198998421430588, -0.008001779206097126, -0.05863289535045624, -0.02207018807530403, 0.049341559410095215, -0.03588135540485382, -0.013610491529107094, 0.01434040255844593, -0.041204001754522324, 0.025562360882759094, -0.03342916816473007, -0.035337407141923904, 0.017801782116293907, -0.028522759675979614, -0.01126774400472641, 0.03992246836423874, -0.04961495101451874, 0.008343616500496864, 0.01581268571317196, -0.03180705010890961, 0.012228313833475113, -0.03595452383160591, 0.053198400884866714, -0.020549388602375984, -0.02381817065179348, -0.036299992352724075, 0.02916634827852249, 0.01910395547747612, 0.055974896997213364, 0.050966303795576096, 0.03673085570335388, -0.03018398955464363, 0.08289092779159546, 0.0033857962116599083, -0.008212569169700146, 0.00017194698739331216, 0.015084423124790192, -0.04210119694471359, -0.06275805085897446, 0.08242851495742798, 0.007923386991024017, -0.018659373745322227, -0.0362711101770401, 0.07316574454307556, 0.05463433638215065, -0.02849446050822735, -0.021197644993662834, 0.03931666538119316, -0.009961866773664951, -0.019008265808224678, 0.0022518071345984936, 0.017957717180252075, -0.01978812739253044, 0.065940722823143, 0.040511347353458405, 0.06363464891910553, 0.04537804052233696, 0.0047306399792432785, 0.005209391470998526, -0.046585988253355026, 0.06916416436433792, 0.062464404851198196, 0.07212655991315842, 0.01173652708530426, 0.06074497103691101, -0.02942551113665104, -0.05143420398235321, 0.02826119400560856, 0.04227988421916962, -0.017787130549550056, -0.046015553176403046, 0.018403897061944008, 0.08921436220407486, 0.025020083412528038, 0.04994039237499237, -0.016842395067214966, -0.010041008703410625, 0.02261068858206272, 0.002717220224440098, -0.000213779610930942, 0.044263243675231934, 0.0005086625460535288, 0.037516798824071884, -0.027400635182857513, -0.030833851546049118, 0.030279239639639854, -0.01688099466264248, 0.02331894263625145, 0.01864941045641899, -0.04401054605841637, -0.008190054446458817, -0.020113630220294, 0.04646740108728409, 0.1180533692240715, -0.037937480956315994, -0.02457900531589985, 0.010861373506486416, 0.008583709597587585, -0.005039536859840155, 0.0644984170794487, -0.0013468613615259528, -0.019919557496905327, -0.0007931383443064988, -0.06532175838947296, -0.005777076352387667, 0.005718731787055731, -0.021346155554056168, 0.03194265812635422, -0.05399760231375694, -0.024065641686320305, 0.030076447874307632, 0.01992056705057621, -0.06650494784116745, -0.0462954118847847, -0.005093325395137072, -0.05555121973156929, -0.0408211275935173, -0.06597761809825897, 0.028848282992839813, 0.033521585166454315, -0.017090488225221634, -0.01420244388282299, -0.05728224292397499, 0.01086372509598732, 0.024949567392468452, -0.07608673721551895, -0.00014962667773943394, 0.03372723609209061, 0.0006924339686520398, -0.043838802725076675, 0.03374128416180611, -0.009307018481194973, 0.001406508614309132, 0.004917087033390999, 0.02823462523519993, 0.043679431080818176, 0.018261965364217758, -0.00923117995262146, -0.00019915394659619778, -0.10008637607097626, 0.012916370294988155, -0.006293673068284988, -0.050865158438682556, -0.08168388158082962, 0.020034071058034897, -0.02354106865823269, 0.021860267966985703, 0.06512483954429626, 0.03053200989961624, 0.015385572798550129, -0.009437826462090015, -0.01814749650657177, 0.03997665271162987, 0.023993363603949547, 0.06168309599161148, -0.013885198161005974, 0.07596346735954285, 0.06555997580289841, -0.017427068203687668, -0.05386766046285629, 0.0077515579760074615, -0.004517991561442614, -0.03937101736664772, 0.004870133008807898, -0.0363287627696991, -0.010308885015547276, -0.07096176594495773, 0.004719014745205641, 0.03658030554652214, -0.02596208266913891, -0.033506639301776886, -0.012263098731637001, -0.04177403822541237, -0.026142679154872894, 0.016428157687187195, 0.021038316190242767, 0.023788820952177048, -0.01992502249777317, -0.0471356138586998, -0.046499546617269516, 0.0038813878782093525, -0.0036181695759296417, -0.002101281890645623, -0.048313722014427185, -0.04067806899547577, 0.014151697978377342, 0.001510922098532319, 0.08181033283472061, -0.0038768434897065163, 0.03565547242760658, -0.021395305171608925 ]