Comparative Analysis of LSTM and GRU Neural Networks in Predicting Hyperglycemic and Hypoglycemic Events
A Time Series Approach for Diabetes Patient Monitoring
DOI:
https://doi.org/10.47611/jsrhs.v13i4.8396Keywords:
machine learning, glucose management, time series forecasting, neural networksAbstract
The research aims to compare the effectiveness of Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) neural networks in predicting hyperglycemic and hypoglycemic events in diabetes patients using wearable sensor data, to identify the more effective model for near-term blood glucose forecasting. Effective prediction of blood glucose levels is crucial for Type 1 diabetes management, as extreme glucose levels can cause fatal hyperglycemic and hypoglycemic incidents. Choosing between LSTM and GRU models can significantly impact predictive accuracy and patient outcomes.
The OpenD1NAMO public dataset was used as a training set to compare the efficacies of LSTM and GRU models in predicting near-term glucose levels. Artificial features such as lagged features and rolling averaged lagged features were created to facilitate glucose forecasting comparisons. Various permutations of hyperparameters were then compared to find the most effective set for the provided sensor data. GRU and LSTM models trained on a portion of the preprocessed dataset were compiled and the average of the minimum MSEs per epoch were compared.
On average, the LSTM model was 53.5% more accurate than the GRU model for the dataset provided, forecasting blood glucose values with a 15-minute interval. The minimum average MSE of the LSTM model was 2.043 mmol2/L2 while the minimum average MSE of the GRU model was 3.137 mmol2/L2.
Given the models’ performances on the dataset, it suggests that LSTM models will likely be more accurate than GRU models when predicting near-term blood glucose levels using live wearable sensor data.
Downloads
References or Bibliography
R. Cahuantzi, X. Chen, and S. Güttel. “A Comparison of LSTM and GRU Networks for Learning Symbolic Sequences.” arXiv.Org, 4 Jan. 2023, arxiv.org/abs/2107.02248.
F. Dubosson, et al. “The Open D1namo Dataset: A Multi-Modal Dataset for Research on Non-Invasive Type 1 Diabetes Management – DOAJ.” Informatics in Medicine Unlocked, Elsevier, 1 Jan. 2018, doaj.org/article/babcdeb1b6c34747bb4b6db6a6be3bf.
H. Khadem, A. Razavi, and M. Baniahmad. “Blood Glucose Level Time Series Forecasting: Nested Deep Ensemble Learning Lag Fusion.” Bioengineering (Basel, Switzerland), U.S. National Library of Medicine, 19 Apr. 2023, www.ncbi.nlm.nih.gov/pmc/articles/PMC10135844/.
University of Florida Diabetes Institute. "Dietary factors, activity, and blood glucose regulation." UF Monogram, diabetes.ufl.edu/.
J.F. Trepanowski, C.M. Kroeger, A. Barnosky, et al. “Effect of Alternate-Day Fasting on Weight Loss, Weight Maintenance, and Cardioprotection among Metabolically Healthy Obese Adults: A Randomized Clinical Trial.” JAMA Internal Medicine, U.S. National Library of Medicine, 1 July 2017, www.ncbi.nlm.nih.gov/pmc/articles/PMC5680777/.
E.F. Sutton, R.A. Beyl, K.S. Early, et al. “Early Time-Restricted Feeding Improves Insulin Sensitivity, Blood Pressure, and Oxidative Stress Even without Weight Loss in Men with Prediabetes.” Cell Metabolism, U.S. National Library of Medicine, pubmed.ncbi.nlm.nih.gov/29754952/. Accessed 04 Aug. 2024.
“Handling Hypoglycemia.” Harvard Health, 30 Sept. 2016, www.health.harvard.edu/diseases-and-conditions/handling-hypoglycemia.
W.P.T.M. van Doorn, et al. “Machine Learning-Based Glucose Prediction with Use of Continuous Glucose and Physical Activity Monitoring Data: The Maastricht Study.” PloS One, U.S. National Library of Medicine, 24 June 2021, www.ncbi.nlm.nih.gov/pmc/articles/PMC8224858/.
Published
How to Cite
Issue
Section
Copyright (c) 2024 Anish Kumar

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright holder(s) granted JSR a perpetual, non-exclusive license to distriute & display this article.


