Spectral Prompt Tuning:Unveiling Unseen Classes for Zero-Shot Semantic Segmentation

Wenhao Xu, Rongtao Xu, Changwei Wang, Shibiao Xu, Li Guo +2 more
12/20/2023
27 citations
cs.CVcs.CL
lora-peft-merging

Official code: clearxu/SPT (14 stars, Python, last commit 2024-04-26).

Abstract

Recently, CLIP has found practical utility in the domain of pixel-level zero-shot segmentation tasks. The present landscape features two-stage methodologies beset by issues such as intricate pipelines and elevated computational costs.

Show full abstract

While current one-stage approaches alleviate these concerns and incorporate Visual Prompt Training (VPT) to uphold CLIP's generalization capacity, they still fall short in fully harnessing CLIP's potential for pixel-level unseen class demarcation and precise pixel predictions. To further stimulate CLIP's zero-shot dense prediction capability, we propose SPT-SEG, a one-stage approach that improves CLIP's adaptability from image to pixel. Specifically, we initially introduce Spectral Prompt Tuning (SPT), incorporating spectral prompts into the CLIP visual encoder's shallow layers to capture structural intricacies of images, thereby enhancing comprehension of unseen classes. Subsequently, we introduce the Spectral Guided Decoder (SGD), utilizing both high and low-frequency information to steer the network's spatial focus towards more prominent classification features, enabling precise pixel-level prediction outcomes. Through extensive experiments on two public datasets, we demonstrate the superiority of our method over state-of-the-art approaches, performing well across all classes and particularly excelling in handling unseen classes. Code is available at:https://github.com/clearxu/SPT.

View on arXivView PDF

Code Implementations(1)

clearxu/SPTOfficial100%

Code of ["Spectral Prompt Tuning: Unveiling Unseen Classes for Zero-Shot Semantic Segmentation"]

141Python, Jupyter NotebookAug 2, 20232 years ago

Similar Papers

Cite this paper

@article{xu2023spectral,
  title  = {Spectral Prompt Tuning:Unveiling Unseen Classes for Zero-Shot Semantic Segmentation},
  author = {Wenhao Xu and Rongtao Xu and Changwei Wang and Shibiao Xu and Li Guo and Man Zhang and Xiaopeng Zhang},
  year   = {2023},
  eprint = {2312.12754},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.12754v2}
}

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

Discussion