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

Abstract

Predicting molecular properties is a fundamental challenge in drug discovery and materials science, often limited by the scarcity of labeled data. Self-supervised pre-training on large unlabeled datasets has emerged as a primary strategy to overcome this "data drought." However, standard denoising techniques typically employ isotropic Gaussian noise, which fails to account for the physical constraints and anisotropic nature of molecular structures. We introduce Fractional Denoising (Frad), a novel pre-training framework that decouples noise design from physical constraints. By predicting only a fraction of the added noise, Frad allows for the integration of Chemical-Aware Noise (CAN) while maintaining a mathematically rigorous connection to atomic force learning. Frad achieves state-of-the-art performance across 18 molecular property tasks, demonstrating significant improvements in force prediction, quantum property estimation, and binding affinity tasks.

Introduction

The efficacy of AI in drug discovery is often bottlenecked by the high cost and scarcity of labeled molecular data. To address this, researchers utilize self-supervised pre-training, where models learn representations from massive unlabeled datasets. A common approach is denoising: a model is trained to reconstruct a stable molecular conformation after it has been perturbed by random noise. This process is mathematically equivalent to learning the "forces" that govern molecular stability.

Despite its success, standard denoising relies on simple, uniform Gaussian noise. This is physically unrealistic; molecules do not merely vibrate in place but undergo large-scale structural changes, such as bond rotations. Simple noise creates a biased view of the molecule's energy landscape, limiting the model's ability to generalize to complex, real-world conformations. There is a critical need for a denoising framework that can incorporate realistic chemical movements without losing the theoretical benefits of force-centric learning.

Methodology: Fractional Denoising (Frad)

The core innovation of this work is the Fractional Denoising (Frad) framework. Unlike traditional methods that require the model to predict the entire noise vector, Frad tasks the model with predicting only a specific fraction of the noise.

Hybrid Noise Design

Frad utilizes a two-part noise injection process:

  1. Chemical-Aware Noise (CAN): This simulates realistic molecular movements, such as bond rotations (Rotation Noise) or changes in bond lengths and angles (Vibration and Rotation Noise). CAN allows the model to explore the conformational space up to 20 times further than standard methods without destroying the underlying molecular topology (e.g., breaking rings).
  2. Coordinate Gaussian Noise (CGN): A standard Gaussian perturbation is added on top of the CAN.

The Denoising Objective

The model is trained to predict only the CGN component. The authors provide a theoretical proof demonstrating that as long as the final noise step is Gaussian, the model effectively learns the underlying atomic forces, regardless of the complexity or magnitude of the initial Chemical-Aware noise. This decoupling allows researchers to bake in specific chemical priors—such as which bonds are rotatable—to make pre-training more effective.

Architecture

The framework utilizes TorchMD-NET, an equivariant Graph Neural Network (GNN), as its backbone. This ensures that the model's representations are invariant to 3D rotations and translations, preserving the fundamental physical properties of the molecule regardless of its orientation in space.

Experimental Setup and Results

Datasets and Pre-training

Frad was pre-trained on the PCQM4Mv2 dataset, comprising 3.4 million organic molecules. The model's performance was evaluated across several rigorous benchmarks:

  • Force Prediction: MD17, MD22, and ISO17 (molecular dynamics trajectories).
  • Quantum Properties: QM9 (12 chemical targets).
  • Binding Affinity: Atom3D LBA (ligand-protein binding).

Key Findings

Frad achieved state-of-the-art (SOTA) results on 18 out of 21 tasks:

  • Superior Force Accuracy: On the MD22 dataset, which includes complex molecules like proteins and lipids, Frad significantly reduced error rates compared to previous leading methods like "Coord."
  • Quantum Property Records: On the QM9 benchmark, Frad set new records for 9 out of 12 targets, proving that force-centric pre-training translates effectively to electronic and thermodynamic property prediction.
  • Robustness to Data Quality: High-quality 3D data is expensive to produce via Density Functional Theory (DFT). Interestingly, Frad proved robust even when pre-trained on "cheap" 3D structures generated by RDKit, outperforming standard methods trained on high-fidelity data.
  • Universal Representation Learning: Frad outperformed specialized models on the Atom3D binding affinity task, suggesting it can serve as a universal learner for both small molecules and large protein complexes.

Discussion and Conclusion

Frad represents a significant step forward in molecular representation learning by breaking the "isotropic barrier" of traditional denoising. By allowing for anisotropic, chemically realistic noise while maintaining a rigorous force-learning objective, Frad captures the "stiff" and "floppy" directions of molecular movement more accurately than previous methods.

While the current results are promising, the authors identify several avenues for future research. Currently, the model is limited by the scale of 3D data (3.4M molecules) compared to the much larger 1D and 2D molecular datasets available. Future work will focus on scaling the data, integrating multi-modal information (1D/2D/3D), and extending the framework to broader domains such as nucleic acids and advanced materials. Ultimately, Frad establishes a robust foundation for building more accurate and generalizable models for the physical sciences.

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