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 条
[21]  
Fang ZJ, 2020, PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, P1570
[22]  
Farooq F., 2019, PROC 7 INT C MECHATR, P1
[23]   Brain Computer Interfaces, a Review [J].
Fernando Nicolas-Alonso, Luis ;
Gomez-Gil, Jaime .
SENSORS, 2012, 12 (02) :1211-1279
[24]   A Channel-Fused Dense Convolutional Network for EEG-Based Emotion Recognition [J].
Gao, Zhongke ;
Wang, Xinmin ;
Yang, Yuxuan ;
Li, Yanli ;
Ma, Kai ;
Chen, Guanrong .
IEEE TRANSACTIONS ON COGNITIVE AND DEVELOPMENTAL SYSTEMS, 2021, 13 (04) :945-954
[25]   PhysioBank, PhysioToolkit, and PhysioNet - Components of a new research resource for complex physiologic signals [J].
Goldberger, AL ;
Amaral, LAN ;
Glass, L ;
Hausdorff, JM ;
Ivanov, PC ;
Mark, RG ;
Mietus, JE ;
Moody, GB ;
Peng, CK ;
Stanley, HE .
CIRCULATION, 2000, 101 (23) :E215-E220
[26]   Brain-machine interfaces for controlling lower-limb powered robotic systems [J].
He, Yongtian ;
Eguren, David ;
Azorin, Jose M. ;
Grossman, Robert G. ;
Trieu Phat Luu ;
Contreras-Vidal, Jose L. .
JOURNAL OF NEURAL ENGINEERING, 2018, 15 (02)
[27]   EEG-based motor imagery classification using convolutional neural networks with local reparameterization trick [J].
Huang, Wenqie ;
Chang, Wenwen ;
Yan, Guanghui ;
Yang, Zhifei ;
Luo, Hao ;
Pei, Huayan .
EXPERT SYSTEMS WITH APPLICATIONS, 2022, 187
[28]   Deep Learning Application to Clinical Decision Support System in Sleep Stage Classification [J].
Kim, Dongyoung ;
Lee, Jeonggun ;
Woo, Yunhee ;
Jeong, Jaemin ;
Kim, Chulho ;
Kim, Dong-Kyu .
JOURNAL OF PERSONALIZED MEDICINE, 2022, 12 (02)
[29]   BENDR: Using Transformers and a Contrastive Self-Supervised Learning Task to Learn From Massive Amounts of EEG Data [J].
Kostas, Demetres ;
Aroca-Ouellette, Stephane ;
Rudzicz, Frank .
FRONTIERS IN HUMAN NEUROSCIENCE, 2021, 15
[30]   EEG-Transformer: Self-attention from Transformer Architecture for Decoding EEG of Imagined Speech [J].
Lee, Young-Eun ;
Lee, Seo-Hyun .
10TH INTERNATIONAL WINTER CONFERENCE ON BRAIN-COMPUTER INTERFACE (BCI2022), 2022,