NeuroRVQ: Multi-Scale EEG Tokenization for Generative Large Brainwave Models
Konstantinos Barmpas, Na Lee, Alexandros Koliousis, Yannis Panagakis, Dimitrios A. Adamos, Nikolaos Laskaris, Stefanos Zafeiriou
TL;DR
NeuroRVQ tackles the critical tokenizer bottleneck in EEG-based large brainwave models by introducing a codebook-based tokenizer that performs multi-scale temporal encoding and per-scale residual vector quantization, coupled with a phase- and amplitude-aware training loss. This design yields faithful reconstruction across all frequency bands and enables scalable pretraining of a foundation-style backbone on tokenized EEG. Empirical results demonstrate state-of-the-art reconstruction quality, robust out-of-distribution generalization, and superior downstream classification accuracy with a compact backbone compared to larger precedents. The work suggests the codebook-based tokenizer can generalize to other biosignals, advancing practical biosignal decoding and multimodal integration.
Abstract
Electroencephalography (EEG) captures neural activity across multiple temporal and spectral scales, yielding signals that are rich but complex for representation learning. Recently, EEG foundation models trained to predict masked signal-tokens have shown promise for learning generalizable representations. However, their performance is hindered by their signal tokenization modules. Existing neural tokenizers fail to preserve high-frequency dynamics, limiting their ability to reconstruct EEG signals with high fidelity. We introduce NeuroRVQ, a scalable Large Brainwave Model (LBM) centered on a codebook-based tokenizer. Our tokenizer integrates: (i) multi-scale feature extraction modules that capture the full frequency neural spectrum; (ii) hierarchical residual vector quantization (RVQ) codebooks for high-resolution encoding; and, (iii) an EEG signal phase- and amplitude-aware loss function for efficient training. This design enables efficient EEG compression while supporting accurate reconstruction across all frequency bands, leading to robust generative masked modeling. Our empirical results demonstrate that NeuroRVQ achieves lower reconstruction error and outperforms existing LBMs on a variety of downstream tasks. More broadly, NeuroRVQ tokenizer establishes a strong prior for codebook-based general-purpose brainwave models, enabling advances in neural decoding, generative modeling and multimodal biosignal integration.
