Part I: Foundations

From Boundaries to Models

From Boundaries to Models

The Necessity of Regulation Under Uncertainty

Once a boundary exists, it must be maintained—the interior held distinct from the exterior despite perturbation, degradation, and environmental fluctuation. This maintenance problem has a specific structure.

Let the interior state be sinRm\mathbf{s}^{\text{in}} \in \R^m and the exterior state be soutRk\mathbf{s}^{\text{out}} \in \R^k. The boundary mediates interactions through:

  • Observations: ot=g(stout,stin)+ϵt\mathbf{o}_t = g(\mathbf{s}^{\text{out}}_t, \mathbf{s}^{\text{in}}_t) + \bm{\epsilon}_t
  • Actions: atA\mathbf{a}_t \in \mathcal{A} (boundary permeabilities, active transport, etc.)

The system’s persistence requires maintaining sin\mathbf{s}^{\text{in}} within a viable region Vin\viable^{\text{in}} despite:

  1. Incomplete observation of sout\mathbf{s}^{\text{out}} (partial observability)
  2. Stochastic perturbations (environmental and internal noise)
  3. Degradation of the boundary itself (requiring continuous repair)
  4. Finite resources (energy, raw materials)

The consequence runs deep: regulation requires modeling. Let S\mathcal{S} be a bounded system that must maintain sinVin\mathbf{s}^{\text{in}} \in \viable^{\text{in}} under partial observability of sout\mathbf{s}^{\text{out}}. Any policy π:OA\policy: \mathcal{O}^* \to \mathcal{A} achieving viability with probability p>prandomp > p_{\text{random}} (the viability probability under random actions) implicitly computes a function f:OZf: \mathcal{O}^* \to \mathcal{Z} where Z\mathcal{Z} is a sufficient statistic for predicting future observations and viability-relevant outcomes.

Proof.

By the sufficiency principle, any policy that beats random must exploit statistical regularities in the observation sequence. Exploited, those regularities constitute an implicit model of the environment’s dynamics. The minimal such model is the sufficient statistic for the prediction task—in the POMDP formulation (below), the belief state.

POMDP Formalization

A bounded system under uncertainty admits precise formalization as a Partially Observable Markov Decision Process (POMDP).

Existing Theory

The POMDP framework connects this analysis to several established research programs:

  • Active Inference (Friston et al., 2017): Organisms as inference machines minimizing expected free energy through action. The “belief state sufficiency” result here is their “Bayesian brain” hypothesis formalized.
  • Predictive Processing (Clark, 2013; Hohwy, 2013): The brain as a prediction engine, with perception as hypothesis-testing. The world model W\worldmodel is their “generative model.”
  • Good Regulator Theorem (Conant and Ashby, 1970): Every good regulator of a system must be a model of that system. The belief state sufficiency result above is a POMDP-specific instantiation.
  • Embodied Cognition (Varela et al., 1991): Cognition as enacted through sensorimotor coupling. The emphasis here on the boundary as the locus of modeling aligns with enactivist insights.

Formally, a POMDP is a tuple (X,A,O,T,O,R,γ)(\mathcal{X}, \mathcal{A}, \mathcal{O}, T, O, R, \gamma) where:

  • X\mathcal{X}: State space (true world state, including system interior)
  • A\mathcal{A}: Action space
  • O\mathcal{O}: Observation space
  • T:X×A×X[0,1]T: \mathcal{X} \times \mathcal{A} \times \mathcal{X} \to [0,1]: Transition kernel, T(xx,a)T(\mathbf{x}’ | \mathbf{x}, \mathbf{a})
  • O:X×O[0,1]O: \mathcal{X} \times \mathcal{O} \to [0,1]: Observation kernel, O(ox)O(\mathbf{o} | \mathbf{x})
  • R:X×ARR: \mathcal{X} \times \mathcal{A} \to \R: Reward function
  • γ[0,1)\gamma \in [0,1): Discount factor

The agent never observes xt\mathbf{x}_t directly, only otO(xt)\mathbf{o}_t \sim O(\cdot | \mathbf{x}_t). The sufficient statistic for decision-making is the belief state—the posterior over world states given the history:

bt(x)=P(xt=xo1:t,a1:t1)\belief_t(\mathbf{x}) = \prob(\mathbf{x}_t = \mathbf{x} \mid \mathbf{o}_{1:t}, \mathbf{a}_{1:t-1})

The belief state updates via Bayes’ rule:

