Active Learning for Single-Stage Object Detection in UAV Images

Asma Yamani, Albandari Alyami, Hamzah Luqman, Bernard Ghanem, Silvio Giancola

Abstract

Training high-performance object detectors for Unmanned Aerial Vehicles (UAVs) is often limited by the prohibitive cost of manual data annotation. UAV datasets are characterized by massive volumes, small object sizes, and extreme class imbalances. This paper introduces an active learning framework designed for single-stage detectors like YOLOv7. The framework employs Diverse Uncertainty Aggregation (DUA) to prioritize informative images across multiple object categories and Weighting by Random subset Performance (WRP) to address class imbalance. Experimental results on the VisDrone2019 benchmark show that the proposed approach achieves near-peak accuracy (92.6% of full-dataset mAP) while labeling only 25% of the images and 32% of the object instances.

Introduction

The proliferation of Unmanned Aerial Vehicles (UAVs) in fields such as agriculture, surveillance, and disaster management has led to an explosion of visual data. Real-time processing of this data requires efficient "single-stage" object detectors (e.g., YOLO). However, the performance of these models is heavily dependent on large-scale annotated datasets, which are expensive and time-consuming to produce. UAV imagery presents specific hurdles: high-altitude perspectives result in tiny objects, complex backgrounds create localization challenges, and natural scenes exhibit severe class imbalances where common objects like cars vastly outnumber rare ones like tricycles. Standard training often ignores these "long-tail" classes, leading to poor generalization.

Methodology

The proposed framework optimizes the active learning (AL) loop by refining the image selection process for human annotation, focusing on diversity and performance-based weighting.

  1. Diverse Uncertainty Aggregation (DUA): Traditional AL methods often select images based on the sum of uncertainties of all detected objects. This approach tends to select "crowded" scenes (e.g., dense parking lots) which may contain redundant information. DUA addresses this by calculating the average uncertainty per class within an image and then summing these class-level averages. This strategy ensures that selected images are informative across a variety of object types rather than just the most frequent ones.
  2. Weighting by Random subset Performance (WRP): To mitigate class imbalance, the framework evaluates the model's current mean Average Precision (mAP) on a small validation set. Uncertainty scores for classes where the model performs poorly are assigned higher weights. This mechanism "steers" the labeling effort toward instances of rare or difficult classes.
Overview of the Active Learning framework for UAV object detection, highlighting the integration of DUA and WRP within the training loop.

Experimental Results

The framework was evaluated on the VisDrone2019 dataset, a challenging UAV benchmark with 10 categories and significant object density. The DUA+WRP approach demonstrated superior label efficiency. On VisDrone2019, the model reached 0.253 mAP using only 25% of the images, compared to 0.273 mAP achieved with 100% of the data. Notably, this performance was reached by labeling only 32% of the total object instances, indicating that the framework successfully identifies the most informative samples. In comparison, a baseline "Random Selection" strategy achieved only 0.211 mAP at the same labeling budget.

Comparison of different uncertainty aggregation strategies. While 'Sum' favors high-density areas, DUA and DUA+WRP prioritize images with diverse and under-represented object classes.

The improvement was most pronounced in rare classes. For instance, in categories like "awning-tricycle" and "bicycle," the AL-trained model occasionally outperformed the full-dataset baseline by focusing on high-quality, diverse examples rather than noisy, redundant data.

Conclusion

This research highlights that diversity in training data is more critical than sheer volume for UAV object detection. By focusing on the "long tail" of rare objects through DUA and WRP, significant labeling costs can be avoided without sacrificing substantial model performance. Future work will focus on reducing the computational overhead of uncertainty estimation in massive unlabeled pools and exploring hybrid weighting strategies to further enhance robustness across different detector architectures.

Summary updated

BibTeX
@inproceedings{yamani2024active,
  author = {Asma Yamani and Albandari Alyami and Hamzah Luqman and Bernard Ghanem and Silvio Giancola},
  title = {{Active Learning for Single-Stage Object Detection in UAV Images}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00187},
}
Figure