atlas

Research map / Detection and segmentation / CNN features

DETRs Beat YOLOs on Real-time Object Detection

CVPR 2024 · Detection and segmentation › CNN features · approach: Efficient DETR query design · 4,429 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RT-DETR, the first real-time end-to-end DETR-style detector, using an efficient hybrid encoder and uncertainty-minimal query selection to beat YOLO detectors in both speed and COCO accuracy without NMS.

Problem

Real-time object detectors (YOLOs) need NMS post-processing that slows inference and adds hyperparameters, while end-to-end DETRs are too computationally expensive for real-time use.

Approach

Redesigns the DETR encoder by decoupling intra-scale interaction (attention only on S5) from cross-scale fusion (CNN-based CCFF), and selects initial decoder queries by minimizing an uncertainty term coupling classification and localization scores, so the detector runs NMS-free at real-time speed and supports speed tuning by dropping decoder layers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the multi-scale Transformer encoder with the efficient hybrid encoder (ablation)RT-DETR encoder · COCO val2017, 1× configurationAP: 46.4 -> 47.9Helped
Decouple intra-scale interaction and cross-scale fusion (ablation)Variant C · COCO val2017, 1× configurationAP: 45.6 -> 46.4Helped
Perform intra-scale interaction only on S5 (ablation)Variant D · COCO val2017, 1× configurationAP: 46.4 -> 46.8Helped
Perform intra-scale interaction only on S5 (ablation)Variant D · COCO val2017, 1× configurationLatency: 12.2 -> 7.9Helped
Add a single-scale Transformer encoder (ablation)Variant A · COCO val2017, 1× configurationAP: 43.0 -> 44.9Helped
Add cross-scale feature fusion and multi-scale Transformer interaction (ablation)Variant B · COCO val2017, 1× configurationAP: 44.9 -> 45.6Helped
Use uncertainty-minimal instead of vanilla query selection (ablation)RT-DETR-R50 · COCO val2017, 1× configurationAP: 47.9% AP vs 48.7% APHelped
Use decoder layer 5 rather than layer 6 for inference (ablation)RT-DETR-R50-Det6 · COCO val2017, 6× configurationAP: 53.1% AP vs 53.0% APHurt
Use decoder layer 5 rather than layer 6 for inference (ablation)RT-DETR-R50-Det6 · COCO val2017, 6× configurationLatency: 9.3 ms vs 8.8 msHelped
Increase the NMS confidence thresholdYOLOv8 · COCO val2017AP: 52.9 -> 52.4 -> 51.2Hurt
Increase the NMS confidence thresholdYOLOv8 · COCO val2017NMS time: 2.36 -> 1.73 -> 1.06Helped
Pre-train with Objects365RT-DETR-R50 · COCOAP: 53.1% -> 55.3%Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO train2017 Objects365

Benchmarks: COCO val2017

Metrics: AP AP50 AP75 APS APM APL FPS (T4 TensorRT FP16) latency (ms) parameters GFLOPs

Baselines: YOLOv5 YOLOv6 YOLOv7 YOLOv8 PP-YOLOE DINO-Deformable-DETR Deformable-DETR DAB-Deformable-DETR DN-Deformable-DETR Conditional-DETR

Builds on: DETR Deformable-DETR DINO PANet RepVGG

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy