betaFeedback

WorksAgricultural and Biological Sciences

A Description-Derived Drug-Drug Interaction Benchmark Reveals Split-Dependent Molecular Representation Rankings

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.

Introduction

Drug-drug interaction (DDI) prediction differs from many molecular property tasks because the prediction target belongs to a pair rather than to an individual molecule. A downstream predictor must combine two molecular representations to infer an interaction that neither single-molecule representation encodes directly. DrugBank provides curator-authored natural-language interaction descriptions at scale [1]. However, turning them into categorical prediction targets is itself a dataset-construction choice.

Evaluation introduces a second choice. Existing DDI studies use pair- and drug-holdout protocols [2], as well as knowledge-graph formulations [3]. Holding out pairs does not necessarily hold out their molecular content: test pairs may still contain training-seen drugs, scaffolds, or closely related structures. Scaffold-aware evaluation addresses this issue [4, 5].

Morgan fingerprints encode fixed local environments [6], MoLFormer and ChemBERTa learn molecular-string representations [7, 8], and graph-derived representations encode molecular connectivity through graph neural networks and message passing [9, 10]. Previous DDI experiments already suggested that fingerprints can be favored when substantial chemical overlap remains [11].

Submitted to the 40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Agentic Systems for Molecular Sciences. Do not distribute.

We therefore ask whether a representation ranking persists when the labels are fixed but the molecular novelty of the test population changes.

To evaluate the effects of distinct molecular representations in DDI across different holdout regimes, we construct a dataset of 1,392,791 unordered DrugBank pairs with six text-derived interaction categories. We use dataset to refer to these labeled pairs, and benchmark to refer to the dataset together with the fixed split manifests and evaluation protocol. The benchmark contains random pair, one-drug-unseen, two-drug-unseen, and scaffold-disjoint regimes, allowing the same representation grid to be evaluated as overlap with training is restricted.

We summarize our contributions as:

  • a DDI dataset containing 1,392,791 unordered DrugBank pairs and six traceable, description-derived categories,

  • a benchmark with four evaluation regimes that explicitly control pair, drug, scaffold, and molecular-similarity overlap, and

  • experiments repeated across five model seeds showing that representation rankings change with test-set novelty, while classifier-head complexity has a smaller effect on the conclusions.

Dataset construction and benchmark design

DDI dataset and text-derived labels

Starting from DrugBank DDI records, directed entries are canonicalized to one row per unordered DrugBank ID pair, producing 1,392,791 labeled pairs across 4,437 drugs, with representative description examples provided in Appendix § 7, Table 8. The subject and affected drug names are then removed from each description to reduce direct identity cues. The cleaned descriptions are embedded with a biomedical SentenceTransformer using a PubMedBERT backbone [12, 13]. Table 1 summarizes molecular-structure coverage in the labeled dataset. The reported split manifests are constructed from the full labeled pair table, with unavailable molecular features handled during feature construction. Additional dataset construction details are provided in Appendix § 6.

Table or subsetRowsPairsDrugsRole
Full labeled DDI dataset1,392,7911,392,7914,437Base for reported split manifests
Pairs with valid SMILES for both drugs1,158,7831,158,7833,468Fully structure-resolved subset

Table 1. Dataset and molecular-structure coverage. The full labeled dataset provides the pair population used to construct the reported split manifests. The structure-resolved subset contains pairs for which both endpoints have valid RDKit-parsable SMILES.

Table 8: Representative wording patterns for the text-derived labels. These template-like patterns are extracted from frequent cleaned descriptions with drug names omitted and show recurring interaction-description language.

ClusterRepresentative description patterns
0serum concentration can be increased when combined, protein binding and active-metabolite language
1therapeutic efficacy can be decreased when used in combination, therapeutic efficacy can be increased when used in combination
2excretion rate can be decreased, resulting in higher serum level, serum-level and excretion language
3anticoagulant activities can be increased, central nervous system depressant activities can be increased
4risk or severity of bleeding can be increased, risk or severity of hypertension can be increased
5metabolism can be increased when combined, metabolism can be decreased when combined

Table 8.

To derive categorical labels for each drug pair, we clustered the corresponding DDI description embeddings. We first sampled 50,000 descriptions to evaluate alternative clustering configurations. Among the tested agglomerative settings, the six-category solution achieved the strongest combined separation-and-balance score. MiniBatchKMeans was then used for scalable assignment of the complete dataset [14]. Table 2 summarizes the recurring description signals associated with the resulting categories. Full clustering diagnostics and representative wording patterns are provided in Appendix § 7.

CategoryRecurring description signals
0exposure, serum concentration, protein binding, metabolites
1exposure, efficacy, adverse effects, bioavailability
2excretion, serum level, efficacy changes
3CNS effects, blood pressure, coagulation, cardiac effects
4bleeding, QTc, hypertension, electrolyte and safety effects
5metabolism and absorption

Table 2. Recurring DrugBank description signals represented by the six text-derived categories. The categories summarize description language rather than expert-adjudicated mechanisms.

Because the categories remain traceable to recurring DrugBank wording, their content can be inspected against the source descriptions. The text encoder is used to derive the benchmark labels and is not evaluated as a molecular representation for DDI prediction (Figure 1).

Benchmark construction and evaluation

Figure 1. Benchmark construction and evaluation. DrugBank descriptions are used to obtain the six text-derived labels, while molecular representations are the inference inputs evaluated under pair-, drug-, and scaffold-level holdouts.

We construct the DDI benchmark by combining this fixed label space with four predefined train, validation, and test splits. The labels therefore remain unchanged across evaluation regimes, while the amount and type of molecular information shared between training and test are controlled. This separation is central to the benchmark: differences between splits can be interpreted against the same prediction target rather than against independently constructed DDI datasets.

Benchmark regimes and representation evaluation

Four evaluation regimes alter the held-out population while keeping the label space and training protocol fixed. Random pair holdout evaluates unseen combinations while retaining high overlap in the individual drugs. One-drug-unseen evaluation requires exactly one test endpoint to be absent from training, whereas two-drug-unseen evaluation removes both. Scaffold-disjoint evaluation additionally enforces zero train-test DrugBank ID, canonical SMILES, and Bemis-Murcko-framework overlap [5]. ECFP4 similarities [6] are computed with RDKit [15], and the maximum validation/test-to-train Tanimoto similarity is constrained to 0.70. Table 3 reports the resulting split sizes. All regimes have zero train-test unordered-pair overlap. Scaffold-disjoint evaluation additionally has zero train-test drug-identity overlap and, among structure-resolved compounds, zero canonical SMILES and Bemis-Murcko-scaffold overlap, with maximum ECFP4 Tanimoto similarity of 0.70.

All scaffold-disjoint validation and test pairs are structure-resolved. 613,853 of the 806,341 training pairs have valid structures for both endpoints, with unavailable molecular features handled by the zero-vector fallback described in Appendix § 8.

The benchmark evaluates four forms of molecular input that differ in both construction and pre-training signal. Morgan fingerprints are fixed, rule-defined circular descriptors [6]. MolFormer and ChemBERTa use self-supervised molecular-string representations learned with masked-token objectives [7, 8]. GCN features use the Tensor-DTI drug encoder trained on PCBA-1328 [16, 17]. Pair features are concatenated in canonical DrugBank ID order. All four representations are evaluated with the same predefined classifier-head grid and five model seeds to test sensitivity to downstream classifier capacity. Architectural and optimization details are given in Appendix § 8.

What the benchmark reveals

The benchmark reveals a clear representation-ranking reversal as molecular novelty increases: Morgan fingerprints perform best in the high-overlap random split, whereas Tensor-DTI graph-derived features lead the one-drug-unseen, two-drug-unseen, and scaffold-disjoint regimes.

Table 4 quantifies this reversal. The GCN margin over Morgan increases from 0.004 macro-F1 in the one-drug-unseen regime to 0.020 in the two-drug-unseen regime and 0.037 in the scaffold-disjoint regime. Its margin over the strongest non-GCN alternative also increases across these settings, from 0.003 to 0.012 and 0.016, respectively. Within the scaffold-disjoint test set, GCN also outperforms Morgan across the populated similarity bins (Figure 2). A benchmark restricted to the random split would therefore rank Morgan fingerprints first and obscure the reversal observed under molecular novelty. Because the prediction target, representation grid, and training protocol are held fixed across regimes, the results show that representation rankings depend strongly on the degree of train-test molecular overlap. Additional configuration rankings, paired comparisons, and diagnostic metrics are provided in Appendix § 10.

RepresentationRandomOne drug unseenTwo drugs unseenScaffold-disjoint
Morgan pair0.899 ± 0.0000.631 ± 0.0020.412 ± 0.0030.287 ± 0.005
MoLFormer pair<u>0.876 ± 0.001</u><u>0.632 ± 0.001</u><u>0.420 ± 0.005</u><u>0.308 ± 0.005</u>
ChemBERTa pair0.866 ± 0.0010.623 ± 0.0010.398 ± 0.0050.299 ± 0.005
GCN pair0.856 ± 0.0010.635 ± 0.0010.432 ± 0.0040.324 ± 0.005

Table 4. Representation performance across split regimes. Each cell reports the best observed mean macro-F1 ± standard deviation across five seeds within the predefined classifier-head grid. Bold marks the leading representation within each regime, and underlining marks the second-best.

Scaffold-disjoint performance as a function of similarity to the training chemistry

Figure 2. Scaffold-disjoint performance as a function of similarity to the training chemistry. Left: test-pair counts by maximum endpoint-to-training ECFP4 Tanimoto similarity. Right: five-seed macro-F1 for Morgan and GCN. Error bars show mean ± standard deviation.

Classifier-head variation is smaller than the representation and split effects, and changing the head does not alter the winning representation within any regime.

Limitations

The six categories are derived from recurring DrugBank description language rather than expert-adjudicated mechanisms, and may inherit annotation or wording biases from the source. The molecular representations also differ in architecture and pretraining data, so the observed graph-derived advantage cannot be attributed to any one of these factors in isolation.

Conclusion

Representation rankings in DDI prediction change substantially with the evaluation regime. We also introduce a description-derived DDI benchmark that combines a fixed six-category label space with pair-, drug-, and scaffold-level holdouts and explicit molecular-similarity controls. Across five seeds, Morgan fingerprints lead under high-overlap random sampling, whereas GCN features lead the one-drug-unseen, two-drug-unseen, and scaffold-disjoint settings. Classifier-head changes affect absolute performance within a representation but do not alter this split-dependent ranking in the evaluated grid.

This work shows that the choice of representation depends on what information is allowed to recur between training and test. Random pair splits primarily evaluate unseen combinations while drug identities and local chemical patterns remain well represented in training. Drug-holdout and scaffold-disjoint settings instead test complementary forms of transfer to unseen compounds and chemical neighborhoods. No single regime is intrinsically correct for every application, but the evaluation split should reflect the intended deployment setting.

These results reinforce the need to compare learned molecular representations against simple fingerprint baselines under explicit overlap controls. Reporting only a random-split score can favor a representation that exploits recurring chemical information while obscuring a different ranking under molecular novelty. Our benchmark provides one way to make these conditions explicit, and DDI benchmarks more generally should report performance together with the degree of drug, scaffold, and molecular-similarity overlap between training and test. Without this context, representation rankings may reflect the evaluation design as much as the transferable information captured by the molecular features.

Additional dataset construction details

DrugBank interaction records are canonicalized to one row per unordered DrugBank ID pair. Before text embedding, the subject and affected drug names are removed from each interaction description to reduce direct identity cues. The cleaned corpus contains 417 normalized description strings, of which 380 occur in the evaluated dataset.

Among the full labeled pairs, 1,158,783 have valid RDKit-parsable SMILES for both endpoints, corresponding to 3,468 drugs. The reported split manifests, however, are constructed from the full labeled pair table. Pairs containing drugs absent from a molecular feature bank are retained and the unavailable endpoint representation is replaced by a zero vector during feature construction. DrugBank source data remain subject to the applicable license. Benchmark scripts, aggregate artifacts, and manuscript resources will be released separately.

Text clustering and label interpretation

Cleaned descriptions are embedded with the SentenceTransformer checkpoint pritamdeka/S-PubMedBert-MS-MARCO1, which uses a PubMedBERT backbone within the Sentence-BERT framework [12, 13]. Candidate cluster counts are evaluated on a sample of 50,000 description embeddings before scalable assignment over the full table. The combined selection score is

selection score=silhouette−Davies-Bouldin+cluster size balance,\text{selection score} = \text{silhouette} - \text{Davies-Bouldin} + \text{cluster size balance},

