An Approach Based on Knowledge Distillation for Lightweight Defect Classification of Green Plums

Jinhai Wang;Wei Wang;Lan Liao;Lufeng Luo;Xuemin Lin;Xinan Zeng
{"title":"An Approach Based on Knowledge Distillation for Lightweight Defect Classification of Green Plums","authors":"Jinhai Wang;Wei Wang;Lan Liao;Lufeng Luo;Xuemin Lin;Xinan Zeng","doi":"10.1109/TAFE.2024.3488196","DOIUrl":null,"url":null,"abstract":"During the cultivation and growth of green plums, various defects frequently occur, potentially affecting their overall quality and economic value. Accurate classification and identification of these defects have become essential components of the harvesting process, particularly when employing smart agricultural equipment. These defects pose significant challenges to the yield and quality of green plums, making their precise detection crucial for ensuring optimal output and economic efficiency. However, most contemporary research on fruit defect classification and grading using artificial intelligence techniques primarily focuses on accuracy, often neglecting the constraints imposed by limited resources. This study addresses the aforementioned challenges by employing knowledge distillation techniques to optimize the performance of a lightweight model. Specifically, during the knowledge distillation process, the vision transformer model, known for its robust recognition capabilities, was selected as the teacher model. The lightweight MobileNetv3 model, chosen for its ease of deployment, served as the student model and was trained using the Lion optimizer. In addition, the dual guidance learning module was designed to enhance knowledge transfer between the teacher and student models, thereby improving the overall capability of the student model. Experimental validation demonstrated that the proposed method excels in the green plum defect recognition task, with the student model, MobileNetv3, achieving an accuracy of 99.17% and exhibiting high performance in key metrics such as precision, recall, and F1-score. Notably, MobileNetv3 not only delivers exceptional performance but also features a low parameter count and computational complexity, facilitating its efficient deployment in practical applications. This study provides an effective and practical solution for the automatic identification and sorting of green plum defects, significantly advancing the development and application of smart agricultural technologies.","PeriodicalId":100637,"journal":{"name":"IEEE Transactions on AgriFood Electronics","volume":"3 1","pages":"213-223"},"PeriodicalIF":0.0000,"publicationDate":"2025-01-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on AgriFood Electronics","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10826582/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

During the cultivation and growth of green plums, various defects frequently occur, potentially affecting their overall quality and economic value. Accurate classification and identification of these defects have become essential components of the harvesting process, particularly when employing smart agricultural equipment. These defects pose significant challenges to the yield and quality of green plums, making their precise detection crucial for ensuring optimal output and economic efficiency. However, most contemporary research on fruit defect classification and grading using artificial intelligence techniques primarily focuses on accuracy, often neglecting the constraints imposed by limited resources. This study addresses the aforementioned challenges by employing knowledge distillation techniques to optimize the performance of a lightweight model. Specifically, during the knowledge distillation process, the vision transformer model, known for its robust recognition capabilities, was selected as the teacher model. The lightweight MobileNetv3 model, chosen for its ease of deployment, served as the student model and was trained using the Lion optimizer. In addition, the dual guidance learning module was designed to enhance knowledge transfer between the teacher and student models, thereby improving the overall capability of the student model. Experimental validation demonstrated that the proposed method excels in the green plum defect recognition task, with the student model, MobileNetv3, achieving an accuracy of 99.17% and exhibiting high performance in key metrics such as precision, recall, and F1-score. Notably, MobileNetv3 not only delivers exceptional performance but also features a low parameter count and computational complexity, facilitating its efficient deployment in practical applications. This study provides an effective and practical solution for the automatic identification and sorting of green plum defects, significantly advancing the development and application of smart agricultural technologies.
基于知识蒸馏的青梅轻量化缺陷分类方法
青梅在栽培和生长过程中,经常出现各种缺陷,可能影响青梅的整体品质和经济价值。准确分类和识别这些缺陷已成为收获过程的重要组成部分,特别是在使用智能农业设备时。这些缺陷对青梅的产量和质量构成了重大挑战,因此对其进行精确检测对于确保青梅的最佳产量和经济效益至关重要。然而,目前大多数利用人工智能技术对水果缺陷进行分类和分级的研究主要集中在准确性上,往往忽视了资源有限所带来的约束。本研究通过使用知识蒸馏技术来优化轻量级模型的性能,解决了上述挑战。具体而言,在知识提炼过程中,选择具有鲁棒识别能力的视觉转换器模型作为教师模型。选择轻量级的MobileNetv3模型是因为它易于部署,作为学生模型,并使用Lion优化器进行训练。此外,设计双导学习模块,增强师生模型之间的知识转移,从而提高学生模型的整体能力。实验验证表明,该方法在青梅缺陷识别任务中表现优异,以学生模型MobileNetv3为例,准确率达到99.17%,在准确率、查全率和f1分数等关键指标上表现优异。值得注意的是,MobileNetv3不仅提供了卓越的性能,而且具有低参数计数和计算复杂性,有助于其在实际应用中的有效部署。本研究为青梅缺陷的自动识别与分选提供了有效、实用的解决方案,对智慧农业技术的发展与应用具有重要的推动作用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信