NeuroRVQ

NeuroRVQ: Multi-Scale Biosignal Tokenization for Generative Foundation Models

3 National and Kapodistrian University of Athens 4 Archimedes Research Unit 5 Aristotle University of Thessaloniki 6 Northeastern University London
NeurIPS 2026

Biosignals such as electroencephalography (EEG), electrocardiography (ECG) and electromyography (EMG) carry physiological activity across many temporal and spectral scales. Foundation models that predict masked signal tokens learn from them well, but only as well as their tokenizer preserves high-frequency dynamics.

We introduce NeuroRVQ, a modality-adaptive tokenizer family built for high-fidelity reconstruction. It splits each signal into frequency-specific representations with multi-scale temporal convolutions, encodes each scale into hierarchical RVQ codebooks and trains with a phase-aware loss that respects the circular topology of Fourier phase. Temporal resolution, kernel sizes and RVQ depth are tuned to each modality’s spectro-temporal character.

To show that tokenizer quality drives downstream performance, we pair each tokenizer with a simple masked-token foundation model, NeuroRVQ-FM. The family matches or beats existing modality-specific foundation models, which points to high-fidelity tokenization, rather than scale or architectural complexity, as a critical ingredient for biosignal modeling.

  • A modality-adaptive multi-scale tokenizer

    Temporal convolutions with varying kernel sizes decompose biosignals into frequency-specific representations, each encoded into hierarchical residual vector quantization (RVQ) codebooks.

  • A phase-aware training loss

    Log-amplitude, temporal regularization and a novel cosine-based phase loss together reconstruct the full Fourier spectrum, including its high-frequency content.

  • A simple masked-token foundation model per modality

    NeuroRVQ-FM uses the tokenizer during pre-training and reaches competitive or superior downstream results against larger more complex models.

The NeuroRVQ Tokenizer

NeuroRVQ turns raw multivariate biosignals into compact neural tokens. The input is cut into patches, encoded at several temporal resolutions, mixed by a transformer and discretized through per-scale RVQ codebooks. A decoder then reconstructs the patches through the Fourier spectrum.

Figure 1. The tokenizer architecture with the multi-scale temporal encoder and hierarchical RVQ codebooks.
  1. Multi-scale temporal encoding

    Convolutions with different kernel sizes capture features at several frequency resolutions.

  2. Transformer context

    Transformer layers model long-range dependencies across channels and patches.

  3. Hierarchical RVQ quantization

    Per-scale residual codebooks turn the multi-scale embeddings into sequences of neural tokens.

  4. Phase-aware reconstruction

    A decoder rebuilds each patch from its Fourier spectrum, supervised on both amplitude and phase.

The NeuroRVQ Foundation Model

NeuroRVQ-FM works on the token sequence, predicting masked tokens under symmetric masking. Working at the token level lets it capture long-range dependencies and pre-train efficiently across diverse datasets. The learned codebooks act as prediction targets and the resulting representations transfer to a range of downstream tasks.

Figure 2. NeuroRVQ-FM with masked-token prediction and symmetric masking.

Why Reconstruction Improves

Two things drive NeuroRVQ’s reconstruction gains: (a) an architecture whose depth and width are matched to each modality and (b) a training loss that treats phase as an angle rather than a number.

Scaling branches and codebooks

We sweep the number of temporal branches and RVQ codebooks per branch for each modality. Deeper residual quantization brings large drops in reconstruction error and extra temporal branches add complementary gains by splitting the signal into frequency bands that are each easier to quantize. The best balance between the two depends on the modality.

Figure 3. Reconstruction MSE and trainable parameters across numbers of temporal branches and codebooks per branch.

A phase-aware training loss

Architecture alone doesn’t explain the gains. The tokenizer is trained end-to-end with a composite objective in the Fourier domain.

The NeuroRVQ training objective: a sum of a log-amplitude term, a phase term and a temporal term.
  • Log-amplitude

    Compresses dynamic range so high-frequency content isn’t drowned out.
  • Phase

    Uses cosine similarity to align phase directions, respecting their circular topology.
  • Temporal

    Regularizes the reconstruction directly in the time domain.

Adding one component at a time

Starting from a single branch, a single codebook and plain MSE on phase and amplitude, we add each component in turn. The phase loss gives the largest single improvement and the full combination is best on every modality.

Validation MSE for each ablation configuration
ConfigurationEEGECGEMG
1 Branch, 1 Codebook · MSE Phase + MSE Amplitude
4 Branches, 8 Codebooks · MSE Phase + MSE Amplitude
4 Branches, 8 Codebooks · MSE phase + Log-Amplitude + Temporal
4 Branches, 8 Codebooks · Phase loss + MSE Amplitude
NeuroRVQ

