Abstract
As Large Language Models (LLMs) grow in scale, the computational cost of additional training—such as continual pre-training and supervised fine-tuning (SFT)—becomes a significant bottleneck. This paper introduces Sparsity-Accelerated Training (SAT), a hardware-agnostic framework that leverages the inherent structural sparsity of pre-trained LLMs. By identifying and skipping computations for "inactive" neurons, SAT achieves up to a 45% improvement in throughput and a 38% reduction in training time while maintaining performance parity with dense training methods.
Introduction
While initial pre-training is resource-intensive, the subsequent stages of model adaptation are increasingly expensive. Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA address SFT but are often insufficient for the heavy data requirements of continual pre-training. SAT addresses this gap by providing an algorithmic approach to acceleration that works across diverse training scenarios without requiring specialized hardware kernels.
Methodology
The SAT framework operates on the observation that not all neurons contribute equally to every forward pass. The process involves four key components:
- Neuron Importance Computation: The authors utilize a metric called maxip, which calculates the product of the input mean and parameter weights to rank neuron significance.
- Sampling-based Selection: To avoid the overfitting associated with static "top-k" selection, SAT employs a sampling strategy. This ensures a wider variety of neurons are updated throughout the training process, maintaining model robustness.
- Ladder Omission Rate Scheduler (LORS): This scheduler manages the "omission rate" (sparsity level). It begins with high sparsity and gradually transitions to a denser state, acting as a curriculum learning mechanism that stabilizes final performance.
- Architectural Integration: SAT is applied to both Multi-Head Attention (MHA) and Multi-Layer Perceptron (MLP) blocks within the transformer architecture.
Key Insights
- The Overfitting Trap: Selecting only the highest-ranked neurons (top-k) leads to rapid overfitting. Sampling introduces necessary noise that keeps training robust.
- Inherent Structural Sparsity: Pre-trained LLMs contain many "lazy" neurons that can be bypassed during additional training without losing stored knowledge.
- Regularization Effects: In certain reasoning tasks, SAT's sparse updates act as a regularizer, occasionally outperforming full fine-tuning by preventing the model from forgetting general knowledge while learning new tasks.
Experimental Results
Evaluations on Llama-2 (7B and 13B) across benchmarks like CMMLU, AGI-Eval, and MMLU demonstrate that SAT maintains near-identical accuracy to full training while significantly reducing costs. For instance, on Llama-2 13B, SAT achieved a 42.07 average score on Chinese benchmarks compared to 42.28 for full continual pre-training, but with much higher efficiency.
Conclusion
Sparsity-Accelerated Training (SAT) provides a scalable, hardware-agnostic solution for reducing the environmental and financial costs of LLM adaptation. By combining intelligent neuron ranking with a dynamic omission scheduler, SAT bridges the gap between training efficiency and model performance. Future work will explore the application of SAT to ultra-large models exceeding 70B parameters.
Summary updated