Ziv Meets Sumcheck: Zero-Knowledge Proofs of Floating-Point LLM Inference

Hassan Khodaiemehr, Khadijeh Bagheri, Chen Feng
11/22/2026
cs.LGcs.CRcs.IT

No confident code implementation found for this paper.

Abstract

Zero-knowledge proofs can show that a neural network produced a given output without revealing the network, but current systems for language models prove integer approximations of the model rather than the floating-point arithmetic that is actually deployed. Proving floating-point matrix multiplication has been regarded as hard, because rounding after every addition makes the result depend on the order of the additions.

Show full abstract

We avoid this obstacle by proving the correctly rounded product, in which every dot product is computed exactly and rounded once. This result is independent of the hardware and at least as accurate as standard kernels. We give an interactive proof for this relation whose cost is close to that of integer matrix multiplication, with roughly a thousand times fewer committed values than per-operation floating-point circuits need constraints, extend it to every layer of a transformer, and give a privacy construction for the complete argument whose zero knowledge we prove under explicit hypotheses. We implement the system and prove the full forward pass of GPT-2 small, including all twelve blocks and the output over the whole vocabulary, in 19 minutes on two processor cores; verification takes 21 seconds. The verifier rejects all 236 attacks we tested, and the model's outputs agree with high-precision inference at least as closely as standard 16-bit inference does.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{khodaiemehr2026meets,
  title  = {Ziv Meets Sumcheck: Zero-Knowledge Proofs of Floating-Point LLM Inference},
  author = {Hassan Khodaiemehr and Khadijeh Bagheri and Chen Feng},
  year   = {2026},
  eprint = {2611.29188},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.29188v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.29188.svg)](https://codeofpaper.com/paper/2611.29188)

Discussion