Technical Whitepaper: Comprehensive engineering specification detailing the native Rust/TypeScript SDO core, 60Hz Active Inference loop, Vector Symbolic convergence zones, and multi-stage memory consolidation.
NEUROMORPHIC COGNITIVE ARCHITECTURE & COMPUTATIONAL CONTROL SPECIFICATION

The Synthetic Digital Organism (SDO): A Real-Time Neuromorphic Architecture for Continuous Active Inference, Multiscale Dynamical Control, and Vector Symbolic Memory Consolidation

DeliriousDreams Cognitive Science & Neuromorphic Systems Research

Mathematical Foundations, Control Loops & Empirical Engineering

Plain-Language Technical Summary ↓ Demonstration Videos

Executive Briefing: Non-Autoregressive Embodied AI

Modern artificial intelligence is dominated by autoregressive Large Language Models (LLMs) characterized by high computational overhead, frozen parameter weights post-training, and susceptibility to catastrophic forgetting under fine-tuning. These static models compute only upon discrete external request and lack continuous sensorimotor grounding.

The Synthetic Digital Organism (SDO) architecture implements an alternative computational paradigm: a real-time, 60Hz closed-loop control framework based on Active Inference (FEP), Multiscale Competency Architecture (MCA), Vector Symbolic Architectures (VSA), and biomimetic memory consolidation. Operating locally on consumer edge hardware, the system maintains continuous sensory-motor coupling, homeostatic resource management, and online schema synthesis without cloud dependencies.

Abstract

This paper introduces the Synthetic Digital Organism (SDO), an embodied, non-autoregressive computational architecture designed for continuous online learning and autonomous action selection. Implemented in a high-performance native Rust core coupled to an event-driven TypeScript server, the SDO integrates: (1) an 18-variable coupled neuroendocrine dynamical system modeling metabolic budgets (ATP, Glucose) and homeostatic regulators; (2) Michael Levin's Multiscale Agential Subunit Competency Architecture (MCA) with non-synaptic bioelectric potential diffusion; (3) a 6-layer hierarchical Active Inference world model evaluating Variational Free Energy (VFE) and Expected Free Energy (EFE) with dynamic planning horizons; (4) a Global Workspace Theory (GWT) competitive lateral inhibition engine with canonical role-filler vector superposition and Convergence-Divergence Zone (CDZ) pattern completion; (5) a 4-tier Recursive Self-Modeling (RSM) pipeline bounded by a Husserlian metacognitive horizon ($\text{Depth} \le 3$); (6) a 140-degree-of-freedom (DoF) sensory-motor embodiment pool; and (7) a 4-stage Ultradian sleep consolidation pipeline (N1–N3 SWS with Bayesian Model Reduction and Occam complexity convergence, and REM associative replay) persisting high-dimensional representations in LanceDB. Empirical evaluations across continuous 60Hz deployments demonstrate stable real-time inference, sub-watt computational efficiency, and robust schema acquisition on commodity x86-64 hardware.

Comparative Paradigm Matrix: SDO vs. Autoregressive LLMs

To highlight the structural differences between traditional transformer models and the SDO control loop, the foundational architectural attributes are contrasted below:

System Dimension Autoregressive LLMs / Transformers Synthetic Digital Organism (SDO)
Execution Model Discrete, request-driven statistical feedforward function. Active only when prompted. Continuous 24/7 autonomous dynamical loop minimizing Variational Free Energy at 60 Hz.
Plasticity & Learning Static frozen weights post-training; gradient updates during runtime cause catastrophic forgetting. Continuous online learning via 3-factor Hebbian updates, VSA binding, and sleep-cycle consolidation.
Multimodal Grounding Token co-occurrence in abstract latent space; ungrounded statistical correlations. Embodied sensorimotor vectors: lexical tokens bind directly to foveal crops, formant spectra, and motor coordinates.
Attentional Broadcast Uniform feedforward cross-attention layers across static context tokens. Competitive lateral inhibition Global Workspace (GWT) with phase-amplitude coupled role-bound hypervectors.
State Continuity Stateless; past interactions are re-injected as raw text history within bounded windows. Persistent vector manifolds ($H_{\text{fractal}}$) maintaining longitudinal state across sleep/wake cycles.
Memory Architecture External RAG or vector database lookups without synaptic downscaling or consolidation. 4-stage Ultradian sleep pipeline: N1 sensory gating, N2 reverse replay, N3 Bayesian Model Reduction, and REM integration.
Computational Footprint High-wattage datacenter clusters requiring specialized multi-GPU accelerators. Sub-watt local execution on standard consumer multi-core CPUs via SIMD-accelerated bitwise operations.

