Background and objective: Epilepsy is one of the most common neurologic diseases worldwide, and 30% of the patients live with uncontrolled seizures. For the safety of patients with epilepsy, an automatic seizure detection algorithm for continuous seizure monitoring in daily life is important to reduce risks related to seizures, including sudden unexpected death. Previous researchers applied machine learning to detect seizures with EEG, but the epileptic EEG waveform contains subtle changes that are difficult to identify. Furthermore, the imbalance problem due to the small proportion of ictal events caused poor prediction performance in supervised learning approaches. This study aimed to present a personalized deep learning-based anomaly detection algorithm for seizure monitoring with behind-the-ear electroencephalogram (EEG) signals.
Methods: We collected behind-the-ear EEG signals from 16 patients with epilepsy in the hospital and used them to develop and evaluate seizure detection algorithms. We modified the variational autoencoder network to learn the latent representation of normal EEG signals and performed seizure detection by measuring the anomalies in EEG signals using the trained network. To personalize the algorithm, we also proposed a method to calibrate the anomaly score for each patient by comparing the representations in the latent space.
Results: Our proposed algorithm showed a sensitivity of 90.4% with a false alarm rate of 0.83 per hour without personal calibration. On the other hand, the one-class support vector machine only showed a sensitivity of 84.6% with a false alarm rate of 2.17 per hour. Furthermore, our proposed model with personal calibration achieved 94.2% sensitivity with a false alarm rate of 0.29 while detecting 49 of 52 ictal events.
Conclusions: We proposed a novel seizure detection algorithm with behind-the-ear EEG signals via semi-supervised learning of an anomaly detecting variational autoencoder and personalization method of anomaly scoring by comparing latent representations. Our approach achieved improved seizure detection with high sensitivity and a lower false alarm rate.
Keywords: Anomaly detection; Behind-the-ear EEG; Deep learning; Epilepsy; Seizure detection; Variational autoencoder.
Copyright © 2021. Published by Elsevier B.V.