Open-vocabulary Semantic Segmentation with Frozen Vision-Language Models

Chaofan Ma, Yuhuan Yang, Yanfeng Wang, Ya Zhang, Weidi Xie
10/27/2022
cs.CV
contrastive-ssl

Official code: chaofanma/Fusioner (19 stars, Python, GPL-3.0, last commit 2025-05-12).

Abstract

When trained at a sufficient scale, self-supervised learning has exhibited a notable ability to solve a wide range of visual or language understanding tasks. In this paper, we investigate simple, yet effective approaches for adapting the pre-trained foundation models to the downstream task of interest, namely, open-vocabulary semantic segmentation.

Show full abstract

To this end, we make the following contributions: (i) we introduce Fusioner, with a lightweight, transformer-based fusion module, that pairs the frozen visual representation with language concept through a handful of image segmentation data. As a consequence, the model gains the capability of zero-shot transfer to segment novel categories; (ii) without loss of generality, we experiment on a broad range of self-supervised models that have been pre-trained with different schemes, e.g. visual-only models (MoCo v3, DINO), language-only models (BERT), visual-language model (CLIP), and show that, the proposed fusion approach is effective to any pair of visual and language models, even those pre-trained on a corpus of uni-modal data; (iii) we conduct thorough ablation studies to analyze the critical components in our proposed Fusioner, while evaluating on standard benchmarks, e.g. PASCAL-5i and COCO-20i , it surpasses existing state-of-the-art models by a large margin, despite only being trained on frozen visual and language features; (iv) to measure the model's robustness on learning visual-language correspondence, we further evaluate on synthetic dataset, named Mosaic-4, where images are constructed by mosaicking the samples from FSS-1000. Fusioner demonstrates superior performance over previous models.

View on arXivView PDF

Code Implementations(1)

chaofanma/FusionerOfficial100%
GPL-3.0

[BMVC 2022 Oral] Official PyTorch Implementation of "Open-vocabulary Semantic Segmentation with Frozen Vision-Language Models" https://arxiv.org/abs/2210.15138

190PythonDec 14, 20221 years agoGPL-3.0

Similar Papers

Cite this paper

@article{ma2022openvocabulary,
  title  = {Open-vocabulary Semantic Segmentation with Frozen Vision-Language Models},
  author = {Chaofan Ma and Yuhuan Yang and Yanfeng Wang and Ya Zhang and Weidi Xie},
  year   = {2022},
  eprint = {2210.15138},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.15138}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.15138.svg)](https://codeofpaper.com/paper/2210.15138)

Discussion