Skip to main content
QUICK REVIEW

[Paper Review] Distilling Virtual Examples for Long-tailed Recognition

Yin-Yin He, Jianxin Wu|arXiv (Cornell University)|Mar 28, 2021
Domain Adaptation and Few-Shot LearningComputer Science32 references5 citations
TL;DR

This paper proposes Distilling Virtual Examples (DiVE), a knowledge distillation method that treats a teacher model's predictions as virtual examples to improve long-tailed visual recognition. By flattening the virtual example distribution through temperature scaling and normalization, DiVE explicitly enhances tail-class performance, achieving state-of-the-art accuracy on CIFAR-100-LT, ImageNet-LT, and iNaturalist2018 datasets.

ABSTRACT

We tackle the long-tailed visual recognition problem from the knowledge distillation perspective by proposing a Distill the Virtual Examples (DiVE) method. Specifically, by treating the predictions of a teacher model as virtual examples, we prove that distilling from these virtual examples is equivalent to label distribution learning under certain constraints. We show that when the virtual example distribution becomes flatter than the original input distribution, the under-represented tail classes will receive significant improvements, which is crucial in long-tailed recognition. The proposed DiVE method can explicitly tune the virtual example distribution to become flat. Extensive experiments on three benchmark datasets, including the large-scale iNaturalist ones, justify that the proposed DiVE method can significantly outperform state-of-the-art methods. Furthermore, additional analyses and experiments verify the virtual example interpretation, and demonstrate the effectiveness of tailored designs in DiVE for long-tailed problems.

Motivation & Objective

  • To address the long-tailed recognition problem where models underperform on under-represented tail classes due to data imbalance.
  • To leverage cross-category interactions by interpreting model predictions as virtual examples that transfer knowledge across categories.
  • To explicitly control the distribution of virtual examples to favor flatter, more balanced distributions that improve tail-class generalization.
  • To develop a method that outperforms existing state-of-the-art approaches on large-scale, real-world long-tailed benchmarks like iNaturalist.

Proposed method

  • Virtual examples are defined as the model's predicted class probabilities across all training samples, interpreted as soft, category-level contributions from each input.
  • Knowledge distillation is applied from the teacher model's virtual examples to a student model, effectively transferring knowledge across categories.
  • A temperature scaling strategy is used to smooth the teacher's output distribution, making the virtual example distribution flatter and more balanced.
  • The method incorporates a power normalization and a distillation loss that approximates label distribution learning (DLDL), enabling explicit control over virtual example distribution.
  • The approach avoids direct use of ground-truth labels in the distillation target, focusing instead on the model's own predictions to promote cross-category interaction.
  • The final loss combines distillation from the softened teacher output with a balanced supervision signal, enabling improved generalization to tail classes.

Experimental results

Research questions

  • RQ1Can knowledge distillation from model predictions (virtual examples) effectively mitigate long-tailed data bias in visual recognition?
  • RQ2How does the distribution of virtual examples influence the performance of long-tailed recognition models?
  • RQ3Can flattening the virtual example distribution through temperature scaling and normalization lead to improved generalization on tail classes?
  • RQ4Is the virtual example interpretation valid and effective for long-tailed recognition, and how does it compare to conventional reweighting or resampling methods?
  • RQ5Can a student model trained via virtual example distillation surpass both the teacher and existing state-of-the-art methods on real-world long-tailed datasets?

Key findings

  • DiVE achieved 51.66% accuracy on CIFAR-100-LT (β=100), surpassing the RIDE teacher (51.07%) and SOTA methods, demonstrating state-of-the-art performance.
  • On iNaturalist2018, DiVE achieved 73.44% accuracy, outperforming the RIDE method (72.60%) and setting a new SOTA.
  • The virtual example distribution of the FULL teacher (trained on full CIFAR-100) was significantly flatter than that of the CE teacher, and this flatness correlated with higher student accuracy (61.58% vs. 38.35%).
  • Using temperature τ=3 and power normalization led to the flattest virtual example distribution and the highest accuracy (62.00% on CIFAR-100-LT), confirming the importance of distribution control.
  • Removing the BSCE loss term in DiVE reduced performance slightly, but the DLDL-only variant still outperformed most baselines, validating the effectiveness of virtual example distillation alone.
  • The ablation study showed that using ground-truth labels in the distillation target (via $\tilde{\vec{t}}$) worsened performance, confirming that distillation from pure model predictions is more effective.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.