农业大数据学报 ›› 2026, Vol. 8 ›› Issue (2): 141-154.doi: 10.19788/j.issn.2096-6369.000145

• 数据智能 •    下一篇

AGLU-YOLO:轻量化柑橘叶片病害实时检测算法研究

肖吟枫1, 杨抒2,*()   

  1. 1 新疆农业大学计算机与信息工程学院乌鲁木齐 830052
    2 成都大学计算机学院成都 610106
  • 收稿日期:2026-12-11 接受日期:2026-03-09 出版日期:2026-06-26 发布日期:2026-06-26
  • 通讯作者: 杨抒,E-mail:yangshu@cdu.edu.cn
  • 作者简介:肖吟枫,E-mail:1746020957@qq.com

AGLU-YOLO: Research on Real-time Detection Algorithm of Lightweight Citrus Leaf Disease

XIAO YinFeng1, YANG Shu2,*()   

  1. 1 College of Computer and Information Engineering, Xinjiang Agricultural University, Urumqi 830052, China
    2 College of Computer Science, Chengdu University, Chengdu 610106, China
  • Received:2026-12-11 Accepted:2026-03-09 Published:2026-06-26 Online:2026-06-26

摘要:

针对柑橘叶部病害检测中精度不足、病斑细小易混淆、果园背景复杂等问题,提出一种轻量化检测算法(AGLU-YOLO)。该方法在主干网络C3k2模块中融合AdditiveBlock与卷积门控线性单元(CGLU)共同构成 C3k2_AdditiveBlock_CGLU 模块,前者以加性建模增强长程依赖与全局上下文表征,后者通过深度可分离3×3卷积与点卷积实现条件门控,抑制复杂纹理导致的误激活并强化小尺度病斑响应;同时在特征融合阶段加入AFCA注意力机制以提升跨层语义交互与多尺度鲁棒性。其次为满足边缘部署需求,采用LAMP分层重要度剪枝算法对通道/层级进行联合压缩,并进行轻量微调以恢复精度;随后将模型导出为ONNX并通过TensorRT实施算子融合与低精度推理优化,实现低时延、高吞吐的实时检测。通过在自制数据集实验验证,AGLU-YOLO在Precision、Recall与mAP@0.5指标上相较基线YOLOv11n分别提高3.1、4.4与5.1个百分点,且兼顾体积与识别速度,展现出更强的鲁棒性与多尺度病斑适应性,可有效满足柑橘叶病快速、准确识别的应用需求。

关键词: 柑橘叶病检测, 小目标检测, YOLOv11算法, 深度学习, CGLU

Abstract:

A lightweight detection algorithm (AGLU-YOLO) is proposed to solve the problems of insufficient accuracy, small lesions and complex orchard background in citrus leaf disease detection. This method fuses AdditiveBlock and Convolutional Gated Linear Unit (CGLU) in the C3k2 module of the backbone network to form the C3k2_AdditiveBlock_CGLU module. The former enhances long-range dependence and global context representation by additive modeling, and the latter realizes conditional gating by depthwise separable 3 × 3 convolution and point convolution to suppress false activation caused by complex texture and enhance small-scale lesion response. At the same time, the AFCA attention mechanism is added in the feature fusion stage to improve cross-layer semantic interaction and multi-scale robustness. Secondly, in order to meet the needs of edge deployment, the LAMP hierarchical importance pruning algorithm is used to jointly compress the channel / level, and a lightweight fine-tuning is performed to restore the accuracy; then the model is exported to ONNX and operator fusion and low-precision inference optimization are implemented through TensorRT to achieve real-time detection with low latency and high throughput. Through experimental verification on the self-made dataset, AGLU-YOLO improves the Precision, Recall and mAP @0.5 indexes by 3.1, 4.4 and 5.1 percentage points, respectively, compared with the baseline YOLOv11n, and takes into account the volume and recognition speed, showing stronger robustness and multi-scale lesion adaptability, which can effectively meet the application requirements of rapid and accurate identification of citrus leaf disease.

Key words: citrus leaf disease detection, small target detection, YOLOv11 algorithm, deep learning, CGLU