SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.07902 · ICML · 2023

DECOMPDIFF: Diffusion Models with Decomposed Priors for Structure-Based Drug Design

Qiang Liu, Jian Peng, Quanquan Gu, Liang Wang, Yuwei Yang, Jiaqi Guan, Jianzhu Ma, Xiangxin Zhou, Yu Bao

arXiv · PDF · Open in the Atlas

Code that ran

16 of 19 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; 13 failures of our instrument; 3 no recorded run), measured 2026-11-21; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2403.07902.json · badge: /api/ran/2403.07902.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
bytedance/decompdiff canonical (classifier label)
classifier basis: census
14 ran · 3 no recorded run
bytedance/DecompDiff canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
G_fn Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bytedance/decompdiff/utils/guidance_funcs.py
pointer only (licence: NONE) · get_code("3af636c75c65ce49")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bytedance/decompdiff 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.

GetDihedralFromPointCloud Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bytedance/decompdiff/utils/geometry.py
pointer only (licence: NOASSERTION) · get_code("e53fa09199fa3989")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

SetDihedralOnPointCloud Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bytedance/decompdiff/utils/geometry.py
pointer only (licence: NOASSERTION) · get_code("1936e85d6b2c8489")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

batch_from_data_list Ran
ran; our contract draft was wrong, not the code
bytedance/decompdiff/datasets/pl_data.py
pointer only (licence: NOASSERTION) · get_code("c705c3a91a514e7a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

categorical_kl Ran
ran; our contract draft was wrong, not the code
bytedance/decompdiff/models/decompdiff.py
pointer only (licence: NOASSERTION) · get_code("b0494ad06b18d52c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

compute_batch_clash_loss Ran
ran; our contract draft was wrong, not the code
bytedance/decompdiff/utils/guidance_funcs.py
pointer only (licence: NOASSERTION) · get_code("a033042342c5254f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

compute_body_intersection_loss Ran
ran; our contract draft was wrong, not the code
bytedance/decompdiff/utils/guidance_funcs.py
pointer only (licence: NOASSERTION) · get_code("5ea4335b29d66406")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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
bytedance/decompdiff/models/transitions.py
pointer only (licence: NONE) · get_code("c92a02b48d8fb1c4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bytedance/decompdiff 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_beta_schedule Ran
ran, honoured the contract we drafted
bytedance/decompdiff/models/transitions.py
pointer only (licence: NONE); 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: GitHub detected no licence in this paper's repository, bytedance/decompdiff 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_bond_auroc Ran
ran; our contract draft was wrong, not the code
bytedance/DecompDiff/scripts/train_diffusion_decomp.py
pointer only (licence: NOASSERTION) · get_code("8c0cc85de0b651eb")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/DecompDiff (NOASSERTION). 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)
bytedance/decompdiff/models/common.py
pointer only (licence: NONE); 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: GitHub detected no licence in this paper's repository, bytedance/decompdiff 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)
bytedance/decompdiff/models/common.py
pointer only (licence: NONE); 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: GitHub detected no licence in this paper's repository, bytedance/decompdiff 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.

index_to_log_onehot Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bytedance/decompdiff/models/transitions.py
pointer only (licence: NOASSERTION) · get_code("18603a28414ef5ca")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

log_categorical Ran
ran, honoured the contract we drafted
bytedance/decompdiff/models/decompdiff.py
pointer only (licence: NONE); the stored copy get_code serves, from MuhangTian/TimeDiff, is pointer only (licence: NONE) · get_code("f4b18dd8f67674cb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bytedance/decompdiff 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.

torchify_dict Ran
ran; our contract draft was wrong, not the code
bytedance/decompdiff/datasets/pl_data.py
pointer only (licence: NOASSERTION) · get_code("66be0bd63ba01421")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

unbatch_v_traj Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from guanjq/targetdiff
pointer only; the stored copy get_code serves, from guanjq/targetdiff, is pointer only (licence: NONE) · get_code("47ce9e33fa6b180f")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

change_formal_charge Not yet run
unverified (harvested, no recorded run)
bytedance/decompdiff/utils/data.py
pointer only (licence: NOASSERTION) · get_code("c31403e2f2a539eb")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

convert_dgl_to_batch Not yet run
unverified (harvested, no recorded run)
bytedance/decompdiff/models/common.py
pointer only (licence: NOASSERTION) · get_code("89ee6692257f7c6b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, bytedance/decompdiff (NOASSERTION). 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.

parse_pdbbind_index_file Not yet run
unverified (harvested, no recorded run)
bytedance/decompdiff/utils/data.py
pointer only (licence: NONE); the stored copy get_code serves, from BLEACH366/EvoEGF-Mol, is pointer only (licence: GPL-3.0) · get_code("288ecf6e1d51c3c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bytedance/decompdiff 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 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 0 the same month, 8 later) and 9 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
12 dated earlier, 13 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
4 dated earlier, 7 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
3 dated earlier, 8 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
2 dated earlier, 8 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 7 more not named here
get_r_feat 10 other papers
2 dated earlier, 8 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 7 more not named here
log_categorical 6 other papers
4 dated earlier, 2 later · 4 only as an assembly brick
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2206.07771 (2022-06)
Discrete Contrastive Diffusion for Cross-Modal Music and Image Generation
2303.11589 (2023-03)
LayoutDiffusion: Improving Graphic Layout Generation by Discrete Diffusion Probabilistic Models
and 3 more not named here
parse_pdbbind_index_file 4 other papers
1 dated earlier, 3 later
2402.18583 (2024-02)
Binding-Adaptive Diffusion Models for Structure-Based Drug Design
2406.01650 (2024-06)
TAGMol: Target-Aware Gradient-guided Molecule Generation
2411.13280 (2024-11)
Empower Structure-Based Molecule Optimization with Gradient Guided Bayesian Flow Networks
and 1 more not named here
unbatch_v_traj 4 other papers
2 dated earlier, 2 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
2407.01648 (2024-07)
Aligning Target-Aware Molecule Diffusion Models with Exact Energy Optimization
and 1 more not named here
G_fn 2 other papers
2 dated earlier
2111.07786 (2021-11)
Independent SE(3)-Equivariant Models for End-to-End Rigid Protein Docking
2402.18813 (2024-02)
Protein Multimer Structure Prediction via Prompt Learning
index_to_log_onehot 1 other paper
1 dated earlier
2305.07508 (2023-05)
MolDiff: Addressing the Atom-Bond Inconsistency Problem in 3D Molecule Diffusion Generation

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-21.

Repositories linked to this paper

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

Abstract

Designing 3D ligands within a target binding site is a fundamental task in drug discovery. Existing structured-based drug design methods treat all ligand atoms equally, which ignores different roles of atoms in the ligand for drug design and can be less efficient for exploring the large drug-like molecule space. In this paper, inspired by the convention in pharmaceutical practice, we decompose the ligand molecule into two parts, namely arms and scaffold, and propose a new diffusion model, DECOMPDIFF, with decomposed priors over arms and scaffold. In order to facilitate the decomposed generation and improve the properties of the generated molecules, we incorporate both bond diffusion in the model and additional validity guidance in the sampling phase. Extensive experiments on CrossDocked2020 show that our approach achieves state-of-the-art performance in generating high-affinity molecules while maintaining proper molecular properties and conformational stability, with up to -8.39 Avg. Vina Dock score and 24.5% Success Rate. The code is provided at https://github. com/bytedance/DecompDiff

For agents

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

get_harvested_code_for_paper("2403.07902")
get_code_for_paper("2403.07902")
have("2403.07902")

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

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

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

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

Connect an agent — have() is free.