Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

EVF-SAM: Early Vision-Language Fusion for Text-Prompted Segment Anything Model

About

Segment Anything Model (SAM) has attracted widespread attention for its superior interactive segmentation capabilities with visual prompts while lacking further exploration of text prompts. In this paper, we empirically investigate what text prompt encoders (e.g., CLIP or LLM) are good for adapting SAM for referring expression segmentation and introduce the Early Vision-language Fusion-based SAM (EVF-SAM). EVF-SAM is a simple yet effective referring segmentation method which exploits multimodal prompts (i.e., image and text) and comprises a pre-trained vision-language model to generate referring prompts and a SAM model for segmentation. Surprisingly, we observe that: (1) multimodal prompts and (2) vision-language models with early fusion (e.g., BEIT-3) are beneficial for prompting SAM for accurate referring segmentation. Our experiments show that the proposed EVF-SAM based on BEIT-3 can obtain state-of-the-art performance on RefCOCO/+/g for referring expression segmentation and demonstrate the superiority of prompting SAM with early vision-language fusion. In addition, the proposed EVF-SAM with 1.32B parameters achieves remarkably higher performance while reducing nearly 82% of parameters compared to previous SAM methods based on large multimodal models.

Yuxuan Zhang, Tianheng Cheng, Lianghui Zhu, Rui Hu, Lei Liu, Heng Liu, Longjin Ran, Xiaoxin Chen, Wenyu Liu, Xinggang Wang• 2024

Related benchmarks

TaskDatasetResultRank
Referring Image SegmentationRefCOCO (val)--
259
Referring Expression SegmentationRefCOCO (testA)
cIoU84.2
257
Referring Image SegmentationRefCOCO+ (test-B)--
252
Referring Expression SegmentationRefCOCO+ (testA)
cIoU80
230
Referring Image SegmentationRefCOCO (test A)--
230
Referring Expression SegmentationRefCOCO+ (val)
cIoU76.5
223
Referring Expression SegmentationRefCOCO (testB)
cIoU80.2
213
Referring Expression SegmentationRefCOCO (val)
cIoU82.4
212
Visual GroundingRefCOCO+ (val)--
212
Referring Expression SegmentationRefCOCO+ (testB)
cIoU71.9
210
Showing 10 of 33 rows

Other info

Follow for update