arXiv(opens in a new tab)cs.CEAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.00282

Lightweight Adaptation of EEG Foundation Models for Stroke Motor Imagery Decoding: Domain Shift and Subject-Level Robustness

Anh T. Nguyen, Zihua Sun, Michelle J. Johnson

Anh T. Nguyen, Member, IEEE 1†^{1\dagger}, Zihua Sun 2†^{2\dagger}, and Michelle J. Johnson, Member, IEEE 3^{3}

Abstract—Motor imagery (MI) electroencephalography (EEG) decoding could support post-stroke rehabilitation, but models developed on healthy cohorts may not transfer reliably to pathological EEG. We evaluated whether Low-Rank Adaptation (LoRA) can efficiently adapt three pretrained EEG foundation models (i.e., LaBraM-base, REVE-base, and REVE-large) for binary left- versus right-hand MI decoding. Frozen-backbone head-only baselines and LoRA adaptation were evaluated using subject-wise five-fold cross-validation on the PhysioNet EEG Motor Movement/Imagery Dataset and a binary subset of the UET175 dataset comprising 30 stroke participants. On EEGMMIDB, LoRA increased accuracy to 0.822 for LaBraM-base and 0.957 for REVE-base. On UET175, all head-only models performed near chance. With LoRA, LaBraM-base remained near chance (0.499±0.009), whereas REVE-base reached 0.847±0.194 and outperformed REVE-large (0.806±0.178), indicating that increased model capacity alone did not improve stroke-domain adaptation. The strongest stroke configuration, REVE-base LoRA, was further evaluated using within-cohort leave-one-subject-out cross-validation (LOOCV), showing 0.952 mean accuracy, but subject-wise accuracy ranged from 0.586 to 1.000, revealing a small low-performing tail. Zero-shot transfer from EEGMMIDB to UET175 remained near chance (0.464±0.072). These findings show that healthy-benchmark performance does not ensure transfer to stroke EEG. Translation of EEG foundation models to pseudo-online or real-time rehabilitation BCIs should therefore include target-domain adaptation and subject-level assessment of temporal informativeness, spatial sensitivity, and physiological discriminability.

I. INTRODUCTION

Electroencephalography (EEG)-based motor imagery (MI) brain-computer interfaces (BCIs) have been widely studied for assistive control and neurorehabilitation because they provide a non-invasive pathway for decoding movement intention from brain activity [1]. In stroke rehabilitation, MI is particularly important because it can engage sensorimotor processes even when overt movement is limited, and MI-BCI systems have shown promise for improving motor recovery and supporting active rehabilitation training [2]–[4]. At the same time, practical deployment remains challenging, as clinical EEG is highly variable across patients, signal quality is inconsistent, and decoding performance often drops when models are transferred from healthy research datasets to pathological populations [3], [5].

Conventional MI decoding pipelines have largely relied on handcrafted feature extraction, compact convolutional networks, or dataset-specific classifiers [1], [6]. While such approaches can perform well in controlled settings, they typically require careful task-specific design and often struggle with cross-subject generalization and deployment robustness. This limitation is especially relevant in stroke applications, where lesion location, impairment severity, and subject-specific neural reorganization can introduce substantial inter-subject heterogeneity [3], [5]. Recent work has also emphasized that offline accuracy alone may not adequately reflect realistic BCI usability, motivating more deployment-oriented evaluation strategies such as pseudo-online or adaptive analyses [7]–[9].

EEG foundation models have recently emerged as a promising alternative to conventional task-specific MI decoding pipelines. By pretraining on large and diverse EEG corpora, these models aim to learn reusable neural representations that can reduce dependence on handcrafted features and improve transfer to downstream decoding tasks [10]. At the same time, parameter-efficient fine-tuning methods provide a practical way to adapt the pretrained EEG foundation models with limited data and compute. However, it remains unclear whether these advantages persist in clinically relevant settings such as post-stroke MI decoding, where healthy-to-stroke transfer introduces substantial domain shift in physiology, signal quality, and inter-subject variability. This gap motivates our study of whether pretrained EEG foundation models can be lightly adapted for stroke MI decoding, and whether their performance remains robust beyond cohort-average accuracy.

In this paper, we study lightweight adaptation of EEG foundation models for stroke MI decoding. We first benchmark publicly available pretrained models [11], [12] in a head-only setting on two MI datasets comprising healthy participants and stroke survivors [13], [14], then evaluate the main fine-tuning adaptation analysis on these EEG foundation models. Beyond this primary comparison, we perform a set of robustness-oriented secondary analyses on the strongest