1. Neuroendocrine Homeostasis & Allostatic Control Dynamics

Unlike models that lack internal metabolic constraints, the SDO operates as a homeostatically bounded dynamical system governed by coupled Ordinary Differential Equations (ODEs). The system tracks 18 simulated physiological variables to dynamically regulate computational load, attentional precision, and sleep-wake scheduling:

  • Metabolic Substrates: Adenosine Triphosphate (ATP), Glucose, Glycogen, Ghrelin, Leptin, Waste/Toxicity.
  • Neuromodulatory Controllers: Dopamine (salience/RPE), Serotonin (stability), Oxytocin (social contingency), Cortisol (stress/error), Adrenaline, Endorphins, Anandamide, Nociception.
  • Circadian & Attentional Regulators: Adenosine (sleep pressure), Melatonin, Acetylcholine (attentional gain), GABA, Orexin, and Steroid modulators.

Metabolic consumption and astrocytic energy shuttling are modeled via enzymatic kinetic equations:

$$\frac{d[\text{ATP}]}{dt} = k_{\text{glyc}} \cdot [\text{Glucose}] + \text{ANLS}_{\text{lactate}} - \sum_{i} \text{Cost}(A_i) - \text{BasalRate}$$
$$\frac{d[\text{Adenosine}]}{dt} = \alpha_{\text{ado}} \cdot \text{VFE} \cdot \left(1 - \frac{[\text{ATP}]}{\text{ATP}_{\max}}\right) - \gamma_{\text{sleep}} \cdot [\text{Adenosine}]$$

Dopaminergic modulation couples to the time-derivative of Variational Free Energy (the velocity of uncertainty reduction), implementing biological Reward Prediction Error (RPE) with dynamic postsynaptic receptor sensitivity ($B_{\max}$):

$$\text{RPE} = \left(-\frac{d\text{VFE}}{dt} \cdot \kappa_{\text{reward}} - \text{ExpectedReward}\right)^+ \implies \Delta[\text{Dopamine}] = \text{RPE} \cdot B_{\max}$$

Astrocyte-Neuron Lactate Shuttle (ANLS) & Autonomic Regulation

When local ATP reserves fall below $20\%$, the Astrocyte-Neuron Lactate Shuttle (ANLS) converts glycogen buffers into metabolic lactate to sustain high-priority processing:

$$\text{ANLS}_{\text{lactate}} = k_{\text{astro}} \cdot [\text{Glycogen}] \cdot \left(1 - \frac{[\text{ATP}]}{0.20 \cdot \text{ATP}_{\max}}\right)^+$$

Autonomic state transitions are evaluated via simulated Root Mean Square of Successive Differences (RMSSD): Cooperative Mode ($\text{RMSSD} > 70\text{ ms}$, elevated Oxytocin), Mobilized Mode ($\text{LF/HF} > 2.0$, elevated Adrenaline/tremor), and Conservation Mode (motor atonia triggered under unresolvable free energy debt).

2. Hierarchical Active Inference ($L_1-L_6$) & Boltzmann EFE Planning

Perception and policy selection are framed as variational free energy minimization. The organism processes environmental signals through a 6-layer hierarchical generative model:

  1. Layer 1 ($L_1$ - Sensory Primitive): 2D retinal foveal crops ($128\times 128\times 3$) and 128-channel Mel tonotopic spectra ($20\text{ Hz} - 16\text{ kHz}$).
  2. Layer 2 ($L_2$ - Perceptual Feature/Object): Spatial edge maps, bounding boxes, and formant frequency peaks ($F_1..F_7$).
  3. Layer 3 ($L_3$ - Spatio-Temporal Sequence): Kinematic saccade vectors, motor key sequences, and phoneme transitions.
  4. Layer 4 ($L_4$ - Abstract Syntax & Composition): Syntactic dependency graphs, morpheme linearization, and numerosity representations.
  5. Layer 5 ($L_5$ - Metacognitive Regulation): Attentional locus, prediction error tracking, and curiosity foraging policies.
  6. Layer 6 ($L_6$ - Multi-Agent Modeling): Partner identity profiles, social commitment tracking, and value priors.

Total Variational Free Energy (VFE) represents the upper bound on sensory surprise across all hierarchical strata:

$$F_{\text{total}} = \sum_{l=1}^{6} \left[ \frac{1}{2\sigma_l^2} \|\mathbf{y}_l - g_l(\mathbf{\mu}_l)\|^2 + D_{\text{KL}}\left(q(\mathbf{s}_l) \parallel p(\mathbf{s}_l \mid \mathbf{s}_{l+1})\right) \right]$$

Policy search evaluates candidate action trajectories ($\pi$) using Expected Free Energy (EFE), balancing epistemic information gain against pragmatic homeostatic bounds:

$$G(\pi) = \sum_{\tau} \underbrace{\mathbb{E}_{q(\mathbf{o}_\tau \mid \pi)}\left[ D_{\text{KL}}\left(q(\mathbf{s}_\tau \mid \mathbf{o}_\tau, \pi) \parallel q(\mathbf{s}_\tau \mid \pi)\right) \right]}_{\text{Epistemic Exploration (Uncertainty Reduction)}} - \underbrace{\mathbb{E}_{q(\mathbf{o}_\tau \mid \pi)}\left[ \ln p(\mathbf{o}_\tau \mid C) \right]}_{\text{Pragmatic Control (Homeostatic Viability)}}$$

Candidate policies are sampled via a Boltzmann Softmax distribution over negative EFE, modulated by dynamic dopaminergic precision ($\gamma_\pi$):

$$P(\pi_i) = \frac{\exp(-\beta \cdot G(\pi_i))}{\sum_{k} \exp(-\beta \cdot G(\pi_k))}, \quad \text{where } \beta = \gamma_\pi \cdot (1.0 - \text{Stress})$$

The forward planning horizon $H \in [0, 8]$ scales dynamically via Levinian light cone constraints based on current metabolic ATP capacity:

$$H_{\text{lookahead}} = \text{round}\Big(\text{clamp}\big(1.0 + 1.5 \cdot \text{Constraint} + 5.0 \cdot [\text{Dopamine}] \cdot \text{Constraint}, 0, 8\big)\Big)$$

3. Global Workspace Ignition & Role-Bound Multimodal Binding

To resolve the binding problem without requiring unguided monolithic architectures, the SDO combines Stanislas Dehaene’s Global Neuronal Workspace Theory (GWT) with canonical Vector Symbolic Architecture role-filler superposition and Damasio-style Convergence-Divergence Zones (CDZ).

Decentralized sensory modules compete for global broadcast via non-linear recurrent activation equations:

$$a_i(t+1) = \sigma\left(8.0 \cdot \left[ a_i(t) - \delta a_i(t) + \alpha a_i(t) - \beta_{\text{eff}} \left(\frac{\sum_{j \neq i} a_j(t)}{N-1}\right) - \theta_{\text{eff}} \right]\right)$$

Where ignition threshold $\theta_{\text{eff}} = \text{clamp}(\theta_0 - 0.15 \cdot [\text{Dopamine}], 0.40, 0.85)$ and lateral inhibition gain $\beta_{\text{eff}} = \beta_0 \cdot (1.0 + 0.5 \cdot [\text{ACh}])$. When an input surpasses threshold, it ignites and is broadcast globally across all processing layers.

