3D Interaction Geometric Pre-training for Molecular Relational Learning

Namkyeong Lee, Yunhak Oh, Heewoong Noh, Gyoung S. Na, Minkai Xu, Hanchen, Tianfan Fu, Chanyoung Park

TL;DR

3DMRL is a novel pre-training framework that equips 2D molecular models with "3D spatial intuition" without relying on expensive quantum mechanical simulations. By training on a cheaply constructed "virtual interaction environment," the model learns to predict how molecules sit and move relative to one another. This approach yields significant performance boosts—up to 25%—across 40 different chemical and biological tasks.

The Challenge: The 3D Bottleneck in Molecular Relational Learning

In computational chemistry, Molecular Relational Learning (MRL) focuses on predicting how two or more molecules interact. This is the foundational science behind understanding how a drug binds to a protein or how a solute dissolves in a solvent.

While 3D geometry—the exact spatial "handshake" between molecules—is the primary driver of these interactions, most machine learning models rely solely on 2D topological graphs. Why? Because accurate 3D interaction data is prohibitively expensive to generate. Traditional methods like Quantum Mechanics (QM) or Molecular Dynamics (MD) can take hours to simulate just a single pair of molecules.

Furthermore, existing 3D pre-training methods predominantly focus on single molecules. They fail to capture the relative geometry—the complex orientation of two molecules interacting in space—which is the missing link for high-accuracy MRL.

The 3DMRL Framework: Virtual Environments and Geometry Learning

To bypass these expensive simulations, the authors introduce 3DMRL, a framework built around a novel Virtual Interaction Environment.

Overview of the 3DMRL framework, detailing the virtual interaction environment and geometry learning modules.

The methodology breaks down into four key components:

  1. Virtual Geometry Construction: Instead of waiting for a supercomputer to calculate the precise 3D arrangement, the authors heuristically place "smaller" molecules (like solvents) around a "larger" central molecule (the solute). They use random Gaussian noise to determine direction and random rotation matrices to vary orientation. This creates a diverse, physically plausible training set at near-zero computational cost.
  2. Global Geometry Learning: Using contrastive learning, the model is trained to align the 2D representations of a molecular pair with the 3D representation of the virtual environment. This teaches the model the "big picture" of system stability and overall interaction dynamics.
  3. Local Relative Geometry Learning: In this fine-grained step, the 2D model must predict the relative 3D coordinates (direction vectors) between atoms of the interacting molecules. This acts as a pseudo-force label, encouraging the model to encode the directionality of intermolecular forces like hydrogen bonding or steric repulsion.
  4. SE(3) Equivariance: The authors employ a "local frame" approach to ensure that the model’s predictions remain consistent even if the entire 3D system is rotated or shifted in space.

Datasets and Key Insights

The framework was rigorously evaluated across 10 diverse datasets covering 40 specific tasks, including optical properties (Chromophore), solvation energy (MNSol, FreeSolv, CompSol, etc.), and Drug-Drug Interactions (DDI).

Several key insights emerged from the study:

  • "Good Enough" Geometry: Surprisingly, a randomized virtual environment provides enough signal for a 2D model to learn meaningful spatial features. Perfect quantum data isn't strictly necessary to teach a model the core concepts of 3D interaction.
  • MRL is not MPP: Pre-training on single-molecule properties (Molecular Property Prediction) often results in "negative transfer" when applied to interactions. To predict how molecules behave together, they must be pre-trained together in a shared 3D space.
  • Global vs. Local: Ablation studies revealed that while global alignment is critical for overall performance, local geometry prediction is the key driver for generalizing to out-of-distribution molecules.

Performance and Generalization Gains

3DMRL achieved consistent improvements across all 40 evaluated tasks.

Performance improvements across various models and datasets using the 3DMRL pre-training strategy.
  • Massive Gains: The most notable achievement was a 24.93% relative reduction in RMSE on the CompSol dataset when applied to existing architectures.
  • Superior Generalization: In "scaffold split" scenarios—where the model is tested on molecular structures it has never seen before—3DMRL significantly outperformed models trained from scratch or those pre-trained only on single-molecule 3D data.
  • Inference Efficiency: Because the 3D information is exclusively utilized during the pre-training phase, the final model remains a fast, 2D graph neural network during inference. This makes it highly practical for real-world high-throughput screening.

Limitations and Future Work

While powerful, the current virtual environment relies on a "one-to-many" heuristic configuration (one large molecule surrounded by smaller ones). While this mimics solvation well, it may not perfectly capture complex, large-scale interactions like protein-protein binding.

The authors note that replacing their random generator with a more physically informed lightweight generative model could further improve the training signal. Future work aims to scale this approach to Drug-Target Binding Affinity, where the "large molecule" is a massive protein structure requiring even more sophisticated geometric encoding.

Summary updated

BibTeX
@inproceedings{lee2025d,
  author = {Namkyeong Lee and Yunhak Oh and Heewoong Noh and Gyoung S. Na and Minkai Xu and Hanchen and Tianfan Fu and Chanyoung Park},
  title = {{3D Interaction Geometric Pre-training for Molecular Relational Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=PZaxCfLGLA},
}
Figure