Abstract
Neoteric works have shown that modern deep learning models can exhibit a sparse double descent phenomenon. Indeed, as the sparsity of the model increases, the test performance first worsens since the model is overfitting the training data; then, the overfitting reduces, leading to an improvement in performance, and finally, the model begins to forget critical information, resulting in underfitting. Such a behavior prevents using traditional early stop criteria. In this work, we propose a learning framework that avoids such a phenomenon and improves generalization. Second, we introduce an entropy measure providing more insights into the insurgence of this phenomenon and enabling the use of traditional stop criteria. Third, we provide a comprehensive quantitative analysis of contingent factors such as re-initialization methods, model width and depth, and dataset noise. Our code is available at https://github.com/VGCQ/DSD2.
Introduction
In the quest to deploy AI on edge devices like smartphones and IoT sensors, researchers use pruning—the process of removing unnecessary weights to make models smaller and faster. However, pruning is not a straightforward path to efficiency. Recent studies have identified a phenomenon called Sparse Double Descent (SDD).
As model sparsity increases, test accuracy often follows a non-monotonic U-shaped curve: it initially worsens due to overfitting, then improves as it enters a "sweet spot," and finally declines again due to underfitting. This "critical phase" where performance drops is a significant hurdle for engineers because it breaks traditional early stopping criteria. If training is halted during the initial performance dip, the model never reaches the high-performance sparse regime waiting on the other side.
The DSD² Framework: Dodging the Dip
To address this, the authors introduce DSD², a framework designed to make the path to a compressed model predictable and "worry-free." The core mechanism is Knowledge Distillation (KD). Instead of training a sparse "student" model from scratch using standard hard labels, DSD² employs a "teacher" model—specifically one that has already been pruned to its own optimal "best-fit" regime.
By matching the teacher's "soft" probability outputs, the student inherits the teacher’s regularization properties. This allows the student to bypass the overfitting dip entirely, resulting in a monotonic performance curve where accuracy generally improves or stays stable as training progresses.
Navigating Training Regimes with Entropy
Beyond the distillation framework, the authors introduce a novel entropy measure based on neuron activations to serve as a "GPS" for the training process. They discovered a distinct correlation between activation entropy and the model's training regime. During the "interpolation regime" (where the model is prone to SDD), entropy remains high and stationary. As the model transitions into the "classical regime" (the safe, high-performance zone), the entropy begins to drop. This signal allows practitioners to safely re-enable traditional early stopping criteria once the danger of the performance dip has passed.
Key Results and Insights
The researchers validated DSD² across a wide range of scenarios, including standard benchmarks (CIFAR-10/100, ImageNet-1k) and datasets with significant label noise.
- Superior Performance: In experiments on CIFAR-10 with 20% noise, the DSD² student showed smooth improvement, while vanilla pruning suffered a massive performance drop.
- Efficiency Gains: DSD² achieved over 10% higher accuracy than vanilla methods while requiring approximately 25% less total computation (measured in PFLOPs).
- Extreme Compression: The method maintains high accuracy even at extreme sparsity levels. On CIFAR-10, it achieved ~86.9% accuracy at 99.2% sparsity, compared to just ~74.5% for the vanilla approach.
- Depth Sensitivity: The study reveals that SDD is more sensitive to model depth than width. As models get deeper, the performance dip becomes more pronounced, making the DSD² "dodging" mechanism increasingly valuable.
Conclusion
DSD² offers a robust solution to the challenges of neural network pruning. By combining knowledge distillation from sparse teachers with entropy-based monitoring, it enables the creation of highly compressed models without the unpredictability of sparse double descent. This framework not only improves generalization but also reduces the computational cost of training efficient AI models.
Summary updated