TL;DR
This paper introduces CLAM, a novel deep learning framework for computational pathology that tackles the challenge of limited labeled data by using only slide-level diagnoses. CLAM achieves high accuracy in classifying and subtyping whole slide images (WSIs), demonstrating remarkable data efficiency and adaptability to various data sources, including cellphone microscopy and biopsy slides.
What Problem Does This Paper Address?
Computational pathology holds immense promise for objective diagnosis, prognosis prediction, and discovery of new clinical insights from gigapixel whole slide images (WSIs). However, current deep learning approaches face significant hurdles: fully supervised methods demand extensive manual annotation of WSIs, while even weakly supervised methods often require thousands of WSIs with slide-level labels. Furthermore, existing methods struggle with domain adaptation (performing well on data from different sources or imaging devices) and interpretability (understanding why a model makes a certain prediction). These challenges hinder the widespread adoption of computational pathology in clinical and research settings. This paper aims to address these limitations by developing a data-efficient, adaptable, and interpretable WSI classification method that relies solely on slide-level labels.
Methods
The core of CLAM is a Clustering-constrained Attention Multiple Instance Learning framework. Here's a breakdown of its key components:
- Weak Supervision with Slide-Level Labels: CLAM operates on the principle of multiple instance learning (MIL), where each WSI is treated as a "bag" of "instances" (patches). Crucially, it only uses the overall slide-level diagnosis, avoiding the need for pixel or patch-level annotations.
- Attention-Based Pooling: Instead of simple max pooling (common in MIL), CLAM employs a trainable attention mechanism. This allows the model to learn which patches are most important for classifying each specific class, effectively highlighting diagnostically relevant regions.
- Instance-Level Clustering: To further refine the feature space and encourage better separation between classes, CLAM incorporates an additional binary clustering objective. This encourages patches that are highly attended by the model for a specific class to form distinct clusters, reinforcing class-specific features.
- Multi-Class Adaptability: Unlike traditional MIL, which is often limited to binary classification (e.g., tumor vs. normal), CLAM is designed to handle multi-class subtyping problems. It achieves this through parallel attention branches, one for each class.
- High-Throughput Pipeline: CLAM includes a processing pipeline that automates tissue segmentation and patching of WSIs, converting them into low-dimensional feature embeddings. This significantly reduces computational cost and allows for training on large datasets using standard hardware.
Datasets
The authors utilized several publicly available and in-house datasets for training and evaluation:
- TCGA Kidney Dataset: For Renal Cell Carcinoma (RCC) subtyping.
- TCGA Lung Dataset (TCGA-LUSC and TCGA-LUAD) & TCIA CPTAC Pathology Portal: For Non-small Cell Lung Cancer (NSCLC) subtyping.
- Camelyon16 and Camelyon17: For breast cancer metastasis detection in axillary lymph nodes.
- In-house BWH Datasets: Including RCC, NSCLC, and lymph node metastasis datasets from Brigham and Women's Hospital.
- Cellphone Microscopy Images: Collected from independent test cohorts.
- Biopsy Slides: Both lung and kidney biopsy slides from BWH.
Key Insights and Ideas
- Data Efficiency is Key: CLAM demonstrates that high performance can be achieved with significantly fewer labeled slides than previously thought necessary for weakly supervised learning in pathology. This is crucial for rare diseases or clinical trials where large datasets are impractical.
- Interpretability is Built-In: The attention mechanism not only drives classification but also provides interpretable heatmaps that highlight diagnostically relevant regions. This allows clinicians to understand why a model makes a prediction and can potentially uncover new morphological features.
- Adaptability Across Modalities and Sources: CLAM models trained on standard WSIs can generalize remarkably well to diverse data sources, including cellphone images and biopsy slides, without requiring further fine-tuning. This broadens the applicability of computational pathology to resource-constrained settings.
- Beyond Binary Classification: CLAM's ability to handle multi-class subtyping problems is a significant advancement, moving beyond simple tumor/normal detection to more nuanced diagnostic tasks.
Key Results
- High Classification Performance: CLAM achieved impressive performance across three tasks: RCC subtyping (AUC 0.991), NSCLC subtyping (AUC 0.956), and lymph node metastasis detection (AUC 0.953) on public datasets.
- Data Efficiency: The model often achieved an AUC > 0.9 using only several hundred slides for training, significantly outperforming standard MIL methods, especially with limited data. For instance, 25% of the training data was sufficient for high performance on RCC subtyping.
- Generalization: CLAM models demonstrated strong generalization to independent test cohorts from different institutions, achieving average AUCs of 0.973 (RCC), 0.975 (NSCLC), and 0.934 (lymph node metastasis).
- Adaptability to Cellphone Images and Biopsies: Models trained on WSIs adapted well to cellphone microscopy images (AUCs of 0.873 for NSCLC and 0.921 for RCC) and biopsy slides (AUCs of 0.902 for NSCLC and 0.951 for RCC), showing a slight performance drop but retaining significant diagnostic capability.
- Interpretable Heatmaps: Attention heatmaps accurately highlighted tumor regions and well-known morphological features, aligning with pathologist expertise, even without explicit training on these regions.
Limitations and Future Work
- Performance Drop with Cellphone Images: While CLAM showed adaptability to cellphone images, there was a noted drop in performance compared to WSIs, attributed to imperfect image capture conditions (focus, illumination, artifacts). Future work could explore image processing techniques to mitigate these adversities.
- Ensembling for Best Performance: For optimal real-world deployment, the authors suggest ensembling predictions from multiple trained models rather than selecting a single one, as this is computationally inexpensive and improves robustness.
- Discovery of New Biomarkers: The interpretable nature of CLAM's attention heatmaps opens avenues for discovering novel morphological features associated with disease prognosis or treatment response.
- Broader Clinical Applications: The authors envision CLAM's potential for various computational pathology tasks in both clinical and research settings, including patient stratification and response prediction.
Summary updated