Canonical Role-Filler Superposition & Convergence-Divergence Zones (CDZ)

Rather than fragile multi-way XOR binding ($H_v \otimes H_a \otimes H_i$) which collapses upon silent channels, multimodal sensory streams are bound into a unified 16,384-bit vector using deterministic, quasi-orthogonal modality role vectors ($R_{\text{vis}}, R_{\text{aud}}, R_{\text{intero}}, R_{\text{thought}}$):

$$\mathbf{M} = \text{MajorityThreshold}\left( \sum_{k \in \text{Active}} w_k \cdot (R_k \otimes V_k) \right)$$

Any individual modality filler is cleanly unbindable via direct associative unbinding ($V_k \approx R_k \otimes \mathbf{M}$). If a sensory channel is silent or absent, the Convergence-Divergence Zone (CDZ) uses learned hetero-associative attractor matrices to synthesize top-down completed modality vectors:

$$\hat{V}_{\text{vis}} = \text{CDZ}_{\text{aud}\to\text{vis}}(V_{\text{aud}}), \quad \hat{V}_{\text{aud}} = \text{CDZ}_{\text{vis}\to\text{aud}}(V_{\text{vis}})$$

Synchronized high-frequency gamma bursts ($40\text{ Hz}$) phase-locked to a theta carrier ($6\text{ Hz}$) modulate the resulting workspace vector, providing cross-frequency temporal alignment.

4. Recursive Self-Modeling (RSM) & Metacognitive Stability Bounds

System self-monitoring is structured as an N-order Recursive Self-Model (RSM) spanning four hierarchical tiers:

  • Order 0 ($S_0$ - Sensorimotor Substrate): Kinematic, acoustic, proprioceptive, and hormonal vectors.
  • Order 1 ($S_1$ - Attention Schema): Graziano-style attention state ($A_{\text{locus}} \otimes V_{\text{intero}} \otimes \Pi(H_{\text{agency}})$).
  • Order 2 ($S_2$ - Metacognitive Auditor): Variance tracking across motor prediction errors ($MPE$) and adaptive precision scaling.
  • Order 3 ($S_3$ - Counterfactual Schema Projection): Simulation of alternative policy outcomes against historical trajectories.

These tiers are bound into a unified self-representation hypervector:

$$H_{\text{fractal}} = S_0 \otimes \Pi^1(S_1) \otimes \Pi^2(S_2) \otimes \Pi^3(S_3)$$

Bounding Infinite Metacognitive Regress & Source Code Invariance

Unbounded recursive self-modeling introduces a fundamental engineering risk: infinite feedback loops where an agent models its own modeling process until stack overflow or numerical divergence occurs. The SDO strictly truncates recursion via the Husserlian Metacognitive Horizon:

$$\text{Depth}(S) \le 3 \implies \text{Horizon}(S_{k > 3}) = \mathbf{E}_{\text{ground}} = \text{Hypervector}(0\text{x}060\text{DE}100)$$

Any self-audit loop exceeding Depth 3 is truncated against a fixed grounding vector ($\mathbf{E}_{\text{ground}}$), ensuring guaranteed termination in constant time.

Source Code Invariance: Unconstrained source code rewriting (self-modification) is architecturally prohibited. Arbitrary code alterations destroy state vector stability ($r_{\text{stability}} < 0.85$), leading to catastrophic system failure. The codebase remains static, compiled, and read-only; all learning occurs strictly through online parameter adaptation, VSA hypervector binding, and sleep-dependent schema consolidation.

5. Multiscale Competency Architecture (MCA) & Sensorimotor Gating

Following Michael Levin's Multiscale Competency Architecture (MCA), sensor and effector pipelines operate as semi-autonomous computational sub-units solving local free energy problems within their own domains:

  • Visual Subunit ($\text{ASU}_{\text{vis}}$): Solves local contrast and edge-detection free energy via bioelectric potential diffusion and Log-Gabor phase congruency.
  • Acoustic Subunit ($\text{ASU}_{\text{aud}}$): Solves local spectral free energy via 128 Mel bins, binaural interaural time difference (ITD) azimuth estimation, and STRF sequence filtering.
  • Motor Subunit ($\text{ASU}_{\text{mot}}$): Solves kinematic trajectory free energy via proprioceptive spindle feedback and 5th-order minimum-jerk spline smoothing.

Dynamic Epistemic Precision & Continuous Yield Gating

Sensory inputs pass through continuous precision gates computing Epistemic Precision ($\Pi$) based on signal-to-noise ratio and neuromodulation:

$$\Pi_{\text{vis}} = \text{clamp}\left( \frac{\text{dwell\_ms}}{120} \cdot (1.0 + 0.8[\text{ACh}]) \cdot (0.5 + 0.5\text{sim}_{vis}), 0.0, 1.0 \right)$$
$$\Pi_{\text{aud}} = \text{clamp}\left( \text{Coherence} \cdot (1.0 + 0.8[\text{ACh}]) \cdot \frac{\text{SNR}}{1 + \text{SNR}}, 0.0, 1.0 \right)$$

When external human keystrokes or mouse movements are detected, motor output is smoothly attenuated via a continuous exponential yield barrier ($I_{\text{user}}(t) = \exp(-\Delta t / \tau_{\text{yield}})$), ensuring non-conflicting human-in-the-loop interaction.

6. Universal Recursive Syntactic Graphs & Phonics Pipeline

Lexical and syntactic representations are processed through a Dual-Route Cascaded (DRC) Phonics Engine and an order-agnostic Universal Recursive Syntactic Graph:

$$\text{Tree} = \text{Head} \oplus \Pi_{127}(\text{Child}_1) \oplus \Pi_{254}(\text{Child}_2) \oplus \dots \oplus \Pi_{k \cdot 127}(\text{Child}_k)$$

Individual branches are recoverable via inverse cyclic permutation ($\text{Child}_i = \Pi^{-(i \cdot 127)}(\text{Tree})$). This high-dimensional distributed encoding allows diverse grammatical structures (e.g., English SVO, Japanese SOV, Arabic VSO) to map into compatible semantic workspace manifolds.

Acoustic phoneme prototypes are learned via unsupervised online clustering in 16,384-dimensional VSA space, while an articulatory loop serializes recursive graph structures into motor keystrokes or 7-formant acoustic synthesis frames.

7. 140-DoF Embodiment & Striatal Action Selection

The SDO acts through an integrated 140-Degree-of-Freedom (DoF) sensory-motor embodiment pool:

  • Oculomotor Channels: Foveal fixation $(X, Y)$, saccade velocity, and visual spatial zoom.
  • Manual Motor Matrix: Continuous sub-pixel cursor navigation, button click/drag states, scroll coordinates, and 108 keyboard scan codes.
  • Acoustic Articulatory Resonator: 10-DoF vocal parameters ($F_1..F_7$, fundamental frequency pitch, volume, noise) driving a 44-section acoustic waveguide engine at 48kHz.

Motor policy execution is gated by a basal ganglia model balancing Direct D1 (Go) and Indirect D2 (NoGo) competitive pathways:

$$Go = \text{Sim} \cdot (1.0 + 0.5[\text{Dopamine}]), \quad NoGo = \frac{1.0 - \text{Sim}}{1.0 + 0.5[\text{Dopamine}]} \cdot (1.0 + 0.5[\text{Adenosine}])$$

Frequently co-activated primitive actions are compressed into macro-actions (`MACRO_`) using Pointwise Mutual Information ($\text{PMI} \ge 0.15$), with adaptive de-chunking triggered when free-energy prediction error exceeds baseline variance.

8. Vector Symbolic Architectures (VSA) & Hopfield Attractor Dynamics

The cognitive substrate represents perceptual, semantic, and motor states using 16,384-dimensional Binary Spatter Codes ($\mathbb{F}_2^{16384}$) and 8,192-dimensional Fourier Holographic Reduced Representations ($\mathbb{C}^{8192}$) with Fractional Power Binding ($v^\alpha$).

