Temporal Dynamics of Diabetes Prediction: A Sensor-Based Time-Series Investigation

Publication Date

9-29-2025

Document Type

Conference Proceeding

Publication Title

3rd IEEE International Conference on Data Science and Network Security Icdsns 2025

DOI

10.1109/ICDSNS65743.2025.11168734

Abstract

Accurate blood glucose (BG) forecasting is vital for effective diabetes management, enabling timely interventions and reducing the risks of hypo- and hyperglycemia. While traditional machine learning techniques have been widely applied, recent transformer-based models such as the Temporal Fusion Transformer (TFT) offer distinct advantages in modeling temporal dependencies and handling multi-modal inputs.In this study, we present the first application of TFT for multi-horizon BG prediction that integrates continuous glucose monitoring (CGM) data with exogenous variables such as insulin dosage and meal intake. To improve generalization and address data scarcity, we adopt a transfer learning framework by pre-training TFT on the OhioT1DM dataset and fine-tuning it on the D1NAMO dataset. We evaluate the model for 15 - and 30-minute prediction horizons and compare it against LSTM, GRU, and Deep Recurrent Neural Network (DRNN) baselines. Experimental results show that TFT achieves the lowest RMSE and MAE across both datasets, significantly outperforming baseline models. These findings demonstrate TFT's effectiveness in capturing complex temporal dynamics in BG patterns and its promise as a clinically useful tool for personalized diabetes management.

Keywords

Diabetes, Forecasting, Temporal Fusion Transformer, Time-series

Department

Computer Science

Share

COinS