Next Article in Journal
The Role of HMB Supplementation in Enhancing the Effects of Resistance Training in Older Adults: A Systematic Review and Meta-Analysis on Muscle Quality, Body Composition, and Physical Function
Previous Article in Journal
Development of the Breastfed Infant Oral Microbiome Is Associated with Concentrations and Intakes of Human Milk Oligosaccharides
Previous Article in Special Issue
Dietary Guidance, Sensory, Health and Safety Considerations When Choosing Low and No-Calorie Sweeteners
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Identifying Key Features Associated with Excessive Fructose Intake: A Machine Learning Analysis of a Mexican Cohort

by
Guadalupe Gutiérrez-Esparza
1,2,*,†,
Mireya Martínez-García
3,4,†,
María del Carmen González Salazar
5,
Luis M. Amezcua-Guerra
3,
Malinalli Brianza-Padilla
3,
Tania Ramírez-delReal
1,6 and
Enrique Hernández-Lemus
7,*
1
“Researcher for Mexico” Program, Secretaría de Ciencia, Humanidades, Tecnología e Innovación (SECIHTI), Mexico City 03940, Mexico
2
Diagnostic and Treatment Services, Instituto Nacional de Cardiología Ignacio Chávez, Mexico City 14080, Mexico
3
Department of Immunology, Instituto Nacional de Cardiología Ignacio Chávez, Mexico City 14080, Mexico
4
Dental Public Health Department, Division of Graduate Studies and Research, School of Dentistry, Universidad Nacional Autónoma de México, Mexico City 04510, Mexico
5
Department of Nutrition, Ambulatory Care Services, Instituto Nacional de Cardiología Ignacio Chávez, Mexico City 14080, Mexico
6
Centro de Investigación en Ciencias de Información Geoespacial, Aguascalientes 20313, Mexico
7
Computational Genomics Division, Instituto Nacional de Medicina Genómica, Mexico City 14610, Mexico
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Nutrients 2025, 17(22), 3623; https://doi.org/10.3390/nu17223623
Submission received: 10 September 2025 / Revised: 5 November 2025 / Accepted: 9 November 2025 / Published: 20 November 2025
(This article belongs to the Special Issue Sugar, Sweeteners Intake and Metabolic Health)

Abstract

Background: Excessive fructose intake has been linked to adverse metabolic outcomes, yet few studies have comprehensively described the clinical, behavioral, and nutritional patterns associated with different intake levels using machine learning. Methods: In this study, unsupervised and supervised algorithms were applied to a healthy Mexican cohort to examine features related to high fructose consumption, defined as intake above 25 g per day. Results: K-Means clustering identified three distinct profiles, with one subgroup showing less favorable anthropometric, biochemical, and behavioral characteristics. Supervised models, including Extreme Gradient Boosting, Random Forest, and Histogram-based Gradient Boosting, distinguished fructose intake levels with balanced accuracies around 80% and AUC up to 88.1%. Shapley Additive Explanations (SHAPs)-based interpretation highlighted body mass index, triglycerides, sleep duration, alcohol consumption, and anxiety indicators as features most consistently associated with high intake. Conclusions: These findings emphasize the multifactorial nature of fructose consumption and illustrate the utility of machine learning for uncovering dietary and metabolic patterns that warrant further investigation and may guide future nutrition-focused strategies.

1. Introduction

In recent decades, Mexico has experienced a marked increase in fructose consumption, primarily through sugary beverages and ultra-processed foods [1,2]. This dietary pattern has been identified as a major contributor to the rising prevalence of metabolic disorders, including obesity, type 2 diabetes, and cardiovascular disease [3]. A significant portion of daily caloric intake in the Mexican diet comes from foods and beverages rich in free sugars—particularly fructose—commonly found in industrialized drinks, snacks, and desserts [4,5]. In this context, fructose intake includes both intrinsic sources (fruits and juices) and added forms such as high-fructose corn syrup (HFCS), which is widely used as a sweetener in processed products.
Sugar-sweetened beverages represent the primary source of added sugar in the Mexican diet and account for a considerable proportion of total sugar intake [6]. The World Health Organization (WHO) recommends limiting free sugar consumption to no more than 10% of total daily energy intake, with a target of 5% for additional health benefits [7,8]. However, current sugar consumption levels in Mexico significantly exceed these recommendations. On average, added sugars account for 12.5% of total daily energy intake among the Mexican population [9].
Evidence indicates that excessive fructose intake—whether in free form or as HFCS—plays a critical role in hepatic lipogenesis and the development of metabolic dysfunction-associated steatotic liver disease, as well as other metabolic disturbances [10]. Mechanistically, fructose has been shown to suppress leptin and elevate ghrelin levels, promoting increased appetite and energy intake, which further contribute to metabolic dysregulation. These hormonal imbalances exacerbate hepatic fat accumulation and induce systemic insulin resistance, positioning high fructose consumption as a key driver in the pathogenesis of type 2 diabetes and related metabolic conditions [11].
Studies conducted in Mexico have found a direct correlation between high sugar intake and the rising incidence of metabolic diseases such as diabetes [6]. Despite increasing awareness of the metabolic consequences of excessive fructose consumption, few studies have comprehensively examined the complex interactions among diet, behavior, and metabolism using integrative analytic approaches capable of uncovering multifactorial risk patterns [12].
Recent advances in data-driven methods, particularly machine learning (ML), have expanded our ability to analyze such complexity in large-scale nutritional data. ML techniques allow for the identification of hidden patterns in population health and offer tools for the early detection of at-risk individuals, paving the way for more effective and personalized nutritional interventions. For example, Zheng et al. [13] applied Random Forest and Extra-Trees algorithms to distinguish the metabolic effects of different sugar sources, demonstrating that their impact on metabolism varies depending on their origin.
Similarly, Davies et al. [14] used a k-nearest neighbors (KNN) model to classify added sugar content in over 70,000 packaged foods with high accuracy (89%) to distinguish low, medium and high added sugar content in foods. The study highlighted the efficacy of ML in identifying sugar consumption patterns, further supporting the need for automated approaches in dietary assessments. AlYammahi et al. [15] applied artificial neural networks and non-linear regression to estimate sugar recovery from dates. Their models demonstrated high accuracy, achieving R 2 = 0.986 ± 0.010 , thus establishing a strong correlation between operating parameters and total sugar content recovery.
Despite these advances, most previous investigations have focused on isolated relationships or relied on traditional regression-based methods, which often assume linearity and fail to capture the multidimensional complexity of dietary and metabolic data. The interplay between behavioral, biochemical, and nutritional factors underlying excessive fructose intake remains insufficiently characterized. Machine learning approaches can overcome these limitations by modeling nonlinear dependencies and identifying subtle, multivariate patterns that are not evident through conventional analyses. Recent studies have shown that ML can uncover latent dietary profiles and metabolic signatures with higher accuracy and interpretability than classical approaches, underscoring its potential for integrative nutritional research [13,14,15].
Therefore, the aim of this study was to identify clinical, behavioral, biochemical, and dietary features associated with excessive fructose consumption in a healthy Mexican adult cohort. Using machine learning–based models, we sought to distinguish individuals with high (more than 25 g per day) versus low (25 g or less) fructose intake and to examine how these features vary across subgroups with distinct metabolic and lifestyle profiles. By doing so, this research contributes to a better understanding of the multifactorial drivers of high fructose intake and offers insights that may inform targeted prevention strategies in similar populations.

2. Materials and Methods

2.1. Data

The dataset used in this study comes from the Tlalpan 2020 cohort, a research initiative carried out at the Instituto Nacional de Cardiología Ignacio Chávez (INCICH) in Mexico City, whose design and methodology are described in detail by Colin-Ramírez et al. [16]. The study was approved by the Institutional Bioethics Committee of INCICH (approval number 13-802) and follows the ethical guidelines established by the Declaration of Helsinki [17]. A total of 3156 participants were included in the dataset. Each individual provided informed consent and underwent a comprehensive evaluation that covered demographic, lifestyle, nutritional, anthropometric, biochemical, and clinical variables. Table S1, found in the Supplementary Materials, provides an overview of the variables included in the descriptive and analytical phases of the study.

2.1.1. Clinical Measurements

Each participant underwent a physical examination in which the following anthropometric and clinical variables were recorded: weight, height, body mass index (BMI), waist circumference (WC), and systolic and diastolic blood pressure (SBP and DBP), measured following standardized protocols [18].

2.1.2. Biochemical Parameters

Fasting venous blood samples were obtained from all participants following a 12-h overnight fast and processed at the Central Laboratory of the INCICH (Mexico City, Mexico), ensuring standardized quality control procedures. The biochemical analysis included key markers of glucose metabolism—such as fasting glucose, triglycerides, and the atherogenic index—as well as indicators of renal function, including serum uric acid, creatinine, and sodium levels. All assays were performed using validated clinical chemistry platforms under manufacturer-recommended protocols. Complete blood counts were performed using an LH 780 hematology analyzer (Beckman Coulter, Brea, CA, USA). All laboratory procedures were conducted in an ISO 15189-accredited laboratory, certified by the Mexican Accreditation Entity (Entidad Mexicana de Acreditación, A.C.; accreditation number CL-137; NMX-EC-15189-IMNC-2015/ISO 15189:2012), ensuring compliance with international standards for analytical quality, technical competence, traceability, and participation in external quality assessment programs.

