Transformers in Small Object Detection: A Benchmark and Survey of State-of-the-Art

Aref Miri Rekavandi, Shima Rashidi, Farid Boussaïd, Stephen Hoefs, Emre Akbas, Mohammed Bennamoun

Abstract

Small Object Detection (SOD) remains a significant challenge in computer vision due to limited pixel information and spatial degradation inherent in deep neural networks. This paper presents a comprehensive survey of transformer-based architectures specifically designed to address these hurdles. By reviewing over 60 studies from 2020 to 2023, we establish a new taxonomy for SOD transformers and demonstrate their superiority over traditional Convolutional Neural Networks (CNNs) through enhanced global context modeling and multi-scale feature integration.

Introduction

In the context of the MS COCO dataset, a "small object" is defined as an entity smaller than $32 \times 32$ pixels. Detecting such objects is often considered the "final boss" of computer vision. Traditional CNNs struggle with SOD for two primary reasons: low visibility, where objects provide minimal signal, and spatial degradation, where downsampling operations like pooling wash out tiny features. Transformers have emerged as a powerful alternative, leveraging self-attention to capture long-range dependencies and global context.

The standard Transformer architecture, featuring encoder-decoder blocks with multi-head attention, serves as the foundation for modern SOD models.

Taxonomy of SOD Transformers

The current research landscape can be categorized into seven distinct perspectives:

  1. Object Representation: Utilizing points or keypoints instead of standard bounding boxes.
  2. Fast Attention: Implementing mechanisms like Deformable Attention to handle high-resolution maps efficiently.
  3. Fully Transformer-Based: Architectures that eliminate CNN backbones entirely.
  4. Architecture Modifications: Hybrid models that fuse CNN local features with transformer global reasoning.
  5. Auxiliary Techniques: Specialized loss functions and iterative refinement strategies.
  6. Improved Feature Representation: Enhancing feature quality through advanced encoding.
  7. Spatio-Temporal Information: Exploiting video data to improve detection consistency.

The Small Object Challenge

The difficulty of SOD is best illustrated by scenarios where objects occupy a negligible fraction of the total image area. In such cases, the signal-to-noise ratio is extremely low, and the model must rely on surrounding environmental cues to make an accurate prediction.

Small objects, such as a distant aircraft or a bird on a rocky peak, present significant challenges due to their limited pixel footprint and the need for high-resolution processing.

Key Insights

Contextual Modeling

The primary advantage of transformers in SOD is their ability to model pairwise interactions between all pixels. For a blurry "blob" on a runway, the transformer can infer it is a plane by attending to the surrounding runway context—information that local CNN kernels often miss.

The Resolution Paradox

SOD requires high-resolution feature maps, but standard attention scales quadratically ($O(N^2)$). State-of-the-art models resolve this using "Deformable Attention," which samples only a small set of key points, maintaining efficiency without sacrificing detail.

Hybridization and Pre-training

Mixed architectures, such as Conformer, combine the strengths of CNNs (low-level texture extraction) and Transformers (high-level reasoning). Furthermore, pre-training on massive datasets like BigDetection is essential for the network to learn the subtle features of tiny objects.

Benchmarking and Results

Benchmarking on MS COCO reveals that models like Group DETR v2 achieve a state-of-the-art 48.4% mAP for small objects. While computationally intensive, these models provide significantly better localization and confidence than traditional detectors like Faster R-CNN. Additionally, models like DINO have addressed the slow convergence of early transformers, reaching peak performance in just 12 epochs compared to the original DETR's 500.

Conclusion and Future Work

While transformer-based SOD models have set new performance benchmarks, several challenges remain. The high computational cost and training time limit deployment on edge devices like drones. Future research must focus on lightweight architectures and improving temporal consistency in video-based detection, where small objects are frequently lost between frames.

Summary updated

BibTeX
@article{rekavandi2023transformers,
  author = {Aref Miri Rekavandi and Shima Rashidi and Farid Boussaïd and Stephen Hoefs and Emre Akbas and Mohammed Bennamoun},
  title = {{Transformers in Small Object Detection: A Benchmark and Survey of State-of-the-Art}},
  journal = {ACM Computing Surveys},
  year = {2023},
}
Figure