Analyzing Learned Molecular Representations for Property Prediction

Kevin Yang, Kyle Swanson, Wengong Jin, Connor W. Coley, Philipp Eiden, Hua Gao, Angel Guzman-Perez, Timothy Hopper, Brian Kelley, Miriam Mathea, Andrew Palmer, Volker Settels, Tommi S. Jaakkola, Klavs F. Jensen, Regina Barzilay · DOI

TL;DR

This paper introduces a novel graph convolutional neural network (D-MPNN) for molecular property prediction that learns representations directly from molecular structures. The D-MPNN consistently outperforms traditional methods using fixed molecular fingerprints or descriptors on a wide range of public and proprietary datasets, demonstrating its readiness for real-world applications in drug discovery.

What Problem Does This Paper Address?

Predicting molecular properties is a cornerstone of drug discovery and materials science. Traditionally, this has been done using expert-crafted molecular descriptors or fingerprints. More recently, graph convolutional neural networks (GCNs) have emerged, learning representations directly from the molecular graph structure. However, a key question remains: which approach is superior for generalizing to new chemical spaces, a critical challenge in drug discovery? Furthermore, most research has focused on public benchmarks, with limited investigation into how these new GCN models perform in industrial settings compared to established methods. This paper aims to bridge this gap by rigorously benchmarking various models, including a new GCN, on a diverse set of public and proprietary datasets, with a particular focus on generalization.

Methods

The core of the paper is the introduction of a Directed Message Passing Neural Network (D-MPNN). Unlike standard Message Passing Neural Networks (MPNNs) that pass messages between atoms, the D-MPNN passes messages between directed bonds. This bond-centric approach is designed to prevent message passing loops and potentially capture more nuanced relationships within the molecular graph. The D-MPNN also incorporates a hybrid representation that combines learned features from the graph convolutions with pre-computed molecular descriptors.

Key methodological aspects include:

  • Bond-level message passing: Messages are propagated along directed bonds, rather than between atoms.
  • Hybrid representation: Combines learned graph-based features with fixed molecular descriptors.
  • Comprehensive benchmarking: Extensive evaluation on public and proprietary datasets.
  • Scaffold-based splitting: A crucial evaluation strategy to mimic generalization to new chemical space, addressing limitations of random splits.
  • Hyperparameter optimization: Bayesian optimization is used to find optimal model settings.
  • Ensembling: Combining predictions from multiple models to further boost performance.

Datasets

The study utilizes a broad range of datasets:

  • Public Datasets: 19 datasets from existing benchmarks (Wu et al. and Mayr et al.), covering quantum mechanics, physical chemistry, biophysics, and physiology. These include QM7, QM8, QM9, ESOL, FreeSolv, Lipophilicity, PDBbind (full, core, refined), PCBA, MUV, HIV, BACE, BBBP, Tox21, ToxCast, SIDER, ClinTox, and ChEMBL.
  • Proprietary Datasets: 16 datasets from industrial partners (Amgen, BASF, and Novartis), covering various chemical and biological endpoints.

The paper emphasizes the use of scaffold-based splits for evaluation, which partitions molecules based on their core structural motifs (Murcko scaffolds) to better simulate real-world generalization scenarios.

Key Insights and Ideas

  • Bond-centric message passing is effective: The D-MPNN's novel bond-level message passing mechanism shows promise in capturing molecular information, often outperforming atom-based approaches.
  • Hybrid representations offer flexibility: Combining learned graph representations with fixed descriptors provides a strong prior and can improve performance, especially on smaller datasets.
  • Scaffold splitting is critical for realistic evaluation: Random splits can overestimate model performance by allowing significant structural overlap between training and test sets. Scaffold splits provide a more challenging and realistic assessment of generalization.
  • Industrial datasets confirm public benchmark findings: The D-MPNN's strong performance on public datasets translates to proprietary industrial data, suggesting its practical utility.
  • Hyperparameter optimization and ensembling provide significant gains: While the D-MPNN shows strong "out-of-the-box" performance, further improvements are achieved through systematic hyperparameter tuning and model ensembling, particularly on challenging datasets.

Key Results

The D-MPNN consistently matched or outperformed baseline models across a wide array of datasets.

  • Public Datasets: The D-MPNN achieved comparable or better performance on 11 out of 19 public datasets compared to the best models from MoleculeNet. It also generally outperformed the Mayr et al. baseline, especially on regression tasks.
  • Proprietary Datasets: The model demonstrated strong transferability, outperforming baseline models on 15 out of 16 proprietary datasets.
  • Out-of-the-Box Performance: Even without optimization, the D-MPNN provided a strong starting point, often matching or exceeding other baselines.
  • Impact of Optimizations: Hyperparameter optimization led to significant performance gains on certain datasets (e.g., 37% better on QM9), and ensembling further boosted performance, especially for quantum mechanics datasets.
  • Scaffold vs. Random Splits: Scaffold splits consistently resulted in more challenging evaluations, better reflecting real-world generalization.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Underperformance on 3D-rich tasks: The current D-MPNN does not explicitly leverage 3D molecular information, leading to underperformance on tasks where 3D structure is crucial (e.g., PDBbind). Future work could incorporate richer 3D features.
  • Performance on small datasets: The model can struggle on extremely small datasets (e.g., PDBbind-C), where features might help compensate for limited training data.
  • Handling imbalanced classes: Performance can be unstable on highly imbalanced datasets (e.g., MUV). Developing methods to adapt to extreme class imbalance is an area for improvement.
  • Pretraining approaches: Exploring principled pretraining strategies could enable models to transfer learning from large chemical datasets to smaller ones, improving performance in low-data regimes.
  • Uncertainty quantification and domain of applicability: Further research is needed to quantify model uncertainty and assess the domain of applicability of predictions, especially in light of how split types affect generalizability.

Summary updated

BibTeX
@article{yang2019analyzing,
  author = {Kevin Yang and Kyle Swanson and Wengong Jin and Connor W. Coley and Philipp Eiden and Hua Gao and Angel Guzman-Perez and Timothy Hopper and Brian Kelley and Miriam Mathea and Andrew Palmer and Volker Settels and Tommi S. Jaakkola and Klavs F. Jensen and Regina Barzilay},
  title = {{Analyzing Learned Molecular Representations for Property Prediction}},
  journal = {Journal of Chemical Information and Modeling},
  year = {2019},
  doi = {10.1021/acs.jcim.9b00237},
}
Figure