基于极端梯度提升算法的肝细胞癌术后胆漏 预测模型构建与决策曲线分析
Prediction Model Construction and Decision Curve Analysis of Postoperative Bile Leakage in Hepatocellular Carcinoma Based on Extreme Gradient Boosting Algorithm
摘要: 目的:基于极端梯度提升(XGBoost)算法构建肝细胞癌(HCC)根治性肝切除术后胆漏风险预测模型,结合决策曲线分析(DCA)验证临床应用价值,为围手术期高危患者精准识别与分层管理提供量化依据。方法:采用回顾性队列研究设计,收集2015年12月至2025年12月350例HCC根治性肝切除患者临床资料,依据ISGLS标准分为胆漏组(42例)与非胆漏组(308例)。经单因素分析和LASSO回归降维筛选关键变量,按7:3分为训练集(245例)与验证集(105例),构建XGBoost模型并五折交叉验证优化超参数。与LR、RF、GBM模型对比判别能力与临床净获益,以AUC、准确率、灵敏度、特异度评价判别能力,校准曲线与Brier评分验证校准度,DCA分析临床净获益,SHAP值解析特征重要度与交互效应。结果:350例HCC患者术后胆漏发生率12.0%,单因素联合LASSO筛选出9个关键变量。XGBoost模型训练集与验证集AUC分别为0.908、0.849,显著高于LR (0.807、0.763)、RF (0.872、0.817)及GBM (0.886、0.831);验证集准确率、灵敏度、特异度分别为0.848、0.786、0.854,Brier评分0.11,校准曲线显示预测概率与真实发生率高度一致。DCA显示0.05~0.60风险阈值范围内XGBoost净获益持续高于LR及两种极端策略。SHAP分析表明大范围肝切除、胆道重建、术中失血量为三大核心危险因素,且存在协同交互效应。结论:基于XGBoost算法构建的HCC术后胆漏预测模型具有优异的判别能力与校准度,其临床净获益显著,可有效实现术前、术中对胆漏高危患者的精准识别,为围手术期手术策略优化、血流动力学管理、肝功能保护等干预措施的制定提供了靶向方向,具有重要的临床转化与应用价值。
Abstract: Objective: To develop a predictive model for the risk of bile leakage following curative hepatectomy for hepatocellular carcinoma (HCC) using the Extreme Gradient Boosting (XGBoost) algorithm, to validate its clinical utility through decision curve analysis (DCA), and to provide quantitative evidence for the precise identification and stratified management of high-risk patients during the perioperative period. Methods: A retrospective cohort study design was employed. Clinical data were collected from 350 patients who underwent curative hepatectomy for HCC between December 2015 and December 2025. Patients were classified into a bile leak group (42 cases) and a non-bile leak group (308 cases) according to ISGLS criteria. Key variables were screened through univariate analysis and LASSO regression for dimensionality reduction. The dataset was split 7:3 into a training set (245 cases) and a validation set (105 cases), and an XGBoost model was constructed with five-fold cross-validation to optimize hyperparameters. The discriminatory performance and clinical net benefit were compared with those of LR, RF, and GBM models. Discriminatory performance was evaluated using AUC, accuracy, sensitivity, and specificity; calibration was verified using ROC curves and Brier scores; clinical net benefit was analyzed using DCA; and feature importance and interaction effects were interpreted using SHAP values. Results: The incidence of postoperative bile leakage among 350 HCC patients was 12.0%. Univariate analysis combined with LASSO identified 9 key variables. The AUC values for the XGBoost model on the training set and validation set were 0.908 and 0.849, respectively, which were significantly higher than those of LR (0.807, 0.763), RF (0.872, 0.817), and GBM (0.886, 0.831); the validation set accuracy, sensitivity, and specificity were 0.848, 0.786, and 0.854, respectively, with a Brier score of 0.11. The calibration curve demonstrated high consistency between predicted probability and actual incidence. DCA analysis showed that within the risk threshold range of 0.05~0.60, the net benefit of XGBoost consistently exceeded that of LR and the two extreme strategies. SHAP analysis indicated that extensive liver resection, biliary reconstruction, and intraoperative blood loss were the three core risk factors, with synergistic interactions among them. Conclusion: The postoperative bile leak prediction model for HCC, constructed using the XGBoost algorithm, demonstrates excellent discriminatory power and calibration. It offers significant clinical net benefit and can effectively identify high-risk patients for bile leaks before and during surgery. This model provides a targeted direction for formulating perioperative interventions, including optimization of surgical strategies, hemodynamic management, and liver function protection, and holds significant clinical translation and application value.
文章引用:王佳乐, 任定宇, 凌克旺, 童朝刚. 基于极端梯度提升算法的肝细胞癌术后胆漏 预测模型构建与决策曲线分析[J]. 临床医学进展, 2026, 16(5): 419-430. https://doi.org/10.12677/acm.2026.1651832

参考文献

[1] Malik, A.K., Geh, D., Jeffry Evans, T.R., Chow, P.K.H., Mann, D.A. and White, S.A. (2026) Improving Surgical Treatments for Hepatocellular Carcinoma. Nature Reviews Gastroenterology & Hepatology, 23, 208-226. [Google Scholar] [CrossRef
[2] Shen, Y., Hu, Y., Xu, J., Zhu, S., Cai, L., Wu, Y., et al. (2025) Incidence, Risk Factors, Outcomes, and Prediction Model of Surgical Site Infection after Hepatectomy for Hepatocellular Carcinoma: A Multicenter Cohort Study. European Journal of Surgical Oncology, 51, 109486. [Google Scholar] [CrossRef] [PubMed]
[3] 徐若翔, 曾智明, 朱广志, 等. 肝细胞癌AASLD (2023年版)、NCCN (2024年版)、ASCO (2024年版)指南和中国《原发性肝癌诊疗指南(2024年版)》更新解读[J]. 中国普外基础与临床杂志, 2025, 32(2): 184-191.
[4] Rahbari, N.N., Garden, O.J., Padbury, R., Brooke-Smith, M., Crawford, M., Adam, R., et al. (2011) Posthepatectomy Liver Failure: A Definition and Grading by the International Study Group of Liver Surgery (ISGLS). Surgery, 149, 713-724. [Google Scholar] [CrossRef] [PubMed]
[5] Sadamori, H., Yagi, T., Matsuda, H., Shinoura, S., Umeda, Y., Yoshida, R., et al. (2010) Risk Factors for Major Morbidity after Hepatectomy for Hepatocellular Carcinoma in 293 Recent Cases. Journal of Hepato-Biliary-Pancreatic Sciences, 17, 709-718. [Google Scholar] [CrossRef] [PubMed]
[6] Sliwinski, S., Heil, J., Franz, J., El Youzouri, H., Heise, M., Bechstein, W.O., et al. (2023) A Critical Appraisal of the ISGLS Definition of Biliary Leakage after Liver Resection. Langenbecks Archives of Surgery, 408, Article No. 77. [Google Scholar] [CrossRef] [PubMed]
[7] Altaf, A., Munir, M.M., Khan, M.M.M., Rashid, Z., Khalil, M., Guglielmi, A., et al. (2025) Machine Learning Based Prediction Model for Bile Leak Following Hepatectomy for Liver Cancer. HPB, 27, 489-501. [Google Scholar] [CrossRef] [PubMed]
[8] Zwirner, S., Abu Rmilah, A.A., Klotz, S., Pfaffenroth, B., Kloevekorn, P., Moschopoulou, A.A., et al. (2024) First-in-Class MKK4 Inhibitors Enhance Liver Regeneration and Prevent Liver Failure. Cell, 187, 1666-1684.e26. [Google Scholar] [CrossRef] [PubMed]
[9] Tashiro, H., Onoe, T., Tanimine, N., Tazuma, S., Shibata, Y., Sudo, T., et al. (2024) Utility of Machine Learning in the Prediction of Post-Hepatectomy Liver Failure in Liver Cancer. Journal of Hepatocellular Carcinoma, 11, 1323-1330. [Google Scholar] [CrossRef] [PubMed]
[10] Li, H., Chen, S., Lu, L., Hu, X., Lin, S. and Zhu, L. (2022) Decision Curve Analysis to Identify Optimal Candidates of Liver Resection for Intermediate-Stage Hepatocellular Carcinoma with Hepatitis B Cirrhosis: A Cohort Study. Medicine, 101, e31325. [Google Scholar] [CrossRef] [PubMed]
[11] Qi, X., Wang, S., Fang, C., Jia, J., Lin, L. and Yuan, T. (2025) Machine Learning and SHAP Value Interpretation for Predicting Comorbidity of Cardiovascular Disease and Cancer with Dietary Antioxidants. Redox Biology, 79, Article ID: 103470. [Google Scholar] [CrossRef] [PubMed]
[12] Xue, S., Wang, H., Chen, X. and Zeng, Y. (2023) Risk Factors of Postoperative Bile Leakage after Liver Resection: A Systematic Review and Meta‐Analysis. Cancer Medicine, 12, 14922-14936. [Google Scholar] [CrossRef] [PubMed]
[13] Zhang, X., Gavaldà, R. and Baixeries, J. (2022) Interpretable Prediction of Mortality in Liver Transplant Recipients Based on Machine Learning. Computers in Biology and Medicine, 151, Article ID: 106188. [Google Scholar] [CrossRef] [PubMed]
[14] Sadamori, H., Yagi, T., Shinoura, S., Umeda, Y., Yoshida, R., Satoh, D., et al. (2013) Risk Factors for Organ/Space Surgical Site Infection after Hepatectomy for Hepatocellular Carcinoma in 359 Recent Cases. Journal of Hepato-Biliary-Pancreatic Sciences, 20, 186-196. [Google Scholar] [CrossRef] [PubMed]
[15] Tan, L., Liu, F., Liu, Z. and Xiao, J. (2021) Meta-Analysis of Risk Factors for Bile Leakage after Hepatectomy without Biliary Reconstruction. Frontiers in Surgery, 8, Article ID: 764211. [Google Scholar] [CrossRef] [PubMed]
[16] Vienet, J., Labgaa, I., Duran, R., Godat, S., Blanc, C., Uldry, E., et al. (2025) Incidence and Risk Factors of Biliary Leaks after Partial Hepatectomy within an Enhanced Recovery Perioperative Pathway: A Single-Center Retrospective Cohort Study. Langenbecks Archives of Surgery, 410, Article No. 104. [Google Scholar] [CrossRef] [PubMed]
[17] Li, W., Chang, C., Kundu, S. and Long, Q. (2024) Accounting for Network Noise in Graph-Guided Bayesian Modeling of Structured High-Dimensional Data. Biometrics, 80, ujae012. [Google Scholar] [CrossRef] [PubMed]
[18] 刘小峰, 洪智文, 陈芳, 等. XGBoost模型与Logistic回归模型预测儿童TBTB合并MPP的价值[J]. 华夏医学, 2024, 37(5): 55-61.
[19] Mahamid, A. (2026) Correspondence: “Impact of Post-Hepatectomy Liver Failure on Recurrence Following Major Hepatectomy for Colorectal Cancer Liver Metastases”. HPB, 28, Article No. 596. [Google Scholar] [CrossRef
[20] Scholz, C., Hoppe-Lotichius, M., Weinmann, A., Foerster, F., Bartsch, F. and Lang, H. (2025) Performance of Major Liver Resection for Gallbladder Cancer—A Western Retrospective Single Center Cohort Study. Hepatobiliary Surgery and Nutrition, 14, 914-926. [Google Scholar] [CrossRef
[21] Cauchy, F., Fuks, D., Nomi, T., Schwarz, L., Belgaumkar, A., Scatton, O., et al. (2015) Incidence, Risk Factors and Consequences of Bile Leakage Following Laparoscopic Major Hepatectomy. Surgical Endoscopy, 30, 3709-3719. [Google Scholar] [CrossRef] [PubMed]
[22] Altaf, A., Akabane, M., Khalil, M., Rashid, Z., Zindani, S., Kawashima, J., et al. (2025) Impact of Intraoperative Blood Loss on Postoperative Morbidity after Liver Resection for Primary and Secondary Liver Cancer. HPB, 27, 660-669. [Google Scholar] [CrossRef] [PubMed]
[23] Junrungsee, S., Vipudhamorn, W., Lapisatepun, W., Thepbunchonchai, A., Chotirosniramit, A., Lapisatepun, W., et al. (2025) Portal Flow Modulation by Splenic Artery Ligation to Prevent Posthepatectomy Liver Failure: A Randomized Controlled Trial. Surgery, 185, Article ID: 109351. [Google Scholar] [CrossRef] [PubMed]