TL;DR
Histopathology foundation models, despite being trained on massive datasets, still retain "hospital signatures" in their feature representations. These signatures can lead to biased predictions and misclassifications, even after stain normalization, highlighting a critical gap in their generalization capabilities.
What Problem Does This Paper Address?
Deep learning has revolutionized digital histopathology, enabling powerful tools for diagnosis and prognosis. However, a major hurdle is the impact of "batch effects" – systematic variations in data acquisition (e.g., staining, scanning) across different hospitals or labs. These effects can lead to models that perform well on data from one source but fail on data from another, a critical issue for clinical deployment. While recent "foundation models" trained on vast amounts of histopathology images show promise for improved generalization, it's unclear if they truly overcome these batch effects. This paper investigates whether these advanced models eliminate hospital-specific signatures from their learned representations.
Methods
The researchers evaluated several state-of-the-art histopathological foundation models. Their core methodology involved:
- Source Site Prediction: Training classifiers (Nearest Centroid, k-Nearest Neighbors, Linear Probing) to predict the hospital (tissue source site - TSS) from the feature embeddings generated by the foundation models. High accuracy here indicates the presence of strong site-specific information.
- Stain Normalization Impact: Repeating the source site prediction task using features from patches that underwent common stain normalization techniques (Reinhard and Macenko) to assess their effectiveness in mitigating batch effects.
- Downstream Task Bias: Creating biased datasets for a cancer classification task where the correlation between the true label (tumor/normal) and the source site was manipulated. This tested how foundation model features, when used in downstream tasks, could lead to misclassifications due to site signatures.
- Feature Space Analysis: Investigating the distances between patch embeddings in feature space to see if site differences dominate biological differences. They also used Principal Component Analysis (PCA) to understand how site signatures are distributed across the most significant dimensions of the feature space.
Datasets
The study utilized two publicly available, multi-site histopathology datasets:
- TCGA-LUSC-5: A dataset of lung squamous cell carcinoma (LUSC) H&E-stained slides from five different tissue source sites.
- CAMELYON16: A dataset of sentinel lymph node slides from breast cancer patients, originating from two hospitals.
Patches were extracted at 20x magnification, and for CAMELYON16, patches were also labeled as 'tumor' or 'normal'.
Key Insights and Ideas
- Foundation Models Aren't Immune: Despite massive pretraining, foundation models do not eliminate hospital signatures. These signatures are readily detectable and can significantly influence downstream predictions.
- Site Signatures as Shortcuts: The presence of strong site signatures suggests that models might be learning "shortcuts" – relying on easily identifiable hospital-specific features rather than true biological signals for classification. This is particularly concerning for clinical applications.
- Stain Normalization is Insufficient: Common stain normalization techniques offer only a slight mitigation of site signatures, failing to remove them entirely. More subtle features that encode site information remain accessible to downstream models.
- Feature Space Dominated by Site: Distances between patch embeddings are more influenced by the tissue source site than by actual biological differences (e.g., tumor vs. normal morphology). This makes distance-based methods (like clustering) unreliable.
- Principal Components Reveal Signatures: Site-specific information is concentrated in the principal components with the largest variance, indicating that these are the most prominent and accessible features for models to exploit.
Key Results
- High Site Predictability: Source site could be predicted from foundation model features with very high accuracy (over 90% for linear probing on TCGA-LUSC-5, and almost perfect on CAMELYON16), even after stain normalization.
- Downstream Task Bias: When trained on imbalanced datasets where site and label were correlated, cancer classification accuracy dropped dramatically, from near-perfect to below random performance in extreme cases. This highlights how site signatures can lead to misclassifications.
- Feature Space Dominance: Visualizations showed that distances to patches from the same hospital were consistently smaller than distances to patches from different hospitals, regardless of whether the patches were tumor or normal.
- Early Principal Components Carry Information: Site prediction accuracy remained high even when using only the first few principal components of the feature vectors, demonstrating the concentration of site information in the most dominant dimensions.
Limitations and Future Work
The authors acknowledge several limitations:
- Dataset Size and Stark Effects: The datasets used were relatively small, and their batch effects were pronounced. This means the study might not fully capture the behavior of models on larger, more diverse datasets with subtler batch effects.
- Unknown Biological Differences: While efforts were made to control for clinical metadata, unknown biological differences between sites could also contribute to signatures.
- Causality of Batch Effects: The study did not delve into the specific factors causing these batch effects or quantify their individual contributions.
- Generalization to Unseen Sites: The evaluation did not explicitly test generalization to entirely new, unseen tissue source sites.
Future work directions suggested include:
- Developing Methods to Eliminate Batch Effects: The authors propose developing methods to directly remove site signatures from feature vectors, rather than relying on image-level normalization or modifying pretraining.
- New Pretraining Strategies: Designing pretraining strategies that explicitly account for and mitigate batch effects.
- Robust Evaluation: Advocating for the assessment of batch effects to become a standard part of evaluating histopathological foundation models.
Summary updated