Skip to content
DraconiticResearch
Search Sources API
190,851 studies31 sourcesUpdated 13 min ago
PreprintCC BY-NC-NDmedRxiv

Countering Neural Activity Drift: Sustained Long-term Seizure Prediction Using an Evolutionary Machine-Learning Framework on Continuous Intracranial EEG

  1. 1Hospital del Mar Research Institute (IMIM)

Abstract

ObjectiveSeizure prediction in drug-resistant epilepsy remains a major biomedical challenge. Traditional machine learning approaches rely heavily on segmented offline testing, which suffers from artificial class rebalancing, hides neural activity drift over time, and severely inflates performance estimates. This study introduces an online evolutionary framework designed for realistic brain-computer interface validation and addresses performance degradation caused by neural drift.

MethodsWe present the first publicly available, continuous long-term stereoelectroencephalography dataset for seizure prediction, tracking 16 patients across 664.9 hours of data and 121 seizures. An offline combinatorial analysis evaluated pipeline decisions (referencing, frequency bands, functional connectivity metrics, and classifiers). The highest-performing offline elements, namely monopolar referencing, cross-correlation-based connectivity matrices, and Random Forests classifiers, were evaluated under realistic class imbalances in a pseudo-prospective online framework. Candidate models (N = 1,000 per patient) were evolved across continuous streams, while a data-driven approach targeted patient-specific epileptogenic networks for input channel reduction.

ResultsTransitioning from offline to online evaluation demonstrated a prominent performance drop, with mean AUROC degrading from 90% to 57.9%, confirming offline metrics conceal temporal neural drift. However, our online evolutionary framework identified models achieving complete event-level seizure prediction in 75% of patients (and all but one seizure in 87.5%). Restricting inputs to the estimated epileptogenic network identified using our previously proposed approach reduced implanted contact requirements by 79.12% while providing superior predictive performance over clinically resected areas.

SignificanceThis work demonstrates that actionable, deterministic seizure prediction is achievable when paired with modern computational capability. Because 1,000 candidate models represent a conservative proof-of-concept search budget, scaling search spaces in production environments can further expand optimal interictal sampling and prediction yields. By providing both a continuous benchmark dataset and a standardized online evaluation protocol, this framework offers a foundation for self-adapting closed-loop devices capable of post-event retraining and long-term deployment in clinical neuromodulatory

Key PointsO_LIFirst publicly available continuous long-term iEEG dataset for seizure prediction, with the largest patient and channel count to date. C_LIO_LIThe proposed framework predicted all seizures in 75% of patients, and all but one seizure in 87.5% of patients. C_LIO_LIOnline evaluation reveals substantial performance overestimation in offline testing, highlighting the need for realistic BCI validation. C_LIO_LIEpileptogenic network-based channel selection achieves comparable predictive performance with around 79% fewer implanted contacts. C_LIO_LIClassifier choice and functional connectivity metric are the dominant drivers of seizure prediction performance across the pipeline. C_LI

Related

  1. Continuous epidural saline infusion combined with intranasal dexmedetomidine for severe post-dural puncture headache with intracranial hypotension: a case report
    Yinghong Li, Qingle Kang, Huiyan Liang +4
    Frontiers in MedicinePeer-reviewedCC BYFull textNeurologyDOAJ
  2. Hemodynamic biomarkers in symptomatic intracranial atherosclerotic stenosis: evidence boundaries and research pathways from prognostic stratification to treatment-effect prediction
    Ruying Hu, Zizhao Zhang, Zipeng Wang +3
    Frontiers in NeurologyPeer-reviewedCC BY 4.0Full textNeurologyCrossrefEurope PMCEurope PMCPMC
  3. Comparative analysis of intracranial pressure prediction models using optic nerve sheath diameter and additional ultrasound metrics
    Mingqing Cheng, Tingting Liu, Geng Guo +5
    Scientific ReportsPeer-reviewedCC BYFull textNeurologyDOAJ
  4. Artificial intelligence in the diagnosis and outcome prediction of intracranial aneurysms: a meta-analysis and review.
    Shahin Naghizadeh, Seyedpouzhia Shojaei, Fariborz Faeghi +2
    BMC medical imagingPeer-reviewedCC BY-NC-NDFull textNeurologyEurope PMCPMC
  5. Interpretable machine learning for postoperative sepsis prediction in ICU patients following intracranial hematoma evacuation.
    Shaoyang Yu, Yun Liu, Lei Guo +8
    Frontiers in cellular and infection microbiologyPeer-reviewedCC BYFull textEpidemiology & public healthEurope PMC
