Automated detection of diabetic retinopathy lesions in ultra-widefield fundus images using an attention-augmented YOLOv8 framework

ObjectiveTo enhance the automatic detection precision of diabetic retinopathy (DR) lesions, this study introduces an improved YOLOv8 model specifically designed for the precise identification of DR lesions.MethodThis study integrated two attention mechanisms, convolutional exponential moving average...

Full description

Saved in:
Bibliographic Details
Main Authors: Lei-Si Hu, Jie Wang, Heng-Ming Zhang, Hai-Yu Huang
Format: Article
Language:English
Published: Frontiers Media S.A. 2025-07-01
Series:Frontiers in Cell and Developmental Biology
Subjects:
Online Access:https://www.frontiersin.org/articles/10.3389/fcell.2025.1608580/full
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849303607379230720
author Lei-Si Hu
Jie Wang
Heng-Ming Zhang
Hai-Yu Huang
author_facet Lei-Si Hu
Jie Wang
Heng-Ming Zhang
Hai-Yu Huang
author_sort Lei-Si Hu
collection DOAJ
description ObjectiveTo enhance the automatic detection precision of diabetic retinopathy (DR) lesions, this study introduces an improved YOLOv8 model specifically designed for the precise identification of DR lesions.MethodThis study integrated two attention mechanisms, convolutional exponential moving average (convEMA) and convolutional simple attention module (convSimAM), into the backbone of the YOLOv8 model. A dataset consisting of 3,388 ultra-widefield (UWF) fundus images obtained from patients with DR, each with a resolution of 2,600 × 2048 pixels, was utilized for both training and testing purposes. The performances of the three models—YOLOv8, YOLOv8+ convEMA, and YOLOv8+ convSimAM—were systematically compared.ResultsA comparative analysis of the three models revealed that the original YOLOv8 model suffers from missed detection issues, achieving a precision of 0.815 for hemorrhage spot detection. YOLOv8+ convEMA improved hemorrhage detection precision to 0.906, while YOLOv8+ convSimAM achieved the highest value of 0.910, demonstrating the enhanced sensitivity of spatial attention. The proposed model also maintained comparable precision in detecting hard exudates while improving recall to 0.804. It demonstrated the best performance in detecting cotton wool spots and the epiretinal membrane. Overall, the proposed method provides a fine-tuned model specialized in subtle lesion detection, providing an improved solution for DR lesion assessment.ConclusionIn this study, we proposed two attention-augmented YOLOv8 models—YOLOv8+ convEMA and YOLOv8+ convSimAM—for the automated detection of DR lesions in UWF fundus images. Both models outperformed the baseline YOLOv8 in terms of detection precision, average precision, and recall. Among them, YOLOv8+ convSimAM achieved the most balanced and accurate results across multiple lesion types, demonstrating an enhanced capability to detect small, low-contrast, and structurally complex features. These findings support the effectiveness of lightweight attention mechanisms in optimizing deep learning models for high-precision DR lesion detection.
format Article
id doaj-art-ac71203115f64ff7a566e59166e7e6de
institution Kabale University
issn 2296-634X
language English
publishDate 2025-07-01
publisher Frontiers Media S.A.
record_format Article
series Frontiers in Cell and Developmental Biology
spelling doaj-art-ac71203115f64ff7a566e59166e7e6de2025-08-20T03:56:00ZengFrontiers Media S.A.Frontiers in Cell and Developmental Biology2296-634X2025-07-011310.3389/fcell.2025.16085801608580Automated detection of diabetic retinopathy lesions in ultra-widefield fundus images using an attention-augmented YOLOv8 frameworkLei-Si Hu0Jie Wang1Heng-Ming Zhang2Hai-Yu Huang3First Clinical College, Chongqing Medical University, Chongqing, ChinaEye School of Chengdu University of Traditional Chinese Medicine, Chengdu, Sichuan, ChinaSchool of Computer and Artificial Intelligence, Southwest Jiaotong University, Chengdu, Sichuan, ChinaSchool of Computer and Artificial Intelligence, Southwest Jiaotong University, Chengdu, Sichuan, ChinaObjectiveTo enhance the automatic detection precision of diabetic retinopathy (DR) lesions, this study introduces an improved YOLOv8 model specifically designed for the precise identification of DR lesions.MethodThis study integrated two attention mechanisms, convolutional exponential moving average (convEMA) and convolutional simple attention module (convSimAM), into the backbone of the YOLOv8 model. A dataset consisting of 3,388 ultra-widefield (UWF) fundus images obtained from patients with DR, each with a resolution of 2,600 × 2048 pixels, was utilized for both training and testing purposes. The performances of the three models—YOLOv8, YOLOv8+ convEMA, and YOLOv8+ convSimAM—were systematically compared.ResultsA comparative analysis of the three models revealed that the original YOLOv8 model suffers from missed detection issues, achieving a precision of 0.815 for hemorrhage spot detection. YOLOv8+ convEMA improved hemorrhage detection precision to 0.906, while YOLOv8+ convSimAM achieved the highest value of 0.910, demonstrating the enhanced sensitivity of spatial attention. The proposed model also maintained comparable precision in detecting hard exudates while improving recall to 0.804. It demonstrated the best performance in detecting cotton wool spots and the epiretinal membrane. Overall, the proposed method provides a fine-tuned model specialized in subtle lesion detection, providing an improved solution for DR lesion assessment.ConclusionIn this study, we proposed two attention-augmented YOLOv8 models—YOLOv8+ convEMA and YOLOv8+ convSimAM—for the automated detection of DR lesions in UWF fundus images. Both models outperformed the baseline YOLOv8 in terms of detection precision, average precision, and recall. Among them, YOLOv8+ convSimAM achieved the most balanced and accurate results across multiple lesion types, demonstrating an enhanced capability to detect small, low-contrast, and structurally complex features. These findings support the effectiveness of lightweight attention mechanisms in optimizing deep learning models for high-precision DR lesion detection.https://www.frontiersin.org/articles/10.3389/fcell.2025.1608580/fulldiabetic retinopathyYOLOv8ultra-widefield fundus imagesautomatic detectionattention mechanisms
spellingShingle Lei-Si Hu
Jie Wang
Heng-Ming Zhang
Hai-Yu Huang
Automated detection of diabetic retinopathy lesions in ultra-widefield fundus images using an attention-augmented YOLOv8 framework
Frontiers in Cell and Developmental Biology
diabetic retinopathy
YOLOv8
ultra-widefield fundus images
automatic detection
attention mechanisms
title Automated detection of diabetic retinopathy lesions in ultra-widefield fundus images using an attention-augmented YOLOv8 framework
title_full Automated detection of diabetic retinopathy lesions in ultra-widefield fundus images using an attention-augmented YOLOv8 framework
title_fullStr Automated detection of diabetic retinopathy lesions in ultra-widefield fundus images using an attention-augmented YOLOv8 framework
title_full_unstemmed Automated detection of diabetic retinopathy lesions in ultra-widefield fundus images using an attention-augmented YOLOv8 framework
title_short Automated detection of diabetic retinopathy lesions in ultra-widefield fundus images using an attention-augmented YOLOv8 framework
title_sort automated detection of diabetic retinopathy lesions in ultra widefield fundus images using an attention augmented yolov8 framework
topic diabetic retinopathy
YOLOv8
ultra-widefield fundus images
automatic detection
attention mechanisms
url https://www.frontiersin.org/articles/10.3389/fcell.2025.1608580/full
work_keys_str_mv AT leisihu automateddetectionofdiabeticretinopathylesionsinultrawidefieldfundusimagesusinganattentionaugmentedyolov8framework
AT jiewang automateddetectionofdiabeticretinopathylesionsinultrawidefieldfundusimagesusinganattentionaugmentedyolov8framework
AT hengmingzhang automateddetectionofdiabeticretinopathylesionsinultrawidefieldfundusimagesusinganattentionaugmentedyolov8framework
AT haiyuhuang automateddetectionofdiabeticretinopathylesionsinultrawidefieldfundusimagesusinganattentionaugmentedyolov8framework