Emergent Kin Selection of Altruistic Feeding via Non-episodic Neuroevolution

Max Taylor-Davies, Gautier Hamon, Timothé Boulet, Clément Moulin-Frier

TL;DR

This paper presents the first demonstration of kin selection—specifically, altruistic parent-to-offspring feeding—emerging naturally within a population of neural network-controlled agents. By simulating a continuous, non-episodic environment without explicit fitness functions, the authors show that altruism evolves purely as an emergent response to harsh environmental conditions where offspring struggle to survive alone.

What Problem Does This Paper Address?

In evolutionary biology, altruism presents a classic paradox: how can a behavior that decreases an individual's immediate fitness be selected for? The standard answer is kin selection theory, formalized by Hamilton’s rule ($rb > c$). It states that an altruistic trait can evolve if the fitness benefit to the recipient ($b$), scaled by the genetic relatedness ($r$), exceeds the fitness cost to the actor ($c$).

While widely validated in natural populations (e.g., social insects, wild turkeys), demonstrating kin selection in silico has historically relied on highly engineered setups, such as explicit fitness maximization functions or discrete genetic representations. The authors address this gap by investigating whether kin selection can emerge naturally in a minimal evolutionary system—one using continuous neuroevolution, a non-episodic framework (no population resets), and no explicit definition of fitness or genes.

Methods

The authors designed a 100x100 gridworld simulation containing regenerating food resources (plants) and up to 2,500 agents.

Overview of the simulation environment, agent architecture, and energy dynamics.

Key components of their experimental framework include:

  • Agent Architecture: Each agent is controlled by a 3-layer Convolutional Neural Network (CNN). The network maps an $11 \times 11$ local observation window (sensing plants, other agents, and binary flags for "is infant" and "is offspring") to an action space: {forward, turn left, turn right, eat, reproduce, feed, idle}.
  • Minimal-Criterion Neuroevolution: There is no explicit fitness function. Agents survive and reproduce based purely on a simple physiological energy model. Agents are born with 65 energy, lose energy over time or by acting, and die if energy hits 0. If energy exceeds 85, they can execute the reproduce action (costing 30 energy), spawning a mutated clone ($\theta_{\text{offspring}} := \theta_{\text{parent}} + \mathcal{N}(0, \sigma)$) into an adjacent tile.
  • Altruistic Mechanism: The feed action transfers one food resource's worth of energy to an adjacent agent. This is strictly zero-sum; the actor incurs a cost ($c$) to give a benefit ($b$) to the recipient.
  • Environmental Manipulation: To vary the fitness benefit ($b$), the authors manipulated three environmental parameters that selectively made it harder for infants (agents $< 100$ timesteps old) to survive: infant food energy proportion, infant eat success probability, and infant move success probability.
  • Ablation Studies: To isolate the underlying mechanism, they ran two independent ablations: disabling kin recognition (removing the "is offspring" observation flag) and reducing population viscosity (randomizing the birth location of offspring rather than spawning them adjacently).

Datasets

No external datasets were used; the study relies entirely on simulated gridworld environments generated programmatically during runtime.

Key Insights and Ideas

  • Altruism Without Discrete Genes: Kin selection does not require discrete genetic subunits or explicit fitness maximization algorithms. A continuous set of neural network weights passed down via noisy cloning is sufficient for altruistic phenotypes to emerge.
  • Viscosity Over Recognition: In this setup, population viscosity (the tendency of organisms to remain near their birthplace) is a more critical driver for the evolution of altruism than explicit kin recognition. When offspring were spawned randomly across the map rather than next to their parents, the evolutionary link between environmental harshness and altruistic feeding completely broke down.

Key Results

  • Hostility Breeds Altruism: As the environment became more hostile to infants (lowering survival rates when feeding was disabled), the estimated benefit of being fed ($\hat{b}$) increased.
  • Feeding Amount and Selectivity: Linear regression analysis showed significant positive correlations between the infant feeding benefit and both the total log-amount of feeding and the log-selectivity of feeding towards an agent's own offspring.
  • Co-evolution of Traits: The prevalence of feeding behavior was tightly coupled with its selectivity ($R^2$ values up to 0.86). Agents didn't just feed more; they specifically targeted their own offspring as the necessity of feeding increased.

Limitations and Future Work

  • Simple Reactive Architecture: The agents use a purely reactive CNN architecture without memory or within-lifetime learning. Implementing recurrent architectures (RNNs/LSTMs) could allow agents to "remember" offspring without needing explicit environmental markers.
  • Simplistic Kin Recognition: The current model uses a binary "is offspring" flag. A more realistic approach would provide a continuous measure of genetic relatedness based on the distance between agents in neural parameter space.
  • Stationary Environments: The environment remains stationary throughout the simulation. The authors suggest that dynamic, changing environments might foster even more complex social behaviors, such as parents teaching or demonstrating skills to their offspring.

Summary updated

BibTeX
@inproceedings{taylordavies2025emergent,
  author = {Max Taylor-Davies and Gautier Hamon and Timothé Boulet and Clément Moulin-Frier},
  title = {{Emergent Kin Selection of Altruistic Feeding via Non-episodic Neuroevolution}},
  booktitle = {EvoApplications},
  year = {2025},
  url = {https://openreview.net/forum?id=7Mkv4QAhPt},
}
Figure