Background: Coffee quality is strongly influenced by origin-related factors, or terroir, which shape chemical composition and sensory characteristics. In the specialty coffee sector, where authenticity, traceability, and flavour distinctiveness drive value, understanding the molecular basis of sensory attributes, particularly perceived intensity, is essential. Methods: This study combined analytical chemistry and explainable artificial intelligence to explore relationships between volatile composition, coffee origin, and sensory intensity. Roasted and ground single-origin coffees from five provenances were analysed using headspace solid-phase microextraction coupled with gas chromatography–mass spectrometry (HS-SPME/GC–MS). A Support Vector Machine (SVM) classifier discriminated coffee origins based on volatile profile, and SHapley Additive exPlanations (SHAP) identified key compounds. Ridge Regression (RR) was applied to predict sensory intensity values assigned by an expert panel. Results: The SVM model classified coffee origins with 91% accuracy, and SHAP analysis highlighted the volatiles most responsible for differentiation. RR predicted sensory intensity with R2 = 0.88 and RMSE = 0.38, linking molecular profiles with panel-assigned intensity scores. Conclusions: This approach connects molecular profile with packaging-declared aroma intensity, offering an indirect yet informative link to sensory perception and illustrating the potential of data-driven methods in sensory science. Overall, the proposed explainable AI approach provides a transparent and reproducible connection between chemical composition, sensory traits, and perceived quality. This strategy supports more objective and traceable quality assessment systems, aligning analytical precision with sensory expertise, which is an essential step toward the evolution of quality control in industrial applications.

Explainable Artificial Intelligence for Coffee Quality Control: From Coffee Origins to Aroma Intensity

Felizzato Giorgio
First
;
Bagnulo Eloisa;Botta Giorgia;Tapparo Giulia;Cordero Chiara;Cagliero Cecilia;Liberto Erica
;
Caratti Andrea
2026-01-01

Abstract

Background: Coffee quality is strongly influenced by origin-related factors, or terroir, which shape chemical composition and sensory characteristics. In the specialty coffee sector, where authenticity, traceability, and flavour distinctiveness drive value, understanding the molecular basis of sensory attributes, particularly perceived intensity, is essential. Methods: This study combined analytical chemistry and explainable artificial intelligence to explore relationships between volatile composition, coffee origin, and sensory intensity. Roasted and ground single-origin coffees from five provenances were analysed using headspace solid-phase microextraction coupled with gas chromatography–mass spectrometry (HS-SPME/GC–MS). A Support Vector Machine (SVM) classifier discriminated coffee origins based on volatile profile, and SHapley Additive exPlanations (SHAP) identified key compounds. Ridge Regression (RR) was applied to predict sensory intensity values assigned by an expert panel. Results: The SVM model classified coffee origins with 91% accuracy, and SHAP analysis highlighted the volatiles most responsible for differentiation. RR predicted sensory intensity with R2 = 0.88 and RMSE = 0.38, linking molecular profiles with panel-assigned intensity scores. Conclusions: This approach connects molecular profile with packaging-declared aroma intensity, offering an indirect yet informative link to sensory perception and illustrating the potential of data-driven methods in sensory science. Overall, the proposed explainable AI approach provides a transparent and reproducible connection between chemical composition, sensory traits, and perceived quality. This strategy supports more objective and traceable quality assessment systems, aligning analytical precision with sensory expertise, which is an essential step toward the evolution of quality control in industrial applications.
2026
15
9
1
18
https://www.mdpi.com/2304-8158/15/9/1543
Felizzato Giorgio, Bagnulo Eloisa, Botta Giorgia, Tapparo Giulia, Cordero Chiara, Navarini Luciano, Cagliero Cecilia, Liberto Erica, Caratti Andrea...espandi
File in questo prodotto:
File Dimensione Formato  
foods-15-01543.pdf

Accesso aperto

Tipo di file: PDF EDITORIALE
Dimensione 1.86 MB
Formato Adobe PDF
1.86 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/2318/2137211
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact