CFSPMNet: Cross-subject Fourier-guided Spatial-Patch Mamba Network for EEG Motor Imagery Decoding in Stroke Patients

Xiangkai Wang, Yun Zhao, Dongyi He, Qingling Xia, Gen Li +3 more
5/11/2026
2 citations
cs.LGcs.AIcs.CV
state-space-mamba

Official code: wxk1224/CFSPMNet (3 stars, Python, last commit 2026-05-18).

Abstract

Motor imagery electroencephalography (MI-EEG) decoding offers a non-invasive route for post-stroke rehabilitation, but cross-patient use remains difficult because pathological neural reorganization changes task-related EEG dynamics, aperiodic activity, local excitability, cross-regional coordination, and trial-level brain-state context. This makes source-learned MI representations unreliable for unseen patients.

Show full abstract

To address this problem, we propose CFSPMNet, a cross-patient adaptation framework that models post-stroke MI-EEG as latent neural-state organization. CFSPMNet combines a Fourier-Reorganized State Mamba Network (FRSM) with Shared-Private Prototype Matching (SPPM). FRSM represents each trial as a latent physiological token sequence, reorganizes token states in the Fourier domain, and uses Fourier-derived trial context to guide Mamba state-space propagation. SPPM improves target pseudo-label updating by combining semantic confidence with shared-private physiological consistency, filtering confident but physiologically inconsistent target predictions. Leave-one-subject-out experiments on two stroke MI-EEG datasets show that CFSPMNet outperforms representative CNN-, Transformer-, Mamba-, and adaptation-based baselines, achieving average accuracies of 68.23% on XW-Stroke and 73.33% on 2019-Stroke, with gains of 5.63 and 8.25 percentage points over the strongest competitors. Ablation, sensitivity, feature-alignment, pseudo-label selection, and neurophysiological visualization analyses further support the roles of Fourier-domain token-state reorganization and calibrated pseudo-label updating. These results suggest that latent neural-state modeling can improve rehabilitation-oriented cross-patient BCI decoding. Code is available at https://github.com/wxk1224/CFSPMNet.

View on arXivView PDF

Code Implementations(1)

wxk1224/CFSPMNetOfficial100%

Post-stroke motor imagery EEG decoding with CFSPMNet, integrating Fourier-guided rhythmic state-space modeling and shared-private prototype matching for robust cross-subject adaptation.

30PythonApr 19, 20266 months ago

Similar Papers

Cite this paper

@article{wang2026cfspmnet,
  title  = {CFSPMNet: Cross-subject Fourier-guided Spatial-Patch Mamba Network for EEG Motor Imagery Decoding in Stroke Patients},
  author = {Xiangkai Wang and Yun Zhao and Dongyi He and Qingling Xia and Gen Li and Xinlai Xing and Yuchi Pan and Bin Jiang},
  year   = {2026},
  eprint = {2605.10111},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.10111v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.10111.svg)](https://codeofpaper.com/paper/2605.10111)

Discussion