TL;DR
Existing open-world instance segmentation methods struggle because human annotators inevitably miss unlabeled objects, causing models to be penalized for valid detections. This paper introduces TOIS (Transformer-based Open-world Instance Segmentation), which adds an auxiliary foreground prediction branch and a cross-task consistency loss enforcing that predicted instance masks must aggregate to match the overall foreground. This simple self-calibrating constraint mitigates missing-label penalties, sets new state-of-the-art results on benchmarks like UVO, and enables effective semi-supervised learning using unannotated images.
What Problem Does This Paper Address?
Traditional instance segmentation operates under a closed-world assumption: models only detect and segment a predefined, finite list of categories (e.g., the 80 classes in COCO). In contrast, Open-World Instance Segmentation (OWIS) seeks to identify and segment every object instance regardless of whether its category was seen during training.
The core challenge in OWIS is incomplete annotation. Because annotators cannot be given an exhaustive list of all possible real-world object classes, many foreground objects in training sets are left unlabeled and treated as background. When a standard supervised model correctly discovers these unlabeled instances, standard losses heavily penalize it.
Prior remedies relied on multi-stage pipelines (e.g., two-stage R-CNN variants, complex synthetic cut-and-paste data generation, or auxiliary pairwise affinity networks). These methods are computationally heavy, complex to train, and vulnerable to missed bounding boxes in the proposal stage.
Methods
The authors build TOIS on top of the single-stage, query-based Mask2Former architecture, adding a multi-task regularization framework during training:
- Three-Branch Architecture:
- Objectness Branch: Predicts confidence scores for candidate queries using a Transformer decoder and MLP.
- Mask Prediction Branch: Generates $N$ class-agnostic binary instance masks.
- Foreground Prediction Branch: A lightweight Fully Convolutional Network (FCN) predicting a single global binary foreground probability map $F$. (Note: This branch is discarded during inference, adding zero runtime overhead).
- Cross-Task Consistency Loss ($L_c$):
- By definition, the union of all individual instance masks should equal the global foreground map. The model estimates an aggregated foreground map $\hat{G}(x, y) = \Phi\left(\sum_{j=1}^K m^j(x, y)\right)$.
- A cross-task consistency loss (combining BCE and Dice loss) minimizes the discrepancy between $\hat{G}$ and the foreground branch output $F$.
- Why it works: If an object is omitted from the ground-truth annotations but discovered by both the mask branch and the foreground branch, the consistency loss rewards the agreement. This counterbalances the false negative penalty imposed by the standard supervised ground-truth losses.
- Extension to Semi-Supervised OWIS (Semi-TOIS):
- Unlabeled images are viewed as an extreme case where 100% of instance annotations are missing.
- The network warms up on labeled data so the foreground branch learns objectness priors, and then trains on unlabeled images using only the cross-task consistency loss $L_c$.
┌────────────────────────┐
│ Mask Prediction Branch │──> Predicted Masks (m^j) ──┐
└────────────────────────┘ │ (Union)
Image ──> Backbone ▼
┌────────────────────────┐ Estimated Foreground Ĝ
│ Foreground Pred Branch │──> Foreground Map (F) ─────┼── Cross-Task Consistency Loss
└────────────────────────┘ │ (Zero inference cost!)
Datasets
- UVO (Unidentified Video Objects): The primary benchmark for dense, class-agnostic open-world instance segmentation (evaluated on UVO-val in both intra-dataset and cross-dataset setups).
- Microsoft COCO: Used for cross-dataset generalization (trained on COCO, evaluated on UVO) and intra-dataset novel class discovery (trained on 20 Pascal VOC classes, evaluated on 60 non-VOC classes).
- Cityscapes $\to$ Mapillary Vistas: Cross-dataset evaluation on autonomous driving scenes (8 training classes in Cityscapes generalizing to 35 classes in Mapillary).
No new datasets were introduced.
Key Insights and Ideas
- Global vs. Local Geometric Duality: Instead of training external affinity models or engineering synthetic cutouts, enforcing simple structural consistency (the sum of parts must equal the whole) provides powerful self-supervision.
- Inference-Time Zero Cost: The auxiliary foreground branch acts as a "scaffolding" regularizer during training and is dropped at inference, preserving Mask2Former's native inference speed.
- Unlabeled Data as Missing Annotations: Because $L_c$ requires no ground-truth masks, extending the system to semi-supervised learning is seamless: unlabeled images simply supply raw visual features to reinforce the part-whole consistency.
- Limits of Pseudo-Labeling: The authors found that while self-training/pseudo-labeling helps on sparsely annotated datasets (COCO), it actually degrades performance on densely annotated datasets (UVO) by injecting label noise (dropping $AP_{100}$ by 2.18%). In contrast, consistency loss consistently improved performance across both dense and sparse settings.
Key Results
- Intra-Dataset (UVO-train $\to$ UVO-val):
- With a Swin-B backbone, TOIS achieves 38.02% $AP_{100}$ and 54.74% $AR_{100}$, beating the baseline Mask2Former by +4.75% $AP_{100}$ and +3.93% $AR_{100}$.
- Cross-Dataset Generalization (COCO $\to$ UVO):
- TOIS achieves 54.86% $AR_{100}$ (Swin-B), outperforming the prior state-of-the-art method GGN (43.30%) by +11.56%.
- On a ResNet-50 backbone, TOIS beats Mask2Former by +2.38% $AP_{100}$ (27.62% vs. 25.24%).
- The consistency approach also generalized to other one-stage models, improving SOLOv2 by +3.11% $AR_{100}$ and +2.79% $AP_{100}$.
- Semi-Supervised Efficiency:
- Semi-TOIS trained with only 30% labeled data reached 25.03% $AP_{100}$, outperforming its fully-supervised counterpart trained on 50% labeled data (22.86% $AP_{100}$).
Limitations and Future Work
- Instance Disentanglement: The consistency loss enforces that the union of instances matches the foreground map, but it does not penalize two overlapping instance queries segmenting the exact same object (relying instead on Hungarian bipartite matching to separate instances).
- Dependence on Warm-Up Quality: The semi-supervised setup relies on an initial supervised warm-up phase so the foreground branch can learn basic object priors before unsupervised consistency is applied.
- Extreme Background Clutter: The authors note that the simple pixel-sum aggregation $\Phi(\sum m^j)$ assumes clean background/foreground separation, which may become noisy in heavily cluttered scenes where "stuff" vs. "thing" distinctions are ambiguous.
Summary updated