Introduction
Traditional semantic segmentation is constrained by fixed label sets, limiting its utility in real-world scenarios where the variety of objects is virtually infinite. Open-vocabulary semantic segmentation addresses this by enabling models to segment any object described in natural language. However, current state-of-the-art methods often rely on complex ensembles of pre-trained models, such as CLIP for semantics or the Segment Anything Model (SAM) for geometry.
In this work, we explore S-Seg, a "back-to-basics" approach that eschews these complex dependencies. S-Seg demonstrates that a standard MaskFormer architecture, when trained directly on self-supervised pseudo-masks and noisy image-text pairs, can achieve competitive performance through simple pixel-language alignment.
Methodology
The S-Seg framework is built upon the MaskFormer architecture and utilizes two decoupled forms of supervision derived from raw image-text pairs. This decoupling allows the model to learn "where" objects are independently of "what" they are, mitigating the impact of noisy web captions on geometric learning.
1. Geometric Supervision (Pseudo-masks)
To determine object boundaries without manual annotations, S-Seg employs a pseudo-mask generator. By extracting features from a self-supervised DINO ViT model and applying K-means clustering, the system generates class-agnostic segments. This method is remarkably efficient, processing large batches in milliseconds, and provides high-quality geometric cues for the MaskFormer.
2. Semantic Supervision (Language Alignment)
Semantic labels are derived from image captions using a standard language model. S-Seg employs a contrastive loss to align the features of predicted masks with the corresponding text features. This direct alignment allows the model to learn representations specifically optimized for pixel-level tasks rather than general image classification.
3. Self-Training (S-Seg+)
To further enhance performance, the authors introduce S-Seg+, which incorporates a self-training loop. The initial model generates labels for the training set, which are then used as refined supervision for a subsequent training phase, acting as a significant performance multiplier.
Results and Discussion
S-Seg was evaluated on standard benchmarks including Pascal VOC 2012, Pascal Context, and COCO, using massive training sets like CC3M, CC12M, and RedCaps (up to 26 million pairs).
- Zero-Shot Performance: S-Seg+ achieved 62.0 mIoU on Pascal VOC, outperforming more complex systems like SAM-CLIP (60.6) and TCL (55.0).
- Scalability: The model exhibits a clear performance gain as training data increases, suggesting that the simple architecture effectively captures the richness of large-scale image-text datasets.
- Efficiency: The reliance on K-means clustering over DINO features makes the pseudo-mask generation two orders of magnitude faster than traditional spectral clustering methods.
Conclusion
S-Seg serves as a powerful baseline for open-vocabulary semantic segmentation. By prioritizing simplicity and direct pixel-language alignment, it achieves state-of-the-art results without the overhead of complex, multi-stage pipelines. The success of S-Seg suggests that the path to more capable segmentation models may lie in scaling simple, well-aligned architectures rather than increasing system complexity.
Summary updated