MIRepNet: A Pipeline and Foundation Model for EEG-Based Motor Imagery Classification

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Dingkun, Chen, Zhu, Luo, Jingwei, Lian, Shijie, Wu, Dongrui
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909708655263744
author Liu, Dingkun
Chen, Zhu
Luo, Jingwei
Lian, Shijie
Wu, Dongrui
author_facet Liu, Dingkun
Chen, Zhu
Luo, Jingwei
Lian, Shijie
Wu, Dongrui
contents 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 GitHub\footnote{https://github.com/staraink/MIRepNet}.
format Preprint
id arxiv_https___arxiv_org_abs_2507_20254
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MIRepNet: A Pipeline and Foundation Model for EEG-Based Motor Imagery Classification
Liu, Dingkun
Chen, Zhu
Luo, Jingwei
Lian, Shijie
Wu, Dongrui
Computer Vision and Pattern Recognition
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 GitHub\footnote{https://github.com/staraink/MIRepNet}.
title MIRepNet: A Pipeline and Foundation Model for EEG-Based Motor Imagery Classification
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2507.20254