Abstract | Usage | Results | Statement
This is the official repository of the paper RefSAM: Efficiently Adapting Segmenting Anything Model for Referring Video Object Segmentation
The overall pipeline of RefSAM. It mainly consists of five key components: 1) Backbone: Visual Encoder of SAM with Adapter and Text Encoder; 2) Cross-Modal MLP; 3) Hierarchical Dense Attention; 4) Mask Decoder of SAM; and 5) Implicit Tracking Module.
In this study, we present the RefSAM model, which for the first time explores the potential of SAM for RVOS by incorporating multi-view information from diverse modalities and successive frames at different timestamps. Our proposed approach adapts the original SAM model to enhance cross-modality learning by employing a lightweight Cross-Modal MLP that projects the text embedding of the referring expression into sparse and dense embeddings, serving as user-interactive prompts. Subsequently, a parameter-efficient tuning strategy is employed to effectively align and fuse the language and vision features. Through comprehensive ablation studies, we demonstrate the practical and effective design choices of our strategy. Extensive experiments conducted on Ref-Youtu-VOS and Ref-DAVIS17 datasets validate the superiority and effectiveness of our RefSAM model over existing methods.
Figure 2: Results on Ref-DAVIS17.Figure 3: Results on Ref-Youtube-VOS.
A comprehensive comparison between RefSAM and existing methods.
Figure 4: Some examples of RefSAM segmentation results on Ref-DAVIS17.
We show the visualization results of our RefSAM model. It can be seen that RefSAM is capable of effectively segmenting and tracking the referred object even in challenging scenarios, such as variations in person poses, and occlusions between instances.
Figure 5: Visualization of different models on Ref-DAVIS17. From left to right: RefSAM, ReferFormer, SAM-Track + Ground DINO, and PerSAM + Ground DINO.
Furthermore, we present the results of differnt models. It is clear that our RefSAM demonstrates significantly enhanced cross-modal understanding capability.
Figure 6: The influence of different learning rates for the learnable modules of RefSAM. Figure 7: Ablation study of different module designs. Figure 8: Ablation study of the key compoents of RefSAM Figure 9: Influence of the model size of Visual Encoder. Figure 10: Number of learnable parameters of different Models Figure 11: Inference speed of different models.This project is for research purpose only. For any other questions please contact [email protected].