AI-Driven Non-Invasive Scalp EEG Biosensing for Real-Time Seizure Prediction Using Lightweight Gradient Boosting Ensembles.
Wesal Howsawi, Fahdah Alabdulkarim, Ali S Saad
Department of Biomedical Technology, College of Applied Medical Sciences, King Saud University, Riyadh 11433, Saudi Arabia.
Key points
From the paper's conclusion- Results: On the independent unseen test cohort, the post-processed framework achieved a primary event-level seizure sensitivity of 100% (34/34 seizures detected; 95% Clopper–Pearson CI: 89.72–100.0%), mathematically bounded by the test sample size, with a false alarm rate of 0.415/h (an 89.5% reduction versus the raw ensemble) and a mean Seizure Prediction Horizon of 17.03 min.
Abstract
BACKGROUND: Clinical translation of non-invasive scalp electroencephalography (EEG) seizure prediction is severely hindered by patient-dependency, elevated false alarm rates, and excessive computational latency. This study introduces a computationally lightweight, patient-independent machine learning pipeline designed to achieve cross-patient generalization and robust false alarm suppression without requiring subject-specific calibration. METHODS: Using the continuous multi-channel scalp EEG dataset from the CHB-MIT benchmark (materials/setting), signals underwent dual-stage filtering (1-70 Hz bandpass, 60 Hz notch), artifact removal via Extended FastICA, and Common Average Referencing. Dimensionality was reduced via Principal Component Analysis (12 orthogonal components, >95.4% variance explained). Continuous streams were partitioned into 5 s sliding windows (90% overlap) to extract multi-domain temporal, spectral, and discrete wavelet features, subsequently pruned via ANOVA F-testing to 168 salient predictors. Pre-ictal transitions (20 to 5 min prior to seizure onset, incorporating an excluded 5 min prediction horizon buffer) were classified using a synchronized ensemble of regularized XGBoost and leaf-wise LightGBM models. Dual-model coincidence was governed by a 30 s moving temporal alignment window coupled with 12-epoch persistence smoothing and a 30 min refractory lockout. To prevent intra-subject data leakage, multi-session recordings from the same individual (Cases 01 and 21) were strictly co-located within the training set, and the pipeline was evaluated on an isolated cohort of four completely unseen subjects (Patients 20, 22-24) across 156.5 continuous, unsampled hours. RESULTS: On the independent unseen test cohort, the post-processed framework achieved a primary event-level seizure sensitivity of 100% (34/34 seizures detected; 95% Clopper-Pearson CI: 89.72-100.0%), mathematically bounded by the test sample size, with a false alarm rate of 0.415/h (an 89.5% reduction versus the raw ensemble) and a mean Seizure Prediction Horizon of 17.03 min. Under continuous 0.5 s sliding-window streaming (designed for real-time edge persistence filtering), the framework demonstrated 99.80% operational pre-ictal alert consistency (60,772/60,894 sliding windows; specificity: 98.64%, precision: 91.20%, F1-score: 95.31%). Evaluated on strictly independent, non-overlapping 5 s epochs (N = 6120), the ensemble retained a pre-ictal sensitivity of 99.1%, confirming robust performance independent of window overlap. Execution latency was 0.0057 ms per window, delivering a >1000× speedup over state-of-the-art 3D-CNN and Transformer architectures. CONCLUSIONS: By eliminating multi-session data leakage and mitigating clinical alarm fatigue, this pipeline offers reliable cross-patient generalizability, practical intervention timing, and ultra-low computational latency suitable for real-time deployment on low-power wearable closed-loop neurostimulation devices.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explainable AI-Enhanced Ensemble Protocol Using Gradient-Boosted Models for Zero-False-Alarm Seizure Detection from EEGSensors · 2026
- Localising the Seizure Onset Zone from Routine Interictal and Ictal Scalp EEG Via a Factorised Spatiotemporal Ensemble Deep Learning FrameworkbioRxiv · 2026
- Explainable End-to-End Seizure Prediction via Dynamic Multiscale Cross-Band Fusion Filter NetworkInternational Journal of Neural Systems · 2025
- Near-Real-Time Epileptic Seizure Detection with Reduced EEG Electrodes: A BiLSTM-Wavelet Approach on the EPILEPSIAE DatasetBrain Sciences · 2026
- CViT-ESP: Lightweight Pre-trained Vision Transformers for EEG-based Epileptic Seizure PredictionbioRxiv · 2026
- Deep Learning Method Using Temporal-Spectral-Spatial Feature Fusion for Epileptic Seizure Prediction.Brain sciences · 2026