Early Prediction of Diabetic Macular Edema via Machine Learning Survival Analysis on Checkup Data
Abstract
Purpose: To predict the risk of diabetic macular edema (DME) onset and to identify features of the risk subgroups. Design: Population-based observational study with a case-control design. Subjects and Controls: Health checkup and diagnosis data from the JMDC claims database (January 2005-July 2020), one of the largest Japanese epidemiological databases, were used. From 272 337 individuals diagnosed with type 2 diabetes (International Classification of Diseases, 10th Revision E11), we analyzed 2368 pairs of DME and non-DME individuals, which matched 1:1 by the balancing score calculated from regression analysis of DME with sex, age, months of observation, number of checkups, duration of diabetes, and months until the first checkup. Methods: We employed a multivariate Cox proportional hazards model, regularized Cox models, and a random survival forest (RSF). These models were trained via ID-level bootstrap resampling using 43 health checkup variables (missing ratio 5 years prior to onset, with a specificity of 85.5%. The RSF achieved median C-index, IBS, and mean AUC values of 0.694 (95% confidence interval, 0.688-0.697), 0.181 (0.179-0.184), and 0.750 (0.739-0.756), respectively, outperforming both multivariate and univariate Cox models. Three distinct DME risk subgroups were suggested by temporal changes in the RSF-predicted risk score. Predictors of DME onset varied markedly among these subgroups. In the explicit high-risk subgroup, urinary protein and urinary sugar were highly important, and liver function-related blood tests, such as alanine transaminase and γ-gultamyltransferase, were also ranked high in variable importance metrics. Anemia-related laboratory tests were associated with DME development only in this subgroup. Conclusions: Random survival forest demonstrated superior performance in relative risk prediction of DME using health checkup data. External validation remains an essential prerequisite before any clinical application. Financial Disclosures: Proprietary or commercial disclosure may be found in the Footnotes and Disclosures at the end of this article.
Fields of Study & Subjects
Retinal Imaging and Analysis
Retinal Diseases and Treatments
Artificial Intelligence in Healthcare
Publication details
- Journal / source
- Ophthalmology Science
- Publisher
- Elsevier BV
- Volume
- 6
- Issue
- 8
- Pages
- 101262–101262
- Publication date
- 1 June 2026
- Language
- EN