[Paper Review] Generalized Focal Loss V2: Learning Reliable Localization Quality Estimation for Dense Object Detection
This paper proposes GFLV2, a novel dense object detection framework that leverages statistics from learned bounding box distributions—introduced as 'General Distribution' in GFLV1—to predict localization quality scores. By using a lightweight Distribution-Guided Quality Predictor (DGQP) on these distribution statistics, GFLV2 achieves state-of-the-art 46.2 AP on COCO with 14.6 FPS using ResNet-101, outperforming ATSS by 2.6 AP while maintaining high efficiency.
Localization Quality Estimation (LQE) is crucial and popular in the recent advancement of dense object detectors since it can provide accurate ranking scores that benefit the Non-Maximum Suppression processing and improve detection performance. As a common practice, most existing methods predict LQE scores through vanilla convolutional features shared with object classification or bounding box regression. In this paper, we explore a completely novel and different perspective to perform LQE -- based on the learned distributions of the four parameters of the bounding box. The bounding box distributions are inspired and introduced as "General Distribution" in GFLV1, which describes the uncertainty of the predicted bounding boxes well. Such a property makes the distribution statistics of a bounding box highly correlated to its real localization quality. Specifically, a bounding box distribution with a sharp peak usually corresponds to high localization quality, and vice versa. By leveraging the close correlation between distribution statistics and the real localization quality, we develop a considerably lightweight Distribution-Guided Quality Predictor (DGQP) for reliable LQE based on GFLV1, thus producing GFLV2. To our best knowledge, it is the first attempt in object detection to use a highly relevant, statistical representation to facilitate LQE. Extensive experiments demonstrate the effectiveness of our method. Notably, GFLV2 (ResNet-101) achieves 46.2 AP at 14.6 FPS, surpassing the previous state-of-the-art ATSS baseline (43.6 AP at 14.6 FPS) by absolute 2.6 AP on COCO { t test-dev}, without sacrificing the efficiency both in training and inference. Code will be available at https://github.com/implus/GFocalV2.
Motivation & Objective
- To address the limitation of existing localization quality estimation (LQE) methods that rely on vanilla convolutional features, which may not be highly correlated with actual localization accuracy.
- To explore a new paradigm for LQE by leveraging the intrinsic statistical properties of predicted bounding box distributions.
- To develop a lightweight, efficient, and effective quality predictor that improves Non-Maximum Suppression (NMS) performance by better ranking detection results.
- To maintain high training and inference efficiency while significantly boosting detection accuracy.
Proposed method
- The method introduces a new perspective for LQE by using the statistics of the 'General Distribution'—a discrete probability distribution over the four edges of a predicted bounding box—instead of relying on spatial features like points or regions.
- The General Distribution models the uncertainty in bounding box regression, and its shape (e.g., sharpness) correlates strongly with real localization quality, as shown in empirical analysis.
- A lightweight sub-network called the Distribution-Guided Quality Predictor (DGQP) is proposed, which takes the mean and variance of the four-side distribution statistics as input to predict localization quality scores.
- The DGQP is trained end-to-end with the detector and adds minimal computational cost, with only ~64 hidden units, preserving training and inference speed.
- The method replaces traditional LQE heads (e.g., based on Centerness or IoU) with a distribution-aware quality estimation head that better reflects actual localization confidence.
- The framework is compatible with existing dense detectors and is evaluated on COCO, showing consistent gains across different backbones and settings.
Experimental results
Research questions
- RQ1Can the statistical properties of learned bounding box distributions serve as a reliable and informative signal for localization quality estimation?
- RQ2How does using distribution statistics as input for quality prediction compare to using conventional spatial features in terms of correlation with ground-truth IoU?
- RQ3Does a lightweight quality predictor based on distribution statistics improve detection performance without degrading training or inference efficiency?
- RQ4To what extent does the proposed method reduce mistaken suppression in NMS by better ranking high-quality detections?
Key findings
- GFLV2 achieves 46.2 AP on COCO test-dev using ResNet-101, surpassing the previous SOTA ATSS baseline (43.6 AP) by 2.6 AP at the same inference speed of 14.6 FPS.
- The proposed DGQP improves the Pearson correlation coefficient between predicted and ground-truth IoU scores by 0.26 compared to GFLV1, leading to a 0.9 AP gain.
- The training loss for LQE converges faster and to lower values in GFLV2 than in GFLV1, indicating that DGQP eases the learning difficulty of quality estimation.
- The DGQP module adds negligible computational overhead, maintaining 19.4 FPS inference speed on ResNet-50 and 14.6 FPS on ResNet-101, outperforming methods like RepPointsV2 and BorderDet that suffer from significant speed penalties.
- Qualitative visualization shows that GFLV2 assigns higher quality scores to the most accurate predictions, reducing the risk of suppressing high-quality detections during NMS.
- The method is efficient and compatible: it achieves 41.1 AP on ResNet-50 with no increase in training time and maintains 19.4 FPS inference speed, outperforming PAA, RepPointsV2, and BorderDet in both accuracy and efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.