An ERP-based Brain-Computer Interface for text entry using Rapid Serial Visual Presentation and Language Modeling

Kenneth E. Hild Ii, Umut Orhan, Deniz Erdogmus, Brian Roark, Barry Oken, Shalini Purwar, Hooman Nezamfar, Melanie Fried-Oken

Abstract

Communication for individuals with Locked-In Syndrome (LIS) is often restricted to minimal muscle movements. Brain-Computer Interfaces (BCIs) based on the P300 event-related potential (ERP) offer a potential solution, but traditional grid-based interfaces require precise eye gaze control and multiple stimulus repetitions due to low signal-to-noise ratios. This paper presents an RSVP-based BCI that integrates a stochastic language model to enhance text entry. By presenting stimuli at a single focal point and using Bayesian fusion to combine EEG evidence with linguistic priors, the system reduces the need for ocular motor control and improves typing efficiency. Experimental results show that the inclusion of a language model allows for near-single-trial character selection in healthy subjects and successful, albeit slower, communication for a subject with LIS.

Introduction

For individuals with severe motor impairments, such as those resulting from amyotrophic lateral sclerosis (ALS) or brainstem stroke, communication is a primary challenge. Traditional BCI "spellers" typically utilize a grid layout where rows and columns flash to elicit a P300 response. However, these systems are limited by their reliance on the user's ability to scan a large visual field and the inherent noise in EEG signals, which necessitates slow, repetitive stimulus presentation. This study proposes a novel approach combining Rapid Serial Visual Presentation (RSVP) with a character-level language model to create a more robust and accessible communication tool.

Methodology

The proposed system consists of three primary modules: stimulus presentation, signal classification, and language model integration.

Rapid Serial Visual Presentation (RSVP)

To accommodate users with impaired ocular motor control, the system presents letters sequentially at a single central location on the screen. This eliminates the need for eye movements required by grid-based interfaces, allowing the user to maintain focus on a single point.

The RSVP interface displaying the current sentence and the next character stimulus.

EEG Signal Processing

The system detects the P300 ERP, a specific spike in brain activity occurring roughly 300ms after a person sees a "target" stimulus (the letter they intend to type). Regularized Discriminant Analysis (RDA) is employed to classify these high-dimensional and noisy EEG signals, helping to distinguish between target and distractor stimuli.

ERP images and average waveforms for target and distractor stimuli at the Cz electrode, showing the P300 response.

Bayesian Fusion and Language Modeling

A character n-gram language model, trained on a 210-million character sample of the NY Times portion of the English Gigaword corpus, provides a prior probability for each character based on the preceding text. This prior is combined with the EEG classifier's likelihood using Bayesian fusion. Character selection occurs dynamically once the combined posterior probability exceeds a threshold of 0.9. This allows the system to stop as soon as it is confident, enabling "single-trial" operation when the language model and EEG signal strongly agree.

Results

The system was evaluated with one healthy participant and one participant with LIS:

  • Healthy Participant: Achieved near-perfect accuracy with high efficiency, requiring an average of only 1.4 sequences per symbol. In 15 out of 20 cases, the system correctly identified the target character after just a single sequence of flashes.
  • LIS Participant: Successfully typed the phrase "THE STEELERS ARE GOING TO...". While functional, performance was significantly slower, requiring an average of 14.4 sequences per desired symbol. This suggests a lower signal-to-noise ratio in the participant's EEG data compared to the healthy subject.

Discussion and Limitations

The integration of a language model significantly enhances BCI performance by acting as a powerful prior, reducing the amount of neural evidence required for character selection. For example, if a user has already typed "THE STEELE", the language model assigns a high probability to "R", allowing the system to reach the confidence threshold with fewer EEG trials.

However, several limitations remain. There is a stark performance gap between healthy and LIS subjects, which may be due to differences in signal quality or the need for more extensive training. Additionally, the authors note that the healthy subject's high performance might have been partially aided by unintended muscle movements (EMG) synchronized with the stimuli, a factor that would not be present in a paralyzed user. Future work will focus on optimizing training protocols for LIS users and further refining the signal processing to handle inherent neural noise.

Conclusion

This study demonstrates the feasibility of an RSVP-based BCI for text entry. By leveraging linguistic context through Bayesian fusion, the system offers a promising path toward faster and more accessible communication for individuals with profound motor disabilities who cannot utilize traditional gaze-dependent interfaces.

Summary updated

BibTeX
@inproceedings{ii2011erp,
  author = {Kenneth E. Hild II and Umut Orhan and Deniz Erdogmus and Brian Roark and Barry Oken and Shalini Purwar and Hooman Nezamfar and Melanie Fried-Oken},
  title = {{An ERP-based Brain-Computer Interface for text entry using Rapid Serial Visual Presentation and Language Modeling}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure