| Literature DB >> 32372929 |
Lichao Xu1, Minpeng Xu1,2, Yufeng Ke1, Xingwei An1, Shuang Liu1, Dong Ming1,2.
Abstract
Cross-subject variability problems hinder practical usages of Brain-Computer Interfaces. Recently, deep learning has been introduced into the BCI community due to its better generalization and feature representation abilities. However, most studies currently only have validated deep learning models for single datasets, and the generalization ability for other datasets still needs to be further verified. In this paper, we validated deep learning models for eight MI datasets and demonstrated that the cross-dataset variability problem weakened the generalization ability of models. To alleviate the impact of cross-dataset variability, we proposed an online pre-alignment strategy for aligning the EEG distributions of different subjects before training and inference processes. The results of this study show that deep learning models with online pre-alignment strategies could significantly improve the generalization ability across datasets without any additional calibration data.Entities:
Keywords: EEG; brain-computer interface; cross-dataset variability; cross-subject variability; deep learning; transfer learning
Year: 2020 PMID: 32372929 PMCID: PMC7188358 DOI: 10.3389/fnhum.2020.00103
Source DB: PubMed Journal: Front Hum Neurosci ISSN: 1662-5161 Impact factor: 3.169
Details of datasets.
| BNCI2014001 | Left/right/feet/tongue | 9 | 144 | 4 | 22 | 250 |
| BNCI2014004 | Left/right | 9 | 360 | 4.5 | 3 | 250 |
| PhysionetMI | Left/right/hands/feet | 109 | 20–30 | 3 | 64 | 250 |
| Cho2017 | Left/right | 52 | 100 | 3 | 64 | 512 |
| Weibo2014 | Left/right/hands/feet | 10 | 80 | 4 | 60 | 200 |
| Zhou2016 | Left/right/feet | 4 | 160 | 5 | 14 | 250 |
| CBCIC2019001 | Left/right | 18 | 60 | 4 | 59 | 1000 |
| CBCIC2019004 | Left/right | 6 | 40 | 4 | 59 | 250 |
Symbols and notations.
| Number of trials | |
| Number of channels | |
| Number of samples | |
| EEG data matrix of a single trial, | |
| Covariance of | |
| Spatial filter matrix, | |
| A spatial filter vector, |
ShallowNet architecture.
| Conv2d | 1 × 3 × 300 | 10 × 3 × 300 | 10 | (1, 21) | (1, 1) | (0, 10) |
| BatchNorm2d | 10 × 3 × 300 | 10 × 3 × 300 | ||||
| Conv2d | 10 × 3 × 300 | 15 × 1 × 300 | 15 | (3, 1) | (1, 1) | (0, 0) |
| BatchNorm2d | 15 × 1 × 300 | 15 × 1 × 300 | ||||
| Pow2 | 15 × 1 × 300 | 15 × 1 × 300 | ||||
| AvgPool2d | 15 × 1 × 300 | 15 × 1 × 17 | (1, 55) | (1, 15) | (0, 0) | |
| Log | 15 × 1 × 17 | 15 × 1 × 17 | ||||
| Dropout | 15 × 1 × 17 | 15 × 1 × 17 | ||||
| Linear | 255 | 2 |
EEGNet architecture.
| Conv2d | 1 × 3 × 300 | 8 × 3 × 300 | 8 | (1, 31) | (1, 1) | (0, 15) |
| BatchNorm2d | 8 × 3 × 300 | 8 × 3 × 300 | ||||
| Depthwise Conv2d | 8 × 3 × 300 | 16 × 1 × 300 | 16 | (3, 1) | (1, 1) | (0, 0) |
| BatchNorm2d | 16 × 1 × 300 | 16 × 1 × 300 | ||||
| Elu | 16 × 1 × 300 | 16 × 1 × 300 | ||||
| AvgPool2d | 16 × 1 × 300 | 16 × 1 × 75 | (1, 4) | (1, 4) | (0, 0) | |
| Dropout | 16 × 1 × 75 | 16 × 1 × 75 | ||||
| Seperable Conv2d | 16 × 1 × 75 | 16 × 1 × 75 | 16 | (1, 15) | (1, 1) | (0, 7) |
| BatchNorm2d | 16 × 1 × 75 | 16 × 1 × 75 | ||||
| Elu | 16 × 1 × 75 | 16 × 1 × 75 | ||||
| AvgPool2d | 16 × 1 × 75 | 16 × 1 × 9 | (1, 8) | (1, 8) | (0, 0) | |
| Dropout | 16 × 1 × 9 | 16 × 1 × 9 | ||||
| Linear | 144 | 2 |
Figure 1Pipelines of our methods. (A) The pipeline of pre-alignment strategy. (B) The pipeline of online pre-alignment strategy.
Within-subject Classification accuracies averaged on 10-folds.
| BNCI2014001 | 0.68 | 0.66 | 0.70 | 0.68 | 0.68 | 0.76 | 0.78 | |||
| BNCI2014004 | 0.70 | 0.69 | 0.74 | 0.69 | 0.69 | 0.79 | 0.79 | 0.79 | ||
| PhysionetMI | 0.56 | 0.56 | 0.59 | 0.57 | 0.57 | 0.53 | 0.51 | |||
| Cho2017 | 0.57 | 0.57 | 0.60 | 0.59 | 0.58 | 0.58 | 0.68 | 0.68 | 0.65 | |
| Weibo2014 | 0.66 | 0.65 | 0.68 | 0.68 | 0.65 | 0.75 | 0.71 | |||
| Zhou2016 | 0.81 | 0.89 | 0.88 | 0.80 | 0.83 | 0.84 | ||||
| CBCIC2019001 | 0.57 | 0.55 | 0.60 | 0.60 | 0.59 | 0.57 | 0.66 | 0.66 | 0.71 | 0.71 |
| CBCIC2019004 | 0.69 | 0.69 | 0.74 | 0.73 | 0.70 | 0.70 | 0.65 | 0.65 | 0.62 | |
| Mean | 0.65 | 0.65 | 0.69 | 0.66 | 0.66 | 0.71 | 0.70 | |||
Stars correspond to .
Figure 2Results of the Wilcoxon signed rank tests on pairs of methods. The dark square shows that the performance of row method is significantly better than that of column method (p < 0.05). (A) Results of methods without pre-alignment strategy (w/o PS). (B) Results of methods with pre-alignment strategy (w/ PS).
Figure 3Results of cross-subject classification on eight datasets for ShallowNet with online pre-alignment strategy (w/ OPS) and without online pre-alignment strategy (w/o OPS). Leave-one-subject-out validation was implemented on each dataset, and the validation for each subject was repeated 10 times.
Figure 4Results of cross-subject classification on eight datasets for EEGNet with online pre-alignment strategy (w/ OPS) and without online pre-alignment strategy (w/o OPS). Leave-one-subject-out validation was implemented on each dataset, and the validation for each subject was repeated 10 times.
Figure 5Results of cross-dataset classification for ShallowNet. The model was trained using the row dataset and validated on column datasets. In (A) Results of ShallowNet without online pre-alignment strategy (w/o OPS) and (B) Results of ShallowNet with online pre-alignment strategy (w/ OPS), the number in each square is the validation accuracy and the element of main diagonal is the cross-subject accuracy in each dataset showed in Figure 3. (C) The difference between (B) and (A).
Figure 6Results of cross-dataset classification for EEGNet. The model was trained using the row dataset and validated on column datasets. In (A) Results of EEGNet without online pre-alignment strategy (w/o OPS) and (B) Results of EEGNet with online pre-alignment strategy (w/ OPS), the number in each square is the validation accuracy and the element of main diagonal is the cross-subject accuracy in each dataset showed in Figure 4. (C) The difference between (B) and (A).