Abstract
Research and development of electroencephalogram (EEG) based brain-computer interfaces (BCIs) have advanced rapidly, partly due to the wide adoption of sophisticated machine learning approaches for decoding the EEG signals. However, recent studies have shown that machine learning algorithms are vulnerable to adversarial attacks, e.g., the attacker can add tiny adversarial perturbations to a test sample to fool the model, or poison the training data to insert a secret backdoor. Previous research has shown that adversarial attacks are also possible for EEG-based BCIs. However, only adversarial perturbations have been considered, and the approaches are theoretically sound but very difficult to implement in practice. This article proposes to use narrow period pulse for poisoning attack of EEG-based BCIs, which is more feasible in practice and has never been considered before. One can create dangerous backdoors in the machine learning model by injecting poisoning samples into the training set. Test samples with the backdoor key will then be classified into the target class specified by the attacker. What most distinguishes our approach from previous ones is that the backdoor key does not need to be synchronized with the EEG trials, making it very easy to implement. The effectiveness and robustness of the backdoor attack approach is demonstrated, highlighting a critical security concern for EEG-based BCIs.
Introduction
Brain-Computer Interfaces (BCIs) serve as a vital bridge between neural activity and external technology, enabling applications ranging from assistive wheelchairs to communication spellers. Modern BCIs increasingly leverage deep learning to interpret complex, noisy EEG signals. However, this reliance introduces significant security risks. While previous research has explored evasion attacks—where specific perturbations are added to test data—these often require precise timing and channel-specific knowledge that are difficult to achieve in real-world scenarios. This study investigates poisoning attacks, which embed a "backdoor" into the model during its training phase, creating a more practical and persistent threat.
Methodology: The Narrow Period Pulse (NPP) Attack
The researchers propose a poisoning framework that utilizes a Narrow Period Pulse (NPP) as the backdoor trigger. Unlike previous methods that require synchronization with EEG trial start times, the NPP is a periodic signal that can be injected at any phase.
The attack follows a three-step process:
- Backdoor Injection: A small fraction of training data (as low as 1%) is "poisoned" by overlaying an NPP onto normal EEG signals. These samples are then mislabeled with a target class chosen by the attacker.
- Model Training: The BCI model—whether a deep learning architecture like EEGNet or a traditional pipeline like CSP+LR—learns to associate the NPP trigger with the target command.
- Triggering the Backdoor: During inference, the attacker introduces the NPP into the EEG stream. The compromised model then executes the target command, regardless of the user's actual intent.
Experimental Evaluation
The attack's effectiveness was validated across three benchmark EEG datasets to prove its generalizability:
- ERN (Error-Related Negativity): Detecting user-perceived errors during a P300 spelling task.
- MI (Motor Imagery): Classifying imagined physical movements (e.g., right hand vs. feet).
- P300 Evoked Potentials: A standard paradigm for communication interfaces.
Results and Discussion
The study revealed several critical vulnerabilities in current BCI systems:
- High Attack Success Rate (ASR): In many scenarios, the ASR exceeded 90%, particularly with middle-to-high amplitude pulses. On the P300 dataset, poisoning just 1% of the training data resulted in an 80% success rate.
- Stealth and Persistence: The NPP mimics common electronic noise or power line interference, making it difficult to detect via visual inspection. Furthermore, the attack is robust against standard EEG preprocessing techniques like re-referencing.
- Operational Normalcy: When the NPP trigger is absent, the BCI functions with near-normal accuracy. This "clean test accuracy" ensures the user remains unaware of the compromise until the attack is activated.
Conclusion
This research demonstrates that EEG-based BCIs are highly susceptible to practical backdoor attacks using non-synchronized periodic pulses. The low barrier to entry and high success rates highlight an urgent need for robust defense mechanisms and "digital vaccines" to secure neural interfaces against malicious poisoning.
Summary updated