paperbot · PL 论文追踪

全部论文 待读 收藏

P2 ZENO: A Type-based Optimization Framework for Zero Knowledge Neural Network Inference

ZENO:面向零知识神经网络推理的基于类型的优化框架
ASPLOS Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 12024匹配度 4/10 · 论文属于 PL/编译器技术与 ML 系统交叉,使用类型信息优化 zkSNARK 神经网络推理,和“PL→AI”有间接关联;但它不涉及静态分析、Agentic/LLM、浮点程序分析或贝叶斯程序分析等核心方向。引用 18 inbox
Boyuan Feng, Zheng Wang, Yuke Wang, Shu Yang, Yufei Ding
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出基于类型的优化框架 ZENO,通过隐私/张量类型驱动与系统优化加速零知识神经网络推理,最高提升 8.5 倍。

零知识神经网络借助 zkSNARK 保障神经网络计算的完整性与隐私,但其电路规模达百万级且存在严重的标量级依赖,性能远未达到实用。本文提出基于类型的优化框架 ZENO。首先设计 ZENO 语言构造,在保持高层语义的同时携带隐私与张量等类型信息,以支持更激进的优化;进而提出隐私类型驱动和张量类型驱动的电路优化,并设计面向神经网络推理的系统级优化。实验表明,ZENO 相比当前最优 zkSNARK 神经网络实现取得最高 8.5 倍端到端加速,并将 VGG16 的证明时间从 6 分钟降至 48 秒,使零知识神经网络推理更具实用性。

问题
zkSNARK 神经网络推理因百万级电路计算和严重的标量级依赖而性能低下,难以实用。
方法
提出 ZENO 语言构造以携带隐私与张量类型信息,并据此进行隐私类型和张量类型驱动的电路优化,辅以面向神经网络的系统级优化。
评估
在零知识神经网络推理任务上评估,最高获得 8.5 倍端到端加速,并将 VGG16 的证明时间从 6 分钟降至 48 秒。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{FengWWYD24,
  title = {ZENO: A Type-based Optimization Framework for Zero Knowledge Neural Network Inference},
  author = {Boyuan Feng and Zheng Wang and Yuke Wang and Shu Yang and Yufei Ding},
  booktitle = {ASPLOS},
  year = {2024},
  doi = {10.1145/3617232.3624852}
}