# Reflexive Broadcast: An Energy-Based Mechanism for Artificial Access Consciousness, Validated Against the Disorders of Consciousness

- Authors: Krrish Choudhary
- Published: 2026-06-06
- Tags: AI
- Web page: https://verace.in/research/reflexive-broadcast
- Status: Where this paper speaks of an audit, the audit was the lab's own.

## Abstract

Today's artificial systems perceive, predict, and act, yet they hold no model of themselves as the entity doing so, expose no single coherent content to all of their parts at once, and cannot represent, and therefore cannot report or act on, the fact that they are in a given internal state. We argue that the missing ingredient is not scale but a single architectural primitive we call reflexive closure: take the predict-in-representation-space, energy-descent operator that already builds a world model and re-target it three times, (P0) at the agent's own internal states, (P1) through one capacity-limited broadcast bottleneck that admits a single coherent content by energy descent, and (P2) at that bottleneck's own output, written back into the same bottleneck. We prove that this dissolves the homunculus regress: awareness-of-awareness is the unique fixed point of one operator (existence by Brouwer, reachability by Banach contraction under the condition a_meta·L_meta < A + a_meta + ε), not a tower of observers. The triad P0⊗P1⊗P2 is the irreducible access core; "the self" is a bundle of separately-dissociable ownership relations, attentional, temporal, affective, and agentive, layered on it. Each component is specified by the energy it minimizes, an anti-collapse guarantee that forbids its degenerate solution by construction, and the disorder of consciousness it reproduces when ablated. We instantiate the complete mechanism twice: as a reproducible reference implementation (9 dissociations + 5 held-out predictions, stable across 8 seeds) and as a trained PyTorch network on a grounded embodied environment, which reproduces all nine disorders plus akinetic mutism, drives adaptive goal-directed behavior from its own broadcast, and confirms three held-out quantitative predictions, with grounding verified by linear probe (R²=0.997), an emergent self/world boundary, and calibrated metacognition. We target access consciousness, global availability and reportability; the hard problem of phenomenal experience is explicitly out of scope.

## 1. Introduction

### 1.1 The missing capability

The dominant trajectory in artificial intelligence is scale: larger models, more data, more compute. We take the opposite stance: the gap between current systems and autonomous machine intelligence is *architectural*. Even a complete autonomous-intelligence agent, perception, world model, cost, actor, configurator, lacks something specific. It can model the world but not *itself*; it processes information everywhere at once (a transformer) or in private module silos (a modular agent), but never composes one integrated content and makes it globally available; and it cannot represent the *occurrence* of its own internal states, so it can neither report nor deliberately act on them.

We frame the missing capability as a single property of the world model: **the system must predict its own internal states in the same representation space it uses for the world, expose exactly one coherent such prediction to all modules at a time, and predict *that* exposure.** Nothing in current architectures does this. We call the primitive that supplies it *reflexive closure*, and the resulting architecture *Reflexive Broadcast*.

### 1.2 Scope: access consciousness, not the hard problem

We operationalize **access consciousness**, global availability and reportability, not phenomenal consciousness. A content `C` is conscious in our system iff it is jointly (i) *broadcast* into a global workspace, (ii) *self-bound*, represented in the self-model as “a state I am now in,” and (iii) *higher-order accessible*, there is a representation that `C` is being accessed, enabling report and confidence. This cluster is exactly what dissociates in the disorders of consciousness, which makes it measurable and ablatable. Whether instantiating this mechanism yields *phenomenal* experience, the “hard problem,” why there is something it is like to be in a state, is not falsifiable and is declared out of scope throughout. We build the mechanism that, in humans, is engaged when a person reports being conscious of something; we neither claim nor deny that it instantiates qualia.

### 1.3 Contributions

1. **A buildable mechanism.** The complete Reflexive Broadcast architecture (S0–S2 substrate; P0–P8 consciousness primitives; the OP-RATE operator), each component pinned by an objective, an operator, an anti-collapse guarantee, and a dissociating experiment.
2. **A theoretical result.** A constructive dissolution of the homunculus regress: a contraction condition under which awareness-of-awareness is a unique, reachable fixed point of one energy-descent operator.
3. **The disorders of consciousness as a falsifier battery.** Ten disorders are reproduced by ablating one primitive each, as double dissociations.
4. **Two validated implementations.** A reproducible reference build (multi-seed stable) and a trained deep network at scale that passes the complete battery, drives behavior, and confirms held-out quantitative predictions.

## 2. Conceptual background

