Abstract
Objective Closed-loop neurostimulation is a promising treatment for drug-resistant focal epilepsy. A major challenge is fast and reliable seizure detection via electroencephalography (EEG). While many approaches have been published, they often lack statistical power and practical utility. The use of various EEG preprocessing parameters and performance metrics hampers comparability. Additionally, the critical issue of energy consumption for an application in medical devices is rarely considered. Addressing these points, we present a systematic analysis on the impact of EEG preprocessing parameters on seizure detection performance and energy consumption, using one to four EEG channels.
Methods We analyzed in 145 patients with focal epilepsy the impact of different sampling rates, window sizes, digital resolutions and number of EEG channels on seizure detection performance and energy consumption. Focusing on clinically relevant, event-based metrics, we evaluated seizure detection performance of a state-of-the-art convolutional neural network (CNN) via the Seizure Community Open-Source Research Evaluation (SzCORE) framework. Statistical relevance of parameter changes was assessed using linear mixed-effects models. Energy consumption was analyzed using an ultra-low-power microcontroller.
Results Reducing the sampling rate from 256 to 64 Hz led to a decrease in sensitivity (p = .015) and false detections per hour (FD/h; p = .002). Larger window sizes reduced sensitivity between 1 and 8 second windows (p = .033) and FD/h between one second and all other sizes (all p values < .001). Average detection delays increased between one second and 4 and 8 second windows (both p < .01). Lower digital resolutions decreased sensitivity between 16 and 8 bits (p = .007). Compared to four channels, using only one EEG channel resulted in a decrease in sensitivity (p < .001) and an increase in the average detection delay (p = .020), but showed less FD/h (p = .005). CNN energy consumption decreased from 49.15 to 17.26 µJ/s when the sampling rate was reduced from 256 to 64 Hz. Lowering the number of channels from four to one reduced the CNN energy consumption from 79.04 to 31.63 µJ/s.
Significance This study provides guidance on choosing EEG preprocessing parameters for innovative developments of closed-loop neurostimulation devices to further advance the treatment of drug-resistant focal epilepsy.
Key points
A major challenge in closed-loop neurostimulation is fast and reliable seizure detection, ideally with minimal energy consumption.
Many published seizure detection approaches are not ready for application and lack statistical power and comparability.
The impact of EEG preprocessing parameters was systematically evaluated in 145 patients with focal epilepsy.
The chosen window size and number of channels had the strongest impact on seizure detection performance and energy consumption.
Our results offer guidance for EEG preprocessing choices to advance the treatment of drug-resistant focal epilepsy.
Competing Interest Statement
PR and CA are employees of Precisis GmbH. ASB has received research support and personal honoraria for lectures and advice from Precisis GmbH. The remaining authors have no conflicts of interest.
Funding Statement
This work was supported by the German federal state of Baden-Wuerttemberg, through the Invest BW Project "Brain-MEP" (BW1_1276/03).
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
The Ethics Committees of the three hospitals involved in the development of the EPILEPSIAE database (Ethik-Kommission der Albert-Ludwigs-Universitaet, Freiburg; Comite consultatif sur le traitement de l'information en matiere de recherche dans le domaine de la sante, Hospital Universitario Pitie-Salpetriere; and Ethics Committee of the Centro Hospitalar e Universitario de Coimbra) gave ethical approval for this work.
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Footnotes
Table S10 & Figure S1 revised; Supplementary material updated.
Data availability statement
The data and code to reproduce figures and statistics are available at GitHub (https://github.com/reispat/impact_preproc_seizure_detection).