SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.20688 · NeurIPS · 2024

Reprogramming Pretrained Target-Specific Diffusion Models for Dual-Target Drug Design

Liang Wang, Jiaqi Guan, Jianzhu Ma, Xingang Peng, Xiangxin Zhou, Yijia Zhang

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 1 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2410.20688.json · badge: /api/ran/2410.20688.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
zhouxiangxin1998/DualDiff canonical (classifier label)
classifier basis not recorded on the link
5 ran · 1 no recorded run
zhouxiangxin1998/dualdiff canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
load_pickle Ran
ran; our contract draft was wrong, not the code
zhouxiangxin1998/dualdiff/dual_scripts/align/align_protein_ligand_score.py
code served (permissive licence) · get_code("84c5da0054c7467e")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-05T00:43:26Z). If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pickle
import tempfile
import os

# Create a temporary pickle file with some test data
test_data = {
    'key1': 'value1',
    'key2': [1, 2, 3],
    'key3': {'nested': 'dict'}
}

# Create a temporary file and write pickle data to it
temp_dir = tempfile.gettempdir()
temp_file = os.path.join(temp_dir, 'test_pickle_data.pkl')

with open(temp_file, 'wb') as f:
    pickle.dump(test_data, f)

ARGS = {
    'fp': temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compose_context Ran
ran; our contract draft was wrong, not the code
zhouxiangxin1998/DualDiff/models/common.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from CMACH508/PAFlow, is pointer only (licence: NONE) · get_code("413b017b3368ab8d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from CMACH508/PAFlow, and GitHub detected no licence in that repository 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.

cosine_beta_schedule Ran
ran, honoured the contract we drafted
zhouxiangxin1998/DualDiff/models/molopt_score_model.py
code served (permissive licence) · get_code("c92a02b48d8fb1c4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (1000,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function cosine_beta_schedule takes timesteps (an integer) and s (a float)
# It uses timesteps as an integer to create a schedule
# s is a hyperparameter with default value 0.008

ARGS = {
    "timesteps": 1000,
    "s": 0.008,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (1000,) — shape (1000,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_beta_schedule Ran
ran, honoured the contract we drafted
zhouxiangxin1998/DualDiff/models/molopt_score_model.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from weizhigao/modiff, is pointer only (licence: NONE) · get_code("ca0cea1ca1eeec89")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from weizhigao/modiff, and GitHub detected no licence in that repository 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.

get_h_dist Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhouxiangxin1998/DualDiff/models/common.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from CMACH508/PAFlow, is pointer only (licence: NONE) · get_code("3c6858db01947fd5")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from CMACH508/PAFlow, and GitHub detected no licence in that repository 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.

get_r_feat Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhouxiangxin1998/DualDiff/models/common.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from CMACH508/PAFlow, is pointer only (licence: NONE) · get_code("27af771ab4cfc179")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from CMACH508/PAFlow, and GitHub detected no licence in that repository 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.

split_range Ran
ran, honoured the contract we drafted
zhouxiangxin1998/dualdiff/dual_scripts/align/align_protein_ligand_score.py
code served (permissive licence) · get_code("383e9ba5ec92ddad")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned range. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Setup code for split_range function

ARGS = {
    'n': 10,
    'k': 3,
    'i': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type range — a range output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a range output the recorded ndim 1 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
torchify_dict Not yet run
unverified (harvested, no recorded run)
zhouxiangxin1998/DualDiff/datasets/pl_data.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from BLEACH366/EvoEGF-Mol, is pointer only (licence: GPL-3.0) · get_code("5f7183207256b0a3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from BLEACH366/EvoEGF-Mol, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 6 later) and 2 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
get_beta_schedule 25 other papers
20 dated earlier, 5 later · 1 only as an assembly brick
2201.11760 (2022-01)
Unsupervised Denoising of Retinal OCT with Diffusion Probabilistic Model
2203.02923 (2022-03)
GeoDiff: a Geometric Diffusion Model for Molecular Conformation Generation
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
and 22 more not named here
cosine_beta_schedule 11 other papers
9 dated earlier, 2 later · 1 only as an assembly brick
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2310.17800 (2023-10)
Interacting Diffusion Processes for Event Sequence Forecasting
and 8 more not named here
torchify_dict 11 other papers
7 dated earlier, 4 later
2305.07508 (2023-05)
MolDiff: Addressing the Atom-Bond Inconsistency Problem in 3D Molecule Diffusion Generation
2310.02553 (2023-10)
Full-Atom Protein Pocket Design via Iterative Refinement
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
and 8 more not named here
get_h_dist 10 other papers
7 dated earlier, 3 later
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
2403.07902 (2024-03)
DECOMPDIFF: Diffusion Models with Decomposed Priors for Structure-Based Drug Design
and 7 more not named here
get_r_feat 10 other papers
7 dated earlier, 3 later
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
2403.07902 (2024-03)
DECOMPDIFF: Diffusion Models with Decomposed Priors for Structure-Based Drug Design
and 7 more not named here
compose_context 8 other papers
5 dated earlier, 3 later
2303.03543 (2023-03)
3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
2406.01650 (2024-06)
TAGMol: Target-Aware Gradient-guided Molecule Generation
and 5 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

Dual-target therapeutic strategies have become a compelling approach and attracted significant attention due to various benefits, such as their potential in overcoming drug resistance in cancer therapy. Considering the tremendous success that deep generative models have achieved in structure-based drug design in recent years, we formulate dual-target drug design as a generative task and curate a novel dataset of potential target pairs based on synergistic drug combinations. We propose to design dual-target drugs with diffusion models that are trained on single-target protein-ligand complex pairs. Specifically, we align two pockets in 3D space with protein-ligand binding priors and build two complex graphs with shared ligand nodes for SE(3)-equivariant composed message passing, based on which we derive a composed drift in both 3D and categorical probability space in the generative process. Our algorithm can well transfer the knowledge gained in single-target pretraining to dual-target scenarios in a zero-shot manner. We also repurpose linker design methods as strong baselines for this task. Extensive experiments demonstrate the effectiveness of our method compared with various baselines.

For agents

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

get_harvested_code_for_paper("2410.20688")
get_code_for_paper("2410.20688")
have("2410.20688")

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

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

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

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

Connect an agent — have() is free.