[Paper Review] Computation-Efficient Knowledge Distillation via Uncertainty-Aware Mixup
This paper proposes UNIXKD, a computation-efficient knowledge distillation method that uses uncertainty-aware sampling to prioritize informative samples and adaptive mixup to compact knowledge, reducing training cost by 21% on CIFAR100 while outperforming conventional KD and matching its performance on ImageNet with significantly lower computation.
Knowledge distillation, which involves extracting the "dark knowledge" from a teacher network to guide the learning of a student network, has emerged as an essential technique for model compression and transfer learning. Unlike previous works that focus on the accuracy of student network, here we study a little-explored but important question, i.e., knowledge distillation efficiency. Our goal is to achieve a performance comparable to conventional knowledge distillation with a lower computation cost during training. We show that the UNcertainty-aware mIXup (UNIX) can serve as a clean yet effective solution. The uncertainty sampling strategy is used to evaluate the informativeness of each training sample. Adaptive mixup is applied to uncertain samples to compact knowledge. We further show that the redundancy of conventional knowledge distillation lies in the excessive learning of easy samples. By combining uncertainty and mixup, our approach reduces the redundancy and makes better use of each query to the teacher network. We validate our approach on CIFAR100 and ImageNet. Notably, with only 79% computation cost, we outperform conventional knowledge distillation on CIFAR100 and achieve a comparable result on ImageNet.
Motivation & Objective
- Address the underexplored problem of knowledge distillation (KD) efficiency, focusing on reducing computation cost without sacrificing performance.
- Identify redundancy in conventional KD stemming from excessive learning of easy, high-confidence samples.
- Propose a method to improve training efficiency by dynamically adjusting sample importance based on uncertainty and knowledge compactness.
- Demonstrate that reducing redundant queries to the teacher network can maintain or improve student performance with lower computational cost.
Proposed method
- Estimate sample informativeness using uncertainty from student network predictions, where high uncertainty indicates informative, hard-to-classify samples.
- Apply adaptive mixup: mild mixup to uncertain samples to preserve key features, and heavy mixup to certain samples to increase knowledge compactness.
- Use teacher network outputs (logits) from mixed samples as soft labels to supervise the student, reducing the number of teacher forward passes needed.
- Define efficiency as the total number of forward/backward passes in teacher and student networks, enabling direct comparison across KD methods.
- Integrate uncertainty sampling with mixup to reduce redundant learning on easy samples while enhancing learning on hard, boundary samples.
- Train the student network using a loss that combines cross-entropy on original and mixed samples, with mixup weights adjusted by uncertainty levels.
Experimental results
Research questions
- RQ1Can knowledge distillation be made more computation-efficient without compromising student performance?
- RQ2Does reducing redundant learning on easy samples improve overall distillation efficiency?
- RQ3Can uncertainty estimation effectively identify informative samples for selective knowledge transfer?
- RQ4How does adaptive mixup based on uncertainty improve knowledge compactness and model generalization?
- RQ5To what extent can the number of teacher forward passes be reduced while maintaining or improving student accuracy?
Key findings
- UNIXKD reduces computation cost by 21% (to 79% of baseline) on CIFAR100 while achieving higher top-1 accuracy than conventional knowledge distillation.
- On ImageNet, UNIXKD achieves comparable performance to conventional KD with significantly lower computation cost, demonstrating strong generalization.
- Uncertainty sampling preferentially selects samples far from category centers and with high teacher entropy, confirming their informativeness and difficulty.
- The method learns a hard-category sampling strategy rapidly in the first few epochs, stabilizing quickly and maintaining high sample diversity.
- There is a strong negative correlation between sampling frequency and category difficulty: hard categories are sampled more often under uncertainty, improving their accuracy.
- Random sampling leads to uniform sampling across categories, while uncertainty sampling reduces redundancy by focusing on hard samples, thus improving efficiency and accuracy.
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.