GOSS: towards generalized open-set semantic segmentation

Jie Hong, Weihao Li, Junlin Han, Jiyang Zheng, Pengfei Fang, Mehrtash Harandi, Lars Petersson

Introduction

Traditional semantic segmentation (SS) operates under a closed-set assumption, where models are trained to recognize a fixed set of categories. When encountering an "unknown" object, these models typically misclassify it into a known category. Open-set semantic segmentation (OSS) addresses this by identifying pixels belonging to unknown classes. However, OSS treats all unknown pixels as a single category, creating an undifferentiated "unknown" blob. This paper introduces Generalized Open-set Semantic Segmentation (GOSS), a task that requires models to not only identify unknown regions but also cluster them into distinct, separate objects.

Comparison of segmentation tasks: (a) Input image, (b) OSS prediction (single unknown class), (c) Generic Segmentation (clustering only), and (d) GOSS prediction (classification + clustering of unknowns).

The GOSS Framework

GOSS bridges the gap between semantic classification and class-agnostic clustering. For an autonomous agent, such as a self-driving car or a robot, distinguishing between two different unknown obstacles is often more critical than knowing their specific names. GOSS requires the model to:

  1. Classify pixels of known categories (e.g., person, dog, vegetation).
  2. Cluster pixels of unknown categories into separate, object-like groups (e.g., unknown1, unknown2).

Methodology: GOSS SegmenTor (GST)

The authors propose the GOSS SegmenTor (GST), a dual-branch architecture utilizing a shared ResNet-50 backbone.

  • Classification Branch: Employs a DeepLabV3+ architecture to predict labels for known classes.
  • Clustering Branch: Utilizes Super-BPD (Super boundary-to-pixel direction), a method that groups pixels based on local boundaries and similarities without requiring class labels.

To enhance performance, GST incorporates two key modules: Confidence Adjustment (CA), which mitigates the "overconfidence" of neural networks on unknown data by re-scaling scores, and Pixel Contrastive Learning (CL), which learns feature embeddings that pull pixels of the same class together and push different classes apart, improving both classification and clustering boundaries.

Evaluation and Results

The authors established new benchmarks, COCO-Stuff-GOSS and Cityscapes-GOSS, by designating specific categories as unknown. They introduced the GOSS Quality (GQ) metric to evaluate the joint performance of classification and clustering.

Experimental results demonstrate that GST significantly outperforms standard OSS baselines. On the COCO-Stuff benchmark, GST achieved a 9.15% GQ, a notable improvement over the 7.70% of the baseline. Qualitatively, GST successfully separates distinct unknown objects—such as different animals or obstacles—that OSS would otherwise merge into a single region.

Conclusion

GOSS represents a significant step toward "actionable perception" in open-world environments. By moving beyond the "unknown" blob, GST provides autonomous systems with a more granular understanding of unfamiliar scenes. Future work will explore extending GOSS to instance and video segmentation, further enhancing the robustness of AI in the real world.

Summary updated

BibTeX
@article{hong2024goss,
  author = {Jie Hong and Weihao Li and Junlin Han and Jiyang Zheng and Pengfei Fang and Mehrtash Harandi and Lars Petersson},
  title = {{GOSS: towards generalized open-set semantic segmentation}},
  journal = {The Visual Computer},
  year = {2024},
  doi = {10.1007/s00371-023-02925-8},
}
Figure