Manuscript Offprint

arXiv:2610.22566

Seeing Seizures: A Large-Scale Empirical Study of Video and EEG Deep Learning for Automated Rodent Seizure Detection and Severity Grading

Alloy Das, Shreyan Ganguly, Nyzil Massey, Hung Phi Doan, Zhanhong Jiang, Thimmasettappa Thippeswamy, Soumik Sarkar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Alloy Das 1∗^{1*} Shreyan Ganguly 1^{1} Nyzil Massey 2^{2} Hung Phi Doan 1^{1}

Zhanhong Jiang 1^{1} Thimmasettappa Thippeswamy 1^{1} Soumik Sarkar 1^{1}

1^{1}Iowa State University, Ames, IA, USA

2^{2}Arkansas State University, Jonesboro, AR, USA

{alloydas, shreyang, hd1738, zhjiang, tswamy, soumiks}@iastate.edu

nmassey@astate.edu

Figure

Figure 1. Overview of the study. Left: the cohort—synchronized video and EEG from 20 rats (corpus scale in App. C.4), each clip graded on a Racine-derived soman severity scale from Stage 2 (mild) to Stage 5 (convulsive). Right: the benchmark. Expert-annotated seizure clips and same-session non-seizure clips feed two independent, unfused lanes—ten video backbones and seven EEG models—compared head-to-head at 2-, 3- and 5-class granularity and under held-out-animal evaluation. Bars report MCC for detection and three- and five-class classification. The modalities are evaluated independently; no fusion results are shown.

Abstract

Manual annotation of synchronized video and EEG recordings is a bottleneck in preclinical seizure research. We present an empirical study of seizure detection and behavioral severity grading using 24,131 paired clips from 601 sessions across 20 rats in a soman-induced epilepsy model. Ten video architectures and seven single-channel EEG models are evaluated independently on binary detection and three- and five-class severity tasks. In the session-exclusive reference comparison, R(2+1)D−18R(2+1)D-18 and GRU achieve detection macro-F1 scores of 0.968 and 0.974, respectively; for five-class grading, the corresponding scores are 0.657 and 0.560. Subject-exclusive evaluation reduces five-class macro-F1 to 0.475 for video and 0.404 for EEG, highlighting the difficulty of grading unseen animals. Temporal-sampling experiments demonstrate the value of multiple frames, while detection performance varies relatively little across the evaluated video architectures. A separate video-only binary-detection evaluation on RodEpil achieves a mean seizure-class F1 of 0.979 after uniform re-encoding to reduce identified class-correlated encoding cues. The study characterizes existing models for behavior-defined severity labels under the evaluated protocol, motivating further investigation of expert-assisted annotation workflows. Our code and github page is available here.

∗^{*}Corresponding author.

1. Introduction

Epilepsy affects roughly 1% of the global population [33], driving animal research that relies heavily on chemically or electrically induced rodent models [36]. These studies use synchronized video-EEG, pairing video of physical behavior with implanted brain sensors. Because electrical seizures often lack obvious movement and normal movement easily distorts EEG traces, using both tools together is an established reference approach [36, 45, 59]. Even though labs capture both data streams, automated seizure analysis focuses almost entirely on the electrical brain signals, using everything from basic frequency tracking to advanced deep learning [6, 19, 28]. As a result, the rich behavioral data captured on camera sits largely untouched by automated systems.

Properly assessing a seizure means doing more than just spotting an electrical brain event; it requires judging exactly how severe the physical behavior is. For our animals, we grade this severity on a custom five-point scale tailored for the soman model, since standard Racine scores do not directly map to chemically induced seizures [38, 39, 45, 54]. Physical symptoms escalate from mild tremors (Stage 2) up to continuous, full-body convulsions (Stage 5). Because Stage 1 is incredibly rare, our labels focus strictly on Stages 2 to 5. Because the represented severity categories are defined by observable motor behavior, video provides direct evidence for these labels. This motivates evaluating behavioral severity grading as a video-understanding task alongside EEG-based classification on the same annotated events.

This perspective connects seizure severity grading to a mature body of work in video understanding. Modern action-recognition architectures are designed to model temporally evolving visual patterns [11, 18, 53], while advances in computational ethology provide complementary tools for quantifying animal behavior [8, 40]. These methods are natural candidates for recognizing severity-associated motor patterns such as tremor, rearing, and generalized convulsions. Their application to preclinical seizure analysis, however, remains limited: recent visual benchmarks have focused primarily on seizure detection [44], while existing preclinical video-EEG studies predominantly address binary detection [35, 42]. Consequently, it remains unclear how effectively modern video models can recover behaviorally defined seizure severity, and how their performance compares with EEG-based approaches on the same synchronized events.

We evaluate existing video and single-channel EEG models independently on matched events (Fig. 1), examining task granularity, temporal sampling, model capacity, and generalization. Our target application is retrospective analysis of recorded seizures, where predictions could support expert review and behavioral scoring. This differs from

Figure

Figure 2. Recording setup: each rat is recorded in its home cage using a fixed overhead camera and implanted EEG sensors. Cage cropping reduces variation in the field of view but does not remove all differences in camera geometry. Identifying details are masked.

Figure

