Skip to content

Review: Quality-Diversity Optimization: A Novel Branch of Stochastic Optimization

Citation

  • Chatzilygeroudis, K., Cully, A., Vassiliades, V. & Mouret, J.-B. (2021). Quality-Diversity Optimization: A Novel Branch of Stochastic Optimization. In P. M. Pardalos et al. (eds.), Black Box Optimization, Machine Learning, and No-Free Lunch Theorems, Springer Optimization and Its Applications 170, pp. 109–135. Springer.
  • DOI

Scope of this review

The source is a review chapter by four authors of the main quality-diversity algorithms. This review summarizes the whole chapter and then gives most space to three points that bear on Hifuku: how the chapter measures a QD algorithm, what it says about stopping one, and what it says about the selection of parents.

Abstract

The printed chapter has no abstract. The authors' abstract below is from the preprint of the chapter (arXiv:2012.04322).

Traditional optimization algorithms search for a single global optimum that maximizes (or minimizes) the objective function. Multimodal optimization algorithms search for the highest peaks in the search space that can be more than one. Quality-Diversity algorithms are a recent addition to the evolutionary computation toolbox that do not only search for a single set of local optima, but instead try to illuminate the search space. In effect, they provide a holistic view of how high-performing solutions are distributed throughout a search space. The main differences with multimodal optimization algorithms are that (1) Quality-Diversity typically works in the behavioral space (or feature space), and not in the genotypic (or parameter) space, and (2) Quality-Diversity attempts to fill the whole behavior space, even if the niche is not a peak in the fitness landscape. In this chapter, we provide a gentle introduction to Quality-Diversity optimization, discuss the main representative algorithms, and the main current topics under consideration in the community. Throughout the chapter, we also discuss several successful applications of Quality-Diversity algorithms, including deep learning, robotics, and reinforcement learning.


The chapter presents quality-diversity (QD) optimization as a branch of stochastic optimization in its own right. It states the QD problem, describes MAP-Elites and a framework that covers most QD algorithms, relates QD to novelty search, multimodal optimization and multitask optimization, and surveys five open topics: expensive objective functions, high-dimensional feature spaces, learned behavior descriptors, variation operators, and noisy functions.

The problem and its central hypothesis

An evaluation of a candidate \(\theta\) returns a fitness \(f_\theta\) and a behavioral descriptor \(b_\theta\). For every point \(b\) of the feature space \(\mathcal{B}\), the goal is the candidate of highest fitness among those whose descriptor is \(b\):

\[\forall b \in \mathcal{B}: \quad \theta^* = \arg\max_\theta f_\theta \quad \text{subject to} \quad b = b_\theta .\]

The outcome is a collection, also called an archive or a map, with one solution for each region of \(\mathcal{B}\) at a resolution the user sets. The authors name the central hypothesis of the field: the set of constrained problems is solved faster together than one by one, because high-performing solutions for nearby descriptors tend to be near each other, and because a candidate with the wrong descriptor for one problem is kept for another.

Measures of a QD algorithm

Section 2.2 judges the collection on two criteria. The first is performance, computed as the mean, the median or the sum of the fitness values in the collection. The second is coverage, the fraction of the bins of a discretized feature space that are filled, or a density measure in a feature space of high dimension. Section 5.2 names the number of filled bins and the QD-score of Pugh et al. (2016) as the quantitative measures that a grid makes available.

Stopping a quality-diversity run at a fixed budget

The framework of Section 3.2 repeats four steps (select, evaluate, add to the container, update the scores) "until a stopping criterion is reached (typically, a maximum number of iterations)". Section 5.1 gives the scale of a typical run: MAP-Elites "is typically given a budget of 20 million evaluations" to find about 15,000 gaits for a six-legged robot. The chapter gives no rule that detects when a run has finished. Like Mouret and Clune (2015) and Pugh et al. (2016), it treats the length of a run as a budget that the user chooses.

Selection of parents

MAP-Elites selects each parent uniformly at random from the elites in the container. Section 3.3 reports that this operator is very effective in both grid and distance-based containers. Section 5.4 states its cost: "the selective pressure (i.e., the probability of a solution to be selected) induced by this mechanism is inversely proportional to the number of solutions in the collection, which can make this approach less appropriate for the generation of large collections." The chapter then describes alternatives that bias selection, among them the curiosity score and the emitters of CMA-ME (Fontaine et al. 2020), which run as independent processes that share one archive.

Section 3.3 also reports that novelty search with local competition is less effective than the instances that evolve the whole collection, and the authors read this as evidence that "evolving the whole collection of solutions is more effective than splitting it in multiple populations".

Noisy functions

Section 5.5 treats domains in which the fitness or the descriptor of a solution is noisy, so that a solution can be placed in the wrong cell or kept for a fitness it does not have. The remedies it describes are repeated evaluation, adaptive sampling (Justesen et al.) and a grid that keeps several solutions per cell (Flageat and Cully). The section concerns noise in single evaluations, not variation between runs.

Relevance to Hifuku

Hifuku draws each parent uniformly from the occupied niches of its archive, on the host and on the device, as MAP-Elites does, so the statement of Section 5.4 applies to it directly. With \(N\) filled niches, an elite is a parent with probability \(1/N\) per variation. The expected number of variations spent on a niche filled at \(v_0\) is then \(\int_{v_0}^{v} dv'/N(v')\) by the time the survey reaches \(v\), which grows more slowly than \(v - v_0\) while the archive grows. A measure of how fast the archive improves per unit of total variations therefore mixes two effects: the settling of the landscape, and the dilution of effort over a growing archive. A halt that reads the growth of the QD-score against total variations attributes part of the dilution to settling.

Section 3.3 bears on any design that splits the walkers of one survey into independent pools with separate archives, for example to compare them during a run. By the central hypothesis of the chapter and its finding on split populations, such pools give up the sharing of elites that makes a single collection efficient. The cost of that loss has to be weighed against what the comparison between pools would show.

The chapter's section on noise does not apply to Hifuku's likelihoods, which are deterministic. It also confirms that the field leaves the length of a run to a budget: a halt rule for Hifuku must be justified on its own terms, not taken from this literature.