The presence of foreign bodies in packaged food is a serious concern for both final consumers (allergies, injuries, choking) and food manufacturers (reputation and economic losses). In particular, low-density plastics, glass and wood splinters are hard to detect even by the most advanced X-ray imagers. One solution is Machine-Learning-based Microwave Sensing (MLMWS): a non-invasive, contactless, and real-time method which uses a machine-learning (ML) classifier to analyze the scattered microwaves from the irradiated target object. In this paper, we want to extend our previous work about contaminant detection in cocoa-hazelnut spread jars by proposing an enhanced ML flow to increase the accuracy of the ML classifier. For the first time in this case study, we use a multi-class classifier, we train it with scattering parameters measured at multiple microwave frequencies, with a new pre-processing scaler, data augmentation, quantization-aware training and a pruning schedule. The results show a contaminant detection multi-class accuracy of 94.167% with a latency of 26μs when targeting an AMD/Xilinx Kria K26 FPGA. Finally, we released our datasets publicly to OpenML.

Enhanced Machine-Learning Flow for Microwave-Sensing Systems to Detect Contaminants in Food / Štitić, Bernardita; Urbinati, Luca; Di Guglielmo, Giuseppe; Carloni, Luca; Casu, Mario R.. - ELETTRONICO. - (2023), pp. 40-44. (Intervento presentato al convegno 2023 IEEE Conference on AgriFood Electronics (CAFE) tenutosi a Torino, Italy nel 25-27 September 2023) [10.1109/CAFE58535.2023.10291198].

Enhanced Machine-Learning Flow for Microwave-Sensing Systems to Detect Contaminants in Food

Urbinati, Luca;Casu, Mario R.
2023

Abstract

The presence of foreign bodies in packaged food is a serious concern for both final consumers (allergies, injuries, choking) and food manufacturers (reputation and economic losses). In particular, low-density plastics, glass and wood splinters are hard to detect even by the most advanced X-ray imagers. One solution is Machine-Learning-based Microwave Sensing (MLMWS): a non-invasive, contactless, and real-time method which uses a machine-learning (ML) classifier to analyze the scattered microwaves from the irradiated target object. In this paper, we want to extend our previous work about contaminant detection in cocoa-hazelnut spread jars by proposing an enhanced ML flow to increase the accuracy of the ML classifier. For the first time in this case study, we use a multi-class classifier, we train it with scattering parameters measured at multiple microwave frequencies, with a new pre-processing scaler, data augmentation, quantization-aware training and a pruning schedule. The results show a contaminant detection multi-class accuracy of 94.167% with a latency of 26μs when targeting an AMD/Xilinx Kria K26 FPGA. Finally, we released our datasets publicly to OpenML.
2023
979-8-3503-2711-3
File in questo prodotto:
File Dimensione Formato  
post-print 2a cafe.pdf

non disponibili

Descrizione: Articolo
Tipologia: 2a Post-print versione editoriale / Version of Record
Licenza: Non Pubblico - Accesso privato/ristretto
Dimensione 295.17 kB
Formato Adobe PDF
295.17 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
post-print accepted 2 cafe.pdf

accesso aperto

Descrizione: Author's accepted version
Tipologia: 2. Post-print / Author's Accepted Manuscript
Licenza: PUBBLICO - Tutti i diritti riservati
Dimensione 308.1 kB
Formato Adobe PDF
308.1 kB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11583/2985083