Rapid diagnosis of bacterial vaginosis using machine-learning-assisted surface-enhanced Raman spectroscopy of human vaginal fluids
- PMID: 39655908
- PMCID: PMC11748538
- DOI: 10.1128/msystems.01058-24
Rapid diagnosis of bacterial vaginosis using machine-learning-assisted surface-enhanced Raman spectroscopy of human vaginal fluids
Abstract
Bacterial vaginosis (BV) is an abnormal gynecological condition caused by the overgrowth of specific bacteria in the vagina. This study aims to develop a novel method for BV detection by integrating surface-enhanced Raman scattering (SERS) with machine learning (ML) algorithms. Vaginal fluid samples were classified as BV positive or BV negative using the BVBlue Test and clinical microscopy, followed by SERS spectral acquisition to construct the data set. Preliminary SERS spectral analysis revealed notable disparities in characteristic peak features. Multiple ML models were constructed and optimized, with the convolutional neural network (CNN) model achieving the highest prediction accuracy at 99%. Gradient-weighted class activation mapping (Grad-CAM) was used to highlight important regions in the images for prediction. Moreover, the CNN model was blindly tested on SERS spectra of vaginal fluid samples collected from 40 participants with unknown BV infection status, achieving a prediction accuracy of 90.75% compared with the results of the BVBlue Test combined with clinical microscopy. This novel technique is simple, cheap, and rapid in accurately diagnosing bacterial vaginosis, potentially complementing current diagnostic methods in clinical laboratories.
Importance: The accurate and rapid diagnosis of bacterial vaginosis (BV) is crucial due to its high prevalence and association with serious health complications, including increased risk of sexually transmitted infections and adverse pregnancy outcomes. Although widely used, traditional diagnostic methods have significant limitations in subjectivity, complexity, and cost. The development of a novel diagnostic approach that integrates SERS with ML offers a promising solution. The CNN model's high prediction accuracy, cost-effectiveness, and extraordinary rapidity underscore its significant potential to enhance the diagnosis of BV in clinical settings. This method not only addresses the limitations of current diagnostic tools but also provides a more accessible and reliable option for healthcare providers, ultimately enhancing patient care and health outcomes.
Keywords: SERS; bacterial vaginosis; deep learning; machine learning; rapid identification.
Conflict of interest statement
The authors declare no conflict of interest.
Figures






Similar articles
-
Identification of Bacterial Pathogens at Genus and Species Levels through Combination of Raman Spectrometry and Deep-Learning Algorithms.Microbiol Spectr. 2022 Dec 21;10(6):e0258022. doi: 10.1128/spectrum.02580-22. Epub 2022 Oct 31. Microbiol Spectr. 2022. PMID: 36314973 Free PMC article.
-
BVBlue as a diagnostic instrument for the diagnosis of bacterial vaginosis: a systematic review.BMC Womens Health. 2025 Feb 28;25(1):90. doi: 10.1186/s12905-025-03615-4. BMC Womens Health. 2025. PMID: 40022063 Free PMC article.
-
Molecular Identification of Cervical Microbes in HIV-Negative and HIV-Positive Women in an African Setting Using a Customized Bacterial Vaginosis Microbial DNA Quantitative PCR (qPCR) Array.Microbiol Spectr. 2022 Jun 29;10(3):e0222921. doi: 10.1128/spectrum.02229-21. Epub 2022 Jun 1. Microbiol Spectr. 2022. PMID: 35647888 Free PMC article.
-
Vaginal microbiota molecular profiling and diagnostic performance of artificial intelligence-assisted multiplex PCR testing in women with bacterial vaginosis: a single-center experience.Front Cell Infect Microbiol. 2024 Apr 5;14:1377225. doi: 10.3389/fcimb.2024.1377225. eCollection 2024. Front Cell Infect Microbiol. 2024. PMID: 38644962 Free PMC article.
-
Characterization of the vaginal microflora in health and disease.Dan Med J. 2014 Apr;61(4):B4830. Dan Med J. 2014. PMID: 24814599 Review.
Cited by
-
Reply to Bratchenko and Bratchenko, "Overestimation of the classification model for Raman spectroscopy data of biological samples".mSystems. 2025 Apr 22;10(4):e0010325. doi: 10.1128/msystems.00103-25. Epub 2025 Mar 10. mSystems. 2025. PMID: 40062862 Free PMC article. No abstract available.
-
Overestimation of the classification model for Raman spectroscopy data of biological samples.mSystems. 2025 Apr 22;10(4):e0006325. doi: 10.1128/msystems.00063-25. Epub 2025 Mar 10. mSystems. 2025. PMID: 40062868 Free PMC article. No abstract available.
-
Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis.Sci Rep. 2025 May 31;15(1):19171. doi: 10.1038/s41598-025-04626-9. Sci Rep. 2025. PMID: 40450084 Free PMC article.
References
-
- Sha BE, Chen HY, Wang QJ, Zariffard MR, Cohen MH, Spear GT. 2005. Utility of amsel criteria, Nugent score, and quantitative PCR for Gardnerella vaginalis, Mycoplasma hominis, and Lactobacillus spp. for diagnosis of bacterial vaginosis in human immunodeficiency virus-infected women. J Clin Microbiol 43:4607–4612. doi:10.1128/JCM.43.9.4607-4612.2005 - DOI - PMC - PubMed
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Miscellaneous