Learning with Free Object Segments for Long-Tailed Instance Segmentation

Cheng Zhang, Tai-Yu Pan, Tianle Chen, Jike Zhong, Wenjin Fu, Wei-Lun Chao

Introduction

Instance segmentation models typically excel at identifying common objects like "person" or "car" but falter when encountering rare categories such as "ferret," "heron," or "barge." This "long-tail" distribution is a fundamental challenge in computer vision. While increasing training data is the obvious solution, manual pixel-level annotation is prohibitively expensive and time-consuming.

Existing approaches often rely on re-sampling or specialized loss functions, but these do not address the underlying lack of appearance diversity for rare classes. FreeSeg addresses this by harvesting "free" object segments from abundant, unannotated object-centric images found in datasets like ImageNet or via web searches.

Methodology

FreeSeg employs a three-stage pipeline to transform unannotated images into high-quality training data for instance segmentation.

1. Segment Generation and Refinement

The process begins with object-centric images where a single object is typically centered against a relatively simple background. FreeSeg utilizes an off-the-shelf co-segmentation model, specifically Spatial and Semantic Modulation (SSM), to identify foreground regions. These raw masks are subsequently refined using Gaussian filters, dynamic thresholding, and morphological operations to ensure cleaner boundaries.

Harvested and refined segments for rare classes like ferrets and herons, demonstrating the appearance diversity obtained from unannotated sources.

2. Segment Ranking

To mitigate noise from the automated generation process, FreeSeg introduces a novel ranking mechanism. Two primary metrics are used to select the highest-quality segments:

  • FreeSeg Score: This metric evaluates geometric quality by comparing the segment against a "pseudo-bounding box" generated via Localization by Region Removal (LORE). It averages Intersection over Bounding Box (IoB) and Intersection over Mask (IoM) to ensure the segment is both well-contained and sufficiently fills the expected object area.
  • Drop Rate: This semantic metric leverages a pre-trained classifier. If removing the pixels defined by the segment leads to a significant drop in the classifier's confidence for that specific class, the segment is deemed to accurately represent the object.

3. Data Synthesis

The final step involves bridging the domain gap between simple object-centric images and complex real-world scenes. High-ranking segments are "copy-pasted" onto diverse background images from the LVIS dataset. This placement provides the necessary contextual variety for training robust models.

Synthesized training images created by copy-pasting high-quality free segments into complex scenes to bridge the domain gap.

Key Results

FreeSeg demonstrates significant performance improvements on the LVIS v1 benchmark, particularly for rare categories. Using a ResNet-50 backbone, the framework improved Average Precision for rare classes ($AP_r$) from a baseline of 18.17% (MosaicOS) to 20.23%. When combined with post-processing calibration, $AP_r$ reached 25.11%, outperforming specialized long-tail loss functions like Seesaw Loss.

Notably, augmenting with these "free" segments sometimes outperformed using human-annotated ground truth, likely due to the superior visual variety provided by web-scraped images compared to limited official training sets.

Conclusion

FreeSeg provides a scalable, model-agnostic framework for tackling the long-tail problem without additional manual labeling. By prioritizing quality through its ranking mechanism and ensuring contextual diversity via copy-paste synthesis, it effectively leverages the vast amount of unannotated data available online to improve instance segmentation for rare objects.

Summary updated

BibTeX
@inproceedings{zhang2022learning,
  author = {Cheng Zhang and Tai-Yu Pan and Tianle Chen and Jike Zhong and Wenjin Fu and Wei-Lun Chao},
  title = {{Learning with Free Object Segments for Long-Tailed Instance Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20080-9\_38},
}
Figure