Hyperparameter optimization of apple leaf dataset for the disease recognition based on the YOLOv8

IF 4.8 Q1 AGRICULTURE, MULTIDISCIPLINARY
Yong-Suk Lee , Maheshkumar Prakash Patil , Jeong Gyu Kim , Yong Bae Seo , Dong-Hyun Ahn , Gun-Do Kim
{"title":"Hyperparameter optimization of apple leaf dataset for the disease recognition based on the YOLOv8","authors":"Yong-Suk Lee ,&nbsp;Maheshkumar Prakash Patil ,&nbsp;Jeong Gyu Kim ,&nbsp;Yong Bae Seo ,&nbsp;Dong-Hyun Ahn ,&nbsp;Gun-Do Kim","doi":"10.1016/j.jafr.2025.101840","DOIUrl":null,"url":null,"abstract":"<div><div>Apple leaf diseases have a major influence on apple productivity and quality, demanding a precise and efficient recognition system. Using the YOLOv8 family of object detection models, we created a disease recognition model for the apple leaf dataset in this study. The developed model was fine-tuned extensively by hyperparameter optimization to identify the best variant for practical deployment. Firstly, fine-tuning with different YOLOv8 series was conducted on an apple leaf dataset including various types of images. Among them, the YOLOv8s demonstrated the best balance with a fitness of 0.97171, a precision of 0.97082, a recall of 0.96837, a [email protected] of 0.98016, and an image processing speed of 1.58 ms. Further hyperparameter optimization was conducted using the One-Factor-At-a-Time (OFAT) and Random Search (RS) methods. In this case, the optimal settings determined as per the OFAT method were a batch size of 48, a learning rate of 0.01, a weight decay of 0.0005, a momentum of 0.963, and 200 epochs. These settings were adopted as the baseline for RS. RS then searched for 50 additional configurations; the best configuration, C34 (batch size of 48, learning rate of 0.0137, momentum of 0.9433, and weight decay of 0.0009), achieved a fitness score of 0.97688, a precision of 0.97797, a recall of 0.97295, and a [email protected] of 0.98257. The correlation analysis showed that learning rate and momentum significantly impacted the performance of the models. Overall, the C34 model demonstrates high accuracy, rapid processing speed, and robustness suitable for training real-time, large-scale apple leaf disease recognition.</div></div>","PeriodicalId":34393,"journal":{"name":"Journal of Agriculture and Food Research","volume":"21 ","pages":"Article 101840"},"PeriodicalIF":4.8000,"publicationDate":"2025-03-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Agriculture and Food Research","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S266615432500211X","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Apple leaf diseases have a major influence on apple productivity and quality, demanding a precise and efficient recognition system. Using the YOLOv8 family of object detection models, we created a disease recognition model for the apple leaf dataset in this study. The developed model was fine-tuned extensively by hyperparameter optimization to identify the best variant for practical deployment. Firstly, fine-tuning with different YOLOv8 series was conducted on an apple leaf dataset including various types of images. Among them, the YOLOv8s demonstrated the best balance with a fitness of 0.97171, a precision of 0.97082, a recall of 0.96837, a [email protected] of 0.98016, and an image processing speed of 1.58 ms. Further hyperparameter optimization was conducted using the One-Factor-At-a-Time (OFAT) and Random Search (RS) methods. In this case, the optimal settings determined as per the OFAT method were a batch size of 48, a learning rate of 0.01, a weight decay of 0.0005, a momentum of 0.963, and 200 epochs. These settings were adopted as the baseline for RS. RS then searched for 50 additional configurations; the best configuration, C34 (batch size of 48, learning rate of 0.0137, momentum of 0.9433, and weight decay of 0.0009), achieved a fitness score of 0.97688, a precision of 0.97797, a recall of 0.97295, and a [email protected] of 0.98257. The correlation analysis showed that learning rate and momentum significantly impacted the performance of the models. Overall, the C34 model demonstrates high accuracy, rapid processing speed, and robustness suitable for training real-time, large-scale apple leaf disease recognition.

Abstract Image

基于YOLOv8的苹果叶片数据超参数优化病害识别
苹果叶片病害对苹果产量和品质有重大影响,需要一个精确、高效的识别系统。本研究利用YOLOv8系列目标检测模型,建立了苹果叶片数据集的疾病识别模型。通过超参数优化对所建立的模型进行了广泛的微调,以确定实际部署的最佳变体。首先,在包含不同类型图像的苹果叶片数据集上,使用不同的YOLOv8系列进行微调。其中,YOLOv8s表现出最佳的平衡,适应度为0.97171,精度为0.97082,召回率为0.96837,[email protected]为0.98016,图像处理速度为1.58 ms。采用单因子-一次(OFAT)和随机搜索(RS)方法进一步进行超参数优化。在这种情况下,根据OFAT方法确定的最佳设置是批大小为48,学习率为0.01,权重衰减为0.0005,动量为0.963,epoch为200。采用这些设置作为RS的基线,然后RS搜索50个附加配置;最佳配置C34(批量大小为48,学习率为0.0137,动量为0.9433,权衰减为0.0009)的适应度得分为0.97688,精度为0.97797,召回率为0.97295,[email protected]为0.98257。相关分析表明,学习率和动量对模型的性能有显著影响。总体而言,C34模型具有较高的准确率、较快的处理速度和鲁棒性,适合于训练实时、大规模的苹果叶片病识别。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
5.40
自引率
2.60%
发文量
193
审稿时长
69 days
×
引用
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学术官方微信