BibTeX
@misc{montoyagalvez2026countering,
  title = {{Countering Neural Activity Drift: Sustained Long-term Seizure Prediction Using an Evolutionary Machine-Learning Framework on Continuous Intracranial EEG}},
  author = {J. Montoya-Galvez and K. Ivankovic and M. Nazari and A. Principe and R. Rocamora},
  howpublished = {medRxiv},
  year = {2026},
  month = sep,
  doi = {10.64898/2026.09.14.26359203},
  url = {https://www.medrxiv.org/content/10.64898/2026.09.14.26359203v1},
  note = {CC BY-NC-ND},
}
RIS
TY  - UNPB
TI  - Countering Neural Activity Drift: Sustained Long-term Seizure Prediction Using an Evolutionary Machine-Learning Framework on Continuous Intracranial EEG
AU  - J. Montoya-Galvez
AU  - K. Ivankovic
AU  - M. Nazari
AU  - A. Principe
AU  - R. Rocamora
PY  - 2026
DA  - 2026/09/14
PB  - medRxiv
DO  - 10.64898/2026.09.14.26359203
UR  - https://www.medrxiv.org/content/10.64898/2026.09.14.26359203v1
AB  - ObjectiveSeizure prediction in drug-resistant epilepsy remains a major biomedical challenge. Traditional machine learning approaches rely heavily on segmented offline testing, which suffers from artificial class rebalancing, hides neural activity drift over time, and severely inflates performance estimates. This study introduces an online evolutionary framework designed for realistic brain-computer interface validation and addresses performance degradation caused by neural drift.  MethodsWe present the first publicly available, continuous long-term stereoelectroencephalography dataset for seizure prediction, tracking 16 patients across 664.9 hours of data and 121 seizures. An offline combinatorial analysis evaluated pipeline decisions (referencing, frequency bands, functional connectivity metrics, and classifiers). The highest-performing offline elements, namely monopolar referencing, cross-correlation-based connectivity matrices, and Random Forests classifiers, were evaluated under realistic class imbalances in a pseudo-prospective online framework. Candidate models (N = 1,000 per patient) were evolved across continuous streams, while a data-driven approach targeted patient-specific epileptogenic networks for input channel reduction.  ResultsTransitioning from offline to online evaluation demonstrated a prominent performance drop, with mean AUROC degrading from 90% to 57.9%, confirming offline metrics conceal temporal neural drift. However, our online evolutionary framework identified models achieving complete event-level seizure prediction in 75% of patients (and all but one seizure in 87.5%). Restricting inputs to the estimated epileptogenic network identified using our previously proposed approach reduced implanted contact requirements by 79.12% while providing superior predictive performance over clinically resected areas.  SignificanceThis work demonstrates that actionable, deterministic seizure prediction is achievable when paired with modern computational capability. Because 1,000 candidate models represent a conservative proof-of-concept search budget, scaling search spaces in production environments can further expand optimal interictal sampling and prediction yields. By providing both a continuous benchmark dataset and a standardized online evaluation protocol, this framework offers a foundation for self-adapting closed-loop devices capable of post-event retraining and long-term deployment in clinical neuromodulatory  Key PointsO_LIFirst publicly available continuous long-term iEEG dataset for seizure prediction, with the largest patient and channel count to date. C_LIO_LIThe proposed framework predicted all seizures in 75% of patients, and all but one seizure in 87.5% of patients. C_LIO_LIOnline evaluation reveals substantial performance overestimation in offline testing, highlighting the need for realistic BCI validation. C_LIO_LIEpileptogenic network-based channel selection achieves comparable predictive performance with around 79% fewer implanted contacts. C_LIO_LIClassifier choice and functional connectivity metric are the dominant drivers of seizure prediction performance across the pipeline. C_LI
ER  -