Localized Interactive Instance Segmentation

Soumajit Majumder, Angela Yao

TL;DR

This paper introduces a "localized" approach to interactive instance segmentation that restricts user clicks to the immediate vicinity of a target object. By transforming these clicks into a structure-aware "superpixel-box" guidance map, the authors significantly reduce the number of user interactions required to achieve high-quality masks, setting new state-of-the-art results on benchmarks like MS COCO and GrabCut.

What Problem Does This Paper Address?

Interactive instance segmentation is the process where a human "helps" an AI segment an object by providing inputs like clicks (positive for the object, negative for the background).

The authors identify two major flaws in current state-of-the-art methods:

  1. Unconstrained Interaction: Most systems allow users to click anywhere in the image. This is inefficient; clicking on a background pixel far away from the target doesn't provide much useful information about the object's boundaries.
  2. Structure-Agnostic Guidance: When a user clicks, the system usually generates a "guidance map" (like a heat map of distances from the click). These maps are often simple geometric shapes (circles or gradients) that ignore the actual edges and textures of the image.

The challenge is to create a system that "understands" the local context of a click and uses it to constrain the search area effectively without requiring the user to draw perfect bounding boxes or extreme points.

Methods

The authors propose a three-pronged strategy to make interaction more efficient:

  • Localized Interaction Loop: Instead of a free-for-all, the interaction starts with two specific clicks: one at the center of the object and one just outside its boundary. This defines an initial "enclosing box." Subsequent corrective clicks are then restricted: negative clicks must stay inside the estimated box, and positive clicks must stay outside. This forces the user to focus on the most ambiguous areas.
  • Superpixel-based Guidance Maps: Rather than using standard Euclidean distance (which creates a perfect circle around a click), the authors use superpixels—groups of pixels with similar colors and textures. Guidance values are calculated based on the distance between superpixel centroids. This ensures the "influence" of a click follows the natural contours of the image.
  • Superpixel-box Guidance (SPBox): This is the paper's core novelty. It’s a "weak" localization prior. It behaves like a bounding box but is composed of superpixels. Unlike a hard crop (which deletes image data), this is provided as an additional input channel to the network, telling the model, "The object is likely within these specific irregular boundaries."

The underlying architecture uses DeepLab-v2 with a ResNet-101 backbone, a standard but powerful choice for semantic segmentation.

Datasets

The model was evaluated on five major benchmarks to ensure robustness:

  • PASCAL VOC 2012: The standard for object segmentation.
  • SBD (Semantic Boundaries Dataset): Used for additional training data.
  • GrabCut & Berkeley: Smaller datasets used to test how well the model generalizes to simple foreground/background tasks.
  • MS COCO: A massive, challenging dataset with complex scenes and many overlapping objects.
  • DAVIS-2016: Used to test the model's ability to "fix" or refine masks in video object segmentation.

Key Insights and Ideas

  • Constraint is a Feature: By limiting where a user can click, the system actually gains more information. A click in a restricted area tells the network more about the object's scale and location than a random click in the corner of the image.
  • Structure-Awareness is Better than Precision: You don't need a perfect bounding box if your guidance map respects image edges. The "sloppy" superpixel box is more effective than a rigid rectangle because it aligns with the actual visual data (textures and colors).
  • Avoiding the "Hard Crop": Many previous methods crop the image around the object. The authors argue this is "unnatural" for training and loses context. Their "weak prior" (the SPBox channel) allows the network to see the whole scene while knowing exactly where to focus.

Key Results

The primary metric in interactive segmentation is the average number of clicks required to reach a certain accuracy (mIoU).

  • GrabCut: Reached 90% mIoU with only 3.46 clicks, outperforming previous methods like BRS (3.60) and MLG (3.58).
  • MS COCO: On this difficult dataset, the method showed a 4.6% to 6.5% improvement in efficiency over previous state-of-the-art models.
  • Video Refinement: When used to correct "bad" masks from automated video tools (like OSVOS), the proposed method improved the mIoU by over 5% with just a single corrective click.

Limitations and Future Work

The authors acknowledge a significant hurdle: Occlusion. Because the "Superpixel-box" relies on an enclosing area, if two objects are overlapping or very close to each other, the boxes for both objects might overlap significantly. This makes it difficult for the network to distinguish between the target instance and the occluding neighbor.

Future work likely involves finding better ways to "disentangle" these overlapping priors or developing more sophisticated superpixel groupings that can handle depth and layering.

Summary updated

BibTeX
@inproceedings{majumder2019localized,
  author = {Soumajit Majumder and Angela Yao},
  title = {{Localized Interactive Instance Segmentation}},
  booktitle = {GCPR},
  year = {2019},
  doi = {10.1007/978-3-030-33676-9\_37},
}
Figure