Vitamin D3 for Life. Live Enlightened.

Research libraryVitamin D3 For Life
Study design and methods

Secondary relevance to vitamin D vitamin_d_analysis_within_other_research.

vitamin_d_analysis_within_other_research

Why this paper is included

Supporting source evidence:

The fast-food index (p = 0.80), hamburger and fried-food frequency, serum vitamin D (p = 0.22), energy intake (p = 0.18) and the proportion in the highest fast-food tertile (33.0% vs. 33.4%, chi-square p = 0.60) did not differ between groups, and physical inactivity was similar (48.6% vs. 47.5%, chi-square p = 0.25).

Source: Fat, fast-food consumption, sugary drinks, and physical inactivity. View original paper

Relevance classification does not establish study quality, causation or editorial approval.

Study design Cross-sectional study.

Cross-sectional study

Examines a population at a particular point in time.

Meta-analysis unclear · Blinding unclear / not reported · Human research reported

How this paper was classified

Automatic source-based classification; awaiting editorial verification. This is not a quality score.

This study utilised a cross-sectional design, analysing pooled data from four consecutive waves of the Korea National Health and Nutrition Examination Survey (KNHANES IV–V: 2008, 2009, 2010, and 2011).

Source: Methods.

In the outer loop, participants were divided into 10 folds grouped by PSU, so that no cluster contributed to both training and test data; each fold served once as the test set, and the out-of-fold predictions were pooled.

Source: Methods.

View supporting evidence in the original paper

What the study types mean
Systematic review
Uses explicit methods to identify, assess and summarise research on a defined question.
Scoping review
Maps the extent and characteristics of research on a topic.
Narrative review
Discusses existing research; systematic-review methods have not been established by this classification.
Review / evidence synthesis
Reviews existing research; the exact review methods need further assessment.
Randomised controlled trial
Assigns participants or groups to comparison interventions by chance.
Non-randomised intervention study
Examines an intervention without random allocation.
Cohort study
Examines exposures and outcomes over time within a defined group.
Case-control study
Compares people with an outcome against people without it, examining exposures.
Cross-sectional study
Examines a population at a particular point in time.
Observational study
Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
Case report
Describes an individual case.
Case series
Describes a group of individual cases.
Secondary analysis
Analyses existing study data; this paper is not automatically another independent trial.
Laboratory study
Investigates biological processes in a laboratory setting.
Qualitative study
Examines experiences or meanings using qualitative methods.
Genetic instrumental-variable study
Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
Study protocol
Describes planned methods and is not evidence that the planned study has reported results.
Multiple reported designs
More than one design is explicitly reported; examine the supporting methods.
Study design awaiting verification
The available source does not establish a sufficiently clear study design.

Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.

Full studies

Nutritional determinants of non-alcoholic fatty liver disease: a machine learning approach with nutritional scoring

Cross-sectional study · Frontiers in Nutrition · 2026

Original publication title

Nutritional determinants of non-alcoholic fatty liver disease: a machine learning approach with nutritional scoring

Joyeta Ghosh; Partha Pratim Pal; Poulami Dasgupta; Debprasad Chattopadhyay; Debadatta Nayak

Copyright © 2026 Ghosh, Pal, Dasgupta, Chattopadhyay and Nayak.

Original publication · Publisher record · CC BY 4.0

Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.

At a glance

Study background

What background does the paper provide?

Non-alcoholic fatty liver disease (NAFLD) encompasses a histopathological spectrum from simple steatosis through non-alcoholic steatohepatitis (NASH) to cirrhosis and hepatocellular carcinoma (1, 2). As the leading cause of chronic liver disease globally, NAFLD afflicts an estimated 1.9 billion individuals, imposes disproportionate morbidity and healthcare expenditure, and is increasingly recognized as a multisystem disease extending beyond the liver (3, 4).

In the Republic of Korea, NAFLD prevalence has escalated dramatically over the past two decades, mirroring parallel surges in obesity, type 2 diabetes, and dyslipidaemia attributable to rapid economic development and dietary Westernisation (5, 6). National survey data indicate NAFLD now affects 22–33% of Korean adults, with higher rates in men and in those with central adiposity (7, 8).

Nutritional factors occupy a central position in NAFLD pathogenesis. Excess dietary fructose drives de novo hepatic lipogenesis; saturated fatty acids promote mitochondrial dysfunction and lipotoxicity; dietary fibre modulates the gut microbiome–liver axis; and omega-3 polyunsaturated fatty acids exert potent anti-inflammatory and anti-lipogenic effects (9–11). Despite these mechanistic insights, population-level evidence characterising the nutritional signatures of NAFLD in East Asian cohorts—where dietary composition differs substantially from Western populations—remains incomplete (12).

The Korea National Health and Nutrition Examination Survey (KNHANES) provides a uniquely comprehensive resource: nationally representative, multi-wave data integrating detailed 24-h dietary recall, validated anthropometric measurements and broad biochemical panels (13, 14). Liver imaging was not available in the analysed file. Pooling four consecutive waves (2008–2011) affords sufficient statistical power to examine nutritional determinants across sociodemographic strata and to train high-performance predictive models.

Machine learning (ML) approaches offer advantages over conventional logistic regression for NAFLD risk prediction: they accommodate non-linear interactions among dietary variables, capture complex multivariate patterns, and—when combined with explainability frameworks such as SHAP (SHapley Additive exPlanations)—provide transparent, actionable insights (15). Machine learning has been applied to nutrition-related and metabolic outcomes, including metabolic syndrome in postmenopausal women (17) and cardiovascular risk in rural populations (18), and its role in personalised nutrition has been reviewed (19).

However, when NAFLD is defined from variables that are also supplied to the model, apparent predictive performance can reflect the definition rather than the exposure of interest, and simple models can perform as well as complex ones (16).

The present study therefore aimed to: (1) characterise the cross-sectional nutritional profile of NAFLD among Korean adults in KNHANES 2008–2011, including fat intake, fast-food and sugary-drink consumption and physical inactivity; (2) develop a parsimonious dietary Nutritional Liver Risk Score (NLRS) and test it by temporal validation; (3) train and benchmark eight ML classifiers using nutritional, anthropometric, and biochemical features, with and without the variables that define NAFLD; and (4) use SHAP-based explainability analyses to describe how a leakage-controlled model uses dietary and non-dietary features.

We also examined continuous liver enzymes, effect modification, unmeasured confounding and exposure measurement error, to establish how far the associations can be interpreted causally. By separating the contribution of diet from that of the variables that define the outcome, this analysis provides a framework for leakage-controlled evaluation of NAFLD prediction models and identifies which behavioural factors show consistent associations.

Source: Introduction Source: Introduction Source: Introduction Source: Introduction Source: Introduction Source: Introduction Source: Introduction

Study methods

What methods does the paper describe?

2.1

Study design and data source

This study utilised a cross-sectional design, analysing pooled data from four consecutive waves of the Korea National Health and Nutrition Examination Survey (KNHANES IV–V: 2008, 2009, 2010, and 2011). KNHANES is a nationally representative, stratified, multi-stage, probability cluster sampling survey conducted annually by the Korea Disease Control and Prevention Agency (KDCA) to monitor the health and nutritional status of the Korean non-institutionalised civilian population (13).

The survey employs a complex sampling design incorporating stratification by geographic region, urbanicity, and household composition, with probability proportional to population size (PPS) selection at each sampling stage. Prevalence estimates used the KNHANES combined interview–examination–nutrition weight (wt_tot) with Taylor-linearised variance over strata and primary sampling units (PSU). Logistic regression models were weighted by wt_tot with standard errors clustered on PSU, which approximates but does not fully reproduce design-based variance because strata were not used. Machine learning models were trained without survey weights (Section 2.8).

Data are freely accessible at: https://knhanes.kdca.go.kr.

The analysis file was a merged KNHANES 2008–2011 file with 630 variables. It contained 39,306 data lines, of which 18 lines (14 participant IDs) were malformed and could not be read reliably. The 39,288 readable rows contained only 26,684 unique participant IDs, because every 2010 and 2011 record appeared twice (12,604 duplicated records). All analyses used one record per participant.

2.3

Study population and participant flow

Exclusion criteria were applied sequentially to unique participants (Figure 1). Of 26,684 unique participants, none was younger than 19 years (the minimum age in the file was 20). We excluded participants with missing inputs to the HSI (ALT, AST, BMI or diabetes status; n = 2,979), missing dietary recall (n = 2,698), a positive hepatitis B surface antigen test (n = 749), the heavy-alcohol flag in the KNHANES file (HE_ALC = 1; n = 1,015), pregnancy (n = 63), implausible energy intake (<500 or >5,000 kcal/day; n = 239), and missing covariate or survey-design variables (smoking, physical activity, education, income, survey weight, waist circumference, glucose, lipids, blood pressure; n = 435).

The final analytic sample comprised 18,506 adults. Exclusions for cirrhosis, hepatocellular carcinoma and hepatitis C could not be applied because these variables were not in the file.

Figure 1

Participant flow diagram—KNHANES 2008–2011. Sequential inclusion/exclusion cascade from 39,288 readable rows to 26,684 unique participants and an analytic sample of 18,506. The duplicate-removal step is shown explicitly. The machine learning pipeline is summarised in Supplementary Figure S1.

Figure image at the original source — open the original paper. This file is not included in this text import.
2.4

NAFLD ascertainment

NAFLD was ascertained using the Hepatic Steatosis Index (HSI), a validated non-invasive surrogate widely applied in population studies in the absence of universal ultrasound data (7). HSI = 8 × (ALT/AST ratio) + BMI + 2 (if T2DM) + 2 (if female). An HSI > 36 defined NAFLD, consistent with prior KNHANES-based studies (20). In the supplied file the HSI value reproduced from ALT, AST, BMI, sex and diagnosed diabetes in 99.3% of participants. Because HSI is a deterministic function of these five variables, any model given them as inputs can reconstruct the outcome (Section 2.8).

A sensitivity analysis using the Fatty Liver Index was not performed because gamma-glutamyl transferase was measured only in the 2010–2011 waves.

2.5

Dietary assessment

Dietary intake was assessed by a single 24-h dietary recall administered by a trained dietitian using the multiple-pass method. Energy and nutrient intakes were estimated from the Korean Food Composition Database (KFCD). The analysed file contained 19 nutrient variables: energy, water, protein, total fat, carbohydrate, dietary fibre, ash, calcium, phosphorus, iron, sodium, potassium, vitamin A, carotene, retinol, thiamin, riboflavin, niacin and vitamin C. Saturated, monounsaturated and polyunsaturated fat, n-3 and n-6 fatty acids, added sugar and fructose, refined carbohydrate, red and processed meat, folate, and dietary vitamins D and E were not available, so these nutrients, and dietary patterns derived from them, could not be analysed.

Additional nutrition- and behaviour-related variables. The file also contained frequency categories for 12 food and beverage items (milk, yoghurt, ice cream, soda, coffee, tea, beer, soju, red wine, hamburger, pizza and fried food), serum 25-hydroxyvitamin D, and estimated 24-h urinary sodium excretion calculated from a spot urine sample with Tanaka’s equation as supplied in the file. Frequency category codes were treated as ordinal scores, and codes of 90 or above were treated as missing. Fat intake was expressed as a percentage of energy (grams of fat × 9 / energy × 100).

A fast-food index was formed as the standardised sum of the standardised frequency categories for hamburger, pizza and fried food. Physical inactivity was defined as reporting none of vigorous activity, moderate activity or walking, as recorded in the file; because sitting time was not available, inactivity was used as the indicator of a sedentary lifestyle. Elevated ALT (above 33 IU/L in men or 25 IU/L in women) was analysed as an outcome that does not depend on BMI.

2.6

Anthropometric and biochemical variables

Anthropometric measurements (weight, height, waist circumference) were obtained by trained examiners using standardised protocols. BMI was calculated as weight (kg)/height2 (m2). Blood specimens were collected after a minimum 8-h fast; serum glucose, total cholesterol, HDL-C, triglycerides, ALT and AST were assayed by certified laboratories. Fasting insulin and hsCRP were not available in the analysed file, and GGT (2010–2011 only) was not used. Covariates were age, sex, current smoking, physical activity (any vigorous, moderate or walking activity), education (four levels), household income (quartiles) and survey year.

2.7

Nutritional Liver Risk Score (NLRS) derivation

The NLRS was derived from the 18 non-energy nutrients (log-transformed nutrient density per 1,000 kcal) in the 2008–2009 waves (n = 9,562) and validated temporally in the 2010–2011 waves (n = 8,944); a same-survey random 70/30 split by PSU is reported for comparison. LASSO (Least Absolute Shrinkage and Selection Operator) logistic regression with 10-fold PSU-grouped cross-validation was applied to identify the optimal regularisation parameter (λ) and select non-zero dietary predictors (26). Selected variables were entered into a multivariable logistic regression model adjusting for age, sex, smoking and physical activity.

Coefficients were scaled to integer weights (0–10 per nutrient); each participant’s score was the weighted sum of derivation-set percentile ranks (reversed for protective nutrients), rescaled to 0–100. Score performance was assessed by AUROC (PSU-cluster bootstrap CI), compared with a model of age, sex, smoking and activity alone, the Hosmer–Lemeshow test, and adjusted odds ratios across score quintiles with a test for trend.

2.8

Machine learning pipeline

Feature engineering and preprocessing were performed as follows. Derived variables were computed row by row, so that no information was shared between participants: the energy shares of protein, fat and carbohydrate, fibre, sodium and potassium densities per 1,000 kcal, the sodium-to-potassium ratio, the triglyceride-to-HDL ratio and mean arterial pressure. All other preprocessing was fitted on training data only within each fold: winsorisation of continuous variables at the 1st and 99th percentiles, log transformation of right-skewed variables (nutrient intakes, triglycerides, ALT, AST and the derived densities), standardisation, and one-hot encoding of education, income and survey year.

After the exclusions above, all model inputs were complete, so no imputation was needed. Because the prevalence of NAFLD was about 21%, models were trained at natural prevalence without oversampling, which preserves the calibration of predicted probabilities. Eight classifiers were trained: (1) logistic regression with L2 penalty; (2) random forest; (3) extreme gradient boosting (XGBoost); (4) light gradient boosting machine (LightGBM); (5) k-nearest neighbours; (6) Gaussian naïve Bayes; (7) multilayer perceptron; and (8) decision tree with cost-complexity pruning. CatBoost and support vector machine models were not evaluated.

The pipeline is summarised in Supplementary Figure S1.

Five feature sets were compared. Set A (full) contained the HSI components (BMI, ALT, AST, diabetes, sex), age, smoking, activity, education, income, survey year, waist circumference, glucose, triglycerides, HDL-C, total cholesterol, blood pressure, the 19 nutrients and the derived variables. Set B removed the five HSI components. Set C also removed waist circumference and glucose, which are close proxies for BMI and diabetes. Set D contained only the nutrients, derived dietary variables, age, smoking, activity, education, income and survey year.

Set E contained only the age and lifestyle variables of Set D and so shows what diet adds.

Performance was estimated with nested cross-validation. In the outer loop, participants were divided into 10 folds grouped by PSU, so that no cluster contributed to both training and test data; each fold served once as the test set, and the out-of-fold predictions were pooled. Within each outer training set, hyperparameters were selected by randomised search (grid search for logistic regression and naïve Bayes) using 3-fold cross-validation grouped by PSU, with the AUROC as the selection criterion, and the best configuration was refitted on the whole training set.

The tuned hyperparameters were the number of trees, learning rate, tree size, minimum leaf size, subsampling and regularisation for the gradient-boosting models; tree depth, leaf size and feature fraction for the random forest; hidden-layer architecture, L2 penalty and initial learning rate for the multilayer perceptron; the inverse regularisation strength for logistic regression; the number of neighbours and weighting for k-nearest neighbours; depth, leaf size and cost-complexity pruning for the decision tree; and variance smoothing for naïve Bayes. The primary performance metric was the AUROC of the pooled out-of-fold predictions, with 95% confidence intervals from a PSU-cluster bootstrap (200 resamples).

Secondary metrics were the Brier score (calibration), the survey-weighted AUROC, and sensitivity, specificity, F1 score and Matthews correlation coefficient at the Youden threshold.

2.9

SHAP explainability analysis

SHAP values were computed for a LightGBM model trained on the HSI-free feature set (Set B), using the most frequently selected hyperparameters, on the training data of the first outer fold and applied to that held-out fold (n = 1,848) using TreeExplainer. Global feature importance was ranked by mean |SHAP|. Dependence plots were generated for dietary fibre, sodium and potassium. SHAP values describe how the fitted model uses its inputs; they are not estimates of causal effect, and correlated inputs (for example energy, waist circumference and lipids) share attribution.

2.10

Statistical analysis

Continuous variables are expressed as mean ± SD or median (IQR) for skewed distributions. Categorical variables are expressed as proportions (%). Between-group comparisons in Table 1 used Mann–Whitney U tests for continuous variables and chi-square tests for categorical variables (unweighted). Multivariable logistic regression, weighted by wt_tot with PSU-clustered standard errors, was used for covariate-adjusted associations, modelling each nutrient separately; results are expressed as adjusted odds ratios (aOR) with 95% confidence intervals (CI). Model 1 adjusted for age, sex and survey year; Model 2 added smoking, physical activity, education and income; Model 3 added total energy intake.

Because BMI is part of the HSI, adjustment for BMI is over-adjustment and is shown only as a sensitivity analysis (Model 3 + BMI). A two-tailed p-value < 0.05 was considered statistically significant. All statistical analyses were conducted in Python 3.12 (scikit-learn 1.8, XGBoost 3.4, LightGBM 4.7, SHAP 0.52, statsmodels 0.15). Analysis code is available at: https://github.com/JoyetaG/NFLD.

Table 1

Baseline characteristics by NAFLD status (HSI > 36), KNHANES 2008–2011 (n = 18,506).

VariableOverall (n = 18,506)NAFLD (n = 3,877)Non-NAFLD (n = 14,629)Survey-weighted overall, mean or %p-value (unweighted)
Age (years)50.3 ± 16.250.5 ± 14.850.2 ± 16.645.00.186
Female sex, %63.0%59.8%63.8%54%<0.001
Current smoker, %16.8%19.6%16.1%23%<0.001
Physically active, %52.2%51.4%52.4%53%0.249
BMI (kg/m2)23.6 ± 3.327.7 ± 2.922.5 ± 2.523.6<0.001
Waist circumference (cm)80.9 ± 9.991.3 ± 8.178.2 ± 8.580.7<0.001
ALT (IU/L)16.0 (12.0–23.0)27.0 (20.0–40.0)15.0 (12.0–20.0)21.4<0.001
AST (IU/L)20.0 (16.0–24.0)22.0 (18.0–28.0)19.0 (16.0–23.0)21.3<0.001
Diabetes (diagnosed), %7.9%17.8%5.2%6%<0.001
Fasting glucose (mg/dL)97.7 ± 23.0107.7 ± 31.795.1 ± 19.296.4<0.001
Total cholesterol (mg/dL)188.7 ± 36.2197.9 ± 38.2186.3 ± 35.3187.2<0.001
HDL-C (mg/dL)52.2 ± 12.647.4 ± 10.753.4 ± 12.752.3<0.001
Triglycerides (mg/dL)104.0 (70.0–155.0)142.0 (101.0–207.0)95.0 (66.0–141.0)127.6<0.001
SBP (mmHg)119.0 ± 17.8124.1 ± 16.5117.7 ± 17.8117.2<0.001
Energy (kcal/day)1858.6 ± 728.51886.2 ± 764.41851.3 ± 718.51,9590.122
Carbohydrate (g/day)312.5 ± 116.2317.9 ± 120.3311.1 ± 115.0318.00.004
Protein (g/day)66.0 ± 34.167.4 ± 36.165.7 ± 33.670.90.071
Total fat (g/day)35.4 ± 27.235.5 ± 28.235.3 ± 26.940.30.193
Dietary fibre (g/day)6.3 (4.3–9.2)6.5 (4.4–9.5)6.3 (4.3–9.1)7.5<0.001
Sodium (mg/day)4069.0 (2692.3–6045.4)4202.1 (2729.1–6322.6)4034.7 (2682.2–5984.1)4,998<0.001
Potassium (mg/day)2715.8 (1937.3–3700.2)2764.0 (1968.8–3777.9)2697.4 (1929.1–3687.1)3,0630.009
Calcium (mg/day)416.8 (273.0–619.5)422.4 (272.5–624.6)415.7 (273.3–618.0)508.60.660
Vitamin C (mg/day)82.2 (48.2–136.4)83.2 (48.6–140.5)81.8 (48.1–135.7)108.40.293
Water (mL/day)779.2 (504.7–1162.0)786.7 (502.1–1160.2)777.5 (505.5–1162.5)965.10.868

Values are mean ± SD or median (interquartile range) for continuous variables and % for categorical variables. The survey-weighted column uses the KNHANES combined sample weights and reports the weighted mean (continuous variables) or weighted percentage (categorical variables). p-values compare participants with and without NAFLD (Mann–Whitney U test or chi-square test) and are unweighted. NAFLD, non-alcoholic fatty liver disease; HSI, hepatic steatosis index.

To compare exposures on a common scale, fat share of energy, the fast-food index, soda frequency, serum vitamin D and urinary sodium were standardised (per SD) and physical inactivity was entered as a binary variable. Each exposure was first modelled separately, adjusted for age, sex, smoking, education, income and survey year, and for physical activity except when inactivity was the exposure. Fat, the fast-food index, soda and inactivity were then entered together. NAFLD (HSI > 36) and elevated ALT were both used as outcomes.

The joint association of the highest fast-food tertile and physical inactivity was assessed with four combined categories and an interaction term. Weighted logistic models with PSU-clustered standard errors were used as above. Unadjusted differences between participants with and without NAFLD were tested with the Mann–Whitney U test for continuous variables (rank-biserial correlation as effect size) and the chi-square test for categorical variables (Cramér’s V). Associations with continuous HSI and ALT were quantified with Spearman rank correlation coefficients (ρ), unadjusted and partial (adjusted for age and sex).

Benjamini–Hochberg false-discovery-rate (FDR) correction was applied within each family of tests. To check robustness, the main odds ratios were re-estimated without survey weights and with progressively adjusted covariate sets. No correction for multiple comparisons was applied to the regression models. The added predictive value of fat and fast-food consumption was assessed as the change in out-of-fold AUROC of a logistic model under 10-fold PSU-grouped cross-validation.

