Compatible Value Gradients for Reinforcement Learning of Continuous Deep Policies

David Balduzzi, Muhammad GhifaryarXiv 2015

TL;DR

This paper introduces GProp (Value-Gradient Backpropagation), a novel deep reinforcement learning algorithm that allows agents to learn continuous policies more effectively by directly estimating the gradient of the value function. By introducing the Deviator-Actor-Critic (DAC) model, the authors decouple the internal structures of the actor and critic, enabling stable training via standard backpropagation and achieving state-of-the-art results on complex benchmarks like the "Octopus Arm."

What Problem Does This Paper Address?

In reinforcement learning (RL), an agent tries to maximize rewards in an unknown environment. For tasks with continuous action spaces (like controlling a robotic limb), "Actor-Critic" methods are the gold standard. The Critic estimates how good a state/action is, and the Actor uses that information to improve its policy.

However, two major hurdles have historically limited these methods when paired with deep neural networks:

  1. The Gradient Gap: Standard Temporal Difference (TD) methods estimate the value or advantage of an action, but they don't directly estimate the gradient of the value function. To optimize a continuous policy, you really need that gradient.
  2. Compatibility Issues: To ensure the actor actually improves, the critic's approximation must be "compatible" with the actor's policy. Previous mathematical conditions for compatibility were easy to satisfy for simple linear models but became computationally nightmarish and "un-backpropagatable" when applied to deep neural networks.

Methods

The authors propose a two-pronged solution:

  • The Gradient Perturbation Trick: To learn gradients from rewards (which are just numbers, not gradients), the authors use a clever trick: they perturb the action with a small amount of Gaussian noise. By observing how the reward changes relative to this noise, the agent can simultaneously estimate both the value of a point and the direction of steepest ascent (the gradient).
  • The DAC Model (Deviator-Actor-Critic): Instead of the usual two networks, GProp uses three:
  • Actor: Determines the policy.
  • Critic: Estimates the value function.
  • Deviator: A new specialized network that estimates the gradient of the value function.
  • GProp Algorithm: This algorithm backpropagates three distinct signals to train these networks. Crucially, it allows the Deviator to estimate the influence of the Actor’s parameters on the value function without needing to know the Actor's internal "guts," making it perfectly suited for deep learning.

Datasets

The authors evaluated GProp on two distinct types of challenges:

  1. Contextual Bandit Tasks (SARCOS and Barrett): The authors took two famous robotics regression datasets and transformed them into "contextual bandits." In this setup, the agent is "told" how far it is from a target (a scalar reward) but not which direction the target is in. To succeed, the agent must accurately estimate the gradient.
  2. The Octopus Arm: A classic, high-dimensional RL benchmark involving a simulated 6-segment octopus arm. The state space has 50 variables, and the action space has 20, making it a highly nonlinear, sequential control problem.

Key Insights and Ideas

  • Decoupling is Key: By using a separate "Deviator" network, the authors solved the "compatibility" problem that plagued earlier deep actor-critic methods. This allows the critic and actor to be complex, multi-layer networks that still play nicely together during training.
  • RL as Supervised Learning: One of the most striking findings was that GProp, despite only receiving a distance-based reward signal, performed nearly as well as fully supervised methods that were given the actual target labels. This suggests that accurate gradient estimation can bridge the information gap between RL and supervised learning.
  • Active Submodels: The mathematical proof for why this works with deep networks relies on the observation that ReLU-based networks (rectilinear units) act as a collection of linear "active submodels" at any given moment. This allowed the authors to extend linear compatibility proofs to the deep learning regime.

Key Results

  • Octopus Arm SOTA: GProp achieved the best performance to date on the octopus arm task, converging faster and to a more stable, higher-performing policy than previous methods like COPDAC-Q.
  • Gradient Accuracy: On the bandit tasks, GProp’s gradient estimates were significantly more accurate than those of its competitors. While other methods' estimates were erratic, GProp’s gradient error converged to less than 0.005.
  • Efficiency: GProp proved to be more computationally efficient for deep architectures because it avoids the need to compute complex Jacobians of the actor's internal weights during the critic update.

Limitations and Future Work

  • Learning Rate Stability: The authors noted that the Deviator network learns more slowly than the Critic because its updates are tied to the magnitude of the noise ($\epsilon$). As the noise is reduced to fine-tune the policy, the Deviator's learning rate effectively drops.
  • Scope of Benchmarks: The paper focused on high-dimensional, nonlinear tasks. It did not evaluate GProp on simpler "toy" problems (like Mountain Car) because the authors argue GProp's primary value is in handling complexity where linear methods fail.
  • Multiagent Potential: The authors hint that their approach to "structural credit assignment" (figuring out which part of the network is responsible for a reward) has interesting parallels in multiagent RL, which could be a fruitful area for future research.

Summary updated

Abstract

This paper proposes GProp, a deep reinforcement learning algorithm for continuous policies with compatible function approximation. The algorithm is based on two innovations. Firstly, we present a temporal-difference based method for learning the gradient of the value-function. Secondly, we present the deviator-actor-critic (DAC) model, which comprises three neural networks that estimate the value function, its gradient, and determine the actor's policy respectively. We evaluate GProp on two challenging tasks: a contextual bandit problem constructed from nonparametric regression datasets that is designed to probe the ability of reinforcement learning algorithms to accurately estimate gradients; and the octopus arm, a challenging reinforcement learning benchmark. GProp is competitive with fully supervised methods on the bandit task and achieves the best performance to date on the octopus arm.
BibTeX
@misc{balduzzi2015compatible,
  author = {David Balduzzi and Muhammad Ghifary},
  title = {{Compatible Value Gradients for Reinforcement Learning of Continuous Deep Policies}},
  year = {2015},
  eprint = {1509.03005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1509.03005},
}
Figure