The Commonplace
Home Papers Evidence Explore Trends Syntheses Digests References About 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

A machine-checked 'anytime' risk ledger halved exact-fallbacks in live model serving while preserving per-request guarantees, turning runtime compression risk into an auditable, spendable account; the remaining gap to observed errors is localized to the gate operating point, enabling explicit pricing of quality–capacity trade-offs.

Pricing the Risk of Runtime Compression: Anytime-Valid Admission and a Served-Output Law for Compressed Serving State
Fanzhe Wei, Li Liu · August 16, 2026
arxiv descriptive medium evidence 8/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Fanzhe Wei unresolved corpus identity
  2. Li Liu unresolved corpus identity

Semantic Scholar

Latest observation:

  1. Fanzhe Wei provider ID
  2. Li Liu provider ID
The authors design and deploy an anytime-valid cumulative-loss admission ledger with machine-checked bounds that controls runtime compression risk in production MoE serving, halving fallback-to-exact rates in a held-out round at matched risk while making the trade-off between quality and capacity explicit and priced.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

Runtime compression of serving state trades quality for capacity with no priced guarantee: systems adapt precision on load signals with no soundness statement, and certified approaches budget request-level risk by a union bound over a pre-declared event count. We show the union budget exhausts on every long request in a production serving stack (100% of requests), and replace it with an anytime-valid, physically accounted ledger whose bound holds at every one of 352,333 admission calls on live traffic and which, in a pre-registered held-out confirmatory round, halves the exact-fallback rate at matched risk (0.30 -> 0.14) -- coverage is bought at a price the account states. We then price the remaining distance from the certified witness to what a user experiences: a machine-checked design law (TV <= tanh(a_q w_thr)) turns the served-TV target into a threshold knob, and a three-layer audit of its instantiation -- an operator-norm query envelope measured 1.5x from tight, a measured-ellipsoid replacement for the Cauchy-Schwarz ball that buys nothing (0.89x, held-out sound), and the gate's operating point (~700x) -- localizes the entire 1064x gap to the operating point, a price the law now states rather than an unknown. A priced bound is worth nothing on a request one has not seen, so the third link is the quantifier: exchangeable extrapolation across 80 serving histories replaces binary conformal prediction's vacuous certificates with order-statistic bounds that discriminate (0.41 against 0.51 calibration risk). All probabilistic kernels are Lean 4-checked (228 exported theorems, no sorry); which object deserves this machinery at all is settled empirically in a companion paper that adjudicates -- and rejects -- the natural alternative of certifying routing. What ships is an account: risk you can spend, a gap you can read off a law, and a bound that survives the request you have not seen.

Summary

Main Finding

The authors replace union-bound-based, horizon-priced risk accounting for runtime compression with an anytime-valid, cumulative-loss admission ledger that (a) is machine-checked in Lean4, (b) holds on hundreds of thousands of live admission calls, and (c) meaningfully reduces fallbacks to exact computation at matched declared risk in a held-out confirmatory run (fallback 0.30 → 0.14). They derive a machine-checked chain from per-step moment bounds to a request-level served-output total-variation (TV) tail bound, provide a design “law” that turns the served-TV target into an operator knob, and empirically localize the remaining numerical gap in the certified witness to the gate’s operating point (the deployment choice) rather than unknown mathematics. They also replace vacuous conformal-certificates with exchangeable-history order-statistic extrapolation that discriminates calibration risk.

Key Points

  • Problem: Runtime compression (e.g., KV-write quantization, MoE serving) adapts precision to load without per-request soundness; prior certified approaches budget risk by a union bound over pre-declared event counts — which is impractical for free-running/adaptive serving.
  • Union-bound failure in practice: the union-budget formulation exhausts on every long request in the production stack (100%), so it cannot be used to make operational decisions.
  • New object: cumulative realized-loss budget (cumloss admission). Admission decisions are made against an anytime-valid account on cumulative loss rather than per-event union allocation. This object is the thing you can actually “spend.”
  • Machine-checked guarantee: Theorem (machine-checked in Lean4) links per-step moment bounds to an expected per-step TV bound and, through Bernoulli domination and Ville/Doob arguments, to an anytime-valid request-level tail: Pr(∃t≤T ∑s≤t TVs > Bt) ≤ δ when the admission invariant (Eq. 6) is enforced.
  • Live deployment and measurement:
    • Physical gate deployment: 317,293 and 352,333 admission calls in two arms (loose/tight).
    • No authorization violations (the account never reported exceeding admitted charge).
    • In a pre-registered held-out confirmatory round (same budget/λ frozen), the physical-arm fallback-to-exact rate improved from 0.30 (its union baseline) to 0.14 at matched risk.
    • The admission ledger incurs ~+3.8% judgment cost (wall time).
  • Per-read certificates: inherited per-read bounds (ℓ∞-style) become vacuous at modest masking (e.g., vacuous on 41.8% of reads at m=3 masked mantissa bits). Replacing worst-coordinate bounds with mass-weighted bounds (Bhattacharyya or sub-Gaussian) produced non-vacuous per-request behavior.
  • Three-layer audit of the step-budget instantiation:
    • Local operator-norm query envelope measured ~1.5× from tight (σmax ≈ 16.0).
    • Measured-ellipsoid replacement for Cauchy–Schwarz ball measured 0.89× (held-out sound).
    • Gate operating point ~700× — this is where the entire 1064× gap between certified witness and served output localizes.
  • Quantifier/extrapolation: using exchangeable without-replacement sampling over 80 serving histories gives order-statistic bounds that discriminate calibration risk (0.41 vs 0.51) and replace binary conformal prediction’s vacuous certificates; the remaining important caveat is that the population is the constructed pool (not guaranteed to equal future runtime traffic).
  • Formalization scale: 228 exported theorems in Lean4, no sorry-steps; probabilistic kernels are machine-checked.

Data & Methods

  • Production-scale setting and models:
    • Models exercised include DeepSeek-V4-Flash-FP8 (256 experts, top-6), DeepSeek-V2-Lite (64/6), GLM-5.2 (256/8), Qwen1.5-MoE-A2.7B, Qwen2.5-7B, and others (Table 1 maps results to models).
    • Experiments include long-running admission calls on production stacks and pre-registered frozen confirmatory rounds; every gate and verdict was pre-registered.
  • Core theoretical tools:
    • Per-step moment bounds on rounding noise (per-coordinate MGF-style bounds separated into deterministic bias and fluctuation proxy).
    • A mass-weighted inequality linking per-step moment bounds to expected per-step TV (Theorem 1: Eω[TV(ph, p′h,ω)] ≤ sqrt{log Σv ph(v)Bh(v)}).
    • Bernoulli domination and a martingale (Ville/Doob) argument turning the per-step MGF-driven bound into an anytime-valid cumulative-loss admission invariant (Eq. 6).
    • Practical computable approximations: mass-weighted top-k truncation (probability concentrated on a small S) to make the sum over vocabulary tractable.
  • Empirical instantiation:
    • Five attempted routes to estimate step budget constants; four failed because they priced worst-case directions or assumptions; the retained route uses an empirical joint scalar/betting Cauchy–Schwarz functional that matches the quantity the theorem requires.
    • Measurements and diagnostics: sparsity/concentration of served distributions, operator norms, per-token bounded differences (cmax ≈ 3.81), realized served-TV medians vs bounds, and probe falsifications of first-order surrogate propagation constants.
    • Dual-accounted admission experiments (Table 2): compared union-budget baseline to cumulative-loss budgets at different tolerances; showed monotone tradeoff between budget and fallback rate but union budget always exhausts on long requests.
  • Pre-conditions & caveats:
    • The chain is machine-checked up to measured propagation constants; some propagation constants are measured (and falsify simplistic surrogates) rather than given analytic tensorized bounds.
    • The exchangeable extrapolation relies on the sample/pool being representative (authors explicitly note the population is a constructed pool, not guaranteed equal to runtime traffic).
    • One frozen confirmatory replication (single replication), not a full hyper-sweep.

