SegCLIP: Patch Aggregation with Learnable Centers for Open-Vocabulary Semantic Segmentation

Huaishao Luo, Junwei Bao, Youzheng Wu, Xiaodong He, Tianrui Li
11/27/2022
cs.CVcs.AI

Official code: ArrowLuo/SegCLIP (99 stars, Python, last commit 2023-06-28).

Abstract

Recently, the contrastive language-image pre-training, e.g., CLIP, has demonstrated promising results on various downstream tasks. The pre-trained model can capture enriched visual concepts for images by learning from a large scale of text-image data.

Show full abstract

However, transferring the learned visual knowledge to open-vocabulary semantic segmentation is still under-explored. In this paper, we propose a CLIP-based model named SegCLIP for the topic of open-vocabulary segmentation in an annotation-free manner. The SegCLIP achieves segmentation based on ViT and the main idea is to gather patches with learnable centers to semantic regions through training on text-image pairs. The gathering operation can dynamically capture the semantic groups, which can be used to generate the final segmentation results. We further propose a reconstruction loss on masked patches and a superpixel-based KL loss with pseudo-labels to enhance the visual representation. Experimental results show that our model achieves comparable or superior segmentation accuracy on the PASCAL VOC 2012 (+0.3% mIoU), PASCAL Context (+2.3% mIoU), and COCO (+2.2% mIoU) compared with baselines. We release the code at https://github.com/ArrowLuo/SegCLIP.

View on arXivView PDF

Code Implementations(1)

ArrowLuo/SegCLIPOfficial100%

PyTorch implementation of ICML 2023 paper "SegCLIP: Patch Aggregation with Learnable Centers for Open-Vocabulary Semantic Segmentation"

999PythonNov 11, 20223 years ago
contrastive-learningopen-vocabularyopen-vocabulary-semantic-segmentationsemantic-segmentationtransfer-learning+2 more

Similar Papers

Cite this paper

@article{luo2022segclip,
  title  = {SegCLIP: Patch Aggregation with Learnable Centers for Open-Vocabulary Semantic Segmentation},
  author = {Huaishao Luo and Junwei Bao and Youzheng Wu and Xiaodong He and Tianrui Li},
  year   = {2022},
  eprint = {2211.14813},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.14813}
}

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/2211.14813.svg)](https://codeofpaper.com/paper/2211.14813)

Discussion