Image-Level or Object-Level? A Tale of Two Resampling Strategies for Long-Tailed Detection

Nadine Chang, Zhiding Yu, Yu-Xiong Wang, Anima Anandkumar, Sanja Fidler +1 more
4/12/2021
cs.CVcs.LG

Official code: NVlabs/RIO (20 stars, Python, last commit 2021-07-29).

Abstract

Training on datasets with long-tailed distributions has been challenging for major recognition tasks such as classification and detection. To deal with this challenge, image resampling is typically introduced as a simple but effective approach.

Show full abstract

However, we observe that long-tailed detection differs from classification since multiple classes may be present in one image. As a result, image resampling alone is not enough to yield a sufficiently balanced distribution at the object level. We address object-level resampling by introducing an object-centric memory replay strategy based on dynamic, episodic memory banks. Our proposed strategy has two benefits: 1) convenient object-level resampling without significant extra computation, and 2) implicit feature-level augmentation from model updates. We show that image-level and object-level resamplings are both important, and thus unify them with a joint resampling strategy (RIO). Our method outperforms state-of-the-art long-tailed detection and segmentation methods on LVIS v0.5 across various backbones. Code is available at https://github.com/NVlabs/RIO.

View on arXivView PDF

Code Implementations(1)

NVlabs/RIOOfficial100%

Official PyTorch implementation of RIO

205Python, CudaJul 22, 20215 years agoNOASSERTION
deep-learninginstance-segmentationlong-tailed-recognitionmemory-replayobject-detection+1 more

Similar Papers

Cite this paper

@article{chang2021imagelevel,
  title  = {Image-Level or Object-Level? A Tale of Two Resampling Strategies for Long-Tailed Detection},
  author = {Nadine Chang and Zhiding Yu and Yu-Xiong Wang and Anima Anandkumar and Sanja Fidler and Jose M. Alvarez},
  year   = {2021},
  eprint = {2104.05702},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05702}
}

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

Discussion