Journal of Xidian University ›› 2022, Vol. 49 ›› Issue (3): 191-198.doi: 10.19665/j.issn1001-2400.2022.03.021

• Computer Science and Technology & Artificial Intelligence • Previous Articles     Next Articles

EEG emotion recognition based on the 3D-CNN and spatial-frequency attention mechanism

ZHANG Jing(),ZHANG Xueying(),CHEN Guijun(),YAN Chao()   

  1. School of Information and Computer Science,Taiyuan University of Technology,Taiyuan 030024,China
  • Received:2021-07-21 Revised:2022-01-30 Online:2022-06-20 Published:2022-07-04
  • Contact: Xueying ZHANG E-mail:zhangj_ty@163.com;tyzhangxy@163.com;chenguijun@tyut.edu.cn;15203508758@163.com

Abstract:

Currently,many deep learning methods have been proposed for EEG-based emotion recognition.However,most of them do not fully consider the correlated information from temporal,spatial,and frequency dimensions of EEG signals,on the basis of which a three-dimensional convolutional neural network based on the spatial-frequency attention mechanism (FSA-3D-CNN) is proposed to improve the accuracy of emotion recognition,in which the emotion correlated information on EEG can be learned from temporal,spatial,and frequency perspectives effectively.First,the differential entropy features are extracted from the time-domain segmented EEG signals,and a novel 4D feature structure is designed to obtain the four-dimensional feature matrix for training the deep learning model according to the characteristics of the EEG signals.Then,the existing 3D-CNN is improved according to the 4D feature structure,which makes full use of the information on temporal,spatial,and frequency dimensions of EEG signals.Finally,a spatial-frequency attention mechanism is designed to adaptively allocate the weights to the spatial and frequency channels of the EEG signals,and extract the spatial and frequency information on EEG signals that can more significantly reflect changes in emotional state.The DEAP emotion dataset is used to test the performance of our method.Experimental results have demonstrated that the proposed FSA-3D-CNN method can achieve the average accuracy of 95.87% and 95.23% for the two classifications between arousal and valence dimension and the average accuracy of 94.53% for four classifications of arousal-valence dimension,which has achieved significant improvement than that of the existing CNN and LSTM emotion recognition methods.

Key words: electroencephalography, emotion recognition, differential entropy, deep learning, attention

CLC Number: 

  • TP391