NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SleepVST: Sleep Staging from Near-Infrared Video Signals using Pre-Trained Transformers

Jonathan F. Carter, João Jorge, Oliver Gibson, Lionel TarassenkoCVPR 2024

Abstract

Sleep staging is a critical component of sleep medicine, traditionally requiring video polysomnography (vPSG) with multiple contact sensors. This paper introduces SleepVST (Sleep Video-Signal Transformer), a novel framework designed to perform accurate sleep staging using only non-contact near-infrared (NIR) video. SleepVST leverages a two-stage learning strategy: pre-training on large-scale clinical datasets of contact-sensor waveforms and transferring that knowledge to noisier video-derived signals. The model achieves a Cohen’s kappa of 0.71 on video data, significantly narrowing the gap between non-contact monitoring and clinical gold standards.

Introduction

The clinical "gold standard" for sleep monitoring, video polysomnography (vPSG), involves tethering patients to an array of sensors including EEG, EOG, EMG, and ECG. While highly accurate, vPSG is expensive, intrusive, and unsuitable for long-term monitoring or use in elderly care settings. Non-contact alternatives, such as camera-based systems, have historically struggled to match vPSG's performance. Many previous attempts relied on coarse metrics like average heart or breathing rates, which discard the high-frequency temporal information—such as heart rate variability (HRV)—essential for distinguishing between complex sleep stages.

Methodology: The SleepVST Framework

SleepVST addresses these challenges through a robust two-stage learning approach that bridges the gap between clean contact-sensor data and remote video signals.

Overview of the SleepVST framework: (a) Pre-training on contact sensors, (b) Transfer to NIR video, and (c) Comparison with vPSG gold standard.

1. Pre-training on Contact Data

The model is first trained on high-quality waveforms from clinical datasets like the Sleep Heart Health Study (SHHS) and the Multi-Ethnic Study of Atherosclerosis (MESA), totaling over 6,000 nights. A shallow 1D ResNet-style "patch encoder" compresses 30-second signal windows into feature vectors. These vectors are then processed by a Transformer encoder, which captures the long-range temporal dependencies characteristic of 90–120 minute sleep cycles.

2. Transfer to Video

The pre-trained Transformer acts as a frozen feature extractor for waveforms derived from NIR video. Cardiac signals are extracted via remote photoplethysmography (rPPG), and respiratory signals are obtained through motion tracking. To handle the unique noise profiles of video, the authors supplement these physiological features with 90 distinct motion features derived from optical flow across head, body, and bed regions. A Random Forest classifier integrates these multimodal inputs to predict four sleep stages: Wake, Light (N1/N2), Deep (N3), and REM.

Key Insights: Waveforms vs. Rates

A central contribution of this work is the demonstration that raw physiological waveforms are significantly more informative than averaged rates. By processing the underlying signal, the Transformer learns subtle patterns in HRV and respiratory rhythms that are typically lost in simpler models.

Comparison of cardiac and respiratory waveforms obtained from contact sensors (ECG/Thoracic belt) versus NIR video.

As shown in the figure above, video-derived waveforms maintain a high degree of morphological similarity to contact-sensor signals. This cross-modal consistency allows features learned from "clean" clinical data to generalize effectively to "noisy" video signals, enabling the model to benefit from massive datasets that lack corresponding video recordings.

Results and Performance

SleepVST establishes a new state-of-the-art for both contact-sensor and video-based sleep staging:

  • Contact-Sensor Benchmarks: On the SHHS and MESA datasets, the model achieved Cohen’s kappa ($\kappa$) scores of 0.75 and 0.77, respectively.
  • Video-Based Performance: When evaluated on the Oxford Sleep Volunteers (OSV) dataset (50 nights of NIR video), SleepVST reached an accuracy of 78.8% and a $\kappa$ of 0.71. This represents a significant improvement over the previous state-of-the-art video method ($\kappa = 0.64$).

Ablation studies confirmed that while physiology is vital for distinguishing REM from Deep sleep, motion features are indispensable for identifying "Wake" states during fragmented sleep.

Conclusion and Future Directions

SleepVST demonstrates that Transformer-based architectures can successfully bridge the gap between contact and non-contact sleep monitoring. However, limitations remain. Performance tends to decline with age as cardio-respiratory signals become less distinct, suggesting a need for more diverse training data across demographics and skin tones. Future work will explore fine-tuning the entire Transformer on video data and expanding the system's capabilities to detect clinical disorders such as sleep apnea or REM behavior disorder.

Summary updated

BibTeX
@inproceedings{carter2024sleepvst,
  author = {Jonathan F. Carter and João Jorge and Oliver Gibson and Lionel Tarassenko},
  title = {{SleepVST: Sleep Staging from Near-Infrared Video Signals using Pre-Trained Transformers}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=emQXsDn74n},
}
Figure