The present invention relates broadly to a system and method for processing brain signals in a BCI system.
Brain Computer Interface (BCI) systems can provide an alternative way of communication and control for people with severe motor disabilities by allowing the human brain to control a computer directly without relying on normal neuromuscular pathways. The most important application for the BCI system is in the area of providing communication, control or rehabilitation tools for paralyzed people who are suffering from severe neuromuscular disorders so as to help compensate for or restore their lost abilities. For example, non-invasive, EEG-based BCI systems measure specific components of EEG activities, extract features from these components and translate these features into control signals to operate devices such as a cursor or a robot arm. Furthermore, BCI systems are also able to provide an important test-bed for the development of mathematical methods and multi-channel signal processing to derive command signals from brain activities.
A feature of brain signals that can be used in BCI systems is the evoke-related potential (ERP) for example, the P300 signal. The P300 signal is an endogenous, positive polarity component of the evoke-related potential (ERP) elicited in the brain in response to infrequent/oddball auditory, visual or somatosensory stimuli in a stream of frequent stimuli. It occurs at a latency of 300-600 ms after a target “oddball” stimulus and has a parietal distribution on the scalp. Furthermore, the amplitude of the P300 signal varies directly with the relevance of the eliciting events and inversely with the probability of the stimuli (or the inter-stimulus interval). On the other hand, exogenous factors such as stimulus size, stimulus duration and eccentricity do not usually give rise to significant changes in the P300 signal waveform. Coupled with the fact that almost all humans generate the P300 signal in response to infrequent/oddball stimuli, the stability of the P300 signal waveform in the presence of exogenous factors allows the P300 signal to be effectively used in BCI systems.
Traditional BCI systems, including P300-based BCI systems, work in a synchronous mode with the assumption that the user is always in the control state.
Therefore the BCI system is continuously translating concurrent brain signals to certain control commands even when the user does not intend to do so. This results in several false interpretations of the brain signals which in turn results in several responses of the BCI system not in accordance with the user's intent. Embodiments of the present invention seek to address one or more of the above problems.
According to a first aspect of the present invention, there is provided a method of processing brain signals in a BCI system, the method comprising the steps of processing the brain signals for control state detection to determine if a subject intends to use the BCI system; and processing the brain signals for command recognition if the control state detection method determines that the subject intends to use the BCI system.
The step of processing the brain signals for control state detection may comprise providing a pre-defined set of stimuli; repeatedly activating the stimuli in rounds, wherein in each round each stimulus is activated once; detecting the respective brain signals in response to each of the stimuli being activated during each round; and determining whether over consecutive rounds the brain signal recorded for one of the stimuli corresponds to a P300 signal.
The determining whether over consecutive rounds the brain signal recorded for one of the stimuli corresponds to a P300 signal may be based on a fixed number of consecutive rounds.
The determining whether over consecutive rounds the brain signal recorded for one of the stimuli corresponds to a P300 signal may be based on a variable number of consecutive rounds.
After each round, different sets of consecutive rounds may be considered, with respective numbers of consecutive rounds in the different sets varying from a pre-defined minimum number to a current number of rounds.
The determining whether over consecutive rounds the brain signal recorded for one of the stimuli corresponds to a P300 signal may be based on the set of rounds with a highest posterior probability.
The determining whether over consecutive rounds the brain signal recorded for one of the stimuli corresponds to a P300 signal may be further based on a risk measure for evaluating a risk of making a wrong determination.
The risk measure may be based on a first posterior probability that for one of the stimuli the brain signal corresponds to a P300 signal in a current determination and a second posterior probability that, given a result of a previous determination, the brain signal of one of the stimuli corresponds to a P300 signal in the current determination.
The processing the brain signals for command recognition may comprise applying a classification method which determines a maximal averaged SVM score amongst the stimuli for having an associated brain signal corresponding to the P300 signal.
The stimuli may comprise one or more of a group consisting of a visual stimulus, an auditory or a somatosensory stimulus.
According to a second aspect of the present invention, there is provided a system for processing brain signals in a BCI system, the system comprising of a detection unit for processing the brain signals for control state detection to determine if a subject intends to use the BCI system; and a recognition unit for processing the brain signals for command recognition if the control state detection method determines that the subject intends to use the BCI system.
The system may further comprise a stimulation unit comprising a set of stimuli; wherein the stimulation unit repeatedly activates the stimuli in rounds, such that in each round each stimulus is activated once; and the detection unit detects the respective brain signals in response to each of the stimuli being activated during each round and determines whether over consecutive rounds the brain signal recorded for one of the stimuli corresponds to a P300 signal.
According to a third aspect of the present invention, there is provided a data storage medium having stored thereon computer code means for instructing a computer system to execute a method of classifying brain signals in a BCI system, the method comprising the steps of processing the brain signals for control state detection to determine if a subject intends to use the BCI system; and processing the brain signals for command recognition if the control state detection method determines that the subject intends to use the BCI system.
Embodiments of the invention will be better understood and readily apparent to one of ordinary skill in the art from the following written description, by way of example only, and in conjunction with the drawings, in which:
Some portions of the description which follows are explicitly or implicitly presented in terms of algorithms and functional or symbolic representations of operations on data within a computer memory. These algorithmic descriptions and functional or symbolic representations are the means used by those skilled in the data processing arts to convey most effectively the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities, such as electrical, magnetic or optical signals capable of being stored, transferred, combined, compared, and otherwise manipulated.
Unless specifically stated otherwise, and as apparent from the following, it will be appreciated that throughout the present specification, discussions utilizing terms such as “calculating”, “determining”, “outputting”, “transforming”, “concatenating”, “checking”, “evaluating”, “activating”, “detecting” or the like, refer to the action and processes of a computer system, or similar electronic device, that manipulates and transforms data represented as physical quantities within the computer system into other data similarly represented as physical quantities within the computer system or other information storage, transmission or display devices.
The present specification also discloses an apparatus for performing the operations of the methods. Such apparatus may be specially constructed for the required purposes, or may comprise a general purpose computer or other device selectively activated or reconfigured by a computer program stored in the computer. The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose machines may be used with programs in accordance with the teachings herein. Alternatively, the construction of more specialized apparatus to perform the required method steps may be appropriate. The structure of a conventional general purpose computer will appear from the description below.
In addition, the present specification also implicitly discloses a computer program, in that it would be apparent to the person skilled in the art that the individual steps of the method described herein may be put into effect by computer code. The computer program is not intended to be limited to any particular programming language and implementation thereof. It will be appreciated that a variety of programming languages and coding thereof may be used to implement the teachings of the disclosure contained herein. Moreover, the computer program is not intended to be limited to any particular control flow. There are many other variants of the computer program, which can use different control flows without departing from the spirit or scope of the invention.
Furthermore, one or more of the steps of the computer program may be performed in parallel rather than sequentially. Such a computer program may be stored on any computer readable medium. The computer readable medium may include storage devices such as magnetic or optical disks, memory chips, or other storage devices suitable for interfacing with a general purpose computer. The computer readable medium may also include a hard-wired medium such as exemplified in the Internet system, or wireless medium such as exemplified in the GSM mobile telephone system. The computer program when loaded and executed on such a general-purpose computer effectively results in an apparatus that implements the steps of the preferred method.
An asynchronous BCI system is proposed to address the problems of traditional BCI systems mentioned above. The key difficulty in building an asynchronous BCI system is in developing a computational approach to distinguish between brain signals in the control state and those in the non-control state.
An example embodiment of the present invention is described as follows. The command panel 102 contains a virtual keyboard with a few buttons representing characters and editing commands. When the BCI system 100 is in operation, the buttons of the command panel 102 flash randomly according to the timing control provided by the processor 110. When the subject 104 intends to use the BCI system 100 (control state), the subject 104 focuses on one of the buttons corresponding to the character or the editing command that the subject 104 intends to input. This leads to the appearance of evoke-related potentials such as P300 signals in the brain signals of the subject 104. When the subject 104 does not intend to use the BCI system 100 (non-control state), he or she does not focus on any button. Brain signals from the subject 104 are detected by the set of electrodes 106 and are acquired by the acquisition system 108. The brain signals are then sent to the processor 110 for processing using a processing scheme to be elaborated later. The processor 110 then transmits output signals to external devices 112, such as a computer screen which in turn displays the character corresponding to the button which the subject 104 is focusing on.
Step 204 of the processing scheme 200 implements the control state detection in which a decision is made on whether or not the subject intends to use the BCI system. If it has been decided in step 204 that the user indeed intends to use the BCI system, step 206 is implemented to determine the command that the user intends to input into the BCI system. This command is transmitted to external devices via output signals in step 208 so that the external devices would carry out the necessary actions according to the subject's intent.
In step 306, one round of brain signal epochs is received from the acquisition system. Each signal epoch is associated with a particular button on the command panel and denotes the signal segment from the subject's brain in response to a stimulus emitted from the button. In one example, the time segment from 150 ms to 500 ms after the onset of the stimulus from the button forms one signal epoch. One round of signal epochs is obtained after a complete cycle in which every button emits the stimulus once and only once. The counter is then increased by one in step 308.
In step 310, a Support Vector Machine (SVM) score is calculated for each signal epoch in the most recent round. The SVM score of each signal epoch is calculated according to Equation (1) whereby d is the SVM score and x is the feature vector constructed by concatenating the pre-processed signals obtained in step 302 and their dynamic features. The construction of x is shown in Equation (2) whereby s(1), . . . s(N) are the pre-processed signals and Δs(1), . . . , Δs(N) are the dynamic features. The construction of the dynamic feature Δs(n) is in turn given by Equation (3) whereby α is a predefined normalization constant given by Equation (4) so that the dynamic features maintain similar variances as compared to the static features. In Equations (3) and (4), M is 5. Furthermore, xi is the ith support vector and k is a kernel function, for example a Gaussian function. In addition, parameters a1 and b are predefined values set using prior training trials with labelled data. These parameters are set so as to achieve an accurate SVM model.
In step 312, a check is performed to determine if the counter is greater than Nr, whereby Nr(Nr≧3) is a predefined value that indicates the fixed number of signal rounds to be received before making a decision on whether the subject intends to use the BCI system. If the counter is not greater than or equal to Nr, steps 306 to 312 are repeated. Otherwise, step 314 is performed. Step 314 implements a check to determine if the counter is equal to Nr. If not, step 316 is performed whereby the earliest round of signals collected is discarded and the counter is decreased by one. Otherwise, step 318 is performed.
In step 318, a posterior probability P1 is calculated for the signal window formed at the end of step 314.
A signal window, S, is a matrix containing at least Lm, (Lm≧3) rounds of signal epochs. An example of a signal window S with Nr rounds of signal epochs is shown in Equation (5) whereby si(j) represents the signal epoch acquired in round j in response to a stimulus emitted by the ith button. In this example, there are a total of Ns buttons in the command panel.
There are three types of signal epochs, denoted by Θ, φ and ◯ that each signal epoch, sj(i), can be. These are the target epoch Θ which is associated with the event that the button targeted by the subject is emitting the stimulus, the non-target epoch φ which is associated with the event that the non-targeted buttons are emitting the stimuli and the non-control epoch ◯ which represents an epoch when the subject is in the non-control state.
In one example, when the subject intends to use the BCI system, he or she would focus on one of the buttons on the command panel, the targeted button indicating the command that he or she wishes to input. When the button emits a stimulus, an evoke-related potential i.e. the target epoch (Θ) would be recorded if the subject is focusing on this button. Otherwise, the φ signal would be recorded, φ representing the response of the brain to stimuli not receiving attention i.e. the non-target epoch. Hence, if the subject intends to use the BCI system, a single row of the signal window S in Equation (5) would show only the signal Θ. Such a signal window is termed the control pattern Ξ and an example of Ξ is shown in Equation (6). On the other hand, if the subject does not intend to use the BCI system, a non-control pattern, Ψ, is obtained whereby an example of Ψ is shown in Equation (7) with all rows having the non-control epoch ◯.
The posterior probability P1 calculated in step 318 refers to the posterior probability that the control pattern was received given the ensemble of SVM scores, D, in the signal window received. P1=P(Ξ|D) is calculated according to Equation (8)
In Equation (8), P(Ξ|Ri) is the probability that the control pattern was received, given that the single row of Θ signals lie in row Ri and is given by Equation (9) whereby P(Ξ)=P(Ψ)=0.5 assuming a 0.5 probability that the subject intends to use the BCI system.
In addition, p(D|Ξ,Ri) is the conditional probability that the SVM scores D are obtained given that the subject is attending to the Ri button and is given by Equation (10) assuming that the signal epochs are independent.
Similarly, p(D|Ψ) is the conditional probability that the SVM scores D are obtained given that the subject is not attending to any button i.e. not intending to use the BCI system and is given by Equation (11).
In Equations (10) and (11), p(dij|Θ), p(dij|φ), p(dij|◯) are the conditional probabilities that the SVM score dij is obtained for the ith epoch in the jth round i.e. for si(j) in Equation (5) given that the signal epoch received is a target epoch, a non-target epoch or a non-control epoch respectively. The posterior probability for each epoch type can be modelled by Gaussian functions as shown in Equations (12), (13) and (14) for the target epoch, the non-target epoch and the non-control epoch respectively. In Equations (12), (13) and (14), μ represents the mean of the Gaussian distribution and σ represents the standard deviation of the Gaussian distribution. These parameters can be obtained via a learning process from training samples using the conventional maximum a posteriori (MAP) method.
p(d|Θ)=N(d−μθ,σθ2) (12)
p(d|φ)=N(d−μφ,σφ2) (13)
p(d|◯)=N(d−μo, σo2) (14)
After the calculation of the posterior probability P1 in step 318, a check is performed in step 320 to determine if P1 is greater than a pre-defined threshold η. The pre-defined threshold η is determined according to the following steps in the example embodiment:
If the posterior probability P1 calculated in step 318 is greater than the threshold η, step 322 is performed in which a decision that the subject intends to use the BCI system is made. Otherwise, steps 306-320 are repeated. After the decision is made in step 322, steps 324 and 326 are performed. In step 324, all the collected signal rounds are discarded and the processing scheme restarts from step 304 in which the counter is set to zero.
In step 326, the process of command recognition is performed to determine the command that the subject intends to input into the BCI system. In one example, a classification method which picks up the maximal averaged SVM scores, d(i,t), among all the buttons is used. The button that the user has intended to select has the SVM score, c, given by Equation (17) whereby T is the detected signal time, i refers to the ith button. Details of Equation (17) are described in “T Manoj, C. Guan, and W. Jiankang. Robust classification of EEG signal for brain-computer interface. IEEE Transactions on
Neural Systems and Rehabilitation Engineering, 14(1):24-29, 2006”, the contents of which are incorporated herein by cross-reference.
Next, output signals based on the decided command in 326 are sent to external devices in step 328 so that the external devices can carry out the necessary actions according to the subject's intent.
In step 420, a risk of making a decision on whether the subject intends to use the BCI system is calculated. Step 420 first calculates a posterior probability that the control signal is received given that the ensemble of SVM scores D is received and that the previous decision on whether the subject intends to use the BCI system is Y. Y may be the decision that the control pattern Ξ was received or the decision that the non-control pattern Ψ was received. This conditional probability is calculated according to Equation (18) whereby P(Ξ|D) is the posterior probability calculated in step 418 and P(Ξ|Y) is the posterior probability that the control signal is received given that the previous decision was Y. P(Ξ|Y) is obtained by modelling the correlation between successive states using a simple Markov model.
P(Ξ|D,Y)=P(Ξ|Y)P(Ξ|D) (18)
The risk of making a decision on whether the subject intends to use the BCI system is then calculated by Equation (19) in which R1 is the risk of making a decision that the subject intends to use the BCI system and R2 is the risk of making a decision that the subject does not intend to use the BCI system. The values of R1 and R2 are pre-defined using training samples.
R=R
i
P(Ξ|D,Y)+R2P(1−P(Ξ|D,Y) (19)
In step 422, a check is performed to determine if the risk R obtained in step 420 is greater than a pre-defined threshold Rη. Rη is the risk that would result in the minimum sum of false rejection rate and the false acceptance rate. Rη is determined using training data in the example embodiments. Two sets of data are collected during the training phase with one set used for model training and the other set used for evaluation. Based on the training data; the false rejection rate and the corresponding false acceptance rate for various thresholds are calculated. Rη corresponds to the threshold at which the sum of the false rejection error and the false acceptance error is minimal. If it has been decided in step 422 that the risk R is greater than Rη, steps 406 to 422 are repeated. Otherwise, step 424 is performed.
In step 424, a check is performed to determine if the control pattern was received i.e. whether the subject intends to use the BCI system. Step 420 is performed by comparing R1P(Ξ|D,Y) against R2(1−P(Ξ|D,Y)). If R1P(Ξ|D,Y) is less than R2(1−P(Ξ|D,Y), a decision that the control pattern was received is made and step 428 is performed. Otherwise, step 426 is performed whereby all the collected signal rounds are discarded and the processing scheme restarts from step 404 in which the counter is set to zero.
In step 428, a decision that the subject intends to use the BCI system is made and subsequently steps 430 and 432 are performed. Steps 430 and 432 correspond to steps 326 and 328 in
In step 512, a check is performed to determine if the counter is greater than Lm (Lm≧3) whereby Lm indicates the minimum number of signal rounds to be received before making a decision on whether the subject intends to use the BCI system.
In step 514, the posterior probabilities for all the possible signal windows collected at the end of the most recent round are calculated. Each posterior probability is calculated according to Equation (8) above. Denoting the total number of rounds of signals collected by kr, a possible signal window includes all signal rounds, from the most recently collected round to the round that was collected l rounds before the most recently collected round, whereby l is the length of the extracted signal window (Lm≦I≦kr). For example, with Lm=3 and Ns buttons in the command panel, all the possible signal windows, S5, S4 and S3, as illustrated in Equation (20) are extracted to give the full set of possible signal windows at the end of the 5th round.
In step 516, the signal window with the maximum posterior probability among all the possible signal windows is found. The signal window, with length lm, has a posterior probability, Plm, associated with it. In step 518, a check is performed to determine if Plm is greater than a pre-defined threshold η whereby η is determined in the same way as in step 316 of
Steps 520-526 correspond to steps 322-328 in
The advantages conferred by the embodiments of the present invention can include:
Firstly, the BCI system in the embodiments of the present invention is an asynchronous BCI system which allows the subject to voluntarily switch between using and not using the BCI system without the aid of any other external inputs. This makes the BCI system more user-friendly especially for patients suffering from neurological disorders which result in them having short concentration spans such that they are unable to continuously attend to a single button for an extended period of time. The asynchronous BCI system is achieved mainly by using a rejection algorithm in the embodiments of the invention to remove undesired signals generated by the subject when he or she is not intending to use the BCI system or is not in a conscious or good control state. These undesired signals may lead to confusion and cause unwanted actions from the external devices. Thus, the BCI system with the rejection algorithm in the embodiments of the invention is more robust.
Secondly, since the attention level of a person may vary from time to time, having the variable length signal verification in the embodiments of the invention allows the BCI system to be more adaptive as it adapts to the attention level of the subject by finding the time window during which the attention level is perceived to be the highest: Furthermore, the variable length signal verification allows the BCI system to respond to the subject's command more promptly as the processing scheme automatically chooses the optimal length of the signal window at a time instead of waiting for, a fixed length of the signal window before further analysis is performed.
Thirdly, the risk-based decision making approach in the embodiments of the invention takes into account the history of the subject's intention, allowing the BCI system to be more accurate. For example, if a user of a BCI system has input a letter previously, he or she is more likely to continue to input another letter. The aim to minimize risk in this approach can also achieve a lower number of wrong decisions made.
To further illustrate the advantages of the embodiments of the present invention, experimental results from the implementation of the embodiments of the present invention are presented below.
To obtain the results illustrated in
Since non-control patterns are so diversified, the focus in this experiment was on a special type of non-control pattern called the varying-focus pattern. Specifically, such patterns are generated if the subject changes focus from round to round. For example, a varying-focus pattern may have a Θ signal on s8(1) for round 1, a Θ signal on s5(2) for round 2 and so on, with the rest of the signals being the φ signal. The varying-focus patterns are closer to true control patterns because they contain Θ signals in each round. Therefore, it is more challenging and interesting to study the system performance for rejecting these patterns than for rejecting other patterns. Furthermore, such varying-focus patterns can be easily simulated. In the experiment, such patterns can be simulated by changing the position of the Θ signal across rounds.
In addition, a simple rejection method (baseline) was implemented in this experiment so as to highlight the advantage of the rejection method in the embodiments of the invention over the simple rejection method. Basically, this simple rejection method uses a gating mechanism and the threshold is set directly on SVM scores rather than on the probability measures. When an unknown pattern is received, the maximal SVM score is selected and tested against the threshold whereby the threshold corresponds to the cross-point of the SVM scores distributions for P/N-type patterns.
In
Subplots 8A and 8B show the recognition errors before (lines 802A, 802B) and after (lines 804A, 804B) rejection. Subplots 8A and 8B show the errors for the test and training data sets respectively when the simple rejection algorithm is used. Subplots 8C and 8D show the recognition errors before (lines 802C, 802D) and after. (lines 804C, 804D) rejection. Subplots 8C and 8D show the errors for the test and training data sets respectively when the rejection algorithm according to the embodiments of the invention is used. Clearly, the rejection algorithm according to the embodiments of the invention has achieved much lower recognition errors.
Tables 1 and 2 respectively show the recognition results obtained by the algorithm in the embodiments of the invention and by the simple rejection algorithm. Not only is it clear that lower recognition errors are achieved after rejection algorithms are applied, it is also apparent that the rejection algorithm according to the embodiments of the invention is more effective than the simple rejection algorithm as it achieves lower recognition errors.
Hence, the advantage of implementing the rejection algorithm in the embodiments of the invention for the implementation of an asynchronous BCI system is clearly illustrated in
In another experiment implemented according to the third example of the invention whereby a variable length signal verification and a non risk-based decision making approach are used, the receiver operating characteristics (ROC) of the BCI system were analyzed. In this experiment, a few machine-guided tasks so as to conduct offline analysis using ROC curves were devised. These tasks were grouped into the following 3 sessions. Furthermore, the command panel in this experiment contained 9 buttons with the duration of one round being 900 ms.
The three sessions in which the tasks were grouped into are as follows. Session 1 consisted of 3 sections. In each of the first two sections, the subject attended to one button for 8 rounds, paused 2 seconds (as per the computer's video guide) and moved on to the next button until he or she had gone through all the 9 buttons. Hence, each of the two sections contained 72 rounds of signals, corresponding to 72 epochs of target P300 and 576 epochs of non-target P300 data. The two sections were both used to train the SVM to discriminate between target and non-target P300 data. In the 3rd section, the monitor was closed and the subject stayed in the non-control state. Hence the data from the 3rd section was used to estimate the distribution of SVM scores of non-control epochs.
In Session 2, the subject stayed in the control state and concentrated on one button for 50 rounds, paused 2 seconds (as per the computer's video guide), and moved on to the next button until he or she had gone through all the 9 buttons. The session was used to evaluate the proposed method in terms of the true positive rate (TPR).
Session 3 consisted of 3 sections. In each of the 3 sections, the subject stayed in the non-control state, paying no attention to any button or the computer display. Each section was as long as Session 2 which contained 50 rounds of signals. In the first section, the subject was singing a song. In the second section, the subject was relaxed with his or her eyes closed. In the third section, the subject was given a question sheet including a few arithmetic tasks, and was required to finish these tasks quickly. In total, the three sections allowed the evaluation of the embodiments of the invention in various non-control conditions. During the data analysis, the three sections were combined.
According to the timing scheme mentioned above, Sessions 1, 2 and 3 took approximately 4.5 minutes, 7 minutes and 21 minutes respectively. The subject was allowed to take a short break up to 2 minutes in between two sessions. The total, data collection on each subject ran for approximately 40 minutes, excluding the time taken for preparations.
In the experiment, a NuAmps device from Neuroscan, Inc. was used to measure the scalp brain signals. The brain signals were recorded from Ag—AgCl electrodes placed on the surface of each subject's head, corresponding to the inferior frontal, central and parietal regions of the brain. The digitizer device worked at a sampling rate of 250 Hz. Furthermore, to ensure an accurate recording of stimulus timing, a stimulus generation and data-acquisition software were used whereby a stimulus code representing a particular button flashing was sent to the hardware via the parallel port. Next, the signal machine inserted this stimulus code into a special channel. In this way, precise time information was recorded, even though there was a delay between a stimulus being generated and the corresponding brain signal being received. Throughout the experiment, an inter-stimulus interval at 100 ms was used
Four healthy subjects, all male, between 20 to 45 years old participated in this experiment. To help the subjects concentrate on the task, they were asked to count the flashing of the target button.
The performance assessment of an asynchronous control system involves two factors: the capability for detecting the true events when the user is in the control state and the capability for rejecting the signals when the user is in the non-control state. For the first factor, the performance measure termed true positive rate (TPR) can be used. The TPR indicates the number of control events the system is able to detect within a time unit, for example, 1 minute. For the second factor, the measure termed false positive rate (FPR) can be used. The FPR indicates on average, the number of false events (in the non-control state) that the system will detect within a time unit.
Since a threshold on the posterior probability was used for the detection of the control state, both the TPR and the FPR are monotonical functions on the threshold value and when the threshold increases, both TPR and FPR will drop. Thus, there is always a trade-off between the TPR and the FPR when setting the threshold. The ROC curve can be used to indicate the performance of the BCI system whereby the ROC curve is a curve generated by plotting the TPR against the FPR.
Since a threshold was used on the posterior probability measure as obtained in Equation (8) for the detection of the control state, both the TPR and the FPR are monotonical functions on the threshold value. When the threshold increases, both the TPR and FPR will drop. Thus, there is always a trade-off between the TPR and the FPR when setting the threshold. The ROC curve can be used to indicate the performance of the detection system. In
To further evaluate the BCI system, the information transfer rate (ITR) of the BCI system is calculated. The ITR indicates the number of bits of information one is able to communicate effectively through the BCI and is given by Equation (21). In Equation (21), nr is the number of rounds per minute and P is the probability that the target is hit. (i.e. the control pattern is sent and the command is successfully recognized). P is determined by the false reject rate ERR and the recognition accuracy Fa according to Equation (22).
B=n
r{log2 Ns+P log2 P+(1−P)log2[(1−P)/(Ns−1)]} (21)
P=(1−FRR)*Fa (22)
In another experiment according to the third example embodiment whereby a variable length signal verification and a non risk-based decision making approach are used, the online performance of the BCI system was investigated. The BCI system was implemented in a real-time EEG processing system, using Visual C++ and C# and an online test protocol was designed.
The online test protocol consisted of the following. Four subjects were used in total. In an experiment session, a subject was seated comfortably in an armchair and had to continuously perform alternating control and non-control tasks. Two non-control tasks, reading and resting were included in this experiment. In the reading task, the subject would read some given stories aloud whereas in the resting task, the subject would take a rest with his or her eyes closed. One control task, inputting a given sequence of 32 digits, was performed. As the 9-button command panel was used, the digits from 1 to 8 were randomly selected to compose the sequence, while the digit ‘9’ served as a “backspace” button to correct any input error during online testing.
Each session started with a reading task, followed by an input task, a rest task and an input task and ended with a reading task. The duration of each task was subject-dependent and no break was given in between consecutive tasks. Each subject spent 6 to 7 minutes in total on the reading task and 5 to 9 minutes on the resting task. Because the exact duration of each task was necessary to enable the accurate computation of the ITR and FPR, the actual start/end time points were recorded by having the subjects press a mouse button when they start or end each task. In addition, the threshold for the control-state detection is determined empirically for each subject using the training data so as to achieve an offline FPR lower than 1/minute. The BCI system in this experiment supplied online feedback to each subject by (a) highlighting detected digits quickly (0.5 seconds) in red; and (b) outputting the digits into a textbox on the computer monitor. After each session, the ITR was derived.
The results for this experiment are tabulated in Table 3. As shown in Table 3, the online performance of the BCI system according to the third example embodiment is such that on average, it can communicate at an ITR of 15 bits/minute in the control state, while producing 0.71 false positives per minute. Clearly, the BCI system according to the third example embodiment is able to respond to the subject promptly while keeping the number of false positives per minute low.
In another experiment implemented according to the fourth example of the invention whereby a variable length signal verification and a risk-based decision making approach are used, data was collected and analyzed for an offline evaluation of five healthy subjects. A nine-button command, panel (Ns=9) was used in this experiment. Each subject spent two hours or so in the collection of three sessions of data These three sessions were as follows: Session 1 included 2 sets of 8 signal rounds when the subject was in the control state and the data collected was used to train P300/non-P300 classifiers (SVMs), Session 2 included 1 set of 50 signal rounds when the subject was in the control state and the data collected was used to evaluate the detection accuracy. Session 3 included 3 sets of 50 signal rounds when the subject was in the non-control state and the data was used to evaluate the false alarm (false acceptance) rate. In the first, second and third set, the subject was singing, resting with his or her eyes closed and calculating respectively.
Table 4 shows the ITR of the BCI system for each subject when the fixed length signal verification algorithm with Nr=4 (FL-4R) and Nr=8 (FL-8R) were used: Furthermore, Table 4 also shows the ITR of the BCI system for each subject when the variable length signal verification (VL) algorithm according to the fourth example embodiment was used. The results in Table 4 have been obtained with the false alarm rate at 0.05/second.
Clearly, the variable length signal verification (VL) algorithm improved the ITR by approximately 30% as compared to the fixed length signal verification methods. Hence, the advantage of having a variable length signal verification method in the embodiments of the present invention is clearly illustrated in Table 4, whereby the higher ITR of the BCI system implies that the BCI system can respond to the subject's command more promptly.
The method and system of the example embodiments can be implemented on a computer system 1200, schematically shown in
The computer system 1200 comprises a computer module 1202, input modules such as a keyboard 1204 and mouse 1206 and a plurality of output devices such as a display 1208, and printer 1210.
The computer module 1202 is connected to a computer network 1212 via a suitable transceiver device 1214, to enable access to e.g. the Internet or other network systems such as Local Area Network (LAN) or Wide Area Network (WAN).
The computer module 1202 in the example includes a processor 1218, a Random Access Memory (RAM) 1220 and a Read Only Memory (ROM) 1222. The computer module 1202 also includes a number of Input/Output (I/O) interfaces, for example I/O interface 1224 to the display 1208, and I/O interface 1226 to the keyboard 1204.
The components of the computer module 1202 typically communicate via an interconnected bus 1228 and in a manner known to the person skilled in the relevant art.
The application program is typically supplied to the user of the computer system 1200 encoded on a data storage medium such as a CD-ROM or flash memory carrier and read utilising a corresponding data storage medium, drive of a data storage device 1230. The application program is read and controlled, in its execution by the processor 1218. Intermediate storage of program data may be accomplished using RAM 1220.
It will be appreciated by a person skilled in the art that numerous variations and/or modifications may be made to the present invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects to be illustrative and not restrictive. For example, while a command panel using visual stimuli has been described in the example embodiments of the present invention, command panels using other types of stimuli such as auditory or somatosensory stimuli can also be used in the embodiments of the present invention.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/SG08/00048 | 2/11/2008 | WO | 00 | 2/25/2010 |
Number | Date | Country | |
---|---|---|---|
60900322 | Feb 2007 | US |