A Memory Efficient Randomized Subspace Optimization Method for Training Large Language Models
Yiming Chen, Yuan Zhang, Yin Liu, Kun Yuan, Zaiwen Wen
摘要
The memory challenges associated with training Large Language Models (LLMs) have become a critical concern, particularly when using the Adam optimizer. To address this issue, numerous memory-efficient techniques have been proposed, with GaLore standing out as a notable example designed to reduce the memory footprint of optimizer states. However, these approaches do not alleviate the memory burden imposed by activations, rendering them unsuitable for scenarios involving long context sequences or large minibatches. Moreover, their convergence properties are still not well-understood in the literature. In this work, we introduce a Randomized Subspace Optimization framework for pre-training and finetuning LLMs. Our approach decomposes the high-dimensional training problem into a series of lower-dimensional subproblems. At each iteration, a random subspace is selected, and the parameters within that subspace are optimized. This structured reduction in dimensionality allows our method to simultaneously reduce memory usage for both activations and optimizer states. We establish comprehensive convergence guarantees and derive rates for various scenarios, accommodating different optimization strategies to solve the subproblems. Extensive experiments validate the superior memory and communication efficiency of our method, achieving performance comparable to GaLore and Adam.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
- AltLoRA: Towards Better Gradient Approximation in Low-Rank Adaptation with Alternating Projections 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- AltLoRA: Towards Better Gradient Approximation in Low-Rank Adaptation with Alternating Projections 引用了 Language Models are Few-Shot Learners
- AltLoRA: Towards Better Gradient Approximation in Low-Rank Adaptation with Alternating Projections 引用了 GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection
- MISA: Memory-Efficient LLMs Optimization with Module-wise Importance Sampling 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- MISA: Memory-Efficient LLMs Optimization with Module-wise Importance Sampling 引用了 GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection
- CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structure 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structure 引用了 Fine-Tuning Language Models with Just Forward Passes
- CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structure 引用了 Language Models are Few-Shot Learners
- Fine-Tuning Language Models with Just Forward Passes 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Fine-Tuning Language Models with Just Forward Passes 引用了 Language Models are Few-Shot Learners
- FZOO: Fast Zeroth-Order Optimizer for Fine‑Tuning Large Language Models towards Adam‑Scale Speed 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- FZOO: Fast Zeroth-Order Optimizer for Fine‑Tuning Large Language Models towards Adam‑Scale Speed 引用了 Fine-Tuning Language Models with Just Forward Passes
- FZOO: Fast Zeroth-Order Optimizer for Fine‑Tuning Large Language Models towards Adam‑Scale Speed 引用了 Language Models are Few-Shot Learners
- FZOO: Fast Zeroth-Order Optimizer for Fine‑Tuning Large Language Models towards Adam‑Scale Speed 引用了 GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection
- FedKRSO: Communication and Memory Efficient Federated Fine-Tuning of Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- FedKRSO: Communication and Memory Efficient Federated Fine-Tuning of Large Language Models 引用了 Fine-Tuning Language Models with Just Forward Passes
- FedKRSO: Communication and Memory Efficient Federated Fine-Tuning of Large Language Models 引用了 GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection
引用它的顶会 Paper8
- FZOO: Fast Zeroth-Order Optimizer for Fine‑Tuning Large Language Models towards Adam‑Scale SpeedSizhe Dang, yangyangGuo, Yanjun Zhao, Xiaodong Zheng 等ICLR 2026 · 16 次引用
- AltLoRA: Towards Better Gradient Approximation in Low-Rank Adaptation with Alternating ProjectionsXin Yu, Yujia Wang, Jinghui Chen, Lingzhou XueNeurIPS 2025 · 8 次引用
- CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank StructureBoao Kong, Junzhu Liang, Yuxi Liu, Renjia Deng 等ICLR 2026 · 7 次引用
- MISA: Memory-Efficient LLMs Optimization with Module-wise Importance SamplingYuxi Liu, Renjia Deng, Yutong He, Xue Wang 等NeurIPS 2025 · 2 次引用
- FedKRSO: Communication and Memory Efficient Federated Fine-Tuning of Large Language ModelsGuohao Yang, Tongle Wu, Yuanxiong Guo, Ying Sun 等INFOCOM 2026 · 2 次引用
它引用的 Paper16
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- ZeRO-Offload: Democratizing Billion-Scale Model TrainingJie Ren, Samyam Rajbhandari, Reza Yazdani Aminabadi, Olatunji Ruwase 等USENIX ATC 2021 · 657 次引用
- Fine-Tuning Language Models with Just Forward PassesSadhika Malladi, Tianyu Gao, Eshaan Nichani, Alex Damian 等NeurIPS 2023 · 495 次引用
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank ProjectionJiawei Zhao, Zhenyu Zhang, Beidi Chen, Zhangyang Wang 等ICML 2024 · 433 次引用
相关 Paper
- Subspace Optimization for Large Language Models with Convergence GuaranteesYutong He, Pengrui Li, Yipeng Hu, Chuyan Chen 等ICML 2025
- LDAdam: Adaptive Optimization from Low-Dimensional Gradient StatisticsThomas Robert, Mher Safaryan, Ionut-Vlad Modoranu, Dan AlistarhICLR 2025
- FRUGAL: Memory-Efficient Optimization by Reducing State Overhead for Scalable TrainingPhilip Zmushko, Aleksandr Beznosikov, Martin Takác, Samuel HorváthICML 2025
- Zeroth-Order Fine-Tuning of LLMs in Random SubspacesZiming Yu, Pan Zhou, Sike Wang, Jia Li 等ICCV 2025 · 3 次引用
- SPAM: Spike-Aware Adam with Momentum Reset for Stable LLM TrainingTianjin Huang, Ziquan Zhu, Gaojie Jin, Lu Liu 等ICLR 2025
