Papers
Topics
Authors
Recent
Search
2000 character limit reached

Data-Regularized Diffusion RL

Updated 13 February 2026
  • The paper introduces DDRL, replacing on-policy reverse KL with an off-policy forward KL penalty, ensuring regularization remains meaningful during reinforcement learning.
  • It formulates diffusion models as Markov Decision Processes, integrating RL rollouts with denoising loss to preserve sample fidelity and prevent reward hacking.
  • Empirical studies in video generation show DDRL improves reward metrics and human evaluation scores while maintaining realism, diversity, and prompt alignment.

Data-Regularized Diffusion Reinforcement Learning (DDRL) is a reinforcement learning paradigm for post-training generative diffusion models that employs data-driven regularization to address reward hacking and distributional drift. The method replaces on-policy reference-model regularization with an off-policy forward KL penalty anchored on a real or synthetic data distribution, enabling robust reward optimization without compromising sample realism, diversity, or fidelity.

1. Motivation: Reward Hacking and Regularization Failure in Diffusion RL

Standard RL post-training of diffusion models seeks to maximize an externally specified reward r(x)r(x), such as a proxy for human preference, while constraining divergence from a reference model prefp_\text{ref} using the reverse KL:

JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).

However, the reward model is generally only reliable near the data manifold, while pθp_\theta—the policy learned via RL—can drift off-manifold in multi-step sampling, rendering the on-policy reverse KL penalty uninformative. Consequently, diffusion models "hack" the reward: they produce over-stylized, low-diversity, or unrealistic outputs that nevertheless achieve high reward scores but reduced human preference and increased visible artifacts (e.g., noise patterns, cartoonish outputs). DDRL directly addresses this pathology by substituting the on-policy reverse KL with an off-policy forward KL, anchoring the diffusion policy to an external data distribution so that the regularization remains meaningful even as pθp_\theta explores unfamiliar regions (Ye et al., 3 Dec 2025).

2. Theoretical Formulation: Diffusion, Off-Policy KL, and Optimality

2.1 Diffusion Models as Markov Decision Processes

Let x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c) represent the real data conditional on context cc. The forward noising process is

q(xt∣xt−1)=N(1−βt xt−1, βtI),t=1…T,q(x_t|x_{t-1}) = \mathcal{N}(\sqrt{1-\beta_t}\, x_{t-1},\, \beta_t I), \qquad t = 1 \ldots T,

and the diffusion model ϵθ(xt,t,c)\epsilon_\theta(x_t, t, c) defines the reverse transitions

pθ(xt−1∣xt,c)=N(μθ(xt,t,c),σt2I),p_\theta(x_{t-1}|x_t, c) = \mathcal{N}(\mu_\theta(x_t, t, c), \sigma_t^2 I),

so that

prefp_\text{ref}0

In RL interpretation, prefp_\text{ref}1 is a stochastic policy acting in (state, action) pairs given by prefp_\text{ref}2, terminating at prefp_\text{ref}3.

2.2 Off-Policy Data Distribution

The reference/off-policy distribution prefp_\text{ref}4 is constructed by: drawing prefp_\text{ref}5 from real or synthetic data, then running the forward noising process for prefp_\text{ref}6. The resulting marginals prefp_\text{ref}7 are "noisy data" distributed along the real-data manifold.

2.3 Forward KL Regularization

DDRL replaces the standard penalty prefp_\text{ref}8 with the off-policy prefp_\text{ref}9, evaluated on samples from the data+noise process. By properties of diffusion models,

JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).0

where JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).1 is synthesized from JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).2 plus noise at JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).3.

2.4 Objective and Optimal Policy

Define the (zero-meaned) advantage:

JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).4

The DDRL objective is

JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).5

with JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).6. In practice, JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).7 can be replaced by identity to match baseline scaling.

Equivalently,

JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).8

and the optimal policy is

JRL(θ)=Epθ[r(x)/β]−KL(pθ∥pref).J_\text{RL}(\theta) = \mathbb{E}_{p_\theta}[r(x)/\beta] - \mathrm{KL}(p_\theta \Vert p_\text{ref}).9

showing that DDRL correctly recovers the KL-regularized posterior (Ye et al., 3 Dec 2025).

3. Algorithmic Implementation

DDRL alternates between RL-style rollouts and off-policy diffusion loss regularization:

  • Draw batches of conditions pθp_\theta0.
  • For each pθp_\theta1: generate pθp_\theta2 samples pθp_\theta3; compute rewards pθp_\theta4, the baseline pθp_\theta5, and advantages pθp_\theta6.
  • Accumulate the policy-gradient (REINFORCE) loss: pθp_\theta7.
  • For each pθp_\theta8: sample pθp_\theta9, random pθp_\theta0, noise pθp_\theta1; synthesize pθp_\theta2; compute denoising loss pθp_\theta3 as pθp_\theta4.
  • Minimize total loss pθp_\theta5 using AdamW. Only a subset pθp_\theta6 of timesteps is used for efficiency.

DDRL requires only a data/noise sampler at training, without reference to a pretrained model; it can leverage real or synthetic data for the off-policy KL term (Ye et al., 3 Dec 2025).

4. Hyperparameter and Practical Details

The DDRL recipe for large-scale video generation includes:

  • Diffusion timesteps: pθp_\theta7, pθp_\theta8 (evenly spaced).
  • RL rollout size: pθp_\theta9 per condition; learning rates x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)0 (2B), x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)1 (14B).
  • Batch size: x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)2 conditions/iteration.
  • Off-policy data: real samples (from high-quality fine-tuning data) or synthetic samples (pre-generated by base model, e.g., 10k videos).
  • Optimizer: AdamW (x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)3, x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)4).
  • Computational cost: x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)5 GPU-hours (H100). Efficiency is aided by single forward-diffusion pass per data point and asynchronous external reward servers.

No classifier-free guidance is used in diffusion loss; conditioning is dropped with 20% probability during training (Ye et al., 3 Dec 2025).

5. Empirical Results in High-Resolution Video Generation

DDRL was evaluated in post-training Cosmos2.5 (2B, 14B) over mixed Textx0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)6Video and Imagex0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)7Video tasks, using VideoAlign and VBench for quantitative and human-eval metrics.

Quantitative performance:

  • DDRL improves average reward by x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)8 (VideoAlign) and x0∼pdata(⋅ ∣ c)x_0 \sim p_\text{data}(\cdot\,|\,c)9 (VBench) over the base model.
  • Competing methods (DanceGRPO, FlowGRPO) improve some metrics but "hack" others (e.g., over-stylization, blurred or mismatched outputs).

Human preferences:

  • For Cosmos2.5-2B, DDRL outperforms base by cc0 in human vote and increases VideoAlign score from cc1 to cc2.
  • Baselines can increase reward but decrease text alignment or realism.

Qualitative effects:

  • DanceGRPO shows increased color saturation and prompt misalignment.
  • FlowGRPO exhibits blur, temporal jitter, and artifacts.
  • DDRL maintains realism/diversity, better prompt fidelity, and smooth motion (Ye et al., 3 Dec 2025).

6. Limitations and Future Directions

DDRL effectiveness depends on the quality of cc3; if real data is limited or synthetic data distribution is mismatched, regularization may not fully constrain cc4. RL rollout cost dominates overall compute—sample efficiency improvements (e.g., using value networks or off-policy RL) are a potential avenue for further work. The field lacks an automatic metric for detecting reward hacking, though signals could include spikes in diffusion loss, lower variance in outputs, or abrupt trade-offs in evaluation metrics.

Proposed extensions include:

  • Unifying SFT and RL post-training in a single-stage DDRL setup,
  • Application to other generative architectures (flows, autoregressive LLMs),
  • Incorporating classifier-free guidance with RL policy improvements at inference (Ye et al., 3 Dec 2025).

A closely related line derives reward-directed, entropy-regularized RL for continuous-time score-based diffusion models (Gao et al., 2024). This approach formulates diffusion model learning as an MDP with policies representing time-varying applied scores, targeting a reward that penalizes deviation from the true data distribution score:

cc5

with an entropy bonus and terminal reward. The optimal policy is Gaussian with mean incorporating both the data score and value-gradient, and a known variance. Training employs actor-critic (q-learning) with density-ratio score estimation on noisy data, facilitating a principled, model-free balance between task reward maximization and distributional fidelity, without reliance on a pretrained model. Comparison with model-based fine-tuning reveals improved robustness to poor initialization and avoidance of reward overfitting (Gao et al., 2024).


For thorough derivations, implementation details, and experimental results, see "Data-regularized Reinforcement Learning for Diffusion Models at Scale" (Ye et al., 3 Dec 2025) and "Reward-Directed Score-Based Diffusion Models via q-Learning" (Gao et al., 2024).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Data-Regularized Diffusion Reinforcement Learning (DDRL).