SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.15771 · 2026

Rethinking Drug-Drug Interaction Modeling as Generalizable Relation Learning

Dong Xu, Zexuan Zhu, Junkai Ji, Sisi Yuan, Qihua Pan, Jiantao Wu

arXiv · PDF

Code that ran

13 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 4 failures of our instrument; 5 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2601.15771.json · badge: /api/ran/2601.15771.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
SZU-ADDG/GenRel-DDI community
Papers with Code archive
13 ran · 5 no recorded run
FunctionStatusWhere it lives
BERT Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("724f1c94c9b74b64")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BertEmbeddings Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("3cdcc0a6be122ca6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BertPooler Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("6cadb1be8862ec47")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BertPredictionHeadTransform Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("ec5c2b3eb6775ab3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BidirectionalSelfFlashAttention Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("82f368b9ee59c068")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Block Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("4ffc821cea0a58ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CrossAttentionBlock Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("1fa2d1acb18e78b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

FusionModule Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("929a7d8a1c198a3d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SmilesTokenizer Ran
ran on a synthesized input
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("431e035c22bd50ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_set_smiles_special Ran
ran; our contract draft was wrong, not the code
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("40016ed6d5d339b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_vocab Ran
ran; our contract draft was wrong, not the code
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("8c1c03859eece728")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_yaml Ran
ran; our contract draft was wrong, not the code
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("ab15b585260d2f31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pick_spec Ran
ran; our contract draft was wrong, not the code
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("3518462ef9c8d02c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BertConfig Not yet run
unverified (harvested, no recorded run)
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("3fd5731ffbaa0c66")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

BertLMPredictionHead Not yet run
unverified (harvested, no recorded run)
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("2aa2964a3f4be05c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

DDIModel Not yet run
unverified (harvested, no recorded run)
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("d04659f2f8bffe41")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

LocalBertAsHF Not yet run
unverified (harvested, no recorded run)
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("e7d04ca90b0d4b03")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

build_encoder Not yet run
unverified (harvested, no recorded run)
SZU-ADDG/GenRel-DDI/model.py
pointer only (licence: NONE) · get_code("0ad8ec54f6e93c0d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SZU-ADDG/GenRel-DDI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 17 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_vocab
brick of this paper's assembly: helper
29 other papers
29 dated earlier
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1909.11942 (2019-09)
ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
2004.09297 (2020-04)
MPNet: Masked and Permuted Pre-training for Language Understanding
and 26 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Drug-drug interaction (DDI) prediction is central to drug discovery and clinical development, particularly in the context of increasingly prevalent polypharmacy. Although existing computational methods achieve strong performance on standard benchmarks, they often fail to generalize to realistic deployment scenarios, where most candidate drug pairs involve previously unseen drugs and validated interactions are scarce. We demonstrate that proximity in the embedding spaces of prevailing molecule-centric DDI models does not reliably correspond to interaction labels, and that simply scaling up model capacity therefore fails to improve generalization. To address these limitations, we propose GenRel-DDI, a generalizable relation learning framework that reformulates DDI prediction as a relation-centric learning problem, in which interaction representations are learned independently of drug identities. This relation-level abstraction enables the capture of transferable interaction patterns that generalize to unseen drugs and novel drug pairs. Extensive experiments across multiple benchmark demonstrate that GenRel-DDI consistently and significantly outperforms state-ofthe-art methods, with particularly large gains on strict entity-disjoint evaluations, highlighting the effectiveness and practical utility of relation learning for robust DDI prediction. The code is available at https://github.com/SZU-ADDG/GenRel-DDI

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2601.15771")
get_code_for_paper("2601.15771")
have("2601.15771")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2601.15771.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2601.15771.svg)](https://syntology.ai/paper/2601.15771)

Connect an agent — have() is free.