where cluster-size balance is the minimum cluster size divided by the maximum cluster size. Calinski-Harabasz is reported separately as an additional diagnostic and is not included in the combined score.

Table 5 compares the sampled candidate granularities. Agglomerative clustering with k=6k = 6 has the strongest listed combined score. MiniBatchKMeans [14] is then used to assign the full corpus at the selected six-category granularity, which is a practical benchmark choice rather than a mathematically unique optimum.

MethodkSil.Davies-BouldinCalinski-HarabaszBalanceScore
Agglomerative60.5651.20519,1350.7190.079
Agglomerative80.6441.04520,8070.253-0.148
Agglomerative500.9431.09534,6050.003-0.148
Agglomerative300.8921.11224,8780.020-0.199
Agglomerative50.5061.18418,3900.386-0.292

Table 5. Cluster-granularity diagnostics on a sample of 50,000 SentenceTransformer description embeddings. The combined selection score is silhouette minus Davies-Bouldin plus cluster-size balance. Calinski-Harabasz is reported but not included in the score. Agglomerative clustering with k=6k = 6 has the strongest listed score and motivates the six-category label granularity used for full-corpus assignment.

Benchmark prevalence is frequency-weighted because some cleaned templates recur many times. Figure 3 and Table 6 therefore report both pair-weighted prevalence and unique-template counts.

Cluster-size distribution for the six text-derived interaction-description categories

Figure 3. Cluster-size distribution for the six text-derived interaction-description categories.

Table 6: Cluster statistics for the benchmark table used in model evaluation. Pair percentages are frequency-weighted by benchmark rows, whereas template counts treat normalized descriptions as unique strings.

ClusterPairsPair %Cleaned templatesTop-5 template row %
060,1694.32399.8
1423,89530.43799.8
2230,49316.51799.9
3215,15015.410469.3
4250,56718.018254.7
5212,51715.318100.0

Table 6.

Clusters 0, 1, 2, and 5 are dominated by a small number of recurring templates, whereas clusters 3 and 4 contain greater template diversity. Reporting both pair-weighted counts and unique-template counts makes this difference visible.

Table 7 and Table 8 provide description-level interpretability aids. They summarize recurring wording patterns used by the benchmark target. They are not an external biological validation.

Table 7: Textual summary of the six text-derived interaction-description categories. The summaries link each benchmark label to recurring DrugBank wording patterns and provide a qualitative view of label interpretability.

ClusterDescription-level summaryRepresentative signals
0pharmacokinetic exposure changes, metabolic inhibition or induction, protein binding and distribution, therapeutic effect modulationserum, concentration, protein, binding, active, metabolites, metabolite
1pharmacokinetic exposure changes, pharmacodynamic toxicity additivity, therapeutic effect modulationeffects, adverse, risk, severity, therapeutic, efficacy, bioavailability
2pharmacokinetic exposure changes, therapeutic effect modulationlevel, excretion, serum, efficacy, reduction
3therapeutic effect modulation, cardiac electrophysiology, central nervous system depression, blood pressure and vascular tone, coagulation and bleeding, glucose regulationdepressant, activities, nervous, central, cns, antihypertensive, hypotensive, arrhythmogenic
4pharmacodynamic toxicity additivity, cardiac electrophysiology, blood pressure and vascular tone, coagulation and bleeding, renal and electrolyte safety, glucose regulationseverity, risk, hypertension, bleeding, prolongation, qtc, hyperkalemia, hemorrhage
5pharmacokinetic exposure changes, metabolic inhibition or induction, therapeutic effect modulationmetabolism, absorption

Table 7.

The categories can be traced to recurring wording in the source descriptions, but should not be interpreted as independently adjudicated mechanistic or clinical labels.

Molecular representations and model heads

This section separates molecular representation choice, pair construction, classifier-head capacity, and the common training protocol. Morgan fingerprints use radius 2 and 2048 bits, MoLFormer uses ibm/MoLFormer-XL-both-10pct, ChemBERTa uses DeepChem/ChemBERTa-77M-MLM, and GCN features use the Tensor-DTI drug encoder trained on PCBA-1328 [16, 17]. All pair features concatenate endpoint vectors in canonical DrugBank ID order.

