Prompting classes: Exploring the Power of Prompt Class Learning in Weakly Supervised Semantic Segmentation

Balamurali Murugesan, Rukhshanda Hussain, Rajarshi Bhattacharya, Ismail Ben Ayed, Jose Dolz
6/30/2023
cs.CV

Official code: rB080/WSS_POLE (6 stars, MIT, last commit 2023-07-01). 1 more implementation below.

Abstract

Recently, CLIP-based approaches have exhibited remarkable performance on generalization and few-shot learning tasks, fueled by the power of contrastive language-vision pre-training. In particular, prompt tuning has emerged as an effective strategy to adapt the pre-trained language-vision models to downstream tasks by employing task-related textual tokens. Motivated by this progress, in this work we question whether other fundamental problems, such as weakly supervised semantic segmentation (WSSS), can benefit from prompt tuning. Our findings reveal two interesting observations that shed light on the impact of prompt tuning on WSSS. First, modifying only the class token of the text prompt results in a greater impact on the Class Activation Map (CAM), compared to arguably more complex strategies that optimize the context. And second, the class token associated with the image ground truth does not necessarily correspond to the category that yields the best CAM. Motivated by these observations, we introduce a novel approach based on a PrOmpt cLass lEarning (POLE) strategy. Through extensive experiments we demonstrate that our simple, yet efficient approach achieves SOTA performance in a well-known WSSS benchmark. These results highlight not only the benefits of language-vision models in WSSS but also the potential of prompt learning for this problem. The code is available at https://github.com/rB080/WSS_POLE.

View on arXivView PDF

Code Implementations(2)

rB080/WSS_POLEOfficial100%
MIT

This is the official implementation of our PrOmpt cLass lEarning (POLE).

62Python, Jupyter NotebookJun 27, 20233 years agoMIT
Ruxie189/WSS_POLECommunity100%
MIT

This is the official implementation of our PrOmpt cLass lEarning (POLE).

121Shell, PythonJun 10, 20232 years agoMIT

Similar Papers

Cite this paper

@article{murugesan2023prompting,
  title  = {Prompting classes: Exploring the Power of Prompt Class Learning in Weakly Supervised Semantic Segmentation},
  author = {Balamurali Murugesan and Rukhshanda Hussain and Rajarshi Bhattacharya and Ismail Ben Ayed and Jose Dolz},
  year   = {2023},
  eprint = {2307.00097},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.00097v3}
}

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

Discussion