I fine-tuned EfficientNet-B0 on about 200 ultra-widefield fundus images from the DeepDRiD dataset to separate referable diabetic retinopathy from normal eyes. It reached a validation AUC of about 0.78, and its misses taught me more than its hits.
The model was good at recognising normal retinas, but it missed a real number of referable cases, calling them normal. In screening that is the worst kind of error, because a missed case can delay treatment and cost vision.
Weighted loss and focal loss each made the model pay a little more attention to the rare class, but neither fixed the sensitivity problem. Going through the misses, I traced them to a few causes:
Patient-level splits with k-fold cross-validation, more data and external validation, Grad-CAM heat maps, aspect-preserving preprocessing for UWF images, and comparison with ResNet, MobileNet and Vision Transformers.
Lee JW. EfficientNet-B0-based classification of referable diabetic retinopathy using ultra-widefield fundus images. Unpublished manuscript; in progress / pending.
Bars run from 0 to 1. Values are approximate, as reported in the draft.
A single accuracy number hides the errors that matter. I learned to read a confusion matrix case by case and to ask what a miss would mean for a patient, which is the same question I now bring to my psychology research.