Deep learning to predict esophageal variceal bleeding based on endoscopic images

J Int Med Res. 2023 Oct;51(10):3000605231200371. doi: 10.1177/03000605231200371.

Abstract

Objective: Esophageal varix (EV) bleeding is a particularly serious complications of cirrhosis. Prediction of EV bleeding requires extensive endoscopy experience; it remains unreliable and inefficient. This retrospective cohort study evaluated the feasibility of using deep learning (DL) to predict the 12-month risk of EV bleeding based on endoscopic images.

Methods: Six DL models were trained to perform binary classification of endoscopic images of EV bleeding. The models were subsequently validated using an external test dataset, then compared with classifications performed by two endoscopists.

Results: In the validation dataset, EfficientNet had the highest accuracy (0.910), followed by ConvMixer (0.898) and Xception (0.875). In the test dataset, EfficientNet maintained the highest accuracy (0.893), which was better than the endoscopists (0.800 and 0.763). Notably, one endoscopist displayed higher recall (0.905), compared with EfficientNet (0.870). When their predictions were assisted by artificial intelligence, the accuracies of the two endoscopists increased by 17.3% and 19.0%. Moreover, statistical agreement among the models was dependent on model architecture.

Conclusions: This study demonstrated the feasibility of using DL to predict the 12-month risk of EV bleeding based on endoscopic images. The findings suggest that artificial intelligence-aided diagnosis will be a useful addition to cirrhosis management.

Keywords: Computer vision; cirrhosis.; deep learning; endoscopy; esophageal variceal bleeding; gradient-weighted class activation mapping.

MeSH terms

  • Artificial Intelligence
  • Deep Learning*
  • Endoscopy, Gastrointestinal / adverse effects
  • Esophageal and Gastric Varices* / complications
  • Esophageal and Gastric Varices* / diagnostic imaging
  • Gastrointestinal Hemorrhage / diagnostic imaging
  • Gastrointestinal Hemorrhage / etiology
  • Humans
  • Liver Cirrhosis / diagnosis
  • Liver Cirrhosis / diagnostic imaging
  • Retrospective Studies