Abstract
Precise object localization is a cornerstone of effective object detection. Traditional methods typically rely on regressing the center and dimensions of a bounding box. However, this approach often struggles with high-precision localization due to the large variance in offset predictions. This paper introduces Side-Aware Boundary Localization (SABL), a novel framework that treats localization as a "divide and conquer" task by independently localizing each of the four boundaries. By employing a coarse-to-fine "bucketing" scheme, SABL significantly improves detection accuracy, particularly at high Intersection-over-Union (IoU) thresholds, across various standard detection architectures.
Introduction
Most modern object detectors, such as Faster R-CNN or YOLO, formulate localization as a regression problem where the network predicts four offsets: center coordinates ($x, y$) and dimensions ($w, h$). The authors argue that this formulation is suboptimal for high-precision tasks. When an initial anchor box is significantly displaced from the ground truth, the resulting offsets exhibit high variance, making it difficult for a single regression branch to achieve a perfect fit.
Furthermore, this approach deviates from human annotation practices; humans typically define bounding boxes by aligning four edges to an object's boundaries rather than estimating a center and scale. SABL aims to mimic this boundary-centric approach to achieve more precise localization.
Methods
SABL integrates three primary components into the detection pipeline to refine boundary localization:
- Side-Aware Feature Extraction (SAFE): Instead of relying on standard 2D Region of Interest (RoI) feature maps, SAFE collapses 2D features into 1D horizontal and vertical vectors. It utilizes a self-attention mechanism to focus on context relevant to specific sides—for instance, the left-side branch prioritizes features near the left boundary.
- Boundary Localization with Bucketing (BLB): This core innovation divides the search space for each side into several "buckets" or small intervals. The model then performs two sub-tasks:
- Bucketing Estimation: A binary classifier identifies which bucket contains the true boundary.
-
Fine Regression: A regressor predicts the precise offset from the center of the identified bucket to the actual boundary. This coarse-to-fine strategy reduces the search space, leading to more stable learning and higher precision.
-
Bucketing-Guided Rescoring (BGR): Standard detectors often use only classification confidence for final box scoring. SABL incorporates the confidence of the bucketing prediction to adjust the final score. Boxes with uncertain boundary locations are penalized, ensuring that only well-localized detections survive Non-Maximum Suppression (NMS).
Experimental Setup
The proposed method was evaluated on the MS COCO 2017 benchmark, the gold standard for object detection. Training was conducted on the train split, with performance reported on the val and test-dev sets.
Key Insights
- Decomposition for Precision: Decomposing a 4-variable regression problem into four independent 1D tasks allows models to handle large displacements more effectively.
- Variance Reduction: The bucketing strategy acts as a variance reduction technique; by first classifying the bucket, the regression target is constrained to a small local range.
- Localization Confidence: A key insight is that localization confidence is as critical as classification confidence. Integrating localization reliability via BGR provides a significant boost to mean Average Precision (mAP).
- High IoU Performance: The most substantial gains were observed at high IoU thresholds (e.g., $AP_{90}$), indicating that SABL is particularly effective for applications requiring extreme precision.
Results
SABL was integrated into several baseline detectors, yielding consistent improvements on the COCO test-dev set:
- Faster R-CNN: AP improved from 38.8% to 41.8% (+3.0%).
- RetinaNet: AP improved from 38.8% to 40.5% (+1.7%).
- Cascade R-CNN: AP improved from 42.4% to 43.3% (+0.9%).
Notably, for Faster R-CNN, the $AP_{90}$ metric saw a remarkable jump of 10.5%, underscoring the method's strength in fine-grained localization. These gains come with a modest computational cost, adding approximately 10% overhead to the inference pipeline.
Conclusion
While SABL offers clear benefits, its performance is sensitive to hyperparameters such as the search region expansion factor and the number of buckets. Additionally, while overall AP increases, $AP_{50}$ sometimes remains stagnant, suggesting a potential trade-off between high-precision localization and coarse classification. Future work may explore incorporating more global context into side-aware features or extending the bucketing strategy to 3D object detection.
Summary updated