Skip to main content
QUICK REVIEW

[Paper Review] Effective Diversity in Population Based Reinforcement Learning

Jack Parker-Holder, Aldo Pacchiano|arXiv (Cornell University)|Feb 3, 2020
Reinforcement Learning in RoboticsComputer Science64 references46 citations
TL;DR

DvD introduces Diversity via Determinants to optimize population-wide behavioral diversity in RL by using task-agnostic behavioral embeddings and a determinant-based diversity objective, with ES and TD3 implementations and adaptive diversity trading.

ABSTRACT

Exploration is a key problem in reinforcement learning, since agents can only learn from data they acquire in the environment. With that in mind, maintaining a population of agents is an attractive method, as it allows data be collected with a diverse set of behaviors. This behavioral diversity is often boosted via multi-objective loss functions. However, those approaches typically leverage mean field updates based on pairwise distances, which makes them susceptible to cycling behaviors and increased redundancy. In addition, explicitly boosting diversity often has a detrimental impact on optimizing already fruitful behaviors for rewards. As such, the reward-diversity trade off typically relies on heuristics. Finally, such methods require behavioral representations, often handcrafted and domain specific. In this paper, we introduce an approach to optimize all members of a population simultaneously. Rather than using pairwise distance, we measure the volume of the entire population in a behavioral manifold, defined by task-agnostic behavioral embeddings. In addition, our algorithm Diversity via Determinants (DvD), adapts the degree of diversity during training using online learning techniques. We introduce both evolutionary and gradient-based instantiations of DvD and show they effectively improve exploration without reducing performance when better exploration is not required.

Motivation & Objective

  • Motivate exploration in RL by leveraging a population of diverse agents to collect varied experiences.
  • Replace pairwise distance-based diversity with a determinant-based diversity measure over behavioral embeddings.
  • Develop adaptive mechanisms (via Thompson sampling) to balance reward and diversity during training.
  • Provide two practical implementations (DvD-ES and DvD-TD3) demonstrating improved exploration and performance.
  • Show that diversity-promoting updates do not harm performance when exploration is not needed.

Proposed method

  • Define task-agnostic behavioral embeddings as policy actions across a set of states: phi(theta^i) = {pi_theta^i(·|s)}_s in S.
  • Measure population diversity with Det(K(phi(theta^i),phi(theta^j))) where K is a positive semidefinite kernel over embeddings.
  • Optimize the joint objective J(Theta) = sum_i E[R(tau) for pi_theta^i] + lambda_t * Div(Theta) and adapt lambda_t online via Thompson sampling.
  • Introduce two instantiations: DvD-ES (Evolution Strategies with joint diversity term) and DvD-TD3 (off-policy TD3 with differentiable diversity gradient).
  • Provide theoretical justification that maximizing the determinant recovers diverse high-performing solutions (Theorem 3.3) and discuss first-order relation to mean pairwise distance for SE kernels.
  • Use adaptive sampling of states to compute embeddings and conduct ablations on kernel choices, state sampling, and adaptive mechanism.

Experimental results

Research questions

  • RQ1Can determinant-based diversity promote exploration without causing harmful cycling or redundancy in a population of RL agents?
  • RQ2Does maximizing population diversity via determinants yield diverse, high-performing policies across multi-modal tasks?
  • RQ3Can we effectively adapt the diversity-reward trade-off online to balance exploration and exploitation?
  • RQ4Do DvD-ES and DvD-TD3 maintain performance when diversity is not required?
  • RQ5How sensitive is DvD to kernel choice and embedding sampling?

Key findings

  • DvD enables solving explore tasks where vanilla ES and novelty-based ES fail (e.g., wall-enclosed goal navigation).
  • On multi-modal tasks (Cheetah, Ant) DvD learns diverse high-performing behaviors across modes.
  • In OpenAI Gym single-mode tasks, DvD minimizes performance loss compared to vanilla ES and outperforms novelty-driven NSR-ES by avoiding cycling.
  • In Humanoid-v2, DvD-TD3 achieves superior sample efficiency and final performance (median best ~6091 vs 5654 E-TD3) within 1M timesteps, surpassing prior methods.
  • Adaptive lambda_t improves performance across environments over fixed settings.
  • Kernel sensitivity experiments show most kernels deliver strong performance similar to SE, indicating robustness to kernel choice.
  • DvD-TD3 demonstrates over 6000 reward on Humanoid-v2 (forward locomotion) in 1M steps, indicating practical gains for off-policy population methods.

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.