Expert-level classification of gastritis by endoscopy using deep learning: a multicenter diagnostic trial
- PMID: 34079883
- PMCID: PMC8159578
- DOI: 10.1055/a-1372-2789
Expert-level classification of gastritis by endoscopy using deep learning: a multicenter diagnostic trial
Abstract
Background and study aims Endoscopy plays a crucial role in diagnosis of gastritis. Endoscopists have low accuracy in diagnosing atrophic gastritis with white-light endoscopy (WLE). High-risk factors (such as atrophic gastritis [AG]) for carcinogenesis demand early detection. Deep learning (DL)-based gastritis classification with WLE rarely has been reported. We built a system for improving the accuracy of diagnosis of AG with WLE to assist with this common gastritis diagnosis and help lessen endoscopist fatigue. Methods We collected a total of 8141 endoscopic images of common gastritis, other gastritis, and non-gastritis in 4587 cases and built a DL -based system constructed with UNet + + and Resnet-50. A system was developed to sort common gastritis images layer by layer: The first layer included non-gastritis/common gastritis/other gastritis, the second layer contained AG/non-atrophic gastritis, and the third layer included atrophy/intestinal metaplasia and erosion/hemorrhage. The convolutional neural networks were tested with three separate test sets. Results Rates of accuracy for classifying non-atrophic gastritis/AG, atrophy/intestinal metaplasia, and erosion/hemorrhage were 88.78 %, 87.40 %, and 93.67 % in internal test set, 91.23 %, 85.81 %, and 92.70 % in the external test set ,and 95.00 %, 92.86 %, and 94.74 % in the video set, respectively. The hit ratio with the segmentation model was 99.29 %. The accuracy for detection of non-gastritis/common gastritis/other gastritis was 93.6 %. Conclusions The system had decent specificity and accuracy in classification of gastritis lesions. DL has great potential in WLE gastritis classification for assisting with achieving accurate diagnoses after endoscopic procedures.
Conflict of interest statement
Competing interests Drs. Shan Hu, Xiao Hu, and Chao Li are research staff members of Wuhan EndoAngel Medical Technology Company.
Figures





Similar articles
-
Validity of endoscopic features for the diagnosis of Helicobacter pylori infection status based on the Kyoto classification of gastritis.Dig Endosc. 2020 Jan;32(1):74-83. doi: 10.1111/den.13486. Epub 2019 Sep 26. Dig Endosc. 2020. PMID: 31309632
-
Chronic gastritis classification using gastric X-ray images with a semi-supervised learning method based on tri-training.Med Biol Eng Comput. 2020 Jun;58(6):1239-1250. doi: 10.1007/s11517-020-02159-z. Epub 2020 Mar 27. Med Biol Eng Comput. 2020. PMID: 32221796
-
Diagnosis of Helicobacter pylori-related chronic gastritis, gastric adenoma and early gastric cancer by magnifying endoscopy.J Dig Dis. 2016 Oct;17(10):641-651. doi: 10.1111/1751-2980.12404. J Dig Dis. 2016. PMID: 27577845 Review.
-
Effective use of the Japan Narrow Band Imaging Expert Team classification based on diagnostic performance and confidence level.World J Clin Cases. 2019 Sep 26;7(18):2658-2665. doi: 10.12998/wjcc.v7.i18.2658. World J Clin Cases. 2019. PMID: 31616682 Free PMC article. Review.
-
Optic Disc Classification by Deep Learning versus Expert Neuro-Ophthalmologists.Ann Neurol. 2020 Oct;88(4):785-795. doi: 10.1002/ana.25839. Epub 2020 Aug 7. Ann Neurol. 2020. PMID: 32621348
Cited by
-
Where do we stand in AI for endoscopic image analysis? Deciphering gaps and future directions.NPJ Digit Med. 2022 Dec 20;5(1):184. doi: 10.1038/s41746-022-00733-3. NPJ Digit Med. 2022. PMID: 36539473 Free PMC article. Review.
-
Deep learning in ovarian cancer diagnosis: a comprehensive review of various imaging modalities.Pol J Radiol. 2024 Jan 22;89:e30-e48. doi: 10.5114/pjr.2024.134817. eCollection 2024. Pol J Radiol. 2024. PMID: 38371888 Free PMC article. Review.
-
A Multitask Network for the Diagnosis of Autoimmune Gastritis.J Imaging. 2025 May 15;11(5):154. doi: 10.3390/jimaging11050154. J Imaging. 2025. PMID: 40423011 Free PMC article.
-
Diagnostic value of artificial intelligence-assisted endoscopy for chronic atrophic gastritis: a systematic review and meta-analysis.Front Med (Lausanne). 2023 May 2;10:1134980. doi: 10.3389/fmed.2023.1134980. eCollection 2023. Front Med (Lausanne). 2023. PMID: 37200961 Free PMC article.
-
Accuracy of artificial intelligence-assisted endoscopy in the diagnosis of gastric intestinal metaplasia: A systematic review and meta-analysis.PLoS One. 2024 May 14;19(5):e0303421. doi: 10.1371/journal.pone.0303421. eCollection 2024. PLoS One. 2024. PMID: 38743709 Free PMC article.
References
-
- Bray F, Ferlay J, Soerjomataram I et al.Global cancer statistics 2018: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin. 2018;68:394–424. - PubMed
-
- Correa P. Human Gastric Carcinogenesis: A Multistep and Multifactorial Process—First American Cancer Society Award Lecture on Cancer Epidemiology and Prevention. Cancer Research. 1992;52:6735. - PubMed
-
- Rugge M, Meggio A, Pravadelli C et al.Gastritis staging in the endoscopic follow-up for the secondary prevention of gastric cancer: a 5-year prospective study of 1755 patients. Gut. 2019;68:11–17. - PubMed
-
- Leung W K, Ho H J, Lin J-T et al.Prior gastroscopy and mortality in patients with gastric cancer: a matched retrospective cohort study. Gastrointest Endosc. 2018;87:119–1.27E115. - PubMed
LinkOut - more resources
Full Text Sources