Related Experiment Video
Updated: Sep 24, 2026

In Vivo Mouse Model of Spinal Implant Infection
Published on: June 23, 2020
Validation of a Machine Learning Model to Noninvasively Exclude Spontaneous Bacterial Peritonitis
Stephanie Y Tsai1, Scott Silvey2, Anas Aljabi3
1Division of Gastroenterology and Hepatology, University of Texas Southwestern Medical Center, Dallas, Texas, USA.
Introduction:
There remains a gap between guideline recommendations and real-world practice for the performance of timely paracentesis to diagnose spontaneous bacterial peritonitis (SBP). A machine learning (ML) model to noninvasively exclude SBP using 20 routinely collected clinical and laboratory values was previously developed and validated in a pre-COVID-19 era cohort. Because of the considerable health care delivery changes post-COVID-19 pandemic, we sought to validate this ML model in a contemporary cohort of admitted veterans affairs patients.
Methods:
We included patients in the Veterans Health Administration Corporate Data Warehouse admitted between 2020 and 2023 with cirrhosis and ascites who underwent timely paracentesis identified by International Classification of Diseases-10 codes (validation cohort), then performed manual chart review on a subset of patients admitted at 2 tertiary-care veterans affairs hospitals to confirm the SBP (validation subgroup). We evaluated the performance metrics of the previously developed ML model with this cohort and subgroup.
Results:
The validation cohort included 4,192 patients, of which 630 (15.0%) had SBP. At the <5%, <10%, and <15% thresholds for probability of SBP-negativity predicted by the ML model, negative predictive values (NPVs) were 93.6%, 92.0%, and 90.9%, respectively. In the validation subgroup, 7 (6.5%) of 107 patients had confirmed SBP. NPVs at the <5%, <10%, and <15% thresholds were 100%, 97.5%, and 95.4%, respectively.
Discussion:
In a national cohort and manual confirmation subgroup of Veterans with cirrhosis admitted after 2020, a ML model noninvasively excluded SBP with high NPV. This could help in risk-stratification, especially in limited-resource settings.

