Prediction of Postprandial Blood Glucose Variability Using Machine Learning in Frequent Insulin Injection Therapy with a Simplified Carbohydrate Counting Model
<b>Background/Objectives:</b> Postprandial glucose variability is a key challenge in diabetes management for patients receiving multiple daily insulin injections (MDI). This study evaluated transformer-based machine-learning models for predicting post-prandial glucose peaks and nadirs using pre-meal glucose, insulin dose, and nutritional input. <b>Methods:</b> In this observational study, 58 adults with diabetes provided dietary records, insulin logs, and continuous glucose monitoring data. After preprocessing and participant-level splitting (64:16:20), model-ready datasets comprised 6155/1449/1805 (train/validation/test) meal events for the Full-Nutrition model and 6299/1484/1849 for the Carbohydrate and Available-Carbohydrate models. We evaluated three transformer-based models and assessed performance using MAE, R<sup>2</sup>, and the Clarke error grid. <b>Results:</b> The Full Nutrition Model achieved MAEs of 32.2 mg/dL (peak) and 21.8 mg/dL (nadir) with R<sup>2</sup> values of 0.58 for both. Carbohydrate-based models showed similar accuracy. Most predictions fell within Clarke error grid Zones A and B. <b>Conclusions:</b> Transformer-based machine-learning models can accurately predict postprandial glucose variability in MDI-treated patients. Carbohydrate-only inputs performed comparably to full-nutrient data, supporting the feasibility of simplified dietary inputs in clinical applications.
Authors
- Masahiro Yamazaki (ORCID: https://orcid.org/0000-0001-6293-3525)
- Aki Yamaguchi
- Y. Hamaguchi
- Yoshitaka Hashimoto (ORCID: https://orcid.org/0000-0002-8794-0550)
- Hiroshi Okada (ORCID: https://orcid.org/0000-0002-1707-970X)
- Tomoyuki Arai (ORCID: https://orcid.org/0000-0001-9564-3655)
- Noriyuki Kitagawa (ORCID: https://orcid.org/0000-0003-3263-9469)
- Hiroyuki Tominaga (ORCID: https://orcid.org/0000-0001-8701-2343)
- Michiaki Fukui (ORCID: https://orcid.org/0000-0003-0903-1797)
- Masahide Hamaguchi (ORCID: https://orcid.org/0000-0002-8651-4445)
- Ren Yashiki
Institutions
- Kyoto Prefectural University of Medicine (JP)
- Matsushita Memorial Hospital (JP)
- Japanese Red Cross Society Kyoto Daini Hospital (JP)
- S.P.E.C.I.E.S. (US)
- Osaka Institute of Technology (JP)
- Kyoto University of Advanced Science (JP)
Publication Details
- Journal
- Nutrients
- Published
- 2025-12-07
- DOI
- https://doi.org/10.3390/nu17243832
- Citations
- 1
- Primary Topic
- Diabetes Management and Research
- Type
- article
- Field-Weighted Citation Impact
- 1.29
Funders
- Ministry of Economy, Trade and Industry
- Japan IDDM network
- Japan Science and Technology Agency