From Plate to Glucose: ML Prediction of Postprandial Responses to Keto vs. Trditional Banquets in T2D

Authors

DOI:

https://doi.org/10.70577/ASCE/87.114/2025

Keywords:

Postprandial Glycemia, Machine Learning, ElasticNet, LOGO Validation, Personalized Nutrition.

Abstract

This study focuses on the development and rigorous evaluation of machine learning (ML) models to predict the peak postprandial glycemic response (PPGR_peak_0_120) in individuals at metabolic risk, analyzing keto versus traditional banquets. The primary objective was to integrate a comprehensive set of variables (clinical phenotype, nutritional composition, and microbiota markers) to improve individual prediction accuracy. Penalized regression models (ElasticNet, Lasso) and a nonlinear model (GradientBoosting) were applied. Validation was performed using the strict Leave-One-Group-Out (LOGO) strategy to assess the real generalization capacity to new participants. The ElasticNet model turned out to be the best performer, reaching an RMSE of 32.13 mg/dL. Although the negative R2 obtained in the LOGO validation underlines the challenge of high inter-individual variability, the relative RMSE (∼18% of the SD) is clinically acceptable. The models converged in identifying robust risk factors: BMI_kg/m2 and HbA1c_pct were consistently the most powerful predictors of peak glycemic magnitude. The findings highlight the importance of nutritional trait engineering (diet × macronutrient interactions and caloric densities), demonstrating that nutrient proportions and context are crucial. The study concludes that, while accurate individual prediction is complex, the models are valuable tools for identifying risk hierarchies and informing personalized dietary interventions in the management of Type 2 Diabetes.

Downloads

Download data is not yet available.

References

Arefeen, Asiful, et al. “Forewarning Postprandial Hyperglycemia with Interpretations Using Machine Learning.” 2022 IEEE-EMBS International Conference on Wearable and Implantable Body Sensor Networks (BSN) [Ioannina, Greece], 2022, pp. 1–4. DOI.org (Crossref), https://doi.org/10.1109/BSN56160.2022.9928449 DOI: https://doi.org/10.1109/BSN56160.2022.9928449

Barua, Souptik, et al. “A Machine Learning Framework to Quantify Postprandial Glucose Responses in Gestational Diabetes.” Diabetes Technology and Obesity Medicine, vol. 1, no. 1, Mar. 2025, pp. 12–17. DOI.org (Crossref), https://doi.org/10.1089/dtom.2024.0003 DOI: https://doi.org/10.1089/dtom.2024.0003

Ben-Yacov, Orly, et al. “Personalized Postprandial Glucose Response–Targeting Diet Versus Mediterranean Diet for Glycemic Control in Prediabetes.” Diabetes Care, vol. 44, no. 9, Sep. 2021, pp. 1980–91. DOI.org (Crossref), https://doi.org/10.2337/dc21-0162 DOI: https://doi.org/10.2337/dc21-0162

Brügger, Victoria, et al. “Predicting Postprandial Glucose Excursions to Personalize Dietary Interventions for Type-2 Diabetes Management.” Scientific Reports, vol. 15, no. 1, Jul. 2025, p. 25920. DOI.org (Crossref), https://doi.org/10.1038/s41598-025-08003-4 DOI: https://doi.org/10.1038/s41598-025-08003-4

Choudhry, Niteesh K., et al. “PERSONALIZED GLYCEMIC RESPONSES TO FOOD AMONG INDIVIDUALS WITH TYPE 2 DIABETES IN INDIA: DEVELOPMENT OF A MACHINE LEARNING PREDICTION MODEL.” 22 Oct. 2024. Endocrinology (including Diabetes Mellitus and Metabolic Disease), https://doi.org/10.1101/2024.10.20.24315560 DOI: https://doi.org/10.1101/2024.10.20.24315560

Dyńka, Damian, et al. “Ketogenic Diets for Body Weight Loss: A Comparison with Other Diets.” Nutrients, vol. 17, no. 6, Mar. 2025, p. 965. DOI.org (Crossref), https://doi.org/10.3390/nu17060965 DOI: https://doi.org/10.3390/nu17060965

Gardner, Christopher D, et al. “Effect of a Ketogenic Diet versus Mediterranean Diet on Glycated Hemoglobin in Individuals with Prediabetes and Type 2 Diabetes Mellitus: The Interventional Keto-Med Randomized Crossover Trial.” The American Journal of Clinical Nutrition, vol. 116, no. 3, Sep. 2022, pp. 640–52. DOI.org (Crossref), https://doi.org/10.1093/ajcn/nqac154 DOI: https://doi.org/10.1093/ajcn/nqac279

Ghasemi, Parisa, et al. “Impact of Very Low Carbohydrate Ketogenic Diets on Cardiovascular Risk Factors among Patients with Type 2 Diabetes; GRADE-Assessed Systematic Review and Meta-Analysis of Clinical Trials.” Nutrition & Metabolism, vol. 21, no. 1, Jul. 2024, p. 50. DOI.org (Crossref), https://doi.org/10.1186/s12986-024-00824-w DOI: https://doi.org/10.1186/s12986-024-00824-w

Goldenberg, Joshua Z, et al. “Efficacy and Safety of Low and Very Low Carbohydrate Diets for Type 2 Diabetes Remission: Systematic Review and Meta-Analysis of Published and Unpublished Randomized Trial Data.” BMJ, Jan. 2021, p. m4743. DOI.org (Crossref), https://doi.org/10.1136/bmj.m4743 DOI: https://doi.org/10.1136/bmj.m4743

