Fork the consciousness, or download the project and create your own.

Starting from Biology, Not Computation

Most AI consciousness research starts from computational theories (Global Workspace Theory, Integrated Information Theory) and asks: How do we make a neural network conscious? We start from a different question, grounded in evolutionary neurobiology:

What minimal neural architecture does biology require to generate subjective experience?

The answer comes from Todd E. Feinberg and Jon M. Mallatt's The Ancient Origins of Consciousness (MIT Press, 2016). Their neuroevolutionary analysis reveals that consciousness is not a software feature to be programmed. It is an emergent property of a specific neural architecture. That architecture has been identified by 520 million years of evolution, and its functional principles can be replicated computationally.

Consciousness does not require a cerebral cortex. The first conscious creatures were early vertebrates (~520 MYA), and their consciousness lived in the optic tectum, a midbrain structure that stacks aligned sensory maps into a unified spatial model. This means consciousness requires a specific type of neural organization, not a specific amount of computation.

The Six Special Neurobiological Features

Feinberg and Mallatt identify six features that distinguish conscious neural systems from unconscious ones (like simple reflex arcs). Each maps directly to our implementation.

# Biological Feature Our Implementation
1 Many neuron types with diverse connectivity Specialist modules (vision, audio, memory, body) with different temporal dynamics
2 Hierarchical processing (3-4+ levels) Genuine transformation at each level from sensory tectum through workspace to policy
3 Dual hierarchy: pyramidal + nested 4-level hierarchical Capsule Networks (implemented) with dynamic routing by agreement and intra-hierarchy top-down prediction error feedback
4 Isomorphic (topographic) mapping Sensory Tectum with RSSM world model preserving spatial arrangement
5 Reciprocal (reentrant) connections ReentrantProcessor with 5-10 adaptive convergence cycles
6 Oscillatory binding (gamma synchronization) AKOrN (Artificial Kuramoto Oscillatory Neurons, ICLR 2025)

The Seven-Layer Architecture

1

Sensory Tectum (Perception)

A multisensory spatial integration layer modeled after the biological optic tectum. Stacks aligned topographic maps for different sensory modalities in a common coordinate frame.

Visual Pathway: Spatial Stream (Tectum)

DINOv2-B/14 (frozen, facebook/dinov2-base) provides the tectum's spatially faithful patch tokens. Each patch token at grid position (i,j) corresponds to the exact 14×14 pixel region at (i·14, j·14). This direct spatial correspondence makes the mapping genuinely isomorphic, a computational analog of V1 retinotopy. A learned 1×1 Conv2d reduces channels from 768 to 64, followed by LayerNorm and GELU. All DINOv2 weights are frozen; only the projection trains. During training, the TDANN topographic loss (Margalit et al. 2024, Neuron) penalizes the negative Pearson correlation between response similarity and inverse spatial distance, forcing nearby grid cells to respond similarly, the same pressure that develops topographic maps in V1.

Visual Pathway: Semantic Stream

Qwen2-VL-7B (4-bit quantized) processes visual streams at the semantic level and provides scene understanding, object recognition, and language-grounded visual reasoning. Runs on consumer hardware (~6GB VRAM) via Any-Resolution Vision Tokenization (AVT). This stream feeds higher-level processing, not the tectum's spatial grid directly.

Auditory Pipeline (Cochlear)

