Fangyi Xie , Xiaoxuan Chen , Yifan Jing , Mei Li , Junhui Li , Longlian Zhao
{"title":"Wine variety traceability by data fusion of near-infrared(NIR) spectroscopy and mid-infrared (MIR) spectroscopy combined with GAF and ResNet","authors":"Fangyi Xie , Xiaoxuan Chen , Yifan Jing , Mei Li , Junhui Li , Longlian Zhao","doi":"10.1016/j.chemolab.2025.105468","DOIUrl":null,"url":null,"abstract":"<div><div>Wine varietal authentication is critical for ensuring quality and preventing market fraud. Spectroscopy method is commonly used for rapid and nondestructive analysis of wine varieties, but the method typically rely on one-dimensional(1D) spectrum inputs and conventional machine learning algorithms, limiting complex compositional feature capture and reducing classification accuracy. To address these challenges, this study proposes a novel wine varietal tracing approach integrating NIR and MIR spectroscopy, Gramian Angular Field (GAF) image encoding, and ResNet-based deep learning. The NIR and MIR spectra of 172 wine samples from three grape varieties: Cabernet Sauvignon, Merlot, and Cabernet Gernischt were collected. Spectral fusion and data augmentation techniques constructed fused spectra and expanded the dataset to 1720 samples. Then the 1D NIR, MIR, and fused spectra were transformed into two-dimensional(2D) images using GAF encoding, creating Gramian Angular Difference Field (GADF) and Gramian Angular Summation Field (GASF) representations. These images were fed into a deep residual network (ResNet) for varietal classification respectively. The designed ResNet architecture incorporates residual blocks and attention mechanisms, significantly enhancing feature extraction and classification performance. Experimental results show that the proposed model achieves 100 % classification accuracy on the test set, outperforming traditional machine learning methods and 1D-CNN. The result indicates that the integrating of infrared spectroscopy, GAF image encoding, and ResNet is a feasible approach for wine varietal tracing, providing a novel solution for food quality tracing analysis.</div></div>","PeriodicalId":9774,"journal":{"name":"Chemometrics and Intelligent Laboratory Systems","volume":"264 ","pages":"Article 105468"},"PeriodicalIF":3.7000,"publicationDate":"2025-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Chemometrics and Intelligent Laboratory Systems","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0169743925001534","RegionNum":2,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Wine varietal authentication is critical for ensuring quality and preventing market fraud. Spectroscopy method is commonly used for rapid and nondestructive analysis of wine varieties, but the method typically rely on one-dimensional(1D) spectrum inputs and conventional machine learning algorithms, limiting complex compositional feature capture and reducing classification accuracy. To address these challenges, this study proposes a novel wine varietal tracing approach integrating NIR and MIR spectroscopy, Gramian Angular Field (GAF) image encoding, and ResNet-based deep learning. The NIR and MIR spectra of 172 wine samples from three grape varieties: Cabernet Sauvignon, Merlot, and Cabernet Gernischt were collected. Spectral fusion and data augmentation techniques constructed fused spectra and expanded the dataset to 1720 samples. Then the 1D NIR, MIR, and fused spectra were transformed into two-dimensional(2D) images using GAF encoding, creating Gramian Angular Difference Field (GADF) and Gramian Angular Summation Field (GASF) representations. These images were fed into a deep residual network (ResNet) for varietal classification respectively. The designed ResNet architecture incorporates residual blocks and attention mechanisms, significantly enhancing feature extraction and classification performance. Experimental results show that the proposed model achieves 100 % classification accuracy on the test set, outperforming traditional machine learning methods and 1D-CNN. The result indicates that the integrating of infrared spectroscopy, GAF image encoding, and ResNet is a feasible approach for wine varietal tracing, providing a novel solution for food quality tracing analysis.
期刊介绍:
Chemometrics and Intelligent Laboratory Systems publishes original research papers, short communications, reviews, tutorials and Original Software Publications reporting on development of novel statistical, mathematical, or computer techniques in Chemistry and related disciplines.
Chemometrics is the chemical discipline that uses mathematical and statistical methods to design or select optimal procedures and experiments, and to provide maximum chemical information by analysing chemical data.
The journal deals with the following topics:
1) Development of new statistical, mathematical and chemometrical methods for Chemistry and related fields (Environmental Chemistry, Biochemistry, Toxicology, System Biology, -Omics, etc.)
2) Novel applications of chemometrics to all branches of Chemistry and related fields (typical domains of interest are: process data analysis, experimental design, data mining, signal processing, supervised modelling, decision making, robust statistics, mixture analysis, multivariate calibration etc.) Routine applications of established chemometrical techniques will not be considered.
3) Development of new software that provides novel tools or truly advances the use of chemometrical methods.
4) Well characterized data sets to test performance for the new methods and software.
The journal complies with International Committee of Medical Journal Editors'' Uniform requirements for manuscripts.