Fangzhou Xu , Yitai Lou , Yunqing Deng , Zhixiao Lun , Pengcheng Zhao , Di Yan , Zhe Han , Zhirui Wu , Chao Feng , Lei Chen , Jiancai Leng
{"title":"Motor imagery EEG decoding based on TS-former for spinal cord injury patients","authors":"Fangzhou Xu , Yitai Lou , Yunqing Deng , Zhixiao Lun , Pengcheng Zhao , Di Yan , Zhe Han , Zhirui Wu , Chao Feng , Lei Chen , Jiancai Leng","doi":"10.1016/j.brainresbull.2025.111298","DOIUrl":null,"url":null,"abstract":"<div><div>Traditional machine learning methods struggle with efficiency when processing large-scale data, while deep learning approaches, such as convolutional neural networks (CNN) and long short-term memory networks (LSTM), exhibit certain limitations when handling long-duration sequences. The choice of convolutional kernel size needs to be determined after several experiments, and LSTM has difficulty capturing effective information from long-time sequences. In this paper, we propose a transfer learning (TL) method based on Transformer, which constructs a new network architecture for feature extraction and classification of electroencephalogram (EEG) signals in the time-space domain, named TS-former. The frequency and spatial domain information of EEG signals is extracted using the Filter Bank Common Spatial Pattern (FBCSP), and the resulting features are subsequently processed by the Transformer to capture temporal patterns. The input features are processed by the Transformer using a multi-head attention mechanism, and the final classification outputs are generated through a fully connected layer. A classification model is pre-trained using fine-tuning techniques. When performing a new classification task, only some layers of the model are modified to adapt it to the new data and achieve good classification results. The experiments are conducted on a motor imagery (MI) EEG dataset from 16 spinal cord injury (SCI) patients. After training the model using a ten-time ten-fold cross-validation method, the average classification accuracy reached 95.09 %. Our experimental results confirm a new approach to build a brain-computer interface (BCI) system for rehabilitation training of SCI patients.</div></div>","PeriodicalId":9302,"journal":{"name":"Brain Research Bulletin","volume":"224 ","pages":"Article 111298"},"PeriodicalIF":3.7000,"publicationDate":"2025-03-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Brain Research Bulletin","FirstCategoryId":"3","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0361923025001108","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"NEUROSCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Traditional machine learning methods struggle with efficiency when processing large-scale data, while deep learning approaches, such as convolutional neural networks (CNN) and long short-term memory networks (LSTM), exhibit certain limitations when handling long-duration sequences. The choice of convolutional kernel size needs to be determined after several experiments, and LSTM has difficulty capturing effective information from long-time sequences. In this paper, we propose a transfer learning (TL) method based on Transformer, which constructs a new network architecture for feature extraction and classification of electroencephalogram (EEG) signals in the time-space domain, named TS-former. The frequency and spatial domain information of EEG signals is extracted using the Filter Bank Common Spatial Pattern (FBCSP), and the resulting features are subsequently processed by the Transformer to capture temporal patterns. The input features are processed by the Transformer using a multi-head attention mechanism, and the final classification outputs are generated through a fully connected layer. A classification model is pre-trained using fine-tuning techniques. When performing a new classification task, only some layers of the model are modified to adapt it to the new data and achieve good classification results. The experiments are conducted on a motor imagery (MI) EEG dataset from 16 spinal cord injury (SCI) patients. After training the model using a ten-time ten-fold cross-validation method, the average classification accuracy reached 95.09 %. Our experimental results confirm a new approach to build a brain-computer interface (BCI) system for rehabilitation training of SCI patients.
传统的机器学习方法在处理大规模数据时效率低下,而深度学习方法,如卷积神经网络(CNN)和长短期记忆网络(LSTM),在处理长时间序列时表现出一定的局限性。卷积核大小的选择需要经过多次实验确定,LSTM难以从长时间序列中捕获有效信息。本文提出了一种基于Transformer的迁移学习(TL)方法,该方法构建了一种新的网络结构,用于脑电图信号的时域特征提取和分类,称为TS-former。利用滤波器组公共空间模式(Filter Bank Common spatial Pattern, FBCSP)提取脑电信号的频率域和空间域信息,然后由Transformer对得到的特征进行处理以捕获时间模式。Transformer使用多头注意机制处理输入特征,并通过完全连接的层生成最终的分类输出。分类模型使用微调技术进行预训练。在执行新的分类任务时,只对模型的某些层进行修改,使其适应新的数据,从而获得良好的分类效果。在16例脊髓损伤(SCI)患者的运动图像EEG数据集上进行了实验。采用十倍十倍交叉验证方法对模型进行训练后,平均分类准确率达到95.09%。我们的实验结果证实了一种构建脑机接口(BCI)系统用于脊髓损伤患者康复训练的新方法。
期刊介绍:
The Brain Research Bulletin (BRB) aims to publish novel work that advances our knowledge of molecular and cellular mechanisms that underlie neural network properties associated with behavior, cognition and other brain functions during neurodevelopment and in the adult. Although clinical research is out of the Journal''s scope, the BRB also aims to publish translation research that provides insight into biological mechanisms and processes associated with neurodegeneration mechanisms, neurological diseases and neuropsychiatric disorders. The Journal is especially interested in research using novel methodologies, such as optogenetics, multielectrode array recordings and life imaging in wild-type and genetically-modified animal models, with the goal to advance our understanding of how neurons, glia and networks function in vivo.