Skip to main content
QUICK REVIEW

[Paper Review] On Wasserstein Reinforcement Learning and the Fokker-Planck equation

Pierre H. Richemond, Brendan Maginnis|arXiv (Cornell University)|Dec 19, 2017
Fault Detection and Control SystemsEngineering18 references13 citations
TL;DR

This paper proposes a Wasserstein-regularized policy gradient framework in reinforcement learning, showing that small-step policy updates under the $W_2$ distance lead to dynamics governed by the Fokker-Planck (heat) equation. This reveals that optimal policies emerge via diffusion and advection toward high-reward actions, justifying empirical practices like Gaussian noise and entropy regularization through optimal transport theory.

ABSTRACT

Policy gradients methods often achieve better performance when the change in policy is limited to a small Kullback-Leibler divergence. We derive policy gradients where the change in policy is limited to a small Wasserstein distance (or trust region). This is done in the discrete and continuous multi-armed bandit settings with entropy regularisation. We show that in the small steps limit with respect to the Wasserstein distance $W_2$, policy dynamics are governed by the Fokker-Planck (heat) equation, following the Jordan-Kinderlehrer-Otto result. This means that policies undergo diffusion and advection, concentrating near actions with high reward. This helps elucidate the nature of convergence in the probability matching setup, and provides justification for empirical practices such as Gaussian policy priors and additive gradient noise.

Motivation & Objective

  • To establish a theoretical link between optimal transport and entropy-regularized reinforcement learning using the $W_2$ distance.
  • To show that policy gradient updates under a Wasserstein trust region converge to solutions of the Fokker-Planck equation in the continuous-time limit.
  • To explain empirical successes in RL—such as gradient noise and Gaussian priors—via diffusion and advection processes in policy space.
  • To generalize trust region methods beyond KL divergence by using the Wasserstein metric, particularly $W_2$, for smoother policy updates.
  • To provide a mathematical foundation for policy transport using the Jordan-Kinderlehrer-Otto (JKO) framework in infinite-dimensional policy space.

Proposed method

  • Formalizes policy iteration as a gradient flow in the space of probability measures using the $W_2$ Wasserstein distance as a metric.
  • Derives the continuous-time limit of policy updates under $W_2$ trust regions, showing convergence to the Fokker-Planck equation.
  • Uses the Jordan-Kinderlehrer-Otto (JKO) result to connect gradient flows in $W_2$ space to the heat equation, modeling policy diffusion and advection.
  • Applies entropy regularization to the reward functional, leading to a free energy functional analogous to statistical mechanics.
  • Demonstrates that the stationary solution of the Fokker-Planck equation corresponds to the Gibbs measure $\pi^*(a|s) \propto e^{r(s,a)/\beta}$, the optimal policy.
  • Uses the Sinkhorn algorithm and regularized optimal transport to approximate the $W_2$ proximal mapping, enabling practical implementation.

Experimental results

Research questions

  • RQ1How does using the $W_2$ Wasserstein distance as a trust region in policy gradients affect the dynamics of policy optimization?
  • RQ2What partial differential equation governs the continuous-time limit of $W_2$-regularized policy gradient updates?
  • RQ3How does the Fokker-Planck equation explain the emergence of optimal policies through diffusion and advection?
  • RQ4What is the connection between the Fokker-Planck dynamics and empirical practices such as adding Gaussian noise to gradients?
  • RQ5Can the $W_2$-based policy update be related to known entropy-regularized policy optimization frameworks like Trust Region Policy Optimization (TRPO) or soft Q-learning?

Key findings

  • Policy updates under a $W_2$ trust region converge to solutions of the Fokker-Planck equation in the continuous-time limit, modeling policy diffusion and advection.
  • The stationary solution of the Fokker-Planck equation is the Gibbs measure $\pi^*(a|s) \propto e^{r(s,a)/\beta}$, which matches the entropy-regularized optimal policy.
  • The Fokker-Planck dynamics explain why policies concentrate near high-reward actions, providing a mechanism for convergence in probability matching.
  • The use of $W_2$-based gradient flows justifies the empirical success of gradient noise and Gaussian policy priors through stochastic diffusion processes.
  • The $W_2$ proximal mapping leads to a sequence of Gibbs measures that converge to the optimal policy, with the dynamics governed by successive Kantorovich potentials.
  • Regularized optimal transport via the Sinkhorn algorithm provides a numerically stable approximation to the $W_2$-based policy update, enabling practical implementation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.