Stanford Sleep Bench: Evaluating Polysomnography Pre-training Methods for Sleep Foundation Models
Magnus Ruud Kjaer, Rahul Thapa, Gauri Ganjoo, Hyatt Moore, Poul Joergen Jennum, Brandon M. Westover, James Zou, Emmanuel Mignot, Bryan He, Andreas Brink-Kjaer
TL;DR
Stanford Sleep Bench tackles the lack of a shared, comprehensive PSG benchmark and the absence of systematic SSRL evaluation for sleep foundation models. It introduces a large-scale, multi-modal PSG dataset with 16 channels and 163,650 hours of recordings, plus 13 disease/mortality endpoints and canonical tasks like sleep staging, apnea diagnosis, and age estimation. The study evaluates multiple SSRL pre-training schemes—contrastive learning, denoising, and reconstruction—across these tasks, finding contrastive learning to excel on complex clinical predictions while reconstruction-based methods perform well on canonical tasks. The work provides open data, pretrained weights, and evaluation code to accelerate reproducibility and progress in sleep AI.
Abstract
Polysomnography (PSG), the gold standard test for sleep analysis, generates vast amounts of multimodal clinical data, presenting an opportunity to leverage self-supervised representation learning (SSRL) for pre-training foundation models to enhance sleep analysis. However, progress in sleep foundation models is hindered by two key limitations: (1) the lack of a shared dataset and benchmark with diverse tasks for training and evaluation, and (2) the absence of a systematic evaluation of SSRL approaches across sleep-related tasks. To address these gaps, we introduce Stanford Sleep Bench, a large-scale PSG dataset comprising 17,467 recordings totaling over 163,000 hours from a major sleep clinic, including 13 clinical disease prediction tasks alongside canonical sleep-related tasks such as sleep staging, apnea diagnosis, and age estimation. We systematically evaluate SSRL pre-training methods on Stanford Sleep Bench, assessing downstream performance across four tasks: sleep staging, apnea diagnosis, age estimation, and disease and mortality prediction. Our results show that multiple pretraining methods achieve comparable performance for sleep staging, apnea diagnosis, and age estimation. However, for mortality and disease prediction, contrastive learning significantly outperforms other approaches while also converging faster during pretraining. To facilitate reproducibility and advance sleep research, we will release Stanford Sleep Bench along with pretrained model weights, training pipelines, and evaluation code.
