Zero-Knowledge Proofs of Training for Deep Neural Networks
Top Cited Papers
Open Access
- 2 December 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 4316-4330
Abstract
A zero-knowledge proof of training (zkPoT) enables a party to prove that they have correctly trained a committed model based on a committed dataset without revealing any additional information about the model or the dataset. An ideal zkPoT should offer provable security and privacy guarantees, succinct proof size and verifier runtime, and practical prover efficiency. In this work, we present Kaizen, a zkPoT targeted for deep neural networks (DNNs) that achieves all these goals at once. Our construction enables a prover to iteratively train their model via (mini-batch) gradient descent, where the number of iterations need not be fixed in advance; at the end of each iteration, the prover generates a commitment to the trained model parameters attached with a succinct zkPoT, attesting to the correctness of the executed iterations. The proof size and verifier time are independent of the number of iterations. Our construction relies on two building blocks. First, we propose an optimized GKR-style (sumcheck-based) proof system for the gradient-descent algorithm with concretely efficient prover cost; this allows the prover to generate a proof for each iteration. We then show how to recursively compose these proofs across multiple iterations to attain succinctness. As of independent interest, we propose a generic framework for efficient recursive composition of GKR-style proofs, along with aggregatable polynomial commitments. Benchmarks indicate that Kaizen can handle the training of complex models such as VGG-11 with 10 million parameters and batch size 16. The prover runtime is 15 minutes per iteration, which is 24× faster than generic recursive proofs, with prover memory overhead 27× lower. The proof size is 1.63 megabytes, and the verifier runtime is only 130 milliseconds, where both are independent of the number of iterations and the size of the dataset.Keywords
Funding Information
- DARPA (HR00112020025)
- Hong Kong RGC (16200721)
This publication has 44 references indexed in Scilit:
- HyperPlonk: Plonk with Linear-Time Prover and High-Degree Custom Gates2023
- Sumcheck Arguments and Their Applications2021
- Ligero++: A New Optimized Sublinear IOP2020
- Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof2020
- Doubly-Efficient zkSNARKs Without Trusted Setup2018
- The Hunting of the SNARKJournal of Cryptology, 2016
- The MNIST Database of Handwritten Digit Images for Machine Learning Research [Best of the Web]IEEE Signal Processing Magazine, 2012
- Computationally Sound ProofsSIAM Journal on Computing, 2000
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- Algebraic methods for interactive proof systemsJournal of the ACM, 1992