Robust Sleep Staging over Incomplete Multimodal Physiological Signals via Contrastive Imagination

Qi Shen, Junchang Xin, Bing Tian Dai, Shudi Zhang, Zhiqiong WangNeurIPS 2024

TL;DR

CIMSleepNet is a novel deep learning framework designed for automated sleep staging that remains highly accurate even when sensors (like EEG or EOG) fail or detach. It achieves this by "imagining" missing data through a distribution-learning module and using a multi-level attention mechanism to capture complex sleep patterns across both short and long time scales.

What Problem Does This Paper Address?

Automated Sleep Staging (ASS) categorizes sleep into distinct stages (Wake, REM, N1, N2, N3) using physiological signals. While multimodal approaches—combining EEG (brain waves), EOG (eye movement), and EMG (muscle activity)—are the gold standard, they face two major real-world hurdles:

  1. Incomplete Data: In clinical or home settings, sensors frequently malfunction or detach. Most existing AI models assume a "complete view" of the data and suffer severe performance drops when even a single signal is missing.
  2. Temporal Complexity: Sleep is a continuous sequence, not a static snapshot. Capturing transition patterns within a single 30-second window (intra-epoch) and across hours of sleep (inter-epoch) is computationally challenging for standard architectures.

The authors aim to bridge the gap between theoretical scenarios with perfect data and real-world scenarios plagued by messy, incomplete data.

Methods

To tackle these challenges, the authors propose the Contrastive Imagination Modality Sleep Network (CIMSleepNet), which consists of three innovative components:

CIMSleepNet Architecture
  • Modal Awareness Imagination Module (MAIM): Instead of relying on simple data imputation (like filling in zeros), MAIM utilizes a Variational Autoencoder (VAE) approach to learn the shared representation distribution of all modalities. This allows the model to "imagine" missing sensor data based on the active sensors, preserving the original signals' diversity and structure.
  • Semantic & Modal Calibration Contrastive Learning (SMCCL): To ensure the "imagined" data is realistic, SMCCL employs contrastive learning. It aligns the recovered data with real distributions using three levels of similarity: matching the sleep stage (semantics), matching the sensor type (modality), or both. This prevents the model from generating physiologically nonsensical "hallucinations."
  • Multi-level Cross-branch Temporal Attention (MCTA): Embedded within a Transformer architecture, MCTA combines the sequential modeling strengths of Recurrent Neural Networks (Bi-GRUs) with the global context capabilities of Self-Attention. It processes signals at two distinct levels: intra-epoch (patterns within 30 seconds) and inter-epoch (trends across multiple sleep cycles).

Datasets

The model was rigorously evaluated on five diverse multimodal sleep datasets:

  • Sleep-EDF-20 & Sleep-EDF-78: Standard benchmarks for sleep research.
  • SVUH-UCD: Focused on subjects with sleep apnea.
  • MHR (Motion and Heart Rate): Data from wearable devices (e.g., Apple Watch), testing the model's utility outside a clinical lab.
  • SHHS (Sleep Heart Health Study): A large-scale dataset used to test performance when a modality is completely absent rather than just randomly missing.

Key Insights and Ideas

  • Distribution over Values: The core breakthrough is that learning the distribution of missing data (via MAIM) is far more robust than predicting exact missing values. It allows the model to handle arbitrary missing patterns seamlessly.
  • The Power of Bidirectional Guidance: By using both semantic (sleep stage) and modal (sensor type) information to calibrate the data, the model ensures that a recovered EEG signal genuinely resembles an EEG signal for that specific sleep stage.
  • Hybrid Modeling Wins: Transformers often struggle with the recurrent nature of physiological signals. By injecting a "recurrent bias" from a Bi-GRU into the Transformer's attention weights, MCTA captures the flow of sleep transitions much more effectively than standard Transformers or RNNs alone.

Key Results

CIMSleepNet demonstrated remarkable resilience compared to eight state-of-the-art methods:

Performance Comparison Table
  • Robustness to Missing Data: On the Sleep-EDF-20 dataset, under maximum missing rate conditions, CIMSleepNet maintained an accuracy of 0.853, whereas the next best competitive method (SalientSleepNet) plummeted to 0.634.
  • Wearable Performance: On the MHR dataset (wearable data), it achieved a Macro F1-score of 0.466, significantly outperforming traditional CNN and MLP approaches.
  • Qualitative Superiority: Feature visualizations (t-SNE) showed that CIMSleepNet forms much tighter, more distinct clusters for different sleep stages compared to other models, even when data is incomplete.

Limitations and Future Work

The authors acknowledge a few key areas for future improvement:

  • Computational Overhead: The additional "imagination" and "calibration" modules increase the model's complexity and computational requirements.
  • Label Dependency: The current framework relies on labeled data, which is often scarce in real-world applications. Moving toward unsupervised or semi-supervised learning is a logical next step.
  • Privacy: Because the multimodal data required for training involves sensitive personal health information, strict privacy and security protocols are necessary for real-world deployment.

Summary updated

BibTeX
@inproceedings{shen2024robust,
  author = {Qi Shen and Junchang Xin and Bing Tian Dai and Shudi Zhang and Zhiqiong Wang},
  title = {{Robust Sleep Staging over Incomplete Multimodal Physiological Signals via Contrastive Imagination}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=bc1qt1sZsW},
}
Figure