From open-vocabulary to vocabulary-free semantic segmentation

Klara Reichard, Giulia Rizzoli, Stefano Gasperini, Lukas Hoyer, Pietro Zanuttigh, Nassir Navab, Federico Tombari

Introduction

Semantic segmentation has long been a cornerstone of computer vision, tasking models with assigning a class label to every pixel in an image. Traditionally, these models operated within a "closed-set" paradigm, limited to a predefined list of categories seen during training. While the advent of Open-Vocabulary Semantic Segmentation (OVS) broke these barriers by allowing users to query arbitrary classes at test time, it introduced a new bottleneck: the human in the loop.

This paper introduces Vocabulary-Free Semantic Segmentation (VSS), a paradigm shift that eliminates the need for manual class lists. By leveraging the descriptive power of Vision-Language Models (VLMs), the proposed system autonomously discovers, names, and segments objects, solving the "chicken-and-egg" problem of modern computer vision.

The "Chicken-and-Egg" Problem

In standard open-vocabulary setups, a model can find anything—provided the user knows it is there. If a user fails to include "bathtub" in their query for a hotel room scene, the model will likely misclassify those pixels as "wall" or "floor." This creates a fundamental dependency: to segment a scene accurately, one must already possess a comprehensive inventory of its contents.

Comparison of traditional open-set and open-vocabulary paradigms, highlighting the reliance on human-provided, closed-form labels.

Furthermore, human-provided labels are often inconsistent. One user might label a "husky" as a "dog," while another might use the specific breed. These "closed-form" names lack the descriptive richness that modern VLMs can provide, often leading to suboptimal alignment between text and image features.

Methodology: The Tag2Mask Pipeline

The authors propose a two-stage framework called Tag2Mask to transition from manual queries to automated discovery.

1. Automated Image Tagging

Instead of waiting for a user prompt, the system employs a VLM (such as RAM, Llava-1.6, or CaSED) to generate a list of descriptive tags for the image. This stage allows the model to identify unexpected or fine-grained objects that a human might overlook.

2. Open-Vocabulary Segmentation

These generated tags are passed to an open-vocabulary segmentor, specifically CAT-Seg. The model utilizes a CLIP-based text encoder to generate embeddings for each tag. A cost-aggregation module then maps these embeddings to pixel-level masks.

The proposed Vocabulary-Free approach using automated tagging and enriched descriptions to discover and segment objects without manual input.

A critical technical insight from the research is the value of enriched textual inputs. The authors found that simple class names (e.g., "tree") are often too generic for CLIP. By augmenting tags with "Instance Adjectives"—descriptions of how a specific object appears in the scene (e.g., "a tall, green, leafy tree")—the model achieves significantly better feature alignment and segmentation accuracy.

Key Insights and Findings

  • Asymmetry of Errors: The segmentation stage is highly sensitive to False Negatives (missing tags) but remarkably robust against False Positives (extra tags). If the tagger misses an object, it cannot be segmented. However, if the tagger suggests a "cat" that isn't present, the segmentor typically produces an empty mask, effectively self-correcting the tagger's hallucination.
  • Semantic Similarity via SBERT: To handle the discrepancy between automated tags (e.g., "husky") and ground-truth labels (e.g., "dog"), the authors use Sentence-BERT (SBERT). This allows for "soft assignment," ensuring the model is rewarded for being more specific or descriptive than the original human annotators.
  • Contextual Superiority: Providing the model with the specific context of an object's appearance yielded the highest performance gains, particularly in complex, cluttered scenes.

Results and Performance

The VSS pipeline, particularly when paired with the RAM tagger, sets a new benchmark for vocabulary-free methods. On the high-resolution ADE-847 dataset, the pipeline achieved a 6.7 mIoU, nearly doubling the performance of previous state-of-the-art methods like CaSED (3.2 mIoU).

Qualitative analysis reveals that VSS provides much finer-grained results. While a traditional model might group a complex area under the label "wall," the VSS model successfully distinguishes between "ceiling," "wall lamp," and "nightstand."

The authors also established an "Upper Bound" by testing a "Perfect Tagger" scenario. The jump from 18.8 to 51.2 mIoU on ADE-150 suggests that the primary bottleneck in the system is currently the image tagging stage, not the segmentation logic itself.

Conclusion and Future Work

Vocabulary-Free Semantic Segmentation represents a significant step toward truly autonomous visual understanding. While the system is currently limited by the reliability of the initial VLM tagger, it demonstrates that automated discovery can outperform manual querying in both detail and accuracy. Future research will likely focus on improving VLM robustness and developing new evaluation metrics that do not penalize models for being more descriptive than human ground truth.

Summary updated

BibTeX
@article{reichard2025from,
  author = {Klara Reichard and Giulia Rizzoli and Stefano Gasperini and Lukas Hoyer and Pietro Zanuttigh and Nassir Navab and Federico Tombari},
  title = {{From open-vocabulary to vocabulary-free semantic segmentation}},
  journal = {Pattern Recognition Letters},
  year = {2025},
}
Figure