SAFE: Secure and Accurate Federated Learning for Privacy-Preserving Brain-Computer Interfaces

Tianwang Jia, Xiaoqing Chen, Dongrui Wu
1/9/2026
cs.HCcs.AIcs.LG

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Electroencephalogram (EEG)-based brain-computer interfaces (BCIs) are widely adopted due to their efficiency and portability; however, their decoding algorithms still face multiple challenges, including inadequate generalization, adversarial vulnerability, and privacy leakage. This paper proposes Secure and Accurate FEderated learning (SAFE), a federated learning-based approach that protects user privacy by keeping data local during model training. SAFE employs local batch-specific normalization to mitigate cross-subject feature distribution shifts and hence improves model generalization. It further enhances adversarial robustness by introducing perturbations in both the input space and the parameter space through federated adversarial training and adversarial weight perturbation. Experiments on five EEG datasets from motor imagery (MI) and event-related potential (ERP) BCI paradigms demonstrated that SAFE consistently outperformed 14 state-of-the-art approaches in both decoding accuracy and adversarial robustness, while ensuring privacy protection. Notably, it even outperformed centralized training approaches that do not consider privacy protection at all. To our knowledge, SAFE is the first algorithm to simultaneously achieve high decoding accuracy, strong adversarial robustness, and reliable privacy protection without using any calibration data from the target subject, making it highly desirable for real-world BCIs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jia2026safe,
  title  = {SAFE: Secure and Accurate Federated Learning for Privacy-Preserving Brain-Computer Interfaces},
  author = {Tianwang Jia and Xiaoqing Chen and Dongrui Wu},
  year   = {2026},
  eprint = {2601.05789},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.05789v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.05789.svg)](https://codeofpaper.com/paper/2601.05789)

Discussion