atlas

Research map / Detection and segmentation / Open-set and few-shot detection

Unifying Automatic and Interactive Matting with Pretrained ViTs

CVPR 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Object-level representation learning · 9 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Smart Matting (SMat), a single pretrained-ViT model that unifies automatic and interactive image matting via a candidate-feature mechanism (class token or prompt average feature) that produces a probabilistic similarity map guiding alpha matte decoding.

Problem

Automatic matting lacks instance completeness guidance and detail focus, while interactive matting relies on prompts and over-relies on binary SAM masks; existing systems also require switching between separate models for the two settings.

Approach

Use an adaptable candidate feature—the ViT class token when no prompt is given, or the mask-average prompt feature otherwise—updated via cross-attention with image features to form a cosine similarity map as probabilistic guidance, decoded to alpha by a lightweight ViTMatte-style decoder; plus a foreground duplication training strategy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use the class token rather than a random embedding as automatic saliency guidance (ablation)SMat automatic mode · AIM-500SAD: 413.86 -> 34.30Helped
use the class token rather than a learnable embedding as automatic saliency guidance (ablation)SMat automatic mode · AIM-500SAD: 36.62 -> 34.30Helped
replace binary similarity guidance with probabilistic similarity guidance (ablation)SMat interactive mode · RefMatte-RW100SAD: 231.28 -> 44.18Helped
update the candidate feature with cross-attention (ablation)SMat interactive mode · RefMatte-RW100SAD: 44.18 -> 36.37Helped
add foreground duplication (ablation)SMat interactive mode · RefMatte-RW100MSE: 0.0210 -> 0.0172Helped
train with mixed automatic and interactive samples instead of automatic-only training (ablation)SMat · AIM-500SAD: 35.32 -> 34.30Helped
train with mixed automatic and interactive samples instead of interactive-only training (ablation)SMat · RefMatte-RW100MSE: 0.2042 -> 0.0172Helped
use SMat rather than AIM for automatic mattingautomatic natural image matting · AIM-500SAD: 48.09 -> 34.30Helped
use SMat rather than MAM for interactive mattinginteractive matting · RefMatte-RW100SAD: 29.23 -> 25.60Helped

Surprising findings

Limitations

Experimental setup

Datasets: Distinction-646 AM-2k Composition-1k DUTS RefMatte

Benchmarks: AIM-500 RefMatte-RW100 AM-2k P3M-500-NP RWP-636

Metrics: SAD MSE MAD Grad Conn

Baselines: AIM GFM HATT LF MatAny MAM PPM PPM-ViTAE

Builds on: ViTMatte DINOv2 AIM MAM SAM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy