Pharmacology Knowledge Graphs: Do We Need Chemical Structure for Drug Repurposing?
Organizations: University of California, San Francisco, San Francisco, CA, USA. · Stanford University, Stanford, CA, USA.
Abstract
The contributions of model complexity, data volume, and feature modalities to knowledge graph-based drug repurposing remain poorly quantified under rigorous temporal validation. We constructed a pharmacology knowledge graph from ChEMBL 36 comprising 5,348 entities including 3,127 drugs, 1,156 proteins, and 1,065 indications. A strict temporal split was enforced with training data up to 2022 and testing data from 2023 to 2025, together with biologically verified hard negatives mined from failed assays and clinical trials. We benchmarked five knowledge graph embedding models and a standard graph neural network with 3.44 million parameters that incorporates drug chemical structure using a graph attention encoder and ESM-2 protein embeddings. Scaling experiments ranging from 0.78 to 9.75 million parameters and from 25 to 100 percent of the data, together with feature ablation studies, were used to isolate the contributions of model capacity, graph density, and node feature modalities. Removing the graph attention based drug structure encoder and retaining only topological embeddings combined with ESM-2 protein features improved drug protein PR-AUC from 0.5631 to 0.5785 while reducing VRAM usage from 5.30 GB to 353 MB. Replacing the drug encoder with Morgan fingerprints further degraded performance, indicating that explicit chemical structure representations can be detrimental for predicting pharmacological network interactions. Increasing model size beyond 2.44 million parameters yielded diminishing returns, whereas increasing training data consistently improved performance. External validation confirmed 6 of the top 14 novel predictions as established therapeutic indications. These results show that drug pharmacological behavior can be accurately predicted using target-centric information and drug network topology alone, without requiring explicit chemical structure representations.
Figures & tables
| Metric | De Novo Drug Discovery | Drug Repurposing |
|---|---|---|
| Average Cost | 3.0 Billion | $300 Million |
| Time to Market | 10–17 Years | 3–12 Years |
| Success Rate | 10% (Phase I to Approval) | 30% |
| Primary Risk | Safety & Efficacy | Efficacy |
| Key Advantage | Novelty & IP Exclusivity | Speed, Cost, & Safety |
| Model | Params | VRAM | Drug–Protein | Drug–Indication | ||
|---|---|---|---|---|---|---|
| PR-AUC | Hits@10 | PR-AUC | Hits@10 | |||
| TransE | 0.78M | 1.0 GB | 0.1871 | 0.1594 | 0.2954 | 0.4268 |
| TransR | 0.81M | 1.0 GB | 0.2017 | 0.1620 | 0.2402 | 0.3028 |
| RotatE | 0.78M | 1.5 GB | 0.1855 | 0.1783 | 0.0720 | 0.2718 |
| ComplEx | 0.78M | 0.9 GB | 0.2262 | 0.2188 | 0.2989 | 0.4028 |
| DistMult | 0.78M | 1.0 GB | 0.2314 | 0.2241 | 0.3246 | 0.3803 |
| Variant | Params | VRAM | Drug–Protein | Drug–Indication | ||
|---|---|---|---|---|---|---|
| PR-AUC | Hits@10 | PR-AUC | Hits@10 | |||
| Standard GNN (GAT + ESM-2) | 3.44M | 5.30 GB | 0.5631 | 0.5134 | 0.8175 | 0.8620 |
| Ablation 1: No ESM-2 | 3.29M | 5.26 GB | 0.5186 | 0.4419 | 0.7937 | 0.8310 |
| Ablation 2: No Drug Graphs | 3.29M | 353 MB | 0.5785 | 0.5234 | 0.8060 | 0.8042 |
| Ablation 3: Both Ablated | 3.14M | 345 MB | 0.4658 | 0.4340 | 0.7952 | 0.8183 |
| Morgan FP MLP + ESM-2 | 3.69M | 350 MB | 0.5286 | 0.4813 | 0.7937 | 0.8254 |
| Experiment | Params | Drug–Protein | Drug–Indication | ||
|---|---|---|---|---|---|
| PR-AUC | Hits@10 | PR-AUC | Hits@10 | ||
| Track 1: Data Scaling (Fixed Params: 3.44M, sd=256) | |||||
| 25% Data | 3.44M | 0.4320 | 0.3782 | 0.5749 | 0.6338 |
| 50% Data | 3.44M | 0.5140 | 0.4603 | 0.6882 | 0.7634 |
| 75% Data | 3.44M | 0.5381 | 0.4850 | 0.7919 | 0.8155 |
| 100% Data (Standard GNN) | 3.44M | 0.5631 | 0.5134 | 0.8175 | 0.8620 |
| Rank | Drug | Predicted Indication | Validation Status | Evidence |
|---|---|---|---|---|
| 4 | Diltiazem Hydrochloride | Stroke | Clinical Efficacy | NORDIL Trial Hansson et al. (2000) |
| 5 | Dabigatran Etexilate Mesylate | Pulmonary Embolism | FDA Approved | FDA Label U.S. Food and Drug Administration (2014) |
| 7 | Cortisone Acetate | Serum Sickness | FDA Approved | FDA Label Drugs.com (2025) |
| 8 | Captopril | Stroke | Class Effect Efficacy | PROGRESS/HOPE Trials Gorelick (2002) |
| 9 | Methotrexate Sodium | Immune System Diseases | Standard Practice | Clinical Guidelines Weinblatt et al. (1985) |
| 14 | Pantoprazole Sodium | Stomach Ulcer | Standard Practice | Clinical Guidelines Savarino et al. (2018) |
| Configuration | GPU | Params | Peak VRAM | Train Time | GPU TFLOPS | DP PR-AUC |
|---|---|---|---|---|---|---|
| KGE (TransR) | RTX 3090 | 0.81M | 1.0 GB | 12 min | 23.68 | 0.2017 |
| Standard GNN | RTX 3090 | 3.44M | 5.30 GB | 44.8 min | 23.68 | 0.5631 |
| Ablation 2 (No Drug Graphs) | RTX 3090 | 3.29M | 353 MB | 42.1 min | 23.68 | 0.5785 |
| Scaled Model (sd=512) | RTX 3090 | 9.75M | 5.40 GB | 45.2 min | 23.68 | 0.5349 |
| Blackwell GNN | RTX PRO 6000 | 9.73M | 36.8 GB | 60.2 min | 66.75 | 0.5910 |
| Method | Task | Metric | Reported result |
| TxGNN Huang et al. (2024) | Drug–disease | AUPRC / rel. gain | 0.913; +49.2% ind., +35.1% contra. |
| NetMedGPT Firoozbakht et al. (2026) | Drug–disease | AUPRC | 0.96 (indication), 0.91 (contraindication) |
| DTGHAT Jiang et al. (2025) | Drug–target | AUC / AUPRC | 0.96 0.01 / 0.95 0.01 (5-fold CV) |
| LLaDR Xiang et al. (2025) | DRKG link prediction | AUC | 0.850 (best reported variant) |
| Our 353 MB Model | Drug–Protein | ROC-AUC / PR-AUC | 0.976 / 0.578 |
| (Ablation 2) | Drug–Indication | ROC-AUC / PR-AUC | 0.988 / 0.806 |