Introduction
Predicting molecular properties like toxicity or solubility is a critical task in drug discovery and materials science. Modern approaches typically use Graph Neural Networks (GNNs) to analyze a molecule's internal structure—the arrangement of atoms and bonds. However, molecules also exist within a "macro" context, interacting with proteins and diseases, information often captured in Knowledge Graphs (KGs). Existing models frequently fail to integrate this external knowledge effectively, often relying on static embeddings that ignore the molecule's rich local neighborhood within the KG.
The GODE (Graph as a Node) framework bridges this gap by treating molecules as dual-natured entities: individual graphs and nodes within a biochemical KG. By aligning these perspectives through bi-level contrastive learning, GODE achieves state-of-the-art results in molecular property prediction, outperforming existing models by up to 34% on regression tasks.
Methods
The GODE framework operates through a four-stage pipeline designed to harmonize structural and relational data:
- Molecule-level Pre-training (M-GNN): A GNN is trained on individual molecular graphs to predict internal features, such as atom-level contextual properties and functional motifs (e.g., benzene rings).
- KG-level Pre-training (K-GNN): A second GNN is trained on a κ-hop subgraph centered on the molecule within a large biochemical KG. This model learns to predict missing edges, node categories (e.g., drug, protein, disease), and motifs within the KG context.
- Bi-level Contrastive Learning: This stage uses an InfoNCE loss to maximize agreement between the M-GNN (structural) and K-GNN (knowledge) embeddings. This forces the structural model to learn representations consistent with the molecule's biological roles.
- Fine-tuning: For downstream tasks, the model concatenates structural and knowledge embeddings (along with traditional RDKit features) to make final predictions via a Multi-Layer Perceptron (MLP).
Datasets and Evaluation
The model was pre-trained on 11 million unlabeled molecules from ZINC15 and ChEMBL. The authors constructed MolKG, a comprehensive biochemical KG merging PubChemRDF and PrimeKG, containing 2.5 million triples and 184,000 entities. Evaluation was conducted on the MoleculeNet benchmark across 11 tasks.
Key Results
GODE demonstrated significant performance gains over existing benchmarks:
- Classification: Achieved an average 12.7% improvement in ROC-AUC, outperforming the previous state-of-the-art (KANO) by 2.2%.
- Regression: Showed a massive 34.4% average improvement in RMSE/MAE, representing a 7.2% advancement over KANO.
- Ablation Studies: Performance dropped significantly when either pre-training level was removed, confirming the necessity of the bi-level approach.
- Visualization: t-SNE plots indicated that GODE creates tighter, more distinct clusters based on chemical scaffolds compared to previous models.
Conclusion and Future Work
The "Graph as a Node" paradigm effectively transfers domain knowledge from KGs into structural encoders. While successful, the model's performance is tied to KG coverage. Future research will focus on expanding MolKG, developing attention mechanisms for relation selection, and applying this framework to other domains like social network analysis or academic citation networks.
Summary updated