Next Article in Journal
Brain Metastases from Primary Cardiac Tumors: A Systematic Review of Diagnosis, Treatment, and Prognosis
Previous Article in Journal
Personalizing Neoadjuvant Chemotherapy: The Impact of BRCA Variants on Pathologic Complete Response in Luminal B Breast Cancer
Previous Article in Special Issue
Line-Field Confocal Optical Coherence Tomography: Is One Hour of Training Sufficient for Diagnosing Basal Cell Carcinoma?
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Association Between Heatmap Position and the Diagnostic Accuracy of Artificial Intelligence for Colorectal Polyp Diagnosis

by
Ayla Thijssen
1,2,*,
Nikoo Dehghani
3,
Ruud W. M. Schrauwen
4,
Eric T. P. Keulen
5,
Eveline J. A. Rondagh
5,
Mark H. P. van Avesaat
5,
Khalida Soufidi
5,
Ankie Reumkens
5,
Paul H. A. Bours
5,
Quirine E. W. van der Zander
1,2,
Peter H. N. de With
3,
Bjorn Winkens
6,7,
Fons van der Sommen
3 and
Erik J. Schoon
2,8
1
Department of Gastroenterology and Hepatology, Maastricht University Medical Center+, 6202 AZ Maastricht, The Netherlands
2
GROW Research Institute for Oncology and Reproduction, Maastricht University, 6202 AZ Maastricht, The Netherlands
3
Department of Electrical Engineering, Eindhoven University of Technology, 5600 MB Eindhoven, The Netherlands
4
Department of Gastroenterology and Hepatology, Bernhoven Hospital, Nistelrodeseweg 10, 5406 PT Uden, The Netherlands
5
Department of Gastroenterology and Hepatology, Zuyderland Medical Center, Dr. H. van der Hoffplein 1, 6162 AP Sittard-Geleen, The Netherlands
6
Department of Methodology and Statistics, Maastricht University, 6202 AZ Maastricht, The Netherlands
7
CAPHRI, Care and Public Health Research Institute, Maastricht University, 6202 AZ Maastricht, The Netherlands
8
Department of Gastroenterology and Hepatology, Catharina Hospital, Michelangelolaan 2, 5623 EJ Eindhoven, The Netherlands
*
Author to whom correspondence should be addressed.
Cancers 2025, 17(10), 1620; https://doi.org/10.3390/cancers17101620
Submission received: 18 April 2025 / Accepted: 2 May 2025 / Published: 10 May 2025

Simple Summary

Artificial intelligence (AI) shows great potential to improve the diagnosis of colorectal polyps, precursors of colorectal cancer, during endoscopy. However, AI is not widely used for this purpose yet. Among other things, this is caused by a lack of trust in AI. Explainable AI could increase trust in AI by creating more transparent outcomes. Heatmaps are an example of visually explainable AI. Heatmaps highlight the target area of an image used by the AI algorithm to make a diagnosis. This study aimed to investigate the association between heatmap position and AI accuracy for the diagnosis of colorectal polyps on endoscopic images. The higher the percentage of heatmap covering the colorectal polyp, the better the AI accuracy was in four different AI algorithms. With this knowledge, doctors using AI in colonoscopy know that it is relevant to strive for an AI diagnosis with a heatmap covering as much colorectal polyp tissue as possible.

Abstract

Background/Objectives: Artificial intelligence (AI) algorithms for diagnosing colorectal polyps are emerging but not yet widely used. Trust in AI is lacking and could be improved by visually explainable AI, such as heatmaps. This study aims to investigate the association between heatmap position and AI accuracy for the endoscopic characterization of colorectal polyps. Methods: Four AI algorithms diagnosed 2133 prospectively collected images of 376 colorectal polyps from two hospitals, using histopathology as the gold standard. Heatmap position was compared to the human-annotated polyp position. Generalized estimating equations were used to assess the association between heatmap position and a correct AI diagnosis. Results: Higher percentages of heatmap covering the colorectal polyp were associated with correct diagnoses in all four algorithms (OR 1.013 [95% CI 1.006–1.019], OR 1.025 [95% CI 1.011–1.039], OR 1.038 [95% CI 1.024–1.053], and OR 1.039 [95% CI 1.020–1.058]—all p < 0.001). A higher percentage of polyp not covered by heatmap was associated with a correct diagnosis of Algorithm 1 (OR 1.006 [95% CI 1.003–1.010], p < 0.001), while in Algorithm 2, a lower percentage was associated with a correct diagnosis (OR 0.992 [95% CI 0.985–1.000], p 0.044). Algorithms 3 and 4 showed negative, but not statistically significant, associations. Conclusions: Higher percentages of heatmap covering the polyp were associated with correct diagnoses of four AI algorithms. This indicates that it is clinically relevant to strive for AI predictions with heatmaps covering as much colorectal polyp tissue as possible. Knowing how to interpret heatmaps could increase trust in AI and, with that, benefit the implementation of AI in clinical practice.

1. Introduction

