基于改进YOLO v10n的虫情灯水稻害虫检测方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

广东省重点领域研发计划项目(2023B0202100001)和国家重点研发计划项目(2017YFD0701700)


Rice Pest Detection Method for Insecticidal Lamps Based on Improved YOLO v10n
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对虫情测报杀虫灯下稻田害虫检测任务中害虫目标体积小、形态多样、堆积重叠所导致的检测精度低、速度慢等问题,提出一种基于改进YOLO v10n的识别方法(YOLO-FRP,即YOLO-Five Rice Pest)。引入BiFPN(Bi-directional feature pyramid network)结构以改善原有特征金字塔FPN(Feature pyramid net),增强模型对低级特征和高级特征的融合,并引入P2小目标层,提升多尺度信息感知能力。设计轻量级增强模块C2f_Star替换主干网络中的浅层C2f模块,移植YOLO v10s的C2fCIB模块替换主干网络中的深层C2f,在增强多尺度检测精度的同时降低计算量。结果表明,改进模型的平均精度均值mAP@0.5为82.1%、召回率为79.5%、参数量为1.64×106、模型内存占用量为4.3MB。为了进一步实现模型高实时性检测与轻量化部署,采用蒸馏-剪枝联合策略,将结合EMA注意力机制和C2f_DySnakeConv动态蛇形卷积模块改进后的YOLO v10s模型作为教师模型,通过L2正则化蒸馏提高已改进YOLO v10n模型性能,再采用基于层自适应幅度的剪枝策略降低模型参数量。与YOLO v10n相比,经联合策略处理后模型mAP@0.5、召回率分别提升2.6、2.7个百分点,帧率提升158f/s,参数量和模型内存占用量分别下降65.64%、56.36%。实验对比结果表明,YOLO-FRP在精度和速度上综合表现优异,且蒸馏-剪枝联合策略可进一步在精度无损的情况下压缩模型规模,显著提升模型推理速度,为农业害虫实时监测精度-速度平衡提供技术参考。

    Abstract:

    Aiming to address the issues of low detection accuracy and slow speed in the task of detecting rice field pests under insect pest monitoring and control lamps, including small pest target size, morphological diversity, and stacked and overlapping pest clusters, a recognition method based on improved YOLO v10n (named YOLO-FRP, short for YOLO-five rice pest) was proposed. The bi-directional feature pyramid network (BiFPN) was introduced to improve the original feature pyramid network (FPN), reducing parameters for easier deployment while leveraging bidirectional feature propagation to enhance the model’s fusion of low-level and high-level features. Meanwhile, a P2 small-target layer was further integrated into the BiFPN to strengthen multi-scale feature fusion, boosting stronger contextual awareness of diverse target sizes. A lightweight enhancement module, C2f_Star, was designed to replace the shallow C2f modules in the backbone network to improve multi-scale detection accuracy and computational efficiency. Concurrently, the C2fCIB module from YOLO v10s was transplanted into the backbone to replace the deep C2f modules to reduce computational complexity while enhancing precision. The experimental results demonstrated that the improved model achieved mAP@0.5 of 82.1% and recall rate of 79.5%, with parameter count of 1.64×106 and model size of 4.3MB. To further achieve high real-time detection and lightweight deployment of the model, a joint distillation-pruning strategy was adopted. The improved YOLO v10s model, which was enhanced with the EMA attention mechanism and the C2f_DySnakeConv dynamic snake-shaped convolution module, was used as the teacher model. L2 regularization distillation was applied to enhance the performance of the YOLO-FRP model, and a layer-adaptive magnitude-based pruning strategy was further adopted to reduce the model’s parameter count. Compared with the YOLO v10n model, the pruned and distilled model achieved 2.6 percentage points higher mAP@0.5 and 2.7 percentage points higher recall rate, and its frame rate was raised by 158f/s;its parameter count and model size were decreased by 65.64% and 56.36% respectively. Comparative experiments on the self-built dataset confirmed the effectiveness of the proposed improvements. The YOLO-FRP model exhibited superior detection accuracy and speed for five rice pest species under insect-attracting lamps, which validated that the distillation-pruning strategy could further compress the model size without accuracy loss and significantly improve the inference speed, providing technical reference for balancing accuracy and speed in real-time agricultural pest monitoring.

    参考文献
    相似文献
    引证文献
引用本文

姜晟,郭鸿沛,王卫星,欧阳聪,杨尚林,叶云,黄志宏.基于改进YOLO v10n的虫情灯水稻害虫检测方法[J].农业机械学报,2025,56(11):550-559. JIANG Sheng, GUO Hongpei, WANG Weixing, OUYANG Cong, YANG Shanglin, YE Yun, HUANG Zhihong. Rice Pest Detection Method for Insecticidal Lamps Based on Improved YOLO v10n[J]. Transactions of the Chinese Society for Agricultural Machinery,2025,56(11):550-559.

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-05-15
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2025-11-10
  • 出版日期:
文章二维码