Papers › Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentation

Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentation

6 Jun 2022CVPR 2023 1arXiv:2206.02777archive 2025-07-28

Feng Li, Hao Zhang, Huaizhe xu, Shilong Liu, Lei Zhang, Lionel M. Ni, Heung-Yeung Shum

In this paper we present Mask DINO, a unified object detection and segmentation framework. Mask DINO extends DINO (DETR with Improved Denoising Anchor Boxes) by adding a mask prediction branch which supports all image segmentation tasks (instance, panoptic, and semantic). It makes use of the query embeddings from DINO to dot-product a high-resolution pixel embedding map to predict a set of binary masks. Some key components in DINO are extended for segmentation through a shared architecture and training process. Mask DINO is simple, efficient, and scalable, and it can benefit from joint large-scale detection and segmentation datasets. Our experiments show that Mask DINO significantly outperforms all existing specialized segmentation methods, both on a ResNet-50 backbone and a pre-trained model with SwinL backbone. Notably, Mask DINO establishes the best results to date on instance segmentation (54.5 AP on COCO), panoptic segmentation (59.4 PQ on COCO), and semantic segmentation (60.8 mIoU on ADE20K) among models under one billion parameters. Code is available at https://github.com/IDEACVR/MaskDINO.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

No sample from the archive's official repository (idea-research/maskdino) is linked to this paper; the 13 samples below come from 2 community repositories. Syntology harvested code from idea-research/maskdino for 2 other papers.

idea-research/maskdino: Syntology's graph links these samples to DN-DETR: Accelerate DETR Training by Introducing Query DeNoising (arXiv:2203.01305; that paper's own run record: 17 ran (of which 3 constructed an object rather than computing a result; 6 with no instrument failure: 0 honoured, 1 violated, 5 with no contract checked; 11 where Syntology's instrument failed) · 5 unverified) and CVF open access id Li_Mask_DINO_Towards_a_Unified_Transformer-Based_Framework_for_Object_Detection_CVPR_2023_paper (that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 6 where Syntology's instrument failed) · 2 unverified); nothing checks that they implement this paper's method.

Syntology 13 code samples harvested from 2 repositories linked to this paper: 11 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 1 violated, 1 with no contract checked; 9 where Syntology's instrument failed) · 2 unverified. Where Syntology's instrument failed: 3 where our contract draft was wrong; 6 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: community (archive-listed): 13 samples from 2 repositories, 11 ran (2 with no instrument failure; 9 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 5 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 3 of the 11 samples that ran have no recorded date.

idea-research/maskdino officialmentioned in papermentioned on GitHubpytorchApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to DN-DETR: Accelerate DETR Training by Introducing Query DeNoising (arXiv:2203.01305; that paper's own run record: 17 ran (of which 3 constructed an object rather than computing a result; 6 with no instrument failure: 0 honoured, 1 violated, 5 with no contract checked; 11 where Syntology's instrument failed) · 5 unverified) and CVF open access id Li_Mask_DINO_Towards_a_Unified_Transformer-Based_Framework_for_Object_Detection_CVPR_2023_paper (that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 6 where Syntology's instrument failed) · 2 unverified); nothing checks that they implement this paper's method. report
Expedit-LargeScale-Vision-Transformer/Expedit-DINO mentioned on GitHubpytorchApache-2.0Syntology: not harvested report
IDEA-opensource/DAB-DETR mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to DN-DETR: Accelerate DETR Training by Introducing Query DeNoising (arXiv:2203.01305; that paper's own run record: 17 ran (of which 3 constructed an object rather than computing a result; 6 with no instrument failure: 0 honoured, 1 violated, 5 with no contract checked; 11 where Syntology's instrument failed) · 5 unverified); nothing checks that they implement this paper's method. report
IDEA-opensource/DN-DETR mentioned on GitHubpytorchApache-2.0Syntology: 8 samples, 6 ran (5 instrument-failed) · 2 unverified report
IDEACVR/DINO mentioned on GitHubpytorchApache-2.0Syntology: 5 samples, 5 ran (4 instrument-failed) · 0 unverified report
idea-research/dab-detr mentioned on GitHubpytorchApache-2.0Syntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR (arXiv:2201.12329; that paper's own run record: 6 ran (of which 3 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 2 where Syntology's instrument failed) · 5 unverified); nothing checks that they implement this paper's method. report
idea-research/dn-detr mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR (arXiv:2201.12329; that paper's own run record: 6 ran (of which 3 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 2 where Syntology's instrument failed) · 5 unverified); nothing checks that they implement this paper's method. report
isbrycee/gem mentioned on GitHubpytorchSyntology: not harvested report
isbrycee/gem-glass-segmentor mentioned on GitHubpytorchSyntology: not harvested report
PaddlePaddle/PaddleDetection paddleSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to PP-YOLOE: An evolved version of YOLO (arXiv:2203.16250; that paper's own run record: 22 ran (of which 0 constructed an object rather than computing a result; 19 with no instrument failure: 2 honoured, 0 violated, 17 with no contract checked; 3 where Syntology's instrument failed) · 5 unverified); nothing checks that they implement this paper's method. 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.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

