SeizFt: Interpretable Machine Learning for Seizure Detection Using Wearables

This work presents SeizFt—a novel seizure detection framework that utilizes machine learning to automatically detect seizures using wearable SensorDot EEG data. Inspired by interpretable sleep staging, our novel approach employs a unique combination of data augmentation, meaningful feature extraction, and an ensemble of decision trees to improve resilience to variations in EEG and to increase the capacity to generalize to unseen data. Fourier Transform (FT) Surrogates were utilized to increase sample size and improve the class balance between labeled non-seizure and seizure epochs. To enhance model stability and accuracy, SeizFt utilizes an ensemble of decision trees through the CatBoost classifier to classify each second of EEG recording as seizure or non-seizure. The SeizIt1 dataset was used for training, and the SeizIt2 dataset for validation and testing. Model performance for seizure detection was evaluated using two primary metrics: sensitivity using the any-overlap method (OVLP) and False Alarm (FA) rate using epoch-based scoring (EPOCH). Notably, SeizFt placed first among an array of state-of-the-art seizure detection algorithms as part of the Seizure Detection Grand Challenge at the 2023 International Conference on Acoustics, Speech, and Signal Processing (ICASSP). SeizFt outperformed state-of-the-art black-box models in accurate seizure detection and minimized false alarms, obtaining a total score of 40.15, combining OVLP and EPOCH across two tasks and representing an improvement of ~30% from the next best approach. The interpretability of SeizFt is a key advantage, as it fosters trust and accountability among healthcare professionals. The most predictive seizure detection features extracted from SeizFt were: delta wave, interquartile range, standard deviation, total absolute power, theta wave, the ratio of delta to theta, binned entropy, Hjorth complexity, delta + theta, and Higuchi fractal dimension. In conclusion, the successful application of SeizFt to wearable SensorDot data suggests its potential for real-time, continuous monitoring to improve personalized medicine for epilepsy.

[1]  E. Vogel,et al.  Trade-off between Gradual Set and On/Off Ratio in HfOx-Based Analog Memory with a Thin SiOx Barrier Layer , 2023, ACS applied electronic materials.

[2]  S. Rheims,et al.  Assessing epilepsy-related autonomic manifestations: Beyond cardiac and respiratory investigations , 2023, Neurophysiologie Clinique.

[3]  B. Chakrabarti,et al.  Asymmetric Resistive Switching of Bilayer HfOx/AlOy and AlOy/HfOx Memristors: The Oxide Layer Characteristics and Performance Optimization for Digital Set and Analog Reset Switching , 2023, ACS Applied Electronic Materials.

[4]  W. van Paesschen,et al.  Multimodal detection of typical absence seizures in home environment with wearable electrodes , 2022, Frontiers in Signal Processing.

[5]  Cassie S. Mitchell,et al.  SERF: Interpretable Sleep Staging using Embeddings, Rules, and Features , 2022, CIKM.

[6]  Yan Li,et al.  An EEG based real-time epilepsy seizure detection approach using discrete wavelet transform and machine learning methods , 2022, Biomed. Signal Process. Control..

[7]  J. Gramacki,et al.  A deep learning framework for epileptic seizure detection based on neonatal EEG signals , 2022, Scientific Reports.

[8]  N. Vandenbussche,et al.  Do not sleep on traditional machine learning: Simple and interpretable techniques are competitive to deep learning for sleep scoring , 2022, Biomed. Signal Process. Control..

[9]  R. B. Pachori,et al.  EEG signal based seizure detection focused on Hjorth parameters from tunable-Q wavelet sub-bands , 2022, Biomed. Signal Process. Control..

[10]  Ziwei Wang,et al.  Seizure classification with selected frequency bands and EEG montages: a Natural Language Processing approach , 2022, Brain Informatics.

[11]  E. Vogel,et al.  Impact of oxygen concentration at the HfOx/Ti interface on the behavior of HfOx filamentary memristors , 2022, Journal of Materials Science.

[12]  W. van Paesschen,et al.  Automatic annotation correction for wearable EEG based epileptic seizure detection , 2022, Journal of neural engineering.

[13]  B. Vucetic,et al.  Significant Low-Dimensional Spectral-Temporal Features for Seizure Detection , 2022, IEEE Transactions on Neural Systems and Rehabilitation Engineering.

[14]  Shuxin Yao,et al.  Epileptic Seizure Detection Based on Bidirectional Gated Recurrent Unit Network , 2022, IEEE Transactions on Neural Systems and Rehabilitation Engineering.

[15]  Resmi Cherian,et al.  Theoretical and methodological analysis of EEG based seizure detection and prediction: An exhaustive review , 2022, Journal of Neuroscience Methods.