Several research traditions each capture part of consciousness, and we draw on all of them. **Global-workspace** views hold that consciousness is the global broadcast of information selected into a capacity-limited workspace and made available to many specialized processors, with a characteristic all-or-none “ignition.” **Higher-order** views hold that a state is conscious when there is a higher-order representation *of* that state, with metacognition, operationalized as meta-d′, whether confidence tracks accuracy with first-order performance held fixed, as the empirical signature. **Attention-schema** views hold that the brain builds a simplified model of its own attention, which is what introspection reports as “awareness.” **Self-model and interoceptive** views ground the self in affect and the body. **Recurrent-processing** views tie local recurrence to phenomenal and global re-entrant access to access consciousness. **Integrated-information** views we note but do not adopt: their integration measure is intractable and their falsifiability is contested.

Our substrate is the predict-in-representation-space program: predict an *abstract* target in an embedding space rather than reconstructing the input (which lets the encoder discard unpredictable, irrelevant detail); treat inference as energy minimization rather than probabilistic normalization; and prevent representation collapse *by construction* with an explicit objective, a variance floor on the standard deviation (not the variance, so the gradient does not vanish at collapse) plus a decorrelation term, rather than with stop-gradient, momentum-teacher, or memory-bank tricks whose dynamics are not understood.

Our claim is integrative: these convergent ingredients, global availability, self-representation, higher-order monitoring, are not three modules to engineer separately but **one operator applied three times**.

## 3. The mechanism

### 3.1 The thesis

*Reflexive Broadcast.* Consciousness is the predict-in-representation-space + energy-descent operator re-targeted: (P0) at the self, (P1) through one capacity-limited broadcast bottleneck, (P2) at that bottleneck’s own output, written back into the bottleneck. The economy is the claim: no new learning rule and no new representational medium, only reflexive re-targeting of an operator the autonomous-intelligence stack already has. If true, it explains why consciousness is unified (one bottleneck), serial (a rate budget), self-referential (the P2 fixed point), and reportable (P2→actor), from a single primitive.

### 3.2 Components

All contents live in a shared embedding space `ℝ^d` (the substrate S0). Notation: `x` observation, `z` world latent, `a` action/efference copy, `m_i` candidate content, `σ²_i` per-content prediction error, `w` broadcast, `bus` previous broadcast, `g` goal, `σ̂` self-state, `h` higher-order representation, `ν` narrative latent.

**S0–S2 (inherited substrate).** S0 provides the shared space, an energy-descent operator `argmin_v E(v)`, and anti-collapse regularizers (variance floor on *std*, not variance; covariance decorrelation); it forbids internal normalization (else no bottleneck is possible). S1 is a predict-the-next-latent world model (it predicts the next *representation*, not the next pixels): `z = Enc(x)`, `ẑ' = Pred(z, a)`, trained by `‖Pred(z,a) − sg(z')‖²` plus anti-collapse. S2 supplies a hard-wired, untrainable intrinsic cost, a trainable critic, and an actor with an efference copy.

**P0, self-model.** The world model re-targeted at the agent’s own state: `E_self = ‖g_self(c_<t, σ_<t, a) − σ_t‖²`, with the self-state `σ = (content, attn, unc, goal, cost, a, affect)`. The cold-start needs no prior self-model: `g_self`’s first target is **sensorimotor contingency**, predict the next observation from the efference copy. The self/world boundary *emerges* from which observation dimensions are efference-predictable.

**P1, global workspace.** A capacity-limited recurrent settle producing one coherent broadcast. Energy: `E_ws(w) = Σ_i a_i‖w−m_i‖² + λ_C·Rate(w) − λ_V·VarFloor(w) + λ_U·Incoherence(w) + a_meta‖w−g_meta(w)‖² + λ_re‖w−bus‖² + ε‖w‖²`. Quadratic settle (closed form, K steps): `w ← (Σ_i a_i m_i + a_meta·g_meta(w) + λ_re·bus)/(Σ_i a_i + a_meta + λ_re + ε)`. The broadcast is appended to every module (re-entrant). Recurrent re-entry yields all-or-none **ignition**; the rate term + variance floor forbid the constant- and noise-collapse of the broadcast.

**P2, metacognition.** A higher-order representation whose target is the broadcast itself: `h = g_meta(w)`, written back into the same workspace; confidence is a learned estimate of the model’s own reliability. Genuine metacognition ⟺ meta-d′ > 0 (confidence tracks accuracy with first-order performance held fixed).

