Unified Intelligence: Integrating Adaptive Routing with Deterministic Execution (L0–L3 Horizon)
February 2, 2026 whitepaper uniting Search-First routing with Cortex IR execution across the L0–L3 Horizon (11.9 J/query observed warmed average vs. 170 J LLM baseline = 14.3x on calibrated M4 Max telemetry), with November 25, 2026 ratio and regime reconciliations.
Part I: Contemporary Historical Summary (As Written in February 2026)
Historical Source Provenance (Original Date: February 2, 2026): David Jean Charlot, PhD · Open Interface Engineering. Preserved from our February 2, 2026 systems-integration whitepaper (Download Original Feb 2026 PDF).
Thesis: Caching Compiled Binary IR Instead of Text Prompts
Through January 2026, OpenIE had prototyped two separate components:
- Search-First / Metabolic Cascade, routing queries across model tiers, and
- Cortex, lowering source scripts into
Craneliftnative JIT andMetalGPU shaders.
The February 2, 2026 Unified Intelligence paper connected them via an execute_or_learn loop: when an L3 language model discovers how to parse a recurring log schema or aggregate a structured report, storing its chain-of-thought as text in a RAG prompt cache still invokes neural inference on every repeat query. Compiling the discovered transformation into a binary Cortex IR module lowers repeat executions to native CPU JIT (0.08 J on M4 Max) rather than 45–170 J LLM inference.
The L0–L3 Inference Horizon Taxonomy
A 3-stage compound router (98%-precision symbolic rules -> 10 ms embedding similarity -> small-LM tie-breaker, 89.2% overall routing accuracy) dispatched incoming enterprise queries across four Inference Horizons (with original Table 1 grouping raw file reads and Cortex JIT under one "500 – 5,000x" cell — see exact separation in Nov 25, 2026 Errata below):
| Horizon Tier | Workload Share | Execution Substrate | Per-Query Energy (Feb 2026) | Baseline LLM Numerator | Per-Tier Ratio (LLM / Tier) |
|---|---|---|---|---|---|
L0a Direct Hash / OS File Read (§2.1) | (sub-case of 40% L0) | Exact key/file cache (0 compute) | 0.01 J | 50 J | 5,000x (50 / 0.01) |
L0b Cached Cortex JIT Module | 40% (L0 total) | Compiled Cranelift IR (0% neural) | 0.08 J (< 0.10 J) | 50 J | 625x (50 / 0.08; 500x at 0.10 J) |
L1 Structural Extraction | 20% | Deterministic regex + tree-sitter CST | ~0.50 J | 100 J | 200x (100 / 0.50) |
L2 Tabular Aggregation | 15% | Vectorized MapReduce / SQL / Cortex parfor | ~2.0 J | 200 J | 100x (200 / 2.0) |
L3 Open Reasoning | 25% (20% simple + 5% complex) | Local Mamba (130M/790M), Gemma 4B, or frontier escalation | 20 – 150 J | 300 – 800 J | 2 – 5x |
M4 Max Telemetry Calibration & Three Evaluation Regimes
Calibrating a Unified Telemetry Bus on an Apple M4 Max MacBook Pro (7.6% Mean Absolute Error against macOS powermetrics/IOReport counters) yielded local per-invocation profiles:
M4 Max Calibrated Local Execution Costs (Feb 2, 2026 — 7.6% MAE vs. macOS counters):
Raw OS hash / cached file read (§2.1) : 0.01 J
Cortex Native Cranelift JIT module : 0.08 J
Cortex Apple Metal GPU kernel : 1.20 J
Local Mamba-130M state-space pass : 2.10 J
Local Mamba-790M state-space pass : 8.40 J
Local Gemma-4B quantized pass : 45.20 J
Across Sections 3–5 of the February 2, 2026 whitepaper, three distinct workload regimes were evaluated (reconciled side-by-side in Part II Errata below):
- Section 3 Synthetic Oracle Ceiling (
240 J -> 8.0 J/query,30.0x/96.7%): Assuming100%oracle routing accuracy and pre-warmedL0–L2modules against a240 J/queryweighted cloud-LLM mix. - Section 4 Observed 10,000-Query Enterprise Log Benchmark (
1.70 MJ -> 119.04 kJ,14.3x/93.0%):1,700,000 J(170.0 J/queryuniform LLM baseline) dropped to119,040 J(11.904 J/queryobserved) when accounting for89.2%router accuracy (10.8%misclassifications) over the warmed log-analysis suite. - Section 5 Cold-Start 30-Day Episodic Learning Stream (
170 J -> < 50 J/query): Starting from an empty (0%) procedural cache with a continuous40%share of non-repeating novelL3tasks,execute_or_learngrew procedural cache hit rate from0% -> 60%, bringing blended energy (including first-timeL3synthesis + compilation) below50 J/query.
November 25, 2026 Errata, Related Work, and Evolution Addendum
Ratio & Workload-Regime Reconciliation Errata (2026-11-25 Audit)
- Separating
625x(CortexNative JIT) From5,000x(Raw OS File Read):- In the original PDF, Table 1 printed
< 0.10 Jand"500 – 5,000x"on theL0row while profilingCortexCranelift JIT at0.08 Jin §3. Dividing the50 JLLM baseline numerator by0.08 Jyields625x(50 / 0.10 = 500x). The5,000xupper figure in Table 1 came from §2.1’s50 J / 0.01 Jcomparison against a raw OS hash/file read (0.01 J) with zero JIT execution. Part I now listsL0a(0.01 J -> 5,000x) andL0b(0.08 J -> 625x) on separate rows so neither numerator nor denominator is conflated.
- In the original PDF, Table 1 printed
- Reconciling
8.0 J(96.7%) vs.11.9 J(93.0%) vs."< 50 J"Per-Query Averages:- Readers comparing Sections 3, 4, and 5 of the February 2 PDF encountered three different steady-state joule/query figures because each section changed both the baseline mix and the cold-miss/novelty rate:
8.0 J/query(240 J -> 8.0 J,30.0x,96.7%cut): Analytical oracle router (100%accuracy,0%cold misses) evaluated against Section 3’s240 J/querysynthetic cloud baseline (0.40*50 + 0.20*100 + 0.15*200 + 0.25*680 = 240 J).11.904 J/query(170 J -> 11.9 J,14.28x ≈ 14.3x,93.0%cut): Observed 10,000-query enterprise log replay (119,040 J / 10,000) with real89.2%router accuracy (10.8%false escalations/fallbacks) over warmedL0–L2log parsers, compared against a170 J/query(1.70 MJ) uniform log-LLM baseline.< 50 J/query(170 J -> ~42–48 Jasymptote): Cold-start (0% -> 60%hit rate) non-stationary 30-day episodic simulation where40%of arriving queries remain genuinely novelL3tasks (~90–110 Jsynthesis +~1.3 JCortex compile + test) that never repeat (0.60 * ~0.5 J + 0.40 * ~110 J ≈ 44.3 J < 50 J).
- Readers comparing Sections 3, 4, and 5 of the February 2 PDF encountered three different steady-state joule/query figures because each section changed both the baseline mix and the cold-miss/novelty rate:
- Epistemic & Licensing Status (
reported_jLocal +est_jCloud Baseline): While local M4 Max execution tiers (0.08 Jto45.20 J) were calibrated against macOS hardware power counters (reported_j,7.6%MAE), the170 Jand240 Jfrontier cloud baselines were analytical server-wattage estimates (est_j), making the14.3xcross-tier ratio a hybrid local-reported_jvs. cloud-est_jmodel rather than a pure single-instrument ratio. Archival PDF (#07) is public under CC BY-ND 4.0; the February 2026 integration repo (openIE-dev/energy-efficient-agi) is private (unreproduced externally).
Chronological Evolution Within OpenIE Research
- Guarding Procedural Cache Poisoning via Formal Verification (The Eco-Stack & RCE-Compile): Compiling an unverified
L3LLM script intoL0in February 2026 risked caching subtle semantic bugs permanently; movingexecute_or_learnonto the verified Reality Code Engine (2,221deterministic checks) yieldedup to 448.5x warm-cache cut (chip counter, reported_j)with deterministic soundness checks. - Formalizing Escalation Contracts (Bounded Agency): Refined the
L0–L3Inference Horizon into explicit delegation and budget contracts governing autonomous tool synthesis vs. open deliberation.
Related Work & External References
- Cai, T., Wang, X., Ma, T., Chen, X., & Zhou, D. (2024). Large Language Models as Tool Makers (
LATM). ICLR 2024 — direct prior art for invoking a frontier LLM once to synthesize reusable deterministic code tools and routing subsequent calls to a lightweight/deterministic executor (execute_or_learn). - Khattab, O., Santhanam, K., Li, X. L., Hall, D., Liang, P., Potts, C., & Zaharia, M. (2022/2024). Demonstrate-Search-Predict (
DSP) &DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines. ICLR 2024. - Chen, L., Zaharia, M., & Zou, J. (2023). FrugalGPT. arXiv:2305.05176.
- Ong, I., et al. (2024). RouteLLM: Learning to Route LLMs with Preference Data. arXiv:2406.18665.
- Lattner, C., et al. (2021). MLIR: Scaling Compiler Infrastructure for Domain Specific Computation. CGO 2021.
Changelog (2026-11-25)
- Separated
625x(50 J / 0.08 JcompiledCortexCranelift JIT) from5,000x(50 J / 0.01 Jraw OS file/hash read in §2.1) acrossheadlineMetric, Part I Table 1, and Part II Errata. - Reconciled all three per-query joule figures side-by-side:
8.0 J/query(240 Jsynthetic oracle ceiling,96.7%),11.9 J/query(170 Jwarmed 10k enterprise log benchmark at89.2%router accuracy,93.0%/14.3x), and< 50 J/query(cold-start episodic stream with40%non-repeating novelL3arrivals). - Separated Part I from Part II, disclosed hybrid local-
reported_j/ cloud-est_jprovenance and private repository status (unreproduced externally), qualifiedRCE-Compileasup to 448.5x warm-cache cut (chip counter, reported_j), and cited LATM (Cai et al., ICLR 2024), DSP/DSPy (Khattab et al., 2024), FrugalGPT, RouteLLM, and MLIR.
David Charlot
Open Interface Engineering, Inc. · Signed Provenance · Self-Checked
Archival PDF (#07) public at /papers/archive/07-Unified-Intelligence-Integration.pdf under CC BY-ND 4.0; original February 2026 integration codebase (openIE-dev/energy-efficient-agi) is private (externally unreproduced). Full licensing & AI-use disclosure →
Video Summaries, Syndication & Site Reference
Check the primary artifacts or run an independent replication
Inspect signed provenance manifests, rerun our public Apache-2.0 commodity-hardware replication kits, review our November 25, 2026 outside-review errata, or browse primary manuscripts on the Research Hub.