A Controlled From-Scratch Benchmark of Eleven Architectures for Multi-Class Fundus Disease Classification

Authors

DOI:

https://doi.org/10.21015/vtcs.v14i2.2821

Abstract

Automated screening of fundus photographs for cataract, diabetic retinopathy and glaucoma is usually built by fine-tuning ImageNet-pretrained networks, and published comparisons differ in data splits, tuning and uncertainty reporting. We present a controlled benchmark of eleven models trained from random initialisation on a public four-class fundus dataset of 4,213 images: seven classification CNNs, classification variants of YOLOv8n, U-Net and SegNet, and a gradient-boosted-tree baseline on 722 hand-crafted features. All models share one stratified 70/10/20 split, one optimiser and schedule, and a fixed 40-epoch budget, and are scored once on the same 843 test images. Test accuracy ranged from 0.865 (YOLOv8n-cls) to 0.936 (MobileNetV2, macro-F1 0.935). Exact McNemar tests with Holm correction found no significant difference between MobileNetV2 and five other networks or the XGBoost baseline, whereas ResNet-50, VGG19-BN, U-Net and YOLOv8n-cls were significantly worse. A two-signal near-duplicate audit showed that 248 test images (29.4%), all cataract or glaucoma, have a near-duplicate or same-source augmented copy in training; removing them lowered macro-F1 by 0.2–3.5 percentage points but largely preserved the ranking (Kendall’s τ = 0.75). Glaucoma was the weakest class, mostly through confusion with normal fundi, although glaucoma-versus-normal AUC reached 0.97. Evaluation design is more important than architecture choice on this dataset. Claims should be supported by paired tests, leakage audits and external validation.

References

[1] W. L. Alyoubi, W. M. Shalash, and M. F. Abulkhair, “Diabetic retinopathy detection through deep learning techniques: A review,” Informatics in Medicine Unlocked, vol. 20, Art. no. 100377, 2020, doi: 10.1016/j.imu.2020.100377.

[2] V. Gulshan et al., “Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs,” JAMA, vol. 316, no. 22, pp. 2402–2410, 2016, doi: 10.1001/jama.2016.17216.

[3] D. S. W. Ting et al., “Development and validation of a deep learning system for diabetic retinopathy and related eye diseases using retinal images from multiethnic populations with diabetes,” JAMA, vol. 318, no. 22, pp. 2211–2223, 2017, doi: 10.1001/jama.2017.18152.

[4] Z. Li, Y. He, S. Keel, W. Meng, R. T. Chang, and M. He, “Efficacy of a deep learning system for detecting glaucomatous optic neuropathy based on color fundus photographs,” Ophthalmology, vol. 125, no. 8, pp. 1199–1206, 2018, doi: 10.1016/j.ophtha.2018.01.023.

[5] E. Long et al., “An artificial intelligence platform for the multihospital collaborative management of congenital cataracts,” Nature Biomedical Engineering, vol. 1, Art. no. 0024, 2017, doi: 10.1038/s41551-016-0024.

[6] M. A. Morid, A. Borjali, and G. Del Fiol, “A scoping review of transfer learning research on medical image analysis using ImageNet,” Computers in Biology and Medicine, vol. 128, Art. no. 104115, 2021, doi: 10.1016/j.compbiomed.2020.104115.

[7] R. Alsohemi and S. Dardouri, “Fundus image-based eye disease detection using EfficientNetB3 architecture,” Journal of Imaging, vol. 11, no. 8, Art. no. 279, 2025, doi: 10.3390/jimaging11080279.

[8] M. A. Mohamed et al., “Multi-class eye disease classification using deep learning,” in Proc. 11th Int. Conf. Intelligent Computing and Information Systems (ICICIS), 2023, pp. 489–494, doi: 10.1109/ICICIS58388.2023.10391159.

[9] K. He, R. Girshick, and P. Dollár, “Rethinking ImageNet pre-training,” in Proc. IEEE/CVF Int. Conf. Computer Vision (ICCV), 2019, pp. 4918–4927, doi: 10.1109/ICCV.2019.00502.

[10] M. Raghu, C. Zhang, J. Kleinberg, and S. Bengio, “Transfusion: Understanding transfer learning for medical imaging,” in Advances in Neural Information Processing Systems, vol. 32, 2019, pp. 3347–3357, doi: 10.48550/arXiv.1902.07208.

[11] M. Christopher et al., “Performance of deep learning architectures and transfer learning for detecting glaucomatous optic neuropathy in fundus photographs,” Scientific Reports, vol. 8, Art. no. 16685, 2018, doi: 10.1038/s41598-018-35044-9.

[12] L. Brigato and L. Iocchi, “A close look at deep learning with small data,” in Proc. 25th Int. Conf. Pattern Recognition (ICPR), 2021, pp. 2490–2497, doi: 10.1109/ICPR48806.2021.9412492.

[13] B. Barz and J. Denzler, “Do we train on test data? Purging CIFAR of near-duplicates,” Journal of Imaging, vol. 6, no. 6, Art. no. 41, 2020, doi: 10.3390/jimaging6060041.

[14] Gunavenkatdoddi, “Eye diseases classification,” Kaggle. [Online]. Available: https://www.kaggle.com/datasets/gunavenkatdoddi/eye-diseases-classification

[15] G. Litjens et al., “A survey on deep learning in medical image analysis,” Medical Image Analysis, vol. 42, pp. 60–88, 2017, doi: 10.1016/j.media.2017.07.005.

[16] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2016, doi: 10.1109/CVPR.2016.90.

[17] K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” in Proc. Int. Conf. Learning Representations (ICLR), 2015, doi: 10.48550/arXiv.1409.1556.

[18] G. Huang, Z. Liu, L. van der Maaten, and K. Q. Weinberger, “Densely connected convolutional networks,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2017, doi: 10.1109/CVPR.2017.243.

[19] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna, “Rethinking the Inception architecture for computer vision,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2016, pp. 2818–2826, doi: 10.1109/CVPR.2016.308.

[20] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L.-C. Chen, “MobileNetV2: Inverted residuals and linear bottlenecks,” in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2018, doi: 10.1109/CVPR.2018.00474.

[21] M. Tan and Q. V. Le, “EfficientNet: Rethinking model scaling for convolutional neural networks,” in Proc. Int. Conf. Machine Learning (ICML), 2019, doi: 10.48550/arXiv.1905.11946.

[22] O. Ronneberger, P. Fischer, and T. Brox, “U-Net: Convolutional networks for biomedical image segmentation,” in Medical Image Computing and Computer-Assisted Intervention (MICCAI), 2015, doi: 10.1007/978-3-319-24574-4_28.

[23] V. Badrinarayanan, A. Kendall, and R. Cipolla, “SegNet: A deep convolutional encoder-decoder architecture for image segmentation,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 39, no. 12, pp. 2481–2495, 2017, doi: 10.1109/TPAMI.2016.2644615.

[24] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look once: Unified, real-time object detection,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2016, doi: 10.1109/CVPR.2016.91.

[25] J. Terven, D.-M. Córdova-Esparza, and J.-A. Romero-González, “A comprehensive review of YOLO architectures in computer vision: From YOLOv1 to YOLOv8 and YOLO-NAS,” Machine Learning and Knowledge Extraction, vol. 5, no. 4, pp. 1680–1716, 2023, doi: 10.3390/make5040083.

[26] 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, 1973, doi: 10.1109/TSMC.1973.4309314.

[27] T. Ojala, M. Pietikäinen, and T. Mäenpää, “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, 2002, doi: 10.1109/TPAMI.2002.1017623.

[28] N. Dalal and B. Triggs, “Histograms of oriented gradients for human detection,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2005, doi: 10.1109/CVPR.2005.177.

[29] T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 2016, doi: 10.1145/2939672.2939785.

[30] L. Grinsztajn, E. Oyallon, and G. Varoquaux, “Why do tree-based models still outperform deep learning on typical tabular data?” in Advances in Neural Information Processing Systems, vol. 35, 2022, pp. 507–520, doi: 10.48550/arXiv.2207.08815.

[31] E. B. Wilson, “Probable inference, the law of succession, and statistical inference,” Journal of the American Statistical Association, vol. 22, no. 158, pp. 209–212, 1927, doi: 10.1080/01621459.1927.10502953.

[32] Q. McNemar, “Note on the sampling error of the difference between correlated proportions or percentages,” Psychometrika, vol. 12, no. 2, pp. 153–157, 1947, doi: 10.1007/BF02295996.

[33] T. G. Dietterich, “Approximate statistical tests for comparing supervised classification learning algorithms,” Neural Computation, vol. 10, no. 7, pp. 1895–1923, 1998, doi: 10.1162/089976698300017197.

[34] I. A. Ali and S. A. Mahmood, “Enhancing clinical decision support: A deep learning approach for automated diagnosis of eye diseases from fundus images,” UHD Journal of Science and Technology, vol. 9, no. 2, pp. 61–76, 2025, doi: 10.21928/uhdjst.v9n2y2025.pp61-76.

[35] A. AlMohimeed, “Multi-stage framework using transformer models, feature fusion and ensemble learning for enhancing eye disease classification,” Scientific Reports, vol. 15, Art. no. 1, 2025, doi: 10.1038/s41598-025-16415-5.

[36] M. M. H. Santo et al., “MaxGRNet: A multi-axis vision transformer with improved generalization for eye disease classification using explainable AI with insertion-deletion operations on fundus images,” PLoS One, vol. 21, no. 4, Art. no. e0346329, 2026, doi: 10.1371/journal.pone.0346329.

[37] W. G. Cochran, “The comparison of percentages in matched samples,” Biometrika, vol. 37, no. 3/4, pp. 256–266, 1950, doi: 10.2307/2332378.

[38] S. Holm, “A simple sequentially rejective multiple test procedure,” Scandinavian Journal of Statistics, vol. 6, no. 2, pp. 65–70, 1979.

[39] B. Efron and R. J. Tibshirani, An Introduction to the Bootstrap. New York, NY, USA: Chapman & Hall, 1993

Downloads

Published

2026-12-02

How to Cite

Hussain Shah, S. A., Haroon, M., & inam, S. A. (2026). A Controlled From-Scratch Benchmark of Eleven Architectures for Multi-Class Fundus Disease Classification. VAWKUM Transactions on Computer Sciences, 14(2), 111–124. https://doi.org/10.21015/vtcs.v14i2.2821