Preictal Period Optimization for Deep Learning-Based Epileptic Seizure Prediction
Petros Koutsouvelis, Bartlomiej Chybowski, Alfredo Gonzalez-Sulser, Shima Abdullateef, Javier Escudero
TL;DR
The paper addresses epileptic seizure prediction from scalp EEG and the challenge of defining the preictal period. It introduces a CNN-Transformer classifier to detect spatiotemporal preictal dynamics and a new CIOPR metric for comprehensive, continuous-input performance evaluation, enabling per-patient OPP selection. Applied to 19 pediatric CHB-MIT subjects with subject-specific LOOCV, the approach achieves high sensitivity (99.31%), specificity (95.34%), AUC (99.35%), and F1 (97.46%), with an average prediction horizon of 76.8 minutes before onset. CIOPR reveals substantial inter- and intra-patient variability in optimal preictal length and demonstrates the importance of customizing OPP for practical usability in clinical seizure prediction systems.
Abstract
Accurate prediction of epileptic seizures could prove critical for improving patient safety and quality of life in drug-resistant epilepsy. Although deep learning-based approaches have shown promising seizure prediction performance using scalp electroencephalogram (EEG) signals, substantial limitations still impede their clinical adoption. Furthermore, identifying the optimal preictal period (OPP) for labeling EEG segments remains a challenge. Here, we not only develop a competitive deep learning model for seizure prediction but, more importantly, leverage it to demonstrate a methodology to comprehensively evaluate the predictive performance in the seizure prediction task. For this, we introduce a CNN-Transformer deep learning model to detect preictal spatiotemporal dynamics, alongside a novel Continuous Input-Output Performance Ratio (CIOPR) metric to determine the OPP. We trained and evaluated our model on 19 pediatric patients of the open-access CHB-MIT dataset in a subject-specific manner. Using the OPP of each patient, preictal and interictal segments were correctly identified with an average sensitivity of 99.31%, specificity of 95.34%, AUC of 99.35%, and F1- score of 97.46%, while prediction time averaged 76.8 minutes before onset. Notably, our novel CIOPR metric allowed outlining the impact of different preictal period definitions on prediction time, accuracy, output stability, and transition time between interictal and preictal states in a comprehensive and quantitative way and highlighted the importance of considering both inter- and intra-patient variability in seizure prediction.
