All models

EGNN_Network (lucidrains)

A graph neural network that updates node features and coordinates and is equivariant to rotations and translations.

Graphs and geometry · 215 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 (16 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

Family
egnn
Parameters
84.8K
Operations
215
Framework
PyTorch
Recurrent
No
Published
ICML 2021
Cited by
396 (as of 24 October 2026)
Authors
Victor Garcia Satorras, Emiel Hoogeboom, Max Welling
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
m844
Graph hash
41fc861b049f92a67aa864d2c276344049642cc7def76213f41cdfa313f935b3
Skeleton hash
3d7d06f8e1ea782eb4355c17cb9bc4f1b6385a8ff40e9a2a6f4163d226a9877e
Architecture hash
fbd267d078300a2e07bd9227d3252024e44b558070224849f1415713b96517e9
Diagram SHA-256
b7161ae5fed994859f49f08f36df4c81b60c4ee508077dad9a35d085cb342930
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 is a full EGNN network with dimension 32, depth 3 and 8 nearest neighbors per node.

About this model's family

EGNN is a graph neural network that is equivariant to rotations, translations, reflections and permutations. Such symmetries appear in many problems, and the paper gives point clouds, 3D molecular structures and N-body particle simulations as examples. Unlike the methods it compares with, it does not need computationally expensive higher-order representations in its intermediate layers.

Each node carries a feature embedding and also an n-dimensional coordinate. The edge operation receives the relative squared distance between two coordinates along with the node embeddings and edge attributes. The position of each node is then updated by a weighted sum of its relative differences to the other nodes. The paper names this coordinate update as the main difference from standard GNNs and the reason translation and rotation equivariance are preserved.

The equivariance is not tied to three dimensions; the abstract says the model is easily scaled to higher-dimensional spaces. The paper evaluates on dynamical systems, representation learning in graph autoencoders and molecular property prediction on the QM9 dataset. In the N-body experiment it reports that the model significantly outperforms the other equivariant and non-equivariant alternatives. In the egnn-pytorch implementation, a layer takes node features and coordinates and returns both.

Key idea. The paper introduces a graph neural network equivariant to rotations, translations, reflections and permutations that needs no computationally expensive higher-order representations in its intermediate layers.

  • egnn
  • e(n) equivariant graph neural networks
  • equivariant graph neural network
  • equivariant gnn
  • e(n) equivariance
  • rotation equivariance
  • egnn-pytorch
  • egnn_network
  • molecular property prediction
  • n-body

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

Cite the paper

@misc{satorras2022enequivariantgraphneural,
      title={E(n) Equivariant Graph Neural Networks}, 
      author={Victor Garcia Satorras and Emiel Hoogeboom and Max Welling},
      year={2022},
      eprint={2102.09844},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2102.09844}, 
}