Skip to main content
QUICK REVIEW

[Paper Review] Diversity Policy Gradient for Sample Efficient Quality-Diversity Optimization

Thomas Pierrot, Mac\'e, Valentin|arXiv (Cornell University)|Jun 15, 2020
Reinforcement Learning in RoboticsComputer Science37 references13 citations
TL;DR

This paper introduces qd-pg, a novel Quality-Diversity algorithm that combines policy gradient methods with a new Diversity Policy Gradient (DPG) to enable sample-efficient discovery of diverse, high-performing neural policies in continuous control environments. By leveraging gradient-based mutations at the state and episode levels, qd-pg achieves significantly higher sample efficiency and robustness than evolutionary and policy gradient baselines on deceptive, sparse-reward control tasks.

ABSTRACT

A fascinating aspect of nature lies in its ability to produce a large and diverse collection of organisms that are all high-performing in their niche. By contrast, most AI algorithms focus on finding a single efficient solution to a given problem. Aiming for diversity in addition to performance is a convenient way to deal with the exploration-exploitation trade-off that plays a central role in learning. It also allows for increased robustness when the returned collection contains several working solutions to the considered problem, making it well-suited for real applications such as robotics. Quality-Diversity (QD) methods are evolutionary algorithms designed for this purpose. This paper proposes a novel algorithm, QDPG, which combines the strength of Policy Gradient algorithms and Quality Diversity approaches to produce a collection of diverse and high-performing neural policies in continuous control environments. The main contribution of this work is the introduction of a Diversity Policy Gradient (DPG) that exploits information at the time-step level to drive policies towards more diversity in a sample-efficient manner. Specifically, QDPG selects neural controllers from a MAP-Elites grid and uses two gradient-based mutation operators to improve both quality and diversity. Our results demonstrate that QDPG is significantly more sample-efficient than its evolutionary competitors.

Motivation & Objective

  • Address the exploration-exploitation trade-off in reinforcement learning by promoting diversity in solutions, not just performance.
  • Overcome the limitations of standard policy gradient methods in deceptive environments where sparse or misleading rewards trap learning.
  • Improve sample efficiency in Quality-Diversity (QD) optimization by replacing random mutations with gradient-based diversity search.
  • Enable robust, multi-solution outcomes in real-world robotics applications by generating diverse, high-performing policies in a single training run.
  • Demonstrate that combining quality and diversity objectives via disentangled updates leads to better performance and exploration than joint optimization.

Proposed method

  • Propose a Diversity Policy Gradient (DPG) that computes gradients not only on policy performance but also on behavioral diversity at the state and episode levels.
  • Integrate DPG into the MAP-Elites framework, using a behavior descriptor (BD) to map policies to a grid of diverse behaviors.
  • Use a replay buffer to re-use transitions multiple times, improving data efficiency compared to one-sample-per-trajectory methods.
  • Apply two separate gradient updates: one for quality (standard policy gradient) and one for diversity (DPG), with disentangled optimization to avoid gradient conflict.
  • Leverage state-level novelty by measuring diversity in the state space, allowing the algorithm to exploit all 3000+ transitions per episode in tasks like Ant-Maze.
  • Train neural policies using off-policy reinforcement learning, enabling efficient weight updates based on analytical gradients rather than random perturbations.

Experimental results

Research questions

  • RQ1Can a gradient-based diversity search mechanism outperform random mutations in quality-diversity optimization for high-dimensional control tasks?
  • RQ2Does combining quality and diversity objectives via disentangled policy gradients lead to better sample efficiency and solution diversity than joint optimization?
  • RQ3How does qd-pg compare to state-of-the-art policy gradient and evolutionary methods in solving deceptive control problems with sparse rewards?
  • RQ4To what extent does the use of state-level novelty in the DPG component improve exploration and convergence in complex environments?
  • RQ5Can the proposed method generate robust, diverse, and high-performing policies in a single training run, even when standard RL methods fail?

Key findings

  • qd-pg achieves significantly higher sample efficiency than traditional evolutionary QD methods, reducing sample requirements by several orders of magnitude.
  • On deceptive environments like Ant-Trap and Ant-Maze, qd-pg successfully discovers high-performing, diverse policies where standard policy gradient methods (e.g., TD3, SAC) converge to local minima.
  • qd-pg outperforms pga-me in both final performance and data efficiency, demonstrating the superiority of gradient-based diversity search over genetic mutations in high-dimensional spaces.
  • The ablation study confirms that optimizing only for quality fails in deceptive environments due to reward traps, while optimizing only for diversity leads to slower convergence and lower performance.
  • Disentangling quality and diversity updates leads to better learning dynamics and final outcomes than joint optimization, which suffers from conflicting gradients.
  • In Ant-Maze, qd-pg shows high interquartile performance spread, indicating that the learning process can be unstable at times, possibly due to initialization sensitivity or complex landscape dynamics.

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.