Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regression

Hamid Rezatofighi, Nathan Tsoi, JunYoung Gwak, Amir Sadeghian, Ian Reid +1 more
2/25/2019
6,280 citations
cs.CVcs.AIcs.LG

No official code found. Best implementation: shjo-april/Tensorflow_GIoU (15 stars).

Abstract

Intersection over Union (IoU) is the most popular evaluation metric used in the object detection benchmarks. However, there is a gap between optimizing the commonly used distance losses for regressing the parameters of a bounding box and maximizing this metric value.

Show full abstract

The optimal objective for a metric is the metric itself. In the case of axis-aligned 2D bounding boxes, it can be shown that $IoU$ can be directly used as a regression loss. However, $IoU$ has a plateau making it infeasible to optimize in the case of non-overlapping bounding boxes. In this paper, we address the weaknesses of $IoU$ by introducing a generalized version as both a new loss and a new metric. By incorporating this generalized $IoU$ ($GIoU$) as a loss into the state-of-the art object detection frameworks, we show a consistent improvement on their performance using both the standard, $IoU$ based, and new, $GIoU$ based, performance measures on popular object detection benchmarks such as PASCAL VOC and MS COCO.

View on arXivView PDF

Code Implementations(1)

[Re-implementation] Generalized Intersection Over Union: A Metric and a Loss for Bounding Box Regression (CVPR2019)

153

Similar Papers

Cite this paper

@article{rezatofighi2019generalized,
  title  = {Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regression},
  author = {Hamid Rezatofighi and Nathan Tsoi and JunYoung Gwak and Amir Sadeghian and Ian Reid and Silvio Savarese},
  year   = {2019},
  eprint = {1902.09630},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.09630}
}

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

Discussion