GlucoPRISM: Protocol-Supervised Pretraining for Cross-Cohort Glucose Transfer
Organizations: Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, UAE · Vitalverse, Abu Dhabi, UAE · Google, USA
Abstract
Continuous glucose monitoring (CGM) foundation models encode each day as one vector that mixes who the person is, what happened that day and how the sensor measured it, so measurement differences travel with the representation into new cohorts. We ask whether pretraining can place the measurement component that harms transfer in known coordinates, so that deployment drops them with a fixed projection and no target data. GlucoPRISM supervises a GlucoFM backbone with response contracts, rules for how each part of the representation should change when only the day or only the sensor changes: a 64-dimensional Trait band should change with neither, a 48-dimensional State band only across days, and a 16-dimensional Sensor band should track the device. Synthetic sensor views calibrated on paired Dexcom and Libre recordings, different-day pairs and glucose-summary targets supply this supervision without clinical labels. Across twelve cross-cohort directions, dropping the Sensor band from the same frozen encoder raises mean transfer AUROC from 68.75 to 73.57, against 69.3 for GlucoFM. The gain has two parts. Into CGMacros, the one target cohort recorded with two sensor types, filtering adds 11 to 19 points, and this holds when the generator is recalibrated on half of the participants and scored on the other half. On the other eight directions filtering is neutral and the encoder itself exceeds GlucoFM by 3.5 points. The device remains linearly decodable after filtering, so the filter removes a device-related component that harms transfer rather than all measurement information. The retained bands improve window AUROC on thirteen of fourteen public task--cohort cells (Holm-adjusted p=0.031) and correlation on fourteen of fifteen clinical endpoints in an external cohort of 9,303 participants.
Figures & tables
| Trait (64) | State (48) | Sensor (16) | |
|---|---|---|---|
| Across days | unchanged | may change | not constrained |
| Across sensors | unchanged | unchanged | changes |
| Supervision | day-pair alignment, sensor-view alignment, level targets | day contrast, sensor-view alignment, variability targets | device prediction, KL bottleneck |
| Frozen third-party checkpoints | Retrained, public corpus | Ours | ||||||||||
| Chronos-2 small | Chronos -2 | MOMENT large | MOMENT small | CGM- former | Mantis | Mantis V2 | CGM- JEPA | X-CGM- JEPA | Gluco FM | Gluco PRISM | ||
| Window | PR | 48.7 | 49.9 | 50.3 | 52.1 | 53.7 | 54.0 | 55.3 | 52.3 | 52.1 | 57.9 | 59.1 |
| ROC | 58.5 | 59.6 | 59.9 | 62.5 | 62.9 | 63.6 | 64.7 | 60.9 | 60.8 | 65.9 | 68.0 | |
| F1 | 52.8 | 53.5 | 53.5 | 55.2 | 55.8 | 56.2 | 56.4 | 53.8 | 53.5 | 57.6 | 57.8 | |
| Subject | PR | 64.3 | 64.1 | 67.7 | 66.2 | 64.9 | 68.1 | 67.8 | 66.9 | 67.2 | 66.3 | 67.2 |
| ROC | 66.1 | 65.7 | 69.3 | 67.3 | 66.3 | 70.0 | 69.2 | 67.3 | 67.8 | 69.0 | 69.4 | |
| Readout | Transfer ROC-AUC | ECE | Brier | |
|---|---|---|---|---|
| Full readout (all three bands) | 68.75 2.67 | — | 0.163 0.022 | 0.241 0.014 |
| INLP ( Ravfogel et al., 2020 ) , 8 iterations | 72.94 0.40 | 2.44 | 0.136 0.024 | 0.218 0.009 |
| Filtered readout (ours) | 73.57 0.54 | 2.18 | 0.114 0.009 | 0.207 0.006 |
| Direction | Task | CGM-JEPA | X-CGM-JEPA | GluFormer (tiny) | GlucoFM | GlucoPRISM |
|---|---|---|---|---|---|---|
| Stanford Hall | Diabetes | 70.4 | 71.5 | 72.0 | 68.4 | 76.6 (+4.6) |
| IR | 63.9 | 64.0 | 60.7 | 61.7 | 62.1 ( 1.9) | |
| Hall Stanford | Diabetes | 63.9 | 64.0 | 64.7 | 66.3 | 76.0 (+9.7) |
| IR | 56.6 | 56.7 | 56.2 | 58.2 | 58.0 ( 0.2) | |
| CGMacros Hall | Diabetes | 69.6 | 70.7 | 72.1 | 78.2 | 78.0 ( 0.2) |
| IR | 61.1 | 61.6 | 63.2 | 68.5 | 70.0 (+1.5) |
| No learned representation | CGM foundation models | GlucoPRISM readouts | ||||||||||||
| Mean glucose | Raw window | Indices full wear | Indices day-matched | CGM- JEPA | X-CGM- JEPA | Glu- Former | GlucoFM | GlucoFM trunc-112 | Filtered | kept | only | only | only | |
| DR | 65.4 | 63.6 | 70.3 | 70.5 | 67.3 | 67.5 | 68.6 | 69.5 | 69.5 | 71.8 | 71.7 | 71.5 | 71.4 | 68.8 |
| HL | 53.1 | 53.0 | 59.7 | 58.2 | 55.8 | 56.7 | 58.0 | 59.8 | 59.9 | 59.9 | 59.7 | 59.7 | 59.5 | 58.1 |
| OB | 57.0 | 65.1 | 69.7 | 68.8 | 66.5 | 66.7 | 68.1 | 68.7 | 68.7 | 71.2 | 71.3 | 69.4 | 69.3 | 65.8 |
| Avg | 58.5 | 60.6 | 66.6 | 65.8 | 63.2 | 63.6 | 64.9 | 66.0 | 66.0 | 67.6 | 67.6 | 66.9 | 66.7 | 64.2 |
Appendix figures & tables51 assets
Supplementary material from the paper’s appendix.
Appendix
| Evaluation | Encoder pretraining | Probe fitting and scoring | Question tested |
|---|---|---|---|
| Public windows / subjects | Public corpus | Subject-disjoint folds within each cohort | Representation quality |
| Cross-cohort transfer | Public corpus | Fit on source; score on target | Filtering the Sensor band |
| External HPP | Public corpus | HPP training/test participants | Clinical information |
| HPP corpus-size study | Nested HPP subsets | Public benchmark splits and transfer directions | Transfer at larger pretraining sizes |
| CGMacros | ShanghaiT2DM | Stanford | Hall | |||||||||||||
| Method | Metric | DR3 | HL | IR | Ob | HL | Hy | IR | C | DR | IR | DR | GT | HL | IR | Avg |
| General time-series foundation models (frozen third-party checkpoints) | ||||||||||||||||
| Chronos-2-small | PR | 55 | 28 | 84 | 61 | 32 | 16 | 61 | 60 | 66 | 58 | 51 | 49 | 20 | 41 | 48.7 |
| ROC | 70.0 | 46.8 | 68.9 | 58.7 | 49.5 | 53.3 | 52.2 | 63.2 | 64.8 | 67.3 | 64.5 | 59.0 | 50.4 | 50.1 | 58.5 | |
| F1 | 48 | 47 | 61 | 54 | 48 | 50 | 50 | 58 | 60 | 57 | 57 | 53 | 47 | 49 | 52.8 | |
| Chronos-2 | PR | 56 | 29 | 90 | 64 | 31 | 18 | 61 | 59 | 65 | 55 | 49 | 51 | 23 | 47 | 49.9 |
| 8 directions not into CGMacros | 4 directions into CGMacros | All 12 directions | |
| Full readout | 70.76 | 64.71 | 68.75 |
| Filtered | 70.94 | 78.83 | 73.57 |
| GlucoFM | 67.27 | 73.45 | 69.33 |
| Filtered full | |||
| Full GlucoFM | |||
| Filtered GlucoFM |
| Held-out target cohort | Filtered full | Filtered GlucoFM |
|---|---|---|
| CGMacros | ||
| Stanford | ||
| Hall |
| Context | Endpoint | GluFormer (tiny) | CGM-JEPA | X-CGM-JEPA | GlucoFM | GlucoPRISM |
|---|---|---|---|---|---|---|
| Frozen representation | Trajectory (mg/dL) | 25.86 | 23.73 | 23.43 | 25.84 | 25.87 |
| Positive iAUC (mg/dL h) | 36.05 | 32.59 | 32.04 | 35.80 | 36.20 | |
| Peak rise (mg/dL) | 32.59 | 29.74 | 29.31 | 32.62 | 33.32 | |
| Peak time (min) | 30.89 | 30.51 | 30.47 | 31.27 | 30.36 | |
| + 1 h pre-meal CGM | Trajectory (mg/dL) | 24.96 | 23.27 | 23.08 | 23.46 | 23.31 |
| Positive iAUC (mg/dL h) | 34.69 | 32.16 | 31.86 | 32.20 | 32.08 |
| Model | Params | Reproduced | Published | mean | cells | |||
|---|---|---|---|---|---|---|---|---|
| (M) | PR | ROC | F1 | PR | ROC | ROC | ||
| GlucoFM ( Li et al., 2026 ) | 0.72 | 57.9 0.6 | 65.9 1.1 | 57.6 0.6 | 58.8 | 66.7 | 3.53 | 5 / 14 |
| GluFormer-tiny ( Lutsker et al., 2026 ) | 0.65 | 52.3 0.3 | 61.3 0.5 | 55.1 0.2 | 53.0 | 61.9 | 3.43 | 6 / 14 |
| CGM-JEPA ( Muhammad et al., 2026 ) | 0.52 | 52.3 0.1 | 60.9 0.2 | 53.8 0.3 | 54.7 | 62.4 | 3.47 | 5 / 14 |
| X-CGM-JEPA ( Muhammad et al., 2026 ) | 0.52 | 52.1 0.1 | 60.8 0.1 | 53.5 0.1 | 54.6 | 62.1 | 3.23 | 7 / 14 |
| raw 288-point window | — | 51.2 | 59.9 | 53.6 | — | — | — | — |
| Cohort | Device | Rate (min) | Subjects | Windows | Obs. frac. |
|---|---|---|---|---|---|
| REPLACE-BG ( Aleppo et al., 2017 ) | Dexcom G4 | 5 | 226 | 9,040 | 0.978 |
| Stanford ( Hall et al., 2018 ) | Dexcom | 5 | 27 | 622 | 0.983 |
| ShanghaiT2DM ( Zhao et al., 2023 ) | FreeStyle Libre | 15 | 40 | 722 | 0.333 |
| Colás ( Brunner et al., 2012 ) | Medtronic iPro | 5 | 205 | 391 | 0.997 |
| BIG IDEAs ( Bent et al., 2021 ) | Dexcom | 5 | 16 | 177 | 0.935 |
| Total (public only) | — | — | 514 | 10,952 | — |
| Setting | Value | Provenance |
|---|---|---|
| Architecture | ||
| Window grid | 288 steps at 5 min (24 h) | inherited |
| Patches | 24 of 12 steps (1 h) | inherited |
| Causal filter | init 6.0, learned in | inherited |
| Filter truncation / lookback | 3 / 9 steps | inherited |
| Stream dim | 64 per stream | inherited |
| Fitted parameter | Point estimate | Leave-one-subject-out range | 95% bootstrap |
|---|---|---|---|
| Calibration offset (mg/dL) | -31.12 | [-32.39, -30.20] | [-34.60, -27.71] |
| Deming slope | 0.88 | [0.86, 0.89] | [0.83, 0.92] |
| Mean abs. relative difference (%) | 24.25 | [23.86, 24.56] | [22.54, 25.99] |
| Correlation with source window | 0.74 | [0.73, 0.75] | [0.69, 0.78] |
| Arm | Lag | Smoothing | Bias | Fitted on |
|---|---|---|---|---|
| Control (released recipe) | 1.5 | 0 | all 44 CGMacros paired participants | |
| (a) Uncalibrated | 0 | 0 | 0 | nothing (only the Libre 15-minute decimation) |
| (b) Half-calibrated | 1.29 | 0 | 22 of the 44 paired participants |
| Arm | Filtered ROC, all 12 | Gain, into CGMacros (all 44) | Gain, into CGMacros (held-out 22) | Gain, 8 not into CGMacros | Arm control (held-out 22) |
|---|---|---|---|---|---|
| Projected readout (deployed) | |||||
| Control | 73.14 0.62 | 14.39 2.44 | 16.80 4.05 | 0.03 0.77 | — |
| (a) Uncalibrated | 73.05 0.53 | 12.42 5.42 | 13.35 6.83 | 0.45 0.89 | [ , , ] |
| (b) Half-calibrated | 73.17 0.58 | 15.14 5.30 | 17.16 7.13 | 0.03 0.91 | [ , , ] |
| Raw pre-head blocks | |||||
| Control | 67.69 3.12 | 0.88 | 0.97 | 0.25 0.21 | — |
| window ROC-AUC | window PR-AUC | subject ROC-AUC | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | won | won | won | ||||||
| GlucoPRISM | +2.16 | 13/14 | 0.031 ∗ | +1.16 | 9/14 | 0.208 | +0.50 | 7/14 | 1.000 |
| Chr-2s | -7.38 | 4/14 | 0.107 | -9.21 | 3/14 | 0.019 ∗ | -2.85 | 4/14 | 1.000 |
| Chr-2 | -6.24 | 3/14 | 0.221 | -8.08 | 3/14 | 0.047 ∗ | -3.21 | 5/14 | 1.000 |
| MOM-l | -5.92 | 3/14 | 0.282 | -7.66 | 3/14 | 0.019 ∗ | +0.31 | 8/14 | 1.000 |
| CGM-JEPA | -4.94 | 3/14 | 0.293 | -5.64 | 3/14 | 0.122 | — | — | — |
| Direction | Task | Metric | CGM-JEPA | X-CGM-JEPA | GluFormer (tiny) | GlucoFM | GlucoPRISM |
|---|---|---|---|---|---|---|---|
| Stanford Hall | Diabetes | PR | 53.8 0.7 | 55.2 0.5 | 63.2 5.1 | 59.5 1.6 | 68.0 2.0 |
| ROC | 70.4 0.9 | 71.5 0.4 | 72.0 3.2 | 68.4 0.3 | 76.6 0.8 | ||
| IR | PR | 48.7 2.0 | 48.5 0.7 | 48.7 2.5 | 53.1 1.9 | 50.7 2.6 | |
| ROC | 63.9 1.1 | 64.0 0.6 | 60.7 2.9 | 61.7 1.4 | 62.1 0.5 | ||
| Hall Stanford | Diabetes | PR | 66.3 0.1 | 66.3 0.4 | 68.4 1.1 | 69.9 1.2 | 78.5 1.1 |
| ROC | 63.9 0.2 | 64.0 0.3 | 64.7 1.1 | 66.3 1.1 | 76.0 1.1 |
| CGM Hall | CGM Stan | Hall CGM | Hall Stan | Stan CGM | Stan Hall | ||||||||
| Model | DR | IR | DR | IR | DR | IR | DR | IR | DR | IR | DR | IR | Avg |
| GlucoPRISM | 78.0 | 70.0 | 80.9 | 65.8 | 81.7 | 76.6 | 76.0 | 58.0 | 85.6 | 71.4 | 76.6 | 62.1 | 73.6 |
| kept | 78.0 | 70.7 | 80.8 | 63.9 | 67.6 | 57.8 | 75.7 | 59.2 | 74.3 | 59.2 | 75.9 | 61.9 | 68.7 |
| Backbone and frozen third-party baselines | |||||||||||||
| GlucoFM | 78.2 | 68.5 | 74.3 | 62.6 | 77.2 | 80.3 | 66.3 | 58.2 | 71.1 | 65.3 | 68.4 | 61.7 | 69.3 |
| MantisV2 | 68.3 | 64.0 | 69.5 | 71.0 | 77.6 | 64.8 | 65.8 | 65.0 | 68.3 | 72.5 | 66.1 | 68.8 | 68.5 |
| Endpoint | GlucoFM | GlucoPRISM | vs FM | GlucoPRISM [ kept] | deletion gain |
| Dexcom Libre | |||||
| Diabetes risk (3-cls) | 81.85 | 80.21 | 61.09 | ||
| Hyperlipidemia | 63.91 | 54.07 | 53.00 | ||
| Insulin resistance | 83.27 | 85.25 | 54.09 | ||
| Obesity | 66.78 | 64.66 | 60.41 | ||
| Libre Dexcom | |||||
| Cross-cohort transfer | Within-cohort | ||||
|---|---|---|---|---|---|
| Readout | ROC-AUC | ECE | Brier | window | subject |
| keep all 16 (full readout) | 68.75 2.67 | 0.163 0.022 | 0.241 0.014 | 67.90 0.66 | 69.55 2.48 |
| keep 12 of 16 | 68.76 2.45 | 0.163 0.026 | 0.242 0.017 | — | — |
| keep 8 of 16 | 68.44 2.09 | 0.167 0.027 | 0.244 0.019 | — | — |
| keep 4 of 16 | 68.49 2.12 | 0.169 0.025 | 0.245 0.018 | 67.75 0.55 | 69.15 3.14 |
| keep 2 of 16 | 71.63 2.38 | 0.137 0.013 | 0.218 0.006 | 67.97 0.62 | 68.71 3.25 |
| Method | ROC-AUC | PR-AUC | ECE | Brier |
|---|---|---|---|---|
| Projected readout | ||||
| GlucoPRISM, filtered (Sensor removed) | 73.14 0.62 | 72.33 1.32 | 0.128 0.013 | 0.214 0.008 |
| GlucoPRISM, full readout | 68.35 0.55 | 69.40 1.62 | 0.167 0.030 | 0.243 0.022 |
| GlucoPRISM, full + INLP (8 it.) | 73.46 0.88 | 72.46 1.22 | 0.123 0.007 | 0.213 0.004 |
| GlucoPRISM, full + LEACE | 73.09 1.01 | 72.35 1.24 | 0.136 0.010 | 0.219 0.010 |
| GlucoFM | 67.26 2.53 | 68.27 1.32 | 0.237 0.026 | 0.283 0.023 |
| Method | Directions | ROC-AUC | PR-AUC | ECE | Brier | ROC-AUC (raw) |
|---|---|---|---|---|---|---|
| GlucoPRISM, full readout | All 12 | |||||
| 8 not into CGMacros | ||||||
| 4 into CGMacros | ||||||
| GlucoPRISM, full + INLP | All 12 | |||||
| 8 not into CGMacros | ||||||
| 4 into CGMacros |
| Held-out MCR+TD loss | Held-out device AUROC | Within loss budget | |
|---|---|---|---|
| 0.1 | 0.0300 | 99.91 | yes (selected) |
| 0.3 | 0.2372 | 98.99 | no |
| 1 | 0.2061 | 99.53 | no |
| 3 | 0.3003 | 97.67 | no |
| Model | Window PR | Window ROC | Window F1 | Subject PR | Subject ROC | Subject F1 | Transfer ROC |
|---|---|---|---|---|---|---|---|
| GlucoPRISM, filtered | 59.06 0.49 | 67.90 0.36 | 57.87 0.11 | 67.07 0.29 | 69.26 1.15 | 58.78 0.28 | 73.14 0.62 |
| GlucoPRISM, full | 58.87 0.45 | 67.88 0.41 | 57.81 0.36 | 67.07 2.20 | 70.06 2.61 | 60.09 1.69 | 68.33 0.53 |
| GlucoFM | 56.04 0.30 | 62.99 0.22 | 56.47 0.26 | 66.17 0.87 | 68.98 0.75 | 60.18 0.36 | 67.25 2.54 |
| DANN-GlucoFM, (selected) | 54.30 0.56 | 61.85 0.74 | 55.68 0.17 | 67.26 3.02 | 69.48 4.42 | 60.50 2.56 | 67.19 1.77 |
| DANN-GlucoFM, | 54.97 1.25 | 63.71 0.69 | 56.58 0.81 | 64.73 2.95 | 67.00 3.82 | 58.19 2.77 | 61.73 3.21 |
| DANN-GlucoFM, | 53.18 1.60 | 61.43 1.65 | 55.03 1.04 | 63.84 3.23 | 65.68 3.68 | 56.56 3.26 | 64.02 3.93 |
| Setting | Full readout | dropped | Gain (window) | Gain (subject) |
|---|---|---|---|---|
| Sensor-block width (at ) | ||||
| 8 | 67.67 0.43 | 68.01 0.06 | 0.37 | 1.89 |
| 16 (released) | 67.52 0.17 | 68.03 0.21 | 0.04 | 1.02 |
| 32 | 67.62 0.59 | 67.91 0.29 | 0.30 | 0.00 |
| KL weight (at ) | ||||
| 0.03 | 67.56 1.17 | 68.16 0.74 | 0.43 | 3.21 |
| Encoder | Paired subj. | Frozen encoder | |||
| , no factorization loss | 15 | 65.5 | 64.7 | 64.6 | |
| 20 | 65.5 | 66.0 | 65.7 | ||
| 30 | 65.5 | 66.8 | 65.7 | ||
| 45 | 65.5 | 65.6 | 65.2 | ||
| , post-hoc heads | 15 | 63.5 | 64.0 | 63.4 | |
| 20 | 63.5 | 64.1 | 64.4 |
| Objective | Endpoint | Without | Complete | Gain | Interval |
|---|---|---|---|---|---|
| Sensor-view alignment | Full transfer | 62.52 | 68.34 | +5.82 | [3.60, 7.82] |
| Sensor-view alignment | Retained transfer | 65.09 | 71.79 | +6.70 | [4.14, 9.10] |
| Sensor-objective bundle | Retained transfer | 67.00 | 71.79 | +4.79 | [2.26, 7.24] |
| Variance regularization | Full window | 66.89 | 68.23 | +1.35 | [0.44, 2.52] |
| Variance regularization | Retained transfer | 68.35 | 71.79 | +3.44 | [1.13, 5.86] |
| Sensor KL regularization | Full window | 67.61 | 68.23 | +0.62 | [0.05, 1.14] |
| Metric | Retained minus full | Favorable direction |
|---|---|---|
| AUROC | +0.0345 | Higher |
| Average precision | +0.0221 | Higher |
| Macro-F1 | +0.0806 | Higher |
| Brier score | Lower | |
| Expected calibration error, ten bins | Lower |
| Readout | Without variance | Complete | Paired consistency |
|---|---|---|---|
| Full projected | 4.708 | 6.519 | 12/12 |
| Retained projected | 3.310 | 5.210 | 12/12 |
| Representation | ROC-AUC | PR-AUC | Transfer ROC-AUC | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| DR | HL | OB | DR | HL | OB | DR | HL | OB | ||
| cgm_mean | 1 | 65.4 1.9 | 53.1 1.6 | 57.0 1.7 | 41.6 2.6 | 22.0 1.8 | 21.6 1.6 | 65.1 | 55.1 | 57.1 |
| iglu | 70.3 1.8 | 59.7 1.5 | 69.7 1.5 | 49.5 3.1 | 26.4 1.8 | 33.1 2.6 | 67.6 | 60.8 | 67.8 | |
| iglu_daymatched | 39 | 70.5 1.8 | 58.2 1.5 | 68.8 1.4 | – | – | – | – | – | – |
| raw | 288 | 63.6 1.9 | 53.0 1.8 | 65.1 1.6 | 40.5 2.4 | 21.5 1.7 | 27.0 2.0 | 64.3 | 53.3 | 64.8 |
| cgm_jepa | 96 | 67.3 1.8 | 55.8 1.8 | 66.5 1.6 | 44.7 2.7 | 23.9 1.8 | 28.0 2.0 | 66.5 | 55.1 | 66.2 |
| Comparison | Metric | DR | HL | OB |
|---|---|---|---|---|
| GlucoPRISM GlucoFM | AUROC | [+1.36, +3.13] ∗ | [-1.20, +1.24] | [+1.37, +3.66] ∗ |
| GlucoPRISM GlucoFM | PR-AUC | [+3.10, +5.53] ∗ | [-0.43, +1.78] | [+1.65, +4.76] ∗ |
| GlucoPRISM: deleted kept | AUROC | [-0.11, +0.20] | [-0.18, +0.55] | [-0.41, +0.25] |
| GlucoPRISM: deleted kept | PR-AUC | [-0.12, +0.34] | [-0.21, +0.45] | [-0.18, +0.67] |
| indices (day-matched) GlucoFM | AUROC | [-0.04, +2.19] | [-3.07, -0.18] ∗ | [-1.40, +1.60] |
| indices (day-matched) GlucoFM | PR-AUC | [+1.32, +4.42] ∗ | [-2.41, +0.02] | [-0.82, +3.21] |
| GlucoFM | GlucoPRISM | |||||||
|---|---|---|---|---|---|---|---|---|
| Endpoint | Dev. | Test | MAE | MAE | ||||
| Apnea–hypopnea index | 4505 | 683 | 0.2273 | 7.7357 | 0.0467 | 0.3026 | 7.5818 | 0.0882 |
| Blood glucose | 3397 | 542 | 0.6348 | 6.8216 | 0.3956 | 0.6698 | 6.7141 | 0.4483 |
| Body mass index | 7956 | 1214 | 0.3803 | 3.0570 | 0.1347 | 0.4364 | 3.0105 | 0.1902 |
| Diastolic pressure | 7971 | 1214 | 0.2214 | 7.8867 | 0.0442 | 0.2442 | 7.8359 | 0.0562 |
| Body-fat field | 4892 | 736 | 0.2601 | 0.0649 | 0.0438 | 0.4266 | 0.0605 | 0.1813 |
| GlucoFM | GlucoPRISM | |||||||
|---|---|---|---|---|---|---|---|---|
| Endpoint | Dev. | Test | MAE | MAE | ||||
| Apnea–hypopnea index | 4505 | 683 | 0.3395 | 7.3081 | 0.0903 | 0.4290 | 7.0974 | 0.1809 |
| Blood glucose | 3397 | 542 | 0.6553 | 6.8444 | 0.4229 | 0.6781 | 6.7304 | 0.4596 |
| Body mass index | 7956 | 1214 | 0.4009 | 3.0107 | 0.1518 | 0.4523 | 2.9717 | 0.2042 |
| Diastolic pressure | 7971 | 1214 | 0.2986 | 7.6949 | 0.0866 | 0.3120 | 7.6483 | 0.0964 |
| Body-fat field | 4892 | 736 | 0.6980 | 0.0464 | 0.4870 | 0.7405 | 0.0443 | 0.5439 |
| GlucoFM | GlucoPRISM | |||||||
|---|---|---|---|---|---|---|---|---|
| Endpoint | Dev. | Test | MAE | MAE | ||||
| Apnea–hypopnea index | 1181 | 184 | 0.1252 | 6.7930 | 0.0007 | 0.2644 | 6.5406 | 0.0695 |
| Blood glucose | 338 | 53 | 0.6740 | 7.7609 | 0.3696 | 0.7324 | 6.9653 | 0.4845 |
| Body mass index | 1896 | 279 | 0.3638 | 2.8492 | 0.1308 | 0.3557 | 2.8879 | 0.1247 |
| Diastolic pressure | 1905 | 280 | 0.2016 | 7.1894 | 0.0317 | 0.1943 | 7.2523 | 0.0312 |
| Body-fat field | 1785 | 271 | 0.1933 | 0.0684 | 0.0028 | 0.4067 | 0.0637 | 0.1609 |
| GlucoFM | GlucoPRISM | |||||||
|---|---|---|---|---|---|---|---|---|
| Endpoint | Dev. | Test | MAE | MAE | ||||
| Meal incremental area | 7079 | 1069 | 0.4936 | 1140.4195 | 0.2410 | 0.3527 | 1223.9176 | 0.1231 |
| Meal peak rise | 7079 | 1069 | 0.4025 | 13.9851 | 0.1602 | 0.3163 | 14.6269 | 0.0978 |
| Glucose at +120 min | 7998 | 1218 | 0.7438 | 9.2290 | 0.5530 | 0.7085 | 9.8908 | 0.5017 |
| Glucose at +60 min | 7998 | 1218 | 0.7597 | 9.0759 | 0.5769 | 0.7078 | 10.0525 | 0.5009 |
| Next-day glucose CV | 7819 | 1196 | 0.5504 | 0.0294 | 0.3027 | 0.5266 | 0.0302 | 0.2772 |
| Endpoint | Trait | State | Sensor | Trait+State | All |
|---|---|---|---|---|---|
| Apnea–hypopnea index | 0.2843 | 0.3046 | 0.2830 | 0.3026 | 0.3076 |
| Blood glucose | 0.6226 | 0.6692 | 0.5811 | 0.6698 | 0.6509 |
| BMI | 0.4036 | 0.4211 | 0.3202 | 0.4364 | 0.4349 |
| Diastolic pressure | 0.2416 | 0.2526 | 0.2067 | 0.2442 | 0.2532 |
| Body-fat field | 0.3669 | 0.3781 | 0.2434 | 0.4266 | 0.4262 |
| HbA1c | 0.7116 | 0.7263 | 0.5691 | 0.7307 | 0.7336 |
| Endpoint | Trait | State | Sensor | Trait+State | All |
|---|---|---|---|---|---|
| Meal incremental area | 0.2771 | 0.3022 | 0.0848 | 0.3527 | 0.3669 |
| Meal peak rise | 0.2657 | 0.2785 | 0.1038 | 0.3163 | 0.3257 |
| Glucose +120 min | 0.6769 | 0.6993 | 0.4237 | 0.7085 | 0.7089 |
| Glucose +60 min | 0.6714 | 0.6945 | 0.3864 | 0.7078 | 0.7107 |
| Next-day glucose CV | 0.4996 | 0.4992 | 0.2833 | 0.5266 | 0.5291 |
| Next-day fraction | 0.8360 | 0.8848 | 0.2568 | 0.8905 | 0.8916 |
| Readout | Device AUROC | Device AP | Bal. acc. | Mean cosine | Median cosine |
|---|---|---|---|---|---|
| Trait | 0.8467 | 0.7793 | 0.7564 | 0.4378 | 0.9848 |
| State | 0.8515 | 0.7836 | 0.7741 | 0.4024 | 0.9229 |
| Sensor | 0.8300 | 0.7354 | 0.7277 | 0.2667 | 0.4347 |
| T+S | 0.8599 | 0.7982 | 0.7703 | 0.4275 | 0.8028 |
| All | 0.8607 | 0.7992 | 0.7670 | 0.4145 | 0.7113 |
| Readout | dim | pooled | between | within | recovers pre-meal |
|---|---|---|---|---|---|
| Baselines that need no learned representation | |||||
| Meal time of day (2 features) | 2 | 0.083 | 0.028 | 0.097 | – |
| Macronutrients, winsorised | 4 | 0.195 | 0.150 | 0.218 | – |
| Pre-meal glucose (1 feature) | 1 | 0.265 | -0.006 | 0.437 | – |
| Macronutrients + clock + pre-meal | 7 | 0.343 | 0.067 | 0.483 | – |
| CGM foundation models, frozen-encoder probing | |||||
| Context | Endpoint | GluFormer (tiny) | CGM-JEPA | X-CGM-JEPA | GlucoFM | GlucoPRISM |
|---|---|---|---|---|---|---|
| Frozen representation | Trajectory (mg/dL) | 26.55 0.26 | 24.90 0.28 | 24.65 0.18 | 26.64 0.33 | 26.43 0.14 |
| Positive iAUC (mg/dL h) | 37.85 0.75 | 35.16 0.50 | 34.67 0.33 | 37.92 0.71 | 37.79 0.32 | |
| Peak rise (mg/dL) | 35.07 1.09 | 32.66 0.63 | 32.25 0.47 | 34.91 0.72 | 35.53 0.31 | |
| Peak time (min) | 30.52 1.62 | 30.29 0.33 | 30.44 0.49 | 31.50 1.77 | 30.04 0.75 | |
| + 1 h pre-meal CGM | Trajectory (mg/dL) | 25.75 0.24 | 24.37 0.15 | 24.27 0.17 | 24.25 0.13 | 24.08 0.21 |
| Positive iAUC (mg/dL h) | 36.57 0.57 | 34.61 0.30 | 34.41 0.30 | 34.21 0.29 | 33.92 0.44 |
| Context | Endpoint | GluFormer (tiny) | CGM-JEPA | X-CGM-JEPA | GlucoFM | GlucoPRISM |
|---|---|---|---|---|---|---|
| Frozen representation | Trajectory (mg/dL) | 25.17 0.21 | 22.56 0.47 | 22.21 0.49 | 25.03 0.13 | 25.31 0.10 |
| Positive iAUC (mg/dL h) | 34.24 0.53 | 30.03 0.82 | 29.41 0.97 | 33.68 0.17 | 34.61 0.30 | |
| Peak rise (mg/dL) | 30.12 0.88 | 26.82 0.68 | 26.38 0.70 | 30.33 0.26 | 31.10 0.38 | |
| Peak time (min) | 31.26 0.54 | 30.73 0.64 | 30.51 0.63 | 31.04 0.86 | 30.68 0.55 | |
| + 1 h pre-meal CGM | Trajectory (mg/dL) | 24.18 0.40 | 22.17 0.47 | 21.90 0.44 | 22.66 0.20 | 22.54 0.20 |
| Positive iAUC (mg/dL h) | 32.81 0.75 | 29.71 0.84 | 29.31 0.79 | 30.19 0.42 | 30.24 0.36 |
| Days | GlucoFM | GlucoPRISM | GlucoPRISM [ kept] |
|---|---|---|---|
| 1 | 61.42 | 64.94 | 63.94 |
| 2 | 64.80 | 67.15 | 66.37 |
| 3 | 65.74 | 68.41 | 67.13 |
| 5 | 68.26 | 68.88 | 67.71 |
| 7 | 68.81 | 69.01 | 68.06 |
| Cohort | 7-day GMI rule | GlucoPRISM | |
|---|---|---|---|
| Stanford | 47.6 | 57.1 6.2 | 9.5 |
| CGMacros-Dexcom | 39.6 | 59.1 2.3 | 19.5 |
| CGMacros-Libre | 57.1 | 51.3 2.6 | 5.8 |
| CGMacros-Fused | 44.9 | 54.1 3.3 | 9.2 |
| Average (4 cohorts) | 47.3 | 55.4 | 8.1 |