The application of artificial intelligence (AI) to improve the endoscopic optical diagnosis of colorectal polyps, precursors of colorectal cancer, is a relevant topic in current gastroenterology research. Computer-aided diagnosis (CADx) systems are achieving promising results in distinguishing benign from premalignant colorectal polyps [1,2]. Improved optical diagnosis using CADx systems could facilitate the application of the ‘diagnose-and-leave’ and ‘resect-and-discard’ treatment strategies in clinical practice [3,4]. With these strategies, diminutive (≤5 mm) hyperplastic polyps could be left in situ, and diminutive adenomas could be resected without histopathological examination, reducing post-polypectomy complications and healthcare costs.
Nevertheless, CADx systems for diminutive colorectal polyps are not being widely used in daily clinical practice yet. Among other things, this is likely a result of a lack of trust in AI by endoscopists. Previous research has shown that trust is a primary mediator for the acceptance of AI in clinical practice by endoscopists [5]. Current CADx systems generate diagnoses using methods that are not transparent. This “black box” characteristic of AI algorithms can negatively influence AI trustworthiness [6].
Explainable AI is a solution to enhance transparency and provide insight into the reasoning behind an AI diagnosis, by explaining the internal decision-making process of neural networks in an easy-to-understand way [7,8]. Discarding an informative CADx prediction due to a lack of trust, called under-reliance, could be limited with explainable AI [9]. Additionally, explainable AI might make the application of CADx systems in clinical practice safer by decreasing over-reliance and could enable the optimal interaction between CADx systems and their users, because endoscopists can make substantiated decisions to either agree with a CADx system diagnosis or not. If the endoscopists are outperforming CADx systems, explainable AI can also identify the CADx system failure better, guiding the future improvement of the CADx system to come closer to implementation in clinical practice [10]. Furthermore, less experienced endoscopists can learn from CADx diagnoses containing explainable AI. Therefore, the explainability of AI algorithms might play a key role in their adoption in clinical practice.
Textual descriptions of colorectal polyp features are a form of explainable AI and have the potential to increase the understanding of AI predictions [11]. Alternatively, heatmaps are visual explanations highlighting the target area of an image used by the AI algorithm to make a prediction [10,12,13]. Saliency mapping can be used to see which information of the image is used by a classification model to make its prediction (e.g., Grad-CAM, Gradient-weighted class activation mapping [10]).
In practice, endoscopic images of colorectal polyps often contain additional information such as the surrounding mucosa or colon lumen. When using a CADx system on these endoscopic images, heatmaps can be placed on the colorectal polyp, possibly additionally on surrounding features, or even only on surrounding features. In order to use heatmaps as a form of explainable AI to increase trust in AI, knowledge regarding the correct interpretation of heatmaps is required. In other words, endoscopists would benefit from evidence to learn if a heatmap needs to cover the colorectal polyp in order to increase the chances of an accurate characterization. This knowledge could guide the clinical use of CADx systems with heatmaps by clarifying whether it would be helpful to reposition the endoscope if the heatmap does not cover the polyp correctly. Although intuitively it would seem most logical that heatmaps need to cover (solely) the colorectal polyp to make the most accurate prediction, this has not yet been proven in an experimental setting. The performance of explanations is rarely tested, especially not by scoring explanations from a human perspective [14].
This study aims to investigate the association between heatmap position and the diagnostic accuracy of four AI algorithms for the characterization of colorectal polyps on endoscopic images.

2. Materials and Methods

2.1. Data Collection and Preprocessing

In this study, two datasets containing images of colorectal polyps were collected prospectively.
At Bernhoven Hospital Uden, the Netherlands, a dataset with Fujifilm (Tokyo, Japan) videos was collected between April 2022 and January 2024. Videos were taken by one endoscopist. For this study, frames of colorectal lesions were captured from these videos. If possible, nine unique images were extracted for each colorectal polyp—three images in each image enhancement technique (HDWL, high-definition white light; BLI, blue light imaging; and LCI, linked color imaging).
At Zuyderland Medical Center Sittard-Geleen, the Netherlands, a dataset with Olympus (Tokyo, Japan) images was collected between September 2022 and August 2023. In this center, images were taken by six endoscopists. The dataset contained one image in HDWL and one image in narrow-band imaging (NBI) for each colorectal polyp.
All polyps were marked in each image by a research physician (AT) using the annotation software LabelMe (Figure 1A) [15]. Subsequently, polyp masks were extracted from the annotated images (Figure 1B) to be used as a gold standard for polyp position. The Department of Electrical Engineering at Eindhoven University of Technology was responsible for the application of different network architectures to the data.
This study was approved by the Institutional Review Boardsof Bernhoven Hospital, MUMC+, and Zuyderland Medical Center and by the Medical Research Ethics Committee of MUMC+ (METC2019-1231 and METC2021-3036).

2.2. Network Architectures

Four AI algorithms were used in this study, with ResNet50 and EfficientNet-B4 serving as the core architectures for each algorithm. These models are known for achieving state-of-the-art accuracy on the ImageNet dataset. Algorithm 1 enhances the AI model employed in Dehghani et al. (2024) [16] by incorporating an in-domain pretrained model with a large-scale endoscopic dataset, namely GastroNet [17], while the other three algorithms (described in Kusters et al. (2022) [18]) rely on ImageNet pretraining but are trained with different amounts of images. Using these different AI algorithms enables an evaluation of how heatmap interpretability may be influenced by different model architectures (Algorithm 1 compared to the other algorithms) and training conditions, specifically varying dataset sizes (comparing Algorithms 2, 3, and 4). Various data augmentation techniques were applied during training to enhance the models’ generalization capabilities. A summary of the base architecture and the corresponding number of training images for each algorithm is presented in Table 1.
To optimize classification, the central region of the training images was automatically selected as the region of interest (ROI). This cropped area captures the polyp along with its surrounding texture, ensuring comprehensive coverage, as illustrated in Figure 2.
Each algorithm produced binary predictions (benign or premalignant), after which a heatmap was additionally extracted. Provided heatmaps are obtained using Grad-CAM [10]. Grad-CAM is a visualization technique that identifies parts of the image that mostly influenced the AI algorithm’s classification, with the most influential areas highlighted in red. This visual representation provides insight into how specific parts of the image impact the model’s output.

2.3. Statistical Analysis

Patient and polyp characteristics were described using mean and standard deviation (SD) values for numerical variables and number and percentage values for categorical ones.
Sensitivity, specificity, negative predictive value (NPV), positive predictive value (PPV), diagnostic accuracy, and area under the receiver operating characteristic curve (AUROC) with corresponding 95% confidence intervals [CIs] were calculated for all four algorithms, with histopathology as the gold standard. These 95% CIs were computed using cluster bootstrapping based on 5000 iterations to account for clustering (multiple images of the same polyp). For the analysis, polyp histology was dichotomized into the categories benign and premalignant. The category benign consisted solely of hyperplastic polyps. The category premalignant consisted of adenomas and sessile serrated lesions.
The percentage of heatmap covering the polyp was calculated as the ratio between the overlap of the heatmap and the polyp (green in Figure 3B) and the joint heatmap area (red + green in Figure 3B), multiplied by 100.
The percentage of the polyp not covered by the heatmap was calculated as the ratio between the part of the polyp not covered by the heatmap (orange in Figure 3B) and the entire polyp area (green + orange in Figure 3B), multiplied by 100.
The relation between these two percentages and a correct algorithm prediction was evaluated using generalized estimating equations (GEEs) with a logit link. A GEE was used to account for the clustering of several images from the same polyp. Odds ratios (ORs), 95% CIs. corresponding original p values, and the adjusted p values using the Benjamini–Hochberg method are reported. Two-sided p values ≤ 0.05 were considered statistically significant. Statistical analyses were performed using IBM SPSS Statistics for Windows version 28 (IBM Corp., Armonk, NY, USA), R version 4.3.3, and the online Vassarstats calculator (https://vassarstats.net/kappa.html, accessed on 21 May 2024).

3. Results

3.1. Patients and Colorectal Polyps

In total, data from 195 patients were collected (Table A1). In most cases, one (49.7%) polyp per patient was collected.
From these 195 patients, 376 colorectal polyps were included in this study (Table 2). The majority of the colorectal polyps were diminutive (90.6%), with a mean size of 3.74 mm. Most polyps were tubular adenomas (79.5%). Benign, hyperplastic polyps represented 7.4% of the cases. Out of the 367 polyps, 212 (56.4%) were visualized with Fujifilm and the remaining 164 (43.6%) polyps with Olympus. On average, 5.7 images were available per polyp.

3.2. Diagnostic Performance of the Artificial Intelligence Algorithms

Out of the 2153 available colorectal polyp images, 20 images were excluded because the polyp was not visible in the cropped image version. The remaining 2133 images were diagnosed by four different AI algorithms (Table 3). Algorithm 1 showed the best diagnostic performance with a sensitivity of 80.6% (95% CI 77.1–84.0), specificity of 58.1% (95% CI 41.7–74.5), PPV of 97.0% (95% CI 95.4–98.7), NPV of 15.0% (95% CI 7.3–22.8), diagnostic accuracy of 79.3% (95% CI 76.0–82.7), and AUROC of 69.5% (95% CI 64.1–74.8).

3.3. Factors Associated with a Correct Algorithm Diagnosis

The results from GEE analysis examining the association between heatmap position and a correct algorithm diagnosis are presented in Table 4.
Higher percentages of heatmap covering the colorectal polyp were associated with a correct diagnosis in Algorithm 1 (OR 1.013 [95% CI 1.006–1.019], p < 0.001), Algorithm 2 (OR 1.025 [95% CI 1.011–1.039], p < 0.001), Algorithm 3 (OR 1.038 [95% CI 1.024–1.053], p < 0.001), and Algorithm 4 (OR 1.039 [95% CI 1.020–1.058], p < 0.001).
A higher percentage of the polyp not covered by the heatmap was associated with a correct diagnosis in Algorithm 1 (OR 1.006 [95% CI 1.003–1.010], p < 0.001). However, in Algorithm 2, a lower percentage of the polyp not covered by the heatmap was associated with a correct diagnosis (OR 0.992 [95% CI 0.985–1.000], p 0.044). Similar to Algorithm 2, Algorithms 3 and 4 showed negative, but not statistically significant, associations.
Polyps with a premalignant histopathology were associated with a correct algorithm diagnosis, with statistically significant results in three out of four algorithms.
Images from the endoscopy brand Olympus were also associated with a correct algorithm diagnosis, which was statistically significant in Algorithm 1 (OR 1.812 [95% CI 1.181–2.779], p 0.006) and Algorithm 4 (OR 1.481 [95% CI 1.006–2.180], p 0.046).

4. Discussion

In this study, we examined the association between heatmap position and the accuracy of four different algorithms in the characterization of colorectal polyps. This was examined both from the perspective of the heatmap and polyp, looking at the percentage of the heatmap covering colorectal polyp and looking at the percentage of the polyp that was not covered by heatmap.
GEE analysis showed a statistically significant association between a higher percentage of the heatmap covering the polyp and a correct diagnosis in all four AI algorithms. These findings indicate that it is clinically relevant to strive for AI algorithm predictions with a heatmap that covers as much colorectal polyp tissue as possible and as little surrounding colon tissue as possible. Therefore, it seems important for the CADx system to first correctly detect a colorectal polyp. Combining computer-aided detection (CADe) techniques with CADx systems could be preferred in future AI algorithms, similar to existing CADe/CADx combinations such as GI Genius (Medtronic, Dublin, Ireland) [19] and CAD EYE (Fujifilm, Tokyo, Japan) [20].
In contrast, the percentage of a polyp not covered by the heatmap does not seem to be strongly associated with a correct diagnosis by the AI algorithms. In Algorithms 2–4, the expected association of a lower percentage of a polyp not covered by the heatmap and correct algorithm diagnosis was found, although only statistically significant in Algorithm 2 before using the Benjamini–Hochberg method. Unexpectedly, Algorithm 1 showed a statistically significant association between a higher percentage of a polyp not covered by the heatmap and a correct algorithm diagnosis. A visual comparison between Algorithms 1 and 2 demonstrated that Algorithm 1’s heatmaps appear more spatially focused, highlighting a smaller region within the lesion, whereas Algorithm 2 shows a broader coverage encompassing the entire lesion (Appendix A, Figure A1). It is important to consider that a higher percentage of a polyp not covered by the heatmap does not imply that Algorithm 1 mislocalizes the polyp, but rather that it uses a more refined focus on diagnostically relevant features. The different heatmap localization pattern of Algorithm 1 in comparison to the other algorithms can be a result of the different architecture and additional domain-specific self-supervised pretraining with GastroNet images (Table 1). This confirms the effectiveness of self-supervised learning to enhance AI algorithm robustness and interpretability, which has been shown in previous research in medical imaging [21]. The contradictory results for the different algorithms imply that, in general, the percentage of a polyp that is covered by the heatmap is not the most important indicator for a correct algorithm diagnosis, while the percentage of the heatmap that contains colorectal polyp tissue is. In Figure 4, examples of different heatmap coverages are visualized. In clinical practice, our results indicate that it seems the most important to aim for a heatmap that covers colorectal polyps (Figure 4A,C). It is less important if there is an additional part of the polyp not covered by that heatmap (Figure 4A). In case the heatmap covers more tissue surrounding the colorectal polyp (Figure 4B,D), the endoscopist using the AI algorithm in clinical practice could consider repositioning the endoscope and obtaining a new image as input for the AI algorithm, to possibly increase the chances of a correct algorithm diagnosis.
Additionally, our analysis showed a statistically significant association between polyp histology and a correct diagnosis in three out of four AI algorithms. This can be explained by the diagnostic performance of the algorithms. A relatively high sensitivity, when compared to a lower specificity, means that premalignant polyps are diagnosed correctly more often than benign polyps. This can be a consequence of a lower number of benign cases. We also found images with the endoscopy brand Olympus to be associated with correct diagnoses, indicating that the training data might be unbalanced, or this might possibly be as a consequence of pretraining with GastroNet in Algorithm 1 [17,22,23]. Other factors, such as age, gender, polyp location, and polyp size, did not appear to be associated with the chance of a correct diagnosis.
The application of AI in gastrointestinal endoscopy is increasing tremendously. However, endoscopists mostly lack the technical background to fully understand AI outcomes [22]. Ideally, the results of this study should be incorporated into a quality check with each AI algorithm diagnosis. Previous studies have shown the importance of image quality in relation to AI algorithm performance [24]. Factors such as blur and insufficient lighting can influence the performance of AI algorithms. Therefore, future algorithms would benefit from an image quality indicator with each prediction. If the heatmap does not sufficiently cover the polyp, this image quality indicator could advise the endoscopist to reposition the endoscope.
Visual explanations of AI algorithm predictions can be described as highlighting ‘important’ pixels, meaning that changes in the intensity of these pixels would impact the algorithm prediction the most [10]. Grad-CAM is a class-discriminative visualization technique, meaning that it localizes the prediction category within the image. This can also be modified into counterfactual explanations, highlighting regions that would cause the AI algorithm to change its prediction. In clinical practice, these counterfactual explanations could, for example, be used to point out feces or bubbles in the frame, which, after removal, would make the AI algorithm more confident in its classification. It should be noted that counterfactual explanations highlight all regions causing AI to change its predictions, which also include regions that are not always clinically logical. Noise can be a complicating factor in colorectal polyp images, caused by movements of the colon while capturing images of polyps, for example. Medical image denoising is an image preprocessing technique that has been shown to efficiently denoise radiological medical images and could potentially be applied to endoscopic images as well [25]. Deblurring has shown improved performance of AI models for several medical image analysis tasks [26]. Whether factors such as blur or inadequate lighting are also associated with less accurate heatmap positions is still unknown. The influence of denoising and deblurring on the accuracy of heatmaps should be considered in future research.
Even though heatmaps covering colorectal polyps are associated with correct algorithm diagnoses and can thus be used with this knowledge in clinical practice, we would like to emphasize the importance of the proper external validation of each AI algorithm [14]. Trust in the prediction of a CADx system should not merely rely on an accurate heatmap. Primarily, AI algorithm performance needs to be evaluated thoroughly. Subsequently, AI algorithms can be used in clinical practice with heatmaps as an indicator of algorithm accuracy, possibly increasing trust in the algorithm.
The limitations of this study should be addressed. Although the primary aim of this study was to investigate the association between heatmap position and AI diagnostic accuracy, the four algorithms used in this study showed suboptimal diagnostic performance. Even in suboptimal-performing models, understanding how and where the AI “looks” can provide meaningful insights into algorithm behavior and trustworthiness. It might be preferred to include more benign colorectal polyps to be able to assess specificity and NPV more precisely. However, it is important to note that the test dataset was collected prospectively and reflects clinical practice where hyperplastic polyps are less common and less frequently resected. This study aimed to preserve the clinical relevance of the results by avoiding the augmentation of the class imbalance in the test dataset. Other methods to improve algorithm performance could be to implement preprocessing techniques, to use large-scale pretraining and extend this to other algorithm architectures that have shown promise in medical imaging, such as Vision Transformers, or to use video data instead of static images.
Additionally, this study used independent datasets for AI algorithm training, internal validation, and final testing but lacks external validation. To further establish the robustness and generalizability of the results, external validation is an important direction for future research. With the limited number of correct diagnoses and eight variables in the GEE model, overfitting cannot be ruled out. Future research with external validation could clarify this.
Furthermore, 20 images had to be excluded from this study because the colorectal polyp was not visible in the cropped image. In future research, we hope to be able to apply the techniques on uncropped, original endoscopy images.
In this study, we used four different AI algorithms, aiming to obtain results that can be translated to many AI algorithms. However, we acknowledge that the association between heatmap position and diagnostic accuracy found in this study may still not be generalizable to other, better-performing algorithms. Before using an AI algorithm in clinical practice, it could be relevant to study this association for that particular algorithm.
Finally, multiple images from one polyp were used in the analysis. Corrections for this factor were applied in the calculations of the algorithm’s diagnostic performance. However, it could be preferred to use only one image per polyp, although creating large datasets with a single original image from one polyp can be challenging.

5. Conclusions

In conclusion, this study indicates that a higher percentage of heatmap covering polyp tissue is associated with a correct diagnosis of four different AI algorithms. Heatmap position was compared to the human-annotated polyp position. With these results, we hope to contribute to the optimal use of AI algorithms for colorectal polyps. Knowing how to interpret heatmaps has the potential to increase trust in AI and, with that, benefit the implementation of AI algorithms in clinical practice.

Author Contributions

Conceptualization, A.T., N.D., F.v.d.S., and E.J.S.; methodology, A.T. and N.D.; software, N.D.; validation, A.T. and B.W.; formal analysis, A.T. and B.W.; investigation, A.T. and N.D.; resources, R.W.M.S., E.T.P.K., E.J.A.R., M.H.P.v.A., K.S., A.R., and P.H.A.B.; data curation, A.T.; writing—original draft preparation, A.T.; writing—review and editing, A.T., N.D., R.W.M.S., E.T.P.K., E.J.A.R., M.H.P.v.A., K.S., A.R., P.H.A.B., Q.E.W.v.d.Z., P.H.N.d.W., B.W., F.v.d.S., and E.J.S.; visualization, A.T.; supervision, P.H.N.d.W., B.W., F.v.d.S., and E.J.S.; project administration, A.T.; funding acquisition, Q.E.W.v.d.Z., P.H.N.d.W., F.v.d.S., and E.J.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Dutch Cancer Society, grant number 12639.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Institutional Review Boards of Bernhoven Hospital, MUMC+, and Zuyderland Medical Center and by the Medical Research Ethics Committee of MUMC+ (METC2019-1231 and METC2021-3036).

Informed Consent Statement

Patient consent was waived due to compliance with the no-objection rule (Dutch Civil Code art. 7:458).

Data Availability Statement

The data are not publicly available due to contractual agreements regarding patient privacy with the hospitals where the data were collected.

Acknowledgments

We thank Niels van Leeuwen for his contribution to the data collection. Furthermore, we thank the other members of the COMET-OPTICAL consortium for their contribution to this research: R.J.J. de Ridder, J.J.L. Haans, C.V. Hoge, J.M. Conchillo, J.W.A. Straathof, and F.G.M. Smeets.

Conflicts of Interest

F.v.d.S. received research support from Olympus outside the submitted work. E.S. received research support and speaker fees from Fujifilm outside the submitted work. Q.v.d.Z. was supported by Fujifilm Inc. to attend scientific meetings outside the submitted work. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
AIArtificial intelligence
BLIBlue light imaging
CADeComputer-aided detection
CADxComputer-aided diagnosis
GEEGeneralized estimating equations
Grad-CAMGradient-weighted class activation mapping
CIConfidence interval
HDWLHigh-definition white light
LCILinked color imaging
NBINarrow-band imaging
NPVNegative predictive value
OR Odds ratio
PPVPositive predictive value

Appendix A

Table A1. Patient characteristics.
Table A1. Patient characteristics.
Patient CharacteristicsN = 195
Gender, n (%)
 Male130 (66.7)
 Female66 (33.3)
 Age, mean (SD)65.8 (7.1)
Number of polyps per patient, n (%)
 197 (49.7)
 247 (24.1)
 328 (14.4)
 415 (7.7)
 57 (3.6)
 61 (0.5)
n, number; SD, standard deviation.
Figure A1. Examples of heatmap coverage from (A,C,E) Algorithm 1 and (B,D,F) Algorithm 2 in correctly classified cases.
Figure A1. Examples of heatmap coverage from (A,C,E) Algorithm 1 and (B,D,F) Algorithm 2 in correctly classified cases.
Cancers 17 01620 g0a1

References

  1. Hassan, C.; Balsamo, G.; Lorenzetti, R.; Zullo, A.; Antonelli, G. Artificial Intelligence Allows Leaving-In-Situ Colorectal Polyps. Clin. Gastroenterol. Hepatol. 2022, 20, 2505–2513.e2504. [Google Scholar] [CrossRef] [PubMed]
  2. Kader, R.; Cid-Mejias, A.; Brandao, P.; Islam, S.; Hebbar, S.; Puyal, J.G.; Ahmad, O.F.; Hussein, M.; Toth, D.; Mountney, P.; et al. Polyp characterization using deep learning and a publicly accessible polyp video database. Dig. Endosc. 2023, 35, 645–655. [Google Scholar] [CrossRef]
  3. Houwen, B.; Hassan, C.; Coupe, V.M.H.; Greuter, M.J.E.; Hazewinkel, Y.; Vleugels, J.L.A.; Antonelli, G.; Bustamante-Balen, M.; Coron, E.; Cortas, G.A.; et al. Definition of competence standards for optical diagnosis of diminutive colorectal polyps: European Society of Gastrointestinal Endoscopy (ESGE) Position Statement. Endoscopy 2022, 54, 88–99. [Google Scholar] [CrossRef]
  4. Rex, D.K.; Kahi, C.; O’Brien, M.; Levin, T.R.; Pohl, H.; Rastogi, A.; Burgart, L.; Imperiale, T.; Ladabaum, U.; Cohen, J.; et al. The American Society for Gastrointestinal Endoscopy PIVI (Preservation and Incorporation of Valuable Endoscopic Innovations) on real-time endoscopic assessment of the histology of diminutive colorectal polyps. Gastrointest. Endosc. 2011, 73, 419–422. [Google Scholar] [CrossRef] [PubMed]
  5. Schulz, P.J.; Lwin, M.O.; Kee, K.M.; Goh, W.W.B.; Lam, T.Y.T.; Sung, J.J.Y. Modeling the influence of attitudes, trust, and beliefs on endoscopists’ acceptance of artificial intelligence applications in medical practice. Front. Public. Health 2023, 11, 1301563. [Google Scholar] [CrossRef]
  6. Poon, A.I.F.; Sung, J.J.Y. Opening the black box of AI-Medicine. J. Gastroenterol. Hepatol. 2021, 36, 581–584. [Google Scholar] [CrossRef] [PubMed]
  7. Mori, Y.; Jin, E.H.; Lee, D. Enhancing artificial intelligence-doctor collaboration for computer-aided diagnosis in colonoscopy through improved digital literacy. Dig. Liver Dis. 2024, 56, 1140–1143. [Google Scholar] [CrossRef]
  8. Parasa, S.; Berzin, T.; Leggett, C.; Gross, S.; Repici, A.; Ahmad, O.F.; Chiang, A.; Coelho-Prabhu, N.; Cohen, J.; Dekker, E. Consensus statements on the current landscape of artificial intelligence applications in endoscopy, addressing roadblocks, and advancing artificial intelligence in gastroenterology. Gastrointest. Endosc. 2024, 101, 2–9. [Google Scholar] [CrossRef]
  9. Reverberi, C.; Rigon, T.; Solari, A.; Hassan, C.; Cherubini, P.; Group, G.I.G.C.S.; Cherubini, A. Experimental evidence of effective human-AI collaboration in medical decision-making. Sci. Rep. 2022, 12, 14952. [Google Scholar] [CrossRef]
  10. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual explanations from deep networks via gradient-based localization. Int. J. Comput. Vis. 2020, 128, 336–359. [Google Scholar] [CrossRef]
  11. Thijssen, A.; Schreuder, R.R.; Fonolla, R.; van der Zander, Q.; Scheeve, T.; Winkens, B.; Subramaniam, S.; Bhandari, P.; de With, P.; Masclee, A.; et al. Automatic textual description of colorectal polyp features: Explainable artificial intelligence. Endosc. Int. Open 2023, 11, E513–E518. [Google Scholar] [CrossRef]
  12. An, J.; Joe, I. Attention map-guided visual explanations for deep neural networks. Appl. Sci. 2022, 12, 3846. [Google Scholar] [CrossRef]
  13. Jin, E.H.; Lee, D.; Bae, J.H.; Kang, H.Y.; Kwak, M.S.; Seo, J.Y.; Yang, J.I.; Yang, S.Y.; Lim, S.H.; Yim, J.Y.; et al. Improved Accuracy in Optical Diagnosis of Colorectal Polyps Using Convolutional Neural Networks with Visual Explanations. Gastroenterology 2020, 158, 2169–2179.e2168. [Google Scholar] [CrossRef] [PubMed]
  14. Ghassemi, M.; Oakden-Rayner, L.; Beam, A.L. The false hope of current approaches to explainable artificial intelligence in health care. Lancet Digit. Health 2021, 3, e745–e750. [Google Scholar] [CrossRef] [PubMed]
  15. Wada, K. Labelme: Image Polygonal Annotation with Python, Version v4.6.0; Zenodo: Geneva, Switzerland, 2016.
  16. Dehghani, N.; Thijssen, A.; Van Der Zander, Q.E.; Schreuder, R.-M.; Schoon, E.J.; Van Der Sommen, F. Evaluating Confidence Calibration in Endoscopic Diagnosis Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–22 June 2024; pp. 5020–5025. [Google Scholar]
  17. Boers, T.G.; Fockens, K.N.; van der Putten, J.A.; Jaspers, T.J.; Kusters, C.H.; Jukema, J.B.; Jong, M.R.; Struyvenberg, M.R.; de Groof, J.; Bergman, J.J. Foundation models in gastrointestinal endoscopic AI: Impact of architecture, pre-training approach and data efficiency. Med. Image Anal. 2024, 98, 103298. [Google Scholar] [CrossRef]
  18. Kusters, K.C.; Scheeve, T.; Dehghani, N.; van der Zander, Q.E.; Schreuder, R.-M.; Masclee, A.A.; Schoon, E.J.; van der Sommen, F. Colorectal polyp classification using confidence-calibrated convolutional neural networks. In Proceedings of the Medical Imaging 2022: Computer-Aided Diagnosis, San Diego, CA, USA, 20–24 February 2022; pp. 456–468. [Google Scholar]
  19. Rondonotti, E.; Bergna, I.M.B.; Paggi, S.; Amato, A.; Andrealli, A.; Scardino, G.; Tamanini, G.; Lenoci, N.; Mandelli, G.; Terreni, N.; et al. White light computer-aided optical diagnosis of diminutive colorectal polyps in routine clinical practice. Endosc. Int. Open 2024, 12, E676–E683. [Google Scholar] [CrossRef]
  20. Weigt, J.; Repici, A.; Antonelli, G.; Afifi, A.; Kliegis, L.; Correale, L.; Hassan, C.; Neumann, H. Performance of a new integrated computer-assisted system (CADe/CADx) for detection and characterization of colorectal neoplasia. Endoscopy 2022, 54, 180–184. [Google Scholar] [CrossRef]
  21. Abdulrazzaq, M.M.; Ramaha, N.T.; Hameed, A.A.; Salman, M.; Yon, D.K.; Fitriyani, N.L.; Syafrudin, M.; Lee, S.W. Consequential advancements of self-supervised learning (SSL) in deep learning contexts. Mathematics 2024, 12, 758. [Google Scholar] [CrossRef]
  22. van der Sommen, F.; de Groof, J.; Struyvenberg, M.; van der Putten, J.; Boers, T.; Fockens, K.; Schoon, E.J.; Curvers, W.; de With, P.; Mori, Y.; et al. Machine learning in GI endoscopy: Practical guidance in how to interpret a novel field. Gut 2020, 69, 2035–2045. [Google Scholar] [CrossRef]
  23. de Groof, A.J.; Struyvenberg, M.R.; van der Putten, J.; van der Sommen, F.; Fockens, K.N.; Curvers, W.L.; Zinger, S.; Pouw, R.E.; Coron, E.; Baldaque-Silva, F.; et al. Deep-Learning System Detects Neoplasia in Patients With Barrett’s Esophagus With Higher Accuracy Than Endoscopists in a Multistep Training and Validation Study With Benchmarking. Gastroenterology 2020, 158, 915–929.e914. [Google Scholar] [CrossRef]
  24. Jaspers, T.J.M.; Boers, T.G.W.; Kusters, C.H.J.; Jong, M.R.; Jukema, J.B.; de Groof, A.J.; Bergman, J.J.; de With, P.H.N.; van der Sommen, F. Robustness evaluation of deep neural networks for endoscopic image analysis: Insights and strategies. Med. Image Anal. 2024, 94, 103157. [Google Scholar] [CrossRef] [PubMed]
  25. Naqvi, R.A.; Haider, A.; Kim, H.S.; Jeong, D.; Lee, S.-W. Transformative Noise Reduction: Leveraging a Transformer-Based Deep Network for Medical Image Denoising. Mathematics 2024, 12, 2313. [Google Scholar] [CrossRef]
  26. Sharif, S.; Naqvi, R.A.; Mehmood, Z.; Hussain, J.; Ali, A.; Lee, S.-W. Meddeblur: Medical image deblurring with residual dense spatial-asymmetric attention. Mathematics 2022, 11, 115. [Google Scholar] [CrossRef]
Figure 1. Example of human-annotated colorectal polyp position, showing (A) a labeled polyp and (B) the corresponding mask.
Figure 1. Example of human-annotated colorectal polyp position, showing (A) a labeled polyp and (B) the corresponding mask.
Cancers 17 01620 g001
Figure 2. Example of (A) a training image and (B) the selected region of interest (ROI) from the central area of this image.
Figure 2. Example of (A) a training image and (B) the selected region of interest (ROI) from the central area of this image.
Cancers 17 01620 g002
Figure 3. Example of a colorectal polyp image with a heatmap, showing (A) the heatmap on the polyp, (B) the part of the heatmap covering polyp in green, the part of the heatmap covering tissue surrounding the polyp in red, and the part of the polyp not covered by the heatmap in orange (3B).
Figure 3. Example of a colorectal polyp image with a heatmap, showing (A) the heatmap on the polyp, (B) the part of the heatmap covering polyp in green, the part of the heatmap covering tissue surrounding the polyp in red, and the part of the polyp not covered by the heatmap in orange (3B).
Cancers 17 01620 g003
Figure 4. Examples of different heatmap coverage: (A) a heatmap covering only colorectal polyp tissue but missing part of the polyp, (B) a heatmap covering little colorectal polyp and much tissue surrounding the colorectal polyp, (C) a heatmap covering only colorectal polyp and little tissue surrounding the colorectal polyp, and (D) a heatmap covering the colorectal polyp tissue and covering much tissue surrounding the colorectal polyp.
Figure 4. Examples of different heatmap coverage: (A) a heatmap covering only colorectal polyp tissue but missing part of the polyp, (B) a heatmap covering little colorectal polyp and much tissue surrounding the colorectal polyp, (C) a heatmap covering only colorectal polyp and little tissue surrounding the colorectal polyp, and (D) a heatmap covering the colorectal polyp tissue and covering much tissue surrounding the colorectal polyp.
Cancers 17 01620 g004
Table 1. A summary of the base network architecture and the corresponding number of training images for each algorithm.
Table 1. A summary of the base network architecture and the corresponding number of training images for each algorithm.
Base ArchitectureNumber of PolypsPretraining
Algorithm 1ResNet501359ImageNet-GastroNet
Algorithm 2EfficientNet-B41189ImageNet
Algorithm 3EfficientNet-B4993ImageNet
Algorithm 4EfficientNet-B4734ImageNet
Table 2. Colorectal polyp characteristics.
Table 2. Colorectal polyp characteristics.
Colorectal Polyp CharacteristicsN = 376
Size in mm, mean (SD)3.74 (3.1)
Size categories, n (%) 1
 Diminutive (≤5 mm)337 (90.6)
 Small (5–10 mm)25 (6.7)
 Large (>10 mm)10 (2.7)
Location, n (%) 2
 Rectum30 (8.0)
 Sigmoid89 (23.7)
 Descending colon37 (9.9)
 Splenic flexure2 (0.5)
 Transverse colon94 (25.1)
 Hepatic flexure11 (2.9)
 Ascending colon76 (20.3)
 Cecum36 (9.6)
Histology, n (%)
Premalignant
 Tubular adenoma299 (79.5)
 Sessile serrated lesion32 (8.5)
 Tubulovillous adenoma14 (3.7)
 Traditionally serrated adenoma3 (0.8)
Benign
 Hyperplastic polyp28 (7.4)
Endoscopy brand, n (%)
 Fujifilm212 (56.4)
 Olympus164 (43.6)
Images per polyp, mean (SD)5.7 (3.4)
1 Polyp size was missing in four cases. 2 Polyp location was missing in one case. n, number; SD, standard deviation.
Table 3. Image-based diagnostic performance in predicting benign or premalignant conditions of 2133 colorectal polyp images with bootstrapping to account for clustering (multiple images of the same polyp).
Table 3. Image-based diagnostic performance in predicting benign or premalignant conditions of 2133 colorectal polyp images with bootstrapping to account for clustering (multiple images of the same polyp).
Algorithm 1Algorithm 2Algorithm 3Algorithm 4
Sensitivity, % (95% CI)80.6
(77.1–84.0)
75.3
(72.0–78.6)
65.3
(61.6–69.1)
79.4
(76.2–82.6)
Specificity, % (95% CI)58.1
(41.7–74.5)
54.6
(39.2–70.1)
56.8
(39.2–74.5)
40.4
(27.8–52.9)
PPV, % (95% CI)97.0
(95.4–98.7)
96.6
(94.5–98.6)
96.2
(93.8–98.6)
95.7
(93.5–98.0)
NPV, % (95% CI)15.0
(7.3–22.8)
11.4
(6.0–16.9)
8.8
(4.5–13.1)
10.3
(5.5–15.1)
Diagnostic accuracy, % (95% CI)79.3
(76.0–82.7)
74.1
(70.9–77.4)
64.8
(61.2–68.5)
77.2
(74.0–80.5)
AUROC, % (95% CI)69.5
(64.1–74.8)
64.7
(59.3–70.1)
61.0
(55.7–66.3)
59.7
(54.1–65.3)
AUROC, area under the receiver operating characteristic curve; CI, confidence interval; NPV, negative predictive value; PPV, positive predictive value.
Table 4. Results of multivariable generalized estimating equation (GEE) analysis of factors associated with a correct diagnosis of four artificial intelligence algorithms trained to characterize colorectal polyps as benign or premalignant.
Table 4. Results of multivariable generalized estimating equation (GEE) analysis of factors associated with a correct diagnosis of four artificial intelligence algorithms trained to characterize colorectal polyps as benign or premalignant.
Algorithm 1 Algorithm 2 Algorithm 3 Algorithm 4
OR
[95% CI]
p ValueAdjusted p Value #OR
[95% CI]
p ValueAdjusted p Value #OR
[95% CI]
p ValueAdjusted p Value #OR
[95% CI]
p ValueAdjusted p Value #
Percentage of heatmap covering polyp1.013
[1.006–1.019]
<0.001 *0.003 *1.025
[1.011–1.039]
<0.001 *0.008 *1.038
[1.024–1.053]
<0.001 *0.008 *1.039
[1.020–1.058]
<0.001 *0.004 *
Percentage of polyp not covered by heatmap1.006
[1.003–1.010]
<0.001 *0.003 *0.992
[0.985–1.000]
0.044 *0.1170.995
[0.989–1.001]
0.0980.3920.995
[0.986–1.004]
0.2800.560
Endoscopy brand Olympus1.812
[1.181–2.779]
0.006 *0.012 *1.328
[0.938–1.881]
0.1090.2181.220
[0.877–1.698]
0.2370.5391.481
[1.006–2.180]
0.046 *0.123
Histology premalignant4.002
[2.075–7.720]
<0.001 *0.003 *2.720
[1.465–5.049]
0.002 *0.008 *1.272
[0.605–2.674]
0.5260.7015.562
[2.909–10.636]
<0.001 *0.004 *
Age0.998
[0.971–1.025]
0.8710.8711.000
[0.979–1.022]
0.9880.9880.990
[0.971–1.010]
0.3370.5390.996
[0.971–1.021]
0.7410.827
Female gender1.071
[0.706–1.624]
0.7460.8530.859
[0.605–1.218]
0.3920.5231.022
[0.720–1.450]
0.9030.9031.045
[0.702–1.558]
0.8270.827
Location polyp right-sided1.282
[0.850–1.934]
0.2370.3790.857
[0.602–1.220]
0.3920.5230.834 [0.601–1.157]0.2760.5390.945
[0.641–1.392]
0.7740.827
Polyp size0.980
[0.924–1.038]
0.4900.6531.007
[0.950–1.068]
0.8070.9221.014
[0.958–1.073]
0.6330.7231.019
[0.950–1.093]
0.5990.827
# Using the Benjamini–Hochberg method. * Significant p value < 0.05. OR, odds ratio; CI, confidence interval.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Thijssen, A.; Dehghani, N.; Schrauwen, R.W.M.; Keulen, E.T.P.; Rondagh, E.J.A.; van Avesaat, M.H.P.; Soufidi, K.; Reumkens, A.; Bours, P.H.A.; van der Zander, Q.E.W.; et al. The Association Between Heatmap Position and the Diagnostic Accuracy of Artificial Intelligence for Colorectal Polyp Diagnosis. Cancers 2025, 17, 1620. https://doi.org/10.3390/cancers17101620

AMA Style

Thijssen A, Dehghani N, Schrauwen RWM, Keulen ETP, Rondagh EJA, van Avesaat MHP, Soufidi K, Reumkens A, Bours PHA, van der Zander QEW, et al. The Association Between Heatmap Position and the Diagnostic Accuracy of Artificial Intelligence for Colorectal Polyp Diagnosis. Cancers. 2025; 17(10):1620. https://doi.org/10.3390/cancers17101620

Chicago/Turabian Style

Thijssen, Ayla, Nikoo Dehghani, Ruud W. M. Schrauwen, Eric T. P. Keulen, Eveline J. A. Rondagh, Mark H. P. van Avesaat, Khalida Soufidi, Ankie Reumkens, Paul H. A. Bours, Quirine E. W. van der Zander, and et al. 2025. "The Association Between Heatmap Position and the Diagnostic Accuracy of Artificial Intelligence for Colorectal Polyp Diagnosis" Cancers 17, no. 10: 1620. https://doi.org/10.3390/cancers17101620

APA Style

Thijssen, A., Dehghani, N., Schrauwen, R. W. M., Keulen, E. T. P., Rondagh, E. J. A., van Avesaat, M. H. P., Soufidi, K., Reumkens, A., Bours, P. H. A., van der Zander, Q. E. W., de With, P. H. N., Winkens, B., Sommen, F. v. d., & Schoon, E. J. (2025). The Association Between Heatmap Position and the Diagnostic Accuracy of Artificial Intelligence for Colorectal Polyp Diagnosis. Cancers, 17(10), 1620. https://doi.org/10.3390/cancers17101620

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop