Abstract
Knowledge Distillation (KD) typically involves a unidirectional transfer of information from a large teacher model to a smaller student model. However, this approach often overlooks the multi-stage nature of human learning and the benefits of self-reflection. We present Multi-target Knowledge Distillation via Student Self-reflection (MTKD-SSR), a framework that integrates stage-wise teacher guidance with a novel cross-stage review mechanism. By allowing the student to "review" its own earlier features while learning from the teacher, MTKD-SSR significantly improves performance across various visual benchmarks, often enabling the student to surpass its teacher's accuracy.
Introduction
Deep neural networks have achieved remarkable success but remain computationally intensive for deployment on resource-constrained devices. Knowledge Distillation (KD) addresses this by transferring knowledge from a complex teacher to a compact student. Conventional KD methods primarily focus on mimicking the teacher's final output or intermediate features. This paper argues that such methods are one-dimensional. Inspired by human education, which utilizes multi-stage curriculum and self-reflection, we propose MTKD-SSR to bridge the gap between simple mimicry and holistic learning.
Methodology
The MTKD-SSR framework introduces three synergistic distillation mechanisms to capture diverse forms of knowledge.
Stage-wise Response Distillation (SRD)
SRD focuses on response-based knowledge. Both teacher and student networks are partitioned into stages. Auxiliary classifiers are attached to each stage to produce logits. The student learns from the teacher's stage-wise logits, ensuring that the intermediate decision-making processes align.
Stage-wise Channel Distillation (SCD)
SCD targets feature-based knowledge by aligning the distribution of feature maps. It employs channel-wise attention to identify and transfer the most critical visual features from the teacher to the student at every stage.
Cross-stage Review Distillation (CRD)
CRD implements the "self-reflection" component. It facilitates a "shallow-to-deep" internal knowledge transfer within the student model. Deeper layers act as reviewers, distilling knowledge from the logits of earlier stages. This allows the model to consolidate foundational knowledge as it learns more complex representations.
Experimental Results
The framework was evaluated on CIFAR-100, Market-1501, CUB200-2011, ImageNet, and Pascal VOC.
Performance Highlights
- CIFAR-100: MTKD-SSR achieved 81.45% accuracy (ResNet34), outperforming the teacher (77.86%) and state-of-the-art methods like SD (80.03%).
- Market-1501: In person re-identification, the student reached 68.64% mAP, a nearly 6% improvement over the teacher (62.76%).
- ImageNet: On ResNet34-18, it achieved 72.63% Top-1 accuracy, surpassing standard KD (70.96%).
- Pascal VOC: For semantic segmentation, it reached 70.84 mIoU, exceeding the competitive CWD method.
Discussion and Key Insights
A pivotal finding is the efficacy of the self-reflection mechanism (CRD). The "dark knowledge" in early layers serves as a constructive foundation for later stages. Furthermore, the ability of the student to outperform the teacher suggests that MTKD-SSR enhances generalization beyond simple imitation. The synergy between SCD, SRD, and CRD creates a robust learning environment superior to single-target distillation.
Conclusion and Future Work
MTKD-SSR demonstrates that incorporating multi-stage guidance and internal self-reflection significantly boosts the efficiency of knowledge distillation. While currently optimized for CNNs, future work will explore extending these principles to Transformer-based architectures and multi-modal tasks. Training complexity remains a challenge, though inference costs are unaffected as auxiliary components are removed post-training.
Summary updated