NeuroLM: A Universal Multi-task Foundation Model for Bridging the Gap between Language and EEG Signals
About
Recent advancements for large-scale pre-training with neural signals such as electroencephalogram (EEG) have shown promising results, significantly boosting the development of brain-computer interfaces (BCIs) and healthcare. However, these pre-trained models often require full fine-tuning on each downstream task to achieve substantial improvements, limiting their versatility and usability, and leading to considerable resource wastage. To tackle these challenges, we propose NeuroLM, the first multi-task foundation model that leverages the capabilities of Large Language Models (LLMs) by regarding EEG signals as a foreign language, endowing the model with multi-task learning and inference capabilities. Our approach begins with learning a text-aligned neural tokenizer through vector-quantized temporal-frequency prediction, which encodes EEG signals into discrete neural tokens. These EEG tokens, generated by the frozen vector-quantized (VQ) encoder, are then fed into an LLM that learns causal EEG information via multi-channel autoregression. Consequently, NeuroLM can understand both EEG and language modalities. Finally, multi-task instruction tuning adapts NeuroLM to various downstream tasks. We are the first to demonstrate that, by specific incorporation with LLMs, NeuroLM unifies diverse EEG tasks within a single model through instruction tuning. The largest variant NeuroLM-XL has record-breaking 1.7B parameters for EEG signal processing, and is pre-trained on a large-scale corpus comprising approximately 25,000-hour EEG data. When evaluated on six diverse downstream datasets, NeuroLM showcases the huge potential of this multi-task learning paradigm.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Binary classification of normal versus abnormal EEG signals | TUAB | Balanced Accuracy82.5 | 113 | |
| Event Type Classification | TUEV | Balanced Accuracy46.8 | 50 | |
| EEG Classification | Workload | Balanced Accuracy63.5 | 31 | |
| sleep stages classification | HMC | Balanced Accuracy0.576 | 30 | |
| Abnormality Detection | TUAB | Balanced Accuracy79.7 | 27 | |
| EEG Classification | TUEV (test) | Balanced Accuracy45.6 | 24 | |
| Brain Decoding | HMC | Balanced Accuracy67.37 | 23 | |
| Brain Decoding | TUAB | Balanced Accuracy79.69 | 23 | |
| Brain Decoding | TUEV | Balanced Accuracy46.79 | 23 | |
| Brain Decoding | SEED IV | Balanced Accuracy32.3 | 21 |