Multi-scale EEG feature decoding with Swin Transformers for subject independent motor imagery BCIs


Qamar W.U.R. Abibullaev B.
December 2026Nature Research

Scientific Reports
2026#16Issue 1

High inter-subject variability and the non-stationary nature of EEG signals pose significant challenges for subject-independent Brain-Computer Interfaces (BCIs) leading to poor model generalization. Differences in neural activity patterns, electrode placements, and external noise further degrade performance making it difficult to develop BCIs that remain reliable across users without extensive recalibration. This study presents a Compact Convolutional Swin Transformer (CCST) to address this issue by using hierarchical window based self-attention combined with convolutional feature extraction to efficiently capture both local electrode interactions and global temporal dependencies. This multi-scale feature representation enhances generalization across subjects, a critical factor for real world BCI deployment. We evaluated CCST on the BCI Competition IV (2a, 2b) and PhysioNet MI datasets using Leave-One-Subject-Out (LOSO) cross-validation achieving state-of-the-art classification accuracies of 68.27%, 76.61%, and 71.70% respectively. Our statistical analysis using the Wilcoxon signed-rank test with Bonferroni correction confirms significant performance improvements over benchmark models. Additionally, CCST achieves a reduction in parameters and a decrease in FLOPs compared to full self-attention models making it more efficient for real-time BCI applications. These results establish CCST as a scalable and efficient framework for adaptive subject-independent BCIs with promising applications in neurorehabilitation, assistive technology, and cognitive training.

Brain computer interface , Deep learning , EEG , Motor imagery , Swin Transformer

Text of the article Перейти на текст статьи

Department of Robotics and Mechatronics, School of Engineering and Digital Sciences, Nazarbayev University, Astana, 010000, Kazakhstan

Department of Robotics and Mechatronics

10 лет помогаем публиковать статьи Международный издатель

Книга Публикация научной статьи Волощук 2026 Book Publication of a scientific article 2026