Explainable Deep Relational Networks for Predicting Compound-Protein Affinities and Contacts

Mostafa Karimi, Di Wu, Zhangyang Wang, Yang ShenJournal of Chemical Information and Modeling 2021

TL;DR

This paper introduces DeepRelations, a novel deep learning architecture for predicting compound-protein affinities that prioritizes interpretability. By explicitly modeling atomic interactions and using a hierarchical, physics-inspired approach, DeepRelations achieves state-of-the-art accuracy while providing clear explanations for its predictions, a significant advancement over existing black-box models.

What Problem Does This Paper Address?

Predicting how strongly a small molecule (compound) will bind to a protein is crucial for accelerating drug discovery. While machine learning models have become very accurate at this task, they often act as "black boxes," making it difficult to understand why they make a particular prediction. This lack of interpretability hinders rational drug design, as scientists need to understand the underlying molecular mechanisms to optimize drug candidates. Current methods that try to explain predictions, like attention mechanisms, have been found to be inadequate, often failing to capture the true physical interactions between compounds and proteins. This paper aims to bridge this gap by developing a model that is both accurate and intrinsically interpretable, explaining predictions based on fundamental atomic interactions.

Methods

The core of this work is the DeepRelations architecture. It's designed with interpretability from the ground up, inspired by physics. Key methodological aspects include:

  • Hierarchical Relational Modules (Rel-CPI): The model processes information in three stages, progressively focusing attention from broad protein surfaces to specific residue-atom pairs. This "zoom-in" approach mimics how interactions are built up.
  • Physics-Inspired Atomic Relations: Instead of generic features, DeepRelations explicitly models six types of atomic interactions (electrostatic, hydrogen bond, halogen bond, hydrophobic, aromatic, and Van der Waals) as the basis for predictions. These relations are learned through specialized neural network pairs with joint attentions.
  • Hierarchical Attention Networks (HANs) and Graph Neural Networks (GNNs): For protein sequences, a Hierarchical Recurrent Neural Network (HRNN) is used, capturing structural hierarchy. For compounds, Graph Convolutional Networks (GCN) and Graph Isomorphism Networks (GIN) are employed to process their molecular graph structures.
  • Regularization for Interpretability: Physical constraints are incorporated into the model's training to guide attention mechanisms. This includes "focusing regularization" to direct attention to relevant protein regions and "structure-aware sparsity regularization" to leverage predicted protein contact maps.
  • Supervised Attention: Ground-truth contact data, though sparse, is used to directly supervise the attention mechanisms, further aligning them with actual physical interactions.
  • Hierarchical Multi-Objective Training: The model is trained to optimize both affinity prediction and contact prediction (interpretability) simultaneously, acknowledging their hierarchical relationship.

Datasets

The study utilizes a curated dataset of compound-protein pairs with known binding affinities (pKą values). A subset of this data also includes experimentally determined atomic-level intermolecular contacts, derived from PDB co-crystal structures.

The dataset was split into:

  • Training set: 70% of the data with contact details.
  • Test set: 30% of the data with contact details.
  • Compound-unique, Protein-unique, and Double-unique sets: These are specialized test sets designed to evaluate the model's generalization capabilities by ensuring that test compounds, proteins, or both are not present in the training set.

Key Insights and Ideas

  • Attention is Not Enough: The study strongly demonstrates that standard attention mechanisms, even when applied to various data representations and architectures, are insufficient for truly interpretable compound-protein affinity prediction. They often fail to focus on actual atomic interactions.
  • Interpretability by Design: The most impactful contribution is building interpretability directly into the model's architecture (DeepRelations) rather than trying to extract it post-hoc. This physics-inspired, relational approach is key.
  • Atomic Relations as the Core: Explicitly modeling and learning atomic interactions provides a much stronger foundation for interpretability than generic feature learning. These relations are the physical basis of binding.
  • Hierarchy Matters: A hierarchical processing of information, from broad protein surfaces down to specific residue-atom pairs, allows the model to progressively refine its focus and generate more meaningful interpretations.

Key Results

  • Superior Interpretability: DeepRelations significantly outperforms state-of-the-art methods (like DeepAffinity variants) in contact prediction (a proxy for interpretability). For example, it achieved a 9.5 to 19.3-fold improvement in AUPRC (Area Under the Precision-Recall Curve) across different test sets.
  • Competitive Accuracy: Despite the focus on interpretability, DeepRelations maintains competitive accuracy in affinity prediction, comparable to existing state-of-the-art models.
  • Robustness: The interpretability gains are robust across various test sets, including those with unseen compounds or proteins, indicating good generalization.
  • Ablation Studies: Explicitly modeling atomic relations was found to be the primary driver of DeepRelations' superior interpretability, more so than the multi-stage focusing mechanism.

Limitations and Future Work

  • Data Sparsity: The study highlights that ground-truth contact data for training is rare (only 7.5% of the dataset). This necessitates sophisticated training strategies like hierarchical multi-objective learning.
  • Strict Contact Definition: The definition of "true contacts" used in the study is very strict, which might lead to some "incorrect" predictions being within reasonable physical proximity (e.g., within 10Å).
  • Future Work: The paper suggests that DeepRelations' architecture is broadly applicable to vast chemical and proteomic spaces, even when 3D structures are unavailable. It can readily integrate actual structural data if available. The authors emphasize that designing intrinsically interpretable models is more desirable than post-hoc interpretability.

Summary updated

BibTeX
@article{karimi2021explainable,
  author = {Mostafa Karimi and Di Wu and Zhangyang Wang and Yang Shen},
  title = {{Explainable Deep Relational Networks for Predicting Compound-Protein Affinities and Contacts}},
  journal = {Journal of Chemical Information and Modeling},
  year = {2021},
  doi = {10.1021/acs.jcim.0c00866},
}
Figure