Computational Intelligence and Neuroscience

Computational Intelligence and Neuroscience / 2019 / Article

Research Article | Open Access

Volume 2019 |Article ID 2503431 | 12 pages |

A Comparison between BCI Simulation and Neurofeedback for Forward/Backward Navigation in Virtual Reality

Academic Editor: António Dourado
Received23 May 2019
Revised19 Aug 2019
Accepted11 Sep 2019
Published09 Oct 2019


A brain-computer interface (BCI) decodes the brain signals representing a desire to do something and transforms those signals into a control command. However, only a limited number of mental tasks have been previously investigated and classified. This study aimed to investigate two motor imagery (MI) commands, moving forward and moving backward, using a small number of EEG channels, to be used in a neurofeedback context. This study also aimed to simulate a BCI and investigate the offline classification between MI movements in forward and backward directions, using different features and classification methods. Ten healthy people participated in a two-session (48 min each) experiment. This experiment investigated neurofeedback of navigation in a virtual tunnel. Each session consisted of 320 trials where subjects were asked to imagine themselves moving in the tunnel in a forward or backward motion after a randomly presented (forward versus backward) command on the screen. Three electrodes were mounted bilaterally over the motor cortex. Trials were conducted with feedback. Data from session 1 were analyzed offline to train classifiers and to calculate thresholds for both tasks. These thresholds were used to form control signals that were later used online in session 2 in neurofeedback training to trigger the virtual tunnel to move in the direction requested by the user’s brain signals. After 96 min of training, the online band-power neurofeedback training achieved an average classification of 76%, while the offline BCI simulation using power spectral density asymmetrical ratio and AR-modeled band power as features, and using LDA and SVM as classifiers, achieved an average classification of 80%.

1. Introduction

A BCI is a communication system that bypasses the body’s neuromuscular pathways, measures brain activity associated with the user’s intent, and translates it into corresponding control signals to an electronic device, only by means of voluntary variations of brain activity. Such a system appears as a particularly promising communication channel for persons suffering from severe paralysis, like those with the “locked-in” syndrome, and, as such, is locked into their own body without any residual muscle control [1, 2].

Studies to date show that humans can learn to use electroencephalographic (EEG) activity to control the movements of a cursor [3, 4, 5, 6] in one or two dimensions, or to control other devices such as spellers [7, 8]. Both actual movement and movement imagery are accompanied by changes in the amplitudes of certain EEG rhythms, specifically 8–12 Hz mu rhythms and 18–30 Hz beta rhythms [9, 10]. These power changes, named “event-related synchronization/desynchronization (ERS/ERD)” [10], are focused over the sensorimotor cortex in a manner consistent with the homuncular organization of this cortical region [2].

In the 1980s, Krusienski et al. started on EEG-based cursor control in normal adults using band power centered at 9 Hz. They used an autoregressive model to compute power in a specific frequency band, where the sum power was used in a linear function to control the cursor’s direction of movements [11]. Nowadays, the world of the BCI is expanding very rapidly. One new field involves BCIs to control virtual reality (VR), including BCIs for games [12, 13, 14, 15] and for computer applications such as a virtual keyboard [16]. The virtual environment (VE) can provide an excellent testing ground for procedures that could be adapted to real-world scenarios, especially for patients with disabilities. If people can learn to control their movements or perform specific tasks in a VE, this could justify the much greater expense of building physical devices such as a wheelchair or robot arm that is controlled by a BCI. One of the main goals of implementing the BCI in VR is to understand how humans process dynamic visual scenes and how well they can interact with these natural environments.

The first efforts to combine VR and BCI technologies were in years 2000 and 2003 by Bayliss and Ballard who introduced a VR smart home in which users could control different things using a P300 BCI [17, 18].

Then in 2003, researchers showed that immersive feedback based on a computer game can help people learn to control a BCI based on imaginary movement more quickly than mundane feedback [19]. Researchers in [20] used the BCI for walking in a virtual street in 2005, for visiting and navigating in a virtual reality representation of the Austrian National Library in 2007 [21], and for exploring a smart virtual apartment in 2010 [22, 23].

In [24], researchers used the BCI to navigate in virtual reality with only beta waves, where a 35-year-old tetraplegic male subject learned to control a BCI, where the midcentral focused beta oscillations with a dominant frequency of approximately 17 Hz allowed the BCI to control the VE. Only one single EEG channel was recorded bipolarly at Cz (foot representation area). One single logarithmic band-power feature was estimated from the ongoing EEG. A simple threshold (TH) was used to distinguish between foot movement imagination (IC) and rest (INC). This study, which was based only on beta waves, has classified two different mental states: one directional movement (forward) and a rest state but not for backward movement.

Brosseau-Lachine et al. in [25, 26] psychophysically studied infants and made electrophysiological recordings of brain cells in cats’ response to radial optic flow fields and found superior sensitivity to expansion versus contraction direction of motion in both studies. This is further supported by an imaging study with adults where the researchers have found a bias for expanding motion stimuli [27]. This dissociation may suggest that sensitivity to direction corresponding to forward locomotion (expansion) develops at a faster rate than that to opposite direction encountered when moving backward (contraction) [28].

