Deep learning technology is rapidly spreading in recent years and has been extensive attempts in the field of Brain-Computer Interface (BCI). Though the accuracy of Motor Imagery (MI) BCI systems based on the deep learning have been greatly improved compared with some traditional algorithms, it is still a big problem to clearly interpret the deep learning models. To address the issues, this work first introduces a popular deep learning model EEGNet and compares it with the traditional algorithm Filter-Bank Common Spatial Pattern (FBCSP). After that, this work considers that the 1-D convolution of EEGNet can be explained by a special Discrete Wavelet Transform (DWT), and the depthwise convolution of EEGNet is similar to the Common Spatial Pattern (CSP) algorithm. Therefore, this work improves the EEGNet by using the algorithm Temporary Constrained Sparse Group Lasso (TCSGL) to enhance its performance. The proposed model TSGL-EEGNet is tested on the BCI Competition IV 2a and BCI Competition III IIIa datasets that both are 4-classes classification MI tasks. The testing results show that the proposed model has achieved 78.96% (0.7194) average classification accuracy (kappa) on the dataset BCI Competition IV 2a, which are greater than EEGNet, C2CM, MB3DCNN, SS-MEMDBF and FBCSP, especially on insensitive subjects. The proposed model has also achieved 85.30% (0.8040) average classification accuracy (kappa) on the dataset BCI Competition III IIIa, which are greater than the EEGNet, MFTFS et al. At last, this work uses average-validation and stacking to further enhance the effect of the model. The 4-classes classification average accuracy rates reach 81.34% and 88.89%, and the kappas reach 0.7511 and 0.8519 on dataset BCI Competition IV 2a and BCI Competition III IIIa, respectively. Additionally, this work also uses the Grad-CAM to visualize the frequency and spatial features that are learned by the neural network.
Motor imagery Electroencephalogram (EEG) signals have been widely used in the field of brain-computer interface (BCI) due to their advantage of non-invasiveness and easy acquisition. However, due to distortions in the temporal and local information of the EEG signal and inter-subject variability, it is very time-consuming to perform a calibration procedure designed in a subject-specific manner, which requires a large number of labeled samples. To this end, we construct EEG brain graph based on EEG electrode distribution and propose a new subdomain adversarial network for learning domain-invariant features to achieve cross-domain classification of motor imagery EEG signals. Specifically, the proposed method constructs a brain graph based on the spatial distribution of electrodes and their functional connections, and builds EEG graph data. The subdomain adversarial network aligns data distributions under the same class domain and improves the classification performance of the target domain using source domain labeled samples. We have conducted extensive experiments on two publicly available datasets to verify the effectiveness of the proposed method. In addition, we have done ablation study and visualization analysis to explain the contribution of each component to cross-domain classification.