A new training strategy: Coordinating distillation techniques for training lightweight weed detection model

IF 2.5 2区 农林科学 Q1 AGRONOMY Crop Protection Pub Date : 2025-04-01 Epub Date: 2025-01-18 DOI:10.1016/j.cropro.2025.107124
Peng Zhou , Yangxin Zhu , Chengqian Jin , Yixiang Gu , Yinuo Kong , Yazhou Ou , Xiang Yin , Shanshan Hao
{"title":"A new training strategy: Coordinating distillation techniques for training lightweight weed detection model","authors":"Peng Zhou ,&nbsp;Yangxin Zhu ,&nbsp;Chengqian Jin ,&nbsp;Yixiang Gu ,&nbsp;Yinuo Kong ,&nbsp;Yazhou Ou ,&nbsp;Xiang Yin ,&nbsp;Shanshan Hao","doi":"10.1016/j.cropro.2025.107124","DOIUrl":null,"url":null,"abstract":"<div><div>The excessive use of herbicides and the continuous growth of weeds pose a severe threat to agricultural production while also presenting potential environmental and public health risks. Site-Specific Weed Management effectively addresses this issue but relies heavily on real-time and accurate weed detection algorithms. This study innovatively proposed a new training strategy (TASA) to develop a lightweight weed detection algorithm based on YOLOv5. The heart of TASA's innovation was to alleviate information conflicts among multiple distillation techniques and between distillation techniques and student models and to stop distillation at the appropriate time. We used channel pruning technology to compress the model volume and introduced Knowledge Distillation (KD) during fine-tuning to recover the model performance maximally. Concurrently, TASA was used to coordinate multiple distillation techniques to assist in recovering the model training. The experimental results indicated that the volume of the Optimized YOLOv5s was reduced by 79.2% compared to the YOLOv5s, while the mean Average Precision (<em>mAP</em>) and F1-score (<em>F</em><sub>1</sub>) reached 97.4% and 95.1%, respectively, with only decreased by 1.2% and 1.5%. Additionally, the detection speed on the CPU increased by 86.64%, reaching 38.423 frames per second (<em>FP</em>S). Meanwhile, we had also developed an online detection system based on PyQt5 and deployed it on Raspberry Pi. The system detected weeds in real-time, achieving a <em>mAP</em> of 96.3% and an <em>FPS</em> of 25.521 when the input image resolution was 416 × 416.</div></div>","PeriodicalId":10785,"journal":{"name":"Crop Protection","volume":"190 ","pages":"Article 107124"},"PeriodicalIF":2.5000,"publicationDate":"2025-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Crop Protection","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S026121942500016X","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/18 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"AGRONOMY","Score":null,"Total":0}
引用次数: 0

Abstract

The excessive use of herbicides and the continuous growth of weeds pose a severe threat to agricultural production while also presenting potential environmental and public health risks. Site-Specific Weed Management effectively addresses this issue but relies heavily on real-time and accurate weed detection algorithms. This study innovatively proposed a new training strategy (TASA) to develop a lightweight weed detection algorithm based on YOLOv5. The heart of TASA's innovation was to alleviate information conflicts among multiple distillation techniques and between distillation techniques and student models and to stop distillation at the appropriate time. We used channel pruning technology to compress the model volume and introduced Knowledge Distillation (KD) during fine-tuning to recover the model performance maximally. Concurrently, TASA was used to coordinate multiple distillation techniques to assist in recovering the model training. The experimental results indicated that the volume of the Optimized YOLOv5s was reduced by 79.2% compared to the YOLOv5s, while the mean Average Precision (mAP) and F1-score (F1) reached 97.4% and 95.1%, respectively, with only decreased by 1.2% and 1.5%. Additionally, the detection speed on the CPU increased by 86.64%, reaching 38.423 frames per second (FPS). Meanwhile, we had also developed an online detection system based on PyQt5 and deployed it on Raspberry Pi. The system detected weeds in real-time, achieving a mAP of 96.3% and an FPS of 25.521 when the input image resolution was 416 × 416.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
一种新的训练策略:协调蒸馏技术训练轻量级杂草检测模型
除草剂的过度使用和杂草的持续生长对农业生产构成严重威胁,同时也构成潜在的环境和公共健康风险。特定地点杂草管理有效地解决了这个问题,但严重依赖于实时和准确的杂草检测算法。本研究创新性地提出了一种新的训练策略(TASA)来开发基于YOLOv5的轻量级杂草检测算法。TASA创新的核心是缓解多种蒸馏技术之间以及蒸馏技术与学生模型之间的信息冲突,并在适当的时候停止蒸馏。我们使用通道剪枝技术来压缩模型体积,并在微调过程中引入知识蒸馏(Knowledge Distillation, KD)来最大限度地恢复模型性能。同时,TASA被用于协调多种蒸馏技术,以帮助恢复模型训练。实验结果表明,优化后的YOLOv5s的体积比YOLOv5s减小了79.2%,而平均平均精度(mAP)和F1分数(F1)分别达到97.4%和95.1%,仅下降了1.2%和1.5%。此外,CPU的检测速度提高了86.64%,达到38.423帧/秒。同时,我们还开发了一个基于PyQt5的在线检测系统,并将其部署在树莓派上。系统实时检测杂草,在输入图像分辨率为416 × 416时,mAP为96.3%,FPS为25.521。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Crop Protection
Crop Protection 农林科学-农艺学
CiteScore
6.10
自引率
3.60%
发文量
200
审稿时长
29 days
期刊介绍: The Editors of Crop Protection especially welcome papers describing an interdisciplinary approach showing how different control strategies can be integrated into practical pest management programs, covering high and low input agricultural systems worldwide. Crop Protection particularly emphasizes the practical aspects of control in the field and for protected crops, and includes work which may lead in the near future to more effective control. The journal does not duplicate the many existing excellent biological science journals, which deal mainly with the more fundamental aspects of plant pathology, applied zoology and weed science. Crop Protection covers all practical aspects of pest, disease and weed control, including the following topics: -Abiotic damage- Agronomic control methods- Assessment of pest and disease damage- Molecular methods for the detection and assessment of pests and diseases- Biological control- Biorational pesticides- Control of animal pests of world crops- Control of diseases of crop plants caused by microorganisms- Control of weeds and integrated management- Economic considerations- Effects of plant growth regulators- Environmental benefits of reduced pesticide use- Environmental effects of pesticides- Epidemiology of pests and diseases in relation to control- GM Crops, and genetic engineering applications- Importance and control of postharvest crop losses- Integrated control- Interrelationships and compatibility among different control strategies- Invasive species as they relate to implications for crop protection- Pesticide application methods- Pest management- Phytobiomes for pest and disease control- Resistance management- Sampling and monitoring schemes for diseases, nematodes, pests and weeds.
期刊最新文献
Colletotrichum graminicola causing stalk rot of maize in northeast of China Flutriafol uptake and disease suppression in corn (Zea mays) via fungicide application at planting Age-stage, two-sex life table analysis reveals transgenerational lethal and sublethal impacts of Beauveria bassiana on Spodoptera frugiperda First report of Calonectria eucalypti and Neopestalotiopsis photiniae causing leaf blight on Callistemon rigidus Augmentative release of the predatory earwig combined with selective insecticides improves pest management in pak choi crops
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1