UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping
Cheng Wang, Mingyu Gao
摘要
Zero-knowledge proof (ZKP) is an important cryptographic tool that sees wide applications in real-world scenarios where privacy must be protected, including privacy-preserving blockchains and zero-knowledge machine learning. Existing ZKP acceleration approaches using GPUs, FPGAs, and ASICs focus only on classic protocols that rely on expensive elliptic curve arithmetics. Emerging ZKP protocols based on hash functions can greatly reduce the algorithmic complexity, but they also introduce much more diverse computation kernels that cannot be efficiently handled by a single accelerator chip if dedicated units for each kernel are used. Our approach is to leverage a unified hardware architecture that is able to efficiently support the common primitives in ZKP, and then use smart mapping strategies to flexibly map various kernels to such hardware while ensuring high resource utilization. We design UniZK as such a ZKP accelerator, with a systolic-array-based hardware architecture enhanced with extra local links and a new vector processing mode. We propose novel mapping strategies to support diverse kernels including number theoretic transforms, hash functions, and general polynomial computations. UniZK provides 97x and 46x speedups on average compared to the CPU and GPU implementations of the same protocols, and is also 840x faster than previous ZKP accelerators using different protocols.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Poseidon: A New Hash Function for Zero-Knowledge Proof Systems 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
- Poseidon: A New Hash Function for Zero-Knowledge Proof Systems 引用了 Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS
- 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 引用了 Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge Proofs 引用了 Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge Proofs 引用了 Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS
- Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- GenZA: A General and Efficient Accelerator for Diverse Zero-Knowledge Proof Protocols 引用了 Poseidon: A New Hash Function for Zero-Knowledge Proof Systems
- GenZA: A General and Efficient Accelerator for Diverse Zero-Knowledge Proof Protocols 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- GenZA: A General and Efficient Accelerator for Diverse Zero-Knowledge Proof Protocols 引用了 Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs
- GenZA: A General and Efficient Accelerator for Diverse Zero-Knowledge Proof Protocols 引用了 Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS
- Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
引用它的顶会 Paper4
- 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 次引用
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge ProofsTao Lu, Jipeng Zhang, Yanpei Guo, Xuanming Liu 等USENIX Security 2026
- GenZA: A General and Efficient Accelerator for Diverse Zero-Knowledge Proof ProtocolsCheng Wang, Jiangbin Dong, Mingyu GaoISCA 2026
它引用的 Paper23
- Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra 等S&P 2018 · 1,285 次引用
- Poseidon: A New Hash Function for Zero-Knowledge Proof SystemsLorenzo Grassi, Dmitry Khovratovich, Christian Rechberger, Arnab Roy 等USENIX Security 2021 · 410 次引用
- Marlin: Preprocessing zkSNARKs with Universal and Updatable SRSAlessandro Chiesa, Yuncong Hu, Mary Maller, Pratyush Mishra 等EUROCRYPT 2020 · 356 次引用
- Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack IntegrationHasan Genc, Seah Kim, Alon Amid, Ameer Haj-Ali 等DAC 2021 · 325 次引用
- F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas 等MICRO 2021 · 294 次引用
相关 Paper
- PipeZK: Accelerating Zero-Knowledge Proof with a Pipelined ArchitectureYe Zhang, Shuo Wang, Xian Zhang, Jiangbin Dong 等ISCA 2021 · 87 次引用
- Accelerating Zero-Knowledge Proofs Through Hardware-Algorithm Co-DesignNikola Samardzic, Simon Langowski, Srinivas Devadas, Daniel SánchezMICRO 2024 · 24 次引用
- BatchZK: A Fully Pipelined GPU-Accelerated System for Batch Generation of Zero-Knowledge ProofsTao Lu, Yuxun Chen, Zonghui Wang, Xiaohang Wang 等ASPLOS 2025 · 11 次引用
- 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 次引用