bt+1(x)=O(ot+1x)xT(xx,at)bt(x)xO(ot+1x)xT(xx,at)bt(x)\belief_{t+1}(\mathbf{x}’) = \frac{O(\mathbf{o}_{t+1} | \mathbf{x}’) \sum_{\mathbf{x}} T(\mathbf{x}’ | \mathbf{x}, \mathbf{a}_t) \belief_t(\mathbf{x})}{\sum_{\mathbf{x}”} O(\mathbf{o}_{t+1} | \mathbf{x}”) \sum_{\mathbf{x}} T(\mathbf{x}” | \mathbf{x}, \mathbf{a}_t) \belief_t(\mathbf{x})}

A classical result establishes that bt\belief_t is a sufficient statistic for optimal decision-making: any optimal policy π\policy^* can be written as π:Δ(X)A\policy^*: \Delta(\mathcal{X}) \to \mathcal{A}, mapping belief states to actions.

So any system that performs better than random under partial observability is implicitly maintaining and updating a belief state—a model of the world.

The World Model

In complex environments the full belief state is computationally intractable. Real systems maintain compressed representations.

A world model is a parameterized family of distributions Wθ=pθ(ot+1:t+Hht,at:t+H1)\worldmodel_\theta = {p_\theta(\mathbf{o}_{t+1:t+H} | \mathbf{h}_t, \mathbf{a}_{t:t+H-1})} that predicts future observations given history ht\mathbf{h}_t and planned actions, for some horizon HH.

Modern implementations in machine learning typically use recurrent latent state-space models:

Latent dynamics:pθ(zt+1zt,at)Observation model:pθ(otzt)Inference:qϕ(ztzt1,at1,ot)\begin{aligned}\text{Latent dynamics:} \quad & p_\theta(\latent_{t+1} | \latent_t, \mathbf{a}_t) \text{Observation model:} \quad & p_\theta(\mathbf{o}_t | \latent_t) \text{Inference:} \quad & q_\phi(\latent_t | \latent_{t-1}, \mathbf{a}_{t-1}, \mathbf{o}_t)\end{aligned}

The latent state zt\latent_t serves as a compressed belief state, and the model is trained to minimize prediction error:

Lworld=E[logpθ(otzt)+βKL[qϕ(zt)pθ(ztzt1,at1)]]\mathcal{L}_{\text{world}} = \E\left[ -\log p_\theta(\mathbf{o}_t | \latent_t) + \beta \cdot \KL\left[ q_\phi(\latent_t | \cdot) | p_\theta(\latent_t | \latent_{t-1}, \mathbf{a}_{t-1}) \right] \right]

The world model is not an optional add-on. It is the minimal object that makes coherent control possible under uncertainty. Any system that regulates effectively under partial observability has one—explicit or implicit.

World Models in AI

The theoretical necessity of world models is now being realized in artificial systems:

The world-model structure derived above is also what emerges when building capable artificial agents. The convergence is not coincidence—it reflects the mathematical structure of the control-under-uncertainty problem.

The Necessity of Compression

The world model is not merely convenient—it is constitutively necessary. This follows from an asymmetry between the world and any bounded system embedded within it.

The information bottleneck (Tishby et al., 1999) makes this precise.

Let W\mathcal{W} be the world state space with effective dimensionality dim(W)\dim(\mathcal{W}), and let S\mathcal{S} be a bounded system with finite computational capacity CSC_\mathcal{S}. Then:

dim(z)CSdim(W)\dim(\latent) \leq C_\mathcal{S} \ll \dim(\mathcal{W})

where z\latent is the system’s internal representation. The world model necessarily inhabits a state space smaller than the world.

Proof.

The world holds effectively unbounded degrees of freedom—every particle, every field, their interactions across all scales. Any physical system has finite matter, energy, spatial extent—hence finite information capacity. It cannot represent the world at full resolution. It must compress. Not a limitation to overcome but a constitutive feature of being a bounded entity in an unbounded world.

The compression ratio of a world model captures how aggressively this simplification operates:

κ=dim(Wrelevant)dim(z)\kappa = \frac{\dim(\mathcal{W}_{\text{relevant}})}{\dim(\latent)}

where Wrelevant\mathcal{W}_{\text{relevant}} is the subspace of world states affecting viability. The ratio measures how much the system must discard to exist. The implication: compression determines ontology. What a system can perceive, respond to, and value is fixed by what survives compression. The world model’s structure—which distinctions it keeps, which it collapses—is the system’s effective ontology.

