Observational Study Open Access
Copyright ©The Author(s) 2025. Published by Baishideng Publishing Group Inc. All rights reserved.
World J Gastroenterol. Jan 28, 2025; 31(4): 100401
Published online Jan 28, 2025. doi: 10.3748/wjg.v31.i4.100401
Machine learning prediction of hepatic encephalopathy for long-term survival after transjugular intrahepatic portosystemic shunt in acute variceal bleeding
De-Jia Liu, Qi-Feng Peng, Qing Tan, Zhong-Yue Ou, Li-Zi Kun, Jian-Bo Zhao, Division of Vascular and Interventional Radiology, Department of General Surgery, Nanfang Hospital, Southern Medical University, Guangzhou 510151, Guangdong Province, China
Li-Xuan Jia, Feng-Xia Zeng, Wei-Xiong Zeng, Geng-Geng Qin, Hui Zeng, Wei-Guo Chen, Department of Radiology, Nanfang Hospital, Southern Medical University, Guangzhou 510151, Guangdong Province, China
ORCID number: Jian-Bo Zhao (0000-0003-0221-8671).
Co-first authors: De-Jia Liu and Li-Xuan Jia.
Co-corresponding authors: Jian-Bo Zhao and Wei-Guo Chen.
Author contributions: Liu DJ, Jia LX, and Zhao JB designed the experiments and analyzed the data; Peng QF, Tan Q, and Li ZK performed the transjugular intrahepatic portosystemic shunt procedure; Chen WG, Qin GG, and Zeng FX analyzed the data; Liu DJ, Jia LX, and Zeng WX wrote the manuscript; Zeng H and Ou ZK prepared the figures; All authors have reviewed and approved the manuscript; Zhao JB and Chen WG are designated co-corresponding authors due to their equal contributions to research conception, methodology, data analysis, and manuscript preparation, they jointly managed journal communication, ensuring their efforts are equally recognized; Similarly, Liu DJ and Jia LX are credited as co-first authors for their equal roles in research design, data collection, analysis, and drafting, both designations reflect the collaborative nature of the project and the shared contributions of all involved.
Supported by the Natural Science Foundation of Guangdong Province, No. 2024A1515013069.
Institutional review board statement: This study was conceived retrospectively in accordance with the Declaration of Helsinki and was approved by the ethics committee of the Nanfang Hospital, Southern Medical University, No. NFEC-2024-258.
Informed consent statement: The Institutional Review Board of the Southern Medical University waived the requirement for patient-informed consent this retrospective analysis.
Conflict-of-interest statement: The authors declare that they have no conflict of interest.
Data sharing statement: Technical appendix, statistical code, and dataset available upon reasonable request to the corresponding author at liudejia1998@163.com.
STROBE statement: The authors have read the STROBE Statement—checklist of items, and the manuscript was prepared and revised according to the STROBE Statement—checklist of items.
Open-Access: This article is an open-access article that was selected by an in-house editor and fully peer-reviewed by external reviewers. It is distributed in accordance with the Creative Commons Attribution NonCommercial (CC BY-NC 4.0) license, which permits others to distribute, remix, adapt, build upon this work non-commercially, and license their derivative works on different terms, provided the original work is properly cited and the use is non-commercial. See: https://creativecommons.org/Licenses/by-nc/4.0/
Corresponding author: Jian-Bo Zhao, MD, Doctor, Division of Vascular and Interventional Radiology, Department of General Surgery, Nanfang Hospital, Southern Medical University, No. 1838 North Guangzhou Main Road, Guangzhou 510151, Guangdong Province, China. zhaojianbohgl@163.com
Received: August 15, 2024
Revised: October 23, 2024
Accepted: December 2, 2024
Published online: January 28, 2025
Processing time: 136 Days and 22.5 Hours

Abstract
BACKGROUND

Transjugular intrahepatic portosystemic shunt (TIPS) is an effective intervention for managing complications of portal hypertension, particularly acute variceal bleeding (AVB). While effective in reducing portal pressure and preventing rebleeding, TIPS is associated with a considerable risk of overt hepatic encephalopathy (OHE), a complication that significantly elevates mortality rates.

AIM

To develop a machine learning (ML) model to predict OHE occurrence post-TIPS in patients with AVB using a 5-year dataset.

METHODS

This retrospective single-center study included 218 patients with AVB who underwent TIPS. The dataset was divided into training (70%) and testing (30%) sets. Critical features were identified using embedded methods and recursive feature elimination. Three ML algorithms-random forest, extreme gradient boosting, and logistic regression-were validated via 10-fold cross-validation. SHapley Additive exPlanations analysis was employed to interpret the model’s predictions. Survival analysis was conducted using Kaplan-Meier curves and stepwise Cox regression analysis to compare overall survival (OS) between patients with and without OHE.

RESULTS

The median OS of the study cohort was 47.83 ± 22.95 months. Among the models evaluated, logistic regression demonstrated the highest performance with an area under the curve (AUC) of 0.825. Key predictors identified were Child-Pugh score, age, and portal vein thrombosis. Kaplan-Meier analysis revealed that patients without OHE had a significantly longer OS (P = 0.005). The 5-year survival rate was 78.4%, with an OHE incidence of 15.1%. Both actual OHE status and predicted OHE value were significant predictors in each Cox model, with model-predicted OHE achieving an AUC of 88.1 in survival prediction.

CONCLUSION

