Papers › Rethinking Drug-Drug Interaction Modeling as Generalizable Relation Learning

Rethinking Drug-Drug Interaction Modeling as Generalizable Relation Learning

22 Jan 2026arXiv:2601.15771added by Syntology

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

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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-of-the-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.

PaperPDFCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 18 code samples harvested from 1 repository linked to this paper: 13 ran (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 0 honoured, 0 violated, 9 with no contract checked; 4 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 4 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 13 ran (9 with no instrument failure; 4 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

SZU-ADDG/GenRel-DDI found in paper text by SyntologySyntology: 18 samples, 13 ran (4 instrument-failed) · 5 unverified report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested: 13 ran (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 0 honoured, 0 violated, 9 with no contract checked; 4 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · our draft was wrong
9ran
5unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from SZU-ADDG/GenRel-DDI. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

SZU-ADDG/GenRel-DDI found in paper text by Syntology 18 samples, 13 ran (4 instrument-failed) · 5 unverified
BERT model.py ran no licence file found · pointer only · 724f1c94c9b74b64 · report fixture: signature input_ids:Tensor/2/int, token_type_ids:Tensor/2/int · returned tuple · level recorded 2026-09-24
BertEmbeddings in 21 papers model.py ran · metamorphic tier: invariant no licence file found · pointer only · 3cdcc0a6be122ca6 · report fixture: signature input_ids:Tensor/2/int, token_type_ids:Tensor/2/int · returned Tensor · level recorded 2026-09-22
BertPooler in 6 papers model.py ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 6cadb1be8862ec47 · report fixture: signature hidden_states:Tensor/3/float · returned Tensor · level recorded 2026-09-22
BertPredictionHeadTransform in 10 papers model.py ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · ec5c2b3eb6775ab3 · report fixture: signature hidden_states:Tensor/3/float · returned Tensor · level recorded 2026-09-22
BidirectionalSelfFlashAttention model.py ran fingerprinted no licence file found · pointer only · 82f368b9ee59c068 · report fixture: signature x:Tensor/3/float, attention_mask:Tensor/2/float, current_idx:NoneType/0/?, kv_cache:bool/0/bool · returned tuple · level recorded 2026-09-24
Block in 252 papers
census: 5 implementations from 5 papers, 3 distinct outputs across 2 buckets, one shared input per bucket
model.py ran fingerprinted no licence file found · pointer only · 4ffc821cea0a58ae · report fixture: signature x:Tensor/3/float, attention_mask:NoneType/0/? · returned tuple · level recorded 2026-09-24
CrossAttentionBlock in 16 papers model.py ran · metamorphic tier: invariant no licence file found · pointer only · 1fa2d1acb18e78b9 · report fixture: signature q:Tensor/3/float, kv:Tensor/3/float, kv_mask:Tensor/2/float · returned Tensor · level recorded 2026-09-22
FusionModule model.py ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 929a7d8a1c198a3d · report fixture: signature x1:Tensor/3/float, x2:Tensor/3/float, m1:Tensor/2/float, m2:Tensor/2/float · returned list · level recorded 2026-09-22
SmilesTokenizer model.py ran no licence file found · pointer only · 431e035c22bd50ae · report fixture: signature text:str/0/str · returned BatchEncoding · level recorded 2026-09-24
_set_smiles_special model.py ran · our draft was wrong no licence file found · pointer only · 40016ed6d5d339b4 · report fixture: signature tok:MockTokenizer/0/? · returned MockTokenizer · level recorded 2026-09-22
load_vocab in 107 papers model.py ran · our draft was wrong no licence file found · pointer only · 8c1c03859eece728 · report fixture: signature vocab_file:str/0/str · returned OrderedDict · level recorded 2026-09-22
load_yaml in 107 papers model.py ran · our draft was wrong no licence file found · pointer only · ab15b585260d2f31 · report fixture: signature path:str/0/str · returned dict · level recorded 2026-09-22
pick_spec model.py ran · our draft was wrong no licence file found · pointer only · 3518462ef9c8d02c · report fixture: signature specs:list/1/dict, slot:str/0/str · returned dict · level recorded 2026-09-22
BertConfig in 14 papers model.py unverified no licence file found · pointer only · 3fd5731ffbaa0c66 · report
BertLMPredictionHead in 10 papers model.py unverified no licence file found · pointer only · 2aa2964a3f4be05c · report
DDIModel model.py unverified no licence file found · pointer only · d04659f2f8bffe41 · report
LocalBertAsHF model.py unverified no licence file found · pointer only · e7d04ca90b0d4b03 · report
build_encoder in 17 papers model.py unverified no licence file found · pointer only · 0ad8ec54f6e93c0d · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for GenRel-DDI (graph method: GenRel-DDI). 18 bricks; individually on a fixture: 13 ran (of which 0 constructed an object rather than computing a result; 9 with no instrument failure: 0 honoured, 0 violated, 9 with no contract checked; 4 where Syntology's instrument failed) · 5 unverified. The assembly has not been run end-to-end.

  1. DDIModel entry · level 0 · unverified · d04659f2f8bffe41
  2. FusionModule model · level 1 · ran · 929a7d8a1c198a3d
  3. build_encoder helper · level 0 · unverified · 0ad8ec54f6e93c0d
  4. pick_spec helper · level 1 · ran · our draft was wrong · 3518462ef9c8d02c
  5. CrossAttentionBlock model · level 1 · ran · 1fa2d1acb18e78b9
  6. LocalBertAsHF helper · level 0 · unverified · e7d04ca90b0d4b03
  7. BERT helper · level 1 · ran · 724f1c94c9b74b64
  8. BertConfig helper · level 0 · unverified · 3fd5731ffbaa0c66
  9. SmilesTokenizer helper · level 1 · ran · 431e035c22bd50ae
  10. _set_smiles_special helper · level 1 · ran · our draft was wrong · 40016ed6d5d339b4
  11. load_yaml helper · level 1 · ran · our draft was wrong · ab15b585260d2f31
  12. BertEmbeddings helper · level 1 · ran · 3cdcc0a6be122ca6
  13. BertLMPredictionHead helper · level 0 · unverified · 2aa2964a3f4be05c
  14. BertPooler helper · level 1 · ran · 6cadb1be8862ec47
  15. Block helper · level 1 · ran · 4ffc821cea0a58ae
  16. load_vocab helper · level 1 · ran · our draft was wrong · 8c1c03859eece728
  17. BertPredictionHeadTransform helper · level 1 · ran · ec5c2b3eb6775ab3
  18. BidirectionalSelfFlashAttention helper · level 1 · ran · 82f368b9ee59c068

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2601.15771") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.15771, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections