Propheter: Prophetic Teacher Guided Long-Tailed Distribution Learning

Wenxiang Xu, Yongcheng Jing, Linyun Zhou, Wenqi Huang, Lechao Cheng, Zunlei Feng, Mingli Song

Abstract

Real-world datasets often exhibit a long-tailed distribution where a few "head" classes dominate while many "tail" classes have sparse samples. Traditional methods like data resampling or loss re-weighting often fail to capture the underlying feature distributions of tail classes. We present Propheter, a novel framework that utilizes a "prophetic" teacher to model latent feature distributions as Gaussians. By "prophesying" missing class knowledge and transferring it via feature-level knowledge distillation, Propheter significantly improves performance on tail classes across various benchmarks.

Introduction

Deep learning models typically struggle with long-tailed datasets, becoming heavily biased toward majority head classes. Common mitigation strategies include data resampling (oversampling tail classes) and loss re-weighting (adjusting class importance). However, these approaches do not address the core issue: the model lacks sufficient exposure to the high-dimensional variety of tail classes. The authors argue that the performance bottleneck is not just about sample counts, but about the lack of explicit consideration for how these classes should look in the model's latent feature space.

Comparison of Propheter with traditional long-tailed learning methods like resampling, re-weighting, and standard transfer learning.

As shown in Figure 1, while existing methods manipulate data or losses, Propheter focuses on the latent space. It explicitly models the potential distribution of classes, allowing the model to understand how tail classes should look in the feature space, even when physical samples are scarce.

The Propheter Framework

Propheter operates through a two-phase teacher-student paradigm designed to refine feature representations.

Phase 1: Training the Prophetic Teacher

The core innovation is the "Gaussian Layer" inserted into the teacher model. This layer assumes that features for any category should ideally follow a Gaussian distribution. It learns class-specific scale and translation parameters. Through an alternating training scheme, the teacher learns to bridge the gap between observed sparse data and an idealized balanced distribution. This results in a "prophetic" feature representation that enhances class separability.

Phase 2: Propheter-Guided Distillation

The knowledge captured in the teacher's latent space is transferred to a "naive" student model. Rather than matching final logits, the student is trained to match the teacher's high-dimensional feature descriptors using Mean Squared Error (MSE) loss. This allows the student to inherit the balanced distribution knowledge without requiring the Gaussian layers during inference.

The Propheter pipeline: Teacher learning with a Gaussian Layer followed by Distribution Knowledge Distillation to a student model.

Experimental Setup

The framework was evaluated on several long-tailed benchmarks:

  • CIFAR-10-LT & CIFAR-100-LT: Created with imbalance factors ranging from 10 to 100.
  • ImageNet-LT: A large-scale dataset with 1,000 classes and approximately 115k images.
  • Places-LT: A scene recognition dataset with 365 classes.

Results and Analysis

Propheter demonstrates significant performance gains across all tested datasets and architectures (e.g., ResNet, ResNeXt).

  • Accuracy Improvements: On CIFAR-10-LT (imbalance factor 100), Propheter improved baseline Cross-Entropy accuracy by 4.03%. On CIFAR-100-LT, gains of up to 2.06% were observed.
  • Synergy with Existing Methods: Propheter is a "plug-and-play" module. When combined with loss functions like Focal Loss or Balanced Softmax, it consistently provides an additional performance boost.
  • Scalability: The method scales effectively to large datasets like ImageNet-LT and Places-LT, showing its robustness beyond small-scale benchmarks.

A key insight from ablation studies is that the Gaussian layer is most effective when placed after the final convolutional block, where features are most strongly tied to class identity. Furthermore, training the student from scratch during distillation was found to be more effective than fine-tuning, as it prevents the inheritance of initial biases from skewed models.

Conclusion

Propheter addresses the long-tailed distribution problem by shifting the focus to latent feature space modeling. By using a prophetic teacher to guide a student model, it effectively "fills in" the missing knowledge for tail classes. Future work includes extending this framework to Transformer-based architectures and exploring its application in object detection and instance segmentation tasks.

Summary updated

BibTeX
@inproceedings{xu2023propheter,
  author = {Wenxiang Xu and Yongcheng Jing and Linyun Zhou and Wenqi Huang and Lechao Cheng 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