The ML model accurately predicts post-TIPS OHE and outperforms traditional models, supporting its use in improving outcomes in patients with AVB.

Key Words: Transjugular intrahepatic portosystemic shunt; Acute variceal bleeding; Overt hepatic encephalopathy; Machine learning; Logistic regression

Core Tip: This study developed a machine learning (ML) model to predict overt hepatic encephalopathy (OHE) after transjugular intrahepatic portosystemic shunt (TIPS) in patients with acute variceal bleeding (AVB). Utilizing a 5-year retrospective dataset of 218 patients, key features such as Child-Pugh score, age, and portal vein thrombosis were identified. The ML model demonstrated a strong performance, with an area under the curve of 0.825. This ML model effectively predicts post-TIPS OHE, providing a valuable tool for tailoring personalized treatment plans. Its superior performance over traditional models supports its integration into clinical practice to enhance outcomes for patients with AVB undergoing TIPS.



INTRODUCTION

Transjugular intrahepatic portosystemic shunt (TIPS) is a widely recognized intervention for managing complications of portal hypertension, particularly in patients suffering from acute variceal bleeding (AVB)[1-3]. Despite TIPS effectively reducing portal pressure and controlling bleeding, it carries a significant risk of overt hepatic encephalopathy (OHE) with an incidence of 10% to 30%[4]. Multiple studies and meta-analyses have demonstrated that post-TIPS hepatic encephalopathy, especially OHE, significantly increases the risk of early mortality in patients. Moreover, post-TIPS OHE and Child-Pugh grade have been recognized as key independent predictors of early mortality[5]. This risk constrains TIPS from being considered first-line treatment for AVB. Accurate prediction of OHE post-TIPS is essential for optimizing patient management and improving clinical outcomes.

Previous studies have developed various predictive models for assessing and stratifying the risk factors for OHE, yet none have been widely adopted in clinical practice[6-8]. Recent advancements in machine learning (ML) have significantly improved the accuracy of clinical outcome predictions by leveraging large datasets and utilizing sophisticated algorithms that can uncover intricate patterns and relationships within the data, enhancing predictive capabilities in medical practice[9]. ML models incorporate diverse variables from clinical, biochemical, and procedural data, thereby enhancing predictive accuracy[10,11]. Various ML algorithms, including logistic regression (LR) and more sophisticated approaches such as extreme gradient boosting (XGBoost), have demonstrated strong potential for improving clinical outcome predictions by capturing essential predictive factors across multiple medical conditions. By utilizing advanced techniques such as recursive feature elimination (RFE) and employing robust evaluation metrics such as the area under the curve (AUC), these models can enhance prediction accuracy. In addition, the integration of model results with preoperative indicators offers valuable insights into patient prognosis following TIPS, contributing to more informed decision-making and personalized treatment strategies.

This study developed an ML model for predicting post-TIPS OHE in patients with AVB using a 5-year longitudinal dataset and assessed the impact of model metrics on patient survival. The model’s predictions are expected to serve as crucial indicators of long-term survival following TIPS.

MATERIALS AND METHODS
Patient criteria

This retrospective, single-center study was conducted at our institution with approval of the institutional review board, following the principles of the Declaration of Helsinki. Patients who underwent TIPS for AVB between April 2017 and December 2020 were screened. The inclusion criteria were: (1) Liver cirrhosis diagnosis confirmed by clinical evaluation, imaging, or biopsy; and (2) Initial AVB due to portal hypertension. The exclusion criteria were: (1) Previous TIPS or surgical shunt; (2) Repeated occurrences of AVB and related treatments; (3) Liver cancer or other extrahepatic malignancies; (4) TIPS unrelated to AVB; (5) Severe cardiac, pulmonary, or renal insufficiency and expected survival time of less than 3 months; and (6) Loss to follow-up within 1 month post-TIPS (Figure 1). All patients with AVB received treatment with vasoactive drugs, received endoscopic hemostasis as appropriate, and underwent TIPS within 7 days of first onset. After TIPS, all patients were administered lactulose and rifaximin to prevent OHE onset. Within 7 days before the TIPS procedure, demographic and baseline clinical characteristics were collected.

Figure 1
Figure 1 Study design. A: Development and validation of the overt hepatic encephalopathy prediction model; B: Flowchart of patient enrollment and grouping. LR: Logistic regression; RFE: Recursive feature elimination; K-M: Kaplan-Meier; SHAP: SHapley Additive exPlanations; DCA: Decision curve analysis; AVB: Acute variceal bleeding; TIPS: Transjugular intrahepatic portosystemic shunt; ML: Machine learning.
Follow-up and outcomes

Patients were followed up regularly at specific intervals-1 week, 1 month, 3 months, 6 months, and 1 year after the TIPS procedure-and annually thereafter until death or the end of the follow-up period. Key outcome measures included the occurrence of OHE, defined as the development of clinically apparent hepatic encephalopathy requiring medical intervention, and overall survival (OS), defined as the time from TIPS placement to death from any cause. Follow-up data were collected through clinical visits, imaging studies, and biochemical tests. The occurrence of OHE and other complications was recorded based on standardized diagnostic criteria, and survival status was confirmed through hospital records or follow-up communications.

TIPS procedure

All procedures were successfully performed by the same interventional radiology team with 5 years to 20 years of experience. Using the Seldinger technique, the right internal jugular vein was punctured successfully, followed by pre-dilation with a 10F dilator. Under guidewire guidance, the RUPS-100 sheath (COOK Medical, Bloomington, IN, United States) was advanced to the inferior vena cava to measure inferior vena cava pressure. The catheter was positioned in the hepatic vein and confirmed by a “smoke” sign. Under fluoroscopic guidance, a puncture needle was introduced to puncture the left or right branch of the portal vein via the hepatic vein through the liver parenchyma. Then, a catheter was advanced into the main portal vein for pressure measurement and contrast imaging to assess portal venous flow and varices. Embolization was performed using coils and/or tissue glue. An exchange for a super-stiff guidewire was done, and the liver parenchymal tract was dilated with a 6 mm balloon. The Viatorr covered stent (Gore Medical, Flagstaff, AZ, United States) was deployed to create a hepatic-portal vein shunt, followed by dilation of the stent with an 8 mm balloon. Follow-up imaging confirmed stent position and shunt function, and pressures in the inferior vena cava and portal vein were remeasured. The right internal jugular vein sheath was removed, and the puncture site was compressed and bandaged securely. The goal was a portosystemic gradient of less than 12 mmHg or a reduction of 50% from the baseline portal pressure gradient for AVB.

Data pre-processing

A dataset was built using baseline demographic characteristics (sex, age, etiology), along with clinical, biochemical, and procedural data. We employed embedded methods (EMs) with LR as the classifier, along with RFE for feature selection. The selected features were used to train models and predict OHE after TIPS. The data were normalized to standardize the variables to a common scale. Subsequently, the dataset was randomly divided into training and test sets in a ratio of 7:3. To address the issue of the imbalanced sample sizes between patients with and without OHE, we used the synthetic minority oversampling technique (SMOTE) to balance the training dataset. The SMOTE algorithm was implemented using the imblearn package in Python 3.7.13.

Model development

In the present study, three common ML algorithms, including random forest classifier, XGBoost, and LR classifier, were developed and validated using the scikit-learn and XGBoost packages in Python 3.7.13 to predict OHE after TIPS. Ten-fold cross-validation was used for model derivation and internal validation. The grid search algorithm was used during the training process for each model to optimize the model’s hyperparameters on the training set as the standard of the AUC of the receiver operating characteristic curve. We integrated SHapley Additive exPlanations (SHAP), a locally interpretable method, to elucidate the optimal model. SHAP applies game theory to explain ML model outputs, linking optimal credit assignment with localized explanations using classical SHAP values. This enabled identification of pivotal features influencing model outputs and provided insights into the decision-making process of the models.

Statistical analyses

Statistical analyses were performed using RStudio (version 4.3.1). Categorical variables are expressed as numbers and percentages, while continuous variables are summarized as the median with 95% confidence interval (CI) or mean with SD. Baseline characteristics of patients were analyzed using the Student’s t-test, Mann-Whitney U test, and χ2 test. OS in the test sets was estimated using the Kaplan-Meier analysis, and the log-rank test was used to compare OS differences between patients with and without post-TIPS OHE. In Kaplan-Meier analysis, we stratified the patients into OHE and non-OHE groups based on the actual OHE status or predicted OHE status. Covariates were adjusted to meet the proportional hazards, linearity, and independence assumptions of Cox regression. Stepwise Cox regression analysis was conducted, and variables with P < 0.05 were included in further Cox modeling. The final model was validated using the concordance C statistic (known as the C-index) and Brier score. All data were analyzed using two-sided tests, and P < 0.05 was considered statistically significant.

RESULTS
Patient characteristics

A total of 218 patients were included in the study (male/female: 163/55), with a median age of 52.14 ± 11.96 years at the time of the TIPS procedure. The predominant cause of AVB was portal hypertension resulting from hepatitis B virus infection (70.18%). The median follow-up time was 5 years. During this period, the 5-year survival rate was 78.4% (47/218), while the incidence of OHE was 15.1% (33/218). Detailed demographic data and characteristics of the patients are presented (Table 1).

Table 1 Baseline characteristics, mean ± SD/n (%).
Variables
Total, n = 218
Training set, n = 152
Test set, n = 66
P value
Age in years52.14 ± 11.9651.86 ± 11.9352.80 ± 12.100.592
OS47.83 ± 22.9548.56 ± 22.6646.14 ± 23.690.475
Etiology0.044
Hepatitis B virus153 (70.18)110 (72.37)43 (65.15)
Hepatitis C virus11 (5.05)9 (5.92)2 (3.03)
Alcoholism24 (11.01)15 (9.87)9 (13.64)
Autoimmune disease7 (3.21)7 (4.61)0 (0.00)
Other etiologies23 (10.55)11 (7.24)12 (18.18)
HE0.856
No208 (95.41)145 (95.39)63 (95.45)
Mild8 (3.67)5 (3.29)3 (4.55)
Moderate and severe2 (0.92)2 (1.32)0 (0.00)
Ascites0.686
No73 (33.49)54 (35.53)19 (28.79)
Mild85 (38.99)56 (36.84)29 (43.94)
Moderate59 (27.06)41 (26.97)18 (27.27)
Severe1 (0.46)1 (0.66)0 (0.00)
PVT0.594
No177 (81.19)122 (80.26)55 (83.33)
Yes41 (18.81)30 (19.74)11 (16.67)
SMVT0.412
No197 (90.37)139 (91.45)58 (87.88)
Yes21 (9.63)13 (8.55)8 (12.12)
SVT1
No213 (97.71)149 (98.03)64 (96.97)
Yes5 (2.29)3 (1.97)2 (3.03)
BCS0.318
No213 (97.71)147 (96.71)66 (100.00)
Yes5 (2.29)5 (3.29)0 (0.00)
CTPV0.085
No203 (93.12)145 (95.39)58 (87.88)
Yes15 (6.88)7 (4.61)8 (12.12)
Pressure-related indicators
Pre-IVCP5.66 ± 4.075.53 ± 4.095.97 ± 4.030.461
Pre-PVP28.07 ± 6.6228.05 ± 6.5028.14 ± 6.960.927
Pre-PPG22.41 ± 5.5122.52 ± 5.4322.17 ± 5.730.665
Post-IVCP8.28 ± 4.628.26 ± 4.658.33 ± 4.590.911
Post-PVP18.00 ± 5.8718.02 ± 5.7817.94 ± 6.120.926
Post-PPG9.72 ± 3.719.76 ± 3.739.61 ± 3.690.775
Blood and biochemical indicators
TBIL22.79 ± 15.0222.97 ± 14.7522.38 ± 15.750.789
ALB33.94 ± 5.1933.88 ± 5.3234.10 ± 4.920.775
CR90.51 ± 78.6790.90 ± 73.2189.61 ± 90.590.911
ALT24.93 ± 18.6524.18 ± 17.1926.65 ± 21.710.37
Prolonged PT1.86 ± 2.431.93 ± 2.301.69 ± 2.720.504
INR1.30 ± 0.231.31 ± 0.221.27 ± 0.240.187
Sodium140.68 ± 12.47140.06 ± 3.41142.11 ± 22.120.266
PLT94.59 ± 77.5089.96 ± 71.21105.24 ± 90.050.182
WBC5.17 ± 3.515.05 ± 3.295.46 ± 3.970.426
Clinical scores and classifications
Child-Pugh score7.17 ± 1.717.18 ± 1.757.15 ± 1.610.897
Child-Pugh classification0.776
A85 (38.99)61 (40.13)24 (36.36)
B111 (50.92)75 (49.34)36 (54.55)
C22 (10.09)16 (10.53)6 (9.09)
MELD score10.86 ± 3.7011.05 ± 3.6210.42 ± 3.870.243
MELD classification0.54
Mild103 (47.25)67 (44.08)36 (54.55)
Moderate78 (35.78)57 (37.50)21 (31.82)
Severe37 (16.97)27 (18.42)9 (13.64)
MELD-Na score11.50 ± 4.6411.66 ± 4.3311.14 ± 5.310.447
ALBI score-0.95 ± 0.62-0.94 ± 0.62-0.99 ± 0.610.591
ALBI classification0.343
Low risk52 (23.85)39 (25.66)13 (19.70)
High risk166 (76.15)113 (74.34)53 (80.30)
FIPS score2.49 ± 1.092.56 ± 0.982.34 ± 1.300.184
CLIF-C AD score41.57 ± 10.6042.01 ± 8.1040.55 ± 14.860.351
CLIF-C AD classification0.84
Low risk147 (67.43)101 (66.45)46 (69.70)
Intermediate risk65 (29.82)47 (30.92)18 (27.27)
High risk6 (2.75)4 (2.63)2 (3.03)
Previous surgeries and procedures
EBL0.986
No195 (89.45)136 (89.47)59 (89.39)
Yes23 (10.55)16 (10.53)7 (10.61)
Partial splenectomy0.629
No198 (90.83)139 (91.45)59 (89.39)
Yes20 (9.17)13 (8.55)7 (10.61)
EIS0.605
No211 (96.79)146 (96.05)65 (98.48)
Yes7 (3.21)6 (3.95)1 (1.52)
GCAE1
No217 (99.54)151 (99.34)66 (100.00)
Yes1 (0.46)1 (0.66)0 (0.00)
PSE0.989
No213 (97.71)148 (97.37)65 (98.48)
Yes5 (2.29)4 (2.63)1 (1.52)
ML models for OHE in patients after TIPS procedure

The dataset was randomly divided into a training set (n = 152, 70%) and a test set (n = 66, 30%). In the training set, there were 23 (15.1%) patients with OHE. In the test set, there were 10 (15.1%) patients with OHE. SMOTE algorithm generated 106 cases with OHE in the training set. We employed EMs for feature selection, reducing the initial set of features to 16. Subsequently, we applied RFE to further refine the features down to 9. In the test set, the AUCs for the RF, XGBoost, and LR model were 0.696, 0.796, and 0.825, respectively (Figure 2). The decision curve analysis showed that the LR model provided more net benefits for predicting OHE after TIPS. SHAP algorithm showed that the most important factors were Child-Pugh score, age, and portal vein thrombosis (PVT) (Figure 3).

Figure 2
Figure 2 Comparison of various machine learning models in a classification task and decision curve analysis for the logistic regression model. A: Receiver operating characteristic (ROC) curves for random forest, extreme gradient boosting, and logistic regression (LR); B: ROC curve for the LR model, presented individually with an area under the curve value of 0.825; C: Decision curve analysis for the LR model, illustrating the net benefit at various threshold probabilities in comparison to the “treat all” and “treat none” strategies. AUC: Area under the curve; XGB: Extreme gradient boosting; LR: Logistic regression.
Figure 3
Figure 3 Analysis of feature importance using SHapley Additive exPlanations values in the logistic regression model. A: Bar chart displaying the mean SHapley Additive exPlanations (SHAP) values, which indicate the average impact of each feature on the model output; B: Beeswarm plot showing the distribution of SHAP values for individual predictions; C: Summary plot combining SHAP values and feature importance, with feature values represented by color (blue for low and red for high). PVT: Portal vein thrombosis; CLIF-C: Chronic liver failure consortium; ALBI: Albumin-bilirubin; TBIL: Total bilirubin; PPG: Portal pressure gradient; EIS: Endoscopic injection sclerotherapy; CTPV: Cavernous transformation of the portal vein; PVP: Portal venous pressure; ALB: Albumin; SMV: Superior mesenteric vein thrombosis; CLIF-C AD: Chronic liver failure consortium acute decompensation; FIPS: Fibrosis-4 index for liver fibrosis; SHAP: SHapley Additive exPlanations.
Predictive performance and prognostic value of OHE in survival

In Kaplan-Meier analysis, the prediction of OHE was based on the LR model, with a threshold set such that patients with a predicted probability greater than 0.5 were classified as predicted OHE status. Patients without post-TIPS OHE had a longer OS than patients with post-TIPS OHE (log-rank test, P = 0.005) (Figure 4A). Similarly, a longer OS was observed for patients with predicted OHE status by the ML model (log-rank test, P = 0.020) (Figure 4B). In multivariate Cox analysis with stepwise selection, the OHE value predicted by the ML model (P = 0.012) is the prognostic factor in the Cox proportional hazards model. As the same time, the actual OHE status was a prognostic factor in the analysis of OS (P = 0.019) (Figure 5 and Supplementary Tables 1-3), the AUCs of the Cox models with the actual OHE status and predicted OHE value were 90.6 (95%CI: 80.2-100.0) and 88.1 (95%CI: 76.5-99.7), respectively, which were very close to each other and higher than the Cox model based on traditional preoperative data (AUC: 83.0, 95%CI: 67.0-99.1) (Figure 6).

Figure 4
Figure 4 Kaplan-Meier survival curves comparing different overt hepatic encephalopathy status groups. A: Survival analysis based on actual overt hepatic encephalopathy (OHE) status; B: Survival analysis based on predicted OHE status. CI: Confidence interval; HR Hazard ratio; OHE: Overt hepatic encephalopathy.
Figure 5
Figure 5 Multivariate Cox regression analyses of overall survival. A: Cox regression model established with preoperative data; B: Cox regression model established with preoperative data and actual overt hepatic encephalopathy (OHE) status; C: Cox regression model established with preoperative data and predicted OHE value. Na+: Sodion; AIC: Akaike information criterion; TBIL: Total bilirubin; OHE: Overt hepatic encephalopathy.
Figure 6
Figure 6 Calibration plot comparing the predicted risk to the actual risk for three different models: actual model (black line), traditional model (yellow line), and machine learning model (blue line). The performance metrics include the area under the curve and Brier score for each model. AUC: Area under the curve; ML: Machine learning.
DISCUSSION

We utilized 5-year long-term follow-up data and applied ML methods to successfully establish a predictive model for post-TIPS OHE. Through survival analysis, we observed that the predicted value of OHE was associated with differences in post-TIPS OS among patients, further validating the model’s value. In this study, we employed EMs for feature selection, reducing the initial set of features to 16. Subsequently, we applied RFE to further refine the features down to 9. Our findings indicate that the Child-Pugh score and age emerged as the most critical predictors, followed by PVT, significantly influencing the model’s output (Figure 3).

The Child-Pugh score is a widely used indicator for assessing patients who underwent TIPS preoperatively, serving as a crucial measure of liver function reserve[12,13]. Numerous studies have demonstrated its correlation with both the occurrence of post-TIPS OHE and patient survival[5,6,8]. Patients with poorer liver function have more neurotoxins bypassing the liver and entering the nervous system post-TIPS, increasing the risk of OHE[14]. However, due to the combination of subjective and objective factors in the Child-Pugh score, using it alone to predict post-TIPS OHE is unreliable. In our ML model, although the Child-Pugh score significantly impacts the model, other scoring systems such as the albumin-bilirubin score and chronic liver failure consortium acute decompensation score also play a role. By incorporating different scores and clinical variables, the ML model can better handle the nonlinear relationships between variables compared to traditional statistical models, resulting in more reliable predictions.

With advancing age, gastrointestinal motility decreases, leading to delayed intestinal emptying and higher incidences of constipation and intestinal flora imbalance. Additionally, the aging brain is more sensitive to toxic metabolites such as plasma ammonia[15]. Moreover, aging affects the overall physiological reserve and liver functional capacity, potentially reducing surgical tolerance and increasing risk[16,17]. These findings highlight the need to consider age during preoperative assessments and postoperative care for TIPS patients.

The formation of PVT results from disrupted hepatic blood flow, often accompanied by further liver function impairment[18]. In patients with PVT, the potential influence on post-TIPS OHE can be attributed to the presence of additional portosystemic shunts beyond the TIPS stent, which reduces portal vein blood flow velocity and subsequently affects the central nervous system. Although some studies have reported an association between PVT and OHE, the specific mechanisms underlying this relationship require further investigation[17,19]. Since our enrolled patients experienced AVB, they did not receive anticoagulant therapy either before or after the TIPS procedure, in principle. There is also controversy regarding anticoagulant therapy following TIPS in different guidelines[4,20-22]. Therefore, in AVB patients with PVT, more detailed clinical examination data and multidisciplinary team discussions may be necessary.

In addition to constructing an ML model to predict the status of OHE, we further investigated the prognostic differences between the predicted OHE value from the ML model and the actual OHE status. This analysis was conducted on the test dataset that was split using random seeds. The predicted OHE value was applied to a classification model to evaluate prognostic differences using Kaplan-Meier curves, revealing that both predicted and actual OHE values significantly influenced OS (Figure 4). In further exploring the prognostic factors, the final Cox models consistently identified age and sodium levels as significant factors affecting post-TIPS outcomes. Older patients face higher mortality risks due to reduced physiological reserves and greater susceptibility to OHE complications. Additionally, hyponatremia, which is common in cirrhotic patients, reflects fluid imbalances that can worsen postoperative outcomes. These findings highlight the importance of managing age and sodium levels to improve long-term survival after TIPS. Both the predicted and actual OHE values were equally effective in predicting patient survival, as demonstrated by comparable model performance (AUC: 0.846/0.798, P = 0.368) (Supplementary Figure 1), indicating no significant difference in the performance of the two models in predicting post-TIPS survival. The predicted OHE value was similar to the actual OHE status in predicting patient survival and performed better than traditional preoperative models, demonstrating the reliability and validity of the ML model. In multivariate Cox analysis, both the predicted OHE value and actual OHE status were important prognostic factors in their respective Cox models (Figure 5 and Supplementary Tables 4-6). Although a recent Italian study found that post-TIPS episodic OHE did not increase mortality in patients with cirrhosis[23], our research indicates that post-TIPS OHE is a significant factor affecting patient survival post-TIPS (Figure 5). Long-term follow-up studies from other centers have also shown that post-TIPS OHE is significantly associated with a higher risk of mortality[24-26]. Given the strong prognostic implications of OHE in post-TIPS survival, it is essential for the medical team to thoroughly communicate the risks, diagnosis, and management of OHE with patients and their families.

For the clinical application of our model, predicting the occurrence of OHE after TIPS allows for the individualized treatment of patients. This enables the provision of optimal treatment plans for individual patients, making the treatment of AVB more personalized. Additionally, the predictive model offers a tool for long-term follow-up, guiding decision-making by identifying patients who will benefit the most from the TIPS procedure and allowing for better prevention and treatment measures for potential OHE. This is where our model has an advantage over previous studies that focused on short-term follow-up after TIPS. Furthermore, the predictive performance of our model is superior compared to other models.

This study had several limitations. First, as a retrospective single-center study, there may have been selection bias. Second, although we used survival analysis to further validate our ML model, the relatively small sample size resulted in a small test set, which may have compromised the stability of the results. Additionally, our study focused on predicting OHE and did not consider other complications occurring over a longer period. Lastly, some procedural features were missing in this study, such as specific physical parameters of the stent and the stent implantation angle. Certain potential risk factors, such as sarcopenia[27], which are believed to influence the prognosis of patients undergoing TIPS for AVB, were not included in this study. Future research could incorporate multicenter data and include more clinical course information to further improve the model.

CONCLUSION

In conclusion, our study demonstrated that our model exhibited high and stable performance in predicting the occurrence of OHE following TIPS in patients with AVB. The predicted OHE value was identified as an independently significant predictor of OS in validation cohorts. The ML model demonstrated promising potential as a computer-assisted diagnostic tool, enabling clinicians to more accurately detect post-TIPS OHE and thus inform and optimize patient treatment plans.

ACKNOWLEDGEMENTS

We thank Professor Wang JY for his support and supervision of this study.

Footnotes

Provenance and peer review: Unsolicited article; Externally peer reviewed.

Peer-review model: Single blind

Specialty type: Gastroenterology and hepatology

Country of origin: China

Peer-review report’s classification

Scientific Quality: Grade B, Grade B

Novelty: Grade B, Grade B

Creativity or Innovation: Grade B, Grade B

Scientific Significance: Grade B, Grade B

P-Reviewer: Fu SR; Ren YQ S-Editor: Fan M L-Editor: A P-Editor: Yu HG

