BAYESIAN FRAMEWORK FOR PERSONALIZED MODEL IDENTIFICATION AND PREDICTION OF FUTURE BLOOD GLUCOSE IN TYPE 1 DIABETES USING EASILY ACCESSIBLE PATIENT DATA

Information

  • Patent Application
  • 20220233152
  • Publication Number
    20220233152
  • Date Filed
    November 12, 2021
    3 years ago
  • Date Published
    July 28, 2022
    2 years ago
Abstract
A method of predicting future blood glucose concentrations of an individual patient includes: 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.
Description
BACKGROUND

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.


SUMMARY

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.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is flowchart illustrating at a high level the steps involved in the individualized model-based prediction scheme described herein.



FIG. 2 illustrates one example of the subcutaneous insulin absorption subsystem scheme.



FIG. 3 illustrates one example of the oral glucose absorption subsystem scheme.



FIG. 4 illustrates one example of the glucose-insulin kinetics subsystem scheme.



FIG. 5 illustrates one example of the residual error model scheme.



FIG. 6A shows the coefficient of determination (COD) obtained with ARX, ARIMAX, and PF for different PH, from 15 min up to 120 min; and FIG. 6B shows the root mean square error (RMSE) obtained with ARX, ARIMAX, and PF for different PH, from 15 min up to 120 min.





DETAILED DESCRIPTION
I. Introduction

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.



FIG. 1 is flowchart illustrating at a high level the steps involved in the individualized model-based prediction scheme described herein. As shown, the first step 10 in the scheme selects a suitable model structure from among the various available options described above. The selected model is an individualized nonlinear physiological model of glucose-insulin regulation. As described below, the selected model has model parameters that can be individualized from easily accessible patient logs, such as carbohydrate intake and insulin infusion data, to mimic an individual specific physiology.


In the second step 20 of the prediction scheme shown in FIG. 1 selected ones of the model parameters that are to be personalized for an individual patient are estimated using a parameter estimation technique. In one embodiment the parameter estimation technique that is used employs a Bayesian approach, implemented by Markov Chain Monte Carlo (MCMC) to estimate the large number of parameters in the presence of complex nonlinear dynamics. Next, in the third step 30 the obtained personalized model is used within a nonlinear prediction scheme based, for example, on a particle filter methodology.


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.


II. A Physiological Model of Glucose-Insulin Regulation

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.


A. Subcutaneous Insulin Absorption Subsystem

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 FIG. 2. The model is composed of three compartments. Exogenous insulin I is infused to the first compartment where it appears after a delay β. In the first compartment, representing insulin in a non-monomeric state, insulin is transformed in a monomeric state and then diffused to the plasma. The model equations are:









{







I
.


sc

1


(
t
)

=



-

k
d


·


I

sc

1


(
t
)


+


I

(

t
-
β

)

/

V
I












I
.


sc

2


(
t
)

=



k
d

·


I

sc

1


(
t
)


-


k

a

2


·


I

sc

2


(
t
)












I
.

p

(
t
)

=



k

a

2


·

I

sc

2



-


k
e

·


I
p

(
t
)











(
1
)







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 FIG. 1 and associated to the rate constant ka1. The simplification is due to the fact that both the insulin fraction and the number of patients where this happens is small. A priori information on model parameters, reported in Table 1, have been obtained from the literature. Specifically, VI and β have been set to population values, i.e. 0.126 l/kg and 8 min, respectively. Furthermore, kd has been constrained to kd≥ka2 since the two combinations are interchangeable. Unknown model parameters result θins=[ka2, kd].


B. Oral Glucose Absorption Subsystem

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 FIG. 3. It describes the gastro-intestinal tract as three-compartment system: the first two compartments account for food in the stomach (solid and grinded state), while the third compartment models the upper small intestine where CHO is absorbed. Model equations are:









{







Q
.


sto

1


(
t
)

=



-

k

g

r

i



·


Q

sto

1


(
t
)


+

CHO

(
t
)











Q
˙


sto

2


(
t
)

=



k
gri

·


Q

sto

1


(
t
)


-


k
empt

·


Q

sto

2


(
t
)












Q
.

gut

(
t
)

=



k
empt

·


Q

sto

2


(
t
)


-


k
abs

·


Q
gut

(
t
)











(
2
)







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 FIG. 3).


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].


C. Glucose-Insulin Kinetics Subsystem

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 FIG. 4. Model equations are:









{






G
˙

(
t
)

=



-

[

SG
+


ρ

(
G
)



X

(
t
)



]


·

G

(
t
)


+

SG
·

G
b


+


Ra

(
t
)

/

V
G











X
˙

(
t
)

=


-

p
2


·

[


X

(
t
)

-

SI
·

(



I
p

(
t
)

-

I
pb


)



]










IG
.

(
t
)

=


-

1
α




(


IG

(
t
)

-

G

(
t
)


)










(
4
)







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):










ρ

(
G
)

=

{



1




if


G



G
b







1
+


10
·

r
1





{



[

ln

(
G
)

]


r
2


-


[

ln

(

G
b

)

]


r
2



}

2







if



G
th


<
G
<

G
b







1
+


10
·

r
1





{



[

ln

(

G
th

)

]


r
2


-


[

ln

(

G
b

)

]


r
2



}

2







if


G



G
th










(
5
)







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:









SI
=

{




SI
B





if


4


AM


<
t


11


AM







SI
L





if


4


AM


<
t


5


PM







SI
D



otherwise








(
6
)







G
b

=

{





G

b
dawn








if


2


AM


<
t


6


AM








G

b
day






otherwise








(
7
)







A priori information on parameter distributions, reported in detail in Table custom-character, 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, Gbdawn, Gbday, p2].


D. Overall Physiological Model

In summary, the overall physiological model is obtained combining the three submodels introduced so far:









{







x
˙


p

h

y


(
t
)

=


f
phy

(


x
phy

,

u
phy

,
t
,

θ
phy


)








y


(
t
)


=

IG


(
t
)










(
8
)







where xphy (t) is the state vector defined as










x

p

h

y


(
t
)

:

=



[


x
ins

,




"\[LeftBracketingBar]"



x
oral

,



"\[RightBracketingBar]"




x
glu



]

T

=


[


I

sc

1


,

I

sc

2


,

I
p

,




"\[LeftBracketingBar]"



Q

s

t

o

1


,

Q

s

t

o

2


,


Q

g

u

t


,




"\[RightBracketingBar]"



G

,
X
,
IG

]

T



;




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:=[θinsoralglu]


whose estimation will be discussed in the next section.









TABLE 1







A Priori Information on Model Parameters











Parameter
Distribution
Reference







SG
LOGN(−3.8, 0.5)
(30)



SIB
GAMMA(3.3, 4.5e−4)
(30)



SIL
GAMMA(3.3, 4.5e−4)
(30)



SID
GAMMA(3.3, 4.5e−4)
(30)



Gbdawn
N(120, 5)
(30)



Gbday
N(120, 5) and Gbday ≤ Gbdawn
(30)



sqrt(p2)
N(0.11, 0.004)
(30)



ka2
LOGN(−4.29, 0.43) and kd ≥ ka2
(24)



kd
LOGN(−3.51, 0.62) and kd ≥ ka2
(24)



kabs
LOGN(−5.46, 1.44) and kabs ≤ kempt
(25)



kempt
LOGN(−1.96, 0.71) and kabs ≤ kempt
(25)







N(μ, σ) stands for a normal distribution of meanμand standard deviationσ. LOGN(μ, σ) stands for a log-normal distribution of meanμand standarddeviationσ. GAMMA(a, b) stands for a gamma distribution with shape parameter a and scale parameter b.






III. Offline Bayesian Estimation of Personalized Model Parameters by Markov Chain Monte Carlo

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)  (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:











p


θ
|
Y

,
U


(


θ

Y

,
U

)

=




p


Y
|
θ

,
U


(


Y
|
θ

,
U

)




p
θ

(
θ
)







p


Y
|
θ

,
U


(


Y
|
θ

,
U

)




p
θ

(
θ
)


d

θ







(
10
)







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:











θ
ˆ


p

h

y


=


1
N





i
N



θ
i

.







(
11
)







To build such a chain, the Single Component Metropolis-Hastings (SCMH) algorithm has been used.


A. Implementation Details

We partitioned θphy into five sets θphy:=[θ1, θ2, θ3, θ4, θ5], namely θ1:=[SG, SIB, Gbdawn], θ2:[SIL,Gbday], θ3:=[SID], θ4:=[p2, ka2, kd], θ5:=[kempt,kabs].


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 α






α
=

min

(

1
,



π

(


ϕ
p

|

θ

i
,

-
p




)




q
p

(



θ


i
-
1

,
p


|

ϕ
p


,

θ

i
,

-
p




)




π

(


θ


i
-
1

,
p


|

θ

i
,

-
p




)




q
p

(



ϕ
p

|

θ


i
-
1

,
p



,

θ

i
,

-
p




)




)





with π(θpi,−p) proportional to the posterior of θp given that the other components θ−p assume the value θ−pi,−p:





π(θpi,−p)=pY|θ,U(Y|θpi,−p,U)pθpi,−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(⋅|⋅)=Ni−1,pp);


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 (θphyp|Y, U), multiplied by a scaling factor 2.4/√{square root over (d)} as suggested in H. Haario, E. Saksman, and J Tamminen, “Adaptive proposal distribution for random walk metropolis algorithm,” Computational Statistics, vol. 14, pp. 375-395, 1999. This estimates is computed by running two exploratory MCMCs for nIter=600 iterations and updated every 1500 iterations of the algorithm, thus implementing an adaptive SCMH.


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).












Algorithm 1: Adaptive Single Component Metropolis Hastings

















i ← 0;



initialize θphyα, nIter;



repeat










 |
for p ← 1 to 5 do











 |
 |
set θphytext missing or illegible when filed  =



 |
 |
 [θphyi,1, . . . , θphyi,p−1, θphyi−1,p+1, θphyi−1,b];



 |
 |
sample ϕp~qp(·|·);



 |
 |
set






 |
 |




α
=

min


(

1
,


π


(



ϕ
p





θ

i
,

-
p



)




q
p

(

θ


i
-
1

,
p






ϕ
p


,

θ

i
,

-
p




)



π


(



θ


i
-
1

,
p






θ

i
,

-
p



)




q
p

(

ϕ
p





θ


i
-
1

,
p



,

θ

i
,

-
p




)




)












 |
 |
sample U~Uniform(0,1);



 |
 |
if U ≤ α then












 |
 |
 |
set θphyi,p = ϕp;











 |
 |
else












 |
 |
 |
set θphyi,p = θphyi−1,p;











 |
 |
end











 |
end











 |
i ← i + 1









until n < nIter;






text missing or illegible when filed indicates data missing or illegible when filed







IV. Residual Error Model

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 FIG. 5.






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).


A. Augmented Model

The final model is then obtained augmenting (8) with the state space representation of the residual error model:






{






x
phy



(

t
k

)


=



f
d

(


x

p

h

y


,

u

p

h

y


,

t

k
-
1


,


θ

p

h

y



)

+

v

p

h

y






















(

14

a

)



















(

t
k

)

=


Ae

(

t

k
-
1


)

+

B


ϵ

(

t
k

)



















(

14

b

)













y


(

t
k

)


=


IG

(

t
k

)

+

C


e

(

t
k

)


+

ϵ

(

t
k

)


















(

14

c

)














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 Σvphy. The model is augmented with e, the state vector associated with a state-space representation of the ARIMA process describing the residual error (13) where matrices A, B, and C are defined as in G. E. P. Box, G. M. Jenkins, G. C. Reinsel, and G. M. Ljung, “Timeseries analysis: Forecasting and control,” 5th edition. Hoboken, NJ: Wileyand Sons, 2015.







A
=

[



0


1


0


0


0


0




0


0


1


0


0


0




0


0


0


1


0


0




0


0


0


0


1


0




0


0


0


0


0


1





a
6




a
5




a
4




a
3




a
2




a
1




]





B
=

[



1





b
1






b
2






b
3






b
4






b
4




]





C
=

[



1


0


0


0


0



]






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)


V. Realtime Glucose Prediction Through Particle Filter

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:







p

(



x

(

t

k
-
1


)

|

y

(

t

1
:

k
-
1



)


,


u

(

t

1
:

k
-
1



)


)






p
=
1

P




w
p

(

t

k
-
1


)




δ

(


x

(

t

k
-
1


)

-


x
p

(

t

k
-
1


)


)

.







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







p

(



x

(

t
k

)

|

y

(

t

1
:

k
-
1



)


,


u

(

t

1
:
k


)


)







p
=
1

P




w

*
p


(

t
k

)



δ

(


x

(

t
k

)

-


x
p

(

t
k

)


)



.





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.


A. Implementation Details

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








p

(



x

(

t

k
-
1


)

|

y

(

t

1
:

k
-
1



)


,


u

(

t

1
:

k
-
1



)


)






