Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression

Zhaohui Zheng, Ping Wang, Wei Liu, Jinze Li, Rongguang Ye +1 more
11/19/2019
cs.CV

Official code: Zzh-tju/DIoU (319 stars, last commit 2023-12-31).

Abstract

Bounding box regression is the crucial step in object detection. In existing methods, while $\ell_n$-norm loss is widely adopted for bounding box regression, it is not tailored to the evaluation metric, i.e., Intersection over Union (IoU). Recently, IoU loss and generalized IoU (GIoU) loss have been proposed to benefit the IoU metric, but still suffer from the problems of slow convergence and inaccurate regression. In this paper, we propose a Distance-IoU (DIoU) loss by incorporating the normalized distance between the predicted box and the target box, which converges much faster in training than IoU and GIoU losses. Furthermore, this paper summarizes three geometric factors in bounding box regression, \ie, overlap area, central point distance and aspect ratio, based on which a Complete IoU (CIoU) loss is proposed, thereby leading to faster convergence and better performance. By incorporating DIoU and CIoU losses into state-of-the-art object detection algorithms, e.g., YOLO v3, SSD and Faster RCNN, we achieve notable performance gains in terms of not only IoU metric but also GIoU metric. Moreover, DIoU can be easily adopted into non-maximum suppression (NMS) to act as the criterion, further boosting performance improvement. The source code and trained models are available at https://github.com/Zzh-tju/DIoU.

View on arXivView PDF

Code Implementations(1)

Zzh-tju/DIoUOfficial100%

Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression (AAAI 2020)

31949M, MATLABNov 18, 20192 years ago

Cite this paper

@article{zheng2019distanceiou,
  title  = {Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression},
  author = {Zhaohui Zheng and Ping Wang and Wei Liu and Jinze Li and Rongguang Ye and Dongwei Ren},
  year   = {2019},
  eprint = {1911.08287},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.08287}
}

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

Discussion