1
|
Lopes F, Pinto MF, Dourado A, Schulze-Bonhage A, Dümpelmann M, Teixeira C. Addressing data limitations in seizure prediction through transfer learning. Sci Rep 2024; 14:14169. [PMID: 38898066 PMCID: PMC11187122 DOI: 10.1038/s41598-024-64802-1] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/10/2024] [Accepted: 06/13/2024] [Indexed: 06/21/2024] Open
Abstract
According to the literature, seizure prediction models should be developed following a patient-specific approach. However, seizures are usually very rare events, meaning the number of events that may be used to optimise seizure prediction approaches is limited. To overcome such constraint, we analysed the possibility of using data from patients from an external database to improve patient-specific seizure prediction models. We present seizure prediction models trained using a transfer learning procedure. We trained a deep convolutional autoencoder using electroencephalogram data from 41 patients collected from the EPILEPSIAE database. Then, a bidirectional long short-term memory and a classifier layers were added on the top of the encoder part and were optimised for 24 patients from the Universitätsklinikum Freiburg individually. The encoder was used as a feature extraction module. Therefore, its weights were not changed during the patient-specific training. Experimental results showed that seizure prediction models optimised using pretrained weights present about four times fewer false alarms while maintaining the same ability to predict seizures and achieved more 13% validated patients. Therefore, results evidenced that the optimisation using transfer learning was more stable and faster, saving computational resources. In summary, adopting transfer learning for seizure prediction models represents a significant advancement. It addresses the data limitation seen in the seizure prediction field and offers more efficient and stable training, conserving computational resources. Additionally, despite the compact size, transfer learning allows to easily share data knowledge due to fewer ethical restrictions and lower storage requirements. The convolutional autoencoder developed in this study will be shared with the scientific community, promoting further research.
Collapse
Affiliation(s)
- Fábio Lopes
- Department of Informatics Engineering, Center for Informatics and Systems of the University of Coimbra, University of Coimbra, Coimbra, Portugal.
- Department Neurosurgery, Epilepsy Center, Medical Center - University of Freiburg, Faculty of Medicine, University of Freiburg, Freiburg, Germany.
| | - Mauro F Pinto
- Department of Informatics Engineering, Center for Informatics and Systems of the University of Coimbra, University of Coimbra, Coimbra, Portugal
| | - António Dourado
- Department of Informatics Engineering, Center for Informatics and Systems of the University of Coimbra, University of Coimbra, Coimbra, Portugal
| | - Andreas Schulze-Bonhage
- Department Neurosurgery, Epilepsy Center, Medical Center - University of Freiburg, Faculty of Medicine, University of Freiburg, Freiburg, Germany
| | - Matthias Dümpelmann
- Department Neurosurgery, Epilepsy Center, Medical Center - University of Freiburg, Faculty of Medicine, University of Freiburg, Freiburg, Germany
- Department of Microsystems Engineering (IMTEK), University of Freiburg, Freiburg, Germany
| | - César Teixeira
- Department of Informatics Engineering, Center for Informatics and Systems of the University of Coimbra, University of Coimbra, Coimbra, Portugal
| |
Collapse
|
2
|
Pontes ED, Pinto M, Lopes F, Teixeira C. Concept-drifts adaptation for machine learning EEG epilepsy seizure prediction. Sci Rep 2024; 14:8204. [PMID: 38589379 PMCID: PMC11001609 DOI: 10.1038/s41598-024-57744-1] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/01/2024] [Accepted: 03/21/2024] [Indexed: 04/10/2024] Open
Abstract
Seizure prediction remains a challenge, with approximately 30% of patients unresponsive to conventional treatments. Addressing this issue is crucial for improving patients' quality of life, as timely intervention can mitigate the impact of seizures. In this research field, it is critical to identify the preictal interval, the transition from regular brain activity to a seizure. While previous studies have explored various Electroencephalogram (EEG) based methodologies for prediction, few have been clinically applicable. Recent studies have underlined the dynamic nature of EEG data, characterised by data changes with time, known as concept drifts, highlighting the need for automated methods to detect and adapt to these changes. In this study, we investigate the effectiveness of automatic concept drift adaptation methods in seizure prediction. Three patient-specific seizure prediction approaches with a 10-minute prediction horizon are compared: a seizure prediction algorithm incorporating a window adjustment method by optimising performance with Support Vector Machines (Backwards-Landmark Window), a seizure prediction algorithm incorporating a data-batch (seizures) selection method using a logistic regression (Seizure-batch Regression), and a seizure prediction algorithm with a dynamic integration of classifiers (Dynamic Weighted Ensemble). These methods incorporate a retraining process after each seizure and use a combination of univariate linear features and SVM classifiers. The Firing Power was used as a post-processing technique to generate alarms before seizures. These methodologies were compared with a control approach based on the typical machine learning pipeline, considering a group of 37 patients with Temporal Lobe Epilepsy from the EPILEPSIAE database. The best-performing approach (Backwards-Landmark Window) achieved results of 0.75 ± 0.33 for sensitivity and 1.03 ± 1.00 for false positive rate per hour. This new strategy performed above chance for 89% of patients with the surrogate predictor, whereas the control approach only validated 46%.
Collapse
Affiliation(s)
- Edson David Pontes
- Department of Informatics Engineering, CISUC, University of Coimbra, Coimbra, Portugal.
| | - Mauro Pinto
- Department of Informatics Engineering, CISUC, University of Coimbra, Coimbra, Portugal
| | - Fábio Lopes
- Department of Informatics Engineering, CISUC, University of Coimbra, Coimbra, Portugal
- Epilepsy Center, Department Neurosurgery, Medical Center - University of Freiburg, Faculty of Medicine, University of Freiburg, Freiburg, Germany
| | - César Teixeira
- Department of Informatics Engineering, CISUC, University of Coimbra, Coimbra, Portugal
| |
Collapse
|
3
|
Costa G, Teixeira C, Pinto MF. Comparison between epileptic seizure prediction and forecasting based on machine learning. Sci Rep 2024; 14:5653. [PMID: 38454117 PMCID: PMC10920642 DOI: 10.1038/s41598-024-56019-z] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 12/06/2023] [Accepted: 02/29/2024] [Indexed: 03/09/2024] Open
Abstract
Epilepsy affects around 1% of the population worldwide. Anti-epileptic drugs are an excellent option for controlling seizure occurrence but do not work for around one-third of patients. Warning devices employing seizure prediction or forecasting algorithms could bring patients new-found comfort and quality of life. These algorithms would attempt to detect a seizure's preictal period, a transitional moment between regular brain activity and the seizure, and relay this information to the user. Over the years, many seizure prediction studies using Electroencephalogram-based methodologies have been developed, triggering an alarm when detecting the preictal period. Recent studies have suggested a shift in view from prediction to forecasting. Seizure forecasting takes a probabilistic approach to the problem in question instead of the crisp approach of seizure prediction. In this field of study, the triggered alarm to symbolize the detection of a preictal period is substituted by a constant risk assessment analysis. The present work aims to explore methodologies capable of seizure forecasting and establish a comparison with seizure prediction results. Using 40 patients from the EPILEPSIAE database, we developed several patient-specific prediction and forecasting algorithms with different classifiers (a Logistic Regression, a 15 Support Vector Machines ensemble, and a 15 Shallow Neural Networks ensemble). Results show an increase of the seizure sensitivity in forecasting relative to prediction of up to 146% and in the number of patients that displayed an improvement over chance of up to 300%. These results suggest that a seizure forecasting methodology may be more suitable for seizure warning devices than a seizure prediction one.
Collapse
Affiliation(s)
- Gonçalo Costa
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, 3030-290, Coimbra, Portugal.
| | - César Teixeira
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, 3030-290, Coimbra, Portugal
| | - Mauro F Pinto
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, 3030-290, Coimbra, Portugal
| |
Collapse
|
4
|
Batista J, Pinto MF, Tavares M, Lopes F, Oliveira A, Teixeira C. EEG epilepsy seizure prediction: the post-processing stage as a chronology. Sci Rep 2024; 14:407. [PMID: 38172583 PMCID: PMC10764904 DOI: 10.1038/s41598-023-50609-z] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/03/2023] [Accepted: 12/21/2023] [Indexed: 01/05/2024] Open
Abstract
Almost one-third of epileptic patients fail to achieve seizure control through anti-epileptic drug administration. In the scarcity of completely controlling a patient's epilepsy, seizure prediction plays a significant role in clinical management and providing new therapeutic options such as warning or intervention devices. Seizure prediction algorithms aim to identify the preictal period that Electroencephalogram (EEG) signals can capture. However, this period is associated with substantial heterogeneity, varying among patients or even between seizures from the same patient. The present work proposes a patient-specific seizure prediction algorithm using post-processing techniques to explore the existence of a set of chronological events of brain activity that precedes epileptic seizures. The study was conducted with 37 patients with Temporal Lobe Epilepsy (TLE) from the EPILEPSIAE database. The designed methodology combines univariate linear features with a classifier based on Support Vector Machines (SVM) and two post-processing techniques to handle pre-seizure temporality in an easily explainable way, employing knowledge from network theory. In the Chronological Firing Power approach, we considered the preictal as a sequence of three brain activity events separated in time. In the Cumulative Firing Power approach, we assumed the preictal period as a sequence of three overlapping events. These methodologies were compared with a control approach based on the typical machine learning pipeline. We considered a Seizure Prediction horizon (SPH) of 5 mins and analyzed several values for the Seizure Occurrence Period (SOP) duration, between 10 and 55 mins. Our results showed that the Cumulative Firing Power approach may improve the seizure prediction performance. This new strategy performed above chance for 62% of patients, whereas the control approach only validated 49% of its models.
Collapse
Affiliation(s)
- Joana Batista
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, Coimbra, Portugal.
| | - Mauro F Pinto
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, Coimbra, Portugal
| | - Mariana Tavares
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, Coimbra, Portugal
| | - Fábio Lopes
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, Coimbra, Portugal
- Epilepsy Center, Department Neurosurgery, Medical Center-University of Freiburg , Faculty of Medicine, University of Freiburg, Freiburg, Germany
| | - Ana Oliveira
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, Coimbra, Portugal
| | - César Teixeira
- Center for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering, University of Coimbra, Coimbra, Portugal
| |
Collapse
|