Semantic Prompt Learning for Weakly-Supervised Semantic Segmentation

Ci-Siang Lin, Chien-Yi Wang, Yu-Chiang Frank Wang, Min-Hung Chen
1/22/2024
10 citations
cs.CVcs.CLcs.LG

Official code: NVlabs/SemPLeS (16 stars, Jupyter Notebook, last commit 2025-01-03).

Abstract

Weakly-Supervised Semantic Segmentation (WSSS) aims to train segmentation models using image data with only image-level supervision. Since precise pixel-level annotations are not accessible, existing methods typically focus on producing pseudo masks for training segmentation models by refining CAM-like heatmaps.

Show full abstract

However, the produced heatmaps may capture only the discriminative image regions of object categories or the associated co-occurring backgrounds. To address the issues, we propose a Semantic Prompt Learning for WSSS (SemPLeS) framework, which learns to effectively prompt the CLIP latent space to enhance the semantic alignment between the segmented regions and the target object categories. More specifically, we propose Contrastive Prompt Learning and Prompt-guided Semantic Refinement to learn the prompts that adequately describe and suppress the co-occurring backgrounds associated with each object category. In this way, SemPLeS can perform better semantic alignment between object regions and class labels, resulting in desired pseudo masks for training segmentation models. The proposed SemPLeS framework achieves competitive performance on standard WSSS benchmarks, PASCAL VOC 2012 and MS COCO 2014, and shows compatibility with other WSSS methods. Code: https://github.com/NVlabs/SemPLeS.

View on arXivView PDF

Code Implementations(1)

NVlabs/SemPLeSOfficial100%

[WACV 2025] Semantic Prompt Learning for Weakly-Supervised Semantic Segmentation

166Jupyter Notebook, PythonJan 3, 20251 years agoNOASSERTION
clipmscocopascal-vocprompt-tuningsemantic-segmentation+1 more

Similar Papers

Cite this paper

@article{lin2024semantic,
  title  = {Semantic Prompt Learning for Weakly-Supervised Semantic Segmentation},
  author = {Ci-Siang Lin and Chien-Yi Wang and Yu-Chiang Frank Wang and Min-Hung Chen},
  year   = {2024},
  eprint = {2401.11791},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.11791v4}
}

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

Discussion