Food supply chain demands accessible technologies for real-time freshness monitoring; however, current solutions lack efficient olfactory assessment capabilities. This paper presents a lightweight transformer for odor classification system designed for low-power food detection on edge devices. Specifically, the model processes gas resistance signals from a Bosch BME688 sensor. Evaluated through a case study involving coffee powders, a proxy for perishable goods, the proposed approach is rigorously benchmarked against off-the-shelf solutions under identical conditions. Our model improves classification accuracy and F1 score by 8%, while reducing the false positive rate by 9% compared to the baseline. Thus, the architectural simplifications reduce the complexity of the model while preserving temporal pattern recognition. Finally, this approach paves the way for integrating olfactory analysis into circular food infrastructures aimed at minimizing waste.

Sensing Odors: Food Classification Using a Lightweight Transformer

Rossoni, Marco;Stefanone, Alessandro;Colombo, Giorgio
2026-01-01

Abstract

Food supply chain demands accessible technologies for real-time freshness monitoring; however, current solutions lack efficient olfactory assessment capabilities. This paper presents a lightweight transformer for odor classification system designed for low-power food detection on edge devices. Specifically, the model processes gas resistance signals from a Bosch BME688 sensor. Evaluated through a case study involving coffee powders, a proxy for perishable goods, the proposed approach is rigorously benchmarked against off-the-shelf solutions under identical conditions. Our model improves classification accuracy and F1 score by 8%, while reducing the false positive rate by 9% compared to the baseline. Thus, the architectural simplifications reduce the complexity of the model while preserving temporal pattern recognition. Finally, this approach paves the way for integrating olfactory analysis into circular food infrastructures aimed at minimizing waste.
2026
Design Tools and Methods in Industrial Engineering V
9783032149527
9783032149534
Artificial Intelligence; Circular Food Systems; Electronic nose; Food Classification; Odor classification;
Artificial Intelligence, Circular Food Systems, Electronic nose, Food Classification, Odor classification
File in questo prodotto:
File Dimensione Formato  
ADM_2025.pdf

Accesso riservato

: Post-Print (DRAFT o Author’s Accepted Manuscript-AAM)
Dimensione 3.28 MB
Formato Adobe PDF
3.28 MB Adobe PDF   Visualizza/Apri
ADM_2025.pdf

embargo fino al 05/02/2027

: Post-Print (DRAFT o Author’s Accepted Manuscript-AAM)
Dimensione 5.03 MB
Formato Adobe PDF
5.03 MB Adobe PDF   Visualizza/Apri

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/11311/1305784
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact