Stacked LSTM based deep recurrent neural network with kalman smoothing for blood glucose prediction
- PMID: 33726723
- PMCID: PMC7968367
- DOI: 10.1186/s12911-021-01462-5
Stacked LSTM based deep recurrent neural network with kalman smoothing for blood glucose prediction
Abstract
Background: Blood glucose (BG) management is crucial for type-1 diabetes patients resulting in the necessity of reliable artificial pancreas or insulin infusion systems. In recent years, deep learning techniques have been utilized for a more accurate BG level prediction system. However, continuous glucose monitoring (CGM) readings are susceptible to sensor errors. As a result, inaccurate CGM readings would affect BG prediction and make it unreliable, even if the most optimal machine learning model is used.
Methods: In this work, we propose a novel approach to predicting blood glucose level with a stacked Long short-term memory (LSTM) based deep recurrent neural network (RNN) model considering sensor fault. We use the Kalman smoothing technique for the correction of the inaccurate CGM readings due to sensor error.
Results: For the OhioT1DM (2018) dataset, containing eight weeks' data from six different patients, we achieve an average RMSE of 6.45 and 17.24 mg/dl for 30 min and 60 min of prediction horizon (PH), respectively.
Conclusions: To the best of our knowledge, this is the leading average prediction accuracy for the ohioT1DM dataset. Different physiological information, e.g., Kalman smoothed CGM data, carbohydrates from the meal, bolus insulin, and cumulative step counts in a fixed time interval, are crafted to represent meaningful features used as input to the model. The goal of our approach is to lower the difference between the predicted CGM values and the fingerstick blood glucose readings-the ground truth. Our results indicate that the proposed approach is feasible for more reliable BG forecasting that might improve the performance of the artificial pancreas and insulin infusion system for T1D diabetes management.
Keywords: Blood glucose level prediction; Kalman smoothing; Recurrent neural network; Sensor fault correction; Stacked long short-term memory.
Conflict of interest statement
The authors declare that they have no competing interests.
Figures





Similar articles
-
Data-driven modeling and prediction of blood glucose dynamics: Machine learning applications in type 1 diabetes.Artif Intell Med. 2019 Jul;98:109-134. doi: 10.1016/j.artmed.2019.07.007. Epub 2019 Jul 26. Artif Intell Med. 2019. PMID: 31383477 Review.
-
A Stacked Long Short-Term Memory Approach for Predictive Blood Glucose Monitoring in Women with Gestational Diabetes Mellitus.Sensors (Basel). 2023 Sep 20;23(18):7990. doi: 10.3390/s23187990. Sensors (Basel). 2023. PMID: 37766044 Free PMC article.
-
Personalized Blood Glucose Forecasting From Limited CGM Data Using Incrementally Retrained LSTM.IEEE Trans Biomed Eng. 2025 Apr;72(4):1266-1277. doi: 10.1109/TBME.2024.3494732. Epub 2025 Mar 21. IEEE Trans Biomed Eng. 2025. PMID: 39514345
-
Long-Term Prediction of Blood Glucose Levels in Type 1 Diabetes Using a CNN-LSTM-Based Deep Neural Network.J Diabetes Sci Technol. 2023 Nov;17(6):1590-1601. doi: 10.1177/19322968221092785. Epub 2022 Apr 25. J Diabetes Sci Technol. 2023. PMID: 35466701 Free PMC article.
-
Diabetes technology and treatments in the paediatric age group.Int J Clin Pract Suppl. 2011 Feb;(170):76-82. doi: 10.1111/j.1742-1241.2010.02582.x. Int J Clin Pract Suppl. 2011. PMID: 21323816 Review.
Cited by
-
Machine Learning and Deep Learning Models for Nocturnal High- and Low-Glucose Prediction in Adults with Type 1 Diabetes.Diagnostics (Basel). 2024 Mar 30;14(7):740. doi: 10.3390/diagnostics14070740. Diagnostics (Basel). 2024. PMID: 38611653 Free PMC article.
-
Deep Learning-Based Glucose Prediction Models: A Guide for Practitioners and a Curated Dataset for Improved Diabetes Management.IEEE Open J Eng Med Biol. 2024 Feb 13;5:467-475. doi: 10.1109/OJEMB.2024.3365290. eCollection 2024. IEEE Open J Eng Med Biol. 2024. PMID: 38899015 Free PMC article.
-
Learning control-ready forecasters for Blood Glucose Management.Comput Biol Med. 2024 Sep;180:108995. doi: 10.1016/j.compbiomed.2024.108995. Epub 2024 Aug 9. Comput Biol Med. 2024. PMID: 39126789 Free PMC article.
-
Internet of Things in Pregnancy Care Coordination and Management: A Systematic Review.Sensors (Basel). 2023 Nov 23;23(23):9367. doi: 10.3390/s23239367. Sensors (Basel). 2023. PMID: 38067740 Free PMC article.
-
Comparative Analysis of Predictive Interstitial Glucose Level Classification Models.Sensors (Basel). 2023 Oct 6;23(19):8269. doi: 10.3390/s23198269. Sensors (Basel). 2023. PMID: 37837098 Free PMC article.
References
Publication types
MeSH terms
Substances
LinkOut - more resources
Full Text Sources
Other Literature Sources
Medical
Research Materials