Skip to main content
QUICK REVIEW

[Paper Review] Where Did My Optimum Go?: An Empirical Analysis of Gradient Descent Optimization in Policy Gradient Methods

Peter Henderson, Joshua Romoff|arXiv (Cornell University)|Oct 5, 2018
Reinforcement Learning in RoboticsComputer Science11 references16 citations
TL;DR

This paper empirically investigates the impact of various gradient descent optimizers and their hyperparameters on policy gradient methods in continuous control tasks. It finds that adaptive optimizers like Adam have a narrow effective learning rate range and diverge easily, while momentum's effectiveness depends heavily on environment dynamics, suggesting that implicit momentum from parallel training complicates optimizer behavior in deep reinforcement learning.

ABSTRACT

Recent analyses of certain gradient descent optimization methods have shown that performance can degrade in some settings - such as with stochasticity or implicit momentum. In deep reinforcement learning (Deep RL), such optimization methods are often used for training neural networks via the temporal difference error or policy gradient. As an agent improves over time, the optimization target changes and thus the loss landscape (and local optima) change. Due to the failure modes of those methods, the ideal choice of optimizer for Deep RL remains unclear. As such, we provide an empirical analysis of the effects that a wide range of gradient descent optimizers and their hyperparameters have on policy gradient methods, a subset of Deep RL algorithms, for benchmark continuous control tasks. We find that adaptive optimizers have a narrow window of effective learning rates, diverging in other cases, and that the effectiveness of momentum varies depending on the properties of the environment. Our analysis suggests that there is significant interplay between the dynamics of the environment and Deep RL algorithm properties which aren't necessarily accounted for by traditional adaptive gradient methods. We provide suggestions for optimal settings of current methods and further lines of research based on our findings.

Motivation & Objective

  • To investigate how different gradient descent optimizers affect policy gradient performance in deep reinforcement learning.
  • To examine the role of learning rate and momentum hyperparameters in optimizing policy gradient methods.
  • To identify failure modes of adaptive optimizers like Adam and RMSProp in stochastic, non-iid RL settings.
  • To explore the presence of implicit momentum in synchronous, multi-worker training setups and its impact on optimization stability.
  • To provide practical recommendations for optimizer selection and hyperparameter tuning in PPO and A2C algorithms.

Proposed method

  • Empirically evaluates 11 gradient descent optimizers (SGD, Adam, RMSProp, Adamax, AMSGrad, etc.) across PPO and A2C algorithms on continuous control benchmarks.
  • Conducts ablation studies varying learning rates and momentum values across multiple environments (Ant, HalfCheetah, Hopper, Reacher, Walker2d).
  • Uses synchronized, multi-worker training setups with varying worker-to-steps ratios to probe implicit momentum effects.
  • Normalizes performance using random agent baseline to enable cross-environment comparison.
  • Analyzes learning curves and returns across 10 random seeds to assess stability and variance.
  • Reports results in terms of average return and standard deviation, with normalized performance plots to visualize relative gains.

Experimental results

Research questions

  • RQ1How do different adaptive optimizers perform across standard continuous control environments in PPO and A2C?
  • RQ2What is the optimal learning rate range for adaptive optimizers like Adam and RMSProp in policy gradient training?
  • RQ3How does momentum influence learning performance, and does its effectiveness vary across different environments?
  • RQ4To what extent do multi-worker synchronous training setups introduce implicit momentum that affects optimizer stability?
  • RQ5Can traditional adaptive gradient methods be reliably applied in deep reinforcement learning, or do they fail due to dynamic loss landscapes and delayed gradients?

Key findings

  • Adaptive optimizers such as Adam and RMSProp exhibit a narrow window of effective learning rates and frequently diverge outside this range.
  • Momentum-based optimizers like SGD with Nesterov momentum show performance that varies significantly across environments, with optimal values depending on task dynamics.
  • Higher worker-to-steps ratios in synchronous training introduce noisy trends suggesting implicit momentum, particularly benefiting lower momentum values in some environments.
  • The best-performing configurations often involve lower momentum (e.g., 0.11–0.33) in high-parallelism settings, indicating that implicit momentum from sampling bias affects optimization.
  • PPO with SGD and low momentum (0.11–0.33) achieves the highest normalized returns in 8/10 settings, especially in high-worker configurations.
  • Performance with Adam and high momentum (0.99) often degrades significantly, with returns dropping below random baseline in some cases (e.g., 171 vs. 209 in Walker2d with 32 workers).

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.