Propheter: Prophetic Teacher Guided Long-Tailed Distribution Learning

Wenxiang Xu, Linyun Zhou, Lin Chen, Lechao Cheng, Jie Lei, Zunlei Feng, Mingli Song · DOI

TL;DR

This paper introduces "Propheter," a novel approach to long-tailed visual recognition that tackles the bottleneck of limited data for minority classes. By training a "prophetic teacher" to learn potential class distributions and then using knowledge distillation, Propheter guides a student model to better distinguish between classes, achieving significant performance gains on challenging datasets.

What Problem Does This Paper Address?

Many real-world datasets exhibit a "long-tailed" distribution, meaning a few classes have abundant data (head classes), while most classes have very little (tail classes). This imbalance severely hinders the performance of deep learning models in tasks like image classification, as they tend to become biased towards the head classes, failing to learn adequate representations for the tail classes. Existing methods like data resampling or loss re-weighting offer improvements but often struggle to fundamentally address the lack of sufficient knowledge for tail classes. This paper aims to overcome this limitation by leveraging external "prior knowledge" to guide the learning process.

Methods

The core of Propheter lies in a two-stage training strategy:

  1. Prophetic Teacher Learning: This stage focuses on learning the "potential" distributions of classes in the latent space. The authors hypothesize that features from different classes should have distinguishable distributions. They propose a "residual distribution learning" scheme where a plug-and-play "propheter module" adaptively learns the difference between the learned and the "real" class distributions. This module is trained to inject Gaussian noise into features, allowing it to learn how to represent class-specific distributions. This is achieved through an alternating training scheme, where Gaussian noise is sometimes injected (GN path) and sometimes not (STD path), helping the model learn to adapt to these distributions.
  2. Propheter-Guided Long-Tailed Classification: In the second stage, the well-trained "Propheter" acts as a teacher. The target student model is then trained using knowledge distillation. Instead of just aligning logits, this method focuses on feature-level distillation, where the student learns to mimic the Gaussian-infused feature representations learned by the teacher. This guides the student model to produce more discriminative feature distributions for all classes, especially the tail ones.

Datasets

The paper evaluates Propheter on eight long-tailed benchmark datasets:

  • CIFAR-10-LT / CIFAR-100-LT: Modified versions of CIFAR-10/100 with imbalance factors of 100, 50, and 10.
  • ImageNet-LT: A subset of ImageNet with 1000 categories and a severe imbalance (max 1280 images/class, min 5 images/class).
  • Places-LT: A long-tailed variant of Places365 with 365 categories and an imbalance factor of 996.

Key Insights and Ideas

  • Latent Space Distributions Matter: The paper argues that the performance bottleneck in long-tailed learning isn't just about data quantity, but about the quality and distinguishability of learned feature distributions in the latent space.
  • "Prophetic" Teacher for Prior Knowledge: The idea of a "prophetic teacher" that learns potential class distributions, rather than just mimicking a standard teacher, is novel. This teacher acts as a guide to inject crucial information about class separability.
  • Residual Distribution Learning: Learning the difference between the current learned distribution and a desired distribution (like Gaussian) is a clever way to adapt and refine feature representations.
  • Feature-Level Distillation for Distribution Alignment: Moving beyond simple logit distillation to feature-level distillation is key to transferring the learned distributional knowledge effectively.
  • Generalizability Across Loss Functions: Propheter demonstrates its robustness by improving performance across various standard loss functions (CE Loss, Focal Loss, Balanced Softmax Loss), indicating it's a general framework.

Key Results

  • Significant Accuracy Gains: Propheter consistently improves classification accuracy across multiple datasets and architectures. For instance, on CIFAR-10-LT, it achieves a performance gain of over 4% compared to baselines using Cross-Entropy Loss.
  • Improved Performance on Large-Scale Datasets: The method shows effectiveness even on large-scale datasets like ImageNet-LT and Places-LT, demonstrating its scalability.
  • Ablation Studies Confirm Effectiveness: Experiments confirm that the proposed three methods (Prophetic Teacher Learning, Distillation with High-confidence Kernels, and Distilling from Scratch) all contribute to performance improvements, with "Distilling from Scratch" showing the most significant gains. The optimal placement of Gaussian distribution layers was found to be after the last block of the ResNet architecture.

Limitations and Future Work

  • Computational Cost: While the paper doesn't explicitly detail computational overhead, the two-stage training process and the introduction of a teacher model likely increase training time.
  • Hyperparameter Sensitivity: The paper mentions parameters like a and b for Gaussian distribution and the period for the alternating training, suggesting potential sensitivity to these settings.
  • Future Work: The authors express interest in extending their method to transformer-based models and applying it to other computer vision tasks like object detection and image segmentation. They also plan to explore more advanced distribution learning techniques.

Summary updated

BibTeX
@inproceedings{xu2023propheter,
  author = {Wenxiang Xu and Linyun Zhou and Lin Chen and Lechao Cheng and Jie Lei and Zunlei Feng and Mingli Song},
  title = {{Propheter: Prophetic Teacher Guided Long-Tailed Distribution Learning}},
  booktitle = {ICONIP},
  year = {2023},
  doi = {10.1007/978-981-99-8070-3\_17},
}
Figure