Promptable segmentation (SAM-style)

Detection & segmentation · neural · 2023 · images · video

What it is

A huge image encoder with a prompt-conditioned mask decoder that segments anything you point at or box.

When to use it

Annotation tooling, zero-shot segmentation, and as a frozen preprocessing stage.

Caveats

It segments whatever the prompt points at but does not say what the object is, and an ambiguous prompt can return the part, the object or the group. Quality drops on fine structures, low-contrast images and specialised domains such as medical imaging, and the image encoder is heavy.

Key ideas

  • Takes points, boxes or masks as prompts and returns a mask for the indicated object
  • A heavy image encoder runs once; a light decoder answers each prompt quickly
  • Trained on a very large mask dataset, so it works zero-shot on new images
  • Returns several candidate masks when a prompt is ambiguous

Related architectures

Original paper

Segment Anything (2023, arXiv)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted