Difficulty-Net: Learning to Predict Difficulty for Long-Tailed Recognition

Saptarshi Sinha, Hiroki Ohashi
9/7/2022
cs.CVcs.AIcs.LG

Official code: hitachi-rd-cv/Difficulty_Net (9 stars, Python, last commit 2023-03-14).

Abstract

Long-tailed datasets, where head classes comprise much more training samples than tail classes, cause recognition models to get biased towards the head classes. Weighted loss is one of the most popular ways of mitigating this issue, and a recent work has suggested that class-difficulty might be a better clue than conventionally used class-frequency to decide the distribution of weights.

Show full abstract

A heuristic formulation was used in the previous work for quantifying the difficulty, but we empirically find that the optimal formulation varies depending on the characteristics of datasets. Therefore, we propose Difficulty-Net, which learns to predict the difficulty of classes using the model's performance in a meta-learning framework. To make it learn reasonable difficulty of a class within the context of other classes, we newly introduce two key concepts, namely the relative difficulty and the driver loss. The former helps Difficulty-Net take other classes into account when calculating difficulty of a class, while the latter is indispensable for guiding the learning to a meaningful direction. Extensive experiments on popular long-tailed datasets demonstrated the effectiveness of the proposed method, and it achieved state-of-the-art performance on multiple long-tailed datasets.

View on arXivView PDF

Code Implementations(1)

91PythonSep 2, 20223 years ago

Similar Papers

Cite this paper

@article{sinha2022difficultynet,
  title  = {Difficulty-Net: Learning to Predict Difficulty for Long-Tailed Recognition},
  author = {Saptarshi Sinha and Hiroki Ohashi},
  year   = {2022},
  eprint = {2209.02960},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.02960}
}

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

Discussion