Rethinking the Value of Labels for Improving Class-Imbalanced Learning
About
Real-world data often exhibits long-tailed distributions with heavy class imbalance, posing great challenges for deep recognition models. We identify a persisting dilemma on the value of labels in the context of imbalanced learning: on the one hand, supervision from labels typically leads to better results than its unsupervised counterparts; on the other hand, heavily imbalanced data naturally incurs "label bias" in the classifier, where the decision boundary can be drastically altered by the majority classes. In this work, we systematically investigate these two facets of labels. We demonstrate, theoretically and empirically, that class-imbalanced learning can significantly benefit in both semi-supervised and self-supervised manners. Specifically, we confirm that (1) positively, imbalanced labels are valuable: given more unlabeled data, the original labels can be leveraged with the extra data to reduce label bias in a semi-supervised manner, which greatly improves the final classifier; (2) negatively however, we argue that imbalanced labels are not useful always: classifiers that are first pre-trained in a self-supervised manner consistently outperform their corresponding baselines. Extensive experiments on large-scale imbalanced datasets verify our theoretically grounded strategies, showing superior performance over previous state-of-the-arts. Our intriguing findings highlight the need to rethink the usage of imbalanced labels in realistic long-tailed tasks. Code is available at https://github.com/YyzHarry/imbalanced-semi-self.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | iNaturalist 2018 | Top-1 Accuracy68.1 | 287 | |
| Image Classification | ImageNet LT | Top-1 Accuracy51.3 | 251 | |
| Long-Tailed Image Classification | ImageNet-LT (test) | -- | 220 | |
| Image Classification | CIFAR-10 long-tailed (test) | Top-1 Acc88.5 | 201 | |
| Image Classification | iNaturalist 2018 (test) | Top-1 Accuracy68.1 | 192 | |
| Image Classification | CIFAR-10-LT (test) | Top-1 Error0.0824 | 185 | |
| Image Classification | ImageNet-LT (test) | -- | 159 | |
| Image Classification | CIFAR-100 Long-Tailed (test) | Top-1 Accuracy58.9 | 149 | |
| Image Classification | iNaturalist 2018 (val) | Top-1 Accuracy68.1 | 116 | |
| Long-tailed Visual Recognition | ImageNet LT | Overall Accuracy51.3 | 89 |