Wine composition detection utilizing 1DCNN and the self-attention mechanism

被引:0
作者
Chen, Keda [1 ]
Wang, Shengwei [1 ]
Liu, Shenghui [1 ]
机构
[1] Northwest Normal Univ, Sch Comp Sci & Engn, Lanzhou 730000, Peoples R China
基金
中国国家自然科学基金;
关键词
Infrared spectroscopy; One-dimensional convolutional neural network; Self-attention mechanism; Self-encoder; TRANSFORMER; Transfer learning;
D O I
10.1016/j.vibspec.2025.103768
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
This study proposes a one-dimensional convolutional autoencoder model that incorporates self-attention mechanisms-1DCNN-ATTENTION-SAE. This model solves the problem of unstable prediction performance in quantitative modeling of multiple components in infrared spectroscopy, especially when dealing with complex nonlinear problems involving severe overlap of characteristic peak bands and difficulty in capturing high- dimensional nonlinear features. The model effectively captures long-term dependencies in infrared spectral data and is particularly suitable for the rapid detection of key components such as pH, total phenols, total sugars, and alcohol in wine. On the ATR-FTIR dataset of dry red wine, the proposed model demonstrates robust performance, achieving a root mean square error (RMSE) of 2.017 g/L and a coefficient of determination (R2) of 0.967 g/L. The RMSE represents the average prediction error across the chemical properties measured (pH, total phenols, total sugars, and alcohol). Similarly, the R2 value reflects the overall predictive accuracy of the model for these properties. Additionally, the 1DCNN-ATTENTION-SAE model was further optimized by integrating the DeepHealth algorithm, which is based on the TRANSFORMER structure, forming the hybrid DeepHealth & 1DCNN-ATTENTION-SAE feature fusion model. When applied to the near-infrared spectral dataset of open- source pharmaceuticals to predict bioactivity values, the hybrid model achieved an RMSE of 3.262 g/L and an R2 of 0.914 g/L, validating its transfer learning capability in handling "cross-instrument, cross-wavelength" infrared spectral data.
引用
收藏
页数:17
相关论文
共 24 条
  • [1] Chu X., 2022, Chemometric Methods in Analytical Spectroscopy Technology, DOI [10.1007/978-981-19-1625-0_1, DOI 10.1007/978-981-19-1625-0_1]
  • [2] Can spectroscopy geographically classify Sauvignon Blanc wines from Australia and New Zealand?
    Cozzolino, D.
    Cynkar, W. U.
    Shah, N.
    Smith, P. A.
    [J]. FOOD CHEMISTRY, 2011, 126 (02) : 673 - 678
  • [3] Metabisulfite interference in biosensing and Folin-Ciocalteu analysis of polyphenols
    de Albuquerque Gil, Dulce Martins
    Ferreira Rebelo, Maria Jose
    [J]. MICROCHIMICA ACTA, 2009, 167 (3-4) : 253 - 258
  • [4] Dhanoa M.S., 1994, J. Near Infrared Spec, V2, P43, DOI [10.1255/jnirs.30, DOI 10.1255/JNIRS.30]
  • [5] GARFIELD E, 1974, CURR CONTENTS, P5
  • [6] Evaluating the antioxidant capacity of wines: a laccase-based biosensor approach
    Gil, Dulce M. A.
    Rebelo, Maria J. F.
    [J]. EUROPEAN FOOD RESEARCH AND TECHNOLOGY, 2010, 231 (02) : 303 - 308
  • [7] THE EFFECT OF MULTIPLICATIVE SCATTER CORRECTION (MSC) AND LINEARITY IMPROVEMENT IN NIR SPECTROSCOPY
    ISAKSSON, T
    NAES, T
    [J]. APPLIED SPECTROSCOPY, 1988, 42 (07) : 1273 - 1284
  • [8] 1D convolutional neural networks and applications: A survey
    Kiranyaz, Serkan
    Avci, Onur
    Abdeljaber, Osama
    Ince, Turker
    Gabbouj, Moncef
    Inman, Daniel J.
    [J]. MECHANICAL SYSTEMS AND SIGNAL PROCESSING, 2021, 151
  • [9] Li Aloe, 2018, Comput. Syst. Appl., V27, P225
  • [10] Li Hua Li Hua, 2005, Scientia Agricultura Sinica, V38, P1250