ZKTorch: Compiling ML Inference to Zero-Knowledge Proofs via Parallel Proof Accumulation
Bing-Jyue Chen, Lilia Tang, Daniel Kang

TL;DR
ZKTorch is a system that efficiently generates zero-knowledge proofs for machine learning inference, ensuring model privacy while providing transparent verification, by leveraging parallel proof accumulation and cryptographic optimizations.
Contribution
It introduces ZKTorch, a novel end-to-end system that compiles ML models into cryptographic blocks and employs parallel proof accumulation for improved efficiency.
Findings
At least 3x reduction in proof size.
Up to 6x faster proof generation.
Generalizes better than previous specialized protocols.
Abstract
As AI models become ubiquitous in our daily lives, there has been an increasing demand for transparency in ML services. However, the model owner does not want to reveal the weights, as they are considered trade secrets. To solve this problem, researchers have turned to zero-knowledge proofs of ML model inference. These proofs convince the user that the ML model output is correct, without revealing the weights of the model to the user. Past work on these provers can be placed into two categories. The first method compiles the ML model into a low-level circuit, and proves the circuit using a ZK-SNARK. The second method uses custom cryptographic protocols designed only for a specific class of models. Unfortunately, the first method is highly inefficient, making it impractical for the large models used today, and the second method does not generalize well, making it difficult to update in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
