Structure-Aware E(3)-Invariant Molecular Conformer Aggregation Networks

Duy M. H. Nguyen, Nina Lukashina, Tai Nguyen, An T. Le, TrungTin Nguyen, Nhat Ho, Jan Peters, Daniel Sonntag, Viktor Zaverkin, Mathias Niepert

TL;DR

CONAN (Conformer Aggregation Network) is a novel architecture that predicts molecular properties by integrating 2D graph data with ensembles of 3D shapes (conformers). By using a differentiable Fused Gromov-Wasserstein (FGW) Barycenter to aggregate these 3D shapes, the model captures the flexible nature of molecules while remaining computationally efficient and mathematically invariant to spatial rotations and translations.

What Problem Does This Paper Address?

In the real world, molecules aren't rigid sticks; they are flexible entities that wiggle and fold into various 3D shapes called conformers. Many critical properties, like how well a drug binds to a protein or how easily it dissolves in water, depend on the entire "ensemble" of shapes a molecule can take.

Most current machine learning models take a shortcut: they either look only at the 2D "blueprint" (the atoms and bonds) or a single 3D snapshot. While using an ensemble of 3D shapes is more accurate, it’s traditionally been a nightmare to implement. Simple averaging of 3D coordinates can lead to "unphysical" results (like atoms collapsing into each other), and processing hundreds of conformers is computationally expensive. The challenge is finding a way to aggregate these diverse 3D structures into a single, physically meaningful representation that respects the laws of physics—specifically E(3) invariance (the property shouldn't change if you rotate or move the molecule in space).

Methods

The authors introduce CONAN, which processes a molecule through three parallel tracks:

  1. 2D Track: Uses a Graph Attention Network (GAT) to capture the basic connectivity of the molecule.
  2. 3D Track: Uses an E(3)-invariant GNN (like SchNet or VisNet) to embed multiple 3D conformers generated quickly via RDKit.
  3. Aggregation Track (The Innovation): Instead of simple averaging, CONAN uses a Fused Gromov-Wasserstein (FGW) Barycenter.

Think of the FGW Barycenter as a "geometric mean" for graphs. It finds a representative structure that minimizes the "distance" to all conformers in the ensemble, considering both the atom features and the spatial distances between them. To make this practical for deep learning, the authors implemented a differentiable solver using entropic relaxation and Sinkhorn iterations, allowing the entire system to be trained end-to-end on GPUs.

Figure 1. Overview of the proposed conformer aggregation network with alanine dipeptide as example input.

Datasets

The model was evaluated on several standard benchmarks:

  • MoleculeNet (Regression): Lipo (lipophilicity), ESOL (solubility), FreeSolv (hydration free energy), and BACE (binding affinity).
  • SARS-CoV-2 (Classification): Two datasets focused on identifying inhibitors for the COVID-19 virus.
  • BDE (Reaction Prediction): A large-scale dataset for predicting Bond Dissociation Energy.
Table 1. Number of samples for each split on molecular property prediction, classification tasks, and reaction prediction.

Key Insights and Ideas

  • Structure-Preserving Aggregation: The FGW Barycenter acts as a "smart pooling" layer. Unlike coordinate averaging, which can create "ghost atoms" or unphysical overlaps, the barycenter preserves the underlying geometric relationships of the molecule.
  • The Power of Few: Theoretically and empirically, the authors show that the empirical barycenter converges to the true one at a rate of $O(1/K)$, where $K$ is the number of conformers. This means you don't need 200 conformers to get a good result; 5 to 10 is often sufficient.
  • Efficiency and Scalability: By using entropic FGW, the authors achieved linear scalability with respect to the number of conformers, making it much faster than previous optimal transport-based graph methods.
Figure 3. Ablation study on the effect of number conformers on the FGW barycenter component on valid sets.

Key Results

CONAN-FGW consistently outperformed state-of-the-art (SOTA) models, including those pre-trained on massive amounts of data like UniMol.

  • Regression: On the FreeSolv dataset, CONAN-FGW achieved an MSE of 1.068, significantly better than UniMol's 2.867.
  • Classification: On SARS-CoV-2 tasks, CONAN-FGW achieved the best ROC scores (e.g., 0.918 on CoV-2 3CL) using only 5 conformers, while baselines struggled even with 200 conformers.
  • Backbone Agnostic: The authors demonstrated that CONAN improves performance regardless of whether they used SchNet or the more recent VisNet as the 3D encoder.
Table 2. Models evaluation on regression tasks (MSE ↓).

Limitations and Future Work

  • Conformer Quality: The study relies on RDKit for conformer generation. While fast, RDKit conformers are approximations. Using more accurate (but slower) methods like Density Functional Theory (DFT) for relaxation could further improve results.
  • Supervised Learning: Currently, the model is trained in a supervised fashion. Extending CONAN to large-scale unlabeled datasets for self-supervised pre-training is a logical next step.
  • Hyperparameter Sensitivity: The model introduces new hyperparameters (like the weight of the barycenter contribution) that require careful tuning for different datasets.

Summary updated

BibTeX
@inproceedings{nguyen2024structure,
  author = {Duy M. H. Nguyen and Nina Lukashina and Tai Nguyen and An T. Le and TrungTin Nguyen and Nhat Ho and Jan Peters and Daniel Sonntag and Viktor Zaverkin and Mathias Niepert},
  title = {{Structure-Aware E(3)-Invariant Molecular Conformer Aggregation Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=qGEEso256L},
}
Figure