A Diffusion Model Framework for Maximum Entropy Reinforcement Learning
Sebastian Sanokowski, Kaustubh Patil, Alois Knoll
TL;DR
This paper reframes Maximum Entropy Reinforcement Learning as a diffusion-based sampling problem, establishing a principled reverse KL objective that ties diffusion dynamics to MaxEntRL. It develops a unified DMERL framework and derives three practical algorithms—DiffPPO, DiffSAC, and DiffWPO—achieving higher sample efficiency and better returns on continuous-control benchmarks with minimal implementation changes. Theoretical contributions include linking the MaxEntRL surrogate to the Log Variance loss and formulating a diffusion-based Wasserstein optimization approach, plus a tractable diffusion-augmented MDP. Empirical results demonstrate robust improvements across Humanoid tasks, with ablations confirming that more diffusion steps yield better performance, suggesting diffusion-based policies are a strong direction for sample-efficient, multimodal action modeling in RL.
Abstract
Diffusion models have achieved remarkable success in data-driven learning and in sampling from complex, unnormalized target distributions. Building on this progress, we reinterpret Maximum Entropy Reinforcement Learning (MaxEntRL) as a diffusion model-based sampling problem. We tackle this problem by minimizing the reverse Kullback-Leibler (KL) divergence between the diffusion policy and the optimal policy distribution using a tractable upper bound. By applying the policy gradient theorem to this objective, we derive a modified surrogate objective for MaxEntRL that incorporates diffusion dynamics in a principled way. This leads to simple diffusion-based variants of Soft Actor-Critic (SAC), Proximal Policy Optimization (PPO) and Wasserstein Policy Optimization (WPO), termed DiffSAC, DiffPPO and DiffWPO. All of these methods require only minor implementation changes to their base algorithm. We find that on standard continuous control benchmarks, DiffSAC, DiffPPO and DiffWPO achieve better returns and higher sample efficiency than SAC and PPO.
