Development and validation of a deep learning system for detection of small bowel pathologies in capsule endoscopy: a pilot study in a Singapore institution

Introduction: Deep learning models can assess the quality of images and discriminate among abnormalities in small bowel capsule endoscopy (CE), reducing fatigue and the time needed for diagnosis. They serve as a decision support system, partially automating the diagnosis process by providing probability predictions for abnormalities. Methods: We demonstrated the use of deep learning models in CE image analysis, specifically by piloting a bowel preparation model (BPM) and an abnormality detection model (ADM) to determine frame-level view quality and the presence of abnormal findings, respectively. We used convolutional neural network-based models pretrained on large-scale open-domain data to extract spatial features of CE images that were then used in a dense feed-forward neural network classifier. We then combined the open-source Kvasir-Capsule dataset (n = 43) and locally collected CE data (n = 29). Results: Model performance was compared using averaged five-fold and two-fold cross-validation for BPMs and ADMs, respectively. The best BPM model based on a pre-trained ResNet50 architecture had an area under the receiver operating characteristic and precision-recall curves of 0.969±0.008 and 0.843±0.041, respectively. The best ADM model, also based on ResNet50, had top-1 and top-2 accuracies of 84.03±0.051 and 94.78±0.028, respectively. The models could process approximately 200–250 images per second and showed good discrimination on time-critical abnormalities such as bleeding. Conclusion: Our pilot models showed the potential to improve time to diagnosis in CE workflows. To our knowledge, our approach is unique to the Singapore context. The value of our work can be further evaluated in a pragmatic manner that is sensitive to existing clinician workflow and resource constraints.

[1]  K. Raja,et al.  Parameter-Free Matrix Decomposition for Specular Reflections Removal in Endoscopic Images , 2023, IEEE Journal of Translational Engineering in Health and Medicine.

[2]  A. Mohammed,et al.  Evaluating clinical diversity and plausibility of synthetic capsule endoscopic images , 2023, Scientific reports.

[3]  A. K. Sangaiah,et al.  Machine learning based small bowel video capsule endoscopy analysis: Challenges and opportunities , 2023, Future Gener. Comput. Syst..

[4]  F. Prior,et al.  medigan: a Python library of pretrained generative models for medical image synthesis , 2022, Journal of medical imaging.

[5]  J. Leighton,et al.  Quality Indicators for Capsule Endoscopy and Deep Enteroscopy , 2022, The American journal of gastroenterology.

[6]  Muhammad Asad,et al.  A Robust Deep Model for Classification of Peptic Ulcer and Other Digestive Tract Disorders Using Endoscopic Images , 2022, Biomedicines.

[7]  Nikhil Kumar Tomar,et al.  Video Capsule Endoscopy Classification using Focal Modulation Guided Convolutional Neural Network , 2022, 2022 IEEE 35th International Symposium on Computer-Based Medical Systems (CBMS).

[8]  S. Balakrishnan,et al.  Attention Aware Deep Learning Model for Wireless Capsule Endoscopy Lesion Classification and Localization , 2022, Journal of Medical and Biological Engineering.

[9]  Hélder Cardoso,et al.  Deep learning and colon capsule endoscopy: automatic detection of blood and colonic mucosal lesions using a convolutional neural network , 2022, Endoscopy international open.

[10]  Azeddine Beghdadi,et al.  A Computer-Aided Method for Digestive System Abnormality Detection in WCE Images , 2021, Journal of healthcare engineering.

[11]  S. Coda,et al.  Role of Artificial Intelligence in Video Capsule Endoscopy , 2021, Diagnostics.

[12]  Sharib Ali,et al.  NanoNet: Real-Time Polyp Segmentation in Video Capsule Endoscopy and Colonoscopy , 2021, 2021 IEEE 34th International Symposium on Computer-Based Medical Systems (CBMS).

[13]  Ki Bae Kim,et al.  Artificial intelligence that determines the clinical significance of capsule endoscopy images can increase the efficiency of reading , 2020, PloS one.

[14]  Xinfang Ding,et al.  Using machine‐learning approach to distinguish patients with methamphetamine dependence from healthy subjects in a virtual reality environment , 2020, Brain and behavior.

[15]  Duc Tien Dang Nguyen,et al.  Kvasir-Capsule, a video capsule endoscopy dataset , 2020, Scientific Data.

[16]  Seifedine Kadry,et al.  Computer-Aided Gastrointestinal Diseases Analysis From Wireless Capsule Endoscopy: A Framework of Best Features Selection , 2020, IEEE Access.

[17]  K. Koike,et al.  Automatic detection of various abnormalities in capsule endoscopy videos by a deep learning-based system: a multicenter study. , 2020, Gastrointestinal endoscopy.

[18]  K. Koike,et al.  Artificial intelligence using a convolutional neural network for automatic detection of small‐bowel angioectasia in capsule endoscopy images , 2020, Digestive endoscopy : official journal of the Japan Gastroenterological Endoscopy Society.

[19]  K. Koike,et al.  Automatic detection of blood content in capsule endoscopy images based on a deep convolutional neural network , 2019, Journal of gastroenterology and hepatology.

[20]  E. Klang,et al.  Deep learning algorithms for automated detection of Crohn's disease ulcers by video capsule endoscopy. , 2019, Gastrointestinal endoscopy.

[21]  Yuxiang Xing,et al.  A systematic evaluation and optimization of automatic detection of ulcers in wireless capsule endoscopy on a large dataset using deep convolutional neural networks , 2019, Physics in medicine and biology.

[22]  J. Murray,et al.  Evaluating a combined bowel preparation for small-bowel capsule endoscopy: a prospective randomized–controlled study , 2019, Gastroenterology report.

