Unsupervised seizure annotation and detection with neural dynamic divergence
Ojemann, W. K. S.; Xu, Z.; Shi, H.; Walsh, K.; Pattnaik, A. R.; Sinha, N.; Lavelle, S.; Aguila, C.; Gallagher, R.; Revell, A. Y.; LaRocque, J. J.; Korzun, J.; Kulick-Soper, C. V.; Zhou, D. J.; Galer, P. D.; Sinha, S. R.; Shinohara, R.; Davis, K. A.; Litt, B.; Conrad, E. C.
Show abstract
Annotating seizure onset and spread in intracranial EEG is essential for epilepsy surgical planning, yet manual annotation is unreliable and cannot scale to large datasets. We introduce Neural Dynamic Divergence (NDD), an unsupervised framework that detects seizure activity by measuring deviation from patient-specific baseline neural dynamics using autoregressive models. NDD requires no labeled training data and adapts to individual patients, channels, and brain states. Validating against expert consensus annotations from 46 seizures, NDD achieves human-level agreement ({phi} = 0.58 vs. inter-rater{phi} = 0.64) and outperforms existing algorithms on 1,019 seizures with soft labels (AUROC = 0.87). We demonstrate clinical utility by automatically annotating 2,017 seizures, revealing that seizure spread patterns distinguish epilepsy subtypes and predict surgical outcomes. NDD also generalizes to continuous ICU scalp EEG monitoring (AUROC = 0.77). We provide NDD as an open-source Python package to enable scalable seizure annotation across research centers.
Matching journals
The top 8 journals account for 50% of the predicted probability mass.