Abstract
In digital pathology, deep learning models offer high accuracy for identifying cancerous tissue, yet their "black box" nature hinders clinical adoption. While occlusion-based methods provide reliable explanations, they are computationally prohibitive for large Whole Slide Images (WSIs). This paper evaluates faster, gradient-based alternatives, demonstrating that methods like HiResCAM can achieve a 10x speedup—reducing processing time from days to hours—without compromising the clinical interpretability required by pathologists.
Introduction
Pathologists require transparent AI models to trust and verify diagnostic predictions. The current benchmark for explainability, occlusion, involves systematically masking image regions to observe changes in model confidence. However, for a single WSI, this process can take up to 90 minutes due to the thousands of forward passes required. This study investigates "single-pass" gradient-based methods to enable near real-time explainability, facilitating faster clinical workflows and more efficient model debugging.
Methods and Evaluation Framework
The researchers compared the baseline Occlusion method against four gradient-based techniques: CAM, GradCAM++, HiResCAM, and Composite-LRP. To ensure these faster methods remained clinically relevant, they were evaluated across four dimensions:
- Computational Performance: Time and GPU memory usage.
- Faithfulness: Using the ROAD (Remove-and-Debias) metric to see if removing salient pixels drops model confidence.
- Localization: Measuring alignment with ground-truth pathologist annotations.
- Usefulness: Comparing the similarity of the new maps to the trusted occlusion-based maps.
The study utilized a dataset of 87 biopsies from 10 patients, featuring massive hematoxylin/eosin-stained images with pixel-level annotations of cancerous features.
Key Results: Speed and Efficiency
The transition from perturbation-based to gradient-based methods yielded dramatic improvements in efficiency. As shown in the table below, processing a single slide dropped from nearly 27 minutes with Occlusion to approximately 1 minute with CAM and 2 minutes with HiResCAM.
Beyond time savings, GPU memory requirements were reduced from 36 GB to roughly 1–1.5 GB. This allows for deployment on standard hardware and enables parallel processing of multiple slides. For the entire 87-slide test set, the total processing time was slashed from 3.3 days to just 2 hours.
Clinical Alignment and Insights
Quantitative metrics revealed that HiResCAM and CAM maintained high levels of faithfulness and localization, often outperforming more complex methods like Composite-LRP. Qualitatively, pathologists found HiResCAM particularly effective at highlighting critical diagnostic markers, such as "single chains of nuclei" and "perinuclear halos." By mimicking the visual output of the slower occlusion method, these fast techniques are more likely to gain expert acceptance in clinical settings.
Conclusion and Future Work
Gradient-based explainability offers a viable path toward real-time AI assistance in pathology. While this study demonstrated success in prostate cancer classification, future work will focus on expanding the patient cohort and testing the framework across other pathologies. Additionally, architectural adjustments to the underlying CNN models could further enhance the theoretical guarantees and practical performance of methods like HiResCAM.
Summary updated