Table of Contents
Fetching ...

Towards Provable Log Density Policy Gradient

Pulkit Katdare, Anant Joshi, Katherine Driggs-Campbell

TL;DR

This work proposes log density gradient to estimate the policy gradient, which corrects for this residual error term in gradient estimation, and proposes a min-max optimization that can approximate log density gradient using just on-policy samples.

Abstract

Policy gradient methods are a vital ingredient behind the success of modern reinforcement learning. Modern policy gradient methods, although successful, introduce a residual error in gradient estimation. In this work, we argue that this residual term is significant and correcting for it could potentially improve sample-complexity of reinforcement learning methods. To that end, we propose log density gradient to estimate the policy gradient, which corrects for this residual error term. Log density gradient method computes policy gradient by utilising the state-action discounted distributional formulation. We first present the equations needed to exactly find the log density gradient for a tabular Markov Decision Processes (MDPs). For more complex environments, we propose a temporal difference (TD) method that approximates log density gradient by utilizing backward on-policy samples. Since backward sampling from a Markov chain is highly restrictive we also propose a min-max optimization that can approximate log density gradient using just on-policy samples. We also prove uniqueness, and convergence under linear function approximation, for this min-max optimization. Finally, we show that the sample complexity of our min-max optimization to be of the order of $m^{-1/2}$, where $m$ is the number of on-policy samples. We also demonstrate a proof-of-concept for our log density gradient method on gridworld environment, and observe that our method is able to improve upon the classical policy gradient method by a clear margin, thus indicating a promising novel direction to develop reinforcement learning algorithms that require fewer samples.

Towards Provable Log Density Policy Gradient

TL;DR

This work proposes log density gradient to estimate the policy gradient, which corrects for this residual error term in gradient estimation, and proposes a min-max optimization that can approximate log density gradient using just on-policy samples.

Abstract

Policy gradient methods are a vital ingredient behind the success of modern reinforcement learning. Modern policy gradient methods, although successful, introduce a residual error in gradient estimation. In this work, we argue that this residual term is significant and correcting for it could potentially improve sample-complexity of reinforcement learning methods. To that end, we propose log density gradient to estimate the policy gradient, which corrects for this residual error term. Log density gradient method computes policy gradient by utilising the state-action discounted distributional formulation. We first present the equations needed to exactly find the log density gradient for a tabular Markov Decision Processes (MDPs). For more complex environments, we propose a temporal difference (TD) method that approximates log density gradient by utilizing backward on-policy samples. Since backward sampling from a Markov chain is highly restrictive we also propose a min-max optimization that can approximate log density gradient using just on-policy samples. We also prove uniqueness, and convergence under linear function approximation, for this min-max optimization. Finally, we show that the sample complexity of our min-max optimization to be of the order of , where is the number of on-policy samples. We also demonstrate a proof-of-concept for our log density gradient method on gridworld environment, and observe that our method is able to improve upon the classical policy gradient method by a clear margin, thus indicating a promising novel direction to develop reinforcement learning algorithms that require fewer samples.
Paper Structure (21 sections, 10 theorems, 71 equations, 3 figures, 2 algorithms)

This paper contains 21 sections, 10 theorems, 71 equations, 3 figures, 2 algorithms.

Key Result

Lemma 1

The average state-action density distribution satisfies the following identity for all $\gamma \in [0, 1]$,

Figures (3)

  • Figure 1: For the average reward scenario, performance of classical policy gradient (red) algorithm as compared to log density gradient (green) algorithm over a $n \times n$ gridworld environment, for $n=5,10$. We observe that log density gradient algorithm consistently converges to better policy performance. Theoretical calculated solutions are used for implementation.
  • Figure 2: For $5 \times 5$ gridworld, comparison of Log Density Gradient algorithms (in light green) as compared to REINFORCE (light red), theoretical policy gradient (gray) and theoretical log density gradient (blue). We observe that our empirical algorithm comfortably outperforms the other baselines.
  • Figure 3: For $3 \times 3$ gridworld, comparison of Log Density Gradient algorithms (in light green) as compared to REINFORCE (light red), theoretical policy gradient (gray) and theoretical log density gradient (blue). We observe that our empirical algorithm comfortably outperforms the other baselines.

Theorems & Definitions (20)

  • Lemma 1
  • Lemma 2
  • Lemma 3
  • Proposition 1
  • Proposition 2
  • proof
  • Lemma 4
  • Theorem 1
  • Theorem 2
  • proof
  • ...and 10 more