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

使用 zkSNARKs 对机器学习模型进行可验证评估

Verifiable evaluations of machine learning models using zkSNARKs

MIT(麻省理工学院);EZKL;Microsoft Research(微软研究院);University of Adelaide(阿德莱德大学)

Tobin South, Alexander Camuto, Shrey Jain, Shayla Nguyen, Robert Mahari, Christian Paquin, Jason Morton, Alex 'Sandy' Pentland

AI总结:

针对闭源模型评估不可信问题,提出基于 zkSNARKs 的可验证评估系统,通过零知识证明验证模型在公共数据上的性能与公平性指标,并在真实模型上首次演示,开创了私有模型评估的透明度新范式。

摘要:

在一个闭源商业机器学习模型日益增多的世界中,开发者提供的模型评估结果只能被用户表面接受。这些基准测试结果——无论是关于任务准确性、偏见评估还是安全检验——传统上对于模型终端用户而言是无法验证的,除非对黑盒模型输出重新执行基准测试,而这一过程代价高昂甚至不可能。本工作提出了一种通过 zkSNARKs 进行模型推理的可验证模型评估方法。由此产生的关于数据集上模型输出的零知识计算证明,可以被封装成可验证的评估证明,表明具有固定私有权重的模型在公共输入上达到了所声称的性能或公平性指标。我们提出了一种灵活的证明系统,使得可验证证明能够在任何标准神经网络模型上执行,且计算需求各异。我们首次在真实世界模型样本上展示了这一方法,并强调了关键挑战和设计解决方案。这为私有模型的可验证评估带来了新的透明度范式。

英文摘要:

In a world of increasing closed-source commercial machine learning models, model evaluations from developers must be taken at face value. These benchmark results-whether over task accuracy, bias evaluations, or safety checks-are traditionally impossible to verify by a model end-user without the costly or impossible process of re-performing the benchmark on black-box model outputs. This work presents a method of verifiable model evaluation using model inference through zkSNARKs. The resulting zero-knowledge computational proofs of model outputs over datasets can be packaged into verifiable evaluation attestations showing that models with fixed private weights achieve stated performance or fairness metrics over public inputs. We present a flexible proving system that enables verifiable attestations to be performed on any standard neural network model with varying compute requirements. For the first time, we demonstrate this across a sample of real-world models and highlight key challenges and design solutions. This presents a new transparency paradigm in the verifiable evaluation of private models.

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

↑