Systematic Evaluation of Deep Learning Architectures for Epilepsy Detection with Patient-Based Validation

EEG signal processing is crucial for diagnosing neurological diseases, such as epilepsy. This study systematically compares the performance of time-domain and time-frequency domain representations in detecting epilepsy seizures. The data were divided into four-second windows at a sampling frequency of 256 Hz, and data leakage was prevented by applying a patient-based discrimination protocol. The training, validation, and test sets were separated by patient IDs, and windows from the same patient were not included in more than one partition. Six deep learning models, including BiLSTM, 1D-CNN, STFT-CNN, STFT-CNN with attention mechanism, ResSTFT-CNN, and ResSTFT-CNN with attention mechanism, were evaluated under the same training conditions. AdamW optimization, label smoothing, and early stopping algorithms were applied to all models. The models were compared in terms of accuracy, F1-Macro, AUROC, AUPRC, calibration metrics, and inference rate. Results showed that the 1D-CNN model exhibited significant superiority. The model offered the most balanced performance with an accuracy of 0.957, an AUROC of 0.993, and an inference time per sample of 0.09 milliseconds. BiLSTM came in second with 0.936 accuracy. For STFT-based models, the addition of an attention mechanism significantly improved performance, with STFT-CNN accuracy increasing from 0.78 to 0.91. Model complexity analyses revealed that 1D-CNN strikes a balance between high performance and a low parameter count. Working in the time-domain representation, 1DCNN offers an optimal solution for epilepsy detection, striking a balance between accuracy, speed, and clinical applicability. The patient-based discrimination strategy allows for the realistic generalization capacity of the models to be evaluated.

Authors

Publication Details

Journal
International Journal of Advanced Natural Sciences and Engineering Researches
Published
2026-11-11
DOI
https://doi.org/10.5281/zenodo.24146031
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

Systematic Evaluation of Deep Learning Architectures for Epilepsy Detection with Patient-Based Validation

All Sciences Academy
2 links
International Journal of Advanced Natural Sciences and Engineering Researches
EEG and Brain-Computer Interfaces
article

Systematic Evaluation of Deep Learning Architectures for Epilepsy Detection with Patient-Based Validation

All Sciences Academy
article en

Abstract

EEG signal processing is crucial for diagnosing neurological diseases, such as epilepsy. This study systematically compares the performance of time-domain and time-frequency domain representations in detecting epilepsy seizures. The data were divided into four-second windows at a sampling frequency of 256 Hz, and data leakage was prevented by applying a patient-based discrimination protocol. The training, validation, and test sets were separated by patient IDs, and windows from the same patient were not included in more than one partition. Six deep learning models, including BiLSTM, 1D-CNN, STFT-CNN, STFT-CNN with attention mechanism, ResSTFT-CNN, and ResSTFT-CNN with attention mechanism, were evaluated under the same training conditions. AdamW optimization, label smoothing, and early stopping algorithms were applied to all models. The models were compared in terms of accuracy, F1-Macro, AUROC, AUPRC, calibration metrics, and inference rate. Results showed that the 1D-CNN model exhibited significant superiority. The model offered the most balanced performance with an accuracy of 0.957, an AUROC of 0.993, and an inference time per sample of 0.09 milliseconds. BiLSTM came in second with 0.936 accuracy. For STFT-based models, the addition of an attention mechanism significantly improved performance, with STFT-CNN accuracy increasing from 0.78 to 0.91. Model complexity analyses revealed that 1D-CNN strikes a balance between high performance and a low parameter count. Working in the time-domain representation, 1DCNN offers an optimal solution for epilepsy detection, striking a balance between accuracy, speed, and clinical applicability. The patient-based discrimination strategy allows for the realistic generalization capacity of the models to be evaluated.

International Journal of Advanced Natural Sciences and Engineering Researches
Good health and well-being
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
Systematic Evaluation of Deep Learning Architectures for Epilepsy Detection with Patient-Based Validation — All Sciences Academy · International Journal of Advanced Natural Sciences and Engineering Researches (2026) | TGRS Research Map | TGRS