🤖 AI Summary
To address the need for real-time blood glucose prediction for type 1 diabetes patients on resource-constrained wearable devices, this paper proposes a lightweight sequence Transformer model. Methodologically, it integrates Transformer’s self-attention mechanism with RNN-style temporal modeling, introduces a class-weighted loss function to mitigate severe imbalance between hypoglycemic and hyperglycemic event classes, and performs comprehensive edge-device optimization—reducing computational complexity, memory footprint, and inference latency. Experimental results demonstrate that the model significantly outperforms existing state-of-the-art methods on the OhioT1DM and DiaTrend datasets, achieving a 12.3% reduction in mean prediction error. It satisfies stringent edge-deployment requirements: sub-50 ms per-step inference latency and under 2 MB memory usage. To our knowledge, this is the first approach enabling end-to-end deployable, high-accuracy, low-overhead glycemic event预警 on wearable edge devices.
📝 Abstract
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.