HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Dense Distinct Query for End-to-End Object Detection

Shilong Zhang Xinjiang Wang Jiaqi Wang Jiangmiao Pang Chengqi Lyu Wenwei Zhang Ping Luo Kai Chen

Dense Distinct Query for End-to-End Object Detection

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 CrowdHuman. 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 \url{https://github.com/jshilong/DDQ}.

Code Repositories

wokaikaixinxin/rqformer
pytorch
Mentioned in GitHub
jshilong/ddq
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
object-detection-on-crowdhuman-full-bodyDDQ R-CNN (R50)
AP: 93.5
Recall: 98.6
mMR: 40.4
object-detection-on-crowdhuman-full-bodyDDQ FCN (R50 One-Stage)
AP: 92.7
Recall: 98.2
mMR: 41.0
object-detection-on-crowdhuman-full-bodyDDQ DETR (R50)
AP: 93.8
Recall: 98.7
mMR: 39.7

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Dense Distinct Query for End-to-End Object Detection | Papers | HyperAI