Learning to Generate Text-grounded Mask for Open-world Semantic Segmentation from Only Image-Text Pairs

Junbum Cha, Jonghwan Mun, Byungseok Roh
12/1/2022
cs.CV
contrastive-ssl

Official code: khanrc/tcl (117 stars, Python, MIT, last commit 2023-05-11).

Abstract

We tackle open-world semantic segmentation, which aims at learning to segment arbitrary visual concepts in images, by using only image-text pairs without dense annotations. Existing open-world segmentation methods have shown impressive advances by employing contrastive learning (CL) to learn diverse visual concepts and transferring the learned image-level understanding to the segmentation task.

Show full abstract

However, these CL-based methods suffer from a train-test discrepancy, since it only considers image-text alignment during training, whereas segmentation requires region-text alignment during testing. In this paper, we proposed a novel Text-grounded Contrastive Learning (TCL) framework that enables a model to directly learn region-text alignment. Our method generates a segmentation mask for a given text, extracts text-grounded image embedding from the masked region, and aligns it with text embedding via TCL. By learning region-text alignment directly, our framework encourages a model to directly improve the quality of generated segmentation masks. In addition, for a rigorous and fair comparison, we present a unified evaluation protocol with widely used 8 semantic segmentation datasets. TCL achieves state-of-the-art zero-shot segmentation performances with large margins in all datasets. Code is available at https://github.com/kakaobrain/tcl.

View on arXivView PDF

Code Implementations(1)

khanrc/tclOfficial100%
MIT

Official implementation of TCL (CVPR 2023)

1176PythonNov 30, 20223 years agoMIT
cvpropen-worldsegmentationsemantic-segmentationzero-shot

Similar Papers

Cite this paper

@article{cha2022learning,
  title  = {Learning to Generate Text-grounded Mask for Open-world Semantic Segmentation from Only Image-Text Pairs},
  author = {Junbum Cha and Jonghwan Mun and Byungseok Roh},
  year   = {2022},
  eprint = {2212.00785},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.00785}
}

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

Discussion