MoSAM: Motion-Guided Segment Anything Model with Spatial-Temporal Memory Selection
Not on the map. Why?
Abstract (arXiv)
The recent Segment Anything Model 2 (SAM2) has demonstrated exceptional capabilities in interactive object segmentation for both images and videos. However, as a foundational model on interactive segmentation, SAM2 performs segmentation directly based on mask memory from the past six frames, leading to two significant challenges. Firstly, during inference in videos, objects may disappear since SAM2 relies solely on memory without accounting for object motion information, which limits its long-range object tracking capabilities. Secondly, its memory is constructed from fixed past frames, making it susceptible to challenges associated with object disappearance or occlusion, due to potentially inaccurate segmentation results in memory. To address these problems, we present MoSAM, incorporating two key strategies to integrate object motion cues into the model and establish more reliable feature memory. Firstly, we propose Motion-Guided Prompting (MGP), which represents the object motion in both sparse and dense manners, then injects them into SAM2 through a set of motion-guided prompts. MGP enables the model to adjust its focus towards the direction of motion, thereby enhancing the object tracking capabilities. Furthermore, acknowledging that past segmentation results may be inaccurate, we devise a Spatial-Temporal Memory Selection (ST-MS) mechanism that dynamically identifies frames likely to contain accurate segmentation in both pixel- and frame-level. By eliminating potentially inaccurate mask predictions from memory, we can leverage more reliable memory features to exploit similar regions for improving segmentation results. Extensive experiments on various benchmarks of video object segmentation and video instance segmentation demonstrate that our MoSAM achieves state-of-the-art results compared to other competitors.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 30 of its 38 references that are in the map. First posted on arXiv 30 Apr 2025.
Builds on
30 of 38 references.
References · 30
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2023Segment Anythingcited by 8,158
- 2024Grounded SAM: Assembling Open-World Models for Diverse Visual Taskscited by 914
- 2016Simple Online and Realtime Trackingcited by 862
- 2023Segment Everything Everywhere All at Oncecited by 546
- 2019Video Object Segmentation using Space-Time Memory Networkscited by 436
- 2022XMem: Long-Term Video Object Segmentation with an Atkinson-Shiffrin Memory Modelcited by 436
- 2019Video Instance Segmentationcited by 391
- 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
- 2016One-Shot Video Object Segmentationcited by 233
- 2021Associating Objects with Transformers for Video Object Segmentationcited by 225
- 2023Putting the Object Back into Video Object Segmentationcited by 182
18 more
- 2022Decoupling Features in Hierarchical Propagation for Video Object Segmentationcited by 146
- 2020Collaborative Video Object Segmentation by Foreground-Background Integrationcited by 142
- 2017Online Adaptation of Convolutional Neural Networks for Video Object Segmentationcited by 109
- 2021SSTVOS: Sparse Spatiotemporal Transformers for Video Object Segmentationcited by 106
- 2024SAMURAI: Adapting Segment Anything Model for Zero-Shot Visual Tracking with Motion-Aware Memorycited by 91
- 2018VideoMatch: Matching based Video Object Segmentationcited by 90
- 2020Learning What to Learn for Video Object Segmentationcited by 89
- 2018PReMVOS: Proposal-generation, Refinement and Merging for Video Object Segmentationcited by 81
- 2024SAM2Long: Enhancing SAM 2 for Long Video Segmentation with a Training-Free Memory Treecited by 77
- 2018Blazingly Fast Video Object Segmentation with Pixel-Wise Metric Learningcited by 74
- 2021Joint Inductive and Transductive Learning for Video Object Segmentationcited by 61
- 2018Fast and Accurate Online Video Object Segmentation via Tracking Partscited by 57
- 2022Recurrent Dynamic Embedding for Video Object Segmentationcited by 52
- 2021Opening up Open-World Trackingcited by 50
- 2018MaskRNN: Instance Level Video Object Segmentationcited by 48
- 2024EmbodiedSAM: Online Segment Any 3D Thing in Real Timecited by 40
- 2023Scalable Video Object Segmentation with Simplified Frameworkcited by 29
- 2024Unified Embedding Alignment for Open-Vocabulary Video Instance Segmentationcited by 15
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025MOSEv2: A More Challenging Dataset for Video Object Segmentation in Complex Scenescited by 59
- 2025SAMITE: Position Prompted SAM2 with Calibrated Memory for Visual Object Trackingcited by 4
- 20263AM: 3egment Anything with Geometric Consistency in Videoscited by 3
- 2025SAM2RL: Towards Reinforcement Learning Memory Control in Segment Anything Model 2cited by 2
- 2026Learning to Reason with Persistent Object States for Video Instance Segmentationcited by 0
- 2026Learning to Reason with Persistent Object States for Video Instance Segmentation28 Sep 2026
- 20263AM: 3egment Anything with Geometric Consistency in Videos13 Jan 2026
- 2025MOSEv2: A More Challenging Dataset for Video Object Segmentation in Complex Scenes7 Aug 2025
- 2025SAMITE: Position Prompted SAM2 with Calibrated Memory for Visual Object Tracking29 Jul 2025
- 2025SAM2RL: Towards Reinforcement Learning Memory Control in Segment Anything Model 211 Jul 2025