All models

EGNN layer (lucidrains)

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

Graphs and geometry · 31 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 (39 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
3.2M
Operations
31
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
m843
Graph hash
d162c3b01cdf5f70ba5864d44fa825cdd5dd0db8fb7bed9f6d97eb7003986495
Skeleton hash
4969910a8ec1b90ef9ed01f6803a91db080edb4f50c93043932baf03e1432d1d
Architecture hash
f91c5812a766a3a36870855fa83cef23d2091c40b4dc27e518593c3e9ffeb09a
Diagram SHA-256
a4a5a671243f4d6cbedd5d84517070137b631c1f9cba0dc906299d9e29e471da
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 single EGNN layer with feature dimension 512.

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}, 
}