Figure 3. Binary-detection macro-F1 versus video model size under the evaluated training budget. Scores range from 0.945 to 0.974. X3D-M (4M parameters) achieves 0.969, compared with 0.971 for R(2+1)D-18 (33M). This comparison concerns detection, not equivalence across severity tasks (Tables 2 and 9).

forecasting an event before onset: these experiments classify extracted clips and do not assess pre-ictal prediction, preventive intervention, or reductions in annotation time.

The contribution is an empirical study rather than a new architecture or seizure-detection task. We make four contributions:

  1. We characterize a synchronized video and EEG cohort containing 24,131 clips from 601 sessions across 20 rats, with behavioral labels spanning Stages 2 to 5.

  2. We compare ten video architectures and seven single-channel EEG models on matched events and shared partitions at three levels of label granularity.

  3. We examine architecture capacity and temporal sampling, and analyze class-specific errors and rare-stage performance.

  4. We assess subject-exclusive generalization and video-only binary detection on RodEpil, documenting performance degradation and potential encoding shortcuts.

References (55)

  • Epileptic seizure detection based on video and EEG recordings
  • Concept, challenges, and future directions (opens arXiv in a new tab)
  • Deep motion analysis for epileptic seizure classification
  • Deep learning approaches for seizure video analysis: A review
  • An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
  • Automated identification of multiple seizure-related and interictal epileptiform event types in the EEG of mice
  • Is space-time attention all you need for video understanding? In Proceedings of the International Conference on Machine Learning (ICML), 2021
  • Deepethogram, a machine learning pipeline for supervised behavior classification from raw pixels
  • Synchronized video and EEG based childhood epilepsy seizure detection
  • Quo vadis, action recognition? a new model and the Kinetics dataset
  • SMOTE: Synthetic minority oversampling technique
  • XGBoost: A scalable tree boosting system
  • Review of machine and deep learning techniques in epileptic seizure detection using physiological signals and sentiment analysis
  • Long-term recurrent convolutional networks for visual recognition and description
  • Multiscale vision transformers
  • SlowFast networks for video recognition
  • Automated seizure detection in animal EEG signals
  • Long short-term memory
  • B-SOiD, an open-source unsupervised algorithm for identification and fast prediction of behaviors
  • Home-cage monitoring ascertains signatures of ictal and interictal behavior in mouse models of generalized seizures
  • A deep learning architecture for epileptic seizure classification based on object and action recognition
  • The Kinetics human action video dataset (opens arXiv in a new tab)
  • Equation-level parameterized fusion reformulation for multimodal epileptic seizure detection using interaction control and data-quality screening
  • Innovative video-based approach for epileptic seizure detection in mice
  • EEGNet: a compact convolutional neural network for EEG-based brain–computer interfaces
  • MViTv2: Improved multiscale vision transformers for classification and detection
  • vEpiNet: A multimodal interictal epileptiform discharge detection method based on video and electroencephalogram data
  • Focal loss for dense object detection
  • Seizure forecasting with multiple timescales and features
  • Video Swin transformer
  • A multimodal pre-trained network for integrated EEG-video seizure detection (opens arXiv in a new tab)
  • Modelling epilepsy in the mouse: Challenges and solutions
  • Deep anomaly detection of seizures with paired stereoelectroencephalography and video recordings
  • Mitigating organophosphate nerve agent, soman (GD)-induced long-term neurotoxicity: Saracatinib, a Src tyrosine kinase inhibitor, as a potential countermeasure
  • Dual targeting of iNOS and Src tyrosine kinase as a superior therapeutic strategy against soman-induced long-term neurotoxicity: Multimodal biomarker, imaging, and neurobehavioral outcome analyses
  • DeepLabCut: Markerless pose estimation of user-defined body parts with deep learning
  • Multi-modal machine learning framework for automated seizure detection in laboratory rats (opens arXiv in a new tab)
  • Wang, Annegret L. Falkner, Joshua W. Shaevitz, and Mala Murthy
  • RodEpil: A video dataset of laboratory rodents for seizure detection and benchmark evaluation (opens arXiv in a new tab)
  • EPIDetect: Video-based convulsive seizure detection in chronic epilepsy mouse model for anti-epilepsy drug screening (opens arXiv in a new tab)
  • Visual detection of seizures in mice using supervised machine learning
  • Grad-CAM: Visual explanations from deep networks via gradient-based localization
  • Two-stream convolutional networks for action recognition in videos
  • EEG Conformer: Convolutional transformer for EEG decoding and visualization
  • MABe22: A multi-species multi-task benchmark for learned representations of behavior
  • VideoMAE: Masked autoencoders are data-efficient learners for self-supervised video pre-training
  • A closer look at spatiotemporal convolutions for action recognition
  • PTZ-induced seizures in mice require a revised Racine scale
  • Canine EEG helps human: Cross-species and cross-modality epileptic seizure detection via multi-space alignment
  • Automated detection of complex zebrafish seizure behavior at scale
  • Rethinking spatiotemporal feature learning: Speed-accuracy trade-offs in video classification
  • VSViG: Real-time video-based seizure detection via skeleton-based spatiotemporal ViG
  • Long-term continuous EEG monitoring in small rodent models of human disease using the Epoch wireless transmitter system
  • A review of epilepsy detection and prediction methods based on EEG signal processing and deep learning
  • Automated video-EEG analysis in epilepsy studies: A narrative review of advances and challenges