# Predicting Postoperative Survival in Patients With Malignant Biliary Obstruction Using an Interpretable Machine Learning Model: A Multicenter Study

**Authors:** Zongdong Zhu, Chenyang Bian, Linjing Zhao, Weiwei Li, Kaixin Hu, Qinggao Song, Huangbao Li

PMC · DOI: 10.1002/cam4.71692 · Cancer Medicine · 2026-03-06

## TL;DR

This study develops a machine learning model to predict survival after surgery for patients with malignant biliary obstruction, identifying key factors that influence outcomes.

## Contribution

The novel contribution is an interpretable XGBoost AFT model validated across multiple centers for predicting postoperative survival in MBO patients.

## Key findings

- The XGBoost AFT model achieved high concordance indices (0.902 in training, 0.722 and 0.705 in external tests).
- SHAP analysis identified distant metastasis, bilirubin levels, prothrombin time, and obstruction level as key survival predictors.
- The model effectively stratified patients into high-risk and low-risk groups using Kaplan–Meier analysis.

## Abstract

Endoscopic bile duct drainage is crucial for improving the survival and quality of life in patients with malignant biliary obstruction (MBO). This study aimed to identify key factors that affect postoperative survival in patients with MBO, develop a predictive model, and validate the performance of the model using external data.

Data were retrospectively collected from The First Hospital of Jiaxing (between 2013 and 2021), The Second Hospital of Jiaxing (between 2014 and 2021), and Affiliated Hospital of Shaanxi University of Traditional Chinese Medicine (between 2014 and 2021). Patient demographics, disease characteristics, and laboratory results of 337 patients were analyzed. Various machine learning models, including the gradient boosted survival tree, extreme gradient boosting (XGBoost), XGBoost accelerated failure time (XGBoost AFT), random survival forests, and Cox proportional hazards regression, were used. The model performance was assessed using the concordance index (C‐index), and SHapley Additive exPlanations (SHAP) values were used to interpret the model.

The XGBoost AFT model exhibited the best performance, with C‐index values of 0.902, 0.722, and 0.705 for the training cohort, test cohort 1, and test cohort 2, respectively. The SHAP analysis revealed that distant metastasis, high total bilirubin level, prolonged prothrombin time, and high‐level obstruction significantly impacted survival. A Kaplan–Meier survival analysis demonstrated that the model effectively stratified patients into the high‐risk and low‐risk groups.

This study provides a robust model that can predict the postoperative survival in patients with MBO. This model was validated using external data, and the results offer valuable guidance for postoperative management and personalized treatment.

## Linked entities

- **Chemicals:** bilirubin (PubChem CID 5280352)

## Full-text entities

- **Genes:** TENM1 (teneurin transmembrane protein 1) [NCBI Gene 10178] {aka ODZ1, ODZ3, TEN-M1, TEN1, TNM, TNM1}, GPT (glutamic--pyruvic transaminase) [NCBI Gene 2875] {aka AAT1, ALT, ALT1, GPT1, SGPT}, ALB (albumin) [NCBI Gene 213] {aka FDAHT, HSA, PRO0883, PRO0903, PRO1341}, SLC17A5 (solute carrier family 17 member 5) [NCBI Gene 26503] {aka AST, ISSD, NSD, SD, SIALIN, SIASD}, SHROOM4 (shroom family member 4) [NCBI Gene 57477] {aka MRXSSDS, SHAP, shrm4}, F2 (coagulation factor II, thrombin) [NCBI Gene 2147] {aka PT, RPRGL2, THPH1}
- **Diseases:** Cancer (MESH:D009369), critically ill (MESH:D016638), bile duct cancer (MESH:D001650), Hepatobiliary Pancreatic Cancer (MESH:D010190), obstructions (MESH:D000402), Cholangitis (MESH:D002761), , bile duct (MESH:D001649), gallbladder cancer (MESH:D005706), biliary tract infection (MESH:D001660), Jaundice (MESH:D007565), ML (MESH:D007859), cholangiocarcinoma (MESH:D018281), hilar cholangiocarcinoma (MESH:D018285), coagulopathy (MESH:D001778), infection (MESH:D007239), bile duct obstruction (MESH:D002779), GOO (MESH:D017219), ascites (MESH:D001201), distant metastasis (MESH:D009362), death (MESH:D003643), GBST (MESH:D011475), hyperbilirubinemia (MESH:D006932), malignant obstructive jaundice (MESH:D041781), lymph node metastasis (MESH:D008207), biliary obstruction (MESH:D001658)
- **Chemicals:** bilirubin (MESH:D001663), TB (MESH:D013725), vitamin K (MESH:D014812), MBO (-), creatinine (MESH:D003404)
- **Species:** Mus musculus (house mouse, species) [taxon 10090], Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12964315/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12964315/full.md

## References

50 references — full list in the complete paper: https://tomesphere.com/paper/PMC12964315/full.md

---
Source: https://tomesphere.com/paper/PMC12964315