Bar length shows validation reconstruction error (MSE, averaged over the last 10 training epochs) on the same scale for every modality (shorter is better).

Reconstruction Quality

A tokenizer is only as useful as what it lets you get back. Across all modalities, NeuroRVQ preserves waveform morphology, including the high-frequency detail that existing tokenizers lose. Blue is the input, dashed orange the reconstruction.

1 / 5

Brain activity, band by band

One EEG segment, split into the classic bands from delta (0.5–4 Hz) to gamma (30–45 Hz). The reconstruction stays on the input in every band, including the fast, low-amplitude gamma oscillations that tokenizers usually smooth over.

  • Delta to gamma

Against other tokenizers

We test NeuroRVQ against LaBraM and BrainOmni on out-of-distribution EEG, each under its own preprocessing and under NeuroRVQ’s, so neither side gets a home advantage.

1 / 2
TokenizerNeuroRVQ setupBrainOmni setup
BrainOmni
0.350
0.413
NeuroRVQ
0.219
0.324

Out-of-distribution reconstruction MSE (lower is better). NeuroRVQ setup: 0.5–45 Hz with NeuroRVQ’s normalization. BrainOmni setup: 0.1–96 Hz with BrainOmni’s normalization.

Versus BrainOmni

NeuroRVQ has lower error than BrainOmni in both setups, including BrainOmni’s own wider band and normalization.

Reconstructions from RVQ codebook-based tokenizers, BrainOmni and NeuroRVQ.

Downstream performance

Each NeuroRVQ-FM is a small, simple masked-token model. Paired with its tokenizer, it matches or outperforms modality-specific foundation models, many of them far larger.

1 / 3

On five brain–computer interface tasks under subject-independent cross-validation, NeuroRVQ-EEG is best on four and, averaged across tasks, leads the next-best model by more than 4 points in balanced accuracy, with only 5.9M parameters.

ModelMotorERPMemorySleepEyesParams
BIOT44.350.051.0—76.33.2M
MIRepNet68.9————5.2M
CBraMod61.477.757.463.583.94.9M
EEGPT31.366.852.063.479.725.7M
NeuroGPT68.275.759.767.482.779.5M
CSBrain67.176.557.067.281.94.9M
REVE69.482.659.362.979.969.2M
BrainOmni†58.572.351.857.685.237.8M
LaBraM†63.082.252.665.279.95.8M
NeuroRVQ-EEG†70.087.657.472.886.95.9M

Balanced accuracy (%). Best in bold, second best underlined. † Models that use codebook-based tokenizers. Benchmark from Assessing the Capabilities of Large Brainwave Foundation Models (IEEE MLSP 2025).

Other Evaluations

In EEG-Arena, a benchmark of EEG foundation models, NeuroRVQ ranks third on the Top-5 metric.

#3Top-5 metric
Released Models

All six tokenizers and foundation models are available on Hugging Face and in Braindecode, with training and inference code on GitHub.

ModelParametersStatus
NeuroRVQ-EEG-tokenizer76MReleased
NeuroRVQ-EMG-tokenizer144MReleased
NeuroRVQ-ECG-tokenizer76MReleased
NeuroRVQ-PPG-tokenizer-Released
NeuroRVQ-ECoG-tokenizer-Coming soon
NeuroRVQ-EEG-FM5.9MReleased
NeuroRVQ-EMG-FM5.9MReleased
Talks
  • 29Jun 2026
    ARNI · Frontier Models for Neuroscience and Behavior Working Group

    NeuroRVQ: Multi-Scale Biosignal Tokenization for Generative Foundation Models

    Presented by Konstantinos Barmpas at the NSF AI Institute for Artificial and Natural Intelligence (ARNI).

    View the event
Cite this work

Konstantinos Barmpas, Na Lee, Dimitrios Chalatsis, William Raftery, Yannis Panagakis, Dimitrios A. Adamos, Nikolaos Laskaris, Alexandros Koliousis, Dario Farina and Stefanos Zafeiriou. “NeuroRVQ: Multi-Scale Biosignal Tokenization for Generative Foundation Models.” NeurIPS, 2026.

@misc{neurorvq,
  title         = {NeuroRVQ: Multi-Scale Biosignal Tokenization for Generative Foundation Models},
  author        = {Konstantinos Barmpas and Na Lee and Dimitrios Chalatsis and William Raftery and Yannis Panagakis and Dimitrios A. Adamos and Nikolaos Laskaris and Alexandros Koliousis and Dario Farina and Stefanos Zafeiriou},
  year          = {2026},
  eprint        = {2510.13068},
  archivePrefix = {arXiv},
  primaryClass  = {cs.LG},
  url           = {https://arxiv.org/abs/2510.13068}
}