Unsupervised automatic seizure detection for focal-onset seizures recorded with behind-the-ear EEG using an anomaly-detecting generative adversarial network

Comput Methods Programs Biomed. 2020 Sep:193:105472. doi: 10.1016/j.cmpb.2020.105472. Epub 2020 Mar 23.

Abstract

Background and objective: Epilepsy is a neurological disorder of the brain, which involves recurrent seizures. An encephalogram (EEG) is a gold standard method in the detection and analysis of epileptic seizures. However, the standard EEG recording system is too obstructive to be used in daily life. Behind-the-ear EEG is an alternative approach to record EEG conveniently. Previous researchers applied machine learning to automatically detect seizures with EEG, but the epileptic EEG waveform contains subtle changes that are difficult to be identified. Furthermore, the extremely small proportion of ictal events in the long-term monitoring may cause the imbalance problem and, consequently, poor prediction performance in supervised learning approaches. In this study, we present an automatic seizure detection algorithm with a generative adversarial network (GAN) trained by unsupervised learning and evaluated it with behind-the-ear EEG.

Methods: We recorded behind-the-ear EEGs from 12 patients who have various types of epilepsy. Data were reviewed separately by two epileptologists, who determined the onsets and ends of seizures. First, we conducted unsupervised learning with the normal records for the GAN to learn the representation of normal states. Second, we performed automatic seizure detection with the trained GAN as an anomaly detector. Last, we combined the Gram matrix with other anomaly losses to improve detection performance.

Results: The proposed approach achieved detection performance with an area under the receiver operating curve of 0.939 and sensitivity of 96.3% with a false alarm rate of 0.14 per hour in the test dataset. In addition, we confirmed distinguishability with the distribution of the anomaly scores in terms of EEG frequency bands.

Conclusions: It is expected that the proposed anomaly detection via GAN with the behind-the-ear EEG can be effectively used for long-term seizure monitoring in daily life.

Keywords: Deep learning; Electroencephalography; Epilepsy; Generative adversarial network; Seizures.

MeSH terms

  • Algorithms
  • Electroencephalography
  • Epilepsy* / diagnosis
  • Humans
  • Machine Learning
  • Seizures* / diagnosis