Heterogeneous transfer learning model for improving the classification performance of fNIRS signals in motor imagery among cross-subject stroke patients

Feng Jin, Yi Li, Zijun Huang, Yehang Chen, SenLiang Lu, R. Lily Hu, Qinghui Hu, Yu‐Ting Chen, Xinbing Wang, Yong Fan, Jing HeFrontiers in Human Neuroscience 2025

Abstract

The model demonstrates robust cross-subject generalization by transferring task-specific knowledge from heterogeneous EEG data while addressing domain discrepancies. Its performance gains post-rehabilitation suggest clinical potential for monitoring recovery progress. CHTLM advances MI-fNIRS-based brain-computer interfaces in stroke rehabilitation by mitigating data scarcity and variability challenges.

Introduction

Motor Imagery (MI) is a cornerstone of modern stroke rehabilitation. By imagining movement, patients activate neural pathways, promoting neuroplasticity. Brain-Computer Interfaces (BCIs) can detect these signals to control assistive devices, such as robotic hands. However, two major challenges hinder the widespread clinical adoption of MI-based BCIs: data scarcity and inter-subject variability. Collecting high-quality brain signal data from stroke patients is resource-intensive and physically demanding for participants. Furthermore, post-stroke brain reorganization leads to significant signal variability between individuals, often causing models trained on one patient to perform poorly on another.

Functional near-infrared spectroscopy (fNIRS) offers a portable and non-invasive alternative for monitoring brain activity via blood oxygenation. However, fNIRS lacks the large-scale datasets available for electroencephalography (EEG). To address this, researchers developed the Cross-Subject Heterogeneous Transfer Learning Model (CHTLM), which leverages knowledge from healthy subjects' EEG data to improve the classification of stroke patients' fNIRS signals.

Experimental Paradigm and Data Collection

The study involved eight stroke patients performing motor imagery tasks with their hemiplegic hands. Data was recorded both before and after a two-week intensive rehabilitation program. The experimental paradigm followed a structured timing scheme to ensure consistent signal acquisition.

Timing scheme of the experimental paradigm.

The CHTLM Framework

The CHTLM framework addresses the limitations of small fNIRS datasets through a three-stage process:

  1. Signal-to-Image Transformation: Raw 1D fNIRS signals are converted into 2D images using wavelet transforms. This transformation highlights frequency components and temporal changes, making the data more suitable for deep learning architectures.
  2. Heterogeneous Transfer Learning: A ResNet34 model is pre-trained on the large-scale BCI Competition IV Dataset 2a (EEG data from healthy subjects). An Adaptive Feature Matching Network (FMN) then aligns and transfers relevant features from this source domain to a target ResNet18 model optimized for fNIRS data. This allows the model to utilize "pre-existing knowledge" of motor imagery patterns.
  3. Sparse Bayesian Extreme Learning Machine (SBELM): To prevent overfitting on small medical datasets, the framework employs a Bayesian ELM with an L1-norm constraint. This ensures the classifier remains sparse and ignores redundant information.
The algorithmic framework diagram of CHTLM.

Results and Discussion

The CHTLM model significantly outperformed five common baseline methods. In pre-rehabilitation tests, the model achieved an accuracy of 83.1%, representing an 8.6–10.5% improvement over standard approaches. Post-rehabilitation accuracy rose to 91.3%, with a mean Area Under Curve (AUC) of 0.930.

A key finding was the improved performance on post-rehabilitation data, suggesting that as patients recover, their neural signals become more distinct and organized. This indicates that CHTLM could serve as a tool for monitoring rehabilitation progress. Furthermore, the successful transfer of knowledge from EEG to fNIRS demonstrates that the underlying "neural intent" of motor imagery shares a common structure across different modalities.

Conclusion and Future Work

CHTLM provides a robust solution for cross-subject brain signal classification in stroke rehabilitation. By mitigating the impact of data scarcity and inter-subject variability, it paves the way for more effective, personalized robotic rehabilitation. Future research will focus on scaling the study through multi-center collaborations and developing real-time BCI prototypes to reduce latency for clinical use.

Summary updated

BibTeX
@inproceedings{jin2025heterogeneous,
  author = {Feng Jin and Yi Li and Zijun Huang and Yehang Chen and SenLiang Lu and R. Lily Hu and Qinghui Hu and Yu‐Ting Chen and Xinbing Wang and Yong Fan and Jing He},
  title = {{Heterogeneous transfer learning model for improving the classification performance of fNIRS signals in motor imagery among cross-subject stroke patients}},
  booktitle = {Frontiers in Human Neuroscience},
  year = {2025},
  doi = {10.3389/fnhum.2025.1555690},
}
Figure