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

DETRs with Collaborative Hybrid Assignments Training

About

In this paper, we provide the observation that too few queries assigned as positive samples in DETR with one-to-one set matching leads to sparse supervision on the encoder's output which considerably hurt the discriminative feature learning of the encoder and vice visa for attention learning in the decoder. To alleviate this, we present a novel collaborative hybrid assignments training scheme, namely $\mathcal{C}$o-DETR, to learn more efficient and effective DETR-based detectors from versatile label assignment manners. This new training scheme can easily enhance the encoder's learning ability in end-to-end detectors by training the multiple parallel auxiliary heads supervised by one-to-many label assignments such as ATSS and Faster RCNN. In addition, we conduct extra customized positive queries by extracting the positive coordinates from these auxiliary heads to improve the training efficiency of positive samples in the decoder. In inference, these auxiliary heads are discarded and thus our method introduces no additional parameters and computational cost to the original detector while requiring no hand-crafted non-maximum suppression (NMS). We conduct extensive experiments to evaluate the effectiveness of the proposed approach on DETR variants, including DAB-DETR, Deformable-DETR, and DINO-Deformable-DETR. The state-of-the-art DINO-Deformable-DETR with Swin-L can be improved from 58.5% to 59.5% AP on COCO val. Surprisingly, incorporated with ViT-L backbone, we achieve 66.0% AP on COCO test-dev and 67.9% AP on LVIS val, outperforming previous methods by clear margins with much fewer model sizes. Codes are available at \url{https://github.com/Sense-X/Co-DETR}.

Zhuofan Zong, Guanglu Song, Yu Liu• 2022

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)
AP64.4
2454
Object DetectionCOCO (test-dev)
mAP66
1195
Object DetectionCOCO (val)
mAP60.7
613
Object DetectionCOCO (minival)
mAP56.8
184
Object DetectionLVIS (val)
mAP67.9
141
Object DetectionLVIS (minival)
AP71.9
127
Object DetectionOCHuman (val)
mAP41.6
17
Object DetectionOCHuman (test)
mAP42.5
17
Object DetectionPerioXrays
AP49.9
13
Object DetectionCIHP (val)
AP73.5
7
Showing 10 of 15 rows

Other info

Code

Follow for update