Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Class-Balanced Methods for Long-Tailed Visual Recognition from a Domain Adaptation Perspective

Muhammad Abdullah Jamal, Matthew A. Brown|arXiv (Cornell University)|Mar 24, 2020
Domain Adaptation and Few-Shot LearningComputer Science59 references29 citations
TL;DR

This paper rethinks class-balanced learning for long-tailed visual recognition by framing it as a domain adaptation problem, specifically targeting target shift. It proposes a meta-learning approach to explicitly estimate and correct discrepancies between source (training) and target (inference) class-conditioned distributions, especially for underrepresented tail classes, achieving state-of-the-art performance across six benchmarks with consistent improvements over existing methods.

ABSTRACT

Object frequency in the real world often follows a power law, leading to a mismatch between datasets with long-tailed class distributions seen by a machine learning model and our expectation of the model to perform well on all classes. We analyze this mismatch from a domain adaptation point of view. First of all, we connect existing class-balanced methods for long-tailed classification to target shift, a well-studied scenario in domain adaptation. The connection reveals that these methods implicitly assume that the training data and test data share the same class-conditioned distribution, which does not hold in general and especially for the tail classes. While a head class could contain abundant and diverse training examples that well represent the expected data at inference time, the tail classes are often short of representative training data. To this end, we propose to augment the classic class-balanced learning by explicitly estimating the differences between the class-conditioned distributions with a meta-learning approach. We validate our approach with six benchmark datasets and three loss functions.

Motivation & Objective

  • To analyze the long-tailed visual recognition problem from a domain adaptation perspective, particularly focusing on target shift assumptions.
  • To identify the implicit assumption in existing class-balanced methods that source and target class-conditioned distributions are identical, which fails for tail classes.
  • To improve long-tailed recognition by explicitly modeling the discrepancy between source and target class-conditional distributions using meta-learning.
  • To develop a two-component weighting scheme that jointly optimizes class-wise and conditional weights for better generalization.
  • To validate the method across diverse benchmarks, including ImageNet-LT, Places-LT, and iNaturalist, under multiple loss functions.

Proposed method

  • Reframes long-tailed classification as a target shift problem in domain adaptation, where the source domain has a long-tailed class distribution and the target domain is assumed to be balanced.
  • Proposes a two-component weighting mechanism: class-wise weights to balance class frequencies and conditional weights to correct distribution shifts between training and inference data for each class.
  • Employs a meta-learning framework to jointly optimize both sets of weights, where the inner loop trains the model with current weights and the outer loop updates them based on validation performance.
  • Uses a two-stage training process: first pre-train with cross-entropy, then fine-tune with meta-learned weights to improve generalization on tail classes.
  • Applies the method to cross-entropy, focal loss, and LDAM loss, demonstrating consistent gains across different loss functions.
  • Introduces a variant that updates only the classification layers during meta-learning, further improving performance on long-tailed datasets.

Experimental results

Research questions

  • RQ1Does the assumption that source and target class-conditioned distributions are equal hold for tail classes in long-tailed visual recognition?
  • RQ2Can explicit modeling of distribution shifts between training and inference data improve performance on long-tailed datasets?
  • RQ3How does meta-learning the joint optimization of class-wise and conditional weights compare to standard class-balancing methods?
  • RQ4Can the proposed method generalize across different loss functions and benchmark datasets?
  • RQ5What is the contribution of conditional weights versus class-wise weights in improving tail-class accuracy?

Key findings

  • The proposed method reduces top-1 error to 70.10% on iNaturalist 2018, a 2% improvement over class-balanced cross-entropy and 4.3% over vanilla cross-entropy.
  • On Places-LT, the method achieves a top-1 error of 62.90%, matching or surpassing state-of-the-art methods like OLTR (64.1%) and cRT (63.3%).
  • The method improves top-1 accuracy by 3.33% on ImageNet-LT compared to vanilla cross-entropy and 2.33% over class-balanced cross-entropy.
  • Ablation studies show that dropping either class-wise or conditional weights leads to performance degradation, confirming the necessity of both components.
  • The method consistently outperforms class-balanced training across all six benchmark datasets, including CIFAR-LT, ImageNet-LT, Places-LT, and iNaturalist 2017/2018.
  • The meta-learning approach with separate optimization of classification layers during meta-learning yields further gains, demonstrating the importance of fine-tuning strategy.

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.