1/20
Vocabulary practice flashcards covering the key concepts, modules, equations, figures, and benchmark metrics of RT-DETR.
RT-DETR (Real-Time DEtection TRansformer)
The first real-time end-to-end object detector based on Transformer architecture that matches or surpasses YOLO models in both speed and accuracy while eliminating the need for NMS post-processing.
Non-Maximum Suppression (NMS)
A heuristic post-processing algorithm used in YOLO detectors to filter out redundant overlapping bounding boxes, which introduces hyperparameter sensitivity and inference latency bottlenecks.

Box Filtering Sensitivity in NMS
The characteristic observed in YOLO models where lowering the confidence threshold from 0.25 to 0.001 causes remaining candidate boxes to explode (over 9000 for YOLOv5 and over 3500 for YOLOv8), significantly increasing NMS execution time.
End-to-end Speed Benchmark
A standardized benchmarking method conducted on COCO val2017 using TensorRT FP16 on an NVIDIA T4 GPU that evaluates detector runtime by including NMS post-processing execution time while excluding I/O and MemoryCopy operations.
Efficient Hybrid Encoder
An encoder architecture designed for RT-DETR that eliminates multi-scale computational bottlenecks by decoupling intra-scale feature interaction and cross-scale feature fusion.

Hybrid Encoder Structural Variants (A through E)
A series of ablation structures proving that decoupling intra-scale interaction (SSE) and cross-scale fusion (CSF) into separate Attention-based (AIFI) and CNN-based (CCFF) modules reduces latency by 24% while increasing AP by 1.5% compared to coupled variants.
Attention-based Intra-scale Feature Interaction (AIFI)
A component in the hybrid encoder that applies single-scale Transformer self-attention exclusively to high-level features (S5) because high-level features contain rich semantic concepts, avoiding unnecessary computational redundancy on lower-level features.
CNN-based Cross-scale Feature Fusion (CCFF)
A module in RT-DETR's hybrid encoder that optimizes cross-scale feature integration by inserting convolutional fusion blocks composed of 1×1 convolutions and RepBlocks along the fusion path.

CCFF Fusion Block
A structural block within CCFF containing two branches with 1×1 convolutions, one equipped with N RepBlocks, whose outputs are combined via element-wise addition before flattening.
Uncertainty-minimal Query Selection
A query initialization method that explicitly models epistemic uncertainty as the discrepancy between classification and localization prediction distributions, selecting features with minimal uncertainty as decoder initial queries.
Feature Uncertainty (U(X^))
A metric formulated as U(X^)=∥P(X^)−C(X^)∥, where P and C denote the predicted localization and classification distributions for encoder feature X^, integrated into the training loss function.

Query Quality Distribution Comparison
A distribution visualization demonstrating that uncertainty-minimal query selection produces 120% more high-quality queries with both classification and IoU scores above 0.5 (concentrated in the top right) compared to vanilla query selection.
Flexible Speed Tuning
An operational capability in RT-DETR allowing users to trade small amounts of accuracy for higher inference speed by simply reducing the number of active decoder layers during inference without retraining.
Bipartite Matching
A direct set-prediction assignment algorithm used by DETR models that forces a one-to-one match between ground truth objects and model predictions, naturally eliminating duplicated boxes and the need for NMS.
RT-DETR-R50
The ResNet-50 backed RT-DETR model achieving 53.1% AP on COCO val2017 and 108 FPS on a T4 GPU, outperforming DINO-Deformable-DETR-R50 by 2.2% AP in accuracy and approximately 21× in FPS.
RT-DETR-R101
The ResNet-101 backed RT-DETR model achieving 54.3% AP on COCO val2017 and 74 FPS on a T4 GPU, exceeding comparable large/extra-large real-time detectors.
Scaled RT-DETR
Variants of RT-DETR constructed with smaller backbones (ResNet-18, ResNet-34) and halved RepBlock channel widths that outperform small (S) and medium (M) YOLO models in both speed and accuracy.
Objects365 Pre-training
A large-scale pre-training phase for 12 epochs on the Objects365 dataset that elevates fine-tuned COCO val2017 AP by 2.7% on RT-DETR-R18, 2.2% on RT-DETR-R50 (55.3% AP), and 1.9% on RT-DETR-R101 (56.2% AP).
Small Object Detection Limitation
A known limitation in RT-DETR where performance on small objects (APS) remains slightly inferior to advanced YOLO detectors (0.5% lower than YOLOv8-L and 0.9% lower than YOLOv7-X).

RT-DETR Overall Architecture
The complete network layout comprising a CNN backbone extracting stages {S3,S4,S5}, an Efficient Hybrid Encoder (AIFI and CCFF), Uncertainty-minimal Query Selection, and a Transformer Decoder with auxiliary prediction heads.

End-to-end Latency vs. COCO AP Trade-off
The Pareto-optimal trade-off frontier illustrating RT-DETR models consistently operating above and to the left of YOLOv5, PP-YOLOE, YOLOv6, YOLOv7, and YOLOv8 on the MS COCO dataset under TensorRT FP16 on a T4 GPU.