ViewCo: Discovering Text-Supervised Segmentation Masks via Multi-View Semantic Consistency

Pengzhen Ren, Changlin Li, Hang Xu, Yi Zhu, Guangrun Wang, Jianzhuang Liu, Xiaojun Chang, Xiaodan Liang

Introduction

Semantic segmentation—the task of assigning a category label to every pixel in an image—traditionally requires massive datasets with expensive, hand-drawn masks. Recently, researchers have turned to text-supervised semantic segmentation, which leverages abundant image-text pairs from the web (like those used to train CLIP) to learn these masks without manual pixel-level annotations.

ViewCo (multi-View Consistent learning) is a novel framework designed to perform semantic segmentation using only these image-text pairs. By enforcing "multi-view semantic consistency"—ensuring that different augmented views of the same image produce consistent segment masks and align with the same text—ViewCo significantly improves the accuracy and robustness of zero-shot segmentation.

The Challenge of Text-Supervised Segmentation

While learning from web captions is highly scalable, existing text-supervised methods face two major hurdles:

  1. Strict Correspondence: They often assume a rigid one-to-one mapping between an entire image and its caption. This assumption is too restrictive for learning the fine-grained local features necessary for dense pixel-level segmentation.
  2. Text Ambiguity: Captions are inherently abstract and incomplete. A caption might say "a dog playing in the park," completely ignoring the trees, the frisbee, or the grass in the background. This "ambiguity" makes it difficult for a model to figure out which pixels belong to which labels when the text fails to mention them.

The ViewCo Framework

To overcome these limitations, the authors propose introducing two primary consistency modules to the standard vision-language training pipeline, building upon the GroupViT backbone (a Vision Transformer that naturally groups pixels into segments during encoding).

Conceptual illustration of text-to-views consistency, where multiple views of an image are mapped to the same text representation.

Text-to-Views Consistency Modeling

Instead of matching one image to one text, ViewCo matches multiple augmented views (different crops or transforms) of the same image to the same text. This "one-to-many" approach encourages the model to recognize that different parts of the image all relate to the same overarching semantic concept, relaxing the strict contrastive constraint and allowing for denser assignment of visual features.

Cross-View Segmentation Consistency Modeling

To solve the text ambiguity problem, the authors employ a Siamese (twin) network architecture. A "student" network and a "teacher" network (updated via Exponential Moving Average) process different views of the same image. The model is penalized if the segment features (the "tokens" representing objects) for these different views do not align. This provides a crucial self-supervised signal: even if the text is missing a label, the model learns that an object in one view is the same as that object in another view, forcing spatial consistency.

Key Insights

  • Self-Supervision as a Stabilizer: The most striking insight from ViewCo is that when text supervision is "noisy" or "incomplete," visual self-supervision (via cross-view consistency) can fill the gaps. It forces the model to maintain spatial coherence even when the caption is unhelpful.
  • Addressing Inconsistency: Previous models like GroupViT often produce wildly different segmentation masks for two different crops of the same object. ViewCo’s consistency modules directly penalize this behavior, leading to much cleaner object boundaries and more reliable segmentations.

Experimental Results

The model was pre-trained on large-scale, noisy image-text datasets: CC12M (12 million pairs) and a filtered version of YFCC (14 million pairs). It was then evaluated in a zero-shot manner—meaning it was never fine-tuned on the target labels—on three standard benchmarks: PASCAL VOC 2012, PASCAL Context, and COCO Stuff.

ViewCo sets a new state-of-the-art for text-supervised zero-shot segmentation:

  • Performance Gains: On PASCAL VOC 2012, ViewCo achieved 52.4% mIoU, outperforming the previous best (GroupViT) by 1.2%. On the COCO dataset, it improved performance by 2.6% mIoU.
  • Comparison to Supervised Models: Remarkably, ViewCo's zero-shot performance on PASCAL VOC (52.4%) is nearly on par with some fully supervised models like DeiT (53.0%), despite ViewCo never seeing a single manual mask during training.
  • Qualitative Quality: Visualizations demonstrate that ViewCo is significantly better at capturing small details and rare objects (like umbrellas or bottles in complex scenes) that baseline models often misclassify or ignore.

Limitations and Future Work

While highly effective, ViewCo has a few limitations. First, it relies heavily on the grouping mechanism of its GroupViT backbone; if the initial grouping of pixels is poor, the consistency modules can only do so much to correct it. Second, despite being a "zero-shot" evaluator, the model is inherently limited by the vocabulary and concepts present in its massive training set. If a category is never described in the 26 million image-text pairs, the model will struggle to segment it.

Future directions suggested by the authors include exploring more complex data augmentation strategies or integrating more advanced language models for "prompt engineering" to further reduce the impact of text ambiguity.

Summary updated

BibTeX
@inproceedings{ren2023viewco,
  author = {Pengzhen Ren and Changlin Li and Hang Xu and Yi Zhu and Guangrun Wang and Jianzhuang Liu and Xiaojun Chang and Xiaodan Liang},
  title = {{ViewCo: Discovering Text-Supervised Segmentation Masks via Multi-View Semantic Consistency}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=2XLRBjY46O6},
}
Figure