[16]  Sofie Van Hoecke,et al.  Tsflex: Flexible Time Series Processing & Feature Extraction , 2021, SoftwareX.

[17]  Philippa J. Karoly,et al.  Seizure Diaries and Forecasting With Wearables: Epilepsy Monitoring Outside the Clinic , 2021, Frontiers in Neurology.

[18]  Saraju P. Mohanty,et al.  EZcap: A Novel Wearable for Real-Time Automated Seizure Detection From EEG Signals , 2021, IEEE Transactions on Consumer Electronics.

[19]  P. Arbeláez,et al.  Automatic seizure detection based on imaged-EEG signals through fully convolutional networks , 2020, Scientific Reports.

[20]  Anup D. Patel,et al.  Seizure detection devices and health-related quality of life: A patient- and caregiver-centered evaluation , 2020, Epilepsy & Behavior.

[21]  Natalia Gimelshein,et al.  PyTorch: An Imperative Style, High-Performance Deep Learning Library , 2019, NeurIPS.

[22]  M. Thompson,et al.  Seizure detection watch improves quality of life for adolescents and their families , 2019, Epilepsy & Behavior.

[23]  Johannes L. Schönberger,et al.  SciPy 1.0: fundamental algorithms for scientific computing in Python , 2019, Nature Methods.

[24]  Quoc V. Le,et al.  Unsupervised Data Augmentation for Consistency Training , 2019, NeurIPS.

[25]  M. Shamim Hossain,et al.  Applying Deep Learning for Epilepsy Seizure Detection and Brain Mapping Visualization , 2019, ACM Trans. Multim. Comput. Commun. Appl..

[26]  Christina L. Ross Energy Medicine: Current Status and Future Perspectives , 2019, Global advances in health and medicine.

[27]  D. Erhan,et al.  A Benchmark for Interpretability Methods in Deep Neural Networks , 2018, NeurIPS.

[28]  S. Lhatoo,et al.  Seizure detection: do current devices work? And when can they be useful? , 2018, Current Neurology and Neuroscience Reports.

[29]  Joseph Picone,et al.  The Temple University Hospital Seizure Detection Corpus , 2018, Front. Neuroinform..

[30]  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.

[31]  Anna Veronika Dorogush,et al.  CatBoost: unbiased boosting with categorical features , 2017, NeurIPS.

[32]  Scott Lundberg,et al.  A Unified Approach to Interpreting Model Predictions , 2017, NIPS.

[33]  Wolfram Burgard,et al.  Deep learning with convolutional neural networks for EEG decoding and visualization , 2017, Human brain mapping.

[34]  Hiba A. Haider,et al.  Sensitivity of quantitative EEG for seizure identification in the intensive care unit , 2016, Neurology.

[35]  Jane Hanna,et al.  Safe and sound? A systematic literature review of seizure detection methods for personal use , 2016, Seizure.

[36]  R. Shellhaas Continuous long-term electroencephalography: the gold standard for neonatal seizure diagnosis. , 2015, Seminars in fetal & neonatal medicine.

[37]  Jeanne T Paz,et al.  Microcircuits and their interactions in epilepsy: is the focus out of focus? , 2015, Nature Neuroscience.

[38]  K. Staley Molecular mechanisms of epilepsy , 2015, Nature Neuroscience.

[39]  W. Stacey,et al.  On the nature of seizure dynamics. , 2014, Brain : a journal of neurology.

[40]  Martin Luessi,et al.  MEG and EEG data analysis with MNE-Python , 2013, Front. Neuroinform..

[41]  Yusuf Uzzaman Khan,et al.  Automatic Seizure Detection using Inter Quartile Range , 2012 .

[42]  Gaël Varoquaux,et al.  Scikit-learn: Machine Learning in Python , 2011, J. Mach. Learn. Res..

[43]  G. Lightbody,et al.  A comparison of quantitative EEG features for neonatal seizure detection , 2008, Clinical Neurophysiology.

[44]  W. Hauser Seizure Disorders: The Changes With Age , 1992, Epilepsia.

[45]  R. Hanus,et al.  Towards a Better Understanding of the Forming and Resistive Switching Behavior of Ti-Doped HfOx RRAM , 2022, Journal of Materials Chemistry C.

[46]  Kebin Jia,et al.  A Multi-View Deep Learning Framework for EEG Seizure Detection , 2019, IEEE Journal of Biomedical and Health Informatics.

[47]  B. Pohlmann-Eden,et al.  First seizure: EEG and neuroimaging following an epileptic seizure , 2008, Epilepsia.