Data-Quality-Aware Fundus Classification with Anatomy-Guided Glaucoma Assessment and Cross-Dataset Evaluation
Organizations: Bangladesh University of Engineering and Technology, Dhaka, 1000, Bangladesh · Leading University, Sylhet, Bangladesh
Abstract
Background: Deep learning fundus classifiers often perform well internally, but duplicated images, inconsistent labels, acquisition differences and poor threshold transfer can undermine their reliability. We assess nine-class classifiers beyond internal accuracy, using a data audit, frozen-model external evaluation and an anatomy-guided specialist. Methods: Nine-class experts (ConvNeXt-Small, EfficientNetV2-Small, DenseNet169) were trained with three seeds. Auditing 5,318 images for exact duplicates and cross-label conflicts removed 464 conflict groups (942 images) and six same-label copies, leaving 4,370 images. An anatomy-guided glaucoma specialist read disc-centred crops with vessel and disc/cup segmentation maps, plus cup-to-disc features. Frozen models were evaluated on RFMiD and JSIEC, and a prespecified comparison on REFUGE was replicated on ORIGA, G1020 and PAPILA. Results: ConvNeXt-Small reached an internal accuracy of 0.910, macro-F1 of 0.917 and AUC of 0.982; disc and cup Dice scores were 0.966 and 0.915. Across seeds, the fixed anatomy-guided mix left internal accuracy unchanged relative to equal soft voting (-0.001) but raised mean external closed-set accuracy by 4.9 percentage points on RFMiD (positive in two of three seeds) and 2.3 on JSIEC. On REFUGE (800 photographs) it improved balanced accuracy by 7.4 percentage points (95% CI 5.1 to 9.5), and by 2.1 on ORIGA, with positive gains on G1020 and PAPILA. Thresholds transferred poorly (REFUGE sensitivity 0.950, specificity 0.411). Conclusions: Retinal classifiers should be judged by data-quality auditing, anatomy-informed modelling and multi-cohort evaluation. Anatomy-guided fusion improved transfer at no internal cost, but gains varied by cohort and thresholds did not transfer, so internal metrics alone do not establish reliable performance.
Figures & tables
| Study | Classes | Images and split order | Duplicate handling | External test | Reported acc. |
| Şevik and Mutlu [33] | 9 | 1 841 curated originals; augmented after split | Repeated or mislabelled images removed by hand; no counts | No | 0.861 |
| Cheng et al. [4] | 9 | 5 318 originals augmented to 21 272, then split | Not described | No | 0.961 † |
| Sabiri et al. [30] | 10 | 5 335 originals plus 16 242 augmented; 80/10/10 split, order not stated | Not described | No | 0.924 § |
| Rieck et al. [28] | 10 | 16 242 images (count matches the augmented release; not stated in the paper); 5-fold, augmented on the fly in training splits | Not described | No | 0.773 ‡ |
| This study | 9 | 4 370 originals; split first, augmented on the fly in training only | Exact duplicates and cross-label conflicts removed | Yes (3 corpora, pre-registered REFUGE) | 0.913 (3-seed mean) |
| Model | Input (px) | Batch (accum.) | LR head / full | Stoch. depth | Input view |
| ConvNeXt-S | 288 | 16 (2) | / | 0.2 | Global |
| EfficientNetV2-S | 300 | 16 (2) | / | 0.2 | Global |
| DenseNet-169 | 224 | 24 (1) | / | 0.1 | Global |
| ConvNeXt-T specialist | 288 | 24 (1) | / | 0.1 | Disc composite + 9 features |
| Corpus | As released (glaucoma) | Copies removed (glaucoma) | Unit | Role |
| REFUGE | 800 (80) | 800 (80) | image | Confirmatory |
| G1020 | 2040 (592) | 1019 (296) | image | Replication |
| ORIGA | 1300 (336) | 650 (168) | image | Replication |
| PAPILA | 420 (87) | 420 (87) | patient (210) | Replication |
| RFMiD | 1300, 7 shared classes | image | Multi-disease | |
| JSIEC | 260, 7 shared classes | image | Multi-disease | |
| Corpus | Source label | Development class | Use |
| RFMiD | DR, MS, ODE, CSR, RP, MYA | DR, MacScar, DiscEdema, CSC, RP, Myopia | Exact |
| RFMiD | Disease_Risk | Healthy | Exact |
| RFMiD | ODC (cupping), RT (traction) | Glaucoma, RetDet | Excluded |
| JSIEC | Normal; DR1–DR3 merged; Possible glaucoma; Disc swelling; CSCR; RP; Pathological myopia | Healthy, DR, Glaucoma, DiscEdema, CSC, RP, Myopia | Exact |
| JSIEC | Maculopathy; Rhegmatogenous RD | MacScar, RetDet | Excluded |
| Class | Raw | Lost (%) | Pool | Train | Val. | Test |
| CSC | 101 | 21 (20.8) | 80 | 56 | 12 | 12 |
| Diabetic retinopathy | 1509 | 59 (3.9) | 1448 | 1014 | 217 | 217 |
| Disc oedema | 127 | 17 (13.4) | 108 | 75 | 17 | 16 |
| Glaucoma | 1349 | 358 (26.5) | 990 | 693 | 148 | 149 |
| Healthy | 1024 | 201 (19.6) | 823 | 576 | 123 | 124 |
| Macular scar | 444 | 92 (20.7) | 352 | 246 | 53 | 53 |
| Internal test | RFMiD | JSIEC | REFUGE (glaucoma vs normal) | ||||
| Method | Acc. | Macro-F1 | Closed / open acc. | Closed / open acc. | Bal. acc. | AUC | Sens. / spec. |
| ConvNeXt-S (best single expert) | 0.910 | 0.917 | 0.684 / 0.578 | 0.769 / 0.715 | 0.590 | 0.747 | 0.950 / 0.231 |
| Equal soft vote | 0.909 | 0.909 | 0.684 / 0.575 | 0.815 / 0.773 | 0.606 | 0.807 | 0.975 / 0.238 |
| Vote + fixed 50/50 mix (proposed) | 0.910 | 0.911 | 0.809 / 0.638 | 0.838 / 0.800 | 0.681 | 0.885 | 0.950 / 0.411 |
| RETFound, fine-tuned | 0.893 | 0.888 | 0.587 / 0.481 | 0.723 / 0.646 | 0.534 | 0.816 | 0.988 / 0.081 |
| RETFound as fourth expert in the vote | 0.915 | 0.913 | 0.676 / 0.562 | 0.785 / 0.731 | 0.577 | 0.818 | 0.975 / 0.179 |
| Corpus | Status | (glaucoma) | Bal. acc. vote mix | bal. acc. [95% CI] | AUC [95% CI] | Holm | Seeds |
| REFUGE | Pre-registered, primary | 800 (80) | 0.606 0.681 | +0.074 [+0.051, +0.095] | +0.078 [+0.054, +0.104] | – | 3/3 |
| ORIGA | Secondary | 650 (168) | 0.588 0.609 | +0.021 [+0.008, +0.034] | +0.039 [+0.018, +0.061] | 0.009 | 3/3 |
| G1020 | Secondary | 1019 (296) | 0.492 0.523 | +0.031 [+0.002, +0.059] | [ , +0.018] | 0.077 | 3/3 |
| PAPILA | Secondary, patient bootstrap | 420 (87) | 0.554 0.574 | +0.020 [ , +0.063] | +0.056 [+0.010, +0.103] | 0.395 | 3/3 |
| Specialist input | RFMiD | JSIEC | REFUGE | Glaucoma mean |
| Full specialist | +0.049 | +0.023 | +0.067 | +0.033 |
| Without CDR features | +0.050 | +0.022 | +0.076 | +0.039 |
| Without vessel channel | +0.084 | +0.017 | +0.047 | +0.018 |
| Disc RGB crop only | +0.082 | +0.015 | +0.035 | +0.013 |
| Without disc/cup channel | +0.010 | +0.010 | ||
| Whole fundus (control) | +0.045 | +0.003 | +0.005 | +0.002 |
Medical Image Classification
Medical image classification uses computational models to identify diseases, grade severity, and support decisions from clinical images.
See all 548 papers