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
Self-supervised learning (SSL) has revolutionized computer vision by enabling models to learn from vast unlabeled datasets. Siamese networks, a popular SSL approach, learn by recognizing that two differently augmented versions of the same image represent the same underlying concept. However, the success of these models hinges on the choice of augmentations (e.g., flipping, blurring, cropping). While optimal strategies for natural images are well-understood, medical images like Chest X-rays (CXRs) present unique challenges: they are grayscale, have fixed orientations, and contain subtle diagnostic features. This study systematically investigates which augmentations are most effective for representation learning in the clinical domain.
Methods and Datasets
The researchers employed SimSiam, a minimalist Siamese architecture, to conduct a comprehensive grid search of augmentation pairs. The transformations tested included geometric changes (random resized cropping, rotation, cutout) and pixel-wise adjustments (brightness/contrast distortion, Gaussian noise, Gaussian blur, and Sobel filtering).
The study utilized three large-scale CXR datasets:
- MIMIC-CXR: 200k images for self-supervised pretraining and internal evaluation.
- CheXpert: Used for external evaluation and fine-tuning.
- VinDr-CXR: A dataset from Vietnam used for out-of-distribution (OOD) testing, featuring 28 findings including Tuberculosis, which was absent from the pretraining data.
Key Insights
The systematic evaluation revealed several critical findings:
- Cropping is Essential: Similar to natural imaging, random resized cropping is the most vital augmentation, forcing the network to relate local textures to global anatomy.
- Optimal "Medical" Recipe: Unlike natural images that rely on color jittering, the optimal strategy for grayscale CXRs is a combination of cropping and brightness/contrast distortion ($t_\theta$).
- Superior Generalization: Representations learned via SSL showed remarkable zero-shot transfer capabilities, often outperforming models trained directly on target datasets.
- Rare Disease Robustness: SSL-based models were significantly more effective at identifying rare conditions, such as rib fractures, where supervised models typically struggle due to data scarcity.
Key Results
The proposed augmentation strategy ($t_\theta$) yielded substantial performance gains. Linear probes using these features outperformed fully supervised models by 5.0% AUROC on MIMIC-CXR and 9.9% AUROC on VinDr-CXR. Notably, on unseen diseases like Tuberculosis, the SSL-based approach surpassed supervised baselines by over 10% AUROC. Furthermore, fine-tuned SSL models achieved competitive performance using only 10% of labeled data compared to supervised models using 100%.
Conclusion
This work provides a definitive "recipe" for image augmentations in medical Siamese representation learning. By identifying that cropping and distortion are the primary drivers of performance, the authors demonstrate that SSL can produce representations that are more robust and generalizable than those from traditional supervised learning, particularly for rare diseases and out-of-distribution data. Future research may explore these strategies in 3D modalities like CT or MRI and investigate more complex, learned augmentation policies.
Summary updated