Abstract
Standard Knowledge Distillation (KD) often fails when a high-capacity "Teacher" model is too complex for a lightweight "Student" model to mimic, a phenomenon known as the capacity gap. This paper introduces Self-boosting Feature Distillation (SFD), a framework that temporarily enhances the Student's learning capacity during training. By employing multi-layer feature integration and weight-based self-distillation, SFD allows the Student to bridge the capacity gap without requiring a simplified Teacher. Experimental results across CIFAR-100, ImageNet, and CUB-200 demonstrate that SFD consistently outperforms state-of-the-art distillation methods while maintaining a lightweight inference profile.
Introduction
In the pursuit of deploying deep learning models on resource-constrained devices, Knowledge Distillation has become a cornerstone technique. However, the effectiveness of KD is often hampered when the Teacher is significantly more powerful than the Student. Previous research attempted to mitigate this by using intermediate "Teacher Assistants" or simplifying the Teacher's features, but these methods often discard valuable information. SFD takes a different approach: instead of dumbing down the Teacher, it temporarily "boosts" the Student's ability to handle complex knowledge during the training phase.
The SFD Framework
The SFD framework is designed to improve the Student's representational power through two primary mechanisms: an Integrator module and a self-distillation process. These enhancements are utilized only during training; the final Student model remains compact and efficient for inference.
Feature Integration (The Integrator)
To make the Student's features more discriminative, the authors developed three integration modules:
- Layer-wise Integration (LI): Merges features from various depths of the network.
- Attention Integration (AI): Employs a channel-attention mechanism to prioritize critical feature channels.
- Receptive-field Integration (RI): Utilizes multiple pooling scales to capture multi-scale spatial information.
Empirical evidence suggests that Receptive-field Integration (RI) is the most effective, highlighting the importance of multi-scale context in bridging the capacity gap.
Self-distillation and Parameter Boosting
To stabilize the learning process, SFD incorporates an Exponential Moving Average (EMA) of the Student's own weights from previous epochs. This is further enhanced by Random Self Distillation (RSD), which applies random horizontal flips to the stored weights, increasing the model's robustness without the computational overhead of additional forward passes.
Theoretical Foundation
The authors ground the feature integration approach in Richardson extrapolation, a mathematical technique for sequence acceleration. By linearly combining features from different layers—which can be interpreted as the same function with varying parameters—SFD theoretically increases the "order of convergence." This helps the model reach an optimal state more accurately and rapidly.
Key Results and Insights
SFD was evaluated on several standard benchmarks, showing significant improvements over competitors like CRD and VID:
- CIFAR-100: In a heterogeneous setup (ResNet50 to VGG8), SFD achieved 74.96% accuracy, a substantial jump from the 70.36% baseline.
- ImageNet: Distilling ResNet34 into ResNet18 resulted in a Top-1 error of 28.19%, outperforming the popular CRD+KD method (28.62%).
- CUB-200: For fine-grained classification (ResNet50 to MobileNetV2), SFD boosted accuracy from 75.39% to 81.27%.
As illustrated in the loss curves, SFD provides a much smoother and faster convergence compared to standard training. The stability offered by the self-boosting mechanisms prevents the volatile spikes seen in traditional distillation setups.
Conclusion
Self-boosting Feature Distillation represents a shift toward student-centric improvement in model compression. By temporarily increasing the Student's capacity, SFD enables the transfer of complex knowledge that was previously considered "unlearnable" for small models. Future work may extend this self-boosting concept to other domains such as object detection and semantic segmentation.
Summary updated