TCANet: a temporal convolutional attention network for motor imagery EEG decoding
- PMID: 40524963
- PMCID: PMC12167204
- DOI: 10.1007/s11571-025-10275-5
TCANet: a temporal convolutional attention network for motor imagery EEG decoding
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).
© The Author(s), under exclusive licence to Springer Nature B.V. 2025. Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
Conflict of interest statement
Conflict of interestThe authors declare no competing interests.
Similar articles
-
A transformer-based network with second-order pooling for motor imagery EEG classification.J Neural Eng. 2025 Jul 10;22(4). doi: 10.1088/1741-2552/adeae8. J Neural Eng. 2025. PMID: 40602422
-
DMSACNN: Deep Multiscale Attentional Convolutional Neural Network for EEG-Based Motor Decoding.IEEE J Biomed Health Inform. 2025 Jul;29(7):4884-4896. doi: 10.1109/JBHI.2025.3546288. IEEE J Biomed Health Inform. 2025. PMID: 40031548
-
Mifnet: a MamBa-based interactive frequency convolutional neural network for motor imagery decoding.Cogn Neurodyn. 2025 Dec;19(1):106. doi: 10.1007/s11571-025-10287-1. Epub 2025 Jun 30. Cogn Neurodyn. 2025. PMID: 40605914
-
The Black Book of Psychotropic Dosing and Monitoring.Psychopharmacol Bull. 2024 Jul 8;54(3):8-59. Psychopharmacol Bull. 2024. PMID: 38993656 Free PMC article. Review.
-
Systemic pharmacological treatments for chronic plaque psoriasis: a network meta-analysis.Cochrane Database Syst Rev. 2021 Apr 19;4(4):CD011535. doi: 10.1002/14651858.CD011535.pub4. Cochrane Database Syst Rev. 2021. Update in: Cochrane Database Syst Rev. 2022 May 23;5:CD011535. doi: 10.1002/14651858.CD011535.pub5. PMID: 33871055 Free PMC article. Updated.
Cited by
-
RDPNet: A Multi-Scale Residual Dilated Pyramid Network with Entropy-Based Feature Fusion for Epileptic EEG Classification.Entropy (Basel). 2025 Aug 5;27(8):830. doi: 10.3390/e27080830. Entropy (Basel). 2025. PMID: 40870302 Free PMC article.
References
-
- 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
-
- 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
-
- 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
-
- 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
Full Text Sources