Researchers in [27] found with PET scan that several loci of activation were observed for contraction and expansion conditions in the same areas of the human brain, but the increase in rCBF in contraction was much lower than that in the expansion condition in the right brain. Since researchers found that imagining a movement activates the brain the same way as watching or doing that movement does, then MI of navigation in a virtual reality scene with a strong optic flow feedback might activate the brain the same way the real navigation would do.

There is ample physiological and behavioral evidence that perceiving forward and backward movements are quite different in nature and therefore cannot be considered equivalent. Given that one of the BCI system’s aims is developing brain-controlled movements, it is therefore important to address the distinction between efficiency of BCI-driven movements for these two critical direction controls.

So, we wanted to see in the present study if we could classify those two-directional movements in virtual reality from only 1, 2, or 3 EEG channels.

Therefore, the main goal of the present project was to enhance navigation in virtual reality with the brainwaves by using beta ERS obtained from a small number of channels. Furthermore, we wanted to see if we could classify two-directional movements (forward or backward) in virtual reality from these channels so that in the future, a subject could efficiently navigate by altering the brain waves and freeing the limbs for other activities.

2. Methodologies

2.1. Equipment
2.1.1. Virtual Reality Equipment

To generate virtual environments, we used The EON Icube™, a PC-based multisided immersive environment in which participants are surrounded by virtual imagery and 3D sound (Figure 1).

Stimuli were generated on four synchronized HP Z800 workstations and were rear-projected onto four Da-Lite Fast-Fold 10′ wide ×7.5′ length/long wall screens (one frontal, two lateral, and one ground), from a distance of 4.10 m. The image was projected on the screens using 4 InFocus LP725 projectors that scan at 75 Hz with a resolution of 3,072 × 768,2500 ANSI lumen brightness and 2400 : 1 contrast ratio. Stereoscopic active lightweight shutter glasses and 12-DOF electromagnetic camera position trackers were also installed, and the result was complete immersion of the user in a virtual world [28].

2.1.2. Virtual Reality Tunnel

As a virtual environment, we had chosen 3D Tunnel that can move in the anterior-posterior direction. The virtual tunnel respected all the aspects of a real physical tunnel (i.e., stereoscopy and size increase with proximity).

To program the tunnel, C++, OpenGL, and VR Juggler were used. The tunnel, depicted in Figure 2, was 3 m in diameter and 91 m long. Its front extremity was closed with a wall (subtending 2°) to reduce aliasing. Its back extremity was virtually located 7 m behind the subject [28]. A red fixation point (subtending 0.2°) was placed at the end of the tunnel at equal distance from the lateral wall.

Stimuli were either static or dynamic moving at a speed of 1.1 m/s. This velocity was perceived corresponding to normal gait. Proximal parts of the tunnel remained, while central parts were truncated and replaced by a black uniform field.

The texture was a pattern of alternating black and white squares. The association of shape (cylinder), texture, and perspective provided a radial flow to the central visual field and a lamellar flow to the peripheral visual field. This optic flow structure is the one for which the visual system is very sensitive and consequently quite responsive with respect to the control of stance [28]. The squares were all of the same size in the virtual world (corresponding to real-world conditions) but appeared smaller at distance due to perspective.

Consequently, sensitivity of the visual system for spatial frequencies and cortical magnification were essentially accounted for by this naturalistic stimulation [28].

2.1.3. EEG Recordings

The acquisition was performed with the FlexComp Infiniti™ wireless EEG system by Thought Technology Ltd.

The EEG was recorded with Ag-Ag/Cl electrodes from 3 channels over the motor cortex and close to the brain area responsible to generate foot movements. These channels were C3, C4, and CZ (according to the international 10/20 system of EEG electrode positions). These channels were referenced to both ears.

2.2. Experimental Paradigm

The experimental task was to imagine either forward or backward movement depending on a written command. 10 naïve subjects (mean age 25.6 ± 3.92), 9 males and 1 female, participated in this experiment. They all signed a consent and received a compensation of 25$ each session.

The experiment included two sessions for one and a half hour each, where data of session 1 were used in session 2 for online neurofeedback and for offline analysis.

Session 2 was performed in 2 days to avoid fatigue and to allow learning. Each session contained 4 runs, and each run was 80 trials (Table 1), which resulted in 320 trials in total, 160 trials for moving backward and 160 trials for moving forward. The number of trials was based on the Graz BCI paradigm, and to obtain enough trials for the averaging step. The subject stood in the Icube 50 cm away from the front screen, where then we started the built-up 3D environment.

1 session = 4 runs

1 run = 80 trials
1 run = 12 min10 min pause

Each trial was 9 seconds long and started with 3 seconds of a static tunnel, in order to acquire a baseline EEG, and then comes the presentation of a written command “Move Forward” or “Move Backward” randomly at the center of the screen for 2 seconds, followed by 0.5 seconds of a static tunnel and then 3.5 seconds of a dynamic tunnel (Figure 3).

The instructions the participants received were the following: If the written command was “Move Forward,” the subject had to imagine moving in the tunnel in a forward movement. However, if the written command was “Move Backward,” the subject had to imagine moving in the tunnel in a backward movement. The participant was instructed to stop the imagination once the tunnel started to move.

In session 1, the tunnel moved after the display of the written instruction, and at the same direction of this instruction, independently and regardless of the motor imagery results. However, in session 2, the tunnel moved as a neurofeedback of the participant’s online real-time brain activity of motor imagery. The main part that distinguishes neurofeedback from the BCI is the BCI machine learning phase.

BioGraph (the software provided by the EEG device manufacturer Thought Technology Ltd.) was used for data acquisition and display and was synchronized with the virtual reality computers (Figure 4).

2.3. Offline Signal Processing

After running subjects in session 1, data were processed offline, as depicted in Figure 5. The results were then used for the following:(1)To perform session 2 with online real-time neurofeedback(2)To build a classifier that used session 2 data as test data in an offline BCI simulation

2.3.1. Offline Signal Processing: EEG Cleaning and Filtering

The EEG signals were amplified and bandpass filtered (18th order Butterworth IIR filter) between 8 and 30 Hz and sampled at 256 Hz and then bandpass filtered into four frequency bands: 8–12 Hz (alpha), 12–15 Hz (SMR), 16–24 Hz (beta), and 25–30 Hz (high beta).

Artifacts were autorejected within BioGraph, by automatically removing the parts of the recorded signal where the amplitude exceeds 20 μv. Signals were then detrended, and clean data were used for offline analysis.

2.3.2. Offline Signal Processing: Feature Extraction

(1) Time-Frequency Representation (TFR). Performing a short-time Fourier transform (STFT) permits an insight into the ERD/ERS by analyzing the power variation with respect to time [29]. The STFT was estimated at a high spectrogram resolution of 1-second Hanning windows in time with a 50% overlap and 64 frequency bins.

The TFR (time-frequency representation) was mainly used for both online and offline visualization to define the most active frequencies and their strengths during the mental task achieved by the participant in every single trial.

(2) Power Spectral Density (PSD) Features. They inform on the distribution of the power of a signal between different frequencies [2]. A 1-second Hanning window was chosen to give a frequency resolution of 1 Hertz/bin within the periodogram, which computes PSD by squaring the signal Fourier transform.

(3) Power Asymmetrical Ratio. This method is especially useful in tasks that involve interhemispheric differences, where the power asymmetrical ratio is defined aswhere R is the PSD or power of a specific band in the right electrode and L is the PSD or power of a specific band in the left electrode [2].

(4) Band-Power (ERD/ERS) Calculation. For EEG data, bandpass filtering of each trial, squaring of samples, and averaging of N trials result in a time course of instantaneous band power [30].

Then, the ERD is quantified as the percentage change of the power at each sample point or an average of some samples relative to the average power in a reference interval:where R = average power in the reference interval, averaged over k samples, and  = power at the j-th sample [10]. The best two ERS/ERD values that distinguished between two tasks can then be selected.

2.3.3. Offline Signal Processing: Feature Modeling

(1) Autoregressive (AR) Parametric Models. In this study, we used the autoregressive (AR) Burg method and its extension ARX [31], which are generally used as features for the BCI to distinguish one time series from another [4]. For ARX model order selection, the Akaike information criterion (AIC) was applied in this study [32]. In this method, the input was assumed to have Gaussian statistics.

We set the exogenous input to be the template of averaged backward trials when modeling backward trials and the template of averaged forward trials when modeling forward trials because averaging across trials assists in extracting the event-related potential hidden within the noise.

2.3.4. Offline Signal Processing: Feature Epoching

The previously mentioned extracted features and their models were divided into 4 epochs, in order to investigate the optimum time slot (and thus feature points) that the imagery signal achieved the best classification accuracy [33], thus decreasing the computation time. Various epochs were experimented based on a 0.5 s shift. These epochs were as follows:(1)Epoch 1: 3.5–4.5 s(2)Epoch 2: 4–5 s(3)Epoch 3: 4.5–5.5 s(4)Epoch 4: 5–6 s

2.3.5. Offline Signal Processing: Classification Models

The previously mentioned extracted features and their AR models and epochs were used to train the following classifiers:

(1) Linear Discriminant Analysis (LDA). The aim of LDA is to find a linear combination of features which separates two or more classes with k, n-space hyperplanes [2, 34]. In this study, we used the diagonal LDA, which computes the diagonal covariance matrix estimates.

(2) Support Vector Machine (SVM). In this study, we used a linear SVM algorithm. See [2, 7, 35] for further details.

(3) Classification Validation. A 10-fold cross-validation was used. This algorithm breaks data into 10 sets of size n/10, trains on 9 datasets, and tests on 1 dataset; it repeats this process 10 times and finally takes a mean accuracy.

3. Results

3.1. Session 1: Visualization of TFR

Figure 6 displays four online TFRs for subject 3. Almost the same patterns were generated by the rest of the participants. These TFRs were calculated within epoch 4, where the first half second of the TFR represents half a second before MI termination and the second half second of the TFR represents half a second after the MI termination.

The first column displays TFR for electrode C3, and the second column displays the TFR for electrode C4.

The first row refers to the TFR when the subjects were instructed to imagine a forward movement, and the second row refers to the TFR when the subjects were instructed to imagine a backward movement.

During the forward movement, we can clearly see the α-ERD, but almost at the end of the MI, a large and remarkably strong β ERS appeared over C3 and lasted for few milliseconds. On the contrary, the α-ERD appeared also during the backward movement over C3, however, and right after the end of the backward MI, a smaller yet strong β ERS appeared over C4 and lasted for few milliseconds.

