Skip to main content
Log in

SSVEP-based brain-computer interfaces are vulnerable to square wave attacks

  • Research Paper
  • Special Focus on Brain Machine Interfaces and Applications
  • Published:
Science China Information Sciences Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. Graimann B, Allison B, Pfurtscheller G. Brain-computer interfaces: a gentle introduction. In: Brain-Computer Interfaces. Berlin: Springer, 2010. 1–27

    Chapter  Google Scholar 

  2. Nicolas-Alonso L F, Gomez-Gil J. Brain computer interfaces, a review. Sensors, 2012, 12: 1211–1279

    Article  Google Scholar 

  3. Sutton S, Braren M, Zubin J, et al. Evoked-potential correlates of stimulus uncertainty. Science, 1965, 150: 1187–1188

    Article  Google Scholar 

  4. 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

    Article  Google Scholar 

  5. Wu D R. Online and offline domain adaptation for reducing BCI calibration effort. IEEE Trans Human-Mach Syst, 2017, 47: 550–563

    Article  Google Scholar 

  6. 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

    Article  Google Scholar 

  7. 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

    Article  Google Scholar 

  8. 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

    Article  Google Scholar 

  9. Pfurtscheller G, Neuper C. Motor imagery and direct brain-computer communication. Proc IEEE, 2001, 89: 1123–1134

    Article  Google Scholar 

  10. 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

    Article  Google Scholar 

  11. 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

    Article  Google Scholar 

  12. 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

    Article  Google Scholar 

  13. Beverina F, Palmas G, Silvoni S, et al. User adaptive BCIs: SSVEP and P300 based interfaces. Psychnol J, 2003, 1: 331–354

    Google Scholar 

  14. 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

    Article  Google Scholar 

  15. 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

    Article  Google Scholar 

  16. 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

    Article  Google Scholar 

  17. 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

    Article  Google Scholar 

  18. 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

    Article  Google Scholar 

  19. Szegedy C, Zaremba W, Sutskever I, et al. Intriguing properties of neural networks. In: Proceedings of International Conference on Learning Representations, Banff, 2014

  20. Goodfellow I J, Shlens J, Szegedy C. Explaining and harnessing adversarial examples. In: Proceedings of International Conference on Learning Representations, San Diego, 2015

  21. 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

  22. 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

    Article  Google Scholar 

  23. 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

    Article  Google Scholar 

  24. 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

  25. 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

  26. 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

  27. 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

  28. 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

    Article  Google Scholar 

  29. 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

    Article  Google Scholar 

  30. 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

    Article  Google Scholar 

  31. 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

    Article  Google Scholar 

  32. Meng L B, Huang J, Zeng Z G, et al. EEG-based brain-computer interfaces are vulnerable to backdoor attacks. 2021. ArXiv:2011.00101

  33. 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

    Article  Google Scholar 

  34. 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

    Article  Google Scholar 

  35. 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

    Article  Google Scholar 

  36. 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

    Article  Google Scholar 

  37. Russo F D, Spinelli D. Electrophysiological evidence for an early attentional mechanism in visual processing in humans. Vision Res, 1999, 39: 2975–2985

    Article  Google Scholar 

  38. 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

    Article  Google Scholar 

  39. 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

Download references

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

Authors

Corresponding author

Correspondence to Dongrui Wu.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11432-022-3440-5

Keywords

Navigation