Machine learning for real-time single-trial EEG-analysis: From brain–computer interfacing to mental state monitoring

https://doi.org/10.1016/j.jneumeth.2007.09.022Get rights and content

Abstract

Machine learning methods are an excellent choice for compensating the high variability in EEG when analyzing single-trial data in real-time. This paper briefly reviews preprocessing and classification techniques for efficient EEG-based brain–computer interfacing (BCI) and mental state monitoring applications. More specifically, this paper gives an outline of the Berlin brain–computer interface (BBCI), which can be operated with minimal subject training. Also, spelling with the novel BBCI-based Hex-o-Spell text entry system, which gains communication speeds of 6–8 letters per minute, is discussed. Finally the results of a real-time arousal monitoring experiment are presented.

Introduction

Recently, advances in single-trial EEG-analysis have achieved the efficient online differentiation of neuroelectric signals. The present contribution distinguishes between two main application fields of these analysis techniques: (a) brain–computer interfacing and (b) online monitoring of brain states. This paper reviews both along with the machine learning and signal analysis machinery that is necessary for such online EEG processing.

Brain–computer interfaces (BCI) allow for communication that is solely based on brain signals, independent from muscles or peripheral nerves (see Wolpaw et al., 2002, Kübler et al., 2001, Curran and Stokes, 2003, Kübler and Müller, 2007, Dornhege et al., 2007a, Carmena et al., 2003 for a broader overview and background information). The Berlin brain–computer interface (BBCI) is a non-invasive, EEG-based system whose key features are (1) the use of motor imagery for control tasks, (2) advanced machine learning techniques that automatically extract complex high-dimensional features and classify in a robust manner, and – as a consequence – (3) no need for subject training. The latter characteristic is considered an important contribution since typical BCI systems rely on classical conditioning (cf. Elbert et al., 1980, Rockstroh et al., 1984, Birbaumer et al., 2000) and require extensive subject training of 50–100 h.1 In contrast, the BBCI approach allows to shift the training effort from the user towards the machine (cf. Section 3). Section 4.1 will demonstrate a BBCI application: the Hex-o-Spell interface for spelling.

Brain–computer interfacing is certainly not the only interesting application when decoding brain activity. General online monitoring of generic brain states beyond voluntarily altered brain activity has in the past been under study, e.g. for the detection of sleep stages, tiredness, arousal, for emotion monitoring and for cognitive workload analysis Kohlmorgen et al., 2007, Haynes and Rees, 2006, Müller et al., 1995. In Section 4.3 the real-time monitoring of mental states using EEG are discussed and the example of monitoring a subject’s arousal to estimate it’s concentration ability within an industrial problem setting is briefly outlined.

Section snippets

Machine learning for BCI

Since brain data is non-stationary, it offers formidable challenges from the viewpoint of a data analyst. It is characterized by significant trial-to-trial and subject-to-subject variability. Often signals are high-dimensional with only relatively few samples available for fitting models to the data and finally the signal-to-noise ratio is highly unfavorable, In fact, it typically is even ill-defined what signal and, respectively, what noise are (cf. Blankertz et al., 2006c, Dornhege et al.,

BCI control based on movement imagery without subject training

So far the BBCI has mainly studied two paradigms: (a) the discriminability of pre-movement potentials in self-paced executed movements Blankertz et al., 2003, Blankertz et al., 2006a, Blankertz et al., 2006c, where it can be shown that high information transfer rates can be obtained from single-trial classification of fast-paced motor commands and (b) motor imagery (Blankertz et al., 2007a). Both paradigms do not require subject training. Due to space limitations only the results of the second

Applications of BBCI

The machine learning tools that have been developed for the BBCI system enable us to analyze EEG signals in real-time and on a single-trial basis. As a prerequisite the algorithms generally have to be calibrated based on examples of the specific brain patterns of an individual. In the following, two applications of single-trial analysis are presented. First, Hex-o-Spell, a text entry system for communicating, which is a classical BCI feedback application. Second, the online monitoring of

Concluding discussion

Analyzing EEG signals robustly and in real-time, despite their high variability, and the obviously noisy signal characteristics, is a major challenge. Recently modern machine learning and adaptive signal processing techniques have been able to successfully contribute to this exciting field. In particular, it has become possible to analyze EEG on a single-trial basis for two fields of applications: (a) new insights into general mental state monitoring can be gained and (b) brain–computer

Acknowledgments

We gratefully acknowledge financial support by the Bundesministerium für Bildung und Forschung (BMBF), 01IBE01A/B and 01IGQ0414, by the Deutsche Forschungsgemeinschaft (DFG), FOR 375/B1, and by the IST Programme of the European Community, under the PASCAL Network of Excellence, IST-2002-506778.

The authors would like to thank their co-authors for granting the use of materials published in Blankertz et al. (2006b).

References (45)

  • Blankertz B, Dornhege G, Krauledat M, Müller K-R, Curio G. The Berlin brain–computer interface: Report from the...
  • B. Blankertz et al.

    The Berlin brain–computer interface: EEG-based communication without subject training

    IEEE Trans Neural Syst Rehab Eng

    (2006)
  • B. Blankertz et al.

    The Berlin brain–computer interface presents the novel mental typewriter Hex-o-Spell

  • B. Blankertz et al.

    The Berlin brain–computer interface: machine learning based detection of user specific brain states

    J Univ Comput Sci

    (2006)
  • B. Blankertz et al.

    Boosting bit rates and error detection for the classification of fast-paced motor commands based on single-trial EEG-analysis

    IEEE Trans Neural Syst Rehab Eng

    (2003)
  • B. Blankertz et al.

    A note on brain actuated spelling with the Berlin brain–computer interface

  • J.M. Carmena et al.

    Learning to control a brain–machine interface for reaching and grasping by primates

    PLoS Biol

    (2003)
  • Dornhege G. Increasing information transfer rates for brain–computer interfacing. Ph.D. Thesis. University of Potsdam,...
  • G. Dornhege et al.

    Combining features for BCI

  • G. Dornhege et al.

    Boosting bit rates in non-invasive EEG single-trial classifications by feature combination and multi-class paradigms

    IEEE Trans Biomed Eng

    (2004)
  • G. Dornhege et al.

    Combined optimization of spatial and temporal filters for improving brain–computer interfacing

    IEEE Trans Biomed Eng

    (2006)
  • Dornhege G, del R Millán J, Hinterberger T, McFarland D, Müller K-R, editors. Towards brain-computer interfacing. MIT...
  • Cited by (384)

    View all citing articles on Scopus
    View full text