ColMix - A Simple Data Augmentation Framework to Improve Object Detector Performance and Robustness in Aerial Images

Cuong Ly, Grayson Jorgenson, Dan Rosa de Jesus, Henry Kvinge, Adam Attarian, Yijing WatkinsarXiv 2023

Abstract

In the last decade, Convolutional Neural Network (CNN) and transformer-based object detectors have achieved high performance on a large variety of datasets. Though the majority of detection literature has developed this capability on datasets such as MS COCO, these detectors have still proven effective for remote sensing applications. Challenges in this particular domain, such as small numbers of annotated objects and low object density, hinder overall performance. In this work, we present a novel augmentation method, called collage pasting, for increasing the object density without a need for segmentation masks, thereby improving the detector performance. We demonstrate that collage pasting improves precision and recall beyond related methods, such as mosaic augmentation, and enables greater control of object density. However, we find that collage pasting is vulnerable to certain out-of-distribution shifts, such as image corruptions. To address this, we introduce two simple approaches for combining collage pasting with PixMix augmentation method, and refer to our combined techniques as ColMix. Through extensive experiments, we show that employing ColMix results in detectors with superior performance on aerial imagery datasets and robust to various corruptions.

Introduction

Object detection in aerial imagery, sourced from drones or satellites, presents unique challenges compared to standard computer vision tasks like MS COCO. In these scenarios, objects are typically small, sparse, and surrounded by vast background areas. For instance, in the xView dataset, target objects often occupy less than 2% of total pixels. This sparsity leads to a low signal-to-noise ratio, where models expend significant computational effort on empty background, and data scarcity, as high-resolution aerial annotations are costly.

While existing augmentations like Mosaic or Copy-Paste attempt to increase object density, they often introduce artificial edge artifacts that lead to overfitting or lack precise control over object distribution. Furthermore, these models frequently struggle with real-world image corruptions such as fog or sensor noise.

The ColMix Framework

To address these issues, we propose ColMix, a framework that combines "collage pasting" with PixMix robustness training.

Collage Pasting

Collage pasting intelligently increases object density by pasting "blocks" containing an object and its immediate context, rather than just a tight bounding box. This approach preserves local context and avoids the sharp pixel discontinuities that models can exploit to "cheat." The algorithm iteratively places these blocks into a target image until a user-defined Target Density is reached, offering fine-grained control over the training distribution.

Examples of images generated using collage pasting across various aerial contexts, demonstrating the ability to control object density and maintain local context.

Integration Strategies

We explore two primary methods for integrating collage pasting with PixMix, which blends images with complex fractal patterns to improve general robustness:

  • ColMix-A (Sequential): Training images undergo collage pasting followed immediately by PixMix augmentation in a single pipeline.
  • ColMix-B (Hierarchical): The model is first pre-trained on a dataset augmented with collage pasting and then fine-tuned using PixMix.
The ColMix-A and ColMix-B architectural pipelines. ColMix-A uses a sequential approach, while ColMix-B employs a hierarchical pre-training and fine-tuning strategy.

Experimental Setup

The framework was evaluated on two key benchmarks:

  • RarePlanes: Focused on aircraft detection in satellite imagery, including both real and synthetic data.
  • xView-39: A curated 39-class subset of the xView dataset, filtered to remove dominant classes like "buildings" and create a more balanced, challenging detection task.

Results and Discussion

ColMix consistently outperforms standard baselines and state-of-the-art augmentations like AugMix or Mosaic.

Accuracy Gains: On RarePlanes, ColMix-B improved Mean Average Precision (mAP) from 76.5 to 80.6. On the more difficult xView-39, mAP increased from 11.2 to 15.0.

Robustness: ColMix significantly enhances resilience to image corruptions (blur, noise, weather). On corrupted RarePlanes data, ColMix-A achieved a mAP of 56.3, compared to the baseline of 45.9.

Key Insights: * Context Preservation: Pasting blocks with surrounding pixels prevents the network from overfitting to artificial edges. * Robustness Trade-off: While collage pasting improves performance on clean data, it can increase vulnerability to corruptions. Integrating PixMix is essential to "regularize" the model and ensure generalized feature learning. * Efficiency: ColMix-B generally provides the optimal balance between clean-data accuracy and robustness.

Conclusion

ColMix provides a robust solution for the unique challenges of aerial object detection. By combining density-controlled collage pasting with fractal-based blending, it achieves superior performance and resilience. Future work includes optimizing the computational overhead of the pasting process and exploring its application in other sparse-data domains like medical microscopy.

Summary updated

BibTeX
@misc{ly2023colmix,
  author = {Cuong Ly and Grayson Jorgenson and Dan Rosa de Jesus and Henry Kvinge and Adam Attarian and Yijing Watkins},
  title = {{ColMix - A Simple Data Augmentation Framework to Improve Object Detector Performance and Robustness in Aerial Images}},
  year = {2023},
  eprint = {2305.13509},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.13509},
}
Figure