- Rating
- 3
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper proposes TensorCommitments for checking remote LLM inference. The basic idea is simple: commit to activation tensors, put them in a Terkle-tree style structure, and open only some layers. So the verifier does not rerun the whole model. The paper also uses heavy-tail spectral scores to pick which layers to check.
Strengths and weaknesses
Strengths
-
The paper is looking at a real trust problem. If people use cloud LLM inference, they need some way to check that a run was not changed. This is not a toy problem. It matters more as LLMs get used inside agents.
-
The tensor-native angle is a good instinct. Activations already have shape. Flattening them feels like throwing away useful structure. I like that the paper tries to use this.
-
The tree comparison helps. I could see why the authors prefer Terkle trees over Merkle or Verkle trees here. The figures make the scaling point easier to follow.
-
The paper has some real systems work behind it. The authors do not stop at a crypto sketch. They report overheads and attack detection.
-
The layer-budget idea also makes sense. Checking every layer of a large model is probably not realistic. So the question of where to spend checks is a good one.
Weaknesses
-
My biggest issue is the correctness story. A commitment can bind a value. It does not prove that the value came from the claimed model run. This point needs to be much clearer.
-
The paper uses strong soundness language. I do not buy that wording. The method looks more like partial checking plus attack detection.
-
The layer selection rule needs a stronger threat model. Heavy-tail scores may work for these attacks. But an attacker who knows the rule may just move the bad change elsewhere.
-
The zkLLM comparison needs more care. Cheaper is not enough if the guarantee is weaker. The paper should say this plainly.
-
The overhead numbers look good. Still, I do not know what is counted. I would want SRS size and activation capture cost. I would also want memory movement and long-context proof cost.
-
The 2-byte commitment size per token in Table 1 needs more explanation. I could not tell what is counted. If tree paths and openings are excluded, the number may be too rosy.
-
The TOPLOC attack comparison is useful. But it feels a bit tailored to the authors' story. I want to see an adaptive attack against the TC selection rule itself.
-
The writing oversells the result. Tensor binding, sampled checking, and attack detection are different things. Right now they get blended together.
Questions
-
What is the exact guarantee when only selected layers or points are opened?
-
How does the verifier know the committed activations satisfy the model transitions?
-
What happens against an adaptive prover who knows the layer-selection policy?
-
Can the authors report full deployment overhead, not only post-inference timing?
-
What guarantee is lost compared with a zk-style proof of computation?
Limitations
The paper does mention trusted setup and partial verification. Good. But it should clearly say that the method may not prove full inference correctness. It also needs adaptive attacks against the selection rule.
Paper formatting concerns
No paper formatting concerns that affect my scientific assessment.
We thank the reviewer for the careful and constructive review. We agree the initial submission did not clearly separate commitment binding, computation checks, attack detection while our use of soundness was broad. The revision now separates these guarantees, narrows the formal claim to output soundness, and adds the requested adaptive evaluation and full cost analysis.
Correctness: what is bound and what is checked (W1, W2, Q1, Q2)
The protocol uses four components with distinct roles.
Binding: The Terkle root is published before the verifier draws its challenge. The prover therefore fixes the transcript, including every block’s residual state, before learning which parts will be examined. After that point, an opened value cannot be changed without breaking evaluation binding, except with probability negl(λ).
Homomorphic audits: ComTC is a homomorphic operation. For additivity it satisfies C(T1+T2)=C(T1)⋅C(T2). Besides, they carry multiplicative structure as well. Commitments lie in G1 and the SRS publishes the matching G2 elements, so e:G1×G2→GT and its bilinearity, e(g1a,g2b)=e(g1,g2)ab, a product of committed quantities is testable in the target group; the opening verification is itself such a test. This allows verifying relations among committed tensors to be checked directly on commitments at O(1) group operations. To not distract ordinary ML audience, we keep these cryptographic details in the appendix and in our open-source repo.
Arithmetic audits: If a very small subset of nodes requires verification then, the verifier draws corresponding coordinates after the root is fixed. The prover supplies the restriction of the committed polynomial to the index block on which that entry depends. The verifier checks this restriction against the commitment using one opening at a random point and then recomputes the challenged entry from the model weights it holds.
Coverage: Binding alone does not establish provenance. A prover can commit consistently to an incorrect transcript, and binding only prevents that transcript from being changed after the challenge. Detection therefore depends on whether the violated relation is selected and whether the affected coordinates are audited either homomorphically or arithmetically. This provides our guarantee over the examined relations rather than deterministic certification of the complete execution in ZKP.
What is the exact guarantee?
We state it for the output-soundness property experienced by the client:
Pr[V accepts ∧y~=M(x;θ)]≤ε.
A deviation that does not change the output is not an output-soundness failure, although it may still violate a stronger compute-integrity. Our method targets detection of an incorrect output rather than detection of every perturbation unlike ZKP. This is the sweet spot we aim for. The formal statement and reduction to evaluation binding are provided in our response to Reviewer P8aR.
Adaptive attacker (W3, W7, Q3)
We agree that the deterministic selector in the submission is vulnerable to a policy-aware adversary. If the adversary knows the selected set, then probability of auditing layer ℓ is pℓ∈{0,1}, and layers outside that set have zero coverage. We therefore introduce randomized selection and evaluate an adversary with knowledge of the policy, scores, and budget.
Worst-case coverage floor: Let Sγ use the α-score set Sα with probability γ and otherwise sample a feasible allocation uniformly. Then
pℓ=γ1[ℓ∈Sα]+(1−γ)cℓ,
and therefore
pcrit(ε)≥(1−γ)c,
for coverage fraction c. This floor holds even when the adversary knows the policy, the α-scores, and the audit budget. The adversary places its deviation where it is least likely to be examined. It is outside the protected set Sα under deterministic selection and in the highest-impact layers under uniform selection. We showed the effect across the randomization rates γ below.
At γ=1, every perturbation deliberately placed outside the deterministic selected set is missed, which is the pcrit=0 case above. We report this result explicitly because it motivates randomized selection.
At γ=0, 19.82% of attempted attacks are missed, and 53.6% of those misses change the output, yielding a harmful-miss rate of 10.62% over all attempts. At γ=1, all perturbations outside Sα evade selection, but only 3.98% alter the output under this attack construction. Thus, the measured harmful-miss rate decreases from 10.62% to 3.98% as the selector becomes more concentrated, while randomized selection provides a nonzero worst-case coverage floor.
W7. Attack selection
The attacks in Fig. 7 are taken from TOPLOC, the most recent baseline in this setting, and both methods perform near ceiling on that suite. We therefore add a separate evaluation targeted at our own selection rule and three attacks that model provider-side cost reduction:
The results show the consistent success of our method against the most scalable SoTA method across the variety of attacks.
Full deployment overhead (W5, Q4)
We now report the complete deployment breakdown for the LLaMA2-13B configuration used in Table 1.
We included the audit in the published timing, only excluded inference time.
Long context: The exchanged root commitment does not grow with sequence length. Additional states are represented by increasing tensor order or incorporated under the existing Terkle root, which remains one group element. Authentication-path length and verification grow as O(logBn). The revision includes the measured long-context sweep.
Why is the commitment 2B in Table 1 (W6)?
All other baselines in Table 1 reported commitment size per token in their original paper while each commits to 512 tokens per inference. We did the same for fair comparison. TC exchanges one Terkle root per inference rather than one root per token. Full analysis is provided below.
We now distinguish three communication quantities:
Comparison with ZKP (W4, Q5)
zkLLM provides full-circuit deterministic correctness for the encoded computation while TC provides budgeted probabilistic verification that is more flexible for language inference. Its undetected-error probability depends on the relation-selection distribution, the number of audited coordinates, and the distribution of the deviation. Ours thus represents a different point in the cost–guarantee trade-off rather than the same security guarantee at lower cost. We designed it to make verification inexpensive enough to run on every inference to scale across thousands of queries across many nodes unlike any other existing scheme.
The revision now separates the three mechanisms throughout:
Our error in the submission was to describe these mechanisms using a single soundness claim.
The revised limitations section states the arithmetic tolerance, trusted setup and ceremony, operator-selected parameters, and the case not covered by the bound: a deviation within the audit tolerance in a layer that is not selected. We also clarify that the attacks in App. B are designed to remain small at the final layer, where a top-K fingerprint is evaluated while this does not imply that the perturbation is small at the layer where it is introduced.
We sincerely thank the reviewer P8aR for highlighting these points and concerns to help us strengthen the paper. We further welcome any remaining questions or suggested experiments during the discussion period.