Seeing Seizures: A Large-Scale Empirical Study of Video and EEG Deep Learning for Automated Rodent Seizure Detection and Severity Grading
Organizations: Iowa State University, Ames, IA, USA · Arkansas State University, Jonesboro, AR, USA
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-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.
Figures & tables
| Task | Modality | Prec. | Rec. | F1 | MCC |
|---|---|---|---|---|---|
| 2-class (detection) | Video | 0.968 0.002 | 0.968 0.002 | 0.968 0.002 | 0.936 0.004 |
| EEG | 0.975 0.002 | 0.974 0.003 | 0.974 0.003 | 0.949 0.005 | |
| 3-class (severity) | Video | 0.775 0.016 | 0.788 0.009 | 0.780 0.007 | 0.853 0.010 |
| EEG | 0.744 0.014 | 0.764 0.013 | 0.750 0.010 | 0.823 0.014 | |
| 5-class (severity) | Video | 0.689 0.024 | 0.643 0.006 | 0.657 0.009 | 0.831 0.006 |
| EEG | 0.556 0.040 | 0.635 0.035 | 0.560 0.005 | 0.728 0.032 |
| Detection (2-class) | 3-class grading | 5-class grading | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Backbone | P | R | F1 | MCC | P | R | F1 | MCC | P | R | F1 | MCC |
| MViTv2-S [ 30 ] | ||||||||||||
| SlowFast-R50 [ 17 ] | ||||||||||||
| R(2+1)D-18 [ 53 ] | ||||||||||||
| X3D-M [ 18 ] | ||||||||||||
| MViTv1-B [ 16 ] | ||||||||||||
| Detection | 3-class | 5-class | ||||
|---|---|---|---|---|---|---|
| Frames | F1 | MCC | F1 | MCC | F1 | MCC |
| 1 | 0.569 | 0.149 | 0.417 | 0.152 | 0.314 | 0.147 |
| 4 | 0.940 | 0.881 | 0.739 | 0.760 | 0.612 | 0.741 |
| 8 | 0.959 | 0.918 | 0.763 | 0.838 | 0.627 | 0.789 |
| 16 | 0.970 | 0.941 | 0.780 | 0.857 | 0.662 | 0.830 |
| 32 | 0.972 | 0.943 | 0.793 | 0.858 | 0.667 | 0.835 |
| Detection (2-class) | 3-class | 5-class | ||||||||||
| EEG backbone | P | R | F1 | MCC | P | R | F1 | MCC | P | R | F1 | MCC |
| Deep | ||||||||||||
| GRU [ 19 ] | 0.975 0.003 | 0.974 0.003 | 0.974 0.003 | 0.949 0.005 | 0.744 0.014 | 0.764 0.013 | 0.750 0.010 | 0.823 0.014 | 0.556 0.040 | 0.635 0.035 | 0.560 0.005 | 0.728 0.032 |
| LSTM [ 21 ] | 0.972 0.008 | 0.971 0.007 | 0.971 0.008 | 0.942 0.015 | 0.696 0.041 | 0.741 0.067 | 0.698 0.053 | 0.743 0.059 | 0.476 0.042 | 0.555 0.100 | 0.468 0.052 | 0.598 0.059 |
| EEGNet [ 29 ] | 0.926 0.011 | 0.922 0.013 | 0.923 0.012 | 0.848 0.023 | 0.646 0.010 | 0.676 0.018 | 0.620 0.015 | 0.626 0.031 | 0.448 0.040 | 0.488 0.025 | 0.409 0.039 | 0.499 0.037 |
| EEG Conformer [ 50 ] | 0.972 0.001 | 0.972 0.001 | 0.972 0.001 | 0.943 0.001 | 0.719 0.009 | 0.784 0.013 | 0.729 0.010 | 0.780 0.017 | 0.512 0.004 | 0.624 0.032 | 0.523 0.005 | 0.683 0.008 |
| Session-excl. | Subject-exclusive (5-fold) | ||||
|---|---|---|---|---|---|
| Task | Mod. | Macro-F1 | MCC | Macro-F1 | MCC |
| Detection | Video | 0.968 | 0.936 | 0.948 0.016 | 0.896 0.031 |
| EEG | 0.974 | 0.949 | 0.972 0.015 | 0.944 0.030 | |
| 3-class | Video | 0.780 | 0.853 | 0.720 0.028 | 0.761 0.029 |
| EEG | 0.750 | 0.823 | 0.656 0.022 | 0.793 0.046 | |
| 5-class | Video | 0.657 | 0.831 | 0.475 0.024 | 0.676 0.041 |
| F0 | F1 | F2 | F3 | F4 | Mean | |
|---|---|---|---|---|---|---|
| Raw (leaked) F1 | 1.000 | 0.998 | 1.000 | 1.000 | 1.000 | 0.9996 |
| Raw (leaked) MCC | 1.000 | 0.998 | 1.000 | 1.000 | 1.000 | 0.9995 |
| Re-encoded F1 | 0.965 | 0.978 | 0.997 | 0.977 | 0.979 | 0.979 |
| Re-encoded MCC | 0.957 | 0.976 | 0.996 | 0.967 | 0.964 | 0.972 |
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Representative progress | Remaining gap |
|---|---|---|
| EEG-only, animal | GRU/LSTM, CNN and temporal models [ 19 , 28 ] | Behavioral information |
| Video-only, human | Detection and semiology analysis [ 4 , 24 ] | Generalization, deployment |
| Video-only, animal | Severity [ 47 ] ; RodEpil [ 44 ] | Matched EEG comparison |
| Video EEG, human | Synchronized and fused systems [ 31 , 10 ] | Multi-site validation |
| Video EEG, animal | Recent multimodal studies [ 42 , 35 ] | Severity; paired benchmarks |
| Study | Year | Method / vision component | Key result |
|---|---|---|---|
| Aghaei et al . [ 1 ] | 2017 | Combined video and EEG recordings for detection | Early video EEG fusion demonstration |
| Martini et al . [ 37 ] | 2021 | Deep anomaly detection, paired stereo-EEG video | Label-free seizure flagging |
| Cao et al . [ 10 ] | 2024 | Synchronized video-EEG, pediatric cohort | Detection in childhood epilepsy |
| Lin et al . (vEpiNet) [ 31 ] | 2024 | Patient detection frame-diff/keypoints EfficientNetV2, MLP fusion | AUROC 0.9902; false positives reduced by about one third |
| Backbone | Paradigm | Par. |
|---|---|---|
| MViTv2-S [ 30 ] | multiscale | 34M |
| SlowFast-R50 [ 17 ] | two-pathway | 35M |
| R(2+1)D-18 [ 53 ] | conv | 33M |
| X3D-M [ 18 ] | eff. conv | 4M |
| MViTv1-B [ 16 ] | multiscale | 36M |
| Video Swin-S [ 34 ] | hier. attn. | 50M |
| Subject | Sess. | Clips | Non-sz. | Seiz. | S2 | S3 | S4 | S5 |
|---|---|---|---|---|---|---|---|---|
| R1 | 42 | 3,091 | 1,576 | 1,515 | 22 | 1,325 | 131 | 37 |
| R2 | 44 | 2,830 | 1,431 | 1,399 | 113 | 1,094 | 181 | 11 |
| R3 | 38 | 2,774 | 1,380 | 1,394 | 364 | 873 | 124 | 33 |
| R4 | 42 | 2,701 | 1,351 | 1,350 | 22 | 1,062 | 226 | 40 |
| R5 | 43 | 2,195 | 1,100 | 1,095 | 23 | 946 | 114 | 12 |
| R6 | 43 | 1,963 | 955 | 1,008 | 218 | 782 | 8 | 0 |
| Train subj. | Frac. | Clips | Macro-F1 | MCC |
| 2 | 0.10 | 62 | 0.790 | 0.583 |
| 5 | 0.25 | 1,905 | 0.893 | 0.787 |
| 10 | 0.50 | 10,969 | 0.957 | 0.914 |
| 12 | 0.60 | 11,832 | 0.946 | 0.892 |
| 15 | 0.75 | 16,358 | 0.960 | 0.921 |
| 20 | 1.00 | 19,208 | 0.970 | 0.941 |
| Backbone | Seiz-F1 | Macro-F1 | AUROC | MCC |
|---|---|---|---|---|
| SlowFast-R50 † [ 17 ] | 1.000 | 1.000 | 1.000 | 1.000 0.000 |
| R(2+1)D-18 [ 53 ] | 0.978 | 0.986 | 0.999 | 0.972 0.015 |
| MViTv2-S [ 30 ] | 0.916 | 0.946 | 0.989 | 0.891 0.020 |
| S3D [ 57 ] | 0.912 | 0.944 | 0.991 | 0.889 0.029 |
| X3D-M [ 18 ] | 0.895 | 0.933 | 0.983 | 0.866 0.010 |
| VideoMAE-B [ 52 ] | 0.874 | 0.919 | 0.982 | 0.839 0.025 |
| Input size | Macro-F1 | AUROC | MCC |
|---|---|---|---|
| (default) | 0.970 | 0.993 | 0.941 |
| 0.967 | 0.993 | 0.934 | |
| 0.952 | 0.988 | 0.904 |
| Video | EEG | |||||||
|---|---|---|---|---|---|---|---|---|
| Stage | n | P | R | F1 | n | P | R | F1 |
| non-seizure | 2720 | 0.965 | 0.968 | 0.966 | 2737 | 0.914 | 0.955 | 0.934 |
| Stage 2 | 220 | 0.681 | 0.650 | 0.665 | 256 | 0.491 | 0.863 | 0.626 |
| Stage 3 | 2148 | 0.904 | 0.896 | 0.900 | 2064 | 0.867 | 0.717 | 0.785 |
| Stage 4 | 167 | 0.330 | 0.401 | 0.362 | 229 | 0.268 | 0.162 | 0.202 |
| Stage 5 | 34 | 0.579 | 0.324 | 0.415 | 33 | 0.074 | 0.364 | 0.123 |
| Task | Modality | Session-excl. | Subject-excl. |
|---|---|---|---|
| 2-class (detection) | Video | 0.993 0.001 | 0.985 0.006 |
| EEG | 0.996 0.001 | 0.995 0.005 | |
| 3-class (severity) | Video | 0.964 0.003 | 0.942 0.015 |
| EEG | 0.956 0.002 | 0.916 0.025 | |
| 5-class (severity) | Video | 0.939 0.004 | 0.888 0.026 |
| EEG | 0.941 0.003 | 0.831 0.076 |
| Backbone | Detection | 3-class | 5-class |
|---|---|---|---|
| Video | |||
| MViTv2-S [ 30 ] | |||
| SlowFast-R50 [ 17 ] | |||
| R(2+1)D-18 [ 53 ] | |||
| X3D-M [ 18 ] | |||
| MViTv1-B [ 16 ] | |||
| Frames | Detection | 3-class | 5-class |
|---|---|---|---|
| 1 | 0.615 | 0.599 | 0.634 |
| 4 | 0.983 | 0.950 | 0.926 |
| 8 | 0.989 | 0.957 | 0.919 |
| 16 | 0.993 | 0.962 | 0.946 |
| 32 | 0.994 | 0.971 | 0.951 |
| 64 | 0.994 | 0.971 | 0.950 |
| True class | n | video only | EEG only |
|---|---|---|---|
| non-seizure | 1488 | 73 | 44 |
| Stage 2 | 192 | 7 | 44 |
| Stage 3 | 1062 | 286 | 43 |
| Stage 4 | 74 | 27 | 8 |
| Stage 5 | 14 | 8 | 1 |
| overall: both correct ( ), video only ( ), | |||
| Video recall | EEG recall | |||||
|---|---|---|---|---|---|---|
| True class | n | med. | low | high | low | high |
| non-seizure | 466 | 1.53 | 0.983 | 0.966 | 0.906 | 1.000 |
| Stage 2 | 58 | 1.57 | 0.655 | 0.586 | 0.966 | 0.862 |
| Stage 3 | 350 | 1.78 | 0.891 | 0.943 | 0.537 | 0.777 |
| Stage 4 | 21 | 2.17 | 0.182 | 0.700 | 0.182 | 0.000 |
EEG Seizure Detection
Electroencephalogram (EEG) seizure detection identifies epileptic events in brain recordings and supports timely diagnosis, monitoring, and intervention.
See all 29 papers