Memory-Efficient LLMs Training with Dynamic Sparsity: From Stability to Practical Scaling
Eindhoven University of Technology · University of Luxembourg, University of Twente · ETH Zurich · ETHZ - ETH Zurich · University of Twente · TU Eindhoven · University of Luxembourg · ETH Zürich
PDF 由论文原始站点提供,PaperCompass 不保存论文文件。
摘要
Dynamic Sparse Training (DST) offers a promising paradigm for improving the training and inference efficiency of deep neural networks; however, we find that in large language model training, DST suffers from optimization instability, manifested as loss spikes following topology updates. In this work, we show that the naive use of standard Adam-based optimizers leads to a cold-start issue for newly regrown parameters, resulting in excessively large updates and disrupted training dynamics. We propose Sparse Memory-Efficient Training (SMET), which stabilizes DST by combining optimizer warm-up for regrown parameters with density-aware learning-rate scaling. SMET further reduces memory consumption by storing gradients and optimizer states only for active parameters. We provide a theoretical analysis of the update behaviors under SMET, showing improved optimization stability. Extensive experiments demonstrate that SMET enables stable, scalable, and memory-efficient sparse pre-training of LLMs, paving the way for sparse training as a practical alternative to dense training.