NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptive Spike-Like Representation of EEG Signals for Sleep Stages Scoring

Lingwei Zhu, Koki Odani, Ziwei Yang, Guang Shi, Yirong Kan, Zheng Chen, Renyuan Zhang · DOI

Introduction

Sleep stage scoring is a fundamental task in sleep medicine, providing the diagnostic basis for various sleep disorders. Traditionally, this process involves the manual classification of 30-second epochs of electroencephalogram (EEG) signals into categories such as Wake, REM, and non-REM (N1, N2, N3) stages. While deep learning has significantly advanced automated scoring, many existing models rely on "static" representations that prioritize broad frequency patterns. These models often overlook the transient, dynamic fluctuations—such as K-complexes and sleep spindles—that are critical for precise staging.

This paper introduces a novel framework that treats EEG signals as adaptive "spike trains." By mimicking the pulse-based communication of neurons, the proposed method captures the fleeting neurodynamic activity of the brain, achieving state-of-the-art results on large-scale datasets.

Methodology: The Adaptive Spike-Like Pipeline

The core innovation of this research lies in its three-step pipeline designed to transform raw, continuous EEG data into a discrete, information-rich representation.

1. Encoding through Peak Detection

The process begins by filtering the raw EEG signal into five standard frequency bands: delta, theta, alpha, sigma, and beta. Within each band, the system identifies every local peak and trough. This converts the continuous wave into a binary "spike train," where a value of 1 represents a peak/trough and 0 represents all other points.

2. Probabilistic Weighting (The Adaptive Component)

Unlike traditional methods that treat all detected peaks equally, this model applies an adaptive weighting mechanism. Using a half-Gaussian distribution, the system assigns a probability score to each spike based on its intensity. High-amplitude peaks, which typically signify significant neural events, receive higher weights, while low-amplitude "noise" is effectively suppressed. This adaptive filtering ensures that the model focuses on the most physiologically relevant signals.

3. Accumulation and Analog Trains

The weighted spikes are then grouped using a sliding window to create "analog trains." These trains represent the density and intensity of brain activity over time, providing a structured input that preserves the temporal dynamics of the original EEG signal.

Classification via Transformer

To interpret these spike-like representations, the researchers employed a Transformer model. The Transformer’s self-attention mechanism is uniquely suited for this task, as it can learn the "relevancy" between different time patches within a 30-second epoch. This allows the model to pinpoint specific transient events—regardless of where they occur in the epoch—and use them as the primary evidence for stage classification.

Experimental Results

The model was evaluated using the Sleep Heart Health Study (SHHS) dataset, comprising 5,793 subjects. This represents one of the largest public datasets available for sleep research.

Performance Metrics

The proposed system achieved an overall accuracy of 0.85, matching or exceeding several state-of-the-art methods that often require additional data channels like EOG (electrooculogram) or EMG (electromyogram).

  • Wake (F1: 0.92): The model set a new benchmark for identifying the wakefulness stage.
  • N3/Deep Sleep (F1: 0.86): The system effectively captured the high-intensity delta waves characteristic of deep sleep.
  • N2 (F1: 0.83): Strong performance in identifying the most common sleep stage.
  • REM (F1: 0.78): Reliable detection of rapid eye movement sleep.
  • N1 (F1: 0.33): Consistent with other models in the field, N1 remains difficult to classify due to its transitional nature and lack of distinct morphological features.

Discussion and Key Insights

The success of the adaptive spike-like representation highlights a shift away from purely frequency-based analysis. An ablation study conducted by the authors revealed that replacing the adaptive half-Gaussian filter with a fixed threshold led to a significant drop in performance. This confirms that the intensity-weighted timing of neural pulses carries vital information that "static" averages miss.

Furthermore, the model demonstrated high robustness during stable sleep states. However, the researchers noted that most classification errors occurred during rapid transitions between stages (e.g., moving from N2 to REM). This suggests that while the model is excellent at identifying events within an epoch, it could benefit from broader temporal context.

Conclusion and Future Directions

The adaptive spike-like representation offers a powerful, biologically-inspired method for automated sleep staging. By focusing on the dynamic pulses of the brain, the model achieves high accuracy while remaining interpretable.

Future work will focus on incorporating "between-epoch" information to help the model understand the logical progression of sleep stages and using the sequential grammar of sleep to improve accuracy during high-frequency transition periods.

Summary updated

BibTeX
@inproceedings{zhu2022adaptive,
  author = {Lingwei Zhu and Koki Odani and Ziwei Yang and Guang Shi and Yirong Kan and Zheng Chen and Renyuan Zhang},
  title = {{Adaptive Spike-Like Representation of EEG Signals for Sleep Stages Scoring}},
  booktitle = {EMBC},
  year = {2022},
  url = {https://openreview.net/forum?id=ZKRnvJkWfg},
}
Figure