Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DEIM: DETR with Improved Matching for Fast Convergence

About

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://github.com/ShihuaHuang95/DEIM.

Shihua Huang, Zhichao Lu, Xiaodong Cun, Yongjun Yu, Xiao Zhou, Xi Shen• 2024

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)
AP56.5
2643
Object DetectionVisDrone (val)
AP5047.7
88
Object DetectionThyroid II
AP@0.5 (BN)89.8
19
Object DetectionThyroid I (test)
AP@0.5 (BN)0.847
19
Object DetectionTN3K
AP46.7
19
Object DetectionBUSI
AP@0.5 (BN)67.2
19
Object DetectionCODrone (val)
AP17.2
13
Object DetectionHRSID (test)
mAP5092
11
Object DetectionSAR-Ship Dataset
mAP5097.6
10
2D Object DetectionDSERT-RoLL
Detection Score (Clear)81.85
10
Showing 10 of 11 rows

Other info

Code

Follow for update