paper-with-me

홈 › Papers

ZKTorch: Compiling ML Inference to Zero-Knowledge Proofs via Parallel Proof Accumulation

2025-07-09 · Bing-Jyue Chen, Lilia Tang, Daniel Kang arxiv

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 the rapidly changing field of machine learning. To solve this, we propose ZKTorch, an open source end-to-end proving system that compiles ML models into base cryptographic operations called basic blocks, each proved using specialized protocols. ZKTorch is built on top of a novel parallel extension to the Mira accumulation scheme, enabling succinct proofs with minimal accumulation overhead. These contributions allow ZKTorch to achieve at least a $3\times$ reduction in the proof size compared to specialized protocols and up to a $6\times$ speedup in proving time over a general-purpose ZKML framework.

📄 PDF Abstract BibTeX arXiv:2507.07031

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Compiling by Proving: Language-Agnostic Automatic Optimization from Formal Semantics

2025-09-26 · Jianhong Zhao, Everett Hildenbrandt, Juan Conejero, Yongwang Zhao arxiv

Verification proofs encode complete program behavior, yet we discard them after checking correctness. We present compiling by proving, a paradigm that transforms these proofs into optimized execution rules. By constructi…

Zero-Knowledge Proof Based Verifiable Inference of Models

2025-11-25 · Yunxiao Wang arxiv

Recent advances in artificial intelligence (AI), particularly deep learning, have led to widespread adoption across various applications. Yet, a fundamental challenge persists: how can we verify the correctness of AI mod…

Scaling up Trustless DNN Inference with Zero-Knowledge Proofs

2022-10-17 · Daniel Kang, Tatsunori Hashimoto, Ion Stoica, Yi Sun

As ML models have increased in capabilities and accuracy, so has the complexity of their deployments. Increasingly, ML model consumers are turning to service providers to serve the ML models in the ML-as-a-service (MLaaS…

RetrievalSNARKSvalid

NANOZK: Layerwise Zero-Knowledge Proofs for Verifiable Large Language Model Inference

2026-03-17 · Zhaohui Geoffrey Wang arxiv

When users query proprietary LLM APIs, they receive outputs with no cryptographic assurance that the claimed model was actually used. Service providers could substitute cheaper models, apply aggressive quantization, or r…

OATH: Efficient and Flexible Zero-Knowledge Proofs of End-to-End ML Fairness

2024-09-17 · Olive Franzese, Ali Shahin Shamsabadi, Hamed Haddadi

Though there is much interest in fair AI systems, the problem of fairness noncompliance -- which concerns whether fair models are used in practice -- has received lesser attention. Zero-Knowledge Proofs of Fairness (ZKPo…

Fairness