Preictal period optimization for deep learning-based epileptic seizure prediction
- PMID: 39637549
- DOI: 10.1088/1741-2552/ad9ad0
Preictal period optimization for deep learning-based epileptic seizure prediction
Abstract
Objective. Accurate seizure prediction could prove critical for improving patient safety and quality of life in drug-resistant epilepsy. While deep learning-based approaches have shown promising performance using scalp electroencephalogram (EEG) signals, the incomplete understanding and variability of the preictal state imposes challenges in identifying the optimal preictal period (OPP) for labeling the EEG segments. This study introduces novel measures to capture model behavior under different preictal definitions and proposes a data-centric deep learning methodology to identify the OPP.Approach. We trained a competent subject-specific CNN-Transformer model to detect preictal EEG segments using the open-access CHB-MIT dataset. To capture the temporal dynamics of the model's predictions, we fitted a sigmoidal curve to the model outputs obtained from uninterrupted multi-hour EEG recordings prior to seizure onset. From this fitted curve, we derived key performance measures reflecting the timing of predictions, including classifier convergence, average error, output stability, and the transition between interictal and preictal states. These measures were then combined to compute the Continuous Input-Output Performance Ratio, a novel metric designed to comprehensively compare model behavior across different preictal definitions (60, 45, 30, and 15 min) and suggest the OPP for each patient.Main results.The CNN-Transformer model achieved state-of-the-art performance (area under the curve of 99.35% andF1-score of 97.46%) using minimally pre-processed EEG signals. The 60-minute preictal definition was associated with earlier seizure prediction, lower error in the preictal state, and reduced output fluctuations, leading to significantly higher CIOPR scores (p< 0.001). Conventional accuracy-related metrics (sensitivity, specificity, F1-score) were less sensitive to varying preictal definitions and often discordant with CIOPR findings. Cross- and intra-patient heterogeneities in the prediction times were also observed, complicating the establishment of a global preictal interval.Significance. The newly developed metrics demonstrate that varying the preictal period significantly impacts the timing of predictions in ways not captured by conventional accuracy-related metrics. Understanding this impact and the inter-seizure heterogeneities is essential for developing intelligent systems tailored to individual patient needs and for underlining practical limitations in detecting the preictal period in real-world clinical applications.
Keywords: CNN; EEG; deep learning; interictal; preictal; seizure prediction; transformer.
Creative Commons Attribution license.
Similar articles
-
Identifying signal-dependent information about the preictal state: A comparison across ECoG, EEG and EKG using deep learning.EBioMedicine. 2019 Jul;45:422-431. doi: 10.1016/j.ebiom.2019.07.001. Epub 2019 Jul 9. EBioMedicine. 2019. PMID: 31300348 Free PMC article.
-
Detection of preictal state in epileptic seizures using ensemble classifier.Epilepsy Res. 2021 Dec;178:106818. doi: 10.1016/j.eplepsyres.2021.106818. Epub 2021 Nov 25. Epilepsy Res. 2021. PMID: 34847427
-
Anchoring temporal convolutional networks for epileptic seizure prediction.J Neural Eng. 2024 Nov 8;21(6). doi: 10.1088/1741-2552/ad8bf3. J Neural Eng. 2024. PMID: 39467384
-
Using scalp EEG and intracranial EEG signals for predicting epileptic seizures: Review of available methodologies.Seizure. 2019 Oct;71:258-269. doi: 10.1016/j.seizure.2019.08.006. Epub 2019 Aug 19. Seizure. 2019. PMID: 31479850 Review.
-
Transition to Seizure from Cellular, Network, and Dynamical Perspectives.In: Noebels JL, Avoli M, Rogawski MA, Vezzani A, Delgado-Escueta AV, editors. Jasper's Basic Mechanisms of the Epilepsies. 5th edition. New York: Oxford University Press; 2024. Chapter 9. In: Noebels JL, Avoli M, Rogawski MA, Vezzani A, Delgado-Escueta AV, editors. Jasper's Basic Mechanisms of the Epilepsies. 5th edition. New York: Oxford University Press; 2024. Chapter 9. PMID: 39637223 Free Books & Documents. Review.
Cited by
-
Feature fusion ensemble classification approach for epileptic seizure prediction using electroencephalographic bio-signals.Front Med (Lausanne). 2025 Aug 4;12:1566870. doi: 10.3389/fmed.2025.1566870. eCollection 2025. Front Med (Lausanne). 2025. PMID: 40832093 Free PMC article.
MeSH terms
LinkOut - more resources
Full Text Sources
Medical