Quality-Diversity Actor-Critic: Learning High-Performing and Diverse Behaviors via Value and Successor Features Critics

Luca Grillotti, Maxence Faldor, Borja G. León, Antoine Cully

Quality-Diversity Actor-Critic: Learning High-Performing and Diverse Behaviors via Value and Successor Features Critics

Abstract

Standard reinforcement learning (RL) typically focuses on finding a single optimal policy for a given task. However, real-world applications often require a diverse repertoire of skills to handle unexpected changes or complex environments. This paper presents Quality-Diversity Actor-Critic (QDAC), a novel off-policy algorithm designed to learn a single, multi-talented policy capable of executing a wide range of high-performing behaviors. QDAC utilizes a dual-critic architecture: a quality critic to maximize rewards and a diversity critic, based on Successor Features, to ensure behavioral variety. By treating diversity as a constrained optimization problem, QDAC achieves superior performance and diversity compared to state-of-the-art methods across various locomotion tasks.

Introduction

In deep RL, agents are usually trained to maximize a scalar reward, often resulting in highly specialized but brittle behaviors. If an agent's environment changes—for instance, a robot suffers a mechanical failure—these specialized policies frequently fail. The field of Quality-Diversity (QD) seeks to mitigate this by discovering a large population of solutions that are both high-performing and behaviorally distinct.

Traditional QD methods often rely on evolutionary strategies, which can be sample-efficient and lack the precision to target specific behaviors in continuous spaces. The challenge lies in training a single neural network to master a continuous spectrum of diverse skills without compromising performance or requiring excessive environment interactions.

Methodology

QDAC addresses these challenges through an off-policy actor-critic framework with two specialized critics:

  1. The Quality Critic ($V$): A standard value function that estimates the expected return of an action.
  2. The Diversity Critic ($\psi$): This critic leverages Successor Features (SF) to predict the long-term "behavioral signature" of a policy. Instead of rewards, it predicts the discounted sum of future behavioral features.
Figure 1: (a) The QDAC architecture featuring dual critics for quality and diversity. (b, c) Snapshots of diverse locomotion behaviors learned by the agent.

The core innovation is framing the learning process as a constrained optimization problem. The actor aims to maximize quality (return) while being constrained to match a target skill $z$ (diversity). To balance these objectives, QDAC employs an automated Lagrange multiplier ($\lambda$). If the agent fails to match the requested skill, $\lambda$ increases to prioritize diversity; conversely, if the skill is matched well, $\lambda$ decreases to focus on performance. A model-based variant, QDAC-MB, further improves efficiency by using the DreamerV3 world model for imagined trajectories.

Experimental Setup

The authors evaluated QDAC on six continuous control locomotion tasks in the Google Brax physics engine, including Walker, Ant, and Humanoid. Diversity was defined through various feature functions:

  • Feet Contact: Proportion of time each foot touches the ground.
  • Velocity: Targeting specific 2D movement directions.
  • Jump: Targeting specific heights for the lowest foot.
  • Angle: Moving forward while maintaining specific body orientations.

Robustness was tested on perturbed environments such as Humanoid-Hurdles, Humanoid-Motor Failure (disabled knee), and Ant-Wall navigation.

Results and Discussion

QDAC demonstrated significant improvements over state-of-the-art baselines like PPGA and DCG-ME. Quantitatively, it achieved 15% more diverse behaviors and 38% higher performance across the tested tasks.

Figure 5: Comparison of QDAC and QDAC-MB against baselines on Distance (diversity) and Performance scores.

Key findings include:

  • Successor Features as Behavior Predictors: SFs provide a mathematically grounded mechanism for the critic to guide the actor toward desired behavioral signatures.
  • Constrained Optimization Effectiveness: Treating diversity as a constraint rather than a simple reward component prevents performance collapse and allows the agent to reach the edges of the skill space.
  • Robust Adaptation: In the "Motor Failure" scenario, QDAC-MB's diverse repertoire allowed the Humanoid to find alternative walking strategies, whereas standard agents failed.

Conclusion

QDAC represents a significant step forward in learning versatile, high-performing agents. While it currently relies on manually defined behavior descriptors, future work could explore unsupervised learning of these features. This would enable agents to autonomously discover interesting ways to interact with their environments, further enhancing their adaptability and intelligence.

Summary updated

BibTeX
@inproceedings{grillotti2024quality,
  author = {Luca Grillotti and Maxence Faldor and Borja G. León and Antoine Cully},
  title = {{Quality-Diversity Actor-Critic: Learning High-Performing and Diverse Behaviors via Value and Successor Features Critics}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=ISG3l8nXrI},
}
Figure