Memory-Efficient LLM Pretraining via Minimalist Optimizer Design

Athanasios Glentis, Jiaxiang Li, Andi Han, Mingyi Hong

TL;DR

The SCALE optimizer achieves state-of-the-art large language model (LLM) pretraining performance by making minimal, targeted modifications to plain Stochastic Gradient Descent (SGD). By combining column-wise gradient normalization across all layers with first-order momentum applied exclusively to the final output layer, SCALE matches or exceeds Adam’s performance while slashing optimizer memory consumption by 35% to 65%.

What Problem Does This Paper Address?

Training state-of-the-art LLMs typically requires adaptive optimizers like Adam. While highly effective, Adam is incredibly memory-intensive because it tracks both first-order (momentum) and second-order (variance) statistics for every single parameter. This triples the memory required for model states compared to vanilla SGD, creating a massive bottleneck for scaling.

Conversely, vanilla SGD is highly memory-efficient but performs terribly during LLM pretraining because it lacks adaptive scaling.

Figure 2. Comparison of SGD and Adam training loss and evalua- tion perplexity curves on LLaMA 130M model. Clearly, SGD is not converging to any reasonable level of perplexity. The Adam and SGD learning rates are 3e-3 and 0.1, respectively. We search with multiple learning rates for SGD; for lower ones the loss de- creases even slower and higher ones cause the training to diverge.

Recent memory-efficient alternatives like GaLore, Fira, and APOLLO attempt to compress Adam's states using low-rank projections (like SVD). However, these methods introduce computational overhead and often resort to running full Adam on the embedding and output layers to maintain stability, which limits their potential memory savings on smaller or medium-sized models. The authors of this paper ask a fundamental question: What are the absolute minimum modifications needed to make plain SGD perform as well as Adam?

Methods

The authors take a bottom-up approach to isolate the most critical components of successful optimizers, resulting in SCALE (Sochastic Column-normAlized Last-layer momEntum). SCALE introduces two minimalist modifications to SGD:

  1. Column-wise Gradient Normalization: Instead of element-wise normalization (like Adam) or computationally heavy singular-value normalization (like Muon), SCALE normalizes the gradient matrix along its output dimension (columns). This has a simple closed-form solution, requires zero extra memory, and adds negligible computational overhead.
  2. Last-layer Momentum: Rather than maintaining momentum tracking for the entire network, SCALE applies first-order momentum only to the weights of the final linear projection layer (the language modeling head, or LM-head). The rest of the network operates without any momentum states.

Datasets

The optimizer was evaluated by pretraining several model architectures on the C4 (Colossal Clean Crawled Corpus) dataset, including:

  • LLaMA configurations ranging from 60M to 7B parameters.
  • Qwen2-500M
  • GPT2-Medium (355M)
  • Gemma-2B

For downstream evaluation, the authors also performed full fine-tuning on the GLUE benchmark using a pretrained RoBERTa-base model.

Key Insights and Ideas

  • The LM-Head is a Variance Bottleneck: Through empirical variance analysis, the authors discovered that gradient variance is not distributed evenly across an LLM; it is overwhelmingly concentrated in the final output layer (the LM-head). Adding momentum exclusively to this layer provides almost all the stability benefits of full-network momentum at a fraction of the memory cost.
  • Why Row-wise Normalization Fails: Normalizing gradients row-wise causes massive gradient spikes (up to absolute values of 150) in the LM-head, destabilizing training. This happens because frequent tokens generate massive column norms in the unnormalized gradient matrix. Column-wise normalization naturally mitigates this token-frequency imbalance, leading to stable training dynamics.

Key Results

  • Pareto Frontier Efficiency: Across LLaMA models from 60M to 1B parameters, SCALE matched or outperformed Adam and Stable-SPAM while utilizing only 35% to 65% of the memory.
Figure 1. Perplexity v.s. memory consumption among a number of SOTA algorithms. Solutions achieved towards the left-bottom side of the plot represent better performance/memory trade-off (see Appendix B for the details of the memory estimation).
  • 7B Scale Superiority: When scaling up to a LLaMA 7B model trained for 19.7B tokens, SCALE achieved a final evaluation perplexity of 12.59 using 13.74 GB of memory. This outperformed the state-of-the-art memory-efficient optimizer Muon (12.72 PPL using 26.95 GB) and APOLLO (13.02 PPL using 16.14 GB).
  • Higher Throughput: Because SCALE avoids expensive SVD operations, it achieved an ~18.5% higher training throughput (tokens/sec) than singular-value-based methods like Muon/SWAN and an ~8% speedup over GaLore/Fira on 4xH100 GPUs.

Limitations and Future Work

While the results are highly promising, the authors note that due to resource constraints, they only evaluated SCALE on models up to 7B parameters and token budgets up to 100B. Validating SCALE on true industry-scale models (e.g., 70B+ parameters) and trillion-token budgets remains an open area for future work. Additionally, exploring how SCALE can be combined with Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA could yield further memory savings during downstream adaptation.

Summary updated

BibTeX
@inproceedings{glentis2026memory,
  author = {Athanasios Glentis and Jiaxiang Li and Andi Han and Mingyi Hong},
  title = {{Memory-Efficient LLM Pretraining via Minimalist Optimizer Design}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=prvGhNz39e},
}
Figure