Live: the stability bound, and what five experiments did to it
Five experiments on whether systems that grow their own complexity drive themselves toward their own instability, and on the conditions under which they do not.
Accretion drives a system to its own critical point when new elements degrade existing ones, and not otherwise.
A community assembled one species at a time drives its leading eigenvalue from 0.84 of the bulk spectrum to 0.03, with nothing tuning it there and no maintenance cost present. A Hopfield associative memory, which shares no mathematics with Lotka-Volterra, does the same. A random Boolean network does not: its endpoint tracks how it was built. What separates them is interference, the degree to which an arrival degrades what is already present, measured at 0.028 and 0.007 in the two that converge and exactly zero in the one that does not.
Two further results fall out of that. Modularity does not protect against it: compartments do not slow the approach to criticality at all, and by the time a system arrives there, containment has already failed for every partial separation. And nothing warns you: across 61 collapsing and 88 surviving histories, variance separates them by 0.04 and autocorrelation by minus 0.14, because a system permanently at marginal stability has nothing left to slow down from.
A system of this kind walks to its own edge, and gives no notice when it goes over.
Stated up front because it is the first thing worth knowing. Several results here were established before this repository existed and are reproduced rather than discovered:
- Modularity does not stabilise at equal connectance: Grilli, Rogers & Allesina (2016), with the spectral boundary of block-structured ensembles since derived analytically and far more generally by Patil, Aguirre-Lopez & Bouchaud (2024).
- Assembled communities sit at marginal stability: Biroli, Bunin & Cammarota (2018).
- Resource constraint as a condition for self-organisation is established in the self-organised criticality literature, and the Hopfield result sits adjacent to the palimpsest forgetting literature.
What has not been located in the literature is the cross-substrate comparison itself: three substrates under one normalised margin, with interference identified by a controlled contrast rather than asserted. That may also be known. Enquiries are out.
| Claim | Status | Where |
|---|---|---|
P1. Maintenance cost grows superlinearly, so marginal returns fall past C* |
Partly supported. Superlinear cost alone only shrinks the system. Collapse also needs the cost to fall on survivors, and then C* is real |
05 |
| P2. Variance and autocorrelation rise before collapse | False here. Variance discriminates collapse from survival by 0.04, autocorrelation by -0.14, on 61 collapsing and 88 surviving runs | 05 |
| P3. Large failures become more common as coupling rises | Supported. Largest cascade per arrival grows with richness at every interaction strength | 02 |
| P4. At equal complexity, modular systems outlast integrated ones | False as stated, and already known false analytically | 01 |
| Complexification drives a system to its own stability boundary | Supported. Scale-free distance falls from 0.84 to 0.03 during assembly | 02 |
| Modularity caps failure size | Supported, at roughly 1/m, but the cap is graded and degrades toward criticality |
01 |
| Modularity's protection fails at the state assembly selects | Supported. Tested directly in one model. Only complete separation holds, and a uniform background coupling undoes even that | 03 |
| Compartments slow the approach to criticality | False. Every level of compartmentalization reaches the same marginal state | 03 |
| Assembly raises the propagation scale | Not supported. Reach rises with complexity as a size effect; a matched random draw has the same reach | 02 |
| The mechanism is not peculiar to ecology | Supported. Hopfield networks share no mathematics with Lotka-Volterra and converge to criticality anyway | 04 |
| Accretion alone drives any system to criticality | False. Boolean networks do not converge; their endpoint tracks K |
04 |
| Interference is what separates the substrates that converge from those that do not | Supported by one contrast, not established. Degradation per arrival: 0.0282, 0.0074, and exactly 0 | 04 |
Neither experiment establishes this on its own, and it is the most interesting thing here, so it is stated as an open hypothesis rather than a result:
Modularity's protection fails precisely at the state that assembly selects for.
Stated as an open hypothesis before experiment 03 ran, because experiments 01 and 02 used different models and could only converge on it qualitatively. Experiment 03 tested it directly in a single model and it held, with a strengthening that was not predicted: complete separation of the fluctuating interactions is not sufficient either. A uniform background coupling of 0.00125 per pair, with all of the interaction variance moved inside the compartments, still breaks containment at criticality. Walls have to stop everything.
Compartments also turn out not to slow the approach to criticality at all. Every level of modularity reaches the same marginal state.
| Question | Answer | |
|---|---|---|
| 01. Drawn | Does compartmentalization move May's stability bound? | No, and it was already known. It caps damage instead, gradedly |
| 02. Grown | Does a community that grows its own complexity walk to the edge? | Yes, and with no help |
| 03. Grown into compartments | Does containment survive at the endpoint assembly picks? | No. Walls do not slow criticality, and only complete separation contains damage there |
| 04. Other substrates | Does self-driven criticality appear in systems with no ecology in them? | In two of three. The one that fails shows what the necessary ingredient is |
| 05. Maintenance cost | Does a maintenance cost produce a threshold, and does anything warn you? | Only if survivors carry it. And nothing warns you |
The defensible claim is narrower than the thesis wanted and more useful than the thesis had:
Complexification drives systems to marginality wherever complexity is built from elements that compete for something finite. Where arrival is free, it does not.
That is a cross-domain statement formal enough to fail, which is what the original working note said nobody had produced. Failing it is specific: find a substrate with interference that does not converge, or one without interference that does.
What it does not reach, and no experiment here can, is whether the universe is such a system.
Two further results bear on the thesis as originally formalised. The superlinear maintenance exponent that P1 rests on is not the operative ingredient: cost that scales with size merely shrinks a system, and collapse requires instead that the cost fall on whoever is left, so that losing members raises the burden on the rest. And the early warnings P2 relies on do not work here, for a reason that follows from the rest of the programme: a system permanently at marginality has nothing left to slow down from, so critical slowing down cannot signal anything. A system of this kind walks to its own edge, and gives no notice when it goes over.
Each experiment directory is self-contained: its own README stating what it asked and what it found, its own scripts, saved results and figures.
src/suc/ models and shared measures, imported by every experiment
may.py random community matrix, stability, press perturbation
assembly.py generalized Lotka-Volterra assembly, plus the modular pool
substrates.py Hopfield memory and random Boolean networks
maintenance.py assembly under a maintenance cost, and early-warning detectors
figstyle.py shared figure style and the validated palettes
experiments/ one directory per experiment, self-contained
site/ source for the lab note
docs/ the built lab note, served at the GitHub Pages link above
python -m venv .venv && .venv/bin/pip install -r requirements.txtThen run any experiment from its own directory. Scripts put src/ on the path
themselves, so nothing needs installing:
cd experiments/02-assembly && ../../.venv/bin/python run_assembly.py- Every result gets a control before it gets believed. Both headline measures in experiment 02 have one: a scale-free reading so shrinking abundances cannot fake the walk to the edge, and a matched random draw so community size cannot fake reach. The second control killed a result I wanted.
- Negative results stay in, with the same prominence as positive ones.
- Corrections are commits, not edits. Experiment 01's containment claim was wrong in the first version and the history says so.
- Check the literature before claiming novelty. Result 2 of experiment 01 turned out to be a numerical instance of a theorem proved in 2016, and experiment 02's core result was established in 2018. Both READMEs say so.
- Check that the mechanism can bite before interpreting the output. Experiment 05's
first model returned identical results at every parameter, because the Lotka-Volterra
equilibrium is scale-invariant in
Kand a cost expressed as a reduction inKcannot change composition. An inert model is easy to mistake for a null result. - The filter must not be the thing being measured. Every viability filter in experiment 04 is functional rather than stability-based, so criticality has to emerge instead of being enforced. A filter that said "stay stable" would have assumed the conclusion.
- Small samples in signal detection are how false positives happen. Experiment 05's first pass at P2 had 12 collapses and showed variance rising in 0.75 of them against 0.31 of survivals, which looks decisive. At 61 it is 0.54 against 0.50.
The models, experiments, figures and prose here were written with AI assistance, which is recorded in the trailer on every commit. The questions, the experimental designs, the decisions about what counted as a control and what counted as a refutation, and the claims made in this repository are mine, as are any errors in them.
Everything is stated so that it can be checked rather than taken on trust: fixed seeds, the controls alongside the results they qualify, and the two overturned claims left visible in the history rather than quietly removed.
Code under MIT, prose and figures under CC BY 4.0. See LICENSE.
Allesina, S. & Tang, S. (2012). Stability criteria for complex ecosystems. Nature 483, 205-208. Amit, D. J., Gutfreund, H. & Sompolinsky, H. (1985). Storing infinite numbers of patterns in a spin-glass model of neural networks. Phys. Rev. Lett. 55, 1530-1533. Bender, E. A., Case, T. J. & Gilpin, M. E. (1984). Perturbation experiments in community ecology. Ecology 65, 1-13. Biroli, G., Bunin, G. & Cammarota, C. (2018). Marginally stable equilibria in critical ecosystems. New J. Phys. 20, 083051. Bunin, G. (2017). Ecological communities with Lotka-Volterra dynamics. Phys. Rev. E 95, 042414. Derrida, B. & Pomeau, Y. (1986). Random networks of automata: a simple annealed approximation. Europhys. Lett. 1, 45-49. Grilli, J., Rogers, T. & Allesina, S. (2016). Modularity and stability in ecological communities. Nat. Commun. 7, 12031. Kauffman, S. A. (1969). Metabolic stability and epigenesis in randomly constructed genetic nets. J. Theor. Biol. 22, 437-467. May, R. M. (1972). Will a large complex system be stable? Nature 238, 413-414. Patil, N., Aguirre-Lopez, F. & Bouchaud, J.-P. (2024). The spectral boundary of block structured random matrices. arXiv:2312.11149. McCann, K. S. (2000). The diversity-stability debate. Nature 405, 228-233. Scheffer, M. et al. (2009). Early-warning signals for critical transitions. Nature 461, 53-59. Stouffer, D. B. & Bascompte, J. (2011). Compartmentalization increases food-web persistence. PNAS 108, 3648-3652. Tainter, J. A. (1988). The Collapse of Complex Societies. Cambridge University Press.
Is the universe not merely capable of producing its own destruction, but structurally predisposed to do so by the very process through which complexity emerges?
That question is the motivation. It is not what gets tested here, and it does not need to be, because it rests on a mechanistic claim that does get tested:
Do independent processes of complexification repeatedly produce a state in which the system's capacity to absorb perturbation approaches zero?
Note the care in the wording. "Complexity generates its own fragility" sounds causal and claims more than the measurements support. What the models actually show is that complexification drives systems toward marginal stability, which may happen through interaction density, coupling, dimensionality, correlated response or something else again. Which of those is the invariant is precisely what experiment 04 is for.
The relationship between the two is a necessary condition, and it needs stating carefully. If complexification does not generically produce its own fragility, then the cosmological argument from complexification fails. Not the cosmological thesis outright: someone could propose a different mechanism by which the universe is predisposed to undermine itself, and nothing here would touch it. What dies is this argument for it, which is the one worth defending because it is the one that can be tested. If complexification does produce fragility, generically and across substrates, the argument is live and what remains is a question about scope rather than about mechanism.
So this repository is the science the thesis stands on. Three things have to hold.
The mechanism has to be endogenous. Fragility must come from the process that builds complexity, not from wear, shock or exhaustion arriving afterwards. True in one model class, shown by experiment 02 and established before that by Biroli, Bunin and Cammarota (2018). Reproduced here, not discovered here.
It has to be generic. One model class is an existence proof, not a structural claim. Here, "structurally" means the effect recurs across independent substrates rather than being peculiar to one physical implementation. Experiment 04 tested this and the word is partly earned. Associative memories share no mathematics with Lotka-Volterra and converge to criticality anyway, so the phenomenon is not an artefact of ecology. But Boolean networks do not converge, so accretion alone is not sufficient. What separates them is interference, whether a new element degrades the elements already present, and that yields a sharper claim than universality would have:
Accretion drives a system to its own critical point when new elements degrade existing ones, and not otherwise.
It has to survive the observer. The Epistemic Filter argues that evolved observers over-detect purpose, and "predisposed" is a purpose word. Stories of order consuming itself recur in every end-of-days tradition, which is what the filter predicts whether or not the cosmos cooperates. The defence is built into the method rather than argued: these are formal systems with no observers inside them, and the measures are scale-free or tested against matched nulls, so a result cannot be a projection.
The strongest objection to the thesis is thermodynamic: complexity and destruction may share a cause, the low-entropy past, rather than one causing the other. Structure formation and its undoing would then be siblings, not parent and child.
Experiment 02 bears on this directly. Generalized Lotka-Volterra has no thermodynamic gradient in it. Nothing is being spent, no free energy is running down, there is no low-entropy past. Complexity still drives itself to the edge of stability. Whatever produces the fragility there, it is not the shared thermodynamic cause, because that cause is absent from the model.
Stated at the strength the evidence supports: thermodynamic exhaustion is not necessary for an endogenous, complexity-driven approach to instability. That is narrower than "therefore complexity destroys itself" and far more defensible, and it is enough to deny the common-cause objection its claim to be the whole explanation.
That is one model class, which is why experiment 04 exists. But it is the right kind of evidence against the strongest objection the thesis faces, and it was not available before.
The Maintenance Thesis stipulates three ingredients: the benefit of complexity levels off,
maintenance cost grows faster than linearly, and coupling rises with complexity. Together
they give a threshold C* past which returns turn negative, with modularity as the escape
clause.
Experiment 02 suggests it is over-specified. A model with none of those three ingredients, and no maintenance cost at all, still reaches marginal stability. The candidate replacement, which experiment 04 would test:
Maintenance costs are sufficient but not necessary for self-undermining complexification.
That is good news for the thesis and bad news for this formalization of it.
