Skip to main content
QUICK REVIEW

[Paper Review] To Balance or Not to Balance: An Embarrassingly Simple Approach for Learning with Long-Tailed Distributions.

Junjie Zhang, Lingqiao Liu|arXiv (Cornell University)|Dec 10, 2019
Anomaly Detection Techniques and ApplicationsComputer Science2 citations
TL;DR

This paper proposes a simple yet effective method for training deep neural networks on long-tailed visual datasets by decoupling the network into a feature extractor and classifier, using class-balanced sampling for both and an auxiliary self-supervised task for the feature extractor under random sampling. Without complex components, the approach achieves state-of-the-art performance by mitigating overfitting and improving tail-class generalization.

ABSTRACT

Real-world visual data often exhibits a long-tailed distribution, where some ''head'' classes have a large number of samples, yet only a few samples are available for ''tail'' classes. Such imbalanced distribution causes a great challenge for learning a deep neural network, which can be boiled down into a dilemma: on the one hand, we prefer to increase the exposure of tail class samples to avoid the excessive dominance of head classes in the classifier training. On the other hand, oversampling tail classes makes the network prone to over-fitting, since head class samples are often consequently under-represented. To resolve this dilemma, in this paper, we propose a simple-yet-effective auxiliary learning approach. The key idea is to split a network into a classifier part and a feature extractor part, and then employ different training strategies for each part. Specifically, to promote the awareness of tail-classes, a class-balanced sampling scheme is utilised for training both the classifier and the feature extractor. For the feature extractor, we also introduce an auxiliary training task, which is to train a classifier under the regular random sampling scheme. In this way, the feature extractor is jointly trained from both sampling strategies and thus can take advantage of all training data and avoid the over-fitting issue. Apart from this basic auxiliary task, we further explore the benefit of using self-supervised learning as the auxiliary task. Without using any bells and whistles, our model achieves superior performance over the state-of-the-art solutions.

Motivation & Objective

  • To address the challenge of long-tailed class distributions in real-world visual datasets where head classes dominate and tail classes are under-represented.
  • To resolve the training dilemma between increasing tail-class exposure and preventing overfitting from oversampling.
  • To improve model generalization on rare (tail) classes without relying on complex data augmentation or architecture modifications.
  • To explore the effectiveness of combining class-balanced sampling with random sampling via an auxiliary learning task for the feature extractor.

Proposed method

  • The network is split into a feature extractor and a classifier, allowing independent training strategies for each component.
  • Both the classifier and feature extractor are trained using class-balanced sampling to enhance awareness of under-represented tail classes.
  • An auxiliary training task is introduced for the feature extractor using regular random sampling, enabling it to learn from all data and avoid overfitting.
  • The feature extractor is jointly optimized via both sampling schemes, leveraging the strengths of balanced sampling and full-data exposure.
  • Self-supervised learning is explored as an auxiliary task to further improve feature quality without requiring additional labels.
  • The method requires no complex components or bells and whistles, relying only on strategic sampling and auxiliary supervision.

Experimental results

Research questions

  • RQ1Can a simple dual-training strategy with different sampling schemes improve performance on long-tailed visual recognition tasks?
  • RQ2Does combining class-balanced sampling with random sampling through an auxiliary task mitigate overfitting in tail-class learning?
  • RQ3To what extent can self-supervised learning as an auxiliary task enhance feature representation in imbalanced settings?
  • RQ4How does the proposed method compare to state-of-the-art approaches without using complex data or model engineering?

Key findings

  • The proposed method achieves state-of-the-art performance on long-tailed visual benchmarks without using complex data augmentation or model modifications.
  • The use of class-balanced sampling for both classifier and feature extractor significantly improves recognition accuracy on tail classes.
  • The auxiliary training task under random sampling helps the feature extractor generalize better by avoiding overfitting to rare classes.
  • Self-supervised learning as an auxiliary task further boosts performance, demonstrating the effectiveness of unsupervised pre-training in imbalanced settings.
  • The method outperforms existing approaches even without additional components like loss reweighting or advanced data sampling techniques.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.