Accelerating Zero-Knowledge Proofs Through Hardware-Algorithm Co-Design
Nikola Samardzic, Simon Langowski, Srinivas Devadas, Daniel Sánchez
摘要
Zero-Knowledge Proofs (ZKPs) are a cryptographic tool that enables one party (a prover) to prove to another (a verifier) that a statement is true, without requiring the prover to disclose any data to the verifier. ZKPs have many use cases, such as letting clients delegate computation to servers with cryptographic correctness guarantees, while enabling the server to use secret data in these computations. ZKP applications span verifiable machine learning (ML) and databases, online auctions, electronic voting, and blockchains. While ZKPs are already widely used in blockchains, the prohibitive costs of proof generation limit them to proving very simple computations. We present a novel accelerator, NoCap, that leverages hardware-algorithm co-design to achieve transformative speedups. NoCap generates proofs 586× faster than a 32-core CPU, and 41× faster than PipeZK, a state-of-the-art ZKP accelerator. We leverage recent algorithmic developments to achieve these speedups: we identify and combine two recent hash-based ZKP algorithms, Orion and Spartan, which have similar performance on CPUs to the ZKPs targeted by prior accelerators, but are much more amenable to hardware acceleration. Though these algorithms result in larger proofs, we show that the end-to-end speedups (including prover time, proof transmission, and verification time) more than justify this size increase. We contribute a novel hardware organization to exploit these acceleration opportunities: NoCap is a programmable vector processor with functional units tailored to the needs of hash-based ZKPs. We also contribute a co-designed implementation of the Spartan+Orion ZKP tailored to accelerators, with optimizations that improve parallelism and reduce memory traffic. As a result, NoCap achieves speedups that enable new use cases for ZKP.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Zero-Knowledge AI Inference with High Precision 引用了 Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs
- Zero-Knowledge AI Inference with High Precision 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
- zkPHIRE: A Programmable Accelerator for ZKPs over HIgh-degRee, Expressive Gates 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- zkPHIRE: A Programmable Accelerator for ZKPs over HIgh-degRee, Expressive Gates 引用了 UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping
- zkPHIRE: A Programmable Accelerator for ZKPs over HIgh-degRee, Expressive Gates 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
- zkPHIRE: A Programmable Accelerator for ZKPs over HIgh-degRee, Expressive Gates 引用了 Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge Proofs 引用了 UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge Proofs 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge Proofs 引用了 Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs
- UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
- Doubly-Efficient zkSNARKs Without Trusted Setup 引用了 Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
- Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs 引用了 UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping
- Bulletproofs: Short Proofs for Confidential Transactions and More 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
引用它的顶会 Paper6
- UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel MappingCheng Wang, Mingyu GaoASPLOS 2025 · 12 次引用
- Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge ProofsAlhad Daftardar, Jianqiao Mo, Joey Ah-kiow, Benedikt Bünz 等ISCA 2025 · 12 次引用
- zkPHIRE: A Programmable Accelerator for ZKPs over HIgh-degRee, Expressive GatesAlhad Daftardar, Jianqiao Mo, Joey Ah-kiow, Benedikt Bünz 等HPCA 2026 · 1 次引用
- Zero-Knowledge AI Inference with High PrecisionArman Riasi, Haodi Wang, Rouzbeh Behnia, Viet Vo 等CCS 2025
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge ProofsTao Lu, Jipeng Zhang, Yanpei Guo, Xuanming Liu 等USENIX Security 2026
它引用的 Paper26
- Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra 等S&P 2018 · 1,285 次引用
- SIGMA: A Sparse and Irregular GEMM Accelerator with Flexible Interconnects for DNN TrainingEric Qin, Ananda Samajdar, Hyoukjun Kwon, Vineet Nadella 等HPCA 2020 · 490 次引用
- Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler 等S&P 2018 · 356 次引用
- Ligero: Lightweight Sublinear Arguments Without a Trusted SetupScott Ames, Carmit Hazay, Yuval Ishai, Muthuramakrishnan VenkitasubramaniamCCS 2017 · 338 次引用
- F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas 等MICRO 2021 · 294 次引用
相关 Paper
- GenZA: A General and Efficient Accelerator for Diverse Zero-Knowledge Proof ProtocolsCheng Wang, Jiangbin Dong, Mingyu GaoISCA 2026
- BatchZK: A Fully Pipelined GPU-Accelerated System for Batch Generation of Zero-Knowledge ProofsTao Lu, Yuxun Chen, Zonghui Wang, Xiaohang Wang 等ASPLOS 2025 · 11 次引用
- PipeZK: Accelerating Zero-Knowledge Proof with a Pipelined ArchitectureYe Zhang, Shuo Wang, Xian Zhang, Jiangbin Dong 等ISCA 2021 · 87 次引用
- LegoZK: A Dynamically Reconfigurable Accelerator for Zero-Knowledge ProofZhengbang Yang, Lutan Zhao, Peinan Li, Han Liu 等HPCA 2025 · 9 次引用
- Pipelonk: Accelerating End-to-End Zero-Knowledge Proof Generation on GPUs for PLONK-Based ProtocolsZhiyuan Zhang, Yanxin Cai, Wenhao Yin, Xueyu Wu 等PPoPP 2026 · 1 次引用
