QuickSilver: Efficient and Affordable Zero-Knowledge Proofs for Circuits and Polynomials over Any Field
Kang Yang, Pratik Sarkar, Chenkai Weng, Xiao Wang
Abstract
Zero-knowledge (ZK) proofs with an optimal memory footprint have attracted a lot of attention, because such protocols can easily prove very large computation with a small memory requirement. Such ZK protocol only needs O(M) memory for both parties, where M is the memory required to verify the statement in the clear. In this paper, we propose several new constant-round ZK protocols in this setting, which improve the concrete efficiency and, at the same time, enable sublinear amortized communication for circuits with some notion of relaxed uniformity. In the circuit-based model, where the computation is represented as a circuit over a field, our ZK protocol achieves a communication complexity of 1 field element per non-linear gate for any field size while keeping the computation very cheap. We implemented our protocol, which shows extremely high efficiency and affordability. Compared to the previous best-known implementation, we achieve 6x--7x improvement in computation and 3x--7x improvement in communication. When running on intro-level AWS instances, our protocol only needs one US dollar to prove one trillion AND gates (or 2.5 US dollars for one trillion multiplication gates over a 61-bit field). In the setting where part of the computation can be represented as a set of polynomials with a "degree-separated" format, we can achieve communication sublinear to the polynomial size: the communication only depends on the total number of distinct variables in all the polynomials and the highest degree of all polynomials, independent of the number of multiplications to compute all polynomials. Using the improved ZK protocol, we can prove matrix multiplication with communication proportional to the input size, rather than the number of multiplications. Proving the multiplication of two 1024 x 1024 matrices, our implementation, with one thread and 1 GB of memory, only needs 10 seconds and communicates 25 MB.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
40 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
- Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Orion: Zero Knowledge Proof with Linear Prover Time
- Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
- Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
- Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Doubly-Efficient zkSNARKs Without Trusted Setup
- Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning
- Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs cites Bulletproofs: Short Proofs for Confidential Transactions and More
- Publicly Verifiable Zero-Knowledge and Post-Quantum Signatures from VOLE-in-the-Head cites Orion: Zero Knowledge Proof with Linear Prover Time
- Publicly Verifiable Zero-Knowledge and Post-Quantum Signatures from VOLE-in-the-Head cites Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
- Publicly Verifiable Zero-Knowledge and Post-Quantum Signatures from VOLE-in-the-Head cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
- Orion: Zero Knowledge Proof with Linear Prover Time cites Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
- Orion: Zero Knowledge Proof with Linear Prover Time cites Doubly-Efficient zkSNARKs Without Trusted Setup
- Orion: Zero Knowledge Proof with Linear Prover Time cites Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning
- Orion: Zero Knowledge Proof with Linear Prover Time cites Bulletproofs: Short Proofs for Confidential Transactions and More
- Improving Line-Point Zero Knowledge: Two Multiplications for the Price of One cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
- Ligero: Lightweight Sublinear Arguments Without a Trusted Setup cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
- Doubly-Efficient zkSNARKs Without Trusted Setup cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
- Doubly-Efficient zkSNARKs Without Trusted Setup cites Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
- Doubly-Efficient zkSNARKs Without Trusted Setup cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
- Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
- Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
- Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites Doubly-Efficient zkSNARKs Without Trusted Setup
- Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites Bulletproofs: Short Proofs for Confidential Transactions and More
- Bulletproofs: Short Proofs for Confidential Transactions and More cites Doubly-Efficient zkSNARKs Without Trusted Setup
Cited by top-tier papers40
- Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine LearningChenkai Weng, Kang Yang, Xiang Xie, Jonathan Katz et al.USENIX Security 2021 · 161 citations
- Orion: Zero Knowledge Proof with Linear Prover TimeTiancheng Xie, Yupeng Zhang, Dawn SongCRYPTO 2022 · 83 citations
- Publicly Verifiable Zero-Knowledge and Post-Quantum Signatures from VOLE-in-the-HeadCarsten Baum, Lennart Braun, Cyprien Delpech de Saint Guilhem, Michael Klooß et al.CRYPTO 2023 · 75 citations
- Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge ProofsTianyi Liu, Tiancheng Xie, Jiaheng Zhang, Dawn Song et al.S&P 2024 · 52 citations
- Improving Line-Point Zero Knowledge: Two Multiplications for the Price of OneSamuel Dittmer, Yuval Ishai, Steve Lu, Rafail OstrovskyCCS 2022 · 30 citations
Builds on20
- Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra et al.S&P 2018 · 1,285 citations
- Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler et al.S&P 2018 · 356 citations
- Ligero: Lightweight Sublinear Arguments Without a Trusted SetupScott Ames, Carmit Hazay, Yuval Ishai, Muthuramakrishnan VenkitasubramaniamCCS 2017 · 338 citations
- Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key PrimitivesMelissa Chase, David Derler, Steven Goldfeder, Claudio Orlandi et al.CCS 2017 · 316 citations
- ZKBoo: Faster Zero-Knowledge for Boolean CircuitsIrene Giacomelli, Jesper Madsen, Claudio OrlandiUSENIX Security 2016 · 287 citations
Related papers
- Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic CircuitsChenkai Weng, Kang Yang, Jonathan Katz, Xiao WangS&P 2021 · 205 citations
- AntMan: Interactive Zero-Knowledge Proofs with Sublinear CommunicationChenkai Weng, Kang Yang, Zhaomin Yang, Xiang Xie et al.CCS 2022 · 29 citations
- Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested DisjunctionsCarsten Baum, Alex J. Malozemoff, Marc B. Rosen, Peter SchollCRYPTO 2021 · 77 citations
- Fully Secure MPC and zk-FLIOP over Rings: New Constructions, Improvements and ExtensionsAnders P. K. Dalskov, Daniel Escudero, Ariel NofCRYPTO 2024 · 12 citations
- Stacked Garbling for Disjunctive Zero-Knowledge ProofsDavid Heath, Vladimir KolesnikovEUROCRYPT 2020 · 55 citations
