Learning transferable human physiology from two million hours of sleep with SleepFM-2

Rahul Thapa, Christopher Sun, William Theodor Lehn-Schioler, Sophia Claire Kivelson, Umaer Hanif, Hyatt Moore Iv, Harrison G. Zhang, Hafsa Ahmed, Marcus Dige, Niels R. Lorenzen, Elisabeth Roxane M. Heremans, Adrien Specht, Ulysse Gimenez, Robin Guillard, Andreas Brink-Kjaer, James Zou, Emmanuel MignotarXiv 2026

TL;DR

SleepFM-2 is a next-generation foundation model trained on over two million hours of multimodal sleep data. It provides a universal representation of human physiology that predicts hundreds of diseases, matches expert human performance in sleep scoring, and—most impressively—transfers its learned knowledge to consumer wearables like smartwatches and headbands.

What Problem Does This Paper Address?

Polysomnography (PSG) is the "gold standard" for sleep medicine, recording a symphony of signals: brain waves (EEG), heart rhythms (ECG), muscle activity (EMG), and breathing patterns. However, in clinical practice, this rich data is usually distilled into a few simple numbers, like the number of times a patient stops breathing per hour.

The authors identify three major gaps in current sleep AI:

  1. Information Loss: Traditional metrics ignore the vast majority of the physiological "fine print" that could signal underlying health issues.
  2. The Wearable Gap: Models trained on high-fidelity clinical equipment often fail when applied to low-fidelity home sensors like wristbands.
  3. Subjective Experience: Objective sleep recordings often disagree with how a patient actually feels (e.g., "I slept 8 hours but feel exhausted"). Current models struggle to bridge this gap.

Methods

SleepFM-2 is a multimodal transformer-based foundation model. Its architecture is designed to handle the "channel-by-time" grid of sleep data.

SleepFM-2 uses a two-stage encoder and a dual-objective pretraining strategy to learn both global health signals and local sleep events.

Key technical innovations include:

  • Two-Stage Encoder: A first stage processes channels and time jointly (using LLaMA-style transformer blocks), while a second stage pools information across channels to focus on temporal patterns.
  • Dual Pretraining Objectives: The model is trained using both Leave-One-Out Contrastive Learning (LOO-CL)—which forces the model to find commonalities across different modalities (e.g., what does the heart say that the brain also knows?)—and Masked Autoencoding (MAE), which forces the model to reconstruct missing signal patches.
  • Engineered Bridges: To transfer to sensors like accelerometers (which PSG doesn't have), the authors derive "surrogate" signals (like heart rate from movement) and route them into the model’s existing "vocabulary."

Datasets

The scale of the data is unprecedented for this field. The model was developed on 282,511 nights of PSG from 26 different cohorts.

  • Pretraining: 235,865 recordings (over 2 million hours).
  • Evaluation: Held-out cohorts including the Stanford Sleep Cohort and the Human Sleep Project.
  • Transfer Learning: Evaluated on wakeful EEG, wearable headbands (BOAS), in-ear EEG, and the massive UK Biobank accelerometry substudy (~100,000 participants).

Key Insights and Ideas

  • The "General-Risk Axis": The model discovered a primary dimension of physiological risk that explains nearly 60% of its disease predictions. This axis is linked to "sigma-band spatial coupling" (how different brain regions coordinate) and "hypnodensity entropy" (how ambiguous the sleep stages appear). This suggests the model is picking up on a latent signal of "physiological aging" or frailty.
  • Local vs. Global Trade-off: By combining MAE (which focuses on local signal details) and Contrastive Learning (which focuses on global context), the model excels at both fine-grained tasks like detecting a 3-second arousal and high-level tasks like predicting a heart attack years in advance.
  • Zero-Shot Wearable Transfer: The model can "see" through sensors it was never trained on. By treating an accelerometer's vibration as a proxy for heart and lung activity, SleepFM-2 performed as well as models trained specifically on accelerometry for disease prediction.

Key Results

SleepFM-2 demonstrates a significant leap over its predecessor and traditional methods:

SleepFM-2 outperforms engineered features and previous models in both disease prediction and sleep staging.
  • Disease Prediction: It predicted 215 incident phenotypes (including heart failure, Parkinson’s, and chronic kidney disease) with a C-index $\ge$ 0.75. It significantly outperformed a baseline of 480 hand-engineered physiological features.
  • Sleep Scoring: It performs within the range of expert human scorers for detecting cortical arousals, limb movements, and respiratory events.
  • Subjective Sleep: It was significantly better than standard clinical reports at predicting how patients rated their sleep quality and refreshingness, capturing nuances in the raw signal that "macro" summaries miss.

Limitations and Future Work

While powerful, the authors note several caveats:

  • Population Bias: Most training data comes from patients referred to sleep clinics, who may not represent the general healthy population.
  • Observational Nature: The model predicts risk, but it doesn't prove that sleep issues cause these diseases.
  • Clinical Utility: High accuracy in a retrospective study doesn't always translate to better patient outcomes. Future work will need prospective clinical trials to see if SleepFM-2's "general-risk" signal can actually help doctors intervene earlier.

Summary updated

BibTeX
@misc{thapa2026learning,
  author = {Rahul Thapa and Christopher Sun and William Theodor Lehn-Schioler and Sophia Claire Kivelson and Umaer Hanif and Hyatt Moore IV and Harrison G. Zhang and Hafsa Ahmed and Marcus Dige and Niels R. Lorenzen and Elisabeth Roxane M. Heremans and Adrien Specht and Ulysse Gimenez and Robin Guillard and Andreas Brink-Kjaer and James Zou and Emmanuel Mignot},
  title = {{Learning transferable human physiology from two million hours of sleep with SleepFM-2}},
  year = {2026},
  eprint = {2609.06849},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.06849},
}
Figure