Soft Values from the Denoising Path: Path-Integral Actors for Maximum Entropy RL

Maximum entropy reinforcement learning (MaxEnt RL) trains an agent to collect reward while keeping its choice of action as random as it can afford. That randomness is what lets it keep exploring and avoid locking onto the first thing that works. The objective needs two quantities that are hard to get once the policy is a diffusion model, meaning a generator that turns random noise into an action through many small denoising steps. The first is the log-probability of each sampled action. The second is the "soft value" of a state, a log-sum-exp of the critic's scores over all actions. Current methods either approximate the log-probability, as in DIME and MaxEntDP, or replace entropy with a kinetic-energy proxy tuned by a Lagrange multiplier, as in FLAC.

This note proposes a more direct route. Generating an action from noise is itself a small stochastic optimal control problem: choose a drift that steers a noisy path so that its endpoint is distributed in proportion to $\exp(Q/\alpha)$. For that problem the log-transform that linearizes the Hamilton–Jacobi–Bellman equation gives something useful. The value of the denoising problem at its starting point is the soft state value that the critic needs, and the policy's entropy is accounted for exactly by the control energy. We propose to learn this "denoising value" with short-segment temporal recursions, borrowed from recent path-integral solvers that avoid the curse of dimensionality. The resulting actor produces soft values, actions, and a correct entropy accounting from one object, without density estimation and without a hand-tuned energy budget.

Core Claim

Fix a state $s$ and a reference process for generating actions: Brownian motion $a_\tau$ in action space, started at $a_0=0$ and run over denoising time $\tau\in[0,1]$ with scale $\sigma$. At the end, $a_1$ is Gaussian with density $\rho_{\text{ref}}$. Define the denoising value

$$ \Phi(s,\tau,a)=\log \mathbb{E}_{\text{ref}}\!\left[\exp\!\Big(\tfrac{1}{\alpha}Q(s,a_1)-\log\rho_{\text{ref}}(a_1)\Big)\,\Big|\,a_\tau=a\right], $$

where $Q$ is the critic and $\alpha$ the temperature. This is the construction of the Path Integral Sampler, which uses it to sample from static unnormalized densities. Here the target $\exp(Q/\alpha)$ is supplied by the critic.

Standard path-integral theory then gives three facts, each checkable in closed form on Gaussian test cases:

  1. The drift $u^*=\sigma^2\nabla_a\Phi$ produces actions distributed exactly as $\pi^*(a\mid s)\propto\exp(Q(s,a)/\alpha)$.
  2. At the start, $\alpha\,\Phi(s,0,0)=\alpha\log\!\int\exp(Q(s,a)/\alpha)\,da=V_{\text{soft}}(s)$, the soft state value.
  3. For any learned drift $u_\theta$, the MaxEnt objective of its terminal action is bounded below by an average over its own paths: $$ \mathbb{E}\big[Q(s,a_1)\big]+\alpha\,\mathcal{H}(\pi_\theta)\;\ge\;\mathbb{E}_{u_\theta}\!\Big[Q(s,a_1)-\alpha\log\rho_{\text{ref}}(a_1)-\tfrac{\alpha}{2\sigma^2}\!\int_0^1\!\|u_\theta\|^2d\tau\Big], $$ with equality when $u_\theta=u^*$.

The new claim is this: the soft value, the policy, and the entropy term can all come from one learned $\Phi$, trained with a short-segment recursion that stays well-conditioned as the action dimension grows to the 61 actuators of HumanoidBench.

Two existing results fit this picture. FLAC's kinetic-energy penalty is the $\|u\|^2$ term in the bound above, used without the matching value term, so FLAC must tune a budget where the bound would otherwise be exact. The temperature $\alpha$ plays the role of UniDB's finite terminal penalty. UniDB shows that hard endpoint matching ($\gamma\to\infty$) oversmooths images. In our setting the analogous limit $\alpha\to 0$ is the greedy deterministic policy, which is the entropy collapse that MaxEnt RL exists to prevent.

Research Program

Training $\Phi$ without long chains. Backpropagating through the full denoising chain, or weighting whole chains with importance weights, is exactly where high dimension breaks things. Stochastic Optimal Control Matching reduces gradient variance with a least-squares loss but simulates full trajectories. PI-VM reports that SOCM runs out of memory at 80 dimensions while PI-VM itself scales to 200. We therefore reuse PI-VM's method, and this is its only role here. $\Phi$ obeys the recursion

$$ \Phi(s,\tau,a)=\log\mathbb{E}_{\text{ref}}\big[\exp\Phi(s,\tau+h,a_{\tau+h})\mid a_\tau=a\big], $$

whose boundary condition at $\tau=1$ is the critic term. We regress on short segments (length $h$ of a few steps), sampled from a replay of the actor's own denoising paths. A Girsanov reweighting over only those few steps keeps the log-weights small. The critic's changing $Q$ enters only at the boundary, through a slowly updated target network, the same device SAC uses for its own value targets.

Fast action generation. Taking the gradient of a learned value at every control step is the latency cost that PI-VM itself names. We add a velocity head $v_\theta(s,\tau,a)$ that is regressed onto $\sigma^2\nabla_a\Phi$ during training. At execution time only $v_\theta$ runs, with 2 to 4 integration steps, which matches FLAC's NFE=2 regime. The velocity head is also where anisotropy can later enter: a per-joint reference scale $\sigma$ is a principled replacement for FLAC's single isotropic budget. We treat this as a secondary ablation, not the main claim.

Critic and actor updates. The critic's target uses $\alpha\Phi(s',0,0)$ directly, in place of a sampled $Q-\alpha\log\pi$. The actor has no separate objective; it is $v_\theta$. The temperature $\alpha$ is tuned against the path-energy estimate of entropy from the bound in the Core Claim.

Baselines

Gaussian SAC. The naive reference point is Soft Actor-Critic with a unimodal Gaussian policy and automatic temperature. It is run with the same critic architecture, replay ratio and environment steps, and it tells us whether an expressive generative policy is worth the extra machinery at all.

DIME. DIME is the strongest density-bound method. It lower-bounds diffusion-policy entropy with forward/backward chain ratios, and its authors name extension beyond Ornstein–Uhlenbeck chains as open. We run it at its reported plateau of 16 steps, and also at a matched 2 to 4 steps so the latency comparison is fair.

FLAC. The strongest existing method on exactly our benchmarks is FLAC. It reports matching or beating DIME and SAC-Flow on DMC Dog, DMC Humanoid and HumanoidBench, and approaching TD-MPC2 at NFE=2. No reported numerical score for FLAC on these tasks was found on Lacuna. We will therefore rerun it from its description, with the same critic, network width, NFE, seeds (at least ten) and hyperparameter search budget as our method.

Win condition. Beating FLAC means a higher interquartile-mean return at a fixed environment-step budget on the Dog and HumanoidBench tasks, with non-overlapping bootstrap intervals, at equal NFE. Alternatively, it means equal return with no tuned energy budget, shown as lower sensitivity to $\alpha$.

Key ablation. "FLAC-with-our-architecture" keeps the velocity head and the reference process but drops $\Phi$. It restores FLAC's kinetic Lagrangian and a sampled soft-value target. This isolates the contribution of the denoising value.

Training-rule ablation. A second ablation trains $\Phi$ on full chains with SOCM-style or PIS-style importance weights instead of short segments. This isolates the recursion.

Why not just…?

Why not just keep FLAC's kinetic-energy proxy? This is the real threat. If the critic dominates learning, a well-tuned budget may already be enough. Our bound says the energy term is exactly half of the correct accounting, and that the missing half (the soft value from $\Phi$) is what removes the need for a Lagrangian budget. The key ablation above tests this directly. If it matches our full method on return and $\alpha$-sensitivity, the honest conclusion is that FLAC's proxy suffices, and our contribution shrinks to a theoretical explanation of why it works.

Why not estimate the soft value by log-mean-exp of $Q$ over random reference actions? That estimator is unbiased only in the limit of many samples. Its variance grows with action dimension, because $\exp(Q/\alpha)$ concentrates on a vanishing fraction of the reference volume. This is the importance-weight explosion that the curse-of-dimensionality literature documents. We will measure the bias and variance of both estimators against closed-form soft values on synthetic quadratic and many-well $Q$ functions as the action dimension grows from 6 to 61. If Monte Carlo with a feasible sample count remains accurate at 61 dimensions, $\Phi$ is unnecessary for the critic target.

Why not compute exact log-densities with the probability-flow ODE, or use DIME's bound? Exact divergence computation costs many network evaluations per action, and MaxEntDP's numerical integration slows policy queries. DIME's bound is tied to fixed noising chains and plateaus at 16 steps. The matched-NFE runs of DIME show whether density-based accounting survives at 2 to 4 steps.

Proposed Experiments

Synthetic check with known answers. The first check is synthetic, with $Q$ fixed and known. We use quadratic Ornstein–Uhlenbeck-style and many-well landscapes of the kind used by PI-VM and SOCM, so the Boltzmann policy and soft value are available analytically or by exhaustive quadrature. We measure the error in the soft value, the error in the drift, and mode coverage from 6 to 200 action dimensions. SOCM reports up to $10\times$ lower $L^2$ control error than adjoint losses, and PI-VM reports scaling to 200 dimensions where SOCM runs out of memory at 80. Our method should track PI-VM's scaling while recovering the soft value to within a small relative error. If it fails here, it will fail on the robots.

Robot control. The main test runs on the DeepMind Control Suite Dog and Humanoid tasks, HumanoidBench locomotion (crawl, hurdle, maze), and MuJoCo Humanoid-v3. We report return curves, wall-clock time and NFE against the baselines above.

Two decisive checks. The first is whether the key ablation (FLAC's proxy inside our architecture) loses to the full method on the high-dimensional tasks, and not only on the easy ones. The second is whether the policy's measured entropy, estimated independently by nearest-neighbor methods on sampled actions, agrees with the path-energy accounting. If the entropy accounting is correct, it should agree for our method and drift apart for FLAC as training proceeds.