Next Article in Journal
A Methodological Evaluation of Four Different Paired Associative Stimulation Paradigms in Healthy Controls
Next Article in Special Issue
Neurophysiological Markers of Reward Processing Can Inform Preclinical Neurorehabilitation Approaches for Cognitive Impairments Following Brain Injury
Previous Article in Journal
Cognitive Impairment-Associated Risk Factors of Parkinson’s Disease: A Hospital-Based Study in a Cohort of Upper Egypt Parkinson’s Patients
Previous Article in Special Issue
Effects of Different Individuals and Verbal Tones on Neural Networks in the Brain of Children with Cerebral Palsy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

MCL-SWT: Mirror Contrastive Learning with Sliding Window Transformer for Subject-Independent EEG Recognition †

1
School of Data Science and Engineering, Xi’an Innovation College of Yanan University, Xi’an 710100, China
2
Human-Machine Integration Intelligent Robot Shaanxi University Engineering Research Center, School of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048, China
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper published in Luo, J.; Mao, Q.; Shi, W.; Shi, Z.; Wang, X.; Lu, X.; Hei, X. Mirror contrastive loss based sliding window transformer for subject-independent motor imagery based EEG signal recognition. In Proceedings of the Human Brain and Artificial Intelligence, 4th International Workshop, HBAI 2024, Held in Conjunction with IJCAI 2024, Jeju Island, Republic of Korea, 3 August 2024.
Brain Sci. 2025, 15(5), 460; https://doi.org/10.3390/brainsci15050460
Submission received: 31 March 2025 / Revised: 23 April 2025 / Accepted: 25 April 2025 / Published: 27 April 2025
(This article belongs to the Special Issue The Application of EEG in Neurorehabilitation)

Abstract

Background: 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. Methods: 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. Results: 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. Conclusions: 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.
Keywords: BCI; EEG; motor imagery; contrastive learning; sliding window transformer BCI; EEG; motor imagery; contrastive learning; sliding window transformer

Share and Cite

MDPI and ACS Style

Mao, Q.; Zhu, H.; Yan, W.; Zhao, Y.; Hei, X.; Luo, J. MCL-SWT: Mirror Contrastive Learning with Sliding Window Transformer for Subject-Independent EEG Recognition. Brain Sci. 2025, 15, 460. https://doi.org/10.3390/brainsci15050460

AMA Style

Mao Q, Zhu H, Yan W, Zhao Y, Hei X, Luo J. MCL-SWT: Mirror Contrastive Learning with Sliding Window Transformer for Subject-Independent EEG Recognition. Brain Sciences. 2025; 15(5):460. https://doi.org/10.3390/brainsci15050460

Chicago/Turabian Style

Mao, Qi, Hongke Zhu, Wenyao Yan, Yu Zhao, Xinhong Hei, and Jing Luo. 2025. "MCL-SWT: Mirror Contrastive Learning with Sliding Window Transformer for Subject-Independent EEG Recognition" Brain Sciences 15, no. 5: 460. https://doi.org/10.3390/brainsci15050460

APA Style

Mao, Q., Zhu, H., Yan, W., Zhao, Y., Hei, X., & Luo, J. (2025). MCL-SWT: Mirror Contrastive Learning with Sliding Window Transformer for Subject-Independent EEG Recognition. Brain Sciences, 15(5), 460. https://doi.org/10.3390/brainsci15050460

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop