
@Article{cmc.2025.074250,
AUTHOR = {Wang Cheng, Zhuodong Liu, Xiangyu Li},
TITLE = {Enhanced Lightweight Architecture for Real-Time Detection of Agricultural Pests and Diseases},
JOURNAL = {Computers, Materials \& Continua},
VOLUME = {87},
YEAR = {2026},
NUMBER = {2},
PAGES = {--},
URL = {http://www.techscience.com/cmc/v87n2/66581},
ISSN = {1546-2226},
ABSTRACT = {Smart pest control is crucial for building farm resilience and ensuring sustainable agriculture in the face of climate change and environmental challenges. To achieve effective intelligent monitoring systems, agricultural pest and disease detection must overcome three fundamental challenges: feature degradation in dense vegetation environments, limited detection capability for sub-<mml:math id="mml-ieqn-1"><mml:mn>32</mml:mn><mml:mo>×</mml:mo><mml:mn>32</mml:mn></mml:math> pixel targets, and inadequate bounding box regression for irregular pest morphologies. This study proposes YOLOv12-KMA, a novel detection framework that addresses these limitations through four synergistic architectural innovations, specifically optimized for agricultural environments. First, we introduce efficient multi-head attention (C3K2-EMA), which reduces noise interference by 41% through selective regional attention while maintaining <mml:math id="mml-ieqn-2"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo>⋅</mml:mo><mml:mi>n</mml:mi><mml:mo>⋅</mml:mo><mml:mi>d</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math> computational complexity vs. <mml:math id="mml-ieqn-3"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mi>n</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>⋅</mml:mo><mml:mi>d</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math> for standard attention. Second, we develop A2C2f-KAN modules embedding Kolmogorov-Arnold networks (KAN) with B-spline activation functions, achieving 15% better feature representation for small targets without global distortion. Third, we propose minimum point distance intersection over union (MPDIoU) loss that resolves aspect ratio degeneration issues in complete intersection over union (CIoU), accelerating convergence by 23% for irregular pest shapes. Fourth, we implement the dynamic sampling (DySample) module that reduces computational overhead by 72% while preserving 94% feature fidelity compared to conventional interpolation methods. Comprehensive validation on 8742 annotated agricultural images demonstrates significant improvements: 2.6 percentage point increase in mean average precision (mAP)@0.5 (91.0% <mml:math id="mml-ieqn-4"><mml:mo stretchy="false">→</mml:mo></mml:math> 93.6%), 3.2 percentage point gain in mAP@0.5:0.95, with precision and recall improvements of 4.8% and 2.4%, respectively. Statistical analysis confirms significance (<mml:math id="mml-ieqn-5"><mml:mi>p</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>0.001</mml:mn></mml:math>) with large effect sizes (<mml:math id="mml-ieqn-6"><mml:msup><mml:mi>η</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mn>0.78</mml:mn></mml:math>). The optimized architecture maintains real-time performance at 159 frames per second (FPS) on consumer hardware, enabling practical deployment in precision agriculture monitoring systems.},
DOI = {10.32604/cmc.2025.074250}
}



