Automated Retinal Disease Classification from OCT Images Using a Lightweight CNN–SE Architecture
Abstract
Automated classification of retinal diseases from Optical Coherence Tomography (OCT) images can support timely and consistent identification of retinal abnormalities; however, many existing approaches rely on computationally intensive architectures or complex preprocessing procedures. This study proposes a lightweight Convolutional Neural Network with Squeeze-and-Excitation blocks (CNN–SE) for automated multi-class retinal disease classification while maintaining a compact computational structure. The proposed architecture consists of convolutional layers with SE-based channel recalibration, global average pooling, a fully connected layer, and dropout. Unlike approaches that depend on pretrained backbones or multi-stage segmentation, the proposed framework integrates channel-wise feature recalibration directly into a compact CNN, allowing the model to learn discriminative retinal representations with limited architectural complexity. Data augmentation was applied only to the training images, and the network was optimized using the Adam optimizer. The model was evaluated on the eight-class OCT-C8 dataset and the four-class OCT2017 dataset using accuracy, precision, recall, F1-score, and macro-ROC-AUC. The proposed model achieved 97.00% accuracy on OCT-C8 and 99.00% on OCT2017. To assess domain generalization, the model was trained exclusively on OCT-C8 and directly evaluated on the independent OCT2017 test set without retraining or fine-tuning. Across five random seeds, the cross-dataset evaluation achieved 98.74 ± 0.11% accuracy, with consistently high precision, recall, F1-score, and macro-ROC-AUC. The proposed network maintains a compact computational footprint and enables efficient image inference compared with the evaluated lightweight architectures. These results demonstrate that the proposed CNN–SE architecture provides strong classification performance and cross-dataset generalization while maintaining computational efficiency, making it a promising lightweight framework for automated retinal OCT image analysis
Downloads
References
T. Ojala, M. Pietikainen, and T. Maenpaa, “Multiresolution gray-scale and rotation invariant texture classification with local binary patterns,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 24, no. 7, pp. 971–987, Jul. 2002, doi: 10.1109/TPAMI.2002.1017623.
N. Dalal and B. Triggs, “Histograms of Oriented Gradients for Human Detection,” in 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), San Diego, CA, USA, 2005, pp. 886-893 vol. 1. doi: 10.1109/CVPR.2005.177.
R. M. Haralick, K. Shanmugam, and I. Dinstein, “Textural Features for Image Classification,” IEEE Trans. Syst. Man Cybern., vol. SMC-3, no. 6, pp. 610–621, Nov. 1973, doi: 10.1109/TSMC.1973.4309314.
G. Li, G. Wang, Q. Wang, F. Fei, S. Lü, and D. Guo, “ANN: a heuristic search algorithm based on artificial neural networks,” in Proceedings of the 1st International Conference on Intelligent Information Processing, ICIIP-16. 2016, Art. no. 51, pp. 1–9, doi: 10.1145/3028842.3028893.
M. A. Hearst, S. T. Dumais, E. Osuna, J. Platt, and B. Scholkopf, “Support vector machines,” IEEE Intelligent Systems and their Applications, vol. 13, no. 4, pp. 18–28, Jul. 1998, doi: 10.1109/5254.708428.
R. Chauhan, K. K. Ghanshala, and R. C. Joshi, “Convolutional Neural Network (CNN) for Image Detection and Recognition,” in 2018 First International Conference on Secure Cyber Computing and Communication (ICSCCC), 2018, pp. 278–282. doi: 10.1109/ICSCCC.2018.8703316.
B. Zoph, V. Vasudevan, J. Shlens, and Q. V. Le, “Learning Transferable Architectures for Scalable Image Recognition,” in 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE, Jun. 2018, pp. 8697–8710. doi: 10.1109/CVPR.2018.00907.
A. Krizhevsky, I. Sutskever, and G. E. Hinton, “ImageNet classification with deep convolutional neural networks,” Commun. ACM, vol. 60, no. 6, pp. 84–90, May 2017, doi: 10.1145/3065386.
K. Simonyan and A. Zisserman, “Very Deep Convolutional Networks for Large-Scale Image Recognition,” arXiv preprint arXiv:1409.1556, Apr. 2015, doi: 10.48550/arXiv.1409.1556
K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE, Jun. 2016, pp. 770–778. doi: 10.1109/CVPR.2016.90.
C. Szegedy et al., “Going deeper with convolutions,” in 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2015, pp. 1–9. doi: 10.1109/CVPR.2015.7298594.
G. Huang, Z. Liu, L. van der Maaten, and K. Weinberger, “Densely Connected Convolutional Networks,” 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 2017, pp. 2261-2269. doi: 10.1109/CVPR.2017.243.
C. Szegedy, S. Ioffe, V. Vanhoucke, and A. Alemi, “Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 31, Aug. 2017, doi: 10.1609/aaai.v31i1.11231.
F. Chollet, “Xception: Deep Learning with Depthwise Separable Convolutions,” 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 2017, pp. 1800-1807. doi: 10.1109/CVPR.2017.195.
M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L.-C. Chen, “MobileNetV2: Inverted Residuals and Linear Bottlenecks,” 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 2018, pp. 4510-4520. doi: 10.1109/CVPR.2018.00474.
M. Tan and Q. Le, “EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks,” arXiv preprint arXiv:1905.11946, 2019. doi: 10.48550/arXiv.1905.11946.
P. P. Srinivasan et al., “Fully automated detection of diabetic macular edema and dry age-related macular degeneration from optical coherence tomography images,” Biomed. Opt. Express, vol. 5, no. 10, p. 3568, Oct. 2014, doi: 10.1364/BOE.5.003568.
Y.-Y. Liu et al., “Computerized Macular Pathology Diagnosis in Spectral Domain Optical Coherence Tomography Scans Based on Multiscale Texture and Shape Features,” Investigative Opthalmology & Visual Science, vol. 52, no. 11, p. 8316, Oct. 2011, doi: 10.1167/iovs.10-7012.
A. Maćkiewicz and W. Ratajczak, “Principal components analysis (PCA),” Comput. Geosci., vol. 19, no. 3, pp. 303–342, 1993, doi: 10.1016/0098-3004(93)90090-R.
K. Alsaih et al., “Classification of SD-OCT volumes with multi pyramids, LBP and HOG descriptors: Application to DME detections,” in 2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), IEEE, Aug. 2016, pp. 1344–1347. doi: 10.1109/EMBC.2016.7590956.
L. Huang, X. He, L. Fang, H. Rabbani, and X. Chen, “Automatic Classification of Retinal Optical Coherence Tomography Images With Layer Guided Convolutional Neural Network,” IEEE Signal Process. Lett., vol. 26, no. 7, pp. 1026–1030, Jul. 2019, doi: 10.1109/LSP.2019.2917779.
D. S. Kermany et al., “Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep Learning,” Cell, vol. 172, no. 5, pp. 1122-1131.e9, Feb. 2018, doi: 10.1016/j.cell.2018.02.010.
J. Kim and L. Tran, “Retinal Disease Classification from OCT Images Using Deep Learning Algorithms,” in 2021 IEEE Conference on Computational Intelligence in Bioinformatics and Computational Biology (CIBCB), IEEE, Oct. 2021, pp. 1–6. doi: 10.1109/CIBCB49929.2021.9562919.
S. Diao et al., “Classification and segmentation of OCT images for age-related macular degeneration based on dual guidance networks,” Biomed. Signal Process. Control, vol. 84, p. 104810, Jul. 2023, doi: 10.1016/j.bspc.2023.104810.
E. Hassan et al., “Enhanced Deep Learning Model for Classification of Retinal Optical Coherence Tomography Images,” Sensors, vol. 23, no. 12, p. 5393, Jun. 2023, doi: 10.3390/s23125393.
C. S. Lee, D. M. Baughman, and A. Y. Lee, “Deep Learning Is Effective for Classifying Normal versus Age-Related Macular Degeneration OCT Images,” Ophthalmol. Retina, vol. 1, no. 4, pp. 322–327, 2017, doi: 10.1016/j.oret.2016.12.009.
D. Paul, A. Tewari, S. Ghosh, and K. C. Santosh, “OCTx: Ensembled Deep Learning Model to Detect Retinal Disorders,” in 2020 IEEE 33rd International Symposium on Computer-Based Medical Systems (CBMS), IEEE, Jul. 2020, pp. 526–531. doi: 10.1109/CBMS49503.2020.00105.
J. Yang, G. Wang, X. Xiao, M. Bao, and G. Tian, “Explainable ensemble learning method for OCT detection with transfer learning,” PLoS One, vol. 19, no. 3, p. e0296175, Mar. 2024, doi: 10.1371/journal.pone.0296175.
M. Stanojević, D. Drašković, and B. Nikolić, “Retinal disease classification based on optical coherence tomography images using convolutional neural networks,” Journal of Electronic Imaging, vol. 32, no. 03, Nov. 2022, doi: 10.1117/1.JEI.32.3.032004.
M. Selvarajan and M. B. N. M, “Impact of Optimizer Algorithm on NasNetMobile Model for Eight-class Retinal Disease Classification from OCT Images,” Journal of Electronics, Electromedical Engineering, and Medical Informatics, vol. 8, no. 2, pp. 490–503, Mar. 2026, doi: 10.35882/jeeemi.v8i2.1464.
Obuli Sai Naren, “Retinal OCT Image Classification - C8” Kaggle, 2021. [Online]. Available: Accessed: Jul. 20, 2026. doi: 10.34740/KAGGLE/DSV/2736749
F. E. Jannat, S. Gholami, M. N. Alam, and H. Tabkhi, “OCT-SelfNet: a self-supervised framework with multi-source datasets for generalized retinal disease detection,” Frontiers in Big Data, vol. 8, Art. no. 1609124, 2025, doi: 10.3389/fdata.2025.1609124.
P. R. Dave and N. H. Domadiya, “Lightweight deep learning approach for retinal OCT image classification: A CNN with hybrid pooling and optimized learning,” International Journal of Informatics and Communication Technology (IJ-ICT), vol. 15, no. 1, p. 414, Mar. 2026, doi: 10.11591/ijict.v15i1.pp414-427.
Z. Yang, R. O. Sinnott, J. Bailey, and Q. Ke, “A survey of automated data augmentation algorithms for deep learning-based image classification tasks,” Knowl. Inf. Syst., vol. 65, no. 7, pp. 2805–2861, 2023, doi: 10.1007/s10115-023-01853-2.
J. Hu, L. Shen, and G. Sun, “Squeeze-and-Excitation Networks,” in 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE, Jun. 2018, pp. 7132–7141. doi: 10.1109/CVPR.2018.00745.
V. Nair and G. E. Hinton, “Rectified Linear Units Improve Restricted Boltzmann Machines.” in Proc. 27th International Conference on Machine Learning (ICML), 2010, pp. 807–814 doi: 10.5555/3104322.3104425
D. P. Kingma and J. Ba, “Adam: A Method for Stochastic Optimization,” arXiv preprint arXiv:1412.6980,2017 doi: 10.48550/arXiv.1412.6980.
M. Opoku, B. A. Weyori, A. F. Adekoya, and K. Adu, “CLAHE-CapsNet: Efficient retina optical coherence tomography classification using capsule networks with contrast limited adaptive histogram equalization,” PLoS One, vol. 18, no. 11, p. e0288663, Nov. 2023, doi: 10.1371/journal.pone.0288663.
D. Le et al., “Transfer Learning for Automated OCTA Detection of Diabetic Retinopathy,” Transl. Vis. Sci. Technol., vol. 9, no. 2, p. 35, Jul. 2020, doi: 10.1167/tvst.9.2.35.
A. A. Saraiva, D. B. S. B. S. Santos, P. Pimentel, J. V. M. Sousa, N. M. F. Ferreira, J. E. S. Batista Neto, S. Soares, and A. Valente, “Classification of optical coherence tomography using convolutional neural networks,” in Proc. 13th International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC-2020), BIOINFORMATICS, 2020, pp. 168–175. doi: 10.5220/0009091001680175.
Copyright (c) 2026 Parth Dave, Nikunj Domadiya, Jaiwal Patel

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).


.png)
.png)
.png)
.png)
.png)