Skip to content

MARS: Segment Anything via Correspondence Matching

Yufei Deng, Youmin Zhang, Junchao Yuan, Chenyang Fu, Yuchen Wan, Rong Xiao, Fabio Tosi, Matteo Poggi

cs.CV

Abstract

Promptable segmentation tells a model where the target is but not what it looks like, so even correct point prompts can leak into the background or leave holes. We recast the task as correspondence matching and introduce MARS: each positive point becomes a visual prompt pairing its position with the image feature sampled there, and a ViT matches these prompts against the whole image before a DPT head decodes the mask. Trained on MARSET, a new dataset of high-resolution renders with pixel-accurate masks, MARS outperforms SAM and HQ-SAM in most settings, keeps improving as prompts are added, and transfers to specialized domains and one-shot segmentation.

Create a lesson

Metadata

Comments
Technical report. Demo available at https://mars.raw3d.xyz/. Project page: https://dyfffffer.github.io/mars/. Code: https://github.com/RawmanticAI/MARS1.0. Dataset: https://github.com/Rawmantic/Dataset3D