Implications for AI Economics

  • Risk-priced runtime compression: the paper operationalizes “risk as money” for runtime precision decisions. Rather than a priori union-bounded risk that pays for an entire horizon, the cumulative-loss ledger buys coverage incrementally and transparently — letting operators trade risk for capacity with a readable price per token/request.
  • Better utilization of capacity vs quality tradeoffs: by turning served-TV guarantees into a knob (via the machine-checked law and the audit that localizes the numeric gap to the gate operating point), operators can optimize the gate operating point (the real economic lever) with a known price in delivered risk.
  • Quantifiable operational decisions: the admission account gives an anytime-valid guarantee that is usable by controllers to admit/delay/force-exact operations; this supports tighter SLAs and more aggressive compression policies when budgets allow, and a principled fall-back rule when budgets exhaust.
  • Measurement-driven certification is essential: many theoretically appealing worst-case bounds are too loose for practice (vacuous certificates). Economically useful guarantees need (a) mass-weighting or variance-based functionals, (b) measured propagation constants, and (c) pre-registered, machine-adjudicated evaluation. This raises the bar for certifying production serving tradeoffs: you must pay for measurement and formalization effort.
  • Policy and capacity planning:
    • The approach converts unknown model-side propagation slack into an explicit priced item (the gate’s operating point). That enables more accurate cost-benefit decisions when choosing compression levels across components (KV writes, expert weights, etc.).
    • The companion measurements suggest expert-weight precision could buy multi× capacity headroom; the cumloss admission engine is object-agnostic and can be extended to other components once measured.
  • Limits and caution for economic adoption:
    • The guarantee depends on a representativeness assumption (exchangeable sample). If traffic distribution shifts in ways not covered by the constructed pool, the priced account may not cover the next request.
    • Some constants remain empirically measured (not analytically bounded); operators must budget for measurement and revalidation. The work shows how to localize the dominant pricing factor (the gate operating point) — but changing that operating point is an operational choice that directly drives costs and user-experience risk.
  • Research takeaways:
    • For AI economics modeling and resource allocation, treat per-request risk as a budgeted commodity under an anytime-valid accounting regime rather than a horizon-paid fixed allocation.
    • Invest in machine-checked probabilistic kernels plus production measurement to make guarantees actionable and non-vacuous.
    • Design incentives and SLAs around spendable risk accounts; this can align compression/throughput optimizations with transparent economic tradeoffs.

Short takeaway: the paper provides a practically deployable, anytime-valid accounting mechanism (machine-checked and measured in production) that turns runtime compression risk into a priced, spendable object — enabling principled tradeoffs between capacity and quality — while making explicit the empirical measurements and assumptions operators must sustain for the guarantees to be meaningful.

Assessment

Paper Typedescriptive Evidence Strengthmedium — The paper combines machine-checked probabilistic guarantees with large-scale production measurements (hundreds of thousands of admission calls, pre-registered held-out confirmatory round) and reports concrete operational metrics (fallback rates, admission calls, judgment cost). However, some calibrations were done in a single exploratory round with one frozen replication, several bounds are measured post hoc, and the authors explicitly note the population used for exchangeable extrapolation is constructed rather than provably identical to live traffic — limiting the strength of generalization and causal claims. Methods Rigorhigh — High rigor in formal aspects (machine-checked Lean 4 proofs, explicit theorems), pre-registration of gates and verdict branches, production deployment with large sample sizes, and careful articulation of failure modes. Rigor is tempered by acknowledged open constants, some measurements being post hoc (i.e., not emitted by the online witness), and only a single frozen confirmatory replication for some calibrations. SampleMeasurements come from production-scale MoE serving stacks and held-out controlled runs across multiple models (DeepSeek-V4-Flash-FP8, GLM-5.2, DeepSeek-V2-Lite, Qwen1.5-MoE-A2.7B, Qwen2.5-7B). Key operational numbers reported include 317,293 and 352,333 admission calls in two arms, pre-registered held-out confirmatory rounds, 485,138 tokens used to adjudicate routing certificates across nine MoE families, and small captured-request sets (e.g., eight captured requests for some bound realizations). The evaluated action in this paper is KV-write precision (dithered compression vs exact retention); some companion measurements on routing are reported in a separate paper. Themesproductivity governance GeneralizabilityResults are specific to the evaluated MoE architectures and the KV-write precision action; other models/components may behave differently., Some calibrations and the exchangeable-population premise rely on a constructed pool rather than guaranteed equivalence to live, arbitrary runtime traffic., Several bounds used in evaluation are computed post hoc from paired exact/compressed logits rather than emitted by an online witness, limiting applicability to fully online certification., Single frozen replication for some calibrations (one confirmatory round) — more replications would strengthen external validity., Paper deliberately does not certify routing decisions; conclusions apply to served-output risk, not routing invariance.

