Pre-training with fractional denoising to enhance molecular property prediction

Yuyan Ni, Shikun Feng, Xin Hong, Yuancheng Sun, Wei-Ying Ma, Zhi-Ming Ma, Qiwei Ye, Yanyan Lan · DOI

TL;DR

This paper introduces "Fractional Denoising" (Frad), a novel self-supervised pre-training method for molecular property prediction. Frad enhances molecular representations by decoupling noise design from force learning equivalence, allowing for the incorporation of chemical priors to better model molecular distributions, leading to state-of-the-art performance across various downstream tasks.

What Problem Does This Paper Address?

Deep learning models show great promise for accelerating molecular screening in drug discovery and materials science. However, a major bottleneck is the scarcity of labeled molecular data. While self-supervised pre-training methods, inspired by computer vision and natural language processing, have been developed, they often overlook the fundamental physical principles governing molecules. Existing denoising-based pre-training methods, while offering a physically interpretable approach (equivalent to learning atomic forces), suffer from a limited noise distribution that can bias molecular distributions and lead to inaccurate predictions. This paper aims to address this by proposing a more flexible and chemically informed denoising strategy.

Methods

The core innovation is Fractional Denoising (Frad). Unlike traditional denoising that aims to reconstruct the original input, Frad only denoises a fraction of the introduced noise. This "fractional" approach, combined with a hybrid noise strategy, is key. The hybrid noise consists of:

  • Chemical-Aware Noise (CAN): This is the novel component. It's customizable and designed to incorporate chemical priors about molecular conformational changes. The paper proposes two versions:
  • Rotation Noise (RN): Perturbs torsion angles of rotatable bonds.
  • Vibration and Rotation Noise (VRN): Perturbs bond lengths, bond angles, and torsion angles.
  • Coordinate Gaussian Noise (CGN): Standard isotropic Gaussian noise.

The pre-training objective is to predict the CGN from the noisy conformation. This task is theoretically shown to be equivalent to learning atomic forces. By making CAN customizable, Frad can better model the comprehensive molecular distribution, leading to more accurate force targets and improved sampling. The model architecture is based on TorchMD-NET, an equivariant graph neural network.

Datasets

  • Pre-training Dataset: PCQM4Mv2 (3.4 million organic molecules with DFT-calculated equilibrium conformations).
  • Downstream Tasks & Datasets:
    • Atom-wise Force Prediction: MD17, MD22, ISO17.
  • Molecule-wise Quantum Chemical Properties Prediction: QM9 (12 tasks).
  • Complex-wise Binding Affinity Prediction: LBA (Atom3D dataset).

Key Insights and Ideas

  • The "Fractional" Advantage: By only denoising a portion of the noise, Frad decouples the noise design from the strict constraints of full reconstruction, allowing for more flexible and chemically relevant noise.
  • Chemical Priors Matter: Incorporating CAN, which models realistic molecular motions (rotations and vibrations), significantly improves the modeling of molecular distributions compared to purely isotropic noise. This leads to better force learning and more accurate predictions.
  • Force Learning is a Powerful Pre-training Target: The paper strongly reinforces the idea that learning atomic forces is a fundamental and effective pre-training strategy for molecular representations. Frad's ability to learn more accurate forces directly translates to better performance on downstream tasks.
  • Robustness to Inaccurate Conformations: Frad shows remarkable resilience to pre-training data generated with less accurate computational methods (RDKit vs. DFT), suggesting it can be scaled to larger datasets more easily.

Key Results

  • State-of-the-Art Performance: Frad achieved state-of-the-art results on 18 out of 21 quantum chemical property and binding affinity prediction tasks.
  • Force Prediction Improvement: Frad consistently outperformed existing denoising methods (like Coord) on force prediction tasks, even with significantly larger noise levels. For example, Frad(RN) with a perturbation scale 20 times larger than Coord's optimal setting still outperformed it.
  • Enhanced Sampling and Accuracy: Frad demonstrated a larger sampling coverage of the energy surface and learned more accurate atomic forces compared to coordinate denoising methods.
  • Efficiency: Frad's pre-training is computationally efficient, outperforming other methods in terms of hardware configuration and pre-training time.

Limitations and Future Work

  • Dataset Size: While Frad is robust to inaccurate conformations, the cost of obtaining accurate 3D molecular conformations still limits the scale of pre-training datasets. The authors anticipate more 3D data becoming available.
  • Generalizability of CAN: The current CAN design is tailored for small organic molecules. Future work could explore designing CAN for specific molecular categories like nucleic acids, proteins, and materials.
  • Multimodality: Integrating Frad with other pre-training methods that handle different data modalities (e.g., 1D SMILES, 2D graphs) could lead to more comprehensive molecular models.
  • Fine-tuning Techniques: While Frad Noisy Nodes showed promise, further exploration into fine-tuning strategies could yield additional improvements.

Summary updated

BibTeX
@article{ni2024pre,
  author = {Yuyan Ni and Shikun Feng and Xin Hong and Yuancheng Sun and Wei-Ying Ma and Zhi-Ming Ma and Qiwei Ye and Yanyan Lan},
  title = {{Pre-training with fractional denoising to enhance molecular property prediction}},
  journal = {Nat. Mac. Intell.},
  year = {2024},
  doi = {10.1038/s42256-024-00900-z},
}
Figure