13 samples harvested: 11 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 1 violated, 1 with no contract checked; 9 where Syntology's instrument failed) · 2 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · violated contract
3ran · our draft was wrong
6ran; the contract check could not run
1ran
2unverified

Licence: 13 of the 13 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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

IDEA-opensource/DN-DETR community (archive-listed) 8 samples, 6 ran (5 instrument-failed) · 2 unverified
window_partition in 377 papers
census: 13 implementations from 17 papers, 5 distinct outputs across 3 buckets, one shared input per bucket
models/DN_DAB_DETR/swin_transformer.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · 144d10b49baeb8a6 · report fixture: signature x:Tensor/4/float, window_size:int/0/int · returned Tensor · level recorded, date not recorded
dice_loss in 193 papers
census: 10 implementations from 16 papers, 7 distinct outputs across 4 buckets, one shared input per bucket this sample: bucket 1 of 4, arg 1: rank 2, kind float, dtype float32 · arg 2: rank 2, kind float, dtype float32
models/DN_DAB_DETR/segmentation.py ran · violated contract fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · ac8fe530cdad4d8c · report fixture: signature inputs:Tensor/2/float, targets:Tensor/2/float, num_boxes:int/0/int · returned Tensor · level recorded 2026-09-22
dn_post_process in 15 papers models/DN_DAB_DETR/dn_components.py ran; the contract check could not run (RAISES) · metamorphic tier: deterministic Apache-2.0 recorded; this copy not marked cleared · pointer only · 9db6a2fdc3039d38 · report fixture: signature outputs_class:Tensor/4/float, outputs_coord:Tensor/4/float, mask_dict:dict/0/? · returned tuple · level recorded 2026-09-22
gen_sineembed_for_position in 29 papers models/DN_DAB_DETR/transformer.py ran; the contract check could not run (RAISES) fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · 1455637eb5d8b21d · report fixture: signature pos_tensor:Tensor/3/float · returned Tensor · level recorded 2026-09-22
sigmoid_focal_loss in 122 papers
census: 3 implementations from 9 papers, 2 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 1 of 2, arg 1: rank 2, kind float, dtype float32 · arg 2: rank 2, kind float, dtype float32
models/DN_DAB_DETR/DABDETR.py ran · our draft was wrong fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · 5c0711aada67957e · report fixture: signature inputs:Tensor/2/float, targets:Tensor/2/float, num_boxes:int/0/int, alpha:float/0/float, gamma:float/0/float · returned Tensor · level recorded, date not recorded
window_reverse in 296 papers models/DN_DAB_DETR/swin_transformer.py ran · our draft was wrong Apache-2.0 recorded; this copy not marked cleared · pointer only · 61bf152e6a42a184 · report fixture: signature windows:Tensor/4/float, window_size:int/0/int, H:int/0/int, W:int/0/int · returned Tensor · level recorded, date not recorded
build_swin_transformer models/DN_DAB_DETR/swin_transformer.py unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · ddbe621fd9f33a35 · report
multi_head_attention_forward in 73 papers models/DN_DAB_DETR/attention.py unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · a82091666b9db8cf · report
IDEACVR/DINO community (archive-listed) 5 samples, 5 ran (4 instrument-failed) · 0 unverified
dn_post_process in 15 papers models/dino/dn_components.py ran; the contract check could not run (RAISES) Apache-2.0 recorded; this copy not marked cleared · pointer only · dc279ea790da466f · report fixture: signature outputs_class:Tensor/4/float, outputs_coord:Tensor/4/float, dn_meta:dict/0/?, aux_loss:bool/0/bool, _set_aux_loss:callable/0/? · returned tuple · level recorded 2026-09-24
gen_encoder_output_proposals in 10 papers models/dino/utils.py ran Apache-2.0 recorded; this copy not marked cleared · pointer only · e3b2768e6a9c1cb5 · report fixture: signature memory:Tensor/3/float, memory_padding_mask:Tensor/2/bool, spatial_shapes:Tensor/2/int, learnedwh:Tensor/1/float · returned tuple · level recorded 2026-09-24
gen_sineembed_for_position in 29 papers models/dino/utils.py ran; the contract check could not run (RAISES) fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · 4c82654ae6131ecc · report fixture: signature pos_tensor:Tensor/3/float · returned Tensor · level recorded 2026-09-22
window_partition in 377 papers
census: 13 implementations from 17 papers, 5 distinct outputs across 3 buckets, one shared input per bucket
models/dino/swin_transformer.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · f9fd6241d935f07b · report fixture: signature x:Tensor/4/float, window_size:int/0/int · returned Tensor · level recorded 2026-09-22
window_reverse in 296 papers models/dino/swin_transformer.py ran · our draft was wrong Apache-2.0 recorded; this copy not marked cleared · pointer only · fb32094c6dbece71 · report fixture: signature windows:Tensor/4/float, window_size:int/0/int, H:int/0/int, W:int/0/int · returned Tensor · level recorded 2026-09-22

