Distributed Distributional Deterministic Policy Gradients

Gabriel Barth-Maron, Matthew W. Hoffman, David Budden, Will Dabney, Dan Horgan, Dhruva Tb, Alistair Muldal, Nicolas Heess, Timothy P. Lillicrap

TL;DR

This paper introduces D4PG, a novel reinforcement learning algorithm that combines a distributional approach to value function estimation with a distributed, off-policy learning framework. D4PG achieves state-of-the-art performance on a wide range of challenging continuous control tasks, demonstrating the effectiveness of its combined enhancements.

What Problem Does This Paper Address?

Reinforcement learning (RL) has shown remarkable success in domains like game playing, but applying it to real-world robotics and control tasks with continuous action spaces has been challenging. Traditional methods like Deep Q-Networks (DQN) are limited to discrete actions. While algorithms like Deep Deterministic Policy Gradient (DDPG) handle continuous actions, they can struggle with stability and sample efficiency. This paper aims to improve RL performance in continuous control by addressing these limitations, specifically by enhancing the critic's learning signal and leveraging distributed computation for more efficient data collection.

Methods

The core of this work is the Distributed Distributional Deep Deterministic Policy Gradient (D4PG) algorithm. It builds upon DDPG by incorporating several key innovations:

  • Distributional Critic: Instead of estimating the expected return (value function), D4PG estimates the entire distribution of returns. This provides a richer, more stable learning signal for the critic, which in turn leads to better policy updates. This is inspired by the distributional Bellman equation.
  • Distributed Actors: To improve data efficiency and speed up learning, D4PG employs multiple parallel "actors" that collect experience from the environment and store it in a shared replay buffer. This is implemented using the ApeX framework.
  • N-step Returns: The algorithm utilizes N-step returns to estimate the TD error. This allows the critic to learn from longer horizons of future rewards, potentially leading to more informed updates.
  • Prioritized Experience Replay: Transitions in the replay buffer are sampled non-uniformly, prioritizing those with higher TD errors. This helps the agent focus on learning from more informative experiences.

Datasets

The paper evaluates D4PG on several benchmark suites:

  • MuJoCo Control Suite: A collection of physics-based control tasks developed in the MuJoCo simulator, including simple tasks like "acrobot" and "cartpole," as well as more complex "humanoid" locomotion.
  • Dexterous Manipulation Tasks: Simulated tasks using a MuJoCo model of the Johns Hopkins Modular Prosthetic Limb hand, involving catching, picking up, and orienting objects.
  • Parkour Domain: A challenging locomotion task involving a simplified robotic walker navigating obstacles.

No new benchmarks were introduced; existing, well-established suites were used.

Key Insights and Ideas

  • Distributional RL is Key for Continuous Control: The paper strongly suggests that estimating the distribution of returns, rather than just its expectation, is crucial for stable and effective learning in continuous action spaces. This is a significant takeaway, as it directly addresses a known weakness of prior DDPG variants.
  • Distributional Updates Improve Critic Stability: The distributional critic provides a more robust learning signal, which directly translates to better gradients for the actor and thus improved policy learning.
  • Distributed Actors Dramatically Speed Up Learning: The use of multiple parallel actors, writing to a shared replay buffer, significantly reduces wall-clock time for training, making complex RL tasks more tractable.
  • N-step Returns Offer a Consistent Benefit: The N-step return mechanism consistently improved performance across various tasks, highlighting its general utility in RL.
  • Prioritization's Role is Nuanced: While prioritization helped some variants (like D3PG), its benefit for the full D4PG algorithm was less pronounced, and in some cases, it could even lead to instability in manipulation tasks. This suggests that the distributional and distributed components might already provide much of the necessary stability and efficiency.

Key Results

D4PG consistently achieved state-of-the-art performance across all tested domains, including simple control, difficult manipulation, and obstacle-based locomotion.

  • Overall Performance: The full D4PG algorithm (with distributional critic, distributed actors, N-step returns, and prioritization) outperformed all its ablations and the baseline DDPG algorithm.
  • Impact of Components:
    • The distributional update provided a significant performance gain, especially on harder tasks.
  • N-step returns (specifically N=5) were uniformly better than N=1 and contributed to improved performance and stability.
  • Prioritization showed mixed results: it was beneficial for D3PG (non-distributional) but less so for D4PG, and could even cause instability in manipulation tasks.
  • Efficiency: The distributed actor setup drastically reduced wall-clock training time.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper explores some hyperparameters, the performance of D4PG, like most RL algorithms, is likely sensitive to the choice of learning rates, network architectures, and other settings.
  • Prioritization's Role: The paper notes that prioritization's benefit for D4PG was less clear than for D3PG, and it could even lead to instability. Further investigation into how prioritization interacts with distributional RL and distributed learning could be valuable.
  • Mixture of Gaussians: The paper briefly explored a Mixture of Gaussians (MoG) distribution for the critic but found it underperformed the Categorical distribution. Further exploration of different distributional parameterizations could be a future direction.
  • Generalization: While D4PG performs well on the tested benchmarks, its generalization to entirely novel environments or tasks remains an open question.

Summary updated

BibTeX
@inproceedings{barthmaron2018distributed,
  author = {Gabriel Barth-Maron and Matthew W. Hoffman and David Budden and Will Dabney and Dan Horgan and Dhruva TB and Alistair Muldal and Nicolas Heess and Timothy P. Lillicrap},
  title = {{Distributed Distributional Deterministic Policy Gradients}},
  booktitle = {International Conference on Learning Representations},
  year = {2018},
  url = {https://openreview.net/forum?id=SyZipzbCb},
}
Figure