Abstract
Brain-Computer Interfaces (BCIs) allow for communicating intentions by mere brain activity, not involving muscles. Thus, BCIs may offer patients who have lost all voluntary muscle control the only possible way to communicate. Many recent studies have demonstrated that BCIs based on electroencephalography (EEG) can allow healthy and severely paralyzed individuals to communicate. While this approach is safe and inexpensive, communication is slow. Magnetoencephalography (MEG) provides signals with higher spatiotemporal resolution than EEG, and could thus be used to explore whether these improved signal properties translate into increased BCI communication speed. In this study, we investigated the utility of an MEG-based BCI that uses voluntary amplitude modulation of sensorimotor μ and β rhythms. To increase the signal-to-noise ratio, we present a simple spatial filtering method that takes the geometric properties of signal propagation in MEG into account, and we present methods that can process artifacts specifically encountered in an MEG-based BCI. Exemplarily, six participants were successfully trained to communicate binary decisions by imagery of limb movements using a feedback paradigm. Participants achieved significant μ-rhythm self control within 32 minutes of feedback training. For a subgroup of three participants, we localized the origin of the amplitude modulated signal to the motor cortex. Our results suggest that an MEG-based BCI is feasible and efficient in terms of user training.
Keywords: Brain-computer interface, Magnetoencephalography, Real-time feedback, Mu rhythm, Source localization
1 Introduction
Brain Computer Interfaces (BCIs) are communication devices that allow for communicating intentions by mere brain activity, not involving muscles (Wolpaw et al., 2002).
BCIs are of great importance for patients with diseases or traumatic injuries that lead to loss of voluntary muscle control, and to severe or total motor paralysis. Without muscle control, patients are cut off from communicating their needs and feelings to their environment (locked-in syndrome). The locked-in state may result from degenerative diseases such as amyotrophic lateral sclerosis, cerebral palsy, muscular dystrophy, multiple sclerosis, or from traumata such as brainstem stroke, brain or spinal cord injury. Some of these conditions impair the neural pathways that control muscles while others impair the muscles themselves.
BCIs may be classified according to the kind of brain signal they use for communication. BCIs are mainly based on electrophysiological signal acquisition methods, such as electro-encephalography (EEG), electrocorticography (ECoG) and recordings from individual neurons inside the brain. In recent years there has also been growing interest in BCIs based on imaging methods such as functional magnetic resonance imaging (fMRI) (Weiskopf et al., 2003) or near infrared spectroscopy (NIRS) (Coyle et al., 2004).
One type of brain-computer interface utilizes amplitude modulation of the μ-rhythm. This EEG component is typically found over sensorimotor cortex with a base frequency of 10–12 Hz. Its arc-shaped wave form implies a strong first harmonic in the β band at 20–24 Hz. μ-rhythm amplitude is decreased during planning, execution, or mere imagination of limb movements (desynchronization of the μ-rhythm) (Gastaut, 1952; Pfurtscheller, 1999; McFarland et al., 2000).
With a typical μ-rhythm based BCI, participants learn to control these rhythms in a real-time neurofeedback setting. Rhythm amplitude is extracted from brain signals over select locations and then translated into movement of a cursor on a screen. Initially, participants are prompted to control the cursor by imagination of limb movements. Aided by visual feedback, participants typically achieve voluntary rhythm modulation over time, and in those regions of the motor cortex that are associated with the respective limbs. Such a system allows for the communication of the user’s intent using simple cursor control, word processing, etc.
EEG-based μ-rhythm BCIs have proven their feasibility with healthy participants and with severely paralyzed patients (Pfurtscheller et al., 2000, 2003; Wolpaw et al., 2000; Kübler et al., 2005). While these systems can accurately communicate the user’s intent, they require extensive user training over many weeks or months. Furthermore, EEG data in the order of a few seconds are needed to reliably extract a single binary decision (Wolpaw et al., 2002). Other signal acquisition techniques such as electro-corticography (ECoG) (Leuthardt et al., 2004), or magneto-encephalography (MEG), may reduce training time, or increase reliability of a BCI. When compared to EEG, MEG supports a larger number of sensors, providing more spatial information (Bradshaw et al., 2001), and can detect information in the frequency range above 40 Hz (Kaiser et al., 2005) which is not present in EEG recordings. These considerations encourage exploration of MEG-based BCIs.
In this paper, we present a μ-rhythm based BCI using MEG for brain signal data acquisition. For MEG, the presence of the μ-rhythm is well-known (Salmelin et al., 1997), but the feasibility of an MEG-based μ-rhythm BCI is not immediately obvious. Despite the close relationship between EEG and MEG, characteristic differences in spatial signal propagation from source to sensors require approaches to data analysis and to spatial filtering different from EEG-based BCIs. At the same time, suitable methods are not readily available because common MEG data analysis methods are focused on source localization of stimulus-induced evoked responses, steady state responses, or identification of stationary sources (Salmelin and Hari, 1994; Liljeström et al., 2005), rather than on extraction of BCI signals. Additionally, different kinds of artifacts occur for EEG and MEG, which implies the need for artifact processing methods that are specific for each.
Data from six healthy participants illustrate the viability of our approach, and that training time and accuracy are comparable to what is common for EEG based BCIs.
While there have been in-depth investigations into the spatial origin of stationary brain rhyhtms (Liljeströom et al., 2005), the modulated μ-rhythm which is exploited by BCIs has not been subject to localization studies. Combined EEG and fMRI studies have been proposed, but remain difficult due to scanner artifacts difficult to deal with in the on-line case. MEG, on the other hand, suggests itself for source localization applications, because source-to-sensor signal propagation of magnetic fields is less influenced by the unknown physical properties of the skull than is the case with EEG (Hämäläinen et al., 1993). We show that data obtained during BCI operation can be used to localize, with high spatial precision, the origin of the μ-rhythm used for cursor control, and demonstrate exemplary localization for three of the six participants.
2 Materials and Methods
2.1 Participants
Six healthy adult volunteers participated in the study (five male, one female, mean ± SD age 30.0 ± 6.4), all being naïve to BCI operation. The study was approved by the ethics committee of the University of Tübingen Medical Faculty, and all participants gave informed consent.
2.2 Experimental Setting
Participants were seated upright, watching a 20 × 15 cm area on a screen located at an eye distance of 1.2 m, resulting in a maximum visual angle of 6° from the central direction.
Recordings were performed in sessions lasting about 1 h each. In an initial session (screening), no feedback was provided; instead, participants were asked to perform actual repetitive hand and feet movements, followed by corresponding imagery (left hand vs. right hand, both hands vs. both feet). The task was indicated by cues that appeared on the screen for 4 s, with 2 s intervals between the cues.
Data from this session comprised 20 trials with actual movement for each condition, and 30 trials of imagery for each condition. These data were used to determine parameters for the subsequent feedback sessions, in which participants learned self-control of their μ-rhythm amplitude. For training sessions, participants were instructed to try hand vs. feet movement imagination, or imagined hand movement vs. rest, whichever strategy produced the largest changes in their brain signals.
After each of those sessions, data were analyzed and on-line parameters were adapted as described in section 2.6.
Training sessions comprised 16 runs lasting 2 minutes each. Each run was followed by a short break of 10 to 20 seconds. Every 6 runs, there was a resting period of about 5 minutes.
2.3 MEG Recordings
MEG was recorded in a magnetically shielded room using a whole-head system (CTF Inc., Vancouver, Canada) comprising 151 first-order gradiometers distributed with an average distance between sensors of 2.5 cm. Data were sampled at a rate of 625 Hz with an anti-aliasing filter at 208 Hz. Head position was recorded continuously using localization coils that were fixed at the nasion and at the preauricular points, forming a head-relative coordinate system. The coils were driven with sinusoidal currents of 156 1/4 Hz, 125 Hz, and 104 1/6 Hz (1/4, 1/5, and 1/6 of the sampling frequency), generating a strong signal (1 pT, ca. 50 times the amplitude of brain signals), far above the brain signal’s frequency range of interest (10-40 Hz), thus avoiding distortions inside that range of interest. From the coil signals present in the recordings, it was possible to compute the head’s relative position and orientation off-line using narrowband filtering and least-squares fitting of each coil’s amplitude distribution to a magnetic dipole forward model. This was done as part of the source localization procedure described in section 2.7, and to control for head movement artifacts off-line as described in section 2.8.2.
2.4 Real-time Feedback
In intervals of 70.4 ms, blocks of 44 samples were transmitted from the MEG to a real-time feedback system attached via a network interface. The real-time feedback system was implemented using the BCI2000 general-purpose BCI system (Schalk et al., 2004). MEG data acquisition hardware was connected to a standard PC running a Linux operating system via a SCSI interface. Data acquisition and hardware control was done through a proprietary software (Acquire, CTF Inc.) running on the Linux machine. To allow real-time data access, CTF’s Acquire program writes raw digitized MEG data into a shared memory area in constant-sized blocks, immediately after digitization. On this machine, a second program was running that acted as a relay to BCI2000 via a TCP/IP-based socket interface. This second program, which was specifically written for this purpose, implements a widely used protocol defined for the Neuroscan SCAN server (Compumedics, El Paso, TX, USA). Thus, it was possible to use an existing BCI2000 component (i.e., the Neuroscan client) for data acquisition.
On arrival of each block of data, the feedback system computed and updated a cursor position representing the time course of μ or β bandpower amplitude observed at a subset of MEG sensors. Sensors and bandpower frequencies were chosen individually for each participant as described in section 2.6.
During feedback, the cursor moved from left to right at a constant rate, beginning its movement at the center of the feedback area’s left margin; μ or β bandpower determined its vertical speed such that the cursor’s final position at the right margin represented the trial mean of μ-rhythm activity quantified as described in section 2.5. The participant’s task was to move the cursor into a pre-defined half of the right margin indicated by a red bar (“target”). Feedback was provided in discrete trials lasting 6.7 s each (fig. 1). A trial consisted of
a 1 s period in which the target indicated the required response but no cursor was visible;
a 4.2 s feedback period during which the cursor moved from left to right at a constant rate, and up or down depending on the participant’s μ-rhythm amplitude;
a 1.5 s period during which the target turned yellow to provide feedback about successful performance, or kept its red color if the participant’s response did not meet the task requirement.
Between trials, there was an interval of 0.5 s.
2.5 Real-time Signal Processing
Each block of 44 samples, i.e., the most recent 70.4 ms of data, was analyzed by an autoregressive (AR) spectral estimation method (Burg Maximum Entropy Method, Marple (1987)), and the amplitude (square root of power) in a 3 Hz-wide frequency band was determined from the AR coefficients. The band was selected as described below in section 2.6. Vertical cursor speed υy was then a linear function of this amplitude S:
where the intercept a and the gain b was adapted dynamically to optimize the participant’s control over cursor movement (McFarland et al., 1997a). Considering cursor movement and subsequently hitting one out of two targets as a linear binary classification, it follows from the optimal linear classification rule (Rencher, 1998) that optimum control is achieved if a equals the mean of the two class means:
An adaptive on-line estimate of the class means and was calculated as the average of S over the 3 most recent trials for the respective target. To achieve an appropriate magnitude of cursor movement, b was chosen such that for a signal value equaling a class mean, the cursor hit the center of the associated target:
2.6 Spatial and Temporal Filtering
For the initial training session, spatial and temporal filter parameters were chosen according to the analysis results of the initial screening session. Between training sessions, these parameters were again adapted if suggested by the previous session’s analysis.
Off-line analysis of screening and training sessions comprised computation of topographical and spectral maps of determination coefficients (squared correlation values). These maps indicate, for each sensor and each frequency band, the amount of amplitude variance accounted for by the task condition, i.e., imagination of movement vs. rest (fig. 2 and 3). For off-line processing, we used the Welch method to compute spectrograms rather than the AR method used in the on-line case (625 samples, or 1 s, window size, no overlap, rectangular window).
For on-line feedback, we chose a single frequency band within the μ (9-15 Hz) or β (18-30 Hz) range that displayed the largest correlation with the target position. As a spatial filter, sensors with the highest correlation values were linearly combined with weights of +1 or −1 depending on the relative orientation of the magnetic field lines at the respective sensor locations (into or out of the skull).
This spatial filtering method was designed as an analogy to Laplacian filtering used for EEG signals. Due to the propagation properties of EEG signals, Laplacian filtering provides a global linear filter that results in signals which are more “localized” than the original signals – localized in the sense that transformed channels contain less signals from remote locations than the un-filtered signals. Thus, Laplacian filtering is a simple linear filter that improves signal-to-noise ratio for BCI purposes (McFarland et al., 1997b). In the case of MEG, individual sensors still record linear mixtures of source signals. However, due to the more intricate geometry of magnetic fields vs. electric fields, it is not possible to find a general spatial filter that improves signal-to-noise ratio in analogy to Laplacian filtering; rather, position and orientation of the sources of interest must be taken into account. Magnetic field lines form circles around a source current located inside the skull, thus each field line that leaves the skull at one location will enter it at a different location distant from the first one. This results in a bipolar pattern for dipole sources (fig. 3 and 4). Knowing the pattern associated with a source of interest, it is possible to improve signal-to-noise ratio by a simple linear combination of sensors located inside the pattern’s two areas associated with maximum field amplitude, using +1 and −1 as weights according to the relative orientation of the magnetic field.
To determine the spatial distribution of the modulated magnetic field, a principal component analysis (PCA) related technique was used which we call “Phase Decorrelation Analysis” (PDA). This technique was designed to linearly decompose the signal difference between the two conditions – imagined movements vs. rest, or upper vs. lower target – into orthogonal components by using amplitude and phase relations between sensors as described in )app. A. This method allowed to extract a dominant modulated source from a background of less pronounced modulation and noise.
As an example, fig. 4 A shows the main component extracted from the difference topography depicted in fig. 3, and illustrates how much information is gained over the amplitude difference when phase information is taken into account by the PDA method.
Finally, as a criterion for the number of sensors chosen, we used the decay of determination coefficients, avoiding the use of sensors with neighbors for which the determination coefficient dropped below 80% of its maximum value. This criterion was chosen to minimize the spatial filter’s sensitivity to the participant’s absolute head position while still benefitting from a larger number of sensors in cases where determination coefficients were high over a relatively large area (for an illustration, compare fig. 3 a with the actual sensor locations chosen in fig. 4 A).
2.7 Source Localization
Unlike electrical potentials measured by EEG, magnetic fields that originate from the brain are not distorted by the dominating spherically symmetric part of the distribution of conductivity inside the skull (Hämäläinen et al., 1993). Thus, for a given magnetic field distribution measured by a sensor array, source localization is possible using an inverse fitting procedure without knowledge of the conductivity distribution.
As discussed in app. A, the spatial weights of a PDA component may be interpreted in a way similar to the interpretation of source-to-sensor-space transformations derived by blind source-separation algorithms (Cardoso and Soloumiac, 1993). In this interpretation, a certain source’s spatial source-to-sensor weights may be identified with the field of that source at a certain point in time, up to a multiplicative constant. Thus, these weights may be used as a field distribution input to a dipole fitting procedure.
For the localization of source dipoles (fig. 6), the PDA component with the largest absolute eigenvalue was used as input to a least-squares current dipole fitting procedure (Equivalent Current Dipole (ECD) fitting using a homogenous spherical head model, software by CTF Inc., Vancouver, Canada). To transform the resulting MEG-based dipole location into the coordinate system of a participant’s MRI scan, the positions of the head localization coils were determined relative to MEG sensor positions. Then, these were identified with the corresponding positions (fiducial points at the nasion, and the preauricular points) as visible in the participant’s MRI scan. As a measure for errors, pairwise distances were computed between coil positions in the MEG coordinate system, and compared to pairwise distances between the fiducial points in the MRI coordinate system, and found to be below 4 mm. This error is on the same order as that typically achieved for applying localization coils to a participant’s head. For the ECD fit itself, spatial accuracy has been found to be in the order of below 4 mm in realistic simulations for a single dipole and noise up to 20 dB (Jerbi et al., 2004). These two errors combine to give a total localization error of less than 5.6 mm.
2.8 Artifact Control
2.8.1 Muscular Artifacts
Electromyographic (EMG) activity originating from facial and neck muscles is reflected in large amplitude signals over wide frequency ranges. Because EMG signals can extend into μ and β bands, it could be possible for a participant to control the feedback cursor by muscle tension and relaxation. These artifacts are readily identified by their broad-banded spectrum, imposing a vertically dominant structure that extends to high frequencies on a feature map (fig. 8), while modulation of brain rhythms with their line spectra displays a dominantly horizontal line structure in a feature map (fig. 2).
2.8.2 Head Movements
Head movements alter the distance from sources to sensors as well as their relative orientation. In the case of a physiological current dipole, the magnetic field component measured by MEG sensors strongly depends on source-sensor distance (∝ r−3), thus amplitude modulation at the sensors used for cursor movement may be achieved by head movements.
To control for head movements, localization coils were used as described in section 2.3. These coils define a head-relative coordinate system which was used for off-line detection of task-related head motion. Thereby, task-related translations were obtained by linearly correlating the three spatial coordinates of the head-centered coordinate system’s origin with the task condition variable (± cases corresponding to the two task conditions):
(1) |
Task-related rotations and scaling transformations were obtained by forming a 3×3-matrix from the coordinate system’s three basis vectors, taking its matrix logarithm, and linearly correlating it with the task condition variable:
(2) |
For each participant session, linear regression resulted in an intercept representing an average head position, and a slope that represented task-related movements. More precisely, task-related rotation around an average axis was available in form of the anti-symmetric part of ΔM, with the largest imaginary part of its eigenvalues representing the rotation angle (“task” columns in tab. 1).
Table 1.
Participant
Session |
Localized Coil Positions | Brain Signal
Modulation |
|||||||
---|---|---|---|---|---|---|---|---|---|
Translation (mm) | Rotation (degrees) | ||||||||
total | task | p | total | task | p | simulated | actual | ||
A | 0 | 1.30 | 0.05 | <0.05 | 1.74 | 0.06 | |||
1 | 1.49 | 0.08 | <0.001 | 1.87 | 0.04 | <0.04 | 0.003 | 0.140 | |
2 | 1.20 | 0.10 | <0.001 | 2.66 | 0.05 | <0.002 | 0.003 | 0.129 | |
B | 0 | 3.88 | 0.07 | 8.46 | 0.14 | ||||
1 | 4.47 | 0.21 | <0.001 | 8.32 | 0.42 | <0.001 | 0.002 | 0.035 | |
2 | 8.87 | 0.24 | <0.001 | 8.90 | 0.21 | <0.001 | 0.016 | 0.068 | |
3 | 5.44 | 0.18 | <0.001 | 6.66 | 0.13 | <0.001 | 0.007 | 0.083 | |
C | 0 | 6.59 | 0.09 | 4.83 | 0.17 | <0.02 | |||
1 | 1.58 | 0.03 | <0.006 | 2.82 | 0.06 | <0.001 | 0.001 | 0.103 | |
2 | 2.46 | 0.07 | <0.005 | 2.46 | 0.06 | <0.05 | 0.006 | 0.077 | |
D | 0 | 1.68 | 0.03 | 4.13 | 0.04 | ||||
1 | 2.38 | 0.02 | 2.94 | 0.02 | 0.001 | 0.040 | |||
2 | 2.03 | 0.03 | <0.001 | 2.83 | 0.04 | 0.002 | 0.125 | ||
E | 0 | 6.41 | 0.30 | <0.04 | 7.60 | 0.25 | <0.02 | ||
1 | 7.40 | 0.03 | 4.74 | 0.07 | 0.000 | 0.017 | |||
2 | 2.00 | 0.03 | <0.04 | 2.65 | 0.01 | 0.000 | 0.035 | ||
F | 0 | 2.15 | 0.08 | <0.004 | 1.64 | 0.06 | <0.008 | ||
1 | 2.63 | 0.01 | 2.39 | 0.00 | 0.003 | 0.015 |
In addition, for each head position sample, the linear transformation relative to the session’s average head coordinate system was computed. From these data, the standard deviation of the translation vector and the rotation angle were determined (“total” columns in tab. 1).
Analogously, the linear transformation connecting average head positions of subsequent sessions were used to infer the amount of re-positioning error between a participant’s sessions (tab. 2). Here, a re-scaling of the head-centered coordinate system may occur in addition to translations and rotations, due to errors when placing localization coils to the fiducial points. This rescaling is represented by the symmetric part of ΔM, and quantified by that symmetric part’s largest eigenvalue. In tab. 2, we give the scaling error in terms of length change for a fiducial point’s position vector in the participant’s head-centered coordinate system.
Table 2.
Participant
Session |
Translation
(mm) |
Rotation
(degrees) |
Scaling
(mm) |
|
---|---|---|---|---|
A | 0–1 | 1.30 | 8.0 | 0.23 |
1–2 | 2.99 | 12.6 | 0.78 | |
| ||||
B | 0–1 | 5.63 | 5.84 | 0.33 |
1–2 | 10.9 | 3.27 | 1.57 | |
2–3 | 6.90 | 4.66 | 1.46 | |
| ||||
C | 0–1 | 5.70 | 4.54 | 0.93 |
1–2 | 4.62 | 2.37 | 0.49 | |
| ||||
D | 0–1 | 6.10 | 8.62 | 0.16 |
1–2 | 4.68 | 5.89 | 0.51 | |
| ||||
E | 0–1 | 5.76 | 8.11 | 0.94 |
1–2 | 10.4 | 2.31 | 0.05 | |
| ||||
F | 0–1 | 5.01 | 2.25 | 0.32 |
During feedback training, participants may have followed the feedback cursor with their eyes and, in synchrony, with their heads. To evaluate the influence of these movements on our results, we considered relative modulation of brain signals, which is defined as the ratio of amplitude difference between task conditions, and mean amplitude. From a linear regression of brain signal amplitude on the task condition variable, one obtains (again, ± cases corresponding to the two task conditions):
with a relative modulation of ΔA/A0.
For each training session, we computed the brain signal’s relative modulation after spatial and spectral filtering as it was done on-line (“actual” column in tab. 1). To assess whether this modulation could be due to systematic head movements, we simulated the influence of the observed task-related movements on the signal of a realistic dipole source. In detail, we determined realistic source dipole parameters for each participant by fitting a single Equivalent Current Dipole model to the data displayed in fig. 4. Then, for each session, the resulting dipole’s position and orientation were subjected to the transformations corresponding to the + and − cases of eq. 1 and 2. The corresponding field distribution was computed for each case, and a relative modulation was determined for the signal resulting from spatial filtering (“simulated” column in tab. 1). Comparing the simulated effect of head movements to the actually observed modulation of brain signals, we find that actual modulation is consistently greater than what might be induced by head motion. This result is inconsistent with the hypothesis that cursor control was primarily governed by head motion (sec. 3.4).
2.8.3 Hand/feet movements
Generally, actual hand or feet movements defy the sense of a BCI which, by definition, does not rely on external muscles for transmitting information. Investigations of covert hand movements during the use of an EEG-based μ-rhythm BCI used forearm EMG recordings to correlate muscular with μ-rhythm activity. These investigations show that covert movements were not involved (Vaughan et al., 1998; Wolpaw and McFarland, 2004).
Actual hand or feet movements do not directly cause artifacts but may be necessary to produce the signal that controls the cursor. To account for this possibility, we monitored participants using a video camera. Additionally, participants were instructed that they were welcome to use hand movements if that improved their control, but they should report usage of hand movements to the instructor. None of the participants displayed or reported actual hand movements.
3 Results and Discussion
In this study, we developed methods suited for an MEG-based μ-rhythm BCI, and validated these methods by successfully training six healthy participants in the use of this BCI.
3.1 Behavioral Results
Learning curves for all participants are presented in fig. 5. To reduce statistical noise, accuracies were smoothed over three runs, so each accuracy value is computed from 3 * 18 = 54 trials. At 54 binary trials, an accuracy of 63% or better is statistically significant at the p < 0.05 level. We thus considered accuracies at or above 63% as significant cursor control. In fig. 5, this significance level is indicated by a dashed line.
Four participants (A–D) achieved reliable cursor control (accuracy ≥ 90%), three of them within the first training session, i.e., within 32 minutes of feedback training. All participants achieved significant cursor control during the second training session, i.e., within less than 64 minutes of feedback training. Participant C ascribed the considerable drop in performance in the second training session to a lack of concentration. Three participants (B–E) reported to control the cursor using movement imagery of both hands vs. rest; participant A reported imagery of his left hand vs. rest.
3.2 Sensorimotor Rhythm Properties
For all participants, typical difference and r2 spectra are given in fig. 7, with a base frequency in the μ range, and a first harmonic in the β band.
Using the PDA method, we were able to identify the signal of the main amplitude modulated source – the source of the sensorimotor rhythm – from data recorded on a grid of sensors, and isolate its projection weights. These weights, along with the sensor positions and frequency bands used for cursor feedback, are indicated in fig. 4. As explained in detail in sec. 2.6, the bipolar patterns observed are consistent with field distributions of localized currents, which is also what is expected for single sources with small spatial extent.
Participant E’s low performance was accompanied by a diffuse spatial pattern of amplitude modulation (fig. 4 E). Here, the insensitivity of MEG to radially oriented dipole sources may have resulted in a low signal-to-noise ratio. For participant F, performance was low despite a clear pattern of amplitude modulation emerged from the analysis (fig. 4 F), suggesting a difficulty in learning rather than a technical problem.
Feeding spatial weight distributions from fig. 4 into an ECD fitting procedure, we performed spatial localization for participants A, B, and F. Results have a spatial accuracy better than 5.6 mm (sec. 2.7) and show the origin of the modulated brain signal (sensorimotor rhythm) in the precentral gyrus (participants B and F), suggesting a motor character; for participant A, it cannot be decided within the accuracy available whether the source is located in the precentral or postcentral gyrus, i.e. whether the modulating activation is sensory or motor.
3.3 Spatial Filtering
In the present investigation, we developed an MEG equivalent to the Laplacian filtering approach commonly used with EEG. Our results suggest that this approach is viable despite its simplicity. An important aspect is the spatial filter’s sensitivity to the participant’s absolute head position. This is illustrated by fig. 4, which shows the extracted spatial pattern of source-sensor projection weights together with the sensor positions used in spatial filtering. As described in sec. 2.6, the spatial filter was always based on the analysis of the participant’s previous session. For participants A, C, and F, it is clearly visible that absolute head positions differed so much between sessions that the derived sensors were no more optimal. Still, our robust spatial filtering method allowed for reasonable and even high accuracies in the first two cases (the pattern in fig. 4 C was computed from this participant’s first training session with a final accuracy of > 85%), but could not deal with the change in head position that occurred for participant F.
In our setup, it was not possible to perform head localization on-line in real time. This made reproduction of the participant’s absolute head position across sessions a problematic task. Our results show that, without the possibility of interactively adjusting the participant’s head to a pre-defined position, the reproduction error was of the same magnitude as the spacing between MEG sensors (tab. 2). These results further suggest that more sophisticated approaches to spatial filtering such as Beamforming (Gross and Ioannides, 1999), Independent Component Analysis (ICA) (Cardoso and Soloumiac, 1993), or Common Spatial Patterns (CSP) (Koles, 1991) do not provide an immediate advantage when applied to an MEG BCI unless it becomes possible to adjust the participant’s head position on-line, because they will tend to overfit in the presence of head positioning errors. A recent cross-validation study of ICA and CSP based spatial filtering of MEG data in a BCI context (Hill et al., in press) supports this view by displaying poor generalization of these methods for MEG data, as opposed to their good performance in EEG-based BCIs.
3.4 Myographic and Head Movement Artifacts
Myographic artifacts, as well as head movements, are a possible source of signal modulation that should be carefully controlled for and monitored in BCI experiments. Despite their importance, these artifacts have not been considered by previous studies dealing with MEG-based BCIs (Lal et al., 2005; Kauhanen et al., 2006; Georgopoulos et al., 2005).
While weakly task-correlated myographic activity if often present in the recordings (fig. 2.7), only one of our participants (C) displayed muscular artifacts with a task correlation comparable to that of the brain signal. At the same time, this participant’s data reveal μ-rhythm control that does not overlap spatially with task-correlated myographic signals as illustrated by fig. 8. There, horizontal lines indicate task correlation for cortical signals at distinct frequency bands, and vertical lines indicate broad-banded task correlation typical for myographic signals. At the same time, the spatial source pattern (fig. 4) reflects a dipolar source rather than a spatially extent source as would be the case for a muscle located on the skull. Thus, even where contamination with myographic activity was present, cursor control was based on cortical signals. Still, these signals might be dependent on the concurrent presence of myographic activity, i.e. their modulation might reflect brain activity used to control the muscles generating the myographic signals that are visible in the analysis. With long-term BCI training, careful topographical and spectral analyses and proper instruction of participants such contamination has been shown to disappear over time (McFarland et al., 2005).
To control the influence of head movements on the modulation of brain signals, we introduced the use of head localization coils for continuous monitoring of the head position. Usually, head localization is done prior to and after an MEG recording to assess the amount of head movements that may have occurred during the measurements (e.g., Kaiser et al. (2005)). Driving those coils continuously as described in sec. 2.3 will record a continuous trace of head position with the brain signals, such as to allow for off-line analysis of head movements. Due to movements of the head when a participant follows the cursor with the eyes, there exists a significant correlation between head position and task condition for all participants (tab. 1). However, using the approach described in sec. 2.8.2 and comparing movement-induced relative amplitude modulation to the actually observed brain signals (rightmost columns in tab. 1), we find that movement-induced brain signal modulation as a main mechanism of cursor control can be ruled out for all participants.
Another class of artifacts present in MEG recordings is caused by static magnetic fields originating from ferromagnetic particles contaminating skin, oral cavity, lungs, or stomach of a participant, in combination with movement of these parts of the body. In the present study, this type of artifacts was present with participant E, whose signal spectrum (fig. 7 E) displays a marked increase at frequencies below 5 Hz when compared to the other participants’ spectra. These artifacts do not modulate or produce magnetic field oscillations in the frequency range relevant to the present study but need to be controlled if low-frequency signals are used for signal classification as it is the case in a recent off-line MEG BCI study involving decoding of hand movements (Georgopoulos et al., 2005).
3.5 Immediate Feedback
A first MEG-based BCI system was recently described by Lal et al. (2005), and shares hardware and data acquisition with the system presented here. As in the present investigation, the system of Lal et al. uses AR-computed spectral features of brain signals recorded over a period of a few seconds for binary classification. Unlike the present system, their system does not provide continuous feedback of brain signal features but displays the classification result (“feedback of results”) with a delay of 3 s. For self-regulation of brain states, it has been shown for EEG that timely feedback is important to facilitate learning (Mulholland et al., 1979; Rockstroh et al., 1990), so we implemented a feedback system with minimal delay. In the paper of Lal et al., no classification rates or other data are given that allow a judgement of on-line performance or learning rates. Their error rates for off-line classification are comparable to error rates in the second session of the present investigation as given in tab. 3; although there is a trend in favor of the present investigation, error rates do not differ significantly (Mann-Whitney U Test, descriptive p < 0.15). Thus, it appears that their Machine Learning (ML) approach does not provide a marked advantage in terms of classification performance.
Table 3.
Session | A | B | C | D | E | F |
---|---|---|---|---|---|---|
1 | 6.9% | 34.7% | 35.1% | 45.8% | 44.4% | 49.0% |
2 | 5.9% | 16.3% | 35.9% | 11.5% | 30.9% | 40.3% |
3 | 10.7% |
Furthermore, Lal et al. applied ML methods to MEG signals rather than introducing methods individually suited to MEG. In their study, they did not employ spatial filtering but processed data from all MEG channels in parallel, followed by an automatic selection of channels, and did not consider artifacts such as head movements or EMG as possible sources of signal modulation.
3.6 Comparison to EEG
Without specifically designed studies, it is difficult to isolate the role of a single factor such as data acquisition, signal processing, or participant instruction when comparing the results of different types of BCIs. Generally, the number of participants in BCI studies is low, and it cannot be assumed that they constitute a representative sample. To assess the performance of the present MEG-based BCI in relation to what may be considered “common” for EEG, we refer to Guger et al. (2003) who conducted a field study where participants learnt to operate two variants of a state-of-the-art sensorimotor rhythm BCI. They provide histogram data of on-line classification accuracies for 94 participants. After 20-30 minutes of training, their investigation found that on-line classification accuracy over 40 trials was distributed as displayed in fig. 9. For a comparison with our own results, we used the accuracies achieved during the last 40 trials of our participants’ first training sessions, i.e. after 30 minutes of training. While 4 of our 6 participants performed better than what was median performance in the reference study, there was no significant difference between the two distributions (Mann-Whitney U Test, descriptive p < 0.62).
4 Conclusion
In the present study, we demonstrate an MEG-based BCI that provides continuous visual feedback of μ rhythm amplitude in real time. All of the 6 participants achieved significant μ rhythm self control in the course of feedback training.
In our experimental data, spectral properties of the amplitude modulated signal agree well with what is reported for EEG (Kübler et al., 2005) and ECoG (Leuthardt et al., 2004), and its origin is shown to be spatially located in the motor cortex for 3 out of 6 participants. Unlike prior investigations into the spatial origin of brain rhythms, we were able to exploit BCI on-line performance as an indicator to choose a subset of data best suited for localization analysis, and we could use a priori-information about the sources’ amplitude modulation in the localization procedure. This allowed us to approximately extract single-dipole spatial patterns using a simple, parameter-free method (PDA), and to arrive at results comparable to investigations that use considerably more complex analysis methods (Liljeström et al., 2005).
Albeit the number of participants is limited and the performance of some participants is low, learning curves increase most expressedly during the first and the beginning of the second session of feedback, corresponding to a training duration of 30 to 40 minutes. In the present study, the performance of our MEG-based BCI is similar to what has been reported for a state-of-the-art EEG-based μ-rhythm BCI with a large number of participants (Guger et al., 2003). At the same time, we think that our MEG-based BCI bears the potential for improvement well beyond what has been demonstrated here. In our system, reproduction of a participant’s head position was only possible up to a relatively large error, on the order of one MEG sensor distance. We believe that a solution to this problem will substantially improve the accuracy of feedback and classification, and even allow for the use of more advanced spatial filtering methods. Finally, MEG-based cursor feedback may be less affected by noise than its EEG-based counterpart, resulting in a more consistent feedback experience for the participant, and thus fast learning of μ-rhythm control comparable to what has been reported for ECoG (Leuthardt et al., 2004).
Acknowledgments
We would like to thank the three anonymous reviewers whose helpful comments enabled us to make significant improvements to the manuscript.
This work was supported by the National Institutes of Health (HD30146/EB00856) in the USA and the Deutsche Forschungsgemeinschaft (SFB 550/B5) in Germany.
A Phase Decorrelation Analysis
The present “phase decorrelation” approach aims at separating amplitude modulated signals emitted by a small number of incoherent sources at a single frequency. Computational steps are
-
(1)
computing complex covariance matrices for each of two conditions (labels),
-
(2)
taking the difference of these two covariance matrices,
-
(3)
diagonalizing the resulting Hermitian complex-valued covariance difference, resulting in positive and negative eigenvalues and associated complex-valued eigenvectors.
This method applies to cases where a signal is represented as a time series of complex amplitudes, e.g. single Fourier coefficients computed over a moving window, or, similarly, the analytic signal of a band-pass filtered signal as constructed using a Hilbert transform. As for principal component analysis (PCA), resulting components will be orthogonal in sensor space. This limits applicability to cases with only a single modulated source, or a number of modulated sources with little or no overlap in sensor space.
For a justification of the method as outlined above, we consider N sources emitting signals sk with a common frequency ω, such that
where
denotes a complex amplitude representing a single sample of source k’s activity during some time interval with real amplitude Ak and phase φk. Modeling incoherent sources, we require that the phases φk, φj for two distinct sources k, j be statistically independent. Additionally, we require that the φk be statistically independent of the Ak and follow a uniform random distribution over the interval [0, 2π[.
Then the complex signal covariance matrix in source space, as defined by
will be diagonal, reducing to
Now, considering two conditions with associated amplitudes A1k and A2k, and grouping samples according to those conditions, we introduce a covariance matrix difference
which, under the above conditions, evaluates to
For a linear law of signal propagation, and a set of M sensors measuring signals emitted by the N sources, the measured signal will be
with complex amplitudes
where na denotes additive noise with zero mean complex amplitudes which need not be spatiotemporally uncorrelated. a is a signal propagation matrix representing a linear transformation from source space into sensor space. In case of infinite propagation speed, no phase shift will be introduced by the propagation matrix, i.e. a will be real-valued.
For any covariance matrix S in source space, the associated covariance S′ in sensor space is
In case of the covariance difference as introduced above, noise terms will cancel out, and the difference matrix will appear in sensor space as
For real-valued a, will be real-valued as well.
Writing in terms of its eigenvalues λk and associated eigenvectors vkα, we obtain
In case of a single dominating source, or for two sources with opposite modulation (i.e. opposite sign of associated eigenvalues), the expansion of will be unambiguous outside its null (noise) space, and we can read off that the source-to-signal projection vectors ak will be proportional to the eigenvectors vk. Similarly, for a number of sources, if it is known a priori that the projection vectors may be considered orthogonal, and if the λk are pairwise distinct with respect to noise level, then the expansion will be unambiguous, and the non-nullspace eigenvectors vk may be identified with the normalized projection vectors.
In such cases, the hermitian conjugate v† of v provides a de-mixing matrix, separating the sensor signal into N modulated source signals, and into an (M − N)-dimensional noise subspace.
Footnotes
Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final citable form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.
References
- Bradshaw LA, Wijesinghe RS, Wikswo JPJ. Spatial filter approach for comparison of the forward and inverse problems of electroencephalography and magnetoencephalography. Ann Biomed Eng. 2001;29(3):214–226. doi: 10.1114/1.1352641. [DOI] [PubMed] [Google Scholar]
- Cardoso J, Soloumiac A. Blind beamforming for non-gaussian signals. IEE Proceedings F. 1993;140(46):362–370. [Google Scholar]
- Coyle S, Ward T, Markham C, McDarby G. On the suitability of near-infrared (NIR) systems for next-generation brain-computer interfaces. Physiol Meas. 2004;25(4):815–822. doi: 10.1088/0967-3334/25/4/003. [DOI] [PubMed] [Google Scholar]
- Gastaut H. Étude éctrocorticographique de la réactivité des rhythmes rolandiques. Rev Neurol. 1952;87:176–182. [PubMed] [Google Scholar]
- Georgopoulos AP, Langheim FJP, Leuthold AC, Merkle AN. Magnetoencephalographic signals predict movement trajectory in space. Exp Brain Res. 2005;167(1):132–5. doi: 10.1007/s00221-005-0028-8. [DOI] [PubMed] [Google Scholar]
- Gross J, Ioannides AA. Linear transformations of data space in MEG. Phys Med Biol. 1999;44(8):2081–2097. doi: 10.1088/0031-9155/44/8/317. [DOI] [PubMed] [Google Scholar]
- Guger C, Edlinger G, Harkam W, Niedermayer I, Pfurtscheller G. How many people are able to operate an EEG-based brain-computer interface (BCI)? IEEE Trans Neural Syst Rehabil Eng. 2003;11(2):145–147. doi: 10.1109/TNSRE.2003.814481. [DOI] [PubMed] [Google Scholar]
- Hämäläinen M, Hari R, Ilmoniemi RJ, Knuutila J, Lounasmaa OV. Magnetoencephalography: Theory, instrumentation, and applications to noninvasive studies of the working human brain. Rev Mod Phys. 1993;65(2):413–497. [Google Scholar]
- Hill N, Lal T, Schröder M, Hinterberger T, Widman G, Elger C, Birbaumer N, Schölkopf B. Classifying event-related desynchronization in EEG, ECoG and MEG signals. In: Dornhege G, Millán J, Hinterberger T, McFarland D, Müller K, editors. Brain-Computer Interfaces. MIT Press; Utah: in press. [Google Scholar]
- Jerbi K, Baillet S, Mosher JC, Nolte G, Garnero L, Leahy RM. Localization of realistic cortical activity in MEG using current multipoles. Neuroimage. 2004;22(2):779–793. doi: 10.1016/j.neuroimage.2004.02.010. [DOI] [PubMed] [Google Scholar]
- Kaiser J, Walker F, Leiberg S, Lutzenberger W. Cortical oscillatory activity during spatial echoic memory. Eur J Neurosci. 2005;21:587–590. doi: 10.1111/j.1460-9568.2005.03867.x. [DOI] [PubMed] [Google Scholar]
- Kauhanen L, Nykopp T, Lehtonen J, Jylanki P, Heikkonen J, Rantanen P, Alaranta H, Sams M. EEG and MEG brain-computer interface for tetraplegic patients. IEEE Trans Neural Syst Rehabil Eng. 2006;14(2):190–193. doi: 10.1109/TNSRE.2006.875546. [DOI] [PubMed] [Google Scholar]
- Koles ZJ. The quantitative extraction and topographic mapping of the abnormal components in the clinical EEG. Electroencephalogr Clin Neurophysiol. 1991;79(6):440–447. doi: 10.1016/0013-4694(91)90163-x. [DOI] [PubMed] [Google Scholar]
- Kübler A, Nijboer F, Mellinger J, Vaughan T, Pawelzik H, Schalk G, McFarland D, Birbaumer N, Wolpaw J. Patients with ALS can learn to operate a sensorimotor-rhythm based brain computer interface (BCI) Neurology. 2005;64:1775–1777. doi: 10.1212/01.WNL.0000158616.43002.6D. [DOI] [PubMed] [Google Scholar]
- Lal T, Schröder M, Hill J, Preissl H, Hinterberger T, Mellinger J, Bogdan M, Rosenstiel W, Hofmann T, Birbaumer N, Schölkopf B. A brain computer interface with online feedback based on magneto-encephalography. In: De Raedt L, Wrobel S, editors. Proceedings of the 22nd International Conference on Machine Learning. 2005. pp. 465–472. [Google Scholar]
- Leuthardt E, Schalk G, Wolpaw J, Ojemann J, Moran D. A brain-computer interface using electrocorticographic signals in humans. J Neural Eng. 2004;1:63–71. doi: 10.1088/1741-2560/1/2/001. [DOI] [PubMed] [Google Scholar]
- Liljeström M, Kujala J, Jensen O, Salmelin R. Neuromagnetic localization of rhythmic activity in the human brain: a comparison of three methods. Neuroimage. 2005;25(3):734–745. doi: 10.1016/j.neuroimage.2004.11.034. [DOI] [PubMed] [Google Scholar]
- Marple S. Digital spectral analysis with applications. Prentice-Hall, Englewood Cliffs; NJ: 1987. [Google Scholar]
- McFarland D, Lefkowicz T, Wolpaw J. Design and operation of an EEG-based brain-computer interface (BCI) with digital signal processing technology. Behav Res Methods Instrum Comput. 1997a;29:337–345. [Google Scholar]
- McFarland D, McCane L, David S, Wolpaw J. Spatial filter selection for EEG-based communication. Electroenceph Clin Neurophysiol. 1997b September;103(3):386–394. doi: 10.1016/s0013-4694(97)00022-2. [DOI] [PubMed] [Google Scholar]
- McFarland D, Miner L, Vaughan T, Wolpaw J. Mu and beta rhythm topographies during motor imagery and actual movements. Brain Topogr. 2000;12(3):177–186. doi: 10.1023/a:1023437823106. [DOI] [PubMed] [Google Scholar]
- McFarland D, Sarnacki W, Vaughan T, Wolpaw J. Brain-computer interface (BCI) operation: signal and noise during early training sessions. Clin Neurophysiol. 2005;116:56–62. doi: 10.1016/j.clinph.2004.07.004. [DOI] [PubMed] [Google Scholar]
- Mosher JC, Leahy RM, Shattuck DW, Baillet S. IPMI ’99: Proceedings of the 16th International Conference on Information Processing in Medical Imaging. Springer-Verlag; London, UK: 1999. MEG source imaging using multipolar expansions; pp. 15–18. [Google Scholar]
- Mulholland T, Boudrot R, Davidson A. Feedback delay and amplitude threshold and control of the occipital EEG. Biofeedback Self Regul. 1979;4(2):93–102. doi: 10.1007/BF01007104. [DOI] [PubMed] [Google Scholar]
- Pfurtscheller G. EEG event-related desynchronization (ERD) and event-related synchronization (ERS) In: Niedermeyer E, Lopes da Silva F, editors. Electroencephalography: Basic Principles, Clinical Applications and Related Fields. 4. Williams and Wilkins; Baltimore, MD: 1999. pp. 958–967. [Google Scholar]
- Pfurtscheller G, Guger C, Müller G, Krausz G, Neuper C. Brain oscillations control hand orthosis in a tetraplegic. Neurosci Lett. 2000;292(3):211–214. doi: 10.1016/s0304-3940(00)01471-3. [DOI] [PubMed] [Google Scholar]
- Pfurtscheller G, Müller G, Pfurtscheller J, Gerner H, Rupp R. ‘Thought’–control of functional electrical stimulation to restore hand grasp in a patient with tetraplegia. Neurosci Lett. 2003;351(1):33–36. doi: 10.1016/s0304-3940(03)00947-9. [DOI] [PubMed] [Google Scholar]
- Rencher A. Multivariate statistical inference and applications. Wiley & Sons; New York: 1998. [Google Scholar]
- Rockstroh B, Elbert T, Birbaumer N, Lutzenberger W. Biofeedback-produced hemispheric asymmetry of slow cortical potentials and its behavioural effects. Int J Psychophysiol. 1990;9(2):151–165. doi: 10.1016/0167-8760(90)90069-p. [DOI] [PubMed] [Google Scholar]
- Salmelin R, Hari R. Spatiotemporal characteristics of sensorimotor neuromagnetic rhythms related to thumb movement. Neuroscience. 1994;60(2):537–550. doi: 10.1016/0306-4522(94)90263-1. [DOI] [PubMed] [Google Scholar]
- Salmelin R, Jousmäki V, Salenius S, Schnitzler A, Hari R. Modulation of human cortical rolandic rhythms during natural sensorimotor tasks. Neuroimage. 1997;5(3):221–228. doi: 10.1006/nimg.1997.0261. [DOI] [PubMed] [Google Scholar]
- Schalk G, McFarland D, Hinterberger T, Birbaumer N, Wolpaw J. BCI2000: A general-purpose brain-computer interface (BCI) system. IEEE Trans Biomed Eng. 2004;51:1034–1043. doi: 10.1109/TBME.2004.827072. [DOI] [PubMed] [Google Scholar]
- Vaughan T, Miner L, McFarland D, Wolpaw J. EEG-based communication: analysis of concurrent EMG activity. Electroenceph Clin Neurophysiol. 1998;107:428–433. doi: 10.1016/s0013-4694(98)00107-2. [DOI] [PubMed] [Google Scholar]
- Weiskopf N, Veit R, Erb M, Mathiak K, Grodd W, Göbel R, Birbaumer N. Physiological self-regulation of regional brain activity using real-time functional magnetic resonance imaging (fMRI): methodology and exemplary data. Neuroimage. 2003;19(3):577–586. doi: 10.1016/s1053-8119(03)00145-9. [DOI] [PubMed] [Google Scholar]
- Wolpaw J, Birbaumer N, McFarland D, Pfurtscheller G, Vaughan T. Brain-computer interfaces for communication and control. Electroenceph Clin Neurophysiol. 2002 June;113(6):767–791. doi: 10.1016/s1388-2457(02)00057-3. [DOI] [PubMed] [Google Scholar]
- Wolpaw J, McFarland D. Control of a two-dimensional movement signal by a noninvasive brain-computer interface in humans. PNAS. 2004;101:17849–17854. doi: 10.1073/pnas.0403504101. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wolpaw J, McFarland D, Vaughan T. Brain-computer interface research at the Wadsworth Center. IEEE Trans Rehabil Eng. 2000 June;8(2):222–226. doi: 10.1109/86.847823. [DOI] [PubMed] [Google Scholar]