Abstract
Sparse training is a critical technique for deploying deep learning models on resource-constrained devices. However, traditional methods often hit a "sparsity wall" where further pruning leads to significant accuracy loss and diminishing hardware returns. This paper introduces SpFDE (Sparsity, Freezing, and Data Efficiency), a framework that integrates Progressive Layer Freezing and Circular Data Sieving into the sparse training pipeline. By strategically freezing early layers and dynamically focusing on informative data samples, SpFDE reduces training FLOPs by up to 29% and memory usage by 44% while maintaining or improving accuracy compared to state-of-the-art methods.
Introduction
Sparse training—training a neural network where most weights are zero—is a go-to strategy for deploying AI on resource-constrained edge devices. Traditionally, researchers have tried to save more "compute" by simply pushing the sparsity ratio higher (e.g., from 90% to 98%). However, the authors identify a "sparsity wall": at extremely high sparsity levels, model accuracy drops off a cliff. Furthermore, the actual hardware gains from increasing sparsity tend to saturate.
The authors ask a fundamental question: Can we reduce training costs through means other than just pruning more weights? They identify two "missing pieces" in the sparse training pipeline: the fact that not all layers need to be trained for the same amount of time, and not all data samples are equally useful throughout the entire training process. SpFDE moves beyond the "sparsity-only" approach by introducing two new dimensions to reduce training costs: Progressive Layer Freezing and Circular Data Sieving.
The SpFDE Framework
The SpFDE framework incorporates three core techniques to optimize the training process:
- Dynamic Sparse Training (DST): SpFDE builds upon existing DST methods (specifically MEST) which continuously update the model's sparse structure during training. This allows the model to find the most effective connections dynamically rather than relying on a static mask.
- Progressive Layer Freezing: In dense training, it is well-established that early layers (which extract low-level features like edges) converge faster than deeper layers. SpFDE applies this principle to the sparse domain. It divides the network into blocks and progressively "freezes" them from front to back. Once a block is frozen, its weights and sparse structure are locked, and backpropagation stops at that point, saving significant computation and memory.
- Circular Data Sieving: Instead of training on the full dataset every epoch, SpFDE uses a "forgetting" metric to identify "easy" vs. "hard" samples. It maintains a partial training dataset and a "removed" queue. Periodically, it "sieves" the data: samples the model has mastered (rarely forgets) are moved to the queue, and "harder" or unseen samples are rotated back in. This ensures the model remains dataset-efficient without losing exposure to the full data distribution.
Theoretical Foundations and Insights
A major concern addressed by the authors was whether freezing layers would break Dynamic Sparse Training, which relies on changing the model's structure. Through structural similarity analysis, they demonstrated that early layers in sparse models stabilize their "optimal" structure very early (around epoch 40), making them ideal candidates for freezing.
Furthermore, using Centered Kernel Alignment (CKA), the authors found that high sparsity (even up to 90%) does not significantly slow down how quickly a layer learns useful representations. This finding justifies using freezing schedules similar to those used for dense models. The paper highlights a synergy of techniques: combining freezing and sieving is more effective than pushing either to the extreme. For example, a model with moderate sparsity plus freezing/sieving often outperforms a "super-sparse" model that has the same total FLOP count but lower accuracy.
Experimental Results
The framework was evaluated on standard computer vision benchmarks, including CIFAR-10, CIFAR-100, and ImageNet (using ResNet-50).
- FLOPs Reduction: Compared to state-of-the-art methods like MEST and ITOP, SpFDE reduced training FLOPs by 18% to 29% while maintaining similar or better accuracy.
- Memory Savings: SpFDE saved 20%–25.3% in average training memory and reduced the minimum required memory by 42.2%–43.9%. This is critical for training on devices with limited RAM.
- Accuracy: On CIFAR-100 at 90% sparsity, SpFDE achieved 71.35% accuracy, outperforming the baseline MEST. On ImageNet, it achieved 76.03% top-1 accuracy at 80% sparsity, surpassing several established sparse training competitors.
Conclusion and Future Work
SpFDE demonstrates that significant efficiency gains in deep learning training can be found by looking beyond weight sparsity alone. By leveraging the different convergence rates of layers and the varying informativeness of data samples, SpFDE provides a more holistic approach to efficient training.
While the theoretical FLOP reductions are substantial, the authors note that actual "wall-clock" speedup depends on software support for sparse operations. Future work will involve investigating how these techniques translate to other domains like Natural Language Processing (NLP) and developing more automated, adaptive schedules for hyperparameters like the starting freeze epoch and sieving ratio.
Summary updated