arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.06211cs.ARcs.CR
收藏

zkSpeed的需求:加速HyperPlonk以实现零知识证明

Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs

Alhad Daftardar, Jianqiao Mo, Joey Ah-kiow, Benedikt Bünz, Ramesh Karri, Siddharth Garg, Brandon Reagen

AI总结:

本文提出zkSpeed加速器,针对HyperPlonk零知识证明协议,加速SumCheck和MSM原语,以366.46 mm²芯片和2 TB/s带宽实现801倍加速,解决可信设置和证明大小问题。

摘要:

零知识证明(ZKPs)在隐私保护和可验证计算中正迅速变得重要。ZKPs使证明方能够向验证方证明某个陈述的真实性,而不泄露任何其他信息。ZKPs在区块链技术、可验证机器学习和电子投票中有应用,但由于证明过程的计算复杂性,尚未得到广泛采用。近期的工作已在GPU和ASIC上加速了最先进的ZKP协议的关键原语。然而,迄今为止加速的协议面临两个挑战之一:它们要么需要为每个应用进行可信设置,要么生成更大的证明大小和更高的验证成本,限制了它们在具有众多验证者或严格验证时间约束的场景中的适用性。本工作提出了一个加速器zkSpeed,用于HyperPlonk,这是一种最先进的ZKP协议,支持一次性通用设置和较小的证明大小,适用于公开可验证的基于共识的系统中的典型ZKP应用。我们加速了整个协议,包括两个主要原语:SumCheck和多重标量乘法(MSMs)。我们开发了一个使用366.46 mm²面积和2 TB/s带宽的全芯片架构来加速整个证明生成过程,与CPU基线相比实现了801倍的几何平均加速。

英文摘要:

Zero-Knowledge Proofs (ZKPs) are rapidly gaining importance in privacy-preserving and verifiable computing. ZKPs enable a proving party to prove the truth of a statement to a verifying party without revealing anything else. ZKPs have applications in blockchain technologies, verifiable machine learning, and electronic voting, but have yet to see widespread adoption due to the computational complexity of the proving process. Recent works have accelerated the key primitives of state-of-the-art ZKP protocols on GPU and ASIC. However, the protocols accelerated thus far face one of two challenges: they either require a trusted setup for each application, or they generate larger proof sizes with higher verification costs, limiting their applicability in scenarios with numerous verifiers or strict verification time constraints. This work presents an accelerator, zkSpeed, for HyperPlonk, a state-of-the-art ZKP protocol that supports both one-time, universal setup and small proof sizes for typical ZKP applications in publicly verifiable, consensus-based systems. We accelerate the entire protocol, including two major primitives: SumCheck and Multi-scalar Multiplications (MSMs). We develop a full-chip architecture using 366.46 mm$^2$ and 2 TB/s of bandwidth to accelerate the entire proof generation process, achieving geometric mean speedups of 801$\times$ over CPU baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