GlyRAG: Context-Aware Retrieval-Augmented Framework for Blood Glucose Forecasting
Shovito Barua Soumma, Hassan Ghasemzadeh

TL;DR
GlyRAG introduces a novel, context-aware, retrieval-augmented framework utilizing large language models and multimodal transformers to improve blood glucose forecasting accuracy from CGM data without extra sensors.
Contribution
It is the first to leverage LLMs for semantic understanding and retrieval in blood glucose forecasting, enhancing prediction accuracy and clinical safety.
Findings
Up to 39% lower RMSE compared to state-of-the-art methods.
85% of predictions placed in safe zones.
51% improvement in predicting dysglycemic events.
Abstract
Accurate forecasting of blood glucose from CGM is essential for preventing dysglycemic events, thus enabling proactive diabetes management. However, current forecasting models treat blood glucose readings captured using CGMs as a numerical sequence, either ignoring context or relying on additional sensors/modalities that are difficult to collect and deploy at scale. Recently, LLMs have shown promise for time-series forecasting tasks, yet their role as agentic context extractors in diabetes care remains largely unexplored. To address these limitations, we propose GlyRAG, a context-aware, retrieval-augmented forecasting framework that derives semantic understanding of blood glucose dynamics directly from CGM traces without requiring additional sensor modalities. GlyRAG employs an LLM as a contextualization agent to generate clinical summaries. These summaries are embedded by a language…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning in Healthcare · Diabetes Management and Research · Hyperglycemia and glycemic control in critically ill and hospitalized patients
