Learning Muti-expert Distribution Calibration for Long-tailed Video Classification

Yufan Hu, Junyu Gao, Changsheng Xu · DOI

Introduction

Real-world video datasets are highly imbalanced, leading to models that perform poorly on rare "tail" classes. This paper introduces a Multi-Expert Distribution Calibration (MEDC) framework that models both intra-class feature distributions and inter-class global distributions to handle this imbalance. By training multiple experts on different simulated data distributions (long-tailed, uniform, and inversely long-tailed), the model significantly boosts accuracy on rare video categories without sacrificing performance on common ones.

The Challenge of Long-Tailed Video Data

Most standard video classification models assume that training data is uniformly distributed across all categories. However, real-world data is notoriously "long-tailed"—a few head classes (like "walking") contain massive amounts of data, while many tail classes (like "shoveling snow") have very few examples. Consequently, models become biased toward head classes and overfit or fail entirely on tail classes.

The long-tailed distribution of video categories in the VideoLT dataset, showing the disparity between head and tail classes.

Videos contain complex temporal dynamics, making it much harder to learn a rare concept from just a few examples. Furthermore, existing methods often assume the test dataset will follow a specific distribution. In reality, the test distribution is unknown and might be uniform or even inversely long-tailed. Training a model on a single assumed distribution leads to "simulation bias" and poor generalization in the wild.

Multi-Expert Distribution Calibration (MEDC)

To tackle these challenges, the authors propose an end-to-end framework that models two levels of data distribution:

Intra-class Probabilistic Modeling

Instead of representing a video as a single deterministic point in latent space, the model represents each class as a Gaussian distribution. The mean acts as a class prototype, while the variance represents the diversity of samples within that class. To estimate this variance efficiently, the authors introduce a temporal attention module. This module analyzes the dependency relations between frames within a single video to estimate the distribution's region size, using a re-parameterization trick to keep the process differentiable.

Multi-Expert System (Inter-class Calibration)

To handle unknown test distributions, the architecture splits into three "experts" that share a backbone but have independent later stages:

  • Expert 1 (Long-tailed): Trains on the original skewed data.
  • Expert 2 (Uniform): Trains on data re-sampled to be perfectly balanced.
  • Expert 3 (Inversely Long-tailed): Trains on data where tail classes are heavily oversampled to invert the original distribution.
The Multi-Expert Distribution Calibration (MEDC) framework, illustrating how different experts handle various data distributions to improve feature representation.

The model explicitly constrains the variance (region size) for each expert. For example, the long-tailed expert is forced to give head classes a larger variance, while the inversely long-tailed expert gives tail classes a larger variance. During inference, the predictions of all three experts are averaged to ensure robust performance across any potential test distribution.

Experimental Results

The model is trained and evaluated on VideoLT, a large-scale, untrimmed long-tailed video classification dataset containing 1,004 classes and roughly 256,000 videos. The dataset is partitioned into head classes (>500 videos), medium classes (100–500 videos), and tail classes (<100 videos).

  • State-of-the-Art Performance: Using ResNet-50 features, MEDC achieves an overall mean Average Precision (mAP) of 56.7%. This outperforms the best video-specific baseline (FrameStack) by 5.1% and the best image-based baseline (LDAM-DRW) by 6.5%.
  • Massive gains on tail classes: The hardest part of the dataset is the tail. MEDC hits 43.6% mAP on tail classes compared to FrameStack's 39.7%—a nearly 10% relative improvement.
  • Ablation success: The temporal attention module alone is responsible for a significant boost; removing it drops overall mAP from 56.7% to 54.5%. Furthermore, the multi-expert ensemble strictly outperforms any single expert operating alone (which hover around 51.7% to 52.7%).

Conclusion

By modeling both intra-class variance and inter-class global distributions, MEDC effectively transfers knowledge from data-rich head classes to data-poor tail classes. This approach prevents simulation bias and provides a robust framework for real-world video classification. Future work may explore category-category relations as an additional constraint and extend this multi-expert calibration framework to other complex tasks like action prediction and video scene graph generation.

Summary updated

BibTeX
@article{hu2024learning,
  author = {Yufan Hu and Junyu Gao and Changsheng Xu},
  title = {{Learning Muti-expert Distribution Calibration for Long-tailed Video Classification}},
  journal = {IEEE Trans. Multimedia},
  year = {2024},
  doi = {10.1109/tmm.2023.3267887},
}
Figure