Reviving Undersampling for Long-Tailed Learning

Hao Yu, Yingxiao Du, Jianxin Wu
1/30/2024
cs.CV

Official code: yuhao318/BTM (4 stars, MIT, last commit 2024-02-26).

Abstract

The training datasets used in long-tailed recognition are extremely unbalanced, resulting in significant variation in per-class accuracy across categories. Prior works mostly used average accuracy to evaluate their algorithms, which easily ignores those worst-performing categories. In this paper, we aim to enhance the accuracy of the worst-performing categories and utilize the harmonic mean and geometric mean to assess the model's performance. We revive the balanced undersampling idea to achieve this goal. In few-shot learning, balanced subsets are few-shot and will surely under-fit, hence it is not used in modern long-tailed learning. But, we find that it produces a more equitable distribution of accuracy across categories with much higher harmonic and geometric mean accuracy, and, but lower average accuracy. Moreover, we devise a straightforward model ensemble strategy, which does not result in any additional overhead and achieves improved harmonic and geometric mean while keeping the average accuracy almost intact when compared to state-of-the-art long-tailed learning methods. We validate the effectiveness of our approach on widely utilized benchmark datasets for long-tailed learning. Our code is at \href{https://github.com/yuhao318/BTM/}{https://github.com/yuhao318/BTM/}.

View on arXivView PDF

Code Implementations(1)

yuhao318/BTMOfficial100%
MIT

This is an official implementation for "Reviving Undersampling for Long-Tailed Learning".

40PythonJan 30, 20242 years agoMIT

Similar Papers

Cite this paper

@article{yu2024reviving,
  title  = {Reviving Undersampling for Long-Tailed Learning},
  author = {Hao Yu and Yingxiao Du and Jianxin Wu},
  year   = {2024},
  eprint = {2401.16811},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.16811v1}
}

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/2401.16811.svg)](https://codeofpaper.com/paper/2401.16811)

Discussion