Type 1 diabetes (T1D) is a chronical autoimmune disease caused by the progressive destruction of beta cells in the pancreas, which leads to the inability of producing endogenous insulin by the organism. As a result, blood glucose (BG) concentration tends to exceed the hyperglycemic threshold (BG>180 mg/dl), a situation that, if frequent and prolonged, could lead to several serious cardiovascular long-term complications, as well as nephropathy and neuropathy. To reduce BG levels, administration of exogenous insulin several times a day is necessary. Unfortunately, excessive exogenous insulin dosing could lead patients to hypoglycemia, i.e., BG<70 mg/dl, which is dangerous even in the short-term since it could cause fainting, light-headiness, coma and even death.
Effective T1D treatment relies on BG frequent monitoring, made through either the classic fingerstick device or more modern minimally invasive continuous glucose monitoring (CGM) sensors, and is far from being trivial. Indeed, T1D management represents, from a patient perspective, a life-long learning process to understand how several everyday factors (e.g., illness, diet, and physical activity) affect BG levels and how interventions (e.g., rescue carbohydrate intake and, of course, insulin administration) can be used to keep BG in the safe range.
In this context, many efforts have been made by the research community to provide new tools able to help patients with T1D. Among them, CGM-based algorithms able to predict future BG concentration in real-time have the potential to significantly improve T1D therapy efficacy by enabling proactive therapeutic decisions based on the expected future glucose levels, rather than the current one.
In a first aspect, a method is provided of predicting future blood glucose concentrations of an individual patient, comprising: selecting an individualized nonlinear physiological model of glucose-insulin dynamics, the selected model having a plurality of model parameters whose values are to be determined; estimating values for each of the model parameters in the plurality of model parameters, a first subset of the model parameters having values estimated from a priori population data and a second subset of the model parameters having values personalized for the individual patient by applying a parameter estimation technique to a priori information and data for the individual patient to obtain a posteriori information; and; applying a nonlinear prediction technique to the selected model using the estimated values for each of the model parameters to obtain a predicted blood glucose concentration of the individual patient at a future time.
In an embodiment of the first aspect, the parameter estimation technique is a Markov Chain Monte Carlo (MCMC) Bayesian estimator.
In an embodiment of the first aspect, the parameter estimation technique is selected from the group consisting of a maximum a posteriori technique, a maximum likelihood technique and a prediction error minimization technique.
In an embodiment of the first aspect, the nonlinear prediction technique is a particle filter.
In an embodiment of the first aspect, the nonlinear prediction technique is a particle filter.
In an embodiment of the first aspect, the nonlinear prediction technique is selected from the group consisting of an extended Kalman filter technique and an unscented Kalman filter technique.
In an embodiment of the first aspect, the nonlinear prediction technique is selected from the group consisting of an extended Kalman filter technique and an unscented Kalman filter technique.
In an embodiment of the first aspect, the selected individualized nonlinear physiological model includes a subcutaneous insulin absorption sub-model, an oral glucose absorption sub-model and a glucose-insulin kinetics model.
In an embodiment of the first aspect, the selected individualized nonlinear physiological model uses past blood glucose concentration levels, carbohydrate intake information and exogenous insulin data of the individual patient as inputs.
In an embodiment of the first aspect, the subcutaneous insulin absorption sub-model includes a first model parameter specifying a value of insulin distribution and a second model parameter specifying a delay in an appearance of insulin in a first compartment, the first and second model parameters being in the first subset of model parameters having values estimated from the a priori population data.
In an embodiment of the first aspect, the subcutaneous insulin absorption sub-model includes a third model parameter specifying a diffusion rate constant from a first to a second compartment and a fourth model parameter specifying a rate constant of subcutaneous insulin absorption from the second compartment to plasma, the third and fourth model parameters being in the second subset of model parameters having values personalized for the individual patient.
In an embodiment of the first aspect, the selected individualized nonlinear physiological model is a maximal physiological model in which selected ones of the model parameters are neglected.
In an embodiment of the first aspect, the predicted blood glucose concentration is updated in real-time using real-time continuous glucose monitor (CGM) data, carbohydrate intake information and exogenous insulin data
In an embodiment of the first aspect, the method further includes augmenting the selected individualized nonlinear physiological model with a residual error model to describe residual modeling errors.
In an embodiment of the first aspect, the residual modeling errors are modeled as an Auto regressive Integrated Moving Average (ARIMA) of order (5,5,1).
In an embodiment of the first aspect, the residual error model has model parameters estimated using a predicted error method (PEM).
In an embodiment of the first aspect, the predicted blood glucose concentration is predicted at a plurality of different times.
Despite several different methodologies having been proposed for blood glucose (BG) real-time prediction, the problem remains open due to several unknown disturbances altering BG levels and to the high inter-/intra-patient variability in glucose physiology. The existing prediction techniques rely on a mathematical model which describes the relationship between a certain set of input features and BG. The choice of a suitable model of glucose-insulin regulation is an important step and the options spans from “black-box” models, completely data-driven, to models based on mechanistic/semi-mechanistic nonlinear description of metabolic physiology. Compared to black-box models, physiological models have the clear advantage of guaranteeing to correctly capture the underneath glucose-insulin metabolism mechanisms. Among the nonlinear physiological models available in the T1D literature, the so-called minimal models prove too rigid and simplistic to grant effective glucose prediction. On the other hand, large-scale models have several equations and multiple parameters which make them hardly identifiable and more suited to computer simulations than to model-based prediction.
In the second step 20 of the prediction scheme shown in
As will be further described in more detail below, the prediction scheme described herein is tested using an in silico clinical trial comprising data of 100 virtual T1D patients generated by a simulation model described in R. Visentin, E. Campos-Nuñez, M. Schiavon, D. Lv, M. Vettoretti, M. Breton, B. P. Kovatchev, C. Dalla Man, and C. Cobelli, “The uva/padova type 1 diabetes simulator goes from single meal to single day,” J. Diabetes Sci. Technol., vol. 12, no. 2, pp. 273-281, 2018, which is hereby incorporated by reference in its entirety. For comparison, two baseline black-box models are considered. The metrics chosen for the assessment are the root mean square error, the coefficient of determination, and the time gain. Results show that the proposed approach is superior than both baseline methodologies in predicting future glucose concentration especially in terms of time gain.
This section describes one example of a nonlinear physiological model of glucose-insulin dynamics for personalized glucose prediction. This example starts from the maximal physiological model implemented in the most recent version of the UVa/Padova T1D Simulator (T1DS) described in the Visentin et al. reference cited above. and simplifies it as much as possible to reduce the number of parameters to be estimated for individualization while retaining its ability to achieve good glucose prediction.
The proposed model has two inputs, insulin infusion I(t), and carbohydrate intake CHO(t), and one output, the interstitial glucose concentration IG(t). The model is composed of three subsystems describing subcutaneous insulin absorption, oral glucose absorption, and glucose-insulin kinetics.
The subcutaneous insulin absorption model is a slightly simplified version of the one used in the T1DS model, described in M. Schiavon, C. Dalla Man, and C. Cobelli, “Modeling subcutaneous absorption of fast-acting insulin in type 1 diabetes,”IEEE Trans. Biomed.Eng., vol. 65, no. 9, pp. 2079-2086, 2018 and illustrated in
where Isc1 (mU/kg) and Isc2 (mU/kg) represent the insulin in a non-monomeric and monomeric state, respectively; Ip (mU/l) is the plasma insulin concentration; kd (min−1) is the rate constant of diffusion from the first to the second compartment; ka2 (min−1) is the rate constant of subcutaneous insulin absorption from the second compartment to the plasma; ke (min−1) is the fractional clearance rate; VI (l/kg) is the volume of insulin distribution; β (min) is the delay in the appearance of insulin in the first compartment. The simplification with respect to the model used in the T1DS consists in neglecting the fact that a fraction of non-monomeric insulin can reach the plasma directly. This absorption route is depicted in gray in
The oral glucose absorption subsystem model, taken from C. Dalla Man, M. Camilleri, and C. Cobelli, “A system model of oral glucose absorption: Validation on gold standard data,”IEEE Trans. Biomed. Eng., vol. 53, no. 12, pp. 2472-2478, 2006, represents a simplified version of the model used in the T1DS and is illustrated in
where Qsto1 (mg/kg) and Qsto2 (mg/kg) are the glucose amount in the stomach in a solid and liquid state, respectively; Qgut (mg/kg) is the glucose concentration in the intestine; kgri (min−1) is the rate constant of grinding; kempt (min−1) is the rate constant of gastric emptying; kabs (min−1) is the rate constant of intestinal absorption; CHO (mg/kg/min) is the ingested carbohydrate rate. Model (2) allows to estimate the rate of glucose appearance in plasma Ra (mg/kg/min) as:
Ra(t)=f·kabs·Qgut(t) (3)
where f (dimensionless) is the fraction of the intestinal content absorbed in the plasma.
The simplification with respect to the model used in the T1DS consists in assuming a constant gastric emptying rate, thus neglecting its dependence on stomach content (depicted in gray in
A priori information on model (2) has been obtained from the literature and has been detailed in Table 1. In particular, we set f equal to 0.9 and we constrained kgri=kempt. Furthermore, kabs has been constrained to kabs≤kempt since the two combinations are interchangeable. As such, the unknown model parameters are θoral=[kabs, kempt].
With respect to the model used in the T1DS simulator, we used a more parsimonious description of the glucose-insulin kinetics subsystem. It is based on a well-known two-compartment model that describes the impact of the plasmatic insulin action and glucose rate of appearance in plasma glucose concentration introduced in R. N. Bergman, C. R. Bowden, and C. Cobelli, “Quantitative estimation of insulin sensitivity,” Am. J. Physiol., vol. 236, no. 6, pp. e667-e677,1979. The model is further equipped with a third compartment to describe the transport of glucose from plasma to the interstitium where it is measured by the sensor. The model is illustrated in
where G (mg/dl) is the plasma glucose concentration, X (min−1) is the insulin action on glucose disposal and production; SG (min−1) is the glucose effectiveness describing glucose ability, per se, to promote glucose disposal and inhibit glucose production; Gb (mg/dl) is the basal glucose concentration in the plasma; VG (dl/kg) is the volume of glucose distribution; p2 (min−1) is the rate constant of insulin action dynamics; SI (ml/μU·min) is the insulin sensitivity; Ipb (mU/l) is the basal insulin concentration in the plasma; IG (mg/di) is the interstitial glucose concentration; α (min) is the delay between the plasmatic and interstitial glucose concentration compartments.
The above model, with a constant unitary ρ, ρ(G)≡1 ∀G, is known to struggle in capturing hypoglycemia, likely due to an inadequate description of insulin action, which was proved to increase when glucose decreases below a certain threshold. For this reason, following the rationale proposed in C. Dalla Man, F. Micheletto, D. Lv, M. Breton, B. Kovatchev, and C. Cobelli, “The uva/padova type 1 diabetes simulator: New features,” J. Diabetes Sci. Technol., vol. 8, no. 1, pp. 26-34, 2017, we introduce in the above model the term ρ(G):
where Gth is the hypoglycemic threshold (set to 60 mg/dl) and r1 (dimensionless) and r2 (dimensionless) are two model parameters with no direct physiological interpretation.
To account for patient-specific intraday insulin sensitivity variability and to model the so-called dawn phenomenon, the parameters SI and Gb are considered time-varying over the day:
A priori information on parameter distributions, reported in detail in Table , has been obtained from the literature. In detail, r1, r2, and VG have been fixed to population values, i.e. 1.44, 0.81, and 1.45 dl/kg respectively. Unknown model parameters of glucose-insulin subsystem are θglu=[SG, SIB, SIL, SID, Gb
In summary, the overall physiological model is obtained combining the three submodels introduced so far:
where xphy (t) is the state vector defined as
uphy(t) :=[I(t), CHO(t)] is the input vector;
fphy(⋅) is the state update function obtained combining (1) -(5).
fphy(⋅) depends on the set of unknown parameters
θphy:=[θins,θoral,θglu]
whose estimation will be discussed in the next section.
Model personalization has been performed by identifying for each patient the unknown model parameters θphy using the training data Y:={CGM(tk), tk=k·Ts, k=1, . . . , D} and U:={uphy(tk), tk=k·Ts, k=1, . . . , D} where D is the number of data points available.
The identification has been performed by adopting a Bayesian approach and specifically, in this work θphy is estimated through its posterior mean defined as
{circumflex over (θ)}phy=E[θphy|Y,U]=∫θpθ|Y,U(θ|Y,U)dθ (9)
Since the posterior mean is known to be the minimum variance unbiased estimator of θphy.
The Bayes theorem allows to obtain the a posteriori density function pθ|Y,U(θ|Y,U) as:
where pY|θ,U(Y|θ,U) is the likelihood function, i.e., the probability of observing a certain Y given the parameter vector θ and the input U.
Since the integral in (9) is analytically intractable, it has to be approximated by resorting to MCMC. In particular, we generate N samples θi, i=1, . . . , N from the posterior distribution pθ|Y,U(θ|Y,U) by creating a Markov Chain whose stationary distribution is exactly this posterior (target distribution). Then, these samples θi are used to perform Monte Carlo integration to obtain a point estimate of θphy:
To build such a chain, the Single Component Metropolis-Hastings (SCMH) algorithm has been used.
We partitioned θphy into five sets θphy:=[θ1, θ2, θ3, θ4, θ5], namely θ1:=[SG, SIB, Gb
This partitioning scheme has been chosen since it improves MC mixing and allows to break the correlation between SI and p2, known to be critical from the literature.
An iteration i of the algorithm consists of five steps p=1, . . . , 5 and each step updates the p-th partition of θphy, θp, by approval/rejection of a sample ϕp extracted from the proposal density function qp(⋅|⋅). Specifically, as prescribed by the SCMH procedure, approval occurs with probability α
with π(θp|θi,−p) proportional to the posterior of θp given that the other components θ−p assume the value θ−p=θi,−p:
π(θp|θi,−p)=pY|θ,U(Y|θp,θi,−p,U)pθ(θp|θi,−p,U)
θi,−p comprises all the other components of θphy except for θp. Precisely, θi,−p contains the most updated version of each component as available at the current stage of the algorithm: θi,−p=[θi,1, . . . , θi,p−1, θi−1,p+1, θi−1,5 ]. Components up to p−1 have already been updated when processing the p-th components at iteration i, while other components, from p+1 to 5, have not been updated yet, so their value computed in the previous iteration i−1 is used.
For what it concerns the proposal distribution, we used a Gaussian centered in the value assumed by θp in the previous chain iteraction
q
p(⋅|⋅)=N(θi−1,p,ξp);
where ξp is a tuning parameter that regulates the acceptance rate of the chain. We set ξp to a diagonal matrix whose components are an estimate of the conditional standard deviation of each element of partition p, sd (θphy
Finally, the convergence of the MCMC has been verified through the well-known Raftery-Lewis criterion, which provides the number of iterations necessary to ensure the Markov Chain to represent the target posterior distribution.
The Adaptive Single Component Metropolis Hasting is summarized in Algorithm (1).
indicates data missing or illegible when filed
As a final step, the measured output CGM(t) is obtained by corrupting the output of the physiological model IG(t) with a stochastic error e(t) using the residual error model scheme of
CGM(t)=IG(t)+e(t). (12)
e(t) (mg/dl) describes the residual modelling errors and the measurement errors introduced by the CGM sensor. It is a colored random process that we model as an Auto Regressive Integrated Moving Average (ARIMA) of order (5,5,1):
e(t)=Σi=16ai·e(t−i)+Σi=15bi·ϵ(t−i)+ϵ(t) (13)
where {ai}i=1, . . . , 6 and {bi}i=1, . . . , 5 are the coefficients of the model, and ϵ(t) (mg/dl) is a white noise having zero-mean and constant standard deviation SDϵ. Since we are considering an ARIMA, one of the zeros of the denominator is in 1.
Model orders have been chosen to keep the model as simple as possible but still able describing well the residuals error e(t). Model parameters are estimated using the standard Prediction Error Method (PEM).
The final model is then obtained augmenting (8) with the state space representation of the residual error model:
where fd is obtained by discretizing fphy(xphy, Uphy, t, θphy) using the Backward Euler method with tk=k·TS and further assumed to be corrupted by a model error vphy, an i.i.d Gaussian process with covariance Σv
Finally, equations (14a) and (14b) are combined by defining the augmented state x(tk):=[xphy(tk)|e(tk)]T and the augmented error v(tk):=[vphy(tk)|B·ϵ(tk)]T.
The augmented model update equation reads
x(tk+i)=f(x(tk+1),u(tk+1), t,θ)+ν(tk) (15)
Up to this point, we focused on estimating the parameters of the physiological model of a T1D subject, to capture the patient-specific dynamics. This process can be done “offline” using the available information obtained from retrospective patient data.
In this section, we will present how we used such a personalized model to predict, in real-time, future glucose concentrations. This task has to be performed “online”, so we resorted to a sequential algorithm that at each timestep tk, when a new measurement y(tk)=CGM(tk) becomes available, updates the current estimate of the model state x(tk) and uses it to infer future glucose concentration. In particular, we employ the particle filter (PF), which is a sequential Bayesian prediction technique capable of handling the nonlinear structure of the model.
PF is based on the recursive update of the posterior probability function p(x(tk)|y(t1:k),u(t1:k)) where y (t1:k) is a shorthand for the variables y(t1), . . . , y(tk) and u(t1:k) indicates u(t1), . . . , u(tk).
The recursive update of p (x(tk−1)|y(t1:k−1), u(t1:k−1)) is performed through two fundamental steps, i.e., one step-ahead prediction and measurement update.
The one step-ahead prediction step assumes that the posterior probability p(x(tk−1)|y(tt:k−1), u(t1:k−1)) is available at time tk−1 and uses such a posterior probability to infer
p(x(tk)|y(t1:k−1),u(t1:k))
Then, when at time tk a new measurement, y(tk), becomes available, in the measurement update step such a measurement is used to compute the posterior probability
p(x(tk)|y(t1:k),u(t1:k)).
The two steps are then repeated for each available measurement in the dataset. PF performs these steps using a sampled approximation of the probability functions at play:
where {xp(tk−1)}p=1P is a set of P points, called “particles”, in the support of p(x(tk−1)|y(t1:k−1), u(t1:k−1)). Each particle is associated to a weight {wp(tk−1)}p=1PΣpwP (tk−1)=1, and
where {xp(tk)}p=1P are the P particles representing p(x(tk)|y(t1:k−1), u(t1:k)), each associated to a weight {w*p(tk)}p=1P, Σpw*p(tk)=1.
When dealing with state space models such as (15), the one step-ahead prediction step of the PF is particularly convenient. It can be shown that
p(x(tk)|y(tt:k−1),u(t1:k))=∫p(x(tk)|x(tk−1))p(x(tk−1)|y(ti:k−1),u(t1:k−1))dx(tk−1)
where p(x(tk)|x(tk−1)) is fully described by the state update equations of (15). Regarding the measurement update step, it is possible to demonstrate that it holds
p(x(tk)|y(t1:k),u(t1:k))∝
p(y(tk)|x(tk),u(t1:k))p(x(tk)|y(t1:k−1),u(t1:k))
where p(y(tk)|x(tk),u(t1:k)) is the likelihood function that is fully specified by (14c).
Details on how these quantities are calculated in practice are reported in the “Implementation Details” section.
As an additional result, the posterior probability p(x(tk)|y(t1:k),u(t1:k)) is furtherly used by the PF to compute the posterior probabilities
p(x(tk+i)|y(t1:k),u(t1:k+i)),∀i==1, . . . , PH
describing the state distribution predicted i steps-ahead in time up to PH steps ahead (with PH the prediction horizon).
In particular, it is possible show that for state space models like (15)
p(y(tk+i)|y(t1:k),u(t1:k+i))=p(y(tk+i)|x(tk+i),∀i=1, . . . , PH
that is completely specified by equation (14c).
Finally, a point estimate of future CGM values at time tk+i, i=1, . . . , PH can be derived using the expectation of the posterior:
ŷ(tk+i|tk)=E[p(y(tk+i)|x(tk+i)],∀i=1, . . . , PH.
In the following, we present the numerical scheme implemented by PF to perform the one step-ahead prediction, measurement update, and multiple step-ahead prediction.
One step-ahead prediction step. Recalling that, at time tk−1, p(x(tk−1)|y(t1:k−1),u(t1:k−)) is available in a sampled form defined by set of P particles {xp(tk−1)}p=1P with associated weights {w(tk−1)p}p=1P, Σp w(tk−1)p=1 such that
PF performs the one step-ahead prediction step by drawing a new set of particles {xp(tk)}p=1P from p(x(tk)|x(tk−1)):
xp(tk)˜p(xp(tk)|xp(tk−1)) (16)
This probability is specified by (15):
p(xp(tk)|xp(tk−1))˜N(f(xp(tk−1), u, tk−1, θ), Σv).
In view of this, to draw the new set of particles it is sufficient to let each particle xp(tk−1) evolve according to model (15), and corrupt it with a realization of the noise v.
Measurement update step. The PF algorithm sets the weight w*p(tk) of each p-th particle xp(tk) to the likelihood function evaluated on xp(tk)
w*
p(tk)=p(y(tk)|xp(tk),u(t1:k)). (17)
In particular, from equation (14c) and the statistics of the stochastic modelling error e, p(y(tk)|xp(tk),u(t1:k)) is defined as:
p(y(tk)|x(tk),u(t1:k))=N(y(tk)−yp(tk),SDϵ). (18)
where yp(tk) is obtained using (14c).
Weights are then normalized such that Σpw*p(tk)=1.
This provides a sampled form representation of the posterior density
Re sampling step. To improve the accuracy of PF, the measurement update step is completed by updating the set of particles. Specifically, {xp(tk)}p=1P are substituted with a new set of P particles, {x*p(tk)}p=1P generated from the sampled representation of p(x(tk)|y(t1:k−1),u(t1:k)) such that Pr(x*p(tk)=xp(tk))=w*p(tk). This step is performed by a well-established resampling algorithm described in G. Kitagawa, “Monte carlo filter and smoother for non-gaussian non-linear state space models,” J. Comput. Graph. Statist., vol. 5, no. 1, pp.1-25, 1996.
As a result, all new particles {xp(tk)}p=1P are associated to the same weight w*p(tk)=1/P, thus the approximation of p(x(tk)|y(t1:k−1),u(t1:k)) simplifies to
Multiple steps-ahead prediction. Multiple steps ahead predictions can be obtained as follows. First, the probabilities p(x(tk+1)|y(t1:k),u(t1:k+i)),∀,i=1, . . . , PH are obtained in sampled form starting from p(x(tk)|y(t1:k),u(t1:k)) and propagating the P particles {xp(tk)}p=1P i steps ahead as we did in the one step-ahead prediction step.
Then, using equation (14c), the set of particles {yp(tk+i|tk)}p=1P is comouted and used to obtain p(y(tk+1)|y(t1:k), u(t1:k+i))∀, i=1, . . . , PH in sampled form.
Finally, a point estimate of glucose i steps-ahead, y(tk+i), is obtained as the average computed over the sampled form of p(y(tk+i)|y(t1:k),u(t1:k+i)), i.e.:
The implemented PF is summarized in Algorithm (2).
indicates data missing or illegible when filed
T1DS is a software tool that has been accepted by the FDA as a substitute to pre-clinical trials for closed-loop insulin delivery strategies and open-loop therapy. It provides a population of 100 virtual adult subjects, each characterized by a different vector of physiological parameters to capture the inter-/intra-subject variability of T1D population. In this particular example described herein, we used the most updated version of the simulator, capable to better account for inter-/intra-patient variability (i.e., changes over time in a patient's physiology, and patient behaviour. Using the T1DS, two weeks of synthetic data have been generated for 100 virtual adults, simulating the so-called Sensor Augmented Pump therapy (SAP). In this therapy regimen insulin is administered to the patient by an insulin pump as the sum of two components: the first component is the basal insulin infusion rate, a fixed daily pattern adjusted to each patient by the clinician; the second component consists of multiple insulin doses administered at each meal to counterbalance the corresponding glucose increase. The amount of insulin injected is proportional to the estimated carbohydrate intake (CHO) and pre-prandial glucose measurement.
In our simulated scenario, each subject ate 3 meals per day taking place with uniform probability in the intervals [06:30, 08:30] (breakfast), [12:00, 14:00] (lunch), and [19:30, 21:30] (dinner) with CHO consumption uniformly distributed in [20, 60], [50, 90], and [50, 90] g, respectively. A simple safety protocol, consisting in consuming 15 g of fast-acting CHO each 15 minutes while the patient's measured glucose is below 70 mg/dl, was implemented to treat hypoglycemia. Finally, the measurement error of the CGM sensor was modeled as proposed in A. Facchinetti, S. Del Favero, G. Sparacino, and C. Cobelli, “Model of glucose sensor error components: Identification and assessment for new dexcom g4 generation devices,”Med. Biol. Eng. Comput., vol. 53,no. 12, pp. 1259-1269, 2015. The obtained in silico dataset has been split into training and test set by assigning the first week of data to the former and the second week of data to the latter.
As a baseline for prediction accuracy, we considered with two state-of-the-art black-box models: we trained on the same training data an Auto Regressive with eXogenous input (ARX) model of order 5, and an Auto Regressive Integrated Moving Average with eXogenous input (ARIMAX) model of order (5,5,1) both having two inputs, insulin infusion I(t) and carbohydrate intake CHO(t), and one output, the glucose concentration CGM.
Evaluation of prediction accuracy has been performed in the test set by comparing the obtained glucose predictions with the actual CGM values using different PH. In this work, three metrics have been considered: the root mean square error (RMSE), the coefficient of determination (COD), and the time gain (TG). These metrics, frequently used in the literature, are defined as follows:
where ∥⋅∥2 denotes the 2 norm. The larger the RMSE the worst the prediction.
where
TG(i)=i·TS−delay(y(tk+i),ŷ(tk+i)), ∀i=1, . . . , PH.
where delay(s1(tk), s2(tk)) [min] quantifies the delay between two signals s1(tk) and s2(tk) and is based on the cross-correlation (xcorr), a measure of similarity of the two signals. Specifically, the delay is defined as the temporal shift τ that maximizes the cross-correlation (xcorr) between s1 and a τ-shifted version of s2:
delay(s1(tk),s2(tk))=argmaxτ[xcorr(s1(tk),s2(tk−τ)]
The higher TG, the more prompt and useful the prediction and TG=0 means that the model prediction is comparable to looking at the current glucose level.
Performance metrics of PF are compared against ARX and ARIMAX using a paired t-test unless the hypothesis of normal distribution was rejected by a Lilliefors test (p-value >0.05). In this case, Wilcoxon ranksign test was used. Reported p-values are two-tailed and considered statistically significant when <0.05.
21.27
26.14
29.83
13.26
81.36
70.80
61.06
91.61
30.0
60.0
90.0
120.0
Compared to ARX, PF achieves significantly better outcomes (p<0.05) for all considered metrics and PH, the higher PH the bigger the improvement. In detail, the average ΔRMSE=RMSEPF−RMSE ARX is −1.47 mg/dl (−6%), −3.85 mg/dl (−15%), −7.83 mg/dl (−23%), and −11.78 mg/dl (−28%) for PH=30, 60, 90, and 120 min, respectively. The same considerations hold when the prediction accuracy is evaluated in terms of average ΔCOD which improved by 2.19% (2%), 9.86% (14%), 20.30% (40%), and 32.99% (118%) for PH=30, 60, 90, and 120 min, respectively. Focusing on ΔTG, PF remarkably improves the outcomes by 15.0 min (100%), 40.0 min (200%), 67.5 min (300%), 95.0 min (380%) for PH=30, 60, 90, and 120 min, respectively.
Comparing PF with ARIMAX, the former achieves significantly better RMSE and COD for PH>30 min, the higher PH the bigger the improvement. In detail, PF improved significantly (p<0.05) ΔRMSE=RMSEPF−RMSEARIMAx by −0.54 mg/dl (−2%), −2.78 mg/dl (−10%), and −5.81 mg/dl (−16%) for PH=60, 90, and 120 min respectively, and improved significantly (p<0.05) ΔCOD by 3.17% (4%), 10.62% (18%), and 20.70% (51%) for PH=60, 90, and 120 min, respectively. At PH=30 min, the performances are not statically significantly different: p-value(RMSE, PH=30 min)=0.22, p-value(COD, PH=30 min)=0.28.
Finally, PF improved significantly (p<0.05) ΔTG by 5.0 min (20%), 10.0 min (20%), 10.0 min (13%), and 10.0 min (9%) for PH=30, 60, 90, and 120 min, respectively. Notably, the PF allows, on average, to achieve TG equal to PH.
The individualized model-based prediction scheme presented herein in connection with the flowchart of
Personalized real-time prediction of glucose concentration in T1D is important to enable effective proactive therapeutics. We have presented a methodology that uses a personalized physiological model to achieve this goal. In some embodiments this gray-box nonlinear model is handled in a Bayesian framework comprising two main phases. In the first phase, we use MCMC, for example, to identify patient-specific parameters of a physiological model of a T1D subject. Then, in the second phase, the personalized model is used by a particle filter or other nonlinear prediction scheme to infer future glucose data. The first phase may conducted offline, retrospectively processing patients historical data. The second phase may run online as new patient data becomes available.
The various operations of methods described above may be performed by any suitable means capable of performing the operations, such as various hardware and/or software component(s), circuits, and/or module(s). Generally, any operations illustrated in the figures may be performed by corresponding functional means capable of performing the operations.
The various illustrative logical blocks, modules and circuits described in connection with the present disclosure may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array signal (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any commercially available processor, controller, microcontroller or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
In one or more aspects, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on non-transitory computer-readable medium. By way of example, and not a limitation, such non-transitory computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices.
The methods disclosed herein comprise one or more steps or actions for achieving the described methods. The method steps and/or actions may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of steps or actions is specified, the order and/or use of specific steps and/or actions may be modified without departing from the scope of the claims.
Certain aspects may comprise a computer program product for performing the operations presented herein. For example, such a computer program product may comprise a computer readable medium having instructions stored (and/or encoded) thereon, the instructions being executable by one or more processors to perform the operations described herein. For certain aspects, the computer program product may include packaging material.
Further, it should be appreciated that modules and/or other appropriate means for performing the methods and techniques described herein can be downloaded and/or otherwise obtained by a user terminal and/or base station as applicable. For example, such a device can be coupled to a server to facilitate the transfer of means for performing the methods described herein. Alternatively, various methods described herein can be provided via storage means (e.g., RAM, ROM, a physical storage medium such as a compact disc (CD) or floppy disk, etc.), such that a user terminal and/or base station can obtain the various methods upon coupling or providing the storage means to the device. Moreover, any other suitable technique for providing the methods and techniques described herein to a device can be utilized.
It is to be understood that the claims are not limited to the precise configuration and components illustrated above. Various modifications, changes and variations may be made in the arrangement, operation and details of the methods and apparatus described above without departing from the scope of the claims.
Unless otherwise defined, all terms (including technical and scientific terms) are to be given their ordinary and customary meaning to a person of ordinary skill in the art, and are not to be limited to a special or customized meaning unless expressly so defined herein. It should be noted that the use of particular terminology when describing certain features or aspects of the disclosure should not be taken to imply that the terminology is being re-defined herein to be restricted to include any specific characteristics of the features or aspects of the disclosure with which that terminology is associated. Terms and phrases used in this application, and variations thereof, especially in the appended claims, unless otherwise expressly stated, should be construed as open ended as opposed to limiting. As examples of the foregoing, the term ‘including’ should be read to mean ‘including, without limitation,’ ‘including but not limited to,’ or the like; the term ‘comprising’ as used herein is synonymous with ‘including,’ ‘containing,’ or ‘characterized by,’ and is inclusive or open-ended and does not exclude additional, unrecited elements or method steps; the term ‘having’ should be interpreted as ‘having at least;’ the term ‘includes’ should be interpreted as ‘includes but is not limited to;’ the term ‘example’ is used to provide exemplary instances of the item in discussion, not an exhaustive or limiting list thereof; adjectives such as ‘known’, ‘normal’, ‘standard’, and terms of similar meaning should not be construed as limiting the item described to a given time period or to an item available as of a given time, but instead should be read to encompass known, normal, or standard technologies that may be available or known now or at any time in the future; and use of terms like ‘preferably,’ ‘preferred,’ ‘desired,’ or ‘desirable,’ and words of similar meaning should not be understood as implying that certain features are critical, essential, or even important to the structure or function of the invention, but instead as merely intended to highlight alternative or additional features that may or may not be utilized in a particular embodiment of the invention. Likewise, a group of items linked with the conjunction ‘and’ should not be read as requiring that each and every one of those items be present in the grouping, but rather should be read as ‘and/or’ unless expressly stated otherwise. Similarly, a group of items linked with the conjunction ‘or’ should not be read as requiring mutual exclusivity among that group, but rather should be read as ‘and/or’ unless expressly stated otherwise.
All numbers expressing quantities of ingredients, reaction conditions, and so forth used in the specification are to be understood as being modified in all instances by the term ‘about.’ Accordingly, unless indicated to the contrary, the numerical parameters set forth herein are approximations that may vary depending upon the desired properties sought to be obtained. At the very least, and not as an attempt to limit the application of the doctrine of equivalents to the scope of any claims in any application claiming priority to the present application, each numerical parameter should be construed in light of the number of significant digits and ordinary rounding approaches.
All references cited herein are incorporated herein by reference in their entirety. To the extent publications and patents or patent applications incorporated by reference contradict the disclosure contained in the specification, the specification is intended to supersede and/or take precedence over any such contradictory material.
Headings are included herein for reference and to aid in locating various sections. These headings are not intended to limit the scope of the concepts described with respect thereto. Such concepts may have applicability throughout the entire specification.
Furthermore, although the foregoing has been described in some detail by way of illustrations and examples for purposes of clarity and understanding, it is apparent to those skilled in the art that certain changes and modifications may be practiced. Therefore, the description and examples should not be construed as limiting the scope of the invention to the specific embodiments and examples described herein, but rather to also cover all modification and alternatives coming with the true scope and spirit of the invention.
Any and all priority claims identified in the Application Data Sheet, or any correction thereto, are hereby incorporated by reference under 37 CFR 1.57. This application claims the benefit of U.S. Provisional Patent Application No. 63/141,345, filed Jan. 25, 2021. This application relates to U.S. application Ser. Nos. 17/112,870, 17/112,828, and 17/112,814, all filed Dec. 4, 2020. The aforementioned applications are incorporated by reference herein in their entirety, and are hereby expressly made a part of this specification.
Number | Date | Country | |
---|---|---|---|
63141345 | Jan 2021 | US |