[Paper Review] Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCI
LaBraM is a large Transformer-based EEG foundation model pretrained on 2,500 hours of diverse EEG data to learn universal representations and handle varying electrode configurations for multiple downstream BCI tasks.
The current electroencephalogram (EEG) based deep learning models are typically designed for specific datasets and applications in brain-computer interaction (BCI), limiting the scale of the models and thus diminishing their perceptual capabilities and generalizability. Recently, Large Language Models (LLMs) have achieved unprecedented success in text processing, prompting us to explore the capabilities of Large EEG Models (LEMs). We hope that LEMs can break through the limitations of different task types of EEG datasets, and obtain universal perceptual capabilities of EEG signals through unsupervised pre-training. Then the models can be fine-tuned for different downstream tasks. However, compared to text data, the volume of EEG datasets is generally small and the format varies widely. For example, there can be mismatched numbers of electrodes, unequal length data samples, varied task designs, and low signal-to-noise ratio. To overcome these challenges, we propose a unified foundation model for EEG called Large Brain Model (LaBraM). LaBraM enables cross-dataset learning by segmenting the EEG signals into EEG channel patches. Vector-quantized neural spectrum prediction is used to train a semantically rich neural tokenizer that encodes continuous raw EEG channel patches into compact neural codes. We then pre-train neural Transformers by predicting the original neural codes for the masked EEG channel patches. The LaBraMs were pre-trained on about 2,500 hours of various types of EEG signals from around 20 datasets and validated on multiple different types of downstream tasks. Experiments on abnormal detection, event type classification, emotion recognition, and gait prediction show that our LaBraM outperforms all compared SOTA methods in their respective fields. Our code is available at https://github.com/935963004/LaBraM.
Motivation & Objective
- Motivate and address limitations of task-specific EEG models and small datasets in BCI.
- Propose a unified EEG foundation model that can handle diverse channel counts and sequence lengths.
- Develop a neural tokenizer to discretize EEG patches via a spectrum-based codebook.
- Pre-train using masked EEG modeling to learn generic EEG representations.
- Demonstrate superior performance across multiple downstream EEG tasks compared to SOTA methods.
Proposed method
- Segment raw EEG into channel patches and apply a temporal encoder to each patch.
- Add learnable temporal and spatial embeddings to patch embeddings and process with a Transformer encoder.
- Train a vector-quantized neural spectrum tokenizer by predicting Fourier spectrum amplitudes and phases of patches.
- Use masked EEG modeling with a learnable mask token to train the Transformer to predict masked tokens.
- Apply symmetric masking to improve training efficiency and data diversity.
- Evaluate three model sizes (5.8M, 46M, 369M parameters) on TUAB and TUEV downstream tasks.
Experimental results
Research questions
- RQ1Q1: How to utilize large-scale unlabeled EEG data to train a large EEG foundation model?
- RQ2Q2: How much pre-training data is needed for models of different sizes to achieve strong downstream performance?
- RQ3Q3: Can a unified model handle diverse EEG configurations (varying channels and lengths) and still perform well on multiple tasks?
- RQ4Q4: Does unsupervised pre-training on diverse EEG data improve generalizability across tasks like abnormal detection, event type classification, emotion recognition, and gait prediction?
Key findings
- LaBraM outperforms state-of-the-art methods on TUAB and TUEV across multiple metrics.
- LaBraM-Base achieves Balanced Accuracy 0.8140 and AUROC 0.9022 on TUAB; LaBraM-Large achieves Balanced Accuracy 0.8226 and AUROC 0.9127; LaBraM-Huge achieves Balanced Accuracy 0.8258 and AUROC 0.9162.
- On TUEV, LaBraM-Base obtains Balanced Accuracy 0.6409, Cohen’s Kappa 0.6637, and Weighted F1 0.8312; LaBraM-Large achieves 0.6581, 0.6622, 0.8315; LaBraM-Huge achieves 0.6616, 0.6745, 0.8329.
- Pre-training with downstream task data does not significantly affect downstream performance, indicating universal EEG representations.
- Performance improves with more pre-training data for larger models, suggesting scaling benefits.
- Scaling laws observed: Huge model likely benefits from an order-of-magnitude more data (tentatively beyond 2,500 hours).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.