Machine learning-based risk stratification for neurosyphilis using MRI free-text reports: a 12-year retrospective analysis in China (2012–2024)
Neurosyphilis (NS) has heterogeneous clinical manifestations, while definitive clinical assessment commonly requires invasive cerebrospinal fluid (CSF) testing. Risk stratification using routinely available, non-invasive information could help identify patients who warrant prioritized CSF evaluation. We therefore investigated whether routinely generated brain MRI free-text reports could be systematically transformed into interpretable features for NS risk stratification. In this 12-year retrospective cohort from a national psychiatric specialty center, comprising 4,652 patients with syphilis (319 NS and 4,333 N-NS), we developed and internally validated logistic regression with adaptive LASSO, random forest, and extreme gradient boosting models using structured features extracted from MRI reports, with and without demographic information. All MRI-only models achieved ROC-AUCs above 0.80 in the held-out validation set; for example, the MRI-only adaptive-LASSO model achieved an ROC-AUC of 0.843 (95% CI, 0.786–0.893), with sensitivity of 0.811 and specificity of 0.781. The MRI-plus-demographics adaptive-LASSO model achieved an ROC-AUC of 0.868 (95% CI, 0.818–0.913). Additional analyses indicated that several MRI-report features remained conditionally associated with NS after demographic adjustment. This study developed and internally validated machine-learning models for neurosyphilis risk stratification using structured features extracted from routine MRI free-text reports. These findings suggest that routinely available MRI reports contain clinically relevant information that can be leveraged for NS risk stratification.
Authors
- Hangxiao Zheng
- Jiahao Zhang (ORCID: https://orcid.org/0000-0003-0398-7755)
- Hong Qiu
- Jiaqi Cheng
- Shibin Wang
- Runsen Chen
- Jing-Yi Xia
- Wenzhong Chen
- Yuehong Song
- Min Zhang
- Ti-Fei Yuan
- Wenjie Gu
- Xiaoyun Guo
Institutions
- Shanghai Jiao Tong University (CN)
- Nantong University (CN)
- Shanghai Mental Health Center (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- BMC Medical Informatics and Decision Making
- Published
- 2026-11-18
- DOI
- https://doi.org/10.1186/s12911-026-03933-z
- Primary Topic
- Syphilis Diagnosis and Treatment
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Key Research and Development Program of China
- Fundamental Research Funds for the Central Universities