A Description-Derived Drug-Drug Interaction Benchmark Reveals Split-Dependent Molecular Representation Rankings
Organizations: Nostrum Biodiscovery · AITHYRA
Abstract
Drug-drug interaction (DDI) prediction is clinically important and poses a distinct challenge for molecular representation learning. Unlike single-molecule property prediction, DDI requires a predictor to compose two molecular representations into a relational outcome. DrugBank provides curator-authored DDI descriptions rather than ready-made categorical labels, so a categorical prediction target must first be derived from the text. We construct a dataset of DDI pairs by mapping processed descriptions to six text-derived categories and define a benchmark with four holdout regimes that restrict train-test chemical overlap from random pairs to scaffold-disjoint evaluation. We then use this benchmark to compare molecular fingerprints, pretrained sequence representations, and graph-derived features across five seeds and multiple classifier heads. Molecular fingerprints lead the high- overlap random split, whereas graph-derived representations lead the drug- and scaffold-holdout regimes, with the gap increasing as molecular overlap is restricted. Changing the classifier head affects absolute performance but not the relative representation ranking. These results show that representation rankings change with test-set novelty under a fixed description-derived label space.
Figures & tables
| Table or subset | Rows | Pairs | Drugs | Role |
| Full labeled DDI dataset | 1,392,791 | 1,392,791 | 4,437 | Base for reported split manifests |
| Pairs with valid SMILES for both drugs | 1,158,783 | 1,158,783 | 3,468 | Fully structure-resolved subset |
| Category | Recurring description signals |
|---|---|
| 0 | exposure, serum concentration, protein binding, metabolites |
| 1 | exposure, efficacy, adverse effects, bioavailability |
| 2 | excretion, serum level, efficacy changes |
| 3 | CNS effects, blood pressure, coagulation, cardiac effects |
| 4 | bleeding, QTc, hypertension, electrolyte and safety effects |
| 5 | metabolism and absorption |
| Split | Train | Val. | Test | Total |
|---|---|---|---|---|
| Random | 974,954 | 139,279 | 278,558 | 1,392,791 |
| One drug unseen | 675,377 | 191,699 | 397,605 | 1,264,681 |
| Two drugs unseen | 691,248 | 13,179 | 54,956 | 759,383 |
| Scaffold-disjoint | 806,341 | 10,970 | 36,621 | 853,932 |
| Representation | Random | One drug unseen | Two drugs unseen | Scaffold-disjoint |
|---|---|---|---|---|
| Morgan pair | 0.899 0.000 | 0.631 0.002 | 0.412 0.003 | 0.287 0.005 |
| MoLFormer pair | 0.876 0.001 | 0.632 0.001 | 0.420 0.005 | 0.308 0.005 |
| ChemBERTa pair | 0.866 0.001 | 0.623 0.001 | 0.398 0.005 | 0.299 0.005 |
| GCN pair | 0.856 0.001 | 0.635 0.001 | 0.432 0.004 | 0.324 0.005 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | k | Sil. | Davies-Bouldin | Calinski-Harabasz | Balance | Score |
|---|---|---|---|---|---|---|
| Agglomerative | 6 | 0.565 | 1.205 | 19,135 | 0.719 | 0.079 |
| Agglomerative | 8 | 0.644 | 1.045 | 20,807 | 0.253 | -0.148 |
| Agglomerative | 50 | 0.943 | 1.095 | 34,605 | 0.003 | -0.148 |
| Agglomerative | 30 | 0.892 | 1.112 | 24,878 | 0.020 | -0.199 |
| Agglomerative | 5 | 0.506 | 1.184 | 18,390 | 0.386 | -0.292 |
| Cluster | Pairs | Pair % | Cleaned templates | Top-5 template row % |
|---|---|---|---|---|
| 0 | 60,169 | 4.3 | 23 | 99.8 |
| 1 | 423,895 | 30.4 | 37 | 99.8 |
| 2 | 230,493 | 16.5 | 17 | 99.9 |
| 3 | 215,150 | 15.4 | 104 | 69.3 |
| 4 | 250,567 | 18.0 | 182 | 54.7 |
| 5 | 212,517 | 15.3 | 18 | 100.0 |
| Cluster | Description-level summary | Representative signals |
|---|---|---|
| 0 | pharmacokinetic exposure changes, metabolic inhibition or induction, protein binding and distribution, therapeutic effect modulation | serum, concentration, protein, binding, active, metabolites, metabolite |
| 1 | pharmacokinetic exposure changes, pharmacodynamic toxicity additivity, therapeutic effect modulation | effects, adverse, risk, severity, therapeutic, efficacy, bioavailability |
| 2 | pharmacokinetic exposure changes, therapeutic effect modulation | level, excretion, serum, efficacy, reduction |
| 3 | therapeutic effect modulation, cardiac electrophysiology, central nervous system depression, blood pressure and vascular tone, coagulation and bleeding, glucose regulation | depressant, activities, nervous, central, cns, antihypertensive, hypotensive, arrhythmogenic |
| 4 | pharmacodynamic toxicity additivity, cardiac electrophysiology, blood pressure and vascular tone, coagulation and bleeding, renal and electrolyte safety, glucose regulation | severity, risk, hypertension, bleeding, prolongation, qtc, hyperkalemia, hemorrhage |
| 5 | pharmacokinetic exposure changes, metabolic inhibition or induction, therapeutic effect modulation | metabolism, absorption |
| Cluster | Representative description patterns |
|---|---|
| 0 | serum concentration can be increased when combined, protein binding and active-metabolite language |
| 1 | therapeutic efficacy can be decreased when used in combination, therapeutic efficacy can be increased when used in combination |
| 2 | excretion rate can be decreased, resulting in higher serum level, serum-level and excretion language |
| 3 | anticoagulant activities can be increased, central nervous system depressant activities can be increased |
| 4 | risk or severity of bleeding can be increased, risk or severity of hypertension can be increased |
| 5 | metabolism can be increased when combined, metabolism can be decreased when combined |
| Component | Setting |
|---|---|
| Linear head | Single linear layer from input features to six classes |
| MLP head | 512-unit hidden layer, ReLU, dropout 0.2, 256-unit hidden layer, ReLU, dropout 0.2, six-class output |
| Residual MLP | 512-dimensional projection followed by two residual blocks, each block uses linear-ReLU-dropout 0.2-linear with layer normalization |
| Gated MLP | 512-dimensional value branch multiplied by a 512-dimensional sigmoid gate, followed by dropout 0.2, 256-unit hidden layer, dropout 0.2, and output layer |
| Feature-attention MLP | 512-dimensional value branch multiplied by a learned sigmoid feature-attention vector, followed by the same 256-unit head as the gated MLP |
| Pair-attention head | Two drug vectors projected to 256 dimensions, four-head self-attention with dropout 0.1 over the two tokens, layer-normalized 512-dimensional flattened token output passed to a 512-unit head with dropout 0.2 |
| Split | Pair overlap | Train-test drug overlap | Validation check |
|---|---|---|---|
| Random | 0 | 4,169/4,207 | row-level shuffle, most test drugs remain training-seen |
| One drug unseen | 0 | 2,995/3,874 | 0 rows violate the one-unseen-drug rule |
| Two drugs unseen | 0 | 0/862 | 0 rows violate the two-unseen-drug rule |
| Scaffold-disjoint | 0 | 0/656 | 0 canonical SMILES/scaffold overlap, maximum ECFP4 Tanimoto 0.70 |
| Split | Rank | Configuration | Runs | Accuracy | Macro-F1 |
|---|---|---|---|---|---|
| Random | 1 | Morgan pair + Aux. reg. MLP | 5 | 0.905 0.000 | 0.899 0.000 |
| 2 | Morgan pair + MLP | 5 | 0.902 0.001 | 0.897 0.001 | |
| 3 | Morgan pair + Residual MLP | 5 | 0.902 0.000 | 0.896 0.001 | |
| One drug unseen | 1 | GCN pair + Residual MLP | 5 | 0.672 0.001 | 0.635 0.001 |
| 2 | MoLFormer pair + Residual MLP | 5 | 0.669 0.001 | 0.632 0.001 | |
| 3 | Morgan pair + Residual MLP | 5 | 0.669 0.003 | 0.631 0.002 |
| Comparison | Contrast | Split | Difference |
|---|---|---|---|
| Random top configuration | Morgan aux. regression vs Morgan MLP | Random | 0.002 [0.001, 0.004] |
| One-drug representation margin | GCN residual vs MoLFormer residual | One drug unseen | 0.004 [0.002, 0.005] |
| Two-drug representation margin | GCN residual vs MoLFormer residual | Two drugs unseen | 0.012 [0.004, 0.020] |
| Scaffold representation margin | GCN pair attention vs MoLFormer residual | Scaffold-disjoint | 0.015 [0.009, 0.022] |
| Scaffold head margin | GCN pair attention vs GCN residual | Scaffold-disjoint | 0.009 [-0.002, 0.020] |
| Split | Configuration | Bal. acc. | MCC | AUROC | AUPRC / ECE |
|---|---|---|---|---|---|
| Random | Morgan pair + auxiliary-regression MLP | 0.888 0.001 | 0.875 0.000 | 0.991 0.000 | 0.964 0.000 / 0.019 0.001 |
| One drug unseen | GCN pair + residual MLP | 0.624 0.003 | 0.563 0.001 | 0.887 0.001 | 0.670 0.002 / 0.171 0.003 |
| Two drugs unseen | GCN pair + residual MLP | 0.419 0.003 | 0.330 0.007 | 0.758 0.001 | 0.415 0.006 / 0.318 0.003 |
| Scaffold-disjoint | GCN pair + pair attention | 0.325 0.004 | 0.192 0.007 | 0.689 0.005 | 0.310 0.005 / 0.322 0.005 |
| Matched group | Settings | Scaffold higher | Mean | Median |
|---|---|---|---|---|
| All matched appendix settings | 36 | 0 | -0.085 | -0.093 |
| Torch settings | 28 | 0 | -0.093 | -0.098 |
| Morgan pair settings | 9 | 0 | -0.100 | -0.122 |
| GCN pair settings | 9 | 0 | -0.082 | -0.098 |
| Torch Morgan pair settings | 7 | 0 | -0.110 | -0.124 |
| Torch GCN pair settings | 7 | 0 | -0.091 | -0.106 |
| Split | Rank | Head | Mean accuracy | Mean macro-F1 |
|---|---|---|---|---|
| Random | 1 | Residual MLP | 0.880 | 0.874 |
| 2 | Feature attention | 0.869 | 0.861 | |
| 3 | Gated MLP | 0.868 | 0.860 | |
| 4 | Aux. reg. MLP | 0.863 | 0.854 | |
| One drug unseen | 1 | Residual MLP | 0.668 | 0.630 |
| 2 | Gated MLP | 0.663 | 0.619 |