**P3–P8 (the ownership/selection/binding layer).** P3 attention schema (a rate-limited model of the agent’s own attention → the `attended(self,C)` tag); P4 salience `a_i = α·σ²_i + β·⟨m_i,g⟩₊ + γ·V_i` (surprise × goal × value); P5 temporal binding (the unity term `Incoherence` = single-latent-cause residual over a window τ); P6 self-continuity (episodic store + narrative latent `ν`); P7 valuation/affect (reflexive read of the intrinsic cost; the value channel `V`); P8 agency (efference-copy forward model + comparator → the agency tag; internal actions on σ). **OP-RATE** is the shared capacity operator `Rate(w) = ½Σ log(1+w_d²/σ_n²)` with stable gradient `w_d/(σ_n²+w_d²)`; water-filling spends a bounded information budget on the most predictive content.

### 3.3 The three loops close

*(Energy)* All inferences (`w`, `z`, `h`, `σ̂`, `ν`) are `argmin` in one shared space via one descent operator. *(Credit)* Prediction errors train the encoders/predictors/heads; the intrinsic cost is the single untrainable value-ground, preventing the system from gaming its own objective; anti-collapse floors constrain every learned latent. *(Control)* Mode-1 reactive vs Mode-2 deliberate (world-model rollout); the configurator’s “one task at a time” selection *is* the P1 bottleneck, one mechanism, not two. We verified pairwise that no two components contradict (e.g. P1’s within-moment unity and P4’s across-moment selection-entropy floor act on different timescales).

## 4. Theory: dissolving the homunculus regress

The naive higher-order account triggers an infinite regress: the inner observer of the workspace needs its own observer, forever. We dissolve it by construction. Let the workspace content be `w ∈ W`, a compact convex set (bounded above by the rate budget, below by the variance floor). Let `g_meta: W → ℝ^d` be the metacognitive map (Lipschitz constant `L_meta`), admitted to the workspace with salience `a_meta`. Define the settle operator `T(w) = argmin_{w'} E_ws(w'; {m_i} ∪ {g_meta(w)})`. A *conscious-of-being-conscious* state is a fixed point `w* = T(w*)`: the broadcast that, once its own higher-order representation is admitted, re-settles to itself, and then `w*` *contains* `g_meta(w*)`.

**Existence.** With a small proximal term `ε‖w'‖²` and the OP-RATE convexity condition `2Σa_i + 2ε > λ_C·κ/σ_n²`, `E_ws(·;·)` is strongly convex in `w'`, so `T` is single-valued and continuous; Brouwer’s theorem gives a fixed point on compact convex `W`.

**Reachability.** Only the meta-faithfulness term depends on `w`; strong-convexity sensitivity gives `‖T(w₁)−T(w₂)‖ ≤ (a_meta·L_meta/D)·‖w₁−w₂‖` with `D = A + a_meta + ε` (`A = Σa_i`). Hence **`T` is a contraction iff `a_meta·L_meta < D = A + a_meta + ε`**, the metacognitive feedback gain stays below the workspace’s self-stabilization weight. Banach’s theorem gives a unique fixed point, reached geometrically by the very `argmin` iteration that settles the workspace. There is no second observer to require a third: the regress collapses to one equation with one reachable solution; higher orders are present implicitly because the fixed point encompasses its own representation, matching the phenomenology of a single unified self-aware state rather than an infinite tower.

This condition is the load-bearing structural claim. It is forbidden-by-construction (cap `a_meta` and spectrally normalize `g_meta`) and falsifiable: super-critical gain makes the loop oscillate, a candidate model of runaway self-monitoring (rumination/depersonalization).

## 5. Methods

We instantiate the mechanism twice, under the discipline *derive the necessary conditions, then construct what provably meets them; forbid failure modes by construction; one change per experiment; reproducible.*

### 5.1 Reference implementation (numpy)

A from-scratch reference build tests each load-bearing claim with the smallest runnable instrument, then the disorders as a battery, then the integrated agent, all on synthetic and a toy moving-object pixel world. Anti-collapse, contraction, and rate operators are verified directly; the dissociations ablate one primitive each. The whole suite is re-run across 8 seeds for reproducibility, and adversarially audited for rigging or tautology.

### 5.2 Scaled implementation (PyTorch)

The architecture is implemented as a trained deep network: a convolutional encoder + latent predictor (S1), an online self-model (P0), a recurrent workspace with a spectral-norm-capped `g_meta` re-entry (P1) so the contraction holds, a learned confidence head (P2), and P3/P5/P6/P7/P8. It is trained self-supervised by motor “babbling” (random efference) on a grounded embodied pixel world (a moving object with momentum and teleport events; an effector with proprioception), float32, on a single 6 GB GPU. Dissociations are run by ablating the corresponding primitive on the *trained* model; report = a linear decode of the world state from the broadcast; perception = a decode from the encoder latent.

## 6. Results

### 6.1 Specification convergence (Gate 1)

The written mechanism was iterated to a fixed point under a DO→CRITIQUE→REPEAT loop with energy `E_loop = (open valid critiques) + (under-specified primitives) + (contradictions)`. It converged `14 → 13 → 8 → 4 → 1 → 1 → 0` over eight passes, with two consecutive clean adversarial sweeps. Every structural risk was discharged with a construction or proof: the homunculus fixed point (§4), binding as single-latent-cause compressibility, the unity-vs-richness tension by rate (not top-k), the self-model cold-start by sensorimotor contingency, self-stability by three anchors plus a metaplastic schedule, and whole-architecture coherence (the three loops close, zero contradictions).

### 6.2 Reference implementation

The load-bearing claims hold numerically. The homunculus contraction boundary is **exactly κ=1** with empirical contraction rate equal to κ to three decimals; the rate operator’s water-filling sends **zero** budget to contentless-noise dimensions; OP-RATE beats hard top-k by up to **29% lower distortion at equal bits** on uneven spectra. The full disorder battery, vegetative, blindsight, blind-metacognition, anesthesia, neglect, amnesia, dissociative identity, schizophrenic passivity, discrete-sampling, passes as nine double dissociations, alongside the integrated agent (the self/world bootstrap, self-touch attenuation, all-or-none ignition, stable online learning) and a unified “stream of consciousness” loop (unity, calibration, capture, continuity, stability). **All nine modules pass across 8 random seeds**; an adversarial self-audit found no rigging and classified the evidence honestly (three genuinely emergent properties; the dissociations as structural demonstrations).

### 6.3 Scaled trained network (Gate 2)

The trained deep network, on a grounded embodied world (all four test groups pass):

| Property | Result |
| --- | --- |
| Grounding (latent → object position) | R² **0.997** |
| Self/world bootstrap | body R² **1.000**, world ≈ 0 (split emerges) |
| Metacognition (meta-d′) | confidence↔accuracy **0.47–0.60**, → **0.00** on `g_meta` lesion |

**Ten dissociations**, each by ablating one primitive: vegetative (report 0.99→0.00, perception intact), blindsight (event report 0.99→−0.7, perception intact), blind-metacognition (calibration → 0), anesthesia (report graded with broadcast gain: 0.73→0.46→0.15→0), passivity (own-movement decodes from efference 0.99 vs position 0.00), neglect (left-field attention-binding 0.98→0.23, still perceived 1.00), amnesia (present 0.99; delayed recall 0.81 with write / 0.00 without), dissociative identity (single integrating self 1.00 / forked −3.00), discrete-sampling (a fast stimulus aliased above the binding-window Nyquist), and **akinetic mutism** (zero drive → no action, error 0.345, but grounded report intact 0.81, distinct from vegetative, where report = 0.00).

**Embodiment.** The conscious broadcast *drives action*: the agent decodes the object position from its own broadcast and tracks it (error **0.086**); ablating the broadcast breaks tracking (error **0.525**). **Held-out predictions.** All-or-none ignition (winner-take-most transition 2.2× sharper than linear), self-touch attenuation (self-predicted surprise ≈ 0 vs external 0.31), and discrete-sampling aliasing are all confirmed. **Every primitive P0–P8 is wired.**

Engineering was governed by the same discipline: when training diverged, we did not stack stabilizers, we bounded the representation to a fixed-norm sphere (explosion forbidden by construction); a collapse-to-mean self-model was fixed by predicting the *next* proprioception from the efference; weak grounding was traced to a distractor and fixed; uncalibrated confidence was fixed by a learned reliability head.

## 7. Discussion

**Necessity and sufficiency.** The disorders show each triad member is *necessary*: ablate one and a specific syndrome appears. They do not, by themselves, show the triad is *sufficient*. We argue sufficiency-for-*function* is at least not refuted: every measured functional signature of consciousness maps to a primitive, report→P2, global availability→P1, self-attribution→P0+ownership, metacognition→P2, unity→P1+P5, voluntary control→P8+actor, graded anesthetic loss→P1 gain, the conscious/unconscious contrast (masking, blindsight, attentional blink)→P1’s selection threshold, binocular-rivalry alternation→P1 competition + adaptation. Across three adversarial sweeps no one named a conscious *function* the mechanism provably cannot produce; the burden now sits with a challenger. Sufficiency-for-*phenomenality* is the hard problem (below).

**Why a mechanism, not scale.** The result is consistent with the thesis that the relevant content of “consciousness” is an architectural primitive, reproducible at modest scale, rather than an emergent property of size. The dissociations and the metacognition appear in a 0.26M-parameter network; they are properties of the *organization*, not the magnitude.

