CGM-Based Blood Glucose Prediction Model With LSTM Encoder–Decoder Architecture

Accurate prediction of blood glucose levels is crucial for automated treatment in diabetic patients. This study proposes a blood glucose prediction model based on an improved attention mechanism within a long short-term memory (LSTM) encoder-decoder (Att-E-D) architecture to enhance blood glucose prediction performance significantly. Compared to traditional encoder-decoder (E-D) architectures, the core improvement of this study lies in introducing an attention mechanism combined with a dynamic time warping (DTW) similar sequence search algorithm. Specifically, during the decoding phase of the Att-E-D architecture, the DTW-based similar sequence search algorithm is first utilized to retrieve the n most matching similar sequences from historical blood glucose data for the target prediction sequence. Then, at each time step, different attention weights are assigned to the encoded information. This enables the model to selectively focus on historical feature information with higher similarity to the current step, effectively enhancing neuron memory and reducing error propagation. Finally, after processing through a fully connected layer, the model outputs a prediction sequence for blood glucose trends over a future period. To validate the generalization ability of the Att-E-D model, comparative experiments were conducted using datasets from two different continuous glucose monitoring (CGM) sensors. The results demonstrate that the Att-E-D model significantly outperforms support vector regression (SVR), LSTM, gated recurrent unit (GRU), bidirectional LSTM (Bi-LSTM), Bi-GRU, and the basic E-D model in prediction accuracy, achieving the highest <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${R}^{{2}}$ </tex-math></inline-formula> values of 0.952 and 0.972 on the two datasets, respectively, proving its superior ability to capture the long-term dependencies in blood glucose data.

Authors

Institutions

Publication Details

Journal
IEEE Sensors Journal
Published
2024-12-20
DOI
https://doi.org/10.1109/jsen.2024.3517554
Citations
2
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
1.42

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CGM-Based Blood Glucose Prediction Model With LSTM Encoder–Decoder Architecture

He Xu, Yimu Ji, Sixing Liu, Ming Lv et al.
2 citations
IEEE Sensors Journal
Artificial Intelligence in Healthcare
1.42
article

CGM-Based Blood Glucose Prediction Model With LSTM Encoder–Decoder Architecture

He Xu, Yimu Ji, Sixing Liu, Ming Lv, Peng Li, Yi Zhang
article en
2 citations

Abstract

Accurate prediction of blood glucose levels is crucial for automated treatment in diabetic patients. This study proposes a blood glucose prediction model based on an improved attention mechanism within a long short-term memory (LSTM) encoder-decoder (Att-E-D) architecture to enhance blood glucose prediction performance significantly. Compared to traditional encoder-decoder (E-D) architectures, the core improvement of this study lies in introducing an attention mechanism combined with a dynamic time warping (DTW) similar sequence search algorithm. Specifically, during the decoding phase of the Att-E-D architecture, the DTW-based similar sequence search algorithm is first utilized to retrieve the n most matching similar sequences from historical blood glucose data for the target prediction sequence. Then, at each time step, different attention weights are assigned to the encoded information. This enables the model to selectively focus on historical feature information with higher similarity to the current step, effectively enhancing neuron memory and reducing error propagation. Finally, after processing through a fully connected layer, the model outputs a prediction sequence for blood glucose trends over a future period. To validate the generalization ability of the Att-E-D model, comparative experiments were conducted using datasets from two different continuous glucose monitoring (CGM) sensors. The results demonstrate that the Att-E-D model significantly outperforms support vector regression (SVR), LSTM, gated recurrent unit (GRU), bidirectional LSTM (Bi-LSTM), Bi-GRU, and the basic E-D model in prediction accuracy, achieving the highest <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${R}^{{2}}$ </tex-math></inline-formula> values of 0.952 and 0.972 on the two datasets, respectively, proving its superior ability to capture the long-term dependencies in blood glucose data.

IEEE Sensors JournalVol. 25(3)
Chinese PLA General Hospital (CN), Nanjing University of Posts and Telecommunications (CN), China Electric Equipment Group (China) (CN)
Six Talent Peaks Project in Jiangsu Province, National Key Research and Development Program of China
Zero hunger
Openalex Percentile: Top 12%
Artificial Intelligence in Healthcare
1.42
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.