GT-STAFG: Graph Transformer with Spatiotemporal Attention Fusion Gate for Epileptic Seizure Detection in Imbalanced EEG Data
Open accessAbstract
Background: Electroencephalography (EEG) assists clinicians in diagnosing epileptic seizures by recording brain electrical activity. Existing models process spatiotemporal features inefficiently either through cascaded spatiotemporal architectures or static functional connectivity, limiting their ability to capture deeper spatial–temporal correlations. Objectives: To address these limitations, we propose a Graph Transformer with Spatiotemporal Attention Fusion Gate (GT-STAFG). Methods: We analyzed 18-channel EEG data sampled at 200 Hz, transformed into the frequency domain, and segmented into 30- second windows. The graph transformer exploits dynamic graph data, while STAFG leverages self-attention and gating mechanisms to capture complex interactions by augmenting graph features with both spatial and temporal information. The clinical significance of extracted features was validated using the Integrated Gradients attribution method, emphasizing the clinical relevance of the proposed model. Results: GT-STAFG achieves the highest area under the precision–recall curve (AUPRC) scores of 0.605 on the TUSZ dataset and 0.498 on the CHB-MIT dataset, surpassing baseline models and demonstrating strong cross-patient generalization on imbalanced datasets. We applied transfer learning to leverage knowledge from the TUSZ dataset when analyzing the CHB-MIT dataset, yielding an average improvement of 8.3 percentage points in AUPRC. Conclusions: Our approach has the potential to enhance patient outcomes and optimize healthcare utilization.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Hybrid spatiotemporal transformer models combine attention mechanisms with structural modeling capacity to capture both temporal evolution and relational dependencies.
“Hybrid spatiotemporal transformer models combine the strength of attention mechanisms with the structural modeling capacity to capture both temporal evolution and relational dependencies44,45.”
From K-STAMM: a knowledge-enhanced spatial - temporal attention model with multimodal fusion for pneumonia prediction (2026) · cites this paper as [45]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Pan, S. J., & Yang, Q. (2010) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2009.191 · Cited by 23,387 · see citing works
Scikit-learn: Machine Learning in Python
(2011) · Journal of Machine Learning Research · doi:10.5555/1953048.2078195 · Cited by 8,539 · see citing works
Practical Bayesian Optimization of Machine Learning Algorithms
Snoek, J., Larochelle, H., & Adams, R. P. (2012) · arXiv · doi:10.48550/arxiv.1206.2944 · Cited by 6,691 · see citing works
Saito, T., & Rehmsmeier, M. (2015) · PLOS ONE · doi:10.1371/journal.pone.0118432 · Cited by 5,309 · see citing works
SGDR: Stochastic Gradient Descent with Warm Restarts
Loshchilov, I., & Hutter, F. (2016) · arXiv · doi:10.48550/arxiv.1608.03983 · Cited by 5,309 · see citing works
EEGNet: a compact convolutional neural network for EEG-based brain-computer interfaces
Lawhern, V. J., Solon, A. J., Waytowich, N. R., Gordon, S. M., Hung, C. P., & Lance, B. J. (2018) · Journal of Neural Engineering · doi:10.1088/1741-2552/aace8c · Cited by 5,115 · cited 1× · see citing works
“The model utilizes CNN architecture inspired by EEG-Net [28] to learn local spatial filters.”
Gaussian Error Linear Units (GELUs)
Hendrycks, D., & Gimpel, K. (2016) · arXiv · doi:10.48550/arxiv.1606.08415 · Cited by 3,537 · see citing works
Deep learning for electroencephalogram (EEG) classification tasks: a review
Craik, A., He, Y., & Contreras-Vidal, J. L. (2019) · Journal of Neural Engineering · doi:10.1088/1741-2552/ab0ab5 · Cited by 1,758 · see citing works
Recipe for a General, Powerful, Scalable Graph TransformerPreprint
Rampášek, L., Galkin, M., Dwivedi, V. P., Lưu, A., Wolf, G., & Beaini, D. (2022) · Neural Information Processing Systems · doi:10.48550/arxiv.2205.12454 · Cited by 1,274 · see citing works
Epileptic Seizures Detection Using Deep Learning Techniques: A Review
Shoeibi, A., Khodatars, M., Ghassemi, N., Jafari, M., Moridian, P., Alizadehsani, R., Panahiazar, M., Khozeimeh, F., Zare, A., Hosseini‐Nejad, H., et al. (2021) · International Journal of Environmental Research and Public Health · doi:10.3390/ijerph18115780 · Cited by 462 · see citing works
A Generalization of Transformer Networks to Graphs
Dwivedi, V. P., & Bresson, X. (2020) · arXiv · doi:10.48550/arxiv.2012.09699 · Cited by 398 · see citing works
Li, Y., Liu, Y., Cui, W., et al. (2020) · IEEE Transactions on Neural Systems and Rehabilitation Engineering · doi:10.1109/tnsre.2020.2973434 · Cited by 286 · see citing works
“Too Many betas do not Spoil the Broth”: The Role of Beta Brain Oscillations in Language Processing
Weiß, S., & Mueller, H. M. (2012) · Frontiers in Psychology · doi:10.3389/fpsyg.2012.00201 · Cited by 276 · see citing works
The Temple University Hospital Seizure Detection Corpus
Shah, V., von Weltin, E., Lopez, S., McHugh, J. R., Veloso, L. J., Golmohammadi, M., Iyad Obeid, A., & Picone, J. (2018) · Frontiers in Neuroinformatics · doi:10.3389/fninf.2018.00083 · Cited by 269 · see citing works
Sinha, S. R., Sullivan, L. R., Sabau, D., San‐Juan, D., Dombrowski, K. E., Halford, J. J., Hani, A. J., Drislane, F. W., & Stecker, M. M. (2016) · Journal of Clinical Neurophysiology · doi:10.1097/wnp.0000000000000308 · Cited by 252 · see citing works
Transformers for EEG-Based Emotion Recognition: A Hierarchical Spatial Information Learning Model
Wang, Z., Wang, Y., Hu, C., Yin, Z., & Song, Y. (2022) · IEEE Sensors Journal · doi:10.1109/jsen.2022.3144317 · Cited by 219 · see citing works
CTNet: a convolutional transformer network for EEG-based motor imagery classification
Zhao, W., Jiang, X., Zhang, B., Xiao, S., & Weng, S. (2024) · Scientific Reports · doi:10.1038/s41598-024-71118-7 · Cited by 191 · see citing works
EEGWaveNet: Multiscale CNN-Based Spatiotemporal Feature Extraction for EEG Seizure Detection
Thuwajit, P., Rangpong, P., Sawangjai, P., Autthasan, P., Chaisaen, R., Banluesombatkul, N., Boonchit, P., Tatsaringkansakul, N., Sudhawiyangkul, T., & Wilaiprasitporn, T. (2021) · IEEE Transactions on Industrial Informatics · doi:10.1109/tii.2021.3133307 · Cited by 180 · see citing works
A Comprehensive Survey of Graph Neural Networks for Knowledge Graphs
Ye, Z., Kumar, Y. J., Goh, O. S., Song, F., & Wang, J. (2022) · IEEE Access · doi:10.1109/access.2022.3191784 · Cited by 167 · see citing works
Feng, L., Cheng, C., Zhao, M., Deng, H., & Zhang, Y. (2022) · IEEE Journal of Biomedical and Health Informatics · doi:10.1109/jbhi.2022.3198688 · Cited by 165 · see citing works
Li, R., Yuan, X., Radfar, M., Marendy, P., Ni, W., O'Brien, T. J., & Casillas-Espinosa, P. M. (2021) · IEEE Reviews in Biomedical Engineering · doi:10.1109/rbme.2021.3122522 · Cited by 159 · see citing works
Graph Neural Network-Based EEG Classification: A Survey
Klepl, D., Wu, M., & He, F. (2024) · IEEE Transactions on Neural Systems and Rehabilitation Engineering · doi:10.1109/tnsre.2024.3355750 · Cited by 134 · see citing works
EEGformer: A transformer–based brain activity classification method using EEG signal
Wan, Z., Li, M., Liu, S., et al. (2023) · Frontiers in Neuroscience · doi:10.3389/fnins.2023.1148855 · Cited by 109 · see citing works
Graph Neural Networks with Learnable Structural and Positional RepresentationsPreprint
Dwivedi, V. P., Luu, A. T., Laurent, T., Bengio, Y., & Bresson, X. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.07875 · Cited by 108 · see citing works
Weak supervision as an efficient approach for automated seizure detection in electroencephalography
Saab, K. K., Dunnmon, J., Ré, C., Rubin, D. L., & Lee‐Messer, C. (2020) · npj Digital Medicine · doi:10.1038/s41746-020-0264-0 · Cited by 103 · see citing works
Deep Dominance - How to Properly Compare Deep Neural Models
Dror, R., Shlomov, S., & Reichart, R. (2019) · Annual Meeting of the Association for Computational Linguistics (ACL) · doi:10.18653/v1/p19-1266 · Cited by 96 · see citing works
A Spatiotemporal Graph Attention Network Based on Synchronization for Epileptic Seizure Prediction
Wang, Y., Shi, Y., Cheng, Y., He, Z., Wei, X., Chen, Z., & Zhou, Y. (2022) · IEEE Journal of Biomedical and Health Informatics · doi:10.1109/jbhi.2022.3221211 · Cited by 88 · see citing works
Spatial-Temporal Seizure Detection with Graph Attention Network and Bi-Directional Lstm Architecture
He, J., Cui, J. J., Zhang, G., Xue, M., Chu, D., & Zhao, Y. (2021) · Biomedical Signal Processing and Control · doi:10.1016/j.bspc.2022.103908 · Cited by 86 · see citing works
Nafea, M. S., & Ismail, Z. H. (2022) · Bioengineering · doi:10.3390/bioengineering9120781 · Cited by 78 · see citing works
Self-citationSelf-Supervised Graph Neural Networks for Improved Electroencephalographic Seizure AnalysisPreprint
Tang, S., Dunnmon, J., Saab, K. K., Zhang, X., Huang, Q., Dubost, F., Rubin, D. L., & Lee‐Messer, C. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2104.08336 · Cited by 76 · see citing works
Shan, X., Cao, J., Huo, S., Chen, L., Sarrigiannis, P. G., & Zhao, Y. (2022) · Human Brain Mapping · doi:10.1002/hbm.25994 · Cited by 75 · cited 2× · see citing works
“Shan et al. [14] proposed a spatiotemporal graph convolutional network (ST-GCN) model for Alzheimer classification.”
Comprehensive review of Transformer‐based models in neuroscience, neurology, and psychiatry
Cong, S., Wang, H., Zhou, Y., Wang, Z., Yao, X., & Yang, C. (2024) · Brain‐X · doi:10.1002/brx2.57 · Cited by 70 · see citing works
TIE-EEGNet: Temporal Information Enhanced EEGNet for Seizure Subtype Classification
Peng, R., Zhao, C., Jiang, J., Kuang, G., Cui, Y., Xu, Y., Du, H., Shao, J., & Wu, D. (2022) · IEEE Transactions on Neural Systems and Rehabilitation Engineering · doi:10.1109/tnsre.2022.3204540 · Cited by 66 · see citing works
Eeg-Based Video Identification Using Graph Signal Modeling and Graph Convolutional Neural Network
Jang, S., Moon, S.-E., & Lee, J. (2018) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp.2018.8462207 · Cited by 56 · see citing works
Stefano, P. D., Carboni, M., Marquis, R., Spinelli, L., Seeck, M., & Vulliémoz, S. (2021) · European Journal of Neurology · doi:10.1111/ene.15106 · Cited by 42 · see citing works
Epileptic seizure detection using CHB-MIT dataset: The overlooked perspectives
Ali, E., Angelova, M. N., & Karmakar, C. K. (2024) · Royal Society Open Science · doi:10.1098/rsos.230601 · Cited by 40 · see citing works
Chen, X., Morehead, A., Liu, J., & Cheng, J. (2023) · Bioinformatics · doi:10.1093/bioinformatics/btad203 · Cited by 28 · see citing works
Kakisaka, Y., Alexopoulos, A. V., Gupta, A., et al. (2010) · Epilepsy & Behavior · doi:10.1016/j.yebeh.2010.10.025 · Cited by 27 · see citing works
The Mathematics of the Uncertain
(2018) · Studies in systems, decision and control · doi:10.1007/978-3-319-73848-2 · Cited by 18 · see citing works
Synchronization-based graph spatio-temporal attention network for seizure prediction
Xiang, J., Li, Y., Wu, X., Dong, Y., Wen, X., & Niu, Y. (2025) · Scientific Reports · doi:10.1038/s41598-025-88492-5 · Cited by 13 · see citing works
Spatial-temporal graph transformer network for skeleton-based temporal action segmentation
Tian, X., Jin, Y., Zhang, Z., et al. (2023) · Multimedia Tools and Applications · doi:10.1007/s11042-023-17276-8 · Cited by 12 · see citing works
Transformer-based spatial-temporal feature learning for P300
Li, Q., Zhang, T., Song, Y., et al. (2022) · ICME International Conference on Complex Medical Engineering (CME) · doi:10.1109/cme55444.2022.10063297 · Cited by 9 · see citing works
Flagged first, then by citations
Research works printed but not linked: 7
- Veličković, P.; Casanova, A.; Liò, P.; Cucurull, G.; Romero, A.; Bengio, Y. Graph Attention Networks. In Proceedings of the 6th International Conference on Learning Representations, ICLR 2018-Conference Track Proceedings, Vancouver, BC, Canada, 30 April-3 May 2018; pp. 1-12.
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention Is All You Need. In Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA, 4-9 December 2017; pp. 5999-6009.
- Yang, C.; Brandon Westover, M.; Sun, J. BIOT: Biosignal Transformer for Cross-Data Learning in the Wild. Adv. Neural Inf. Process Syst. 2023, 36, 78240-78260.
- Arevalo, J.; Solorio, T.; Montes-Y-Gómez, M.; González, F.A. Gated Multimodal Units for Information Fusion. In Proceedings of the 5th International Conference on Learning Representations, ICLR 2017-Workshop Track Proceedings, Toulon, France, 24-26 April 2017.
- Sundararajan, M.; Taly, A.; Yan, Q. (Integrated Gradient) Axiomatic Attribution for Deep Networks. In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, Australia, 6-11 August 2017; Volume 7, pp. 5109-5118.
- Shoeb, A.; Guttag, J. CHB-MIT Dataset. In Proceedings of the ICML 2010-Proceedings, 27th International Conference on Machine Learning, Haifa, Israel, 21-24 June 2010; pp. 975-982.
- Ulmer, D.; Hardmeier, C.; Frellsen, J. Deep-Significance-Easy and Meaningful Statistical Significance Testing in the Age of Neural Networks. arXiv 2022, arXiv:2204.06815. · arXiv
Cited by
Sorted by citations
Abbas, Q., Jeong, W., & Lee, S. W. (2025) · Healthcare · doi:10.3390/healthcare13172154 · Cited by 236 · see citing works
Anbukkarasi, S., Hemalatha, S., Balakrishnan, A., Varadhaganapathy, S., & Easwaramoorthy, S. V. (2026) · Scientific reports · doi:10.1038/s41598-026-47146-w · Cited by 1 · see citing works
“Hybrid spatiotemporal transformer models combine the strength of attention mechanisms with the structural modeling capacity to capture both temporal evolution and relational dependencies 44,45 .”
- Authors
- Nafea, M. S., & Ismail, Z. H.
- Affiliations
- University of Technology Malaysia (MY)
- Corresponding author
- Ismail, Zool Hilmi
- Venue
- AI
- Publisher
- MDPI AG
- Published
- 2025-06-09
- Volume
- 6
- Issue
- 6
- Pages
- 120
- ISSN
- 2673-2688 (ISSN-L)
- OpenAlex
- W4411187431
- Cited by
- 8
- References
- 42
- Citations by year
- 2026: 6 · 2025: 2
- FWCI
- 4.59
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- Locations
- AI (publishedVersion, cc-by)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Topics
- Life Sciences › Neuroscience › Cognitive Neuroscience › EEG and Brain-Computer Interfaces
- Health Sciences › Medicine › Psychiatry and Mental health › Epilepsy research and treatment
- Health Sciences › Medicine › Cardiology and Cardiovascular Medicine › ECG Monitoring and Analysis
- Keywords
- seizure detection, EEG, graph transformer, class imbalance, self-attention, gating mechanism, functional connectivity, transfer learning, CHB-MIT dataset, seizure prediction
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review