MCL-SWT: Mirror Contrastive Learning with Sliding Window Transformer for Subject-Independent EEG Recognition
<b>Background</b>: In brain-computer interfaces (BCIs), transformer-based models have found extensive application in motor imagery (MI)-based EEG signal recognition. However, for subject-independent EEG recognition, these models face challenges: low sensitivity to spatial dynamics of neural activity and difficulty balancing high temporal resolution features with manageable computational complexity. The overarching objective is to address these critical issues. <b>Methods</b>: We introduce Mirror Contrastive Learning with Sliding Window Transformer (MCL-SWT). Inspired by left/right hand motor imagery inducing event-related desynchronization (ERD) in the contralateral sensorimotor cortex, we develop a mirror contrastive loss function. It segregates feature spaces of EEG signals from contralateral ERD locations while curtailing variability in signals sharing similar ERD locations. The Sliding Window Transformer computes self-attention scores over high temporal resolution features, enabling efficient capture of global temporal dependencies. <b>Results</b>: Evaluated on benchmark datasets for subject-independent MI EEG recognition, MCL-SWT achieves classification accuracies of 66.48% and 75.62%, outperforming State-of-the-Art models by 2.82% and 2.17%, respectively. Ablation studies validate the efficacy of both the mirror contrastive loss and sliding window mechanism. <b>Conclusions</b>: These findings underscore MCL-SWT's potential as a robust, interpretable framework for subject-independent EEG recognition. By addressing existing challenges, MCL-SWT could significantly advance BCI technology development.
Authors
- Xinhong Hei (ORCID: https://orcid.org/0000-0002-6394-0492)
- Hao Zhu (ORCID: https://orcid.org/0000-0002-2337-5791)
- Yu Zhao (ORCID: https://orcid.org/0000-0001-9025-2014)
- Qi Mao (ORCID: https://orcid.org/0000-0003-1758-1828)
- Jing Luo (ORCID: https://orcid.org/0000-0003-0465-2500)
- Wenyao Yan (ORCID: https://orcid.org/0000-0002-9746-9774)
Institutions
- Yan'an University (CN)
- Xi'an University of Technology (CN)
Publication Details
- Journal
- Brain Sciences
- Published
- 2025-04-27
- DOI
- https://doi.org/10.3390/brainsci15050460
- Citations
- 1
- Primary Topic
- EEG and Brain-Computer Interfaces
- Type
- article
- Field-Weighted Citation Impact
- 1.43
Funders
- National Natural Science Foundation of China