[Paper Review] Stacked LSTM Based Deep Recurrent Neural Network with Kalman Smoothing for Blood Glucose Prediction
This paper proposes a stacked Long Short-Term Memory (LSTM) recurrent neural network enhanced with Kalman smoothing to improve blood glucose (BG) prediction accuracy in type-1 diabetes patients. By preprocessing continuous glucose monitoring (CGM) data with Kalman smoothing to correct sensor faults, the model achieves a mean RMSE of 6.45 mg/dL for 30-minute prediction horizons on the OhioT1DM dataset—representing state-of-the-art performance to date.
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. 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. For the OhioT1DM dataset, containing eight weeks' data from six different patients, we achieve an average RMSE of 6.45 and 17.24 mg/dl for 30 minutes and 60 minutes of prediction horizon (PH), respectively. 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.
Motivation & Objective
- To improve the reliability of blood glucose (BG) prediction in type-1 diabetes patients by addressing inaccuracies in continuous glucose monitoring (CGM) data due to sensor faults.
- To develop a deep learning model that leverages physiological inputs such as meal carbohydrates, insulin boluses, step counts, and smoothed CGM data for enhanced forecasting.
- To reduce the discrepancy between predicted CGM values and actual fingerstick BG readings, the ground truth in clinical validation.
- To demonstrate that Kalman smoothing of raw CGM data significantly improves the robustness and accuracy of deep recurrent neural network models in BG prediction.
Proposed method
- A stacked Long Short-Term Memory (LSTM) recurrent neural network is employed to model temporal dependencies in sequential BG data.
- Kalman smoothing is applied to raw CGM readings to correct sensor-induced noise and abrupt fluctuations before feeding the data into the model.
- Physiological features including meal carbohydrates, insulin bolus, and cumulative step counts over fixed intervals are incorporated as input features to enrich model context.
- The model is trained to minimize the difference between predicted CGM values and reference fingerstick BG measurements, using RMSE as the primary evaluation metric.
- The Kalman smoothing process is applied independently to each patient’s CGM time series to preserve individual physiological dynamics.
- The final prediction is generated by the stacked LSTM model using the preprocessed, smoothed CGM data and additional physiological inputs.
Experimental results
Research questions
- RQ1Can Kalman smoothing of raw CGM data improve the accuracy of deep learning-based blood glucose prediction models?
- RQ2How does the integration of multiple physiological inputs (meals, insulin, activity) affect prediction performance in a stacked LSTM framework?
- RQ3Does preprocessing CGM data with Kalman smoothing reduce prediction uncertainty and time delay in BG forecasts?
- RQ4What is the performance of the proposed model compared to state-of-the-art methods on the OhioT1DM dataset for 30- and 60-minute prediction horizons?
Key findings
- The proposed model achieved a mean RMSE of 6.45 mg/dL for 30-minute prediction horizons on the OhioT1DM dataset, outperforming all prior methods reported in the literature.
- For 60-minute prediction horizons, the model achieved a mean RMSE of 17.24 mg/dL, which is significantly lower than the best prior result of 19.04 mg/dL.
- Kalman smoothing reduced prediction uncertainty, as evidenced by a narrower standard deviation (SD) in the prediction curves, particularly in high-fluctuation patients like #575 and #591.
- The model trained on Kalman-smoothed data showed reduced time delay and better alignment with actual BG trends, especially around peaks and turning points in the glucose trajectory.
- Even without Kalman smoothing, the model achieved the best or second-best performance for four out of six patients, indicating strong inherent predictive capability.
- The study demonstrates that sensor fault correction via Kalman smoothing is a critical enabler for achieving state-of-the-art accuracy in deep learning-based BG prediction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.