ZENO: A Type-based Optimization Framework for Zero Knowledge Neural Network Inference
Boyuan Feng, Zheng Wang, Yuke Wang, Shu Yang, Yufei Ding
摘要
Zero knowledge Neural Networks draw increasing attention for guaranteeing computation integrity and privacy of neural networks (NNs) based on zero-knowledge Succinct Non-interactive ARgument of Knowledge (zkSNARK) security scheme. However, the performance of zkSNARK NNs is far from optimal due to the million-scale circuit computation with heavy scalar-level dependency. In this paper, we propose a type-based optimizing framework for efficient zero-knowledge NN inference, namely ZENO (ZEro knowledge Neural network Optimizer). We first introduce ZENO language construct to maintain high-level semantics and the type information (e.g., privacy and tensor) for allowing more aggressive optimizations. We then propose privacy-type driven and tensor-type driven optimizations to further optimize the generated zkSNARK circuit. Finally, we design a set of NN-centric system optimizations to further accelerate zkSNARK NNs. Experimental results show that ZENO achieves up to 8.5× end-to-end speedup than state-of-the-art zkSNARK NNs. We reduce proof time for VGG16 from 6 minutes to 48 seconds, which makes zkSNARK NNs practical.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- zkGPT: An Efficient Non-interactive Zero-knowledge Proof Framework for LLM Inference 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge Proofs 引用了 zkGPT: An Efficient Non-interactive Zero-knowledge Proof Framework for LLM Inference
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge Proofs 引用了 UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge Proofs 引用了 Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs
- UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping 引用了 Bulletproofs: Short Proofs for Confidential Transactions and More
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 Deep Learning with Differential Privacy
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge Proofs 引用了 UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping
引用它的顶会 Paper6
- UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel MappingCheng Wang, Mingyu GaoASPLOS 2025 · 12 次引用
- Need for zkSpeed: Accelerating HyperPlonk for Zero-Knowledge ProofsAlhad Daftardar, Jianqiao Mo, Joey Ah-kiow, Benedikt Bünz 等ISCA 2025 · 12 次引用
- V3DB: Audit-on-Demand Zero-Knowledge Proofs for Verifiable Vector Search over Committed SnapshotsZipeng Qiu, Wenjie Qu, Jiaheng Zhang, Binhang YuanVLDB 2026 · 1 次引用
- zkGPT: An Efficient Non-interactive Zero-knowledge Proof Framework for LLM InferenceWenjie Qu, Yijun Sun, Xuanming Liu, Tao Lu 等USENIX Security 2025
- TensorZKP: Repurposing GPU Tensor Cores for High-Performance Zero-Knowledge ProofsTao Lu, Jipeng Zhang, Yanpei Guo, Xuanming Liu 等USENIX Security 2026
它引用的 Paper17
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra 等S&P 2018 · 1,285 次引用
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
- CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta 等NeurIPS 2021 · 573 次引用
- Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu 等OSDI 2020 · 551 次引用
相关 Paper
- zkCNN: Zero Knowledge Proofs for Convolutional Neural Network Predictions and AccuracyTianyi Liu, Xiang Xie, Yupeng ZhangCCS 2021 · 4 次引用
- Siniel: Distributed Privacy-Preserving zkSNARKYunbo Yang, Yuejia Cheng, Kailun Wang, Xiaoguo Li 等NDSS 2025
- ZKML: An Optimizing System for ML Inference in Zero-Knowledge ProofsBing-Jyue Chen, Suppakit Waiwitlikhit, Ion Stoica, Daniel KangEuroSys 2024 · 65 次引用
- VerfCNN, Optimal Complexity zkSNARK for Convolutional Neural NetworksWenjie Qu, Yanpei Guo, Yue Ying, Jiaheng ZhangS&P 2026 · 4 次引用
- xJsnark: A Framework for Efficient Verifiable ComputationAhmed E. Kosba, Charalampos Papamanthou, Elaine ShiS&P 2018 · 121 次引用
