Published July 15, 2026 | Version v3

Behavioral Inheritance and Evolution in LLM-Controlled Agent Populations

Authors/Creators

Description

Behavioral genetics need not be exclusive to biological organisms. Any computational agent whose behavior is specified in natural language can carry a readable genome that is inherited, selected, and evolved. Populations of such agents exhibit faithful behavioral inheritance, selection, and runtime evolution. Natural-language instruction corpora serve as the genetic substrate. Under the BEAR framework, each agent carries a per-entity instruction corpus that serves as its genome. Behavioral specifications are recombined across parents, mutated by the LLM, and expressed through context-aware retrieval. A closed-loop engine detects behavioral gaps and synthesizes new instructions under safety constraints, giving runtime evolution without retraining. An interactive 3D simulation validates these mechanisms, with eleven gene categories and epoch-driven environmental cycling across five conditions. Inheritance is faithful (per-gene cosine d = 5.55, p ≈ 0, 5,307 births). Epoch-driven behavioral shifts are significant across all five dimensions (F = 223–1,009, p ≈ 0). Heritable diversity is stable over 340.6 ± 24.9 generations. Action-tag instrumentation links inherited gene text directly to fitness. Under mutation rate zero, flee-strategy alleles produce 15% more offspring than rally-strategy carriers in single-allele mode (d = 0.45, p ≈ 3 × 10⁻¹⁸). The effect amplifies to 21% in diploid mode (d = 0.54, p ≈ 9 × 10⁻¹⁹).

Notes

Version 2 contains updated results generated after correcting an error identified in the software framework's genetic mechanism. Some of the methods and discussions were also subsequently changed.

Version 3:
- Replaced the runtime-evolution example with a real, verified synthesized
  instruction, and clarified that action markers are defined and executed by
  the host application — BEAR has no intrinsic actions, and only markers the
  application implements are meaningful.
- Corrected the descriptions of retrieval scoring and marker synthesis to
  match the released code (bear v0.1.8).
- Added a Data Availability Statement with a formal data citation for the
  archived simulation logs.
- Shortened the abstract; updated keywords; reframed for the Artificial Life
  audience; minor formatting (affiliation, DOI wrapping, page layout).

Files

behavioral-genetics-preprint.pdf

Files (1.1 MB)

Name Size Download all
md5:e58ebdc8b5e1fb0752e5045deca59348
1.1 MB Preview Download

Additional details

Related works

Is supplement to
Preprint: 10.5281/zenodo.19705463 (DOI)
Preprint: 10.5281/zenodo.19866912 (DOI)

Dates

Submitted
2026-07-15
Artificial Life

Software