All models

eeg-gnn-ssl

A graph recurrent network over EEG electrodes that detects and classifies seizures.

Neuroscience signals · 1,255 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (195 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
168.6K
Operations
1,255
Framework
PyTorch
Recurrent
Yes
Published
ICLR 2022
Cited by
76 (as of 27 October 2026)
Authors
Siyi Tang, Jared A. Dunnmon, Khaled Saab and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m21605
Graph hash
80b99da721af38b51883961073e1d49fb110c7bcddc05a1ea9d1016c6b798868
Skeleton hash
7250a44ab68c159117c019bc5f511761f3955b98a838d519c42f83456d07e2ac
Architecture hash
f561603142631cb568400d25f972fdc875930d1ac9c0bb1f20bf9b591fd24bcd
Diagram SHA-256
7feda5a6d67257bdf4b02fd808c7ff486f493fe87df5ee2e0edb3a7dea6bec16
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This model detects and classifies seizures in electroencephalography (EEG) recordings with a graph neural network, treating the recording as a graph over the electrodes. The paper proposes two graphs: a distance graph based on electrode positions and shared by all clips, and a correlation graph computed from the signals, which is different for each input clip.

The network adapts DCRNN, a recurrent neural network with graph diffusion convolutions. DCRNN was first developed for traffic forecasting, and the paper models the spatial dependency between electrodes as a diffusion process in the same way. For detection and classification the model is a stack of diffusion-convolutional GRUs (DCGRUs) followed by a fully-connected layer.

The model can first be pre-trained without labels to predict the preprocessed EEG signals for the next time period. The experiments use the public Temple University Hospital EEG Seizure Corpus (TUSZ) v1.5.2. There the paper reports 0.875 AUROC on seizure detection and 0.749 weighted F1-score on seizure classification for the pre-trained model. It also reports that the pre-trained model precisely localizes 25.4% of focal seizures, a 21.9 point improvement over the CNNs it is compared with.

Key idea. The paper represents EEG recordings as graphs over electrodes, models them with a diffusion-convolutional recurrent network, and adds self-supervised pre-training that predicts the next period's signals.

  • EEG-GNN-SSL
  • Dist-DCRNN
  • Corr-DCRNN
  • EEG seizure detection
  • seizure classification
  • electroencephalography
  • self-supervised graph neural network
  • EEG graph neural network
  • DCGRU

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{tang2022selfsupervisedgraphneuralnetworks,
      title={Self-Supervised Graph Neural Networks for Improved Electroencephalographic Seizure Analysis}, 
      author={Siyi Tang and Jared A. Dunnmon and Khaled Saab and Xuan Zhang and Qianying Huang and Florian Dubost and Daniel L. Rubin and Christopher Lee-Messer},
      year={2022},
      eprint={2104.08336},
      archivePrefix={arXiv},
      primaryClass={eess.SP},
      url={https://arxiv.org/abs/2104.08336}, 
}