Align-DETR: Enhancing End-to-end Object Detection with Aligned Loss

Zhi Cai, Songtao Liu, Guodong Wang, Zheng Ge, Xiangyu Zhang +1 more
4/15/2023
cs.CV

Official code: FelixCaae/AlignDETR (61 stars, Apache-2.0, last commit 2024-07-24).

Abstract

DETR has set up a simple end-to-end pipeline for object detection by formulating this task as a set prediction problem, showing promising potential. Despite its notable advancements, this paper identifies two key forms of misalignment within the model: classification-regression misalignment and cross-layer target misalignment. Both issues impede DETR's convergence and degrade its overall performance. To tackle both issues simultaneously, we introduce a novel loss function, termed as Align Loss, designed to resolve the discrepancy between the two tasks. Align Loss guides the optimization of DETR through a joint quality metric, strengthening the connection between classification and regression. Furthermore, it incorporates an exponential down-weighting term to facilitate a smooth transition from positive to negative samples. Align-DETR also employs many-to-one matching for supervision of intermediate layers, akin to the design of H-DETR, which enhances robustness against instability. We conducted extensive experiments, yielding highly competitive results. Notably, our method achieves a 49.3% (+0.6) AP on the H-DETR baseline with the ResNet-50 backbone. It also sets a new state-of-the-art performance, reaching 50.5% AP in the 1x setting and 51.7% AP in the 2x setting, surpassing several strong competitors. Our code is available at https://github.com/FelixCaae/AlignDETR.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[BMVC 2024] Official implementation of Align-DETR

615PythonApr 14, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{cai2023aligndetr,
  title  = {Align-DETR: Enhancing End-to-end Object Detection with Aligned Loss},
  author = {Zhi Cai and Songtao Liu and Guodong Wang and Zheng Ge and Xiangyu Zhang and Di Huang},
  year   = {2023},
  eprint = {2304.07527},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.07527v2}
}

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

Discussion