cs.LGNov 23, 2026

Reinforcing Diffusion Models by Instantaneous Trajectory Distribution Matching

Authors: Yihong Luo

Organizations: Hong Kong University of Science and Technology

Abstract

Forward diffusion reinforcement learning (RL)---enabling deterministic ODE sampling without trajectory backpropagation---has grown increasingly popular for efficiently aligning diffusion models. However, we reveal that existing methods essentially rely on signed reward-weighted regression (RWR), regressing the trainable policy velocity onto rollouts from a behavior distribution. Unbiased baseline subtraction implicitly assumes that the policy velocity equals the behavior marginal velocity---an idealized assumption violated under classifier-free guidance (CFG) rollouts, offline/off-policy updates, and imperfect online self-consistency. This behavior--policy mismatch breaks baseline invariance and injects baseline-induced gradient drift, destabilizing training. To resolve this issue, we propose Instantaneous Trajectory Distribution Matching (iTDM), taking the infinitesimal limit of Trajectory Distribution Matching toward a time-local reward-guided target via the posterior-score identity to yield a sample-level gradient anchored at the behavior velocity without learning an additional reward-tilted target score. Tracking this velocity with an online auxiliary denoiser guarantees exact baseline invariance at the auxiliary optimum, effectively suppressing baseline drift across both online and offline RL. Extensive experiments across compositional generation, text rendering, and preference alignment show that iTDM achieves state-of-the-art in-domain and out-of-domain performance across group-wise online/offline RL and pairwise offline RL. Notably, on the challenging GenEval2 benchmark, iTDM converges nearly 3\times faster than competing methods while scaling smoothly to 0.87 without collapse. Furthermore, iTDM scales effectively to the 5.6B FLUX.3 model, achieving better performance across both in-domain and unseen metrics. Code is available at https://github.com/Luo-Yihong/iTDM

Figures & tables

Explore similar work

CardsList
  1. Designing Reinforcement Learning for Diffusion Models: A Unified Path-Space View

    Aug 14, 2026Yixian Xu, Yuanrui Zhang, Shengjie Luo +3Diffusion Model AlignmentPolicy Gradient Methods

  2. Scaling Reinforcement Learning for Diffusion Models via Velocity Matching

    Aug 24, 2026Jaemoo Choi, Wei Guo, Yuchen Zhu +4Diffusion Model Fine-TuningRL for Diffusion Models

  3. TMPO: Trajectory Matching Policy Optimization for Diverse and Efficient Diffusion Alignment

    May 9, 2026Jiaming Li, Chenyu Zhu, Nanxi Yi +9Diffusion Model AlignmentReward Hacking