Claims (11)

ClaimDirectionOutcomeConfidence & EvidenceDetails
The cumulative-loss admission account did not cross its physical anytime bound at any of 352,333 admission calls in the tight live-traffic arm. Regulatory Compliance positive Anytime admission-account violations
Reading fidelity high
Study strength medium
n=352333
0 violations
0.18
In a pre-registered held-out confirmatory round, physical cumulative-loss admission reduced the exact-fallback rate from 0.30 under the union baseline to 0.14 at matched risk. Task Allocation positive Fallback-to-exact rate
Reading fidelity high
Study strength medium
0.30 → 0.14
0.18
The cumulative-loss admission mechanism did not uniformly improve fallback rates: at budget 2×10^4, its median fallback-to-exact rate was 0.339, worse than the union baseline rate of 0.315. Task Allocation negative Median fallback-to-exact rate
Reading fidelity high
Study strength medium
0.339 versus 0.315
0.18
At the wider cumulative-loss budget of 5×10^4, the reported median fallback-to-exact rate was 0.0079, compared with 0.315 for the union baseline. Task Allocation positive Median fallback-to-exact rate
Reading fidelity high
Study strength medium
0.315 → 0.0079
0.18
The union-bound request-level risk budget exhausted on every long request in the reported production-serving-stack evaluation. Organizational Efficiency negative Union-budget exhaustion rate
Reading fidelity high
Study strength medium
100%
0.18
The machine-checked theorem states that, under its gauge, per-coordinate moment, and uniform step-budget assumptions, the expected total variation between exact and compressed served distributions at each decoding step is bounded by the mass-weighted moment budget µ. Output Quality positive Expected per-step served-output total variation
Reading fidelity high
Study strength high
Eω[TV(ph, p′h,ω)] ≤ µ
0.3
Under the theorem's assumptions and the cumulative-loss admission invariant, the probability that cumulative served total variation exceeds the admitted budget at any request step is at most δ. Output Quality positive Request-level tail probability of cumulative served total variation
Reading fidelity high
Study strength high
Pr(∃t ≤ T: Σs≤t TVs > Bs) ≤ δ
0.3
The inherited per-read attention total-variation bound was vacuous on an increasing fraction of captured reads as more mantissa bits were masked: 6.7% at m=2, 41.8% at m=3, and 92.9% at m=4. Output Quality negative Fraction of reads with vacuous total-variation bound
Reading fidelity high
Study strength medium
6.7%, 41.8%, and 92.9%
0.18
Across eight armed-model requests, the median realized served total variation was 0.118, while the inherited ℓ∞-based upper bound had a median of 0.996 and was effectively vacuous; Bhattacharyya and sub-Gaussian bounds were 0.159 and 0.230, respectively. Output Quality mixed Per-request median served total variation and corresponding upper bounds
Reading fidelity high
Study strength low
n=8
realized TV 0.118; Bhattacharyya 0.159; sub-Gaussian 0.230; inherited bound 0.996
0.09
The paper reports a Spearman correlation of 0.935 between per-read attention-distribution shift and per-read output error on real pools, but characterizes this as an ordering relationship rather than evidence that the cumulative error is small. Output Quality positive Association between attention-distribution shift and output error
Reading fidelity high
Study strength medium
Spearman 0.935
0.18
A routing-invariance certificate was judged unusable despite zero observed soundness violations across nine MoE families and 485,138 tokens, because the gate bound applied on 94–100% of production traffic and the prevented routing flips anti-predicted damage. Automation Exposure negative Usability and practical certification value of expert-routing invariance
Reading fidelity high
Study strength low
n=485138
gate binds on 94–100% of production traffic
0.09

Notes