Comparative Analysis of CNN Architectures with Optuna-Assisted Hyperparameter Optimization for Classifying Drought-Stressed Soybean Seeds

IF 3 3区 农林科学 Q2 FOOD SCIENCE & TECHNOLOGY
Rustem Ustun, Banu Ulu, Muhammad Amjid, Burak Ulu, Bulent Uzun, Necati Çetin
{"title":"Comparative Analysis of CNN Architectures with Optuna-Assisted Hyperparameter Optimization for Classifying Drought-Stressed Soybean Seeds","authors":"Rustem Ustun,&nbsp;Banu Ulu,&nbsp;Muhammad Amjid,&nbsp;Burak Ulu,&nbsp;Bulent Uzun,&nbsp;Necati Çetin","doi":"10.1007/s12161-026-03204-7","DOIUrl":null,"url":null,"abstract":"<p>The reduction in soybean yield and quality due to drought makes rapid and non-destructive grading at the seed level critical. In this study, five genotypes × four irrigation treatments (20 classes) were discriminated using RGB images in a scalable DL pipeline. ResNet-18, ConvNeXt-Tiny/Base, DenseNet-121, and EfficientNet-B1 were trained using transfer learning. HPO was performed with Optuna, and the accuracy, F1 score, ROC-AUC, and resource consumption were reported. On a held-out test set that was disjoint from model selection, EfficientNet-B1 achieved the best accuracy of 94.8% (AUC = 0.9990), followed by DenseNet-121 96.2% (AUC = 0.9993), ResNet-18 92.9% (AUC = 0.9985), ConvNeXt-Base 92.1% (AUC = 0.9981) and ConvNeXt-Tiny 94.0% (AUC = 0.9985). In terms of efficiency, ResNet-18 was balanced at 2232 s and 46.9 MB, with the lowest inference latency (15.5 ms). Grad-CAM foci pointed to the hilum, edge contours, and shell texture. The results showed that 20-class genotype × irrigation discrimination is possible with high accuracy using RGB images, while Grad-CAM provided qualitative support that the models generally focused on seed-related regions rather than background areas. EfficientNet-B1 is recommended when the highest accuracy with a small model footprint is required, whereas ResNet-18 provides the lowest latency on the tested workstation and may be a suitable candidate for future edge-device benchmarking. These capabilities point to potential future directions, including rapid pre-screening prototypes, human-in-the-loop active learning, multi-location validation, on-device inference tests, and RGB+NIR fusion, which remain to be demonstrated.</p>","PeriodicalId":561,"journal":{"name":"Food Analytical Methods","volume":"19 10","pages":""},"PeriodicalIF":3.0000,"publicationDate":"2026-07-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Analytical Methods","FirstCategoryId":"97","ListUrlMain":"https://link.springer.com/article/10.1007/s12161-026-03204-7","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

The reduction in soybean yield and quality due to drought makes rapid and non-destructive grading at the seed level critical. In this study, five genotypes × four irrigation treatments (20 classes) were discriminated using RGB images in a scalable DL pipeline. ResNet-18, ConvNeXt-Tiny/Base, DenseNet-121, and EfficientNet-B1 were trained using transfer learning. HPO was performed with Optuna, and the accuracy, F1 score, ROC-AUC, and resource consumption were reported. On a held-out test set that was disjoint from model selection, EfficientNet-B1 achieved the best accuracy of 94.8% (AUC = 0.9990), followed by DenseNet-121 96.2% (AUC = 0.9993), ResNet-18 92.9% (AUC = 0.9985), ConvNeXt-Base 92.1% (AUC = 0.9981) and ConvNeXt-Tiny 94.0% (AUC = 0.9985). In terms of efficiency, ResNet-18 was balanced at 2232 s and 46.9 MB, with the lowest inference latency (15.5 ms). Grad-CAM foci pointed to the hilum, edge contours, and shell texture. The results showed that 20-class genotype × irrigation discrimination is possible with high accuracy using RGB images, while Grad-CAM provided qualitative support that the models generally focused on seed-related regions rather than background areas. EfficientNet-B1 is recommended when the highest accuracy with a small model footprint is required, whereas ResNet-18 provides the lowest latency on the tested workstation and may be a suitable candidate for future edge-device benchmarking. These capabilities point to potential future directions, including rapid pre-screening prototypes, human-in-the-loop active learning, multi-location validation, on-device inference tests, and RGB+NIR fusion, which remain to be demonstrated.

CNN架构与optuna辅助超参数优化在干旱胁迫下大豆种子分类中的比较分析
由于干旱导致大豆产量和品质下降,因此在种子一级进行快速和无损的分级至关重要。在可扩展的DL管道中,利用RGB图像对5个基因型× 4个灌溉处理(20类)进行了区分。使用迁移学习对ResNet-18、ConvNeXt-Tiny/Base、DenseNet-121和EfficientNet-B1进行训练。使用Optuna进行HPO,并报告准确性、F1评分、ROC-AUC和资源消耗。在与模型选择分离的测试集上,效率网- b1的准确率最高,为94.8% (AUC = 0.9990),其次是DenseNet-121 96.2% (AUC = 0.9993)、ResNet-18 92.9% (AUC = 0.9985)、ConvNeXt-Base 92.1% (AUC = 0.9981)和ConvNeXt-Tiny 94.0% (AUC = 0.9985)。在效率方面,ResNet-18达到了2232 s和46.9 MB的平衡,最低的推理延迟(15.5 ms)。Grad-CAM聚焦于门部、边缘轮廓和壳的纹理。结果表明,利用RGB图像可以高精度地进行20类基因型×灌水的判别,而Grad-CAM则提供了定性支持,表明模型一般关注种子相关区域而不是背景区域。当需要高精度且模型占用空间小时,建议使用EfficientNet-B1,而ResNet-18在测试工作站上提供最低延迟,可能是未来边缘设备基准测试的合适候选。这些功能指出了潜在的未来方向,包括快速预筛选原型、人在环主动学习、多位置验证、设备上推理测试以及RGB+NIR融合,这些仍有待验证。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Food Analytical Methods
Food Analytical Methods 农林科学-食品科技
CiteScore
6.00
自引率
3.40%
发文量
244
审稿时长
3.1 months
期刊介绍: Food Analytical Methods publishes original articles, review articles, and notes on novel and/or state-of-the-art analytical methods or issues to be solved, as well as significant improvements or interesting applications to existing methods. These include analytical technology and methodology for food microbial contaminants, food chemistry and toxicology, food quality, food authenticity and food traceability. The journal covers fundamental and specific aspects of the development, optimization, and practical implementation in routine laboratories, and validation of food analytical methods for the monitoring of food safety and quality.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信
小红书