Efficient Adaptive Optimization via Subset-Norm and Subspace-Momentum: Fast, Memory-Reduced Training with Convergence Guarantees

Thien Hang Nguyen, Huy Le Nguyen · OpenReview

Abstract

We introduce two complementary techniques for efficient adaptive optimization that reduce memory requirements while accelerating training of large-scale neural networks. The first technique, Subset-Norm adaptive step size, generalizes AdaGrad-Norm and AdaGrad(-Coordinate) by reducing the second moment term's memory footprint from $O(d)$ to $O(\sqrt{d})$ through step-size sharing, where $d$ is the model size. For non-convex smooth objectives under coordinate-wise sub-gaussian gradient noise, we prove a noise-adapted high-probability convergence guarantee showing improved dimensional dependence over existing methods. Our second technique, Subspace-Momentum, reduces the momentum state's memory footprint by operating in a low-dimensional subspace while applying standard SGD in the orthogonal complement. We establish high-probability convergence rates under similar relaxed assumptions. Empirical evaluation on LLaMA models from 60M to 1B parameters demonstrates the effectiveness of our methods, where combining subset-norm with subspace-momentum achieves Adam's validation perplexity in approximately half the training tokens (6.8B vs 13.1B) while using only 20% of the Adam's optimizer-states memory footprint and requiring minimal additional hyperparameter tuning.

Introduction: Breaking the Memory Wall

In the era of Large Language Models (LLMs), the "memory wall" is a constant bottleneck. While model parameters are often the focus, the optimizer states are significant hidden costs. Popular optimizers like Adam store two additional values for every parameter: momentum (first moment) and an adaptive step size (second moment). For massive models, these states can consume twice as much memory as the weights themselves, necessitating expensive hardware or complex distributed setups. Previous memory-reduction attempts often sacrificed performance or required extensive hyperparameter tuning. We propose a "lean and mean" approach that is both theoretically grounded and practically superior.

Methods: Subset-Norm and Subspace-Momentum

We introduce two complementary techniques to drastically reduce optimizer memory:

1. Subset-Norm (SN)

Subset-Norm finds a middle ground between coordinate-wise adaptation (like Adam) and global norm-wise adaptation (like AdaGrad-Norm). By partitioning parameters into groups (subsets) and sharing a single step size within each group, SN reduces the second-moment memory footprint from $O(d)$ to approximately $O(\sqrt{d})$.

Comparison of adaptive step-size strategies: Coordinate-wise (Adam), Subset-Norm (ours), and Norm-wise (AdaGrad-Norm).

2. Subspace-Momentum (SM)

Momentum is most critical in the "important" directions of the gradient. SM projects the gradient into a low-dimensional subspace (via SVD) to compute momentum, while applying standard Stochastic Gradient Descent (SGD) in the orthogonal complement. This keeps the memory-intensive momentum state confined to a small, manageable subspace.

Crucially, we provide high-probability convergence guarantees for both methods, ensuring that these memory-saving shortcuts maintain mathematical rigor.

Key Results

Our methods were evaluated on LLaMA models (60M to 1B parameters) on the C4 dataset, as well as vision and NLP benchmarks.

  • Training Efficiency: On a LLaMA 1B model, the combined algorithm (AdamSNSM) matched Adam's validation perplexity in roughly half the training tokens (6.8B vs 13.1B).
  • Massive Memory Savings: For LLaMA 1B, Adam requires ~5 GB for optimizer states. AdamSNSM reduces this to just 0.84 GB—a reduction of over 80%. On a LLaMA 7B model, the footprint dropped from 25.1 GB to 2.73 GB.
  • Outperforming Baselines: AdamSNSM consistently outperformed other memory-efficient optimizers like GaLore, LoRA, and ReLoRA across various scales.
Validation perplexity vs. training steps for LLaMA 1B. AdamSNSM achieves Adam's performance in half the steps with 80% less memory.

Discussion and Future Work

While highly effective, Subspace-Momentum relies on SVD, which introduces computational overhead. We mitigate this by updating the subspace only every 200 steps, but it remains more expensive than standard updates. Additionally, while we have proven convergence for SN and SM individually, a unified theory for the combined SNSM algorithm is a subject for future research. Finally, our current subset selection heuristics are optimized for the 2D weight matrices in Transformers; extending these to higher-order tensors in other architectures remains an open challenge.

Summary updated

BibTeX
@inproceedings{nguyen2025efficient,
  author = {Thien Hang Nguyen and Huy Le Nguyen},
  title = {{Efficient Adaptive Optimization via Subset-Norm and Subspace-Momentum: Fast, Memory-Reduced Training with Convergence Guarantees}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=j4HpE61Zcv},
}
Figure