Blood Glucose Prediction with Variance Estimation Using Recurrent Neural Networks

Many factors affect blood glucose levels in type 1 diabetics, several of which vary largely both in magnitude and delay of the effect. Modern rapid-acting insulins generally have a peak time after 60–90 min, while carbohydrate intake can affect blood glucose levels more rapidly for high glycemic index foods, or slower for other carbohydrate sources. It is important to have good estimates of the development of glucose levels in the near future both for diabetic patients managing their insulin distribution manually, as well as for closed-loop systems making decisions about the distribution. Modern continuous glucose monitoring systems provide excellent sources of data to train machine learning models to predict future glucose levels. In this paper, we present an approach for predicting blood glucose levels for diabetics up to 1 h into the future. The approach is based on recurrent neural networks trained in an end-to-end fashion, requiring nothing but the glucose level history for the patient. Our approach obtains results that are comparable to the state of the art on the Ohio T1DM dataset for blood glucose level prediction. In addition to predicting the future glucose value, our model provides an estimate of its certainty, helping users to interpret the predicted levels. This is realized by training the recurrent neural network to parameterize a univariate Gaussian distribution over the output. The approach needs no feature engineering or data preprocessing and is computationally inexpensive. We evaluate our method using the standard root-mean-squared error (RMSE) metric, along with a blood glucose-specific metric called the surveillance error grid (SEG). We further study the properties of the distribution that is learned by the model, using experiments that determine the nature of the certainty estimate that the model is able to capture.

[1]  Gaurav Baruah,et al.  Predicting Glycemia in Type 1 Diabetes Patients: Experiments with XG-Boost , 2018, KHD@IJCAI.

[2]  P. Cryer,et al.  Hypoglycemia in diabetes. , 2003, Diabetes care.

[3]  Scott M. Pappada,et al.  Neural network-based real-time prediction of glucose in patients with insulin-dependent diabetes. , 2011, Diabetes technology & therapeutics.

[4]  Dana Lewis,et al.  Real-World Use of Open Source Artificial Pancreas Systems , 2016, Journal of diabetes science and technology.

[5]  Sepp Hochreiter,et al.  The Vanishing Gradient Problem During Learning Recurrent Neural Nets and Problem Solutions , 1998, Int. J. Uncertain. Fuzziness Knowl. Based Syst..

[6]  Giuseppe De Nicolao,et al.  Neural Network Incorporating Meal Information Improves Accuracy of Short-Time Prediction of Glucose Concentration , 2012, IEEE Transactions on Biomedical Engineering.

[7]  Alexander Schliep,et al.  Automatic Blood Glucose Prediction with Confidence Using Recurrent Neural Networks , 2018, KDH@IJCAI.

[8]  D. Gough,et al.  Is blood glucose predictable from previous values? A solicitation for data. , 1999, Diabetes.

[9]  C. Bishop Mixture density networks , 1994 .

[10]  Lyvia Biagi,et al.  Prediction of Blood Glucose Levels And Nocturnal Hypoglycemia Using Physiological Models and Artificial Neural Networks , 2018, KHD@IJCAI.

[11]  Giovanni Sparacino,et al.  Glucose Concentration can be Predicted Ahead in Time From Continuous Glucose Monitoring Sensor Time-Series , 2007, IEEE Transactions on Biomedical Engineering.

[12]  Claudio Cobelli,et al.  A Glucose-Specific Metric to Assess Predictors and Identify Models , 2012, IEEE Transactions on Biomedical Engineering.

[13]  Lyvia Biagi,et al.  Using Grammatical Evolution to Generate Short-term Blood Glucose Prediction Models , 2018, KHD@IJCAI.

[14]  Boris Kovatchev,et al.  The Surveillance Error Grid , 2014, Journal of diabetes science and technology.

[15]  Jürgen Schmidhuber,et al.  Long Short-Term Memory , 1997, Neural Computation.

[16]  S.G. Mougiakakou,et al.  Neural Network based Glucose - Insulin Metabolism Models for Children with Type 1 Diabetes , 2006, 2006 International Conference of the IEEE Engineering in Medicine and Biology Society.

[17]  D. Cox,et al.  Evaluating Clinical Accuracy of Systems for Self-Monitoring of Blood Glucose , 1987, Diabetes Care.

[18]  Matthew T. Wiley,et al.  Machine Learning for Diabetes Decision Support , 2011 .

[19]  Cynthia R. Marling,et al.  Using LSTMs to learn physiological models of blood glucose behavior , 2017, 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[20]  C. Cobelli,et al.  Artificial neural network algorithm for online glucose prediction from continuous glucose monitoring. , 2010, Diabetes technology & therapeutics.

[21]  Cynthia R. Marling,et al.  Blood Glucose Level Prediction Using Physiological Models and Support Vector Regression , 2013, 2013 12th International Conference on Machine Learning and Applications.

[22]  Yoshua Bengio,et al.  Learning long-term dependencies with gradient descent is difficult , 1994, IEEE Trans. Neural Networks.

[23]  Alex Graves,et al.  Generating Sequences With Recurrent Neural Networks , 2013, ArXiv.