Saved in:
Bibliographic Details
Main Authors: Barbato, Mirko Paolo, Rigamonti, Giorgia, Marelli, Davide, Napoletano, Paolo
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.07864
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915638546530304
author Barbato, Mirko Paolo
Rigamonti, Giorgia
Marelli, Davide
Napoletano, Paolo
author_facet Barbato, Mirko Paolo
Rigamonti, Giorgia
Marelli, Davide
Napoletano, Paolo
contents Type 1 Diabetes (T1D) affects millions worldwide, requiring continuous monitoring to prevent severe hypo- and hyperglycemic events. While continuous glucose monitoring has improved blood glucose management, deploying predictive models on wearable devices remains challenging due to computational and memory constraints. To address this, we propose a novel Lightweight Sequential Transformer model designed for blood glucose prediction in T1D. By integrating the strengths of Transformers' attention mechanisms and the sequential processing of recurrent neural networks, our architecture captures long-term dependencies while maintaining computational efficiency. The model is optimized for deployment on resource-constrained edge devices and incorporates a balanced loss function to handle the inherent data imbalance in hypo- and hyperglycemic events. Experiments on two benchmark datasets, OhioT1DM and DiaTrend, demonstrate that the proposed model outperforms state-of-the-art methods in predicting glucose levels and detecting adverse events. This work fills the gap between high-performance modeling and practical deployment, providing a reliable and efficient T1D management solution.
format Preprint
id arxiv_https___arxiv_org_abs_2506_07864
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Lightweight Sequential Transformers for Blood Glucose Level Prediction in Type-1 Diabetes
Barbato, Mirko Paolo
Rigamonti, Giorgia
Marelli, Davide
Napoletano, Paolo
Machine Learning
Artificial Intelligence
Type 1 Diabetes (T1D) affects millions worldwide, requiring continuous monitoring to prevent severe hypo- and hyperglycemic events. While continuous glucose monitoring has improved blood glucose management, deploying predictive models on wearable devices remains challenging due to computational and memory constraints. To address this, we propose a novel Lightweight Sequential Transformer model designed for blood glucose prediction in T1D. By integrating the strengths of Transformers' attention mechanisms and the sequential processing of recurrent neural networks, our architecture captures long-term dependencies while maintaining computational efficiency. The model is optimized for deployment on resource-constrained edge devices and incorporates a balanced loss function to handle the inherent data imbalance in hypo- and hyperglycemic events. Experiments on two benchmark datasets, OhioT1DM and DiaTrend, demonstrate that the proposed model outperforms state-of-the-art methods in predicting glucose levels and detecting adverse events. This work fills the gap between high-performance modeling and practical deployment, providing a reliable and efficient T1D management solution.
title Lightweight Sequential Transformers for Blood Glucose Level Prediction in Type-1 Diabetes
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2506.07864