Event Abstract

Comparing machine learning approaches for motor-activity-related brain computer interfaces

Lei Wang1, 2* and Hasan Ayaz1, 2, 3, 4
  • 1 Drexel University, School of Biomedical Engineering, Science & Health Systems, United States
  • 2 Drexel University, Cognitive Neuroengineering and Quantitative Experimental Research (CONQUER) Collaborative, United States
  • 3 University of Pennsylvania, Department of Family and Community Health, United States
  • 4 Children's Hospital of Philadelphia, The Division of General Pediatrics, United States

INTRODUCTION: A brain-computer interface (BCI) is a system that detects consistent spatiotemporal patterns in human brain activity that are related to select mental tasks, such as performing motor imagery, or cognitive workload (Bashashati, Ward, Birch, & Bashashati, 2015; Wolpaw, Birbaumer, McFarland, Pfurtscheller, & Vaughan, 2002). One of the main goal of an active BCI is to provide a new channel of output for the brain that requires voluntary adaptive control by the user, mainly used as a neurorehabilitation tool to improve motor or cognitive performance for people with motor disorders, such as spinal cord injury, amyotrophic lateral sclerosis (ALS), or people in the persistent locked-in state (LIS) (Coyle, Ward, Markham, & McDarby, 2004; Naseer & Hong, 2015; Vallabhaneni, Wang, & He, 2005). Among the various means to measure the brain activity, the electroencephalography (EEG)-based BCI systems can measure the changes in the brain activity over short periods of time, non-invasive and versatile, but spatial localization and the signal to noise ratio can be low (Bashashati et al., 2015). Functional near infrared spectroscopy (fNIRS) as an emerging optical neuroimaging technique, is relatively new in BCI. fNIRS is not susceptible to electrical noise or muscle activity, and also provides a balanced trade-off between temporal and spatial resolution. Even though the use of fNIRS-BCI has been only a very recent start, there’s accelerated progress of fNIRS-BCI research that shows potential as a supplement for electroencephalography (EEG) BCI (Naseer & Hong, 2015). Motor-activity-related mental tasks are widely adopted for BCIs as they are a natural extension of movement intention. Motor imagery (MI) is one of the remarkable abilities of the mind that suitable for use in BCI system, as it refers to the mental representation of an overt action without any concomitant motor execution (ME) (Batula, Mark, Kim, & Ayaz, 2017; Jeannerod, 1994; Xu et al., 2014). The aim of this study is to systematically compare performance of machine learning approaches for developing optimal fNIRS and EEG based motor BCI systems. METHODS: The performance of the following machine learning algorithms were compared using fNIRS and EEG data: Naïve Bayes (NB), Linear Discriminant Analysis (LDA), Logistic Regression (LR), Support Vector Machines (SVM) and Multi-layer Perception (MLP). The fNIRS ME/MI based BCI, and EEG ME/MI BCI datasets were from earlier studies (Batula, Kim, & Ayaz, 2017; Cho, Ahn, Ahn, Kwon, & Jun, 2017; Tangermann et al., 2012). For each, same set of features were extracted from the preprocessed fNIRS and EEG datasets. NB classifiers are a collection of classification algorithms based on Bayes’ Theorem and particularly suited when the dimensionality of the feature space is high, NB classifiers can often outperform more sophisticated methods. LDA is the most commonly used classification in fNIRS-BCI studies, because of its simplicity and low computational requirements, it is highly suitable for online BCI systems. LR as a discriminative learning classifier that directly estimated the parameters of the posterior distribution function, it is intrinsically simple, but is prone to overfitting when data space is sparse and of high dimension. SVM with the regularization parameter to reduce errors on training set and kernel function to define non-linear decision boundaries, non-linear SVM provides more flexible decision boundary that can result in an increased classification accuracy. MLP classifier has the flexibility and capability of approximating any function with enough number of neurons in the hidden layer, but can be easily overfitting. In a preliminary analysis, classification using all the algorithms was performed on four-class MI-based fNIRS BCI datasets. After FIR filter with 0.1Hz cutoff frequency, an automatic data-quality analysis was used to determine which optodes and trials should be removed due to poor data quality, then average HbO level for the first two seconds of the task was subtracted from 15s task duration right after preprocessing. Eleven 5s segmented data of HbO were regenerated afterwards, and signal slope (SS) and signal mean (SM) were computed, resulted in 528 features in feature space. RESULTS: The preliminary results on MI-based fNIRS BCI dataset showed, LR classifier achieved relative higher average classification accuracy than other classifiers: LR: 31.02%, SVM: 30.57%, MLP: 30.27%, NB: 30.10%, LDA:28.45%. The confusion matrix of LR classification results for Subject 1 shows a relative strong diagonal pattern, as expected for a well-performing classifier. Interestingly, left hand and right hand are almost never misclassified as the opposite hand, left hand and left foot task was also seldom misclassified as the other side, LDA and SVM classification also showed pattern similar to LR. While NB classifier showed relative focus on correct classification on left side tasks compared to right side tasks. For subject 6, LR classifier showed stronger right-side tasks accuracy than left side tasks, while NB classifier displayed stronger left side tasks accuracy than right side tasks. LR, LDA and SVM classifier all showed a focus on correct classification on hand tasks compared to foot tasks, as shown in Fig 1. These results indicated: i) LR could achieve relative higher average classification accuracy compared with other four classifiers; ii) for some subjects, the classification pattern of LR, LDA and SVM classifiers are similar, which implies that LR could be a potential substitute of LDA and SVM for BCI studies. CONCLUSION: These results indicated LR classifier slightly outperformed other classifiers, unlike most fNIRS BCI studies, which selected LDA or SVM as the best classifier, and LR could be served as a potential replacement of LDA or SVM classifier in BCI studies. Further evaluation includes comparison of different machine learning algorithms on ME-based fNIRS BCI and EEG BCI datasets with relative larger sample size. Fig 1. Confusion matrices for the two subjects showing different pattern between LR, LDA, SVM vs NB classification results.

Figure 1

References

Bashashati, H., Ward, R. K., Birch, G. E., & Bashashati, A. (2015). Comparing different classifiers in sensory motor brain computer interfaces. PloS one, 10(6), e0129435.
Batula, A. M., Kim, Y. E., & Ayaz, H. (2017). Virtual and Actual Humanoid Robot Control with Four-Class Motor-Imagery-Based Optical Brain-Computer Interface. BioMed research international, 2017.
Batula, A. M., Mark, J. A., Kim, Y. E., & Ayaz, H. (2017). Comparison of Brain Activation during Motor Imagery and Motor Movement Using fNIRS. Computational Intelligence and Neuroscience, 2017, 12. doi:10.1155/2017/5491296
Cho, H., Ahn, M., Ahn, S., Kwon, M., & Jun, S. C. (2017). EEG datasets for motor imagery brain computer interface. GigaScience.
Coyle, S., Ward, T., Markham, C., & McDarby, G. (2004). On the suitability of near-infrared (NIR) systems for next-generation brain–computer interfaces. Physiological Measurement, 25(4), 815.
Jeannerod, M. (1994). The representing brain: Neural correlates of motor intention and imagery. Behavioral and Brain sciences, 17(2), 187-202.
Naseer, N., & Hong, K.-S. (2015). fNIRS-based brain-computer interfaces: a review. Frontiers in human neuroscience, 9, 3.
Tangermann, M., Müller, K.-R., Aertsen, A., Birbaumer, N., Braun, C., Brunner, C., . . . Mueller-Putz, G. (2012). Review of the BCI competition IV. Frontiers in neuroscience, 6, 55.
Vallabhaneni, A., Wang, T., & He, B. (2005). Brain—computer interface. In Neural engineering (pp. 85-121): Springer.
Wolpaw, J. R., Birbaumer, N., McFarland, D. J., Pfurtscheller, G., & Vaughan, T. M. (2002). Brain–computer interfaces for communication and control. Clinical neurophysiology, 113(6), 767-791.
Xu, L., Zhang, H., Hui, M., Long, Z., Jin, Z., Liu, Y., & Yao, L. (2014). Motor execution and motor imagery: a comparison of functional connectivity patterns based on graph theory. Neuroscience, 261, 184-194.

Keywords: Brain computer interface (BCI), functional near-infrared spectroscopy (fNIRS), machine learning, Motor Activity, Machine learning classification

Conference: 2nd International Neuroergonomics Conference, Philadelphia, PA, United States, 27 Jun - 29 Jun, 2018.

Presentation Type: Poster Presentation

Topic: Neuroergonomics

Citation: Wang L and Ayaz H (2019). Comparing machine learning approaches for motor-activity-related brain computer interfaces. Conference Abstract: 2nd International Neuroergonomics Conference. doi: 10.3389/conf.fnhum.2018.227.00135

Copyright: The abstracts in this collection have not been subject to any Frontiers peer review or checks, and are not endorsed by Frontiers. They are made available through the Frontiers publishing platform as a service to conference organizers and presenters.

The copyright in the individual abstracts is owned by the author of each abstract or his/her employer unless otherwise stated.

Each abstract, as well as the collection of abstracts, are published under a Creative Commons CC-BY 4.0 (attribution) licence (https://creativecommons.org/licenses/by/4.0/) and may thus be reproduced, translated, adapted and be the subject of derivative works provided the authors and Frontiers are attributed.

For Frontiers’ terms and conditions please see https://www.frontiersin.org/legal/terms-and-conditions.

Received: 11 Apr 2018; Published Online: 27 Sep 2019.

* Correspondence: Ms. Lei Wang, Drexel University, School of Biomedical Engineering, Science & Health Systems, Philadelphia, United States, lw474@drexel.edu