Aiming at real-time detection of UAVs, small UAV targets are easily missed and difficult to detect in complex backgrounds. To maintain high detection performance while reducing memory and computational costs, this paper proposes the SEB-YOLOv8s detection method. Firstly, the YOLOv8 network structure is reconstructed using SPD-Conv to reduce the computational burden and accelerate the processing speed while retaining more shallow features of small targets. Secondly, we design the AttC2f module and replace the C2f module in the backbone of YOLOv8s with it, enhancing the model’s ability to obtain accurate information and enriching the extracted relevant information. Finally, Bi-Level Routing Attention is introduced to optimize the Neck part of the network, reducing the model’s attention to interfering information and filtering it out. The experimental results show that the mAP50 of the proposed method reaches and the accuracy reaches , which are improvements of and , respectively, compared with the original model. The mAP50-95 is improved by , and the model’s occupied memory size only increases by 2.5 MB, effectively achieving high-accuracy real-time detection with low memory consumption.
The widespread application of drone technology has raised security concerns, as unauthorized drones can lead to illegal intrusions and privacy breaches. Traditional detection methods often fall short in balancing performance and lightweight design, making them unsuitable for resource-constrained scenarios. To address this, we propose the IASL-YOLO algorithm, which optimizes the YOLOv8s model to enhance detection accuracy and lightweight efficiency. First, we design the CFE-AFPN network to streamline the architecture while boosting feature fusion capabilities across non-adjacent layers. Second, we introduce the SIoU loss function to address the orientation mismatch issue between predicted and ground truth bounding boxes. Finally, we employ the LAMP pruning algorithm to compress the model. Experimental results on the Anti-UAV dataset show that the improved model achieves a 2.9% increase in Precision, a 6.8% increase in Recall, and 3.9% and 3.8% improvements in mAP50 and mAP50-95, respectively. Additionally, the model size is reduced by 75%, the parameter count by 78%, and computational workload by 30%. Compared to mainstream algorithms, IASL-YOLO demonstrates significant advantages in both performance and lightweight design, offering an efficient solution for drone detection tasks.
Anti-UAV detection is paramount for safeguarding airspace security. However, existing methodologies often exhibit low detection accuracy due to their inability to adaptively address target scale variations and complex backgrounds. To enhance detection precision, this paper introduces a UAV detection method founded on non-local feature learning. Initially, we design a Cross-scale Non-local Feature Interaction (CNFI) module. This module explicitly models long-range dependencies between features at disparate scales, thereby effectively integrating multi-scale information and adapting to target scale variations. Subsequently, a Non-local Feature Enhancement (NFE) module is proposed, which fuses global contextual information, acquired via non-local attention, with low-level structural cues such as gradients, to bolster the boundary and detail features of UAV targets amidst complex backgrounds. The proposed method was experimentally validated on the DUT-Anti-UAV and Det-Fly dataset. In comparison with the state-of-the-art model, our approach demonstrates improvements of 0.93%, 1.09%, and 2.12% in Precision (P), Recall (R), and mAP50 on DUT-Anti-UAV dataset, respectively. Experimental results affirm that our proposed enhancements yield superior performance in the anti-UAV detection task.