Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Segment Anything

From Wikipedia, the free encyclopedia

Segment Anything is a series of open-source computer vision foundation models developed by Meta AI (formerly Facebook AI Research, and later Meta Superintelligence Labs) for image and video segmentation. The project was introduced in April 2023 with the Segment Anything Model (SAM), a promptable segmentation model trained on the SA-1B dataset of over 1.1 billion masks, and has since been extended by SAM 2 (2024), which unified image and video segmentation, and SAM 3 (2025), which added segmentation from natural-language concept prompts. The models are released under the Apache 2.0 license and have been widely adopted in research and industry, including medical imaging, earth observation, robotics, and content editing tools.[1][2][3]

Background

[edit]

Image segmentation—determining which pixels of an image belong to an object—had traditionally required models trained on task-specific datasets such as COCO, Cityscapes, or Pascal VOC, each with a fixed set of object categories. A model trained on one dataset generally failed to transfer to another. The Segment Anything project proposed to treat segmentation as a prompting problem, analogous to prompting in large language models: instead of classifying pixels into a closed vocabulary, the model produces a segmentation mask for whatever object the user indicates.[1][2]

SAM (2023)

[edit]

Meta AI released the Segment Anything Model (SAM) on April 5, 2023, together with the SA-1B dataset. SAM is promptable: given an image and a prompt—a foreground point, a bounding box, or a rough mask—it outputs a valid segmentation mask for the indicated object, even for objects and image distributions not seen during training (zero-shot transfer). Its architecture pairs a heavyweight Vision Transformer image encoder with a lightweight prompt encoder and mask decoder, so that the expensive image encoding is computed once and the model can then respond to many prompts cheaply.[1]

SAM 2 (2024)

[edit]

On July 29, 2024, Meta released SAM 2, which extended promptable segmentation to video. SAM 2 treats an image as a single-frame video, unifying image and video segmentation in one architecture. It replaced SAM's Vision Transformer encoder with a hierarchical Hiera backbone and added a streaming memory module—comprising a memory encoder, memory bank, and memory attention—that stores embeddings of past video frames so that objects can be tracked through occlusions. Frames are processed sequentially, enabling real-time operation: Meta reported approximately 44 frames per second on image segmentation.[4]

SAM 3 (2025)

[edit]

n November 19, 2025, Meta released SAM 3, which introduced Promptable Concept Segmentation (PCS): the model can detect, segment, and track all instances of a concept specified by a short noun phrase (such as "yellow school bus"), an example image, or a combination of both, in addition to the geometric prompts (points, boxes, masks) supported by earlier versions.[5]

References

[edit]
  1. 1 2 3 Kirillov, Alexander; Mintun, Eric; Ravi, Nikhila; Mao, Hanzi; Rolland, Chloe; Gustafson, Laura; Xiao, Tete; Whitehead, Spencer; Berg, Alexander C. (2023-04-05). "Segment Anything". arXiv:2304.02643 [cs.CV].
  2. 1 2 "Introducing Segment Anything: Working toward the first foundation model for image segmentation". meta.
  3. Sharma, Alkesh. "Facebook owner Meta introduces AI model that can identify objects in images". The National. Retrieved 2026-08-29.
  4. Ravi, Nikhila; Gabeur, Valentin; Hu, Yuan-Ting; Hu, Ronghang; Ryali, Chaitanya; Ma, Tengyu; Khedr, Haitham; Rädle, Roman; Rolland, Chloe (2024-10-28). "SAM 2: Segment Anything in Images and Videos". arXiv:2408.00714 [cs.CV].
  5. Carion, Nicolas; Gustafson, Laura; Hu, Yuan-Ting; Debnath, Shoubhik; Hu, Ronghang; Suris, Didac; Ryali, Chaitanya; Alwala, Kalyan Vasudev; Khedr, Haitham (2026-03-28). "SAM 3: Segment Anything with Concepts". arXiv:2511.16719 [cs.CV].