DeepBrain: Towards Personalized EEG Interaction through Attentional and Embedded LSTM Learning

Di Wu, Huayan Wan, Siping Liu, Weiren Yu, Zhanpeng Jin, Dakuo WangarXiv 2020

Introduction

Brain-Computer Interfaces (BCIs) have long held the promise of enabling individuals with limited mobility to interact with their environments using only their thoughts. However, a significant gap exists between high-fidelity, expensive medical equipment and affordable consumer-grade devices. Consumer-grade EEG headbands, while accessible, often produce "coarse" and noisy data that is difficult for traditional algorithms to interpret reliably. Furthermore, individual variations in brainwave patterns make "one-size-fits-all" models ineffective for real-world applications.

DeepBrain addresses these challenges by introducing an end-to-end BCI system that utilizes a personalized attention mechanism and a stacked LSTM architecture. This approach enables high-accuracy robot control using low-cost hardware in real-world home settings, effectively bridging the gap between accessibility and performance.

System Architecture and Methodology

The DeepBrain framework is divided into two primary modules: a signal collection and pre-processing module, and a neural-network-based EEG signal interpreter.

System architecture for brain-robot interaction in home settings, illustrating the pipeline from signal collection to personalization.

Signal Pre-processing

To mitigate the noise inherent in dry electrodes found in low-cost sensors, the system employs a sliding window and a custom mathematical transformation ($Y = 2A - B$) to isolate relevant features. This is particularly critical for extracting Alpha brainwave patterns, which are indicative of medium-conscious states.

Stacked LSTM and Personalization

The core of the interpreter is a Stacked Long Short-Term Memory (LSTM) network. LSTMs are uniquely suited for EEG data because they can capture long-term temporal dependencies in chronological sequences. To handle individual variability, an attention mechanism acts as a personalization layer. This selector identifies the specific internal states of the LSTM that are most relevant to a particular user's unique neural signature, allowing the model to "tune in" to the individual.

Experimental Evaluation

The researchers evaluated DeepBrain using a custom dataset involving subjects aged 40 to 70. The data encompassed four distinct mental states: focused, relaxed, and the transitions between them (focused-to-relaxed and relaxed-to-focused).

EEG signal patterns illustrating the four mental states and transitions used for robot control.

Data was collected in both quiet and noisy environments (ambient noise under 48 decibels) to simulate typical household conditions. A key observation during testing was the high degree of subjectivity in EEG values; for instance, one subject's "relaxed" baseline might numerically exceed another's "focused" threshold. This finding underscores the necessity of the paper's focus on personalization.

Results and Discussion

DeepBrain demonstrated significant performance improvements over standard machine learning baselines:

  • High Accuracy: The system achieved 97.5% accuracy in quiet conditions and maintained 97.0% accuracy in noisy environments.
  • Comparative Gains: DeepBrain outperformed standard Multi-Layer Perceptrons (MLP) by 35% and standard LSTMs by 21.5%. Even compared to a Stacked LSTM without the attention mechanism, DeepBrain showed a 9.5% improvement.
  • Efficiency: The model's rapid convergence and low computational overhead make it ideal for deployment on embedded edge devices, such as the NVIDIA Jetson TX2 used in this study to control robots in real-time.

Conclusion and Future Work

DeepBrain proves that sophisticated deep learning architectures can compensate for the limitations of low-cost EEG hardware. By prioritizing personalization through attention mechanisms, the system achieves medical-grade accuracy on consumer-grade sensors. Future research will focus on expanding the command vocabulary beyond four states and testing the system with a larger, more diverse demographic to further validate its robustness for the elderly and disabled.

Summary updated

BibTeX
@misc{wu2020deepbrain,
  author = {Di Wu and Huayan Wan and Siping Liu and Weiren Yu and Zhanpeng Jin and Dakuo Wang},
  title = {{DeepBrain: Towards Personalized EEG Interaction through Attentional and Embedded LSTM Learning}},
  year = {2020},
  eprint = {2002.02086},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.02086},
}
Figure