Self-Supervised Graph Transformer on Large-Scale Molecular Data

Yu Rong, Yatao Bian, Tingyang Xu, Weiyang Xie, Ying Wei, Wenbing Huang, Junzhou Huang

Abstract

GROVER (Graph Representation frOm self-superVised mEssage passing tRansformer) is a large-scale framework designed to pre-train molecular representations using 10 million unlabeled molecules. By integrating the local structural awareness of Message Passing Networks with the global relational modeling of Transformers, GROVER achieves a 100-million parameter scale. Evaluation across 11 major molecular property benchmarks demonstrates a 6% average performance improvement over state-of-the-art methods, particularly excelling in low-data regimes.

Introduction

AI-driven drug discovery is often hindered by a scarcity of labeled data and poor generalization across diverse chemical spaces. Traditional Graph Neural Networks (GNNs) effectively process molecular graphs but typically rely on extensive labeled datasets from "wet-lab" experiments. GROVER addresses these challenges by learning the "language of chemistry" through self-supervised pre-training on massive unlabeled datasets, enabling better generalization to unseen molecular structures.

Methodology

The GROVER architecture, termed GTransformer, is a hybrid model designed to capture both local and global molecular information.

GTransformer and Dynamic Message Passing

Standard Transformers are adapted for graph data by utilizing a Dynamic Message Passing Network (dyMPN) to generate queries, keys, and values. This allows the model to extract local structural features via the GNN while modeling global relations between atoms via the Transformer's attention mechanism. To improve regularization and generalization across varying molecular sizes, dyMPN randomizes the number of message-passing "hops" during training.

Multi-level Self-Supervision

To facilitate learning without explicit labels, GROVER employs two primary self-supervised tasks:

  1. Contextual Property Prediction: Rather than simple atom-type masking, the model predicts properties of the local subgraph surrounding an atom or bond.
  2. Graph-level Motif Prediction: The model identifies common functional groups (motifs) such as benzene rings or hydroxyl groups, which are essential to chemical behavior.

Experimental Setup

GROVER was pre-trained on 10 million unlabeled molecules from the ZINC15 and ChEMBL databases. Evaluation was conducted on 11 benchmarks from MoleculeNet, spanning biophysics, physiology, physical chemistry, and quantum mechanics. The authors utilized scaffold splitting to ensure a rigorous test of generalization, where the test set contains molecular structures fundamentally different from those in the training set.

Results and Discussion

GROVER established new state-of-the-art performance across all 11 benchmarks, with an average relative improvement of 6.1%.

Performance in Low-Data Regimes

The benefits of pre-training were most evident in datasets with limited labels. For instance, on the FreeSolv dataset (642 molecules), GROVER achieved a 23.9% relative improvement over previous methods. This highlights the model's ability to leverage unlabeled data to compensate for label scarcity.

Scaling and Ablation

At 100 million parameters, GROVER demonstrates that scaling laws observed in Natural Language Processing—where increased model size and data volume lead to superior performance—also apply to molecular graph representations. Ablation studies confirmed that the specialized GTransformer architecture significantly outperforms standard combinations of GNNs and Transformers.

Conclusion and Future Work

GROVER represents a significant step forward in molecular representation learning. Future research will focus on incorporating 3D conformational information, exploring a wider variety of downstream tasks such as reaction prediction, and addressing architectural challenges like oversmoothing in even deeper models.

Summary updated

BibTeX
@inproceedings{rong2020self,
  author = {Yu Rong and Yatao Bian and Tingyang Xu and Weiyang Xie and Ying Wei and Wenbing Huang and Junzhou Huang},
  title = {{Self-Supervised Graph Transformer on Large-Scale Molecular Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure