Related Experiment Video
Updated: Sep 24, 2026

Construction of Models for Nondestructive Prediction of Ingredient Contents in Blueberries by Near-infrared Spectroscopy Based on HPLC Measurements
Published on: June 28, 2016
Interpretable near-infrared spectroscopic classification of Baijiu grades using XGBoost and multi-level XAI
Guiyu Zhang1,2,3, Maohan Qin4,5,6, Kerong Chen1
1School of Automation & Information Engineering, Sichuan University of Science & Engineering, Yibin 644000, China. gyz_118@163.com.
Abstract:
Near-infrared (NIR) spectroscopy offers a rapid and non-destructive approach for Baijiu quality evaluation, but interpreting nonlinear spectral classifiers remains challenging because NIR bands are broad, overlapping, and highly collinear. This study applied an interpretable eXtreme Gradient Boosting (XGBoost)-based NIR strategy to Baijiu base liquor grade classification, with particular emphasis on characterizing the spectral response patterns underlying model decisions. A total of 482 samples from three production grades were analyzed. The stable-feature XGBoost model achieved 93.26% accuracy in repeated stratified cross-validation and retained useful discrimination performance under leakage-controlled, repeated hold-out, and production-batch-grouped validation, with a batch-grouped accuracy of 88.14%. To move beyond label prediction, Sobol sensitivity analysis, Shapley additive explanations (SHAP), accumulated local effects (ALE), and SHAP waterfall analysis were integrated to examine global sensitivity, grade-specific attribution, nonlinear response behavior, pairwise effects, and instance-level decision pathways. The interpretation results identified a shared discriminative anchor near 4663 cm-1, Grade 2-related contributions near 5812-5836 cm-1, and broader Grade 3-associated responses within 5800-6600 cm-1. ALE further showed nonlinear transitions, plateau behavior, and pairwise response surfaces, while waterfall analysis illustrated how competing local contributions led to an individual misclassification. These results indicate that Baijiu grade discrimination was governed by distributed and interaction-associated spectral patterns rather than isolated single-band responses. The identified regions are broadly consistent with O-H- and C-H-related NIR absorption intervals, but should be interpreted as model-level spectral associations. Overall, the combined analysis supports more transparent and traceable interpretation of NIR-based Baijiu grade classification and provides an auxiliary strategy for rapid quality screening.
More Related Videos
06:50O-cresol Concentration Online Measurement Based On Near Infrared Spectroscopy Via Partial Least Square Regression
Published on: November 8, 2019
09:12Optimization of Processing of Tiebangchui with Highland Barley Wine Based on the Box-Behnken Design Combined with the Entropy Method
Published on: May 19, 2023
Related Concept Videos
Infrared (IR) Spectroscopy: Overview
Different compounds display unique properties due to their...
UV–Vis Spectroscopy: Woodward–Fieser Rules
Classification of Titrimetric Analysis Based on Reaction Types
Titrations between an acid and a base lead to neutralization reactions that form...
Applications of IR Spectroscopy: Overview
Classification of Signals
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
Aggregates Classification
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...