Introduction
In drug discovery and cheminformatics, molecules are typically represented in two ways: as 2D graphs (showing bonding topology) or 3D conformations (showing spatial coordinates). While these views are complementary, most deep learning models treat them separately. This paper introduces a unified framework that jointly encodes both modalities within a single Graph Neural Network (GNN) backbone, achieving state-of-the-art performance across 10 out of 11 major molecular property prediction benchmarks.
Methodology
The core of the approach is a unified GNN architecture that processes atoms, bonds, and 3D coordinates in a single pass. Instead of using separate encoders, 3D spatial information is fused directly into atomic representations using feed-forward networks before being processed by the main GNN layers.
To train this unified backbone, the authors developed three cross-modal pre-training tasks:
- Masked Reconstruction: Predicting masked atoms and their 3D coordinates.
- 2D → 3D Generation: Generating a 3D conformation given only a 2D graph.
- 3D → 2D Generation: Predicting the 2D graph structure (bond types) given 3D coordinates.
Addressing Molecular Symmetry
A key challenge in 3D molecular modeling is that molecules remain identical even if they are rotated in space or if symmetric atoms are swapped. Standard loss functions like Mean Squared Error (MSE) fail here because they penalize the model for predicting a valid but permuted version of the molecule.
To solve this, the authors implemented permutation invariant loss and roto-translation invariant loss. These ensure the model recognizes that swapping identical hydrogen atoms or rotating the entire structure does not change the underlying molecular identity.
Key Results and Insights
- Unified Strength: A single model architecture that fuses 2D and 3D data during pre-training performs significantly better than "dual-view" models that use separate encoders.
- Spatial Intuition: One of the most striking findings is that the model performs better even on downstream tasks that only provide 2D information. By learning 3D physics during pre-training, the model develops a "spatial intuition" that improves its predictions from flat graphs by an average of 8.3%.
- Benchmark Success: The model set a new record on the competitive
ogb-molpcbaleaderboard and excelled at 3D shape prediction, improving Mean Matching Scores by up to 7.7% on standard datasets like GEOM-QM9.
Conclusion
By unifying topological and geometric representations, this framework overcomes the limitations of modality-specific models. While 3D data is computationally expensive to generate, this research demonstrates that leveraging it during pre-training provides a massive boost to the accuracy and robustness of molecular property predictions.
Summary updated