{"title":"A new training strategy: Coordinating distillation techniques for training lightweight weed detection model","authors":"Peng Zhou, Yangxin Zhu, Chengqian Jin, Yixiang Gu, Yinuo Kong, Yazhou Ou, Xiang Yin, Shanshan Hao","doi":"10.1016/j.cropro.2025.107124","DOIUrl":null,"url":null,"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 (<ce:italic>mAP</ce:italic>) and F1-score (<ce:italic>F</ce:italic><ce:inf loc=\"post\">1</ce:inf>) 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 (<ce:italic>FP</ce:italic>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 <ce:italic>mAP</ce:italic> of 96.3% and an <ce:italic>FPS</ce:italic> of 25.521 when the input image resolution was 416 × 416.","PeriodicalId":10785,"journal":{"name":"Crop Protection","volume":"52 1","pages":""},"PeriodicalIF":2.5000,"publicationDate":"2025-01-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Crop Protection","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1016/j.cropro.2025.107124","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","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.
期刊介绍:
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.