potentialpaper

GlucoFM: A Dual-Stream Foundation Model for Continuous Glucose Monitoring

Zechen Li, Keerthana Natarajan, Weizhi Zhang, Menglian Zhou, Simon A. Lee, Yuwei Zhang, Maxwell A Xu, Zeinab Esmaeilpour, Flora D. Salim, Mark Malhotra, Lindsey Sunden, Shwetak Patel, Yuzhe Yang, Ahmed Metwally

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. GlucoFM is a lightweight CGM foundation model that decomposes daily glucose traces into slow state and short-term dynamics, achieving strong frozen representation performance across clinical prediction and postprandial glycemic response forecasting.

Abstract. Continuous glucose monitoring (CGM) provides a dense view of daily metabolic physiology, yet existing generic time-series and CGM-specific foundation models often encode glucose traces as entangled single-stream sequences, leaving their multiscale temporal structure only implicitly modeled. We present GlucoFM, a lightweight CGM foundation model that aligns irregular recordings to a 24-hour chronological grid, preserves observation masks, and decomposes glucose dynamics into slow-varying glycemic trend and short-term deviation streams. GlucoFM is pretrained on 109,066 hours of unlabeled CGM recordings from 477 subjects with masked contextual latent prediction over fused daily representations and temporal dynamics prediction over the two streams. Across four diverse cohorts and seven phenotype-classification tasks, GlucoFM achieves the strongest subject-disjoint linear-probing performance among evaluated baselines, improving average PR-AUC by 4.1 points over the best CGM-specific foundation model, while also supporting strong cross-dataset transfer and few-shot adaptation. Beyond phenotyping, when combined with recent CGM, meal nutrition, and subject context, the same frozen encoder achieves the lowest two-hour postprandial glycemic response errors among evaluated methods for trajectory, incremental area under the curve, peak rise, and peak timing. Together, these results demonstrate that GlucoFM learns reusable frozen CGM representations spanning metabolic phenotyping and context-conditioned glucose-response prediction.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
21 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper presents GlucoFM, a lightweight foundation model for continuous glucose monitoring. It decomposes daily CGM traces into a slowly varying state stream and a transient event stream and uses complementary self-supervised objectives to pretrain on approximately 109,000 hours of data from 477 individuals. The paper reports generally strong frozen-representation performance across clinical prediction tasks, cross-dataset transfer, and few-shot adaptation, often ranking first or second among CGM-specific and general time-series baselines.

The work studies an important application using a relatively large CGM pretraining corpus. The evaluation covers multiple cohorts, clinical endpoints, cross-dataset transfer, few-shot learning, and architectural ablations. Reviewers Kkgy and rPuz acknowledge that the reported improvements are generally consistent and that the manuscript is clearly organized. The lightweight design and explicit attempt to model distinct temporal scales are practically appealing.

Reviewer Kkgy notes that the state and event streams are produced through smoothing and residualization rather than physiological ground truth. The model may therefore exploit CGM autocorrelation, device filtering, or smoothness rather than distinct metabolic states and events. While cross-validation variance is provided in the appendix, the paper lacks explicit pairwise statistical significance testing to verify that the modest gains over baseline models are statistically reliable. Device brands, sampling rates, and proprietary manufacturer preprocessing vary widely across the datasets, but a device-stratified analysis is missing. Reviewer rPuz questions whether independent 24-hour context windows adequately capture cross-day carryover and longer-term glycemic dynamics, and whether the benefits of the proposed decomposition and augmentations are sufficiently distinguished from modifications that could be incorporated into existing models. Reviewer tPQP points out that common clinical management metrics (such as time in range) are absent from the evaluations, and flags that the human-subject ethics and data governance description requires further detail.

I recognize that some of these issues may not be fully resolvable through new experiments during the rebuttal period; clear methodological justification, additional analyses where feasible, and appropriately narrowed claims will also be considered.

  1. Provide an appropriate paired uncertainty analysis of the performance differences, such as subject-level paired bootstrap confidence intervals, paired permutation testing on held-out subject predictions, or another method that accounts for dependence across repeated cross-validation splits. This is particularly important because several cohorts are small, some test folds contain fewer than ten participants, and the reported variability in Appendix Table 6 is large relative to several of the claimed improvements.
  2. Report device-stratified results or otherwise analyze device effects to assess whether performance is robust across manufacturers and sampling protocols, or may partly reflect device-specific preprocessing signatures.
  3. The existing single-stream ablations provide evidence that the dual-stream architecture improves downstream performance. However, the authors should demonstrate or clarify whether the state and event representations contain complementary, non-redundant information beyond the frequency separation imposed by construction. Relevant evidence could include representational-similarity or dependence analyses or associations with independent physiological or behavioral measurements. Otherwise, the physiological interpretation of the streams should be narrowed.
  4. Clearly state the relevant IRB or ethics determination, participant consent or secondary-use basis, data-access permissions, and institutional governance procedures, particularly for the non-public Wear-CGM cohort.
  5. Clarify the consequences of representing each window independently over 24 hours, including boundary sensitivity and the limited ability to encode multi-day carryover within any individual representation. Any shifted-window or longer-context sensitivity evidence would be helpful, but at minimum this limitation should be explicitly reflected in the claims.
  6. In Appendix B.3, the authors explain that they retrained baseline models (CGM-JEPA, X-CGM-JEPA, and GluFormer) on their new 109,066-hour corpus using the baselines' official configurations. Clarify how convergence and model selection were assessed for the same-corpus baselines, including validation criteria, training curves where available, and whether reasonable corpus-specific adjustments were considered. This is needed to determine whether the comparison may be influenced by unequal optimization effort.
  7. According to Appendix A.2, unlabeled subjects from the Stanford and ShanghaiT2DM datasets were included in the pretraining corpus. Although participant-level separation prevents direct subject leakage, pretraining includes other participants from some downstream sites. The current results therefore do not fully establish transfer to unseen institutions or device pipelines. A leave-one-cohort-out analysis would strengthen this claim.
  8. Appendix A.3 outlines binary prediction tasks for systemic, long-term conditions such as hyperlipidemia and obesity; comparisons with standard CGM summaries, such as mean glucose, variability, time in range, and rate-of-change features, would help establish whether the learned representation adds value beyond conventional CGM phenotyping. The potential for cohort, device, and demographic confounding should also be discussed.
  9. The authors claim their architecture "preserves observation masks" and explicitly avoids interpolating missing values. The authors should clarify how the causal Gaussian filter behaves near missing intervals, including what happens when a patch has little or no recent observed support, and whether estimates become disproportionately dependent on older measurements.
  10. Table 4 is missing cross-dataset transfer results for ShanghaiT2DM, which is a representative dataset for domain shift. Explain why ShanghaiT2DM is excluded from the cross-dataset transfer analysis and whether any clinically harmonized task, such as insulin resistance, could be a meaningful transfer evaluation.
  11. Because the model explicitly encodes absolute time of day, clarify how sensitive performance is to this assumption. An ablation without circular time features, or a controlled phase-shift analysis, would help determine whether the model captures robust circadian structure or cohort-specific daily schedules.
  12. The abstract and introduction heavily motivate the model's ability to capture "short-term deviations" that reflect "acute physiological responses" or "behavior". Furthermore, Figure 1 explicitly asks if the model can "disentangle latent behavioral dynamics". There is no multimodal evaluation against actual behavioral ground truth, such as meal logs, insulin administration, or physical activity data. The authors should either provide validation against independent behavioral annotations or consistently narrow the behavioral and physiological language in the abstract, introduction, Figure 1, and discussion.
Final justification

This paper introduces GlucoFM, a lightweight foundation model for continuous glucose monitoring that decomposes daily traces into slow-varying glycemic trends and short-term deviations. Although initial reviews raised valid concerns regarding the physiological interpretations of the model's architecture, temporal limitations, and the statistical reliability of the results, the authors provided an exceptionally thorough and compelling rebuttal that successfully resolved these issues.

Area Chair Pf5y · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper presents GlucoFM, a lightweight foundation model for continuous glucose monitoring. It decomposes daily CGM traces into a slowly varying state stream and a transient event stream and uses complementary self-supervised objectives to pretrain on approximately 109,000 hours of data from 477 individuals. The paper reports generally strong frozen-representation performance across clinical prediction tasks, cross-dataset transfer, and few-shot adaptation, often ranking first or second among CGM-specific and general time-series baselines.

The work studies an important application using a relatively large CGM pretraining corpus. The evaluation covers multiple cohorts, clinical endpoints, cross-dataset transfer, few-shot learning, and architectural ablations. Reviewers Kkgy and rPuz acknowledge that the reported improvements are generally consistent and that the manuscript is clearly organized. The lightweight design and explicit attempt to model distinct temporal scales are practically appealing.

