Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Jun 25;19(6):e0305628.
doi: 10.1371/journal.pone.0305628. eCollection 2024.

Development of an ensemble CNN model with explainable AI for the classification of gastrointestinal cancer

Affiliations

Development of an ensemble CNN model with explainable AI for the classification of gastrointestinal cancer

Muhammad Muzzammil Auzine et al. PLoS One. .

Abstract

The implementation of AI assisted cancer detection systems in clinical environments has faced numerous hurdles, mainly because of the restricted explainability of their elemental mechanisms, even though such detection systems have proven to be highly effective. Medical practitioners are skeptical about adopting AI assisted diagnoses as due to the latter's inability to be transparent about decision making processes. In this respect, explainable artificial intelligence (XAI) has emerged to provide explanations for model predictions, thereby overcoming the computational black box problem associated with AI systems. In this particular research, the focal point has been the exploration of the Shapley additive explanations (SHAP) and local interpretable model-agnostic explanations (LIME) approaches which enable model prediction explanations. This study used an ensemble model consisting of three convolutional neural networks(CNN): InceptionV3, InceptionResNetV2 and VGG16, which was based on averaging techniques and by combining their respective predictions. These models were trained on the Kvasir dataset, which consists of pathological findings related to gastrointestinal cancer. An accuracy of 96.89% and F1-scores of 96.877% were attained by our ensemble model. Following the training of the ensemble model, we employed SHAP and LIME to analyze images from the three classes, aiming to provide explanations regarding the deterministic features influencing the model's predictions. The results obtained from this analysis demonstrated a positive and encouraging advancement in the exploration of XAI approaches, specifically in the context of gastrointestinal cancer detection within the healthcare domain.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. GI tract [4].
Fig 2
Fig 2
(a): Endoscopy procedure. [17], (b): Colonoscopy procedure. [18].
Fig 3
Fig 3. Structure of proposed model.
Fig 4
Fig 4. Example of pathological revelations [26] (a): Esophagitis, (b): Polyps, (c): Ulcerative Colitis.
Fig 5
Fig 5. Model architecture.
(A): InceptionV3; (B): InceptionResnetV2; (C): VGG16.
Fig 6
Fig 6. Architecture of the ensemble model.
Fig 7
Fig 7. Ensemble model compared to the individual models.
Fig 8
Fig 8. Confusion matrix [(a): VGG16, (b): InceptionV3, (c): InceptionResnetV2, (d): Ensemble model].
Fig 9
Fig 9. Correctly classified polyps.
Fig 10
Fig 10. Correctly classified esophagistis.
Fig 11
Fig 11. Correctly classified ulcerative colitis.
Fig 12
Fig 12. Polyps classified as esophagistis.
Fig 13
Fig 13. Polyps classified as ulcerative colitis.
Fig 14
Fig 14. Ulcerative colitis classified as esophagitis.
Fig 15
Fig 15. Ulcerative colitis classified as polyps.

References

    1. Cancer (IARC) TIAfRo. Global Cancer Observatory;. Available from: https://gco.iarc.fr/.
    1. Medicine Y. Gastrointestinal Cancers;. Available from: https://www.yalemedicine.org/conditions/gastrointestinal-cancers.
    1. Arnold M, Abnet CC, Neale RE, Vignat J, Giovannucci EL, McGlynn KA, et al.. Global Burden of 5 Major Types Of Gastrointestinal Cancer. Gastroenterology. 2020;159(1):335–349.e15. doi: 10.1053/j.gastro.2020.02.068 - DOI - PMC - PubMed
    1. Institute NC. Definition of gastrointestinal tract—NCI Dictionary of Cancer Terms—NCI; 2011. Available from: https://www.cancer.gov/publications/dictionaries/cancer-terms/def/gastro....
    1. Islami F, Goding Sauer A, Miller KD, Siegel RL, Fedewa SA, Jacobs EJ, et al.. Proportion and number of cancer cases and deaths attributable to potentially modifiable risk factors in the United States. CA: a cancer journal for clinicians. 2018;68(1):31–54. - PubMed

MeSH terms