Empowering digital health management with on-device large language models for glucose prediction: a model development and validation study

Read full text
Authors: Taiyu Zhu, Joanna Howson, Alejo Nevado-Holgado
Cited by: 1
References: 27

Abstract

BACKGROUND: Long-term management of chronic diseases such as diabetes is increasingly based on wearable technologies, particularly continuous glucose monitoring (CGM), integrated with smartphone-based digital health systems. When combined with artificial intelligence, especially deep learning, these systems offer highly personalised decision support, including glucose prediction. Although large language models (LLMs) have demonstrated strong performance across various healthcare tasks, their integration into day-to-day digital health remains limited, primarily due to privacy concerns associated with transmitting sensitive data to remote servers. Recent advances in lightweight LLMs create new opportunities for secure and local deployment. METHODS: In this study, we first evaluated the zero-shot glucose prediction performance of eight pretrained lightweight LLMs across multiple model families. None achieved clinically viable outputs, highlighting the need for domain-specific adaptation. To address this, we propose GluLLM, a multimodal adaptor-based framework that enhances pretrained LLMs for on-device glucose forecasting. GluLLM integrates CGM data, daily activity logs, and electronic health records using customised encoder and decoder modules while preserving the foundational capabilities of pretrained LLMs. We trained and evaluated GluLLM on the REPLACE-BG dataset, which includes 226 individuals with type 1 diabetes, and validated it on an external cohort comprising 207 individuals with type 2 diabetes or without diabetes. FINDINGS: Compared with 15 state-of-the-art deep learning baselines for time-series prediction, GluLLM (LLaMA 3.2 1B backbone) demonstrated superior performance, with significantly lower 30-min root mean square error than the strongest baseline (Crossformer) on REPLACE-BG and Móstoles (20.6 ± 3.5 and 9.6 ± 2.9 mg/dL; p < 0.001), and improved hypoglycaemia prediction (glucose

Fields of Study & Subjects

Mobile Health and mHealth Applications Machine Learning in Healthcare Artificial Intelligence in Healthcare

Publication details

Journal / source
EBioMedicine
Publisher
Elsevier BV
Volume
129
Pages
106343–106343
Publication date
25 June 2026
Language
EN