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

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 <70 mg/dL; AUROC: 0.79 and 0.84; AUPRC: 0.55 and 0.60), respectively. Furthermore, deployment of GluLLM on two smartphone platforms demonstrated feasible computational requirements, with acceptable CPU and memory usage and low inference latency. INTERPRETATION: GluLLM demonstrates that LLMs can support the next generation of smartphone-based digital health systems, delivering real-time, privacy-preserving clinical decision support. FUNDING: Novo Nordisk Postdoctoral Fellowship run in partnership with the University of Oxford.

Authors

Institutions

Publication Details

Journal
EBioMedicine
Published
2026-06-25
DOI
https://doi.org/10.1016/j.ebiom.2026.106343
Primary Topic
Mobile Health and mHealth Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Taiyu Zhu, Alejo Nevado-Holgado, Joanna Howson
EBioMedicine
Mobile Health and mHealth Applications
article

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

Taiyu Zhu, Alejo Nevado-Holgado, Joanna Howson
article en

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 <70 mg/dL; AUROC: 0.79 and 0.84; AUPRC: 0.55 and 0.60), respectively. Furthermore, deployment of GluLLM on two smartphone platforms demonstrated feasible computational requirements, with acceptable CPU and memory usage and low inference latency. INTERPRETATION: GluLLM demonstrates that LLMs can support the next generation of smartphone-based digital health systems, delivering real-time, privacy-preserving clinical decision support. FUNDING: Novo Nordisk Postdoctoral Fellowship run in partnership with the University of Oxford.

EBioMedicineVol. 129
King's College London (GB), Warneford Hospital (GB), University of Oxford (GB), Novo Nordisk (Finland) (FI)
Novo Nordisk
Openalex Percentile: Top 5%
Mobile Health and mHealth Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.