Reviewer Kkgy notes that the state and event streams are produced through smoothing and residualization rather than physiological ground truth. The model may therefore exploit CGM autocorrelation, device filtering, or smoothness rather than distinct metabolic states and events. While cross-validation variance is provided in the appendix, the paper lacks explicit pairwise statistical significance testing to verify that the modest gains over baseline models are statistically reliable. Device brands, sampling rates, and proprietary manufacturer preprocessing vary widely across the datasets, but a device-stratified analysis is missing. Reviewer rPuz questions whether independent 24-hour context windows adequately capture cross-day carryover and longer-term glycemic dynamics, and whether the benefits of the proposed decomposition and augmentations are sufficiently distinguished from modifications that could be incorporated into existing models. Reviewer tPQP points out that common clinical management metrics (such as time in range) are absent from the evaluations, and flags that the human-subject ethics and data governance description requires further detail.

I recognize that some of these issues may not be fully resolvable through new experiments during the rebuttal period; clear methodological justification, additional analyses where feasible, and appropriately narrowed claims will also be considered.

  1. Provide an appropriate paired uncertainty analysis of the performance differences, such as subject-level paired bootstrap confidence intervals, paired permutation testing on held-out subject predictions, or another method that accounts for dependence across repeated cross-validation splits. This is particularly important because several cohorts are small, some test folds contain fewer than ten participants, and the reported variability in Appendix Table 6 is large relative to several of the claimed improvements.
  2. Report device-stratified results or otherwise analyze device effects to assess whether performance is robust across manufacturers and sampling protocols, or may partly reflect device-specific preprocessing signatures.
  3. The existing single-stream ablations provide evidence that the dual-stream architecture improves downstream performance. However, the authors should demonstrate or clarify whether the state and event representations contain complementary, non-redundant information beyond the frequency separation imposed by construction. Relevant evidence could include representational-similarity or dependence analyses or associations with independent physiological or behavioral measurements. Otherwise, the physiological interpretation of the streams should be narrowed.
  4. Clearly state the relevant IRB or ethics determination, participant consent or secondary-use basis, data-access permissions, and institutional governance procedures, particularly for the non-public Wear-CGM cohort.
  5. Clarify the consequences of representing each window independently over 24 hours, including boundary sensitivity and the limited ability to encode multi-day carryover within any individual representation. Any shifted-window or longer-context sensitivity evidence would be helpful, but at minimum this limitation should be explicitly reflected in the claims.
  6. In Appendix B.3, the authors explain that they retrained baseline models (CGM-JEPA, X-CGM-JEPA, and GluFormer) on their new 109,066-hour corpus using the baselines' official configurations. Clarify how convergence and model selection were assessed for the same-corpus baselines, including validation criteria, training curves where available, and whether reasonable corpus-specific adjustments were considered. This is needed to determine whether the comparison may be influenced by unequal optimization effort.
  7. According to Appendix A.2, unlabeled subjects from the Stanford and ShanghaiT2DM datasets were included in the pretraining corpus. Although participant-level separation prevents direct subject leakage, pretraining includes other participants from some downstream sites. The current results therefore do not fully establish transfer to unseen institutions or device pipelines. A leave-one-cohort-out analysis would strengthen this claim.
  8. Appendix A.3 outlines binary prediction tasks for systemic, long-term conditions such as hyperlipidemia and obesity; comparisons with standard CGM summaries, such as mean glucose, variability, time in range, and rate-of-change features, would help establish whether the learned representation adds value beyond conventional CGM phenotyping. The potential for cohort, device, and demographic confounding should also be discussed.
  9. The authors claim their architecture "preserves observation masks" and explicitly avoids interpolating missing values. The authors should clarify how the causal Gaussian filter behaves near missing intervals, including what happens when a patch has little or no recent observed support, and whether estimates become disproportionately dependent on older measurements.
  10. Table 4 is missing cross-dataset transfer results for ShanghaiT2DM, which is a representative dataset for domain shift. Explain why ShanghaiT2DM is excluded from the cross-dataset transfer analysis and whether any clinically harmonized task, such as insulin resistance, could be a meaningful transfer evaluation.
  11. Because the model explicitly encodes absolute time of day, clarify how sensitive performance is to this assumption. An ablation without circular time features, or a controlled phase-shift analysis, would help determine whether the model captures robust circadian structure or cohort-specific daily schedules.
  12. The abstract and introduction heavily motivate the model's ability to capture "short-term deviations" that reflect "acute physiological responses" or "behavior". Furthermore, Figure 1 explicitly asks if the model can "disentangle latent behavioral dynamics". There is no multimodal evaluation against actual behavioral ground truth, such as meal logs, insulin administration, or physical activity data. The authors should either provide validation against independent behavioral annotations or consistently narrow the behavioral and physiological language in the abstract, introduction, Figure 1, and discussion.
Final justification

This paper introduces GlucoFM, a lightweight foundation model for continuous glucose monitoring that decomposes daily traces into slow-varying glycemic trends and short-term deviations. Although initial reviews raised valid concerns regarding the physiological interpretations of the model's architecture, temporal limitations, and the statistical reliability of the results, the authors provided an exceptionally thorough and compelling rebuttal that successfully resolved these issues.

9 comments
Authors · CommentOpenReview ↗

Response to the Meta-Review - 1

We thank the Area Chair for the careful synthesis and for recognizing the importance, scale, breadth of evaluation, and practical appeal of our work. Following the meta-review's guidance, we provide methodological clarifications, controlled analyses, and appropriately narrowed claims.

We address all 12 requests below. Rebuttal Tables 1–9 appear in the reviewer responses, while Tables 10–15 present additional meta-review-specific analyses.


  1. Paired uncertainty analysis
  • Protocol and inference. We compare GlucoFM with CGM-JEPA—the strongest CGM baseline pretrained on the same corpus—and CGMformer, pretrained on a larger external cohort. All models use identical 10 × 5 subject-disjoint splits. We macro-average the 14 cohort–task settings within each corresponding repeat/fold and apply a two-sided Nadeau–Bengio corrected paired test, with Holm correction across the six comparisons.

  • Results. GlucoFM improves PR-AUC/ROC-AUC/Macro-F1 over CGM-JEPA by +4.11 [2.40, 5.81]/+4.34 [2.26, 6.41]/+2.57 [0.91, 4.23] points, and over CGMformer by +4.74 [2.47, 7.02]/+4.67 [2.02, 7.32]/+2.34 [0.55, 4.14]. All corrected confidence intervals exclude zero and all Holm-adjusted p-values are significant (p ≤ 0.012; Reviewer Kkgy, Rebuttal Table 3).

  • Conclusion. These results support reliable task-averaged improvements, and we will add the complete task-level confidence intervals and paired-test details to the appendix.


  1. Device-stratified robustness
  • Paired control. We analyze 393 same-subject, same-date 24-hour windows from 44 participants wearing Dexcom and Libre simultaneously. Native versus timestamp-matched Dexcom isolates sampling density; matched Dexcom versus matched Libre controls subject, date, label, timestamps, and missingness. The four CGMacros tasks use identical 10 × 5 subject-disjoint splits, with 2,000 subject-cluster bootstraps.

  • Results. Native Dexcom improves PR-AUC/ROC-AUC/Macro-F1 over matched Dexcom by +1.66 [0.06, 3.38]/+2.72 [0.69, 4.89]/+2.22 [0.29, 4.36], demonstrating a modest benefit from denser sampling. After exact timestamp matching, Dexcom–Libre differences are −3.71 [−7.94, 0.95]/−1.89 [−6.35, 2.97]/−1.00 [−5.30, 3.59]; all intervals include zero (Reviewer Kkgy, Rebuttal Table 2).

  • Conclusion. Both sensor views retain phenotype-relevant information, with no evidence of a consistent task-averaged sensor advantage after matching. However, the intervals do not establish sensor equivalence or device invariance.


  1. Complementary state and event representations
  • Direct test. From the same frozen checkpoint, we extract 64-dimensional state and event tokens immediately before fusion and evaluate them using identical probes, five repeated subject-disjoint 5-fold splits, and 2,000 subject-cluster bootstraps.

  • Functional complementarity. Across 7,435 hourly patches from 35 subjects, state tokens better decode glucose level (R2R^2: 0.962 vs. 0.401; gap 0.561 [0.518, 0.630]), whereas event tokens better decode absolute 5-minute change (0.888 vs. 0.832; gap 0.056 [0.040, 0.073]). The pre-fusion branches therefore remain non-collapsed and preserve complementary slow-level and short-term-change information.

  • Independent behavioral evidence. Meal annotations were never used in pretraining. Across 542 standardized meals, both streams outperform clock time in meal-phase prediction (ROC-AUC: 0.849/0.847 vs. 0.704). In a harder full-day test over 7,162 tokens from 310 windows, event tokens modestly outperform state tokens in post-meal localization (Recall@K gap 0.026 [0.010, 0.042]). Other event–state differences are inconclusive, so we do not claim event-exclusive meal semantics.

  • Joint utility and scope. The submitted dual-stream encoder is best on all three task-averaged metrics (58.81/66.73/59.87 PR-AUC/ROC-AUC/Macro-F1), outperforming raw and both single-stream encoders (Reviewer Kkgy, Rebuttal Table 1). These results support complementary representations and useful fusion. We will use “slow-varying glycemic trend” and “short-term deviation” without claiming causal physiological disentanglement.


  1. IRB, consent, permissions, and governance

