SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.16198 · 2026

Training-Free Adaptation of Diffusion Models via Doob's h-Transform

Zhaoran Wang, Minshuo Chen, Han Liu, Zeqi Ye, Qijie Zhu

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 18 functions out of this paper's own repositories and ran 10 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
liamyzq/Doob_training_free_adaptation — 10 of 18
FunctionStatusWhere it lives
Dense Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("cf2e38c8b4950425")
GaussianFourierProjection Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("6dbdaf7c34ad0387")
GuidanceQt Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("ad3bd39d66e8f065")
Residual_Block Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("8ebaee8d31db134f")
SiLU Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("bf39bc92e363e115")
TwinQ Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("6a94ba6c8b96e5c8")
expand_like Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("fdc9881e8b4b335f")
marginal_prob_std Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("32b14e1ceb9d35cb")
mlp Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("d466e7f1c4364a0b")
rescale_grad Ran liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("9cfee71648cee4d4")
Arguments Not yet run liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("f4b929fd8031a4ae")
Critic_Guide Not yet run liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("3e41a30911e361ab")
DDIMSampler Not yet run liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("3660048c3ff8d828")
DoobHGuidanceSampler Not yet run liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("66321de2ea7c38d3")
QGPO_Critic Not yet run liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("c63703b7bde528b5")
ScoreBase Not yet run liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("fe1855756d435306")
ScoreNet Not yet run liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("3d97f205509ebb3b")
build_model Not yet run liamyzq/Doob_training_free_adaptation/search/doob_search.py
pointer only (licence: NONE) · get_code("1e2b56744de208d8")

Repositories linked to this paper

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

Abstract

Adaptation methods have been a workhorse for unlocking the transformative power of pre-trained diffusion models in diverse applications. Existing approaches often abstract adaptation objectives as a reward function and steer diffusion models to generate high-reward samples. However, these approaches can incur high computational overhead due to additional training, or rely on stringent assumptions on the reward such as differentiability. Moreover, despite their empirical success, theoretical justification and guarantees are seldom established. In this paper, we propose DOIT (Doob-Oriented Inference-time Transformation), a training-free and computationally efficient adaptation method that applies to generic, non-differentiable rewards. The key framework underlying our method is a measure transport formulation that seeks to transport the pre-trained generative distribution to a high-reward target distribution. We leverage Doob's h-transform to realize this transport, which induces a dynamic correction to the diffusion sampling process and enables efficient simulation-based computation without modifying the pre-trained model. Theoretically, we establish a high probability convergence guarantee to the target high-reward distribution via characterizing the approximation error in the dynamic Doob's correction. Empirically, on D4RL offline RL benchmarks, our method consistently outperforms state-of-the-art baselines while preserving sampling efficiency. Code: https://github.com/liamyzq/Doob_training_free_adaptation.

For agents

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

get_harvested_code_for_paper("2602.16198")
get_code_for_paper("2602.16198")
have("2602.16198")

Connect an agent — have() is free.