Manuscript Offprint

arXiv:2609.04365

Ultrasound-Based Prediction of Cirrhosis Decompensation Using Large-Scale Computer Vision Models

Guangyi Zhang, Peiyun Ni, Eugene Cheah, Rajat Chandra, Peng Guo, Raymond T. Chung, Anthony E. Samir

Guangyi Zhang1,†^{1,\dagger}, Peiyun Ni2,†^{2,\dagger}, Eugene Cheah1^{1}, Rajat Chandra3^{3}, Peng Guo1^{1}

Raymond T. Chung2^{2}, Anthony E. Samir1,∗^{1,*}

1^{1} Center for Ultrasound Research & Translation, Massachusetts General Hospital, Harvard Medical School, Boston, MA, USA

2^{2} Division of Gastroenterology, Massachusetts General Hospital, Harvard Medical School, Boston, MA, USA

3^{3} Department of Medicine, Massachusetts General Hospital, Harvard Medical School, Boston, MA, USA

Abstract—Decompensation represents a critical transition in the course of cirrhosis, yet clinicians have limited non-invasive tools to reliably predict its onset. In this study, we propose a novel imaging-based approach that leverages large-scale computer vision models to analyze routine abdominal ultrasound images and extract predictive features beyond those captured by traditional laboratory-based risk scores. Ultrasound is widely available, low cost, and suitable for longitudinal surveillance, making it an attractive modality for scalable risk stratification and long-term follow-up. Our framework integrates automated ultrasound data processing with modern deep learning architectures to identify patients at high risk of decompensation prior to the occurrence of clinical deterioration. This non-invasive strategy offers a practical complement to existing clinical scoring systems and may enable earlier, more proactive management of patients with compensated cirrhosis.

Index Terms—Ultrasound Imaging; Deep Learning; Cirrhosis Decompensation

I. INTRODUCTION

Cirrhosis is responsible for 1 million deaths every year globally [1], and is the 3rd3^{rd} leading cause of death among adults 45-64 years old [2], [3]. In its natural course, cirrhosis progresses through two distinctive phases: compensated and decompensated cirrhosis. Patients in the compensated stage often appear clinically well, with a median survival of 12 years [4]. Over time, however, a rise in the blood pressure within the liver circulatory system due to cirrhosis (portal hypertension) can cause the progression into the decompensated stage. Decompensation is defined by the presence of any of the complications: abdominal fluid accumulation (ascites), gastrointestinal bleeding from enlarged veins (variceal bleeding), brain dysfunction due to liver failure (hepatic encephalopathy [HE]), kidney failure from liver dysfunction (hepatorenal syndrome [HRS]), or jaundice [5], [6]. Patients with liver decompensation have a much lower median survival of around 2 years [4]. Given the drastic difference in survival between compensated and decompensated cirrhosis, early detection of

this phase transition is critically important to enable targeted interventions.

Currently, the gold standard for assessing portal hypertension and the extent of liver dysfunction is hepatic venous pressure gradient (HVPG) measurement, which is invasive and involves catheterizing the jugular vein. Non-invasive prediction methods for liver decompensation remain limited, as existing laboratory-based scores are designed to predict risk of death [7]–[9], but offer limited insights into decompensation risk. Meanwhile, liver stiffness measurements are typically validated only for specific types of cirrhosis, limiting their generalizability [10], [11].

Ultrasound (US) is the most frequently used imaging modality in the longitudinal care of patients with cirrhosis, owing to its wide availability, low cost, portability, and absence of ionizing radiation. In contrast to cross-sectional imaging modalities such as computed tomography (CT) and magnetic resonance imaging (MRI), ultrasound is well suited for deployment in low-resource clinical settings [12]. Routine ultrasound examinations capture rich information related to liver morphology, parenchymal texture, and portal hemodynamics, which may reflect early pathophysiological changes preceding clinical decompensation [3], [13]. Several prior studies have used abdominal ultrasound to predict liver-related outcomes in cirrhosis, using approaches ranging from semantic image assessment to radiomics and deep learning. In one study of patients with metabolic dysfunction-associated steatotic liver disease (MASLD), semantic ultrasound features did not outperform clinical laboratory variables in a random forest model predicting decompensation [14]. In contrast, radiomic and deep learning features extracted from hepatic ultrasound images improved prediction of 30-day mortality in hepatitis B virus-related acute-on-chronic liver failure compared with models based on clinical variables alone [15], [16]. However, these prior studies focused on specific etiologic subgroups, leaving uncertainty about the generalizability of ultrasound-based models across broader compensated cirrhosis populations.

