Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Transformer-based Spatial-Temporal Feature Learning for EEG Decoding

About

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}.

Yonghao Song, Xueyu Jia, Lie Yang, Longhan Xie• 2021

Related benchmarks

TaskDatasetResultRank
Binary classification of normal versus abnormal EEG signalsTUAB
Balanced Accuracy79.66
49
EEG ClassificationCHB-MIT
B-ACC59.15
30
Motor Imagery ClassificationPhysioNet-MI
Balanced Accuracy60.35
27
Motor Imagery ClassificationSHU-MI
Balanced Accuracy59.92
22
EEG ClassificationBCIC 3 2020
Balanced Accuracy41.26
20
EEG ClassificationFACED
Binary Accuracy48.1
13
Sleep Stage ClassificationISRUC
Balanced Accuracy73.81
13
EEG Event ClassificationTUEV
Balanced Accuracy39.84
13
Motor Imagery ClassificationBCIC 2a IV
Balanced Accuracy45.75
13
EEG ClassificationMumtaz 2016
Balanced Accuracy91.35
13
Showing 10 of 41 rows

Other info

Follow for update