MultiResolution Attention Extractor for Small Object Detection

Fan Zhang, Licheng Jiao, Lingling Li, Fang Liu, Xu LiuarXiv 2020

Abstract

Detecting tiny objects in complex scenes remains a significant challenge due to low resolution and feature loss during neural network downsampling. This paper introduces the MultiResolution Attention Extractor (MRAE), a plug-and-play module that intelligently fuses features from multiple network resolutions using an attention mechanism. By calculating cosine similarity between feature layers to generate adaptive weights, MRAE effectively highlights fine-grained details. Experimental results on the MS COCO small object benchmark demonstrate that MRAE achieves a 5.0% Average Precision (AP), more than doubling the performance of standard Faster R-CNN baselines.

Introduction

Small object detection—defined by the MS COCO dataset as instances smaller than 32x32 pixels—is hindered by two primary factors. First, the limited pixel count makes it difficult for models to extract distinct textures. Second, standard Convolutional Neural Networks (CNNs) utilize strided convolutions and pooling layers that often discard the very spatial details required to identify these targets. While Feature Pyramid Networks (FPN) attempt to mitigate this, they often lack the selectivity needed to prioritize relevant information over noise. The MRAE module addresses this by using an attention-driven approach to mine contextual and spatial information efficiently.

Methodology

The MRAE module is integrated into a Faster R-CNN framework with a ResNet-101 backbone, focusing on features from levels $C_1, C_2,$ and $C_3$. The process involves three key stages:

  1. Feature Alignment: Features from different layers are upsampled to a uniform spatial dimension.
  2. Attention-Based Interaction: Unlike simple concatenation, MRAE uses a "template" layer (optimally $C_2$) to calculate cosine similarity against other layers. This identifies correlations between semantic content and spatial detail.
  3. Weight Generation and Fusion: A sub-network processes these similarities to generate attention weights. The final output is a weighted sum of the multi-resolution features, effectively filtering out background noise.
Architecture of the MRAE module variants: (a) Soft Attention and (b) Feature Interaction using Cosine Similarity.

The authors found that using the middle-level feature map ($C_2$) as the template provided the best balance of semantic and spatial information. A simpler "Soft Attention" variant using global max-pooling was also tested but found to be significantly less effective.

Experimental Setup

The model was evaluated using a specialized subset of the MS COCO dataset, filtered to include only objects with a bounding box area smaller than 32 × 32 pixels. This subset consists of 52,032 training images and 2,164 validation images. All backbones were pre-trained on ImageNet-1k before fine-tuning on this small object detection task.

Distribution of height and width for small object instances in the (a) train and (b) validation sets.

Key Results and Discussion

MRAE demonstrated a substantial performance leap over standard architectures:

  • Detection Accuracy: MRAE (Template 2) achieved 5.0% AP, compared to just 2.3% AP for the baseline Faster R-CNN.
  • Improved Recall: Average Recall ($AR_{100}$) rose from 11.7% to 16.6%, indicating the model is far more successful at locating small objects that were previously missed.
  • Efficiency: The module adds minimal overhead, maintaining an inference speed of 16ms per image (~62.5 FPS), making it viable for real-time deployment.

Interestingly, the study found that combining multiple templates (e.g., $C_1 + C_2$) reduced performance to 3.5% AP, suggesting that excessive feature interaction can introduce interference rather than clarity.

Conclusion

The MultiResolution Attention Extractor provides a lightweight and effective solution for the persistent problem of small object detection. By leveraging cosine-similarity-based attention, it preserves critical details that are usually lost in deep networks. Future research will explore the application of MRAE in remote sensing and satellite imagery, where small, low-resolution targets are the primary focus.

Summary updated

BibTeX
@misc{zhang2020multiresolution,
  author = {Fan Zhang and Licheng Jiao and Lingling Li and Fang Liu and Xu Liu},
  title = {{MultiResolution Attention Extractor for Small Object Detection}},
  year = {2020},
  eprint = {2006.05941},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.05941},
}
Figure