Interpretable AI integrated with near-infrared spectroscopy for precise assessment of key factors in flue-cured tobacco leaf quality formation: A case study of moisture
Moisture content (MC) during tobacco curing is critical to final sensory quality, yet conventional methods cannot satisfy the need for rapid, non-destructive monitoring. This study constructed MC quantitative prediction models based on near-infrared absorbance spectra of tobacco leaves at different roasting stages, combined with various spectral preprocessing methods (SG, CT, SNV, DT, D1st), feature wavelength selection algorithms (SHAP, FI, CARS, SPA), and machine learning models (RF, GBDT, XGBoost, LightGBM, PLSR). To reduce the randomness of a single data split, the optimal XGBoost–SHAP model was evaluated under four splitting strategies: stratified sampling, random split, Kennard–Stone, and SPXY. Under full-spectrum, D1st–XGBoost achieved the best performance with stratified sampling (R2p = 0.9121), and SHAP-selected 86 wavelengths further improved R2p to 0.9132. Across splitting strategies, SHAP yielded the highest mean R2p (0.8955) with the lowest standard deviation (0.0165), demonstrating superior robustness. SHAP-based interpretability indicated that first-derivative absorbance below 1450 nm contributed mainly positively to MC, whereas wavelengths above 1450 nm contributed primarily negatively. These results show that SHAP-assisted feature selection reduces redundant variables while improving prediction accuracy and stability, and provides a basis for spectral contribution analysis and MC quality control during curing.
Authors
- Yingpeng Dai (ORCID: https://orcid.org/0000-0002-1287-2047)
- Kesu Wei
- Yunfei Ma
- Yapeng Kang
- Shengjiang Wu
- Yuhang Zhao
- Lingfeng Meng
- Jun Jiang
Publication Details
- Journal
- Industrial Crops and Products
- Published
- 2026-04-01
- DOI
- https://doi.org/10.1016/j.indcrop.2026.123179
- Primary Topic
- Spectroscopy and Chemometric Analyses
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Defense Science and Technology Innovation Fund of the Chinese Academy of Sciences