Abstract
Modern object detection datasets exhibit a pronounced "photographer’s bias," where subjects are predominantly centered. This spatial imbalance leads detectors to overfit to central regions, resulting in significant performance degradation at image borders—a phenomenon masked by traditional Average Precision (AP) metrics. We introduce Spatial equilibrium Precision (SP) to provide a more geographically fair evaluation and propose Spatial Equilibrium Label Assignment (SELA), a training strategy that improves edge performance without compromising the center. Our approach consistently enhances spatial robustness across multiple benchmarks and architectures.
Introduction
When capturing images, photographers naturally center their subjects. This "photographer’s bias" is deeply embedded in major computer vision datasets like MS COCO and PASCAL VOC. Consequently, modern object detectors become "lazy," achieving high accuracy by mastering the central regions while struggling with objects near the borders.
Standard evaluation metrics like Average Precision (AP) are deceptive in this context. Because AP is calculated globally, it is dominated by high-performing central zones. A detector may appear highly accurate on paper yet fail in critical real-world applications—such as autonomous driving or surveillance—where peripheral objects are as vital as central ones. This research quantifies this spatial bias and introduces methods to train more robust, spatially balanced detectors.
Methodology
The proposed framework addresses spatial bias through two primary innovations: a new evaluation metric and a novel training strategy.
1. Evaluation: Zone Precision (ZP) and Spatial equilibrium Precision (SP)
To move beyond global scores, images are divided into five concentric annular zones.
- Zone Precision (ZP): Measures the AP specifically for objects whose centers fall within a designated ring.
- Spatial equilibrium Precision (SP): A "fair" version of AP, calculated as an area-weighted sum of ZP scores. Unlike traditional AP, SP treats every region of the image as equally significant, regardless of object frequency.
2. Training: Spatial Equilibrium Label Assignment (SELA)
To mitigate performance drops at borders, we propose SELA. Traditional training relies on "positive samples" (anchors with high ground-truth overlap). SELA introduces a spatial weighting function—ranging from 0 at the center to 1 at the borders—to relax the criteria for positive samples near the edges. By lowering the threshold for edge-case supervision, the model is forced to allocate more attention to peripheral zones during optimization.
Key Insights
- The "99% Zone" Effect: One of the most striking findings is that excluding just the central 1% of the image area can cause detection performance (ZP) to drop by over 5 points, highlighting how much traditional AP is inflated by central bias.
- Spatial Bias as Coordinate Imbalance: Spatial bias can be viewed as a "long-tail" distribution of object coordinates, similar to class imbalance. The model effectively learns from a skewed distribution of locations.
- Model Sensitivity: "Sparse" detectors (e.g., DETR) exhibit higher spatial variance than "dense" detectors (e.g., GFocal), suggesting that newer transformer-based architectures may be more susceptible to photographer's bias than their predecessors.
Results
The effectiveness of SELA was validated across PASCAL VOC, MS COCO, and specialized datasets for face masks, fruit, and helmets.
- Variance Reduction: On PASCAL VOC, SELA reduced performance variance across zones by approximately 23% (from 49.4 to 37.9) while simultaneously increasing the overall SP.
- Performance Gains: SELA improved SP scores by 0.8 to 1.4 points across all primary benchmarks.
- Versatility: The method proved to be a "plug-and-play" enhancement, working effectively across various backbones (ResNet, ResNeXt) and detection frameworks (GFocal, DW, DDOD).
Conclusion and Future Work
While SELA effectively re-balances model performance, it remains a frequency-based approach. Future research may explore cost-sensitive learning or specialized data augmentation to further enhance spatial robustness. Additionally, while this work uses concentric zones, future iterations could adapt to specific geometric biases, such as the top-heavy distributions found in helmet detection datasets.
Summary updated