Improved YOLOv8 small object detection algorithm for UAV fire monitoring scenarios
Abstract
Unmanned aerial vehicle (UAV) high-altitude reconnaissance offers significant advantages in early fire monitoring, including broad field of view, operational flexibility, and rapid response. However, fire smoke and trapped individuals in aerial images are extremely small in size, with blurred and diffuse edges, and are susceptible to complex background occlusion and illumination variations, leading to high miss-detection rates in traditional object detection algorithms. To address these challenges, this paper proposes an improved YOLOv8 small object detection algorithm for UAV fire monitoring scenarios. First, an adaptive resolution input strategy (800×800 to 1024×1024) and a shallow high-resolution P2 detection head are introduced to construct a multi-scale feature detection system, effectively alleviating the feature disappearance problem of small objects during multiple down-sampling operations. Second, the SE (Squeeze-and- Excitation) channel attention mechanism is incorporated to enhance the model's channel response capability to diffuse smoke textures and weak semantic features while suppressing complex background interference. Additionally, mixup and copy-paste data augmentation strategies combined with loss function reweighting are employed to address sparse small object samples and inaccurate localization, and a low-threshold NMS strategy is adopted to optimize detection recall in dense scenes. Experimental results on the VisDrone2019 UAV aerial dataset show that the improved model achieves mAP@50 of 0.853, representing a significant improvement of 44 percentage points over the baseline YOLOv8, with detection accuracy improvements exceeding 70% for all small object categories. On the self-constructed UAV fire smoke dataset, the mAP reaches 0.82, with precision and recall of 0.88 and 0.85, outperforming the baseline YOLOv8 by 7 and 6 percentage points, respectively. Ablation studies further validate the effectiveness of each improvement strategy. The proposed method provides an effective technical solution for small object detection in UAV fire monitoring scenarios.