Development and evaluation of a deep neural network for histologic classification of renal cell carcinoma on biopsy and surgical resection slides.

Sci Rep 2021 AI 7 Explanations View Original
Original Paper (PDF)

Unable to display PDF. Download it here or view on PMC.

Plain-English Explanations
Pages 1-2
The Challenge of Classifying Kidney Cancer Under the Microscope

When a kidney tumor is removed or biopsied, a pathologist examines thin slices of tissue under a microscope to determine the cancer subtype. This classification is critically important because different subtypes have different outlooks and require different management strategies. Clear cell renal carcinoma has a worse prognosis than chromophobe or papillary types at the same stage.

The three major subtypes of renal cell carcinoma are clear cell RCC (about 75% of cases), papillary RCC (15-20%), and chromophobe RCC (about 5%). Additionally, a benign tumor called oncocytoma makes up 3-7% of kidney tumors and is notoriously difficult to distinguish from chromophobe RCC because of overlapping visual features.

Microscopic classification of kidney cancer is a demanding, time-consuming, and error-prone process. Studies have documented high rates of inter-observer and intra-observer variability, meaning different pathologists or even the same pathologist reviewing the same slide at different times may reach different conclusions.

Artificial intelligence tools based on deep learning have shown remarkable success in image recognition tasks. Applied to digital pathology slides, these tools could provide consistent, objective second opinions to pathologists, helping reduce diagnostic errors and variability in kidney cancer classification.

TL;DR: Classifying kidney cancer subtypes under the microscope is difficult and variable between pathologists, motivating the development of deep learning AI tools to provide consistent and accurate assistance.
Pages 6-7
Building the Deep Learning Classification System

Researchers collected 486 surgical resection slides and 79 biopsy slides from Dartmouth-Hitchcock Medical Center (DHMC), covering five categories: clear cell RCC, papillary RCC, chromophobe RCC, renal oncocytoma, and normal kidney tissue. Additional external validation used 917 slides from The Cancer Genome Atlas (TCGA) database.

Two expert pathologists manually outlined regions of interest in each training slide, labeling them by tumor type. The slides were then divided into small 224 by 224 pixel image patches. A deep neural network architecture called ResNet-18 (Residual Network with 18 layers) was trained to classify each patch into the appropriate cancer category.

To handle the massive size of whole-slide images, the pipeline used a sliding window approach that processed each slide in overlapping patches. The classifications of all patches were then aggregated: if any cancer subtype accounted for more than 5% of patches in the slide, the slide was classified as that subtype. This threshold was optimized on a separate development set.

Data augmentation techniques including random flipping, rotation, and color variation were applied during training to help the model generalize to new slides. Only patches classified with high confidence (above a threshold of 0.9) were included in the final aggregation, reducing the impact of uncertain or ambiguous patches.

TL;DR: A deep neural network was trained on expert-annotated kidney cancer slides using a patch-based approach, then validated on both internal test sets and a large external database of nearly 1,000 slides.
Pages 2-3
Exceptional Performance on Surgical Resection Slides

On the internal test set of 78 surgical resection slides from DHMC, the model achieved a mean accuracy of 97% and an average area under the curve (AUC) of 0.98 (95% confidence interval: 0.97-1.00). Performance was nearly perfect for normal tissue classification (AUC 1.00) and very high for clear cell RCC (AUC 0.98) and papillary RCC (AUC 0.99).

On the large external validation set of 917 TCGA slides from multiple institutions and scanner types, the model maintained excellent performance with a mean AUC of 0.97 (95% CI: 0.96-0.98) and mean accuracy of 95%. This demonstrates that the model generalizes well beyond the institution where it was trained.

Chromophobe RCC showed slightly lower sensitivity (82% on TCGA slides) than the other subtypes, possibly because it is less common in training data. However, the AUC for chromophobe RCC remained high at 0.97, indicating strong discriminative ability even for this rarer subtype.

The model's performance on oncocytoma vs. chromophobe RCC, which is one of the most challenging distinctions in renal pathology due to their histological similarity, was also strong (oncocytoma AUC 0.97 at DHMC), demonstrating that the AI could tackle even the most difficult classification challenges in this domain.

TL;DR: The deep learning model achieved an AUC of 0.97-0.98 across internal and external test sets of surgical resection slides, demonstrating both high accuracy and strong generalizability across different institutions and scanner types.
Page 3
Impressive Results on Biopsy Slides

A particularly important finding was that the model performed well on biopsy slides, which are smaller and contain less tissue than surgical resection specimens. On 79 biopsy slides from DHMC, the model achieved a mean AUC of 0.98 (95% CI: 0.96-1.00) and accuracy of 97%, comparable to its performance on resection slides.

