Open-Vocabulary Segmentation with Unpaired Mask-Text Supervision

Zhaoqing Wang, Xiaobo Xia, Ziye Chen, Xiao He, Yandong Guo, Mingming Gong, Tongliang Liu · DOI

Introduction

Open-vocabulary segmentation (OVS) represents a significant advancement in computer vision, aiming to segment and recognize objects from an arbitrary set of categories, including those not seen during training. This capability is essential for real-world applications like robotics and autonomous driving. However, the development of OVS models has been traditionally bottlenecked by the high cost of acquiring "triplet" data—images annotated with both pixel-level masks and corresponding text labels.

The Annotation Bottleneck

Creating triplet datasets is labor-intensive and scales poorly. While large-scale datasets of masks (e.g., SA-1B) and image-text pairs (e.g., LAION) exist independently, they lack the direct correspondence needed for standard supervised training. Weakly-supervised methods have attempted to bridge this gap using only image-text pairs, but they often struggle with spatial precision and multi-object disambiguation due to the lack of explicit mask supervision.

The Unpaired Mask-Text Supervision framework leverages independent mask and text datasets.

Methodology: Unpair-Seg

To address these challenges, the authors propose Unpair-Seg, a framework that leverages independent sets of image-mask and image-text pairs. The approach decouples the problem into two primary tasks: geometric mask generation and semantic entity alignment.

  1. Geometric Mask Generation: The model first learns to identify object boundaries using mask-only data. It employs a prompt-based mask decoder with a "many-to-many" matching strategy. Unlike models that produce a single mask per point, Unpair-Seg predicts masks at multiple hierarchical levels, allowing it to capture both parts and whole objects (e.g., a "wheel" vs. a "car").
  2. Semantic Alignment via VLLMs: To associate these masks with semantic concepts, the framework utilizes a Vision-Language Large Model (VLLM), specifically InternLM-XComposer. The VLLM acts as an automated annotator, re-captioning images to extract a clean list of entities, which is more precise than noisy web-scraped captions.
  3. Bipartite Matching and Feature Adaptation: The system performs bipartite matching between predicted masks and VLLM-extracted entities within the CLIP embedding space. These matches serve as pseudo-labels to train a feature adapter, which fine-tunes regional visual features to align with text embeddings. A multi-scale strategy is also employed to handle objects of varying sizes and stabilize the alignment process.

Experimental Results

Unpair-Seg was evaluated across a gauntlet of benchmarks, including ADE20K, PASCAL Context, and Cityscapes. The results demonstrate that the framework significantly narrows the performance gap between weakly-supervised and fully-supervised methods.

Performance comparison of Unpair-Seg against fully-supervised and weakly-supervised SOTA across multiple benchmarks.

Key performance highlights include:

  • ADE20K: Achieved 14.6% mIoU on the 847-class version and 22.6% PQ in panoptic segmentation, even surpassing some fully-supervised methods like OPSNet in specific metrics.
  • PASCAL Context: Reached 19.5% mIoU on the 459-class benchmark, significantly outperforming previous weakly-supervised models like GroupViT.
  • Versatility: The model demonstrates strong zero-shot performance across diverse tasks, including point-prompt, box-prompt, and panoptic segmentation, across domains ranging from egocentric views to X-ray imagery.

Discussion and Future Work

Unpair-Seg proves that high-quality OVS can be achieved by combining a "geometry expert" and a "semantic expert" using unpaired data. While successful, the model's performance remains tethered to the quality of initial mask proposals. Future research will focus on improving mask generation in highly cluttered scenes and further refining the alignment process to handle complex spatial relationships more effectively.

Summary updated

BibTeX
@misc{wang2024open,
  author = {Zhaoqing Wang and Xiaobo Xia and Ziye Chen and Xiao He and Yandong Guo and Mingming Gong and Tongliang Liu},
  title = {{Open-Vocabulary Segmentation with Unpaired Mask-Text Supervision}},
  year = {2024},
  eprint = {2402.08960},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.08960},
}
Figure