Introduction
Deep learning models have achieved remarkable success but remain computationally expensive, hindering deployment on resource-constrained edge devices. While pruning—removing redundant parameters—offers a solution, traditional methods often struggle with hardware compatibility and the "capacity gap" in knowledge distillation. This paper introduces cascaded pruning, a novel framework that utilizes a hierarchy of "teaching assistants" (TAs) to bridge the gap between a complex teacher and a compact student model.
Methodology: Hierarchical Self-Distillation
The core of the proposed approach is a multi-stage distillation process. Rather than a direct teacher-to-student transfer, the framework establishes a chain of models ($T_{teacher} \rightarrow TA_1 \rightarrow TA_2 \rightarrow T_{student}$) where each successive model is more heavily pruned.
Key components include:
- Shared Weights and Independent Masks: All models in the hierarchy share the same convolutional weights but maintain unique binary masks and batch normalization layers. This architecture significantly reduces memory overhead during training.
- Surrogate Gradients: To dynamically update filter importance, the student model utilizes gradients from its immediate, less-pruned TA. This allows the student to "re-activate" filters that the TA deems important, preventing the permanent loss of critical features common in static pruning.
- Two-Phase Training: The process begins with joint training to optimize masks and weights, followed by a fine-tuning phase for the student model to recover accuracy.
Experimental Evaluation
The researchers evaluated the framework across three major benchmarks: CIFAR-10, CIFAR-100 (using MobileNetV1), and ImageNet (using ResNet50). The method's strength lies in its ability to bridge the capacity gap. By using intermediate TAs, the knowledge transfer is smoother, and weight sharing acts as a natural regularizer, ensuring the teacher’s gradients remain relevant to the student’s specific architecture.
Key Results and Comparison
Cascaded pruning demonstrates state-of-the-art performance in balancing model compression and accuracy. On ImageNet with ResNet50, the method achieved a massive 3.6x parameter reduction and 3.7x FLOP reduction with only a 2.5% drop in accuracy.
As shown in the comparison table, the proposed variants consistently outperform or match established techniques like Variational Pruning and Magnitude Pruning. Notably, at high compression levels (Ours-0.8), the model maintains competitive accuracy while significantly reducing FLOPs to 52M, outperforming Bayesian Pruning in both efficiency and precision.
Conclusion and Future Directions
While effective, the authors note that the stability of surrogate gradients depends on the size gap between TAs; if the gap is too large, gradient estimates can become biased. Future work may involve automating the selection of TA pruning levels and incorporating hardware-specific latency directly into the optimization objective to further enhance real-world deployment efficiency.
Summary updated