[Paper Review] AFPN: Asymptotic Feature Pyramid Network for Object Detection
AFPN introduces asymptotic fusion and adaptive spatial fusion to enable direct interaction across non-adjacent feature pyramid levels, improving MS COCO detection results with competitive efficiency.
Multi-scale features are of great importance in encoding objects with scale variance in object detection tasks. A common strategy for multi-scale feature extraction is adopting the classic top-down and bottom-up feature pyramid networks. However, these approaches suffer from the loss or degradation of feature information, impairing the fusion effect of non-adjacent levels. This paper proposes an asymptotic feature pyramid network (AFPN) to support direct interaction at non-adjacent levels. AFPN is initiated by fusing two adjacent low-level features and asymptotically incorporates higher-level features into the fusion process. In this way, the larger semantic gap between non-adjacent levels can be avoided. Given the potential for multi-object information conflicts to arise during feature fusion at each spatial location, adaptive spatial fusion operation is further utilized to mitigate these inconsistencies. We incorporate the proposed AFPN into both two-stage and one-stage object detection frameworks and evaluate with the MS-COCO 2017 validation and test datasets. Experimental evaluation shows that our method achieves more competitive results than other state-of-the-art feature pyramid networks. The code is available at \href{https://github.com/gyyang23/AFPN}{https://github.com/gyyang23/AFPN}.
Motivation & Objective
- Address scale variation in object detection by improving multi-scale feature fusion.
- Eliminate information loss during non-adjacent level interactions in feature pyramids.
- Introduce adaptive spatial fusion to handle conflicting multi-level information.
- Demonstrate AFPN's effectiveness across both two-stage and one-stage detectors on MS COCO.
Proposed method
- Propose an asymptotic fusion strategy that fuses two low-level features first and progressively incorporates higher-level features to reduce semantic gaps between non-adjacent levels.
- Use 1x1 conveolution and bilinear upsampling for dimension alignment, and convolution-based downsampling with varying kernels/strides to achieve required downsampling.
- Incorporate four residual units after fusion to refine features, inspired by ResNet blocks.
- Introduce adaptive spatial fusion (ASFF) to compute stage-specific weighted sums of multi-level features at each spatial location, ensuring α+β+γ=1.
- Integrate AFPN with Faster R-CNN (ResNet-50/101 backbones) and YOLOv5 to evaluate across two-stage and one-stage detectors.
- Optionally replace upsampling with CAFAFE for improved upsampling quality and evaluate on MS COCO.
Experimental results
Research questions
- RQ1How does asymptotic fusion affect the fusion quality between adjacent and non-adjacent pyramid levels?
- RQ2Does adaptive spatial fusion improve the handling of conflicting information during multi-level feature fusion?
- RQ3Can AFPN improve detection performance in both two-stage and one-stage detectors on MS COCO?
- RQ4What are the trade-offs in parameters and FLOPs when adopting AFPN compared with traditional FPN/PAFPN?
- RQ5How does AFPN perform with different backbones (e.g., ResNet-50 vs ResNet-101) on val2017 and test-dev?
Key findings
- AFPN achieves higher average precision on MS COCO val2017 than several state-of-the-art feature pyramids, e.g., 39.0 AP at 640×640 input for Faster R-CNN+AFPN and 41.0 AP at 800×1000 input.
- Replacing FPN with AFPN yields a 2.6% AP improvement on MS COCO test-dev when using ResNet-101 as backbone (compared to the baseline).
- AFPN maintains competitive GFLOPs while achieving higher AP and better AP across small, medium, and large objects (AP S, AP M, AP L).
- AFPN (with CARAFE upsampling) further improves AP, showing gains over baseline AFPN in multiple runs.
- When integrated with YOLOv5, AFPN improves AP for both YOLOv5-n and YOLOv5-s, especially for large objects (AP L gains of 3.4% and 2.6%, respectively).
- Ablation studies indicate adaptive spatial fusion provides benefits over simple sum or concat fusion, though concat can approach performance in some cases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.