Skip to main content
QUICK REVIEW

[Paper Review] A Closer Look at Deep Policy Gradients

Andrew Ilyas, Logan Engstrom|arXiv (Cornell University)|Nov 6, 2018
Reinforcement Learning in RoboticsComputer Science25 references27 citations
TL;DR

This paper conducts a fine-grained analysis of deep policy gradient methods (PPO and TRPO), revealing that key components—gradient estimation, value prediction, and optimization landscapes—often deviate significantly from theoretical expectations. Despite improving in reward, gradient estimates poorly correlate with the true gradient, value networks fail to model the true value function, and the surrogate objective misrepresents the true reward landscape, exposing a critical gap between theory and practice in deep reinforcement learning.

ABSTRACT

We study how the behavior of deep policy gradient algorithms reflects the conceptual framework motivating their development. To this end, we propose a fine-grained analysis of state-of-the-art methods based on key elements of this framework: gradient estimation, value prediction, and optimization landscapes. Our results show that the behavior of deep policy gradient algorithms often deviates from what their motivating framework would predict: the surrogate objective does not match the true reward landscape, learned value estimators fail to fit the true value function, and gradient estimates poorly correlate with the "true" gradient. The mismatch between predicted and empirical behavior we uncover highlights our poor understanding of current methods, and indicates the need to move beyond current benchmark-centric evaluation methods.

Motivation & Objective

  • To investigate how well state-of-the-art deep policy gradient algorithms reflect the conceptual framework underlying their design.
  • To evaluate the fidelity of core components—gradient estimation, value prediction, and optimization landscapes—relative to theoretical expectations.
  • To challenge the assumption that current benchmark-centric evaluations adequately capture algorithm behavior and reliability.
  • To identify systemic mismatches between theoretical primitives and empirical performance in deep RL.
  • To advocate for a shift from benchmark-driven to multi-faceted, mechanism-level evaluation of deep RL algorithms.

Proposed method

  • Empirically measure the cosine similarity between estimated gradients and the true expected gradient across training steps and sample sizes.
  • Train value networks on rollouts and compare their predictions to the true value function using supervised learning metrics.
  • Use bootstrapped confidence intervals to assess variance in gradient estimates across multiple random seeds.
  • Visualize and compare the surrogate objective landscape and the true reward landscape in the MuJoCo Humanoid-v2 environment.
  • Evaluate gradient variance reduction using the value network as a baseline versus the true value function and a zero baseline.
  • Analyze the impact of training progress and task complexity on gradient estimate quality and correlation with the true gradient.

Experimental results

Research questions

  • RQ1To what extent do gradient estimates in deep policy gradient methods correlate with the true gradient, and how does this correlation change over training?
  • RQ2How well do value networks trained via supervised learning approximate the true value function in deep RL environments?
  • RQ3How effective is the value network as a baseline in reducing gradient variance compared to using the true value function?
  • RQ4How well does the surrogate objective function reflect the true reward landscape in practice?
  • RQ5Why do deep policy gradient algorithms succeed despite significant mismatches between theoretical assumptions and empirical behavior?

Key findings

  • Gradient estimates used in policy updates show poor correlation with the true gradient, even as agents improve in reward, and this correlation decreases with training progress and task complexity.
  • The variance of gradient estimates remains high with typical sample sizes (e.g., ~2,000 samples), indicating that current sampling regimes are insufficient for stable gradient estimation.
  • Value networks successfully solve their supervised learning task but fail to fit the true value function, suggesting a fundamental disconnect between training objective and true value prediction.
  • Using the value network as a baseline reduces gradient variance only marginally compared to using the true value function, despite significantly improving agent performance over a zero baseline.
  • The optimization landscape of the surrogate objective often misrepresents the true reward landscape, with increases in the surrogate objective leading to decreases in true reward in later training stages.
  • Improved gradient estimates, while more accurate, can require lower learning rates and may even induce degenerate agent behavior, indicating non-monotonic and unintuitive effects of gradient quality.

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.