Multi-branch GAT-GRU-transformer for explainable EEG-based finger motor imagery classification
Authors:
Open Access
- 21 May 2025
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Human Neuroscience
- Vol. 19, 1599960
Abstract
Electroencephalography (EEG) provides a non-invasive and real-time approach to decoding motor imagery (MI) tasks, such as finger movements, offering significant potential for brain-computer interface (BCI) applications. However, due to the complex, noisy, and non-stationary nature of EEG signals, traditional classification methods—such as Common Spatial Pattern (CSP) and Power Spectral Density (PSD)—struggle to extract meaningful, multidimensional features. While deep learning models like CNNs and RNNs have shown promise, they often focus on single-dimensional aspects and lack interpretability, limiting their neuroscientific relevance. This study proposes a novel multi-branch deep learning framework, termed Multi-Branch GAT-GRU-Transformer, to enhance EEG-based MI classification. The model consists of parallel branches to extract spatial, temporal, and frequency features: a Graph Attention Network (GAT) models spatial relationships among EEG channels, a hybrid Gated Recurrent Unit (GRU) and Transformer module captures temporal dependencies, and one-dimensional CNNs extract frequency-specific information. Feature fusion is employed to integrate these heterogeneous representations. To improve interpretability, the model incorporates SHAP (SHapley Additive exPlanations) and Phase Locking Value (PLV) analyses. Notably, PLV is also used to construct the GAT adjacency matrix, embedding biologically-informed spatial priors into the learning process. The proposed model was evaluated on the Kaya dataset, achieving a five-class MI classification accuracy of 55.76%. Ablation studies confirmed the effectiveness of each architectural component. Furthermore, SHAP and PLV analyses identified C3 and C4 as critical EEG channels and highlighted the Beta frequency band as highly relevant, aligning with known motor-related neural activity. The Multi-Branch GAT-GRU-Transformer effectively addresses key challenges in EEG-based MI classification by integrating domain-relevant spatial, temporal, and frequency features, while enhancing model interpretability through biologically grounded mechanisms. This work not only improves classification performance but also provides a transparent framework for neuroscientific investigation, with broad implications for BCI development and cognitive neuroscience research.Keywords
This publication has 51 references indexed in Scilit:
- Multi-level cognitive state classification of learners using complex brain networks and interpretable machine learningCognitive Neurodynamics, 2025
- Beta oscillation is an indicator for two patterns of sensorimotor synchronizationPsych Journal, 2023
- An explainable and interpretable model for attention deficit hyperactivity disorder in children using EEG signalsComputers in Biology and Medicine, 2023
- Subject-independent EEG emotion recognition with hybrid spatio-temporal GRU-Conv architectureMedical & Biological Engineering & Computing, 2022
- XAI4EEG: spectral and spatio-temporal explanation of deep learning-based seizure detection in EEG time seriesNeural Computing and Applications, 2022
- A novel approach for detection of consciousness level in comatose patients from EEG signals with 1-D convolutional neural networkBiocybernetics and Biomedical Engineering, 2022
- Feature-level fusion approaches based on multimodal EEG data for depression recognitionInformation Fusion, 2020
- Deep learning with convolutional neural networks for EEG decoding and visualizationHuman Brain Mapping, 2017
- EEG based zero-phase phase-locking value (PLV) and effects of spatial filtering during actual movementBrain Research Bulletin, 2017
- Measuring phase synchrony in brain signalsHuman Brain Mapping, 1999