2.1.3. Behavioral Variables

In addition, participants provided details about their lifestyle habits, including smoking, alcohol consumption, physical activity, psychological stress, and sleep quality. Sleep quality was evaluated using the Spanish version of the Medical Outcomes Study Sleep Scale (MOS-Sleep), originally developed by the RAND Corporation (Santa Monica, CA, USA), which assesses sleep latency, duration, efficiency, and daytime sleepiness [19,20]. This instrument generates continuous scores ranging from 0 to 100 for each subdomain, where higher scores indicate greater levels of the construct being measured. The scale also provides a summary index which reflects overall sleep disturbances, with higher scores indicating greater impairment in sleep quality [21,22,23,24].
Psychological stress was evaluated using the validated Spanish version of the State–Trait Anxiety Inventory (STAI), originally developed by Spielberger et al. (University of South Florida, Tampa, FL, USA) and distributed by Mind Garden, Inc. (Palo Alto, CA, USA). The instrument consists of two 20-item subscales: AnxState (state anxiety) and AnxTrait (trait anxiety). The AnxState measures transient, situational anxiety, while the AnxTrait evaluates stable, long-term anxiety tendencies. Each subscale yields a continuous score ranging from 20 to 80, which was categorized into three levels: low (≤30), moderate (31–49), and high (≥50) anxiety [25]. For analytical purposes, each level was further recoded into a separate binary variable: participants classified within a specific level (low, moderate, or high) were coded as 1, while those in the remaining levels were coded as 0. This discretization allowed us to identify and model distinct stress profiles in both the unsupervised and supervised analyses.
Physical activity was assessed using the International Physical Activity Questionnaire (IPAQ), developed by the IPAQ Research Committee (international collaborative group), and categorized into three levels according to total weekly energy expenditure in metabolic equivalent minutes (MET-min/week): low (<600 MET-min/week), moderate (600–1500 MET-min/week), and high (≥1500 MET-min/week) [26]. For analytical purposes, each category was additionally recoded as a separate binary variable: participants classified as belonging to a given activity level were coded as 1, while those in the other two categories were coded as 0. This approach enabled the identification of specific behavioral profiles associated with each physical activity level.

2.1.4. Dietary Intake

Dietary intake was assessed using a semiquantitative Food Frequency Questionnaire (FFQ) comprising 104 food items, developed by the National Institute of Public Health (INSP, Cuernavaca, Morelos, Mexico) [27]. Habitual intake of total energy, macronutrients (proteins, carbohydrates, total fats), fiber, simple sugars (glucose, fructose, galactose, sucrose, lactose, maltose), a detailed lipid profile (saturated, monounsaturated, polyunsaturated, animal and vegetable fats), and selected micronutrients (e.g., vitamin D) was estimated using the Nutritional Habits and Nutrient Intake Evaluation System (SNUT, version 1.0, INSP, Cuernavaca, Morelos, Mexico) [28]. Estimates were based on reported consumption frequency and standard portion sizes, using nutrient composition data from the Mexican System of Equivalent Foods (SMAE) developed by the INSP and the Mexican Ministry of Health (Mexico City, Mexico) [29]. Daily nutrient intake was calculated and expressed as grams per day (g/day). The FFQ and SMAE have been validated in Mexican populations and reflect local dietary patterns and food preparation practices [30].
For the purposes of this study, fructose intake was classified into two categories: natural fructose and added fructose. Natural fructose was defined as the monosaccharide naturally present in unprocessed foods such as fruits, vegetables, and natural fruit juices. Added fructose was defined as the monosaccharide introduced during food processing or preparation, including that found in sweetened beverages (soda or commercial juices), candies, processed cereals, and other ultra-processed foods, often in the form of free fructose, HFCS, or as part of sucrose. For foods containing sucrose, the fructose moiety was estimated considering the molecular composition of sucrose (C12H22O11). Since sucrose has a molecular weight of 342 g/mol and consists of one glucose unit (180 g/mol) and one fructose unit (180 g/mol) and a water molecule is lost (18 g/mol), the fructose content was calculated as: (sucrose value/342) × 180. Thus, approximately 52.6% of sucrose content was attributed to fructose.
Each food item in the FFQ was categorized accordingly, and daily intake was calculated as follows:
  • Natural fructose intake (g/day): sum of fructose from intrinsic sources (e.g., fruits, vegetables, and natural juices), calculated according to portion size and reported frequency of consumption.
  • Added fructose intake (g/day): sum of fructose from industrially processed foods and beverages, including free fructose, HFCS, and the fructose moiety of sucrose, based on typical composition values and reported consumption.
Total daily fructose intake was then obtained by summing both components. This operational classification enabled a more nuanced and accurate analysis of fructose consumption patterns in the study population.
To identify individuals with elevated fructose consumption, total fructose intake was categorized into two levels based on a predefined threshold. High fructose intake was defined as consumption greater than 25 g per day (>25 g/day). Participants consuming 25 g per day or less were classified as having low-to-moderate fructose intake. This binary classification was used as the primary outcome variable in the supervised machine learning models.

2.2. Methods and Computational Framework

The analysis followed a three-step strategy: (1) data preprocessing, (2) unsupervised clustering, and (3) supervised classification. Figure 1 illustrates the overall workflow of the study.
Phase 1: Data Preprocessing. The dataset comprises clinical, biochemical, lifestyle, and nutritional data. Furthermore, total fructose intake, along with daily consumption of natural and added fructose, was estimated using data from the SNUT. To prepare the data for analysis, continuous variables were standardized using Z-score normalization (mean = 0, standard deviation = 1), and dichotomous variables were numerically encoded. Although log-transformation of highly skewed dietary variables is a common preprocessing step, we retained the original scale after verifying that key features did not exhibit extreme skewness based on histogram inspection and skewness coefficients. Outliers (defined as data points located in sparse regions of the feature space) were identified using the Isolation Forest algorithm [31] with default parameters (n_estimators = 100, contamination = auto). This unsupervised method isolates anomalies by recursively partitioning the feature space, and observations with high anomaly scores were excluded prior to analysis. Skewness coefficients for all dietary predictors were computed (Supplementary Table S3). Most variables exhibited moderate or low skewness (|skew| < 2), whereas some fructose-source features showed marked right-skew consistent with occasional consumption patterns. This pattern reflects the expected zero-inflation of dietary data and does not compromise model performance given the use of tree-based and standardized regression models.
Phase 2: Clustering and Pattern Identification. To identify meaningful subgroups based on clinical, dietary, and biochemical similarities, K-means clustering was applied to the full set of standardized variables, without using any predefined labels related to fructose intake. The optimal number of clusters was determined using internal validation metrics, including Silhouette (which measures how well samples fit within their assigned cluster), Davies–Bouldin Index (which quantifies intra- and inter-cluster similarity), and Calinski–Harabasz Score (which evaluates the ratio of between-cluster dispersion to within-cluster dispersion). Clusters were subsequently interpreted using PCA biplots and post hoc profiling, allowing the identification of distinctive metabolic and nutritional patterns across groups.
Phase 3: Supervised Classification Models. The final phase involved supervised classification models to identify the clinical, dietary, and behavioral factors associated with fructose intake. A binary target variable was constructed based on individuals consuming more than 25 g per day were labeled as 1 (high intake), and those consuming less were labeled as 0 (low intake). Importantly, variables directly representing fructose intake were excluded from the input features in this phase to avoid information leakage. These variables were only used during unsupervised clustering and post hoc descriptive profiling.
In addition to ensemble-based models such as XGBoost, Random Forest, and HistGradientBoosting, logistic regression was implemented as a benchmark model due to its simplicity and statistical transparency. To enhance interpretability, Shapley Additive Explanations (SHAP) values were computed for the XGBoost model. SHAP quantifies the relative contribution of each feature to the model’s classification output, with positive values indicating stronger association with high fructose consumption and negative values with low consumption. Mean absolute SHAP values were used to rank features globally, while individual SHAP values illustrated local relationships between specific variables and the model’s estimated class membership.
For the supervised models, the dataset—balanced using the ADASYN algorithm—was randomly divided into training (70%) and testing (30%) subsets using stratified sampling to preserve class distribution. Hyperparameter tuning was performed through 10-fold cross-validation on the training set to ensure model stability. For XGBoost, regularization parameters (lambda, alpha) and tree-related hyperparameters (max_depth, learning_rate, subsample) were optimized via grid search. Random Forest and HistGradientBoosting models were fitted using bootstrapped samples with replacement, and model configurations were selected based on average performance metrics across folds to evaluate consistency rather than predictive superiority. Feature importance was estimated using impurity-based measures, while SHAP values were calculated for the XGBoost model to provide a class-specific, model-agnostic interpretation of feature associations. Additionally, logistic regression was included as a benchmark due to its transparency and interpretability. This model was fitted on standardized features, with class balance addressed using ADASYN prior to fitting, and penalty and regularization parameters optimized through grid search.
Model performance was evaluated on the test set using balanced accuracy, sensitivity, specificity, F1-score, and the area under the receiver operating characteristic curve (AUC). All computational analyses were performed in Google Colab (Alphabet Inc., Mountain View, CA, USA) using Python 3.12.12 (Python Software Foundation, Wilmington, DE, USA) within Jupyter Notebook 7.4.6. Data preprocessing, clustering, and supervised learning models (Random Forest, Logistic Regression, and Histogram-based Gradient Boosting) were implemented using the scikit-learn library (version 1.6.1), while xgboost (version 3.1.1) was employed for gradient boosting optimization. Data management and numerical computations relied on pandas (version 2.2.2) and numpy (version 1.26.4), respectively. SHAP values for model interpretability were obtained using the shap package (version 0.45.0). For detailed algorithmic formulations and mathematical definitions, please refer to the Supplementary Materials.

