bioRxivBioengineeringPreprint
TSD: Transformers for Seizure Detection
Y. Ma, C. Liu, M. S. Ma, Y. Yang, N. D. Truong, K. Kothur, A. Nikpour, O. Kavehei
Abstract
Epilepsy is a common neurological disorder that sub-stantially deteriorates patients safety and quality of life. Electroencephalogram (EEG) has been the golden-standard technique for diagnosing this brain disorder and has played an essential role in epilepsy monitoring and disease management. It is extremely laborious and challenging, if not practical, for physicians and expert humans to annotate all recorded signals, particularly in long-term monitoring. The annotation process often involves identifying signal segments with suspected epileptic seizure features or other abnormalities and/or known healthy features. Therefore, automated epilepsy detection becomes a key clinical need because it can greatly improve clinical practices efficiency and free up human expert time to attend to other important tasks. Current automated seizure detection algorithms generally face two challenges: (1) models trained for specific patients, but such models are patient-specific, hence fail to generalize to other patients and real-world situations; (2) seizure detection models trained on large EEG datasets have low sensitivity and/or high false positive rates, often with an area under the receiver operating characteristic (AUROC) that is not high enough for potential clinical applicability. This paper proposes Transformers for Seizure Detection, which we refer to as TSD in this manuscript. A Transformer is a deep learning architecture based on an encoder-decoder structure and on attention mechanisms, which we apply to recorded brain signals. The AUROC of our proposed model has achieved 92.1%, tested with Temple Universitys publically available electroencephalogram (EEG) seizure corpus dataset (TUH). Additionally, we highlight the impact of input domains on the models performance. Specifically, TSD performs best in identifying epileptic seizures when the input domain is a time-frequency. Finally, our proposed model for seizure detection in inference-only mode with EEG recordings shows outstanding performance in classifying seizure types and superior model initialization.
- assay: electrophysiology
- research focus: drug response / drug discovery
- research focus: differential expression
- approach: deep learning
- approach: transformer / foundation model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Personalized epilepsy seizure detection using random forest classification over one-dimension transformed EEG data
Marco A. Pinto-Orellana, Fábio R. Cerqueira·bioRxiv·Aug 18, 2016
- Automated Seizure Detection Tailored Towards Portable Patient Care Using A Novel, Computationally Efficient Method of Analysis
Zachary Huang, Yiming Ying·bioRxiv·Dec 13, 2018
- ScoreNet: A Neural network-based post-processing model for identifying epileptic seizure onset and offset in EEGs
Poomipat Boonyakitanont, Apiwat Lek-uthai, Jitkomut Songsiri·IEEE Transactions on Neural Systems and Rehabilitation EngineeringPeer-reviewed·Jan 1, 2021
- Semi-automated seizure detection using interpretable machine learning models
Pantelis Antonoudiou, Trina Basu, Jamie L. Maguire·bioRxiv·Oct 25, 2023
- CViT-ESP: Lightweight Pre-trained Vision Transformers for EEG-based Epileptic Seizure Prediction
Umair Mohammad, Paras Parani, Fahad Saeed·bioRxiv·Aug 26, 2026
- Pre-trained Vision Transformers for Seizure Prediction: A Reproducible Baseline with Event-Based Evaluation and Statistical Validation
Ziyuan Yin, John Moraros, Shuihua Wang·bioRxiv·Mar 14, 2026