All models

LGGNet

A graph neural network for EEG classification with local graphs for brain functional areas and a learned global graph.

Neuroscience signals · 88 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 (19 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
721.9K
Operations
88
Framework
PyTorch
Recurrent
No
Published
IEEE TNNLS 2023
Cited by
217 (as of 28 October 2026)
Authors
Yi Ding, Neethu Robinson, Chengxuan Tong and others
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
m17766
Graph hash
5adf7937b22482a68a70c946b37fc317fcd871eb1e17b8a8dada3e16b8858569
Skeleton hash
556ecde941ea2737cb65260d425f9bb5b44d894404045b3c94594905c21e6372
Architecture hash
cef186b6a9e99a2921441885c00b114a33b03a2d541c77d1a4cb282c03617b94
Diagram SHA-256
c8f9d26928f61a48992c9be97d27042554e0bb523349c5072cca67209a026af5
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

LGGNet is a graph neural network that learns from electroencephalography (EEG) for brain-computer interfaces, with a graph structure taken from neuroscience. The paper defines the EEG data as a local-global graph whose local graphs belong to different functional areas of the brain.

The network first learns power features: temporal kernel outputs are squared, average pooled and passed through a logarithm. A kernel-level attentive fusion layer then fuses what the different temporal kernels learned. In the local graph-filtering layer, the attributes of the nodes in each local graph are aggregated into one hidden embedding that represents that region's activity. The global graph-filtering layer then relates the regions to each other, starting from an instance-specific similarity matrix as the base adjacency matrix.

Three graph definitions are proposed: general, frontal and hemisphere. In the hemisphere definition, symmetrically located sub-graphs exist in all the functional areas. The paper uses the DEAP dataset for emotion and preference classification. For DEAP the pooling size of the power layer was set to (1, 16), on the reasoning that DEAP had more data and needed a deeper model. The hidden size of the graph convolution was 32 and the number of temporal kernels 64 for all three datasets.

Key idea. LGGNet defines EEG electrodes as local graphs for brain functional areas joined by a global graph, and learns activity within and among those areas for mental state classification.

  • LGGNet
  • LGG
  • local-global-graph
  • EEG
  • electroencephalography
  • brain-computer interface
  • BCI
  • EEG emotion classification
  • DEAP
  • graph neural network

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

Cite the paper

@misc{ding2022lggnetlearninglocalglobalgraphrepresentations,
      title={LGGNet: Learning from Local-Global-Graph Representations for Brain-Computer Interface}, 
      author={Yi Ding and Neethu Robinson and Chengxuan Tong and Qiuhao Zeng and Cuntai Guan},
      year={2022},
      eprint={2105.02786},
      archivePrefix={arXiv},
      primaryClass={cs.NE},
      url={https://arxiv.org/abs/2105.02786}, 
}