OpenInst: A simple query-based method for open-world instance segmentation

Cheng Wang, Guoli Wang, Qian Zhang, Peng Guo, Wenyu Liu, Xinggang Wang

TL;DR

OpenInst simplifies open-world instance segmentation by adapting a query-based detector framework to focus purely on localization. By removing the traditional classification branch or replacing it with simple geometric cues (like box IoU), it eliminates the need for complex auxiliary modules or post-processing while achieving state-of-the-art results across multiple benchmarks.

What Problem Does This Paper Address?

Standard instance segmentation models operate under a "closed-world" assumption, meaning they can only detect and segment a predefined set of object categories. In real-world applications like autonomous driving or robotics, this limitation is dangerous—unseen or novel objects are often treated as background, which can lead to catastrophic failures.

"Open-world" instance segmentation aims to localize and segment all objects in an image, regardless of whether they were seen during training. However, existing open-world methods either deliver unsatisfactory results or rely on highly complex pipelines (e.g., using separate models for depth estimation, pairwise affinity, or heavy pseudo-label generation), making them difficult to deploy and compare fairly. The authors of this paper ask a fundamental question: Is there a simpler way to achieve state-of-the-art results?

Methods

The authors introduce OpenInst, a framework built on top of the query-based detector QueryInst. Unlike dense proposal-based methods that generate hundreds of thousands of candidate boxes and require complex post-processing like Non-Maximum Suppression (NMS), query-based methods use a fixed set of learnable queries that refine predictions stage-by-stage.

Since open-world segmentation evaluates class-agnostic localization (measured by Average Recall), OpenInst strips away the traditional classification branch. The authors propose four variants based on how they handle the learning objective:

  1. OpenInst-void: Removes the objectness/classification branch entirely, relying solely on standard box and mask regression.
  2. OpenInst-box: Replaces classification with a box IoU prediction branch.
  3. OpenInst-mask: Replaces classification with a mask IoU prediction branch.
  4. OpenInst-fusion: Combines both box and mask IoU branches.

To optimize the architecture for open-world scenarios, they also incorporate Deformable Convolutional Networks (DCN) to expand the detector's receptive field and a BiFPN neck structure to better capture multi-scale features.

Overview of OpenInst architecture and its four loss variants.

Datasets

The model is evaluated across two main paradigms:

  • Cross-Category Generalization: Trained on PASCAL VOC categories within the COCO dataset and evaluated on the remaining non-VOC categories.
  • Cross-Dataset Generalization: Trained on one dataset and tested on an entirely different one to evaluate robust real-world generalization. The combinations include:
  • COCO $\to$ UVO (Unidentified Video Objects)
    • COCO $\to$ Objects365 (bounding boxes only)
    • COCO $\to$ LVIS
    • Cityscapes $\to$ Mapillary Vistas

Key Insights and Ideas

  • Queries Beat Proposals: Query-based detectors are fundamentally better at generalizing to unseen objects than dense proposal-based methods. A vanilla, class-agnostic QueryInst baseline outperforms Mask R-CNN by 4.9 mask AR on COCO $\to$ UVO right out of the box.
  • Objectness is Overrated: Surprisingly, explicitly learning an "objectness" score or classification label isn't necessary for open-world query-based models. OpenInst-void (which has no objectness branch at all) achieves highly competitive results, showing that query-based models inherently learn to localize objects through regression alone.
  • Not All Geometric Cues Help: While adding a box IoU branch (OpenInst-box) slightly improves generalization, adding a mask IoU branch (OpenInst-mask) actually hurts performance. The authors hypothesize that because masks have highly irregular shapes compared to rectangular boxes, forcing the model to predict mask IoU degrades its ability to generalize to novel shapes.

Key Results

  • COCO $\to$ UVO: OpenInst achieves a state-of-the-art mask Average Recall (AR) of 53.3, outperforming the previous best method (SOIS) by 2.0 AR, despite having a significantly simpler architecture.
  • VOC $\to$ Non-VOC: OpenInst achieves a mask AR of 28.2, beating the popular OLN baseline by 1.3 AR. When boosted with pseudo-labels from GGN, it reaches 30.1 mask AR.
Cross-category generalizability evaluation on VOC to Non-VOC scenario.
  • OpenInst consistently outperforms competing methods across all other tested cross-dataset scenarios (Objects365, LVIS, and Mapillary Vistas) by notable margins.

Limitations and Future Work

While box IoU serves as an effective auxiliary learning objective during training, the authors note that it performs poorly as a ranking indicator during inference. When evaluating the model at a strict budget of top-10 predictions (AR@10), OpenInst's performance drops significantly compared to methods that use explicit objectness scores (20.8 vs 29.2 for SOIS). Finding a simple, robust ranking indicator for query-based open-world detectors remains an open challenge for future research.

Summary updated

BibTeX
@article{wang2024openinst,
  author = {Cheng Wang and Guoli Wang and Qian Zhang and Peng Guo and Wenyu Liu and Xinggang Wang},
  title = {{OpenInst: A simple query-based method for open-world instance segmentation}},
  journal = {Pattern Recognition},
  year = {2024},
  doi = {10.1016/j.patcog.2024.110570},
}
Figure