---
title: "GlucoFM: Foundation model for continuous glucose monitoring"
description: "GlucoFM is a lightweight self-supervised foundation model for continuous glucose monitoring that splits each 24-hour, five-minute-grid CGM trace into a slow baseline \"state\" stream and a short-term \"event\" residual stream, keeping time-of-day and missingness masks."
url: "https://swe.quest/articles/glucofm-foundation-model-for-continuous-glucose-monitoring-90d99c2f0c1bb779"
canonical: "https://research.google/blog/glucofm-foundation-model-for-continuous-glucose-monitoring/"
source: "Google Research"
published: "2026-08-26"
difficulty: "hard"
kind: "Research"
reading_minutes: 9
tags: ["machine-learning","model-training","evals"]
---

# GlucoFM: Foundation model for continuous glucose monitoring

A post on [Google Research](https://swe.quest/sources/google-research.md), published 2026-08-26, 9 min read, Research. Original: [https://research.google/blog/glucofm-foundation-model-for-continuous-glucose-monitoring/](https://research.google/blog/glucofm-foundation-model-for-continuous-glucose-monitoring/)

## Summary

GlucoFM is a lightweight self-supervised foundation model for continuous glucose monitoring that splits each 24-hour, five-minute-grid CGM trace into a slow baseline "state" stream and a short-term "event" residual stream, keeping time-of-day and missingness masks. It is pre-trained on 109,066 hours of unlabeled CGM using JEPA-style latent prediction (masked contextual prediction plus hour-to-hour temporal dynamics) and CGM-specific augmentations. Across 14 cohort–task linear-probe evaluations it raised average PR-AUC from 54.7 to 58.8 over the strongest retrained baseline. It also led 11 of 12 cross-cohort transfers, won every few-shot budget, and cut postprandial response MAE to 21.88 mg/dL versus 22.90. Ablations show the dual-stream design beats raw, state-only and event-only encoders, and averaging up to seven days of embeddings usually improves subject-level prediction.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- self-supervised learning
- transformer encoders
- linear probing
- PR-AUC evaluation ([easy posts on Evaluation](https://swe.quest/tags/evals.md?difficulty=easy))

## Keywords

GlucoFM, JEPA, GluFormer, CGMformer, CGM-JEPA, Dexcom, Libre, CGMacros

## Related posts

- [SensorFM: Towards a general intelligence and interface for wearable health data](https://swe.quest/articles/sensorfm-towards-a-general-intelligence-and-interface-for-wearable-health-data-8afb8c0f2252bfb4.md): Google Research · 2026-07-09 · Hard · 7 min read · Model training, Machine learning, AI agents, Evaluation
  SensorFM is a wearable-health foundation model pre-trained with self-supervised masked reconstruction on over a trillion minutes of minute-level Fitbit and Pixel Watch data from five million people.
- [TimesFM-3: A zero-shot foundation model for multivariate forecasting](https://swe.quest/articles/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting-c2421e383bcd85af.md): Google Research · 2026-08-31 · Hard · 6 min read · Machine learning, Model training, Inference & serving
  TimesFM-3 is a 330M-parameter decoder-only transformer pre-trained on over 1 trillion real and synthetic time points that does zero-shot multivariate forecasting, supporting multiple targets, past-only covariates and known-future covariates.
- [Introducing TabFM: A zero-shot foundation model for tabular data](https://swe.quest/articles/introducing-tabfm-a-zero-shot-foundation-model-for-tabular-data-3b60f0bd6faee92a.md): Google Research · 2026-06-30 · Easy · 5 min read · Machine learning, Model training, Analytics & OLAP
  TabFM is a foundation model that treats tabular classification and regression as in-context learning, so it predicts on an unseen table in a single forward pass with no training, hyperparameter tuning or feature engineering.
- [Opinion Classification with Kili and HuggingFace AutoTrain](https://swe.quest/articles/opinion-classification-with-kili-and-huggingface-autotrain-97ebbffd8c146463.md): Hugging Face · 2022-04-28 · Medium · 18 min read · Machine learning, Model training, Python
  Kili's annotation platform and Hugging Face AutoTrain combine into an active-learning pipeline that classifies about 40,000 Google Play reviews of the Medium app into Subscription, Content, Interface and User Experience, then applies sentiment analysis to the classified reviews.
- [GLM-5.2: Built for Long-Horizon Tasks](https://swe.quest/articles/glm-5-2-built-for-long-horizon-tasks-22484eb2dd0aab06.md): Hugging Face · 2026-06-17 · Hard · 13 min read · LLMs, Inference & serving, Model training, AI for coding, Evaluation
  GLM-5.2 is Z.ai's MIT-licensed flagship model for long-horizon coding-agent work, with a 1M-token context and selectable thinking effort levels.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
