Machine learning and the role of the vaginal and fecal microbiome in miscarriage: a matched case-control study
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.
Authors
- Fredrik Boulund (ORCID: https://orcid.org/0000-0002-3806-323X)
- Luisa W. Hugerth (ORCID: https://orcid.org/0000-0001-5432-1764)
- Anusha Antony (ORCID: https://orcid.org/0000-0003-3368-9716)
- Emma Fransson (ORCID: https://orcid.org/0000-0001-9010-8522)
- Unnur Gudnadottir
- Stefanie Prast-Nielsen
- Eva Wiberg-Itzel
- Ina Schuppe-Koistinen
- Nicole Wagner
- Jorge Reis Guerreiro
- Nele Brusselaers
- Vilma Kuttainen Alderheim
- Juan Du
- Lars Engstrand
Institutions
- Uppsala University (SE)
- University of Antwerp (BE)
- Science for Life Laboratory (SE)
- Karolinska Institutet (SE)
- Ghent University (BE)
- Stockholm South General Hospital (SE)
- BioClinicum (Russia) (RU)
Publication Details
- Journal
- npj Biofilms and Microbiomes
- Published
- 2026-03-13
- DOI
- https://doi.org/10.1038/s41522-026-00956-2
- Primary Topic
- Reproductive tract infections research
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Vetenskapsrådet
- Science for Life Laboratory