Both phases of the Wear-CGM study received independent IRB approval, and all participants provided written informed consent permitting de-identified secondary research and algorithm development. This retrospective study uses only access-restricted, de-identified CGM data, which will not be redistributed; all other datasets were previously released in de-identified form and accessed under their respective terms. The checklist's “N/A” reflected the absence of new recruitment or intervention and will be corrected.

To preserve double-blind anonymity, IRB names, protocol identifiers, and institutional details are withheld during review but will be restored in the final manuscript or provided confidentially to the Ethics Chairs upon request.

Authors · CommentOpenReview ↗

Response to the Meta-Review - 2

  1. Independent 24-hour representations
  • Boundary placement. 24-hour is the encoder context length, not a fixed midnight-to-midnight segment. Pretraining uses overlapping windows with diverse start times distributed throughout the day, while circular time features preserve clock time. This exposes the encoder to pre-dawn and cross-midnight patterns under varied boundaries.

  • Multi-day evidence. We independently encode contiguous 24-hour windows with the frozen backbone and aggregate up to K=7K=7 adjacent daily embeddings (Hall: K≤4K\leq4) using the same eligible subjects and subject-level splits. Mean aggregation improves all Stanford tasks (e.g., diabetes PR-AUC: 67.6→73.6), CGMacros insulin resistance (92.7→94.6), and Hall diabetes/glucotype (59.8→73.8/85.9→99.5), while Shanghai shows that gains depend on the pooling rule (Reviewer rPuz, Rebuttal Table 5).

  • Conclusion. These results show that daily representations are composable for multi-day phenotyping. We therefore claim that each embedding retains a 24-hour receptive field, and post-hoc aggregation cannot natively model cross-day interactions or carryover.


  1. Optimization fairness for same-corpus baselines
  • Training and selection. CGM-JEPA, X-CGM-JEPA, and GluFormer were trained on the same 109,066-hour corpus using their published preprocessing, objectives, optimizers, and schedules. No downstream labels or task metrics were used for tuning. Following their respective protocols, the JEPA models use final-epoch checkpoints, while GluFormer uses the checkpoint with the lowest validation next-token cross-entropy. Their objectives had stabilized by the selected epochs; we will provide the training curves.

  • Corpus-specific capacity check. Because the original 135M-parameter GluFormer was designed for a substantially larger corpus, we additionally evaluated a size-matched GluFormer-tiny. It improves the 14-setting PR-AUC/ROC-AUC/Macro-F1 averages from 52.3/60.0/56.2 to 53.0/61.9/56.7.

  • Released-checkpoint verification. Official CGM-JEPA/X-CGM-JEPA weights became available after submission, enabling the following identical-protocol comparison.

Rebuttal Table 10. Same-corpus versus released checkpoints (%)

Model Checkpoint PR-AUC ROC-AUC Macro-F1
CGM-JEPA Ours 54.7 62.4 57.3
CGM-JEPA Released 54.2 61.7 56.7
X-CGM-JEPA Ours 54.6 62.1 56.9
X-CGM-JEPA Released 54.2 61.7 56.7
  • Conclusion. Under identical downstream probes, folds, and seeds, our same-corpus models match or slightly outperform the released checkpoints.

  1. Pretraining exposure to downstream institutions

We originally included all available unlabeled windows to maximize the use of scarce CGM data for self-supervised pretraining; no downstream labels or test-participant identities were used. However, participant separation alone does not eliminate cohort-level exposure, motivating the stricter leave-one-cohort-out analysis below.

  • Leave-one-cohort-out design. We retrained two encoders from scratch using the submitted configuration. The Stanford-held-out model excludes all Stanford pretraining windows from 19 participants; the Shanghai-held-out model excludes all ShanghaiT2DM windows from 44 participants. Only the self-supervised pretraining corpus changes; downstream data, labels, 10 × 5 subject-grouped splits, and linear probes remain fixed.

Rebuttal Table 11. LOO leave-one-cohort-out results (%)

Cohort Task PR-AUC Full / LOO ROC-AUC Full / LOO Macro-F1 Full / LOO
Stanford Diabetes 77.3 / 77.6 72.8 / 73.6 66.2 / 67.4
Stanford β-cell dysfunction 69.0 / 68.5 68.7 / 68.3 63.3 / 62.8
Stanford Insulin resistance 67.6 / 67.7 69.1 / 69.4 64.0 / 64.6
Stanford Task average 71.3 / 71.3 70.2 / 70.4 64.5 / 64.9
ShanghaiT2DM Hypoglycemia 21.1 / 22.3 59.2 / 64.5 50.7 / 52.9
ShanghaiT2DM Insulin resistance 67.0 / 61.7 57.8 / 51.2 55.4 / 51.4
ShanghaiT2DM Hyperlipidemia 33.5 / 36.5 50.5 / 51.8 49.1 / 49.2
ShanghaiT2DM Task average 40.5 / 40.2 55.8 / 55.8 51.7 / 51.2
  • Findings. Excluding Stanford entirely leaves task-average scores essentially unchanged (unrounded changes: 0.0/+0.2/+0.4 points). Excluding Shanghai changes the task-average scores by only −0.4/0.0/−0.6 points, despite removing the only native Libre/15-minute pretraining source. This stability is consistent with—although it does not isolate—the benefit of CGM-aware structural sparsification, which exposes denser recordings to lower-frequency observation patterns during pretraining. These controlled results support transfer to the held-out Stanford and Shanghai cohorts.
Authors · CommentOpenReview ↗

Response to the Meta-Review - 3


  1. Comparisons with standard CGM summaries
  • Mean-glucose baseline. Our matched seven-day GMI-equivalent analysis uses identical subjects, windows, and splits. GlucoFM improves Macro-F1 in all four Stanford/CGMacros sensor settings by +1.9 to +17.4 points, demonstrating information beyond mean-glucose stratification (Reviewer tPQP, Rebuttal Table 6).

  • Standard CGM summaries baseline. We compute 11 established features from each 24-hour window: mean, median, minimum, and maximum glucose; standard deviation and coefficient of variation; time below range (<70 mg/dL), time in range (70–180 mg/dL), and time above range (>180 mg/dL); and the standard deviation and mean absolute value of glucose rate of change. A class-balanced XGBoost classifier uses the same windows, labels, and 10 × 5 subject-disjoint splits as GlucoFM.

Rebuttal Table 12. CGM summaries baseline / GlucoFM (%)

Task Cohorts PR-AUC ROC-AUC Macro-F1
Diabetes 3 65.6 / 69.8 72.1 / 75.8 60.9 / 63.0
Insulin resistance 4 68.4 / 71.7 64.5 / 69.7 59.5 / 62.7
Hyperlipidemia 3 29.9 / 28.0 52.1 / 48.9 51.7 / 47.5
Obesity 1 63.5 / 64.9 62.3 / 62.6 58.9 / 59.3
Hypoglycemia 1 13.8 / 21.1 46.6 / 59.2 45.6 / 50.7
β-cell dysfunction 1 66.1 / 69.0 63.1 / 68.7 58.5 / 63.3
Glucotype 1 85.5 / 88.3 89.1 / 90.7 82.1 / 82.4
Overall 14 56.3 / 58.8 63.7 / 66.7 58.6 / 59.9
  • Results. GlucoFM is higher on all three metrics for six of seven task types and improves the 14-setting averages by +2.46/+3.03/+1.23 points. Holm-corrected repeated-CV tests are significant for PR-AUC (p=0.040) and ROC-AUC (p=0.013), but not Macro-F1 (p=0.130). Hyperlipidemia remains an exception and obesity gains are modest, showing that added value is task-dependent.

  • Conclusions. Because our pretraining uses only unlabeled CGM, without downstream labels or phenotype-specific feature engineering, these gains indicate that the frozen SSL representation captures task-relevant temporal information beyond the 11 hand-engineered summaries for most—but not all—tasks.


  1. Causal Gaussian filtering near missing intervals
  • How missing values are handled. The filter computes a normalized weighted average over observed current and past readings; it does not create imputed observations. Missing positions are excluded from both the weighted sum and its normalization. It considers at most the previous 36 five-minute positions, with a learned bandwidth of 5.35 positions (26.8 minutes). If the total valid weight does not exceed 10−410^{-4}, the state is set to zero. In the representation pathway, outputs at missing positions are masked before tokenization, their event residuals are zero, and fully missing patches receive a mask token; the encoder therefore never treats a filtered estimate as an observed glucose value.

  • What happens after a gap. The filter is non-recursive, so estimates within a gap are not fed into subsequent estimates. When observations resume, the current reading receives the largest Gaussian weight, while older readings decay rapidly and are discarded after three hours. Even after a 60-minute gap, the first new reading contributes 88.5% of the normalized state under complete pre-gap coverage. The estimate is therefore dominated by the new observation rather than disproportionately by older measurements.

  • Controlled stress test. On 300 near-complete five-minute windows, we impose 15-minute sampling and 30/60-minute gaps and measure absolute deviation from the corresponding full-observation filter state. The no-renormalization comparator applies the same fixed kernel to masked-zero inputs without dividing by the remaining valid kernel mass, whereas our method renormalizes over the remaining observed readings.

Rebuttal Table 13. Filter-state deviation from the full-observation reference (mg/dL)

