Journal of Xidian University ›› 2024, Vol. 51 ›› Issue (2): 182-195.doi: 10.19665/j.issn1001-2400.20230211

• Computer Science and Technology & Cyberspace Security • Previous Articles     Next Articles

Study of EEG classification of depression by multi-scale convolution combined with the Transformer

ZHAI Fengwen(), SUN Fanglin(), JIN Jing()   

  1. School of Electronic and Information Engineering,Lanzhou Jiaotong University,Lanzhou 730070,China
  • Received:2022-11-28 Online:2024-04-20 Published:2023-10-12
  • Contact: SUN Fanglin E-mail:zhaifw@mail.lzjtu.cn;ntusfl@163.com;jinjing@mail.lzjtu.cn

Abstract:

In the process of using the deep learning model to classify the EEG signals of depression,aiming at the problem of insufficient feature extraction in single-scale convolution and the limitation of the convolutional neural network in perceiving the global dependence of EEG signals,a multi-scale dynamic convolution network module and the gated transformer encoder module are designed respectively,which are combined with the temporal convolution network,and a hybrid network model MGTTCNet is proposed to classify the EEG signals of patients with depression and healthy controls.First,multi-scale dynamic convolution is used to capture the multi-scale time-frequency information of EEG signals from spatial and frequency domains.Second,the gated transformer encoder is used to learn global dependencies in EEG signals,which effectively enhances the ability of the network to express relevant EEG signal features using the multi-head attention mechanism.Third,the temporal convolution network is used to extract temporal features available for EEG signals.Finally,the extracted abstract features are fed into the classification module for classification.The proposed model is experimentally validated on the public data set MODMA using the Hold-out method and the 10-Fold Cross Validation method,with the classification accuracy being 98.51% and 98.53%,respectively.Compared with the baseline single-scale model EEGNet,the classification accuracy of the proposed model is increased by 1.89% and 1.93%,the F1 value is increased by 2.05% and 2.08%,and the kappa coefficient values are increased by 0.0381 and 0.0385,respectively.Meanwhile,the ablation experiments verify the effectiveness of each module designed in this paper.

Key words: electroencephalography, depression classification, deep learning, Transformer, temporal convolutional networks

CLC Number: 

  • TP391

Baidu
map