Abstract
Image augmentations are quintessential for effective visual representation learning across self-supervised learning techniques. While augmentation strategies for natural imaging have been studied extensively, medical images are vastly different from their natural counterparts. Thus, it is unknown whether common augmentation strategies employed in Siamese representation learning generalize to medical images and to what extent. To address this challenge, in this study, we systematically assess the effect of various augmentations on the quality and robustness of the learned representations. We train and evaluate Siamese Networks for abnormality detection on chest X-Rays across three large datasets (MIMIC-CXR, CheXpert and VinDr-CXR). We investigate the efficacy of the learned representations through experiments involving linear probing, fine-tuning, zero-shot transfer, and data efficiency. Finally, we identify a set of augmentations that yield robust representations that generalize well to both out-of-distribution data and diseases, while outperforming supervised baselines using just zero-shot transfer and linear probes by up to 20%.
Introduction
Deep learning in medical imaging is often bottlenecked by the high cost and scarcity of expert-labeled data. Self-supervised learning (SSL) offers a solution by learning from unlabeled data, but its success relies heavily on "augmentations"—artificial transformations like rotating or blurring an image to create different "views" for the model to compare. While we know which augmentations work for natural images, medical images are fundamentally different. For example, flipping a chest X-ray horizontally might change the anatomical meaning, and color jittering is meaningless for grayscale radiographs. This paper fills the gap by identifying the specific "views" that help a model learn the most robust clinical features for chest X-rays.
Methods
The researchers utilized SimSiam, a minimalist Siamese network architecture. Unlike other SSL methods that require negative pairs, SimSiam simply tries to make the representations of two different augmented versions of the same image match.
The core of the study was a systematic grid search of augmentation pairs. They tested spatial transformations (random resized cropping, rotation, and cutout) and pixel-wise transformations (Gaussian noise, Gaussian blur, Sobel filtering, and intensity distortion). The quality of learned features was evaluated through linear probing, fine-tuning, and zero-shot transfer.
Datasets
The study leveraged three massive, publicly available chest X-ray datasets:
- MIMIC-CXR: ~200,000 images used for primary SSL pre-training.
- CheXpert: ~168,000 images used for cross-dataset evaluation.
- VinDr-CXR: A high-quality dataset from Vietnam with labels from multiple radiologists, used to test generalization to different populations and unseen diseases like Tuberculosis.
Key Insights
- Cropping is King: Random Resized Cropping was found to be the most critical augmentation. By showing the model different sub-sections of the lung, the model is forced to learn local pathological features rather than just global anatomical shapes.
- The Optimal Pair: The best results came from combining Crop + Intensity Distortion. This combination forces the model to be invariant to both spatial framing and the specific lighting/contrast settings of different X-ray machines.
- Medical SSL > ImageNet: The study shows that SSL on medical images alone, using the right augmentations, consistently beats traditional ImageNet pre-training.
- Robustness to Unseen Diseases: Remarkably, a model trained on MIMIC-CXR (which lacks Tuberculosis) could still identify Tuberculosis in the VinDr-CXR dataset via zero-shot transfer, suggesting it learned fundamental anatomical "red flags."
Key Results
- Performance Boost: Linear probes using the optimal SSL representations outperformed supervised models trained from scratch by up to 20% on certain tasks.
- Zero-Shot Generalization: The SSL model achieved a 0.805 Macro AUROC on the VinDr-CXR dataset without seeing a single label from that dataset, outperforming fully supervised models trained specifically on that data.
- Data Efficiency: When labels are extremely scarce (e.g., 1% or 10%), SSL-pre-trained models maintained much higher accuracy than traditional supervised approaches.
- Rare Disease Detection: The SSL approach was significantly better at detecting rare conditions like Rib Fractures, which are often missed by standard models due to low prevalence in training data.
Conclusion
This work identifies an optimal augmentation strategy for Siamese representation learning on chest X-rays, demonstrating that domain-specific SSL can significantly outperform supervised baselines and ImageNet pre-training. Future work could explore automated augmentation policies or physics-driven transformations that more accurately simulate X-ray generation processes.
Summary updated