Where Should Optimizer State Live? Tiered State Allocation for Memory-Efficient Mixture-of-Experts Training
Summary
SkewAdam is a novel optimizer for mixture-of-experts models that tier allocates optimizer state across backbone, experts, and router, reducing memory footprint to 2.6% of AdamW while achieving better validation perplexity in controlled comparisons.
View Cached Full Text
Cached at: 07/22/26, 10:42 AM
Paper page - Where Should Optimizer State Live? Tiered State Allocation for Memory-Efficient Mixture-of-Experts Training
Source: https://huggingface.co/papers/2607.19058
Abstract
Optimizerstateisthelargestsinglelineiteminthememorybudgetofmixture-of-experts(MoE)training:ona6.78B-parameterMoElanguagemodel,AdamWkeeps50.6GBoffirstandsecondmomentstoupdate12.6GBofbfloat16weights.WestudySkewAdam,anoptimizerbuiltontheobservationthatthethreeparameterpopulationsofanMoE-thedensebackbone,theexperts,andtherouter-differenoughinsizeandgradientstatisticsthattheyshouldnotreceivethesamestate.SkewAdamkeepsfloat32momentumplusafactoredsecondmomentforthebackbone(5%ofparameters),afactoredsecondmomentalonefortheexperts(95%),andanexactsecondmomentfortherouter(<0.01%).Theresultingstateoccupies1.29GB,2.6%ofAdamW’s,andpeaktrainingmemoryfallsfrom81.4GBto31.3GB,withinthebudgetofa40GBaccelerator.Inacontrolledcomparisonfromidenticalinitializationsover82Mtokens,SkewAdamreachesvalidationperplexity108.4,aheadofAdamW(126.8),Muon(120.2),andLion(393.7),andsettlesrouterloadbalancetowithin1%ofitsuniformfloor.Theallocationisnotwhatearnsthatperplexity:atierablationmatchesitwithtwentytimesthestate,andAdafactor,whichsharesthefactoredestimatorbutdropsmomentum,plateaus40pointsbehind.Thetiersbuymemoryatnocosttoaccuracy;theaccuracycomesfromkeepingmomentum,whichauniformoptimizersharestoo.Sweepingthebaselines’learningratesnarrowsbutdoesnotclosethegap:thebesttunedAdamWreaches118.5,tunedAdafactor139.7.Whereoptimizerstatelives,theseresultssuggest,mattersatleastasmuchashowmuchofitthereis.
View arXiv pageView PDFGitHub1Add to collection
Get this paper in your agent:
hf papers read 2607\.19058
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2607.19058 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2607.19058 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2607.19058 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
SkewAdam: A tiered optimizer that cuts MoE state memory by 97% (fits a 6.7B MoE on a 40GB GPU) [R]
SkewAdam is a tiered optimizer that reduces memory usage for MoE state by 97%, enabling a 6.7B MoE model to fit on a single 40GB GPU.
MESH: Memory-Efficient Sinkhorn Optimization for Mixture-of-Experts Training
This paper introduces MESH, a memory-efficient Sinkhorn-based optimizer for Mixture-of-Experts (MoE) training that restores temporal momentum without storing full optimizer state, reducing memory by 62.5% while maintaining competitive evaluation loss compared to AdamW.
Gefen: Optimized Stochastic Optimizer
Gefen is a memory-efficient optimizer that reduces AdamW's memory footprint by ~8x by automatically sharing second-moment estimates and quantizing the first moment using a learned codebook, while maintaining AdamW-level performance.
Compute-Optimal Is Not Cluster-Optimal: Systems-Aware Scaling for Sparse Mixture-of-Experts
This paper introduces MOSAIC, a framework that jointly optimizes sparse Mixture-of-Experts model architecture and hardware systems for large-scale pretraining, showing that compute-optimal sparsity is not necessarily cluster-optimal when MFU, communication costs, and parallel layouts are considered.
MawForge: Memory-Bounded Expert Materialization for Local Mixture-of-Experts Inference
MawForge presents a memory-bounded approach for serving large Mixture-of-Experts (MoE) language models on constrained unified-memory machines by storing the full model on disk and materializing expert tensors into a bounded cache on demand. Experiments on a MacBook Pro M5 Pro demonstrate effective serving of 34GB and 25GB models within a 24GB memory envelope, with analysis of cache size trade-offs and speculative decoding results.