Abstract
We present FoveaBox, an accurate, flexible, and completely anchor-free framework for object detection. While almost all state-of-the-art object detectors utilize predefined anchors to enumerate possible locations, scales and aspect ratios for the search of the objects, their performance and generalization ability are also limited to the design of anchors. Instead, FoveaBox directly learns the object existing possibility and the bounding box coordinates without anchor reference. This is achieved by: (a) predicting category-sensitive semantic maps for the object existing possibility, and (b) producing category-agnostic bounding box for each position that potentially contains an object. The scales of target boxes are naturally associated with feature pyramid representations. In FoveaBox, an instance is assigned to adjacent feature levels to make the model more accurate. Without bells and whistles, FoveaBox achieves state-of-the-art single model performance on the standard COCO and Pascal VOC object detection benchmarks. More importantly, FoveaBox avoids all computation and hyper-parameters related to anchor boxes, which are often sensitive to the final detection performance. The code has been made publicly available at https://github.com/taokong/FoveaBox.
Introduction: The Anchor Bottleneck
For years, the "gold standard" in object detection has relied on anchors: a dense grid of predefined boxes with various scales and aspect ratios. To find an object, a model checks which anchors overlap significantly with the ground truth. However, anchors come with significant baggage. They require careful "hand-tuning" of hyperparameters for every new dataset, introduce massive computational overhead for calculating Intersection-over-Union (IoU) during training, and struggle to generalize to objects with unusual shapes.
The authors of FoveaBox address these limitations by proposing a detector that eliminates these "training wheels" entirely. By moving away from template matching and toward direct prediction, FoveaBox offers a more streamlined and flexible architecture that is less sensitive to manual design choices.
The FoveaBox Framework
FoveaBox is inspired by the human visual system, specifically the fovea—the central part of the retina where visual acuity is highest. Just as the human eye perceives the center of an object with the highest acuity and then determines its boundaries, FoveaBox uses the central region of an object to trigger a detection.
The architecture consists of a standard backbone (like ResNet) with a Feature Pyramid Network (FPN), followed by two simple sub-networks:
- Category-Sensitive Semantic Map: Instead of matching anchors, the model predicts the probability of an object's presence at every pixel. It defines a "fovea" area—a shrunk version of the object's center—as the positive region for training.
- Category-Agnostic Bounding Box Prediction: For every potential object location, the model directly regresses four values representing the distance to the top, bottom, left, and right boundaries of the object. These targets are regularized in log-space to handle varying scales effectively.
A key technical contribution is Scale Assignment. Since objects vary in size, FoveaBox assigns them to different levels of the feature pyramid. Unlike previous methods that map an object to a single level, FoveaBox assigns instances to multiple adjacent levels, providing more training samples and making the optimization process more stable. This "multi-level" training strategy alone contributed a 3.1 AP gain in ablation studies.
Experimental Results
The authors evaluated FoveaBox on the MS COCO and Pascal VOC benchmarks, two of the most rigorous standards in computer vision. On the COCO test-dev benchmark, FoveaBox achieved a 43.9 AP (Average Precision) using a ResNet-101 backbone, outperforming the anchor-based RetinaNet by 2.2 AP.
In terms of efficiency, FoveaBox is roughly 1.1 to 1.3 times faster than its RetinaNet counterparts because it avoids the heavy computation associated with anchor-to-box IoU matching. Furthermore, because FoveaBox doesn't rely on predefined aspect ratios, it is significantly more robust at detecting objects with extreme shapes (very tall or very wide) compared to traditional detectors.
Conclusion
FoveaBox demonstrates that simplicity can win in object detection. Without complex post-processing or specialized loss functions, the basic FoveaBox out-performs highly tuned anchor-based systems. While the model is sensitive to the "shrunk factor" used to define the fovea area and still relies on Non-Maximum Suppression (NMS) for post-processing, it serves as a solid, effective baseline that eases future research for anchor-free object detection.
Summary updated