3. Results

A total of 3156 participants were initially enrolled in the Tlalpan 2020 cohort, of whom 1151 with complete data and validated food frequency questionnaires were included in this analysis. At baseline, participants had a median age of 40 years (IQR: 31–46), with similar age distributions between sexes. Overall, the cohort showed a high median BMI (29 kg/ m 2 ), with men presenting slightly higher BMI, waist circumference, and blood pressure compared to women. Low physical activity was reported by more than one-third of participants, particularly men, while women exhibited a higher prevalence of trait anxiety. Alcohol consumption was frequent (74%) and about one-third of participants were current smokers. Detailed baseline characteristics are presented in Table 1.
Biochemical assessments revealed similar glucose levels across sexes, while men had higher uric acid, creatinine, and triglyceride concentrations. Women showed slightly higher total cholesterol. Median total fructose intake was 53 g/day, with women consuming more fructose from fruits and men obtaining more from soda and artificial sources. Overall, carbohydrate intake was high, with men reporting greater consumption of carbohydrates, proteins, and fats, whereas fiber intake was comparable between sexes. Detailed values are provided in Table 1.
To address class imbalance, the dataset was balanced using ADASYN, resulting in an analytic sample of 1721 individuals. Subsequent analyses identified three distinct clusters with significant differences in metabolic profiles and fructose intake. Supervised models were then applied to examine and distinguish patterns associated with high fructose consumption, identifying key clinical, nutritional, and behavioral features as detailed in the following sections.

3.1. Cluster Analysis

After preprocessing, unsupervised k-means clustering was performed on standardized variables without predefined class labels, revealing three data-driven clusters ( k = 3 ). Internal validation metrics (Silhouette Score = 0.209, Davies–Bouldin Index = 1.506, Calinski–Harabasz Score = 406.8) indicated moderate separation; however, the three-cluster solution was retained for its clinical interpretability, representing low, intermediate, and high intake patterns. Cluster sizes were C0 = 484, C1 = 531, and C2 = 136 participants. Although PCA was not used for clustering, a two-dimensional projection of the first two components (explaining 65.1% of total variance; Figure 2) was used for visualization. Clustering was conducted on the complete standardized dataset to preserve the full variance structure.
Figure 2 and Figure 3 illustrate three data-driven dietary patterns identified through clustering. Cluster 0 (blue) displayed intermediate nutrient intakes and anthropometric indicators. Cluster 1 (orange) showed moderate-to-high macronutrient and energy intake with comparable anthropometric measures. Cluster 2 (red) exhibited the highest overall energy and nutrient intake, larger body size, and slightly less favorable renal biomarkers, along with a relatively greater contribution from added sugars.
To further describe the clusters, their associations with variables not included in the clustering process were examined (Table 2). Energy intake varied across clusters (p < 0.001): Cluster 2 had the highest median intake (≈3540 kcal/day) with proportionally greater contributions from protein, carbohydrates, and fat; Cluster 1 showed intermediate intake (≈2400 kcal/day); and Cluster 0 the lowest (≈1670 kcal/day). Fructose intake displayed a similar gradient, with Cluster 2 showing the highest and Cluster 0 the lowest levels. When adjusted per 1000 kcal, neither total, natural, nor added fructose differed significantly between clusters (both p 0.22 ), suggesting that higher fructose intake in Cluster 2 reflects greater total energy intake rather than higher relative sugar contribution.
In absolute terms (g/day), intakes of natural juice, fruits, cereals, and soda were significantly higher in Cluster 2 (all p 0.006 ). After adjustment for total energy intake, Cluster 2 showed the highest density of natural juice ( p = 0.039 ), whereas Cluster 0 exhibited the highest densities of added sugar sources, particularly soda, candies, and cereals per 1000 kcal (all p 0.002 ). Fruit density did not differ significantly across clusters ( p = 0.183 ). Overall, Cluster 2 was characterized by a higher total energy and food volume pattern, while Cluster 0 displayed a relatively greater contribution of added sugars within a lower caloric intake.
Anthropometric variables showed a gradient consistent with the dietary patterns: body weight, waist circumference, and BMI were highest in Cluster 2, intermediate in Cluster 1, and lowest in Cluster 0 (all p 0.042 ). Similarly, uric acid and serum creatinine levels were higher in Cluster 2 (p = 0.003 and <0.001), while glucose, total cholesterol, triglycerides, sodium, and the atherogenic index did not differ significantly between clusters (all p 0.16 ). Lifestyle variables also varied, with snoring and ever-smoking being more frequent in Cluster 2 (p = 0.009 and 0.001), a non-significant tendency observed for current smoking (p = 0.079), and comparable alcohol and energy drink consumption across clusters.
The Sankey diagrams (Figure 4) provided a complementary visualization of fructose intake patterns across clusters. Each link represents the cluster-wise arithmetic mean intake of each fructose source (g/day) and its energy-adjusted equivalent (g/1000 kcal), calculated as individual intake divided by total energy (kcal/1000). Cluster 2 showed the highest absolute intake, mainly from sodas, fruits, and cereals. Cluster 1 presented intermediate contributions, whereas Cluster 0, despite lower total intake, exhibited a relatively higher proportion of added fructose after energy adjustment, indicating greater dependence on sweetened products relative to caloric intake. This graphical representation highlights both the magnitude and composition of fructose sources, complementing the numerical findings in Table 2.
Overall, Cluster 2 was characterized by higher total energy intake, larger body size, and modestly elevated renal biomarkers. Cluster 0 presented lower energy intake but a higher relative contribution from added-sugar sources, while Cluster 1 showed intermediate patterns, combining moderate intake levels with intermediate anthropometric and metabolic measures.
Unsupervised clustering revealed distinct dietary and metabolic profiles within the cohort but did not quantify the relative influence of individual variables on fructose intake. To complement this, supervised learning models were applied to identify and rank features associated with high versus low intake. This integrative strategy combined pattern discovery with feature-level interpretability, enhancing the overall understanding of fructose-related associations.

3.2. Supervised Algorithms and Model Interpretation

Based on the cluster-derived profiles, supervised models were applied to classify individuals with high or low fructose intake. To enhance interpretability, SHAP values from the best-performing XGBoost model were used (Figure 5). SHAP is a game-theoretic framework that decomposes model outputs into additive effects of individual features, enabling assessment of their overall relevance across the population (global interpretation) and their role in specific observations (local interpretation).
Globally, the most relevant features included BMI, fructose from natural juices, alcohol consumption, triglycerides, creatinine, smoking status, and age, encompassing clinical, dietary, and behavioral dimensions. In the high-intake group, higher BMI, fructose from natural juices and sodas, candies, triglycerides, creatinine, and smoking were most strongly associated with classification as high consumers. Conversely, negative SHAP values in the low-intake group indicated lower consumption of natural juices, triglycerides, alcohol, and smoking. Age also contributed to model differentiation, with older participants more frequently classified in the low-intake group, possibly reflecting differences in dietary patterns or health awareness.
Some variables, such as BMI, juice intake, and smoking, showed relevance in both high- and low-intake groups, reflecting the nonlinear, context-dependent structure of the XGBoost model. For example, higher BMI or greater juice consumption were associated with classification into the high-intake group, whereas moderate values aligned with lower intake. Similarly, smoking was not consistently linked to higher intake but, when combined with other factors, contributed to model differentiation toward the high-intake category.
Overall, Figure 5 identifies the most relevant features linked to fructose intake levels and illustrates both the direction and magnitude of their influence on model classification. This visualization provides a detailed view of how multiple factors jointly shape the model’s output, underscoring the importance of evaluating the overall profile of each participant rather than isolated variables.
In this analysis, the XGBoost classifier was trained using optimized hyperparameters (learning rate = 0.1, max depth = 3, n estimators = 100). The model achieved a balanced accuracy of 80.96%, an AUC of 88.08%, a sensitivity of 89.47%, a specificity of 72.45%, and an F1-score of 85.30%. These results indicate robust model performance. To complement the SHAP-based interpretation from XGBoost, Random Forest and HistGradientBoosting models were also trained. Feature importance values were extracted and normalized to allow direct comparison across models (Table 3).
Both ensemble models consistently identified anthropometric indicators—particularly BMI—as the most relevant features, with waist circumference and weight also ranking highly in HistGradientBoosting. Lifestyle and behavioral factors, including alcohol intake, snoring, and sleep quality, were additionally relevant, whereas anxiety-related variables appeared less prominent, except for high state anxiety in Random Forest. In terms of performance, both models reached balanced accuracies near 87–88% and AUC values around 87%, reflecting stable model performance under optimal parameter settings (Table 3).
SHAP analysis provided both global and individual-level interpretability for the XGBoost model, while Random Forest and HistGradientBoosting offered complementary perspectives on the relative importance of features at the population level. The SHAP summary plot (Figure 5) illustrates average associations by class, and instance-level values were examined to explore feature contributions in individual participants.
Although logistic regression performed slightly below the ensemble methods (Table 4), it provided transparent and easily interpretable coefficients. Detailed coefficients and 95% confidence intervals are presented in Table 5. The model identified associations with key dietary components (natural and added fructose sources) and lifestyle factors (alcohol intake and smoking), although only six of the fifteen top-ranked variables reached statistical significance (p < 0.05). These findings underscore the complementary value of integrating traditional regression with machine learning to more clearly characterize the behavioral and nutritional markers associated with excessive fructose intake.

