Predicting the flavor potential of green coffee beans with machine learning-assisted visible/near-infrared hyperspectral imaging (Vis-NIR HSI): Batch effect removal and few-shot learning framework

IF 6.3 1区 农林科学 Q1 FOOD SCIENCE & TECHNOLOGY Food Control Pub Date : 2025-09-01 Epub Date: 2025-03-19 DOI:10.1016/j.foodcont.2025.111310
Minping Wu , Zhuangwei Shi , Haiyu Zhang , Rui Wang , Jiayi Chu , Shao Quan Liu , Heming Zhang , Hai Bi , Weihua Huang , Rui Zhou , Chenhui Wang
{"title":"Predicting the flavor potential of green coffee beans with machine learning-assisted visible/near-infrared hyperspectral imaging (Vis-NIR HSI): Batch effect removal and few-shot learning framework","authors":"Minping Wu ,&nbsp;Zhuangwei Shi ,&nbsp;Haiyu Zhang ,&nbsp;Rui Wang ,&nbsp;Jiayi Chu ,&nbsp;Shao Quan Liu ,&nbsp;Heming Zhang ,&nbsp;Hai Bi ,&nbsp;Weihua Huang ,&nbsp;Rui Zhou ,&nbsp;Chenhui Wang","doi":"10.1016/j.foodcont.2025.111310","DOIUrl":null,"url":null,"abstract":"<div><div>The current study investigates the potential of machine learning-assisted visible/near-infrared hyperspectral imaging (Vis-NIR HSI) for rapid and non-invasive evaluation of the overall flavor quality of green coffee beans. Spectral data was subjected to preprocessing and machine learning (ML) batch effect removal. Multivariate statistical analysis and various ML classifiers were compared and optimized for pass/fail flavor quality grading following non-few-shot and few-shot learning frameworks. Involving the full training dataset, the non-few-shot learning binary grading model achieved 100% accuracy using linear discrimination analysis (LDA). The few-shot learning model trained with data from only four of the 13 coffee bean types yielded the highest discrimination accuracies of 99% and 97%, in the internal validation and external evaluation, respectively, using the ensemble learning algorithm of LightGBM. Furthermore, the incorporation of ML batch effect removal enhanced the few-shot learning LightGBM model accuracy by 27% in external evaluation. The results demonstrate that assisted by ML batch effect removal and classification, Vis-NIR HSI serves as a rapid, sensitive, robust, and practical tool for evaluating the flavor potential of green coffee beans, especially when labeled data for training is limited.</div></div>","PeriodicalId":319,"journal":{"name":"Food Control","volume":"175 ","pages":"Article 111310"},"PeriodicalIF":6.3000,"publicationDate":"2025-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Control","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0956713525001793","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/3/19 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

The current study investigates the potential of machine learning-assisted visible/near-infrared hyperspectral imaging (Vis-NIR HSI) for rapid and non-invasive evaluation of the overall flavor quality of green coffee beans. Spectral data was subjected to preprocessing and machine learning (ML) batch effect removal. Multivariate statistical analysis and various ML classifiers were compared and optimized for pass/fail flavor quality grading following non-few-shot and few-shot learning frameworks. Involving the full training dataset, the non-few-shot learning binary grading model achieved 100% accuracy using linear discrimination analysis (LDA). The few-shot learning model trained with data from only four of the 13 coffee bean types yielded the highest discrimination accuracies of 99% and 97%, in the internal validation and external evaluation, respectively, using the ensemble learning algorithm of LightGBM. Furthermore, the incorporation of ML batch effect removal enhanced the few-shot learning LightGBM model accuracy by 27% in external evaluation. The results demonstrate that assisted by ML batch effect removal and classification, Vis-NIR HSI serves as a rapid, sensitive, robust, and practical tool for evaluating the flavor potential of green coffee beans, especially when labeled data for training is limited.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用机器学习辅助的可见/近红外高光谱成像(Vis-NIR HSI)预测绿咖啡豆的风味潜力:批次效应去除和少量学习框架
目前的研究调查了机器学习辅助可见光/近红外高光谱成像(Vis-NIR HSI)在快速和无创评估绿咖啡豆整体风味质量方面的潜力。光谱数据经过预处理和机器学习(ML)批次效应去除。在非少射和少射学习框架下,比较和优化了多元统计分析和各种ML分类器的通过/不通过风味质量分级。在完整的训练数据集上,采用线性判别分析(LDA)实现了100%的准确率。使用LightGBM的集成学习算法,只使用13种咖啡豆类型中的4种数据训练的少射学习模型在内部验证和外部评估中分别获得了99%和97%的最高识别准确率。此外,在外部评估中,加入ML批次效应去除后,少镜头学习LightGBM模型的准确率提高了27%。结果表明,在ML批效应去除和分类的辅助下,Vis-NIR HSI是一种快速、敏感、稳健和实用的工具,可用于评估绿咖啡豆的风味潜力,特别是当用于训练的标记数据有限时。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Food Control
Food Control 工程技术-食品科技
CiteScore
12.20
自引率
6.70%
发文量
758
审稿时长
33 days
期刊介绍: Food Control is an international journal that provides essential information for those involved in food safety and process control. Food Control covers the below areas that relate to food process control or to food safety of human foods: • Microbial food safety and antimicrobial systems • Mycotoxins • Hazard analysis, HACCP and food safety objectives • Risk assessment, including microbial and chemical hazards • Quality assurance • Good manufacturing practices • Food process systems design and control • Food Packaging technology and materials in contact with foods • Rapid methods of analysis and detection, including sensor technology • Codes of practice, legislation and international harmonization • Consumer issues • Education, training and research needs. The scope of Food Control is comprehensive and includes original research papers, authoritative reviews, short communications, comment articles that report on new developments in food control, and position papers.
期刊最新文献
The Bacillus subtilis K6-Based strategy for zearalenone removal in corn germ meal: Pathway elucidation, toxicity evaluation, and practical application Utilization of sesame Maillard reaction products as natural anti-staling agent for bread: Dual control of flavor and texture deterioration Study on the CO2 tolerance of 'Fuji' apples at different canopy positions Effect of fat content on the inactivation of foodborne pathogens in pork sausage using 915 MHz microwave heating Artificial intelligence-driven improvements in fruits and vegetables processing fields: From detection online to future food design, from safety to personalized nutrition
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1