EUVIMEDEUVIMED entdecken
Crossref

Interpretable prediction of anxiety symptoms during pregnancy via machine learning and SHAP

Yao Xu, Qingwen Nie, Yanshan Lin, Yanxuan Xiao, Fang Liu, Xiaoqin Ouyang, Shuang Liu, Huiming Yang, Chengcheng Li, Chaoqun Xiao, Zhijian Wang

Archives of Women's Mental Health · 2026-04 · 29 (2)

DOI: 10.1007/s00737-026-01691-5 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Archives of Women's Mental Health, online erschienen am 30.03.2026. Verfasst von Yao Xu und 10 weiteren Autor:innen. Beteiligte Einrichtung: Department of Obstetrics and Gynecology, Guangdong Provincial Key Laboratory of Major Obstetric Diseases; Guangdong Provincial Clinical Research Cent…. Hauptthemen laut MEDLINE: Anxiety, Machine Learning, Pregnancy Complications, Pregnant People. Die Arbeit nennt 28 Literaturangaben. Gefördert von: Guangzhou Health Science and Technology General Guidance Program, High-Level Talent Fund of Guangzhou Medical University.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Purpose

Perinatal anxiety severely impacts maternal and infant health, yet efficient screening remains a challenge. This study aims to create a clinically interpretable screening framework by employing a machine learning (ML) model explained via Shapley additive explanations (SHAP).

Methods

This cross-sectional study was conducted between November 2022 and August 2023 at a tertiary teaching hospital in Guangzhou, China. We assessed pregnant women for prenatal anxiety symptoms via the Generalized Anxiety Disorder Scale (GAD-7). Four ML models—random forest (RF), support vector machine (SVM), extreme gradient boosting (XGBoost), and k-nearest neighbor (KNN)—were trained and evaluated via 10-fold cross-validation with a 7:3 train‒test split. Model performance was assessed by the area under the receiver operating characteristic curve (AUC), and SHAP values were used to interpret feature contributions.

Results

We screened 3141 participants via the GAD-7 and identified 318 with prenatal anxiety symptoms, yielding an incidence of 10.1%. The variables most strongly associated with anxiety were selected from 30 candidate variables by using the Boruta algorithm. XGBoost achieved the highest discriminative performance (AUC = 0.712), slightly outperforming RF (AUC = 0.711) and SVM (AUC = 0.633). The KNN model showed near-random performance (AUC = 0.509). SHAP analysis identified sleep quality, premenstrual tension, age, personality, spousal and mother‑daughter‑in‑law relationship quality, occupation, education, dietary habits, and stressful life events as key factors associated with antenatal anxiety symptoms.

Conclusions

The XGBoost model demonstrated acceptable accuracy for identifying antenatal anxiety symptoms. SHAP-based interpretability helps highlight high-impact psychosocial and lifestyle factors, offering a potential tool for early identification and prevention strategies in obstetric care. The study included 3,141 pregnant women and employed ML to provide a tool for personalized risk assessment and clinical decisions. SHAP analysis revealed that sleep quality, premenstrual tension, and spousal and mother‑daughter‑in‑law relationship quality were strongly linked to antenatal anxiety. XGBoost, a machine learning model, showed good discriminative performance for antenatal anxiety, with an AUC of 0.712.

Schlagwörter

MeSH-Schlagwörter (MEDLINE)

AnxietyMachine LearningPregnancy ComplicationsPregnant PeopleHumansFemalePregnancyAdultCross-Sectional StudiesBoosting Machine Learning AlgorithmsChinaPredictive Learning ModelsRandom ForestSupport Vector MachineClassification AlgorithmsGeneralized Anxiety DisorderPrediction Algorithms

Stichwörter der Autor:innen

Machine learningPrenatal anxiety symptomsSHAP valueScreening model

Autor:innen und Institutionen

  • Department of Obstetrics and Gynecology, Guangdong Provincial Key Laboratory of Major Obstetric Diseases; Guangdong Provincial Clinical Research Center for Obstetrics and Gynecology; Guangdong-Hong Kong-Macao Greater Ba…
  • Center for Reproductive Medicine, The Third Affiliated Hospital, Guangzhou Medical University, Guangzhou, 510150, China.
  • School of Nursing, Southern Medical University, Guangzhou, 510515, China.
  • Department of Obstetrics and Gynecology, Nanfang Hospital, Southern Medical University, 510515, Guangzhou, China.
  • Department of Obstetrics and Gynecology, Nanfang Hospital, Southern Medical University, 510515, Guangzhou, China. 183151542@qq.com.

Förderung

  • Guangzhou Health Science and Technology General Guidance Program
  • High-Level Talent Fund of Guangzhou Medical University

Zitieren

APA

Xu, Y., Nie, Q., Lin, Y., Xiao, Y., Liu, F., Ouyang, X., Liu, S., Yang, H., Li, C., Xiao, C., & Wang, Z. (2026). Interpretable prediction of anxiety symptoms during pregnancy via machine learning and SHAP. Archives of Women's Mental Health, 29(2). https://doi.org/10.1007/s00737-026-01691-5

Vancouver

Xu Y, Nie Q, Lin Y, Xiao Y, Liu F, Ouyang X, et al. Interpretable prediction of anxiety symptoms during pregnancy via machine learning and SHAP. Archives of Women's Mental Health. 2026;29(2). doi:10.1007/s00737-026-01691-5

BibTeX
@article{Xu2026,
  author = {Xu, Yao and Nie, Qingwen and Lin, Yanshan and Xiao, Yanxuan and Liu, Fang and Ouyang, Xiaoqin and Liu, Shuang and Yang, Huiming and Li, Chengcheng and Xiao, Chaoqun and Wang, Zhijian},
  title = {Interpretable prediction of anxiety symptoms during pregnancy via machine learning and SHAP},
  journal = {Archives of Women's Mental Health},
  year = {2026},
  volume = {29},
  number = {2},
  doi = {10.1007/s00737-026-01691-5}
}
Kostenlos starten →