Abstract
Deep learning for automated interictal epileptiform discharge (IED) detection has been topical with many published papers in recent years. All existing work viewed EEG signals as time-series and developed specific models for IED classification; however, general time-series classification (TSC) methods were not considered. Moreover, none of these methods were evaluated on any public datasets, making direct comparisons challenging. This paper explored two state-of-the-art convolutional-based TSC algorithms, InceptionTime and Minirocket, on IED detection. We fine-tuned and cross-evaluated them on two private and public (Temple University Events - TUEV) datasets and provided ready metrics for benchmarking future work. We observed that the optimal parameters correlated with the clinical duration of an IED and achieved the best AUC, AUPRC and F1 scores of 0.98, 0.80 and 0.77 on the private datasets, respectively. The AUC, AUPRC and F1 on TUEV were 0.99, 0.99 and 0.97, respectively. While algorithms trained on the private sets maintained the performance when tested on the TUEV data, those trained on TUEV could not generalise well to the private data. These results emerge from differences in the class distributions across datasets and indicate a need for public datasets with a better diversity of IED waveforms, background activities and artifacts to facilitate standardisation and benchmarking of algorithms.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
The study was funded by the Graduate Research Industry Scholarship (GRIP) at Monash University, Australia.
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:
This study was conducted with approval from the Alfred Health Ethics Committee (Project No: 745/19)
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 and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.
Yes
Data Availability
All data produced in the present study are available upon reasonable request to the authors