LGFormer: integrating local and global representations for EEG decoding.

Wenjie Yang, Xingfu Wang, Wenxia Qi, Wei Wang
{"title":"LGFormer: integrating local and global representations for EEG decoding.","authors":"Wenjie Yang, Xingfu Wang, Wenxia Qi, Wei Wang","doi":"10.1088/1741-2552/adc5a3","DOIUrl":null,"url":null,"abstract":"<p><p><i>Objective.</i>Electroencephalography (EEG) decoding is challenging because of its temporal variability and low signal-to-noise ratio, which complicate the extraction of meaningful information from signals. Although convolutional neural networks (CNNs) effectively extract local features from EEG signals, they are constrained by restricted receptive fields. In contrast, transformers excel at capturing global dependencies through self-attention mechanisms but often require extensive training data and computational resources, which limits their efficiency on EEG datasets with limited samples.<i>Approach.</i>In this paper, we propose LGFormer, a hybrid network designed to efficiently learn both local and global representations for EEG decoding. LGFormer employs a deep attention module to extract global information from EEG signals, dynamically adjusting the focus of CNNs. Subsequently, LGFormer incorporates a local-enhanced transformer, combining the strengths of CNNs and transformers to achieve multiscale perception from local to global. Despite integrating multiple advanced techniques, LGFormer maintains a lightweight design and training efficiency.<i>Main results.</i>LGFormer achieves state-of-the-art performance within 200 training epochs across four public datasets, including motor imagery, cognitive workload, and error-related negativity decoding tasks. Additionally, we propose a novel spatial and temporal attention visualization method, revealing that LGFormer captures discriminative spatial and temporal features, enhancing model interpretability and providing insights into its decision-making process.<i>Significance.</i>In summary, LGFormer demonstrates superior performance while maintaining high training efficiency across different tasks, highlighting its potential as a versatile and practical model for EEG decoding.</p>","PeriodicalId":94096,"journal":{"name":"Journal of neural engineering","volume":" ","pages":""},"PeriodicalIF":3.8000,"publicationDate":"2025-04-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of neural engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1088/1741-2552/adc5a3","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Objective.Electroencephalography (EEG) decoding is challenging because of its temporal variability and low signal-to-noise ratio, which complicate the extraction of meaningful information from signals. Although convolutional neural networks (CNNs) effectively extract local features from EEG signals, they are constrained by restricted receptive fields. In contrast, transformers excel at capturing global dependencies through self-attention mechanisms but often require extensive training data and computational resources, which limits their efficiency on EEG datasets with limited samples.Approach.In this paper, we propose LGFormer, a hybrid network designed to efficiently learn both local and global representations for EEG decoding. LGFormer employs a deep attention module to extract global information from EEG signals, dynamically adjusting the focus of CNNs. Subsequently, LGFormer incorporates a local-enhanced transformer, combining the strengths of CNNs and transformers to achieve multiscale perception from local to global. Despite integrating multiple advanced techniques, LGFormer maintains a lightweight design and training efficiency.Main results.LGFormer achieves state-of-the-art performance within 200 training epochs across four public datasets, including motor imagery, cognitive workload, and error-related negativity decoding tasks. Additionally, we propose a novel spatial and temporal attention visualization method, revealing that LGFormer captures discriminative spatial and temporal features, enhancing model interpretability and providing insights into its decision-making process.Significance.In summary, LGFormer demonstrates superior performance while maintaining high training efficiency across different tasks, highlighting its potential as a versatile and practical model for EEG decoding.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
LGFormer:为脑电图解码整合局部和全局表征
目的:脑电图(EEG)的解码具有时间变异性和低信噪比,这使得从信号中提取有意义的信息变得复杂。卷积神经网络(cnn)虽然能有效地提取脑电信号的局部特征,但受限于有限的感受野。相比之下,变形器擅长通过自关注机制捕获全局依赖关系,但通常需要大量的训练数据和计算资源,这限制了它们在样本有限的脑电图数据集上的效率。方法:在本文中,我们提出了LGFormer,这是一种混合网络,旨在有效地学习EEG解码的局部和全局表示。LGFormer采用深度关注模块从脑电信号中提取全局信息,动态调整cnn的焦点。随后,LGFormer加入了一个local-enhanced transformer,结合cnn和transformer的优点,实现了从local到global的多尺度感知。尽管集成了多种先进技术,LGFormer保持了轻量级的设计和训练效率。主要结果:LGFormer在四个公共数据集的200个训练周期内实现了最先进的性能,包括运动图像、认知工作量和与错误相关的消极解码任务。此外,我们提出了一种新颖的时空注意力可视化方法,揭示了LGFormer捕获了判别性的时空特征,增强了模型的可解释性,并为其决策过程提供了见解。意义:综上所述,LGFormer在不同任务中表现出优异的性能,同时保持了较高的训练效率,突出了其作为一种通用实用的EEG解码模型的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Potential of EEG and EEG/MEG skull conductivity estimation to improve source analysis in presurgical evaluation of epilepsy. Methodological optimization for eliciting robust median nerve somatosensory evoked potentials for realtime single trial applications. A pretrained foundation model for headache disorders based on magnetoencephalography. Neuropacify: a method to transform and match a patient's intracranial EEG to their NeuroPace RNS system data. Neural correlation between swallowing motor imagery and execution: an EEG analysis.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1