Comparative Evaluation of a Lightweight Convolutional Neural Network and Pretrained Transfer Learning Models for Binary Classification of Diabetic Retinopathy

Authors

Fiberesima Alalibo Ralph

Department of Computer Science, Federal Polytechnic of Oil and Gas, Bonny (Nigeria)

Aminobiren Charles Omovidonor

Department of Mathematics and Statistics, Federal Polytechnic of Oil and Gas, Bonny (Nigeria)

Article Information

DOI: 10.51584/IJRIAS.2026.11090126

Subject Category: Computer Science

Volume/Issue: 11/9 | Page No: 1841-1856

Publication Timeline

Submitted: 2026-09-30

Accepted: 2026-10-05

Published: 2026-10-21

Abstract

Diabetic retinopathy (DR) is a leading cause of preventable vision loss worldwide, and automated screening tools based on retinal fundus imaging have become an active area of research. Transfer-learning architectures are frequently applied to DR classification, but the relative performance of different pretrained families under identical experimental conditions remains incompletely characterised. This study presents a controlled comparative evaluation of five CNN architectures for binary DR classification on the Messidor dataset: a lightweight baseline CNN trained from random initialization, and four ImageNet-pretrained models with partial fine-tuning (EfficientNet-B0, MobileNetV2, DenseNet121, and ResNet50). All models were trained and evaluated under identical conditions, including the same preprocessing pipeline, train–validation split, augmentation policy, class-weighting scheme, optimizer, and evaluation metrics. To address sampling variance, each model was trained with three independent random seeds (42, 123, 2024), and results are reported as mean ± standard deviation with 95% confidence intervals. The binary target mapped Messidor retinopathy grade 0 to “no DR” and grades 1–3 to “DR present.” On the held-out 240-image test set, EfficientNet-B0 achieved the highest mean area under the receiver operating characteristic curve (AUC = 0.849; 95% CI 0.835–0.863) with only 0.90M trainable parameters. DenseNet121 achieved the highest mean accuracy (76.81%; 95% CI 73.65–79.97) with the fewest trainable parameters of any pretrained model (0.32M). MobileNetV2 (AUC = 0.814; 95% CI 0.793–0.835) and ResNet50 (AUC = 0.816; 95% CI 0.808–0.824) were statistically indistinguishable. The baseline CNN failed to converge and produced near-chance discrimination (AUC = 0.663; 95% CI 0.625–0.701) despite an apparently competitive point-estimate sensitivity, which reflects a positive-prediction bias rather than genuine learning. The gap between the baseline and every pretrained model exceeded ten times the standard deviation of either model, confirming that the transfer-learning advantage is robust. A secondary analysis on two of the five models found that CLAHE preprocessing did not improve validation accuracy and modestly reduced it; this is reported as a preliminary observation rather than a general claim.

Keywords

diabetic retinopathy, convolutional neural network, transfer learning, EfficientNet-B0, MobileNetV2, DenseNet121, ResNet50, Messidor, multi-seed robustness

Downloads

References

1. Abbas, Q., Daadaa, Y., Rashid, U., Sajid, M. Z., & Ibrahim, M. E. A. (2023). HDR-EfficientNet: A classification of hypertensive and diabetic retinopathy using optimize EfficientNet architecture. Diagnostics, 13(20), 3236. https://doi.org/10.3390/diagnostics13203236 [Google Scholar] [Crossref]

2. Akhtar, S., Aftab, S., Ali, O., Ahmad, M., Khan, M. A., Abbas, S., & Ghazal, T. M. (2025). A deep learning based model for diabetic retinopathy grading. Scientific Reports, 15, 3763. https://doi.org/10.1038/s41598-025-87171-9 [Google Scholar] [Crossref]

3. American Diabetes Association Professional Practice Committee for Diabetes. (2026). 12. Retinopathy, neuropathy, and foot care: Standards of Care in Diabetes—2026. Diabetes Care, 49(Suppl. 1), S261–S276. https://doi.org/10.2337/dc26-S012 [Google Scholar] [Crossref]

4. Arora, L., Singh, S. K., Kumar, S., Gupta, H., Alhalabi, W., Arya, V., Bansal, S., Chui, K. T., & Gupta, B. B. (2024). Ensemble deep learning and EfficientNet for accurate diagnosis of diabetic retinopathy. Scientific Reports, 14, 30554. https://doi.org/10.1038/s41598-024-81132-4 [Google Scholar] [Crossref]

5. Bhulakshmi, R. M., & Rajput, S. (2024). A systematic review on diabetic retinopathy detection and classification based on deep learning techniques using fundus images. PeerJ Computer Science, 10, e1947. https://doi.org/10.7717/peerjcs.1947 [Google Scholar] [Crossref]

6. Decencière, E., Zhang, X., Cazuguel, G., Lay, B., Cochener, B., Trone, C., Gain, P., Ordonez, R., Massin, P., Erginay, A., Charton, B., & Klein, J.-C. (2014). Feedback on a publicly distributed image database: The Messidor database. Image Analysis & Stereology, 33(3), 231–234. https://doi.org/10.5566/ias.1155 [Google Scholar] [Crossref]

7. Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., & Fei-Fei, L. (2009). ImageNet: A large-scale hierarchical image database. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 248–255). https://doi.org/10.1109/CVPR.2009.5206848 [Google Scholar] [Crossref]

8. He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 770–778). https://doi.org/10.1109/CVPR.2016.90 [Google Scholar] [Crossref]

9. Huang, G., Liu, Z., van der Maaten, L., & Weinberger, K. Q. (2017). Densely connected convolutional networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 4700–4708). https://doi.org/10.1109/CVPR.2017.243 [Google Scholar] [Crossref]

10. International Diabetes Federation. (2025). IDF Diabetes Atlas (11th ed.). International Diabetes Federation. [Google Scholar] [Crossref]

11. Ioffe, S., & Szegedy, C. (2015). Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning (ICML) (pp. 448–456). [Google Scholar] [Crossref]

12. Kingma, D. P., & Ba, J. (2015). Adam: A method for stochastic optimization. In Proceedings of the 3rd International Conference on Learning Representations (ICLR). [Google Scholar] [Crossref]

13. Lin, C.-L., & Jiang, Z.-X. (2023). Development of preprocessing methods and revised EfficientNet for diabetic retinopathy detection. International Journal of Imaging Systems and Technology, 33(4), 1450–1466. https://doi.org/10.1002/ima.22874 [Google Scholar] [Crossref]

14. Mutawa, A. M., Alnajdi, S., & Sruthi, S. (2023). Transfer learning for diabetic retinopathy detection: A study of dataset combination and model performance. Applied Sciences, 13(9), 5685. https://doi.org/10.3390/app13095685 [Google Scholar] [Crossref]

15. Oltu, B., Karaca, B. K., Erdem, H., & Özgür, A. (2023). A systematic review of transfer learning based approaches for diabetic retinopathy detection. Gazi University Journal of Science, 36(3), 1140–1157. https://doi.org/10.35378/gujs.1081546 [Google Scholar] [Crossref]

16. Reza, A. M. (2004). Realization of the contrast limited adaptive histogram equalization (CLAHE) for real-time image enhancement. Journal of VLSI Signal Processing Systems for Signal, Image and Video Technology, 38(1), 35–44. https://doi.org/10.1023/B:VLSI.0000028532.53893.82 [Google Scholar] [Crossref]

17. Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., & Chen, L.-C. (2018). MobileNetV2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 4510–4520). https://doi.org/10.1109/CVPR.2018.00474 [Google Scholar] [Crossref]

18. Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I., & Salakhutdinov, R. (2014). Dropout: A simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15(1), 1929–1958. [Google Scholar] [Crossref]

19. Tahir, H. N., Ullah, N., Tahir, M., Domnic, I. S., Prabhakar, R., Meerasa, S. S., AbdElneam, A. I., Tahir, S., & Ali, Y. (2025). Artificial intelligence versus manual screening for the detection of diabetic retinopathy: A comparative systematic review and meta-analysis. Frontiers in Medicine, 12, 1519768. https://doi.org/10.3389/fmed.2025.1519768 [Google Scholar] [Crossref]

20. Tan, M., & Le, Q. V. (2019). EfficientNet: Rethinking model scaling for convolutional neural networks. In Proceedings of the 36th International Conference on Machine Learning (ICML) (pp. 6105–6114). [Google Scholar] [Crossref]

21. Teo, Z. L., Tham, Y.-C., Yu, M., Chee, M. L., Rim, T. H., Cheung, N., Bikbov, M. M., Wang, Y. X., Tang, Y., Lu, Y., Wong, I. Y. H., Ting, D. S. W., Tan, G. S. W., Jonas, J. B., Sabanayagam, C., Wong, T. Y., & Cheng, C.-Y. (2021). Global prevalence of diabetic retinopathy and projection of burden through 2045: Systematic review and meta-analysis. Ophthalmology, 128(11), 1580–1591. https://doi.org/10.1016/j.ophtha.2021.04.027 [Google Scholar] [Crossref]

22. Vijayan, M., & Venkatakrishnan, S. (2023). A regression-based approach to diabetic retinopathy diagnosis using EfficientNet. Diagnostics, 13(4), 774. https://doi.org/10.3390/diagnostics13040774 [Google Scholar] [Crossref]

23. Wondmeneh, T. G., & Mohammed, J. A. (2024). Prevalence of diabetic retinopathy and its associated risk factors among adults in Ethiopia: A systematic review and meta-analysis. Scientific Reports, 14(1), 28266. https://doi.org/10.1038/s41598-024-78596-9 [Google Scholar] [Crossref]

24. Zuiderveld, K. (1994). Contrast limited adaptive histogram equalization. In P. S. Heckbert (Ed.), Graphics Gems IV (pp. 474–485). Academic Press. [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles