Federated Learning for Epileptic Seizure Prediction Across Heterogeneous EEG Datasets

Cem Ata Baykara, Saurav Raj Pandey, Ali Burak Ünal, Harlin Lee, Mete Akgün
8/11/2025
cs.LG

No official code found. Best implementation: sauravpandey123/SeizureFed (1 star, last commit 2025-05-30).

Abstract

Developing accurate and generalizable epileptic seizure prediction models from electroencephalography (EEG) data across multiple clinical sites is hindered by patient privacy regulations and significant data heterogeneity (non-IID characteristics). Federated Learning (FL) offers a privacy-preserving framework for collaborative training, but standard aggregation methods like Federated Averaging (FedAvg) can be biased by dominant datasets in heterogeneous settings. This paper investigates FL for seizure prediction using a single EEG channel across four diverse public datasets (Siena, CHB-MIT, Helsinki, NCH), representing distinct patient populations (adult, pediatric, neonate) and recording conditions. We implement privacy-preserving global normalization and propose a Random Subset Aggregation strategy, where each client trains on a fixed-size random subset of its data per round, ensuring equal contribution during aggregation. Our results show that locally trained models fail to generalize across sites, and standard weighted FedAvg yields highly skewed performance (e.g., 89.0% accuracy on CHB-MIT but only 50.8% on Helsinki and 50.6% on NCH). In contrast, Random Subset Aggregation significantly improves performance on under-represented clients (accuracy increases to 81.7% on Helsinki and 68.7% on NCH) and achieves a superior macro-average accuracy of 77.1% and pooled accuracy of 80.0% across all sites, demonstrating a more robust and fair global model. This work highlights the potential of balanced FL approaches for building effective and generalizable seizure prediction systems in realistic, heterogeneous multi-hospital environments while respecting data privacy.

View on arXivView PDF

Code Implementations(1)

Federated Learning for Epileptic Seizure Prediction Across Heterogeneous EEG Datasets

11PythonApr 28, 20251 years ago

Similar Papers

Cite this paper

@article{baykara2025federated,
  title  = {Federated Learning for Epileptic Seizure Prediction Across Heterogeneous EEG Datasets},
  author = {Cem Ata Baykara and Saurav Raj Pandey and Ali Burak Ünal and Harlin Lee and Mete Akgün},
  year   = {2025},
  eprint = {2508.08159},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.08159v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.08159.svg)](https://codeofpaper.com/paper/2508.08159)

Discussion