A Modular Diabetic Retinopathy Analysis Framework for Lesion Segmentation and Severity Grading: Cross-Dataset External Validation from APTOS to Messidor-2.
Sofiane Boumeshed, Yazid Cherfa, Assia Cherfa, Noureddine Belkhamsa
Laboratoire de Physique et Chimie des Matériaux et Interfaces Avancées (LPCMIA), Département d'Électronique, Faculté des Sciences et Technologies, Université Blida 1, Blida 09000, Algeria.
Key points
From the paper's conclusion- Methods: A modular framework combines a ResNet-34 U-Net for lesion segmentation (IDRiD) with an EfficientNet-B0 severity grader (APTOS 2019), optionally fused with lesion-derived and frequency features.
Abstract
Background/Objectives: High in-domain accuracy of diabetic retinopathy (DR) grading models does not guarantee a similar performance for a new population. We quantify how an APTOS-trained grader degrades on an independent cohort and examine why. Methods: A modular framework combines a ResNet-34 U-Net for lesion segmentation (IDRiD) with an EfficientNet-B0 severity grader (APTOS 2019), optionally fused with lesion-derived and frequency features. The grader was evaluated zero-shot on Messidor-2 (n=1744) with bootstrap confidence intervals, four training seeds, referable-DR analysis, a discrimination-versus-calibration decomposition, a paired preprocessing ablation, and a duplicate audit. Results: Quadratic weighted kappa (QWK) fell from 0.873 (95% CI 0.831-0.909) on the APTOS test set to 0.455 (0.400-0.507) on Messidor-2; across four seeds the external QWK was 0.410±0.057. Referable-DR sensitivity fell from 92.7% to 35.0% (specificity 93.9% and 96.6%) and the AUC from 0.984 to 0.795, indicating both a loss of discrimination and a calibration shift; recalibrating thresholds with target labels (cross-validated) raised QWK only to 0.583. Omitting CLAHE reduced QWK to 0.326 (paired difference 0.129, 0.089-0.171). Thirty-three APTOS test images duplicated in the training or validation data changed QWK marginally (0.866). Lesion-feature fusion did not significantly improve grading. The segmentation Dice on lesion-containing patches was 0.51-0.68, whereas the per-image Dice was 0.21-0.61. Conclusions: In-domain agreement is a poor proxy for external performance; multi-seed reporting, explicit calibration analysis, and preprocessing control are needed before clinical use.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Joint Multi-Task Deep Learning with Cross-Task Attention for Simultaneous Lesion Segmentation, Detection, and Severity Grading of Diabetic Retinopathy on Fundus Images: An External Validation StudyPhotodiagnosis and Photodynamic Therapy · 2026
- CalibCause: A Quality-Gated, Interpretable and Calibrated Deep Learning Framework for Diabetic Retinopathy GradingarXiv · 2026
- ORDER-DR: external validation of severity grading and referable-risk stratification from fundus images.Frontiers in endocrinology · 2026
- Look at What Matters: Learning Lesion Prototypes from Severity Labels for Domain-Generalized Diabetic Retinopathy GradingarXiv · 2026
- RobustDRNet: A clinically-aligned hybrid ensemble model with multi-method explainability for lesion-aware diabetic retinopathy gradingExpert Systems with Applications · 2026
- Benchmark Accuracy Does Not Transfer: Domain Adaptive Deep Learning for Diabetic Retinopathy Detection in a Bangladeshi Clinical Setting.Journal of imaging informatics in medicine · 2026