mlsanityData to 7 Oct 2026

A Comparative Study of Transformer-Based Models for Multi-Horizon Blood Glucose Prediction

arXiv 2505.08821 ↗First posted 12 May 2025q-bio.QM cs.AI stat.APcited by 5

Not on the map. Why?

Abstract (arXiv)

Accurate blood glucose prediction can enable novel interventions for type 1 diabetes treatment, including personalized insulin and dietary adjustments. Although recent advances in transformer-based architectures have demonstrated the power of attention mechanisms in complex multivariate time series prediction, their potential for blood glucose (BG) prediction remains underexplored. We present a comparative analysis of transformer models for multi-horizon BG prediction, examining forecasts up to 4 hours and input history up to 1 week. The publicly available DCLP3 dataset (n=112) was split (80%-10%-10%) for training, validation, and testing, and the OhioT1DM dataset (n=12) served as an external test set. We trained networks with point-wise, patch-wise, series-wise, and hybrid embeddings, using CGM, insulin, and meal data. For short-term blood glucose prediction, Crossformer, a patch-wise transformer architecture, achieved a superior 30-minute prediction of RMSE (15.6 mg / dL on OhioT1DM). For longer-term predictions (1h, 2h, and 4h), PatchTST, another path-wise transformer, prevailed with the lowest RMSE (24.6 mg/dL, 36.1 mg/dL, and 46.5 mg/dL on OhioT1DM). In general, models that used tokenization through patches demonstrated improved accuracy with larger input sizes, with the best results obtained with a one-week history. These findings highlight the promise of transformer-based architectures for BG prediction by capturing and leveraging seasonal patterns in multivariate time-series data to improve accuracy.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 8 of its 23 references that are in the map. First posted on arXiv 12 May 2025.

Builds on

8 of 23 references.

References · 8

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
  3. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,400
  4. 2023iTransformer: Inverted Transformers Are Effective for Time Series Forecastingcited by 906
  5. 2024TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variablescited by 241
  6. 2024Deep Time Series Models: A Comprehensive Survey and Benchmarkcited by 191
  7. 2021Stacked LSTM Based Deep Recurrent Neural Network with Kalman Smoothing for Blood Glucose Predictioncited by 8
  8. 2024Attention Networks for Personalized Mealtime Insulin Dosing in People with Type 1 Diabetescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.