Simple Genetic Operators are Universal Approximators of Probability Distributions (and other Advantages of Expressive Encodings)

Elliot Meyerson, Xin Qiu, Risto Miikkulainen · DOI

Abstract

This paper characterizes the inherent power of evolutionary algorithms. This power depends on the computational properties of the genetic encoding. With some encodings, two parents recombined with a simple crossover operator can sample from an arbitrary distribution of child phenotypes. Such encodings are termed expressive encodings in this paper. Universal function approximators, including popular evolutionary substrates of genetic programming and neural networks, can be used to construct expressive encodings. Remarkably, this approach need not be applied only to domains where the phenotype is a function: Expressivity can be achieved even when optimizing static structures, such as binary vectors. Across a variety of test problems, expressive encodings are shown to achieve up to super-exponential convergence speed-ups over the standard direct encoding. The conclusion is that expressive encodings can be a key to understanding and realizing the full power of evolution.

Introduction

In the field of Evolutionary Algorithms (EAs), there is a traditional trade-off between simplicity and performance. Researchers often hand-design specialized genetic operators to navigate complex search landscapes, creating a "human bottleneck." The fundamental limitation often lies in Direct Encoding, where the genotype (the genetic representation) is identical to the phenotype (the actual solution).

In direct encoding, simple mutations can only effect small, local changes. If a problem requires a massive, coordinated "jump" to a new state to find a global optimum, direct encoding fails because the probability of flipping many specific bits simultaneously vanishes as the problem size grows. This paper explores whether powerful encodings can replace complex operators to overcome these limitations.

Expressive Encodings and Simple Genetic Operators

The researchers introduce Expressive Encodings, defined as encodings that, when paired with a Simple Genetic Operator (SGO), can produce a child population following any desired probability distribution. SGOs are kept basic, typically involving Uniform Crossover and Single-point Mutation.

Expressive encodings using programs (a) and neural networks (b) compared to direct bitstring encoding (c).

By utilizing universal approximators like Genetic Programming (GP) and Neural Networks (NNs) as encodings, the EA evolves a program or network that outputs the solution bitstring. This structure allows for internal "switches": a single bit-flip in a GP tree or a small weight change in an NN can trigger a massive, structured change in the resulting phenotype, enabling what the authors call a "miracle jump."

Experimental Framework

To test the limits of adaptation, the paper defines three rigorous "Challenge Problems":

  1. Deterministic Flipping Challenge (DFC): A dynamic problem where the target solution flips to its exact opposite once found, testing the ability to avoid catastrophic forgetting.
  2. Random Flipping Challenge (RFC): The target flips randomly every generation, testing the ability to maintain a distribution of potential solutions.
  3. Large Block Assembly Problem (LBAP): A static but deceptive problem where two large, disjoint blocks of information must be discovered and combined, making it intractable for standard direct encodings.

Key Results

  • Super-Exponential Speedups: On the challenge problems, expressive encodings achieved up to super-exponential improvements in convergence speed compared to direct encodings.
  • Optimal Adaptation: For the Flipping Challenges (DFC/RFC), GP-based encodings achieved $O(1)$ adaptation complexity. This means the time spent re-adapting to a changing environment does not increase even as the problem becomes more high-dimensional. Direct encodings, by contrast, take $O(n \log n)$ or even exponential time.
  • Solving the Unsolvable: In the Large Block Assembly Problem, direct encodings never reached more than 50% fitness within 2 million evaluations. The GP-encoded EA consistently made the "final jump" to 100% fitness.

Conclusion

The study suggests a shift in EA research similar to the transition in Machine Learning from manual feature engineering to simple algorithms acting on complex architectures. By shifting complexity from the algorithm's operators to the representation itself, EAs can achieve performance levels mathematically impossible for direct encodings. While challenges like search space inflation and biological realism remain, expressive encodings offer a promising path toward realizing the full potential of artificial evolution.

Summary updated

Abstract

This paper characterizes the inherent power of evolutionary algorithms. This power depends on the computational properties of the genetic encoding. With some encodings, two parents recombined with a simple crossover operator can sample from an arbitrary distribution of child phenotypes. Such encodings are termed \emph{expressive encodings} in this paper. Universal function approximators, including popular evolutionary substrates of genetic programming and neural networks, can be used to construct expressive encodings. Remarkably, this approach need not be applied only to domains where the phenotype is a function: Expressivity can be achieved even when optimizing static structures, such as binary vectors. Such simpler settings make it possible to characterize expressive encodings theoretically: Across a variety of test problems, expressive encodings are shown to achieve up to super-exponential convergence speed-ups over the standard direct encoding. The conclusion is that, across evolutionary computation areas as diverse as genetic programming, neuroevolution, genetic algorithms, and theory, expressive encodings can be a key to understanding and realizing the full power of evolution.
BibTeX
@inproceedings{meyerson2022simple,
  author = {Elliot Meyerson and Xin Qiu and Risto Miikkulainen},
  title = {{Simple Genetic Operators are Universal Approximators of Probability Distributions (and other Advantages of Expressive Encodings)}},
  booktitle = {GECCO},
  year = {2022},
  doi = {10.1145/3512290.3528746},
}
Figure