p
=
1

P




w
p

(

t

k
-
1


)



δ

(


x

(

t

k
-
1


)

-


x
p

(

t

k
-
1


)


)




,




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







p

(



x

(

t
k

)

|

y

(

t

1
:

k
-
1



)


,


u

(

t

1
:
k


)


)






p
=
1

P




w

*
p


(

t
k

)




δ

(


x

(

t
k

)

-


x
p

(

t
k

)


)

.







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







p

(



x

(

t
k

)

|

y

(

t

1
:

k
-
1



)


,


u

(

t

1
:
k


)


)




1
P






p
=
1

P



δ

(


x

(

t
k

)

-


x
p

(

t
k

)


)

.







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.:









y
ˆ

(


t

k
+
i


|

t
k


)

=


1
P






p
=
1

P



y
p

(


t

k
+
i


|

t
k


)




,



i

=
1

,


,

PH
.





The implemented PF is summarized in Algorithm (2).












Algorithm 2: Particle Filter

















k ← 1:



xto = N(xtext missing or illegible when filed , Σv));



repeat










 |
Step 1: One step-ahead prediction;



 |
for p ← 1 to P do











 |
 |
sample xp(tk) from



 |
 |
 N(f(xp(ik−1), u, tk−1, θ), Σv));










 |
end



 |
Step 2: Measurement update;



 |
for p ← 1 to P do











 |
 |
compute wtext missing or illegible when filed (tk) = N(y(tk) − yp(tk), SDtext missing or illegible when filed );










 |
end



 |
normalize wtext missing or illegible when filed (tk) = wtext missing or illegible when filed (tk)/Σp wtext missing or illegible when filed (tk);



 |
Step 3: Resampling;



 |
sample {xtext missing or illegible when filed (tk)}p=1P s.t. Pr(xtext missing or illegible when filed (tk) = xp(tk)) =



 |
 wtext missing or illegible when filed (tk);



 |
set {xp(tk)}p=1P = {xtext missing or illegible when filed (tk)}p=1P;



 |
Step 4: Multiple steps-ahead prediction;



 |
for p ← 1 to P do











 |
 |
compute yp(tk+i|tk), ∀i = 1, . . . , PH;










 |
end



 |
compute ŷ(tk+i|tk) = text missing or illegible when filed  Σp=1P yp(tk+i|tk), ∀i =



 |
 1, . . . , PH;



 |
k ← k + 1









until k ≤ D;








text missing or illegible when filed indicates data missing or illegible when filed







VI. Methodology Assessment
A. The Simulated Dataset

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.


B. Prediction Approaches Used for Comparison

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.


C. Assessment Metrics

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:











RMSE

(
i
)

=


1

m








y

(

t

k
+
i


)

-


y
ˆ

(


t

k
+
i


|

t
k


)




2



,



i

=
1

,


,

PH
.











where ∥⋅∥2 denotes the custom-character2 norm. The larger the RMSE the worst the prediction.











COD

(
i
)

=

100
·

(

1
-





y

(

t

k
+
i


)


-



y
ˆ

(


t

k
+
i


|

t
k


)



2
2







y

(

t

k
+
i


)


-



y
¯

(

t

k
+
i


)



2
2





)



,




i

=
1

,





PH
.












where y(tk+i) is the sample mean of the glucose measurement timeseries. COD depends on the RMSE, normalized for the signal sample variance. COD is at most COD=100%, in case of perfect prediction (RMSE=0 mg/dl) and decreases when RMSE increases.






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.









TABLE II







Comparison between the performance metrics (median [iqr]) obtained


using ARX, ARIMAX, and PF on the in silico population for PH =


30, 60, 90, 120 min. Best average results are in bold weight.









PH [min]












Metric
Methodology
30
60
90
120





RMSE
PF
13.85

21.27


26.14


29.83





[11.93, 15.89]
[17.95, 24.81]
[63.82, 78.08]
[26.06, 36.52]




14.73
25.12
33.97
41.61



ARX
[13.42, 16.94]
[21.55, 29.67]
[28.09, 40.28]
[33.89, 48.26]




p < 0.0001
p < 0.0001
p < 0.0001
p < 0.0001





13.26

21.81
28.92
35.64



ARIMAX
[12.07, 15.25]
[18.50, 25.96]
[24.24, 35.11]
[29.67, 44.12]




p = 0.22 
p = 0.03 
p < 0.0001
p < 0.0001


COD
PF
91.54

81.36


70.80


61.06





[89.18, 93.89]
[75.65, 85.66]
[63.82, 78.08]
[51.83, 71.82]




89.35
71.50
50.50
28.07



ARX
[87.53, 92.18]
[66.10, 77.86]
[40.20, 59.85]
[14.21, 40.13]




p < 0.0001
p < 0.0001
p < 0.0001
p < 0.0001





91.61

78.19
60.18
40.36



ARIMAX
[88.54, 94.20]
[70.46, 84.80]
[49.79, 72.27]
[22.77, 60.08]




p = 0.28 
p = 0.03 
p < 0.0001
p < 0.0001


TG
PF

30.0


60.0


90.0


120.0





[25.0, 30.0]
[55.0, 60.0]
[80.0, 90.0]
[105.0, 120.0]




15.0 
20.0 
22.5 
25.0 



ARX
[10.0, 20.0]
[25.0, 40.0]
[35.0, 70.0]
 [55.0, 110.0]




p < 0.0001
p < 0.0001
p < 0.0001
p < 0.0001




25.0 
50.0 
80.0 
110.0 



ARIMAX
[15.0, 30.0]
[30.0, 55.0]
[37.5, 85.0]
 [35.0, 120.0]




p < 0.0001
p < 0.0001
p < 0.0001
P < 0.0001









D. Results


FIGS. 6A and 6B show RMSE and COD obtained with ARX, ARIMAX, and PF for different PH, from 15 min up to 120 min. The tick line represents the median over the population, while the area between the 25th and 75th percentile is shaded. The same information is reported in Table II for PH=30, 60, 90 and 120 min, that includes also the p-values.


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.


VII. Alternative Embodiments

The individualized model-based prediction scheme presented herein in connection with the flowchart of FIG. 1 has been illustrated using exemplary examples of a particular individualized nonlinear physiological model (a maximal model such as the UVa/Padova T1D Simulator), a particular parameter estimation technique (MCMC) and a particular nonlinear prediction scheme (a particle filter methodology). More generally, the individualized model-based prediction scheme may employ a variety of alternative parameter estimation techniques and a variety of alternative nonlinear prediction schemes may be used in combination with different individualized nonlinear physiological models. For example, in some embodiments the parameter estimation technique that is employed may be a maximum likelihood technique or a prediction error minimization method. Likewise, in some embodiments the nonlinear prediction scheme that is employed may be an extended Kalman filter technique or an unscented Kalman filter technique.


VIII. Conclusion

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.

Claims
  • 1. A method 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; andapplying 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.
  • 2. The method of claim 1, wherein the parameter estimation technique is a Markov Chain Monte Carlo (MCMC) Bayesian estimator.
  • 3. The method of claim 1, wherein 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.
  • 4. The method of claim 1, wherein the nonlinear prediction technique is a particle filter.
  • 5. The method of claim 2, wherein the nonlinear prediction technique is a particle filter.
  • 6. The method of claim 1, wherein the nonlinear prediction technique is selected from the group consisting of an extended Kalman filter technique and an unscented Kalman filter technique.
  • 7. The method of claim 2, wherein the nonlinear prediction technique is selected from the group consisting of an extended Kalman filter technique and an unscented Kalman filter technique.
  • 8. The method of claim 1, wherein 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.
  • 9. The method of claim 8, wherein 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.
  • 10. The method of claim 8, wherein 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.
  • 11. The method of claim 10, wherein 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.
  • 12. The method of claim 1, wherein the selected individualized nonlinear physiological model is a maximal physiological model in which selected ones of the model parameters are neglected.
  • 13. The method of claim 1, wherein 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
  • 14. The method of claim 1, further comprising augmenting the selected individualized nonlinear physiological model with a residual error model to describe residual modeling errors.
  • 15. The method of claim 15, wherein the residual modeling errors are modeled as an Auto regressive Integrated Moving Average (ARIMA) of order (5,5,1).
  • 16. The method of claim 14, wherein the residual error model has model parameters estimated using a predicted error method (PEM).
  • 17. The method of claim 1, wherein the predicted blood glucose concentration is predicted at a plurality of different times.
INCORPORATION BY REFERENCE TO RELATED APPLICATION

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.

Provisional Applications (1)
Number Date Country
63141345 Jan 2021 US