Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Dec;19(1):91.
doi: 10.1007/s11571-025-10275-5. Epub 2025 Jun 14.

TCANet: a temporal convolutional attention network for motor imagery EEG decoding

Affiliations

TCANet: a temporal convolutional attention network for motor imagery EEG decoding

Wei Zhao et al. Cogn Neurodyn. 2025 Dec.

Abstract

Decoding motor imagery electroencephalogram (MI-EEG) signals is fundamental to the development of brain-computer interface (BCI) systems. However, robust decoding remains a challenge due to the inherent complexity and variability of MI-EEG signals. This study proposes the Temporal Convolutional Attention Network (TCANet), a novel end-to-end model that hierarchically captures spatiotemporal dependencies by progressively integrating local, fused, and global features. Specifically, TCANet employs a multi-scale convolutional module to extract local spatiotemporal representations across multiple temporal resolutions. A temporal convolutional module then fuses and compresses these multi-scale features while modeling both short- and long-term dependencies. Subsequently, a stacked multi-head self-attention mechanism refines the global representations, followed by a fully connected layer that performs MI-EEG classification. The proposed model was systematically evaluated on the BCI IV-2a and IV-2b datasets under both subject-dependent and subject-independent settings. In subject-dependent classification, TCANet achieved accuracies of 83.06% and 88.52% on BCI IV-2a and IV-2b respectively, with corresponding Kappa values of 0.7742 and 0.7703, outperforming multiple representative baselines. In the more challenging subject-independent setting, TCANet achieved competitive performance on IV-2a and demonstrated potential for improvement on IV-2b. The code is available at https://github.com/snailpt/TCANet.

Keywords: Brain-computer interface (BCI); Deep learning (DL); Motor imagery (MI); Self-attention; Temporal convolutional network (TCN).

PubMed Disclaimer

Conflict of interest statement

Conflict of interestThe authors declare no competing interests.

Similar articles

Cited by

References

    1. Altaheri H, Muhammad G, Alsulaiman M (2023) Physics-informed attention temporal convolutional network for EEG-based motor imagery classification. IEEE Trans Ind Inform 19(2):2249–2258
    1. Altuwaijri GA, Muhammad G (2022) A multibranch of convolutional neural network models for electroencephalogram-based motor imagery classification. Biosensors 12(1):22 - PMC - PubMed
    1. Amin SU, Alsulaiman M, Muhammad G, Mekhtiche MA, Shamim Hossain M (2019) Deep learning for EEG motor imagery classifcation based on multi-layer CNNs feature fusion. Fut Gener Comput Syst 101:542–554
    1. Ang KK, Chin ZY, Zhang H, and Guan C (2008) Filter bank common spatial pattern (FBCSP) in brain-computer interface. In: Proceedings IEEE International joint conference. Neural Networks (IEEE world congress on computational intelligence), Hong Kong, China, pp 2390–2397
    1. Bai S, Kolter JZ, and Koltun V (2018) An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv. 1803.01271

LinkOut - more resources