[论文解读] AFPN: Asymptotic Feature Pyramid Network for Object Detection
AFPN 引入渐近融合和自适应空间融合,能够在非相邻的特征金字塔层之间进行直接交互,在效率方面具有竞争力地提升了 MS COCO 检测结果。
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}.
研究动机与目标
- 通过改进多尺度特征融合解决对象检测中的尺度变化问题。
- 消除在特征金字塔中非相邻层之间交互时的信息损失。
- 引入自适应空间融合以处理多层信息冲突。
- 在 MS COCO 上展示 AFPN 在两阶段和一阶段检测器中的有效性。
提出的方法
- 提出一种渐近融合策略,先融合两个低层特征,再逐步融入更高层特征,以减少非相邻层之间的语义差距。
- 使用 1x1 卷积和双线性上采样进行维度对齐,并通过具有变化核大小/步长的卷积下采样来实现所需的下采样。
- 在融合后加入四个残差单元以细化特征,灵感来自 ResNet 模块。
- 引入自适应尺度融合(ASFF),在每个空间位置计算多层特征的阶段特定加权和,确保 α+β+γ=1。
- 将 AFPN 与 Faster R-CNN(ResNet-50/101 骨干网络)和 YOLOv5 集成,以在两阶段和一阶段检测器上进行评估。
- 可选将上采样替换为 CAFAFE 以提高上采样质量,并在 MS COCO 上进行评估。
实验结果
研究问题
- RQ1渐近融合如何影响相邻与非相邻金字塔层之间的融合质量?
- RQ2自适应空间融合是否改善多层特征融合过程中的冲突信息处理?
- RQ3AFPN 是否能够在 MS COCO 上提升两阶段和一阶段检测器的检测性能?
- RQ4采用 AFPN 相较于传统 FPN/PAFPN,在参数和 FLOPs 方面有哪些权衡?
- RQ5在 val2017 和 test-dev 上,不同骨干网络(如 ResNet-50 与 ResNet-101)下 AFPN 的表现如何?
主要发现
- AFPN 在 MS COCO val2017 上的平均精度超过若干最先进的特征金字塔方法,例如,对 Faster R-CNN+AFPN,输入 640×640 时达到 39.0 AP;对 800×1000 时达到 41.0 AP。
- 使用 ResNet-101 作为骨干在 MS COCO test-dev 上替换 FPN 为 AFPN,AP 提升约 2.6%(相较基线)。
- AFPN 在保持有竞争力的 GFLOPs 的同时,获得更高的 AP,并在小、中、大目标上的 AP(AP S、AP M、AP L)上表现更好。
- AFPN(使用 CARAFE 上采样)进一步提升 AP,在多次运行中相较基准 AFPN 获得增益。
- 将 AFPN 与 YOLOv5 集成时,AFPN 提高了 YOLOv5-n 和 YOLOv5-s 的 AP,尤其对于大目标(AP L 提升分别为 3.4% 和 2.6%)。
- 消融研究表明自适应空间融合相较于简单的求和或拼接融合带来收益,尽管某些情况下拼接融合的性能也能接近。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。