In the field of computer vision, dense object detectors such as FCOS and RetinaNet have gained popularity for their efficiency. These models typically predict a bounding box based on the features of a single point on a grid. However, this "single-point" approach often lacks the explicit geometric information required to accurately localize object boundaries, particularly in complex or cluttered scenes.
BorderDet, proposed by researchers at MEGVII Technology and Xi'an Jiaotong University, addresses this limitation by explicitly leveraging border features to refine both classification and localization. By introducing a novel BorderAlign operator, the architecture achieves state-of-the-art performance on the COCO dataset.
The BorderAlign Operator
Most modern dense detectors rely on a regular grid of image features. To detect an object, the model predicts distances to the top, bottom, left, and right edges from a central point. The inherent problem is that a single point's receptive field may not capture the precise location of a boundary. While methods like RoIAlign pool features from the entire bounding box, they often incorporate unnecessary background noise.
The core innovation of BorderDet is the Border Alignment Module (BAM) and its associated BorderAlign operator. Instead of pooling the entire box, BorderAlign focuses exclusively on the four predicted boundaries. It subdivides each border into $N$ points (typically 10) and applies channel-wise max-pooling. This allows the model to identify the strongest responses along the border, effectively pinpointing the "extreme points" that define the object's edge.
Architecture and Methodology
BorderDet operates as a two-stage refinement process integrated into a dense detection framework:
- Border-Sensitive Feature Maps: The model generates specialized feature maps with $(4+1) imes C$ channels: one set for the central point and four sets specifically for the left, top, right, and bottom borders.
- Coarse Prediction: A standard dense detector (like FCOS) generates initial bounding box estimates.
- Refinement: The BAM extracts border features based on these coarse boxes to refine the classification scores and bounding box coordinates.
This module can also be adapted to improve Region Proposal Networks (RPN) in two-stage detectors like Faster R-CNN, demonstrating its versatility.
Key Insights: The Importance of Borders
A critical finding of the study is that features along the borders are significantly more discriminative for refinement than features within the object's interior. In ablation studies, ignoring the inner part of the box resulted in a negligible performance drop of only 0.3 AP, whereas the border features provided the majority of the accuracy gains.
By utilizing max-pooling along the borders, the model naturally gravitates toward extreme points—the topmost, leftmost, rightmost, and bottommost pixels. These points are highly effective for high-precision localization, as they represent the physical limits of the object.
Experimental Results
The researchers evaluated BorderDet on the MS-COCO dataset, achieving significant improvements over baseline models:
- Baseline Boost: Adding BorderDet to an FCOS detector with a ResNet-50 backbone improved Average Precision (AP) from 38.6 to 41.4 (+2.8 AP).
- High-Precision Localization: The most notable gains occurred at high IoU thresholds. The $AP_{90}$ (accuracy at 90% overlap) improved by 20% compared to the baseline, proving that border features are essential for "pixel-perfect" alignment.
- State-of-the-Art Performance: With a ResNeXt-101-DCN backbone, BorderDet reached 50.3 AP, outperforming established models like Cascade R-CNN and CornerNet.
Conclusion
BorderDet demonstrates that explicitly modeling object boundaries is a powerful and efficient way to enhance dense object detectors. By focusing on sparse, high-impact border features rather than dense interior grids, BorderAlign provides a computationally light yet robust mechanism for achieving state-of-the-art detection accuracy. Future work may involve extending this border-sensitive approach to related tasks such as instance segmentation.
Summary updated