Three-Phase Seizure Segmentation in Stereotactic EEG Using Envelope-Based Multivariate Changepoint Analysis.

Kumar, Himanshu; Seshadri, N P Guhan; Martinez, David; Najm, Imad; Alexopoulos, Andreas; Bulacio, Juan C; Serletis, Demitre; Krishnan, Balu · Ann Biomed Eng · 2026

basic_science · Level V

Where this comes from

Abstract

Accurate segmentation of seizure phases in intracranial EEG is essential for characterizing seizure dynamics and supporting presurgical evaluation in drug-resistant focal epilepsy. This study examines whether a semi-supervised changepoint detection framework can reliably delineate ictal onset, intra-ictal transition, and seizure termination. A three-phase segmentation pipeline integrates multivariate envelope-based features, including root mean square amplitude, relative bandpower in the theta (4-8 Hz), alpha (8-13 Hz), beta (13-30 Hz), and gamma (30-80 Hz) bands, line length, and spectral entropy, with the Pruned Exact Linear Time algorithm. Features were extracted from sliding windows whose lengths and phase-specific weights were optimized using nested leave-one-subject-out cross-validation with Optuna. To ensure length invariance, analysis windows were randomly extended by 5-30 s before seizure onset and after seizure termination using real pre- and post-ictal data. Performance was evaluated on 179 seizure-onset-zone bipolar channels across 32 seizures from 10 patients. Mean absolute errors were <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mn>4.19</mn> <mo>±</mo> <mn>2.69</mn></mrow> </math> s for seizure onset, <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mn>6.93</mn> <mo>±</mo> <mn>5.75</mn></mrow> </math> s for intra-ictal transition, and <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mn>3.82</mn> <mo>±</mo> <mn>4.24</mn></mrow> </math> s for seizure termination. Detection accuracies within <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>±</mo> <mn>5</mn></mrow> </math> s were 71.6% for onset, 60.0% for transition, and 75.0% for termination. Phase-specific feature importance analysis revealed distinct and evolving contributions of amplitude-, spectral-, and complexity-based measures across seizure phases. The proposed framework achieves temporal precision comparable to reported inter-rater reliability (Cohen's <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>κ</mi> <mo>=</mo> <mn>0.35</mn></mrow> </math> -0.69) and provides an interpretable, data-driven approach for comprehensive seizure phase characterization, with potential utility in clinical decision-making.