Weakly Supervised Patch Annotation for Improved Screening of Diabetic Retinopathy
Organizations: Indian Statistical Institute Kolkata, West Bengal, India · Department of Engineering Science, University of Oxford Oxford, United Kingdom · Radcliffe Department of Medicine, University of Oxford Oxford, United Kingdom · Techno India University Kolkata, West Bengal, India ·
Abstract
Diabetic Retinopathy (DR) requires timely screening to prevent irreversible vision loss. However, its early detection remains a significant challenge since often the subtle pathological manifestations (lesions) get overlooked due to insufficient annotation. Existing literature primarily focuses on image-level supervision, weakly-supervised localization, and clustering-based representation learning, which fail to systematically annotate unlabeled lesion region(s) for refining the dataset. Expert-driven lesion annotation is labor-intensive and often incomplete, limiting the performance of deep learning models. We introduce Similarity-based Annotation via Feature-space Ensemble (SAFE), a two-stage framework that unifies weak supervision, contrastive learning, and patch-wise embedding inference, to systematically expand sparse annotations in the pathology. SAFE preserves fine-grained details of the lesion(s) under partial clinical supervision. In the first stage, a dual-arm Patch Embedding Network learns semantically structured, class-discriminative embeddings from expert annotated patches. Next, an ensemble of independent embedding spaces extrapolates labels to the unannotated regions based on spatial and semantic proximity. An abstention mechanism ensures trade-off between highly reliable annotation and noisy coverage. Experimental results demonstrate reliable separation of healthy and diseased patches, achieving upto 0.9886 accuracy. The annotation generated from SAFE substantially improves downstream tasks such as DR classification, demonstrating a substantial increase in F1-score of the diseased class and a performance gain as high as 0.545 in Area Under the Precision-Recall Curve (AUPRC). Qualitative analysis, with explainability, confirms that SAFE focuses on clinically relevant lesion patterns; and is further validated by ophthalmologists.
Figures & tables
| Dataset | Images | Patches | |||
|---|---|---|---|---|---|
| Labeled | Unlabeled | ||||
| No-DR | DR | Healthy | Unhealthy | ||
| Messidor ∗ | 546 | 654 | 41386 | 9387 | 39598 |
| IDRiD (-) | 168 | 81 | 87987 | 9292 | 33490 |
| e-ophtha (-) | 99 | 58 | 10522 | 511 | 8933 |
| DDR (-) | 2506 | 757 | 223542 | 18468 | 117448 |
| Dataset | Method | Acc ( ) | BAcc ( ) | Healthy | Unhealthy | ( ) | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PR ( ) | RE ( ) | F1 ( ) | MR ( ) | PR ( ) | RE ( ) | F1 ( ) | MR ( ) | |||||
| Messidor ∗ | SAFE | 0.9599 | 0.9062 | 0.9601 | 0.9919 | 0.9758 | 0.0077 | 0.9589 | 0.8205 | 0.8844 | 0.1529 | 0.9375 |
| LCL | 0.9347 | 0.8932 | 0.9546 | 0.9638 | 0.9592 | 0.0362 | 0.8546 | 0.8227 | 0.8384 | 0.1773 | 1.0000 | |
| ResNet18 | 0.9238 | 0.8853 | 0.9533 | 0.9507 | 0.9520 | 0.0493 | 0.8114 | 0.8200 | 0.8157 | 0.1800 | 1.0000 | |
| PEN + KNN | 0.9460 | 0.8881 | 0.9495 | 0.9849 | 0.9668 | 0.0150 | 0.9292 | 0.7914 | 0.8548 | 0.2007 | 1.0000 | |
| PLT | 0.7765 | 0.7037 | 0.8800 | 0.8300 | 0.8500 | 0.1700 | 0.4700 | 0.5800 | 0.5200 | 0.4200 | 1.0000 | |
| Dataset | SAFE | BAcc ( ) | F1-Healthy ( ) | F1-Unhealthy ( ) | D ( ) |
| Messidor | without Ensemble | 0.8745 | 0.9582 | 0.8421 | 0.9754 |
| Ensemble | 0.9062 | 0.9758 | 0.8844 | 0.9375 | |
| IDRiD | without Ensemble | 0.8211 | 0.9674 | 0.7812 | 0.9882 |
| Ensemble | 0.8637 | 0.9859 | 0.8205 | 0.9568 | |
| e-ophtha | without Ensemble | 0.7358 | 0.9721 | 0.6485 | 0.9821 |
| Ensemble | 0.7729 | 0.9912 | 0.6931 | 0.9557 |
| Dataset | Loss Optimized | DB | WD | |
|---|---|---|---|---|
| Healthy | Unhealthy | |||
| Messidor ∗ | 0.8695 ± 0.1068 | 0.0130 ± 0.0099 | 0.0563 ± 0.0384 | |
| 0.9160 ± 0.0359 | 0.0014 ± 0.0006 | 0.0075 ± 0.0045 | ||
| 0.9096 ± 0.0130 | 0.0013 ± 0.0004 | 0.0036 ± 0.0028 | ||
| IDRiD (-) | 0.8485 ± 0.0087 | 0.0042 ± 0.0009 | 0.1467 ± 0.0241 | |
| 1.6056 ± 0.6535 | 0.0004 ± 0.0002 | 0.0078 ± 0.0071 | ||
Weakly Supervised Learning
Weakly supervised learning trains models from incomplete, noisy, coarse, or indirect labels instead of dense ground truth.
See all 156 papers