DEIM: DETR with Improved Matching for Fast Convergence

Shihua Huang, Zhichao Lu, Xiaodong Cun, Yongjun Yu, Xiao Zhou +1 more
2/9/2026

No official code found. Best implementation: Intellindust-AI-Lab/DEIM (1,568 stars, last commit 2026-03-24). 1 more below.

Abstract

We introduce DEIM, an innovative and efficient training framework designed to accelerate convergence in real-time object detection with Transformer-based architectures (DETR). To mitigate the sparse supervision inherent in one-to-one (O2O) matching in DETR models, DEIM employs a Dense O2O matching strategy. This approach increases the number of positive samples per image by incorporating additional targets, using standard data augmentation techniques. While Dense O2O matching speeds up convergence, it also introduces numerous low-quality matches that could affect performance. To address this, we propose the Matchability-Aware Loss (MAL), a novel loss function that optimizes matches across various quality levels, enhancing the effectiveness of Dense O2O. Extensive experiments on the COCO dataset validate the efficacy of DEIM. When integrated with RT-DETR and D-FINE, it consistently boosts performance while reducing training time by 50%. Notably, paired with RT-DETRv2, DEIM achieves 53.2% AP in a single day of training on an NVIDIA 4090 GPU. Additionally, DEIM-trained real-time models outperform leading real-time object detectors, with DEIM-D-FINE-L and DEIM-D-FINE-X achieving 54.7% and 56.5% AP at 124 and 78 FPS on an NVIDIA T4 GPU, respectively, without the need for additional data. We believe DEIM sets a new baseline for advancements in real-time object detection. Our code and pre-trained models are available at https://www.shihuahuang.cn/DEIM/.

View on arXivView PDF

Code Implementations(2)

[CVPR 2025] DEIM: DETR with Improved Matching for Fast Convergence

1,568200Shell, PythonNov 18, 20247 months agoNOASSERTION
dense-o2odetrmalobject-detectionreal-time-detector
abinader96/DEIMCommunity73%

[CVPR 2025] DEIM: DETR with Improved Matching for Fast Convergence

10Shell, PythonJul 29, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{huang2026deim,
  title  = {DEIM: DETR with Improved Matching for Fast Convergence},
  author = {Shihua Huang and Zhichao Lu and Xiaodong Cun and Yongjun Yu and Xiao Zhou and Xi Shen},
  year   = {2026},
  eprint = {2412.04234},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.04234},
  journal = {CVPR 2024 2024}
}

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/2412.04234.svg)](https://codeofpaper.com/paper/2412.04234)

Discussion