[Paper Review] Towards Calibrated Model for Long-Tailed Visual Recognition from Prior Perspective
This paper proposes two novel methods—Uniform Mixup (UniMix) and Bayes Bias (Bayias)—to improve calibration in long-tailed visual recognition. UniMix uses a tail-favoring mixing factor and inverse sampling to generate more head-tail mixed samples, while Bayias corrects for prior distribution inconsistency between training and test sets via a modified cross-entropy loss. The combination achieves state-of-the-art performance on CIFAR-LT, ImageNet-LT, and iNaturalist 2018 with improved calibration and accuracy.
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\\"ive models supervised by such datasets would prefer dominant labels, encounter a serious generalization challenge and become poorly calibrated. 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.
Motivation & Objective
- Address the poor calibration and generalization of deep models in long-tailed visual recognition due to data imbalance.
- Identify the root cause of mixup's miscalibration in long-tailed settings as excessive head-head pair generation.
- Propose a new data augmentation strategy (UniMix) that promotes head-tail mixing to improve feature generalization.
- Introduce Bayes Bias (Bayias) to correct for prior distribution inconsistency between training and test sets.
- Unify UniMix and Bayias into a single training framework to achieve better-calibrated and accurate models.
Proposed method
- Introduce the concept of ξ-Aug to analyze mixup's miscalibration in long-tailed scenarios, identifying excessive head-head pair generation as the core issue.
- Design Uniform Mixup (UniMix) with a label-prior-aware mixing factor ξ*i,j ∼ U(π_yi, π_yj, α, α) to favor minority classes during mixing.
- Implement an inverse sampling strategy that increases the probability of selecting head-tail pairs during mixup data generation.
- Define Bayes Bias (Bayias) as log(π_i) - log(π'_i), where π_i is the training prior and π'_i is the test prior, to correct for prior inconsistency.
- Modify the standard cross-entropy loss by adding Bayias as a class-specific bias term to improve posterior estimation.
- Unify UniMix and Bayias into a single training pipeline that jointly improves calibration and accuracy.
Experimental results
Research questions
- RQ1Why does standard mixup fail to calibrate models in long-tailed visual recognition scenarios?
- RQ2How can data augmentation be restructured to improve generalization for minority classes in long-tailed datasets?
- RQ3What is the inherent bias introduced by inconsistent label priors between training and test sets, and how can it be corrected?
- RQ4Can combining improved data augmentation with prior-aware loss correction lead to better-calibrated models?
- RQ5How do different calibration strategies interact when combined, and do they interfere or synergize?
Key findings
- UniMix significantly improves model calibration by increasing the proportion of head-tail mixed samples, reducing overconfidence in head classes.
- Bayes Bias (Bayias) corrects for prior inconsistency between training and test sets, leading to more accurate posterior estimation.
- The combination of UniMix and Bayias achieves state-of-the-art accuracy and calibration (measured by ECE) on CIFAR-100-LT-100, with 48.3% accuracy and 1.44% ECE.
- On ImageNet-LT, the proposed method achieves superior performance compared to prior SOTA methods, demonstrating strong generalization.
- The joint use of UniMix and Bayias results in better calibration than either method alone, with no degradation in accuracy.
- Empirical results show that bad-calibrated methods can be counterproductive when combined, highlighting the importance of calibration consistency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.