TL;DR
This paper introduces STRAP, a novel data augmentation technique for computational pathology that uses medically-irrelevant style transfer to create domain-agnostic visual representations. By replacing image textures with styles from artistic paintings or natural images, STRAP significantly improves model generalization across different data sources, outperforming existing methods in challenging domain shift scenarios.
What Problem Does This Paper Address?
Machine learning models in medical imaging, particularly in computational pathology, often suffer from a significant performance drop when applied to data from different sources (e.g., different scanners, protocols, or institutions). This "domain shift" is a major hurdle for clinical adoption. While domain adaptation and domain generalization techniques exist, they often require target domain data during training or multiple source domains. The challenge is to train models that can generalize robustly to unseen data from diverse sources, mimicking how human experts can interpret images regardless of minor variations. This paper specifically addresses the problem of learning domain-agnostic and class-specific visual representations from a single source domain to generalize to multiple unseen target domains.
Methods
The core contribution is STRAP (Style TRansfer Augmentation for histoPathology). STRAP is a data augmentation method that leverages neural style transfer, specifically the Adaptive Instance Normalization (AdaIN) technique. Unlike traditional methods that use medically-relevant transformations (like stain normalization), STRAP applies medically-irrelevant style transfer. This means it takes a histopathology image (the "content") and replaces its low-level texture, color, and contrast with the style of a randomly selected non-medical image (e.g., artistic paintings, natural images). The key hypothesis is that this process preserves the high-level semantic content (shape, structure) while removing domain-specific, class-irrelevant texture information, thereby encouraging the model to learn domain-invariant representations. The authors explored different style sources (artistic paintings, natural images, and other histopathology images) and stylization coefficients to optimize performance.
Datasets
The study utilized the following datasets:
- Stanford-CRC: A single-institution dataset of H&E-stained colorectal cancer whole-slide images (WSIs) used for training in single-domain generalization experiments.
- CRC-DX-TRAIN: A multi-domain dataset from TCGA (colorectal cancer) used for in-distribution training and evaluation.
- CRC-DX-TEST: A multi-domain dataset from TCGA (colorectal cancer) used for out-of-distribution testing.
- CAMELYON17-WILDS: A dataset of breast cancer metastases in lymph node sections, adapted for domain generalization experiments. This dataset was split into training/validation sets from four hospitals and a distinct out-of-distribution test set from a fifth hospital.
Key Insights and Ideas
- Medically-irrelevant style transfer is powerful: The core insight is that using non-medical styles (like paintings) is more effective for learning domain-agnostic representations than using medically-relevant transformations. This suggests that the "style" of medical images is often domain-specific and can mislead models, while abstract styles can force models to focus on more robust, semantic features.
- Shape bias is key: The paper aligns with prior work suggesting that CNNs are often biased towards texture, while humans rely more on shape. STRAP, by removing texture, effectively biases the model towards shape, leading to better generalization.
- Higher stylization is better: A higher stylization coefficient (closer to 1.0) in STRAP led to improved performance, indicating that more aggressive removal of original image style is beneficial.
- Low-frequency components matter: STRAP models were found to exploit lower-frequency image components more effectively than standard methods, which is consistent with shape-based recognition and human visual perception.
- Homogeneous training data can be beneficial: Counterintuitively, training on a single-domain dataset (Stanford-CRC) for out-of-distribution testing yielded better results than training on a multi-domain dataset, suggesting that a well-curated homogeneous dataset can be valuable for learning domain-agnostic models.
Key Results
- Genetic Subtype Classification: STRAP (with Artistic Paintings) achieved an average AUROC of 0.876 on the out-of-distribution CRC-DX-TEST dataset, outperforming SA (0.814), SN (0.765), and two state-of-the-art methods. STRAP also showed a minimal performance drop from in-distribution to out-of-distribution testing.
- Tumor Identification: STRAP (with Artistic Paintings) achieved the highest accuracy (0.937) and AUROC (0.981) on the CAMELYON17-WILDS dataset, significantly outperforming SA and SN.
- Style Source Comparison: Medically-irrelevant style sources (Artistic Paintings, Natural Imaging) generally outperformed the medically-relevant Histopathologic Imaging source for STRAP.
- Stylization Coefficient: A stylization coefficient of 1.0 yielded the best performance across experiments.
- Low-Frequency Component Analysis: STRAP models showed peak performance at lower radii of low-pass filters compared to SA and SN, indicating a reliance on lower-frequency (shape-related) features.
Limitations and Future Work
- Runtime: STRAP's runtime is significantly longer than SA and SN, making on-the-fly augmentation computationally expensive. Improvement in computational efficiency is needed.
- Task and Domain Scope: The study was limited to classification tasks in computational pathology. Future work should explore STRAP's efficacy for other tasks (detection, segmentation, survival prediction) and in other medical imaging domains (radiology, dermatology).
- Self-Supervised Learning: The authors suggest STRAP could be a valuable component for self-supervised learning frameworks, particularly contrastive learning, which heavily relies on data augmentation.
- Optimal Augmentation: Further research is warranted to identify optimal data augmentation techniques for various medical imaging tasks, and to explore medically-irrelevant transformations like STRAP alongside established methods.
Summary updated