SOTAVerified

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

2024-06-28Code Available3· sign in to hype

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

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
RefCOCOg-testEVF-SAMOverall IoU78.3Unverified
RefCOCOg-valEVF-SAMOverall IoU78.2Unverified
RefCOCO testAEVF-SAMOverall IoU80Unverified
RefCOCO testAEVF-SAMOverall IoU84.2Unverified
RefCOCO testBEVF-SAMOverall IoU80.2Unverified
RefCOCO+ test BEVF-SAMOverall IoU71.9Unverified
RefCoCo valEVF-SAMOverall IoU82.4Unverified
RefCoCo valEVF-SAMOverall IoU76.5Unverified

Reproductions