Table 9 gives the model-head and optimization settings. The auxiliary-regression head uses a description embedding only as a training-time target. Interaction text is not an inference-time model input. Its purpose is to regularize the molecular pair representation toward the text-derived label space.

ComponentSetting
Linear headSingle linear layer from input features to six classes
MLP head512-unit hidden layer, ReLU, dropout 0.2, 256-unit hidden layer, ReLU, dropout 0.2, six-class output
Residual MLP512-dimensional projection followed by two residual blocks, each block uses linear-ReLU-dropout 0.2-linear with layer normalization
Gated MLP512-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 MLP512-dimensional value branch multiplied by a learned sigmoid feature-attention vector, followed by the same 256-unit head as the gated MLP
Pair-attention headTwo 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
Auxiliary-regression head512-unit and 256-unit encoder with dropout 0.2, cross-entropy classifier plus 768-dimensional regression head trained with cosine embedding loss, λcls=1.0\lambda_{\mathrm{cls}} = 1.0, λreg=1.0\lambda_{\mathrm{reg}} = 1.0
OptimizationAdamW, learning rate 10−310^{-3}, weight decay 10−410^{-4}, 30 epochs, batch size 1024, evaluation batch size 8192
Data handlingStreaming feature construction, train-set feature standardization applied to held-out batches, final Torch runs use all rows assigned to each split, the extended comparison additionally includes eight shallow baseline configurations. Drugs absent from a representation feature bank are assigned zero vectors.
SeedsData construction seed 42, model seeds 11, 22, 33, 44, and 55 for the Torch grid

Table 9. Model-head and training hyperparameters used in the final streaming Torch experiments. Values are taken from the training script used for the benchmark grid.

The shared representation and optimization controls help attribute performance differences to the representation, split regime, and head choices recorded in the result tables. Data construction uses seed 42, and model results are aggregated over seeds 11, 22, 33, 44, and 55. Endpoint vectors use canonical DrugBank ID order, and feature standardization is fit on the training partition only.

Split construction and validation

The four regimes isolate complementary forms of generalization. Random evaluation tests unseen pair combinations while retaining high individual-drug overlap. One-drug-unseen and two-drug-unseen evaluation require one or both held-out endpoints, respectively. Scaffold-disjoint evaluation restricts drug identity, canonical SMILES, Bemis–Murcko scaffold, and molecular-similarity overlap. These regimes should therefore be read as complementary generalization tests rather than as a single strictly monotonic difficulty scale.

The split sizes are reported in Table 3. Table 10 provides the corresponding overlap and assignment checks.

SplitTrainVal.TestTotal
Random974,954139,279278,5581,392,791
One drug unseen675,377191,699397,6051,264,681
Two drugs unseen691,24813,17954,956759,383
Scaffold-disjoint806,34110,97036,621853,932

Table 3. Train, validation, and test sizes across benchmark regimes. Drug- and scaffold-holdout settings retain only pairs satisfying their corresponding partition constraints.

SplitPair overlapTrain-test drug overlapValidation check
Random04,169/4,207row-level shuffle, most test drugs remain training-seen
One drug unseen02,995/3,8740 rows violate the one-unseen-drug rule
Two drugs unseen00/8620 rows violate the two-unseen-drug rule
Scaffold-disjoint00/6560 canonical SMILES/scaffold overlap, maximum ECFP4 Tanimoto 0.70

Table 10. Split-validation checks for the split suite. Train-test pair overlap is zero in every setting. The scaffold-disjoint split additionally has zero train-test DrugBank ID, canonical SMILES, and Bemis-Murcko scaffold overlap. Its maximum validation/test-to-train ECFP4 Tanimoto similarity is 0.70, with no value above the threshold.

All 47,591 scaffold-disjoint validation and test pairs have valid molecular structures for both endpoints. Of the 806,341 training pairs, 613,853 have two valid structures, while 192,488 contain at least one unavailable or invalid structure and are retained using the zero-vector feature fallback described in Appendix C.

One-drug-unseen has the largest test set because many pairs satisfy its one-held-out-endpoint rule. The smaller scaffold-disjoint validation and test sets follow from the globally consistent molecular partition and cross-partition exclusions, rather than from arbitrary subsampling. Table 10 records the overlap and assignment checks.

Every regime has zero train-test unordered-pair overlap. The scaffold-disjoint split additionally has zero train-test DrugBank ID overlap and, among structure-resolved compounds, zero canonical SMILES and Bemis-Murcko scaffold overlap. The molecular-similarity constraint is verified in Table 10. These controls test chemical-neighborhood generalization on a different axis from the endpoint novelty isolated by two-drug-unseen evaluation.

Extended results

The following subsections retain the configuration-level evidence behind the main-paper winner statements. They distinguish representation effects from classifier-head variation and report complementary probability-based metrics without changing macro-F1 as the primary ranking metric.

Top-performing configurations

Table 11 reports the top three five-seed Torch configurations within each split, selecting representation and head separately for each regime. It supports the winner statements in the main text.

SplitRankConfigurationRunsAccuracyMacro-F1
Random1Morgan pair + Aux. reg. MLP50.905 ± 0.0000.899 ± 0.000
2Morgan pair + MLP50.902 ± 0.0010.897 ± 0.001
3Morgan pair + Residual MLP50.902 ± 0.0000.896 ± 0.001
One drug unseen1GCN pair + Residual MLP50.672 ± 0.0010.635 ± 0.001
2MoLFormer pair + Residual MLP50.669 ± 0.0010.632 ± 0.001
3Morgan pair + Residual MLP50.669 ± 0.0030.631 ± 0.002
Two drugs unseen1GCN pair + Residual MLP50.496 ± 0.0050.432 ± 0.004
2GCN pair + MLP50.507 ± 0.0040.432 ± 0.007
3GCN pair + Aux. reg. MLP50.496 ± 0.0020.426 ± 0.002
Scaffold-disjoint1GCN pair + Pair attention50.343 ± 0.0060.324 ± 0.005
2GCN pair + MLP50.345 ± 0.0040.319 ± 0.009
3GCN pair + Aux. reg. MLP50.336 ± 0.0040.319 ± 0.004

Table 11. Top three five-seed Torch configurations per evaluated split. Morgan pair features lead random evaluation, whereas GCN pair features lead all three drug- and scaffold-holdout settings. The scaffold-disjoint setting is also the only leading setting in which pair attention outperforms the residual MLP for the same representation.

Morgan occupies the top random positions, whereas GCN leads one-drug-unseen, two-drug-unseen, and scaffold-disjoint evaluation. Pair attention gives the highest observed scaffold-disjoint GCN result.

Paired representation and head comparisons

Differences in Table 12 are computed seed-wise with the same five model seeds, so the intervals describe paired configuration margins rather than independent-run comparisons.

ComparisonContrastSplitDifference
Random top configurationMorgan aux. regression vs Morgan MLPRandom0.002 [0.001, 0.004]
One-drug representation marginGCN residual vs MoLFormer residualOne drug unseen0.004 [0.002, 0.005]
Two-drug representation marginGCN residual vs MoLFormer residualTwo drugs unseen0.012 [0.004, 0.020]
Scaffold representation marginGCN pair attention vs MoLFormer residualScaffold-disjoint0.015 [0.009, 0.022]
Scaffold head marginGCN pair attention vs GCN residualScaffold-disjoint0.009 [-0.002, 0.020]

Table 12.

Table 12: Paired five-seed macro-F1 differences for key benchmark comparisons. Differences are computed seed-wise as the first configuration minus the second. Intervals are 95% paired tt-intervals over seeds 11, 22, 33, 44, and 55.

The GCN-MoLFormer margin is small but positive for one-drug-unseen evaluation and larger for two-drug-unseen evaluation. The listed GCN configuration exceeds the listed MoLFormer configuration in scaffold-disjoint evaluation because its paired interval excludes zero. By contrast, the pair-attention versus residual-GCN interval includes zero, so head superiority is not conclusive.

Probability-based diagnostics

Alongside macro-F1, Table 13 reports balanced accuracy, MCC, macro AUROC, macro AUPRC, and confidence ECE [18] for the leading configuration in each regime. These metrics assess complementary aspects of class-balanced discrimination and confidence calibration. ECE is not a full epistemic-uncertainty analysis.