Data quality was examined beyond the exclusions above. Coding of the covariates was checked for stray missing-value codes, intakes were winsorised at the 1st and 99th percentiles and log-transformed as sensitivity analyses, and the plausibility of reported energy intake was assessed as the ratio of reported energy to basal metabolic rate estimated with the Mifflin–St Jeor equation from weight, height, age and sex. Participants with a ratio of 0.9 to 2.5 were considered plausible reporters, and the main nutrient associations and the prediction comparison were repeated in this group.

2.11

Causal framework and additional sensitivity analyses

The assumed causal structure is shown in Figure 2. Diet and physical activity may affect hepatic fat directly and through adiposity, and age, sex, education, income and smoking confound these relationships. Because BMI lies on the pathway from diet and inactivity to hepatic fat and is also a component of the HSI, the primary models did not adjust for BMI, and BMI-adjusted models are presented as sensitivity analyses. NAFLD may in turn alter diet and activity (reverse causation), and energy under-reporting depends on body size.

To examine the robustness of the associations to these structures, four additional analyses were performed. First, ln-transformed ALT and AST, which do not depend on BMI, were analysed as continuous outcomes with survey-weighted linear regression, and results are expressed as percentage differences in the geometric mean. Second, effect modification by sex and by age (below 50 years vs. 50 years or older) was assessed with stratified models and with tests of interaction in fully interacted models. Third, E-values were calculated to quantify the minimum strength of association that an unmeasured confounder would need with both exposure and outcome to explain away an observed association; because the outcomes were common, odds ratios were converted to approximate risk ratios by taking their square root.

Fourth, the effect of exposure measurement error was explored by correcting odds ratios under classical measurement error for assumed reliabilities of 0.7, 0.5 and 0.3 (corrected odds ratio = observed odds ratio raised to the power 1/reliability); these scenarios are illustrative, because the reliability of a single recall cannot be estimated from these data.

Figure 2

Assumed causal structure. Diet and physical activity may affect hepatic fat directly and through adiposity; age, sex, education, income and smoking are confounders. BMI is on the causal pathway and is also a component of the outcome used (the HSI), so primary models do not adjust for it. NAFLD may alter diet and activity (dashed red arrow, reverse causation), and diet is measured with error that depends on body size. ALT and AST provide an outcome that does not depend on BMI.

Figure image at the original source — open the original paper. This file is not included in this text import.
Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods

Results: Descriptive nutritional analysis

By construction, participants with NAFLD had a higher BMI (27.7 ± 2.9 vs. 22.5 ± 2.5 kg/m2; Figure 3B), and also higher waist circumference, ALT, AST, triglycerides, fasting glucose and prevalence of diabetes, and lower HDL cholesterol (all p < 0.001; Table 1). Median ALT was 27 vs. 15 IU/L, AST 22 vs. 19 IU/L and triglycerides 142 vs. 95 mg/dL (Figure 3D). Dietary differences were small. Median intakes of fibre (6.5 vs. 6.3 g/day), sodium (4,202 vs. 4,035 mg/day) and potassium (2,764 vs. 2,697 mg/day) were slightly higher in participants with NAFLD (p < 0.001, p < 0.001 and p = 0.009), whereas energy (p = 0.122), total fat (p = 0.193), calcium (p = 0.660), vitamin C (p = 0.293) and water (p = 0.868) did not differ.

After energy adjustment, nutrient profiles differed little between the groups (mean z-scores of nutrient density within ±0.21; Figures 3E, 4A). The prevalence of NAFLD increased modestly across quartiles of sodium density (20.2 to 24.6%; p for trend = 0.001) and fibre density (21.0 to 22.7%; p for trend = 0.011; Figure 3C), and did not change across survey years (22.8%, 22.3%, 20.8% and 23.0%; Figure 3F). Adjusted associations are presented in Section 3.6, Table 2 and Figure 4B.

Figure 4

Nutritional profile of NAFLD vs. Non-NAFLD — Radar & Forest Plot. (A) Radar chart of energy-adjusted intake (mean percentile rank of nutrient density per 1,000 kcal; 50 = cohort median) for 10 of the available nutrients, NAFLD (red) vs. non-NAFLD (teal). (B) Multivariable-adjusted odds ratios (95% CI) per increment of intake in Model 3 and in Model 3 additionally adjusted for BMI (over-adjusted, because BMI is a component of the HSI).

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 2

Multivariable logistic regression: adjusted associations of nutrient intake with NAFLD (survey-weighted, PSU-clustered).

NutrientIncrementModel 1 aOR (95%CI)Model 2 aOR (95%CI)Model 3 aOR (95%CI)Model 3 + BMI aOR (95%CI)
Dietary fibreper 5 g/day1.04 (1.00–1.08)1.05 (1.02–1.09)1.06 (1.02–1.10)1.05 (0.99–1.12)
Sodiumper 1,000 mg/day1.02 (1.01–1.03)1.02 (1.01–1.04)1.03 (1.01–1.04)1.01 (0.98–1.03)
Potassiumper 500 mg/day1.01 (0.99–1.02)1.02 (1.00–1.03)1.03 (1.01–1.05)1.03 (1.00–1.06)
Vitamin Cper 50 mg/day1.00 (0.97–1.02)1.01 (0.99–1.03)1.01 (0.98–1.03)1.01 (0.97–1.05)
Calciumper 100 mg/day1.01 (0.99–1.02)1.01 (1.00–1.03)1.01 (1.00–1.03)1.00 (0.98–1.02)
Total fatper 10 g/day1.00 (0.98–1.02)1.00 (0.98–1.02)1.00 (0.98–1.03)1.00 (0.96–1.03)
Carbohydrateper 50 g/day1.00 (0.98–1.02)1.01 (0.99–1.03)1.01 (0.97–1.04)1.08 (1.02–1.13)
Proteinper 10 g/day1.01 (0.99–1.02)1.01 (1.00–1.02)1.02 (1.00–1.04)1.03 (0.99–1.07)
Waterper 250 mL/day1.01 (0.98–1.03)1.01 (0.99–1.04)1.02 (0.99–1.05)0.98 (0.95–1.02)
Energyper 500 kcal/day1.00 (0.97–1.04)1.01 (0.97–1.04)1.01 (0.97–1.04)0.98 (0.94–1.03)

Each nutrient modelled separately. Model 1: age, sex, survey year. Model 2: Model 1 + smoking, physical activity, education, income. Model 3: Model 2 + total energy intake (not for energy itself). Model 3 + BMI is a sensitivity analysis (BMI is a component of the HSI). aOR, adjusted odds ratio.

Table 1

Baseline characteristics by NAFLD status (HSI > 36), KNHANES 2008–2011 (n = 18,506).

VariableOverall (n = 18,506)NAFLD (n = 3,877)Non-NAFLD (n = 14,629)Survey-weighted overall, mean or %p-value (unweighted)
Age (years)50.3 ± 16.250.5 ± 14.850.2 ± 16.645.00.186
Female sex, %63.0%59.8%63.8%54%<0.001
Current smoker, %16.8%19.6%16.1%23%<0.001
Physically active, %52.2%51.4%52.4%53%0.249
BMI (kg/m2)23.6 ± 3.327.7 ± 2.922.5 ± 2.523.6<0.001
Waist circumference (cm)80.9 ± 9.991.3 ± 8.178.2 ± 8.580.7<0.001
ALT (IU/L)16.0 (12.0–23.0)27.0 (20.0–40.0)15.0 (12.0–20.0)21.4<0.001
AST (IU/L)20.0 (16.0–24.0)22.0 (18.0–28.0)19.0 (16.0–23.0)21.3<0.001
Diabetes (diagnosed), %7.9%17.8%5.2%6%<0.001
Fasting glucose (mg/dL)97.7 ± 23.0107.7 ± 31.795.1 ± 19.296.4<0.001
Total cholesterol (mg/dL)188.7 ± 36.2197.9 ± 38.2186.3 ± 35.3187.2<0.001
HDL-C (mg/dL)52.2 ± 12.647.4 ± 10.753.4 ± 12.752.3<0.001
Triglycerides (mg/dL)104.0 (70.0–155.0)142.0 (101.0–207.0)95.0 (66.0–141.0)127.6<0.001
SBP (mmHg)119.0 ± 17.8124.1 ± 16.5117.7 ± 17.8117.2<0.001
Energy (kcal/day)1858.6 ± 728.51886.2 ± 764.41851.3 ± 718.51,9590.122
Carbohydrate (g/day)312.5 ± 116.2317.9 ± 120.3311.1 ± 115.0318.00.004
Protein (g/day)66.0 ± 34.167.4 ± 36.165.7 ± 33.670.90.071
Total fat (g/day)35.4 ± 27.235.5 ± 28.235.3 ± 26.940.30.193
Dietary fibre (g/day)6.3 (4.3–9.2)6.5 (4.4–9.5)6.3 (4.3–9.1)7.5<0.001
Sodium (mg/day)4069.0 (2692.3–6045.4)4202.1 (2729.1–6322.6)4034.7 (2682.2–5984.1)4,998<0.001
Potassium (mg/day)2715.8 (1937.3–3700.2)2764.0 (1968.8–3777.9)2697.4 (1929.1–3687.1)3,0630.009
Calcium (mg/day)416.8 (273.0–619.5)422.4 (272.5–624.6)415.7 (273.3–618.0)508.60.660
Vitamin C (mg/day)82.2 (48.2–136.4)83.2 (48.6–140.5)81.8 (48.1–135.7)108.40.293
Water (mL/day)779.2 (504.7–1162.0)786.7 (502.1–1160.2)777.5 (505.5–1162.5)965.10.868

Values are mean ± SD or median (interquartile range) for continuous variables and % for categorical variables. The survey-weighted column uses the KNHANES combined sample weights and reports the weighted mean (continuous variables) or weighted percentage (categorical variables). p-values compare participants with and without NAFLD (Mann–Whitney U test or chi-square test) and are unweighted. NAFLD, non-alcoholic fatty liver disease; HSI, hepatic steatosis index.

Source: Descriptive nutritional analysis Source: Descriptive nutritional analysis Source: Descriptive nutritional analysis Source: Descriptive nutritional analysis

Results: Nutritional Liver Risk Score (NLRS)

LASSO regression (10-fold cross-validation grouped by PSU, with the penalty chosen to maximise the AUROC) retained all 18 available non-energy nutrients in the 2008–2009 derivation cohort (Table 3), yielding a score with a possible range of 0 to 100.

Table 3

LASSO-derived Nutritional Liver Risk Score (NLRS) components, weights, and direction of association (2008–2009 derivation cohort, n = 9,562).

RankNutrientDirectionLASSO coeff.NLRS weight (0–10)
1ProteinRisk+0.09710
2PhosphorusProtective−0.0959
3CaroteneRisk+0.1039
4Total fatProtective−0.1018
5Vitamin AProtective−0.0918
6RetinolRisk+0.0575
7Dietary fibreRisk+0.0434
8Vitamin CProtective−0.0544
9CarbohydrateRisk−0.0013
10PotassiumRisk+0.0323
11CalciumProtective−0.0282
12IronRisk+0.0242
13SodiumRisk+0.0322
14NiacinRisk+0.0332
15WaterRisk−0.0061
16Thiamin (B1)Protective−0.0051
17AshRisk+0.0020
18Riboflavin (B2)Protective−0.0140

LASSO, least absolute shrinkage and selection operator. Nutrients are log-transformed densities per 1,000 kcal. Direction is taken from the multivariable model including age, sex, smoking and physical activity. Adjusted odds ratios for nutrients are reported in Table 2. Ranked by weight; ties keep LASSO order.

In the 2010–2011 validation cohort (n = 8,944), the NLRS had an AUROC of 0.512 (95% CI 0.496–0.528), compared with 0.524 for a model containing age, sex, smoking and physical activity alone and 0.526 for the combined model. Adjusted odds ratios for NAFLD across NLRS quintiles 2 to 5, relative to quintile 1, were 1.05 (0.89–1.24), 1.10 (0.93–1.30), 1.07 (0.90–1.26) and 1.14 (0.96–1.36; p for trend = 0.147). The combined model was poorly calibrated in the validation cohort (Hosmer–Lemeshow χ2 = 30.4, p < 0.001).

In a same-survey random split by PSU (70/30), the NLRS had an AUROC of 0.510 (0.493–0.529), and the odds ratio for quintile 5 versus quintile 1 was 1.17 (0.94–1.46; p for trend = 0.094). The NLRS therefore did not discriminate NAFLD beyond age, sex, smoking and physical activity (Figure 5).

Figure 5

Temporal validation of the Nutritional Liver Risk Score (NLRS), derived in 2008–2009 and tested in 2010–2011. (A) Receiver operating characteristic curve (area under the curve 0.512). (B) Calibration plot of observed against predicted NAFLD proportion for the model containing covariates and the NLRS (Hosmer–Lemeshow X² = 30.4, p < 0.001). (C) Adjusted odds ratios by NLRS quintile (Q1 = reference), adjusted for age, sex, smoking and physical activity; p for trend = 0.147.

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 2

Multivariable logistic regression: adjusted associations of nutrient intake with NAFLD (survey-weighted, PSU-clustered).

NutrientIncrementModel 1 aOR (95%CI)Model 2 aOR (95%CI)Model 3 aOR (95%CI)Model 3 + BMI aOR (95%CI)
Dietary fibreper 5 g/day1.04 (1.00–1.08)1.05 (1.02–1.09)1.06 (1.02–1.10)1.05 (0.99–1.12)
Sodiumper 1,000 mg/day1.02 (1.01–1.03)1.02 (1.01–1.04)1.03 (1.01–1.04)1.01 (0.98–1.03)
Potassiumper 500 mg/day1.01 (0.99–1.02)1.02 (1.00–1.03)1.03 (1.01–1.05)1.03 (1.00–1.06)
Vitamin Cper 50 mg/day1.00 (0.97–1.02)1.01 (0.99–1.03)1.01 (0.98–1.03)1.01 (0.97–1.05)
Calciumper 100 mg/day1.01 (0.99–1.02)1.01 (1.00–1.03)1.01 (1.00–1.03)1.00 (0.98–1.02)
Total fatper 10 g/day1.00 (0.98–1.02)1.00 (0.98–1.02)1.00 (0.98–1.03)1.00 (0.96–1.03)
Carbohydrateper 50 g/day1.00 (0.98–1.02)1.01 (0.99–1.03)1.01 (0.97–1.04)1.08 (1.02–1.13)
Proteinper 10 g/day1.01 (0.99–1.02)1.01 (1.00–1.02)1.02 (1.00–1.04)1.03 (0.99–1.07)
Waterper 250 mL/day1.01 (0.98–1.03)1.01 (0.99–1.04)1.02 (0.99–1.05)0.98 (0.95–1.02)
Energyper 500 kcal/day1.00 (0.97–1.04)1.01 (0.97–1.04)1.01 (0.97–1.04)0.98 (0.94–1.03)

Each nutrient modelled separately. Model 1: age, sex, survey year. Model 2: Model 1 + smoking, physical activity, education, income. Model 3: Model 2 + total energy intake (not for energy itself). Model 3 + BMI is a sensitivity analysis (BMI is a component of the HSI). aOR, adjusted odds ratio.

Source: Nutritional Liver Risk Score (NLRS) Source: Nutritional Liver Risk Score (NLRS) Source: Nutritional Liver Risk Score (NLRS) Source: Nutritional Liver Risk Score (NLRS) Source: Nutritional Liver Risk Score (NLRS)

Results: Machine learning model performance

With the full feature set (Set A), all of the boosting and linear models achieved very high discrimination (AUROC 0.998 for LightGBM, XGBoost and logistic regression; Table 4), because the HSI components allow the outcome definition to be reconstructed. Removing the five HSI components (Set B) reduced the best AUROC to 0.897 (XGBoost; 95% CI 0.892–0.902); performance remained high because waist circumference, glucose and lipids act as proxies for BMI and diabetes. Removing waist circumference and glucose as well (Set C) lowered the AUROC to 0.747 (0.738–0.756).

A model with diet, age and lifestyle (Set D) reached 0.595 (LightGBM; 0.585–0.604), similar to that of age and lifestyle alone (Set E; 0.597, 0.589–0.608; Figure 6C). In Set B, logistic regression performed as well as gradient boosting (AUROC 0.897 for all three), and the three best models differed by 0.001 or less, in line with evidence that machine learning does not necessarily outperform logistic regression (16). Survey-weighted AUROC differed from unweighted AUROC by at most 0.020.

Brier scores of the best models were 0.011 (Set A), 0.098 (Set B), 0.144 (Set C) and approximately 0.163 (Sets D and E), compared with approximately 0.165 for a model that assigns the average risk to everyone. In Set B, calibration curves lay close to the diagonal (Figure 6D), and at the Youden threshold XGBoost had a sensitivity of 0.84, specificity of 0.79, F1 score of 0.64 and Matthews correlation coefficient of 0.54, similar to LightGBM (0.84, 0.79, 0.64 and 0.54) and logistic regression (0.85, 0.78, 0.64 and 0.54; Figure 6F).

Table 4

Comparative performance of eight machine learning classifiers for NAFLD prediction: out-of-fold AUROC by feature set (nested 10-fold cross-validation grouped by PSU, with hyperparameters tuned in the inner loop; n = 18,506).

ModelA. FullB. HSI-freeC. B without waist and glucoseD. Diet + age/lifestyleE. Age/lifestyle only
LightGBM0.9980.8970.7460.5950.597
XGBoost0.9980.8970.7470.5900.597
Random Forest0.9840.8890.7360.5720.590
MLP0.9980.8930.7440.5660.582
Logistic Regression0.9980.8970.7350.5490.547
KNN0.9460.8540.7260.5440.571
Decision Tree0.9750.8690.7070.5570.586
Gaussian NB0.9100.8250.7160.5440.557

A: full feature set. B: HSI components (BMI, ALT, AST, diabetes, sex) removed. C: B without waist circumference and glucose. D: 19 nutrients and derived dietary variables plus age, smoking, activity, education, income, survey year. E: age and lifestyle variables of D only. PSU-cluster bootstrap (200 resamples) 95% CI half-widths were at most 0.011 in every cell. AUROC: area under receiver operating characteristic curve.

Figure 6

ML model comparison dashboard (leakage-controlled feature set B, HSI components removed; out-of-fold predictions from nested 10-fold cross-validation grouped by PSU, with hyperparameters tuned in the inner loop). ROC curves (all 8 models) (A); AUROC with 95% cluster-bootstrap CI (B); AUROC by feature set (A, full, to E, age and lifestyle only) for LightGBM and logistic regression, showing the effect of removing HSI-related variables and that diet adds little (D vs. E) (C); Calibration curves (deciles of predicted probability) (D); Brier scores (dashed line = no-skill value) (E); AUROC, sensitivity, specificity, F1 and MCC for the top three models at the Youden threshold (F).

Figure image at the original source — open the original paper. This file is not included in this text import.
Source: Machine learning model performance Source: Machine learning model performance Source: Machine learning model performance

Multivariable logistic regression—adjusted nutritional associations

Results: Multivariable logistic regression—adjusted nutritional associations

Adjusted associations of nutrient intake with NAFLD were small (Table 2; Figure 4B). In Model 3, higher intakes of fibre (aOR 1.06 per 5 g/day, 95% CI 1.02–1.10), sodium (1.03 per 1,000 mg/day, 1.01–1.04) and potassium (1.03 per 500 mg/day, 1.01–1.05) were associated with slightly higher odds of NAFLD, and protein (1.02, 1.00–1.04) and calcium (1.01, 1.00–1.03) showed borderline associations. Total fat, carbohydrate, vitamin C, water and energy were not associated with NAFLD. After additional adjustment for BMI, which constitutes over-adjustment because BMI is a component of the HSI, the associations of fibre (1.05, 0.99–1.12), sodium (1.01, 0.98–1.03) and potassium (1.03, 1.00–1.06) were attenuated or borderline, and only carbohydrate (1.08, 1.02–1.13) had a confidence interval that excluded 1.

None of the estimates indicated a protective association of fibre.

Table 2

Multivariable logistic regression: adjusted associations of nutrient intake with NAFLD (survey-weighted, PSU-clustered).

NutrientIncrementModel 1 aOR (95%CI)Model 2 aOR (95%CI)Model 3 aOR (95%CI)Model 3 + BMI aOR (95%CI)
Dietary fibreper 5 g/day1.04 (1.00–1.08)1.05 (1.02–1.09)1.06 (1.02–1.10)1.05 (0.99–1.12)
Sodiumper 1,000 mg/day1.02 (1.01–1.03)1.02 (1.01–1.04)1.03 (1.01–1.04)1.01 (0.98–1.03)
Potassiumper 500 mg/day1.01 (0.99–1.02)1.02 (1.00–1.03)1.03 (1.01–1.05)1.03 (1.00–1.06)
Vitamin Cper 50 mg/day1.00 (0.97–1.02)1.01 (0.99–1.03)1.01 (0.98–1.03)1.01 (0.97–1.05)
Calciumper 100 mg/day1.01 (0.99–1.02)1.01 (1.00–1.03)1.01 (1.00–1.03)1.00 (0.98–1.02)
Total fatper 10 g/day1.00 (0.98–1.02)1.00 (0.98–1.02)1.00 (0.98–1.03)1.00 (0.96–1.03)
Carbohydrateper 50 g/day1.00 (0.98–1.02)1.01 (0.99–1.03)1.01 (0.97–1.04)1.08 (1.02–1.13)
Proteinper 10 g/day1.01 (0.99–1.02)1.01 (1.00–1.02)1.02 (1.00–1.04)1.03 (0.99–1.07)
Waterper 250 mL/day1.01 (0.98–1.03)1.01 (0.99–1.04)1.02 (0.99–1.05)0.98 (0.95–1.02)
Energyper 500 kcal/day1.00 (0.97–1.04)1.01 (0.97–1.04)1.01 (0.97–1.04)0.98 (0.94–1.03)

Each nutrient modelled separately. Model 1: age, sex, survey year. Model 2: Model 1 + smoking, physical activity, education, income. Model 3: Model 2 + total energy intake (not for energy itself). Model 3 + BMI is a sensitivity analysis (BMI is a component of the HSI). aOR, adjusted odds ratio.

Source: Multivariable logistic regression—adjusted nutritional associations Source: Multivariable logistic regression—adjusted nutritional associations

Study limitations

Discussion: What limitations does the paper describe?

Several limitations should be acknowledged. First, the cross-sectional design precludes causal inference, and reverse causation, in which NAFLD alters dietary behaviour, cannot be excluded. Second, a single 24-h dietary recall, although it is the KNHANES standard, may not reflect habitual intake, and within-person measurement error probably attenuates associations; energy under-reporting differed by NAFLD status, so estimates for energy-related nutrients in the full sample are likely biased. Third, NAFLD was defined by the non-invasive HSI rather than by imaging or histology.

Although validated, the HSI is partly determined by BMI, which limits any analysis of diet and NAFLD that is independent of adiposity, and misclassification is possible. Fourth, residual confounding by unmeasured dietary and lifestyle factors, such as ultra-processed food consumption, meal timing, sleep quality and gut microbiome composition, cannot be excluded. Fifth, survey design was handled approximately: prevalence estimates used design-based variance, regression models used PSU-clustered standard errors without strata, and machine learning models were trained without survey weights, although survey-weighted AUROC differed by at most 0.020.

Sixth, the results are specific to Korean adults surveyed in 2008–2011 and may not generalise to other populations or to the present day. Seventh, only 19 nutrients were available; saturated fat, n-3 fatty acids, added sugar, folate and dietary vitamins D and E were not, and exclusions for cirrhosis and hepatitis C could not be applied. Eighth, the alcohol exclusion used the survey’s alcohol indicator (HE_ALC) rather than reported weekly intake, so residual alcohol-related liver injury cannot be excluded. Ninth, hyperparameter search was limited to a small number of randomly sampled configurations per model to keep computation feasible, support vector machine and CatBoost models were not evaluated, and multiple comparisons were not corrected.

Tenth, food-frequency categories were treated as ordinal scores, single-item frequencies are crude measures of intake, and sitting time was not available, so a sedentary lifestyle was represented by physical inactivity. Eleventh, the E-values and measurement-error scenarios rest on assumptions (conversion of odds ratios to risk ratios by the square root, and classical error with assumed reliabilities), and the effect-modification analyses were not corrected for multiple testing. Finally, the associations of fast-food consumption and physical inactivity with NAFLD were sensitive to survey weighting.

Source: Limitations

Significance, implications, and future directions

Discussion: Significance, implications, and future directions

As precision-nutrition research increasingly relies on machine learning to rank dietary and clinical risk factors (18, 19), this analysis shows that headline accuracy can derive entirely from the outcome definition: with the components of the HSI supplied, discrimination was near perfect (AUROC 0.998), but without them diet added essentially nothing beyond age and lifestyle. Studies that predict liver outcomes defined by clinical indices should therefore report performance with and without the index components. The analysis also provides a leakage-controlled, cluster-aware evaluation of diet and NAFLD in a national survey, together with a duplicate-record check that other KNHANES users can apply.

Its negative findings are informative: single 24-h recalls and 19 nutrient totals were insufficient to identify dietary determinants or to build a dietary risk score, which indicates what future studies require, namely repeated or food-level intake data with fatty-acid and sugar detail, outcomes that do not depend on BMI, and longitudinal designs. Among the behaviours examined, soda consumption and physical inactivity gave the most consistent signals and fat share of energy none, which directs hypotheses away from fat quantity alone.

Studies of diet and NAFLD that use the HSI or similar formula-based outcomes should not include the components of the formula as predictors, should report performance without them, and should check for duplicated records and use cluster-aware validation. Future work should use survey data with detailed fat-subtype and sugar intake, repeated recalls or food-frequency data, imaging- or histology-based outcomes (including the recent MASLD nomenclature (1)) and prospective designs. Longitudinal validation in prospective cohorts, for example the Korean Genome and Epidemiology Study, remains a priority.

Source: Significance, implications, and future directions Source: Significance, implications, and future directions

Results

3.1

Descriptive characteristics of the study population

The analytic sample comprised 18,506 adults (63.0% women; mean age 50.3 ± 16.2 years). NAFLD, defined by an HSI above 36, was present in 3,877 participants (20.9%). The survey-weighted prevalence was 22.2% (95% CI 21.4–23.1%), 26.3% in men and 18.7% in women. In men, prevalence peaked at 35% at ages 30–39 years and declined thereafter, whereas in women it increased with age to 28% at ages 60–69 years (Figure 3A). Table 1 presents the sociodemographic, anthropometric, biochemical and dietary characteristics by NAFLD status, with a survey-weighted overall column.

Figure 3

Demographic, clinical, dietary, and temporal patterns of NAFLD in the KNHANES Cohort (2008–2011) (A) Survey-weighted NAFLD (HSI > 36) prevalence by age group and sex, with 95% CI. (B) BMI distribution by NAFLD status. (C) Survey-weighted prevalence by quartile of fibre and sodium density (per 1,000 kcal); p for trend adjusted for age and sex. (D) Median (IQR) ALT, AST and triglycerides by NAFLD status; *** p < 0.001. (E) Mean z-score of energy-adjusted nutrient density by NAFLD status and sex. (F) Survey-weighted prevalence by survey year.

Panels (C,E) use the nutrients available in the analysed file; GGT and hsCRP were not available.

Figure image at the original source — open the original paper. This file is not included in this text import.
3.2

Descriptive nutritional analysis

By construction, participants with NAFLD had a higher BMI (27.7 ± 2.9 vs. 22.5 ± 2.5 kg/m2; Figure 3B), and also higher waist circumference, ALT, AST, triglycerides, fasting glucose and prevalence of diabetes, and lower HDL cholesterol (all p < 0.001; Table 1). Median ALT was 27 vs. 15 IU/L, AST 22 vs. 19 IU/L and triglycerides 142 vs. 95 mg/dL (Figure 3D). Dietary differences were small. Median intakes of fibre (6.5 vs. 6.3 g/day), sodium (4,202 vs. 4,035 mg/day) and potassium (2,764 vs. 2,697 mg/day) were slightly higher in participants with NAFLD (p < 0.001, p < 0.001 and p = 0.009), whereas energy (p = 0.122), total fat (p = 0.193), calcium (p = 0.660), vitamin C (p = 0.293) and water (p = 0.868) did not differ.

After energy adjustment, nutrient profiles differed little between the groups (mean z-scores of nutrient density within ±0.21; Figures 3E, 4A). The prevalence of NAFLD increased modestly across quartiles of sodium density (20.2 to 24.6%; p for trend = 0.001) and fibre density (21.0 to 22.7%; p for trend = 0.011; Figure 3C), and did not change across survey years (22.8%, 22.3%, 20.8% and 23.0%; Figure 3F). Adjusted associations are presented in Section 3.6, Table 2 and Figure 4B.

Figure 4

Nutritional profile of NAFLD vs. Non-NAFLD — Radar & Forest Plot. (A) Radar chart of energy-adjusted intake (mean percentile rank of nutrient density per 1,000 kcal; 50 = cohort median) for 10 of the available nutrients, NAFLD (red) vs. non-NAFLD (teal). (B) Multivariable-adjusted odds ratios (95% CI) per increment of intake in Model 3 and in Model 3 additionally adjusted for BMI (over-adjusted, because BMI is a component of the HSI).

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 2

Multivariable logistic regression: adjusted associations of nutrient intake with NAFLD (survey-weighted, PSU-clustered).

NutrientIncrementModel 1 aOR (95%CI)Model 2 aOR (95%CI)Model 3 aOR (95%CI)Model 3 + BMI aOR (95%CI)
Dietary fibreper 5 g/day1.04 (1.00–1.08)1.05 (1.02–1.09)1.06 (1.02–1.10)1.05 (0.99–1.12)
Sodiumper 1,000 mg/day1.02 (1.01–1.03)1.02 (1.01–1.04)1.03 (1.01–1.04)1.01 (0.98–1.03)
Potassiumper 500 mg/day1.01 (0.99–1.02)1.02 (1.00–1.03)1.03 (1.01–1.05)1.03 (1.00–1.06)
Vitamin Cper 50 mg/day1.00 (0.97–1.02)1.01 (0.99–1.03)1.01 (0.98–1.03)1.01 (0.97–1.05)
Calciumper 100 mg/day1.01 (0.99–1.02)1.01 (1.00–1.03)1.01 (1.00–1.03)1.00 (0.98–1.02)
Total fatper 10 g/day1.00 (0.98–1.02)1.00 (0.98–1.02)1.00 (0.98–1.03)1.00 (0.96–1.03)
Carbohydrateper 50 g/day1.00 (0.98–1.02)1.01 (0.99–1.03)1.01 (0.97–1.04)1.08 (1.02–1.13)
Proteinper 10 g/day1.01 (0.99–1.02)1.01 (1.00–1.02)1.02 (1.00–1.04)1.03 (0.99–1.07)
Waterper 250 mL/day1.01 (0.98–1.03)1.01 (0.99–1.04)1.02 (0.99–1.05)0.98 (0.95–1.02)
Energyper 500 kcal/day1.00 (0.97–1.04)1.01 (0.97–1.04)1.01 (0.97–1.04)0.98 (0.94–1.03)

Each nutrient modelled separately. Model 1: age, sex, survey year. Model 2: Model 1 + smoking, physical activity, education, income. Model 3: Model 2 + total energy intake (not for energy itself). Model 3 + BMI is a sensitivity analysis (BMI is a component of the HSI). aOR, adjusted odds ratio.

3.3

Nutritional Liver Risk Score (NLRS)

LASSO regression (10-fold cross-validation grouped by PSU, with the penalty chosen to maximise the AUROC) retained all 18 available non-energy nutrients in the 2008–2009 derivation cohort (Table 3), yielding a score with a possible range of 0 to 100.

Table 3

LASSO-derived Nutritional Liver Risk Score (NLRS) components, weights, and direction of association (2008–2009 derivation cohort, n = 9,562).

RankNutrientDirectionLASSO coeff.NLRS weight (0–10)
1ProteinRisk+0.09710
2PhosphorusProtective−0.0959
3CaroteneRisk+0.1039
4Total fatProtective−0.1018
5Vitamin AProtective−0.0918
6RetinolRisk+0.0575
7Dietary fibreRisk+0.0434
8Vitamin CProtective−0.0544
9CarbohydrateRisk−0.0013
10PotassiumRisk+0.0323
11CalciumProtective−0.0282
12IronRisk+0.0242
13SodiumRisk+0.0322
14NiacinRisk+0.0332
15WaterRisk−0.0061
16Thiamin (B1)Protective−0.0051
17AshRisk+0.0020
18Riboflavin (B2)Protective−0.0140

LASSO, least absolute shrinkage and selection operator. Nutrients are log-transformed densities per 1,000 kcal. Direction is taken from the multivariable model including age, sex, smoking and physical activity. Adjusted odds ratios for nutrients are reported in Table 2. Ranked by weight; ties keep LASSO order.

In the 2010–2011 validation cohort (n = 8,944), the NLRS had an AUROC of 0.512 (95% CI 0.496–0.528), compared with 0.524 for a model containing age, sex, smoking and physical activity alone and 0.526 for the combined model. Adjusted odds ratios for NAFLD across NLRS quintiles 2 to 5, relative to quintile 1, were 1.05 (0.89–1.24), 1.10 (0.93–1.30), 1.07 (0.90–1.26) and 1.14 (0.96–1.36; p for trend = 0.147). The combined model was poorly calibrated in the validation cohort (Hosmer–Lemeshow χ2 = 30.4, p < 0.001).

In a same-survey random split by PSU (70/30), the NLRS had an AUROC of 0.510 (0.493–0.529), and the odds ratio for quintile 5 versus quintile 1 was 1.17 (0.94–1.46; p for trend = 0.094). The NLRS therefore did not discriminate NAFLD beyond age, sex, smoking and physical activity (Figure 5).

Figure 5

Temporal validation of the Nutritional Liver Risk Score (NLRS), derived in 2008–2009 and tested in 2010–2011. (A) Receiver operating characteristic curve (area under the curve 0.512). (B) Calibration plot of observed against predicted NAFLD proportion for the model containing covariates and the NLRS (Hosmer–Lemeshow X² = 30.4, p < 0.001). (C) Adjusted odds ratios by NLRS quintile (Q1 = reference), adjusted for age, sex, smoking and physical activity; p for trend = 0.147.

Figure image at the original source — open the original paper. This file is not included in this text import.
3.4

Machine learning model performance

With the full feature set (Set A), all of the boosting and linear models achieved very high discrimination (AUROC 0.998 for LightGBM, XGBoost and logistic regression; Table 4), because the HSI components allow the outcome definition to be reconstructed. Removing the five HSI components (Set B) reduced the best AUROC to 0.897 (XGBoost; 95% CI 0.892–0.902); performance remained high because waist circumference, glucose and lipids act as proxies for BMI and diabetes. Removing waist circumference and glucose as well (Set C) lowered the AUROC to 0.747 (0.738–0.756).

A model with diet, age and lifestyle (Set D) reached 0.595 (LightGBM; 0.585–0.604), similar to that of age and lifestyle alone (Set E; 0.597, 0.589–0.608; Figure 6C). In Set B, logistic regression performed as well as gradient boosting (AUROC 0.897 for all three), and the three best models differed by 0.001 or less, in line with evidence that machine learning does not necessarily outperform logistic regression (16). Survey-weighted AUROC differed from unweighted AUROC by at most 0.020.

Brier scores of the best models were 0.011 (Set A), 0.098 (Set B), 0.144 (Set C) and approximately 0.163 (Sets D and E), compared with approximately 0.165 for a model that assigns the average risk to everyone. In Set B, calibration curves lay close to the diagonal (Figure 6D), and at the Youden threshold XGBoost had a sensitivity of 0.84, specificity of 0.79, F1 score of 0.64 and Matthews correlation coefficient of 0.54, similar to LightGBM (0.84, 0.79, 0.64 and 0.54) and logistic regression (0.85, 0.78, 0.64 and 0.54; Figure 6F).

Table 4

Comparative performance of eight machine learning classifiers for NAFLD prediction: out-of-fold AUROC by feature set (nested 10-fold cross-validation grouped by PSU, with hyperparameters tuned in the inner loop; n = 18,506).

ModelA. FullB. HSI-freeC. B without waist and glucoseD. Diet + age/lifestyleE. Age/lifestyle only
LightGBM0.9980.8970.7460.5950.597
XGBoost0.9980.8970.7470.5900.597
Random Forest0.9840.8890.7360.5720.590
MLP0.9980.8930.7440.5660.582
Logistic Regression0.9980.8970.7350.5490.547
KNN0.9460.8540.7260.5440.571
Decision Tree0.9750.8690.7070.5570.586
Gaussian NB0.9100.8250.7160.5440.557

A: full feature set. B: HSI components (BMI, ALT, AST, diabetes, sex) removed. C: B without waist circumference and glucose. D: 19 nutrients and derived dietary variables plus age, smoking, activity, education, income, survey year. E: age and lifestyle variables of D only. PSU-cluster bootstrap (200 resamples) 95% CI half-widths were at most 0.011 in every cell. AUROC: area under receiver operating characteristic curve.

Figure 6

ML model comparison dashboard (leakage-controlled feature set B, HSI components removed; out-of-fold predictions from nested 10-fold cross-validation grouped by PSU, with hyperparameters tuned in the inner loop). ROC curves (all 8 models) (A); AUROC with 95% cluster-bootstrap CI (B); AUROC by feature set (A, full, to E, age and lifestyle only) for LightGBM and logistic regression, showing the effect of removing HSI-related variables and that diet adds little (D vs. E) (C); Calibration curves (deciles of predicted probability) (D); Brier scores (dashed line = no-skill value) (E); AUROC, sensitivity, specificity, F1 and MCC for the top three models at the Youden threshold (F).

Figure image at the original source — open the original paper. This file is not included in this text import.
3.5

Feature importance and SHAP explainability

In the tuned LightGBM model without the HSI components (Set B), waist circumference was the most influential predictor (mean |SHAP| = 1.48), followed by age (0.40), fasting glucose (0.18), the triglyceride-to-HDL ratio (0.14) and energy intake (0.09) (Figure 7). Metabolic and anthropometric variables accounted for 75.1% of the total mean |SHAP|, demographic and lifestyle variables for 17.2% and dietary variables for 7.7%. Dependence plots (Figures 8A–D) showed that the mean contribution of waist circumference rose from −2.57 log-odds in the lowest quintile to +2.55 in the highest, whereas the dietary contributions were negligible: mean SHAP values for fibre, potassium and sodium were within ±0.01 log-odds in every quintile of intake.

Two-dimensional partial dependence on fibre and sodium (Figure 8E) showed that the mean predicted probability of NAFLD varied only between 22.2 and 22.4% across the grid, with no evidence of a synergistic pattern. Force-plot summaries for the highest- and lowest-risk participants in the test fold (predicted probabilities 0.96 and below 0.01; Figure 8F) were dominated by waist circumference, age and the triglyceride-to-HDL ratio. SHAP values describe model behaviour and are not effect estimates. Interactions involving saturated fat could not be examined because this nutrient was not available.

Figure 7

SHAP global feature importance — LightGBM model trained on the HSI-free feature set (Set B), held-out PSU-grouped fold (n = 1,848). (A) Beeswarm SHAP summary plot (top 15 features; colour = feature value from blue = low to red = high). (B) Mean |SHAP| for the top 15 features; dietary variables in teal, metabolic/anthropometric variables in gold, demographic/lifestyle variables in navy.

Figure image at the original source — open the original paper. This file is not included in this text import.
Figure 8

SHAP dependence & interaction plots (LightGBM, HSI-free feature set, held-out PSU-grouped fold. (A–D) SHAP dependence plots for waist circumference, dietary fibre, potassium and sodium (x-axis = feature value, y-axis = SHAP contribution, colour = interaction variable, black line = running mean, 1st–99th percentile of the x variable). (E) Two-dimensional partial-dependence of mean predicted NAFLD probability on dietary fibre and sodium (colour scale 10 to 35%; the range across the grid was 22.2 to 22.4%). (F) SHAP contributions (log-odds) of the six largest features for the highest- and lowest-risk participants in the test fold.

SHAP values are not effect estimates.

Figure image at the original source — open the original paper. This file is not included in this text import.
3.6

Multivariable logistic regression—adjusted nutritional associations

Adjusted associations of nutrient intake with NAFLD were small (Table 2; Figure 4B). In Model 3, higher intakes of fibre (aOR 1.06 per 5 g/day, 95% CI 1.02–1.10), sodium (1.03 per 1,000 mg/day, 1.01–1.04) and potassium (1.03 per 500 mg/day, 1.01–1.05) were associated with slightly higher odds of NAFLD, and protein (1.02, 1.00–1.04) and calcium (1.01, 1.00–1.03) showed borderline associations. Total fat, carbohydrate, vitamin C, water and energy were not associated with NAFLD. After additional adjustment for BMI, which constitutes over-adjustment because BMI is a component of the HSI, the associations of fibre (1.05, 0.99–1.12), sodium (1.01, 0.98–1.03) and potassium (1.03, 1.00–1.06) were attenuated or borderline, and only carbohydrate (1.08, 1.02–1.13) had a confidence interval that excluded 1.

None of the estimates indicated a protective association of fibre.

3.7

Fat, fast-food consumption, sugary drinks, and physical inactivity

Fat intake, fast-food consumption, soda consumption and physical inactivity were compared on a common scale (Table 5; Figure 9; n = 18,135). Fat as a percentage of energy (mean 16.3%, SD 8.4 percentage points) was not associated with NAFLD (aOR 0.98 per SD, 95% CI 0.93–1.03) and was inversely associated with elevated ALT (0.94, 0.89–1.00). In survey-weighted models, the fast-food index was positively associated with NAFLD (1.09 per SD, 1.03–1.15) and weakly with elevated ALT (1.07, 1.00–1.14), although unweighted estimates were smaller (Table 6).

Soda consumption showed the strongest dietary association with NAFLD (1.11 per SD, 1.06–1.17). Physical inactivity, present in 47.7% of participants, was borderline associated with NAFLD (1.09, 1.00–1.18) and clearly associated with elevated ALT (1.20, 1.08–1.33). When fat, the fast-food index, soda consumption and physical inactivity were entered together, soda consumption (1.10, 1.04–1.15) and physical inactivity (1.09, 1.00–1.18) remained associated with NAFLD, the fast-food association was attenuated (1.06, 1.00–1.12) and fat remained unrelated (0.97, 0.92–1.02). For elevated ALT, physical inactivity (1.20, 1.08–1.33) and soda consumption (1.08, 1.02–1.14) remained associated, and fat was inversely associated (0.93, 0.88–0.99).

The fast-food association with NAFLD was similar after adjustment for energy and BMI (1.11 per SD, 1.02–1.21). Relative to active participants in the lowest two fast-food tertiles, the odds of NAFLD were 1.13 (1.02–1.26) in inactive participants with low fast-food consumption, 1.31 (1.14–1.51) in active participants in the highest tertile and 1.34 (1.17–1.55) in inactive participants in the highest tertile (p for interaction = 0.286). Higher serum 25-hydroxyvitamin D was associated with lower odds of NAFLD (0.92 per SD, 0.88–0.97, n = 17,744), and the association persisted after adjustment for energy and BMI.

Estimated 24-h urinary sodium excretion was associated with higher odds of NAFLD (1.35 per SD, 1.28–1.42, n = 13,627), but the association disappeared after adjustment for BMI (1.02, 0.95–1.10) and should be interpreted cautiously because the estimating equation includes weight and height. Adding fat and the fast-food index to age and lifestyle covariates did not change cross-validated discrimination (AUROC 0.556 with and without them).

Table 5

Adjusted odds ratios (95% CI) for NAFLD and elevated ALT: fat, fast-food consumption, soda, physical inactivity, serum vitamin D and urinary sodium (survey-weighted, PSU-clustered).

ExposureIncrementNAFLD, modelled separatelyNAFLD, mutually adjustedElevated ALT, modelled separatelyElevated ALT, mutually adjusted
Fat, % of energyper SD (8.4 percentage points)0.98 (0.93–1.03)0.97 (0.92–1.02)0.94 (0.89–1.00)0.93 (0.88–0.99)
Fast-food index (hamburger, pizza, fried food)per SD1.09 (1.03–1.15)1.06 (1.00–1.12)1.07 (1.00–1.14)1.05 (0.98–1.12)
Soda frequencyper SD1.11 (1.06–1.17)1.10 (1.04–1.15)1.09 (1.04–1.15)1.08 (1.02–1.14)
Physical inactivityvs active1.09 (1.00–1.18)1.09 (1.00–1.18)1.20 (1.08–1.33)1.20 (1.08–1.33)
Serum 25-hydroxyvitamin Dper SD (6.7 ng/mL)0.92 (0.88–0.97)—0.95 (0.90–1.01)—
Estimated 24-h urinary sodiumper SD (36 mEq/day)1.35 (1.28–1.42)—1.09 (1.03–1.16)—

Separately: each exposure modelled alone. Mutually adjusted: fat share of energy, fast-food index, soda frequency and physical inactivity entered together. All models adjusted for age, sex, smoking, education, income and survey year, and for physical activity except for the inactivity exposure. Fast-food index: standardised sum of hamburger, pizza and fried-food frequency categories. Physical inactivity: none of vigorous, moderate or walking activity. Elevated ALT: >33 IU/L in men, >25 IU/L in women. n = 18,135 (serum vitamin D 17,744; urinary sodium 13,627).

Urinary sodium is estimated from a spot urine sample with an equation that includes weight and height.

Figure 9

Adjusted odds ratios (95% CI) for NAFLD (A) and elevated ALT, an outcome that does not depend on BMI (B), for fat share of energy, fast-food index, soda frequency, physical inactivity, serum 25-hydroxyvitamin D and estimated 24-h urinary sodium. Teal diamonds: Each exposure modelled separately; Gold squares: Fat, fast food, soda and inactivity entered together. Odds ratios are per SD except physical inactivity (vs active).

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 6

Robustness of adjusted odds ratios (95% CI) for fast-food, soda, fat share of energy and physical inactivity: crude and fully adjusted, weighted and unweighted.

ExposureNAFLD: crude, unweightedNAFLD: crude, weightedNAFLD: fully adjusted, unweightedNAFLD: fully adjusted, weightedElevated ALT: fully adjusted, unweightedElevated ALT: fully adjusted, weighted
Fast-food index (per SD)1.00 (0.96–1.03)1.05 (1.01–1.10)1.05 (1.00–1.10)1.09 (1.03–1.15)1.01 (0.96–1.07)1.07 (1.00–1.14)
Soda frequency (per SD)1.10 (1.06–1.14)1.13 (1.09–1.18)1.11 (1.06–1.15)1.11 (1.06–1.17)1.10 (1.05–1.15)1.09 (1.04–1.15)
Fat, % of energy (per SD)0.95 (0.91–0.98)0.97 (0.93–1.02)0.97 (0.93–1.01)0.98 (0.93–1.03)0.93 (0.88–0.98)0.94 (0.89–1.00)
Physical inactivity (vs active)1.04 (0.97–1.12)1.06 (0.97–1.15)1.06 (0.99–1.15)1.09 (1.00–1.18)1.17 (1.07–1.28)1.20 (1.08–1.33)

Fully adjusted: age, sex, smoking, education, income, survey year and physical activity (except for the inactivity exposure). Crude: no adjustment. Weighted: survey weight wt_tot with PSU-clustered standard errors; unweighted: PSU-clustered standard errors only.

In unadjusted comparisons (Table 7), participants with NAFLD had slightly higher intakes of fibre, sodium and potassium (Mann–Whitney p < 0.001, < 0.001 and 0.014; rank-biserial r = 0.03 to 0.04) and a lower fat share of energy (median 14.9% vs. 15.3%; p = 0.004, r = −0.03). They reported more frequent soda consumption (p < 0.001, r = 0.05) and had higher estimated urinary sodium excretion (median 149.8 vs. 139.9 mEq/day; p < 0.001, r = 0.16).

The fast-food index (p = 0.80), hamburger and fried-food frequency, serum vitamin D (p = 0.22), energy intake (p = 0.18) and the proportion in the highest fast-food tertile (33.0% vs. 33.4%, chi-square p = 0.60) did not differ between groups, and physical inactivity was similar (48.6% vs. 47.5%, chi-square p = 0.25). Spearman correlations with the HSI were weak. Urinary sodium had the largest correlation (ρ = 0.18; 0.16 after adjustment for age and sex), fibre and potassium had correlations of 0.07 and 0.05 (0.06 and 0.06 adjusted), and soda consumption had a correlation of −0.01 (0.02 adjusted).

Hamburger and pizza frequency correlated negatively with the HSI (ρ = −0.07 and −0.08; −0.03 adjusted). Correlations with ALT were larger for energy, fibre, potassium and sodium (ρ = 0.12 to 0.14) but decreased to 0.04 to 0.07 after adjustment for age and sex, consistent with confounding by sex, and the fast-food items correlated negatively with ALT (ρ = −0.10 crude and −0.04 adjusted). After FDR correction and adjustment for age and sex, correlations with the HSI remained significant for fibre, sodium, potassium, urinary sodium and the frequencies of hamburger, pizza, fried food and soda (all |ρ| ≤ 0.07 except for urinary sodium), and were not significant for energy, total fat, fat share of energy, the fast-food index, serum vitamin D or physical inactivity.

Table 7

Unadjusted comparisons (Mann–Whitney U or chi-square) between participants with and without NAFLD, and Spearman correlations (ρ) with the hepatic steatosis index (HSI) and ALT, crude and adjusted for age and sex (n = 18,135).

VariableNAFLD median (IQR) or %Non-NAFLD median (IQR) or %Test; effect sizep (FDR)ρ with HSIρ with HSI, age/sex-adj.ρ with ALTρ with ALT, age/sex-adj.
Dietary fibre (g/day)6.5 (4.4–9.5)6.3 (4.3–9.2)Mann–Whitney U; r = +0.03<0.001+0.07*+0.06*+0.13*+0.07*
Sodium (mg/day)4217.6 (2743.2–6339.3)4048.5 (2695.0–5996.2)Mann–Whitney U; r = +0.04<0.001+0.03*+0.05*+0.12*+0.04*
Potassium (mg/day)2775.2 (1980.4–3787.0)2715.1 (1944.8–3698.2)Mann–Whitney U; r = +0.030.014+0.05*+0.06*+0.13*+0.07*
Energy (kcal/day)1740.7 (1356.3–2278.5)1748.8 (1356.8–2225.8)Mann–Whitney U; r = +0.010.178 (ns after FDR)+0.00+0.02+0.14*+0.05*
Total fat (g/day)27.6 (15.9–46.9)28.7 (16.7–46.5)Mann–Whitney U; r = −0.020.096 (ns after FDR)−0.04*−0.00+0.02*+0.00
Fat, % of energy14.9 (9.6–21.0)15.3 (10.0–21.5)Mann–Whitney U; r = −0.030.004−0.05*−0.01−0.07*−0.03*
Fast-food index (sum of hamburger + pizza + fried-food categories)2.0 (0.0–5.0)2.0 (0.0–5.0)Mann–Whitney U; r = −0.000.804 (ns after FDR)−0.06*−0.00−0.10*−0.04*
Hamburger frequency (category)0.0 (0.0–1.0)0.0 (0.0–1.0)Mann–Whitney U; r = −0.000.691 (ns after FDR)−0.07*−0.03*−0.10*−0.05*
Pizza frequency (category)0.0 (0.0–2.0)0.0 (0.0–2.0)Mann–Whitney U; r = −0.020.033 (ns after FDR)−0.08*−0.03*−0.13*−0.05*
Fried-food frequency (category)2.0 (0.0–3.0)2.0 (0.0–3.0)Mann–Whitney U; r = +0.010.374 (ns after FDR)−0.03*+0.02*−0.06*−0.02*
Soda frequency (category)1.0 (0.0–3.0)1.0 (0.0–3.0)Mann–Whitney U; r = +0.05<0.001−0.01+0.02*+0.00+0.00
Serum 25-hydroxyvitamin D (ng/mL)17.1 (13.4–21.7)17.3 (13.3–22.2)Mann–Whitney U; r = −0.010.223 (ns after FDR)+0.02*−0.00+0.13*+0.04*
Estimated 24-h urinary sodium (mEq/day)149.8 (126.0–177.4)139.9 (117.5–164.1)Mann–Whitney U; r = +0.16<0.001+0.18*+0.16*+0.10*+0.07*
Physical inactivity (%)48.6%47.5%Chi-square; V = 0.0090.249 (ns after FDR)+0.00+0.00−0.02*−0.00
Highest fast-food tertile (%)33.0%33.4%Chi-square; V = 0.0040.602 (ns after FDR)————

Mann–Whitney effect size: rank-biserial correlation (r); chi-square effect size: Cramér’s V. p-values are unadjusted; “ns after FDR” means Benjamini–Hochberg q ≥ 0.05. *Benjamini–Hochberg q < 0.05 for the correlation. Fast-food index here is the sum of the raw hamburger, pizza and fried-food frequency categories. Tests are unweighted.

The associations were examined for robustness to survey weighting and covariate adjustment (Table 6). The association of soda consumption with NAFLD was stable across crude and fully adjusted, weighted and unweighted models (aOR 1.10 to 1.13 per SD), as were the association of physical inactivity with elevated ALT (1.17 unweighted and 1.20 weighted) and the inverse association of fat share of energy with elevated ALT (0.93 and 0.94). In contrast, the association of fast-food consumption with NAFLD was absent in the crude unweighted model (1.00, 0.96–1.03) and reached only 1.05 (1.00–1.10) after full adjustment without weights, and its association with elevated ALT was null in unweighted analysis (1.01, 0.96–1.07).

Physical inactivity was not clearly associated with NAFLD without weights (1.06, 0.99–1.15). Fast-food consumption declined steeply with age (mean standardised index +1.17 at ages 20 to 29 years and −0.66 at 60 years and above), which explains why the unadjusted correlations with the HSI and ALT were negative. The associations of fast-food consumption and physical inactivity with NAFLD were therefore weak and sensitive to weighting and adjustment.

3.8

Sensitivity and subgroup analyses

Sensitivity analyses comprised the leakage-controlled feature sets (Table 4), survey-weighted AUROC (differing from unweighted AUROC by at most 0.020), models with and without BMI adjustment (Table 2), the temporal and same-survey validations of the NLRS (Section 3.3), an outcome that does not depend on BMI, elevated ALT (Section 3.7), and restriction to participants with plausible energy reporting (below). A sensitivity analysis using the Fatty Liver Index was not possible because GGT was measured only in the 2010–2011 waves.

Covariates contained no stray missing-value codes, and winsorising or log-transforming intakes left the odds ratios unchanged. Reported energy intake was implausibly low relative to estimated basal metabolic rate (ratio below 0.9) in 11.4% of participants, more often in those with NAFLD (15.8% vs. 10.3%), and implausibly high (ratio above 2.5) in 4.3%. Among plausible reporters (n = 15,588; 84.2%), energy intake was associated with NAFLD (aOR 1.18 per 500 kcal, 95% CI 1.13–1.24, compared with 1.01, 0.97–1.04, in all participants).

The associations of fibre and potassium were weaker in this group (1.05, 1.00–1.09 and 1.02, 1.00–1.04), that of sodium was unchanged (1.03, 1.01–1.05), and total fat, carbohydrate, vitamin C and water remained unrelated to NAFLD (Table 8). The association of soda consumption was also unchanged (1.12 per SD, 1.06–1.18). In this group, diet with age and lifestyle reached an AUROC of 0.607, compared with 0.595 for age and lifestyle alone.

Table 8

Model 3 adjusted odds ratios (95% CI) for NAFLD per increment of nutrient intake in all participants and among plausible energy reporters.

NutrientIncrementAll participants (n = 18,506)Plausible energy reporters (n = 15,588)
Dietary fibreper 5 g/day1.06 (1.02–1.10)1.05 (1.00–1.09)
Sodiumper 1,000 mg/day1.03 (1.01–1.04)1.03 (1.01–1.05)
Potassiumper 500 mg/day1.03 (1.01–1.05)1.02 (1.00–1.04)
Vitamin Cper 50 mg/day1.01 (0.98–1.03)1.00 (0.98–1.03)
Calciumper 100 mg/day1.01 (1.00–1.03)1.01 (1.00–1.03)
Total fatper 10 g/day1.00 (0.98–1.03)1.00 (0.97–1.02)
Carbohydrateper 50 g/day1.01 (0.97–1.04)1.02 (0.98–1.06)
Proteinper 10 g/day1.02 (1.00–1.04)1.02 (1.00–1.05)
Waterper 250 mL/day1.02 (0.99–1.05)1.01 (0.98–1.04)
Energyper 500 kcal/day1.01 (0.97–1.04)1.18 (1.13–1.24)

Model 3: age, sex, smoking, physical activity, education, income, survey year and total energy intake (not for energy itself). Plausible reporters: reported energy intake between 0.9 and 2.5 times estimated basal metabolic rate (Mifflin–St Jeor). Survey-weighted, PSU-clustered.

3.9

Continuous liver enzymes, effect modification, unmeasured confounding, and measurement error

Differences in continuous ALT and AST associated with the behaviours and nutrients examined were small (Table 9). Per SD, a higher fat share of energy was associated with 1.3% lower ALT (95% CI − 2.3 to −0.3) and 1.4% lower AST (−1.9 to −0.8). Physical inactivity was associated with 2.4% higher ALT (0.5 to 4.4) but not with AST (−0.6%, −1.8 to 0.5), whereas soda consumption and the fast-food index were not associated with ALT (+0.4% and −0.4%) and showed small or null differences in AST (−0.4% and −0.8%).

Fibre, sodium and potassium were associated with 2.0 to 2.9% higher ALT and 0.5 to 0.9% higher AST, and serum vitamin D with 1.6% higher AST. Adjustment for BMI changed these estimates by less than 1 percentage point.

Table 9

Percentage difference (95% CI) in geometric mean ALT and AST per SD of exposure (physical inactivity: vs active), without and with adjustment for BMI (survey-weighted linear regression of ln-transformed enzymes, PSU-clustered).

ExposureALT, without BMI adjustmentALT, with BMI adjustmentAST, without BMI adjustmentAST, with BMI adjustment
Fat, % of energy (per SD)−1.3% (−2.3 to −0.3)−1.2% (−2.1 to −0.3)−1.4% (−1.9 to −0.8)−1.3% (−1.9 to −0.7)
Fast-food index (per SD)−0.4% (−1.6 to +0.8)−0.6% (−1.7 to +0.5)−0.8% (−1.5 to −0.0)−0.8% (−1.5 to −0.1)
Soda frequency (per SD)+0.4% (−0.6 to +1.4)−0.4% (−1.3 to +0.5)−0.4% (−1.0 to +0.2)−0.6% (−1.2 to −0.0)
Physical inactivity (vs active)+2.4% (+0.5 to +4.4)+2.9% (+1.1 to +4.8)−0.6% (−1.8 to +0.5)−0.5% (−1.6 to +0.7)
Dietary fibre (per SD)+2.2% (+1.1 to +3.4)+1.6% (+0.6 to +2.6)+0.9% (+0.2 to +1.6)+0.7% (−0.0 to +1.4)
Sodium (per SD)+2.0% (+0.9 to +3.1)+1.2% (+0.2 to +2.3)+0.7% (+0.0 to +1.4)+0.5% (−0.2 to +1.2)
Potassium (per SD)+2.9% (+1.6 to +4.2)+2.2% (+1.0 to +3.4)+0.5% (−0.3 to +1.3)+0.3% (−0.6 to +1.1)
Serum 25-hydroxyvitamin D (per SD)+0.8% (−0.2 to +1.8)+1.0% (+0.1 to +1.9)+1.6% (+0.9 to +2.2)+1.6% (+1.0 to +2.2)

All models adjusted for age, sex, smoking, education, income, survey year and physical activity (except for the inactivity exposure); fibre, sodium and potassium models also adjusted for total energy intake.

Sex modified the association of physical inactivity with both outcomes (Table 10). In men, inactivity was associated with higher odds of NAFLD (aOR 1.32, 1.16–1.51) and elevated ALT (1.35, 1.17–1.56), whereas in women there was no such association (0.90, 0.80–1.00 and 1.04, 0.90–1.20; p for interaction < 0.001 and 0.006). The associations of soda consumption, the fast-food index and fat share of energy did not differ by sex (all p for interaction ≥ 0.20). The association of soda consumption with NAFLD was stronger below 50 years (1.16, 1.09–1.24) than at 50 years or older (1.06, 0.99–1.14; p for interaction = 0.076), and none of the other age interactions was significant (all p ≥ 0.11).

Table 10

Effect modification by sex and age: adjusted odds ratios (95% CI) for NAFLD and elevated ALT (survey-weighted, PSU-clustered).

ExposureOutcomeMenWomenp (sex)Age <50 yAge ≥50 yp (age)
Soda frequency (per SD)NAFLD1.09 (1.02–1.17)1.10 (1.03–1.18)0.8921.16 (1.09–1.24)1.06 (0.99–1.14)0.076
Soda frequency (per SD)Elevated ALT1.08 (1.01–1.16)1.06 (0.98–1.15)0.6921.12 (1.05–1.20)1.07 (0.98–1.17)0.448
Fast-food index (per SD)NAFLD1.11 (1.02–1.20)1.06 (0.99–1.13)0.3831.13 (1.05–1.21)1.14 (1.03–1.27)0.851
Fast-food index (per SD)Elevated ALT1.09 (1.00–1.18)1.00 (0.92–1.09)0.2001.10 (1.02–1.19)1.11 (1.00–1.24)0.871
Fat, % of energy (per SD)NAFLD0.99 (0.91–1.07)0.99 (0.92–1.06)0.9460.97 (0.91–1.04)1.04 (0.96–1.12)0.246
Fat, % of energy (per SD)Elevated ALT0.93 (0.85–1.01)0.97 (0.89–1.05)0.4850.95 (0.88–1.03)0.95 (0.87–1.03)0.979
Physical inactivity (vs active)NAFLD1.32 (1.16–1.51)0.90 (0.80–1.00)<0.0011.12 (0.99–1.27)1.01 (0.90–1.15)0.267
Physical inactivity (vs active)Elevated ALT1.35 (1.17–1.56)1.04 (0.90–1.20)0.0061.28 (1.10–1.48)1.08 (0.94–1.25)0.110

Stratified models adjusted for the remaining covariates; p-values are from fully interacted models. Exposures are per SD except physical inactivity (vs active). No correction was made for multiple testing.

The E-values indicate that modest unmeasured confounding could explain the observed associations (Table 11). For the association of soda consumption with NAFLD (aOR 1.11), an unmeasured confounder would need to be associated with both soda consumption and NAFLD by a risk ratio of at least 1.29 each, over and above the measured covariates, to explain it away, and by 1.20 to move the lower confidence limit to the null. The corresponding values were 1.42 and 1.24 for physical inactivity and elevated ALT.

The confidence interval for physical inactivity and NAFLD included 1, and the E-value for the confidence limit of the unweighted fast-food association was 1.00.

Table 11

E-values for selected associations.

AssociationOdds ratio (95% CI)E-value (point estimate)E-value (confidence limit)
Soda frequency, NAFLD1.11 (1.06–1.17)1.291.20
Soda frequency, elevated ALT1.09 (1.04–1.15)1.261.16
Physical inactivity, NAFLD1.09 (1.00–1.18)1.251.00
Physical inactivity, elevated ALT1.20 (1.08–1.33)1.421.24
Fast-food index, NAFLD (weighted)1.09 (1.03–1.15)1.261.14
Fast-food index, NAFLD (unweighted)1.05 (1.00–1.10)1.181.00
Serum vitamin D, NAFLD0.92 (0.88–0.97)1.251.14

E-value: minimum strength of association, on the risk-ratio scale, that an unmeasured confounder would need with both the exposure and the outcome to explain away the observed association (point estimate) or to move the confidence limit closest to the null to 1. Odds ratios were converted to approximate risk ratios by the square root because outcome prevalences exceeded 10%.

Under the assumption of classical measurement error, correcting for reliabilities of 0.7, 0.5 and 0.3 strengthened the positive associations of fibre (1.06 to 1.09, 1.13 and 1.22), sodium (1.09 to 1.13, 1.18 and 1.32), potassium (1.08 to 1.11, 1.16 and 1.28) and soda consumption (1.11 to 1.16, 1.24 and 1.42), and did not change the null association of fat share of energy (0.98 to 0.97, 0.96 and 0.93; Table 12). In no scenario did the correction produce a protective association of fibre.

Table 12

Odds ratios (95% CI) for NAFLD corrected for classical measurement error under assumed reliabilities.

ExposureObservedReliability 0.7Reliability 0.5Reliability 0.3
Dietary fibre (24-h recall, per SD)1.06 (1.02–1.11)1.09 (1.02–1.16)1.13 (1.03–1.23)1.22 (1.06–1.41)
Sodium (24-h recall, per SD)1.09 (1.04–1.14)1.13 (1.05–1.21)1.18 (1.08–1.30)1.32 (1.13–1.55)
Potassium (24-h recall, per SD)1.08 (1.02–1.14)1.11 (1.02–1.21)1.16 (1.03–1.30)1.28 (1.05–1.55)
Fat, % of energy (24-h recall, per SD)0.98 (0.93–1.03)0.97 (0.90–1.04)0.96 (0.86–1.06)0.93 (0.78–1.11)
Fast-food index (frequency, per SD)1.09 (1.03–1.15)1.13 (1.04–1.22)1.19 (1.06–1.32)1.33 (1.11–1.59)
Soda frequency (per SD)1.11 (1.06–1.17)1.16 (1.09–1.25)1.24 (1.12–1.36)1.42 (1.22–1.67)

Corrected odds ratio = observed odds ratio raised to the power 1/reliability, applied to the point estimate and confidence limits. Reliabilities are illustrative assumptions and cannot be estimated from a single recall. Fibre, sodium and potassium estimates are per SD and adjusted for total energy intake.

Table 1

Baseline characteristics by NAFLD status (HSI > 36), KNHANES 2008–2011 (n = 18,506).

VariableOverall (n = 18,506)NAFLD (n = 3,877)Non-NAFLD (n = 14,629)Survey-weighted overall, mean or %p-value (unweighted)
Age (years)50.3 ± 16.250.5 ± 14.850.2 ± 16.645.00.186
Female sex, %63.0%59.8%63.8%54%<0.001
Current smoker, %16.8%19.6%16.1%23%<0.001
Physically active, %52.2%51.4%52.4%53%0.249
BMI (kg/m2)23.6 ± 3.327.7 ± 2.922.5 ± 2.523.6<0.001
Waist circumference (cm)80.9 ± 9.991.3 ± 8.178.2 ± 8.580.7<0.001
ALT (IU/L)16.0 (12.0–23.0)27.0 (20.0–40.0)15.0 (12.0–20.0)21.4<0.001
AST (IU/L)20.0 (16.0–24.0)22.0 (18.0–28.0)19.0 (16.0–23.0)21.3<0.001
Diabetes (diagnosed), %7.9%17.8%5.2%6%<0.001
Fasting glucose (mg/dL)97.7 ± 23.0107.7 ± 31.795.1 ± 19.296.4<0.001
Total cholesterol (mg/dL)188.7 ± 36.2197.9 ± 38.2186.3 ± 35.3187.2<0.001
HDL-C (mg/dL)52.2 ± 12.647.4 ± 10.753.4 ± 12.752.3<0.001
Triglycerides (mg/dL)104.0 (70.0–155.0)142.0 (101.0–207.0)95.0 (66.0–141.0)127.6<0.001
SBP (mmHg)119.0 ± 17.8124.1 ± 16.5117.7 ± 17.8117.2<0.001
Energy (kcal/day)1858.6 ± 728.51886.2 ± 764.41851.3 ± 718.51,9590.122
Carbohydrate (g/day)312.5 ± 116.2317.9 ± 120.3311.1 ± 115.0318.00.004
Protein (g/day)66.0 ± 34.167.4 ± 36.165.7 ± 33.670.90.071
Total fat (g/day)35.4 ± 27.235.5 ± 28.235.3 ± 26.940.30.193
Dietary fibre (g/day)6.3 (4.3–9.2)6.5 (4.4–9.5)6.3 (4.3–9.1)7.5<0.001
Sodium (mg/day)4069.0 (2692.3–6045.4)4202.1 (2729.1–6322.6)4034.7 (2682.2–5984.1)4,998<0.001
Potassium (mg/day)2715.8 (1937.3–3700.2)2764.0 (1968.8–3777.9)2697.4 (1929.1–3687.1)3,0630.009
Calcium (mg/day)416.8 (273.0–619.5)422.4 (272.5–624.6)415.7 (273.3–618.0)508.60.660
Vitamin C (mg/day)82.2 (48.2–136.4)83.2 (48.6–140.5)81.8 (48.1–135.7)108.40.293
Water (mL/day)779.2 (504.7–1162.0)786.7 (502.1–1160.2)777.5 (505.5–1162.5)965.10.868

Values are mean ± SD or median (interquartile range) for continuous variables and % for categorical variables. The survey-weighted column uses the KNHANES combined sample weights and reports the weighted mean (continuous variables) or weighted percentage (categorical variables). p-values compare participants with and without NAFLD (Mann–Whitney U test or chi-square test) and are unweighted. NAFLD, non-alcoholic fatty liver disease; HSI, hepatic steatosis index.

Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results

Conclusion

In Korean adults surveyed in KNHANES 2008–2011, dietary intake from a single 24-h recall showed small adjusted associations with NAFLD defined by the HSI and contributed little to prediction beyond age and lifestyle (AUROC 0.595 vs. 0.597 in the full sample; 0.607 vs. 0.595 among participants with plausible energy reporting). Machine learning models that included the components of the HSI achieved near-perfect accuracy by reconstructing the outcome definition, which should not be interpreted as evidence for dietary determinants. The Nutritional Liver Risk Score was not supported in temporal validation.

Among the behaviours examined, soda consumption showed a consistent small positive association with NAFLD and physical inactivity with elevated ALT in men, fast-food consumption a weak and inconsistent association, and fat as a percentage of energy none. These findings are cross-sectional and are limited by a surrogate outcome and a restricted nutrient set; they do not establish causation or support NAFLD-specific dietary recommendations. These results support leakage-controlled reporting of NAFLD prediction models and identify soda consumption and physical inactivity as behaviours necessitating longitudinal study.

Source: Conclusion
Authors’ abstract

Background and aims

Non-alcoholic fatty liver disease (NAFLD) affects roughly a quarter of adults worldwide, and diet is considered a modifiable determinant. Models that include the variables defining NAFLD may overstate the contribution of diet, an effect that has not been quantified. We examined associations of diet, fast-food and soda consumption, and physical inactivity with NAFLD in Korean adults, compared machine learning classifiers under leakage-controlled conditions, and evaluated a Nutritional Liver Risk Score (NLRS).

Methods

We analysed pooled 2008–2011 data from the Korea National Health and Nutrition Examination Survey (KNHANES). After removing 12,604 duplicated records and applying exclusions, 18,506 adults remained. NAFLD was defined as a hepatic steatosis index (HSI) above 36; alanine aminotransferase (ALT) served as a second, BMI-independent outcome. Diet was assessed by one 24-h recall. Analyses comprised non-parametric tests, correlations, survey-weighted regression, effect modification, E-values, measurement-error scenarios, and eight tuned classifiers evaluated by nested 10-fold cross-validation grouped by primary sampling unit across feature sets progressively excluding the HSI components.

The NLRS was validated temporally.

Results

NAFLD prevalence was 20.9%. Models including the HSI components reached an area under the receiver operating characteristic curve (AUROC) of 0.998, reflecting circularity; excluding them gave 0.897, and 0.747 without waist circumference and glucose. Diet with age and lifestyle gave an AUROC of 0.595 versus 0.597 for age and lifestyle alone. Fibre, sodium and potassium showed small positive associations (adjusted odds ratio [aOR] 1.03–1.06); fat and carbohydrate showed none. Soda consumption was consistently associated with NAFLD (aOR 1.11 per SD) and physical inactivity with elevated ALT (aOR 1.20, E-value 1.4), confined to men; fast food showed a weak association.

Continuous ALT differed by 3% or less. The NLRS did not discriminate NAFLD in temporal validation (AUROC 0.512).

Conclusion

Diet showed small associations with HSI-defined NAFLD and added little to prediction beyond age and lifestyle; near-perfect accuracy of models containing the HSI components is circular. Soda consumption and physical inactivity were the most consistent associations, but the cross-sectional design cannot establish causation. The feature-set framework and open code offer a template for leakage-controlled evaluation.

Read the full paper
1

Introduction

Non-alcoholic fatty liver disease (NAFLD) encompasses a histopathological spectrum from simple steatosis through non-alcoholic steatohepatitis (NASH) to cirrhosis and hepatocellular carcinoma (1, 2). As the leading cause of chronic liver disease globally, NAFLD afflicts an estimated 1.9 billion individuals, imposes disproportionate morbidity and healthcare expenditure, and is increasingly recognized as a multisystem disease extending beyond the liver (3, 4).

In the Republic of Korea, NAFLD prevalence has escalated dramatically over the past two decades, mirroring parallel surges in obesity, type 2 diabetes, and dyslipidaemia attributable to rapid economic development and dietary Westernisation (5, 6). National survey data indicate NAFLD now affects 22–33% of Korean adults, with higher rates in men and in those with central adiposity (7, 8).

Nutritional factors occupy a central position in NAFLD pathogenesis. Excess dietary fructose drives de novo hepatic lipogenesis; saturated fatty acids promote mitochondrial dysfunction and lipotoxicity; dietary fibre modulates the gut microbiome–liver axis; and omega-3 polyunsaturated fatty acids exert potent anti-inflammatory and anti-lipogenic effects (9–11). Despite these mechanistic insights, population-level evidence characterising the nutritional signatures of NAFLD in East Asian cohorts—where dietary composition differs substantially from Western populations—remains incomplete (12).

The Korea National Health and Nutrition Examination Survey (KNHANES) provides a uniquely comprehensive resource: nationally representative, multi-wave data integrating detailed 24-h dietary recall, validated anthropometric measurements and broad biochemical panels (13, 14). Liver imaging was not available in the analysed file. Pooling four consecutive waves (2008–2011) affords sufficient statistical power to examine nutritional determinants across sociodemographic strata and to train high-performance predictive models.

Machine learning (ML) approaches offer advantages over conventional logistic regression for NAFLD risk prediction: they accommodate non-linear interactions among dietary variables, capture complex multivariate patterns, and—when combined with explainability frameworks such as SHAP (SHapley Additive exPlanations)—provide transparent, actionable insights (15). Machine learning has been applied to nutrition-related and metabolic outcomes, including metabolic syndrome in postmenopausal women (17) and cardiovascular risk in rural populations (18), and its role in personalised nutrition has been reviewed (19).

However, when NAFLD is defined from variables that are also supplied to the model, apparent predictive performance can reflect the definition rather than the exposure of interest, and simple models can perform as well as complex ones (16).

The present study therefore aimed to: (1) characterise the cross-sectional nutritional profile of NAFLD among Korean adults in KNHANES 2008–2011, including fat intake, fast-food and sugary-drink consumption and physical inactivity; (2) develop a parsimonious dietary Nutritional Liver Risk Score (NLRS) and test it by temporal validation; (3) train and benchmark eight ML classifiers using nutritional, anthropometric, and biochemical features, with and without the variables that define NAFLD; and (4) use SHAP-based explainability analyses to describe how a leakage-controlled model uses dietary and non-dietary features.

We also examined continuous liver enzymes, effect modification, unmeasured confounding and exposure measurement error, to establish how far the associations can be interpreted causally. By separating the contribution of diet from that of the variables that define the outcome, this analysis provides a framework for leakage-controlled evaluation of NAFLD prediction models and identifies which behavioural factors show consistent associations.

2

Materials and methods

2.1

Study design and data source

This study utilised a cross-sectional design, analysing pooled data from four consecutive waves of the Korea National Health and Nutrition Examination Survey (KNHANES IV–V: 2008, 2009, 2010, and 2011). KNHANES is a nationally representative, stratified, multi-stage, probability cluster sampling survey conducted annually by the Korea Disease Control and Prevention Agency (KDCA) to monitor the health and nutritional status of the Korean non-institutionalised civilian population (13).

The survey employs a complex sampling design incorporating stratification by geographic region, urbanicity, and household composition, with probability proportional to population size (PPS) selection at each sampling stage. Prevalence estimates used the KNHANES combined interview–examination–nutrition weight (wt_tot) with Taylor-linearised variance over strata and primary sampling units (PSU). Logistic regression models were weighted by wt_tot with standard errors clustered on PSU, which approximates but does not fully reproduce design-based variance because strata were not used. Machine learning models were trained without survey weights (Section 2.8).

Data are freely accessible at: https://knhanes.kdca.go.kr.

The analysis file was a merged KNHANES 2008–2011 file with 630 variables. It contained 39,306 data lines, of which 18 lines (14 participant IDs) were malformed and could not be read reliably. The 39,288 readable rows contained only 26,684 unique participant IDs, because every 2010 and 2011 record appeared twice (12,604 duplicated records). All analyses used one record per participant.

2.2

Ethical approval

The KNHANES protocol was approved by the KDCA Institutional Review Board (approval details are given in the KNHANES technical documentation (13)). Written informed consent was obtained from all participants by KDCA. As the present analysis used publicly available, de-identified secondary data, no additional ethics review was required.

2.3

Study population and participant flow

Exclusion criteria were applied sequentially to unique participants (Figure 1). Of 26,684 unique participants, none was younger than 19 years (the minimum age in the file was 20). We excluded participants with missing inputs to the HSI (ALT, AST, BMI or diabetes status; n = 2,979), missing dietary recall (n = 2,698), a positive hepatitis B surface antigen test (n = 749), the heavy-alcohol flag in the KNHANES file (HE_ALC = 1; n = 1,015), pregnancy (n = 63), implausible energy intake (<500 or >5,000 kcal/day; n = 239), and missing covariate or survey-design variables (smoking, physical activity, education, income, survey weight, waist circumference, glucose, lipids, blood pressure; n = 435).

The final analytic sample comprised 18,506 adults. Exclusions for cirrhosis, hepatocellular carcinoma and hepatitis C could not be applied because these variables were not in the file.

Figure 1

Participant flow diagram—KNHANES 2008–2011. Sequential inclusion/exclusion cascade from 39,288 readable rows to 26,684 unique participants and an analytic sample of 18,506. The duplicate-removal step is shown explicitly. The machine learning pipeline is summarised in Supplementary Figure S1.

Figure image at the original source — open the original paper. This file is not included in this text import.
2.4

NAFLD ascertainment

NAFLD was ascertained using the Hepatic Steatosis Index (HSI), a validated non-invasive surrogate widely applied in population studies in the absence of universal ultrasound data (7). HSI = 8 × (ALT/AST ratio) + BMI + 2 (if T2DM) + 2 (if female). An HSI > 36 defined NAFLD, consistent with prior KNHANES-based studies (20). In the supplied file the HSI value reproduced from ALT, AST, BMI, sex and diagnosed diabetes in 99.3% of participants. Because HSI is a deterministic function of these five variables, any model given them as inputs can reconstruct the outcome (Section 2.8).

A sensitivity analysis using the Fatty Liver Index was not performed because gamma-glutamyl transferase was measured only in the 2010–2011 waves.

2.5

Dietary assessment

Dietary intake was assessed by a single 24-h dietary recall administered by a trained dietitian using the multiple-pass method. Energy and nutrient intakes were estimated from the Korean Food Composition Database (KFCD). The analysed file contained 19 nutrient variables: energy, water, protein, total fat, carbohydrate, dietary fibre, ash, calcium, phosphorus, iron, sodium, potassium, vitamin A, carotene, retinol, thiamin, riboflavin, niacin and vitamin C. Saturated, monounsaturated and polyunsaturated fat, n-3 and n-6 fatty acids, added sugar and fructose, refined carbohydrate, red and processed meat, folate, and dietary vitamins D and E were not available, so these nutrients, and dietary patterns derived from them, could not be analysed.

Additional nutrition- and behaviour-related variables. The file also contained frequency categories for 12 food and beverage items (milk, yoghurt, ice cream, soda, coffee, tea, beer, soju, red wine, hamburger, pizza and fried food), serum 25-hydroxyvitamin D, and estimated 24-h urinary sodium excretion calculated from a spot urine sample with Tanaka’s equation as supplied in the file. Frequency category codes were treated as ordinal scores, and codes of 90 or above were treated as missing. Fat intake was expressed as a percentage of energy (grams of fat × 9 / energy × 100).

A fast-food index was formed as the standardised sum of the standardised frequency categories for hamburger, pizza and fried food. Physical inactivity was defined as reporting none of vigorous activity, moderate activity or walking, as recorded in the file; because sitting time was not available, inactivity was used as the indicator of a sedentary lifestyle. Elevated ALT (above 33 IU/L in men or 25 IU/L in women) was analysed as an outcome that does not depend on BMI.

2.6

Anthropometric and biochemical variables

Anthropometric measurements (weight, height, waist circumference) were obtained by trained examiners using standardised protocols. BMI was calculated as weight (kg)/height2 (m2). Blood specimens were collected after a minimum 8-h fast; serum glucose, total cholesterol, HDL-C, triglycerides, ALT and AST were assayed by certified laboratories. Fasting insulin and hsCRP were not available in the analysed file, and GGT (2010–2011 only) was not used. Covariates were age, sex, current smoking, physical activity (any vigorous, moderate or walking activity), education (four levels), household income (quartiles) and survey year.

2.7

Nutritional Liver Risk Score (NLRS) derivation

The NLRS was derived from the 18 non-energy nutrients (log-transformed nutrient density per 1,000 kcal) in the 2008–2009 waves (n = 9,562) and validated temporally in the 2010–2011 waves (n = 8,944); a same-survey random 70/30 split by PSU is reported for comparison. LASSO (Least Absolute Shrinkage and Selection Operator) logistic regression with 10-fold PSU-grouped cross-validation was applied to identify the optimal regularisation parameter (λ) and select non-zero dietary predictors (26). Selected variables were entered into a multivariable logistic regression model adjusting for age, sex, smoking and physical activity.

Coefficients were scaled to integer weights (0–10 per nutrient); each participant’s score was the weighted sum of derivation-set percentile ranks (reversed for protective nutrients), rescaled to 0–100. Score performance was assessed by AUROC (PSU-cluster bootstrap CI), compared with a model of age, sex, smoking and activity alone, the Hosmer–Lemeshow test, and adjusted odds ratios across score quintiles with a test for trend.

2.8

Machine learning pipeline

Feature engineering and preprocessing were performed as follows. Derived variables were computed row by row, so that no information was shared between participants: the energy shares of protein, fat and carbohydrate, fibre, sodium and potassium densities per 1,000 kcal, the sodium-to-potassium ratio, the triglyceride-to-HDL ratio and mean arterial pressure. All other preprocessing was fitted on training data only within each fold: winsorisation of continuous variables at the 1st and 99th percentiles, log transformation of right-skewed variables (nutrient intakes, triglycerides, ALT, AST and the derived densities), standardisation, and one-hot encoding of education, income and survey year.

After the exclusions above, all model inputs were complete, so no imputation was needed. Because the prevalence of NAFLD was about 21%, models were trained at natural prevalence without oversampling, which preserves the calibration of predicted probabilities. Eight classifiers were trained: (1) logistic regression with L2 penalty; (2) random forest; (3) extreme gradient boosting (XGBoost); (4) light gradient boosting machine (LightGBM); (5) k-nearest neighbours; (6) Gaussian naïve Bayes; (7) multilayer perceptron; and (8) decision tree with cost-complexity pruning. CatBoost and support vector machine models were not evaluated.

The pipeline is summarised in Supplementary Figure S1.

Five feature sets were compared. Set A (full) contained the HSI components (BMI, ALT, AST, diabetes, sex), age, smoking, activity, education, income, survey year, waist circumference, glucose, triglycerides, HDL-C, total cholesterol, blood pressure, the 19 nutrients and the derived variables. Set B removed the five HSI components. Set C also removed waist circumference and glucose, which are close proxies for BMI and diabetes. Set D contained only the nutrients, derived dietary variables, age, smoking, activity, education, income and survey year.

Set E contained only the age and lifestyle variables of Set D and so shows what diet adds.

Performance was estimated with nested cross-validation. In the outer loop, participants were divided into 10 folds grouped by PSU, so that no cluster contributed to both training and test data; each fold served once as the test set, and the out-of-fold predictions were pooled. Within each outer training set, hyperparameters were selected by randomised search (grid search for logistic regression and naïve Bayes) using 3-fold cross-validation grouped by PSU, with the AUROC as the selection criterion, and the best configuration was refitted on the whole training set.

The tuned hyperparameters were the number of trees, learning rate, tree size, minimum leaf size, subsampling and regularisation for the gradient-boosting models; tree depth, leaf size and feature fraction for the random forest; hidden-layer architecture, L2 penalty and initial learning rate for the multilayer perceptron; the inverse regularisation strength for logistic regression; the number of neighbours and weighting for k-nearest neighbours; depth, leaf size and cost-complexity pruning for the decision tree; and variance smoothing for naïve Bayes. The primary performance metric was the AUROC of the pooled out-of-fold predictions, with 95% confidence intervals from a PSU-cluster bootstrap (200 resamples).

Secondary metrics were the Brier score (calibration), the survey-weighted AUROC, and sensitivity, specificity, F1 score and Matthews correlation coefficient at the Youden threshold.

2.9

SHAP explainability analysis

SHAP values were computed for a LightGBM model trained on the HSI-free feature set (Set B), using the most frequently selected hyperparameters, on the training data of the first outer fold and applied to that held-out fold (n = 1,848) using TreeExplainer. Global feature importance was ranked by mean |SHAP|. Dependence plots were generated for dietary fibre, sodium and potassium. SHAP values describe how the fitted model uses its inputs; they are not estimates of causal effect, and correlated inputs (for example energy, waist circumference and lipids) share attribution.

2.10

Statistical analysis

Continuous variables are expressed as mean ± SD or median (IQR) for skewed distributions. Categorical variables are expressed as proportions (%). Between-group comparisons in Table 1 used Mann–Whitney U tests for continuous variables and chi-square tests for categorical variables (unweighted). Multivariable logistic regression, weighted by wt_tot with PSU-clustered standard errors, was used for covariate-adjusted associations, modelling each nutrient separately; results are expressed as adjusted odds ratios (aOR) with 95% confidence intervals (CI). Model 1 adjusted for age, sex and survey year; Model 2 added smoking, physical activity, education and income; Model 3 added total energy intake.

Because BMI is part of the HSI, adjustment for BMI is over-adjustment and is shown only as a sensitivity analysis (Model 3 + BMI). A two-tailed p-value < 0.05 was considered statistically significant. All statistical analyses were conducted in Python 3.12 (scikit-learn 1.8, XGBoost 3.4, LightGBM 4.7, SHAP 0.52, statsmodels 0.15). Analysis code is available at: https://github.com/JoyetaG/NFLD.

Table 1

Baseline characteristics by NAFLD status (HSI > 36), KNHANES 2008–2011 (n = 18,506).

VariableOverall (n = 18,506)NAFLD (n = 3,877)Non-NAFLD (n = 14,629)Survey-weighted overall, mean or %p-value (unweighted)
Age (years)50.3 ± 16.250.5 ± 14.850.2 ± 16.645.00.186
Female sex, %63.0%59.8%63.8%54%<0.001
Current smoker, %16.8%19.6%16.1%23%<0.001
Physically active, %52.2%51.4%52.4%53%0.249
BMI (kg/m2)23.6 ± 3.327.7 ± 2.922.5 ± 2.523.6<0.001
Waist circumference (cm)80.9 ± 9.991.3 ± 8.178.2 ± 8.580.7<0.001
ALT (IU/L)16.0 (12.0–23.0)27.0 (20.0–40.0)15.0 (12.0–20.0)21.4<0.001
AST (IU/L)20.0 (16.0–24.0)22.0 (18.0–28.0)19.0 (16.0–23.0)21.3<0.001
Diabetes (diagnosed), %7.9%17.8%5.2%6%<0.001
Fasting glucose (mg/dL)97.7 ± 23.0107.7 ± 31.795.1 ± 19.296.4<0.001
Total cholesterol (mg/dL)188.7 ± 36.2197.9 ± 38.2186.3 ± 35.3187.2<0.001
HDL-C (mg/dL)52.2 ± 12.647.4 ± 10.753.4 ± 12.752.3<0.001
Triglycerides (mg/dL)104.0 (70.0–155.0)142.0 (101.0–207.0)95.0 (66.0–141.0)127.6<0.001
SBP (mmHg)119.0 ± 17.8124.1 ± 16.5117.7 ± 17.8117.2<0.001
Energy (kcal/day)1858.6 ± 728.51886.2 ± 764.41851.3 ± 718.51,9590.122
Carbohydrate (g/day)312.5 ± 116.2317.9 ± 120.3311.1 ± 115.0318.00.004
Protein (g/day)66.0 ± 34.167.4 ± 36.165.7 ± 33.670.90.071
Total fat (g/day)35.4 ± 27.235.5 ± 28.235.3 ± 26.940.30.193
Dietary fibre (g/day)6.3 (4.3–9.2)6.5 (4.4–9.5)6.3 (4.3–9.1)7.5<0.001
Sodium (mg/day)4069.0 (2692.3–6045.4)4202.1 (2729.1–6322.6)4034.7 (2682.2–5984.1)4,998<0.001
Potassium (mg/day)2715.8 (1937.3–3700.2)2764.0 (1968.8–3777.9)2697.4 (1929.1–3687.1)3,0630.009
Calcium (mg/day)416.8 (273.0–619.5)422.4 (272.5–624.6)415.7 (273.3–618.0)508.60.660
Vitamin C (mg/day)82.2 (48.2–136.4)83.2 (48.6–140.5)81.8 (48.1–135.7)108.40.293
Water (mL/day)779.2 (504.7–1162.0)786.7 (502.1–1160.2)777.5 (505.5–1162.5)965.10.868

Values are mean ± SD or median (interquartile range) for continuous variables and % for categorical variables. The survey-weighted column uses the KNHANES combined sample weights and reports the weighted mean (continuous variables) or weighted percentage (categorical variables). p-values compare participants with and without NAFLD (Mann–Whitney U test or chi-square test) and are unweighted. NAFLD, non-alcoholic fatty liver disease; HSI, hepatic steatosis index.

To compare exposures on a common scale, fat share of energy, the fast-food index, soda frequency, serum vitamin D and urinary sodium were standardised (per SD) and physical inactivity was entered as a binary variable. Each exposure was first modelled separately, adjusted for age, sex, smoking, education, income and survey year, and for physical activity except when inactivity was the exposure. Fat, the fast-food index, soda and inactivity were then entered together. NAFLD (HSI > 36) and elevated ALT were both used as outcomes.

The joint association of the highest fast-food tertile and physical inactivity was assessed with four combined categories and an interaction term. Weighted logistic models with PSU-clustered standard errors were used as above. Unadjusted differences between participants with and without NAFLD were tested with the Mann–Whitney U test for continuous variables (rank-biserial correlation as effect size) and the chi-square test for categorical variables (Cramér’s V). Associations with continuous HSI and ALT were quantified with Spearman rank correlation coefficients (ρ), unadjusted and partial (adjusted for age and sex).

Benjamini–Hochberg false-discovery-rate (FDR) correction was applied within each family of tests. To check robustness, the main odds ratios were re-estimated without survey weights and with progressively adjusted covariate sets. No correction for multiple comparisons was applied to the regression models. The added predictive value of fat and fast-food consumption was assessed as the change in out-of-fold AUROC of a logistic model under 10-fold PSU-grouped cross-validation.

Data quality was examined beyond the exclusions above. Coding of the covariates was checked for stray missing-value codes, intakes were winsorised at the 1st and 99th percentiles and log-transformed as sensitivity analyses, and the plausibility of reported energy intake was assessed as the ratio of reported energy to basal metabolic rate estimated with the Mifflin–St Jeor equation from weight, height, age and sex. Participants with a ratio of 0.9 to 2.5 were considered plausible reporters, and the main nutrient associations and the prediction comparison were repeated in this group.

2.11

Causal framework and additional sensitivity analyses

The assumed causal structure is shown in Figure 2. Diet and physical activity may affect hepatic fat directly and through adiposity, and age, sex, education, income and smoking confound these relationships. Because BMI lies on the pathway from diet and inactivity to hepatic fat and is also a component of the HSI, the primary models did not adjust for BMI, and BMI-adjusted models are presented as sensitivity analyses. NAFLD may in turn alter diet and activity (reverse causation), and energy under-reporting depends on body size.

To examine the robustness of the associations to these structures, four additional analyses were performed. First, ln-transformed ALT and AST, which do not depend on BMI, were analysed as continuous outcomes with survey-weighted linear regression, and results are expressed as percentage differences in the geometric mean. Second, effect modification by sex and by age (below 50 years vs. 50 years or older) was assessed with stratified models and with tests of interaction in fully interacted models. Third, E-values were calculated to quantify the minimum strength of association that an unmeasured confounder would need with both exposure and outcome to explain away an observed association; because the outcomes were common, odds ratios were converted to approximate risk ratios by taking their square root.

Fourth, the effect of exposure measurement error was explored by correcting odds ratios under classical measurement error for assumed reliabilities of 0.7, 0.5 and 0.3 (corrected odds ratio = observed odds ratio raised to the power 1/reliability); these scenarios are illustrative, because the reliability of a single recall cannot be estimated from these data.

Figure 2

Assumed causal structure. Diet and physical activity may affect hepatic fat directly and through adiposity; age, sex, education, income and smoking are confounders. BMI is on the causal pathway and is also a component of the outcome used (the HSI), so primary models do not adjust for it. NAFLD may alter diet and activity (dashed red arrow, reverse causation), and diet is measured with error that depends on body size. ALT and AST provide an outcome that does not depend on BMI.

Figure image at the original source — open the original paper. This file is not included in this text import.
3

Results

3.1

Descriptive characteristics of the study population

The analytic sample comprised 18,506 adults (63.0% women; mean age 50.3 ± 16.2 years). NAFLD, defined by an HSI above 36, was present in 3,877 participants (20.9%). The survey-weighted prevalence was 22.2% (95% CI 21.4–23.1%), 26.3% in men and 18.7% in women. In men, prevalence peaked at 35% at ages 30–39 years and declined thereafter, whereas in women it increased with age to 28% at ages 60–69 years (Figure 3A). Table 1 presents the sociodemographic, anthropometric, biochemical and dietary characteristics by NAFLD status, with a survey-weighted overall column.

Figure 3

Demographic, clinical, dietary, and temporal patterns of NAFLD in the KNHANES Cohort (2008–2011) (A) Survey-weighted NAFLD (HSI > 36) prevalence by age group and sex, with 95% CI. (B) BMI distribution by NAFLD status. (C) Survey-weighted prevalence by quartile of fibre and sodium density (per 1,000 kcal); p for trend adjusted for age and sex. (D) Median (IQR) ALT, AST and triglycerides by NAFLD status; *** p < 0.001. (E) Mean z-score of energy-adjusted nutrient density by NAFLD status and sex. (F) Survey-weighted prevalence by survey year.

Panels (C,E) use the nutrients available in the analysed file; GGT and hsCRP were not available.

Figure image at the original source — open the original paper. This file is not included in this text import.
3.2

Descriptive nutritional analysis

By construction, participants with NAFLD had a higher BMI (27.7 ± 2.9 vs. 22.5 ± 2.5 kg/m2; Figure 3B), and also higher waist circumference, ALT, AST, triglycerides, fasting glucose and prevalence of diabetes, and lower HDL cholesterol (all p < 0.001; Table 1). Median ALT was 27 vs. 15 IU/L, AST 22 vs. 19 IU/L and triglycerides 142 vs. 95 mg/dL (Figure 3D). Dietary differences were small. Median intakes of fibre (6.5 vs. 6.3 g/day), sodium (4,202 vs. 4,035 mg/day) and potassium (2,764 vs. 2,697 mg/day) were slightly higher in participants with NAFLD (p < 0.001, p < 0.001 and p = 0.009), whereas energy (p = 0.122), total fat (p = 0.193), calcium (p = 0.660), vitamin C (p = 0.293) and water (p = 0.868) did not differ.

After energy adjustment, nutrient profiles differed little between the groups (mean z-scores of nutrient density within ±0.21; Figures 3E, 4A). The prevalence of NAFLD increased modestly across quartiles of sodium density (20.2 to 24.6%; p for trend = 0.001) and fibre density (21.0 to 22.7%; p for trend = 0.011; Figure 3C), and did not change across survey years (22.8%, 22.3%, 20.8% and 23.0%; Figure 3F). Adjusted associations are presented in Section 3.6, Table 2 and Figure 4B.

Figure 4

Nutritional profile of NAFLD vs. Non-NAFLD — Radar & Forest Plot. (A) Radar chart of energy-adjusted intake (mean percentile rank of nutrient density per 1,000 kcal; 50 = cohort median) for 10 of the available nutrients, NAFLD (red) vs. non-NAFLD (teal). (B) Multivariable-adjusted odds ratios (95% CI) per increment of intake in Model 3 and in Model 3 additionally adjusted for BMI (over-adjusted, because BMI is a component of the HSI).

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 2

Multivariable logistic regression: adjusted associations of nutrient intake with NAFLD (survey-weighted, PSU-clustered).

NutrientIncrementModel 1 aOR (95%CI)Model 2 aOR (95%CI)Model 3 aOR (95%CI)Model 3 + BMI aOR (95%CI)
Dietary fibreper 5 g/day1.04 (1.00–1.08)1.05 (1.02–1.09)1.06 (1.02–1.10)1.05 (0.99–1.12)
Sodiumper 1,000 mg/day1.02 (1.01–1.03)1.02 (1.01–1.04)1.03 (1.01–1.04)1.01 (0.98–1.03)
Potassiumper 500 mg/day1.01 (0.99–1.02)1.02 (1.00–1.03)1.03 (1.01–1.05)1.03 (1.00–1.06)
Vitamin Cper 50 mg/day1.00 (0.97–1.02)1.01 (0.99–1.03)1.01 (0.98–1.03)1.01 (0.97–1.05)
Calciumper 100 mg/day1.01 (0.99–1.02)1.01 (1.00–1.03)1.01 (1.00–1.03)1.00 (0.98–1.02)
Total fatper 10 g/day1.00 (0.98–1.02)1.00 (0.98–1.02)1.00 (0.98–1.03)1.00 (0.96–1.03)
Carbohydrateper 50 g/day1.00 (0.98–1.02)1.01 (0.99–1.03)1.01 (0.97–1.04)1.08 (1.02–1.13)
Proteinper 10 g/day1.01 (0.99–1.02)1.01 (1.00–1.02)1.02 (1.00–1.04)1.03 (0.99–1.07)
Waterper 250 mL/day1.01 (0.98–1.03)1.01 (0.99–1.04)1.02 (0.99–1.05)0.98 (0.95–1.02)
Energyper 500 kcal/day1.00 (0.97–1.04)1.01 (0.97–1.04)1.01 (0.97–1.04)0.98 (0.94–1.03)

Each nutrient modelled separately. Model 1: age, sex, survey year. Model 2: Model 1 + smoking, physical activity, education, income. Model 3: Model 2 + total energy intake (not for energy itself). Model 3 + BMI is a sensitivity analysis (BMI is a component of the HSI). aOR, adjusted odds ratio.

3.3

Nutritional Liver Risk Score (NLRS)

LASSO regression (10-fold cross-validation grouped by PSU, with the penalty chosen to maximise the AUROC) retained all 18 available non-energy nutrients in the 2008–2009 derivation cohort (Table 3), yielding a score with a possible range of 0 to 100.

Table 3

LASSO-derived Nutritional Liver Risk Score (NLRS) components, weights, and direction of association (2008–2009 derivation cohort, n = 9,562).

RankNutrientDirectionLASSO coeff.NLRS weight (0–10)
1ProteinRisk+0.09710
2PhosphorusProtective−0.0959
3CaroteneRisk+0.1039
4Total fatProtective−0.1018
5Vitamin AProtective−0.0918
6RetinolRisk+0.0575
7Dietary fibreRisk+0.0434
8Vitamin CProtective−0.0544
9CarbohydrateRisk−0.0013
10PotassiumRisk+0.0323
11CalciumProtective−0.0282
12IronRisk+0.0242
13SodiumRisk+0.0322
14NiacinRisk+0.0332
15WaterRisk−0.0061
16Thiamin (B1)Protective−0.0051
17AshRisk+0.0020
18Riboflavin (B2)Protective−0.0140

LASSO, least absolute shrinkage and selection operator. Nutrients are log-transformed densities per 1,000 kcal. Direction is taken from the multivariable model including age, sex, smoking and physical activity. Adjusted odds ratios for nutrients are reported in Table 2. Ranked by weight; ties keep LASSO order.

In the 2010–2011 validation cohort (n = 8,944), the NLRS had an AUROC of 0.512 (95% CI 0.496–0.528), compared with 0.524 for a model containing age, sex, smoking and physical activity alone and 0.526 for the combined model. Adjusted odds ratios for NAFLD across NLRS quintiles 2 to 5, relative to quintile 1, were 1.05 (0.89–1.24), 1.10 (0.93–1.30), 1.07 (0.90–1.26) and 1.14 (0.96–1.36; p for trend = 0.147). The combined model was poorly calibrated in the validation cohort (Hosmer–Lemeshow χ2 = 30.4, p < 0.001).

In a same-survey random split by PSU (70/30), the NLRS had an AUROC of 0.510 (0.493–0.529), and the odds ratio for quintile 5 versus quintile 1 was 1.17 (0.94–1.46; p for trend = 0.094). The NLRS therefore did not discriminate NAFLD beyond age, sex, smoking and physical activity (Figure 5).

Figure 5

Temporal validation of the Nutritional Liver Risk Score (NLRS), derived in 2008–2009 and tested in 2010–2011. (A) Receiver operating characteristic curve (area under the curve 0.512). (B) Calibration plot of observed against predicted NAFLD proportion for the model containing covariates and the NLRS (Hosmer–Lemeshow X² = 30.4, p < 0.001). (C) Adjusted odds ratios by NLRS quintile (Q1 = reference), adjusted for age, sex, smoking and physical activity; p for trend = 0.147.

Figure image at the original source — open the original paper. This file is not included in this text import.
3.4

Machine learning model performance

With the full feature set (Set A), all of the boosting and linear models achieved very high discrimination (AUROC 0.998 for LightGBM, XGBoost and logistic regression; Table 4), because the HSI components allow the outcome definition to be reconstructed. Removing the five HSI components (Set B) reduced the best AUROC to 0.897 (XGBoost; 95% CI 0.892–0.902); performance remained high because waist circumference, glucose and lipids act as proxies for BMI and diabetes. Removing waist circumference and glucose as well (Set C) lowered the AUROC to 0.747 (0.738–0.756).

A model with diet, age and lifestyle (Set D) reached 0.595 (LightGBM; 0.585–0.604), similar to that of age and lifestyle alone (Set E; 0.597, 0.589–0.608; Figure 6C). In Set B, logistic regression performed as well as gradient boosting (AUROC 0.897 for all three), and the three best models differed by 0.001 or less, in line with evidence that machine learning does not necessarily outperform logistic regression (16). Survey-weighted AUROC differed from unweighted AUROC by at most 0.020.

Brier scores of the best models were 0.011 (Set A), 0.098 (Set B), 0.144 (Set C) and approximately 0.163 (Sets D and E), compared with approximately 0.165 for a model that assigns the average risk to everyone. In Set B, calibration curves lay close to the diagonal (Figure 6D), and at the Youden threshold XGBoost had a sensitivity of 0.84, specificity of 0.79, F1 score of 0.64 and Matthews correlation coefficient of 0.54, similar to LightGBM (0.84, 0.79, 0.64 and 0.54) and logistic regression (0.85, 0.78, 0.64 and 0.54; Figure 6F).

Table 4

Comparative performance of eight machine learning classifiers for NAFLD prediction: out-of-fold AUROC by feature set (nested 10-fold cross-validation grouped by PSU, with hyperparameters tuned in the inner loop; n = 18,506).

ModelA. FullB. HSI-freeC. B without waist and glucoseD. Diet + age/lifestyleE. Age/lifestyle only
LightGBM0.9980.8970.7460.5950.597
XGBoost0.9980.8970.7470.5900.597
Random Forest0.9840.8890.7360.5720.590
MLP0.9980.8930.7440.5660.582
Logistic Regression0.9980.8970.7350.5490.547
KNN0.9460.8540.7260.5440.571
Decision Tree0.9750.8690.7070.5570.586
Gaussian NB0.9100.8250.7160.5440.557

A: full feature set. B: HSI components (BMI, ALT, AST, diabetes, sex) removed. C: B without waist circumference and glucose. D: 19 nutrients and derived dietary variables plus age, smoking, activity, education, income, survey year. E: age and lifestyle variables of D only. PSU-cluster bootstrap (200 resamples) 95% CI half-widths were at most 0.011 in every cell. AUROC: area under receiver operating characteristic curve.

Figure 6

ML model comparison dashboard (leakage-controlled feature set B, HSI components removed; out-of-fold predictions from nested 10-fold cross-validation grouped by PSU, with hyperparameters tuned in the inner loop). ROC curves (all 8 models) (A); AUROC with 95% cluster-bootstrap CI (B); AUROC by feature set (A, full, to E, age and lifestyle only) for LightGBM and logistic regression, showing the effect of removing HSI-related variables and that diet adds little (D vs. E) (C); Calibration curves (deciles of predicted probability) (D); Brier scores (dashed line = no-skill value) (E); AUROC, sensitivity, specificity, F1 and MCC for the top three models at the Youden threshold (F).

Figure image at the original source — open the original paper. This file is not included in this text import.
3.5

Feature importance and SHAP explainability

In the tuned LightGBM model without the HSI components (Set B), waist circumference was the most influential predictor (mean |SHAP| = 1.48), followed by age (0.40), fasting glucose (0.18), the triglyceride-to-HDL ratio (0.14) and energy intake (0.09) (Figure 7). Metabolic and anthropometric variables accounted for 75.1% of the total mean |SHAP|, demographic and lifestyle variables for 17.2% and dietary variables for 7.7%. Dependence plots (Figures 8A–D) showed that the mean contribution of waist circumference rose from −2.57 log-odds in the lowest quintile to +2.55 in the highest, whereas the dietary contributions were negligible: mean SHAP values for fibre, potassium and sodium were within ±0.01 log-odds in every quintile of intake.

Two-dimensional partial dependence on fibre and sodium (Figure 8E) showed that the mean predicted probability of NAFLD varied only between 22.2 and 22.4% across the grid, with no evidence of a synergistic pattern. Force-plot summaries for the highest- and lowest-risk participants in the test fold (predicted probabilities 0.96 and below 0.01; Figure 8F) were dominated by waist circumference, age and the triglyceride-to-HDL ratio. SHAP values describe model behaviour and are not effect estimates. Interactions involving saturated fat could not be examined because this nutrient was not available.

Figure 7

SHAP global feature importance — LightGBM model trained on the HSI-free feature set (Set B), held-out PSU-grouped fold (n = 1,848). (A) Beeswarm SHAP summary plot (top 15 features; colour = feature value from blue = low to red = high). (B) Mean |SHAP| for the top 15 features; dietary variables in teal, metabolic/anthropometric variables in gold, demographic/lifestyle variables in navy.

Figure image at the original source — open the original paper. This file is not included in this text import.
Figure 8

SHAP dependence & interaction plots (LightGBM, HSI-free feature set, held-out PSU-grouped fold. (A–D) SHAP dependence plots for waist circumference, dietary fibre, potassium and sodium (x-axis = feature value, y-axis = SHAP contribution, colour = interaction variable, black line = running mean, 1st–99th percentile of the x variable). (E) Two-dimensional partial-dependence of mean predicted NAFLD probability on dietary fibre and sodium (colour scale 10 to 35%; the range across the grid was 22.2 to 22.4%). (F) SHAP contributions (log-odds) of the six largest features for the highest- and lowest-risk participants in the test fold.

SHAP values are not effect estimates.

Figure image at the original source — open the original paper. This file is not included in this text import.
3.6

Multivariable logistic regression—adjusted nutritional associations

Adjusted associations of nutrient intake with NAFLD were small (Table 2; Figure 4B). In Model 3, higher intakes of fibre (aOR 1.06 per 5 g/day, 95% CI 1.02–1.10), sodium (1.03 per 1,000 mg/day, 1.01–1.04) and potassium (1.03 per 500 mg/day, 1.01–1.05) were associated with slightly higher odds of NAFLD, and protein (1.02, 1.00–1.04) and calcium (1.01, 1.00–1.03) showed borderline associations. Total fat, carbohydrate, vitamin C, water and energy were not associated with NAFLD. After additional adjustment for BMI, which constitutes over-adjustment because BMI is a component of the HSI, the associations of fibre (1.05, 0.99–1.12), sodium (1.01, 0.98–1.03) and potassium (1.03, 1.00–1.06) were attenuated or borderline, and only carbohydrate (1.08, 1.02–1.13) had a confidence interval that excluded 1.

None of the estimates indicated a protective association of fibre.

3.7

Fat, fast-food consumption, sugary drinks, and physical inactivity

Fat intake, fast-food consumption, soda consumption and physical inactivity were compared on a common scale (Table 5; Figure 9; n = 18,135). Fat as a percentage of energy (mean 16.3%, SD 8.4 percentage points) was not associated with NAFLD (aOR 0.98 per SD, 95% CI 0.93–1.03) and was inversely associated with elevated ALT (0.94, 0.89–1.00). In survey-weighted models, the fast-food index was positively associated with NAFLD (1.09 per SD, 1.03–1.15) and weakly with elevated ALT (1.07, 1.00–1.14), although unweighted estimates were smaller (Table 6).

Soda consumption showed the strongest dietary association with NAFLD (1.11 per SD, 1.06–1.17). Physical inactivity, present in 47.7% of participants, was borderline associated with NAFLD (1.09, 1.00–1.18) and clearly associated with elevated ALT (1.20, 1.08–1.33). When fat, the fast-food index, soda consumption and physical inactivity were entered together, soda consumption (1.10, 1.04–1.15) and physical inactivity (1.09, 1.00–1.18) remained associated with NAFLD, the fast-food association was attenuated (1.06, 1.00–1.12) and fat remained unrelated (0.97, 0.92–1.02). For elevated ALT, physical inactivity (1.20, 1.08–1.33) and soda consumption (1.08, 1.02–1.14) remained associated, and fat was inversely associated (0.93, 0.88–0.99).

The fast-food association with NAFLD was similar after adjustment for energy and BMI (1.11 per SD, 1.02–1.21). Relative to active participants in the lowest two fast-food tertiles, the odds of NAFLD were 1.13 (1.02–1.26) in inactive participants with low fast-food consumption, 1.31 (1.14–1.51) in active participants in the highest tertile and 1.34 (1.17–1.55) in inactive participants in the highest tertile (p for interaction = 0.286). Higher serum 25-hydroxyvitamin D was associated with lower odds of NAFLD (0.92 per SD, 0.88–0.97, n = 17,744), and the association persisted after adjustment for energy and BMI.

Estimated 24-h urinary sodium excretion was associated with higher odds of NAFLD (1.35 per SD, 1.28–1.42, n = 13,627), but the association disappeared after adjustment for BMI (1.02, 0.95–1.10) and should be interpreted cautiously because the estimating equation includes weight and height. Adding fat and the fast-food index to age and lifestyle covariates did not change cross-validated discrimination (AUROC 0.556 with and without them).

Table 5

Adjusted odds ratios (95% CI) for NAFLD and elevated ALT: fat, fast-food consumption, soda, physical inactivity, serum vitamin D and urinary sodium (survey-weighted, PSU-clustered).

ExposureIncrementNAFLD, modelled separatelyNAFLD, mutually adjustedElevated ALT, modelled separatelyElevated ALT, mutually adjusted
Fat, % of energyper SD (8.4 percentage points)0.98 (0.93–1.03)0.97 (0.92–1.02)0.94 (0.89–1.00)0.93 (0.88–0.99)
Fast-food index (hamburger, pizza, fried food)per SD1.09 (1.03–1.15)1.06 (1.00–1.12)1.07 (1.00–1.14)1.05 (0.98–1.12)
Soda frequencyper SD1.11 (1.06–1.17)1.10 (1.04–1.15)1.09 (1.04–1.15)1.08 (1.02–1.14)
Physical inactivityvs active1.09 (1.00–1.18)1.09 (1.00–1.18)1.20 (1.08–1.33)1.20 (1.08–1.33)
Serum 25-hydroxyvitamin Dper SD (6.7 ng/mL)0.92 (0.88–0.97)—0.95 (0.90–1.01)—
Estimated 24-h urinary sodiumper SD (36 mEq/day)1.35 (1.28–1.42)—1.09 (1.03–1.16)—

Separately: each exposure modelled alone. Mutually adjusted: fat share of energy, fast-food index, soda frequency and physical inactivity entered together. All models adjusted for age, sex, smoking, education, income and survey year, and for physical activity except for the inactivity exposure. Fast-food index: standardised sum of hamburger, pizza and fried-food frequency categories. Physical inactivity: none of vigorous, moderate or walking activity. Elevated ALT: >33 IU/L in men, >25 IU/L in women. n = 18,135 (serum vitamin D 17,744; urinary sodium 13,627).

Urinary sodium is estimated from a spot urine sample with an equation that includes weight and height.

Figure 9

Adjusted odds ratios (95% CI) for NAFLD (A) and elevated ALT, an outcome that does not depend on BMI (B), for fat share of energy, fast-food index, soda frequency, physical inactivity, serum 25-hydroxyvitamin D and estimated 24-h urinary sodium. Teal diamonds: Each exposure modelled separately; Gold squares: Fat, fast food, soda and inactivity entered together. Odds ratios are per SD except physical inactivity (vs active).

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 6

Robustness of adjusted odds ratios (95% CI) for fast-food, soda, fat share of energy and physical inactivity: crude and fully adjusted, weighted and unweighted.

ExposureNAFLD: crude, unweightedNAFLD: crude, weightedNAFLD: fully adjusted, unweightedNAFLD: fully adjusted, weightedElevated ALT: fully adjusted, unweightedElevated ALT: fully adjusted, weighted
Fast-food index (per SD)1.00 (0.96–1.03)1.05 (1.01–1.10)1.05 (1.00–1.10)1.09 (1.03–1.15)1.01 (0.96–1.07)1.07 (1.00–1.14)
Soda frequency (per SD)1.10 (1.06–1.14)1.13 (1.09–1.18)1.11 (1.06–1.15)1.11 (1.06–1.17)1.10 (1.05–1.15)1.09 (1.04–1.15)
Fat, % of energy (per SD)0.95 (0.91–0.98)0.97 (0.93–1.02)0.97 (0.93–1.01)0.98 (0.93–1.03)0.93 (0.88–0.98)0.94 (0.89–1.00)
Physical inactivity (vs active)1.04 (0.97–1.12)1.06 (0.97–1.15)1.06 (0.99–1.15)1.09 (1.00–1.18)1.17 (1.07–1.28)1.20 (1.08–1.33)

Fully adjusted: age, sex, smoking, education, income, survey year and physical activity (except for the inactivity exposure). Crude: no adjustment. Weighted: survey weight wt_tot with PSU-clustered standard errors; unweighted: PSU-clustered standard errors only.

In unadjusted comparisons (Table 7), participants with NAFLD had slightly higher intakes of fibre, sodium and potassium (Mann–Whitney p < 0.001, < 0.001 and 0.014; rank-biserial r = 0.03 to 0.04) and a lower fat share of energy (median 14.9% vs. 15.3%; p = 0.004, r = −0.03). They reported more frequent soda consumption (p < 0.001, r = 0.05) and had higher estimated urinary sodium excretion (median 149.8 vs. 139.9 mEq/day; p < 0.001, r = 0.16).

The fast-food index (p = 0.80), hamburger and fried-food frequency, serum vitamin D (p = 0.22), energy intake (p = 0.18) and the proportion in the highest fast-food tertile (33.0% vs. 33.4%, chi-square p = 0.60) did not differ between groups, and physical inactivity was similar (48.6% vs. 47.5%, chi-square p = 0.25). Spearman correlations with the HSI were weak. Urinary sodium had the largest correlation (ρ = 0.18; 0.16 after adjustment for age and sex), fibre and potassium had correlations of 0.07 and 0.05 (0.06 and 0.06 adjusted), and soda consumption had a correlation of −0.01 (0.02 adjusted).

Hamburger and pizza frequency correlated negatively with the HSI (ρ = −0.07 and −0.08; −0.03 adjusted). Correlations with ALT were larger for energy, fibre, potassium and sodium (ρ = 0.12 to 0.14) but decreased to 0.04 to 0.07 after adjustment for age and sex, consistent with confounding by sex, and the fast-food items correlated negatively with ALT (ρ = −0.10 crude and −0.04 adjusted). After FDR correction and adjustment for age and sex, correlations with the HSI remained significant for fibre, sodium, potassium, urinary sodium and the frequencies of hamburger, pizza, fried food and soda (all |ρ| ≤ 0.07 except for urinary sodium), and were not significant for energy, total fat, fat share of energy, the fast-food index, serum vitamin D or physical inactivity.

Table 7

Unadjusted comparisons (Mann–Whitney U or chi-square) between participants with and without NAFLD, and Spearman correlations (ρ) with the hepatic steatosis index (HSI) and ALT, crude and adjusted for age and sex (n = 18,135).

VariableNAFLD median (IQR) or %Non-NAFLD median (IQR) or %Test; effect sizep (FDR)ρ with HSIρ with HSI, age/sex-adj.ρ with ALTρ with ALT, age/sex-adj.
Dietary fibre (g/day)6.5 (4.4–9.5)6.3 (4.3–9.2)Mann–Whitney U; r = +0.03<0.001+0.07*+0.06*+0.13*+0.07*
Sodium (mg/day)4217.6 (2743.2–6339.3)4048.5 (2695.0–5996.2)Mann–Whitney U; r = +0.04<0.001+0.03*+0.05*+0.12*+0.04*
Potassium (mg/day)2775.2 (1980.4–3787.0)2715.1 (1944.8–3698.2)Mann–Whitney U; r = +0.030.014+0.05*+0.06*+0.13*+0.07*
Energy (kcal/day)1740.7 (1356.3–2278.5)1748.8 (1356.8–2225.8)Mann–Whitney U; r = +0.010.178 (ns after FDR)+0.00+0.02+0.14*+0.05*
Total fat (g/day)27.6 (15.9–46.9)28.7 (16.7–46.5)Mann–Whitney U; r = −0.020.096 (ns after FDR)−0.04*−0.00+0.02*+0.00
Fat, % of energy14.9 (9.6–21.0)15.3 (10.0–21.5)Mann–Whitney U; r = −0.030.004−0.05*−0.01−0.07*−0.03*
Fast-food index (sum of hamburger + pizza + fried-food categories)2.0 (0.0–5.0)2.0 (0.0–5.0)Mann–Whitney U; r = −0.000.804 (ns after FDR)−0.06*−0.00−0.10*−0.04*
Hamburger frequency (category)0.0 (0.0–1.0)0.0 (0.0–1.0)Mann–Whitney U; r = −0.000.691 (ns after FDR)−0.07*−0.03*−0.10*−0.05*
Pizza frequency (category)0.0 (0.0–2.0)0.0 (0.0–2.0)Mann–Whitney U; r = −0.020.033 (ns after FDR)−0.08*−0.03*−0.13*−0.05*
Fried-food frequency (category)2.0 (0.0–3.0)2.0 (0.0–3.0)Mann–Whitney U; r = +0.010.374 (ns after FDR)−0.03*+0.02*−0.06*−0.02*
Soda frequency (category)1.0 (0.0–3.0)1.0 (0.0–3.0)Mann–Whitney U; r = +0.05<0.001−0.01+0.02*+0.00+0.00
Serum 25-hydroxyvitamin D (ng/mL)17.1 (13.4–21.7)17.3 (13.3–22.2)Mann–Whitney U; r = −0.010.223 (ns after FDR)+0.02*−0.00+0.13*+0.04*
Estimated 24-h urinary sodium (mEq/day)149.8 (126.0–177.4)139.9 (117.5–164.1)Mann–Whitney U; r = +0.16<0.001+0.18*+0.16*+0.10*+0.07*
Physical inactivity (%)48.6%47.5%Chi-square; V = 0.0090.249 (ns after FDR)+0.00+0.00−0.02*−0.00
Highest fast-food tertile (%)33.0%33.4%Chi-square; V = 0.0040.602 (ns after FDR)————

Mann–Whitney effect size: rank-biserial correlation (r); chi-square effect size: Cramér’s V. p-values are unadjusted; “ns after FDR” means Benjamini–Hochberg q ≥ 0.05. *Benjamini–Hochberg q < 0.05 for the correlation. Fast-food index here is the sum of the raw hamburger, pizza and fried-food frequency categories. Tests are unweighted.

The associations were examined for robustness to survey weighting and covariate adjustment (Table 6). The association of soda consumption with NAFLD was stable across crude and fully adjusted, weighted and unweighted models (aOR 1.10 to 1.13 per SD), as were the association of physical inactivity with elevated ALT (1.17 unweighted and 1.20 weighted) and the inverse association of fat share of energy with elevated ALT (0.93 and 0.94). In contrast, the association of fast-food consumption with NAFLD was absent in the crude unweighted model (1.00, 0.96–1.03) and reached only 1.05 (1.00–1.10) after full adjustment without weights, and its association with elevated ALT was null in unweighted analysis (1.01, 0.96–1.07).

Physical inactivity was not clearly associated with NAFLD without weights (1.06, 0.99–1.15). Fast-food consumption declined steeply with age (mean standardised index +1.17 at ages 20 to 29 years and −0.66 at 60 years and above), which explains why the unadjusted correlations with the HSI and ALT were negative. The associations of fast-food consumption and physical inactivity with NAFLD were therefore weak and sensitive to weighting and adjustment.

3.8

Sensitivity and subgroup analyses

Sensitivity analyses comprised the leakage-controlled feature sets (Table 4), survey-weighted AUROC (differing from unweighted AUROC by at most 0.020), models with and without BMI adjustment (Table 2), the temporal and same-survey validations of the NLRS (Section 3.3), an outcome that does not depend on BMI, elevated ALT (Section 3.7), and restriction to participants with plausible energy reporting (below). A sensitivity analysis using the Fatty Liver Index was not possible because GGT was measured only in the 2010–2011 waves.

Covariates contained no stray missing-value codes, and winsorising or log-transforming intakes left the odds ratios unchanged. Reported energy intake was implausibly low relative to estimated basal metabolic rate (ratio below 0.9) in 11.4% of participants, more often in those with NAFLD (15.8% vs. 10.3%), and implausibly high (ratio above 2.5) in 4.3%. Among plausible reporters (n = 15,588; 84.2%), energy intake was associated with NAFLD (aOR 1.18 per 500 kcal, 95% CI 1.13–1.24, compared with 1.01, 0.97–1.04, in all participants).

The associations of fibre and potassium were weaker in this group (1.05, 1.00–1.09 and 1.02, 1.00–1.04), that of sodium was unchanged (1.03, 1.01–1.05), and total fat, carbohydrate, vitamin C and water remained unrelated to NAFLD (Table 8). The association of soda consumption was also unchanged (1.12 per SD, 1.06–1.18). In this group, diet with age and lifestyle reached an AUROC of 0.607, compared with 0.595 for age and lifestyle alone.

Table 8

Model 3 adjusted odds ratios (95% CI) for NAFLD per increment of nutrient intake in all participants and among plausible energy reporters.

NutrientIncrementAll participants (n = 18,506)Plausible energy reporters (n = 15,588)
Dietary fibreper 5 g/day1.06 (1.02–1.10)1.05 (1.00–1.09)
Sodiumper 1,000 mg/day1.03 (1.01–1.04)1.03 (1.01–1.05)
Potassiumper 500 mg/day1.03 (1.01–1.05)1.02 (1.00–1.04)
Vitamin Cper 50 mg/day1.01 (0.98–1.03)1.00 (0.98–1.03)
Calciumper 100 mg/day1.01 (1.00–1.03)1.01 (1.00–1.03)
Total fatper 10 g/day1.00 (0.98–1.03)1.00 (0.97–1.02)
Carbohydrateper 50 g/day1.01 (0.97–1.04)1.02 (0.98–1.06)
Proteinper 10 g/day1.02 (1.00–1.04)1.02 (1.00–1.05)
Waterper 250 mL/day1.02 (0.99–1.05)1.01 (0.98–1.04)
Energyper 500 kcal/day1.01 (0.97–1.04)1.18 (1.13–1.24)

Model 3: age, sex, smoking, physical activity, education, income, survey year and total energy intake (not for energy itself). Plausible reporters: reported energy intake between 0.9 and 2.5 times estimated basal metabolic rate (Mifflin–St Jeor). Survey-weighted, PSU-clustered.

3.9

Continuous liver enzymes, effect modification, unmeasured confounding, and measurement error

Differences in continuous ALT and AST associated with the behaviours and nutrients examined were small (Table 9). Per SD, a higher fat share of energy was associated with 1.3% lower ALT (95% CI − 2.3 to −0.3) and 1.4% lower AST (−1.9 to −0.8). Physical inactivity was associated with 2.4% higher ALT (0.5 to 4.4) but not with AST (−0.6%, −1.8 to 0.5), whereas soda consumption and the fast-food index were not associated with ALT (+0.4% and −0.4%) and showed small or null differences in AST (−0.4% and −0.8%).

Fibre, sodium and potassium were associated with 2.0 to 2.9% higher ALT and 0.5 to 0.9% higher AST, and serum vitamin D with 1.6% higher AST. Adjustment for BMI changed these estimates by less than 1 percentage point.

Table 9

Percentage difference (95% CI) in geometric mean ALT and AST per SD of exposure (physical inactivity: vs active), without and with adjustment for BMI (survey-weighted linear regression of ln-transformed enzymes, PSU-clustered).

ExposureALT, without BMI adjustmentALT, with BMI adjustmentAST, without BMI adjustmentAST, with BMI adjustment
Fat, % of energy (per SD)−1.3% (−2.3 to −0.3)−1.2% (−2.1 to −0.3)−1.4% (−1.9 to −0.8)−1.3% (−1.9 to −0.7)
Fast-food index (per SD)−0.4% (−1.6 to +0.8)−0.6% (−1.7 to +0.5)−0.8% (−1.5 to −0.0)−0.8% (−1.5 to −0.1)
Soda frequency (per SD)+0.4% (−0.6 to +1.4)−0.4% (−1.3 to +0.5)−0.4% (−1.0 to +0.2)−0.6% (−1.2 to −0.0)
Physical inactivity (vs active)+2.4% (+0.5 to +4.4)+2.9% (+1.1 to +4.8)−0.6% (−1.8 to +0.5)−0.5% (−1.6 to +0.7)
Dietary fibre (per SD)+2.2% (+1.1 to +3.4)+1.6% (+0.6 to +2.6)+0.9% (+0.2 to +1.6)+0.7% (−0.0 to +1.4)
Sodium (per SD)+2.0% (+0.9 to +3.1)+1.2% (+0.2 to +2.3)+0.7% (+0.0 to +1.4)+0.5% (−0.2 to +1.2)
Potassium (per SD)+2.9% (+1.6 to +4.2)+2.2% (+1.0 to +3.4)+0.5% (−0.3 to +1.3)+0.3% (−0.6 to +1.1)
Serum 25-hydroxyvitamin D (per SD)+0.8% (−0.2 to +1.8)+1.0% (+0.1 to +1.9)+1.6% (+0.9 to +2.2)+1.6% (+1.0 to +2.2)

All models adjusted for age, sex, smoking, education, income, survey year and physical activity (except for the inactivity exposure); fibre, sodium and potassium models also adjusted for total energy intake.

Sex modified the association of physical inactivity with both outcomes (Table 10). In men, inactivity was associated with higher odds of NAFLD (aOR 1.32, 1.16–1.51) and elevated ALT (1.35, 1.17–1.56), whereas in women there was no such association (0.90, 0.80–1.00 and 1.04, 0.90–1.20; p for interaction < 0.001 and 0.006). The associations of soda consumption, the fast-food index and fat share of energy did not differ by sex (all p for interaction ≥ 0.20). The association of soda consumption with NAFLD was stronger below 50 years (1.16, 1.09–1.24) than at 50 years or older (1.06, 0.99–1.14; p for interaction = 0.076), and none of the other age interactions was significant (all p ≥ 0.11).

Table 10

Effect modification by sex and age: adjusted odds ratios (95% CI) for NAFLD and elevated ALT (survey-weighted, PSU-clustered).

ExposureOutcomeMenWomenp (sex)Age <50 yAge ≥50 yp (age)
Soda frequency (per SD)NAFLD1.09 (1.02–1.17)1.10 (1.03–1.18)0.8921.16 (1.09–1.24)1.06 (0.99–1.14)0.076
Soda frequency (per SD)Elevated ALT1.08 (1.01–1.16)1.06 (0.98–1.15)0.6921.12 (1.05–1.20)1.07 (0.98–1.17)0.448
Fast-food index (per SD)NAFLD1.11 (1.02–1.20)1.06 (0.99–1.13)0.3831.13 (1.05–1.21)1.14 (1.03–1.27)0.851
Fast-food index (per SD)Elevated ALT1.09 (1.00–1.18)1.00 (0.92–1.09)0.2001.10 (1.02–1.19)1.11 (1.00–1.24)0.871
Fat, % of energy (per SD)NAFLD0.99 (0.91–1.07)0.99 (0.92–1.06)0.9460.97 (0.91–1.04)1.04 (0.96–1.12)0.246
Fat, % of energy (per SD)Elevated ALT0.93 (0.85–1.01)0.97 (0.89–1.05)0.4850.95 (0.88–1.03)0.95 (0.87–1.03)0.979
Physical inactivity (vs active)NAFLD1.32 (1.16–1.51)0.90 (0.80–1.00)<0.0011.12 (0.99–1.27)1.01 (0.90–1.15)0.267
Physical inactivity (vs active)Elevated ALT1.35 (1.17–1.56)1.04 (0.90–1.20)0.0061.28 (1.10–1.48)1.08 (0.94–1.25)0.110

Stratified models adjusted for the remaining covariates; p-values are from fully interacted models. Exposures are per SD except physical inactivity (vs active). No correction was made for multiple testing.

The E-values indicate that modest unmeasured confounding could explain the observed associations (Table 11). For the association of soda consumption with NAFLD (aOR 1.11), an unmeasured confounder would need to be associated with both soda consumption and NAFLD by a risk ratio of at least 1.29 each, over and above the measured covariates, to explain it away, and by 1.20 to move the lower confidence limit to the null. The corresponding values were 1.42 and 1.24 for physical inactivity and elevated ALT.

The confidence interval for physical inactivity and NAFLD included 1, and the E-value for the confidence limit of the unweighted fast-food association was 1.00.

Table 11

E-values for selected associations.

AssociationOdds ratio (95% CI)E-value (point estimate)E-value (confidence limit)
Soda frequency, NAFLD1.11 (1.06–1.17)1.291.20
Soda frequency, elevated ALT1.09 (1.04–1.15)1.261.16
Physical inactivity, NAFLD1.09 (1.00–1.18)1.251.00
Physical inactivity, elevated ALT1.20 (1.08–1.33)1.421.24
Fast-food index, NAFLD (weighted)1.09 (1.03–1.15)1.261.14
Fast-food index, NAFLD (unweighted)1.05 (1.00–1.10)1.181.00
Serum vitamin D, NAFLD0.92 (0.88–0.97)1.251.14

E-value: minimum strength of association, on the risk-ratio scale, that an unmeasured confounder would need with both the exposure and the outcome to explain away the observed association (point estimate) or to move the confidence limit closest to the null to 1. Odds ratios were converted to approximate risk ratios by the square root because outcome prevalences exceeded 10%.

Under the assumption of classical measurement error, correcting for reliabilities of 0.7, 0.5 and 0.3 strengthened the positive associations of fibre (1.06 to 1.09, 1.13 and 1.22), sodium (1.09 to 1.13, 1.18 and 1.32), potassium (1.08 to 1.11, 1.16 and 1.28) and soda consumption (1.11 to 1.16, 1.24 and 1.42), and did not change the null association of fat share of energy (0.98 to 0.97, 0.96 and 0.93; Table 12). In no scenario did the correction produce a protective association of fibre.

Table 12

Odds ratios (95% CI) for NAFLD corrected for classical measurement error under assumed reliabilities.

ExposureObservedReliability 0.7Reliability 0.5Reliability 0.3
Dietary fibre (24-h recall, per SD)1.06 (1.02–1.11)1.09 (1.02–1.16)1.13 (1.03–1.23)1.22 (1.06–1.41)
Sodium (24-h recall, per SD)1.09 (1.04–1.14)1.13 (1.05–1.21)1.18 (1.08–1.30)1.32 (1.13–1.55)
Potassium (24-h recall, per SD)1.08 (1.02–1.14)1.11 (1.02–1.21)1.16 (1.03–1.30)1.28 (1.05–1.55)
Fat, % of energy (24-h recall, per SD)0.98 (0.93–1.03)0.97 (0.90–1.04)0.96 (0.86–1.06)0.93 (0.78–1.11)
Fast-food index (frequency, per SD)1.09 (1.03–1.15)1.13 (1.04–1.22)1.19 (1.06–1.32)1.33 (1.11–1.59)
Soda frequency (per SD)1.11 (1.06–1.17)1.16 (1.09–1.25)1.24 (1.12–1.36)1.42 (1.22–1.67)

Corrected odds ratio = observed odds ratio raised to the power 1/reliability, applied to the point estimate and confidence limits. Reliabilities are illustrative assumptions and cannot be estimated from a single recall. Fibre, sodium and potassium estimates are per SD and adjusted for total energy intake.

4

Discussion

4.1

Principal findings

In this pooled analysis of 18,506 Korean adults from KNHANES 2008–2011, dietary intake measured by a single 24-h recall was only weakly associated with NAFLD defined by the HSI. Adding diet to age and lifestyle did not improve discrimination in the full sample (AUROC 0.595 vs. 0.597) and improved it only slightly among participants with plausible energy reporting (0.607 vs. 0.595). Models attained AUROC values close to 1 only when the HSI components were supplied as predictors, which reflects the definition of the outcome and not the contribution of diet.

A dietary score derived from the available nutrients did not discriminate NAFLD in temporal validation. These findings clarify that the high accuracy reported for models predicting HSI-defined NAFLD reflects the outcome definition, and that among the behaviours examined soda consumption and physical inactivity showed the most consistent associations.

4.2

Nutritional findings in context

The small positive associations of fibre, sodium and potassium with NAFLD run counter to the protective association of dietary fibre that is biologically plausible (9, 27, 28), and they should not be interpreted as evidence that these nutrients increase risk. Intake was measured by a single recall, so within-person variation and misreporting probably attenuate and distort the associations. Intakes of fibre, sodium and potassium rise with total food intake and body size, and the outcome is largely determined by BMI: adjustment for BMI is inappropriate because BMI is part of the outcome definition, yet omitting it leaves confounding by body size.

The file also lacked the nutrients most often linked to steatosis in mechanistic and trial evidence, including saturated fat, n-3 fatty acids and added sugar (10, 21, 22), so these hypotheses could not be tested. The present results therefore neither support nor refute them.

Several features of the data help to explain why the associations are weak. First, the HSI is largely a function of BMI (Spearman ρ = 0.87; BMI alone explains 75% of its variance), so associations of diet with the HSI are chiefly associations of diet with BMI, and the cross-sectional correlations between dietary variables and BMI were small (|ρ| ≤ 0.08). Second, a single 24-h recall measures usual intake with substantial error, which attenuates associations (25). Third, energy under-reporting was more frequent among participants with NAFLD (15.8% vs. 10.3%), which masked the association of energy intake with NAFLD (aOR 1.01 in all participants and 1.18 per 500 kcal among plausible reporters) and can distort nutrient densities.

Outliers and coding problems did not explain the weak associations, because winsorising or log-transforming intakes did not change the odds ratios.

Saturated fat, n-3 fatty acids and fructose or added sugar occupy a central place in mechanistic models of NAFLD. Palmitate and stearate have been linked to hepatocyte apoptosis, endoplasmic reticulum stress and NLRP3 inflammasome activation (10, 21), randomised trials of omega-3 supplementation have reported reductions in hepatic fat content (22), and fructose promotes de novo hepatic lipogenesis (9–11). The public KNHANES 2008–2011 nutrient file provides total fat but not fatty-acid subtypes, added sugar or dietary vitamins D and E, so these hypotheses could not be tested here.

Total fat intake was not associated with NAFLD (aOR 1.00 per 10 g/day), which does not exclude effects of specific fatty acids. Testing them would require the KNHANES food-level 24-h recall records linked to a food-composition database.

Among the behaviours available in the file, soda consumption showed the most consistent associations with NAFLD and with elevated ALT, although it was not associated with continuous ALT or AST. Physical inactivity was associated with elevated ALT and, weakly, with NAFLD, and these associations were confined to men. The association of fast-food consumption with NAFLD was weak, depended on survey weighting and covariate adjustment, and was null for elevated ALT in unweighted analysis; fast-food consumption was also concentrated in younger adults.

Fat as a percentage of energy was not associated with NAFLD and was slightly inversely associated with elevated ALT and with continuous ALT and AST. Serum 25-hydroxyvitamin D was inversely associated with NAFLD (aOR 0.92 per SD); because vitamin D status is related to adiposity and sun exposure, and its relation with metabolic syndrome has been examined in elderly women in rural West Bengal (23), this association may reflect adiposity and not an effect of vitamin D. The associations were small (about 6 to 11% higher odds per SD, and 20% for physical inactivity and elevated ALT), correlations with the HSI and ALT were weak (|ρ| ≤ 0.18), and the exposures added no discrimination beyond age and lifestyle; they are therefore unsuitable for individual risk prediction.

These cross-sectional associations do not establish causation. Reverse causation is plausible, because people with excess weight or liver disease may change their diet or activity, and fast-food consumption also marks age, income and wider lifestyle, so residual confounding is likely. BMI is both a possible mediator and part of the outcome definition, which makes adjustment for it uninterpretable for NAFLD; the similar direction of the soda and physical inactivity associations for elevated ALT, which does not use BMI, is reassuring but not conclusive.

Physical inactivity here denotes reporting no vigorous or moderate activity and no walking, and sedentary time in the strict sense was not measured. These results suggest that soda consumption and physical inactivity, rather than fat intake, are the more relevant behavioural targets for longitudinal and interventional study; testing whether reducing them lowers liver fat would require longitudinal or interventional evidence.

Prediction and causal inference answer different questions. A model that predicts who has NAFLD does not identify what causes it, and the strongest predictors here, waist circumference, glucose and the triglyceride-to-HDL ratio, are features of the same metabolic syndrome that accompanies NAFLD and not causes of it. Several features of the data also limit causal interpretation: the outcome is largely a function of BMI, which lies on the causal pathway; the exposures are single-day or single-item measures; the design cannot establish temporal order; and energy under-reporting depends on body size (Figure 2).

Within these limits, the additional analyses refine the interpretation. Differences in continuous ALT and AST were small (3% or less), E-values of 1.3 to 1.4 indicate that modest unmeasured confounding could explain the soda and physical inactivity associations, correction for plausible measurement error strengthened but did not reverse the associations, and the association of physical inactivity with liver outcomes was confined to men. The results are therefore compatible with a contribution of soda consumption and physical inactivity to NAFLD, but they cannot confirm it.

4.3

Machine learning performance and methodological contributions

The decline in AUROC from 0.998 to 0.747 across the feature sets shows how strongly apparent accuracy depends on the variables supplied. When the HSI components are included, models simply reconstruct a formula. Even after those components were removed, waist circumference and glucose retained most of the predictive signal (AUROC 0.897) because they act as proxies for BMI and diabetes; waist circumference, triglycerides and fasting glucose are likewise the key predictors in machine learning models of metabolic syndrome (17), and central adiposity indices are related to cardiovascular risk factors (24).

Comparisons between model families were therefore uninformative in the leakage-prone feature sets; in the leakage-controlled sets, logistic regression matched gradient boosting in Set B, and all models performed only modestly better than chance in Set D. Two design choices also affect reproducibility. Duplicated participant records, if present in modelling data, can fall into both training and test partitions and inflate performance, and clustered survey data should be partitioned by primary sampling unit. We removed duplicates, grouped the cross-validation folds by PSU and tuned hyperparameters within the training folds of a nested design, so that tuning did not use test data.

This study makes several methodological contributions. It quantifies, through five nested feature sets, how much of the apparent accuracy of NAFLD prediction derives from the components of the outcome definition (AUROC 0.998 with, 0.897 without, and 0.747 without waist circumference and glucose). It identifies 12,604 duplicated records in a merged KNHANES file that would otherwise inflate sample size and cross-validated performance. It applies nested cross-validation grouped by primary sampling unit with survey weighting and open code, and shows that logistic regression performs as well as gradient boosting for this task.

It also documents differential energy under-reporting in NAFLD (15.8% vs. 10.3%), which masked the association of energy intake with NAFLD (aOR 1.01 in all participants vs. 1.18 among plausible reporters).

4.4

NLRS as a clinical tool

The NLRS derived from the available nutrients did not discriminate NAFLD beyond age, sex, smoking and physical activity, and showed no gradient across quintiles. We therefore do not propose it as a screening tool. Whether a diet-based score could perform better with a richer nutrient database, an outcome that does not depend on adiposity and repeated dietary measurements cannot be answered with these data. The main practical outputs of this work are methodological: a feature-set framework, a check for duplicated survey records and open analysis code.

The dietary score and behavioural indicators did not provide clinically useful discrimination, and a screening tool would require external validation against imaging- or histology-defined NAFLD.

4.5

Limitations

Several limitations should be acknowledged. First, the cross-sectional design precludes causal inference, and reverse causation, in which NAFLD alters dietary behaviour, cannot be excluded. Second, a single 24-h dietary recall, although it is the KNHANES standard, may not reflect habitual intake, and within-person measurement error probably attenuates associations; energy under-reporting differed by NAFLD status, so estimates for energy-related nutrients in the full sample are likely biased. Third, NAFLD was defined by the non-invasive HSI rather than by imaging or histology.

Although validated, the HSI is partly determined by BMI, which limits any analysis of diet and NAFLD that is independent of adiposity, and misclassification is possible. Fourth, residual confounding by unmeasured dietary and lifestyle factors, such as ultra-processed food consumption, meal timing, sleep quality and gut microbiome composition, cannot be excluded. Fifth, survey design was handled approximately: prevalence estimates used design-based variance, regression models used PSU-clustered standard errors without strata, and machine learning models were trained without survey weights, although survey-weighted AUROC differed by at most 0.020.

Sixth, the results are specific to Korean adults surveyed in 2008–2011 and may not generalise to other populations or to the present day. Seventh, only 19 nutrients were available; saturated fat, n-3 fatty acids, added sugar, folate and dietary vitamins D and E were not, and exclusions for cirrhosis and hepatitis C could not be applied. Eighth, the alcohol exclusion used the survey’s alcohol indicator (HE_ALC) rather than reported weekly intake, so residual alcohol-related liver injury cannot be excluded. Ninth, hyperparameter search was limited to a small number of randomly sampled configurations per model to keep computation feasible, support vector machine and CatBoost models were not evaluated, and multiple comparisons were not corrected.

Tenth, food-frequency categories were treated as ordinal scores, single-item frequencies are crude measures of intake, and sitting time was not available, so a sedentary lifestyle was represented by physical inactivity. Eleventh, the E-values and measurement-error scenarios rest on assumptions (conversion of odds ratios to risk ratios by the square root, and classical error with assumed reliabilities), and the effect-modification analyses were not corrected for multiple testing. Finally, the associations of fast-food consumption and physical inactivity with NAFLD were sensitive to survey weighting.

4.6

Significance, implications, and future directions

As precision-nutrition research increasingly relies on machine learning to rank dietary and clinical risk factors (18, 19), this analysis shows that headline accuracy can derive entirely from the outcome definition: with the components of the HSI supplied, discrimination was near perfect (AUROC 0.998), but without them diet added essentially nothing beyond age and lifestyle. Studies that predict liver outcomes defined by clinical indices should therefore report performance with and without the index components. The analysis also provides a leakage-controlled, cluster-aware evaluation of diet and NAFLD in a national survey, together with a duplicate-record check that other KNHANES users can apply.

Its negative findings are informative: single 24-h recalls and 19 nutrient totals were insufficient to identify dietary determinants or to build a dietary risk score, which indicates what future studies require, namely repeated or food-level intake data with fatty-acid and sugar detail, outcomes that do not depend on BMI, and longitudinal designs. Among the behaviours examined, soda consumption and physical inactivity gave the most consistent signals and fat share of energy none, which directs hypotheses away from fat quantity alone.

Studies of diet and NAFLD that use the HSI or similar formula-based outcomes should not include the components of the formula as predictors, should report performance without them, and should check for duplicated records and use cluster-aware validation. Future work should use survey data with detailed fat-subtype and sugar intake, repeated recalls or food-frequency data, imaging- or histology-based outcomes (including the recent MASLD nomenclature (1)) and prospective designs. Longitudinal validation in prospective cohorts, for example the Korean Genome and Epidemiology Study, remains a priority.

5

Conclusion

In Korean adults surveyed in KNHANES 2008–2011, dietary intake from a single 24-h recall showed small adjusted associations with NAFLD defined by the HSI and contributed little to prediction beyond age and lifestyle (AUROC 0.595 vs. 0.597 in the full sample; 0.607 vs. 0.595 among participants with plausible energy reporting). Machine learning models that included the components of the HSI achieved near-perfect accuracy by reconstructing the outcome definition, which should not be interpreted as evidence for dietary determinants. The Nutritional Liver Risk Score was not supported in temporal validation.

Among the behaviours examined, soda consumption showed a consistent small positive association with NAFLD and physical inactivity with elevated ALT in men, fast-food consumption a weak and inconsistent association, and fat as a percentage of energy none. These findings are cross-sectional and are limited by a surrogate outcome and a restricted nutrient set; they do not establish causation or support NAFLD-specific dietary recommendations. These results support leakage-controlled reporting of NAFLD prediction models and identify soda consumption and physical inactivity as behaviours necessitating longitudinal study.

Acknowledgments

The authors are grateful to the Korea Disease Control and Prevention Agency (KDCA) and all KNHANES participants for providing the data underpinning this research.

Edited by: Sanjoy Saha, Tennessee State University Avon Williams Campus, United States

Reviewed by: Dolley Srivastava, Amity University, India

Giridhar Koppisetti, Sagi Ramakrishnam Raju Engineering College, India

Data availability statement

Publicly available datasets were analyzed in this study. The KNHANES data can be obtained from the Korea Disease Control and Prevention Agency (https://knhanes.kdca.go.kr). The analysis code and derived tables are openly available at https://github.com/JoyetaG/NFLD.

Ethics statement

Ethical approval was not required for the study involving humans in accordance with the local legislation and institutional requirements. Written informed consent to participate in this study was not required from the participants or the participants’ legal guardians/next of kin in accordance with the national legislation and the institutional requirements. KNHANES was approved by the Institutional Review Board of the Korea Disease Control and Prevention Agency, and participants provided written informed consent. This study analysed publicly available, de-identified data; ethical approval and informed consent were not required for the present analysis.

Author contributions

JG: Supervision, Writing – original draft, Data curation, Investigation, Methodology, Software, Visualization, Conceptualization, Project administration, Writing – review & editing, Resources, Formal analysis, Validation. PP: Supervision, Writing – review & editing, Conceptualization, Software, Methodology, Investigation, Visualization, Formal analysis, Project administration, Validation, Resources, Data curation. PD: Data curation, Visualization, Conceptualization, Methodology, Investigation, Validation, Project administration, Software, Supervision, Writing – review & editing, Formal analysis, Resources, Writing – original draft. DC: Resources, Writing – review & editing, Conceptualization, Project administration, Methodology, Formal analysis, Writing – original draft, Data curation, Software, Investigation, Visualization, Supervision, Validation.

DN: Supervision, Validation, Writing – review & editing.

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

The author JG and DC declared that they were an editorial board member of Frontiers, at the time of submission. This had no impact on the peer review process and the final decision.

Correction note

This article has been corrected with minor changes. These changes do not impact the scientific content of the article.

Generative AI statement

The author(s) declared that Generative AI was used in the creation of this manuscript. Generative AI was used to assist with data-analysis code, figure preparation and language editing. The authors reviewed and verified all outputs and take full responsibility for the content of this article.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fnut.2026.1982917/full#supplementary-material

Supplement file at the original source — open the original paper. This file is not included in this text import.

References

1. Rinella ME Lazarus JV Ratziu V Francque SM Sanyal AJ Kanwal F . A multisociety Delphi consensus statement on new fatty liver disease nomenclature . Hepatology . (2023 ) 78 :1966 –86 . doi: 10.1097/HEP.0000000000000520 , 37363821 PMC10653297
2. Younossi ZM Koenig AB Abdelatif D Fazel Y Henry L Wymer M . Global epidemiology of nonalcoholic fatty liver disease—meta-analytic assessment of prevalence, incidence, and outcomes . Hepatology . (2016 ) 64 :73 –84 . doi: 10.1002/hep.28431 , 26707365
3. Eslam M Sanyal AJ George J ; International Consensus Panel. MAFLD: a consensus-driven proposed nomenclature for metabolic associated fatty liver disease . Gastroenterology . (2020 ) 158 :1999 –2014.e1 . doi: 10.1053/j.gastro.2019.11.312 , 32044314
4. Powell EE Wong VWS Rinella M . Non-alcoholic fatty liver disease . Lancet . (2021 ) 397 :2212 –24 . doi: 10.1016/S0140-6736(20)32511-3 , 33894145
5. Kwak MS Kim D . Non-alcoholic fatty liver disease and lifestyle modifications, focusing on physical activity . Korean J Intern Med . (2018 ) 33 :64 –74 . doi: 10.3904/kjim.2017.343 PMC5768549 29202557
6. Kim D Kim WR . Nonobese fatty liver disease . Clin Gastroenterol Hepatol . (2017 ) 15 :474 –85 . doi: 10.1016/j.cgh.2016.08.028 , 27581063
7. Lee JH Kim D Kim HJ Lee CH Yang JI Kim W . Hepatic steatosis index: a simple screening tool reflecting nonalcoholic fatty liver disease . Dig Liver Dis . (2010 ) 42 :503 –8 . doi: 10.1016/j.dld.2009.08.002 , 19766548
8. Park SH Jeon WK Kim SH Kim HJ Park DI Cho YK . Prevalence and risk factors of non-alcoholic fatty liver disease among Korean adults . J Gastroenterol Hepatol . (2006 ) 21 :138 –43 . doi: 10.1111/j.1440-1746.2005.04086.x , 16706825
9. Tilg H Moschen AR . Evolution of inflammation in nonalcoholic fatty liver disease: the multiple parallel hits hypothesis . Hepatology . (2010 ) 52 :1836 –46 . doi: 10.1002/hep.24001 , 21038418
10. Diehl AM Day C . Cause, pathogenesis, and treatment of nonalcoholic steatohepatitis . N Engl J Med . (2017 ) 377 :2063 –72 . doi: 10.1056/NEJMra1503519 , 29166236
11. Pérez-Montes de Oca A Julián MT Ramos A Puig-Domingo M Alonso N . Microbiota, fiber, and NAFLD: is there any connection? Nutrients . (2020 ) 12 :3100 . doi: 10.3390/nu12103100 PMC7600472 33053631
12. Oddy WH Herbison CE Jacoby P Ambrosini GL O'Sullivan TA Ayonrinde OT . The Western dietary pattern is prospectively associated with nonalcoholic fatty liver disease in adolescence . Am J Gastroenterol . (2013 ) 108 :778 –85 . doi: 10.1038/ajg.2013.95 , 23545714
13. Korea Disease Control and Prevention Agency. Korea National Health and Nutrition Examination Survey (KNHANES) IV–V Technical Report . Cheongju: KDCA (2012 ).
14. Kweon S Kim Y Jang MJ Kim Y Kim K Choi S . Data resource profile: the Korea National Health and nutrition examination survey (KNHANES) . Int J Epidemiol . (2014 ) 43 :69 –77 . doi: 10.1093/ije/dyt228 , 24585853 PMC3937975
15. Lundberg SM Lee SI . A unified approach to interpreting model predictions . Adv Neural Inf Process Syst . (2017 ) 30 :4765 –74 . doi: 10.5555/3295222.3295230
16. Christodoulou E Ma J Collins GS Steyerberg EW Verbakel JY van Calster B . A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models . J Clin Epidemiol . (2019 ) 110 :12 –22 . doi: 10.1016/j.jclinepi.2019.02.004 , 30763612
17. Ghosh J Roy Chaudhury S Singh K Koner S . Development and performance analysis of machine learning methods for predicting metabolic syndrome among postmenopausal women of India . Int J Adv Life Sci Res . (2025 ) 8 :62 –75 . doi: 10.31632/ijalsr.2025.v08i01.006
18. Ghosh J Chaudhuri T Molina Mora JA Taneja J Kant R . Harnessing clinical and biochemical data for personalized cardiovascular risk prediction: a machine learning approach toward precision nutrition . J Nutr . (2026 ) 156 :101363 . doi: 10.1016/j.tjnut.2026.101363 , 41539437 PMC13014513
19. Ghosh J . “Leveraging data science for personalized nutrition”. In: Nutrition Controversies and Advances in Autoimmune Disease , eds. S. Patnaik, A. Hamad, S. Paul, P. Dutta, M. Shafiq Hershey, Pennsylvania, USA: IGI Global (2024 ). p. 572 –605 .
20. Han AL . Association between non-alcoholic fatty liver disease and dietary habits, stress, and health-related quality of life in Korean adults . Nutrients . (2020 ) 12 :1555 . doi: 10.3390/nu12061555 PMC7352638 32471118
21. Peng C Stewart AG Woodman OL Ritchie RH Qin CX . Non-alcoholic steatohepatitis: a review of its mechanism, models and medical treatments . Front Pharmacol . (2020 ) 11 :603926 . doi: 10.3389/fphar.2020.603926 , 33343375 PMC7745178
22. Parker HM Johnson NA Burdon CA Cohn JS O’Connor HT George J . Omega-3 supplementation and non-alcoholic fatty liver disease: a systematic review and meta-analysis . J Hepatol . (2012 ) 56 :944 –51 . doi: 10.1016/j.jhep.2011.08.018 , 22023985
23. Ghosh J Chaudhuri D Saha I Chaudhuri AN . Prevalence of metabolic syndrome, vitamin D level, and their association among elderly women in a rural community of West Bengal, India . Med J Dr DY Patil Vidyapeeth . (2020 ) 13 :315 –20 .
24. Ghosh J Chaudhuri D Saha I Nag Chaudhuri A . Association of conicity index with different cardiovascular disease risk factors among the rural elderly women of West Bengal, India . Indian J Community Med . (2022 ) 47 :18 –22 . 10.4103/ijcm.ijcm_595_21 PMC8971865 35368493
25. Willett WC . Nutritional Epidemiology . 3rd ed. Oxford: Oxford University Press (2012 ).
26. Tibshirani R . Regression shrinkage and selection via the lasso . J R Stat Soc Series B Stat Methodol . (1996 ) 58 :267 –88 . doi: 10.1111/j.2517-6161.1996.tb02080.x
27. Ma W Nguyen LH Song M Wang DD Franzosa EA Cao Y . Dietary fiber intake, the gut microbiome, and chronic systemic inflammation in a cohort of adult men . Genome Med . (2021 ) 13 :102 . doi: 10.1186/s13073-021-00921-y , 34140026 PMC8212460
28. Aron-Wisnewsky J Vigliotti C Witjes J le P Holleboom AG Verheij J . Gut microbiota and human NAFLD: disentangling microbial signatures from metabolic disorders . Nat Rev Gastroenterol Hepatol . (2020 ) 17 :279 –97 . doi: 10.1038/s41575-020-0269-9 , 32152478
Publication and source details

Original title: Nutritional determinants of non-alcoholic fatty liver disease: a machine learning approach with nutritional scoring

Joyeta Ghosh; Partha Pratim Pal; Poulami Dasgupta; Debprasad Chattopadhyay; Debadatta Nayak

Frontiers in Nutrition · 2026

* Correspondence: Debprasad Chattopadhyay, debprasadc@yahoo.co.in; Debadatta Nayak, drdnayak@gmail.com
†

These authors have contributed equally to this work

Copyright © 2026 Ghosh, Pal, Dasgupta, Chattopadhyay and Nayak.2026Ghosh, Pal, Dasgupta, Chattopadhyay and Nayakhttps://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.The author(s) declared that financial support was not received for this work and/or its publication.

Repository JATS snapshot; version as supplied

Source retrieved: 2026-12-05T23:45:54.973598+00:00

DOI: 10.3389/fnut.2026.1982917 · PMC13836208