PaperarXiv:2405.17766

SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals

PreprintFirst posted May 28, 2024

Authors: Rahul Thapa, Bryan He, Magnus Ruud Kjaer, Hyatt Moore, Gauri Ganjoo, Emmanuel Mignot, James Zou

arXiv preprint

First page or project page of “SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals” (opens in a new tab)

Thapa, Rahul et al., "SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals", arXiv:2405.17766, CC BY 4.0

TL;DR

SleepFM is a multimodal sleep foundation model trained on more than 100,000 hours of polysomnography from over 14,000 people, covering brain, heart and breathing signals. A leave-one-out contrastive approach beat standard pairwise contrastive learning. Simple models on its embeddings beat an end-to-end CNN on sleep staging (macro AUROC 0.88 vs 0.72).

  • Data: 100,000+ hours PSG from 14,000+ participants
  • Result: sleep staging macro AUROC 0.88 vs 0.72 (CNN)
  • Result: 48% top-1 cross-modal retrieval from 90,000 candidates

Abstract

Sleep is a complex physiological process evaluated through various modalities recording electrical brain, cardiac, and respiratory activities. We curate a large polysomnography dataset from over 14,000 participants comprising over 100,000 hours of multi-modal sleep recordings. Leveraging this extensive dataset, we developed SleepFM, the first multi-modal foundation model for sleep analysis. We show that a novel leave-one-out approach for contrastive learning significantly improves downstream task performance compared to representations from standard pairwise contrastive learning. A logistic regression model trained on SleepFM's learned embeddings outperforms an end-to-end trained convolutional neural network (CNN) on sleep stage classification (macro AUROC 0.88 vs 0.72 and macro AUPRC 0.72 vs 0.48) and sleep disordered breathing detection (AUROC 0.85 vs 0.69 and AUPRC 0.77 vs 0.61). Notably, the learned embeddings achieve 48% top-1 average accuracy in retrieving the corresponding recording clips of other modalities from 90,000 candidates. This work demonstrates the value of holistic multi-modal sleep modeling to fully capture the richness of sleep recordings. SleepFM is open source and available at https://github.com/rthapa84/sleepfm-codebase.

Verbatim from arXiv (opens in a new tab) · arXiv metadata (abstracts are released under CC0)

Results on ChatPPG leaderboards

All leaderboards

No results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.

Tasks & signals

Tasks

RespirationSleep staging

Keywords

RespiratorySleepICMLNature MedicineContrastiveDisease Prediction

Datasets used

Models

How it works

How SleepFM-2 works: Setup → Method → ResultSetup: Data (100,000+ hours PSG from 14,000+ participants); Signals (EEG, ECG, respiration). Method: SleepFM-2 (Contrastive learning). Result: Result (sleep staging macro AUROC 0.88 vs 0.72 (CNN)); Result (48% top-1 cross-modal retrieval from 90,000 candidates).SetupData: 100,000+ hours PSG from 14,000+ participantsData100,000+ hours PSG from 14,000+…Signals: EEG, ECG, respirationSignalsEEG, ECG, respirationMethodSleepFM-2Contrastive learningResultResult: sleep staging macro AUROC 0.88 vs 0.72 (CNN)Resultsleep staging macro AUROC 0.88 vs 0.72…Result: 48% top-1 cross-modal retrieval from 90,000 candidatesResult48% top-1 cross-modal retrieval from…

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

Thapa, R., He, B., Kjaer, M. R., Moore, H., Ganjoo, G., Mignot, E., & Zou, J. (2024). SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals. arXiv preprint. https://arxiv.org/abs/2405.17766
Thapa, Rahul, Bryan He, Magnus Ruud Kjaer, Hyatt Moore, Gauri Ganjoo, Emmanuel Mignot, and James Zou. 2024. "SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals." arXiv preprint. https://arxiv.org/abs/2405.17766.
Thapa, R., He, B., Kjaer, M. R., Moore, H., Ganjoo, G., Mignot, E. and Zou, J. (2024) 'SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals', arXiv preprint. Available at: https://arxiv.org/abs/2405.17766
Thapa, Rahul, et al. "SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals." arXiv preprint, 2024. https://arxiv.org/abs/2405.17766.
R. Thapa et al., "SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals," arXiv preprint, 2024, [Online]. Available: https://arxiv.org/abs/2405.17766.
@misc{thapa2024sleepfm,
  title         = {{SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals}},
  author        = {Thapa, Rahul and He, Bryan and Kjaer, Magnus Ruud and Moore, Hyatt and Ganjoo, Gauri and Mignot, Emmanuel and Zou, James},
  year          = {2024},
  howpublished  = {arXiv preprint},
  eprint        = {2405.17766},
  archivePrefix = {arXiv}
}

Source metadata: 2024

Record updated Oct 17, 2026

Record updated