SOD-YOLO: Enhancing YOLO-Based Detection of Small Objects in UAV Imagery

Peijun Wang, Jinhua ZhaoarXiv 2025 · DOI

Introduction

Detecting objects from an aerial perspective presents a unique set of challenges for computer vision. Unlike standard datasets where objects are typically prominent, Unmanned Aerial Vehicle (UAV) imagery is characterized by "small" and "tiny" objects—such as pedestrians or bicycles captured from significant altitudes. In the VisDrone dataset, for instance, over 75% of annotated objects occupy less than 0.1% of the total image area.

Standard one-stage detectors like YOLOv8 often struggle in these scenarios. As images pass through deep neural network layers, they are progressively downsampled to extract high-level semantic features. While this helps identify broad categories, it often "erases" the fine-grained spatial details—edges, textures, and boundaries—essential for identifying tiny objects. Additionally, traditional post-processing techniques frequently discard valid detections in crowded scenes. SOD-YOLO addresses these limitations through architectural and algorithmic enhancements.

Methodology: Architectural Enhancements

The authors propose three primary modifications to the YOLOv8-m framework to improve small object detection performance:

1. The P2 Small Object Detection Layer

Standard YOLOv8 utilizes three detection heads (P3, P4, P5) corresponding to different scales. SOD-YOLO introduces a fourth, higher-resolution head designated as P2. This layer operates on feature maps from earlier in the backbone, preserving the high-resolution spatial information that deeper layers typically lose. This acts as a "magnifying glass" for the network, allowing it to maintain detail for the smallest objects.

2. Attentional Scale Sequence Fusion (ASF)

Rather than simply concatenating feature maps from different scales, SOD-YOLO introduces a Scale Sequence (ScalSeq) module. This module treats multi-scale features as a sequence and employs 3D convolutions (1x1x1 kernel) to learn cross-scale semantic relationships. This is followed by an ASF attention block that utilizes channel and local attention to suppress background noise and emphasize informative features.

The SOD-YOLO architecture featuring the P2 detection head and Attentional Scale Sequence Fusion (ASF) modules.

3. Soft-NMS Integration

Traditional Non-Maximum Suppression (NMS) uses a "hard" threshold: if two bounding boxes overlap significantly, the one with the lower confidence score is deleted. In dense drone footage, such as parking lots or crowds, this leads to many false negatives. Soft-NMS instead decays the confidence score of overlapping boxes based on the degree of overlap, allowing the model to retain true positives that are physically close to one another.

Experimental Setup and Datasets

The model was evaluated on the VisDrone2019-DET dataset, which consists of 10,209 static images and over 260,000 video frames captured across various urban and rural environments in China. The dataset includes 10 categories (e.g., pedestrian, car, bus) and is known for extreme scale variance and a heavy dominance of tiny objects, making it the benchmark for UAV-based detection.

Key Results

SOD-YOLO demonstrates significant performance gains over the baseline YOLOv8-m and other state-of-the-art models:

  • Accuracy: mAP50:95 increased from 0.258 to 0.351 (a 36.1% relative improvement), while mAP50 rose from 0.436 to 0.526 (a 20.6% relative improvement).
  • Efficiency: Despite the additional detection head, SOD-YOLO (22.6M parameters) is more parameter-efficient than YOLOv8-m (25.8M) and YOLOv7-m (36.9M).
  • Qualitative Performance: Visual analysis confirms that SOD-YOLO successfully identifies distant vehicles and pedestrians in shadows that baseline models often miss or misclassify.
Performance comparison of SOD-YOLO against other state-of-the-art YOLO variants on the VisDrone dataset.

Conclusion and Future Work

The primary trade-off for the increased accuracy of SOD-YOLO is computational complexity. The addition of the P2 layer and the ASF mechanism increased the model's complexity from 78.7 GFLOPs to 94.9 GFLOPs. While the model is efficient relative to its accuracy class, this increased load may impact real-time performance on low-power edge devices typically mounted on small drones. Future research will focus on lightweight design and model compression to ensure these accuracy gains can be realized in real-time flight scenarios.

Summary updated

BibTeX
@misc{wang2025sod,
  author = {Peijun Wang and Jinhua Zhao},
  title = {{SOD-YOLO: Enhancing YOLO-Based Detection of Small Objects in UAV Imagery}},
  year = {2025},
  eprint = {2507.12727},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.12727},
}
Figure