MIRepNet: A Pipeline and Foundation Model for EEG-Based Motor Imagery Classification
Abstract
MIRepNet, an EEG foundation model tailored for motor imagery, achieves state-of-the-art performance across multiple datasets using a hybrid pretraining strategy that combines self-supervised and supervised learning.
Brain-computer interfaces (BCIs) enable direct communication between the brain and external devices. Recent EEG foundation models aim to learn generalized representations across diverse BCI paradigms. However, these approaches overlook fundamental paradigm-specific neurophysiological distinctions, limiting their generalization ability. Importantly, in practical BCI deployments, the specific paradigm such as motor imagery (MI) for stroke rehabilitation or assistive robotics, is generally determined prior to data acquisition. This paper proposes MIRepNet, the first EEG foundation model tailored for the MI paradigm. MIRepNet comprises a high-quality EEG preprocessing pipeline incorporating a neurophysiologically-informed channel template, adaptable to EEG headsets with arbitrary electrode configurations. Furthermore, we introduce a hybrid pretraining strategy that combines self-supervised masked token reconstruction and supervised MI classification, facilitating rapid adaptation and accurate decoding on novel downstream MI tasks with fewer than 30 trials per class. Extensive evaluations across five public MI datasets demonstrated that MIRepNet consistently achieved state-of-the-art performance, significantly outperforming both specialized and generalized EEG models. Our code will be available on GitHubhttps://github.com/staraink/MIRepNet.
Community
First Foundation Model for EEG-based MI Classification:
This paper introduces the first foundation model specifically designed for motor imagery (MI)-based EEG classification, named MIRepNet. It tackles a crucial gap in the BCI field by addressing the challenge of generalizing across diverse subjects, electrode configurations, and new task categories, all with minimal calibration. The authors present a robust pipeline for high-quality MI data construction that unifies heterogeneous EEG signals, enhancing the adaptability of the model. This is particularly important as EEG headsets often vary in terms of electrode count and placement, and the data quality can be inconsistent across different sources.
One of the paper's key contributions is its innovative pretraining strategy, combining self-supervised masked token reconstruction with supervised MI classification. This hybrid approach allows MIRepNet to rapidly adapt to new subjects and tasks, requiring only a small amount of new data for fine-tuning (less than 30 trials per class). Extensive experiments on five MI datasets demonstrate the efficacy of the proposed model, consistently outperforming state-of-the-art EEG models.
The paper successfully highlights the importance of paradigm-specific foundation models for EEG classification. The results strongly suggest that such tailored models can significantly enhance the accuracy and practicality of BCIs, making them more feasible for real-world applications, such as assistive technologies and rehabilitation systems.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- AFPM: Alignment-based Frame Patch Modeling for Cross-Dataset EEG Decoding (2025)
- DBConformer: Dual-Branch Convolutional Transformer for EEG Decoding (2025)
- CSBrain: A Cross-scale Spatiotemporal Brain Foundation Model for EEG Decoding (2025)
- When Brain Foundation Model Meets Cauchy-Schwarz Divergence: A New Framework for Cross-Subject Motor Imagery Decoding (2025)
- AdaBrain-Bench: Benchmarking Brain Foundation Models for Brain-Computer Interface Applications (2025)
- CLEAN-MI: A Scalable and Efficient Pipeline for Constructing High-Quality Neurodata in Motor Imagery Paradigm (2025)
- AGTCNet: A Graph-Temporal Approach for Principled Motor Imagery EEG Classification (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper