Publication:

Channel-Level Seizure Onset and Offset Detection in Stereo-EEG with Sub-Second Temporal Precision Using Machine Learning

Loading...
Thumbnail Image

Date

2026-05-15

Published Version

Published Version

Journal Title

Journal ISSN

Volume Title

Publisher

The Harvard community has made this article openly available. Please share how this access benefits you.

Research Projects

Organizational Units

Journal Issue

Citation

Bell, Grant James. 2026. Channel-Level Seizure Onset and Offset Detection in Stereo-EEG with Sub-Second Temporal Precision Using Machine Learning. Masters Thesis, Harvard Medical School.

Abstract

The analysis of stereo-EEG (SEEG) recordings is integral to the surgical treatment of patients with drug-resistant epilepsy. These data, recorded from intracerebral depth electrodes, provide the spatiotemporal resolution necessary to identify the seizure onset zone and characterize the epileptogenic network. While prior machine learning approaches have demonstrated strong performance on seizure detection benchmarks, they lack the resolution and computational scalability required to precisely localize seizure onset and offset for each individual recording channel. We propose a two-stage framework for automated channel-level seizure detection in SEEG recordings with sub-second precision. Our model combines a permutation-based coarse-grain detector that flags potential seizure events within the recording and a fine-grain detector that performs window-level classification within each detected interval to identify seizure onset and offset for each channel. Our dataset contained of 5723 hours of SEEG recordings and 677 annotated seizure events from 26 patients who underwent SEEG at Massachusetts General Hospital. When evaluated on a held-out test cohort of 12 seizure events from three patients, the coarse-grain detector achieved an F1 score of 0.608 and the fine-grain detector achieved an F1 score of 0.16 on the window level classification task. The fine-grain detector's low F1 score was driven by low precision, reflecting a tendency to over-predict seizure windows within intervals flagged by the coarse-detector. We also train and evaluate the fine-grain detector on the Bonn EEG dataset, where it achieves an F1 score of 0.981. Although the Bonn dataset is not directly comparable to our task of sub-second channel-level seizure onset and offset detection, it demonstrates strong performance on standard seizure classification tasks. In summary, this work combines a computationally efficient coarse-grain detector with a transformer-based fine-grain classifier for automated channel-level seizure detection in clinical SEEG recordings. This framework enables the generation channel-level seizure onset and offset predictions at the spatial and temporal resolution required for clinical analyses of the epileptic network while also addressing the computational constraints of analyzing large-scale multi-channel SEEG data.

Description

Other Available Sources

Research Data

Keywords

Epilepsy, Intracranial EEG, Machine Learning, Neurosurgery, Bioinformatics, Artificial intelligence, Medicine

Terms of Use

This article is made available under the terms and conditions applicable to Other Posted Material (LAA), as set forth at Terms of Service

Endorsement

Review

Supplemented By

Related Stories