# Focal and Efficient IOU Loss for Accurate Bounding Box Regression

arXiv: https://arxiv.org/abs/2101.08158 · HTML: https://mlsanity.com/paper/2101.08158/

## Key facts

- Cited by 57 papers in the map (data through 14 Oct 2026).
- Builds on 26 of its 33 references that are in the map.
- First posted on arXiv 20 Jan 2021.

## Builds on (most cited first, 26 of 26)

- [Microsoft COCO: Common Objects in Context](https://mlsanity.com/paper/1405.0312/) (2014)
- [Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks](https://mlsanity.com/paper/1506.01497/) (2015)
- [End-to-End Object Detection with Transformers](https://mlsanity.com/paper/2005.12872/) (2020)
- [Mask R-CNN](https://mlsanity.com/paper/1703.06870/) (2017)
- [You Only Look Once: Unified, Real-Time Object Detection](https://mlsanity.com/paper/1506.02640/) (2015)
- [SSD: Single Shot MultiBox Detector](https://mlsanity.com/paper/1512.02325/) (2015)
- [Fast R-CNN](https://mlsanity.com/paper/1504.08083/) (2015)
- [Rich feature hierarchies for accurate object detection and semantic segmentation](https://mlsanity.com/paper/1311.2524/) (2013)
- [Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regression](https://mlsanity.com/paper/1902.09630/) (2019)
- [Cascade R-CNN: Delving into High Quality Object Detection](https://mlsanity.com/paper/1712.00726/) (2017)
- [Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition](https://mlsanity.com/paper/1406.4729/) (2014)
- [Training Region-based Object Detectors with Online Hard Example Mining](https://mlsanity.com/paper/1604.03540/) (2016)
- [Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selection](https://mlsanity.com/paper/1912.02424/) (2019)
- [Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression](https://mlsanity.com/paper/1911.08287/) (2019)
- [Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection](https://mlsanity.com/paper/2006.04388/) (2020)
- [Libra R-CNN: Towards Balanced Learning for Object Detection](https://mlsanity.com/paper/1904.02701/) (2019)
- [UnitBox: An Advanced Object Detection Network](https://mlsanity.com/paper/1608.01471/) (2016)
- [Probabilistic Anchor Assignment with IoU Prediction for Object Detection](https://mlsanity.com/paper/2007.08103/) (2020)
- [Dynamic R-CNN: Towards High Quality Object Detection via Dynamic Training](https://mlsanity.com/paper/2004.06002/) (2020)
- [Rethinking Classification and Localization for Object Detection](https://mlsanity.com/paper/1904.06493/) (2019)
- [PIoU Loss: Towards Accurate Oriented Object Detection in Complex Environments](https://mlsanity.com/paper/2007.09584/) (2020)
- [Context R-CNN: Long Term Temporal Context for Per-Camera Object Detection](https://mlsanity.com/paper/1912.03538/) (2019)
- [A note on the triangle inequality for the Jaccard distance](https://mlsanity.com/paper/1612.02696/) (2016)
- [DR Loss: Improving Object Detection by Distributional Ranking](https://mlsanity.com/paper/1907.10156/) (2019)
- [AP-Loss for Accurate One-Stage Object Detection](https://mlsanity.com/paper/2008.07294/) (2020)
- [LocNet: Improving Localization Accuracy for Object Detection](https://mlsanity.com/paper/1511.07763/) (2015)

## Built on by (most cited first, 30 of 57)

- [Wise-IoU: Bounding Box Regression Loss with Dynamic Focusing Mechanism](https://mlsanity.com/paper/2301.10051/) (2023)
- [Gaussian Bounding Boxes and Probabilistic Intersection-over-Union for Object Detection](https://mlsanity.com/paper/2106.06072/) (2021)
- [Alpha-IoU: A Family of Power Intersection over Union Losses for Bounding Box Regression](https://mlsanity.com/paper/2110.13675/) (2021)
- [YOLO-FaceV2: A Scale and Occlusion Aware Face Detector](https://mlsanity.com/paper/2208.02019/) (2022)
- [ASF-YOLO: A Novel YOLO Model with Attentional Scale Sequence Fusion for Cell Instance Segmentation](https://mlsanity.com/paper/2312.06458/) (2023)
- [Boosting R-CNN: Reweighting R-CNN Samples by RPN's Error for Underwater Object Detection](https://mlsanity.com/paper/2206.13728/) (2022)
- [MPDIoU: A Loss for Efficient and Accurate Bounding Box Regression](https://mlsanity.com/paper/2307.07662/) (2023)
- [Inner-IoU: More Effective Intersection over Union Loss with Auxiliary Bounding Box](https://mlsanity.com/paper/2311.02877/) (2023)
- [Focaler-IoU: More Focused Intersection over Union Loss](https://mlsanity.com/paper/2401.10525/) (2024)
- [Lightweight Full-Convolutional Siamese Tracker](https://mlsanity.com/paper/2310.05392/) (2023)
- [Slim-neck by GSConv: A lightweight-design for real-time detector architectures](https://mlsanity.com/paper/2206.02424/) (2022)
- [BGF-YOLO: Enhanced YOLOv8 with Multiscale Attentional Feature Fusion for Brain Tumor Detection](https://mlsanity.com/paper/2309.12585/) (2023)
- [Illicit item detection in X-ray images for security applications](https://mlsanity.com/paper/2305.01936/) (2023)
- [Edge AI-Enabled Chicken Health Detection Based on Enhanced FCOS-Lite and Knowledge Distillation](https://mlsanity.com/paper/2407.09562/) (2024)
- [Student Classroom Behavior Detection based on Improved YOLOv7](https://mlsanity.com/paper/2306.03318/) (2023)
- [Shape-IoU: More Accurate Metric considering Bounding Box Shape and Scale](https://mlsanity.com/paper/2312.17663/) (2023)
- [DCDet: Dynamic Cross-based 3D Object Detector](https://mlsanity.com/paper/2401.07240/) (2024)
- [EC-IoU: Orienting Safety for Object Detectors via Ego-Centric Intersection-over-Union](https://mlsanity.com/paper/2403.15474/) (2024)
- [SFSORT: Scene Features-based Simple Online Real-Time Tracker](https://mlsanity.com/paper/2404.07553/) (2024)
- [Cycle-YOLO: A Efficient and Robust Framework for Pavement Damage Detection](https://mlsanity.com/paper/2405.17905/) (2024)
- [Self-Adaptive Gamma Context-Aware SSM-based Model for Metal Defect Detection](https://mlsanity.com/paper/2503.01234/) (2025)
- [Oriented Object Detection in Aerial Images Based on Area Ratio of Parallelogram](https://mlsanity.com/paper/2109.10187/) (2021)
- [Growing Instance Mask on Leaf](https://mlsanity.com/paper/2211.16738/) (2022)
- [Intersection over Union with smoothing for bounding box regression](https://mlsanity.com/paper/2303.15067/) (2023)
- [Unified-IoU: For High-Quality Object Detection](https://mlsanity.com/paper/2408.06636/) (2024)
- [PK-YOLO: Pretrained Knowledge Guided YOLO for Brain Tumor Detection in Multiplanar MRI Slices](https://mlsanity.com/paper/2410.21822/) (2024)
- [LAM-YOLO: Drones-based Small Object Detection on Lighting-Occlusion Attention Mechanism YOLO](https://mlsanity.com/paper/2411.00485/) (2024)
- [Task-based Loss Functions in Computer Vision: A Comprehensive Review](https://mlsanity.com/paper/2504.04242/) (2025)
- [OG-HFYOLO :Orientation gradient guidance and heterogeneous feature fusion for deformation table cell instance segmentation](https://mlsanity.com/paper/2504.20682/) (2025)
- [InterpIoU: Rethinking Bounding Box Regression with Interpolation-Based IoU Optimization](https://mlsanity.com/paper/2507.12420/) (2025)

## Abstract (arXiv)

In object detection, bounding box regression (BBR) is a crucial step that determines the object localization performance. However, we find that most previous loss functions for BBR have two main drawbacks: (i) Both ℓn-norm and IOU-based loss functions are inefficient to depict the objective of BBR, which leads to slow convergence and inaccurate regression results. (ii) Most of the loss functions ignore the imbalance problem in BBR that the large number of anchor boxes which have small overlaps with the target boxes contribute most to the optimization of BBR. To mitigate the adverse effects caused thereby, we perform thorough studies to exploit the potential of BBR losses in this paper. Firstly, an Efficient Intersection over Union (EIOU) loss is proposed, which explicitly measures the discrepancies of three geometric factors in BBR, i.e., the overlap area, the central point and the side length. After that, we state the Effective Example Mining (EEM) problem and propose a regression version of focal loss to make the regression process focus on high-quality anchor boxes. Finally, the above two parts are combined to obtain a new loss function, namely Focal-EIOU loss. Extensive experiments on both synthetic and real datasets are performed. Notable superiorities on both the convergence speed and the localization accuracy can be achieved over other BBR losses.
