Abstract
Unmanned Aerial Vehicle (UAV) target detection involves automatically labeling objects captured during flight based on meaningful features. Compared to traditional images, aerial images have a higher viewpoint and often contain small objects and clustered features. Recent studies have demonstrated the advantages of deep learning in recognizing UAV images. However, early methods often had overlapping convolutional layers, which render the original contextual information irrelevant. Besides, the imbalanced distribution of objects in the UAV field of view is prone to introduce biases in detector attention, which will weaken the model training. This paper proposes an improved YOLOv5 framework for extracting multiple contextual information and enhancing dense regions in UAV target detection. First, a context-aware module is introduced into DarkNet so that the multiple contextual information can be integrated skillfully. Additionally, we propose a novel context semantic fusion approach, which contributes to integrate the varying expansion rates and deformable convolutions. This method effectively expands the perception field and enhances the precision of object boundaries. Finally, a concatenated cross self-attention operation is designed on high-resolution images to focus on dense regions and extract contextual information from each pixel. Experimental results show improvements with average precision (AP50) of 5.9% and 3.89% on the VisDrone and UAVDT datasets, respectively. The findings demonstrate superior performance of the proposed method in UAV detection tasks and its potential application prospects.
Introduction
Detecting objects from a drone’s perspective presents unique challenges for standard computer vision models. Unlike typical ground-level photos, aerial images feature a "bird's-eye view" where objects are incredibly small, densely packed, and often surrounded by distracting backgrounds like complex pavement patterns or foliage. Standard YOLO (You Only Look Once) models often struggle in these environments due to fixed receptive fields and attention biases that lead to missed detections in dense clusters.
Proposed Methodology
The researchers introduced two primary architectural upgrades to the YOLOv5 baseline to address these issues: the Contextual-Aware Module (CAM) and Tandem Cross Self-Attention (TCSA).
Contextual-Aware Module (CAM)
Integrated into the DarkNet backbone, the CAM replaces standard convolutions with a combination of Dilated and Deformable convolutions. Dilated convolutions allow filters to "skip" pixels, expanding the receptive field without increasing parameter counts, which helps the model perceive broader context. Deformable convolutions allow the sampling grid to adapt to the actual shape of objects, refining boundary precision in cluttered scenes.
Tandem Cross Self-Attention (TCSA)
To capture global relationships without the high computational cost of standard self-attention on high-resolution images, the authors utilized Cross Self-Attention. This mechanism gathers context along horizontal and vertical "crossed" paths. By placing these in tandem, the model achieves a global understanding of the image with a smaller memory footprint, focusing the detector on dense regions while ignoring background noise.
Experimental Results
The model was evaluated on two industry-standard benchmarks:
- VisDrone: Features 10 categories in various urban environments. The proposed model achieved an AP50 of 50.8%, a 5.9% improvement over the YOLOv5 baseline.
- UAVDT: Focused on vehicle detection, where the model achieved an AP50 of 98.54%, marking a 3.89% improvement.
The model showed particularly strong gains in difficult categories like "pedestrian" and "motor," which are traditionally hard to spot from high altitudes.
Conclusion
By integrating multi-contextual information and enhancing attention on dense regions, the proposed framework significantly improves UAV target detection. While GPU memory remains a bottleneck for linking multiple attention modules, the current architecture offers a powerful balance of global context and local precision for aerial surveillance tasks.
Summary updated