TL;DR
This paper introduces IESoR, a lightweight, two-dimensional simulation environment for evolving artificial creatures. By using compositional pattern-producing networks (CPPNs) to indirectly encode creature morphology, IESoR allows for the discovery of a wide variety of complex and functional ambulating forms, addressing the high barrier to entry in artificial life research.
What Problem Does This Paper Address?
Developing artificial life (ALife) research often requires significant upfront effort in creating custom simulation environments and genetic encodings. This creates a high barrier to entry for researchers who might be more interested in exploring evolutionary dynamics or the emergence of complex behaviors than in the intricate details of simulator construction. Existing ALife domains, like the original Sodarace, while inspiring, often have limitations that make them inaccessible for broad evolutionary exploration. For instance, Sodarace's original evolutionary optimizer was constrained to a narrow subset of possible morphologies. The paper aims to fill this gap by providing an easily accessible, lightweight platform that enables researchers to focus on the evolutionary process itself, rather than on building the underlying simulation infrastructure.
Methods
The core of IESoR lies in its novel approach to encoding creature morphology. Instead of directly encoding the creature's structure, the system uses Compositional Pattern-Producing Networks (CPPNs), a type of indirect encoding. These CPPNs, evolved using the HyperNEAT algorithm (an extension of NEAT), generate the creature's body plan.
Here's how it works:
- CPPNs as Blueprints: A CPPN is essentially a neural network that, when queried with geometric coordinates, outputs values. In IESoR, these outputs are not connection weights for a neural network, but rather parameters for creature components.
- Indirect Encoding of Morphology: The CPPN acts as a blueprint. It defines the connections (springs/bones) between masses (nodes) in a 2D creature. Crucially, it also specifies whether a connection is a fixed-length "bone" or a "muscle" that can contract. For muscles, the CPPN outputs their amplitude (how much they contract) and phase (the timing of their contraction).
- HyperNEAT for Structure: HyperNEAT, which builds on NEAT's ability to evolve neural network topologies, is used to evolve the CPPNs. This allows for the evolution of complex and regular patterns in the creature's body, mirroring natural symmetries and repetitions.
- Sodarace-like Physics: The creatures are simulated in a 2D physics engine (Box2D), where masses are connected by joints and springs. Muscles manipulate the length of these connections, driving locomotion.
- Evolutionary Search: To explore the vast space of possible morphologies and behaviors, the paper employs novelty search with local competition. This multi-objective approach prioritizes both discovering novel forms and ensuring that individuals within similar morphological niches compete to be the best, fostering diversity and competence.
Datasets
Not discussed in the paper. The paper introduces a new benchmark environment (IESoR) for evaluating evolved creatures.
Key Insights and Ideas
- Indirect Encoding Unlocks Diversity: The key insight is that using indirect encodings like CPPNs, originally designed for neural networks, can be powerfully applied to evolve complex and diverse physical morphologies. This moves beyond the limitations of simpler, direct encodings that often lead to repetitive or stereotypical forms.
- CPPNs Capture Natural Regularities: CPPNs are adept at generating patterns with inherent symmetries and repetitions, which are fundamental to natural biological structures. This allows for the evolution of creatures that exhibit more biologically plausible and varied designs.
- Lightweight Platform for ALife Research: The development of IESoR addresses a practical need in the ALife community by providing a simulation environment that is both easy to integrate and computationally inexpensive. This lowers the barrier to entry for researchers interested in exploring complex evolutionary phenomena.
- Novelty Search + Local Competition for Breadth and Depth: The combination of novelty search (to explore broadly) and local competition (to optimize within niches) is shown to be highly effective in discovering a wide range of competent, ambulating creatures, demonstrating the potential of the IESoR domain.
Key Results
The experiment successfully demonstrated that IESoR can evolve a wide variety of ambulating creatures.
- Morphological Diversity: A Principal Component Analysis (PCA) of the evolved creatures revealed that a significant portion (28.1%) of the possible morphological space was covered by "competent" walkers (those that could travel at least 200 units).
- Qualitative Diversity: The evolved creatures exhibited a broad spectrum of locomotion strategies, including gaits like loping, pogo-stick hopping, dragging, complex galloping, sliding, and bouncing. This contrasts sharply with the more uniform "amoeba-like" morphologies found in earlier Sodarace evolutions.
- Performance: The size of the points in the PCA visualization (Figure 3) indicated the absolute fitness (distance traveled beyond 200 units), showing that diverse morphologies also achieved significant performance.
- Accessibility: The creatures and their behaviors can be viewed interactively online, showcasing the lightweight nature of the simulation.
Limitations and Future Work
- Limitations: The paper acknowledges that the current implementation is 2D. While the physics engine (Box2D) is versatile, the focus remains on 2D creatures. The current characterization of novelty (width, height, mass at time step 1) might be further refined.
- Future Work: The authors suggest that the IESoR framework can be extended to three-dimensional creatures using current browser technologies. They also envision creatures moving beyond simple ambulation to more complex interactions like foraging or predation, opening up avenues for research into more sophisticated ALife applications and interactive evolutionary systems. The code for IESoR is made publicly available, encouraging further research.
Summary updated