SAM2RL: Towards Reinforcement Learning Memory Control in Segment Anything Model 2
On the map: Deep reinforcement learning methods → RL training of language and agent models
Abstract (arXiv)
Segment Anything Model 2 (SAM 2) has demonstrated strong performance in object segmentation tasks and has become the state-of-the-art for visual object tracking. The model stores information from previous frames in a memory bank, enabling temporal consistency across video sequences. Recent methods augment SAM 2 with hand-crafted update rules to better handle distractors, occlusions, and object motion. We propose a fundamentally different approach using reinforcement learning for optimizing memory updates in SAM 2 by framing memory control as a sequential decision-making problem. In an overfitting setup with a separate agent per video, our method achieves a relative improvement over SAM 2 that exceeds by more than three times the gains of existing heuristics. These results reveal the untapped potential of the memory bank and highlight reinforcement learning as a powerful alternative to hand-crafted update rules for memory control in visual object tracking.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in RL training of language and agent models, one of 15 directions in Deep reinforcement learning methods. Builds on 9 of its 11 references that are in the map. First posted on arXiv 11 Jul 2025.
Builds on
9 of 11 references.
References · 9
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2023Segment Anythingcited by 8,234
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,863
- 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 290
- 2024SAMURAI: Adapting Segment Anything Model for Zero-Shot Visual Tracking with Motion-Aware Memorycited by 94
- 2024SAM2Long: Enhancing SAM 2 for Long Video Segmentation with a Training-Free Memory Treecited by 80
- 2024A Distractor-Aware Memory for Visual Object Tracking with SAM2cited by 66
- 2019Deep Learning for Visual Tracking: A Comprehensive Surveycited by 61
- 2025MoSAM: Motion-Guided Segment Anything Model with Spatial-Temporal Memory Selectioncited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026RELO: Reinforcement Learning to Localize for Visual Object Tracking
- 2025SegDAC: Visual Generalization in Reinforcement Learning via Dynamic Object Tokens
- 2025SAM-R1: Leveraging SAM for Reward Feedback in Multimodal Segmentation via Reinforcement Learning
- 2025Seg-R1: Segmentation Can Be Surprisingly Simple with Reinforcement Learning
- 2026Lean-SAM2: Target-Anchored Memory and Encoder Acceleration for SAM2
- 2026TinySAM 2: Extreme Memory Compression for Efficient Track Anything Model
- 2026VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation
- 2024AlignSAM: Aligning Segment Anything Model to Open Context via Reinforcement Learning