ISAM-MTL: Cross-subject multi-task learning model with identifiable spikes and associative memory networks

Junyan Li, Bing Hu, Zhi‐Hong GuanarXiv 2025 · DOI

TL;DR

ISAM-MTL is a novel framework that solves the "calibration bottleneck" in Brain-Computer Interfaces (BCIs) by combining spiking neural networks with brain-inspired associative memory. By learning a shared "spiking language" across different people and using ultra-fast Hebbian learning for individual adaptation, the model achieves state-of-the-art cross-subject accuracy and can functionalize for a new user with as few as five training samples.

What Problem Does This Paper Address?

The primary hurdle for consumer-grade BCIs is cross-subject variability. Electroencephalogram (EEG) signals are notoriously noisy and vary significantly from person to person due to differences in head shape, electrode placement, and individual brain patterns.

Currently, most deep learning models for motor imagery (imagining moving a limb to control a computer) are "intra-subject," meaning they require extensive calibration data for every new user. This makes BCIs tedious to set up. To make these systems practical, we need models that can learn general features from a large group of people (cross-subject) and then adapt to a specific individual almost instantly (few-shot learning).

Methods

The authors propose ISAM-MTL (Identifiable Spiking Associative Memory Multi-Task Learning), which operates in two distinct stages:

  1. Stage 1: The Spiking Feature Extractor (Global Learning)
    • The model uses a 1D Convolutional Neural Network (CNN) paired with Leaky Integrate-and-Fire (LIF) neurons to transform raw EEG signals into discrete "spikes."
    • To ensure these spikes are meaningful, they use label-guided variational inference (pi-VAE). This forces the latent "spike" representations to be "identifiable"—meaning the model creates distinct, separable clusters for different actions (like "left hand" vs. "tongue") that are consistent across different people.
  2. Stage 2: The Associative Memory Classifier (Local Adaptation)
    • Instead of using standard backpropagation (which is computationally heavy and slow) for the final classification, the model uses Bidirectional Associative Memory (BAM).
  3. This layer is trained using Hebbian learning ("neurons that fire together, wire together"). This is a linear-time complexity algorithm, allowing the model to "memorize" a new subject's specific patterns extremely quickly without retraining the entire network.

Datasets

The model was evaluated on two gold-standard benchmarks:

  • BCI Competition IV IIa: A 4-class motor imagery dataset (left hand, right hand, feet, tongue) involving 9 subjects.
  • BCI Competition III IVa: A 2-class dataset (right hand, foot) involving 5 subjects.

Key Insights and Ideas

  • Spikes as a Universal Currency: By forcing the model to communicate via discrete spikes rather than continuous values, the authors mimic the brain's own robust signaling. This helps filter out subject-specific noise and focuses on the underlying neural "intent."
  • Labels as a Compass: Using action labels to guide the Variational Autoencoder (VAE) prevents the latent space from becoming a jumbled mess of subject-specific data. It ensures that a "foot movement" spike pattern looks similar regardless of who is performing it.
  • Efficiency via Hebbian Learning: The use of associative memory matrices (AMMs) is a major departure from standard deep learning. It allows the model to treat each new person as a "new task" in a multi-task learning setup, updating only a small, specific matrix to achieve high accuracy.

Key Results

  • State-of-the-Art Performance: On the BCI Competition IV IIa dataset, ISAM-MTL achieved an average cross-subject accuracy of 84.1%, surpassing previous SOTA models like TFTL (81.0%).
  • Consistency: The model showed the lowest standard deviation (0.061) among all compared models, suggesting it is much more reliable across different individuals than traditional deep learning approaches.
  • Few-Shot Prowess: On the BCI Competition III IVa dataset, the model reached over 90% accuracy with only 40 samples per class. Remarkably, it remained functional with as few as 5 samples, a critical requirement for "plug-and-play" BCI systems.
  • Interpretability: The authors visualized "characteristic spike firing diagrams," showing that the model learns specific, human-interpretable firing sequences for different motor tasks.

Limitations and Future Work

While the model is highly efficient, the authors note that the specific information encoded by individual LIF neurons and the exact timing of those spikes remain somewhat opaque.

Future research directions include:

  • Pruning for Edge Devices: Implementing sparse spiking associative memory to reduce the computational footprint even further, making it suitable for low-power, wearable BCI hardware.
  • Temporal Dynamics: Investigating the precise timing of spikes to see if "spike-timing-dependent plasticity" (STDP) can further improve the model's biological plausibility and accuracy.

Summary updated

Abstract

Cross-subject variability in EEG degrades performance of current deep learning models, limiting the development of brain-computer interface (BCI). This paper proposes ISAM-MTL, which is a multi-task learning (MTL) EEG classification model based on identifiable spiking (IS) representations and associative memory (AM) networks. The proposed model treats EEG classification of each subject as an independent task and leverages cross-subject data training to facilitate feature sharing across subjects. ISAM-MTL consists of a spiking feature extractor that captures shared features across subjects and a subject-specific bidirectional associative memory network that is trained by Hebbian learning for efficient and fast within-subject EEG classification. ISAM-MTL integrates learned spiking neural representations with bidirectional associative memory for cross-subject EEG classification. The model employs label-guided variational inference to construct identifiable spike representations, enhancing classification accuracy. Experimental results on two BCI Competition datasets demonstrate that ISAM-MTL improves the average accuracy of cross-subject EEG classification while reducing performance variability among subjects. The model further exhibits the characteristics of few-shot learning and identifiable neural activity beneath EEG, enabling rapid and interpretable calibration for BCI systems.
BibTeX
@misc{li2025isam,
  author = {Junyan Li and Bing Hu and Zhi‐Hong Guan},
  title = {{ISAM-MTL: Cross-subject multi-task learning model with identifiable spikes and associative memory networks}},
  year = {2025},
  eprint = {2501.18089},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.18089},
  howpublished = {arXiv},
}
Figure