RF-DETR: A SOTA Real-Time Object Detection Model
We are introducing RF-DETR, a state-of-the-art real-time object detection model. RF-DETR outperforms all existing object detection models on real world datasets and is the first real-time model to achieve 60+ mean Average Precision when benchmarked on the COCO dataset. RF-DETR is available under an open source Apache 2.0 license.

RF-DETR is the first realtime model to achieve 60+ mAP on COCO. Performance is comparable to current state-of-the-art at lower latencies.
Introduction to RF-DETR
RF-DETR is a real-time object detection transformer-based architecture designed to transfer well to both a wide variety of domains and to datasets big and small. As such, RF-DETR is in the "DETR" (detection transformers) family of models. It is developed for projects that need a model that can run at high speeds with a high degree of accuracy, often on limited compute (like on the edge or low latency).
Today, two model sizes are being introduced: RF-DETR-base (29M parameters) and RF-DETR-large (128M parameters).
Model Performance and Benchmarks
Object detection models face a mini crisis in evaluation. Common Objects in Context (COCO), a canonical 163k image benchmark from Microsoft first introduced in 2014, hasn't been updated since 2017. At the same time, models have gotten really good – and used in contexts well beyond 'common objects.' New state-of-the-art models often increase COCO mAP by fractions of a percent while reaching for other datasets (LVIS, Objects365) to demonstrate generalizability.
RF-DETR is evaluated relative to realtime COCO SOTA transformer models (D-FINE, LW-DETR) and SOTA YOLO CNN architectures (YOLO11, YOLOv8). With respect to these parameters, RF-DETR is the only model ranked #1 or #2 in all categories.
On COCO specifically, RF-DETR is strictly Pareto optimal relative to YOLO models and competitive with respect to realtime transformer-based models. However, by using RF-DETR-large and a 728 input resolution, RF-DETR achieves the highest mAP (60.5) for any realtime model.
RF-DETR Architecture Overview
Historically, CNN-based YOLO models have given the best accuracy for real-time object detectors. CNNs continue to be a core component of many of the best approaches in computer vision, e.g. D-FINE leverages both CNNs and transformers in its approach.
CNNs alone do not benefit as strongly from large scale pre-training like transformer-based approaches do and may be less accurate or converge more slowly. In many other subfields of machine learning, from image classification to LLMs, pre-training is more and more essential to achieving strong results. Therefore, an object detector that shows strong benefit from pre-training is likely to lead to better object detection results.
Key Architectural Innovations
DINOv2 Backbone: RF-DETR combines LW-DETR with a pre-trained DINOv2 backbone, giving exceptional ability to adapt to novel domains
Multi-Resolution Training: Trained at multiple resolutions to allow runtime tradeoffs between accuracy and latency without retraining
Deformable DETR Foundation: Uses architecture based on Deformable DETR but with single-scale feature maps from the backbone
RF-DETR uses an architecture based on the foundations set out in the Deformable DETR paper. Whereas Deformable DETR uses a multi-scale self-attention mechanism, RF-DETR extracts image feature maps from a single-scale backbone.
How to Use RF-DETR
RF-DETR is being released with a pre-trained checkpoint trained on the Microsoft COCO dataset. This checkpoint can be used with transfer learning to fine-tune an RF-DETR model with a custom dataset.
Python Package
RF-DETR can be fine-tuned using the rfdetr Python package with a dedicated Colab notebook that walks through training on custom datasets.
Platform Integration
Support for training RF-DETR models on platforms with custom checkpoints that yield stronger performance than the base COCO-based checkpoint.
Potential Applications
Autonomous Vehicles
Real-time detection of pedestrians, vehicles, and obstacles with high accuracy and low latency.
Industrial Automation
Quality control and defect detection in manufacturing with exceptional domain adaptability.
Aerial Imagery
Object detection in drone and satellite imagery for agriculture, urban planning, and disaster response.
Medical Imaging
Detection of anomalies in medical scans with high precision, even with limited training data.
Conclusion
RF-DETR represents a significant advancement in real-time object detection, being the first model to achieve 60+ mAP on COCO while maintaining real-time performance. Its architecture combines the best of modern DETRs with the best of modern pre-training, resulting in exceptional ability to adapt to novel domains.
The release of RF-DETR under an open source Apache 2.0 license makes this cutting-edge technology accessible to researchers and developers worldwide, enabling new applications and further advancements in the field of computer vision.