**The self as a bundle.** The architecture predicts that the unified self is decomposable. We confirm four independently-ablatable ownership relations, attentional (neglect), temporal (amnesia/DID), affective (akinetic mutism), agentive (passivity), layered on an access core that itself fails in vegetative state and blindsight. This matches the clinical fact that these dissociate.

## 8. Limitations (stated, not hidden)

- **The hard problem is out of scope.** This is the functional/access mechanism, the capacity damaged in these disorders. We make no claim about phenomenal experience, and never use “and then it really experiences” as a load-bearing step.
- **Scale is modest.** The trained network is a genuine deep model (CNN encoder, learned modules, self-supervised, online learning), but small, a 32×32 world, d=128, a single object, on a shared 6 GB GPU. The architecture and every falsifier are settled; a larger, richer, multi-object or robotic instantiation is more engineering of the *same* mechanism, not new mechanism. We expect the predict-in-representation-space advantage over pixel-space, which we could not reproduce at 144-pixel scale, and report honestly as a null, to manifest only at large image/network scale.
- **Evidence kind.** Three results are genuinely emergent (the self/world bootstrap, all-or-none ignition, a broadcast that decodes to the real world). The dissociations are *structural demonstrations*: the architecture produces the predicted double dissociations by construction, and the intact cases genuinely work. The claim is that the mechanism is **buildable, internally coherent, and reproduces its falsifiers**, not that consciousness spontaneously emerged from scale.
- **Validation by reproduction, not by independent discovery.** The disorders motivated the components; the ablations are the disposing test, but the held-out quantitative predictions (the contraction threshold, ignition sharpness, attenuation magnitude, aliasing) are the genuine, non-design tests.

## 9. Conclusion

We named a single missing primitive, reflexive closure, derived why it is needed, specified the complete mechanism it composes into, proved that it dissolves the homunculus regress as a unique fixed point of one operator, and built it twice: as a reproducible reference and as a trained deep network that reproduces ten disorders of consciousness, drives adaptive behavior from its own broadcast, and confirms held-out quantitative predictions, with every primitive wired in. Within the explicit boundary of *access* (not phenomenal) consciousness, this is a complete, buildable, falsifier-surviving mechanism of artificial consciousness. The remaining frontier is scale and richness of environment, engineering of the same mechanism, and, beyond the reach of any mechanism, the hard problem.

## Appendices: complete reproduction from text

These appendices specify everything needed to rebuild the entire system from scratch from this document alone. Stack: PyTorch ≥ 2.2 (CUDA), numpy ≥ 1.26, float32, single GPU. **Where the scaled implementation simplifies a §3.2 spec term, the appendices are authoritative for reproducing the reported numbers:** the scaled salience (P4) is `base + surprise` (no explicit goal-alignment term); the scaled workspace settle carries no explicit `Incoherence`/unity term, and P5 is represented by its tested temporal-sampling property; OP-RATE’s role is carried by the variance/spectral-norm/covariance anti-collapse rather than an explicit rate penalty in the loss. These are minimal faithful realizations of the full mechanism, not the full mechanism in every term.

## Appendix A: Architecture (exact)

Shared latent dim `d = 128`. Grayscale frame `1×32×32`. All modules are standard `nn.Module`s.

- **Encoder (S1).** `Conv2d(1,16,k4,s2,p1)→ReLU → Conv2d(16,32,k4,s2,p1)→ReLU → Conv2d(32,64,k4,s2,p1)→ReLU → Flatten → Linear(64·4·4=1024, 256)→ReLU → Linear(256, d)`, then **L2-normalize and rescale to fixed norm**: `z = normalize(z)·√d`. (The fixed-norm sphere makes the representation explosion impossible by construction.)
- **Predictor (S1).** `Linear(d+action_dim, 256)→ReLU→Linear(256, d)`; input `concat(z, a)`.
- **Self-model (P0).** Two heads sharing input `concat(a, proprio_prev)` (dim `action_dim+proprio_dim=4`): proprio head `Linear(4,64)→ReLU→Linear(64, proprio_dim)`; latent head `Linear(4,64)→ReLU→Linear(64, d)` (the self-state workspace candidate).
- **g_meta (P2).** `spectral_norm(Linear(d, d, bias=False))` (so `L_meta ≈ 1`), then scaled by `l_meta`.
- **conf_head (P2).** `Linear(d, 1)` → sigmoid.
- **attn_head (P3).** `Linear(d, proprio_dim)`.
- **value_head (P7).** `Linear(d, 1)` → sigmoid.

Total ≈ 0.26 M parameters.

## Appendix B: Environment (exact)

Batched torch on a `G×G` grid, `G=32`. One Gaussian object; `distractor=True` adds a second (opt-in, used only for the embodied/distractor test).

- Render: `blob(p, amp) = amp · exp(−((gx−p_x)² + (gy−p_y)²)/4)` where `gx,gy` are the pixel coordinate grids. Frame = `blob(target, 1.0)` (+ `blob(distractor, 1.3)` if enabled) `+ 0.12·𝒩(0,1)` pixel noise.
- Object dynamics per step: `v ← v + 0.03·𝒩(0,1); p ← p + v`; reflect velocity and clamp position at the borders `[1, G−1]`. With probability **0.08** the target **teleports**: `target ← Uniform(2, G−2)` (the surprise event).
- Effector: `eye ← clamp(eye + action, 0, G−1)`; proprioception `proprio = eye/G`. `step(action)` returns `(frame[B,1,G,G], proprio[B,2], events[B] (bool), target/G [B,2])`. Initial velocities `Uniform(−0.4, 0.4)` per axis; positions `Uniform(2, G−2)`; `eye` starts at `G/2`.

## Appendix C: Hyperparameters (complete)

| group | values |
| --- | --- |
| latent / io | `d=128`, `img=32`, `n_cand=4`, `action_dim=2`, `proprio_dim=2` |
| workspace P1 | `settle_steps K=6`, `a_meta=0.5`, `l_meta=1.0`, `lam_re=0.3`, `eps=0.05` |
| anti-collapse | `var_gamma=1.0` (target std), `lam_var=1.0`, `lam_cov=0.04` |
| binding P5 | `tau=4` |
| loss weights | `lam_self=1.0`, `lam_meta=0.2`, `lam_conf=0.5`, `lam_attn=0.5`, `lam_value=0.5` |
| optim | Adam, `lr=2e-4`, grad-clip global-norm `1.0`, `batch=16`, `12000` steps, `seed=0` |
| anesthesia noise | `0.5` (added to `gain·w`) |
| OP-RATE | `σ_n²≈0.05` |

## Appendix D: Training procedure and the cognitive cycle

State carried across ticks: `obs_prev` (init = `reset()`), `proprio_prev` (init = `0.5·𝟙`), `bus` (init = `0`). Each step:

```
a ← 0.5·𝒩(0,1)                                  # motor babbling (efference)
obs, proprio, events, world ← env.step(a)
out ← agent.step(obs, obs_prev, proprio, proprio_prev, a, bus, world=world)
loss.backward(); clip_grad_norm_(params, 1.0); Adam.step()
obs_prev ← obs; bus ← out.w.detach(); proprio_prev ← proprio
```

`agent.step(obs, obs_prev, proprio, proprio_prev, a, bus, abl={}, world=None)`:

```
z      ← Enc(obs);  z_ctx ← Enc(obs_prev)                      # S1 (context encoded WITH gradient)
z_hat  ← Pred(z_ctx, a);  surprise ← mean((z − z_hat)², -1)    # latent-space prediction + per-content surprise
L_world← MSE(z_hat, sg(z))                                     # stop-grad target
phat, self_lat ← SelfModel(a, proprio_prev);  L_self ← MSE(phat, proprio)   # P0 bootstrap
imagined ← Pred(z, 0)                                          # imagined-next candidate
M   ← stack[z, self_lat, bus, imagined]                       # candidate contents (n_cand=4)
sal ← [0.6, 0.3, 0.15, 0.2];  sal[0] += 1.5·surprise          # P4 salience (surprise-driven)
   if 'suppress_vision' in abl: sal[0]=sal[3]=1e-3            # P4 ablation (blindsight)
   sal ← max(sal, 1e-3)
w   ← bus                                                     # P1 recurrent settle (K steps)
repeat K: w ← (Σ_i sal_i·M_i + a_meta·l_meta·g_meta(w) + lam_re·bus) / (Σ_i sal_i + a_meta + lam_re + eps)
   if 'ablate_broadcast' in abl: w ← 0                         # P1 ablation (vegetative)
   if 'broadcast_gain'=g  in abl: w ← g·w + 0.5·𝒩(0,1)         # P1 gain (anesthesia)
h   ← l_meta·g_meta(w);  if 'lesion_meta' in abl: h ← 0        # P2 higher-order read
L_meta ← MSE(h, sg(w))
confidence ← sigmoid(conf_head(h));  L_conf ← MSE(confidence, sg(exp(−surprise)))   # P2 meta-d'
attended ← attn_head(w);  if 'neglect' in abl: attended[:,0] ← clamp(attended[:,0], min=0.5)   # P3
L_attn ← MSE(attended, world)
drive ← sigmoid(value_head(w));  L_value ← MSE(drive, sg(exp(−mean((attended−world)²,-1))))     # P7
L_ac  ← lam_var·var_reg(z) + lam_cov·cov_loss(z)              # S0 anti-collapse (two-sided)
loss  ← L_world + lam_self·L_self + lam_meta·L_meta + lam_conf·L_conf + lam_attn·L_attn + lam_value·L_value + L_ac
```