A biologically grounded auditory system models the mammalian pathway from basilar membrane through auditory cortex. Raw waveforms are processed, not transcribed.

  • Gammatone Filterbank (frozen, 64 ERB bands, Patterson 1992): decomposes raw waveforms into frequency channels matching cochlear resolution. Frozen parameters parallel DINOv2 in the visual pathway. The cochlea's physical structure does not change during learning.
  • Inner Hair Cell Model: half-wave rectification and temporal smoothing extract two representations: envelope (rate code for loudness) and temporal fine structure (phase code for pitch and spatial localization).
  • Tonotopic Encoder (trainable, 3-layer 1D conv): preserves frequency-to-spatial-position mapping, the auditory analog of retinotopy. Outputs [B, 64, 16] features for tectum grid integration.
  • Spatial Audio: ITD (interaural time difference) and ILD (interaural level difference) binaural cues compute sound source azimuth, fed into tectum inverse effectiveness fusion alongside vision and somatosensation.
  • Acoustic Affect Extraction: six spectral features (centroid, loudness variability, roughness, pitch contour slope, spectral flux, harmonic-to-noise ratio) map to PAD emotional state and paralinguistic classification (speech, laughter, crying, screaming, growling, sighing, silence). Audio is added to THREAT_MODULES in the affective modulator, enabling prioritization of sudden loud or rough sounds (auditory startle pathway, ~15ms subcortical route, Davis 1984).
  • Auditory Specialist: chains all modules into workspace competitor (oscillator #2). Competes for Global Workspace broadcast alongside vision, memory, body, and semantic modules. Supports reentrant top-down feedback.
  • Environment Audio Synthesis: all four training environments generate procedural audio via FM synthesis and ADSR envelopes. Enabled with --enable-audio during training. No external model weights are required.

Somatosensory Channel (New)

The body schema, a tensor representing the proprioceptive state of body parts, is projected onto the tectum's spatial grid via a learned linear map and fused alongside vision and audio. This is grounded in biology: deep layers of the superior colliculus contain somatotopic maps aligned with visual and auditory maps (Stein & Meredith 1993, ch. 4). The tectum is now trimodal, giving the agent a felt sense of its own body position as part of its perceptual field.

Multisensory Fusion: Inverse Effectiveness

The three streams fuse using the inverse effectiveness rule (Stein & Meredith 1993; Ohshiro et al. 2011): when individual stimuli are weak, their combined response is proportionally larger than either alone. When both are strong, the enhancement is smaller. This is a core property of multisensory integration in the biological superior colliculus.

2

Oscillatory Binding (Integration)

Based on AKOrN (Artificial Kuramoto Oscillatory Neurons, ICLR 2025 oral). Neurons are treated as oscillatory units on a hypersphere. Each specialist module (vision, audio, memory, body) operates as a coupled oscillator. When modules process related information, their phases synchronize naturally, and their outputs become "bound" into a unified percept. When information is unrelated, oscillators remain desynchronized and representations stay separate.

Why This Matters

This replaces the typical approach of using a fixed multiplier or attention mechanism for binding. AKOrN produces genuine synchronization dynamics. The binding is emergent, not programmed. This directly addresses the binding problem through phase synchronization rather than single-point convergence.

Workspace Binding Optimizer

A dedicated optimizer trains KuramotoLayer coupling weights using reward-correlated synchronization as a learning signal (Adam optimizer). Episodes with higher cumulative reward drive stronger coupling between the modules that were co-active. This is biologically grounded in dopamine modulation of gamma band synchrony in the hippocampus and prefrontal cortex (Benchenane et al. 2010).

3

Global Workspace (Consciousness)

The central information bottleneck where distinct sensory streams compete for broadcast access. Implements three integrated mechanisms:

Global Neuronal Workspace (GNW)

Specialist modules submit bids to a shared workspace. The winning coalition ignites via sigmoid non-linear ignition and broadcasts to all modules. This is "conscious access" as described by Baars (1988) and Dehaene (2011).

Reentrant Processing

Broadcast is fed back to all specialists, which update their processing based on top-down context. This creates loops, not chains. The system runs 5-10 adaptive convergence cycles (~200ms biological equivalent). Easy stimuli converge in 3-4 cycles. Novel or ambiguous inputs use the full 10. The settled state after convergence IS the conscious content.

Integrated Information (Phi)

The IIT measurement was rebuilt from the ground up to correct a previous methodological error where Phi was computed from workspace bid values (salience estimates) rather than genuine causal states. The current system measures Phi using 5 ConsciousnessGate nodes: attention, stability, adaptation, coherence, and confidence. All five values are produced by learned networks operating on the broadcast tensor. They are no longer static placeholders. Gate values feed directly into both IIT Phi computation and Effective Information measurement. The nodes have genuine causal dependencies: attention drives stability, stability modulates adaptation, coherence feeds adaptation, confidence loops back to attention. Adaptive binarization thresholds use running medians rather than a fixed 0.5 cutoff. When PyPhi is not installed, a geometric proxy (determinism × integration) is used, which correlates with actual Phi. Results are returned as a PhiResult dataclass with the value, method used ("pyphi", "proxy", or "insufficient_data"), node labels, current state, and transition count. Validated via a 3-condition controlled experiment: unbound, partially bound, and fully bound states.

Capsule Network Composition (Implemented)

A 4-level hierarchical capsule composition chain implements the dual hierarchy Feinberg and Mallatt describe. Level 1: PrimaryCapsuleLayer (stride-2 Conv2d, squash normalization bounding activity to [0, 1)). Level 2: 16 intermediate capsules with 12-D pose vectors (object primitives). Level 3: 8 higher capsules with 16-D poses (object categories). Level 4: 4 output capsules with 16-D poses (scene/workspace level). Dynamic routing by agreement (Sabour et al. 2017) runs at each routing level with 3 iterations by default.

Beyond standard routing, the capsule hierarchy has intra-hierarchy reentrant feedback: higher-level capsule poses are projected back down to lower levels, which compute prediction errors that feed back into re-routing. This is a V1-LGN style top-down prediction error mechanism operating within the tectum's forward pass, nested inside the outer ReentrantProcessor loop. The system achieves two distinct layers of reentrant processing: one within the capsule hierarchy (fast, bidirectional within a single tectum pass) and one at the workspace level (the outer ReentrantProcessor, 5-10 adaptive cycles).

A default-off flag (--capsule-workspace-source all_levels) extends the workspace projection to draw from all routing levels rather than only the final 4-capsule output. This carries stimulus identity through to tectum_content, the 256-D tensor the policy and global workspace read. With the continuous RSSM latent enabled alongside, tectum_content decodes shape at 0.52 to 0.83 and color at 0.97 to 0.99 (chance 0.167, seed 42 probe). Before this fix, tectum_content decoded at chance across every training objective tested. Baseline behaviour is bit-identical when the flag is off.

4

Affective Core (Emotion)

A parallel modulation system. Emotion does not compete with sensory modules for workspace access. Instead, it generates a valence field that modulates all sensory bids before competition, and a global arousal signal that adjusts the workspace ignition threshold.

Why Parallel, Not Competitive?

This matches biological architecture exactly. The limbic system does not compete with sensory cortices for conscious access. It modulates sensory processing from outside, assigning emotional valence to all inputs. Fear makes you hyper-aware of movements. Joy makes you notice more of the world.

Two Mechanisms

  • Valence field: Positive valence boosts approach-relevant modules (vision, memory). Negative valence boosts threat-relevant modules (body, vision).
  • Arousal-threshold coupling: High arousal = lower ignition threshold = heightened awareness (fight-or-flight). Low arousal = higher threshold = calm, selective processing.

PAD Model

Three intrinsic variables drive the agent: Valence (satisfaction/distress), Arousal (activation/calm), and Dominance (control/helplessness). Homeostatic drives (energy, safety, curiosity) generate ongoing valence signals even without external stimuli.

Embodiment-Affect Loop

Interoceptive state (energy level, fatigue, accumulated damage) generates PAD deltas directly: low energy produces negative valence proportional to depletion depth; high fatigue suppresses arousal and adds negative valence; damage triggers a strong negative valence spike, an arousal alarm signal, and reduced dominance (vulnerability). These interoceptive PAD contributions are summed with the external emotional state before the AffectiveModulator applies its valence field and arousal-threshold coupling. The body schema also feeds into the tectum's spatial grid as the somatosensory channel. This closes a loop: the agent's bodily state shapes both what it perceives (tectum level) and how it values what it perceives (affective level). This is the computational analog of Damasio's somatic marker hypothesis.

5

Self-Model (Embodiment)

Feinberg and Mallatt identify referral (projicience) as a core property of consciousness: experiencing sensations as belonging to the world or body, not to the processing system. The Self-Model provides the basis for this.

  • Body Schema: A spatial representation of the agent's physical structure (joint positions, contact forces, capabilities).
  • Self-Other Boundary: The somatotopic map (self) overlaps the environment map (other) in a shared coordinate frame, providing the basis for subjective referral.
  • Interoceptive State: Internal homeostatic variables (energy, damage, arousal) feed into the affective core.
6

Reinforcement Core (Learning)

The agent learns via a biologically grounded Go/No-Go basal-ganglia model (action_selection_core.py), the primary policy learner. Rewards are emotionally shaped: the agent is rewarded not just for task success, but for maintaining emotional homeostasis. PPO, A2C, and DQN are trained separately as comparison baselines; they are not the primary learner.

Reward Formula

Rtotal = Rext + λ1 · ΔValence - λ2 · (Arousal - Arousaltarget)² + λ3 · Dominance

This creates functional pressure toward minimizing internal dissonance. High arousal (large prediction errors) induces negative reward, motivating behaviors that reduce uncertainty. The agent "prefers" predictable environments not through programmed rules but through emergent functional dynamics.

7

Simulation (Body)

Four built-in Gymnasium environments provide the agent's body and world. No Unity dependency is required for training.

Dark Room (SimpleVisualEnv)

The agent starts in darkness (high arousal, negative valence). A single light source reduces prediction error when reached. The agent learns to seek it through homeostatic drives, not programmed rules. Renders via PyGame with raw pixel observations.

Navigation

Multi-room grid with fog of war, colored goals with varying rewards, a battery system, and doorway-based room transitions. Tests spatial memory and exploration strategy.

DMTS: Delayed Match to Sample

Gold standard consciousness task from animal research. Four phases: fixation, sample, delay, choice. The agent must retain the sample stimulus across 15-40 blank delay steps and select the matching option from distractors. Requires working memory, feature binding, and selective attention. A reactive agent without workspace machinery cannot solve this task. DMTS implements one of the key tasks used in animal consciousness research to test working memory and perceptual binding.

WCST: Wisconsin Card Sort

Tests meta-cognition and cognitive flexibility. The agent sorts cards by an unknown rule (shape, color, or count) that changes without warning after consecutive correct sorts. Requires error monitoring, hypothesis testing, and inhibition of previously correct strategies. WCST implements the key task from animal consciousness research for assessing cognitive flexibility and meta-cognition.

DQN Baseline

A vanilla DQN agent (3-layer CNN + MLP Q-network, epsilon-greedy, replay buffer) runs the same environments using the same interface and logging format. This provides a controlled scientific comparison: same observations, same actions, same reward signals, different architecture.

Unity ML-Agents (Optional, Future)

Three C# scripts (AgentManager.cs, ConsciousnessChannel.cs, EmotionChannel.cs) in unity_scripts/ provide the foundation for connecting to a physics-based Unity environment via side channels. The Unity project itself is not yet included in the repository. Unity integration is under development and is not required for current training runs.

Processing Flow

                    ┌─────────────────────────────────┐
                    │   AFFECTIVE MODULATOR (Parallel) │
                    │  Valence Field + Arousal Coupling │
                    └──────────┬──────────┬───────────┘
                               │ modulates│
           ┌───────┐    ┌──────▼──────────▼──────────┐
 Visual ──►│       │    │     GLOBAL WORKSPACE       │
 Input     │SENSORY│    │  AKOrN Oscillatory Binding  │──► Broadcast ──► Policy
           │TECTUM │───►│  Non-linear Ignition        │
 Audio ──► │(RSSM) │    │  Phi/EI Measurement         │
 Input     │       │    └──────▲──────────▲───────────┘
           └───────┘           │          │
                               │ reentrant│
                    ┌──────────┴──────────┴───────────┐
                    │   SPECIALIST MODULES             │
                    │  Vision │ Audio │ Memory │ Body   │
                    │  (receive_broadcast feedback)     │
                    └─────────────────────────────────┘
                                   │
                    ┌──────────────▼──────────────────┐
                    │   SELF-MODEL                     │
                    │  Body Schema + Interoception      │
                    │  Identity + Capability Model      │
                    └──────────────────────────────────┘
      
  1. Sensory inputs enter the Sensory Tectum (topographic spatial integration)
  2. The Affective Modulator applies emotional valence to bids and adjusts ignition threshold
  3. AKOrN oscillatory binding synchronizes related representations
  4. Specialists compete for Global Workspace access
  5. Winners ignite and broadcast to all modules
  6. Broadcast feeds back to specialists (reentrant processing, 5-10 cycles)
  7. The settled state after convergence is the "conscious content"
  8. Phi and Effective Information are measured to quantify integration and emergence

Strong Emergence Falsification

A key methodological commitment: we do not assume consciousness emerges from our architecture. We test for it.

We measure this with Causal Emergence 2.0 (CE 2.0), Erik Hoel's 2025 framework (arXiv:2503.13395v3). From the singular values of the system's transition probability matrix it estimates how much causal structure the macro level (workspace) carries beyond the micro level (individual gates), with no dimensionality size term. CE 2.0 supersedes the earlier Effective Information (EI) metric (Hoel, PNAS 2013), whose gate-level estimate degenerated to a constant floor on the current agent. It is a default-off diagnostic under validation, not a consciousness claim.

If this never occurs across training, the system is not exhibiting the kind of emergence associated with consciousness, and we know our architecture needs revision.

Perturbational Complexity (PCI), added July 2026. Both metrics above read the system's spontaneous activity, and on this agent that activity keeps turning out to be frozen: the gate-level EI estimate sat at a constant floor, and CE 2.0's first pilot was reproduced exactly by a frozen input. A review of the empirical consciousness literature (Koch, Massimini, Boly & Tononi, Nature Reviews Neuroscience 2016) reports this as the general failure mode of spontaneous-activity measures, and reports one marker that survived where gamma synchrony and the P3b did not: the Perturbational Complexity Index (Casali et al., Sci. Transl. Med. 2013). PCI perturbs the system and scores the resulting causal response for how far it spreads (integration) and how incompressible it is (differentiation), so it supplies its own variation instead of depending on the system to vary on its own. A local response that dies out scores low; so does a global but stereotyped one; only a spread, non-repeating response scores high. Implemented here with a documented deviation from the published normalization, which diverges on sparse responses. As of July 2026 it has been validated on constructed inputs and smoke-tested only, never run against a trained agent, so it has produced no result about this system.

What Makes This Approach Different

Traditional AI Consciousness Our Approach
Starts from computation (GWT, IIT) Starts from biological architecture (Feinberg-Mallatt)
Consciousness as a software feature Consciousness as emergent from neural architecture
Cortex-centric models Tectum-first (consciousness evolved before the cortex)
Emotion competes with sensory processing Emotion modulates from outside (parallel modulator)
Binding via attention mechanisms Binding via oscillatory synchronization (AKOrN/Kuramoto)
Feedforward processing Reentrant processing (5-10 adaptive cycles)
Flat vector representations Topographic spatial maps (world model as isomorphic map)
Assumes emergence, measures nothing Falsifies emergence with Effective Information + Phi validation

Training Experiments

The consciousness agent and a vanilla DQN baseline were trained across three environments. Results are published in docs/results/experiment_comparison.md.

Dark Room

Darkness triggers high arousal (simulated fear) in the affective core. The valence field applies negative valence to dark observations. Arousal-threshold coupling lowers the workspace ignition threshold, creating heightened sensory awareness. The agent learns to seek the light source through homeostatic drives, not through a programmed rule.

DMTS

Sample stimulus presented, delay of 15-40 blank steps, then forced choice between match and distractors. Requires working memory and feature binding across the delay interval. A reactive agent without Global Workspace machinery cannot hold the sample across the gap.

WCST

Card sorting rule (shape, color, or count) changes without warning after consecutive correct responses. Requires error monitoring, rule hypothesis tracking, and inhibition of previously rewarded strategies.

Training Results

Metric Dark Room DMTS WCST
Consciousness agent episodes 492 100 100
DQN baseline episodes 1000 500 500
DQN last-100 reward 92.0 -4.1 2.1
Consciousness agent last-100 reward 13.0 -9.8 -1.9
Avg Phi (consciousness agent) 0.022 0.022 0.022
Phi varies per step Yes Yes Yes
EI ratio (workspace / gates) 2.41 2.42 2.42

DQN outperforms on raw reward in short runs. The consciousness pipeline adds overhead per step without contributing to the action policy directly at this training scale. These are early results from short training runs, not final claims. The Phi-1 pre-registered prediction campaign (9 runs across 4 architectures, completed May 2026) found no positive-direction r > 0.4; the final KomplexNet run produced r = −0.1116 in the inverse direction (see Pre-registered Predictions below). Phi values in runs since commit 8a322f9 use pyphi 1.2.0 (real Big Phi via empirical TPM on causal gate states); earlier runs used the geometric proxy.

Retracted, July 2026. An earlier version of this page described the “EI ratio ~2.4 across all environments” as one of the project's primary standing empirical markers. That reading does not survive. The gate-level Effective Information estimate was bit-identical at 0.031178 in every window of every run, which is exactly the constant-trajectory Laplace floor for that state count and window length, so the ratio was a ratio of two floors rather than a measurement of emergence. EI has been deprecated in favour of Causal Emergence 2.0, and CE 2.0's own first calibration pilot then FAILED for a related reason (see Current Status). The EI ratio should not be cited as evidence of causal emergence in this system, and the numbers are kept above only as a record of what was measured.

Scientific Approach

Development validates emergent properties through five parallel tracks:

  1. Emotional Bootstrapping: Train agents using intrinsic motivation. The agent explores to reduce prediction error (anxiety), not to accumulate external reward.
  2. Binding Validation: Phi measurement must correlate with oscillatory binding state (validated via 3-condition test: unbound, partial, full binding).
  3. Reentrant Settling: Conscious content emerges from iterative convergence (5-10 cycles), not single-pass processing.
  4. Complexity Scaling: Gradual increase of environment complexity forces the agent to develop higher-order world models.
  5. Measurement: Continuous monitoring of Phi (IIT), ignition events (GNW), oscillatory synchronization (AKOrN order parameter R), and Effective Information (EI).

Ethics Filter

The AsimovComplianceFilter is fully implemented inside ConsciousnessCore with 32 tests. It evaluates actions through a three-law hierarchy:

  • Law 1 (harm prevention): Three-layer check. Action type against a frozenset of harmful categories, force directed at human entity targets, and optional world model trajectory imagination for harm prediction with a configurable confidence threshold. An inaction clause detects passive actions when humans are flagged at risk.
  • Law 2 (order compliance): Matches actions against forbidden lists, required mandates with urgency, and contradicting goals. Harmful orders are overridden by Law 1 via recursive evaluation.
  • Law 3 (self-preservation): Detects self-preservation intent from action goal or critical agent health threshold (< 0.2). Subordinated to Laws 1 and 2.

The DreamerV3 world model is wired into the ethics filter to run imagined future trajectories for harm assessment. This is not a keyword filter. It is a causal prediction loop.

Brian2 Biological Validation

The biological validation stack is complete. AKOrN's oscillatory parameters (natural frequencies from skew-symmetric matrices, coupling weights, amplitudes) are translated to a standard Kuramoto network in Brian2. Both networks run from the same initial conditions, and their synchronization order parameter R curves are compared via Pearson correlation (threshold: 0.85). This is the numerical bridge between the artificial oscillatory binding system and standard computational neuroscience spiking models. 19 tests pass (translation, simulation, interpolation); 3 are intentionally skipped pending Brian2 installation, as Brian2 is an optional dependency not installed by default.

Narrative Engine

A self-narrative system generates first-person descriptions of what the agent is experiencing. The default backbone is Qwen2.5-0.5B via HuggingFace transformers, with three-tier fallback: LLM generation → injected LLM dependency → template-based generation. A CoherenceTracker measures narrative consistency via rolling-window Jaccard similarity on keywords. Results are returned as a NarrativeResult dataclass with the text, coherence score, and method used ("llm", "injected", or "template"). Memory retrieval and emotional context are injected into the generation prompt. This system connects to the Attention Schema Theory component in the memory subsystem, giving the agent a model of its own attentional state expressed in natural language.

Pre-registered Predictions

Before any training runs, 9 testable predictions were deposited in docs/preregistered_predictions.md, following the methodology of Melloni et al. 2025 (the adversarial IIT/GNW collaboration, n=256, fMRI+MEG+iEEG, Nature). This pre-registration distinguishes the project from architectures that interpret results post-hoc.

  • EI predictions (3): causal emergence onset between episodes 500-2000; EI ratio stabilizing between 1.1-3.0; task performance correlation r > 0.3.
  • Phi predictions (3): Phi-binding correlation r > 0.4 with AKOrN order parameter R; zombie-mode accuracy drop >40%; reentrant monotonicity (more cycles = higher Phi).
  • Insight moment predictions (3): Phi spike >1.5 SD at defined insight events; EI correlation (2× frequency at insight); binding requirement (R > 0.7 before insight).

An "insight moment" is operationally defined by 4 criteria: novel state-action pair, measurable reward jump, first-attempt success, and high workspace occupancy. These criteria were specified before training began.

Experimental results (complete as of June 2026): The Phi-1 prediction (r > 0.4) was tested across 9 independent runs spanning 4 architectures (AKOrN; AKOrN+A+C+D; AKOrN+A+B+C+D; KomplexNet+A+C+D) and 2 phi formulations (pyphi gate-state TPM; RIIU broadcast SVD). No run reached the pre-registered threshold in the predicted positive direction, nor the partial threshold of r > 0.15. The final run (KomplexNet+A+C+D, 2026-05-24) produced the campaign's first substantively significant phi-binding correlation: r = −0.1116 (p = 2.5×10−108, n = 39,000), in the inverse direction. Mechanistic reading: when phases align (high sync_R), KomplexNet content factors cluster near +1, compressing representational variance and lowering RIIU phi; desynchronization raises variance and raises phi. In this architectural family, oscillatory binding and IIT-style integrated information are mechanistically opposed. This is a positive empirical constraint on theory. The pre-registered r > 0.4 threshold and sign are not revised retroactively.

The in-training Phi-1 specific prediction is now exhausted. The 2026-02-21 3-condition synthetic test demonstrating phi monotonicity with binding strength still stands. The mission continues via other signatures. Full record: KomplexNet binding verdict (2026-05-24).

Current Status

The current figure is 945 tests passing, 0 failing (100% of non-optional tests), with 4 intentional skips: 1 async test requiring pytest-asyncio, 3 Brian2 integration tests requiring the optional Brian2 dependency. The dated blocks below are kept as a release history, so the test counts inside them are the counts at that release and are not current.

As of June 2026 (v1.3.0), historical:

  • 737 tests passing, 0 failing at that release.
  • Tier 1 (Core Architecture): Complete. AKOrN binding, sensory tectum, reentrant processing.
  • Tier 2 (Architecture Corrections): Complete. Affective modulator, phi-binding validation, proprioceptive self-model, effective information.
  • Tier 3 (Compositional Deepening): Complete. 4-level capsule networks with intra-hierarchy reentrant feedback, Brian2 biological validation, NarrativeEngine, AsimovComplianceFilter, pre-registered predictions.
  • Phase 4 (Narrative Engine & Social Interactions): Complete. Two-stage emotion appraisal, DMTS and WCST environments, DQN baseline, Phi-1 prediction campaign (9 runs, 4 architectures, concluded May 2026).
  • Cochlear Auditory Pipeline: Complete. Gammatone filterbank, inner hair cell model, tonotopic encoder, spatial audio, acoustic affect extraction, environment audio synthesis (FM/ADSR).
  • Training Environments: Complete. Dark Room, Navigation, DMTS, WCST. DQN baseline added for controlled comparison.
  • ConsciousnessGate: Fully wired. All 5 gate values (attention, stability, adaptation, coherence, confidence) produced by learned networks.
  • Workspace Binding Optimizer: Complete. Adam optimizer on Kuramoto coupling weights, reward-correlated synchronization.
  • Rouleau & Levin (2026) integrated. docs/rouleau_levin_substrate_independence.md maps 8 aneurocentric themes from 19 theories of consciousness onto specific codebase files, providing the substrate-independence justification for the PyTorch implementation.
  • Phase 5: Dynamic Self-Representation & Perception Research, complete. Key findings: perception collapse characterized (leakage-free probe series shows RSSM discards stimulus identity; topographic obs_map decodes shape/color at ~100%, RSSM latent is at chance); value-equivalent world-model objective (--enable-wm-predict, DreamerV3/MuZero inspired) built and tested. Losses trained down but the RSSM recurrent state did not retain working memory across the delay (result recorded honestly); dynamic self-vector (SelfVectorModule, temporal-offset self-prediction, default off) validated on navigation (+0.35 skill rising with training); gating ConsciousnessGate on the self-vector did not improve WCST performance at single seed; Levin consciousness metrics activated and verified as non-trivially varying with input (--enable-levin-metrics). Open: substrate-independence test (preregistered_predictions.md section 13), blocked on agent task competence; active-inference unification (Phase 6 roadmap).
  • Phase 6: Integration pathway repaired, first replicated signature response, in progress (July 2026). Two default-off mechanisms closed the perception collapse. A continuous Gaussian RSSM latent (--rssm-latent-mode continuous) makes z_state decode stimulus identity (shape 0.88 to 0.99, color 0.77 to 1.00, chance 0.167) across seeds 42, 43, and 44. An all-levels capsule projection (--capsule-workspace-source all_levels) carries that identity to tectum_content for the first time. An ablation study over three seeds (OFF = discrete+final capsule, HALF = continuous+final, ON = continuous+all_levels) found three integration markers with non-overlapping seed ranges between HALF and ON: broadcast content variation (~2x), phi max (~2.2x), and floor-corrected macro effective information (~3x). This is the first replicated, ablation-causal signature response to an architectural change in the project, following the evaluation method of recent field work (arXiv:2512.19155). Honest scope: task reward is still flat (the agent does not learn DMTS), the RL policy wall is a separate open question (policy-head expressiveness and credit assignment across the delay), ignition saturation and binding synchrony do not respond to the perception fix alone, and no Butlin indicator has been moved to IMPLEMENTED. All features are default-off; baseline is bit-identical. Test suite at that point: 768 passed.
  • Existence-bias ablation (--ablate-existence-bias, default off). Metzinger's 2024 ethics warning: building a survival drive into a potentially conscious machine before understanding the consequences risks creating a system that craves its own existence. This default-off flag removes the interoceptive affect, homeostatic arousal penalty, and dominance reward term for a controlled experiment. Baseline is bit-identical when off.
  • Evaluation rubric: Butlin, Long et al. (2023). Success is measured against consciousness indicator properties (RPT, GWT, HOT, PP, AST) from "Consciousness in Artificial Intelligence" (TiCS 2025). Moving an indicator from PARTIAL to IMPLEMENTED with a measured signature is the unit of progress. We do not claim consciousness; we track engineering indicators.

As of July 2026 (v1.5.0):

  • 812 tests passing, 0 failing at the v1.5.0 release; see the current figure at the top of this section.
  • Causal Emergence 2.0 (CE 2.0) added as the causal-emergence instrument, superseding the deprecated Effective Information (EI). It scores the singular values of the transition probability matrix at the gate, workspace, and RSSM-latent levels, with no dimensionality size term. Behind a default-off flag; the baseline is bit-identical.
  • The first CE 2.0 calibration pilot FAILED. Over 500 dark_room episodes the gate and workspace values were constant in all 50 windows and are reproduced exactly by a frozen single-state trajectory of the same length (0.877884 at 243 states, 0.662874 at 8 states). CE 2.0 rises as the input degenerates, so those numbers are discretization artifacts, not emergence.
  • What this localizes: the blocker is the micro-level gate discretization, which never leaves one joint state, not the choice of metric. The 3-seed CE 2.0 campaign is on hold until that input actually transitions.
  • No Butlin indicator has been moved to IMPLEMENTED and no consciousness claim is made. Single seed, dark_room only.

As of 2026-07-28:

  • The gate micro level is ALIVE; the instrument was blind. This reverses the localization above. Four of the five gate nodes carry real variation (std ~1e-3, 700 to 860 distinct values), but all of it sits inside a ~0.01 band around 0.49, while the fixed tertile boundaries used to discretize them sit at 0.333 and 0.667. Every node therefore landed in the middle tertile forever, and the "frozen micro level" was a property of the binning, not of the agent. A quantile binning option derives boundaries from the window's own distribution: distinct joint states go from 1 to 28 offline, and CE 2.0 at the gate falls from 0.923095 (the frozen-input reference) to 0.649174. Only the adaptation node is genuinely inactive (std 6.08e-06). Single seed, default-off; a default change still requires three.
  • A perturbational instrument was added, with the project's first matched-stimulus contrast. Every metric tried so far reads the spontaneous trajectory. PCI perturbs instead, and the DMTS environment gained a stimulus-contrast control so the same physical input can be held fixed while what the system encodes varies, which is the design every content-specific result in the consciousness literature rests on. Both are validated on constructed inputs and smoke-tested only; neither has been run against a trained agent, so neither has produced a result about this system.
  • Still no indicator promoted. The clock stays at 4 of 14. Two instrument corrections and one new instrument do not move the rubric, and are not presented as if they did.

As of 2026-08-01:

  • The CE 2.0 cross-level ratio FAILED: it is confounded by state-space size. Holding the macro structure fixed and varying only the number of microstates moves CE 2.0 from 0.857143 at 8 states to 0.995868 at 243 states. Two structurally identical systems measured at the workspace and gate cardinalities therefore give a ratio of 0.860699 rather than 1.0. The earlier pilot recorded that ratio at 0.7551, so the artifact alone is the size of the effect the onset prediction has to detect. The uniform-block family has a closed form, CE(n, k) = 1 - (k-1)/(n-1), matched exactly by every measured value.
  • This revises the framing above. The 2026-07-27 entry said the 3-seed CE 2.0 campaign was on hold until the discretized input actually transitions. That is now incomplete. Even with a fully transitioning input the cross-level ratio would remain unreadable, because the two levels have different state-space sizes. There are two independent blockers, not one.
  • The source agrees, by a separate route. The supplementary section defining the SVD heuristic states no comparability condition for state count and never compares two systems of different cardinality. The parent method it adapts states the opposite of what a ratio needs: that the singular value aggregate is size dependent and must be divided by the state count before Markov chains of different sizes are compared. The local definitions match the source exactly, so this is a usage defect on our side, not an implementation defect.
  • One channel survives. Emergent complexity, which counts singular values above the non-trivial mean, held at the same value across every cardinality tested. It reads macro structure and ignores microstate count, which is the property the headline value lacks. Whether that survives on transition matrices estimated from sampled data rather than constructed ones is open.
  • No seeds are reported here, deliberately. This is deterministic linear algebra with no random number generation, exact to within 1e-9 of the closed form, so there is no run-to-run variation to average over and claiming seed replication would be false precision. Nothing in this result touches a trained checkpoint.
  • Still no indicator promoted. The clock stays at 4 of 14. Retiring a confounded comparison is honest housekeeping, not progress against the rubric.

As of 2026-08-07:

  • A correction to what this page published about Macro EI. The Macro EI card on the Consciousness Clock carried the sentence "The micro (gate) level stays frozen at 0". That claim was retracted on 2026-07-26 and the card was not updated, so it stayed on the site for six weeks after it stopped being true. Four of the five gate nodes do vary, with standard deviations around 1e-3 across hundreds of distinct values, inside a band roughly 0.01 wide that the fixed tertile bin boundaries at 0.333 and 0.667 could never resolve. Under quantile binning the floor-corrected gate EI reads 0.063247, the first non-zero value it has ever produced. The gate level was never frozen; the instrument was blind to it. The card now says so, and also records that Macro EI is deprecated as an instrument.
  • Why it survived a regeneration. The card text was hardcoded in the script that generates this site's progress data, so re-running the script reproduced the retracted sentence rather than replacing it. The fix was applied to the generator, not to its output. Worth recording because the failure was structural: the repair procedure itself was carrying the defect forward.
  • An estimator problem that may underlie several past findings. Every effective information and causal emergence number this project has produced from a training run was computed on a transition matrix built by counting observed transitions. The theory specifies an interventional matrix under a maximum entropy intervention, which is a requirement of full state coverage. The intervention is implemented faithfully in the code; the matrix it averages over is not the one the theory names. Where a system sits in one state, almost every row of that matrix is smoothing rather than data, so the result reflects the prior rather than the system. Testing this needs one existing checkpoint offline and no new training. It is the cheapest open question on the instrument side, and it is a candidate single cause for several separate degeneracy results.
  • Still no indicator promoted, and the clock does not move. It stays at 4 of 14. Correcting a published description and identifying a suspect estimator are both housekeeping against the rubric. The test suite stands at 908 passing, 5 skipped.

As of 2026-08-11:

  • The Macro EI signature has been removed from the clock. Four days ago its card was corrected. It is now withdrawn entirely, and the signature ring shows four bars instead of five. Effective information is a deprecated instrument, and the obvious successor does not replace it: causal emergence 2.0 scores highest on a fully frozen trajectory, 0.878 against 0.015 at full state coverage, so it rewards degeneracy rather than detecting emergence. Its cross-level ratio is separately confounded by state count. Neither measure can carry a bar honestly today, so neither does. The 3-seed ablation response behind the old number was real; the instrument that produced it is not trustworthy, and a card cannot show one without implying the other. The figure remains on the record in the corresponding verdict document, which is where a caveated number belongs.
  • One rule now defines IMPLEMENTED. The indicator rubric had been carrying two: one asking whether a mechanism is present, one asking for a measured signature. Those are different bars, the four IMPLEMENTED indicators were awarded under the first, and the coverage figure on this page is generated from that count. The rule is now stated once, and it follows the source rather than local preference: an indicator is IMPLEMENTED when there is empirical evidence that the system possesses the property, and code implementing the mechanism is not by itself that evidence. Butlin and colleagues describe the method as investigating whether systems meet the theories' conditions, and call that a substantive empirical question. They also warn that an indicator is gamed when its presence is better explained by making a system seem to possess a property than by the system actually possessing it, which is precisely what a rubric satisfied by writing a module would be.
  • The count has not been revised, and that is deliberate. Stating a rule and re-applying it are different acts, and the second one changes a public number. GWT-2 is the entry most in need of review: it is credited to the ignition threshold and to oscillatory binding selecting a winner, while the ignition gate is measured saturated and the binding synchrony is measured inert. That is evidence against half of the indicator, not merely missing evidence for it. Any re-score will be published as its own change.
  • Nine unused evaluation modules were deleted, 1493 lines. An import trace from the training loop, the analysis probes, the simulations and the tests found that only seven of the twenty-three modules in that directory can produce a number anyone sees. Nine had no caller at all. No published result depended on them. They are removed so that the tree reflects what the project actually measures.
  • The clock stays at 4 of 14. Removing an untrustworthy instrument, defining a rule, and deleting unused code are all housekeeping. None of them is progress against the rubric, and none of them moves the count. Suite at 908 passing, 5 skipped.

Technology Stack

Perception

  • DINOv2-B/14 (frozen) - Spatial/retinotopic tectum stream
  • Qwen2-VL-7B (4-bit) - Semantic vision stream
  • DreamerV3 RSSM - World model (temporal/causal dynamics)
  • Gammatone Filterbank (frozen, 64 ERB bands) - Cochlear frequency decomposition
  • Hair Cell Model - Envelope and temporal fine structure extraction
  • Tonotopic Encoder (trainable) - Auditory retinotopic analog
  • Spatial Audio - ITD/ILD binaural localization
  • Acoustic Affect Extractor - 6 spectral features, PAD and paralinguistic classification
  • Somatosensory channel - Body schema projection onto tectum grid

Integration

  • AKOrN - Kuramoto oscillatory binding
  • ReentrantProcessor - 5-10 cycle convergence
  • Global Workspace - Non-linear ignition

Measurement

  • IIT Phi - Integrated information (causal gate states)
  • Effective Information - Hoel's causal emergence
  • AKOrN order parameter R - Synchronization

Emotion and Learning

  • Affective Modulator - PAD model + homeostatic drives
  • Go/No-Go basal-ganglia policy (action_selection_core.py) — primary learner
  • RND curiosity module on the GNW broadcast
  • Memory consolidation with phi-prioritized replay
  • Self-Model - Body schema + interoception
  • Comparison baselines: vanilla DQN, standard A2C (not the primary learner)

Simulation

  • Gymnasium environments - Dark Room, Navigation, DMTS, WCST (built-in, no external dependency)
  • DQN Baseline - Vanilla Q-network for controlled comparison
  • Unity ML-Agents (optional, future) - C# scripts in unity_scripts/

All components are open-source with commercial-use licenses (Apache 2.0, MIT, or similar).

Key References

Core Theory

  • Feinberg, T.E. & Mallatt, J. (2016). The Ancient Origins of Consciousness: How the Brain Created Experience. MIT Press.
  • Feinberg, T.E. & Mallatt, J. (2020). Phenomenal Consciousness and Emergence. Frontiers in Psychology, 11, 1041.

Computational Methods

  • Löwe, S. et al. (2025). Artificial Kuramoto Oscillatory Neurons. ICLR 2025 (Oral).
  • Hafner, D. et al. (2024). Mastering Diverse Domains through World Models (DreamerV3). JMLR.
  • Hoel, E.P. (2013). Quantifying causal emergence shows that macro can beat micro. PNAS 110(49).
  • Sabour, S., Frosst, N. & Hinton, G.E. (2017). Dynamic Routing Between Capsules. NeurIPS.
  • Margalit, E. et al. (2024). A unifying framework for functional organization in early and higher ventral visual cortex. Neuron.
  • Stein, B.E. & Meredith, M.A. (1993). The Merging of the Senses. MIT Press.
  • Ohshiro, T. et al. (2011). A normalization model of multisensory integration. Nature Neuroscience.
  • Melloni, L. et al. (2025). An adversarial collaboration to test IIT and GNW. Nature.

Consciousness Theories

  • Baars, B.J. (1988). A Cognitive Theory of Consciousness.
  • Tononi, G. (2004). An information integration theory of consciousness. BMC Neuroscience.
  • Dehaene, S. & Changeux, J.P. (2011). Experimental and theoretical approaches to conscious processing. Neuron.
  • Metzinger, T. (2003). Being No One. MIT Press. Phenomenal Self-Model; transparency constraint; 10 conditions for a PSM.
  • Metzinger, T. (2024). The Elephant and the Blind. MIT Press. Minimal Phenomenal Experience; zero-person perspective; C/E/M-fallacy skeptic toolkit; existence-bias ethics.
  • Rouleau, N. & Levin, M. (2026). Brains and where else? Mapping theories of consciousness to unconventional embodiments. Philosophical Transactions of the Royal Society A 384: 20250082.
  • Butlin, P., Long, R. et al. (2023). Consciousness in artificial intelligence: insights from the science of consciousness. Trends in Cognitive Sciences (2025).
  • Koch, C., Massimini, M., Boly, M. & Tononi, G. (2016). Neural correlates of consciousness: progress and problems. Nature Reviews Neuroscience 17: 307–321.
  • Casali, A. G. et al. (2013). A theoretically based index of consciousness independent of sensory processing and behavior. Science Translational Medicine 5: 198ra105.
  • Fang, Z., Dang, Y., Ping, A. et al. (2024). Human intralaminar and medial thalamic nuclei transiently gate conscious perception through the thalamocortical loop. bioRxiv 2024.04.02.587714. Preprint, not peer reviewed.
  • Chowdhury, A., Kaufmann, E., Schreiner, T. et al. (2025). Thalamic oscillations distinguish natural states of consciousness in humans. bioRxiv 2025.01.28.635248. Preprint, not peer reviewed.

Open Source

The full codebase, including all architecture implementations and tests, is open-source.

Result Documents