Skip to main content
QUICK REVIEW

[Paper Review] The Ecosystem Path to General AI

Claes Strannegård, Niklas Engsner|arXiv (Cornell University)|Aug 17, 2021
Evolutionary Game Theory and CooperationSocial Sciences2 citations
TL;DR

This paper proposes Ecotwin, an open-source ecosystem simulator built on Unity that models animal cognition through a tripartite neural network architecture: reflexes, happiness-based reward signals, and reinforcement learning (RL)-trained policies. The system demonstrates emergent natural behaviors—such as Lotka-Volterra population dynamics, diel vertical migration in marine life, and the evolutionary dominance of lethal-avoidance reflexes—without hardwired rules, suggesting ecosystem simulators can serve as scalable 'AI gyms' for general intelligence development via coevolutionary pressure.

ABSTRACT

We start by discussing the link between ecosystem simulators and general AI. Then we present the open-source ecosystem simulator Ecotwin, which is based on the game engine Unity and operates on ecosystems containing inanimate objects like mountains and lakes, as well as organisms such as animals and plants. Animal cognition is modeled by integrating three separate networks: (i) a reflex network for hard-wired reflexes; (ii) a happiness network that maps sensory data such as oxygen, water, energy, and smells, to a scalar happiness value; and (iii) a policy network for selecting actions. The policy network is trained with reinforcement learning (RL), where the reward signal is defined as the happiness difference from one time step to the next. All organisms are capable of either sexual or asexual reproduction, and they die if they run out of critical resources. We report results from three studies with Ecotwin, in which natural phenomena emerge in the models without being hardwired. First, we study a terrestrial ecosystem with wolves, deer, and grass, in which a Lotka-Volterra style population dynamics emerges. Second, we study a marine ecosystem with phytoplankton, copepods, and krill, in which a diel vertical migration behavior emerges. Third, we study an ecosystem involving lethal dangers, in which certain agents that combine RL with reflexes outperform pure RL agents.

Motivation & Objective

  • To explore whether ecosystem simulators can serve as scalable training environments for artificial general intelligence (AGI) by modeling coevolving agents under natural selection.
  • To investigate how integrating reflexes, happiness-based reward signals, and reinforcement learning (RL) enables adaptive, survival-driven behavior in simulated organisms.
  • To evaluate whether hybrid RL-reflex agents outperform pure RL agents in environments with lethal dangers.
  • To demonstrate the emergence of complex ecological phenomena—such as population cycles and diel vertical migration—without explicit programming.
  • To establish an open-source platform (Ecotwin) for reproducible, biologically inspired AGI research.

Proposed method

  • Ecotwin is a Unity-based simulator modeling ecosystems with inanimate objects (e.g., mountains, lakes) and organisms (e.g., animals, plants) that interact dynamically.
  • Animal cognition is modeled via three interconnected neural networks: (i) a reflex network for hardwired responses, (ii) a happiness network mapping sensory inputs (oxygen, energy, water, smell) to a scalar happiness value, and (iii) a policy network trained via reinforcement learning (RL).
  • The RL policy network is trained using a reward signal defined as the difference in happiness between consecutive time steps, enabling goal-directed behavior.
  • Organisms reproduce sexually or asexually, with inheritable genomes encoding policy and reflex networks, allowing for evolutionary dynamics.
  • The simulator supports environmental complexity, including light cycles, depth-dependent light intensity, and chemotactic sensing for predator avoidance.
  • Three distinct ecosystem studies were conducted: terrestrial (wolves, deer, grass), marine (phytoplankton, copepods, krill), and lethal-dangers environment (goats, red/yellow/green grass).

Experimental results

Research questions

  • RQ1Can a simulated ecosystem with RL-trained agents and reflexes reproduce natural population dynamics such as Lotka-Volterra cycles?
  • RQ2Can diel vertical migration behavior emerge organically in a marine ecosystem model without explicit programming?
  • RQ3Does combining RL with hardwired reflexes lead to superior survival and evolutionary fitness compared to pure RL agents in environments with lethal risks?
  • RQ4To what extent do inherited reflexes, such as avoidance of lethal food, become dominant in a population under evolutionary pressure?
  • RQ5Can complex, biologically plausible behaviors emerge from simple, modular neural architectures without hardwired behavioral rules?

Key findings

  • In the terrestrial ecosystem with wolves, deer, and grass, Lotka-Volterra-style population oscillations emerged naturally, with deer and wolf populations cycling in a predator-prey pattern.
  • In the marine ecosystem with copepods, krill, and phytoplankton, a clear diel vertical migration (DVM) pattern emerged, with copepods ascending at night and descending during the day, matching real-world observations.
  • In the lethal-dangers study, the red gene (encoding a reflex to avoid lethal red grass) rapidly dominated the goat population, indicating that reflexes providing survival advantages are strongly selected for.
  • The yellow gene (avoiding non-lethal yellow grass) showed no evolutionary advantage over the blue gene (no reflex), suggesting that non-lethal risks do not favor reflex-based over pure RL strategies.
  • Goats with the green gene (avoiding good green grass) went extinct and re-emerged due to genetic mutation, illustrating the role of mutation in maintaining genetic diversity despite selection pressure.
  • The combination of RL and reflexes outperformed pure RL agents in lethal environments, confirming that reflexes are essential for survival when risks are irreversible.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.