Rapid and accurate identification of foodborne bacteria: a combined approach using confocal Raman micro-spectroscopy and explainable machine learning
Authors:
- 29 March 2025
- journal article
- research article
- Published by Springer Nature in Analytical and Bioanalytical Chemistry
- Vol. 417 (11) , 2281-2292
Abstract
This study proposes a rapid identification method for foodborne pathogens by combining Raman spectroscopy with explainable machine learning. Spectral data of nine common foodborne pathogens are collected using a laser confocal Raman spectrometer, and their characteristic Raman peaks are identified and analyzed. Key spectral features are extracted using competitive adaptive reweighted sampling (CARS) and the successive projections algorithm (SPA), while t-distributed stochastic neighbor embedding (t-SNE) is employed for visualization. Subsequently, classification models, including support vector machine (SVM) and random forest (RF), are developed, and the optimal model is selected based on classification accuracy (ACC), with the RF model achieving a test accuracy of 98.91%. To enhance the interpretability of the model, Shapley Additive exPlanations (SHAP) analysis is applied to evaluate the contribution of each spectral feature to the classification results, identifying critical Raman shifts significantly influencing pathogen classification. The results demonstrate that CARS-SPA feature selection not only improves the accuracy and efficiency of the classification model but also enhances its transparency and reliability. This study optimizes the workflow for food safety testing, reduces the risk of foodborne diseases, and provides robust technical support for public health and safety.Keywords
Funding Information
- National Youth Science Fund Project of Natural Science Foundation of China (32402270)
- the Major Science and Technology Projects in Henan Province (231100110400)
- General Program of National Natural Science Foundation of China (32472417)
This publication has 38 references indexed in Scilit:
- Raman spectroscopy-based adversarial network combined with SVM for detection of foodborne pathogenic bacteriaTalanta, 2022
- Chemometric analysis in Raman spectroscopy from experimental design to machine learning–based modelingNature Protocols, 2021
- Wide-Range, Rapid, and Specific Identification of Pathogenic Bacteria by Surface-Enhanced Raman SpectroscopyACS Sensors, 2021
- Highly Sensitive Detection and Differentiation of Endotoxins Derived from Bacterial Pathogens by Surface-Enhanced Raman ScatteringBiosensors, 2021
- Application of Raman Spectroscopic Methods in Food Safety: A ReviewBiosensors, 2021
- Hyperspectral imaging and improved feature variable selection for automated determination of deoxynivalenol in various genetic lines of barley kernels for resistance screeningFood Chemistry, 2021
- Relationships between food and diseases: What to know to ensure food safetyFood Research International, 2020
- Biochemical characterization of pathogenic bacterial species using Raman spectroscopy and discrimination model based on selected spectral featuresLasers in Medical Science, 2020
- Characterization and Discrimination of Gram-Positive Bacteria Using Raman Spectroscopy with the Aid of Principal Component AnalysisNanomaterials, 2017
- A bootstrapping soft shrinkage approach for variable selection in chemical modelingAnalytica Chimica Acta, 2016