Abstract
Detecting objects at multiple scales is a fundamental challenge in computer vision. While image pyramids provide a solution, they are computationally expensive. This paper introduces Feature Pyramid Networks (FPN), a top-down architecture with lateral connections that builds high-level semantic feature maps at all scales. By exploiting the inherent multi-scale hierarchy of deep convolutional networks, FPN achieves significant improvements in detection accuracy, particularly for small objects, with minimal computational overhead.
Introduction and Problem Statement
In computer vision, the size of an object relative to the image resolution significantly impacts detection performance. A large object is easily identified, but a small object may occupy only a few pixels, making it difficult for standard networks to localize and classify accurately. Historically, researchers addressed this using "image pyramids"—running a detector over multiple resized versions of the same image. However, this approach is slow and memory-intensive, making it impractical for real-time applications.
Deep Convolutional Neural Networks (ConvNets) naturally compute a hierarchy of features. As an image progresses through layers, spatial resolution decreases due to downsampling, while semantic value increases. This creates a trade-off: lower layers have high resolution (essential for small objects) but low semantic value, while higher layers have high semantic value but low resolution (detrimental for precise localization).
Methodology
The Feature Pyramid Network (FPN) architecture is designed to create a feature pyramid where every level is both high-resolution and semantically strong. It consists of three main components:
- Bottom-Up Pathway: The standard feedforward computation of a backbone network (e.g., ResNet), producing feature maps at several scales.
- Top-Down Pathway: This pathway upsamples semantically rich but spatially coarse higher-level maps to higher resolutions using nearest-neighbor upsampling.
- Lateral Connections: To recover spatial precision lost during downsampling, FPN merges upsampled maps with corresponding maps from the bottom-up pathway. A 1x1 convolution is applied to the bottom-up map to match channel dimensions before addition.
Following the merge, a 3x3 convolution is applied to each level to reduce aliasing effects. Predictions are then made independently at every level of the resulting pyramid using shared predictor heads.
Experimental Results
The researchers evaluated FPN on the COCO (Common Objects in Context) benchmark using a ResNet-101 backbone within a Faster R-CNN framework.
- State-of-the-Art Performance: FPN achieved 36.2 AP on the COCO test-std set, outperforming previous single-model entries and challenge winners.
- Small Object Detection: The most significant gain was observed in small object detection. For the Region Proposal Network (RPN) task, FPN improved Average Recall for small objects by 12.9 points over a standard ResNet baseline.
- Efficiency: Despite its multi-scale nature, FPN is highly efficient, running at approximately 5-6 FPS on a GPU, making it viable for practical deployment.
Discussion and Conclusion
FPN demonstrates that multi-scale feature pyramids can be constructed "for free" by leveraging the internal layers of a ConvNet. The key insight is that lateral connections are mandatory; without them, the upsampled maps lack the spatial precision necessary for accurate localization.
While FPN significantly boosts performance, it does increase the memory footprint during training. Future work includes exploring more sophisticated, learned methods for assigning object proposals to pyramid levels and extending the architecture to tasks like instance segmentation (as seen in the subsequent development of Mask R-CNN) and keypoint estimation.
Summary updated