Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Explicit Visual Prompting for Universal Foreground Segmentations

About

Foreground segmentation is a fundamental problem in computer vision, which includes salient object detection, forgery detection, defocus blur detection, shadow detection, and camouflage object detection. Previous works have typically relied on domain-specific solutions to address accuracy and robustness issues in those applications. In this paper, we present a unified framework for a number of foreground segmentation tasks without any task-specific designs. 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 high-frequency components. Our method freezes a pre-trained model and then learns task-specific knowledge using a few extra parameters. Despite introducing only a small number of tunable parameters, EVP achieves superior performance than full fine-tuning and other parameter-efficient fine-tuning methods. Experiments in fourteen datasets across five tasks show the proposed method outperforms other task-specific methods while being considerably simple. The proposed method demonstrates the scalability in different architectures, pre-trained weights, and tasks. The code is available at: https://github.com/NiFangBaAGe/Explicit-Visual-Prompt.

Weihuang Liu, Xi Shen, Chi-Man Pun, Xiaodong Cun• 2023

Related benchmarks

TaskDatasetResultRank
Salient Object DetectionDUTS (test)
M (MAE)0.026
302
Camouflaged Object DetectionCOD10K (test)
S-measure (S_alpha)0.843
174
Salient Object DetectionPASCAL-S (test)
MAE0.053
149
Salient Object DetectionHKU-IS (test)
MAE0.02
137
Salient Object DetectionECSSD (test)
S-measure (Sa)0.944
104
Salient Object DetectionDUT-OMRON (test)
MAE0.04
92
Camouflaged Object DetectionCAMO (test)
S_alpha0.851
85
Camouflaged Object DetectionCOD10K
S-measure (S_alpha)0.845
83
Camouflaged Object DetectionChameleon (test)--
59
Concealed Object DetectionNC4K--
46
Showing 10 of 17 rows

Other info

Code

Follow for update