Skip to content

Review: Quality Diversity: A New Frontier for Evolutionary Computation

Citation

  • Pugh, J. K., Soros, L. B. & Stanley, K. O. (2016). Quality Diversity: A New Frontier for Evolutionary Computation. Frontiers in Robotics and AI 3:40.
  • DOI

Abstract

While evolutionary computation and evolutionary robotics take inspiration from nature, they have long focused mainly on problems of performance optimization. Yet, evolution in nature can be interpreted as more nuanced than a process of simple optimization. In particular, natural evolution is a divergent search that optimizes locally within each niche as it simultaneously diversifies. This tendency to discover both quality and diversity at the same time differs from many of the conventional algorithms of machine learning, and also thereby suggests a different foundation for inferring the approach of greatest potential for evolutionary algorithms. In fact, several recent evolutionary algorithms called quality diversity (QD) algorithms (e.g., novelty search with local competition and MAP-Elites) have drawn inspiration from this more nuanced view, aiming to fill a space of possibilities with the best possible example of each type of achievable behavior. The result is a new class of algorithms that return an archive of diverse, high-quality behaviors in a single run. The aim in this paper is to study the application of QD algorithms in challenging environments (in particular complex mazes) to establish their best practices for ambitious domains in the future. In addition to providing insight into cases when QD succeeds and fails, a new approach is investigated that hybridizes multiple views of behaviors (called behavior characterizations) in the same run, which succeeds in overcoming some of the challenges associated with searching for QD with respect to a behavior characterization that is not necessarily sufficient for generating both quality and diversity at the same time.


The paper sets out quality diversity (QD) as a search goal of its own, apart from optimization, and gives the field a common measure of how well a run meets that goal. It compares fifteen treatments, built from novelty search, novelty search with local competition (NSLC) and MAP-Elites, on three maze navigation tasks of increasing deception, with twenty runs of each treatment.

The goal of quality diversity

The authors define the goal of QD as a maximally diverse collection of individuals, with respect to a space of possible behaviors, in which each member performs as well as possible. The behavior space is divided into \(t\) niches \(\{N_1, \dots, N_t\}\) that together cover it, and the task is to maximize a quality measure \(Q\) within every niche. One statement in their Section 1 carries weight for any summary of a run: "all parts of the behavior space are considered equally important". They contrast QD with approaches that "assign priority to higher-performing regions", and keep the term diverse quality for methods in which quality takes priority over diversity. A reading of the two together is that a QD algorithm must not drive search away from regions of lower performance. For a niche where no point has been found, they set \(Q_i = 0\) (their footnote 2).

The QD-score

The paper's main contribution to measurement is the QD-score, which it introduces from the authors' earlier conference paper and relates to the global reliability of Mouret and Clune (2015). After the run, the behavior space is divided into \(t\) bins, here \(t = 1024\), and the score is the sum of the highest fitness found in each bin:

\[\text{QD-score} = \sum_{i=1}^{t} Q_i .\]

The single number rewards both kinds of progress at once: filling a new bin adds its fitness, and improving the elite of a filled bin raises its term. Two details of their use of the score matter when it is carried to another domain. The fitness summed is a measure fixed for the analysis, not the fitness that drives the search: in the mazes it comes from a flood fill out from the goal, so that a solution scores 1000 and the score falls linearly with each layer of the fill. And an empty bin contributes zero. The paper does not discuss the choice, but the sum is only meaningful when zero is a value no filled bin falls below.

Results on the mazes, and a run length set by budget

On the two harder mazes, every treatment that drives search only with a behavior characterization unaligned with quality reaches the goal less often than plain fitness search. Hybrids driven by an aligned and an unaligned characterization at once are among the highest QD-scores on all three mazes. The QD-score over evaluations (their Figure 9) rises quickly and then flattens to a plateau, at a different level for each treatment.

The paper defines no stopping rule. Every run stops at a fixed budget of evaluations, 250,000 on the small maze and 1,000,000 on the gauntlets, chosen as more than enough for all algorithms to reach a performance plateau. The plateau of the QD-score is observed in the figures, not tested. The paper also does not address a fitness that can be negative, for which the sum needs a fixed offset to keep its meaning, and its comparisons are of final scores between treatments, not of one run's score against its own history.

Relevance to Hifuku

Hifuku is a MAP-Elites illumination of tree space, so the QD-score is the native summary of a survey's archive. With log-likelihood as fitness, Hifuku measures each elite above the lowest elite the survey has held, \(m\), so an empty niche and the lowest elite both contribute zero, which meets the paper's convention for empty bins, and the score is \(Q = S - N m\), the sum of \(l_i - m\) over the filled niches (see the theory overview, Section 6.1). By the slab construction of Strahler (1952), that sum is the area under the archive's hypsometric curve above \(m\). The paper's statement that all parts of the behavior space are equally important supports an unweighted sum over niches. Its Figure 9 supports reading the flattening of the QD-score as the end of useful search, but a rule that decides when that flattening has happened must be stated and justified separately, because the paper gives none.