Command Palette
Search for a command to run...
Bingyi Kang; Saining Xie; Marcus Rohrbach; Zhicheng Yan; Albert Gordo; Jiashi Feng; Yannis Kalantidis

Abstract
The long-tail distribution of the visual world poses great challenges for deep learning based classification models on how to handle the class imbalance problem. Existing solutions usually involve class-balancing strategies, e.g., by loss re-weighting, data re-sampling, or transfer learning from head- to tail-classes, but most of them adhere to the scheme of jointly learning representations and classifiers. In this work, we decouple the learning procedure into representation learning and classification, and systematically explore how different balancing strategies affect them for long-tailed recognition. The findings are surprising: (1) data imbalance might not be an issue in learning high-quality representations; (2) with representations learned with the simplest instance-balanced (natural) sampling, it is also possible to achieve strong long-tailed recognition ability by adjusting only the classifier. We conduct extensive experiments and set new state-of-the-art performance on common long-tailed benchmarks like ImageNet-LT, Places-LT and iNaturalist, showing that it is possible to outperform carefully designed losses, sampling strategies, even complex modules with memory, by using a straightforward approach that decouples representation and classification. Our code is available at https://github.com/facebookresearch/classifier-balancing.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| long-tail-learning-on-cifar-10-lt-r-10 | LWS | Error Rate: 8.9 |
| long-tail-learning-on-cifar-10-lt-r-10 | cRT | Error Rate: 9.0 |
| long-tail-learning-on-imagenet-lt | CB LWS | Top-1 Accuracy: 41.4 |
| long-tail-learning-on-inaturalist-2018 | CB-LWS | Top-1 Accuracy: 69.5% |
| long-tail-learning-on-places-lt | CB LWS | Top-1 Accuracy: 37.6 |
| long-tail-learning-with-class-descriptors-on | LWS | Long-Tailed Accuracy: 65.7 Per-Class Accuracy: 53.1 |
| long-tail-learning-with-class-descriptors-on-1 | LWS | Long-Tailed Accuracy: 40.2 Per-Class Accuracy: 33.9 |
| long-tail-learning-with-class-descriptors-on-2 | LWS | Long-Tailed Accuracy: 93.5 Per-Class Accuracy: 73.4 |
| long-tail-learning-with-class-descriptors-on-3 | LWS | Per-Class Accuracy: 49.9 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.