Part I: Foundations

The Emergence of Self-Models

0:00 / 0:00

The Self-Effect Regime

As a controller becomes more capable it increasingly shapes its own future input. Its observations become consequences of its own past actions, routed back through some medium that preserves the trace of what it did. The self-effect ratio measures this loop-closure. For a system with policy π\policy in environment E\mathcal{E},

ρt=I(a1:t;ot+1∣x0)H(ot+1∣x0)\rho_t = \frac{\MI(\mathbf{a}_{1:t}; \mathbf{o}_{t+1} \mid \mathbf{x}_0)}{\entropy(\mathbf{o}_{t+1} \mid \mathbf{x}_0)}

the fraction of the information in future observations attributable to past actions. "Observations" here does not mean input from an external, manipulable world, as if loop-closure required hands. The criterion is loop-closure through any state-preserving medium. External media qualify: a depletable resource patch that remembers being consumed, a chemical trace that lingers. So do internal ones: a recurrent hidden state carrying an action's consequences forward, an autoregressive context window the agent writes into and then reads. What matters is whether the action leaves a durable trace that returns as input.

One fence is needed or the measure does no work. Every system with memory trivially acts on its own state, writing a register, advancing a hidden state, appending a token, so read without restriction ρ→1\rho \to 1 everywhere. The fix is viability relevance: ρ\rho counts only loop-closure through media whose preserved traces bear on the system's persistence. Self-model pressure arises only where modeling your own action-consequences improves prediction of your own persistence. A scratchpad full of survival-irrelevant actions inflates raw self-effect and contributes nothing fenced.

Passenger or Cause?

A simple way to think about ρ\rho. Fork a system at time tt: same starting state, but one copy takes its normal actions and the other takes random ones. After kk steps, how different are their viability-relevant observations? If ρ≈0\rho \approx 0 they are nearly identical and the system is a passenger: its actions leave no durable, survival-bearing trace that returns to it. If ρ>0\rho > 0 they diverge and the system is a cause.

This was measured directly in two substrates. In Lenia (), ρsync≈0.003\rho_{\text{sync}} \approx 0.003: patterns that evolved memory channels, insulation fields, and directed motion all read as passengers, because whatever a pattern does is mixed back into a global field by the next step. In protocell agents (), ρsync≈0.21\rho_{\text{sync}} \approx 0.21 from initialization: consume a resource and the patch is depleted, move and you reach different patches, emit a signal and the trace persists. The gap is architectural, present before any selection acts. A system cannot model itself as a cause if it isn't one. The self-model pressure described next activates only above a threshold ρc\rho_c, and below it there is nothing to model.

Self-Modeling as Prediction Error Minimization

When ρt\rho_t is large the agent's own policy is a major latent cause of its observations. Look at the world model's prediction task:

p(ot+1∣ht)=∑x,ap(ot+1∣xt+1)p(xt+1∣xt,at)p(xt∣ht)p(at∣ht)p(\mathbf{o}_{t+1} \mid \mathbf{h}_t) = \sum_{\mathbf{x}, \mathbf{a}} p(\mathbf{o}_{t+1} \mid \mathbf{x}_{t+1}) p(\mathbf{x}_{t+1} \mid \mathbf{x}_t, \mathbf{a}_t) p(\mathbf{x}_t \mid \mathbf{h}_t) p(\mathbf{a}_t \mid \mathbf{h}_t)

The term p(at∣ht)p(\mathbf{a}_t \mid \mathbf{h}_t) is the agent's own policy. A world model that treats actions as exogenous cannot model it, and systematic prediction error follows. For an agent with ρ>ρc\rho > \rho_c,

Lpred[W with self-model]<Lpred[W without self-model]\mathcal{L}_{\text{pred}}[\worldmodel \text{ with self-model}] < \mathcal{L}_{\text{pred}}[\worldmodel \text{ without self-model}]

because without a self-model the world model has to treat p(at∣ht)p(\mathbf{a}_t \mid \mathbf{h}_t) as a fixed prior, while the true action distribution depends on the agent's internal states, its beliefs, goals, and computational processes. Including a model of those states, a self-model S\selfmodel, improves prediction of at\mathbf{a}_t and so of ot+1\mathbf{o}_{t+1}, by an amount that scales with I(St;at)\MI(\selfmodel_t; \mathbf{a}_t) and so with ρ\rho.

A self-model is the part of the world model that represents the agent's internal states, its policy as a function of those states, its limits and biases, and the causal influence of all of that on action and observation. Self-modeling is neither mystical nor inevitable. It is an architecture-dependent solution to a recurrent prediction problem, useful when three things coincide: the system's actions materially shape later viability-relevant input; its policy depends on internal variables unavailable from current observation; and the architecture can represent those dependencies. The first two create selection pressure. The third decides whether the pressure can be satisfied. The "self" is the minimal latent variable that makes the agent's own behavior predictable.

The self-model has interiority. It does not describe the agent's body from outside; it captures the intrinsic view, goals, beliefs, anticipations, the agent's own experience of being an agent. Once it exists, the cheapest way to model other entities whose behavior resembles the agent's is to reuse it. The self-model becomes the template for modeling the world, and how much of that template the perceiver applies to a given entity is the ascription field α(x)\alpha(x) of Part II.