4. Discussion

In the context of increasing data availability and the growing complexity of metabolic disorders, ML techniques have become valuable tools in nutritional epidemiology. Unlike traditional statistical approaches that often rely on linear assumptions or predefined hypotheses, ML enables the exploration of complex, non-linear associations among clinical, dietary, and behavioral variables [32,33,34].
In this study, ensemble-based algorithms, particularly XGBoost and Random Forest, helped uncover markers statistically associated with excessive fructose intake, spanning both metabolic indicators and behavioral factors [35,36,37]. These results highlight the complementary role of ML in enhancing conventional analyses by capturing multifactorial patterns that may remain undetected with traditional methods. The clustering analysis revealed three distinct metabolic–nutritional profiles, indicating that fructose consumption is embedded within heterogeneous dietary and metabolic contexts rather than reflecting a uniform risk pattern.
Cluster 2 was characterized by higher overall energy intake (≈3540 kcal/day) and proportionally greater consumption of protein, carbohydrates, fat, and fructose. Participants in this cluster also exhibited higher body weight, waist circumference, uric acid, and creatinine levels, together with a greater prevalence of smoking and snoring. These findings suggest that elevated fructose intake frequently co-occurs with broader patterns of high energy consumption and lifestyle behaviors linked to metabolic strain. Previous research has reported similar associations, noting that increased fructose exposure tends to parallel uric acid accumulation and early metabolic alterations [38].
Cluster 1 presented intermediate levels of energy and nutrient intake (≈2400 kcal/day), along with moderate anthropometric and biochemical indicators. Compared with Cluster 0, this group showed higher protein intake, a pattern that has been previously associated with favorable metabolic outcomes such as reduced lipogenesis and improved postprandial glucose regulation [39,40,41,42]. This dietary composition may help contextualize the relatively balanced metabolic profile observed in this cluster despite higher overall energy consumption.
Cluster 0 represented the lowest intake profile (≈1670 kcal/day), characterized by lower body weight, waist circumference, uric acid, and creatinine levels. However, when adjusted for energy, this group exhibited the highest relative proportion of added fructose, particularly from soda, candies, and cereals. This indicates that within a lower-calorie dietary pattern, added sugars contribute a larger share of total energy intake. Although the current metabolic indicators appear favorable, such dietary composition may warrant attention given its greater dependence on refined sugar sources.
These unsupervised findings provided the basis for the subsequent analytical phase, in which supervised learning techniques were used to characterize the factors most strongly associated with varying fructose consumption profiles. While clustering uncovered latent phenotypes linked to metabolic diversity, the supervised models identified the variables contributing most to distinguishing individuals with higher versus lower fructose intake. Algorithms such as XGBoost, Random Forest, and HistGradientBoosting demonstrated stable performance and consistently indicated that anthropometric measures, sleep duration, alcohol consumption, and state anxiety were among the most relevant correlates [43,44]. Collectively, these results underscore the utility of ML methods for describing complex, multidimensional relationships within dietary and behavioral data.
Our findings align with recent applications of ML in nutrition and food sciences. For instance, Davies et al. [14] applied k-nearest neighbors to estimate added sugar in packaged foods, achieving high predictive accuracy, while Kim et al. [45] used ensemble neural networks with Vis/NIR spectroscopy to estimate sugar content in citrus fruits, reporting similarly strong performance
The growing application of ML in nutrition research reflects increasing interest in the metabolic and functional implications of fructose consumption. Beyond dietary behavior, Jeong et al. [46] applied multiple algorithms, including decision trees, support vector machines, and neural networks, to classify sweeteners such as fructose, allulose, and kestose in food matrices using hyperspectral imaging, with results indicating robust model performance.
The central finding from our analysis is the differential associations of added versus natural fructose with biochemical and anthropometric indicators. Unlike traditional regression approaches that often aggregate these sources under a generalized sugar intake construct, our ML approach separated them and revealed that added fructose was more strongly associated with uric acid, triglycerides, and waist circumference, even after accounting for caloric intake, physical activity, and BMI. These observations are consistent with mechanistic hypotheses suggesting that hepatic de novo lipogenesis and purine metabolism may be disproportionately affected by added fructose, particularly in populations with high baseline metabolic risk [47,48,49].
Although the ensemble models outperformed logistic regression in classification, the latter offered greater transparency and interpretability. The logistic model confirmed associations with key dietary features, such as natural fructose intake, fruit, and industrialized sources (soda and candies), along with lifestyle factors including alcohol consumption and smoking. Notably, only 6 of the top 15 markers reached statistical significance (p < 0.05), indicating that while some variables show clearer associations, others may contribute in combination within the multivariate structure of more complex models. This underscores the complementary value of integrating traditional regression with ML techniques to interpret and refine observed patterns.
From a systems science perspective, the use of SHAP values provided a transparent view of feature importance, enhancing interpretability while preserving model performance. This approach highlights the relative associations of variables, offering insights that may support future applications in public health. In particular, the concept of consumption thresholds [50]—beyond which added fructose is hypothesized to increase metabolic risk—suggests the need for further research to evaluate their applicability in specific populations. Such evidence, once consolidated, could contribute to refining dietary guidelines and informing behavioral or policy interventions.
Our findings connect with the broader discourse on the social determinants of health. In urban contexts such as Mexico City, where processed food consumption is widespread and dietary choices are shaped by socioeconomic factors, identifying the metabolic risks associated with added sugars is a matter of public health relevance. In this sense, ML serves not only as a technical methodology but also as a tool to explore social and nutritional diagnostics.
An important avenue for future research is the design of dietary interventions tailored to the phenotypes identified in our cluster analysis. For example, Cluster 1 combined higher BMI and uric acid levels with moderate nutrient intake, suggesting a pattern of metabolic vulnerability. In this context, low-carbohydrate approaches (e.g., ketogenic diets), which emphasize higher protein and fat while limiting sugars, warrant further evaluation. Although beyond the scope of the present study, such strategies could be empirically tested in future work to determine their relevance for metabolically at-risk subgroups.
Importantly, while ML methods offer considerable advantages, their use requires epistemological caution. Data-driven insights should complement, rather than replace, causal inference and theoretical perspectives, and must be interpreted within an interdisciplinary framework that integrates computational, biological, and social dimensions.
This study illustrates the potential of ML to connect individual-level metabolic patterns with broader public health considerations. By combining algorithmic tools with established scientific knowledge and a population health perspective, future research may enhance the monitoring and understanding of dietary transitions, particularly in vulnerable groups. Such approaches could ultimately contribute to more adaptive and equitable strategies for health promotion.

5. Strengths and Limitations

This study has several important strengths. First, we employed both unsupervised and supervised machine learning techniques to analyze clinical, behavioral, biochemical, and nutritional markers associated with excessive fructose intake. The combination of clustering and supervised modeling provided complementary perspectives, enabling the identification of meaningful metabolic profiles and distinctions between individuals with higher and lower fructose consumption. Second, the use of SHAP values enhanced interpretability, clarifying how specific variables—such as BMI, triglycerides, alcohol intake, and sleep patterns—were linked to the model’s outputs. Third, the dataset is drawn from a well-characterized urban Mexican cohort, with detailed dietary data and validated instruments, offering a rich multidimensional view of metabolic health.
However, several limitations must be acknowledged. The cross-sectional design precludes causal inference. Key variables such as dietary intake and sleep quality were self-reported and therefore subject to recall or reporting bias. Although the ML models showed good performance, their applicability depends on data quality and context and may not directly extend to other populations. Nonetheless, even with cross-validation and regularization applied to mitigate overfitting, the complexity of ensemble models may still entail a residual overfitting risk, particularly given the moderate sample size of the cohort. Overfitting commonly arises when models capture noise or spurious correlations in the training data rather than generalizable patterns, especially when data are limited or heterogeneous [51,52].
The clustering approach was exploratory and data-driven: while it identified subgroups with distinct clinical and nutritional profiles, these clusters lack predefined clinical meaning and require validation. Accordingly, the findings should be viewed as hypothesis-generating rather than definitive. Overall, integrating advanced modeling with clinical and nutritional variables provides useful insights into patterns of excessive fructose intake and lays the groundwork for future confirmatory research.

6. Conclusions

