NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LDAdam: Adaptive Optimization from Low-Dimensional Gradient Statistics

Thomas Robert, Mher Safaryan, Ionut-Vlad Modoranu, Dan Alistarh

Introduction

Training state-of-the-art deep learning models, particularly large language models (LLMs), is notoriously memory-intensive. While model weights themselves are massive, the optimizer states—such as the moving averages of gradients and their squared values used by algorithms like Adam—often constitute the true bottleneck. In many cases, these states consume up to twice the memory of the model parameters.

Existing memory-saving solutions have notable gaps. Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA are excellent for fine-tuning but often fail to match full-parameter performance during pre-training. Recent low-rank optimizers like GaLore save memory but struggle with gradient accumulation across mini-batches and lack strong theoretical convergence guarantees under standard conditions.

LDAdam is a novel, memory-efficient optimizer designed to slash this massive memory overhead. By performing adaptive updates in low-dimensional subspaces, introducing "projection-aware" update rules, and utilizing a generalized error feedback mechanism, LDAdam achieves Adam-level performance and provable convergence while using only a fraction of the memory for optimizer states.

The Core Challenge: Dynamic Subspaces

The fundamental challenge in low-rank optimization is that the "optimal" low-dimensional subspace for optimization changes over time. If an algorithm simply projects gradients into new subspaces without accounting for how the previous history (the optimizer states) relates to the new projection, critical information is lost, leading to unstable optimization.

A key insight behind LDAdam is realizing that subspaces are dynamic, but statistics are not. Optimizer states cannot be treated as static buffers when the projection matrix is changing; they must be treated as statistical estimates that are explicitly transformed to match the current geometry. Furthermore, by moving the optimization into a Singular Value Decomposition (SVD)-induced coordinate system, LDAdam effectively makes the optimizer "isotropic" relative to the most important directions of the gradient, stabilizing the training process.

Methodology: How LDAdam Works

LDAdam introduces three core technical innovations to solve the subspace transition problem and maintain robust optimization:

  1. Projection-Aware Update Rules: Instead of merely accumulating projected gradients into a buffer, LDAdam explicitly "rotates" and projects the existing optimizer states whenever the subspace changes. This ensures that momentum and variance estimates remain statistically consistent even as the coordinate system shifts.
  2. Generalized Error Feedback: Because low-rank projection is inherently lossy, LDAdam tracks the "residual"—the information discarded during projection—for both the gradients and the optimizer states. It then reintroduces this lost information into the subsequent step.
  3. Efficient Subspace Adaptation: To avoid the prohibitive computational cost of a full SVD at every step, LDAdam utilizes block power iteration. This efficiently approximates the most significant directions of the gradient landscape with minimal compute overhead.

Memory Savings: For a weight matrix of size $n \times m$, standard Adam requires $2nm$ states. LDAdam reduces this requirement to $nr + 2rm$ (where $r$ is a small rank, typically $r \ll n, m$).

Experimental Results

Unlike many memory-saving heuristics, LDAdam bridges theory and practice by providing a full convergence proof for non-convex objectives, recovering the same asymptotic convergence rates as AMSGrad. Empirically, the authors evaluated LDAdam across standard benchmarks, including GLUE (RoBERTa-base), GSM8K (Llama-2 7B), and the C4 corpus (Llama-type models from 130M to 1.3B parameters).

  • Massive Memory Reduction: On a Llama-2 7B model, LDAdam reduced the optimizer state memory from 25.1 GB (Adam) down to just 1.22 GB (at rank 32).
  • Performance Parity in Fine-Tuning: In GLUE fine-tuning tests, LDAdam achieved an average score of 86.48, slightly outperforming the full Adam baseline (86.28) and significantly beating GaLore (84.73).
  • Pre-training Success: When pre-training a 1.3B parameter Llama model on C4, LDAdam achieved a validation perplexity of 14.09, outperforming the Adam baseline of 14.86 while using substantially less memory.
  • Stability: The generalized error feedback mechanism proved essential. Without it, a "no-EF" ablation of the algorithm failed to converge on high-compression pre-training tasks.

Limitations and Future Directions

While LDAdam offers dramatic memory improvements, it comes with a few trade-offs:

  • Runtime Overhead: The projection mathematics and power iterations add a small computational cost, making LDAdam roughly 10-15% slower than Adam in terms of wall-clock time per step.
  • Feature Compatibility: The current implementation of the error feedback mechanism reuses gradient buffers to save memory. This makes it incompatible with standard gradient clipping and certain per-layer weight update tricks.
  • Scaling Up: The results on 1.3B models are highly promising, but testing on "billion-parameter scale" pre-training (e.g., 7B, 70B parameters) remains a necessary next step to definitively prove its utility for the largest frontier models.

Summary updated

BibTeX
@inproceedings{robert2025ldadam,
  author = {Thomas Robert and Mher Safaryan and Ionut-Vlad Modoranu and Dan Alistarh},
  title = {{LDAdam: Adaptive Optimization from Low-Dimensional Gradient Statistics}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Zkp1GuHerF},
}
Figure