This suggested that we had a lateralization of signals for MI forward and backward movements, where the right motor cortex showed higher activity for backward movement versus the left motor cortex, which in turn showed a higher activity for the forward movement.

This result supports our hypothesis that MI of forward-backward movement can activate the motor cortex the same way as a strong optic flow does [27].

Figure 7 presents the β-ERS at channels C4 and C3, respectively, and at the frequency band 25–30 Hz.

3.2. Session 1: Offline Calculation of Band-Power ERD/ERS

It shows a remarkable backward ERS that starts right after the termination of the movement imagery and peaked with 200% after about 200 msec. The template illustrates no overlap with the forward signal which appears to be equal to baseline, with a correlation of 0.31.

It also shows a remarkable forward ERS that starts 200 msec after the movement offset and right after the termination of the movement imagery and peaked with 600% after about 300 msec, thus 500 msec after the termination of the MI. The template illustrates no overlap with the backward signal which appears to be equal to baseline, with a correlation of 0.28.

This lateralization (shown in [27, 36]) states that MI of moving backward would relatively highly activate the motor cortex of the right brain hemisphere, resulting in a higher right ERS, while MI of moving forward would activate the motor cortex of the left brain hemisphere, resulting in a higher left ERS.

EEG channels C3 and C4 lie over the primary motor cortex, which is mainly responsible for movement planning and represents the hand movement area in the brain.

However, the foot motor area representation is located deep within the interhemispheric fissure, right under the EEG channel Cz that lies over the cranial midline; thus, the detection of ERD/ERS through the EEG signal is very difficult. This explains the reasons for the following:(1)Very small ERD power changes over Cz were detected(2)Many studies detected the brain activity of navigation only in EEG channels close to the channel Cz, such as Fz [37] and Pz [38]

On the contrary, the phenomena of ERD/ERS reflect the dynamics of neural networks and can be observed on different scalp locations at the same moment in time, whereas one cortical area displays ERD and other areas display ERS.

This phenomenon is called “focal ERD/surround ERS” and is interpreted as a “correlate of an activated cortical area (ERD) and simultaneously deactivated or inhibited areas, very likely mediated by thalamic gating” [10].

Thus, in this study, the ERS patterns that were found over hand representation areas were developed simultaneously with ERD in the area of the feet [39], which is also consistent with what studies [36, 40, 41] found.

3.3. Session 2: Online Real-Time Band-Power ERD/ERS Neurofeedback

The two ERS values that were obtained in session 1 (see Section 3.2) were set up in BioGraph as signal thresholds to form a control signal for an online real-time neurofeedback of the real-time processed data in session 2.

The first ERS value was for transition from the idling to the “move forward” state, while the second one was for transition from the idling to the “move backward” state. So, the backward threshold was set on the BP of the frequency band 25–30 Hz over channel C4 according to the following equation:where Th is the threshold, b refers to backward, MEAN is the power calculated in a reference interval, and STDEV is the standard deviation.

The STDEV coefficient was calculated according to the ERS time course and was selected based on a value that would yield a maximal separation between the standard deviations from the mean baseline of the two tasks and was set to 3 standard deviations each, i.e., 3 negative standard deviations from the mean of the task that had the higher curve and 3 positive standard deviations from the mean of the task that had the lower curve.

For subject 7, we calculated two negative standard deviations from the mean of the averaged backward signal over C4 and calculated its ERS time course and found that it was close to 3 standard deviations from the mean baseline. We then repeated that for the forward signal and found that it was 2 standard deviations from the mean baseline. So we selected the value 6 based on 2 STDEVbackward + 1 STDEVsafety for backward + 3 STDEVforward.

This formula means that whenever the power over the motor cortex of the right hemisphere exceeds and passes a threshold of 6 standard deviations from the baseline, i.e., activation over C4 resulting from the MI of backward movement, this would trigger the virtual reality tunnel with a boolean that induces the tunnel to move in the backward direction. Similarly, the same setting was used as a threshold over the motor cortex of the left brain hemisphere.

Session 2 consisted of four runs, performed in 2 different days, of the same week, where the same paradigm was used but with two differences.

The first difference was that, in session 2, the subject was instructed to stop the MI right after the command “Move Forward” or “Move Backward” offset; that is, at second 5 of the trial, instead of stopping the MI once, the tunnel moves.

This modification was based on the ERS results. Since the ERS peaked at 200–500 ms of the MI offset for both tasks, this modification of terminating the MI at second 5 would let the beta power to rebound and then peak at second 5.5.

The Interface software between BioGraph and our virtual tunnel was programmed such that whenever the signal passed the threshold at second 5.5 and only at this point, the boolean was sent to trigger the tunnel to move in either direction.

In session 2, EEG was downsampled to 8 Hz and smoothed out by averaging 3 consecutive samples (with a moving average) in order to produce a smooth control signal (CS).

Amongst the 10 subjects we tested, 7 showed the same ERS pattern at the high β frequency band, and 3 subjects showed the same pattern but with a central β-ERS (16–24 Hz). All patterns had also different ERS values for both forward and backward MI.

