PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 28, 2026Molecules0 citationsOpen Access

Key Indicator Detection and Authenticity Identification of Beer Based on Near-Infrared Spectroscopy Combined with Multi-Task Feature Extraction

View Full Paper
YWYongshun WeiGXGuiqing XiJLJinming Liu

Key Points

  • This research aims to develop a rapid method using near-infrared spectroscopy to detect key indicators and verify the authenticity of beer.
  • Utilized variable importance in projection for wavelength selection.
  • Employed multi-task learning strategies along with convolutional neural networks and long short-term memory networks.
  • Optimized model hyperparameters using a Bayesian optimization algorithm.
  • Established partial least squares regression and support vector machine regression models.
  • The MTL-based CNN-LSTM-MHA network significantly improved model generalization.
  • Achieved coefficients of determination (R2) of 0.996 and 0.997 for alcohol content and original wort concentration, respectively.
  • In an independent test set, R2 values were 0.995 and 0.991 with relative root mean square errors of 2.515% and 2.087%.
  • Achieved 100% classification accuracy across all datasets.

Abstract

To address traditional beer detection limitations, this study proposes a rapid NIRS-based method for detecting key indicators and verifying authenticity. Designing Single-task (STL) and Multi-task learning (MTL) strategies, it employs Variable Importance in Projection for wavelength selection. Deep spectral features were extracted utilizing a Multi-Head Attention (MHA)-fused Convolutional Neural Network (CNN-MHA), Long Short-Term Memory (LSTM-MHA), and hybrid CNN-LSTM-MHA networks. To further enhance model performance, the Bayesian Optimization Algorithm globally optimized network hyperparameters in STL, alongside hyperparameters and multi-task loss weights in MTL. Partial least squares regression, support vector machine regression, and partial least squares discriminant analysis models were established using these features. Results indicate that the MTL-based CNN-LSTM-MHA network effectively learns shared features across multiple tasks, significantly improving model generalization. Specifically, the coefficients of determination (R2) for alcohol content and original wort concentration in the validation set were 0.996 and 0.997, respectively, with relative root mean square errors (rRMSE) of 2.024% and 2.515%. In the independent test set, the R2 were 0.995 and 0.991, with rRMSE of 2.515% and 2.087%, respectively. Furthermore, 100% classification accuracy was achieved across all datasets. This method provides an efficient technical solution for beer market regulation and real-time detection in production processes.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Wei et al. (2026) studied this question.

synapsesocial.com/papers/69c771988bbfbc51511e1a14https://doi.org/10.3390/molecules31071083
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Multi-spectral fusion and self-attention mechanisms for Gentiana origin identification via near-infrared spectroscopy2024 · 7 citations
  2. 2A novel CNN-LSTM model with attention mechanism for online monitoring of moisture content in fluidized bed granulation process based on near-infrared spectroscopy2025 · 21 citations
  3. 3Combining different pre-processing and multivariate methods for prediction of soil organic matter by near infrared spectroscopy (NIRS) in Southern Brazil2022 · 37 citations
  4. 4Near infrared spectroscopy for simultaneous quantification of five chemical components in Arnebiae Radix (AR) with partial least squares and support vector machine algorithms2023 · 17 citations
  5. 5Portable NIR spectroscopy and PLS based variable selection for adulteration detection in quinoa flour2022 · 115 citations