1. INTRODUCTION
portant [4, 5, 6, 7, 8, 9].
Healthcare systems face barriers to deploying deep-learning classifiers at scale, including the limited availability of annotated cases and the difficulty of producing standardized datasets across institutions [10]. Transfer learning offers a practical way to adapt the representations learned by pretrained networks to diagnostic tasks with less task-specific data [11]. In this study, the target classes are AMD, choroidal neovascularization (CNV), DR, diabetic macular edema (DME), central serous retinopathy (CSR), drusen, macular hole (MH), and normal retina [12].
Optical coherence tomography (OCT) has enabled detailed, non-invasive examination of retinal structure and is used to assess conditions including diabetic retinopathy (DR) and age-related macular degeneration (AMD). In practice, diagnostic consistency remains affected by image quality, disease progression, coexisting pathologies, and differences between patient groups and clinical settings [1, 2, 3]. DR can progress without early symptoms, while AMDrelated structural changes can cause substantial visual impairment; timely and accurate interpretation is therefore im-
AI has become an increasingly common component of ophthalmic research and clinical decision-support, and deep learning can learn image representations without requiring manually engineered features [13, 14, 15]. CNNs have been applied to medical-image classification, segmentation, and detection, while network weights, biases, and hyperparameters remain important to final performance [16, 17]. Artificial neural networks and deep-learning systems differ in model depth and learning strategy; gradient-based methods are widely used, while metaheuristic optimization has also been investigated to address some of their limitations [18, 19].
CNN-based systems may shorten diagnostic workflows and support clinicians, but conventional deep-network training is data intensive. Medical datasets can be limited by privacy requirements, annotation costs, and the need for expert review [20]. Accordingly, this study fine-tunes ImageNet-pretrained Xception, InceptionV3, MobileNetV2, and ResNet50 models for OCT images, adapting general visual representations to retinal disease patterns [21]. The proposed hybrid design supplements convolutional spatialfeature extraction with LSTM sequence modeling: the CNN encodes salient image structure and the LSTM learns relationships across the resulting feature sequence. The model is trained and tested on 24,000 OCT images representing eight conditions using TensorFlow and Keras [22].
The remainder of this paper reviews related work in Section 2, describes the dataset and methods in Section 3, presents results and discussion in Section 4, and concludes in Section 5.
2. RELATED WORK
Recent retinal-image research spans multi-label classification, denoising, transformer architectures, biomarkers, and clinical evaluation. Deep-intronic variants and splicing defects have been investigated as sources of inherited retinal disease, while vision-transformer methods address concurrent pathologies that are not well represented by single-label classification [23, 24]. For OCT images, multi-scale denoising residual networks aim to preserve diagnostic detail under speckle noise [25].
Other work explores tear extracellular-vesicle microRNAs as potential ocular biomarkers, interpretable lightweight CNNs for OCT classification, and the clinical assessment of AIassisted grading of epiretinal membranes [26, 27, 28]. Modelbased transformers have been applied to OCT images and videos, and hybrid convolution/vision-transformer methods combine local texture with global contextual features [29, 30].
Clinical translation has also motivated work on AI-enabled telemedicine, deep-learning approaches to glaucoma screening, and the genetic and clinical heterogeneity of inherited retinal diseases [31, 32, 33]. Additional studies propose global-attention networks for OCT, scale-adaptive systems for AMD grading, approaches to dataset bias and class imbalance, and residual encoder–decoder networks for exudate segmentation [34, 35, 36, 37]. Reviews of AI in retinal care discuss potential clinical applications alongside implementation challenges [38].
The reviewed work addresses retinal diagnosis at several levels. Molecular studies of deep-intronic variants show how aberrant splicing can expand the known mutational landscape and complicate inherited-disease diagnosis; understanding those variants can inform both diagnostic tools and genetherapy targets [23]. For acquired retinal disease, multi-label learning is relevant because patients may present with concurrent pathologies, whereas single-label classifiers do not represent that clinical complexity. Transformer-based classification has therefore been explored to model multiple conditions together [24].
OCT provides detailed views of the macula, but speckle noise can obscure disease features. The multi-scale denoising residual convolutional network described in prior work combines soft denoising, multi-scale context extraction, and feature fusion to suppress noise while retaining diagnostically useful information [25]. Complementary research investigates tear extracellular-vesicle microRNAs as non-invasive molecular biomarkers that may reflect ocular health, disease progression, or treatment response [26].
Manual OCT interpretation can be time-consuming and subject to reader variation. Lightweight CNNs have been evaluated for classification robustness and interpretability, including methods intended to explain model decisions and assess susceptibility to adversarial perturbations [27]. Clinical studies have also compared AI-assisted with unassisted evaluation of epiretinal-membrane severity. They report the potential for decision support while emphasizing careful review of model errors and patient-safety considerations [28].
Transformer methods extend this work from static images to temporal OCT data. The model-based transformer approach applies Vision Transformer and Swin Transformer models to OCT images and multi-scale transformer models to OCT video, with sparse representations used to handle highdimensional input and capture long-range dependencies [29]. Conv-ViT takes a complementary approach, combining convolutional extraction of local texture with transformer attention to represent global shape and context [30].
AI-assisted retinal care is also connected to telemedicine and portable imaging. Remote OCT acquisition and automated analysis could enable earlier feedback in underserved settings, although these systems must be integrated into clinical workflows responsibly [31]. A review of deep-learning glaucoma screening methods compares datasets, metrics, preprocessing, anatomical localization, classification, and segmentation, emphasizing the importance of timely screening for a disease that can remain silent in its early stages [32]. In inherited retinal disease, variable expression among female carriers of X-linked conditions has been linked to mosaic gene expression following X-inactivation, with implications for risk assessment and future precision therapies [33].
Several studies focus on model design and dataset properties. The global-attention block in GABNet generates attention over feature-map height, width, and channels to emphasize diagnostically relevant regions; Grad-CAM visualizations provide additional information about the regions driving predictions [34]. Scale-adaptive autoencoder and CNN methods have been used to detect and grade AMD from fundus images by capturing subtle retinal-pigment-epithelium and drusen changes [35]. Work on unified retinal datasets highlights the need to counter class imbalance across common conditions such as DR, AMD, and glaucoma to improve
clinical generalization [36]. Residual encoder–decoder architectures have also been applied to automated segmentation of diabetic-retinopathy exudates, an important marker for disease assessment [37]. More broadly, clinical reviews identify opportunities for AI to improve screening speed and access while noting challenges in validation, workflow integration, and safe use [38].
Table 1 summarizes the studies cited in this review. Collectively, they reflect a shift toward robust and generalizable models, attention mechanisms, and explainable predictions. Further work is needed on multimodal data, personalized diagnostic tools, and validation in real-world clinical settings.
3. MATERIALS AND METHODS
3.1 Dataset
The dataset comprises 24,000 retinal OCT images divided among eight classes: central serous retinopathy (CSR), diabetic macular edema (DME), diabetic retinopathy (DR), age-related macular degeneration (AMD), choroidal neovascularization (CNV), drusen, macular hole (MH), and normal retina. Each class contains 3,000 images. The dataset is organized into training, validation, and test folders, with 2,300 training images per class. Horizontal flipping, padding, and cropping are used during preprocessing to augment the data and reduce overfitting. The dataset is available from Kaggle at https://www.kaggle.com/datasets/obulisainaren/retinal-oct-c8; Figure 1 shows its class distribution.
3.2 Compared CNN Architectures
3.2.1 ResNet50
Residual networks (ResNet) use skip connections to pass activations from earlier layers to deeper layers, helping address vanishing gradients in deep networks. Residual and identity blocks are the basic units. The ResNet50 input image shape used in this study is 224 × 224 × 3, with three input channels [39].
3.2.2 MobileNetV2
MobileNet was introduced as a simplified architecture for efficient vision applications. MobileNetV2 adds inverted residual and linear bottleneck modules to improve training efficiency and accuracy. In this study, MobileNetV2 is used for feature generation and classification; the reported model has 2,261,827 parameters and 154 layers [40].
3.2.3 InceptionV3
Inception architectures use parallel convolutional operations and pooling to expand network depth and breadth. InceptionV3 replaces the initial 7×7 convolution used in earlier versions with three 3 × 3 convolutions and uses 299 × 299 input images. The implementation used here has 311 layers and 21,808,931 parameters [41, 42].
3.2.4 Xception
Xception replaces the original Inception modules with depthwise separable convolutions, combining spatial convolution per input channel with pointwise 1×1 convolution. The described model has 14 modules, 36 convolutional layers, 132 layers in total, and 20,867,627 parameters; its input size is 299×299 [43].
3.3 Proposed Hybrid CNN–LSTM Model
The proposed model has two parallel feature-extraction branches. The first extracts deep features through convolutional and identity blocks based on the ResNet structure. The second examines spatial features at a deeper level using max-pooling operations. The branch outputs are processed with global average pooling, reshaped into sequences, and passed to an LSTM layer to learn inter-feature dependencies. Dense layers then classify each image into one of the eight disease categories. The architecture combines spatial features learned by CNNs with sequence modeling by the LSTM.
Figure 2 outlines the analysis pipeline, from image loading and preprocessing through data splitting and model training to classification.
4. RESULTS AND DISCUSSION
The proposed CNN–LSTM model is evaluated against ResNet50, MobileNetV2, InceptionV3, and Xception on the retinal OCT test dataset. Performance is summarized using accuracy, precision, recall, and F1-score. Here, TP and TN denote correctly identified positive and negative cases, while FP and FN denote false positives and false negatives.
Table 3 reports the comparative test results. The hybrid CNN– LSTM achieves the highest overall accuracy (0.9300), precision (0.94), recall (0.93), and F1-score (0.93). ResNet50 is the second-best model by accuracy, while InceptionV3 and MobileNetV2 achieve moderate results. Xception has the lowest accuracy and F1-score among the compared models.
Figure 3 shows the training and validation loss curves. Training loss decreases throughout learning; validation loss fluctuates before declining, with the accompanying study text reporting a minimum at epoch 17. The overall convergence of the curves was interpreted as evidence of learning without substantial overfitting.
Training and validation accuracy are shown in Figure 4. Training accuracy improves over the course of training, while the accompanying study text reports that validation accuracy reaches its peak at epoch 27.
The proposed model’s ROC curves in Figure 5 show high areas under the curve across all eight retinal disease classes.
Identified splicing defects and demonstrated correction in photoreceptor precursors. [24] Multi-label retinal disease classification Vision-transformer model Addressed classification of concurrent retinal disorders. [25] Noisy OCT disease classification Multi-scale denoising residual CNN Improved classification under strong image noise. [26] Tear extracellular-vesicle miRNAs Profiling of tear EVs Identified miRNA profiles potentially associated with ocular disease. [27] Interpretable OCT classification Lightweight CNN with adversarial robustness evaluation
Reported a robust model for retinal disease classification. [28] Epiretinal membrane grading Clinical evaluation of OCT-based AI systems
Assessed the potential benefits and risks of AI-assisted grading. [29] OCT image and video classification Model-Based Transformer Reported improved discrimination for retinal disease detection. [30] Retinal disease detection CNN and Vision Transformer feature fusion
Combined texture and shape information. [31] AI and telemedicine in retinal care Perspective on AI-enabled remote care Highlighted opportunities and implementation challenges. [32] Automated glaucoma screening Review of deep-learning methods Summarized approaches and performance benchmarks. [33] X-linked inherited retinal disease Review of genetics, manifestations, and therapies
Described clinical variability and therapeutic considerations. [34] OCT disease classification GABNet with global attention Reported improved classification accuracy. [35] AMD detection and grading Scale-adaptive model using fundus images
Adapted feature analysis to retinal scales. [36] Dataset bias and class imbalance Multi-class learning on diverse data Targeted generalization to clinical settings. [37] Exudate segmentation in DR Residual encoder–decoder Supported automated segmentation for DR assessment. [38] Clinical AI for retinal disease Review of applications and future directions
Accuracy TP+TN TP+TN +FP+FN Precision TP TP+FP Recall TP TP+FN F1-score 2PrecisionRecall Precision+Recall
The reported results attribute this discrimination to the combination of spatial representation from CNN layers and featuresequence relationships modeled by the LSTM.
Figure 6 shows weaker ROC performance for Xception, consistent with its 47.1% test accuracy.
Figure 7 shows reasonable but variable discrimination across classes for InceptionV3, whose overall accuracy is 76.0%.
MobileNetV2 provides intermediate ROC performance and 74.3% accuracy (Figure 8); its lightweight design offers computational efficiency, although the reported curves are less
Discussed benefits and workflow limitations.
consistent across classes than those of the hybrid model.
ResNet50 has the strongest aggregate result among the comparison architectures, reaching 84.5% accuracy, and its ROC curves show generally good class discrimination (Figure 9). The proposed CNN–LSTM nevertheless outperforms all four comparison models on the reported aggregate metrics. The study attributes this result to the hybrid architecture’s taskspecific design and the combination of spatial feature extraction with sequence modeling.
5. CONCLUSION
This paper presents a hybrid CNN–LSTM architecture for automated classification of retinal disease from OCT images. CNN branches learn spatial features, while the LSTM models relationships within the extracted feature sequence. Evaluation on a dataset of 24,000 images across eight classes yields 93% accuracy, 94% precision, 93% recall, and a 0.93 F1-score, exceeding the reported results for ResNet50, InceptionV3, MobileNetV2, and Xception.
The approach combines transfer learning with sequence modeling. Fine-tuning pretrained image models on OCT data provides a way to adapt existing visual representations to retinal texture and structural patterns, while the hybrid network performs automated feature learning without handcrafted descriptors. The reported classification scope includes AMD, CNV, DR, DME, CSR, drusen, MH, and normal retina.
The authors identify potential clinical value in settings with limited access to ophthalmological expertise, where automated analysis may support faster and more standardized assessment. These results should be interpreted as an evaluation on the reported dataset; broader external validation across diverse imaging devices, patient populations, and clinical environments is needed to establish generalizability and practical utility.