SUMO: Subspace-Aware Moment-Orthogonalization for Accelerating Memory-Efficient LLM Training
Yehonathan Refael, Guy Smorodinsky, Tom Tirer, Ofir Lindenbaum
TL;DR
SUMO addresses the slowdown in convergence observed with memory-efficient, low-rank optimizers by introducing exact SVD-based moment orthogonalization within a dynamically updated low-rank subspace. The authors show that first-order moments become increasingly low-rank during LLM training and that Newton-Schulz5 orthogonalization incurs error that grows with the moment condition number, whereas SVD offers faster, more stable convergence with manageable cost in low-rank regimes. They provide a convergence guarantee to an $oldsymbol{\varepsilon}$-critical point and demonstrate through GLUE fine-tuning and LLAMA pre-training experiments that SUMO achieves faster optimization, improved stability, and memory reductions up to approximately $20\%$ compared to state-of-the-art methods. Overall, SUMO offers a practical, spectrally-informed optimization strategy that enhances memory efficiency while accelerating convergence in large-scale language model training.
Abstract
Low-rank gradient-based optimization methods have significantly improved memory efficiency during the training of large language models (LLMs), enabling operations within constrained hardware without sacrificing performance. However, these methods primarily emphasize memory savings, often overlooking potential acceleration in convergence due to their reliance on standard isotropic steepest descent techniques, which can perform suboptimally in the highly anisotropic landscapes typical of deep networks, particularly LLMs. In this paper, we propose SUMO (Subspace-Aware Moment-Orthogonalization), an optimizer that employs exact singular value decomposition (SVD) for moment orthogonalization within a dynamically adapted low-dimensional subspace, enabling norm-inducing steepest descent optimization steps. By explicitly aligning optimization steps with the spectral characteristics of the loss landscape, SUMO effectively mitigates approximation errors associated with commonly used methods like Newton-Schulz orthogonalization approximation. We theoretically establish an upper bound on these approximation errors, proving their dependence on the condition numbers of moments, conditions we analytically demonstrate are encountered during LLM training. Furthermore, we both theoretically and empirically illustrate that exact orthogonalization via SVD substantially improves convergence rates while reducing overall complexity. Empirical evaluations confirm that SUMO accelerates convergence, enhances stability, improves performance, and reduces memory requirements by up to 20% compared to state-of-the-art methods.
