[Paper Review] Balanced Knowledge Distillation for Long-tailed Learning
This paper proposes Balanced Knowledge Distillation (BKD), a novel distillation framework that decouples representation learning and tail-class optimization in long-tailed learning by combining instance-balanced cross-entropy loss with class-balanced distillation loss. BKD achieves state-of-the-art performance, outperforming both the teacher model and prior SOTA methods on ImageNet-LT, Places-LT, and iNaturalist 2018 by up to 4.7% on few-shot classes.
Deep models trained on long-tailed datasets exhibit unsatisfactory performance on tail classes. Existing methods usually modify the classification loss to increase the learning focus on tail classes, which unexpectedly sacrifice the performance on head classes. In fact, this scheme leads to a contradiction between the two goals of long-tailed learning, i.e., learning generalizable representations and facilitating learning for tail classes. In this work, we explore knowledge distillation in long-tailed scenarios and propose a novel distillation framework, named Balanced Knowledge Distillation (BKD), to disentangle the contradiction between the two goals and achieve both simultaneously. Specifically, given a vanilla teacher model, we train the student model by minimizing the combination of an instance-balanced classification loss and a class-balanced distillation loss. The former benefits from the sample diversity and learns generalizable representation, while the latter considers the class priors and facilitates learning mainly for tail classes. The student model trained with BKD obtains significant performance gain even compared with its teacher model. We conduct extensive experiments on several long-tailed benchmark datasets and demonstrate that the proposed BKD is an effective knowledge distillation framework in long-tailed scenarios, as well as a new state-of-the-art method for long-tailed learning. Code is available at https://github.com/EricZsy/BalancedKnowledgeDistillation .
Motivation & Objective
- To address the inherent contradiction in long-tailed learning between learning generalizable representations and improving performance on tail classes.
- To overcome the limitations of re-weighting strategies that harm representation learning by over-focusing on tail classes.
- To explore knowledge distillation as a solution to decouple representation learning and tail-class facilitation in imbalanced data.
- To develop a distillation framework that simultaneously enhances generalization and tail-class performance.
Proposed method
- Train a vanilla teacher model using standard cross-entropy loss on imbalanced data.
- Train the student model using a combined loss: instance-balanced cross-entropy for generalizable representation learning and class-balanced distillation loss for tail-class focus.
- Use a temperature parameter T=2 in distillation to stabilize soft labels and improve knowledge transfer.
- Decouple the student training into two distinct objectives: representation learning (via instance-balanced CE) and class-aware knowledge transfer (via class-balanced KD).
- Apply the method on long-tailed datasets including CIFAR-10/100, ImageNet-LT, Places-LT, and iNaturalist 2018.
Experimental results
Research questions
- RQ1How does re-weighting the classification loss affect the trade-off between head and tail class performance in long-tailed learning?
- RQ2Can knowledge distillation be effectively adapted to long-tailed data to simultaneously improve representation learning and tail-class performance?
- RQ3Does decoupling representation learning and class-aware distillation lead to better performance than joint optimization?
- RQ4What is the optimal temperature setting for distillation in long-tailed scenarios?
Key findings
- BKD achieves a 10-point accuracy gain over its teacher model on long-tailed CIFAR-10 with ρ=100.
- On iNaturalist 2018, BKD achieves the highest overall top-1 accuracy and reduces the performance gap between Many-, Medium-, and Few-shot subsets.
- On Places-LT, BKD achieves over 4.7% higher accuracy on the Few-shot subset compared to state-of-the-art methods.
- On ImageNet-LT, BKD outperforms LFME by a large margin without using multiple teachers or complex schedules.
- The combination of BKD and cRT (classifier retraining) further improves performance on ImageNet-LT, demonstrating complementary benefits.
- The optimal temperature for distillation is found to be T=2 across all long-tailed CIFAR datasets.
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.