ZK-Flex:一种灵活可扩展的零知识证明加速框架
ZK-Flex: A Flexible and Scalable Framework for Accelerating Zero-Knowledge Proofs
AI总结:
针对零知识证明中多项式与椭圆曲线运算的高计算强度、多样化大精度模乘及动态负载切换挑战,提出软硬件协同框架ZK-Flex,通过Toom-Cook多精度核心、灵活NoC和链表内存机制,实现5-11倍加速和最高3.8倍面积效率提升。
摘要:
零知识证明(ZKP)允许证明者向验证者证明计算正确性而不泄露私有数据,确保了隐私和可验证性。然而,证明生成是高度计算密集型的,主要由多项式(POLY)和椭圆曲线(EC)运算主导。这些工作负载给硬件加速带来了两个关键挑战:(1)高效支持多样化的大精度模乘运算,(2)在动态切换于POLY和EC阶段的工作负载中保持高利用率。现有的可重构加速器仅部分解决了这些问题,在精度可扩展性、算法灵活性和资源效率方面仍有限制。为了克服这些限制,我们提出了ZK-Flex,一个灵活可扩展的软硬件协同设计框架,用于加速ZKP证明生成。软件层包含POLY和EC优化器,通过硬件和工作负载感知的算法选择减少计算量,而硬件集成了TCore,一个基于Toom-Cook的多精度核心,具有灵活的NoC和链表内存机制,在有限内存容量下提高了并行性。在代表性的ZKP基准测试中,ZK-Flex相比现有技术实现了5到11倍的加速和高达3.8倍的面积效率提升,为高性能、可重构的ZKP加速建立了新基础。
英文摘要:
Zero-knowledge proofs (ZKP) allows a prover to convince a verifier of computational correctness without revealing private data, ensuring both privacy and verifiability. However, proof generation is highly compute-intensive, dominated by polynomial (POLY) and elliptic-curve (EC) operations. These workloads pose two key challenges for hardware acceleration: (1) efficiently supporting diverse large-precision modular multiplications, and (2) maintaining high utilization across workloads that dynamically shift between POLY and EC stages. Existing reconfigurable accelerators address these issues only partially, remaining limited in precision scalability, algorithmic flexibility, and resource efficiency. To overcome these limitations, we propose ZK-Flex, a flexible and scalable software-hardware co-designed framework for accelerating ZKP proof generation. The software layer incorporates POLY and EC optimizers that reduce computation through hardware- and workload-aware algorithmic choices, while the hardware integrates TCore, a Toom-Cook-based multi-precision core with a flexible NoC and a linked-list memory mechanism that improves parallelism under limited memory capacity. Across representative ZKP benchmarks, ZK-Flex achieves 5 to 11 times speedup and up to 3.8 times higher area efficiency over the state of the art, establishing a new foundation for high-performance, reconfigurable ZKP acceleration.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。