Spatiotemporal Hyperedges for EEG Seizure Detection and Prediction

Hyunju Kim, Sheo Yon Jhin, Noseong Park, Nabil Imam
9/29/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Seizure detection and prediction from EEG are clinically important but challenging because seizures are rare, temporally localized, and propagate as coordinated events across multiple channels. Recent dynamic graph neural networks model this by running a temporal model over a sequence of per-time-step pairwise channel edges. However, this pairwise construction misses the spatiotemporal coupling that constitutes a seizure, at substantial training cost. We propose HyBrain, which summarizes spatiotemporal EEG evidence through a small set of soft hyperedges rather than pairwise edges. A per-channel Mamba backbone produces one token per (channel, second), and a spatiotemporal hyperedge block pools these tokens into E_h shared group embeddings through soft memberships and broadcasts them back. The same encoder serves three downstream tasks: window-based detection, one-second point-wise detection, and preictal seizure prediction. On TUSZ and CHB-MIT, HyBrain achieves the best AUROC on every reported setting against ten baselines, with the largest gap on long-clip preictal prediction. It also matches the most efficient baselines in training time and peak GPU memory. A qualitative analysis shows that even a single learned hyperedge cleanly captures the preictal -> ictal -> postictal trajectory on a real seizure clip.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kim2026spatiotemporal,
  title  = {Spatiotemporal Hyperedges for EEG Seizure Detection and Prediction},
  author = {Hyunju Kim and Sheo Yon Jhin and Noseong Park and Nabil Imam},
  year   = {2026},
  eprint = {2609.37730},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.37730v1}
}

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/2609.37730.svg)](https://codeofpaper.com/paper/2609.37730)

Discussion