Automatic Sleep Stage Classification with Cross-Modal Self-Supervised Features From Deep Brain Signals

Chen Gong, Yue Chen, Yanan Sui, Luming Li

Introduction

Sleep disturbances represent a significant non-motor burden for patients with Parkinson’s Disease (PD), often severely impacting their quality of life. While Polysomnography (PSG) remains the clinical gold standard for sleep assessment, its reliance on numerous external sensors can be intrusive and may paradoxically degrade the sleep quality it intends to measure. For PD patients treated with Deep Brain Stimulation (DBS), an alternative exists: the implanted electrodes can record Local Field Potentials (LFPs) directly from deep brain structures. These signals provide a continuous, longitudinal window into the brain's physiological state. However, the primary obstacle to utilizing LFPs for automated sleep staging has been the scarcity of labeled clinical data, which is often insufficient to train high-capacity deep learning models from scratch.

Methodology: Cross-Modal Transfer Learning

To overcome the "small data" limitation, this research introduces a novel end-to-end framework based on cross-modal transfer learning. The core innovation lies in treating LFP signals as if they were audio data, allowing the researchers to leverage WavLM, a state-of-the-art model pre-trained on 94,000 hours of human speech.

Signal Preprocessing

Because brain signals operate at much lower frequencies than human speech, the researchers applied a specific preprocessing pipeline to align the two domains. LFP signals from eight channels were segmented into 5-second windows, filtered with a 0.5Hz high-pass filter, and upsampled to 16,000Hz. This process effectively "speeds up" the brain activity by a factor of 32, making the temporal patterns of the LFPs recognizable to a model designed for acoustic analysis.

Model Architecture

The framework utilizes a frozen WavLM Large model as a feature extractor. Features are extracted from all 24 layers of the transformer architecture. To handle the multi-channel nature of DBS recordings, a Channel Self-Attention mechanism was implemented. This component automatically identifies and prioritizes the most informative brain channels for sleep stage identification. Finally, a 1-D Convolutional Neural Network (CNN) processes these temporal features to classify the sleep stage into one of four categories: Wake, N1, N2/N3 (Non-REM), or REM.

Experimental Results

The study involved 12 PD patients equipped with bilateral DBS implants (G106R, PINS, China). Overnight LFP recordings were synchronized with professional PSG to establish ground truth labels.

The cross-modal approach demonstrated superior performance compared to traditional machine learning benchmarks (such as Support Vector Machines and Random Forests using frequency-domain features):

  • Overall Accuracy: The proposed model achieved 83.2% accuracy, significantly outperforming the 65.6% achieved by traditional methods.
  • Chronological Prediction: In a task simulating real-time deployment, the model maintained a robust 68.2% accuracy.
  • Stage-Specific Sensitivity: The model was particularly effective at identifying Wake (89.1%) and REM (88.8%) stages.

Discussion and Insights

A pivotal finding of this study is the relevance of different transformer layers. While speech-related tasks typically benefit from the deeper layers of WavLM, this study found that shallow layers were more critical for sleep stage classification. This suggests that the fundamental "acoustic-like" properties of the LFP signal—rather than high-level semantic abstractions—are the primary indicators of sleep states.

Furthermore, the channel self-attention mechanism revealed a functional correlation: the brain channels deemed most important by the AI often coincided with the specific contacts used for the patients' therapeutic motor stimulation. This reinforces the link between the neural circuits governing motor symptoms and those regulating sleep-wake cycles.

Conclusion and Future Directions

By repurposing large-scale speech models for clinical neuroscience, this research provides a viable path for high-accuracy sleep monitoring without the need for external sensors. While the current study is limited by a small cohort and the inherent difficulty of identifying the transitional N1 sleep stage, it lays the groundwork for "closed-loop" DBS systems. Such systems could eventually monitor sleep stages in real-time and autonomously adjust stimulation parameters to optimize sleep quality and alleviate nocturnal Parkinson's symptoms.

Summary updated

BibTeX
@inproceedings{gong2023automatic,
  author = {Chen Gong and Yue Chen and Yanan Sui and Luming Li},
  title = {{Automatic Sleep Stage Classification with Cross-Modal Self-Supervised Features From Deep Brain Signals}},
  booktitle = {NER},
  year = {2023},
  url = {https://openreview.net/forum?id=stJWplL3Zn},
}
Figure