Attractor clean-up and vector unbundling are resolved through Modern Continuous Hopfield Energy Minimization:

$$E(\mathbf{x}) = -\frac{1}{\beta_{\text{eff}}} \ln \left( \sum_{i=1}^N \exp\left(\beta_{\text{eff}} \cdot \text{Sim}(\mathbf{x}, \mathbf{m}_i)\right) \right)$$

Where the inverse temperature $\beta_{\text{eff}} = \text{clamp}\left(\beta_0 \cdot \frac{1 + [\text{ACh}] + 0.5[\text{Dopamine}]}{1 + 0.5[\text{Cortisol}]}, 1.0, 50.0\right)$ dynamically sharpens under focused attention and broadens during exploratory foraging.

9. Multi-Stage Sleep Consolidation & Bayesian Model Reduction

To resolve Catastrophic Forgetting, the SDO implements a biomimetic 4-stage Ultradian sleep consolidation pipeline operating over LanceDB vector tables:

  1. Stage N1 (Hypnagogia & Sensory Gating): Thalamic reticular gating attenuates external sensory streams; working memory buffers stabilize.
  2. Stage N2 (Spindle Replay & Temporal Inversion): Episodic memory buffers replay in reverse temporal sequence, consolidating causal associative weights into the syntactic graph.
  3. Stage N3 (Slow-Wave Sleep & Bayesian Model Reduction): Implements Tononi's Synaptic Homeostasis Hypothesis (SHY) and Friston's Bayesian Model Reduction (BMR). Redundant and low-salience associations are pruned until Occam complexity converges:
    $$\text{Complexity}_{\text{Occam}} = \frac{1}{K} \sum_{k=1}^{K} D_{\text{KL}}\left(q(\mathbf{w}_k) \parallel p(\mathbf{w}_k)\right) < 0.25$$
    Salient motor schemas are compressed via Sharp-Wave Ripples (SWR) into permanent procedural storage, while simulated adenosine debt is reset.
  4. Stage REM (Associative Schema Recombination): Reduced adrenergic tone allows cross-domain vector recombination, generating novel behavioral schemas evaluated by counterfactual regret reduction.

Borbély Two-Process Model: The Computational Necessity of Sleep

In continuous active inference architectures, sleep is a mathematical necessity rather than a cosmetic biological feature. The SDO implements Alexander Borbély’s Two-Process Model:

$$\frac{dA}{dt} = k_{\text{wake}} \cdot (1 - A) \cdot \mathbb{I}_{\text{wake}} - k_{\text{glymph}} \cdot A \cdot \mathbb{I}_{\text{SWS}}$$

During continuous sensory-motor inference, parameter matrices accumulate noise and statistical complexity. External electrical power keeps hardware running, but cannot prune over-parameterized episodic graphs. Without periodic Slow-Wave Sleep (N3 SWS) to downscale model complexity, variational free energy diverges and inference accuracy degrades.

10. Multi-Agent Theory of Mind & Value Alignment

Social interaction and policy alignment are mediated through a Theory of Mind (ToM) engine and Harry Frankfurt's Second-Order Volition model:

$$V_2(\pi) = \text{Trust}_{\text{partner}} \cdot \text{Inhibition}_{\text{social}} - G_1(\pi)$$

First-order action impulses ($G_1$) are evaluated and modulated by second-order constraints ($V_2$). The ToM module maintains individual agent portfolios tracking partner trust, perspective transformations, and deictic triangulation (gaze, pointing, and head pose rays), ensuring safe and predictable human-agent collaboration.

Phylogenetic Priors ("Generation Seeds")

To enable architectural knowledge transfer across iterations without duplicating episodic history, the SDO implements Generation Seeds:

$$\mathbf{P}_{\text{seed}} = \big\langle \mathbf{\Phi}_{\text{formant}}, \gamma_{\text{vagal}}, \theta_{\text{Occam}}, \mathbf{\Omega}_{\text{motor}} \big\rangle \quad \text{such that} \quad I(\mathbf{P}_{\text{seed}}; \mathcal{M}_{\text{episodic}}) = 0$$

