Explicit Visual Prompting for Low-Level Structure Segmentations

Weihuang Liu, Xi Shen, Chi-Man Pun, Xiaodong Cun
3/1/2023

No official code found. Best implementation: NiFangBaAGe/Explicit-Visual-Prompt (231 stars, BSD-3-Clause, last commit 2025-10-22).

Abstract

We consider the generic problem of detecting low-level structures in images, which includes segmenting the manipulated parts, identifying out-of-focus pixels, separating shadow regions, and detecting concealed objects. Whereas each such topic has been typically addressed with a domain-specific solution, we show that a unified approach performs well across all of them. We take inspiration from the widely-used pre-training and then prompt tuning protocols in NLP and propose a new visual prompting model, named Explicit Visual Prompting (EVP). Different from the previous visual prompting which is typically a dataset-level implicit embedding, our key insight is to enforce the tunable parameters focusing on the explicit visual content from each individual image, i.e., the features from frozen patch embeddings and the input's high-frequency components. The proposed EVP significantly outperforms other parameter-efficient tuning protocols under the same amount of tunable parameters (5.7% extra trainable parameters of each task). EVP also achieves state-of-the-art performances on diverse low-level structure segmentation tasks compared to task-specific solutions. Our code is available at: https://github.com/NiFangBaAGe/Explicit-Visual-Prompt.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

[CVPR 2023 & TPAMI 2025] Explicit Visual Prompting for Low-Level Structure Segmentations

23116PythonMar 10, 202312 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{liu2023explicit,
  title  = {Explicit Visual Prompting for Low-Level Structure Segmentations},
  author = {Weihuang Liu and Xi Shen and Chi-Man Pun and Xiaodong Cun},
  year   = {2023},
  eprint = {2303.10883},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.10883},
  journal = {CVPR 2023 2023}
}

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

Discussion