Significant of Blood Glucose Time-Series Forecasting with Temporal Fusion Transformer Model for Type 1 Diabetes

Blood glucose (BG) prediction has advanced to a state of the art thanks to deep learning models, which have been demonstrated to enhance type 1 diabetes (T1D) therapy. Nevertheless, most current models are limited to single-horizon prediction and have several practical drawbacks, including poor interpretability. In this study, we develop a novel approach to optimize the forecasting model in the training processes using the Optuna function, cross-validation, and the latest dataset. We offer a novel deep learning framework for multi-horizon BG prediction: the temporal fusion transformer (TFT). TFT employs a self-attention mechanism to extract long-term temporal dependencies and enables a model with an auto-tuning adjustment approach on hyperparameters and a cross-validation function on univariate and multivariate input models. On a clinical dataset with T1D subjects, namely ShanghaiT1DM (16 subjects), D1NAMO (9 subjects), and OhioT1DM (6 subjects) datasets, it achieved an average root mean square error (RMSE) of the three datasets used. The TFT model gave a lower error score than the baseline models of neural hierarchical interpolation for time series (N-HiTS)and long short-term memory (LSTM) with the values of 10.08+0.31 mg/dL and 12.34+0.62 mg/dL on the univariate input model and 9.18+1.21 mg/dL and 14.33+0.52 mg/dL on the multivariate input model for the prediction horizons of 30 and 60 minutes, respectively. This result explained that the TFT model was adequate for carrying out multi-horizon BG value-level forecasting and potentially deploying on-edge devices to improve clinical efforts to manage BG levels for T1D patients in real-time application.

Authors

Institutions

Publication Details

Journal
Journal of Advanced Research in Applied Sciences and Engineering Technology
Published
2024-10-27
DOI
https://doi.org/10.37934/araset.60.2.312324
Citations
1
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.71

Funders

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

Significant of Blood Glucose Time-Series Forecasting with Temporal Fusion Transformer Model for Type 1 Diabetes

Farhanahani Mahmud, Rudi Setiawan, Marlia Morsin, Ade Anggian Hakim et al.
1 citations
Journal of Advanced Research in Applied Sciences and Engineering Technology
Artificial Intelligence in Healthcare
0.71
article

Significant of Blood Glucose Time-Series Forecasting with Temporal Fusion Transformer Model for Type 1 Diabetes

Farhanahani Mahmud, Rudi Setiawan, Marlia Morsin, Ade Anggian Hakim, Aizan Masdar
article en
1 citations

Abstract

Blood glucose (BG) prediction has advanced to a state of the art thanks to deep learning models, which have been demonstrated to enhance type 1 diabetes (T1D) therapy. Nevertheless, most current models are limited to single-horizon prediction and have several practical drawbacks, including poor interpretability. In this study, we develop a novel approach to optimize the forecasting model in the training processes using the Optuna function, cross-validation, and the latest dataset. We offer a novel deep learning framework for multi-horizon BG prediction: the temporal fusion transformer (TFT). TFT employs a self-attention mechanism to extract long-term temporal dependencies and enables a model with an auto-tuning adjustment approach on hyperparameters and a cross-validation function on univariate and multivariate input models. On a clinical dataset with T1D subjects, namely ShanghaiT1DM (16 subjects), D1NAMO (9 subjects), and OhioT1DM (6 subjects) datasets, it achieved an average root mean square error (RMSE) of the three datasets used. The TFT model gave a lower error score than the baseline models of neural hierarchical interpolation for time series (N-HiTS)and long short-term memory (LSTM) with the values of 10.08+0.31 mg/dL and 12.34+0.62 mg/dL on the univariate input model and 9.18+1.21 mg/dL and 14.33+0.52 mg/dL on the multivariate input model for the prediction horizons of 30 and 60 minutes, respectively. This result explained that the TFT model was adequate for carrying out multi-horizon BG value-level forecasting and potentially deploying on-edge devices to improve clinical efforts to manage BG levels for T1D patients in real-time application.

Journal of Advanced Research in Applied Sciences and Engineering Technology
Newcastle University Medicine Malaysia (MY), Sumatera Institute of Technology (ID), Tun Hussein Onn University of Malaysia (MY)
Universiti Tun Hussein Onn Malaysia
Openalex Percentile: Top 21%
Artificial Intelligence in Healthcare
0.71
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.