Impeller: Scalable and Efficient Zero-Knowledge Proof Computation Framework via Graph Compilation
Abstract
Zero-knowledge proofs (ZKPs) have become a cornerstone for privacy-preserving applications, yet the computational cost of proof generation remains a primary bottleneck. To improve proof generation, we present Impeller, a compiler-driven framework that transforms high-level ZKP algorithm specifications into efficient execution plans for heterogeneous CPU-GPU systems. Rather than treating the GPU as a stateless accelerator for isolated kernels as previous efforts do, Impeller models the entire proving process as a global computation graph. We introduce several key techniques, including aggressive arithmetic subgraph fusion, iterative chunked execution to handle memory-intensive operators, and a static hierarchical memory planner that orchestrates data placement across GPU, CPU, and NVMe storage. Experimental evaluations across a range of benchmark circuits demonstrate that Impeller achieves speedups ranging from 5.9× to 99× over the reference implementation, while being 6.9× to 12.2× faster on production-scale real-world applications.