Augmenting the Pathology Lab: An Intelligent Whole Slide Image Classification System for the Real World

Julianna D. Ianni, Rajath E. Soans, Sivaramakrishnan Sankarapandian, Ramachandra Vikas Chamarthi, Devi Ayyagari, Thomas G. Olsen, Michael J. Bonham, Coleman C. Stavish, Kiran Motaparthi, Clay J. Cockerell, Theresa A. Feeser, Jason B. LeearXiv 2019 · DOI

TL;DR

This paper introduces a deep learning system for classifying whole slide images of skin biopsies into four diagnostic categories. By incorporating a confidence scoring mechanism, the system achieves up to 98% accuracy on a diverse, real-world dataset, making it a promising tool for augmenting pathology workflows and improving diagnostic efficiency.

What Problem Does This Paper Address?

Diagnosing skin cancer from biopsies is a critical but challenging task for pathologists. The sheer volume of biopsies, coupled with the complexity of identifying subtle differences between various skin pathologies (over 500 distinct types!), leads to inter-pathologist disagreements and potential diagnostic delays. Digital pathology offers a path towards improving efficiency and reproducibility, but existing deep learning approaches often struggle with the immense size of whole slide images (WSIs), variations in staining and scanning across different labs, and the presence of numerous artifacts. This paper aims to bridge this gap by developing a robust deep learning system that can accurately classify skin biopsies in a real-world setting, accounting for these significant challenges.

Methods

The core of the system is a cascade of three independently trained Convolutional Neural Networks (CNNs):

  • CNN-1 (Image Adaptation): This network takes individual image tiles from a WSI and adapts their appearance to a standardized domain. This is crucial for handling variations in staining and scanning across different labs, ensuring that the subsequent networks can interpret the images consistently.
  • CNN-2 (Region of Interest Extraction): Trained on expert annotations, this CNN identifies regions within the WSI that exhibit pathological features, effectively filtering out irrelevant areas and focusing processing power.
  • CNN-3 (WSI Classification): This network performs the final 4-way classification (Basaloid, Squamous, Melanocytic, and Other) on the identified regions of interest.

A key innovation is the confidence scoring mechanism. For each WSI, the system generates multiple predictions by randomly omitting subsets of neurons in CNN-3. The confidence score is derived from the consistency and strength of these predictions. This allows the system to flag predictions with low confidence, indicating that the image might be ambiguous or outside the system's reliable operating range.

Datasets

  • Reference Lab Dataset: 5,070 H&E-stained WSIs from a single dermatopathology lab (Dermatopathology Laboratory of Central States). This dataset was used for training, validation, and initial development of the system. It was partitioned into training (70%), validation (15%), and testing (15%) sets.
  • Test Dataset: A large, uncurated set of 13,537 H&E-stained WSIs from three different dermatopathology labs. These labs used different whole slide scanners and staining/preparation protocols, making this a challenging real-world benchmark. No images were excluded from this test set.

Key Insights and Ideas

  • Image Adaptation is Crucial for Generalizability: The study highlights that without an image adaptation step (CNN-1), image patches strongly cluster by the lab that scanned them. This adaptation is essential for building a system that can work across different labs and scanners.
  • Confidence Scoring is Key to Real-World Adoption: The significant jump in accuracy from 78% (without confidence scoring) to up to 98% (with confidence scoring) demonstrates its critical role. It allows the system to be reliable by knowing when not to make a prediction, rather than forcing a potentially incorrect one.
  • Robustness to Real-World Variability: The system's ability to perform well on an uncurated dataset with diverse artifacts, staining variations, and scanner types is a major step towards practical deployment in clinical settings.

Key Results

  • Overall Accuracy: The deep learning system achieved an overall accuracy of 78% without confidence thresholding.
  • Accuracy with Confidence Scoring: By applying confidence thresholds, the system achieved accuracies of 83% (Level 1), 94% (Level 2), and 98% (Level 3).
  • Test Set Performance: On the large, uncurated test set of 13,537 WSIs from three different labs, the system achieved accuracies of 83%, 94%, and 98% at confidence Levels 1, 2, and 3, respectively.
  • Processing Time: The median processing time per WSI was 137 seconds, resulting in a throughput of 40 WSIs/hour on a single compute node.

Limitations and Future Work

  • Limited Clinical Context: The current PDLS relies solely on WSI data. Incorporating additional clinical information (e.g., patient history) could further improve accuracy.
  • Single Diagnosis per Specimen: The system is trained to assign a single diagnosis per specimen. However, in rare cases (2-3%), a specimen might warrant multiple diagnoses. Future work will explore handling such multi-class scenarios.
  • No Diagnostic Predictions: The system currently provides classifications, not definitive diagnoses. It's intended to augment, not replace, pathologist review.
  • Future Directions: The authors suggest extending the system to hierarchical classification models for better prioritization of critical cases (like melanoma) and exploring its application in other medical imaging domains. Further optimization of processing time and parallelization is also a subject of future work.

Summary updated

BibTeX
@misc{ianni2019augmenting,
  author = {Julianna D. Ianni and Rajath E. Soans and Sivaramakrishnan Sankarapandian and Ramachandra Vikas Chamarthi and Devi Ayyagari and Thomas G. Olsen and Michael J. Bonham and Coleman C. Stavish and Kiran Motaparthi and Clay J. Cockerell and Theresa A. Feeser and Jason B. Lee},
  title = {{Augmenting the Pathology Lab: An Intelligent Whole Slide Image Classification System for the Real World}},
  year = {2019},
  eprint = {1909.11212},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.11212},
}
Figure