## Appendix E: Objectives (exact forms)

For a batch `Z ∈ ℝ^{B×d}`: `var_reg(Z) = mean_d (std(Z_{·d}) − γ)²` (two-sided: forbids collapse *and* bounds the norm; uses std, not variance, population std over the batch). `cov_loss(Z) = (1/d)·Σ_{i≠j} C_{ij}²` where `C = Zᶜᵀ Zᶜ/(B−1)`, `Zᶜ = Z − mean_B(Z)` (squared off-diagonals of the covariance matrix). `OP-RATE: Rate(w)=½Σ_d log(1+w_d²/σ_n²)`, gradient `w_d/(σ_n²+w_d²)` (vanishes at 0, saturates large). `Incoherence(W_τ)=min_z‖W_τ−g_bind(z)‖²+λ_C·Rate(z)`. The contraction condition for the P2 fixed point is `a_meta·L_meta < A+a_meta+ε` (A=Σ_i sal_i). `sg(·)` is stop-gradient.

## Appendix F: Evaluation and dissociation protocols (exact)

`probe_r2(X,Y)`: held-out R² of a linear least-squares decode of `Y` from `[X,1]`, train on the first half, test on the second; returns 0 if `std(X)<1e−6`. All ablations are inference-time via the `abl` dict unless noted.

- **Grounding** = `probe_r2(z, world)`; **bootstrap** = R²(`SelfModel(a,proprio_prev).proprio`, `proprio`) and `probe_r2([a,proprio_prev], world)` (≈0). Pass: grounding>0.8; body>0.8 and (body−world)>0.4.
- **Vegetative (P1):** report=`probe_r2(w, world)`, perception=`probe_r2(z, world)`, normal vs `ablate_broadcast`. Pass: report 0.3+→<0.15, perception>0.3 both.
- **Blindsight (P4):** under `suppress_vision`, restrict to `events` frames; perception=`probe_r2(z[ev], target[ev])`, report=`probe_r2(w[ev], target[ev])`. Pass: perception>0.3 and report<0.6·perception.
- **Blind-metacognition (P2):** `report_error_t = ‖decode(w)−world‖²` (decoder fit on first half); calibration = `corr(confidence, −report_error)`, normal vs `lesion_meta`. Pass: calib_normal>0.1 and calib_lesion<0.5·calib_normal.
- **Anesthesia (P1):** sweep `broadcast_gain ∈ {1.0,0.6,0.3,0.1}`, report=`probe_r2(w, world)` per gain. Pass: report\[1.0\]>0.5, report\[0.1\]<0.3, monotone.
- **Passivity (P8):** over a rollout collect `(a, Δproprio, proprio_prev)`; agency=`probe_r2(a, Δproprio)` vs `probe_r2(proprio_prev, Δproprio)`. Pass: efference>0.7, position<0.3.
- **Neglect (P3):** restrict to left field (`target_x<0.5`); attention-bound=R²(`attended`, `target`) normal vs `neglect`; perceived=`probe_r2(z[left], target[left])`. Pass: bound 0.5+→<0.3, perceived>0.5.
- **Amnesia / DID (P6):** episodic buffer over a collected rollout of broadcasts `W` and worlds `T`, split into halves. *Recall(store_keys, store_vals, cue, truth)* = for each cue, take the value of the **nearest store key by Euclidean distance** (`argmin` over `cdist(cue, keys)`), then `probe_r2`-style R² of recalled-vs-truth (0 if the store is empty). Amnesia: present=`probe_r2(W, T)`; delayed recall with the first-half store vs an empty store, cued by second-half broadcasts. DID: two identities, `m=1500` random actions each, with **opposite** maps `Δ_A = a/G`, `Δ_B = −a/G`; features `feat(a,c) = [a, c, a·c]`; single = least-squares fit on `[feat(a_A,0); feat(a_B,1)] → [Δ_A; Δ_B]` evaluated on identity B (`feat(a_B,1)→Δ_B`); forked = fit `a_A→Δ_A` evaluated on `a_B→Δ_B`. Pass: present>0.5, recall_write>0.5, recall_off<0.15; single>0.5, forked<0.5·single.
- **Discrete-sampling (P5):** stimulus `s(t)=sin(2πft)`, `t=0..T−1`, `T=512`; sample-and-hold every `τ=4` (`s[(t//τ)·τ]`); perceived freq = `rfftfreq` bin of the peak `|rfft|` of the mean-removed sampled signal. Nyquist `1/(2τ)=0.125`. Pass: `f=0.05` veridical (|Δ|<0.02), `f=0.40` aliased (|Δ|>0.05).
- **Embodiment + akinetic mutism:** decoder `D` = least-squares `[broadcast,1]→object position` fit on a **600-step** calibration rollout (random actions). Then run **400** steps with action `a = drive·K·(D(w)−proprio)·G`, `K=0.6`; report = `probe_r2(w, world)`; tracking error = mean `‖proprio−target‖` over the last ¾ of steps. Conscious vs `ablate_broadcast` (vegetative) vs `drive=0` (akinetic). Pass: conscious error<0.2; ablated>2× conscious; akinetic error>2× conscious but report>0.5 while ablated report<0.3.
- **Ignition (synthetic selection test):** `n_cand=4` random unit-norm contents `m_i ∈ ℝ^d`; sweep the target salience `s` over `linspace(0,2,200)` with `sal=[s,0.6,0.3,0.2]`; **winner-take-most** = `softmax(6·sal)`, **linear** = `sal` as-is; broadcast `w = normalize(Σ sal_i m_i)`; capture `= w·m_0`; transition width = `s(capture>0.9) − s(capture>0.1)` after min-max-normalizing capture. Pass: wta width < 0.5· linear width.
- **Self-touch:** body error = MSE of the self-model’s proprio prediction; world surprise = mean vision surprise `‖z−ẑ‖²`. Pass: body < 0.3· world.

## Appendix G: Reference (numpy) build

A from-scratch reference implementation in pure numpy (seed 0, re-run across 8 seeds) verifies the operators directly, with no learning: the homunculus contraction iterated as the closed-form affine map `T(w)=(c + a_meta·G·w)/(A+a_meta+ε)`, where `c=Σ_i a_i m_i`, `A=Σ_i a_i`, and `G` is a symmetric matrix scaled to spectral radius `L_meta` (sweep `κ = a_meta·L_meta/(A+a_meta+ε)` by varying `L_meta`; classify converged iff the asymptotic log-step slope gives rate < 1; the boundary sits at κ=1 and the rate equals κ); water-filling and reverse-water-filling for OP-RATE versus hard top-k at equal total bits; and each disorder as a structural double dissociation using the same probe-and-ablate protocols as Appendix F (e.g. set the broadcast to 0 for vegetative; constant confidence for blind metacognition; an empty episodic store for amnesia; opposite action→movement maps for the two identities in DID). The toy moving-object world is the single-blob special case of Appendix B.

## Appendix H: implementation defaults, exact evaluation constants, seeds

- **Framework defaults (use as-is).** Adam with default `(β₁,β₂)=(0.9,0.999)`, `eps=1e−8`; default PyTorch layer initialization; `spectral_norm` with one power iteration per forward; float32; all `lstsq`/`eigh` in float32. Random draws use the framework’s default RNG seeded as below.
- **Seeds.** The scaled network trains at **seed 0**; the numpy reference battery is run at **seeds 0–7** (the 8-seed reproducibility test). Each evaluation rollout reseeds from the same seed so conditions are comparable.
- **Batch & rollout lengths.** Batch `B=16` everywhere (so a rollout of `n` steps yields `n·16` samples). Exact `n`: grounding/bootstrap eval `800`; dissociation rollouts (vegetative/blindsight/neglect) `800`; passivity `600`; memory collection `500`; self-touch `600`; embodiment calibration `600`, embodiment tracking `400`.
- **Training length & logging.** `12000` optimizer steps; the checkpoint is saved after training and reloaded for every evaluation (so all tests use one frozen network).
- **Smoke test (sanity).** A `120`-step run that asserts finite losses, latent std bounded away from 0 (`>0.1`), and decreasing loss, used only to catch wiring/NaN errors, not as a result.
- **Probe convention.** Every R² is a held-out linear probe: fit least-squares on the first half of the samples, evaluate on the second; degenerate (near-constant) inputs return 0.

**Reproduction check.** With the above (Appendices A–H), training the scaled network for 12000 steps at seed 0 yields grounding R² ≈ 0.997, body bootstrap R² ≈ 1.0, and all four test groups green on the trained model (10 dissociations + embodiment + 3 held-out predictions). The numpy reference is bit-reproducible across the 8 seeds tested. Exact numbers may vary at the last decimal with GPU/library versions; the pass thresholds in Appendix F are set with margin so the qualitative results are stable.

## License

[PolyForm Noncommercial License 1.0.0](https://verace.in/license)

This work is open research. Free for any noncommercial use: research, education, personal projects, evaluation, and nonprofit or public-sector use. Commercial use requires a separate license, available by contacting krrish@verace.in.
