[论文解读] Cross-Layer Feature Pyramid Transformer for Small Object Detection in Aerial Images
引入一个无上采样的跨层特征金字塔Transformer(CFPT),具备跨层通道注意力(CCA)和跨层空间注意力(CSA),以及跨层一致相对位置编码(CCPE),以提升无人机图像小目标检测,在VisDrone2019-DET和TinyPerson上实现了更低计算成本的SOTA结果。
Object detection in aerial images has always been a challenging task due to the generally small size of the objects. Most current detectors prioritize the development of new detection frameworks, often overlooking research on fundamental components such as feature pyramid networks. In this paper, we introduce the Cross-Layer Feature Pyramid Transformer (CFPT), a novel upsampler-free feature pyramid network designed specifically for small object detection in aerial images. CFPT incorporates two meticulously designed attention blocks with linear computational complexity: Cross-Layer Channel-Wise Attention (CCA) and Cross-Layer Spatial-Wise Attention (CSA). CCA achieves cross-layer interaction by dividing channel-wise token groups to perceive cross-layer global information along the spatial dimension, while CSA enables cross-layer interaction by dividing spatial-wise token groups to perceive cross-layer global information along the channel dimension. By integrating these modules, CFPT enables efficient cross-layer interaction in a single step, thereby avoiding the semantic gap and information loss associated with element-wise summation and layer-by-layer transmission. In addition, CFPT incorporates global contextual information, which improves detection performance for small objects. To further enhance location awareness during cross-layer interaction, we propose the Cross-Layer Consistent Relative Positional Encoding (CCPE) based on inter-layer mutual receptive fields. We evaluate the effectiveness of CFPT on three challenging object detection datasets in aerial images: VisDrone2019-DET, TinyPerson, and xView. Extensive experiments demonstrate that CFPT outperforms state-of-the-art feature pyramid networks while incurring lower computational costs. The code is available at https://github.com/duzw9311/CFPT.
研究动机与目标
- 解决在空拍图像中对象尺度密集变化时的的小目标检测挑战。
- 开发一种在不进行上采样的情况下实现跨层交互的特征金字塔网络,以降低计算量。
- 利用全局上下文和跨层邻域交互,在不同尺度间保持信息。
- 引入一个位置感知机制(CCPE),以提升跨层相似度并实现更准确的定位。
提出的方法
- 提出CFPT,包含两个注意力块:跨层通道注意力(CCA)和跨层空间注意力(CSA)。
- CCA通过通道维对齐多尺度特征,使用通道重构(Channel Reconstruction)和重叠通道分块(Overlapped Channel-wise Patch Partition)来实现跨层通道交互,随后进行跨层多头注意力和反向重叠补丁操作(Reverse Overlapped Patch)。
- CSA通过重叠空间分块(Overlapped Spatial Patch Partition)在空间维度执行跨层交互,在不需要通道对齐的情况下进行跨层多头注意力,随后是反向重叠空间补丁分块(Reverse Overlapped Spatial Patch)。
- 引入跨层一致相对位置编码(CCPE),使用一个可学习的码本将跨层相对位置信息注入到注意力图中。
- CFPT在不进行特征上采样的情况下工作,实现一次跨层信息传递并保留富含小目标的浅层特征信息。
- 复杂度分析表明所提块与输入分辨率呈线性缩放。
实验结果
研究问题
- RQ1如何在不进行上采样的情况下高效实现跨层交互,以提升空拍图像中小目标的检测?
- RQ2基于Transformer的颈部网络,采用跨层注意力块和位置编码,是否能够在空拍数据集上超越传统的特征金字塔网络?
- RQ3是否明确建模跨层相对位置信息可以提高小目标的定位精度?
主要发现
- CFPT在 VisDrone2019-DET 上的不同骨干网络(ResNet-18/50/101)上超越了若干SOTA FPN变体,具更高的AP和更好的小目标AP。
- 在ResNet-18的 VisDrone2019-DET 上,CFPT 达到 AP 20.0 和 AP-small 10.1,超越许多基线,同时保持有竞争力的参数量与 FLOPs(165.9G)。
- 使用 ResNet-50 时,CFPT 达到 AP 22.2 和 AP-small 11.9,领先于众多竞争对手(参数 37.3M,FLOPs 218.5G)。
- 使用 ResNet-101 时,CFPT 达到 AP 22.6(AP-0.5 38.4,AP-0.75 23.1,AP-small 12.1)和 AP-large 43.8(Params 56.3M,FLOPs 297.6G)。
- CFPT在小目标AP(AP-small)上始终更高,在跨尺度的AP也具有竞争力,同时降低了层间逐层或基于上采样的颈部结构所固有的语义差距与信息损失风险。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。