TensorCommitments: A Lightweight Verifiable Inference for Large Language Models
Oguzhan Baser, Elahe Sadeghi, Eric Wang, Nico Vergauwen, Sam Kazemian, Hong Kang, Sandeep P. Chinchali, Sriram Vishwanath
NeurIPS 2026
TL;DR. To make LLM-driven decisions genuinely trustworthy, we introduce TensorCommitments, a tensor-native proof-of-inference framework that lets clients verify remote LLM runs with ~1% overhead while improving robustness by up to 48% against LLM attacks.
Abstract. Most large language models (LLMs) run on external clouds: users send a prompt, pay for inference, and must trust that the remote GPU executes the LLM without any adversarial tampering. We critically ask how to achieve verifiable LLM inference, where a prover (the service) must convince a verifier (the client) that an inference was run correctly without rerunning the LLM. Existing cryptographic works are too slow at the LLM scale, while non-cryptographic ones require a strong verifier GPU. We propose TensorCommitments (TCs), a tensor-native proof-of-inference scheme. TC binds the LLM inference to a commitment, an irreversible tag that breaks under tampering, organized in our multivariate Terkle Trees. For LLaMA2, TC adds only 0.97% prover and 0.12% verifier time over inference while improving robustness to tailored attacks by up to 48% over the best prior work requiring a verifier GPU.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper proposes a method called TensorCommitments to check LLMs remote inference. The method for commits to activation tensors and then put them in a Terkle-tree style structure to verify the LLMs' activation. The paper also introduces a layer-selection strategy based on heavy-tailed spectral scores to prioritize layers that are empirically more sensitive to tampering.
Strengths:
-
The paper solves an important problem.
-
The proposed method is reasonable and effective.
Weaknesses:
-
Theoretical problems proposed by SA6s.
-
If only a subset of layers is checked, is the claimed error negligible in the cryptographic security parameter, or is it a statistical detection probability depending on the attack distribution and layer-selection policy?
-
Is TensorCommitments intended as a replacement for ZK-based verifiable computation or as a lightweight auditing heuristic?
-
They do not demonstrate that a malicious prover cannot commit to an internally consistent but incorrect computation. Can the authors provide a formal reduction from inference correctness to the checked openings?
-
What happens against an adaptive prover who knows the layer-selection policy?
-
Can the authors report full deployment overhead, not only post-inference timing?
-
Need exploration on new LLMs.
Final justification
In the rebuttal, the authors adequately addressed the concerns on their mathematical correctness, original soundness claims, adding overhead, models, and adaptive attacks. Two reviewers show a positive attitude towards this paper. P8aR does not reply even in the Final Justification, but I think his concerns are also addressed. Therefore, I think this paper can be accepted if have places.
Read meta-review
Meta-review
The paper proposes a method called TensorCommitments to check LLMs remote inference. The method for commits to activation tensors and then put them in a Terkle-tree style structure to verify the LLMs' activation. The paper also introduces a layer-selection strategy based on heavy-tailed spectral scores to prioritize layers that are empirically more sensitive to tampering.
Strengths:
-
The paper solves an important problem.
-
The proposed method is reasonable and effective.
Weaknesses:
-
Theoretical problems proposed by SA6s.
-
If only a subset of layers is checked, is the claimed error negligible in the cryptographic security parameter, or is it a statistical detection probability depending on the attack distribution and layer-selection policy?
-
Is TensorCommitments intended as a replacement for ZK-based verifiable computation or as a lightweight auditing heuristic?
-
They do not demonstrate that a malicious prover cannot commit to an internally consistent but incorrect computation. Can the authors provide a formal reduction from inference correctness to the checked openings?
-
What happens against an adaptive prover who knows the layer-selection policy?
-
Can the authors report full deployment overhead, not only post-inference timing?
-
Need exploration on new LLMs.
Final justification
In the rebuttal, the authors adequately addressed the concerns on their mathematical correctness, original soundness claims, adding overhead, models, and adaptive attacks. Two reviewers show a positive attitude towards this paper. P8aR does not reply even in the Final Justification, but I think his concerns are also addressed. Therefore, I think this paper can be accepted if have places.
2 comments
This provides our guarantee over the examined relations rather than deterministic certification of the complete execution in ZKP. A prover may commit consistently to an incorrect tensor without breaking binding. Detection then depends on whether the violated relation and a detectable coordinate are audited.
Conditional Output Soundness: For a fixed committed with claimed output , let be the probability, over the verifier's challenge distribution, that the verifier selects a relation covered by the audit mechanism and samples a coordinate whose relation error exceeds tolerance . Then,
For a fixed satisfying with one violated relation in one selected layer , selected with probability , a fraction of auditable coordinates exceeding , and independent coordinate samples,
.
The guarantee covers incorrect executions that violate a relation within the audit mechanism's support and expose a discrepancy above at a sampled coordinate. The negligible term concerns commitment binding. The remaining term is statistical sampling failure. Executions that violate only unaudited relations, or remain below the tolerance, are outside this bound. Deviations that leave the output unchanged are not output-soundness failures, though they may violate stronger computation-integrity.
3. The adaptive prover
We agree the deterministic selector is vulnerable to a policy-aware adversary. If the adversary knows the selected set, then probability of auditing layer is , and layers outside that set have zero coverage. Thus, we benchmark randomized selection and evaluate an adversary with knowledge of the policy, scores, and budget.
Worst-case coverage floor: Let use the -score set with probability and otherwise sample a feasible allocation uniformly. Then
and therefore
for coverage fraction . The floor is positive when the allocator assigns positive marginal probability to every output-critical layer under consideration. Its value follows from the audit budget and allocator configuration, not from AMC or the evaluated attack distribution.
We then evaluated an attacker holding the policy, the scores and the budget. The fraction of all attempted attacks that were both missed and output-changing was 10.62% at = 0, 4.16% at = 0.75 and 3.98% at = 1. At = 1, however, raw coverage outside is zero. The sweep we have detailed in the rebuttal to P8aR is empirical evidence for this policy-aware attack family.
4. Full Deployment Overhead & New LLMs
As we further detailed in the rebuttal to P8aR, the complete deployment breakdown for the LLaMA2-13B is as follows:
| Stage | Cost |
|---|---|
| SRS, generated once and amortized | 80.6 MB |
| Activation capture | retention only |
| Device-to-host transfer | 7.1 ms |
| Reshape to hypercube | 1.6 ms |
| Interpolation | 47.8 ms |
| Commitments | 3.5 ms |
| Terkle-tree construction | 6.3 ms |
| Quotient formation | 29.1 ms |
| Proof from quotient | 3.2 ms |
| Prover total | 98.6 ms |
| Verifier: structural checks | 3.2 ms |
| Verifier: arithmetic audit | 8.99 ms |
| Verifier total | 12.19 ms |
Due to space limitations, we further provide details in the rebuttal to gfYc for the LLM comparisons.
5. TC vs ZK
ZKPs provide full-circuit deterministic correctness for the encoded computation while our TC provides budgeted probabilistic verification that is more flexible for language inference. Commitments bind the tensor, and sampled arithmetic checks provide a configurable probability of detecting an incorrect execution. So the two occupy distinct points on the cost vs guarantee curve. We designed TC to make verification inexpensive enough to run on every inference to scale across thousands of queries across many nodes unlike any other existing scheme.
Final Comments
We appreciate the care with which you and the reviewers evaluated the paper. The discussion identified a math error in the text, which is now corrected, and prompted us to state the protocol’s guarantee more precisely and support it with the requested adaptive attacker, cost, and modern-model evidence.
We hope the summary above makes clear that our revised version of the paper now presents a complete, technically scoped, and empirically supported contribution at a distinct cost-guarantee point.
We remain glad to address any specific point that the reviewing committee considers still open.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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.
Formatting concerns
No paper formatting concerns that affect my scientific assessment.
2 comments
Rebuttal
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 .
Homomorphic audits: is a homomorphic operation. For additivity it satisfies Besides, they carry multiplicative structure as well. Commitments lie in and the SRS publishes the matching elements, so and its bilinearity, , 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 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:
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 , 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 use the -score set with probability and otherwise sample a feasible allocation uniformly. Then
and therefore
for coverage fraction . 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 under deterministic selection and in the highest-impact layers under uniform selection. We showed the effect across the randomization rates below.
| (1 = -selector, 0 = uniform random) | 0.00 | 0.25 | 0.50 | 0.75 | 1.00 |
|---|---|---|---|---|---|
| Missed and output changed | 10.62% | 6.80% | 5.38% | 4.16% | 3.98% |
| Missed perturbation | 19.82% | 22.86% | 35.12% | 62.70% | 100% |
| Share of misses that changed the output | 53.6% | 29.7% | 15.3% | 6.63% | 3.98% |
At , every perturbation deliberately placed outside the deterministic selected set is missed, which is the case above. We report this result explicitly because it motivates randomized selection.
At , 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 , all perturbations outside 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:
- Low-rank substitution: replacing layers with truncated-SVD approximations.
- Layer skipping: bypassing transformer blocks.
- Precision downgrade: serving INT4 computation as FP16.
| Detection accuracy | Low-rank substitution | Layer skipping | Precision downgrade |
|---|---|---|---|
| TOPLOC | 73% | 97% | 62% |
| TensorCommitments | 92% | 99% | 90% |
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.
| Stage | Cost |
|---|---|
| SRS, generated once and amortized | 80.6 MB |
| Activation capture | retention only |
| Device-to-host transfer | 7.1 ms |
| Reshape to hypercube | 1.6 ms |
| Interpolation | 47.8 ms |
| Commitments | 3.5 ms |
| Terkle-tree construction | 6.3 ms |
| Quotient formation | 29.1 ms |
| Proof from quotient | 3.2 ms |
| Prover total | 98.6 ms |
| Verifier: structural checks | 3.2 ms |
| Verifier: arithmetic audit | 8.99 ms |
| Verifier total | 12.19 ms |
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 . 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.
| Item | Count | Bytes |
|---|---|---|
| Terkle root, once per inference | 1 group element | 48 |
| Membership path, including leaf opening | 16 group elements | 768 |
| Claimed evaluation | 1 field element | 32 |
| Challenge seed | — | 32 |
| Total per inference | 880 B | |
| Per generated token | ~2 B |
We now distinguish three communication quantities:
- Root only: 48 B.
- Commitment and authentication material: 880 B per inference.
- Full verification traffic: the above material plus the arithmetic-audit transcript.
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:
- commitment binding provides negligible evaluation-binding error but does not establish provenance;
- arithmetic recomputation checks selected model relations but incurs verification cost;
- sampling makes the protocol affordable but yields a statistical guarantee.
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- 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.
Dear Reviewer P8aR,
We hope our rebuttal has adequately addressed the questions and concerns raised in your review.
As we approach the end of the author–reviewer discussion period, we remain fully committed to clarifying any outstanding questions or addressing any further concerns regarding the manuscript or our responses. Please let us know if any issues remain unresolved.
If you feel that your concerns have been answered, we would be very grateful if you could update your review and score accordingly.
Thank you again for your valuable time and thoughtful feedback.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes TensorCommitments (TCs), a tensor-native commitment scheme based on multivariate polynomial commitments, and Terkle Trees, a tensor-structured authentication tree intended to support succinct verification of selected LLM activations without requiring the verifier to rerun the full model. The paper also introduces a layer-selection strategy based on heavy-tailed spectral scores to prioritize layers that are empirically more sensitive to tampering.
Strengths and weaknesses
Strengths
- The idea of avoiding flattening and instead exploiting tensor structure in commitments and authentication trees is conceptually attractive.
- The paper positions itself against zkLLM, SVIP, TOPLOC, raw activation checking, Merkle trees, and Verkle trees, which helps clarify the intended systems trade-off.
- The paper correctly observes that checking only final-layer fingerprints, as in TOPLOC-like methods, may miss slow-burn or early-layer attacks that preserve final activation statistics.
- The heavy-tail spectral scoring and interval-selection formulation are interesting as a budgeted auditing mechanism, even if they do not by themselves provide cryptographic inference correctness.
Weaknesses
-
The multivariate opening construction appears mathematically inconsistent. The verifier equation and Appendix F rely on the identity , but Appendix A's iterative division procedure actually yields a telescoping sum of the form . The product-divisibility identity is false for general multivariate polynomials, which directly undermines the stated pairing verification equation and correctness proof.
-
The scheme commits to activations, but it does not prove that the activations were generated by applying the model to the prompt. A malicious prover can run a different model, commit to its activations, and answer openings consistently. Without arithmetic constraints, recursive checks, or a verifier-side recomputation of layer transitions, commitment binding is not equivalent to inference correctness.
-
The paper states a negligible soundness error for malicious provers, but the actual protocol verifies only selected layers. If an adversary tampers with unqueried layers, the protocol may accept. This is not negligible cryptographic soundness; it is a statistical detection heuristic dependent on the sampling strategy and attack distribution.
-
The paper claims lightweight verifiable inference, but the layer-selection algorithm explicitly verifies only a subset of layers due to budget constraints. This may be useful as an auditing heuristic, but it is not an end-to-end proof of inference correctness.
Questions
Given the strenghts, I have the following comments:
-
My main concern is that the core multivariate commitment verification appears mathematically incorrect and internally inconsistent. The paper assumes the stronger product-divisibility identity , but this divisibility does not hold for general multivariate polynomials. By contrast, Appendix A describes an iterative coordinate-wise division procedure, which yields a telescoping sum representation of the form rather than a single quotient multiplied by . For example, let and . Then , which is not divisible by . This discrepancy directly affects the claimed pairing verification equation and the correctness proof in Appendix F, and should be resolved by deriving a valid verifier equation for the tuple of quotient commitments produced by Algorithm 1. Could the authors clarify whether the intended multivariate opening proof is based on the product-divisibility identity or on the coordinate-wise telescoping decomposition from Appendix A, and provide the corresponding corrected verifier equation and proof of correctness?
-
If only a subset of layers is checked, is the claimed error negligible in the cryptographic security parameter, or is it a statistical detection probability depending on the attack distribution and layer-selection policy? Specifically, what is the precise soundness guarantee under partial layer verification?
-
Is TensorCommitments intended as a replacement for ZK-based verifiable computation or as a lightweight auditing heuristic? The paper’s language suggests the former, but the mechanism appears closer to the latter.
-
The main claim is “verifiable LLM inference,” but the experiments largely measure detection accuracy under synthetic attacks and overhead of tree operations. They do not demonstrate that a malicious prover cannot commit to an internally consistent but incorrect computation. Can the authors provide a formal reduction from inference correctness to the checked openings?
-
The paper gives the verifier access to the public parameters, the model, the input, the claimed output, and selected tensor-opening proofs, and states that the verifier checks pairings and that the openings match . Could the authors clarify what this matching step entails? In particular, does the verifier check any layer-to-layer transformer computation constraints, or does it only check that the opened tensor values are consistent with the commitment? If the latter, what prevents a malicious prover from running an altered model, committing to the resulting activations, and producing valid openings for the selected challenge points?
Limitations
Yes
Final justification
I have read the rebuttal of the authors and raised my score
Formatting concerns
None
5 comments
We want to especially thank the reviewer SA6s due to their attention to the details and patience on identifying a very important math formulation mistake. We give the answers to each of their concerns and related details below.
Q1. Corrected multivariate opening and verification equations (also W1)
We sincerely appreciate the reviewer for patiently following our math and identifying this. While we conceptually focus too much on verifying LLMs and AI in this project, we ironically got biased towards trusting human factor, leading us to miss a human LaTeX transcription mistake.
While transferring the coordinate-wise derivation from our notes, we unintentionally placed the product term in the wrong part of the pairing equation. Fortunately, the released implementation uses the correct coordinate-wise verification, and all reported results were produced with our open-sourced code. Below, we explain what was written incorrectly, provide the corrected equation, and show how it correctly follows from the telescoping decomposition.
The intended construction is the coordinate-wise decomposition already produced by Open_TC and Algorithm 1:
For proof ,
- the correct verifier equation is
- as the term incorrectly located in the exponent in the manuscript.
These equations are corrected in the revision.
Correctness follows by evaluating the decomposition at : both sides have exponent
Thus, the manuscript is revised for this mistake, but the implementation, experiments, and reported opening timings do not require any change as they were already in line with the correct formulation.
Q5. What the verifier checks (also W2)
The short answer to the question is both the prior and the latter. Our 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 .
Homomorphic audits: is a homomorphic operation. For additivity it satisfies Besides, they carry multiplicative structure as well. Commitments lie in and the SRS publishes the matching elements, so and its bilinearity, , 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 group operations.
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.
More on the overheads are listed in the rebuttal to the Reviewer P8aR24 due to space limitations.
What is the guarantee under partial verification (W3, W4, Q2, Q4)?
The reviewer is right that the end-to-end guarantee is statistical and challenge-distribution dependent. We therefore revised the previous negligible-soundness wording.
For an incorrect committed transcript , let denote the probability that the verifier samples and detects at least one model-relation error whose magnitude exceeds the allowed tolerance . Assuming every challenged relation is checked correctly up to tolerance ,
For the simple case of one violated layer , selected with probability , where is the fraction of auditable coordinates whose relation error exceeds , and coordinates are sampled independently, .
The negligible term concerns commitment binding. The remaining term is the statistical probability that sampling fails to examine the violated computation. A prover may commit consistently to an incorrect transcript without breaking binding. Rejection then comes from the arithmetic and homomorphic relation check, provided the violated layer and coordinates are sampled.
For output soundness, we evaluate the event An attack that leaves the output unchanged is not an output-soundness failure, although it may still violate stronger computation-integrity. We do not claim to detect every perturbation. We claim a configurable probability of detecting violations that lead to an incorrect output. This is more obvious from our attack sweep analysis in the rebuttal to Reviewer P8aR24.
We report AMC as average coverage, not a worst-case guarantee, and separately report the per-layer minimum. Under , uniform mixing gives every layer nonzero coverage. In the policy-aware sweep, the fraction of all attempted attacks that were both missed and output-changing is 10.62% at and 3.98% at . At , however, raw coverage outside is zero. We present these results as evidence for this attack family, not as a proof against arbitrary adaptive provers.
We also add provider-side attacks that directly model incorrect computation: low-rank substitution, layer skipping, and precision downgrade. TC detects 92%, 99%, and 90%, respectively, compared with TOPLOC’s 73%, 97%, and 62%. These are in rebuttal to P8aR24 due to space limitations.
Q3. Relation to ZKP verification
TC is best understood as lying between final-layer fingerprinting (e.g., TOPLOC) and a full ZKP of computation. It is stronger than a purely empirical fingerprint because the complete transcript is cryptographically bound and selected model relations are checked arithmetically. It is weaker than full-circuit ZK because only sampled relations are checked.
A ZK system proves the full encoded computation and can also hide the model from the verifier. TC assumes that the verifier may hold and trades full-circuit correctness for substantially lower, budget-controlled auditing cost. The guarantees should therefore not be compared as equivalent. zkLLM’s 100% figure refers to a full-circuit proof, whereas TC’s detection rate refers to sampled verification over a globally bound transcript.
We intend to showcase a deliberate deployment trade-off, not to claim that ZKP is unnecessary. When full model privacy and full-circuit correctness are must, ZK provides the stronger guarantee. When the verifier may hold the model and continuous auditing is the priority, TC offers a lighter-weight, highly scalable, and configurable alternative.
The revisions we have made per your review:
- We corrected the incorrect multivariate pairing equation and Appendix F derivations
- We distinguished transcript binding, linear consistency, and arithmetic auditing throughout in the revision per our comments above.
- We replaced the negligible end-to-end soundness claim with the challenge-dependent statistical bound above, including audit tolerance and worst-case layer-selection probability.
- We elaborated the comparison with zkLLM and report complete prover and verifier times as given in the rebuttal to the reviewer P8aR24 due to space limitations in this comment.
Across the other reviewer threads, we also report new Qwen3, Qwen3.5, and Gemma4 results, together with the full adaptive and deployment analyses.
We revised the paper now to be more precise about both the construction and its guarantees. We gladly look forward to any other concerns our reviewer might have or would like to be adressed.
Dear Reviewer SA6s,
We hope our rebuttal has adequately addressed the questions and concerns raised in your review.
As we approach the end of the author–reviewer discussion period, we remain fully committed to clarifying any outstanding questions or addressing any further concerns regarding the manuscript or our responses. Please let us know if any issues remain unresolved.
If you feel that your concerns have been answered, we would be very grateful if you could update your review and score accordingly.
Thank you again for your valuable time and thoughtful feedback.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes TensorCommitments (TCs), a tensor-native proof-of-inference scheme. TC binds the LLM inference to a commitment, an irreversible tag that breaks under tampering, organized in our multivariate Terkle Trees. Experiments demonstrate that TC adds only 0.97% prover and 0.12% verifier time over inference while improving robustness to tailored attacks by up to 48% over the best prior work requiring a verifier GPU.
Strengths and weaknesses
Strengths:
- The paper is well-written and clearly presented.
- Compared to other baselines, the proposed method uses very low prover and verifier time costs, but still has high accuracy.
- The proposed method is effective and makes sense.
Weaknesses:
- The main experiments in the paper are all from the LLaMA-2 series, the base model is outdated. The LLaMA-2 series of models was released almost three years ago. The paper should use the latest open-source models to demonstrate the effectiveness of the proposed method, such as Qwen3, Qwen3.5, Gemma4.
- This paper's setting is deploying its own LLM to the cloud. This is a narrow setting. Are there other potential application scenarios for the proposed method?
Questions
My main concerns are about the outdated model used in the experiments
Limitations
yes
Final justification
After reading the rebuttal, I raise the score to 4.
Formatting concerns
N/A
3 comments
Rebuttal
We thank our reviewer gfYc07 for the careful read, and for noting the clarity of the presentation and the low prover and verifier cost. We also appreciate for encouraging the assessment regarding the model used in the experiments. Both weaknesses ask for evidence, so we answer both with new measurements. The second question though, whether the setting is broader than one cloud deployment, turned out to be a very important one for us, and we are grateful for it. It pushed us to state something we had left implicit and under-sold.
Why LLaMA-2 only in the first place?
Every baseline in Table 1 (e.g., zkLLM, SVIP, TOPLOC) reports on the LLaMA-2 family in their original paper. We used it so the comparison is like-for-like rather than confounded by a change of base model. We should have stated that reasoning in the paper, and the revision does, alongside the new results below.
W1. Results on new LLMs the reviewer asked
We conducted the experiments with the three models our reviewer asked. The results are shown in the table below. In every row the prover commits the whole network, the residual-stream state of every block, with no per-model selection. We are also happy to incorporate any other model per our reviewer's future suggestions.
| Model | Params | Inference (s) | Prover post-inference (ms) | Overhead (%) | Verification (ms) | Detection accuracy | Tensor volume / token |
|---|---|---|---|---|---|---|---|
| LLaMA2 (submitted) | 13B | 10.165 | 98.6 | 0.97 | 12 | 96.02 | 33.1 MiB |
| Qwen3 | 14B | 10.892 | 101.4 | 0.93 | 14 | 95.78 | 34.1 MiB |
| Qwen3.5 | 9B | 8.384 | 32.9 | 0.39 | 11 | 96.34 | 7.7 MiB |
| Gemma4 | 12B | 8.681 | 51.9 | 0.60 | 12 | 94.86 | 16.4 MiB |
Our table shows we commit the intermediate tensors a run produces, and cost follows the tensor-volume column rather than the parameter column. Growth in that volume is then damped, since it is absorbed by raising the tensor order and the interpolation bound falls sharply as the order grows (Fig. 1). This is why overhead stays under one percent across three model architectures.
What does not change is the mechanism. Nothing in it is fitted to a model family, so a new generation runs as-is, with:
- no retraining unlike SVIP, which needs 261 minutes of verifier-side training per model, and
- no per-model threshold tuning unlike fingerprint methods with fixed thresholds.
Our paper already exercises the mechanism across a 560× parameter range (OPT-125M to LLaMA2-70B) and across two architectures. Our new experiments extend that across model generations in the revision.
W2. The method's generalization to different settings:
The reviewer is right that we presented one deployment and left the general case implicit. The mechanism applies to any relationship in which one party pays for computation it cannot observe. Cloud-hosted inference is a single instance of it. The revision leads with the general principle and these cases:
- Pay-per-inference compute markets: A client paying for remote inference needs proof of the work it is billed for, bound to that specific run.
- Chained and multi-party inference: A request routed through several compute providers: each stage commits to its segment, and the chain of roots attests the pipeline end to end, with per-stage accountability when something goes wrong.
- Data-provider attestation: A provider unwilling to reveal its data can still prove that its data was the input to a given run, by opening only the input-side commitment. Because our commitments are additively homomorphic, inclusion of a contribution is checked directly on commitments, without revealing the contribution.
- Federated aggregation: A cloud aggregator commits to the aggregate; edge devices verify that their own update was included and not silently dropped, through the same homomorphic inclusion check (). Terkle Trees keep these per-device queries local and cheap. We add this setting to the appendix.
- Agentic and multi-turn pipelines: Long-horizon agent state is precisely what Terkle Trees were built for: many evolving tensors under a single root, with cheap localised queries over a chat span or an agent's memory region.
Per the reviewer's generalization question, we realize new experiments for two deployment settings that matter for real-world verifiable AI and are unexplored in this literature.
Mixture-of-Experts: LLMs route each token to a subset of experts, and an untrusted provider could silently substitute a cheaper expert or skip routing. We commit to both the routing decisions and the per-expert activations, so such substitution is caught.
Federated learning: each participant commits to its local update, and the cloud and later participants verify aggregation consistency without seeing raw gradients. While we detail these settings in the revised appendix, the results are as follows:
| Setting | Model | Prover (ms) | Verification (ms) |
|---|---|---|---|
| MoE | Mixtral 8×7B, 2/8 active experts | 94.7 | 11.6 |
| MoE | Mixtral 8×7B, 4/8 active experts | 148 | 21.8 |
| FL | Llama3-8B on MIMIC-IV, 8 nodes, LoRA r=128 | 37.9 | 4.14 |
| FL | AlexNet on CIFAR-100, 50 nodes | 24.2 | 3.08 |
Mixtral holds 47B parameters and costs 94.7 ms, below LLaMA2-13B's 98.6 ms, because only the active experts contribute activations. Doubling the active experts raises it to 148 ms, a 1.6× increase for 2× the routed state. Cost also follows the state a run actually exposes, not only the parameters it holds. The federated rows are reported in absolute terms, since a single-inference baseline is not the relevant denominator there.
All these results demonstrate that our method is generalizable across variety of use-cases and has reasonable overhead to deploy in a real world network unlike the other works.
Why we think this matters beyond our own system?
Verification cost decides whether verification happens at all. When an LLM answers a question, a wrong answer is one wrong answer. When an LLM sits inside an agent, a wrong answer becomes a tool call, a database write, and a state that later steps treat as ground truth. The error stops being local. Today's options make checking a deliberate exception: 803 seconds per ZKP, or a verifier that must hold a 71 GB GPU and re-run the model to obtain signatures. Under those costs, almost nobody checks.
At a verifier cost of ~0.1% of inference time and a prover cost under 1%, checking can be the default rather than the exception, and every inference can leave a verifiable record instead of a sampled few. That shift from occasional proof to continuous verification is the part we would most like the community to build on, and it is why we chose to work on the cost of verification rather than on its strength alone. We are genuinely grateful to the reviewer for asking the question that made us articulate it, and we would welcome any suggestion about which of these settings deserves the most space in the final version.
One note from another thread, so it does not arrive as a surprise. The equation in Sec. 4 carried the univariate form of the verification check into the multivariate setting. We give the corrected equation and its proofs in our response to Reviewer SA6s. The implemented scheme and every number in Table 1 are unaffected.
In the revision
- New end-to-end results on Qwen3, Qwen3.5 and Gemma4, in the metrics of Table 1, with per-token tensor volume reported alongside.
- Corrected cost model: proving cost is set by the intermediate tensor volume a forward pass produces rather than by parameter count, with the dependence damped by the tensor-order effect of Fig. 1.
- The stated rationale for LLaMA-2 in the original comparison (baseline parity).
- The general setting up front, with the five cases above; federated aggregation added to the appendix and the homomorphic inclusion check made explicit.
We hope the new results address the reviewer's main concern, and we would gladly run any further model the reviewer considers most decisive during the discussion period.
Thanks for the detailed rebuttal. After reading the responses, my concerns regarding the results on newer LLMs have been fully addressed. Regarding the broader applicability of the proposed method, I find the authors' explanation reasonable, however, due to my limited experience in this specific area, I am unable to make a fully definitive judgment on that aspect.
Overall, I will raise my score to 4.
Thank you for revisiting our rebuttal and updating your assessment.
We are glad that our additional experiments fully addressed your main concerns, and we appreciate your careful assessment of our method. Your feedback helped us to substantially clarify both the empirical scope and the broader motivation of our paper.
Please let us know if you have any further questions or concerns, we remain fully committed to addressing them until the end of rebuttal period.
Comments on the paper
2 comments
Dear all,
Please check the rebuttal by the authors and acknowledge it to the authors. There is not much time left for the rebuttal phase.
Best,
Your AC
Dear all,
Please check the rebuttal by the authors and acknowledge it to the authors. There is not much time left for the rebuttal phase. The authors have done a lot for the rebuttal and I hope you can respond whether their responses address your concerns or not.
Best,
Your AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair,
We sincerely appreciate your careful synthesis of the reviews and your acknowledgment of the importance and effectiveness of our proposed approach. We are also thankful for clearly identifying where the theory, guarantee, and evaluation required greater precision.
We waited until the reviewer discussion period had evolved so that we could provide you with a single consolidated response reflecting the complete set of our rebuttals with our additional evidence, and the reviewer feedback received to date, rather than a fragmented or premature summary, in order to respect your valuable time diffused across papers.
The substantive concerns raised across the reviews have now been addressed through a corrected equation, a precisely scoped formal guarantee, complete deployment accounting, and new adaptive and modern-model evaluations. For ease of review, we summarize the status of all seven points and provide the supporting details.
Status of the seven points
1. Corrected Equation
This was an error in the manuscript's formal verification specification and in the proofs that reused it. Algorithm 1 and our released implementation already used the coordinate-wise opening. The proof object is an m-tuple rather than a single quotient, and the verifier performs the m+1 term multi-pairing below. The reported timings were produced on that implementation path, so the correction changes neither the implemented algorithm nor the measurements.
2. What is bound, what is audited, and the guarantee
Points 2, 3 and 4 above arise from one issue. We described three distinct mechanisms with a single soundness claim, and that was the root confusion we addressed with the bases with distinct roles in the revision as below.
Binding: The Terkle root is shared before the verifier draws its challenge. The prover therefore fixes the tensor, including every block’s residual state, before learning what will be examined. Afterward, an opened value cannot change 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). They also carry multiplicative structure as 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. This allows verifying relations among committed tensors to be checked directly on commitments at O(1) group operations.
Arithmetic audits: If only a very small subset requires verification, the verifier draws its coordinates after the root is fixed. The prover supplies the restriction of the committed polynomial to the index block on which the entry depends. The verifier checks it against the commitment using one random-point opening and recomputes challenged entry from the weights it holds.
Coverage: Binding alone does not establish provenance. A prover can commit consistently to an incorrect tensor. Detection therefore depends on whether the violated relation is selected and whether the affected coordinates are audited either homomorphically or arithmetically.