{"title":"基于知识蒸馏的青梅轻量化缺陷分类方法","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":"{\"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}","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}
An Approach Based on Knowledge Distillation for Lightweight Defect Classification of Green Plums
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.