Inference-Time Alignment for Diffusion Models via Doob's Matching
Jinyuan Chang, Chenguang Duan, Yuling Jiao, Yi Xu, Jerry Zhijian Yang
TL;DR
This work introduces Doob's matching, a principled inference-time alignment framework for diffusion models that tilts samples toward a target distribution without retraining the base score network. Guidance is recast as the gradient of the log-Doob's $h$-function and estimated via gradient-penalized regression to jointly recover $h$ and $\nabla h$, ensuring a consistent Doob's guidance estimator. The authors establish non-asymptotic convergence rates for the guidance estimator and for the induced controllable diffusion in the $2$-Wasserstein distance, with explicit guidance on hyperparameters and truncation/scaling for stable sampling. The methodology supports a broad range of applications, including Bayesian posterior sampling and reward-guided generation, while preserving the base model's generative capabilities. Overall, Doob's matching provides rigorous, end-to-end guarantees for inference-time alignment of diffusion models against target distributions.
Abstract
Inference-time alignment for diffusion models aims to adapt a pre-trained diffusion model toward a target distribution without retraining the base score network, thereby preserving the generative capacity of the base model while enforcing desired properties at the inference time. A central mechanism for achieving such alignment is guidance, which modifies the sampling dynamics through an additional drift term. In this work, we introduce Doob's matching, a novel framework for guidance estimation grounded in Doob's $h$-transform. Our approach formulates guidance as the gradient of logarithm of an underlying Doob's $h$-function and employs gradient-penalized regression to simultaneously estimate both the $h$-function and its gradient, resulting in a consistent estimator of the guidance. Theoretically, we establish non-asymptotic convergence rates for the estimated guidance. Moreover, we analyze the resulting controllable diffusion processes and prove non-asymptotic convergence guarantees for the generated distributions in the 2-Wasserstein distance.
