+6.69%
YOLOv3 achieved up to 6.69% AP improvement on MS COCO validation when trained with GIoU loss instead of MSE loss.
Research & Publications
CVPR 2019
Hamid Rezatofighi, Nathan Tsoi, JunYoung Gwak, Amir Sadeghian, Ian Reid, Silvio Savarese
2019
Hamid Rezatofighi, Nathan Tsoi, JunYoung Gwak, Amir Sadeghian, Ian Reid, Silvio Savarese
2019

This paper introduces Generalized Intersection over Union (GIoU), an extension of the widely used Intersection over Union (IoU) metric for object detection and bounding box regression.
Traditional IoU performs poorly when predicted and ground-truth boxes do not overlap because the metric becomes zero and provides no gradient for optimization. GIoU addresses this limitation by incorporating the smallest enclosing region around both boxes, enabling meaningful optimization even in non-overlapping cases.
The authors demonstrate that replacing standard regression losses with GIoU loss consistently improves performance across major object detection architectures including YOLOv3, Faster R-CNN, and Mask R-CNN on PASCAL VOC and MS COCO benchmarks.
“GIoU transformed bounding box regression by directly optimizing a localization metric that remains informative even when predictions and targets do not overlap.”
Editorial research summary
OrthoAI research content adaptation
YOLOv3 achieved up to 6.69% AP improvement on MS COCO validation when trained with GIoU loss instead of MSE loss.
Faster R-CNN achieved notable AP improvements on PASCAL VOC using GIoU-based bounding box regression.
Unlike IoU, GIoU provides meaningful values for non-overlapping boxes with a symmetric score range.
GIoU extends IoU by measuring not only overlap but also the normalized empty space between two bounding boxes using the smallest enclosing box.
This modification provides informative gradients even when bounding boxes do not intersect, solving one of the primary optimization limitations of IoU.

The authors derive an analytical formulation allowing GIoU to be directly used as a regression loss for axis-aligned bounding boxes.
Experiments replace traditional L1, smooth-L1, and MSE regression losses with GIoU loss in YOLOv3, Faster R-CNN, and Mask R-CNN training pipelines.

GIoU became one of the most influential localization losses in computer vision and serves as the foundation for later losses such as DIoU, CIoU, and EIoU.

CVPR 2021
Jianpeng Zhang, Yutong Xie, Yong Xia, Chunhua Shen

CVPR 2024 · IEEE/CVF Conference on Computer Vision and Pattern Recognition
Yutong Xie, Qi Chen, Sinuo Wang, Minh-Son To, Iris Lee, Ee Win Khoo, Kerolos Hendy, Daniel Koh, Yong Xia, Qi Wu