Katrina L Dell1, Daniel E Payne1,2, Vaclav Kremen3,4, Matias I Maturana1,5, Vaclav Gerla4, Petr Nejedly3, Gregory A Worrell3, Lhotska Lenka4, Filip Mivalt3, Raymond C Boston1,6, Benjamin H Brinkmann3, Wendyl D'Souza1, Anthony N Burkitt2, David B Grayden2, Levin Kuhlmann1,7, Dean R Freestone5, Mark J Cook1. 1. Department of Medicine, St. Vincent's Hospital, University of Melbourne, Level 4, 29 Regent Street, Fitzroy, Victoria 3065, Australia. 2. Department of Biomedical Engineering, University of Melbourne, Melbourne, Victoria, Australia. 3. Department of Neurology, Mayo Clinic, Rochester, United States. 4. Czech Institute of Informatics, Robotics, and Cybernetics, Czech Technical University in Prague, Prague, Czech Republic. 5. Seer Medical, Melbourne, Victoria, Australia. 6. Department of Clinical Studies - NBC, University of Pennsylvania, School of Veterinary Medicine, Kennett Square, PA, United States. 7. Department of Data Science and AI, Faculty of Information and Technology, Monash University, Clayton, Victoria, Australia.
Abstract
BACKGROUND: While the effects of prolonged sleep deprivation (≥24 h) on seizure occurrence has been thoroughly explored, little is known about the effects of day-to-day variations in the duration and quality of sleep on seizure probability. A better understanding of the interaction between sleep and seizures may help to improve seizure management. METHODS: To explore how sleep and epileptic seizures are associated, we analysed continuous intracranial electroencephalography (EEG) recordings collected from 10 patients with refractory focal epilepsy undergoing ordinary life activities between 2010 and 2012 from three clinical centres (Austin Health, The Royal Melbourne Hospital, and St Vincent's Hospital of the Melbourne University Epilepsy Group). A total of 4340 days of sleep-wake data were analysed (average 434 days per patient). EEG data were sleep scored using a semi-automated machine learning approach into wake, stages one, two, and three non-rapid eye movement sleep, and rapid eye movement sleep categories. FINDINGS: Seizure probability changes with day-to-day variations in sleep duration. Logistic regression models revealed that an increase in sleep duration, by 1·66 ± 0·52 h, lowered the odds of seizure by 27% in the following 48 h. Following a seizure, patients slept for longer durations and if a seizure occurred during sleep, then sleep quality was also reduced with increased time spent aroused from sleep and reduced rapid eye movement sleep. INTERPRETATION: Our results suggest that day-to-day deviations from regular sleep duration correlates with changes in seizure probability. Sleeping longer, by 1·66 ± 0·52 h, may offer protective effects for patients with refractory focal epilepsy, reducing seizure risk. Furthermore, the occurrence of a seizure may disrupt sleep patterns by elongating sleep and, if the seizure occurs during sleep, reducing its quality.
BACKGROUND: While the effects of prolonged sleep deprivation (≥24 h) on seizure occurrence has been thoroughly explored, little is known about the effects of day-to-day variations in the duration and quality of sleep on seizure probability. A better understanding of the interaction between sleep and seizures may help to improve seizure management. METHODS: To explore how sleep and epileptic seizures are associated, we analysed continuous intracranial electroencephalography (EEG) recordings collected from 10 patients with refractory focal epilepsy undergoing ordinary life activities between 2010 and 2012 from three clinical centres (Austin Health, The Royal Melbourne Hospital, and St Vincent's Hospital of the Melbourne University Epilepsy Group). A total of 4340 days of sleep-wake data were analysed (average 434 days per patient). EEG data were sleep scored using a semi-automated machine learning approach into wake, stages one, two, and three non-rapid eye movement sleep, and rapid eye movement sleep categories. FINDINGS: Seizure probability changes with day-to-day variations in sleep duration. Logistic regression models revealed that an increase in sleep duration, by 1·66 ± 0·52 h, lowered the odds of seizure by 27% in the following 48 h. Following a seizure, patients slept for longer durations and if a seizure occurred during sleep, then sleep quality was also reduced with increased time spent aroused from sleep and reduced rapid eye movement sleep. INTERPRETATION: Our results suggest that day-to-day deviations from regular sleep duration correlates with changes in seizure probability. Sleeping longer, by 1·66 ± 0·52 h, may offer protective effects for patients with refractory focal epilepsy, reducing seizure risk. Furthermore, the occurrence of a seizure may disrupt sleep patterns by elongating sleep and, if the seizure occurs during sleep, reducing its quality.
We searched the literature for studies on sleep and seizures published in MEDLINE (from 1946 to June, 2020) and Embase (from 1974 to June, 2020). We used comprehensive search strategies combining terms “epilepsy”, “seizures”, “precipitants”, “sleep”, “deprivation”, “quality”, “composition”, “architecture”, “rapid eye movement”, and “non-rapid eye movement”. No language restrictions were applied. The bibliographies of relevant reviews and included journal articles were also inspected for additional relevant studies. While many authors accept that sleep has an important impact on seizure propensity, only 4 longitudinal studies have specifically addressed the effects of regular sleep duration variability on seizure likelihood. We did not find any longitudinal studies addressing the effects of sleep quality on seizure probability. Existing investigations have either relied on sleep and seizure diaries, which are known to be inaccurate, or on EEG collected within a hospital environment, which is unlikely to be representative of the true relationship between sleep and seizures and whose short-term (<14 days) nature lacks the statistical power for the analyses conducted here.
Added value of this study
Our study uses continuous data that was collected via intracranial EEG from ten patients undergoing ordinary life activities and spanned over months to years. This long-term data allowed us to explore the association between seizures and the duration and composition of sleep.
Implications of all the available evidence
A small increase in sleep duration was associated with a lower seizure propensity, though interestingly, a small reduction in sleep duration did not produce consistent effects. The occurrence of a seizure was followed by altered sleep patterns with patients sleeping for longer durations and if the seizure occurred during sleep, sleep quality was also reduced with an increased amount of time spent aroused from sleep and a decrease in rapid eye movement sleep.Alt-text: Unlabelled box
Introduction
Sleep and epileptic seizures share a complex and bidirectional relationship [1]. Deviations from normal sleep duration and quality can greatly influence the risk of a seizure [2]. In turn, the occurrence and treatment of seizures can disrupt normal sleep patterns [3], [4], [5]. Understanding the complexities of this relationship is an important step toward improving seizure management.While it is generally accepted that total sleep deprivation for periods of 24 h or longer can lead to seizures, even in individuals that do not have epilepsy [6,7], the role of partial sleep deprivation in promoting seizures remains controversial [8,9]. Of four studies using self-reported sleep and seizure information, three indicated that partial sleep deprivation increased the probability of a seizure [9-11], while the fourth reported a small degree (< 1 h) of sleep loss did not influence seizure occurrence at all [8]. To our knowledge, no electroencephalography (EEG) investigations have addressed the role of partial sleep deprivation.Similar uncertainty exists regarding the effects of sleep quality on seizure propensity in people with epilepsy. Typically, sleep quality is quantified by the absolute or percentage of time spent in each sleep stage as well as the degree of sleep fragmentation or time spent awake after sleep onset [12]. Sleep with more frequent/longer arousals, reduced rapid eye movement (REM) sleep, or reduced stage three non-rapid eye movement (NREM) sleep is generally considered to be less restorative [13]. Studies that have selectively manipulated REM sleep duration suggest that increased REM sleep may act to reduce cortical excitability and, in turn, seizure occurrence [14,15]. However, it is yet to be determined if day-to-day variations in REM sleep, deep sleep, or sleep fragmentation can influence seizure occurrence in humans.The influence of sleep on seizure risk is further complicated by the effects that seizures themselves have on sleep duration and quality. Short-term EEG investigations have shown following a focal impaired awareness or focal to bilateral tonic-clonic seizure, there is a reduction in the proportion of REM sleep. When the seizure occurs during sleep, this reduction in REM sleep is more pronounced and is accompanied by an increase in stage one NREM and decreases in stage two NREM and deep sleep [5]. Similar disruptions have been observed for up to four nights following generalised convulsive status epilepticus, where sleep consists predominantly of stage one NREM with minimal REM and deep sleep [16]. These alterations in sleep may play an important role in the generation of subsequent seizures.Until now, long-term (>1–2 weeks) investigations of sleep and epilepsy have relied on seizure diaries. This is problematic as seizure diaries are highly unreliable, with patients often reporting less than 50% of their seizures [17,18]. Furthermore, short-term EEG investigations do not have the statistical power to investigate the effects of subtle changes in sleep duration or quality on seizure occurrence. The small number of seizures collected per patient in a typical EEG study usually requires the data to be collapsed across patients for analyses, which is problematic given the high degree of variability that exists between individuals [19,20]. Furthermore, the majority of EEG data is collected in a hospital setting, often with medication withdrawal and deliberate sleep deprivation, which is unlikely to be representative of the true sleep and seizure trends that occur in day-to-day life.Here, we present the first study using long-term ambulatory intracranial EEG data (spanning several months to years for each patient) to investigate the relationship between sleep and seizures. Recordings were classified into sleep stages and analysed to describe sleep-wake patterns in our patient group. Our objective was to explore and define the bidirectional relationship between seizures and sleep duration and composition. Our results demonstrate that an increase in sleep duration is correlated with reduced seizure odds in the following 48 h, which may imply that increased sleep duration offers protective effects. Variability in sleep stage proportions produced variable effects across patients, with no significant change in the odds of a seizure in the following 48 h. The occurrence of a seizure is followed by longer sleep durations and, if a seizure occurs during sleep, sleep quality is reduced with a lower proportion of REM sleep and a greater proportion of time spent in brief arousal.
Methods
Data
The data used in this study were collected between 2010 and 2012 as part of the first-in-man clinical trial of an implantable seizure advisory system which was approved by the Human Research Ethics Committees of the three participating clinical centres: Austin Health, The Royal Melbourne Hospital, and St Vincent's Hospital of the Melbourne University Epilepsy Group (LRR145/13) [17]. Patient selection prioritised suitable seizure frequencies (between 2 and 12 per month) and adults with sufficient independence to make the implanted seizure advisory device useful for managing daily activities. All patients gave written informed consent before participation in the clinical trial. Fifteen patients with focal epilepsy were implanted with an intracranial EEG device recording at 400 Hz. Periods where the external device was not in range of the transmitter or periods where the device was not charged caused dropouts in the data. The patient cohort showed a range of demographic and clinical features that is typical of the wider refractory epilepsy population, with a range of aetiologies, and including patients on multiple anti-seizure drugs, as well as patients on minimal therapy. The patient details and recording durations are provided in Table 1. Patients 3, 4, 5, 7, and 14 from the original trial were excluded from analyses as we did not have sleep information for these patients. There were no significant differences between the included and excluded patient groups according to age (t(13)=0·76, p = 0·46), sex (X(1, N = 15)=1·25, p = 0·26), frequency of previous resection (X(1, N = 15)=0, p = 1), seizure count (t(13)=0·94, p = 0·36) or drug load (t(13)=−0·67, p = 0·51), and thus we do not expect the exclusion of five patients to bias the results of this investigation. Sleep related comorbidities were ruled out for our patient group by clinical history and in-patient video EEG. For further details regarding the recruitment criteria, patient demographic and clinical procedures, see Cook et al. [17].
Table 1.
Patient demographics.
Patient # (†)
Age
Sex
Epileptogenic zone
Recording duration (days)
# of Seizures
# Days analysed
% unknown sleep-wake state in analysed data
1
26
Male
Parietal-temporal
767·4
151
348
20
2
44
Male
Occipitoparietal
730·1
32
607
9
6
62
Male
Temporal
441·3
71
382
1
8
48
Male
Frontotemporal
558·4
467
355
2
9
51
Female
Occipitoparietal
394·9
204
224
20
10
50
Female
Frontotemporal
373·3
545
318
2
11
53
Female
Frontotemporal
721·6
467
398
13
12
43
Male
Temporal
729·0
13
709
0.8
13
50
Male
Temporal
746·9
500
534
10
15
36
Male
Temporal
465·6
77
465
2
†Patient numbering is based on the original trial.17
Patient demographics.†Patient numbering is based on the original trial.17Seizure detections were verified by certified clinicians and expert investigators with the aid of seizure diaries and audio recorded from the portable seizure advisory device.
Sleep-wake scoring
Intracranial EEG was scored in 30 s epochs into awake, stage one NREM (NREM1), stage two NREM (NREM2), stage three NREM (NREM3), or REM sleep categories based on methods adapted from Kremen et al. [22]. These methods have previously been confirmed and validated on intracranial EEG data with concurrent polysomnography and gold standard sleep scoring according to AASM2012 rules across multiple investigations and have yielded an average accuracy of 94% with Cohen's kappa of 0.8732 for NREM2, NREM3 and awake states, and with REM sleep included an average of 91% in humans and 94% in dogs (not shown). The accuracy of stage 1 NREM sleep was less reliable, presumably because it is relatively infrequent, accounting for very little of the total sleep duration, and is very similar electrographically to the awake state. For this reason, we do not draw any major conclusions regarding this sleep type. Furthermore, any spontaneous NREM1 occurring separate from other sleep scores were ignored when marking sleep onset and offset transitions and were not included in the total sleep duration.Sleep scoring was conducted using one representative electrode or the median of all electrodes selected manually by reviewer judgement. For each patient, nine days at equidistant positions throughout the dataset were manually sleep-wake scored and used to train a patient-specific automated classifier. The data was classified using a K nearest-neighbours algorithm with K = 3–50 clusters or a Naïve Bayes classifier. Each classifier used an optimised subset of 8 features selected for the individual patient by a sequential feature selection method from a set of 21 extracted features. The trained classifier scored 24 h sections at a time.A generalised deep learning convolutional feed-forward neural network (CNN) algorithm tested and published in Nejedly et al. [21,23] was utilised to scan the data for artifactual segments. The input signal was processed by the generalised CNN model and the resulting artefact probability matrix was used to analyse and interpret the artifactual segments of the data. The sleep-wake scored data was then pruned by removing any artefactual epochs or epochs/days with more than 50% of data missing. Unusable epochs/days were classified as ‘unknown’.
Feature extraction
We used a subset of algorithms previously defined by Gerla et al. [24] to extract spectral, entropy-based and wavelet transform features. We used 21 features extracted for each epoch, for each patient. Features included mean dominant and spectral median frequencies, mean absolute and mean relative spectral powers in the following frequency bands: 1–3 Hz (delta), 3–7 Hz (theta), 7–12 Hz (alpha), 12–15 Hz (low beta), and 15–20 Hz (high beta). As well as a spectral entropy feature, which is an estimate of the probability density function for each epoch of EEG signal in the frequency bands described above and for an additional 1–25 Hz band. To overcome energy fluctuations in the data, individual features were normalised into scale given by 0.05 and 0.95 quantiles of each feature distribution. Classifiers were trained with normalised and unnormalised features and we selected the classifier that produced the best results for each patient. An example of the standard frequency band features together with a continuous wavelet scalogram and sleep scoring is shown in Fig. 1.
Fig. 1
Power in Band features with continuous wavelet scalogram.(A) Automated sleep scores and corresponding (B) EEG time series continuous wavelet scalogram and power (μV) in Berger bands; (C) delta (1–4 Hz), D) theta (4–7 Hz), E) alpha (8–12 Hz), and F) beta (12–30 Hz). Here, we show a recording from patient 15 on day 19 into the study.
Power in Band features with continuous wavelet scalogram.(A) Automated sleep scores and corresponding (B) EEG time series continuous wavelet scalogram and power (μV) in Berger bands; (C) delta (1–4 Hz), D) theta (4–7 Hz), E) alpha (8–12 Hz), and F) beta (12–30 Hz). Here, we show a recording from patient 15 on day 19 into the study.
Statistical analysis
All sleep-wake patterns and the influence of seizures on sleep duration and structure were analysed using repeated measures one-way ANOVA. Bounded data were arcsine transformed prior to ANOVA. We did not assume sphericity of the data and so a Greenhouse-Geisser correction was used for all repeated measures ANOVA. To be consistent with existing literature, the interaction between seizure risk and day-to-day variability in sleep duration and composition were analysed using mixed effects logistic regression models. A p-value of 0.05 or lower was considered statistically significant unless otherwise stated. Data analyses were conducted using MATLAB R2017a, ANOVA was conducted using Graphpad Prism 8.3 and logistic regression modelling was conducted using Stata 16.1.
Role of the funding source
The funders had no role in study design, data collection, analysis, interpretation, or the writing of the report. The corresponding author had full access to the data and had the final responsibility for the decision to submit for publication.
Results
Overview of sleep and seizure timing
A total of 4340 days of sleep-wake data were analysed across 10 patients (between 224 and 709 days per patient). As sleep was commonly interrupted by brief arousals, the main transitions into (“sleep onset”) and out of (“sleep offset”) sleep were manually labelled by visual inspection (Fig. 2A). Any sleep sections shorter than 2 h in duration were classed as naps. Previous reports by our group have described circadian and circaseptan patterns in seizure occurrence for this patient cohort [25]. In Fig. 2B we show the distributions of sleep onset, offset and seizure times across a 24 h period. Of note, for patients 8 and 10 the seizures cluster at the same times of day as the regular sleep onset and offset transitions. This suggests that the timing of sleep could play an important role in seizure precipitation, at least in some patients. We also explored the circaseptan period but did not observe any clear trends between seizure occurrence and sleep transition times (Supplementary Fig. 1).
Fig. 2.
Sleep and seizure circadian cycles. (A) Sleep-wake scores with example sleep transitions (sleep onset and sleep offset) labelled by visual inspection and indicated by dotted vertical lines. Sections of sleep shorter than 2 h in duration were classified as naps. (B) Normalised polar histograms of sleep onset (blue), sleep offset (yellow) and seizure (red) times throughout a 24 h period. For each patient the total number of sleep transitions (onset or offset) is shown in black and the total number of seizures in red (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.).
Sleep and seizure circadian cycles. (A) Sleep-wake scores with example sleep transitions (sleep onset and sleep offset) labelled by visual inspection and indicated by dotted vertical lines. Sections of sleep shorter than 2 h in duration were classified as naps. (B) Normalised polar histograms of sleep onset (blue), sleep offset (yellow) and seizure (red) times throughout a 24 h period. For each patient the total number of sleep transitions (onset or offset) is shown in black and the total number of seizures in red (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.).
Overview of sleep structure
Proportions of time in each sleep-wake state are shown for each patient in Fig. 3A. The time spent in brief arousal from sleep was labelled as wake after sleep onset (WASO) and is included in the total sleep duration. Segments where sleep-wake scoring was not possible due to noise, artefacts, or data dropout are represented as ‘unknown’. Days that contained more than 30% unknown were excluded from all analyses. The average hours asleep for each patient ranged from 7.52 to 11.35 h per seizure-free day including naps (Fig. 3B). This is 0.21 to 4.04 h longer than the average sleep duration reported for Australian adults, 7.31 h [26]. The longer duration of time spent asleep in our cohort may be the result of frequent napping, with patients taking an average of 0.21–1.04 naps on seizure-free days and 0.32–1.34 naps on days that seizures occurred (Fig. 3C).
Fig. 3.
Sleep duration and composition overview.(A) The proportion of time spent in each sleep-wake state, (B) the average daily duration (h) spent asleep on seizure free days (night sleep + naps), and C) the average number of naps per seizure free and seizure days are shown for each patient. Error bars represent standard deviation.
Sleep duration and composition overview.(A) The proportion of time spent in each sleep-wake state, (B) the average daily duration (h) spent asleep on seizure free days (night sleep + naps), and C) the average number of naps per seizure free and seizure days are shown for each patient. Error bars represent standard deviation.In order to determine if the patients’ sleep followed a typical architecture, sleep was divided into cycles. Cycle one was defined to begin at the first instance of REM sleep and continue until the next instance of REM sleep. Each subsequent cycle began at the last REM period and extended until the next, as illustrated in Fig. 4A. Only the first five cycles of sleep, excluding naps, on seizure-free days are included in these analyses. Throughout sleep, cycle duration decreased with each subsequent cycle (Fig. 4B). The time spent in NREM1 and REM sleep increased with each cycle while the time spent in NREM3 sleep decreased (Fig. 4C). The trends were consistent across patients and the overall structure of sleep followed trends similar to those observed in healthy individuals [27]. These results thus indicate our sleep scoring methods were effective.
Fig. 4.
Night sleep structure.(A) Example illustration of sleep cycles. The average (B) cycle duration (h) and (C) proportion of the cycle spent in each sleep stage is shown for each patient in colour with the population average represented by the bold black line.
Night sleep structure.(A) Example illustration of sleep cycles. The average (B) cycle duration (h) and (C) proportion of the cycle spent in each sleep stage is shown for each patient in colour with the population average represented by the bold black line.
The relationship between sleep-wake state and seizure occurrence and duration
To explore how seizure characteristics related to current sleep-wake state on seizure, we calculated the proportion, rate, and duration of seizures in each sleep-wake category. Two patients (8 & 15) experienced more seizures during the wake state while the remaining eight patients (1, 2, 6, 9, 10, 11, 12, & 13) had the majority of their seizures during sleep which includes periods of brief arousal (Fig. 5A). When we calculated the average daily rate of seizures per sleep stage, we found that for most patients seizures occurred most frequently in NREM1 sleep (patients 2, 9, 10, 11 & 15; Fig. 5B). Though the effect of sleep-wake category on the seizure rate was significant for five patients, post-hoc analyses revealed no consistent trends across the cohort (Supplementary Table 1). There was no significant effect of sleep-wake category on seizure duration (Fig. 5C; Supplementary Table 2).
Fig. 5.
Seizure rate and duration for each sleep-wake state.(A) The proportion of seizures occurring in each sleep-wake state are shown for each patient. The group average (B) hourly seizure rate (sz/h) and () seizure duration (min) is shown for each sleep-wake state. The open circles represent the average for each patient.
Seizure rate and duration for each sleep-wake state.(A) The proportion of seizures occurring in each sleep-wake state are shown for each patient. The group average (B) hourly seizure rate (sz/h) and () seizure duration (min) is shown for each sleep-wake state. The open circles represent the average for each patient.
The relation between seizure probability and the day-to-day variability in sleep duration and composition
To assess the interaction between day-to-day deviations in sleep duration and quality and seizure probability, we used logistic regression with random subject-specific intercept. A separate model was used to assess the influence of total sleep duration and the relative proportion of each sleep-wake state, calculated within a 24 h period. For each patient, days were categorised into decreased, baseline, and increased sleep duration. Baseline sleep was defined as sleep durations falling within the interquartile range (≥25th percentile and ≤75th percentile). Durations below the 25th percentile and above the 75th percentile were classed as decreased and increased sleep duration, respectively. The same method was applied to the relative proportion of each sleep-wake state. The interquartile range for total sleep duration and the proportion of each sleep-wake state is shown in Figs. 6A and 7A. Days when a seizure occurred were excluded from these categories. Alteration of sleep duration or sleep-wake state proportion was assumed to play a role if a seizure occurred within 48 h after an increase or decrease in sleep duration or sleep-wake state proportion. Each patient contributed multiple days of observation into each model, therefore the random effect was the patient to take within subject correlation into account. The sleep categories (decreased, baseline, and increased) were the fixed effects. When age, sex and epileptogenic zone were included in our models we found no significant effect nor any significant confounding influence on the effects of sleep on seizure occurrence (Supplementary Table 3), the variables were therefore excluded from the models.
Fig. 6.
Seizure probability is reduced following a night of increased sleep duration.(A) The interquartile range of total sleep duration, calculated in 24 h periods and including both night sleep and naps, is shown for each patient. (B) The population average change in the probability of a seizure occurring in the 48 h after a night of decreased (↓<25th percentile of total sleep duration) or increased (↑ >75th percentile of total sleep duration) total sleep duration relative to baseline is represented by the hollow bars. The change in probability for individual patients is represented by filled circles. Red bars indicate significant group-level effects. Error bars represent standard deviation. (C) For each patient, the normalised probability of a seizure occurring in the 48 h after a night of decreased (↓), baseline (-), or increased (↑) sleep duration is represented by the filled bars (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.).
Fig. 7.
Seizure probability does not change with day-to-day variability in sleep composition.(A) The interquartile range for the proportion of each sleep-wake state, calculated in 24 h periods as a proportion of the total sleep duration, is shown for each patient. (B) The population average change in the probability of a seizure relative to baseline is shown for decreased and increased proportions of WASO, NREM1, NREM2, NREM3, and REM sleep by the hollow bars. Individual patient values are indicated by the filled circles. Red bars indicate significant group-level effects. Error bars represent standard deviation (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.).
Seizure probability is reduced following a night of increased sleep duration.(A) The interquartile range of total sleep duration, calculated in 24 h periods and including both night sleep and naps, is shown for each patient. (B) The population average change in the probability of a seizure occurring in the 48 h after a night of decreased (↓<25th percentile of total sleep duration) or increased (↑ >75th percentile of total sleep duration) total sleep duration relative to baseline is represented by the hollow bars. The change in probability for individual patients is represented by filled circles. Red bars indicate significant group-level effects. Error bars represent standard deviation. (C) For each patient, the normalised probability of a seizure occurring in the 48 h after a night of decreased (↓), baseline (-), or increased (↑) sleep duration is represented by the filled bars (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.).Seizure probability does not change with day-to-day variability in sleep composition.(A) The interquartile range for the proportion of each sleep-wake state, calculated in 24 h periods as a proportion of the total sleep duration, is shown for each patient. (B) The population average change in the probability of a seizure relative to baseline is shown for decreased and increased proportions of WASO, NREM1, NREM2, NREM3, and REM sleep by the hollow bars. Individual patient values are indicated by the filled circles. Red bars indicate significant group-level effects. Error bars represent standard deviation (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.).
Sleep duration
For all but one patient (pt 12), we found that sleeping for longer durations was correlated with a reduced seizure likelihood in the following 48 h (Fig. 6B). Of note, patient 12, who did not follow this trend, experienced the smallest number of seizures (n = 13). At the group level, our logistic regression model revealed that when patients slept longer than the 75th percentile there was a 27% reduction in the odds of a seizure in the following 48 h when compared to baseline (p < 0·009; Table 2). For our cohort, the 75th percentile equates to an average of 11·2 (±1·3) h of sleep, which is 1·66 (±0.52) h longer than their median sleep duration. Interestingly, sleeping less than the 25th percentile (8·29 ± 0·99 h), which is 1·13 (±0·48) h less than their median sleep duration, did not have any significant group effect on the odds of a seizure (p = 0·48; Table 2). However, using random intercepts modelling, the random effect contributed to the overall model variance significantly, suggesting that subjects responded differently. For four patients (2, 8, 11, & 12), a reduction in total sleep duration was followed by an increased probability of seizure relative to baseline, while for the remaining six patients (1, 6, 9, 13, & 15), the opposite was true (Fig. 6B & C). The differences between means for baseline and more/less sleep and the 95% confidence intervals are depicted in Supplementary Fig. 2A as bootstrap sampling distributions. There were no consistent trends in the age, sex, epileptogenic zone or medication with regards to the interaction between sleep duration and seizure probability.
Table 2.
Population level logistic regression model results investigating the interaction between seizure risk and day-to-day variation in sleep duration and sleep composition. A separate model was used for sleep duration and each sleep category proportion.
Sleep Duration/Composition
Change in sleep relative to baseline
Risk of seizure Odds ratio relative to baseline (95% Confidence interval)
p-value (Bonferroni corrected α = 0.025)
Change in the risk of seizure relative to baseline
Total Sleep Duration
↓
0·92 (0·74, 1·15)
0·48
–
↑
0·73 (0·58, 0·92)
0·009
↓
Proportion WASO
↓
1·02 (0·81, 1·27)
0·89
–
↑
0·86 (0·69, 1·09)
0·21
–
Proportion NREM1
↓
0·91 (0·73, 1·14)
0·43
–
↑
0·98 (0·78, 1·22)
0·83
–
Proportion NREM2
↓
1·04 (0·84, 1·31)
0·701
–
↑
1·01 (0·81, 1·27)
0·93
–
Proportion NREM3
↓
0·79 (0·63, 1·001)
0·052
–
↑
0·92 (0·73, 1·15)
0·46
–
Proportion REM
↓
1·29 (1·03, 1·63)
0·026
–
↑
1·27 (1·02, 1·58)
0·035
–
Population level logistic regression model results investigating the interaction between seizure risk and day-to-day variation in sleep duration and sleep composition. A separate model was used for sleep duration and each sleep category proportion.
Sleep composition
We anticipated that the odds of seizure might increase following poor-quality sleep, consisting of a higher WASO or NREM1 proportion or a lower NREM3 or REM proportion. However, this was not the case. Instead, any deviation in the proportion of REM sleep from baseline tended to increase the odds of a seizure. A reduced proportion of REM sleep, below the 25th percentile (0·09 ± 0·05) was followed by a 29% increase in the odds of a seizure compared to baseline while an increased proportion of REM sleep (p = 0·026), above the 75th percentile (0·17 ± 0·07) was followed by a 27% increase in the odds of a seizure (p = 0·035; Table 2). We also observed a lower seizure probability tended to follow a night of reduced NREM3 (p = 0·052). However, none of these trends were found to be significant after Bonferroni corrections were applied for multiple comparisons. In general, changes in each sleep type had variable effects across the group, as indicated by the spread of both positive and negative changes in seizure probability relative to baseline (Fig. 7B). The differences between means for baseline and more/less REM sleep and the 95% confidence intervals are depicted in Supplementary Fig. 2B as bootstrap sampling distributions.
Sleep duration and composition following seizure occurrence
To characterise sleep duration and composition following a seizure, we divided the data into three categories: days (24 h periods) that were seizure free (control), days where seizures occurred while the patient was awake (wake sz), and days where seizures occurred during sleep (sleep sz). If a seizure occurred both while awake and asleep, the day was excluded from analysis. The total duration of sleep and the relative proportion of each sleep-wake state were compared across control, wake sz, and sleep sz categories. In general, we found that patients spent more time asleep following a seizure, particularly if the seizure occurred during sleep. However, the composition of sleep was only disrupted if the seizure occurred during sleep.When compared to control, sleep duration and composition was altered following a seizure (Fig. 8A). The occurrence of a seizure correlated with a significant increase in sleep duration, which was most pronounced if the seizure occurred during sleep (Fig. 8B; pDuration=0·0035, F1·36,12·24 = 11·16; one-way ANOVA; pwakeSz=0.019, psleepSz=0.0045; Dunnett's multiple comparisons). There were no significant changes in the proportion of each sleep category following a seizure that occurred while awake (Fig. 8C). However, the proportion of time spent awake (in brief arousal during sleep) increased and the time spent in REM sleep decreased when a seizure occurred during sleep, which may suggest that the quality of sleep is reduced by seizure occurrence (Fig. 8C; ANOVA: pDuration=0·0035, F1·36,12·24 = 11·16; pWASO=0·011, F1·69,15·24 = 6·531; pREM=0·019, F1·49,13·44 = 5·999; Dunnett's multiple comparisons: pWASO=0·005, pREM=0·0091 (;). We also observed that the proportion of time spent in NREM3 sleep also tended to decrease following a sleep seizure; however, this was not found to be significant (Fig. 8C; pNREM3=0·090, F1·40,12·65 = 3·161; one-way ANOVA). There were no consistent changes in the proportion of time spent in stage one or two NREM sleep following a seizure (Fig. 8C; pNREM1=0·20, F1·44,13·99=1·796; pNREM2=0·85, F1·86,16·78 = 0·1486; one-way ANOVA).
Fig. 8.
Sleep duration and composition is altered following a seizure.(A) For each patient, the average duration asleep (h) is illustrated for seizure free (Control), wakeful seizure (Wake Sz), and sleeping seizure (Sleep Sz) categories. (B) The average change in sleep duration (h) and (C) The average change in the proportion of time spent in each sleep-wake state is illustrated for the population (bar) and individual patients (filled circles). Red bars indicate significant group-level effects. Error bars represent standard deviation (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.).
Sleep duration and composition is altered following a seizure.(A) For each patient, the average duration asleep (h) is illustrated for seizure free (Control), wakeful seizure (Wake Sz), and sleeping seizure (Sleep Sz) categories. (B) The average change in sleep duration (h) and (C) The average change in the proportion of time spent in each sleep-wake state is illustrated for the population (bar) and individual patients (filled circles). Red bars indicate significant group-level effects. Error bars represent standard deviation (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.).
Discussion
This is the first long-term EEG study to explore the bi-directional relationship between sleep and seizures. In our study, data were collected via intracranial EEG from patients undergoing ordinary life activities. All existing EEG investigations looking at the relationship between seizures and sleep have used data that were collected in hospital settings and of significantly shorter duration, which is unlikely to provide a true representation of relationships that exist between sleep and seizures. We show for the first time that seizure probability changes with day-to-day variations in sleep duration but not sleep composition. An increase in sleep duration was associated with a reduced seizure propensity in the following 48 h, suggestive of a protective effect. However, counter to expectations, a reduced sleep duration did not consistently increase seizure probability, with grouped effects observed. This may indicate that clinical help for sleep disturbance and seizure problems might benefit from ‘grouped’ attention, as opposed to ‘individual’ or ‘blanket’ treatment methods. Interestingly, improved sleep quality was not associated with reduced seizure risk; no sleep state was found to be significantly associated with seizure likelihood. Finally, we found the occurrence of a seizure correlated with patients sleeping for longer durations and, if the seizure occurred during sleep, the quality of sleep was reduced.Ours is the first study to use EEG to investigate the interaction between day-to-day deviations in sleep duration and seizure occurrence. We show that an increase in sleep duration by an average of 1·66 ± 0·52 or more was associated with a 27% reduction in the odds of seizure in the following 48 h. While our study design cannot exclude the possibility of reverse causality, where sleep prior to seizures is altered because of pre-seizure effects, our results could suggest that increasing sleep duration is beneficial for patients with epilepsy, reducing seizure risk. Interestingly, for most patients a reduced sleep duration, of 1·13 ± 0·48 h, did not indicate a facilitative role in the generation of seizures. Our mixed effects model indicated that the random effect contributed to the overall model variance significantly, suggesting that subjects respond differently. For four patients, seizure likelihood was higher following a night of reduced sleep duration while for the remaining six patients, seizure likelihood was lower. From a clinical perspective this is a potentially important finding. Indeed, it may suggest that clinical help in this area might benefit from ‘grouped’ attention, as opposed to either, ‘individual’ or ‘blanket’ treatments as the preferred method of addressing sleep disturbance and seizure problems. Larger reports could do well to reflect on clustering mechanisms of treatment administrations.Although insufficient sleep has long been accepted as a seizure precipitant, supporting evidence predominantly involves profound sleep deprivation (>24 h) [28]. The influence of small changes in sleep duration (0.5–2 h) have been scarcely addressed: To our knowledge, there are only four seizure diary studies and they have produced contradictory results [28]. We believe a large part of this discrepancy may be because of the unreliability of self-reported sleep and seizure diaries with patients reporting less than 50% of their seizures [17]. Using reliable long-term information about the occurrence of sleep and seizures, our results suggest that mild sleep loss may not be problematic for all patients with epilepsy, though sleeping for longer is beneficial in reducing seizure risk. It is possible that we did not observe a consistent precipitating effect of mild sleep loss because the effect is cumulative and not readily detected by our analytical methods. Chronic partial sleep deprivation occurs more frequently than profound sleep deprivation (>24 h) yet its effects have not been examined as thoroughly, presumably because they are inherently more difficult to assess [28]. On average our patient cohort slept for 2.5 h longer than healthy adults [26]. This could suggest our patient cohort requires more sleep than healthy adults due to their seizure and/or antiepileptic drug burden. Ultimately, we do not know how much sleep patients with refractory epilepsy require. Thus, it is possible that the apparent neuroprotective effects observed following an increase in sleep duration could reflect recovery from accumulated sleep debt. Alternatively, it could be that the impacts of mild sleep loss are not readily observed in our patient group because the patients were sleeping longer than necessary and thus a small reduction in sleep duration did not exit healthy limits.Previous research has shown that patients with epilepsy commonly have circadian and infradian rhythms in seizure occurrence [25,29]. In our patient group both circadian and circaseptan seizure cycles have been described but the relation of these cycles to sleep is yet to be determined [25]. Here we have shown that, for two patients, seizures tend to occur at the same times of day as their regular sleep onset and offset times. This suggests that sleep timing in particular, could be important in regulating the circadian seizure cycles. We did not observe any clear patterns between sleep timing and seizure occurrence for the circaseptan cycles, though, other sleep factors may contribute more heavily. Further investigation, exploring more cycle durations and aspects of sleep is necessary to fully establish the possible interactions between seizure and sleep-wake cycles.The effects of day-to-day variations in sleep quality on seizure risk have never before been described. We hypothesised that a higher quality sleep would exert a protective effect. However, we did not find any type of sleep to be significantly associated with seizure propensity. Animal and human studies have indicated that REM sleep, in particular, might be important for people with epilepsy where increasing the proportion of REM sleep may reduce cortical excitability and, thus, seizure risk [14,15]. Our results do not support this notion. Though, we acknowledge that the interaction between REM sleep and seizures may be too slight to be observed here and may require a larger scale investigation.Previous studies have indicated the occurrence of a seizure can reduce sleep duration and quality, namely lowering the proportion of REM sleep [5,16,30,31]. However, these investigations have been conducted in a hospital setting, which is known to alter regular sleep patterns and, therefore, may produce misleading results [32]. Our data was collected from patients undergoing ordinary life activities. Unlike previous indications, we found that sleep duration was increased following a seizure. This could play an important protective role, helping to reduce the occurrence of subsequent seizures. While we did not observe any significant disruption to the composition of sleep following a wakeful seizure, we found that sleep that was interrupted by a seizure was of poorer quality, including a greater proportion of time spent aroused from sleep and a reduction in REM sleep. This could imply that seizures occur more readily during abnormal sleep or alternatively that sleep is disrupted because of seizure occurrence.In our investigation, it is important to acknowledge that, while we have months to years of data per patient, our patient cohort was relatively small and highly selected, only including adults with refractory epilepsy, a relatively high seizure burden and a lateralised epileptogenic zone. Thus, the results of our investigation may not apply to all epilepsies in a general way. That said, current information has been based on data with different but significant limitations: most EEG investigations have used datasets with very few days per patient collected within a hospital environment and often accompanied by medication withdrawal. Thus, we speculate that for patients with refractory epilepsy our results likely provide a more realistic representation of sleep trends. We also acknowledge that the size of our patient cohort may not allow for meaningful exploration of the role of secondary risk factors such as age, sex and epileptogenic zone and their potential confounding influence on the relationship between sleep and seizures. However, when we included these variables into our regression models we did not observe any significant effect or confounding influence, which is in agreement with the existing seizure diary studies [8,10]. In addition, we did not have access to gold standard sleep information; our sleep-wake scoring was solely based on intracranial EEG. That said, it is not realistic to obtain years of continuous sleep information using polysomnography. The automated methods used in our investigation have previously been shown to produce a high classification accuracy of 94% for awake and stages 2 and 3 NREM sleep [22]. Furthermore, using both dog and human data we have confirmed our methods perform well for REM sleep with an accuracy of 96% and 95%, respectively (not shown). Altogether, we show that all sleep categories revealed consistent sleep patterns with the expected sleep architecture (Figs. 3,4).”In this investigation, we did not have information about alcohol consumption, stress, medication compliance, or other similar factors that can influence sleep and seizure occurrence. Thus, it is possible that our results were confounded by other seizure promoting factors. A combined long-term diary and EEG study could help to disentangle the role of sleep from other influences while maintaining the necessary accuracy of sleep and seizure information.
Funding
This research was supported by Australian National Health and Medical Research Council Project Grant 1130468, US National Institutes of Health Grant R01 NS09288203, Czech Technical University in Prague Grant OHK4-026/21 and Epilepsy Foundation of America Innovation Institute, My Seizure Gauge.
Contributors
Conceived and designed the work: KD, DP, VK, DF, LK, MC, BB, GW. Performed the analysis: KD, DP, VK, VG, PN,GW, LL, RB, FM. Wrote the original draft: KD. Contributed to writing review and editing: KD DP, VK, MM, LK, MC, AB, DG, BB, WD.
Data sharing
Deidentified recordings of the seizures and some segments of the data used in this study are publicly available on epilepsyecosystem.org. Relevant data that supports the findings of this study and the sleep classifier for each patient can be made available upon reasonable request by contacting the authors.
Declaration of Interests
KD, LK and DG report grant support from the Australian National Health and Medical Research Council. VK, BB and GW reports grant support from the USA National Institutes of Health. VK reports institutional support from Czech Technical University in Prague and National Institutes of Health Brain Initiative. BB reports grant support from the Epilepsy Foundation of America licensed intellectual property for equity in Cadence Neuroscience Inc., patents issued and pending from Mayo Clinic in the field of epilepsy and device supplementation for research purposes by Medtronic Inc. GW reports Mayo Clinic intellectual property for seizure detection, seizure forecasting, sleep, cognition, programmable extracellular vesicles and multiscale electrodes. GW reports royalties from NeuroOne Inc., speaker honoraria from Medtronic Inc. and has licensed intellectual property to NeuroOne Inc. and Cadence Neuroscience Inc. Both GW and the Mayo Clinic have received equity in NeuroOne Inc. related to the licensed intellectual property. GW has performed contract research for Medtronic Inc. WD reports grant support from Eisai Australia and UCB Pharma Global, travel support from UCB Australia, speaker honoraria from Eisai Australia and UCB Pharma Australia, scientific advisory board honoraria from UCB Pharma Australia, Elsai Australia, Liva Nova, and Tilray as well as equity interest in EpiMinder and KeyLead Health. MC reports the position of chair of the SEER Medical board and equity in EpiMinder and SEER Medical. All other authors have no conflicts to report.
Authors: Philippa J Karoly; Daniel M Goldenholz; Dean R Freestone; Robert E Moss; David B Grayden; William H Theodore; Mark J Cook Journal: Lancet Neurol Date: 2018-09-12 Impact factor: 44.182
Authors: Berthold R Voges; Friedhelm C Schmitt; Wolfgang Hamel; Patrick M House; Christian Kluge; Christian K E Moll; Stefan R Stodieck Journal: Epilepsia Date: 2015-06-04 Impact factor: 5.864
Authors: Maxime O Baud; Jonathan K Kleen; Emily A Mirro; Jason C Andrechak; David King-Stephens; Edward F Chang; Vikram R Rao Journal: Nat Commun Date: 2018-01-08 Impact factor: 14.919
Authors: Petr Nejedly; Vaclav Kremen; Vladimir Sladky; Jan Cimbalnik; Petr Klimes; Filip Plesinger; Filip Mivalt; Vojtech Travnicek; Ivo Viscor; Martin Pail; Josef Halamek; Benjamin H Brinkmann; Milan Brazdil; Pavel Jurak; Gregory Worrell Journal: Sci Data Date: 2020-06-16 Impact factor: 6.444
Authors: Filip Mivalt; Vaclav Kremen; Vladimir Sladky; Irena Balzekas; Petr Nejedly; Nicholas M Gregg; Brian Nils Lundstrom; Kamila Lepkova; Tereza Pridalova; Benjamin H Brinkmann; Pavel Jurak; Jamie J Van Gompel; Kai Miller; Timothy Denison; Erik K St Louis; Gregory A Worrell Journal: J Neural Eng Date: 2022-02-08 Impact factor: 5.043
Authors: Vaclav Kremen; Gregory A Worrell; Nicholas M Gregg; Vladimir Sladky; Petr Nejedly; Filip Mivalt; Inyong Kim; Irena Balzekas; Beverly K Sturges; Chelsea Crowe; Edward E Patterson; Jamie J Van Gompel; Brian N Lundstrom; Kent Leyde; Timothy J Denison; Benjamin H Brinkmann Journal: Sci Rep Date: 2021-12-20 Impact factor: 4.379
Authors: James W Wheless; Daniel Friedman; Gregory L Krauss; Vikram R Rao; Michael R Sperling; Enrique Carrazana; Adrian L Rabinowicz Journal: Epilepsia Date: 2022-09 Impact factor: 6.740