Perturbation Evaluation Renormalized No renormalization
15-minute sampling Shared observations 1.1 (1.5) 6.5 (10.3)
30-minute gap First 30 min after gap 2.0 (10.1) 4.6 (14.5)
60-minute gap First 30 min after gap 2.7 (13.0) 4.5 (16.0)

Values are median (95th-percentile) absolute deviations.

  • Conclusion. Valid-support renormalization consistently reduces both median and 95th-percentile filter-state deviations under sparse sampling and gaps, supporting the effectiveness of our missing-aware latent filtering.
Reviewer tPQPOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Motivated by the multi-scale dynamics of continuous glucose monitoring (CGM) in diabetes, the paper under the "General: Most submissions will fall into this type." submission category proposes and evaluates GlucoFM, a lightweight self-supervised foundation model for CGM representation learning.

Strengths and weaknesses

The paper works on a timely application of machine/deep learning in diabetes that holds potential for a large global impact due to the prevalence of diabetes and current gaps in CGM sensor technologies. However, its evaluation methodology is insufficient to harvest this potential, because relevant metrics such as those reflecting time in range and hypoglycemia prevention mentioned on p. 1 of the paper have not been included in the evaluation. The author's response clarifies this standing now, making a convincing case for their study where these clinical metrics are not directly applicable but other comparative evaluations to give evidence of the clinically meaningful methodological gains are and have been achieved. Also, the current IRB statement and other ethical considerations are now sufficiently addressed. Finally, a clear and convincing explanation of the novel methodological contributions of this paper beyond integrating and slightly adapting the existing deep learning methods such as Transformers has been made; authors are encourage to revise their paper based on their own addressing of the reviewer comments, possibly sharpened by them reflecting on what the reviewers were highlighting as the strengths of their study.

Questions

Addressed: What are the key research contributions of the paper to deep learning methods, their specific applications to CGM data modelling, and applications to other time series signals?

Addressed: How does the model perform with respect to clinical metrics?

Addressed: How did you address ethical considerations related to the use of data from human subjects for the purposes of this study?

Limitations

The authors have briefly addressed the limitations of their work and proposed some future work, but otherwise their discussion part of this paper is somewhat lacking. How are you guiding future work to extend the framework as a deep learning contribution, apply it more generally to other data signals, and translate it into clinical practice in diabetes monitoring/management? What actionable advice would you give to methodological researchers, applied scientists, CGM-device developers, and clinicians interested in extending, applying, and translating this study?

Final justification

See above

Formatting concerns

None

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for recognizing the timeliness of our work, and its potential global impact in diabetes. We address each question below.


  1. Key methodological contribution and broader relevance
  • Deep-learning methodology: GlucoFM is not a generic application of Transformer/JEPA. GlucoFM couples a mask-aware dual-stream encoder for slow trends and transient residuals with two complementary objectives matched to this architecture: masked prediction after fusion and cross-conditioned next-patch prediction before fusion. Dual-stream modelling improves task-averaged PR-AUC/ROC-AUC/Macro-F1 from 55.29/63.68/58.29 to 58.81/66.73/59.87; removing temporal prediction or CGM-aware augmentation also degrades performance.

  • CGM utility: The frozen lightweight encoder is evaluated across 4 cohorts, 7 phenotypes, and 14 cohort–task settings, including cross-dataset transfer, multiday aggregation, and few-shot learning. New biomarker-regression and postprandial glucose-response experiments further evaluate continuous metabolic phenotyping and dynamic prediction. Its compact design may support future on-device analysis, reducing transmission of privacy-sensitive raw CGM data.

  • Relevance to other signals: GlucoFM is intentionally designed as a CGM-specific, use-inspired model. We do not claim general-purpose applicability, and cross-signal evaluation is outside the scope of this work.


  1. Clinical metrics and management relevance

Time in range (TIR) is clinically important for glycemic management, but it is not a label-based metric for our retrospective diabetes-classification tasks. We therefore add a matched-window GMI baseline. Treatment-induced TIR improvement and hypoglycemia prevention require prospective evaluation; we will narrow the p.1 wording and identify them as future endpoints.

  • New GMI-equivalent analysis. Using the same K=7K=7-eligible subjects, fixed 7-day windows, and subject splits as Rebuttal Table 5 in our response to rPuz, we compute GMIeq=3.31+0.02392×G‾\mathrm{GMI}_{\mathrm{eq}}=3.31+0.02392 \times \overline{G}, where G‾\overline{G} is mean glucose in mg/dL. We apply thresholds of 5.7 for Stanford (binary) and 5.7/6.4 for CGMacros (three-class). We use GMI-equivalent because this value is retrospectively computed from the matched 7-day research window rather than a standard-duration clinical GMI report.

Rebuttal Table 6. GMI-equivalent comparison (Macro-F1, %)

Dataset / setting GMI-equivalent GlucoFM Improvement
Stanford 59.6 67.0 +7.4
CGMacros–Dexcom 36.3 53.7 +17.4
CGMacros–Libre 63.7 65.6 +1.9
CGMacros–Fused 56.9 65.9 +9.0

Both methods use identical subjects and windows. GlucoFM reports 10 repeated subject-level CV runs, whereas GMI-equivalent is deterministic. For Fused, same-day Dexcom/Libre embeddings are averaged before multiday aggregation, and the baseline uses the corresponding combined readings.

  • Findings: GlucoFM outperforms the GMI-equivalent baseline in all four settings. Because GMI compresses each window into an average-glucose-derived value, these gains demonstrate predictive information beyond mean-glucose-based stratification, potentially including glucose variability, excursions, and temporal patterns.

  1. Human-subject ethics and data governance

The checklist’s “N/A” reflected our interpretation that no new recruitment or intervention occurred; we agree this was ambiguous and will correct it in the final manuscript.

  • Approval and consent: Both phases of the Wear-CGM study were approved by an independent IRB. All participants provided written informed consent explicitly permitting the use of de-identified data for secondary research and algorithm development. The present retrospective analysis falls within this consented scope.

  • Data governance and minimization. Although Wear-CGM contains multimodal measurements, this work uses only de-identified CGM data. Participant-level records remain access-restricted and will not be redistributed. All other raw datasets used in this work are previously released, de-identified research datasets accessed under their dataset-specific terms. No direct identifiers were available, and no re-identification was attempted.

To preserve double-blind anonymity, we omit the IRB name, protocol identifiers, and institutional details during review. These details will be included in the final manuscript and can be provided confidentially to the Program or Ethics Chairs upon request.


  1. Discussion, future work, and stakeholder guidance

We add three complementary evaluations to provide a more concrete translation roadmap while separating demonstrated research utility from unvalidated clinical deployment, all using frozen representations and subject-disjoint protocols.

  • New TyG-defined fatty-liver-risk: Among our downstream cohorts, only CGMacros, Shanghai, and Hall provide both fasting glucose and triglycerides required to construct the TyG label, TyG is calculated as TyG=ln⁡[(TG×FPG)/2]\mathrm{TyG} = \ln[(\mathrm{TG} \times \mathrm{FPG})/2], with risk defined as TyG >8.64>8.64. We evaluate frozen representations using the same linear-probing protocol with 10 repeats of 5-fold subject-disjoint cross-validation as in Table 3.

Rebuttal Table 7. TyG-defined fatty-liver-risk linear probing (mean ± std, %)

Dataset Representation PR-AUC ROC-AUC Macro-F1
CGMacros GlucoFM 83.5 ± 8.8 75.7 ± 10.8 66.6 ± 9.0
Best baseline (CGMformer) 81.2 ± 7.9 72.0 ± 9.2 64.5 ± 7.4
Shanghai GlucoFM 91.3 ± 4.5 66.5 ± 13.6 55.6 ± 8.1
Best baseline (X-CGM-JEPA) 91.2 ± 4.0 65.3 ± 11.7 54.5 ± 6.6
Hall GlucoFM 37.0 ± 9.5 58.9 ± 9.4 53.1 ± 7.8
Best baseline (CGM-JEPA) 33.9 ± 7.4 55.1 ± 9.4 50.4 ± 6.4
  • Findings: GlucoFM achieves the highest PR-AUC, ROC-AUC, and Macro-F1 across all three cohorts, although Shanghai PR-AUC is nearly tied. This extends the submitted benchmark from 7 to 8 classification tasks and provides cross-cohort evidence for a laboratory-derived metabolic-risk proxy, not imaging-confirmed fatty-liver diagnosis.

  • New postprandial glucose-response (PPGR): Among our downstream cohorts, only CGMacros provides aligned quantitative meal logs required for PPGR prediction. We use 34 participants and the same 800 quality-controlled meal events for Dexcom and Libre, with the two sensors trained and evaluated separately under identical subject splits. Each model receives a frozen embedding of the strictly causal 24-hour pre-meal CGM window, identical nutrition features, and the same explicit 1-hour pre-meal glucose context. The same MLP settings predict the complete 3-hour glucose-delta trajectory. Evaluation uses 5 fixed subject-disjoint folds and 10 complete out-of-fold runs.

Rebuttal Table 8. Three-hour PPGR trajectory MAE (mg/dL)

