Hyperparameter optimization of convolutional neural networks using particle swarm optimization for diabetic retinopathy detection

The optimization of hyperparameters in convolutional neural networks (CNNs) is crucial for improving the accuracy and effectiveness of diabetic retinopathy (DR) image classification. Conventional approaches often rely on manual adjustments, which are time-consuming and inefficient. This research proposes variant particle swarm optimization (PSO) methods for fine-tuning the hyperparameters of pre-trained deep learning models—specifically PSO-VGG-16, PSO-DenseNet-121, and PSO-MobileNet. The proposed models enhance the exploratory capabilities of CNNs by searching for optimal hyperparameter configurations. Experiments were conducted using the APTOS 2019 DR image benchmark dataset. This study introduces a PSO-driven hyperparameter optimization framework tailored for pre-trained CNN architectures (VGG-16, DenseNet-121, and MobileNetV2) to improve DR classification performance. The proposed method outperforms conventional genetic algorithm (GA)-based tuning techniques, achieving superior accuracy and model robustness. The findings show that PSO achieved a classification accuracy of 97.41%, sensitivity of 96.8%, and specificity of 99.4%. Among the models, PSO-MobileNet demonstrated the best overall performance. These results confirm that PSO is a powerful tool for hyperparameter optimization, enhancing diagnostic accuracy and improving the efficiency of CNN models in medical image classification. This technique supports healthcare professionals in making timely and precise diagnoses, contributing to better patient outcomes and reduced strain on healthcare systems.

Authors

Institutions

Publication Details

Journal
PeerJ Computer Science
Published
2025-11-07
DOI
https://doi.org/10.7717/peerj-cs.3273
Citations
1
Primary Topic
Retinal Imaging and Analysis
Type
article
Field-Weighted Citation Impact
1.36
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hyperparameter optimization of convolutional neural networks using particle swarm optimization for diabetic retinopathy detection

Nedaa Almansour, Dheeb Albashish, Shahnorbanun Sahran, Azizi Abdullah et al.
1 citations
PeerJ Computer Science
Retinal Imaging and Analysis
1.36
article

Hyperparameter optimization of convolutional neural networks using particle swarm optimization for diabetic retinopathy detection

Nedaa Almansour, Dheeb Albashish, Shahnorbanun Sahran, Azizi Abdullah, Jemaima Che Hamzah
article en
1 citations

Abstract

The optimization of hyperparameters in convolutional neural networks (CNNs) is crucial for improving the accuracy and effectiveness of diabetic retinopathy (DR) image classification. Conventional approaches often rely on manual adjustments, which are time-consuming and inefficient. This research proposes variant particle swarm optimization (PSO) methods for fine-tuning the hyperparameters of pre-trained deep learning models—specifically PSO-VGG-16, PSO-DenseNet-121, and PSO-MobileNet. The proposed models enhance the exploratory capabilities of CNNs by searching for optimal hyperparameter configurations. Experiments were conducted using the APTOS 2019 DR image benchmark dataset. This study introduces a PSO-driven hyperparameter optimization framework tailored for pre-trained CNN architectures (VGG-16, DenseNet-121, and MobileNetV2) to improve DR classification performance. The proposed method outperforms conventional genetic algorithm (GA)-based tuning techniques, achieving superior accuracy and model robustness. The findings show that PSO achieved a classification accuracy of 97.41%, sensitivity of 96.8%, and specificity of 99.4%. Among the models, PSO-MobileNet demonstrated the best overall performance. These results confirm that PSO is a powerful tool for hyperparameter optimization, enhancing diagnostic accuracy and improving the efficiency of CNN models in medical image classification. This technique supports healthcare professionals in making timely and precise diagnoses, contributing to better patient outcomes and reduced strain on healthcare systems.

PeerJ Computer ScienceVol. 11
University Kebangsaan Malaysia Medical Centre (MY), Al-Balqa Applied University (JO), National University of Malaysia (MY)
Openalex Percentile: Top 14%
Retinal Imaging and Analysis
1.36
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.