While exploratory, this work provides a foundation for future research aimed at refining dietary recommendations and developing targeted interventions to reduce added sugar consumption, particularly in middle-income urban populations facing rapid dietary transitions. Beyond methodological innovation, our findings underscore the nutritional relevance of distinguishing between natural and added fructose, as their associations with metabolic and anthropometric markers were not equivalent. The results suggest that excessive fructose intake is embedded in broader dietary and behavioral profiles, reinforcing the need for integrative nutritional strategies to mitigate related health risks in vulnerable populations.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/nu17223623/s1, Table S1: Overview of the variables included in the descriptive and analytical phases of the study, including their labels, definitions, and data types (C: continuous, D: discrete). Table S2: Top five variables contributing most strongly to each principal component based on absolute loading values. Table S3: Skewness coefficients for dietary variables. Most variables show moderate or low skewness (|skew| < 2), supporting the decision to retain the original scale. Figure S1: Cumulative explained variance of the principal components.

Author Contributions

G.G.-E. led the conceptualization of the study, designed the methodology, developed and validated the software, conducted formal analysis, drafted the original manuscript, and oversaw both supervision and project administration. M.M.-G. was responsible for formal analysis, methodology development, and assisted in the writing and revision of the manuscript. M.d.C.G.S. provided expert guidance on nutritional methodology, supported the dietary data interpretation, and assisted in validating the fructose intake estimations. L.M.A.-G. participated in data curation, investigation, and contributed to the review and editing of the manuscript. M.B.-P. contributed to data visualization, managed resources, and participated in the review and editing process. T.R.-d. contributed to the methodology, performed additional validation and contributed to the review and editing of the manuscript. E.H.-L. provided general supervision and project administration, designed and review the formal analysis and contributed to manuscript review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Secretariat of Science, Humanities, Technology and Innovation (SECIHTI, México), Investigadores por México, Grant number 7186.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Bioethics Committee of the National Institute of Cardiology “Ignacio Chávez” in Mexico City (protocol ID: 13-802 and date of approval 19 February 2013.).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The original contributions presented in the study are included in the article/Supplementary Material; further inquiries can be directed to the corresponding authors.

Acknowledgments

This research was supported by the Secretariat of Science, Humanities, Technology and Innovation (SECIHTI, México), Investigadores por México program, No. 1591. The authors gratefully acknowledge the advisory group of Maite Vallejo and Tlalpan 2020 project for their logistic support in this work and to Manlio F. Marquez for helpful discussions and clinical feedback.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Stern, D.; Piernas, C.; Barquera, S.; Rivera, J.A.; Popkin, B.M. Caloric beverages were major sources of energy among children and adults in Mexico, 1999–2012. J. Nutr. 2014, 144, 949–956. [Google Scholar] [CrossRef]
  2. Singh, G.M.; Micha, R.; Khatibzadeh, S.; Shi, P.; Lim, S.; Andrews, K.G.; Engell, R.E.; Ezzati, M.; Mozaffarian, D.; Global Burden of Diseases Nutrition and Chronic Diseases Expert Group (NutriCoDE). Global, regional, and national consumption of sugar-sweetened beverages, fruit juices, and milk: A systematic assessment of beverage intake in 187 countries. PLoS ONE 2015, 10, e0124845. [Google Scholar] [CrossRef] [PubMed]
  3. Malik, V.S.; Hu, F.B. The role of sugar-sweetened beverages in the global epidemics of obesity and chronic diseases. Nat. Rev. Endocrinol. 2022, 18, 205–218. [Google Scholar] [CrossRef]
  4. Sánchez-Pimienta, T.G.; Batis, C.; Lutter, C.K.; Rivera, J.A. Sugar-sweetened beverages are the main sources of added sugar intake in the Mexican population. J. Nutr. 2016, 146, 1888S–1896S. [Google Scholar] [CrossRef]
  5. Aburto, T.C.; Pedraza, L.S.; Sánchez-Pimienta, T.G.; Batis, C.; Rivera, J.A. Discretionary foods have a high contribution and fruit, vegetables, and legumes have a low contribution to the total energy intake of the Mexican population. J. Nutr. 2016, 146, 1881S–1887S. [Google Scholar] [CrossRef]
  6. Cantoral, A.; Contreras-Manzano, A.; Luna-Villa, L.; Batis, C.; Roldán-Valadez, E.A.; Ettinger, A.S.; Mercado, A.; Peterson, K.E.; Téllez-Rojo, M.M.; Rivera, J.A. Dietary sources of fructose and its association with fatty liver in mexican young adults. Nutrients 2019, 11, 522. [Google Scholar] [CrossRef] [PubMed]
  7. World Health Organization. Guideline: Sugars Intake for Adults and Children; World Health Organization: Geneva, Switzerland, 2015. [Google Scholar]
  8. Santhekadur, P.K. The dark face of fructose as a tumor promoter. Genes Dis. 2019, 7, 163–165. [Google Scholar] [CrossRef] [PubMed]
  9. Dommarco, J.Á.R.; Aragonés, M.A.C.; Fuentes, M.L.; Martínez, T.G.d.C.; Salinas, C.A.A.; Licona, G.H.; Barquera, S. La Obesidad en México. Estado de la Política Pública y Recomendaciones Para su Prevención y Control; Instituto Nacional de Salud Pública de México: Morelos, México, 2018; p. 271. [Google Scholar]
  10. Burger, K.; Trauner, M.M.; Bergheim, I. Pathogenic aspects of fructose consumption in metabolic dysfunction-associated steatotic liver disease (MASLD): A narrative review. Cell Stress 2025, 9, 49. [Google Scholar] [CrossRef]
  11. Muriel, P.; López-Sánchez, P.; Ramos-Tovar, E. Fructose and the Liver. Int. J. Mol. Sci. 2021, 22, 6969. [Google Scholar] [CrossRef]
  12. Oviedo-Solís, C.I.; Hernández-Alcaraz, C.; Sánchez-Ortíz, N.A.; López-Olmedo, N.; Jáuregui, A.; Barquera, S. Association of sociodemographic and lifestyle factors with dietary patterns among men and women living in Mexico City: A cross-sectional study. Front. Public Health 2022, 10, 859132. [Google Scholar] [CrossRef]
  13. Zheng, X.; Pan, F.; Naumovski, N.; Wei, Y.; Wu, L.; Peng, W.; Wang, K. Precise prediction of metabolites patterns using machine learning approaches in distinguishing honey and sugar diets fed to mice. Food Chem. 2024, 430, 136915. [Google Scholar] [CrossRef]
  14. Davies, T.; Louie, J.C.Y.; Ndanuko, R.; Barbieri, S.; Perez-Concha, O.; Wu, J.H. A machine learning approach to predict the added-sugar content of packaged foods. J. Nutr. 2022, 152, 343–349. [Google Scholar] [CrossRef]
  15. AlYammahi, J.; Darwish, A.S.; Lemaoui, T.; AlNashef, I.M.; Hasan, S.W.; Taher, H.; Banat, F. Parametric analysis and machine learning for enhanced recovery of high-value sugar from date fruits using supercritical CO2 with co-solvents. J. CO2 Util. 2023, 72, 102511. [Google Scholar] [CrossRef]
  16. Colin-Ramirez, E.; Rivera-Mancia, S.; Infante-Vazquez, O.; Cartas-Rosado, R.; Vargas-Barron, J.; Madero, M.; Vallejo, M. Protocol for a prospective longitudinal study of risk factors for hypertension incidence in a Mexico City population: The Tlalpan 2020 cohort. BMJ Open 2017, 7, e016773. [Google Scholar] [CrossRef]
  17. Riis, P. Thirty years of bioethics: The Helsinki Declaration 1964–2003. New Rev. Bioeth. 2003, 1, 15–25. [Google Scholar] [CrossRef] [PubMed]
  18. Chobanian, A.V.; Bakris, G.L.; Black, H.R.; Cushman, W.C.; Green, L.A.; Izzo, J.L., Jr.; Jones, D.W.; Materson, B.J.; Oparil, S.; Wright, J.T., Jr.; et al. Seventh report of the joint national committee on prevention, detection, evaluation, and treatment of high blood pressure. Hypertension 2003, 42, 1206–1252. [Google Scholar] [CrossRef]
  19. Amezcua-Guerra, L.M.; Pazarán-Romero, G.; Gutiérrez-Esparza, G.O.; Fonseca-Camarillo, G.; Martínez-García, M.; Groves-Miralrío, L.E.; Brianza-Padilla, M. Gender assessment of sleep disorders in an adult urban population of Mexico City. Salud Publica Mexico 2024, 66, 824–830. [Google Scholar] [CrossRef]
  20. Amezcua-Guerra, L.M.; Velázquez-Espinosa, K.P.; Piña-Soto, L.A.; Gutiérrez-Esparza, G.O.; Martínez-García, M.; Brianza-Padilla, M. The Self-Reported Quality of Sleep and Its Relationship with the Development of Arterial Hypertension: Perspectives from the Tlalpan 2020 Cohort. J. Clin. Med. 2024, 13, 6089. [Google Scholar] [CrossRef]
  21. Stewart, A.L.; Ware, J.E. Measuring Functioning and Well-Being: The Medical Outcomes Study Approach; Duke University Press: Durham, NC, USA, 1992; p. 449. [Google Scholar]
  22. Zagalaz-Anula, N.; Hita-Contreras, F.; Martínez-Amat, A.; Cruz-Díaz, D.; Lomas-Vega, R. Psychometric properties of the medical outcomes study sleep scale in Spanish postmenopausal women. Menopause 2017, 24, 824–831. [Google Scholar] [CrossRef] [PubMed]
  23. Akçay, B.D.; Akcay, D.; Yetkin, S. Turkish reliability and validity study of the medical outcomes study (MOS) sleep scale inpatients with obstructive sleep apnea. Turk. J. Med. Sci. 2021, 51, 268–279. [Google Scholar] [CrossRef] [PubMed]
  24. Kim, M.K.; You, J.A.; Lee, J.H.; Lee, S.A. The reliability and validity of the Korean version of the Medical Outcomes Study-Sleep Scale in patients with obstructive sleep apnea. Sleep Med. Res. 2011, 2, 89–95. [Google Scholar] [CrossRef]
  25. Spielberger, C.D.; Smith, L.H. Anxiety (drive), stress, and serial-position effects in serial-verbal learning. J. Exp. Psychol. 1966, 72, 589. [Google Scholar] [CrossRef]
  26. Craig, C.L.; Marshall, A.L.; Sjöström, M.; Bauman, A.E.; Booth, M.L.; Ainsworth, B.E.; Pratt, M.; Ekelund, U.; Yngve, A.; Sallis, J.F.; et al. International physical activity questionnaire: 12-country reliability and validity. Med. Sci. Sport. Exerc. 2003, 35, 1381–1395. [Google Scholar] [CrossRef]
  27. Hernández-Avila, M.; Romieu, I.; Parra, S.; Hernández-Avila, J.; Madrigal, H.; Willett, W. Validity and reproducibility of a food frequency questionnaire to assess dietary intake of women living in Mexico City. Salud Publica Mexico 1998, 40, 133–140. [Google Scholar] [CrossRef]
  28. Hernández-Avila, J.; González-Avilés, L.; Rosales-Mendoza, E. Manual de Usuario. SNUT Sistema de Evaluación de Hábitos Nutricionales y Consumo de Nutrimentos; Instituto Nacional de Salud Pública: Morelos, México, 2003; Response: Confirmed. [Google Scholar]
  29. Lizaur, A.B.P.; Laborde, L.M.; González, B.P. Sistema Mexicano de Alimentos Equivalentes; Fomento de Nutrición y Salud: Mexico City, Mexico, 2014. [Google Scholar]
  30. Denova-Gutiérrez, E.; Tucker, K.L.; Salmerón, J.; Flores, M.; Barquera, S. Relative validity of a food frequency questionnaire to identify dietary patterns in an adult Mexican population. Salud Publica Mexico 2016, 58, 608–616. [Google Scholar] [CrossRef]
  31. Al Farizi, W.S.; Hidayah, I.; Rizal, M.N. Isolation forest based anomaly detection: A systematic literature review. In Proceedings of the 2021 8th International Conference on Information Technology, Computer and Electrical Engineering (ICITACEE), Semarang, Indonesia, 23–24 September 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 118–122. [Google Scholar]
  32. Morgenstern, J.D.; Rosella, L.C.; Costa, A.P.; de Souza, R.J.; Anderson, L.N. Perspective: Big data and machine learning could help advance nutritional epidemiology. Adv. Nutr. 2021, 12, 621–631. [Google Scholar] [CrossRef] [PubMed]
  33. Russo, S.; Bonassi, S. Prospects and pitfalls of machine learning in nutritional epidemiology. Nutrients 2022, 14, 1705. [Google Scholar] [CrossRef] [PubMed]
  34. Krishnan, S.; Ramyaa, R. When two heads are better than one: Nutritional epidemiology meets machine learning. Am. J. Clin. Nutr. 2020, 111, 1124–1126. [Google Scholar] [CrossRef]
  35. Li, X.; Joh, H.K.; Hur, J.; Song, M.; Zhang, X.; Cao, Y.; Wu, K.; Giovannucci, E.L. Fructose consumption from different food sources and cardiometabolic biomarkers: Cross-sectional associations in US men and women. Am. J. Clin. Nutr. 2023, 117, 490–498. [Google Scholar] [CrossRef]
  36. Andersen, S.H.; Black, T.; Grassi-Oliveira, R.; Wegener, G. Can early-life high fructose exposure induce long-term depression and anxiety-like behaviours?–A preclinical systematic review. Brain Res. 2023, 1814, 148427. [Google Scholar] [CrossRef] [PubMed]
  37. Coursan, A.; Polve, D.; Leroi, A.M.; Monnoye, M.; Roussin, L.; Tavolacci, M.P.; Quillard Muraine, M.; Maccarone, M.; Guerin, O.; Houivet, E.; et al. Fructose malabsorption induces dysbiosis and increases anxiety in Human and animal models. bioRxiv 2025. [Google Scholar] [CrossRef]
  38. Zhang, P.; Sun, H.; Cheng, X.; Li, Y.; Zhao, Y.; Mei, W.; Wei, X.; Zhou, H.; Du, Y.; Zeng, C. Dietary intake of fructose increases purine de novo synthesis: A crucial mechanism for hyperuricemia. Front. Nutr. 2022, 9, 1045805. [Google Scholar] [CrossRef]
  39. Chaumontet, C.; Azzout-Marniche, D.; Blais, A.; Gaudichon, C.; Mathe, V.; Tomé, D. High dietary protein decreases fat deposition induced by high-fat and high-sucrose diet in rats. J. Nutr. Biochem. 2015, 26, 766–777. [Google Scholar] [CrossRef]
  40. Skytte, M.J.; Samkani, A.; Petersen, A.D.; Thomsen, M.N.; Astrup, A.; Chabanova, E.; Frystyk, J.; Holst, J.J.; Thomsen, H.S.; Madsbad, S.; et al. A carbohydrate-reduced high-protein diet improves HbA 1c and liver fat content in weight stable participants with type 2 diabetes: A randomised controlled trial. Diabetologia 2019, 62, 2066–2078. [Google Scholar] [CrossRef] [PubMed]
  41. Mok, A.; Haldar, S.; Lee, J.C.Y.; Leow, M.K.S.; Henry, C.J. Postprandial changes in cardiometabolic disease risk in young Chinese men following isocaloric high or low protein diets, stratified by either high or low meal frequency-a randomized controlled crossover trial. Nutr. J. 2015, 15, 27. [Google Scholar] [CrossRef]
  42. Vogtschmidt, Y.D.; Raben, A.; Faber, I.; de Wilde, C.; Lovegrove, J.A.; Givens, D.I.; Pfeiffer, A.F.; Soedamah-Muthu, S.S. Is protein the forgotten ingredient: Effects of higher compared to lower protein diets on cardiometabolic risk factors. A systematic review and meta-analysis of randomised controlled trials. Atherosclerosis 2021, 328, 124–135. [Google Scholar] [CrossRef]
  43. Shahdadian, F.; Boozari, B.; Saneei, P. Association between short sleep duration and intake of sugar and sugar-sweetened beverages: A systematic review and meta-analysis of observational studies. Sleep Health 2023, 9, 159–176. [Google Scholar] [CrossRef]
  44. Boozari, B.; Saneei, P.; Safavi, S.M. Association between sleep duration and sleep quality with sugar and sugar-sweetened beverages intake among university students. Sleep Breath. 2021, 25, 649–656. [Google Scholar] [CrossRef]
  45. Kim, S.Y.; Hong, S.J.; Kim, E.; Lee, C.H.; Kim, G. Application of ensemble neural-network method to integrated sugar content prediction model for citrus fruit using Vis/NIR spectroscopy. J. Food Eng. 2023, 338, 111254. [Google Scholar] [CrossRef]
  46. Jeong, S.; Cho, S.; Lee, S. Integrative hyperspectral imaging and artificial intelligence approaches for identifying sucrose substitutes and assessing cookie qualities. LWT 2025, 217, 117412. [Google Scholar] [CrossRef]
  47. Softic, S.; Cohen, D.E.; Kahn, C.R. Role of dietary fructose and hepatic de novo lipogenesis in fatty liver disease. Dig. Dis. Sci. 2016, 61, 1282–1293. [Google Scholar] [CrossRef]
  48. Geidl-Flueck, B.; Gerber, P.A. Fructose drives de novo lipogenesis affecting metabolic health. J. Endocrinol. 2023, 257, e220270. [Google Scholar] [CrossRef] [PubMed]
  49. Todoric, J.; Di Caro, G.; Reibe, S.; Henstridge, D.C.; Green, C.R.; Vrbanac, A.; Ceteci, F.; Conche, C.; McNulty, R.; Shalapour, S.; et al. Fructose stimulated de novo lipogenesis is promoted by inflammation. Nat. Metab. 2020, 2, 1034–1045. [Google Scholar] [CrossRef] [PubMed]
  50. Schneider, E.; Sabate, J.M.; Bouchoucha, M.; Debras, C.; Touvier, M.; Hercberg, S.; Benamouzig, R.; Buscail, C.; Julia, C. FODMAP Consumption by Adults from the French Population-Based NutriNet-Santé Cohort. J. Nutr. 2021, 151, 3180–3186. [Google Scholar] [CrossRef] [PubMed]
  51. Ying, X. An Overview of Overfitting and its Solutions. J. Phys. Conf. Ser. 2019, 1168, 022022. [Google Scholar] [CrossRef]
  52. Bu, C.; Zhang, Z. Research on Overfitting Problem and Correction in Machine Learning. J. Phys. Conf. Ser. 2020, 1693, 012100. [Google Scholar] [CrossRef]
