Abstract
Molecular property prediction is a cornerstone of drug discovery and material science, traditionally reliant on computationally expensive Density Functional Theory (DFT). While Graph Transformers have recently dominated the field, GPS++ demonstrates that a hybrid approach—combining local Message Passing Neural Networks (MPNNs) with global Biased Self-Attention—sets a new state-of-the-art. Crucially, this research reveals that well-tuned MPNNs can outperform Transformers, particularly in scenarios where 3D structural data is unavailable at inference. GPS++ achieves a Mean Absolute Error (MAE) of 76.6 meV on the PCQM4Mv2 benchmark, highlighting the continued relevance of message-passing architectures in the era of large-scale graph learning.
Introduction
In the search for new drugs and materials, understanding a molecule's properties, such as its energy levels, is vital. Traditionally, scientists have relied on Density Functional Theory (DFT) to calculate these properties. However, DFT is computationally intensive, often requiring hours of processing per molecule. Machine learning offers a high-throughput alternative, but the field has recently been divided between two primary architectures: Message Passing Neural Networks (MPNNs) and Graph Transformers.
MPNNs are efficient, passing information between neighboring atoms along chemical bonds, but they often struggle to capture long-range interactions. Conversely, Graph Transformers allow for global communication between all atoms in a molecule but are computationally expensive and frequently rely on 3D coordinates that are not always available in real-world applications. GPS++ (General Powerful Scalable) was developed to bridge this gap, investigating whether the recent dominance of Transformers is truly justified or if MPNNs have been prematurely overlooked.
Methodology
GPS++ is a hybrid architecture designed to leverage the strengths of both local and global modeling. The framework is built upon several key innovations:
The Hybrid Block
Each layer of GPS++ consists of a local MPNN and a global Biased Self-Attention module operating in parallel. The MPNN captures the "chemistry" of local bonds, while the Attention module addresses long-range dependencies across the molecular graph.
Advanced Message Passing
Unlike standard MPNNs, the GPS++ variant incorporates edge features (bond information) and global features (whole-molecule descriptors). It utilizes bidirectional message passing, concatenating "sender" and "receiver" node information to maintain structural directionality, which the authors found superior to simple summation.
Biased Attention and Denoising
The Transformer component is not purely agnostic to the graph structure; it is biased by the Shortest Path Distance (SPD) between atoms and 3D distances when available. To improve robustness, the model employs auxiliary denoising tasks—"Noisy Nodes" and "3D Denoising"—where the model must reconstruct the original molecular state after random noise is added to atom types or positions during training.
Optimized Feature Engineering
The researchers discovered that more data does not always equate to better performance. While testing a massive set of 28 atom features led to overfitting, a streamlined set of 11 features—including basic periodic table information like Group and Period—yielded the most significant performance gains.
Experimental Results
The model was evaluated using the PCQM4Mv2 dataset, which contains 3.7 million molecules. The primary task was to predict the HOMO-LUMO energy gap, a critical quantum chemical property. A significant challenge of this dataset is that while 3D coordinates are provided for training, they are absent during validation and testing, forcing the model to generalize from 2D connectivity.
Performance Benchmarks
GPS++ achieved a state-of-the-art Mean Absolute Error (MAE) of 76.6 meV on the PCQM4Mv2 validation set, outperforming significantly larger models such as Transformer-M.
The Power of MPNNs
One of the most striking findings was the efficacy of the MPNN component. An "MPNN-only" version of GPS++ achieved an MAE of 81.8 meV without any global self-attention. This result surpassed previous state-of-the-art models that relied on complex attention mechanisms, suggesting that MPNNs are significantly underrated when properly tuned.
Hardware Efficiency
Beyond accuracy, GPS++ is optimized for high-performance hardware (Graphcore IPUs). The model achieves a throughput of 17,500 graphs per second, allowing a full training run on millions of molecules to be completed in less than 24 hours.
Discussion and Key Insights
The research provides several critical insights into the current state of molecular machine learning:
- The 3D Crutch: Transformers appear to rely heavily on 3D positional information. When this data is removed, their performance degrades sharply. In contrast, GPS++ remains highly accurate using only 2D connectivity.
- Directionality Matters: Retaining the distinction between sender and receiver nodes in message passing is crucial for maintaining structural integrity in the model's internal representations.
- Feature Selection: Simple chemical intuition (e.g., periodic table placement) can be more effective than exhaustive feature sets, which may introduce noise and lead to overfitting.
Conclusion and Future Work
GPS++ demonstrates that the "art" of message passing is far from obsolete. By combining MPNNs with biased attention and robust denoising tasks, the model sets a new standard for molecular property prediction. However, challenges remain. Scaling these architectures to massive structures like proteins or long RNA chains involves difficult trade-offs between linear and quadratic complexity. Furthermore, while GPS++ performs excellently in 2D, it still benefits from 3D data during the training phase. Future research will likely focus on achieving similar levels of accuracy on datasets where 3D information is entirely unavailable at all stages of the pipeline.
Summary updated