Table of Contents
Fetching ...

AdaFRUGAL: Adaptive Memory-Efficient Training with Dynamic Control

Quang-Hung Bui, Anh Son Ta

TL;DR

Training large language models is memory-bound by optimizer states; AdaFRUGAL introduces two dynamic controls to the FRUGAL framework: a linear decay of the state-full subspace ratio $\rho$ and a loss-aware adaptive schedule for the update frequency $T$, aiming to reduce memory and computation without sacrificing convergence. The method is validated across English C4 and Vietnamese VietVault pre-training and GLUE fine-tuning, showing competitive accuracy with substantial resource savings, especially in memory footprint and training time. The results demonstrate that Dynamic-$T$ yields best final perplexities and faster convergence, while Dynamic-$\rho$ delivers notable memory reductions, and the Combined variant offers a balanced trade-off. Overall, AdaFRUGAL provides an autonomous, scalable approach to resource-efficient full-parameter training of large language models, reducing manual hyperparameter tuning while maintaining strong performance.

Abstract

Training Large Language Models (LLMs) is highly memory-intensive due to optimizer state overhead. The FRUGAL framework mitigates this with gradient splitting, but its static hyperparameters -- the subspace ratio ($ρ$) and update frequency ($T$) -- require costly manual tuning, limiting adaptability. We present AdaFRUGAL, which automates this process by introducing two dynamic controls: (i) a linear decay for $ρ$ to progressively reduce memory, and (ii) a loss-aware schedule for $T$ to lower computational overhead. Experiments across large-scale pre-training (English C4, Vietnamese VietVault) and fine-tuning (GLUE) demonstrate that AdaFRUGAL achieves a compelling trade-off. It maintains competitive performance against AdamW and static FRUGAL while significantly reducing both GPU memory and training time, offering a more practical, autonomous solution for resource-constrained LLM training.

AdaFRUGAL: Adaptive Memory-Efficient Training with Dynamic Control

TL;DR

Training large language models is memory-bound by optimizer states; AdaFRUGAL introduces two dynamic controls to the FRUGAL framework: a linear decay of the state-full subspace ratio and a loss-aware adaptive schedule for the update frequency , aiming to reduce memory and computation without sacrificing convergence. The method is validated across English C4 and Vietnamese VietVault pre-training and GLUE fine-tuning, showing competitive accuracy with substantial resource savings, especially in memory footprint and training time. The results demonstrate that Dynamic- yields best final perplexities and faster convergence, while Dynamic- delivers notable memory reductions, and the Combined variant offers a balanced trade-off. Overall, AdaFRUGAL provides an autonomous, scalable approach to resource-efficient full-parameter training of large language models, reducing manual hyperparameter tuning while maintaining strong performance.

Abstract

Training Large Language Models (LLMs) is highly memory-intensive due to optimizer state overhead. The FRUGAL framework mitigates this with gradient splitting, but its static hyperparameters -- the subspace ratio () and update frequency () -- require costly manual tuning, limiting adaptability. We present AdaFRUGAL, which automates this process by introducing two dynamic controls: (i) a linear decay for to progressively reduce memory, and (ii) a loss-aware schedule for to lower computational overhead. Experiments across large-scale pre-training (English C4, Vietnamese VietVault) and fine-tuning (GLUE) demonstrate that AdaFRUGAL achieves a compelling trade-off. It maintains competitive performance against AdamW and static FRUGAL while significantly reducing both GPU memory and training time, offering a more practical, autonomous solution for resource-constrained LLM training.
Paper Structure (25 sections, 3 equations, 2 figures, 3 tables, 1 algorithm)

This paper contains 25 sections, 3 equations, 2 figures, 3 tables, 1 algorithm.

Figures (2)

  • Figure 1: Peak GPU memory usage over training steps on C4. AdaFRUGAL with Dynamic $\rho$ progressively reduces memory overhead.
  • Figure 2: Relative training time comparison on C4 (normalized to FRUGAL T=200 as 1.0). Dynamic T significantly reduces training time.