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

FRUGAL: Memory-Efficient Optimization by Reducing State Overhead for Scalable Training

Philip Zmushko, Aleksandr Beznosikov, Martin Takáč, Samuel Horváth

TL;DR

Training large language models is notoriously memory-intensive, largely due to the massive state overhead of optimizers like Adam. This paper introduces FRUGAL (Full-Rank Updates with GrAdient spLitting), a framework that splits gradients to perform memory-heavy Adam updates on a small subset of parameters while using memory-free signSGD for the rest. FRUGAL achieves state-of-the-art memory-efficient pre-training and fine-tuning, outperforming low-rank methods like GaLore and BAdam by utilizing full-rank updates while maintaining a tiny memory footprint.

The Memory Bottleneck in LLM Training

If you want to train a Large Language Model (LLM), storing the weights and gradients is only half the battle. The standard optimizer, Adam, requires keeping track of momentum and variance for every single parameter. For an 8-billion parameter model in 16-bit precision, Adam's optimizer states consume an extra 32GB of GPU memory.

To fix this, researchers have proposed memory-efficient methods like LoRA (for fine-tuning) and GaLore or BAdam (for full-parameter training). These methods save memory by projecting gradients into a smaller subspace, effectively performing low-rank updates. However, low-rank updates throw away a massive amount of gradient information. This loss of information slows down convergence and hurts final model quality, especially during the rigorous pre-training phase. The authors ask: is it possible to use the entire gradient (full-rank updates) without blowing up our GPU memory budget?

The FRUGAL Framework

The authors introduce FRUGAL to solve this exact problem. The core idea is elegantly simple: divide the model's parameters into two groups at any given training step.

Conceptual overview and algorithm for FRUGAL, illustrating its high update dimension and low memory footprint compared to AdamW and low-rank methods.
  1. State-full Subspace: A small chunk of the model (e.g., a specific transformer block) is updated using an advanced, memory-heavy optimizer like AdamW.
  2. State-free Subspace: Instead of freezing the rest of the model (like BAdam does) or discarding their gradients (like GaLore does), FRUGAL updates the remaining parameters using a state-free optimizer like signSGD or standard SGD.

Because signSGD only looks at the sign of the current gradient (positive or negative) and requires zero historical memory buffers, it adds no memory overhead. To decide which parameters get the "Adam treatment," FRUGAL rotates through the model block-by-block. The framework also permanently keeps highly sensitive layers (like the Output layer and Embeddings) in the state-full Adam group.

Key Insights

  • Full-Rank > Low-Rank: Exploring the entire parameter space during training is critical. By using signSGD on the "inactive" blocks rather than freezing them, FRUGAL captures residual gradient information that low-rank methods discard, leading to vastly superior convergence.
  • signSGD is a Great Adam Stand-in: The authors found that signSGD works much better than standard SGD for the state-free subspace. Because signSGD normalizes updates by their sign, it produces update magnitudes very similar to Adam, making it highly effective for Transformers.
  • The Output Layer is a Diva: Through ablation studies, the authors discovered that while most linear layers, Embeddings, and RMSNorms can be trained perfectly well with signSGD, the Transformer's Output layer is incredibly sensitive. Forcing the Output layer to use signSGD causes severe performance degradation; it needs Adam.

Experimental Results

The framework was rigorously tested across both pre-training and fine-tuning regimes:

  • Pre-training Superiority: On a 130M LLaMA model trained on the C4 dataset, FRUGAL achieved a validation perplexity of 18.60. Under the exact same memory budget, GaLore hit 21.11 and BAdam hit 20.34. FRUGAL nearly matched the memory-hogging full AdamW baseline (18.13).
  • The "Zero-Density" Shock: Even when the authors set the rotating block size to zero—meaning only the Output/Embedding layers used Adam and every other layer used signSGD—FRUGAL still outperformed GaLore and BAdam, achieving a perplexity of 18.90.
  • Scalability: FRUGAL successfully scaled to pre-train a 3B parameter LLaMA model, proving the method holds up on billion-parameter scales without performance collapse.
  • Fine-Tuning: On the GLUE benchmark (RoBERTa-base) and Commonsense reasoning tasks (LLaMA 3.1-8B), FRUGAL matched or slightly outperformed LoRA and GaLore, proving it is highly versatile.
  • Theoretical Guarantees: The authors provide rigorous mathematical proofs showing that their gradient splitting framework matches the best-known convergence rates for non-convex stochastic optimization.

Limitations and Future Work

While highly effective, the authors note a few limitations. Due to hardware constraints, they could not test pre-training on models larger than 3B parameters from scratch, which is necessary to fully validate scaling laws. Additionally, experiments were strictly limited to language models (Transformers), leaving its efficacy on other architectures like Diffusion models an open question.

Future work could explore more sophisticated, adaptive strategies for selecting which parameters get the Adam optimizer at any given step, rather than relying on sequential or random rotation.

Summary updated

BibTeX
@inproceedings{zmushko2025frugal,
  author = {Philip Zmushko and Aleksandr Beznosikov and Martin Takáč and Samuel Horváth},
  title = {{FRUGAL: Memory-Efficient Optimization by Reducing State Overhead for Scalable Training}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=B4TyAILcE4},
}
Figure