A Transformer-Based Approach Combining Deep Learning Network and Spatial-Temporal Information for Raw EEG Classification

被引:137
作者
Xie, Jin [1 ,2 ,3 ]
Zhang, Jie [1 ,2 ,4 ]
Sun, Jiayao [1 ,3 ]
Ma, Zheng [1 ,3 ]
Qin, Liuni [1 ,2 ,3 ]
Li, Guanglin [1 ,5 ]
Zhou, Huihui [1 ,4 ]
Zhan, Yang [1 ,3 ,6 ]
机构
[1] Chinese Acad Sci, Shenzhen Inst Adv Technol, Shenzhen 518000, Peoples R China
[2] Univ Chinese Acad Sci, Beijing 101408, Peoples R China
[3] Shenzhen Fundamental Res Inst, Shenzhen Key Lab Translat Res Brain Dis, Shenzhen Hong Kong Inst Brain Sci, Shenzhen 518055, Peoples R China
[4] Peng Cheng Lab, Res Ctr Artificial Intelligence, Shenzhen 518066, Peoples R China
[5] CAS Key Lab Human Machine Intelligence Synergy Sy, Shenzhen 518055, Peoples R China
[6] CAS Key Lab Brain Connectome & Manipulat, Shenzhen 518055, Peoples R China
基金
中国国家自然科学基金;
关键词
Electroencephalography; Transformers; Brain modeling; Task analysis; Feature extraction; Data models; Deep learning; Motor imagery (MI); EEG classification; transformer; attention mechanism; CNN; visualization; brain-computer interface (BCI);
D O I
10.1109/TNSRE.2022.3194600
中图分类号
R318 [生物医学工程];
学科分类号
0831 ;
摘要
The attention mechanism of the Transformer has the advantage of extracting feature correlation in the long-sequence data and visualizing the model. As time-series data, the spatial and temporal dependencies of the EEG signals between the time points and the different channels contain important information for accurate classification. So far, Transformer-based approaches have not been widely explored in motor-imagery EEG classification and visualization, especially lacking general models based on cross-individual validation. Taking advantage of the Transformer model and the spatial-temporal characteristics of the EEG signals, we designed Transformer-based models for classifications of motor imagery EEG based on the PhysioNet dataset. With 3s EEG data, our models obtained the best classification accuracy of 83.31%, 74.44%, and 64.22% on two-, three-, and four-class motor-imagery tasks in cross-individual validation, which outperformed other state-of-the-art models by 0.88%, 2.11%, and 1.06%. The inclusion of the positional embedding modules in the Transformer could improve the EEG classification performance. Furthermore, the visualization results of attention weights provided insights into the working mechanism of the Transformer-based networks during motor imagery tasks. The topography of the attention weights revealed a pattern of event-related desynchronization (ERD) which was consistent with the results from the spectral analysis of Mu and beta rhythm over the sensorimotor areas. Together, our deep learning methods not only provide novel and powerful tools for classifying and understanding EEG data but also have broad applications for brain-computer interface (BCI) systems.
引用
收藏
页码:2126 / 2136
页数:11
相关论文
共 64 条
[41]  
Qiao W., 2019, P 2019 INT C ART INT, P265
[42]   A Residual Based Attention Model for EEG Based Sleep Staging [J].
Qu, Wei ;
Wang, Zhiyong ;
Hong, Hong ;
Chi, Zheru ;
Feng, David Dagan ;
Grunstein, Ron ;
Gordon, Christopher .
IEEE JOURNAL OF BIOMEDICAL AND HEALTH INFORMATICS, 2020, 24 (10) :2833-2843
[43]  
Radford A., 2019, Technical report, V1, P9
[44]  
Rao RS, 2019, ADV NEUR IN, V32
[45]   Fusion Convolutional Neural Network for Cross-Subject EEG Motor Imagery Classification [J].
Roots, Karel ;
Muhammad, Yar ;
Muhammad, Naveed .
COMPUTERS, 2020, 9 (03) :1-9
[46]  
Shi XJ, 2019, ASIAPAC SIGN INFO PR, P939, DOI 10.1109/APSIPAASC47483.2019.9023190
[47]  
Song YH, 2021, Arxiv, DOI arXiv:2106.11170
[48]   EEG sensorimotor rhythms' variation and functional connectivity measures during motor imagery: linear relations and classification approaches [J].
Stefano Filho, Carlos A. ;
Attux, Romis ;
Castellano, Gabriela .
PEERJ, 2017, 5
[49]   A novel deep learning approach for classification of EEG motor imagery signals [J].
Tabar, Yousef Rezaei ;
Halici, Ugur .
JOURNAL OF NEURAL ENGINEERING, 2017, 14 (01)
[50]   Classification of EEG-based single-trial motor imagery tasks using a B-CSP method for BCI [J].
Tang, Zhi-chuan ;
Li, Chao ;
Wu, Jian-feng ;
Liu, Peng-cheng ;
Cheng, Shi-wei .
FRONTIERS OF INFORMATION TECHNOLOGY & ELECTRONIC ENGINEERING, 2019, 20 (08) :1087-1098