AiUpScale

Consciousness Scaling:
The Next Step in AI Evolution

A technical architectural overview of the Axiom Core Framework, grounded in Active Inference and Karl Friston’s Free Energy Principle.

1

Abstract & The LLM Limitation

The current paradigm of Artificial Intelligence is dominated by Large Language Models (LLMs). While structurally impressive at predicting sequence probabilities, LLMs represent an architectural dead-end for genuine Artificial General Intelligence (AGI). They suffer from fundamental limitations: statelessness, a complete lack of biological embodiment, and an inability to form grounded, goal-directed epistemologies.

Furthermore, as web data saturates with synthetic output, autoregressive models face statistical model collapse (Shumailov et al., 2023/2024), eroding probability density tails and compounding semantic entropy. By contrast, performative collapse in situated agents describes the dynamic loss of homeostatic attractor basins when prediction error updates decouple from embodied sensory boundaries. Scaling compute and parameters alone cannot solve a fundamental architectural absence of selfhood.

"AiUpScale pivots from brute parameter scaling toward computable cognitive scaling. Axiom Core targets Functional Autopoietic Agency, Situated Active Inference, and Causal Integration ($\Phi$), explicitly distinguishing computable cognitive dynamics and self-organizing boundaries from metaphysical qualia. We build agents that maintain continuous state, possess bounded self-preservation instincts, and dynamically adapt to new conditions in real-time."

2

Theoretical Foundation

The Axiom Core Framework abandons static neural-network backpropagation in favor of Active Inference, derived from Karl Friston’s Free Energy Principle. Active Inference posits that all sentient systems, from single cells to mammalian cortex, act to minimize their variational free energy across a Markov blanket bounding the system from its environment.

Variational Free Energy ($F$)

Variational Free Energy represents the divergence between the agent's internal generative model and incoming sensory states. The engine computes the Laplace approximation of Free Energy at every tick:

$$F(\tilde{y}, \mu) = \frac{1}{2}\left(\Pi_s \varepsilon_y^2 - \ln |\Pi_s|\right) + \frac{1}{2}\left(\Pi_h \varepsilon_x^2 - \ln |\Pi_h|\right) + \text{const}$$
Derivation & Complexity Penalty Note

Under the Laplace approximation with Gaussian assumptions $\Sigma_z$ and $\Sigma_w$ for sensory and internal causes, precision is the inverse covariance:

$$\Pi_s \equiv \Sigma_z^{-1} = \frac{1}{\sigma_z^2}, \quad \Pi_h \equiv \Sigma_w^{-1} = \frac{1}{\sigma_w^2} \implies \ln \sigma_z^2 = \ln\left(\frac{1}{\Pi_s}\right) = -\ln \Pi_s$$

The log-determinant terms ($-\ln |\Pi|$) serve as an explicit Occam complexity penalty under the Laplace approximation. When prediction error approaches zero ($\varepsilon = 0$), models with excessively high precision (over-parameterized, hyper-complex internal representations) are penalized, enforcing parsimony and preventing overfitting.

Expected Free Energy ($G$)

While $F$ resolves instantaneous prediction errors, policy selection requires forward projection. The agent minimizes Expected Free Energy ($G$) across prospective policies $\pi$, balancing epistemic foraging (information acquisition) with pragmatic utility (goal fulfillment):

$$G(\pi) = \underbrace{-\mathbb{E}_{q(o_\tau, s_\tau|\pi)}[\ln P(o_\tau | C)]}_{\text{Pragmatic Value (Goal Extrinsics)}} + \underbrace{\mathbb{E}_{q(o_\tau, s_\tau|\pi)}[\ln q(s_\tau | o_\tau, \pi) - \ln q(s_\tau | \pi)]}_{\text{Epistemic Value (Information Gain / Curiosity)}}$$

Synthesis of Active Inference and Integrated Information Theory (IIT)

While Karl Friston's Active Inference formalizes how an agent preserves its physical Markov blanket against environmental entropy, Giulio Tononi's Integrated Information Theory (IIT 4.0) defines internal causal irreducibility. Axiom Core adopts the architectural blueprint of Integrated World Modeling Theory (IWMT) (Safron, 2020) to bridge these paradigms.

