Electroencephalogram (EEG)
Scalp EEG time-series overview, common datasets, and full end-to-end SciTS NEU06 sleep-staging results.
Overview
Electroencephalography (EEG) measures cortical oscillatory dynamics non-invasively through scalp electrodes. Sleep stages and neural states manifest in distinct spectral bands (δ, θ, α, sleep spindles) across 30-second epochs with pronounced cross-subject variability.
Sage-SciPerception applies a 0.3–40 Hz fourth-order Butterworth bandpass filter and resamples Fpz-Cz epochs to 200 Hz, extracts 34 patch states of width 512 using frozen REVE-Base with electrode/time positional encodings, and pairs sleep-staging supervision with δ/α band-power auxiliary tasks during projector training.
Common datasets
| Dataset | Scope and characteristics | Usage in Sage-SciPerception |
|---|---|---|
| PhysioNet Sleep-EDF Expanded (1.0.0) | 153 sleep-cassette overnight PSG recordings with expert hypnograms | Supplies training/validation windows with strict 8-subject test holdout |
| SciTS NEU06 | Frozen 5-stage sleep-staging benchmark (Wake, N1, N2, N3, REM) | scits-neu06 (1,024 30-second EEG epochs) |
| TUAB / TUEG / CHB-MIT | Clinical anomaly detection and seizure benchmarks | Compatible with position-aware REVE encoders |
Sage-SciPerception capabilities & results
| Dimension | Details |
|---|---|
| Supported task | 5-stage sleep staging (Wake, N1, N2, N3, REM) |
| Benchmark result | SciTS NEU06 Macro-F1 = 72.01% / Accuracy = 76.46% (v0.1.0; 71.82% Macro-F1 in public rerun) |
| End-to-end support | Complete public pipeline from raw EEG feature extraction to vLLM serving, EvalKit scoring, and TrainKit training |
- Checkpoint specification: SciTS NEU06 task reference
- Full walkthrough: NEU06 example · Book: End-to-end evaluation
- Inference & training slice:
examples/vllm_projector.py·samples/eeg/neu06/