Introduction

Diabetic retinopathy (DR) is a major complication of diabetes mellitus (DM), and its overall prevalence accounts for 35% in diabetes patients worldwide [1, 2]. With the rising incidence of diabetes, DR continues to be a leading cause of vision loss in many developed countries [3]. The causal risk factors of DR include hyperglycaemia, hypertension, diabetes duration [2, 4]. The excessive generation of reactive oxygen species (ROS) due to hyperglycemia triggers localized inflammation, disrupts mitochondrial function, impairs microvascular integrity, and leads to cellular apoptosis. The accumulation of ROS, the onset of local inflammation, and cellular demise are intricately interconnected and significantly impact every stage of the pathogenesis of DR [5, 6]. Moreover, microvascular impairment gives rise to ischemia and localized inflammation, culminating in the development of neovascularization, macular edema, and neurodysfunction, ultimately resulting in irreversible long-term blindness. Diet can effectively influence inflammation, and an unhealthy diet is associated with the pathophysiology of diabetes [7, 8]. In diabetes, overexpression of pro-inflammatory proteins including C-reactive protein (CRP) and cytokines (IL-1β, IL-6, and TNF-α) contributes to chronic inflammation. Anti-inflammatory diets, such as a high fiber, fruit, and vegetable and low-fat intake, can reduce inflammatory markers and thus the risk of diabetes [9]. The Mediterranean diet (MedDiet) is renowned for its anti-inflammatory properties [10]. Research suggests that following a MedDiet can be beneficial for patients with diabetes. This diet promotes healthy blood sugar control by emphasising whole grains, fruits, and vegetables with a low glycemic index. These foods help prevent rapid spikes in blood sugar levels after meals. The dietary pattern beneficially modulates the gut microbiota and immune system [11]. In addition, dietary polyphenols found in the MedDiet have the potential to modulate the activity of nicotinamide adenine dinucleotide phosphate (NADPH) oxidase and mitigate oxidative stress and metabolic inflammation mediated by Nuclear Factor-kappa B (NF-κB) [12]. By contrast, pro-inflammatory diets, including a high consumption of red, processed meat, saturated or trans-fat and refined carbohydrates, typically represented by Western diets, are related to increased inflammatory markers. Western diets have been recognized as the major contributor to metabolic disturbances and the development of obesity-related diseases including type 2 diabetes, hypertension, and cardiovascular disease [9].

In 2014, Shivappa.et.al developed the dietary inflammatory index (DII) based on extensive literature about various dietary components and inflammatory biomarkers to provide a quantitative means for assessing the inflammatory potential of people’s diets. The DII score for each diet plan was calculated using the amounts of each of 45 dietary components that comprise the DII. Anti-inflammatory foods have a lower DII score while pro-inflammatory foods have a higher DII score [13]. Including a diet with a higher DII score, as indicated by a previous study, increased the odds of both diabetic kidney disease [14] and long-term all-cause and cardiovascular mortality [15]. Zhang et al. found that a higher DII score, corresponding to a more proinflammatory diet, was associated with a higher risk of gestational diabetes [8]. Incorporating a diet abundant in anti-inflammatory nutrients, such as one high in n-3 polyunsaturated fatty acids (PUFA) [16] and fiber [17], can significantly reduce the likelihood of developing DR in individuals with either type 1 or type 2 diabetes.

To the best of our knowledge, there were no studies exploring the relation between the DII and DR using National Health and Nutrition Examination Survey (NHANES) data. Therefore, this study aimed to explore the association between DII and DR in adults participating in NHANES 2005–2008.

Methods

NHANES is an ongoing, nationally representative survey conducted in 2-year cycles, and its website provides the information about study design, interviews, demographics, dietary assessment, physical examination, and laboratory data in detail. The data were combined from NHANES 2005–2006 and 2007–2008, and 20, 497 individuals were included. This study samples were limited to participants aged ≥ 40 years who were eligible for fundus photography and had complete retinal imaging status [18]. Therefore, 14,922 participants were excluded and 5,575 were left.