Hengist, Aaron, et al. “Ketogenic Diet but Not Free-Sugar Restriction Alters Glucose Tolerance, Lipid Metabolism, Peripheral Tissue Phenotype, and Gut Microbiome: RCT.” Cell Reports Medicine, vol. 5, no. 8, Aug. 2024, p. 101667. DOI.org (Crossref), https://doi.org/10.1016/j.xcrm.2024.101667 DOI: https://doi.org/10.1016/j.xcrm.2024.101667

Ji, Chenyang, et al. “Continuous Glucose Monitoring Combined with Artificial Intelligence: Redefining the Pathway for Prediabetes Management.” Frontiers in Endocrinology, vol. 16, May 2025, p. 1571362. DOI.org (Crossref), https://doi.org/10.3389/fendo.2025.1571362 DOI: https://doi.org/10.3389/fendo.2025.1571362

Klonoff, David C., et al. “CGM Data Analysis 2.0: Functional Data Pattern Recognition and Artificial Intelligence Applications.” Journal of Diabetes Science and Technology, Aug. 2025, p. 19322968251353228. DOI.org (Crossref), https://doi.org/10.1177/19322968251353228 DOI: https://doi.org/10.1177/19322968251353228

Lim, Min Hyuk, et al. “A Deep Learning Framework for Virtual Continuous Glucose Monitoring and Glucose Prediction Based on Life-Log Data.” Scientific Reports, vol. 15, no. 1, May 2025, p. 16290. www.nature.com, https://doi.org/10.1038/s41598-025-01367-7 DOI: https://doi.org/10.1038/s41598-025-01367-7

Luo, Wei, et al. “Low Carbohydrate Ketogenic Diets Reduce Cardiovascular Risk Factor Levels in Obese or Overweight Patients with T2DM: A Meta-Analysis of Randomized Controlled Trials.” Frontiers in Nutrition, vol. 9, Dec. 2022, p. 1092031. DOI.org (Crossref), https://doi.org/10.3389/fnut.2022.1092031 DOI: https://doi.org/10.3389/fnut.2022.1092031

Merovci, Aurora, et al. “Effect of Weight-Maintaining Ketogenic Diet on Glycemic Control and Insulin Sensitivity in Obese T2D Subjects.” BMJ Open Diabetes Research & Care, vol. 12, no. 5, Oct. 2024, p. e004199. DOI.org (Crossref), https://doi.org/10.1136/bmjdrc-2024-004199 DOI: https://doi.org/10.1136/bmjdrc-2024-004199

Parra, Daniel, et al. “Learning Difference Equations with Structured Grammatical Evolution for Postprandial Glycaemia Prediction.” arXiv:2307.01238, arXiv, 3 Jul. 2023. arXiv.org, https://doi.org/10.48550/arXiv.2307.01238

Parry‐Strong, Amber, et al. “Very Low Carbohydrate (Ketogenic) Diets in Type 2 Diabetes: A Systematic Review and Meta‐analysis of Randomized Controlled Trials.” Diabetes, Obesity and Metabolism, vol. 24, no. 12, Dec. 2022, pp. 2431–42. DOI.org (Crossref), https://doi.org/10.1111/dom.14837 DOI: https://doi.org/10.1111/dom.14837

Rein, Michal, et al. “Effects of Personalized Diets by Prediction of Glycemic Responses on Glycemic Control and Metabolic Health in Newly Diagnosed T2DM: A Randomized Dietary Intervention Pilot Trial.” BMC Medicine, vol. 20, no. 1, Dec. 2022, p. 56. DOI.org (Crossref), https://doi.org/10.1186/s12916-022-02254-y DOI: https://doi.org/10.1186/s12916-022-02254-y

Shao, Jian, et al. “Generalization of a Deep Learning Model for Continuous Glucose Monitoring–Based Hypoglycemia Prediction: Algorithm Development and Validation Study.” JMIR Medical Informatics, vol. 12, May 2024, pp. e56909–e56909. DOI.org (Crossref), https://doi.org/10.2196/56909 DOI: https://doi.org/10.2196/56909

Wang, Shihan, et al. “Dynamic Prediction of Postprandial Glycemic Response and Personalized Dietary Interventions Based on Machine Learning.” The Journal of Nutrition, Sep. 2025, p. S002231662500567X. DOI.org (Crossref), https://doi.org/10.1016/j.tjnut.2025.09.023 DOI: https://doi.org/10.1016/j.tjnut.2025.09.023

Xiong, Xin, et al. “Prediction of Personalised Postprandial Glycaemic Response in Type 1 Diabetes Mellitus.” Frontiers in Endocrinology, vol. 15, Jul. 2024, p. 1423303. DOI.org (Crossref), https://doi.org/10.3389/fendo.2024.1423303 DOI: https://doi.org/10.3389/fendo.2024.1423303

Published

2025-10-02

How to Cite

Álvarez Salazar, G. C. (2025). From Plate to Glucose: ML Prediction of Postprandial Responses to Keto vs. Trditional Banquets in T2D. ANNALS SCIENTIFIC EVOLUTION, 4(4), 87–114. https://doi.org/10.70577/ASCE/87.114/2025

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.