Figure 8 shows that 50% of the subjects were able to achieve accuracy more than 80% and after a total of 96 minutes of training.

Figure 9 shows success rates across runs and averaged across subjects. We can see an expected bias toward forward control versus backward control in run 1. We have also applied the t-test to interpret the results, where we applied the intrasubject t-test on the pair of the two tasks in every single run.

The subjects had significantly more trouble in controlling the tunnel movement using backward MI more than the forward MI (rb1-f1 = 0.191, t = −7.434, dof = 9, ) because walking forward is an easy automated task for the brain; however, moving backward would require more strength and concentration and would also require learning to develop a special mental strategy in order to alter the brain waves to produce the correct control signal.

So, the success rate for the backward control was 32.75% ± 17.53 versus 74.75% ± 8.11 for forward control. Most of the subjects in run 2 put much effort into the backward-control strategy learning versus the forward control, where the bias was inverted toward the backward control, in which its success rates were improved, accompanying a drop in the success rate of the forward control, with an average success rate of 57.3% ± 7.91 for backward control versus 55.75% ± 12.25 for forward control (rb2-f2 = 414, t = 0.426, ).

The next day and in run 3, the backward control continued to improve gradually in an almost linear learning curve, where the forward control was regained (rb3-f3 = −0.181, t = −1.663, ).

We think that was because this run was performed in a different day, and so the brain was back to achieve a high success rate for its automated task, the forward control, but sustained the learning and mental strategy developed for the backward control, and continued to develop it more, to achieve a higher success rate of 64.5% ± 16.02, where the forward control was regained with a success rate of 76.75% ± 14.24.

In run 4, the subjects’ brains continued to develop the mental strategy for the backward control, where a remarkable improvement took place to increase the success rate with only 71.5% ± 13.44, where the forward control stabilized with slight improvement (rb4-f4 = 603, t = −2.864, ).

So we can say that the neurofeedback induced a learning curve to control the backward navigation in virtual reality (rb1-b4 = −0.184, tb1-b4 = −5.109, ), in contrast to the forward navigation in virtual reality (tf1-f4 = −1.816, ), where in this neurofeedback, the learning curve started with a bias toward the naturally automated forward control versus backward control and then the backward control improved gradually with a so-like linear learning curve; however, the forward control was lost in run 2 but regained and then stabilized at run 3 and 4.

We have applied ANOVA to the results for statistical comparisons. As a consequence of the numerous planned comparisons required in the first phase of this study, the Greenhouse–Geisser and Huynh–Feldt corrections were applied to interaction tests in order to control for random outcomes in this context.

The ANOVA revealed a significant intrasubject main effect of “Task” (F = 26.085, dof = 1, ), a significant effect of “Runs” (F = 17.204, dof = 3, ), and a significant “Runs” × “Task” interaction (F = 14.085, dof = 3, ) and also revealed a significant intersubject main effect (F = 978.355, dof = 1, ).

3.4. Session 1: Offline Classifications

The features extracted were frequency bands × epochs × sampling frequency × features × feature models’ orders × channel combinations × subjects. Then, these features were used to train LDA and SVM classifiers, where all these classifications were performed with 10-fold cross-validation. The offline nature of this analysis allowed us to run the tests on all of these features and then to select the classifiers/models that achieved the best classification performance.

To investigate the best classification in terms of epochs, classification was run over the 4 epochs. The results showed that the epoch that achieved the highest classification accuracy was epoch 3 (Figure 10), i.e., the time slot that started 1.5 seconds after the command display and ended just before the tunnel started to move.

This means that the classifier gave poorer results when classifying the ERD and better results when classifying the ERS. However, the classifiers’ performance was attenuated at epoch 4; we think that this was due to the visual effect the dynamic tunnel added to the ERD/ERS. All coming results are presented within epoch 3.

To investigate the best classification in terms of channels and rhythms, classification was run over single and then different combinations of channels and over alpha, SMR, and beta rhythms. Results show poor prediction within alpha and SMR and poor prediction when using the single EEG channel, so we cannot rely on one single EEG channel to predict the upcoming forward-backward movement and we need at least two EEG channels to achieve an average accuracy more than 75% when predicting the upcoming forward-backward movement within the beta band.

So, all results that will be presented next are within the beta band and between C3 and C4 EEG channels.

To investigate the best features, we ran classification over BP and PSD-Ar and over their AR and ARX models, varying the model order from 2 to 30, with a step value of 1.

To investigate the best classification in terms of classifiers (algorithms), we used linear LDA and linear SVM. For SVM, we tested different values for the C factor in an exhausted search for the optimum C factor, where we varied the values exponentially between 1·e−7 and 1·e2 with a step value of e−1.

However, we ran the search for the optimum C factor on the data of randomly selected 50% of the subjects, which means we tested 5 subjects out of the 10 subjects and found C = 1·e−2 to give optimum results, so we assumed a generalization of this value for all subjects’ data in this study. All results that will be presented next are presented with the C factor that achieved the highest accuracy, C = 1·e−02.

The LDA classifier gave a 6% higher accuracy than the SVM, but the classification drops remarkably when the features were modeled in both AR and ARX methods, even when these models were modeling noise but not the actual feature; thus, they were poor at predicting upcoming forward and backward movements. Thus, using the PSD asymmetrical ratio as a feature gave better results than using their model coefficients as features.

