Evaluating MAP-Elites on constrained optimization problems

Stefano Fioravanzo, Giovanni IaccaGECCO (Companion) 2019 · DOI

Abstract

Constrained optimization problems are often characterized by multiple constraints that, in practice, must be satisfied with different tolerance levels. While some constraints are hard and as such must be satisfied with zero-tolerance, others may be soft, such that non-zero violations are acceptable. Here, we evaluate the applicability of MAP-Elites to "illuminate" constrained search spaces by mapping them into feature spaces where each feature corresponds to a different constraint. On the one hand, MAP-Elites implicitly preserves diversity, thus allowing a good exploration of the search space. On the other hand, it provides an effective visualization that facilitates a better understanding of how constraint violations correlate with the objective function. We demonstrate the feasibility of this approach on a large set of benchmark problems, in various dimensionalities, and with different algorithmic configurations. As expected, numerical results show that a basic version of MAP-Elites cannot compete on all problems (especially those with equality constraints) with state-of-the-art algorithms that use gradient information or advanced constraint handling techniques. Nevertheless, it has a higher potential at finding constraint violations vs. objectives trade-offs and providing new problem information. As such, it could be used in the future as an effective building-block for designing new constrained optimization algorithms.

Introduction

In traditional constrained optimization, the primary objective is binary: find the optimal solution that satisfies all constraints perfectly. However, real-world engineering—such as bridge construction or circuit design—often involves "soft" constraints. In these scenarios, a designer might accept a marginal violation of one constraint if it yields a significant improvement in the objective function, such as cost or weight reduction.

Standard Evolutionary Algorithms (EAs) typically struggle to provide these trade-offs because they are designed to discard infeasible solutions rapidly. This paper explores the application of MAP-Elites (Multi-dimensional Archive of Phenotypic Elites), a Quality Diversity approach, to "illuminate" these search spaces. By treating constraint violations as features, the algorithm provides a visual map of the trade-offs between performance and feasibility.

Methodology

The core innovation of this study is the adaptation of the MAP-Elites grid to represent the space of constraint violations.

  1. The Archive Grid: Instead of behavioral features, each dimension of the MAP-Elites grid represents a specific constraint of the optimization problem.
  2. Discretization: Constraint violations are discretized into "bins" based on specific tolerance levels (e.g., 0, 0.0001, 0.01, 1.0). This allows the algorithm to categorize solutions based on how much they "break the rules."
  3. Search and Selection: The algorithm samples and mutates solutions. If a new solution outperforms the current occupant of its specific niche (its unique combination of constraint violation levels), it is saved in the archive.

Three configurations were evaluated to test the impact of search operators:

  • Config 1: Low-intensity mutation, no crossover.
  • Config 2: High-intensity mutation, no crossover.
  • Config 3: Low-intensity mutation combined with uniform crossover.

Experimental Setup

The approach was benchmarked using the CEC 2010 suite, comprising 18 complex real-parameter optimization problems (C1 through C18). These problems include a variety of linear and nonlinear inequality and equality constraints. Testing was conducted in both 10-dimensional (10D) and 30-dimensional (30D) search spaces to assess scalability.

Key Insights

Illumination vs. Optimization

The value of MAP-Elites in this context is not necessarily its ability to outperform specialized solvers in finding a single global optimum, but rather its ability to generate a heatmap of the problem landscape. This visualization allows researchers to see where the feasible region lies and how the objective function behaves as one moves into infeasible territory.

The Challenge of Equality Constraints

The algorithm faced significant difficulties with equality constraints ($h(x) = 0$). Because these constraints define infinitely thin surfaces in the search space, a basic evolutionary search rarely lands on them precisely. This resulted in low feasibility rates for problems dominated by such constraints.

The Role of Crossover and Diversity

Configuration 3, which utilized crossover, generally outperformed mutation-only versions. This suggests that recombining "elite" solutions from different constraint-violation niches is a powerful way to navigate complex search spaces. Furthermore, MAP-Elites maintains implicit diversity by attempting to fill every bin in the grid, avoiding the premature convergence often seen in standard EAs.

Results and Performance

  • Inequality Constraints: MAP-Elites achieved a 100% Feasibility Rate (FR) on several 10D problems involving only inequality constraints (C1, C7, C8, C14, and C15).
  • Objective Values: While MAP-Elites was often several orders of magnitude behind state-of-the-art solvers like $\epsilon$DEag, it showed flashes of high performance. In problem C1 (10D), the configuration with crossover actually discovered a better optimal value than the reported state-of-the-art.
  • Trade-off Mapping: The algorithm successfully produced heatmaps identifying high-performance solutions that sit just outside the feasible boundary, providing valuable data for "soft" constraint decision-making.

Limitations and Future Directions

As a "basic" implementation, this version of MAP-Elites is not yet a direct competitor for high-precision constrained optimization, primarily due to:

  • Scalability: The "curse of dimensionality" makes the grid difficult to fill as the number of constraints increases.
  • Precision: Random mutation is insufficient for the narrow feasible regions of equality constraints.

Future work will focus on integrating advanced Constraint Handling Techniques (CHTs), such as the $\epsilon$-constrained method, and using Centroidal Voronoi Tessellation (CVT) to allow the grid to scale to higher dimensions. Additionally, hybridizing the global search of MAP-Elites with local search operators could significantly improve the precision of solutions within each bin.

Summary updated

BibTeX
@inproceedings{fioravanzo2019evaluating,
  author = {Stefano Fioravanzo and Giovanni Iacca},
  title = {{Evaluating MAP-Elites on constrained optimization problems}},
  booktitle = {GECCO (Companion)},
  year = {2019},
  doi = {10.1145/3319619.3321939},
}
Figure