society: the dynamic Lamarckian society — the vertical claim (E11 / C3)

The culmination. A finite population of agents (genotypes, L loci) evolves
on a rugged NK landscape that IS reality (knowledge/dynamic_society.py),
composing the four operators the whole study built toward: grounding,
directed recombination (sex), quality-diversity selection, and mutation.
Grounding is made load-bearing via the consensus-conformity (self-
consumption) mechanism (GG decision): selection acts on
g*true_fitness + (1-g)*conformity, where conformity = agreement with the
population's own consensus, so at g=0 the society optimises fitting-the-
crowd rather than reality.

4-arm ablation (12 reps), each breaking distinctly, only the full society
climbing (global_opt ~ 0.79):
- full         0.78  climbs to the optimum, diversity maintained longest
- no_sex       0.77  can't recombine to escape local optima
- no_diversity 0.74  greedy: collapses diversity fastest, worse local optimum
- no_grounding 0.48  self-consumption collapse to an unfit consensus
                     (trains on the crowd -> confident-but-wrong mean;
                      conformity-true gap ~ 0.5)

This integrates E1-E6 + the learning kernel + E7-E10 into one system and
shows the Lamarckian society needs ALL of grounding + directed sex +
diversity: on a rugged landscape you need diversity to explore basins, sex
to recombine them, and grounding to select on reality -- remove any one and
you fail differently. Closes the C3 vertical claim analytically; the LLM
rung remains the eventual empirical instantiation.

New: knowledge/dynamic_society.py, configs/layer1/E11.yaml, figures/
plot_E11.py, README, tests/test_dynamic_society.py (+5). kind:
dynamic_society dispatch; make layer1 wired. 122 tests green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Giorgio Gilestro 2026-07-05 12:34:01 +01:00
parent 48181a1c84
commit 0f7b775ae5
13 changed files with 460 additions and 5 deletions

View file

@ -296,11 +296,20 @@ C3 vertical claim deferred.*
risk when entangled (E9); directed sex resolves it (E10). `configs/layer1/{E9,E10}.yaml`,
`plot_{E9,E10}.py`, READMEs, +5 tests (117 green).
## Remaining (all optional / next)
**2026-07-05 — the dynamic Lamarckian society (E11): the vertical claim / C3 realized.**
- [ ] **The dynamic society:** an evolving *population of parents* (specialists) that ground +
recombine + select over generations — capability climbing while specialties are re-earned (the full
C3, dynamic). E7/E8 give the static + single-population pieces; the multi-parent *lineage* is next.
- `knowledge/dynamic_society.py`: finite population of N agents (genotypes) on a rugged NK landscape
(reality); composes grounding + directed sex + quality-diversity selection + mutation. Grounding
made load-bearing via consensus-conformity (self-consumption): selection on
`g·true_fitness + (1-g)·conformity` (GG decision). `kind: dynamic_society` dispatch.
- **4-arm ablation (12 reps), each breaks distinctly (global_opt≈0.79):** full 0.78 (climbs to optimum,
diversity maintained longest); no_sex 0.77; no_diversity/greedy 0.74; **no_grounding 0.48
(self-consumption collapse to unfit consensus).** Only the full society climbs. Integrates E1-E6 +
kernel + E7-E10 into one system: needs ALL of grounding + directed sex + diversity.
- `configs/layer1/E11.yaml`, `plot_E11.py`, README, `tests/test_dynamic_society.py` (+5, 122 green).
Closes C3 analytically; the LLM rung remains the eventual empirical instantiation.
## Remaining (all optional / next)
- [ ] **NK/epistasis landscape** (sign epistasis can make recombination harmful — the honest limit of
"sex always helps"); **multi-allelic loci**. Deepens the frame.
- [ ] **Learning-kernel refinement:** truth-like smoothing prior (`prior="truth"`) + measurement floor