arXiv:2608.26686cs.CVAug 2026

Manuscript Offprint

arXiv:2608.26686

Domain-Specific Self-Supervised Representation Learning for Retinal Fundus Classification

Bekzat Nurlanbekova, Fung Fung Ting

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Bekzat Nurlanbekova* and Fung Fung Ting†

  • † School of Information Technology

Monash University Malaysia, Malaysia

† Corresponding author. Email: ting.fung@monash.edu

Abstract—Despite the growing number of public datasets, annotated medical images remain scarce. Supervised learning methods achieve strong performance on many benchmarks, however require large amounts of labeled data, which are costly and time-consuming to obtain in the medical domain. To address this limitation, contrastive self-supervised learning (SSL) has emerged as a promising alternative for learning useful representations from unlabeled data. In this work, we investigate two SSL frameworks, SimSiam and SimCLR, for retinal disease classification from fundus images. We focus on understanding how augmentation strategies and training parameters influence representation learning under resource-constrained settings. Given limited data and computational capacity, we explore the feasibility of training SSL models with small batch sizes incorporated with retinal-specific augmentation techniques. Through a series of experiments, we assess the quality of learned representations via linear evaluation and fine-tuning across downstream tasks, including multi-disease classification and diabetic retinopathy grading. Our results show that tailoring augmentation strategies to the characteristics of retinal images plays a critical role in improving performance. Even under constrained settings, lightweight SSL frameworks can learn transferable representations that reduce dependence on large annotated datasets and achieve competitive results.

I. INTRODUCTION

Supervised learning with Convolutional Neural Network (CNN) architectures has achieved strong performance in image classification, object detection and segmentation tasks [1]. These methods have been widely applied across various domains, including document analysis, retail, robotics, and satellite imagery interpretation. In the medical field, CNNs are used to detect pathologies such as pneumonia, brain tumors, and eye diseases through the analysis of imaging modalities like MRI, X-ray, and CT scans [2]. However, supervised learning relies on large labeled datasets, which remain a major challenge in the medical domain. Data annotation is a costly, time-consuming manual process that requires specialized medical expertise.

One approach to mitigate the scarcity of labeled medical image data is transfer learning, which has demonstrated strong performance in several medical image analysis tasks. In this setting, models are first pre-trained on large-scale natural image datasets and then fine-tuned on smaller medical datasets. However, this approach has notable limitations [3]. A key issue is the domain gap, as the visual characteristics and semantic structures of medical images differ significantly from those of natural images. As a result, the learned representations may not transfer effectively to medical tasks. Another approach to address the scarcity of annotated medical datasets is self-supervised learning. In this paradigm, models are trained to learn robust and discriminative image representations from unlabeled data, which can then be transferred to downstream tasks [4, 5].

Following advances in medical domain, retinal fundus images analysis has received increasing attention. Fundus images are captured using specialized cameras and provide detailed views of the back of the eye, including the retinal vasculature, macula, and optic nerve. These images are widely used for screening and diagnosis of conditions such as retinal vascular diseases, retinal detachment, diabetic retinopathy (DR), glaucoma, and other ocular pathologies. A recent meta-analysis reported that 22.27% of individuals with diabetes worldwide are affected by some form of DR. In 2020, approximately 103.1 million people were estimated to have DR, with potentially increase up to 160.5 million by 2045 [6]. In addition, glaucoma and age-related macular degeneration (AMD) remain leading causes of vision loss globally. Despite growing number of public datasets, the availability of large-scale, well-annotated retinal image datasets remains limited. In this context, self-supervised learning offers a practical alternative by leveraging abundant unlabeled data to learn meaningful representations.

In this work, we investigate the efficacy of contrastive and non-contrastive self-supervised learning for retinal disease classification using fundus images. We pretrain two representative frameworks, SimSiam and SimCLR, under conditions of limited labeled data and strict resource constraints. SimCLR is traditionally optimized using large batch sizes to leverage extensive negative sampling [7]. However, its potential within restricted training configurations remains under-explored in the medical domain. This research investigates whether domain-specific augmentation strategies can enhance SimCLRs performance in small-batch scenarios. We contrast this with SimSiam, a framework designed for computational efficiency that achieves robust representation learning without the necessity of negative pairs or large batches.

The proposed research is guided by three core objectives:

  1. Comparative Analysis: We evaluate SimSiam and SimCLR across various training configurations to determine which framework maintains higher representation quality when computational resources (memory and time) are restricted.

  2. Domain-Specific Augmentation: We examine whether integrating Graham’s retina-specific preprocessing into the aug-mentation pipeline can mitigate the performance loss typically observed in short-duration pretraining compared to standard augmentations.

  3. Generalization of Lightweight Models: We investigate the extent to which a lightweight SSL framework can learn robust representations that generalize effectively across diverse downstream retinal disease classification tasks.

To address these objectives, we employ a three-stage experimental pipeline: self-supervised pretraining on unlabeled fundus images, linear evaluation using a frozen backbone to assess representation quality, and full fine-tuning on labeled data to measure downstream clinical utility.