The information bottleneck principle formalizes this: the optimal representation z\latent maximizes information about viability-relevant outcomes while minimizing complexity:

maxz[I(z;viability outcomes)βI(z;o)]\max_{\latent} \left[ \MI(\latent; \text{viability outcomes}) - \beta \cdot \MI(\latent; \obs) \right]

The Lagrange multiplier β\beta controls the compression-fidelity tradeoff. Different β\beta values yield different creatures: high β\beta produces simple organisms with coarse world models; low β\beta produces complex organisms with rich representations.

The world model is not a luxury or an optimization strategy. It is what it means to be a bounded system in an unbounded world. The compression ratio is not a parameter to minimize but a constitutive feature of finite existence. What survives compression is what the system is.

This has a precise architectural consequence the experiments confirm (Part VII, ). A linear prediction head compresses hidden state to output through a single weight matrix—and a single matrix always decomposes into independent columns, each serving a separate target dimension. The result is a factored ontology: internal states channeled into independent streams, no pressure to coordinate. Replace the linear map with two layers and the compression changes. The chain rule through two weight matrices makes every hidden dimension's gradient depend on every other dimension's activation at the intermediate layer. Now compression demands coordination. What survives is not a collection of independent features but a coupled representation—parts that cannot be understood without the whole. Compression does not merely fix what the system perceives. It fixes whether its internal states are unified or factored.

The distinction runs deeper. The environment has its own modes of variation: temperature cycles, predator patterns, resource fluctuations, social dynamics. These modes are not independent. Predator presence couples to resource availability; weather couples to everything. The environment's dynamics have an eigenskeleton—a pattern of mode couplings defining how perturbations propagate, how causes connect to effects, how one kind of change transforms into another. The agent cannot track all of it; its representation is smaller than the world. Compression selects which modes to preserve and—crucially—which couplings between modes to preserve.

A linear compression preserves modes independently: each dimension kept or discarded on its own merits, no coupling between survivors. Call this a flat eigenskeleton—modes globally independent, decomposable by construction. The system tracks several aspects of the world but not how they relate. A nonlinear compression—two layers, a bottleneck, a chain rule—preserves mode couplings: every surviving mode's gradient depends on every other's activation. Call this a curved eigenskeleton—modes irreducibly coupled, curvature measuring coupling strength. The system tracks not just what varies but how variation in one dimension twists into another. The decomposability wall confirmed by is the wall between flat and curved: independent rails versus a connected skeleton. The flat eigenskeleton is exoskeletal—the mode structure IS the boundary between agent and environment: rigid, efficient within its predicted envelope, brittle outside it. The curved eigenskeleton is endoskeletal—the couplings internal, layered beneath an interface that deforms under novel input without cracking the core. The exoskeletal system—a linear head, an insect, a rigid ideology—must catastrophically molt when the environment shifts: retrain, collapse, hallucinate, shed the old surface and harden a new one in a window of total vulnerability. The endoskeletal system absorbs the shift into its coupling and deforms continuously, growing without catastrophic restructuring. Intelligence, here, is not how many modes the agent tracks. It is how faithfully its internal mode couplings mirror the world's—how well the internal eigenskeleton embeds the environmental one through the sensory bottleneck. This distinction will become central.

Attention as Leverage

Compression determines what can be perceived. A second operation determines what is: attention. Even within the compressed representation, the system cannot respond to all viability-relevant features at once. It must allocate processing. Attention is that allocation.

In any system sensitive to initial conditions—and all nonlinear driven systems are—what gets measured has consequences beyond what it reveals. It biases which trajectories the system becomes correlated with.

The claim: attention is the highest-leverage control variable. Let a system S\mathcal{S} inhabit a chaotic environment where small differences in observation lead to divergent action sequences. Its attention pattern ω:O[0,1]\omega: \mathcal{O} \to [0,1] weights which observations are processed at high fidelity and which are compressed or discarded. (The symbol ω\omega is reserved for attention throughout; α\alpha denotes ascription, an unrelated perceptual axis introduced in Part II.) Since actions depend on processed observations and actions shape future states, a small change in ω\omega steers the system onto a markedly different trajectory. Attention is not where a sovereign chooser stands above physics and picks. It is the variable the trajectory is most sensitive to.

