{"title":"开发和验证机器学习模型预测内镜治疗后hbv相关肝硬化患者食管胃静脉曲张再出血风险:一项前瞻性多中心研究","authors":"Linlin Zheng, Nannan Shi, Peizhao Li, HongFei Ge, Chuantao Tu, Ying Qu, Yin Wang, Yuanyuan Lin, Shiyao Chen, Dalong Sun, Chengzhao Weng, Shengdi Wu, Wei Jiang","doi":"10.1016/j.eclinm.2025.103436","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Rebleeding after initial endoscopic therapy is associated with high mortality in patients with hepatitis B virus (HBV)-related liver cirrhosis complicated by esophagogastric variceal bleeding (EGVB), imposing a substantial public health burden. Spontaneous portosystemic shunts (SPSS), a compensatory mechanism for portal hypertension, are closely associated with disease progression. This study aimed to develop and validate machine learning (ML) models incorporating clinical and imaging features to predict the risk and frequency of rebleeding following initial endoscopic treatment.</p><p><strong>Methods: </strong>This multicenter prospective study enrolled patients with HBV-related cirrhosis and EGVB treated at Zhongshan Hospital, Fudan University (the development cohort). External validation was completed in five tertiary centers in China. The trial was registered at ClinicalTrials.gov, NCT03277651. Data were collected between January 2017 and January 2022. Five classic ML algorithms, Hierarchical Gradient Boosting (HGB), Multilayer Perceptron (MLP), Random Forest (RF), Support Vector Machine (SVM), and Extreme Gradient Boosting with classification trees (XGB), were utilized to predict rebleeding. Model performance was evaluated using the area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, and F1 score. Time-dependent ML was further applied, with predictive performance compared between conventional and time-dependent models using the concordance index (C-index). The optimal model was interpreted via Shapley Additive Explanations (SHAP) and externally validated. Additionally, key predictors were integrated into a Support Vector Regression (SVR) model to estimate rebleeding frequency.</p><p><strong>Findings: </strong>Among 295 patients in the development cohort and 190 in the external cohort, rebleeding occurred in 77 and 68 patients with SPSS, respectively. The XGB model demonstrated the best discrimination (AUCs: 0.814 internal, 0.776 external), significantly outperforming the other models (<i>P</i> = 0.014, 0.008). Compared with the Model for End-stage Liver Disease (MELD) and Child-Pugh scores (AUCs: 0.557 and 0.590), the XGB model significantly improved rebleeding prediction (<i>P <</i> 0.0001). SHAP analysis identified hemoglobin, portal vein thrombosis, superior mesenteric vein diameter, platelet count, minimum shunt diameter, and splenic vein diameter as the top predictors. The SVR model achieved robust performance in estimating rebleeding frequency, with mean squared error (MSE) and R<sup>2</sup> values of 0.030 and 0.914 in the training set, 0.073 and 0.777 in the internal validation set, and 0.143 and 0.708 in the external validation set.</p><p><strong>Interpretation: </strong>The ML-based model offers a noninvasive, accurate tool for individualized risk stratification and follow-up planning in patients with HBV-related cirrhosis and SPSS after initial endoscopic therapy.</p><p><strong>Funding: </strong>The work was supported by National Natural Science Foundation of China (82370622); Fujian Provincial Medical Innovation Project (2022CXB020); and Xiamen Key Medical and Health Project (3502Z20234006).</p>","PeriodicalId":11393,"journal":{"name":"EClinicalMedicine","volume":"87 ","pages":"103436"},"PeriodicalIF":10.0000,"publicationDate":"2025-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12395071/pdf/","citationCount":"0","resultStr":"{\"title\":\"Development and validation of machine learning models to predict esophagogastric variceal rebleeding risk in HBV-related cirrhosis after endoscopic treatment: a prospective multicenter study.\",\"authors\":\"Linlin Zheng, Nannan Shi, Peizhao Li, HongFei Ge, Chuantao Tu, Ying Qu, Yin Wang, Yuanyuan Lin, Shiyao Chen, Dalong Sun, Chengzhao Weng, Shengdi Wu, Wei Jiang\",\"doi\":\"10.1016/j.eclinm.2025.103436\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Background: </strong>Rebleeding after initial endoscopic therapy is associated with high mortality in patients with hepatitis B virus (HBV)-related liver cirrhosis complicated by esophagogastric variceal bleeding (EGVB), imposing a substantial public health burden. Spontaneous portosystemic shunts (SPSS), a compensatory mechanism for portal hypertension, are closely associated with disease progression. This study aimed to develop and validate machine learning (ML) models incorporating clinical and imaging features to predict the risk and frequency of rebleeding following initial endoscopic treatment.</p><p><strong>Methods: </strong>This multicenter prospective study enrolled patients with HBV-related cirrhosis and EGVB treated at Zhongshan Hospital, Fudan University (the development cohort). External validation was completed in five tertiary centers in China. The trial was registered at ClinicalTrials.gov, NCT03277651. Data were collected between January 2017 and January 2022. Five classic ML algorithms, Hierarchical Gradient Boosting (HGB), Multilayer Perceptron (MLP), Random Forest (RF), Support Vector Machine (SVM), and Extreme Gradient Boosting with classification trees (XGB), were utilized to predict rebleeding. Model performance was evaluated using the area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, and F1 score. Time-dependent ML was further applied, with predictive performance compared between conventional and time-dependent models using the concordance index (C-index). The optimal model was interpreted via Shapley Additive Explanations (SHAP) and externally validated. Additionally, key predictors were integrated into a Support Vector Regression (SVR) model to estimate rebleeding frequency.</p><p><strong>Findings: </strong>Among 295 patients in the development cohort and 190 in the external cohort, rebleeding occurred in 77 and 68 patients with SPSS, respectively. The XGB model demonstrated the best discrimination (AUCs: 0.814 internal, 0.776 external), significantly outperforming the other models (<i>P</i> = 0.014, 0.008). Compared with the Model for End-stage Liver Disease (MELD) and Child-Pugh scores (AUCs: 0.557 and 0.590), the XGB model significantly improved rebleeding prediction (<i>P <</i> 0.0001). SHAP analysis identified hemoglobin, portal vein thrombosis, superior mesenteric vein diameter, platelet count, minimum shunt diameter, and splenic vein diameter as the top predictors. The SVR model achieved robust performance in estimating rebleeding frequency, with mean squared error (MSE) and R<sup>2</sup> values of 0.030 and 0.914 in the training set, 0.073 and 0.777 in the internal validation set, and 0.143 and 0.708 in the external validation set.</p><p><strong>Interpretation: </strong>The ML-based model offers a noninvasive, accurate tool for individualized risk stratification and follow-up planning in patients with HBV-related cirrhosis and SPSS after initial endoscopic therapy.</p><p><strong>Funding: </strong>The work was supported by National Natural Science Foundation of China (82370622); Fujian Provincial Medical Innovation Project (2022CXB020); and Xiamen Key Medical and Health Project (3502Z20234006).</p>\",\"PeriodicalId\":11393,\"journal\":{\"name\":\"EClinicalMedicine\",\"volume\":\"87 \",\"pages\":\"103436\"},\"PeriodicalIF\":10.0000,\"publicationDate\":\"2025-08-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12395071/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"EClinicalMedicine\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1016/j.eclinm.2025.103436\",\"RegionNum\":1,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2025/9/1 0:00:00\",\"PubModel\":\"eCollection\",\"JCR\":\"Q1\",\"JCRName\":\"MEDICINE, GENERAL & INTERNAL\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"EClinicalMedicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1016/j.eclinm.2025.103436","RegionNum":1,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/9/1 0:00:00","PubModel":"eCollection","JCR":"Q1","JCRName":"MEDICINE, GENERAL & INTERNAL","Score":null,"Total":0}
Development and validation of machine learning models to predict esophagogastric variceal rebleeding risk in HBV-related cirrhosis after endoscopic treatment: a prospective multicenter study.
Background: Rebleeding after initial endoscopic therapy is associated with high mortality in patients with hepatitis B virus (HBV)-related liver cirrhosis complicated by esophagogastric variceal bleeding (EGVB), imposing a substantial public health burden. Spontaneous portosystemic shunts (SPSS), a compensatory mechanism for portal hypertension, are closely associated with disease progression. This study aimed to develop and validate machine learning (ML) models incorporating clinical and imaging features to predict the risk and frequency of rebleeding following initial endoscopic treatment.
Methods: This multicenter prospective study enrolled patients with HBV-related cirrhosis and EGVB treated at Zhongshan Hospital, Fudan University (the development cohort). External validation was completed in five tertiary centers in China. The trial was registered at ClinicalTrials.gov, NCT03277651. Data were collected between January 2017 and January 2022. Five classic ML algorithms, Hierarchical Gradient Boosting (HGB), Multilayer Perceptron (MLP), Random Forest (RF), Support Vector Machine (SVM), and Extreme Gradient Boosting with classification trees (XGB), were utilized to predict rebleeding. Model performance was evaluated using the area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, and F1 score. Time-dependent ML was further applied, with predictive performance compared between conventional and time-dependent models using the concordance index (C-index). The optimal model was interpreted via Shapley Additive Explanations (SHAP) and externally validated. Additionally, key predictors were integrated into a Support Vector Regression (SVR) model to estimate rebleeding frequency.
Findings: Among 295 patients in the development cohort and 190 in the external cohort, rebleeding occurred in 77 and 68 patients with SPSS, respectively. The XGB model demonstrated the best discrimination (AUCs: 0.814 internal, 0.776 external), significantly outperforming the other models (P = 0.014, 0.008). Compared with the Model for End-stage Liver Disease (MELD) and Child-Pugh scores (AUCs: 0.557 and 0.590), the XGB model significantly improved rebleeding prediction (P < 0.0001). SHAP analysis identified hemoglobin, portal vein thrombosis, superior mesenteric vein diameter, platelet count, minimum shunt diameter, and splenic vein diameter as the top predictors. The SVR model achieved robust performance in estimating rebleeding frequency, with mean squared error (MSE) and R2 values of 0.030 and 0.914 in the training set, 0.073 and 0.777 in the internal validation set, and 0.143 and 0.708 in the external validation set.
Interpretation: The ML-based model offers a noninvasive, accurate tool for individualized risk stratification and follow-up planning in patients with HBV-related cirrhosis and SPSS after initial endoscopic therapy.
Funding: The work was supported by National Natural Science Foundation of China (82370622); Fujian Provincial Medical Innovation Project (2022CXB020); and Xiamen Key Medical and Health Project (3502Z20234006).
期刊介绍:
eClinicalMedicine is a gold open-access clinical journal designed to support frontline health professionals in addressing the complex and rapid health transitions affecting societies globally. The journal aims to assist practitioners in overcoming healthcare challenges across diverse communities, spanning diagnosis, treatment, prevention, and health promotion. Integrating disciplines from various specialties and life stages, it seeks to enhance health systems as fundamental institutions within societies. With a forward-thinking approach, eClinicalMedicine aims to redefine the future of healthcare.