Skip to main content
QUICK REVIEW

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

Nadine Chang, Zhiding Yu|arXiv (Cornell University)|Apr 12, 2021
Domain Adaptation and Few-Shot LearningComputer Science28 references5 citations
TL;DR

This paper proposes RIO, a joint image-level and object-level resampling strategy for long-tailed object detection, combining repeat factor sampling (RFS) with an object-centric memory replay mechanism that reuses RoI features from previous model updates. RIO achieves state-of-the-art performance on LVIS v0.5 and v1.0, improving rare category AP by 36.4% in detection and 29.9% in segmentation over baseline methods while maintaining overall accuracy.

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. 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.

Motivation & Objective

  • Address the limitation of image-level resampling in long-tailed object detection, where multiple classes per image lead to imbalanced object-level distribution.
  • Develop an efficient object-level resampling strategy that avoids additional forward/backward passes during training.
  • Enable implicit feature-level augmentation through model updates and temporal diversity in object proposals.
  • Unify image-level and object-level resampling into a synergistic framework to improve performance on rare classes without degrading overall accuracy.
  • Achieve state-of-the-art results on LVIS, a challenging benchmark for long-tailed detection and instance segmentation.

Proposed method

  • Introduce an object-centric memory replay framework that stores and reuses RoI features and bounding box coordinates from previous forward passes.
  • Maintain a dynamic, class-specific memory bank with limited size that is updated every training iteration by pushing new features and evicting older ones.
  • Sample additional rare object proposals from the memory bank during training to balance object-level distribution without extra model inference.
  • Leverage model updates and data augmentation to provide implicit feature-level augmentation, increasing diversity in object representations.
  • Combine the memory replay strategy with repeat factor sampling (RFS) at the image level to form a joint resampling strategy (RIO) that addresses both image- and object-level imbalance.
  • Use a weighted sampling scheme that prioritizes classes with fewer than 30 training samples to maximize benefit from memory replay.

Experimental results

Research questions

  • RQ1Can object-level resampling improve long-tailed detection performance when image-level resampling alone is insufficient due to multi-class images?
  • RQ2How does object-centric memory replay compare to simple feature repetition in terms of model generalization and performance?
  • RQ3What is the optimal number of object proposals to sample from the memory bank for balancing performance across rare, common, and frequent classes?
  • RQ4Can image-level resampling and object-level resampling be effectively combined to achieve synergistic gains in long-tailed detection?
  • RQ5Does memory replay provide meaningful feature-level augmentation through model evolution and temporal diversity in object detection?

Key findings

  • RIO achieves a 36.4% relative improvement in AP for rare categories on LVIS v0.5 detection, significantly outperforming RFS and other baselines.
  • On LVIS v1.0, RIO improves rare category AP by 18.6 (from 14.8 to 18.6) in detection and 18.8 (from 15.4 to 18.8) in instance segmentation with ResNeXt-101.
  • The optimal number of object proposals sampled from the memory bank is 20, balancing gains on rare classes and stability on common/frequent classes.
  • Simply repeating RoI features without memory replay leads to a consistent performance drop, demonstrating the importance of temporal and feature diversity from memory replay.
  • RIO maintains high overall AP while significantly improving rare class detection, showing that fairness and accuracy can coexist in long-tailed recognition.
  • The method is compatible with different backbones, including ResNeXt-101, and consistently improves performance across multiple benchmarks and settings.

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.