欢迎您访问《智慧农业(中英文)》官方网站! English

Smart Agriculture ›› 2026, Vol. 8 ›› Issue (4): 217-237.doi: 10.12133/j.smartag.SA202605017

• 信息处理与决策 • 上一篇    

LiteFocus-Net:面向玉米叶片病虫害小目标检测的三点式轻量化增强框架

杨玉1, 张轶博2, 毛波2, 章磊2()   

  1. 1. 南京林业大学机械电子工程学院,江苏 南京 210037,中国
    2. 南京财经大学计算机与人工智能学院,江苏 南京 210023,中国
  • 收稿日期:2026-05-12 出版日期:2026-07-30
  • 基金项目:
    国家重点研发计划项目(2024YFF1105504)
  • 作者简介:

    杨 玉,硕士研究生,研究方向为智慧农业及装备。E-mail:;

    张轶博,研究方向为人工智能应用。E-mail:

    杨玉、张轶博为并列第一作者

  • 通信作者:
    章 磊,硕士,实验师,研究方向为智慧农业及装备。E-mail:

LiteFocus-Net: A Three-Point Lightweight Enhancement Framework for Small-Target Detection of Corn Leaf Diseases and Pests

YANG Yu1, ZHANG Yibo2, MAO Bo2, ZHANG Lei2()   

  1. 1. College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
    2. School of Computer Science and Artificial Intelligence, Nanjing University of Finance and Economics, Nanjing 210023, China
  • Received:2026-05-12 Online:2026-07-30
  • Foundation items:National Key Research and Development Program of China(2024YFF1105504)
  • About author:

    YANG Yu, E-mail: ;

    ZHANG Yibo, E-mail:

  • Corresponding author:
    ZHANG Lei, E-mail:

摘要:

【目的/意义】 玉米叶片病虫害早期目标通常具有尺度小、纹理弱、背景复杂以及类间差异不明显等特点,现有轻量化检测模型在田间复杂环境和边缘设备部署条件下难以兼顾检测精度与计算效率。为提高复杂田间环境下玉米叶片病虫害小目标识别能力,提出一种三点式轻量化增强框架LiteFocus-Net。 【方法】 以YOLOv11n为基础模型,从特征提取、细节恢复和损失优化3个方面进行改进。首先,设计自适应核轻量化模块(Adaptive Kernel Lightweight Block, AKL-Block),利用轻量化门控机制在3×3、5×5和7×7深度可分离卷积核之间进行动态选择,提高模型对不同尺度病虫害目标的特征提取能力;其次,提出特征分解重构模块(Feature Decomposition and Reconstruction, FDR),将深层特征划分为结构分支和细节分支,并采用轻量化亚像素重构方式恢复小目标边缘、纹理和局部轮廓信息;最后,提出尺度感知梯度增强损失(Scale-Aware Gradient Boosting Loss, SAGB-Loss),结合特征层级权重和目标面积连续增强因子,提升小目标样本在训练过程中的梯度贡献。 【结果和讨论】 在包含10 324张田间玉米叶片图像、8类病虫害目标的数据集上进行实验验证。LiteFocus-Net的mAP@0.5达到74.97%,相比YOLOv11n提升2.77个百分点;小目标检测精度AP_s由28.10%提升至32.77%,提升4.67个百分点。消融实验表明,AKL-Block、FDR和SAGB-Loss分别从多尺度特征表达、深层细节恢复和训练梯度优化方面发挥作用,三者协同提升了模型对微小病斑、虫卵和孢子簇等弱特征目标的检测能力。同时,模型参数量仅为2.52 M,计算量为5.3 GFLOPs,较YOLOv11n降低15.9%,且中、大目标检测性能保持稳定。 【结论】 LiteFocus-Net能够在较低计算开销下提升玉米叶片病虫害小目标检测性能,在精度和轻量化之间取得较好平衡,可为无人机巡检、农业机器人和边缘智能植保设备提供有效的视觉检测方法。

关键词: 病虫害检测, 小目标检测, 轻量化模型, YOLOv11n, 自适应卷积核选择, 特征重构

Abstract:

[Objective] Early detection of corn leaf diseases and pests is important for field monitoring, precision pesticide application, and yield protection. In practical field environments, early lesions, insect bodies, eggs, and spore clusters often occupy only a very small part of the image. Their visual appearance is affected by weak texture, irregular shape, and complex backgrounds, making the visual boundary between disease targets and normal leaf tissue less distinguishable. When lightweight detectors based on the YOLO series are applied, fixed convolution kernels lack flexibility for targets with large scale differences. After repeated downsampling, small objects lose representation in deep feature maps, while larger targets dominate the regression loss. These factors make it difficult to balance detection accuracy and deployment efficiency on edge devices. To improve the recognition capability for small targets under complex field conditions, LiteFocus-Net, a lightweight enhancement framework, was developed based on YOLOv11n. [Methods] The framework improved the baseline model from three closely related aspects: adaptive backbone feature extraction, deep feature detail recovery, and scale-aware regression supervision. In the backbone, an Adaptive Kernel Lightweight Block AKL-Block was designed to replace part of the original feature extraction structure. Instead of computing multiple convolution branches simultaneously during inference, AKL-Block used global average pooling and a lightweight gating module to estimate the selection probabilities of three candidate depthwise separable convolution kernels with different receptive fields. A Gumbel-Softmax strategy was used during training to keep the kernel selection process differentiable, while only the kernel with the highest selection probability is activated during inference. In this way, the model could adjust its effective receptive field according to the input feature distribution without introducing the redundant computation usually caused by parallel multi-branch structures. To alleviate the loss of small-object details in deep layers, a Feature Decomposition and Reconstruction module (FDR) was introduced after the P5 feature layer. The deep feature was divided into a structure branch and a detail branch. The structure branch was upsampled by bilinear interpolation to preserve global semantic information, such as leaf shape, lesion distribution, and large disease regions. The detail branch used a lightweight pixel-shuffle reconstruction operation to enhance local responses related to lesion edges, insect contours, and spore textures. The reconstructed feature was then fused with the corresponding P4 feature in the neck network, allowing the model to reuse deep semantic information while selectively strengthening detail-sensitive responses. For the regression loss, a Scale-Aware Gradient Boosting Loss, termed SAGB-Loss, was constructed to increase the training contribution of small targets. The loss combined feature-level weighting and target-area-aware weighting. The feature-level term assigned larger weights to shallow layers that are more closely related to small-object detection, while the area-aware term used a continuous exponential function to smoothly enhance the regression gradients of small targets. Experiments were carried out on a field corn leaf image dataset containing 10 324 images and eight categories of disease and pest targets. The dataset was divided into training, validation, and test subsets at a ratio of 6:2:2. [Results and Discussions] LiteFocus-Net achieved 74.97% mean average precision (mAP) at an Intersection over Union (IoU) threshold of 0.5, with 2.52 million parameters and 5.3 GFLOPs. Compared with the YOLOv11n baseline, the average precision for small objects (AP_s) increased from 28.1% to 32.77%, giving an improvement of 4.7 percentage points, while the computational cost decreased by 15.9%. Ablation experiments confirmed the contribution of each component. AKL-Block reduced the overall computational cost and improved small-target accuracy, FDR further enhanced detail-sensitive features from deep layers, and SAGB-Loss increased the regression contribution of small targets without causing an obvious decline in medium- and large-object detection. Comparisons with Inception-style and selective-kernel multi-scale modules showed that AKL-Block achieved a more favorable accuracy-complexity trade-off under lightweight deployment constraints. Comparisons with full-channel pixel-shuffle reconstruction also indicated that FDR provided a practical balance between detail recovery and additional computational cost. Deployment tests on RK3588 and Jetson Orin NX further showed that LiteFocus-Net maintained real-time inference capability after INT8 quantization, which indicated its potential for field inspection and agricultural edge intelligence applications. [Conclusions] The results suggest that LiteFocus-Net improves small-target detection of corn leaf diseases and pests without relying on a larger model scale. Future work will focus on expanding cross-region, cross-variety, and cross-growth-stage samples, and on exploring region-level dynamic kernel selection, video-based continuous detection, and weakly supervised annotation strategies to improve robustness in long-term field deployment.

Key words: disease and pest detection, small-target detection, lightweight model, YOLOv11n, adaptive kernel selection, feature reconstruction

中图分类号: