<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id><journal-id journal-id-type="publisher-id">medinform</journal-id><journal-id journal-id-type="index">7</journal-id><journal-title>JMIR Medical Informatics</journal-title><abbrev-journal-title>JMIR Med Inform</abbrev-journal-title><issn pub-type="epub">2291-9694</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v14i1e91693</article-id><article-id pub-id-type="doi">10.2196/91693</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Predicting Cirrhotic Patients&#x2019; Transition From Compensated to Decompensated Stage: A Graph-Based Multitask Deep Learning Method</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Abolhasani</surname><given-names>Mohammadsadegh</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Xu</surname><given-names>Da</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Hu</surname><given-names>Paul Jen-Hwa</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Huang</surname><given-names>Ting-Shuo</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="aff" rid="aff5">5</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Operations and Information Systems, David Eccles School of Business, University of Utah</institution><addr-line>1655 East Campus Center Drive</addr-line><addr-line>Salt Lake City</addr-line><addr-line>UT</addr-line><country>United States</country></aff><aff id="aff2"><institution>Department of Marketing, Analytics, and Professional Sales, School of Business Administration, University of Mississippi</institution><addr-line>University</addr-line><addr-line>MS</addr-line><country>United States</country></aff><aff id="aff3"><institution>Division of General Surgery, Department of Surgery, Jen-Ai Hospital</institution><addr-line>Taichung</addr-line><country>Taiwan</country></aff><aff id="aff4"><institution>Department of Surgery, Keelung Chang Gung Memorial Hospital</institution><addr-line>Keelung</addr-line><country>Taiwan</country></aff><aff id="aff5"><institution>Department of Chinese Medicine, College of Medicine, Chang Gung University</institution><addr-line>Taoyuan</addr-line><country>Taiwan</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Coristine</surname><given-names>Andrew</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Sheng</surname><given-names>Jessica Qiuhua</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Meng</surname><given-names>Jiahao</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Paul Jen-Hwa Hu, PhD, Department of Operations and Information Systems, David Eccles School of Business, University of Utah, 1655 East Campus Center Drive, Salt Lake City, UT, 84112, United States, 1 801-587-7785; <email>paul.hu@eccles.utah.edu</email></corresp></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>13</day><month>11</month><year>2026</year></pub-date><volume>14</volume><elocation-id>e91693</elocation-id><history><date date-type="received"><day>18</day><month>01</month><year>2026</year></date><date date-type="rev-recd"><day>14</day><month>09</month><year>2026</year></date><date date-type="accepted"><day>17</day><month>09</month><year>2026</year></date></history><copyright-statement>&#x00A9; Mohammadsadegh Abolhasani, Da Xu, Paul Jen-Hwa Hu, Ting-Shuo Huang. Originally published in JMIR Medical Informatics (<ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org">https://medinform.jmir.org</ext-link>), 13.11.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), 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 <ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org/">https://medinform.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://medinform.jmir.org/2026/1/e91693"/><abstract><sec><title>Background</title><p>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&#x2019; transition from compensated to decompensated cirrhosis are important but difficult because of the multifactorial nature of disease progression, comorbid conditions, and patient heterogeneity.</p></sec><sec><title>Objective</title><p>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&#x2013;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.</p></sec><sec sec-type="methods"><title>Methods</title><p>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.</p></sec><sec sec-type="results"><title>Results</title><p>The proposed method attained an average area under the curve (AUC) of 0.871 (SD 0.004), <italic>F</italic>-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 <italic>F</italic>-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.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>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&#x2019; clinical decision-making and patient management but can also enhance health care organizations&#x2019; resource allocation efficiency and cost containment.</p></sec></abstract><kwd-group><kwd>cirrhotic patient transition</kwd><kwd>decompensation symptoms</kwd><kwd>cirrhosis</kwd><kwd>multitask learning</kwd><kwd>graph networks</kwd><kwd>deep learning</kwd><kwd>post hoc interpretation</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><sec id="s1-1"><title>Background</title><p>Cirrhosis is a chronic liver disease that features fibrosis and regenerative nodules [<xref ref-type="bibr" rid="ref1">1</xref>]. It can be classified clinically as compensated or decompensated [<xref ref-type="bibr" rid="ref2">2</xref>]. 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 [<xref ref-type="bibr" rid="ref3">3</xref>]. The latter denotes an advanced stage and is manifested by substantially decreased functional capacity that often leads to serious prognoses [<xref ref-type="bibr" rid="ref4">4</xref>]. Ascites, varices, hepatic encephalopathy (HE), and hepatorenal syndrome (HRS) are important symptoms that mark the onset of liver decompensation [<xref ref-type="bibr" rid="ref5">5</xref>]. 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 [<xref ref-type="bibr" rid="ref6">6</xref>] stressed the criticality of identifying patients at higher risk of decompensation, so that they can be monitored closely and receive timely interventions [<xref ref-type="bibr" rid="ref7">7</xref>].</p><p>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 [<xref ref-type="bibr" rid="ref8">8</xref>]. Physicians tend to depend on invasive hepatic venous pressure gradient measures, which, however, are not conveniently available in many health care organizations [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>]. 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 [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref11">11</xref>,<xref ref-type="bibr" rid="ref12">12</xref>]. Most physicians often use score-based methods, such as the Child-Pugh score, to estimate a patient&#x2019;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 [<xref ref-type="bibr" rid="ref13">13</xref>,<xref ref-type="bibr" rid="ref14">14</xref>]. 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 [<xref ref-type="bibr" rid="ref15">15</xref>].</p><p>Data-driven predictive analytics is particularly promising and can complement score-based methods [<xref ref-type="bibr" rid="ref16">16</xref>]. Toward that end, machine learning&#x2013;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 [<xref ref-type="bibr" rid="ref17">17</xref>]. Similarly, deep learning&#x2013;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) [<xref ref-type="bibr" rid="ref18">18</xref>]. 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 [<xref ref-type="bibr" rid="ref19">19</xref>]. However, deep learning&#x2013;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 [<xref ref-type="bibr" rid="ref20">20</xref>]. Overall, predictive analytics methods can leverage detailed patient data and harness algorithmic power to complement score-based methods.</p><p>Different data-driven predictive methods can be applied to estimate decompensation among patients with cirrhosis [<xref ref-type="bibr" rid="ref21">21</xref>], but many appear limited in prediction effectiveness [<xref ref-type="bibr" rid="ref22">22</xref>]. 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 [<xref ref-type="bibr" rid="ref23">23</xref>]. 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 [<xref ref-type="bibr" rid="ref24">24</xref>]. In addition, many methods overlook demographic similarity, which can inform decompensation symptom estimates by leveraging individual risk profiles across different patient groups [<xref ref-type="bibr" rid="ref25">25</xref>,<xref ref-type="bibr" rid="ref26">26</xref>]. Nor do prevalent methods consider symptom interplays; for example, the onset of ascites might be associated with a patient&#x2019;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 [<xref ref-type="bibr" rid="ref27">27</xref>]. In a related sense, modeling symptom interplays can address the &#x201C;black box&#x201D; 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&#x2019; comprehension, reasoning, and adoption.</p></sec><sec id="s1-2"><title>Objective</title><p>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&#x2019;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 [<xref ref-type="bibr" rid="ref28">28</xref>].</p><p>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.</p><p>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 [<xref ref-type="bibr" rid="ref25">25</xref>]. 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.</p><p>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&#x2019;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.</p></sec><sec id="s1-3"><title>Related Work</title><sec id="s1-3-1"><title>Overview of Cirrhosis and Compensated Versus Decompensated Stage</title><p>Marked by irreversible liver scarring and progressive hepatic dysfunction, cirrhosis is a formidable challenge to patients with chronic liver disease [<xref ref-type="bibr" rid="ref7">7</xref>,<xref ref-type="bibr" rid="ref29">29</xref>]. It can be attributed to etiological factors that influence clinical conditions, disease progression or manifestation, and prognosis [<xref ref-type="bibr" rid="ref30">30</xref>]. 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 [<xref ref-type="bibr" rid="ref31">31</xref>]. Alarmingly, HBV is the leading cause of cirrhosis in Asia, accounting for approximately 60% of cases in China [<xref ref-type="bibr" rid="ref32">32</xref>]. 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 [<xref ref-type="bibr" rid="ref33">33</xref>].</p><p>Cirrhosis can be categorized as compensated or decompensated, which refer to a significantly scarred liver that retains essential functions without overt symptoms [<xref ref-type="bibr" rid="ref34">34</xref>] and substantial declines of the liver capacity, respectively. At the decompensated stage, patients need extensive treatments and potential liver transplantation [<xref ref-type="bibr" rid="ref35">35</xref>]. Beyond etiologies, patient demographics are also important. For example, male and female patients seem to exhibit distinct progression patterns [<xref ref-type="bibr" rid="ref36">36</xref>], with men showing fast-paced decompensation and higher risk. Additionally, patients aged &#x003E;60 years tend to have worse cirrhosis-related conditions than their younger counterparts [<xref ref-type="bibr" rid="ref37">37</xref>].</p><p>Ascites, variceal bleeding, HE, and HRS represent important symptoms of decompensation [<xref ref-type="bibr" rid="ref35">35</xref>,<xref ref-type="bibr" rid="ref38">38</xref>]. These different symptoms manifest decompensation that requires specific interventions for patient care and management [<xref ref-type="bibr" rid="ref21">21</xref>]. For example, ascites, which features a pathological accumulation of fluid within the peritoneal cavity [<xref ref-type="bibr" rid="ref39">39</xref>], arises among approximately 50% of patients with cirrhosis in the compensated stage within 10 years of their cirrhosis diagnosis [<xref ref-type="bibr" rid="ref39">39</xref>]. Varices entail dilated veins, typically in the esophagus, and often result from the increased portal hypertension associated with cirrhosis [<xref ref-type="bibr" rid="ref40">40</xref>]. They significantly increase the risk of life-threatening hemorrhage, and such bleeding episodes lead to a high mortality rate [<xref ref-type="bibr" rid="ref40">40</xref>]. In addition, HE features impaired brain function [<xref ref-type="bibr" rid="ref41">41</xref>], 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 [<xref ref-type="bibr" rid="ref41">41</xref>]. 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 [<xref ref-type="bibr" rid="ref42">42</xref>]. As a result of functional changes in renal circulation, HRS can potentially be reversed by interventions such as vasoconstrictor therapy and liver transplantation [<xref ref-type="bibr" rid="ref42">42</xref>]. In summary, patients with cirrhosis can develop distinct symptoms over time, without any systematic, particular order [<xref ref-type="bibr" rid="ref14">14</xref>].</p><p>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 [<xref ref-type="bibr" rid="ref43">43</xref>]. 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 [<xref ref-type="bibr" rid="ref44">44</xref>-<xref ref-type="bibr" rid="ref46">46</xref>]. 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 [<xref ref-type="bibr" rid="ref47">47</xref>]. Toward that end, Schneider et al [<xref ref-type="bibr" rid="ref14">14</xref>] 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.</p><p>One hepatologist noted that &#x201C;Liver decompensation marks a critical &#x2018;point of no return&#x2019; 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.&#x201D;</p><p>Another hepatologist agreed and indicated that &#x201C;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.&#x201D;</p></sec><sec id="s1-3-2"><title>Data-Driven Analytics for Predicting Risk and Outcomes in Patients With Liver-Related Disease</title><p>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&#x2013;based methods [<xref ref-type="bibr" rid="ref48">48</xref>]. 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 [<xref ref-type="bibr" rid="ref49">49</xref>]. For example, Cox regression models can predict the mortality of patients who have entered the terminal stage of their liver disease [<xref ref-type="bibr" rid="ref50">50</xref>]. 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 [<xref ref-type="bibr" rid="ref51">51</xref>-<xref ref-type="bibr" rid="ref53">53</xref>]. Tree-based methods use feature values to split patients into subsets, with the objective of classification according to the target variable value [<xref ref-type="bibr" rid="ref54">54</xref>]. Exemplary methods include, but are not limited to, random forest (RF), AdaBoost (ADAB), and XGBoost (XGB). Wu et al [<xref ref-type="bibr" rid="ref55">55</xref>] applied random forests to estimate fatty liver disease, and Li et al [<xref ref-type="bibr" rid="ref56">56</xref>] used AdaBoost to detect liver disease among patients. Afreen et al [<xref ref-type="bibr" rid="ref57">57</xref>] and Dalal et al [<xref ref-type="bibr" rid="ref58">58</xref>] 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 [<xref ref-type="bibr" rid="ref59">59</xref>,<xref ref-type="bibr" rid="ref60">60</xref>].</p><p>Finally, neural network&#x2013;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 [<xref ref-type="bibr" rid="ref59">59</xref>]. 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 [<xref ref-type="bibr" rid="ref61">61</xref>]. Multitask artificial neural networks have also been designed for clinical predictions [<xref ref-type="bibr" rid="ref62">62</xref>]. In general, feedforward neural network&#x2013;based methods require substantial computational processing, need large-scale data to train, and have an intrinsic &#x201C;black box&#x201D; nature [<xref ref-type="bibr" rid="ref63">63</xref>,<xref ref-type="bibr" rid="ref64">64</xref>]. 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 [<xref ref-type="bibr" rid="ref65">65</xref>]. As Liu et al [<xref ref-type="bibr" rid="ref66">66</xref>] reported, LSTM is effective for estimating delirium onset in hospitalized patients. Shuvo et al [<xref ref-type="bibr" rid="ref67">67</xref>] 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 [<xref ref-type="bibr" rid="ref68">68</xref>]. Singh et al [<xref ref-type="bibr" rid="ref69">69</xref>] used DenseNet, a CNN variant, to estimate hepatic decompensation in patients with primary sclerosing cholangitis. Kok et al [<xref ref-type="bibr" rid="ref70">70</xref>] used a TCN to estimate sepsis. Li et al [<xref ref-type="bibr" rid="ref71">71</xref>] used a multitask CNN to achieve fairness in health care predictions, while Ramesh et al [<xref ref-type="bibr" rid="ref72">72</xref>] designed a multitask TCN to recognize surgical phases in gastric bypass surgeries. Other methods, such as a multimodal spatiotemporal GNN [<xref ref-type="bibr" rid="ref73">73</xref>], 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 [<xref ref-type="bibr" rid="ref74">74</xref>]. Graph-based neural methods appear to outperform traditional tree-based methods in patient risk predictions, with interpretable insights into the relationships among risk factors [<xref ref-type="bibr" rid="ref75">75</xref>]. Overall, DNNs offer effective predictions, but they need substantial data for training, require significant computing resources, and depend on regularization to avoid overfitting [<xref ref-type="bibr" rid="ref76">76</xref>].</p></sec><sec id="s1-3-3"><title>Gap Analysis</title><p>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 [<xref ref-type="bibr" rid="ref77">77</xref>-<xref ref-type="bibr" rid="ref79">79</xref>]. Similarly, patients who likely develop decompensation symptoms have a markedly higher risk of death [<xref ref-type="bibr" rid="ref30">30</xref>], 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&#x2019;s performance for the (main) symptom prediction task [<xref ref-type="bibr" rid="ref80">80</xref>]. That is, interdependent complications and mortality can be considered jointly to better predict patient outcomes [<xref ref-type="bibr" rid="ref81">81</xref>]. 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 [<xref ref-type="bibr" rid="ref36">36</xref>,<xref ref-type="bibr" rid="ref37">37</xref>]. 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 [<xref ref-type="bibr" rid="ref82">82</xref>-<xref ref-type="bibr" rid="ref85">85</xref>]. 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 [<xref ref-type="bibr" rid="ref86">86</xref>].</p><p>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 [<xref ref-type="bibr" rid="ref87">87</xref>]. 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. <xref ref-type="table" rid="table1">Table 1</xref> compares representative methods for predicting hematology patient risks and outcomes, in comparison with the proposed method, to convey its differences and pertinent novelties.</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Representative learning methods included as benchmarks for patient risk predictions, relative to the proposed method.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Method</td><td align="left" valign="bottom">Approach</td><td align="left" valign="bottom">Focal task</td><td align="left" valign="bottom">Patient similarity</td><td align="left" valign="bottom">Disease relationship</td><td align="left" valign="bottom">Temporal graph embeddings</td><td align="left" valign="bottom">Comorbidity interplays</td></tr></thead><tbody><tr><td align="left" valign="top">XGBoost [<xref ref-type="bibr" rid="ref58">58</xref>]</td><td align="left" valign="top">Tree-based</td><td align="left" valign="top">Single task</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">AdaBoost [<xref ref-type="bibr" rid="ref56">56</xref>]</td><td align="left" valign="top">Tree-based</td><td align="left" valign="top">Single task</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Random forest [<xref ref-type="bibr" rid="ref55">55</xref>]</td><td align="left" valign="top">Tree-based</td><td align="left" valign="top">Single task</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Linear regression [<xref ref-type="bibr" rid="ref49">49</xref>]</td><td align="left" valign="top">Regression based</td><td align="left" valign="top">Single task</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Multi-FCN<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup> [<xref ref-type="bibr" rid="ref62">62</xref>]</td><td align="left" valign="top">Neural network</td><td align="left" valign="top">Multitask</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Multi-CNN<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup> [<xref ref-type="bibr" rid="ref71">71</xref>]</td><td align="left" valign="top">Neural network</td><td align="left" valign="top">Multitask</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Multi-TCN<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup> [<xref ref-type="bibr" rid="ref72">72</xref>]</td><td align="left" valign="top">Neural network</td><td align="left" valign="top">Multitask</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Multi-LSTM<sup><xref ref-type="table-fn" rid="table1fn4">d</xref></sup> [<xref ref-type="bibr" rid="ref67">67</xref>]</td><td align="left" valign="top">Neural network</td><td align="left" valign="top">Multitask</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Single-FCN [<xref ref-type="bibr" rid="ref61">61</xref>]</td><td align="left" valign="top">Neural network</td><td align="left" valign="top">Single task</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Single-CNN [<xref ref-type="bibr" rid="ref69">69</xref>]</td><td align="left" valign="top">Neural network</td><td align="left" valign="top">Single task</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Single-TCN [<xref ref-type="bibr" rid="ref70">70</xref>]</td><td align="left" valign="top">Neural network</td><td align="left" valign="top">Single task</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Single-LSTM [<xref ref-type="bibr" rid="ref66">66</xref>]</td><td align="left" valign="top">Neural network</td><td align="left" valign="top">Single task</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Parallel CNN+Feature Nets [<xref ref-type="bibr" rid="ref74">74</xref>]</td><td align="left" valign="top">Multimodal deep neural network</td><td align="left" valign="top">Multitask</td><td align="left" valign="top">No</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">MM-STGNN<sup><xref ref-type="table-fn" rid="table1fn5">e</xref></sup> [<xref ref-type="bibr" rid="ref73">73</xref>]</td><td align="left" valign="top">Multimodal graph neural network</td><td align="left" valign="top">Single task</td><td align="left" valign="top">Yes</td><td align="left" valign="top">Yes</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td></tr><tr><td align="left" valign="top">Proposed method</td><td align="left" valign="top">Graph- and attention-based DNN<sup><xref ref-type="table-fn" rid="table1fn6">f</xref></sup></td><td align="left" valign="top">Multitask with specialized loss</td><td align="left" valign="top">Yes</td><td align="left" valign="top">Yes</td><td align="left" valign="top">Yes, individual level</td><td align="left" valign="top">Yes</td></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>FCN: fully connected network.</p></fn><fn id="table1fn2"><p><sup>b</sup>CNN: convolutional neural network.</p></fn><fn id="table1fn3"><p><sup>c</sup>TCN: temporal convolutional network.</p></fn><fn id="table1fn4"><p><sup>d</sup>LSTM: long short-term memory.</p></fn><fn id="table1fn5"><p><sup>e</sup>MM-STGNN: multimodal spatiotemporal graph neural network.</p></fn><fn id="table1fn6"><p><sup>f</sup>DNN: deep neural network.</p></fn></table-wrap-foot></table-wrap></sec></sec></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Problem Formulation</title><p>Let <inline-formula><mml:math id="ieqn1"><mml:mi>P</mml:mi><mml:mtext>=</mml:mtext><mml:mo>{</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>}</mml:mo></mml:math></inline-formula> be a set of patients and <inline-formula><mml:math id="ieqn2"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mstyle mathsize="1em"><mml:mi>D</mml:mi><mml:mtext>=</mml:mtext><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo><mml:mo>,</mml:mo><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> be a set of diseases (comorbidities), where <inline-formula><mml:math id="ieqn3"><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the binary indicator of morbidity <inline-formula><mml:math id="ieqn4"><mml:mi>j</mml:mi></mml:math></inline-formula> for patient <inline-formula><mml:math id="ieqn5"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula><mml:math id="ieqn6"><mml:msub><mml:mrow><mml:mi>&#x03B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the temporal difference (time interval) between the onset of that comorbidity and the cirrhosis diagnosis. <inline-formula><mml:math id="ieqn7"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mstyle mathsize="1em"><mml:mi>M</mml:mi><mml:mtext>=</mml:mtext><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mo>&#x003C;</mml:mo><mml:mi>m</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo><mml:mo>,</mml:mo><mml:mo>&#x003C;</mml:mo><mml:mi>m</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mo>&#x003C;</mml:mo><mml:mi>m</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> represents medication information, where <inline-formula><mml:math id="ieqn8"><mml:mi>m</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mo>{</mml:mo><mml:mn>0,1</mml:mn><mml:mo>}</mml:mo></mml:math></inline-formula> indicates whether a medication <inline-formula><mml:math id="ieqn9"><mml:mi>m</mml:mi></mml:math></inline-formula> is taken by patient <inline-formula><mml:math id="ieqn10"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. If <inline-formula><mml:math id="ieqn11"><mml:mi>m</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn></mml:math></inline-formula>, we record dosage <inline-formula><mml:math id="ieqn12"><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi><mml:msub><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, duration <inline-formula><mml:math id="ieqn13"><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and the starting date <inline-formula><mml:math id="ieqn14"><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>; otherwise, <inline-formula><mml:math id="ieqn15"><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi><mml:msub><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="ieqn16"><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula><mml:math id="ieqn17"><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are set to 0. <inline-formula><mml:math id="ieqn18"><mml:mi>A</mml:mi><mml:mi>G</mml:mi><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn19"><mml:mi>S</mml:mi><mml:mi>E</mml:mi><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denote patient age and gender, respectively. <inline-formula><mml:math id="ieqn20"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo>{</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2026;</mml:mo><mml:mn>5</mml:mn><mml:mo>}</mml:mo></mml:math></inline-formula> are binary indicators of decompensation symptoms (<inline-formula><mml:math id="ieqn21"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>k</mml:mi><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mn>3</mml:mn><mml:mo>,</mml:mo><mml:mn>4</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>) and death (<inline-formula><mml:math id="ieqn22"><mml:mi>k</mml:mi><mml:mtext>=</mml:mtext><mml:mn>5</mml:mn></mml:math></inline-formula>) for patient <inline-formula><mml:math id="ieqn23"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>.</p><p>The main prediction task is formally defined as follows: <italic>Given patient comorbidities</italic> <inline-formula><mml:math id="ieqn24"><mml:mi>D</mml:mi></mml:math></inline-formula><italic>, medications</italic> <inline-formula><mml:math id="ieqn25"><mml:mi>M</mml:mi></mml:math></inline-formula><italic>, and demographics</italic> (<inline-formula><mml:math id="ieqn26"><mml:mi>A</mml:mi><mml:mi>G</mml:mi><mml:mi>E</mml:mi></mml:math></inline-formula> <italic>and</italic> <inline-formula><mml:math id="ieqn27"><mml:mi>S</mml:mi><mml:mi>E</mml:mi><mml:mi>X</mml:mi></mml:math></inline-formula>)<italic>, 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</italic>. 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.</p><p>The proposed method makes use of an auxiliary task, <italic>mortality estimate</italic>, for symptom predictions. Ascites, varices, HE, and HRS mark the onset of decompensation; death is a critical event in a patient&#x2019;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.</p></sec><sec id="s2-2"><title>Architectural Framework</title><p><xref ref-type="fig" rid="figure1">Figure 1</xref> 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&#x2019;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&#x2019;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.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Architectural framework of the proposed method. EHR: electronic health record; IF: influence factor.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e91693_fig01.png"/></fig></sec><sec id="s2-3"><title>Group-Specific Comorbidity Graph Construction</title><p>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 [<xref ref-type="bibr" rid="ref36">36</xref>,<xref ref-type="bibr" rid="ref37">37</xref>]. For each cohort <inline-formula><mml:math id="ieqn28"><mml:mi>h</mml:mi></mml:math></inline-formula>, we created a comorbidity graph <inline-formula><mml:math id="ieqn29"><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="ieqn30"><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> indicates nodes (comorbidities), and <inline-formula><mml:math id="ieqn31"><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes edges between 2 comorbidities that coexist in at least one patient within the cohort. For a patient group <inline-formula><mml:math id="ieqn32"><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, we quantified the edge weight between 2 comorbidities <inline-formula><mml:math id="ieqn33"><mml:mi>p</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn34"><mml:mtext> </mml:mtext><mml:mi>q</mml:mi></mml:math></inline-formula> based on a CIS, calculated as follows:</p><disp-formula id="E1"><label>(1)</label><mml:math id="eqn1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>C</mml:mi><mml:mi>I</mml:mi><mml:msub><mml:mi>S</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>q</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:msubsup><mml:mi>&#x03B1;</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><disp-formula><label>(2)</label><mml:math id="eqn2"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>Z</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>l</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>&#x2223;</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><disp-formula id="E2"/><p>where <inline-formula><mml:math id="ieqn35"><mml:msubsup><mml:mrow><mml:mi>&#x03B1;</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> is the fraction of patients who have both comorbidities <inline-formula><mml:math id="ieqn36"><mml:mi>p</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn37"><mml:mi>q</mml:mi></mml:math></inline-formula> in cohort <inline-formula><mml:math id="ieqn38"><mml:mi>h</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="ieqn39"><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes the <inline-formula><mml:math id="ieqn40"><mml:mi>k</mml:mi></mml:math></inline-formula>th target. <inline-formula><mml:math id="ieqn41"><mml:mi>B</mml:mi></mml:math></inline-formula> denotes a prespecified set of clinically prevalent and etiologically relevant comorbidities that are used to define the graph nodes for parsimony and interpretability. <inline-formula><mml:math id="ieqn42"><mml:mo>[</mml:mo><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:math></inline-formula> calculates a parametrized function, where <inline-formula><mml:math id="ieqn43"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes the <inline-formula><mml:math id="ieqn44"><mml:mi>j</mml:mi></mml:math></inline-formula>-th comorbidity node in the select set of <inline-formula><mml:math id="ieqn45"><mml:mi>B</mml:mi></mml:math></inline-formula> comorbidities. The parameters in <inline-formula><mml:math id="ieqn46"><mml:mo>[</mml:mo><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:math></inline-formula> were learned by minimizing <inline-formula><mml:math id="ieqn47"><mml:mrow><mml:msub><mml:mo stretchy="false">&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mrow><mml:msub><mml:mo stretchy="false">&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mtext>-</mml:mtext><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> over the training set. Once learned, a cohort-conditional matrix <inline-formula><mml:math id="ieqn48"><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>K</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> is constructed, where each entry <inline-formula><mml:math id="ieqn49"><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> represents an IF score (a scalar) for comorbidity <inline-formula><mml:math id="ieqn50"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and target <inline-formula><mml:math id="ieqn51"><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, calculated for cohort <inline-formula><mml:math id="ieqn52"><mml:mi>h</mml:mi></mml:math></inline-formula>. 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:</p><disp-formula id="E14"><label>(3)</label><mml:math id="eqn4"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msubsup><mml:mi>w</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder><mml:mi>C</mml:mi><mml:mi>I</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>S</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where each edge in <inline-formula><mml:math id="ieqn53"><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> reflects the aggregate, multitask synergy of a specific disease pair.</p></sec><sec id="s2-4"><title>Individual-Level Graph Representation Learning</title><p>With graph <inline-formula><mml:math id="ieqn54"><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, we applied Node2Vec [<xref ref-type="bibr" rid="ref88">88</xref>] to represent nodes and edges in a way that preserves both local and global disease relationships. For each disease <inline-formula><mml:math id="ieqn55"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> in graph <inline-formula><mml:math id="ieqn56"><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, Node2Vec outputs an embedding vector <inline-formula><mml:math id="ieqn57"><mml:msub><mml:mrow><mml:mi>&#x03D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mtext> </mml:mtext></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>v</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula>. To account for disease temporal dynamics at the patient level, we constructed individual-level embeddings:</p><disp-formula>,<label>(4)</label><mml:math id="eqn5"><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:msub><mml:mrow><mml:mi>&#x03D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mtext> </mml:mtext></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></disp-formula><p>where <inline-formula><mml:math id="ieqn58"><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the individual-level embedding of comorbidity <inline-formula><mml:math id="ieqn59"><mml:mi>j</mml:mi></mml:math></inline-formula> for patient <inline-formula><mml:math id="ieqn60"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula><mml:math id="ieqn61"><mml:msub><mml:mrow><mml:mi>&#x03B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> 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.</p><p>As broad demographic trends, such as age-gender strata and overall disease impact, modulate decompensation risk beyond any single comorbidity, we endowed each cohort <inline-formula><mml:math id="ieqn62"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> with a compact &#x201C;group fingerprint&#x201D; <inline-formula><mml:math id="ieqn63"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>m</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi>R</mml:mi><mml:mrow><mml:mi>u</mml:mi></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, obtained by applying principal component analysis (PCA) to the V-dimensional Node2Vec space:</p><disp-formula id="E5"><label>(5)</label><mml:math id="eqn6"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>m</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mtext>=</mml:mtext><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mi mathvariant="normal">&#x22A4;</mml:mi></mml:mrow></mml:msup><mml:munder><mml:msub><mml:mi>&#x03D5;</mml:mi><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>_</mml:mo></mml:munder><mml:mo>,</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>m</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi>R</mml:mi><mml:mrow><mml:mi>u</mml:mi></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><disp-formula id="E6"><label>(6)</label><mml:math id="eqn7"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:munder><mml:msub><mml:mrow><mml:mi>&#x03D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>_</mml:mo></mml:munder><mml:mtext>=</mml:mtext><mml:mfrac><mml:mn>1</mml:mn><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mfrac><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x03D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:munder><mml:msub><mml:mrow><mml:mi>&#x03D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>_</mml:mo></mml:munder><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi>R</mml:mi><mml:mrow><mml:mi>v</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <inline-formula><mml:math id="ieqn64"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>U</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi>R</mml:mi><mml:mrow><mml:mi>v</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>u</mml:mi></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> is the matrix of top-<inline-formula><mml:math id="ieqn65"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>u</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> PCA eigenvectors, <inline-formula><mml:math id="ieqn66"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:munder><mml:msub><mml:mi>&#x03D5;</mml:mi><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>_</mml:mo></mml:munder></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> is cohort <inline-formula><mml:math id="ieqn67"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>h</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>&#x2019;s mean node representation, and <inline-formula><mml:math id="ieqn68"><mml:msub><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the total number of important comorbidities in cohort <inline-formula><mml:math id="ieqn69"><mml:mi>h</mml:mi></mml:math></inline-formula>. <inline-formula><mml:math id="ieqn70"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>m</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> offers a low-rank projection that can reduce noise, curb overparameterization, and provide the network with a succinct summary of cohort-wide factors [<xref ref-type="bibr" rid="ref89">89</xref>], which individual-level embeddings alone cannot encode (eg, shared lifestyle and care access patterns).</p><p>We then concatenated patients&#x2019; individual-level embedding <inline-formula><mml:math id="ieqn71"><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> with a group fingerprint <inline-formula><mml:math id="ieqn72"><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>m</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> to form a combined context tensor.</p><disp-formula id="E7"> <label>(7)</label><mml:math id="eqn8"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mo>;</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="normal">e</mml:mi><mml:mi mathvariant="normal">m</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>v</mml:mi><mml:mo stretchy="false">~</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="double-struck">R</mml:mi></mml:mrow><mml:mrow><mml:mtext>&#x00A0;</mml:mtext><mml:mi>v</mml:mi><mml:mo>+</mml:mo><mml:mi>u</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>V</mml:mi><mml:mo stretchy="false">~</mml:mo></mml:mover></mml:mrow><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>v</mml:mi><mml:mo stretchy="false">~</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <inline-formula><mml:math id="ieqn73"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mo>~</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represents the concatenated context tensor for patient <inline-formula><mml:math id="ieqn74"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula><mml:math id="ieqn75"><mml:mi>B</mml:mi></mml:math></inline-formula> denotes the total number of comorbidities in <inline-formula><mml:math id="ieqn76"><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>. This effort integrates both individual disease dynamics and group-level characteristics, thus providing a more comprehensive representation of each patient&#x2019;s profile.</p><p>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. <xref ref-type="fig" rid="figure2">Figure 2</xref> presents the pipeline of patient embedding learning and use, which comprises <inline-formula><mml:math id="ieqn77"><mml:mi>I</mml:mi><mml:mi>F</mml:mi></mml:math></inline-formula> score learning, subgroup graph constructions, and individual-level embedding generation, which jointly support downstream prediction tasks.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Infographic depiction of patient embedding learning and use module, which takes patient data as inputs and transforms them to embeddings using a cohort-level graph. CIS: condition impact score; IF: influence factor.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e91693_fig02.png"/></fig></sec><sec id="s2-5"><title>Multitask Learning</title><p>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 [<xref ref-type="bibr" rid="ref28">28</xref>]. 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 [<xref ref-type="bibr" rid="ref90">90</xref>,<xref ref-type="bibr" rid="ref91">91</xref>]. We construct an input<inline-formula><mml:math id="ieqn78"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mstyle mathsize="1em"><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>A</mml:mi><mml:mi>G</mml:mi><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi><mml:mi>E</mml:mi><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:msub><mml:mrow><mml:mi>m</mml:mi><mml:mi>e</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>d</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mover><mml:mi>v</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> for the multitask prediction component, which contains patient <inline-formula><mml:math id="ieqn79"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>&#x2019;s demographics, comorbidities, medications, and the learned patient context vector. <inline-formula><mml:math id="ieqn80"><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is passed to a fully connected layer and converted to a latent vector <inline-formula><mml:math id="ieqn81"><mml:mi>E</mml:mi></mml:math></inline-formula>:</p><disp-formula id="E8"><label>(8)</label><mml:math id="eqn9"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mi>e</mml:mi><mml:mi>L</mml:mi><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>W</mml:mi><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mtext>+</mml:mtext><mml:mi>b</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>The multitask prediction component fuses the tabular latent vector with the personalized graph representation into a single context vector <inline-formula><mml:math id="ieqn82"><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and then applies multihead self-attention to obtain an attended representation for prediction.</p><disp-formula><label>(9)</label><mml:math id="eqn10"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mtable rowspacing="3pt" columnspacing="1em" displaystyle="true"><mml:mtr><mml:mtd><mml:msub><mml:mi>c</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mtext>graph</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>V</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mi>i</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msubsup><mml:mi>E</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mtext>MultiHeadAttention</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mi>W</mml:mi><mml:mi>Q</mml:mi></mml:msup><mml:msub><mml:mi>c</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msup><mml:mi>W</mml:mi><mml:mi>K</mml:mi></mml:msup><mml:msub><mml:mi>c</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msup><mml:mi>W</mml:mi><mml:mi>V</mml:mi></mml:msup><mml:msub><mml:mi>c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p><inline-formula><mml:math id="ieqn83"><mml:mi>w</mml:mi><mml:mi>h</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:msub><mml:mrow><mml:mtext> </mml:mtext><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mtext>graph</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>&#x22C5;</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mtext> </mml:mtext></mml:math></inline-formula> is the graph representation module mapping the per-disease context <inline-formula><mml:math id="ieqn84"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mo>~</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> to a fixed-length vector, and <inline-formula><mml:math id="ieqn85"><mml:msubsup><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>`</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is input to a fully connected layer to produce a shared representation (task-specific heads):</p><disp-formula><label>(10)</label><mml:math id="eqn11"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mi>e</mml:mi><mml:mi>L</mml:mi><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>L</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>a</mml:mi><mml:mi>r</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>E</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>A linear head predicts mortality as an auxiliary task. A shared multilayer perceptron head takes the concatenated vector of <inline-formula><mml:math id="ieqn86"><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext> </mml:mtext><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and predicted death probability <inline-formula><mml:math id="ieqn87"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>DEADT</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> as input and projects it to logits for ascites, variceal bleeding, HE, and HRS. For patient <inline-formula><mml:math id="ieqn88"><mml:mi>i</mml:mi></mml:math></inline-formula> and task <inline-formula><mml:math id="ieqn89"><mml:mi>k</mml:mi></mml:math></inline-formula>, we computed the following:</p><disp-formula id="E11"><label>(11)</label><mml:math id="eqn12"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mtable rowspacing="3pt" columnspacing="1em" displaystyle="true"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mover><mml:mi>y</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>DEADT</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mi>w</mml:mi><mml:mrow><mml:mtext>death</mml:mtext></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x22A4;</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>refined</mml:mtext></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mtext>death</mml:mtext></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>DEADT</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>&#x03C3;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>y</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>DEADT</mml:mtext></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover><mml:mi>y</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">A</mml:mi><mml:mi mathvariant="normal">S</mml:mi><mml:mi mathvariant="normal">C</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>y</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">V</mml:mi><mml:mi mathvariant="normal">A</mml:mi><mml:mi mathvariant="normal">R</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>y</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">E</mml:mi><mml:mi mathvariant="normal">N</mml:mi><mml:mi mathvariant="normal">C</mml:mi><mml:mi mathvariant="normal">E</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>y</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">H</mml:mi><mml:mi mathvariant="normal">E</mml:mi><mml:mi mathvariant="normal">P</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mi mathvariant="normal">a</mml:mi><mml:mi mathvariant="normal">i</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">r</mml:mi><mml:mi mathvariant="normal">e</mml:mi><mml:mi mathvariant="normal">f</mml:mi><mml:mi mathvariant="normal">i</mml:mi><mml:mi mathvariant="normal">n</mml:mi><mml:mi mathvariant="normal">e</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mo>;</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">E</mml:mi><mml:mi mathvariant="normal">A</mml:mi><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>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 <inline-formula><mml:math id="ieqn90"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> 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.</p><p>The proposed method was trained with binary cross-entropy (BCE) on each target <inline-formula><mml:math id="ieqn91"><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>:</p><disp-formula>,<label>(12)</label><mml:math id="eqn13"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mtable rowspacing="3pt" columnspacing="1em" displaystyle="true"><mml:mtr><mml:mtd><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>total</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mtext>ASCT,VART,ENCET,HEPT</mml:mtext><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mrow></mml:munder><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>DEADT</mml:mtext></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mtext>BCE</mml:mtext><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x03C9;</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover><mml:mi>y</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>&#x03BB;</mml:mi><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>l</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>&#x2223;</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>h</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>DEADT</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mtext>BCE</mml:mtext></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover><mml:mi>y</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>DEADT</mml:mtext></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>DEADT</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <inline-formula><mml:math id="ieqn92"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>C</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is a BCE loss, <inline-formula><mml:math id="ieqn93"><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the IF score measuring the influence of patient <inline-formula><mml:math id="ieqn94"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>&#x2019;s comorbidity to target <inline-formula><mml:math id="ieqn95"><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula><mml:math id="ieqn96"><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is a binary indicator of each comorbidity. <inline-formula><mml:math id="ieqn97"><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:msubsup><mml:mo stretchy="false">&#x2211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:mi>I</mml:mi><mml:mi>F</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>.</mml:mo><mml:mo>,</mml:mo><mml:mo>.</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> serves as a scaling factor, adjusted by the influence of comorbidity, with <inline-formula><mml:math id="ieqn98"><mml:mi>&#x03BB;</mml:mi></mml:math></inline-formula> 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 [<xref ref-type="bibr" rid="ref92">92</xref>] 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 <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p></sec><sec id="s2-6"><title>Data and Evaluation Design</title><p>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 (<xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>). 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 [<xref ref-type="bibr" rid="ref93">93</xref>]. <xref ref-type="table" rid="table2">Table 2</xref> 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.</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Descriptive statistics of the sample (N=29,915) by outcome class, with symptom rows (ascites, varices, HE, and HRS) indicating patients with distinct, not mutually exclusive symptoms.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="top" rowspan="2">Outcome class</td><td align="left" valign="top" rowspan="2">Age (y), mean (SD)</td><td align="left" valign="top" colspan="2">Sex, n (%)</td><td align="left" valign="top" colspan="2">Prior liver condition, n (%)</td></tr><tr><td align="left" valign="top">Male</td><td align="left" valign="top">Female</td><td align="left" valign="top">Yes</td><td align="left" valign="top">No</td></tr></thead><tbody><tr><td align="left" valign="top">Ascites</td><td align="char" char="." valign="top">56.72 (12.72)</td><td align="left" valign="top">3398 (66.65)</td><td align="left" valign="top">1700 (33.35)</td><td align="left" valign="top">3864 (75.79)</td><td align="left" valign="top">1234 (24.21)</td></tr><tr><td align="left" valign="top">Varices</td><td align="char" char="." valign="top">55.88 (12.58)</td><td align="left" valign="top">4382 (69.13)</td><td align="left" valign="top">1957 (30.87)</td><td align="left" valign="top">4010 (63.26)</td><td align="left" valign="top">2329 (36.74)</td></tr><tr><td align="left" valign="top">HE<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup></td><td align="char" char="." valign="top">56.84 (12.95)</td><td align="left" valign="top">2916 (67.69)</td><td align="left" valign="top">1392 (32.31)</td><td align="left" valign="top">3391 (78.71)</td><td align="left" valign="top">917 (21.29)</td></tr><tr><td align="left" valign="top">HRS<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup></td><td align="char" char="." valign="top">57.62 (13.02)</td><td align="left" valign="top">183 (67.03)</td><td align="left" valign="top">90 (32.97)</td><td align="left" valign="top">239 (87.56)</td><td align="left" valign="top">34 (12.44)</td></tr><tr><td align="left" valign="top">No complication<sup><xref ref-type="table-fn" rid="table2fn3">c</xref></sup></td><td align="char" char="." valign="top">53.12 (14.43)</td><td align="left" valign="top">14,207 (68.91)</td><td align="left" valign="top">6409 (31.09)</td><td align="left" valign="top">9559 (46.37)</td><td align="left" valign="top">11,057 (53.63)</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>HE: hepatic encephalopathy.</p></fn><fn id="table2fn2"><p><sup>b</sup>HRS: hepatorenal syndrome.</p></fn><fn id="table2fn3"><p><sup>c</sup>Includes patients without any decompensation symptoms.</p></fn></table-wrap-foot></table-wrap><p>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 [<xref ref-type="bibr" rid="ref94">94</xref>]. We repeated this procedure 10 times, using a different random seed each time. We report each investigated method&#x2019;s performance averaged across the 10 trials. We also conducted 2-tailed <italic>t</italic> 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&#x2019;s predictive utilities than recall and precision [<xref ref-type="bibr" rid="ref95">95</xref>]. 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 <italic>F</italic><sub>1</sub>-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.</p><p>We considered 12 prevalent methods for benchmarks. Some methods can be applied for both single-task and multitask predictions, so we used &#x201C;multimethod&#x201D; to refer to the multitask setting. These benchmarks include 4 conventional machine learning methods (XGB, ADAB, RF, and linear regression), 2 deep learning&#x2013;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 <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>.</p><p>For the proposed method, we created different demographic patient cohorts. In line with Liu et al [<xref ref-type="bibr" rid="ref37">37</xref>], we stratified patients by gender and age (&#x2264;40, &#x003E;40 and &#x2264;60, &#x003E;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 [<xref ref-type="bibr" rid="ref96">96</xref>]. <xref ref-type="fig" rid="figure3">Figure 3</xref> 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 <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>. 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.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>A partial, group-specific comorbidity graph for a patient subgroup, with graphs generated from training data and displayed links with weights &#x003E;0.05 for readability. CC: chronic complications; HBV: hepatitis B virus; HCV: hepatitis C virus; MA: any malignancy, excluding skin cancer; MLD: mild liver disease; MST: metastatic solid tumor; UVH: unidentified viral hepatitis.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e91693_fig03.png"/></fig></sec><sec id="s2-7"><title>Ethical Considerations</title><p>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.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Predictive Performance of Each Investigated Method</title><p><xref ref-type="table" rid="table3">Table 3</xref> 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&#x2019; 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 <italic>F</italic>-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&#x2019; deterioration from the compensated to the decompensated stage.</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Each investigated method&#x2019;s aggregate performance across main prediction tasks (varices, ascites, hepatic encephalopathy, and hepatorenal syndrome predictions) over 10 trials using random seeds.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Method</td><td align="left" valign="bottom">Precision, mean (95% CI)</td><td align="left" valign="bottom">Recall, mean (95% CI)</td><td align="left" valign="bottom"><italic>F</italic>-measure, mean (95% CI)</td><td align="left" valign="bottom">AUC<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup>, mean (95% CI)</td></tr></thead><tbody><tr><td align="left" valign="top">XGB<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">0.668 (0.640-0.696)</td><td align="left" valign="top">0.548 (0.540-0.556)</td><td align="left" valign="top">0.546 (0.535-0.556)</td><td align="left" valign="top">0.821 (0.815-0.827)</td></tr><tr><td align="left" valign="top">ADAB<sup><xref ref-type="table-fn" rid="table3fn3">c</xref></sup></td><td align="left" valign="top">0.675 (0.644-0.706)</td><td align="left" valign="top">0.553 (0.535-0.570)</td><td align="left" valign="top">0.508 (0.502-0.513)</td><td align="left" valign="top">0.813 (0.809-0.818)</td></tr><tr><td align="left" valign="top">RF<sup><xref ref-type="table-fn" rid="table3fn4">d</xref></sup></td><td align="left" valign="top">0.671 (0.641-0.701)</td><td align="left" valign="top">0.569 (0.546-0.592)</td><td align="left" valign="top">0.510 (0.504-0.516)</td><td align="left" valign="top">0.820 (0.815-0.824)</td></tr><tr><td align="left" valign="top">LR<sup><xref ref-type="table-fn" rid="table3fn5">e</xref></sup></td><td align="left" valign="top">0.638 (0.614-0.662)</td><td align="left" valign="top">0.529 (0.524-0.534)</td><td align="left" valign="top">0.519 (0.513-0.525)</td><td align="left" valign="top">0.798 (0.791-0.806)</td></tr><tr><td align="left" valign="top">Single-FCN<sup><xref ref-type="table-fn" rid="table3fn6">f</xref></sup></td><td align="left" valign="top">0.626 (0.601-0.650)</td><td align="left" valign="top">0.642 (0.624-0.660)</td><td align="left" valign="top">0.595 (0.573-0.618)</td><td align="left" valign="top">0.807 (0.800-0.814)</td></tr><tr><td align="left" valign="top">Single-CNN<sup><xref ref-type="table-fn" rid="table3fn7">g</xref></sup></td><td align="left" valign="top">0.642 (0.617-0.666)</td><td align="left" valign="top">0.567 (0.546-0.587)</td><td align="left" valign="top">0.525 (0.516-0.534)</td><td align="left" valign="top">0.802 (0.795-0.809)</td></tr><tr><td align="left" valign="top">Single-TCN<sup><xref ref-type="table-fn" rid="table3fn8">h</xref></sup></td><td align="left" valign="top">0.646 (0.618-0.674)</td><td align="left" valign="top">0.551 (0.538-0.563)</td><td align="left" valign="top">0.554 (0.539-0.568)</td><td align="left" valign="top">0.809 (0.802-0.816)</td></tr><tr><td align="left" valign="top">Single-LSTM<sup><xref ref-type="table-fn" rid="table3fn9">i</xref></sup></td><td align="left" valign="top">0.633 (0.608-0.658)</td><td align="left" valign="top">0.540 (0.530-0.551)</td><td align="left" valign="top">0.514 (0.505-0.523)</td><td align="left" valign="top">0.781 (0.771-0.792)</td></tr><tr><td align="left" valign="top">Multi-FCN</td><td align="left" valign="top">0.538 (0.504-0.573)</td><td align="left" valign="top">0.510 (0.505-0.514)</td><td align="left" valign="top">0.475 (0.466-0.483)</td><td align="left" valign="top">0.777 (0.766-0.788)</td></tr><tr><td align="left" valign="top">Multi-CNN</td><td align="left" valign="top">0.617 (0.591-0.642)</td><td align="left" valign="top">0.522 (0.516-0.527)</td><td align="left" valign="top">0.504 (0.494-0.513)</td><td align="left" valign="top">0.798 (0.790-0.806)</td></tr><tr><td align="left" valign="top">Multi-TCN</td><td align="left" valign="top">0.588 (0.572-0.603)</td><td align="left" valign="top">0.588 (0.569-0.607)</td><td align="left" valign="top">0.576 (0.560-0.591)</td><td align="left" valign="top">0.738 (0.732-0.744)</td></tr><tr><td align="left" valign="top">Multi-LSTM</td><td align="left" valign="top">0.576 (0.544-0.608)</td><td align="left" valign="top">0.515 (0.509-0.520)</td><td align="left" valign="top">0.488 (0.479-0.497)</td><td align="left" valign="top">0.739 (0.729-0.750)</td></tr><tr><td align="left" valign="top">Proposed method</td><td align="left" valign="top">0.663 (0.659-0.665)</td><td align="left" valign="top">0.741 (0.732-0.750)</td><td align="left" valign="top">0.678 (0.676-0.682)</td><td align="left" valign="top">0.871 (0.869-0.874)</td></tr></tbody></table><table-wrap-foot><fn id="table3fn1"><p><sup>a</sup>AUC: area under the curve.</p></fn><fn id="table3fn2"><p><sup>b</sup>XGB: extreme gradient boosting.</p></fn><fn id="table3fn3"><p><sup>c</sup>ADAB: adaptive boosting.</p></fn><fn id="table3fn4"><p><sup>d</sup>RF: random forest.</p></fn><fn id="table3fn5"><p><sup>e</sup>LR: linear regression.</p></fn><fn id="table3fn6"><p><sup>f</sup>FCN: fully connected network.</p></fn><fn id="table3fn7"><p><sup>g</sup>CNN: convolutional neural network.</p></fn><fn id="table3fn8"><p><sup>h</sup>TCN: temporal convolutional network.</p></fn><fn id="table3fn9"><p><sup>i</sup>LSTM: long short-term memory.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-2"><title>Prediction Performance for Each Decompensation Symptom</title><p>We present the respective methods&#x2019; predictive performance for each decompensation symptom in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>. As shown, the proposed method achieved the highest AUC values across all symptoms and had the highest recall and <italic>F</italic><sub>1</sub>-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<bold>-</bold>TCN). Its <italic>F</italic>-measure value was 0.518 (SD 0.018), comparable to that of the best-performing benchmark (0.533, SD 0.011, Single<bold>-</bold>LSTM). For varices, the proposed method had an <italic>F</italic>-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 <italic>F</italic>-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 <italic>F</italic>-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&#x2019;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).</p><p>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 <italic>F</italic>-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 <italic>F</italic>-measure value comparable to the best-performing benchmark. The prediction utilities, overall or for each decompensation symptom, affirm the proposed method&#x2019;s greater efficacy for identifying patients at higher risk of decompensated cirrhosis than existing methods.</p></sec><sec id="s3-3"><title>Ablation Analysis</title><p>We conducted an ablation analysis to examine each important component&#x2019;s contribution to the proposed method&#x2019;s predictive utilities. The ablation considered 5 models: M4T, M4<italic>t</italic>+AUX, M4<italic>t</italic>+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.</p><p><xref ref-type="table" rid="table4">Table 4</xref> presents the respective models&#x2019; 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&#x2019;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.</p><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>Ablation analysis of different models&#x2019; AUC values averaged across different main prediction tasks (varices, ascites, hepatic encephalopathy, and hepatorenal syndromes).</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Model</td><td align="left" valign="bottom">AUC<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup> value across symptoms</td></tr></thead><tbody><tr><td align="left" valign="top">M4T</td><td align="left" valign="top">0.803</td></tr><tr><td align="left" valign="top">M4<italic>t</italic>+AUX</td><td align="left" valign="top">0.811</td></tr><tr><td align="left" valign="top">M4<italic>t</italic>+AUX+Graph</td><td align="left" valign="top">0.839</td></tr><tr><td align="left" valign="top">M4<italic>t</italic>+AUX+Graph+Personal</td><td align="left" valign="top">0.861</td></tr><tr><td align="left" valign="top">M4<italic>t</italic>+AUX+Graph+Personal+Loss (complete method)</td><td align="left" valign="top">0.871</td></tr></tbody></table><table-wrap-foot><fn id="table4fn1"><p><sup>a</sup>AUC: area under the curve.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-4"><title>Interpretability</title><p>Beyond prediction performance, the proposed method&#x2019;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 [<xref ref-type="bibr" rid="ref97">97</xref>], 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.</p><p><xref ref-type="fig" rid="figure4">Figure 4</xref> presents exemplary visualizations of a patient&#x2019;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 &#x003E;40 and &#x2264;60 years, and having prior liver issues), where edges are weighted by group-level disease co-occurrence (IF&#x00D7;group multiplier). The right panel depicts an individual patient&#x2019;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&#x2019;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&#x2019;s estimates for clinical decision-making and patient management.</p><p>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. <xref ref-type="fig" rid="figure5">Figure 5</xref> illustrates the proposed method&#x2019;s predictions via SHAP-enabled visualizations. For consistency of interpretation, we used the same illustrative patient in <xref ref-type="fig" rid="figure4">Figures 4</xref><xref ref-type="fig" rid="figure5"/><xref ref-type="fig" rid="figure6"/>-<xref ref-type="fig" rid="figure7">7</xref>, who was randomly selected from testing data and had at least one positive decompensation symptom. As shown, top predictors pertain to the patient&#x2019;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 <xref ref-type="fig" rid="figure5">Figure 5</xref>. The visualization of feature importance reveals influential factors and helps physicians better interpret the proposed method&#x2019;s estimates at the patient level.</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>An exemplary patient reference (ref) cohort graph of comorbidities with condition impact scores (CIS; left) and an individual patient&#x2019;s graph adjusted by chronicity (chron; right). CC: chronic complications; HBV: hepatitis B virus; HCV: hepatitis C virus; IF: influence factor; MA: any malignancy, excluding skin cancer; MLD: mild liver disease; MST: metastatic solid tumor; ref: reference; UVH: unidentified viral hepatitis.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e91693_fig04.png"/></fig><fig position="float" id="figure5"><label>Figure 5.</label><caption><p>Shapley Additive Explanations (SHAP)&#x2013;based feature attribution for a patient for each decompensation symptom, which conveys each comorbidity&#x2019;s importance for different decompensation symptom estimates. CC: chronic complications; CHF: congestive heart failure; HBV: hepatitis B virus; HCV: hepatitis C virus; HE: hepatic encephalopathy; HRS: hepatorenal syndrome; MA: any malignancy, excluding skin cancer; MI: myocardial infarction; MLD: mild liver disease; MST: metastatic solid tumor; PVD: peripheral vascular disease.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e91693_fig05.png"/></fig><fig position="float" id="figure6"><label>Figure 6.</label><caption><p>Counterfactual (cf) risk attribution for patient disease trajectories. CC: chronic complications; HBV: hepatitis B virus; HE: hepatic encephalopathy; HRS: hepatorenal syndrome; MLD: mild liver disease.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e91693_fig06.png"/></fig><fig position="float" id="figure7"><label>Figure 7.</label><caption><p>Patient-level intertask association map where nodes denote outcomes (ascites, varices, HE, HRS, and death). A directed edge &#x1D434; &#x2192; &#x1D435; reflects the change &#x1D6E5;&#x1D45D;<sub>&#x1D434;&#x2192;&#x1D435;</sub> in destination probability when source probability &#x1D45D;(&#x1D434;) is replaced by its training-cohort median, with all other outcome probabilities fixed. Edge labels &#x1D6E5;&#x1D45D;<sub>&#x1D434;&#x2192;&#x1D435;</sub> are shown in percentage points, and edge width is proportional to |&#x1D6E5;&#x1D45D;<sub>&#x1D434;&#x2192;&#x1D435;</sub>|. Blue edges indicate &#x1D6E5;&#x1D45D;<sub>&#x1D434;&#x2192;&#x1D435;</sub>&#x003C;0, and orange edges signify &#x1D6E5;&#x1D45D;<sub>&#x1D434;&#x2192;&#x1D435;</sub>&#x003E;0. Only edges with significant (meaningful) impact are displayed. Node outline color indicates prediction correctness (green, correct; red, incorrect), and a yellow halo indicates true label=1. HE: hepatic encephalopathy; HRS: hepatorenal syndrome; pred: predicted label.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e91693_fig07.png"/></fig><p>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&#x2019;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&#x2019;s binary indicator, duration feature, and disease-specific node embedding to 0, with all remaining features and embeddings intact. For each removed comorbidity <inline-formula><mml:math id="ieqn99"><mml:mi>d</mml:mi></mml:math></inline-formula> and outcome <inline-formula><mml:math id="ieqn100"><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, we recomputed risks and calculated the change of risk <inline-formula><mml:math id="ieqn101"><mml:msub><mml:mrow><mml:mi>&#x0394;</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> as follows.</p><disp-formula id="E13"><label>(13)</label><mml:math id="eqn14"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi mathvariant="normal">&#x0394;</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:mi>p</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mtext>comorbidity</mml:mtext><mml:mi>d</mml:mi><mml:mtext>removed</mml:mtext></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mtext>-</mml:mtext><mml:mi>p</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mtext>comorbidity</mml:mtext><mml:mi>d</mml:mi><mml:mtext>present</mml:mtext></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>A <inline-formula><mml:math id="ieqn102"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi mathvariant="normal">&#x0394;</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo><mml:mn>0</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> means that removal of <inline-formula><mml:math id="ieqn103"><mml:mi>d</mml:mi></mml:math></inline-formula> increases the estimated probability of decompensation symptom <inline-formula><mml:math id="ieqn104"><mml:mi>k</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="ieqn105"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi mathvariant="normal">&#x0394;</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:mn>0</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> indicates a decrease in risk. <xref ref-type="fig" rid="figure6">Figure 6</xref> presents patient-level <inline-formula><mml:math id="ieqn106"><mml:msub><mml:mrow><mml:mi>&#x0394;</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> 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 <xref ref-type="fig" rid="figure6">Figure 6</xref>, removing MLD yields negative shifts across all outcomes (ascites: &#x2212;0.036; varices: &#x2212;0.008; HE: &#x2212;0.002; and HRS: &#x2212;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 (<inline-formula><mml:math id="ieqn107"><mml:mi>&#x0394;</mml:mi></mml:math></inline-formula>) in <xref ref-type="fig" rid="figure6">Figure 6</xref> were computed from calibrated probabilities.</p><p>We also examined the relationships among patient outcomes, mortality, and decompensation symptoms. <xref ref-type="fig" rid="figure7">Figure 7</xref> 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 <inline-formula><mml:math id="ieqn108"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>B</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>A</mml:mi><mml:mi>S</mml:mi><mml:mi>C</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>V</mml:mi><mml:mi>A</mml:mi><mml:mi>R</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>E</mml:mi><mml:mi>N</mml:mi><mml:mi>C</mml:mi><mml:mi>E</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>P</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:mi>E</mml:mi><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>T</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, we fit a destination-specific logistic regression stacker with estimated probabilities of all other outcomes, <inline-formula><mml:math id="ieqn109"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover><mml:mi>p</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mi>A</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi>A</mml:mi><mml:mi>S</mml:mi><mml:mi>C</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>V</mml:mi><mml:mi>A</mml:mi><mml:mi>R</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>E</mml:mi><mml:mi>N</mml:mi><mml:mi>C</mml:mi><mml:mi>E</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mi>E</mml:mi><mml:mi>P</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:mi>E</mml:mi><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>T</mml:mi><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mo>&#x2216;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi>B</mml:mi><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, and response <inline-formula><mml:math id="ieqn110"><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. Each stacker estimates <inline-formula><mml:math id="ieqn111"><mml:mi>P</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:mn>1</mml:mn><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:math></inline-formula> as a calibration and association layer over the proposed method&#x2019;s outputs. For each patient, we used <inline-formula><mml:math id="ieqn112"><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> to compute baseline stacked probabilities <inline-formula><mml:math id="ieqn113"><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mi>a</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, then replaced an <inline-formula><mml:math id="ieqn114"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> with its training-cohort median <inline-formula><mml:math id="ieqn115"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mo>~</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and kept all remaining predictors fixed to recompute <inline-formula><mml:math id="ieqn116"><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mi>f</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>. For each directed perturbation <inline-formula><mml:math id="ieqn117"><mml:mi>A</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>B</mml:mi></mml:math></inline-formula>, we defined the edge effect as <inline-formula><mml:math id="ieqn118"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mtext>=</mml:mtext><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mi>f</mml:mi></mml:mrow></mml:msubsup><mml:mtext>-</mml:mtext><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mi>a</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> (in percentage points [pp]). A positive <inline-formula><mml:math id="ieqn119"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> reveals that neutralizing source signal <inline-formula><mml:math id="ieqn120"><mml:mi>A</mml:mi></mml:math></inline-formula> increases destination risk <inline-formula><mml:math id="ieqn121"><mml:mi>B</mml:mi></mml:math></inline-formula>, whereas a negative <inline-formula><mml:math id="ieqn122"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> indicates a decrease. In <xref ref-type="fig" rid="figure7">Figure 7</xref>, 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.</p><p><xref ref-type="fig" rid="figure7">Figure 7</xref> 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: <inline-formula><mml:math id="ieqn123"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>S</mml:mi><mml:mi>C</mml:mi><mml:mi>T</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>D</mml:mi><mml:mi>E</mml:mi><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>=&#x2212;50.12 pp, <inline-formula><mml:math id="ieqn124"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>S</mml:mi><mml:mi>C</mml:mi><mml:mi>T</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>V</mml:mi><mml:mi>A</mml:mi><mml:mi>R</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>=&#x2212;42.60 pp, <inline-formula><mml:math id="ieqn125"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>S</mml:mi><mml:mi>C</mml:mi><mml:mi>T</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>E</mml:mi><mml:mi>N</mml:mi><mml:mi>C</mml:mi><mml:mi>E</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>=&#x2212;45.59 pp, <inline-formula><mml:math id="ieqn126"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mi>A</mml:mi><mml:mi>R</mml:mi><mml:mi>T</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>A</mml:mi><mml:mi>S</mml:mi><mml:mi>C</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>=&#x2212;32.50 pp, and <inline-formula><mml:math id="ieqn127"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mi>A</mml:mi><mml:mi>R</mml:mi><mml:mi>T</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>E</mml:mi><mml:mi>N</mml:mi><mml:mi>C</mml:mi><mml:mi>E</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>=&#x2212;45.91 pp. For example, <inline-formula><mml:math id="ieqn128"><mml:mi>&#x0394;</mml:mi><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mi>A</mml:mi><mml:mi>R</mml:mi><mml:mi>T</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>E</mml:mi><mml:mi>N</mml:mi><mml:mi>C</mml:mi><mml:mi>E</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>=&#x2212;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 (<inline-formula><mml:math id="ieqn129"><mml:mi>&#x0394;</mml:mi></mml:math></inline-formula>) in <xref ref-type="fig" rid="figure7">Figure 7</xref> were computed from calibrated probabilities.</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Findings</title><p>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 <italic>F</italic>-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.</p></sec><sec id="s4-2"><title>Comparison to Prior Work</title><p>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&#x2013;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.</p></sec><sec id="s4-3"><title>Limitations</title><p>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&#x2013;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&#x2019; 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&#x2013;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.</p></sec><sec id="s4-4"><title>Future Directions</title><p>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 [<xref ref-type="bibr" rid="ref38">38</xref>] or laboratory biomarkers and multimodal data (eg, medical imaging and clinical notes) could further enhance clinical values [<xref ref-type="bibr" rid="ref98">98</xref>]. 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&#x2019;s interpretability by incorporating intrinsically interpretable methods for increased reasoning and explanations, which can enhance transparency and physicians&#x2019; trust and clinical adoption [<xref ref-type="bibr" rid="ref99">99</xref>].</p></sec><sec id="s4-5"><title>Conclusions</title><p>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.</p></sec></sec></body><back><notes><sec><title>Generative AI Use</title><p>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.</p></sec><sec><title>Funding</title><p>This work has not received any funding or financial support.</p></sec><sec><title>Data Availability</title><p>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 [<xref ref-type="bibr" rid="ref100">100</xref>].</p></sec></notes><fn-group><fn fn-type="con"><p>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.</p></fn><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">ADAB</term><def><p>Adaptive Boosting (AdaBoost)</p></def></def-item><def-item><term id="abb2">AUC</term><def><p>area under the curve</p></def></def-item><def-item><term id="abb3">BCE</term><def><p>binary cross-entropy</p></def></def-item><def-item><term id="abb4">CIS</term><def><p>condition impact score</p></def></def-item><def-item><term id="abb5">CNN </term><def><p>convolutional neural network</p></def></def-item><def-item><term id="abb6">DNN</term><def><p>deep neural network</p></def></def-item><def-item><term id="abb7">EHR</term><def><p>electronic health record</p></def></def-item><def-item><term id="abb8">FCN </term><def><p>Fully Connected Neural Network</p></def></def-item><def-item><term id="abb9">GNN </term><def><p>graph neural network</p></def></def-item><def-item><term id="abb10">HBV </term><def><p>hepatitis B virus</p></def></def-item><def-item><term id="abb11">HCV </term><def><p>hepatitis C virus</p></def></def-item><def-item><term id="abb12">HE</term><def><p>hepatic encephalopathy</p></def></def-item><def-item><term id="abb13">HRS</term><def><p>hepatorenal syndrome</p></def></def-item><def-item><term id="abb14">IF </term><def><p>influence factor</p></def></def-item><def-item><term id="abb15">LSTM</term><def><p>long short-term memory</p></def></def-item><def-item><term id="abb16">M4T</term><def><p>Four-outcome Multitask Baseline Proposed Model</p></def></def-item><def-item><term id="abb17">MLD</term><def><p>mild liver disease</p></def></def-item><def-item><term id="abb18">PCA</term><def><p>principal component analysis</p></def></def-item><def-item><term id="abb19">pp</term><def><p>percentage point</p></def></def-item><def-item><term id="abb20">RF</term><def><p>random forest</p></def></def-item><def-item><term id="abb21">SHAP</term><def><p>Shapley Additive Explanations</p></def></def-item><def-item><term id="abb22">TCN</term><def><p>temporal convolutional neural network</p></def></def-item><def-item><term id="abb23">XGB</term><def><p>Extreme Gradient Boosting</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Schuppan</surname><given-names>D</given-names> </name><name name-style="western"><surname>Afdhal</surname><given-names>NH</given-names> </name></person-group><article-title>Liver cirrhosis</article-title><source>The Lancet</source><year>2008</year><month>03</month><volume>371</volume><issue>9615</issue><fpage>838</fpage><lpage>851</lpage><pub-id pub-id-type="doi">10.1016/S0140-6736(08)60383-9</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zipprich</surname><given-names>A</given-names> </name><name name-style="western"><surname>Garcia-Tsao</surname><given-names>G</given-names> </name><name name-style="western"><surname>Rogowski</surname><given-names>S</given-names> </name><name name-style="western"><surname>Fleig</surname><given-names>WE</given-names> </name><name name-style="western"><surname>Seufferlein</surname><given-names>T</given-names> </name><name name-style="western"><surname>Dollinger</surname><given-names>MM</given-names> </name></person-group><article-title>Prognostic indicators of survival in patients with compensated and decompensated cirrhosis</article-title><source>Liver Int</source><year>2012</year><month>10</month><volume>32</volume><issue>9</issue><fpage>1407</fpage><lpage>1414</lpage><pub-id pub-id-type="doi">10.1111/j.1478-3231.2012.02830.x</pub-id><pub-id pub-id-type="medline">22679906</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Holvast</surname><given-names>A</given-names> </name><name name-style="western"><surname>Verkade</surname><given-names>HJ</given-names> </name></person-group><person-group person-group-type="editor"><name name-style="western"><surname>D&#x2019;Antiga</surname><given-names>L</given-names> </name></person-group><article-title>Complications of liver cirrhosis</article-title><source>Pediatric Hepatology and Liver Transplantation</source><year>2019</year><publisher-name>Springer International Publishing</publisher-name><fpage>293</fpage><lpage>297</lpage><pub-id pub-id-type="doi">10.1007/978-3-319-96400-3_18</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Durand</surname><given-names>F</given-names> </name><name name-style="western"><surname>Valla</surname><given-names>D</given-names> </name></person-group><article-title>Assessment of prognosis of cirrhosis</article-title><source>Semin Liver Dis</source><year>2008</year><month>02</month><volume>28</volume><issue>1</issue><fpage>110</fpage><lpage>122</lpage><pub-id pub-id-type="doi">10.1055/s-2008-1040325</pub-id><pub-id pub-id-type="medline">18293281</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Delik</surname><given-names>A</given-names> </name><name name-style="western"><surname>&#x00DC;lger</surname><given-names>Y</given-names> </name></person-group><article-title>Treatment approach in patients with decompensated liver cirrhosis</article-title><source>Advances in Hepatology</source><year>2021</year><publisher-name>IntechOpen</publisher-name><pub-id pub-id-type="doi">10.5772/intechopen.96155</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Volk</surname><given-names>ML</given-names> </name><name name-style="western"><surname>Tocco</surname><given-names>RS</given-names> </name><name name-style="western"><surname>Bazick</surname><given-names>J</given-names> </name><name name-style="western"><surname>Rakoski</surname><given-names>MO</given-names> </name><name name-style="western"><surname>Lok</surname><given-names>AS</given-names> </name></person-group><article-title>Hospital readmissions among patients with decompensated cirrhosis</article-title><source>Am J Gastroenterol</source><year>2012</year><month>02</month><volume>107</volume><issue>2</issue><fpage>247</fpage><lpage>252</lpage><pub-id pub-id-type="doi">10.1038/ajg.2011.314</pub-id><pub-id pub-id-type="medline">21931378</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gin&#x00E8;s</surname><given-names>P</given-names> </name><name name-style="western"><surname>Krag</surname><given-names>A</given-names> </name><name name-style="western"><surname>Abraldes</surname><given-names>JG</given-names> </name><name name-style="western"><surname>Sol&#x00E0;</surname><given-names>E</given-names> </name><name name-style="western"><surname>Fabrellas</surname><given-names>N</given-names> </name><name name-style="western"><surname>Kamath</surname><given-names>PS</given-names> </name></person-group><article-title>Liver cirrhosis</article-title><source>The Lancet</source><year>2021</year><month>10</month><volume>398</volume><issue>10308</issue><fpage>1359</fpage><lpage>1376</lpage><pub-id pub-id-type="doi">10.1016/S0140-6736(21)01374-X</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gustot</surname><given-names>T</given-names> </name><name name-style="western"><surname>Stadlbauer</surname><given-names>V</given-names> </name><name name-style="western"><surname>Laleman</surname><given-names>W</given-names> </name><name name-style="western"><surname>Alessandria</surname><given-names>C</given-names> </name><name name-style="western"><surname>Thursz</surname><given-names>M</given-names> </name></person-group><article-title>Transition to decompensation and acute-on-chronic liver failure: role of predisposing factors and precipitating events</article-title><source>J Hepatol</source><year>2021</year><month>07</month><volume>75 Suppl 1</volume><fpage>S36</fpage><lpage>S48</lpage><pub-id pub-id-type="doi">10.1016/j.jhep.2020.12.005</pub-id><pub-id pub-id-type="medline">34039491</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Thiele</surname><given-names>M</given-names> </name><name name-style="western"><surname>Johansen</surname><given-names>S</given-names> </name><name name-style="western"><surname>Israelsen</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Noninvasive assessment of hepatic decompensation</article-title><source>Hepatology</source><year>2025</year><month>03</month><day>1</day><volume>81</volume><issue>3</issue><fpage>1019</fpage><lpage>1037</lpage><pub-id pub-id-type="doi">10.1097/HEP.0000000000000618</pub-id><pub-id pub-id-type="medline">37801593</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>D&#x2019;Amico</surname><given-names>G</given-names> </name><name name-style="western"><surname>Bernardi</surname><given-names>M</given-names> </name><name name-style="western"><surname>Angeli</surname><given-names>P</given-names> </name></person-group><article-title>Towards a new definition of decompensated cirrhosis</article-title><source>J Hepatol</source><year>2022</year><month>01</month><volume>76</volume><issue>1</issue><fpage>202</fpage><lpage>207</lpage><pub-id pub-id-type="doi">10.1016/j.jhep.2021.06.018</pub-id><pub-id pub-id-type="medline">34157322</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Addissouky</surname><given-names>TA</given-names> </name></person-group><article-title>Liver stiffness as a dynamic predictor of decompensation and mortality in alcohol-related liver disease</article-title><source>Discov Med</source><year>2024</year><month>11</month><volume>1</volume><issue>1</issue><fpage>96</fpage><pub-id pub-id-type="doi">10.1007/s44337-024-00083-x</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chon</surname><given-names>YE</given-names> </name><name name-style="western"><surname>Jung</surname><given-names>ES</given-names> </name><name name-style="western"><surname>Park</surname><given-names>JY</given-names> </name><etal/></person-group><article-title>The accuracy of noninvasive methods in predicting the development of hepatocellular carcinoma and hepatic decompensation in patients with chronic hepatitis B</article-title><source>J Clin Gastroenterol</source><year>2012</year><month>07</month><volume>46</volume><issue>6</issue><fpage>518</fpage><lpage>525</lpage><pub-id pub-id-type="doi">10.1097/MCG.0b013e31825079f1</pub-id><pub-id pub-id-type="medline">22688146</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Assefi</surname><given-names>M</given-names> </name></person-group><article-title>Comparison of the prognostic value of the Child Pugh and MELD scoring systems in cirrhosis -A systematic review</article-title><source>J Critical Care &#x0026; Emerg Med</source><year>2022</year><month>12</month><volume>1</volume><issue>4</issue><fpage>1</fpage><pub-id pub-id-type="doi">10.47363/JCCEM/2022(1)115</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Schneider</surname><given-names>ARP</given-names> </name><name name-style="western"><surname>Schneider</surname><given-names>CV</given-names> </name><name name-style="western"><surname>Schneider</surname><given-names>KM</given-names> </name><etal/></person-group><article-title>Early prediction of decompensation (EPOD) score: non-invasive determination of cirrhosis decompensation risk</article-title><source>Liver Int</source><year>2022</year><month>03</month><volume>42</volume><issue>3</issue><fpage>640</fpage><lpage>650</lpage><pub-id pub-id-type="doi">10.1111/liv.15161</pub-id><pub-id pub-id-type="medline">35007409</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Paukner</surname><given-names>M</given-names> </name><name name-style="western"><surname>Ladner</surname><given-names>DP</given-names> </name><collab>CAPriCORN Team</collab><name name-style="western"><surname>Zhao</surname><given-names>L</given-names> </name></person-group><article-title>Measuring disease burden with individual cumulative incidence in patients with cirrhosis</article-title><source>J Biomed Inform</source><year>2025</year><month>09</month><volume>169</volume><fpage>104883</fpage><pub-id pub-id-type="doi">10.1016/j.jbi.2025.104883</pub-id><pub-id pub-id-type="medline">40752671</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mostafa</surname><given-names>F</given-names> </name><name name-style="western"><surname>Hasan</surname><given-names>E</given-names> </name><name name-style="western"><surname>Williamson</surname><given-names>M</given-names> </name><name name-style="western"><surname>Khan</surname><given-names>H</given-names> </name></person-group><article-title>Statistical machine learning approaches to liver disease prediction</article-title><source>Livers</source><year>2021</year><month>12</month><volume>1</volume><issue>4</issue><fpage>294</fpage><lpage>312</lpage><pub-id pub-id-type="doi">10.3390/livers1040023</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ro&#x017E;man</surname><given-names>M</given-names> </name><name name-style="western"><surname>Ki&#x0161;i&#x0107;</surname><given-names>A</given-names> </name><name name-style="western"><surname>Ore&#x0161;ki</surname><given-names>D</given-names> </name></person-group><article-title>Comparative analysis of nonlinear models developed using machine learning algorithms</article-title><source>WSEAS TRANSACTIONS ON INFORMATION SCIENCE AND APPLICATIONS</source><year>2024</year><month>01</month><day>2</day><volume>21</volume><fpage>303</fpage><lpage>307</lpage><pub-id pub-id-type="doi">10.37394/23209.2024.21.29</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ravi</surname><given-names>D</given-names> </name><name name-style="western"><surname>Wong</surname><given-names>C</given-names> </name><name name-style="western"><surname>Deligianni</surname><given-names>F</given-names> </name><etal/></person-group><article-title>Deep learning for health informatics</article-title><source>IEEE J Biomed Health Inform</source><year>2017</year><month>01</month><volume>21</volume><issue>1</issue><fpage>4</fpage><lpage>21</lpage><pub-id pub-id-type="doi">10.1109/JBHI.2016.2636665</pub-id><pub-id pub-id-type="medline">28055930</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hama</surname><given-names>T</given-names> </name><name name-style="western"><surname>Alsaleh</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Allery</surname><given-names>F</given-names> </name><etal/></person-group><article-title>Enhancing patient outcome prediction through deep learning with sequential diagnosis codes from structured electronic health record data: systematic review</article-title><source>J Med Internet Res</source><year>2025</year><month>03</month><day>18</day><volume>27</volume><issue>1</issue><fpage>e57358</fpage><pub-id pub-id-type="doi">10.2196/57358</pub-id><pub-id pub-id-type="medline">40100249</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sasseville</surname><given-names>M</given-names> </name><name name-style="western"><surname>Ouellet</surname><given-names>S</given-names> </name><name name-style="western"><surname>Rh&#x00E9;aume</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Bias mitigation in primary health care artificial intelligence models: scoping review</article-title><source>J Med Internet Res</source><year>2025</year><month>01</month><day>7</day><volume>27</volume><issue>1</issue><fpage>e60269</fpage><pub-id pub-id-type="doi">10.2196/60269</pub-id><pub-id pub-id-type="medline">39773888</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hsu</surname><given-names>CY</given-names> </name><name name-style="western"><surname>Parikh</surname><given-names>ND</given-names> </name><name name-style="western"><surname>Huo</surname><given-names>TI</given-names> </name><name name-style="western"><surname>Tapper</surname><given-names>EB</given-names> </name></person-group><article-title>Comparison of seven noninvasive models for predicting decompensation and hospitalization in patients with cirrhosis</article-title><source>Dig Dis Sci</source><year>2021</year><month>12</month><volume>66</volume><issue>12</issue><fpage>4508</fpage><lpage>4517</lpage><pub-id pub-id-type="doi">10.1007/s10620-020-06763-9</pub-id><pub-id pub-id-type="medline">33387126</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Spann</surname><given-names>A</given-names> </name><name name-style="western"><surname>Yasodhara</surname><given-names>A</given-names> </name><name name-style="western"><surname>Kang</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Applying machine learning in liver disease and transplantation: a comprehensive review</article-title><source>Hepatology</source><year>2020</year><month>03</month><volume>71</volume><issue>3</issue><fpage>1093</fpage><lpage>1105</lpage><pub-id pub-id-type="doi">10.1002/hep.31103</pub-id><pub-id pub-id-type="medline">31907954</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Leiby</surname><given-names>BE</given-names> </name><name name-style="western"><surname>Ten Have</surname><given-names>TR</given-names> </name><name name-style="western"><surname>Lynch</surname><given-names>KG</given-names> </name><name name-style="western"><surname>Sammel</surname><given-names>MD</given-names> </name></person-group><article-title>Bayesian multivariate growth curve latent class models for mixed outcomes</article-title><source>Stat Med</source><year>2014</year><month>09</month><day>10</day><volume>33</volume><issue>20</issue><fpage>3434</fpage><lpage>3452</lpage><pub-id pub-id-type="doi">10.1002/sim.5596</pub-id><pub-id pub-id-type="medline">22961883</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Yu</surname><given-names>R</given-names> </name><name name-style="western"><surname>Zheng</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Zhang</surname><given-names>R</given-names> </name><name name-style="western"><surname>Jiang</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Poon</surname><given-names>CCY</given-names> </name></person-group><article-title>Using a multi-task recurrent neural network with attention mechanisms to predict hospital mortality of patients</article-title><source>IEEE J Biomed Health Inform</source><year>2020</year><month>02</month><volume>24</volume><issue>2</issue><fpage>486</fpage><lpage>492</lpage><pub-id pub-id-type="doi">10.1109/JBHI.2019.2916667</pub-id><pub-id pub-id-type="medline">31094697</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pai</surname><given-names>S</given-names> </name><name name-style="western"><surname>Bader</surname><given-names>GD</given-names> </name></person-group><article-title>Patient similarity networks for precision medicine</article-title><source>J Mol Biol</source><year>2018</year><month>09</month><day>14</day><volume>430</volume><issue>18 Pt A</issue><fpage>2924</fpage><lpage>2938</lpage><pub-id pub-id-type="doi">10.1016/j.jmb.2018.05.037</pub-id><pub-id pub-id-type="medline">29860027</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Laferri&#x00E8;re-Langlois</surname><given-names>P</given-names> </name><name name-style="western"><surname>Imrie</surname><given-names>F</given-names> </name><name name-style="western"><surname>Geraldo</surname><given-names>MA</given-names> </name><etal/></person-group><article-title>Novel preoperative risk stratification using digital phenotyping applying a scalable machine-learning approach</article-title><source>Anesth Analg</source><year>2024</year><month>07</month><day>1</day><volume>139</volume><issue>1</issue><fpage>174</fpage><lpage>185</lpage><pub-id pub-id-type="doi">10.1213/ANE.0000000000006753</pub-id><pub-id pub-id-type="medline">38051671</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sheng</surname><given-names>JQ</given-names> </name><name name-style="western"><surname>Hu</surname><given-names>PJH</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>X</given-names> </name><name name-style="western"><surname>Huang</surname><given-names>TS</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>YH</given-names> </name></person-group><article-title>Predictive analytics for care and management of patients with acute diseases: deep learning-based method to predict crucial complication phenotypes</article-title><source>J Med Internet Res</source><year>2021</year><month>02</month><day>12</day><volume>23</volume><issue>2</issue><fpage>e18372</fpage><pub-id pub-id-type="doi">10.2196/18372</pub-id><pub-id pub-id-type="medline">33576744</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Heo</surname><given-names>S</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>SS</given-names> </name><name name-style="western"><surname>Kim</surname><given-names>SY</given-names> </name><etal/></person-group><article-title>Prediction of decompensation and death in advanced chronic liver disease using deep learning analysis of gadoxetic acid-enhanced MRI</article-title><source>Korean J Radiol</source><year>2022</year><month>12</month><volume>23</volume><issue>12</issue><fpage>1269</fpage><lpage>1280</lpage><pub-id pub-id-type="doi">10.3348/kjr.2022.0494</pub-id><pub-id pub-id-type="medline">36447415</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Trebicka</surname><given-names>J</given-names> </name><name name-style="western"><surname>Macnaughtan</surname><given-names>J</given-names> </name><name name-style="western"><surname>Schnabl</surname><given-names>B</given-names> </name><name name-style="western"><surname>Shawcross</surname><given-names>DL</given-names> </name><name name-style="western"><surname>Bajaj</surname><given-names>JS</given-names> </name></person-group><article-title>The microbiota in cirrhosis and its role in hepatic decompensation</article-title><source>J Hepatol</source><year>2021</year><month>07</month><volume>75 Suppl 1</volume><issue>Suppl 1</issue><fpage>S67</fpage><lpage>S81</lpage><pub-id pub-id-type="doi">10.1016/j.jhep.2020.11.013</pub-id><pub-id pub-id-type="medline">34039493</pub-id></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hsieh</surname><given-names>MS</given-names> </name><name name-style="western"><surname>Cheng</surname><given-names>KC</given-names> </name><name name-style="western"><surname>Hsieh</surname><given-names>ML</given-names> </name><name name-style="western"><surname>Chiang</surname><given-names>JH</given-names> </name><name name-style="western"><surname>Hsieh</surname><given-names>VCR</given-names> </name></person-group><article-title>Mortality risk and decompensation in hospitalized patients with non-alcoholic liver cirrhosis: implications for disease management</article-title><source>Int J Environ Res Public Health</source><year>2021</year><month>01</month><day>12</day><volume>18</volume><issue>2</issue><fpage>606</fpage><pub-id pub-id-type="doi">10.3390/ijerph18020606</pub-id><pub-id pub-id-type="medline">33445719</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Idilman</surname><given-names>R</given-names> </name><name name-style="western"><surname>Aydogan</surname><given-names>M</given-names> </name><name name-style="western"><surname>Oruncu</surname><given-names>MB</given-names> </name><etal/></person-group><article-title>Natural history of cirrhosis: changing trends in etiology over the years</article-title><source>Dig Dis</source><year>2021</year><volume>39</volume><issue>4</issue><fpage>358</fpage><lpage>365</lpage><pub-id pub-id-type="doi">10.1159/000512746</pub-id><pub-id pub-id-type="medline">33142287</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Li</surname><given-names>M</given-names> </name><name name-style="western"><surname>Wei</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Su</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Changing spectrum and mortality disparities of etiology of liver cirrhosis in Beijing, China</article-title><source>J Med Virol</source><year>2024</year><month>01</month><volume>96</volume><issue>1</issue><fpage>e29405</fpage><pub-id pub-id-type="doi">10.1002/jmv.29405</pub-id><pub-id pub-id-type="medline">38235623</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tsochatzis</surname><given-names>EA</given-names> </name><name name-style="western"><surname>Bosch</surname><given-names>J</given-names> </name><name name-style="western"><surname>Burroughs</surname><given-names>AK</given-names> </name></person-group><article-title>Liver cirrhosis</article-title><source>The Lancet</source><year>2014</year><month>05</month><volume>383</volume><issue>9930</issue><fpage>1749</fpage><lpage>1761</lpage><pub-id pub-id-type="doi">10.1016/S0140-6736(14)60121-5</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gin&#x00E9;s</surname><given-names>P</given-names> </name><name name-style="western"><surname>Quintero</surname><given-names>E</given-names> </name><name name-style="western"><surname>Arroyo</surname><given-names>V</given-names> </name><etal/></person-group><article-title>Compensated cirrhosis: natural history and prognostic factors</article-title><source>Hepatology</source><year>1987</year><volume>7</volume><issue>1</issue><fpage>122</fpage><lpage>128</lpage><pub-id pub-id-type="doi">10.1002/hep.1840070124</pub-id></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Angeli</surname><given-names>P</given-names> </name><name name-style="western"><surname>Bernardi</surname><given-names>M</given-names> </name><name name-style="western"><surname>Villanueva</surname><given-names>C</given-names> </name><etal/></person-group><article-title>EASL clinical practice guidelines for the management of patients with decompensated cirrhosis</article-title><source>J Hepatol</source><year>2018</year><month>08</month><volume>69</volume><issue>2</issue><fpage>406</fpage><lpage>460</lpage><pub-id pub-id-type="doi">10.1016/j.jhep.2018.03.024</pub-id></nlm-citation></ref><ref id="ref36"><label>36</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rubin</surname><given-names>JB</given-names> </name><name name-style="western"><surname>Sundaram</surname><given-names>V</given-names> </name><name name-style="western"><surname>Lai</surname><given-names>JC</given-names> </name></person-group><article-title>Gender differences among patients hospitalized with cirrhosis in the United States</article-title><source>J Clin Gastroenterol</source><year>2020</year><month>01</month><volume>54</volume><issue>1</issue><fpage>83</fpage><lpage>89</lpage><pub-id pub-id-type="doi">10.1097/MCG.0000000000001192</pub-id><pub-id pub-id-type="medline">30807399</pub-id></nlm-citation></ref><ref id="ref37"><label>37</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Liu</surname><given-names>S</given-names> </name><name name-style="western"><surname>Li</surname><given-names>J</given-names> </name><name name-style="western"><surname>Wong</surname><given-names>Y</given-names> </name><etal/></person-group><article-title>Prognostic impact of age on outcomes of hepatic decompensation in patients with compensated cirrhosis (CHESS2102): an international, multicenter cohort study</article-title><source>MedComm (2020)</source><year>2024</year><month>11</month><volume>5</volume><issue>11</issue><fpage>e781</fpage><pub-id pub-id-type="doi">10.1002/mco2.781</pub-id><pub-id pub-id-type="medline">39492833</pub-id></nlm-citation></ref><ref id="ref38"><label>38</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mansour</surname><given-names>D</given-names> </name><name name-style="western"><surname>McPherson</surname><given-names>S</given-names> </name></person-group><article-title>Management of decompensated cirrhosis</article-title><source>Clinical Medicine</source><year>2018</year><month>04</month><volume>18</volume><issue>2</issue><fpage>s60</fpage><lpage>s65</lpage><pub-id pub-id-type="doi">10.7861/clinmedicine.18-2-s60</pub-id></nlm-citation></ref><ref id="ref39"><label>39</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gordon</surname><given-names>FD</given-names> </name></person-group><article-title>Ascites</article-title><source>Clin Liver Dis</source><year>2012</year><month>05</month><volume>16</volume><issue>2</issue><fpage>285</fpage><lpage>299</lpage><pub-id pub-id-type="doi">10.1016/j.cld.2012.03.004</pub-id><pub-id pub-id-type="medline">22541699</pub-id></nlm-citation></ref><ref id="ref40"><label>40</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>McKay</surname><given-names>R</given-names> </name><name name-style="western"><surname>Webster</surname><given-names>NR</given-names> </name></person-group><article-title>Variceal bleeding</article-title><source>Continuing Education in Anaesthesia Critical Care &#x0026; Pain</source><year>2007</year><month>12</month><volume>7</volume><issue>6</issue><fpage>191</fpage><lpage>194</lpage><pub-id pub-id-type="doi">10.1093/bjaceaccp/mkm038</pub-id></nlm-citation></ref><ref id="ref41"><label>41</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ferenci</surname><given-names>P</given-names> </name></person-group><article-title>Hepatic encephalopathy</article-title><source>Gastroenterol Rep</source><year>2017</year><month>05</month><volume>5</volume><issue>2</issue><fpage>138</fpage><lpage>147</lpage><pub-id pub-id-type="doi">10.1093/gastro/gox013</pub-id></nlm-citation></ref><ref id="ref42"><label>42</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Simonetto</surname><given-names>DA</given-names> </name><name name-style="western"><surname>Gines</surname><given-names>P</given-names> </name><name name-style="western"><surname>Kamath</surname><given-names>PS</given-names> </name></person-group><article-title>Hepatorenal syndrome: pathophysiology, diagnosis, and management</article-title><source>BMJ</source><year>2020</year><month>09</month><day>14</day><volume>370</volume><fpage>m2687</fpage><pub-id pub-id-type="doi">10.1136/bmj.m2687</pub-id><pub-id pub-id-type="medline">32928750</pub-id></nlm-citation></ref><ref id="ref43"><label>43</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>McCoy</surname><given-names>MS</given-names> </name><name name-style="western"><surname>Angeli</surname><given-names>P</given-names> </name><name name-style="western"><surname>Trebicka</surname><given-names>J</given-names> </name></person-group><article-title>Acute and non&#x2010;acute decompensation of liver cirrhosis</article-title><source>Liver International</source><year>2025</year><month>03</month><volume>45</volume><issue>3</issue><fpage>e15861</fpage><pub-id pub-id-type="doi">10.1111/liv.15861</pub-id></nlm-citation></ref><ref id="ref44"><label>44</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Baiges</surname><given-names>A</given-names> </name><name name-style="western"><surname>Hern&#x00E1;ndez-Gea</surname><given-names>V</given-names> </name></person-group><article-title>Management of liver decompensation in advanced chronic liver disease: ascites, hyponatremia, and gastroesophageal variceal bleeding</article-title><source>Clin Drug Investig</source><year>2022</year><month>06</month><volume>42</volume><issue>Suppl 1</issue><fpage>25</fpage><lpage>31</lpage><pub-id pub-id-type="doi">10.1007/s40261-022-01147-5</pub-id><pub-id pub-id-type="medline">35476218</pub-id></nlm-citation></ref><ref id="ref45"><label>45</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Peck-Radosavljevic</surname><given-names>M</given-names> </name><name name-style="western"><surname>Angeli</surname><given-names>P</given-names> </name><name name-style="western"><surname>Cordoba</surname><given-names>J</given-names> </name><name name-style="western"><surname>Farges</surname><given-names>O</given-names> </name><name name-style="western"><surname>Valla</surname><given-names>D</given-names> </name></person-group><article-title>Managing complications in cirrhotic patients</article-title><source>UEG Journal</source><year>2015</year><month>02</month><volume>3</volume><issue>1</issue><fpage>80</fpage><lpage>94</lpage><pub-id pub-id-type="doi">10.1177/2050640614560452</pub-id></nlm-citation></ref><ref id="ref46"><label>46</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cardenas</surname><given-names>A</given-names> </name><name name-style="western"><surname>Gin&#x00E8;s</surname><given-names>P</given-names> </name></person-group><article-title>Management of complications of cirrhosis in patients awaiting liver transplantation</article-title><source>J Hepatol</source><year>2005</year><volume>42 Suppl</volume><issue>1</issue><fpage>S124</fpage><lpage>33</lpage><pub-id pub-id-type="doi">10.1016/j.jhep.2004.12.007</pub-id><pub-id pub-id-type="medline">15777567</pub-id></nlm-citation></ref><ref id="ref47"><label>47</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Verma</surname><given-names>N</given-names> </name><name name-style="western"><surname>Roy</surname><given-names>A</given-names> </name><name name-style="western"><surname>Valsan</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Liver dysfunction and systemic inflammation drive organ failures in acute decompensation of cirrhosis: a multicentric study</article-title><source>Am J Gastroenterol</source><year>2025</year><volume>120</volume><issue>1</issue><fpage>182</fpage><lpage>193</lpage><pub-id pub-id-type="doi">10.14309/ajg.0000000000003115</pub-id></nlm-citation></ref><ref id="ref48"><label>48</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Kumar</surname><given-names>S</given-names> </name><name name-style="western"><surname>Rani</surname><given-names>P</given-names> </name></person-group><article-title>A comparative survey on machine learning techniques for prediction of liver disease</article-title><conf-name>2023 6th International Conference on Contemporary Computing and Informatics (IC3I)</conf-name><conf-date>Sep 14-16, 2023</conf-date><conf-loc>Gautam Buddha Nagar, India</conf-loc><fpage>1796</fpage><lpage>1801</lpage><pub-id pub-id-type="doi">10.1109/IC3I59117.2023.10397980</pub-id></nlm-citation></ref><ref id="ref49"><label>49</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Luo</surname><given-names>X</given-names> </name></person-group><article-title>A comparison of three estimation methods in linear regression analysis</article-title><conf-name>2016 4th International Conference on Machinery, Materials and Information Technology Applications</conf-name><conf-date>Dec 10-11, 2016</conf-date><pub-id pub-id-type="doi">10.2991/icmmita-16.2016.92</pub-id></nlm-citation></ref><ref id="ref50"><label>50</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Leise</surname><given-names>MD</given-names> </name><name name-style="western"><surname>Kim</surname><given-names>WR</given-names> </name><name name-style="western"><surname>Kremers</surname><given-names>WK</given-names> </name><name name-style="western"><surname>Larson</surname><given-names>JJ</given-names> </name><name name-style="western"><surname>Benson</surname><given-names>JT</given-names> </name><name name-style="western"><surname>Therneau</surname><given-names>TM</given-names> </name></person-group><article-title>A revised model for end-stage liver disease optimizes prediction of mortality among patients awaiting liver transplantation</article-title><source>Gastroenterology</source><year>2011</year><month>06</month><volume>140</volume><issue>7</issue><fpage>1952</fpage><lpage>1960</lpage><pub-id pub-id-type="doi">10.1053/j.gastro.2011.02.017</pub-id><pub-id pub-id-type="medline">21334338</pub-id></nlm-citation></ref><ref id="ref51"><label>51</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Olive</surname><given-names>DJ</given-names> </name></person-group><article-title>Linear regression analysis</article-title><source>Technometrics</source><year>2003</year><month>11</month><volume>45</volume><issue>4</issue><fpage>362</fpage><lpage>363</lpage><pub-id pub-id-type="doi">10.1198/tech.2003.s163</pub-id></nlm-citation></ref><ref id="ref52"><label>52</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Huang</surname><given-names>JC</given-names> </name><name name-style="western"><surname>Ko</surname><given-names>KM</given-names> </name><name name-style="western"><surname>Shu</surname><given-names>MH</given-names> </name><name name-style="western"><surname>Hsu</surname><given-names>BM</given-names> </name></person-group><article-title>Application and comparison of several machine learning algorithms and their integration models in regression problems</article-title><source>Neural Comput &#x0026; Applic</source><year>2020</year><month>05</month><volume>32</volume><issue>10</issue><fpage>5461</fpage><lpage>5469</lpage><pub-id pub-id-type="doi">10.1007/s00521-019-04644-5</pub-id></nlm-citation></ref><ref id="ref53"><label>53</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Clark</surname><given-names>S</given-names> </name><name name-style="western"><surname>Hyndman</surname><given-names>RJ</given-names> </name><name name-style="western"><surname>Pagendam</surname><given-names>D</given-names> </name><name name-style="western"><surname>Ryan</surname><given-names>LM</given-names> </name></person-group><article-title>Modern strategies for time series regression</article-title><source>arXiv</source><comment>Preprint posted online on  Oct 29, 2020</comment><pub-id pub-id-type="doi">10.48550/arXiv.2010.15997</pub-id></nlm-citation></ref><ref id="ref54"><label>54</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Andrews</surname><given-names>PJD</given-names> </name><name name-style="western"><surname>Sleeman</surname><given-names>DH</given-names> </name><name name-style="western"><surname>Statham</surname><given-names>PFX</given-names> </name><etal/></person-group><article-title>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</article-title><source>J Neurosurg</source><year>2002</year><month>08</month><volume>97</volume><issue>2</issue><fpage>326</fpage><lpage>336</lpage><pub-id pub-id-type="doi">10.3171/jns.2002.97.2.0326</pub-id><pub-id pub-id-type="medline">12186460</pub-id></nlm-citation></ref><ref id="ref55"><label>55</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wu</surname><given-names>CC</given-names> </name><name name-style="western"><surname>Yeh</surname><given-names>WC</given-names> </name><name name-style="western"><surname>Hsu</surname><given-names>WD</given-names> </name><etal/></person-group><article-title>Prediction of fatty liver disease using machine learning algorithms</article-title><source>Comput Methods Programs Biomed</source><year>2019</year><month>03</month><volume>170</volume><fpage>23</fpage><lpage>29</lpage><pub-id pub-id-type="doi">10.1016/j.cmpb.2018.12.032</pub-id><pub-id pub-id-type="medline">30712601</pub-id></nlm-citation></ref><ref id="ref56"><label>56</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Li</surname><given-names>X</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>X</given-names> </name><name name-style="western"><surname>Yuan</surname><given-names>Z</given-names> </name></person-group><article-title>Applicable model of liver disease detection based on the improved CART-AdaBoost algorithm</article-title><conf-name>2021 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA)</conf-name><conf-date>Jun 28-30, 2021</conf-date><conf-loc>Dalian, China</conf-loc><fpage>1177</fpage><lpage>1181</lpage><pub-id pub-id-type="doi">10.1109/ICAICA52286.2021.9498046</pub-id></nlm-citation></ref><ref id="ref57"><label>57</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Afreen</surname><given-names>N</given-names> </name><name name-style="western"><surname>Patel</surname><given-names>R</given-names> </name><name name-style="western"><surname>Ahmed</surname><given-names>M</given-names> </name><name name-style="western"><surname>Sameer</surname><given-names>M</given-names> </name></person-group><article-title>A novel machine learning approach using boosting algorithm for liver disease classification</article-title><conf-name>2021 5th International Conference on Information Systems and Computer Networks (ISCON)</conf-name><conf-date>Oct 22-23, 2021</conf-date><conf-loc>Mathura, India</conf-loc><fpage>1</fpage><lpage>5</lpage><pub-id pub-id-type="doi">10.1109/ISCON52037.2021.9702488</pub-id></nlm-citation></ref><ref id="ref58"><label>58</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Dalal</surname><given-names>S</given-names> </name><name name-style="western"><surname>Onyema</surname><given-names>EM</given-names> </name><name name-style="western"><surname>Malik</surname><given-names>A</given-names> </name></person-group><article-title>Hybrid XGBoost model with hyperparameter tuning for prediction of liver disease with better accuracy</article-title><source>World J Gastroenterol</source><year>2022</year><month>12</month><day>14</day><volume>28</volume><issue>46</issue><fpage>6551</fpage><lpage>6563</lpage><pub-id pub-id-type="doi">10.3748/wjg.v28.i46.6551</pub-id><pub-id pub-id-type="medline">36569269</pub-id></nlm-citation></ref><ref id="ref59"><label>59</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Krogh</surname><given-names>A</given-names> </name></person-group><article-title>What are artificial neural networks?</article-title><source>Nat Biotechnol</source><year>2008</year><month>02</month><volume>26</volume><issue>2</issue><fpage>195</fpage><lpage>197</lpage><pub-id pub-id-type="doi">10.1038/nbt1386</pub-id><pub-id pub-id-type="medline">18259176</pub-id></nlm-citation></ref><ref id="ref60"><label>60</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Breiman</surname><given-names>L</given-names> </name></person-group><article-title>Random forests</article-title><source>Mach Learn</source><year>2001</year><month>10</month><volume>45</volume><issue>1</issue><fpage>5</fpage><lpage>32</lpage><pub-id pub-id-type="doi">10.1023/A:1010933404324</pub-id></nlm-citation></ref><ref id="ref61"><label>61</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Dorffner</surname><given-names>G</given-names> </name><name name-style="western"><surname>Porenta</surname><given-names>G</given-names> </name></person-group><article-title>On using feedforward neural networks for clinical diagnostic tasks</article-title><source>Artif Intell Med</source><year>1994</year><month>10</month><volume>6</volume><issue>5</issue><fpage>417</fpage><lpage>435</lpage><pub-id pub-id-type="doi">10.1016/0933-3657(94)90005-1</pub-id><pub-id pub-id-type="medline">7842041</pub-id></nlm-citation></ref><ref id="ref62"><label>62</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>He</surname><given-names>L</given-names> </name><name name-style="western"><surname>Madathil</surname><given-names>SC</given-names> </name><name name-style="western"><surname>Servis</surname><given-names>G</given-names> </name><name name-style="western"><surname>Khasawneh</surname><given-names>MT</given-names> </name></person-group><article-title>Neural network-based multi-task learning for inpatient flow classification and length of stay prediction</article-title><source>Appl Soft Comput</source><year>2021</year><month>09</month><volume>108</volume><fpage>107483</fpage><pub-id pub-id-type="doi">10.1016/j.asoc.2021.107483</pub-id><pub-id pub-id-type="medline">34658687</pub-id></nlm-citation></ref><ref id="ref63"><label>63</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Lai</surname><given-names>Y</given-names> </name></person-group><article-title>Application of machine learning algorithm based on neural network technology</article-title><source>J Phys: Conf Ser</source><year>2021</year><month>11</month><day>1</day><volume>2066</volume><issue>1</issue><fpage>012041</fpage><pub-id pub-id-type="doi">10.1088/1742-6596/2066/1/012041</pub-id></nlm-citation></ref><ref id="ref64"><label>64</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tu</surname><given-names>JV</given-names> </name></person-group><article-title>Advantages and disadvantages of using artificial neural networks versus logistic regression for predicting medical outcomes</article-title><source>J Clin Epidemiol</source><year>1996</year><month>11</month><volume>49</volume><issue>11</issue><fpage>1225</fpage><lpage>1231</lpage><pub-id pub-id-type="doi">10.1016/s0895-4356(96)00002-9</pub-id><pub-id pub-id-type="medline">8892489</pub-id></nlm-citation></ref><ref id="ref65"><label>65</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mao</surname><given-names>S</given-names> </name><name name-style="western"><surname>Sejdic</surname><given-names>E</given-names> </name></person-group><article-title>A review of recurrent neural network-based methods in computational physiology</article-title><source>IEEE Trans Neural Netw Learn Syst</source><year>2023</year><month>10</month><volume>34</volume><issue>10</issue><fpage>6983</fpage><lpage>7003</lpage><pub-id pub-id-type="doi">10.1109/TNNLS.2022.3145365</pub-id><pub-id pub-id-type="medline">35130174</pub-id></nlm-citation></ref><ref id="ref66"><label>66</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Liu</surname><given-names>S</given-names> </name><name name-style="western"><surname>Schlesinger</surname><given-names>JJ</given-names> </name><name name-style="western"><surname>McCoy</surname><given-names>AB</given-names> </name><etal/></person-group><article-title>New onset delirium prediction using machine learning and long short-term memory (LSTM) in electronic health record</article-title><source>J Am Med Inform Assoc</source><year>2022</year><month>12</month><day>13</day><volume>30</volume><issue>1</issue><fpage>120</fpage><lpage>131</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocac210</pub-id></nlm-citation></ref><ref id="ref67"><label>67</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shuvo</surname><given-names>MMH</given-names> </name><name name-style="western"><surname>Islam</surname><given-names>SK</given-names> </name></person-group><article-title>Deep multitask learning by stacked long short-term memory for predicting personalized blood glucose concentration</article-title><source>IEEE J Biomed Health Inform</source><year>2023</year><month>03</month><volume>27</volume><issue>3</issue><fpage>1612</fpage><lpage>1623</lpage><pub-id pub-id-type="doi">10.1109/JBHI.2022.3233486</pub-id><pub-id pub-id-type="medline">37018303</pub-id></nlm-citation></ref><ref id="ref68"><label>68</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Subasi</surname><given-names>A</given-names> </name></person-group><person-group person-group-type="editor"><name name-style="western"><surname>Subasi</surname><given-names>A</given-names> </name></person-group><article-title>Chapter 3 - Machine learning techniques</article-title><source>Practical Machine Learning for Data Analysis Using Python</source><year>2020</year><publisher-name>Academic Press</publisher-name><fpage>91</fpage><lpage>202</lpage><pub-id pub-id-type="doi">10.1016/B978-0-12-821379-7.00003-5</pub-id></nlm-citation></ref><ref id="ref69"><label>69</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Singh</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Faghani</surname><given-names>S</given-names> </name><name name-style="western"><surname>Eaton</surname><given-names>JE</given-names> </name><name name-style="western"><surname>Venkatesh</surname><given-names>SK</given-names> </name><name name-style="western"><surname>Erickson</surname><given-names>BJ</given-names> </name></person-group><article-title>Deep learning-based prediction of hepatic decompensation in patients with primary sclerosing cholangitis with computed tomography</article-title><source>Mayo Clin Proc Digit Health</source><year>2024</year><month>09</month><volume>2</volume><issue>3</issue><fpage>470</fpage><lpage>476</lpage><pub-id pub-id-type="doi">10.1016/j.mcpdig.2024.07.002</pub-id><pub-id pub-id-type="medline">40206109</pub-id></nlm-citation></ref><ref id="ref70"><label>70</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kok</surname><given-names>C</given-names> </name><name name-style="western"><surname>Jahmunah</surname><given-names>V</given-names> </name><name name-style="western"><surname>Oh</surname><given-names>SL</given-names> </name><etal/></person-group><article-title>Automated prediction of sepsis using temporal convolutional network</article-title><source>Comput Biol Med</source><year>2020</year><month>12</month><volume>127</volume><fpage>103957</fpage><pub-id pub-id-type="doi">10.1016/j.compbiomed.2020.103957</pub-id><pub-id pub-id-type="medline">32938540</pub-id></nlm-citation></ref><ref id="ref71"><label>71</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Li</surname><given-names>C</given-names> </name><name name-style="western"><surname>Ding</surname><given-names>S</given-names> </name><name name-style="western"><surname>Zou</surname><given-names>N</given-names> </name><name name-style="western"><surname>Hu</surname><given-names>X</given-names> </name><name name-style="western"><surname>Jiang</surname><given-names>X</given-names> </name><name name-style="western"><surname>Zhang</surname><given-names>K</given-names> </name></person-group><article-title>Multi-task learning with dynamic re-weighting to achieve fairness in healthcare predictive modeling</article-title><source>J Biomed Inform</source><year>2023</year><month>07</month><volume>143</volume><fpage>104399</fpage><pub-id pub-id-type="doi">10.1016/j.jbi.2023.104399</pub-id><pub-id pub-id-type="medline">37211197</pub-id></nlm-citation></ref><ref id="ref72"><label>72</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ramesh</surname><given-names>S</given-names> </name><name name-style="western"><surname>Dall&#x2019;Alba</surname><given-names>D</given-names> </name><name name-style="western"><surname>Gonzalez</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Multi-task temporal convolutional networks for joint recognition of surgical phases and steps in gastric bypass procedures</article-title><source>Int J Comput Assist Radiol Surg</source><year>2021</year><month>07</month><volume>16</volume><issue>7</issue><fpage>1111</fpage><lpage>1119</lpage><pub-id pub-id-type="doi">10.1007/s11548-021-02388-z</pub-id><pub-id pub-id-type="medline">34013464</pub-id></nlm-citation></ref><ref id="ref73"><label>73</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tang</surname><given-names>S</given-names> </name><name name-style="western"><surname>Tariq</surname><given-names>A</given-names> </name><name name-style="western"><surname>Dunnmon</surname><given-names>JA</given-names> </name><etal/></person-group><article-title>Predicting 30-day all-cause hospital readmission using multimodal spatiotemporal graph neural networks</article-title><source>IEEE J Biomed Health Inform</source><year>2023</year><month>04</month><volume>27</volume><issue>4</issue><fpage>2071</fpage><lpage>2082</lpage><pub-id pub-id-type="doi">10.1109/JBHI.2023.3236888</pub-id><pub-id pub-id-type="medline">37018684</pub-id></nlm-citation></ref><ref id="ref74"><label>74</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ma</surname><given-names>Q</given-names> </name><name name-style="western"><surname>Meng</surname><given-names>R</given-names> </name><name name-style="western"><surname>Li</surname><given-names>R</given-names> </name><etal/></person-group><article-title>Multitask deep learning model based on multimodal data for predicting prognosis of rectal cancer: a multicenter retrospective study</article-title><source>BMC Med Inform Decis Mak</source><year>2025</year><month>06</month><day>5</day><volume>25</volume><issue>1</issue><fpage>209</fpage><pub-id pub-id-type="doi">10.1186/s12911-025-03050-3</pub-id><pub-id pub-id-type="medline">40474195</pub-id></nlm-citation></ref><ref id="ref75"><label>75</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hu</surname><given-names>X</given-names> </name><name name-style="western"><surname>Sun</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Nian</surname><given-names>Y</given-names> </name><etal/></person-group><article-title>Self-explainable graph neural network for Alzheimer disease and related dementias risk prediction: algorithm development and validation study</article-title><source>JMIR Aging</source><year>2024</year><month>07</month><day>8</day><volume>7</volume><issue>1</issue><fpage>e54748</fpage><pub-id pub-id-type="doi">10.2196/54748</pub-id><pub-id pub-id-type="medline">38976869</pub-id></nlm-citation></ref><ref id="ref76"><label>76</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bejani</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Ghatee</surname><given-names>M</given-names> </name></person-group><article-title>A systematic review on overfitting control in shallow and deep neural networks</article-title><source>Artif Intell Rev</source><year>2021</year><month>12</month><volume>54</volume><issue>8</issue><fpage>6391</fpage><lpage>6438</lpage><pub-id pub-id-type="doi">10.1007/s10462-021-09975-1</pub-id></nlm-citation></ref><ref id="ref77"><label>77</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhou</surname><given-names>K</given-names> </name><name name-style="western"><surname>Huang</surname><given-names>X</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Pre-hospital symptom clusters and symptom network analysis in decompensated cirrhotic patients: a cross-sectional study</article-title><source>J Adv Nurs</source><year>2024</year><month>07</month><volume>80</volume><issue>7</issue><fpage>2785</fpage><lpage>2800</lpage><pub-id pub-id-type="doi">10.1111/jan.16044</pub-id><pub-id pub-id-type="medline">38197541</pub-id></nlm-citation></ref><ref id="ref78"><label>78</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bernardi</surname><given-names>M</given-names> </name><name name-style="western"><surname>Caraceni</surname><given-names>P</given-names> </name></person-group><article-title>Novel perspectives in the management of decompensated cirrhosis</article-title><source>Nat Rev Gastroenterol Hepatol</source><year>2018</year><month>12</month><volume>15</volume><issue>12</issue><fpage>753</fpage><lpage>764</lpage><pub-id pub-id-type="doi">10.1038/s41575-018-0045-2</pub-id><pub-id pub-id-type="medline">30026556</pub-id></nlm-citation></ref><ref id="ref79"><label>79</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fedosina</surname><given-names>EA</given-names> </name><name name-style="western"><surname>Byeverov</surname><given-names>AO</given-names> </name><name name-style="western"><surname>Bogomolov</surname><given-names>PO</given-names> </name><name name-style="western"><surname>Staroverova</surname><given-names>NP</given-names> </name></person-group><article-title>Some practical issues in the management of patients with decompensated liver cirrhosis</article-title><source>Ter Arkh</source><year>2019</year><month>08</month><day>15</day><volume>91</volume><issue>8</issue><fpage>148</fpage><lpage>154</lpage><pub-id pub-id-type="doi">10.26442/00403660.2019.08.000391</pub-id><pub-id pub-id-type="medline">32598767</pub-id></nlm-citation></ref><ref id="ref80"><label>80</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Caruana</surname><given-names>R</given-names> </name></person-group><article-title>Multitask learning</article-title><source>Mach Learn</source><year>1997</year><month>07</month><volume>28</volume><issue>1</issue><fpage>41</fpage><lpage>75</lpage><pub-id pub-id-type="doi">10.1023/A:1007379606734</pub-id></nlm-citation></ref><ref id="ref81"><label>81</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Roy</surname><given-names>S</given-names> </name><name name-style="western"><surname>Mincu</surname><given-names>D</given-names> </name><name name-style="western"><surname>Loreaux</surname><given-names>E</given-names> </name><etal/></person-group><article-title>Multitask prediction of organ dysfunction in the intensive care unit using sequential subnetwork routing</article-title><source>J Am Med Inform Assoc</source><year>2021</year><month>08</month><day>13</day><volume>28</volume><issue>9</issue><fpage>1936</fpage><lpage>1946</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocab101</pub-id><pub-id pub-id-type="medline">34151965</pub-id></nlm-citation></ref><ref id="ref82"><label>82</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Asrani</surname><given-names>SK</given-names> </name><name name-style="western"><surname>Hall</surname><given-names>L</given-names> </name><name name-style="western"><surname>Reddy</surname><given-names>V</given-names> </name><name name-style="western"><surname>Ogola</surname><given-names>G</given-names> </name><name name-style="western"><surname>Izzy</surname><given-names>M</given-names> </name></person-group><article-title>Comorbid chronic diseases and survival in compensated and decompensated cirrhosis: a population-based study</article-title><source>Am J Gastroenterol</source><year>2022</year><volume>117</volume><issue>12</issue><fpage>2009</fpage><lpage>2016</lpage><pub-id pub-id-type="doi">10.14309/ajg.0000000000001909</pub-id></nlm-citation></ref><ref id="ref83"><label>83</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Berenguer</surname><given-names>J</given-names> </name><name name-style="western"><surname>Ald&#x00E1;miz-Echevarr&#x00ED;a</surname><given-names>T</given-names> </name><name name-style="western"><surname>Honta&#x00F1;&#x00F3;n</surname><given-names>V</given-names> </name><etal/></person-group><article-title>Clinical outcomes and prognostic factors after HCV clearance with DAA in HIV/HCV-coinfected patients with advanced fibrosis/cirrhosis</article-title><source>Hepatology</source><year>2025</year><month>01</month><day>1</day><volume>81</volume><issue>1</issue><fpage>238</fpage><lpage>253</lpage><pub-id pub-id-type="doi">10.1097/HEP.0000000000000838</pub-id><pub-id pub-id-type="medline">38452004</pub-id></nlm-citation></ref><ref id="ref84"><label>84</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Innes</surname><given-names>H</given-names> </name><name name-style="western"><surname>Walker</surname><given-names>AJ</given-names> </name><name name-style="western"><surname>Benselin</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Comprehensive comparative analysis of standard validated, genetic, and novel biomarkers to enhance prognostic risk-stratification in patients with hepatitis C virus cirrhosis</article-title><source>Clin Transl Gastroenterol</source><year>2022</year><month>02</month><day>9</day><volume>13</volume><issue>3</issue><fpage>e00462</fpage><pub-id pub-id-type="doi">10.14309/ctg.0000000000000462</pub-id><pub-id pub-id-type="medline">35142723</pub-id></nlm-citation></ref><ref id="ref85"><label>85</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Rudler</surname><given-names>M</given-names> </name></person-group><article-title>Role of comorbidities in the general management of compensated cirrhosis, including malnutrition</article-title><source>Portal Hypertension VI</source><year>2016</year><publisher-name>Springer International Publishing</publisher-name><fpage>205</fpage><lpage>214</lpage><pub-id pub-id-type="doi">10.1007/978-3-319-23018-4_22</pub-id></nlm-citation></ref><ref id="ref86"><label>86</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Konerman</surname><given-names>MA</given-names> </name><name name-style="western"><surname>Beste</surname><given-names>LA</given-names> </name><name name-style="western"><surname>Van</surname><given-names>T</given-names> </name><etal/></person-group><article-title>Machine learning models to predict disease progression among veterans with hepatitis C virus</article-title><source>PLOS ONE</source><year>2019</year><volume>14</volume><issue>1</issue><fpage>e0208141</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0208141</pub-id><pub-id pub-id-type="medline">30608929</pub-id></nlm-citation></ref><ref id="ref87"><label>87</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gao</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Li</surname><given-names>R</given-names> </name><name name-style="western"><surname>Croxford</surname><given-names>E</given-names> </name><etal/></person-group><article-title>Leveraging medical knowledge graphs into large language models for diagnosis prediction: design and application study</article-title><source>JMIR AI</source><year>2025</year><month>02</month><day>24</day><volume>4</volume><issue>1</issue><fpage>e58670</fpage><pub-id pub-id-type="doi">10.2196/58670</pub-id><pub-id pub-id-type="medline">39993309</pub-id></nlm-citation></ref><ref id="ref88"><label>88</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Xu</surname><given-names>M</given-names> </name></person-group><article-title>Understanding graph embedding methods and their applications</article-title><source>SIAM Rev</source><year>2021</year><month>01</month><volume>63</volume><issue>4</issue><fpage>825</fpage><lpage>853</lpage><pub-id pub-id-type="doi">10.1137/20M1386062</pub-id></nlm-citation></ref><ref id="ref89"><label>89</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Abdi</surname><given-names>H</given-names> </name><name name-style="western"><surname>Williams</surname><given-names>LJ</given-names> </name></person-group><article-title>Principal component analysis</article-title><source>WIREs Computational Stats</source><year>2010</year><month>07</month><volume>2</volume><issue>4</issue><fpage>433</fpage><lpage>459</lpage><pub-id pub-id-type="doi">10.1002/wics.101</pub-id></nlm-citation></ref><ref id="ref90"><label>90</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Yang</surname><given-names>H</given-names> </name><name name-style="western"><surname>Zhang</surname><given-names>B</given-names> </name><name name-style="western"><surname>Peng</surname><given-names>C</given-names> </name><name name-style="western"><surname>Yu</surname><given-names>C</given-names> </name><name name-style="western"><surname>Mou</surname><given-names>X</given-names> </name></person-group><article-title>Predictive Value of serum lactate levels for mortality in patients with hepatitis B-related decompensated cirrhosis: a retrospective analysis</article-title><source>Br J Hosp Med</source><year>2024</year><month>12</month><day>30</day><volume>85</volume><issue>12</issue><fpage>1</fpage><lpage>10</lpage><pub-id pub-id-type="doi">10.12968/hmed.2024.0531</pub-id></nlm-citation></ref><ref id="ref91"><label>91</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Salki&#x0107;</surname><given-names>N</given-names> </name><name name-style="western"><surname>Jovanovi&#x0107;</surname><given-names>P</given-names> </name><name name-style="western"><surname>Bari&#x0161;i&#x0107; Jaman</surname><given-names>M</given-names> </name><name name-style="western"><surname>Selimovi&#x0107;</surname><given-names>N</given-names> </name><name name-style="western"><surname>Pa&#x0161;trovi&#x0107;</surname><given-names>F</given-names> </name><name name-style="western"><surname>Grgurevi&#x0107;</surname><given-names>I</given-names> </name></person-group><article-title>Machine learning for short-term mortality in acute decompensation of liver cirrhosis: better than MELD score</article-title><source>Diagnostics (Basel)</source><year>2024</year><month>05</month><day>8</day><volume>14</volume><issue>10</issue><fpage>981</fpage><pub-id pub-id-type="doi">10.3390/diagnostics14100981</pub-id><pub-id pub-id-type="medline">38786278</pub-id></nlm-citation></ref><ref id="ref92"><label>92</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Aurelio</surname><given-names>YS</given-names> </name><name name-style="western"><surname>de Almeida</surname><given-names>GM</given-names> </name><name name-style="western"><surname>de Castro</surname><given-names>CL</given-names> </name><name name-style="western"><surname>Braga</surname><given-names>AP</given-names> </name></person-group><article-title>Learning from imbalanced data sets with weighted cross-entropy function</article-title><source>Neural Process Lett</source><year>2019</year><month>10</month><volume>50</volume><issue>2</issue><fpage>1937</fpage><lpage>1949</lpage><pub-id pub-id-type="doi">10.1007/s11063-018-09977-1</pub-id></nlm-citation></ref><ref id="ref93"><label>93</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Andrade</surname><given-names>C</given-names> </name></person-group><article-title>Z scores, standard scores, and composite test scores explained</article-title><source>Indian J Psychol Med</source><year>2021</year><month>11</month><volume>43</volume><issue>6</issue><fpage>555</fpage><lpage>557</lpage><pub-id pub-id-type="doi">10.1177/02537176211046525</pub-id><pub-id pub-id-type="medline">35210687</pub-id></nlm-citation></ref><ref id="ref94"><label>94</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cervellera</surname><given-names>C</given-names> </name><name name-style="western"><surname>Maccio</surname><given-names>D</given-names> </name></person-group><article-title>Distribution-preserving stratified sampling for learning problems</article-title><source>IEEE Trans Neural Netw Learn Syst</source><year>2018</year><month>07</month><volume>29</volume><issue>7</issue><fpage>2886</fpage><lpage>2895</lpage><pub-id pub-id-type="doi">10.1109/TNNLS.2017.2706964</pub-id><pub-id pub-id-type="medline">28613186</pub-id></nlm-citation></ref><ref id="ref95"><label>95</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Soleymani</surname><given-names>R</given-names> </name><name name-style="western"><surname>Granger</surname><given-names>E</given-names> </name><name name-style="western"><surname>Fumera</surname><given-names>G</given-names> </name></person-group><article-title>F-measure curves: a tool to visualize classifier performance under imbalance</article-title><source>Pattern Recognit</source><year>2020</year><month>04</month><volume>100</volume><fpage>107146</fpage><pub-id pub-id-type="doi">10.1016/j.patcog.2019.107146</pub-id></nlm-citation></ref><ref id="ref96"><label>96</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kasper</surname><given-names>P</given-names> </name><name name-style="western"><surname>Goeser</surname><given-names>T</given-names> </name></person-group><article-title>Management of decompensated liver cirrhosis in the surgical intensive care unit</article-title><source>Hepatobiliary Surg Nutr</source><year>2023</year><month>02</month><day>28</day><volume>12</volume><issue>1</issue><fpage>95</fpage><lpage>98</lpage><pub-id pub-id-type="doi">10.21037/hbsn-22-553</pub-id><pub-id pub-id-type="medline">36860248</pub-id></nlm-citation></ref><ref id="ref97"><label>97</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Lundberg</surname><given-names>S</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>SI</given-names> </name></person-group><article-title>A unified approach to interpreting model predictions</article-title><source>arXiv</source><comment>Preprint posted online on  Nov 25, 2017</comment><pub-id pub-id-type="doi">10.48550/arXiv.1705.07874</pub-id></nlm-citation></ref><ref id="ref98"><label>98</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>M&#x00FC;ller</surname><given-names>SE</given-names> </name><name name-style="western"><surname>Casper</surname><given-names>M</given-names> </name><name name-style="western"><surname>Ripoll</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Machine learning models predicting decompensation in cirrhosis</article-title><source>J Gastrointestin Liver Dis</source><year>2025</year><month>03</month><day>27</day><volume>34</volume><issue>1</issue><fpage>71</fpage><lpage>80</lpage><pub-id pub-id-type="doi">10.15403/jgld-5876</pub-id><pub-id pub-id-type="medline">40153826</pub-id></nlm-citation></ref><ref id="ref99"><label>99</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>London</surname><given-names>AJ</given-names> </name></person-group><article-title>Artificial intelligence and black-box medical decisions: accuracy versus explainability</article-title><source>Hastings Cent Rep</source><year>2019</year><month>01</month><volume>49</volume><issue>1</issue><fpage>15</fpage><lpage>21</lpage><pub-id pub-id-type="doi">10.1002/hast.973</pub-id><pub-id pub-id-type="medline">30790315</pub-id></nlm-citation></ref><ref id="ref100"><label>100</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Abolhasani</surname><given-names>M</given-names> </name></person-group><article-title>Cirrhosis</article-title><source>GitHub</source><access-date>2026-10-09</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://github.com/abolhasani/Cirrhosis">https://github.com/abolhasani/Cirrhosis</ext-link></comment></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Proposed method&#x2019;s hyperparameters and implementation.</p><media xlink:href="medinform_v14i1e91693_app1.docx" xlink:title="DOCX File, 22 KB"/></supplementary-material><supplementary-material id="app2"><label>Multimedia Appendix 2</label><p>Variables, descriptive statistics, and coding.</p><media xlink:href="medinform_v14i1e91693_app2.docx" xlink:title="DOCX File, 32 KB"/></supplementary-material><supplementary-material id="app3"><label>Multimedia Appendix 3</label><p>Hyperparameter tuning and implementation details.</p><media xlink:href="medinform_v14i1e91693_app3.docx" xlink:title="DOCX File, 25 KB"/></supplementary-material><supplementary-material id="app4"><label>Multimedia Appendix 4</label><p>Investigated methods&#x2019; performance for distinct symptoms.</p><media xlink:href="medinform_v14i1e91693_app4.docx" xlink:title="DOCX File, 30 KB"/></supplementary-material></app-group></back></article>