Paper 2024/1873

Cirrus: Performant and Accountable Distributed SNARK

Wenhao Wang
Fangyan Shi
Dani Vilardell
Fan Zhang
Abstract

Succinct Non-interactive Arguments of Knowledge (SNARKs) can enable efficient verification of computation in many applications. However, generating SNARK proofs for large-scale tasks, such as verifiable machine learning or virtual machines, remains computationally expensive. A promising approach is to distribute the proof generation workload across multiple workers. A practical distributed SNARK protocol should have three properties: horizontal scalability with low overhead (linear computation and logarithmic communication per worker), accountability (efficient detection of malicious workers), and a universal trusted setup independent of circuits and the number of workers. Existing protocols fail to achieve all these properties. In this paper, we present Cirrus, the first distributed SNARK generation protocol achieving all three desirable properties at once. Our protocol builds on HyperPlonk (EUROCRYPT'23), inheriting its universal trusted setup. It achieves linear computation complexity for both workers and the coordinator, along with low communication overhead. To achieve accountability, we introduce a highly efficient accountability protocol to localize malicious workers. Additionally, we propose a hierarchical aggregation technique to further reduce the coordinator’s workload. We implemented and evaluated Cirrus on machines with modest hardware. Our experiments show that Cirrus is highly scalable: it generates proofs for circuits with 33 million gates in under 40 seconds using 32 machines with 8 cores each. Compared to the state-of-the-art accountable protocol Hekaton (CCS'24), Cirrus achieves over 7$\times$ faster proof generation for PLONK-friendly circuits such as the Pedersen hash. Our accountability protocol also efficiently identifies faulty workers within just 4 seconds, making Cirrus particularly suitable for decentralized and outsourced computation scenarios.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2024/1873,
      author = {Wenhao Wang and Fangyan Shi and Dani Vilardell and Fan Zhang},
      title = {Cirrus: Performant and Accountable Distributed SNARK},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1873},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1873}
}
Category
Cryptographic protocols
License
CC BY
Submitted
Updated
Versions
2 earlier

Report a problem

Comments

Log in or create an account

Privacy