Abstract
Automatic sleep stage classification is essential for diagnosing sleep disorders but faces significant challenges due to complex brain connectivity and high inter-subject variability. This paper introduces the Multi-View Spatial-Temporal Graph Convolutional Network (MSTGCN), a framework that integrates multi-view graph convolutions with adversarial domain generalization. MSTGCN captures non-Euclidean relationships between brain regions and learns subject-invariant features, achieving state-of-the-art performance on public datasets without requiring expensive subject-specific fine-tuning.
Introduction
Sleep staging—categorizing sleep into stages such as Wake, REM, and N1-N3—is traditionally a manual, time-consuming process performed by experts using Polysomnography (PSG) data. While deep learning has automated much of this, three primary hurdles persist:
- Spatial Complexity: Brain signals possess a non-Euclidean topology that simple grid-based models often ignore.
- Subject Variability: Models often fail to generalize to new individuals without costly fine-tuning.
- Interpretability: Clinical adoption requires understanding the rationale behind model classifications.
Methodology: The MSTGCN Framework
The proposed MSTGCN architecture addresses these challenges through four integrated pillars:
- Multi-View Brain Graphs: The model constructs two distinct graphs: one based on physical electrode distance and another on data-driven functional connectivity learned automatically from signal correlations.
- Spatial-Temporal Convolution: Graph Convolutional Networks (GCNs) extract spatial features from the brain topology, while 2D convolutions capture temporal transitions between sleep stages.
- Attention Mechanisms: Spatial and temporal attention modules allow the network to prioritize the most informative brain regions and time windows for each classification.
- Adversarial Domain Generalization: To handle individual differences, a Domain Classifier and Gradient Reversal Layer (GRL) force the model to learn features that are useful for sleep staging but invariant to the specific subject.
Experimental Setup
The model was evaluated on two prominent public datasets:
- ISRUC-S3: A smaller dataset containing 10 healthy subjects with 6 EEG channels.
- MASS-SS3: A larger, more diverse dataset with 62 healthy subjects and 20 EEG channels.
Results and Discussion
MSTGCN outperformed several state-of-the-art baselines, including standard CNNs, RNNs, and previous graph-based models like GraphSleepNet.
Key Performance Metrics
- Accuracy: Achieved 82.1% on ISRUC-S3 and 89.5% on MASS-SS3.
- Macro F1-Score: Reached 0.808 on ISRUC-S3 and 0.854 on MASS-SS3.
- N1 Stage Performance: The model showed a significant 4% F1-score improvement for the difficult N1 stage on the MASS-SS3 dataset compared to previous models.
Key Insights
- Complementary Views: Physical proximity and functional connectivity are complementary; capturing both provides a richer picture of sleep dynamics.
- Interpretability: Attention weights consistently highlighted the C3 and C4 electrodes as most informative, aligning with clinical standards for sleep staging.
- Connectivity Dynamics: Learned graphs confirmed that brain connectivity simplifies during deep sleep (N3) compared to light sleep (N1) or wakefulness.
- Zero-Shot Generalization: The domain generalization approach allows the model to work on entirely new subjects "out of the box" without recalibration.
Conclusion
MSTGCN represents a significant step toward robust and generalizable automatic sleep staging. While the N1 stage remains a challenge due to its brief, transitional nature, the model's ability to perform accurately on unknown domains makes it highly suitable for clinical deployment. Future work will explore testing on patients with sleep disorders and incorporating multi-frequency band graph structures.
Summary updated