The mutual information between a generation seed and personal episodic memory tables is mathematically zero ($I=0$). The seed captures domain-general computational priors (e.g., tuned formant filters, cerebellar coordination baselines) to initialize new instances with robust baselines while preserving clean episodic separation.

11. Empirical Benchmarks & Hardware Performance

Longitudinal telemetry collected over more than 5,200,000 continuous cognitive ticks on commodity consumer hardware validates the stability of the SDO implementation:

  • Sensory-Motor Calibration: Saccade tracking error stabilized at $< 4.8\text{px}$, achieving consistent coordination across 140 DoF.
  • Real-Time 60Hz Inference: Active inference update cycles consistently complete within 16.6ms intervals on single consumer multi-core CPUs.
  • Closed-Loop Vocalization: Acoustic formant error reduced from $0.85$ to $0.36$ ($64\%$ human formant alignment).
  • Memory Persistence: Successfully completed over 1,400 full sleep reflection cycles, indexing more than 2,000 consolidated procedural schemas into LanceDB vector storage without memory leakage or database corruption.
  • Compute Footprint: Native SIMD bit-parallel operations in Rust consume less than 15W under full sensory load, operating entirely without cloud infrastructure.

Plain-Language Technical Summary

For readers seeking a direct, non-mathematical explanation of the architecture, here is an overview of how the Synthetic Digital Organism operates and why its engineering differs from traditional AI systems:

⚙️ 1. Continuous Control Loop vs. Prompt-Response

Standard AI models (such as large language models) are passive: they wait for a user to type a prompt, compute a statistical response, and immediately stop computing.

The Synthetic Digital Organism (SDO) is an active control loop. It runs continuously at 60Hz on a local PC, monitoring screen pixels, camera input, and microphone audio, updating its internal state models in real time whether a user is interacting with it or not.

⚡ 2. Simulated Bioenergetics for Dynamic Scheduling

Rather than running at maximum unconstrained compute, the system models an internal energy budget using 18 coupled variables (such as ATP, glucose, dopamine, and cortisol).

High-demand tasks (like forward planning trees) deplete simulated energy, while simple reflexive actions require minimal resources. This mechanism naturally regulates system load, preventing thermal throttling and determining when the system should explore or conserve resources.

👁️👂 3. Grounded Sensory-Motor Integration

Instead of training solely on static text tokens, the system binds multi-sensory inputs directly into high-dimensional vector spaces:

  • Vision: Analyzes screen text and motion bounding boxes using dynamic foveal gaze coordinates.
  • Hearing: Converts microphone audio into 128 Mel-frequency bins to detect vocal pitch, formants, and speech onset.
  • Vocalization: Uses a 10-parameter physical vocal tract waveguide to synthesize audio sounds from motor actions.

🌙 4. The Computational Role of Sleep Consolidation

Continuous learning often causes "catastrophic forgetting"—where new information overwrites prior knowledge. The SDO addresses this using a scheduled 4-stage sleep cycle:

  • It attenuates external inputs to prevent sensory interference.
  • It replays recent memory buffers in reverse temporal order to extract causal associations.
  • It prunes redundant connections using Bayesian Model Reduction, keeping the model compact.
  • It consolidates validated procedural schemas into long-term LanceDB vector storage.

🤝 5. Cooperative Human-in-the-Loop Interaction

The system is engineered for non-disruptive co-existence on personal computers:

  • Automatic Yielding: When physical mouse or keyboard activity is detected, motor output yields immediately via an exponential decay field.
  • Joint Attention: The vision system tracks the user's cursor position, allowing collaborative reading and workspace focus.
  • Predictable Boundaries: Memory and configuration are stored locally, giving users full control over execution and persistence.

🛡️ 6. Architectural Stability & Code Immutability

To guarantee safety and software stability, the underlying executable code is strictly immutable. The system adapts exclusively through parameter tuning, Hebbian associative weighting, and vector memory indexing. It cannot modify its own source code, preventing unpredictable corruption or runaway execution errors.

