EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

A Patch-Based Attention Framework for Automated Diabetic Retinopathy Severity Grading Using Fundus Images

Abdulnasır Yıldız iD, Hasan Zan iD

Diagnostics · 01.11.2026 · 16 (21) · 3601

DOI: 10.3390/diagnostics16213601 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Diagnostics, online erschienen am 01.11.2026. Verfasst von Abdulnasır Yıldız und 1 weiteren Autor:innen. Beteiligte Einrichtung: Department of Electrical and Electronics Engineering, Dicle University, Diyarbakır 21200, Turkey. Die Arbeit nennt 45 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Dicle University Scientific Research Projects (DÜBAP) Coordinatorship.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Background/Objectives: Automated diabetic retinopathy (DR) severity grading from fundus images is a challenging task due to the high resolution of retinal images and the spatially sparse nature of pathological lesions.

Methods

In this study, we propose a patch-based attention framework for DR severity grading that exploits localized information while avoiding aggressive global downsampling. Each fundus image is partitioned into non-overlapping patches, which are processed using a shared ResNet-18 encoder to extract patch-level feature representations. An attention-based aggregation mechanism then assigns adaptive importance weights to the extracted features and produces an image-level representation for severity classification. The proposed framework is evaluated on the APTOS 2019 dataset.

Results

An analysis of different patch configurations identifies 25 patches as the best-performing setting, achieving a multi-class accuracy of 0.852, compared with 0.817 for the whole-image baseline. A controlled ablation using the same effective input resolution further shows that attention-based aggregation achieves the highest accuracy and F1-score among the evaluated whole-image and patch-based aggregation configurations. The model also achieves a binary DR/No-DR accuracy of 0.986. Attention visualizations provide qualitative insight into the regions contributing to model predictions.

Conclusions

These results demonstrate the potential of attention-guided patch-based feature learning for accurate and interpretable diabetic retinopathy severity grading.

Schlagwörter

Stichwörter der Autor:innen

attention mechanismdiabetic retinopathyfundus imagespatch-based learningseverity grading

Autor:innen und Institutionen

  • Department of Electrical and Electronics Engineering, Dicle University, Diyarbakır 21200, Turkey.
  • Department of Computer Engineering, Mardin Artuklu University, Mardin 47200, Turkey.

ORCID-Profile: Abdulnasır Yıldız, Hasan Zan

Förderung

  • Dicle University Scientific Research Projects (DÜBAP) Coordinatorship

Zitieren

APA

Yıldız, A., & Zan, H. (2026). A Patch-Based Attention Framework for Automated Diabetic Retinopathy Severity Grading Using Fundus Images. Diagnostics, 16(21), 3601. https://doi.org/10.3390/diagnostics16213601

Vancouver

Yıldız A, Zan H. A Patch-Based Attention Framework for Automated Diabetic Retinopathy Severity Grading Using Fundus Images. Diagnostics. 2026;16(21):3601. doi:10.3390/diagnostics16213601

BibTeX
@article{Yldz2026,
  author = {Yıldız, Abdulnasır and Zan, Hasan},
  title = {A Patch-Based Attention Framework for Automated Diabetic Retinopathy Severity Grading Using Fundus Images},
  journal = {Diagnostics},
  year = {2026},
  volume = {16},
  number = {21},
  pages = {3601},
  doi = {10.3390/diagnostics16213601}
}
Kostenlos starten →