NeuroFuzzXAI: A Hybrid Artificial Intelligence Framework for Epileptic Seizure Detection

Background and Aim: Detecting epileptic seizures from electroencephalogram (EEG) recordings is crucial for accurate diagnosis and treatment. While deep learning models achieve strong predictive performance, their black-box nature limits clinical applicability. This study proposes a hybrid framework that combines explainable artificial intelligence (XAI) with fuzzy logic to improve both accuracy and interpretability in seizure classification. The objective is to enhance transparency in decision-making by identifying key EEG features and providing an interpretable risk assessment. Materials and Methods: This study utilizes the publicly available Epileptic Seizure Recognition dataset [i], which consists of EEG recordings from 500 subjects, segmented into 11,500 one-second windows, each described by 178 features. The dataset is balanced, comprising five equally distributed classes that capture a diverse range of brain activity patterns, including pathological conditions as well as natural variations in EEG signals. The classification labels were manually assigned by neurologists, serving as the gold standard diagnostic for seizure detection and ensuring that predictions align with clinically validated seizure patterns. A deep learning model was implemented in PyTorch, trained with cross-entropy loss and optimized using Adam. Instead of using all 178 features, SHapley Additive exPlanations (SHAP) identified the three most influential EEG features, which were then processed through a fuzzy inference system that assigns seizure risk as Low, Medium, or High. This hybrid approach enhances interpretability while maintaining predictive accuracy, reducing computational complexity, and mitigating overfitting. Results: Compared to a standard deep learning model utilizing all features, our hybrid approach improved classification performance by 12%. The deep learning component alone achieved a high classification accuracy, but integrating fuzzy logic refined decision boundaries and enhanced interpretability. SHAP analysis highlighted key EEG features contributing to predictions, increasing model transparency. The fuzzy inference system generated clinically meaningful risk assessments that closely aligned with deep learning outputs, providing an intuitive representation of seizure likelihood. Conclusion: The proposed hybrid framework successfully integrates deep learning with explainable fuzzy logic, addressing both performance and interpretability challenges in seizure detection. By bridging artificial intelligence-based classification with human-intuitive decision-making, this approach holds promise for clinical applications. Future work will focus on real-time deployment in healthcare settings to support epilepsy diagnosis and monitoring. [i] Dataset source: https://www.kaggle.com/datasets/harunshimanto/epileptic-seizure-recognition

Institutions

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2025-05-01
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NeuroFuzzXAI: A Hybrid Artificial Intelligence Framework for Epileptic Seizure Detection

SHILAP Revista de lepidopterología
EEG and Brain-Computer Interfaces
article

NeuroFuzzXAI: A Hybrid Artificial Intelligence Framework for Epileptic Seizure Detection

article en

Abstract

Background and Aim: Detecting epileptic seizures from electroencephalogram (EEG) recordings is crucial for accurate diagnosis and treatment. While deep learning models achieve strong predictive performance, their black-box nature limits clinical applicability. This study proposes a hybrid framework that combines explainable artificial intelligence (XAI) with fuzzy logic to improve both accuracy and interpretability in seizure classification. The objective is to enhance transparency in decision-making by identifying key EEG features and providing an interpretable risk assessment. Materials and Methods: This study utilizes the publicly available Epileptic Seizure Recognition dataset [i], which consists of EEG recordings from 500 subjects, segmented into 11,500 one-second windows, each described by 178 features. The dataset is balanced, comprising five equally distributed classes that capture a diverse range of brain activity patterns, including pathological conditions as well as natural variations in EEG signals. The classification labels were manually assigned by neurologists, serving as the gold standard diagnostic for seizure detection and ensuring that predictions align with clinically validated seizure patterns. A deep learning model was implemented in PyTorch, trained with cross-entropy loss and optimized using Adam. Instead of using all 178 features, SHapley Additive exPlanations (SHAP) identified the three most influential EEG features, which were then processed through a fuzzy inference system that assigns seizure risk as Low, Medium, or High. This hybrid approach enhances interpretability while maintaining predictive accuracy, reducing computational complexity, and mitigating overfitting. Results: Compared to a standard deep learning model utilizing all features, our hybrid approach improved classification performance by 12%. The deep learning component alone achieved a high classification accuracy, but integrating fuzzy logic refined decision boundaries and enhanced interpretability. SHAP analysis highlighted key EEG features contributing to predictions, increasing model transparency. The fuzzy inference system generated clinically meaningful risk assessments that closely aligned with deep learning outputs, providing an intuitive representation of seizure likelihood. Conclusion: The proposed hybrid framework successfully integrates deep learning with explainable fuzzy logic, addressing both performance and interpretability challenges in seizure detection. By bridging artificial intelligence-based classification with human-intuitive decision-making, this approach holds promise for clinical applications. Future work will focus on real-time deployment in healthcare settings to support epilepsy diagnosis and monitoring. [i] Dataset source: https://www.kaggle.com/datasets/harunshimanto/epileptic-seizure-recognition

SHILAP Revista de lepidopterología
University of Oradea (RO), West University of Timişoara (RO)
Peace, Justice and strong institutions
Openalex Percentile: Top 46%
EEG and Brain-Computer Interfaces
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.