Abstract:To address the low detection accuracy caused by uneven target scale distribution in UAV aerial images under complex backgrounds, we propose an improved YOLOv11-based UAV-view object detection algorithm, MFAI-YOLO. First, we design a novel neck network, MBAFPN, which integrates a multi-branch auxiliary structure with a multi-scale convolution module to enhance feature fusion and target feature representation, and embeds a cross-scale spatial attention integration module to emphasize small-object discriminative features in complex backgrounds, thereby significantly boosting detection performance. Next, we incorporate an improved MambaOut structure to build the re-parameterized MU-C3k2 reinforcement module, strengthening the model’s ability to learn multi-scale targets. Finally, to improve the model’s adaptability to varying input distributions, we introduce a CTSA module, which combines a dynamic activation function with a spatial attention mechanism. Experiments on the VisDrone2019-DET dataset show that, compared with the baseline YOLOv11s, MFAI-YOLO achieves improvements of 1.6,2.0,1.6,1.4,2.2 and 1.3 percentage points in AP, AP50, AP75, APs, APm, and APl, respectively. Generalization experiments on the UAVDT dataset demonstrate a 3.2% increase in mAP@0.5 for small objects and occlusion scenarios. The results indicate that MFAI-YOLO is well-suited for real-world UAV-view applications, achieving high-precision detection for targets of different scales while maintaining detection speed.