Evolvability ES: scalable and direct optimization of evolvability

Alexander Gajewski, Jeff Clune, Kenneth O. Stanley, Joel Lehman

Introduction

In evolutionary computation, agents are typically rewarded for specializing in a specific task. However, biological evolution often produces "evolvable" organisms—those capable of rapidly adapting to new environments. Researchers from Uber AI Labs and the University of Wyoming present Evolvability ES (EES), a scalable algorithm that trains neural networks to be inherently adaptable. By leveraging Evolution Strategies (ES), EES identifies regions in parameter space where a single mutation can lead to diverse, functional behaviors.

Problem Statement

Traditional AI optimization focuses on fitness: maximizing performance on a fixed objective. In contrast, evolvability refers to a genome's capacity to produce diverse and adaptive offspring. Measuring and optimizing evolvability has historically been computationally prohibitive for high-dimensional neural networks, as it requires evaluating numerous offspring for every individual to observe potential behaviors. EES addresses this by making evolvability optimization direct and efficient.

Methodology

EES builds on Evolution Strategies (ES), which estimates gradients by sampling "noise" around parameters. The core innovation is moving parameters toward regions of high behavioral diversity in the sampled offspring cloud, rather than just higher rewards.

To differentiate through these complex objectives, the authors introduced Nested Stochastic Computation Graphs, allowing for automatic differentiation of expectations of expectations. Two variants were explored:

  • MaxVar-EES: Maximizes the variance of behaviors in the offspring.
  • MaxEnt-EES: Maximizes the entropy (uniformity) of behaviors to ensure broad coverage of the behavior space.
Comparison of behavioral diversity (final position) over generations for Standard ES, MaxVar-EES, and MaxEnt-EES.

Benchmarks and Results

The algorithm was tested on several tasks:

  1. Interference Pattern Task: A 1D problem used to prove that the algorithm can find points most sensitive to perturbations.
  2. 2D Locomotion (Half-Cheetah): EES agents achieved 92-94% of the forward speed of standard ES but could move nearly as far in any direction with a single mutation.
  3. 3D Locomotion (Ant): EES created a "ring" of potential behaviors, allowing the agent to move in any direction (360 degrees) with minimal genetic changes.
The Interference Pattern task used to validate the algorithm's ability to find points sensitive to perturbations.

Key Insights

  • Zero-Overhead Evolvability: Since ES already samples a cloud of points for gradient estimation, EES calculates evolvability using the same samples, adding no significant simulation cost.
  • The "Flip" Property: EES discovers solutions where minor weight changes "flip" behaviors (e.g., switching from running forward to backward).
  • Meta-Learning Connection: EES is conceptually linked to algorithms like MAML; while MAML optimizes for gradient-based adaptation, EES optimizes for mutation-based adaptation.

Conclusion and Future Work

EES demonstrates that evolvability can be optimized directly in deep neural networks. While it currently relies on user-defined behavior characterizations, future work could integrate EES as an auxiliary objective in standard reinforcement learning to prevent agents from becoming "brittle" specialists, ensuring they remain ready for diverse environmental challenges.

Summary updated

BibTeX
@inproceedings{gajewski2019evolvability,
  author = {Alexander Gajewski and Jeff Clune and Kenneth O. Stanley and Joel Lehman},
  title = {{Evolvability ES: scalable and direct optimization of evolvability}},
  booktitle = {GECCO},
  year = {2019},
  doi = {10.1145/3321707.3321876},
}
Figure