基于DSDC-YOLO的小目标水稻害虫检测方法

    A DSDC-YOLO-based method for small-scale rice pest detection

    • 摘要:
      目的 针对水稻Oryza sativa L.害虫检测中小目标捕捉难、特征表达不足等问题,提出一种改进的水稻害虫检测方法——DSDC-YOLO,以提升复杂场景下小目标检测精度。
      方法 首先,为增强模型对稀疏长距离依赖和空间特征的建模能力,使用C3k2-DRB替换C3k2模块。其次,为了最大限度保留害虫的细节信息,将空间深度卷积SPDConv替换传统下采样。然后,为实现浅层细粒度信息与深层语义信息的高效交互,在检测头前集成动态门控融合机制。最后,为提升样本不平衡下的分类性能和检测框定位精度,设计CFW(Compound focal weighted IoU)损失函数。
      结果 试验结果表明,DSDC-YOLO在水稻害虫检测数据集上的准确率、召回率和mAP@0.5分别为86.7%、79.1%和86.4%,较YOLO11分别提升3.2、0.9和2.4个百分点。在多主流模型对比中,该方法整体性能优于YOLOv5、YOLOv8、YOLOv10等主流模型。针对小目标场景,DSDC-YOLO的mAP@0.5达到40.2%,并取得较高召回率,表现出更强的小目标检测能力。
      结论 DSDC-YOLO模型在强光过曝、弱光低光照等多种场景下均表现出较高的检测精度,在提升小害虫目标检测性能方面取得了可验证的改进效果,为农业水稻害虫智能识别提供了可复现的技术路径与应用参考。

       

      Abstract:
      Objective To address the challenges of small-object detection difficulty and insufficient feature representation in Oryza sativa L. (rice) pest identification, this study proposed an improved rice pest detection method, termed DSDC-YOLO, to enhance small-object detection accuracy in complex environments.
      Method First, the C3k2 module was replaced with the proposed C3k2-DRB to enhance the modeling of sparse long-range dependencies and spatial features. Second, spatial depth convolution (SPDConv) was employed instead of conventional downsampling to maximally preserve fine-grained pest details. Third, to enable efficient interaction between shallow fine-grained information and deep semantic features, a dynamic range gated fusion (DRGFusion) mechanism was integrated before the detection head. Finally, a compound focal weighted IoU (CFW) loss function was designed to improve classification performance under class imbalance and enhance bounding box localization accuracy.
      Result Experiment results demonstrated that DSDC-YOLO achieved precision, recall, and mAP@0.5 of 86.7%, 79.1%, and 86.4%, respectively, on the rice pest dataset, outperforming YOLO11 by 3.2, 0.9, and 2.4 percentage points. In comparisons with mainstream models, including YOLOv5, YOLOv8, and YOLOv10, the proposed method consistently delivered superior overall performance. For small object scenarios, DSDC-YOLO attained an mAP@0.5 of 40.2% with competitive recall, indicating enhanced capability in detecting small-scale targets.
      Conclusion The DSDC-YOLO model demonstrates robust detection performance under diverse conditions, including strong illumination and low-light environments. It achieves verifiable improvements in small pest detection and provides a reproducible technical framework and application reference for intelligent rice pest recognition in agriculture.

       

    /

    返回文章
    返回