Abstract
CRIS (CLIP-Driven Referring Image Segmentation) is an end-to-end framework that successfully transfers the powerful global vision-language alignment of CLIP to the fine-grained task of pixel-level segmentation. By introducing a specialized vision-language decoder and a novel text-to-pixel contrastive loss, CRIS achieves state-of-the-art performance on major benchmarks without requiring any complex post-processing.
Introduction
Referring Image Segmentation (RIS) is the task of identifying and segmenting a specific object in an image based on a natural language description (e.g., "the zebra ahead of the other zebra").
The core challenge lies in cross-modal alignment: text and pixels have fundamentally different data properties. While recent models like CLIP (Contrastive Language-Image Pretraining) have revolutionized how we align images and text at a global level, they are not inherently designed for pixel-level tasks. Existing RIS methods often struggle to effectively leverage the "multi-modal correspondence"—the intrinsic link between specific words and specific visual regions—learned during large-scale pretraining.
Proposed Framework
CRIS adapts CLIP for dense prediction through two primary innovations designed to bridge the gap between global and local representations:
- Vision-Language Decoder: Instead of simple feature concatenation, CRIS employs a Transformer-based decoder. It takes pixel-level visual features and global textual features as inputs. Through self-attention, it captures long-range spatial dependencies within the image. Through cross-attention, it adaptively propagates fine-grained semantic information from the text into each pixel-level activation.
- Text-to-Pixel Contrastive Learning: To explicitly enforce alignment, the authors designed a contrastive loss. This loss functions by "pulling" the global text feature closer to the visual features of the related foreground pixels while "pushing" it away from irrelevant background pixels in a shared embedding space.
- CLIP-Based Backbone: The model utilizes pretrained ResNet and Transformer encoders from CLIP, ensuring a robust initial understanding of vision-language relationships.
Experimental Evaluation
The model was evaluated on three standard benchmarks for referring image segmentation:
- RefCOCO: A large-scale dataset with 142,210 expressions for 50,000 objects.
- RefCOCO+: Excludes absolute location words (like "left" or "top"), forcing reliance on appearance attributes.
- G-Ref (Google Refexp): Features longer, more complex natural language expressions averaging 8.4 words.
Key Results
CRIS significantly outperformed previous state-of-the-art (SOTA) methods across all three datasets:
- RefCOCO: Achieved 70.47% IoU, a significant jump over the previous SOTA (VLT at 65.65%).
- RefCOCO+: Saw the largest gain with 62.27% IoU, an improvement of +8.88%.
- G-Ref: Reached 59.87% IoU, outperforming the previous best by over 5%.
- Efficiency: The model maintains a reasonable inference speed of approximately 19 FPS on a Tesla V100, making it viable for near-real-time applications.
Discussion and Conclusion
CRIS demonstrates that CLIP’s image-level knowledge can be distilled into local, spatialized representations. By using contrastive loss as an auxiliary tool during supervised fine-tuning, the model sharpens the boundaries between the referent and irrelevant regions. Unlike many previous SOTA methods that relied on complex multi-stage pipelines or post-processing techniques like DenseCRF, CRIS is an end-to-end solution that produces high-quality masks directly.
While the model faces challenges with extreme ambiguity, dataset noise, and heavy occlusion, it sets a new standard for RIS by effectively bridging the gap between global pretraining and local dense prediction.
Summary updated