Graphormer3D-AtomisticSpatialBias
Graphormer's 3D atomistic variant, with Gaussian-encoded interatomic distances as attention bias.
Molecules, proteins and genomics · 1,736 operations Checked
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
- 45.1M
- Operations
- 1,736
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- 2022
- Cited by
- 123 (as of 29 November 2026)
- Authors
- Yu Shi, Shuxin Zheng, Guolin Ke and others
- Source
- GitHub: microsoft/Graphormer
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m1262
- Graph hash
- 0c6ffc0aae3e1f06342c5f2df96ddb2aa65ea357f2a499017d71d33ede3758e8
- Skeleton hash
- debddcb7f59aa75548d0968d49fe10f5b7bb84359d85b510bb42208734bdebbd
- Architecture hash
- 93b48c6b55b82447975e188bca0d91d2ddc2a1087dee80eb2ab90c4817cb483b
- Diagram SHA-256
- 71f4a6e6ac70b7c1cf7bba07cc53a4bb307d1a661de08f83c3ce474174cb9c23
- 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
Graphormer is a deep learning model built on the standard Transformer that aims to break through the limitations of conventional graph neural networks on expressiveness and over-smoothing. This member is its 3D atomistic version, described in a technical note on the recent updates of Graphormer, including architecture design modifications and the adaption to 3D molecules. The note reports that Graphormer greatly outperformed the competitors in the Open Catalyst Challenge, which aims to model the catalyst-adsorbate reaction system.
The base design is a standard Transformer equipped with three structural encodings, centrality, spatial and edge, in place of message passing. For 3D molecules the spatial encoding becomes the Euclidean distance between atoms, encoded with a set of Gaussian basis functions to model their spatial relation. The spatial encodings of each node are summed to form its centrality encoding, which describes the importance of the atom in the 3D structure. The authors also moved from the Pre-LN Transformer to a Post-LN variant, which they found led to significantly better results on molecular property prediction. They argue that a global receptive field and an adaptive aggregation strategy make Graphormer more powerful than classic message-passing GNNs.
On the OC20 IS2RE Direct track the model directly estimates the relaxed energy of a system from its initial structure, and the traced graph reflects that: its three outputs are a system energy, a per-atom 3-vector and a per-atom scalar. The per-atom vector comes from an auxiliary node-level objective that predicts the displacement of each atom between the initial and relaxed structures. The code is the authors' Graphormer package, which supports a fairseq backbone and ships the model, code and script used in the Open Catalyst Challenge.
Key idea. Graphormer 3D adapts the Graphormer Transformer to atomistic systems by encoding pairwise Euclidean distances with Gaussian basis functions as the spatial encoding and summing them into a centrality encoding, letting a global-attention model predict relaxed energies and atom displacements.
- Graphormer
- Graphormer 3D
- Graphormer3D
- atomistic transformer
- Open Catalyst
- OC20
- IS2RE
- molecular modeling
- catalyst
- graph transformer
- Microsoft Graphormer
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{shi2023benchmarkinggraphormerlargescalemolecular,
title={Benchmarking Graphormer on Large-Scale Molecular Modeling Datasets},
author={Yu Shi and Shuxin Zheng and Guolin Ke and Yifei Shen and Jiacheng You and Jiyan He and Shengjie Luo and Chang Liu and Di He and Tie-Yan Liu},
year={2023},
eprint={2203.04810},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2203.04810},
}