Development and Validation of an Interpretable Machine Learning Model to Predict Mortality in Patients With Sepsis-Induced Coagulopathy: Multicenter Cohort Study Jiaxuan Sun, Jingyuan Wang, Yuxin Dong, Jieyu Liu, Yiyun Ding, Shilin Fan, Dongyue Chen, Songtao Shou, Arriel Benis Abstract AbstractBackgroundSepsis-induced coagulopathy (SIC) is a common and severe complication in patients with sepsis, characterized by microvascular thrombosis, systemic endothelial damage, and markedly increased short-term mortality. Existing traditional clinical risk scoring systems demonstrate limited accuracy and fail to capture complex, nonlinear physiological interactions, underscoring the urgent need for advanced prognostic tools.ObjectiveThe objective of this study was to develop and validate an interpretable machine learning (ML) model using large-scale, multicenter databases to predict early mortality in intensive care unit (ICU) patients with SIC and to evaluate its predictive performance and clinical utility compared with traditional clinical risk scores.MethodsThe study retrospectively analyzed clinical data of patients with SIC from the Medical Information Mart for Intensive Care IV (MIMIC-IV), the eICU Collaborative Research Database (eICU-CRD), and Tianjin Medical University General Hospital. Feature selection was performed using LASSO (least absolute shrinkage and selection operator) regression, the Boruta algorithm, and recursive feature elimination with cross-validation, combined with multivariable logistic regression. Twelve ML algorithms were trained and compared with 4 traditional clinical scoring systems (Sequential Organ Failure Assessment, Acute Physiology and Chronic Health Evaluation II, Simplified Acute Physiology Score II, and Oxford Acute Severity of Illness Score) to predict 28-day mortality after ICU admission. Model discrimination, calibration, and clinical utility were assessed using the area under the curve (AUC), calibration curves, and decision curve analysis. Furthermore, Shapley additive explanations (SHAP) values were used to ensure model interpretability and to identify individual pathophysiological drivers.ResultsA total of 7980 (66.3%) patients with SIC from the MIMIC-IV database, 3815 (31.7%) from the eICU-CRD database, and 235 (2.0%) from Tianjin Medical University General Hospital were included in the study. Ten independent predictors were identified to construct the model. The XGBoost (extreme gradient boosting) model performed the best, with an AUC of 0.899 (95% CI 0.889‐0.909) in the internal validation set and 0.882 and 0.904 in the 2 external validation sets, significantly outperforming traditional scoring systems and demonstrating higher clinical net benefit. SHAP analysis identified that the top 5 critical features were anion gap, red blood cell distribution width, lactate, total bilirubin, and age. Furthermore, an easy-to-use online tool, SIC Predict Streamlit, was developed based on this model to enable clinicians to quickly assess patient risk.ConclusionsThe ML model developed in this study demonstrated superior accuracy, robustness, and generalizability in predicting early mortality in patients with SIC. The model outperformed traditional clinical scoring tools, and the findings provide valuable insights for prognostic assessment and the individualized management of patients with SIC. Introduction Sepsis is a clinical syndrome associated with severe infection, characterized by life-threatening organ dysfunction resulting from a dysregulated host response to infection []. According to the Global Burden of Disease Study, the global age-standardized incidence rate of sepsis in 2017 was 677.5 (535.7‐876.1) cases per 100,000 population (0.7%). Sepsis-related deaths account for approximately 20% of all global deaths, making it one of the leading threats to human life []. Sepsis-induced coagulopathy (SIC) is characterized by vascular endothelial injury and coagulation dysfunction induced by sepsis []. Globally, SIC occurs in 24.0% to 60.0% of patients with sepsis; if not managed properly, it may progress to disseminated intravascular coagulation, increasing the mortality rate by up to 2-fold [,]. In 2017, the International Society on Thrombosis and Haemostasis (ISTH) established specific criteria and a scoring system for SIC, which primarily evaluates the condition based on the degree of thrombocytopenia, the international normalized ratio (INR), and the Sequential Organ Failure Assessment (SOFA) score. SIC is defined as a total score ≥4, and patients with a score of ≥4 have a mortality rate exceeding 30% [,]. These studies highlight the importance of identifying high-risk populations for SIC and implementing timely interventions. Currently, developing effective tools to accurately assess the prognosis of SIC and dynamically optimize treatment strategies has become an urgent priority for clinicians. The development of machine learning (ML) has opened up new opportunities for clinical medical research []. Compared to traditional statistical models, such as logistic regression or Cox proportional hazards models, ML techniques have demonstrated superior performance in disease prediction and prognosis [,]. However, there remains significant room for improvement in the existing studies regarding the application of ML to predict outcomes in SIC [-]. These studies exhibit specific methodological limitations and suboptimal predictive performance. Specifically, models developed by Lu et al [] and Liu et al [] achieved moderate area under the curve (AUC) values (0.81 and 0.795, respectively) but were constrained by single-center designs and a complete lack of external validation. Although Zhou et al [] developed an externally validated extreme gradient boosting (XGBoost) model with an internal AUC of 0.828, their study lacked essential clinical utility assessments, such as decision curve analysis (DCA), to confirm actual clinical net benefit. In light of these limitations, this study aims to construct a novel prediction model to improve predictive accuracy and enhance the overall reliability and robustness of the research findings. Therefore, the primary aim of this study is to develop and validate a high-performance, interpretable ML model for the early prediction of 28-day mortality in patients with SIC. We leveraged and compared 12 different ML algorithms using diverse, large-scale multicenter datasets, including the Medical Information Mart for Intensive Care IV (MIMIC-IV), the eICU Collaborative Research Database (eICU-CRD), and electronic medical records from Tianjin Medical University General Hospital. We hypothesize that optimized ML algorithms can effectively capture the complex, nonlinear pathophysiological trajectories of SIC, thereby significantly outperforming traditional clinical risk assessment models—such as SOFA, Acute Physiology and Chronic Health Evaluation II (APACHE II), Simplified Acute Physiology Score II (SAPS II), and Oxford Acute Severity of Illness Score (OASIS)—in prognostic accuracy. Additionally, Shapley additive explanations (SHAP) was used to visualize feature contributions, thereby enhancing the model’s transparency and providing clinicians with actionable insights to guide early, individualized interventions and optimize clinical resource allocation []. Methods Study Design This study was conducted and reported in strict accordance with the Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis for Artificial Intelligence (TRIPOD+AI) 2024 guidelines (). Data Source A multicenter retrospective study was conducted using deidentified data from the MIMIC-IV (v3.1) database [], the eICU-CRD (v2.0) database [], and the emergency intensive care unit (EICU) data from Tianjin Medical University General Hospital. The MIMIC-IV database includes hospitalization records from 2008 to 2019 at the Beth Israel Deaconess Medical Center in Boston, Massachusetts. It contains data from over 65,000 intensive care unit (ICU) admissions and more than 200,000 emergency department visits. The eICU-CRD is a multicenter database containing data on over 200,000 ICU admissions across the United States between 2014 and 2015. One of the authors, JS, completed the Collaborative Institutional Training Initiative program (Certification Number: 64628900), signed the data use agreement, and obtained access to both the MIMIC-IV and eICU-CRD databases. Additionally, patients with SIC admitted to the EICU of Tianjin Medical University General Hospital between October 2021 and December 2023 with complete data were retrospectively included as an external validation cohort. Ethical Considerations This study was approved by the Ethics Committee of Tianjin Medical University General Hospital (approval number: IRB2023-YX-045‐01). Written informed consent was waived due to the retrospective nature of the study. Participants Patients were included if they met the following criteria: (1) first-time ICU admission (patients with previous ICU stays and potential prior SIC episodes were systematically excluded from the analysis), and (2) patients with sepsis who were diagnosed with SIC within 24 hours of ICU admission. Sepsis was defined according to the Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3), which includes patients with confirmed or suspected infection and a SOFA total score ≥2 []. Suspected infection was defined as the administration of antibiotics within 3 days of culture specimen collection. SIC was defined according to the ISTH criteria []. The diagnosis of SIC in patients with sepsis was established based on the best clinical and laboratory values (including platelet count and INR) obtained within the first 24 hours after ICU admission, ensuring rigorous patient selection. Detailed diagnostic criteria for SIC are provided in Table S1 in . The exclusion criteria were as follows: (1) age less than 18 years; (2) ICU length of stay less than 24 hours; (3) receipt of anticoagulation therapy prior to ICU admission; (4) history of primary coagulation disorders, hemophilia, or immune thrombocytopenia; (5) history of malignancy; (6) history of cirrhosis; (7) pregnancy; and (8) missing clinical data or incomplete laboratory records. Variable Extraction PostgreSQL (version 17.6; PostgreSQL Global Development Group) and R (version 4.5.1; R Foundation for Statistical Computing) were used for data extraction and processing. Data extracted from the MIMIC-IV database included the following: (1) demographic characteristics: age, gender, height, and weight; (2) vital signs: heart rate, respiratory rate, temperature, oxygen saturation (SpO2), noninvasive systolic and diastolic blood pressure, and mean arterial pressure; (3) clinical risk assessment models: SOFA [], APACHE II [], SAPS II [], and OASIS []; (4) laboratory tests: lymphocytes, white blood cells, hemoglobin, platelet count, red blood cell distribution width (RDW), neutrophils, albumin, anion gap (AG), total calcium, potassium, sodium, glucose, lactate, D-dimer, functional fibrinogen, INR, prothrombin time, partial thromboplastin time (PTT), alanine aminotransferase, aspartate aminotransferase (AST), total bilirubin, creatinine, blood urea nitrogen (BUN), C-reactive protein, and bicarbonate; (5) comorbidities determined by International Classification of Diseases, Ninth Revision and International Classification of Diseases, Tenth Revision diagnostic codes: pneumonia, stroke, chronic kidney disease, type 2 diabetes, heart failure, myocardial infarction, and coronary heart disease; (6) interventions: mechanical ventilation, continuous renal replacement therapy, fluid intake, vasopressors, glucocorticoids, and antibiotics; and (7) outcomes: 28-day mortality after ICU admission and in-hospital mortality. For vital signs and laboratory tests, data within 24 hours prior to ICU admission were included. If multiple measurements were available, the mean value was used. The primary outcome of this study was 28-day mortality after ICU admission. Patients without a death record within 28 days of ICU admission were considered survivors. Feature Engineering Feature engineering was performed in three steps: First step was identification and handling of missing values. The R package “VIM” was used to identify missing values. To minimize bias caused by missing data, variables with more than 30% missing values were excluded. The percentage of missing values in the database is shown in Table S2 in . Missing data imputation was performed using multiple imputation (MI) via the R package mice. Crucially, to prevent potential data leakage, imputation was conducted strictly after data splitting. The imputation models were trained exclusively on the training set and subsequently applied to the internal validation set. Furthermore, given the distinct clinical environments and potential differences in missingness mechanisms, the external validation datasets (the eICU-CRD and the Tianjin Medical University General Hospital cohort) were imputed independently. We evaluated 3 methods: predictive mean matching, classification and regression trees (CART), and random forest (RF). The CART algorithm was identified as the optimal method due to its superior convergence and distributional consistency. Standard MI typically requires pooling models via Rubin rules; however, this is computationally prohibitive and clinically impractical for complex, nonlinear ML algorithms like XGBoost. Therefore, as a widely adopted pragmatic approach in predictive modeling, the CART imputation was repeated 10 times to account for imputation uncertainty. The 10 resulting complete datasets were then aggregated into a single robust dataset by calculating the mean for continuous variables and the mode for categorical variables, which was subsequently used for model training and validation. Second step was handling of outliers. Given the presence of equipment artifacts and data entry errors inherent in large electronic health records, a rigorous data cleaning procedure was implemented prior to analysis. We established clinically plausible physiological ranges for continuous variables based on clinical domain expertise. Values falling outside these physiologically possible ranges were defined as artifactual errors and were converted to missing values prior to imputation. However, extreme values that remained within biologically plausible limits were intentionally retained, as they reflect genuine severe pathological states in critically ill patients. For example, in the context of severe sepsis and systemic hypoperfusion, profound hyperlactatemia (eg, lactate >15 mmol/L) or severely elevated transaminases (eg, AST >1000 U/L) are true manifestations of severe metabolic derangement and ischemic hepatitis (shock liver), rather than measurement errors []. This strategy ensures data integrity while preserving valuable high-risk prognostic signals. Third step was feature selection for model construction. The final feature set for the ML models was selected based on the training set using LASSO (least absolute shrinkage and selection operator) regression, the Boruta algorithm, RF-based recursive feature elimination with cross-validation (RFECV), and multivariable logistic regression. While simpler single-method strategies exist, clinical datasets are often noisy and highly collinear. Therefore, we adopted a multimethod ensemble approach to overcome the intrinsic biases of individual algorithms. Specifically, LASSO regression introduces L1 regularization into the objective function, selecting features and reducing dimensionality by shrinking coefficients, retaining features with significant contributions, and eliminating redundant ones []. The Boruta algorithm identifies the most important features by comparing the Z-value of each feature with that of the “shadow features” []. Recursive feature elimination (RFE), acting as a greedy algorithm, ranks and selects features based on their importance through iterative training, combined with 10-fold cross-validation to select clinical variables []. Furthermore, 10-fold cross-validation was embedded within both the LASSO and RFECV procedures, serving as an inherent feature-stability assessment. Prior to final confirmation, the variance inflation factor (VIF) was calculated []. A VIF of 1 indicates no multicollinearity; a VIF between 1 and 5 indicates moderate collinearity; a VIF >5 indicates high collinearity; and a VIF >10 indicates severe multicollinearity. Variables exhibiting high collinearity were accordingly removed. The features commonly selected across methods were finally evaluated using a multivariable logistic regression model to adjust for confounding effects and confirm them as statistically independent risk factors for the prognosis of SIC. Statistical Analysis The Shapiro-Wilk test was used to assess the normality of continuous variables. Continuous variables conforming to a normal distribution were expressed as mean (SD), while those with a nonnormal distribution were expressed as median (IQR). Categorical variables were presented as counts and percentages. For comparisons of continuous variables between groups, a 2-tailed independent sample t test was used if the assumption of normality was met; otherwise, the Wilcoxon rank-sum test was applied. Pearson chi-square (χ2) test was used for categorical variables, while Fisher exact test was used when the expected frequency was <1 or the total sample size was <40. All statistical tests and calculations were performed using Python (version 3.11; Python Software Foundation) and the R package “tableone.” All charts were generated using the R package “ggplot2.” A P value <.05 was considered statistically significant. Model Development and Comparison The MIMIC-IV database was randomly split into a training set (5586/7980, 70%) and an internal validation set (2394/7980, 30%). Ten features were used to construct the task-specific models. Stratified sampling was performed using the R package “createDataPartition” to ensure a balanced distribution of the original outcomes between the 2 subsets. A total of 12 ML algorithms were used to construct the models, including logistic regression, support vector machine, decision tree (DT), gradient boosting decision tree, light gradient boosting machine, categorical boosting, RF, naive Bayes, k-nearest neighbors, adaptive boosting, XGBoost, and artificial neural network. To comprehensively evaluate the models, we used a multidimensional assessment strategy. Initially, fundamental classification metrics, including AUC, sensitivity, specificity, accuracy, false negative rate (FNR), false positive rate (FPR), and F1-score, were calculated. Furthermore, considering the potential class imbalance, the precision-recall curve was adopted []. To assess clinical utility and reliability, calibration curves were used to evaluate the model’s calibration, and DCA was performed using the R package “rmda” to quantify the clinical net benefit []. To enhance the reliability and robustness of the models, both internal and external validations were performed. The internal validation set was derived from the MIMIC-IV database. Two independent datasets were used for external validation: the eICU-CRD database as external validation set I and the Tianjin Medical University General Hospital database as external validation set II. To address the class imbalance issue that could significantly distort performance metrics, the synthetic minority oversampling technique was applied during model training []. The SHAP algorithm was used to interpret the predictions of the ML models by calculating the SHAP value for each feature, quantifying their contributions to the prediction outcomes, and identifying critical features that influence model decisions []. Subsequently, univariate and multivariable logistic regression and regression-based prediction models were used to compare the ML model with 4 commonly used clinical risk assessment models (SOFA, APACHE II, SAPS II, and OASIS) in the internal validation set and in external validation set I. External validation set II served as an independent dataset that more closely resembled real-world clinical scenarios and was used to further validate the clinical applicability of the optimal model. Furthermore, to assess internal consistency and mitigate the risk of overfitting, 10-fold cross-validation was applied during the training phase for the prognostic models. Results Baseline Characteristics As shown in , from an initial cohort of 28,931 patients with sepsis in the MIMIC-IV database, 20,951 (72.4%) were excluded and 7980 (27.6%) were included; of 19,578 patients with sepsis in the eICU-CRD database, 15,763 (80.5%) were excluded and 3815 (19.5%) were included; and of 393 patients with sepsis from Tianjin Medical University General Hospital, 158 (40.2%) were excluded and 235 (59.8%) were included. In total, 12,030 patients with SIC were analyzed across the 3 cohorts, comprising 7980 (66.3%), 3815 (31.7%), and 235 (2.0%) patients, respectively. summarizes the baseline demographic and clinical characteristics of the MIMIC-IV cohort, with a focus on 28-day mortality as the primary outcome and in-hospital mortality as the secondary outcome. Among these participants, 6015 survived (75.4%) and 1965 died (24.6%). The overall extent of missing data is presented in Table S2 in . Clinical data for the 2 external validation cohorts are provided in Tables S3 and S4 in . The optimal ML algorithm was identified as “cart,” selected based on the convergence and consistency of the distribution between imputed and observed values. This process was repeated 10 times, and the mean of the results was used to impute missing data for further analysis. Variable Selection The initial selection of these 41 candidate variables was comprehensively determined based on a literature review of previous prognostic studies on sepsis and coagulopathy, established clinical guidelines, and the routine availability of these variables in the ICU. Specifically, demographic characteristics, vital signs, interventions, and laboratory parameters were included as they have been widely validated as crucial predictors of mortality in patients with sepsis [-]. The RFE method combined with 10-fold cross-validation was used for preliminary screening, retaining 39 variables associated with the risk of short-term mortality (A). The Boruta algorithm selected 34 variables classified as “Confirmed”; the results of the Boruta-based feature selection are illustrated in B. Subsequently, LASSO coefficient analysis was performed. By minimizing binomial deviance through 10-fold cross-validation, the optimal lambda value (lambda.1se=0.0136) was determined, identifying 19 variables with nonzero coefficients (C). D shows the cross-validation curve for LASSO regression, demonstrating the binomial deviance across different lambda values. The feature subset was determined by the intersection of the 3 selection methods (E). Finally, multivariable logistic regression analysis identified 10 variables significantly associated with the outcome, including AG, RDW, lactate, total bilirubin, age, BUN, SpO2, PTT, heart rate, and vasopressors (Table S5 in ). All variables remained independently predictive after adjustment. VIF analysis showed no significant multicollinearity among the variables (Table S6 in ). Model Development and Validation Based on the identified features, 12 ML models were developed to predict the prognosis of patients with SIC. The AUC, accuracy, recall, F1-score, specificity, FPR, and FNR were calculated to comprehensively evaluate the models. Based on these evaluations, the XGBoost model demonstrated the best performance. In the internal validation cohort, the XGBoost model achieved an area under the receiver operating characteristic curve (AUROC) of 0.899 (95% CI 0.889‐0.909), with accuracy, F1-score, and specificity of 0.818, 0.819, and 0.817, respectively ( and ). The confusion matrix revealed 1628 true negatives (TNs), 196 true positives (TPs), 402 false negatives (FNs), and 168 false positives (FPs) regarding 28-day mortality (A). The model’s performance was further validated using external validation sets I and II. In external validation set I, the AUROC was 0.882 (95% CI 0.867‐0.897), and the model’s accuracy, F1-score, and specificity were 0.805, 0.803, and 0.813, respectively (Table S7 in ). The confusion matrix showed 2264 TNs, 372 TPs, 316 FNs, and 863 FPs (B). External validation set II assessed the clinical applicability of the model, with an AUROC of 0.904 (95% CI 0.846‐0.962), with accuracy, F1-score, and specificity of 0.815, 0.811, and 0.818, respectively (Table S7 in ). The confusion matrix indicated 158 TN, 13 TP, 29 FN, and 30 FP (C). Finally, the 12 models were used to evaluate in-hospital mortality in patients with SIC within the internal validation cohort. The results showed that the XGBoost model continued to perform excellently, with an AUROC (95% CI) of 0.963 (0.958‐0.968; Table S8 in ), further confirming the model’s predictive accuracy for the prognosis of SIC. Furthermore, to assess the robustness and generalizability of the XGBoost model, 10-fold cross-validation was performed to examine its predictive efficacy. Detailed performance metrics and ROC curve results (Table S9 and Figure S1 in ) indicated that the constructed model exhibited favorable robustness and generalizability, with no signs of overfitting or underfitting. To enhance the interpretability of the model, the SHAP method was used to quantify the contribution of each input feature to the model’s predictions. The importance scores of the 10 features used in the XGBoost model were calculated to identify critical factors (A and B). The position on the y-axis implicitly indicates the ranking of feature importance, while the x-axis represents the relationship between feature values and their corresponding SHAP values. For instance, the SHAP values for advanced age were generally greater than zero, indicating that the risk of mortality in patients with SIC increases with age. Furthermore, feature importance results based on absolute SHAP values revealed that the top 5 risk features for SIC were AG, RDW, lactate, total bilirubin, and age. Specifically, the analysis revealed a consistent positive correlation for the top 5 key predictors: higher levels of AG, elevated RDW, increased lactate concentrations, higher total bilirubin, and advanced age were all robustly associated with an increased predicted risk of 28-day mortality. For this specific patient, SHAP results indicated that the critical threshold values for predicting the probability of poor prognosis were AG=18 mmol/L, RDW=13.6%, SpO2=92.7%, and age=68 years (C). Model Comparison The performance of the XGBoost model was compared with that of 4 clinical risk assessment models using the internal validation set. The XGBoost model demonstrated the best discriminative ability (AUC=0.899) (A). Univariate logistic regression analysis revealed statistically significant odds ratios (ORs) for all models, with the XGBoost model exhibiting the largest effect size (OR 47.96, 95% CI 37.43‐61.81; P<.001). Multivariable regression analysis indicated significant predictive associations for the adjusted XGBoost model (OR 31.45, 95% CI 24.05‐41.35; P<.001), SAPS II, and OASIS, with the XGBoost model maintaining the strongest prognostic relationship (Table S10 in ). The same analysis was repeated using external validation set I, and the XGBoost model consistently demonstrated the best predictive accuracy for 28-day mortality (AUC=0.882; B). Univariate logistic regression analysis indicated that all models were statistically significant, with the XGBoost model retaining the most significant risk association (OR 77.47, 95% CI 54.98‐110.57; P<.001). Following multivariable adjustment, the XGBoost model (OR 52.05, 95% CI 36.23‐75.70; P<.001), SAPS II, OASIS, and APACHE II maintained significant prognostic associations, further confirming the robust predictive capability of the XGBoost model (Table S11 in ). Analysis of the external validation set II further assessed the model’s robust clinical adaptability (AUC=0.904; C). Consistent with previous findings, logistic regression in this cohort revealed that the XGBoost model maintained an exceptionally strong association with mortality in both univariate (OR 122.34, 95% CI 30.21‐649.17; P<.001) and multivariable analyses (OR 113.88, 95% CI 24.32‐762.29; P<.001). In contrast, traditional scores showed limited predictive value in multivariable analysis (Table S12 in ). Clinical Utility To objectively evaluate the clinical utility of the ML models in predicting 28-day mortality, calibration plots were generated using the bootstrap method, and DCA was performed for each model in the internal validation set and in 2 external validation sets. The DCA results indicated the net benefit of model-guided interventions across various threshold probabilities. A high net benefit indicates that using the model to trigger aggressive therapies, such as intensive fluid resuscitation, improves overall patient outcomes compared to treating all patients or none (D-F). Calibration curve analysis demonstrated that the XGBoost model maintained high consistency between predicted probabilities and actual outcomes. This accuracy builds physician trust for individual risk stratification (G-I). Considering the potential application of our model in future clinical practice, a user-friendly web-based tool, SIC Predict Streamlit, was developed []. This tool enables medical professionals to easily input key patient parameters to rapidly assess the mortality risk associated with SIC, thereby improving clinical resource utilization. Discussion Principal Findings In this study, we developed and validated SIC clinical prognosis prediction models based on 12 ML algorithms using 3 independent databases. The performance of each model was evaluated using AUROC, accuracy, recall, F1-score, and specificity, identifying the XGBoost model as having the optimal performance. This model exhibited excellent discriminative ability and robustness in both internal and external validation sets, significantly outperforming traditional risk assessment tools (SOFA, APACHE II, SAPS II, and OASIS). Clinically, by translating these robust algorithms into an accessible online calculator, this study provides a highly interpretable decision support tool that enables frontline clinicians to achieve early risk stratification, guide timely individualized interventions, and optimize the allocation of intensive care resources. SIC is a common and fatal complication in patients with sepsis, characterized by a vicious cycle of microvascular thrombosis and organ perfusion failure. The occurrence and severity of SIC are independently associated with in-hospital mortality [,]. Although the ISTH criteria provide a framework for identifying SIC, existing clinical scoring systems have inherent limitations in dynamic and individualized prognostic assessment [,]. Most of these models are based on linear assumptions, making it difficult to capture the highly nonlinear processes of physiological compensation and decompensation in SIC. In contrast, advanced ML algorithms, particularly tree-based ensemble methods such as XGBoost, are inherently designed to overcome these analytical bottlenecks. Unlike simpler linear models (eg, logistic regression), XGBoost iteratively constructs multiple DTs to minimize prediction errors, allowing it to automatically capture complex, higher-order interactions among diverse clinical variables []. This makes XGBoost exceptionally well-suited for modeling the intricate, multisystem pathophysiological cascades of SIC, thereby offering a more precise and individualized prognostic evaluation. To enhance the robustness and reliability of the model and eliminate irrelevant or highly collinear features, feature selection was performed using the following 3 methods: LASSO regression, the Boruta algorithm, and RFECV. This process identified 10 independent predictors associated with the prognosis of SIC. Furthermore, to enhance interpretability and facilitate clinical adoption, we implemented SHAP to visualize feature contributions and elucidate the decision-making process of the model []. SHAP importance analysis revealed that the top 5 key features were AG, RDW, lactate, total bilirubin, and age. These indicators reflect the body’s metabolic status, organ function, and physiological reserve capacity and are closely correlated with the pathophysiological mechanisms of SIC. AG is a crucial indicator for assessing acid-base balance and is commonly associated with metabolic acidosis []. Previous studies have shown that for each 1 mmol/L increase in AG, the risk of mortality can increase by 5% to 10% []. In patients with SIC, elevated AG suggests severe tissue hypoperfusion, cellular metabolic dysfunction, and multiple organ failure, serving as a comprehensive marker of disease severity. These represent the core pathological processes of sepsis-induced coagulation disorders. Sepsis leads to microcirculatory dysfunction, increasing the accumulation of acidic metabolites such as lactate, thereby widening the AG. A high AG not only indicates metabolic acidosis but is also associated with inflammatory cascades and coagulation activation, which further exacerbate endothelial injury and thrombosis, leading to a worse prognosis. RDW reflects the heterogeneity of red blood cell size; its elevation is closely related to inflammatory responses, oxidative stress, and malnutrition []. In SIC, a persistent inflammatory state suppresses bone marrow function and shortens red blood cell lifespan, leading to increased RDW. This may worsen prognosis by affecting microcirculation and exacerbating coagulation abnormalities (such as platelet activation and fibrin deposition), reflecting the chronicity and systemic inflammatory burden of sepsis [-]. Lactate is a direct marker of tissue hypoxia and anaerobic metabolism []. Microcirculatory dysfunction and tissue hypoperfusion lead to increased lactate production and decreased clearance. Hyperlactatemia not only suggests circulatory failure but is also associated with the progression of coagulation dysfunction, including endothelial cell activation and thrombosis, ultimately leading to organ failure []. Sepsis-induced liver injury (such as ischemic hepatitis or inflammatory cytokine storms) causes bilirubin metabolism disorders, further aggravating coagulation abnormalities. This correlates with multiple organ failure, forming a vicious cycle []. Advanced age reduces physiological reserve and enhances a prothrombotic state; older patients are more prone to coagulation activation and endothelial dysfunction, resulting in worsened prognosis []. For older patients with SIC, clinical decision-making should be more prudent, necessitating a balance between treatment benefits and risks to formulate individualized treatment plans. Beyond physiological interpretation, individualized SHAP force plots provide actionable bedside insights. Traditional models merely output a mortality probability. In contrast, SHAP explicitly identifies patient-specific pathophysiological drivers. For example, a high SHAP value for lactate directly alerts physicians to severe tissue hypoxia. This insight promptly guides targeted resuscitation strategies, including fluid optimization and vasopressor adjustments. Ultimately, SHAP transforms static predictions into dynamic guides for personalized critical care. By integrating large-scale multicenter databases, this study compared the XGBoost model with various ML algorithms and traditional clinical risk prediction models (including SOFA, APACHE II, SAPS II, and OASIS). Both internal and external validation cohorts confirmed the superior predictive capability of the XGBoost model for early mortality. DCA and calibration curves further validated the model’s clinical utility and predictive calibration. Compared with other models, the XGBoost model exhibited the widest range of clinically reasonable risk-threshold probabilities and the highest net benefit. Traditional scoring systems are static, weight-based additive systems, whereas ensemble learning models like XGBoost can iteratively learn higher-order interactions among complex features through boosting techniques. For instance, the model may capture synergistic effects between advanced age and delayed lactate clearance or between high bilirubin levels and coagulation disorders, which are nonlinear relationships that traditional statistical models struggle to represent effectively. Furthermore, we did not settle for merely providing a predictive tool with a high AUC; instead, we comprehensively screened for the optimal model using multiple performance metrics. Furthermore, multiple feature selection methods were used to ensure the robustness and biological plausibility of the selected variables. This approach effectively reduced model complexity and the risk of overfitting, ensuring that the model focused on the most biologically significant features. As a result, it provides an efficient and interpretable decision support tool for the prognostic evaluation of SIC. However, this study has several potential limitations. First, as a retrospective cohort study, it may be subject to selection bias and information bias, and causal relationships cannot be established. Future prospective studies are required to further validate model performance. Second, the model’s predictions are based on data obtained within the first 24 hours of ICU admission, without considering the dynamic evolution of the disease. Future research could develop dynamic prediction models incorporating time-series data to facilitate continuous risk assessment. Specifically, advanced deep learning architectures designed for sequential data hold great potential. Using models such as recurrent neural networks, long short-term memory networks, or transformers could enable the dynamic tracking of patient trajectories. Integrating these methodologies will facilitate continuous, real-time risk assessment and further improve prognostic accuracy. Third, although data from multiple centers were included, they were primarily from the United States and China, and the model’s performance in other ethnicities and regional populations remains unclear. Additionally, the relatively small sample size of external validation set II (n=235) may affect statistical power and the assessment of generalizability, necessitating further validation. Finally, due to data availability limitations, certain potentially important predictors (such as imaging features and genetic markers) were not included in the model, which may have restricted its predictive performance. Therefore, further validation using prospective, multicenter, and large-scale patient datasets will provide more robust evidence for the XGBoost model’s effectiveness and generalizability. Conclusions This study developed and validated ML models based on large-scale multicenter databases for predicting early mortality in patients with SIC, demonstrating significant improvement over traditional clinical risk assessment tools across all metrics. SHAP analysis further confirmed the model’s interpretability. The findings provide a valuable reference for the prognostic assessment and individualized management of patients with SIC. Footnotes