[论文解读] Large Brain Model for Learning Generic Representations with Tremendous EEG Data in BCI
LaBraM 是一个基于 Transformer 的大型脑电基础模型,预训练于 2,500 小时的多样化脑电数据,以学习通用表征并处理不同的电极配置以实现多种下游脑机接口任务。
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.
研究动机与目标
- 激发并解决在脑机接口领域中任务特定脑电模型及小型数据集的局限性。
- 提出一个能够处理多样化通道数量和序列长度的统一脑电基础模型。
- 开发一个神经分词器,通过基于频谱的代码本将 EEG 片段离散化。
- 使用掩蔽脑电建模进行预训练,以学习通用的脑电表征。
- 在多项下游脑电任务中相比最先进方法展示出更优越的性能。
提出的方法
- 将原始脑电分割为通道片段,并对每个片段应用时序编码器。
- 向片段嵌入添加可学习的时序和空间嵌入,并用 Transformer 编码器处理。
- 通过预测片段的傅里叶谱幅值和相位来训练向量量化的神经谱令牌器。
- 使用带有可学习掩码令牌的掩蔽脑电建模来训练 Transformer 以预测被掩蔽的令牌。
- 应用对称掩蔽以提高训练效率和数据多样性。
- 在 TUAB 和 TUEV 下游任务上评估三种模型规模(5.8M、46M、369M 参数)。
实验结果
研究问题
- RQ1Q1:如何利用大规模未标记的脑电数据来训练一个大型脑电基础模型?
- RQ2Q2:不同规模的模型需要多少预训练数据才能获得强劲的下游性能?
- RQ3Q3:统一模型是否能够处理多样化的脑电配置(不同通道数和长度)并在多项任务上仍表现良好?
- RQ4Q4:在多样化脑电数据上的无监督预训练是否能提高在异常检测、事件类型分类、情感识别和步态预测等任务上的泛化能力?
主要发现
- LaBraM 在 TUAB 和 TUEV 上在多项指标上超越了最先进方法。
- LaBraM-Base 在 TUAB 上达到平衡准确度 0.8140 和 AUROC 0.9022;LaBraM-Large 达到平衡准确度 0.8226 和 AUROC 0.9127;LaBraM-Huge 达到平衡准确度 0.8258 和 AUROC 0.9162。
- 在 TUEV 上,LaBraM-Base 获得平衡准确度 0.6409、Cohen’s Kappa 0.6637 和加权 F1 0.8312;LaBraM-Large 分别为 0.6581、0.6622、0.8315;LaBraM-Huge 分别为 0.6616、0.6745、0.8329。
- 使用下游任务数据进行预训练对下游性能没有显著影响,表明通用 EEG 表征。
- 随着更多预训练数据的积累,较大模型的性能提升,表明存在规模效应。
- 观察到扩展规律:大型模型可能需要数量级更多的数据(初步推断超出 2,500 小时)。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。