ResTCN: A Residual–Temporal Convolutional Network with Multi-Head Attention for EEG Seizure Detection

Background: Electroencephalography (EEG) is essential for epilepsy diagnosis, but manual interpretation is time-consuming and varies between clinicians. Deep learning has advanced automated EEG analysis, yet simultaneously capturing fine local waveforms, multi-scale temporal dynamics, and global context remains challenging. We introduce ResTCN, a hierarchical architecture that sequentially combines a residual block (ResBlock), a temporal convolutional network (TCN) with dilated causal convolutions, and multi-head attention (MHA) for epileptic seizure detection. Methods: ResTCN processes raw single-channel EEG through three sequential stages—a ResBlock for local waveform features, a TCN with dilated causal convolutions for multi-scale temporal modeling, and MHA for global context aggregation—followed by a multilayer perceptron classifier. Evaluation was conducted on the Bonn University EEG dataset under a recording-level 10-fold cross-validation protocol, in which all segments of a given recording are confined to the same fold; all primary results are reported under this protocol, whereas the conventional segment-level split is retained only for hyperparameter selection and for task-by-task comparability with the published Bonn literature. Five baselines (ResBiLSTM, CNN-LSTM-Xu2020, CNN-LSTM-Wang2023, BiLSTM, and TCN-SA) were re-implemented under the identical protocol for fair paired comparison, and the transferability of the architecture was assessed on an independent public dataset (NSC-ND), retrained without architectural modification. Results: Under recording-level evaluation, ResTCN achieved a five-class accuracy of 89.68 ± 2.60%, outperforming all five re-implemented baselines on the three hard tasks (C–DE, C–D–E, and A–B–C–D–E; recording-level McNemar test, all p≤ 1.4 × 10−4). On the NSC-ND dataset, ResTCN reached 89.67% and outperformed four of the five baselines (all p< 0.001), but not CNN-LSTM-Wang2023 (p = 0.678). Conclusions: ResTCN achieves statistically significant seizure detection performance by hierarchically integrating local, temporal, and global feature learning, and demonstrates cross-dataset transferability, retrained without architectural modification.

Authors

Institutions

Publication Details

Journal
Brain Sciences
Published
2026-11-29
DOI
https://doi.org/10.3390/brainsci16121326
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

ResTCN: A Residual–Temporal Convolutional Network with Multi-Head Attention for EEG Seizure Detection

Muhua Hu, Yiwen Zhang, Wei Zhao, Xiumei Zou et al.
Brain Sciences
EEG and Brain-Computer Interfaces
article

ResTCN: A Residual–Temporal Convolutional Network with Multi-Head Attention for EEG Seizure Detection

Muhua Hu, Yiwen Zhang, Wei Zhao, Xiumei Zou, Jinwei Huang
article en

Abstract

Background: Electroencephalography (EEG) is essential for epilepsy diagnosis, but manual interpretation is time-consuming and varies between clinicians. Deep learning has advanced automated EEG analysis, yet simultaneously capturing fine local waveforms, multi-scale temporal dynamics, and global context remains challenging. We introduce ResTCN, a hierarchical architecture that sequentially combines a residual block (ResBlock), a temporal convolutional network (TCN) with dilated causal convolutions, and multi-head attention (MHA) for epileptic seizure detection. Methods: ResTCN processes raw single-channel EEG through three sequential stages—a ResBlock for local waveform features, a TCN with dilated causal convolutions for multi-scale temporal modeling, and MHA for global context aggregation—followed by a multilayer perceptron classifier. Evaluation was conducted on the Bonn University EEG dataset under a recording-level 10-fold cross-validation protocol, in which all segments of a given recording are confined to the same fold; all primary results are reported under this protocol, whereas the conventional segment-level split is retained only for hyperparameter selection and for task-by-task comparability with the published Bonn literature. Five baselines (ResBiLSTM, CNN-LSTM-Xu2020, CNN-LSTM-Wang2023, BiLSTM, and TCN-SA) were re-implemented under the identical protocol for fair paired comparison, and the transferability of the architecture was assessed on an independent public dataset (NSC-ND), retrained without architectural modification. Results: Under recording-level evaluation, ResTCN achieved a five-class accuracy of 89.68 ± 2.60%, outperforming all five re-implemented baselines on the three hard tasks (C–DE, C–D–E, and A–B–C–D–E; recording-level McNemar test, all p≤ 1.4 × 10−4). On the NSC-ND dataset, ResTCN reached 89.67% and outperformed four of the five baselines (all p< 0.001), but not CNN-LSTM-Wang2023 (p = 0.678). Conclusions: ResTCN achieves statistically significant seizure detection performance by hierarchically integrating local, temporal, and global feature learning, and demonstrates cross-dataset transferability, retrained without architectural modification.

Brain SciencesVol. 16(12)
Jimei University (CN), The Second Affiliated Hospital of Xiamen Medical College (CN), Chengyi College, Jimei University (CN)
EEG and Brain-Computer Interfaces
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon