Manuscript Offprint

arXiv:2609.11872

Evaluating Time-Series Foundation Models and Multimodal Dietary Context for CGM Forecasting

Bowen Zhang, Hsiu-Wen Cheng, Hongyu Yang, Evie L. Shen, Joleen Vansomphone, Yuna Li, Kerry Zhou, Zitian Qu, Suning Zhao, Xiangning Deng, Hua Zhou, Jin J. Zhou

Abstract

Continuous glucose monitoring (CGM) provides high-frequency measurements of glucose dynamics and enables short-term glucose forecasting for diabetes management. Although time-series foundation models have shown strong general forecasting ability, their effectiveness for CGM prediction and the added value of multimodal dietary context remain unclear. We conduct a comprehensive empirical study using eight public CGM datasets spanning Type 1 diabetes, Type 2 diabetes, and non-diabetes populations. Under a unified protocol across multiple context lengths and prediction horizons, zero-shot foundation models did not consistently outperform strong task-specific baselines such as Elastic Net and PatchTST. In contrast, lightweight fine-tuning substantially improved forecasting performance. For example, fine-tuned Chronos-Bolt reduced RMSE by 6.5%–18.4% in the T1D cohort and by 8.6%–18.2% in the non-diabetes/T2D cohort, with comparable improvements in both in-distribution and out-of-distribution test settings. We further evaluate multimodal dietary context using CGMacros, which provides temporally aligned CGM signals, food images, and macronutrient records. A residual-based fusion framework reduced overall RMSE by approximately 3% and postprandial RMSE by approximately 15% relative to the CGM-only baseline. Moreover, Chronos-based CGM representations were more strongly correlated with observed postprandial glucose increments than representations from LSTM and CatBoost, even after those models incorporated additional dietary modalities, suggesting that pretrained temporal representations better preserve meal-induced excursion patterns. These findings show that foundation models require CGM-specific adaptation for reliable forecasting and that dietary context provides clinically meaningful signals beyond CGM alone, especially during postprandial periods.

Keywords: Continuous glucose monitoring, Food image representation, Foundation models, Multimodal learning, Time-series forecasting.

1 Introduction

Diabetes mellitus (DM) is a chronic metabolic disease characterized by persistently elevated blood glucose levels due to impaired insulin secretion or insulin resistance, leading to progressive organ damage over time [1]. Both Type 1 diabetes (T1D) and Type 2 diabetes (T2D) populations face substantial challenges in maintaining stable glycemic control. Continuous glucose monitoring (CGM), which provides high-frequency measurements of interstitial glucose, enables detailed characterization of glycemic dynamics and has been shown to capture glycemic profiles associated with increased mortality risk and complications [2–5]. Large-scale real-world studies integrating CGM device data with electronic health records further demonstrate substantial heterogeneity in CGM usage patterns and glycemic control metrics across T1D and T2D populations, underscoring the need for data-driven modeling of glucose dynamics [6, 7]. Beyond enabling descriptive characterization of glucose dynamics, CGM initiation has also been linked to improved glycemic control and fewer adverse clinical events, providing strong clinical motivation for developing models that can leverage CGM data to inform glucose management [8].

Early CGM-based glucose forecasting relied on classical statistical and machine learning approaches, including linear regression, ARIMA[9, 10], and Elastic Net [11]. Although computationally efficient and interpretable, these classical approaches are often limited in their ability to capture complex temporal dependencies and to scale to longer prediction horizons. More recently, deep learning methods, particularly Transformer-based architectures, have demonstrated improved performance by modeling long-range temporal dependencies and multi-scale glucose dynamics [12, 13], outperforming earlier convolutional and recurrent models [14–16].

Beyond task-specific architectures, the field has increasingly turned to large-scale time-series foundation models pretrained on diverse and heterogeneous temporal datasets [17–20]. These models exhibit strong cross-domain generalization, suggesting that pretrained temporal representations may transfer effectively to clinically relevant forecasting tasks. However, it remains unclear whether such benefits persist for CGM forecasting under clinically realistic settings involving limited historical context, varying prediction horizons, and heterogeneous patient populations, or whether zero-shot deployment is sufficient relative to lightweight fine-tuning.

At the same time, glucose dynamics are strongly influenced by external physiological and behavioral factors that are not fully observable from CGM signals alone. Dietary intake, in particular, induces abrupt and heterogeneous perturbations that challenge univariate forecasting approaches and has motivated multimodal models that integrate CGM with complementary contextual information such as wearable sensors or dietary records [21]. Despite encouraging results, it remains unclear which aspects of dietary context are most informative for postprandial glucose dynamics, and whether visually inferred dietary representations provide complementary value beyond structured nutritional variables.

GlucoBench represents an important step toward standardized evaluation in CGM forecasting by curating public datasets and defining unified benchmarking protocols [22]. Building on this foundation, we conduct a two-part empirical study to clarify the roles of pretrained temporal representations and dietary multimodality in CGM forecasting. First, using curated public CGM datasets, we evaluate classical statistical models, deep learning baselines, and recent time-series foundation models across historical context lengths, prediction horizons, and populations, explicitly comparing zero-shot and lightweight fine-tuning. Second, leveraging the CGMacros dataset [23], which provides temporally aligned CGM signals, food images, and macronutrient records, we examine the contribution of multimodal dietary context using a carefully designed residual-based fusion framework. By separating the CGM-only baseline prediction from a meal-driven residual correction branch, this design enables controlled comparisons across dietary input modalities and helps assess the complementary roles of visual and nutritional signals.

Together, this study provides a systematic evaluation of time-series foundation models and multimodal dietary information for CGM forecasting under clinically realistic settings. Through unified benchmarking across public CGM datasets and controlled multimodal experiments using CGMacros, this work examines the extent to which pretrained temporal representations and dietary context can support practical glucose forecasting. Code for data preprocessing, model training, and evaluation are available at https://github.com/BowenZhang2001/CGM_Forecasting.git.

References (46)