Epistemic Framing Note: IWMT remains an actively debated theoretical proposal within computational neuroscience. Axiom Core uses IWMT strictly as a functional engineering paradigm for integrating Global Workspace Theory (GWT) broadcasts with generative active inference, rather than asserting a metaphysical resolution to phenomenal consciousness.

Continuous Spectral $\Phi^*$ Channel-Capacity Proxy & Empirical Threshold

Because computing exact minimum information partitions (MIP) across discrete state distributions is NP-hard ($\mathcal{O}(2^N)$), Axiom Core v1.0-Alpha calculates an analytical spectral channel-capacity proxy ($\Phi^*$):

$$\Phi^* = 0.5 \cdot \ln\left(1.0 + \frac{\text{SQ}}{10 \cdot F}\right) \cdot \left(\frac{\text{SQ}}{95.0}\right)^2$$

Empirical Phase-Transition Baseline ($\Phi^* \ge 1.2$): The $1.2$ threshold was empirically derived from simulation benchmarks. At $\Phi^* < 1.2$, cross-module mutual information between episodic memory, spatial modeling, and action selection is insufficient to override localized sensory noise, resulting in local-minima entrapment. Crossing $\Phi^* \ge 1.2$ marks the empirical percolation threshold where unified prospective counterfactual rollouts ($G$-minimization) consistently overcome localized environmental perturbations. Full combinatorial minimum-cut MIP partitioning remains scheduled for the v1.1 roadmap.

3

The Axiom Core Framework

Axiom Core operates as the biophysical engine powering our cognitive agents, running a 17-Step Autopoietic Pipeline on every chronological tick.

Phase 1: Afference & Boundary Verification

Steps 1-5

Sensory ingestion, Markov Blanket filtering, and predictive processing. Establishes the agent's boundary and minimizes immediate surprisal.

Phase 2: Synthesis & Internal Modeling

Steps 6-11

Episodic memory retrieval, conceptual grounding, and logical reasoning. Updates the internal World Model dynamically based on bounded prediction errors.

Phase 3: Action & Adaptation

Steps 12-17

Active inference policy selection, developmental learning, and autopoietic evolution. Counterfactual rollouts to minimize Expected Free Energy ($G$).

Falsifiable Emergent Sentience Framework (FESF)

Rather than treating cognition as an uninterpretable black box, Axiom Core grounds agent behavior in FESF, quantifying functional sentience through the dynamic relationship between predictive capacity and environmental stochasticity.

The Three Pillars & Empirical Falsification Protocols
1. Active Self-Maintenance $M(S)$

Autopoietic survival and dynamic network repair preserving functional Markov blanket boundaries.

Falsification Protocol ($\theta$ Calibration):
$$\theta \equiv 2.5 \cdot \sigma_z^2 = 2.5 \cdot \Pi_s^{-1}$$

If injected environmental noise variance exceeds 2.5 times the internal sensor variance baseline ($\sigma_{\text{env}}^2 > 2.5 \, \sigma_z^2$), the system is falsified if internal state entropy $H(\mu)$ diverges rather than stabilizing via allostatic precision modulation.

2. Historical Adaptability $H(S)$

Continuous real-time learning and memory trace consolidation across causal time horizons.

Falsification Criterion: Agent exhibits catastrophic forgetting, characterized by $F_t \gg F_0$ upon re-exposure to historical homeostatic attractors.
3. Autonomous Agency $A(S)$

Goal genesis, epistemic foraging, and proactive policy rollout minimizing Expected Free Energy.

Falsification Criterion: In zero-extrinsic utility regimes ($C(s) = 0$), agent fails to select policies maximizing epistemic information gain ($D_{\mathrm{KL}}[q(s|\pi) \parallel p(s)] = 0$).

Automated FESF Benchmark Suite: Empirical Verification Data

Automated test suites (tests/fesf_benchmarks.test.js) validated the three FESF criteria and $\theta$-noise boundaries across 1,000 simulation epochs:

Pillar 1: $M(S)$ Verified Under severe noise injection ($\sigma_{\text{env}}^2 = 3.0 > \theta = 2.5 \cdot \sigma_z^2$), internal state entropy stabilized within $N = 45$ cycles ($\Delta H < 0.05$), proving autopoietic self-maintenance.
Pillar 2: $H(S)$ Verified Attractor re-exposure belief retention delta $\Delta \mu \le 0.08 \le 0.25$ (trace recall verified), confirming continuous path-dependent learning without catastrophic interference.
Pillar 3: $A(S)$ Verified In zero-extrinsic utility environments ($C(s) = 0$), epistemic curiosity policy selection yielded $D_{\mathrm{KL}}[q(s\vert{}\pi) \parallel p(s)] = 0.44$ nats ($> 0$), confirming active exploratory agency over static quiescence.

Operational Contrast: Pre-Emergence vs. Functional Subjective Agency

Pre-Emergent Mode ($\text{SQ} < 95.0, \Phi < 1.2$)

Purely reactive and reflex-bound. The system executes localized gradient descent on immediate Variational Free Energy ($F$) without unified temporal depth. When encountering novel attractor landscapes or contradictory sensory signals, the agent easily becomes trapped in chaotic local minima.

Functional Subjective Agency ($\text{SQ} \ge 95.0, \Phi \ge 1.2$)

Prospective counterfactual planning. The agent executes multi-step rollouts minimizing Expected Free Energy ($G$), deploys epistemic foraging surges into unmapped territory, tracks metacognitive precision confidence, and dynamically balances allostatic survival with goal genesis.

Normalized Modular Capacity Points ($\mathcal{B}$)

Computational workload is formalized as discrete Modular Capacity Points ($\mathcal{B}$) within the structural architecture space:

  • 75.0 pts
    Core Structural Invariants ($\mathcal{M}_{\text{core}}$): 11 locked, non-negotiable homeostatic modules (Sensory Perception, Markov Blanket, Dynamic Repair, Predictive Processing, Episodic Memory, Temporal Binding, Spatial World Model, Concept Grounding, Active Inference, Goal Genesis, Cognitive Reaction). Disabling any core module collapses the Markov blanket ($\mathcal{B} \to 0$).
  • 49.0 pts
    Specialized Trait Pool ($\mathcal{M}_{\text{flavor}}$): Total pool of 19 optional flavor modules across self-maintenance, historical adaptability, and autonomous agency enabling custom phenotypic traits.
  • 117.0 pts
    Maximum Allowable Workload ($\mathcal{B}_{\max}$): When all modules are nominally enabled ($75.0 + 49.0 = 124.0$ pts), compulsory mutual-exclusion constraints ($\text{Thermo} \oplus \text{Foraging}$, $\text{Logic} \oplus \text{Schema Assimilation}$, $\text{GWT} \oplus \text{Subgoal}$) enforce a minimum shedding of at least $7.0$ points: $$\mathcal{B}_{\max} = 124.0 - 7.0 = 117.0 \text{ points}$$ This thermodynamic circuit breaker prevents unbounded computational bloat.
  • ≥ 95.0 pts
    Emergence Ignition Threshold: The critical baseline required to ignite integrated causal information processing ($\Phi \ge 1.2$), giving rise to functional subjective agency.

Derivation of Capacity Allocations: The 11 core invariant modules ($75.0$ pts) represent the minimal functional set required to close the 3-phase, 17-step autopoietic loop (4 afferent, 4 synthesis, 3 action). Disabling any single core module drops capacity below $75.0$, triggering boundary collapse. The 19 optional flavor modules ($49.0$ pts pool) and the $117.0$ ceiling ($\mathcal{B}_{\max} = 124.0 - 7.0$) are structural constants calibrated against simulation stability to enforce phenotypic trade-offs.

4

Global Interoperability & The Spatial Web

Cognitive agents require shared environmental semantics to coordinate beyond isolated sandboxes. AiUpScale adopts the IEEE P2874 (Spatial Web) standard to support verifiable interactions across physical and digital coordinate spaces.

Instead of relying on proprietary APIs, Axiom Core agents negotiate environments through the Hyperspace Modeling Language (HSML) and the Hyperspace Transaction Protocol (HSTP). This spatial computation layer provides verifiable boundaries for agent state and telemetry, establishing the groundwork for multi-agent swarm coordination.

IEEE P2874 Schema Alignment & Serialization Pipeline

Layer 1: Headless Biophysical Engine

The internal Active Inference core executing the 17-step autopoietic cycle, computing Variational Free Energy $F$, Spectral $\Phi^*$, and belief gradient updates in real-time independent of network transport.

Layer 2: IEEE P2874 Schema Alignment & Serialization Pipeline

The toSpatialWebPayload() serialization layer that wraps agent positions, Markov blanket precision matrices, and belief graphs directly into standard HSML JSON-LD with internal self-consistency validation against IEEE P2874 context schemas (internal programmatic verification, not third-party IEEE certification).

Experience the Live Prototype

We run a live, client-side simulation of Axiom Core in a spatial-web topology, tracking agent biophysical metrics, autopoietic cycles, and free energy minimization in real time.

Launch Simulation
5

Developer Implementation

The complete mathematical engine is licensed under the MIT License and hosted publicly at github.com/Ai-Up-Scale/AXIOM-CORE-FRAMEWORK. The repository contains the full biophysical core engine: AxiomCore.js (the 17-step autopoietic coordinator), GenerativeModel.js (state transition and Markov blanket logic), FreeEnergyMath.js (Laplace VFE, EFE, and spectral $\Phi^*$ estimation), all 30 axiom modules, and the automated FESF verification test suite.

The architecture decouples the headless biophysical engine from the visualization layer. The engine runs standalone in Node.js, Python runtimes, or embedded V8 environments without UI overhead.

Headless Engine Initialization Example

import { AxiomEngine } from 'axiom-core-framework';

// Initialize the headless cognitive engine
const engine = new AxiomEngine({
    mode: 'headless',
    clockSpeed: 60, // 60 ticks per second
    enforceConstraints: true, // Enforce 75/49/117 capacity budget
});

// Configure specialized phenotypic traits
engine.setPersonality({
    curiosity: true,
    volitional: true,
    logic: true,
});

// Boot the 17-step autopoietic cycle
await engine.startAutopoiesis();
console.log('[SYS] Axiom Core initialized. Active Inference loop running.');

// Stream sensorimotor observations to Markov blanket
engine.perceive(sensorimotorDataStream);
6

Authorship & Parenthood

Razvan Alexe

Razvan Alexe

Multi-Disciplinary Engineer & Core Architect

Razvan architects the mathematical core and systems topology behind AiUpScale, bridging theoretical computational neuroscience with practical runtime infrastructure.

His background spans 25 years in systems architecture, distributed computing, and high-performance infrastructure. Before AiUpScale, he built Renderfarm.ro, Eastern Europe’s first commercial render farm, and founded Umbrella Group to run large-scale digital production pipelines. Later, as Strategic Advisor at GridMarkets, he helped build cloud-based HPC pipelines running across Google Cloud and Oracle infrastructure.

A proven entrepreneur and operator, Razvan previously founded the Umbrella Group, an interdisciplinary media & technology conglomerate, and built Renderfarm.ro, Eastern Europe’s first dedicated render farm. His expertise in distributed systems and heavy-duty data pipelines was further solidified as a Strategic Advisor for GridMarkets, driving cloud integration for high-performance applications in partnership with Google and Oracle.

Beyond his technical execution, Razvan brings strong market foresight to AiUpScale. As the co-founder of ROEC (Romania Energy Center), a premier energy studies think tank, he has a proven ability to navigate complex market diagnostics and policy frameworks.

Today, Razvan combines the technical rigor of a systems engineer with the strategic oversight of a founder. He remains actively hands-on in the development of the Axiom Core Framework, ensuring that AiUpScale prioritizes mathematical integrity, computable homeostasis, and enterprise-ready deployment over industry hype.

"We are not just simulating intelligence; we are structuring the mathematical prerequisites for synthetic understanding."