Dense Distinct Query for End-to-End Object Detection

Shilong Zhang, Wang xinjiang, Jiaqi Wang, Jiangmiao Pang, Chengqi Lyu +3 more
2/14/2026

No official code found. Best implementation: jshilong/DDQ (266 stars, Apache-2.0, last commit 2023-05-24).

Abstract

One-to-one label assignment in object detection has successfully obviated the need for non-maximum suppression (NMS) as postprocessing and makes the pipeline end-to-end. However, it triggers a new dilemma as the widely used sparse queries cannot guarantee a high recall, while dense queries inevitably bring more similar queries and encounter optimization difficulties. As both sparse and dense queries are problematic, then what are the expected queries in end-to-end object detection? This paper shows that the solution should be Dense Distinct Queries (DDQ). Concretely, we first lay dense queries like traditional detectors and then select distinct ones for one-to-one assignments. DDQ blends the advantages of traditional and recent end-to-end detectors and significantly improves the performance of various detectors including FCN, R-CNN, and DETRs. Most impressively, DDQ-DETR achieves 52.1 AP on MS-COCO dataset within 12 epochs using a ResNet-50 backbone, outperforming all existing detectors in the same setting. DDQ also shares the benefit of end-to-end detectors in crowded scenes and achieves 93.8 AP on Crowd-Human. We hope DDQ can inspire researchers to consider the complementarity between traditional methods and end-to-end detectors. The source code can be found at https://github.com/jshilong/DDQ.

View on arXivView PDF

Code Implementations(1)

jshilong/DDQCommunity100%
Apache-2.0

(CVPR2023)Dense Distinct Query for End-to-End Object Detection

2666C, C++Jun 2, 20223 years agoApache-2.0
detrobject-detection

Similar Papers

Cite this paper

@article{zhang2026dense,
  title  = {Dense Distinct Query for End-to-End Object Detection},
  author = {Shilong Zhang and Wang xinjiang and Jiaqi Wang and Jiangmiao Pang and Chengqi Lyu and Wenwei Zhang and P. Luo and Kai Chen},
  year   = {2026},
  eprint = {2303.12776},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.12776},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.12776.svg)](https://codeofpaper.com/paper/2303.12776)

Discussion