sözaltı news Science
Science
EN AZ
Frequency-aware transformer networks for robust and generalizable EEG-based seizure detection

Frequency-aware transformer networks for robust and generalizable EEG-based seizure detection

nature.com 08.09.2026 02:00 1 views

Automated epileptic seizure detection from electroencephalogram (EEG) signals remains a critical challenge for real-world clinical deployment due to the complex, nonstationary, and multi-scale nature of neural dynamics. Existing deep learning approaches, including convolutional and transformer-based models, often fail to jointly capture spectral–temporal dependencies while maintaining robustness across heterogeneous datasets and noisy clinical environments. In this work, we propose BrainXNet, a novel multi-scale spectro-temporal attention framework that unifies local feature extraction, frequency-aware representation learning, and global temporal modeling within a single architecture.

The proposed model integrates (i) multi-scale convolutional pathways to capture transient and long-duration EEG patterns, (ii) a spectral attention module that dynamically emphasizes clinically relevant frequency bands, and (iii) a temporal transformer encoder for modeling long-range dependencies across EEG sequences. Extensive evaluations on two large-scale benchmark datasets, CHB-MIT and TUH Seizure Corpus, demonstrate that BrainXNet achieves state-of-the-art performance, reaching accuracies of 99.1% and 98.4%, respectively. Beyond in-dataset performance, the proposed framework exhibits strong cross-dataset generalization, maintaining over 94% accuracy in transfer settings, and demonstrates high robustness under noisy conditions.

Ablation studies further confirm the complementary contributions of each architectural component. These results highlight the effectiveness of explicitly modeling multi-scale spectro-temporal dynamics for EEG analysis and position BrainXNet as a promising candidate for reliable, real-time clinical seizure detection systems. This work bridges the gap between high-performance experimental models and practical deployment in diverse healthcare environments.

The authors greatly appreciate the thoughtful comments made by the manuscript’s editors and reviewers. Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB). This research received no external funding.

Department of Artificial Intelligence, Faculty of Computers and Artificial Intelligence, Benha University, Benha, 13518, Egypt Artificial Intelligence Department, Faculty of Artificial Intelligence, Egyptian Russian University Badr City, Cairo, 11829, Egypt Department of Neurosurgery, Faculty of Medicine, Benha University, Benha, 13518, Egypt The authors declare no competing interests. This study exclusively used publicly available and de-identified EEG datasets (CHB-MIT and TUH Seizure Corpus). No new human participants were recruited, and no identifiable personal information was accessed by the authors.

Therefore, according to institutional and national research guidelines, additional ethical approval and informed consent were not required for this study. Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.

Extract — continue reading at the source.

Read full story