Predicting Post-ERCP Pancreatitis Using Machine Learning: Risk Stratification and Feature Importance Analysis
Erfan Arabpour1, Amir Sadeghi2, Reyhaneh Rastegar2
1Student Research Committee, Research Institute for Gastroenterology and Liver Diseases, Shahid Beheshti University of Medical Sciences, Tehran, Iran.
Journal of Hepato-Biliary-Pancreatic Sciences
|January 6, 2026
Summary
Machine learning models can predict post-endoscopic retrograde cholangiopancreatography pancreatitis (PEP) risk. The CatBoost model identified key risk factors and stratified patients effectively.
Area of Science:
- Gastroenterology
- Medical Informatics
- Predictive Analytics
Background:
- Post-endoscopic retrograde cholangiopancreatography pancreatitis (PEP) remains unpredictable despite risk factor understanding.
- Developing predictive models for PEP is crucial for patient safety.
Purpose of the Study:
- To develop and evaluate a machine learning (ML) model for predicting the risk of PEP.
- To identify key predictors of PEP in patients undergoing ERCP.
Main Methods:
- Trained CatBoost and eXtreme Gradient Boosting algorithms on prospective ERCP registry data (2022-2024).
- Assessed model performance using area under the receiver operating characteristic (AUC) with 10-fold cross-validation.
- Included patients with naïve papilla undergoing ERCP.
Main Results:
- The CatBoost model, using eight features (age, sex, papilla morphology, cannulation details, bilirubin, CBD diameter, stone extraction), achieved an AUC of 68.8%.
- The model demonstrated good sensitivity (70.4%) and specificity (67.2%), with a negative predictive value of 92.0%.
- PEP incidence varied significantly across risk groups: 5.7% (low), 21.0% (intermediate), and 40.0% (high).
Conclusions:
- Machine learning shows significant promise for predicting PEP risk.
- Future research should explore multicenter data, multimodal data integration, severity stratification, and real-time applications.
Keywords:
artificial intelligenceendoscopic retrograde cholangiopancreatographymachine learningpost‐ERCP pancreatitisMore Related Videos
Related Concept Videos
Chronic Pancreatitis II: Collaborative Care
307
The management of chronic pancreatitis is multifaceted, involving a comprehensive approach that includes thorough assessment, diagnostic testing, and a variety of management strategies.
Assessment:
Assessment:
307
Endoscopic Procedures V: ERCP
2.7K
Endoscopic Retrograde Cholangiopancreatography (ERCP) is a diagnostic procedure that combines endoscopy and fluoroscopy to diagnose and treat conditions related to the bile ducts, pancreatic ducts, and gallbladder. This procedure is beneficial for identifying and addressing blockages, gallstones, strictures, and tumors within the biliary or pancreatic systems. ERCP is both diagnostic and therapeutic, offering the ability to visualize and treat identified problems in one session.
Patient...
Patient...
2.7K


