Abstract:Mulberry leaf diseases cause significant degradation in leaf quality and yield reduction, adversely impacting silkworm cocoon production and constraining the high-quality development of the sericulture industry. Current challenges encompass low levels of intelligent disease identification, lagging prevention and control measures, and the inherent difficulty in extracting discriminative features from complex lesion morphologies, particularly for fine-scale disease spots. To address these limitations, a novel multi-disease recognition algorithm, YOLO v10s-MAD was proposed, integrating a Manhattan distance-based self-attention mechanism (MaSA) within a gated dual-branch structure. The backbone network of YOLO v10 was specifically optimized for mulberry disease imagery through the integration of a large selective kernel network (LSKNet). This module employed a dynamic large kernel selection mechanism to significantly enhance the model’s capability for capturing multi-scale lesion features while simultaneously mitigating computational redundancy. Furthermore, a newly designed neck network, MAD-Neck, was introduced. MAD-Neck incorporated the MaSA mechanism, which utilized Manhattan distance to compute attention weights more efficiently, focusing model capacity on salient pathological regions. It also integrated a multi-scale gated dual-branch module (MGDB), incorporating structural principles from the transformer architecture, to effectively fuse features across different scales and improve discrimination between subtle disease characteristics. To enhance robustness specifically for detecting small lesions, the normalized Wasserstein distance (NWD) loss function was adopted for bounding box regression, reducing sensitivity to minor localization deviations common with tiny targets. Comprehensive evaluations demonstrated that the enhanced model achieved 92.2% mAP50 and 76.8% mAP50:95, representing improvements of 2.2, 3.0 percentage points over the baseline, respectively, fulfilling practical deployment requirements for accurate mulberry disease identification.