Machine learning and the role of the vaginal and fecal microbiome in miscarriage: a matched case-control study
Open Access
- 13 March 2026
- journal article
- Published by Springer Nature in npj Biofilms and Microbiomes
- Vol. 12 (1)
Abstract
Miscarriage occurs in approximately 15% of all pregnancies, and recent studies have suggested a potential role of the microbiome. A nested case-control study from the Swedish Maternal Microbiome cohort was conducted, including 34 participants who sent at least one vaginal or fecal microbiome sample and questionnaire data before miscarrying ( n = 34), and matched controls ( n = 105 for regression models, n = 27 for machine learning models). Non-vaccine type HPV (aOR 3.95, 95%CI 1.04–15.06) and vaginal microbiome with community state type (CST) II (aOR 6.52, 95%CI 1.58–26.98) or CST-IVB (aOR 4.18, 95%CI 1.08–16.18) in early pregnancy were associated with an increased risk of miscarriage. Furthermore, we explored six machine learning algorithms using 70% of the cohort for training and 30% for testing, for the prediction of miscarriage using vaginal (AUROC 85%), fecal (AUROC 81%) and questionnaire (AUROC 82%) data separately and combined (AUROC 82%). Our results highlight the urgency of HPV screening and vaccine development for women’s reproductive health. Despite limitations, including a small number of miscarriage cases, our results indicate the potential for both vaginal and fecal microbiomes in the prediction of miscarriage.Keywords
Funding Information
- Ferring Pharmaceuticals
- ALF (Region Stockholm, Dnr 2020-0471)
- ALF (Region Stockholm, Dnr 2020-0471)
- ALF (Region Stockholm, Dnr 2020-0471)
- Åke Wiberg Stiftelse (Dnr M21-0153)
- Åke Wiberg Stiftelse (Dnr M21-0153)
- Åke Wiberg Stiftelse (Dnr M21-0153)
- Vetenskapsrådet (Dnr 2023-02868)
- Vetenskapsrådet (Dnr 2023-02868)
- Vetenskapsrådet (Dnr 2023-02868)
- SciLifeLab & Wallenberg Data Driven Life Science Program (KAW 2020.0239)
- SciLifeLab & Wallenberg Data Driven Life Science Program (KAW 2020.0239)
This publication has 61 references indexed in Scilit:
- Genetic causes of sporadic and recurrent miscarriageFertility and Sterility, 2023
- Role of infections in miscarriageFertility and Sterility, 2023
- The global human gut microbiome: genes, lifestyles, and dietTrends in Molecular Medicine, 2023
- Maternal human papillomavirus infections at mid-pregnancy and delivery in a Scandinavian mother–child cohort studyInternational Journal of Infectious Diseases, 2021
- Comparing pregnancy outcomes and loss rates in elective twin pregnancy reduction with ongoing twin gestations in a large contemporary cohortAmerican Journal of Obstetrics and Gynecology, 2019
- Data Analysis2016
- Maternal microbiome and pregnancy outcomesFertility and Sterility, 2015
- Human papillomavirus infection and spontaneous abortion: a case–control study performed in MexicoEuropean Journal of Obstetrics & Gynecology and Reproductive Biology, 2013
- Host Remodeling of the Gut Microbiome and Metabolic Changes during PregnancyCell, 2012
- Studies on the role of intestinal bacteria in metabolism of synthetic and natural steroid hormonesJournal of Steroid Biochemistry, 1984