A Two-Stage Automatic System for Detection of Interictal Epileptiform Discharges from Scalp Electroencephalograms

eNeuro. 2023 Nov 21;10(11):ENEURO.0111-23.2023. doi: 10.1523/ENEURO.0111-23.2023. Print 2023 Nov.

Abstract

The objective of this work was to develop a deep learning-based automatic system with reliable performance in detecting interictal epileptiform discharges (IEDs) from scalp electroencephalograms (EEGs). For the present study, 484 raw scalp EEG recordings were included, standardized, and split into 406 for training and 78 for testing. Two neurophysiologists individually annotated the recordings for training in channel-wise manner. Annotations were divided into segments, on which nine deep neural networks (DNNs) were trained for the multiclassification of IED, artifact, and background. The fitted IED detectors were then evaluated on 78 EEG recordings with IED events fully annotated by three experts independently (majority agreement). A two montage-based decision mechanism (TMDM) was designed to determine whether an IED event occurred at a single time instant. Area under the precision-recall curve (AUPRC), as well as false-positive rates, F1 scores, and kappa agreement scores for sensitivity = 0.8 were estimated. In multitype classification, five DNNs provided one-versus-rest AUPRC mean value >0.993 using fivefold cross-validation. In IED detection, the system that had integrated the temporal convolutional network (TCN)-based IED detector and the TMDM rule achieved an AUPRC of 0.811. The false positive was 0.194/min (11.64/h), and the F1 score was 0.745. The agreement score between the system and the experts was 0.905. The proposed framework provides a TCN-based IED detector and a novel two montage-based determining mechanism that combined to make an automatic IED detection system. The system would be useful in aiding clinic EEG interpretation.

Keywords: automatic interpretation; deep learning; electroencephalograms; interictal epileptiform discharges; temporal convolutional network.

MeSH terms

  • Area Under Curve
  • Electroencephalography
  • Epilepsy* / diagnosis
  • Humans
  • Neural Networks, Computer
  • Scalp