Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

DETRs with Hybrid Matching

About

One-to-one set matching is a key design for DETR to establish its end-to-end capability, so that object detection does not require a hand-crafted NMS (non-maximum suppression) to remove duplicate detections. This end-to-end signature is important for the versatility of DETR, and it has been generalized to broader vision tasks. However, we note that there are few queries assigned as positive samples and the one-to-one set matching significantly reduces the training efficacy of positive samples. We propose a simple yet effective method based on a hybrid matching scheme that combines the original one-to-one matching branch with an auxiliary one-to-many matching branch during training. Our hybrid strategy has been shown to significantly improve accuracy. In inference, only the original one-to-one match branch is used, thus maintaining the end-to-end merit and the same inference efficiency of DETR. The method is named H-DETR, and it shows that a wide range of representative DETR methods can be consistently improved across a wide range of visual tasks, including DeformableDETR, PETRv2, PETR, and TransTrack, among others. The code is available at: https://github.com/HDETR

Ding Jia, Yuhui Yuan, Haodi He, Xiaopei Wu, Haojun Yu, Weihong Lin, Lei Sun, Chao Zhang, Han Hu• 2022

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)
AP56.1
2454
Object DetectionCOCO (test-dev)
mAP58.3
1195
Object DetectionCOCO (val)
mAP59.4
613
Object DetectionCOCO (minival)
mAP50
184
Object DetectionLVIS (val)
mAP47.9
141
Object DetectionCSD
AP53
17
Object DetectionESD
AP41.9
13
Object DetectionMSSD
AP46.9
12
Object DetectionLVIS v1
APr22.2
9
Object DetectionCSD (test)
AP (IoU 0.50:0.95)53
7
Showing 10 of 11 rows

Other info

Code

Follow for update