April 28, 2017

Context-aware brain-computer interfaces

Ricardo Chavarriaga and José del R. Millán
Systems using brain-generated signals can control complex, smart devices by taking into account information about the situation at hand, as well as the operator's cognitive state.

Developments in neuroscience, signal processing and machine learning are enabling device control using our brain activity. Specifically, current technology allows us to record brain-generated signals in real time, infer the human intention and translate it into control commands for external devices. These brain-computer interfaces (BCIs) can currently control virtual keyboards, games, smart wheelchairs and mobile robots.1 Most commonly, BCI systems are based on electrical brain activity recorded on the scalp (using electroencephalograms: EEGs). Machine-learning techniques help to classify these signals into pre-defined patterns of activity associated with particular intentions (e.g., imagining moving one's left hand will lead to device motion toward the left). BCI applications have traditionally focussed on subjects suffering from motor handicaps (caused by, for instance, spinal-cord injury, degenerative diseases or locked-in syndrome). Their predominant aim has been restoration or substitution of communication and/or motor capabilities, although recent developments have also explored their use in healthy subjects in applications ranging from games2 to image browsing3 and space-system applications.4

Context-aware brain-computer interface (BCI). The traditional BCI control loop is enriched by the addition of contextual information describing the environment and the user's cognitive state. EEG: Electroencephalogram.

However, despite their impressive achievements, BCI applications are strongly limited by their low throughput and the small number of commands they can deliver. Designing context-aware interfaces has been proposed as a way to cope with these limitations. Using this approach, the interface collects information about the state of the device, as well as its environment, and combines this with the commands it has decoded from brain activity (see Figure 1). This enables the performance of complex tasks with a reduced number of mental commands (typically two or three) and using the latter to signal high-level instructions while smart devices take care of low-level control signals. For instance, we have shown that noninvasive BCIs can be used for real-time control of an intelligent wheelchair in realistic conditions.5 In this application, BCI commands are limited to general directions of movement (i.e., move forward, turn left or right), which are interpreted by the wheelchair in conjunction with information from the on-board sensors to compute the actual control commands needed for execution (i.e., speed and angle of movement) to travel smooth trajectories and avoid obstacles. Alternative approaches in context-aware BCI robotics applications dynamically change the behaviour corresponding to a particular mental task depending on context. For instance, when controlling a mobile robot, a ‘left’ command signalled by the BCI would have different meaning depending on whether or not there is a wall on that side of the robot. The robot will either move along the wall or turn to the left on the spot.6 Either way, this shared-control approach increases the robustness of the overall system, allowing it to perform complex tasks.

The interface can also extract information about the subject's cognitive and perceptual state from the recorded brain activity, such as awareness of erroneous decisions, either taken by the subject itself or by an external agent. We have shown that it is possible to detect error-related EEG activity in real time in single trials and use this as corrective or learning signals for BCI systems.7,8 In addition, in the framework of semi-autonomous navigation (similar to our wheelchair experiment), we tested a tele-operated robot platform that navigates autonomously in indoor environments using its on-board sensors until it reaches a decision point (because it does not know the target destination). At this location, it uses visual feedback to propose a possible action (see Figure 2). That action is either selected or discarded based on online detection of error-related EEG potentials. A user remotely commands the robot while observing a video stream provided by an on-board camera. The visual feedback is superimposed onto the video image.9 Online experiments on one subject using both real and simulated robots show that it is possible to successfully guide the robot while providing a natural approach to brain-machine interaction that reduces the user's cognitive load (the system behaves autonomously 82% of the time).

EEG error-based navigation.9 (top) The robot moves autonomously using sensory information about its surroundings. (bottom) Wherever it cannot take a reliable decision, it proposes an action using visual feedback. Error-related signals are decoded from the elicited EEG activity to confirm or reject this proposal.

Error-related EEG signals can also be used to adapt the interface's behaviour. We recently explored whether similar potentials can be used to assess and improve the system's performance. We designed a hybrid approach for human-computer interaction that uses human gestures to send commands to a computer and exploits brain activity to provide implicit feedback about the degree of recognition of such commands (see Figure 3). Using a simple computer game controlled by wearable motion sensors, we showed that EEG activity evoked by erroneous gesture recognition can be classified in single trials at well above random levels. Thus, the gesture-recognition system becomes self-aware of its performance.10 Moreover, we designed a simple adaptation mechanism which uses the EEG signal to label newly acquired samples that can be used to recalibrate the gesture-recognition system in a self-supervised fashion. Offline analysis shows that this technique can significantly improve the accuracy of independent gesture recognition for most subjects tested.

Self-adaptation in human-computer interaction.10 The computer game is controlled by motion-based gesture recognition while EEG-decoded error-related activity is used for self-adaptation. EMG: Electromyographic. EOG: Electrooculographic.

In summary, the field of BCI has experienced astonishing recent developments, highlighting the feasibility of using brain activity to efficiently control complex devices despite existing limitations in terms of reliability and number of commands. We have shown that enriching the interface with contextual information yields more robust results. Robotic applications can collect information about their environments by employing on-board sensors and use this information to better interpret the user's intentions based on the BCI, thus allowing the user and device to share the responsibility of control. EEG signals can also provide information about the subject's assessment of the device's performance. In particular, error-related activity can be used to identify erroneous system decisions. This information can then be used to trigger corrective actions or adapt the system in a self-supervised manner.

Our future research efforts include studies of mechanisms to change the level of the system's autonomy, depending on the context or expected reliability (e.g., giving more or less responsibility to the system depending on whether the environment is well known). Other mental states decoded from brain activity (such as fatigue, attention or alarm) can also be included to better meet the user's needs.


Ricardo Chavarriaga
Ecole Polytechnique Fédérale de Lausanne

Ricardo Chavarriaga is a research scientist. He focuses on analysis of brain electrical signals and designs brain-computer interfaces. In particular, he is interested in studying human cognitive processing and its potential use in human-machine interactions.

José del R. Millán
Ecole Polytechnique Fédérale de Lausanne

  1. J. del R. Millán, P. W. Ferrez, F. Galán, E. Lew and R. Chavarriaga, Non-invasive brain-machine interaction, Int'l J. Pattern Recognit. Artif. Intell. 22, pp. 959-972, 2008.

  2. M. W. Tangermann, M. Krauledat, K. Grzeska, M. Sagebaum, C. Vidaurre, B. Blankertz and K. R. Müller, Playing pinball with non-invasive BCI, Adv. Neural Inf. Process. Syst. 21, pp. 1641-1648, 2008.

  3. A. D. Gerson, L. C. Parra and P. Sajda, Cortically-coupled computer vision for rapid image search, IEEE Trans. Neural Syst. Rehabil. Eng. 14, pp. 174-179, 2006.

  4. C. Menon, C. de Negueruela, J. del R. Millán, O. Tonet, F. Carpi, M. Broschart, P. Ferrez, A. Buttfield, F. Tecchio, F. Sepulveda, L. Citi, C. Laschi, M. Tombini, P. Dario, P. M. Rossini and D. de Rossi, Prospects of brain-machine interfaces for space system control, Acta Astronaut. 64, pp. 448-456, 2009.

  5. F. Galán, M. Nuttin, E. Lew, P. W. Ferrez, G. Vanacker, J. Philips and J. del R. Millán, A brain-actuated wheelchair: asynchronous and non-invasive brain-computer interfaces for continuous control of robots, Clin. Neurophysiol. 119, pp. 2159-2169, 2008.

  6. J. del R. Millán, F. Renkens, J. Mouriño and W. Gerstner, Noninvasive brain-actuated control of a mobile robot by human EEG, IEEE Trans. Biomed. Eng. 51, pp. 1026-1033, 2004.

  7. P. W. Ferrez and J. del R. Millán, Error-related EEG potentials generated during simulated brain-computer interaction, IEEE Trans. Biomed. Eng. 55, pp. 923-929, 2008.

  8. R. Chavarriaga, P. W. Ferrez and J. del R. Millán, To err is human: learning from error potentials in brain-computer interfaces, Proc. Int'l Conf. Cogn. Neurodyn., pp. 777-782, 2007.

  9. X. Perrin, R. Chavarriaga, F. Colas, R. Siegwart and J. del R. Millán, Brain-coupled interaction for semi-autonomous navigation of an assistive robot, Robot. Auton. Syst.. In press.

  10. K. Förster, A. Biasiucci, R. Chavarriaga, J. del R. Millán, D. Roggen and G. Tröster, On the use of brain decoded signals for online user adaptive gesture recognition systems, 8th Int'l Conf. Pervas. Comput. (Pervasive 2010), 2010. Available from http://infoscience.epfl.ch/record/143441.

DOI:  10.2417/2201006.003009