TL;DR
This paper introduces FOV-Seg, a novel framework that significantly improves open-vocabulary segmentation by addressing the bottleneck of mask classification. It achieves this by enhancing the fine-grained alignment between visual and textual features through two new modules: FiSeR (Fine-grained Semantic Reconstruction) and TeVA (Text-guided Visual Aligner), leading to state-of-the-art performance with drastically reduced training costs.
What Problem Does This Paper Address?
Open-vocabulary segmentation (OVS) aims to segment objects in images based on arbitrary text descriptions, even for categories not seen during training. While pre-trained Vision-Language Models (VLMs) like CLIP have been instrumental in this task, existing methods often freeze the VLM's parameters to preserve its knowledge. However, the authors identify a critical limitation: the performance of OVS is primarily constrained by the mask classification stage, not mask generation. This bottleneck arises because VLMs, trained on global image-text representations, struggle to capture the localized, region-specific semantics needed for accurate pixel-level segmentation. Effectively, the VLM doesn't "see" the details in the image that correspond to specific words in the text prompt.
Methods
The core of FOV-Seg lies in two novel components designed to improve the fine-grained alignment between text and image features:
- Fine-grained Semantic Reconstruction (FiSeR): This is a new auxiliary training task. It works by randomly masking a target class label from the input text and training the model to predict that masked label using the image features and the remaining unmasked text. This forces the model to learn to associate specific words with corresponding image regions, thereby enriching the visual features with localized semantic detail.
- Text-guided Visual Aligner (TeVA): This is a lightweight network module integrated into the VLM's image encoder. It injects relevant fine-grained semantic information from the text early in the visual processing pipeline. TeVA uses cross-attention mechanisms to first condition mask tokens on target class tokens and then uses these semantically-aware mask tokens to attend to image regions. This allows the model to condition its visual processing on the target categories from the outset, leading to better spatial alignment.
Additionally, to maintain efficiency and preserve pre-trained knowledge, FOV-Seg selectively fine-tunes only a small subset of the VLM's parameters, rather than the entire model.
Datasets
The paper uses standard datasets for training and evaluation:
- Training: COCO-Panoptic dataset.
- Evaluation: COCO, Mapillary Vistas, ADE20K (ADE150 and ADE847 subsets), and PASCAL Context (PC59 and PC459 subsets).
Key Insights and Ideas
- Mask Classification is the Bottleneck: Through rigorous analysis, the authors demonstrate that improving the mask classifier has a much larger impact on OVS performance than improving the mask generator. This shifts the focus from mask generation to better semantic understanding within the classification stage.
- Global vs. Local Semantics: VLMs, trained on global image-text pairs, lack the fine-grained, localized semantic understanding crucial for pixel-level segmentation. The proposed methods directly address this gap.
- Early Textual Guidance is Key: Injecting textual semantics early in the visual encoding process (via TeVA) significantly improves the model's ability to associate text with specific image regions.
- Auxiliary Tasks for Alignment: FiSeR acts as a powerful regularizer, forcing the model to learn deeper semantic connections between words and image patches, leading to more robust visual representations.
- Efficiency Matters: The authors show that significant performance gains can be achieved with minimal parameter tuning, drastically reducing training time and computational cost.
Key Results
- State-of-the-Art Performance: FOV-Seg achieves new state-of-the-art results on multiple OVS benchmarks, including COCO, ADE150, and Mapillary Vistas. For instance, it shows gains of up to 1.3 PQ and 3.1 mIoU compared to the previous best method, MAFT+.
- Dramatic Training Speedup: FOV-Seg reduces training costs by nearly 5x compared to previous best methods, requiring only 45 GPU hours for training.
- Efficiency: The model maintains a compact 10.2 GB memory footprint and achieves competitive inference speeds (e.g., 2.63 FPS on ADE150).
- Robustness: FOV-Seg demonstrates robustness to ambiguous and noisy inputs, correctly segmenting fine-grained categories and maintaining performance in challenging low-light/high-blur conditions.
- Qualitative Improvements: Visualizations show that FOV-Seg's attention maps are more focused on relevant image regions, leading to more accurate and complete segmentation masks compared to baseline methods.
Limitations and Future Work
- Limitations: The paper notes that while the proposed adapter helps bridge the gap between mask proposals and CLIP's expected input, it's still a challenge arising from the mismatch between CLIP's training data and the nature of mask proposals. The authors also mention that their FiSeR implementation masks only a single label per image for simplicity, but it can be extended to multiple masked labels.
- Future Work: The paper implicitly suggests that further exploration of efficient fine-tuning strategies and novel auxiliary tasks for improving VLM alignment could lead to even greater advancements in OVS. The compatibility of FOV-Seg with various VLM backbones also opens avenues for leveraging future VLM improvements.
Summary updated