arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.20254eess.SPcs.LG
收藏

EEGMamba:用于脑电多任务分类的带混合专家的双向状态空间模型

EEGMamba: Bidirectional State Space Model with Mixture of Experts for EEG Multi-task Classification

Yiyu Gui, MingZhi Chen, Yuqi Su, Guibo Luo, Yuchao Yang

AI总结:

针对EEG分类模型计算复杂度高、单任务泛化差的问题,提出集成时空自适应模块、双向Mamba和任务感知MoE的EEGMamba,在8个数据集的四类任务上取得优越性能。

摘要:

近年来,随着深度学习的发展,脑电图(EEG)分类网络取得了一定进展。基于Transformer的模型在捕捉EEG信号中的长期依赖关系方面表现良好,但其二次计算复杂度带来了巨大的计算挑战。此外,大多数EEG分类模型仅适用于单任务,难以在不同任务间泛化,尤其是在面临信号长度和通道数变化时。本文提出了EEGMamba,这是首个真正实现EEG应用多任务学习的通用EEG分类网络。EEGMamba将时空自适应(ST-Adaptive)模块、双向Mamba和混合专家(MoE)无缝集成到统一框架中。所提出的ST-Adaptive模块通过空间自适应卷积对不同长度和通道数的EEG信号进行统一特征提取,并引入类别标记(class token)实现时间自适应。此外,我们设计了一种特别适用于EEG信号的双向Mamba用于进一步特征提取,在处理长EEG信号时平衡了高精度、快速推理速度和高效内存使用。为了增强对多任务EEG数据的处理能力,我们引入了带有通用专家的任务感知MoE,有效捕捉不同任务EEG数据之间的差异和共性。我们在8个公开可用的EEG数据集上评估了我们的模型,实验结果证明了其在四类任务中的优越性能:癫痫发作检测、情绪识别、睡眠阶段分类和运动想象。代码即将发布。

英文摘要:

In recent years, with the development of deep learning, electroencephalogram (EEG) classification networks have achieved certain progress. Transformer-based models can perform well in capturing long-term dependencies in EEG signals. However, their quadratic computational complexity poses a substantial computational challenge. Moreover, most EEG classification models are only suitable for single tasks and struggle with generalization across different tasks, particularly when faced with variations in signal length and channel count. In this paper, we introduce EEGMamba, the first universal EEG classification network to truly implement multi-task learning for EEG applications. EEGMamba seamlessly integrates the Spatio-Temporal-Adaptive (ST-Adaptive) module, bidirectional Mamba, and Mixture of Experts (MoE) into a unified framework. The proposed ST-Adaptive module performs unified feature extraction on EEG signals of different lengths and channel counts through spatial-adaptive convolution and incorporates a class token to achieve temporal-adaptability. Moreover, we design a bidirectional Mamba particularly suitable for EEG signals for further feature extraction, balancing high accuracy, fast inference speed, and efficient memory-usage in processing long EEG signals. To enhance the processing of EEG data across multiple tasks, we introduce task-aware MoE with a universal expert, effectively capturing both differences and commonalities among EEG data from different tasks. We evaluate our model on eight publicly available EEG datasets, and the experimental results demonstrate its superior performance in four types of tasks: seizure detection, emotion recognition, sleep stage classification, and motor imagery. The code is set to be released soon.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