Paper 2025/2020

VerfCNN, Optimal Complexity zkSNARK for Convolutional Neural Networks

Wenjie Qu, National University of Singapore
Yanpei Guo, National University of Singapore
Yue Ying, National University of Singapore
Jiaheng Zhang, National University of Singapore
Abstract

With the widespread deployment of machine learning services, concerns about potential misconduct by service providers have emerged. Providers may deviate from their promised methodologies when delivering their services, undermining customer trust. Zero-knowledge proofs (ZKPs) offer a promising solution for customers to verify service integrity while preserving the intellectual property of the model weights. However, existing ZKP systems for convolutional neural networks (CNNs) impose significant computational overhead on the prover, hindering their practical deployment. To address this challenge and facilitate real-world deployment of ZKPs for CNNs, we introduce VerfCNN, a novel and efficient ZKP system for CNN inference. The core innovation of VerfCNN lies in a specialized protocol for proving multi-channel convolutions, achieving optimal prover complexity that matches the I/O size of the convolution. Our design significantly reduces the prover overhead for verifiable CNN inference. Experiments on VGG-16 demonstrate that our system achieves a prover time of just 12.6 seconds, offering a 6.7× improvement over zkCNN (CCS'21). Remarkably, VerfCNN incurs only a 10× overhead compared to plaintext inference on CPU, whereas general-purpose zkSNARKs typically impose overheads exceeding 1000×. These results underscore VerfCNN's strong potential to enhance the integrity and transparency of real-world ML services.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. Minor revision. IEEE S&P 2026
Keywords
Zero-knowledge ProofsMachine Learning
Contact author(s)
wen_jie_qu @ outlook com
guo yanpei @ u nus edu
yying001 @ e ntu edu sg
jhzhang @ nus edu sg
History
2025-11-01: approved
2025-10-30: received
See all versions
Short URL
https://ia.cr/2025/2020
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/2020,
      author = {Wenjie Qu and Yanpei Guo and Yue Ying and Jiaheng Zhang},
      title = {{VerfCNN}, Optimal Complexity {zkSNARK} for Convolutional Neural Networks},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2020},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2020}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.