A classification method for EEG motor imagery signals based on parallel convolutional neural network

https://doi.org/10.1016/j.bspc.2021.103190Get rights and content

Abstract

Deep learning has been used popularly and successfully in state of art researches to classify different types of images. However, so far, the applications of deep learning methods for the electroencephalography (EEG) motor imagery classification is very limited. In this study, a pre-processing algorithm is proposed for the EEG signals representation. Then, a parallel convolutional neural network (PCNN) architecture is proposed to classify motor imagery signals. For the raw EEG signals representation, a new form of the images is created to combine spatial filtering and frequency bands extracting together. By feeding the represented images into the PCNN, it stacks three unique sub-models together aiming to optimize the performance of classification. The average accuracy of the proposed method achieves 83.0 ± 3.4% on BCI Competition IV dataset 2b, which outperforms the compared methods at least 5.2%. The average Kappa value of the proposed method achieves 0.659 ± 0.067 on dataset 2b, providing at least 20.5% improvement with respect to the compared algorithms. The results show that the proposed method performs better in EEG motor imagery signals classification.

Introduction

The brain computer interface (BCI) is a direct interface from the human intent to external devices like computer, robot, unmanned aerial vehicle, and so on, which provides a novel non-muscular communication method via brain signals [1]. There are various types of the electroencephalography (EEG) signals used for many researches. For instance, P300 evoked potentials is an event related potential (ERP), which shows the sensitivity of subject’s response to stimulation. Steady state visually evoked potential (SSVEP) can recognize a set of characters under visual stimulation by identifying the SSVEP frequencies in the EEG signals which has been used in different applications like control grabbing of the robotic hand and assess visual acuity in adults[2], [3], [4]. Moreover, motor imagery (MI) is another widely used the EEG signals. MI signals can control robot movements via translate MI frequencies into different instructions [5]. Two or more types of the EEG signals can combine together to complete complex actions[5].

The MI is one type of the EEG signal from sensorimotor cortex when experimenter performs imagination of moving a body part without actual movement [6]. The motor behavior results in a change of the ongoing EEG as form an event related desynchronization (ERD) or an event related synchronization (ERS). The ERD represents an amplitude decrease of rhythmic activity and the ERS represents an amplitude increasing [7], [8]. The body parts of imaginary tasks may be left hand, right hand, foot, tongue, fingers, elbows even shoulder [9], [10], [11], [12], and so on. Thus, the classification of different types of MI signals is an important and fundamental problem in BCI researches.

In this study, a new form of image is proposed for representing the EEG signals. The form is not processed with channel by channel but with spatial and frequency filtering method. First, the raw EEG signals are projected into a low-dimensional space by regularized common spatial pattern (RCSP) aiming to maximize the distinction between two classes. Next, a projectional vector is obtained after this projection. Then, the short time fourier transform (STFT) is used to collect the mu and beta bands as frequency features, since the energy of mu and beta bands has a strong correlation with MI task, i.e., energy decreases in the mu band and energy increases in beta band [13]. Finally, mu and beta bands are combined together to form 2D images. We called this method as regularized common spatial pattern with short time fourier transform (RCSP-STFT).

Furthermore, a new convolutional neural network (CNN) architecture i.e., a parallel convolutional neural network (PCNN), which is proposed to classify 2D images after RCSP-STFT. Since the 2D images contain explicit time and frequency information, only simplex 2D or 1D convolutional kernel may not sufficient enough to capture the features from the 2D images. Thus, different 2D-kernel, 1D-kernel across frequency channel and 1D-kernel across time are combined together to extract features. For 1D-kernel across frequency channel, only one convolutional layer is used to mix all frequency channels together to create a whole new signal through convolutional operation. It is not recommended that the size of 1D-kernel across frequency is smaller than the numbers of the representation image channels [14]. For 1D-kernel across time, four convolutional layers are used, while 2D-kernel, eight convolutional layers are used. These three different CNN sub-models are trained synchronously in one model, and the outputs of these three different CNN parts are stacked together before the final fully-connected layers.

The proposed method is evaluated on the BCI Competition IV dataset 2b and dataset 1 [9], [10]. The instructions that measure our results are accuracy and Kappa value metrics [15]. And the results are compared with the current studies.

The rest of this paper is organized as follows: In Section 3, the RCSP-STFT algorithm for the EEG signals representation is described, and the structure of PCNN is proposed. In Section 4, the classification results on two datasets and the discussion are presented. Finally, we draw a conclusion in Section 5.

Section snippets

Related work

In general, there are four steps for classification of the EEG signals. First, the EEG signals recorded from voluntary subjects based on the 10–20 international system, where the system serves as the recognized standard for scalp electrode positioning for EEG [16], i.e., the step is signal recoding. Second, when subjects complete the required experimental sessions, the multichannel raw EEG signals has very low signal-to-noise ratio (SNR) [17], so the raw signals need pre-processing to remove

Traditional Common Spatial Patterns

The CSP method has widely been applied in multi-channel signal processing [51]. Since the EEG signals are recorded from multiple channels, the CSP method is used for the processing of the EEG signals. We design a filter based on the simultaneous diagonalization of the covariance matrix of the raw EEG signals. Thus, the difference between the average energy of the signals is maximized without changing the total energy of the signals.

Similar as Ref [52], [51], the normalized spatial covariance

Experiments

In this study, the experiments are conducted in Keras environment on a NVIDIA Quadro M5000 GPU with 8 GB memory. The algorithms are evaluated by using BCI Competition IV dataset 2b and dataset 1, which can be downlaoded from URL1. Accuracy and mean Kappa value are used to evaluate the performance of the proposed method. For each training and testing, 5 × 10-fold cross validation are applied to ensure the credibility of results. In each

