[Paper Review] Explicit Visual Prompting for Low-Level Structure Segmentations
This paper proposes Explicit Visual Prompting (EVP), a unified, parameter-efficient method for low-level structure segmentation tasks such as forgery, defocus blur, shadow, and camouflaged object detection. By tuning frozen patch embeddings and high-frequency components of each input image, EVP achieves state-of-the-art performance with only 5.7% more trainable parameters than baseline methods, outperforming both prompt-tuning baselines and task-specific models.
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.
Motivation & Objective
- To unify the detection of diverse low-level image structures—such as forged regions, defocus blur, shadows, and camouflaged objects—under a single framework.
- To address the challenge of limited labeled data and lack of large-scale datasets in low-level segmentation tasks.
- To improve performance in low-level structure segmentation using parameter-efficient tuning, inspired by NLP prompting but adapted for vision.
- To demonstrate that task-specific knowledge can be effectively tuned via image-specific visual content rather than generic learnable tokens.
Proposed method
- EVP introduces a visual prompting mechanism that uses features from frozen patch embeddings and high-frequency components of the input image as task-specific prompts.
- The method applies learnable adapters (Adaptors) to re-modulate features from the frozen vision transformer backbone, enabling efficient fine-tuning.
- A scaling factor $ r $ controls the number of trainable parameters in the Adaptor, balancing model size and performance.
- The Adaptor consists of a shared or unshared MLP head that tunes features at specific stages of the SegFormer backbone.
- The approach is designed to be generalizable, tested on both hierarchical (SegFormer) and plain ViT backbones.
- High-frequency components are extracted via a simple filter (e.g., Laplacian) and used as an explicit prompt signal to guide the frozen model.
Experimental results
Research questions
- RQ1Can a unified, parameter-efficient method achieve state-of-the-art performance across multiple low-level structure segmentation tasks?
- RQ2Does prompting based on explicit image content—such as high-frequency components and frozen patch features—outperform generic learnable prompt tokens?
- RQ3How does the choice of tuning stage and adapter architecture affect performance in low-level segmentation?
- RQ4Can EVP generalize across different vision transformer backbones, including plain ViT and hierarchical SegFormer?
- RQ5What is the optimal trade-off between model size and performance when controlling the number of trainable parameters via the scaling factor $ r $?
Key findings
- EVP achieves state-of-the-art performance on nine diverse datasets across four low-level segmentation tasks, outperforming both task-specific models and other prompt-tuning baselines.
- With only 5.7% more trainable parameters than baseline methods, EVP surpasses full fine-tuning on three of four datasets and matches it on the fourth.
- Removing either the frozen patch embedding features ($ F_{pe} $) or high-frequency components ($ F_{hfc} $) leads to significant performance drops, confirming both are essential.
- Using $ r = 4 $ provides the best trade-off between performance and parameter efficiency, as performance plateaus or declines when $ r $ is reduced further to 1 or 2.
- The ablation study confirms that sharing the adapter MLP across stages hurts performance, indicating that task-specific adaptation per stage is crucial.
- EVP generalizes well to plain ViT backbones, outperforming VPT and AdaptFormer on SETR with ViT-Base, validating its architectural robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.