Papers › SDMatte: Grafting Diffusion Models for Interactive Matting

SDMatte: Grafting Diffusion Models for Interactive Matting

1 Aug 2025ICCVarXiv:2508.00443added by Syntology

Longfei Huang, Yu Liang, Hao Zhang, Jinwei Chen, Wei Dong, Lunde Chen, Wanyu Liu, Bo Li, Peng-Tao Jiang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Recent interactive matting methods have shown satisfactory performance in capturing the primary regions of objects, but they fall short in extracting fine-grained details in edge regions. Diffusion models trained on billions of image-text pairs, demonstrate exceptional capability in modeling highly complex data distributions and synthesizing realistic texture details, while exhibiting robust text-driven interaction capabilities, making them an attractive solution for interactive matting. To this end, we propose SDMatte, a diffusion-driven interactive matting model, with three key contributions. First, we exploit the powerful priors of diffusion models and transform the text-driven interaction capability into visual prompt-driven interaction capability to enable interactive matting. Second, we integrate coordinate embeddings of visual prompts and opacity embeddings of target objects into U-Net, enhancing SDMatte's sensitivity to spatial position information and opacity information. Third, we propose a masked self-attention mechanism that enables the model to focus on areas specified by visual prompts, leading to better performance. Extensive experiments on multiple datasets demonstrate the superior performance of our method, validating its effectiveness in interactive matting. Our code and model are available at https://github.com/vivoCameraResearch/SDMatte.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2508.00443")

Code

Syntology Ran 0 of 11 code samples harvested from 1 repository linked to this paper; 11 have no recorded run.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

vivoCameraResearch/SDMatte found in paper text by SyntologyMIT report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 0 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

11unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from vivoCameraResearch/SDMatte. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_aux_conv_in vivoCameraResearch/SDMatte/utils/utils.py found in paper text by Syntology unverified MIT (permissive) · 589373b8cfdd39d7 · report
custom_get_attention_scores vivoCameraResearch/SDMatte/utils/replace.py found in paper text by Syntology unverified MIT (permissive) · 44239863af5276ee · report
custom_prepare_attention_mask vivoCameraResearch/SDMatte/utils/replace.py found in paper text by Syntology unverified MIT (permissive) · 07f2d45f03a56f84 · report
dgauss vivoCameraResearch/SDMatte/utils/evaluate.py found in paper text by Syntology unverified MIT (permissive) · c6daa9009470dd68 · report
gauss vivoCameraResearch/SDMatte/utils/evaluate.py found in paper text by Syntology unverified MIT (permissive) · b4085a9b496ef62d · report
gauss_kernel vivoCameraResearch/SDMatte/criterion.py found in paper text by Syntology unverified MIT (permissive) · b4991ebb886e5289 · report
gaussgradient vivoCameraResearch/SDMatte/utils/evaluate.py found in paper text by Syntology unverified MIT (permissive) · 38441a7c36e020f6 · report
get_unknown_tensor_from_pred vivoCameraResearch/SDMatte/utils/utils.py found in paper text by Syntology unverified MIT (permissive) · 763a4435e84627a8 · report
laplacian_loss vivoCameraResearch/SDMatte/criterion.py found in paper text by Syntology unverified MIT (permissive) · a3fadbcac00e9133 · report
laplacian_pyramid vivoCameraResearch/SDMatte/criterion.py found in paper text by Syntology unverified MIT (permissive) · 8a0b6d481e748e9d · report
replace_unet_conv_in vivoCameraResearch/SDMatte/utils/utils.py found in paper text by Syntology unverified MIT (permissive) · 91e5d642193c6016 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2508.00443, was issued in August 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections