SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.01486 · NeurIPS · 2025

Prior-Guided Flow Matching for Target-Aware Molecule Design with Learnable Atom Number

Lei Xu, Jingyuan Zhou, Hao Qian, Shikui Tu

arXiv · PDF · Open in the Atlas

Code that ran

11 of 12 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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/2509.01486.json · badge: /api/ran/2509.01486.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
CMACH508/PAFlow canonical (classifier label)
classifier basis: census
11 ran · 1 no recorded run
FunctionStatusWhere it lives
compose_context Ran
ran; our contract draft was wrong, not the code
CMACH508/PAFlow/models/common.py
pointer only (licence: NONE) · get_code("413b017b3368ab8d")
How it ran

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

expm1 Ran
ran; our contract draft was wrong, not the code
CMACH508/PAFlow/models/en_diffusion.py
pointer only (licence: NONE) · get_code("20f9e1ac0f841569")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CMACH508/PAFlow 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
CMACH508/PAFlow/models/molopt_score_model.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, CMACH508/PAFlow 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)
CMACH508/PAFlow/models/common.py
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, CMACH508/PAFlow 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)
CMACH508/PAFlow/models/common.py
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, CMACH508/PAFlow 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.

remove_mean Ran
ran; our contract draft was wrong, not the code
CMACH508/PAFlow/models/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from HaokaiHong/GOAT, is pointer only (licence: NONE) · get_code("cfb922542fc1b6d0")
How it ran

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

remove_mean_with_mask Ran
ran; our contract draft was wrong, not the code
CMACH508/PAFlow/models/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from HaokaiHong/GOAT, is pointer only (licence: NONE) · get_code("324f8277ebc8ccb8")
How it ran

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

softplus Ran
ran; our contract draft was wrong, not the code
CMACH508/PAFlow/models/en_diffusion.py
pointer only (licence: NONE) · get_code("e4040c4a1803207f")
How it ran

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

sum_except_batch Ran
ran; our contract draft was wrong, not the code
CMACH508/PAFlow/models/en_diffusion.py
pointer only (licence: NONE); the stored copy get_code serves, from HaokaiHong/GOAT, is pointer only (licence: NONE) · get_code("076381011e4298d5")
How it ran

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

sum_except_batch Ran
ran; our contract draft was wrong, not the code
CMACH508/PAFlow/models/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from danyalrehman/autobg, is pointer only (licence: NOASSERTION) · get_code("2cee3f8f2583fd9d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CMACH508/PAFlow 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 Not yet run
unverified (harvested, no recorded run)
CMACH508/PAFlow/datasets/pl_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("5f7183207256b0a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CMACH508/PAFlow 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 0 the same month, 4 later) and 0 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
23 dated earlier, 2 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
11 dated earlier · 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
10 dated earlier, 1 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
10 dated earlier
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
10 dated earlier
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
8 dated earlier
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
sum_except_batch 6 other papers
5 dated earlier, 1 later
2105.09016 (2021-05)
E(n) Equivariant Normalizing Flows
2203.17003 (2022-03)
Equivariant Diffusion for Molecule Generation in 3D
2306.16819 (2023-06)
Graph Denoising Diffusion for Inverse Protein Folding
and 3 more not named here
remove_mean 4 other papers
3 dated earlier, 1 later
2105.09016 (2021-05)
E(n) Equivariant Normalizing Flows
2203.17003 (2022-03)
Equivariant Diffusion for Molecule Generation in 3D
2405.15252 (2024-05)
Accelerating 3D Molecule Generation via Jointly Geometric Optimal Transport
and 1 more not named here
remove_mean_with_mask 3 other papers
3 dated earlier · 1 only as an assembly brick
2203.17003 (2022-03)
Equivariant Diffusion for Molecule Generation in 3D
2312.07168 (2023-12)
Equivariant Flow Matching with Hybrid Probability Transport for 3D Molecule Generation
2405.15252 (2024-05)
Accelerating 3D Molecule Generation via Jointly Geometric Optimal Transport
sum_except_batch 3 other papers
3 dated earlier
2105.09016 (2021-05)
E(n) Equivariant Normalizing Flows
2203.17003 (2022-03)
Equivariant Diffusion for Molecule Generation in 3D
2405.15252 (2024-05)
Accelerating 3D Molecule Generation via Jointly Geometric Optimal Transport
expm1 1 other paper
1 dated earlier
2203.17003 (2022-03)
Equivariant Diffusion for Molecule Generation in 3D
softplus 1 other paper
1 dated earlier
2203.17003 (2022-03)
Equivariant Diffusion for Molecule Generation in 3D

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

Repositories linked to this paper

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

Abstract

Structure-based drug design (SBDD), aiming to generate 3D molecules with high binding affinity toward target proteins, is a vital approach in novel drug discovery. Although recent generative models have shown great potential, they suffer from unstable probability dynamics and mismatch between generated molecule size and the protein pockets geometry, resulting in inconsistent quality and off-target effects. We propose PAFlow, a novel target-aware molecular generation model featuring prior interaction guidance and a learnable atom number predictor. PAFlow adopts the efficient flow matching framework to model the generation process and constructs a new form of conditional flow matching for discrete atom types. A protein-ligand interaction predictor is incorporated to guide the vector field toward higher-affinity regions during generation, while an atom number predictor based on protein pocket information is designed to better align generated molecule size with target geometry. Extensive experiments on the CrossDocked2020 benchmark show that PAFlow achieves a new state-of-the-art in binding affinity (up to -8.31 Avg. Vina Score), simultaneously maintains favorable molecular properties. The code of the paper is provided at https://github.com/CMACH508/PAFlow.

For agents

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

get_harvested_code_for_paper("2509.01486")
get_code_for_paper("2509.01486")
have("2509.01486")

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

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

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

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

Connect an agent — have() is free.