Skip to main content
QUICK REVIEW

[Paper Review] An Off-policy Policy Gradient Theorem Using Emphatic Weightings

Ehsan Imani, Eric Graves|arXiv (Cornell University)|Nov 22, 2018
Reinforcement Learning in RoboticsComputer Science33 references4 citations
TL;DR

This paper presents the first off-policy policy gradient theorem using emphatic weightings, enabling exact gradient estimation for general policy parameterizations. The proposed ACE algorithm converges to the optimal policy in counterexamples where prior methods like OffPAC and DPG fail, demonstrating the necessity of exact gradient updates over semi-gradient approximations in off-policy learning.

ABSTRACT

Policy gradient methods are widely used for control in reinforcement learning, particularly for the continuous action setting. There have been a host of theoretically sound algorithms proposed for the on-policy setting, due to the existence of the policy gradient theorem which provides a simplified form for the gradient. In off-policy learning, however, where the behaviour policy is not necessarily attempting to learn and follow the optimal policy for the given task, the existence of such a theorem has been elusive. In this work, we solve this open problem by providing the first off-policy policy gradient theorem. The key to the derivation is the use of $emphatic$ $weightings$. We develop a new actor-critic algorithm$\unicode{x2014}$called Actor Critic with Emphatic weightings (ACE)$\unicode{x2014}$that approximates the simplified gradients provided by the theorem. We demonstrate in a simple counterexample that previous off-policy policy gradient methods$\unicode{x2014}$particularly OffPAC and DPG$\unicode{x2014}$converge to the wrong solution whereas ACE finds the optimal solution.

Motivation & Objective

  • To resolve the long-standing open problem of deriving a theoretically sound off-policy policy gradient theorem for general policy parameterizations.
  • To address the limitations of existing off-policy policy gradient methods like OffPAC and DPG, which rely on semi-gradient approximations and can converge to suboptimal solutions.
  • To develop a new actor-critic algorithm, ACE, that follows the true gradient by incorporating emphatic weightings to correct for off-policy distribution shifts.
  • To demonstrate, via counterexamples, that semi-gradient methods fail to reach optimal policies while ACE succeeds.
  • To investigate the impact of estimated versus true emphatic weightings on learning performance in both tabular and continuous action settings.

Proposed method

  • Derives a novel off-policy policy gradient theorem that simplifies the gradient using emphatic weightings, which correct for the discrepancy between behavior and target policies.
  • Introduces the Actor-Critic with Emphatic weightings (ACE) algorithm, which uses the derived theorem to compute exact gradients for policy updates.
  • Employs incremental estimation of emphatic weightings using techniques from Yu (2015) and Sutton et al. (2016), enabling online learning in unknown environments.
  • Applies the theorem to both stochastic and deterministic policies, showing its generality across policy types.
  • Uses a critic to estimate state values and a separate actor to update policy parameters based on the emphatic-weighted gradient.
  • Employs importance sampling ratios and emphatic weightings to correct for off-policy data distribution, ensuring unbiased gradient estimation.

Experimental results

Research questions

  • RQ1Can a theoretically sound off-policy policy gradient theorem be derived for general policy parameterizations beyond tabular settings?
  • RQ2Do existing off-policy policy gradient methods like OffPAC and DPG converge to suboptimal solutions due to reliance on semi-gradient approximations?
  • RQ3Can the use of emphatic weightings enable exact gradient estimation in off-policy learning, leading to convergence to the optimal policy?
  • RQ4How does the accuracy of estimated emphatic weightings affect the performance of the ACE algorithm in long trajectories and continuous action spaces?
  • RQ5Is there a fundamental advantage in following the true gradient over semi-gradient updates in off-policy actor-critic learning?

Key findings

  • In a three-state counterexample with state aliasing, OffPAC and DPG converge to suboptimal policies, while ACE converges to the optimal solution, demonstrating the failure of semi-gradient methods.
  • True-ACE, using exact emphatic weightings, achieves optimal performance in the 11-state MDP, while ACE with estimated weightings shows performance degradation as λa increases, indicating estimation errors affect learning.
  • In the continuous action MDP, DPG converges to a suboptimal policy by favoring positive actions due to biased updates, while True-DPGE and True-ACE correctly learn negative action preferences.
  • ACE with λa = 1 performs significantly better than ACE with λa = 0, but still underperforms True-ACE, showing that estimated emphatic weightings degrade performance in complex environments.
  • The results suggest that current estimation methods for emphatic weightings are insufficient for continuous action spaces, and that more accurate estimation is critical for extending ACE to such settings.
  • The study confirms that semi-gradient methods like OffPAC and DPG are fundamentally flawed in off-policy settings, as their stationary points do not include the optimal policy.

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.