S2233 Utilizing Machine Learning to Identify Predictors of Post-ERCP Pancreatitis
Introduction: Endoscopic retrograde cholangiopancreatography (ERCP) is an essential diagnostic and therapeutic procedure, but carries a notable risk of complications, including post-ERCP pancreatitis (PEP). Identifying predictors of PEP can aid in patient selection and the implementation of preventative strategies to optimize outcomes. Machine learning (ML) algorithms offer promise for predictive analytics in healthcare. Several recent studies have aimed to develop predictive models to assess pre-procedural PEP risk. However, their performance in predicting PEP has been limited. This study evaluates the utility of ML models alongside sensitivity-specificity analyses to enhance prediction accuracy and determine feature importance. Methods: This single-center retrospective study analyzed adults who underwent ERCP with native papilla over 5 years. Data collected included comorbidities, sphincterotomy performed, stenting performed, fluoroscopic time required, fellow involvement and types of cannulation performed. PEP was defined as new or worsened abdominal pain with lipase 3 times the upper limit of normal more than 24 hours but less than 7 days after ERCP. ML analyses were performed on the entire dataset and 2 additional subsets: patients with and without a history of acute and/or chronic pancreatitis. Results: A total of 1469 patients were included in the study with 120 experiencing PEP. Most patients did not have a history of acute pancreatitis (27.6%) or chronic pancreatitis (16.5%). A LASSO logistic regression incorporating all cannulation and stent variables identified several significant predictors: higher BMI, CKD, dyslipidemia and enoxaparin use. Otherwise, procedures classified as “not difficult” by the provider and fellow involvement were protective. In separate models optimizing sensitivity and specificity of PEP in all patients, the top features were body mass index (BMI), age, total fluoroscopy time and history of acute pancreatitis. In sensitivity-specificity models in patients without a history of acute or chronic pancreatitis, total fluoroscopy time was consistently the highest predictor with age, BMI and biliary pull type sphincterotomy often following. Conclusion: Feature importance analysis underscores key risk factors for PEP development, providing potential targets for future predictive and preventive strategies. These findings highlight the need for further optimization of ML approaches and their integration with clinical workflows.
Authors
- Jason Erno (ORCID: https://orcid.org/0000-0003-3913-3831)
- Alexander Podboy (ORCID: https://orcid.org/0000-0001-9353-4965)
- Kathryn Linehan
- Angela B. Danquah
Publication Details
- Journal
- The American Journal of Gastroenterology
- Published
- 2025-10-01
- DOI
- https://doi.org/10.14309/01.ajg.0001136392.63160.97
- Primary Topic
- Gallbladder and Bile Duct Disorders
- Type
- article
- Field-Weighted Citation Impact
- 0.00