Evolvability ES: scalable and direct optimization of evolvability

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

TL;DR

This paper introduces "Evolvability ES," a novel evolutionary algorithm that directly optimizes for "evolvability" – the ability of a solution to adapt and evolve further. By leveraging insights from meta-learning and scalable evolution strategies, Evolvability ES efficiently discovers highly adaptable neural network controllers, demonstrating competitive performance with state-of-the-art meta-learning techniques and opening new avenues for research in creating more adaptable AI.

What Problem Does This Paper Address?

The core challenge this paper tackles is how to design evolutionary algorithms (EAs) that can discover "highly evolvable representations." In simpler terms, it's about creating AI agents (represented by neural networks) that aren't just good at a specific task now, but are also structured in a way that makes them exceptionally good at adapting and improving when faced with new challenges or through further evolutionary processes. This "evolvability" is crucial for real-world applications where environments change and systems need to adapt quickly. While natural evolution excels at this, current EAs struggle to efficiently find such adaptable solutions, especially for complex, high-dimensional problems like those involving deep neural networks. Existing methods either indirectly encourage evolvability through carefully designed environments or directly search for it, but the latter is often computationally prohibitive.

Methods

The authors introduce Evolvability ES, an evolutionary algorithm that directly optimizes for evolvability. The key innovation lies in deriving a novel objective function inspired by natural evolution strategies. Instead of just maximizing performance on a task, Evolvability ES aims to maximize the diversity of behaviors that an individual's offspring can exhibit when subjected to random mutations. This is achieved by:

  • Leveraging Scalable Evolution Strategies (ES): The algorithm builds upon the efficient, gradient-based ES framework (Salimans et al., 2017), which scales well to large neural networks.
  • Novel Evolvability Objective: The core idea is to quantify how much phenotypic diversity (behavioral diversity) arises from mutations of a given individual. They propose two variants:
  • MaxVar-EES: Maximizes the variance of the behavior characteristics (BCs) across the population.
  • MaxEnt-EES: Maximizes the entropy of the behavior distribution, aiming for a more uniform spread of behaviors.
  • Nested Stochastic Computation Graphs (Nested SCGS): To handle the complex, nested expectations required for the evolvability objective, the authors extend the concept of Stochastic Computation Graphs (SCGs). This allows for automatic differentiation of these novel objectives, making them compatible with gradient-based optimization.
  • Connection to MAML: The paper draws a strong parallel between their evolvability search and the Model-Agnostic Meta-Learning (MAML) algorithm. Both aim to find points in the parameter space from which diverse functional behaviors can be readily accessed, either through mutation (Evolvability ES) or a single gradient update (MAML).

Datasets

The paper uses simulated robotics tasks for evaluation:

  • Interference Pattern Task: A simple 1D task to illustrate the core concept of finding points sensitive to perturbation.
  • 2-D Locomotion Task: A "Half-Cheetah" robot controlled by a neural network with 74,246 parameters. Behavior is characterized by the robot's final horizontal position.
  • 3-D Locomotion Task: A four-legged "Ant" robot controlled by a neural network with 75,272 parameters. Behavior is characterized by the robot's final (x, y) position.

No new benchmark datasets were introduced; existing simulation environments (PyBullet) were utilized.

Key Insights and Ideas

  • Evolvability is Directly Optimizable: Surprisingly, the paper demonstrates that evolvability can be directly and efficiently optimized, even for very large neural networks, without incurring prohibitive computational costs.
  • Behavioral Diversity as a Proxy for Evolvability: The core insight is that maximizing the diversity of behaviors produced by mutations of an individual is a powerful way to encourage evolvability.
  • Synergy with Meta-Learning: The strong conceptual link between Evolvability ES and MAML suggests that evolutionary approaches can offer a complementary perspective to gradient-based meta-learning, potentially uncovering different types of adaptable solutions.
  • Scalability is Achievable: By building on scalable ES and using NestedSCGs, the proposed method can handle high-dimensional neural network architectures, a significant step beyond previous evolvability search methods.
  • Evolvability as a Foundation for Adaptation: Evolvability ES-discovered solutions can adapt to new tasks much faster than those found by standard ES or even MAML in some cases, highlighting the practical benefits of optimizing for evolvability.

Key Results

  • Competitive Performance: Evolvability ES variants (MaxVar-EES and MaxEnt-EES) achieved performance comparable to standard ES in locomotion tasks, with only a minimal drop in raw performance (around 8-15% less distance traveled on average) while discovering significantly more diverse behaviors.
  • Faster Adaptation: When used to seed further evolution or adaptation, populations trained by Evolvability ES adapted to new tasks (e.g., walking in a specific direction) significantly faster than randomly initialized populations.
  • MAML Comparison: Evolvability ES performed competitively with MAML on the 2-D locomotion task, with MaxEnt-EES even outperforming MAML in terms of adaptation speed. Crucially, Evolvability ES discovered regions of the parameter space that were more inherently diverse and less "clumped" than those found by MAML.
  • 3-D Locomotion Success: In the 3-D Ant robot task, Evolvability ES successfully found policies that could move in multiple directions, forming a "ring" of behaviors, unlike standard ES which primarily optimized for forward movement.
  • Population-Level Evolvability: The paper explored multi-modal Evolvability ES, showing potential for evolving populations where different "species" specialize in different types of adaptations, though this aspect requires further investigation.

Limitations and Future Work

  • Definition of Evolvability: The paper acknowledges that the definition of evolvability is debated, and their chosen metric (behavioral diversity) is one interpretation.
  • Computational Cost: While significantly more scalable than prior evolvability search methods, Evolvability ES still requires substantial computation, especially for large populations and complex tasks.
  • Future Work:
    • Auxiliary Objective: Investigating the use of evolvability as an auxiliary objective to complement novelty-driven or objective-driven ES.
  • Policy Gradient Evolvability: Developing policy gradient versions of Evolvability ES to potentially reduce gradient variance.
  • Population-Level Evolvability: Further exploring multi-modal Evolvability ES for scenarios where specialization is beneficial (e.g., environments allowing for distinct modes of locomotion like swimming or flying).
  • Extending to Other Domains: Applying Evolvability ES to a wider range of complex problems beyond robotics.
  • Theoretical Foundations: Strengthening the theoretical understanding of why certain network architectures or parameter spaces are more evolvable.

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