| 注册
首页|期刊导航|智慧农业(中英文)|基于改进YOLOv10n的轻量化荔枝虫害小目标检测模型

基于改进YOLOv10n的轻量化荔枝虫害小目标检测模型

黎祖胜 唐吉深 匡迎春

智慧农业(中英文)2025,Vol.7Issue(2):146-159,14.
智慧农业(中英文)2025,Vol.7Issue(2):146-159,14.DOI:10.12133/j.smartag.SA202412003

基于改进YOLOv10n的轻量化荔枝虫害小目标检测模型

A Lightweight Model for Detecting Small Targets of Litchi Pests Based on Improved YOLOv10n

黎祖胜 1唐吉深 2匡迎春3

作者信息

  • 1. 湖南农业大学 信息与智能科学技术学院,湖南 长沙 410128,中国||河池学院 大数据与计算机学院,广西 河池 546300,中国
  • 2. 河池学院 大数据与计算机学院,广西 河池 546300,中国
  • 3. 湖南农业大学 信息与智能科学技术学院,湖南 长沙 410128,中国
  • 折叠

摘要

Abstract

[Objective]The accuracy of identifying litchi pests is crucial for implementing effective control strategies and promoting sus-tainable agricultural development.However,the current detection of litchi pests is characterized by a high percentage of small targets,which makes target detection models challenging in terms of accuracy and parameter count,thus limiting their application in real-world production environments.To improve the identification efficiency of litchi pests,a lightweight target detection model YOLO-LP(YOLO-Litchi Pests)based on YOLOv10n was proposed.The model aimed to enhance the detection accuracy of small litchi pest targets in multiple scenarios by optimizing the network structure and loss function,while also reducing the number of parameters and computational costs.[Methods]Two classes of litchi insect pests(Cocoon and Gall)images were collected as datasets for modeling in natural scenarios(sunny,cloudy,post-rain)and laboratory environments.The original data were expanded through random scaling,random panning,random brightness adjustments,random contrast variations,and Gaussian blurring to balance the category samples and enhance the robustness of the model,generating a richer dataset named the CG dataset(Cocoon and Gall dataset).The YOLO-LP model was constructed after the following three improvements.Specifically,the C2f module of the backbone network(Backbone)in YOLOv10n was optimized and the C2f_GLSA module was constructed using the global-to-local spatial aggregation(GLSA)module to focus on small targets and enhance the differentiation between the targets and the backgrounds,while simultaneously reducing the number of parameters and computation.A frequency-aware feature fusion module(FreqFusion)was introduced into the neck network(Neck)of YOLOv10n and a frequency-aware path aggregation network(FreqPANet)was designed to reduce the complexity of the model and address the problem of fuzzy and shifted target boundaries.The SCYLLA-IoU(SIoU)loss function replaced the Complete-IoU(CIoU)loss function from the baseline model to optimize the target localization accuracy and accelerate the convergence of the training process.[Results and Discussions]YOLO-LP achieved 90.9%,62.2%,and 59.5%for AP50,AP50:95,and AP-Small50:95 in the CG dataset,respectively,and 1.9%,1.0%,and 1.2%higher than the baseline model.The number of parameters and the computational costs were reduced by 13%and 17%,respectively.These results suggested that YOLO-LP had a high accuracy and lightweight design.Comparison experiments with different attention mechanisms validated the effectiveness of the GLSA module.After the GLSA mod-ule was added to the baseline model,AP50,AP50:95,and AP-Small50:95 achieved the highest performance in the CG dataset,reaching 90.4%,62.0%,and 59.5%,respectively.Experiment results comparing different loss functions showed that the SIoU loss function pro-vided better fitting and convergence speed in the CG dataset.Ablation test results revealed that the validity of each model improve-ment and the detection performance of any combination of the three improvements was significantly better than the baseline model in the YOLO-LP model.The performance of the models was optimal when all three improvements were applied simultaneously.Com-pared to several mainstream models,YOLO-LP exhibited the best overall performance,with a model size of only 5.1 MB,1.97 mil-lion parameters(Params),and a computational volume of 5.4 GFLOPs.Compared to the baseline model,the detection of the YOLO-LP performance was significantly improved across four multiple scenarios.In the sunny day scenario,AP50,AP50:95,and AP-Small50:95 increased by 1.9%,1.0%,and 2.0%,respectively.In the cloudy day scenario,AP50,AP50:95,and AP-Small50:95 increased by 2.5%,1.3%,and 1.3%,respectively.In the post-rain scenario,AP50,AP50:95,and AP-Small50:95 increased by 2.0%,2.4%,and 2.4%,respectively.In the laboratory scenario,only AP50 increased by 0.7%over the baseline model.These findings indicated that YOLO-LP achieved higher accuracy and robustness in multi-scenario small target detection of litchi pests.[Conclusions]The proposed YOLO-LP model could im-prove detection accuracy and effectively reduce the number of parameters and computational costs.It performed well in small target detection of litchi pests and demonstrated strong robustness across different scenarios.These improvements made the model more suit-able for deployment on resource-constrained mobile and edge devices.The model provided a valuable technical reference for small target detection of litchi pests in various scenarios.

关键词

荔枝/虫害检测/多场景/小目标/YOLOv10n/特征融合/注意力机制

Key words

litchi/pests detection/multi-scenario/small targets/YOLOv10n/feature fusion/attention mechanism

分类

信息技术与安全科学

引用本文复制引用

黎祖胜,唐吉深,匡迎春..基于改进YOLOv10n的轻量化荔枝虫害小目标检测模型[J].智慧农业(中英文),2025,7(2):146-159,14.

基金项目

国家自然科学基金(61972147) The National Natural Science Foundation of China(61972147) (61972147)

智慧农业(中英文)

2096-8094

访问量0
|
下载量0
段落导航相关论文