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

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.

Authors

Publication Details

Journal
Knowledge Commons Works (Michigan State University)
Published
2026-11-22
DOI
https://doi.org/10.17613/j1yq9-zhq39
Primary Topic
Evolutionary Algorithms and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Wanhong HUANG
Knowledge Commons Works (Michigan State University)
Evolutionary Algorithms and Applications
article

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

Wanhong HUANG
article en

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.

Knowledge Commons Works (Michigan State University)
Evolutionary Algorithms and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon