Deep net detection and onset prediction of electrographic seizure patterns in responsive neurostimulation

Abstract

Objective

Managing the progress of drug-resistant epilepsy patients implanted with the responsive neurostimulation (RNS) system requires the manual evaluation of hundreds of hours of intracranial recordings. The generation of these large amounts of data and the scarcity of experts’ time for evaluation, necessitates the development of automatic tools to detect intracranial electroencephalographic seizure patterns (iESPs) with expert-level accuracy. We developed an intelligent system for identifying the presence and onset time of iESPs in intracranial EEG (iEEG) recordings from the RNS device.

Methods

An iEEG dataset from 24 patients (36293 recordings) recorded by the RNS system was used for training and evaluating a neural network model (iESPnet). The model was trained to identify the probability of seizure onset at each sample point of the iEEG. The reliability of the net was assessed and compared to baseline methods, including detections made by the device. iESPnet performance was measured using balanced accuracy and the F1 score for iESP detection. The prediction time was assessed via both the error and the mean absolute error. The model was evaluated following a hold-one-out strategy, and then validated in a separate cohort of 26 patients from a different medical center.

Results

iESPnet detected the presence of an iESP with mean accuracy value of 90%, and an onset time error prediction of approximately 3.4 seconds. There was no relationship between electrode location and prediction outcome. Model outputs were well calibrated and unbiased by the RNS detections. Validation on a separate cohort further supported iESPnet applicability in real clinical scenarios. Importantly, RNS device detections were found to be less accurate and delayed in non-responders, therefore tools to improve the accuracy of seizure detection are critical for increasing therapeutic efficacy.

Significance

iESPnet is a reliable and accurate tool with the potential to alleviate the time-consuming manual inspection of iESPs and facilitate the evaluation of therapeutic response in RNS-implanted patients.

0