SAM 2: Segment Anything in Images and Videos
Nikhila Ravi, Valentin Gabeur, Yuan-Ting Hu, Ronghang Hu, Chaitanya K. Ryali, Ma, Tengyu et al. · 2024 · 3667 citationsRead the paper
We present Segment Anything Model 2 (SAM 2), a foundation model towards solving promptable visual segmentation in images and videos. We build a data engine, which improves model and data via user interaction, to collect the largest video segmentation dataset to date. Our model is a simple transformer architecture with streaming memory for real-time video processing. SAM 2 trained on our data provides strong performance across a wide range of tasks. In video segmentation, we observe better accuracy, using 3x fewer interactions than prior approaches. In image segmentation, our model is more accurate and 6x faster than the Segment Anything Model (SAM). We believe that our data, model, and insights will serve as a significant milestone for video segmentation and related perception tasks. We are releasing our main model, dataset, as well as code for model training and our demo.
What the full text shows
Working prototype- SAM 2 is faster than the original SAM in image segmentation. — 6x faster (SAM 2 (Hiera-B+) vs. SAM (ViT-H))
- SAM 2 requires fewer user interactions for video segmentation compared to prior approaches. — 3x fewer interactions (Video segmentation tasks)
- The SA-V dataset contains significantly more masks than any existing VOS dataset. — 53x more masks (Including automatic annotations)
- SAM 2 (Hiera-L) achieves higher accuracy on the MOSE benchmark than prior state-of-the-art models. — 77.9 J&F vs. 71.7 J&F (Cutie-base+) (Semi-supervised VOS task)
- SAM 2 (Hiera-L) achieves higher accuracy on the DAVIS 2017 validation set. — 90.7 J&F vs. 88.1 J&F (Cutie-base+) (Semi-supervised VOS task)
- Setup
- Trained on 256 A100 GPUs for 108 hours; SA-V dataset consists of 50.9K videos and 642.6K masklets.
- How
- A transformer architecture with streaming memory for real-time video processing, trained on a new large-scale dataset (SA-V) and internal licensed data. It uses a data engine to iteratively improve the model and dataset through user interaction.
- Limitations
- Tendency to segment object parts (e.g., a person's arm) on the first click rather than the whole object · Performance may vary across demographic groups, requiring use-case specific fairness evaluation
Summarized by Gemma 4 from the open-access full text · 11 Nov 2026. Read it