TL;DR
This paper introduces SleepNetZero, a novel zero-shot learning framework for reliable sleep staging using ballistocardiograms (BCGs). By leveraging large-scale polysomnography (PSG) datasets and innovative data augmentation, SleepNetZero overcomes the limitations of scarce BCG data and sensor differences, enabling accurate in-home sleep monitoring without burdensome sensors.
What Problem Does This Paper Address?
Accurate sleep staging is crucial for diagnosing and managing sleep disorders. Traditional methods rely on polysomnography (PSG), which involves cumbersome sensors like EEG, limiting its use for long-term, at-home monitoring due to discomfort, cost, and the "first-night effect." Ballistocardiography (BCG), a non-invasive signal from piezoelectric sensors, offers a promising alternative for home monitoring. However, the scarcity of annotated BCG data and the inherent differences between BCG and PSG signals (the "sensor gap") pose significant challenges for developing robust and generalizable BCG-based sleep staging models. Existing methods often rely on small, restricted datasets, leading to overfitting and poor performance on diverse populations or when transferring to different sensor types.
Methods
SleepNetZero tackles these challenges with a multi-stage approach:
- BCG Component Extraction: The core idea is to extract meaningful physiological components (heartbeat, breathing, and body movement) from BCG signals and align them with corresponding components in PSG data. This allows leveraging the vast amount of publicly available PSG data for training.
- Heartbeat: Inter-beat intervals (IBIs) are extracted and interpolated.
- Breath: A four-stage pipeline involving filtering, resampling, integration, and normalization is used.
- Body Movement: Peak-to-peak amplitude within 2-second windows is used, with a dynamic baseline to detect significant deviations indicative of movement.
- Generalization Enhancement: To bridge the "sensor gap" and improve robustness, two novel data augmentation techniques are introduced:
- Random Amplification: Adjusts the amplitude of heartbeat and breath signals.
- Speed Perturbation: Uniformly stretches or compresses the signal in the time domain.
- Neural Network Framework: A deep learning model is employed, consisting of:
- Three ResNet-based Feature Extractors: Each specialized for heartbeat, body movement, and breath components.
- Transformer Encoder: Captures temporal dependencies across the extracted features.
- MLP Classifier: Outputs the sleep stage probabilities.
This "zero-shot" approach means the model is trained on PSG data and then directly applied to BCG data without requiring BCG-specific training data for the core model.
Datasets
- NSRR Dataset: A large collection of publicly available PSG datasets (SHHS, MrOS, MESA, CCSHS, CFS, HomePAP) used for training and evaluating the model. This combined dataset contains 12,393 records from 9,637 subjects.
- BCG265 Dataset: A newly collected dataset of 265 parallel PSG/BCG records from 265 distinct individuals, collected in a hospital environment. This dataset is used for evaluating the model's performance on real-world BCG data and assessing the impact of the sensor gap.
Key Insights and Ideas
- Leveraging PSG for BCG: The most significant insight is that by extracting and aligning core physiological components, large-scale PSG datasets can effectively substitute for scarce BCG data, enabling robust model training.
- Body Movement as a Key Indicator: The ablation study highlights the critical role of body movement detection for generalization, particularly when transferring from PSG to BCG. This suggests that accurately capturing subtle movements is essential for robust sleep staging.
- Data Augmentation for Sensor Gap: The novel amplification and speed perturbation techniques are crucial for making the model resilient to the signal quality differences between PSG and BCG, effectively bridging the sensor gap.
- Zero-Shot is Viable: The paper demonstrates that a zero-shot approach, where the model is trained on one sensor modality (PSG) and tested on another (BCG), can yield reliable results, especially when combined with effective component extraction and augmentation.
Key Results
- Overall Performance: SleepNetZero achieved an accuracy of 0.803 ± 0.002 on the NSRR test split and 0.697 ± 0.007 on the BCG265 dataset. Cohen's Kappa was 0.718 ± 0.003 and 0.589 ± 0.011, respectively.
- Sensor Gap Impact: A noticeable performance drop was observed on the BCG265 dataset compared to the NSRR test split, confirming the challenge posed by the sensor gap.
- Generalization: The model demonstrated robust generalization across various demographic factors (age, BMI, sex, race) and health conditions (AHI).
- Comparison to Related Works: SleepNetZero outperforms previous BCG-based methods, which are limited by small datasets. It also shows comparable performance to other signal-based methods, especially considering its zero-burden and zero-shot nature.
- Ablation Study: Removing any of the three extracted components (heartbeat, breath, body movement) or the data augmentation techniques led to a significant performance drop, underscoring their importance.
Limitations and Future Work
- Limitations:
- Rule-Based Component Extraction: The current component extraction pipelines are rule-based and not perfectly accurate, which can limit model performance.
- Dataset Bias: The leveraged PSG datasets may have biases (e.g., oversampling snorers, focusing on older populations), potentially leading to models with preferences for pathological or elder sleep patterns.
- N1 Stage Difficulty: The model struggles with accurately identifying the N1 sleep stage due to low inter-annotator consistency and extreme class imbalance.
- Future Work:
- Sparsely Annotated BCG Datasets: Explore self-supervised learning methods on large-scale, non-annotated BCG datasets to learn representations and fine-tune for downstream tasks with less annotation.
- Sleep Disorder Diagnosis: Extend the system to automatically discover potential sleep disorders and provide early warnings, moving beyond just sleep staging.
- Addressing Dataset Bias: Investigate methods to mitigate biases in the training data and improve performance on underrepresented populations.
Summary updated