Tasks

Image SegmentationInstance SegmentationObject DetectionPanoptic SegmentationSegmentationSemantic Segmentation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Instance Segmentation COCO minival MasK DINO (SwinL, multi-scale) mask AP 54.5 #6 of 93 Archive leaderboard report
Instance Segmentation COCO minival Mask DINO (SwinL) mask AP 52.6 #12 of 93 Archive leaderboard report
Instance Segmentation COCO test-dev MasK DINO (SwinL, multi-scale) mask AP 54.7 #7 of 112 Archive leaderboard report
Instance Segmentation COCO test-dev Mask DINO (SwinL, single -scale) mask AP 52.8 #14 of 112 Archive leaderboard report
Panoptic Segmentation COCO minival MasK DINO (SwinL,single-scale) AP 50.9 #5 of 31 Archive leaderboard report
Panoptic Segmentation COCO minival MasK DINO (SwinL,single-scale) PQ 59.4 #5 of 31 Archive leaderboard report
Panoptic Segmentation COCO test-dev Mask DINO (single scale) PQ 59.5 #1 of 38 Archive leaderboard report
Panoptic Segmentation COCO test-dev Mask DINO (single scale) PQst - #1 of 38 Archive leaderboard report
Panoptic Segmentation COCO test-dev Mask DINO (single scale) PQth - #1 of 38 Archive leaderboard report
Semantic Segmentation ADE20K MasK DINO (SwinL, multi-scale) Params (M) 223 #11 of 235 Archive leaderboard report
Semantic Segmentation ADE20K MasK DINO (SwinL, multi-scale) Validation mIoU 60.8 #11 of 235 Archive leaderboard report
Semantic Segmentation ADE20K val MaskDINO-SwinL mIoU 60.8 #5 of 95 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

AttentionDense ConnectionsLayer NormalizationLinear LayerMulti-Head AttentionResidual ConnectionSoftmaxVision Transformer

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