SAM2Long: Enhancing SAM 2 for Long Video Segmentation with a Training-Free Memory Tree
Not on the map. Why?
Abstract (arXiv)
The Segment Anything Model 2 (SAM 2) has emerged as a powerful foundation model for object segmentation in both images and videos, paving the way for various downstream video applications. The crucial design of SAM 2 for video segmentation is its memory module, which prompts object-aware memories from previous frames for current frame prediction. However, its greedy-selection memory design suffers from the "error accumulation" problem, where an errored or missed mask will cascade and influence the segmentation of the subsequent frames, which limits the performance of SAM 2 toward complex long-term videos. To this end, we introduce SAM2Long, an improved training-free video object segmentation strategy, which considers the segmentation uncertainty within each frame and chooses the video-level optimal results from multiple segmentation pathways in a constrained tree search manner. In practice, we maintain a fixed number of segmentation pathways throughout the video. For each frame, multiple masks are proposed based on the existing pathways, creating various candidate branches. We then select the same fixed number of branches with higher cumulative scores as the new pathways for the next frame. After processing the final frame, the pathway with the highest cumulative score is chosen as the final segmentation result. Benefiting from its heuristic search design, SAM2Long is robust toward occlusions and object reappearances, and can effectively segment and track objects for complex long-term videos. Notably, SAM2Long achieves an average improvement of 3.0 points across all 24 head-to-head comparisons, with gains of up to 5.3 points in J&F on long-term video object segmentation benchmarks such as SA-V and LVOS. The code is released at https://github.com/Mark12Ding/SAM2Long.
Key facts. Cited by 80 papers in the map (data through 14 Oct 2026). Builds on 63 of its 79 references that are in the map. First posted on arXiv 21 Oct 2024.
Builds on
63 of 79 references.
References · 63
- 2023Segment Anythingcited by 8,234
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,863
- 2017The 2017 DAVIS Challenge on Video Object Segmentationcited by 957
- 2018GOT-10k: A Large High-Diversity Benchmark for Generic Object Tracking in the Wildcited by 475
- 2022XMem: Long-Term Video Object Segmentation with an Atkinson-Shiffrin Memory Modelcited by 439
- 2019Video Object Segmentation using Space-Time Memory Networkscited by 438
- 2018LaSOT: A High-quality Benchmark for Large-scale Single Object Trackingcited by 429
- 2018YouTube-VOS: A Large-Scale Video Object Segmentation Benchmarkcited by 383
- 2022Joint Feature Learning and Relation Modeling for Tracking: A One-Stream Frameworkcited by 330
- 2022MixFormer: End-to-End Tracking with Iterative Mixed Attentioncited by 281
- 2018Fast Online Object Tracking and Segmentation: A Unifying Approachcited by 272
- 2016One-Shot Video Object Segmentationcited by 235
38 more
- 2023MOSE: A New Dataset for Video Object Segmentation in Complex Scenescited by 234
- 2021Associating Objects with Transformers for Video Object Segmentationcited by 226
- 2021Rethinking Space-Time Networks with Improved Memory Coverage for Efficient Video Object Segmentationcited by 203
- 2023Tracking Anything with Decoupled Video Segmentationcited by 197
- 2023Putting the Object Back into Video Object Segmentationcited by 188
- 2023Semantic-SAM: Segment and Recognize Anything at Any Granularitycited by 185
- 2019FEELVOS: Fast End-to-End Embedding Learning for Video Object Segmentationcited by 178
- 2016Learning Video Object Segmentation from Static Imagescited by 151
- 2022Decoupling Features in Hierarchical Propagation for Video Object Segmentationcited by 148
- 2020Collaborative Video Object Segmentation by Foreground-Background Integrationcited by 142
- 2020LaSOT: A High-quality Large-scale Single Object Tracking Benchmarkcited by 132
- 2021Learning Target Candidate Association to Keep Track of What Not to Trackcited by 131
- 2024ODTrack: Online Dense Temporal Token Learning for Visual Trackingcited by 129
- 2022Transforming Model Prediction for Trackingcited by 117
- 2023SAM-6D: Segment Anything Model Meets Zero-Shot 6D Object Pose Estimationcited by 117
- 2020Kernelized Memory Network for Video Object Segmentationcited by 111
- 2017Online Adaptation of Convolutional Neural Networks for Video Object Segmentationcited by 109
- 2021SSTVOS: Sparse Spatiotemporal Transformers for Video Object Segmentationcited by 106
- 2020Video Object Segmentation with Adaptive Feature Bank and Uncertain-Region Refinementcited by 101
- 2018Efficient Video Object Segmentation via Network Modulationcited by 98
- 2017Video Object Segmentation Without Temporal Informationcited by 93
- 2023Generalized Relation Modeling for Transformer Trackingcited by 93
- 2018VideoMatch: Matching based Video Object Segmentationcited by 90
- 2020Learning What to Learn for Video Object Segmentationcited by 89
- 2019RVOS: End-to-End Recurrent Network for Video Object Segmentationcited by 88
- 2021Efficient Regional Memory Network for Video Object Segmentationcited by 86
- 2020Collaborative Video Object Segmentation by Multi-Scale Foreground-Background Integrationcited by 81
- 2023Robust Object Modeling for Visual Trackingcited by 80
- 2022LVOS: A Benchmark for Long-term Video Object Segmentationcited by 77
- 2020Learning Fast and Robust Target Models for Video Object Segmentationcited by 76
- 2018Blazingly Fast Video Object Segmentation with Pixel-Wise Metric Learningcited by 74
- 2024Tracking Meets LoRA: Faster Training, Larger Model, Stronger Performancecited by 70
- 2018A Generative Appearance Model for End-to-end Video Object Segmentationcited by 66
- 2020Fast Video Object Segmentation using the Global Context Modulecited by 65
- 2018Video Object Segmentation with Joint Re-identification and Attention-Aware Mask Propagationcited by 56
- 2023XMem++: Production-level Video Segmentation From Few Annotated Framescited by 53
- 2022Recurrent Dynamic Embedding for Video Object Segmentationcited by 52
- 2022Breaking the "Object" in Video Object Segmentationcited by 49
50 most cited of 63 All 63 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 37; 2026: 40.
80 papers.
Sort:
By area:
- 2024SAMURAI: Adapting Segment Anything Model for Zero-Shot Visual Tracking with Motion-Aware Memorycited by 94
- 2024A Distractor-Aware Memory for Visual Object Tracking with SAM2cited by 66
- 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 65
- 2025MOSEv2: A More Challenging Dataset for Video Object Segmentation in Complex Scenescited by 62
- 2025Advancing Complex Video Object Segmentation via Progressive Concept Constructioncited by 26
- 2024Efficient Track Anythingcited by 21
- 2025SAM2MOT: A Novel Paradigm of Multi-Object Tracking by Segmentationcited by 17
- 2025SAM2 for Image and Video Segmentation: A Comprehensive Surveycited by 13
- 2025Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM2cited by 11
- 2025MemorySAM: Memorize Modalities and Semantics with Segment Anything Model 2 for Multi-modal Semantic Segmentationcited by 10
- 2026Refer-Agent: A Collaborative Multi-Agent System with Reasoning and Reflection for Referring Video Object Segmentationcited by 9
- 2025Memory-Augmented SAM2 for Training-Free Surgical Video Segmentationcited by 8
38 more
- 2025Zero-Shot 4D Lidar Panoptic Segmentationcited by 6
- 2025HiM2SAM: Enhancing SAM2 with Hierarchical Motion Estimation and Memory Optimization towards Long-term Trackingcited by 6
- 2025MITracker: Multi-View Integration for Visual Object Trackingcited by 5
- 2025MoSAM: Motion-Guided Segment Anything Model with Spatial-Temporal Memory Selectioncited by 5
- 2025SAMITE: Position Prompted SAM2 with Calibrated Memory for Visual Object Trackingcited by 5
- 2026Video Understanding: From Geometry and Semantics to Unified Modelscited by 5
- 2025LSVOS 2025 Challenge Report: Recent Advances in Complex Video Object Segmentationcited by 4
- 20263AM: 3egment Anything with Geometric Consistency in Videoscited by 4
- 2025Semantic-Guided Diffusion Model for Single-Step Image Super-Resolutioncited by 3
- 2025SAM2RL: Towards Reinforcement Learning Memory Control in Segment Anything Model 2cited by 3
- 2025Tracking and Understanding Object Transformationscited by 3
- 2025Segment Anything Across Shots: A Method and Benchmarkcited by 3
- 2025AuralSAM2: Enabling SAM2 Hear Through Pyramid Audio-Visual Feature Promptingcited by 2
- 2025Segment Anything for Video: A Comprehensive Review of Video Object Segmentation and Tracking from Past to Futurecited by 2
- 2025Distractor-Aware Memory-Based Visual Object Trackingcited by 2
- 2025The SAM2-to-SAM3 Gap in the Segment Anything Model Family: Why Prompt-Based Expertise Fails in Concept-Driven Image Segmentationcited by 2
- 2026Efficient-SAM2: Accelerating SAM2 with Object-Aware Visual Encoding and Memory Retrievalcited by 2
- 2026ViewSAM: Learning View-aware Cross-modal Semantics for Weakly Supervised Cross-view Referring Multi-Object Trackingcited by 2
- 2026SetCon: Towards Open-Ended Referring Segmentation via Set-Level Concept Predictioncited by 2
- 2026Segment Anything with Motion, Geometry, and Semantic Adaptation for Complex Nonlinear Visual Object Trackingcited by 2
- 2025Robust Ego-Exo Correspondence with Long-Term Memorycited by 1
- 2025SAM 2++: Tracking Anything at Any Granularitycited by 1
- 2025SurgSLOT: Segment Anything in Surgical Videos via Semantic Long-term Trackingcited by 1
- 2025RobotSeg: A Model and Dataset for Segmenting Robots in Image and Videocited by 1
- 2025Rethinking Memory Design in SAM-Based Visual Object Trackingcited by 1
- 2026SAM3-DMS: Decoupled Memory Selection for Multi-target Video Segmentation of SAM3cited by 1
- 2026Live Interactive Training for Video Segmentationcited by 1
- 2026UniSurgSAM: A Unified Promptable Model for Reliable Surgical Video Segmentationcited by 1
- 2026PanoSAM2: Lightweight Distortion- and Memory-aware Adaptions of SAM2 for 360 Video Object Segmentationcited by 1
- 2026SAMIDARE: Advanced Tracking-by-Segmentation for Dense Scenarioscited by 1
- 2026SENTRY: SAM2-Enhanced Neighbor-Aware and Temporally Reasoned Memory for Visual Trackingcited by 1
- 2025THU-Warwick Submission for EPIC-KITCHEN Challenge 2025: Semi-Supervised Video Object Segmentationcited by 0
- 2025FreeVPS: Repurposing Training-Free SAM2 for Generalizable Video Polyp Segmentationcited by 0
- 2025Pseudo-Label Enhanced Cascaded Framework: 2nd Technical Report for LSVOS 2025 VOS Trackcited by 0
- 2025SAMSON: 3rd Place Solution of LSVOS 2025 VOS Challengecited by 0
- 2025The 1st Solution for MOSEv2 Challenge 2025: Long-term and Concept-aware Video Segmentation via SeCcited by 0
- 20252nd Place Report of MOSEv2 Challenge 2025: Concept Guided Video Object Segmentation via SeCcited by 0
- 2025The 1st Solution for MOSEv1 Challenge on LSVOS 2025: CGFSegcited by 0
50 most cited of 80 All 80 (JSON)
- 2026SAM3RL: Memory Control via Reinforcement Learning for Visual Object Tracking14 Oct 2026
- 2026When Trackers Fail: VLM-Guided Verification and Recovery for Robust Video Object Segmentation11 Oct 2026
- 2026When Predicting Nothing Beats SAM 3: Revisiting Evaluation in Video Object Segmentation2 Oct 2026
- 2026Learning to Reason with Persistent Object States for Video Instance Segmentation28 Sep 2026
- 2026LiAM-SAM: Lifecycle-Aware Memory for Robust SAM2-Based MOT23 Sep 2026
- 2026Does Video Memory Use What It Retrieves? A Causal Audit of Memory Specificity10 Sep 2026
- 2026ENEAS: Embedding-guided Neural Ensemble for Adaptive Segmentation3 Sep 2026
- 2026SAM3Dual: A 3rd Place Solution to the MOSEv2 Track, 8th LSVOS Challenge23 Aug 2026
- 2026Competitive Memory Readout for Robust Video Object Segmentation: 2nd Place Technical Report for the MOSEv2 Track of the 8th LSVOS Challenge22 Aug 2026
- 2026VOS-Agent: The 1st Place Solution for the 8th LSVOS Challenge (MOSEv2 Track)13 Aug 2026
- 2026StreamDAM: Presence-Aware Memory for Real-Time Streaming Video Object Segmentation4 Aug 2026
- 2026Lean-SAM2: Target-Anchored Memory and Encoder Acceleration for SAM222 Jul 2026
38 more
- 2026Efficient Tracking and Understanding Object Transformations22 Jul 2026
- 2026REMIND: RE-Identification with Memory for INDoor Navigation10 Jul 2026
- 2026SAM-MT: Real-Time Interactive Multi-Target Video Segmentation9 Jul 2026
- 2026SENTRY: SAM2-Enhanced Neighbor-Aware and Temporally Reasoned Memory for Visual Tracking23 Jun 2026
- 2026PlayClass: Automated Play Behaviour Classification in Poultry26 May 2026
- 2026EchoPilot: Training-Free Ultrasound Video Segmentation via Scale-Space Semantic Prompting and Reliability-Gated Memory25 May 2026
- 2026Segment Anything with Motion, Geometry, and Semantic Adaptation for Complex Nonlinear Visual Object Tracking21 May 2026
- 2026SetCon: Towards Open-Ended Referring Segmentation via Set-Level Concept Prediction19 May 2026
- 2026Robust Promptable Video Object Segmentation12 May 2026
- 2026TOC-Bench: A Temporal Object Consistency Benchmark for Video Large Language Models11 May 2026
- 2026ViewSAM: Learning View-aware Cross-modal Semantics for Weakly Supervised Cross-view Referring Multi-Object Tracking4 May 2026
- 2026Towards All-Day Perception for Off-Road Driving: A Large-Scale Multispectral Dataset and Comprehensive Benchmark30 Apr 2026
- 2026SAMIDARE: Advanced Tracking-by-Segmentation for Dense Scenarios24 Apr 2026
- 2026PanoSAM2: Lightweight Distortion- and Memory-aware Adaptions of SAM2 for 360 Video Object Segmentation9 Apr 2026
- 2026UniSurgSAM: A Unified Promptable Model for Reliable Surgical Video Segmentation4 Apr 2026
- 2026TRACE: Thermal Recognition Attentive-Framework for CO2 Emissions from Livestock27 Mar 2026
- 2026Live Interactive Training for Video Segmentation27 Mar 2026
- 2026Re-Prompting SAM 3 via Object Retrieval: 3rd of the 5th PVUW MOSE Track24 Mar 2026
- 2026Video Understanding: From Geometry and Semantics to Unified Models18 Mar 2026
- 2026Show Me When and Where: Towards Referring Video Object Segmentation in the Wild15 Mar 2026
- 2026Towards Visual Query Segmentation in the Wild9 Mar 2026
- 2026TrianguLang: Geometry-Aware Semantic Consensus for Pose-Free 3D Localization9 Mar 2026
- 2026MUOT_3M: A 3 Million Frame Multimodal Underwater Benchmark and the MUTrack Tracking Method20 Feb 2026
- 2026Efficient-SAM2: Accelerating SAM2 with Object-Aware Visual Encoding and Memory Retrieval9 Feb 2026
- 2026Refer-Agent: A Collaborative Multi-Agent System with Reasoning and Reflection for Referring Video Object Segmentation3 Feb 2026
- 2026MV-SAM: Multi-view Promptable Segmentation using Pointmap Guidance25 Jan 2026
- 2026SAM3-DMS: Decoupled Memory Selection for Multi-target Video Segmentation of SAM314 Jan 2026
- 20263AM: 3egment Anything with Geometric Consistency in Videos13 Jan 2026
- 2025Rethinking Memory Design in SAM-Based Visual Object Tracking27 Dec 2025
- 2025Backdoor Attacks on Prompt-Driven Video Segmentation Foundation Models26 Dec 2025
- 2025The SAM2-to-SAM3 Gap in the Segment Anything Model Family: Why Prompt-Based Expertise Fails in Concept-Driven Image Segmentation4 Dec 2025
- 2025RobotSeg: A Model and Dataset for Segmenting Robots in Image and Video28 Nov 2025
- 2025SurgSLOT: Segment Anything in Surgical Videos via Semantic Long-term Tracking20 Nov 2025
- 2025Segment Anything Across Shots: A Method and Benchmark17 Nov 2025
- 2025Tracking and Understanding Object Transformations6 Nov 2025
- 2025Zero-Shot Multi-Animal Tracking in the Wild4 Nov 2025
- 2025Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM228 Oct 2025
- 2025SAM 2++: Tracking Anything at Any Granularity21 Oct 2025
50 newest of 80 All 80 (JSON)
- 2025Robust Ego-Exo Correspondence with Long-Term Memorycited by 1
- 2025Robust Ego-Exo Correspondence with Long-Term Memory13 Oct 2025
- 2024SAMURAI: Adapting Segment Anything Model for Zero-Shot Visual Tracking with Motion-Aware Memorycited by 94
- 2024A Distractor-Aware Memory for Visual Object Tracking with SAM2cited by 66
- 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 65
- 2025MOSEv2: A More Challenging Dataset for Video Object Segmentation in Complex Scenescited by 62
- 2025Advancing Complex Video Object Segmentation via Progressive Concept Constructioncited by 26
- 2024Efficient Track Anythingcited by 21
- 2025SAM2MOT: A Novel Paradigm of Multi-Object Tracking by Segmentationcited by 17
- 2025SAM2 for Image and Video Segmentation: A Comprehensive Surveycited by 13
- 2025Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM2cited by 11
- 2025MemorySAM: Memorize Modalities and Semantics with Segment Anything Model 2 for Multi-modal Semantic Segmentationcited by 10
- 2025Memory-Augmented SAM2 for Training-Free Surgical Video Segmentationcited by 8
- 2025Zero-Shot 4D Lidar Panoptic Segmentationcited by 6
12 most cited of 74 All 74 (JSON)
- 2026When Trackers Fail: VLM-Guided Verification and Recovery for Robust Video Object Segmentation11 Oct 2026
- 2026When Predicting Nothing Beats SAM 3: Revisiting Evaluation in Video Object Segmentation2 Oct 2026
- 2026Learning to Reason with Persistent Object States for Video Instance Segmentation28 Sep 2026
- 2026LiAM-SAM: Lifecycle-Aware Memory for Robust SAM2-Based MOT23 Sep 2026
- 2026Does Video Memory Use What It Retrieves? A Causal Audit of Memory Specificity10 Sep 2026
- 2026ENEAS: Embedding-guided Neural Ensemble for Adaptive Segmentation3 Sep 2026
- 2026SAM3Dual: A 3rd Place Solution to the MOSEv2 Track, 8th LSVOS Challenge23 Aug 2026
- 2026Competitive Memory Readout for Robust Video Object Segmentation: 2nd Place Technical Report for the MOSEv2 Track of the 8th LSVOS Challenge22 Aug 2026
- 2026VOS-Agent: The 1st Place Solution for the 8th LSVOS Challenge (MOSEv2 Track)13 Aug 2026
- 2026StreamDAM: Presence-Aware Memory for Real-Time Streaming Video Object Segmentation4 Aug 2026
- 2026Lean-SAM2: Target-Anchored Memory and Encoder Acceleration for SAM222 Jul 2026
- 2026Efficient Tracking and Understanding Object Transformations22 Jul 2026
12 newest of 74 All 74 (JSON)