Abstract
Electroencephalography (EEG)-based motor imagery (MI) is extensively utilized in clinical rehabilitation and virtual reality-based movement control. Decoding EEG-based MI signals is challenging because of the inherent spatio-temporal variability of the original signal representation, coupled with a low signal-to-noise ratio (SNR), which impedes the extraction of clean and robust features. To address this issue, we propose a multi-scale spatio-temporal domain-invariant representation learning method, termed MSDI. By decomposing the original signal into spatial and temporal components, the proposed method extracts invariant features at multiple scales from both components. To further constrain the representation to invariant domains, we introduce a feature-aware shift operation that resamples the representation based on its feature statistics and feature measure, thereby projecting the features into a domain-invariant space. We evaluate our proposed method via two publicly available datasets, BNCI2014-001 and BNCI2014-004, demonstrating state-of-the-art performance on both datasets. Furthermore, our method exhibits superior time efficiency and noise resistance.
Introduction
Brain-Computer Interfaces (BCIs) that leverage motor imagery (MI) allow users to control external devices by imagining limb movements. While promising for neurorehabilitation, the practical application of MI-BCIs is limited by the nature of EEG signals. These signals are characterized by a low Signal-to-Noise Ratio (SNR) and significant non-stationarity, leading to high spatio-temporal variability across different subjects and recording sessions. Standard deep learning approaches often struggle with this variability, frequently overfitting to session-specific noise rather than learning generalized neural representations. This paper introduces MSDI, a framework designed to learn domain-invariant features that remain robust across varying signal conditions.
Methods
The Multi-scale Spatio-temporal Domain-Invariant (MSDI) architecture addresses the challenges of EEG decoding through three primary innovations:
1. Multi-scale Spatio-temporal Decoupling
Traditional models often process EEG data as a single block, which can lead to "feature aliasing"—a confusion between temporal patterns and spatial (electrode) relationships. MSDI utilizes parallel convolutional pathways to extract features at multiple scales (fine-grained and coarse-grained). By decoupling temporal and spatial convolutions, the model preserves the integrity of each dimension, allowing for a more nuanced representation of the brain's activity.
2. Feature-aware Shift Operation
The core of the MSDI's domain invariance is the feature-aware shift operation. Inspired by techniques in domain generalization and diffusion models, this module calculates the mean and variance of the extracted features. It then resamples the representation by injecting Gaussian noise based on these statistics. This process effectively "stretches" the feature distribution, forcing the network to map features into a space that is invariant to the specific noise or subject-specific artifacts present in the original signal domain.
3. Hybrid Backbone
The fused multi-scale features are processed by a hybrid backbone. This structure integrates convolutional layers to capture local spatio-temporal patterns and Transformer blocks (utilizing multi-head attention) to model long-range dependencies across the signal duration.
Experimental Results
The proposed MSDI method was rigorously evaluated on two benchmark datasets: BNCI2014-001 (a 4-class MI dataset) and BNCI2014-004 (a 2-class MI dataset).
As shown in the table below, MSDI consistently outperforms established baselines, including FBCSP, EEGNet, and the EEG Conformer. On the BNCI2014-001 dataset, MSDI achieved an average accuracy of 81.06%, representing a significant improvement over previous state-of-the-art models.
Discussion and Conclusion
Beyond raw accuracy, MSDI demonstrates remarkable robustness. In stress tests involving synthetic noise injection, the feature-aware shift module allowed the model to maintain high performance where baseline models failed. Furthermore, the model exhibits high data efficiency; it outperformed existing models even when restricted to only 25% of the available signal time points. This efficiency is critical for real-time BCI applications where low latency is paramount.
In conclusion, the MSDI framework represents a significant step forward in robust EEG decoding. By combining multi-scale decoupling with a novel feature-aware shift for domain invariance, the model effectively navigates the inherent noise and variability of brain signals. Future research will focus on optimizing the computational overhead of the multi-scale approach for deployment on embedded BCI hardware and exploring zero-calibration scenarios for new users.
Summary updated