Machine learning-based precision subtyping and risk prediction in sepsis: a retrospective analysis using MIMIC-IV database

Precise subtyping is crucial for enabling personalized treatments in sepsis patients. This study aims to develop an analytical framework for sepsis intervention, integrating variable selection and phenotype discovery for diverse settings. Using MIMIC-IV database, study included sepsis patients (ICD-9/10 codes), excluding those with < 24-hour stay or missing data. Data included demographics, labs, comorbidities, and follow-up status. The primary endpoint was 90-day all-cause mortality.First, variables significantly associated with 90-day mortality were preliminarily screened using multivariate Cox regression analysis.Subsequently, the optimal machine learning model was selected based on the C-index evaluation, and this model was used to further identify core factors from the preliminarily screened variables. Finally, patients were subgrouped using K-means clustering based on the characteristics of the core factors, and the subgroups were validated through baseline and survival analyses.The optimal number of clusters (K value) was determined using both the elbow method and the gap statistic. 6,086 patients included (90-day mortality 23.87%). Cox regression identified 24 independent predictors (all p < 0.001), and a high-performance Ridge risk prediction model was developed (average C-index = 0.761). Multidimensional clustering based on 9 core variables(|coefficient|>0.1) revealed distinct subtypes (K = 4, 8,14, respectively). Increasing cluster granularity (K from 4 to 14) revealed converging characteristics across subgroups but refined risk stratification. Current ICU admission was identified as a key protective factor, while past ICU history, high age, poor cardiopulmonary function, hypermagnesemia, and PTT/RDW abnormalities were the three core high-risk drivers. The low-risk group (younger age+current ICU admission + no ICU history+better cardiopulmonary function) had a lowest mortality rate of 9.7% in 4-subtype system and 3.4% in the 14-subtype system. Patients without current ICU protection or with the other risk factors showed higher mortality risk than the low-risk group. Notably, extremely high level of RDW (21.6%, subgroup 14, mortality rate 45.42%) and PTT values (130.35s, subgroup 10, mortality rate 33.78%) were independent of age and cardiopulmonary issues, suggesting they define two distinct high-risk subtypes. This study developed a clinically universal and interpretable sepsis subtyping framework using routine clinical variables, identifying subgroups with significant mortality differences, providing a pragmatic tool for risk stratification and prognosis assessment.

Authors

Institutions

Publication Details

Journal
BMC Infectious Diseases
Published
2026-04-21
DOI
https://doi.org/10.1186/s12879-026-13279-6
Primary Topic
Sepsis Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning-based precision subtyping and risk prediction in sepsis: a retrospective analysis using MIMIC-IV database

Y Li, Youliang Deng, Fuhai Bai, Dukun Zuo et al.
BMC Infectious Diseases
Sepsis Diagnosis and Treatment
article

Machine learning-based precision subtyping and risk prediction in sepsis: a retrospective analysis using MIMIC-IV database

Y Li, Youliang Deng, Fuhai Bai, Dukun Zuo, Zonghong Long, Ling TANG, Q Zhang, Jing Wei, Taotao Peng, Wenjian Luo, Hong Li
article en

Abstract

Precise subtyping is crucial for enabling personalized treatments in sepsis patients. This study aims to develop an analytical framework for sepsis intervention, integrating variable selection and phenotype discovery for diverse settings. Using MIMIC-IV database, study included sepsis patients (ICD-9/10 codes), excluding those with < 24-hour stay or missing data. Data included demographics, labs, comorbidities, and follow-up status. The primary endpoint was 90-day all-cause mortality.First, variables significantly associated with 90-day mortality were preliminarily screened using multivariate Cox regression analysis.Subsequently, the optimal machine learning model was selected based on the C-index evaluation, and this model was used to further identify core factors from the preliminarily screened variables. Finally, patients were subgrouped using K-means clustering based on the characteristics of the core factors, and the subgroups were validated through baseline and survival analyses.The optimal number of clusters (K value) was determined using both the elbow method and the gap statistic. 6,086 patients included (90-day mortality 23.87%). Cox regression identified 24 independent predictors (all p < 0.001), and a high-performance Ridge risk prediction model was developed (average C-index = 0.761). Multidimensional clustering based on 9 core variables(|coefficient|>0.1) revealed distinct subtypes (K = 4, 8,14, respectively). Increasing cluster granularity (K from 4 to 14) revealed converging characteristics across subgroups but refined risk stratification. Current ICU admission was identified as a key protective factor, while past ICU history, high age, poor cardiopulmonary function, hypermagnesemia, and PTT/RDW abnormalities were the three core high-risk drivers. The low-risk group (younger age+current ICU admission + no ICU history+better cardiopulmonary function) had a lowest mortality rate of 9.7% in 4-subtype system and 3.4% in the 14-subtype system. Patients without current ICU protection or with the other risk factors showed higher mortality risk than the low-risk group. Notably, extremely high level of RDW (21.6%, subgroup 14, mortality rate 45.42%) and PTT values (130.35s, subgroup 10, mortality rate 33.78%) were independent of age and cardiopulmonary issues, suggesting they define two distinct high-risk subtypes. This study developed a clinically universal and interpretable sepsis subtyping framework using routine clinical variables, identifying subgroups with significant mortality differences, providing a pragmatic tool for risk stratification and prognosis assessment.

BMC Infectious Diseases
Army Medical University (CN), Chengdu Women's and Children's Central Hospital (CN), Xinqiao Hospital (CN), Sichuan Provincial Hospital of Traditional Chinese Medicine (CN)
National Natural Science Foundation of China, Natural Science Foundation of Chongqing
Good health and well-being
Openalex Percentile: Top 7%
Sepsis Diagnosis and Treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.