Towards Calibrated Model for Long-Tailed Visual Recognition from Prior Perspective

Zhengzhuo Xu, Zenghao Chai, Chun Yuan
11/6/2021
cs.CVcs.LG

Official code: XuZhengzhuo/Prior-LT (19 stars, Python, MIT, last commit 2023-03-07).

Abstract

Real-world data universally confronts a severe class-imbalance problem and exhibits a long-tailed distribution, i.e., most labels are associated with limited instances. The naïve models supervised by such datasets would prefer dominant labels, encounter a serious generalization challenge and become poorly calibrated.

Show full abstract

We propose two novel methods from the prior perspective to alleviate this dilemma. First, we deduce a balance-oriented data augmentation named Uniform Mixup (UniMix) to promote mixup in long-tailed scenarios, which adopts advanced mixing factor and sampler in favor of the minority. Second, motivated by the Bayesian theory, we figure out the Bayes Bias (Bayias), an inherent bias caused by the inconsistency of prior, and compensate it as a modification on standard cross-entropy loss. We further prove that both the proposed methods ensure the classification calibration theoretically and empirically. Extensive experiments verify that our strategies contribute to a better-calibrated model, and their combination achieves state-of-the-art performance on CIFAR-LT, ImageNet-LT, and iNaturalist 2018.

View on arXivView PDF

Code Implementations(1)

MIT

Implement Code for UniMix and Bayias Compensated Loss

192PythonNov 17, 20213 years agoMIT

Similar Papers

Cite this paper

@article{xu2021towards,
  title  = {Towards Calibrated Model for Long-Tailed Visual Recognition from Prior Perspective},
  author = {Zhengzhuo Xu and Zenghao Chai and Chun Yuan},
  year   = {2021},
  eprint = {2111.03874},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.03874}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.03874.svg)](https://codeofpaper.com/paper/2111.03874)

Discussion