Next Article in Journal
Resource Allocation for GBR Services in D2D-Enabled Communication
Next Article in Special Issue
Comparing VR- and AR-Based Try-On Systems Using Personalized Avatars
Previous Article in Journal
A Survey of Context-Aware Recommendation Schemes in Event-Based Social Networks
Previous Article in Special Issue
Hand Movement Activity-Based Character Input System on a Virtual Keyboard
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Motor-Imagery Classification Using Riemannian Geometry with Median Absolute Deviation

1
Bangladesh Army University of Science and Technology, Saidpur 5311, Bangladesh
2
School of Computer Science and Engineering, The University of Aizu, Aizuwakamatsu, Fukushima 965-8580, Japan
*
Author to whom correspondence should be addressed.
Electronics 2020, 9(10), 1584; https://doi.org/10.3390/electronics9101584
Submission received: 1 September 2020 / Revised: 23 September 2020 / Accepted: 24 September 2020 / Published: 27 September 2020
(This article belongs to the Special Issue Human Computer Interaction and Its Future)

Abstract

:
Motor imagery (MI) from human brain signals can diagnose or aid specific physical activities for rehabilitation, recreation, device control, and technology assistance. It is a dynamic state in learning and practicing movement tracking when a person mentally imitates physical activity. Recently, it has been determined that a brain–computer interface (BCI) can support this kind of neurological rehabilitation or mental practice of action. In this context, MI data have been captured via non-invasive electroencephalogram (EEGs), and EEG-based BCIs are expected to become clinically and recreationally ground-breaking technology. However, determining a set of efficient and relevant features for the classification step was a challenge. In this paper, we specifically focus on feature extraction, feature selection, and classification strategies based on MI-EEG data. In an MI-based BCI domain, covariance metrics can play important roles in extracting discriminatory features from EEG datasets. To explore efficient and discriminatory features for the enhancement of MI classification, we introduced a median absolute deviation (MAD) strategy that calculates the average sample covariance matrices (SCMs) to select optimal accurate reference metrics in a tangent space mapping (TSM)-based MI-EEG. Furthermore, all data from SCM were projected using TSM according to the reference matrix that represents the featured vector. To increase performance, we reduced the dimensions and selected an optimum number of features using principal component analysis (PCA) along with an analysis of variance (ANOVA) that could classify MI tasks. Then, the selected features were used to develop linear discriminant analysis (LDA) training for classification. The benchmark datasets were considered for the evaluation and the results show that it provides better accuracy than more sophisticated methods.

1. Introduction

Motor imagery (MI) from human brain signals is an important and challenging technology that can be used to diagnose diseases or help with performing certain physical tasks, including rehabilitation, recreation, device control, and technology assistance [1,2,3]. Using a brain–computer interface (BCI), brain signals can be captured by non-invasive electroencephalograms (EEGs), analyzed, and translated into commands that perform desired actions related to the output device. The challenging aspect of BCI is processing signals for classification. It is necessary to determine the control signal from a brain’s activity for the application of BCI tasks. The human brain has different areas and functions and is divided into two hemispheres, right and left. The left side of the body is controlled by the right hemisphere and associated with creativity, spatial orientation, imagination, emotion, and multitasking. The right side of the body is controlled by the left hemisphere and performs logical tasks with scientific and mathematical thinking. However, it belongs to the four lobes of frontal, parietal, temporal, and occipital. The frontal lobes control behavior, action, and problem-solving ability. The parietal lobes are charged with interpreting reality. The occipital lobe is responsible for receiving information from the eyes and then distributing this information to other parts of the brain. Finally, it is the responsibility of the temporal lobe to keep the memories, and it enables listening and speaking. To see this type of brain activity in the human brain, the EEG is one way for the BCI system that does not require surgery to use—only some inexpensive equipment. Therefore, the BCI system is used to translate EEGs into the corresponding control signals.
During different movements of the imagination, a MI-BCI uses the characteristics of the central beta and mu rhythm that can be observed in the sensorimotor area [4]. It is used to investigate imagery of voluntary movements in various parts of the body, such as fingers, tongue, and foot [5]. The results of the action imagery involve in a systematic way engaging sections of the primary motor cortex, and enable specific representations of certain parts in the non-motor region. However, finding appropriate features and signal processing techniques is of great concern due to noise and interference. We focused on classifying motor imagery tasks such as controlling the tongue and controlling the foot by extracting effective features from an EEG-based MI dataset. The important features were revealed for MI functions that can be used to recover and rehabilitate a user’s motor function.
This paper proposes a robust estimate of the average use of the covariance matrix of an EEG signal, which performs better than the state-of-the-art methods. We propose a median absolute deviation (MAD) method for selecting the centrality of the EEG covariance matrix. Using average points, all covariance matrix data from sample covariance matrices (SCMs) were mapped using TSM. Moreover, we selected optimal feature dimensions using PCA to increase performance for classifying MI tasks via linear discriminant analysis (LDA).
This paper continues as follows. Section 2 discusses the background work of MI-BCI-based applications and classification methods. Section 3 defines the basic structures of our proposed motor imagery classification system. We describe the process of calculating average points, the reference matrix, feature extraction and selection, and finally, classification steps. In Section 4, we explain experimental datasets and evolutionary results, and there is a brief discussion of the results and process. Section 5 summarizes this work.

2. Background

Many researchers have proposed different methods for the application and classification of an MI-BCI based on spatiotemporal and time-frequency analyses. An adaptive autoregressive (AAR) approach with LDA was proposed to classify dual responses consistent with left and right aspects [6]. A common spatial pattern (CSP) was applied to decode motor imagery for improving classification accuracy [7,8,9,10,11,12]. However, the performance evaluation of CSP was influenced by the frequency band of the EEG segments and the time window. Nicholas et al. proposed to exclude some effective features from non-invasive EEG signals, i.e., visually-evoked potential, P300 response, slow cortical potentials, and sensorimotor rhythm [13]. However, the features of the non-invasive BCI are limited in terms of speed, reliability, and accuracy. The CSP method was applied for extracting the correct frequency band from the individual power incident with event-related synchronization (ERS) patterns [14]. In this case, the narrowband frequency sub-band method was developed to select subject-specific frequency bands to evaluate the effective performance of the BCI [15,16,17]. These methods can effectively explain MI activities, but it is reasonable to utilize a binary classification, which limits the applications of MI-based BCI.
Furthermore, Riemannian geometry can be used to identify the actual purpose of brain activity due to the narrow EEG signal. In [18], the authors employed the concept of a covariance matrix in the Riemannian manifold to process radar signals. The Riemannian distance of a symmetric positive definite matrix was applied to motor imagery-based applications in the BCI [19]. In Reference [20], the Riemannian-based kernel was used to extract features from the MI-based BCI using the Romanian geometry method, i.e., TSM. The TSM was used to map all sample covariance matrices as averages onto a linear tangent space. However, the main challenge for the Riemannian manifold and TSM is to calculate the SCM reference point due to the high outlier. In Reference [21], the authors proposed various mean and medium methods for calculating the SCM’s reference matrix. In Reference [22], the authors employed a mean absolute deviation technique to improve the effectiveness of TSM. A system using Riemannian geometry was developed to store more data variants of PCA for symmetric positive specific (SPD) matrices [23]. However, a higher variance of EEG signals does not make the method effective. The outliers of the EEG data and test conditions are a major concern for the precise centralization of the tangent space.

3. Proposed Methodology

The proposed method uses multi-channel EEG signals for MI classification. The fourth-order Butterworth filtering technique was used to reduce noise from the input signal. Then, we calculated the SCM and obtained reference metrics from SCMs using the MAD technique. The TSM refers to Riemannian geometry yields to extract the feature vector using the reference matrix. To select the discriminative features, we applied PCA including ANOVA. Finally, the MI tasks were classified by using LDA for a BCI application. Figure 1 depicts the block diagram of our proposed system.

3.1. Use of Covariance Matrices in BCI

In this work, the SCMs were computed in the ith trials via the following equation (Equation (1)).
P i = 1 t 1 X i X i T R n × n
where the dataset contains sample points t and has n channels of MI-based EEG signals, and the dataset can be written as R n × n . The SCM was applied to create a spatial filter for extracting EEG features [24]. To apply TSM, we have considered the Riemannian manifold. The Riemannian manifold contains the SCM that perceived the Riemannian space. The entire n × n symmetric covariance matrices space is denoted by S ( n ) = { S M ( n ) , S T = S } in the square real matrices’ space of M ( n ) and the set of entire n × n symmetric positive-definite matrices by P ( n ) = { P S ( n ) , u T P u > 0 , u R n } . Therefore, we define P ( m ) = { P S ( m ) | u T P u > 0 , u m , u 0 } of a set of all m × m real symmetric matrices, once the SCM represents the positive definite and symmetric matrices in the space of the Riemannian manifold M of dimension m ( m + 1 ) 2 . An SPD matrix is always diagonal, with a strictly positive eigenvalue [25]. Finally, all sets of n × n invertible matrices are in S ( n ) space, where a tangent space is laying with an m = n ( n + 1 ) 2 dimensional. The tangent space is a derivative of matrix point P g calculated by averaging the manifold lies in a vector space at T P at P g point.

3.2. Reference Matrices Calculation from Covariance Matrices

To apply TSM to the covariance matrix, it was necessary to calculate the centre point of the covariance matrix. Based on the central point, all data points could be mapped from non-Euclidean space (covariance data) to linear space (or a tangent space). The efficiency of the TSM mapping method was strongly dependant on the central points of the covariance matrix. We calculated different types of the mean and median for selecting the centrality of covariance matrices via Equations (2) and (3).
P M E A N = a r g min P P ( M ) i = 1 n d E 2 ( P , P i )
P M E D = a r g min P S ( M ) i = 1 n d ( P , P i )
where P 1 , , P n defines covariance matrices and distance function is denoted by d ( . , . ) in space P ( M ) , over the distance function d E ( . , . ) . Table 1 lists the functions of the state-of-the-art methods [26,27].
In this work, we propose the MAD to calculate the central points of the covariance matrix and the procedures of action of the MAD as conveyed below:
Step 1:
Sorted data values in ascending order. Replace the same or repeated varieties with different varieties as necessary within the given knowledge set.
Step 2:
If the number of observations is odd, calculate the median of the given data by dividing it by two; otherwise, it express the two midmost numbers as normal.
Step 3:
Calculate the deviation of each value from the median by subtracting every median value.
Step 4:
Then, calculate the absolute value of each deviation.
Step 5:
Select all perfect deviations in ascending order and calculate the median of these deviations according to step 2. These median values are known as MAD.

3.3. Feature Extraction, Feature Selection, and Classification

3.3.1. Feature Extraction