Figure 1. Workflow for Data Preprocessing, Clustering, and Statistical Modeling of Fructose Consumption Patterns.
Figure 1. Workflow for Data Preprocessing, Clustering, and Statistical Modeling of Fructose Consumption Patterns.
Nutrients 17 03623 g001
Figure 2. Two-dimensional principal component analysis (PCA) of standardized nutrient profiles, colored by cluster assignment. The first (PC1) and second (PC2) components explained 51.1% and 12.1% of the variance, respectively, accounting for 63.2% of the total variance.
Figure 2. Two-dimensional principal component analysis (PCA) of standardized nutrient profiles, colored by cluster assignment. The first (PC1) and second (PC2) components explained 51.1% and 12.1% of the variance, respectively, accounting for 63.2% of the total variance.
Nutrients 17 03623 g002
Figure 3. Heatmap of standardized mean nutrient values across clusters. This visualization illustrates relative differences in nutrient intake levels among clusters.VitD, vitamin D (IU); Protein, total protein (g/day); ProteinAnimal, animal protein (g/day); Carbohydrates, total carbohydrate (g/day); Lactose, lactose (g/day); Maltose, maltose (g/day); Glucose, glucose (g/day); Fiber, total fiber (g/day); Sodium, sodium (mg/day); Cholesterol, cholesterol (g/day); FatSaturated, saturated fat (g/day); FatMonounsaturated, monounsaturated fat (g/day); FatPolyunsaturated, polyunsaturated fat (g/day); FatAnimal, animal fat (g/day); FatVegetal, vegetable fat (g/day); FructoseTotal, total fructose (g/day).
Figure 3. Heatmap of standardized mean nutrient values across clusters. This visualization illustrates relative differences in nutrient intake levels among clusters.VitD, vitamin D (IU); Protein, total protein (g/day); ProteinAnimal, animal protein (g/day); Carbohydrates, total carbohydrate (g/day); Lactose, lactose (g/day); Maltose, maltose (g/day); Glucose, glucose (g/day); Fiber, total fiber (g/day); Sodium, sodium (mg/day); Cholesterol, cholesterol (g/day); FatSaturated, saturated fat (g/day); FatMonounsaturated, monounsaturated fat (g/day); FatPolyunsaturated, polyunsaturated fat (g/day); FatAnimal, animal fat (g/day); FatVegetal, vegetable fat (g/day); FructoseTotal, total fructose (g/day).
Nutrients 17 03623 g003
Figure 4. Sankey diagrams showing the contribution of fructose sources across the three identified clusters. Top panel: absolute intake (g/day). Bottom panel: energy-adjusted intake (g/1000 kcal). Cluster 1 exhibited the highest absolute intake dominated by sodas and fruits; Cluster 0 showed intermediate, more balanced contributions; and Cluster 2, despite lower total intake, displayed a higher relative contribution from added fructose. FructNat, natural fructose (g/day); FructAdded, added fructose (g/day).
Figure 4. Sankey diagrams showing the contribution of fructose sources across the three identified clusters. Top panel: absolute intake (g/day). Bottom panel: energy-adjusted intake (g/1000 kcal). Cluster 1 exhibited the highest absolute intake dominated by sodas and fruits; Cluster 0 showed intermediate, more balanced contributions; and Cluster 2, despite lower total intake, displayed a higher relative contribution from added fructose. FructNat, natural fructose (g/day); FructAdded, added fructose (g/day).
Nutrients 17 03623 g004
Figure 5. SHAP summary plot of the 15 most relevant features associated with high and low fructose intake. Bars represent the mean SHAP values for each feature by class (red: high-intake; blue: low-intake participants). Positive SHAP values indicate a stronger influence toward classification as a high-intake case, while black dots represent the overall magnitude of global importance across both classes. BMI, body mass index (kg/ m 2 ); NatJuicesFruct, fructose from natural juices (g/day); Alcohol, alcohol consumption; TRIG, triglycerides (mg/dL); CREA, creatinine (mg/dL); CandiesFruct, fructose from candies (g/day); SodaFruct, fructose from soda (g/day); SleepBR, sleep breathing risk (0–100); CerealsFruct, fructose from cereals (g/day); FructAdded, added fructose (g/day); FatPolyunsaturated, polyunsaturated fat (g/day); IAT, atherogenic index; Age, age (years); FructNat, natural fructose (g/day); CurrSmoker, current smoker.
Figure 5. SHAP summary plot of the 15 most relevant features associated with high and low fructose intake. Bars represent the mean SHAP values for each feature by class (red: high-intake; blue: low-intake participants). Positive SHAP values indicate a stronger influence toward classification as a high-intake case, while black dots represent the overall magnitude of global importance across both classes. BMI, body mass index (kg/ m 2 ); NatJuicesFruct, fructose from natural juices (g/day); Alcohol, alcohol consumption; TRIG, triglycerides (mg/dL); CREA, creatinine (mg/dL); CandiesFruct, fructose from candies (g/day); SodaFruct, fructose from soda (g/day); SleepBR, sleep breathing risk (0–100); CerealsFruct, fructose from cereals (g/day); FructAdded, added fructose (g/day); FatPolyunsaturated, polyunsaturated fat (g/day); IAT, atherogenic index; Age, age (years); FructNat, natural fructose (g/day); CurrSmoker, current smoker.
Nutrients 17 03623 g005
Table 1. Baseline clinical, biochemical, behavioral, and nutritional characteristics of the study cohort, stratified by sex.
Table 1. Baseline clinical, biochemical, behavioral, and nutritional characteristics of the study cohort, stratified by sex.
VariableTotal (n = 1151)Women (n = 713)Men (n = 438)
Clinical variables a
Age (years)40 (31–46)40 (32–46)39 (30–45)
BMI (kg/ m 2 )29.0 (26.7–31.7)28.8 (26.4–31.7)29.3 (27.1–31.8)
WC (cm)95 (88–102)92.5 (86–99)98.5 (92–106)
SBP (mmHg)109 (102–117)107 (99–115)113 (107–121)
DBP (mmHg)73 (68–80)72 (66–79)78 (71–83)
Behavioral variables b
Physical activity (low), n (%)415 (36.1)236 (33.1)179 (40.9)
Physical activity (moderate), n (%)379 (32.9)260 (36.5)119 (27.2)
High anxiety (state), n (%)366 (31.8)236 (33.1)130 (29.7)
High anxiety (trait), n (%)377 (32.8)278 (39.0)99 (22.6)
Current smoker, n (%)376 (32.7)228 (32.0)148 (33.8)
Alcohol consumption, n (%)851 (73.9)512 (71.8)339 (77.4)
Biochemical variables a
Glucose (mg/dL)94 (89–101)94 (88–101)95 (90–101)
Uric acid (mg/dL)5.4 (4.6–6.5)4.9 (4.2–5.6)6.6 (5.7–7.4)
Serum creatinine (mg/dL)0.8 (0.7–0.9)0.7 (0.6–0.8)0.9 (0.9–1.0)
Total cholesterol (mg/dL)181 (162–206)180 (162–203)184 (163–209)
Triglycerides (mg/dL)142 (101–197)132 (96–181)158 (114–234)
Serum sodium (mmol/L)141 (140–142)140 (140–141)141 (140–142)
Nutritional variables a
Total fructose (g/day)50.9 (35.8–69.6)50.1 (36.7–68.6)52.3 (35.0–70.2)
Natural fructose (g/day)20.4 (13.6–28.7)21.7 (14.6–29.7)18.8 (11.4–26.3)
Added fructose (g/day)26.0 (17.0–42.7)25.2 (15.4–39.9)27.4 (17.0–46.0)
Sucrose (g/day)34.8 (25.9–46.6)33.8 (25.9–46.6)36.0 (25.9–47.1)
Carbohydrates (g/day)276 (223–336)264 (215–328)297 (241–349)
Total protein (g/day)77 (61.9–92.9)73.5 (60.8–88.7)82.2 (66.0–100.9)
Animal protein (g/day)41.4 (30.9–53.3)39.7 (30.0–50.4)46.5 (33.7–57.5)
Total fat (g/day)89.2 (70.1–111.4)84.8 (67.0–104.3)96.7 (76.5–119.0)
Saturated fat (g/day)25.2 (19.4–31.9)23.6 (18.8–30.0)27.4 (20.8–34.8)
Monounsaturated fat (g/day)35.6 (27.2–45.4)32.8 (26.4–42.9)39.1 (30.3–49.3)
Polyunsaturated fat (g/day)17.6 (14.1–24.0)17.3 (13.7–24.0)18.2 (14.5–24.0)
Fiber (g/day)6.0 (4.8–7.5)5.9 (4.8–7.5)6.1 (4.6–7.6)
Total energy intake (kcal/day)2130 (1741–2563)2058 (1680–2483)2302 (1859–2727)
a Values are expressed as median (IQR, 25th–75th percentile). b Values are expressed as n (%). BMI, body mass index; WC, waist circumference; SBP, systolic blood pressure; DBP, diastolic blood pressure.
Table 2. Comparison of energy intake, fructose sources, anthropometric, biochemical, and lifestyle variables across the three identified clusters. Values are expressed as means. Analysis of variance (ANOVA) F and p-values are reported.
Table 2. Comparison of energy intake, fructose sources, anthropometric, biochemical, and lifestyle variables across the three identified clusters. Values are expressed as means. Analysis of variance (ANOVA) F and p-values are reported.
VariableCluster 0Cluster 1Cluster 2Fp-Value
Energy intake
Total energy (kcal/day)1660.42404.33543.71526.3<0.001
Protein (kcal/day)239.2347.0524.51230.8<0.001
Carbohydrates (kcal/day)874.91231.61715.5613.8<0.001
Fat (kcal/day)546.4825.71303.81104.4<0.001
Fructose intake
Natural fructose (g/day)17.123.734.615.09<0.001
Added fructose (g/day)24.234.545.468.9<0.001
Natural fructose (g/1000 kcal)10.510.010.30.140.871
Added fructose (g/1000 kcal)14.214.312.91.50.222
Fructose sources
Natural juice (g/day)1.82.39.45.20.006
Fruits (g/day)15.321.425.314.6<0.001
Cereals (g/day)1.021.21.628.0<0.001
Candies (g/day)6.87.68.92.50.08
Soda (g/day)19.722.828.99.7<0.001
Natural juice (g/1000 kcal)1.21.03.03.30.039
Fruits (g/1000 kcal)9.39.07.31.70.183
Cereals (g/1000 kcal)0.70.50.515.8<0.001
Candies (g/1000 kcal)4.23.22.66.50.002
Soda (g/1000 kcal)12.29.58.37.60.001
Anthropometry
Height (m)1.611.631.6410.0<0.001
Waist circumference (cm)94.395.498.56.50.002
Weight (kg)75.277.681.39.6<0.001
BMI (kg/ m 2 )29.029.230.13.20.042
Age (years)38.238.436.23.40.036
Biochemical variables
Uric acid (mg/dL)5.45.75.85.70.003
Serum creatinine (mg/dL)0.70.80.88.1<0.001
Glucose (mg/dL)96.297.999.11.180.308
Total cholesterol (mg/dL)185.1184.5183.90.10.930
Triglycerides (mg/dL)160.6173.4170.41.460.233
Serum sodium (mmol/L)140.7140.4140.70.950.386
Atherogenic index2.82.92.90.80.456
Sleep and lifestyle
Sleep alterations26.7827.1527.290.050.952
Snoring39.343.548.14.80.009
Sleep breathing risk13.0612.3214.850.740.479
Sleep adequacy52.3653.5054.930.470.625
Drowsy28.2028.5930.931.460.232
Overall sleep quality6.506.596.560.490.611
Sleep optimal0.430.410.430.220.800
Smoked0.610.670.797.390.001
Currently smoking0.310.320.412.550.079
Daily smoker0.110.100.161.930.145
Ex smoker0.190.220.210.740.477
Passive smoker0.390.390.450.850.429
Alcohol consumption0.740.730.760.290.749
Energy drink consumption0.070.080.121.780.169
Table 3. Feature importance derived from XGBoost, HistGradientBoosting, and Random Forest. The SHAP column represents mean absolute Shapley values, while importance scores in the other models reflect impurity-based feature relevance.
Table 3. Feature importance derived from XGBoost, HistGradientBoosting, and Random Forest. The SHAP column represents mean absolute Shapley values, while importance scores in the other models reflect impurity-based feature relevance.
XGBoostHistGradientBoostingRandom Forest
FeatureSHAPFeatureImportanceFeatureImportance
BMI1.0564BMI0.1506BMI0.1303
Alcohol0.2563WC0.0640NatJuicesFruct0.0251
NatJuicesFruct0.2314Weight0.0485Alcohol0.0239
TRIG0.2182NatJuicesFruct0.0444FatAnimal0.0072
CandiesFruct0.1929TRIG0.0325CHOL0.0063
CREA0.1862CandiesFruct0.0285Snoring0.0063
SodaFruct0.1587SodaFruct0.0274GLU0.0049
SleepBR0.1584IAT0.0274SleepQual0.0034
CerealsFruct0.1509CerealsFruct0.0260HighAnxState0.0034
SHAP, SHapley Additive exPlanations; BMI, Body Mass Index (kg/m2); Alcohol, Alcohol consumption; WC, Waist circumference (cm); NatJuicesFruct, Fructose from natural juices (g/day); TRIG, Triglycerides (mg/dL); CREA, Creatinine (mg/dL); CandiesFruct, Fructose from candies (g/day); SodaFruct, Fructose from soda (g/day); SleepBR, Sleep breathing problems; FatAnimal, Animal fat (g/day); CHOL, Total cholesterol (mg/dL); Snoring, Snoring frequency; GLU, Glucose (mg/dL); SleepQual, Sleep quality; HighAnxState, High anxiety (State); IAT, Atherogenic Index.
Table 4. Comparison of model classification performance. Values are point estimates with 95% CIs (10-fold CV for XGBoost; bootstrap for Random Forest, HistGradientBoosting, and Logistic Regression).
Table 4. Comparison of model classification performance. Values are point estimates with 95% CIs (10-fold CV for XGBoost; bootstrap for Random Forest, HistGradientBoosting, and Logistic Regression).
AlgorithmBalanced
Accuracy
(95% CI)
Sensitivity
(95% CI)
Specificity
(95% CI)
F1 (95% CI)AUC (95% CI)
XGBoost81.8 (79.9–83.6)88.1 (84.1–92.1)75.4 (72.4–78.5)82.8 (80.9–84.7)0.893 (0.882–0.904)
Random Forest87.51 (77.11–95.85)96.92 (95.09–98.49)78.09 (57.14–94.45)97.83 (96.70–98.80)0.979 (0.960–0.994)
HistGradient Boosting88.41 (78.04–96.91)99.09 (97.88–100.00)77.74 (57.14–94.74)98.94 (98.13–99.69)0.992 (0.980–0.999)
Logistic Regression77.17 (75.35–79.26)73.33 (70.40–76.11)81.00 (78.62–83.66)76.09 (73.81–78.44)0.772 (0.753–0.793)
Table 5. Top15 logistic regression features associated with fructose intake and their statistical contribution. Arrows indicate the direction of association: ↑ positive, ↓ negative. Significant features were defined as p < 0.05 .
Table 5. Top15 logistic regression features associated with fructose intake and their statistical contribution. Arrows indicate the direction of association: ↑ positive, ↓ negative. Significant features were defined as p < 0.05 .
FeatureCoefficientDirectionp-ValueSignificant
Natural fructose (g/day)−393.98<0.001Yes
Fructose from fruits (g/day)290.09<0.001Yes
Fructose from natural juices (g/day)259.46<0.001Yes
Fructose from soda (g/day)22.390.001Yes
Added fructose (g/day)−20.150.002Yes
Fructose from candies (g/day)10.610.015Yes
Fructose from cereals (g/day)1.200.083No
Total carbohydrate (g/day)−0.910.107No
Monounsaturated fat (g/day)−0.700.129No
Vegetable fat (g/day)0.650.136No
Alcohol consumption0.530.148No
Total protein (g/day)0.510.152No
Height ( m 2 )−0.490.165No
Body mass index (kg/ m 2 )0.400.172No
Currently smokes0.370.181No
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gutiérrez-Esparza, G.; Martínez-García, M.; González Salazar, M.d.C.; Amezcua-Guerra, L.M.; Brianza-Padilla, M.; Ramírez-delReal, T.; Hernández-Lemus, E. Identifying Key Features Associated with Excessive Fructose Intake: A Machine Learning Analysis of a Mexican Cohort. Nutrients 2025, 17, 3623. https://doi.org/10.3390/nu17223623

