Papers
arxiv:2612.01964

MySAM: Inverting Any Object Identity into the Prompt Space of SAM3

Published on Dec 1
· Submitted by
Bill Psomas
on Dec 2
Authors:
,
,
,

Abstract

MySAM personalizes segmentation by inverting a masked reference into prompt embeddings of frozen SAM3, using hard negatives from unlabeled images to distinguish object identity and achieving state-of-the-art results on a benchmark with look-alikes.

We address personalized segmentation, where given a single reference image with a masked object, the goal is to segment all objects sharing its identity in a new image, and nothing when it is absent. SAM3, the most capable segmentation foundation model, does not support this task since language cannot always describe what sets an object apart from its look-alikes. We show that the prompt space of SAM3, though trained with semantic supervision, can encode object identity. We introduce MySAM, which inverts the masked reference into prompt embeddings of a frozen SAM3, without additional pre-training on labeled object identities; optimization runs once per reference object, and each test image needs one forward pass. Augmented views of the reference alone are not enough to learn the discrimination of the object from its look-alikes. The key is hard but diverse negatives, retrieved from unlabeled images, which steer MySAM from the object's semantics to its identity. MySAM sets a new state of the art on the largest personalized segmentation benchmark to date, the first to include hard negatives, i.e. images with look-alikes present and the object absent.

Community

Paper submitter

MySAM: one photo, your object, in SAM3's prompt space.

Give MySAM a single masked photo of Pablo the dog. It inverts his identity into a few prompt tokens of a frozen SAM3, and then:

  • finds Pablo in new images, and ignores his look-alikes;
  • its tokens are local: one attends to his collar, another to his coat;
  • its tokens compose with words: add "tongue-out" and it finds only that Pablo.

WIthout fine-tuning SAM3, MySAM is the state of the art on the largest personalized segmentation benchmark, the first with hard negatives.

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2612.01964
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2612.01964 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2612.01964 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2612.01964 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.