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

SAMWISE: Infusing Wisdom in SAM2 for Text-Driven Video Segmentation

About

Referring Video Object Segmentation (RVOS) relies on natural language expressions to segment an object in a video clip. Existing methods restrict reasoning either to independent short clips, losing global context, or process the entire video offline, impairing their application in a streaming fashion. In this work, we aim to surpass these limitations and design an RVOS method capable of effectively operating in streaming-like scenarios while retaining contextual information from past frames. We build upon the Segment-Anything 2 (SAM2) model, that provides robust segmentation and tracking capabilities and is naturally suited for streaming processing. We make SAM2 wiser, by empowering it with natural language understanding and explicit temporal modeling at the feature extraction stage, without fine-tuning its weights, and without outsourcing modality interaction to external models. To this end, we introduce a novel adapter module that injects temporal information and multi-modal cues in the feature extraction process. We further reveal the phenomenon of tracking bias in SAM2 and propose a learnable module to adjust its tracking focus when the current frame features suggest a new object more aligned with the caption. Our proposed method, SAMWISE, achieves state-of-the-art across various benchmarks, by adding a negligible overhead of less than 5 M parameters. Code is available at https://github.com/ClaudiaCuttano/SAMWISE .

Claudia Cuttano, Gabriele Trivigno, Gabriele Rosi, Carlo Masone, Giuseppe Averta• 2024

Related benchmarks

TaskDatasetResultRank
Referring Image SegmentationRefCOCO (val)
mIoU76.8
274
Referring Video Object SegmentationRef-YouTube-VOS (val)
J&F Score70.6
244
Referring Video Object SegmentationRef-DAVIS 2017 (val)
J&F74.5
230
Referring Image SegmentationRefCOCO+ (val)
mIoU67.1
194
Referring Video Object SegmentationMeViS (val)
J&F Score0.524
166
Referring Video Object SegmentationRef-DAVIS 17
J&F Score70.6
131
Referring Image SegmentationRefCOCOg (val)--
114
Referring Video SegmentationRef-YouTube-VOS
J&F Score69.2
108
Referring Video Object SegmentationRef-YouTube-VOS
J&F69.2
103
Referring Video SegmentationMeViS
J&F Score49.5
101
Showing 10 of 33 rows

Other info

Code

Follow for update