arXiv:2608.23805cs.DCAug 2026

Manuscript Offprint

arXiv:2608.23805

Memory-Sovereign Inference: Output-Exact Execution Beyond Full Residency

Lukas Stepanek

Lukas Stepanek

luki.step@proton.me

Technical report

Abstract: Storage-backed inference is easy to demonstrate and easy to overclaim. A low process resident set does not bound charged page cache, a process-local device reading does not establish whole-board use, and successful generation does not show that asynchronously reused buffers held the intended bytes. We present a reference architecture and falsifiable execution-evidence certificate. A certificate records an immutable representation, separates semantic workload demand from scheduler requests and cumulative traffic, names a per-tier resource-authority vector and exactness horizon, and records implementation-independent reuse invariants with the transitions actually tested.

At one Qwen3-Next system identity, the complete native tensor representation is 45.08 GiB. The stock router selects every one of the 48×512 managed layer-expert objects during the 32K pre-fill. Their duplicate-free, overlap-free canonical-extent union yields a conservative 43.59375 GiB semantic-demand lower bound. Both quantities exceed the declared 34 GiB full-residency envelope; the demand lower bound also exceeds the 11 GiB host-hard plus physical 24 GiB-device envelope by 8.59375 GiB C1. The LRU64 execution remains within its host-hard/GPU-audited resource contract. Against one prespecified zero-cache oracle, all 64 token IDs, every byte of all 64 complete 151,936-float logit rows, all 3,408 recorded route events, response bytes, and the seven-field consumer and two-entry destination identities are exact. We call this relation full-output-horizon exactness; recurrent-state and upstream-runtime equality are not claimed.

In a matched source campaign, buffered P completes exactly but reaches the 11 GiB host ceiling and records 33,481 memory.max events. Blocking one-window direct D and the complete eight-window asynchronous F component are exact with positive margin and zero limit events. Across six counterbalanced pairs, F completes in 32.3% of D's wall time (3.10× reciprocal); all F/D ratios lie in [0.3211, 0.3283], at identical physical source bytes per output C2^{C2}. The contrast jointly changes queue depth, overlap, and lifecycle implementation. In a separate package of later fault-instrumented executables, all fourteen prespecified deterministic control/fault cells satisfy their validators across Qwen3-Next and Gemma 4 adapters C3^{C3}. They support fail-closed behavior for named transitions in those binaries, not a reliability rate, race-freedom claim, or fault attribution to the earlier 32K+64 executable. The principal experiment remains one fixed model, workload, runtime, device, and 64-output horizon.

1 Introduction

CPU offload, memory mapping, SSD streaming, expert caching, and speculative generation all trade capacity for traffic or latency [16, 2, 5, 1, 21, 6, 23]. The difficult question is what a successful run proves. A process RSS limit does not bound the page cache. A device allocation reported by one process does not include the rest of the board. A cache hit is invalid if a slot is recycled before its last consumer. A final token match can hide stale reads that did not affect one prompt. Consequently, a model can appear to fit an operator's memory budget without establishing either resource admissibility or execution integrity.

We call the stronger property memory sovereignty. A memory-sovereignty evidence record states what bytes exist and are semantically demanded, which authority governs each resource tier, what equivalence relation holds for which horizon, and which reuse invariants were tested. A claim class then states what that record qualifies. Host enforcement and GPU accounting need not use the same mechanism: here, process-tree host memory is hard-limited with cgroup v2, whereas GPU use is declared and audited from whole-board observations; the physical board supplies a separate hard capacity ceiling. The authority vector is part of the result, not a presentation detail.

The architectural observation is that four concerns commonly fused into a tensor allocation should be sep-arated: canonical storage ownership, physical residency, stable execution addresses, and scheduling. The architecture realizes this separation through a shared Plan. The plan maps logical objects to byte-preserving source extents, fixed host windows, reusable GPU slots, stable addresses, and generations. Model adapters name the objects required by a layer; the native graph, kernels, router, KV state, and sampler remain authoritative.

The contribution is an execution-certification methodology and reference realization for storage-backed inference, not a new offload primitive. Direct I/O, bounded windows, stable addresses, generations, caching, and prefetch appear across FlexInfer, MESH, Palm, MoE-Direct, FluxMoE, and DeepNVMe [6, 12, 18, 19, 13, 5]. The differentiated result is a publication evidence package: the principal Qwen3-Next experiment executes a workload whose semantically demanded managed weights exceed the declared and host-hard/ device-physical envelopes with full-output-horizon exactness and hard complete- process-tree host accounting; a later matched-source experiment shows direct ownership changing the prespecified admission outcome and the complete asynchronous component completing in 32.3% of a blocking direct reader's wall time (3.10× reciprocal); and separate fault-instrumented binaries pass named fail-closed transitions across two adapters. The package does not collapse these executable identities into one certificate.

This report makes four contributions:

• It demonstrates full-output-horizon exact native Qwen3-Next execution under E64−outE_{64-out} when a 43.59375 GiB semantic-demand lower bound exceeds a declared 34 GiB full-residency envelope, with hard complete-process-tree cgroup-charge accounting and audited whole-board GPU margin C1^{C1}.

• Relative to the tested buffered P path, it shows that direct source ownership changes the prespecified hard-margin admission outcome, and it shows the complete eight-window asynchronous component finishing in 32.3% of a blocking one-window direct reader's wall time (3.10× reciprocal) at identical physical source bytes C2^{C2}.

• In later fault-instrumented builds, it tests all fourteen prespecified control/fault cells through two real model adapters, supporting named fail-closed transitions at those tested identities C3^{C3}.

• It defines a falsifiable, implementation-independent certificate and a shared cross-adapter Plan realization, then records the temporal, Qwen-specific, and Gemma experiments without pooling their identities.

The report also records stopped lines. A GPT-OSS packing optimization did not repair its physical carrier, and a Llama-3.3 placement result passed resources but failed its task-admission criterion. These negatives prevent local engineering wins from being promoted into an inference-system claim.