Abstract
Electroencephalography (EEG) motor imagery (MI) signals has recently attracted a great deal of attention as these signals encrypt a person's desire of executing a command. MI signals are used to assist disabled people and even for autonomous driving through some control devices like wheelchairs just by thinking about it. Therefore, an accurate MI tasks classification from EEG signals is cricial to get a reliable Brain Computer Interface (BCI) system. In this paper, we proposed a new method of classifying MI tasks based on Convolutional Neural Network (CNN) methods. We applied a simple preprocessing to the data followed by a feature extraction step using Common Spatial Pattern (CSP) to extract spatial features and Wavelet Packet Decomposition (WPD) to extract frequency-time features. We then tested our four proposed models: CNN, CNN+LSTM, CNN-SVM and CNN+LSTM-SVM using BCI Competition IV 2a dataset. The obtained experimental results show that the proposed CNN-SVM gives the best results. Our results are really promising achieving interesting accuracy, precision, recall, and F1 score of 64.33%, 65.05%, 66.11%, et 64.11%, respectively.















Similar content being viewed by others
Data availability
The dataset used in this study is public and can be found at the following links: BCI Competition IV dataset 2a.
References
Abdel-Hamid O, Mohamed AR, Jiang H, Deng L, Penn G, Yu D (2014) Convolutional neural networks for speech recognition. IEEE-ACM Transac Audio Speech Lang Proc 22(10):1533–1545
Arshad J, Qaisar A, Rehman AU, Shakir M, Nazir MK, Rehman AU, Eldin ET, Ghamry NA, Hamam H (2022) Intelligent Control of Robotic Arm Using Brain Computer Interface and Artificial Intelligence. Appl Sci 12:10813. https://doi.org/10.3390/app122110813
Bashivan P, Rish I, Yeasin M, Codella NC(2015) Learning representations from EEG with deep recurrentconvolutional neural networks. arXiv arXiv:1511.06448
Bengio Y, Ca M (2015). Rmsprop and equilibrated adaptive learning rates for nonconvex optimization. corrabs/1502.04390
Donahue J, Hendricks LA, Rohrbach M, Venugopalan S, Guadarrama S, Saenko K, Darrell T (2017) Long-term recurrent convolutional networks for visual recognition and description. IEEE Trans Pattern Anal Mach Intell:677–691
Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PC, Mark RG et al (2000) PhysioBank, physiotoolkit, and physionet components of a new research resource for complex physiologic signals. Circulation 101:215–220
Grosse-Wentrup M, Liefhold C, Gramann K, Buss M (2009) Beamforming in noninvasive brain-computer interfaces. Biomed Eng, IEEE Transac 56(4):1209–1219
Hou Y, Jia S, Lun X, Zhang S, Chen T, Wang F, Lv J (2022) Deep Feature Mining via the Attention-Based Bidirectional Long Short Term Memory Graph Convolutional Neural Network for Human Motor Imagery Recognition. Front Bioeng Biotechnol
Ikhtiyor M, Taegkeun W (2019) Efficient Classification of Motor Imagery Electroencephalography Signals Using Deep Learning Methods. Sensors 19:1736
Islam MR, Islam MM, Rahman MM et al (2021) EEG Channel Correlation Based Model for Emotion Recognition. Comput Biol Med 136:104757
Islam MR, Moni MA, Islam MM et al (2021) Emotion Recognition From EEG Signal Focusing on Deep Learning and Shallow Learning Techniques. In: IEEE Access, 9, pp. 94601-94624, https://doi.org/10.1109/ACCESS.2021.3091487
Kumar S, Sharma A, Mamun K, Tsunoda T (2017) A deep learning approach for motor imagery EEG signal classification. In: Proceedings of the 2016 3rd Asia-Pacific World Congress on Computer Science and Engineering (APWC on CSE), (Nadi: IEEE)
Parra LC, Spence CD, Gerson AD, Sajda P (2005) Recipes for the linear analysis of EEG. NeuroImage 28(2):326–341
Ramoser H, Muller-Gerking J, Pfurtscheller G (2000) Optimal spatial filtering of single trial EEG during imagined hand movement Rehabilitation Engineering. IEEE Transac 8:441–446
Sakhavi S, Guan C (2017) Convolutional neural network-based transfer learning and knowledge distillation using multi-subject data in motor imagery BCI. In: Proceedings of the International IEEE/EMBS Conference on Neural Engineering, Shanghai: IEEE, pp. 588–591
Sakhavi S, Guan C, Yan S (2015) Parallel convolutional-linear neural network for motor imagery classification. In: Proceedings of the European Signal Processing Conference, (Nice: IEEE), pp. 2736–2740
Schirrmeister RT, Springenberg JT, Fiederer LDJ, Glasstetter M, Eggensperger K, Tangermann M et al (2017) Deep learning with convolutional neural networks for EEG decoding and visualization. Hum Brain Mapp 38:5391–5420. https://doi.org/10.1002/hbm.23730
Tabar YR, Halici U (2017) A novel deep learning approach for classification of EEG motor imagery signals. J Neural Eng 14:016003. https://doi.org/10.1088/1741-2560/14/1/016003
Thanh N, Imali H, Amin K, Lee G-B, Chee PL, Saeid N (2018) Classification of Multi-Class BCI Data by Common Spatial Pattern and Fuzzy System. IEEE Access 6:27873–27884
Vinyals O, Toshev A, Bengio S, Erhan D (2015) Show and tell: a neural image caption generator. Proc IEEE Comp Soc Conf on Comp Vis and Pattern Recognition:3156–3164
Ward R, Wu X, Bottou L (2019) AdaGrad stepsizes: Sharp convergence over nonconvex landscapes. In: International Conference on Machine Learning (pp. 6677-6686). PMLR
Yu Z, Albera L, Le Bouquin Jeannes R, Kachenoura A, Karfoul A, Yang C, Shu H (2022) Epileptic Seizure Prediction Using Deep Neural Networks Via Transfer Learning and Multi-Feature Fusion. Int J Neural Syst 32(7):2250032. https://doi.org/10.1142/S0129065722500320
Zhang Z (2018) Improved adam optimizer for deep neural networks. In: 2018 IEEE/ACM 26th International Symposium on Quality of Service (IWQoS) (pp. 1-2). IEEE
W. Zheng and Z. Lin (2009) Optimizing multi-class spatio-spectral filters via Bayes error estimation for EEG classification. In: Proc. Adv. Neural Inf. Processing Syst, pp. 2268-2276
Zhu X, Li P, Li C, Yao D, Zhang R, Xu P (2019) Separated channel convolutional neural network to realize the training free motor imagery BCI systems. Biomed Sign Process Control 49:396–403
Funding
No funding was involved in the present work.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Informed consent statement
Not applicable.
Conflicts of interest
The authors declare they have no conflicts of interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Echtioui, A., Zouch, W., Ghorbel, M. et al. Convolutional neural network with support vector machine for motor imagery EEG signal classification. Multimed Tools Appl 82, 45891–45911 (2023). https://doi.org/10.1007/s11042-023-15468-w
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-15468-w