We extracted features from the input signal that could be used as a basis for differentiating MI tasks. For this, a set of trials was collected for each section of the MI signal, and the SCM for each trial was calculated using Equation (4).
S i = u p p e r ( l o g ( P G 1 2 P i P G 1 2 )
Here m-dimensional vector S i is the normalised tangent space of covariance matrices. Therefore, all covariance metrics are transmitted to Euclidean space using TSM. After mapping via TSM, we obtained a feature space S which was a set of m = n ( n + 1 ) 2 dimension vectors [22]. The algorithm of the TSM working procedure is provided in Algorithm 1.
Algorithm 1: Tangent space mapping (TSM).
 Input: SPD matrices set I with P i P ( n )
 Output: a set of I vector s i
   1:
 Compute Riemannian mean of the whole set, P G = G ( P i , i = 1 I )
   2:
 for i = 1 to I do
   3:
S i = u p p e r ( l o g ( P G 1 2 L o g P G ( P i ) P G 1 2 )
   4:
 end for
   5:
 return s i

3.3.2. Feature Selection

In order to reduce the calculation time and increase the accuracy, several important features were selected and transferred to the classification model. To regulate the dimension space by comparing it with the number of trials in each class, the vector V can be orthogonalized using a singular value decomposition (SVD), as shown in Equation (5).
S = U V T
Here S R d n , U R d d , and V R n n are all from an orthogonal matrix and the R d n has a diagonal matrix that belongs to the singular values of S. Therefore, the tangent space S can be estimated by Equation (6) using the orthogonal matrix U which refers to the PCA [24]. We applied PCA to tangent spaces, which reduced the dimensions of the feature vectors. Therefore, we applied the one-way ANOVA method to select efficient features from reducing vectors. All components applied to the PCA were ranked according to their p-values, and the minimum number of components was set using the weighted false discovery rate (FDR) with the expected ratio of false rejection for all rejections. However, we calculated the p-value for each trial/row by F scores and determined the threshold value p < 0.8 based on the FDR function.
S 0 = U T S

3.3.3. Classification

The effective feature vector obtained from the EEG trial is presented in the corresponding task classification. Identifying a set of observation classes based on the training set data with available class labels was a major concern. However, LDA has been frequently adopted in recent studies for MI classification [28,29]. LDA is an effective statistical technique used for EEG data classification. The main purpose of the LDA is to create a predictive model for a group member to separate data, representing different classes, using hyperplanes [30]. This predictive model has a linear discriminate function that maximizes the ratio between class variations in a dataset. The LDA efficiently deals with two-tier training data using these variance allowances. In this paper, we separated the feature data into two classes—the foot and tongue; and the LDA was used to assign hyperplanes to separate the feature data representing the two classes [31]. Figure 2 shows the example of the projections of two classes of LDA. The algorithm projects all feature data to a new location using the Equation (7).
y i = W T x
where x and W are the numbers of class labels and projection vectors, respectively. However, the vector projected (X − 1) classes into a new space and all linear projections employed the following cost function of the Equation (8), where m and S are defined as the mean and variance of the feature vectors.
j ( w ) = ( m 1 m 2 ) 2 ( S 1 2 + S 2 2 )

4. Experimental Dataset, Results, and Discussion

4.1. Dataset Descriptions

We have evaluated the effectiveness of our proposed method based on the publicly accessible BCI-EEG datasets, such as the BCI Competition IV benchmark dataset IIa (BCI IV-IIa), and the BCI Competition III benchmark dataset IIIa (BCI III-IIIa).
  • BCI III-IIIa (binary-class)
BCI III-IIIa recorded the MI-EEG signals of task movements using the left and right hands, both feet, and the tongue [32]. Data were collected from 60 channels and each class has 60 trials. The signal was discretised at 250 Hz and filtered between 1 Hz and 50 Hz. Evidence of a data point in this direction was recorded from a total of three people performing MI tasks, and several runs (at least six) were performed in each class, including 40 trials. All data were concatenated in a single unit and stored in a general data format (GDF).
  • BCI IV- IIa (Two-classes)
This dataset contains nine labelled EEG signals similar to A01T–A09T, respectively, where nine subjects participated [33]. There were four different imaginings of MI activity, i.e., using the left and right hands, both feet, and the tongue. For this, two sessions (at least six runs per session) were recorded for each subject. A total of 288 trials were recorded per session with 48 trials for each run and 12 for four possible classes. For the purpose of using this dataset, we have considered data from five (A01T, A03T, A07T, A08T, A09T) subjects for feature extraction and classification steps.

4.2. Experimental Evaluation, Results, and Discussion

The proposed method was implemented with BCI IV-IIa and BCI III-IIIa to classify the MI activity. We have considered a binary classification process to differentiate the effectiveness of MI for the left hand and feet movement. After preprocessing, a feature vector was extracted using TSM and the MI task was classified by LDA. To obtain an efficient feature, we calculated the central point of the covariance matrix. For the experiment, we calculated the average covariance matrix using our proposed method. Figure 3 shows the comparison of the average recognition accuracies of all datasets using our proposed method against more sophisticated methods.
Table 2 lists the accuracy of the classification of the tangent space mapping with linear discriminant analysis (TSMLDA) with different central points of the sample of the covariance matrix with LDA for BCI III-IIIa. The average accuracies of our proposed method for each subject were 93.33%, 95.83%, and 75%, respectively. The average accuracy of all subjects was 88.05%, which was better than the other methods. The accuracies of the feet and tongue MI tasks for each subject are listed in Table 3. From these experimental results, we found that the maximum average accuracy for "K6B" was 95.83%.
Table 4 illustrates the observations of the differences between the feet and tongue trials. The results showed that our proposed method calculated more efficient average points from the SCM and achieved a better performance. The results of the final average classification were determined for 280 trials for each condition. The average accuracy was found to be 90.33% using our proposed method. Table 5 lists the label wise accuracy of each subject where the highest accuracy is shown 95.83% for the ‘A08’ subject.
These results show that the classification effectiveness of our proposed method is comparatively better than other methods. The significance of our average calculation techniques surpassed the other techniques, as shown in Figure 2. In Reference [34], the authors employed BCI-based EEG datasets for two-class problems, with different forms of CSP experiments, including CSP [17], SBCSP [18], FBCSP [20], and the CSP-TSM method. However, the statistical mean (arithmetic mean) of the TSM method was reported for comparing CSP, TSM, and CSP-TSM. In our experiment, TSM methods were applied to partial sets of classes (we considered two-class problems) with BCI III-IIIa and IV-IIa. The classification performances of TSM with MAD were 3.14% and 5.4% higher than those of TSM with other reference matrices for BCI III-IIIa and IV-IIa, respectively (see Table 2 and Table 4). Table 6 lists the accuracy of the proposed TSM using the MAD method as compared to the sophisticated methods based on BCI III-IIIa. These results show that the proposed method increased the performance by 6.94%, 0.42%, 6.39%, 5.09%, 3.8%, and 4.53% compared to SRCSP, MDRM, HOREV-MDRM, WOLA-CSP, and TSGSP, respectively.
Table 7 lists the accuracy of the proposed TSM using the MAD method as compared to the sophisticated method based on BCI IV-IIa. These results show that the proposed method increased the performance by 12.85%, 5.75%, 3.62%, 0.05%, and 6.13% compared to CSP+LDA, TLCSP1, FBCSP with LR, WOLA-CSP, and TSLDA, respectively. As a result, we can state that the use of the MAD-based average method can increase the accuracy of the MI-based BCI classification, which was evaluated by the proposed method.

5. Conclusions

This paper showed significant improvements in the steps needed to classify MI activity using the average framework MAD. We considered the binary class to classify MI tasks for tongue and feet movement. Two benchmark datasets were studied in this work. We have proposed a MAD strategy to address the issue of the noise and nonstationary aspects of EEG signals concerned with the tangent space on the map. Moreover, we compared it to more sophisticated methods and applied the optimal number of feature dimensions to the classification steps. We have proposed TSMLDA as a classifier to categorize the activity of MI. The experimental results achieved the average recognition accuracies for MI tasks of 88.05% for BCI III-IIIa, and 90.33% of BCI IV-IIa. The summary of these results is that the proposed method performed much more accurately than the sophisticated method.

Author Contributions

Conceptualization, A.S.M.M., M.A.R., and J.S.; methodology, A.S.M.M.; software, A.S.M.M.; validation, A.S.M.M., M.A.R., and J.S.; formal analysis, A.S.M.M., M.A.R., and J.S.; investigation, A.S.M.M. and M.A.R.; resources, J.S.; data curation, A.S.M.M.; writing—original draft preparation, A.S.M.M. and M.A.R.; writing–review and editing, A.S.M.M., M.A.R., and J.S.; visualization, J.S.; supervision, J.S.; project administration, J.S.; funding acquisition, J.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ang, K.K.; Guan, C. EEG-based strategies to detect motor imagery for control and rehabilitation. IEEE Trans. Neural Syst. Rehabil. Eng. 2016, 25, 392–401. [Google Scholar] [CrossRef] [PubMed]
  2. Xu, B.; Li, W.; He, X.; Wei, Z.; Zhang, D.; Wu, C.; Song, A. Motor Imagery Based Continuous Teleoperation Robot Control with Tactile Feedback. Electronics 2020, 9, 174. [Google Scholar] [CrossRef] [Green Version]
  3. Zhang, X.; Yong, X.; Menon, C. Evaluating the versatility of EEG models generated from motor imagery tasks: An exploratory investigation on upper-limb elbow-centered motor imagery tasks. PLoS ONE 2017, 12, e0188293. [Google Scholar]
  4. Yuan, H.; He, B. Brain—Computer interfaces using sensorimotor rhythms: Current state and future perspectives. IEEE Trans. Biomed. Eng. 2014, 61, 1425–1435. [Google Scholar] [CrossRef] [Green Version]
  5. Ehrsson, H.H.; Geyer, S.; Naito, E. Imagery of voluntary movement of fingers, toes, and tongue activates corresponding body-part-specific motor representations. J. Neurophysiol. 2003, 90, 3304–3316. [Google Scholar] [CrossRef] [Green Version]
  6. Islam, M.R.; Tanaka, T.; Molla, M.K. Multiband tangent space mapping and feature selection for classification of EEG during motor imagery. J. Neural Eng. 2018, 15, 046021. [Google Scholar] [CrossRef]
  7. Ramoser, H.; Muller-Gerking, J.; Pfurtscheller, G. Optimal spatial filtering of single trial EEG during imagined hand movement. IEEE Trans. Rehabil. Eng. 2000, 8, 441–446. [Google Scholar] [CrossRef] [Green Version]
  8. Xygonakis, I.; Athanasiou, A.; Pandria, N.; Kugiumtzis, D.; Bamidis, P.D. Decoding motor imagery through common spatial pattern filters at the EEG source space. Comput. Intell. Neurosci. 2018. [Google Scholar] [CrossRef] [Green Version]
  9. Samek, W.; Kawanabe, M. Robust common spatial patterns by minimum divergence covariance estimator. In Proceedings of the 2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Florence, Italy, 4–9 May 2014; pp. 2040–2043. [Google Scholar]
  10. Tang, Z.; Sun, S.; Zhang, S.; Chen, Y.; Li, C.; Chen, S. A brain-machine interface based on ERD/ERS for an upper-limb exoskeleton control. Sensors 2016, 16, 2050. [Google Scholar] [CrossRef] [Green Version]
  11. Lotte, F.; Guan, C. Regularizing common spatial patterns to improve BCI designs: Unified theory and new algorithms. IEEE Trans. Biomed. Eng. 2010, 58, 355–362. [Google Scholar]
  12. Zhang, Y.; Nam, C.S.; Zhou, G.; Jin, J.; Wang, X.; Cichocki, A. Temporally constrained sparse group spatial patterns for motor imagery BCI. IEEE Trans. Cybern. 2018, 49, 3322–3332. [Google Scholar] [CrossRef] [PubMed]
  13. Nicolas-Alonso, L.F.; Gomez-Gil, J. Brain computer interfaces: A review. Sensors 2012, 12, 1211–1279. [Google Scholar] [CrossRef] [PubMed]
  14. Tang, Z.C.; Li, C.; Wu, J.F.; Liu, P.C.; Cheng, S.W. Classification of EEG-based single-trial motor imagery tasks using a B-CSP method for BCI. Front. Inf. Technol. Electron. Eng. 2019, 20, 1087–1098. [Google Scholar] [CrossRef]
  15. Novi, Q.; Guan, C.; Dat, T.H.; Xue, P. Sub-band common spatial pattern (SBCSP) for brain-computer interface. In Proceedings of the 2007 3rd International IEEE/EMBS Conference on Neural Engineering, Kohala Coast, HI, USA, 2–5 May 2007; pp. 204–207. [Google Scholar]
  16. Khan, J.; Bhatti, M.H.; Khan, U.G.; Iqbal, R. Multiclass EEG motor-imagery classification with sub-band common spatial patterns. EURASIP J. Wirel. Commun. Netw. 2019, 2019, 174. [Google Scholar] [CrossRef] [Green Version]
  17. Joy, M.M.; Hasan, M.; Miah, A.S.; Ahmed, A.; Tohfa, S.A.; Bhuaiyan, M.F.; Zannat, A.; Rashid, M.M. Multiclass MI-Task Classification Using Logistic Regression and Filter Bank Common Spatial Patterns. In Proceedings of the International Conference on Computing Science, Communication and Security, Mehsana, India, 26–28 March 2020; Springer: Berlin/Heidelberg, Germany, 2020; pp. 160–170. [Google Scholar]
  18. Barbaresco, F. Innovative tools for radar signal processing based on Cartan’s geometry of SPD matrices & information geometry. In Proceedings of the 2008 IEEE Radar Conference, Rome, Italy, 26–30 May 2008; pp. 1–6. [Google Scholar]
  19. Barachant, A.; Bonnet, S.; Congedo, M.; Jutten, C. Multiclass brain—Computer interface classification by Riemannian geometry. IEEE Trans. Biomed. Eng. 2011, 59, 920–928. [Google Scholar] [CrossRef] [Green Version]
  20. Barachant, A.; Bonnet, S.; Congedo, M.; Jutten, C. Classification of covariance matrices using a Riemannian-based kernel for BCI applications. Neurocomputing 2013, 112, 172–178. [Google Scholar] [CrossRef] [Green Version]
  21. Uehara, T.; Tanaka, T.; Fiori, S. Robust averaging of covariance matrices by Riemannian geometry for motor-imagery brain–computer interfacing. In Advances in Cognitive Neurodynamics (V); Springer: Berlin/Heidelberg, Germany, 2016; pp. 347–353. [Google Scholar]
  22. Miah, A.S.; Ahmed, S.R.; Ahmed, M.R.; Bayat, O.; Duru, A.D.; Molla, M.K. Motor-imagery BCI task classification using Riemannian geometry and averaging with mean absolute deviation. In Proceedings of the 2019 Scientific Meeting on Electrical-Electronics & Biomedical Engineering and Computer Science (EBBT), Istanbul, Turkey, 24–26 April 2019; pp. 1–7. [Google Scholar]
  23. Horev, I.; Yger, F.; Sugiyama, M. Geometry-aware principal component analysis for symmetric positive definite matrices. In Asian Conference on Machine Learning; Springer: Berlin/Heidelberg, Germany, 2016; pp. 1–16. [Google Scholar]
  24. Fletcher, P.T.; Joshi, S. Riemannian geometry for the statistical analysis of diffusion tensor data. Signal Process. 2007, 87, 250–262. [Google Scholar] [CrossRef] [Green Version]
  25. Boldi, P.; Vigna, S. Axioms for centrality. Internet Math. 2014, 10, 222–262. [Google Scholar] [CrossRef] [Green Version]
  26. Arsigny, V.; Fillard, P.; Pennec, X.; Ayache, N. Geometric means in a novel vector space structure on symmetric positive-definite matrices. SIAM J. Matrix Anal. Appl. 2007, 29, 328–347. [Google Scholar] [CrossRef] [Green Version]
  27. Fletcher, P.T.; Venkatasubramanian, S.; Joshi, S. The geometric median on Riemannian manifolds with application to robust atlas estimation. NeuroImage 2009, 45, S143–S152. [Google Scholar] [CrossRef] [Green Version]
  28. Fu, R.; Tian, Y.; Bao, T.; Meng, Z.; Shi, P. Improvement motor imagery EEG classification based on regularized linear discriminant analysis. J. Med Syst. 2019, 43, 169. [Google Scholar] [CrossRef] [PubMed]
  29. Subasi, A.; Gursoy, M.I. EEG signal classification using PCA, ICA, LDA and support vector machines. Expert Syst. Appl. 2010, 37, 8659–8666. [Google Scholar] [CrossRef]
  30. Zhang, Y.; Zhou, G.; Jin, J.; Wang, X.; Cichocki, A. Optimizing spatial patterns with sparse filter bands for motor-imagery based brain–computer interface. J. Neurosci. Methods 2015, 255, 85–91. [Google Scholar] [CrossRef] [PubMed]
  31. Yuan, M.D.; Feng, D.Z.; Shi, Y.; Liu, W.J. Dimensionality reduction by collaborative preserving Fisher discriminant analysis. Neurocomputing 2019, 356, 228–243. [Google Scholar] [CrossRef]
  32. Blankertz, B.; Muller, K.R.; Krusienski, D.J.; Schalk, G.; Wolpaw, J.R.; Schlogl, A.; Pfurtscheller, G.; Millan, J.R.; Schroder, M.; Birbaumer, N. The BCI competition III: Validating alternative approaches to actual BCI problems. IEEE Trans. Neural Syst. Rehabil. Eng. 2006, 14, 153–159. [Google Scholar] [CrossRef] [PubMed]
  33. Tangermann, M.; Müller, K.R.; Aertsen, A.; Birbaumer, N.; Braun, C.; Brunner, C.; Leeb, R.; Mehring, C.; Miller, K.J.; Mueller-Putz, G.; et al. Review of the BCI competition IV. Front. Neurosci. 2012, 6, 55. [Google Scholar] [CrossRef] [Green Version]
  34. Kumar, S.; Mamun, K.; Sharma, A. CSP-TSM: Optimizing the performance of Riemannian tangent space mapping using common spatial pattern for MI-BCI. Comput. Biol. Med. 2017, 91, 231–242. [Google Scholar] [CrossRef] [Green Version]
  35. Belwafi, K.; Romain, O.; Gannouni, S.; Ghaffari, F.; Djemal, R.; Ouni, B. An embedded implementation based on adaptive filter bank for brain—Computer interface systems. J. Neurosci. Methods 2018, 305, 1–6. [Google Scholar] [CrossRef]
  36. Raza, H.; Cecotti, H.; Li, Y.; Prasad, G. Adaptive learning with covariate shift-detection for motor imagery-based brain—Computer interface. Soft Comput. 2016, 20, 3085–3096. [Google Scholar] [CrossRef]
Figure 1. The basic block diagram of a motor imagery (MI) classification system.
Figure 1. The basic block diagram of a motor imagery (MI) classification system.
Electronics 09 01584 g001
Figure 2. The example of LDA projections.
Figure 2. The example of LDA projections.
Electronics 09 01584 g002
Figure 3. The recognition accuracy of our proposed method along with those of other methods using all datasets.
Figure 3. The recognition accuracy of our proposed method along with those of other methods using all datasets.
Electronics 09 01584 g003
Table 1. The different functions for calculating the centrality of covariance matrices.
Table 1. The different functions for calculating the centrality of covariance matrices.
FunctionsEquation
Euclidean distance d E ( A , B ) = A B F
Riemannian geodesic distance d R ( A , B ) = l o g ( A 1 2 B A 1 2 F
Log Euclidean distance d L ( A , B ) = l o g ( A 1 2 B A 1 2 F
Harmonic mean d H ( A , B ) = A 1 B 1 F
Resolvent mean P R E S M E A N ( μ ) = ( i = 1 I ( P i + μ 1 I ) 1 μ 1
Euclidean geometric median P m e d * ( k + 1 ) = ( i = 1 n P i d E ( P m e d * k + 1 , P i ) ( i = 1 n 1 d E ( P m e d * k + 1 , P i ) 1
Riemannian geometric median P m e d * ( k + 1 ) = R e ( P m e d ( k ) V ( k ) )
Log-Euclidean geometric median P m e d * ( k + 1 ) = R e ( P m e d ( k ) U ( k ) )
Table 2. The classification accuracy (%) of TSMLDA for BCI III-IIIa.
Table 2. The classification accuracy (%) of TSMLDA for BCI III-IIIa.
MethodK3bK6bL1bAverage
Arithmetic mean A M E A N 91.1191.6673.3385.37
Riemannian geometric mean R G M E A N 909568.3384.44
Log Euclidean mean L E M E A N 88.8893.3366.6682.96
Harmonic mean H M E A N 91.1191.667084.26
Resolvent mean R M E A N 91.119571.6685.92
Euclidean geometric median E G M E D 91.1193.3368.3384.26
Riemannian geometric median R G M E D 82.229568.3381.85
Log-Euclidean geometric median L E G M E D 88.8893.336582.4
MAD P M A D (Proposed)93.3395.837588.05
Table 3. The label wise accuracy (%) of each subject for foot and tongue MI tasks.
Table 3. The label wise accuracy (%) of each subject for foot and tongue MI tasks.
SubjectFeetTongueAverage
K3b97.7788.8893.33
K6b95.8395.8395.83
L1b66.6683.3375.00
Table 4. The classification accuracy (%) of TSMLDA for BCI IV-IIa.
Table 4. The classification accuracy (%) of TSMLDA for BCI IV-IIa.
MethodA01TA03TA07TA08TA09TAverage
Arithmetic mean A M E A N 84.0285.4189.5892.3676.3885.55
Riemannian geometric mean R G M E A N 82.6387.588.1993.7573.6185.14
Log Euclidean mean L E M E A N 86.886.889.5893.757586.39
Harmonic mean H M E A N 83.3384.0289.5893.0581.2586.25
Resolvent mean R M E A N 84.0288.8889.5893.7582.6387.77
Euclidean geometric median E G M E D 79.8686.1190.7293.0579.1685.78
Riemannian geometric median R G M E D 73.6152.0888.8857.6354.8665.41
Log-Euclidean geometric median L E G M E D 84.7285.4189.5893.0574.385.41
MAD P M A D (Proposed)87.589.1791.6795.8387.590.33
Table 5. The label-wise accuracies (%) of five subjects of BCI IV-IIa.
Table 5. The label-wise accuracies (%) of five subjects of BCI IV-IIa.
SubjectFeetTongueAverage
A0191.6683.3387.5
A0383.339589.17
A0710083.3391.67
A0891.6610095.83
A0991.6683.3387.5
Table 6. The comparison of performance accuracy (%) with sophisticated methods (based on BCI III-IIIa).
Table 6. The comparison of performance accuracy (%) with sophisticated methods (based on BCI III-IIIa).
MethodsK3bK6bL1bAverage
SRCSP [11]96.6753.3393.3381.11
TSGSP [12]99.267.296.587.63
MDRM [19]96.666088.3381.66
HOREV MDRM [23]95.5668.338582.96
WOLA CSP [35]97.7761.6693.3384.25
CSP [11]95.5661.6793.3383.52
Proposed method93.3395.8375.0088.05
Table 7. The comparison of performance accuracy (%) with sophisticated methods (based on BCI III-IIIa).
Table 7. The comparison of performance accuracy (%) with sophisticated methods (based on BCI III-IIIa).
MethodsA01A03A07A08A09Average
CSP+LDA [19]78.382.28168.577.477.48
TLCSP1 [36]90.2893.7562.590.9785.4284.58
FBCSP with LR [17]88.2683.8889.1788.9383.3386.71
WOLA CSP [35]86.8194.4478.4797.9193.7590.28
TSLDA [19]80.587.582.184.886.184.2
Proposed method87.5089.1791.6795.8387.5090.33

Share and Cite

MDPI and ACS Style

Miah, A.S.M.; Rahim, M.A.; Shin, J. Motor-Imagery Classification Using Riemannian Geometry with Median Absolute Deviation. Electronics 2020, 9, 1584. https://doi.org/10.3390/electronics9101584

AMA Style

Miah ASM, Rahim MA, Shin J. Motor-Imagery Classification Using Riemannian Geometry with Median Absolute Deviation. Electronics. 2020; 9(10):1584. https://doi.org/10.3390/electronics9101584

Chicago/Turabian Style

Miah, Abu Saleh Musa, Md Abdur Rahim, and Jungpil Shin. 2020. "Motor-Imagery Classification Using Riemannian Geometry with Median Absolute Deviation" Electronics 9, no. 10: 1584. https://doi.org/10.3390/electronics9101584

APA Style

Miah, A. S. M., Rahim, M. A., & Shin, J. (2020). Motor-Imagery Classification Using Riemannian Geometry with Median Absolute Deviation. Electronics, 9(10), 1584. https://doi.org/10.3390/electronics9101584

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop