Papers › DiffusionInst: Diffusion Model for Instance Segmentation

DiffusionInst: Diffusion Model for Instance Segmentation

6 Dec 2022arXiv:2212.02773archive 2025-07-28

Zhangxuan Gu, Haoxing Chen, Zhuoer Xu, Jun Lan, Changhua Meng, Weiqiang Wang

Diffusion frameworks have achieved comparable performance with previous state-of-the-art image generation models. Researchers are curious about its variants in discriminative tasks because of its powerful noise-to-image denoising pipeline. This paper proposes DiffusionInst, a novel framework that represents instances as instance-aware filters and formulates instance segmentation as a noise-to-filter denoising process. The model is trained to reverse the noisy groundtruth without any inductive bias from RPN. During inference, it takes a randomly generated filter as input and outputs mask in one-step or multi-step denoising. Extensive experimental results on COCO and LVIS show that DiffusionInst achieves competitive performance compared to existing instance segmentation models with various backbones, such as ResNet and Swin Transformers. We hope our work could serve as a strong baseline, which could inspire designing more efficient diffusion frameworks for challenging discriminative tasks. Our code is available in https://github.com/chenhaoxing/DiffusionInst.

PaperPDFCodeCode Syntology ran

In Syntology 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="2212.02773")

Code

Syntology Ran 11 of 16 code samples harvested from 2 repositories linked to this paper; 5 have no recorded run. Of those that ran: 3 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 0 ran; community (archive-listed): 15 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

chenhaoxing/DiffusionInst officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
alipay/diffusion-model-for-instance-segmentation mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

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

3ran · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
5ran
5unverified

Licence: 0 of the 16 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

plot_precision_recall chenhaoxing/DiffusionInst/diffusioninst/util/plot_utils.py official repository unverified Apache-2.0 (permissive) · fe699ae8220daf07 · report
aligned_bilinear alipay/diffusion-model-for-instance-segmentation/diffusioninst/detector.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 29dbbaafa4be18e1 · report
all_gather alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/misc.py community (archive-listed) ran Apache-2.0 (permissive) · aa6da43d05cfaf65 · report
box_cxcywh_to_xyxy alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/box_ops.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · e0a06ded5d4f6c3c · report
box_iou alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/box_ops.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · ce749f837424dd8c · report
box_xyxy_to_cxcywh alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/box_ops.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 031b02fb990284ba · report
collate_fn alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/misc.py community (archive-listed) ran Apache-2.0 (permissive) · 3f82133185c8bcb4 · report
colormap alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/colormap.py community (archive-listed) ran Apache-2.0 (permissive) · 8e8107f647130237 · report
get_model_ema_state alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/model_ema.py community (archive-listed) ran Apache-2.0 (permissive) · d5c3a7cf666001a1 · report
reduce_dict alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/misc.py community (archive-listed) ran Apache-2.0 (permissive) · 05992505df9ef0cd · report
window_partition alipay/diffusion-model-for-instance-segmentation/diffusioninst/swintransformer.py community (archive-listed) ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · f9fd6241d935f07b · report
window_reverse alipay/diffusion-model-for-instance-segmentation/diffusioninst/swintransformer.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · fb32094c6dbece71 · report
apply_model_ema alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/model_ema.py community (archive-listed) unverified Apache-2.0 (permissive) · 4c1065395ab68be4 · report
dice_coefficient alipay/diffusion-model-for-instance-segmentation/diffusioninst/loss.py community (archive-listed) unverified Apache-2.0 (permissive) · 250948d3a9b051a5 · report
may_get_ema_checkpointer alipay/diffusion-model-for-instance-segmentation/diffusioninst/util/model_ema.py community (archive-listed) unverified Apache-2.0 (permissive) · 1e00541b5a150708 · report
parse_dynamic_params alipay/diffusion-model-for-instance-segmentation/diffusioninst/loss.py community (archive-listed) unverified Apache-2.0 (permissive) · 0aa3aa3d68d26355 · report

Tasks

DenoisingInstance SegmentationSegmentationmodel

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Instance Segmentation COCO test-dev DiffusionInst-SwinL mask AP 48.3 #30 of 112 Archive leaderboard report
Instance Segmentation COCO test-dev DiffusionInst-SwinB mask AP 47.6 #32 of 112 Archive leaderboard report
Instance Segmentation COCO test-dev DiffusionInst-ResNet101 mask AP 41.5 #61 of 112 Archive leaderboard report
Instance Segmentation COCO test-dev DiffusionInst-ResNet50 mask AP 37.1 #94 of 112 Archive leaderboard report
Instance Segmentation LVIS v1.0 val DiffusionInst-SwinL mask AP 38.6 #9 of 25 Archive leaderboard report
Instance Segmentation LVIS v1.0 val DiffusionInst-SwinB mask AP 36 #12 of 25 Archive leaderboard report
Instance Segmentation LVIS v1.0 val DiffusionInst-ResNet101 mask AP 27 #22 of 25 Archive leaderboard report
Instance Segmentation LVIS v1.0 val DiffusionInst-ResNet50 mask AP 22.3 #25 of 25 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionDiffusionGlobal Average PoolingKaiming InitializationMax PoolingRPNReLUResidual BlockResidual Connection

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