OGB-LSC-GPS++
GPS++ pairs a large message-passing block with biased self-attention to predict molecular energy gaps.
Molecules, proteins and genomics · 1,530 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
- 44.3M
- Operations
- 1,530
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2022
- Cited by
- 48 (as of 18 November 2026)
- Authors
- Dominic Masters, Josef Dean, Kerstin Klaser 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 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
- m1973
- Graph hash
- 4d4d4f8f111b9b328afaa547fda36c8c25a5256cfb70064ddee42c9340e71a41
- Skeleton hash
- 62778dd23061a334a160ae9a7049155c1641d26bb21f000a519e612efb03b03f
- Architecture hash
- 468b7c46096b2620b9e529bb0cc96f8843738b4d0e082369b6ad130f705b7804
- Diagram SHA-256
- 69c1334d4a1a34249df75b8f7b4d62911978b87fd7f40e636eb2f25b87d937d0
- 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
GPS++ is a hybrid message passing neural network and transformer built on the General, Powerful, Scalable graph transformer framework, developed as a solution to the OGB-LSC 2022 PCQM4Mv2 molecular property prediction task. The task is to predict the HOMO-LUMO energy gap of a molecule, on a dataset of 3.7M molecules defined by their SMILES strings. The design combines a large and expressive message passing module with a biased self-attention layer, so the model keeps local inductive biases while still allowing effective global communication.
Each GPS++ block runs the message passing and attention layers in parallel and then combines them with a simple summation and MLP, and the block is repeated 16 times. Node, edge and global representations have widths of 256, 128 and 64 respectively. The attention bias has two components, a shortest path distance embedding and a 3D distance bias, and a grouped input masking method lets the model exploit the 3D positional information that is only available at training time, with a denoising loss added to alleviate oversmoothing. The final prediction comes from global sum-pooling of all node representations followed by a 2-layer MLP, trained with an L1 loss against the HOMO-LUMO gap.
The model is optimised for Graphcore IPUs, which let the authors train the final 44M parameter model in under 24 hours at 3 minutes per epoch. That single model reaches a mean absolute error comparable to the state-of-the-art transformers with only 60% of the parameters. The competition submission was an ensemble of 112 models that completed inference in 1 hour and 32 minutes and achieved an MAE of 0.0719 on the test-challenge set.
Key idea. GPS++ shows that a hybrid of a large message passing module and a biased self-attention layer, fed 3D atom positions through grouped input masking and regularised with a denoising loss, can match state-of-the-art molecular transformers with only 60% of the parameters. Ensembled 112 ways, it reached 0.0719 MAE on the PCQM4Mv2 test-challenge split.
- GPS++
- GPS
- General Powerful Scalable
- GraphGPS
- graph transformer
- MPNN
- hybrid MPNN/Transformer
- OGB-LSC
- PCQM4Mv2
- HOMO-LUMO gap
- molecular property prediction
- Graphcore IPU
- noisy nodes
- grouped input masking
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{masters2022gpsoptimisedhybridmpnntransformer,
title={GPS++: An Optimised Hybrid MPNN/Transformer for Molecular Property Prediction},
author={Dominic Masters and Josef Dean and Kerstin Klaser and Zhiyi Li and Sam Maddrell-Mander and Adam Sanders and Hatem Helal and Deniz Beker and Ladislav Rampášek and Dominique Beaini},
year={2022},
eprint={2212.02229},
archivePrefix={arXiv},
primaryClass={q-bio.QM},
url={https://arxiv.org/abs/2212.02229},
}