Hyperspectral Imaging and Interpretable Machine Learning for Bleaching-Level Identification and Treatment-Associated SO2 Residue Estimation in Lanzhou Lily.
Yueling Yan, Maomei Xie, Jinzhi Liu, Liyi Deng, Jie Qiu, Shuang Yang, Lei Nie, Zheng Li,
College of Pharmaceutical Engineering of Traditional Chinese Medicine, Tianjin University of Traditional Chinese Medicine, Tianjin 301617, China. · NMPA Key Laboratory for Technology Research and Evaluation of Drug Products, School of Pharmaceutical Sciences, Cheeloo College of Medicine, Shandong University, Jinan 250012, China.
Key points
From the paper's conclusion- This study integrated hyperspectral imaging (HSI), machine learning, and SHapley Additive exPlanations (SHAP) to identify bleaching levels and estimate treatment-associated SO2 residues.
Abstract
Rapid and nondestructive assessment of sodium metabisulfite (Na2S2O5) bleaching treatments and sulfur dioxide (SO2) residues is important for the quality and safety control of Lanzhou lily. This study integrated hyperspectral imaging (HSI), machine learning, and SHapley Additive exPlanations (SHAP) to identify bleaching levels and estimate treatment-associated SO2 residues. Model performance was assessed using treatment-replicate-grouped validation with samples from a single procurement lot. For bleaching-level classification, the support vector machine (SVM) combined with normalization (NOR), denoted as SVM-NOR, achieved the highest accuracy of 0.902. For SO2 residue estimation, the random forest (RF) model using raw spectra, denoted as RF-Raw, provided the best performance, with a cross-validated coefficient of determination (R2) of 0.978 and a root mean square error (RMSE) of 38.5 mg/kg. The reported regression performance reflects treatment levels represented in calibration. Complementary leave-one-concentration-out (LOCO) validation yielded a higher pooled RMSE of 155.4 mg/kg for held-out levels. SHAP analysis revealed different wavelength-contribution patterns for classification and regression, providing an interpretable basis for the model predictions. These findings suggest the potential of HSI for rapid prescreening, while further validation is needed for predictions between calibrated treatment levels, particularly near the regulatory reference.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Laser-induced hyperspectral fluorescence for spatio-chemical detection of sunscreen contaminants in food-grade sea salt using sparse PCA–SVM analysisEnvironmental Geochemistry and Health · 2026
- Hyperspectral Imaging for Identification of Early Freeze Damage in OrangesJournal of Food Process Engineering · 2026
- Explainable AI-driven hyperspectral imaging for non-destructive geographical discrimination of small-fruited sea buckthorn: Metabolic correlations and feature optimizationJournal of Food Composition and Analysis · 2026
- Classification Model of Ziziphi spinosae semen and Ziziphi mauritianae semen Using Hyperspectral ImagingHorticultural Science and Technology · 2026
- Hyperspectral imaging combined with data fusion for non-destructive prediction of soluble solids content and water-soluble sugars in strawberries during storage after static-pressure bruising.Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy · 2026
- Hyperspectral imaging and SHAP-assisted machine learning for differentiating Rubia species and geographical-origin groupsFrontiers in Sustainable Food Systems · 2026