Code for IEEE MLSP 2022 "Adversarial Training for the Adversarial Robustness of EEG-based Brain-Computer Interfaces"
Accuracy of DeepCNN on UFGSM, TLM-UAP, and SAP examples generated to fool undefended models, and models trained with HBaR, TRADES, MART, PGD, and PGD with HBaR on MI, P300, and ERN (from left to right).
Accuracy of ShallowCNN on UFGSM, TLM-UAP, and SAP examples generated to fool undefended models, and models trained with HBaR, TRADES, MART, PGD, and PGD with HBaR on MI, P300, and ERN (from left to right).
If you use this code in your work, please cite the accompanying paper:
@inproceedings{li2022adversarial,
title={Adversarial Training for the Adversarial Robustness of EEG-Based Brain-Computer Interfaces},
author={Li, Yunhuan and Yu, Xi and Yu, Shujian and Chen, Badong},
booktitle={2022 IEEE 32nd International Workshop on Machine Learning for Signal Processing (MLSP)},
pages={1--6},
year={2022},
organization={IEEE}
}