Evolutionary algorithms and dynamic programming

Benjamin Doerr, Anton V. Eremeev, Christian Horoba, Frank Neumann, Madeleine Theile · DOI

TL;DR

This paper establishes a theoretical framework that connects evolutionary algorithms (EAs) with dynamic programming (DP). It demonstrates how to design EAs that can leverage DP principles, leading to provably efficient algorithms for a wide range of combinatorial optimization problems. This work offers a deeper understanding of why EAs succeed and provides a systematic way to construct EAs for DP-solvable problems.

What Problem Does This Paper Address?

Evolutionary algorithms have shown remarkable success in solving complex optimization problems in practice. However, a rigorous theoretical understanding of their performance, especially for combinatorial optimization, has been a significant challenge. While EAs are known to perform well, it's often unclear why they succeed or how to design them optimally for specific problem classes. This paper addresses this gap by exploring the relationship between EAs and dynamic programming, a well-established and powerful technique for optimization. The authors aim to bridge this gap by showing how DP formulations can guide the design of efficient EAs and, conversely, how EAs can effectively solve problems amenable to DP.

Methods

The core of this paper lies in establishing a formal connection between DP and EAs. The authors first present a general framework for DP algorithms, focusing on multi-objective optimization problems. They then introduce a corresponding framework for EAs, detailing how the components of a DP algorithm (states, transition functions, consistency functions) can be mapped to the modules of an EA (representation, selection, mutation).

Key methodological contributions include:

  • DP Framework: A generalized DP formulation is presented, working through phases and constructing states using transition functions. This framework is designed to handle multi-objective optimization problems.
  • EA Framework: A corresponding EA framework is developed, where individuals represent states in the DP process. The EA's mutation operator is designed to mimic DP transitions, and a specific partial order relation (∠EA) is introduced to guide the search, incorporating DP-specific dominance criteria.
  • Theoretical Analysis: The paper provides theoretical guarantees on the expected optimization time of the proposed EAs, relating it to the complexity of the underlying DP algorithm. This includes analyzing the number of states computed by the DP and the expected number of iterations for the EA.
  • DP-Benevolent Problems: A class of problems called "DP-benevolent" is defined, which are amenable to DP and for which the authors show the existence of a Fully Polynomial-Time Randomized Approximation Scheme (FPRAS) based on their EA framework.

Datasets

Not discussed in the paper. The paper focuses on theoretical frameworks and algorithmic design, using classical combinatorial optimization problems (TSP, Knapsack, Shortest Path) as examples rather than specific datasets.

Key Insights and Ideas

  • EAs as DP Solvers: The paper reveals that many successful EAs for combinatorial optimization are implicitly performing dynamic programming. By making this connection explicit, we can design EAs that are provably efficient.
  • Representation is Key: The choice of representation in an EA is crucial, and for DP-solvable problems, a representation that mirrors DP states and transitions can lead to significant performance gains.
  • Bridging Theory and Practice: The work provides a theoretical foundation for understanding why certain EA designs work well for specific problem classes, moving beyond empirical observations.
  • DP-Benevolent Problems and FPRAS: The identification of "DP-benevolent" problems and the demonstration that EAs can yield FPRAS for them is a significant theoretical result, extending the applicability of EAs to approximation algorithms.
  • Homogeneous Transitions Simplify: When DP transition functions are homogeneous, the EA can be simplified, leading to improved theoretical bounds on its optimization time.

Key Results

  • Runtime Bounds: The paper establishes theoretical bounds on the expected optimization time of the proposed EAs, showing that they can solve DP-solvable problems in time comparable to or slightly worse than the DP algorithm itself (e.g., O(T * n * log |DP|) where T is DP time, n is phases, and |DP| is number of states).
  • FPRAS for DP-Benevolent Problems: For a class of problems termed "DP-benevolent," the authors demonstrate that their EA framework can construct a Fully Polynomial-Time Randomized Approximation Scheme (FPRAS).
  • Algorithm Analysis: The paper provides detailed runtime analyses for applying the EA framework to classical problems like the Traveling Salesman Problem (TSP), Knapsack, Single Source Shortest Path (SSSP), and All-Pairs Shortest Path (APSP), often matching or improving upon existing EA results. For instance, the expected optimization time for the TSP is shown to be O(n^2).

Limitations and Future Work

  • Knowledge of DP: The proposed EA framework requires prior knowledge of the problem's DP formulation. This means the EA is not a black-box solver but rather a way to efficiently implement a known DP solution.
  • Complexity of DP: The efficiency of the EA is directly tied to the complexity of the underlying DP. If the DP itself is exponential, the EA will also face challenges, although the FPRAS results offer a way to achieve approximate solutions efficiently.
  • Future Work: The authors suggest exploring the biological analogy of their mutation operator further and investigating its implications. They also point to the potential for applying their framework to a wider range of DP-solvable problems and refining the theoretical bounds. The paper also notes that while the framework is general, specific problem instances might benefit from further tailored EA designs.

Summary updated

BibTeX
@inproceedings{doerr2009evolutionary,
  author = {Benjamin Doerr and Anton V. Eremeev and Christian Horoba and Frank Neumann and Madeleine Theile},
  title = {{Evolutionary algorithms and dynamic programming}},
  booktitle = {GECCO},
  year = {2009},
  doi = {10.1145/1569901.1570008},
}
Figure