Data Augmentation For Small Object using Fast AutoAugment

DaeEun Yoon, Semin Kim, SangWook Yoo, Jongha LeearXiv 2025 · DOI

Abstract

Detecting small objects remains a significant challenge in computer vision due to pixel scarcity and class imbalance. This paper presents a novel approach that leverages Fast AutoAugment to automatically optimize "copy-paste" data augmentation strategies. By systematically searching for the most effective augmentation policies, the proposed method achieves a substantial performance boost, including a 20.6% improvement in small object Mean Average Precision ($mAP_S$) on the DOTA-v2.0 aerial image dataset.

Introduction

Modern object detection models often struggle with small objects, such as vehicles in satellite imagery or anomalies in medical scans. This "small object degradation" stems from three primary factors:

  1. Data Imbalance: Large objects dominate the pixel count, biasing models during training.
  2. Ineffective Augmentation: Standard techniques like RandomErase or Cutout can inadvertently remove small objects entirely, while MixUp may blur critical fine details.
  3. Suboptimal Tuning: Manual selection of augmentation parameters is often inefficient and fails to find the optimal configuration for specific datasets.

Methodology

The researchers address these issues by combining a targeted "copy-paste" augmentation strategy with an automated search framework.

Copy-Paste Augmentation

The core technique involves extracting small objects from training images and pasting them into new locations. This increases the density of small objects without altering their internal features. The study evaluates three variations: Single (pasting one object), Multiple (pasting two or more), and All (re-pasting every small object in the image to random locations).

To avoid the trial-and-error of manual tuning, the authors utilize Fast AutoAugment. This framework splits the dataset into folds, training a model on one fold and searching for augmentation policies that align the distribution of other folds with the training data.

The Fast AutoAugment pipeline for searching and merging optimal augmentation policies.

This approach is approximately 1,000x faster than the original AutoAugment because it eliminates the need to retrain models from scratch for every search iteration.

Datasets and Evaluation

The primary benchmark for this study is DOTA-v2.0, a large-scale dataset for object detection in aerial images. It contains over 1.7 million instances across 18 categories, characterized by extremely small objects viewed from high altitudes.

Examples of aerial imagery from the DOTA dataset, highlighting the challenge of detecting small, densely packed objects.

Key Insights

  • Inverse Relationship: The automated search revealed that the optimal probability of applying an augmentation is inversely proportional to its magnitude (the number of objects pasted). High-magnitude augmentations require lower probabilities to prevent scene over-cluttering.
  • Naturalism vs. Performance: Interestingly, techniques like Gaussian blurring at the edges of pasted objects—intended to make them look more "natural"—actually decreased detection performance.
  • Automation Efficiency: Using Bayesian Optimization (TPE) allowed the framework to discover complex policies that would be nearly impossible to tune manually.

Results

The method was validated using both two-stage (Faster R-CNN) and one-stage (RetinaNet) detectors:

  • Faster R-CNN (ResNet50): $mAP_S$ improved by 20.6% (from 0.402 to 0.485).
  • RetinaNet (MobileNetV3): $mAP_S$ improved by 17.2% (from 0.122 to 0.143).

Overall mAP across all object sizes saw an improvement of 9-11% over the baseline.

Conclusion and Future Work

This research demonstrates that automated augmentation search can significantly mitigate the difficulties of small object detection. Future work may explore "context-aware" pasting to ensure objects are placed in logically consistent locations and investigate more advanced blending techniques to reduce edge artifacts.

Summary updated

BibTeX
@misc{yoon2025data,
  author = {DaeEun Yoon and Semin Kim and SangWook Yoo and Jongha Lee},
  title = {{Data Augmentation For Small Object using Fast AutoAugment}},
  year = {2025},
  eprint = {2506.08956},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.08956},
}
Figure