In eigenskeletal terms the self-model is a subbundle of the agent's representation, a set of modes carrying variance about the agent's own states, coupled to the modes representing the environment. When ρ\rho is low, self-modes and world-modes sit on independent rails. When ρ\rho crosses threshold they couple: predicting the world requires modeling the self, and modeling the self requires predicting the world. That recursive coupling is the structural signature of self-awareness, and, if experience is the structure, of experience.

Two further rungs need more. Counterfactual reasoning requires representing how different available actions would produce different futures. Metacognition requires modeling the reliability and limits of the modeling process itself. Each adds a causal loop and a representational demand, and the experiments below show that neither arrives for free.

The Cellular Automaton Perspective

Cellular automata make the lower rungs easy to inspect, with one clarification first: the automaton is not the thing with experience. It is the substrate, like quantum fields, or like the water in which lipid bilayers form. The grid is space, the update rule is physics, each timestep a moment. The patterns that emerge within it are the bounded systems and the candidates for affect structure. To talk about a glider in Life is not to say the automaton is conscious.

Everything above translates. In a uniform substrate no boundary is fundamental, every cell follows the same rule, so a boundary is a pattern of correlations: a set B\mathcal{B} whose members are mutually informative and informationally decoupled from everything outside, with ∂B\partial\mathcal{B} the contour where correlation falls below threshold. A glider's five cells are tightly correlated; the cells around them are not. The world model translates the same way, as configuration carrying mutual information about future observations rather than as a separate data structure.

What automata show more clearly than any other substrate is the recursive twist. When ρ\rho is high the world model must include the pattern, but the world model is part of the pattern, so the model must include itself. Here the self-model is not representational but constitutive: the cells tracking the pattern's state are part of the pattern whose state they track. The map is literally embedded in the territory. And persistence alone is not metabolism, agency, or self-modeling. A glider does not repair itself, consume anything, or compare possible actions. That gap is what the experiments measure.

What Supports Each Step

An immense spiral tower under construction, dwarfing the surrounding landscape, thousands of tiny workers ascending its ramps
Pieter Bruegel the Elder, The Tower of Babel, 1563The inevitability ladder: each rung is a consequence of the one below.
physicschemistrybiologypsychologyUnstable MicrodynamicsMetastable AttractorsEmergent BoundariesActive RegulationWorld ModelSelf-ModelMetacognitive DimensionalitybifurcationselectionmaintenancePOMDP structureρ > ρ_crecursion

Here is what supports each transition in the gradient, and how strongly. The first three arrows are entailments or close to it. The last three are enabling conditions.

TransitionSupportStrength
Microdynamics →\to attractorsBifurcation theory for driven nonlinear systemsEntailed above critical driving
Attractors →\to boundariesDifferential persistence of gradient-channeling structuresSelection argument; no convergence rate
Boundaries →\to regulationMaintenance under perturbationNear-definitional for self-maintaining structures
Regulation →\to predictive mechanismPOMDP sufficiency. : hidden states predict future position and energy above chanceSome sufficient statistic entailed; a rich model is not
Predictive mechanism →\to self-modelSelf-effect ratio above threshold. : ρsync≈0.21\rho_{\text{sync}} \approx 0.21 from initializationEnabling only; required an installed self-prediction module
Self-model →\to metacognitionModeling applied to the modeling processNot observed to arise in any substrate run

What Is Cheap and What Is Architecture-Gated

Consider a substrate-environment prior: a probability measure μ\mu over tuples (S,E,x0)(\mathcal{S}, \mathcal{E}, \mathbf{x}_0) of substrates, environments, and initial conditions. Call it broad if it assigns non-negligible measure to sustained gradients, sufficient dimensionality, locality, and bounded noise. The tempting conclusion is that under such a prior the whole ladder is typical. It is not, and the claim splits in two.

The lower rungs, structured attractors, boundaries, regulation, a predictive mechanism, and the affect geometry that comes with it, ask for little specialized architecture and recur across many systems: convection cells, membranes, bacteria, every synthetic substrate I have run. What they do not have is a proof of typicality. Bifurcation theory gives structured attractors as driving rises. But boundary formation does not approach probability one because time passes, and recurrence across a handful of substrates I selected and built is evidence about those substrates, not about the measure μ\mu assigns. How common the lower rungs are under any principled prior is open.

What can be said with more confidence is where the sequence stops. It does not extend to self-modeling, counterfactual weight, or high integration on its own. Each rung creates conditions under which the next may become useful; it does not force the next. Selection pressure is not architectural sufficiency. A world model in a self-effecting regime gives self-modeling positive selection pressure, and that pressure produces nothing unless the architecture can represent what it is being pushed toward. In the protocell experiments () the lower rungs appeared readily and the upper ones did not arise on their own: self-model salience required a self-prediction module I installed, and high integration appeared in a minority of seeds only after a non-decomposable prediction head was installed and the population had been through repeated stress and recovery. Substrate complexity with decomposable architecture never crossed. So "inevitable" splits, and both halves come out weaker than the word suggests: recurrence and low architectural demand below, specific non-generic architecture above.