NeuroRVQ: Multi-Scale Biosignal Tokenization for Generative Foundation Models
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.
Multi-scale temporal encoding
Convolutions with different kernel sizes capture features at several frequency resolutions.
Transformer context
Transformer layers model long-range dependencies across channels and patches.
Hierarchical RVQ quantization
Per-scale residual codebooks turn the multi-scale embeddings into sequences of neural tokens.
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.
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.
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.
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.
| Configuration | EEG | ECG | EMG |
|---|---|---|---|
| 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.
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.
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.
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.
| Model | Motor | ERP | Memory | Sleep | Eyes | Params |
|---|---|---|---|---|---|---|
| BIOT | 44.3 | 50.0 | 51.0 | — | 76.3 | 3.2M |
| MIRepNet | 68.9 | — | — | — | — | 5.2M |
| CBraMod | 61.4 | 77.7 | 57.4 | 63.5 | 83.9 | 4.9M |
| EEGPT | 31.3 | 66.8 | 52.0 | 63.4 | 79.7 | 25.7M |
| NeuroGPT | 68.2 | 75.7 | 59.7 | 67.4 | 82.7 | 79.5M |
| CSBrain | 67.1 | 76.5 | 57.0 | 67.2 | 81.9 | 4.9M |
| REVE | 69.4 | 82.6 | 59.3 | 62.9 | 79.9 | 69.2M |
| BrainOmni† | 58.5 | 72.3 | 51.8 | 57.6 | 85.2 | 37.8M |
| LaBraM† | 63.0 | 82.2 | 52.6 | 65.2 | 79.9 | 5.8M |
| NeuroRVQ-EEG† | 70.0 | 87.6 | 57.4 | 72.8 | 86.9 | 5.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).
On PTB-XL, NeuroRVQ-ECG roughly doubles ECGFounder’s balanced accuracy on the fine-grained 43-class task, where class imbalance is most severe.
| 5-class PTB-XL | 43-class PTB-XL | ||||
|---|---|---|---|---|---|
| Model | Accuracy | Bal. acc. | Accuracy | Bal. acc. | Params |
| HuBERT-ECG | 72.60 | 60.23 | 62.49 | 20.71 | 30.2M |
| ECGFounder | 76.55 | 65.39 | 65.51 | 28.96 | 30.7M |
| NeuroRVQ-ECG | 70.19 | 64.50 | 79.17 | 58.33 | 0.3M |
Accuracy and balanced accuracy (%). Best in bold, second best underlined.
NeuroRVQ-EMG outperforms PhysioWave and TinyMyo on all four classification tasks by a wide margin, showing that high-fidelity tokens carry over to decoding muscle activity.
| Discrete Gestures | EPN-612 | NinaPro DB5 | UCI-EMG | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | Bal. acc. ↑ | CLER ↓ | Acc. | F1 | Acc. | F1 | Acc. | F1 | Params |
| PhysioWave | 54.70 | 64.20 | 90.30 | 90.35 | 24.91 | 22.95 | 56.52 | 55.76 | 4.8M |
| TinyMyo | 39.70 | 64.20 | 84.68 | 84.68 | 25.26 | 23.29 | 85.99 | 85.66 | 3.6M |
| NeuroRVQ-EMG | 70.80 | 27.60 | 94.65 | 94.66 | 41.36 | 38.76 | 89.43 | 89.28 | 5.9M |
Percentages. Best in bold, second best underlined. CLER is lower-is-better.
Other Evaluations
In EEG-Arena, a benchmark of EEG foundation models, NeuroRVQ ranks third on the Top-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.
| Model | Parameters | Status |
|---|---|---|
| NeuroRVQ-EEG-tokenizer | 76M | Released |
| NeuroRVQ-EMG-tokenizer | 144M | Released |
| NeuroRVQ-ECG-tokenizer | 76M | Released |
| NeuroRVQ-PPG-tokenizer | - | Released |
| NeuroRVQ-ECoG-tokenizer | - | Coming soon |
| NeuroRVQ-EEG-FM | 5.9M | Released |
| NeuroRVQ-EMG-FM | 5.9M | Released |
Talks
-
29Jun 2026ARNI · 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}
}