Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface

Motor imagery on electroencephalogram (EEG) signals is widely used in braincomputer interface (BCI) systems with many exciting applications. There are three major types of filtering for EEG signals- temporal, spectral, and spatial filtering. Spatial filtering using Common Spatial Pattern (CSP) is an...

Full description

Saved in:
Bibliographic Details
Main Author: Che Man, Muhammad Afiq
Format: Thesis
Language:English
Published: 2022
Subjects:
Online Access:http://eprints.utm.my/id/eprint/99624/1/MuhamadAfiqCheManMMJIIT2022.pdf
http://eprints.utm.my/id/eprint/99624/
http://dms.library.utm.my:8080/vital/access/manager/Repository/vital:150845
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.utm.99624
record_format eprints
spelling my.utm.996242023-03-08T03:38:51Z http://eprints.utm.my/id/eprint/99624/ Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface Che Man, Muhammad Afiq T Technology (General) Motor imagery on electroencephalogram (EEG) signals is widely used in braincomputer interface (BCI) systems with many exciting applications. There are three major types of filtering for EEG signals- temporal, spectral, and spatial filtering. Spatial filtering using Common Spatial Pattern (CSP) is an established method of processing EEG signals as classifier inputs. With the recent advent of deep learning, many deep learning classifiers have been adopted, including Recurrent Neural Network (RNN) and Convolutional Neural Networks (CNNs). In the early adoption of CNN to solve BCI based on EEG, the raw EEG signal is fed to CNN for classification. However, in the recent trend, various representations of CNN exist for BCI EEG classification, either spatial or temporal only, or a combination of both, or other similar features to enhance the signal further. Also, there exist multiple implementations of attention networks for BCI EEG classification. However, most of the existing work does not utilize a good filter and spatial or temporal representation by using attention networks. This study develops a framework using CSP and Short-Time Fourier Transform (STFT) as well as Attention Convolutional Neural Network (CSP-STFT-attCNN) for EEG BCI classification. The features from CSP are translated into the spatial domain using STFT as input to attention-based CNN as the classifier. The first step is to preprocess the raw EEG signals, perform channel selection, separate them into train and test data, and apply CSP-STFT. Then, the model architecture to train with the data is defined. This framework uses attention-based CNNs to classify the collected spatial images across different test subjects. Finally, the performance of the CSP-STFTattCNN has been validated on two BCI benchmark datasets 1) Competition III dataset IVa 2) Competition IV dataset I. The proposed CSP-STFT-attCNN has proved that the framework based on CSP-STFT as feature extractor and Attention-CNNs offers a promising result; the classifier achieved better performance in terms of classification accuracy, averaging 80% across all five subjects for Competition III dataset IVa. The precision and recall are excellent too, ranging around 0.8-0.9. Nonetheless CSP-STFTattCNN did not perform as well with the other dataset, hence the reasons are explored further. In general, the proposed CSP-STFT-attCNN can offer richer joint spatiotemporal features as inputs to classifiers, whereas using an Attention-CNN classifier improves upon the earlier problems suffered by CNNs. 2022 Thesis NonPeerReviewed application/pdf en http://eprints.utm.my/id/eprint/99624/1/MuhamadAfiqCheManMMJIIT2022.pdf Che Man, Muhammad Afiq (2022) Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface. Masters thesis, Universiti Teknologi Malaysia. http://dms.library.utm.my:8080/vital/access/manager/Repository/vital:150845
institution Universiti Teknologi Malaysia
building UTM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Malaysia
content_source UTM Institutional Repository
url_provider http://eprints.utm.my/
language English
topic T Technology (General)
spellingShingle T Technology (General)
Che Man, Muhammad Afiq
Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface
description Motor imagery on electroencephalogram (EEG) signals is widely used in braincomputer interface (BCI) systems with many exciting applications. There are three major types of filtering for EEG signals- temporal, spectral, and spatial filtering. Spatial filtering using Common Spatial Pattern (CSP) is an established method of processing EEG signals as classifier inputs. With the recent advent of deep learning, many deep learning classifiers have been adopted, including Recurrent Neural Network (RNN) and Convolutional Neural Networks (CNNs). In the early adoption of CNN to solve BCI based on EEG, the raw EEG signal is fed to CNN for classification. However, in the recent trend, various representations of CNN exist for BCI EEG classification, either spatial or temporal only, or a combination of both, or other similar features to enhance the signal further. Also, there exist multiple implementations of attention networks for BCI EEG classification. However, most of the existing work does not utilize a good filter and spatial or temporal representation by using attention networks. This study develops a framework using CSP and Short-Time Fourier Transform (STFT) as well as Attention Convolutional Neural Network (CSP-STFT-attCNN) for EEG BCI classification. The features from CSP are translated into the spatial domain using STFT as input to attention-based CNN as the classifier. The first step is to preprocess the raw EEG signals, perform channel selection, separate them into train and test data, and apply CSP-STFT. Then, the model architecture to train with the data is defined. This framework uses attention-based CNNs to classify the collected spatial images across different test subjects. Finally, the performance of the CSP-STFTattCNN has been validated on two BCI benchmark datasets 1) Competition III dataset IVa 2) Competition IV dataset I. The proposed CSP-STFT-attCNN has proved that the framework based on CSP-STFT as feature extractor and Attention-CNNs offers a promising result; the classifier achieved better performance in terms of classification accuracy, averaging 80% across all five subjects for Competition III dataset IVa. The precision and recall are excellent too, ranging around 0.8-0.9. Nonetheless CSP-STFTattCNN did not perform as well with the other dataset, hence the reasons are explored further. In general, the proposed CSP-STFT-attCNN can offer richer joint spatiotemporal features as inputs to classifiers, whereas using an Attention-CNN classifier improves upon the earlier problems suffered by CNNs.
format Thesis
author Che Man, Muhammad Afiq
author_facet Che Man, Muhammad Afiq
author_sort Che Man, Muhammad Afiq
title Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface
title_short Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface
title_full Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface
title_fullStr Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface
title_full_unstemmed Joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface
title_sort joint common spatial pattern and short-time fourier transform with attention-based convolutional neural networks for brain computer interface
publishDate 2022
url http://eprints.utm.my/id/eprint/99624/1/MuhamadAfiqCheManMMJIIT2022.pdf
http://eprints.utm.my/id/eprint/99624/
http://dms.library.utm.my:8080/vital/access/manager/Repository/vital:150845
_version_ 1761616358066356224
score 13.159267