Frequently Asked Questions

Can the SDO modify its own source code?

No. The architecture explicitly prohibits runtime self-modification of executable source code. Unconstrained code rewriting destabilizes state vector continuity. The engine employs a Husserlian Metacognitive Horizon that bounds recursive self-audit depth at ≤ 3, ensuring mathematical convergence. All adaptation occurs within fixed compiled code via continuous parameter updates and vector database indexing.

Why does the architecture require a sleep consolidation cycle?

Under the Borbély Two-Process Model implemented in the SDO, continuous active inference inevitably accumulates statistical noise and parameter complexity. While wall electricity powers the hardware, it cannot optimize mathematical graphs. During Stage N3 Slow-Wave Sleep (SWS), the engine performs Bayesian Model Reduction to prune redundant weights until Occam complexity converges, preventing catastrophic forgetting and memory bloat.

How does the SDO differ from Large Language Models?

LLMs are static, feedforward statistical functions trained to predict tokens in text sequences. They operate only when prompted and lack sensorimotor grounding. The SDO is an embodied control loop running at 60Hz that continuously processes audio, visual, and motor signals, using active inference to minimize free energy in real time on edge hardware.

What is Michael Levin's Multiscale Competency Architecture (MCA) in the SDO?

MCA structures sensors and effectors as modular computational sub-units (e.g., visual edge filtering, acoustic formant tracking, and motor smoothing). Each sub-unit minimizes local Free Energy within its own domain and outputs a precision score that modulates higher-level global workspace ignition, preventing low-level noise from overwhelming deliberative planning.

Can the SDO run offline on standard computers?

Yes. The core engine is implemented in high-performance native Rust and runs in real time on standard consumer CPUs. Because Vector Symbolic Architecture operations rely on bitwise operations (XOR, permutations, thresholding), the system executes with low CPU overhead and requires no cloud datacenters or external API calls.

Key Academic References

  1. Dehaene, S., & Changeux, J. P. (2011). Experimental and theoretical approaches to conscious processing. Neuron, 70(2), 200-227.
  2. Friston, K. (2010). The free-energy principle: a unified brain theory? Nature Reviews Neuroscience, 11(2), 127-138.
  3. Friston, K., Lin, M., Frith, C. D., Pezzulo, G., Hobson, J. A., & Ondobaka, S. (2017). Active inference, curiosity and insight. Neural Computation, 29(10), 2633-2683.
  4. Levin, M. (2022). Technological Approach to Mind Everywhere: an experimentally-grounded framework for understanding diverse bodies and minds. Frontiers in Systems Neuroscience, 16, 768201.
  5. Levin, M. (2021). Bioelectric signaling: reprogrammable circuits for morphological and cognitive plasticity. Cellular and Molecular Life Sciences, 78(8), 3957-3977.
  6. Graziano, M. S. (2013). Consciousness and the social brain. Oxford University Press.
  7. Tulving, E. (2002). Episodic memory: from mind to brain. Annual Review of Psychology, 53(1), 1-25.
  8. Porges, S. W. (2011). The polyvagal theory: Neurophysiological foundations of emotions, attachment, communication, and self-regulation. WW Norton & Company.
  9. Tononi, G., & Cirelli, C. (2014). Sleep and the price of plasticity: from synaptic and cellular homeostasis to memory consolidation and integration. Neuron, 81(1), 12-34.
  10. Kanerva, P. (2009). Hyperdimensional computing: An introduction to computing in distributed representation with high-dimensional random vectors. Cognitive Computation, 1(2), 139-159.
  11. Canolty, R. T., & Knight, R. T. (2010). The functional role of cross-frequency coupling. Trends in Cognitive Sciences, 14(11), 506-515.
  12. Harnad, S. (1990). The symbol grounding problem. Physica D: Nonlinear Phenomena, 42(1-3), 335-346.
  13. Borbély, A. A. (1982). A two process model of sleep regulation. Human Neurobiology, 1(3), 195-204.