Skip to content

Interpretable near-infrared spectroscopic classification of Baijiu grades using XGBoost and multi-level XAI.

Sep 2026 · Analytical Methods · 0 citations · 26 references
Medicine

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.

View source

Similar papers

Oct 2026

Interpretable wavelength selection for complex matrices: A multi-stage feature engineering framework for baijiu characterisation using near infrared spectroscopy

Severe collinearity, broad-band overlap, and high-dimensional redundancy remain major challenges for near infrared (NIR) analysis of complex liquid matrices such as Chinese Baijiu. To address feature redundancy, selection variability, and limited model interpretability, this study proposes a multi-stage feature-selec...

Gui-Yu Zhang, Shi-Liao Deng, Xiang-Ling Zeng · 0 citations
Open access Oct 2026

Near‐Infrared Spectroscopy Combined With Multistrategy Fusion Zebra Optimization Algorithm and KAN for Grade Identification of Baijiu Base Liquor

To address the strong subjectivity of manual evaluation, the low efficiency of traditional physicochemical detection, as well as the issues of high variable dimensionality, redundant information, and subtle inter‐class differences in near‐infrared (NIR) spectral data during the grade identification of Baijiu base liq...

Gui-Yu Zhang, Zhi-Heng Yang, Shi-Liao Deng et al. · 0 citations
Oct 2026

Chemically informed spectro-structural feature augmentation for interpretable NIR chemometric classification of fuel grades.

Rapid and interpretable near-infrared discrimination of fuel grades remains challenging because adjacent fuel grades usually exhibit highly overlapped C-H overtone and combination bands, while the structural origin of model decisions is often insufficiently described. To address this problem, this study proposes a know...

Xin Zhang, Ke Li, Fan Liu et al. · 0 citations
Open access Oct 2026

Hyperspectral Grading of Rice Blast Severity (0–5) Using Regional Spectral-Angle Features and Heterogeneous Stacking (XGBSVMRF-SA)

Rice blast caused by Pyricularia oryzae progresses from symptom-free leaves to extensive tissue death, while neighboring severity grades often show similar spectra. This study developed XGBSVMRF-SA to integrate regional spectral-angle (SA) features with heterogeneous stacking of XGBoost 3.1.2, support vector machine, a...

Lun-Feng Wu, Jing Su, You-Qiang Fu et al. · 0 citations
Open access Sep 2026

Non-Destructive Classification of Apple Watercore Severity Levels Using Near-Infrared Hyperspectral Imaging

Apple watercore is an internal physiological disorder that affects fruit quality and storage stability. This study developed a non-destructive approach for classifying watercore severity in 737 Aksu ‘Fuji’ apples using near-infrared hyperspectral imaging (930–1720 nm). Watercore severity was quantified using the waterc...

Si-Yu Wang, Xu Li, Xiong-Zhe Han et al. · 0 citations
Preprint Sep 2026

X-LIBS: Interpretable Soil Classification Using Explainable AI and Laser-Induced Breakdown Spectroscopy

Machine learning (ML) has emerged as a powerful tool for soil analysis using Laser-Induced Breakdown Spectroscopy (LIBS). However, traditional black-box models often lack interpretability, limiting their effectiveness in decision-making processes. This study introduced explainable AI (XAI) techniques to enhance both th...

Ying-Lei Huang, Xin Wang · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.