[Paper Review] On the Robustness of Pretraining and Self-Supervision for a Deep Learning-based Analysis of Diabetic Retinopathy
This study evaluates the robustness of pretraining and self-supervised learning for diabetic retinopathy classification using the IDRiD dataset. It demonstrates that models pre-trained on ImageNet and fine-tuned with contrastive learning outperform supervised baselines in accuracy, generalization, robustness to image distortions, and interpretability—particularly in detecting small lesions like microaneurysms while reducing overfitting to large ones.
There is an increasing number of medical use-cases where classification algorithms based on deep neural networks reach performance levels that are competitive with human medical experts. To alleviate the challenges of small dataset sizes, these systems often rely on pretraining. In this work, we aim to assess the broader implications of these approaches. For diabetic retinopathy grading as exemplary use case, we compare the impact of different training procedures including recently established self-supervised pretraining methods based on contrastive learning. To this end, we investigate different aspects such as quantitative performance, statistics of the learned feature representations, interpretability and robustness to image distortions. Our results indicate that models initialized from ImageNet pretraining report a significant increase in performance, generalization and robustness to image distortions. In particular, self-supervised models show further benefits to supervised models. Self-supervised models with initialization from ImageNet pretraining not only report higher performance, they also reduce overfitting to large lesions along with improvements in taking into account minute lesions indicative of the progression of the disease. Understanding the effects of pretraining in a broader sense that goes beyond simple performance comparisons is of crucial importance for the broader medical imaging community beyond the use-case considered in this work.
Motivation & Objective
- To assess the broader implications of pretraining and self-supervision beyond simple performance metrics in medical imaging.
- To compare supervised learning, self-supervised contrastive learning, and different weight initialization strategies (ImageNet vs. random) for diabetic retinopathy grading.
- To investigate robustness to image distortions and statistical variations in feature representations across training methods.
- To evaluate model interpretability through lesion-specific attribution maps (RMA, RRA) to understand which pathological features models rely on.
- To determine whether self-supervised pretraining improves detection of subtle, early-stage lesions like microaneurysms while reducing overfitting to large lesions such as hard exudates.
Proposed method
- Fine-tuned ResNet-50 models using four training strategies: supervised learning with ImageNet pretraining (IFI), supervised learning with random initialization (IWNE), self-supervised contrastive learning with ImageNet pretraining (IFI-CL), and self-supervised contrastive learning with random initialization (IWNE-CL).
- Applied contrastive learning using MoCo v2 with instance discrimination and rotation prediction as pretext tasks to learn generalizable representations without labels.
- Evaluated model performance using standard metrics: classification accuracy, AUC, and F1-score on the IDRiD dataset for diabetic retinopathy grading.
- Analyzed feature representation robustness via eigenvalue statistics of the feature covariance matrix across different training methods.
- Used gradient-based saliency maps (Grad-CAM) to compute lesion-specific attribution scores (RMA, RRA) for microaneurysms, haemorrhages, hard exudates, and total lesions.
- Compared attribution maps to ground-truth lesion maps to quantify how well models attend to clinically relevant features.
Experimental results
Research questions
- RQ1How does ImageNet pretraining affect model performance, generalization, and robustness to image distortions in diabetic retinopathy classification?
- RQ2To what extent do self-supervised contrastive learning methods improve model performance and feature representation statistics compared to supervised fine-tuning?
- RQ3How do different training strategies (supervised vs. self-supervised, with/without ImageNet pretraining) affect model attention to clinically relevant lesions—especially microaneurysms and haemorrhages?
- RQ4Do self-supervised models reduce overfitting to large lesions such as hard exudates compared to supervised models?
- RQ5How do the statistical properties of learned feature representations (eigenvalue distribution) correlate with robustness to image distortions?
Key findings
- Models initialized from ImageNet pretraining (IFI) showed significantly higher performance, generalization, and robustness to image distortions compared to models with random initialization (IWNE).
- Self-supervised contrastive learning (CL) outperformed supervised fine-tuning (FS) across all metrics, with IFI-CL achieving the highest AUC and F1-score on the IDRiD dataset.
- IFI-CL models demonstrated superior interpretability, with RMA and RRA scores indicating better alignment with ground-truth lesion maps, especially for microaneurysms and haemorrhages.
- Supervised models (especially IWNE-FS) overfit to large lesions such as hard exudates, showing high RMA and RRA for these features while underperforming on small, clinically relevant lesions.
- Eigenvalue analysis revealed that IFI-CL models learned more stable and robust feature representations, with flatter eigenvalue spectra indicating better generalization capacity.
- For total lesion detection, IFI-CL outperformed all other methods in RRA, indicating that self-supervised models integrate diverse lesion types more effectively than supervised models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.