English

EEG-Deformer: A Dense Convolutional Transformer for Brain-computer Interfaces

Signal Processing 2024-10-30 v2 Machine Learning Neurons and Cognition

Abstract

Effectively learning the temporal dynamics in electroencephalogram (EEG) signals is challenging yet essential for decoding brain activities using brain-computer interfaces (BCIs). Although Transformers are popular for their long-term sequential learning ability in the BCI field, most methods combining Transformers with convolutional neural networks (CNNs) fail to capture the coarse-to-fine temporal dynamics of EEG signals. To overcome this limitation, we introduce EEG-Deformer, which incorporates two main novel components into a CNN-Transformer: (1) a Hierarchical Coarse-to-Fine Transformer (HCT) block that integrates a Fine-grained Temporal Learning (FTL) branch into Transformers, effectively discerning coarse-to-fine temporal patterns; and (2) a Dense Information Purification (DIP) module, which utilizes multi-level, purified temporal information to enhance decoding accuracy. Comprehensive experiments on three representative cognitive tasks-cognitive attention, driving fatigue, and mental workload detection-consistently confirm the generalizability of our proposed EEG-Deformer, demonstrating that it either outperforms or performs comparably to existing state-of-the-art methods. Visualization results show that EEG-Deformer learns from neurophysiologically meaningful brain regions for the corresponding cognitive tasks. The source code can be found at https://github.com/yi-ding-cs/EEG-Deformer.

Keywords

Cite

@article{arxiv.2405.00719,
  title  = {EEG-Deformer: A Dense Convolutional Transformer for Brain-computer Interfaces},
  author = {Yi Ding and Yong Li and Hao Sun and Rui Liu and Chengxuan Tong and Chenyu Liu and Xinliang Zhou and Cuntai Guan},
  journal= {arXiv preprint arXiv:2405.00719},
  year   = {2024}
}

Comments

10 pages, 9 figures. This work has been submitted to the IEEE for possible publication

R2 v1 2026-06-28T16:13:05.611Z