What Kind of Diffusion Models Do We Need in Online Reinforcement Learning?

Zihao Wu, Hongyao Tang, Yi Ma, Yan Zheng, Jianrong Wang, Jianye HaoNeurIPS 2026

TL;DR

Iterative generative models (like diffusion and flow matching) are great at representing complex robot movements, yet plugging them into online reinforcement learning (RL) breaks a crucial math requirement: you can’t easily compute the exact probability of the actions they generate. This paper reveals why existing workarounds quietly collapse or fail in high dimensions, and introduces Coupled Flow—a clever linear ODE architecture that gives you rich, multimodal policies and exact, closed-form likelihoods. It drops seamlessly into standard RL frameworks and doubles returns on complex humanoid tasks.

What Problem Does This Paper Address?

Imagine teaching a simulated humanoid to navigate an obstacle. Going left or going right are both great choices; going straight means crashing. Standard RL policies use a simple unimodal Gaussian (bell curve) distribution, which averages "left" and "right" into a catastrophic "straight ahead."

Diffusion and flow-matching models fix this by sculpting noise over multiple steps into rich, multimodal action distributions. That works wonders in offline RL, where you train on a fixed dataset of expert demonstrations.

Online RL, however, requires discovering behavior from scratch. The gold standard here is Maximum-Entropy (MaxEnt) RL (like Soft Actor-Critic, or SAC), which rewards the agent both for getting high scores and for keeping its options open (high entropy). Computing entropy requires knowing the exact log-probability ($\log \pi(a|s)$) of any chosen action. Standard diffusion and flow samplers don't give you this number cleanly—tracing probabilities through a free-form differential equation is computationally intractable. Researchers have invented clever hacks to bypass this bottleneck, leading the authors to ask: Do those workarounds actually hold up in high-dimensional control?

Methods

First, the authors audit existing online diffusion RL methods by grouping them into three families:

  1. Reparameterized policies without exact entropy (differentiating straight through the sampler using deterministic-style objectives or surrogate entropies).
  2. Langevin dynamics (performing noisy gradient ascent on the critic's value landscape).
  3. Q-weighted resampling (generating candidate actions from a proposal distribution and reweighting the diffusion loss by their critic scores).

After proving mathematically why all three hit walls in high-dimensional action spaces, they design Coupled Flow to attack the root cause directly: making exact likelihoods cheap again.

Instead of letting every action dimension interact with every other dimension all at once in an unstructured neural ODE, Coupled Flow partitions the latent action vector $\boldsymbol{x}$ into $n$ disjoint blocks ($\boldsymbol{x}_1, \dots, \boldsymbol{x}_n$). Each block $\boldsymbol{x}_i$ evolves via a simple linear ODE:

$$\frac{d\boldsymbol{x}_i}{dt} = \boldsymbol{\alpha}_i(\boldsymbol{x}_{-i}, s) \odot \boldsymbol{x}_i + \boldsymbol{\beta}_i(\boldsymbol{x}_{-i}, s)$$

Notice the trick: the scaling $\boldsymbol{\alpha}_i$ and shift $\boldsymbol{\beta}_i$ can be complex nonlinear neural networks of the state $s$ and all the other blocks ($\boldsymbol{x}_{-i}$), just not $\boldsymbol{x}_i$ itself.

  • What’s new: Because $\boldsymbol{\alpha}_i$ and $\boldsymbol{\beta}_i$ don't depend on $\boldsymbol{x}_i$, the Jacobian diagonal for block $i$ is simply $\boldsymbol{\alpha}_i$. By Liouville's theorem (change of variables for ODEs), the exact log-likelihood requires integrating the divergence of the velocity field—which here reduces to a trivial sum of the coordinates of $\boldsymbol{\alpha}_i$! Meanwhile, cross-block coupling preserves multimodal expressivity.
  • What’s standard: Once Coupled Flow outputs a reparameterized action and its exact log-density, it plugs straight into off-the-shelf MaxEnt backbones like SAC or the state-of-the-art XQC without auxiliary losses or proposal networks.

Datasets

Because this is online RL, there are no static training datasets—agents learn entirely from live interaction over 1 million environment steps across four continuous-control simulation suites (no new benchmarks are introduced):

  • MuJoCo (5 standard locomotion tasks, e.g., Ant-v4, Humanoid-v4)
  • DeepMind Control (DMC) Suite (7 tasks, including high-dimensional dog-trot and humanoid-run)
  • HumanoidBench (up to 14 complex whole-body tasks like h1-stair-v0 and h1-pole-v0)
  • MyoSuite (10 contact-rich musculoskeletal motor control tasks)

Key Insights and Ideas

  • Dropping entropy collapses diffusion into a deterministic policy: If you differentiate through an ODE sampler to maximize Q-values without true entropy regularization (TD3-style), the initial noise just acts like part of the state—mathematically collapsing your fancy generative model into deterministic action maximization.
  • Curse of dimensionality breaks Langevin and Resampling: On non-concave, multimodal value landscapes, Langevin mixing slows down exponentially with action dimension. Resampling avoids critic gradients (acting as a zero-order oracle), meaning a narrow proposal misses sharp high-value peaks, while a broad proposal requires exponentially many samples to find them.
  • Gaussian policies are just a special case: Setting Coupled Flow to 1 partition block and 1 Euler integration step (num_ode=1, num_step=1) mathematically reduces it to a standard diagonal Gaussian policy. It is a strict generalization of traditional actors.

Key Results

Coupled Flow consistently outperforms both classic RL actors and modern diffusion RL baselines, with the largest margins appearing in high-dimensional humanoid control.

Aggregate performance on SAC backbone across 15 tasks
  • On the SAC backbone (15 tasks): Coupled Flow ranks first in Interquartile Mean (IQM) across every suite—scoring 0.67 vs. 0.36 for vanilla SAC on HumanoidBench, 0.71 vs. 0.66 on DMC, and 1.12 vs. 1.05 on MuJoCo. Notably, Langevin (QSM, DIPO) and resampling (QVPO, SDAC) baselines degrade sharply as action dimensions grow. It boosts returns by 108% on h1-stair-v0 relative to SAC.
Figure 2: Coupled Flow scored on four benchmarks with the reference normalization of each suite. Bars report the score at 1M environment steps: TD3-normalized return on MuJoCo, return in thousands on DeepMind Control, success-normalized return on HumanoidBench, and success rate on MyoSuite. Coupled Flow is integrated with XQC. Error bars are 95% bootstrap intervals over tasks. Coupled Flow reaches 0.86 on DeepMind Control and 0.89 on HumanoidBench, the highest among the compared methods.
  • On the SOTA XQC backbone (36 tasks): Coupled Flow leads both DMC (0.86 vs. 0.76 for XQC) and HumanoidBench (0.89 vs. 0.82 for XQC), while matching XQC and SimbaV2 on MuJoCo and MyoSuite. On tough running tasks, it raises raw returns by 150% on humanoid-run and 118% on h1-run-v0 over XQC (and 117% over diffusion baseline DIME on humanoid-run).
  • Robustness: Across a $5 \times 5$ grid of ODE blocks and Euler steps (125 trials on humanoid-run), Coupled Flow experiences zero training collapses and consistently beats Gaussian SAC.

Limitations and Future Work

  • Simulation-only evaluation: All experiments are conducted in simulated physics engines; validating Coupled Flow on physical, real-world robots is left for future work.
  • Sensitivity to temperature ($\alpha$): Maintaining true multimodal exploration still depends on the MaxEnt entropy temperature coefficient $\alpha$; if $\alpha$ becomes too small, Coupled Flow will prematurely converge to a single mode.

Summary updated

Abstract

Score matching and flow matching exhibit powerful expressive capabilities in continuous control tasks. However, since the log probability densities of their generated actions cannot be directly accessed, they introduce substantial challenges to the implementation and optimization of Maximum-Entropy Reinforcement Learning (RL). To address this critical limitation, the RL community has developed a wide range of diffusion-based RL algorithms, leading to a widespread perception that the integration of diffusion models and RL has achieved remarkable success. Yet, is this optimistic conclusion truly well-founded? In this paper, we propose a systematic taxonomy for existing mainstream diffusion RL methods that consists of three distinct categories, and we conduct in-depth theoretical analyses of their inherent limitations and core defects.Our analysis reveals that existing methods either collapse the intended stochastic generative policy into action maximization, require costly long-horizon sampling in high-dimensional action spaces, or rely heavily on proposal distributions whose coverage fundamentally limits policy improvement. Building on the comprehensive analysis above, we propose a novel method \textbf{Copuled Flow} . The core insight of our method is to leverage linear ordinary differential equations to maintain fully tractable log-likelihood calculation, while adopting coupled generation mechanisms to effectively capture complex distributions. In the experiments, we evaluate the \textbf{Copuled Flow} on 3 HumanoidBench tasks, 5 MuJoCo tasks, and 7 tasks from the DeepMind Control (DMC) Suite. Empirically, \textbf{Copuled Flow} achieves superior performance on high-dimensional benchmark tasks compared to competitive strong baselines. Specifically, it significantly outperforms existing diffusion-based RL methods by 100\% on the HumanoidBench benchmark.
BibTeX
@inproceedings{wu2026what,
  author = {Zihao Wu and Hongyao Tang and Yi Ma and YAN ZHENG and Jianrong Wang and Jianye HAO},
  title = {{What Kind of Diffusion Models Do We Need in Online Reinforcement Learning?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=8nIo3qPIuw},
}
Figure