SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.17775 · 2023

Practical and Asymptotically Exact Conditional Sampling in Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

9 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 7 failures of our instrument; 6 no recorded run), measured 2026-11-23; 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/2306.17775.json · badge: /api/ran/2306.17775.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
blt2114/twisted_diffusion_sampler canonical (classifier label)
classifier basis: classifier_2025
9 ran · 6 no recorded run
FunctionStatusWhere it lives
GaussianDiffusion Ran
ran on a synthesized input · constructed an object; no result was computed
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("3701427da0a38721")
How it ran

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

_gaussian_sample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("b079bc5f66fa6be1")
How it ran

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

betas_for_alpha_bar Ran
ran, honoured the contract we drafted
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/smc_diffusion.py
pointer only (licence: NONE) · get_code("6cdc8772f5db6f48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, blt2114/twisted_diffusion_sampler 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_named_beta_schedule Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/smc_diffusion.py
pointer only (licence: NONE) · get_code("808add5294122a1b")
How it ran

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

log_normal_density Ran
ran; our contract draft was wrong, not the code
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("ed42e50405c37f23")
How it ran

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

register_smc_ddpm Ran
ran; our contract draft was wrong, not the code
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("76f3e6b2f21ead25")
How it ran

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

safe_cat Ran
ran; our contract draft was wrong, not the code
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("8ef8149df933accb")
How it ran

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

space_timesteps Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/smc_diffusion.py
pointer only (licence: NONE) · get_code("8a90ea07fbd9c07f")
How it ran

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

toU8 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("a466f15d1bc14d6d")
How it ran

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

SMCDiffusion Not yet run
unverified (harvested, no recorded run)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("7f0e6aaeb9dc3ee6")
How it ran

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

SpacedDiffusion Not yet run
unverified (harvested, no recorded run)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("92ef673835824b55")
How it ran

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

TwistedDDPM Not yet run
unverified (harvested, no recorded run)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("16fd5c664243407d")
How it ran

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

imwrite Not yet run
unverified (harvested, no recorded run)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("6dc16bb5110560e8")
How it ran

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

smc_FK Not yet run
unverified (harvested, no recorded run)
blt2114/twisted_diffusion_sampler/smc_utils/feynman_kac_pf.py
pointer only (licence: NONE) · get_code("ca226e96f524b276")
How it ran

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

visualize_weights Not yet run
unverified (harvested, no recorded run)
blt2114/twisted_diffusion_sampler/image_exp/image_diffusion/feynman_kac_image_ddpm.py
pointer only (licence: NONE) · get_code("7b4d7a725b4e36e8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, blt2114/twisted_diffusion_sampler 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 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 2 later) and 13 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
betas_for_alpha_bar 92 other papers
41 dated earlier, 5 the same month, 44 later, 2 same year, order not determinable · 3 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2102.09672 (2021-02)
Improved Denoising Diffusion Probabilistic Models
and 89 more not named here
get_named_beta_schedule 63 other papers
28 dated earlier, 4 the same month, 30 later, 1 same year, order not determinable
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2108.02938 (2021-08)
ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 60 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

Diffusion models have been successful on a range of conditional generation tasks including molecular design and text-to-image generation. However, these achievements have primarily depended on task-specific conditional training or error-prone heuristic approximations. Ideally, a conditional generation method should provide exact samples for a broad range of conditional distributions without requiring task-specific training. To this end, we introduce the Twisted Diffusion Sampler, or TDS. TDS is a sequential Monte Carlo (SMC) algorithm that targets the conditional distributions of diffusion models through simulating a set of weighted particles. The main idea is to use twisting, an SMC technique that enjoys good computational efficiency, to incorporate heuristic approximations without compromising asymptotic exactness. We first find in simulation and in conditional image generation tasks that TDS provides a computational statistical trade-off, yielding more accurate approximations with many particles but with empirical improvements over heuristics with as few as two particles. We then turn to motif-scaffolding, a core task in protein design, using a TDS extension to Riemannian diffusion models. On benchmark test cases, TDS allows flexible conditioning criteria and often outperforms the state of the art.

For agents

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

get_harvested_code_for_paper("2306.17775")
get_code_for_paper("2306.17775")
have("2306.17775")

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

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

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

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

Connect an agent — have() is free.