Table 2 shows comparison between different session 1 offline classification accuracies over PSD-Ar features when fed to LDA, using 2 EEG channels, and over band-power features when fed to SVM, using 3 EEG channels, and using the best AR and ARX model orders, for all subjects, and then averaging over all subjects.



So, using the 2-channel BCI, classification models’ performance over session 1 data showed that only 20% of the subjects achieved a classification accuracy of 80–82% and that 60% achieved a classification accuracy of 70–80%.

Statistical tests were run to investigate if there were significant differences between these classification models and then to select the classification models that achieved the best classification performance.

The Shapiro–Wilk test revealed that the normality assumption is rejected, so the Wilcoxon test was performed over all paired samples of the models’ classification accuracies. This statistical test revealed many important findings.

First, no significant differences were found between using the PSD-Ar features and using their filtered autoregressive models when feeding them to either LDA (Z = 1.3239, , and Z = 1.0220, ) or SVM (Z = 0.6050, , and Z = − 0.2646, ) classifier nor between using any of the two autoregressive models used in this study (Z = −0.7181, ).

Second, the statistical tests revealed significant differences when using all LDA models versus all SVM models ().

3.5. Session 2: Offline Classifications

Section 3.4 showed that the two classification models of session 1 that achieved the best performance and were significantly different were the following:(1)Classifier 1: β-PSD-Ar between C3 and C4 with LDA(2)Classifier 2: β-band power modeled with ARburg over C3, C4, and Cz with the SVM classifier

These 2 trained classification models were used offline over processed data from session 2, in a so-like BCI simulation of the classifier performance if implemented online.

Results in Table 3 show that classification model 2 reached an average accuracy over all subjects of 80%.



The performance of model 2 used for offline classification was 4% higher than the performance of the model used for online neurofeedback. The statistical tests confirmed the nonsignificant differences between these 3 models (p).

4. Conclusion

This study investigated, in a first session, the brain activity of the MI of forward/backward navigation in a virtual tunnel, where many models from the data of this session were then trained. Then, in a second session, only one model was used online in real time, which is the band-power neurofeedback, since the remaining models were machine learning models, which can be tested offline over the data of this second session.

Supporting previous psychophysical studies, this study showed that the motor cortex was activated bilaterally when backward-forward feet movements were imagined, and thus, two EEG channels must be used to control a VR application via a BCI using MI of lower limbs’ backward and forward movements. To our knowledge, this is the first study to investigate a BCI that used the MI moving backward command. It is also the first to compare the use of forward and backward MI commands to activate a BCI and to compare the performance of neurofeedback and the performance of a BCI simulation that uses different algorithms, in order to control the navigation in a VR environment using MI of lower limbs’ backward and forward movements.

All subjects were able to control their navigational direction within the tunnel, but with an averaged accuracy of 76%. The subjects found the backward control a harder task to achieve (the average accuracy for backward control was 50–70% versus ∼64–84% for forward control).

The band-power features modeled with AR and classified with SVM as well as the well-known and widely used power spectral asymmetrical ratio with the LDA classifier gave slight better results than human learning methods (), with an average classification accuracy of almost 80%. Using autoregression modeling over the band-power features helped in decreasing the number of features over one channel but increased the required number of channels, where good classification accuracy was obtained only when using band-power features from three channels.

For the future work, and since MI of backward movement required higher strength to achieve and control, another strategy to improve the BCI control is to assign an easier imagery task to control the backward navigation in the tunnel. Also, more machine learning algorithms will be investigated, in order to improve the performance and capabilities to control this BCI.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.