Representation Dexcom Libre Cross-sensor mean
No frozen embedding 24.8 ± 0.1 24.3 ± 0.2 24.6
CGM-JEPA 24.7 ± 0.2 22.8 ± 0.2 23.8
X-CGM-JEPA 25.2 ± 0.2 22.2 ± 0.3 23.7
GluFormer 26.2 ± 0.2 23.0 ± 0.2 24.6
CGMformer 26.1 ± 0.4 24.7 ± 0.2 25.4
GlucoFM 23.6 ± 0.2 22.1 ± 0.3 22.8

Cross-sensor mean is the unweighted mean of the two sensor-specific MAEs, not a fused-sensor result.

  • Findings:
    • The three lowest cross-sensor mean MAEs are obtained by JEPA-style models, suggesting a potential advantage of predictive latent learning in this setting.
    • Among tested biomarkers and subject characteristics, adding fasting glucose, HbA1c, BMI, and diabetes status achieved the lowest cross-sensor MAE of 22.3 mg/dL.

  • New biomarker regression analysis: We extend the submitted categorical evaluation to continuous biomarkers. Fasting plasma glucose (FPG) and HbA1c are evaluated across CGMacros, Hall, Shanghai, and Stanford; HOMA-IR and fasting insulin are evaluated across CGMacros, Hall, and Shanghai, the cohorts containing the required measurements. For K∈{1,3,5}K\in\{1,3,5\}, frozen daily embeddings are mean-pooled and evaluated using the same linear Ridge probe with nested subject-grouped 5-fold cross-validation across 5 repeated partitions. For space, Table 9 reports the single-day K=1K=1 results.

Rebuttal Table 9. K=1K=1 biomarker regression MAE

Target GlucoFM Best baseline Train-mean
FPG (mg/dL) 20.8 ± 0.1 21.5 ± 0.5 (CGMformer) 34.1
HbA1c (%) 0.90 ± 0.03 0.99 ± 0.03 (CGMformer) 1.51
HOMA-IR 2.60 ± 0.01 2.63 ± 0.03 (GluFormer) 2.78
Fasting insulin (μU/mL) 8.47 ± 0.08 8.46 ± 0.03 (GluFormer) 8.50

Train-mean is a non-representation baseline that predicts each test subject using the target mean from the corresponding training fold.

  • Findings:
    • At K=1K=1, GlucoFM achieves the lowest MAE for FPG, HbA1c, and HOMA-IR. For fasting insulin, GlucoFM, GluFormer, and train-mean perform comparably, indicating limited predictive signal from a single day of CGM.
    • Across K=1,3,5K=1, 3, 5, GlucoFM achieves the lowest MAE in 10/12 settings and lower MAE than train-mean in 12/12, extending the evaluation from categorical outcomes to continuous biomarkers.

In summary, GlucoFM combines a novel CGM-specific dual-stream architecture with, to our knowledge, one of the most comprehensive evaluations among existing CGM FMs, spanning classification, forecasting, and regression. Additional analyses demonstrate functional pre-fusion stream specialization (Kkgy, Rebuttal Table 1), while frozen GlucoFM outperforms fully fine-tuned Chronos-2-small and MOMENT-small on all 3 metrics across 7 evaluations (rPuz, Rebuttal Table 4).

We hope these clarifications and new results address the reviewer’s concerns and invite reconsideration of the rating.

Authors · CommentOpenReview ↗

Dear reviewer tPQP,

We would like to kindly follow up and ask whether our rebuttal has addressed your concerns, particularly regarding ethics. We clarified that the checklist’s “N/A” referred only to the absence of new recruitment or intervention: both Wear-CGM phases received independent IRB approval, all participants provided written informed consent for de-identified secondary research, and the data remain access-restricted.

We clarified the work’s methodological novelty and provided the requested additional evidence, including a matched-window GMI-equivalent comparison, and comparision with 11 conventional CGM summaries—including mean glucose, variability, TBR/TIR/TAR, and rate-of-change features—under identical subject-disjoint folds (In response to the AC, Rebuttal Table 12).

If any questions or concerns remain, we would greatly appreciate the opportunity to address them during the discussion period.

Authors · CommentOpenReview ↗

Follow-up on Rebuttal

Dear Reviewer tPQP,

With the discussion period closing in 2 days, we would like to briefly follow up. We clarified the independent IRB approvals, written informed consent, and restricted data access, and provided additional evidence on methodological novelty, including matched-window GMI-equivalent and conventional CGM-summary comparisons.

We hope you will reconsider your evaluation in light of our responses. Thank you for your time. We would greatly appreciate any further feedback or questions.

Reviewer rPuzOpenReview ↗
Rating
5/6
Confidence
5/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents GlucoFM, a foundation model for continuous glucose monitoring data for 24 hour time blocks. They introduce a method using dual stream modeling of glucose states and events, cgm augmentation, masked latent prediction and modeling of temporal dynamics to help learn underlying glucose dynamics. They test and compare the model with prior methods using multiple CGM datasets for different tasks including linear probing, few shot performance and cross-dataset transfer.

Strengths and weaknesses

Clarity: This paper’s presentation is very strong, with easy to understand graphics, paragraph structure and flow.

Significance and Originality: My main concerns lie around significance and originality. I am looking for a stronger justification about where this model's contribution lies in comparison to previous methods. While GlucoFM in most cases does perform better than previous models, it is still unclear to me why this new method was needed. Why do previous CGM specific foundation models not suffice? Moreover, why are previous general purpose foundation models (like Chronos, Moment) not sufficient? Could they not be fine tuned on CGM data and also do equally well? See Question 1a.

Furthermore, as motivated in the paper it is unclear why daily windowing and state-event decoupling are strong separators from prior work; these feel more like different assumptions as opposed to inherent advantages or problems with the previous methods. (I note that CGM-aware augmentation does seem like an advantage but this could also be added to prior methods in a straightforward manner). In particular, daily windowing using rigid end of day cutoffs like this has some notable disadvantages (for example failing to capture pre-dawn phenomena and inability to account for carryover effects from prior days.) See Question 1b.

Lastly, the paper claims to align irregular CGM recordings. However, all CGM sensors record glucose at a regular cadence (e.g., every t minutes such as every 5 mins) and are therefore not irregular. Can the authors specify in what way the data is irregular and how this is a contribution? See Question 1c.

Quality: The submission appears mostly technically sound, minus a few clarifying questions (see Questions 2-4). Of most importance, why was cross fold validation used? If the intention was to test zero-shot performance and cross-dataset transfer, this is somewhat confounded by the use of cross validation, which introduces exposure to the data distribution.

Questions

1a. Why do previous CGM specific foundation models not suffice? Why are previous general purpose foundation models (like Chronos, Moment) not sufficient particularly if they were fine tuned for CGM?

1b. Why are daily windowing and state-event decoupling inherent advantages over prior methods? How do you address shortcomings of daily windowing?

1c. In what way is the data irregular since CGMs record glucose at a regular cadence? I may be misunderstanding something here, but can the authors please clarify how handling the irregularity is a contribution?

  1. Why was cross-validation used?

  2. How is P the number of temporal patches selected? Is this guided by some underlying physiology or temporal consideration?

  3. Is only CGM data used from the datasets that contain other features too (eg like multimodal features in WearCGM data)? How are different sampling rates handled? Section 3.1 mentions that data are aligned to a fixed 24 hour grid with 5 minute timestamps but some datasets have 15 minute timestamps. Are the dataset sampling rates being used interchangeably (e.g., the models were pretrained on data at 5 minute sampling rate and then trained and tested on ones of a different sampling rate?)

Limitations

Yes

Final justification

I have changed my score to accept. The authors adequately addressed my main concerns surrounding novelty and originality of this foundation model, use of 24 hour modeling windows, definition of irregularity, use of cross validation and handling of different sampling rates. With these additional analyses included (eg in the appendix) I believe this is a strong paper with high originality and impact, valid technical soundness and good presentation.

Formatting concerns

No concerns

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for recognizing the clarity, broad evaluation, and technical soundness of our work. We address each question below.


  1. Need for GlucoFM relative to existing foundation models
  • Design goal:

    • We do not claim that previous foundation models are unusable. A central value of a foundation model is that one pretrained backbone can be reused across tasks with limited task-specific adaptation. GlucoFM targets reusable representation learning: one lightweight frozen backbone supports multiple tasks with lightweight heads, rather than requiring full task-specific fine-tuning.
    • For a controlled comparison, we re-pretrained CGM-JEPA, X-CGM-JEPA, and GluFormer on exactly the same unlabeled corpus as GlucoFM, removing pretraining-data confounding. CGMformer was evaluated using its released checkpoint, pretrained on a larger external non-public 964-participant cohort. Prior work evaluated different task sets and protocols; none reports all these 7 phenotype benchmark. We will release GlucoFM’s weights, code, and evaluation pipeline.
  • Existing evidence:

    • GlucoFM leads PR-AUC on all diabetes and β-cell dysfunction evaluations and 3/4 insulin-resistance evaluations. Across 14 cohort–task evaluations, its corrected paired gains are +4.11/+4.34/+2.57 points over same-data CGM-JEPA and +4.74/+4.67/+2.34 over CGMformer for PR-AUC/ROC-AUC/Macro-F1.
    • The contribution is also not CGM-aware augmentation alone, which could be transferred to other architectures. Under matched training, the submitted dual-stream encoder achieves 58.81/66.73/59.87, compared with 55.29/63.68/58.29 for the raw-input encoder.
  • New fine-tuning analysis: To directly test the reviewer’s hypothesis, we fully fine-tuned Chronos-2-small and MOMENT-small using model-native preprocessing, the same windows and labels as Table 3, the exact 10 × 5 subject-disjoint outer folds, and inner validation without outer-test-based selection. Each cohort–task evaluation required training a separate complete backbone.

Rebuttal Table 4. Frozen GlucoFM versus fine-tuned general FMs (PR-AUC/ROC-AUC/Macro-F1, %)

Evaluation Frozen GlucoFM (0.72M) Fine-tuned Chronos-2-small (28M) Fine-tuned MOMENT-small (40M)
CGMacros Diabetes 65.90/78.70/58.30 55.46/70.94/49.54 56.33/70.80/46.85
CGMacros IR 91.90/81.20/69.60 87.39/75.06/66.08 87.98/75.60/64.71
Stanford Diabetes 77.30/72.80/66.20 75.71/72.65/65.02 75.46/72.09/64.58
Stanford IR 67.60/69.10/64.00 65.09/67.72/58.79 65.78/67.44/59.11
Hall Diabetes 66.20/75.90/64.50 56.36/64.78/56.78 55.35/67.00/55.57
Hall IR 60.20/70.70/62.00 49.68/61.22/51.66 55.92/64.51/54.23
ShanghaiT2DM IR 67.00/57.80/55.40 60.58/49.16/44.66 60.52/50.28/44.70
  • Findings: Frozen GlucoFM is higher on all 3 metrics in all 7 evaluations. Using a shared-fold GlucoFM rerun that reproduced the submitted results within 0.1 percentage point, the task-averaged Nadeau–Bengio-corrected differences were:

    • versus Chronos: +6.54 [3.41, 9.67] / +6.38 [3.37, 9.39] / +6.76 [2.35, 11.18];
    • versus MOMENT: +5.53 [2.00, 9.05] / +5.49 [1.84, 9.15] / +7.16 [2.49, 11.83], for PR-AUC/ROC-AUC/Macro-F1. All six Holm-adjusted p≤0.0111p\leq0.0111. These tests support task-averaged gains, not significance for every individual task.
  • Conclusion: General-purpose FMs clearly benefit from CGM-specific fine-tuning, but they do not match GlucoFM’s frozen representations in this evaluation. GlucoFM therefore provides a stronger accuracy–reuse–model-size trade-off: one lightweight frozen backbone supports multiple downstream tasks while outperforming substantially larger models that are fully fine-tuned separately for each task.


  1. Advantage and limitation of independent 24-hour modeling

The two choices serve different roles: 24 hours defines the modeling scope, whereas state–event decomposition is an empirically evaluated architectural contribution.

  • 24-hour context. GlucoFM targets within-day metabolic phenotyping rather than native multi-day trajectory modeling. 24 hours is the context length, not midnight-to-midnight segmentation. Overlapping windows with diverse start times and circular time features capture pre-dawn and cross-midnight patterns, but a single window cannot encode cross-day carryover.

Nevertheless, any finite window can split dynamics, and a single embedding cannot directly encode cross-day carryover.

  • New multi-day analysis: We froze GlucoFM, independently encoded contiguous 24-hour windows, and aggregated adjacent KK-day embeddings. Within each cohort, all KK values use the same Kmax⁡K_{\max}-eligible subjects and identical subject-level splits. A lightweight probe is fitted for each KK, while the backbone remains frozen. Because this eligibility restriction and subject-level aggregation differ from Table 3, K=1K=1 is not intended to reproduce its window-level results. The maximum KK is cohort-specific; Hall is capped at K=4K=4 because requiring five valid days would reduce the eligible cohort from 37 to 27 subjects.

Rebuttal Table 5. Multi-day core tasks (PR-AUC, %)

Dataset Task Pooling K=1 K=2 K=3 K=4 K=5 K=6 K=7
CGMacros Diabetes Mean 64.0 65.6 66.3 67.0 67.6 67.4 67.0
CGMacros IR Mean 92.7 93.2 93.6 93.8 94.2 94.4 94.6
Stanford Diabetes Mean 67.6 69.8 70.6 70.3 70.5 71.8 73.6
Stanford β-cell dysfunction Mean 60.3 61.8 64.0 65.4 66.8 68.3 69.9
Stanford IR Mean 60.3 61.5 62.4 62.9 64.1 65.9 66.6
Hall Diabetes Mean 59.8 62.8 67.7 73.8 — — —
Hall Glucotype Mean 85.9 91.6 96.0 99.5 — — —
Hall IR Mean 46.3 44.5 46.3 49.8 — — —
Shanghai IR Mean 61.9 61.9 61.0 61.7 61.2 61.4 61.9
Shanghai IR Concat(mean,max) 63.1 62.5 60.8 62.1 67.8 75.2 75.2
  • Findings: The same frozen daily backbone supports different observation lengths without retraining the backbone. Mean aggregation improves all Stanford tasks, CGMacros IR, and Hall diabetes/glucotype, while gains vary across other settings. Shanghai further shows that aggregation is task-dependent: mean pooling remains flat, whereas concat(mean,max) improves performance at K=6–7K=6–7. We therefore claim that daily representations are composable for multiday phenotyping, not that longer observation or one aggregation rule is universally superior.

  • State–event decomposition. Holding the corpus, augmentation, objectives, optimization, and downstream protocol fixed, dual-stream encoding achieves 58.81/66.73/59.87, versus 55.29/63.68/58.29 for raw-input, 55.61/63.74/57.94 for state-only, and 51.76/60.09/55.57 for event-only encoding. This supports state–event fusion as a useful multi-scale inductive bias without treating either stream as physiological ground truth.


  1. Meaning of “irregular” CGM recordings

“Irregular” refers to heterogeneous and incomplete observations, not randomly varying nominal sensor cadence. The datasets contain different sensors and 5- or 15-minute rates; timestamps may also be offset from the common 5-minute grid. We use timestamp-based binning and retain only observed measurements. Approximately every third position is observed for 15-minute recordings, while dropout, non-wear, and other missing positions remain masked without interpolation. Gaps of up to 1 hour are preserved as missing observations; longer gaps split the trace into separate continuous segments to avoid constructing windows across extended disconnections or sensor replacements.


  1. Why cross-validation was used

Cross-validation is used only for within-dataset linear probing and few-shot evaluation, which are supervised probe experiments rather than zero-shot classification. The encoder is frozen; a classifier is trained on four subject-disjoint folds and evaluated on unseen subjects in the fifth. Repeated folds reduce sensitivity to a single split, and all methods use identical folds with train-only preprocessing and model selection.

For cross-dataset transfer, no cross-validation or target-label exposure is used: the probe is trained on the full source cohort and directly evaluated on the target cohort.


  1. Selection of the number of temporal patches

P=24P=24 follows from dividing a 24-hour window into 24 non-overlapping one-hour patches, each containing 12 positions on the 5-minute grid. This scale was chosen a priori to balance local resolution, observations per patch, sequence length, and model size; it was not selected using downstream labels, and we do not claim physiological optimality.


  1. Modalities and heterogeneous sampling rates

GlucoFM is self-supervised using only unlabeled CGM signals, including Wear-CGM. Other modalities are not consistently paired across cohorts and are excluded; clinical metadata only constructs downstream labels and never enters the encoder.

All readings are timestamp-aligned to a 288-position 5-minute grid. Unobserved positions remain masked rather than interpolated. Pretraining includes real 5- and 15-minute recordings and structural sparsification that exposes dense recordings to 15-minute-like observation patterns.


Further, GlucoFM remained informative across matched simultaneous Dexcom/Libre recordings, with no consistent aggregate sensor advantage (Kkgy, Rebuttal Table 2), while additional postprandial glucose-response forecasting and biomarker regression support its utility beyond classification (tPQP, Rebuttal Tables 8-9).

We hope these additional analyses address the reviewer’s concerns and would appreciate reconsideration of the score.

Reviewer rPuz · CommentOpenReview ↗

Thanks for your very detailed rebuttal and clarification of my concerns. All of my concerns have been allayed, in particular I find the new tables you shared (table 4 + 5) compelling. I will raise my score.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for carefully considering our rebuttal and additional analyses. We are very encouraged that we have addressed your concerns. Your thoughtful questions helped us sharpen the motivation, scope, and limitations of the work, and will materially improve the revision.

We remain happy to address any further questions. More broadly, we hope this work contributes to the shared goal of developing rigorous and useful AI methods for the CGM research community :)

Reviewer KkgyOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors present a CGM foundation model, GlucoFM, which is pretrained on more than 100 thousand hours of records from nearly 500 subjects. This CGM foundation model is lightweight, combining state-event modeling and CGM-aware augmentation. It evaluates frozen representations on several CGM cohorts and clinical prediction tasks, reporting gains over CGM-specific and general time-series baselines, plus few-shot, cross-dataset, and ablation results.

Strengths and weaknesses

The authors compared their proposed GlucoFM with general forecasting models and other SOTA CGM-related foundation model, proving that their GlucoFM achieve overall better results. The state and event streams are defined by smoothing and residualization, not by supervised physiological ground truth. So claims like baseline physiology and transient dynamics are plausible but not validated. The objective may mainly exploit CGM autocorrelation or smoothness rather than learning clinically meaningful dynamics.

The reported improvements appear numerically consistent but relatively modest compared with the variability. Although GlucoFM often ranks first or second, the paper does not report paired statistical tests or confidence intervals demonstrating that these gains are statistically reliable across splits or subjects.

The font size of Figure 1 is way too small and hard to read. An overview of the research is always helpful. Please edit Figure 1 to improve readability.

Questions

Manufacturer preprocessing may confound the proposed state–event decomposition. The model operates on exported CGM glucose values, which are already processed by device-specific algorithms. This makes the interpretation of the “event stream” as transient physiology or behavior less direct, since residuals may also reflect device-side filtering, lag correction, or artifact processing. The datasets mix Dexcom, FreeStyle Libre, and iPro recordings. These differences may introduce device-specific signatures into the learned representations. Thus, some downstream performance differences may reflect device/domain shift rather than purely metabolic phenotype representation. The paper partially acknowledges sampling/device shift, but more analysis would help. The weaker results on ShanghaiT2DM are attributed to Libre/15-minute sampling shift, but the paper does not fully disentangle whether the issue comes from. A device-stratified analysis would strengthen the methodological claim. This would help determine whether GlucoFM learns device-invariant metabolic representations or partly exploits device-specific preprocessing patterns.

There is no explicit guarantee against the two streams becoming redundant after fusion. The authors should check whether state/event streams have distinct frequency content or non-redundant embeddings.

The main performance claim would be stronger if the authors reported paired significance tests using the shared cross-validation splits. Since the downstream cohorts are small and several tasks have high variance, it is difficult to determine whether the observed gains reflect a robust improvement or split-level variability.

Limitations

yes

Final justification

The rebuttal and subsequent discussion addressed most of my main concerns.

  1. The authors clarified that the state–event design should be interpreted as a multi-scale inductive bias. They also committed to revising the terminology to describe the streams as capturing slow-varying glycemic trends and short-term deviations.
  2. The added pre-fusion analyses, considered with the reported encoder and objective ablations, provide reasonable evidence against complete pre-fusion redundancy and indicate scale-specific differences in the information retained by the two streams. The ablation results also support the downstream utility of both the dual-stream organization and the temporal dynamics objective.
  3. The Nadeau–Bengio-corrected paired tests, confidence intervals, and Holm-adjusted p-values strengthen the evidence supporting the statistical reliability of the task-averaged improvements over CGM-JEPA and CGMformer.
  4. The paired Dexcom–Libre analyses do not establish device invariance or equivalence, and device-specific or outcome-specific effects cannot be fully excluded. However, the additional controlled analyses partially address this concern, and the authors appropriately acknowledge the limitations and narrow the corresponding claims.
  5. The remaining limitations are that the current analyses do not establish physiological semantics and that residual device-specific effects may remain. Given the narrower framing, I regard these as remaining limitations rather than decisive objections, because the supported methodological claim is limited to scale-specific functional specialization and downstream utility.
Formatting concerns

None

8 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We appreciate that the reviewer considers the work technically solid and the comparisons broad. We address each concern below and will revise accordingly.


  1. State–event interpretation and non-redundancy

We agree that smoothing and residualization do not provide physiological ground truth. Our submission defines the two inputs as a causal, mask-aware low-frequency trend and its high-frequency residual. We will therefore replace baseline/transient physiology with slow-varying glycemic trend and short-term deviation. This self-supervised multi-scale bias requires no meal, activity, or sleep annotations, which were not consistently available across our >100,000h corpus.

  • Evidence already in the submission. The Fig. 7 ablation compares raw, state-only, event-only, and dual-stream encoders under identical training and evaluation settings. The dual-stream model is best on all three task-averaged metrics, demonstrating the downstream utility of explicit decomposition and fusion. This ablation does not, by itself, establish physiological semantics or pre-fusion non-redundancy.

  • New validation protocol. CGMacros is our only downstream cohort with time-aligned meal logs. We analyze its 5-min Dexcom data and extract frozen 64-d pre-fusion zstatez_{state} and zeventz_{event} tokens from the same checkpoint without encoder updates. All representations use identical linear probes—Ridge for continuous targets and logistic regression for binary targets—with 5 repeated subject-disjoint 5-fold splits. We report repeat-wise OOF means and paired 95% CIs from 2,000 subject-cluster bootstraps. Meal labels are used only for evaluation, never for pretraining.

    We conduct 2 complementary tests:

  1. Stream-content selectivity: From 7,435 hourly patches across 35 subjects, we predict mask-aware hourly mean glucose and mean absolute adjacent 5-minute change, representing slow level and local dynamic content, respectively.
  2. External meal alignment: Using 542 standardized meals, we classify pre-meal (-60 min) versus post-meal (+60 min) tokens, with circular clock time as a control. A harder full-day test localizes tokens 30–120 minutes after exact meal logs among 7,162 eligible tokens from 310 windows, without meal-time, clock, or patch-position features.

Rebuttal Table 1. Frozen pre-fusion stream analyses

Analysis (metric) State Event State ⊕\oplus Event Clock time Paired difference (95% CI)
Glucose level (R2R^2) 0.962 0.401 — — State−Event: 0.561 [0.518, 0.630]
5-min absolute change (R2R^2) 0.832 0.888 — — Event−State: 0.056 [0.040, 0.073]
Meal phase (ROC-AUC) 0.849 0.847 0.854 0.704 State−Time: 0.145 [0.108, 0.178]; Event−Time: 0.142 [0.103, 0.177]; Event−State: −0.002 [−0.015, 0.010]
Post-meal localization (Recall@KK) 0.521 0.547 0.539 0.283 Event−State: 0.026 [0.010, 0.042]

Point estimates are means across 5 complete OOF repeats. Recall@K is the fraction of true post-meal tokens recovered in the top KK positions, where KK is the number of positives in that window.

  • New findings:

    • Content selectivity: State tokens better preserve glucose level, whereas event tokens better preserve short-term change; both directional paired gaps exclude zero. This provides evidence against pre-fusion collapse and supports functional slow/fast non-redundancy.
    • External behavioral alignment: Meal annotations, unseen during pretraining, provide independent validation: both streams outperform clock time in meal-phase prediction, with paired CIs excluding zero. In the harder full-day task, event tokens achieve higher Recall@K with a non-zero paired CI; other event–state localization intervals include zero, so we do not claim event-exclusive meal semantics.
  • Conclusion: Together, the submitted ablation and new analyses show downstream utility, pre-fusion slow/fast content specialization, and meal-associated information beyond clock time. This supports the state–event design as an effective, non-redundant self-supervised multi-scale inductive bias. We will revise the terminology to reflect functional specialization without implying causal physiological disentanglement.


  1. Manufacturer preprocessing and device-specific signatures

We agree that exported CGM values may retain manufacturer-specific filtering, calibration, lag correction, and artifact processing. Our intended claim is robustness across sensor domains—not recovery of device-independent physiological ground truth.

  • Existing design: Our 109,066-h pretraining corpus comprises 79.87% Dexcom, 11.38% Libre, and 8.75% iPro. GlucoFM aligns recordings to a common time grid while preserving observation masks. Mask-aware decoupling uses only observed values, and structural sparsification exposes the model to sparse sampling and gaps. These choices reduce sensitivity to cadence and missingness but cannot eliminate shifts from proprietary manufacturer preprocessing.

  • Existing Libre-domain evidence: We retrained CGM-JEPA, X-CGM-JEPA, and GluFormer on the same data using official preprocessing and identical subject splits; GlucoFM preserves observation masks rather than interpolating values as observed measurements. On the Libre/15-min Shanghai cohort, GlucoFM ranks first among these controlled same-pretraining CGM baselines on all 3 hypoglycemia metrics. For insulin resistance, it ranks second in PR-AUC and Macro-F1, and third in ROC-AUC. This provides existing cross-domain evidence, although Shanghai simultaneously differs in manufacturer, cadence, site, and cohort composition.

  • New paired device analysis: We analyzed 393 same-subject, same-date 24-h windows from 44 CGMacros participants wearing Dexcom and Libre simultaneously. We compared native Dexcom with timestamp-matched Dexcom and Libre views; the matched views share subjects, dates, labels, timestamps, and missingness masks. Separate linear probes were evaluated on all 4 CGMacros tasks using the same 10 repeated subject-disjoint 5-fold splits as in Table 3, with held-out window metrics and paired 95% CIs from 2,000 subject-cluster bootstraps.

Rebuttal Table 2. CGMacros paired-device analysis

