PMB-NN: Physiological-Model-Based Neural Network for Glucose Forecasting in Type 1 Diabetes
Organizations: Department of Biomedical Signals and Systems, University of Twente, Enschede, The Netherlands
Abstract
Accurate, physiologically consistent glucose forecasts could help people with type 1 diabetes respond to impending excursions. We applied our physiological-model-based neural network (PMB--NN) framework to glucose forecasting. A temporal convolutional network (TCN) used 180 min of history, constrained during training by a personalized four-parameter physiological model. The main PMB--NN combined forecast and neural--physiological agreement losses; a three-term variant additionally fitted physiological predictions to measured glucose. Data comprised 6--8 weeks of continuous glucose monitoring, pump, and meal records from 25 AZT1D participants. Person-specific models used chronological 70/10/20 train/validation/test splits and 30-, 60-, and 120-min horizons. Median mean absolute errors were 16.24, 25.00, and 30.20 mg/dL with basal insulin records and 15.38, 24.21, and 31.79 mg/dL before these records became available. In the latter setting, PMB--NN had the lowest median error at 30 and 60 min; it outperformed the physiological model alone in all six settings. In input-increase tests, glucose predictions changed in the expected direction for 85% of correction boluses and 100% of carbohydrate rescues, versus 57% for active insulin and 56% for active carbohydrates. Most standalone physiological fits showed locally distinguishable parameter effects, with glucose-related coefficients more stable under resampling than insulin- or carbohydrate-related coefficients. The three-term variant improved hyperglycaemia accuracy with basal records, but did not significantly change overall MAE and reduced directional plausibility in three tests. PMB--NN combines personalized forecasting with an explicit physiological model, allowing assessment of predictive accuracy, physiological response behavior, and participant-specific coefficients.
Figures & tables
| Context | Horizon | PMB–NN | TCN | GRU | LSTM | Transformer | PM |
|---|---|---|---|---|---|---|---|
| Basal | 30 | 16.24 | 16.23 | 15.81 | 17.52 | 16.03 | 18.89 ∗ |
| Basal | 60 | 25.00 | 23.66 | 23.00 | 24.41 | 24.27 | 28.01 ∗ |
| Basal | 120 | 30.20 | 30.46 | 30.32 | 31.18 | 30.12 | 33.53 ∗ |
| No basal | 30 | 15.38 | 16.65 ∗ | 17.32 ∗ | 18.90 ∗ | 18.65 ∗ | 16.60 ∗ |
| No basal | 60 | 24.21 | 24.46 ∗ | 24.77 ∗ | 25.23 ∗ | 26.10 ∗ | 25.72 ∗ |
| No basal | 120 | 31.79 | 31.26 | 32.93 | 30.73 | 31.54 | 33.23 ∗ |
| Parameter | Unit | Basal | No basal |
|---|---|---|---|
| mg/dL | 167.73 [148.87–174.57] | 156.24 [146.08–166.97] | |
| min -1 | 0.00882 [0.00757–0.01000] | 0.00752 [0.00685–0.00884] | |
| mg/dL/min/U | 0.0776 [0.0615–0.0836] | 0.0854 [0.0699–0.0967] | |
| mg/dL/min/g | 0.02282 [0.01849–0.02984] | 0.01932 [0.01548–0.02478] |
| Calibration | 30 min | 60 min | 120 min |
|---|---|---|---|
| 1 day | 27.17 [18.81–38.03] ∗ | 34.37 [26.87–51.26] ∗ | 42.41 [31.16–55.90] ∗ |
| 3 days | 20.61 [16.98–24.47] ∗ | 29.69 [25.62–34.88] ∗ | 36.59 [32.01–47.91] ∗ |
| 6 days | 19.12 [16.57–22.29] ∗ | 28.03 [24.60–31.54] ∗ | 32.90 [30.18–41.34] ∗ |
| 10 days | 19.05 [16.85–21.19] ∗ | 27.40 [24.89–32.47] ∗ | 35.96 [29.95–40.16] ∗ |
| 15 days | 18.29 [15.67–20.67] ∗ | 25.84 [23.39–30.16] ∗ | 33.13 [26.90–40.39] ∗ |
| Full protocol | 16.24 [13.72–17.77] | 25.00 [21.72–27.50] | 30.20 [27.06–37.25] |
Blood Glucose Forecasting
Blood glucose forecasting predicts future glucose levels from continuous glucose monitor data and clinical context to support diabetes care.
See all 20 papers