Skip to main content
QUICK REVIEW

[Paper Review] IoU Loss for 2D/3D Object Detection

Dingfu Zhou, Jin Fang|arXiv (Cornell University)|Aug 11, 2019
Advanced Neural Network ApplicationsComputer Science27 references16 citations
TL;DR

This paper proposes a unified differentiable IoU loss layer for 2D and 3D object detection that generalizes to rotated bounding boxes, enabling end-to-end training with IoU as the optimization objective. It achieves consistent performance gains across multiple state-of-the-art 3D detectors on the KITTI benchmark, particularly at high IoU thresholds, by aligning training loss with the standard IoU evaluation metric.

ABSTRACT

In 2D/3D object detection task, Intersection-over-Union (IoU) has been widely employed as an evaluation metric to evaluate the performance of different detectors in the testing stage. However, during the training stage, the common distance loss (\eg, $L_1$ or $L_2$) is often adopted as the loss function to minimize the discrepancy between the predicted and ground truth Bounding Box (Bbox). To eliminate the performance gap between training and testing, the IoU loss has been introduced for 2D object detection in \cite{yu2016unitbox} and \cite{rezatofighi2019generalized}. Unfortunately, all these approaches only work for axis-aligned 2D Bboxes, which cannot be applied for more general object detection task with rotated Bboxes. To resolve this issue, we investigate the IoU computation for two rotated Bboxes first and then implement a unified framework, IoU loss layer for both 2D and 3D object detection tasks. By integrating the implemented IoU loss into several state-of-the-art 3D object detectors, consistent improvements have been achieved for both bird-eye-view 2D detection and point cloud 3D detection on the public KITTI benchmark.

Motivation & Objective

  • To close the performance gap between training (using L1/L2 loss) and evaluation (using IoU metric) in 2D/3D object detection.
  • To extend existing IoU loss methods, which only work for axis-aligned bounding boxes, to rotated and 3D bounding boxes.
  • To develop a unified, framework-independent IoU loss layer applicable to both 2D and 3D object detection tasks.
  • To validate the effectiveness of the proposed IoU loss on state-of-the-art 3D detectors using the public KITTI benchmark.

Proposed method

  • Derives a differentiable IoU computation for two rotated 2D bounding boxes using analytical geometry to compute intersection and union areas.
  • Extends the IoU computation to 3D bounding boxes with a single orientation degree of freedom, maintaining differentiability.
  • Proposes a unified differentiable IoU loss layer that integrates seamlessly into existing detection frameworks without architectural changes.
  • Employs backpropagation to compute gradients of the IoU loss with respect to predicted bounding box parameters, enabling end-to-end training.
  • Validates the method by integrating the IoU loss into multiple 3D detectors, including SECOND, PointPillars, and Point R-CNN, on the KITTI dataset.
  • Uses the standard KITTI 3D detection benchmark for evaluation, comparing mAP and AP@70 across different IoU thresholds.

Experimental results

Research questions

  • RQ1Can a differentiable IoU loss be formulated for rotated 2D and 3D bounding boxes to align training with IoU-based evaluation?
  • RQ2Does integrating the proposed IoU loss into existing 3D detectors lead to consistent performance improvements across different detection benchmarks?
  • RQ3How does the proposed IoU loss compare to L1 loss and other recent losses (e.g., GIoU) in terms of mAP and performance at high IoU thresholds?
  • RQ4Can the IoU loss be generalized to both one-stage and two-stage 3D detection frameworks?

Key findings

  • The proposed IoU loss achieved a 1.01% absolute improvement in mAP on the KITTI validation split for the SECOND detector, reaching 89.16% AP@70.
  • On the KITTI test split, the IoU loss improved the mAP for the SECOND baseline by 0.39% on the 'moderate' category and 0.86% on the 'hard' category.
  • The IoU loss outperformed both the original L1 loss and the GIoU loss on the PointRCNN two-stage detector, achieving 89.16% mAP on the validation set.
  • The method achieved state-of-the-art performance on the KITTI benchmark, surpassing multi-modal fusion and two-stage methods in the 'hard' category on the test split.
  • The improvement was most significant at high IoU thresholds, indicating better localization accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.