Abstract
Motor imagery-based brain–computer interface (MI-BCI) has been proposed as a rehabilitation tool to facilitate motor recovery in stroke. However, the calibration of a BCI system is a time-consuming and fatiguing process for stroke patients, which leaves reduced time for actual therapeutic interaction. Studies have shown that passive movement (PM) (i.e., the execution of a movement by an external agency without any voluntary motions) and motor imagery (MI) (i.e., the mental rehearsal of a movement without any activation of the muscles) induce similar EEG patterns over the motor cortex. Since performing PM is less fatiguing for the patients, this paper investigates the effectiveness of calibrating MI-BCIs from PM for stroke subjects in terms of classification accuracy. For this purpose, a new adaptive algorithm called filter bank data space adaptation (FB-DSA) is proposed. The FB-DSA algorithm linearly transforms the band-pass-filtered MI data such that the distribution difference between the MI and PM data is minimized. The effectiveness of the proposed algorithm is evaluated by an offline study on data collected from 16 healthy subjects and 6 stroke patients. The results show that the proposed FB-DSA algorithm significantly improved the classification accuracies of the PM and MI calibrated models (p < 0.05). According to the obtained classification accuracies, the PM calibrated models that were adapted using the proposed FB-DSA algorithm outperformed the MI calibrated models by an average of 2.3 and 4.5 % for the healthy and stroke subjects respectively. In addition, our results suggest that the disparity between MI and PM could be stronger in the stroke patients compared to the healthy subjects, and there would be thus an increased need to use the proposed FB-DSA algorithm in BCI-based stroke rehabilitation calibrated from PM.
Keywords: Adaptation, Brain–computer interface, Motor imagery, Passive movement, Stroke rehabilitation
Introduction
A brain–computer interface (BCI) provides a direct communication pathway between a human brain and an external device [1, 2]. Using appropriate sensors and data processing algorithms, a BCI maps patterns of brain activity associated with a volitional thought onto signals suitable for communication and control [3, 4]. Such technology holds great promise as a basis for assisting people with severe communication and motor disabilities. More recently, BCI systems have been adapted to operate so as to encourage neurophysiological activity that might promote motor recovery in conditions such as stroke [5–7]. Several studies have demonstrated that motor imagery (MI) has a positive effect on motor rehabilitation after stroke through activation of the affected sensorimotor networks [8–10]. Since the performance of MI is internal to the subject, and thus not directly observable, BCI can facilitate the MI-based stroke rehabilitation by providing direct and immediate feedback on the MI performance.
In most of BCI systems, brain signals are measured by electroencephalogram (EEG), due to its low cost and high temporal resolution [2]. However, the EEG patterns used for discerning MI vary considerably between sessions even for the same subject [11]. Thus, MI-BCIs typically require the recording of labeled training data (acquired without giving feedback to the patient) during a so called calibration phase at the beginning of each session. The calibration phase takes around 20–30 min, and is thus time-consuming and tedious, particularly for patients who require long-term BCI therapy. Hence, algorithms that require less calibration time is highly desirable for patients use.
Several approaches have been proposed in the literature to remove the calibration phase, for example, through concatenating and clustering historic spatial filters and data from the same subject [12–14], or by creating an ensemble of historic spatial filters and classifiers derived from different subjects [15]. These methods, however, require a large amount of historic data to be available. Other techniques have sought to reduce the calibration phase through the use of co-adaptive methods or semi-supervised learning approaches [16–21]. These methods may initially have a limited performance, but it improves after a considerable adaptation time. Despite several studies in this issue, reducing the calibration time has still remained a challenging issue.
Previous research studies have demonstrated that specific EEG synchronization (ERS), are largely similar during passive movement (PM) and MI [22–24]. Therefore, PM could potentially serve as a repeatable, and observable input to produce the stereotypical EEG patterns required for calibrating a BCI model. Since PM exercises are a part of normal stroke rehabilitation [25], MI-based BCI rehabilitation therapy could start immediately by training the classifier using the PM data collected in the previous physical therapy session. The issue is that PM-induced EEG patterns may not be identical to those produced during MI [24, 26], and further, due to other inter-session variations (e.g., electrode positioning, cognitive state etc), the use of adaptive methods may be required to enhance the performance of a BCI system calibrated in this way.
To address this issue, this paper proposes a new filter bank data space adaptation (FB-DSA) algorithm to linearly transform the filter bank band-passed MI data, such that the distribution difference between the PM and MI data is minimized. This algorithm is a modified version of our previously proposed algorithm called EEG data space adaptation [27]. The performance of the proposed FB-DSA algorithm is evaluated on data collected from 6 stroke and 16 healthy subjects. The experiments performed for both the stroke and healthy subjects are based on those previously practised for MI-BCI in stroke rehabilitation [5]. For the first time, this paper also provides evidence supporting that the disparity between PM and MI is significantly stronger in the stroke patients compared to the healthy subjects, and it would thus increase the need to use adaptive algorithms such as the proposed FB-DSA algorithm in BCI-based stroke rehabilitation calibrated from PM data.
Methodology
Filter bank common spatial patterns (FBCSP)
Recently, the FBCSP algorithm [28] was proposed that combined a filter bank framework with the common spatial patterns (CSP) algorithm [29] to select the most discriminative features using a mutual information-based criterion [30]. In this paper FBCSP was used to classify the EEG data as it was the basis of all the winning algorithms in the EEG category of the BCI competition IV [31]. The FBCSP algorithm comprises the following steps:
Spectral filtering: This step uses a filter bank that decomposes the EEG data using nine equal bandwidth filters, namely 4–8, 8–12, …, 36–40 Hz. These frequency ranges cover most of the manually or heuristically selected settings used in the literature.
- Spatial filtering: In this step, the EEG data from each frequency band are spatially filtered using the CSP algorithm. Let represent a single-trial EEG data from the bth band-pass filter, where n and s denote the number of channels and the number of measurement samples respectively. The CSP matrix linearly transforms to spatially filtered as
where denotes the CSP matrix. , is generally computed by solving the eigenvalue decomposition problem:1
where and are respectively the averaged covariance matrices of the band-passed EEG data of each class; is the diagonal matrix that contains the eigenvalues of . A direction that has a large variance in events of one class (high eigenvalue) has a small variance in events of the other class (low eigenvalue). Usually, only the first and last m rows of , corresponding to the highest and lowest eigenvalues, are used as the most discriminative filters to perform spatial filtering [32].2 - Feature extraction: The m pairs of the CSP features corresponding to the ith trial from the bth band-pass filter are computed as [32]
where ; represents the first and the last m rows of ; diag(.) returns the diagonal elements of the square matrix; tr[.] returns the sum of the diagonal elements of the square matrix; and the superscript T denotes the transpose operator. Since the nine frequency bands are used, the feature vector for the ith trial is formed as3
where . In this study, pairs of the spatial filters were used as suggested in [28].4 Feature selection: The last step selects four pairs of the features from the feature vector F as the most discriminative features using the mutual information-based best individual feature (MIBIF) algorithm [30]. The selected features are used as the inputs to the classifier.
Filter bank data space adaptation (FB-DSA)
In this work, the set of the labeled EEG trials in the calibration session filtered by the bth band-pass filter is denoted as , where denotes the ith single-trial EEG filtered by the bth filter, and is the class label of the ith single-trial EEG. In the evaluation session, the available labeled EEG trials from the bth band-pass filter are denoted as , where , and .
The dissimilarities between the calibration and evaluation sessions from the bth band-pass filter can yield different joint distributions for the corresponding evaluation session and calibration session . However, changing the representation of , while the representation of Y is fixed, can change the joint distribution of the evaluation session. Following this concept, assume as a function that transforms a band-pass-filtered single-trial EEG, , from the evaluation space into another space . Thus, if for each band-pass filter, a transformation function g can be computed to yield the same joint distributions for both the calibration and evaluation sessions , the optimal model that classifies the calibration session will be still optimal for classifying the evaluation session.
For this purpose, a linear transformation function is proposed as
5 |
where denotes the FB-DSA transformation matrix. The transformation matrix should be computed such that the distribution difference between the evaluation session and the calibration session filtered by the bth band-pass filter is reduced.
Similar to [33], we assume that the differences between the calibration and evaluation sessions can be observed in the first two moments of the single-trial EEG (i.e., mean and covariance). Following this assumption, to simplify the problem, we only compare the average distributions of the EEG trials between the calibration session and the evaluation session to compute a transformation matrix that minimizes the differences between their first two moments.
Since the single-trial EEG is band-pass-filtered, it has approximately zero mean value. Consequently, the average distribution of a group of band-pass-filtered EEG trials can be defined by a zero mean and a covariance matrix computed from averaging the covariance matrices over the multiple EEG trials. Based on the maximum entropy principle, the most prudent model for modeling the distribution of the single-trial EEG that is consistent with zero mean and a covariance matrix is Gaussian [33]. Thus, the Kullback–Leibler (KL) divergence between gaussians can be used to measure the difference between the distributions.
The KL divergence between the distributions of two groups of band-pass-filtered EEG trials, presented as and (taken as reference), has a closed form expression
6 |
where and denote the average covariance matrices of the two groups of the EEG trials; and d denote the determinant function and the dimensionality of the data respectively.
Let be the average distribution of the bth band-pass-filtered EEG trials belonging to the class j in the calibration session. Using the available labeled trials from the evaluation session , the average distribution of the transformed EEG trials belonging to the class j and the bth filter is estimated as , where denotes the linear transformation matrix for the bth filtered data, and denotes the average covariance matrix of class j in the evaluation session estimated using . When the class probabilities are balanced, using the KL divergence the optimal can be computed as the solution of the minimization problem
7 |
To minimize (7), it is sufficient to calculate the first order derivative of the loss function with respect to , and set it to zero;
8 |
Thus, one solution for (8) is when (see [27] for more details)
9 |
where denotes the pseudoinverse of the matrix. is the optimal linear transformation matrix computed for the bth filter in the FB-DSA algorithm. Therefore, linearly transforms the EEG data of the bth filter from the evaluation session to the corresponding calibration session, such that the distribution difference between these sessions is minimized. As expected, in the case that the calibration and the evaluation data have similar distributions, (i.e., the average covariance matrices of the corresponding classes are equal), is the identity matrix.
The architecture of the proposed FB-DSA algorithm in the FBCSP framework is demonstrated in Fig. 1. In the calibration phase, the FBCSP algorithm is used to train a subject-specific model using PM or MI data. In the evaluation phase, the new trials from each band-pass filter are optimally transformed by their corresponding FB-DSA transformation matrix computed using a few past EEG trials of the evaluation session (i.e., 20 trials in this study). Subsequently, the transformed FB-DSA trials are directly applied to the corresponding CSP filters and the classifier trained in the calibration phase. To avoid irrelevant computation, it suffices to compute the FB-DSA transformation matrices only for the frequency bands which have features selected for the classification.
Experiments
Subjects
This study recruited 18 healthy subjects and seven hemiparetic stroke patients. Ethics committee approval was obtained from the institution’s Domain Specific Review Board, National Healthcare Group, Singapore. Informed consent were obtained from all the participants prior the study enrollment. One of the stroke patients could not commit to the whole study. Thus, the corresponding data were excluded. The experiments performed for both the stroke and healthy subjects were based on those previously practised for EEG-based MI-BCI in stroke rehabilitation [5]. From among the healthy subjects, two subjects chose to perform MI and PM of the left hand while the remaining 16 subjects chose to perform on the right hand. For four patients, the stroke affected their left hand, while the right hand was affected in the remaining two patients.
Data description
Dataset collected from the healthy subjects
EEG from 27 channels was collected. The subjects were instructed to minimize physical movements and eye blinking throughout the EEG recording process. For each subject, EEG data were collected without feedback in two measurement sessions conducted on separate days. For the first day, four runs of EEG data were collected. In the first two runs, the subjects were instructed to perform MI of the chosen hand and background rest condition. Subsequently, in the next two runs, the subjects engaged in PM of the chosen hand using the haptic knob robot [34], and background rest condition. Figure 2 shows the experimental setup to collect EEG data, as the haptic knob robot is used to move the subject’s left hand.
The subjects were instructed to perform kinesthetic MI of the chosen hand during the first two runs. The subjects were also instructed to perform mental counting during the background rest condition. In the last two runs, the subjects were asked to relax while the movement of the chosen hand was performed using the haptic knob robot [34]. The instructions were on the computer screen in each trial. As shown in Fig. 3, each trial lasted for 12 s, as the subject was first prepared with a cue for 2 s, then an “action” command instructed the subject for 4 s, and finally the subject was asked to rest for 6 s. Each run comprised of 40 trials of either MI or PM, and 40 trials of background rest condition. Considering the EEG set up time, the practice time, and the rest time between the blocks, the session on the first day took around an hour and 45 min. The EEG data from the first and second runs were used to calibrate a subject-specific model referred to as the MI model, and subsequently the EEG data from the third and fourth runs were used to calibrate a subject-specific model referred to as the PM model.
In the second day of this study, three runs of the EEG data were collected without feedback from each subject while performing MI of the chosen hand and background rest condition. Each run again comprised of 40 trials of MI and 40 trials of background rest condition. The session on the second day took around an hour and a half in total. The EEG data collected from these three runs were used to evaluate the calibrated models from the first day.
Before calibrating the subject-specific models, -fold cross-validation accuracies of the first two runs as well as the last two runs recorded on the first day were calculated to find those subjects performing either MI or PM at chance level. Using the inverse of the binomial cumulative distribution function with 95 % confidence, the accuracy on the respective action at chance level is approximately 43–57 %. Hence, those subjects whose PM or MI data have -fold cross-validation accuracies between 43 and 57 % can be excluded as their data are not proper enough for calibrating a model. The results showed that two subjects from the 18 aforementioned subjects performed MI and PM at chance level. Hence, these two subjects were removed, and the remaining 16 subjects were used for this study.
Dataset collected from the stroke patients
Table 1 provides more clinical information about the six stroke patients. The protocol used for EEG recording from the stroke subjects was very similar to that used for the healthy subjects. The minor differences are as follows: During the experiments, the patients performed either MI or PM of the stroke affected hand rather than the chosen hand. In addition, in the second day of this study, two runs of the EEG data were recorded from each subject while performing MI of the affected hand and rest condition without feedback. Similar to the healthy subjects, the EEG data recorded on the second day were used to evaluate the subject-specific MI and PM models calibrated using the data collected on the first day.
Table 1.
Gender | Type | Stroke | Duration since | FMA | ||
---|---|---|---|---|---|---|
Side | Nature | Mean | ||||
M/F | I/H | R/L | C/S | Age | Stroke (days) | (Week 0) |
4M | 2I | 2R | 1C | 54.0 8.9 | 285.7 64 | 33.0 16.2 |
M male, F female, I infarction, H hemorrhagic, R right, L left, C cortical, S subcortical, FMA Fugl–Meyer assessment (i.e., measure of severity of motor impairment)
Before calibrating the subject-specific models, -fold cross-validation accuracies of the first two runs, as well as the last two runs recorded on the first day were used to ensure that the stroke patients performed neither PM nor MI at chance level. Consequently, the study was performed using all the 6 stroke patients.
Data processing
In this study, the FBCSP [28] algorithm was used to train the subject-specific models. First, EEG data segments from 0.5 to 2.5 s after the onset of the visual cue were used for the analysis, as a range which has been demonstrated to be effective for BCI applications [31]. Subsequent processing was carried out as described in steps 1–4, Sect. 2.1. It is noted that Chebyshev Type II was used for band-pass filtering, and for each applied CSP, m = 2 pairs of the spatial filters (i.e., four filters in total) were used as suggested in [28]. Finally, the LDA classifier was employed in the classification step.
Results
Comparing the classification results
In this subsection, the performances of the subject-specific PM and MI calibration models in detecting MI versus the rest condition were examined. Further, the proposed FB-DSA algorithm was used to reduce the dissimilarities between the MI and PM data. In the FB-DSA algorithm, to classify each new trial from the evaluation session, V in (9) was computed using the immediate past 20 trials (i.e 10 trials from each class). It should be noted that the first 20 trials of the evaluation session were only used for the adaptation, and no classification was performed on these trials. The results therefore were obtained using the reminder of the evaluation session.
Healthy subjects
Table 2 presents the classification accuracies of detecting MI versus the rest condition for the 16 healthy subjects, using the different calibration models. The results in Table 2 show that the calibration model using MI (MIcs) yielded, on average, higher classification accuracy (i.e., 67.44 %) compared to the calibration model using PM (PMcs) (i.e., 65.13 %) when no adaptation was applied. This result is supportive of the findings of the previous studies [24, 35], which suggest that robot-assisted PM can be used for calibrating MI-based BCI for healthy subjects. Interestingly, in some subjects the PM models considerably outperformed the MI models (e.g., H6). On the other hand, the results for some other exhibit a deterioration of more than 8 % in the classification accuracy when the models were calibrated using PM instead of MI (e.g., H3, H8, H10, H12 and H14).
Table 2.
Subject | Healthy subjects | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
H1 | H2 | H3 | H4 | H5 | H6 | H7 | H8 | H9 | H10 | H11 | H12 | H13 | H14 | H15 | H16 | Mean | |
MIcs-No adap. | 59.4 | 51.3 | 75.2 | 54.8 | 94.5 | 52.7 | 48.9 | 63.1 | 64.6 | 58.7 | 76.1 | 82.9 | 68.3 | 77.9 | 75.4 | 75 | 67.44 |
MIcs-FBDSA | 61.5 | 66.5 | 86.7 | 63.9 | 89.5 | 54.5 | 57.3 | 64.3 | 60.9 | 63.2 | 76.4 | 76.4 | 75.4 | 77.7 | 80 | 74.5 | 70.55 |
PMcs-No adap. | 63.6 | 54.6 | 51.3 | 57.0 | 92.8 | 62.9 | 51.0 | 54.4 | 58.3 | 50 | 80.3 | 74.2 | 75.8 | 66.2 | 73.7 | 75.8 | 65.13 |
PMcs-FBDSA | 67.9 | 56.9 | 73.8 | 68.3 | 90.4 | 65.4 | 58.2 | 59.3 | 59.5 | 58.2 | 77.3 | 81.8 | 75.9 | 74.5 | 75.5 | 73.6 | 69.78 |
Table 2 shows that the proposed FB-DSA algorithm improved the classification accuracy of the PM models by an average of 4.65 %. The results also show that the PM model adapted by the FB-DSA algorithm performed better than the MI model with no adaptation by an average of 2.34 %. Furthermore, the MI models adapted by FB-DSA only slightly outperformed the PM models adapted by FB-DSA (i.e., on average 0.8 %).
Performing a two-way repeated-measures ANOVA test with model (No-adap vs. FB-DSA) and task (MI vs. PM) as the within-subject independent variables revealed a significant main effect of Model on the classification accuracies []. Interestingly, no significant main effect was found for Task []. Moreover, the interaction between Model and Task was also insignificant [].
Stroke patients
Table 3 presents the classification accuracies of detecting MI versus the rest condition for the six stroke patients, obtained by the different calibration models. Similar to the healthy subjects, the results show that the calibration model using MI (MIcs) outperformed the calibration model using PM (PMcs) in terms of the classification accuracy. The results demonstrate that the PM model adapted by FB-DSA outperformed the MI model by an average of 4.54 %. The results also show that the MI models adapted by FB-DSA performed on average 1.5 % better than the PM models adapted by FB-DSA.
Table 3.
Patient’s code | Stroke patients | ||||||
---|---|---|---|---|---|---|---|
A006 | A018 | A019 | A024 | A028 | A031 | Mean | |
MIcs-No adap. | 81.9 | 65 | 64.4 | 57.5 | 85.6 | 90.6 | 74.16 |
MIcs-FBDSA | 85.7 | 69.3 | 86.4 | 67.1 | 85.7 | 87.1 | 80.21 |
PMcs-No adap. | 85.6 | 55 | 51.3 | 55.6 | 61.3 | 93.8 | 67.10 |
PMcs-FBDSA | 84.3 | 67.9 | 80 | 59.3 | 87.86 | 92.86 | 78.70 |
Similar to the previous section, a two-way repeated-measures ANOVA test with model (No-adap vs. FB-DSA) and task (MI vs. PM) as the within-subject independent variables was performed on the classification results obtained from the stroke patients. Interestingly, a significant main effect of Model on the classification accuracies [] was observed. Moreover, no significant main effect was found for Task []. The interaction between Model and Task was also insignificant [].
We also performed a 3-way mixed design ANOVA with model (No-adap vs. FB-DSA) and task (MI vs. PM) as the within-subject independent variables and group (healthy vs. stroke subjects) as the between subject independent variable. The results showed a significant main effect of Model on the classification results []. Interestingly, the interaction between Model and Group tended to be significant []. This indicates a significant larger increase in the accuracy of the stroke group compared to the healthy group when applying adaptation. As a result, the big drop in the performance of PM model compared to the MI model in the stroke patients was compensated after applying the proposed adaptation algorithm. On the contrary, the main effect of Task [], the interaction between Group and Task [], and the interaction between Task and Model [] were not significant.
Comparing with two existing non-adaptive algorithms:
In this part, the performance of the proposed FBDSA algorithm is compared with two existing non-adaptive algorithms that are computationally as efficient as the proposed algorithm. In the first approach, the FBCSP algorithm was trained using only the first 20 trials of the test session that were previously used only for adaptation. This calibration model is called FBCSP-20. In the second approach, again the first 20 trials of the test session were used for training a FBCSP model, whereas the covariance matrices for computing CSP were estimated using the BC shrinkage algorithm [36]. This calibration model is called FBCSP-20Shrink. BC shrinkage is a computationally efficient algorithm to estimate covariance matrices without requiring time-consuming cross-validation procedures. Interestingly, BC shrinkage is shown to be very effective when the number of samples is limited [36]. To apply the BC shrinkage algorithm, as suggested in [36], for each subject, the average of the class covariances of the other subjects was used as the shrinkage target.
Figure 4 shows that the proposed FBDSA algorithm trained using either the MI or PM data outperformed the FBCSP-20 and FBCSP-20Shrink algorithms. The paired t-tests on the healthy group showed that FBCSP-20 performed significantly worse than MIcs-No adap [], MIcs-FBDSA [], PMcs-No adap [], and PMcs-FBDSA []. Furthermore, MIcs-FBDSA [] and PMcs-FBDSA [] significantly performed better than FBCSP-20Shrink. In the stroke group, the paired t-test showed that FBCSP-20 performed significantly worse than MIcs-FBDSA [], and PMcs-FBDSA []. Moreover, a significant difference between FBCSP-20Shrinkage and PMcs-FBDSA was observed [[, whereas the difference between FBCSP-20Shrinkage and MIcs-FBDSA tended to be significant [].
Discussion on the classification results
Our results show a potential mismatch between the collected PM data in the calibration session and the collected MI data in the evaluation session. This mismatch may have arisen due to differences in the EEG patterns produced during PM and those produced during MI. Other intersession variations may also be responsible (e.g., task involvement, attention, placement or impedance of the electrodes etc), leading to deterioration in the BCI performance.
Our results show that for the healthy subjects the MI models on average performed 2.31 % better than the PM models (see Table 2), whereas this difference increased to 7.06 % in the stroke patients. Indeed, for the stroke patients although the PM model performed at a level better than chance, the average 7.06 % drop in the performance compared to the MI model suggests that PM as utilized could not be an acceptable substitute for an MI calibration step. However, when the proposed FB-DSA algorithm is applied to the PM model, the results indicate a compelling compensatory effect.
Our patients in our informal talks confirmed that performing passive movement was less mentally fatiguing for them. Thus, when no previous data are available for a studied patient, we suggest using PM data for calibration and the proposed FB-DSA algorithm for adaptation, resulting in a less tired patient for the actual BCI therapeutic interaction. Furthermore, since PM exercises are a part of normal stroke rehabilitation [25], PM data can be collected in a previous physical therapy session. Otherwise, if there are some previously collected MI data belonging to the same patient, our results suggest using the available MI data for calibration along with the proposed FB-DSA for reducing inter-session variations.
It is noted that our conclusions are limited to the data collected from only 6 stroke subjects. Thus, there is a need to further investigate our findings with larger cohorts.
Disparity between PM and MI data in stroke and healthy subjects
The results in 4.1 motivated us to investigate whether the disparity between the PM and MI data is stronger in the stroke subjects compared to the healthy subjects.
Event-related spectral perturbation
In the first investigation, the grand mean event-related spectral perturbation (ERSP) [37], time locked to the cue time, was used to compare the PM and MI tasks for the healthy and stroke subjects. ERSP is a 2-D (frequency-by latency) image of average changes in the spectral power (in dB) from a baseline. Calculating an ERSP typically requires computing the power spectrum over a sliding latency window, then correcting baseline by subtracting the pre-stimulus power spectrum, and finally averaging across all the data trials.
Figure 5 presents the ERSP images obtained by grand averaging the data recorded from channel C3 for the right hand tasks and the data recorded from channel C4 for the left hand tasks. The ERSP images were plotted using the newtimef function in EEGLAB toolbox [38]. In the MI and PM ERSP images, red indicates enhancement of activity (increase of power) with respect to the pre-cue baseline (i.e., starting from 200 ms before the cue), and blue indicates suppression of activity with respect to the pre-cue baseline. All the non-green pixels of the MI and PM ERSP images show significant (two-tailed permutation test, ) post-stimulus increases or decreases (see color scale) in the spectral power compared to the averaged 200-ms pre-stimulus spectral power. In the PM minus MI ERSP images, red indicates higher activity (power) in PM compared to MI, and blue indicates higher activity in MI compared to PM. All the non-green pixels of the PM minus MI ERSP images show the areas that the spectral powers are significantly different between MI and PM (two-tailed permutation test, ).
Figure 5a shows that both PM and MI tasks significantly increased the mu power (i.e 8–13 Hz) in the healthy subjects. However, the increase in power in MI is slightly greater compared to PM. This could be due to the very simple passive movement used in this study, whereas the imagined motor movements over the MI task were most-likely more complicated. In the same line, Fig. 5b shows that the PM and MI tasks yielded significant increase in the mu and beta (i.e., 13–30 Hz) powers. In the stroke patients, PM yielded considerably stronger enhancements in the mu and beta powers compared to the MI task. Interestingly, PM also yielded an enhancement in the theta power (i.e., 4–8 Hz).
The last ERSP image in Fig. 5a shows that the PM and MI signals obtained from the healthy subjects were significantly different in some time/frequency points, particularly 1 s after the cue. The last ERSP image in Fig. 5b reveals that the differences between PM and MI were much stronger in the stroke patients compared to the healthy subjects (see the scale). Importantly, the mu power was significantly different between the PM and MI data in the stroke patients.
KL divergence between PM and MI data
In the second investigation, the KL divergence between the PM and MI data filtered by the most discriminative frequency band (i.e., subject-specific) was calculated for each subject as given in (6). The reason behind this investigation is that in the applied FBCSP algorithm the features obtained by the most discriminative frequency band are used for classification. As mentioned in Sect. 2.1, the most discriminative frequency band is the one generating the feature with the highest mutual information. Indeed, unlike the ERSP images, this method measures the disparity between the PM and MI data using all (or a group) of channels.
Figure 6 compares the KL divergence between the PM and MI data in the healthy and the stroke subjects. Each star corresponds to a subject. The boxplots of the obtained results were also depicted to ease the comparison between the healthy and stroke subjects. In Fig. 6a the KL divergence was obtained using all the 27 channels, while in Fig. 6b only 6 channels in the motor cortex area were used to obtain the KL divergence (i.e C3, CP3, CF3, C4, CP4, CP3). The Y-axes of Fig. 6 have been drawn in the log scale to be more presentative.
Using all the channels, Fig. 6a shows that the difference between the PM and MI data is on average larger in the stroke subjects compared to the healthy subjects. However, according to the independent samples t test, the difference between the results of these two groups was not statistically significant [], since there were a few healthy subjects with high KL divergences between their PM and MI data. Indeed, the obtained KL values measured not only the inherent dissimilarities between the PM and MI data but also other inter-session variations (e.g task involvement, electrode impedance) that may not be negligible. Supporting this fact, our investigation showed that in one of the healthy subjects an EEG channel became loose at the middle of the PM session, and consequently caused a large KL divergence between the PM and MI data. Thus, to reduce the effect of other inter-session non-stationarities, in Fig. 6b we focused on the motor cortex area, and obtained the KL divergence using only six channels (i.e., C3, CP3, CF3, C4, CP4, CP3). The results in Fig. 6b showed that in the stroke subjects the difference between the PM and MI data recorded over the motor cortex area was statistically stronger compared to the healthy subjects (i.e independent samples t test, ).
Discussion on the disparity between PM and MI
According to the study presented by Galán et al. [39], the lack of sensory feedback in the MI data might cause some fundamental differences between MI and PM. To further investigate this issue, the ERSP images for centro-parietal electrodes which are closer to the sensorimotor cortex (i.e., CP3 for the right hand tasks and CP4 for the left hand tasks) were plotted. The ERSP images were relatively similar to the ones in Fig. 5 confirming the available differences between the PM and the MI data over the sensorimotor cortex. Due to the limited space these ERSP images are not included in the paper.
According to Fig. 5, it appears that most of the interesting different activities between the PM and MI data is in the mu band. In order to find which frequencies are more different between MI and PI, we looked at the data space adaptation matrices () calculated for the different frequency bands. If the MI and PM for a specific frequency band are similar, the matrix is close to the identity matrix. To measure the differences between PM and MI in each frequency band, the Frobenious norm between and the identity matrix was calculated as , where I is the identity matrix and denotes the Frobenious norm.
Interestingly, the results showed that for all the stroke patients the mu rhythm had the largest difference between the PM and MI data. Besides, the theta rhythm was observed as the second largest different frequency band in 4 out of 6 patients. Several studies reported the theta enhancement during working memory, memory decoding and retrieval process. A recent study also reported the theta enhancement during the initiation of movement, and linked it to spatial exploration and self-direction learning [40]. This initial interesting findings should be further explored using a large number of stroke patients in future.
In the healthy subjects, mu, alpha, and the lower beta (i.e., 12–16 Hz) showed the largest difference between PM and MI for 8, 4 and 2 subjects, respectively. For the remaining two subjects the 28–32 Hz band and the 36–40 Hz band presented the largest difference. Thus, our results suggest that in most of the subjects the main discriminative frequency bands between PM and MI were mu and theta, respectively. However, since the proposed FB-DSA adaptation is a very computationally fast algorithm, it might not be worth to just apply the adaptation algorithm on one or two bands.
In summary, our results in Sect. 4.2 suggest that due to a stronger difference observed between the PM and the MI data in the stroke patients, there might be an increased need to use adaptive algorithms such as the proposed FB-DSA algorithm in BCI-based stroke rehabilitation calibrated from PM data.
Impact of FB-DSA on the feature space
To better understand the impact of the proposed FB-DSA algorithm on the classification accuracies of MI-BCIs calibrated using passive data, the training features and the evaluation features before and after applying the FB-DSA algorithm were plotted for the patient A019. Adapting the PM model of this patient by the proposed FB-DSA algorithm resulted in the highest improvement in the classification accuracy, which was 28.75 % (see Table 3).
Figure 7a shows the train features of the PM model extracted from the PM data. Figure 7b, c, respectively show the evaluation features of the PM model extracted from the MI data before and after applying the FB-DSA algorithm. For ease of visualization only two features which had the highest mutual information on the train data were plotted. Moreover, the features were plotted after the normalization process. The blue crosses and the red squares denote the features of the hand MI/PM and the rest class respectively. The black line represents the LDA hyperplane obtained using the training data. Figure 7 shows that there were big changes between the distributions of the training features and the evaluation features before applying FB-DSA, that resulted in the inferior classification accuracy. In contrast, the differences between the train and the evaluation features after the proposed FB-DSA algorithm were considerably reduced. The FB-DSA algorithm not only compensated the shift in the feature spaces but also increased the discrimination between the two classes of the evaluation features. Thus, the classification accuracy was substantially improved.
Number of trials for adapting the PM model by FB-DSA
In this subsection, we examined the influence of the number of trials used for computing the FB-DSA transformation matrices on the classification results of the PM and MI models in BCI-based stroke rehabilitation. For this purpose, the data from the 6 stroke patients were only used. Figure 8 shows the average classification accuracy of the PM and MI models adapted by the proposed FB-DSA algorithms for the six stroke subjects as a function of the number of trials used for computing in (9). Thus, to classify each new trial in the evaluation session, was computed using a number of immediate past trials varying from 0 to 30. It is noted that in this experiment the first 30 trials of the evaluation sessions (i.e., 15 trials from each class) were only used for computing the FB-DSA transformation matrices, and the classification was performed on the remaining 210 trials of the evaluation sessions.
Figure 8 shows that increasing the number of trials used in the FB-DSA algorithm up to around 20 (i.e., 10 trials from each class) improved the average classification accuracy of both the PM and MI models. This improvement would be due to better estimations of the covariance matrices in (9) using more trials. In contrast, a further increase in the number of trials to 30 caused a decrease in the average accuracy. This could be due to the fact that increasing the number of trials reduces the influence of the recent trials in computing . Figure 8 also shows that when six trials or more were used to compute the FB-DSA transformation matrices, the PM model adapted by FB-DSA averagely outperformed the MI model with no adaptation.
In a BCI-based stroke rehabilitation, it would be desirable if we could provide appropriate feedback to the patient from the very beginning. Overall, our results suggest that the BCI-based stroke rehabilitation session with appropriate feedback can be started after collecting just a few trials (e.g., only 3 trials from each class). This is achieved by a subject-specific model calibrated from PM data that is continually adapted using the proposed FB-DSA algorithm. As such, before collecting 20 evaluation trials (i.e., 10 trials from each class), the PM model classifies an upcoming trial using the FB-DSA transformation matrices computed from all the previous trials. After reaching 20 trials, to classify each new trial, the FB-DSA transformation matrices are computed using the immediate past 20 trials.
Conclusion
This paper investigated the effectiveness of calibrating EEG-based motor imagery BCIs using passive movement. For this purpose, a new algorithm called FB-DSA was proposed to linearly transform the filter bank band-passed MI data, such that the distribution difference between the MI and PM data is minimized. The proposed algorithm was evaluated using data from six stroke patients and 16 healthy subjects. The design of this study for both the stroke and healthy subjects was based on the use of motor imagery-based BCI for stroke rehabilitation [5]. The EEG data were collected during MI or PM of the chosen hand versus the rest condition for the healthy subjects, and the stroke affected hand versus the rest condition for the patients.
Our results suggest using PM data for calibration and the proposed FB-DSA algorithm for adaptation when no previous data are available for a studied patient. Importantly, collecting PM data for calibration leads to a less mentally tired patient for the actual BCI therapeutic interaction. Furthermore, since PM exercises are a part of normal stroke rehabilitation, PM data can be collected in a previous physical therapy session. On the other hand, if there are some previously collected MI data belonging to the same patient, our results suggest using the available MI data for calibration along with the proposed FB-DSA for reducing inter-session variations. We also provided some analytical evidence suggesting that the disparity between the MI and PM data could be significantly stronger in the stroke patients compared to the healthy subjects. Thus, there might be an increased need to use adaptation algorithms such as the proposed FB-DSA algorithm in BCI-based stroke rehabilitation calibrated from PM.
Overall, the results showed that a BCI-based stroke rehabilitation session with appropriate feedback could be reliably started after collecting just a few trials (e.g., only 3 trials from each class). This could be achieved by using a subject-specific model calibrated from robot-assisted PM data that was continually adapted using the proposed FB-DSA algorithm.
Acknowledgments
This work was supported by the Agency for Science, Technology and Research (A.STAR), Singapore. The authors would like to thank the participants and the entire research team at the Tan Tock Seng hospital rehabilitation center, as well as everybody who were involved in the data collection from the stroke patients.
Contributor Information
Mahnaz Arvaneh, Email: m.arvaneh@sheffield.ac.uk.
Cuntai Guan, Email: ctguan@i2r.a-star.edu.sg.
Kai Keng Ang, Email: kkang@i2r.a-star.edu.sg.
Tomas E. Ward, Email: tomas.ward@eeng.nuim.ie
Karen S. G. Chua, Email: Karen_Chua@ttsh.com.sg
Christopher Wee Keong Kuah, Email: Christopher_Kuah@ttsh.com.sg.
Gopal Joseph Ephraim Joseph, Email: gopal_joseph_ephraim@ttsh.com.sg.
Kok Soon Phua, Email: ksphua@i2r.a-star.edu.sg.
Chuanchu Wang, Email: ccwang@i2r.a-star.edu.sg.
References
- 1.Birbaumer N. Brain–computer-interface research: coming of age. Clin Neurophysiol. 2006;117:479–483. doi: 10.1016/j.clinph.2005.11.002. [DOI] [PubMed] [Google Scholar]
- 2.Wolpaw JR, Birbaumer N, McFarland DJ, Pfurtscheller G, Vaughan TM. Brain–computer interfaces for communication and control. Clin Neurophysiol. 2002;113:767–791. doi: 10.1016/S1388-2457(02)00057-3. [DOI] [PubMed] [Google Scholar]
- 3.Ahangi A, Karamnejad M, Mohammadi N, Ebrahimpour R, Bagheri N. Multiple classifier system for EEG signal classification with application to brain–computer interfaces. Neural Comput Appl. 2013;23(5):1319–1327. doi: 10.1007/s00521-012-1074-3. [DOI] [Google Scholar]
- 4.Hu S, Tian Q, Cao Y, Zhang J, Kong W. Motor imagery classification based on joint regression model and spectral power. Neural Comput Appl. 2012;21(7):1–6. [Google Scholar]
- 5.Ang KK, Guan C, Chua KSG, Ang TB, Kuah CWK, Wang C, Phua KS, Chin ZY, Zhang H. A large clinical study on the ability of stroke patients to use EEG-based motor imagery brain–computer interface. Clin EEG Neurosci. 2011;42:253–258. doi: 10.1177/155005941104200411. [DOI] [PubMed] [Google Scholar]
- 6.Pfurtscheller G, Muller-Putz GR, Scherer R, Neuper C. Rehabilitation with brain–computer interface systems. Computer. 2008;41:58–65. doi: 10.1109/MC.2008.432. [DOI] [Google Scholar]
- 7.Prasad G, Herman P, Coyle D, McDonough S, Crosbie J. Applying a brain–computer interface to support motor imagery practice in people with stroke for upper limb recovery: a feasibility study. J Neuroeng Rehabil. 2010;7(1):60. doi: 10.1186/1743-0003-7-60. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Butler AJ, Page SJ. Mental practice with motor imagery: evidence for motor recovery and cortical reorganization after stroke. Arch Phys Med Rehabil. 2006;87:2–11. doi: 10.1016/j.apmr.2006.08.326. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Sharma N, Pomeroy VM, Baron J-C. Motor imagery: a backdoor to the motor system after stroke? Stroke. 2006;37:1941–1952. doi: 10.1161/01.STR.0000226902.43357.fc. [DOI] [PubMed] [Google Scholar]
- 10.Vries S, Mulder T. Motor imagery and stroke rehabilitation: a critical discussion. J Rehabil Med. 2007;39:5–13. doi: 10.2340/16501977-0020. [DOI] [PubMed] [Google Scholar]
- 11.Shenoy P, Krauledat M, Blankertz B, Rao RPN, Müller K-R. Towards adaptive classification for BCI. J Neural Eng. 2006;3:13–23. doi: 10.1088/1741-2560/3/1/R02. [DOI] [PubMed] [Google Scholar]
- 12.Krauledat M, Schroder M, Blankertz B, Muller K. Reducing calibration time for brain–computer interfaces: a clustering approach. Adv Neural Inf Process Syst. 2007;19:753–760. [Google Scholar]
- 13.Krauledat M, Tangermann M, Blankertz B, Muller K. Towards zero training for brain–computer interfacing. PLoS One. 2008;3(8):2967. doi: 10.1371/journal.pone.0002967. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Arvaneh M, Guan C, Ang KK, Quek C (2012) Omitting the intrasession calibration in EEG-based brain–computer interface used for stroke rehabilitation. In: 34th annual conference of the IEEE engineering in medicine and biology society, pp 4124–4127 [DOI] [PubMed]
- 15.Fazli S, Popescu F, Danoczy M, Blankertz B, Muller K, Grozea C. Subject independent mental state classification in single trials. Neural Netw. 2009;22:1305–1312. doi: 10.1016/j.neunet.2009.06.003. [DOI] [PubMed] [Google Scholar]
- 16.Arvaneh M, Robertson I, Ward TE (2014) Subject-to-subject adaptation to reduce calibration time in motor imagery-based brain–computer interface. In: 36th annual conference of the IEEE engineering in medicine and biology society, pp 6501–6504 [DOI] [PubMed]
- 17.Vidaurre C, Sannelli C, Müller K-R, Blankertz B. Machine-learning-based coadaptive calibration for brain–computer interfaces. Neural Comput. 2011;23(3):791–816. doi: 10.1162/NECO_a_00089. [DOI] [PubMed] [Google Scholar]
- 18.Li Y, Guan C, Li H, Chin Z. A self-training semisupervised SVM algorithm and its application in an EEG-based brain–computer interface speller system. Pattern Recogn Lett. 2008;29(9):1285–1294. doi: 10.1016/j.patrec.2008.01.030. [DOI] [Google Scholar]
- 19.Vidaurre C, Schlögl A, Cabeza R, Scherer R, Pfurtscheller G. Study of on-line adaptive discriminant analysis for EEG-based brain–computer interfaces. IEEE Trans Biomed Eng. 2007;54:550–556. doi: 10.1109/TBME.2006.888836. [DOI] [PubMed] [Google Scholar]
- 20.Satti A, Guan C, Prasad G, Coyle D (2010) A covariate shift minimisation method to alleviate non-stationarity effects for an adaptive brain–computer interface. In: 20th international conference on pattern recognition, pp 105–108
- 21.Krusienski DJ, Grosse-Wentrup M, Galán F, Coyle D, Miller KJ, Forney E, Anderson CW. Critical issues in state-of-the-art brain–computer interface signal processing. J Neural Eng. 2011;8(2):025002. doi: 10.1088/1741-2560/8/2/025002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Pfurtscheller G, Neuper C. Motor imagery activates primary sensorimotor area in humans. Neurosci Lett. 1997;239:65–68. doi: 10.1016/S0304-3940(97)00889-6. [DOI] [PubMed] [Google Scholar]
- 23.Alegre M, Labarga A, Gurtubay IG, Iriarte J, Malanda A, Artieda J. Beta electroencephalograph changes during passive movements: sensory afferences contribute to beta event-related desynchronization in humans. Neurosci Lett. 2002;331:29–32. doi: 10.1016/S0304-3940(02)00825-X. [DOI] [PubMed] [Google Scholar]
- 24.Kaiser V, Kreilinger A, Müller-Putz GR, Neuper C. First steps towards a motor imagery based stroke BCI: new strategy to set up a classifier. Front Neurosci. 2011;5:1–10. doi: 10.3389/fnins.2011.00086. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Johnstone M. Restoration of motor function in the stroke patient. London: Churchill Livingstone; 1983. [Google Scholar]
- 26.Ang KK, Guan C, Chua KSG, Phua KS, Wang C, Chin ZY, Zhou L, Yin K, Tang C, Ephraim GJ, Kuah CWK (2013) A clinical study of motor imagery BCI performance in stroke by including calibration data from passive movement. In: 35th annual conference of the IEEE engineering in medicine and biology society, pp 6603–6606 [DOI] [PubMed]
- 27.Arvaneh M, Guan C, Ang KK, Quek C. EEG data space adaptation to reduce inter-session non-stationarity in brain–computer interface. Neural Comput. 2013;25(8):2146–2171. doi: 10.1162/NECO_a_00474. [DOI] [PubMed] [Google Scholar]
- 28.Ang KK, Chin ZY, Wang C, Guan C. Filter bank common spatial pattern algorithm on BCI competition IV datasets 2a and 2b. Front Neurosci. 2012;6:1–9. doi: 10.3389/fnins.2012.00039. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Blankertz B, Tomioka R, Lemm S, Kawanabe M, Müller KR. Optimizing spatial filters for robust EEG single-trial analysis. IEEE Signal Process Mag. 2008;25:41–56. doi: 10.1109/MSP.2008.4408441. [DOI] [Google Scholar]
- 30.Ang KK, Chin ZY, Zhang H, Guan C. Mutual information-based selection of optimal spatial–temporal patterns for single-trial EEG-based BCIs. Pattern Recogn. 2011;45(6):2137–2144. doi: 10.1016/j.patcog.2011.04.018. [DOI] [Google Scholar]
- 31.Tangermann M, Müller KR, Aertsen A, Birbaumer N, Braun C, Brunner C, et al. Review of the BCI competition IV. Front Neurosci. 2012;6(55):1–31. doi: 10.3389/fnins.2012.00055. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Ramoser H, Müller-Gerking J, Pfurtscheller G. Optimal spatial filtering of single trial EEG during imagined hand movement. IEEE Trans Rehabil Eng. 2000;8:441–6. doi: 10.1109/86.895946. [DOI] [PubMed] [Google Scholar]
- 33.von Bunau P, Meinecke FC, Kiraly FC, Müller K-R. Finding stationary subspaces in multivariate time series. Phys Rev Lett. 2009;103(21):214101. doi: 10.1103/PhysRevLett.103.214101. [DOI] [PubMed] [Google Scholar]
- 34.Lambercy O, Dovat L, Gassert R, Burdet E, Chee Leong T, Milner T. A Haptic knob for rehabilitation of hand function. IEEE Trans Neural Syst Rehabil Eng. 2007;15(3):356–366. doi: 10.1109/TNSRE.2007.903913. [DOI] [PubMed] [Google Scholar]
- 35.Ang KK, Guan C, Chua KSG, Ang BT, Kuah CWK, Wang C, Phua KS, Chin ZY, Zhang H (2009) A clinical study of motor imagery-based brain–computer interface for upper limb robotic rehabilitation. In: 31st annual international conference of the IEEE engineering in medicine and biology society, pp 5981–5984 [DOI] [PubMed]
- 36.Bartz D, Müller KR (2014) Covariance shrinkage for autocorrelated data. In: Advances in neural information processing systems, pp 1592–1600
- 37.Makeig S. Event-related dynamics of the EEG spectrum and effects of exposure to tones. Electroencephalogr Clin Neurophysiol. 1993;86:283–293. doi: 10.1016/0013-4694(93)90110-H. [DOI] [PubMed] [Google Scholar]
- 38.Delorme A, Makeig S. EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis. J Neurosci Methods. 2004;134(1):9–21. doi: 10.1016/j.jneumeth.2003.10.009. [DOI] [PubMed] [Google Scholar]
- 39.Galán F, Baker MR, Alter K, Baker SN. Degraded EEG decoding of wrist movements in absence of kinaesthetic feedback. Hum Brain Map. 2015;36(2):643–654. doi: 10.1002/hbm.22653. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Kaplan R, Doeller CF, Barnes GR, Litvak V, Düzel E, Bandettini PA, Burgess N. Movement-related theta rhythm in humans: coordinating self-directed hippocampal learning. PLoS Biol. 2012;10(2):1–13. doi: 10.1371/journal.pbio.1001267. [DOI] [PMC free article] [PubMed] [Google Scholar]