Interpretable Multihorizon Glucose Forecasting for Assessing Nutritional Information Impact in Type 1 Diabetes Management: Model Development and Validation Study
JMIR AI · 21.09.2026 · 5 · e105049-e105049
DOI: 10.2196/105049 ↗Kurz gefasst
Fachartikel in der Zeitschrift JMIR AI, online erschienen am 21.09.2026. Verfasst von Carlos Gallardo-García und 4 weiteren Autor:innen. Beteiligte Einrichtung: Bioengineering and Telemedicine Group, Centro de Tecnología Biomédica, ETSI de Telecomunicación, Universidad Politécnica de Madrid, Avda Complutense …. Die Arbeit nennt 34 Literaturangaben. Der Volltext ist frei in PubMed Central verfügbar.
Themen: Diabetes mellitus
Abstract (Originalsprache)
Background
Type 1 diabetes is characterized by absolute insulin deficiency, requiring exogenous insulin therapy to maintain blood glucose levels within safe ranges. Postprandial glucose control remains particularly challenging, and current meal-related strategies are mainly based on carbohydrate intake. However, other macronutrients, such as fats and proteins, may also influence the magnitude and timing of the glycemic response and are not usually incorporated into glucose forecasting models.
Objective
This study aims to develop and evaluate multihorizon blood glucose forecasting models to assess the impact of incorporating detailed nutritional information, with particular emphasis on the postprandial period and to analyze how the contribution of different nutrients varies across prediction horizons.
Methods
We trained temporal fusion transformer (TFT) models on continuous glucose monitoring, insulin, and meal data with different combinations of nutritional variables from 351 adults with type 1 diabetes (15,601 meals) to predict glucose values up to 4 hours ahead. Carbohydrates were used as the baseline nutritional input, and additional configurations included fats, proteins, sugars, and complex carbohydrates. Model performance was evaluated globally and in predictions initiated at meal intake. Prediction horizons were grouped into early and late intervals, corresponding to 0-2 hours and 2-4 hours, respectively. The interpretability mechanisms of the TFT and integrated gradients method were used to analyze the relative contribution of nutritional variables.
Results
Models incorporating additional nutritional information generally outperformed the carbohydrate-only baseline. In the global analysis, the combination of carbohydrates, fats, and proteins achieved the best performance in the early prediction interval, reducing mean root mean squared error (RMSE) and mean absolute error (MAE) from 30.48 mg/dL and 21.02 mg/dL to 29.23 mg/dL and 20.15 mg/dL. At late intervals, distinguishing between complex carbohydrates and sugars, together with fats and proteins, provided the best performance, reducing mean RMSE and MAE from 45.34 mg/dL and 34.73 mg/dL to 43.24 mg/dL and 32.65 mg/dL. A similar temporal dependency pattern was observed in the postprandial evaluation and was partially supported by the interpretability analysis.
Conclusions
These findings suggest that incorporating a more comprehensive representation of meal composition may modestly improve postprandial glucose forecasting. Horizon-specific attribution patterns indicated that the models used nutritional inputs differently across the forecast horizon; however, these findings should not be interpreted as causal or physiological effects of individual nutrients. Further external and prospective validation is required before the potential clinical utility of these models can be assessed.
Schlagwörter
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Bioengineering and Telemedicine Group, Centro de Tecnología Biomédica, ETSI de Telecomunicación, Universidad Politécnica de Madrid, Avda Complutense 40, Madrid, 28040, Spain, 34 910672474.
- Instituto de Investigación Hospital 12 de Octubre (imas12), Research Institute Hospital 12 de Octubre, Madrid, Madrid, Spain.
- Biomedical Research Networking Center in Bioengineering, Biomaterials and Nanomedicine, Madrid, Spain.
- Endocrinology and Nutrition Department, Parc Tauli Sabadell University Hospital, Institute of Research and Innovation Parc Tauli, Sabadell, Catalonia, Spain.
- Universitat Autònoma de Barcelona, Barcelona, Catalonia, Spain.
Zitieren
APA
Gallardo-García, C., Hernando, M. E., Subías, D., Rigla, M., & García-Sáez, G. (2026). Interpretable Multihorizon Glucose Forecasting for Assessing Nutritional Information Impact in Type 1 Diabetes Management: Model Development and Validation Study. JMIR AI, 5, e105049-e105049. https://doi.org/10.2196/105049
Vancouver
Gallardo-García C, Hernando ME, Subías D, Rigla M, García-Sáez G. Interpretable Multihorizon Glucose Forecasting for Assessing Nutritional Information Impact in Type 1 Diabetes Management: Model Development and Validation Study. JMIR AI. 2026;5:e105049-e105049. doi:10.2196/105049
BibTeX
@article{GallardoGarca2026,
author = {Gallardo-García, Carlos and Hernando, M Elena and Subías, David and Rigla, Mercedes and García-Sáez, Gema},
title = {Interpretable Multihorizon Glucose Forecasting for Assessing Nutritional Information Impact in Type 1 Diabetes Management: Model Development and Validation Study},
journal = {JMIR AI},
year = {2026},
volume = {5},
pages = {e105049--e105049},
doi = {10.2196/105049}
}
EUVIMED