TL;DR
Instead of treating time as a linear clock variable, this paper extracts a patient's actual biological circadian rhythm from wearable heart-rate data to show that seizures are "phase-locked" to specific points in their physiological cycle. This single-patient proof-of-concept highlights how explicit biological phase modeling can make seizure forecasting more interpretable and personalized.
What Problem Does This Paper Address?
For people living with epilepsy, the unpredictable nature of seizures is a major source of anxiety. While wearable devices (like smartwatches) offer a promising way to track continuous physiological data for seizure forecasting, they present a severe "representational mismatch." Wearables collect dense, continuous streams of data (heart rate, sleep, activity), whereas seizures are sparse, discrete events.
Furthermore, most existing forecasting models treat time linearly or rely on standard wall-clock features (e.g., "3:00 PM"). However, our internal biological clocks are flexible; they shift based on sleep quality, stress, and behavioral patterns. This paper addresses this gap by exploring whether tracking a patient's actual physiological phase—where they currently sit within their internal biological cycle—can reveal hidden patterns in seizure vulnerability.
Methods
The authors propose a cycle-aware modeling pipeline that extracts biological rhythms directly from wearable data:
- Preprocessing: Inter-beat interval (IBI) data from a wearable device is resampled to a regular hourly grid to handle missing data and reduce high-frequency noise.
- Spectral Screening: Welch power spectral density (PSD) is used to identify dominant rhythmic components in the signal.
- Phase Extraction: The authors apply a zero-phase bandpass Butterworth filter to isolate specific rhythmic bands (such as the 24-hour circadian cycle). They then use the Hilbert transform to calculate the continuous, instantaneous phase ($\phi(t)$) of the cycle, mapping time to a circle ($[-\pi, \pi]$).
- Circular Statistics: Seizure onset times are mapped onto this circular physiological phase. The Rayleigh test for non-uniformity is used to determine if seizures preferentially cluster at a specific phase (phase locking) rather than being randomly distributed.
Datasets
The paper evaluates this approach using a single-patient dataset as a proof-of-concept:
- Participant: One adult male (aged 35–44) with a clinical diagnosis of focal epilepsy.
- Duration: 176 consecutive days of tracking.
- Data Streams: Continuous wearable-derived inter-beat interval (IBI) data, nightly sleep summary scores, and a self-reported seizure diary containing 29 seizures.
Key Insights and Ideas
- Physiological Phase $\neq$ Clock Time: Internal biological rhythms shift relative to wall-clock time due to behavioral factors. Tracking the actual phase of the heart's circadian rhythm captures variance that simple time-of-day features miss.
- Circadian Over Multi-Day Dominance: While prior literature using invasive intracranial EEG often highlights multi-day (e.g., weekly or monthly) seizure cycles, this wearable dataset was overwhelmingly dominated by the 24-hour circadian rhythm.
- An Interpretable Bridge: Representing risk as a position on a biological cycle provides an intuitive framework for human-centered design. Instead of giving a patient an abstract probability, an interface could communicate risk contextually (e.g., "you are entering your daily high-vulnerability window").
Key Results
- Clear Circadian Signal: The Welch PSD analysis showed a highly pronounced power peak right at the 1-day period mark, confirming a robust circadian rhythm in the patient's heart rate data.
- Significant Phase Locking: The Rayleigh test confirmed strong, statistically significant circadian phase concentration ($R = 0.553, p = 7.5 \times 10^{-5}$). Seizures heavily clustered during the physiological equivalent of the afternoon/late-day hours.
- Multi-Day Insignificance: Testing across various multi-day bands (ranging from 2 to 28 days) yielded no statistically significant phase locking in this specific dataset.
- Predictive Baseline: In exploratory logistic models, using the physiological circadian phase alone achieved a modest Area Under the ROC Curve (AUC) of 0.603, outperforming wall-clock time (AUC = 0.595) and sleep scores (AUC = 0.514).
Limitations and Future Work
The primary limitation is that this is an $N=1$ case study, meaning the specific afternoon seizure cluster cannot be generalized to other patients. Additionally, the seizure data relied on self-reported diaries, which are notoriously prone to missing nocturnal events—a factor that could artificially bias the data toward daytime hours. Mechanistically, the Hilbert transform also assumes a relatively stable oscillatory structure, which can struggle with nonstationary real-world data.
Future Directions:
- Replicating and validating the pipeline across larger, clinically stratified patient cohorts.
- Utilizing objective seizure detection methods (like wearable accelerometry or electrographic monitoring) to eliminate self-reporting bias.
- Exploring advanced time-frequency methods (like wavelets or adaptive state-space models) to better track shifting, nonstationary biological rhythms.
- Incorporating behavioral and medication covariates to separate true internal biological modulation from external scheduling effects.
Summary updated