Abstract
Traditional Knowledge Distillation (KD) typically relies on large, pre-trained teacher models, which may not always be available. This paper introduces a lightweight Self-Knowledge Distillation (SKD) framework that leverages "Multi-source Information Fusion" to eliminate the need for external teachers. By combining Distillation with Reverse Guidance (DRG) and Shape-wise Regularization (DSR), the proposed method achieves state-of-the-art accuracy with significantly lower computational and memory overhead than existing SKD approaches.
Introduction
Knowledge Distillation (KD) is a powerful technique for model compression and performance enhancement, but the requirement for a high-performance teacher model is a significant bottleneck. Self-Knowledge Distillation (SKD) addresses this by allowing a model to learn from its own internal representations. However, existing SKD methods often suffer from high computational costs—such as adding auxiliary classifiers to every layer—or fail to capture the full structural information of the network. This work proposes a more efficient, lightweight alternative that utilizes both shallow-layer structural hints and output distribution regularities.
Proposed Methods
The framework introduces two novel components that can be used independently or together to regularize the training process:
Distillation with Reverse Guidance (DRG)
DRG leverages the fact that neural networks learn different features at different depths. Shallow layers are adept at capturing low-level structural details like edges and shapes, while deep layers focus on complex semantics. DRG adds a single auxiliary classifier to a shallow block, using it as a "poor teacher" to guide the entire model. This "reverse" guidance ensures that the final layers retain important structural information that might otherwise be lost during deep processing.
Distillation with Shape-wise Regularization (DSR)
DSR is motivated by the observation that as a model's accuracy increases, the variance of its ranked output probabilities decreases. DSR forces the model to maintain a consistent "shape" in its ranked predictions across the entire dataset. This prevents overconfident, brittle predictions and encourages the model to learn stable decision boundaries by focusing on the relative distribution of class probabilities.
Key Insights
- The Value of Shallow Features: A teacher model does not need to be more accurate than the student to be beneficial. By providing hints about low-level features, a shallow auxiliary classifier significantly improves the robustness of deeper layers.
- Ranked Logit Stability: The absolute probability values are less critical for regularization than the relative "shape" of the ranked class probabilities. Standardizing this shape helps the model find more generalized decision boundaries.
- Efficiency via Sparsity: High-performance SKD does not require dense auxiliary classifiers. A single, well-placed classifier in the early stages of the network provides most of the benefits with a fraction of the computational cost.
Experimental Results
The researchers evaluated the framework across diverse benchmarks, including CIFAR100, TinyImageNet, and fine-grained datasets like Stanford Dogs and CUB200.
Performance and Efficiency
The combined DRG+DSR method outperformed vanilla training by up to 2.87% and surpassed previous state-of-the-art methods like DLB by up to 1.15%. Crucially, the method is highly efficient; on a ResNet-101 model, it reduced memory (space-cost) by approximately 17-33% compared to other high-performing SKD baselines while maintaining lower time-costs per iteration.
Conclusion and Future Work
This work demonstrates that lightweight self-distillation can achieve superior results by intelligently fusing information from different parts of the model architecture. While highly effective for CNNs like ResNet and DenseNet, future work will explore how these "Reverse Guidance" principles translate to Vision Transformers (ViTs) and investigate automated methods for optimal auxiliary classifier placement.
Summary updated