Transformer-based models have also shown promise in

†^{\dagger}These authors contributed equally to this work. ∗^{*}Corresponding author: asamir@mgh.harvard.edu.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

ultrasound-based medical imaging tasks, particularly for hepatocellular carcinoma (HCC) and MASLD. Vision transformer models have been used to extract ultrasound features for predicting microvascular invasion and early recurrence in patients with HCC [17], [18], with some studies reporting improved performance compared with radiomic and clinical models [19]. In MASLD, transformer-based ultrasound models have mainly been applied to diagnostic classification of steatosis and fibrosis [20]. However, none of these transformer-based models examined the risk of decompensation among patients with chronic liver disease. To bridge this gap, our study introduces a non-invasive ultrasound-based framework for early prediction of liver decompensation by analyzing routinely acquired B-mode liver and spleen images using large-scale computer vision models and an automated real-world cohort processing pipeline. Our study evaluates both transformer-based and convolutional models for predicting future decompensation risks in patients with compensated cirrhosis across different etiologies.

Our contributions are threefold: (1) we propose a non-invasive framework based on routinely acquired ultrasound images from a clinical retrospective cohort for cirrhosis decompensation prediction; (2) we develop a robust data-processing pipeline that integrates optical character recognition (OCR)-based annotation extraction, Doppler image filtering, and clinician verification to ensure data quality and reproducibility; and (3) we conduct systematic benchmarking of 22 model configurations across five architecture families under a unified evaluation protocol, enabling rigorous and transparent comparison of modern computer vision approaches.

References (26)

  • The Global, Regional, and National Burden of Cirrhosis by Cause in 195 Countries and Territories, 1990–2017: A Systematic Analysis for the Global Burden of Disease Study 2017
  • Burden of Liver Diseases in the World
  • Liver Cirrhosis
  • Natural History and Prognostic Indicators of Survival in Cirrhosis: A Systematic Review of 118 Studies
  • British Society of Gastroenterology Best Practice Guidance: Outpatient Management of Cirrhosis-Part 2: Decompensated Cirrhosis
  • Towards A New Definition of Decompensated Cirrhosis
  • Surgery and Portal Hypertension
  • A Model to Predict Survival in Patients with End-Stage Liver Disease
  • MELD 3.0: the Model for End-Stage Liver Disease Updated for the Modern Era
  • Risk Assessment of Development of Hepatic Decompensation in Histologically Proven Hepatitis B Viral Cirrhosis Using Liver Stiffness Measurement
  • Using Liver Stiffness to Predict and Monitor the Risk of Decompensation and Mortality in Patients with Alcohol-related Liver Disease
  • Liver Biopsy
  • Portal Hypertensive Bleeding in Cirrhosis: Risk Stratification, Diagnosis, and Management: 2016 Practice Guidance by the American Association for the Study of Liver Diseases
  • Machine Learning Models Using Non-Invasive Tests & B-Mode Ultrasound to Predict Liver-Related Outcomes in Metabolic Dysfunction-Associated Steatotic Liver Disease
  • Ultrasound-Based Radiomics Predicts Short-Term Outcomes in Hepatitis B Virus-Related Acute-on-Chronic Liver Failure
  • Predicting Prognosis of Patients with Hepatitis B Virus-Related Acute-on-Chronic Liver Failure from Longitudinal Ultrasound Images Using a Multi-Task Deep Learning Approach
  • CEUS-Based Microvascular Invasion Predictor in HCC: Improving Prognostic Stratification Following Thermal Ablation
  • ViT-Based Quantification of Intratumoral Heterogeneity for Predicting the Early Recurrence in HCC Following Multiple Ablation
  • Transformer Model Based on Sonazoid Contrast-Enhanced Ultrasound for Microvascular Invasion Prediction in Hepatocellular Carcinoma
  • Deep Learning for Non-Invasive Detection of Steatosis and Fibrosis in MASLD: a Multicenter Study with a New Fibroscan-Labelled Ultrasound Dataset
  • Deep Residual Learning for Image Recognition
  • EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • BEiT: BERT Pre-Training of Image Transformers
  • MaxViT: Multi-Axis Vision Transformer
  • Evidence-based Incorporation of Serum Sodium Concentration into MELD