A transfer learning-based CNN and LSTM hybrid deep learning model to classify motor imagery EEG signals
- PMID: 35168083
- DOI: 10.1016/j.compbiomed.2022.105288
A transfer learning-based CNN and LSTM hybrid deep learning model to classify motor imagery EEG signals
Abstract
In the Motor Imagery (MI)-based Brain Computer Interface (BCI), users' intention is converted into a control signal through processing a specific pattern in brain signals reflecting motor characteristics. There are such restrictions as the limited size of the existing datasets and low signal to noise ratio in the classification of MI Electroencephalogram (EEG) signals. Machine learning (ML) methods, particularly Deep Learning (DL), have overcome these limitations relatively. In this study, three hybrid models were proposed to classify the EEG signal in the MI-based BCI. The proposed hybrid models consist of the convolutional neural networks (CNN) and the Long-Short Term Memory (LSTM). In the first model, the CNN with different number of convolutional-pooling blocks (from shallow to deep CNN) was examined; a two-block CNN model not affected by the vanishing gradient descent and yet able to extract desirable features employed; the second and third models contained pre-trained CNNs conducing to the exploration of more complex features. The transfer learning strategy and data augmentation methods were applied to overcome the limited size of the datasets by transferring learning from one model to another. This was achieved by employing two powerful pre-trained convolutional neural networks namely ResNet-50 and Inception-v3. The continuous wavelet transform (CWT) was used to generate images for the CNN. The performance of the proposed models was evaluated on the BCI Competition IV dataset 2a. The mean accuracy vlaues of 86%, 90%, and 92%, and mean Kappa values of 81%, 86%, and 88% were obtained for the hybrid neural network with the customized CNN, the hybrid neural network with ResNet-50 and the hybrid neural network with Inception-v3, respectively. Despite the promising performance of the three proposed models, the hybrid neural network with Inception-v3 outperformed the two other models. The best obtained result in the present study improved the previous best result in the literature by 7% in terms of classification accuracy. From the findings, it can be concluded that transfer learning based on a pre-trained CNN in combination with LSTM is a novel method in MI-based BCI. The study also has implications for the discrimination of motor imagery tasks in each EEG recording channel and in different brain regions which can reduce computational time in future works by only selecting the most effective channels.
Keywords: BCI; Convolutional neural network; Hybrid neural network; LSTM; MI; Transfer learning.
Copyright © 2022 Elsevier Ltd. All rights reserved.
Similar articles
-
Enhanced electroencephalogram signal classification: A hybrid convolutional neural network with attention-based feature selection.Brain Res. 2025 Mar 15;1851:149484. doi: 10.1016/j.brainres.2025.149484. Epub 2025 Feb 2. Brain Res. 2025. PMID: 39904453
-
Data Augmentation for Motor Imagery Signal Classification Based on a Hybrid Neural Network.Sensors (Basel). 2020 Aug 11;20(16):4485. doi: 10.3390/s20164485. Sensors (Basel). 2020. PMID: 32796607 Free PMC article.
-
An end-to-end CNN with attentional mechanism applied to raw EEG in a BCI classification task.J Neural Eng. 2021 Aug 25;18(4). doi: 10.1088/1741-2552/ac1ade. J Neural Eng. 2021. PMID: 34352734
-
Automatic feature extraction and fusion recognition of motor imagery EEG using multilevel multiscale CNN.Med Biol Eng Comput. 2021 Oct;59(10):2037-2050. doi: 10.1007/s11517-021-02396-w. Epub 2021 Aug 23. Med Biol Eng Comput. 2021. PMID: 34424453 Review.
-
A review of critical challenges in MI-BCI: From conventional to deep learning methods.J Neurosci Methods. 2023 Jan 1;383:109736. doi: 10.1016/j.jneumeth.2022.109736. Epub 2022 Oct 29. J Neurosci Methods. 2023. PMID: 36349568 Review.
Cited by
-
An improved model using convolutional sliding window-attention network for motor imagery EEG classification.Front Neurosci. 2023 Aug 15;17:1204385. doi: 10.3389/fnins.2023.1204385. eCollection 2023. Front Neurosci. 2023. PMID: 37662108 Free PMC article.
-
CLTNet: A Hybrid Deep Learning Model for Motor Imagery Classification.Brain Sci. 2025 Jan 27;15(2):124. doi: 10.3390/brainsci15020124. Brain Sci. 2025. PMID: 40002457 Free PMC article.
-
Fog Computing for Control of Cyber-Physical Systems in Industry Using BCI.Sensors (Basel). 2023 Dec 27;24(1):149. doi: 10.3390/s24010149. Sensors (Basel). 2023. PMID: 38203012 Free PMC article.
-
Intelligent Extraction of Salient Feature From Electroencephalogram Using Redundant Discrete Wavelet Transform.Front Neurosci. 2022 Jun 1;16:921642. doi: 10.3389/fnins.2022.921642. eCollection 2022. Front Neurosci. 2022. PMID: 35720691 Free PMC article.
-
A convolutional recurrent neural network with attention for response prediction to repetitive transcranial magnetic stimulation in major depressive disorder.Sci Rep. 2023 Jun 22;13(1):10147. doi: 10.1038/s41598-023-35545-2. Sci Rep. 2023. PMID: 37349335 Free PMC article.
LinkOut - more resources
Full Text Sources