Uncertain Quality-Diversity: Evaluation Methodology and New Methods for Quality-Diversity in Uncertain Domains

Manon Flageat, Antoine Cully

TL;DR

Standard Quality-Diversity (QD) algorithms are easily fooled by "lucky" outliers in noisy environments, leading to archives full of sub-performing solutions. This paper formalizes the Uncertain QD setting and introduces three new algorithms that leverage hardware acceleration to robustly identify high-quality, diverse solutions through strategic re-sampling.

What Problem Does This Paper Address?

Quality-Diversity (QD) optimization aims to find a large collection of solutions that are both high-performing (quality) and behaviorally different (diversity). The most famous example is MAP-Elites, which maintains a grid (archive) of the best solutions found for every possible behavior.

However, most QD algorithms assume a "deterministic" world. In reality, robotics and simulations are often uncertain: a robot might fall because of a random sensor glitch or a slightly different starting position, not because its control software is bad. Conversely, a mediocre controller might "get lucky" once and achieve a high score.

Because standard QD algorithms are elitist—they only replace an existing solution if a new one performs better—they tend to get stuck with these "lucky" outliers. These outliers occupy space in the archive, preventing the algorithm from finding truly robust, high-performing solutions.

Methods

The authors propose a formal framework for Uncertain QD, where fitness and behavior descriptors are treated as distributions rather than fixed values. To solve this, they introduce three new approaches designed to work with modern, hardware-accelerated simulators (like Brax) that can run thousands of evaluations in parallel:

  1. Archive-sampling: Instead of just sampling new offspring, this algorithm periodically re-evaluates the solutions already in the archive. If an "elite" fails to replicate its past success, it is removed or updated, effectively pruning "lucky" solutions.
  2. Parallel-Adaptive-sampling: A more sophisticated version of the above that dynamically adjusts the number of evaluations based on how "certain" the algorithm is about the current archive.
  3. Deep-Grid-sampling: This builds on "Deep-Grid" (which stores multiple solutions per cell) by adding explicit re-sampling to get more accurate estimates of a solution's true average performance.

Crucially, the authors introduce a new evaluation metric: the Corrected Archive. To see how well an algorithm actually did, they take the final archive and re-evaluate every solution 512 times to find its true median performance, stripping away the "luck" factor.

Datasets

The researchers benchmarked their methods on a suite of four robotic simulation tasks provided by the Brax simulator:

  • Arm: A simple robotic arm task.
  • Hexapod: A six-legged robot learning to walk.
  • Walker & Ant: More complex, closed-loop locomotion tasks.

These tasks were modified to include two types of uncertainty: Gaussian noise on fitness/descriptors (simulating noisy sensors) and initial state noise (simulating different starting conditions), which is particularly challenging for closed-loop controllers.

Key Insights and Ideas

  • The Elitism Trap: In uncertain domains, the very thing that makes QD powerful—keeping the best—becomes its Achilles' heel. Without a way to "question" the archive, the algorithm becomes a collector of flukes.
  • Hardware Acceleration Changes the Strategy: Historically, re-evaluating solutions was considered too "expensive." The authors argue that with GPUs and TPUs, we can now afford to "brute force" uncertainty through high-volume sampling.
  • Sampling-Size vs. Batch-Size: The paper argues that we should compare algorithms based on a total "sampling budget" per generation. If Algorithm A evaluates 100 solutions once, and Algorithm B evaluates 10 solutions 10 times, they should be treated as having the same computational cost.
  • Median > Mean: The authors found that using the median of multiple evaluations is a more robust way to estimate a solution's true quality in noisy environments than the standard average.

Key Results

  • MAP-Elites Fails: Standard MAP-Elites was consistently the worst performer, confirming that it is highly vulnerable to noise.
  • Deep-Grid for Simple Noise: For tasks with simple Gaussian noise (Arm, Hexapod), Deep-Grid and its sampling variant were the most efficient.
  • Sampling for Complex Tasks: In the more difficult Walker and Ant tasks, Archive-sampling and Parallel-Adaptive-sampling significantly outperformed the baselines. They were better at finding solutions that were truly reproducible, not just lucky.
  • Pareto Efficiency: The authors visualized the trade-off between "Time to Convergence" and "Corrected QD-Score," showing that their new methods provide a much better balance of speed and robustness than previous approaches.

Limitations and Future Work

While hardware acceleration makes these sampling-heavy methods feasible, the evaluation cost is still high. Re-evaluating the archive 512 times for the "Corrected Archive" metric is computationally expensive and only possible in simulation.

The authors also noted that they excluded gradient-augmented QD (like MAP-Elites-ES) because those methods require a massive number of evaluations per offspring. However, they suggest that combining gradient-based search with their uncertain-domain sampling strategies could be a powerful direction for high-dimensional robotics problems. Finally, they suggest exploring the geometric median for even more robust behavior descriptor estimation in the future.

Summary updated

BibTeX
@article{flageat2024uncertain,
  author = {Manon Flageat and Antoine Cully},
  title = {{Uncertain Quality-Diversity: Evaluation Methodology and New Methods for Quality-Diversity in Uncertain Domains}},
  journal = {IEEE Trans. Evol. Comput},
  year = {2024},
  doi = {10.1109/tevc.2023.3273560},
}

Loading related content...

Figure