NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SIM: Semantic-aware Instance Mask Generation for Box-Supervised Instance Segmentation

Ruihuang Li, Chenhang He, Yabin Zhang, Shuai Li, Liyi Chen, Lei Zhang

Introduction

Instance segmentation—the task of identifying and masking every individual object in an image—is a cornerstone of computer vision. However, the high cost of pixel-wise annotations often limits the scalability of these models. Box-Supervised Instance Segmentation (BSIS) offers a compelling alternative by training models using only bounding boxes, which are significantly cheaper to produce.

Despite its potential, BSIS faces a significant challenge in "supervision quality." Most existing methods rely on low-level image features, such as color similarity between neighboring pixels (pairwise affinity). This approach frequently fails when an object’s color matches its background or when multiple objects of the same type overlap. The authors of this paper argue that high-level semantic information is essential to understand the "entity" of an object, moving beyond simple local textures.

The SIM Framework

The researchers propose the SIM (Semantic-aware Instance Mask) generation paradigm, which bridges the gap between weak box supervision and dense mask requirements through three main components:

1. Semantic-aware Prototypes

Instead of relying solely on local pixel data, SIM maintains a set of "prototypes" (feature centroids) for every object category across the entire dataset. By comparing a pixel's features to these global prototypes, the model can better identify foreground regions even in camouflaged or noisy scenes. To ensure stable updates during training, the authors utilize an Optimal Transport formulation via the Sinkhorn-Knopp algorithm.

2. Self-Correction Module

While global prototypes are effective at identifying category-level features (e.g., "person" pixels), they struggle to distinguish between individual instances of the same class standing in close proximity. The self-correction module addresses this by using an "instance probability map" derived from the model's own predictions and bounding box IoU (Intersection over Union). This process rectifies the semantic masks, effectively separating individual instances.

3. Online Weakly-Supervised Copy-Paste

To handle occlusions and the lack of data for rare categories, the authors adapted the popular "Copy-Paste" augmentation for a weakly-supervised setting. A memory bank stores high-quality pseudo-masks from previous training steps, which are then "cut and pasted" into new scenes. This creates more challenging training samples and forces the model to learn more robust features.

Experimental Results

The SIM framework was evaluated on two standard computer vision benchmarks: MS COCO and PASCAL VOC 2012.

Quantitative Performance

SIM achieves state-of-the-art (SOTA) performance across multiple backbones:

  • MS COCO: Using a ResNet-101 backbone, SIM achieved 35.3% AP, outperforming previous SOTA methods such as BoxInst (33.2%) and BoxLevelSet (33.4%).
  • Small Object Mastery: One of the most significant findings was the improvement in small object segmentation. On COCO, SIM improved the $AP_S$ (Average Precision for small objects) to 18.4%, a notable jump over BoxInst’s 16.2%.
  • PASCAL VOC: SIM achieved 38.6% AP, setting a new benchmark for box-supervised methods on this dataset.

Qualitative Superiority

Visual results demonstrate that SIM is significantly better at maintaining the "integrity" of objects. Unlike methods relying solely on color similarity, SIM accurately preserves complex structures, such as the limbs of a person or the intricate parts of a chair, even against cluttered backgrounds.

Discussion and Future Work

The "aha moment" of this research is the realization that while local pixel affinities provide the "where" (boundaries), global semantic prototypes provide the "what" (object identity). By combining these, the quality of pseudo-masks "co-evolves" with the segmentation network during training.

Limitations

  • Memory Overhead: The use of a memory bank for the Online Copy-Paste operation increases memory requirements during training.
  • Prototype Complexity: While the authors used 10 prototypes per category to handle intra-class variance, extremely diverse categories might require more complex representation strategies.

Future Directions

The authors suggest that this semantic-aware approach could be extended to even weaker forms of supervision, such as image-level labels or point-based supervision. Furthermore, there is potential to integrate SIM with large-scale pre-trained vision-language models (like CLIP) to further enhance the semantic prototypes and improve zero-shot capabilities.

Summary updated

BibTeX
@inproceedings{li2023sim,
  author = {Ruihuang Li and Chenhang He and Yabin Zhang and Shuai Li and Liyi Chen and Lei Zhang},
  title = {{SIM: Semantic-aware Instance Mask Generation for Box-Supervised Instance Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00695},
}
Figure