Skip to content
Open access

CViT-ESP: Lightweight Pre-trained Vision Transformers for EEG-based Epileptic Seizure Prediction

Aug 2026 · bioRxiv · 0 citations · 31 references
Biology

TL;DR

These findings suggest that adapting pre-trained ViTs with domain-specific CNN front-ends and strategic fine-tuning offers a robust, generalizable, and resource-efficient path forward for clinical seizure prediction systems.

Abstract

Background and Objective Epileptic seizure prediction is a critical challenge requiring the discrimination of subtle preictal physiological changes from interictal brain activity. While deep learning has shown promise in this domain, existing models often face limitations due to small EEG datasets, high computational costs for training from scratch, and a lack of patient-independent generalizability. In this paper, we present a novel framework for EEG-based seizure prediction that leverages pre-trained Vision Transformers (ViTs) through custom architectural modifications and optimized re-training strategies. Methods Our primary contributions include: CVIT-ESP: A family of vision transformer architectures that replaces standard patch embedding layers with custom N-dimensional CNN stages to refine EEG representations. ESPFormer: A lightweight, custom-designed transformer specifically engineered to mitigate overfitting on limited-scale EEG datasets. We identified optimal fine-tuning combinations for transformer blocks by devising a heuristic search-space reduction strategy, significantly reducing the training complexity. We validated our methods using the patient-independent MLSPred-Bench, involving 12 diverse benchmarks with varying seizure prediction horizons. Results Results demonstrate a clear progression in performance: while prior ResNet and vanilla Transformer models achieved an AUC-ROC of 69.0%, our CVIT-ESP architectures achieved the highest performance with a maximum average AUC of 76.4%. Conclusions These findings suggest that adapting pre-trained ViTs with domain-specific CNN front-ends and strategic fine-tuning offers a robust, generalizable, and resource-efficient path forward for clinical seizure prediction systems. Our code is available at: https://github.com/pcdslab/CVitEsp and https://github.com/pcdslab/ESPFormer

Read PDF

Similar papers

Open access Sep 2026

Frequency-aware transformer networks for robust and generalizable EEG-based seizure detection

This work proposes BrainXNet, a novel multi-scale spectro-temporal attention framework that unifies local feature extraction, frequency-aware representation learning, and global temporal modeling within a single architecture and bridges the gap between high-performance experimental models and practical deployment in di...

Mostafa Gamal, Mustafa Abdel-Wanes · 0 citations
Review Open access Aug 2026

Dataset distillation for efficient seizure prediction: tiny-scale data, comparable performance

Objective. Deep learning has shown significant potential in electroencephalogram (EEG)-based seizure prediction. However, translating these advances into practical applications faces critical challenges: the prohibitive time costs of reviewing accumulated historical data during frequent model updates, the need for rapi...

Yuchang Zhao, Xun Chen, Chang Li et al. · 0 citations
#machine learning Preprint Sep 2026

BRIDGE-EEG: Bridging Self-Supervised Pretraining and Efficient Deployment for Cross-Dataset EEG Classification

BRIDGE-EEG, an efficient multi-task EEG classification pipeline that preserves the benefits of pretraining while reducing model size is introduced and six benchmarks spanning abnormality detection, motor imagery, and emotion recognition are evaluated.

Meghna Roy Chowdhury, Cheng-Wei Zhou, Hao-Tian Yu et al. · 0 citations
Open access Oct 2026

Lightweight seizure detection with channel attention and multilayer gated recurrent unit for cross-patient EEG analysis

Real-time epileptic seizure detection from multichannel EEG signals remains a challenging clinical problem due to high inter-patient variability, severe class imbalance, and complex multi-scale ictal dynamics. Existing deep learning approaches predominantly rely on computationally intensive architectures such as Bidire...

Priyanka Soni, Linesh Raja, Vaibhav Bhatnagar et al. · 0 citations
Open access Oct 2026

An attention-enhanced hybrid CNN-BiLSTM framework for multiclass epileptic seizure recognition using EEG signals

Electroencephalogram (EEG) signal classification plays a pivotal role in brain-computer interfaces (BCIs) and the diagnosis of neurological disorders. However, the non-stationary, non-linear, and low signal-to-noise ratio characteristics of EEG signals make accurate feature extraction challenging. Conventional deep...

Bobbinpreet Kaur, Sheenam Middha, Aleem Ali et al. · 0 citations
Open access Aug 2026

Contrastive self-supervised learning for epileptic seizure detection from EEG with calibration and robustness evaluation under physiology-aligned perturbations

A proof-of-concept study applying contrastive self-supervised learning (SSL) to EEG epileptic seizure detection, comparing a SimCLR-style InfoNCE encoder pre-trained on unlabelled EEG against a supervised-only baseline sharing the same backbone, and evaluating both through a framework encompassing discrimination, opera...

M. Al-Taie, Firas Hazzaa, Akram Qashou · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.