Verde:通过仲裁委托实现对机器学习程序的验证
Verde: Verification via Refereed Delegation for Machine Learning Programs
AI总结:
针对机器学习程序委托给不可信计算提供商的问题,提出基于仲裁委托的Verde协议和RepOps库,实现多提供商场景下至少一方诚实即可保证结果正确,兼顾强保证与低开销。
摘要:
机器学习程序,例如执行大型语言模型的推理、微调和训练的程序,通常被委托给不受信任的计算提供商。为了向客户端提供正确性保证,我们提出将密码学中的仲裁委托概念应用于机器学习场景。该方法使得计算能力有限的客户端能够将程序委托给多个不受信任的计算提供商,并保证只要其中至少有一个是诚实的,就能获得正确的结果。机器学习程序的仲裁委托面临两个技术障碍:(1)当计算提供商在输出上产生分歧时,需要一个仲裁协议来解决争议;(2)需要能够在不同硬件设置上按位复现机器学习程序。针对(1),我们设计了Verde,一种争议仲裁协议,能够高效处理现代机器学习程序的大规模和基于图的计算模型。针对(2),我们构建了RepOps(可复现算子),一个通过控制所有硬件上浮点运算的执行顺序来消除硬件“非确定性”的库。我们的实现表明,仲裁委托既能为客户端提供强有力的保证,又能为计算提供商带来可接受的实用开销。
英文摘要:
Machine learning programs, such as those performing inference, fine-tuning, and training of LLMs, are commonly delegated to untrusted compute providers. To provide correctness guarantees for the client, we propose adapting the cryptographic notion of refereed delegation to the machine learning setting. This approach enables a computationally limited client to delegate a program to multiple untrusted compute providers, with a guarantee of obtaining the correct result if at least one of them is honest. Refereed delegation of ML programs poses two technical hurdles: (1) an arbitration protocol to resolve disputes when compute providers disagree on the output, and (2) the ability to bitwise reproduce ML programs across different hardware setups, For (1), we design Verde, a dispute arbitration protocol that efficiently handles the large scale and graph-based computational model of modern ML programs. For (2), we build RepOps (Reproducible Operators), a library that eliminates hardware "non-determinism" by controlling the order of floating point operations performed on all hardware. Our implementation shows that refereed delegation achieves both strong guarantees for clients and practical overheads for compute providers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。