Abstract
Dynamic neural network pruning aims to find optimal sparsity patterns during training, but often suffers from instability due to coarse gradient approximations like the Straight-Through-Estimator (STE). We present Dynamic Collective Intelligence Learning (DCIL), a framework that stabilizes pruning by utilizing a dual-path architecture. By maintaining a "Pruned Network" and a "Super Network," DCIL generates refined gradients for inactive weights, ensuring they remain high-quality candidates for revival. Experimental results on CIFAR and ImageNet demonstrate that DCIL achieves state-of-the-art accuracy with significantly smoother training trajectories compared to existing dynamic pruning methods.
Introduction: The Challenge of Dynamic Pruning
As deep neural networks (DNNs) scale, deploying them on resource-constrained devices like mobile phones or IoT sensors requires significant model compression. Pruning—the removal of unimportant weights—is a standard solution. While traditional pruning involves a multi-stage "train-prune-finetune" cycle, dynamic pruning attempts to discover the best sparsity pattern during the initial training phase.
However, dynamic pruning faces a fundamental hurdle: when a weight is pruned (set to zero), its gradient becomes zero, effectively "killing" the weight. To allow these weights to potentially be revived, researchers typically use a Straight-Through-Estimator (STE). The authors of this work argue that STE provides "coarse" or unreliable gradient signals, leading to extreme training instability—characterized by wild swings in accuracy—and sub-optimal final performance.
Methodology: Refined Gradients via Dual-Path Learning
The core innovation of Dynamic Collective Intelligence Learning (DCIL) is the replacement of coarse STE approximations with "refined gradients." This is achieved through a collaborative dual-path architecture:
- The Pruned Network (P-net): This path contains only the currently "active" weights defined by the pruning mask.
- The Super Network (S-net): This path contains the entire set of weights (both active and inactive).
Instead of guessing how to update inactive weights, DCIL uses the S-net to calculate actual, refined gradients. While the S-net shares weights with the P-net, it utilizes its own auxiliary classifier and batch normalization layers. This allows inactive weights to receive meaningful feedback based on their actual values, ensuring they are "qualified candidates" when the pruning mask is updated. Furthermore, the framework employs Knowledge Distillation (KL divergence) to encourage the P-net and S-net to learn from each other, creating a synergy that stabilizes the entire optimization process.
Experimental Results and Stability
The researchers evaluated DCIL across standard benchmarks including CIFAR-10, CIFAR-100, and ImageNet (using ResNet-18 and ResNet-50).
Stability and Convergence
The most striking advantage of DCIL is its training stability. Previous state-of-the-art methods like DPF exhibit a "sawtooth" pattern, where accuracy crashes every time the pruning mask is updated. In contrast, DCIL maintains a nearly flat, smooth accuracy curve, proving that refined gradients effectively mitigate the "shock" of weight revival.
Performance Benchmarks
- CIFAR-10: At 95% sparsity, DCIL achieved 90.54% accuracy on ResNet-20, significantly outperforming DPF's 88.01%.
- ImageNet: On ResNet-50 with 80% pruning, DCIL actually outperformed the dense (unpruned) baseline by 0.10%, suggesting a beneficial regularization effect.
- Reliability: The standard deviation of test accuracy during the final training stages was up to 50x lower than competing methods, making the model selection process much more reliable for engineers.
Conclusion and Future Work
DCIL demonstrates that inactive weights in a pruned network are not "dead" but are vital components that require high-quality gradient signals to maintain "bench strength." By using a super-network to refine these signals, DCIL achieves superior accuracy and unprecedented training stability.
While DCIL introduces a computational overhead (approximately 1.5x longer per iteration due to the dual paths), it compensates with faster convergence in terms of total epochs. Future research may focus on optimizing the backward path efficiency or extending this collective intelligence approach to non-vision domains, such as Large Language Models (LLMs).
Summary updated