The authors would like to thank Remy Allard and Vadim Sutyushev for their great help in developing the Interface software and also Thought Technology for supplying hardware and software for the experiment. This work was supported by an NSERC discovery grant.


  1. B. Z. Allison, C. Brunner, V. Kaiser, G. R. Müller-Putz, C. Neuper, and G. Pfurtscheller, “Toward a hybrid brain–computer interface based on imagined movement and visual attention,” Journal of Neural Engineering, vol. 7, no. 2, Article ID 026007, 2010. View at: Publisher Site | Google Scholar
  2. F. Lotte, “Study of electroencephalographic signal processing and classification techniques towards the use of brain-computer interfaces in virtual reality applications,” INSA de Rennes, Rennes, France, 2008, Ph.D. thesis. View at: Google Scholar
  3. G. E. Fabiani, D. J. McFarland, J. R. Wolpaw, and G. Pfurtscheller, “Conversion of EEG activity into cursor movement by a brain-computer interface (BCI),” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 12, no. 3, pp. 331–338, 2004. View at: Publisher Site | Google Scholar
  4. P.-L. Lee, C.-H. Wu, J.-C. Hsieh, and Y.-T. Wu, “Visual evoked potential actuated brain computer interface: a brain-actuated cursor system,” Electronics Letters, vol. 41, no. 15, pp. 832–834, 2005. View at: Publisher Site | Google Scholar
  5. Y. Li, J. Long, T. Yu et al., “An EEG-based BCI system for 2-D cursor control by combining Mu/Beta rhythm and P300 potential,” IEEE Transactions on Biomedical Engineering, vol. 57, no. 10, pp. 2495–2505, 2010. View at: Publisher Site | Google Scholar
  6. J. R. Wolpaw, D. J. McFarland, G. W. Neat, and C. A. Forneris, “An EEG-based brain-computer interface for cursor control,” Electroencephalography and Clinical Neurophysiology, vol. 78, no. 3, pp. 252–259, 1991. View at: Publisher Site | Google Scholar
  7. Y.-H. Liu, J.-T. Weng, Z.-H. Kang, J.-T. Teng, and H.-P. Huang, “An improved SVM-based real-time P300 speller for brain-computer interface,” in Proceedings of the 2010 IEEE International Conference on Systems, Man and Cybernetics, pp. 1748–1754, IEEE, Miyazaki, Japan, October 2010. View at: Publisher Site | Google Scholar
  8. F. Lotte and C. Guan, “An efficient p300-based brain-computer interface with minimal calibration time,” in Proceedings of the Assistive Machine Learning for People with Disabilities Symposium (NIPS’09 Symposium), Vancouver, Canada, December 2009. View at: Google Scholar
  9. C. Neuper, M. Wörtz, and G. Pfurtscheller, “ERD/ERS patterns reflecting sensorimotor activation and deactivation,” Progress in Brain Research, vol. 159, pp. 211–222, 2006. View at: Publisher Site | Google Scholar
  10. G. Pfurtscheller and F. H. Lopes da Silva, “Event-related EEG/MEG synchronization and desynchronization: basic principles,” Clinical Neurophysiology, vol. 110, no. 11, pp. 1842–1857, 1999. View at: Publisher Site | Google Scholar
  11. D. J. Krusienski, D. J. McFarland, and J. R. Wolpaw, “An evaluation of autoregressive spectral estimation model order for brain-computer interface applications,” in Proceedings of the 2006 International Conference of the IEEE Engineering in Medicine and Biology Society, pp. 1323–1326, IEEE, New York, NY, USA, August 2006. View at: Google Scholar
  12. A. Lecuyer, F. Lotte, R. B. Reilly, R. Leeb, M. Hirose, and M. Slater, “Brain-computer interfaces, virtual reality, and videogames,” Computer, vol. 41, no. 10, pp. 66–72, 2008. View at: Publisher Site | Google Scholar
  13. F. Lotte, “Brain-computer interfaces for 3D games: hype or hope?” in Proceedings of the 6th International Conference on Foundations of Digital Games, pp. 325–327, ACM, Bordeaux, France, June-July 2011. View at: Google Scholar
  14. F. Lotte, Y. Renard, and A. Lécuyer, “Self-paced brain-computer interaction with virtual worlds: a quantitative and qualitative study “out of the lab”,” in Proceedings of the 4th International Brain-Computer Interface Workshop and Training Course, Graz, Austria, September 2008. View at: Google Scholar
  15. G. Pfurtscheller, R. Leeb, J. Faller, and C. Neuper, “Brain-computer interface systems used for virtual reality control,” Virtual Reality, vol. 1, pp. 3–20, 2011. View at: Google Scholar
  16. R. Scherer, G. R. Muller, C. Neuper, B. Graimann, and G. Pfurtscheller, “An asynchronously controlled EEG-based virtual keyboard: improvement of the spelling rate,” IEEE Transactions on Biomedical Engineering, vol. 51, no. 6, pp. 979–984, 2004. View at: Publisher Site | Google Scholar
  17. J. D. Bayliss, “Use of the evoked potential P3 component for control in a virtual apartment,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 11, no. 2, pp. 113–116, 2003. View at: Publisher Site | Google Scholar
  18. J. D. Bayliss and D. H. Ballard, “A virtual reality testbed for brain-computer interface research,” IEEE Transactions on Rehabilitation Engineering, vol. 8, no. 2, pp. 188–190, 2000. View at: Publisher Site | Google Scholar
  19. J. A. Pineda, D. S. Silverman, A. Vankov, and J. Hestenes, “Learning to control brain rhythms: making a brain-computer interface possible,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 11, no. 2, pp. 181–184, 2003. View at: Publisher Site | Google Scholar
  20. R. Leeb and G. Pfurtscheller, “Walking through a virtual city by thought,” in Proceedings of the 26th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, vol. 2, pp. 4503–4506, IEEE, San Francisco, CA, USA, September 2004. View at: Publisher Site | Google Scholar
  21. R. Leeb, V. Settgast, D. Fellner, and G. Pfurtscheller, “Self-paced exploration of the Austrian national library through thought,” International Journal of Bioelectromagnetism, vol. 9, no. 4, pp. 237–244, 2007. View at: Google Scholar
  22. J. Faller, G. Müller-Putz, D. Schmalstieg, and G. Pfurtscheller, “An application framework for controlling an avatar in a desktop-based virtual environment via a software SSVEP brain-computer interface,” Presence: Teleoperators and Virtual Environments, vol. 19, no. 1, pp. 25–34, 2010. View at: Publisher Site | Google Scholar
  23. F. Lotte, A. van Langhenhove, F. Lamarche et al., “Exploring large virtual environments by thoughts using a brain-computer interface based on motor imagery and high-level commands,” Presence: Teleoperators and Virtual Environments, vol. 19, no. 1, pp. 54–70, 2010. View at: Publisher Site | Google Scholar
  24. R. Leeb, D. Friedman, G. R. Müller-Putz, R. Scherer, M. Slater, and G. Pfurtscheller, “Self-paced (asynchronous) BCI control of a wheelchair in virtual environments: a case study with a tetraplegic,” Computational Intelligence and Neuroscience, vol. 2007, Article ID 79642, 8 pages, 2007. View at: Publisher Site | Google Scholar
  25. O. Brosseau-Lachaine, C. Casanova, and J. Faubert, “Infant sensitivity to radial optic flow fields during the first months of life,” Journal of Vision, vol. 8, no. 4, p. 5, 2008. View at: Publisher Site | Google Scholar
  26. O. Brosseau-Lachaine, J. Faubert, and C. Casanova, “Functional sub-regions for optic flow processing in the posteromedial lateral suprasylvian cortex of the cat,” Cerebral Cortex, vol. 11, no. 10, pp. 989–1001, 2001. View at: Publisher Site | Google Scholar
  27. M. Ptito, R. Kupers, J. Faubert, and A. Gjedde, “Cortical representation of inward and outward radial motion in man,” Neuroimage, vol. 14, no. 6, pp. 1409–1415, 2001. View at: Publisher Site | Google Scholar
  28. J. C. Piponnier, J. M. Hanssens, and J. Faubert, “Effect of visual field locus and oscillation frequencies on posture control in an ecological environment,” Journal of Vision, vol. 9, no. 1, p. 13, 2009. View at: Publisher Site | Google Scholar
  29. R. C. Smith, Electroencephalograph Based Brain Computer Interfaces, Citeseer, Princeton, NJ, USA, 2004.
  30. J. Kalcher and G. Pfurtscheller, “Discrimination between phase-locked and non-phase-locked event-related EEG activity,” Electroencephalography and Clinical Neurophysiology, vol. 94, no. 5, pp. 381–384, 1995. View at: Publisher Site | Google Scholar
  31. D. Tan and A. Nijholt, “Brain-computer interfaces and human-computer interaction,” in Brain-Computer Interfaces, pp. 3–19, Springer, Berlin, Germany, 2010. View at: Google Scholar
  32. L. Ljung, System Identification Toolbox: User’s Guide, Citeseer, Princeton, NJ, USA, 1995.
  33. G. Townsend, B. Graimann, and G. Pfurtscheller, “Continuous EEG classification during motor imagery-simulation of an asynchronous BCI,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 12, no. 2, pp. 258–265, 2004. View at: Publisher Site | Google Scholar
  34. A. Bashashati, M. Fatourechi, R. K. Ward, and G. E. Birch, “A survey of signal processing algorithms in brain-computer interfaces based on electrical brain signals,” Journal of Neural Engineering, vol. 4, no. 2, pp. R32–R57, 2007. View at: Publisher Site | Google Scholar
  35. D. Ming, C. Sun, L. Cheng et al., “ICA-SVM combination algorithm for identification of motor imagery potentials,” in Proceedings of the 2010 IEEE International Conference on Computational Intelligence for Measurement Systems and Applications, pp. 92–96, IEEE, September 2010. View at: Publisher Site | Google Scholar
  36. M. Tariq, P. M. Trivailo, Y. Shoji, and M. Simic, “Comparison of event-related changes in oscillatory activity during different cognitive imaginary movements within same lower-limb,” Acta Polytechnica Hungarica, vol. 16, no. 2, pp. 77–92, 2019. View at: Publisher Site | Google Scholar
  37. W. F. Bischof and P. Boulanger, “Spatial navigation in virtual reality environments: an EEG analysis,” CyberPsychology & Behavior, vol. 6, no. 5, pp. 487–495, 2003. View at: Publisher Site | Google Scholar
  38. J. Wagner, T. Solis-Escalante, R. Scherer, C. Neuper, and G. Müller-Putz, “It’s how you get there: walking down a virtual alley activates premotor and parietal areas,” Frontiers in Human Neuroscience, vol. 8, p. 93, 2014. View at: Publisher Site | Google Scholar
  39. L. Carrere and C. Tabernig, “Detection of foot motor imagery using the coefficient of determination for neurorehabilitation based on BCI technology,” in VI Latin American Congress on Biomedical Engineering CLAIB 2014, pp. 944–947, Springer, Paraná, Argentina, 2015. View at: Google Scholar
  40. P. Boord, A. Craig, Y. Tran, and H. Nguyen, “Discrimination of left and right leg motor imagery for brain-computer interfaces,” Medical & Biological Engineering & Computing, vol. 48, no. 4, pp. 343–350, 2010. View at: Publisher Site | Google Scholar
  41. K. Osakabe, W. Taketoshi, M. Kajima, M. Maeda, and K. Inoue, “Notice of removal determination method of motor imagined limbs based on the EEG signals,” in Proceedings of the 2015 54th Annual Conference of the Society of Instrument and Control Engineers of Japan (SICE), Hangzhou, China, July 2015. View at: Publisher Site | Google Scholar

Copyright © 2019 Bilal Alchalabi and Jocelyn Faubert. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

More related articles

773 Views | 379 Downloads | 0 Citations
 PDF  Download Citation  Citation
 Download other formatsMore
 Order printed copiesOrder

Related articles

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.