Benchmarking Quality-Diversity Algorithms on Neuroevolution for Reinforcement Learning

Manon Flageat, Bryan Lim, Luca Grillotti, Maxime Allard, Simón C. Smith, Antoine CullyarXiv 2022 · DOI

Introduction

Quality-Diversity (QD) algorithms, such as MAP-Elites, aim to find a large collection of solutions that are both high-performing and behaviorally diverse. While they have shown great promise in robotics, applying them to Deep Neuroevolution—where the "genome" consists of thousands or millions of neural network weights—presents two major hurdles: high-dimensionality and environmental stochasticity. Searching through massive parameter spaces is computationally expensive, and noisy Reinforcement Learning (RL) environments can lead algorithms to favor "lucky" solutions that perform poorly on average.

This paper introduces a standardized benchmark suite for QD algorithms applied to deep neuroevolution in RL, providing a unified set of tasks, environments, and "corrected" metrics to rigorously compare algorithmic performance.

The QD Benchmark Suite

The proposed benchmark is built on QDax, an open-source library that leverages the Brax physics engine. Because Brax is JAX-based and runs on hardware accelerators (GPUs/TPUs), it allows for massive parallelization, enabling millions of evaluations in minutes.

Benchmark Environments

The suite includes six robotic environments of varying complexity, ranging from simple 2D planar models to complex 3D systems.

The benchmark includes six environments of varying complexity, categorized into uni-directional and omni-directional tasks.

The benchmark defines two main task types:

  • Uni-directional tasks: The goal is to find diverse ways to walk forward as fast as possible, with diversity measured by the "duty cycle" of the feet.
  • Omni-directional tasks: The goal is to reach as many different (x, y) coordinates as possible.

Evaluation Metrics and the Archive Profile

Beyond standard metrics like Coverage (how many niches are filled) and QD-Score (the sum of fitness across all niches), the authors introduce:

  • Archive Profiles: A visualization tool that plots coverage against a fitness threshold. This reveals the trade-off between the quantity of solutions and their quality, providing a much richer "fingerprint" of an archive's health than a single number.
  • Corrected Metrics: To combat stochasticity, the authors re-evaluate final solutions 50 times. This "Correction" filters out "lucky" solutions and provides a truer estimate of an algorithm's performance in noisy environments.

Key Insights: The "Lucky" Outlier Problem

A primary finding of the research is that standard QD algorithms are highly susceptible to noise. In experiments, MAP-Elites and CVT-MAP-Elites saw an 80% drop in QD-score and Coverage when moving from raw metrics to "corrected" metrics.

Loss metrics showing the significant performance drop (approx. 80%) when raw scores are corrected for environmental stochasticity.

Interestingly, simple Random Search showed much lower "loss" when corrected for noise. This is because it doesn't actively select for the "lucky" high-performers that QD algorithms tend to over-fit to. This highlights that robustness to noise remains a significant unsolved challenge in deep neuroevolution.

Conclusion and Future Work

By providing a standardized "ImageNet-style" benchmark, this work offers a rigorous framework for the QD community. While the current suite focuses on locomotion, future versions may include manipulation tasks. The identification of the massive performance drop due to stochasticity sets the stage for the development of next-generation, "noise-aware" QD algorithms.

Summary updated

BibTeX
@misc{flageat2022benchmarking,
  author = {Manon Flageat and Bryan Lim and Luca Grillotti and Maxime Allard and Simón C. Smith and Antoine Cully},
  title = {{Benchmarking Quality-Diversity Algorithms on Neuroevolution for Reinforcement Learning}},
  year = {2022},
  eprint = {2211.02193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.02193},
}
Figure