AI-Based Prediction of Post-ERCP Pancreatitis: A Comparative Study Using Tabular, Image, and Multimodal Data.
Anum Jamil1,2, Waseemullah Nazir1, Abeer Altaf2
1Department of Computer Science and Information Technology, NED University of Engineering and Technology, Main University Road, Karachi 75270, Sindh, Pakistan.
Diagnostics (Basel, Switzerland)
|June 26, 2026
Summary
Predicting Post-Endoscopic Retrograde Cholangiopancreatography Pancreatitis (PEP) is crucial for patient care. Structured clinical data showed the strongest predictive signals for PEP risk, outperforming image and multimodal approaches in this study.
Area of Science:
- Gastroenterology and Endoscopy
- Medical Informatics and Machine Learning
- Clinical Prediction Modeling
Background:
- Post-Endoscopic Retrograde Cholangiopancreatography Pancreatitis (PEP) is a significant complication of ERCP, affecting 2-10% of patients.
- Early prediction of PEP risk is vital for timely intervention and improved patient outcomes.
- This study evaluated the predictive capabilities of clinical data, endoscopic images, and multimodal approaches for PEP.
Purpose of the Study:
- To comparatively assess the performance of machine learning models using tabular clinical data, endoscopic images, and multimodal fusion for predicting PEP.
- To identify key clinical and imaging features associated with PEP risk.
- To explore the potential of advanced AI techniques in managing ERCP complications.
Main Methods:
- Retrospective analysis of clinical and endoscopic data from a single center.
- Application of XGBoost for tabular data and EfficientNet-B0, ResNet50, DenseNet201 for image data.
- Development of a multimodal contrastive learning framework combining image and tabular features.
- Implementation of class imbalance mitigation techniques and performance evaluation using AUC, sensitivity, and F1-score.
Main Results:
- The XGBoost model using tabular clinical data achieved the highest predictive performance (AUC 0.95).
- Image-based models, particularly ResNet50, showed moderate performance (AUC 0.76).
- The multimodal model demonstrated lower predictive power (AUC 0.57). Key predictors included cannulation time, ampulla type, and patient age.
Conclusions:
- Structured clinical data currently offer the most robust predictive signals for PEP compared to endoscopic images or multimodal fusion in this cohort.
- Class imbalance due to the low incidence of PEP remains a challenge.
- Future multicenter studies with larger datasets and advanced techniques are needed to enhance predictive accuracy and clinical utility.
Related Concept Videos
Endoscopic Procedures V: ERCP
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...
Appendicitis-II: Diagnostic Studies and Management
Diagnosing and managing appendicitis requires a structured and comprehensive approach that spans from initial assessment to postoperative care. Here is an overview of the process:
Diagnosing Appendicitis
It requires a multifaceted approach, starting with a detailed physical examination to pinpoint the location and nature of the pain and identify any associated symptoms. Laboratory tests play a crucial role. A complete Blood Count (CBC) typically reveals leukocytosis (an increased number of...
Diagnosing Appendicitis
It requires a multifaceted approach, starting with a detailed physical examination to pinpoint the location and nature of the pain and identify any associated symptoms. Laboratory tests play a crucial role. A complete Blood Count (CBC) typically reveals leukocytosis (an increased number of...
Chronic Pancreatitis II: Collaborative Care
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:
