TY - JOUR T1 - A Compact UAV Swarm Detection Network Using Depthwise Separable Convolution and Attention Mechanisms AU - Thabo Nkosi AU - Lerato Molefe AU - Sipho Dlamini AU - Ayanda Mokoena AU - Kabelo Ndlovu JF - Journal of Smart Farming, Precision Agriculture and Data Science Y1 - 2025 VL - 4 IS - 2 SP - 95 N2 - Addressing the challenges of insufficient detection precision and excessive computational demands in current anti-UAV systems, this study introduces a lightweight approach for detecting UAV swarms using You Only Look Once Version X (YOLOX). The technique applies depthwise separable convolution to streamline and refine the network structure, substantially decreasing the overall parameter count with only a minor trade-off in accuracy. In addition, a Squeeze-and-Excitation (SE) module is embedded within the backbone network to boost feature extraction performance. A Convolutional Block Attention Module (CBAM) is added to the feature fusion stage, allowing the network to prioritize key features while diminishing the influence of less relevant ones. Furthermore, Distance-IoU (DIoU) is used in place of Intersection over Union (IoU) in the regression loss computation to enhance model training, and data augmentation methods are used to enlarge the training dataset for superior detection performance. Experiments reveal that the proposed method achieves a mean Average Precision (mAP) of 82.32%, improving on the baseline by nearly 2% while requiring only about 1/10th the parameters of YOLOX-S and occupying a model size of 3.85 MB. Consequently, this solution offers a compact, high-accuracy model appropriate for deployment on diverse edge computing platforms.  UR - https://airpublications.com/j256369311 ER -