| Literature DB >> 34754043 |
Mona Nasseri1,2, Tal Pal Attia1, Boney Joseph1, Nicholas M Gregg1, Ewan S Nurse3,4, Pedro F Viana5,6, Gregory Worrell1, Matthias Dümpelmann7, Mark P Richardson5, Dean R Freestone3, Benjamin H Brinkmann8,9.
Abstract
The ability to forecast seizures minutes to hours in advance of an event has been verified using invasive EEG devices, but has not been previously demonstrated using noninvasive wearable devices over long durations in an ambulatory setting. In this study we developed a seizure forecasting system with a long short-term memory (LSTM) recurrent neural network (RNN) algorithm, using a noninvasive wrist-worn research-grade physiological sensor device, and tested the system in patients with epilepsy in the field, with concurrent invasive EEG confirmation of seizures via an implanted recording device. The system achieved forecasting performance significantly better than a random predictor for 5 of 6 patients studied, with mean AUC-ROC of 0.80 (range 0.72-0.92). These results provide the first clear evidence that direct seizure forecasts are possible using wearable devices in the ambulatory setting for many patients with epilepsy.Entities:
Mesh:
Year: 2021 PMID: 34754043 PMCID: PMC8578354 DOI: 10.1038/s41598-021-01449-2
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Figure 1(a) Data flow diagram of ambulatory data recorded by wearable sensors, transferred via cloud storage, and analyzed using deep learning. Ambulatory data recorded using Empatica E4 wristbands was uploaded regularly to cloud storage by patients and was downloaded by study staff. Patients uploaded RNS data as part of routine clinical care, and the iEEG clips were reviewed for seizure activity. (b) Architecture of machine learning classifier with 4 LSTM layers, 128 hidden nodes, one dropout layer after each LSTM layer with a dropout rate of 0.2, a fully connected layer, and an output layer to generate the classification output using a sigmoid activation function. (c) Raw wearable data plotted showing accelerometry, EDA, temperature, and blood volume pulse with derived heart rate for a preictal segment from 75 to 15 min before the approximate seizure time (green).
Cohort demographics, epilepsy characteristics, and data characteristics.
| Age | Gender | Age of onset | Wristband location | Epilepsy type | Epilepsy localization | Predominant seizure semiology | Anti-seizures meds (mg/day) | Median stims per day | Participation (days) | Recorded data (days) | Training data days (seizures) | Test data days (seizures) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 21 | F | 15 | Left wrist | Focal onset impaired awareness seizures, and focal to bilateral tonic–clonic seizures | Left temporal | Initial sense of fear, followed by receptive aphasia, subjective sensation of feeling warm and diaphoretic, and gagging and retching. May progress to generalized convulsions | Levetiracetam XR, 4500 | 1640 | 242 | 207 | 55 (4) | 152 (3) |
| 42 | F | 9 | Left wrist | Focal onset impaired awareness seizures | Left frontocentral | Eyes moved to the left side with brief twitching, followed by flexion of upper extremities | Felbamate 2700, Lamotrigine 600, Levetiracetam 4000 | 340 | 200 | 188.3 | 85 (7) | 103 (9) |
| 38 | F | 20 | Right wrist | Focal onset impaired awareness seizures, and focal to bilateral tonic–clonic seizures | Left parietocentral and right frontocentral (L > R) | Vision difficulties, swallowing difficulties, and speaking difficulties prior to seizure onset followed by right extremity jerking and behavioral arrest with loss of awareness. May progress to generalized convulsions | Gabapentin 1200, Levetiracetam 2500, Vimpat 600 | 898 | 236 | 193.3 | 96 (17) | 97 (11) |
| 41 | M | 4 | Left wrist | Focal onset impaired awareness seizures, and focal to bilateral tonic–clonic seizures | Left temporal | Unresponsive with lip smacking, impaired awareness, hand movements and may progress to generalized convulsions | Qudexy XR 100, Levetiracetam 6000 | 484 | 370 | 327.5 | 140 (4) | 187.4 (6) |
| 53 | M | 18 | Right wrist | Focal onset aware seizures, and tonic–clonic seizures | Independent bitemporal | Staring with speech arrest and no movements, possible posturing of extremity, and automatisms. Rare convulsive seizures | Lamotrigine 200 | 1566 | 265 | 252.2 | 66 (31) | 185.3 (171) |
| 27 | M | 12 | Left wrist | Focal onset impaired awareness seizures | Left temporal | Staring and unresponsiveness, sometimes with laughter-like vocalization | Lacosamide 200 | 1542 | 166 | 152.5** | 76 (7) | 76.2 (8) |
The median (range) age was 39.5 (21–53) years, and the cohort consisted of three males and three females. Lead seizures are reported and clustered (< 4 h separation) seizures were not included.
**662 h of recording excluded due to bad BVP and HR signals.
Intra-subject performance of forecasting algorithm.
| Age | Gender | Good quality BVP (%) | Good quality EDA (%) | AUC-ROC | Sensitivity | Time in warning (H/day) | P-value | Mean pre-seizure alert (minutes) | Random AUC mean (st. dev.) | Improvement over chance |
|---|---|---|---|---|---|---|---|---|---|---|
| 21 | F | 77 | 54 | 0.88 | 0.66 | 3.4 | 0.049 | 30 | 0.54 (0.25) | 0.45 (0.32) |
| 42 | F | 91 | 77 | 0.75 | 0.66 | 7.04 | 0.010 | 42 | 0.50 (0.11) | 0.37 (0.16) |
| 38 | F | 78 | 63 | 0.75 | 0.72 | 7.2 | 0.002 | 29 | 0.50(0.08) | 0.40 (0.13) |
| 41 | M | 79 | 69 | 0.92 | 0.66 | 0.9 | 0.0002 | 28 | 0.48 (0.22) | 0.63 (0.08) |
| 53 | M | 76 | 85 | 0.50 | – | – | – | – | 0.47 (0.023) | |
| 27 | M | 82 | 88 | 0.72 | 0.62 | 6.4 | 0.024 | 36 | 0.51 (0.12) | 0.33 (0.18) |
P-values were computed using the method described by Snyder et al.[28]. The signal quality metrics were calculated according to techniques reported previously[27] and the percentage of the data with good quality was reported for EDA and BVP signals. Random AUC values were calculated by randomizing the seizure times for each subject and repeating the scoring 100 times for each subject. The sensitivity difference between results and random output was calculated at the same Time in Warning.
Figure 2The receiver operating characteristic (ROC) curve for ambulatory patients (Table 2). Five of six patients analyzed achieved seizure forecasts significantly more accurate than a chance predictor, with mean AUC-ROC of 0.80 (range 0.72–0.92).
Figure 3Influence of each signal and its related features on classifier performance. The algorithm was trained and tested five times with each signal removed, and the average AUC difference from the full result was calculated.