Abstract
Object detection from Unmanned Aerial Vehicles (UAVs) faces significant challenges due to the small size of targets and limited onboard computational resources. This paper proposes LAI-YOLOv5s, a lightweight aerial image object detection algorithm based on an improved YOLOv5s architecture. By introducing a new feature fusion method (DFM-CPFN), a VoVNet-inspired backbone module (VB), and a lightweight C3SFN module based on ShuffleNetV2, the proposed model achieves an 8.3% improvement in [email protected] on the VisDrone2019 dataset compared to the original YOLOv5s. LAI-YOLOv5s maintains a compact size of 6.3 MB and a real-time inference speed of 51.3 FPS, making it highly suitable for embedded deployment.
Introduction
Detecting objects from a drone’s perspective is notoriously difficult. Unlike ground-level photography, aerial images feature targets that are often small, dense, and viewed against complex backgrounds. Standard detection algorithms like YOLOv5 face a dual challenge: high-resolution feature maps required for small object detection are computationally expensive, yet UAV hardware constraints demand low-power, lightweight models. The authors address this by redesigning the network to prioritize spatial information preservation while slashing redundant parameters.
Methodology
The researchers modified the standard YOLOv5s architecture (shown below) in three significant ways to create LAI-YOLOv5s.
1. DFM-CPFN (Deep Feature Map Cross Path Fusion Network)
In standard models, spatial detail is often lost as the network goes deeper. The authors replaced the standard 20×20 detection head (intended for large objects) with a 160×160 high-resolution head. This new fusion path keeps high-resolution location information alive, specifically to help identify tiny objects in dense aerial scenes.
2. VB Module (Backbone Improvement)
Inspired by VoVNet, the authors designed a "VB module" to replace standard C3 modules in the backbone. Instead of the dense, redundant connections found in models like DenseNet, the VB module aggregates features only once at the end. This maintains strong gradient flow essential for learning while reducing redundant calculations and memory access costs.
3. C3SFN Module (Lightweighting)
To make the model truly "light," they integrated ideas from ShuffleNetV2. By using depthwise separable convolutions and channel shuffling within the new SFN modules, they replaced heavy bottleneck layers. This allows the network to communicate information across different data groups without the massive parameter count of traditional layers, reducing C3 module parameters by approximately 55.3%.
Key Results
The proposed LAI-YOLOv5s was evaluated on the VisDrone2019 and TinyPerson datasets, outperforming several industry-standard models:
- Accuracy: It achieved a 40.4% [email protected] on VisDrone2019, an 8.3% increase over the original YOLOv5s.
- Efficiency: Despite its superior accuracy, the model is only 6.3 MB, significantly smaller than YOLOv3 (61.5 MB) and even YOLOv5l.
- Real-time Performance: The model maintains a frame rate of 51.3 FPS, ensuring it is fast enough for real-time drone applications on embedded hardware.
Conclusion
LAI-YOLOv5s successfully bridges the gap between high-accuracy detection and lightweight deployment for UAVs. By focusing on spatial resolution preservation and efficient feature aggregation, the model provides a robust solution for small object detection. Future work will focus on improving robustness in adverse environmental conditions, such as heavy rain, fog, or low-light night scenes.
Summary updated