Introduction:The purpose of this study is to assess the relationship between retinal vascular characteristics and cognitive function using artificial intelligence techniques to obtain fully automated quantitative measurements of retinal vascular morphological parameters.Methods:A deep learning-based semantic segmentation network ResNet101-UNet was used to construct a vascular segmentation model for fully automated quantitative measurement of retinal vascular parameters on fundus photographs. Retinal photographs centered on the optic disc of 3107 participants (aged 50–93 years) from the Beijing Eye Study 2011, a population-based cross-sectional study, were analyzed. The main parameters included the retinal vascular branching angle, vascular fractal dimension, vascular diameter, vascular tortuosity, and vascular density. Cognitive function was assessed using the Mini-Mental State Examination (MMSE).Results:The results showed that the mean MMSE score was 26.34 ± 3.64 (median: 27; range: 2–30). Among the participants, 414 (13.3%) were classified as having cognitive impairment (MMSE score < 24), 296 (9.5%) were classified as mild cognitive impairment (MMSE: 19–23), 98 (3.2%) were classified as moderate cognitive impairment (MMSE: 10–18), and 20 (0.6%) were classified as severe cognitive impairment (MMSE < 10). Compared with the normal cognitive function group, the retinal venular average diameter was significantly larger (p= 0.013), and the retinal vascular fractal dimension and vascular density were significantly smaller (bothp< 0.001) in the mild cognitive impairment group. The retinal arteriole-to-venular ratio (p= 0.003) and vascular fractal dimension (p= 0.033) were significantly decreased in the severe cognitive impairment group compared to the mild cognitive impairment group. In the multivariate analysis, better cognition (i.e., higher MMSE score) was significantly associated with higher retinal vascular fractal dimension (b = 0.134,p= 0.043) and higher retinal vascular density (b = 0.152,p= 0.023) after adjustment for age, best corrected visual acuity (BCVA) (logMAR) and education level.Discussion:In conclusion, our findings derived from an artificial intelligence-based fully automated retinal vascular parameter measurement method showed that several retinal vascular morphological parameters were correlated with cognitive impairment. The decrease in retinal vascular fractal dimension and decreased vascular density may serve as candidate biomarkers for early identification of cognitive impairment. The observed reduction in the retinal arteriole-to-venular ratio occurs in the late stages of cognitive impairment.