Sample-Efficient Quality-Diversity by Cooperative Coevolution

Ke Xue, Ren-Jian Wang, Pengyi Li, Dong Li, Jianye Hao, Chao Qian

Introduction

In the realm of Reinforcement Learning (RL), Quality-Diversity (QD) algorithms aim for an ambitious goal: discovering a vast archive of solutions that are both high-performing and fundamentally diverse (e.g., finding ten distinct ways a robot can walk). However, QD is notoriously "sample-hungry." Filling an archive with thousands of diverse policies often requires millions of environment interactions. This inefficiency stems from the massive optimization space—optimizing thousands of parameters for thousands of different individuals simultaneously.

The authors of this paper identify a crucial bottleneck: while we desire diverse behaviors, many of these solutions likely share common underlying knowledge about the environment. Relearning this shared knowledge from scratch for every single individual is highly inefficient. To address this, they introduce Cooperative Coevolution Quality-Diversity (CCQD), a framework that dramatically improves sample efficiency by decomposing neural network policies.

The CCQD Framework: A "Divide and Conquer" Strategy

The core idea behind CCQD is a "divide and conquer" approach that mirrors how neural networks naturally process information.

CCQD Framework Architecture

The framework operates on the following key principles:

  1. Decomposition: A policy network is split into two distinct parts: Representation layers (the front-end that processes state information) and Decision layers (the back-end that chooses actions).
  2. Two Sub-populations: Instead of maintaining one massive population of full networks, CCQD maintains a small pool of representation parts (e.g., 20) and a large pool of decision parts (e.g., 1024).
  3. Cooperative Coevolution: During the evolutionary process, a "complete" policy is formed by randomly pairing a decision part with a representation part.
  4. Advanced Critics: Because the representation pool is small, CCQD assigns each representation its own "critic" network to evaluate performance. Using a Policy-extended Value Function Approximator (PeVFA), these critics generalize better across the many different decision parts they might be paired with, significantly alleviating the off-policy bias common in standard QD-RL.

By sharing a small set of representations across a large set of diverse decision-makers, the algorithm simplifies the search space without sacrificing the diversity of the final behaviors.

Experimental Setup and Key Results

The researchers evaluated CCQD using the QDAX suite, a standard benchmark for hardware-accelerated QD algorithms. The tasks spanned unidirectional locomotion (Hopper, Walker2D, HalfCheetah, Ant), omnidirectional movement (Humanoid), and navigation challenges (Point Maze, Ant Maze).

Training Curves across QDAX Environments

The results demonstrate a massive leap in performance:

  • 200% Efficiency Gain: CCQD achieved roughly double the sample efficiency of state-of-the-art baselines like PGA-ME. The training curves show CCQD rapidly outpacing competitors in early time steps.
  • Superior QD-Score and Coverage: Across almost all environments, CCQD reached a higher total archive quality (QD-Score) and better coverage of the behavior space.
  • The "Representation Bottleneck" Solved: The experiments validate the core hypothesis: you don't need 1,024 different ways to "see" the environment to have 1,024 different ways to "act" in it. A small, high-quality pool of representations is sufficient.
  • Robustness: Ablation studies confirmed that the framework is robust to different decomposition strategies, such as altering the "split point" between representation and decision layers.

Limitations and Future Directions

While the empirical results are highly promising, the authors note a few areas for future exploration:

  • Theoretical Foundations: The paper is primarily empirical. A rigorous theoretical analysis explaining why this specific decomposition excels in a coevolutionary context remains an open challenge.
  • Automated Decomposition: Currently, the "split point" in the neural network is a user-defined hyperparameter. Future iterations could benefit from mechanisms that automatically determine the optimal layer to divide representation and decision parts.
  • Storage Efficiency: Though not the primary focus, sharing representations could eventually lead to drastically smaller file sizes for large policy archives, removing a major bottleneck for deploying QD algorithms in real-world scenarios.

Summary updated

BibTeX
@inproceedings{xue2024sample,
  author = {Ke Xue and Ren-Jian Wang and Pengyi Li and Dong Li and Jianye HAO and Chao Qian},
  title = {{Sample-Efficient Quality-Diversity by Cooperative Coevolution}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=JDud6zbpFv},
}
Figure