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

Multi-Layer Graph Attention Network for Sleep Stage Classification Based on EEG

Qi Wang, Yecai Guo, Yuhui Shen, Shuang Tong, Hongcan Guo2022

TL;DR

This paper introduces MGANet, a novel multi-layer graph attention network designed to improve sleep stage classification from EEG signals. By leveraging graph attention to model the complex spatial relationships between EEG channels and incorporating temporal attention with GRUs, MGANet achieves state-of-the-art performance, particularly in distinguishing difficult transitional sleep stages.

What Problem Does This Paper Address?

Accurately classifying sleep stages from EEG signals is crucial for diagnosing sleep disorders and understanding cognitive health. Traditional methods often struggle with the complex, dynamic nature of sleep, especially during transitional periods between stages. Existing deep learning approaches, while powerful, face challenges in effectively capturing the intricate interactions between different brain regions (spatial information) and the temporal dependencies within EEG signals. Specifically, how to best utilize information from adjacent EEG channels, which have varying interaction effects, and how to extract representative features for easily confused sleep stages remain significant hurdles.

Methods

The core of this work is the Multi-Layer Graph Attention Network (MGANet). Here's a breakdown of its key components:

  • Graph Attention Network (GAT) for Spatial Information: MGANet models the brain as a graph where EEG channels are nodes and their connections represent functional and physical proximity. It uses a multi-head graph attention mechanism to dynamically learn the importance of neighboring channels to a central channel. This allows the model to adaptively capture spatial location information and functional connections, overcoming limitations of traditional GCNs that assign static weights.
  • Gated Recurrent Unit (GRU) for Temporal Information: To capture the time-dependent nature of EEG signals and spectral information, a GRU is employed. This component processes the temporal sequence of features extracted by the GAT.
  • Node-Level and Stage-Level Attention:
    • Node-level attention within the GAT helps differentiate the interaction between channels in both the time-frequency and spatial domains.
  • Stage-level attention is specifically designed to address the challenge of classifying easily confused transitional sleep stages, improving upon the limitations of standard graph convolutional networks.
  • Transitional Stage Estimator (TSE): This module explicitly focuses on classifying transitional epochs by aggregating spatial and temporal features and using attention to guide the estimation of sleep stage probabilities. This is crucial for improving accuracy in challenging transition periods.
  • Multi-Layer Architecture: The network employs multiple layers of graph attention convolution to progressively capture richer spatial and temporal features, enhancing the model's representational power while managing parameter complexity.

Datasets

The proposed MGANet model was evaluated on two publicly available datasets:

  • ISRUC-S3: A dataset containing EEG, EOG, EMG, and ECG signals, with sleep stages scored by experts.
  • SHHS (Sleep Heart Health Study): Specifically, the second part of the SHHS dataset was used, focusing on EEG and EOG channels from subjects with low apnea-hypopnea index.

Key Insights and Ideas

  • Graph Attention for Spatial Nuance: The paper highlights that simply considering adjacency in EEG signals isn't enough; the importance of these adjacencies varies. Graph attention effectively learns these varying influences, leading to better spatial feature extraction.
  • Bridging Spatial and Temporal Gaps: By combining GATs for spatial relationships and GRUs for temporal sequences, MGANet offers a more holistic approach to EEG signal processing, capturing both "where" and "when" information.
  • Targeting Transitional Stages: The explicit design of a Transitional Stage Estimator (TSE) with stage-level attention is a key innovation. This directly addresses a known weakness in sleep staging models, where distinguishing between similar-looking stages is difficult.
  • Efficiency through Multi-Layer GATs: Using stacked graph attention layers not only improves feature extraction but also helps manage model parameters and computational efficiency.

Key Results

  • State-of-the-Art Performance: MGANet achieved superior performance compared to several baseline models on both the ISRUC and SHHS datasets.
  • On ISRUC, it reached an accuracy of 0.825, MF1 of 0.814, and Kappa of 0.775.
  • On SHHS, it achieved an accuracy of 0.873, MF1 of 0.801, and Kappa of 0.827.
  • Improved Transitional Stage Classification: The TSE module showed significant improvements, particularly in distinguishing the N1 stage, which is often confused with Wake.
  • Efficient Training: The model demonstrated faster convergence and lower training loss compared to other graph-based methods like STGCN and MSTGCN.
  • Parameter Efficiency: MGANet has a relatively low number of parameters (1.5 x 10^5) compared to some other advanced models, while still achieving high performance.

Limitations and Future Work

  • Data Dependency: The authors acknowledge that most EEG research, including their own, is heavily reliant on labeled datasets. This makes it challenging to generalize the model to unlabeled data or for direct clinical diagnosis without extensive labeling efforts.
  • Future Directions: To address the data dependency, the authors propose exploring semi-supervised and unsupervised learning approaches. This would allow the model to leverage easily obtainable unlabeled data to improve its generalization ability and potentially be applied more broadly in clinical settings.

Summary updated

BibTeX
@misc{wang2022multi,
  author = {Qi Wang and Yecai Guo and Yuhui Shen and Shuang Tong and Hongcan Guo},
  title = {{Multi-Layer Graph Attention Network for Sleep Stage Classification Based on EEG}},
  year = {2022},
  doi = {10.3390/s22239272},
}
Figure