COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMs
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated remarkable success across various domains, yet their optimization remains a significant challenge due to the complex and high-dimensional loss landscapes they inhabit. While adaptive optimizers such as AdamW are widely used, they suffer from critical limitations, including an inability to capture interdependencies between coordinates and high memory consumption. Subsequent research, exemplified by SOAP, attempts to better capture coordinate interdependence but incurs greater memory overhead, limiting scalability for massive LLMs. An alternative approach aims to reduce memory consumption through low-dimensional projection, but this leads to substantial approximation errors, resulting in less effective optimization (e.g., in terms of per-token efficiency). In this paper, we propose COSMOS, a novel hybrid optimizer that leverages the varying importance of eigensubspaces in the gradient matrix to achieve memory efficiency without compromising optimization performance. The design of COSMOS is motivated by our empirical insights and practical considerations. Specifically, COSMOS applies SOAP to the leading eigensubspace, which captures the primary optimization dynamics, and MUON to the remaining eigensubspace, which is less critical but computationally expensive to handle with SOAP. This hybrid strategy significantly reduces memory consumption while maintaining robust optimization performance, making it particularly suitable for massive LLMs. Numerical experiments on various datasets and transformer architectures are provided to demonstrate the effectiveness of COSMOS. Our code is available at https://github.com/lliu606/COSMOS.
Key facts. Cited by 30 papers in the map (data through 13 Oct 2026). Builds on 36 of its 50 references that are in the map. First posted on arXiv 24 Feb 2025.
Builds on
36 of 50 references.
References · 36
- 2014Adam: A Method for Stochastic Optimizationcited by 37,093
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2023GPT-4 Technical Reportcited by 18,278
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,549
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
- 2020Scaling Laws for Neural Language Modelscited by 6,494
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,628
- 2016Pointer Sentinel Mixture Modelscited by 3,047
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,126
- 2021Scaling Vision Transformerscited by 998
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 939
24 more
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 900
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 787
- 2024OLMo: Accelerating the Science of Language Modelscited by 605
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 456
- 2023Symbolic Discovery of Optimization Algorithmscited by 425
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 420
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 262
- 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 186
- 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 144
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuningcited by 89
- 2024Modular Duality in Deep Learningcited by 74
- 2023A Distributed Data-Parallel PyTorch Implementation of the Distributed Shampoo Optimizer for Training Neural Networks At-Scalecited by 73
- 2023Benchmarking Neural Network Training Algorithmscited by 50
- 2023Kronecker-Factored Approximate Curvature for Modern Neural Network Architecturescited by 49
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
- 2024Memory-Efficient LLM Training with Online Subspace Descentcited by 38
- 2018Large-Scale Distributed Second-Order Optimization Using Kronecker-Factored Approximate Curvature for Deep Convolutional Neural Networkscited by 37
- 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspectivecited by 25
- 20244-bit Shampoo for Memory-Efficient Network Trainingcited by 17
- 2020A Trace-restricted Kronecker-Factored Approximation to Natural Gradientcited by 11
- 2022Randomized K-FACs: Speeding up K-FAC with Randomized Numerical Linear Algebracited by 3
- 2022Brand New K-FACs: Speeding up K-FAC with Online Decomposition Updatescited by 2
Built on by
Citing papers per year: 2025: 12; 2026: 18.
30 papers.
Sort:
- 2025NorMuon: Making Muon more efficient and scalablecited by 79
- 2025Dion: Distributed Orthonormalized Updatescited by 67
- 2025ASGO: Adaptive Structured Gradient Optimizationcited by 55
- 2025Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noisecited by 40
- 2026Convergence of Muon with Newton-Schulzcited by 33
- 2025On the Convergence of Muon and Beyondcited by 29
- 2025Convergence Bound and Critical Batch Size of Muon Optimizercited by 26
- 2025AdaGrad Meets Muon: Adaptive Stepsizes for Orthogonal Updatescited by 23
- 2025Low-rank Orthogonalization for Large-scale Matrix Optimization with Applications to Foundation Model Trainingcited by 18
- 2026RMNP: Row-Momentum Normalized Preconditioning for Scalable Matrix-Based Optimizationcited by 14
- 2026HTMuon: Improving Muon via Heavy-Tailed Spectral Correctioncited by 12
- 2025FedMuon: Federated Learning with Bias-corrected LMO-based Optimizationcited by 8
18 more
- 2026Accelerating LLM Pre-Training through Flat-Direction Dynamics Enhancementcited by 8
- 2025Conda: Column-Normalized Adam for Training Large Language Models Fastercited by 5
- 2025Ky Fan Norms and Beyond: Dual Norms and Combinations for Matrix Optimizationcited by 4
- 2026Decoupling Variance and Scale-Invariant Updates in Adaptive Gradient Descent for Unified Vector and Matrix Optimizationcited by 4
- 2025On the Convergence Analysis of Muoncited by 2
- 2026A unified convergence theory for adaptive first-order methods in the nonconvex case, including AdaNorm, full and diagonal AdaGrad and Muoncited by 2
- 2026Budget-aware Auto Optimizer Configuratorcited by 1
- 2026Pro-KLShampoo: Projected KL-Shampoo with Whitening Recovered by Orthogonalizationcited by 1
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Studycited by 1
- 2026Convergence of Spectral Descent for Non-smooth Optimizationcited by 1
- 2026OPTScientist: Multi-Agent Discovery of Typed Optimizer Programs for Transformer Pretrainingcited by 1
- 2026Lotus: Efficient LLM Training by Randomized Low-Rank Gradient Projection with Adaptive Subspace Switchingcited by 0
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iterationcited by 0
- 2026MuonQ: Enhancing Low-Bit Muon Quantization via Directional Fidelity Optimizationcited by 0
- 2026AMO: Operator-level Adaptive Muon Orthogonalizationcited by 0
- 2026OmniOpt: Taxonomy, Geometry, and Benchmarking of Modern Optimizerscited by 0
- 2026Blog: Survey of Optimizerscited by 0
- 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketchingcited by 0
- 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketching3 Oct 2026
- 2026Blog: Survey of Optimizers28 Aug 2026
- 2026OmniOpt: Taxonomy, Geometry, and Benchmarking of Modern Optimizers4 Jul 2026
- 2026OPTScientist: Multi-Agent Discovery of Typed Optimizer Programs for Transformer Pretraining2 Jun 2026
- 2026Convergence of Spectral Descent for Non-smooth Optimization26 May 2026
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study26 May 2026
- 2026AMO: Operator-level Adaptive Muon Orthogonalization18 May 2026
- 2026MuonQ: Enhancing Low-Bit Muon Quantization via Directional Fidelity Optimization12 May 2026
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iteration9 May 2026
- 2026Pro-KLShampoo: Projected KL-Shampoo with Whitening Recovered by Orthogonalization7 May 2026
- 2026Budget-aware Auto Optimizer Configurator6 May 2026
- 2026A unified convergence theory for adaptive first-order methods in the nonconvex case, including AdaNorm, full and diagonal AdaGrad and Muon19 Apr 2026
18 more
- 2026RMNP: Row-Momentum Normalized Preconditioning for Scalable Matrix-Based Optimization20 Mar 2026
- 2026HTMuon: Improving Muon via Heavy-Tailed Spectral Correction10 Mar 2026
- 2026Accelerating LLM Pre-Training through Flat-Direction Dynamics Enhancement26 Feb 2026
- 2026Decoupling Variance and Scale-Invariant Updates in Adaptive Gradient Descent for Unified Vector and Matrix Optimization6 Feb 2026
- 2026Lotus: Efficient LLM Training by Randomized Low-Rank Gradient Projection with Adaptive Subspace Switching1 Feb 2026
- 2026Convergence of Muon with Newton-Schulz27 Jan 2026
- 2025Ky Fan Norms and Beyond: Dual Norms and Combinations for Matrix Optimization10 Dec 2025
- 2025NorMuon: Making Muon more efficient and scalable7 Oct 2025
- 2025FedMuon: Federated Learning with Bias-corrected LMO-based Optimization30 Sep 2025
- 2025Conda: Column-Normalized Adam for Training Large Language Models Faster29 Sep 2025
- 2025On the Convergence of Muon and Beyond19 Sep 2025
- 2025Low-rank Orthogonalization for Large-scale Matrix Optimization with Applications to Foundation Model Training15 Sep 2025
- 2025AdaGrad Meets Muon: Adaptive Stepsizes for Orthogonal Updates3 Sep 2025
- 2025Convergence Bound and Critical Batch Size of Muon Optimizer2 Jul 2025
- 2025Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noise4 Jun 2025
- 2025On the Convergence Analysis of Muon29 May 2025
- 2025Dion: Distributed Orthonormalized Updates7 Apr 2025
- 2025ASGO: Adaptive Structured Gradient Optimization26 Mar 2025
- 2025NorMuon: Making Muon more efficient and scalablecited by 79
- 2025Dion: Distributed Orthonormalized Updatescited by 67
- 2025ASGO: Adaptive Structured Gradient Optimizationcited by 55
- 2025Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noisecited by 40
- 2026Convergence of Muon with Newton-Schulzcited by 33
- 2025On the Convergence of Muon and Beyondcited by 29
- 2025Convergence Bound and Critical Batch Size of Muon Optimizercited by 26
- 2025AdaGrad Meets Muon: Adaptive Stepsizes for Orthogonal Updatescited by 23
- 2025Low-rank Orthogonalization for Large-scale Matrix Optimization with Applications to Foundation Model Trainingcited by 18
- 2026RMNP: Row-Momentum Normalized Preconditioning for Scalable Matrix-Based Optimizationcited by 14
- 2026HTMuon: Improving Muon via Heavy-Tailed Spectral Correctioncited by 12
- 2025FedMuon: Federated Learning with Bias-corrected LMO-based Optimizationcited by 8
12 most cited of 30 All 30 (JSON)
- 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketching3 Oct 2026
- 2026Blog: Survey of Optimizers28 Aug 2026
- 2026OmniOpt: Taxonomy, Geometry, and Benchmarking of Modern Optimizers4 Jul 2026
- 2026OPTScientist: Multi-Agent Discovery of Typed Optimizer Programs for Transformer Pretraining2 Jun 2026
- 2026Convergence of Spectral Descent for Non-smooth Optimization26 May 2026
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study26 May 2026
- 2026AMO: Operator-level Adaptive Muon Orthogonalization18 May 2026
- 2026MuonQ: Enhancing Low-Bit Muon Quantization via Directional Fidelity Optimization12 May 2026
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iteration9 May 2026
- 2026Pro-KLShampoo: Projected KL-Shampoo with Whitening Recovered by Orthogonalization7 May 2026
- 2026Budget-aware Auto Optimizer Configurator6 May 2026
- 2026A unified convergence theory for adaptive first-order methods in the nonconvex case, including AdaNorm, full and diagonal AdaGrad and Muon19 Apr 2026
12 newest of 30 All 30 (JSON)