| Literature DB >> 31235800 |
Shiu Kumar1,2, Alok Sharma3,4,5,6, Tatsuhiko Tsunoda7,8,9.
Abstract
Brain-computer interface (BCI) systems having the ability to classify brain waves with greater accuracy are highly desirable. To this end, a number of techniques have been proposed aiming to be able to classify brain waves with high accuracy. However, the ability to classify brain waves and its implementation in real-time is still limited. In this study, we introduce a novel scheme for classifying motor imagery (MI) tasks using electroencephalography (EEG) signal that can be implemented in real-time having high classification accuracy between different MI tasks. We propose a new predictor, OPTICAL, that uses a combination of common spatial pattern (CSP) and long short-term memory (LSTM) network for obtaining improved MI EEG signal classification. A sliding window approach is proposed to obtain the time-series input from the spatially filtered data, which becomes input to the LSTM network. Moreover, instead of using LSTM directly for classification, we use regression based output of the LSTM network as one of the features for classification. On the other hand, linear discriminant analysis (LDA) is used to reduce the dimensionality of the CSP variance based features. The features in the reduced dimensional plane after performing LDA are used as input to the support vector machine (SVM) classifier together with the regression based feature obtained from the LSTM network. The regression based feature further boosts the performance of the proposed OPTICAL predictor. OPTICAL showed significant improvement in the ability to accurately classify left and right-hand MI tasks on two publically available datasets. The improvements in the average misclassification rates are 3.09% and 2.07% for BCI Competition IV Dataset I and GigaDB dataset, respectively. The Matlab code is available at https://github.com/ShiuKumar/OPTICAL .Entities:
Mesh:
Year: 2019 PMID: 31235800 PMCID: PMC6591300 DOI: 10.1038/s41598-019-45605-1
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Figure 1The framework of the proposed predictor, OPTICAL.
Figure 2Performing segmentation and obtaining the feature matrix.
Figure 3Determining the best feasible hyper-parameters of LSTM network using Bayesian optimization.
Misclassification rate (%) of different methods evaluated using BCI competition IV dataset 1.
| Subject | CSP | DFBCSP | SBLFB | SFTOFSRC | OPTICAL* | OPTICAL |
|---|---|---|---|---|---|---|
| a | 18.00 ± 9.53 | 16.80 ± 7.81 | 19.10 ± 9.73 | 30.67 ± 11.50 | 14.30 ± 7.49 | |
| b | 50.80 ± 9.86 | 42.90 ± 9.75 | 41.50 ± 11.12 | 45.83 ± 8.91 | 41.70 ± 11.85 | |
| c | 48.90 ± 9.70 | 35.20 ± 8.51 | 33.20 ± 12.52 | 45.00 ± 10.42 | 34.10 ± 10.18 | |
| d | 35.30 ± 10.27 | 23.50 ± 8.41 | 32.93 ± 10.96 | 14.70 ± 9.66 | 11.83 ± 7.60 | |
| e | 30.70 ± 11.29 | 18.30 ± 8.84 | 11.60 ± 6.88 | 40.33 ± 13.13 | 11.00 ± 6.22 | |
| f | 31.30 ± 11.10 | 14.30 ± 8.57 | 21.20 ± 11.97 | 31.83 ± 11.33 | 14.17 ± 7.66 | |
| g | 7.60 ± 6.57 | 9.00 ± 5.05 | 5.90 ± 5.41 | 20.00 ± 10.59 | 6.17 ± 5.03 | |
| Average | 31.80 ± 9.76 | 22.86 ± 8.13 | 20.57 ± 9.36 | 35.21 ± 10.98 | 19.26 ± 8.07 |
Misclassification rate (%) of different methods evaluated using GigaDB dataset.
| Subject | CSP | DFBCSP | SBLFB | SFTOFSRC | OPTICAL* | OPTICAL | Real-time |
|---|---|---|---|---|---|---|---|
| 1 | 27.30 ± 12.91 | 37.20 ± 9.54 | 37.20 ± 9.85 | 40.17 ± 10.63 | 20.70 ± 8.33 | 15.00 ± 9.05 | |
| 2 | 49.00 ± 9.31 | 50.20 ± 11.56 | 58.33 ± 8.64 | 45.70 ± 11.47 | 47.67 ± 12.37 | 23.25 ± 4.26 | |
| 3 | 11.40 ± 6.70 | 33.00 ± 10.15 | 8.40 ± 7.25 | 11.50 ± 6.97 | 8.60 ± 6.15 | 2.75 ± 2.19 | |
| 4 | 39.10 ± 9.41 | 49.40 ± 13.46 | 20.83 ± 10.99 | 24.10 ± 8.67 | 22.00 ± 10.05 | 14.50 ± 5.50 | |
| 5 | 1.00 ± 2.02 | 1.30 ± 2.22 | 1.00 ± 2.02 | 0.90 ± 1.94 | 1.00 ± 2.03 | 0.75 ± 1.21 | |
| 6 | 20.20 ± 9.31 | 20.20 ± 8.02 | 17.50 ± 8.16 | 20.67 ± 6.40 | 17.67 ± 7.74 | 8.00 ± 6.32 | |
| 7 | 50.42 ± 7.68 | 54.67 ± 10.02 | 48.33 ± 10.92 | 47.75 ± 11.33 | 47.22 ± 7.92 | 31.67 ± 7.20 | |
| 8 | 49.60 ± 11.20 | 55.00 ± 11.78 | 53.90 ± 11.97 | 58.00 ± 9.43 | 44.33 ± 11.65 | 24.00 ± 4.28 | |
| 9 | 49.50 ± 9.77 | 49.42 ± 11.67 | 44.33 ± 9.92 | 44.44 ± 9.75 | 43.75 ± 10.95 | 27.50 ± 4.89 | |
| 10 | 42.70 ± 11.62 | 58.30 ± 8.84 | 36.40 ± 10.05 | 48.00 ± 9.06 | 30.90 ± 11.77 | 14.25 ± 6.02 | |
| 11 | 45.80 ± 9.55 | 49.80 ± 10.15 | 45.33 ± 7.98 | 49.30 ± 11.20 | 42.67 ± 9.89 | 26.00 ± 6.69 | |
| 12 | 42.30 ± 8.82 | 37.40 ± 10.26 | 45.00 ± 10.51 | 34.50 ± 10.61 | 32.83 ± 8.97 | 15.75 ± 7.55 | |
| 13 | 46.30 ± 9.57 | 11.50 ± 8.03 | 18.33 ± 8.64 | 14.60 ± 7.75 | 15.50 ± 8.24 | 9.00 ± 2.93 | |
| 14 | 4.80 ± 4.28 | 35.60 ± 10.63 | 5.20 ± 5.34 | 6.17 ± 5.20 | 4.70 ± 4.56 | 1.50 ± 2.42 | |
| 15 | 49.90 ± 10.47 | 51.80 ± 11.94 | 48.83 ± 13.75 | 43.00 ± 14.29 | 35.33 ± 11.29 | 18.25 ± 7.91 | |
| 16 | 51.50 ± 11.92 | 51.60 ± 10.02 | 51.33 ± 10.25 | 52.10 ± 10.26 | 52.50 ± 11.89 | 26.75 ± 6.67 | |
| 17 | 51.80 ± 8.68 | 48.80 ± 9.88 | 47.50 ± 10.06 | 50.20 ± 12.78 | 50.33 ± 9.46 | 24.00 ± 4.12 | |
| 18 | 49.00 ± 11.61 | 51.90 ± 12.81 | 50.83 ± 9.83 | 49.30 ± 8.75 | 46.67 ± 8.34 | 24.00 ± 5.55 | |
| 19 | 45.50 ± 11.35 | 40.20 ± 9.20 | 47.00 ± 12.36 | 42.90 ± 10.79 | 42.83 ± 9.16 | 22.25 ± 5.95 | |
| 20 | 36.20 ± 9.61 | 42.70 ± 11.83 | 48.70 ± 10.73 | 47.17 ± 11.12 | 28.30 ± 10.67 | 12.00 ± 4.97 | |
| 21 | 45.70 ± 11.25 | 38.30 ± 10.53 | 35.20 ± 10.83 | 40.33 ± 9.73 | 40.20 ± 10.15 | 16.75 ± 6.46 | |
| 22 | 45.70 ± 10.93 | 45.70 ± 9.69 | 43.40 ± 11.71 | 44.00 ± 11.33 | 46.60 ± 9.71 | 41.33 ± 10.08 | 20.75 ± 3.55 |
| 23 | 32.60 ± 9.75 | 32.50 ± 10.66 | 25.40 ± 7.06 | 24.17 ± 9.11 | 19.80 ± 9.15 | 15.83 ± 8.31 | 9.75 ± 3.22 |
| 24 | 53.30 ± 11.41 | 54.50 ± 12.71 | 49.40 ± 9.18 | 50.50 ± 9.94 | 46.90 ± 10.97 | 39.33 ± 10.23 | 23.25 ± 5.14 |
| 25 | 56.70 ± 10.72 | 53.00 ± 12.78 | 47.67 ± 10.73 | 49.00 ± 9.74 | 47.00 ± 14.18 | 23.00 ± 4.97 | |
| 26 | 4.20 ± 4.21 | 4.30 ± 3.91 | 3.30 ± 3.73 | 5.00 ± 3.94 | 3.70 ± 4.02 | 1.50 ± 1.75 | |
| 27 | 52.50 ± 11.21 | 51.00 ± 10.50 | 46.50 ± 11.00 | 57.00 ± 10.40 | 55.33 ± 9.99 | 28.50 ± 5.30 | |
| 28 | 20.30 ± 8.60 | 24.80 ± 7.49 | 21.00 ± 8.08 | 24.17 ± 10.35 | 19.50 ± 8.28 | 12.00 ± 2.58 | |
| 29 | 54.80 ± 9.95 | 53.00 ± 11.87 | 57.70 ± 10.46 | 56.30 ± 11.15 | 57.00 ± 10.88 | 31.25 ± 7.38 | |
| 30 | 44.00 ± 9.53 | 47.80 ± 10.16 | 45.67 ± 10.06 | 44.80 ± 9.42 | 44.50 ± 10.45 | 22.25 ± 4.63 | |
| 31 | 45.00 ± 10.35 | 52.90 ± 11.78 | 38.20 ± 12.32 | 38.33 ± 6.61 | 38.60 ± 10.45 | 21.00 ± 3.57 | |
| 32 | 49.60 ± 11.01 | 52.00 ± 10.93 | 51.60 ± 12.27 | 49.60 ± 13.47 | 49.43 ± 11.99 | 24.75 ± 4.63 | |
| 33 | 48.90 ± 10.80 | 45.90 ± 10.63 | 46.20 ± 10.18 | 51.67 ± 11.24 | 47.20 ± 10.60 | 24.25 ± 5.66 | |
| 34 | 44.10 ± 12.02 | 46.40 ± 9.95 | 45.60 ± 10.03 | 45.83 ± 10.35 | 42.70 ± 9.96 | 24.50 ± 3.50 | |
| 35 | 18.90 ± 6.87 | 23.30 ± 8.96 | 27.70 ± 11.66 | 25.33 ± 9.91 | 18.40 ± 8.72 | 10.00 ± 2.89 | |
| 36 | 47.30 ± 12.50 | 46.70 ± 9.72 | 44.90 ± 11.85 | 48.67 ± 10.82 | 33.70 ± 12.49 | 19.50 ± 6.21 | |
| 37 | 26.60 ± 8.30 | 26.90 ± 9.94 | 26.00 ± 8.81 | 29.00 ± 8.65 | 23.80 ± 8.12 | 13.50 ± 6.15 | |
| 38 | 53.40 ± 10.66 | 51.70 ± 9.35 | 53.00 ± 9.52 | 52.40 ± 12.09 | 51.50 ± 12.12 | 33.50 ± 3.76 | |
| 39 | 28.60 ± 9.26 | 41.50 ± 10.22 | 29.80 ± 11.82 | 37.00 ± 9.25 | 28.20 ± 11.33 | 20.00 ± 6.12 | |
| 40 | 48.60 ± 9.32 | 47.50 ± 10.99 | 53.10 ± 10.25 | 48.40 ± 10.81 | 48.83 ± 9.16 | 31.00 ± 6.69 | |
| 41 | 25.70 ± 9.04 | 19.60 ± 10.39 | 27.50 ± 7.74 | 15.90 ± 7.47 | 14.67 ± 8.80 | 8.00 ± 2.30 | |
| 42 | 56.00 ± 7.95 | 57.00 ± 10.83 | 54.50 ± 8.84 | 51.10 ± 10.51 | 51.67 ± 10.11 | 27.25 ± 6.06 | |
| 43 | 6.70 ± 5.31 | 3.80 ± 4.47 | 3.60 ± 4.52 | 4.90 ± 4.79 | 4.17 ± 4.17 | 2.50 ± 2.36 | |
| 44 | 10.60 ± 6.11 | 9.80 ± 6.54 | 10.70 ± 6.47 | 17.00 ± 8.37 | 10.83 ± 7.55 | 5.25 ± 3.22 | |
| 45 | 46.20 ± 9.18 | 49.20 ± 10.27 | 49.40 ± 12.60 | 55.50 ± 11.62 | 47.50 ± 10.97 | 31.25 ± 8.76 | |
| 46 | 30.58 ± 7.46 | 35.58 ± 9.72 | 24.92 ± 9.16 | 31.81 ± 9.44 | 25.42 ± 8.71 | 12.70 ± 5.05 | |
| 47 | 27.10 ± 11.21 | 25.10 ± 8.36 | 29.10 ± 8.79 | 30.83 ± 11.07 | 25.83 ± 9.83 | 12.75 ± 5.46 | |
| 48 | 44.00 ± 10.69 | 19.00 ± 8.45 | 30.00 ± 8.41 | 35.30 ± 11.31 | 21.83 ± 9.69 | 11.50 ± 5.80 | |
| 49 | 10.50 ± 7.16 | 13.00 ± 6.70 | 12.50 ± 8.59 | 13.70 ± 6.91 | 12.50 ± 6.66 | 15.00 ± 6.12 | |
| 50 | 0.00 ± 0.00 | 0.00 ± 0.00 | 0.00 ± 0.00 | 0.00 ± 0.00 | 0.00 ± 0.00 | 0.00 ± 0.00 | 0.00 ± 0.00 |
| 51 | 50.40 ± 9.52 | 47.10 ± 9.69 | 45.67 ± 9.89 | 47.90 ± 11.39 | 46.83 ± 10.71 | 27.00 ± 5.11 | |
| 52 | 42.50 ± 9.75 | 49.60 ± 10.59 | 39.50 ± 9.81 | 43.00 ± 9.15 | 40.10 ± 10.86 | 19.00 ± 4.89 | |
| Average | 36.31 ± 9.14 | 38.46 ± 9.62 | 33.88 ± 9.38 | 36.80 ± 9.06 | 33.23 ± 9.38 | 17.78 ± 4.90 |
A comparison of the statistical measures of the proposed predictor with other competing methods.
| Dataset | Method | Sensitivity | Specificity | Cohen’s kappa index |
|---|---|---|---|---|
| BCI competition IV dataset 1 | CSP | 0.694 | 0.700 | 0.369 |
| DFBCSP | 0.794 | 0.795 | 0.542 | |
| SBLFB | 0.806 | 0.801 | 0.589 | |
| SFTOFSRC | 0.697 | 0.771 | 0.296 | |
| OPTICAL* | 0.817 | 0.808 | 0.615 | |
| OPTICAL |
|
|
| |
| GigaDB dataset | CSP | 0.638 | 0.621 | 0.297 |
| DFBCSP | 0.619 | 0.616 | 0.266 | |
| SBLFB | 0.666 | 0.658 | 0.339 | |
| SFTOFSRC | 0.623 | 0.531 | 0.291 | |
| OPTICAL* | 0.674 | 0.662 | 0.364 | |
| OPTICAL |
|
|
|
Figure 4Distribution of the best two features obtained using CSP and proposed predictor (OPTICAL).
Figure 5Accuracies of the LSTM network having two LSTM layers with varying number of hidden units obtained using subject a of BCI competition IV dataset 1. The x-axis represents the number of hidden units in the 1st LSTM layer, the y-axis represents the number of hidden units in the 2nd LSTM layer and z-axis represents the accuracy.
Figure 6Graph showing how the LSTM network learns the hyper-parameters to minimize the loss function.
Figure 7The misclassification rates of different experiments conducted using BCI competition IV dataset 1.