Abstract
Diabetic Retinopathy (DR) remains a leading cause of vision loss among diabetic patients, underscoring the importance of early detection through reliable retinal imaging analysis. Retinal fundus images are inherently physics-driven, capturing the interactions of light with retinal tissue, including absorption, reflection, and scattering phenomena, which define the intensity and structural patterns critical for diagnosis. However, existing machine learning and optimization approaches for DR screening face challenges in handling the high-dimensional, heterogeneous, and complex physical characteristics of these images. Conventional methods often suffer from suboptimal feature selection, limited generalization, and reduced classification accuracy due to their inability to adaptively exploit image-specific patterns. To address these challenges, this study introduces a Dynamic Grasshopper Optimization Algorithm (DGOA) for feature selection, leveraging its dynamic adaptation capabilities to explore and exploit the physically meaningful feature space effectively. By incorporating adaptive parameter control, DGOA mitigates premature convergence and ensures the selection of the most discriminative features, enhancing model robustness. To further improve classification reliability, an ensemble learning classifier is integrated, combining multiple base models to leverage complementary strengths, reduce overfitting, and maximize predictive performance. The proposed physics-aware AI framework was validated on the EyePACS Retinal Fundus Images dataset, a large and diverse collection of high-resolution images reflecting variations in illumination, contrast, and tissue properties. Comparative experiments with EfficientNetV2S, MGA-CSG, and BWO-DL highlight the advantages of our approach in balancing computational efficiency, generalization, and physically informed feature extraction. The DGOA-Ensemble model achieved an accuracy of 94.6%, F1-score of 0.94, and AUC-ROC of 0.96, demonstrating its effectiveness as a robust, interpretable, and generalizable framework that bridges the gap between physics-based retinal imaging and AI-driven automated DR detection.