Wise-IoU: Bounding Box Regression Loss with Dynamic Focusing Mechanism

Zanjia Tong, Yuhang Chen, Zewei Xu, Rong Yu
1/24/2023
cs.CV

No official code found. Best implementation: Instinct323/Wise-IoU (103 stars, last commit 2024-01-03).

Abstract

The loss function for bounding box regression (BBR) is essential to object detection. Its good definition will bring significant performance improvement to the model. Most existing works assume that the examples in the training data are high-quality and focus on strengthening the fitting ability of BBR loss. If we blindly strengthen BBR on low-quality examples, it will jeopardize localization performance. Focal-EIoU v1 was proposed to solve this problem, but due to its static focusing mechanism (FM), the potential of non-monotonic FM was not fully exploited. Based on this idea, we propose an IoU-based loss with a dynamic non-monotonic FM named Wise-IoU (WIoU). The dynamic non-monotonic FM uses the outlier degree instead of IoU to evaluate the quality of anchor boxes and provides a wise gradient gain allocation strategy. This strategy reduces the competitiveness of high-quality anchor boxes while also reducing the harmful gradient generated by low-quality examples. This allows WIoU to focus on ordinary-quality anchor boxes and improve the detector's overall performance. When WIoU is applied to the state-of-the-art real-time detector YOLOv7, the AP-75 on the MS-COCO dataset is improved from 53.03% to 54.50%. Code is available at https://github.com/Instinct323/wiou.

View on arXivView PDF

Code Implementations(1)

Wise-IoU: Bounding Box Regression Loss with Dynamic Focusing Mechanism

1034PythonOct 23, 20222 years ago
object-detectionwise-iou

Cite this paper

@article{tong2023wiseiou,
  title  = {Wise-IoU: Bounding Box Regression Loss with Dynamic Focusing Mechanism},
  author = {Zanjia Tong and Yuhang Chen and Zewei Xu and Rong Yu},
  year   = {2023},
  eprint = {2301.10051},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.10051v3}
}

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

Discussion