Discovering Molecular Functional Groups Using Graph Convolutional Neural Networks

Phillip E. Pope, Soheil Kolouri, Mohammad Rostami, Charles E. Martin, Heiko HoffmannarXiv 2018

TL;DR

This paper introduces a novel approach to automatically discover "functional groups" (FGs) in molecules, which are key substructures that dictate chemical properties. By adapting explainability techniques from image recognition to graph convolutional neural networks (GCNNs) that model molecules, the authors can pinpoint which parts of a molecule are responsible for a specific predicted property, paving the way for faster drug discovery and molecular design.

What Problem Does This Paper Address?

Discovering new molecules with desired properties, particularly in fields like medicinal chemistry, is a laborious and expensive process. This often involves extensive trial-and-error in the lab. A crucial aspect of this discovery process is understanding how specific molecular substructures, known as functional groups (FGs), influence a molecule's properties (e.g., toxicity, solubility). Traditionally, identifying these FGs requires significant expert knowledge and experimental validation. The challenge is to automate this discovery process, making it more efficient and less reliant on manual experimentation.

Methods

The core of this work lies in adapting explainability methods, originally developed for Convolutional Neural Networks (CNNs) used in image analysis, to Graph Convolutional Neural Networks (GCNNs) that are designed to process molecular structures represented as graphs.

Here's a breakdown:

  • Molecular Representation: Molecules are modeled as undirected graphs where atoms are nodes and chemical bonds are edges.
  • GCNNs for Prediction: The authors train GCNNs on datasets of molecules with known properties (e.g., toxicity) to predict these properties.
  • Explainability for GCNNs: To understand why a GCNN makes a certain prediction, they adapt four popular CNN explainability methods:
  • Gradient-based Saliency Maps: Measures how much a small change in an input feature affects the output.
  • Class Activation Mapping (CAM): Uses feature maps from a convolutional layer to highlight important regions.
  • Gradient-weighted Class Activation Mapping (Grad-CAM): An improvement over CAM that is more flexible and doesn't require a specific network architecture.
  • Excitation Back-Propagation (EB): Uses class-specific back-propagated error signals to generate heatmaps.
  • Substructure Identification: By applying these adapted explainability methods, the authors generate "heatmaps" on the molecular graphs, indicating which atoms are most influential for a given prediction. They then analyze these heatmaps to identify recurring substructures (connected components of "activated" atoms) that are consistently highlighted for specific properties.

Datasets

The authors evaluated their approach on three publicly available molecular datasets:

  • BBBP: Measures whether a molecule can permeate the human blood-brain barrier.
  • BACE: Measures whether a molecule inhibits a specific human enzyme.
  • TOX21 (NR-ER task): Measures the activation of the estrogen receptor, a toxicity target.

These datasets are described as imbalanced, and the paper follows standard train/validation/test splits as recommended by prior work (e.g., MoleculeNet).

Key Insights and Ideas

  • Bridging Vision and Chemistry: The most significant insight is the successful adaptation of explainability techniques from computer vision to the domain of molecular graphs. This demonstrates the versatility of these methods and opens new avenues for analyzing complex chemical data.
  • Automated FG Discovery: The work provides a data-driven pathway to automatically identify functional groups, reducing the reliance on expert intuition and costly experiments. This can significantly accelerate the discovery of new molecules with desired properties.
  • Trade-offs in Explainability: The study highlights that different explainability methods have distinct strengths and weaknesses (fidelity, contrastivity, sparsity). Choosing the right method depends on the specific application and the nature of the molecular graph.
  • Class-Specific Explanations: The adapted methods can reveal how different molecular substructures contribute to different classes of properties (e.g., what makes a molecule toxic vs. non-toxic), offering deeper insights than simple prediction.

Key Results

  • Qualitative Success: The Grad-CAM method, in particular, was found to generate qualitatively good functional groups that correspond to known chemical properties. For example, it identified halogen atoms (Cl, F, Br) for blood-brain barrier penetration and amide groups for enzyme inhibition.
  • Quantitative Evaluation: The paper introduces metrics for fidelity, contrastivity, and sparsity to quantitatively compare the explainability methods.
  • Grad-CAM showed the highest contrastivity and good fidelity, making it a strong candidate for identifying class-specific FGs.
  • c-EB (a contrastive extension of Excitation Back-Propagation) was the sparsest, making it suitable for large graphs, but had lower fidelity.
  • Contrastive Gradient (CG) had the highest fidelity but low sparsity and contrastivity, making it less suitable for class-specific explanations.
  • Model Performance: The GCNN models achieved high performance on the benchmark datasets, with AUC-ROC values often exceeding 0.99 for BBBP and BACE, confirming the effectiveness of GCNNs for molecular property prediction.

Limitations and Future Work

  • Limitations:
    • The paper notes that Grad-CAM, while effective, may be problematic on very large graphs due to its lower sparsity.
  • c-EB, while sparse, might miss entire groups if activations are too sparse, as seen with the benzene group example.
  • The substructure analysis relies on exact subgraph matching, which might miss structurally similar but not identical FGs.
  • Future Work:
    • The authors envision their framework being used for "changing properties of molecules using minimal intervention," such as making a toxic molecule non-toxic.
  • The proposed framework is presented as a generic tool applicable to other graph-structured data, including social networks and knowledge graphs.
  • Further research could explore more sophisticated substructure matching techniques and investigate the optimal balance between sparsity and fidelity for different applications.

Summary updated

BibTeX
@misc{pope2018discovering,
  author = {Phillip E. Pope and Soheil Kolouri and Mohammad Rostami and Charles E. Martin and Heiko Hoffmann},
  title = {{Discovering Molecular Functional Groups Using Graph Convolutional Neural Networks}},
  year = {2018},
  eprint = {1812.00265},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.00265},
}
Figure