Data Scientist & AI Engineer, Nexus
My retinopathy model scored QWK 0.91. A baseline that never looked at the retina scored 0.65.
I trained an EfficientNet-B0 to grade diabetic retinopathy on APTOS 2019. The best ensemble reached QWK 0.910 on a 366-eye holdout, which looks great until you ask why it works.
What I checked after the score:
- Shortcut learning: a baseline built only on low-level file and image summaries, with no retinal features at all, still reached QWK 0.652. A real share of the signal is how the images were captured, not the disease.
- External cohorts: referable-DR AUC was 0.984 on IDRiD but 0.819 on Messidor-2. The same referral threshold did not carry over.
- Adapting to Messidor helped there and cost the original data: APTOS accuracy dropped from 80.6% to 64.2%.
- The rarest, most severe grade is where it breaks: the adapted model caught only 20.8% of the 24 grade-4 eyes in its test set.
So no fine-tuned model got promoted to the demo, and the repo says plainly it is not a diagnostic tool. The APTOS holdout has also been looked at too many times to count as a fresh estimate.
Repo and evidence explorer: github.com/senanurcetin/APTOS-2019-diabetic-retinopathy
For anyone who has moved a model across sites or devices: when the score drops on new data, what do you check first, the inputs or the labels?
EvalsComputer Vision






Comments
0 comments