Committed computation traces, explained for engineers
This is a plain-language walk through a preprint on Zenodo, version 5 of 16 November 2026 (DOI 10.5281/zenodo.21978751 resolves to the latest version). The paper carries the formal statements, the adversary taxonomy and the cost tables; this piece carries the idea. Where it stands: probabilistic replay, keyed sampling and Merkle-rooted receipts run in our production verification system, and the construction described here runs there for one class of executor, a simulated federated fleet serving jobs on the platform's API. Everything beyond that in the paper is research.
The gap the paper is about
There are two established ways to check that an outsourced neural network inference was done correctly.
Probabilistic replay re-runs a random sample of the work on independent hardware and compares. With a fifth of the work re-run, a dishonest job is caught with probability one in five, at a fifth of the inference cost in overhead. The assurance is black-box: the verifier learns whether the output matches, and nothing about where a discrepancy came from.
Full cryptographic proofs give near-certainty at a cost that has fallen quickly and remains well above inference. A 13B-parameter model was proven in under 15 minutes in 2024; in November 2026 the fastest published system proves a 400B-parameter mixture of experts at about 110 tokens per second on one H100, which is still about 70 to 95 times the GPU time a serving engine needs for the same prompts. Proof systems also give something committed traces do not, since the weights stay hidden from the verifier; the comparison here is on integrity alone.
Between one-in-five at low cost and near-certainty at a high cost there is a lot of empty space. The question the paper asks is whether a verifier can get substantially more than one-in-five detection without paying substantially more than replay.
The idea: commit to the trace, then check constraints
A layered neural network is a chain. The input goes into layer one, layer one's output goes into layer two, and so on to the output. Write h_l for the activation vector coming out of layer l, and g_l for the function layer l computes, residual connections included. Then the whole forward pass is a set of L constraints:
h_l = g_l( h_(l-1) ) for every l = 1 .. L
A correct execution satisfies all of them. Now suppose the executor, instead of just handing over the final output, also commits to every intermediate activation before anyone tells it what will be checked. The commitment is a hash-based structure over per-layer digests, so it is small, cheap to produce, and binding: once committed, the executor cannot change a single activation without the change being detectable.
The paper's model has four parties. The customer relies on the receipt. A coordinator issues job identifiers, records each commitment and derives each challenge from a key it alone holds, only after the commitment is recorded. A verifier holds the model weights and recomputes what is challenged. The executor is trusted for nothing: every guarantee holds against an executor that deviates arbitrarily, and the commitment binds whatever it exported.
Once the commitment is recorded, the challenge selects k of the L constraints. The executor opens the two activations each selected constraint needs, with their inclusion paths, and the verifier recomputes those k single layers rather than the forward pass. On every job the verifier also opens the first boundary and checks it against its own embedding of the input, so a commitment cannot pair the true input with another input's trace; on the 24-layer encoder that check costs 1.86 ms and 2.10 MB of opened data per job.
The challenge has to be unpredictable to the executor and fixed only after the commitment is recorded, and it has to come from a key the executor never holds: an executor that could compute its own challenge from its commitment could perturb a falsified trace, recommit and recompute until the sample missed every violated constraint. Where third parties need to audit the sampling, the key is committed in advance and revealed after the epoch's challenges are fixed, or the challenge comes from a verifiable random function.
Why checking five layers out of twenty-four catches most cheats
Here is the part that makes the construction worth more than its sampling rate suggests.
Suppose the executor falsifies the computation at layer l. Maybe it skipped the real work at that layer and wrote something plausible into the trace. What happens to the constraints downstream? Layer l's constraint is violated, because h_l is not what g_l would have produced. But layer l plus one's constraint is also violated, because the real g_(l+1) applied to the falsified h_l does not give whatever the executor wrote for h_(l+1), unless the executor went to the trouble of honestly computing layer l plus one on its own falsified input. And so on to the end. A single falsification cascades into a run of violated constraints from layer l to layer L.
The verifier does not need to sample the exact layer where the cheat happened. It needs to sample any layer in the violated run. The paper calls this the cascading constraint property, and it is what separates this construction from plain replay.
The arithmetic follows directly. If the cheat is at layer l and the verifier samples k layers uniformly out of L, the cheat escapes only if all k samples land in the first l minus 1 layers. Averaging over where the cheat might be:
escape, cheat at layer l = C(l - 1, k) / C(L, k)
averaged over l = (L - k) / ((k + 1) * L)
detection = 1 - (L - k) / ((k + 1) * L)
L = 24, k = 5 = 1 - 19/144 = 0.868 (86.8 percent)
Replay at a 20 percent challenge rate detects 20 percent of cheats. The paper compares the two at two operating points, measured end to end on a batch of 1,000 inputs across two cloud hosts, the executor on one and the coordinator and verifier on the other. At the verifier budget of 20 percent replay, committed traces challenge every input at k = 5 and raise detection of cascading falsification from 20 percent to 86.9 percent for 1.02 times replay's added compute. At replay's 20 percent challenge rate they cost 4.23 times less and detect 17.4 percent of cascading falsifications per falsified input. The detection gain and the cost reduction are not available at the same point. At 8 threads per host, with the runtime's intra-op spinning off, the multiples are 1.11 and 3.40. Every opened boundary in these runs reproduced byte for byte across the two hosts, 999 of 999 inputs at the first point and 214 of 214 at the second.
The honest boundary
Now the part I want to state as carefully as the paper does, because it is the difference between a result and a sales pitch.
The cascade only happens if the executor is lazy downstream of its cheat. An adversary who falsifies h_l and then honestly recomputes every later layer from the falsified value leaves exactly one violated constraint, at layer l. Against that adversary the verifier catches the cheat only if layer l is among its k samples, which is k / L, or about 20.8 percent for the same parameters. That is comparable to replay, not better than it.
So the construction does not raise detection against every adversary. It raises detection against the adversary who cheats to save work, which is the adversary who has an economic reason to cheat in the first place. An adversary who recomputes every downstream layer honestly has done most of the work the honest path would have required; what they have bought with their single falsification is a wrong answer they paid nearly full price for. The paper gives an explicit taxonomy of adversaries and states the detection probability for each, rather than quoting the best case.
The detection figures also assume exact-recompute acceptance: a constraint is violated by any change to a boundary, however small. The paper realizes that on CPU in FP32, where the verifier's recomputation reproduces the executor's boundaries byte for byte, at one thread or several. Serving in reduced precision on GPUs needs a tolerance instead, and under a tolerance a boundary moved by less than the band violates nothing, so the amplification applies only to the constraints an adversary cannot keep within the band. The paper names the executor that moves every boundary by slightly less than the tolerance as not analysed, and gives exactness on the accelerator, with deterministic and batch-invariant kernels on both sides, as the alternative.
Two variants
The construction above is the executor-committed variant: the executor commits before the challenge, and the name says who commits, not who is trusted. The executor is the party under test. It needs an executor whose code captures and commits the activations, a cooperating provider or a platform's own workers rather than a black-box API.
The paper's second variant, verifier-recorded traces, serves the black-box case. The verifier re-executes the sampled jobs as under replay, captures its own intermediate activations and commits to that trace, so the receipt carries an auditable record of the reference computation. Detection is replay's; the record is what the variant adds, and the paper says so. It is research.
Costs, concretely
The commitments are hash-based Merkle structures over per-layer activation digests. Producing them adds hashing on the executor's side, which is small next to the matrix multiplications of a forward pass. The verifier's work per sampled constraint is one layer of computation plus checking two openings against the commitment. Hash-based commitments are also resistant to quantum attacks, which matters for records that are supposed to remain valid for years.
The paper measures it on BAAI/bge-large-en-v1.5, a 335-million-parameter, 24-layer encoder, on commodity CPU in FP32. Committing the 52 MB trace costs 5.6 ms per input, 0.4 percent of single-threaded inference; capture is too cheap to separate from inference-time variance. Verification at k = 5, the first-boundary check included, costs 21.9 percent of a forward pass. The resource committed traces spend instead of compute is bandwidth: 20.9 MB of opened activations per challenged input on average, against the kilobytes a replayed output returns, which is why openings are requested only for the challenged sample. Over a 1,000-input batch on two cloud hosts, challenging every input costs 1.02 times what 20 percent replay costs and challenging 20 percent of inputs costs 4.23 times less. Polynomial commitments are an optional upgrade for succinct openings; the base design is deliberately the cheap one.
How it relates to other work
Committing to intermediate activations is not a new idea on its own. TOPLOC, from Prime Intellect, commits to the top activations of intermediate layers through locality-sensitive hashing so that a verifier can check an inference provider's claims, and it is the closest neighbour to this construction. Freivalds' algorithm, from 1977, is the classic demonstration that a matrix product can be checked probabilistically far more cheaply than it can be computed. Sampled re-execution on independent hardware appears in several recent systems, Proof of Sampling among them. The paper positions committed traces as a bridge: the detection behaviour of constraint checking with the deployment simplicity of replay, and a clear account of which adversaries it does and does not improve against.
Two other recent systems commit to an inference before verifying a sample of it. Seal, Then Sample commits the boundary activations of every chunk before the challenge is drawn and proves the sampled chunks with layerwise proofs over a fixed-point canonical model; its authors make the same observation about a challenge the prover can compute for itself. VeriLLM re-runs inference with light checks and keeps verification near 1 percent of inference cost by exploiting the asymmetry between prefill and decoding. Committed traces draw the challenge with a key the executor never holds, re-execute rather than prove the sampled constraints, and derive detection from the cascading count of violated constraints.
What I would want an engineer to take away
Three things.
Commit before challenge is the whole trick. Everything the construction buys comes from binding the executor to its full trace before it can learn what will be examined.
Cascading violations are why a small sample goes far, and only against the adversary who is trying to save work. State that boundary every time, because a construction that only reports its best case will be found out by the first careful reader.
And the cheap version is enough. Hash-based commitments and one layer of recomputation per sampled constraint get you the detection numbers above. The fancier machinery is an upgrade, not a prerequisite.
Disclosure: I am the author of the preprint, and I build inference verification at Cyberian Systems. The preprint is on Zenodo as version 5 (16 November 2026); DOI 10.5281/zenodo.21978751 resolves to the latest version. Probabilistic replay, keyed sampling and Merkle-rooted receipts run in our production verification system. Executor-committed traces run there for one class of executor, a simulated federated fleet serving jobs on the platform's API. The verifier-recorded variant, the decoder formulation, digest-committed replay and the verifier configurations are research. Cyberian's verification methods are the subject of three US provisional patent applications; patents pending.