Representation-agnostic distance-driven perturbation for optimizing ill-conditioned problems

Kirill Antonov, Anna V. Kononova, Thomas Bäck, Niki van SteinarXiv 2023 · OpenReview

TL;DR

This paper introduces two novel "distance-driven" mutation operators for randomized search heuristics that can significantly speed up optimization of "ill-conditioned" problems. These operators leverage a problem-specific distance metric, either with prior knowledge of its structure or by treating it as a black box, to guide the search more effectively than standard methods.

What Problem Does This Paper Address?

Many optimization algorithms, especially randomized search heuristics like Evolutionary Algorithms (EAs), rely on the "locality" or "strong causality" property. This means that small changes in a candidate solution should ideally lead to small changes in its performance (fitness). This property is often measured by a distance metric (e.g., Hamming distance for binary strings, Euclidean distance for real numbers). However, in real-world applications, the natural representation of a problem might not have this desirable locality property with respect to a simple distance metric, leading to "ill-conditioned" problems where optimization becomes very slow. While domain-specific knowledge can help define a better distance metric, acquiring this knowledge is often difficult. This paper aims to bridge this gap by proposing methods to effectively use a given distance metric, even if its structure is unknown, to improve optimization performance.

Methods

The core contribution is the development of two "distance-driven" mutation operators. These operators aim to generate new candidate solutions by considering a specific distance metric d and a sampled "step size" s. The goal is to find a new solution y that is approximately distance s away from the current solution x according to d.

  1. Distance-Driven Mutation with Known Structure: This operator assumes the user knows the "structure" of the distance metric (i.e., the set of all possible distances between any two points in the search space). It uses this knowledge to define a probability distribution over possible step sizes. An Estimation of Distribution Algorithm (UMDA) is then employed to find a new mutant y that minimizes the difference between d(x, y) and the sampled step size s.
  2. Distance-Driven Mutation for Black-Box Distance: This operator is designed for situations where the distance metric's structure is unknown. It first explores the search space to gather information about the distance's properties. This information is then used to define a probability distribution over step sizes that maximizes entropy (to ensure an unbiased mutation) and has a controllable mean. Similar to the first operator, UMDA is used to find the best mutant based on the sampled step size.

Both operators can be integrated into existing randomized search heuristics (like (1+1) EA, RLS) by replacing their standard mutation operators.

Datasets

The paper evaluates its methods on two types of problems:

  • Binary ONEMAX-based problems: Specifically, the "RUGGEDNESS" problem, which is a permutation of the ONEMAX function. This allows for controlled analysis of how distance-driven operators perform on problems where the natural distance might be ill-suited.
  • Discretized BBOB benchmark suite (COCO/BBOB-MIXINT): This suite provides a diverse set of integer optimization problems, allowing for a more general assessment of the proposed methods' applicability and performance on real-world-like scenarios.

Key Insights and Ideas

  • Leveraging Distance for Speedup: The fundamental idea is that by explicitly using a distance metric that reflects the problem's landscape, optimization algorithms can make more informed steps, leading to faster convergence, especially on ill-conditioned problems.
  • Black-Box Distance is Feasible: The development of a black-box distance operator is a significant contribution, as it removes the burden of expert domain knowledge for defining the distance's structure, making the approach more accessible.
  • UMDA as an Internal Optimizer: Using UMDA to find the "best mutant" based on a sampled step size is a clever way to solve the inner optimization problem required by the distance-driven mutation.
  • Trade-off Between Wall-Clock Time and Performance: While the distance-driven operators can significantly reduce the number of function evaluations (iterations), they increase the wall-clock time due to the internal optimization step. This makes them most beneficial when the objective function is much more expensive to evaluate than the distance metric.

Key Results

  • Binary Problems (RUGGEDNESS): The distance-driven operators (dd-(1+λ) EA and dd-(1+(λ,λ)) EA) consistently outperformed their non-distance-aware counterparts on RUGGEDNESS problems with increasing levels of "ruggedness" (v > 1). The advantage of using crossover in dd-(1+(λ,λ)) EA was also observed in escaping local optima.
  • Integer Problems (COCO/BBOB-MIXINT): The distance-driven dd-(1+1) EAab showed significant performance improvements over standard RLS-ab and (1+1) EA-ab on a majority of the tested functions. However, performance was worse on some functions (F3, F4, F24), attributed to factors like the algorithm treating all directions evenly, the need for small steps on certain landscapes, or simple parameter control mechanisms.

Limitations and Future Work

  • Wall-Clock Time: The primary limitation is the increased wall-clock time due to the internal optimization step required to find the mutant. This makes the approach most suitable when the objective function is significantly more expensive than the distance calculation.
  • Parameter Control: The parameter control mechanism for the mean of the distribution in the black-box operator is noted as being simple and could be improved.
  • Directional Information: The current operators treat all directions evenly. Future work aims to identify promising directions in the metric space to guide mutations more effectively, potentially improving performance on functions where current methods struggle (like F3).
  • Advanced Parameter Control: Integrating more advanced parameter control strategies from Evolutionary Strategies is also suggested for future work.

Summary updated

Abstract

Locality is a crucial property for efficiently optimising black-box problems with randomized search heuristics. However, in practical applications, it is not likely to always find such a genotype encoding of candidate solutions that this property is upheld with respect to the Hamming distance. At the same time, it may be possible to use domain-specific knowledge to define a metric with locality property. We propose two mutation operators to solve such optimization problems more efficiently using the metric. The first operator assumes prior knowledge about the distance, the second operator uses the distance as a black box. Those operators apply an estimation of distribution algorithm to find the best mutant according to the defined in the paper function, which employs the given distance. For pseudo-boolean and integer optimization problems, we experimentally show that both mutation operators speed up the search on most of the functions when applied in considered evolutionary algorithms and random local search. Moreover, those operators can be applied in any randomized search heuristic which uses perturbations. However, our mutation operators increase wall-clock time and so are helpful in practice when distance is (much) cheaper to compute than the real objective function.
BibTeX
@misc{antonov2023representation,
  author = {Kirill Antonov and Anna V. Kononova and Thomas Bäck and Niki van Stein},
  title = {{Representation-agnostic distance-driven perturbation for optimizing ill-conditioned problems}},
  year = {2023},
  eprint = {2306.02985},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.02985},
}

Loading related content...

Figure