Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Explainable Deep Learning for Lesion-Level Detection of Diabetic Retinopathy: A Segmentation Approach Using Fundus Images Graded as Mild-to-Moderate Nonproliferative Diabetic Retinopathy

Takumi Sato, View ORCID ProfileKoichi Nishitsuka, Tohru Itoh, Toshihiro Okashita, Satoshi Wada, Atsushi Shinjo
doi: https://doi.org/10.1101/2025.10.01.25337115
Takumi Sato
1Graduate School of Media and Governance, Keio University, Fujisawa-shi, Kanagawa, Japan
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Koichi Nishitsuka
2Advanced Photonics Technology Development Group, RIKEN Center for Advanced Photonics, Wako-shi, Saitama, Japan
3Department of Ophthalmology, Saitama Medical Center, Saitama Medical University, Kawagoe-shi, Saitama, Japan
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Koichi Nishitsuka
  • For correspondence: mlc12186{at}nifty.com
Tohru Itoh
2Advanced Photonics Technology Development Group, RIKEN Center for Advanced Photonics, Wako-shi, Saitama, Japan
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Toshihiro Okashita
2Advanced Photonics Technology Development Group, RIKEN Center for Advanced Photonics, Wako-shi, Saitama, Japan
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Satoshi Wada
2Advanced Photonics Technology Development Group, RIKEN Center for Advanced Photonics, Wako-shi, Saitama, Japan
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Atsushi Shinjo
4Faculty of Environment and Information Studies, Keio University, Fujisawa-shi, Kanagawa, Japan
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Deep learning has shown promise in diabetic retinopathy screening using fundus images. However, many existing models operate as “black boxes,” providing limited interpretability at the lesion level. This study aimed to develop an explainable deep learning model capable of detecting four diabetic retinopathy-related lesions—hemorrhages, hard exudates, cotton wool spots, and microaneurysms—and evaluate its performance using both conventional per-lesion metrics and a novel syntactic agreement framework. A total of 1,087 fundus images were obtained from publicly available datasets (EyePACS and APTOS), which contained 585 images graded as mild-to-moderate nonproliferative diabetic retinopathy (DR1 or DR2). All images were manually annotated for the presence of the four lesions. A U-Net–based segmentation model was trained to generate binary predictions for each lesion type. The performance of the model was evaluated using sensitivity, specificity, precision, and F1 score, along with five syntactic agreement criteria that evaluated the lesion-set consistency between the predicted and ground truth outputs at the image level. The model achieved high sensitivity and F1 scores for hemorrhages and hard exudates, showed moderate performance for cotton wool spots, and failed to detect any microaneurysms (0% sensitivity), with 92.9% of the microaneurysms cases misclassified as hemorrhages. Despite this limitation, the image-level agreement remained high, with any-lesion match and hemorrhage match rates exceeding 95%. These findings suggest that although individual lesion classification was imperfect, the model effectively recognized abnormal images, highlighting its potential as a screening tool. The proposed syntactic agreement framework offers a complementary evaluation strategy that aligns more closely with clinical interpretation and may help bridge the gap between artificial intelligence–based predictions and real-world ophthalmic decision-making.

Competing Interest Statement

The authors declare no competing interests.

Funding Statement

The author(s) received no specific funding for this work.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Not Applicable

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

IRB or oversight body name: Not applicable – study used only publicly available, de-identified datasets IRB approval number or exemption statement: This study used only publicly available, de-identified data from the APTOS and EyePACS datasets hosted on Kaggle. Therefore, ethical approval and patient consent were not required in accordance with institutional and journal policies.

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Not Applicable

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Not Applicable

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Not Applicable

Data Availability

This study used publicly available datasets from Kaggle competitions: the APTOS 2019 Blindness Detection dataset (https://www.kaggle.com/competitions/aptos2019-blindness-detection) and the Diabetic Retinopathy Detection dataset provided by EyePACS (https://www.kaggle.com/competitions/diabetic-retinopathy-detection). Both datasets consist of de-identified fundus images. No additional data were generated or analyzed during the current study.

https://www.kaggle.com/competitions/diabetic-retinopathy-detection

https://www.kaggle.com/competitions/aptos2019-blindness-detection

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY 4.0 International license.
Back to top
PreviousNext
Posted October 03, 2025.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Explainable Deep Learning for Lesion-Level Detection of Diabetic Retinopathy: A Segmentation Approach Using Fundus Images Graded as Mild-to-Moderate Nonproliferative Diabetic Retinopathy
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Explainable Deep Learning for Lesion-Level Detection of Diabetic Retinopathy: A Segmentation Approach Using Fundus Images Graded as Mild-to-Moderate Nonproliferative Diabetic Retinopathy
Takumi Sato, Koichi Nishitsuka, Tohru Itoh, Toshihiro Okashita, Satoshi Wada, Atsushi Shinjo
medRxiv 2025.10.01.25337115; doi: https://doi.org/10.1101/2025.10.01.25337115
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Explainable Deep Learning for Lesion-Level Detection of Diabetic Retinopathy: A Segmentation Approach Using Fundus Images Graded as Mild-to-Moderate Nonproliferative Diabetic Retinopathy
Takumi Sato, Koichi Nishitsuka, Tohru Itoh, Toshihiro Okashita, Satoshi Wada, Atsushi Shinjo
medRxiv 2025.10.01.25337115; doi: https://doi.org/10.1101/2025.10.01.25337115

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Ophthalmology
Subject Areas
All Articles
  • Addiction Medicine (576)
  • Allergy and Immunology (868)
  • Anesthesia (306)
  • Cardiovascular Medicine (4482)
  • Dentistry and Oral Medicine (449)
  • Dermatology (385)
  • Emergency Medicine (615)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1528)
  • Epidemiology (15278)
  • Forensic Medicine (31)
  • Gastroenterology (1133)
  • Genetic and Genomic Medicine (6645)
  • Geriatric Medicine (671)
  • Health Economics (1006)
  • Health Informatics (4605)
  • Health Policy (1378)
  • Health Systems and Quality Improvement (1623)
  • Hematology (544)
  • HIV/AIDS (1276)
  • Infectious Diseases (except HIV/AIDS) (15961)
  • Intensive Care and Critical Care Medicine (1111)
  • Medical Education (626)
  • Medical Ethics (147)
  • Nephrology (674)
  • Neurology (6695)
  • Nursing (346)
  • Nutrition (1006)
  • Obstetrics and Gynecology (1153)
  • Occupational and Environmental Health (961)
  • Oncology (3369)
  • Ophthalmology (988)
  • Orthopedics (370)
  • Otolaryngology (421)
  • Pain Medicine (437)
  • Palliative Medicine (131)
  • Pathology (669)
  • Pediatrics (1704)
  • Pharmacology and Therapeutics (700)
  • Primary Care Research (717)
  • Psychiatry and Clinical Psychology (5495)
  • Public and Global Health (9285)
  • Radiology and Imaging (2224)
  • Rehabilitation Medicine and Physical Therapy (1375)
  • Respiratory Medicine (1201)
  • Rheumatology (598)
  • Sexual and Reproductive Health (721)
  • Sports Medicine (536)
  • Surgery (722)
  • Toxicology (100)
  • Transplantation (290)
  • Urology (267)