Home Knowledge Base Feature Pyramid Network (FPN)

Feature Pyramid Network (FPN) is the multi-scale feature extraction architecture that builds a top-down pathway with lateral connections to create feature maps at multiple resolutions — combining the high-resolution, low-semantic features from early layers with the low-resolution, high-semantic features from deep layers, enabling strong performance on scale-variant tasks like object detection and instance segmentation where objects of vastly different sizes must be detected simultaneously.

The Scale Problem

FPN Architecture

1. Bottom-Up Pathway: Standard backbone (ResNet) produces feature maps at decreasing resolutions.

2. Top-Down Pathway: Upsample deep features (2x nearest neighbor) and add via lateral connections.

3. Output: Apply 3×3 conv to each merged level → {P2, P3, P4, P5} — all with 256 channels.

Lateral Connections

FPN in Object Detection

DetectorHow FPN Is Used
Faster R-CNN + FPNRPN proposals assigned to pyramid levels based on object size
RetinaNetDense anchors on each FPN level → focal loss
Mask R-CNNFPN features for both detection and mask prediction
FCOSAnchor-free detection with FPN level assignment
DETREncoder operates on multi-scale FPN features

Level Assignment for Detection

$k = \lfloor k_0 + \log_2(\sqrt{wh}/224) \rfloor$

FPN Variants

VariantModificationImprovement
PANet (2018)Add bottom-up path after FPNBetter localization
BiFPN (EfficientDet)Bidirectional with learned weightsBetter feature fusion
NAS-FPNArchitecture search for FPN topologyTask-optimized structure
PAFPN (YOLO)PANet-style FPN in YOLO detectorsBalanced features

Feature Pyramid Networks are the standard multi-scale architecture in computer vision — their elegant combination of top-down and bottom-up information flow creates semantically rich features at all resolutions, directly enabling the detection of objects ranging from tiny faces to large vehicles within the same image.

feature pyramid networkfpnmulti scale featurefpn detectionfeature pyramid

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.