Conclusion

In BCI systems, MI plays an important role in EEG researches, because EEG is one type of non-invasive BCI signals that is very convenient to use. The EEG-MI signals can be translated into indirect instructions to help neurological diseases control external devices. Thus, the classification of the EEG-MI signals has great importance in academics and applications. In order to improve the performance of EEG-MI classification, this paper proposed a RCSP-STFT pre-processing method for the EEG

CRediT authorship contribution statement

Yuexing Han: Conceptualization, Methodology, Writing - review & editing. Bing Wang: Conceptualization, Methodology, Supervision. Jie Luo: Investigation, Supervision. Long Li: Writing - original draft, Software. Xiaolong Li: Writing - review & editing.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgments

This research is sponsored by Natural Science Foundation of Shanghai (Grant No. 20ZR1419000).

References (65)

  • Hüseyin Göksu

    Bci oriented eeg analysis using log energy entropy of wavelet packets

    Biomed. Signal Process. Control

    (2018)
  • Ebrahim A Mousavi et al.

    Wavelet common spatial pattern in asynchronous offline brain computer interfaces

    Biomed. Signal Process. Control

    (2011)
  • Abdulhamit Subasi et al.

    Eeg signal classification using pca, ica, lda and support vector machines

    Expert Syst. Appl.

    (2010)
  • B. Richhariya et al.

    Eeg signal classification using universum support vector machine

    Expert Syst. Appl.

    (2018)
  • Sumit Soman et al.

    High performance eeg signal classification using classifiability and the twin svm

    Appl. Soft Computing

    (2015)
  • Aya Rezeika et al.

    Brain–computer interface spellers: A review

    Brain Sci.

    (2018)
  • Ahmed Fadhil Almurshedi et al.

    Feature extraction of visual evoked potentials using wavelet transform and singular value decomposition. Iranian Journal of

    Med. Phys.

    (2018)
  • Arkadiusz Kubacki and Arkadiusz Jakubowski. Classifier testing for the brain-machine interface (bci) based on steady...
  • Jing Jiang et al.

    Incorporation of dynamic stopping strategy into the high-speed ssvep-based bcis

    J. Neural Eng.

    (2018)
  • Feng Duan et al.

    Design of a multimodal eeg-based hybrid bci system with visual servo module

    IEEE Trans. Auton. Ment. Dev.

    (2015)
  • Yousef Rezaei Tabar and Ugur Halici

    A novel deep learning approach for classification of eeg motor imagery signals

    J. Neural Eng.

    (2016)
  • Robert Leeb et al.

    Brain–computer communication: motivation, aim, and impact of exploring a virtual apartment

    IEEE Trans. Neural Syst. Rehabil. Eng.

    (2007)
  • Siavash Sakhavi et al.

    Learning temporal information for brain-computer interface using convolutional neural networks

    IEEE Trans. Neural Networks Learning Syst.

    (2018)
  • Jacob Cohen

    A coefficient of agreement for nominal scales

    Educ. Psychological Measure.

    (1960)
  • Benjamin Blankertz et al.

    Optimizing spatial filters for robust eeg single-trial analysis

    IEEE Signal Processing Magazine

    (2008)
  • Mingai Li et al.

    Combined long short-term memory based network employing wavelet coefficients for mi-eeg recognition

  • Dennis J. McFarland et al.

    Mu and beta rhythm topographies during motor imagery and actual movements

    Brain Topography

    (2000)
  • Beatrice De Gelder et al.

    Fear fosters flight: a mechanism for fear contagion when perceiving emotion expressed by a whole body

    Proc. National Acad. Sci. USA

    (2004)
  • Wu. Wei et al.

    Classifying single-trial eeg during motor imagery by iterative spatio-spectral patterns learning (isspl)

    IEEE Trans. Biomed. Eng.

    (2008)
  • Sachin Taran et al.

    Motor imagery tasks-based eeg signals classification using tunable-q wavelet transform

    Neural Comput. Appl.

    (2018)
  • Yingzhong Tian et al.

    Multifocus image fusion in q-shift dtcwt domain using various fusion rules

    Math. Problems Eng.

    (2016)
  • Moritz Grosse-Wentrup et al.

    Multiclass common spatial patterns and information theoretic feature extraction

    IEEE Trans. Biomed. Eng.

    (2008)
  • Cited by (35)

    • Comparison of the representational ability in individual difference analysis using 2-D time-series image and time-series feature patterns

      2023, Expert Systems with Applications
      Citation Excerpt :

      Mandhouj et al. (Mandhouj et al., 2021) also used the STFT to convert EEG signals into spectrogram images, which were verified in the EEG data set of Bonn University, with an average accuracy of 98.22 %. Han et al. (Han, Wang, Luo, Li, & Li, 2022) combined spatial filtering and frequency band extraction to form ECG images and input them into a parallel convolutional neural network (PCNN). The average accuracy of the BCI Competition IV Dataset 2B was 83.0 ± 3.4 %.

    • MI-DABAN: A dual-attention-based adversarial network for motor imagery classification

      2023, Computers in Biology and Medicine
      Citation Excerpt :

      Liu et al. [46] developed SincNets to automatically filter information mapped into the CSP feature space and employed gated recurrent units to explore sequential relationships. Han et al. [47] proposed a parallel network architecture that combines spatial filtering features and frequency band features to optimize classification performance. It can be seen from the above that deep learning has played a huge role in EEG decoding.

    View all citing articles on Scopus
    View full text