AMA Style

Gutiérrez-Esparza G, Martínez-García M, González Salazar MdC, Amezcua-Guerra LM, Brianza-Padilla M, Ramírez-delReal T, Hernández-Lemus E. Identifying Key Features Associated with Excessive Fructose Intake: A Machine Learning Analysis of a Mexican Cohort. Nutrients. 2025; 17(22):3623. https://doi.org/10.3390/nu17223623

Chicago/Turabian Style

Gutiérrez-Esparza, Guadalupe, Mireya Martínez-García, María del Carmen González Salazar, Luis M. Amezcua-Guerra, Malinalli Brianza-Padilla, Tania Ramírez-delReal, and Enrique Hernández-Lemus. 2025. "Identifying Key Features Associated with Excessive Fructose Intake: A Machine Learning Analysis of a Mexican Cohort" Nutrients 17, no. 22: 3623. https://doi.org/10.3390/nu17223623

APA Style

Gutiérrez-Esparza, G., Martínez-García, M., González Salazar, M. d. C., Amezcua-Guerra, L. M., Brianza-Padilla, M., Ramírez-delReal, T., & Hernández-Lemus, E. (2025). Identifying Key Features Associated with Excessive Fructose Intake: A Machine Learning Analysis of a Mexican Cohort. Nutrients, 17(22), 3623. https://doi.org/10.3390/nu17223623

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop