cs.LGMar 26, 2026

Epileptic Seizure Prediction Using Patient-Adaptive Transformer Networks

Authors: Mohamed Mahdi, Asma Baghdadi

Organizations: Information and Communication Engineering Department National Engineering School of Tunis Tunis El Manar University · REGIM-Lab, University of Sfax, National Engineering School of Sfax (ENIS), BP 1173, Sfax, 3038, Tunisia

Abstract

Epileptic seizure prediction from electroencephalographic (EEG) recordings remains challenging due to strong inter-patient variability and the complex temporal structure of neural signals. This paper presents a patient-adaptive transformer framework for short-horizon seizure forecasting. The proposed approach employs a two-stage training strategy: self-supervised pretraining is first used to learn general EEG temporal representations through autoregressive sequence modeling, followed by patient-specific fine-tuning for binary prediction of seizure onset within a 30-second horizon. To enable transformer-based sequence learning, multichannel EEG signals are processed using noise-aware preprocessing and discretized into tokenized temporal sequences. Experiments conducted on subjects from the TUH EEG dataset demonstrate that the proposed method achieves validation accuracies above 90% and F1 scores exceeding 0.80 across evaluated patients, supporting the effectiveness of combining self-supervised representation learning with patient-specific adaptation for individualized seizure prediction.

Figures & tables

Explore similar work

CardsList
  1. EEG-FuseFormer: A Transformer-Driven Feature Fusion Framework for Seizure Onset Prediction

    Jun 1, 2026Vigneshwar Hariharan, Chithra Reghuvaran, Arlene John +4ElectroencephalographyEEG Seizure Detection

  2. DiffEEG: A Self-Supervised Denoising Diffusion Model for Learning EEG seizure-related Representations

    Jul 13, 2026Abdulkader Helwan, Lina Abou-Abbas, Hussein El Amouri +2ElectroencephalographyEEG Seizure Detection

  3. Interpretable Multimodal EEG-ECG Framework for Neonatal Seizure Prediction and Patient-Adaptive Transfer Learning

    Nov 18, 2025Sithmini Ranasingha, Agasthi Haputhanthri, Hansa Marasinghe +5EEG Seizure DetectionCross-Subject EEG Decoding