Abstract
Electroencephalogram (EEG) based brain-computer interfaces (BCIs) have attracted wide attention in recent years. Steady-state visual evoked potential (SSVEP) is one of the most popular BCI paradigms, which has high information transmission rate and short user calibration time. Recent research has shown that EEG-based BCIs are under the threat of adversarial examples. However, existing attack approaches are very difficult to implement in a real-world system. Considering SSVEP’s dependency on the frequency information, this paper proposes to use square wave signals as adversarial perturbations to attack SSVEP-based BCIs, which are easy to generate and apply in practice. EEG trials contaminated by the square wave perturbation can be classified into any target class specified by the attacker. Compared with previous approaches, our perturbation can be implemented much more easily. Experiments on two SSVEP datasets demonstrated the efficiency and robustness of the proposed approach in attacking two SSVEP classifiers based on canonical correlation analysis, exposing a critical security problem in SSVEP-based BCIs.
Similar content being viewed by others
References
Graimann B, Allison B, Pfurtscheller G. Brain-computer interfaces: a gentle introduction. In: Brain-Computer Interfaces. Berlin: Springer, 2010. 1–27
Nicolas-Alonso L F, Gomez-Gil J. Brain computer interfaces, a review. Sensors, 2012, 12: 1211–1279
Sutton S, Braren M, Zubin J, et al. Evoked-potential correlates of stimulus uncertainty. Science, 1965, 150: 1187–1188
Wu D R, Lawhern V J, Hairston W D, et al. Switching EEG headsets made easy: reducing offline calibration effort using active weighted adaptation regularization. IEEE Trans Neural Syst Rehabil Eng, 2016, 24: 1125–1137
Wu D R. Online and offline domain adaptation for reducing BCI calibration effort. IEEE Trans Human-Mach Syst, 2017, 47: 550–563
Farwell L A, Donchin E. Talking off the top of your head: toward a mental prosthesis utilizing event-related brain potentials. Electroencephalography Clin Neurophysiol, 1988, 70: 510–523
Yu Y, Liu Y D, Yin E W, et al. An asynchronous hybrid spelling approach based on EEG-EOG signals for Chinese character input. IEEE Trans Neural Syst Rehabil Eng, 2019, 27: 1292–1302
Jin J, Xiao R C, Daly I, et al. Internal feature selection method of CSP based on L1-norm and Dempster-Shafer theory. IEEE Trans Neural Netw Learn Syst, 2021, 32: 4814–4825
Pfurtscheller G, Neuper C. Motor imagery and direct brain-computer communication. Proc IEEE, 2001, 89: 1123–1134
Zhu D H, Bieger J, Molina G G, et al. A survey of stimulation methods used in SSVEP-based BCIs. Comput Intell Neurosci, 2010, 2010: 1–12
Yin E, Zhou Z, Jiang J, et al. A dynamically optimized SSVEP brain-computer interface (BCI) speller. IEEE Trans Biomed Eng, 2015, 62: 1447–1456
Vialatte F B, Maurice M, Dauwels J, et al. Steady-state visually evoked potentials: focus on essential paradigms and future perspectives. Prog Neurobiol, 2010, 90: 418–438
Beverina F, Palmas G, Silvoni S, et al. User adaptive BCIs: SSVEP and P300 based interfaces. Psychnol J, 2003, 1: 331–354
Zhang N N, Liu Y D, Yin E W, et al. Retinotopic and topographic analyses with gaze restriction for steady-state visual evoked potentials. Sci Rep, 2019, 9: 4472
Zhang Y S, Yin E W, Li F L, et al. Hierarchical feature fusion framework for frequency recognition in SSVEP-based BCIs. Neural Networks, 2019, 119: 1–9
Lin Z L, Zhang C S, Wu W, et al. Frequency recognition based on canonical correlation analysis for SSVEP-based BCIs. IEEE Trans Biomed Eng, 2006, 53: 2610–2614
Chen X G, Wang Y J, Gao S K, et al. Filter bank canonical correlation analysis for implementing a high-speed SSVEP-based brain-computer interface. J Neural Eng, 2015, 12: 046008
Nakanishi M, Wang Y J, Chen X G, et al. Enhancing detection of SSVEPs for a high-speed brain speller using task-related component analysis. IEEE Trans Biomed Eng, 2018, 65: 104–112
Szegedy C, Zaremba W, Sutskever I, et al. Intriguing properties of neural networks. In: Proceedings of International Conference on Learning Representations, Banff, 2014
Goodfellow I J, Shlens J, Szegedy C. Explaining and harnessing adversarial examples. In: Proceedings of International Conference on Learning Representations, San Diego, 2015
Carlini N, Wagner D. Audio adversarial examples: targeted attacks on speech-to-text. In: Proceedings of IEEE Symposium on Security and Privacy, San Francisco, 2018
Han X T, Hu Y X, Foschini L, et al. Deep learning models for electrocardiograms are susceptible to adversarial attack. Nat Med, 2020, 26: 360–363
Zhang X, Wu D R. On the vulnerability of CNN classifiers in EEG-based BCIs. IEEE Trans Neural Syst Rehabil Eng, 2019, 27: 814–825
Moosavi-Dezfooli S M, Fawzi A, Frossard P. DeepFool: a simple and accurate method to fool deep neural networks. In: Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, 2016. 2574–2582
Madry A, Makelov A, Schmidt A, et al. Towards deep learning models resistant to adversarial attacks. In: Proceedings of International Conference on Learning Representations, Vancouver, 2018
Xiao H, Biggio B, Brown G, et al. Is feature selection secure against training data poisoning? In: Proceedings of International Conference on Machine Learning, Lille, 2015. 1689–1698
Muñoz-González L, Biggio B, Demontis A, et al. Towards poisoning of deep learning algorithms with back-gradient optimization. In: Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, Dallas, 2017. 27–38
Lawhern V J, Solon A J, Waytowich N R, et al. EEGNet: a compact convolutional neural network for EEG-based brain-computer interfaces. J Neural Eng, 2018, 15: 056013
Schirrmeister R T, Springenberg J T, Fiederer L D J, et al. Deep learning with convolutional neural networks for EEG decoding and visualization. Hum Brain Mapp, 2017, 38: 5391–5420
Liu Z H, Meng L B, Zhang X, et al. Universal adversarial perturbations for CNN classifiers in EEG-based BCIs. J Neural Eng, 2021, 18: 0460a4
Zhang X, Wu D R, Ding L Y, et al. Tiny noise, big mistakes: adversarial perturbations induce errors in brain-computer interface spellers. Natl Sci Rev, 2021, 8: 4
Meng L B, Huang J, Zeng Z G, et al. EEG-based brain-computer interfaces are vulnerable to backdoor attacks. 2021. ArXiv:2011.00101
Chen X G, Chen Z K, Gao S K, et al. A high-ITR SSVEP-based BCI speller. Brain-Comput Interface, 2014, 1: 181–191
Nakanishi M, Wang Y J, Wang Y T, et al. Generating visual flickers for eliciting robust steady-state visual evoked potentials at flexible frequencies using monitor refresh rate. PLOS One, 2014, 9: e99235
Wang Y J, Chen X G, Gao X R, et al. A benchmark dataset for SSVEP-based brain-computer interfaces. IEEE Trans Neural Syst Rehabil Eng, 2017, 25: 1746–1752
Liu B C, Huang X S, Wang Y J, et al. BETA: a large benchmark database toward SSVEP-BCI application. Front Neurosci, 2020, 14: 627
Russo F D, Spinelli D. Electrophysiological evidence for an early attentional mechanism in visual processing in humans. Vision Res, 1999, 39: 2975–2985
Wong C M, Wan F, Wang B, et al. Learning across multi-stimulus enhances target recognition methods in SSVEP-based BCIs. J Neural Eng, 2020, 17: 016026
Jin J, Wang Z Q, Xu R, et al. Robust similarity measurement based on a novel time filter for SSVEPs detection. IEEE Trans Neural Netw Learn Syst, 2021. doi: https://doi.org/10.1109/TNNLS.2021.3118468
Acknowledgements
This work was supported by Open Research Projects of Zhejiang Lab (Grant No. 2021KE0AB04) and Technology Innovation Project of Hubei Province of China (Grant No. 2019AEA171).
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Bian, R., Meng, L. & Wu, D. SSVEP-based brain-computer interfaces are vulnerable to square wave attacks. Sci. China Inf. Sci. 65, 140406 (2022). https://doi.org/10.1007/s11432-022-3440-5
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11432-022-3440-5