SplitConfigurationBal. acc.MCCAUROCAUPRC / ECE
RandomMorgan pair + auxiliary-regression MLP0.888 ± 0.0010.875 ± 0.0000.991 ± 0.0000.964 ± 0.000 / 0.019 ± 0.001
One drug unseenGCN pair + residual MLP0.624 ± 0.0030.563 ± 0.0010.887 ± 0.0010.670 ± 0.002 / 0.171 ± 0.003
Two drugs unseenGCN pair + residual MLP0.419 ± 0.0030.330 ± 0.0070.758 ± 0.0010.415 ± 0.006 / 0.318 ± 0.003
Scaffold-disjointGCN pair + pair attention0.325 ± 0.0040.192 ± 0.0070.689 ± 0.0050.310 ± 0.005 / 0.322 ± 0.005

Table 13.

Table 13: Probability-based diagnostics for the leading five-seed configuration in each evaluated split. AUROC and AUPRC are macro-averaged one-vs-rest multiclass metrics recomputed from archived prediction probabilities. ECE is a 15-bin confidence calibration error.

Discrimination and calibration both degrade under stricter generalization. The strong random result is not preserved under unseen-drug and scaffold-disjoint evaluation, while macro-F1 remains the primary metric for comparing the imbalanced six-category task.

Comparison of generalization regimes

Each row in Table 14 compares the same training setup, representation, and head across two-drug-unseen and scaffold-disjoint evaluation. Because the evaluated pair populations differ, the comparison is descriptive rather than a paired test on identical examples.

Matched groupSettingsScaffold higherMean Δ\DeltaMedian Δ\Delta
All matched appendix settings360-0.085-0.093
Torch settings280-0.093-0.098
Morgan pair settings90-0.100-0.122
GCN pair settings90-0.082-0.098
Torch Morgan pair settings70-0.110-0.124
Torch GCN pair settings70-0.091-0.106

Table 14. Matched comparison between two-drug-unseen and scaffold-disjoint evaluation. Each row compares the same training setup, molecular representation, and model head across splits. Positive Δ\Delta indicates higher scaffold-disjoint macro-F1. Negative Δ\Delta indicates higher two-drug-unseen macro-F1.

Scaffold-disjoint macro-F1 is lower in all 36 matched comparisons. This supports treating it as a distinct chemical-generalization stress test rather than another drug-holdout split.

Classifier-head summary

Table 15 averages over representations and therefore provides a supporting view of head robustness rather than a replacement for representation-specific comparisons.

SplitRankHeadMean accuracyMean macro-F1
Random1Residual MLP0.8800.874
2Feature attention0.8690.861
3Gated MLP0.8680.860
4Aux. reg. MLP0.8630.854
One drug unseen1Residual MLP0.6680.630
2Gated MLP0.6630.619
3Feature attention0.6600.616
4Aux. reg. MLP0.6540.613
Two drugs unseen1Residual MLP0.4780.416
2Gated MLP0.4750.401
3Aux. reg. MLP0.4650.398
4MLP0.4700.398
Scaffold-disjoint1Residual MLP0.3210.302
2MLP0.3140.293
3Feature attention0.3150.293
4Aux. reg. MLP0.3130.293

Table 15. Classifier-head summary from the complete evaluated configuration set. Values average the five-seed means over the four pair representations within each split, so they are intended as supporting head-level evidence rather than a replacement for representation-specific comparisons.

Residual MLP is the most consistently strong average head. This does not contradict pair attention producing the single best scaffold-disjoint GCN configuration, because head-level averages should not replace representation-specific comparisons.

