journal article·2026-05-09Open access

Modeling Spatial and Semantic Variability in Cross-Subject MI-EEG: A Dual-Stage Prototype Framework

Yuanzheng Shan, Hua Bo

Applied Sciences· Volume 16· Issue 10

Abstract

Motor imagery electroencephalography (MI-EEG) decoding remains challenging in cross-subject scenarios due to pronounced inter-subject variability and signal non-stationarity, which often lead to performance degradation on unseen subjects. Existing prototype-based and domain adaptation methods typically rely on global feature alignment or single-level class representation, limiting their ability to capture both channel-wise spatial variability and high-level semantic structure. To address these limitations, we propose a dual-stage prototype representation framework for cross-subject MI-EEG decoding. The framework models spatial and semantic variability in a hierarchical manner by introducing channel prototypes and feature prototypes, enabling more consistent representations across subjects. Furthermore, a prototype-guided pairwise similarity learning strategy is employed to enhance intra-class compactness and inter-class separability in the embedding space. To mitigate cross-subject distribution shifts, we integrate a lightweight statistical perturbation method (StyleMix) with Wasserstein-based domain alignment, helping reduce subject-specific distribution variations. Experiments on the BCI Competition IV 2a and 2b datasets show that the proposed method achieves competitive performance under the evaluated target-assisted few-shot setting, reaching average accuracies of 79.12% and 87.31%, respectively, and improving over the strongest baseline by up to 2.99 percentage points.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: EEG and Brain-Computer Interfaces · Advanced Neural Network Applications · Emotion and Mood Recognition

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Information Engineering, Shanghai Maritime University, Shanghai 201306, China

References (22)

Show source-provided references
1. A Review of Motor Imagery Brain–Computer Interface Encoding and Decoding Algorithms in Embedded Systems
2. Progress of Classification Algorithms for Motor Imagery Electroencephalogram Signals
3. Ahuja, K., and Sethia, D. (2024). Harnessing Few-Shot Learning for EEG Signal Classification: A Survey of State-of-the-Art Techniques and Future Directions. Front. Hum. Neurosci., 18.10.3389/fnhum.2024.1421922 ↗
4. Subject-Independent Meta-Learning Framework towards Optimal Training of EEG-Based Classifiers10.1016/j.neunet.2024.106108 ↗
5. Multisource Associate Domain Adaptation for Cross-Subject and Cross-Session EEG Emotion Recognition10.1109/TIM.2023.3277985 ↗
6. DA-CapsNet: A Multi-Branch Capsule Network Based on Adversarial Domain Adaptation for Cross-Subject EEG Emotion Recognition10.1016/j.knosys.2023.111137 ↗
7. MGFKD: A Semi-Supervised Multi-Source Domain Adaptation Algorithm for Cross-Subject EEG Emotion Recognition10.1016/j.brainresbull.2024.110901 ↗
8. Nichol, A., and Schulman, J. (2018). Reptile: A Scalable Meta-Learning Algorithm. arXiv.
9. Pati, A., Mewada, D., and Samanta, D. (2023, January 1–5). Meta-Learning for Subject Adaptation in Low-Data Environments for EEG-Based Motor Imagery Brain–Computer Interfaces. Proceedings of the Tiny Papers @ ICLR 2023, Kigali, Rwanda. Available online: https://openreview.net.
10. Snell, J., Swersky, K., and Zemel, R.S. (2017, January 4–9). Prototypical Networks for Few-Shot Learning. Proceedings of the Advances in Neural Information Processing Systems (NeurIPS 2017), Long Beach, CA, USA.
11. Sung, F., Yang, Y., Zhang, L., Xiang, T., Torr, P.H.S., and Hospedales, T.M. (2018, January 18–22). Learning to Compare: Relation Network for Few-Shot Learning. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2018), Salt Lake City, UT, USA.10.1109/CVPR.2018.00131 ↗
12. An, S., Kim, S., Chikontwe, P., Park, H.J., and Lee, M. (2020–24, January 24). Few-Shot Relation Learning with Attention for EEG-Based Motor Imagery Classification. Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2020), Las Vegas, NV, USA.10.1109/IROS45743.2020.9340933 ↗
13. He, C., Liu, J., Zhu, Y., and Du, W. (2021). Data Augmentation for Deep Neural Networks Model in EEG Classification Task: A Review. Front. Hum. Neurosci., 15.10.3389/fnhum.2021.765525 ↗
14. Exploring Data Augmentation Methods to Enhance EEG Measures for Epilepsy Seizure Detection10.1016/j.compbiomed.2025.110512 ↗
15. Wei, X., Ortega, P., and Faisal, A.A. (2021). Inter-Subject Deep Transfer Learning for Motor Imagery EEG Decoding. arXiv.10.1109/NER49283.2021.9441085 ↗
16. Brunner, C., Leeb, R., Müller-Putz, G., Schlögl, A., and Pfurtscheller, G. (2026, February 23). BCI Competition 2008—Graz Data Set A. Available online: http://www.bbci.de/competition/iv/.
17. Motor Imagery Decoding Using Source Optimized Transfer Learning Based on Multi-Loss Fusion CNN10.1007/s11571-024-10100-5 ↗
18. Deep Adversarial Domain Adaptation with Few-Shot Learning for Motor-Imagery Brain–Computer Interface10.1109/ACCESS.2022.3178100 ↗
19. Optimal Spatial Filtering of Single-Trial EEG during Imagined Hand Movement10.1109/86.895946 ↗
20. Learning Temporal Information for Brain-Computer Interface Using Convolutional Neural Networks10.1109/TNNLS.2018.2789927 ↗
21. EEGNet: A Compact Convolutional Neural Network for EEG-Based Brain–Computer Interfaces10.1088/1741-2552/aace8c ↗
22. Deep Learning with Convolutional Neural Networks for EEG Decoding and Visualization10.1002/hbm.23730 ↗