Enhanced Machine-Learning Flow for Microwave-Sensing Systems for Contaminant Detection in Food

Bernardita Štitić;Luca Urbinati;Giuseppe Di Guglielmo;Luca P. Carloni;Mario R. Casu
{"title":"Enhanced Machine-Learning Flow for Microwave-Sensing Systems for Contaminant Detection in Food","authors":"Bernardita Štitić;Luca Urbinati;Giuseppe Di Guglielmo;Luca P. Carloni;Mario R. Casu","doi":"10.1109/TAFE.2024.3421238","DOIUrl":null,"url":null,"abstract":"Combining data-driven machine learning (ML) with microwave sensing (MWS) makes it possible to analyze packaged food in real time without any contact and spot low-density contaminants (e.g., plastics or glass splinters) that current industrial food safety methods cannot detect. This is achieved by training ML classifiers on the scattered signal reflected by the target food product exposed to MWs. In this article, we present an enhanced ML flow to boost foreign body detection accuracy of ML classifiers in MWS systems. Innovations include assessing the performance of a multiclass classifier, training it with MW frequency pairs as features, data augmentation, a new preprocessing scaler suitable for the feature distributions in the datasets, quantization, and pruning. The final test results, obtained using our previously designed MWS system and collected dataset of contaminated hazelnut-cocoa spread jars, show a multiclass accuracy for the floating-point model of 96.5%, which corresponds to a binary-equivalent accuracy of 97.3%. This is an improvement of +3.3% against the binary classifier of the previous work. The quantized and pruned model, instead, reached a multiclass accuracy of 94.2%, or a binary accuracy of 95.4%, thus still improving the previous work by +1.4%. Also, we achieved a latency of 26 \n<inline-formula><tex-math>$\\mu$</tex-math></inline-formula>\ns on an AMD/Xilinx Kria K26 field programmable gate array (FPGA), a result which is ideal for high-throughput food production lines. Furthermore, we expand our latest work with supplementary details and experiments to further validate the proposed ML flow, including a comparative analysis against our prior results. Lastly, we share our datasets publicly on OpenML.","PeriodicalId":100637,"journal":{"name":"IEEE Transactions on AgriFood Electronics","volume":"2 2","pages":"181-189"},"PeriodicalIF":0.0000,"publicationDate":"2024-07-12","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/10596988/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Combining data-driven machine learning (ML) with microwave sensing (MWS) makes it possible to analyze packaged food in real time without any contact and spot low-density contaminants (e.g., plastics or glass splinters) that current industrial food safety methods cannot detect. This is achieved by training ML classifiers on the scattered signal reflected by the target food product exposed to MWs. In this article, we present an enhanced ML flow to boost foreign body detection accuracy of ML classifiers in MWS systems. Innovations include assessing the performance of a multiclass classifier, training it with MW frequency pairs as features, data augmentation, a new preprocessing scaler suitable for the feature distributions in the datasets, quantization, and pruning. The final test results, obtained using our previously designed MWS system and collected dataset of contaminated hazelnut-cocoa spread jars, show a multiclass accuracy for the floating-point model of 96.5%, which corresponds to a binary-equivalent accuracy of 97.3%. This is an improvement of +3.3% against the binary classifier of the previous work. The quantized and pruned model, instead, reached a multiclass accuracy of 94.2%, or a binary accuracy of 95.4%, thus still improving the previous work by +1.4%. Also, we achieved a latency of 26 $\mu$ s on an AMD/Xilinx Kria K26 field programmable gate array (FPGA), a result which is ideal for high-throughput food production lines. Furthermore, we expand our latest work with supplementary details and experiments to further validate the proposed ML flow, including a comparative analysis against our prior results. Lastly, we share our datasets publicly on OpenML.
用于食品污染物检测的微波传感系统的增强型机器学习流程
将数据驱动的机器学习(ML)与微波传感(MWS)相结合,可以对包装食品进行无接触实时分析,并发现当前工业食品安全方法无法检测的低密度污染物(如塑料或玻璃碎片)。这是通过对暴露在微波中的目标食品反射的散射信号训练 ML 分类器来实现的。在本文中,我们介绍了一种增强型 ML 流程,以提高 MWS 系统中 ML 分类器的异物检测精度。创新之处包括:评估多类分类器的性能、将微波频率对作为特征对其进行训练、数据增强、适合数据集特征分布的新预处理扩展器、量化和剪枝。最终测试结果显示,浮点模型的多类准确率为 96.5%,相当于二元等效准确率 97.3%。与之前的二进制分类器相比,提高了 3.3%。而经过量化和剪枝处理的模型的多分类准确率为 94.2%,二进制准确率为 95.4%,因此仍比之前的工作提高了 +1.4%。此外,我们还在 AMD/Xilinx Kria K26 现场可编程门阵列 (FPGA) 上实现了 26 美元/分钟的延迟,这一结果非常适合高通量食品生产线。此外,我们还通过补充细节和实验扩展了我们的最新工作,以进一步验证所提出的 ML 流程,包括与我们之前的结果进行比较分析。最后,我们在 OpenML 上公开分享我们的数据集。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信