A Transformer‐Based Framework With Data Augmentation for Robust Seizure Detection Across Invasive and Noninvasive Neural Recordings
Year: 2025
Type: article
Abstract: AIMS: Epilepsy affects more than 50 million peolple worldwide and requires reliable seizure detection systems to mitigate risks associated with unpredictable seizures. Existing machine learning frameworks are limited in generalizability, signal fidelity, and clinical translation, particularly when bridging invasive and non-invasive modalities. This study aims to develop a robust and generalizable seizure detection model capable of supporting cross-modal applicability. METHODS: We proposed a Transformer-based seizure detection framework designed for end-to-end analysis of raw neurophysiological signals. To address class imbalance and temporal variability, three data augmentation strategies: sequential sampling, random contiguous sampling, and random non-contiguous sampling, were implemented. A channel-agnostic attention mechanism was incorporated to ensure robustness across heterogeneous electrode configurations. RESULTS: The framework achieved > 99% accuracy in detecting diverse seizure patterns from rat hippocampal recordings (CA1/CA3) and maintained strong performance across different epilepsy models (PTX- and 4-AP-induced seizures). It also demonstrated resilience under reduced-channel configurations (F1-score: 98.7% with 2 channels). In human electroencephalography (EEG) validation, the model achieved a recall of 99.1% and an overall accuracy of 90.4%, despite the inherent limitations of EEG in resolving high-frequency oscillations and its susceptibility to artifacts. CONCLUSION: By eliminating manual feature engineering and enabling robust cross-modal adaptation, this framework bridges invasive experimental research and non-invasive clinical practice. Its efficiency and scalability support potential applications in real-time seizure monitoring and closed-loop neuromodulation systems. Future work will focus on integration with hemodynamic biomarkers, validation in chronic epilepsy models, and optimization for wearable and real-time deployment.
Source: CNS Neuroscience & Therapeutics
DOI: 10.1111/cns.70584
Authors: Yue Yuan, Junyang Zhang, Chen Wang, Hao Yan, Xiangyu Ye, Wenjun Ruan, Xinzhuo Teng, Zheshan Guo, Zhaoxiang Wang
Institutions: Zhejiang Lab, Hainan University, Zhejiang University
Language: English
Subfield: Cognitive Neuroscience
Field: Neuroscience
Domain: Life Sciences
Open Access status: gold
Estimated APC paid: $4,140
Awards: G8423684423, G8739621291
OpenAlex ID: W4413991255
