Learning control-ready forecasters for Blood Glucose Management

Comput Biol Med. 2024 Sep:180:108995. doi: 10.1016/j.compbiomed.2024.108995. Epub 2024 Aug 9.

Abstract

Type 1 diabetes (T1D) presents a significant health challenge, requiring patients to actively manage their blood glucose (BG) levels through regular bolus insulin administration. Automated control solutions based on machine learning (ML) models could reduce the need for manual patient intervention. However, the accuracy of current models falls short of what is needed. This is due in part to the fact that these models are often trained on data collected using a basal bolus (BB) strategy, which results in substantial entanglement between bolus insulin and carbohydrate intake. Under standard training approaches, this entanglement can lead to inaccurate forecasts in a control setting, ultimately resulting in poor BG management. To address this, we propose a novel algorithm for training BG forecasters that disentangles the effects of insulin and carbohydrates. By exploiting correction bolus values and leveraging the monotonic effect of insulin on BG, our method accurately captures the independent effects of insulin and carbohydrates on BG. Using an FDA-approved simulator, we evaluated our approach on 10 individuals across 30 days of data. Our approach achieved on average higher time in range compared to standard approaches (81.1% [95% confidence interval (CI) 80.3,81.9] vs 53.6% [95%CI 52.7,54.6], p<0.001), indicating that our approach is able to reliably maintain healthy BG levels in simulated individuals, while baseline approaches are not. Utilizing proxy metrics, our approach also demonstrates potential for improved control on three real world datasets, paving the way for advancements in ML-based BG management.

Keywords: Blood glucose management; Machine learning; Time series forecasting; Type 1 diabetes.

MeSH terms

  • Algorithms
  • Blood Glucose* / analysis
  • Diabetes Mellitus, Type 1* / blood
  • Diabetes Mellitus, Type 1* / drug therapy
  • Humans
  • Insulin* / administration & dosage
  • Insulin* / therapeutic use
  • Machine Learning*
  • Male
  • Models, Biological

Substances

  • Blood Glucose
  • Insulin