TL;DR
This paper introduces MROVSeg, a novel framework for open-vocabulary semantic segmentation that tackles the resolution limitations of pre-trained vision-language models (VLMs) like CLIP. By processing high-resolution images in a multi-resolution fashion using a single VLM backbone, MROVSeg achieves state-of-the-art performance, especially on detailed segmentation tasks.
What Problem Does This Paper Address?
Open-vocabulary semantic segmentation aims to identify and delineate objects in images based on arbitrary textual descriptions, going beyond a fixed set of predefined classes. Vision-language models (VLMs) like CLIP have shown great promise in this area due to their ability to connect visual and textual information. However, VLMs are typically pre-trained on low-resolution images (e.g., 224x224), which often leads to a loss of fine details crucial for accurate segmentation. Existing methods either downsample images to match the VLM's resolution, sacrificing detail, or resort to using additional image backbones for high-resolution inputs, which significantly increases computational cost. This paper addresses the challenge of effectively leveraging high-resolution image information with VLMs without incurring prohibitive computational overhead.
Methods
MROVSeg proposes a multi-resolution training framework built upon a single pre-trained CLIP backbone. The core idea is to process high-resolution images by splitting them into smaller, uniform patches that match the VLM's expected input size.
Key components include:
- Multi-Resolution Input: High-resolution images are downsampled for global feature extraction and also sliced into patches for detailed local feature extraction.
- Multi-Res Adapter: This module is designed to restore spatial geometry and capture local-global correspondences across these multi-resolution features. It uses depthwise separable convolutions and a novel "Scale-aware Attention" mechanism to fuse features from different resolutions, adaptively weighing their importance.
- Multi-grained Masked Attention: This scheme aggregates semantic information from both low- and high-resolution CLIP features. It uses a cross-attention mechanism between object queries and multi-resolution CLIP features, guided by decoupled attention masks that help distinguish between global and local semantics, leading to clearer classification boundaries.
- Hierarchical Mask Decoding: To generate precise masks, MROVSeg employs a hierarchical approach that upsamples multi-resolution features to create a feature pyramid, which is then used for mask prediction.
Datasets
The paper uses the following datasets:
- Training: COCO-Stuff [2] for semantic segmentation and COCO-Panoptic [20] for panoptic segmentation.
- Evaluation:
- Semantic Segmentation: ADE-847, ADE-150, Pascal Context (PC-459, PC-59), and Pascal VOC [11].
- Panoptic Segmentation: ADE [41] panoptic benchmark.
- High-Resolution Evaluation: Cityscapes [7] benchmark.
Key Insights and Ideas
- Resolution is Crucial for Detail: The paper strongly argues that low-resolution features are insufficient for capturing the fine details needed for accurate segmentation, a common compromise in prior VLM-based methods.
- Single Backbone Efficiency: By cleverly processing multi-resolution inputs with a single VLM backbone, MROVSeg avoids the computational burden of adding separate high-resolution backbones.
- Restoring Spatial Geometry: The Multi-Res Adapter's ability to restore spatial geometry and fuse local and global contexts from sliced images is key to its effectiveness.
- Decoupled Attention for Clarity: The Multi-grained Masked Attention mechanism, by decoupling global and local attention, significantly improves the discriminative power for mask classification, leading to cleaner segmentation boundaries.
Key Results
MROVSeg achieves state-of-the-art performance on several open-vocabulary semantic and panoptic segmentation benchmarks.
- Semantic Segmentation: It outperforms previous methods like CAT-Seg by significant margins (e.g., +0.9% mIoU on ADE-847, +1.2% mIoU on PC-59 with CLIP ViT-B backbone).
- High-Resolution Handling: MROVSeg demonstrates strong performance on high-resolution datasets like Cityscapes, outperforming other ViT-based methods and matching convolution-based approaches.
- Efficiency: The method is computationally efficient, with fewer parameters and higher inference FPS compared to many existing methods, while also having a competitive training time. For instance, MROVSeg has 162.1M parameters and achieves 10.5 FPS on a RTX 3090.
Limitations and Future Work
- Limitations: The paper notes that while their method significantly improves performance, there's still room for further enhancement, particularly in handling extremely high-resolution images or extremely fine-grained segmentation tasks. The choice of CLIP layer for feature extraction is empirically determined and might be further optimized.
- Future Work: The authors suggest that their framework can serve as a strong baseline for future research in open-vocabulary segmentation. Potential future directions could involve exploring more advanced multi-resolution fusion techniques, investigating different VLM architectures, and applying the framework to other dense prediction tasks.
Summary updated