The same model and parameters developed for resection slides were applied directly to biopsy slides without modification, demonstrating strong cross-specimen-type generalizability. This is clinically significant because biopsies are often performed before surgery to guide treatment planning.

Biopsy cores often contain only a portion of the tumor, and some cores may consist entirely of normal kidney tissue. The pipeline handled this by analyzing all cores together at the slide level, appropriately accommodating the variable content of biopsy specimens.

The ability to reliably classify kidney cancer subtype from biopsy specimens could enable earlier and more confident treatment decisions, including selection of targeted therapies based on tumor subtype before any surgery is performed, supporting a more personalized, pre-surgical treatment approach.

TL;DR: The model achieved AUC of 0.98 on biopsy slides, suggesting it can reliably classify kidney cancer subtype from pre-surgical biopsy specimens using the same system developed for surgical resection slides.
Page 4
Explainability and Visualizing What the AI Sees

A common criticism of deep learning systems is that they function as black boxes: they make predictions without explaining which image features influenced those predictions. To address this, the researchers developed a visualization system that color-codes patches on each slide according to the class predicted by the model.

Using the GradCAM (Gradient-weighted Class Activation Mapping) technique, the model could highlight specific regions within patches that were most influential for its classification decision. This allows pathologists to see exactly which microscopic features the AI found most diagnostic, making the system more interpretable and trustworthy.

These visualizations are not only important for building clinical trust in the AI system, but also serve as an educational tool, potentially highlighting features that pathologists might find useful but have not previously consciously emphasized in their own diagnostic reasoning.

The patch-level visualization enables pathologists to quickly identify the most informative regions of a slide for review, potentially accelerating the diagnostic process. Rather than examining an entire large slide, the pathologist can focus attention where the AI has flagged features most relevant to its classification.

TL;DR: The AI system includes visualization tools that highlight the tissue regions and features driving each classification decision, making it explainable and useful as a second opinion tool rather than an opaque black box.
Pages 4-5
Errors, Limitations, and What They Reveal

Analysis of the model's errors revealed informative patterns that reflect genuine diagnostic challenges even for expert pathologists. Chromophobe RCC was occasionally misclassified as clear cell RCC when it showed unusually clear cytoplasm, and oncocytoma was misclassified as chromophobe RCC when its stroma was less characteristic than typical.

In biopsy slides, clear cell RCC was occasionally misclassified as normal when tumor cells occupied less than 5% of the total tissue, falling below the model's detection threshold. This reflects a fundamental challenge of biopsy sampling: if the needle misses the tumor or samples its edge, the specimen may contain too little tumor for reliable detection.

The study was limited by relatively small numbers of rarer subtypes (chromophobe RCC and oncocytoma), particularly in biopsy slides. Expanding the training dataset with more examples of these rare classes, potentially through collaboration with multiple institutions, would likely improve performance on these challenging categories.

An important direction for future work is a prospective clinical trial in which the AI system is deployed alongside pathologists in real diagnostic workflows to measure its actual impact on diagnostic efficiency, error rates, and patient outcomes.

TL;DR: Model errors largely occurred in histologically challenging cases where even expert pathologists disagree, with limitations driven by rare class representation and biopsy sampling constraints rather than fundamental algorithmic failures.
Pages 2, 4
How This Tool Could Help Patients and Pathologists

The system was designed to assist, not replace, pathologists. It offers three complementary functions: pre-screening slides to reduce false negatives (missing cancers), highlighting regions of importance to accelerate review, and providing an objective second opinion to reduce subjectivity.

For community hospitals and general pathologists without specialized genitourinary pathology expertise, this AI tool could provide expert-level guidance on kidney cancer classification that might otherwise require referral to a specialized center, potentially reducing delays in diagnosis and treatment.

Correct classification of kidney cancer subtype has direct treatment implications. For example, patients with papillary RCC respond differently to targeted therapies than those with clear cell RCC. An AI system that reliably determines subtype from biopsy could help select appropriate first-line targeted therapy before surgery.

As digital pathology becomes standard in more hospitals, AI tools like this one can be integrated seamlessly into existing digital workflows. Slides scanned at 20x magnification are processed by the AI automatically, providing diagnostic assistance within minutes without requiring additional laboratory steps or expensive molecular tests.

TL;DR: This deep learning tool can assist pathologists at any level of expertise to accurately classify kidney cancer subtypes from standard diagnostic slides, potentially improving treatment selection and reducing diagnostic variability.
Citation: Open Access, 2021. Available at: PMC8007643.