Abstract
Quality-Diversity (QD) algorithms like MAP-Elites are powerful tools for finding diverse, high-performing solutions, but their effectiveness is often limited by the manual definition of behavior spaces. We present Quality-Diversity Meta-Evolution (QD-Meta), a framework that automates the design of these spaces by evolving them toward a specific meta-objective. By utilizing CMA-ES to evolve neural network feature maps and a database-driven rapid population technique, QD-Meta produces archives that adapt faster and achieve higher performance than state-of-the-art unsupervised methods. Our results on robot locomotion and complex optimization tasks demonstrate that tailoring diversity to a meta-objective significantly enhances robustness and generalization.
Introduction
Quality-Diversity (QD) algorithms aim to populate an archive with solutions that are both high-performing and behaviorally distinct. A critical component of these algorithms is the "behavior space," which defines the dimensions of diversity. Traditionally, these spaces are hand-crafted by researchers, creating a significant bottleneck. If the space is too high-dimensional, the search becomes intractable; if poorly defined, the resulting diversity may be irrelevant to the task at hand.
While unsupervised methods like AURORA attempt to automate behavior space definition, they do not account for specific user goals. QD-Meta addresses this by customizing behavior spaces based on a user-defined meta-objective, such as robustness to environmental changes or physical damage.
Methodology
The core of QD-Meta is a meta-evolutionary loop that evolves a population of QD algorithms.
The Meta-Evolutionary Cycle
The system employs the Covariance Matrix Adaptation Evolutionary Strategy (CMA-ES) to evolve "meta-genotypes," which are the weights of a neural network. This network functions as a non-linear feature map, projecting high-dimensional raw data (e.g., robot trajectories) into a low-dimensional behavior space.
The process follows four main steps:
- Sampling: CMA-ES samples meta-genotypes (neural network weights).
- Initialization: Each meta-genotype defines a new behavior space. To ensure efficiency, these spaces are "rapidly populated" using a large database of previously discovered solutions.
- Evaluation: MAP-Elites iterations are performed to refine the archive, which is then evaluated against the meta-fitness objective.
- Update: CMA-ES updates its distribution based on the meta-fitness scores.
To balance exploration and evaluation, the algorithm uses Reinforcement Learning (SARSA) to dynamically control the number of iterations for each QD algorithm.
Experimental Evaluation
We evaluated QD-Meta across two distinct domains: the multi-modal Rastrigin function and the RHex hexapod robot locomotion task. In the RHex domain, the meta-objective was to find gaits robust to various leg damages and environmental obstacles (e.g., stairs, pipes).
Results and Discussion
QD-Meta demonstrated significant improvements over baselines like CVT-MAP-Elites and AURORA.
Tailored Diversity and Performance
Unlike unsupervised methods that capture all behavioral variance, QD-Meta focuses on variance that satisfies the meta-objective. In robot experiments, QD-Meta produced smaller but more effective archives. These solutions exhibited higher average fitness and superior adaptation capabilities when the robot encountered unknown environmental changes or physical damage.
Generalization and Robustness
In the Rastrigin benchmark, QD-Meta achieved an average fitness of -100, compared to -170 for CVT-MAP-Elites and -300 for AURORA. Furthermore, the archives showed a "generalization bonus," where solutions performed well in test scenarios not encountered during the evolution phase.
Conclusion
QD-Meta successfully automates the customization of behavior spaces, leading to more robust and adaptable solution sets. While the computational cost of meta-evolution remains high—requiring hundreds of CPU hours for complex simulations—the benefits in performance and generalization are substantial. Future work will focus on scaling to higher-dimensional inputs like raw pixel streams and optimizing database management to further reduce computational overhead.
Summary updated