Skip to main content
QUICK REVIEW

[Paper Review] Convolutional Recurrent Neural Networks for Glucose Prediction

Kezhi Li, John Daniels|arXiv (Cornell University)|Jul 9, 2018
Diabetes Management and ResearchMedicine50 references15 citations
TL;DR

This paper proposes a convolutional recurrent neural network (CRNN) for accurate blood glucose (BG) prediction in Type 1 diabetes patients using continuous glucose monitor (CGM), meal, and insulin data. The model combines 1D convolutional layers for feature extraction and bidirectional LSTM layers for sequence modeling, achieving state-of-the-art performance with RMSE of 9.38 ± 0.71 mg/dL (30-min horizon) in simulation and 21.07 ± 2.35 mg/dL in real-world data, while enabling real-time inference on mobile devices in just 6 ms.

ABSTRACT

Control of blood glucose is essential for diabetes management. Current digital therapeutic approaches for subjects with Type 1 diabetes mellitus (T1DM) such as the artificial pancreas and insulin bolus calculators leverage machine learning techniques for predicting subcutaneous glucose for improved control. Deep learning has recently been applied in healthcare and medical research to achieve state-of-the-art results in a range of tasks including disease diagnosis, and patient state prediction among others. In this work, we present a deep learning model that is capable of forecasting glucose levels with leading accuracy for simulated patient cases (RMSE = 9.38$\pm$0.71 [mg/dL] over a 30-minute horizon, RMSE = 18.87$\pm$2.25 [mg/dL] over a 60-minute horizon) and real patient cases (RMSE = 21.07$\pm$2.35 [mg/dL] for 30-minute, RMSE = 33.27$\pm$4.79\% for 60-minute). In addition, the model provides competitive performance in providing effective prediction horizon ($PH_{eff}$) with minimal time lag both in a simulated patient dataset ($PH_{eff}$ = 29.0$\pm$0.7 for 30-min and $PH_{eff}$ = 49.8$\pm$2.9 for 60-min) and in a real patient dataset ($PH_{eff}$ = 19.3$\pm$3.1 for 30-min and $PH_{eff}$ = 29.3$\pm$9.4 for 60-min). This approach is evaluated on a dataset of 10 simulated cases generated from the UVa/Padova simulator and a clinical dataset of 10 real cases each containing glucose readings, insulin bolus, and meal (carbohydrate) data. Performance of the recurrent convolutional neural network is benchmarked against four algorithms. The proposed algorithm is implemented on an Android mobile phone, with an execution time of $6$ms on a phone compared to an execution time of $780$ms on a laptop.

Motivation & Objective

  • To improve glucose prediction accuracy in Type 1 diabetes using deep learning to model complex, non-linear relationships in CGM, meal, and insulin data.
  • To develop a personalized, real-time prediction model deployable on resource-constrained mobile platforms for clinical use.
  • To address the limitations of traditional machine learning models that rely on handcrafted features and struggle with long-term temporal dependencies.
  • To evaluate the model on both simulated and real patient datasets to ensure robustness and clinical relevance.

Proposed method

  • The CRNN architecture uses a 1D convolutional neural network (CNN) with Gaussian kernel filters and max-pooling layers to extract temporal features from multi-dimensional time series of glucose, meal, and insulin data.
  • A bidirectional long short-term memory (LSTM) network processes the extracted features to model long-range dependencies in sequential data.
  • The model is trained end-to-end using mean squared error (MSE) loss on time-aligned input sequences of CGM, carbohydrate, and insulin data.
  • A fully connected regression head produces the final glucose prediction output.
  • The trained model is converted to TensorFlow Lite format for efficient deployment on mobile devices.
  • Model personalization is achieved by training on subject-specific data, enabling individualized predictions with continuous online updates.

Experimental results

Research questions

  • RQ1Can a deep learning model combining CNN and RNN architectures outperform traditional machine learning methods in predicting blood glucose levels for Type 1 diabetes patients?
  • RQ2How does the proposed CRNN model perform in terms of prediction accuracy and effective prediction horizon (PHeff) on both simulated and real clinical datasets?
  • RQ3Can the CRNN model be efficiently deployed on mobile devices with minimal inference latency while maintaining high accuracy?
  • RQ4To what extent does the model’s performance degrade for hypoglycemic events compared to hyperglycemic events over longer prediction horizons?

Key findings

  • The CRNN achieved an RMSE of 9.38 ± 0.71 mg/dL over a 30-minute prediction horizon in simulated cases, outperforming benchmark models including SVR and NNPG.
  • In real patient data, the model achieved an RMSE of 21.07 ± 2.35 mg/dL for 30-minute predictions and 33.27 ± 4.79 mg/dL for 60-minute predictions.
  • The model demonstrated a high effective prediction horizon (PHeff) of 29.0 ± 0.7 minutes for 30-minute forecasts and 49.8 ± 2.9 minutes for 60-minute forecasts in simulated data.
  • On real patient data, the PHeff was 19.3 ± 3.1 minutes for 30-minute forecasts and 29.3 ± 9.4 minutes for 60-minute forecasts, indicating strong temporal generalization.
  • The model achieved a 6 ms inference time on an Android smartphone (LG Nexus 5), significantly faster than the 780 ms on a laptop, enabling real-time clinical deployment.
  • Performance degradation was more pronounced for hypoglycemic predictions than hyperglycemic ones over longer horizons, suggesting the need to incorporate future event modeling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.