Glycemic-aware and architecture-agnostic training framework for blood glucose forecasting in type 1 diabetes
Saman Khamesian, Asiful Arefeen, Adela Grando, Bithika Thompson, Hassan Ghasemzadeh
Arizona State University · Mayo Clinic in Arizona
Abstract
Managing Type 1 Diabetes (T1D) demands constant vigilance as individuals strive to regulate their blood glucose levels to avert the dangers of dysglycemia (i.e., hyperglycemia and hypoglycemia). Despite the advent of sophisticated technologies such as automated insulin delivery (AID) systems, achieving optimal glycemic control remains a formidable task. AID systems integrate data from wearable devices including continuous subcutaneous insulin infusion (CSII) pumps and continuous glucose monitors (CGMs), offering promise in reducing variability and improving time-in-range. However, these systems often fail to prevent dysglycemia, partly due to limitations in prediction algorithms that lack the precision to anticipate impending glycemic excursions. This gap highlights the need for more advanced blood glucose forecasting methods. We address this need with GLIMMER ( G lucose L evel I ndicator M odel with M odified E rror R ate), a modular and architecture-agnostic training framework for glucose forecasting. GLIMMER combines structured preprocessing, region-aware loss formulation, and weight optimization using a genetic algorithm to emphasize prediction accuracy in dysglycemic regions. We evaluate GLIMMER on two datasets: the publicly available OhioT1DM dataset and a new dataset (AZT1D) constructed by collecting data from 25 individuals with T1D. Our extensive analyses show that GLIMMER consistently improves glucose forecasting performance over baseline architectures, enhancing RMSE (Root-Mean-Square Error) and MAE (Mean-Absolute-Error) by up to 24.6% and 29.6%, respectively. Additionally, GLIMMER achieves a recall of 98.4% and an F1-score of 86.8% in predicting dysglycemic events, demonstrating its effectiveness in high-risk regions. Compared to state-of-the-art models with millions of parameters—such as TimesNet (18·7 M), BG-BERT (2·1 M), and Gluformer (11·2 M)—GLIMMER achieves comparable accuracy while using only 10K parameters, demonstrating its efficiency as a lightweight, architecture-agnostic solution for glycemic forecasting.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- DiabLLM: An LLM-Based Framework for Blood Glucose Prediction in Type 1 DiabetesIEEE Journal of Biomedical and Health Informatics · 2026
- Generalized multi task learning framework for glucose forecasting and hypoglycemia detection using simulation to realitynpj Digital Medicine · 2025
- Review of machine learning models in short- and long-term glucose forecasting and hypoglycemia classificationInformatics in Medicine Unlocked · 2025
- Artificial Intelligence for Glucose Prediction and Glycemic Management in Diabetes: A Systematic Review of Predictive Performance and Clinical Outcomes.Cureus · 2026
- Short-Term Blood Glucose Prediction from Event-Driven Records Using Pharmacokinetic Feature Engineering in Insulin-Dependent Diabetes Mellitus (IDDM)BioMedInformatics · 2026
- Lightweight Sequential Transformers for Blood Glucose Level Prediction in Type-1 DiabetesIEEE Journal of Biomedical and Health Informatics · 2025