Lune

USENIX Security2024Top-tier venue

Scalable Zero-knowledge Proofs for Non-linear Functions in Machine Learning

Meng Hao, Hanxiao Chen, Hongwei Li, Chenkai Weng, Yuan Zhang, Haomiao Yang, Tianwei Zhang

Abstract

Zero-knowledge (ZK) proofs have been recently explored for the integrity of machine learning (ML) inference. However, these protocols suffer from high computational overhead, with the primary bottleneck stemming from the evaluation of non-linear functions. In this paper, we propose the first systematic ZK proof framework for non-linear mathematical functions in ML using the perspective of table lookup. The key challenge is that table lookup cannot be directly applied to non-linear functions in ML since it would suffer from inefficiencies due to the intolerably large table. Therefore, we carefully design several important building blocks, including digital decomposition, comparison, and truncation, such that they can effectively utilize table lookup with a quite small table size while ensuring the soundness of proofs. Based on these blocks, we implement complex mathematical operations and further construct ZK proofs for current mainstream non-linear functions in ML such as ReLU, sigmoid, and normalization. The extensive experimental evaluation shows that our framework achieves 50 ∼ 179× runtime improvement compared to the state-of-the-art work, while maintaining a similar level of communication efficiency.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CrypTFlow2: Practical 2-Party Secure Inference cites QUOTIENT: Two-Party Secure Neural Network Training and Prediction
  • CrypTFlow2: Practical 2-Party Secure Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Trusting What You Cannot See: Auditable Fine-Tuning and Inference for Proprietary AI cites Zero-Knowledge AI Inference with High Precision
  • QUOTIENT: Two-Party Secure Neural Network Training and Prediction cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Efficiently Provable Approximations for Non-Polynomial Functions cites Zero-Knowledge AI Inference with High Precision
  • Efficiently Provable Approximations for Non-Polynomial Functions cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Trusting What You Cannot See: Auditable Fine-Tuning and Inference for Proprietary AIHeng Jin, Chaoyu Zhang, Hexuan Yu, Shanghao Shi et al.USENIX Security 2026 · 4 citations
  2. Towards Effective Prompt Stealing Attack against Text-to-Image Diffusion ModelsShiqian Zhao, Chong Wang, Yiming Li, Yihao Huang et al.NDSS 2026 · 3 citations
  3. Efficiently Provable Approximations for Non-Polynomial FunctionsSriram Sridhar, Shravan Srinivasan, Dimitrios Papadopoulos, Charalampos PapamanthouUSENIX Security 2026 · 1 citation
  4. Zero-Knowledge AI Inference with High PrecisionArman Riasi, Haodi Wang, Rouzbeh Behnia, Viet Vo et al.CCS 2025
  5. Confidential Guardian: Cryptographically Prohibiting the Abuse of Model AbstentionStephan Rabanser, Ali Shahin Shamsabadi, Olive Franzese, Xiao Wang et al.ICML 2025

Builds on30

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  2. CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran et al.CCS 2020 · 294 citations
  3. Spartan: Efficient and General-Purpose zkSNARKs Without Trusted SetupSrinath T. V. SettyCRYPTO 2020 · 262 citations
  4. QUOTIENT: Two-Party Secure Neural Network Training and PredictionNitin Agrawal, Ali Shahin Shamsabadi, Matt J. Kusner, Adrià GascónCCS 2019 · 241 citations
  5. Efficient Two-Round OT Extension and Silent Non-Interactive Secure ComputationElette Boyle, Geoffroy Couteau, Niv Gilboa, Yuval Ishai et al.CCS 2019 · 238 citations

Related papers

  1. zkCNN: Zero Knowledge Proofs for Convolutional Neural Network Predictions and AccuracyTianyi Liu, Xiang Xie, Yupeng ZhangCCS 2021 · 4 citations
  2. Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine LearningChenkai Weng, Kang Yang, Xiang Xie, Jonathan Katz et al.USENIX Security 2021 · 161 citations
  3. zkGPT: An Efficient Non-interactive Zero-knowledge Proof Framework for LLM InferenceWenjie Qu, Yijun Sun, Xuanming Liu, Tao Lu et al.USENIX Security 2025
  4. FairZK: A Scalable System to Prove Machine Learning Fairness in Zero-KnowledgeTianyu Zhang, Shen Dong, Oyku Deniz Kose, Yanning Shen et al.S&P 2025
  5. VerfCNN, Optimal Complexity zkSNARK for Convolutional Neural NetworksWenjie Qu, Yanpei Guo, Yue Ying, Jiaheng ZhangS&P 2026 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines