Abstract
Background: Cirrhosis is a chronic liver disease, manifested by fibrosis and regenerative nodules. It can be classified clinically as compensated or decompensated. Accurate predictions of patients’ transition from compensated to decompensated cirrhosis are important but difficult because of the multifactorial nature of disease progression, comorbid conditions, and patient heterogeneity.
Objective: To effectively identify at-risk patients with cirrhosis and facilitate timely interventions across chronic diseases and patient populations, this study aimed to develop a deep learning–based method to estimate patient transition from compensated to decompensated cirrhosis. The proposed method seeks to provide superior predictive utilities and help physicians derive actionable clinical insights by modeling comorbidity relationships and symptom interdependencies that influence the progression of cirrhosis among patients.
Methods: The proposed method was guided by clinical knowledge, considers patient demographics and medications, and leverages a graph structure to capture important comorbidity interplays. This method was augmented with post hoc interpretability to help clinicians understand its predictions for clinical decision-making and patient management. Using clinical data from 29,915 patients with cirrhosis, we evaluated the proposed method in comparison with 12 prevalent methods.
Results: The proposed method attained an average area under the curve (AUC) of 0.871 (SD 0.004), F-measure of 0.678 (SD 0.010), recall of 0.741 (SD 0.022), and precision of 0.663 (SD 0.005). It showed a 6.09% improvement in AUC and a 13.95% improvement in F-measure over the best-performing benchmark method. Supported by post hoc interpretation analyses, this method can provide physicians with interpretable visualizations of the underlying comorbidity and symptom dynamics to better support their decision-making and adoption.
Conclusions: Empirical results underscore the value of demographic similarity, comorbidity graphs, and extended loss functions for identifying patients at higher risk of decompensation by capturing finer-grained information from essential patient features that tend to be overlooked by most existing methods. The proposed method not only supports physicians’ clinical decision-making and patient management but can also enhance health care organizations’ resource allocation efficiency and cost containment.
doi:10.2196/91693
Keywords
Introduction
Background
Cirrhosis is a chronic liver disease that features fibrosis and regenerative nodules []. It can be classified clinically as compensated or decompensated []. The former entails an early disease stage characterized by a significantly scarred liver that still functions sufficiently to perform its essential responsibilities, without overt symptoms []. The latter denotes an advanced stage and is manifested by substantially decreased functional capacity that often leads to serious prognoses []. Ascites, varices, hepatic encephalopathy (HE), and hepatorenal syndrome (HRS) are important symptoms that mark the onset of liver decompensation []. When patients deteriorate from the compensated to the decompensated stage, they face a much higher mortality rate and need substantial clinical resources. Volk et al [] stressed the criticality of identifying patients at higher risk of decompensation, so that they can be monitored closely and receive timely interventions [].
However, accurately estimating the risk that patients with cirrhosis likely deteriorate from the compensated to the decompensated stage is difficult, largely due to the inherently multifactorial and heterogeneous nature of liver cirrhosis progression. Effective predictions are further complicated by interrelated variables that pertain to liver function measures, lifestyle factors, comorbid conditions, and temporal disease dynamics []. Physicians tend to depend on invasive hepatic venous pressure gradient measures, which, however, are not conveniently available in many health care organizations [,]. Noninvasive tests and serum-based biomarkers are also accessible to physicians. For example, transient elastography (eg, FibroScan; Echosens) and other modalities (eg, acoustic radiation using impulse imaging and magnetic resonance elastography) can assess liver stiffness to estimate decompensation risk indirectly [,,]. Most physicians often use score-based methods, such as the Child-Pugh score, to estimate a patient’s likelihood of deterioration. These methods are usually restricted by their exclusion of essential etiologies and can benefit from being complemented by other methods or additional factors [,]. For example, other clinical measures that consider multiple recurrent events of different types in the patient history, such as disease burden score, can be incorporated as an outcome variable in regression models [].
Data-driven predictive analytics is particularly promising and can complement score-based methods []. Toward that end, machine learning–based methods integrate structured, longitudinal clinical variables (eg, laboratory results and elastography measures) to capture complex relationships and interplays among different conditions and medications, which are not attainable by fixed-point, score-based methods []. Similarly, deep learning–based methods are suited for estimating patient outcomes and risks because they can model complex relationships and temporal dependencies for individual-level predictions, using clinical, biomedical, and time series patient data available in electronic health records (EHRs) []. A recent review of deep learning shows that these methods have become increasingly applied in clinical settings because of their inclusion of temporal intervals, multiple feature types, and larger sample sizes for better predictive performance []. However, deep learning–based methods also have their own challenges; for example, predictive models built from EHR data require bias mitigation and fairness evaluation to ensure equitable performance across patient subgroups. These challenges underscore the need for evaluation beyond prediction accuracy []. Overall, predictive analytics methods can leverage detailed patient data and harness algorithmic power to complement score-based methods.
Different data-driven predictive methods can be applied to estimate decompensation among patients with cirrhosis [], but many appear limited in prediction effectiveness []. For example, most existing methods target a single binary outcome, such as compensated versus decompensated or presence versus absence of a specific symptom, and often ignore the multifaceted nature of disease progression that involves multiple, distinct decompensation symptoms []. This implies the clinical value of multitask learning for modeling multiple, interrelated patient outcomes simultaneously to better support downstream tasks and predictions, as exemplified by methods incorporating attention mechanisms []. In addition, many methods overlook demographic similarity, which can inform decompensation symptom estimates by leveraging individual risk profiles across different patient groups [,]. Nor do prevalent methods consider symptom interplays; for example, the onset of ascites might be associated with a patient’s subsequent risk of HE or HRS. Modeling such interplays could provide a means to exploit valuable intersymptom relationships for more accurate patient risk estimates and richer clinical insights []. In a related sense, modeling symptom interplays can address the “black box” nature of deep learning and provide post hoc interpretability. To illustrate, patient-level comorbidity graphs allow for visualizations of the relationships among diseases to facilitate clinicians’ comprehension, reasoning, and adoption.
Objective
The main prediction task was symptom-level decompensation risk. We estimated 4 distinct decompensation symptoms among patients within a 3-year horizon after their cirrhosis diagnosis: ascites, varices, HE, and HRS. A patient’s transition from the compensated to the decompensated stage is manifested by the onset of 1 or more of these symptoms. Guided by clinical knowledge about cirrhosis and its progression, we developed a graph-based multitask deep learning method that considers patient demographics, etiological characteristics, medications, and interdisease interactions. This method also accounts for the relationship of decompensation symptoms with mortality, the inclusion of which in the predictive model construction can augment the main prediction task because mortality is a critical patient outcome resulting from decompensation [].
The proposed method includes mortality prediction as an auxiliary task during model training, which helps the method learn meaningful information of disease severity and adverse progression. Clinical occurrence of decompensation symptoms is highly associated with worsening prognosis, making mortality a useful complementary signal for training a predictive model, although it is not needed when applying the method to new patients (for decompensation symptom prediction). Incorporating this important patient outcome helps the model encode shared representations of risk across related clinical end points and can strengthen the identification of patients who are likely to develop decompensation symptoms. In this way, the auxiliary task enriches the model learning process by leveraging an essential and closely related outcome to reflect the disease progression more broadly.
Moreover, patients are stratified into cohorts based on their condition, and a comorbidity graph is constructed to encode clinically plausible interdisease relationships. Compared with existing methods, the proposed method is novel in 3 important aspects. First, it adopts a multitask framework and incorporates mortality prediction as an auxiliary task to better estimate distinct symptoms simultaneously using a graph neural network (GNN). Second, this method incorporates patient similarity to create different patient groups and constructs group-level graphs to model comorbidity interplays for predictive efficacy, in line with cirrhosis literature recognizing that similar patients tend to have more comparable outcomes than dissimilar patients []. Third, it integrates signals from individual- and group-level embeddings to account for both individual heterogeneity and cohort characteristics, so it can distinguish disease chronicity and further enhance predictions by considering temporal dynamics of disease. Furthermore, the proposed method offers post hoc interpretability to help clinicians understand its predictions for clinical decision-making and use.
This study underscores the advantages of graph-based modeling and multitask learning for capturing comorbidity interplays, patient demographics, and symptoms to better identify patients with cirrhosis at higher risk of decompensation in a timely manner. Evaluation results affirm the proposed method’s superior predictive utilities over many prevalent methods, thus demonstrating the clinical value and feasibility of predicting multiple decompensation symptoms simultaneously. This method adds to predictive analytics research beyond a simplistic, binary view and enables nuanced risk stratification and personalized management of individual patients with a specific decompensation trajectory. The proposed method is generalizable and can be adapted to other chronic diseases featuring similar multifactorial progression and important symptom interplays that challenge analytics methods. Supported by timely and accurate decompensation estimates at the individual level, physicians can identify higher-risk patients for proactive management, therapeutic planning, and efficient resource allocation, with cost containment implications.
Related Work
Overview of Cirrhosis and Compensated Versus Decompensated Stage
Marked by irreversible liver scarring and progressive hepatic dysfunction, cirrhosis is a formidable challenge to patients with chronic liver disease [,]. It can be attributed to etiological factors that influence clinical conditions, disease progression or manifestation, and prognosis []. The main causes of cirrhosis are chronic infections of hepatitis B virus (HBV) and hepatitis C virus (HCV). In the United States, HCV-related cirrhosis has declined due to antiviral treatments, yet it still remains prevalent and accounts for 34% of cirrhosis cases []. Alarmingly, HBV is the leading cause of cirrhosis in Asia, accounting for approximately 60% of cases in China []. Cirrhosis requires timely identification and has important morbidity and mortality implications. In particular, patients with higher decompensation risk need close monitoring and early interventions to mitigate further deterioration and avoid extensive, costly therapeutic interventions such as liver transplantation [].
Cirrhosis can be categorized as compensated or decompensated, which refer to a significantly scarred liver that retains essential functions without overt symptoms [] and substantial declines of the liver capacity, respectively. At the decompensated stage, patients need extensive treatments and potential liver transplantation []. Beyond etiologies, patient demographics are also important. For example, male and female patients seem to exhibit distinct progression patterns [], with men showing fast-paced decompensation and higher risk. Additionally, patients aged >60 years tend to have worse cirrhosis-related conditions than their younger counterparts [].
Ascites, variceal bleeding, HE, and HRS represent important symptoms of decompensation [,]. These different symptoms manifest decompensation that requires specific interventions for patient care and management []. For example, ascites, which features a pathological accumulation of fluid within the peritoneal cavity [], arises among approximately 50% of patients with cirrhosis in the compensated stage within 10 years of their cirrhosis diagnosis []. Varices entail dilated veins, typically in the esophagus, and often result from the increased portal hypertension associated with cirrhosis []. They significantly increase the risk of life-threatening hemorrhage, and such bleeding episodes lead to a high mortality rate []. In addition, HE features impaired brain function [], although it is potentially reversible. Its clinical manifestation involves a spectrum of neurologic and psychiatric complications that range from minimal cognitive deficits to overt personality changes, disorientation, and coma []. While relatively unusual, HRS reflects renal impairment in patients with cirrhosis, characterized by substantial reduction in renal blood flow and glomerular filtration rates, without clinical evidence of intrinsic kidney disease []. As a result of functional changes in renal circulation, HRS can potentially be reversed by interventions such as vasoconstrictor therapy and liver transplantation []. In summary, patients with cirrhosis can develop distinct symptoms over time, without any systematic, particular order [].
Accurately estimating the risk that patients with cirrhosis likely develop distinct decompensation symptoms is crucial because each symptom has unique prognostic implications and requires differential care []. For example, ascites needs fluid and hemodynamic controls such as diuretics and paracentesis, while HE requires neurological and metabolic treatments such as lactulose and rifaximin [-]. Identifying patients at higher risk of a specific symptom, early in the disease progression, allows for timely intervention, efficient resource allocation, and improved patient outcomes []. Toward that end, Schneider et al [] indicated that a 3-year time frame for deterioration estimates is clinically meaningful and appropriate for timely stratification that separates higher-risk and other patients, suggesting that higher-risk classification can preserve more than 95% sensitivity for decompensation. Interview results from 3 hepatologists confirmed the clinical value of a 3-year prediction time frame.
One hepatologist noted that “Liver decompensation marks a critical ‘point of no return’ in the disease trajectory, where liver transplantation often becomes the only curative option. A three-year prediction window provides the necessary lead time for the complex process of transplant evaluation, donor searching, and physiological optimization.”
Another hepatologist agreed and indicated that “Predicting distinct decompensation events within a three-year window among compensated cirrhotic patients enables early identification of high-risk patients and facilitates preventive strategies to delay disease progression. It also supports personalized monitoring and management plans.”
Data-Driven Analytics for Predicting Risk and Outcomes in Patients With Liver-Related Disease
The increasing availability of voluminous, detailed patient data fuels the development and use of data-driven predictive analytics for managing patients with liver-related diseases. Estimating the likelihood that each patient with cirrhosis will deteriorate from the compensated to the decompensated stage is critical. Supervised learning supports such predictions, typically viewing them as a classification task. According to their modeling specifics, existing methods can be classified as regression-based, tree-based, or neural network–based methods []. A regression-based method estimates patient risk numerically or dichotomously by specifying its relationships with select predictors, often in the form of a linear or logistic model []. For example, Cox regression models can predict the mortality of patients who have entered the terminal stage of their liver disease []. In general, regression-based methods are simplistic and interpretable, but they cannot handle complex relationships or patterns in patient data and are sensitive to outliers [-]. Tree-based methods use feature values to split patients into subsets, with the objective of classification according to the target variable value []. Exemplary methods include, but are not limited to, random forest (RF), AdaBoost (ADAB), and XGBoost (XGB). Wu et al [] applied random forests to estimate fatty liver disease, and Li et al [] used AdaBoost to detect liver disease among patients. Afreen et al [] and Dalal et al [] designed tree-based boosting methods for liver disease predictions. Despite their computational efficiency and interpretability, tree-based methods are not effective for nonlinear relationships and are prone to overfitting and biases in multilevel features [,].
Finally, neural network–based methods use feedforward, recurrent, or deep architectures to simulate interconnected neurons in the human brain. These methods are sophisticated and can capture complex relationships, patterns, and mechanisms in patient data []. For example, a fully connected feedforward neural network can estimate patient risks and outcomes because of its ability to model nonlinear relationships and flexible feature representations []. Multitask artificial neural networks have also been designed for clinical predictions []. In general, feedforward neural network–based methods require substantial computational processing, need large-scale data to train, and have an intrinsic “black box” nature [,]. Recurrent neural networks, such as long short-term memory (LSTM) and its variants, extend these methods for sequential and time series data analyses and can capture temporal dependencies []. As Liu et al [] reported, LSTM is effective for estimating delirium onset in hospitalized patients. Shuvo et al [] also used a multitask LSTM to estimate blood glucose concentrations. Moreover, deep neural networks (DNNs), exemplified by convolutional neural networks (CNNs) or temporal convolutional networks (TCNs), contain multiple hidden layers capable of learning hierarchical feature abstractions, so they can model complex relationships for estimating disease progression []. Singh et al [] used DenseNet, a CNN variant, to estimate hepatic decompensation in patients with primary sclerosing cholangitis. Kok et al [] used a TCN to estimate sepsis. Li et al [] used a multitask CNN to achieve fairness in health care predictions, while Ramesh et al [] designed a multitask TCN to recognize surgical phases in gastric bypass surgeries. Other methods, such as a multimodal spatiotemporal GNN [], fuse longitudinal patient data and chest x-rays to model patient admission similarity in a graph and thereby estimate hospital readmissions. Multitask deep learning can integrate clinical variables and multiparametric magnetic resonance imaging scans to simultaneously estimate cancer recurrence (metastasis) versus disease-free survival among patients with rectal cancer []. Graph-based neural methods appear to outperform traditional tree-based methods in patient risk predictions, with interpretable insights into the relationships among risk factors []. Overall, DNNs offer effective predictions, but they need substantial data for training, require significant computing resources, and depend on regularization to avoid overfitting [].
Gap Analysis
A review of existing analytics methods and related literature indicates 3 limitations that hinder effective estimates of the deterioration of patients with cirrhosis from the compensated to the decompensated stage. First, most existing methods consider a single, binary target variable, which restricts their use for stratifying patient risk for multiple, distinct symptoms to support personalized care and management [-]. Similarly, patients who likely develop decompensation symptoms have a markedly higher risk of death [], suggesting that mortality could provide a valuable (severity) signal to train a model for decompensation predictions. Learning this auxiliary task in parallel, through shared representations, should enhance an analytics method’s performance for the (main) symptom prediction task []. That is, interdependent complications and mortality can be considered jointly to better predict patient outcomes []. Second, relatively few methods consider demographic similarities among patients, which restricts their ability to capture essential patterns and temporal dynamics embedded in comorbidities and symptoms. Conceivably, patients sharing similar demographics and characteristics are more likely to have comparable prognoses and outcomes than dissimilar patients [,]. By considering such similarities, a predictive method can capture essential patterns to inform downstream decompensation estimates. Third, existing methods do not model complex relationships among comorbid conditions, differential comorbidity importance, or temporal chronicity. Consequently, they are not suited to the multifaceted nature of liver cirrhosis. Advanced frameworks that consider the underlying clinical mechanisms can enhance downstream predictions by recognizing and capturing how comorbidities and risk factors uniquely relate to decompensation risk [-]. However, existing methods tend to overlook comorbidity interplays that could increase patient decompensation risk. They also do not account for time-lagged, nonlinear impacts of preexisting comorbidities and conditions to inform the subsequent decompensation estimates [].
To address these gaps and provide efficacious risk predictions, we developed a graph-based multitask deep learning method that adopts a multitask framework to estimate distinct outcomes simultaneously. As described previously, 4 decompensation symptoms constitute the main target variables, with mortality being an auxiliary task. With a GNN, our method learns representations across distinct symptoms and uses dedicated output heads for each symptom to capture both shared and task-specific features, thereby exploiting essential relationships of different symptoms for downstream predictions. In general, graphs can incorporate clinical insight into predictive models to increase diagnostic predictions and generate contextually relevant clinical insights using patient data in EHRs []. The proposed method constructs patient graphs based on demographic similarity and accounts for comorbidity interplays with respect to distinct decompensation symptoms. Learnable influence factors (IFs) can then be constructed from patient graphs to assess the impact of each impactful comorbidity on the onset of a specific symptom. Next, we used these factor values to compute condition impact scores (CIS) that quantify the severity of comorbidity interplays to inform decompensation risk estimates at both the group and individual levels. Moreover, the proposed method generates individual-level temporal graph embeddings to capture temporal dynamics of disease progression, which can enrich the node representation with essential progression information for efficacious predictions and clinical value. compares representative methods for predicting hematology patient risks and outcomes, in comparison with the proposed method, to convey its differences and pertinent novelties.
| Method | Approach | Focal task | Patient similarity | Disease relationship | Temporal graph embeddings | Comorbidity interplays |
| XGBoost [] | Tree-based | Single task | No | No | No | No |
| AdaBoost [] | Tree-based | Single task | No | No | No | No |
| Random forest [] | Tree-based | Single task | No | No | No | No |
| Linear regression [] | Regression based | Single task | No | No | No | No |
| Multi-FCN [] | Neural network | Multitask | No | Yes | No | No |
| Multi-CNN [] | Neural network | Multitask | No | Yes | No | No |
| Multi-TCN [] | Neural network | Multitask | No | Yes | No | No |
| Multi-LSTM [] | Neural network | Multitask | No | Yes | No | No |
| Single-FCN [] | Neural network | Single task | No | Yes | No | No |
| Single-CNN [] | Neural network | Single task | No | Yes | No | No |
| Single-TCN [] | Neural network | Single task | No | Yes | No | No |
| Single-LSTM [] | Neural network | Single task | No | Yes | No | No |
| Parallel CNN+Feature Nets [] | Multimodal deep neural network | Multitask | No | Yes | No | No |
| MM-STGNN [] | Multimodal graph neural network | Single task | Yes | Yes | Yes | No |
| Proposed method | Graph- and attention-based DNN | Multitask with specialized loss | Yes | Yes | Yes, individual level | Yes |
aFCN: fully connected network.
bCNN: convolutional neural network.
cTCN: temporal convolutional network.
dLSTM: long short-term memory.
eMM-STGNN: multimodal spatiotemporal graph neural network.
fDNN: deep neural network.
Methods
Problem Formulation
Let be a set of patients and be a set of diseases (comorbidities), where is the binary indicator of morbidity for patient , and is the temporal difference (time interval) between the onset of that comorbidity and the cirrhosis diagnosis. represents medication information, where indicates whether a medication is taken by patient . If , we record dosage , duration , and the starting date ; otherwise, , , and are set to 0. and denote patient age and gender, respectively. are binary indicators of decompensation symptoms () and death () for patient .
The main prediction task is formally defined as follows: Given patient comorbidities, medications, and demographics (and), a predictive method learns patient embeddings to estimate symptom-specific decompensation risks (ascites, varices, HE, and HRS) within a 3-year window after the cirrhosis diagnosis. For each patient, a prediction is made on the date of cirrhosis diagnosis. That is, all predictor values (demographics, comorbidities, and medication variables) are extracted from patient data on or before the cirrhosis diagnosis date. Outcomes indicate whether distinct decompensation events (ascites, varices, HE, and HRS) occurred within a 3-year window after the cirrhosis diagnosis.
The proposed method makes use of an auxiliary task, mortality estimate, for symptom predictions. Ascites, varices, HE, and HRS mark the onset of decompensation; death is a critical event in a patient’s trajectory. Consideration of mortality as an auxiliary task provides a severity signal that regularizes the shared representation. It also allows the method to learn essential feature patterns and symptom constellations for both timely complication and lethality estimates, thereby increasing its ability to distinguish milder from rapidly progressive deteriorations.
Architectural Framework
presents the architectural framework of the proposed method, which has 3 important components: group-specific comorbidity graph construction, group- and individual-level graph representation learning, and multitask estimates. The group-specific comorbidity graph construction stratifies patients by demographics, such as age, gender, and liver condition indicators. For each patient group, it builds a disease relationship graph in which edge weights reflect the group’s mutual comorbidity co-inference. Patient-level graph representation learning obtains graph embeddings from each group-specific graph and personalizes them at the individual level by integrating each patient’s temporal comorbidity. The multitask estimates component then uses an attention mechanism to feed the personalized embeddings as key and value vectors into a multihead attention to perform the predictions. We describe each key component next.

Group-Specific Comorbidity Graph Construction
This graph construction component creates distinct graphs for different demographic cohorts to capture how comorbidities co-occur and interact within each patient group. To create group-specific comorbidity graphs, patients are first stratified into different demographic cohorts, which could enhance downstream predictions because demographic similarity relates to decompensation trajectories [,]. For each cohort , we created a comorbidity graph , where indicates nodes (comorbidities), and denotes edges between 2 comorbidities that coexist in at least one patient within the cohort. For a patient group , we quantified the edge weight between 2 comorbidities and based on a CIS, calculated as follows:
(1)
(2)
where is the fraction of patients who have both comorbidities and in cohort , and denotes the th target. denotes a prespecified set of clinically prevalent and etiologically relevant comorbidities that are used to define the graph nodes for parsimony and interpretability. calculates a parametrized function, where denotes the -th comorbidity node in the select set of comorbidities. The parameters in were learned by minimizing over the training set. Once learned, a cohort-conditional matrix is constructed, where each entry represents an IF score (a scalar) for comorbidity and target , calculated for cohort . This cohort-conditional matrix offers an interpretable schema of group-level comorbidity-symptom relationships; IF scores indicate subtle, clinically relevant comorbidity and reflect the complex, gradual nature of disease progression. Next, we calculated the edge weight by collapsing target-specific CIS (ascites, varices, HE, and HRS) as follows:
(3)
where each edge in reflects the aggregate, multitask synergy of a specific disease pair.
Individual-Level Graph Representation Learning
With graph , we applied Node2Vec [] to represent nodes and edges in a way that preserves both local and global disease relationships. For each disease in graph , Node2Vec outputs an embedding vector . To account for disease temporal dynamics at the patient level, we constructed individual-level embeddings:
(4)
where is the individual-level embedding of comorbidity for patient , and denotes the time since diagnosis of the comorbidity, which serves as a proxy for disease chronicity. The individual-level embeddings were constructed using the group-level embeddings by incorporating disease duration to distinguish long-standing risk factors from acute conditions, thereby enhancing individual-level risk stratification for decompensation predictions.
As broad demographic trends, such as age-gender strata and overall disease impact, modulate decompensation risk beyond any single comorbidity, we endowed each cohort with a compact “group fingerprint” , obtained by applying principal component analysis (PCA) to the V-dimensional Node2Vec space:
(5)
(6)
where is the matrix of top- PCA eigenvectors, is cohort ’s mean node representation, and is the total number of important comorbidities in cohort . offers a low-rank projection that can reduce noise, curb overparameterization, and provide the network with a succinct summary of cohort-wide factors [], which individual-level embeddings alone cannot encode (eg, shared lifestyle and care access patterns).
We then concatenated patients’ individual-level embedding with a group fingerprint to form a combined context tensor.
(7)
where represents the concatenated context tensor for patient , and denotes the total number of comorbidities in . This effort integrates both individual disease dynamics and group-level characteristics, thus providing a more comprehensive representation of each patient’s profile.
As group parameters, PCA was exclusively fit on the training-set embeddings; testing-set embeddings were transformed using the fixed, training-fitted parameters (centering and projection) without refitting. presents the pipeline of patient embedding learning and use, which comprises score learning, subgroup graph constructions, and individual-level embedding generation, which jointly support downstream prediction tasks.

Multitask Learning
A binary mortality indicator was included as an auxiliary task for accurate decompensation symptom predictions because mortality is an important clinical event associated with decompensation []. The proposed method adopts a multitask architecture to predict 4 decompensation symptoms and mortality within a 3-year window. Mortality can inform (severe) prognosis representation learning, thereby improving decompensation predictions. Inclusion of this auxiliary task is aligned with clinical knowledge that recognizes the relationship of decompensation progression and mortality. By incorporating mortality in the modeling, we have an additional means to distinguish patient trajectories that vary in diseases [,]. We construct an input for the multitask prediction component, which contains patient ’s demographics, comorbidities, medications, and the learned patient context vector. is passed to a fully connected layer and converted to a latent vector :
(8)
The multitask prediction component fuses the tabular latent vector with the personalized graph representation into a single context vector and then applies multihead self-attention to obtain an attended representation for prediction.
(9)
is the graph representation module mapping the per-disease context to a fixed-length vector, and is input to a fully connected layer to produce a shared representation (task-specific heads):
(10)
A linear head predicts mortality as an auxiliary task. A shared multilayer perceptron head takes the concatenated vector of and predicted death probability as input and projects it to logits for ascites, variceal bleeding, HE, and HRS. For patient and task , we computed the following:
(11)
ASCT, VART, ENCET, and HEPT represent the 4 decompensation symptoms, ascites, varices, HE, and HRS, respectively, while DEADT represents death. Next, we applied a sigmoid activation on to produce an estimated probability for each symptom. The auxiliary task regularizes model learning by steering the network toward features and trajectories associated with severe clinical outcomes. The auxiliary task helps the method learn patterns indicative of disease progression and thereby differentiates high- and low-risk trajectories more effectively for the main (decompensation) prediction task.
The proposed method was trained with binary cross-entropy (BCE) on each target :
(12)
where is a BCE loss, is the IF score measuring the influence of patient ’s comorbidity to target , and is a binary indicator of each comorbidity. serves as a scaling factor, adjusted by the influence of comorbidity, with controlling the strength of the scaling. Among the targets, the mortality head uses the standard BCE without IF modulation because its risk is already modeled through the symptom heads implicitly. In addition, we applied standard positive-class weights [] to address data imbalances (ie, assigning a higher weight to the infrequent HRS label) and improve the model performance among less frequent classes. We present key hyperparameters in .
Data and Evaluation Design
From a major health care organization in Taiwan, we obtained demographic and clinical data for 29,915 patients diagnosed with cirrhosis between 2007 and 2013. Each patient was described by variables pertaining to demographics, comorbidity, and medication (). We considered 4 outcome classes (ascites, varices, HE, and HRS) and an auxiliary task (mortality). To ensure comparability across patients, we applied z-score standardization to all disease durations []. presents patient demographics and descriptive statistics, as well as the outcome class distribution. As shown, patients with HRS were slightly older (mean 57.62, SD 13.017 years) than those with other decompensation symptoms, with the varices group being the youngest (mean 55.88, SD 12.58 years). In all 4 outcome classes, approximately two-thirds of patients were men, suggesting a relative gender imbalance in the sample. Among the symptoms, patients with HRS had the most lingering conditions in their deterioration path to decompensation (239/273, 87.56%) and patients with varices the least (4010/6339, 63.26%). In the sample, 17,464 (58.38%) patients were deceased, and 12,451 (41.62%) were alive.
| Outcome class | Age (y), mean (SD) | Sex, n (%) | Prior liver condition, n (%) | ||
| Male | Female | Yes | No | ||
| Ascites | 56.72 (12.72) | 3398 (66.65) | 1700 (33.35) | 3864 (75.79) | 1234 (24.21) |
| Varices | 55.88 (12.58) | 4382 (69.13) | 1957 (30.87) | 4010 (63.26) | 2329 (36.74) |
| HE | 56.84 (12.95) | 2916 (67.69) | 1392 (32.31) | 3391 (78.71) | 917 (21.29) |
| HRS | 57.62 (13.02) | 183 (67.03) | 90 (32.97) | 239 (87.56) | 34 (12.44) |
| No complication | 53.12 (14.43) | 14,207 (68.91) | 6409 (31.09) | 9559 (46.37) | 11,057 (53.63) |
aHE: hepatic encephalopathy.
bHRS: hepatorenal syndrome.
cIncludes patients without any decompensation symptoms.
For each patient, variable values on or before the cirrhosis diagnosis date were used for model training, fine-tuning, and testing. Each outcome class was coded as a binary variable, with 1 indicating its occurrence within the 3-year window and 0 otherwise. To evaluate the proposed method, we split the sample into training (80%) and held-out testing (20%), with stratified datasets preserving class proportions across different outcome classes []. We repeated this procedure 10 times, using a different random seed each time. We report each investigated method’s performance averaged across the 10 trials. We also conducted 2-tailed t tests to examine whether the observed performance differentials were statistically significant. The evaluation relies on recall, precision, F-measure, and area under the curve (AUC). We report macro-averaged values because they reflect overall performance across different outcome classes, with the consideration of the imbalanced distributions in the sample. By and large, F-measure and AUC are more indicative of a method’s predictive utilities than recall and precision []. For probability-to-label conversion, we adopted appropriate symptom-specific decision thresholds. Because HRS is highly imbalanced, we increased the weight of the positive class 10-fold for the proposed method and all benchmarks. For this outcome class, the decision threshold was selected separately for each method that used the 5-fold cross-validation on the training data. We evaluated thresholds from 0.05 to 0.95 in increments of 0.05 and selected the threshold that produces the highest F1-score. This procedure suggests a threshold of 0.85 for the proposed method. For ascites, varices, and HE, we applied a threshold of 0.50. The held-out test data were not used for threshold selection or class calibration.
We considered 12 prevalent methods for benchmarks. Some methods can be applied for both single-task and multitask predictions, so we used “multimethod” to refer to the multitask setting. These benchmarks include 4 conventional machine learning methods (XGB, ADAB, RF, and linear regression), 2 deep learning–based methods (single-task Single-fully connected neural network [FCN] and multitask Multi-FCN), 2 CNNs (single-task Single-CNN and multitask Multi-CNN), 2 TCNs (single-task Single-TCN and multitask Multi-TCN), and 2 LSTM networks (single-task Single-LSTM and multitask Multi-LSTM). These methods represent different analytics approaches and exemplify prevalent methods. All benchmarks used the same input variables and adopted the identical training (80%) and testing (20%) split to ensure consistency in the comparison. For each method, 5-fold cross-validation was applied on training data for parameter tuning. We describe model configurations, key hyperparameter settings, tuning ranges, and procedure in .
For the proposed method, we created different demographic patient cohorts. In line with Liu et al [], we stratified patients by gender and age (≤40, >40 and ≤60, >60 years) to reveal age distributions in the sample. We also designed a binary liver condition indicator that incorporates clinical and lifestyle factors (eg, biliary disease, Wilson disease, lack of medication use, overweight, smoking, and prior mild or severe liver disease or transplantation). This binary indicator consolidates important risk factors into a single feature to reduce sparsity and improve statistical power []. presents an exemplary graph to illustrate different diseases and their co-occurrence for a specific patient cohort (group). As shown, the edge between HBV and mild liver disease (MLD; liver damage and coma from hepatitis and unspecified viral hepatitis) has a weight of 2.85, reflecting a strong relationship between these comorbidities for this patient group, which influences decompensation risk. Parameters of the cohort-specific graph were learned from training data and were fixed at testing time. We summarize the different cohorts together with their size in . To reduce the effects of varying cohort sizes, the cohort-level embeddings were combined with shared multitask representations and individual-level features to enhance prediction.

Ethical Considerations
This study was approved by the Chang Gung Medical Foundation Institutional Review Board (201800270B0). Data were deidentified prior to any analyses, in compliance with established ethical standards for health care research. All research procedures were performed in accordance with relevant guidelines and regulations. No consent was required from patients in the sample. Physician participation in the interview was voluntary; each physician was explicitly informed of the voluntary nature, with his or her right to withdraw at any time preserved. Physicians received no financial compensation for their participation in the interview.
Results
Predictive Performance of Each Investigated Method
presents the average performance of each method across 10 trials, together with the 95% CIs. As shown, the proposed method outperformed all benchmarks in most performance measures, exhibiting superior capability to estimate patients’ risk of decompensation symptoms. It attained an AUC value of 0.871 (SD 0.004), showing a 6.09% improvement over the best-performing benchmark (XGB). The proposed method also achieved an F-measure value of 0.678 (SD 0.010), which exhibits a 13.95% improvement over the best-performing benchmark (Single-FCN). It had a recall value significantly higher than that of the best-performing benchmark, a 15.42% improvement over Single-FCN, although its precision was marginally lower than that of the best-performing benchmark (0.663, SD 0.005 vs 0.675, SD 0.131 by ADAB). These comparative results affirm the utilities of this graph-based, multitask, deep learning method for predicting patients’ deterioration from the compensated to the decompensated stage.
| Method | Precision, mean (95% CI) | Recall, mean (95% CI) | F-measure, mean (95% CI) | AUC, mean (95% CI) |
| XGB | 0.668 (0.640-0.696) | 0.548 (0.540-0.556) | 0.546 (0.535-0.556) | 0.821 (0.815-0.827) |
| ADAB | 0.675 (0.644-0.706) | 0.553 (0.535-0.570) | 0.508 (0.502-0.513) | 0.813 (0.809-0.818) |
| RF | 0.671 (0.641-0.701) | 0.569 (0.546-0.592) | 0.510 (0.504-0.516) | 0.820 (0.815-0.824) |
| LR | 0.638 (0.614-0.662) | 0.529 (0.524-0.534) | 0.519 (0.513-0.525) | 0.798 (0.791-0.806) |
| Single-FCN | 0.626 (0.601-0.650) | 0.642 (0.624-0.660) | 0.595 (0.573-0.618) | 0.807 (0.800-0.814) |
| Single-CNN | 0.642 (0.617-0.666) | 0.567 (0.546-0.587) | 0.525 (0.516-0.534) | 0.802 (0.795-0.809) |
| Single-TCN | 0.646 (0.618-0.674) | 0.551 (0.538-0.563) | 0.554 (0.539-0.568) | 0.809 (0.802-0.816) |
| Single-LSTM | 0.633 (0.608-0.658) | 0.540 (0.530-0.551) | 0.514 (0.505-0.523) | 0.781 (0.771-0.792) |
| Multi-FCN | 0.538 (0.504-0.573) | 0.510 (0.505-0.514) | 0.475 (0.466-0.483) | 0.777 (0.766-0.788) |
| Multi-CNN | 0.617 (0.591-0.642) | 0.522 (0.516-0.527) | 0.504 (0.494-0.513) | 0.798 (0.790-0.806) |
| Multi-TCN | 0.588 (0.572-0.603) | 0.588 (0.569-0.607) | 0.576 (0.560-0.591) | 0.738 (0.732-0.744) |
| Multi-LSTM | 0.576 (0.544-0.608) | 0.515 (0.509-0.520) | 0.488 (0.479-0.497) | 0.739 (0.729-0.750) |
| Proposed method | 0.663 (0.659-0.665) | 0.741 (0.732-0.750) | 0.678 (0.676-0.682) | 0.871 (0.869-0.874) |
aAUC: area under the curve.
bXGB: extreme gradient boosting.
cADAB: adaptive boosting.
dRF: random forest.
eLR: linear regression.
fFCN: fully connected network.
gCNN: convolutional neural network.
hTCN: temporal convolutional network.
iLSTM: long short-term memory.
Prediction Performance for Each Decompensation Symptom
We present the respective methods’ predictive performance for each decompensation symptom in . As shown, the proposed method achieved the highest AUC values across all symptoms and had the highest recall and F1-scores for all symptoms except HRS, manifesting its superior predictive performance. For HRS, it had an AUC value of 0.871 (SD 0.012), which was 3.81% higher than that of the best-performing benchmark (0.839, SD 0.013, Single-TCN). Its F-measure value was 0.518 (SD 0.018), comparable to that of the best-performing benchmark (0.533, SD 0.011, Single-LSTM). For varices, the proposed method had an F-measure value of 0.744 (SD 0.006), which was 14.29% higher than that of the best-performing benchmark (0.651, SD 0.017, Single-FCN). It had an AUC value of 0.877 (SD 0.003), exhibiting a 9.90% improvement over the best-performing benchmark (0.798, SD 0.006, RF). Its recall was 22.87% higher than the best-performing benchmark (0.656, SD 0.006, Multi-TCN), and its precision was 2.67% higher than the best-performing benchmark (0.712, SD 0.019, RF). For ascites, the proposed method attained an F-measure of 0.704 (SD 0.006), showing a 7.98% improvement over the best-performing benchmark (0.652, SD 0.019, Single-FCN). It had an AUC value of 0.843 (SD 0.005), which was 2.55% higher than that of the best-performing benchmark (0.822, SD 0.004, XGB). The proposed method had a recall value of 0.762 (SD 0.006), which was 18.14% higher than that of the best-performing benchmark (0.645, SD 0.030, Single-FCN), although its precision was lower than that of the best-performing benchmark (ADAB). For HE, the proposed method attained an F-measure value of 0.744 (SD 0.006), which was 29.62% higher than the best-performing benchmark (0.574, SD 0.070, Single-FCN). Its AUC value was 0.894 (SD 0.004), showing a 7.32% improvement over the best-performing benchmark (0.833, SD 0.003, XGB). The proposed method’s recall (0.818, SD 0.011) was notably 42.51% higher than that of the best-performing benchmark (0.574, SD 0.060, Single-FCN), although its precision was lower than that of the best-performing benchmark (ADAB).
These results further indicated that the proposed method can estimate decompensation symptoms among patients with cirrhosis more effectively than many prevalent methods. It attained the highest F-measure values for ascites (0.704, SD 0.006), varices (0.744, SD 0.006), and HE (0.744, SD 0.006). For HRS, which is particularly difficult to predict, the proposed method achieved the best AUC value of 0.871 (SD 0.012) while maintaining an F-measure value comparable to the best-performing benchmark. The prediction utilities, overall or for each decompensation symptom, affirm the proposed method’s greater efficacy for identifying patients at higher risk of decompensated cirrhosis than existing methods.
Ablation Analysis
We conducted an ablation analysis to examine each important component’s contribution to the proposed method’s predictive utilities. The ablation considered 5 models: M4T, M4t+AUX, M4t+AUX+Graph, M4T+AUX+Graph+Personal, and M4T+AUX+Graph+Personal+Loss (the complete proposed method). All models followed the same procedure as the main evaluation for training and evaluation (ie, identical patient cohort, input variables, data preprocessing, training-testing split, and performance measures). M4T served as a baseline, with a multitask deep learning framework for all 4 decompensation symptoms (ascites, varices, HE, and HRS). M4T+AUX extends M4T by including an auxiliary mortality task (DEADT) to provide shared severity supervision. M4T+AUX+Graph further incorporates group-specific comorbidity graph representation (ie, Node2Vec-derived disease embeddings from different demographic patient groups). M4T+AUX+Graph+Personal integrates individual-level comorbidity temporal patterns into the graph embeddings. M4T+AUX+Graph+Personal+Loss denotes the proposed method in its entirety, containing all the key components.
presents the respective models’ average AUC values across the 4 decompensation symptoms. As shown, the multitask baseline (M4T) had an AUC value of 0.803. With the inclusion of the auxiliary mortality task, M4T+AUX attained 0.811, showing a 1.00% improvement over the baseline model. Adding group-level graph representations, M4T+AUX+Graph increased the AUC value to 0.839, exhibiting a 3.45% improvement over M4T+AUX. Adding patient-level temporal personalization, M4T+AUX+Graph+Personal further increased the AUC value to 0.861, exhibiting a marginal increment of 2.62%. Finally, the complete proposed methods attained an AUC value of 0.871 by incorporating IF-based loss reweighting, showing a marginal increment of 1.16%, relative to M4T+AUX+Graph+Personal. The results indicate that each component contributed to the proposed method’s performance in a comparable way, with graph representation and temporal personalization offering greater incremental performance gains, while the auxiliary prediction task and IF-weighted optimization yielded additional improvements.
| Model | AUC value across symptoms |
| M4T | 0.803 |
| M4t+AUX | 0.811 |
| M4t+AUX+Graph | 0.839 |
| M4t+AUX+Graph+Personal | 0.861 |
| M4t+AUX+Graph+Personal+Loss (complete method) | 0.871 |
aAUC: area under the curve.
Interpretability
Beyond prediction performance, the proposed method’s estimates provide post hoc interpretability, unfolding essential patient-, disease-, and task-level factors that explain its estimates. We present 4 post hoc analyses: a contrastive comorbidity graph analysis, a Shapley Additive Explanations (SHAP) analysis [], a counterfactual disease risk analysis, and a decompensation symptoms interdependence analysis. To enhance probability interpretability, we applied post hoc probability calibration per outcome using Platt scaling (logistic calibration). For each target variable, a calibration model was adjusted to fit a held-out (20%) training subset, thereby mapping raw logits to calibrated probabilities. The calibrated probabilities were then used in the subsequent counterfactual disease risk analysis as well as the interdependence analysis of decompensation symptoms.
presents exemplary visualizations of a patient’s comorbidity graph, together with her group-specific comorbidity graph as a reference. As shown, the left panel displays the group-specific comorbidity graph for the reference patient cohort (female, age >40 and ≤60 years, and having prior liver issues), where edges are weighted by group-level disease co-occurrence (IF×group multiplier). The right panel depicts an individual patient’s network adjusted for chronicity, according to the temporal order and persistence of each condition. The edge weights reveal how different clinical conditions (hepatitis B, MLD, and nonchronic diabetes) of the focal patient have interacted over time and thereby unfold essential comorbidities. The focal patient’s network has fewer nodes and edges, reflecting that this patient has fewer comorbidities than the cohort. These illustrated networks allow physicians to compare a patient with a reference cohort and assess the chronicity and relationship of comorbidities to interpret the method’s estimates for clinical decision-making and patient management.
We also performed a SHAP analysis to scrutinize feature importance for each outcome class (ascites, varices, HE, and HRS). SHAP values were calculated for individual test patients using a training-derived background sample, and features were then ranked by the absolute magnitude of SHAP to identify the most influential contributors for each outcome. That is, SHAP was applied for explanation only instead of modifying model training or performance estimates. illustrates the proposed method’s predictions via SHAP-enabled visualizations. For consistency of interpretation, we used the same illustrative patient in -, who was randomly selected from testing data and had at least one positive decompensation symptom. As shown, top predictors pertain to the patient’s disease network, which reinforces the consistency between graph-derived variables and clinically important variables. In this example, ascites, varices, and encephalopathy predictions were mainly influenced by chronicity of hepatic deterioration and viral hepatitis, as reflected by MLD, HBV, HCV, diabetes, and hypertension features in . The visualization of feature importance reveals influential factors and helps physicians better interpret the proposed method’s estimates at the patient level.




