arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.11170eess.SPcs.AIcs.LG
收藏

基于变换器的时空特征学习在EEG解码中的应用

Transformer-based Spatial-Temporal Feature Learning for EEG Decoding

South China University of Technology(华南理工大学)

Yonghao Song, Xueyu Jia, Lie Yang, Longhan Xie

摘要:

目前,人们通常采用基于卷积神经网络的方法对脑电信号进行解码。然而,CNN在感知全局依赖性方面存在局限性,这对于具有强整体关系的常见EEG范例来说是不够的。针对这个问题,我们提出了一种新的主要依赖于注意力机制的脑电信号解码方法。首先对脑电数据进行预处理和空间滤波。然后对特征通道维度进行注意力变换,使模型能够增强更多的相关空间特征。最关键的一步是在时间维度上对数据进行切片,进行注意力转换,最终获得具有高度可区分性的表示。在这个时候,全局平均池化和一个简单的全连接层被用来分类不同类别的EEG数据。在两个公开数据集上的实验表明,该策略有效地利用了空间和时间特征。在脑电信号的多分类方面,我们已经达到了用较少的参数进行多分类的先进水平。据我们所知,这是第一次提出了一个详细的和完整的方法的基础上的Transformer的想法在这一领域。这对脑机接口的实用化具有很好的促进作用。源代码可以在以下位置找到:\textit{https://github.com/anranknight/EEG-Transformer}。

英文摘要:

At present, people usually use some methods based on convolutional neural networks (CNNs) for Electroencephalograph (EEG) decoding. However, CNNs have limitations in perceiving global dependencies, which is not adequate for common EEG paradigms with a strong overall relationship. Regarding this issue, we propose a novel EEG decoding method that mainly relies on the attention mechanism. The EEG data is firstly preprocessed and spatially filtered. And then, we apply attention transforming on the feature-channel dimension so that the model can enhance more relevant spatial features. The most crucial step is to slice the data in the time dimension for attention transforming, and finally obtain a highly distinguishable representation. At this time, global averaging pooling and a simple fully-connected layer are used to classify different categories of EEG data. Experiments on two public datasets indicate that the strategy of attention transforming effectively utilizes spatial and temporal features. And we have reached the level of the state-of-the-art in multi-classification of EEG, with fewer parameters. As far as we know, it is the first time that a detailed and complete method based on the transformer idea has been proposed in this field. It has good potential to promote the practicality of brain-computer interface (BCI). The source code can be found at: \textit{https://github.com/anranknight/EEG-Transformer}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