References
1.  García-Pagán JC, Caca K, Bureau C, Laleman W, Appenrodt B, Luca A, Abraldes JG, Nevens F, Vinel JP, Mössner J, Bosch J; Early TIPS (Transjugular Intrahepatic Portosystemic Shunt) Cooperative Study Group. Early use of TIPS in patients with cirrhosis and variceal bleeding. N Engl J Med. 2010;362:2370-2379.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 826]  [Cited by in F6Publishing: 777]  [Article Influence: 51.8]  [Reference Citation Analysis (0)]
2.  Garcia-Tsao G, Bosch J. Management of varices and variceal hemorrhage in cirrhosis. N Engl J Med. 2010;362:823-832.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 639]  [Cited by in F6Publishing: 605]  [Article Influence: 40.3]  [Reference Citation Analysis (0)]
3.  Xu XY, Ding HG, Li WG, Xu JH, Han Y, Jia JD, Wei L, Duan ZP, Ling-Hu EQ, Zhuang H. Chinese guidelines on the management of liver cirrhosis (abbreviated version). World J Gastroenterol. 2020;26:7088-7103.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in CrossRef: 45]  [Cited by in F6Publishing: 50]  [Article Influence: 10.0]  [Reference Citation Analysis (0)]
4.  Kaplan DE, Ripoll C, Thiele M, Fortune BE, Simonetto DA, Garcia-Tsao G, Bosch J. AASLD Practice Guidance on risk stratification and management of portal hypertension and varices in cirrhosis. Hepatology. 2024;79:1180-1211.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 43]  [Cited by in F6Publishing: 65]  [Article Influence: 65.0]  [Reference Citation Analysis (1)]
5.  Bai M, Qi X, Yang Z, Yin Z, Nie Y, Yuan S, Wu K, Han G, Fan D. Predictors of hepatic encephalopathy after transjugular intrahepatic portosystemic shunt in cirrhotic patients: a systematic review. J Gastroenterol Hepatol. 2011;26:943-951.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 120]  [Cited by in F6Publishing: 118]  [Article Influence: 8.4]  [Reference Citation Analysis (0)]
6.  Li K, Cheng Y, Zhao R, Jiang H, Zhang L, Tong Y, Li S. Prediction of mortality and overt hepatic encephalopathy undergoing transjugular intrahepatic portosystemic shunt: a retrospective cohort study. Abdom Radiol (NY). 2024;49:908-918.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 1]  [Reference Citation Analysis (0)]
7.  Li J, Feng D, Pang N, Zhao C, Gao L, Liu S, Li L. Controlling nutritional status score as a new indicator of overt hepatic encephalopathy in cirrhotic patients following transjugular intrahepatic portosystemic shunt. Clin Nutr. 2022;41:560-566.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 2]  [Cited by in F6Publishing: 2]  [Article Influence: 0.7]  [Reference Citation Analysis (0)]
8.  Liu J, Zhou C, Wang Y, Yang C, Shi Q, Huang S, Chen Y, Li T, Xiong B. The combination of Child-Pugh score and quantitative CT-based spleen volume could predict the risk of hepatic encephalopathy after transjugular intrahepatic portosystemic shunt creation. Abdom Radiol (NY). 2021;46:3464-3470.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 3]  [Cited by in F6Publishing: 9]  [Article Influence: 2.3]  [Reference Citation Analysis (0)]
9.  Gurgitano M, Angileri SA, Rodà GM, Liguori A, Pandolfi M, Ierardi AM, Wood BJ, Carrafiello G. Interventional Radiology ex-machina: impact of Artificial Intelligence on practice. Radiol Med. 2021;126:998-1006.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 58]  [Cited by in F6Publishing: 63]  [Article Influence: 15.8]  [Reference Citation Analysis (0)]
10.  Glielmo P, Fusco S, Gitto S, Zantonelli G, Albano D, Messina C, Sconfienza LM, Mauri G. Artificial intelligence in interventional radiology: state of the art. Eur Radiol Exp. 2024;8:62.  [PubMed]  [DOI]  [Cited in This Article: ]  [Reference Citation Analysis (0)]
11.  von Ende E, Ryan S, Crain MA, Makary MS. Artificial Intelligence, Augmented Reality, and Virtual Reality Advances and Applications in Interventional Radiology. Diagnostics (Basel). 2023;13.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in F6Publishing: 13]  [Reference Citation Analysis (0)]
12.  Rajesh S, George T, Philips CA, Ahamed R, Kumbar S, Mohan N, Mohanan M, Augustine P. Transjugular intrahepatic portosystemic shunt in cirrhosis: An exhaustive critical update. World J Gastroenterol. 2020;26:5561-5596.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in CrossRef: 42]  [Cited by in F6Publishing: 47]  [Article Influence: 9.4]  [Reference Citation Analysis (0)]
13.  Vizzutti F, Schepis F, Arena U, Fanelli F, Gitto S, Aspite S, Turco L, Dragoni G, Laffi G, Marra F. Transjugular intrahepatic portosystemic shunt (TIPS): current indications and strategies to improve the outcomes. Intern Emerg Med. 2020;15:37-48.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 26]  [Cited by in F6Publishing: 47]  [Article Influence: 9.4]  [Reference Citation Analysis (0)]
14.  Rose CF, Amodio P, Bajaj JS, Dhiman RK, Montagnese S, Taylor-Robinson SD, Vilstrup H, Jalan R. Hepatic encephalopathy: Novel insights into classification, pathophysiology and therapy. J Hepatol. 2020;73:1526-1547.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 114]  [Cited by in F6Publishing: 217]  [Article Influence: 43.4]  [Reference Citation Analysis (0)]
15.  Hadjihambi A, Arias N, Sheikh M, Jalan R. Hepatic encephalopathy: a critical current review. Hepatol Int. 2018;12:135-147.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 88]  [Cited by in F6Publishing: 109]  [Article Influence: 13.6]  [Reference Citation Analysis (0)]
16.  Hassoun Z, Deschênes M, Lafortune M, Dufresne MP, Perreault P, Lepanto L, Gianfelice D, Bui B, Pomier-Layrargues G. Relationship between pre-TIPS liver perfusion by the portal vein and the incidence of post-TIPS chronic hepatic encephalopathy. Am J Gastroenterol. 2001;96:1205-1209.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 38]  [Cited by in F6Publishing: 45]  [Article Influence: 1.9]  [Reference Citation Analysis (0)]
17.  Rössle M, Haag K, Ochs A, Sellinger M, Nöldge G, Perarnau JM, Berger E, Blum U, Gabelmann A, Hauenstein K. The transjugular intrahepatic portosystemic stent-shunt procedure for variceal bleeding. N Engl J Med. 1994;330:165-171.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 522]  [Cited by in F6Publishing: 524]  [Article Influence: 16.9]  [Reference Citation Analysis (0)]
18.  Nicoară-Farcău O, Soy G, Magaz M, Baiges A, Turon F, Garcia-Criado A, Barrufet M, Burrel M, Hernández-Gea V, García-Pagán JC. New Insights into the Pathogenesis, Risk Factors, and Treatment of Portal Vein Thrombosis in Patients with Cirrhosis. Semin Thromb Hemost. 2020;46:673-681.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 11]  [Cited by in F6Publishing: 15]  [Article Influence: 3.0]  [Reference Citation Analysis (0)]
19.  Wang J, Deng MJ, Shi PM, Peng Y, Wang XH, Tan W, Wang PQ, Chen YX, Yuan ZL, Ning BF, Xie WF, Yin C. Covert hepatic encephalopathy is associated with aggressive disease progression and poor survival in patients with cirrhosis. J Dig Dis. 2023;24:681-690.  [PubMed]  [DOI]  [Cited in This Article: ]  [Reference Citation Analysis (0)]
20.  de Franchis R, Bosch J, Garcia-Tsao G, Reiberger T, Ripoll C; Baveno VII Faculty. Baveno VII - Renewing consensus in portal hypertension. J Hepatol. 2022;76:959-974.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 952]  [Cited by in F6Publishing: 1184]  [Article Influence: 394.7]  [Reference Citation Analysis (1)]
21.  European Association for the Study of the Liver; Clinical Practice Guideline Panel;  Chair:;  EASL Governing Board representative:;  Panel members:. EASL Clinical Practice Guidelines on non-invasive tests for evaluation of liver disease severity and prognosis - 2021 update. J Hepatol. 2021;75:659-689.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 935]  [Cited by in F6Publishing: 866]  [Article Influence: 216.5]  [Reference Citation Analysis (0)]
22.  Boike JR, Thornburg BG, Asrani SK, Fallon MB, Fortune BE, Izzy MJ, Verna EC, Abraldes JG, Allegretti AS, Bajaj JS, Biggins SW, Darcy MD, Farr MA, Farsad K, Garcia-Tsao G, Hall SA, Jadlowiec CC, Krowka MJ, Laberge J, Lee EW, Mulligan DC, Nadim MK, Northup PG, Salem R, Shatzel JJ, Shaw CJ, Simonetto DA, Susman J, Kolli KP, VanWagner LB; Advancing Liver Therapeutic Approaches (ALTA) Consortium. North American Practice-Based Recommendations for Transjugular Intrahepatic Portosystemic Shunts in Portal Hypertension. Clin Gastroenterol Hepatol. 2022;20:1636-1662.e36.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 23]  [Cited by in F6Publishing: 88]  [Article Influence: 29.3]  [Reference Citation Analysis (0)]
23.  Nardelli S, Riggio O, Marra F, Gioia S, Saltini D, Bellafante D, Adotti V, Guasconi T, Ridola L, Rosi M, Caporali C, Fanelli F, Roccarina D, Bianchini M, Indulti F, Spagnoli A, Merli M, Vizzutti F, Schepis F. Episodic overt hepatic encephalopathy after transjugular intrahepatic portosystemic shunt does not increase mortality in patients with cirrhosis. J Hepatol. 2024;80:596-602.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 6]  [Cited by in F6Publishing: 7]  [Article Influence: 7.0]  [Reference Citation Analysis (0)]
24.  Bai M, He CY, Qi XS, Yin ZX, Wang JH, Guo WG, Niu J, Xia JL, Zhang ZL, Larson AC, Wu KC, Fan DM, Han GH. Shunting branch of portal vein and stent position predict survival after transjugular intrahepatic portosystemic shunt. World J Gastroenterol. 2014;20:774-785.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in CrossRef: 31]  [Cited by in F6Publishing: 29]  [Article Influence: 2.6]  [Reference Citation Analysis (0)]
25.  Dissegna D, Sponza M, Falleti E, Fabris C, Vit A, Angeli P, Piano S, Cussigh A, Cmet S, Toniutto P. Morbidity and mortality after transjugular intrahepatic portosystemic shunt placement in patients with cirrhosis. Eur J Gastroenterol Hepatol. 2019;31:626-632.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 10]  [Cited by in F6Publishing: 15]  [Article Influence: 2.5]  [Reference Citation Analysis (0)]
26.  Bouzbib C, Cluzel P, Sultanik P, Bernard-Chabert B, Massard J, Benosman H, Mallet M, Tripon S, Conti F, Thabut D, Rudler M. Prognosis of patients undergoing salvage TIPS is still poor in the preemptive TIPS era. Clin Res Hepatol Gastroenterol. 2021;45:101593.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 5]  [Cited by in F6Publishing: 8]  [Article Influence: 2.0]  [Reference Citation Analysis (0)]
27.  Liu J, Ma J, Yang C, Chen M, Shi Q, Zhou C, Huang S, Chen Y, Wang Y, Li T, Xiong B. Sarcopenia in Patients with Cirrhosis after Transjugular Intrahepatic Portosystemic Shunt Placement. Radiology. 2022;303:711-719.  [PubMed]  [DOI]  [Cited in This Article: ]  [Cited by in Crossref: 3]  [Cited by in F6Publishing: 33]  [Article Influence: 11.0]  [Reference Citation Analysis (0)]