Not metaphor. In deterministic chaos, trajectories diverge exponentially from nearby initial conditions. The attention pattern determines which perturbations are registered and which ignored—it biases which branch of the diverging bundle the system follows. Unattended perturbations are not “collapsed” or destroyed; they persist in the environment's dynamics. But the system’s future becomes correlated with what it attended to and decorrelated from what it did not.

The mechanism admits a precise formulation. Let p0(x)p_0(\mathbf{x}) be the a priori distribution over states—the probability of finding the environment in state x\mathbf{x}, governed by physics. Let ω(x)\omega(\mathbf{x}) be the measurement distribution—the probability the system attends to, and registers, a perturbation at x\mathbf{x}. The effective distribution it becomes correlated with is:

peff(x)=p0(x)ω(x)p0(x)ω(x),dxp_{\text{eff}}(\mathbf{x}) = \frac{p_0(\mathbf{x}) \cdot \omega(\mathbf{x})}{\int p_0(\mathbf{x}’) \cdot \omega(\mathbf{x}’) , d\mathbf{x}’}

The system does not control p0p_0—that is physics. The leverage lives in ω\omega—attention. Sharply peaked (narrow attention), the effective distribution concentrates on a small region regardless of the prior; broad (diffuse attention), it approximates the prior. The trajectory follows from the sequence of effective distributions, each conditioned on the previous—and each ω\omega shapes the next, since what a system attends to now sets which features dominate the state that fixes its next attention. Attention is recursive: current settings bias future settings, and the loop compounds.

The consequence for agency requires care, because this book insists every branch is fully deterministic and that the attention pattern is itself a product of the system’s internal dynamics—its world model, its self-model, its policy. There is no uncaused chooser standing behind ω\omega picking among branches. So the earlier language of attention “selecting” a trajectory was wrong: it smuggled in a libertarian homunculus, when there is only caused dynamics. The compatibilist correction: attention does not introduce freedom into a deterministic world; it identifies the point of maximum leverage within it. By the chaotic sensitivity already invoked, the trajectory depends more strongly on the current attention-setting than on almost any other variable, and that setting feeds recursively into future ones. Determinism is preserved—nothing chooses uncaused. Agency is real—in the precise sense that the system’s internal states (values, goals, attention distribution) are the variables through which large changes in outcome are leveraged. Agency does not require violating physical law; it requires that the system’s own dynamics be the high-leverage cause of which trajectory unfolds. They are. This is why attentional sovereignty is worth defending: not because attention is free, but because attention is the lever. Capture a system’s attention and you capture its trajectory. Control-capture, not free-will-violation, is what is at stake.

This leverage operates at the population level too. In evolutionary experiments (), different seeds follow different trajectories through the same landscape—not because initial conditions differ (all start identically) but because the drought-recovery measurement distribution differs: which agents survive each bottleneck biases which evolutionary path the population follows. The correlation between post-drought recovery and mean integration across seeds is r=0.997r = 0.997. The measurement distribution—which perturbations are survived rather than attended to—is the high-leverage variable. Same equation, different scale.

This leverage has temporal depth. Once measurement information is integrated into the belief state, the system’s future must stay consistent with what was observed: a registered observation constrains the trajectory, and the system cannot “un-observe” a perturbation. But if entropy degrades the information—forgotten, overwritten, lost to noise—the constraint dissolves and the space of accessible futures re-expands. Sustained attention functions as repeated measurement: it continuously re-constrains the trajectory, stabilizing it near states consistent with the attended feature. Analogous to the quantum Zeno effect, where repeated measurement keeps a system from evolving away from its measured state—but the classical version needs no quantum mechanics, only the sensitivity of chaotic dynamics to which perturbations are registered.

Open Question

The mechanism admits a speculative extension. In an Everettian quantum framework, where all measurement outcomes coexist as branches, attention would bias not just which classical trajectory the system follows but which quantum branch it becomes entangled with. The effective distribution equation above would apply at the quantum level: the a priori distribution is the quantum state, the measurement distribution is the observer’s attention pattern, and the effective distribution governs which branch the observer entangles with.

Whether this extension is necessary turns on whether quantum coherence persists at scales relevant to biological attention—and the evidence is currently against, given decoherence timescales at biological temperatures. But the classical claim (attention is the high-leverage variable among chaotically-divergent trajectories) requires no quantum commitment, and it is enough: what a system attends to partially determines what happens to it, not merely what it knows about what happens. The extension is noted only because the formal structure is identical at both scales—the same equation governs the leverage of measurement whether the dynamics are classical-chaotic or quantum-mechanical.