InstaBoost: Boosting Instance Segmentation via Probability Map Guided Copy-Pasting

Haoshu Fang, Jianhua Sun, Runzhong Wang, Minghao Gou, Yong-Lu Li, Cewu Lu

Abstract

InstaBoost is a simple yet powerful data augmentation technique that improves instance segmentation models by "copy-pasting" existing objects into new, visually plausible locations. By using an appearance-consistency heatmap to guide these placements, the framework achieves a "free lunch" performance boost of up to 2.2 mAP on the COCO dataset without changing the underlying model architecture or increasing inference time.

Introduction

Deep learning models for instance segmentation—which involves both detecting objects and outlining them at the pixel level—are notoriously data-hungry. However, creating pixel-perfect mask annotations is labor-intensive and expensive. While standard data augmentation techniques like flipping or scaling are common, they don't fully exploit the information present in mask annotations. Previous "crop-and-paste" methods often failed because they ignored visual context; pasting a boat in a forest creates unrealistic samples that can degrade neural network performance. InstaBoost aims to solve this by finding a middle ground: moving objects to new locations that are both diverse and visually sensible.

Methodology

The InstaBoost framework operates in the data-loading pipeline during training and consists of three main steps:

1. Instance and Background Preparation

Using existing mask labels, the algorithm "cuts" an object out. To avoid jagged edges, the authors use matting to create a smooth alpha channel. To fill the "hole" left behind in the original image, inpainting techniques are employed to maintain background continuity.

Instance preparation involving matting and background inpainting.

2. Random Jittering and Probability Map Guidance

In its simplest form, the object is slightly moved, scaled, and rotated within a small neighborhood of its original position. To ensure these new placements are realistic, the authors propose an appearance consistency guidance system. This uses a probability map based on local contour similarity, looking at the texture and color of the background surrounding the object's original location to find similar areas. The object is more likely to be "pasted" into these high-consistency areas, ensuring the new image remains photorealistic.

The InstaBoost pipeline: (a) original instance, (b) random jittering, (c) appearance consistency probability map, and (d) final augmented result.

Crucially, this is an online augmentation that happens on-the-fly during training, adding negligible computational overhead (approximately 0.03 seconds per iteration).

Experimental Results

The authors evaluated InstaBoost on major benchmarks, including MS COCO and Pascal VOC. The quantitative improvements are significant for a method requiring no architectural changes:

  • MS COCO: Improved Mask R-CNN (ResNet-101) from 35.7 mAP to 37.9 mAP (+2.2 points).
  • Pascal VOC: Achieved a jump of 3.9 mAP.
  • Object Detection: Bounding box detection accuracy also improved by up to 2.8 mAP on COCO.

Qualitative results show that models trained with InstaBoost produce much finer, more accurate masks, especially in complex scenes with overlapping objects.

Discussion and Conclusion

InstaBoost highlights a "context sweet spot" where restricting movement to areas with similar local appearances provides the model with "harder" but still valid examples to learn from. One of the most striking findings is that InstaBoost allows models to resist overfitting, continuing to learn for more epochs than standard models.

While highly effective, the method currently has "semantic blindness"—it might paste a bird on a gray wall because the texture matches a gray sky. Future work involving semantic context models could further refine these placements. Nonetheless, as an architecture-agnostic, plug-and-play module, InstaBoost represents a significant step forward in efficient data augmentation for instance segmentation.

Summary updated

BibTeX
@inproceedings{fang2019instaboost,
  author = {Haoshu Fang and Jianhua Sun and Runzhong Wang and Minghao Gou and Yong-Lu Li and Cewu Lu},
  title = {{InstaBoost: Boosting Instance Segmentation via Probability Map Guided Copy-Pasting}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00077},
}
Figure