zkPHIRE: A Programmable Accelerator for ZKPs over HIgh-degRee, Expressive Gates
By: Alhad Daftardar , Jianqiao Mo , Joey Ah-kiow and more
Potential Business Impact:
Makes secret computer math much faster.
Zero-Knowledge Proofs (ZKPs) have emerged as powerful tools for secure and privacy-preserving computation. ZKPs enable one party to convince another of a statement's validity without revealing anything else. This capability has profound implications in many domains, including: machine learning, blockchain, image authentication, and electronic voting. Despite their potential, ZKPs have seen limited deployment because of their exceptionally high computational overhead, which manifests primarily during proof generation. To mitigate these overheads, a (growing) body of researchers has proposed hardware accelerators and GPU implementations for kernels and complete protocols. Prior art spans a wide variety of ZKP schemes that vary significantly in computational overhead, proof size, verifier cost, protocol setup, and trust. The latest, and widely used ZKP protocols are intentionally designed to balance these trade-offs. A particular challenge in modern ZKP systems is supporting complex, high-degree gates using the SumCheck protocol. We address this challenge with a novel programmable accelerator that efficiently handles arbitrary custom gates via SumCheck. Our accelerator achieves upwards of $1000\times$ geomean speedup over CPU-based SumChecks across a range of gate types. We integrate this unit into a full-system accelerator, zkPHIRE, which achieves $1486\times$ geomean speedup over CPU and $11.87\times$ speedup over the state-of-the-art at iso-area. zkPHIRE is the first accelerator to scale to problem sizes of $2^{30}$ nominal constraints while maintaining small proof sizes and programmability.
Similar Papers
Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs
Hardware Architecture
Proves computer math is true, secretly and fast.
ZKProphet: Understanding Performance of Zero-Knowledge Proofs on GPUs
Distributed, Parallel, and Cluster Computing
Makes secret computer proofs much faster.
Evaluating Compiler Optimization Impacts on zkVM Performance
Performance
Makes computer proofs run much faster.