SpikeEEGNet: Spike-Driven Masked Autoencoder for Efficient EEG Modeling

Yongchang Gao, Shihao Zou, Linxia Xiao, Daiyan Li, Qingqing Zheng, Weixin SiarXiv 2026

TL;DR

Your brain runs on about 20 watts—roughly the power of a dim lightbulb—by communicating in sparse, discrete electrical spikes, yet we usually decode brainwaves (EEG) using power-hungry, continuous-math Artificial Neural Networks (ANNs). SpikeEEGNet bridges this biological mismatch by pairing a brain-inspired Spiking Neural Network (SNN) with self-supervised "fill-in-the-blank" pretraining. The result is an EEG decoder that matches or beats state-of-the-art Transformers on tasks like motor imagery and seizure prediction, all while slashing inference latency by over 90%.

What Problem Does This Paper Address?

Electroencephalography (EEG) captures the rhythmic, millisecond-by-millisecond electrical chatter of neuronal populations through scalp electrodes. Standard deep learning models—like CNNs and Transformers—have gotten remarkably good at decoding these signals for brain-computer interfaces (BCIs) and clinical monitoring. However, ANNs rely on dense, continuous-valued matrix multiplications. For wearable BCIs or 24/7 bedside seizure monitors, this computational bloat translates into unacceptable latency and battery drain.

Spiking Neural Networks (SNNs) offer a natural alternative. Instead of passing continuous numbers between every neuron at every step, SNN neurons accumulate voltage over time and fire a discrete 1 (a spike) only when crossing a threshold. Because roughly 80% of neurons stay silent (0) at any moment, hardware can skip most operations and replace expensive multiply-accumulate math with simple additions.

The catch? Spikes are sparse and discrete, which creates an information bottleneck—SNNs have historically struggled to learn rich representations from noisy, high-dimensional EEG data, lagging behind ANNs in accuracy. Furthermore, high-quality medical EEG labels are scarce, and existing self-supervised pretraining methods were designed almost exclusively for continuous ANNs.

Methods

SpikeEEGNet solves the expressiveness bottleneck using two main innovations: a specialized spiking convolutional encoder and a Spike-Driven Masked Autoencoder (SMAE) pretraining scheme.

Overview of SpikeEEGNet architecture and masked pretraining pipeline
  1. Hierarchical Spiking Encoder with Integer Spikes: Raw EEG signals are normalized, aligned, and repeated across $T$ simulation steps. They pass through three stages of spike-driven convolutional blocks (ConvBlocks) that progressively halve spatial (electrode) and temporal resolutions. Crucially, instead of standard binary (0/1) spiking neurons, the authors use Normalized Integer Leaky Integrate-and-Fire (NILIF) neurons. During training, NILIF outputs bounded small integers (e.g., 0 to 2), packing more information into each step; during inference, these cleanly unfold into binary sub-steps so you still only need addition operations. Notably, the authors skip Transformer attention blocks entirely, relying on pure convolutions.
  2. Tube-Masked Pretraining (SMAE): To learn from unlabeled EEG, the authors randomly black out chunks of time across all electrodes simultaneously—a technique called random tube masking. Why mask all channels at once? Because nearby scalp electrodes pick up overlapping signals; if you only masked single channels, the network would "cheat" by copying neighboring electrodes at the same timestamp rather than learning temporal brain dynamics.
  3. Throwaway Lightweight Decoder: A tiny, three-step continuous ANN decoder (global spatial pooling, nearest-neighbor upsampling, and a $1\times 1$ linear projection) reconstructs the missing EEG segments. Keeping the decoder deliberately weak forces the spiking encoder to do the heavy lifting. Once pretrained, the decoder is discarded, and the encoder is fine-tuned for classification.

Datasets

The authors evaluate SpikeEEGNet across five datasets spanning two distinct paradigms:

  • Motor Imagery (Public): OpenBMI (54 subjects, 2 classes), BCI IV 2a (9 subjects, 4 classes), and BCI IV 2b (9 subjects, 2 classes), tested on both subject-dependent and leave-one-subject-out protocols.
  • Early Seizure Prediction: CHB-MIT (public dataset of 23 pediatric patients) and a newly evaluated Private Clinical Cohort comprising 20 patients with drug-resistant focal epilepsy (60 seizure events across 56.29 hours of continuous EEG with surgically validated seizure localization). The task here is tough: spotting subtle "preictal" warning signs 1 to 31 minutes before a seizure actually starts.

Key Insights and Ideas

  • Less is more (Convolutions > Attention for Spiking EEG): Empirically, the authors found that purely convolutional spiking blocks converge faster, preserve fine-grained local EEG dynamics better, and cost far less compute than trendy spike-driven Transformers.
  • Multi-bit spikes hit a sweet spot: Moving from binary spikes ($Z_{\max}=1$) to 2-level integer spikes ($Z_{\max}=2$) gives a noticeable accuracy bump (+1.07%) for minimal extra energy, bridging the gap between continuous signals and discrete spikes.
  • Balanced clinical sensitivity: On imbalanced clinical seizure data, standard ANNs tend to play it safe by over-predicting the majority "normal" class (high specificity, poor sensitivity). Pretrained spiking dynamics appear much better at catching genuine pre-seizure transitions without tanking specificity.

Key Results

SpikeEEGNet consistently matches or outperforms six ANN baselines (including EEGNet, EEG-Conformer, and MSCFormer) and two SNN baselines while operating at a fraction of the computational cost:

  • Motor Imagery SOTA: Achieves 76.8% accuracy on OpenBMI and 88.9% on BCI IV 2a (subject-dependent), beating the strongest Transformer baseline (MSCFormer) by 7.1 percentage points on BCI IV 2a. Removing SMAE pretraining drops accuracy by 4.52 percentage points, proving the self-supervised stage is doing real work.
  • Ultra-Low Latency & Energy: Theoretical hardware estimation (on 45nm CMOS and Xilinx ZCU104 FPGA) puts SpikeEEGNet at 0.10 mJ energy and 19.9 $\mu$s inference latency—roughly 8$\times$ to 12$\times$ faster than EEG-Conformer (159.1 $\mu$s) and MSCFormer (238.7 $\mu$s).
  • Seizure Prediction: On CHB-MIT, it hits 0.945 AUROC and 92.6% sensitivity at 19.9 $\mu$s latency. On the private clinical cohort, it achieves the highest AUROC (0.734) and boosts sensitivity to 67.8% (compared to ~53–56% for MSCFormer and EEGNet).
Seizure prediction trade-offs on CHB-MIT and clinical metrics on the private cohort

Limitations and Future Work

The energy and latency numbers—impressive as they are—are theoretical estimates calculated from operation counts and published FPGA throughput benchmarks, rather than wall-clock measurements from a physical wearable device. As the authors candidly note, dedicated neuromorphic hardware still lags behind algorithmic research in maturity. Validating and deploying SpikeEEGNet on actual asynchronous neuromorphic edge chips is their primary next step.

Summary updated

BibTeX
@misc{gao2026spikeeegnet,
  author = {Yongchang Gao and Shihao Zou and Linxia Xiao and Daiyan Li and Qingqing Zheng and Weixin Si},
  title = {{SpikeEEGNet: Spike-Driven Masked Autoencoder for Efficient EEG Modeling}},
  year = {2026},
  eprint = {2611.39745},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39745},
}
Figure