References

  1. [1]Craig Knox, Mike Wilson, Christen M. Klinger, Mark Franklin, Eponine Oler, Alex Wilson, Allison Pon, Jordan Cox, Na Eun Chin, Seth A. Strawbridge, et al. DrugBank 6.0: the DrugBank knowledgebase for 2024. Nucleic Acids Research, 52(D1):D1265–D1275, 2024. doi: 10.1093/nar/gkad976.DOI
  2. [2]Yi Zhong, Gaozheng Li, Ji Yang, Houbing Zheng, Yongqiang Yu, Jiheng Zhang, Heng Luo, Biao Wang, and Zuquan Weng. Learning motif-based graphs for drug-drug interaction prediction via local-global self-attention. Nature Machine Intelligence, 6:1094–1105, 2024. doi: 10.1038/s42256-024-00888-6.DOI
  3. [3]Yue Yu, Kexin Huang, Chao Zhang, Lucas M. Glass, Jimeng Sun, and Cao Xiao. SumGNN: multi-typed drug interaction prediction via efficient knowledge graph summarization. Bioinformatics, 37(18):2988–2995, 2021. doi: 10.1093/bioinformatics/btab207.DOI
  4. [4]Zhenqin Wu, Bharath Ramsundar, Evan N. Feinberg, Joseph Gomes, Caleb Geniesse, Aneesh S. Pappu, Karl Leswing, and Vijay Pande. MoleculeNet: a benchmark for molecular machine learning. Chemical Science, 9(2):513–530, 2018. doi: 10.1039/C7SC02664A.DOI
  5. [5]Guy W. Bemis and Mark A. Murcko. The properties of known drugs. 1. molecular frameworks. Journal of Medicinal Chemistry, 39(15):2887–2893, 1996. doi: 10.1021/jm9602928.DOI
  6. [6]David Rogers and Mathew Hahn. Extended-connectivity fingerprints. Journal of Chemical Information and Modeling, 50(5):742–754, 2010. doi: 10.1021/ci100050t.DOI
  7. [7]Jerret Ross, Brian Belgodere, Vijil Chenthamarakshan, Inkit Padhi, Youssef Mroueh, and Payel Das. Large-scale chemical language representations capture molecular structure and properties. Nature Machine Intelligence, 4:1256–1264, 2022. doi: 10.1038/s42256-022-00580-7.DOI
  8. [8]Seyone Chithrananda, Gabriel Grand, and Bharath Ramsundar. ChemBERTa: Large-scale self-supervised pretraining for molecular property prediction. arXiv preprint arXiv:2010.09885, 2020. doi: 10.48550/arXiv.2010.09885.DOI
  9. [9]Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. International Conference on Learning Representations, 2017. URL https://openreview.net/forum?id=SJU4ayYgl.arxiv.org/abs/1609.02907
  10. [10]Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning, volume 70, pages 1263–1272. PMLR, 2017.arxiv.org/abs/1704.01212
  11. [11]Manel Gil-Sorribes and Alexis Molina. Addressing model overcomplexity in drug-drug interaction prediction with molecular fingerprints. Journal of Cheminformatics, 18(1):38, 2026. doi: 10.1186/s13321-025-01128-8.
  12. [12]Yu Gu, Robert Tinn, Hao Cheng, Michael Lucas, Naoto Usuyama, Xiaodong Liu, Tristan Naumann, Jianfeng Gao, and Houfing Poon. Domain-specific language model pretraining for biomedical natural language processing. ACM Transactions on Computing for Healthcare, 3(1):1–23, 2021. doi: 10.1145/3458754.DOI
  13. [13]Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, pages 3982–3992, Hong Kong, China, 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1410.DOI
  14. [14]D. Sculley. Web-scale k-means clustering. In Proceedings of the 19th International Conference on World Wide Web, WWW ’10, pages 1177–1178, New York, NY, USA, 2010. Association for Computing Machinery. doi: 10.1145/1772690.1772862.DOI
  15. [15]Greg Landrum, Paolo Tosco, Brian Kelley, et al. RDKit: Release 2024_09_5. Zenodo software release, 2025.
  16. [16]Manel Gil-Sorribes, Júlia Vilalta-Mor, Isaac Filella-Mercè, Robert Soliva, Álvaro Ciudad, Víctor Guallar, and Alexis Molina. Tensor-DTI: Enhancing biomolecular interaction prediction with contrastive embedding learning. arXiv preprint arXiv:2601.05792, 2026. doi: 10.48550/arXiv.2601.05792.
  17. [17]Sunghwan Kim, Jie Chen, Tiejun Cheng, Asta Gindulyte, Jia He, Siqian He, Qingliang Li, Benjamin A. Shoemaker, Paul A. Thiessen, Bo Yu, Leonid Zaslavsky, Jian Zhang, and Evan E. Bolton. PubChem 2023 update. Nucleic Acids Research, 51(D1):D1373–D1380, 2023. doi: 10.1093/nar/gkac956.DOI
  18. [18]Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. In Proceedings of the 34th International Conference on Machine Learning, volume 70, pages 1321–1330. PMLR, 2017.arxiv.org/abs/1706.04599

Paper details

vlnc:W_9xjy4yee
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Agricultural and Biological Sciences

Not recorded for this paper

View statement
Looking for related papers…
Contents