Skip to main content
QUICK REVIEW

[Paper Review] Improving Molecular Graph Neural Network Explainability with Orthonormalization and Induced Sparsity

Ryan Henderson, Djork-Arné Clevert|arXiv (Cornell University)|May 11, 2021
Machine Learning in Materials ScienceMaterials Science12 citations
TL;DR

This paper introduces two regularization techniques—Batch Representation Orthonormalization (BRO) and Gini regularization—to improve the interpretability of molecular graph neural networks (GNNs). BRO enforces orthonormality in node embeddings during training, while Gini regularization sparsifies output layer weights, leading to more focused, chemically rational attribution maps. Human experts significantly preferred explanations from regularized models, especially for solubility and logD predictions.

ABSTRACT

Rationalizing which parts of a molecule drive the predictions of a molecular graph convolutional neural network (GCNN) can be difficult. To help, we propose two simple regularization techniques to apply during the training of GCNNs: Batch Representation Orthonormalization (BRO) and Gini regularization. BRO, inspired by molecular orbital theory, encourages graph convolution operations to generate orthonormal node embeddings. Gini regularization is applied to the weights of the output layer and constrains the number of dimensions the model can use to make predictions. We show that Gini and BRO regularization can improve the accuracy of state-of-the-art GCNN attribution methods on artificial benchmark datasets. In a real-world setting, we demonstrate that medicinal chemists significantly prefer explanations extracted from regularized models. While we only study these regularizers in the context of GCNNs, both can be applied to other types of neural networks

Motivation & Objective

  • To address the challenge of interpreting molecular graph neural network predictions by improving the clarity and rationality of attribution maps.
  • To reduce confusion in explanations caused by correlated or dense node representations in GNNs.
  • To develop regularization techniques that promote sparsity and orthonormality in learned representations without sacrificing predictive performance.
  • To evaluate whether regularized models produce explanations preferred by medicinal chemists in real-world settings.
  • To demonstrate that interpretability improvements can be achieved through simple, generalizable training-time regularizations.

Proposed method

  • Batch Representation Orthonormalization (BRO) applies a regularization loss to enforce orthonormality of node embeddings across the batch, inspired by linear combination of atomic orbitals (LCAO) theory.
  • The BRO loss minimizes the deviation of the Gram matrix of node representations from the identity matrix using the Frobenius norm.
  • Gini regularization is applied to the output layer weights to promote sparsity, constraining the model to rely on fewer dimensions for predictions.
  • The Gini coefficient of the output layer weights is minimized during training to encourage a few dominant features and suppress redundant ones.
  • Both regularizations are implemented in PyTorch Geometric and are compatible with existing GNN architectures, including multitask models.
  • The methods are evaluated on artificial benchmarks and real-world physicochemical property prediction tasks with expert preference surveys.

Experimental results

Research questions

  • RQ1Can enforcing orthonormality in node representations improve the quality of attribution maps in molecular GNNs?
  • RQ2Does promoting sparsity in the output layer weights lead to more interpretable and focused predictions?
  • RQ3Do these regularizations enhance the performance of state-of-the-art attribution methods on benchmark datasets?
  • RQ4Do medicinal chemists prefer attribution maps generated by models trained with BRO and Gini regularization over baseline models?
  • RQ5To what extent do these regularizations affect predictive performance on real-world molecular property prediction tasks?

Key findings

  • Medicinal chemists significantly preferred attribution maps from models trained with both BRO and Gini regularization, especially for solubility and logD endpoints, with a coefficient of variation of 0.95 for logD.
  • The preference for regularized models was most pronounced for endpoints like logD, which are easier for chemists to rationalize, while more complex endpoints like melting point showed higher disagreement.
  • On artificial benchmarks, Gini and BRO regularization improved the AUROC of multiple attribution methods, indicating better identification of relevant atomic contributions.
  • Predictive performance on real-world tasks showed minor degradation, with the largest drop in R² observed for the LOP solubility endpoint (0.47 to 0.34 with both regularizers), though this may be recoverable via hyperparameter tuning.
  • The BRO regularizer slightly reduced performance across all tasks, including near-perfect classification on the Benzene task, suggesting a trade-off between interpretability and accuracy.
  • The combination of BRO and Gini regularization led to more disentangled and localized representations, resulting in clearer and more chemically intuitive explanations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.