To understand the association between comorbidities and decompensation symptom risks, we performed a probabilistic counterfactual risk analysis using patient comorbidity profiles. We first computed baseline predicted probabilities for each decompensation symptom using each patient’s observed comorbidities and comorbidity durations. We then generated counterfactual inputs by removing one comorbidity at a time while keeping all other covariates fixed. Removal was proceeded by setting the focal comorbidity’s binary indicator, duration feature, and disease-specific node embedding to 0, with all remaining features and embeddings intact. For each removed comorbidity and outcome , we recomputed risks and calculated the change of risk as follows.
(13)
A means that removal of increases the estimated probability of decompensation symptom ; indicates a decrease in risk. presents patient-level values in a comorbidity-by-outcome matrix in which each row refers to a removed comorbidity and each column denotes a decompensation symptom. For the illustrative patient in , removing MLD yields negative shifts across all outcomes (ascites: −0.036; varices: −0.008; HE: −0.002; and HRS: −0.073), with the largest magnitude for HRS, implying that, for this patient, the proposed method predicts positive associations of MLD with the estimated risks for different symptoms, particularly HRS. This outcome-specific decomposition is useful and can help physicians understand the predictions for each patient, although it is an associative interpretation of the learned predictive function and should not be interpreted as direct physiological causality or treatment effect. All percentage-point shifts () in were computed from calibrated probabilities.
We also examined the relationships among patient outcomes, mortality, and decompensation symptoms. presents a patient-level intertask association map that depicts how model-estimated risk for one outcome is linked to the estimated risks of others. These relationships can help clinicians identify outcomes strongly associated with others at the patient level. This analysis perturbs the probability of one outcome and quantifies its directional effect on other outcomes. For each outcome , we fit a destination-specific logistic regression stacker with estimated probabilities of all other outcomes, , and response . Each stacker estimates as a calibration and association layer over the proposed method’s outputs. For each patient, we used to compute baseline stacked probabilities , then replaced an with its training-cohort median and kept all remaining predictors fixed to recompute . For each directed perturbation , we defined the edge effect as (in percentage points [pp]). A positive reveals that neutralizing source signal increases destination risk , whereas a negative indicates a decrease. In , the logistic stackers were fitted on the training data and then applied to the illustrated case drawn from the test data to demonstrate their capabilities under deployment conditions.
illustrates how changes in the prediction probability of source outcome can lead to a reversal of the estimated destination outcome. For this patient, all 5 displayed effects are negative, indicating that replacing the source-outcome probability with its training cohort median decreases the estimated probability of the corresponding destination outcome: =−50.12 pp, =−42.60 pp, =−45.59 pp, =−32.50 pp, and =−45.91 pp. For example, =−45.91 pp means that replacing the variceal-bleeding probability with its cohort median lowers the stacked encephalopathy probability by 0.459 for this patient. The illustrative patient-level dependency map can support triage and highlight destination risks most sensitive to other outcome signals, with an emphasis on the associations among patient outcomes. All reported percentage-point shifts () in were computed from calibrated probabilities.
Discussion
Principal Findings
Compared with many prevalent methods, the proposed method exhibited significantly better prediction efficacy, reflected by an average AUC value of 0.871 (SD 0.004) and F-measure of 0.678 (SD 0.010). This method is effective for symptom-level decompensation risk stratification beyond a dichotomous compensation versus decompensation view. An ablation analysis revealed the importance of each key component of the proposed method, perhaps with greater performance gains by graph-based representation and patient-level temporal patterns, which underscores the criticality of capturing comorbidity structure and disease chronicity for downstream predictions. Moreover, the proposed method can provide interpretable analyses and visualizations (such as patient-level comorbidity graphs, SHAP attributions, comorbidity-removal counterfactual maps, and intertask assist maps), which should increase user confidence, trust, and adoption.
Comparison to Prior Work
The proposed method addresses several important limitations of prior work on liver-related risk predictions. For example, most existing methods target a single outcome, such as compensation versus decompensation, without symptom-level consideration. In addition, patient subgroup structure and comorbidity interplays are largely overlooked. The proposed method adds to extant literature by considering distinct decompensation symptoms and their interplays, together with an auxiliary task. It incorporates demographic cohort structure using group-specific comorbidity graphs, as well as patient-level temporal disease information through personalized embeddings. Relative to existing regression-based, tree-based, and deep learning–based methods, our method makes methodological contributions by integrating clinically guided structure into learning via IF- and CIS-informed graph construction and IF-weighted multitask loss. Furthermore, this study provides multiple post hoc analyses for interpretability and visualizations of symptom-specific associative patterns, so the proposed method can serve as a structured and clinically interpretable means to complement score-based methods for assessing decompensation risks among patients with cirrhosis.
Limitations
This study has several limitations that should be considered to interpret the results with caution. First, we used patients from a health care system, who were diagnosed with cirrhosis between 2007 and 2013. This cohort reflects the pre–direct-acting antiviral for HCV, before a major practice change around 2014. Clinical care of patients with chronic liver diseases has evolved over time, such as antiviral access, vaccination coverage, and preventive measures that might affect patients’ decompensation risks, disease trajectories, and outcomes. The illustrative post hoc interpretability analyses may offer a partial depiction regarding how etiology shifts may affect predictions. Physicians can perform counterfactual risk analyses to assess how removal or attenuation of specific etiologic factors, such as viral hepatitis–related condition reduction through vaccination and modern antiviral treatment, might alter estimated probabilities for ascites, varices, HE, and HRS. Although such analyses are associative rather than causal, they still can help assess model sensitivity under plausible epidemiologic changes. Future work should enhance robustness and external validation with recalibration using additional patient data, desirable cohorts after 2020. Second, the proposed method formulates outcomes as fixed-horizon binary labels and optimizing them with task-wise binary cross-entropy, rather than using an explicit competing-risks or survival framework. Its inclusion of mortality prediction as an auxiliary task helps the main prediction task but without considering the temporal order of decompensation and mortality. Therefore, estimates should be interpreted as risk within the 3-year window, instead of cause-specific hazard or cumulative-incidence estimates. Future work can extend this method with time-to-event and competing-risks modeling, such as using a cause-specific or subdistribution hazard approach or a multistate survival model. Third, the proposed method was developed and evaluated using available etiological data in EHRs; it lacks laboratory and blood test data. Future research could extend the method by incorporating additional data for further improved, finer-grained predictions, such as modeling the temporal order of clinical events and adopting a stricter temporal view to formulate the prediction problem.
Future Directions
These limitations in turn suggest promising research directions. We used a particular patient cohort to develop and evaluate the proposed method, and continued research could consider multiple patient cohorts that differ in demographics, ethnic backgrounds, and clinical systems to increase both method generalizability and result robustness. Expanding the scope of inputs by including additional cirrhosis-related conditions such as jaundice [] or laboratory biomarkers and multimodal data (eg, medical imaging and clinical notes) could further enhance clinical values []. Estimating the first-appearing symptom and its timing also is important for clinical decision support and patient management. Moreover, future research can extend the proposed method’s interpretability by incorporating intrinsically interpretable methods for increased reasoning and explanations, which can enhance transparency and physicians’ trust and clinical adoption [].
Conclusions
Accurately predicting decompensation among patients with cirrhosis is clinically important and methodologically challenging. We developed and evaluated a graph-based multitask deep learning framework to estimate 4 decompensation symptoms (ascites, varices, HE, and HRS) within a 3-year prediction horizon after the cirrhosis diagnosis. This method incorporates demographic subgroup structure, comorbidity interplays, patient-level temporal information, and IF-weighted multitask optimization for downstream predictions. The proposed method provides more effective predictions than many existing methods, across different performance measures, thereby enabling early at-risk patient identification and risk stratification. The illustrated post hoc interpretability offers patient-level, associative explanations of its estimates for user comprehension and confidence.
Generative AI Use
The authors attest that there was no use of generative artificial intelligence (AI) technology in the ideation, generation of text, figures, or other informational content of this manuscript. The authors declare the use of generative AI technology in coding and code debugging under full human supervision.
Funding
This work has not received any funding or financial support.
Data Availability
The data used in this study cannot be made publicly accessible due to privacy issues. Nevertheless, the authors can arrange data access upon request. The implementation code of the proposed method and used interpretability tools are available in the GitHub repository [].
Authors' Contributions
MA contributed to writing the original draft and reviewing and editing the manuscript, as well as validation, software, methodology, investigation, formal analysis, and conceptualization. DX contributed to writing the original draft and reviewing and editing the manuscript, as well as validation, methodology, investigation, formal analysis, and conceptualization. PJHH contributed to writing the original draft and reviewing and editing the manuscript, as well as validation, supervision, project administration, methodology, investigation, and conceptualization. TSH contributed to reviewing and editing the manuscript, as well as resources, project administration, investigation, and data curation.
Conflicts of Interest
None declared.
References
- Schuppan D, Afdhal NH. Liver cirrhosis. The Lancet. Mar 2008;371(9615):838-851. [CrossRef]
- Zipprich A, Garcia-Tsao G, Rogowski S, Fleig WE, Seufferlein T, Dollinger MM. Prognostic indicators of survival in patients with compensated and decompensated cirrhosis. Liver Int. Oct 2012;32(9):1407-1414. [CrossRef] [Medline]
- Holvast A, Verkade HJ. Complications of liver cirrhosis. In: D’Antiga L, editor. Pediatric Hepatology and Liver Transplantation. Springer International Publishing; 2019:293-297. [CrossRef]
- Durand F, Valla D. Assessment of prognosis of cirrhosis. Semin Liver Dis. Feb 2008;28(1):110-122. [CrossRef] [Medline]
- Delik A, Ülger Y. Treatment approach in patients with decompensated liver cirrhosis. In: Advances in Hepatology. IntechOpen; 2021. [CrossRef]
- Volk ML, Tocco RS, Bazick J, Rakoski MO, Lok AS. Hospital readmissions among patients with decompensated cirrhosis. Am J Gastroenterol. Feb 2012;107(2):247-252. [CrossRef] [Medline]
- Ginès P, Krag A, Abraldes JG, Solà E, Fabrellas N, Kamath PS. Liver cirrhosis. The Lancet. Oct 2021;398(10308):1359-1376. [CrossRef]
- Gustot T, Stadlbauer V, Laleman W, Alessandria C, Thursz M. Transition to decompensation and acute-on-chronic liver failure: role of predisposing factors and precipitating events. J Hepatol. Jul 2021;75 Suppl 1:S36-S48. [CrossRef] [Medline]
- Thiele M, Johansen S, Israelsen M, et al. Noninvasive assessment of hepatic decompensation. Hepatology. Mar 1, 2025;81(3):1019-1037. [CrossRef] [Medline]
- D’Amico G, Bernardi M, Angeli P. Towards a new definition of decompensated cirrhosis. J Hepatol. Jan 2022;76(1):202-207. [CrossRef] [Medline]
- Addissouky TA. Liver stiffness as a dynamic predictor of decompensation and mortality in alcohol-related liver disease. Discov Med. Nov 2024;1(1):96. [CrossRef]
- Chon YE, Jung ES, Park JY, et al. The accuracy of noninvasive methods in predicting the development of hepatocellular carcinoma and hepatic decompensation in patients with chronic hepatitis B. J Clin Gastroenterol. Jul 2012;46(6):518-525. [CrossRef] [Medline]
- Assefi M. Comparison of the prognostic value of the Child Pugh and MELD scoring systems in cirrhosis -A systematic review. J Critical Care & Emerg Med. Dec 2022;1(4):1. [CrossRef]
- Schneider ARP, Schneider CV, Schneider KM, et al. Early prediction of decompensation (EPOD) score: non-invasive determination of cirrhosis decompensation risk. Liver Int. Mar 2022;42(3):640-650. [CrossRef] [Medline]
- Paukner M, Ladner DP, CAPriCORN Team, Zhao L. Measuring disease burden with individual cumulative incidence in patients with cirrhosis. J Biomed Inform. Sep 2025;169:104883. [CrossRef] [Medline]
- Mostafa F, Hasan E, Williamson M, Khan H. Statistical machine learning approaches to liver disease prediction. Livers. Dec 2021;1(4):294-312. [CrossRef]
- Rožman M, Kišić A, Oreški D. Comparative analysis of nonlinear models developed using machine learning algorithms. WSEAS TRANSACTIONS ON INFORMATION SCIENCE AND APPLICATIONS. Jan 2, 2024;21:303-307. [CrossRef]
- Ravi D, Wong C, Deligianni F, et al. Deep learning for health informatics. IEEE J Biomed Health Inform. Jan 2017;21(1):4-21. [CrossRef] [Medline]
- Hama T, Alsaleh MM, Allery F, et al. Enhancing patient outcome prediction through deep learning with sequential diagnosis codes from structured electronic health record data: systematic review. J Med Internet Res. Mar 18, 2025;27(1):e57358. [CrossRef] [Medline]
- Sasseville M, Ouellet S, Rhéaume C, et al. Bias mitigation in primary health care artificial intelligence models: scoping review. J Med Internet Res. Jan 7, 2025;27(1):e60269. [CrossRef] [Medline]
- Hsu CY, Parikh ND, Huo TI, Tapper EB. Comparison of seven noninvasive models for predicting decompensation and hospitalization in patients with cirrhosis. Dig Dis Sci. Dec 2021;66(12):4508-4517. [CrossRef] [Medline]
- Spann A, Yasodhara A, Kang J, et al. Applying machine learning in liver disease and transplantation: a comprehensive review. Hepatology. Mar 2020;71(3):1093-1105. [CrossRef] [Medline]
- Leiby BE, Ten Have TR, Lynch KG, Sammel MD. Bayesian multivariate growth curve latent class models for mixed outcomes. Stat Med. Sep 10, 2014;33(20):3434-3452. [CrossRef] [Medline]
- Yu R, Zheng Y, Zhang R, Jiang Y, Poon CCY. Using a multi-task recurrent neural network with attention mechanisms to predict hospital mortality of patients. IEEE J Biomed Health Inform. Feb 2020;24(2):486-492. [CrossRef] [Medline]
- Pai S, Bader GD. Patient similarity networks for precision medicine. J Mol Biol. Sep 14, 2018;430(18 Pt A):2924-2938. [CrossRef] [Medline]
- Laferrière-Langlois P, Imrie F, Geraldo MA, et al. Novel preoperative risk stratification using digital phenotyping applying a scalable machine-learning approach. Anesth Analg. Jul 1, 2024;139(1):174-185. [CrossRef] [Medline]
- Sheng JQ, Hu PJH, Liu X, Huang TS, Chen YH. Predictive analytics for care and management of patients with acute diseases: deep learning-based method to predict crucial complication phenotypes. J Med Internet Res. Feb 12, 2021;23(2):e18372. [CrossRef] [Medline]
- Heo S, Lee SS, Kim SY, et al. Prediction of decompensation and death in advanced chronic liver disease using deep learning analysis of gadoxetic acid-enhanced MRI. Korean J Radiol. Dec 2022;23(12):1269-1280. [CrossRef] [Medline]
- Trebicka J, Macnaughtan J, Schnabl B, Shawcross DL, Bajaj JS. The microbiota in cirrhosis and its role in hepatic decompensation. J Hepatol. Jul 2021;75 Suppl 1(Suppl 1):S67-S81. [CrossRef] [Medline]
- Hsieh MS, Cheng KC, Hsieh ML, Chiang JH, Hsieh VCR. Mortality risk and decompensation in hospitalized patients with non-alcoholic liver cirrhosis: implications for disease management. Int J Environ Res Public Health. Jan 12, 2021;18(2):606. [CrossRef] [Medline]
- Idilman R, Aydogan M, Oruncu MB, et al. Natural history of cirrhosis: changing trends in etiology over the years. Dig Dis. 2021;39(4):358-365. [CrossRef] [Medline]
- Li M, Wei Z, Su J, et al. Changing spectrum and mortality disparities of etiology of liver cirrhosis in Beijing, China. J Med Virol. Jan 2024;96(1):e29405. [CrossRef] [Medline]
- Tsochatzis EA, Bosch J, Burroughs AK. Liver cirrhosis. The Lancet. May 2014;383(9930):1749-1761. [CrossRef]
- Ginés P, Quintero E, Arroyo V, et al. Compensated cirrhosis: natural history and prognostic factors. Hepatology. 1987;7(1):122-128. [CrossRef]
- Angeli P, Bernardi M, Villanueva C, et al. EASL clinical practice guidelines for the management of patients with decompensated cirrhosis. J Hepatol. Aug 2018;69(2):406-460. [CrossRef]
- Rubin JB, Sundaram V, Lai JC. Gender differences among patients hospitalized with cirrhosis in the United States. J Clin Gastroenterol. Jan 2020;54(1):83-89. [CrossRef] [Medline]
- Liu S, Li J, Wong Y, et al. Prognostic impact of age on outcomes of hepatic decompensation in patients with compensated cirrhosis (CHESS2102): an international, multicenter cohort study. MedComm (2020). Nov 2024;5(11):e781. [CrossRef] [Medline]
- Mansour D, McPherson S. Management of decompensated cirrhosis. Clinical Medicine. Apr 2018;18(2):s60-s65. [CrossRef]
- Gordon FD. Ascites. Clin Liver Dis. May 2012;16(2):285-299. [CrossRef] [Medline]
- McKay R, Webster NR. Variceal bleeding. Continuing Education in Anaesthesia Critical Care & Pain. Dec 2007;7(6):191-194. [CrossRef]
- Ferenci P. Hepatic encephalopathy. Gastroenterol Rep. May 2017;5(2):138-147. [CrossRef]
- Simonetto DA, Gines P, Kamath PS. Hepatorenal syndrome: pathophysiology, diagnosis, and management. BMJ. Sep 14, 2020;370:m2687. [CrossRef] [Medline]
- McCoy MS, Angeli P, Trebicka J. Acute and non‐acute decompensation of liver cirrhosis. Liver International. Mar 2025;45(3):e15861. [CrossRef]
- Baiges A, Hernández-Gea V. Management of liver decompensation in advanced chronic liver disease: ascites, hyponatremia, and gastroesophageal variceal bleeding. Clin Drug Investig. Jun 2022;42(Suppl 1):25-31. [CrossRef] [Medline]
- Peck-Radosavljevic M, Angeli P, Cordoba J, Farges O, Valla D. Managing complications in cirrhotic patients. UEG Journal. Feb 2015;3(1):80-94. [CrossRef]
- Cardenas A, Ginès P. Management of complications of cirrhosis in patients awaiting liver transplantation. J Hepatol. 2005;42 Suppl(1):S124-S133. [CrossRef] [Medline]
- Verma N, Roy A, Valsan A, et al. Liver dysfunction and systemic inflammation drive organ failures in acute decompensation of cirrhosis: a multicentric study. Am J Gastroenterol. 2025;120(1):182-193. [CrossRef]
- Kumar S, Rani P. A comparative survey on machine learning techniques for prediction of liver disease. Presented at: 2023 6th International Conference on Contemporary Computing and Informatics (IC3I); Sep 14-16, 2023:1796-1801; Gautam Buddha Nagar, India. [CrossRef]
- Luo X. A comparison of three estimation methods in linear regression analysis. Presented at: 2016 4th International Conference on Machinery, Materials and Information Technology Applications; Dec 10-11, 2016. [CrossRef]
- Leise MD, Kim WR, Kremers WK, Larson JJ, Benson JT, Therneau TM. A revised model for end-stage liver disease optimizes prediction of mortality among patients awaiting liver transplantation. Gastroenterology. Jun 2011;140(7):1952-1960. [CrossRef] [Medline]
- Olive DJ. Linear regression analysis. Technometrics. Nov 2003;45(4):362-363. [CrossRef]
- Huang JC, Ko KM, Shu MH, Hsu BM. Application and comparison of several machine learning algorithms and their integration models in regression problems. Neural Comput & Applic. May 2020;32(10):5461-5469. [CrossRef]
- Clark S, Hyndman RJ, Pagendam D, Ryan LM. Modern strategies for time series regression. arXiv. Preprint posted online on Oct 29, 2020. [CrossRef]
- Andrews PJD, Sleeman DH, Statham PFX, et al. Predicting recovery in patients suffering from traumatic brain injury by using admission variables and physiological data: a comparison between decision tree analysis and logistic regression. J Neurosurg. Aug 2002;97(2):326-336. [CrossRef] [Medline]
- Wu CC, Yeh WC, Hsu WD, et al. Prediction of fatty liver disease using machine learning algorithms. Comput Methods Programs Biomed. Mar 2019;170:23-29. [CrossRef] [Medline]
- Li X, Chen X, Yuan Z. Applicable model of liver disease detection based on the improved CART-AdaBoost algorithm. Presented at: 2021 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA); Jun 28-30, 2021:1177-1181; Dalian, China. [CrossRef]
- Afreen N, Patel R, Ahmed M, Sameer M. A novel machine learning approach using boosting algorithm for liver disease classification. Presented at: 2021 5th International Conference on Information Systems and Computer Networks (ISCON); Oct 22-23, 2021:1-5; Mathura, India. [CrossRef]
- Dalal S, Onyema EM, Malik A. Hybrid XGBoost model with hyperparameter tuning for prediction of liver disease with better accuracy. World J Gastroenterol. Dec 14, 2022;28(46):6551-6563. [CrossRef] [Medline]
- Krogh A. What are artificial neural networks? Nat Biotechnol. Feb 2008;26(2):195-197. [CrossRef] [Medline]
- Breiman L. Random forests. Mach Learn. Oct 2001;45(1):5-32. [CrossRef]
- Dorffner G, Porenta G. On using feedforward neural networks for clinical diagnostic tasks. Artif Intell Med. Oct 1994;6(5):417-435. [CrossRef] [Medline]
- He L, Madathil SC, Servis G, Khasawneh MT. Neural network-based multi-task learning for inpatient flow classification and length of stay prediction. Appl Soft Comput. Sep 2021;108:107483. [CrossRef] [Medline]
- Lai Y. Application of machine learning algorithm based on neural network technology. J Phys: Conf Ser. Nov 1, 2021;2066(1):012041. [CrossRef]
- Tu JV. Advantages and disadvantages of using artificial neural networks versus logistic regression for predicting medical outcomes. J Clin Epidemiol. Nov 1996;49(11):1225-1231. [CrossRef] [Medline]
- Mao S, Sejdic E. A review of recurrent neural network-based methods in computational physiology. IEEE Trans Neural Netw Learn Syst. Oct 2023;34(10):6983-7003. [CrossRef] [Medline]
- Liu S, Schlesinger JJ, McCoy AB, et al. New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record. J Am Med Inform Assoc. Dec 13, 2022;30(1):120-131. [CrossRef]
- Shuvo MMH, Islam SK. Deep multitask learning by stacked long short-term memory for predicting personalized blood glucose concentration. IEEE J Biomed Health Inform. Mar 2023;27(3):1612-1623. [CrossRef] [Medline]
- Subasi A. Chapter 3 - Machine learning techniques. In: Subasi A, editor. Practical Machine Learning for Data Analysis Using Python. Academic Press; 2020:91-202. [CrossRef]
- Singh Y, Faghani S, Eaton JE, Venkatesh SK, Erickson BJ. Deep learning-based prediction of hepatic decompensation in patients with primary sclerosing cholangitis with computed tomography. Mayo Clin Proc Digit Health. Sep 2024;2(3):470-476. [CrossRef] [Medline]
- Kok C, Jahmunah V, Oh SL, et al. Automated prediction of sepsis using temporal convolutional network. Comput Biol Med. Dec 2020;127:103957. [CrossRef] [Medline]
- Li C, Ding S, Zou N, Hu X, Jiang X, Zhang K. Multi-task learning with dynamic re-weighting to achieve fairness in healthcare predictive modeling. J Biomed Inform. Jul 2023;143:104399. [CrossRef] [Medline]
- Ramesh S, Dall’Alba D, Gonzalez C, et al. Multi-task temporal convolutional networks for joint recognition of surgical phases and steps in gastric bypass procedures. Int J Comput Assist Radiol Surg. Jul 2021;16(7):1111-1119. [CrossRef] [Medline]
- Tang S, Tariq A, Dunnmon JA, et al. Predicting 30-day all-cause hospital readmission using multimodal spatiotemporal graph neural networks. IEEE J Biomed Health Inform. Apr 2023;27(4):2071-2082. [CrossRef] [Medline]
- Ma Q, Meng R, Li R, et al. Multitask deep learning model based on multimodal data for predicting prognosis of rectal cancer: a multicenter retrospective study. BMC Med Inform Decis Mak. Jun 5, 2025;25(1):209. [CrossRef] [Medline]
- Hu X, Sun Z, Nian Y, et al. Self-explainable graph neural network for Alzheimer disease and related dementias risk prediction: algorithm development and validation study. JMIR Aging. Jul 8, 2024;7(1):e54748. [CrossRef] [Medline]
- Bejani MM, Ghatee M. A systematic review on overfitting control in shallow and deep neural networks. Artif Intell Rev. Dec 2021;54(8):6391-6438. [CrossRef]
- Zhou K, Huang X, Chen M, et al. Pre-hospital symptom clusters and symptom network analysis in decompensated cirrhotic patients: a cross-sectional study. J Adv Nurs. Jul 2024;80(7):2785-2800. [CrossRef] [Medline]
- Bernardi M, Caraceni P. Novel perspectives in the management of decompensated cirrhosis. Nat Rev Gastroenterol Hepatol. Dec 2018;15(12):753-764. [CrossRef] [Medline]
- Fedosina EA, Byeverov AO, Bogomolov PO, Staroverova NP. Some practical issues in the management of patients with decompensated liver cirrhosis. Ter Arkh. Aug 15, 2019;91(8):148-154. [CrossRef] [Medline]
- Caruana R. Multitask learning. Mach Learn. Jul 1997;28(1):41-75. [CrossRef]
- Roy S, Mincu D, Loreaux E, et al. Multitask prediction of organ dysfunction in the intensive care unit using sequential subnetwork routing. J Am Med Inform Assoc. Aug 13, 2021;28(9):1936-1946. [CrossRef] [Medline]
- Asrani SK, Hall L, Reddy V, Ogola G, Izzy M. Comorbid chronic diseases and survival in compensated and decompensated cirrhosis: a population-based study. Am J Gastroenterol. 2022;117(12):2009-2016. [CrossRef]
- Berenguer J, Aldámiz-Echevarría T, Hontañón V, et al. Clinical outcomes and prognostic factors after HCV clearance with DAA in HIV/HCV-coinfected patients with advanced fibrosis/cirrhosis. Hepatology. Jan 1, 2025;81(1):238-253. [CrossRef] [Medline]
- Innes H, Walker AJ, Benselin J, et al. Comprehensive comparative analysis of standard validated, genetic, and novel biomarkers to enhance prognostic risk-stratification in patients with hepatitis C virus cirrhosis. Clin Transl Gastroenterol. Feb 9, 2022;13(3):e00462. [CrossRef] [Medline]
- Rudler M. Role of comorbidities in the general management of compensated cirrhosis, including malnutrition. In: Portal Hypertension VI. Springer International Publishing; 2016:205-214. [CrossRef]
- Konerman MA, Beste LA, Van T, et al. Machine learning models to predict disease progression among veterans with hepatitis C virus. PLOS ONE. 2019;14(1):e0208141. [CrossRef] [Medline]
- Gao Y, Li R, Croxford E, et al. Leveraging medical knowledge graphs into large language models for diagnosis prediction: design and application study. JMIR AI. Feb 24, 2025;4(1):e58670. [CrossRef] [Medline]
- Xu M. Understanding graph embedding methods and their applications. SIAM Rev. Jan 2021;63(4):825-853. [CrossRef]
- Abdi H, Williams LJ. Principal component analysis. WIREs Computational Stats. Jul 2010;2(4):433-459. [CrossRef]
- Yang H, Zhang B, Peng C, Yu C, Mou X. Predictive Value of serum lactate levels for mortality in patients with hepatitis B-related decompensated cirrhosis: a retrospective analysis. Br J Hosp Med. Dec 30, 2024;85(12):1-10. [CrossRef]
- Salkić N, Jovanović P, Barišić Jaman M, Selimović N, Paštrović F, Grgurević I. Machine learning for short-term mortality in acute decompensation of liver cirrhosis: better than MELD score. Diagnostics (Basel). May 8, 2024;14(10):981. [CrossRef] [Medline]
- Aurelio YS, de Almeida GM, de Castro CL, Braga AP. Learning from imbalanced data sets with weighted cross-entropy function. Neural Process Lett. Oct 2019;50(2):1937-1949. [CrossRef]
- Andrade C. Z scores, standard scores, and composite test scores explained. Indian J Psychol Med. Nov 2021;43(6):555-557. [CrossRef] [Medline]
- Cervellera C, Maccio D. Distribution-preserving stratified sampling for learning problems. IEEE Trans Neural Netw Learn Syst. Jul 2018;29(7):2886-2895. [CrossRef] [Medline]
- Soleymani R, Granger E, Fumera G. F-measure curves: a tool to visualize classifier performance under imbalance. Pattern Recognit. Apr 2020;100:107146. [CrossRef]
- Kasper P, Goeser T. Management of decompensated liver cirrhosis in the surgical intensive care unit. Hepatobiliary Surg Nutr. Feb 28, 2023;12(1):95-98. [CrossRef] [Medline]
- Lundberg S, Lee SI. A unified approach to interpreting model predictions. arXiv. Preprint posted online on Nov 25, 2017. [CrossRef]
- Müller SE, Casper M, Ripoll C, et al. Machine learning models predicting decompensation in cirrhosis. J Gastrointestin Liver Dis. Mar 27, 2025;34(1):71-80. [CrossRef] [Medline]
- London AJ. Artificial intelligence and black-box medical decisions: accuracy versus explainability. Hastings Cent Rep. Jan 2019;49(1):15-21. [CrossRef] [Medline]
- Abolhasani M. Cirrhosis. GitHub. URL: https://github.com/abolhasani/Cirrhosis [Accessed 2026-10-09]
Abbreviations
| ADAB: Adaptive Boosting (AdaBoost) |
| AUC: area under the curve |
| BCE: binary cross-entropy |
| CIS: condition impact score |
| CNN : convolutional neural network |
| DNN: deep neural network |
| EHR: electronic health record |
| FCN : Fully Connected Neural Network |
| GNN : graph neural network |
| HBV : hepatitis B virus |
| HCV : hepatitis C virus |
| HE: hepatic encephalopathy |
| HRS: hepatorenal syndrome |
| IF : influence factor |
| LSTM: long short-term memory |
| M4T: Four-outcome Multitask Baseline Proposed Model |
| MLD: mild liver disease |
| PCA: principal component analysis |
| pp: percentage point |
| RF: random forest |
| SHAP: Shapley Additive Explanations |
| TCN: temporal convolutional neural network |
| XGB: Extreme Gradient Boosting |
Edited by Andrew Coristine; submitted 18.Jan.2026; peer-reviewed by Jessica Qiuhua Sheng, Jiahao Meng; final revised version received 14.Sep.2026; accepted 17.Sep.2026; published 13.Nov.2026.
Copyright© Mohammadsadegh Abolhasani, Da Xu, Paul Jen-Hwa Hu, Ting-Shuo Huang. Originally published in JMIR Medical Informatics (https://medinform.jmir.org), 13.Nov.2026.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on https://medinform.jmir.org/, as well as this copyright and license information must be included.

