Graph Neural Networks on SPD Manifolds for Motor Imagery Classification: A Perspective from the Time-Frequency Analysis

Ce Ju, Cuntai Guan

TL;DR

This paper introduces Graph-CSPNet, a novel deep learning architecture that leverages graph neural networks on SPD manifolds to improve motor imagery classification from EEG signals. By analyzing time-frequency representations of EEG data as a graph, Graph-CSPNet achieves near-optimal classification accuracies across multiple benchmark datasets, offering a more flexible and effective approach to decoding brain intentions.

What Problem Does This Paper Address?

Brain-computer interfaces (BCIs) that decode motor imagery (MI) from electroencephalogram (EEG) signals are crucial for assistive technologies. While significant progress has been made, accurately classifying MI from noisy EEG data remains challenging. Traditional methods often struggle with the non-stationary nature of EEG signals and may not fully capture the complex spatio-temporal-frequency dynamics. Existing geometric deep learning approaches, like Tensor-CSPNet, have shown promise by treating spatial covariance matrices as points on Symmetric Positive Definite (SPD) manifolds. However, this paper aims to further enhance these geometric classifiers by explicitly modeling the relationships between time-frequency EEG segments using graph neural networks, thereby improving the capture of localized fluctuations and overall classification performance.

Methods

The core innovation is Graph-CSPNet, a geometric deep learning architecture that treats time-frequency representations of EEG signals as a graph.

  • Time-Frequency Graph Construction: EEG signals are segmented in the time-frequency domain. Each segment's spatial covariance matrix (a point on an SPD manifold) becomes a node in the graph. Edges between nodes are established using a "Local Graph Topology" (LGT) method, which connects nodes based on their Riemannian distance, reflecting similarity. This approach is inspired by the Heisenberg-Gabor uncertainty principle, balancing time and frequency resolution.
  • SPD Manifold Representation: EEG spatial covariance matrices are treated as points on SPD manifolds, which are mathematically well-suited for representing these positive-definite matrices. The affine invariant Riemannian metric ($g_{AIRM}$) is used to measure distances between these matrices.
  • Graph Neural Network Architecture: Graph-CSPNet employs a novel Graph BiMap layer. This layer is designed to operate on SPD matrices, preserving their discriminative power by maintaining Riemannian distances during the learning process. It's integrated within a graph convolutional network framework, allowing for the propagation of information across the time-frequency graph.
  • Other Layers: The architecture also includes Riemannian Batch Normalization for stable training and a LOG layer to map SPD matrices to the tangent space for further processing.
  • Optimization: The model uses Riemannian optimization techniques to handle the manifold-valued parameters.

Datasets

The proposed Graph-CSPNet was evaluated on five publicly available MI-EEG datasets:

  • KU (also known as Lee2019_MI)
  • Cho2017
  • BNCI2014001 (BCIC-IV-2a)
  • BNCI2014002
  • BNCI2015001

These datasets vary in the number of subjects, channels, classes, trials, and sampling rates. The evaluation was conducted using subject-specific scenarios, primarily 10-fold cross-validation and holdout validation.

Key Insights and Ideas

  • Graph Representation of Time-Frequency EEG: Viewing time-frequency EEG segments as nodes in a graph, connected by Riemannian distances, effectively captures local relationships and dynamics that might be missed by purely sequential or spatial methods.
  • SPD Manifolds for Covariance Matrices: SPD manifolds provide a principled mathematical framework for handling spatial covariance matrices, preserving their inherent geometric properties crucial for MI classification.
  • Graph BiMap Layer's Effectiveness: The novel Graph BiMap layer is key to Graph-CSPNet's success, enabling the network to learn from SPD matrices while maintaining their discriminative power through Riemannian distance preservation.
  • Time-Frequency Flexibility: The approach allows for flexible segmentation in both time and frequency, adapting to the specific characteristics of different EEG signals and experiments.
  • Geometric Classifiers as a New Paradigm: The paper formally introduces "Geometric Classifiers" as a distinct category, highlighting the growing importance of differential geometry in deep learning for structured data like EEG.

Key Results

Graph-CSPNet achieved near-optimal classification accuracies in nine out of eleven scenarios across the five evaluated datasets. Specifically, it outperformed baseline methods like FBCSP, FBCNet, and Tensor-CSPNet in many configurations. For instance, on the BNCI2014001 dataset, Graph-CSPNet achieved accuracies of 77.55% (10-Fold CV (T)) and 78.82% (10-Fold CV (E)), outperforming other methods. The paper also demonstrates that the LGT method can effectively capture local relationships and lead to significant improvements in classification performance compared to non-graph-based approaches.

Limitations and Future Work

  • Computational Cost: While effective, geometric deep learning methods, especially those involving manifold operations, can be computationally intensive.
  • Hyperparameter Sensitivity: The performance of the LGT method can be influenced by hyperparameters like the Gaussian kernel width ($t$) and the $\epsilon$ value for edge connections. The paper explores some of these but acknowledges the need for careful tuning.
  • Generalizability: While tested on multiple datasets, further validation on larger and more diverse datasets, including those with different MI tasks or clinical populations, would be beneficial.
  • Future Work: The authors suggest exploring more advanced graph convolutional network architectures and further investigating the theoretical underpinnings of geometric deep learning for complex data analysis. They also highlight the potential of this framework for other applications beyond MI classification, such as analyzing fMRI functional connectivity matrices.

Summary updated

BibTeX
@article{ju2022graph,
  author = {Ce Ju and Cuntai Guan},
  title = {{Graph Neural Networks on SPD Manifolds for Motor Imagery Classification: A Perspective from the Time-Frequency Analysis}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2022},
}
Figure