EUVIMEDExplore EUVIMED
Open access · CC BY 4.0

A Two-Stage Hybrid BiLSTM–Transformer Framework for EEG-Based Epileptic Seizure Prediction Using Multi-Scale Time–Frequency Analysis

Ibtihel Nouira

Array · 2026-11 · 101506

DOI: 10.1016/j.array.2026.101506 ↗

At a glance

Journal article in Array, 2026-11. Written by Ibtihel Nouira. 45 references. The full text is freely available (open access, CC BY 4.0).

AbstractBibliographic detailsCiteRelated studies

Abstract (original language)

Reliable epileptic seizure prediction from scalp electroencephalography (EEG) remains a challenging task due to the non-stationary nature of brain activity and substantial inter-individual variability. This study proposes a two-stage hybrid framework that integrates multi-scale time–frequency analysis, attention-based feature recalibration, deep temporal modeling, and event-level decision mechanisms for epileptic seizure prediction. In the first stage, EEG segments are transformed into multi-scale spectrograms using short-time Fourier transforms (STFTs) with three temporal resolutions (125, 250, and 500 ms). The resulting representations are combined through weighted feature fusion and processed by a channel–frequency attention mechanism. A hybrid bidirectional long short-term memory (BiLSTM)–Transformer architecture subsequently exploits sequential and global temporal dependencies to classify EEG segments into interictal, preictal, and ictal states. In the second stage, a dedicated temporal decision module integrates successive classification probabilities using temporal smoothing, majority voting, evidence accumulation, gradient-based verification, and refractory control, together with patient-specific label-free threshold calibration. The framework was evaluated on the Siena EEG database, comprising 14 patients and 47 annotated seizures; the CHB-MIT database, including 17 patients and 135 seizures, and a local dataset containing three patients. On Siena, the primary configuration detected 45 of 47 seizures (95.74%), achieving a mean false-alarm rate of 0.0376/h and a mean anticipation delay of 582.8 s, with a seizure occurrence period (SOP) of 600 s and a seizure prediction horizon (SPH) of 0 s. Component-level ablation experiments yielded a macro-F1 score of 98.90% and a macro-AUC of 99.26% for the complete architecture. On CHB-MIT, the mean patient-wise AUC and F1-score reached 0.985 and 0.902, respectively, while 126 of 135 seizures were detected, corresponding to a pooled event-level sensitivity of 93.33%. The three annotated seizures in the local dataset were also detected, although this assessment remained exploratory. These findings demonstrate the potential of combining multi-scale spectrotemporal representations, hybrid temporal learning, and dedicated decision mechanisms for EEG-based seizure prediction.

Cite

APA

Nouira, I. (2026). A Two-Stage Hybrid BiLSTM–Transformer Framework for EEG-Based Epileptic Seizure Prediction Using Multi-Scale Time–Frequency Analysis. Array, 101506. https://doi.org/10.1016/j.array.2026.101506

Vancouver

Nouira I. A Two-Stage Hybrid BiLSTM–Transformer Framework for EEG-Based Epileptic Seizure Prediction Using Multi-Scale Time–Frequency Analysis. Array. 2026:101506. doi:10.1016/j.array.2026.101506

BibTeX
@article{Nouira2026,
  author = {Nouira, Ibtihel},
  title = {A Two-Stage Hybrid BiLSTM–Transformer Framework for EEG-Based Epileptic Seizure Prediction Using Multi-Scale Time–Frequency Analysis},
  journal = {Array},
  year = {2026},
  pages = {101506},
  doi = {10.1016/j.array.2026.101506}
}
Start for free →