Furthermore, individuals were classified as having diabetes if they (1) answered the self-reported diabetes status question, “Have you ever been told by a doctor or health professional that you have diabetes or sugar diabetes?”; (2) had a glycosylated hemoglobin A1c (HbA1c) value of at least 6.5%; (3) had a positive response to the question, “Are you now taking insulin?” or “Are you now taking diabetic pills to lower your blood sugar?” [17]. Among 5,575 individuals, there were 1,175 diabetes patients. Diagnosis of DR was based on the severity of DR of the worse eye. 27 individuals having (1) non-diabetic retinal disease specific retinopathy; (2) questionable retinopathy; (3) or missing data of retinopathy level were excluded from the analysis. Finally, 1,148 eligible individuals with 117 samples of DR and 1,031 samples of non-DR were selected for this analysis (see Fig. 1). Ethics approval was accepted by the institutional review board of the National Center for Health Statistics (NCHS) and study design was confirmed in accordance with the Helsinki Declaration. All participants provided informed consent before enrollment.

Fig. 1
figure 1

Flow chart of study participants. Sample selection and exclusion criteria for the comparison of DR and non-DR participants

The present study calculated DII using the same method as Shivappa N et al. [13] which developed the method for calculating the DII based on dietary data. Dietary data of NHANES was collected by 24-hour dietary recall at Mobile Examination Centers (MEC), which was a private interview room which contained a standard set of measuring guides. These tools were used to help the respondent report the volume and dimensions of food items consumed. A second dietary recall was collected by telephone 3 to 10 days later to obtain a more complete picture of the usual dietary intake for all participants. In this study, out of 45 possible foods, 27 nutrients were used to calculate the DII score: carbohydrates; fat; protein; fiber; cholesterol; vitamins A, B1, B2, B6, B12, C, D, E; niacin; saturated, monounsaturated, and polyunsaturated fatty acids; omega3 and omega6 polyunsaturated fatty acids; iron; magnesium; zinc; selenium; folic acid; beta-carotene; alcohol; and caffeine. Previous studies indicated that 27 or 28 of nutrients applied for the calculation would not affect the DII predictive capacity [19, 20].

Selected covariates include age (years), sex (male/female), race (Mexican American/Non-Hispanic white/Non-Hispanic black/Other Hispanic/Other race/multi-racial), body mass index (BMI) (kg/m2), HbA1c (%), current smoking status (non-smoking/smoking), hypertension (yes/no), diabetes duration (years) and total energy intake 24-hour period prior to the interview (kcal) [17]. The BMI (kg/m2) levels were categorized as normal weight (less than 25), overweight (greater than or equal to 25 and less than 30) and obese (greater than or equal to 30). All the miss rates of covariates were lower than 45%.

Considering the complex survey design in NHANES, each sample was assigned a weight to measure the number of people in the population represented by that sample person. In the present study, according to the tutorials of NHANES, half of MEC exam weight determined the final weight since MEC examined subjects were a subset of those interviewed in the survey and two survey cycles were combined. All the statistical analyses of the present study were under weighted case. The two-tailed significance level 0.05 was considered in all analyses. The missing values were imputed by k-Nearest Neighbor (kNN) method in the package “DMwR2”. Then the DII scores of participants were calculated via standard approach. The resulting population was unbalanced, with 1031 non-DR individuals and 117 DR individuals. We adopted “ROSE” package for undersampling to balance the sample size of individuals in case group and control group [14]. After undersampling we obtained the final population of 227 individuals with 110 non-DR individuals and 117 DR ones.

All the descriptive statistics of continuous variables and categorical variables were calculated under weighted case. Mean and standard deviation were used to describe central tendency and dispersion if the continuous variable was normally distributed, otherwise median and interquartile range (IQR) were used. The differences of continuous variables between case and control group were performed by weighted two sample t-test since heteroscedasticity exists. The counterpart of categorical variables was conducted by weighted Chi-square test or Fisher’s test. Multivariate analysis was implemented by weighted Logistic regression with quasibinomial family in ‘survey’ package. The discretization of the DII score was executed by k-means clustering method.

