Home LiteratureArticle Details
PMID: 41617748 Published · epublish English

Adversarial robust EEG-based brain-computer interfaces using a hierarchical convolutional neural network.

Scientific reports ·Vol. 16 ·No. 1 ·2026-01-30

Samuel J, Murugan TK, Govindaraj L, Balaji M, SenthilKumar V, Sundararajan S

Abstract

Brain-Computer Interfaces (BCIs) based on electroencephalography (EEG) are widely used in motor rehabilitation, assistive communication, and neurofeedback due to their non-invasive nature and ability to decode movement-related neural activity. Recent advances in deep learning, particularly convolutional neural networks, have improved the accuracy of motor imagery (MI) and motor execution (ME) classification. However, EEG-based BCIs remain vulnerable to adversarial attacks, in which small, imperceptible perturbations can alter classifier predictions, posing risks in safety-critical applications such as rehabilitation therapy and assistive device control. To address this issue, this study proposes a three-level Hierarchical Convolutional Neural Network (HCNN) designed to improve both classification performance and adversarial robustness. The framework decodes motor intention through a structured hierarchy: Level 1 distinguishes MI from ME, Level 2 differentiates unilateral and bilateral motor tasks, and Level 3 performs fine-grained movement classification. The model is evaluated on the publicly available BCI Competition IV-2a dataset, which contains multi-class MI EEG recordings from nine healthy subjects. Robustness is assessed under gradient-based adversarial attacks, including Fast Gradient Sign Method (FGSM), Projected Gradient Descent (PGD), and DeepFool, across varying perturbation strengths, with adversarial training incorporated during learning. Experimental results show that the proposed HCNN achieves a clean-data accuracy of 91.2% and exhibits reduced performance degradation under adversarial attacks compared with conventional CNN baselines. These results indicate that hierarchical architectures offer a viable approach for improving the reliability of EEG-based BCIs. All experiments were conducted exclusively on the BCI Competition IV-2a dataset using EEG data from healthy subjects.

Keywords
Adversarial attack Brain–computer interfaces Common spatial patterns Convolutional neural networks Electroencephalography Perturbation methods
Article Info
Journal
Scientific reports
Abbr.
Sci Rep
ISSN
2045-2322
Corresponding email
Published
2026-01-30
Language
English
Country/Region
England
NLM ID
101563288
Analysis Services
Analysis Services

Contact

No. 2 Wenbo Road, Zhangqiu District, Jinan, Shandong

Qilu Normal University · Genelibs Bioinformatics Lab

750 Shunhua Rd, Jinan

2F, Bldg F, University Science Park

Tel: 0531-88819269

WeChat Official Account

Follow our WeChat subscription account for real-time updates and the latest in medical and biological research.


Business Email

E-mail: [email protected]