Direct Distributional Optimization for Provable Alignment of Diffusion Models
Ryotaro Kawata, Kazusato Oko, Atsushi Nitanda, Taiji Suzuki
TL;DR
This work tackles the challenge of aligning diffusion models when output densities are inaccessible and multimodal, by formulating alignment as a nonlinear distributional optimization problem and solving it with a framework that combines Dual Averaging (DA) with Doob's $h$-transform. The key contributions are convergence guarantees for both convex and nonconvex objectives, an end-to-end bound on sampling error, and a practical sampling strategy that relies only on samples from the pretrained reference model and a learned density-ratio potential. The method generalizes to RLHF, Direct Preference Optimization (DPO), and Kahneman-Tversky Optimization (KTO), and is validated through synthetic and image experiments where it achieves true objective improvement over diffusion-based baselines. By avoiding isoperimetric conditions and enabling sampling from multimodal targets, this approach offers a scalable, theory-backed route to distributional alignment with potential wide-ranging applications beyond diffusion models.
Abstract
We introduce a novel alignment method for diffusion models from distribution optimization perspectives while providing rigorous convergence guarantees. We first formulate the problem as a generic regularized loss minimization over probability distributions and directly optimize the distribution using the Dual Averaging method. Next, we enable sampling from the learned distribution by approximating its score function via Doob's $h$-transform technique. The proposed framework is supported by rigorous convergence guarantees and an end-to-end bound on the sampling error, which imply that when the original distribution's score is known accurately, the complexity of sampling from shifted distributions is independent of isoperimetric conditions. This framework is broadly applicable to general distribution optimization problems, including alignment tasks in Reinforcement Learning with Human Feedback (RLHF), Direct Preference Optimization (DPO), and Kahneman-Tversky Optimization (KTO). We empirically validate its performance on synthetic and image datasets using the DPO objective.
