{"title":"Self-supervised contrastive learning for EEG-based cross-subject motor imagery recognition","authors":"Wenjie Li, Haoyu Li, Xinlin Sun, Huicong Kang, Shan An, Guoxin Wang, Zhongke Gao","doi":"10.1088/1741-2552/ad3986","DOIUrl":null,"url":null,"abstract":"<italic toggle=\"yes\">Objective</italic>. The extensive application of electroencephalography (EEG) in brain-computer interfaces (BCIs) can be attributed to its non-invasive nature and capability to offer high-resolution data. The acquisition of EEG signals is a straightforward process, but the datasets associated with these signals frequently exhibit data scarcity and require substantial resources for proper labeling. Furthermore, there is a significant limitation in the generalization performance of EEG models due to the substantial inter-individual variability observed in EEG signals. <italic toggle=\"yes\">Approach</italic>. To address these issues, we propose a novel self-supervised contrastive learning framework for decoding motor imagery (MI) signals in cross-subject scenarios. Specifically, we design an encoder combining convolutional neural network and attention mechanism. In the contrastive learning training stage, the network undergoes training with the pretext task of data augmentation to minimize the distance between pairs of homologous transformations while simultaneously maximizing the distance between pairs of heterologous transformations. It enhances the amount of data utilized for training and improves the network’s ability to extract deep features from original signals without relying on the true labels of the data. <italic toggle=\"yes\">Main results</italic>. To evaluate our framework’s efficacy, we conduct extensive experiments on three public MI datasets: BCI IV IIa, BCI IV IIb, and HGD datasets. The proposed method achieves cross-subject classification accuracies of 67.32<inline-formula>\n<tex-math><?CDATA $\\%$?></tex-math>\n<mml:math overflow=\"scroll\"><mml:mrow><mml:mi mathvariant=\"normal\">%</mml:mi></mml:mrow></mml:math>\n<inline-graphic xlink:href=\"jnead3986ieqn1.gif\" xlink:type=\"simple\"></inline-graphic>\n</inline-formula>, 82.34<inline-formula>\n<tex-math><?CDATA $\\%$?></tex-math>\n<mml:math overflow=\"scroll\"><mml:mrow><mml:mi mathvariant=\"normal\">%</mml:mi></mml:mrow></mml:math>\n<inline-graphic xlink:href=\"jnead3986ieqn2.gif\" xlink:type=\"simple\"></inline-graphic>\n</inline-formula>, and 81.13<inline-formula>\n<tex-math><?CDATA $\\%$?></tex-math>\n<mml:math overflow=\"scroll\"><mml:mrow><mml:mi mathvariant=\"normal\">%</mml:mi></mml:mrow></mml:math>\n<inline-graphic xlink:href=\"jnead3986ieqn3.gif\" xlink:type=\"simple\"></inline-graphic>\n</inline-formula> on the three datasets, demonstrating superior performance compared to existing methods. <italic toggle=\"yes\">Significance</italic>. Therefore, this method has great promise for improving the performance of cross-subject transfer learning in MI-based BCI systems.","PeriodicalId":16753,"journal":{"name":"Journal of neural engineering","volume":"108 1","pages":""},"PeriodicalIF":3.7000,"publicationDate":"2024-04-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of neural engineering","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1088/1741-2552/ad3986","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, BIOMEDICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Objective. The extensive application of electroencephalography (EEG) in brain-computer interfaces (BCIs) can be attributed to its non-invasive nature and capability to offer high-resolution data. The acquisition of EEG signals is a straightforward process, but the datasets associated with these signals frequently exhibit data scarcity and require substantial resources for proper labeling. Furthermore, there is a significant limitation in the generalization performance of EEG models due to the substantial inter-individual variability observed in EEG signals. Approach. To address these issues, we propose a novel self-supervised contrastive learning framework for decoding motor imagery (MI) signals in cross-subject scenarios. Specifically, we design an encoder combining convolutional neural network and attention mechanism. In the contrastive learning training stage, the network undergoes training with the pretext task of data augmentation to minimize the distance between pairs of homologous transformations while simultaneously maximizing the distance between pairs of heterologous transformations. It enhances the amount of data utilized for training and improves the network’s ability to extract deep features from original signals without relying on the true labels of the data. Main results. To evaluate our framework’s efficacy, we conduct extensive experiments on three public MI datasets: BCI IV IIa, BCI IV IIb, and HGD datasets. The proposed method achieves cross-subject classification accuracies of 67.32%, 82.34%, and 81.13% on the three datasets, demonstrating superior performance compared to existing methods. Significance. Therefore, this method has great promise for improving the performance of cross-subject transfer learning in MI-based BCI systems.
目的。脑电图(EEG)在脑机接口(BCI)中的广泛应用归功于其非侵入性和提供高分辨率数据的能力。采集脑电信号是一个简单直接的过程,但与这些信号相关的数据集经常表现出数据稀缺性,需要大量资源才能进行正确标记。此外,由于在脑电信号中观察到的个体间差异很大,因此脑电图模型的泛化性能受到很大限制。方法。为了解决这些问题,我们提出了一种新颖的自监督对比学习框架,用于解码跨受试者场景中的运动图像(MI)信号。具体来说,我们设计了一种结合卷积神经网络和注意力机制的编码器。在对比学习训练阶段,网络以数据增强为借口进行训练,以最小化同源变换对之间的距离,同时最大化异源变换对之间的距离。这不仅增加了用于训练的数据量,还提高了网络从原始信号中提取深度特征的能力,而无需依赖数据的真实标签。主要结果为了评估我们框架的功效,我们在三个公开的人工智能数据集上进行了广泛的实验:BCI IV IIa、BCI IV IIb 和 HGD 数据集。所提出的方法在这三个数据集上的跨主体分类准确率分别达到了 67.32%、82.34% 和 81.13%,与现有方法相比表现出了卓越的性能。意义重大。因此,该方法在提高基于 MI 的 BCI 系统中的跨主体迁移学习性能方面大有可为。
期刊介绍:
The goal of Journal of Neural Engineering (JNE) is to act as a forum for the interdisciplinary field of neural engineering where neuroscientists, neurobiologists and engineers can publish their work in one periodical that bridges the gap between neuroscience and engineering. The journal publishes articles in the field of neural engineering at the molecular, cellular and systems levels.
The scope of the journal encompasses experimental, computational, theoretical, clinical and applied aspects of: Innovative neurotechnology; Brain-machine (computer) interface; Neural interfacing; Bioelectronic medicines; Neuromodulation; Neural prostheses; Neural control; Neuro-rehabilitation; Neurorobotics; Optical neural engineering; Neural circuits: artificial & biological; Neuromorphic engineering; Neural tissue regeneration; Neural signal processing; Theoretical and computational neuroscience; Systems neuroscience; Translational neuroscience; Neuroimaging.