arXiv:2610.12528cs.LGOct 2026

Manuscript Offprint

arXiv:2610.12528

GlucoPRISM: Protocol-Supervised Pretraining for Cross-Cohort Glucose Transfer

Adinath Madhavrao Dukre, Abdullah Mohammad, Yifan Lu, Eran Segal, Ahmed Metwally, Imran Razzak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.031p = 0.031) and correlation on fourteen of fifteen clinical endpoints in an external cohort of 9,303 participants.

1 INTRODUCTION

Foundation models for continuous glucose monitoring (CGM) turn days of readings into reusable features for clinical prediction (Lutsker et al., 2026; Lu et al., 2025; Muhammad et al., 2026; Li et al., 2026). Their value depends on whether those features carry over to new cohorts, and cohorts differ in sensor hardware, sampling rate, calibration and study protocol. Measurement is also easy to learn: in the public corpus we use, a linear probe identifies the recording device from the observation mask alone at 100 AUROC (Appendix T). A CGM day thus mixes three sources, the person, the day and the sensor, and they respond differently to change. The person persists across days and sensors, the events of a day persist across sensors only, and measurement changes with the sensor. Current CGM foundation models encode this mixture as one vector, so measurement moves with the model into every new cohort. Much as a prism separates light by how each wavelength bends, we separate these sources by how each responds to change.

Existing remedies act either after training or throughout the encoder. Post-hoc erasure fits a removal operator to labelled data (Ravfogel et al., 2020; Belrose et al., 2023), and invariance objectives suppress the nuisance during training, which can also remove useful signal (Ganin & Lempitsky, a

Figure

b

sensor views · day pairs · glucose summaries

Measured

Schematic

Figure 1: GlucoPRISM treats a CGM day like light passing through a prism. (a) Schematic. A day of glucose readings from a CGM sensor worn on the back of the upper arm mixes who the person is, what happened that day and how it was measured. Protocol supervision disperses the representation into a Trait block (64 dimensions) that should not change across days or sensors, a State block (48) that may change across days but not across sensors, and a Sensor block (16) that tracks the device. At deployment the Sensor block is filtered out and the remaining 112 dimensions are used with the encoder frozen. (b) Measured. Mean cross-cohort transfer AUROC over twelve directions (Tables 2 and 3). Bar colours show which blocks each readout keeps; the horizontal axis starts at 60. The average combines a large gain on the four directions into CGMacros with a neutral effect elsewhere (Section 4.1).

2015; Arjovsky et al., 2019). We take a third route: if pretraining places a known nuisance in known coordinates, removing it at deployment becomes a fixed projection rather than an estimation problem. GlucoPRISM does this with protocol supervision on a GlucoFM backbone (Li et al., 2026). Synthetic sensor views change only how a day is measured, different-day pairs change only the day, and each of three bands (Trait, State and Sensor) is trained to respond to these changes as its source would (Table 1). Glucose-summary targets further supervise Trait and State, and a Gaussian bottleneck bounds the Sensor band. At deployment we drop the 16 Sensor coordinates and keep the 112 Trait and State coordinates unchanged, so the full and filtered readouts differ only by the removed band.

On the same frozen encoder, removing the Sensor band raises mean cross-cohort AUROC from 68.75 to 73.57 across twelve transfer directions without fitting anything to the target cohort (Figure 1). The gain has two sources. On the four directions into CGMacros, the target cohort recorded with two sensor types, filtering adds 11 to 19 points, and recalibrating the generator without the scored participants leaves this gain intact. On the other eight directions filtering changes little, but the encoder itself already exceeds GlucoFM (70.8 against 67.3). The retained bands also carry physiology, within the public cohorts and in an external cohort of 9,303 participants. Our contributions are:

• Response contracts for representation bands. A response contract states how a band should change when only the day or only the sensor changes; each band is defined by one, and each contract is tested directly.

• A pretraining recipe with a target-free filter. Sensor views, day pairs, glucose-summary targets and a Sensor bottleneck yield a measurement band that a projection fixed before any target data is seen removes at deployment.

• Evidence for where filtering helps and where it does not. On the same frozen encoder, filtering raises transfer AUROC by 4.82 points, almost all of it on the two-sensor target cohort; elsewhere the advantage comes from the encoder. We test calibration leakage, fitted erasure and a domain-adversarial baseline, and report where the separation fails, including that the device stays decodable after filtering.

References (34)