Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training
Not on the map. Why?
Abstract (arXiv)
Given the massive cost of language model pre-training, a non-trivial improvement of the optimization algorithm would lead to a material reduction on the time and cost of training. Adam and its variants have been state-of-the-art for years, and more sophisticated second-order (Hessian-based) optimizers often incur too much per-step overhead. In this paper, we propose Sophia, Second-order Clipped Stochastic Optimization, a simple scalable second-order optimizer that uses a light-weight estimate of the diagonal Hessian as the pre-conditioner. The update is the moving average of the gradients divided by the moving average of the estimated Hessian, followed by element-wise clipping. The clipping controls the worst-case update size and tames the negative impact of non-convexity and rapid change of Hessian along the trajectory. Sophia only estimates the diagonal Hessian every handful of iterations, which has negligible average per-step time and memory overhead. On language modeling with GPT models of sizes ranging from 125M to 1.5B, Sophia achieves a 2x speed-up compared to Adam in the number of steps, total compute, and wall-clock time, achieving the same perplexity with 50% fewer steps, less total compute, and reduced wall-clock time. Theoretically, we show that Sophia, in a much simplified setting, adapts to the heterogeneous curvatures in different parameter dimensions, and thus has a run-time bound that does not depend on the condition number of the loss.
Key facts. Cited by 260 papers in the map (data through 7 Oct 2026). Builds on 47 of its 83 references that are in the map. First posted on arXiv 23 May 2023.
Builds on
47 of 83 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
35 more
- 2021Convex optimizationcited by 2,479
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2019On the Convergence of Adam and Beyondcited by 834
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 561
- 2014New insights and perspectives on the natural gradient methodcited by 435
- 2023Symbolic Discovery of Optimization Algorithmscited by 423
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
- 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 335
- 2019PyHessian: Neural Networks Through the Lens of the Hessiancited by 291
- 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 289
- 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 282
- 2019Limitations of the Empirical Fisher Approximation for Natural Gradient Descentcited by 213
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2017Regularizing and Optimizing LSTM Language Modelscited by 205
- 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 201
- 2013Revisiting Natural Gradient for Deep Networkscited by 157
- 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 156
- 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 143
- 2017Practical Gauss-Newton Optimisation for Deep Learningcited by 139
- 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 138
- 2017Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradientscited by 136
- 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
- 2021How to Train BERT with an Academic Budgetcited by 80
- 2022Robustness to Unbounded Smoothness of Generalized SignSGDcited by 80
- 2020The Implicit and Explicit Regularization Effects of Dropoutcited by 71
- 2020A Deeper Look at the Hessian Eigenspectrum of Deep Neural Networks and its Applications to Regularizationcited by 44
- 2021Stability and Convergence of Stochastic Gradient Clipping: Beyond Lipschitz Continuity and Smoothnesscited by 37
- 2020On the Promise of the Stochastic Generalized Gauss-Newton Method for Training DNNscited by 18
- 2021Doubly Adaptive Scaled Algorithm for Machine Learning Using Second-Order Informationcited by 16
Built on by
Citing papers per year: 2023: 24; 2024: 79; 2025: 77; 2026: 80.
260 papers.
Sort:
By area:
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
- 2025Muon is Scalable for LLM Trainingcited by 381
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
- 2024Rethinking Machine Unlearning for Large Language Modelscited by 247
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 179
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2024SOUL: Unlocking the Power of Second-Order Optimization for LLM Unlearningcited by 104
- 2024Understanding Emergent Abilities of Language Models from the Loss Perspectivecited by 94
- 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuningcited by 88
- 2025Muon Optimizes Under Spectral Norm Constraintscited by 77
38 more
- 2024Variational Learning is Effective for Large Deep Networkscited by 62
- 2024MARS: Unleashing the Power of Variance Reduction for Training Large Modelscited by 59
- 2024Implicit Bias of AdamW: ℓ_∞ Norm Constrained Optimizationcited by 54
- 2024A New Perspective on Shampoo's Preconditionercited by 54
- 2024Second-Order Fine-Tuning without Pain for LLMs:A Hessian Informed Zeroth-Order Optimizercited by 51
- 2024Knowledge Mechanisms in Large Language Models: A Survey and Perspectivecited by 50
- 2024The AdEMAMix Optimizer: Better, Faster, Oldercited by 47
- 2024How to set AdamW's weight decay as you scale model and dataset sizecited by 42
- 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
- 2025Power Lines: Scaling Laws for Weight Decay and Batch Size in LLM Pre-trainingcited by 41
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 40
- 2025In Search of Adam's Secret Saucecited by 40
- 2024Memory3: Language Modeling with Explicit Memorycited by 39
- 2023Early Weight Averaging meets High Learning Rates for LLM Pre-trainingcited by 36
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 36
- 2024Getting More Juice Out of the SFT Data: Reward Learning from Human Demonstration Improves SFT for LLM Alignmentcited by 32
- 2024A Survey of Small Language Modelscited by 31
- 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
- 2025Structured Preconditioners in Adaptive Optimization: A Unified Analysiscited by 30
- 2025COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMscited by 28
- 2025On the Convergence of Muon and Beyondcited by 28
- 2024MiniPLM: Knowledge Distillation for Pre-Training Language Modelscited by 27
- 2025The Sharpness Disparity Principle in Transformers for Accelerating Language Model Pre-Trainingcited by 27
- 2023How to Protect Copyright Data in Optimization of Large Language Models?cited by 26
- 2023DPZero: Private Fine-Tuning of Language Models without Backpropagationcited by 26
- 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspectivecited by 25
- 2024WAGLE: Strategic Weight Attribution for Effective and Modular Unlearning in Large Language Modelscited by 25
- 2024Surge Phenomenon in Optimal Learning Rate and Batch Size Scalingcited by 22
- 2024AdaGrad under Anisotropic Smoothnesscited by 22
- 2025Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimizationcited by 21
- 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
- 2024MicroAdam: Accurate Adaptive Optimization with Low Space Overhead and Provable Convergencecited by 19
- 2024Transformers Struggle to Learn to Searchcited by 19
- 2023Just One Byte (per gradient): A Note on Low-Bandwidth Decentralized Language Model Finetuning Using Shared Randomnesscited by 18
- 2025Tool Unlearning for Tool-Augmented LLMscited by 17
- 2025The Potential of Second-Order Optimization for LLMs: A Study with Full Gauss-Newtoncited by 17
- 20244-bit Shampoo for Memory-Efficient Network Trainingcited by 16
- 2023Why Softmax Attention Outperforms Linear Attentioncited by 15
50 most cited of 260 All 260 (JSON)
- 2026FedMIX-P: Mixing Local and Global Preconditioners for Federated Vision and Language Model Training1 Oct 2026
- 2026Learning Rate Transfer for Hybrid Transformer-SSM Architectures1 Oct 2026
- 2026Optimizer-dependent training dynamics converge to the same one-third optimal data scaling29 Sep 2026
- 2026Normalize-Then-Precondition: A Hierarchical Approach to Marginal Scale and Interaction Geometry for LLM Training29 Sep 2026
- 2026Relative Generalization Invariance of LLM Pretraining26 Sep 2026
- 2026Convergence guarantees for Muon: New parameter regimes and generalizations24 Sep 2026
- 2026Adaptive Forgetting for Nonstationary Optimization: Towards Robust EEG Decoding21 Sep 2026
- 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attention21 Sep 2026
- 2026FedSubMuon: Communication-Efficient Federated LLM Fine-Tuning via Structured Subspace Muon5 Sep 2026
- 2026Scalable Kronecker-Fisher Approximation: Efficient Hessian Analysis for Billion-Parameter Language Models Compression2 Sep 2026
- 2026Gradient-Update Mismatch: Rethinking Conflict-Free Training of Physics-Informed Neural Networks1 Sep 2026
- 2026Blog: Survey of Optimizers28 Aug 2026
38 more
- 2026Astar: Learning to Propose Evolution Directions for Self-Evolving Industrial AI Systems27 Aug 2026
- 2026Effective Learning Rate Governs Loss Dynamics in Language Model Pretraining25 Aug 2026
- 2026Guided Riemannian Optimization (GuRO): Bridging Model Predictive Control and Decision Transformers24 Aug 2026
- 2026A Physical Response-and-Memory Model for Muon Optimization24 Aug 2026
- 2026MALT: Lightweight Curvature-Aware Muon via Diagonal Preconditioning5 Aug 2026
- 2026Guiding Posterior Exploration with Optimizer-Derived Geometry28 Jul 2026
- 2026Understanding Machine Unlearning Through the Lens of Mode Connectivity27 Jul 2026
- 2026Causal Optimizer Interaction Calculus: Hidden Geometric Relaxation and Identifiable Interventions8 Jul 2026
- 2026PsiLogic: Chaos-Aware Active Cancellation for Adam with a Fair Cross-Domain Benchmark5 Jul 2026
- 2026Curvature-Weighted Gradient Diversity: A Noise Measure for Geometry-Adaptive SGD Schedules29 Jun 2026
- 2026Training for the Model You Return: Improving Optimization for Iterate-Averaged Language Models23 Jun 2026
- 2026SOAP-Bubbles: Structured Weight Uncertainty for Neural Networks22 Jun 2026
- 2026Small Initialization Matters for Large Language Models16 Jun 2026
- 2026MGUP: A Momentum-Gradient Alignment Update Policy for Stochastic Optimization16 Jun 2026
- 2026Zeta: Dual Whitening for Matrix Optimization via Coordinate-Adaptive Preconditioning12 Jun 2026
- 2026Gefen: Optimized Stochastic Optimizer11 Jun 2026
- 2026Nonreversible Gauge Fields in Fokker--Planck Dynamics: Supersymmetric Hamiltonians and Learned Finite Forces4 Jun 2026
- 2026OPTScientist: Multi-Agent Discovery of Typed Optimizer Programs for Transformer Pretraining2 Jun 2026
- 2026MAdam: Metric-Aware Multi-Objective Adam2 Jun 2026
- 2026Beyond ℓ2-norm and ℓ_∞-norm: A Curvature-Inspired ℓp-Norm Scheme for Deep Neural Networks1 Jun 2026
- 2026D3: Dynamic Directional Graph-Constrained Data Scheduling for LLM Training29 May 2026
- 2026PILOT: Policy-Informed Learned Optimization for Adaptive Deep Network Training23 May 2026
- 2026TBP-mHC: full expressivity for manifold-constrained hyper connections through transportation polytopes20 May 2026
- 2026Correcting Stochastic Update Bias in Preconditioned Language Model Optimizers20 May 2026
- 2026Ada2MS: A Hybrid Optimization Algorithm Based on Exponential Mixing of Elementwise and Global Second-Moment Estimates19 May 2026
- 2026Randomized Advantage Transformation (RAT): Computing Natural Policy Gradients via Direct Backpropagation18 May 2026
- 2026AMO: Operator-level Adaptive Muon Orthogonalization18 May 2026
- 2026Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Design15 May 2026
- 2026OrScale: Orthogonalised Optimization with Layer-Wise Trust-Ratio Scaling8 May 2026
- 2026Pre-training Enables Extraordinary All-optical Image Denoising8 May 2026
- 2026When Descent Is Too Stable: Event-Triggered Hamiltonian Learning to Optimize7 May 2026
- 2026Fast Gauss-Newton for Multiclass Cross-Entropy7 May 2026
- 2026Nora: Normalized Orthogonal Row Alignment for Scalable Matrix Optimizer5 May 2026
- 2026Anon: Extrapolating Adaptivity Beyond SGD and Adam4 May 2026
- 2026Inter-Layer Hessian Analysis of Neural Networks with DAG Architectures13 Apr 2026
- 2026Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minima10 Apr 2026
- 2026STQuant: Spatio-Temporal Adaptive Framework for Optimizer Quantization in Large Multimodal Model Training8 Apr 2026
- 2026FlowAdam: Implicit Regularization via Geometry-Aware Soft Momentum Injection8 Apr 2026
50 newest of 260 All 260 (JSON)
- 2024SOUL: Unlocking the Power of Second-Order Optimization for LLM Unlearningcited by 104
- 2024WAGLE: Strategic Weight Attribution for Effective and Modular Unlearning in Large Language Modelscited by 25
- 2025SoK: Machine Unlearning for Large Language Modelscited by 9
- 2025Downgrade to Upgrade: Optimizer Simplification Enhances Robustness in LLM Unlearningcited by 4
- 2026Gauss-Newton Unlearning for the LLM Eracited by 4
- 2025Lacuna Inc. at SemEval-2025 Task 4: LoRA-Enhanced Influence-Based Unlearning for LLMscited by 1
- 2025Understanding Machine Unlearning Through the Lens of Mode Connectivitycited by 0
- 2025SIMU: Selective Influence Machine Unlearningcited by 0
- 2026A Robust Certified Machine Unlearning Method Under Distribution Shiftcited by 0
- 2026Understanding Machine Unlearning Through the Lens of Mode Connectivitycited by 0
- 2026Understanding Machine Unlearning Through the Lens of Mode Connectivity27 Jul 2026
- 2026Gauss-Newton Unlearning for the LLM Era11 Feb 2026
- 2026A Robust Certified Machine Unlearning Method Under Distribution Shift11 Jan 2026
- 2025SIMU: Selective Influence Machine Unlearning9 Oct 2025
- 2025Downgrade to Upgrade: Optimizer Simplification Enhances Robustness in LLM Unlearning1 Oct 2025
- 2025SoK: Machine Unlearning for Large Language Models10 Jun 2025
- 2025Lacuna Inc. at SemEval-2025 Task 4: LoRA-Enhanced Influence-Based Unlearning for LLMs4 Jun 2025
- 2025Understanding Machine Unlearning Through the Lens of Mode Connectivity8 Apr 2025
- 2024WAGLE: Strategic Weight Attribution for Effective and Modular Unlearning in Large Language Models23 Oct 2024
- 2024SOUL: Unlocking the Power of Second-Order Optimization for LLM Unlearning28 Apr 2024
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
- 2025Tool Unlearning for Tool-Augmented LLMscited by 17
- 2026Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Designcited by 3
- 2026HumanStudy-Bench: Towards AI Agent Design for Participant Simulationcited by 2
- 2026CliffSearch: Structured Agentic Co-Evolution over Theory and Code for Scientific Algorithm Discoverycited by 0
- 2026Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Design15 May 2026
- 2026CliffSearch: Structured Agentic Co-Evolution over Theory and Code for Scientific Algorithm Discovery1 Apr 2026
- 2026HumanStudy-Bench: Towards AI Agent Design for Participant Simulation31 Jan 2026
- 2025Tool Unlearning for Tool-Augmented LLMs3 Feb 2025
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Security10 Jan 2024
- 2024Rethinking Machine Unlearning for Large Language Modelscited by 247
- 2025On Learning Verifiers and Implications to Chain-of-Thought Reasoningcited by 6
- 2026Why GRPO Needs Normalization: A Local-Curvature Perspective on Adaptive Gradientscited by 4
- 2025GraphMind: Theorem Selection and Conclusion Generation Framework with Dynamic GNN for LLM Reasoningcited by 2
- 2026Why GRPO Needs Normalization: A Local-Curvature Perspective on Adaptive Gradients30 Jan 2026
- 2025GraphMind: Theorem Selection and Conclusion Generation Framework with Dynamic GNN for LLM Reasoning24 Nov 2025
- 2025On Learning Verifiers and Implications to Chain-of-Thought Reasoning28 May 2025
- 2024Rethinking Machine Unlearning for Large Language Models13 Feb 2024
- 2025Muon is Scalable for LLM Trainingcited by 381
- 2025HessFormer: Hessians at Foundation Scalecited by 4
- 2025Muon: Training and Trade-offs with Latent Attention and MoEcited by 3
- 2026Revisiting Incremental Stochastic Majorization-Minimization Algorithms with Applications to Mixture of Expertscited by 0
- 2026Revisiting Incremental Stochastic Majorization-Minimization Algorithms with Applications to Mixture of Experts27 Jan 2026
- 2025Muon: Training and Trade-offs with Latent Attention and MoE29 Sep 2025
- 2025HessFormer: Hessians at Foundation Scale16 May 2025
- 2025Muon is Scalable for LLM Training24 Feb 2025
- 2024Memory3: Language Modeling with Explicit Memorycited by 39
- 2024Memory3: Language Modeling with Explicit Memory1 Jul 2024
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 179
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2024Understanding Emergent Abilities of Language Models from the Loss Perspectivecited by 94
- 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuningcited by 88
- 2025Muon Optimizes Under Spectral Norm Constraintscited by 77
- 2024Variational Learning is Effective for Large Deep Networkscited by 62
- 2024MARS: Unleashing the Power of Variance Reduction for Training Large Modelscited by 59
- 2024Implicit Bias of AdamW: ℓ_∞ Norm Constrained Optimizationcited by 54
- 2024A New Perspective on Shampoo's Preconditionercited by 54
12 most cited of 229 All 229 (JSON)
- 2026FedMIX-P: Mixing Local and Global Preconditioners for Federated Vision and Language Model Training1 Oct 2026
- 2026Learning Rate Transfer for Hybrid Transformer-SSM Architectures1 Oct 2026
- 2026Optimizer-dependent training dynamics converge to the same one-third optimal data scaling29 Sep 2026
- 2026Normalize-Then-Precondition: A Hierarchical Approach to Marginal Scale and Interaction Geometry for LLM Training29 Sep 2026
- 2026Relative Generalization Invariance of LLM Pretraining26 Sep 2026
- 2026Convergence guarantees for Muon: New parameter regimes and generalizations24 Sep 2026
- 2026Adaptive Forgetting for Nonstationary Optimization: Towards Robust EEG Decoding21 Sep 2026
- 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attention21 Sep 2026
- 2026FedSubMuon: Communication-Efficient Federated LLM Fine-Tuning via Structured Subspace Muon5 Sep 2026
- 2026Scalable Kronecker-Fisher Approximation: Efficient Hessian Analysis for Billion-Parameter Language Models Compression2 Sep 2026
- 2026Gradient-Update Mismatch: Rethinking Conflict-Free Training of Physics-Informed Neural Networks1 Sep 2026
- 2026Blog: Survey of Optimizers28 Aug 2026
12 newest of 229 All 229 (JSON)