Lune

CCS2021顶会

zkCNN: Zero Knowledge Proofs for Convolutional Neural Network Predictions and Accuracy

Tianyi Liu, Xiang Xie, Yupeng Zhang

摘要

Deep learning techniques with neural networks are developing prominently in recent years and have been deployed in numerous applications. Despite their great success, in many scenarios it is important for the users to validate that the inferences are truly computed by legitimate neural networks with high accuracy, which is referred to as the integrity of machine learning predictions. To address this issue, in this paper, we propose zkCNN, a zero knowledge proof scheme for convolutional neural networks (CNN). The scheme allows the owner of the CNN model to prove to others that the prediction of a data sample is indeed calculated by the model, without leaking any information about the model itself. Our scheme can also be generalized to prove the accuracy of a secret CNN model on a public dataset. Underlying zkCNN is a new sumcheck protocol for proving fast Fourier transforms and convolutions with a linear prover time, which is even faster than computing the result asymptotically. We also introduce several improvements and generalizations on the interactive proofs for CNN predictions, including verifying the convolutional layer, the activation function of ReLU and the max pooling. Our scheme is highly efficient in practice. It can support the large CNN of VGG16 with 15 million parameters and 16 layers. It only takes 88.3 seconds to generate the proof, which is 1264× faster than existing schemes. The proof size is 341 kilobytes, and the verifier time is only 59.3 milliseconds. Our scheme can further scale to prove the accuracy of the same CNN on 20 images.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 34 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Orion: Zero Knowledge Proof with Linear Prover Time
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Spartan: Efficient and General-Purpose zkSNARKs Without Trusted Setup
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS
  • zkLLM: Zero Knowledge Proofs for Large Language Models 引用了 Orion: Zero Knowledge Proof with Linear Prover Time
  • zkLLM: Zero Knowledge Proofs for Large Language Models 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
  • Orion: Zero Knowledge Proof with Linear Prover Time 引用了 Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • Orion: Zero Knowledge Proof with Linear Prover Time 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
  • Orion: Zero Knowledge Proof with Linear Prover Time 引用了 Spartan: Efficient and General-Purpose zkSNARKs Without Trusted Setup
  • Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
  • Doubly-Efficient zkSNARKs Without Trusted Setup 引用了 Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
  • Scalable Zero-knowledge Proofs for Non-linear Functions in Machine Learning 引用了 Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • Scalable Zero-knowledge Proofs for Non-linear Functions in Machine Learning 引用了 Spartan: Efficient and General-Purpose zkSNARKs Without Trusted Setup
  • Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS 引用了 Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper34

  1. Orion: Zero Knowledge Proof with Linear Prover TimeTiancheng Xie, Yupeng Zhang, Dawn SongCRYPTO 2022 · 83 次引用
  2. ZKML: An Optimizing System for ML Inference in Zero-Knowledge ProofsBing-Jyue Chen, Suppakit Waiwitlikhit, Ion Stoica, Daniel KangEuroSys 2024 · 65 次引用
  3. Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge ProofsTianyi Liu, Tiancheng Xie, Jiaheng Zhang, Dawn Song 等S&P 2024 · 52 次引用
  4. Scalable Zero-knowledge Proofs for Non-linear Functions in Machine LearningMeng Hao, Hanxiao Chen, Hongwei Li, Chenkai Weng 等USENIX Security 2024 · 29 次引用
  5. zkLLM: Zero Knowledge Proofs for Large Language ModelsHaochen Sun, Jason Li, Hongyang ZhangCCS 2024 · 26 次引用

它引用的 Paper17

  1. Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler 等S&P 2018 · 356 次引用
  2. Marlin: Preprocessing zkSNARKs with Universal and Updatable SRSAlessandro Chiesa, Yuncong Hu, Mary Maller, Pratyush Mishra 等EUROCRYPT 2020 · 356 次引用
  3. Ligero: Lightweight Sublinear Arguments Without a Trusted SetupScott Ames, Carmit Hazay, Yuval Ishai, Muthuramakrishnan VenkitasubramaniamCCS 2017 · 338 次引用
  4. Spartan: Efficient and General-Purpose zkSNARKs Without Trusted SetupSrinath T. V. SettyCRYPTO 2020 · 262 次引用
  5. Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic CircuitsChenkai Weng, Kang Yang, Jonathan Katz, Xiao WangS&P 2021 · 205 次引用

相关 Paper

  1. VerfCNN, Optimal Complexity zkSNARK for Convolutional Neural NetworksWenjie Qu, Yanpei Guo, Yue Ying, Jiaheng ZhangS&P 2026 · 4 次引用
  2. FairZK: A Scalable System to Prove Machine Learning Fairness in Zero-KnowledgeTianyu Zhang, Shen Dong, Oyku Deniz Kose, Yanning Shen 等S&P 2025
  3. Zero Knowledge Proofs for Decision Tree Predictions and AccuracyJiaheng Zhang, Zhiyong Fang, Yupeng Zhang, Dawn SongCCS 2020 · 72 次引用
  4. ZENO: A Type-based Optimization Framework for Zero Knowledge Neural Network InferenceBoyuan Feng, Zheng Wang, Yuke Wang, Shu Yang 等ASPLOS 2024 · 13 次引用
  5. zkGPT: An Efficient Non-interactive Zero-knowledge Proof Framework for LLM InferenceWenjie Qu, Yijun Sun, Xuanming Liu, Tao Lu 等USENIX Security 2025
黄昏的海面,两侧是细线勾勒的悬崖