LiteGEM: Lite Geometry Enhanced Molecular Representation Learning for Quantum Property Prediction

Shanzhuo Zhang, Lihang Liu, Sheng Gao, Donglong He, Xiaomin Fang, Weibin Li, Zhengjie Huang, Weiyue Su, Wenjin WangarXiv 2021

Abstract

In this report, we (SuperHelix team) present our solution to KDD Cup 2021-PCQM4M-LSC, a large-scale quantum chemistry dataset on predicting HOMO-LUMO gap of molecules. Our solution, Lite Geometry Enhanced Molecular representation learning (LiteGEM) achieves a mean absolute error (MAE) of 0.1204 on the test set with the help of deep graph neural networks and various self-supervised learning tasks. The code of the framework can be found at: https://github.com/PaddlePaddle/PaddleHelix/tree/dev/competition/kddcup2021-PCQM4M-LSC/.

Introduction

Predicting quantum properties, specifically the HOMO-LUMO gap—the energy difference between a molecule's highest occupied and lowest unoccupied molecular orbitals—is essential for discovering new drugs and materials. While Density Functional Theory (DFT) provides accurate calculations, it is computationally expensive and slow. Deep learning offers a faster alternative, but most high-performing models rely on 3D geometric information (atomic coordinates). In many real-world scenarios and large-scale benchmarks like the PCQM4M-LSC dataset, 3D structures are unavailable for the test set.

The authors tackle the challenge of building a model that captures the benefits of 3D geometry during training but remains "Lite" enough to run on 2D molecular graphs during inference. We introduce LiteGEM, an evolution of the Geometry Enhanced Molecular (GEM) representation learning framework.

Methodology

The LiteGEM architecture consists of several sophisticated components designed to handle deep graph neural networks (GNNs) effectively.

LiteGEMConv and Virtual Nodes

The core of the model is the LiteGEMConv layer, inspired by DeeperGCN. It uses a 2-layer MLP for message construction and a SoftMax aggregation function with a tunable temperature parameter ($\beta$) to smooth the distribution of neighbor information. This helps stabilize training in the 11-layer deep architecture. To combat the "vanishing gradient" and "over-smoothing" problems common in deep GNNs, virtual nodes are added at each layer to facilitate global communication across the molecular graph.

Self-Supervised Learning (SSL) Tasks

The "Geometry Enhancement" is achieved through auxiliary tasks that "bake in" spatial intuition:

  • Geometry-level SSL: The model is pre-trained to predict bond lengths and bond angles. This forces the GNN to learn spatial relationships even though 3D coordinates aren't explicit inputs at inference.
  • Topology-level SSL (Context Prediction): The model predicts a hashed "context string" representing a node's neighborhood (up to 2 hops). This improves the GNN's ability to encode local sub-structures.

Smoothing and Ensemble Strategy

Inspired by the APPNP algorithm, a smoothing layer based on Personalized PageRank is integrated after the final convolution block to refine node representations. The final prediction is an ensemble of 73 model checkpoints, weighted using a Huber Regressor to filter out low-contribution models.

Table 3: Distribution of checkpoints across different auxiliary and pre-training task configurations.

Experiments and Results

The primary dataset is the PCQM4M-LSC from the KDD Cup 2021, containing over 3.8 million molecules. While training and validation sets provide SMILES strings with some 3D coordinates, the authors used PySCF to generate additional DFT conformations for a subset of the training data.

Performance Analysis

LiteGEM achieved a test MAE of 0.1204. A key insight was the power of the "Context Prediction" task. In head-to-head cross-validation, LiteGEM with context prediction outperformed the 1st-place winner (Graphormer) across all 8 folds.

Table 2: Cross-validation MAE comparison between LiteGEM with Context Prediction and Graphormer across 8 folds.

Despite the complexity of the ensemble, inference for the entire test set (~377k molecules) took approximately 10.5 hours on a single Nvidia Tesla P40, demonstrating practical efficiency.

Conclusion

LiteGEM validates that 3D structural knowledge can be effectively transferred to a 2D-input model via auxiliary tasks. By asking the model to "guess" geometric parameters during training, it learns a more physically meaningful representation. Future work will explore deeper integration of quantum mechanics knowledge directly into the GNN architecture and address the sensitivity of the model to the quality of geometric labels.

Summary updated

BibTeX
@misc{zhang2021litegem,
  author = {Shanzhuo Zhang and Lihang Liu and Sheng Gao and Donglong He and Xiaomin Fang and Weibin Li and Zhengjie Huang and Weiyue Su and Wenjin Wang},
  title = {{LiteGEM: Lite Geometry Enhanced Molecular Representation Learning for Quantum Property Prediction}},
  year = {2021},
  eprint = {2106.14494},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.14494},
}
Figure