Motor imagery electroencephalogram classification algorithm based on joint features in the spatial and frequency domains and instance transfer

Ximiao Wang, Xisheng Dai, Yu Liu, Xiangmeng Chen, Qinghui Hu, Rongliang Hu, Mingxin LiFrontiers in Human Neuroscience 2023

Abstract

The proposed algorithm fully exploits EEG signals and enriches EEG features, improves the recognition of the MI signals, and provides a new approach to solving the problems of small sample sizes and inter-subject variability in Brain-Computer Interfaces (BCIs).

Introduction

Brain-Computer Interfaces (BCIs) based on motor imagery (MI)—the mental rehearsal of movement without physical execution—offer significant potential for neurorehabilitation. However, two primary bottlenecks hinder their reliability: the difficulty of collecting large-scale high-quality EEG data (small sample sizes) and the significant differences in brain signal patterns between individuals (inter-subject variability).

This paper introduces a novel framework that addresses these challenges by combining joint spatial-frequency features with an ensemble transfer learning approach. By integrating Kernel Mean Matching (KMM) and TrAdaBoost, the authors bridge the gap between subjects, achieving state-of-the-art performance on standard BCI benchmarks.

Methodology

The researchers developed a robust three-stage pipeline for signal processing and classification.

1. Preprocessing and Feature Extraction

Raw EEG signals are first band-pass filtered to the 8–30 Hz range to capture mu and beta rhythms, which are highly indicative of motor intent. The signals are then segmented into 3-second windows. To create a more holistic representation of neural activity, the model extracts joint features: Common Spatial Pattern (CSP) for spatial distribution and Power Spectral Density (PSD) for frequency-domain characteristics.

Distribution maps of EEG and EOG electrode positions.

2. The "K-T" Ensemble Transfer Learning Algorithm

The core innovation lies in the "K-T" algorithm, designed to leverage data from "source" subjects to improve classification for a "target" subject.

  • Kernel Mean Matching (KMM): Re-weights source data to align its distribution with the target user in a high-dimensional space.
  • TrAdaBoost: An adaptive boosting algorithm that iteratively trains weak classifiers, prioritizing helpful samples from other subjects to build a "strong" classifier.

Experimental Results

The algorithm was validated using two gold-standard benchmarks from the BCI Competition IV: Dataset 2a (22-channel EEG) and Dataset 2b (3-channel EEG).

Timing scheme of the experimental paradigm for Dataset 2a and Dataset 2b.

The proposed method significantly outperformed standard baselines and deep learning models:

  • Dataset 2a: Achieved an average accuracy of 91.5%, outperforming the TMCNN deep learning model (80.9%) and standard CSP+SVM (66.8%).
  • Dataset 2b: Achieved 83.7% accuracy, a substantial improvement over the 70.1% achieved by standard joint-feature SVMs.

Discussion and Conclusion

The study demonstrates that spatial and frequency features are highly complementary, with their combination improving performance by 5–14% over single-feature methods. Furthermore, the K-T algorithm proves that "smart data borrowing" via instance transfer can outperform data-hungry deep learning models when training samples are limited. While currently optimized for motor imagery, future work will explore the model's applicability to other BCI paradigms and real-time robotic control.

Summary updated

BibTeX
@inproceedings{wang2023motor,
  author = {Ximiao Wang and Xisheng Dai and Yu Liu and Xiangmeng Chen and Qinghui Hu and Rongliang Hu and Mingxin Li},
  title = {{Motor imagery electroencephalogram classification algorithm based on joint features in the spatial and frequency domains and instance transfer}},
  booktitle = {Frontiers in Human Neuroscience},
  year = {2023},
  doi = {10.3389/fnhum.2023.1175399},
}
Figure