arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.05633cs.LGcs.AIcs.CRstat.ML
收藏

学习证明:定义与实践

Proof-of-Learning: Definitions and Practice

University of Toronto(多伦多大学);Vector Institute(矢量研究所);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Hengrui Jia, Mohammad Yaghini, Christopher A. Choquette-Choo, Natalie Dullerud, Anvith Thudi, Varun Chandrasekaran, Nicolas Papernot

摘要:

训练机器学习(ML)模型通常涉及昂贵的迭代优化。一旦模型的最终参数被释放,目前没有任何机制可以让训练模型的实体证明这些参数确实是这个优化过程的结果。这种机制将以多种方式支持ML应用程序的安全性。例如,当多方对特定模型的所有权提出异议时,它将简化所有权解决方案。它还将促进跨不受信任的工作者的分布式训练,否则拜占庭工作者可能会通过返回不正确的模型更新来安装拒绝服务。在本文中,我们通过在ML中引入学习证明的概念来解决这个问题。受工作量证明和验证计算研究的启发,我们观察了一种开创性的训练算法随机梯度下降如何由于其随机性而积累秘密信息。这为学习证明产生了一个自然的构造,它表明一方已经花费了计算需求来正确地获得一组模型参数。特别是,我们的分析和实验表明,试图非法制造学习证明的对手需要执行 * 至少 * 与梯度下降本身所需的工作一样多的工作。我们还在上述两种场景中实例化了一个具体的学习证明机制。在模型所有权解析中,它保护公开发布的模型的知识产权。在分布式训练中,它保留了训练过程的可用性。我们的经验评估验证了我们的学习证明机制对硬件(ML加速器)和软件堆栈引起的变化具有鲁棒性。

英文摘要:

Training machine learning (ML) models typically involves expensive iterative optimization. Once the model's final parameters are released, there is currently no mechanism for the entity which trained the model to prove that these parameters were indeed the result of this optimization procedure. Such a mechanism would support security of ML applications in several ways. For instance, it would simplify ownership resolution when multiple parties contest ownership of a specific model. It would also facilitate the distributed training across untrusted workers where Byzantine workers might otherwise mount a denial-of-service by returning incorrect model updates. In this paper, we remediate this problem by introducing the concept of proof-of-learning in ML. Inspired by research on both proof-of-work and verified computations, we observe how a seminal training algorithm, stochastic gradient descent, accumulates secret information due to its stochasticity. This produces a natural construction for a proof-of-learning which demonstrates that a party has expended the compute require to obtain a set of model parameters correctly. In particular, our analyses and experiments show that an adversary seeking to illegitimately manufacture a proof-of-learning needs to perform *at least* as much work than is needed for gradient descent itself. We also instantiate a concrete proof-of-learning mechanism in both of the scenarios described above. In model ownership resolution, it protects the intellectual property of models released publicly. In distributed training, it preserves availability of the training procedure. Our empirical evaluation validates that our proof-of-learning mechanism is robust to variance induced by the hardware (ML accelerators) and software stacks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