Nikhila Ravi, Valentin Gabeur, Yuan-Ting Hu, Ronghang Hu, Chaitanya Ryali, Tengyu Ma, Haitham Khedr, Roman Rädle, Chloe Rolland, Laura Gustafson, Eric Mintun, Junting Pan, Kalyan Vasudev Alwala, Nicolas Carion, Chao-yuan Wu, Ross Girshick, Piotr Dollár, Christoph Feichtenhofer
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.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Video | M$^3$-VOS | Average IOU | 69.5 | SAM 2 |
| Video | MOSE | J&F | 77.9 | SAM2 |
| Video | DAVIS 2017 (val) | J&F | 90.7 | SAM2 |
| Video | DAVIS 2017 (val) | Params(M) | 224.4 | SAM2 |
| Object Tracking | DiDi | Tracking quality | 0.649 | SAM2.1 |
| Object Tracking | VOT2022 | EAO | 0.692 | SAM2.1 |
| Video Object Segmentation | M$^3$-VOS | Average IOU | 69.5 | SAM 2 |
| Video Object Segmentation | MOSE | J&F | 77.9 | SAM2 |
| Video Object Segmentation | DAVIS 2017 (val) | J&F | 90.7 | SAM2 |
| Video Object Segmentation | DAVIS 2017 (val) | Params(M) | 224.4 | SAM2 |
| Semi-Supervised Video Object Segmentation | MOSE | J&F | 77.9 | SAM2 |
| Semi-Supervised Video Object Segmentation | DAVIS 2017 (val) | J&F | 90.7 | SAM2 |
| Semi-Supervised Video Object Segmentation | DAVIS 2017 (val) | Params(M) | 224.4 | SAM2 |
| Visual Object Tracking | DiDi | Tracking quality | 0.649 | SAM2.1 |
| Visual Object Tracking | VOT2022 | EAO | 0.692 | SAM2.1 |