Results

After undersampling, there were 227 subjects (110 non-DR and 117 DR individuals) enrolled in our analysis. Account for the sample weight in NHANES, these 227 subjects actually represented 2,720,185 US adults with summing their weights. Their characteristics (all, non-DR and DR) are displayed in Table 1. The mean age of DR patients was 60.42 years. Compared with non-DR individuals, those with DR had higher DII scores (1.14 ± 0.29 vs. 1.49 ± 0.21, P = 0.32), higher level of HbA1c (6.80 ± 1.10% vs. 7.70 ± 2.60%, P < 0.001) and longer duration of diabetes (6.52 ± 12.00 years vs. 14.00 ± 11.00 years, P < 0.001).

Table 1 Demographics and characteristics of participants, NHANES 2005–2008

Table 2 presents characteristics of 2,720,185 US adults in different quartiles of DII. The scores ranged from − 3.82 to -0.59, -0.39 to 1.45, 1.48 to 2.99, 3.09 to 4.73 in Q1, Q2, Q3 and Q4 groups, respectively. Except for Q2, the DII of the DR group is higher than that of the non-DR group in Q1, Q3 and Q4 groups but without significance. The difference of HbA1c levels were observed in Q1-Q4 group between non-DR and DR individuals, and higher in DR groups (PQ1, Q2, Q3, Q4<0.05). Diabetes duration was also significantly different between non-DR and DR individuals in Q2-Q4 group, and longer in DR groups (PQ2, Q3, Q4<0.05). Smoking was more prevalent in DR patients in the Q3(11.60%)-Q4 (27.25%) than Q1 (2.13%) -Q2 (5.57%), although this difference is not statistically significant (P > 0.05).

Table 2 Characteristics of participants in different quartiles of DII score, NHANES 2005–2008

The regression results are presented in the Table 3. Likelihood ratio test (LRT) among all models were all statistically significant, which means that Model 3 outperforms the other two models in fitting the dataset. Our result showed that the association between DII and the increase of DR was 1.38 (95% CI: 1.06–1.81). Furthermore, the results also showed that HbA1c, diabetes duration and obesity were important influencing factors, and their odds ratios (ORs) were 1.81 (95% CI: 1.31–2.50), 1.12 (95% CI: 1.04–1.20), 4.01 (95% CI: 1.12–14.32), respectively.

Table 3 Logistic regression analysis of DII for DR in participants, NHANES 2005–2008

We also distinguished important indices in DR subjects from non-DR subjects using logistic regression analysis with covariates. Beta-carotene, niacin, protein, total saturated fatty acids and vitamin A were important dietary indices for males (Fig. 2A). However, for females, they were vitamin D, total saturated fatty acids, selenium, total fat and vitamin C (Fig. 2B). Overall, the most important indices were iron, dietary fiber, vitamin C, niacin and selenium (Fig. 2 C). The areas under the curve (AUC) were 0.975, 0.915 and 0.866 for female, male and all groups, respectively (Fig. 2D).

Fig. 2
figure 2

The most important indices and AUC curves in DR participants. (A) Beta-carotene, niacin, protein, total saturated fatty acids and vitamin A were important dietary indices for males with DR. (B) Vitamin D, total saturated fatty acids, selenium, total fat and vitamin C were important dietary indices for females with DR. (C) Iron, dietary fiber, vitamin C, niacin and selenium are the most important indices for total participants with DR. (D) AUC in male, female and total groups

Discussion

The role of inflammation in the pathogenesis of DR is widely accepted [21,22,23]. However, there is currently a scarcity of research concerning the association between DII and DR. Notably, we showed that DII was positively associated with the increased risk of DR. HbA1c, diabetes duration and obesity were important influencing factors on multivariate analysis. Furthermore, dietary habits of males and females were also different.

Diet is one of the crucial factors which may cause systemic inflammation [24] and affect chronic low grade inflammatory status. For instance, cholesterol has shown a positive association with inflammation, whereas dietary fiber intake has been inversely associated [25]. The Mediterranean diet and the Western diet are renowned for their anti- and pro-inflammatory properties, as mentioned earlier [10]. Considering that DR is clearly connected with inflammation [26, 27], and DII serves as a tool to quantify the inflammatory potential of the diet, there is good reason to believe that DII is theoretically associated with DR. The present research is, as we know, the first thorough piece that investigated the connection between diet-related inflammation and DR in a cross-sectional study. Our results shows that a higher DII score may raise the risk of DR considerably. With 1 point increase in DII score, odds of having DR increased by 38%. It is inferred that a reasonable conclusion would be that an anti-inflammatory diet may play a positive role in preventing the occurrence of DR in DM patients.

Our research also demonstrated a strong connection between the development of DR and HbA1c level, the duration of DM and obesity. The higher mean HbA1c level, longer diabetes duration and obesity significantly elevate the risk of developing DR. In a study led by Harb W. and his team [28], it was discovered that among individuals diagnosed with type 2 DM, the duration of DM significantly varied across different categories of DR. Specifically, the average DM duration was notably longer in patients with mild non-proliferative DR (NPDR) (16.2 years), moderate NPDR (11.6 years), and proliferative DR (PDR) (13.2 years), in contrast to those without visible retinopathy (6.7 years) [28]. Coincidentally, patients with high HbA1c levels (OR:1.25; 95% CI, 1.18–1.32, per %), and those with a long duration of DM (OR: 1.10; 95% CI, 1.08–1.11, per year), are prone to DR in Singapore [29]. The aforementioned results are also supported by the findings of Almutairi et al. [30]. Obesity increases the susceptibility to type 2 diabetes, which is the predominant cause of DR [31]. The proportion of obese DM patients had a 4.01 times greater risk of DR compared to individuals with a normal BMI. These findings are consistent with previous research [32]. Furthermore, it’s noteworthy that the DII has been identified as being associated with all indicators of type 2 diabetes risk, including fasting glucose, insulin levels, and HbA1c, with obesity serving as a mediating factor [33].

Since diet has inflammatory potential, different dietary patterns may be associated with different chronic inflammatory diseases. For example, trans unsaturated fatty acid consumption raises the risk of cardiovascular disease and cardiovascular death [34]. Increased salt consumption may provoke water retention, thus leading to hypertension [35] On the contrary, dietary fiber is protective against colorectal cancer in patients in Asia [36]. The MedDiet may be a helpful technique for preventing coronary artery disease, heart failure outcomes, and metabolic problems [37]. Based on this, we believe that understanding the dietary structure of specific diseases is conducive to strengthening the cognition, management, and prevention of diseases. Therefore, our study distinguished important indices in DR subjects. Considering that there may be differences between male and female in life or diet patterns, work intensity, and social status, we conducted a sex subgroup analysis on dietary patterns. As we expected, there was a difference between the two groups. In addition to total saturated fatty acids, the male DR patients tended to prefer Beta-carotene, niacin, protein, and vitamin A diets, while the female DR patients tended to vitamin D, selenium, total fat, and vitamin C diets.

There were several strengths in our study. First, the k-means method was used to divide the data, which was more reasonable and effective for the discretization of continuous variables which were not suitable for clinical threshold and isometric grouping methods. Second, we also explored 27 components involved in the composition of DII to identify the dietary indices that played a major role in the occurrence of DR in different populations. This research also had certain limitations. First, since this was a cross sectional research, we were unable to account for the causal relationship between DII and DR. Second, the correlation between DII and the severity of DR was not discussed due to the sample size of patients in this study. Thirdly, it should be noted that due to sample size limitations, this article did not extensively delve into the role of sports activities. Additionally, the diagnosis of diabetes was based on self-reporting and did not include diabetes subtyping.

In conclusion, we demonstrated that the DII was strongly linked with DR in the US adult population. Higher DII scores may predict an increased occurrence of DR in multivariate analysis, but not in univariate analysis. We also discovered disparities in food patterns between males and females. Considering diet as a modifiable factor, limiting pro-inflammatory diets or encouraging anti-inflammatory diets might be a promising and cost-effective method in the management of DR.