ECG-Based Semi-Supervised Anomaly Detection for Early Detection and Monitoring of Epileptic Seizures

Int J Environ Res Public Health. 2023 Mar 12;20(6):5000. doi: 10.3390/ijerph20065000.

Abstract

Epilepsy is one of the most common brain diseases, characterized by frequent recurrent seizures or "ictal" states. A patient experiences uncontrollable muscular contractions, inducing loss of mobility and balance, which may result in injury or even death during these ictal states. Extensive investigation is vital to establish a systematic approach for predicting and informing patients about oncoming seizures ahead of time. Most methodologies developed are focused on the detection of abnormalities using mostly electroencephalogram (EEG) recordings. In this regard, research has indicated that certain pre-ictal alterations in the Autonomic Nervous System (ANS) can be detected in patient electrocardiogram (ECG) signals. The latter could potentially provide the basis for a robust seizure prediction approach. The recently proposed ECG-based seizure warning systems utilize machine learning models to classify a patient's condition. Such approaches require the incorporation of large, diverse, and thoroughly annotated ECG datasets, limiting their application potential. In this work, we investigate anomaly detection models in a patient-specific context with low supervision requirements. Specifically, we consider One-Class SVM (OCSVM), Minimum Covariance Determinant (MCD) Estimator, and Local Outlier Factor (LOF) models to quantify the novelty or abnormality of pre-ictal short-term (2-3 min) Heart Rate Variability (HRV) features of patients, trained on a reference interval considered to contain stable heart rate as the only form of supervision. Our models are evaluated against labels that were either hand-picked or automatically generated (weak labels) by a two-phase clustering procedure for samples of the "Post-Ictal Heart Rate Oscillations in Partial Epilepsy" (PIHROPE) dataset recorded by the Beth Israel Deaconess Medical Center, Harvard Medical School, Boston, Massachusetts, achieving detection in 9 out of 10 cases, with average AUCs of over 93% across all models and warning times ranging from 6 to 30 min prior to seizure. The proposed anomaly detection and monitoring approach can potentially pave the way for early detection and warning of seizure incidents based on body sensor inputs.

Keywords: anomaly detection; electrocardiogram; epilepsy; heart rate variability; seizure prediction; semi-supervised.

MeSH terms

  • Electrocardiography
  • Electroencephalography / methods
  • Epilepsy* / diagnosis
  • Heart Rate / physiology
  • Humans
  • Seizures / diagnosis

Grants and funding

This research received no external funding.