[Paper Review] Cross-Domain Empirical Risk Minimization for Unbiased Long-tailed Classification
This paper proposes Cross-Domain Empirical Risk Minimization (xERM), a novel training paradigm that achieves unbiased long-tailed classification by jointly minimizing empirical risks on both imbalanced and balanced data distributions. By combining ground-truth labels from the imbalanced domain with predictions from a balanced model, xERM learns robust, fair feature representations that outperform state-of-the-art methods on both long-tailed and balanced test sets, demonstrating that performance gains stem from improved representation rather than bias manipulation.
We address the overlooked unbiasedness in existing long-tailed classification methods: we find that their overall improvement is mostly attributed to the biased preference of tail over head, as the test distribution is assumed to be balanced; however, when the test is as imbalanced as the long-tailed training data -- let the test respect Zipf's law of nature -- the tail bias is no longer beneficial overall because it hurts the head majorities. In this paper, we propose Cross-Domain Empirical Risk Minimization (xERM) for training an unbiased model to achieve strong performances on both test distributions, which empirically demonstrates that xERM fundamentally improves the classification by learning better feature representation rather than the head vs. tail game. Based on causality, we further theoretically explain why xERM achieves unbiasedness: the bias caused by the domain selection is removed by adjusting the empirical risks on the imbalanced domain and the balanced but unseen domain. Codes are available at https://github.com/BeierZhu/xERM.
Motivation & Objective
- To address the overlooked bias in existing long-tailed classification methods, which favor either 'head' or 'tail' classes depending on test distribution assumptions.
- To propose a training paradigm that achieves unbiased performance across both imbalanced and balanced test distributions, rather than optimizing only for balanced test sets.
- To empirically and theoretically demonstrate that performance gains come from better feature representation, not from shifting bias between head and tail classes.
- To provide a causal framework that removes domain-selection-induced confounding bias in long-tailed learning.
Proposed method
- xERM combines two empirical risk minimization terms: one using ground-truth labels from the imbalanced training domain to preserve head-class performance, and another using predictions from a balanced model to counteract tail-class underfitting.
- The model is trained by jointly optimizing these two losses with adaptive weighting to avoid overemphasizing either domain, ensuring balanced bias mitigation.
- A causal framework is introduced to formally remove the confounding bias caused by domain selection, where the two domains cannot co-occur in training.
- The method leverages a balanced model's predictions as a proxy for the unseen balanced domain, enabling the model to learn a fair prior without requiring actual balanced data during training.
- The approach is compatible with various backbone architectures and can be applied to ensemble models like RIDE, enhancing their performance without architectural changes.
Experimental results
Research questions
- RQ1Does current long-tailed classification performance truly improve, or is it merely a shift in bias from 'head' to 'tail' classes?
- RQ2Can a model achieve strong performance on both imbalanced and balanced test distributions simultaneously, without favoring one over the other?
- RQ3Is the performance gain from existing methods due to better feature representation or simply a reweighting of class bias?
- RQ4Can a causal framework effectively remove domain-selection-induced bias in long-tailed learning?
Key findings
- xERM achieves state-of-the-art performance on both long-tailed and balanced test sets across multiple benchmarks, including ImageNet-LT, Places365-LT, and iNaturalist 2018.
- On the iNaturalist 2018 dataset, xERM ${}_{\!P\!C}$ achieves a 70.4% many-shot recall, significantly outperforming other balanced models like BBN, which drops to 49.4%.
- On CIFAR100-LT-IB-100, xERM ${}_{\!T\!D\!E}$ achieves a top-1 accuracy of 62.2% under an imbalance ratio of 100, outperforming baselines across all shot regimes.
- xERM maintains high precision (54.2%) and F1 score on Places365-LT, surpassing XE (precision: 39.9%) and PC (precision: 73.3%) in combined performance.
- Ablation studies show that xERM's gains stem from improved feature representation, not just classifier reweighting, as retraining only the classifier yields marginal gains.
- In ensemble models like RIDE, xERM consistently improves accuracy, recall, and F1 scores across all shot regimes, setting new SOTA results.
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.