[Paper Review] Refine Myself by Teaching Myself: Feature Refinement via Self-Knowledge Distillation
This paper proposes Feature Refinement via Self-Knowledge Distillation (FRSKD), a novel self-knowledge distillation method that uses an auxiliary self-teacher network to refine feature maps and soft labels for a student classifier, enabling improved performance in both image classification and semantic segmentation tasks by preserving local spatial information. FRSKD achieves state-of-the-art results on multiple benchmarks, especially when combined with data augmentation techniques.
Knowledge distillation is a method of transferring the knowledge from a pretrained complex teacher model to a student model, so a smaller network can replace a large teacher network at the deployment stage. To reduce the necessity of training a large teacher model, the recent literatures introduced a self-knowledge distillation, which trains a student network progressively to distill its own knowledge without a pretrained teacher network. While Self-knowledge distillation is largely divided into a data augmentation based approach and an auxiliary network based approach, the data augmentation approach looses its local information in the augmentation process, which hinders its applicability to diverse vision tasks, such as semantic segmentation. Moreover, these knowledge distillation approaches do not receive the refined feature maps, which are prevalent in the object detection and semantic segmentation community. This paper proposes a novel self-knowledge distillation method, Feature Refinement via Self-Knowledge Distillation (FRSKD), which utilizes an auxiliary self-teacher network to transfer a refined knowledge for the classifier network. Our proposed method, FRSKD, can utilize both soft label and feature-map distillations for the self-knowledge distillation. Therefore, FRSKD can be applied to classification, and semantic segmentation, which emphasize preserving the local information. We demonstrate the effectiveness of FRSKD by enumerating its performance improvements in diverse tasks and benchmark datasets. The implemented code is available at https://github.com/MingiJi/FRSKD.
Motivation & Objective
- To address the limitations of existing self-knowledge distillation methods that lose local spatial information due to data augmentation or fail to produce refined knowledge due to simple auxiliary networks.
- To enable effective knowledge distillation in vision tasks like semantic segmentation that require preservation of local feature details.
- To develop a self-knowledge distillation framework that leverages both soft label and feature-map distillation without relying on a pre-trained teacher model.
- To improve model performance through refined feature maps and soft labels generated by a dedicated self-teacher network.
Proposed method
- Introduces an auxiliary self-teacher network that processes the original classifier's feature maps and produces refined features for distillation back to the student classifier.
- Employs a dual-path architecture with top-down and bottom-up connections to enable feature refinement and knowledge transfer.
- Applies channel dimension adjustments in the self-teacher network to reduce parameters while maintaining feature refinement capability.
- Uses both soft label distillation (from logits) and feature-map distillation (from intermediate layers) to guide the student network training.
- Incorporates adaptive hyperparameter scheduling (warm-up and annealing) for distillation strength to avoid interference during early training.
- Supports compatibility with data augmentation techniques like Mixup and Cutmix by enhancing their effectiveness through refined feature learning.
Experimental results
Research questions
- RQ1Can a self-teacher network effectively refine feature maps and soft labels to improve student network performance without a pre-trained teacher?
- RQ2Does the proposed FRSKD method preserve local spatial information better than data-augmentation-based self-knowledge distillation in tasks like semantic segmentation?
- RQ3How does the integration of both soft label and feature-map distillation impact performance across diverse vision tasks?
- RQ4To what extent does FRSKD improve performance when combined with standard data augmentation techniques like Mixup and Cutmix?
Key findings
- FRSKD achieves state-of-the-art performance on image classification benchmarks such as CIFAR-100, TinyImageNet, and FGVC, outperforming existing self-knowledge distillation methods.
- On the MIT67 dataset, FRSKD with ResNet18 achieves higher accuracy than baseline models, demonstrating effectiveness in fine-grained classification.
- The method shows significant performance gains when combined with data augmentation: for example, accuracy improvements are notably large on CIFAR-100 and TinyImageNet with Mixup and Cutmix.
- Ablation studies confirm that both soft label and feature-map distillation contribute to performance gains, with feature distillation being particularly effective in preserving spatial details.
- Sensitivity analysis shows that FRSKD is robust to hyperparameter variations, though optimal values differ across datasets, with α ∈ {1,2,3} and β ∈ {50,100,200,500} yielding strong results.
- Qualitative attention map comparisons reveal that both the classifier and self-teacher networks progressively focus on the main object over training, with reduced discrepancy in attention distribution at later epochs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.