Skip to main content
QUICK REVIEW

[Paper Review] GPS++: An Optimised Hybrid MPNN/Transformer for Molecular Property Prediction

Dominic Masters, Josef Dean|arXiv (Cornell University)|Nov 18, 2022
Machine Learning in Materials ScienceMaterials Science10 citations
TL;DR

GPS++ is a hybrid MPNN/Transformer model optimized for molecular property prediction on the PCQM4Mv2 dataset, integrating 3D atomic coordinates and a denoising loss to enhance performance. It achieved a test-set mean absolute error of 0.0719, ranking first in the OGB-LSC 2022 challenge, with inference completed in 1 hour 32 minutes using Graphcore IPU acceleration and a 112-model ensemble.

ABSTRACT

This technical report presents GPS++, the first-place solution to the Open Graph Benchmark Large-Scale Challenge (OGB-LSC 2022) for the PCQM4Mv2 molecular property prediction task. Our approach implements several key principles from the prior literature. At its core our GPS++ method is a hybrid MPNN/Transformer model that incorporates 3D atom positions and an auxiliary denoising task. The effectiveness of GPS++ is demonstrated by achieving 0.0719 mean absolute error on the independent test-challenge PCQM4Mv2 split. Thanks to Graphcore IPU acceleration, GPS++ scales to deep architectures (16 layers), training at 3 minutes per epoch, and large ensemble (112 models), completing the final predictions in 1 hour 32 minutes, well under the 4 hour inference budget allocated. Our implementation is publicly available at: https://github.com/graphcore/ogb-lsc-pcqm4mv2.

Motivation & Objective

  • To develop a highly efficient and accurate model for molecular property prediction on the large-scale PCQM4Mv2 dataset.
  • To leverage 3D atomic coordinates and inductive biases to improve generalization and reduce over-smoothing in graph neural networks.
  • To achieve state-of-the-art performance under strict inference time constraints (4-hour budget) using hardware-accelerated training and inference.
  • To demonstrate that a hybrid MPNN/Transformer architecture can match or exceed the performance of pure Transformer models with significantly fewer parameters.
  • To build a diverse ensemble of 112 models to maximize predictive robustness and generalization on the test-challenge split.

Proposed method

  • GPS++ combines a deep message passing neural network (MPNN) with a biased self-attention mechanism to balance local inductive bias and global information flow.
  • The model incorporates 3D atomic coordinates via a grouped input masking strategy that integrates distance features into the attention mechanism.
  • A denoising loss is applied during pre-training to mitigate over-smoothing and improve representation learning in deep architectures.
  • The model uses a hybrid architecture where MPNN layers handle local message passing and attention layers enable long-range dependencies, with attention biased toward neighboring atoms.
  • Training and inference are accelerated using Graphcore's IPU hardware, enabling 3 minutes per epoch and full inference in 1 hour 32 minutes for a 112-model ensemble.
  • A diverse ensemble of 112 models is constructed by varying input features, dropout rates, and masking strategies to improve generalization and robustness.

Experimental results

Research questions

  • RQ1Can a hybrid MPNN/Transformer architecture outperform pure Transformer models in molecular property prediction while using fewer parameters?
  • RQ2How effective is the integration of 3D atomic coordinates through grouped input masking in improving model performance and generalization?
  • RQ3To what extent does a denoising pre-training objective reduce over-smoothing in deep graph neural networks for molecular graphs?
  • RQ4Can hardware acceleration with IPUs enable training and inference at scale, particularly for deep models and large ensembles, within strict time constraints?
  • RQ5Does model ensemble diversity—achieved through hyperparameter variation—significantly improve final predictive performance on the PCQM4Mv2 test-challenge split?

Key findings

  • GPS++ achieved a test-challenge mean absolute error (MAE) of 0.0719 on the PCQM4Mv2 dataset, securing a top-3 position in the OGB-LSC 2022 challenge.
  • The final 112-model ensemble completed inference in 1 hour 32 minutes, well under the 4-hour budget, using a single IPU and AMD EPYC CPU.
  • The model achieved performance comparable to the state-of-the-art Transformer (Luo et al., 2022) with only 64% of the parameters (44.3M vs. 69M).
  • The inclusion of 3D distance features via grouped masking significantly improved attention effectiveness, with ablation showing minimal improvement when 3D features were omitted.
  • Ensembling diverse configurations—varying input features, dropout, and masking—reduced MAE from 0.0755 (single model) to 0.0722 (proxy set) and finally to 0.0719 (final test set).
  • The model trained at 3 minutes per epoch on IPU hardware, enabling rapid iteration and training of deep (16-layer) architectures within 24 hours.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.