International Conference on Data Science and Machine Learning Applications (CDMA)BioinformaticsPeer-reviewed journal article
Utilizing Pretrained Vision Transformers and LargeLanguage Models for Epileptic Seizure Prediction
Abstract
Repeated unprovoked seizures is a major source of concern for patients suffering from epilepsy. Predicting seizures before they occur is of interest to both machine-learning scientists as well as clinicians, and is an active area of research. The variability of EEG sensors, type of seizures, and specialized knowledge required for annotating the data complicates the large-scale annotation process essential for supervised predictive models. To address these challenges, we propose the use of Vision Transformers (ViTs) and Large Language Models (LLMs) that were originally trained on publicly available image or text data. Our work leverages these pre-trained models by refining the input, embedding, and classification layers in a minimalistic fashion to predict seizures. Our results demonstrate that LLMs outperforms the ViTs in patient-independent seizure prediction achieving a sensitivity of 79.02% which is 8% higher compared to ViTs and about 12% higher compared to a custom-designed ResNet-based model. Our work demonstrates the successful feasibility of pre-trained models for seizure prediction with its potential for improving the quality of life of people with epilepsy. Our code and related materials are available open-source at: https://github.com/pcdslab/UtilLLM_EPS/
- organism: human
- assay: electronic health records
- research focus: drug response / drug discovery
- approach: deep learning
- approach: large language model
- Citations
- 6
- FWCI
- 11.23
- Field percentile
- top 2%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- CViT-ESP: Lightweight Pre-trained Vision Transformers for EEG-based Epileptic Seizure Prediction
Umair Mohammad, Paras Parani, Fahad Saeed·bioRxiv·Aug 26, 2026
- Pre-trained Vision Transformers for Seizure Prediction: A Reproducible Baseline with Event-Based Evaluation and Statistical Validation
Ziyuan Yin, John Moraros, Shuihua Wang·bioRxiv·Mar 14, 2026
- MLSPred-Bench: ML-Ready Benchmark LeveragingSeizure Detection EEG data for Predictive Models
Umair Mohammad, Fahad Saeed·bioRxiv·Jul 17, 2024
- Multiscale predictive modeling robustly improves the accuracy of pseudo-prospective seizure forecasting in drug-resistant epilepsy
Gagan Acharya, Erin C. Conrad, … Erfan Nozari·Journal of Neural EngineeringPeer-reviewed·Jun 2, 2026
- TSD: Transformers for Seizure Detection
Y. Ma, C. Liu, … O. Kavehei·bioRxiv·Jan 24, 2023
- An Evolving-Dynamic Network Activity Approach toEpileptic Seizure Prediction using Machine Learning
Christine Joy Liu, Jordan M. Sorokin, … John R. Huguenard·bioRxiv·Nov 29, 2020