Abstract
Model efficiency has become increasingly important in computer vision. In this paper, we systematically study neural network architecture design choices for object detection and propose several key optimizations to improve efficiency. First, we propose a weighted bi-directional feature pyramid network (BiFPN), which allows easy and fast multi-scale feature fusion; Second, we propose a compound scaling method that uniformly scales the resolution, depth, and width for all backbone, feature network, and box/class prediction networks at the same time. Based on these optimizations and EfficientNet backbones, we have developed a new family of object detectors, called EfficientDet, which consistently achieve much better efficiency than prior art across a wide spectrum of resource constraints. In particular, with single-model and single-scale, our EfficientDet-D7 achieves state-of-the-art 52.2 AP on COCO test-dev with 52M parameters and 325B FLOPs, being 4x - 9x smaller and using 13x - 42x fewer FLOPs than previous detectors.
Introduction
In computer vision, object detection is a fundamental yet computationally intensive task. While recent research has significantly advanced the state-of-the-art in accuracy (Average Precision or AP), the resulting models often require massive computational resources—hundreds of millions of parameters and trillions of FLOPs. This poses a significant challenge for real-world applications like robotics, mobile devices, and autonomous driving, where hardware resources are strictly limited.
Previous efforts to address this gap typically focused on either extremely small models that sacrifice accuracy or models optimized for specific hardware. EfficientDet introduces a scalable solution: a single architecture that can be systematically scaled to provide optimal accuracy across a wide range of computational budgets.
Methods
The efficiency of EfficientDet stems from two primary architectural innovations: the Weighted Bi-directional Feature Pyramid Network (BiFPN) and a new compound scaling method.
Weighted Bi-directional Feature Pyramid Network (BiFPN)
Traditional Feature Pyramid Networks (FPNs) combine features from different scales to detect objects of varying sizes. However, standard FPNs treat all input features equally, regardless of their resolution. The authors observed that different input features contribute unequally to the final output.
To address this, BiFPN introduces:
- Bi-directional Connections: A bottom-up path is added to the traditional top-down FPN, and the network is simplified by removing nodes with only a single input.
- Weighted Feature Fusion: Learnable weights are introduced, allowing the network to prioritize more important features at each scale. To maintain efficiency, a "Fast Normalized Fusion" approach is used, avoiding the high computational cost of standard softmax operations.
Compound Scaling
Following the success of EfficientNet, the authors proposed a compound scaling method for object detectors. Instead of scaling only one dimension (e.g., depth or resolution), they use a single coefficient (phi) to uniformly scale the resolution, depth, and width of the backbone, the BiFPN, and the prediction networks simultaneously. This balanced scaling ensures high efficiency as the model size increases.
Results and Discussion
The EfficientDet family (D0 through D7) demonstrates superior performance across the efficiency-accuracy spectrum.
- State-of-the-Art Accuracy: EfficientDet-D7 achieves 52.2 AP on the COCO benchmark, outperforming the previous best model (AmoebaNet + NAS-FPN) while being 4x smaller and using 13x fewer FLOPs.
- Efficiency Gains: EfficientDet-D0 achieves accuracy comparable to YOLOv3 while using 28x fewer FLOPs.
- Hardware Performance: On real-world hardware like the Titan V GPU, EfficientDet models are 3x to 8x faster than their predecessors.
Conclusion
EfficientDet represents a significant step forward in scalable object detection. By combining the BiFPN and compound scaling with EfficientNet backbones, the authors created a family of models that excel across diverse resource constraints. While the current scaling rules are heuristic and the focus is on one-stage detectors, the principles of weighted feature fusion and balanced scaling offer a robust framework for future research in efficient computer vision.
Summary updated