Revisit the Open Nature of Open Vocabulary Semantic Segmentation

Qiming Huang, Han Hu, Jianbo JiaoICLR 2025

TL;DR

Current evaluation metrics for Open Vocabulary Semantic Segmentation (OVS) are too rigid, often penalizing models for making semantically reasonable but non-exact predictions (e.g., calling a "sofa" a "couch"). This paper proposes a new mask-wise evaluation protocol that accounts for semantic ambiguity and reveals that OVS models are far more robust in open-world scenarios than previously thought.

What Problem Does This Paper Address?

Open Vocabulary Semantic Segmentation (OVS) aims to segment objects using any arbitrary text query, even for categories never seen during training. However, researchers noticed a frustrating trend: as the number of possible categories (the vocabulary) grows, model performance—measured by standard pixel-wise mean Intersection over Union (mIoU)—plummets.

The authors argue this isn't necessarily a failure of the models, but a flaw in the evaluation. Standard mIoU requires an exact string match between the prediction and the human label. In an "open" world, boundaries are fuzzy. If a human labels an area as "plant" but the model predicts "flower," it is currently marked as 100% wrong. This rigid "closed-set" mindset contradicts the "open" nature of the task, where multiple labels can be visually and semantically correct.

Category ambiguity in OVS. A model predicting 'flower' for a 'plant' label is technically correct but penalized by standard metrics.

Methods

The authors introduce a mask-wise evaluation protocol designed to distinguish between true geometric errors and simple semantic disagreements.

  1. Mask-Wise Matching: Instead of pixel-by-pixel comparison, the protocol identifies predicted masks.
  2. Bipartite Matching: It uses bipartite matching to find pairs of predicted and ground-truth masks that have high spatial overlap (IoU > 0.8) but different labels. These are termed "out-matched pairs."
  3. New Metrics: They propose three metrics:
  4. front: Recognition IoU for the target (foreground) classes.
  5. back: Recognition IoU for non-target (background) classes.
  6. err: The average proportion of incorrectly predicted pixels that don't match any ground truth.
  7. Ambiguous Vocabulary Graph: By analyzing "out-matched pairs," they construct a graph where nodes are categories and edges represent how often they are confused. They then use community discovery (modularity maximization) to group visually similar categories (e.g., "sofa," "couch," and "armchair") into clusters.
  8. Ambiguity Reduction during Training: They found that randomly discarding a portion of non-target vocabulary during training prevents the model from over-fitting to specific, narrow labels, encouraging better generalization.
The proposed mask-wise evaluation protocol workflow, illustrating in-matched and out-matched pairs.

Datasets

The models were trained on COCO-Stuff171 (171 categories) and evaluated zero-shot on:

  • ADE20K: Using both the ADE150 (150 classes) and ADE847 (847 classes) versions.
  • PASCAL-Context: Using PC59 (59 classes) and PC459 (459 classes).
  • Joint-Dataset Vocabulary: A massive combined set of 1,086 vocabularies to test extreme open-world scaling.

Key Insights and Ideas

  • The "Stability" Revelation: While standard mIoU crashes as vocabulary size increases, the proposed front metric remains remarkably stable. This suggests that OVS models are already quite good at identifying where objects are; they just struggle with the specific name humans chose for the label.
  • Ambiguity is Inherent: The community discovery analysis showed that many "errors" are actually clusters of synonyms or visually identical categories. For example, "river," "sea," and "water" frequently form a single community.
  • Less is More in Training: Interestingly, reducing the number of non-target labels during training (by randomly discarding them) actually improves performance. This forces the model to focus on meaningful semantic distinctions rather than getting distracted by subtle, often arbitrary differences between similar categories.

Key Results

The authors re-benchmarked several state-of-the-art OVS models (like SAN, CAT-Seg, and SED) using their new protocol.

  • Performance Stability: In the "joint-dataset" setting (1,086 classes), the standard mIoU for the SAN model dropped to a dismal 3.20 on ADE847. However, using the mask-wise front metric, the score was a much more respectable 22.84.
  • Accuracy: Most OVS models achieved over 90% accuracy in the back (non-target) metric across datasets, indicating they are excellent at identifying what isn't a target object.
  • Training Gains: By applying their ambiguity reduction strategy (discarding 90% of non-target labels), they saw significant gains. For instance, the SED model's front score improved by +5.28 on ADE150.

Limitations and Future Work

While the paper provides a more realistic evaluation, it still relies on spatial overlap as the ground truth for "correctness." The authors acknowledge that in a truly open world, even spatial boundaries can be subjective.

Future work could involve:

  • Integrating textual similarity more deeply into the mask-matching process.
  • Exploring how these "ambiguity communities" can be used to automatically refine or clean noisy human-annotated datasets.
  • Extending this mask-wise logic to other open-world tasks like instance segmentation or object detection.

Summary updated

BibTeX
@inproceedings{huang2025revisit,
  author = {Qiming Huang and Han Hu and Jianbo Jiao},
  title = {{Revisit the Open Nature of Open Vocabulary Semantic Segmentation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=2vHIHrJAcI},
}
Figure