Abstract
NeuroLM is a novel multi-task foundation model for Electroencephalogram (EEG) signals that treats brainwaves as a "foreign language." By aligning EEG tokens with text embeddings and utilizing instruction tuning, NeuroLM unifies diverse tasks—such as emotion recognition and sleep staging—into a single 1.7-billion-parameter model. This approach addresses the limitations of existing single-task EEG models, offering a versatile framework for non-invasive brain-computer interfaces.
Introduction
Electroencephalogram (EEG) signals are critical for non-invasive brain-computer interfaces (BCIs), yet they present significant challenges due to low signal-to-noise ratios, high inter-individual variability, and diverse hardware configurations. Current EEG foundation models typically function as single-task specialists, requiring extensive fine-tuning for each new application. NeuroLM aims to provide a "GPT moment" for brain signals by creating a single model capable of handling multiple diverse tasks through natural language instructions.
Methodology
NeuroLM bridges the gap between neural signals and natural language through a three-stage pipeline:
- Text-Aligned Neural Tokenizer: Continuous EEG signals are converted into discrete "neural tokens" using a Vector-Quantized (VQ) encoder. This tokenizer employs temporal-frequency prediction, reconstructing both the raw wave and its Fourier-transformed magnitude. Adversarial training with a domain classifier forces these EEG tokens into the same mathematical space as text embeddings.
- Multi-Channel Autoregressive Pre-training: EEG tokens are processed by a Large Language Model (LLM) backbone. A specialized "stair-stepping mask" allows each token to attend to tokens from all other channels at current and previous time steps, capturing complex spatial-temporal relationships.
- Multi-Task Instruction Tuning: The model is trained on multiple EEG tasks simultaneously using natural language prompts, enabling task switching without weight modification.
Experimental Setup
The model was pre-trained on approximately 25,000 hours of EEG data from the Temple University Hospital (TUEG) corpus and other public datasets. Evaluation was conducted across six diverse benchmarks:
- TUAB: Abnormal EEG detection.
- TUEV: Epilepsy-related event classification.
- SEED: Emotion recognition.
- HMC: Sleep stage classification.
- Workload: Cognitive load prediction.
- TUSL: Slowing event classification.
Key Results
NeuroLM demonstrates that a single multi-task model can compete with specialized, task-specific models. Key findings include:
- Versatility: The model achieved strong results across all six tasks using a single set of weights, as shown in the radar comparison below.
- Scaling: The 1.7B parameter "XL" version generally outperformed smaller variants, particularly on complex tasks like TUAB (Balanced Accuracy of 0.7969).
- Data Efficiency: The model remains robust even with reduced instruction-tuning data, highlighting the benefit of its massive pre-training phase.
Discussion and Limitations
While NeuroLM represents a significant advancement in multi-tasking for EEG, it still slightly lags behind the absolute state-of-the-art single-task model (LaBraM) on certain benchmarks. This is likely due to the inherent trade-off between universal versatility and task-specific optimization. Future work will focus on upgrading the backbone to more modern LLMs and exploring finer-grained EEG-text alignment to further bridge the gap.
Conclusion
NeuroLM establishes a scalable, multi-task foundation for neural decoding by treating EEG as a language. Its ability to follow instructions across diverse tasks marks a significant step toward universal brain-signal understanding.
Summary updated