Jun Peng, Song Li, Hui Li, Zhiwei Lan, Zhipeng Ma, Chao Xiang, Shoutai Li
{"title":"基于改进MobileNetV3的蘑菇种类分类与实现","authors":"Jun Peng, Song Li, Hui Li, Zhiwei Lan, Zhipeng Ma, Chao Xiang, Shoutai Li","doi":"10.1111/1750-3841.70186","DOIUrl":null,"url":null,"abstract":"<div>\n \n <section>\n \n \n <p>Current methods for mushroom species classification face limitations in generalization ability and lack exploration of model deployment. To address these issues, this study systematically compares five models, including Transformer and common convolutional neural networks. MobileNetV3 was chosen as the model for this study, combining transfer learning with the adaptive hybrid optimizer (AHO) and dynamic cyclic learning rate strategies proposed in this research. The AHO merges Adam's fast convergence with stochastic gradient descent's stable fine-tuning. It adjusts the learning rate dynamically based on training progress, enabling quick convergence early on and precise adjustments later. The optimized model was trained, validated, and deployed on a dataset constructed in this study, which includes 3633 images covering three types of mushrooms. The model achieved a validation accuracy of 98.13% and an average test accuracy of 97.98%, with the smallest standard deviation of validation loss fluctuation (0.0343), confirming the model's stability. Notably, due to the slightly larger number of images in the Matsutake training subset (1412 images) compared to the other two categories (1148 and 1073 images), the test accuracy for Matsutake (99.28%) was slightly higher than that for Red mushroom (96.97%) and Beefsteak mushroom (97.69%), highlighting a minor limitation. However, the recall and F1 scores for each class are balanced, suggesting that the model exhibits robust performance in addressing interclass similarities, as corroborated by t-SNE visualization and Grad-CAM analysis. Additionally, the study confirmed the feasibility of practical application through deployment on PC, Android, and embedded platforms, providing a guiding solution for laboratory research, wild mushroom picking, and automated mushroom sorting.</p>\n </section>\n \n <section>\n \n <h3> Practical Application</h3>\n \n <p>This study provides an AI model based on a lightweight neural network for identifying different mushroom species. It can be widely applied in scenarios such as mushroom harvesting, sorting, and research, helping farmers, consumers, and researchers easily and accurately identify mushroom varieties, thereby contributing to the development of the mushroom industry.</p>\n </section>\n </div>","PeriodicalId":193,"journal":{"name":"Journal of Food Science","volume":"90 4","pages":""},"PeriodicalIF":4.1000,"publicationDate":"2025-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Mushroom species classification and implementation based on improved MobileNetV3\",\"authors\":\"Jun Peng, Song Li, Hui Li, Zhiwei Lan, Zhipeng Ma, Chao Xiang, Shoutai Li\",\"doi\":\"10.1111/1750-3841.70186\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n <section>\\n \\n \\n <p>Current methods for mushroom species classification face limitations in generalization ability and lack exploration of model deployment. To address these issues, this study systematically compares five models, including Transformer and common convolutional neural networks. MobileNetV3 was chosen as the model for this study, combining transfer learning with the adaptive hybrid optimizer (AHO) and dynamic cyclic learning rate strategies proposed in this research. The AHO merges Adam's fast convergence with stochastic gradient descent's stable fine-tuning. It adjusts the learning rate dynamically based on training progress, enabling quick convergence early on and precise adjustments later. The optimized model was trained, validated, and deployed on a dataset constructed in this study, which includes 3633 images covering three types of mushrooms. The model achieved a validation accuracy of 98.13% and an average test accuracy of 97.98%, with the smallest standard deviation of validation loss fluctuation (0.0343), confirming the model's stability. Notably, due to the slightly larger number of images in the Matsutake training subset (1412 images) compared to the other two categories (1148 and 1073 images), the test accuracy for Matsutake (99.28%) was slightly higher than that for Red mushroom (96.97%) and Beefsteak mushroom (97.69%), highlighting a minor limitation. However, the recall and F1 scores for each class are balanced, suggesting that the model exhibits robust performance in addressing interclass similarities, as corroborated by t-SNE visualization and Grad-CAM analysis. Additionally, the study confirmed the feasibility of practical application through deployment on PC, Android, and embedded platforms, providing a guiding solution for laboratory research, wild mushroom picking, and automated mushroom sorting.</p>\\n </section>\\n \\n <section>\\n \\n <h3> Practical Application</h3>\\n \\n <p>This study provides an AI model based on a lightweight neural network for identifying different mushroom species. It can be widely applied in scenarios such as mushroom harvesting, sorting, and research, helping farmers, consumers, and researchers easily and accurately identify mushroom varieties, thereby contributing to the development of the mushroom industry.</p>\\n </section>\\n </div>\",\"PeriodicalId\":193,\"journal\":{\"name\":\"Journal of Food Science\",\"volume\":\"90 4\",\"pages\":\"\"},\"PeriodicalIF\":4.1000,\"publicationDate\":\"2025-04-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Food Science\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1111/1750-3841.70186\",\"RegionNum\":2,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"FOOD SCIENCE & TECHNOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Science","FirstCategoryId":"97","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/1750-3841.70186","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
Mushroom species classification and implementation based on improved MobileNetV3
Current methods for mushroom species classification face limitations in generalization ability and lack exploration of model deployment. To address these issues, this study systematically compares five models, including Transformer and common convolutional neural networks. MobileNetV3 was chosen as the model for this study, combining transfer learning with the adaptive hybrid optimizer (AHO) and dynamic cyclic learning rate strategies proposed in this research. The AHO merges Adam's fast convergence with stochastic gradient descent's stable fine-tuning. It adjusts the learning rate dynamically based on training progress, enabling quick convergence early on and precise adjustments later. The optimized model was trained, validated, and deployed on a dataset constructed in this study, which includes 3633 images covering three types of mushrooms. The model achieved a validation accuracy of 98.13% and an average test accuracy of 97.98%, with the smallest standard deviation of validation loss fluctuation (0.0343), confirming the model's stability. Notably, due to the slightly larger number of images in the Matsutake training subset (1412 images) compared to the other two categories (1148 and 1073 images), the test accuracy for Matsutake (99.28%) was slightly higher than that for Red mushroom (96.97%) and Beefsteak mushroom (97.69%), highlighting a minor limitation. However, the recall and F1 scores for each class are balanced, suggesting that the model exhibits robust performance in addressing interclass similarities, as corroborated by t-SNE visualization and Grad-CAM analysis. Additionally, the study confirmed the feasibility of practical application through deployment on PC, Android, and embedded platforms, providing a guiding solution for laboratory research, wild mushroom picking, and automated mushroom sorting.
Practical Application
This study provides an AI model based on a lightweight neural network for identifying different mushroom species. It can be widely applied in scenarios such as mushroom harvesting, sorting, and research, helping farmers, consumers, and researchers easily and accurately identify mushroom varieties, thereby contributing to the development of the mushroom industry.
期刊介绍:
The goal of the Journal of Food Science is to offer scientists, researchers, and other food professionals the opportunity to share knowledge of scientific advancements in the myriad disciplines affecting their work, through a respected peer-reviewed publication. The Journal of Food Science serves as an international forum for vital research and developments in food science.
The range of topics covered in the journal include:
-Concise Reviews and Hypotheses in Food Science
-New Horizons in Food Research
-Integrated Food Science
-Food Chemistry
-Food Engineering, Materials Science, and Nanotechnology
-Food Microbiology and Safety
-Sensory and Consumer Sciences
-Health, Nutrition, and Food
-Toxicology and Chemical Food Safety
The Journal of Food Science publishes peer-reviewed articles that cover all aspects of food science, including safety and nutrition. Reviews should be 15 to 50 typewritten pages (including tables, figures, and references), should provide in-depth coverage of a narrowly defined topic, and should embody careful evaluation (weaknesses, strengths, explanation of discrepancies in results among similar studies) of all pertinent studies, so that insightful interpretations and conclusions can be presented. Hypothesis papers are especially appropriate in pioneering areas of research or important areas that are afflicted by scientific controversy.