Work

Generative Grammar Representations for Autonomous Evolutionary Algorithms in Large-Scale Projects

Year: 2026
Type: article
Abstract: Living things continue by copying a compact heritable material and growing from it, through a costly development, a body far larger than the material itself. This proposal paper carries that mechanism into the evolution of large projects, such as a codebase, a research programme or a body of writing made by people and language-model agents. Each individual of the population holds a compact generative material, a weighted grammar, from which a development derives a project; variation and selection act on the grammar. When a project is made by agents, the grammar may be induced from the record of its acts: which agent asked which agent for what, what a person asked, what was generated, committed and accepted, and how the workspace grew. The paper reads, from the biology of development and evolvability, the mechanisms by which life prolongs generativity through heritable material, each with what an algorithm can take from it and where the analogy ends. Its major part is formal. A record is an event–coupling–primitive complex whose vertices are events of many kinds, typed by an ontology; the schema of records is a category, verified by the infrastructure’s foundation of category theory. A grammar of records has terminals, nonterminals and productions that replace a nonterminal cell at its boundary events; derivation generates records, reduction parses them, a group fixes when two patterns are one rule, and induction compresses records and merges what it found. Two versions of the grammar follow from two representations of a record: a geometric version, a variant of the geometric graph grammars of Fiser and colleagues, reads a record drawn in the plane of time and lanes and tells the rhythm of work from its tempo; a spin-foam version weighs each derivation by a state sum over the record’s 2-complex, which weighs its closed shells, factorises over the derivation when faces stay within productions, and turns a weighted grammar into a probabilistic one with the same distribution. A model of worth and cost follows: development by a machinery under an environment, with draws keyed by address; generativity, the expected product of being new, holding and being the project’s own; reserved acts that only persons perform, kept as holes in every derivation; the cost of re-derivation; and the debt of generativity as a divergence, bounded below by its manifest part. Twelve propositions are proved. Prototypes at small scale check seven of them and a corollary, evolve a project through three epochs of its environment with the cost of re-derivation counted, induce grammars from the commit records of 20 repositories, recover a grammar close to a planted one from its records, induce the geometric version from records drawn in lanes, and compute the spin-foam version exactly. A companion paper takes up the channels by which generativity is carried outside the individual.
Language: English
Open Access status: green
OpenAlex ID: W7237827692
FWCI:
Cites:
Cited by:
Related to: