Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 11 February 2026

Fine-Tuned and Optimized Transformer-Based Model for EEG Seizure Detection 

Puspanjali Mallik1, Ajit Kumar Nayak2, Kumar Janardan Patra3, Rajendra Prasad Panigrahi4 & Getachew Mekuia Habtemaiam5

Journal of Computer Science, Volume 21, Issue 11, pp. 2647–2662 · doi.org/10.3844/jcssp.2025.2647.2662

1,412 accesses923 downloads0 citations (Crossref)Metrics
Cite Check for updates

Abstract

Epilepsy, a widely recognized neurological disorder, results from irregularities in the transmission of electrical impulses among neurons in the brain. Over the last two decades, significant efforts have been made by researchers and clinicians to develop effective methods for its early detection and management. The electroencephalogram (EEG), a non-invasive tool used to monitor brainwave activity, has become a central device in seizure diagnosis. With recent advances, EEG-based analysis is increasingly supported by machine learning and metaheuristic optimization approaches to enhance diagnostic accuracy and efficiency. This research proposes an optimized framework for seizure detection that leverages a Regularized Extreme Learning Adaptive Neuro-Fuzzy Inference System (R-ELANFIS) as the primary classifier. To reduce computational overhead and improve solution accuracy, a hybrid metaheuristic algorithm combining Particle Swarm Optimization (PSO) and Parrot Optimization (PO) is applied to fine-tune the model. The Bonn University EEG dataset, known for its reliable short-term seizure recordings, is used to evaluate system performance. Key classification metrics such as accuracy, sensitivity, and specificity reflect the model’s strong predictive capability with accuracy reaching up to 98.3%. The proposed method demonstrates the potential for high-performance EEG-based seizure detection paving the way for future integration with edge computing devices to support remote clinical diagnostics and continuous monitoring in real-world healthcare applications.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Mallik, P., Nayak, A. K., Patra, K. J., Panigrahi, R. P. & Habtemaiam, G. M. (2025). Fine-Tuned and Optimized Transformer-Based Model for EEG Seizure Detection . Journal of Computer Science, 21(11), 2647–2662. https://doi.org/10.3844/jcssp.2025.2647.2662

Licence
CC BY 4.0
Issue
Volume 21, Issue 11
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Fine-Tuned and Optimized Transformer-Based Model for EEG Seizure DetectionJournal of Computer Science · Volume 21, Issue 11 · pp. 2647–2662 · CC BY 4.0Download