zkDL:深度学习训练的高效零知识证明
zkDL: Efficient Zero-Knowledge Proofs of Deep Learning Training
AI总结:
本文提出 zkDL,通过 zkReLU 与 FAC4DNN 聚合电路实现深度学习训练的高效零知识证明,可在保护数据和模型隐私的同时扩展至千万参数网络。
摘要:
深度学习的最新进展给人们生活的各个方面带来了重大变化。与此同时,这些快速发展也引发了人们对深度神经网络训练过程合法性的担忧。为了保护 AI 开发者的知识产权,验证者通常被禁止通过访问模型参数和训练数据来直接检查训练过程。\n\n为应对这一挑战,我们提出了 zero-knowledge deep learning(zkDL),一种用于深度学习训练的高效零知识证明。为解决深度学习训练中非线性运算可验证计算这一长期存在的挑战,我们引入了 zkReLU,这是一种针对 ReLU 激活及其反向传播的专用证明。zkReLU 将非算术关系的劣势转化为优势,从而催生了 FAC4DNN,即我们用于建模神经网络的专用算术电路设计。该设计聚合了不同层和训练步骤上的证明,而不受这些层和步骤在训练过程中先后顺序的限制。\n\n借助我们全新的 CUDA 实现,该实现与张量结构和聚合证明设计完全兼容,zkDL 能够在每次批量更新时用不到一秒的时间生成完整且可靠的证明;所针对的是一个具有 10M 参数、批量大小为 64 的 8 层神经网络,同时可证明地确保数据和模型参数的隐私。据我们所知,我们尚不知道已有任何关于深度学习训练零知识证明的工作能够扩展到百万规模网络。
英文摘要:
The recent advancements in deep learning have brought about significant changes in various aspects of people's lives. Meanwhile, these rapid developments have raised concerns about the legitimacy of the training process of deep neural networks. To protect the intellectual properties of AI developers, directly examining the training process by accessing the model parameters and training data is often prohibited for verifiers. In response to this challenge, we present zero-knowledge deep learning (zkDL), an efficient zero-knowledge proof for deep learning training. To address the long-standing challenge of verifiable computations of non-linearities in deep learning training, we introduce zkReLU, a specialized proof for the ReLU activation and its backpropagation. zkReLU turns the disadvantage of non-arithmetic relations into an advantage, leading to the creation of FAC4DNN, our specialized arithmetic circuit design for modelling neural networks. This design aggregates the proofs over different layers and training steps, without being constrained by their sequential order in the training process. With our new CUDA implementation that achieves full compatibility with the tensor structures and the aggregated proof design, zkDL enables the generation of complete and sound proofs in less than a second per batch update for an 8-layer neural network with 10M parameters and a batch size of 64, while provably ensuring the privacy of data and model parameters. To our best knowledge, we are not aware of any existing work on zero-knowledge proof of deep learning training that is scalable to million-size networks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。