Four-task average PR-AUC ROC-AUC Macro-F1
Dexcom native 62.99 ± 0.98 71.56 ± 1.23 63.01 ± 0.97
Dexcom matched mask 61.34 ± 0.97 68.84 ± 1.26 60.79 ± 0.96
Libre matched mask 65.04 ± 2.07 70.73 ± 1.92 61.79 ± 1.32
Paired difference in percentage points [95% CI]
Native Dexcom − matched Dexcom +1.66 [+0.06, +3.38] +2.72 [+0.69, +4.89] +2.22 [+0.29, +4.36]
Matched Dexcom − matched Libre −3.71 [−7.94, +0.95] −1.89 [−6.35, +2.97] −1.00 [−5.30, +3.59]

Values are mean ± SD over 10 complete OOF repeats.

  • Findings: Retaining denser native Dexcom observations yields a modest aggregate gain, showing that sampling density remains relevant despite our robustness design. After exactly matching timestamps and missingness, however, all three four-task-average Dexcom–Libre intervals include zero, providing no evidence of a consistent aggregate sensor advantage. This does not establish equivalence or device-invariant representations, but shows that phenotype-relevant information remains linearly decodable from both simultaneous sensor views after controlling for subject, date, labels, timestamps, and missingness.

  • Revision: We will revise the Shanghai discussion to describe a compound shift in manufacturer, cadence, site, and cohort composition rather than attributing its results specifically to Libre/15-min sampling. Together, the submitted Shanghai results and new paired analysis provide complementary evidence that GlucoFM remains informative across Dexcom and Libre conditions while appropriately limiting claims about physiological or device invariance.


  1. Paired statistical significance

We agree that mean ± std alone does not establish the reliability of the improvements. We therefore performed paired inference on the submitted Table 3 results.

  • Protocol: All models use identical 10 repeated subject-disjoint 5-fold splits. For each repeat/fold, we macro-average the 14 tasks and compare GlucoFM with CGM-JEPA—the strongest same-pretraining CGM baseline—and CGMformer, pretrained on a larger external cohort. We use two-sided Nadeau–Bengio corrected paired t-tests to account for correlated folds, with Holm correction across six comparisons.

Rebuttal Table 3. Paired task-averaged comparisons

Comparator Metric Ours / baseline Difference [95% CI] Holm-p
CGM-JEPA PR-AUC 58.8 / 54.7 +4.11 [2.40, 5.81] <0.001
ROC-AUC 66.7 / 62.4 +4.34 [2.26, 6.41] <0.001
Macro-F1 59.9 / 57.3 +2.57 [0.91, 4.23] 0.006
CGMformer PR-AUC 58.8 / 54.1 +4.74 [2.47, 7.02] <0.001
ROC-AUC 66.7 / 62.1 +4.67 [2.02, 7.32] 0.003
Macro-F1 59.9 / 57.5 +2.34 [0.55, 4.14] 0.012

Differences are computed from unrounded paired fold-level scores and reported in percentage points.

  • Findings: All six corrected 95% CIs exclude zero and all Holm-adjusted p-values remain significant, supporting the reliability of GlucoFM’s task-averaged improvements against both the strongest same-pretraining-data CGM baseline and a model pretrained on a larger external cohort.

  • Revision: We will add the paired-test protocol and complete task-level confidence intervals to the appendix.


Beyond these analyses, additional results on multiday phenotyping (rPuz, Rebuttal Table 5), postprandial glucose-response forecasting, and biomarker regression (tPQP, Rebuttal Tables 8-9) further extend the evaluation beyond single-day classification. We will also enlarge and simplify Figure 1.

We hope these clarifications address your concerns and invite you to reconsider your score.

Authors · CommentOpenReview ↗

Dear reviewer Kkgy,

We would like to kindly follow up in case you have had a chance to review our rebuttal. We directly addressed your main concerns through

  • shared-split paired significance tests;
  • a same-subject, mask-matched Dexcom–Libre analysis;
  • pre-fusion state/event analyses demonstrating distinct content emphasis;
  • independent meal-alignment evidence and appropriately narrowed physiological claims.

Following the AC’s and other reviewers’ suggestions, we also added multi-day evaluation, comparisons with standard CGM summaries, postprandial glucose-response forecasting, and biomarker regression.

We hope these analyses and clarifications address your concerns. Please let us know if any questions remain, we would be grateful for the opportunity to clarify them during the discussion period.

Authors · CommentOpenReview ↗

Follow-up on Rebuttal

Dear Reviewer Kkgy,

With the discussion period closing in two days, we would like to briefly follow up. Our rebuttal addresses your main concerns through statistical significance testing, cross-device validation, state/event representation analyses, and independent meal-alignment evidence, while narrowing the physiological claims accordingly.

If you have a moment to take another look, we would appreciate any follow-up, and an updated assessment in light of these clarifications. Thank you for your time.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Rebuttal Summary and Revision Commitments

We sincerely thank all reviewers and the Area Chair for their thoughtful engagement throughout the discussion. We are pleased that the additional evidence, methodological clarifications, and narrower claims addressed the concerns, and we are grateful that all reviewers subsequently raised their scores. We summarize our responses and revision commitments below.


  1. How we addressed the main concerns
  • We verified GlucoFM’s improvements using shared-fold corrected paired tests, confidence intervals, and multiple-comparison correction, and directly compared frozen GlucoFM with fully fine-tuned general foundation models. (Reviewer Kkgy; Reviewer rPuz; AC)

  • We assessed potential device, sampling, cohort, missingness, time-of-day, and clinical-covariate effects through controlled paired-device, leave-one-cohort-out, missingness, phase-shift, and covariate-aware analyses. The results support decoding across non-identical sensors, but not device equivalence or invariance. (Reviewer Kkgy; AC)

  • We probed the state and event streams before fusion, demonstrating non-collapse and scale-specific specialization. Meal annotations provide independent behavioral alignment, not evidence of semantic or causal physiological disentanglement. (Reviewer Kkgy; AC)

  • We clarified that GlucoFM encodes reusable 24-hour representations that can be aggregated across days, but does not natively model interactions beyond 24 hours. (Reviewer rPuz; AC)

  • We broadened the evaluation with conventional CGM-summary baselines, multi-day analysis, and TyG-defined fatty-liver-risk proxy classification, and extended it beyond classification to biomarker regression and both postprandial and general glucose forecasting. (Reviewer tPQP; AC)

  • We clarified the evaluation, transfer, sampling, missing-data, and temporal-patching protocols, and will provide complete IRB, consent, permission, and data-governance information. (Reviewer rPuz; Reviewer tPQP; AC)


  1. Evidence and analyses to be incorporated in the revision
  • Pre-fusion state/event content probes, independent meal alignment, and controlled dual-stream ablations (Rebuttal Table 1).

  • Same-subject, same-date Dexcom–Libre analysis (Rebuttal Table 2) and the raw paired-measurement audit showing related but substantially different sensor measurements (Reviewer Kkgy follow-up: Raw Paired-Measurement Analysis).

  • Paired uncertainty analyses with confidence intervals (Rebuttal Table 3).

  • Frozen GlucoFM versus fully fine-tuned Chronos-2-small and MOMENT-small (Rebuttal Table 4).

  • Equal-subject-weight multi-day aggregation of independently encoded daily representations (Rebuttal Table 5).

  • Same-window GMI-equivalent comparisons (Rebuttal Table 6), TyG-defined fatty-liver-risk classification (Rebuttal Table 7), postprandial glucose-response forecasting (Rebuttal Table 8), general three-hour glucose forecasting (Rebuttal Table 17), and continuous biomarker regression (Rebuttal Table 9).

  • Stanford- and Shanghai-held-out leave-one-cohort-out pretraining (Rebuttal Table 11).

  • Comparison with conventional CGM summaries (Rebuttal Table 12).

  • Missing-aware filtering stress tests under sparse sampling and 30/60-minute gaps (Rebuttal Table 13), together with the prolonged-gap audit (AC follow-up: Raw-Data Gap Audit).

  • Shanghai cross-dataset transfer (Rebuttal Table 14) and absolute-time ablation and phase-shift analyses (Rebuttal Table 15).

  • Measured-covariate sensitivity for hyperlipidemia using basic clinical covariates and mean glucose (Rebuttal Table 16).


  1. Claims to be revised
  • Replace physiological and semantic-disentanglement language with "slow-varying glycemic trend" and "short-term deviation." Accordingly, the leftmost panel of Figure 1 will focus on learning complementary slow-varying and short-term CGM representations rather than "disentangling latent behavioral dynamics." We will also enlarge and reformat Figure 1 to improve readability.

  • State explicitly that the main benchmark in submitted Table 3 uses "subject-disjoint window-level linear probing" to evaluate whether individual 24-hour representations are phenotype-informative for unseen subjects while capturing day-to-day variability, complemented by an "equal-subject-weight multi-day analysis" (Rebuttal Table 5). Shanghai will be described as "subject-entry-disjoint", with its repeated visits and single cross-partition biological participant explicitly documented; the Shanghai-held-out analysis removes this exposure (Rebuttal Table 11).


We again thank all reviewers and the Area Chair for the constructive discussion. Their feedback has strengthened the evidence, clarified the scope of GlucoFM, and improved the precision of our claims. We will incorporate the analyses and revisions summarized above and respectfully hope they support a favorable final assessment.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…