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

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.

[1]  Ahmed Lakhssassi,et al.  Temporal epilepsy seizures monitoring and prediction using cross-correlation and chaos theory. , 2014, Healthcare technology letters.

[2]  J. H. Cross,et al.  ILAE Official Report: A practical clinical definition of epilepsy , 2014, Epilepsia.

[3]  Geoffrey E. Hinton,et al.  ImageNet classification with deep convolutional neural networks , 2012, Commun. ACM.

[4]  G. Lindinger,et al.  Prospective multi-center study of an automatic online seizure detection system for epilepsy monitoring units , 2015, Clinical Neurophysiology.

[5]  Leon A. Gatys,et al.  Image Style Transfer Using Convolutional Neural Networks , 2016, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[6]  Geoffrey E. Hinton,et al.  Deep Learning , 2015, Nature.

[7]  Georg Langs,et al.  Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery , 2017, IPMI.

[8]  H. Adeli,et al.  Analysis of EEG records in an epileptic patient using wavelet transform , 2003, Journal of Neuroscience Methods.

[9]  Preben Kidmose,et al.  In-Ear EEG From Viscoelastic Generic Earpieces: Robust and Unobtrusive 24/7 Monitoring , 2016, IEEE Sensors Journal.

[10]  Jae Chul Yoo,et al.  Development of an automatic muscle atrophy measuring algorithm to calculate the ratio of supraspinatus in supraspinous fossa using deep learning , 2019, Comput. Methods Programs Biomed..

[11]  Christoph Baumgartner,et al.  Seizure detection using scalp‐EEG , 2018, Epilepsia.

[12]  C. Elger,et al.  Epilepsy: accuracy of patient seizure counts. , 2007, Archives of neurology.

[13]  P. Pattynama,et al.  Receiver operating characteristic (ROC) analysis: basic principles and applications in radiology. , 1998, European journal of radiology.

[14]  S. Debener,et al.  Unobtrusive ambulatory EEG using a smartphone and flexible printed electrodes around the ear , 2015, Scientific Reports.

[15]  Elisabeth Pauli,et al.  When do patients forget their seizures? An electroclinical study , 2006, Epilepsy & Behavior.

[16]  U. Rajendra Acharya,et al.  Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals , 2017, Comput. Biol. Medicine.

[17]  Frank Gilliam,et al.  Significance of interictal temporal lobe delta activity for localization of the primary epileptogenic region , 1999, Neurology.

[18]  Yuan Yu,et al.  TensorFlow: A system for large-scale machine learning , 2016, OSDI.

[19]  Martial Hebert,et al.  A Discriminative Framework for Anomaly Detection in Large Videos , 2016, ECCV.

[20]  T. Mihara,et al.  Awareness and Responsiveness During Partial Seizures , 1998, Epilepsia.

[21]  U. Rajendra Acharya,et al.  Automated EEG analysis of epilepsy: A review , 2013, Knowl. Based Syst..

[22]  S. Debener,et al.  Concealed, Unobtrusive Ear-Centered EEG Acquisition: cEEGrids for Transparent EEG , 2017, Front. Hum. Neurosci..

[23]  Han-Jeong Hwang,et al.  Effects of Different Re-referencing Methods on Spontaneously Generated Ear-EEG , 2019, Front. Neurosci..

[24]  S. Debener,et al.  How about taking a low-cost, small, and wireless EEG for a walk? , 2012, Psychophysiology.

[25]  Stefania Matteoli,et al.  An Overview of Background Modeling for Detection of Targets and Anomalies in Hyperspectral Remotely Sensed Imagery , 2014, IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing.

[26]  Yoshua Bengio,et al.  Generative Adversarial Nets , 2014, NIPS.

[27]  P. Kidmose,et al.  Ear-EEG detects ictal and interictal abnormalities in focal and generalized epilepsy – A comparison with scalp EEG monitoring , 2017, Clinical Neurophysiology.

[28]  Chuan Li,et al.  Precomputed Real-Time Texture Synthesis with Markovian Generative Adversarial Networks , 2016, ECCV.

[29]  K. Rosenkranz,et al.  An in-the-ear platform for recording electroencephalogram , 2011, 2011 Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[30]  Guang Yang,et al.  DAGAN: Deep De-Aliasing Generative Adversarial Networks for Fast Compressed Sensing MRI Reconstruction , 2018, IEEE Transactions on Medical Imaging.

[31]  Wim Van Paesschen,et al.  Comparison between Scalp EEG and Behind-the-Ear EEG for Development of a Wearable Seizure Detection System for Patients with Focal Epilepsy , 2017, Sensors.

[32]  D. Jang,et al.  A data-driven artificial intelligence model for remote triage in the prehospital environment , 2018, PloS one.