Related Experiment Video
Updated: Apr 15, 2026

Using MazeSuite and Functional Near Infrared Spectroscopy to Study Learning in Spatial Navigation
Published on: October 8, 2011
Key Indicator Detection and Authenticity Identification of Beer Based on Near-Infrared Spectroscopy Combined with
Yongshun Wei1, Guiqing Xi1, Jinming Liu1
1College of Information and Electrical Engineering, Heilongjiang Bayi Agricultural University, Daqing 163319, China.
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.
More Related Videos
10:25Construction of Models for Nondestructive Prediction of Ingredient Contents in Blueberries by Near-infrared Spectroscopy Based on HPLC Measurements
Published on: June 28, 2016
06:50O-cresol Concentration Online Measurement Based On Near Infrared Spectroscopy Via Partial Least Square Regression
Published on: November 8, 2019
Related Concept Videos
IR Frequency Region: Fingerprint Region
Infrared (IR) Spectroscopy: Overview
Different compounds display unique properties due to their...
Applications of IR Spectroscopy: Overview
UV–Vis Spectroscopy: Beer–Lambert Law
IR and UV–Vis Spectroscopy of Aldehydes and Ketones
IR Spectrometers