∗^{*}This work was supported by the American Heart Association (AHA) Predoctoral Fellowship under Award Number 25PRE1372607 and the Vingroup Scholarship Program for Master's and Ph.D. Degrees Overseas Study.

1^{1}Anh T. Nguyen is a PhD Candidate with the School of Engineering and Applied Science, Department of Bioengineering, University of Pennsylvania, Philadelphia, PA, USA tuna28ng@engineering.upenn.edu

2^{2}Zihua Sun is a M.S. student with the School of Engineering and Applied Science, Department of Electrical and Systems Engineering, University of Pennsylvania, Philadelphia, PA, USA szh16@engineering.upenn.edu

3^{3}Dr. Michelle J. Johnson is a Professor with the Department of Physical Medicine and Rehabilitation, Department of Bioengineering, and Department of Mechanical Engineering and Applied Mechanics, University of Pennsylvania, Philadelphia, PA, USA johnmic@pennmedicine.upenn.edu

†^{\dagger} These authors contributed equally to this work.

practical configuration, including zero-shot healthy-to-stroke transfer, preprocessing ablation, subject-level analysis, and channel and time-window ablations. These follow-up analyses are used to test whether apparent cohort-level gains remain reliable under severe healthy-to-stroke domain shift and across individual stroke subjects.

References (34)

  • EEG-based brain-computer interfaces using motor-imagery: Techniques and challenges
  • Motor imagery and action observation: cognitive tools for rehabilitation
  • Motor imagery brain—computer interface rehabilitation system enhances upper limb performance and improves brain activity in stroke patients: A clinical study
  • Rehabilitation with brain-computer interface and upper limb functional electrical stimulation in ischemic stroke: a randomized controlled trial
  • Review on motor imagery based bci systems for upper limb post-stroke neurorehabilitation: From designing to application
  • EEGNet: a compact convolutional neural network for EEG-based brain-computer interfaces
  • Pseudo-online framework for BCI evaluation: a MOABB perspective using various MI and SSVEP datasets
  • Large-scale assessment of a fully automatic co-adaptive motor imagery-based brain computer interface
  • On the feasibility of EEG-based motor intention detection for real-time robot assistive control
  • EEG foundation models: A critical review of current progress and future directions
  • Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCI (opens arXiv in a new tab)
  • REVE: A Foundation Model for EEG (opens arXiv in a new tab)
  • EEG Motor Movement/Imagery Dataset (opens the publisher in a new tab)
  • UET175: EEG dataset of motor imagery tasks in Vietnamese stroke patients
  • BENDR: using transformers and a contrastive self-supervised learning task to learn from massive amounts of EEG data
  • EEG-FM-Bench: A Comprehensive Benchmark for the Systematic Evaluation of EEG Foundation Models
  • NeuralBench: A Unifying Framework to Benchmark NeuroAI Models
  • LoRA: Low-Rank Adaptation of Large Language Models
  • Graph adapter of EEG foundation models for parameter efficient fine tuning (opens arXiv in a new tab)
  • EEG-based mental imagery task adaptation via ensemble of weight-decomposed low-rank adapters (opens arXiv in a new tab)
  • TCPL: task-conditioned prompt learning for few-shot cross-subject motor imagery EEG decoding
  • EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis
  • Real-Time Neuroimaging and Cognitive Monitoring Using Wearable Dry EEG
  • Event-related EEG/MEG synchronization and desynchronization: basic principles
  • EEG response varies with lesion location in patients with chronic stroke
  • Transferring a deep learning model from healthy subjects to stroke patients in a motor imagery brain-computer interface
  • A large clinical study on the ability of stroke patients to use an EEG-based motor imagery brain-computer interface
  • Fast recognition of BCI-inefficient users using physiological features from EEG signals: A screening study of stroke patients
  • EEG is better left alone
  • Relationship between electrical brain responses to motor imagery and motor impairment in stroke
  • Motor imagery impairment in postacute stroke patients
  • Event-related desynchronization (ERD) may not be correlated with motor imagery BCI performance
  • Mu rhythm (de)synchronization and EEG single-trial classification of different motor imagery tasks
  • The differences between motor attempt and motor imagery in brain-computer interface accuracy and event-related desynchronization of patients with hemiplegia