Introduction
Training Large Language Models (LLMs) is a notoriously memory-intensive process, often necessitating high-end industrial hardware. While recent low-rank methods like GaLore have enabled training on consumer-grade GPUs by projecting gradients into smaller subspaces, they typically rely on isotropic "steepest descent." This approach can be inefficient in the anisotropic (narrow and winding) loss landscapes characteristic of neural networks.
SUMO (Subspace-Aware Moment-Orthogonalization) addresses these limitations by introducing exact orthogonalization within a low-rank subspace, achieving significantly faster convergence and improved memory efficiency compared to existing state-of-the-art methods.
The Limitations of Iterative Approximations
A common strategy to navigate anisotropic landscapes is to "orthogonalize" updates. However, many optimizers use the Newton-Schulz iterative approximation for this purpose. The authors identify a critical flaw: the error in this approximation grows exponentially with the matrix's condition number. During LLM training, gradient matrices frequently become ill-conditioned, causing these approximations to fail and leading to training instability.
The SUMO Framework
SUMO combines the memory benefits of low-rank training with the stability of exact Singular Value Decomposition (SVD). By performing SVD within a low-rank subspace (e.g., rank 4 or 8), the computational overhead remains negligible while providing exact orthogonalization. The framework consists of four key stages:
- Adaptive Subspace Selection: Utilizing Randomized-SVD to efficiently identify optimal low-dimensional subspaces.
- Moment Subspace Transformation: Rotating existing first-order moments during subspace updates to preserve information.
- Low-Rank Steepest Descent: Performing exact SVD within the low-rank subspace for stable orthogonalization.
- Original Space Updates: Incorporating orthogonal gradient terms to maintain stability without increasing memory overhead.
Theoretical Foundations: Moment Collapse
A core theoretical and empirical insight of this work is that first-order moments in LLMs naturally tend toward a low-rank structure as training progresses. This "moment collapse" justifies the use of subspace methods, as most of the gradient information is concentrated in a few singular values. SUMO leverages this property to maintain high performance with minimal optimizer states.
Experimental Results
SUMO was rigorously tested across diverse benchmarks, including GLUE, C4, GSM8K, and MAWPS, demonstrating superior performance across the board:
- Convergence Speed: SUMO achieved a ~1.6x speedup in convergence on the QNLI task compared to GaLore.
- Memory Savings: The method reduced memory requirements by up to 20% compared to state-of-the-art methods (e.g., 197MB vs 253MB for rank-4 fine-tuning).
- Superior Accuracy: On the MAWPS math dataset, SUMO (SVD) achieved 68.03% accuracy at rank 128, significantly outperforming GaLore (64.29%) and LoRA (65.97%).
- Pre-training Performance: In LLaMA-1B pre-training, SUMO achieved a validation perplexity of 14.68, beating both full-rank training (15.56) and GaLore (15.64) while using less memory.
Conclusion and Future Work
SUMO represents a significant advancement in memory-efficient LLM training, proving that exact SVD in a low-rank subspace is both computationally feasible and superior to iterative approximations. Future research will explore further parallelization of the orthogonalization step and integration with quantization techniques like QLoRA to further lower the hardware barriers for LLM development.
Summary updated