[23]  C. Le Berre,et al.  Small bowel capsule endoscopy and treat-to-target in Crohn's disease: A systematic review , 2019, World journal of gastroenterology.

[24]  Taghi M. Khoshgoftaar,et al.  A survey on Image Data Augmentation for Deep Learning , 2019, Journal of Big Data.

[25]  T. Berzin,et al.  Real-time automatic detection system increases colonoscopic polyp and adenoma detection rates: a prospective randomised controlled study , 2019, Gut.

[26]  Muhammad Rashid,et al.  Deep CNN and geometric features-based gastrointestinal tract diseases detection and classification from wireless capsule endoscopy images , 2019, J. Exp. Theor. Artif. Intell..

[27]  K. Koike,et al.  Automatic detection of erosions and ulcerations in wireless capsule endoscopy images based on a deep convolutional neural network. , 2019, Gastrointestinal endoscopy.

[28]  Michael D. Vasilakakis,et al.  Detecting and Locating Gastrointestinal Anomalies Using Deep Learning and Iterative Cluster Unification , 2018, IEEE Transactions on Medical Imaging.

[29]  C. Hassan,et al.  Small-bowel capsule endoscopy and device-assisted enteroscopy for diagnosis and treatment of small-bowel disorders: European Society of Gastrointestinal Endoscopy (ESGE) Technical Review , 2018, Endoscopy.

[30]  Vijay Vasudevan,et al.  Learning Transferable Architectures for Scalable Image Recognition , 2017, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[31]  Fei Gao,et al.  Convolutional neural networks for intestinal hemorrhage detection in wireless capsule endoscopy images , 2017, 2017 IEEE International Conference on Multimedia and Expo (ICME).

[32]  Bo Chen,et al.  MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications , 2017, ArXiv.

[33]  Max Q.-H. Meng,et al.  A study on automated segmentation of blood regions in Wireless Capsule Endoscopy images using fully convolutional networks , 2017, 2017 IEEE 14th International Symposium on Biomedical Imaging (ISBI 2017).

[34]  Konrad Paul Kording,et al.  The need to approximate the use-case in clinical machine learning , 2017, GigaScience.

[35]  Max Q.-H. Meng,et al.  A deep convolutional neural network for bleeding detection in Wireless Capsule Endoscopy images , 2016, 2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[36]  Max Q.-H. Meng,et al.  Bleeding Frame and Region Detection in the Wireless Capsule Endoscopy Video , 2016, IEEE Journal of Biomedical and Health Informatics.

[37]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[38]  Christian Szegedy,et al.  Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift , 2015, ICML.

[39]  Yoshua Bengio,et al.  How transferable are features in deep neural networks? , 2014, NIPS.

[40]  Andrew Zisserman,et al.  Very Deep Convolutional Networks for Large-Scale Image Recognition , 2014, ICLR.

[41]  Michael S. Bernstein,et al.  ImageNet Large Scale Visual Recognition Challenge , 2014, International Journal of Computer Vision.

[42]  M. Goenka,et al.  Capsule endoscopy: Present status and future expectation. , 2014, World journal of gastroenterology.

[43]  Stefan Carlsson,et al.  CNN Features Off-the-Shelf: An Astounding Baseline for Recognition , 2014, 2014 IEEE Conference on Computer Vision and Pattern Recognition Workshops.

[44]  Geoffrey E. Hinton,et al.  ImageNet classification with deep convolutional neural networks , 2012, Commun. ACM.

[45]  Max Q.-H. Meng,et al.  Tumor Recognition in Wireless Capsule Endoscopy Images Using Textural Features and SVM-Based Feature Selection , 2012, IEEE Transactions on Information Technology in Biomedicine.

[46]  Guozheng Yan,et al.  Bleeding Detection in Wireless Capsule Endoscopy Based on Probabilistic Neural Network , 2011, Journal of Medical Systems.

[47]  Yoshua Bengio,et al.  Deep Sparse Rectifier Neural Networks , 2011, AISTATS.

[48]  D. Chang,et al.  Capsule endoscopy in small bowel tumors: A multicenter Korean study , 2010, Journal of gastroenterology and hepatology.

[49]  Xavier Glorot,et al.  Understanding the difficulty of training deep feedforward neural networks , 2010, AISTATS.

[50]  Fei-Fei Li,et al.  ImageNet: A large-scale hierarchical image database , 2009, 2009 IEEE Conference on Computer Vision and Pattern Recognition.

[51]  A. Ruano-Raviña,et al.  Effectiveness and Safety of Capsule Endoscopy in the Diagnosis of Small Bowel Diseases , 2008, Journal of clinical gastroenterology.

[52]  A F P K Leong,et al.  Wireless capsule endoscopy: light at the end of the tunnel for obscure gastrointestinal bleeding. , 2003, Singapore medical journal.

[53]  David G. Lowe,et al.  Object recognition from local scale-invariant features , 1999, Proceedings of the Seventh IEEE International Conference on Computer Vision.

[54]  D. V. Essen,et al.  Neural mechanisms of form and motion processing in the primate visual system , 1994, Neuron.

[55]  Gyu Sang Choi,et al.  Wireless Capsule Endoscopy Bleeding Images Classification Using CNN Based Model , 2021, IEEE Access.

[56]  Guigang Zhang,et al.  Deep Learning , 2016, Int. J. Semantic Comput..

[57]  Nitish Srivastava,et al.  Dropout: a simple way to prevent neural networks from overfitting , 2014, J. Mach. Learn. Res..

[58]  Gary King,et al.  Logistic Regression in Rare Events Data , 2001, Political Analysis.